@rsdoctor/client 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/resource/js/{index.f0279c55.js → index.fdcaa546.js} +1 -1
- package/dist/resource/js/{monaco-2.133a02f6.js → monaco-1.e42b60cc.js} +2 -2
- package/dist/resource/js/{monaco-9.9a685176.js → monaco-10.4b1f76d7.js} +1 -1
- package/dist/resource/js/monaco-11.3626543b.js +3 -0
- package/dist/resource/js/monaco-12.9d08b924.js +4 -0
- package/dist/resource/js/{monaco-17.b0290dba.js → monaco-13.3d40eb04.js} +1 -1
- package/dist/resource/js/{monaco-12.0c116aa2.js → monaco-14.371c9801.js} +2 -2
- package/dist/resource/js/{monaco-13.dcefcf80.js → monaco-15.d73381b5.js} +1 -1
- package/dist/resource/js/monaco-16.e11e3d10.js +42 -0
- package/dist/resource/js/{monaco-15.26757ead.js → monaco-17.f5db5e54.js} +1 -1
- package/dist/resource/js/{monaco-1.6a7defc9.js → monaco-2.79f0bbbe.js} +1 -1
- package/dist/resource/js/{monaco-5.b2a6d9b1.js → monaco-5.0a6c00b3.js} +4 -3
- package/dist/resource/js/monaco-7.69f7178e.js +3 -0
- package/dist/resource/js/monaco-8.480cca31.js +1 -0
- package/dist/resource/js/{monaco-8.389906ed.js → monaco-9.d55eba30.js} +1 -1
- package/package.json +3 -3
- package/dist/resource/js/monaco-10.cdc45bb5.js +0 -3
- package/dist/resource/js/monaco-11.40a1fcb1.js +0 -4
- package/dist/resource/js/monaco-14.afa84c5f.js +0 -42
- package/dist/resource/js/monaco-16.77a3677c.js +0 -4
- package/dist/resource/js/monaco-7.0c2b350f.js +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["25"],{68645:function(e,t,i){"use strict";i.d(t,{r:function(){return o}});var n=i("97147");let o=n.ED?'"Segoe WPC", "Segoe UI", sans-serif':n.dz?"-apple-system, BlinkMacSystemFont, sans-serif":'system-ui, "Ubuntu", "Droid Sans", sans-serif'},83224:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});class n extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}},4387:function(e,t,i){"use strict";i.d(t,{k:function(){return u}});var n=i("55952"),o=i("1966"),s=i("37764");i("48899");let r="done",a="active",l="infinite",d="infinite-long-running",c="discrete";class u extends s.JT{constructor(e,t){super(),this.progressSignal=this._register(new s.XK),this.workedVal=0,this.showDelayedScheduler=this._register(new o.pY(()=>(0,n.$Z)(this.element),0)),this.longRunningScheduler=this._register(new o.pY(()=>this.infiniteLongRunning(),u.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(e,t)}create(e,t){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.bit.style.backgroundColor=(null==t?void 0:t.progressBarBackground)||"#0E70C0",this.element.appendChild(this.bit)}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(a,l,d,c),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel(),this.progressSignal.clear()}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(r),this.element.classList.contains(l)?this.bit.style.opacity="0":this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off(),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(c,r,d),this.element.classList.add(a,l),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(d)}getContainer(){return this.element}}u.LONG_RUNNING_INFINITE_THRESHOLD=1e4},43777:function(e,t,i){"use strict";i.d(t,{j:function(){return a}});var n=i("89526"),o=i("65626"),s=i("73866"),r=i("97147");i("70836");class a extends s.${constructor(e,t,i,s,a){super(),!r.dz||(null==a?void 0:a.useCustomDrawn)?this.selectBoxDelegate=new n.v(e,t,i,s,a):this.selectBoxDelegate=new o.A(e,t,s,a),this._register(this.selectBoxDelegate)}get onDidSelect(){return this.selectBoxDelegate.onDidSelect}setOptions(e,t){this.selectBoxDelegate.setOptions(e,t)}select(e){this.selectBoxDelegate.select(e)}focus(){this.selectBoxDelegate.focus()}blur(){this.selectBoxDelegate.blur()}setFocusable(e){this.selectBoxDelegate.setFocusable(e)}render(e){this.selectBoxDelegate.render(e)}}},57796:function(e,t,i){"use strict";i.d(t,{AO:function(){return u},Ic:function(){return g},mt:function(){return l}});var n=i("27236"),o=i("3225"),s=i("97147"),r=i("71482");let a=[void 0,[]];function l(e,t,i=0,n=0){return t.values&&t.values.length>1?function(e,t,i,n){let o=0,s=[];for(let r of t){let[t,l]=d(e,r,i,n);if("number"!=typeof t)return a;o+=t,s.push(...l)}return[o,function(e){let t,i=e.sort((e,t)=>e.start-t.start),n=[];for(let e of i)t&&function(e,t){return!(e.end<t.start)&&!(t.end<e.start)&&!0}(t,e)?(t.start=Math.min(t.start,e.start),t.end=Math.max(t.end,e.end)):(t=e,n.push(e));return n}(s)]}(e,t.values,i,n):d(e,t,i,n)}function d(e,t,i,o){let s=(0,n.EW)(t.original,t.originalLowercase,i,e,e.toLowerCase(),o,{firstMatchCanBeWeak:!0,boostFullMatch:!0});return s?[s[0],(0,n.mB)(s)]:a}Object.freeze({score:0});function c(e){return e.startsWith('"')&&e.endsWith('"')}function u(e){let t;"string"!=typeof e&&(e="");let i=e.toLowerCase(),{pathNormalized:n,normalized:s,normalizedLowercase:r}=h(e),a=n.indexOf(o.ir)>=0,l=c(e);let d=e.split(" ");if(d.length>1)for(let e of d){let i=c(e),{pathNormalized:n,normalized:o,normalizedLowercase:s}=h(e);o&&(!t&&(t=[]),t.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:n,normalized:o,normalizedLowercase:s,expectContiguousMatch:i}))}return{original:e,originalLowercase:i,pathNormalized:n,normalized:s,normalizedLowercase:r,values:t,containsPathSeparator:a,expectContiguousMatch:l}}function h(e){let t;t=s.ED?e.replace(/\//g,o.ir):e.replace(/\\/g,o.ir);let i=(0,r.R1)(t).replace(/\s|"/g,"");return{pathNormalized:t,normalized:i,normalizedLowercase:i.toLowerCase()}}function g(e){return Array.isArray(e)?u(e.map(e=>e.original).join(" ")):u(e.original)}},4984:function(e,t,i){"use strict";i.d(t,{EH:function(){return a},UV:function(){return l},gp:function(){return c},nJ:function(){return d}});var n=i("26089"),o=i("37764"),s=i("45344"),r=i("30908");function a(e){return new u(new s.IZ(void 0,void 0,e),e,void 0,void 0)}function l(e,t){var i;return new u(new s.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,void 0,void 0)}function d(e,t){var i;return new u(new s.IZ(e.owner,e.debugName,null!==(i=e.debugReferenceFn)&&void 0!==i?i:t),t,e.createEmptyChangeSummary,e.handleChange)}function c(e){let t=new o.SL,i=l({owner:void 0,debugName:void 0,debugReferenceFn:e},i=>{t.clear(),e(i,t)});return(0,o.OF)(()=>{i.dispose(),t.dispose()})}class u{get debugName(){var e;return null!==(e=this._debugNameData.getDebugName(this))&&void 0!==e?e:"(anonymous)"}constructor(e,t,i,n){var s,a;this._debugNameData=e,this._runFn=t,this.createChangeSummary=i,this._handleChange=n,this.state=2,this.updateCount=0,this.disposed=!1,this.dependencies=new Set,this.dependenciesToBeRemoved=new Set,this.changeSummary=null===(s=this.createChangeSummary)||void 0===s?void 0:s.call(this),null===(a=(0,r.jl)())||void 0===a||a.handleAutorunCreated(this),this._runIfNeeded(),(0,o.wi)(this)}dispose(){for(let e of(this.disposed=!0,this.dependencies))e.removeObserver(this);this.dependencies.clear(),(0,o.Nq)(this)}_runIfNeeded(){var e,t,i;if(3===this.state)return;let n=this.dependenciesToBeRemoved;this.dependenciesToBeRemoved=this.dependencies,this.dependencies=n,this.state=3;let o=this.disposed;try{if(!o){null===(e=(0,r.jl)())||void 0===e||e.handleAutorunTriggered(this);let i=this.changeSummary;this.changeSummary=null===(t=this.createChangeSummary)||void 0===t?void 0:t.call(this),this._runFn(this,i)}}finally{for(let e of(!o&&(null===(i=(0,r.jl)())||void 0===i||i.handleAutorunFinished(this)),this.dependenciesToBeRemoved))e.removeObserver(this);this.dependenciesToBeRemoved.clear()}}toString(){return`Autorun<${this.debugName}>`}beginUpdate(){3===this.state&&(this.state=1),this.updateCount++}endUpdate(){if(1===this.updateCount)do{if(1===this.state){for(let e of(this.state=3,this.dependencies))if(e.reportChanges(),2===this.state)break}this._runIfNeeded()}while(3!==this.state);this.updateCount--,(0,n.eZ)(()=>this.updateCount>=0)}handlePossibleChange(e){3===this.state&&this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(this.state=1)}handleChange(e,t){this.dependencies.has(e)&&!this.dependenciesToBeRemoved.has(e)&&(!this._handleChange||this._handleChange({changedObservable:e,change:t,didChange:t=>t===e},this.changeSummary))&&(this.state=2)}readObservable(e){if(this.disposed)return e.get();e.addObserver(this);let t=e.get();return this.dependencies.add(e),this.dependenciesToBeRemoved.delete(e),t}}(a||(a={})).Observer=u},21333:function(e,t,i){"use strict";i.d(t,{F:function(){return s}});var n=i("4984"),o=i("45802");function s(e,t,i,s){return!t&&(t=e=>null!=e),new Promise((r,a)=>{let l=!0,d=!1,c=e.map(e=>({isFinished:t(e),error:!!i&&i(e),state:e})),u=(0,n.EH)(e=>{let{isFinished:t,error:i,state:n}=c.read(e);(t||i)&&(l?d=!0:u.dispose(),i?a(!0===i?n:i):r(n))});if(s){let e=s.onCancellationRequested(()=>{u.dispose(),e.dispose(),a(new o.FU)});if(s.isCancellationRequested){u.dispose(),e.dispose(),a(new o.FU);return}}l=!1,d&&u.dispose()})}},97147:function(e,t,i){"use strict";let n,o,s,r;i.d(t,{$L:function(){return I},Dt:function(){return G},ED:function(){return T},G6:function(){return U},IJ:function(){return D},OS:function(){return H},dK:function(){return E},dz:function(){return N},fn:function(){return V},gn:function(){return A},i7:function(){return z},qB:function(){return P},r:function(){return K},tY:function(){return R},tq:function(){return M},un:function(){return q},vU:function(){return j}});var a,l,d=i("94479"),c=i("73656");let u=!1,h=!1,g=!1,m=!1,p=!1,f=!1,b=!1,v=!1,y=!1,_=!1;let C="en",w="en";let L=globalThis;void 0!==L.vscode&&void 0!==L.vscode.process?r=L.vscode.process:void 0!==c&&"string"==typeof(null===(a=null==c?void 0:c.versions)||void 0===a?void 0:a.node)&&(r=c);let S="string"==typeof(null===(l=null==r?void 0:r.versions)||void 0===l?void 0:l.electron),x=S&&(null==r?void 0:r.type)==="renderer";if("object"==typeof r){u="win32"===r.platform,h="darwin"===r.platform,!(g="linux"===r.platform)||!r.env.SNAP||r.env.SNAP_REVISION;!r.env.CI&&r.env.BUILD_ARTIFACTSTAGINGDIRECTORY,n="en",C="en";let e=r.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),i=t.availableLanguages["*"];n=t.locale,t.osLocale,C=i||"en",t._translationsConfigFile}catch(e){}p=!0}else"object"!=typeof navigator||x?console.error("Unable to resolve platform."):(u=(s=navigator.userAgent).indexOf("Windows")>=0,h=s.indexOf("Macintosh")>=0,v=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,g=s.indexOf("Linux")>=0,_=(null==s?void 0:s.indexOf("Mobi"))>=0,f=!0,C=n=d.aj(d.NC({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"))||"en",navigator.language);let k=0;h||u;let T=u,N=h,D=g,R=p,I=f,P=f&&"function"==typeof L.importScripts?L.origin:void 0,A=v,M=_,F=s,E=C,O="function"==typeof L.postMessage&&!L.importScripts,V=(()=>{if(O){let e=[];L.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i<n;i++){let n=e[i];if(n.id===t.data.vscodeScheduleAsyncWork){e.splice(i,1),n.callback();return}}});let t=0;return i=>{let n=++t;e.push({id:n,callback:i}),L.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),H=h||v?2:u?1:3,B=!0,W=!1;function K(){if(!W){W=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2,B=513===new Uint16Array(e.buffer)[0]}return B}let z=!!(F&&F.indexOf("Chrome")>=0),j=!!(F&&F.indexOf("Firefox")>=0),U=!!(!z&&F&&F.indexOf("Safari")>=0),q=!!(F&&F.indexOf("Edg/")>=0),G=!!(F&&F.indexOf("Android")>=0)},138:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:"append|break|declare|demangle|end|for|getdatatype|if|inmodule|loop|mangle|onwarning|option|set|stored|uniquename",keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:"integer|unsigned",typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:"ascii|big_endian|boolean|data|decimal|ebcdic|grouped|integer|linkcounted|pattern|qstring|real|record|rule|set of|streamed|string|token|udecimal|unicode|unsigned|utf8|varstring|varunicode",operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,"type"],[/#(@pounds)/,"type"],[/@typesone/,"type"],[/[a-zA-Z_$][\w-$]*/,{cases:{"@functions":"keyword.function","@keywords":"keyword","@operators":"operator"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}}},26466:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return o},language:function(){return s}});var n=i("6200"),o=n.conf,s={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:n.language.operators,symbols:n.language.symbols,escapes:n.language.escapes,digits:n.language.digits,octaldigits:n.language.octaldigits,binarydigits:n.language.binarydigits,hexdigits:n.language.hexdigits,regexpctl:n.language.regexpctl,regexpesc:n.language.regexpesc,tokenizer:n.language.tokenizer}},69423:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},48406:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:RegExp("^\\s*\\{\\$ENDREGION\\}")}}},o={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","strict","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},66702:function(e,t,i){"use strict";(0,i("88814").H)({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"48105"))})},82505:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},o={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},50928:function(e,t,i){"use strict";(0,i("88814").H)({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"11438"))})},38193:function(e,t,i){"use strict";(0,i("88814").H)({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"85782"))})},26436:function(e,t,i){"use strict";(0,i("88814").H)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"89286"))})},8884:function(e,t,i){"use strict";i.d(t,{Y:function(){return r}});class n{constructor(e,t){this.key=e,this.migrate=t}apply(e){let t=n._read(e,this.key);this.migrate(t,t=>n._read(e,t),(t,i)=>n._write(e,t,i))}static _read(e,t){if(void 0===e)return;let i=t.indexOf(".");if(i>=0){let n=t.substring(0,i);return this._read(e[n],t.substring(i+1))}return e[t]}static _write(e,t,i){let n=t.indexOf(".");if(n>=0){let o=t.substring(0,n);e[o]=e[o]||{},this._write(e[o],t.substring(n+1),i);return}e[t]=i}}function o(e,t){n.items.push(new n(e,t))}function s(e,t){o(e,(i,n,o)=>{if(void 0!==i){for(let[n,s]of t)if(i===n){o(e,s);return}}})}function r(e){n.items.forEach(t=>t.apply(e))}n.items=[],s("wordWrap",[[!0,"on"],[!1,"off"]]),s("lineNumbers",[[!0,"on"],[!1,"off"]]),s("cursorBlinking",[["visible","solid"]]),s("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),s("renderLineHighlight",[[!0,"line"],[!1,"none"]]),s("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),s("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),s("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),s("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),s("autoIndent",[[!1,"advanced"],[!0,"full"]]),s("matchBrackets",[[!0,"always"],[!1,"never"]]),s("renderFinalNewline",[[!0,"on"],[!1,"off"]]),s("cursorSmoothCaretAnimation",[[!0,"on"],[!1,"off"]]),s("occurrencesHighlight",[[!0,"singleFile"],[!1,"off"]]),s("wordBasedSuggestions",[[!0,"matchingDocuments"],[!1,"off"]]),o("autoClosingBrackets",(e,t,i)=>{!1===e&&(i("autoClosingBrackets","never"),void 0===t("autoClosingQuotes")&&i("autoClosingQuotes","never"),void 0===t("autoSurround")&&i("autoSurround","never"))}),o("renderIndentGuides",(e,t,i)=>{void 0!==e&&(i("renderIndentGuides",void 0),void 0===t("guides.indentation")&&i("guides.indentation",!!e))}),o("highlightActiveIndentGuide",(e,t,i)=>{void 0!==e&&(i("highlightActiveIndentGuide",void 0),void 0===t("guides.highlightActiveIndentation")&&i("guides.highlightActiveIndentation",!!e))});let a={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};o("suggest.filteredTypes",(e,t,i)=>{if(e&&"object"==typeof e){for(let n of Object.entries(a))!1===e[n[0]]&&void 0===t(`suggest.${n[1]}`)&&i(`suggest.${n[1]}`,!1);i("suggest.filteredTypes",void 0)}}),o("quickSuggestions",(e,t,i)=>{if("boolean"==typeof e){let t=e?"on":"off";i("quickSuggestions",{comments:t,strings:t,other:t})}}),o("experimental.stickyScroll.enabled",(e,t,i)=>{"boolean"==typeof e&&(i("experimental.stickyScroll.enabled",void 0),void 0===t("stickyScroll.enabled")&&i("stickyScroll.enabled",e))}),o("experimental.stickyScroll.maxLineCount",(e,t,i)=>{"number"==typeof e&&(i("experimental.stickyScroll.maxLineCount",void 0),void 0===t("stickyScroll.maxLineCount")&&i("stickyScroll.maxLineCount",e))}),o("codeActionsOnSave",(e,t,i)=>{if(e&&"object"==typeof e){let t=!1,n={};for(let i of Object.entries(e))"boolean"==typeof i[1]?(t=!0,n[i[0]]=i[1]?"explicit":"never"):n[i[0]]=i[1];t&&i("codeActionsOnSave",n)}}),o("codeActionWidget.includeNearbyQuickfixes",(e,t,i)=>{"boolean"==typeof e&&(i("codeActionWidget.includeNearbyQuickfixes",void 0),void 0===t("codeActionWidget.includeNearbyQuickFixes")&&i("codeActionWidget.includeNearbyQuickFixes",e))}),o("lightbulb.enabled",(e,t,i)=>{"boolean"==typeof e&&i("lightbulb.enabled",e?void 0:"off")})},43025:function(e,t,i){"use strict";i.d(t,{r:function(){return r}}),i("76389");var n=i("31759"),o=i("55103"),s=i("83112");class r extends n.i{constructor(e){super(),this._context=e;let t=this._context.configuration.options;this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){let t=e.getDecorationsInViewport(),i=[],n=0;for(let e=0,o=t.length;e<o;e++){let o=t[e];o.options.className&&(i[n++]=o)}i=i.sort((e,t)=>{if(e.options.zIndex<t.options.zIndex)return -1;if(e.options.zIndex>t.options.zIndex)return 1;let i=e.options.className,n=t.options.className;return i<n?-1:i>n?1:s.e.compareRangesUsingStarts(e.range,t.range)});let o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,a=[];for(let e=o;e<=r;e++)a[e-o]="";this._renderWholeLineDecorations(e,i,a),this._renderNormalDecorations(e,i,a),this._renderResult=a}_renderWholeLineDecorations(e,t,i){let n=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber;for(let e=0,s=t.length;e<s;e++){let s=t[e];if(!s.options.isWholeLine)continue;let r='<div class="cdr '+s.options.className+'" style="left:0;width:100%;"></div>',a=Math.max(s.range.startLineNumber,n),l=Math.min(s.range.endLineNumber,o);for(let e=a;e<=l;e++){let t=e-n;i[t]+=r}}}_renderNormalDecorations(e,t,i){var n;let o=e.visibleRange.startLineNumber,r=null,a=!1,l=null,d=!1;for(let c=0,u=t.length;c<u;c++){let u=t[c];if(u.options.isWholeLine)continue;let h=u.options.className,g=!!u.options.showIfCollapsed,m=u.range;if(g&&1===m.endColumn&&m.endLineNumber!==m.startLineNumber&&(m=new s.e(m.startLineNumber,m.startColumn,m.endLineNumber-1,this._context.viewModel.getLineMaxColumn(m.endLineNumber-1))),r===h&&a===g&&s.e.areIntersectingOrTouching(l,m)){l=s.e.plusRange(l,m);continue}null!==r&&this._renderNormalDecoration(e,l,r,d,a,o,i),r=h,a=g,l=m,d=null!==(n=u.options.shouldFillLineOnLineBreak)&&void 0!==n&&n}null!==r&&this._renderNormalDecoration(e,l,r,d,a,o,i)}_renderNormalDecoration(e,t,i,n,s,r,a){let l=e.linesVisibleRangesForRange(t,"findMatch"===i);if(l)for(let e=0,t=l.length;e<t;e++){let t=l[e];if(t.outsideRenderedLine)continue;let d=t.lineNumber-r;if(s&&1===t.ranges.length){let e=t.ranges[0];if(e.width<this._typicalHalfwidthCharacterWidth){let i=Math.max(0,Math.round(Math.round(e.left+e.width/2)-this._typicalHalfwidthCharacterWidth/2));t.ranges[0]=new o.yu(i,this._typicalHalfwidthCharacterWidth)}}for(let e=0,o=t.ranges.length;e<o;e++){let s=n&&t.continuesOnNextLine&&1===o,r=t.ranges[e],l='<div class="cdr '+i+'" style="left:'+String(r.left)+"px;width:"+(s?"100%;":String(r.width)+"px;")+'"></div>';a[d]+=l}}}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}},38048:function(e,t,i){"use strict";i.d(t,{R:function(){return u}}),i("49535");var n=i("31759"),o=i("85351"),s=i("29149"),r=i("70668"),a=i("47983"),l=i("67414"),d=i("89751"),c=i("5705");class u extends n.i{constructor(e){super(),this._context=e,this._primaryPosition=null;let t=this._context.configuration.options,i=t.get(146),n=t.get(50);this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(146),n=t.get(50);return this._spaceWidth=n.spaceWidth,this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,this._bracketPairGuideOptions=t.get(16),!0}onCursorStateChanged(e){var t;let i=e.selections[0].getPosition();return(null===(t=this._primaryPosition)||void 0===t?!void 0:!t.equals(i))&&(this._primaryPosition=i,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){var t,i,n,o;if(!this._bracketPairGuideOptions.indentation&&!1===this._bracketPairGuideOptions.bracketPairs){this._renderResult=null;return}let s=e.visibleRange.startLineNumber,a=e.visibleRange.endLineNumber,l=e.scrollWidth,d=this._primaryPosition,c=this.getGuidesByLine(s,Math.min(a+1,this._context.viewModel.getLineCount()),d),u=[];for(let d=s;d<=a;d++){let a=d-s,h=c[a],g="",m=null!==(i=null===(t=e.visibleRangeForPosition(new r.L(d,1)))||void 0===t?void 0:t.left)&&void 0!==i?i:0;for(let t of h){let i=-1===t.column?m+(t.visibleColumn-1)*this._spaceWidth:e.visibleRangeForPosition(new r.L(d,t.column)).left;if(i>l||this._maxIndentLeft>0&&i>this._maxIndentLeft)break;let s=t.horizontalLine?t.horizontalLine.top?"horizontal-top":"horizontal-bottom":"vertical",a=t.horizontalLine?(null!==(o=null===(n=e.visibleRangeForPosition(new r.L(d,t.horizontalLine.endColumn)))||void 0===n?void 0:n.left)&&void 0!==o?o:i+this._spaceWidth)-i:this._spaceWidth;g+=`<div class="core-guide ${t.className} ${s}" style="left:${i}px;width:${a}px"></div>`}u[a]=g}this._renderResult=u}getGuidesByLine(e,t,i){let n=!1!==this._bracketPairGuideOptions.bracketPairs?this._context.viewModel.getBracketGuidesInRangeByLine(e,t,i,{highlightActive:this._bracketPairGuideOptions.highlightActiveBracketPair,horizontalGuides:!0===this._bracketPairGuideOptions.bracketPairsHorizontal?c.s6.Enabled:"active"===this._bracketPairGuideOptions.bracketPairsHorizontal?c.s6.EnabledForActive:c.s6.Disabled,includeInactive:!0===this._bracketPairGuideOptions.bracketPairs}):null,o=this._bracketPairGuideOptions.indentation?this._context.viewModel.getLinesIndentGuides(e,t):null,s=0,r=0,l=0;if(!1!==this._bracketPairGuideOptions.highlightActiveIndentation&&i){let n=this._context.viewModel.getActiveIndentGuide(i.lineNumber,e,t);s=n.startLineNumber,r=n.endLineNumber,l=n.indent}let{indentSize:d}=this._context.viewModel.model.getOptions(),u=[];for(let i=e;i<=t;i++){let t=[];u.push(t);let h=n?n[i-e]:[],g=new a.H9(h),m=o?o[i-e]:0;for(let e=1;e<=m;e++){let n=(e-1)*d+1,o=("always"===this._bracketPairGuideOptions.highlightActiveIndentation||0===h.length)&&s<=i&&i<=r&&e===l;t.push(...g.takeWhile(e=>e.visibleColumn<n)||[]);let a=g.peek();(!a||a.visibleColumn!==n||a.horizontalLine)&&t.push(new c.UO(n,-1,`core-guide-indent lvl-${(e-1)%30}`+(o?" indent-active":""),null,-1,-1))}t.push(...g.takeWhile(e=>!0)||[])}return u}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}function h(e){if(!(e&&e.isTransparent()))return e}(0,s.Ic)((e,t)=>{let i=[{bracketColor:o.zJ,guideColor:o.oV,guideColorActive:o.Qb},{bracketColor:o.Vs,guideColor:o.m$,guideColorActive:o.m3},{bracketColor:o.CE,guideColor:o.DS,guideColorActive:o.To},{bracketColor:o.UP,guideColor:o.lS,guideColorActive:o.L7},{bracketColor:o.r0,guideColor:o.Jn,guideColorActive:o.HV},{bracketColor:o.m1,guideColor:o.YF,guideColorActive:o.f9}],n=new d.W,s=[{indentColor:o.gS,indentColorActive:o.qe},{indentColor:o.Tf,indentColorActive:o.Xy},{indentColor:o.H_,indentColorActive:o.cK},{indentColor:o.h1,indentColorActive:o.N8},{indentColor:o.vP,indentColorActive:o.zd},{indentColor:o.e9,indentColorActive:o.ll}],r=i.map(t=>{var i,n;let o=e.getColor(t.bracketColor),s=e.getColor(t.guideColor),r=e.getColor(t.guideColorActive),a=h(null!==(i=h(s))&&void 0!==i?i:null==o?void 0:o.transparent(.3)),l=h(null!==(n=h(r))&&void 0!==n?n:o);if(a&&l)return{guideColor:a,guideColorActive:l}}).filter(l.$K),a=s.map(t=>{let i=e.getColor(t.indentColor),n=e.getColor(t.indentColorActive),o=h(i),s=h(n);if(o&&s)return{indentColor:o,indentColorActive:s}}).filter(l.$K);if(r.length>0){for(let e=0;e<30;e++){let i=r[e%r.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(e).replace(/ /g,".")} { --guide-color: ${i.guideColor}; --guide-color-active: ${i.guideColorActive}; }`)}t.addRule(".monaco-editor .vertical { box-shadow: 1px 0 0 0 var(--guide-color) inset; }"),t.addRule(".monaco-editor .horizontal-top { border-top: 1px solid var(--guide-color); }"),t.addRule(".monaco-editor .horizontal-bottom { border-bottom: 1px solid var(--guide-color); }"),t.addRule(`.monaco-editor .vertical.${n.activeClassName} { box-shadow: 1px 0 0 0 var(--guide-color-active) inset; }`),t.addRule(`.monaco-editor .horizontal-top.${n.activeClassName} { border-top: 1px solid var(--guide-color-active); }`),t.addRule(`.monaco-editor .horizontal-bottom.${n.activeClassName} { border-bottom: 1px solid var(--guide-color-active); }`)}if(a.length>0){for(let e=0;e<30;e++){let i=a[e%a.length];t.addRule(`.monaco-editor .lines-content .core-guide-indent.lvl-${e} { --indent-color: ${i.indentColor}; --indent-color-active: ${i.indentColorActive}; }`)}t.addRule(".monaco-editor .lines-content .core-guide-indent { box-shadow: 1px 0 0 0 var(--indent-color) inset; }"),t.addRule(".monaco-editor .lines-content .core-guide-indent.indent-active { box-shadow: 1px 0 0 0 var(--indent-color-active) inset; }")}})},12177:function(e,t,i){"use strict";i.d(t,{b:function(){return s}}),i("66028");var n=i("40013"),o=i("55497");class s extends o.E{constructor(e){super(e),this.domNode=(0,n.X)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];let t=this._context.configuration.options;this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options;return this._rulers=t.get(102),this._typicalHalfwidthCharacterWidth=t.get(50).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){let e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){let{tabSize:i}=this._context.viewModel.model.getOptions(),o=t-e;for(;o>0;){let e=(0,n.X)(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),o--}return}let i=e-t;for(;i>0;){let e=this._renderedRulers.pop();this.domNode.removeChild(e),i--}}render(e){this._ensureRulersCount();for(let t=0,i=this._rulers.length;t<i;t++){let i=this._renderedRulers[t],n=this._rulers[t];i.setBoxShadow(n.color?`1px 0 0 0 ${n.color} inset`:""),i.setHeight(Math.min(e.scrollHeight,1e6)),i.setLeft(n.column*this._typicalHalfwidthCharacterWidth)}}}},16597:function(e,t,i){"use strict";i.d(t,{K:function(){return l}}),i("85597");var n=i("31759"),o=i("71482"),s=i("35087"),r=i("70668"),a=i("85351");class l extends n.i{constructor(e){super(),this._context=e,this._options=new d(this._context.configuration),this._selection=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=new d(this._context.configuration);return this._options.equals(t)?e.hasChanged(145):(this._options=t,!0)}onCursorStateChanged(e){return this._selection=e.selections,"selection"===this._options.renderWhitespace||!1}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}prepareRender(e){if("none"===this._options.renderWhitespace){this._renderResult=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber-t+1,n=Array(i);for(let e=0;e<i;e++)n[e]=!0;let o=this._context.viewModel.getMinimapLinesRenderingData(e.viewportData.startLineNumber,e.viewportData.endLineNumber,n);this._renderResult=[];for(let t=e.viewportData.startLineNumber;t<=e.viewportData.endLineNumber;t++){let i=t-e.viewportData.startLineNumber,n=o.data[i],r=null;if("selection"===this._options.renderWhitespace)for(let e of this._selection){if(e.endLineNumber<t||e.startLineNumber>t)continue;let i=e.startLineNumber===t?e.startColumn:n.minColumn,o=e.endLineNumber===t?e.endColumn:n.maxColumn;i<o&&(!r&&(r=[]),r.push(new s.zG(i-1,o-1)))}this._renderResult[i]=this._applyRenderWhitespace(e,t,r,n)}}_applyRenderWhitespace(e,t,i,n){let s;if("selection"===this._options.renderWhitespace&&!i||"trailing"===this._options.renderWhitespace&&n.continuesWithWrappedLine)return"";let l=this._context.theme.getColor(a.dI),d=this._options.renderWithSVG,c=n.content,u=-1===this._options.stopRenderingLineAfter?c.length:Math.min(this._options.stopRenderingLineAfter,c.length),h=n.continuesWithWrappedLine,g=n.minColumn-1,m="boundary"===this._options.renderWhitespace,p="trailing"===this._options.renderWhitespace,f=this._options.lineHeight,b=this._options.middotWidth,v=this._options.wsmiddotWidth,y=this._options.spaceWidth,_=Math.abs(v-y)<Math.abs(b-y)?11825:183,C=this._options.canUseHalfwidthRightwardsArrow,w="",L=!1,S=o.LC(c);-1===S?(L=!0,S=u,s=u):s=o.ow(c);let x=0,k=i&&i[x],T=0;for(let n=g;n<u;n++){let o=c.charCodeAt(n);if(k&&n>=k.endOffset&&(x++,k=i&&i[x]),9!==o&&32!==o||p&&!L&&n<=s)continue;if(m&&n>=S&&n<=s&&32===o){let e=n-1>=0?c.charCodeAt(n-1):0,t=n+1<u?c.charCodeAt(n+1):0;if(32!==e&&32!==t)continue}if(m&&h&&n===u-1){let e=n-1>=0?c.charCodeAt(n-1):0;if(32===o&&32!==e&&9!==e)continue}if(i&&(!k||k.startOffset>n||k.endOffset<=n))continue;let a=e.visibleRangeForPosition(new r.L(t,n+1));a&&(d?(T=Math.max(T,a.left),9===o?w+=this._renderArrow(f,y,a.left):w+=`<circle cx="${(a.left+y/2).toFixed(2)}" cy="${(f/2).toFixed(2)}" r="${(y/7).toFixed(2)}" />`):9===o?w+=`<div class="mwh" style="left:${a.left}px;height:${f}px;">${C?String.fromCharCode(65515):String.fromCharCode(8594)}</div>`:w+=`<div class="mwh" style="left:${a.left}px;height:${f}px;">${String.fromCharCode(_)}</div>`)}return d?(T=Math.round(T+y),`<svg style="bottom:0;position:absolute;width:${T}px;height:${f}px" viewBox="0 0 ${T} ${f}" xmlns="http://www.w3.org/2000/svg" fill="${l}">`+w+"</svg>"):w}_renderArrow(e,t,i){let n=e/2,o={x:0,y:t/7/2},s={x:.8*t,y:o.y},r={x:s.x-.2*s.x,y:s.y+.2*s.x},a={x:r.x+.1*s.x,y:r.y+.1*s.x},l={x:a.x+.35*s.x,y:a.y-.35*s.x},d={x:l.x,y:-l.y},c={x:a.x,y:-a.y},u={x:r.x,y:-r.y},h={x:s.x,y:-s.y},g={x:o.x,y:-o.y},m=[o,s,r,a,l,d,c,u,h,g].map(e=>`${(i+e.x).toFixed(2)} ${(n+e.y).toFixed(2)}`).join(" L ");return`<path d="M ${m}" />`}render(e,t){if(!this._renderResult)return"";let i=t-e;return i<0||i>=this._renderResult.length?"":this._renderResult[i]}}class d{constructor(e){let t=e.options,i=t.get(50),n=t.get(38);"off"===n?(this.renderWhitespace="none",this.renderWithSVG=!1):"svg"===n?(this.renderWhitespace=t.get(99),this.renderWithSVG=!0):(this.renderWhitespace=t.get(99),this.renderWithSVG=!1),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=t.get(67),this.stopRenderingLineAfter=t.get(117)}equals(e){return this.renderWhitespace===e.renderWhitespace&&this.renderWithSVG===e.renderWithSVG&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter}}},74938:function(e,t,i){"use strict";i.d(t,{Pe:function(){return p},ei:function(){return m},wk:function(){return c}});var n,o=i("41136"),s=i("97295"),r=i("94554"),a=i("94479"),l=i("6314"),d=i("88928");let c=Object.freeze({id:"editor",order:5,type:"object",title:a.NC("editorConfigurationTitle","Editor"),scope:5}),u={...c,properties:{"editor.tabSize":{type:"number",default:r.D.tabSize,minimum:1,markdownDescription:a.NC("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.indentSize":{anyOf:[{type:"string",enum:["tabSize"]},{type:"number",minimum:1}],default:"tabSize",markdownDescription:a.NC("indentSize",'The number of spaces used for indentation or `"tabSize"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')},"editor.insertSpaces":{type:"boolean",default:r.D.insertSpaces,markdownDescription:a.NC("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.","`#editor.detectIndentation#`")},"editor.detectIndentation":{type:"boolean",default:r.D.detectIndentation,markdownDescription:a.NC("detectIndentation","Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.","`#editor.tabSize#`","`#editor.insertSpaces#`")},"editor.trimAutoWhitespace":{type:"boolean",default:r.D.trimAutoWhitespace,description:a.NC("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:r.D.largeFileOptimizations,description:a.NC("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{enum:["off","currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[a.NC("wordBasedSuggestions.off","Turn off Word Based Suggestions."),a.NC("wordBasedSuggestions.currentDocument","Only suggest words from the active document."),a.NC("wordBasedSuggestions.matchingDocuments","Suggest words from all open documents of the same language."),a.NC("wordBasedSuggestions.allDocuments","Suggest words from all open documents.")],description:a.NC("wordBasedSuggestions","Controls whether completions should be computed based on words in the document and from which documents they are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[a.NC("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),a.NC("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),a.NC("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:a.NC("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:a.NC("stablePeek","Keep peek editors open even when double-clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:a.NC("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.experimental.asyncTokenization":{type:"boolean",default:!1,description:a.NC("editor.experimental.asyncTokenization","Controls whether the tokenization should happen asynchronously on a web worker."),tags:["experimental"]},"editor.experimental.asyncTokenizationLogging":{type:"boolean",default:!1,description:a.NC("editor.experimental.asyncTokenizationLogging","Controls whether async tokenization should be logged. For debugging only.")},"editor.experimental.asyncTokenizationVerification":{type:"boolean",default:!1,description:a.NC("editor.experimental.asyncTokenizationVerification","Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),tags:["experimental"]},"editor.language.brackets":{type:["array","null"],default:null,description:a.NC("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:a.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:a.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:a.NC("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:a.NC("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:a.NC("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:o.k.maxComputationTime,description:a.NC("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:o.k.maxFileSize,description:a.NC("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:o.k.renderSideBySide,description:a.NC("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderSideBySideInlineBreakpoint":{type:"number",default:o.k.renderSideBySideInlineBreakpoint,description:a.NC("renderSideBySideInlineBreakpoint","If the diff editor width is smaller than this value, the inline view is used.")},"diffEditor.useInlineViewWhenSpaceIsLimited":{type:"boolean",default:o.k.useInlineViewWhenSpaceIsLimited,description:a.NC("useInlineViewWhenSpaceIsLimited","If enabled and the editor width is too small, the inline view is used.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:o.k.renderMarginRevertIcon,description:a.NC("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.renderGutterMenu":{type:"boolean",default:o.k.renderGutterMenu,description:a.NC("renderGutterMenu","When enabled, the diff editor shows a special gutter for revert and stage actions.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:o.k.ignoreTrimWhitespace,description:a.NC("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:o.k.renderIndicators,description:a.NC("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:o.k.diffCodeLens,description:a.NC("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:o.k.diffWordWrap,markdownEnumDescriptions:[a.NC("wordWrap.off","Lines will never wrap."),a.NC("wordWrap.on","Lines will wrap at the viewport width."),a.NC("wordWrap.inherit","Lines will wrap according to the {0} setting.","`#editor.wordWrap#`")]},"diffEditor.diffAlgorithm":{type:"string",enum:["legacy","advanced"],default:o.k.diffAlgorithm,markdownEnumDescriptions:[a.NC("diffAlgorithm.legacy","Uses the legacy diffing algorithm."),a.NC("diffAlgorithm.advanced","Uses the advanced diffing algorithm.")],tags:["experimental"]},"diffEditor.hideUnchangedRegions.enabled":{type:"boolean",default:o.k.hideUnchangedRegions.enabled,markdownDescription:a.NC("hideUnchangedRegions.enabled","Controls whether the diff editor shows unchanged regions.")},"diffEditor.hideUnchangedRegions.revealLineCount":{type:"integer",default:o.k.hideUnchangedRegions.revealLineCount,markdownDescription:a.NC("hideUnchangedRegions.revealLineCount","Controls how many lines are used for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.minimumLineCount":{type:"integer",default:o.k.hideUnchangedRegions.minimumLineCount,markdownDescription:a.NC("hideUnchangedRegions.minimumLineCount","Controls how many lines are used as a minimum for unchanged regions."),minimum:1},"diffEditor.hideUnchangedRegions.contextLineCount":{type:"integer",default:o.k.hideUnchangedRegions.contextLineCount,markdownDescription:a.NC("hideUnchangedRegions.contextLineCount","Controls how many lines are used as context when comparing unchanged regions."),minimum:1},"diffEditor.experimental.showMoves":{type:"boolean",default:o.k.experimental.showMoves,markdownDescription:a.NC("showMoves","Controls whether the diff editor should show detected code moves.")},"diffEditor.experimental.showEmptyDecorations":{type:"boolean",default:o.k.experimental.showEmptyDecorations,description:a.NC("showEmptyDecorations","Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted.")}}};for(let e of s.Bc){let t=e.schema;if(void 0!==t){;if(void 0!==(n=t).type||void 0!==n.anyOf)u.properties[`editor.${e.name}`]=t;else for(let e in t)Object.hasOwnProperty.call(t,e)&&(u.properties[e]=t[e])}}let h=null;function g(){return null===h&&(h=Object.create(null),Object.keys(u.properties).forEach(e=>{h[e]=!0})),h}function m(e){return g()[`editor.${e}`]||!1}function p(e){return g()[`diffEditor.${e}`]||!1}d.B.as(l.IP.Configuration).registerConfiguration(u)},17202:function(e,t,i){"use strict";i.d(t,{M:function(){return s},q:function(){return o}});var n=i("45802");class o{static addRange(e,t){let i=0;for(;i<t.length&&t[i].endExclusive<e.start;)i++;let n=i;for(;n<t.length&&t[n].start<=e.endExclusive;)n++;if(i===n)t.splice(i,0,e);else{let s=Math.min(e.start,t[i].start),r=Math.max(e.endExclusive,t[n-1].endExclusive);t.splice(i,n-i,new o(s,r))}}static tryCreate(e,t){if(!(e>t))return new o(e,t)}static ofLength(e){return new o(0,e)}static ofStartAndLength(e,t){return new o(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new n.he(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new o(this.start+e,this.endExclusive+e)}deltaStart(e){return new o(this.start+e,this.endExclusive)}deltaEnd(e){return new o(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new o(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let t=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(t<=i)return new o(t,i)}intersects(e){let t=Math.max(this.start,e.start);return t<Math.min(this.endExclusive,e.endExclusive)}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new n.he(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;t<this.endExclusive;t++)e(t)}}class s{constructor(){this._sortedRanges=[]}addRange(e){let t=0;for(;t<this._sortedRanges.length&&this._sortedRanges[t].endExclusive<e.start;)t++;let i=t;for(;i<this._sortedRanges.length&&this._sortedRanges[i].start<=e.endExclusive;)i++;if(t===i)this._sortedRanges.splice(t,0,e);else{let n=Math.min(e.start,this._sortedRanges[t].start),s=Math.max(e.endExclusive,this._sortedRanges[i-1].endExclusive);this._sortedRanges.splice(t,i-t,new o(n,s))}}toString(){return this._sortedRanges.map(e=>e.toString()).join(", ")}intersectsStrict(e){let t=0;for(;t<this._sortedRanges.length&&this._sortedRanges[t].endExclusive<=e.start;)t++;return t<this._sortedRanges.length&&this._sortedRanges[t].start<e.endExclusive}intersectWithRange(e){let t=new s;for(let i of this._sortedRanges){let n=i.intersect(e);n&&t.addRange(n)}return t}intersectWithRangeLength(e){return this.intersectWithRange(e).length}get length(){return this._sortedRanges.reduce((e,t)=>e+t.length,0)}}},34086:function(e,t,i){"use strict";let n,o,s;i.d(t,{HT:function(){return h},kH:function(){return u},oe:function(){return c}});var r=i("71482"),a=i("97147"),l=i("85544");function d(){return!n&&(n=new TextDecoder("UTF-16LE")),n}function c(){return!s&&(s=a.r()?d():(!o&&(o=new TextDecoder("UTF-16BE")),o)),s}function u(e,t,i){let n=new Uint16Array(e.buffer,t,i);return i>0&&(65279===n[0]||65534===n[0])?function(e,t,i){let n=[],o=0;for(let s=0;s<i;s++){let i=l.mP(e,t);t+=2,n[o++]=String.fromCharCode(i)}return n.join("")}(e,t,i):d().decode(n)}class h{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";let e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return c().decode(e)}_flushBuffer(){let e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}appendCharCode(e){let t=this._capacity-this._bufferLength;t<=1&&(0===t||r.ZG(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIICharCode(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendString(e){let t=e.length;if(this._bufferLength+t>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let i=0;i<t;i++)this._buffer[this._bufferLength++]=e.charCodeAt(i)}}},26062:function(e,t,i){"use strict";i.d(t,{C:function(){return a}});var n=i("6950"),o=i("70668"),s=i("83112"),r=i("98681");class a{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new n.rS(new s.e(1,1,1,1),0,0,new o.L(1,1),0),new n.rS(new s.e(1,1,1,1),0,0,new o.L(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new n.Vi(this.modelState,this.viewState)}readSelectionFromMarkers(e){let t=e.model._getTrackedRange(this._selTrackedRange);return this.modelState.selection.isEmpty()&&!t.isEmpty()?r.Y.fromRange(t.collapseToEnd(),this.modelState.selection.getDirection()):r.Y.fromRange(t,this.modelState.selection.getDirection())}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,i){this._setState(e,t,i)}static _validatePositionWithCache(e,t,i,n){return t.equals(i)?n:e.normalizePosition(t,2)}static _validateViewState(e,t){let i=t.position,o=t.selectionStart.getStartPosition(),r=t.selectionStart.getEndPosition(),a=e.normalizePosition(i,2),l=this._validatePositionWithCache(e,o,i,a),d=this._validatePositionWithCache(e,r,o,l);return i.equals(a)&&o.equals(l)&&r.equals(d)?t:new n.rS(s.e.fromPositions(l,d),t.selectionStartKind,t.selectionStartLeftoverVisibleColumns+o.column-l.column,a,t.leftoverVisibleColumns+i.column-a.column)}_setState(e,t,i){if(i&&(i=a._validateViewState(e.viewModel,i)),t){let i=e.model.validateRange(t.selectionStart),o=t.selectionStart.equalsRange(i)?t.selectionStartLeftoverVisibleColumns:0,s=e.model.validatePosition(t.position),r=t.position.equals(s)?t.leftoverVisibleColumns:0;t=new n.rS(i,t.selectionStartKind,o,s,r)}else{if(!i)return;let o=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(i.selectionStart)),s=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(i.position));t=new n.rS(o,i.selectionStartKind,i.selectionStartLeftoverVisibleColumns,s,i.leftoverVisibleColumns)}if(i){let o=e.coordinatesConverter.validateViewRange(i.selectionStart,t.selectionStart),s=e.coordinatesConverter.validateViewPosition(i.position,t.position);i=new n.rS(o,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}else{let r=e.coordinatesConverter.convertModelPositionToViewPosition(new o.L(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),a=e.coordinatesConverter.convertModelPositionToViewPosition(new o.L(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),l=new s.e(r.lineNumber,r.column,a.lineNumber,a.column),d=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);i=new n.rS(l,t.selectionStartKind,t.selectionStartLeftoverVisibleColumns,d,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=i,this._updateTrackedRange(e)}}},2306:function(e,t,i){"use strict";i.d(t,{b:function(){return n}});class n{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let t=0===e?0:o(this.lines[e-1]);return 1e3-(t+(e===this.lines.length?0:o(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function o(e){let t=0;for(;t<e.length&&(32===e.charCodeAt(t)||9===e.charCodeAt(t));)t++;return t}},64141:function(e,t,i){"use strict";i.d(t,{AD:function(){return E},DI:function(){return I},Ll:function(){return _},MO:function(){return O},MY:function(){return b},Nq:function(){return p},R4:function(){return F},RW:function(){return V},WU:function(){return D},WW:function(){return f},bq:function(){return h},bw:function(){return m},gX:function(){return g},gl:function(){return w},hG:function(){return R},ln:function(){return P},mY:function(){return C},rn:function(){return L},uZ:function(){return v},vx:function(){return A},w:function(){return y}});var n,o,s,r,a,l,d,c,u,h,g,m,p,f,b,v,y,_,C,w,L,S=i("76115"),x=i("98084"),k=i("83112"),T=i("88633"),N=i("94479");class D{constructor(e,t,i){this.offset=e,this.type=t,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class R{constructor(e,t){this.tokens=e,this.endState=t,this._tokenizationResultBrand=void 0}}class I{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}(n=h||(h={}))[n.Increase=0]="Increase",n[n.Decrease=1]="Decrease",!function(e){let t=new Map;t.set(0,S.l.symbolMethod),t.set(1,S.l.symbolFunction),t.set(2,S.l.symbolConstructor),t.set(3,S.l.symbolField),t.set(4,S.l.symbolVariable),t.set(5,S.l.symbolClass),t.set(6,S.l.symbolStruct),t.set(7,S.l.symbolInterface),t.set(8,S.l.symbolModule),t.set(9,S.l.symbolProperty),t.set(10,S.l.symbolEvent),t.set(11,S.l.symbolOperator),t.set(12,S.l.symbolUnit),t.set(13,S.l.symbolValue),t.set(15,S.l.symbolEnum),t.set(14,S.l.symbolConstant),t.set(15,S.l.symbolEnum),t.set(16,S.l.symbolEnumMember),t.set(17,S.l.symbolKeyword),t.set(27,S.l.symbolSnippet),t.set(18,S.l.symbolText),t.set(19,S.l.symbolColor),t.set(20,S.l.symbolFile),t.set(21,S.l.symbolReference),t.set(22,S.l.symbolCustomColor),t.set(23,S.l.symbolFolder),t.set(24,S.l.symbolTypeParameter),t.set(25,S.l.account),t.set(26,S.l.issues);e.toIcon=function(e){let i=t.get(e);return!i&&(console.info("No codicon found for CompletionItemKind "+e),i=S.l.symbolProperty),i};let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26);e.fromString=function(e,t){let n=i.get(e);return void 0===n&&!t&&(n=9),n}}(g||(g={})),(o=m||(m={}))[o.Automatic=0]="Automatic",o[o.Explicit=1]="Explicit";class P{constructor(e,t,i,n){this.range=e,this.text=t,this.completionKind=i,this.isSnippetText=n}equals(e){return k.e.lift(this.range).equalsRange(e.range)&&this.text===e.text&&this.completionKind===e.completionKind&&this.isSnippetText===e.isSnippetText}}function A(e){return e&&x.o.isUri(e.uri)&&k.e.isIRange(e.range)&&(k.e.isIRange(e.originSelectionRange)||k.e.isIRange(e.targetSelectionRange))}(s=p||(p={}))[s.Automatic=0]="Automatic",s[s.PasteAs=1]="PasteAs",(r=f||(f={}))[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange",(a=b||(b={}))[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write";let M={17:(0,N.NC)("Array","array"),16:(0,N.NC)("Boolean","boolean"),4:(0,N.NC)("Class","class"),13:(0,N.NC)("Constant","constant"),8:(0,N.NC)("Constructor","constructor"),9:(0,N.NC)("Enum","enumeration"),21:(0,N.NC)("EnumMember","enumeration member"),23:(0,N.NC)("Event","event"),7:(0,N.NC)("Field","field"),0:(0,N.NC)("File","file"),11:(0,N.NC)("Function","function"),10:(0,N.NC)("Interface","interface"),19:(0,N.NC)("Key","key"),5:(0,N.NC)("Method","method"),1:(0,N.NC)("Module","module"),2:(0,N.NC)("Namespace","namespace"),20:(0,N.NC)("Null","null"),15:(0,N.NC)("Number","number"),18:(0,N.NC)("Object","object"),24:(0,N.NC)("Operator","operator"),3:(0,N.NC)("Package","package"),6:(0,N.NC)("Property","property"),14:(0,N.NC)("String","string"),22:(0,N.NC)("Struct","struct"),25:(0,N.NC)("TypeParameter","type parameter"),12:(0,N.NC)("Variable","variable")};function F(e,t){return(0,N.NC)("symbolAriaLabel","{0} ({1})",e,M[t])}!function(e){let t=new Map;t.set(0,S.l.symbolFile),t.set(1,S.l.symbolModule),t.set(2,S.l.symbolNamespace),t.set(3,S.l.symbolPackage),t.set(4,S.l.symbolClass),t.set(5,S.l.symbolMethod),t.set(6,S.l.symbolProperty),t.set(7,S.l.symbolField),t.set(8,S.l.symbolConstructor),t.set(9,S.l.symbolEnum),t.set(10,S.l.symbolInterface),t.set(11,S.l.symbolFunction),t.set(12,S.l.symbolVariable),t.set(13,S.l.symbolConstant),t.set(14,S.l.symbolString),t.set(15,S.l.symbolNumber),t.set(16,S.l.symbolBoolean),t.set(17,S.l.symbolArray),t.set(18,S.l.symbolObject),t.set(19,S.l.symbolKey),t.set(20,S.l.symbolNull),t.set(21,S.l.symbolEnumMember),t.set(22,S.l.symbolStruct),t.set(23,S.l.symbolEvent),t.set(24,S.l.symbolOperator),t.set(25,S.l.symbolTypeParameter);e.toIcon=function(e){let i=t.get(e);return!i&&(console.info("No codicon found for SymbolKind "+e),i=S.l.symbolProperty),i}}(v||(v={}));class E{static fromValue(e){switch(e){case"comment":return E.Comment;case"imports":return E.Imports;case"region":return E.Region}return new E(e)}constructor(e){this.value=e}}E.Comment=new E("comment"),E.Imports=new E("imports"),E.Region=new E("region"),(l=y||(y={}))[l.AIGenerated=1]="AIGenerated",(d=_||(_={}))[d.Invoke=0]="Invoke",d[d.Automatic=1]="Automatic",(C||(C={})).is=function(e){return!!e&&"object"==typeof e&&"string"==typeof e.id&&"string"==typeof e.title},(c=w||(w={}))[c.Type=1]="Type",c[c.Parameter=2]="Parameter";class O{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return!this._tokenizationSupport&&(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}let V=new T.R;(u=L||(L={}))[u.Invoke=0]="Invoke",u[u.Automatic=1]="Automatic"},5128:function(e,t,i){"use strict";i.d(t,{B:function(){return o}});var n=i("78219");class o{constructor(e){this.lastOffset=n.xl,this.nextNodes=[e],this.offsets=[n.xl],this.idxs=[]}readLongestNodeAt(e,t){if((0,n.VR)(e,this.lastOffset))throw Error("Invalid offset");for(this.lastOffset=e;;){let i=r(this.nextNodes);if(!i)return;let o=r(this.offsets);if((0,n.VR)(e,o))return;if((0,n.VR)(o,e)){if((0,n.Ii)(o,i.length)<=e)this.nextNodeAfterCurrent();else{let e=s(i);-1!==e?(this.nextNodes.push(i.getChild(e)),this.offsets.push(o),this.idxs.push(e)):this.nextNodeAfterCurrent()}}else{if(t(i))return this.nextNodeAfterCurrent(),i;let e=s(i);if(-1===e){this.nextNodeAfterCurrent();return}this.nextNodes.push(i.getChild(e)),this.offsets.push(o),this.idxs.push(e)}}}nextNodeAfterCurrent(){for(;;){let e=r(this.offsets),t=r(this.nextNodes);if(this.nextNodes.pop(),this.offsets.pop(),0===this.idxs.length)break;let i=r(this.nextNodes),o=s(i,this.idxs[this.idxs.length-1]);if(-1!==o){this.nextNodes.push(i.getChild(o)),this.offsets.push((0,n.Ii)(e,t.length)),this.idxs[this.idxs.length-1]=o;break}this.idxs.pop()}}}function s(e,t=-1){for(;;){if(++t>=e.childrenLength)return -1;if(e.getChild(t))return t}}function r(e){return e.length>0?e[e.length-1]:void 0}},84853:function(e,t,i){"use strict";i.d(t,{WU:function(){return l},g:function(){return u},xH:function(){return d}});var n=i("45802"),o=i("54532"),s=i("44850"),r=i("78219"),a=i("83812");class l{constructor(e,t,i,n,o){this.length=e,this.kind=t,this.bracketId=i,this.bracketIds=n,this.astNode=o}}class d{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.reader=new c(this.textModel,this.bracketTokens),this._offset=r.xl,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,r.Hg)(this.textBufferLineCount-1,this.textBufferLastLineLength)}skip(e){this.didPeek=!1,this._offset=(0,r.Ii)(this._offset,e);let t=(0,r.Hw)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let e;return this.peeked?(this.didPeek=!1,e=this.peeked):e=this.reader.read(),e&&(this._offset=(0,r.Ii)(this._offset,e.length)),e}peek(){return!this.didPeek&&(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}class c{constructor(e,t){this.textModel=e,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=e.getLineCount(),this.textBufferLastLineLength=e.getLineLength(this.textBufferLineCount)}setPosition(e,t){e===this.lineIdx?(this.lineCharOffset=t,null!==this.line&&(this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset))):(this.lineIdx=e,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){let e=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,r.F_)(e.length),e}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));let e=this.lineIdx,t=this.lineCharOffset,i=0;for(;;){let n=this.lineTokens,s=n.getCount(),a=null;if(this.lineTokenOffset<s){let l=n.getMetadata(this.lineTokenOffset);for(;this.lineTokenOffset+1<s&&l===n.getMetadata(this.lineTokenOffset+1);)this.lineTokenOffset++;let d=0===o.N.getTokenType(l),c=o.N.containsBalancedBrackets(l),u=n.getEndOffset(this.lineTokenOffset);if(c&&d&&this.lineCharOffset<u){let e=n.getLanguageId(this.lineTokenOffset),t=this.line.substring(this.lineCharOffset,u),i=this.bracketTokens.getSingleLanguageBracketTokens(e),o=i.regExpGlobal;if(o){o.lastIndex=0;let e=o.exec(t);e&&(a=i.getToken(e[0]))&&(this.lineCharOffset+=e.index)}}if(i+=u-this.lineCharOffset,a){if(e===this.lineIdx&&t===this.lineCharOffset)return this.lineCharOffset+=(0,r.F_)(a.length),a;this.peekedToken=a;break}this.lineTokenOffset++,this.lineCharOffset=u}else{if(this.lineIdx===this.textBufferLineCount-1)break;if(this.lineIdx++,this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.lineTokenOffset=0,this.line=this.lineTokens.getLineContent(),this.lineCharOffset=0,(i+=33)>1e3)break}if(i>1500)break}let n=(0,r.av)(e,t,this.lineIdx,this.lineCharOffset);return new l(n,0,-1,a.tS.getEmpty(),new s.BH(n))}}class u{constructor(e,t){let i;this.text=e,this._offset=r.xl,this.idx=0;let n=t.getRegExpStr(),o=n?RegExp(n+"|\n","gi"):null,d=[],c=0,u=0,h=0,g=0,m=[];for(let e=0;e<60;e++)m.push(new l((0,r.Hg)(0,e),0,-1,a.tS.getEmpty(),new s.BH((0,r.Hg)(0,e))));let p=[];for(let e=0;e<60;e++)p.push(new l((0,r.Hg)(1,e),0,-1,a.tS.getEmpty(),new s.BH((0,r.Hg)(1,e))));if(o)for(o.lastIndex=0;null!==(i=o.exec(e));){let e=i.index,n=i[0];if("\n"===n)c++,u=e+1;else{if(h!==e){let t;if(g===c){let i=e-h;if(i<m.length)t=m[i];else{let e=(0,r.Hg)(0,i);t=new l(e,0,-1,a.tS.getEmpty(),new s.BH(e))}}else{let i=c-g,n=e-u;if(1===i&&n<p.length)t=p[n];else{let e=(0,r.Hg)(i,n);t=new l(e,0,-1,a.tS.getEmpty(),new s.BH(e))}}d.push(t)}d.push(t.getToken(n)),h=e+n.length,g=c}}let f=e.length;if(h!==f){let e=g===c?(0,r.Hg)(0,f-h):(0,r.Hg)(c-g,f-u);d.push(new l(e,0,-1,a.tS.getEmpty(),new s.BH(e)))}this.length=(0,r.Hg)(c,f-u),this.tokens=d}get offset(){return this._offset}read(){return this.tokens[this.idx++]||null}peek(){return this.tokens[this.idx]||null}skip(e){throw new n.B8}}},72751:function(e,t,i){"use strict";i.d(t,{x:function(){return f}});var n=i("88799"),o=i("37764"),s=i("42733"),r=i("29149"),a=i("85351"),l=i("96468"),d=i("83112"),c=i("6438"),u=i("98212"),h=i("94590"),g=i("7005"),m=i("52129"),p=function(e,t){return function(i,n){t(i,n,e)}};let f=class extends o.JT{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new u.Q5),this._markerDecorations=new g.Y9,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){let i=this._markerDecorations.get(e);return i&&i.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{let t=this._markerDecorations.get(e);t&&this._updateDecorations(t)})}_onModelAdded(e){let t=new b(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){var t;let i=this._markerDecorations.get(e.uri);i&&(i.dispose(),this._markerDecorations.delete(e.uri)),(e.uri.scheme===c.lg.inMemory||e.uri.scheme===c.lg.internal||e.uri.scheme===c.lg.vscode)&&(null===(t=this._markerService)||void 0===t||t.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri])))}_updateDecorations(e){let t=this._markerService.read({resource:e.model.uri,take:500});e.update(t)&&this._onDidChangeMarker.fire(e.model)}};f=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([p(0,l.q),p(1,n.lT)],f);class b extends o.JT{constructor(e){super(),this.model=e,this._map=new g.YQ,this._register((0,o.OF)(()=>{this.model.deltaDecorations([...this._map.values()],[]),this._map.clear()}))}update(e){let{added:t,removed:i}=(0,m.q)(new Set(this._map.keys()),new Set(e));if(0===t.length&&0===i.length)return!1;let n=i.map(e=>this._map.get(e)),o=t.map(e=>({range:this._createDecorationRange(this.model,e),options:this._createDecorationOption(e)})),s=this.model.deltaDecorations(n,o);for(let e of i)this._map.delete(e);for(let e=0;e<s.length;e++)this._map.set(t[e],s[e]);return!0}getMarker(e){return this._map.getKey(e.id)}_createDecorationRange(e,t){let i=d.e.lift(t);if(t.severity===n.ZL.Hint&&!this._hasMarkerTag(t,1)&&!this._hasMarkerTag(t,2)&&(i=i.setEndPosition(i.startLineNumber,i.startColumn+2)),(i=e.validateRange(i)).isEmpty()){let t=e.getLineLastNonWhitespaceColumn(i.startLineNumber)||e.getLineMaxColumn(i.startLineNumber);if(1===t||i.endColumn>=t)return i;let n=e.getWordAtPosition(i.getStartPosition());n&&(i=new d.e(i.startLineNumber,n.startColumn,i.endLineNumber,n.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&i.startLineNumber===i.endLineNumber){let n=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);n<i.endColumn&&(i=new d.e(i.startLineNumber,n,i.endLineNumber,i.endColumn),t.startColumn=n)}return i}_createDecorationOption(e){let t,i,o,l,d;switch(e.severity){case n.ZL.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",i=0;break;case n.ZL.Info:t="squiggly-info",l=(0,r.EN)(a.eS),i=10,o={color:(0,r.EN)(h.Gvr),position:1};break;case n.ZL.Warning:t="squiggly-warning",l=(0,r.EN)(a.Re),i=20,o={color:(0,r.EN)(h.Ivo),position:1};break;case n.ZL.Error:default:t="squiggly-error",l=(0,r.EN)(a.lK),i=30,o={color:(0,r.EN)(h.Gj_),position:1}}return e.tags&&(-1!==e.tags.indexOf(1)&&(d="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(d="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:l,position:s.sh.Right},minimap:o,zIndex:i,inlineClassName:d}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}}},30410:function(e,t,i){"use strict";i.d(t,{B8:function(){return u},UX:function(){return d},aq:function(){return c},iN:function(){return g},ld:function(){return l},qq:function(){return a},ug:function(){return r},xi:function(){return h}});var n,o,s,r,a,l,d,c,u,h,g,m=i("94479");(r||(r={})).inspectTokensAction=m.NC("inspectTokens","Developer: Inspect Tokens"),(a||(a={})).gotoLineActionLabel=m.NC("gotoLineActionLabel","Go to Line/Column..."),(l||(l={})).helpQuickAccessActionLabel=m.NC("helpQuickAccess","Show all Quick Access Providers"),(n=d||(d={})).quickCommandActionLabel=m.NC("quickCommandActionLabel","Command Palette"),n.quickCommandHelp=m.NC("quickCommandActionHelp","Show And Run Commands"),(o=c||(c={})).quickOutlineActionLabel=m.NC("quickOutlineActionLabel","Go to Symbol..."),o.quickOutlineByCategoryActionLabel=m.NC("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(s=u||(u={})).editorViewAccessibleLabel=m.NC("editorViewAccessibleLabel","Editor content"),s.accessibilityHelpMessage=m.NC("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(h||(h={})).toggleHighContrast=m.NC("toggleHighContrast","Toggle High Contrast Theme"),(g||(g={})).bulkEditServiceSummary=m.NC("bulkEditServiceSummary","Made {0} edits in {1} files")},88633:function(e,t,i){"use strict";i.d(t,{R:function(){return s}});var n=i("98212"),o=i("37764");class s{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new n.Q5,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,o.OF)(()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){var i;null===(i=this._factories.get(e))||void 0===i||i.dispose();let n=new r(this,e,t);return this._factories.set(e,n),(0,o.OF)(()=>{let t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())})}async getOrCreate(e){let t=this.get(e);if(t)return t;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;let t=this._factories.get(e);return!t||!!t.isResolved||!1}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class r extends o.JT{get isResolved(){return this._isResolved}constructor(e,t,i){super(),this._registry=e,this._languageId=t,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return!this._resolvePromise&&(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}},44432:function(e,t,i){"use strict";i.d(t,{E:function(){return a}});var n=i("98212"),o=i("37764"),s=i("91754"),r=i("64141");class a extends o.JT{static getInstance(){return!this._INSTANCE&&(this._INSTANCE=(0,o.dk)(new a)),this._INSTANCE}constructor(){super(),this._onDidChange=new n.Q5,this.onDidChange=this._onDidChange.event,this._updateColorMap(),this._register(r.RW.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()}))}_updateColorMap(){let e=r.RW.getColorMap();if(!e){this._colors=[s.h.Empty],this._backgroundIsLight=!0;return}this._colors=[s.h.Empty];for(let t=1;t<e.length;t++){let i=e[t].rgba;this._colors[t]=new s.h(i.r,i.g,i.b,Math.round(255*i.a))}let t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}a._INSTANCE=null},25334:function(e,t,i){"use strict";i.d(t,{M:function(){return b},U:function(){return g}});var n=i("47983"),o=i("70668"),s=i("83112"),r=i("5705"),a=i("84144"),l=i("12680"),d=i("87496"),c=i("13369"),u=i("52740"),h=i("3907");class g{constructor(e,t,i,n,o,s,r,a,l,d){this._editorId=e,this.model=t,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=i,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=o,this.tabSize=s,this.wrappingStrategy=r,this.wrappingColumn=a,this.wrappingIndent=l,this.wordBreak=d,this._constructLines(!0,null)}dispose(){this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[])}createCoordinatesConverter(){return new f(this)}_constructLines(e,t){this.modelLineProjections=[],e&&(this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,[]));let i=this.model.getLinesContent(),o=this.model.getInjectedTextDecorations(this._editorId),r=i.length,a=this.createLineBreaksComputer(),d=new n.H9(l.gk.fromDecorations(o));for(let e=0;e<r;e++){let n=d.takeWhile(t=>t.lineNumber===e+1);a.addRequest(i[e],n,t?t[e]:null)}let h=a.finalize(),g=[],m=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(s.e.compareRangesUsingStarts),p=1,f=0,b=-1,v=0<m.length?f+1:r+2;for(let e=0;e<r;e++){let t=e+1;t===v&&(p=m[++b].startLineNumber,f=m[b].endLineNumber,v=b+1<m.length?f+1:r+2);let i=t>=p&&t<=f,n=(0,c.W)(h[e],!i);g[e]=n.getViewLineCount(),this.modelLineProjections[e]=n}this._validModelVersionId=this.model.getVersionId(),this.projectedModelLineLineCounts=new u.Ck(g)}getHiddenAreas(){return this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e))}setHiddenAreas(e){let t=function(e){if(0===e.length)return[];let t=e.slice();t.sort(s.e.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,o=t[0].endLineNumber;for(let e=1,r=t.length;e<r;e++){let r=t[e];r.startLineNumber>o+1?(i.push(new s.e(n,1,o,1)),n=r.startLineNumber,o=r.endLineNumber):r.endLineNumber>o&&(o=r.endLineNumber)}return i.push(new s.e(n,1,o,1)),i}(e.map(e=>this.model.validateRange(e))),i=this.hiddenAreasDecorationIds.map(e=>this.model.getDecorationRange(e)).sort(s.e.compareRangesUsingStarts);if(t.length===i.length){let e=!1;for(let n=0;n<t.length;n++)if(!t[n].equalsRange(i[n])){e=!0;break}if(!e)return!1}let n=t.map(e=>({range:e,options:a.qx.EMPTY}));this.hiddenAreasDecorationIds=this.model.deltaDecorations(this.hiddenAreasDecorationIds,n);let o=1,r=0,l=-1,d=0<t.length?r+1:this.modelLineProjections.length+2,c=!1;for(let e=0;e<this.modelLineProjections.length;e++){let i=e+1;i===d&&(o=t[++l].startLineNumber,r=t[l].endLineNumber,d=l+1<t.length?r+1:this.modelLineProjections.length+2);let n=!1;if(i>=o&&i<=r?this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!1),n=!0):(c=!0,!this.modelLineProjections[e].isVisible()&&(this.modelLineProjections[e]=this.modelLineProjections[e].setVisible(!0),n=!0)),n){let t=this.modelLineProjections[e].getViewLineCount();this.projectedModelLineLineCounts.setValue(e,t)}}return!c&&this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1)&&!(e>this.modelLineProjections.length)&&this.modelLineProjections[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.modelLineProjections.length?1:this.modelLineProjections[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n,o){let s=this.fontInfo.equals(e),r=this.wrappingStrategy===t,a=this.wrappingColumn===i,l=this.wrappingIndent===n,d=this.wordBreak===o;if(s&&r&&a&&l&&d)return!1;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n,this.wordBreak=o;let c=null;if(s&&r&&!a&&l&&d){c=[];for(let e=0,t=this.modelLineProjections.length;e<t;e++)c[e]=this.modelLineProjections[e].getProjectionData()}return this._constructLines(!1,c),!0}createLineBreaksComputer(){return("advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory).createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent,this.wordBreak)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,i){if(!e||e<=this._validModelVersionId)return null;let n=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,o=this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections.splice(t-1,i-t+1),this.projectedModelLineLineCounts.removeValues(t-1,i-t+1),new d.vk(n,o)}onModelLinesInserted(e,t,i,n){if(!e||e<=this._validModelVersionId)return null;let o=t>2&&!this.modelLineProjections[t-2].isVisible(),s=1===t?1:this.projectedModelLineLineCounts.getPrefixSum(t-1)+1,r=0,a=[],l=[];for(let e=0,t=n.length;e<t;e++){let t=(0,c.W)(n[e],!o);a.push(t);let i=t.getViewLineCount();r+=i,l[e]=i}return this.modelLineProjections=this.modelLineProjections.slice(0,t-1).concat(a).concat(this.modelLineProjections.slice(t-1)),this.projectedModelLineLineCounts.insertValues(t-1,l),new d.K9(s,s+r-1)}onModelLineChanged(e,t,i){if(null!==e&&e<=this._validModelVersionId)return[!1,null,null,null];let n=t-1,o=this.modelLineProjections[n].getViewLineCount(),s=this.modelLineProjections[n].isVisible(),r=(0,c.W)(i,s);this.modelLineProjections[n]=r;let a=this.modelLineProjections[n].getViewLineCount(),l=!1,u=0,h=-1,g=0,m=-1,p=0,f=-1;o>a?(f=(p=(h=(u=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+a-1)+1)+(o-a)-1,l=!0):o<a?(m=(g=(h=(u=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+o-1)+1)+(a-o)-1,l=!0):h=(u=this.projectedModelLineLineCounts.getPrefixSum(t-1)+1)+a-1,this.projectedModelLineLineCounts.setValue(n,a);let b=u<=h?new d.il(u,h-u+1):null,v=g<=m?new d.K9(g,m):null;return[l,b,v,p<=f?new d.vk(p,f):null]}acceptVersionId(e){this._validModelVersionId=e,1===this.modelLineProjections.length&&!this.modelLineProjections[0].isVisible()&&this.setHiddenAreas([])}getViewLineCount(){return this.projectedModelLineLineCounts.getTotalSum()}_toValidViewLineNumber(e){if(e<1)return 1;let t=this.getViewLineCount();return e>t?t:0|e}getActiveIndentGuide(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);let n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),s=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),r=this.model.guides.getActiveIndentGuide(n.lineNumber,o.lineNumber,s.lineNumber),a=this.convertModelPositionToViewPosition(r.startLineNumber,1),l=this.convertModelPositionToViewPosition(r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:l.lineNumber,indent:r.indent}}getViewLineInfo(e){e=this._toValidViewLineNumber(e);let t=this.projectedModelLineLineCounts.getIndexOf(e-1),i=t.index;return new m(i+1,t.remainder)}getMinColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getMaxColumnOfViewLine(e){return this.modelLineProjections[e.modelLineNumber-1].getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx)}getModelStartPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMinColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new o.L(e.modelLineNumber,n)}getModelEndPositionOfViewLine(e){let t=this.modelLineProjections[e.modelLineNumber-1],i=t.getViewLineMaxColumn(this.model,e.modelLineNumber,e.modelLineWrappedLineIdx),n=t.getModelColumnOfViewPosition(e.modelLineWrappedLineIdx,i);return new o.L(e.modelLineNumber,n)}getViewLineInfosGroupedByModelRanges(e,t){let i=this.getViewLineInfo(e),n=this.getViewLineInfo(t),r=[],a=this.getModelStartPositionOfViewLine(i),l=[];for(let e=i.modelLineNumber;e<=n.modelLineNumber;e++){let t=this.modelLineProjections[e-1];if(t.isVisible()){let o=e===i.modelLineNumber?i.modelLineWrappedLineIdx:0,s=e===n.modelLineNumber?n.modelLineWrappedLineIdx+1:t.getViewLineCount();for(let t=o;t<s;t++)l.push(new m(e,t))}if(!t.isVisible()&&a){let t=new o.L(e-1,this.model.getLineMaxColumn(e-1)+1),i=s.e.fromPositions(a,t);r.push(new p(i,l)),l=[],a=null}else t.isVisible()&&!a&&(a=new o.L(e,1))}if(a){let e=s.e.fromPositions(a,this.getModelEndPositionOfViewLine(n));r.push(new p(e,l))}return r}getViewLinesBracketGuides(e,t,i,n){let o=i?this.convertViewPositionToModelPosition(i.lineNumber,i.column):null,s=[];for(let i of this.getViewLineInfosGroupedByModelRanges(e,t)){let e=i.modelRange.startLineNumber,t=this.model.guides.getLinesBracketGuides(e,i.modelRange.endLineNumber,o,n);for(let n of i.viewLines){let i=t[n.modelLineNumber-e].map(e=>{if(-1!==e.forWrappedLinesAfterColumn&&this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesAfterColumn).lineNumber>=n.modelLineWrappedLineIdx||-1!==e.forWrappedLinesBeforeOrAtColumn&&this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.forWrappedLinesBeforeOrAtColumn).lineNumber<n.modelLineWrappedLineIdx)return;if(!e.horizontalLine)return e;let t=-1;if(-1!==e.column){let i=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.column);if(i.lineNumber===n.modelLineWrappedLineIdx)t=i.column;else if(i.lineNumber<n.modelLineWrappedLineIdx)t=this.getMinColumnOfViewLine(n);else if(i.lineNumber>n.modelLineWrappedLineIdx)return}let i=this.convertModelPositionToViewPosition(n.modelLineNumber,e.horizontalLine.endColumn),o=this.modelLineProjections[n.modelLineNumber-1].getViewPositionOfModelPosition(0,e.horizontalLine.endColumn);if(o.lineNumber===n.modelLineWrappedLineIdx)return new r.UO(e.visibleColumn,t,e.className,new r.vW(e.horizontalLine.top,i.column),-1,-1);if(!(o.lineNumber<n.modelLineWrappedLineIdx)&&-1===e.visibleColumn)return new r.UO(e.visibleColumn,t,e.className,new r.vW(e.horizontalLine.top,this.getMaxColumnOfViewLine(n)),-1,-1)});s.push(i.filter(e=>!!e))}}return s}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),s=[],r=[],a=[],l=i.lineNumber-1,d=n.lineNumber-1,c=null;for(let e=l;e<=d;e++){let t=this.modelLineProjections[e];if(t.isVisible()){let n=t.getViewLineNumberOfModelPosition(0,e===l?i.column:1),s=t.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(e+1)),d=s-n+1,u=0;d>1&&1===t.getViewLineMinColumn(this.model,e+1,s)&&(u=0===n?1:2),r.push(d),a.push(u),null===c&&(c=new o.L(e+1,0))}else null!==c&&(s=s.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,e)),c=null)}null!==c&&(s=s.concat(this.model.guides.getLinesIndentGuides(c.lineNumber,n.lineNumber)),c=null);let u=t-e+1,h=Array(u),g=0;for(let e=0,t=s.length;e<t;e++){let t,i=s[e],n=Math.min(u-g,r[e]),o=a[e];t=2===o?0:1===o?1:n;for(let e=0;e<n;e++)e===t&&(i=0),h[g++]=i}return h}getViewLineContent(e){let t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineContent(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineLength(e){let t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineLength(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMinColumn(e){let t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMinColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineMaxColumn(e){let t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineMaxColumn(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLineData(e){let t=this.getViewLineInfo(e);return this.modelLineProjections[t.modelLineNumber-1].getViewLineData(this.model,t.modelLineNumber,t.modelLineWrappedLineIdx)}getViewLinesData(e,t,i){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),o=e,s=n.index,r=n.remainder,a=[];for(let n=s,l=this.model.getLineCount();n<l;n++){let l=this.modelLineProjections[n];if(!l.isVisible())continue;let d=n===s?r:0,c=l.getViewLineCount()-d,u=!1;if(o+c>t&&(u=!0,c=t-o+1),l.getViewLinesData(this.model,n+1,d,c,o-e,i,a),o+=c,u)break}return a}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);let n=this.projectedModelLineLineCounts.getIndexOf(e-1),s=n.index,r=n.remainder,a=this.modelLineProjections[s],l=a.getViewLineMinColumn(this.model,s+1,r),d=a.getViewLineMaxColumn(this.model,s+1,r);t<l&&(t=l),t>d&&(t=d);let c=a.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new o.L(s+1,c)).equals(i)?new o.L(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)}validateViewRange(e,t){let i=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new s.e(i.lineNumber,i.column,n.lineNumber,n.column)}convertViewPositionToModelPosition(e,t){let i=this.getViewLineInfo(e),n=this.modelLineProjections[i.modelLineNumber-1].getModelColumnOfViewPosition(i.modelLineWrappedLineIdx,t);return this.model.validatePosition(new o.L(i.modelLineNumber,n))}convertViewRangeToModelRange(e){let t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new s.e(t.lineNumber,t.column,i.lineNumber,i.column)}convertModelPositionToViewPosition(e,t,i=2,n=!1,s=!1){let r;let a=this.model.validatePosition(new o.L(e,t)),l=a.lineNumber,d=a.column,c=l-1,u=!1;if(s)for(;c<this.modelLineProjections.length&&!this.modelLineProjections[c].isVisible();)c++,u=!0;else for(;c>0&&!this.modelLineProjections[c].isVisible();)c--,u=!0;if(0===c&&!this.modelLineProjections[c].isVisible())return new o.L(n?0:1,1);let h=1+this.projectedModelLineLineCounts.getPrefixSum(c);return r=u?s?this.modelLineProjections[c].getViewPositionOfModelPosition(h,1,i):this.modelLineProjections[c].getViewPositionOfModelPosition(h,this.model.getLineMaxColumn(c+1),i):this.modelLineProjections[l-1].getViewPositionOfModelPosition(h,d,i)}convertModelRangeToViewRange(e,t=0){if(e.isEmpty()){let i=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,t);return s.e.fromPositions(i)}{let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn,1),i=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn,0);return new s.e(t.lineNumber,t.column,i.lineNumber,i.column)}}getViewLineNumberOfModelPosition(e,t){let i=e-1;if(this.modelLineProjections[i].isVisible()){let e=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(e,t)}for(;i>0&&!this.modelLineProjections[i].isVisible();)i--;if(0===i&&!this.modelLineProjections[i].isVisible())return 1;let n=1+this.projectedModelLineLineCounts.getPrefixSum(i);return this.modelLineProjections[i].getViewLineNumberOfModelPosition(n,this.model.getLineMaxColumn(i+1))}getDecorationsInRange(e,t,i,n,r){let a=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),l=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(l.lineNumber-a.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new s.e(a.lineNumber,1,l.lineNumber,l.column),t,i,n,r);let d=[],c=a.lineNumber-1,u=l.lineNumber-1,h=null;for(let e=c;e<=u;e++)if(this.modelLineProjections[e].isVisible())null===h&&(h=new o.L(e+1,e===c?a.column:1));else if(null!==h){let o=this.model.getLineMaxColumn(e);d=d.concat(this.model.getDecorationsInRange(new s.e(h.lineNumber,h.column,e,o),t,i,n)),h=null}null!==h&&(d=d.concat(this.model.getDecorationsInRange(new s.e(h.lineNumber,h.column,l.lineNumber,l.column),t,i,n)),h=null),d.sort((e,t)=>{let i=s.e.compareRangesUsingStarts(e.range,t.range);if(0===i)return e.id<t.id?-1:e.id>t.id?1:0;return i});let g=[],m=0,p=null;for(let e of d){let t=e.id;p!==t&&(p=t,g[m++]=e)}return g}getInjectedTextAt(e){let t=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[t.modelLineNumber-1].getInjectedTextAt(t.modelLineWrappedLineIdx,e.column)}normalizePosition(e,t){let i=this.getViewLineInfo(e.lineNumber);return this.modelLineProjections[i.modelLineNumber-1].normalizePosition(i.modelLineWrappedLineIdx,e,t)}getLineIndentColumn(e){let t=this.getViewLineInfo(e);return 0===t.modelLineWrappedLineIdx?this.model.getLineIndentColumn(t.modelLineNumber):0}}class m{constructor(e,t){this.modelLineNumber=e,this.modelLineWrappedLineIdx=t}}class p{constructor(e,t){this.modelRange=e,this.viewLines=t}}class f{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t,i,n){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t,i,n)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}getViewLineNumberOfModelPosition(e,t){return this._lines.getViewLineNumberOfModelPosition(e,t)}}class b{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new v(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new d.vk(t,i)}onModelLinesInserted(e,t,i,n){return new d.K9(t,i)}onModelLineChanged(e,t,i){return[!1,new d.il(t,1),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesBracketGuides(e,t,i){return Array(t-e+1).fill([])}getViewLinesIndentGuides(e,t){let i=t-e+1,n=Array(i);for(let e=0;e<i;e++)n[e]=0;return n}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){let t=this.model.tokenization.getLineTokens(e),i=t.getLineContent();return new h.IP(i,!1,1,i.length+1,0,t.inflate(),null)}getViewLinesData(e,t,i){let n=this.model.getLineCount();e=Math.min(Math.max(1,e),n),t=Math.min(Math.max(1,t),n);let o=[];for(let n=e;n<=t;n++){let t=n-e;o[t]=i[t]?this.getViewLineData(n):null}return o}getDecorationsInRange(e,t,i,n,o){return this.model.getDecorationsInRange(e,t,i,n,o)}normalizePosition(e,t){return this.model.normalizePosition(e,t)}getLineIndentColumn(e){return this.model.getLineIndentColumn(e)}getInjectedTextAt(e){return null}}class v{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){let t=this._lines.model.getLineCount();return!(e.lineNumber<1)&&!(e.lineNumber>t)&&!0}getModelLineViewLineCount(e){return 1}getViewLineNumberOfModelPosition(e,t){return e}}},51423:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var n=i("83112"),o=i("98681");class s{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;let i=this._selection.startLineNumber,o=this._selection.startColumn,s=this._selection.endColumn;if(!this._isMovingLeft||1!==o){if(this._isMovingLeft||s!==e.getLineMaxColumn(i)){if(this._isMovingLeft){let r=new n.e(i,o-1,i,o),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new n.e(i,s,i,s),a)}else{let r=new n.e(i,s,i,s+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new n.e(i,o,i,o),a)}}}}computeCursorState(e,t){return this._isMovingLeft?new o.Y(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new o.Y(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}},31843:function(e,t,i){"use strict";i.d(t,{Bb:function(){return k},LR:function(){return A},MN:function(){return T},RB:function(){return L},TM:function(){return D},UX:function(){return o},aI:function(){return P},cz:function(){return S},pZ:function(){return x},uH:function(){return N}});var n,o,s=i("47983"),r=i("66735"),a=i("45802"),l=i("37764"),d=i("98084"),c=i("48933"),u=i("83112"),h=i("98681"),g=i("76891"),m=i("96468"),p=i("61791"),f=i("94479"),b=i("249"),v=i("97717"),y=i("24726"),_=i("48467"),C=i("13105"),w=i("22712");let L="editor.action.codeAction",S="editor.action.quickFix",x="editor.action.autoFix",k="editor.action.refactor",T="editor.action.sourceAction",N="editor.action.organizeImports",D="editor.action.fixAll";class R extends l.JT{static codeActionsPreferredComparator(e,t){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:0}static codeActionsComparator({action:e},{action:t}){return e.isAI&&!t.isAI?1:!e.isAI&&t.isAI?-1:(0,s.Of)(e.diagnostics)?(0,s.Of)(t.diagnostics)?R.codeActionsPreferredComparator(e,t):-1:(0,s.Of)(t.diagnostics)?1:R.codeActionsPreferredComparator(e,t)}constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(R.codeActionsComparator),this.validActions=this.allActions.filter(({action:e})=>!e.disabled)}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&C.yN.QuickFix.contains(new w.o(e.kind))&&!!e.isPreferred)}get hasAIFix(){return this.validActions.some(({action:e})=>!!e.isAI)}get allAIFixes(){return this.validActions.every(({action:e})=>!!e.isAI)}}let I={actions:[],documentation:void 0};async function P(e,t,i,n,o,r){var d;let c=n.filter||{},u={...c,excludes:[...c.excludes||[],C.yN.Notebook]},h={only:null===(d=c.include)||void 0===d?void 0:d.value,trigger:n.type},g=new p.YQ(t,r),m=function(e,t,i){return e.all(t).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>(0,C.EU)(i,new w.o(e))))}(e,t,2===n.type?u:c),f=new l.SL,b=m.map(async e=>{try{o.report(e);let n=await e.provideCodeActions(t,i,h,g.token);if(n&&f.add(n),g.token.isCancellationRequested)return I;let s=((null==n?void 0:n.actions)||[]).filter(e=>e&&(0,C.Yl)(c,e)),r=function(e,t,i){if(!e.documentation)return;let n=e.documentation.map(e=>({kind:new w.o(e.kind),command:e.command}));if(i){let e;for(let t of n)t.kind.contains(i)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(let e of t)if(e.kind){for(let t of n)if(t.kind.contains(new w.o(e.kind)))return t.command}}(e,s,c.include);return{actions:s.map(t=>new C.bA(t,e)),documentation:r}}catch(e){if((0,a.n2)(e))throw e;return(0,a.Cp)(e),I}}),v=e.onDidChange(()=>{let i=e.all(t);!(0,s.fS)(i,m)&&g.cancel()});try{let i=await Promise.all(b),o=i.map(e=>e.actions).flat(),r=[...(0,s.kX)(i.map(e=>e.documentation)),...function*(e,t,i,n){var o,s,r;if(t&&n.length)for(let a of e.all(t))a._getAdditionalMenuItems&&(yield*null===(o=a._getAdditionalMenuItems)||void 0===o?void 0:o.call(a,{trigger:i.type,only:null===(r=null===(s=i.filter)||void 0===s?void 0:s.include)||void 0===r?void 0:r.value},n.map(e=>e.action)))}(e,t,n,o)];return new R(o,r,f)}finally{v.dispose(),g.dispose()}}async function A(e,t,i,n,s=r.Ts.None){var a;let l=e.get(c.vu),d=e.get(b.H),u=e.get(_.b),h=e.get(v.lT);if(u.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:i}),await t.resolve(s),!s.isCancellationRequested){if((null===(a=t.action.edit)||void 0===a?void 0:a.edits.length)&&!(await l.apply(t.action.edit,{editor:null==n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:i!==o.OnSave,showPreview:null==n?void 0:n.preview})).isApplied)return;if(t.action.command)try{await d.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(t){let e=function(e){return"string"==typeof e?e:e instanceof Error&&"string"==typeof e.message?e.message:void 0}(t);h.error("string"==typeof e?e:f.NC("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}}(n=o||(o={})).OnSave="onSave",n.FromProblemsView="fromProblemsView",n.FromCodeActions="fromCodeActions",n.FromAILightbulb="fromAILightbulb";b.P.registerCommand("_executeCodeActionProvider",async function(e,t,i,n,o){if(!(t instanceof d.o))throw(0,a.b1)();let{codeActionProvider:s}=e.get(g.p),l=e.get(m.q).getModel(t);if(!l)throw(0,a.b1)();let c=h.Y.isISelection(i)?h.Y.liftSelection(i):u.e.isIRange(i)?l.validateRange(i):void 0;if(!c)throw(0,a.b1)();let p="string"==typeof n?new w.o(n):void 0,f=await P(s,l,c,{type:1,triggerAction:C.aQ.Default,filter:{includeSourceActions:!0,include:p}},y.Ex.None,r.Ts.None),b=[],v=Math.min(f.validActions.length,"number"==typeof o?o:0);for(let e=0;e<v;e++)b.push(f.validActions[e].resolve(r.Ts.None));try{return await Promise.all(b),f.validActions.map(e=>e.action)}finally{setTimeout(()=>f.dispose(),100)}})},37797:function(e,t,i){"use strict";i.d(t,{G:function(){return A}});var n,o=i("55952"),s=i("74471"),r=i("45802"),a=i("71461"),l=i("37764"),d=i("70668"),c=i("84144"),u=i("76891"),h=i("31843"),g=i("34635"),m=i("37785"),p=i("84740"),f=i("91797"),b=i("94479"),v=i("78098"),y=i("249"),_=i("756"),C=i("77667"),w=i("95449"),L=i("88799"),S=i("24726"),x=i("94590"),k=i("91989"),T=i("29149"),N=i("13105"),D=i("37662"),R=i("22712"),I=i("48467"),P=function(e,t){return function(i,n){t(i,n,e)}};let A=n=class extends l.JT{static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,o,s,r,d,c,u,h){super(),this._commandService=r,this._configurationService=d,this._actionWidgetService=c,this._instantiationService=u,this._telemetryService=h,this._activeCodeActions=this._register(new l.XK),this._showDisabled=!1,this._disposed=!1,this._editor=e,this._model=this._register(new D.Jt(this._editor,o.codeActionProvider,t,i,s,d)),this._register(this._model.onDidChangeState(e=>this.update(e))),this._lightBulbWidget=new a.o(()=>{let e=this._editor.getContribution(p.f.ID);return e&&this._register(e.onClick(e=>this.showCodeActionsFromLightbulb(e.actions,e))),e}),this._resolver=n.createInstance(g.q),this._register(this._editor.onDidLayoutChange(()=>this._actionWidgetService.hide()))}dispose(){this._disposed=!0,super.dispose()}async showCodeActionsFromLightbulb(e,t){if(this._telemetryService.publicLog2("codeAction.showCodeActionsFromLightbulb",{codeActionListLength:e.validActions.length,codeActions:e.validActions.map(e=>e.action.title),codeActionProviders:e.validActions.map(e=>{var t,i;return null!==(i=null===(t=e.provider)||void 0===t?void 0:t.displayName)&&void 0!==i?i:""})}),e.allAIFixes&&1===e.validActions.length){let t=e.validActions[0],i=t.action.command;i&&"inlineChat.start"===i.id&&i.arguments&&i.arguments.length>=1&&(i.arguments[0]={...i.arguments[0],autoSend:!1}),await this._applyCodeAction(t,!1,!1,h.UX.FromAILightbulb);return}await this.showCodeActionList(e,t,{includeDisabledActions:!1,fromLightbulb:!0})}showCodeActions(e,t,i){return this.showCodeActionList(t,i,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,i,n){var o;if(!this._editor.hasModel())return;null===(o=f.O.get(this._editor))||void 0===o||o.closeMessage();let s=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:i,autoApply:n,context:{notAvailableMessage:e,position:s}})}_trigger(e){return this._model.trigger(e)}async _applyCodeAction(e,t,i,n){try{await this._instantiationService.invokeFunction(h.LR,e,n,{preview:i,editor:this._editor})}finally{t&&this._trigger({type:2,triggerAction:N.aQ.QuickFix,filter:{}})}}async update(e){var t,i,n,o,s,a,l;let d;if(1!==e.type){null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide();return}try{d=await e.actions}catch(e){(0,r.dL)(e);return}if(!this._disposed){if(null===(i=this._lightBulbWidget.value)||void 0===i||i.update(d,e.trigger,e.position),1===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){let t=this.tryGetValidActionToApply(e.trigger,d);if(t){try{null===(o=this._lightBulbWidget.value)||void 0===o||o.hide(),await this._applyCodeAction(t,!1,!1,h.UX.FromCodeActions)}finally{d.dispose()}return}if(e.trigger.context){let t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,d);if(t&&t.action.disabled){null===(s=f.O.get(this._editor))||void 0===s||s.showMessage(t.action.disabled,e.trigger.context.position),d.dispose();return}}}let t=!!(null===(a=e.trigger.filter)||void 0===a?void 0:a.include);if(e.trigger.context&&(!d.allActions.length||!t&&!d.validActions.length)){null===(l=f.O.get(this._editor))||void 0===l||l.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=d,d.dispose();return}this._activeCodeActions.value=d,this.showCodeActionList(d,this.toCoords(e.position),{includeDisabledActions:t,fromLightbulb:!1})}else this._actionWidgetService.isVisible?d.dispose():this._activeCodeActions.value=d}}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length))return t.allActions.find(({action:e})=>e.disabled)}tryGetValidActionToApply(e,t){if(t.validActions.length&&("first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length))return t.validActions[0]}async showCodeActionList(e,t,i){let o=this._editor.createDecorationsCollection(),r=this._editor.getDomNode();if(!r)return;let a=i.includeDisabledActions&&(this._showDisabled||0===e.validActions.length)?e.allActions:e.validActions;if(!a.length)return;let l=d.L.isIPosition(t)?this.toCoords(t):t;this._actionWidgetService.show("codeActionWidget",!0,(0,m.O)(a,this._shouldShowHeaders(),this._resolver.getResolver()),{onSelect:async(e,t)=>{this._applyCodeAction(e,!0,!!t,i.fromLightbulb?h.UX.FromAILightbulb:h.UX.FromCodeActions),this._actionWidgetService.hide(!1),o.clear()},onHide:t=>{var n;null===(n=this._editor)||void 0===n||n.focus(),o.clear(),i.fromLightbulb&&void 0!==t&&this._telemetryService.publicLog2("codeAction.showCodeActionList.onHide",{codeActionListLength:e.validActions.length,didCancel:t})},onHover:async(e,t)=>{var i;if(t.isCancellationRequested)return;let n=!1,o=e.action.kind;if(o){let e=new R.o(o);n=[N.yN.RefactorExtract,N.yN.RefactorInline,N.yN.RefactorRewrite,N.yN.RefactorMove,N.yN.Source].some(t=>t.contains(e))}return{canPreview:n||!!(null===(i=e.action.edit)||void 0===i?void 0:i.edits.length)}},onFocus:e=>{var t,i;if(e&&e.action){let r=e.action.ranges,a=e.action.diagnostics;if(o.clear(),r&&r.length>0){let e=a&&(null==a?void 0:a.length)>1?a.map(e=>({range:e,options:n.DECORATION})):r.map(e=>({range:e,options:n.DECORATION}));o.set(e)}else if(a&&a.length>0){let e=a.map(e=>({range:e,options:n.DECORATION}));o.set(e);let r=a[0];if(r.startLineNumber&&r.startColumn){let e=null===(i=null===(t=this._editor.getModel())||void 0===t?void 0:t.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn}))||void 0===i?void 0:i.word;s.i7((0,b.NC)("editingNewSelection","Context: {0} at line {1} and column {2}.",e,r.startLineNumber,r.startColumn))}}}else o.clear()}},l,r,this._getActionBarActions(e,t,i))}toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();let t=this._editor.getScrolledVisiblePosition(e),i=(0,o.i)(this._editor.getDomNode()),n=i.left+t.left;return{x:n,y:i.top+t.top+t.height}}_shouldShowHeaders(){var e;let t=null===(e=this._editor)||void 0===e?void 0:e.getModel();return this._configurationService.getValue("editor.codeActionWidget.showHeaders",{resource:null==t?void 0:t.uri})}_getActionBarActions(e,t,i){if(i.fromLightbulb)return[];let n=e.documentation.map(e=>{var t;return{id:e.id,label:e.title,tooltip:null!==(t=e.tooltip)&&void 0!==t?t:"",class:void 0,enabled:!0,run:()=>{var t;return this._commandService.executeCommand(e.id,...null!==(t=e.arguments)&&void 0!==t?t:[])}}});return i.includeDisabledActions&&e.validActions.length>0&&e.allActions.length!==e.validActions.length&&n.push(this._showDisabled?{id:"hideMoreActions",label:(0,b.NC)("hideMoreActions","Hide Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!1,this.showCodeActionList(e,t,i))}:{id:"showMoreActions",label:(0,b.NC)("showMoreActions","Show Disabled"),enabled:!0,tooltip:"",class:void 0,run:()=>(this._showDisabled=!0,this.showCodeActionList(e,t,i))}),n}};A.ID="editor.contrib.codeActionController",A.DECORATION=c.qx.register({description:"quickfix-highlight",className:"quickfix-edit-highlight"}),A=n=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([P(1,L.lT),P(2,C.i6),P(3,w.TG),P(4,u.p),P(5,S.ek),P(6,y.H),P(7,_.Ui),P(8,v.v),P(9,w.TG),P(10,I.b)],A),(0,T.Ic)((e,t)=>{var i;(i=e.getColor(x.MUv))&&t.addRule(`.monaco-editor .quickfix-edit-highlight { background-color: ${i}; }`);let n=e.getColor(x.EiJ);n&&t.addRule(`.monaco-editor .quickfix-edit-highlight { border: 1px ${(0,k.c3)(e.type)?"dotted":"solid"} ${n}; box-sizing: border-box; }`)})},34635:function(e,t,i){"use strict";i.d(t,{q:function(){return u}});var n,o,s,r=i("22712"),a=i("71461"),l=i("31843"),d=i("13105"),c=i("81171");let u=s=class{constructor(e){this.keybindingService=e}getResolver(){let e=new a.o(()=>this.keybindingService.getKeybindings().filter(e=>s.codeActionCommands.indexOf(e.command)>=0).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===l.uH?t={kind:d.yN.SourceOrganizeImports.value}:e.command===l.TM&&(t={kind:d.yN.SourceFixAll.value}),{resolvedKeybinding:e.resolvedKeybinding,...d.wZ.fromUser(t,{kind:r.o.None,apply:"never"})}}));return t=>{if(t.kind){let i=this.bestKeybindingForCodeAction(t,e.value);return null==i?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;let i=new r.o(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>e?e.kind.contains(t.kind)?t:e:t,void 0)}};u.codeActionCommands=[l.Bb,l.RB,l.MN,l.uH,l.TM],u=s=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([(n=0,o=c.d,function(e,t){o(e,t,0)})],u)},84740:function(e,t,i){"use strict";i.d(t,{f:function(){return v}});var n,o,s,r=i("55952"),a=i("19711"),l=i("76115"),d=i("98212"),c=i("37764"),u=i("34308");i("74827");var h=i("4469"),g=i("31843"),m=i("94479"),p=i("249"),f=i("81171"),b=function(e,t){return function(i,n){t(i,n,e)}};(n=s||(s={})).Hidden={type:0},n.Showing=class e{constructor(e,t,i,n){this.actions=e,this.trigger=t,this.editorPosition=i,this.widgetPosition=n,this.type=1}};let v=o=class extends c.JT{constructor(e,t,i){super(),this._editor=e,this._keybindingService=t,this._onClick=this._register(new d.Q5),this.onClick=this._onClick.event,this._state=s.Hidden,this._iconClasses=[],this._domNode=r.$("div.lightBulbWidget"),this._domNode.role="listbox",this._register(a.o.ignoreTarget(this._domNode)),this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(e=>{let t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),this._register(r.GQ(this._domNode,e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();let{top:t,height:i}=r.i(this._domNode),n=this._editor.getOption(67),o=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(o+=n),this._onClick.fire({x:e.posx,y:t+i+o,actions:this.state.actions,trigger:this.state.trigger})})),this._register(r.nm(this._domNode,"mouseenter",e=>{(1&e.buttons)==1&&this.hide()})),this._register(d.ju.runAndSubscribe(this._keybindingService.onDidUpdateKeybindings,()=>{var e,t,i,n;this._preferredKbLabel=null!==(t=null===(e=this._keybindingService.lookupKeybinding(g.pZ))||void 0===e?void 0:e.getLabel())&&void 0!==t?t:void 0,this._quickFixKbLabel=null!==(n=null===(i=this._keybindingService.lookupKeybinding(g.cz))||void 0===i?void 0:i.getLabel())&&void 0!==n?n:void 0,this._updateLightBulbTitleAndIcon()}))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0||!this._editor.getOptions().get(65).enabled)return this.hide();let n=this._editor.getModel();if(!n)return this.hide();let{lineNumber:r,column:a}=n.validatePosition(i),l=n.getOptions().tabSize,d=this._editor.getOptions().get(50),c=n.getLineContent(r),u=(0,h.q)(c,l),g=d.spaceWidth*u>22,m=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1),p=r,f=1;if(!g){if(r>1&&!m(r-1))p-=1;else if(r<n.getLineCount()&&!m(r+1))p+=1;else if(a*d.spaceWidth<22)return this.hide();f=/^\S\s*$/.test(n.getLineContent(p))?2:1}this.state=new s.Showing(e,t,i,{position:{lineNumber:p,column:f},preference:o._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state!==s.Hidden&&(this.state=s.Hidden,this._editor.layoutContentWidget(this))}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){let e;if(this._domNode.classList.remove(...this._iconClasses),this._iconClasses=[],1!==this.state.type)return;let t=!1;this.state.actions.allAIFixes?(e=l.l.sparkleFilled,1===this.state.actions.validActions.length&&(t=!0)):e=this.state.actions.hasAutoFix?this.state.actions.hasAIFix?l.l.lightbulbSparkleAutofix:l.l.lightbulbAutofix:this.state.actions.hasAIFix?l.l.lightbulbSparkle:l.l.lightBulb,this._updateLightbulbTitle(this.state.actions.hasAutoFix,t),this._iconClasses=u.k.asClassNameArray(e),this._domNode.classList.add(...this._iconClasses)}_updateLightbulbTitle(e,t){1===this.state.type&&(t?this.title=m.NC("codeActionAutoRun","Run: {0}",this.state.actions.validActions[0].action.title):e&&this._preferredKbLabel?this.title=m.NC("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",this._preferredKbLabel):!e&&this._quickFixKbLabel?this.title=m.NC("codeActionWithKb","Show Code Actions ({0})",this._quickFixKbLabel):!e&&(this.title=m.NC("codeAction","Show Code Actions")))}set title(e){this._domNode.title=e}};v.ID="editor.contrib.lightbulbWidget",v._posPref=[0],v=o=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([b(1,f.d),b(2,p.H)],v)},30278:function(e,t,i){"use strict";var n=i("37764"),o=i("97147");i("42795");var s=i("36809"),r=i("70668"),a=i("83112"),l=i("98681"),d=i("84144"),c=i("56307");function u(e){return o.dz?e.altKey:e.ctrlKey}class h extends n.JT{constructor(e){super(),this._editor=e,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!0),this._mouseDown&&u(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){!(!this._editor.getOption(35)||this._editor.getOption(22))&&(u(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===h.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=(this._editor.getSelections()||[]).filter(e=>t.position&&e.containsPosition(t.position));if(1!==e.length)return;this._dragSelection=e[0]}u(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new r.L(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){let{selectionStartLineNumber:n,selectionStartColumn:o}=e;i=[new l.Y(n,o,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map(e=>e.containsPosition(t)?new l.Y(t.lineNumber,t.column,t.lineNumber,t.column):e);this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(u(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(h.ID,new c.u(this._dragSelection,t,u(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new a.e(e.lineNumber,e.column,e.lineNumber,e.column),options:h._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}h.ID="editor.contrib.dragAndDrop",h.TRIGGER_KEY_VALUE=o.dz?6:5,h._DECORATION_OPTIONS=d.qx.register({description:"dnd-target",className:"dnd-target"}),(0,s._K)(h.ID,h,2)},52305:function(e,t,i){"use strict";i.d(t,{CP:function(){return y},Dt:function(){return v},LM:function(){return _},M9:function(){return C},P$:function(){return b},Xu:function(){return x},a_:function(){return p},kR:function(){return L},mt:function(){return w},nD:function(){return S},qm:function(){return f}});var n=i("65910"),o=i("1966"),s=i("37764"),r=i("1380"),a=i("70668"),l=i("83112"),d=i("98681"),c=i("73886"),u=i("6956"),h=i("53920"),g=i("35490"),m=i("77667");let p=new m.uy("findWidgetVisible",!1);p.toNegated();let f=new m.uy("findInputFocussed",!1),b=new m.uy("replaceInputFocussed",!1),v={primary:545,mac:{primary:2593}},y={primary:565,mac:{primary:2613}},_={primary:560,mac:{primary:2608}},C={primary:554,mac:{primary:2602}},w={primary:558,mac:{primary:2606}},L={StartFindAction:"actions.find",StartFindWithSelection:"actions.findWithSelection",StartFindWithArgs:"editor.actions.findWithArgs",NextMatchFindAction:"editor.action.nextMatchFindAction",PreviousMatchFindAction:"editor.action.previousMatchFindAction",GoToMatchFindAction:"editor.action.goToMatchFindAction",NextSelectionMatchFindAction:"editor.action.nextSelectionMatchFindAction",PreviousSelectionMatchFindAction:"editor.action.previousSelectionMatchFindAction",StartFindReplaceAction:"editor.action.startFindReplaceAction",CloseFindWidgetCommand:"closeFindWidget",ToggleCaseSensitiveCommand:"toggleFindCaseSensitive",ToggleWholeWordCommand:"toggleFindWholeWord",ToggleRegexCommand:"toggleFindRegex",ToggleSearchScopeCommand:"toggleFindInSelection",TogglePreserveCaseCommand:"togglePreserveCase",ReplaceOneAction:"editor.action.replaceOne",ReplaceAllAction:"editor.action.replaceAll",SelectAllMatchesAction:"editor.action.selectAllMatches"},S=19999;class x{constructor(e,t){this._toDispose=new s.SL,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new o._F,this._decorations=new u.t(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new o.pY(()=>this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{(3===e.reason||5===e.reason||6===e.reason)&&this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{!this._ignoreModelContentChanged&&(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,s.B9)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed)this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))}static _getSearchRange(e,t){return t?t:e.getFullModelRange()}research(e,t){let i=null;void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new l.e(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e}));let o=this._findMatches(i,!1,S);this._decorations.set(o,i);let s=this._editor.getSelection(),r=this._decorations.getCurrentMatchesPosition(s);if(0===r&&o.length>0){let e=(0,n.J_)(o.map(e=>e.range),e=>l.e.compareRangesUsingStarts(e,s)>=0);r=e>0?e-1+1:r}this._state.changeMatchInfo(r,this._decorations.getCount(),void 0),e&&this._editor.getOption(41).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,o=this._editor.getModel();return t||1===n?(1===i?i=o.getLineCount():i--,n=o.getLineMaxColumn(i)):n--,new a.L(i,n)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){let t=this._decorations.matchAfterPosition(e);t&&this._setCurrentFindMatch(t);return}if(this._decorations.getCount()<S){let t=this._decorations.matchBeforePosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),t&&this._setCurrentFindMatch(t);return}if(this._cannotFind())return;let i=this._decorations.getFindScope(),n=x._getSearchRange(this._editor.getModel(),i);n.getEndPosition().isBefore(e)&&(e=n.getEndPosition()),e.isBefore(n.getStartPosition())&&(e=n.getEndPosition());let{lineNumber:o,column:s}=e,r=this._editor.getModel(),l=new a.L(o,s),d=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),d=r.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,!1)),d){if(!t&&!n.containsRange(d.range))return this._moveToPrevMatch(d.range.getStartPosition(),!0);this._setCurrentFindMatch(d.range)}}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:i,column:n}=e,o=this._editor.getModel();return t||n===o.getLineMaxColumn(i)?(i===o.getLineCount()?i=1:i++,n=1):n++,new a.L(i,n)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){let t=this._decorations.matchBeforePosition(e);t&&this._setCurrentFindMatch(t);return}if(this._decorations.getCount()<S){let t=this._decorations.matchAfterPosition(e);t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),t&&this._setCurrentFindMatch(t);return}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,n=!1){if(this._cannotFind())return null;let o=this._decorations.getFindScope(),s=x._getSearchRange(this._editor.getModel(),o);s.getEndPosition().isBefore(e)&&(e=s.getStartPosition()),e.isBefore(s.getStartPosition())&&(e=s.getStartPosition());let{lineNumber:r,column:l}=e,d=this._editor.getModel(),c=new a.L(r,l),u=d.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t);return(i&&u&&u.range.isEmpty()&&u.range.getStartPosition().equals(c)&&(c=this._nextSearchPosition(c),u=d.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t)),u)?n||s.containsRange(u.range)?u:this._getNextMatch(u.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_moveToMatch(e){let t=this._decorations.getDecorationRangeAt(e);t&&this._setCurrentFindMatch(t)}moveToMatch(e){this._moveToMatch(e)}_getReplacePattern(){return this._state.isRegex?(0,g.e$)(this._state.replaceString):g.UG.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),i=this._getNextMatch(t.getStartPosition(),!0,!1);if(i){if(t.equalsRange(i.range)){let n=e.buildReplaceString(i.matches,this._state.preserveCase),o=new r.T4(t,n);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new a.L(t.startLineNumber,t.startColumn+n.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(i.range)}}_findMatches(e,t,i){let n=(e||[null]).map(e=>x._getSearchRange(this._editor.getModel(),e));return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null,t,i)}replaceAll(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=S?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){let e;let t=new c.bc(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(131):null).parseSearchRequest();if(!t)return;let i=t.regex;if(!i.multiline){let e="mu";i.ignoreCase&&(e+="i"),i.global&&(e+="g"),i=new RegExp(i.source,e)}let n=this._editor.getModel(),o=n.getValue(1),s=n.getFullModelRange(),a=this._getReplacePattern(),l=this._state.preserveCase;e=a.hasReplacementPatterns||l?o.replace(i,function(){return a.buildReplaceString(arguments,l)}):o.replace(i,a.buildReplaceString(null,l));let d=new r.hP(s,e,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}_regularReplaceAll(e){let t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let e=0,o=i.length;e<o;e++)n[e]=t.buildReplaceString(i[e].matches,this._state.preserveCase);let o=new h.D(this._editor.getSelection(),i.map(e=>e.range),n);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824).map(e=>new d.Y(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),i=this._editor.getSelection();for(let e=0,n=t.length;e<n;e++)if(t[e].equalsRange(i)){t=[i].concat(t.slice(0,e)).concat(t.slice(e+1));break}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}},53920:function(e,t,i){"use strict";i.d(t,{D:function(){return o}});var n=i("83112");class o{constructor(e,t,i){this._editorSelection=e,this._ranges=t,this._replaceStrings=i,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort((e,t)=>n.e.compareRangesUsingStarts(e.range,t.range));let i=[],o=e[0];for(let t=1;t<e.length;t++)o.range.endLineNumber===e[t].range.startLineNumber&&o.range.endColumn===e[t].range.startColumn?(o.range=o.range.plusRange(e[t].range),o.text=o.text+e[t].text):(i.push(o),o=e[t]);for(let e of(i.push(o),i))t.addEditOperation(e.range,e.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}},35490:function(e,t,i){"use strict";i.d(t,{UG:function(){return r},e$:function(){return d}});var n=i("14147");class o{constructor(e){this.staticValue=e,this.kind=0}}class s{constructor(e){this.pieces=e,this.kind=1}}class r{static fromStaticValue(e){return new r([a.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new o(e[0].staticValue):this._state=new s(e):this._state=new o("")}buildReplaceString(e,t){if(0===this._state.kind)return t?(0,n.o)(e,this._state.staticValue):this._state.staticValue;let i="";for(let t=0,n=this._state.pieces.length;t<n;t++){let n=this._state.pieces[t];if(null!==n.staticValue){i+=n.staticValue;continue}let o=r._substitute(n.matchIndex,e);if(null!==n.caseOps&&n.caseOps.length>0){let e=[],t=n.caseOps.length,i=0;for(let s=0,r=o.length;s<r;s++){if(i>=t){e.push(o.slice(s));break}switch(n.caseOps[i]){case"U":e.push(o[s].toUpperCase());break;case"u":e.push(o[s].toUpperCase()),i++;break;case"L":e.push(o[s].toLowerCase());break;case"l":e.push(o[s].toLowerCase()),i++;break;default:e.push(o[s])}}o=e.join("")}i+=o}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(e<t.length)return(t[e]||"")+i;i=String(e%10)+i,e=Math.floor(e/10)}return"$"+i}}class a{static staticValue(e){return new a(e,-1,null)}static caseOps(e,t){return new a(null,e,t)}constructor(e,t,i){this.staticValue=e,this.matchIndex=t,i&&0!==i.length?this.caseOps=i.slice(0):this.caseOps=null}}class l{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,i){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=a.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=a.caseOps(e,i),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=a.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new r(this._result)}}function d(e){if(!e||0===e.length)return new r(null);let t=[],i=new l(e);for(let n=0,o=e.length;n<o;n++){let s=e.charCodeAt(n);if(92===s){if(++n>=o)break;let s=e.charCodeAt(n);switch(s){case 92:i.emitUnchanged(n-1),i.emitStatic("\\",n+1);break;case 110:i.emitUnchanged(n-1),i.emitStatic("\n",n+1);break;case 116:i.emitUnchanged(n-1),i.emitStatic(" ",n+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(n-1),i.emitStatic("",n+1),t.push(String.fromCharCode(s))}continue}if(36===s){if(++n>=o)break;let s=e.charCodeAt(n);if(36===s){i.emitUnchanged(n-1),i.emitStatic("$",n+1);continue}if(48===s||38===s){i.emitUnchanged(n-1),i.emitMatchIndex(0,n+1,t),t.length=0;continue}if(49<=s&&s<=57){let r=s-48;if(n+1<o){let o=e.charCodeAt(n+1);if(48<=o&&o<=57){n++,r=10*r+(o-48),i.emitUnchanged(n-2),i.emitMatchIndex(r,n+1,t),t.length=0;continue}}i.emitUnchanged(n-1),i.emitMatchIndex(r,n+1,t),t.length=0;continue}}}return i.finalize()}},65963:function(e,t,i){"use strict";i.d(t,{e:function(){return a}});var n=i("45802"),o=i("37764"),s=i("10702");let r={};class a{constructor(e,t,i,n,s){for(let r of(this.editorModel=e,this.providers=t,this.handleFoldingRangesChange=i,this.foldingRangesLimit=n,this.fallbackRangeProvider=s,this.id="syntax",this.disposables=new o.SL,s&&this.disposables.add(s),t))"function"==typeof r.onDidChange&&this.disposables.add(r.onDidChange(i))}compute(e){return(function(e,t,i){let o=null;return Promise.all(e.map((e,s)=>Promise.resolve(e.provideFoldingRanges(t,r,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){!Array.isArray(o)&&(o=[]);let i=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=i&&o.push({start:t.start,end:t.end,rank:s,kind:t.kind})}},n.Cp))).then(e=>o)})(this.providers,this.editorModel,e).then(t=>{var i,n;return t?function(e,t){let i,n=e.sort((e,t)=>{let i=e.start-t.start;return 0===i&&(i=e.rank-t.rank),i}),o=new l(t);let s=[];for(let e of n)if(i){if(e.start>i.start){if(e.end<=i.end)s.push(i),i=e,o.add(e.start,e.end,e.kind&&e.kind.value,s.length);else{if(e.start>i.end){do i=s.pop();while(i&&e.start>i.end);i&&s.push(i),i=e}o.add(e.start,e.end,e.kind&&e.kind.value,s.length)}}}else i=e,o.add(e.start,e.end,e.kind&&e.kind.value,s.length);return o.toIndentRanges()}(t,this.foldingRangesLimit):null!==(n=null===(i=this.fallbackRangeProvider)||void 0===i?void 0:i.compute(e))&&void 0!==n?n:null})}dispose(){this.disposables.dispose()}}class l{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){if(e>s.Xl||t>s.Xl)return;let o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=n,this._types[o]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1)}toIndentRanges(){let e=this._foldingRangesLimit.limit;if(this._length<=e){this._foldingRangesLimit.update(this._length,!1);let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;i<this._length;i++)e[i]=this._startIndexes[i],t[i]=this._endIndexes[i];return new s.MN(e,t,this._types)}{this._foldingRangesLimit.update(this._length,e);let t=0,i=this._nestingLevelCounts.length;for(let n=0;n<this._nestingLevelCounts.length;n++){let o=this._nestingLevelCounts[n];if(o){if(o+t>e){i=n;break}t+=o}}let n=new Uint32Array(e),o=new Uint32Array(e),r=[];for(let s=0,a=0;s<this._length;s++){let l=this._nestingLevels[s];(l<i||l===i&&t++<e)&&(n[a]=this._startIndexes[s],o[a]=this._endIndexes[s],r[a]=this._types[s],a++)}return new s.MN(n,o,r)}}}},26764:function(e,t,i){"use strict";i.d(t,{H:function(){return g}});var n,o=i("55952"),s=i("81171"),r=i("85242"),a=i("77667"),l=i("756"),d=i("44279"),c=i("8109"),u=i("60714"),h=function(e,t){return function(i,n){t(i,n,e)}};let g=n=class extends r.d{get isColorPickerVisible(){var e;return!!(null===(e=this._visibleData)||void 0===e?void 0:e.colorPicker)}get isVisibleFromKeyboard(){var e;return(null===(e=this._visibleData)||void 0===e?void 0:e.source)===1}get isVisible(){var e;return null!==(e=this._hoverVisibleKey.get())&&void 0!==e&&e}get isFocused(){var e;return null!==(e=this._hoverFocusedKey.get())&&void 0!==e&&e}constructor(e,t,i,n,s){let r=e.getOption(67)+8,a=new o.Ro(150,r);super(e,a),this._configurationService=i,this._accessibilityService=n,this._keybindingService=s,this._hover=this._register(new u.c8),this._minimumSize=a,this._hoverVisibleKey=c.u.hoverVisible.bindTo(t),this._hoverFocusedKey=c.u.hoverFocused.bindTo(t),o.R3(this._resizableNode.domNode,this._hover.containerDomNode),this._resizableNode.domNode.style.zIndex="50",this._register(this._editor.onDidLayoutChange(()=>{this.isVisible&&this._updateMaxDimensions()})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(50)&&this._updateFont()}));let l=this._register(o.go(this._resizableNode.domNode));this._register(l.onDidFocus(()=>{this._hoverFocusedKey.set(!0)})),this._register(l.onDidBlur(()=>{this._hoverFocusedKey.set(!1)})),this._setHoverData(void 0),this._editor.addContentWidget(this)}dispose(){var e;super.dispose(),null===(e=this._visibleData)||void 0===e||e.disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return n.ID}static _applyDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,o="number"==typeof i?`${i}px`:i;e.style.width=n,e.style.height=o}_setContentsDomNodeDimensions(e,t){let i=this._hover.contentsDomNode;return n._applyDimensions(i,e,t)}_setContainerDomNodeDimensions(e,t){let i=this._hover.containerDomNode;return n._applyDimensions(i,e,t)}_setHoverWidgetDimensions(e,t){this._setContentsDomNodeDimensions(e,t),this._setContainerDomNodeDimensions(e,t),this._layoutContentWidget()}static _applyMaxDimensions(e,t,i){let n="number"==typeof t?`${t}px`:t,o="number"==typeof i?`${i}px`:i;e.style.maxWidth=n,e.style.maxHeight=o}_setHoverWidgetMaxDimensions(e,t){n._applyMaxDimensions(this._hover.contentsDomNode,e,t),n._applyMaxDimensions(this._hover.containerDomNode,e,t),this._hover.containerDomNode.style.setProperty("--vscode-hover-maxWidth","number"==typeof e?`${e}px`:e),this._layoutContentWidget()}_setAdjustedHoverWidgetDimensions(e){this._setHoverWidgetMaxDimensions("none","none");let t=e.width,i=e.height;this._setHoverWidgetDimensions(t,i)}_updateResizableNodeMaxDimensions(){var e,t;let i=null!==(e=this._findMaximumRenderingWidth())&&void 0!==e?e:1/0,n=null!==(t=this._findMaximumRenderingHeight())&&void 0!==t?t:1/0;this._resizableNode.maxSize=new o.Ro(i,n),this._setHoverWidgetMaxDimensions(i,n)}_resize(e){var t,i;n._lastDimensions=new o.Ro(e.width,e.height),this._setAdjustedHoverWidgetDimensions(e),this._resizableNode.layout(e.height,e.width),this._updateResizableNodeMaxDimensions(),this._hover.scrollbar.scanDomNode(),this._editor.layoutContentWidget(this),null===(i=null===(t=this._visibleData)||void 0===t?void 0:t.colorPicker)||void 0===i||i.layout()}_findAvailableSpaceVertically(){var e;let t=null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition;if(t)return 1===this._positionPreference?this._availableVerticalSpaceAbove(t):this._availableVerticalSpaceBelow(t)}_findMaximumRenderingHeight(){let e=this._findAvailableSpaceVertically();if(!e)return;let t=6;return Array.from(this._hover.contentsDomNode.children).forEach(e=>{t+=e.clientHeight}),Math.min(e,t)}_isHoverTextOverflowing(){this._hover.containerDomNode.style.setProperty("--vscode-hover-whiteSpace","nowrap"),this._hover.containerDomNode.style.setProperty("--vscode-hover-sourceWhiteSpace","nowrap");let e=Array.from(this._hover.contentsDomNode.children).some(e=>e.scrollWidth>e.clientWidth);return this._hover.containerDomNode.style.removeProperty("--vscode-hover-whiteSpace"),this._hover.containerDomNode.style.removeProperty("--vscode-hover-sourceWhiteSpace"),e}_findMaximumRenderingWidth(){if(!this._editor||!this._editor.hasModel())return;let e=this._isHoverTextOverflowing(),t=void 0===this._contentWidth?0:this._contentWidth-2;if(!e&&!(this._hover.containerDomNode.clientWidth<t))return this._hover.containerDomNode.clientWidth+2;{let e=o.D6(this._hover.containerDomNode.ownerDocument.body).width;return e-14}}isMouseGettingCloser(e,t){if(!this._visibleData)return!1;if(void 0===this._visibleData.initialMousePosX||void 0===this._visibleData.initialMousePosY)return this._visibleData.initialMousePosX=e,this._visibleData.initialMousePosY=t,!1;let i=o.i(this.getDomNode());void 0===this._visibleData.closestMouseDistance&&(this._visibleData.closestMouseDistance=m(this._visibleData.initialMousePosX,this._visibleData.initialMousePosY,i.left,i.top,i.width,i.height));let n=m(e,t,i.left,i.top,i.width,i.height);return!(n>this._visibleData.closestMouseDistance+4)&&(this._visibleData.closestMouseDistance=Math.min(this._visibleData.closestMouseDistance,n),!0)}_setHoverData(e){var t;null===(t=this._visibleData)||void 0===t||t.disposables.dispose(),this._visibleData=e,this._hoverVisibleKey.set(!!e),this._hover.containerDomNode.classList.toggle("hidden",!e)}_updateFont(){let{fontSize:e,lineHeight:t}=this._editor.getOption(50),i=this._hover.contentsDomNode;i.style.fontSize=`${e}px`,i.style.lineHeight=`${t/e}`,Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(e=>this._editor.applyFontInfo(e))}_updateContent(e){let t=this._hover.contentsDomNode;t.style.paddingBottom="",t.textContent="",t.appendChild(e)}_layoutContentWidget(){this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}_updateMaxDimensions(){let e=Math.max(this._editor.getLayoutInfo().height/4,250,n._lastDimensions.height),t=Math.max(.66*this._editor.getLayoutInfo().width,500,n._lastDimensions.width);this._setHoverWidgetMaxDimensions(t,e)}_render(e,t){this._setHoverData(t),this._updateFont(),this._updateContent(e),this._updateMaxDimensions(),this.onContentsChanged(),this._editor.render()}getPosition(){var e;return this._visibleData?{position:this._visibleData.showAtPosition,secondaryPosition:this._visibleData.showAtSecondaryPosition,positionAffinity:this._visibleData.isBeforeContent?3:void 0,preference:[null!==(e=this._positionPreference)&&void 0!==e?e:1]}:null}showAt(e,t){var i,n,s,r;if(!this._editor||!this._editor.hasModel())return;this._render(e,t);let a=o.wn(this._hover.containerDomNode),l=t.showAtPosition;this._positionPreference=null!==(i=this._findPositionPreference(a,l))&&void 0!==i?i:1,this.onContentsChanged(),t.stoleFocus&&this._hover.containerDomNode.focus(),null===(n=t.colorPicker)||void 0===n||n.layout();let d=this._hover.containerDomNode.ownerDocument.activeElement===this._hover.containerDomNode&&(0,u.uX)(!0===this._configurationService.getValue("accessibility.verbosity.hover")&&this._accessibilityService.isScreenReaderOptimized(),null!==(r=null===(s=this._keybindingService.lookupKeybinding("editor.action.accessibleView"))||void 0===s?void 0:s.getAriaLabel())&&void 0!==r?r:"");d&&(this._hover.contentsDomNode.ariaLabel=this._hover.contentsDomNode.textContent+", "+d)}hide(){if(!this._visibleData)return;let e=this._visibleData.stoleFocus||this._hoverFocusedKey.get();this._setHoverData(void 0),this._resizableNode.maxSize=new o.Ro(1/0,1/0),this._resizableNode.clearSashHoverState(),this._hoverFocusedKey.set(!1),this._editor.layoutContentWidget(this),e&&this._editor.focus()}_removeConstraintsRenderNormally(){let e=this._editor.getLayoutInfo();this._resizableNode.layout(e.height,e.width),this._setHoverWidgetDimensions("auto","auto")}setMinimumDimensions(e){this._minimumSize=new o.Ro(Math.max(this._minimumSize.width,e.width),Math.max(this._minimumSize.height,e.height)),this._updateMinimumWidth()}_updateMinimumWidth(){let e=void 0===this._contentWidth?this._minimumSize.width:Math.min(this._contentWidth,this._minimumSize.width);this._resizableNode.minSize=new o.Ro(e,this._minimumSize.height)}onContentsChanged(){var e;this._removeConstraintsRenderNormally();let t=this._hover.containerDomNode,i=o.wn(t),n=o.w(t);if(this._resizableNode.layout(i,n),this._setHoverWidgetDimensions(n,i),i=o.wn(t),n=o.w(t),this._contentWidth=n,this._updateMinimumWidth(),this._resizableNode.layout(i,n),null===(e=this._visibleData)||void 0===e?void 0:e.showAtPosition){let e=o.wn(this._hover.containerDomNode);this._positionPreference=this._findPositionPreference(e,this._visibleData.showAtPosition)}this._layoutContentWidget()}focus(){this._hover.containerDomNode.focus()}scrollUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e-t.lineHeight})}scrollDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._editor.getOption(50);this._hover.scrollbar.setScrollPosition({scrollTop:e+t.lineHeight})}scrollLeft(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e-30})}scrollRight(){let e=this._hover.scrollbar.getScrollPosition().scrollLeft;this._hover.scrollbar.setScrollPosition({scrollLeft:e+30})}pageUp(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e-t})}pageDown(){let e=this._hover.scrollbar.getScrollPosition().scrollTop,t=this._hover.scrollbar.getScrollDimensions().height;this._hover.scrollbar.setScrollPosition({scrollTop:e+t})}goToTop(){this._hover.scrollbar.setScrollPosition({scrollTop:0})}goToBottom(){this._hover.scrollbar.setScrollPosition({scrollTop:this._hover.scrollbar.getScrollDimensions().scrollHeight})}};function m(e,t,i,n,o,s){let r=Math.max(Math.abs(e-(i+o/2))-o/2,0),a=Math.max(Math.abs(t-(n+s/2))-s/2,0);return Math.sqrt(r*r+a*a)}g.ID="editor.contrib.resizableContentHoverWidget",g._lastDimensions=new o.Ro(0,0),g=n=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([h(1,a.i6),h(2,l.Ui),h(3,d.F),h(4,s.d)],g)},22885:function(e,t,i){"use strict";i.d(t,{CJ:function(){return p},F_:function(){return S},HF:function(){return b},KN:function(){return y},O5:function(){return x},Rc:function(){return C},cE:function(){return w},cW:function(){return f},er:function(){return v},kv:function(){return m},lM:function(){return _},rb:function(){return L}});var n,o,s=i("37438"),r=i("85376"),a=i("36809"),l=i("83112"),d=i("8109"),c=i("70007"),u=i("53303"),h=i("64141"),g=i("94479");i("64243"),(n=o||(o={})).NoAutoFocus="noAutoFocus",n.FocusIfVisible="focusIfVisible",n.AutoFocusImmediately="autoFocusImmediately";class m extends a.R6{constructor(){super({id:s.s9,label:g.NC({key:"showOrFocusHover",comment:["Label for action that will trigger the showing/focusing of a hover in the editor.","If the hover is not visible, it will show the hover.","This allows for users to show the hover without using the mouse."]},"Show or Focus Hover"),metadata:{description:g.vv("showOrFocusHoverDescription","Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position."),args:[{name:"args",schema:{type:"object",properties:{focus:{description:"Controls if and when the hover should take focus upon being triggered by this action.",enum:[o.NoAutoFocus,o.FocusIfVisible,o.AutoFocusImmediately],enumDescriptions:[g.NC("showOrFocusHover.focus.noAutoFocus","The hover will not automatically take focus."),g.NC("showOrFocusHover.focus.focusIfVisible","The hover will take focus only if it is already visible."),g.NC("showOrFocusHover.focus.autoFocusImmediately","The hover will automatically take focus when it appears.")],default:o.FocusIfVisible}}}}]},alias:"Show or Focus Hover",precondition:void 0,kbOpts:{kbExpr:d.u.editorTextFocus,primary:(0,r.gx)(2089,2087),weight:100}})}run(e,t,i){if(!t.hasModel())return;let n=u.c.get(t);if(!n)return;let s=null==i?void 0:i.focus,r=o.FocusIfVisible;Object.values(o).includes(s)?r=s:"boolean"==typeof s&&s&&(r=o.AutoFocusImmediately);let a=e=>{let i=t.getPosition(),o=new l.e(i.lineNumber,i.column,i.lineNumber,i.column);n.showContentHover(o,1,1,e)},d=2===t.getOption(2);n.isHoverVisible?r!==o.NoAutoFocus?n.focus():a(d):a(d||r===o.AutoFocusImmediately)}}class p extends a.R6{constructor(){super({id:s.UW,label:g.NC({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0,metadata:{description:g.vv("showDefinitionPreviewHoverDescription","Show the definition preview hover in the editor.")}})}run(e,t){let i=u.c.get(t);if(!i)return;let n=t.getPosition();if(!n)return;let o=new l.e(n.lineNumber,n.column,n.lineNumber,n.column),s=c.S.get(t);if(!!s)s.startFindDefinitionFromCursor(n).then(()=>{i.showContentHover(o,1,1,!0)})}}class f extends a.R6{constructor(){super({id:s.p,label:g.NC({key:"scrollUpHover",comment:["Action that allows to scroll up in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Up Hover"),alias:"Scroll Up Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:16,weight:100},metadata:{description:g.vv("scrollUpHoverDescription","Scroll up the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.scrollUp()}}class b extends a.R6{constructor(){super({id:s.wf,label:g.NC({key:"scrollDownHover",comment:["Action that allows to scroll down in the hover widget with the up arrow when the hover widget is focused."]},"Scroll Down Hover"),alias:"Scroll Down Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:18,weight:100},metadata:{description:g.vv("scrollDownHoverDescription","Scroll down the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.scrollDown()}}class v extends a.R6{constructor(){super({id:s.q_,label:g.NC({key:"scrollLeftHover",comment:["Action that allows to scroll left in the hover widget with the left arrow when the hover widget is focused."]},"Scroll Left Hover"),alias:"Scroll Left Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:15,weight:100},metadata:{description:g.vv("scrollLeftHoverDescription","Scroll left the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.scrollLeft()}}class y extends a.R6{constructor(){super({id:s.iS,label:g.NC({key:"scrollRightHover",comment:["Action that allows to scroll right in the hover widget with the right arrow when the hover widget is focused."]},"Scroll Right Hover"),alias:"Scroll Right Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:17,weight:100},metadata:{description:g.vv("scrollRightHoverDescription","Scroll right the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.scrollRight()}}class _ extends a.R6{constructor(){super({id:s.cW,label:g.NC({key:"pageUpHover",comment:["Action that allows to page up in the hover widget with the page up command when the hover widget is focused."]},"Page Up Hover"),alias:"Page Up Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:11,secondary:[528],weight:100},metadata:{description:g.vv("pageUpHoverDescription","Page up the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.pageUp()}}class C extends a.R6{constructor(){super({id:s.B,label:g.NC({key:"pageDownHover",comment:["Action that allows to page down in the hover widget with the page down command when the hover widget is focused."]},"Page Down Hover"),alias:"Page Down Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:12,secondary:[530],weight:100},metadata:{description:g.vv("pageDownHoverDescription","Page down the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.pageDown()}}class w extends a.R6{constructor(){super({id:s.Io,label:g.NC({key:"goToTopHover",comment:["Action that allows to go to the top of the hover widget with the home command when the hover widget is focused."]},"Go To Top Hover"),alias:"Go To Bottom Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:14,secondary:[2064],weight:100},metadata:{description:g.vv("goToTopHoverDescription","Go to the top of the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.goToTop()}}class L extends a.R6{constructor(){super({id:s.eY,label:g.NC({key:"goToBottomHover",comment:["Action that allows to go to the bottom in the hover widget with the end command when the hover widget is focused."]},"Go To Bottom Hover"),alias:"Go To Bottom Hover",precondition:d.u.hoverFocused,kbOpts:{kbExpr:d.u.hoverFocused,primary:13,secondary:[2066],weight:100},metadata:{description:g.vv("goToBottomHoverDescription","Go to the bottom of the editor hover.")}})}run(e,t){let i=u.c.get(t);i&&i.goToBottom()}}class S extends a.R6{constructor(){super({id:s.Gd,label:g.NC({key:"increaseHoverVerbosityLevel",comment:["Label for action that will increase the hover verbosity level."]},"Increase Hover Verbosity Level"),alias:"Increase Hover Verbosity Level",precondition:d.u.hoverFocused})}run(e,t){var i;null===(i=u.c.get(t))||void 0===i||i.updateFocusedMarkdownHoverVerbosityLevel(h.bq.Increase)}}class x extends a.R6{constructor(){super({id:s.m,label:g.NC({key:"decreaseHoverVerbosityLevel",comment:["Label for action that will decrease the hover verbosity level."]},"Decrease Hover Verbosity Level"),alias:"Decrease Hover Verbosity Level",precondition:d.u.hoverFocused})}run(e,t,i){var n;null===(n=u.c.get(t))||void 0===n||n.updateFocusedMarkdownHoverVerbosityLevel(h.bq.Decrease)}}},24184:function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;n<e.length;n++)" "===e.charAt(n)?i+=t:i++;return i}function o(e,t,i){e=e<0?0:e;let n="";if(!i){let i=Math.floor(e/t);e%=t;for(let e=0;e<i;e++)n+=" "}for(let t=0;t<e;t++)n+=" ";return n}i.d(t,{J:function(){return o},Y:function(){return n}})},36551:function(e,t,i){"use strict";i.d(t,{B1:function(){return d},L5:function(){return h},M4:function(){return u},Nm:function(){return c},hC:function(){return g}});var n=i("36809"),o=i("8109"),s=i("32319"),r=i("95868"),a=i("95316"),l=i("77667");class d extends n.R6{constructor(){super({id:s.n0,label:"Accept Inline Edit",alias:"Accept Inline Edit",precondition:l.Ao.and(o.u.writable,r.P.inlineEditVisibleContext),kbOpts:[{weight:101,primary:2,kbExpr:l.Ao.and(o.u.writable,r.P.inlineEditVisibleContext,r.P.cursorAtInlineEditContext)}],menuOpts:[{menuId:a.eH.InlineEditToolbar,title:"Accept",group:"primary",order:1}]})}async run(e,t){let i=r.P.get(t);await (null==i?void 0:i.accept())}}class c extends n.R6{constructor(){let e=l.Ao.and(o.u.writable,l.Ao.not(r.P.inlineEditVisibleKey));super({id:"editor.action.inlineEdit.trigger",label:"Trigger Inline Edit",alias:"Trigger Inline Edit",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e}})}async run(e,t){let i=r.P.get(t);null==i||i.trigger()}}class u extends n.R6{constructor(){let e=l.Ao.and(o.u.writable,r.P.inlineEditVisibleContext,l.Ao.not(r.P.cursorAtInlineEditKey));super({id:s.K5,label:"Jump to Inline Edit",alias:"Jump to Inline Edit",precondition:e,kbOpts:{weight:101,primary:2646,kbExpr:e},menuOpts:[{menuId:a.eH.InlineEditToolbar,title:"Jump To Edit",group:"primary",order:3,when:e}]})}async run(e,t){let i=r.P.get(t);null==i||i.jumpToCurrent()}}class h extends n.R6{constructor(){let e=l.Ao.and(o.u.writable,r.P.cursorAtInlineEditContext);super({id:s.KJ,label:"Jump Back from Inline Edit",alias:"Jump Back from Inline Edit",precondition:e,kbOpts:{weight:110,primary:2646,kbExpr:e},menuOpts:[{menuId:a.eH.InlineEditToolbar,title:"Jump Back",group:"primary",order:3,when:e}]})}async run(e,t){let i=r.P.get(t);null==i||i.jumpBack()}}class g extends n.R6{constructor(){let e=l.Ao.and(o.u.writable,r.P.inlineEditVisibleContext);super({id:s.vw,label:"Reject Inline Edit",alias:"Reject Inline Edit",precondition:e,kbOpts:{weight:100,primary:9,kbExpr:e},menuOpts:[{menuId:a.eH.InlineEditToolbar,title:"Reject",group:"secondary",order:2}]})}async run(e,t){let i=r.P.get(t);await (null==i?void 0:i.clear())}}},59730:function(e,t,i){"use strict";i.d(t,{L:function(){return m},_:function(){return g}});var n=i("66735"),o=i("45802"),s=i("67414"),r=i("98084"),a=i("70668"),l=i("64141"),d=i("76891"),c=i("51413"),u=i("249"),h=i("77667");let g={Visible:new h.uy("parameterHintsVisible",!1),MultipleSignatures:new h.uy("parameterHintsMultipleSignatures",!1)};async function m(e,t,i,n,s){for(let r of e.ordered(t))try{let e=await r.provideSignatureHelp(t,i,s,n);if(e)return e}catch(e){(0,o.Cp)(e)}}u.P.registerCommand("_executeSignatureHelpProvider",async(e,...t)=>{let[i,o,u]=t;(0,s.p_)(r.o.isUri(i)),(0,s.p_)(a.L.isIPosition(o)),(0,s.p_)("string"==typeof u||!u);let h=e.get(d.p),g=await e.get(c.S).createModelReference(i);try{let e=await m(h.signatureHelpProvider,g.object.textEditorModel,a.L.lift(o),{triggerKind:l.WW.Invoke,isRetrigger:!1,triggerCharacter:u},n.Ts.None);if(!e)return;return setTimeout(()=>e.dispose(),0),e.value}finally{g.dispose()}})},78271:function(e,t,i){"use strict";i.d(t,{Jc:function(){return p},KO:function(){return v},ML:function(){return f},OG:function(){return _},Vj:function(){return g},Vl:function(){return h}});var n=i("66735"),o=i("45802"),s=i("98084"),r=i("96468"),a=i("249"),l=i("67414"),d=i("81917"),c=i("83112"),u=i("76891");function h(e){return e&&!!e.data}function g(e){return e&&Array.isArray(e.edits)}class m{constructor(e,t,i){this.provider=e,this.tokens=t,this.error=i}}function p(e,t){return e.has(t)}async function f(e,t,i,n,o){let s=function(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:[]}(e,t),r=await Promise.all(s.map(async e=>{let s;let r=null;try{s=await e.provideDocumentSemanticTokens(t,e===i?n:null,o)}catch(e){r=e,s=null}return(!s||!h(s)&&!g(s))&&(s=null),new m(e,s,r)}));for(let e of r){if(e.error)throw e.error;if(e.tokens)return e}return r.length>0?r[0]:null}class b{constructor(e,t){this.provider=e,this.tokens=t}}function v(e,t){return e.has(t)}function y(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:[]}async function _(e,t,i,n){let s=y(e,t),r=await Promise.all(s.map(async e=>{let s;try{s=await e.provideDocumentRangeSemanticTokens(t,i,n)}catch(e){(0,o.Cp)(e),s=null}return(!s||!h(s))&&(s=null),new b(e,s)}));for(let e of r)if(e.tokens)return e;return r.length>0?r[0]:null}a.P.registerCommand("_provideDocumentSemanticTokensLegend",async(e,...t)=>{let[i]=t;(0,l.p_)(i instanceof s.o);let n=e.get(r.q).getModel(i);if(!n)return;let{documentSemanticTokensProvider:o}=e.get(u.p),d=function(e,t){let i=e.orderedGroups(t);return i.length>0?i[0]:null}(o,n);return d?d[0].getLegend():e.get(a.H).executeCommand("_provideDocumentRangeSemanticTokensLegend",i)}),a.P.registerCommand("_provideDocumentSemanticTokens",async(e,...t)=>{let[i]=t;(0,l.p_)(i instanceof s.o);let o=e.get(r.q).getModel(i);if(!o)return;let{documentSemanticTokensProvider:c}=e.get(u.p);if(!p(c,o))return e.get(a.H).executeCommand("_provideDocumentRangeSemanticTokens",i,o.getFullModelRange());let g=await f(c,o,null,null,n.Ts.None);if(!g)return;let{provider:m,tokens:b}=g;if(!b||!h(b))return;let v=(0,d.C)({id:0,type:"full",data:b.data});return b.resultId&&m.releaseDocumentSemanticTokens(b.resultId),v}),a.P.registerCommand("_provideDocumentRangeSemanticTokensLegend",async(e,...t)=>{let[i,o]=t;(0,l.p_)(i instanceof s.o);let a=e.get(r.q).getModel(i);if(!a)return;let{documentRangeSemanticTokensProvider:d}=e.get(u.p),h=y(d,a);if(0===h.length)return;if(1===h.length)return h[0].getLegend();if(!o||!c.e.isIRange(o))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),h[0].getLegend();let g=await _(d,a,c.e.lift(o),n.Ts.None);if(g)return g.provider.getLegend()}),a.P.registerCommand("_provideDocumentRangeSemanticTokens",async(e,...t)=>{let[i,o]=t;(0,l.p_)(i instanceof s.o),(0,l.p_)(c.e.isIRange(o));let a=e.get(r.q).getModel(i);if(!a)return;let{documentRangeSemanticTokensProvider:h}=e.get(u.p),g=await _(h,a,c.e.lift(o),n.Ts.None);if(g&&g.tokens)return(0,d.C)({id:0,type:"full",data:g.tokens.data})})},29349:function(e,t,i){"use strict";i.d(t,{e:function(){return n},t:function(){return o}});let n="editor.semanticHighlighting";function o(e,t,i){var o;let s=null===(o=i.getValue(n,{overrideIdentifier:e.getLanguageId(),resource:e.uri}))||void 0===o?void 0:o.enabled;return"boolean"==typeof s?s:t.getColorTheme().semanticHighlighting}},98925:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i("71362"),o=i("70668"),s=i("83112");class r{async provideSelectionRanges(e,t){let i=[];for(let n of t){let t=[];i.push(t);let o=new Map;await new Promise(t=>r._bracketsRightYield(t,0,e,n,o)),await new Promise(i=>r._bracketsLeftYield(i,0,e,n,o,t))}return i}static _bracketsRightYield(e,t,i,o,s){let a=new Map,l=Date.now();for(;;){if(t>=r._maxRounds||!o){e();break}let d=i.bracketPairs.findNextBracket(o);if(!d){e();break}if(Date.now()-l>r._maxDuration){setTimeout(()=>r._bracketsRightYield(e,t+1,i,o,s));break}if(d.bracketInfo.isOpeningBracket){let e=d.bracketInfo.bracketText,t=a.has(e)?a.get(e):0;a.set(e,t+1)}else{let e=d.bracketInfo.getOpeningBrackets()[0].bracketText,t=a.has(e)?a.get(e):0;if(t-=1,a.set(e,Math.max(0,t)),t<0){let t=s.get(e);!t&&(t=new n.S,s.set(e,t)),t.push(d.range)}}o=d.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,o,a){let l=new Map,d=Date.now();for(;;){if(t>=r._maxRounds&&0===o.size||!n){e();break}let c=i.bracketPairs.findPrevBracket(n);if(!c){e();break}if(Date.now()-d>r._maxDuration){setTimeout(()=>r._bracketsLeftYield(e,t+1,i,n,o,a));break}if(c.bracketInfo.isOpeningBracket){let e=c.bracketInfo.bracketText,t=l.has(e)?l.get(e):0;if(t-=1,l.set(e,Math.max(0,t)),t<0){let t=o.get(e);if(t){let n=t.shift();0===t.size&&o.delete(e);let l=s.e.fromPositions(c.range.getEndPosition(),n.getStartPosition()),d=s.e.fromPositions(c.range.getStartPosition(),n.getEndPosition());a.push({range:l}),a.push({range:d}),r._addBracketLeading(i,d,a)}}}else{let e=c.bracketInfo.getOpeningBrackets()[0].bracketText,t=l.has(e)?l.get(e):0;l.set(e,t+1)}n=c.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber===t.endLineNumber)return;let n=t.startLineNumber,r=e.getLineFirstNonWhitespaceColumn(n);0!==r&&r!==t.startColumn&&(i.push({range:s.e.fromPositions(new o.L(n,r),t.getEndPosition())}),i.push({range:s.e.fromPositions(new o.L(n,1),t.getEndPosition())}));let a=n-1;if(a>0){let n=e.getLineFirstNonWhitespaceColumn(a);n===t.startColumn&&n!==e.getLineLastNonWhitespaceColumn(a)&&(i.push({range:s.e.fromPositions(new o.L(a,n),t.getEndPosition())}),i.push({range:s.e.fromPositions(new o.L(a,1),t.getEndPosition())}))}}}r._maxDuration=30,r._maxRounds=2},49635:function(e,t,i){"use strict";i.d(t,{$7:function(){return m},I9:function(){return g},IL:function(){return u},Kz:function(){return h},v9:function(){return f},yR:function(){return p}});var n=i("36809"),o=i("94479"),s=i("15006"),r=i("95316"),a=i("756"),l=i("77667"),d=i("8109"),c=i("57972");class u extends r.Ke{constructor(){super({id:"editor.action.toggleStickyScroll",title:{...(0,o.vv)("toggleEditorStickyScroll","Toggle Editor Sticky Scroll"),mnemonicTitle:(0,o.NC)({key:"mitoggleStickyScroll",comment:["&& denotes a mnemonic"]},"&&Toggle Editor Sticky Scroll")},metadata:{description:(0,o.vv)("toggleEditorStickyScroll.description","Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport")},category:s.R.View,toggled:{condition:l.Ao.equals("config.editor.stickyScroll.enabled",!0),title:(0,o.NC)("stickyScroll","Sticky Scroll"),mnemonicTitle:(0,o.NC)({key:"miStickyScroll",comment:["&& denotes a mnemonic"]},"&&Sticky Scroll")},menu:[{id:r.eH.CommandPalette},{id:r.eH.MenubarAppearanceMenu,group:"4_editor",order:3},{id:r.eH.StickyScrollContext}]})}async run(e){let t=e.get(a.Ui),i=!t.getValue("editor.stickyScroll.enabled");return t.updateValue("editor.stickyScroll.enabled",i)}}class h extends n.x1{constructor(){super({id:"editor.action.focusStickyScroll",title:{...(0,o.vv)("focusStickyScroll","Focus on the editor sticky scroll"),mnemonicTitle:(0,o.NC)({key:"mifocusStickyScroll",comment:["&& denotes a mnemonic"]},"&&Focus Sticky Scroll")},precondition:l.Ao.and(l.Ao.has("config.editor.stickyScroll.enabled"),d.u.stickyScrollVisible),menu:[{id:r.eH.CommandPalette}]})}runEditorCommand(e,t){var i;null===(i=c.J.get(t))||void 0===i||i.focus()}}class g extends n.x1{constructor(){super({id:"editor.action.selectNextStickyScrollLine",title:(0,o.vv)("selectNextStickyScrollLine.title","Select the next editor sticky scroll line"),precondition:d.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:18}})}runEditorCommand(e,t){var i;null===(i=c.J.get(t))||void 0===i||i.focusNext()}}class m extends n.x1{constructor(){super({id:"editor.action.selectPreviousStickyScrollLine",title:(0,o.vv)("selectPreviousStickyScrollLine.title","Select the previous sticky scroll line"),precondition:d.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:16}})}runEditorCommand(e,t){var i;null===(i=c.J.get(t))||void 0===i||i.focusPrevious()}}class p extends n.x1{constructor(){super({id:"editor.action.goToFocusedStickyScrollLine",title:(0,o.vv)("goToFocusedStickyScrollLine.title","Go to the focused sticky scroll line"),precondition:d.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:3}})}runEditorCommand(e,t){var i;null===(i=c.J.get(t))||void 0===i||i.goToFocused()}}class f extends n.x1{constructor(){super({id:"editor.action.selectEditor",title:(0,o.vv)("selectEditor.title","Select Editor"),precondition:d.u.stickyScrollFocused.isEqualTo(!0),keybinding:{weight:100,primary:9}})}runEditorCommand(e,t){var i;null===(i=c.J.get(t))||void 0===i||i.selectEditor()}}},52591:function(e,t,i){"use strict";var n=i("36809"),o=i("49635"),s=i("57972"),r=i("95316");(0,n._K)(s.J.ID,s.J,1),(0,r.r1)(o.IL),(0,r.r1)(o.Kz),(0,r.r1)(o.$7),(0,r.r1)(o.I9),(0,r.r1)(o.yR),(0,r.r1)(o.v9)},77111:function(e,t,i){"use strict";i.d(t,{_:function(){return a},t:function(){return r}});var n=i("47983"),o=i("27236"),s=i("71482");class r{constructor(e,t){this.leadingLineContent=e,this.characterCountDelta=t}}class a{constructor(e,t,i,n,s,r,l=o.mX.default,d){this.clipboardText=d,this._snippetCompareFn=a._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=s,this._refilterKind=1,this._lineContext=i,this._fuzzyScoreOptions=l,"top"===r?this._snippetCompareFn=a._compareCompletionItemsSnippetsUp:"bottom"===r&&(this._snippetCompareFn=a._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){(this._lineContext.leadingLineContent!==e.leadingLineContent||this._lineContext.characterCountDelta!==e.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}getItemsByProvider(){return this._ensureCachedState(),this._itemsByProvider}getIncompleteProvider(){this._ensureCachedState();let e=new Set;for(let[t,i]of this.getItemsByProvider())i.length>0&&i[0].container.incomplete&&e.add(t);return e}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._itemsByProvider=new Map;let e=[],{leadingLineContent:t,characterCountDelta:i}=this._lineContext,r="",a="",l=1===this._refilterKind?this._items:this._filteredItems,d=[],c=!this._options.filterGraceful||l.length>2e3?o.EW:o.l7;for(let n=0;n<l.length;n++){let u=l[n];if(u.isInvalid)continue;let h=this._itemsByProvider.get(u.provider);h?h.push(u):this._itemsByProvider.set(u.provider,[u]);let g=u.position.column-u.editStart.column,m=g+i-(u.position.column-this._column);if(r.length!==m&&(a=(r=0===m?"":t.slice(-m)).toLowerCase()),u.word=r,0===m)u.score=o.CL.Default;else{let e=0;for(;e<g;){let t=r.charCodeAt(e);if(32===t||9===t)e+=1;else break}if(e>=m)u.score=o.CL.Default;else if("string"==typeof u.completion.filterText){let t=c(r,a,e,u.completion.filterText,u.filterTextLow,0,this._fuzzyScoreOptions);if(!t)continue;0===(0,s.zY)(u.completion.filterText,u.textLabel)?u.score=t:(u.score=(0,o.jB)(r,a,e,u.textLabel,u.labelLow,0),u.score[0]=t[0])}else{let t=c(r,a,e,u.textLabel,u.labelLow,0,this._fuzzyScoreOptions);if(!t)continue;u.score=t}}u.idx=n,u.distance=this._wordDistance.distance(u.position,u.completion),d.push(u),e.push(u.textLabel.length)}this._filteredItems=d.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?(0,n.HW)(e.length-.85,e,(e,t)=>e-t):0}}static _compareCompletionItems(e,t){if(e.score[0]>t.score[0])return -1;if(e.score[0]<t.score[0])return 1;if(e.distance<t.distance)return -1;else if(e.distance>t.distance)return 1;else if(e.idx<t.idx)return -1;else if(e.idx>t.idx)return 1;else return 0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return -1}return a._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return -1;if(27===t.completion.kind)return 1}return a._compareCompletionItems(e,t)}}},59869:function(e,t,i){"use strict";i.d(t,{K:function(){return o}});var n=i("37764");class o{constructor(e,t){this._disposables=new n.SL,this._lastOvertyped=[],this._locked=!1,this._disposables.add(e.onWillType(()=>{if(this._locked||!e.hasModel())return;let t=e.getSelections(),i=t.length,n=!1;for(let e=0;e<i;e++)if(!t[e].isEmpty()){n=!0;break}if(!n){0!==this._lastOvertyped.length&&(this._lastOvertyped.length=0);return}this._lastOvertyped=[];let s=e.getModel();for(let e=0;e<i;e++){let i=t[e];if(s.getValueLengthInRange(i)>o._maxSelectionLength)return;this._lastOvertyped[e]={value:s.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}})),this._disposables.add(t.onDidTrigger(e=>{this._locked=!0})),this._disposables.add(t.onDidCancel(e=>{this._locked=!1}))}getLastOvertypedInfo(e){if(e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}o._maxSelectionLength=51200},61320:function(e,t,i){"use strict";i.d(t,{i:function(){return w},z:function(){return x}});var n,o=i("55952"),s=i("13848"),r=i("76115"),a=i("34308"),l=i("98212"),d=i("27236"),c=i("37764"),u=i("98084"),h=i("64141"),g=i("42462"),m=i("96468"),p=i("51405"),f=i("94479"),b=i("36083"),v=i("16445"),y=i("29149"),_=i("47750"),C=function(e,t){return function(i,n){t(i,n,e)}};function w(e){return`suggest-aria-id:${e}`}let L=(0,v.q5)("suggest-more-info",r.l.chevronRight,f.NC("suggestMoreInfoIcon","Icon for more information in the suggest widget.")),S=new((n=class{extract(e,t){if(e.textLabel.match(n._regexStrict))return t[0]=e.textLabel,!0;if(e.completion.detail&&e.completion.detail.match(n._regexStrict))return t[0]=e.completion.detail,!0;if(e.completion.documentation){let i="string"==typeof e.completion.documentation?e.completion.documentation:e.completion.documentation.value,o=n._regexRelaxed.exec(i);if(o&&(0===o.index||o.index+o[0].length===i.length))return t[0]=o[0],!0}return!1}})._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,n._regexStrict=RegExp(`^${n._regexRelaxed.source}$`,"i"),n),x=class{constructor(e,t,i,n){this._editor=e,this._modelService=t,this._languageService=i,this._themeService=n,this._onDidToggleDetails=new l.Q5,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(e){let t=new c.SL;e.classList.add("show-file-icons");let i=(0,o.R3)(e,(0,o.$)(".icon")),n=(0,o.R3)(i,(0,o.$)("span.colorspan")),r=(0,o.R3)(e,(0,o.$)(".contents")),l=(0,o.R3)(r,(0,o.$)(".main")),d=(0,o.R3)(l,(0,o.$)(".icon-label.codicon")),u=(0,o.R3)(l,(0,o.$)("span.left")),h=(0,o.R3)(l,(0,o.$)("span.right")),g=new s.g(u,{supportHighlights:!0,supportIcons:!0});t.add(g);let m=(0,o.R3)(u,(0,o.$)("span.signature-label")),p=(0,o.R3)(u,(0,o.$)("span.qualifier-label")),b=(0,o.R3)(h,(0,o.$)("span.details-label")),v=(0,o.R3)(h,(0,o.$)("span.readMore"+a.k.asCSSSelector(L)));return v.title=f.NC("readMore","Read More"),{root:e,left:u,right:h,icon:i,colorspan:n,iconLabel:g,iconContainer:d,parametersLabel:m,qualifierLabel:p,detailsLabel:b,readMore:v,disposables:t,configureFont:()=>{let t=this._editor.getOptions(),n=t.get(50),o=n.getMassagedFontFamily(),s=n.fontFeatureSettings,r=t.get(119)||n.fontSize,a=t.get(120)||n.lineHeight,d=n.fontWeight,c=n.letterSpacing,u=`${r}px`,h=`${a}px`,g=`${c}px`;e.style.fontSize=u,e.style.fontWeight=d,e.style.letterSpacing=g,l.style.fontFamily=o,l.style.fontFeatureSettings=s,l.style.lineHeight=h,i.style.height=h,i.style.width=h,v.style.height=h,v.style.width=h}}}renderElement(e,t,i){i.configureFont();let{completion:n}=e;i.root.id=w(t),i.colorspan.style.backgroundColor="";let s={labelEscapeNewLines:!0,matches:(0,d.mB)(e.score)},r=[];if(19===n.kind&&S.extract(e,r))i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=r[0];else if(20===n.kind&&this._themeService.getFileIconTheme().hasFileIcons){i.icon.className="icon hide",i.iconContainer.className="icon hide";let t=(0,g.r)(this._modelService,this._languageService,u.o.from({scheme:"fake",path:e.textLabel}),b.R.FILE),o=(0,g.r)(this._modelService,this._languageService,u.o.from({scheme:"fake",path:n.detail}),b.R.FILE);s.extraClasses=t.length>o.length?t:o}else 23===n.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=[(0,g.r)(this._modelService,this._languageService,u.o.from({scheme:"fake",path:e.textLabel}),b.R.FOLDER),(0,g.r)(this._modelService,this._languageService,u.o.from({scheme:"fake",path:n.detail}),b.R.FOLDER)].flat()):(i.icon.className="icon hide",i.iconContainer.className="",i.iconContainer.classList.add("suggest-icon",...a.k.asClassNameArray(h.gX.toIcon(n.kind))));n.tags&&n.tags.indexOf(1)>=0&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,s),"string"==typeof n.label?(i.parametersLabel.textContent="",i.detailsLabel.textContent=k(n.detail||""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=k(n.label.detail||""),i.detailsLabel.textContent=k(n.label.description||""),i.root.classList.remove("string-label")),this._editor.getOption(118).showInlineDetails?(0,o.$Z)(i.detailsLabel):(0,o.Cp)(i.detailsLabel),(0,_.nJ)(e)?(i.right.classList.add("can-expand-details"),(0,o.$Z)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove("can-expand-details"),(0,o.Cp)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function k(e){return e.replace(/\r\n|\r|\n/g,"")}x=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([C(1,m.q),C(2,p.O),C(3,y.XE)],x)},44584:function(e,t,i){"use strict";i.d(t,{I:function(){return g}});var n=i("55952"),o=i("8614"),s=i("37764"),r=i("94479"),a=i("43236"),l=i("95316"),d=i("77667"),c=i("95449"),u=function(e,t){return function(i,n){t(i,n,e)}};class h extends a.Mm{updateLabel(){let e=this._keybindingService.lookupKeybinding(this._action.id,this._contextKeyService);if(!e)return super.updateLabel();this.label&&(this.label.textContent=(0,r.NC)({key:"content",comment:["A label","A keybinding"]},"{0} ({1})",this._action.label,h.symbolPrintEnter(e)))}static symbolPrintEnter(e){var t;return null===(t=e.getLabel())||void 0===t?void 0:t.replace(/\benter\b/gi,"\u23CE")}}let g=class{constructor(e,t,i,r,a){this._menuId=t,this._menuService=r,this._contextKeyService=a,this._menuDisposables=new s.SL,this.element=n.R3(e,n.$(".suggest-status-bar"));let d=e=>e instanceof l.U8?i.createInstance(h,e,void 0):void 0;this._leftActions=new o.o(this.element,{actionViewItemProvider:d}),this._rightActions=new o.o(this.element,{actionViewItemProvider:d}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this._leftActions.dispose(),this._rightActions.dispose(),this.element.remove()}show(){let e=this._menuService.createMenu(this._menuId,this._contextKeyService),t=()=>{let t=[],i=[];for(let[n,o]of e.getActions())"left"===n?t.push(...o):i.push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};g=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([u(2,c.TG),u(3,l.co),u(4,d.i6)],g)},88626:function(e,t,i){"use strict";i.d(t,{e6:function(){return n.e6},j6:function(){return n.j6}}),i("76105"),i("10244"),i("58717"),i("28737"),i("39837");var n=i("97990")},39837:function(e,t,i){"use strict";let n,o;i.d(t,{TG:function(){return S}});var s,r,a,l,d,c=i("76761"),u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,p=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of g(t))!m.call(e,o)&&o!==i&&u(e,o,{get:()=>t[o],enumerable:!(n=h(t,o))||n.enumerable});return e},f={};p(f,n=c,"default"),o&&p(o,n,"default");var b=((s=b||{})[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);var v=((r=v||{})[r.None=0]="None",r[r.Preserve=1]="Preserve",r[r.React=2]="React",r[r.ReactNative=3]="ReactNative",r[r.ReactJSX=4]="ReactJSX",r[r.ReactJSXDev=5]="ReactJSXDev",r);var y=((a=y||{})[a.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",a[a.LineFeed=1]="LineFeed",a);var _=((l=_||{})[l.ES3=0]="ES3",l[l.ES5=1]="ES5",l[l.ES2015=2]="ES2015",l[l.ES2016=3]="ES2016",l[l.ES2017=4]="ES2017",l[l.ES2018=5]="ES2018",l[l.ES2019=6]="ES2019",l[l.ES2020=7]="ES2020",l[l.ESNext=99]="ESNext",l[l.JSON=100]="JSON",l[l.Latest=99]="Latest",l);var C=((d=C||{})[d.Classic=1]="Classic",d[d.NodeJs=2]="NodeJs",d),w=class{constructor(e,t,i,n,o){this._onDidChange=new f.Emitter,this._onDidExtraLibsChange=new f.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this.setModeConfiguration(o),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];if(!!e)e.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content,n=1;this._removedExtraLibs[e]&&(n=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:n}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},L={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},S=new w({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},L),x=new w({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},L);function k(){return Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"82123"))}f.languages.typescript={ModuleKind:b,JsxEmit:v,NewLineKind:y,ScriptTarget:_,ModuleResolutionKind:C,typescriptVersion:"5.0.2",typescriptDefaults:S,javascriptDefaults:x,getTypeScriptWorker:()=>k().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>k().then(e=>e.getJavaScriptWorker())},f.languages.onLanguage("typescript",()=>k().then(e=>e.setupTypeScript(S))),f.languages.onLanguage("javascript",()=>k().then(e=>e.setupJavaScript(x)))},65488:function(e,t,i){"use strict";i.d(t,{IV:function(){return o},iP:function(){return a}});var n=i("94479");let o=(0,i("95449").yh)("accessibilitySignalService");Symbol("AcknowledgeDocCommentsToken");class s{static register(e){return new s(e.fileName)}constructor(e){this.fileName=e}}s.error=s.register({fileName:"error.mp3"}),s.warning=s.register({fileName:"warning.mp3"}),s.foldedArea=s.register({fileName:"foldedAreas.mp3"}),s.break=s.register({fileName:"break.mp3"}),s.quickFixes=s.register({fileName:"quickFixes.mp3"}),s.taskCompleted=s.register({fileName:"taskCompleted.mp3"}),s.taskFailed=s.register({fileName:"taskFailed.mp3"}),s.terminalBell=s.register({fileName:"terminalBell.mp3"}),s.diffLineInserted=s.register({fileName:"diffLineInserted.mp3"}),s.diffLineDeleted=s.register({fileName:"diffLineDeleted.mp3"}),s.diffLineModified=s.register({fileName:"diffLineModified.mp3"}),s.chatRequestSent=s.register({fileName:"chatRequestSent.mp3"}),s.chatResponseReceived1=s.register({fileName:"chatResponseReceived1.mp3"}),s.chatResponseReceived2=s.register({fileName:"chatResponseReceived2.mp3"}),s.chatResponseReceived3=s.register({fileName:"chatResponseReceived3.mp3"}),s.chatResponseReceived4=s.register({fileName:"chatResponseReceived4.mp3"}),s.clear=s.register({fileName:"clear.mp3"}),s.save=s.register({fileName:"save.mp3"}),s.format=s.register({fileName:"format.mp3"}),s.voiceRecordingStarted=s.register({fileName:"voiceRecordingStarted.mp3"}),s.voiceRecordingStopped=s.register({fileName:"voiceRecordingStopped.mp3"}),s.progress=s.register({fileName:"progress.mp3"});class r{constructor(e){this.randomOneOf=e}}class a{constructor(e,t,i,n,o,s){this.sound=e,this.name=t,this.legacySoundSettingsKey=i,this.settingsKey=n,this.legacyAnnouncementSettingsKey=o,this.announcementMessage=s}static register(e){let t=new a(new r("randomOneOf"in e.sound?e.sound.randomOneOf:[e.sound]),e.name,e.legacySoundSettingsKey,e.settingsKey,e.legacyAnnouncementSettingsKey,e.announcementMessage);return a._signals.add(t),t}}a._signals=new Set,a.errorAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasError.name","Error at Position"),sound:s.error,announcementMessage:(0,n.NC)("accessibility.signals.positionHasError","Error"),settingsKey:"accessibility.signals.positionHasError"}),a.warningAtPosition=a.register({name:(0,n.NC)("accessibilitySignals.positionHasWarning.name","Warning at Position"),sound:s.warning,announcementMessage:(0,n.NC)("accessibility.signals.positionHasWarning","Warning"),settingsKey:"accessibility.signals.positionHasWarning"}),a.errorOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasError.name","Error on Line"),sound:s.error,legacySoundSettingsKey:"audioCues.lineHasError",legacyAnnouncementSettingsKey:"accessibility.alert.error",announcementMessage:(0,n.NC)("accessibility.signals.lineHasError","Error on Line"),settingsKey:"accessibility.signals.lineHasError"}),a.warningOnLine=a.register({name:(0,n.NC)("accessibilitySignals.lineHasWarning.name","Warning on Line"),sound:s.warning,legacySoundSettingsKey:"audioCues.lineHasWarning",legacyAnnouncementSettingsKey:"accessibility.alert.warning",announcementMessage:(0,n.NC)("accessibility.signals.lineHasWarning","Warning on Line"),settingsKey:"accessibility.signals.lineHasWarning"}),a.foldedArea=a.register({name:(0,n.NC)("accessibilitySignals.lineHasFoldedArea.name","Folded Area on Line"),sound:s.foldedArea,legacySoundSettingsKey:"audioCues.lineHasFoldedArea",legacyAnnouncementSettingsKey:"accessibility.alert.foldedArea",announcementMessage:(0,n.NC)("accessibility.signals.lineHasFoldedArea","Folded"),settingsKey:"accessibility.signals.lineHasFoldedArea"}),a.break=a.register({name:(0,n.NC)("accessibilitySignals.lineHasBreakpoint.name","Breakpoint on Line"),sound:s.break,legacySoundSettingsKey:"audioCues.lineHasBreakpoint",legacyAnnouncementSettingsKey:"accessibility.alert.breakpoint",announcementMessage:(0,n.NC)("accessibility.signals.lineHasBreakpoint","Breakpoint"),settingsKey:"accessibility.signals.lineHasBreakpoint"}),a.inlineSuggestion=a.register({name:(0,n.NC)("accessibilitySignals.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:s.quickFixes,legacySoundSettingsKey:"audioCues.lineHasInlineSuggestion",settingsKey:"accessibility.signals.lineHasInlineSuggestion"}),a.terminalQuickFix=a.register({name:(0,n.NC)("accessibilitySignals.terminalQuickFix.name","Terminal Quick Fix"),sound:s.quickFixes,legacySoundSettingsKey:"audioCues.terminalQuickFix",legacyAnnouncementSettingsKey:"accessibility.alert.terminalQuickFix",announcementMessage:(0,n.NC)("accessibility.signals.terminalQuickFix","Quick Fix"),settingsKey:"accessibility.signals.terminalQuickFix"}),a.onDebugBreak=a.register({name:(0,n.NC)("accessibilitySignals.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:s.break,legacySoundSettingsKey:"audioCues.onDebugBreak",legacyAnnouncementSettingsKey:"accessibility.alert.onDebugBreak",announcementMessage:(0,n.NC)("accessibility.signals.onDebugBreak","Breakpoint"),settingsKey:"accessibility.signals.onDebugBreak"}),a.noInlayHints=a.register({name:(0,n.NC)("accessibilitySignals.noInlayHints","No Inlay Hints on Line"),sound:s.error,legacySoundSettingsKey:"audioCues.noInlayHints",legacyAnnouncementSettingsKey:"accessibility.alert.noInlayHints",announcementMessage:(0,n.NC)("accessibility.signals.noInlayHints","No Inlay Hints"),settingsKey:"accessibility.signals.noInlayHints"}),a.taskCompleted=a.register({name:(0,n.NC)("accessibilitySignals.taskCompleted","Task Completed"),sound:s.taskCompleted,legacySoundSettingsKey:"audioCues.taskCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.taskCompleted",announcementMessage:(0,n.NC)("accessibility.signals.taskCompleted","Task Completed"),settingsKey:"accessibility.signals.taskCompleted"}),a.taskFailed=a.register({name:(0,n.NC)("accessibilitySignals.taskFailed","Task Failed"),sound:s.taskFailed,legacySoundSettingsKey:"audioCues.taskFailed",legacyAnnouncementSettingsKey:"accessibility.alert.taskFailed",announcementMessage:(0,n.NC)("accessibility.signals.taskFailed","Task Failed"),settingsKey:"accessibility.signals.taskFailed"}),a.terminalCommandFailed=a.register({name:(0,n.NC)("accessibilitySignals.terminalCommandFailed","Terminal Command Failed"),sound:s.error,legacySoundSettingsKey:"audioCues.terminalCommandFailed",legacyAnnouncementSettingsKey:"accessibility.alert.terminalCommandFailed",announcementMessage:(0,n.NC)("accessibility.signals.terminalCommandFailed","Command Failed"),settingsKey:"accessibility.signals.terminalCommandFailed"}),a.terminalBell=a.register({name:(0,n.NC)("accessibilitySignals.terminalBell","Terminal Bell"),sound:s.terminalBell,legacySoundSettingsKey:"audioCues.terminalBell",legacyAnnouncementSettingsKey:"accessibility.alert.terminalBell",announcementMessage:(0,n.NC)("accessibility.signals.terminalBell","Terminal Bell"),settingsKey:"accessibility.signals.terminalBell"}),a.notebookCellCompleted=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellCompleted","Notebook Cell Completed"),sound:s.taskCompleted,legacySoundSettingsKey:"audioCues.notebookCellCompleted",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellCompleted",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellCompleted","Notebook Cell Completed"),settingsKey:"accessibility.signals.notebookCellCompleted"}),a.notebookCellFailed=a.register({name:(0,n.NC)("accessibilitySignals.notebookCellFailed","Notebook Cell Failed"),sound:s.taskFailed,legacySoundSettingsKey:"audioCues.notebookCellFailed",legacyAnnouncementSettingsKey:"accessibility.alert.notebookCellFailed",announcementMessage:(0,n.NC)("accessibility.signals.notebookCellFailed","Notebook Cell Failed"),settingsKey:"accessibility.signals.notebookCellFailed"}),a.diffLineInserted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineInserted","Diff Line Inserted"),sound:s.diffLineInserted,legacySoundSettingsKey:"audioCues.diffLineInserted",settingsKey:"accessibility.signals.diffLineInserted"}),a.diffLineDeleted=a.register({name:(0,n.NC)("accessibilitySignals.diffLineDeleted","Diff Line Deleted"),sound:s.diffLineDeleted,legacySoundSettingsKey:"audioCues.diffLineDeleted",settingsKey:"accessibility.signals.diffLineDeleted"}),a.diffLineModified=a.register({name:(0,n.NC)("accessibilitySignals.diffLineModified","Diff Line Modified"),sound:s.diffLineModified,legacySoundSettingsKey:"audioCues.diffLineModified",settingsKey:"accessibility.signals.diffLineModified"}),a.chatRequestSent=a.register({name:(0,n.NC)("accessibilitySignals.chatRequestSent","Chat Request Sent"),sound:s.chatRequestSent,legacySoundSettingsKey:"audioCues.chatRequestSent",legacyAnnouncementSettingsKey:"accessibility.alert.chatRequestSent",announcementMessage:(0,n.NC)("accessibility.signals.chatRequestSent","Chat Request Sent"),settingsKey:"accessibility.signals.chatRequestSent"}),a.chatResponseReceived=a.register({name:(0,n.NC)("accessibilitySignals.chatResponseReceived","Chat Response Received"),legacySoundSettingsKey:"audioCues.chatResponseReceived",sound:{randomOneOf:[s.chatResponseReceived1,s.chatResponseReceived2,s.chatResponseReceived3,s.chatResponseReceived4]},settingsKey:"accessibility.signals.chatResponseReceived"}),a.progress=a.register({name:(0,n.NC)("accessibilitySignals.progress","Progress"),sound:s.progress,legacySoundSettingsKey:"audioCues.chatResponsePending",legacyAnnouncementSettingsKey:"accessibility.alert.chatResponseProgress",announcementMessage:(0,n.NC)("accessibility.signals.progress","Progress"),settingsKey:"accessibility.signals.progress"}),a.clear=a.register({name:(0,n.NC)("accessibilitySignals.clear","Clear"),sound:s.clear,legacySoundSettingsKey:"audioCues.clear",legacyAnnouncementSettingsKey:"accessibility.alert.clear",announcementMessage:(0,n.NC)("accessibility.signals.clear","Clear"),settingsKey:"accessibility.signals.clear"}),a.save=a.register({name:(0,n.NC)("accessibilitySignals.save","Save"),sound:s.save,legacySoundSettingsKey:"audioCues.save",legacyAnnouncementSettingsKey:"accessibility.alert.save",announcementMessage:(0,n.NC)("accessibility.signals.save","Save"),settingsKey:"accessibility.signals.save"}),a.format=a.register({name:(0,n.NC)("accessibilitySignals.format","Format"),sound:s.format,legacySoundSettingsKey:"audioCues.format",legacyAnnouncementSettingsKey:"accessibility.alert.format",announcementMessage:(0,n.NC)("accessibility.signals.format","Format"),settingsKey:"accessibility.signals.format"}),a.voiceRecordingStarted=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStarted","Voice Recording Started"),sound:s.voiceRecordingStarted,legacySoundSettingsKey:"audioCues.voiceRecordingStarted",settingsKey:"accessibility.signals.voiceRecordingStarted"}),a.voiceRecordingStopped=a.register({name:(0,n.NC)("accessibilitySignals.voiceRecordingStopped","Voice Recording Stopped"),sound:s.voiceRecordingStopped,legacySoundSettingsKey:"audioCues.voiceRecordingStopped",settingsKey:"accessibility.signals.voiceRecordingStopped"})},15006:function(e,t,i){"use strict";i.d(t,{R:function(){return o}});var n=i("94479");let o=Object.freeze({View:(0,n.vv)("view","View"),Help:(0,n.vv)("help","Help"),Test:(0,n.vv)("test","Test"),File:(0,n.vv)("file","File"),Preferences:(0,n.vv)("preferences","Preferences"),Developer:(0,n.vv)({key:"developer",comment:["A developer on Code itself or someone diagnosing issues in Code"]},"Developer")})},81844:function(e,t,i){"use strict";i.d(t,{i:function(){return s},u:function(){return o}});var n=i("95449");let o=(0,n.yh)("contextViewService"),s=(0,n.yh)("contextMenuService")},59955:function(e,t,i){"use strict";i.d(t,{Bs:function(){return l},mQ:function(){return d}});var n=i("95449"),o=i("37764"),s=i("756"),r=i("55952"),a=function(e,t){return function(i,n){t(i,n,e)}};let l=(0,n.yh)("hoverService"),d=class extends o.JT{get delay(){return this.isInstantlyHovering()?0:this._delay}constructor(e,t,i={},n,s){super(),this.placement=e,this.instantHover=t,this.overrideOptions=i,this.configurationService=n,this.hoverService=s,this.lastHoverHideTime=0,this.timeLimit=200,this.hoverDisposables=this._register(new o.SL),this._delay=this.configurationService.getValue("workbench.hover.delay"),this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("workbench.hover.delay")&&(this._delay=this.configurationService.getValue("workbench.hover.delay"))}))}showHover(e,t){let i="function"==typeof this.overrideOptions?this.overrideOptions(e,t):this.overrideOptions;for(let t of(this.hoverDisposables.clear(),e.target instanceof HTMLElement?[e.target]:e.target.targetElements))this.hoverDisposables.add((0,r.mu)(t,"keydown",e=>{e.equals(9)&&this.hoverService.hideHover()}));let n=e.content instanceof HTMLElement?void 0:e.content.toString();return this.hoverService.showHover({...e,...i,persistence:{hideOnKeyDown:!0,...i.persistence},id:n,appearance:{...e.appearance,compact:!0,skipFadeInAnimation:this.isInstantlyHovering(),...i.appearance}},t)}isInstantlyHovering(){return this.instantHover&&Date.now()-this.lastHoverHideTime<this.timeLimit}onDidHideHover(){this.hoverDisposables.clear(),this.instantHover&&(this.lastHoverHideTime=Date.now())}};d=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r}([a(3,s.Ui),a(4,l)],d)},13187:function(e,t,i){"use strict";i.d(t,{k:function(){return o}});class n{constructor(e,t){this.key=e,this.data=t,this.incoming=new Map,this.outgoing=new Map}}class o{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){let e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){let i=this.lookupOrInsertNode(e),n=this.lookupOrInsertNode(t);i.outgoing.set(n.key,n),n.incoming.set(i.key,i)}removeNode(e){let t=this._hashFn(e);for(let e of(this._nodes.delete(t),this._nodes.values()))e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){let t=this._hashFn(e),i=this._nodes.get(t);return!i&&(i=new n(t,e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,i]of this._nodes)e.push(`${t}
|
|
2
|
-
(-> incoming)[${[...i.incoming.keys()].join(", ")}]
|
|
3
|
-
(outgoing ->)[${[...i.outgoing.keys()].join(",")}]
|
|
4
|
-
`);return e.join("\n")}findCycleSlow(){for(let[e,t]of this._nodes){let i=new Set([e]),n=this._findCycle(t,i);if(n)return n}}_findCycle(e,t){for(let[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");t.add(i);let e=this._findCycle(n,t);if(e)return e;t.delete(i)}}}},80853:function(e,t,i){"use strict";i.d(t,{VZ:function(){return l},in:function(){return o},kw:function(){return u},qA:function(){return h}});var n,o,s=i("98212"),r=i("37764"),a=i("77667");let l=(0,i("95449").yh)("logService");(n=o||(o={}))[n.Off=0]="Off",n[n.Trace=1]="Trace",n[n.Debug=2]="Debug",n[n.Info=3]="Info",n[n.Warning=4]="Warning",n[n.Error=5]="Error";let d=o.Info;class c extends r.JT{constructor(){super(...arguments),this.level=d,this._onDidChangeLogLevel=this._register(new s.Q5),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==o.Off&&this.level<=e}}class u extends c{constructor(e=d,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(o.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(o.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(o.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.checkLogLevel(o.Warning)&&(this.useColors?console.log("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(o.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}}class h extends c{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(let t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(let i of this.loggers)i.trace(e,...t)}debug(e,...t){for(let i of this.loggers)i.debug(e,...t)}info(e,...t){for(let i of this.loggers)i.info(e,...t)}warn(e,...t){for(let i of this.loggers)i.warn(e,...t)}error(e,...t){for(let i of this.loggers)i.error(e,...t)}dispose(){for(let e of this.loggers)e.dispose();super.dispose()}}new a.uy("logLevel",function(e){switch(e){case o.Trace:return"trace";case o.Debug:return"debug";case o.Info:return"info";case o.Warning:return"warn";case o.Error:return"error";case o.Off:return"off"}}(o.Info))},97789:function(e,t,i){"use strict";i.d(t,{z:function(){return l}});var n=i("55952"),o=i("23330"),s=i("37764"),r=i("64138");i("63548");let a=n.$;class l extends s.JT{constructor(e,t,i){super(),this.parent=e,this.onKeyDown=e=>n.mu(this.findInput.inputBox.inputElement,n.tw.KEY_DOWN,e),this.onDidChange=e=>this.findInput.onDidChange(e),this.container=n.R3(this.parent,a(".quick-input-box")),this.findInput=this._register(new o.V(this.container,void 0,{label:"",inputBoxStyles:t,toggleStyles:i}));let s=this.findInput.inputBox.inputElement;s.role="combobox",s.ariaHasPopup="menu",s.ariaAutoComplete="list",s.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(e){this.findInput.setValue(e)}select(e=null){this.findInput.inputBox.select(e)}getSelection(){return this.findInput.inputBox.getSelection()}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.findInput.inputBox.setPlaceHolder(e)}get password(){return"password"===this.findInput.inputBox.inputElement.type}set password(e){this.findInput.inputBox.inputElement.type=e?"password":"text"}set enabled(e){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!e)}set toggles(e){this.findInput.setAdditionalToggles(e)}setAttribute(e,t){this.findInput.inputBox.inputElement.setAttribute(e,t)}showDecoration(e){e===r.Z.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:e===r.Z.Info?1:e===r.Z.Warning?2:3,content:""})}stylesForType(e){return this.findInput.inputBox.stylesForType(e===r.Z.Info?1:e===r.Z.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}},84478:function(e,t,i){"use strict";var n=i("94479"),o=i("19957"),s=i("45570"),r=i("55475");(0,o.P6)("search.resultsInfoForeground",{light:s.dR,dark:(0,o.Zn)(s.dR,.65),hcDark:s.dR,hcLight:s.dR},n.NC("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),(0,o.P6)("searchEditor.findMatchBackground",{light:(0,o.Zn)(r.MU,.66),dark:(0,o.Zn)(r.MU,.66),hcDark:r.MU,hcLight:r.MU},n.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),(0,o.P6)("searchEditor.findMatchBorder",{light:(0,o.Zn)(r.Ei,.66),dark:(0,o.Zn)(r.Ei,.66),hcDark:r.Ei,hcLight:r.Ei},n.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches."))},91989:function(e,t,i){"use strict";var n,o;function s(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function r(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{_T:function(){return r},c3:function(){return s},eL:function(){return n}}),(o=n||(n={})).DARK="dark",o.LIGHT="light",o.HIGH_CONTRAST_DARK="hcDark",o.HIGH_CONTRAST_LIGHT="hcLight"}}]);
|