diff --git a/assets/cssMode-u7Zx72Rp.js b/assets/cssMode-B1eNEHwl.js similarity index 99% rename from assets/cssMode-u7Zx72Rp.js rename to assets/cssMode-B1eNEHwl.js index 4703bbd..cb224bc 100644 --- a/assets/cssMode-u7Zx72Rp.js +++ b/assets/cssMode-B1eNEHwl.js @@ -1,4 +1,4 @@ -var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/freemarker2-Bxr2t1uO.js b/assets/freemarker2-CgRXBw1u.js similarity index 99% rename from assets/freemarker2-Bxr2t1uO.js rename to assets/freemarker2-CgRXBw1u.js index 638f1c6..45db33d 100644 --- a/assets/freemarker2-Bxr2t1uO.js +++ b/assets/freemarker2-CgRXBw1u.js @@ -1,4 +1,4 @@ -import{m as f}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as f}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/handlebars-BCQA6yg9.js b/assets/handlebars-DicNC5PI.js similarity index 99% rename from assets/handlebars-BCQA6yg9.js rename to assets/handlebars-DicNC5PI.js index 8176c74..64856b8 100644 --- a/assets/handlebars-BCQA6yg9.js +++ b/assets/handlebars-DicNC5PI.js @@ -1,4 +1,4 @@ -import{m as i}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/html-hScUiHlT.js b/assets/html-p_dG166i.js similarity index 98% rename from assets/html-hScUiHlT.js rename to assets/html-p_dG166i.js index e65a2b5..9b81ab0 100644 --- a/assets/html-hScUiHlT.js +++ b/assets/html-p_dG166i.js @@ -1,4 +1,4 @@ -import{m as s}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as s}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/htmlMode-BVQqUwxk.js b/assets/htmlMode-Dd7jWKdv.js similarity index 99% rename from assets/htmlMode-BVQqUwxk.js rename to assets/htmlMode-Dd7jWKdv.js index b8bb6eb..d5b63cc 100644 --- a/assets/htmlMode-BVQqUwxk.js +++ b/assets/htmlMode-Dd7jWKdv.js @@ -1,4 +1,4 @@ -var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/index-CEC3gXvc.js b/assets/index-OwhqodLI.js similarity index 99% rename from assets/index-CEC3gXvc.js rename to assets/index-OwhqodLI.js index d4d6ac8..4f01fb2 100644 --- a/assets/index-CEC3gXvc.js +++ b/assets/index-OwhqodLI.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/javascript-DOF29ZAm.js","assets/typescript-pl16jyTR.js"] + __vite__mapDeps.viteFileDeps = ["assets/javascript-CuTLISBg.js","assets/typescript-GsQEwvnu.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -622,27 +622,27 @@ ${e.toString()}`}}class yT{constructor(e=new Lw,t=!1,i){this._activeInstantiatio * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var vae=Object.defineProperty,wae=Object.getOwnPropertyDescriptor,Sae=Object.getOwnPropertyNames,yae=Object.prototype.hasOwnProperty,Lae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sae(e))!yae.call(s,n)&&(t||n!=="default")&&vae(s,n,{get:()=>e[n],enumerable:!(i=wae(e,n))||i.enumerable});return s},Ap={};Lae(Ap,ub);var i6={},mL={},n6=class{constructor(s){di(this,"_languageId");di(this,"_loadingTriggered");di(this,"_lazyLoadPromise");di(this,"_lazyLoadPromiseResolve");di(this,"_lazyLoadPromiseReject");this._languageId=s,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}static getOrCreate(s){return mL[s]||(mL[s]=new n6(s)),mL[s]}load(){return this._loadingTriggered||(this._loadingTriggered=!0,i6[this._languageId].loader().then(s=>this._lazyLoadPromiseResolve(s),s=>this._lazyLoadPromiseReject(s))),this._lazyLoadPromise}};function Ie(s){const e=s.id;i6[e]=s,Ap.languages.register(s);const t=n6.getOrCreate(e);Ap.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Ap.languages.onLanguage(e,async()=>{const i=await t.load();Ap.languages.setLanguageConfiguration(e,i.conf)})}Ie({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>De(()=>import("./abap-CfQTfsdm.js"),__vite__mapDeps([]))});Ie({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>De(()=>import("./apex-BUxLlBSM.js"),__vite__mapDeps([]))});Ie({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>De(()=>import("./azcli-CU_dwqs8.js"),__vite__mapDeps([]))});Ie({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>De(()=>import("./bat-DWFODfDz.js"),__vite__mapDeps([]))});Ie({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>De(()=>import("./bicep-CIJ_UyQp.js"),__vite__mapDeps([]))});Ie({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>De(()=>import("./cameligo-BW7R3LBI.js"),__vite__mapDeps([]))});Ie({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>De(()=>import("./clojure-D9tzKAGE.js"),__vite__mapDeps([]))});Ie({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>De(()=>import("./coffee-C1Mz_abc.js"),__vite__mapDeps([]))});Ie({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>De(()=>import("./cpp-C6GTbAYz.js"),__vite__mapDeps([]))});Ie({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>De(()=>import("./cpp-C6GTbAYz.js"),__vite__mapDeps([]))});Ie({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>De(()=>import("./csharp-c2hA8jvi.js"),__vite__mapDeps([]))});Ie({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>De(()=>import("./csp-Ch7yxlMo.js"),__vite__mapDeps([]))});Ie({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>De(()=>import("./css-niPK7UV1.js"),__vite__mapDeps([]))});Ie({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>De(()=>import("./dart-BHw03n-1.js"),__vite__mapDeps([]))});Ie({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>De(()=>import("./dockerfile-BmcMzYFF.js"),__vite__mapDeps([]))});Ie({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>De(()=>import("./ecl-ByV54v1F.js"),__vite__mapDeps([]))});Ie({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>De(()=>import("./elixir-ByY8twkA.js"),__vite__mapDeps([]))});Ie({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>De(()=>import("./flow9-DdnQrJJW.js"),__vite__mapDeps([]))});Ie({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>De(()=>import("./fsharp-CrWVR4ZC.js"),__vite__mapDeps([]))});Ie({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagAngleInterpolationDollar)});Ie({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagBracketInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagAngleInterpolationBracket)});Ie({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagBracketInterpolationBracket)});Ie({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>De(()=>import("./freemarker2-Bxr2t1uO.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationBracket)});Ie({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>De(()=>import("./go-BtEFHWei.js"),__vite__mapDeps([]))});Ie({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>De(()=>import("./graphql-CP9vGHhX.js"),__vite__mapDeps([]))});Ie({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>De(()=>import("./handlebars-BCQA6yg9.js"),__vite__mapDeps([]))});Ie({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>De(()=>import("./hcl-BRETWCw_.js"),__vite__mapDeps([]))});Ie({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:()=>De(()=>import("./html-hScUiHlT.js"),__vite__mapDeps([]))});Ie({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>De(()=>import("./ini-DqITWiql.js"),__vite__mapDeps([]))});Ie({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>De(()=>import("./java-UAr4owVR.js"),__vite__mapDeps([]))});Ie({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>De(()=>import("./javascript-DOF29ZAm.js"),__vite__mapDeps([0,1]))});Ie({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>De(()=>import("./julia-9AG6cIdP.js"),__vite__mapDeps([]))});Ie({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>De(()=>import("./kotlin-CvyFRe5M.js"),__vite__mapDeps([]))});Ie({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>De(()=>import("./less-DDhVJIKa.js"),__vite__mapDeps([]))});Ie({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>De(()=>import("./lexon-ctJgw0HP.js"),__vite__mapDeps([]))});Ie({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>De(()=>import("./lua-eOfeW_Ug.js"),__vite__mapDeps([]))});Ie({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>De(()=>import("./liquid-Bj9JrfND.js"),__vite__mapDeps([]))});Ie({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>De(()=>import("./m3-DK-lM5Ch.js"),__vite__mapDeps([]))});Ie({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>De(()=>import("./markdown-oh6kpzaa.js"),__vite__mapDeps([]))});Ie({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>De(()=>import("./mips-Coo_lhCq.js"),__vite__mapDeps([]))});Ie({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>De(()=>import("./msdax-CYf7XeSj.js"),__vite__mapDeps([]))});Ie({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>De(()=>import("./mysql-BSshlkr5.js"),__vite__mapDeps([]))});Ie({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>De(()=>import("./objective-c-yurC-brj.js"),__vite__mapDeps([]))});Ie({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>De(()=>import("./pascal-DxfsymmB.js"),__vite__mapDeps([]))});Ie({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>De(()=>import("./pascaligo-gh_EzRfA.js"),__vite__mapDeps([]))});Ie({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:()=>De(()=>import("./perl-C0fPk3AA.js"),__vite__mapDeps([]))});Ie({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>De(()=>import("./pgsql-Fmrez-Io.js"),__vite__mapDeps([]))});Ie({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>De(()=>import("./php-fZlaJSUp.js"),__vite__mapDeps([]))});Ie({id:"pla",extensions:[".pla"],loader:()=>De(()=>import("./pla-D-lQ8LkD.js"),__vite__mapDeps([]))});Ie({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>De(()=>import("./postiats-GQ31Xt24.js"),__vite__mapDeps([]))});Ie({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>De(()=>import("./powerquery-DfWb3tHC.js"),__vite__mapDeps([]))});Ie({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>De(()=>import("./powershell-DLSD6EIt.js"),__vite__mapDeps([]))});Ie({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>De(()=>import("./protobuf-C_kxGqGh.js"),__vite__mapDeps([]))});Ie({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>De(()=>import("./pug-DC0rMj3G.js"),__vite__mapDeps([]))});Ie({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>De(()=>import("./python-cbAkLqlB.js"),__vite__mapDeps([]))});Ie({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>De(()=>import("./qsharp-CUQrbFtE.js"),__vite__mapDeps([]))});Ie({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>De(()=>import("./r-FFIopbBW.js"),__vite__mapDeps([]))});Ie({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>De(()=>import("./razor-CwP00Osg.js"),__vite__mapDeps([]))});Ie({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>De(()=>import("./redis-CBfG6JPf.js"),__vite__mapDeps([]))});Ie({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>De(()=>import("./redshift-DuTYt8XJ.js"),__vite__mapDeps([]))});Ie({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>De(()=>import("./restructuredtext-C19sOa1p.js"),__vite__mapDeps([]))});Ie({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>De(()=>import("./ruby-CoXizQOP.js"),__vite__mapDeps([]))});Ie({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>De(()=>import("./rust-DZ2wmCvZ.js"),__vite__mapDeps([]))});Ie({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>De(()=>import("./sb-B8wUtamR.js"),__vite__mapDeps([]))});Ie({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:()=>De(()=>import("./scala-BA6hSHTM.js"),__vite__mapDeps([]))});Ie({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>De(()=>import("./scheme-DM8K2yAt.js"),__vite__mapDeps([]))});Ie({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>De(()=>import("./scss-BkfqZVw6.js"),__vite__mapDeps([]))});Ie({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>De(()=>import("./shell-BI3swxpe.js"),__vite__mapDeps([]))});Ie({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>De(()=>import("./solidity-DvSLgmry.js"),__vite__mapDeps([]))});Ie({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>De(()=>import("./sophia-BJYI0myt.js"),__vite__mapDeps([]))});Ie({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>De(()=>import("./sparql-B8gKUaZn.js"),__vite__mapDeps([]))});Ie({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>De(()=>import("./sql-DHaF6oaz.js"),__vite__mapDeps([]))});Ie({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:()=>De(()=>import("./st-Ds1fOIw5.js"),__vite__mapDeps([]))});Ie({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>De(()=>import("./swift-j9Ctmaa7.js"),__vite__mapDeps([]))});Ie({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>De(()=>import("./systemverilog-U-9V1rhU.js"),__vite__mapDeps([]))});Ie({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>De(()=>import("./systemverilog-U-9V1rhU.js"),__vite__mapDeps([]))});Ie({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>De(()=>import("./tcl-CBNCqq56.js"),__vite__mapDeps([]))});Ie({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>De(()=>import("./twig-DrGOV_E_.js"),__vite__mapDeps([]))});Ie({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>De(()=>import("./typescript-pl16jyTR.js"),__vite__mapDeps([]))});Ie({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>De(()=>import("./vb-CXHpW9GZ.js"),__vite__mapDeps([]))});Ie({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\De(()=>import("./xml-DKyJbqB-.js"),__vite__mapDeps([]))});Ie({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>De(()=>import("./yaml-C6qjZiaU.js"),__vite__mapDeps([]))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var vae=Object.defineProperty,wae=Object.getOwnPropertyDescriptor,Sae=Object.getOwnPropertyNames,yae=Object.prototype.hasOwnProperty,Lae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sae(e))!yae.call(s,n)&&(t||n!=="default")&&vae(s,n,{get:()=>e[n],enumerable:!(i=wae(e,n))||i.enumerable});return s},Ap={};Lae(Ap,ub);var i6={},mL={},n6=class{constructor(s){di(this,"_languageId");di(this,"_loadingTriggered");di(this,"_lazyLoadPromise");di(this,"_lazyLoadPromiseResolve");di(this,"_lazyLoadPromiseReject");this._languageId=s,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((e,t)=>{this._lazyLoadPromiseResolve=e,this._lazyLoadPromiseReject=t})}static getOrCreate(s){return mL[s]||(mL[s]=new n6(s)),mL[s]}load(){return this._loadingTriggered||(this._loadingTriggered=!0,i6[this._languageId].loader().then(s=>this._lazyLoadPromiseResolve(s),s=>this._lazyLoadPromiseReject(s))),this._lazyLoadPromise}};function Ie(s){const e=s.id;i6[e]=s,Ap.languages.register(s);const t=n6.getOrCreate(e);Ap.languages.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Ap.languages.onLanguage(e,async()=>{const i=await t.load();Ap.languages.setLanguageConfiguration(e,i.conf)})}Ie({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>De(()=>import("./abap-CfQTfsdm.js"),__vite__mapDeps([]))});Ie({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>De(()=>import("./apex-BUxLlBSM.js"),__vite__mapDeps([]))});Ie({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>De(()=>import("./azcli-CU_dwqs8.js"),__vite__mapDeps([]))});Ie({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>De(()=>import("./bat-DWFODfDz.js"),__vite__mapDeps([]))});Ie({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>De(()=>import("./bicep-CIJ_UyQp.js"),__vite__mapDeps([]))});Ie({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>De(()=>import("./cameligo-BW7R3LBI.js"),__vite__mapDeps([]))});Ie({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>De(()=>import("./clojure-D9tzKAGE.js"),__vite__mapDeps([]))});Ie({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>De(()=>import("./coffee-C1Mz_abc.js"),__vite__mapDeps([]))});Ie({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>De(()=>import("./cpp-C6GTbAYz.js"),__vite__mapDeps([]))});Ie({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>De(()=>import("./cpp-C6GTbAYz.js"),__vite__mapDeps([]))});Ie({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>De(()=>import("./csharp-c2hA8jvi.js"),__vite__mapDeps([]))});Ie({id:"csp",extensions:[],aliases:["CSP","csp"],loader:()=>De(()=>import("./csp-Ch7yxlMo.js"),__vite__mapDeps([]))});Ie({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>De(()=>import("./css-niPK7UV1.js"),__vite__mapDeps([]))});Ie({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>De(()=>import("./dart-BHw03n-1.js"),__vite__mapDeps([]))});Ie({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>De(()=>import("./dockerfile-BmcMzYFF.js"),__vite__mapDeps([]))});Ie({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>De(()=>import("./ecl-ByV54v1F.js"),__vite__mapDeps([]))});Ie({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>De(()=>import("./elixir-ByY8twkA.js"),__vite__mapDeps([]))});Ie({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>De(()=>import("./flow9-DdnQrJJW.js"),__vite__mapDeps([]))});Ie({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>De(()=>import("./fsharp-CrWVR4ZC.js"),__vite__mapDeps([]))});Ie({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagAngleInterpolationDollar)});Ie({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagBracketInterpolationDollar)});Ie({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagAngleInterpolationBracket)});Ie({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagBracketInterpolationBracket)});Ie({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationDollar)});Ie({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>De(()=>import("./freemarker2-CgRXBw1u.js"),__vite__mapDeps([])).then(s=>s.TagAutoInterpolationBracket)});Ie({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>De(()=>import("./go-BtEFHWei.js"),__vite__mapDeps([]))});Ie({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>De(()=>import("./graphql-CP9vGHhX.js"),__vite__mapDeps([]))});Ie({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>De(()=>import("./handlebars-DicNC5PI.js"),__vite__mapDeps([]))});Ie({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>De(()=>import("./hcl-BRETWCw_.js"),__vite__mapDeps([]))});Ie({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:()=>De(()=>import("./html-p_dG166i.js"),__vite__mapDeps([]))});Ie({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>De(()=>import("./ini-DqITWiql.js"),__vite__mapDeps([]))});Ie({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>De(()=>import("./java-UAr4owVR.js"),__vite__mapDeps([]))});Ie({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>De(()=>import("./javascript-CuTLISBg.js"),__vite__mapDeps([0,1]))});Ie({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>De(()=>import("./julia-9AG6cIdP.js"),__vite__mapDeps([]))});Ie({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>De(()=>import("./kotlin-CvyFRe5M.js"),__vite__mapDeps([]))});Ie({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>De(()=>import("./less-DDhVJIKa.js"),__vite__mapDeps([]))});Ie({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>De(()=>import("./lexon-ctJgw0HP.js"),__vite__mapDeps([]))});Ie({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>De(()=>import("./lua-eOfeW_Ug.js"),__vite__mapDeps([]))});Ie({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>De(()=>import("./liquid-CVfaju64.js"),__vite__mapDeps([]))});Ie({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>De(()=>import("./m3-DK-lM5Ch.js"),__vite__mapDeps([]))});Ie({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>De(()=>import("./markdown-oh6kpzaa.js"),__vite__mapDeps([]))});Ie({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>De(()=>import("./mips-Coo_lhCq.js"),__vite__mapDeps([]))});Ie({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>De(()=>import("./msdax-CYf7XeSj.js"),__vite__mapDeps([]))});Ie({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>De(()=>import("./mysql-BSshlkr5.js"),__vite__mapDeps([]))});Ie({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>De(()=>import("./objective-c-yurC-brj.js"),__vite__mapDeps([]))});Ie({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>De(()=>import("./pascal-DxfsymmB.js"),__vite__mapDeps([]))});Ie({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>De(()=>import("./pascaligo-gh_EzRfA.js"),__vite__mapDeps([]))});Ie({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:()=>De(()=>import("./perl-C0fPk3AA.js"),__vite__mapDeps([]))});Ie({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>De(()=>import("./pgsql-Fmrez-Io.js"),__vite__mapDeps([]))});Ie({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>De(()=>import("./php-fZlaJSUp.js"),__vite__mapDeps([]))});Ie({id:"pla",extensions:[".pla"],loader:()=>De(()=>import("./pla-D-lQ8LkD.js"),__vite__mapDeps([]))});Ie({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>De(()=>import("./postiats-GQ31Xt24.js"),__vite__mapDeps([]))});Ie({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>De(()=>import("./powerquery-DfWb3tHC.js"),__vite__mapDeps([]))});Ie({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>De(()=>import("./powershell-DLSD6EIt.js"),__vite__mapDeps([]))});Ie({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>De(()=>import("./protobuf-C_kxGqGh.js"),__vite__mapDeps([]))});Ie({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>De(()=>import("./pug-DC0rMj3G.js"),__vite__mapDeps([]))});Ie({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>De(()=>import("./python-B_kZwmWU.js"),__vite__mapDeps([]))});Ie({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>De(()=>import("./qsharp-CUQrbFtE.js"),__vite__mapDeps([]))});Ie({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>De(()=>import("./r-FFIopbBW.js"),__vite__mapDeps([]))});Ie({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>De(()=>import("./razor-BVMQzKWj.js"),__vite__mapDeps([]))});Ie({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>De(()=>import("./redis-CBfG6JPf.js"),__vite__mapDeps([]))});Ie({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>De(()=>import("./redshift-DuTYt8XJ.js"),__vite__mapDeps([]))});Ie({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>De(()=>import("./restructuredtext-C19sOa1p.js"),__vite__mapDeps([]))});Ie({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>De(()=>import("./ruby-CoXizQOP.js"),__vite__mapDeps([]))});Ie({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>De(()=>import("./rust-DZ2wmCvZ.js"),__vite__mapDeps([]))});Ie({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>De(()=>import("./sb-B8wUtamR.js"),__vite__mapDeps([]))});Ie({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:()=>De(()=>import("./scala-BA6hSHTM.js"),__vite__mapDeps([]))});Ie({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>De(()=>import("./scheme-DM8K2yAt.js"),__vite__mapDeps([]))});Ie({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>De(()=>import("./scss-BkfqZVw6.js"),__vite__mapDeps([]))});Ie({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>De(()=>import("./shell-BI3swxpe.js"),__vite__mapDeps([]))});Ie({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>De(()=>import("./solidity-DvSLgmry.js"),__vite__mapDeps([]))});Ie({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>De(()=>import("./sophia-BJYI0myt.js"),__vite__mapDeps([]))});Ie({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>De(()=>import("./sparql-B8gKUaZn.js"),__vite__mapDeps([]))});Ie({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>De(()=>import("./sql-DHaF6oaz.js"),__vite__mapDeps([]))});Ie({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:()=>De(()=>import("./st-Ds1fOIw5.js"),__vite__mapDeps([]))});Ie({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>De(()=>import("./swift-j9Ctmaa7.js"),__vite__mapDeps([]))});Ie({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>De(()=>import("./systemverilog-U-9V1rhU.js"),__vite__mapDeps([]))});Ie({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>De(()=>import("./systemverilog-U-9V1rhU.js"),__vite__mapDeps([]))});Ie({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>De(()=>import("./tcl-CBNCqq56.js"),__vite__mapDeps([]))});Ie({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>De(()=>import("./twig-DrGOV_E_.js"),__vite__mapDeps([]))});Ie({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>De(()=>import("./typescript-GsQEwvnu.js"),__vite__mapDeps([]))});Ie({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>De(()=>import("./vb-CXHpW9GZ.js"),__vite__mapDeps([]))});Ie({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\De(()=>import("./xml-DdplLncM.js"),__vite__mapDeps([]))});Ie({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>De(()=>import("./yaml-C6qjZiaU.js"),__vite__mapDeps([]))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Dae=Object.defineProperty,xae=Object.getOwnPropertyDescriptor,kae=Object.getOwnPropertyNames,Iae=Object.prototype.hasOwnProperty,Eae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of kae(e))!Iae.call(s,n)&&(t||n!=="default")&&Dae(s,n,{get:()=>e[n],enumerable:!(i=xae(e,n))||i.enumerable});return s},Wg={};Eae(Wg,ub);var ET=class{constructor(e,t,i){di(this,"_onDidChange",new Wg.Emitter);di(this,"_options");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}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(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},NT={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}},TT={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},s6=new ET("css",NT,TT),o6=new ET("scss",NT,TT),r6=new ET("less",NT,TT);Wg.languages.css={cssDefaults:s6,lessDefaults:r6,scssDefaults:o6};function AT(){return De(()=>import("./cssMode-u7Zx72Rp.js"),__vite__mapDeps([]))}Wg.languages.onLanguage("less",()=>{AT().then(s=>s.setupMode(r6))});Wg.languages.onLanguage("scss",()=>{AT().then(s=>s.setupMode(o6))});Wg.languages.onLanguage("css",()=>{AT().then(s=>s.setupMode(s6))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Dae=Object.defineProperty,xae=Object.getOwnPropertyDescriptor,kae=Object.getOwnPropertyNames,Iae=Object.prototype.hasOwnProperty,Eae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of kae(e))!Iae.call(s,n)&&(t||n!=="default")&&Dae(s,n,{get:()=>e[n],enumerable:!(i=xae(e,n))||i.enumerable});return s},Wg={};Eae(Wg,ub);var ET=class{constructor(e,t,i){di(this,"_onDidChange",new Wg.Emitter);di(this,"_options");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}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(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},NT={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}},TT={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},s6=new ET("css",NT,TT),o6=new ET("scss",NT,TT),r6=new ET("less",NT,TT);Wg.languages.css={cssDefaults:s6,lessDefaults:r6,scssDefaults:o6};function AT(){return De(()=>import("./cssMode-B1eNEHwl.js"),__vite__mapDeps([]))}Wg.languages.onLanguage("less",()=>{AT().then(s=>s.setupMode(r6))});Wg.languages.onLanguage("scss",()=>{AT().then(s=>s.setupMode(o6))});Wg.languages.onLanguage("css",()=>{AT().then(s=>s.setupMode(s6))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Nae=Object.defineProperty,Tae=Object.getOwnPropertyDescriptor,Aae=Object.getOwnPropertyNames,Rae=Object.prototype.hasOwnProperty,Mae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Aae(e))!Rae.call(s,n)&&(t||n!=="default")&&Nae(s,n,{get:()=>e[n],enumerable:!(i=Tae(e,n))||i.enumerable});return s},qw={};Mae(qw,ub);var Oae=class{constructor(e,t,i){di(this,"_onDidChange",new qw.Emitter);di(this,"_options");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},Pae={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"},Gw={format:Pae,suggest:{},data:{useDefaultDataProvider:!0}};function Zw(s){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:s===pm,documentFormattingEdits:s===pm,documentRangeFormattingEdits:s===pm}}var pm="html",DP="handlebars",xP="razor",a6=Yw(pm,Gw,Zw(pm)),Fae=a6.defaults,l6=Yw(DP,Gw,Zw(DP)),Bae=l6.defaults,c6=Yw(xP,Gw,Zw(xP)),Wae=c6.defaults;qw.languages.html={htmlDefaults:Fae,razorDefaults:Wae,handlebarDefaults:Bae,htmlLanguageService:a6,handlebarLanguageService:l6,razorLanguageService:c6,registerHTMLLanguageService:Yw};function Vae(){return De(()=>import("./htmlMode-BVQqUwxk.js"),__vite__mapDeps([]))}function Yw(s,e=Gw,t=Zw(s)){const i=new Oae(s,e,t);let n;const o=qw.languages.onLanguage(s,async()=>{n=(await Vae()).setupMode(i)});return{defaults:i,dispose(){o.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Nae=Object.defineProperty,Tae=Object.getOwnPropertyDescriptor,Aae=Object.getOwnPropertyNames,Rae=Object.prototype.hasOwnProperty,Mae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Aae(e))!Rae.call(s,n)&&(t||n!=="default")&&Nae(s,n,{get:()=>e[n],enumerable:!(i=Tae(e,n))||i.enumerable});return s},qw={};Mae(qw,ub);var Oae=class{constructor(e,t,i){di(this,"_onDidChange",new qw.Emitter);di(this,"_options");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},Pae={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"},Gw={format:Pae,suggest:{},data:{useDefaultDataProvider:!0}};function Zw(s){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:s===pm,documentFormattingEdits:s===pm,documentRangeFormattingEdits:s===pm}}var pm="html",DP="handlebars",xP="razor",a6=Yw(pm,Gw,Zw(pm)),Fae=a6.defaults,l6=Yw(DP,Gw,Zw(DP)),Bae=l6.defaults,c6=Yw(xP,Gw,Zw(xP)),Wae=c6.defaults;qw.languages.html={htmlDefaults:Fae,razorDefaults:Wae,handlebarDefaults:Bae,htmlLanguageService:a6,handlebarLanguageService:l6,razorLanguageService:c6,registerHTMLLanguageService:Yw};function Vae(){return De(()=>import("./htmlMode-Dd7jWKdv.js"),__vite__mapDeps([]))}function Yw(s,e=Gw,t=Zw(s)){const i=new Oae(s,e,t);let n;const o=qw.languages.onLanguage(s,async()=>{n=(await Vae()).setupMode(i)});return{defaults:i,dispose(){o.dispose(),n==null||n.dispose(),n=void 0}}}/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Hae=Object.defineProperty,zae=Object.getOwnPropertyDescriptor,$ae=Object.getOwnPropertyNames,Uae=Object.prototype.hasOwnProperty,jae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $ae(e))!Uae.call(s,n)&&(t||n!=="default")&&Hae(s,n,{get:()=>e[n],enumerable:!(i=zae(e,n))||i.enumerable});return s},hb={};jae(hb,ub);var Kae=class{constructor(e,t,i){di(this,"_onDidChange",new hb.Emitter);di(this,"_diagnosticsOptions");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}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)}},qae={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},Gae={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d6=new Kae("json",qae,Gae);hb.languages.json={jsonDefaults:d6};function Zae(){return De(()=>import("./jsonMode-DdbKuPVF.js"),__vite__mapDeps([]))}hb.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});hb.languages.onLanguage("json",()=>{Zae().then(s=>s.setupMode(d6))});/*!----------------------------------------------------------------------------- + *-----------------------------------------------------------------------------*/var Hae=Object.defineProperty,zae=Object.getOwnPropertyDescriptor,$ae=Object.getOwnPropertyNames,Uae=Object.prototype.hasOwnProperty,jae=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $ae(e))!Uae.call(s,n)&&(t||n!=="default")&&Hae(s,n,{get:()=>e[n],enumerable:!(i=zae(e,n))||i.enumerable});return s},hb={};jae(hb,ub);var Kae=class{constructor(e,t,i){di(this,"_onDidChange",new hb.Emitter);di(this,"_diagnosticsOptions");di(this,"_modeConfiguration");di(this,"_languageId");this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}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)}},qae={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},Gae={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},d6=new Kae("json",qae,Gae);hb.languages.json={jsonDefaults:d6};function Zae(){return De(()=>import("./jsonMode-p202oGwl.js"),__vite__mapDeps([]))}hb.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});hb.languages.onLanguage("json",()=>{Zae().then(s=>s.setupMode(d6))});/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt - *-----------------------------------------------------------------------------*/var Yae=Object.defineProperty,Xae=Object.getOwnPropertyDescriptor,Qae=Object.getOwnPropertyNames,Jae=Object.prototype.hasOwnProperty,ele=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Qae(e))!Jae.call(s,n)&&(t||n!=="default")&&Yae(s,n,{get:()=>e[n],enumerable:!(i=Xae(e,n))||i.enumerable});return s},tle="4.5.5",cg={};ele(cg,ub);var u6=(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))(u6||{}),h6=(s=>(s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev",s))(h6||{}),f6=(s=>(s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed",s))(f6||{}),g6=(s=>(s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest",s))(g6||{}),p6=(s=>(s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs",s))(p6||{}),m6=class{constructor(s,e,t,i){di(this,"_onDidChange",new cg.Emitter);di(this,"_onDidExtraLibsChange",new cg.Emitter);di(this,"_extraLibs");di(this,"_removedExtraLibs");di(this,"_eagerModelSync");di(this,"_compilerOptions");di(this,"_diagnosticsOptions");di(this,"_workerOptions");di(this,"_onDidExtraLibsChangeTimeout");di(this,"_inlayHintsOptions");this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(s),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(s,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===s)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:s,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(s){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),s&&s.length>0)for(const e of s){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(s){this._compilerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(s){this._diagnosticsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(s){this._workerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(s){this._inlayHintsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(s){}setEagerModelSync(s){this._eagerModelSync=s}getEagerModelSync(){return this._eagerModelSync}},ile=tle,_6=new m6({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),b6=new m6({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{}),nle=()=>Xw().then(s=>s.getTypeScriptWorker()),sle=()=>Xw().then(s=>s.getJavaScriptWorker());cg.languages.typescript={ModuleKind:u6,JsxEmit:h6,NewLineKind:f6,ScriptTarget:g6,ModuleResolutionKind:p6,typescriptVersion:ile,typescriptDefaults:_6,javascriptDefaults:b6,getTypeScriptWorker:nle,getJavaScriptWorker:sle};function Xw(){return De(()=>import("./tsMode-BFTaVmao.js"),__vite__mapDeps([]))}cg.languages.onLanguage("typescript",()=>Xw().then(s=>s.setupTypeScript(_6)));cg.languages.onLanguage("javascript",()=>Xw().then(s=>s.setupJavaScript(b6)));var ole=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rle=function(s,e){return function(t,i){e(t,i,s)}},Qw=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const Jw=new ue("selectionAnchorSet",!1);let Il=class C6{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=Jw.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(C6.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],i=this.editor.deltaDecorations(t,[{range:ge.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:new zs().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=i[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),un(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(ge.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Il.ID="editor.contrib.selectionAnchorController";Il=ole([rle(1,ze)],Il);class ale extends pe{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:Xi(2089,2080),weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.setSelectionAnchor()})}}class lle extends pe{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:Jw})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.goToSelectionAnchor()})}}class cle extends pe{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:Jw,kbOpts:{kbExpr:T.editorTextFocus,primary:Xi(2089,2089),weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.selectFromAnchorToCursor()})}}class dle extends pe{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:Jw,kbOpts:{kbExpr:T.editorTextFocus,primary:9,weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.cancelSelectionAnchor()})}}yt(Il.ID,Il);oe(ale);oe(lle);oe(cle);oe(dle);const ule=A("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class hle extends pe{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:3160,weight:100}})}run(e,t){var i;(i=vr.get(t))===null||i===void 0||i.jumpToBracket()}}class fle extends pe{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),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(e,t,i){var n;let o=!0;i&&i.selectBrackets===!1&&(o=!1),(n=vr.get(t))===null||n===void 0||n.selectToBracket(o)}}class gle{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class vr extends K{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(64),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(64)&&(this._matchBrackets=this._editor.getOption(64),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(vr.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.bracketPairs.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[0].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new ge(r.lineNumber,r.column,r.lineNumber,r.column):new ge(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.bracketPairs.matchBracket(o);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(o),!r)){const c=t.bracketPairs.findNextBracket(o);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(o)){const u=a;a=l,l=u}}a&&l&&i.push(new ge(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();let e=[],t=0;for(const i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let o=[],r=0;for(let u=0,h=e.length;u1&&o.sort(U.compare);let a=[],l=0,c=0,d=n.length;for(let u=0,h=o.length;u{const t=s.getColor(UY);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=s.getColor(C7);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});Zs.appendMenuItem(M.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class ple{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,o,i,o),a)}else{const r=new x(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new ge(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new ge(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class v6 extends pe{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const o of n)i.push(new ple(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class mle extends v6{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:T.writable})}}class _le extends v6{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:T.writable})}}oe(mle);oe(_le);class ble extends pe{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=[],o=t.getSelections();for(let r of o){if(!r.isEmpty())continue;let a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;let d=l===c?r.getPosition():Ct.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),u=Ct.leftPosition(i,d),h=Ct.leftPosition(i,u),f=i.getValueInRange(x.fromPositions(h,u)),g=i.getValueInRange(x.fromPositions(u,d)),_=x.fromPositions(h,d);n.push(new ln(_,g+f))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}oe(ble);var Cle=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const Au="9_cutcopypaste",vle=_r||document.queryCommandSupported("cut"),w6=_r||document.queryCommandSupported("copy"),wle=typeof navigator.clipboard>"u"||Js?document.queryCommandSupported("paste"):!0;function RT(s){return s.register(),s}const Sle=vle?RT(new Ag({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:_r?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.cutLabel","Cut"),when:T.writable,order:1},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.cutLabel","Cut"),when:T.writable,order:1}]})):void 0,yle=w6?RT(new Ag({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:_r?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;Zs.appendMenuItem(M.MenubarEditMenu,{submenu:M.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});Zs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:Au,order:3});const _L=wle?RT(new Ag({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:_r?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.pasteLabel","Paste"),when:T.writable,order:4},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.pasteLabel","Paste"),when:T.writable,order:4}]})):void 0;class Lle extends pe{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(32)&&t.getSelection().isEmpty()||(Zx.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Zx.forceCopyWithSyntaxHighlighting=!1)}}function S6(s,e){s&&(s.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(Dt).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const o=n.getOption(32),r=n.getSelection();return r&&r.isEmpty()&&!o||document.execCommand(e),!0}return!1}),s.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}S6(Sle,"cut");S6(yle,"copy");_L&&(_L.addImplementation(1e4,"code-editor",(s,e)=>{const t=s.get(Dt),i=s.get(dh),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&ed?Cle(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=$m.INSTANCE.get(r);let l=!1,c=null,d=null;a&&(l=n.getOption(32)&&!!a.isFromEmptySelection,c=typeof a.multicursorText<"u"?a.multicursorText:null,d=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:c,mode:d})}}):!0:!1}),_L.addImplementation(0,"generic-dom",(s,e)=>(document.execCommand("paste"),!0)));w6&&oe(Lle);class ot{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+ot.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new ot(this.value+ot.sep+e)}}ot.sep=".";ot.None=new ot("@@none@@");ot.Empty=new ot("");ot.QuickFix=new ot("quickfix");ot.Refactor=new ot("refactor");ot.Source=new ot("source");ot.SourceOrganizeImports=ot.Source.append("organizeImports");ot.SourceFixAll=ot.Source.append("fixAll");function Dle(s,e){return!(s.include&&!s.include.intersects(e)||s.excludes&&s.excludes.some(t=>y6(e,t,s.include))||!s.includeSourceActions&&ot.Source.contains(e))}function xle(s,e){const t=e.kind?new ot(e.kind):void 0;return!(s.include&&(!t||!s.include.contains(t))||s.excludes&&t&&s.excludes.some(i=>y6(t,i,s.include))||!s.includeSourceActions&&t&&ot.Source.contains(t)||s.onlyIncludePreferredActions&&!e.isPreferred)}function y6(s,e,t){return!(!e.contains(s)||t&&e.contains(t))}class oa{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new oa(t.kind,t.apply,!1):new oa(oa.getKindFromUser(e,t.kind),oa.getApplyFromUser(e,t.apply),oa.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new ot(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var MT=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const L6="editor.action.codeAction",D6="editor.action.refactor",x6="editor.action.sourceAction",OT="editor.action.organizeImports",PT="editor.action.fixAll";class k6{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return MT(this,void 0,void 0,function*(){if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Yi(n)}i&&(this.action.edit=i.edit)}return this})}}class FT extends K{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(FT.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:ys(e.diagnostics)?ys(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:ys(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&ot.QuickFix.contains(new ot(e.kind))&&!!e.isPreferred)}}const kP={actions:[],documentation:void 0};function BT(s,e,t,i,n,o){var r;const a=i.filter||{},l={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new kT(e,o),d=kle(s,e,a),u=new ie,h=d.map(g=>MT(this,void 0,void 0,function*(){try{n.report(g);const _=yield g.provideCodeActions(e,t,l,c.token);if(_&&u.add(_),c.token.isCancellationRequested)return kP;const b=((_==null?void 0:_.actions)||[]).filter(C=>C&&xle(a,C)),v=Ile(g,b,a.include);return{actions:b.map(C=>new k6(C,g)),documentation:v}}catch(_){if(Ea(_))throw _;return Yi(_),kP}})),f=s.onDidChange(()=>{const g=s.all(e);Gs(g,d)||c.cancel()});return Promise.all(h).then(g=>{const _=cN(g.map(v=>v.actions)),b=Ju(g.map(v=>v.documentation));return new FT(_,b,u)}).finally(()=>{f.dispose(),c.dispose()})}function kle(s,e,t){return s.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>Dle(t,new ot(n))):!0)}function Ile(s,e,t){if(!s.documentation)return;const i=s.documentation.map(n=>({kind:new ot(n.kind),command:n.command}));if(t){let n;for(const o of i)o.kind.contains(t)&&(n?n.kind.contains(o.kind)&&(n=o):n=o);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const o of i)if(o.kind.contains(new ot(n.kind)))return o.command}}ht.registerCommand("_executeCodeActionProvider",function(s,e,t,i,n){return MT(this,void 0,void 0,function*(){if(!(e instanceof Pe))throw br();const{codeActionProvider:o}=s.get(we),r=s.get(ri).getModel(e);if(!r)throw br();const a=ge.isISelection(t)?ge.liftSelection(t):x.isIRange(t)?r.validateRange(t):void 0;if(!a)throw br();const l=typeof i=="string"?new ot(i):void 0,c=yield BT(o,r,a,{type:1,filter:{includeSourceActions:!0,include:l}},uh.None,tt.None),d=[],u=Math.min(c.validActions.length,typeof n=="number"?n:0);for(let h=0;hh.action)}finally{setTimeout(()=>c.dispose(),100)}})});var Ele=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Nle=function(s,e){return function(t,i){e(t,i,s)}};let io=class SI{constructor(e,t){this._messageWidget=new jn,this._messageListeners=new ie,this._editor=e,this._visible=SI.MESSAGE_VISIBLE.bindTo(t),this._editorListener=this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit())}static get(e){return e.getContribution(SI.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){un(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new IP(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>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(new Is(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(IP.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(p("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};io.ID="editor.contrib.messageController";io.MESSAGE_VISIBLE=new ue("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));io=Ele([Nle(1,ze)],io);const Tle=pn.bindToContribution(io.get);se(new Tle({id:"leaveEditorMessage",precondition:io.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:130,primary:9}}));let IP=class{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};yt(io.ID,io);var Ale=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},bL=function(s,e){return function(t,i){e(t,i,s)}},Rle=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};class EP extends Ls{constructor(e,t){super(e.command?e.command.id:e.title,Mle(e.title),void 0,!e.disabled,t),this.action=e}}function Mle(s){return s.replace(/\r\n|\r|\n/g," ")}let yI=class extends K{constructor(e,t,i,n,o){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._languageFeaturesService=o,this._visible=!1,this._showingActions=this._register(new jn),this._keybindingResolver=new eS({getKeybindings:()=>n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return Rle(this,void 0,void 0,function*(){const o=n.includeDisabledActions?t.allActions:t.validActions;if(!o.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,fN();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),a=U.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},l=this._keybindingResolver.getResolver(),c=this._editor.getOption(115);this._contextMenuService.showContextMenu({domForShadowRoot:c?this._editor.getDomNode():void 0,getAnchor:()=>a,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:d=>d instanceof EP?l(d.action):void 0})})}getMenuActions(e,t,i){var n,o;const r=d=>new EP(d.action,()=>this._delegate.onSelectCodeAction(d)),a=t.map(r),l=[...i],c=this._editor.getModel();if(c&&a.length)for(const d of this._languageFeaturesService.codeActionProvider.all(c))d._getAdditionalMenuItems&&l.push(...d._getAdditionalMenuItems({trigger:e.type,only:(o=(n=e.filter)===null||n===void 0?void 0:n.include)===null||o===void 0?void 0:o.value},t.map(u=>u.action)));return l.length&&a.push(new _o,...l.map(d=>r(new k6({title:d.title,command:d},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=dn(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}};yI=Ale([bL(2,td),bL(3,pi),bL(4,we)],yI);class eS{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Hf(()=>this._keybindingProvider.getKeybindings().filter(t=>eS.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===OT?i={kind:ot.SourceOrganizeImports.value}:t.command===PT&&(i={kind:ot.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},oa.fromUser(i,{kind:ot.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new ot(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,o)=>n?n.kind.contains(o.kind)?o:n:o,void 0)}}eS.codeActionCommands=[D6,L6,x6,OT,PT];var Ole=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ple=function(s,e){return function(t,i){e(t,i,s)}},mm;(function(s){s.Hidden={type:0};class e{constructor(i,n,o,r){this.actions=i,this.trigger=n,this.editorPosition=o,this.widgetPosition=r,this.type=1}}s.Showing=e})(mm||(mm={}));let ov=class I6 extends K{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new W),this.onClick=this._onClick.event,this._state=mm.Hidden,this._domNode=document.createElement("div"),this._domNode.className=m.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(o=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),Nt.ignoreTarget(this._domNode),this._register(Gq(this._domNode,o=>{if(this.state.type!==1)return;this._editor.focus(),o.preventDefault();const{top:r,height:a}=dn(this._domNode),l=this._editor.getOption(59);let c=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{if((o.buttons&1)!==1)return;this.hide();const r=new rh;r.startMonitoring(o.target,o.buttons,Rg,()=>{},()=>{r.dispose()})})),this._register(this._editor.onDidChangeConfiguration(o=>{o.hasChanged(57)&&!this._editor.getOption(57).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}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(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(57).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:r,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,c=n.get(44),d=o.getLineContent(r),u=vw(d,l),h=c.spaceWidth*u>22,f=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let g=r;if(!h){if(r>1&&!f(r-1))g-=1;else if(!f(r+1))g+=1;else if(a*c.spaceWidth<22)return this.hide()}this.state=new mm.Showing(e,t,i,{position:{lineNumber:g,column:1},preference:I6._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=mm.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...m.lightBulb.classNamesArray),this._domNode.classList.add(...m.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...m.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...m.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};ov._posPref=[0];ov=Ole([Ple(3,pi)],ov);jt((s,e)=>{var t;const i=(t=s.getColor(ls))===null||t===void 0?void 0:t.transparent(.7),n=s.getColor(mZ);n&&e.addRule(` + *-----------------------------------------------------------------------------*/var Yae=Object.defineProperty,Xae=Object.getOwnPropertyDescriptor,Qae=Object.getOwnPropertyNames,Jae=Object.prototype.hasOwnProperty,ele=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Qae(e))!Jae.call(s,n)&&(t||n!=="default")&&Yae(s,n,{get:()=>e[n],enumerable:!(i=Xae(e,n))||i.enumerable});return s},tle="4.5.5",cg={};ele(cg,ub);var u6=(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))(u6||{}),h6=(s=>(s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev",s))(h6||{}),f6=(s=>(s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed",s))(f6||{}),g6=(s=>(s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest",s))(g6||{}),p6=(s=>(s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs",s))(p6||{}),m6=class{constructor(s,e,t,i){di(this,"_onDidChange",new cg.Emitter);di(this,"_onDidExtraLibsChange",new cg.Emitter);di(this,"_extraLibs");di(this,"_removedExtraLibs");di(this,"_eagerModelSync");di(this,"_compilerOptions");di(this,"_diagnosticsOptions");di(this,"_workerOptions");di(this,"_onDidExtraLibsChangeTimeout");di(this,"_inlayHintsOptions");this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(s),this.setDiagnosticsOptions(e),this.setWorkerOptions(t),this.setInlayHintsOptions(i),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(s,e){let t;if(typeof e>"u"?t=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t=e,this._extraLibs[t]&&this._extraLibs[t].content===s)return{dispose:()=>{}};let i=1;return this._removedExtraLibs[t]&&(i=this._removedExtraLibs[t]+1),this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:s,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let n=this._extraLibs[t];n&&n.version===i&&(delete this._extraLibs[t],this._removedExtraLibs[t]=i,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(s){for(const e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),s&&s.length>0)for(const e of s){const t=e.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=e.content;let n=1;this._removedExtraLibs[t]&&(n=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(s){this._compilerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(s){this._diagnosticsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(s){this._workerOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(s){this._inlayHintsOptions=s||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(s){}setEagerModelSync(s){this._eagerModelSync=s}getEagerModelSync(){return this._eagerModelSync}},ile=tle,_6=new m6({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{}),b6=new m6({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{}),nle=()=>Xw().then(s=>s.getTypeScriptWorker()),sle=()=>Xw().then(s=>s.getJavaScriptWorker());cg.languages.typescript={ModuleKind:u6,JsxEmit:h6,NewLineKind:f6,ScriptTarget:g6,ModuleResolutionKind:p6,typescriptVersion:ile,typescriptDefaults:_6,javascriptDefaults:b6,getTypeScriptWorker:nle,getJavaScriptWorker:sle};function Xw(){return De(()=>import("./tsMode-C2wMUfcg.js"),__vite__mapDeps([]))}cg.languages.onLanguage("typescript",()=>Xw().then(s=>s.setupTypeScript(_6)));cg.languages.onLanguage("javascript",()=>Xw().then(s=>s.setupJavaScript(b6)));var ole=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},rle=function(s,e){return function(t,i){e(t,i,s)}},Qw=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const Jw=new ue("selectionAnchorSet",!1);let Il=class C6{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=Jw.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(C6.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],i=this.editor.deltaDecorations(t,[{range:ge.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:new zs().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=i[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),un(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(ge.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};Il.ID="editor.contrib.selectionAnchorController";Il=ole([rle(1,ze)],Il);class ale extends pe{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:Xi(2089,2080),weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.setSelectionAnchor()})}}class lle extends pe{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:Jw})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.goToSelectionAnchor()})}}class cle extends pe{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:Jw,kbOpts:{kbExpr:T.editorTextFocus,primary:Xi(2089,2089),weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.selectFromAnchorToCursor()})}}class dle extends pe{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:Jw,kbOpts:{kbExpr:T.editorTextFocus,primary:9,weight:100}})}run(e,t){var i;return Qw(this,void 0,void 0,function*(){(i=Il.get(t))===null||i===void 0||i.cancelSelectionAnchor()})}}yt(Il.ID,Il);oe(ale);oe(lle);oe(cle);oe(dle);const ule=A("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class hle extends pe{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:T.editorTextFocus,primary:3160,weight:100}})}run(e,t){var i;(i=vr.get(t))===null||i===void 0||i.jumpToBracket()}}class fle extends pe{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),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(e,t,i){var n;let o=!0;i&&i.selectBrackets===!1&&(o=!1),(n=vr.get(t))===null||n===void 0||n.selectToBracket(o)}}class gle{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class vr extends K{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Rt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(64),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(64)&&(this._matchBrackets=this._editor.getOption(64),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(vr.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.bracketPairs.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.bracketPairs.findEnclosingBrackets(n);if(a)r=a[0].getStartPosition();else{const l=e.bracketPairs.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new ge(r.lineNumber,r.column,r.lineNumber,r.column):new ge(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.bracketPairs.matchBracket(o);if(!r&&(r=t.bracketPairs.findEnclosingBrackets(o),!r)){const c=t.bracketPairs.findNextBracket(o);c&&c.range&&(r=t.bracketPairs.matchBracket(c.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(x.compareRangesUsingStarts);const[c,d]=r;if(a=e?c.getStartPosition():c.getEndPosition(),l=e?d.getEndPosition():d.getStartPosition(),d.containsPosition(o)){const u=a;a=l,l=u}}a&&l&&i.push(new ge(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();let e=[],t=0;for(const i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let o=[],r=0;for(let u=0,h=e.length;u1&&o.sort(U.compare);let a=[],l=0,c=0,d=n.length;for(let u=0,h=o.length;u{const t=s.getColor(UY);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=s.getColor(C7);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});Zs.appendMenuItem(M.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class ple{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new x(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,o,i,o),a)}else{const r=new x(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new x(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new ge(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new ge(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class v6 extends pe{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const i=[],n=t.getSelections();for(const o of n)i.push(new ple(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class mle extends v6{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:T.writable})}}class _le extends v6{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:T.writable})}}oe(mle);oe(_le);class ble extends pe{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:T.writable,kbOpts:{kbExpr:T.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=[],o=t.getSelections();for(let r of o){if(!r.isEmpty())continue;let a=r.startLineNumber,l=r.startColumn,c=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&c===2))continue;let d=l===c?r.getPosition():Ct.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),u=Ct.leftPosition(i,d),h=Ct.leftPosition(i,u),f=i.getValueInRange(x.fromPositions(h,u)),g=i.getValueInRange(x.fromPositions(u,d)),_=x.fromPositions(h,d);n.push(new ln(_,g+f))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}oe(ble);var Cle=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const Au="9_cutcopypaste",vle=_r||document.queryCommandSupported("cut"),w6=_r||document.queryCommandSupported("copy"),wle=typeof navigator.clipboard>"u"||Js?document.queryCommandSupported("paste"):!0;function RT(s){return s.register(),s}const Sle=vle?RT(new Ag({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:_r?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.cutLabel","Cut"),when:T.writable,order:1},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.cutLabel","Cut"),when:T.writable,order:1}]})):void 0,yle=w6?RT(new Ag({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:_r?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;Zs.appendMenuItem(M.MenubarEditMenu,{submenu:M.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});Zs.appendMenuItem(M.EditorContext,{submenu:M.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:Au,order:3});const _L=wle?RT(new Ag({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:_r?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:M.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:M.EditorContext,group:Au,title:p("actions.clipboard.pasteLabel","Paste"),when:T.writable,order:4},{menuId:M.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:M.SimpleEditorContext,group:Au,title:p("actions.clipboard.pasteLabel","Paste"),when:T.writable,order:4}]})):void 0;class Lle extends pe{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:T.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(32)&&t.getSelection().isEmpty()||(Zx.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Zx.forceCopyWithSyntaxHighlighting=!1)}}function S6(s,e){s&&(s.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(Dt).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const o=n.getOption(32),r=n.getSelection();return r&&r.isEmpty()&&!o||document.execCommand(e),!0}return!1}),s.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}S6(Sle,"cut");S6(yle,"copy");_L&&(_L.addImplementation(1e4,"code-editor",(s,e)=>{const t=s.get(Dt),i=s.get(dh),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&ed?Cle(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=$m.INSTANCE.get(r);let l=!1,c=null,d=null;a&&(l=n.getOption(32)&&!!a.isFromEmptySelection,c=typeof a.multicursorText<"u"?a.multicursorText:null,d=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:c,mode:d})}}):!0:!1}),_L.addImplementation(0,"generic-dom",(s,e)=>(document.execCommand("paste"),!0)));w6&&oe(Lle);class ot{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+ot.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new ot(this.value+ot.sep+e)}}ot.sep=".";ot.None=new ot("@@none@@");ot.Empty=new ot("");ot.QuickFix=new ot("quickfix");ot.Refactor=new ot("refactor");ot.Source=new ot("source");ot.SourceOrganizeImports=ot.Source.append("organizeImports");ot.SourceFixAll=ot.Source.append("fixAll");function Dle(s,e){return!(s.include&&!s.include.intersects(e)||s.excludes&&s.excludes.some(t=>y6(e,t,s.include))||!s.includeSourceActions&&ot.Source.contains(e))}function xle(s,e){const t=e.kind?new ot(e.kind):void 0;return!(s.include&&(!t||!s.include.contains(t))||s.excludes&&t&&s.excludes.some(i=>y6(t,i,s.include))||!s.includeSourceActions&&t&&ot.Source.contains(t)||s.onlyIncludePreferredActions&&!e.isPreferred)}function y6(s,e,t){return!(!e.contains(s)||t&&e.contains(t))}class oa{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new oa(t.kind,t.apply,!1):new oa(oa.getKindFromUser(e,t.kind),oa.getApplyFromUser(e,t.apply),oa.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new ot(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var MT=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};const L6="editor.action.codeAction",D6="editor.action.refactor",x6="editor.action.sourceAction",OT="editor.action.organizeImports",PT="editor.action.fixAll";class k6{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return MT(this,void 0,void 0,function*(){if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Yi(n)}i&&(this.action.edit=i.edit)}return this})}}class FT extends K{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(FT.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:ys(e.diagnostics)?ys(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:ys(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&ot.QuickFix.contains(new ot(e.kind))&&!!e.isPreferred)}}const kP={actions:[],documentation:void 0};function BT(s,e,t,i,n,o){var r;const a=i.filter||{},l={only:(r=a.include)===null||r===void 0?void 0:r.value,trigger:i.type},c=new kT(e,o),d=kle(s,e,a),u=new ie,h=d.map(g=>MT(this,void 0,void 0,function*(){try{n.report(g);const _=yield g.provideCodeActions(e,t,l,c.token);if(_&&u.add(_),c.token.isCancellationRequested)return kP;const b=((_==null?void 0:_.actions)||[]).filter(C=>C&&xle(a,C)),v=Ile(g,b,a.include);return{actions:b.map(C=>new k6(C,g)),documentation:v}}catch(_){if(Ea(_))throw _;return Yi(_),kP}})),f=s.onDidChange(()=>{const g=s.all(e);Gs(g,d)||c.cancel()});return Promise.all(h).then(g=>{const _=cN(g.map(v=>v.actions)),b=Ju(g.map(v=>v.documentation));return new FT(_,b,u)}).finally(()=>{f.dispose(),c.dispose()})}function kle(s,e,t){return s.all(e).filter(i=>i.providedCodeActionKinds?i.providedCodeActionKinds.some(n=>Dle(t,new ot(n))):!0)}function Ile(s,e,t){if(!s.documentation)return;const i=s.documentation.map(n=>({kind:new ot(n.kind),command:n.command}));if(t){let n;for(const o of i)o.kind.contains(t)&&(n?n.kind.contains(o.kind)&&(n=o):n=o);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const o of i)if(o.kind.contains(new ot(n.kind)))return o.command}}ht.registerCommand("_executeCodeActionProvider",function(s,e,t,i,n){return MT(this,void 0,void 0,function*(){if(!(e instanceof Pe))throw br();const{codeActionProvider:o}=s.get(we),r=s.get(ri).getModel(e);if(!r)throw br();const a=ge.isISelection(t)?ge.liftSelection(t):x.isIRange(t)?r.validateRange(t):void 0;if(!a)throw br();const l=typeof i=="string"?new ot(i):void 0,c=yield BT(o,r,a,{type:1,filter:{includeSourceActions:!0,include:l}},uh.None,tt.None),d=[],u=Math.min(c.validActions.length,typeof n=="number"?n:0);for(let h=0;hh.action)}finally{setTimeout(()=>c.dispose(),100)}})});var Ele=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Nle=function(s,e){return function(t,i){e(t,i,s)}};let io=class SI{constructor(e,t){this._messageWidget=new jn,this._messageListeners=new ie,this._editor=e,this._visible=SI.MESSAGE_VISIBLE.bindTo(t),this._editorListener=this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit())}static get(e){return e.getContribution(SI.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){un(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new IP(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>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(new Is(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new x(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(IP.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(p("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};io.ID="editor.contrib.messageController";io.MESSAGE_VISIBLE=new ue("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));io=Ele([Nle(1,ze)],io);const Tle=pn.bindToContribution(io.get);se(new Tle({id:"leaveEditorMessage",precondition:io.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:130,primary:9}}));let IP=class{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};yt(io.ID,io);var Ale=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},bL=function(s,e){return function(t,i){e(t,i,s)}},Rle=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};class EP extends Ls{constructor(e,t){super(e.command?e.command.id:e.title,Mle(e.title),void 0,!e.disabled,t),this.action=e}}function Mle(s){return s.replace(/\r\n|\r|\n/g," ")}let yI=class extends K{constructor(e,t,i,n,o){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._languageFeaturesService=o,this._visible=!1,this._showingActions=this._register(new jn),this._keybindingResolver=new eS({getKeybindings:()=>n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return Rle(this,void 0,void 0,function*(){const o=n.includeDisabledActions?t.allActions:t.validActions;if(!o.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,fN();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),a=U.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},l=this._keybindingResolver.getResolver(),c=this._editor.getOption(115);this._contextMenuService.showContextMenu({domForShadowRoot:c?this._editor.getDomNode():void 0,getAnchor:()=>a,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:d=>d instanceof EP?l(d.action):void 0})})}getMenuActions(e,t,i){var n,o;const r=d=>new EP(d.action,()=>this._delegate.onSelectCodeAction(d)),a=t.map(r),l=[...i],c=this._editor.getModel();if(c&&a.length)for(const d of this._languageFeaturesService.codeActionProvider.all(c))d._getAdditionalMenuItems&&l.push(...d._getAdditionalMenuItems({trigger:e.type,only:(o=(n=e.filter)===null||n===void 0?void 0:n.include)===null||o===void 0?void 0:o.value},t.map(u=>u.action)));return l.length&&a.push(new _o,...l.map(d=>r(new k6({title:d.title,command:d},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=dn(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}};yI=Ale([bL(2,td),bL(3,pi),bL(4,we)],yI);class eS{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Hf(()=>this._keybindingProvider.getKeybindings().filter(t=>eS.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===OT?i={kind:ot.SourceOrganizeImports.value}:t.command===PT&&(i={kind:ot.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},oa.fromUser(i,{kind:ot.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new ot(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,o)=>n?n.kind.contains(o.kind)?o:n:o,void 0)}}eS.codeActionCommands=[D6,L6,x6,OT,PT];var Ole=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Ple=function(s,e){return function(t,i){e(t,i,s)}},mm;(function(s){s.Hidden={type:0};class e{constructor(i,n,o,r){this.actions=i,this.trigger=n,this.editorPosition=o,this.widgetPosition=r,this.type=1}}s.Showing=e})(mm||(mm={}));let ov=class I6 extends K{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new W),this.onClick=this._onClick.event,this._state=mm.Hidden,this._domNode=document.createElement("div"),this._domNode.className=m.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(o=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),Nt.ignoreTarget(this._domNode),this._register(Gq(this._domNode,o=>{if(this.state.type!==1)return;this._editor.focus(),o.preventDefault();const{top:r,height:a}=dn(this._domNode),l=this._editor.getOption(59);let c=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{if((o.buttons&1)!==1)return;this.hide();const r=new rh;r.startMonitoring(o.target,o.buttons,Rg,()=>{},()=>{r.dispose()})})),this._register(this._editor.onDidChangeConfiguration(o=>{o.hasChanged(57)&&!this._editor.getOption(57).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}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(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(57).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:r,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,c=n.get(44),d=o.getLineContent(r),u=vw(d,l),h=c.spaceWidth*u>22,f=_=>_>2&&this._editor.getTopForLineNumber(_)===this._editor.getTopForLineNumber(_-1);let g=r;if(!h){if(r>1&&!f(r-1))g-=1;else if(!f(r+1))g+=1;else if(a*c.spaceWidth<22)return this.hide()}this.state=new mm.Showing(e,t,i,{position:{lineNumber:g,column:1},preference:I6._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=mm.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...m.lightBulb.classNamesArray),this._domNode.classList.add(...m.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...m.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...m.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};ov._posPref=[0];ov=Ole([Ple(3,pi)],ov);jt((s,e)=>{var t;const i=(t=s.getColor(ls))===null||t===void 0?void 0:t.transparent(.7),n=s.getColor(mZ);n&&e.addRule(` .monaco-editor .contentWidgets ${m.lightBulb.cssSelector} { color: ${n}; background-color: ${i}; @@ -802,7 +802,7 @@ The flag will not be saved for the future. - `+r,n+=` `+Ei.outroMsg,this._contentDomNode.domNode.appendChild(Y9(n)),this._contentDomNode.domNode.setAttribute("aria-label",n)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,Hi(this._contentDomNode.domNode),this._editor.focus())}_layout(){const e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(k1.WIDTH,e.width-40)),i=Math.max(5,Math.min(k1.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(i);const n=Math.round((e.height-i)/2);this._domNode.setTop(n);const o=Math.round((e.width-t)/2);this._domNode.setLeft(o)}};yg.ID="editor.contrib.accessibilityHelpWidget";yg.WIDTH=500;yg.HEIGHT=300;yg=qW([x1(1,ze),x1(2,pi),x1(3,Eo)],yg);class A_e extends pe{constructor(){super({id:"editor.action.showAccessibilityHelp",label:Ei.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){const i=Gu.get(t);i&&i.show()}}yt(Gu.ID,Gu);oe(A_e);const R_e=pn.bindToContribution(Gu.get);se(new R_e({id:"closeAccessibilityHelp",precondition:GW,handler:s=>s.hide(),kbOpts:{weight:200,kbExpr:T.focus,primary:9,secondary:[1033]}}));jt((s,e)=>{const t=s.getColor($n);t&&e.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${t}; }`);const i=s.getColor(vl);i&&e.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`);const n=s.getColor(Bc);n&&e.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${n}; }`);const o=s.getColor(ei);o&&e.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${o}; }`)});class NE extends K{constructor(e){super(),this.editor=e,this.widget=null,wr&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(81);!this.widget&&e?this.widget=new TS(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}NE.ID="editor.contrib.iPadShowKeyboard";class TS extends K{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(te(this._domNode,"touchstart",t=>{this.editor.focus()})),this._register(te(this._domNode,"focus",t=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return TS.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}TS.ID="editor.contrib.ShowKeyboardWidget";yt(NE.ID,NE);var M_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},B4=function(s,e){return function(t,i){e(t,i,s)}};let Lg=class YW extends K{constructor(e,t,i){super(),this._editor=e,this._languageService=i,this._widget=null,this._register(this._editor.onDidChangeModel(n=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(n=>this.stop())),this._register(ni.onDidChange(n=>this.stop())),this._register(this._editor.onKeyUp(n=>n.keyCode===9&&this.stop()))}static get(e){return e.getContribution(YW.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new AS(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};Lg.ID="editor.contrib.inspectTokens";Lg=M_e([B4(1,no),B4(2,oi)],Lg);class O_e extends pe{constructor(){super({id:"editor.action.inspectTokens",label:_k.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){const i=Lg.get(t);i&&i.launch()}}function P_e(s){let e="";for(let t=0,i=s.length;tUf,tokenize:(n,o,r)=>o3(e,r),tokenizeEncoded:(n,o,r)=>PN(i,r)}}class AS extends K{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=F_e(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(i=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return AS._ID}_compute(e){const t=this._getTokensAtLine(e.lineNumber);let i=0;for(let l=t.tokens1.length-1;l>=0;l--){const c=t.tokens1[l];if(e.column-1>=c.offset){i=l;break}}let n=0;for(let l=t.tokens2.length>>>1;l>=0;l--)if(e.column-1>=t.tokens2[l<<1]){n=l;break}const o=this._model.getLineContent(e.lineNumber);let r="";if(i{const t=s.getColor(d2);if(t){const o=s.type===Uo.HIGH_CONTRAST?2:1;e.addRule(`.monaco-editor .tokens-inspect-widget { border: ${o}px solid ${t}; }`),e.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${t}; }`)}const i=s.getColor(wu);i&&e.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${i}; }`);const n=s.getColor(c2);n&&e.addRule(`.monaco-editor .tokens-inspect-widget { color: ${n}; }`)});var B_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},W_e=function(s,e){return function(t,i){e(t,i,s)}};let vv=class I1{constructor(e){this.quickInputService=e,this.registry=Di.as(ph.Quickaccess)}provide(e){const t=new ie;t.add(e.onDidAccept(()=>{const[o]=e.selectedItems;o&&this.quickInputService.quickAccess.show(o.prefix,{preserveValue:!0})})),t.add(e.onDidChangeValue(o=>{const r=this.registry.getQuickAccessProvider(o.substr(I1.PREFIX.length));r&&r.prefix&&r.prefix!==I1.PREFIX&&this.quickInputService.quickAccess.show(r.prefix,{preserveValue:!0})}));const{editorProviders:i,globalProviders:n}=this.getQuickAccessProviders();return e.items=i.length===0||n.length===0?[...i.length===0?n:i]:[{label:p("globalCommands","global commands"),type:"separator"},...n,{label:p("editorCommands","editor commands"),type:"separator"},...i],t}getQuickAccessProviders(){const e=[],t=[];for(const i of this.registry.getQuickAccessProviders().sort((n,o)=>n.prefix.localeCompare(o.prefix)))if(i.prefix!==I1.PREFIX)for(const n of i.helpEntries){const o=n.prefix||i.prefix,r=o||"…";(n.needsEditor?t:e).push({prefix:o,label:r,ariaLabel:p("helpPickAriaLabel","{0}, {1}",r,n.description),description:n.description})}return{editorProviders:t,globalProviders:e}}};vv.PREFIX="?";vv=B_e([W_e(0,Rl)],vv);Di.as(ph.Quickaccess).registerQuickAccessProvider({ctor:vv,prefix:"",helpEntries:[{description:bk.helpQuickAccessActionLabel,needsEditor:!0}]});class XW{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;const n=new ie;e.canAcceptInBackground=!!(!((i=this.options)===null||i===void 0)&&i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const o=n.add(new jn);return o.value=this.doProvide(e,t),n.add(this.onDidActiveTextEditorControlChange(()=>{o.value=void 0,o.value=this.doProvide(e,t)})),n}doProvide(e,t){const i=new ie,n=this.activeTextEditorControl;if(n&&this.canProvideWithTextEditor(n)){const o={editor:n},r=W8(n);if(r){let a=ws(n.saveViewState());i.add(r.onDidChangeCursorPosition(()=>{a=ws(n.saveViewState())})),o.restoreViewState=()=>{a&&n===this.activeTextEditorControl&&n.restoreViewState(a)},i.add(Ll(t.onCancellationRequested)(()=>{var l;return(l=o.restoreViewState)===null||l===void 0?void 0:l.call(o)}))}i.add(Xe(()=>this.clearDecorations(n))),i.add(this.provideWithTextEditor(o,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return B8(e)?(t=e.getModel())===null||t===void 0?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(i=>{const n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),n.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const o=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:fi(JY),position:wo.Full}}}],[r,a]=i.deltaDecorations(n,o);this.rangeHighlightDecorationId={rangeHighlightId:r,overviewRulerDecorationId:a}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(i=>{i.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}class RS extends XW{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=p("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,K.None}provideWithTextEditor(e,t,i){const n=e.editor,o=new ie;o.add(t.onDidAccept(l=>{const[c]=t.selectedItems;if(c){if(!this.isValidLineNumber(n,c.lineNumber))return;this.gotoLocation(e,{range:this.toRange(c.lineNumber,c.column),keyMods:t.keyMods,preserveFocus:l.inBackground}),l.inBackground||t.hide()}}));const r=()=>{const l=this.parsePosition(n,t.value.trim().substr(RS.PREFIX.length)),c=this.getPickLabel(n,l.lineNumber,l.column);if(t.items=[{lineNumber:l.lineNumber,column:l.column,label:c}],t.ariaLabel=c,!this.isValidLineNumber(n,l.lineNumber)){this.clearDecorations(n);return}const d=this.toRange(l.lineNumber,l.column);n.revealRangeInCenter(d,0),this.addDecorations(n,d)};r(),o.add(t.onDidChangeValue(()=>r()));const a=W8(n);return a&&a.getOptions().get(60).renderType===2&&(a.updateOptions({lineNumbers:"on"}),o.add(Xe(()=>a.updateOptions({lineNumbers:"relative"})))),o}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const i=t.split(/,|:|#/).map(o=>parseInt(o,10)).filter(o=>!isNaN(o)),n=this.lineCount(e)+1;return{lineNumber:i[0]>0?i[0]:n+i[0],column:i[1]}}getPickLabel(e,t,i){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,i)?p("gotoLineColumnLabel","Go to line {0} and character {1}.",t,i):p("gotoLineLabel","Go to line {0}.",t);const n=e.getPosition()||{lineNumber:1,column:1},o=this.lineCount(e);return o>1?p("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",n.lineNumber,n.column,o):p("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",n.lineNumber,n.column)}isValidLineNumber(e,t){return!t||typeof t!="number"?!1:t>0&&t<=this.lineCount(e)}isValidColumn(e,t,i){if(!i||typeof i!="number")return!1;const n=this.getModel(e);if(!n)return!1;const o={lineNumber:t,column:i};return n.validatePosition(o).equals(o)}lineCount(e){var t,i;return(i=(t=this.getModel(e))===null||t===void 0?void 0:t.getLineCount())!==null&&i!==void 0?i:0}}RS.PREFIX=":";var V_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},H_e=function(s,e){return function(t,i){e(t,i,s)}};let W_=class extends RS{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=xe.None}get activeTextEditorControl(){return ws(this.editorService.getFocusedCodeEditor())}};W_=V_e([H_e(0,Dt)],W_);Di.as(ph.Quickaccess).registerQuickAccessProvider({ctor:W_,prefix:W_.PREFIX,helpEntries:[{description:BC.gotoLineActionLabel,needsEditor:!0}]});let z_e=class extends pe{constructor(){super({id:"editor.action.gotoLine",label:BC.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Rl).quickAccess.show(W_.PREFIX)}};oe(z_e);const QW=[void 0,[]];function eD(s,e,t=0,i=0){const n=e;return n.values&&n.values.length>1?$_e(s,n.values,t,i):JW(s,e,t,i)}function $_e(s,e,t,i){let n=0;const o=[];for(const r of e){const[a,l]=JW(s,r,t,i);if(typeof a!="number")return QW;n+=a,o.push(...l)}return[n,U_e(o)]}function JW(s,e,t,i){const n=sg(e.original,e.originalLowercase,t,s,s.toLowerCase(),i,!0);return n?[n[0],Nw(n)]:QW}function U_e(s){const e=s.sort((n,o)=>n.start-o.start),t=[];let i;for(const n of e)!i||!j_e(i,n)?(i=n,t.push(n)):(i.start=Math.min(i.start,n.start),i.end=Math.max(i.end,n.end));return t}function j_e(s,e){return!(s.end=0,r=W4(s);let a;const l=s.split(eV);if(l.length>1)for(const c of l){const d=W4(c),{pathNormalized:u,normalized:h,normalizedLowercase:f}=V4(c);h&&(a||(a=[]),a.push({original:c,originalLowercase:c.toLowerCase(),pathNormalized:u,normalized:h,normalizedLowercase:f,expectContiguousMatch:d}))}return{original:s,originalLowercase:e,pathNormalized:t,normalized:i,normalizedLowercase:n,values:a,containsPathSeparator:o,expectContiguousMatch:r}}function V4(s){let e;on?e=s.replace(/\//g,ua):e=s.replace(/\\/g,ua);const t=bj(e).replace(/\s|"/g,"");return{pathNormalized:e,normalized:t,normalizedLowercase:t.toLowerCase()}}function H4(s){return Array.isArray(s)?TE(s.map(e=>e.original).join(eV)):TE(s.original)}var K_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},z4=function(s,e){return function(t,i){e(t,i,s)}},yp=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};let qo=class AE extends XW{constructor(e,t,i=Object.create(null)){super(i),this._languageFeaturesService=e,this._outlineModelService=t,this.options=i,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,p("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),K.None}provideWithTextEditor(e,t,i){const n=e.editor,o=this.getModel(n);return o?this._languageFeaturesService.documentSymbolProvider.has(o)?this.doProvideWithEditorSymbols(e,o,t,i):this.doProvideWithoutEditorSymbols(e,o,t,i):K.None}doProvideWithoutEditorSymbols(e,t,i,n){const o=new ie;return this.provideLabelPick(i,p("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),yp(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(t,o))||n.isCancellationRequested||o.add(this.doProvideWithEditorSymbols(e,t,i,n))}),o}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return yp(this,void 0,void 0,function*(){if(this._languageFeaturesService.documentSymbolProvider.has(e))return!0;const i=new BN,n=t.add(this._languageFeaturesService.documentSymbolProvider.onDidChange(()=>{this._languageFeaturesService.documentSymbolProvider.has(e)&&(n.dispose(),i.complete(!0))}));return t.add(Xe(()=>i.complete(!1))),i.p})}doProvideWithEditorSymbols(e,t,i,n){const o=e.editor,r=new ie;r.add(i.onDidAccept(u=>{const[h]=i.selectedItems;h&&h.range&&(this.gotoLocation(e,{range:h.range.selection,keyMods:i.keyMods,preserveFocus:u.inBackground}),u.inBackground||i.hide())})),r.add(i.onDidTriggerItemButton(({item:u})=>{u&&u.range&&(this.gotoLocation(e,{range:u.range.selection,keyMods:i.keyMods,forceSideBySide:!0}),i.hide())}));const a=this.getDocumentSymbols(t,n);let l;const c=()=>yp(this,void 0,void 0,function*(){l==null||l.dispose(!0),i.busy=!1,l=new fn(n),i.busy=!0;try{const u=TE(i.value.substr(AE.PREFIX.length).trim()),h=yield this.doGetSymbolPicks(a,u,void 0,l.token);if(n.isCancellationRequested)return;h.length>0?i.items=h:u.original.length>0?this.provideLabelPick(i,p("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(i,p("noSymbolResults","No editor symbols"))}finally{n.isCancellationRequested||(i.busy=!1)}});r.add(i.onDidChangeValue(()=>c())),c();let d=!0;return r.add(i.onDidChangeActive(()=>{const[u]=i.activeItems;if(u&&u.range){if(d){d=!1;return}o.revealRangeInCenter(u.range.selection,0),this.addDecorations(o,u.range.decoration)}})),r}doGetSymbolPicks(e,t,i,n){return yp(this,void 0,void 0,function*(){const o=yield e;if(n.isCancellationRequested)return[];const r=t.original.indexOf(AE.SCOPE_PREFIX)===0,a=r?1:0;let l,c;t.values&&t.values.length>1?(l=H4(t.values[0]),c=H4(t.values.slice(1))):l=t;const d=[];for(let f=0;fa){let D=!1;if(l!==t&&([w,S]=eD(b,Object.assign(Object.assign({},t),{values:void 0}),a,v),typeof w=="number"&&(D=!0)),typeof w!="number"&&([w,S]=eD(b,l,a,v),typeof w!="number"))continue;if(!D&&c){if(C&&c.original.length>0&&([L,k]=eD(C,c)),typeof L!="number")continue;typeof w=="number"&&(w+=L)}}const y=g.tags&&g.tags.indexOf(1)>=0;d.push({index:f,kind:g.kind,score:w,label:b,ariaLabel:_,description:C,highlights:y?void 0:{label:S,description:k},range:{selection:x.collapseToStart(g.selectionRange),decoration:g.range},strikethrough:y,buttons:(()=>{var D,N;const H=!((D=this.options)===null||D===void 0)&&D.openSideBySideDirection?(N=this.options)===null||N===void 0?void 0:N.openSideBySideDirection():void 0;if(H)return[{iconClass:H==="right"?m.splitHorizontal.classNames:m.splitVertical.classNames,tooltip:H==="right"?p("openToSide","Open to the Side"):p("openToBottom","Open to the Bottom")}]})()})}const u=d.sort((f,g)=>r?this.compareByKindAndScore(f,g):this.compareByScore(f,g));let h=[];if(r){let b=function(){g&&typeof f=="number"&&_>0&&(g.label=ho(iD[f]||tD,_))},f,g,_=0;for(const v of u)f!==v.kind?(b(),f=v.kind,_=1,g={type:"separator"},h.push(g)):_++,h.push(v);b()}else u.length>0&&(h=[{label:p("symbols","symbols ({0})",d.length),type:"separator"},...u]);return h})}compareByScore(e,t){if(typeof e.score!="number"&&typeof t.score=="number")return 1;if(typeof e.score=="number"&&typeof t.score!="number")return-1;if(typeof e.score=="number"&&typeof t.score=="number"){if(e.score>t.score)return-1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){const i=iD[e.kind]||tD,n=iD[t.kind]||tD,o=i.localeCompare(n);return o===0?this.compareByScore(e,t):o}getDocumentSymbols(e,t){return yp(this,void 0,void 0,function*(){const i=yield this._outlineModelService.getOrCreate(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()})}};qo.PREFIX="@";qo.SCOPE_PREFIX=":";qo.PREFIX_BY_CATEGORY=`${qo.PREFIX}${qo.SCOPE_PREFIX}`;qo=K_e([z4(0,we),z4(1,gS)],qo);const tD=p("property","properties ({0})"),iD={5:p("method","methods ({0})"),11:p("function","functions ({0})"),8:p("_constructor","constructors ({0})"),12:p("variable","variables ({0})"),4:p("class","classes ({0})"),22:p("struct","structs ({0})"),23:p("event","events ({0})"),24:p("operator","operators ({0})"),10:p("interface","interfaces ({0})"),2:p("namespace","namespaces ({0})"),3:p("package","packages ({0})"),25:p("typeParameter","type parameters ({0})"),1:p("modules","modules ({0})"),6:p("property","properties ({0})"),9:p("enum","enumerations ({0})"),21:p("enumMember","enumeration members ({0})"),14:p("string","strings ({0})"),0:p("file","files ({0})"),17:p("array","arrays ({0})"),15:p("number","numbers ({0})"),16:p("boolean","booleans ({0})"),18:p("object","objects ({0})"),19:p("key","keys ({0})"),7:p("field","fields ({0})"),13:p("constant","constants ({0})")};var q_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},nD=function(s,e){return function(t,i){e(t,i,s)}};let RE=class extends qo{constructor(e,t,i){super(t,i),this.editorService=e,this.onDidActiveTextEditorControlChange=xe.None}get activeTextEditorControl(){return ws(this.editorService.getFocusedCodeEditor())}};RE=q_e([nD(0,Dt),nD(1,we),nD(2,gS)],RE);Di.as(ph.Quickaccess).registerQuickAccessProvider({ctor:RE,prefix:qo.PREFIX,helpEntries:[{description:r_.quickOutlineActionLabel,prefix:qo.PREFIX,needsEditor:!0},{description:r_.quickOutlineByCategoryActionLabel,prefix:qo.PREFIX_BY_CATEGORY,needsEditor:!0}]});let G_e=class extends pe{constructor(){super({id:"editor.action.quickOutline",label:r_.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:T.hasDocumentSymbolProvider,kbOpts:{kbExpr:T.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(Rl).quickAccess.show(qo.PREFIX)}};oe(G_e);function sD(s,e){return e&&(s.stack||s.stacktrace)?p("stackTrace.format","{0}: {1}",U4(s),$4(s.stack)||$4(s.stacktrace)):U4(s)}function $4(s){return Array.isArray(s)?s.join(` -`):s}function U4(s){return typeof s.code=="string"&&typeof s.errno=="number"&&typeof s.syscall=="string"?p("nodeExceptionMessage","A system error occurred ({0})",s.message):s.message||p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function tV(s=null,e=!1){if(!s)return p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(s)){const t=Ju(s),i=tV(t[0],e);return t.length>1?p("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Co(s))return s;if(s.detail){const t=s.detail;if(t.error)return sD(t.error,e);if(t.exception)return sD(t.exception,e)}return s.stack?sD(s,e):s.message?s.message:p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var B0=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})},ff;(function(s){s[s.NO_ACTION=0]="NO_ACTION",s[s.CLOSE_PICKER=1]="CLOSE_PICKER",s[s.REFRESH_PICKER=2]="REFRESH_PICKER",s[s.REMOVE_ITEM=3]="REMOVE_ITEM"})(ff||(ff={}));function oD(s){const e=s;return Array.isArray(e.items)}function Z_e(s){const e=s;return!!e.picks&&e.additionalPicks instanceof Promise}class MS extends K{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new ie;e.canAcceptInBackground=!!(!((i=this.options)===null||i===void 0)&&i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o;const r=n.add(new jn),a=()=>B0(this,void 0,void 0,function*(){const l=r.value=new ie;o==null||o.dispose(!0),e.busy=!1,o=new fn(t);const c=o.token,d=e.value.substr(this.prefix.length).trim(),u=this._getPicks(d,l,c),h=(f,g)=>{var _;let b,v;if(oD(f)?(b=f.items,v=f.active):b=f,b.length===0){if(g)return!1;d.length>0&&(!((_=this.options)===null||_===void 0)&&_.noResultsPick)&&(b=[this.options.noResultsPick])}return e.items=b,v&&(e.activeItems=[v]),!0};if(u!==null)if(Z_e(u)){let f=!1,g=!1;yield Promise.all([B0(this,void 0,void 0,function*(){yield Rc(MS.FAST_PICKS_RACE_DELAY),!c.isCancellationRequested&&(g||(f=h(u.picks,!0)))}),B0(this,void 0,void 0,function*(){e.busy=!0;try{const _=yield u.additionalPicks;if(c.isCancellationRequested)return;let b,v;oD(u.picks)?(b=u.picks.items,v=u.picks.active):b=u.picks;let C,w;if(oD(_)?(C=_.items,w=_.active):C=_,C.length>0||!f){let S;if(!v&&!w){const L=e.activeItems[0];L&&b.indexOf(L)!==-1&&(S=L)}h({items:[...b,...C],active:v||w||S})}}finally{c.isCancellationRequested||(e.busy=!1),g=!0}})])}else if(!(u instanceof Promise))h(u);else{e.busy=!0;try{const f=yield u;if(c.isCancellationRequested)return;h(f)}finally{c.isCancellationRequested||(e.busy=!1)}}});return n.add(e.onDidChangeValue(()=>a())),a(),n.add(e.onDidAccept(l=>{const[c]=e.selectedItems;typeof(c==null?void 0:c.accept)=="function"&&(l.inBackground||e.hide(),c.accept(e.keyMods,l))})),n.add(e.onDidTriggerItemButton(({button:l,item:c})=>B0(this,void 0,void 0,function*(){var d,u;if(typeof c.trigger=="function"){const h=(u=(d=c.buttons)===null||d===void 0?void 0:d.indexOf(l))!==null&&u!==void 0?u:-1;if(h>=0){const f=c.trigger(h,e.keyMods),g=typeof f=="number"?f:yield f;if(t.isCancellationRequested)return;switch(g){case ff.NO_ACTION:break;case ff.CLOSE_PICKER:e.hide();break;case ff.REFRESH_PICKER:a();break;case ff.REMOVE_ITEM:{const _=e.items.indexOf(c);if(_!==-1){const b=e.items.slice(),v=b.splice(_,1),C=e.activeItems.filter(S=>S!==v[0]),w=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=b,C&&(e.activeItems=C),e.keepScrollPosition=w}break}}}}}))),n}}MS.FAST_PICKS_RACE_DELAY=200;var iV=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Bd=function(s,e){return function(t,i){e(t,i,s)}},j4=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};let V_=class E1 extends MS{constructor(e,t,i,n,o,r){super(E1.PREFIX,e),this.instantiationService=t,this.keybindingService=i,this.commandService=n,this.telemetryService=o,this.dialogService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(Zu)),this.options=e}_getPicks(e,t,i){return j4(this,void 0,void 0,function*(){const n=yield this.getCommandPicks(t,i);if(i.isCancellationRequested)return[];const o=[];for(const c of n){const d=ws(E1.WORD_FILTER(e,c.label)),u=c.commandAlias?ws(E1.WORD_FILTER(e,c.commandAlias)):void 0;d||u?(c.highlights={label:d,detail:this.options.showAlias?u:void 0},o.push(c)):e===c.commandId&&o.push(c)}const r=new Map;for(const c of o){const d=r.get(c.label);d?(c.description=c.commandId,d.description=d.commandId):r.set(c.label,c)}o.sort((c,d)=>{const u=this.commandsHistory.peek(c.commandId),h=this.commandsHistory.peek(d.commandId);return u&&h?u>h?-1:1:u?-1:h?1:c.label.localeCompare(d.label)});const a=[];let l=!1;for(let c=0;cj4(this,void 0,void 0,function*(){this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:"quick open"});try{yield this.commandService.executeCommand(d.commandId)}catch(f){Ea(f)||this.dialogService.show(ii.Error,p("canNotRun","Command '{0}' resulted in an error ({1})",d.label,tV(f)))}})}))}return a})}};V_.PREFIX=">";V_.WORD_FILTER=$2(Iw,Mie,A9);V_=iV([Bd(1,it),Bd(2,pi),Bd(3,Li),Bd(4,Na),Bd(5,ob)],V_);let Zu=class Ui extends K{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=Ui.getConfiguredCommandHistoryLength(this.configurationService),Ui.cache&&Ui.cache.limit!==this.configuredCommandsHistoryLength&&(Ui.cache.limit=this.configuredCommandsHistoryLength,Ui.saveState(this.storageService))}load(){const e=this.storageService.get(Ui.PREF_KEY_CACHE,0);let t;if(e)try{t=JSON.parse(e)}catch{}const i=Ui.cache=new nd(this.configuredCommandsHistoryLength,1);if(t){let n;t.usesLRU?n=t.entries:n=t.entries.sort((o,r)=>o.value-r.value),n.forEach(o=>i.set(o.key,o.value))}Ui.counter=this.storageService.getNumber(Ui.PREF_KEY_COUNTER,0,Ui.counter)}push(e){Ui.cache&&(Ui.cache.set(e,Ui.counter++),Ui.saveState(this.storageService))}peek(e){var t;return(t=Ui.cache)===null||t===void 0?void 0:t.peek(e)}static saveState(e){if(!Ui.cache)return;const t={usesLRU:!0,entries:[]};Ui.cache.forEach((i,n)=>t.entries.push({key:n,value:i})),e.store(Ui.PREF_KEY_CACHE,JSON.stringify(t),0,0),e.store(Ui.PREF_KEY_COUNTER,Ui.counter,0,0)}static getConfiguredCommandHistoryLength(e){var t,i;const o=(i=(t=e.getValue().workbench)===null||t===void 0?void 0:t.commandPalette)===null||i===void 0?void 0:i.history;return typeof o=="number"?o:Ui.DEFAULT_COMMANDS_HISTORY_LENGTH}};Zu.DEFAULT_COMMANDS_HISTORY_LENGTH=50;Zu.PREF_KEY_CACHE="commandPalette.mru.cache";Zu.PREF_KEY_COUNTER="commandPalette.mru.counter";Zu.counter=1;Zu=iV([Bd(0,Oa),Bd(1,Bt)],Zu);class Y_e extends V_{constructor(e,t,i,n,o,r){super(e,t,i,n,o,r)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:Z2(i.label)||i.id});return t}}var X_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Wh=function(s,e){return function(t,i){e(t,i,s)}},Q_e=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};let H_=class extends Y_e{constructor(e,t,i,n,o,r){super({showAlias:!1},e,i,n,o,r),this.codeEditorService=t}get activeTextEditorControl(){return ws(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return Q_e(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};H_=X_e([Wh(0,it),Wh(1,Dt),Wh(2,pi),Wh(3,Li),Wh(4,Na),Wh(5,ob)],H_);Di.as(ph.Quickaccess).registerQuickAccessProvider({ctor:H_,prefix:H_.PREFIX,helpEntries:[{description:WC.quickCommandHelp,needsEditor:!0}]});class J_e extends pe{constructor(){super({id:"editor.action.quickCommand",label:WC.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Rl).quickAccess.show(H_.PREFIX)}}oe(J_e);var ebe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Vh=function(s,e){return function(t,i){e(t,i,s)}};let ME=class extends qc{constructor(e,t,i,n,o,r,a){super(!0,e,t,i,n,o,r,a)}};ME=ebe([Vh(1,ze),Vh(2,Dt),Vh(3,xi),Vh(4,it),Vh(5,Oa),Vh(6,Bt)],ME);yt(qc.ID,ME);class tbe extends pe{constructor(){super({id:"editor.action.toggleHighContrast",label:Ck.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const i=e.get(no);this._originalThemeName?(i.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=i.getColorTheme().themeName,i.setTheme("hc-black"))}}oe(tbe);const ibe=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:$8,Emitter:U8,KeyCode:j8,KeyMod:K8,MarkerSeverity:X8,MarkerTag:Q8,Position:q8,Range:G8,Selection:Z8,SelectionDirection:Y8,Token:e6,Uri:J8,editor:Ja,languages:t6},Symbol.toStringTag,{value:"Module"}));function OS(s){if(cd(s)){const e={};for(let t=0;t{if(t){const i=t.split(sbe);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function mA(s){let e="";if(Yu(s))e=s;else if(cd(s))for(let t=0;t{},lbe=/^on[^a-z]/,cbe=s=>lbe.test(s),nV=Object.assign,cd=Array.isArray,Gg=s=>typeof s=="function",Yu=s=>typeof s=="string",dbe=s=>typeof s=="symbol",wv=s=>s!==null&&typeof s=="object";let ube;function hbe(s,e=ube){e&&e.active&&e.effects.push(s)}const fbe=s=>{const e=new Set(s);return e.w=0,e.n=0,e},sV=s=>(s.w&Jc)>0,oV=s=>(s.n&Jc)>0,gbe=({deps:s})=>{if(s.length)for(let e=0;e{const{deps:e}=s;if(e.length){let t=0;for(let i=0;is!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(dbe));function rV(s){return aV(s)?rV(s.__v_raw):!!(s&&s.__v_isReactive)}function aV(s){return!!(s&&s.__v_isReadonly)}function lV(s){return rV(s)||aV(s)}function PS(s){const e=s&&s.__v_raw;return e?PS(e):s}function Cbe(s){N1&&ra&&(s=PS(s),_be(s.dep||(s.dep=fbe())))}function vbe(s,e){s=PS(s),s.dep&&bbe(s.dep)}function cV(s){return!!(s&&s.__v_isRef===!0)}function wbe(s){const e=cd(s)?new Array(s.length):{};for(const t in s)e[t]=ybe(s,t);return e}class Sbe{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function ybe(s,e,t){const i=s[e];return cV(i)?i:new Sbe(s,e,t)}class Lbe{constructor(e,t,i,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new mbe(e,()=>{this._dirty||(this._dirty=!0,vbe(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const e=PS(this);return Cbe(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Dbe(s,e,t=!1){let i,n;const o=Gg(s);return o?(i=s,n=abe):(i=s.get,n=s.set),new Lbe(i,n,o||!n,t)}let Bp=null,xbe=null;const kbe=s=>s.__isSuspense;function Ibe(s){return Gg(s)?{setup:s,name:s.name}:s}const Ebe=Symbol(),Nbe=s=>s.__isTeleport,dV=Symbol(void 0),Tbe=Symbol(void 0),Abe=Symbol(void 0),T1=[];let pr=null;function Rbe(s=!1){T1.push(pr=s?null:[])}function Mbe(){T1.pop(),pr=T1[T1.length-1]||null}function Obe(s){return s.dynamicChildren=pr||rbe,Mbe(),pr&&pr.push(s),s}function Pbe(s,e,t,i,n,o){return Obe(fV(s,e,t,i,n,o,!0))}function Fbe(s){return s?s.__v_isVNode===!0:!1}const uV="__vInternal",hV=({key:s})=>s??null,A1=({ref:s,ref_key:e,ref_for:t})=>s!=null?Yu(s)||cV(s)||Gg(s)?{i:Bp,r:s,k:e,f:!!t}:s:null;function fV(s,e=null,t=null,i=0,n=null,o=s===dV?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:s,props:e,key:e&&hV(e),ref:e&&A1(e),scopeId:xbe,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return a?(_A(l,t),o&128&&s.normalize(l)):t&&(l.shapeFlag|=Yu(t)?8:16),!r&&pr&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&pr.push(l),l}const Bbe=Wbe;function Wbe(s,e=null,t=null,i=0,n=null,o=!1){if((!s||s===Ebe)&&(s=Abe),Fbe(s)){const a=PE(s,e,!0);return t&&_A(a,t),!o&&pr&&(a.shapeFlag&6?pr[pr.indexOf(s)]=a:pr.push(a)),a.patchFlag|=-2,a}if(Ube(s)&&(s=s.__vccOpts),e){e=Vbe(e);let{class:a,style:l}=e;a&&!Yu(a)&&(e.class=mA(a)),wv(l)&&(lV(l)&&!cd(l)&&(l=nV({},l)),e.style=OS(l))}const r=Yu(s)?1:kbe(s)?128:Nbe(s)?64:wv(s)?4:Gg(s)?2:0;return fV(s,e,t,i,n,r,o,!0)}function Vbe(s){return s?lV(s)||uV in s?nV({},s):s:null}function PE(s,e,t=!1){const{props:i,ref:n,patchFlag:o,children:r}=s,a=e?zbe(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:a,key:a&&hV(a),ref:e&&e.ref?t&&n?cd(n)?n.concat(A1(e)):[n,A1(e)]:A1(e):n,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:r,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:e&&s.type!==dV?o===-1?16:o|16:o,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&PE(s.ssContent),ssFallback:s.ssFallback&&PE(s.ssFallback),el:s.el,anchor:s.anchor}}function Hbe(s=" ",e=0){return Bbe(Tbe,null,s,e)}function _A(s,e){let t=0;const{shapeFlag:i}=s;if(e==null)e=null;else if(cd(e))t=16;else if(typeof e=="object")if(i&65){const n=e.default;n&&(n._c&&(n._d=!1),_A(s,n()),n._c&&(n._d=!0));return}else{t=32;const n=e._;!n&&!(uV in e)?e._ctx=Bp:n===3&&Bp&&(Bp.slots._===1?e._=1:(e._=2,s.patchFlag|=1024))}else Gg(e)?(e={default:e,_ctx:Bp},t=32):(e=String(e),i&64?(t=16,e=[Hbe(e)]):t=8);s.children=e,s.shapeFlag|=t}function zbe(...s){const e={};for(let t=0;tDbe(s,e,$be),Kbe=(s,e)=>{const t=s.__vccOpts||s;for(const[i,n]of e)t[i]=n;return t},qbe=Ibe({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default(){return{}}}},emits:["editorWillMount","editorDidMount","change","update:value"],setup(s){const{width:e,height:t}=wbe(s);return{style:jbe(()=>{const i=e.value.toString().includes("%")?e.value:`${e.value}px`,n=t.value.toString().includes("%")?t.value:`${t.value}px`;return{width:i,height:n,"text-align":"left"}})}},mounted(){this.initMonaco()},beforeUnmount(){this.editor&&this.editor.dispose()},methods:{initMonaco(){this.$emit("editorWillMount",ibe);const{value:s,language:e,theme:t,options:i}=this;this.editor=Ja[this.diffEditor?"createDiffEditor":"create"](this.$el,{value:s,language:e,theme:t,...i}),this.diffEditor&&this._setModel(this.value,this.original);const n=this._getEditor();n&&n.onDidChangeModelContent(o=>{const r=n.getValue();this.value!==r&&(this.$emit("change",r,o),this.$emit("update:value",r))}),this.$emit("editorDidMount",this.editor)},_setModel(s,e){const{language:t}=this,i=Ja.createModel(e,t),n=Ja.createModel(s,t);this.editor.setModel({original:i,modified:n})},_setValue(s){let e=this._getEditor();if(e)return e.setValue(s)},_getValue(){let s=this._getEditor();return s?s.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.modifiedEditor:this.editor:null},_setOriginal(){const{original:s}=this.editor.getModel();s.setValue(this.original)}},watch:{options:{deep:!0,handler(s){this.editor.updateOptions(s)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:s,modified:e}=this.editor.getModel();Ja.setModelLanguage(s,this.language),Ja.setModelLanguage(e,this.language)}else Ja.setModelLanguage(this.editor.getModel(),this.language)},theme(){Ja.setTheme(this.theme)}}});function Gbe(s,e,t,i,n,o){return Rbe(),Pbe("div",{class:"monaco-editor-vue3",style:OS(s.style)},null,4)}const R1=Kbe(qbe,[["render",Gbe]]);R1.install=s=>{s.component(R1.name,R1)};const Zbe={title:"Champ",subtitle:"Controllable and Consistent Human Image Animation with 3D Parametric Guidance"},Ybe=[{name:"Shenhao Zhu*",homepage:"https://github.com/ShenhaoZhu"},{name:"Junming Leo Chen*",homepage:"https://github.com/Leoooo333"},{name:"Zuozhuo Dai",homepage:""},{name:"Yinghui Xu",homepage:"https://ai3.fudan.edu.cn/info/1088/1266.htm"},{name:"Xun Cao",homepage:"https://cite.nju.edu.cn/People/Faculty/20190621/i5054.html"},{name:"Yao Yao",homepage:"https://yoyo000.github.io/"},{name:"Hao Zhu",homepage:"http://zhuhao.cc/home/"},{name:"Siyu Zhu",homepage:"https://sites.google.com/site/zhusiyucs/home"}],Xbe={pdf:"",arxiv:"",github:"",huggingface:""},rD={title:Zbe,authors:Ybe,res:Xbe},kn=s=>(vH("data-v-2ff53da7"),s=s(),wH(),s),Qbe={class:"title"},Jbe={class:"authors"},e0e=["href"],t0e={key:0},i0e={class:"res_link"},n0e=["href"],s0e=kn(()=>Me("i",{class:"iconfont icon-lm-pdf"},null,-1)),o0e=kn(()=>Me("span",null,"Paper",-1)),r0e=[s0e,o0e],a0e=["href"],l0e=kn(()=>Me("i",{class:"iconfont icon-lm-Arxiv"},null,-1)),c0e=kn(()=>Me("span",null,"arXiv",-1)),d0e=[l0e,c0e],u0e=["href"],h0e=kn(()=>Me("i",{class:"iconfont icon-lm-github"},null,-1)),f0e=kn(()=>Me("span",null,"Code",-1)),g0e=[h0e,f0e],p0e=["href"],m0e=kn(()=>Me("i",{class:"iconfont icon-lm-huggingface"},null,-1)),_0e=kn(()=>Me("span",null,"HuggingFace",-1)),b0e=[m0e,_0e],C0e={src:o$,muted:"",loop:"",controls:""},v0e=kn(()=>Me("section",{class:"abstract"},[Me("div",null,[Me("h3",null,"Abstract"),Me("p",null,"In this study, we introduce a methodology for human image animation by leveraging a 3D human parametric model within a latent diffusion framework to enhance shape alignment and motion guidance in curernt human generative techniques. The methodology utilizes the SMPL model as the 3D human parametric model to establish a unified representation of body shape and pose. This facilitates the accurate capture of intricate human geometry and motion characteristics from source videos. Specifically, we incorporate rendered depth images, normal maps, and semantic maps obtained from SMPL sequences, alongside skeleton-based motion guidance, to enrich the conditions to the latent diffusion model with comprehensive 3D shape and detailed pose attributes. A multi-layer motion fusion module, integrating self-attention mechanisms, is employed to fuse the shape and motion latent representations in the spatial domain. By representing the 3D human parametric model as the motion guidance, we can perform parametric shape alignment of the human body between the reference image and the source video motion. Experimental evaluations conducted on benchmark datasets demonstrate the methodology's superior ability to generate high-quality human animations that accurately capture both pose and shape variations. Furthermore, our approach also exhibits superior generalization capabilities on the proposed wild dataset. We will release our code and models for further research.")])],-1)),w0e=kn(()=>Me("section",{class:"framework"},[Me("h3",null,"Framework"),Me("div",null,[Me("img",{src:r$}),Me("br"),Me("p",null,"Given an input human image and a reference video depicting a motion sequence, the objective is to synthesize a video where the person in the image replicates the actions observed in the reference video, thereby creating a controllable and temporally coherent visual output.")])],-1)),S0e={class:"videos"},y0e=kn(()=>Me("h3",null,"Animate Human Image",-1)),L0e={class:"grid"},D0e={src:a$,muted:"",loop:"",controls:""},x0e={src:l$,muted:"",loop:"",controls:""},k0e={src:c$,muted:"",loop:"",controls:""},I0e={src:d$,muted:"",loop:"",controls:""},E0e={src:u$,muted:"",loop:"",controls:""},N0e={src:h$,muted:"",loop:"",controls:""},T0e={class:"comparisions"},A0e=kn(()=>Me("h3",null,"Comparisions",-1)),R0e={class:"panel"},M0e={src:f$,muted:"",loop:"",controls:""},O0e={src:g$,muted:"",loop:"",controls:""},P0e={src:p$,muted:"",loop:"",controls:""},F0e={src:m$,muted:"",loop:"",controls:""},B0e={class:"cross-id"},W0e=kn(()=>Me("h3",null,"Cross-ID Animation",-1)),V0e={class:"panel"},H0e={src:_$,muted:"",loop:"",controls:""},z0e={src:b$,muted:"",loop:"",controls:""},$0e={src:C$,muted:"",loop:"",controls:""},U0e={class:"useen"},j0e=kn(()=>Me("h3",null,"Unseen Domain Animation",-1)),K0e={class:"grid"},q0e={src:v$,muted:"",loop:"",controls:""},G0e={src:w$,muted:"",loop:"",controls:""},Z0e={src:S$,muted:"",loop:"",controls:""},Y0e={src:y$,muted:"",loop:"",controls:""},X0e={src:L$,muted:"",loop:"",controls:""},Q0e={src:D$,muted:"",loop:"",controls:""},J0e={class:"t2i"},e1e=kn(()=>Me("h3",null,"Combining with T2I",-1)),t1e={class:"panel"},i1e={src:x$,muted:"",loop:"",controls:""},n1e=kn(()=>Me("div",{class:"t2i-caption"},"A woman in a silver dress posing for a picture, trending on cg society, futurism, with bright blue eyes, dior campaign, tesseract, miranda kerr --v 5. 1 --ar 3:4.",-1)),s1e={src:k$,muted:"",loop:"",controls:""},o1e=kn(()=>Me("div",{class:"t2i-caption"}," A realistic depiction of Aang, the last airbender, showcasing his mastery of all bending elements while in the powerful Avatar State. Ultra detailed, hd, 8k. ",-1)),r1e={src:I$,muted:"",loop:"",controls:""},a1e=kn(()=>Me("div",{class:"t2i-caption"},"A painting of a woman in a yellow dress, heavy metal comic cover art, space theme, pin-up girl, silver and yellow color scheme, where the planets are candy, inspired by Joyce Ballantyne Brand, full - body artwork, lunar themed attire, golden age illustrator, blue and black color scheme.",-1)),l1e={class:"bibtex"},c1e=kn(()=>Me("h3",null,"BibTeX",-1)),d1e={class:"panel"},u1e=tN({__name:"HomeView",setup(s){const e=Dp(rD.title),t=Dp(rD.authors),i=Dp(rD.res),n=Dp(`@inproceedings{2024champ, +`):s}function U4(s){return typeof s.code=="string"&&typeof s.errno=="number"&&typeof s.syscall=="string"?p("nodeExceptionMessage","A system error occurred ({0})",s.message):s.message||p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function tV(s=null,e=!1){if(!s)return p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(s)){const t=Ju(s),i=tV(t[0],e);return t.length>1?p("error.moreErrors","{0} ({1} errors in total)",i,t.length):i}if(Co(s))return s;if(s.detail){const t=s.detail;if(t.error)return sD(t.error,e);if(t.exception)return sD(t.exception,e)}return s.stack?sD(s,e):s.message?s.message:p("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var B0=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})},ff;(function(s){s[s.NO_ACTION=0]="NO_ACTION",s[s.CLOSE_PICKER=1]="CLOSE_PICKER",s[s.REFRESH_PICKER=2]="REFRESH_PICKER",s[s.REMOVE_ITEM=3]="REMOVE_ITEM"})(ff||(ff={}));function oD(s){const e=s;return Array.isArray(e.items)}function Z_e(s){const e=s;return!!e.picks&&e.additionalPicks instanceof Promise}class MS extends K{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new ie;e.canAcceptInBackground=!!(!((i=this.options)===null||i===void 0)&&i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o;const r=n.add(new jn),a=()=>B0(this,void 0,void 0,function*(){const l=r.value=new ie;o==null||o.dispose(!0),e.busy=!1,o=new fn(t);const c=o.token,d=e.value.substr(this.prefix.length).trim(),u=this._getPicks(d,l,c),h=(f,g)=>{var _;let b,v;if(oD(f)?(b=f.items,v=f.active):b=f,b.length===0){if(g)return!1;d.length>0&&(!((_=this.options)===null||_===void 0)&&_.noResultsPick)&&(b=[this.options.noResultsPick])}return e.items=b,v&&(e.activeItems=[v]),!0};if(u!==null)if(Z_e(u)){let f=!1,g=!1;yield Promise.all([B0(this,void 0,void 0,function*(){yield Rc(MS.FAST_PICKS_RACE_DELAY),!c.isCancellationRequested&&(g||(f=h(u.picks,!0)))}),B0(this,void 0,void 0,function*(){e.busy=!0;try{const _=yield u.additionalPicks;if(c.isCancellationRequested)return;let b,v;oD(u.picks)?(b=u.picks.items,v=u.picks.active):b=u.picks;let C,w;if(oD(_)?(C=_.items,w=_.active):C=_,C.length>0||!f){let S;if(!v&&!w){const L=e.activeItems[0];L&&b.indexOf(L)!==-1&&(S=L)}h({items:[...b,...C],active:v||w||S})}}finally{c.isCancellationRequested||(e.busy=!1),g=!0}})])}else if(!(u instanceof Promise))h(u);else{e.busy=!0;try{const f=yield u;if(c.isCancellationRequested)return;h(f)}finally{c.isCancellationRequested||(e.busy=!1)}}});return n.add(e.onDidChangeValue(()=>a())),a(),n.add(e.onDidAccept(l=>{const[c]=e.selectedItems;typeof(c==null?void 0:c.accept)=="function"&&(l.inBackground||e.hide(),c.accept(e.keyMods,l))})),n.add(e.onDidTriggerItemButton(({button:l,item:c})=>B0(this,void 0,void 0,function*(){var d,u;if(typeof c.trigger=="function"){const h=(u=(d=c.buttons)===null||d===void 0?void 0:d.indexOf(l))!==null&&u!==void 0?u:-1;if(h>=0){const f=c.trigger(h,e.keyMods),g=typeof f=="number"?f:yield f;if(t.isCancellationRequested)return;switch(g){case ff.NO_ACTION:break;case ff.CLOSE_PICKER:e.hide();break;case ff.REFRESH_PICKER:a();break;case ff.REMOVE_ITEM:{const _=e.items.indexOf(c);if(_!==-1){const b=e.items.slice(),v=b.splice(_,1),C=e.activeItems.filter(S=>S!==v[0]),w=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=b,C&&(e.activeItems=C),e.keepScrollPosition=w}break}}}}}))),n}}MS.FAST_PICKS_RACE_DELAY=200;var iV=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Bd=function(s,e){return function(t,i){e(t,i,s)}},j4=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};let V_=class E1 extends MS{constructor(e,t,i,n,o,r){super(E1.PREFIX,e),this.instantiationService=t,this.keybindingService=i,this.commandService=n,this.telemetryService=o,this.dialogService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(Zu)),this.options=e}_getPicks(e,t,i){return j4(this,void 0,void 0,function*(){const n=yield this.getCommandPicks(t,i);if(i.isCancellationRequested)return[];const o=[];for(const c of n){const d=ws(E1.WORD_FILTER(e,c.label)),u=c.commandAlias?ws(E1.WORD_FILTER(e,c.commandAlias)):void 0;d||u?(c.highlights={label:d,detail:this.options.showAlias?u:void 0},o.push(c)):e===c.commandId&&o.push(c)}const r=new Map;for(const c of o){const d=r.get(c.label);d?(c.description=c.commandId,d.description=d.commandId):r.set(c.label,c)}o.sort((c,d)=>{const u=this.commandsHistory.peek(c.commandId),h=this.commandsHistory.peek(d.commandId);return u&&h?u>h?-1:1:u?-1:h?1:c.label.localeCompare(d.label)});const a=[];let l=!1;for(let c=0;cj4(this,void 0,void 0,function*(){this.commandsHistory.push(d.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:d.commandId,from:"quick open"});try{yield this.commandService.executeCommand(d.commandId)}catch(f){Ea(f)||this.dialogService.show(ii.Error,p("canNotRun","Command '{0}' resulted in an error ({1})",d.label,tV(f)))}})}))}return a})}};V_.PREFIX=">";V_.WORD_FILTER=$2(Iw,Mie,A9);V_=iV([Bd(1,it),Bd(2,pi),Bd(3,Li),Bd(4,Na),Bd(5,ob)],V_);let Zu=class Ui extends K{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=Ui.getConfiguredCommandHistoryLength(this.configurationService),Ui.cache&&Ui.cache.limit!==this.configuredCommandsHistoryLength&&(Ui.cache.limit=this.configuredCommandsHistoryLength,Ui.saveState(this.storageService))}load(){const e=this.storageService.get(Ui.PREF_KEY_CACHE,0);let t;if(e)try{t=JSON.parse(e)}catch{}const i=Ui.cache=new nd(this.configuredCommandsHistoryLength,1);if(t){let n;t.usesLRU?n=t.entries:n=t.entries.sort((o,r)=>o.value-r.value),n.forEach(o=>i.set(o.key,o.value))}Ui.counter=this.storageService.getNumber(Ui.PREF_KEY_COUNTER,0,Ui.counter)}push(e){Ui.cache&&(Ui.cache.set(e,Ui.counter++),Ui.saveState(this.storageService))}peek(e){var t;return(t=Ui.cache)===null||t===void 0?void 0:t.peek(e)}static saveState(e){if(!Ui.cache)return;const t={usesLRU:!0,entries:[]};Ui.cache.forEach((i,n)=>t.entries.push({key:n,value:i})),e.store(Ui.PREF_KEY_CACHE,JSON.stringify(t),0,0),e.store(Ui.PREF_KEY_COUNTER,Ui.counter,0,0)}static getConfiguredCommandHistoryLength(e){var t,i;const o=(i=(t=e.getValue().workbench)===null||t===void 0?void 0:t.commandPalette)===null||i===void 0?void 0:i.history;return typeof o=="number"?o:Ui.DEFAULT_COMMANDS_HISTORY_LENGTH}};Zu.DEFAULT_COMMANDS_HISTORY_LENGTH=50;Zu.PREF_KEY_CACHE="commandPalette.mru.cache";Zu.PREF_KEY_COUNTER="commandPalette.mru.counter";Zu.counter=1;Zu=iV([Bd(0,Oa),Bd(1,Bt)],Zu);class Y_e extends V_{constructor(e,t,i,n,o,r){super(e,t,i,n,o,r)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:Z2(i.label)||i.id});return t}}var X_e=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Wh=function(s,e){return function(t,i){e(t,i,s)}},Q_e=function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(d){try{c(i.next(d))}catch(u){r(u)}}function l(d){try{c(i.throw(d))}catch(u){r(u)}}function c(d){d.done?o(d.value):n(d.value).then(a,l)}c((i=i.apply(s,e||[])).next())})};let H_=class extends Y_e{constructor(e,t,i,n,o,r){super({showAlias:!1},e,i,n,o,r),this.codeEditorService=t}get activeTextEditorControl(){return ws(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return Q_e(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};H_=X_e([Wh(0,it),Wh(1,Dt),Wh(2,pi),Wh(3,Li),Wh(4,Na),Wh(5,ob)],H_);Di.as(ph.Quickaccess).registerQuickAccessProvider({ctor:H_,prefix:H_.PREFIX,helpEntries:[{description:WC.quickCommandHelp,needsEditor:!0}]});class J_e extends pe{constructor(){super({id:"editor.action.quickCommand",label:WC.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:T.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Rl).quickAccess.show(H_.PREFIX)}}oe(J_e);var ebe=function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},Vh=function(s,e){return function(t,i){e(t,i,s)}};let ME=class extends qc{constructor(e,t,i,n,o,r,a){super(!0,e,t,i,n,o,r,a)}};ME=ebe([Vh(1,ze),Vh(2,Dt),Vh(3,xi),Vh(4,it),Vh(5,Oa),Vh(6,Bt)],ME);yt(qc.ID,ME);class tbe extends pe{constructor(){super({id:"editor.action.toggleHighContrast",label:Ck.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const i=e.get(no);this._originalThemeName?(i.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=i.getColorTheme().themeName,i.setTheme("hc-black"))}}oe(tbe);const ibe=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:$8,Emitter:U8,KeyCode:j8,KeyMod:K8,MarkerSeverity:X8,MarkerTag:Q8,Position:q8,Range:G8,Selection:Z8,SelectionDirection:Y8,Token:e6,Uri:J8,editor:Ja,languages:t6},Symbol.toStringTag,{value:"Module"}));function OS(s){if(cd(s)){const e={};for(let t=0;t{if(t){const i=t.split(sbe);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function mA(s){let e="";if(Yu(s))e=s;else if(cd(s))for(let t=0;t{},lbe=/^on[^a-z]/,cbe=s=>lbe.test(s),nV=Object.assign,cd=Array.isArray,Gg=s=>typeof s=="function",Yu=s=>typeof s=="string",dbe=s=>typeof s=="symbol",wv=s=>s!==null&&typeof s=="object";let ube;function hbe(s,e=ube){e&&e.active&&e.effects.push(s)}const fbe=s=>{const e=new Set(s);return e.w=0,e.n=0,e},sV=s=>(s.w&Jc)>0,oV=s=>(s.n&Jc)>0,gbe=({deps:s})=>{if(s.length)for(let e=0;e{const{deps:e}=s;if(e.length){let t=0;for(let i=0;is!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(dbe));function rV(s){return aV(s)?rV(s.__v_raw):!!(s&&s.__v_isReactive)}function aV(s){return!!(s&&s.__v_isReadonly)}function lV(s){return rV(s)||aV(s)}function PS(s){const e=s&&s.__v_raw;return e?PS(e):s}function Cbe(s){N1&&ra&&(s=PS(s),_be(s.dep||(s.dep=fbe())))}function vbe(s,e){s=PS(s),s.dep&&bbe(s.dep)}function cV(s){return!!(s&&s.__v_isRef===!0)}function wbe(s){const e=cd(s)?new Array(s.length):{};for(const t in s)e[t]=ybe(s,t);return e}class Sbe{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function ybe(s,e,t){const i=s[e];return cV(i)?i:new Sbe(s,e,t)}class Lbe{constructor(e,t,i,n){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new mbe(e,()=>{this._dirty||(this._dirty=!0,vbe(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const e=PS(this);return Cbe(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Dbe(s,e,t=!1){let i,n;const o=Gg(s);return o?(i=s,n=abe):(i=s.get,n=s.set),new Lbe(i,n,o||!n,t)}let Bp=null,xbe=null;const kbe=s=>s.__isSuspense;function Ibe(s){return Gg(s)?{setup:s,name:s.name}:s}const Ebe=Symbol(),Nbe=s=>s.__isTeleport,dV=Symbol(void 0),Tbe=Symbol(void 0),Abe=Symbol(void 0),T1=[];let pr=null;function Rbe(s=!1){T1.push(pr=s?null:[])}function Mbe(){T1.pop(),pr=T1[T1.length-1]||null}function Obe(s){return s.dynamicChildren=pr||rbe,Mbe(),pr&&pr.push(s),s}function Pbe(s,e,t,i,n,o){return Obe(fV(s,e,t,i,n,o,!0))}function Fbe(s){return s?s.__v_isVNode===!0:!1}const uV="__vInternal",hV=({key:s})=>s??null,A1=({ref:s,ref_key:e,ref_for:t})=>s!=null?Yu(s)||cV(s)||Gg(s)?{i:Bp,r:s,k:e,f:!!t}:s:null;function fV(s,e=null,t=null,i=0,n=null,o=s===dV?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:s,props:e,key:e&&hV(e),ref:e&&A1(e),scopeId:xbe,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null};return a?(_A(l,t),o&128&&s.normalize(l)):t&&(l.shapeFlag|=Yu(t)?8:16),!r&&pr&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&pr.push(l),l}const Bbe=Wbe;function Wbe(s,e=null,t=null,i=0,n=null,o=!1){if((!s||s===Ebe)&&(s=Abe),Fbe(s)){const a=PE(s,e,!0);return t&&_A(a,t),!o&&pr&&(a.shapeFlag&6?pr[pr.indexOf(s)]=a:pr.push(a)),a.patchFlag|=-2,a}if(Ube(s)&&(s=s.__vccOpts),e){e=Vbe(e);let{class:a,style:l}=e;a&&!Yu(a)&&(e.class=mA(a)),wv(l)&&(lV(l)&&!cd(l)&&(l=nV({},l)),e.style=OS(l))}const r=Yu(s)?1:kbe(s)?128:Nbe(s)?64:wv(s)?4:Gg(s)?2:0;return fV(s,e,t,i,n,r,o,!0)}function Vbe(s){return s?lV(s)||uV in s?nV({},s):s:null}function PE(s,e,t=!1){const{props:i,ref:n,patchFlag:o,children:r}=s,a=e?zbe(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:a,key:a&&hV(a),ref:e&&e.ref?t&&n?cd(n)?n.concat(A1(e)):[n,A1(e)]:A1(e):n,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:r,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:e&&s.type!==dV?o===-1?16:o|16:o,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&PE(s.ssContent),ssFallback:s.ssFallback&&PE(s.ssFallback),el:s.el,anchor:s.anchor}}function Hbe(s=" ",e=0){return Bbe(Tbe,null,s,e)}function _A(s,e){let t=0;const{shapeFlag:i}=s;if(e==null)e=null;else if(cd(e))t=16;else if(typeof e=="object")if(i&65){const n=e.default;n&&(n._c&&(n._d=!1),_A(s,n()),n._c&&(n._d=!0));return}else{t=32;const n=e._;!n&&!(uV in e)?e._ctx=Bp:n===3&&Bp&&(Bp.slots._===1?e._=1:(e._=2,s.patchFlag|=1024))}else Gg(e)?(e={default:e,_ctx:Bp},t=32):(e=String(e),i&64?(t=16,e=[Hbe(e)]):t=8);s.children=e,s.shapeFlag|=t}function zbe(...s){const e={};for(let t=0;tDbe(s,e,$be),Kbe=(s,e)=>{const t=s.__vccOpts||s;for(const[i,n]of e)t[i]=n;return t},qbe=Ibe({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default(){return{}}}},emits:["editorWillMount","editorDidMount","change","update:value"],setup(s){const{width:e,height:t}=wbe(s);return{style:jbe(()=>{const i=e.value.toString().includes("%")?e.value:`${e.value}px`,n=t.value.toString().includes("%")?t.value:`${t.value}px`;return{width:i,height:n,"text-align":"left"}})}},mounted(){this.initMonaco()},beforeUnmount(){this.editor&&this.editor.dispose()},methods:{initMonaco(){this.$emit("editorWillMount",ibe);const{value:s,language:e,theme:t,options:i}=this;this.editor=Ja[this.diffEditor?"createDiffEditor":"create"](this.$el,{value:s,language:e,theme:t,...i}),this.diffEditor&&this._setModel(this.value,this.original);const n=this._getEditor();n&&n.onDidChangeModelContent(o=>{const r=n.getValue();this.value!==r&&(this.$emit("change",r,o),this.$emit("update:value",r))}),this.$emit("editorDidMount",this.editor)},_setModel(s,e){const{language:t}=this,i=Ja.createModel(e,t),n=Ja.createModel(s,t);this.editor.setModel({original:i,modified:n})},_setValue(s){let e=this._getEditor();if(e)return e.setValue(s)},_getValue(){let s=this._getEditor();return s?s.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.modifiedEditor:this.editor:null},_setOriginal(){const{original:s}=this.editor.getModel();s.setValue(this.original)}},watch:{options:{deep:!0,handler(s){this.editor.updateOptions(s)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:s,modified:e}=this.editor.getModel();Ja.setModelLanguage(s,this.language),Ja.setModelLanguage(e,this.language)}else Ja.setModelLanguage(this.editor.getModel(),this.language)},theme(){Ja.setTheme(this.theme)}}});function Gbe(s,e,t,i,n,o){return Rbe(),Pbe("div",{class:"monaco-editor-vue3",style:OS(s.style)},null,4)}const R1=Kbe(qbe,[["render",Gbe]]);R1.install=s=>{s.component(R1.name,R1)};const Zbe={title:"Champ",subtitle:"Controllable and Consistent Human Image Animation with 3D Parametric Guidance"},Ybe=[{name:"Shenhao Zhu*",homepage:"https://github.com/ShenhaoZhu"},{name:"Junming Leo Chen*",homepage:"https://github.com/Leoooo333"},{name:"Zuozhuo Dai",homepage:""},{name:"Yinghui Xu",homepage:"https://ai3.fudan.edu.cn/info/1088/1266.htm"},{name:"Xun Cao",homepage:"https://cite.nju.edu.cn/People/Faculty/20190621/i5054.html"},{name:"Yao Yao",homepage:"https://yoyo000.github.io/"},{name:"Hao Zhu",homepage:"http://zhuhao.cc/home/"},{name:"Siyu Zhu",homepage:"https://sites.google.com/site/zhusiyucs/home"}],Xbe={pdf:"",arxiv:"",github:"https://github.com/fudan-generative-vision/champ",huggingface:""},rD={title:Zbe,authors:Ybe,res:Xbe},kn=s=>(vH("data-v-2ff53da7"),s=s(),wH(),s),Qbe={class:"title"},Jbe={class:"authors"},e0e=["href"],t0e={key:0},i0e={class:"res_link"},n0e=["href"],s0e=kn(()=>Me("i",{class:"iconfont icon-lm-pdf"},null,-1)),o0e=kn(()=>Me("span",null,"Paper",-1)),r0e=[s0e,o0e],a0e=["href"],l0e=kn(()=>Me("i",{class:"iconfont icon-lm-Arxiv"},null,-1)),c0e=kn(()=>Me("span",null,"arXiv",-1)),d0e=[l0e,c0e],u0e=["href"],h0e=kn(()=>Me("i",{class:"iconfont icon-lm-github"},null,-1)),f0e=kn(()=>Me("span",null,"Code",-1)),g0e=[h0e,f0e],p0e=["href"],m0e=kn(()=>Me("i",{class:"iconfont icon-lm-huggingface"},null,-1)),_0e=kn(()=>Me("span",null,"HuggingFace",-1)),b0e=[m0e,_0e],C0e={src:o$,muted:"",loop:"",controls:""},v0e=kn(()=>Me("section",{class:"abstract"},[Me("div",null,[Me("h3",null,"Abstract"),Me("p",null,"In this study, we introduce a methodology for human image animation by leveraging a 3D human parametric model within a latent diffusion framework to enhance shape alignment and motion guidance in curernt human generative techniques. The methodology utilizes the SMPL model as the 3D human parametric model to establish a unified representation of body shape and pose. This facilitates the accurate capture of intricate human geometry and motion characteristics from source videos. Specifically, we incorporate rendered depth images, normal maps, and semantic maps obtained from SMPL sequences, alongside skeleton-based motion guidance, to enrich the conditions to the latent diffusion model with comprehensive 3D shape and detailed pose attributes. A multi-layer motion fusion module, integrating self-attention mechanisms, is employed to fuse the shape and motion latent representations in the spatial domain. By representing the 3D human parametric model as the motion guidance, we can perform parametric shape alignment of the human body between the reference image and the source video motion. Experimental evaluations conducted on benchmark datasets demonstrate the methodology's superior ability to generate high-quality human animations that accurately capture both pose and shape variations. Furthermore, our approach also exhibits superior generalization capabilities on the proposed wild dataset. We will release our code and models for further research.")])],-1)),w0e=kn(()=>Me("section",{class:"framework"},[Me("h3",null,"Framework"),Me("div",null,[Me("img",{src:r$}),Me("br"),Me("p",null,"Given an input human image and a reference video depicting a motion sequence, the objective is to synthesize a video where the person in the image replicates the actions observed in the reference video, thereby creating a controllable and temporally coherent visual output.")])],-1)),S0e={class:"videos"},y0e=kn(()=>Me("h3",null,"Animate Human Image",-1)),L0e={class:"grid"},D0e={src:a$,muted:"",loop:"",controls:""},x0e={src:l$,muted:"",loop:"",controls:""},k0e={src:c$,muted:"",loop:"",controls:""},I0e={src:d$,muted:"",loop:"",controls:""},E0e={src:u$,muted:"",loop:"",controls:""},N0e={src:h$,muted:"",loop:"",controls:""},T0e={class:"comparisions"},A0e=kn(()=>Me("h3",null,"Comparisions",-1)),R0e={class:"panel"},M0e={src:f$,muted:"",loop:"",controls:""},O0e={src:g$,muted:"",loop:"",controls:""},P0e={src:p$,muted:"",loop:"",controls:""},F0e={src:m$,muted:"",loop:"",controls:""},B0e={class:"cross-id"},W0e=kn(()=>Me("h3",null,"Cross-ID Animation",-1)),V0e={class:"panel"},H0e={src:_$,muted:"",loop:"",controls:""},z0e={src:b$,muted:"",loop:"",controls:""},$0e={src:C$,muted:"",loop:"",controls:""},U0e={class:"useen"},j0e=kn(()=>Me("h3",null,"Unseen Domain Animation",-1)),K0e={class:"grid"},q0e={src:v$,muted:"",loop:"",controls:""},G0e={src:w$,muted:"",loop:"",controls:""},Z0e={src:S$,muted:"",loop:"",controls:""},Y0e={src:y$,muted:"",loop:"",controls:""},X0e={src:L$,muted:"",loop:"",controls:""},Q0e={src:D$,muted:"",loop:"",controls:""},J0e={class:"t2i"},e1e=kn(()=>Me("h3",null,"Combining with T2I",-1)),t1e={class:"panel"},i1e={src:x$,muted:"",loop:"",controls:""},n1e=kn(()=>Me("div",{class:"t2i-caption"},"A woman in a silver dress posing for a picture, trending on cg society, futurism, with bright blue eyes, dior campaign, tesseract, miranda kerr --v 5. 1 --ar 3:4.",-1)),s1e={src:k$,muted:"",loop:"",controls:""},o1e=kn(()=>Me("div",{class:"t2i-caption"}," A realistic depiction of Aang, the last airbender, showcasing his mastery of all bending elements while in the powerful Avatar State. Ultra detailed, hd, 8k. ",-1)),r1e={src:I$,muted:"",loop:"",controls:""},a1e=kn(()=>Me("div",{class:"t2i-caption"},"A painting of a woman in a yellow dress, heavy metal comic cover art, space theme, pin-up girl, silver and yellow color scheme, where the planets are candy, inspired by Joyce Ballantyne Brand, full - body artwork, lunar themed attire, golden age illustrator, blue and black color scheme.",-1)),l1e={class:"bibtex"},c1e=kn(()=>Me("h3",null,"BibTeX",-1)),d1e={class:"panel"},u1e=tN({__name:"HomeView",setup(s){const e=Dp(rD.title),t=Dp(rD.authors),i=Dp(rD.res),n=Dp(`@inproceedings{2024champ, author = {${t.value.map(o=>o.name).join(", ")}}, title = {${e.value.title}: ${e.value.subtitle}}, booktile = {arxiv} diff --git a/assets/javascript-DOF29ZAm.js b/assets/javascript-CuTLISBg.js similarity index 89% rename from assets/javascript-DOF29ZAm.js rename to assets/javascript-CuTLISBg.js index be42217..48c56f3 100644 --- a/assets/javascript-DOF29ZAm.js +++ b/assets/javascript-CuTLISBg.js @@ -1,4 +1,4 @@ -import{conf as t,language as e}from"./typescript-pl16jyTR.js";import"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{conf as t,language as e}from"./typescript-GsQEwvnu.js";import"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/jsonMode-DdbKuPVF.js b/assets/jsonMode-p202oGwl.js similarity index 99% rename from assets/jsonMode-DdbKuPVF.js rename to assets/jsonMode-p202oGwl.js index 7775397..0231e28 100644 --- a/assets/jsonMode-DdbKuPVF.js +++ b/assets/jsonMode-p202oGwl.js @@ -1,4 +1,4 @@ -var $e=Object.defineProperty;var Ge=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var A=(e,n,i)=>(Ge(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +var $e=Object.defineProperty;var Ge=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var A=(e,n,i)=>(Ge(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/liquid-Bj9JrfND.js b/assets/liquid-CVfaju64.js similarity index 98% rename from assets/liquid-Bj9JrfND.js rename to assets/liquid-CVfaju64.js index 4479976..5041f33 100644 --- a/assets/liquid-Bj9JrfND.js +++ b/assets/liquid-CVfaju64.js @@ -1,4 +1,4 @@ -import{m as l}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as l}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/python-cbAkLqlB.js b/assets/python-B_kZwmWU.js similarity index 98% rename from assets/python-cbAkLqlB.js rename to assets/python-B_kZwmWU.js index 1cb14ba..71c7f26 100644 --- a/assets/python-cbAkLqlB.js +++ b/assets/python-B_kZwmWU.js @@ -1,4 +1,4 @@ -import{m as i}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as i}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/razor-CwP00Osg.js b/assets/razor-BVMQzKWj.js similarity index 99% rename from assets/razor-CwP00Osg.js rename to assets/razor-BVMQzKWj.js index 7dba21c..0abbfb2 100644 --- a/assets/razor-CwP00Osg.js +++ b/assets/razor-BVMQzKWj.js @@ -1,4 +1,4 @@ -import{m}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/tsMode-BFTaVmao.js b/assets/tsMode-C2wMUfcg.js similarity index 99% rename from assets/tsMode-BFTaVmao.js rename to assets/tsMode-C2wMUfcg.js index 1520596..08b512f 100644 --- a/assets/tsMode-BFTaVmao.js +++ b/assets/tsMode-C2wMUfcg.js @@ -1,4 +1,4 @@ -var N=Object.defineProperty;var M=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(M(e,typeof t!="symbol"?t+"":t,r),r);import{t as K,m as R}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +var N=Object.defineProperty;var M=(e,t,r)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(M(e,typeof t!="symbol"?t+"":t,r),r);import{t as K,m as R}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/typescript-pl16jyTR.js b/assets/typescript-GsQEwvnu.js similarity index 98% rename from assets/typescript-pl16jyTR.js rename to assets/typescript-GsQEwvnu.js index 084e872..2b00427 100644 --- a/assets/typescript-pl16jyTR.js +++ b/assets/typescript-GsQEwvnu.js @@ -1,4 +1,4 @@ -import{m as s}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as s}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/assets/xml-DKyJbqB-.js b/assets/xml-DdplLncM.js similarity index 97% rename from assets/xml-DKyJbqB-.js rename to assets/xml-DdplLncM.js index 93720a8..d9cb2fd 100644 --- a/assets/xml-DKyJbqB-.js +++ b/assets/xml-DdplLncM.js @@ -1,4 +1,4 @@ -import{m as r}from"./index-CEC3gXvc.js";/*!----------------------------------------------------------------------------- +import{m as r}from"./index-OwhqodLI.js";/*!----------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) * Released under the MIT license diff --git a/index.html b/index.html index 025fea4..6bb4ca3 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Champ - +