aiex-cli 0.0.1-beta.5 → 0.0.1-beta.6
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/README.md +2 -2
- package/dist/cli.mjs +198 -311
- package/dist/core/schema-sqlite/migrate-helper.mjs +14 -5
- package/dist/{doctor-Cd_N16iC.mjs → doctor-BTfByg-I.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/web/assets/AISettings-D_AFhorO.js +334 -0
- package/dist/web/assets/DataBrowser-DZT0kGQE.css +1 -0
- package/dist/web/assets/DataBrowser-rznfVRaV.js +3 -0
- package/dist/web/assets/JsonSchemaEditor-C9iyQs7N.js +929 -0
- package/dist/web/assets/api-client-Dsg4WOM9.js +1 -0
- package/dist/web/assets/button-kTMweGMc.js +927 -0
- package/dist/web/assets/chunk-DtRyYLXJ.js +1 -0
- package/dist/web/assets/{cssMode-BloHqzZF.js → cssMode-DAbG0CMn.js} +1 -1
- package/dist/web/assets/dialog-CWuu7WjI.js +108 -0
- package/dist/web/assets/{editor.api-BG499EJF.js → editor.api-DLXGyrN1.js} +1 -1
- package/dist/web/assets/{editor.main-BhEWG0_P.js → editor.main-BqhfoHxy.js} +2 -2
- package/dist/web/assets/{freemarker2-DOHaFATh.js → freemarker2-B9_5ct2b.js} +1 -1
- package/dist/web/assets/{handlebars-BIFWety9.js → handlebars-TY59WcoQ.js} +1 -1
- package/dist/web/assets/{html-YGaqGZNd.js → html-CLULsh27.js} +1 -1
- package/dist/web/assets/{htmlMode-Bu3PyHjq.js → htmlMode-BvG7RNbU.js} +1 -1
- package/dist/web/assets/index-BRvFRL-3.js +882 -0
- package/dist/web/assets/index-DDFnprdM.css +2 -0
- package/dist/web/assets/{javascript-N0gZqDK0.js → javascript-DHrLp6gu.js} +1 -1
- package/dist/web/assets/{jsonMode-z5YscjcG.js → jsonMode-DBDhdzl1.js} +1 -1
- package/dist/web/assets/lib-C30cIFrm.js +1 -0
- package/dist/web/assets/{liquid-BHfNNVLs.js → liquid-tGeb-nqF.js} +1 -1
- package/dist/web/assets/{mdx-Dqu2t0et.js → mdx-Cmdz78VU.js} +1 -1
- package/dist/web/assets/{monaco.contribution-ByQ3yI-W.js → monaco.contribution-CroYPUF5.js} +2 -2
- package/dist/web/assets/overlayeventbus-AtOpmI6n.js +80 -0
- package/dist/web/assets/{python-icfse9Ji.js → python-Dmfz4iDE.js} +1 -1
- package/dist/web/assets/{razor-DwVkryG9.js → razor-BJicZHJs.js} +1 -1
- package/dist/web/assets/table-schema-mJrrf9qw.js +2 -0
- package/dist/web/assets/{tsMode-CLrI3bdf.js → tsMode-DYqTyE66.js} +1 -1
- package/dist/web/assets/{typescript-BzuZVF7m.js → typescript-DLnTe9Hf.js} +1 -1
- package/dist/web/assets/{xml-Cr85kdqA.js → xml-BIYqLORk.js} +1 -1
- package/dist/web/assets/{yaml-D3RbJnnO.js → yaml-BjmulkMX.js} +1 -1
- package/dist/web/index.html +8 -4
- package/package.json +1 -1
- package/src/core/schema-sqlite/migrate-helper.ts +9 -4
- package/dist/web/assets/chunk-BEqpzyXh.js +0 -1
- package/dist/web/assets/index-DTABZIZZ.css +0 -2
- package/dist/web/assets/index-DVc9DeYI.js +0 -3266
- /package/dist/web/assets/{abap-Cry0R76c.js → abap-DrZwwXZX.js} +0 -0
- /package/dist/web/assets/{apex-xqbJ58nJ.js → apex-CrCz0btt.js} +0 -0
- /package/dist/web/assets/{azcli-D7JTNGKs.js → azcli-BapzKHay.js} +0 -0
- /package/dist/web/assets/{bat-Cuq6hn0K.js → bat-C_NRAiA1.js} +0 -0
- /package/dist/web/assets/{bicep-eTuQjz9F.js → bicep-C7pp2CNk.js} +0 -0
- /package/dist/web/assets/{cameligo-DKgCRl36.js → cameligo-BhhK9vxZ.js} +0 -0
- /package/dist/web/assets/{clojure-B_aTBtVh.js → clojure-D0ujmUyE.js} +0 -0
- /package/dist/web/assets/{coffee-BWAYpIPu.js → coffee-DHEl7Jbb.js} +0 -0
- /package/dist/web/assets/{cpp-BduBQE8d.js → cpp-Iil-3nzZ.js} +0 -0
- /package/dist/web/assets/{csharp-CMqOVYKK.js → csharp-Dh0Ee7SY.js} +0 -0
- /package/dist/web/assets/{csp-6cGliXw2.js → csp-mwzjw0JL.js} +0 -0
- /package/dist/web/assets/{css-CHnKqS9Q.js → css-COIa8ZTR.js} +0 -0
- /package/dist/web/assets/{cypher-DMzZBj2L.js → cypher-GVc17FC4.js} +0 -0
- /package/dist/web/assets/{dart-7hYfJ1Dv.js → dart-phiCaE7_.js} +0 -0
- /package/dist/web/assets/{dockerfile-BflvjnJW.js → dockerfile-BMaDhdim.js} +0 -0
- /package/dist/web/assets/{ecl-BEt6xb2p.js → ecl-Cj47kvqp.js} +0 -0
- /package/dist/web/assets/{elixir-CnrQCt6o.js → elixir-DBbstcE1.js} +0 -0
- /package/dist/web/assets/{flow9-CfLCoUuB.js → flow9-ChHb1adO.js} +0 -0
- /package/dist/web/assets/{fsharp-BQqR9uQ6.js → fsharp-CMk2OIJN.js} +0 -0
- /package/dist/web/assets/{go-C3AlMVwy.js → go-BrMkuJg0.js} +0 -0
- /package/dist/web/assets/{graphql-O_-hDldf.js → graphql-PSR1UKGv.js} +0 -0
- /package/dist/web/assets/{hcl-BQQD6Mtj.js → hcl-DAQrbDOW.js} +0 -0
- /package/dist/web/assets/{ini-Bf0RDfP_.js → ini-0TG5BxW0.js} +0 -0
- /package/dist/web/assets/{java-nqX2KEDD.js → java-rgorz17v.js} +0 -0
- /package/dist/web/assets/{julia-B6P9U5er.js → julia-C8VMdHm8.js} +0 -0
- /package/dist/web/assets/{kotlin-B-LRk09-.js → kotlin-CllWo3gX.js} +0 -0
- /package/dist/web/assets/{less-CEaIdW1f.js → less-Cgca25AP.js} +0 -0
- /package/dist/web/assets/{lexon-Qv4pvFSW.js → lexon-D0GHdBaw.js} +0 -0
- /package/dist/web/assets/{lua-CFpyR7YN.js → lua-DmRsNG-P.js} +0 -0
- /package/dist/web/assets/{m3-CvKhVPQn.js → m3-BgL5dNKT.js} +0 -0
- /package/dist/web/assets/{markdown-qldG3Vc4.js → markdown-BuJfycGS.js} +0 -0
- /package/dist/web/assets/{mips-0D8PRyHq.js → mips-C9m_93PR.js} +0 -0
- /package/dist/web/assets/{msdax-DwZXSC5M.js → msdax-CpFHC9OI.js} +0 -0
- /package/dist/web/assets/{mysql-BWq85KY4.js → mysql-qFvltsqN.js} +0 -0
- /package/dist/web/assets/{objective-c-D653JUMG.js → objective-c-Bnmr858J.js} +0 -0
- /package/dist/web/assets/{pascal-rWjRDdnR.js → pascal-WP0_D5AO.js} +0 -0
- /package/dist/web/assets/{pascaligo-Db8EehaF.js → pascaligo-Blom4Rij.js} +0 -0
- /package/dist/web/assets/{perl-C68oq8-D.js → perl-B-vk8g64.js} +0 -0
- /package/dist/web/assets/{pgsql-BXeHe33s.js → pgsql-Cgvz6v67.js} +0 -0
- /package/dist/web/assets/{php-CDVsAbfl.js → php-8a3Lrw9m.js} +0 -0
- /package/dist/web/assets/{pla-DnryFT0q.js → pla-DuFqEZ8V.js} +0 -0
- /package/dist/web/assets/{postiats-CDg_4Ev-.js → postiats-DkLtSgkp.js} +0 -0
- /package/dist/web/assets/{powerquery-CWPi8ROz.js → powerquery-BJ1aNepW.js} +0 -0
- /package/dist/web/assets/{powershell-C5A0QX3-.js → powershell-rE98k687.js} +0 -0
- /package/dist/web/assets/{preload-helper-DSXbuxSR.js → preload-helper-DWTEM3RW.js} +0 -0
- /package/dist/web/assets/{protobuf-Cgt-BQbL.js → protobuf-CUheFacr.js} +0 -0
- /package/dist/web/assets/{pug-RPYJC9QB.js → pug-LDcAMD8w.js} +0 -0
- /package/dist/web/assets/{qsharp-BZ3S7fu_.js → qsharp-IHfqKOfK.js} +0 -0
- /package/dist/web/assets/{r-CN875f1X.js → r-D-QApv87.js} +0 -0
- /package/dist/web/assets/{redis-BLesvTwR.js → redis-SXdDyWR9.js} +0 -0
- /package/dist/web/assets/{redshift-Byf_0XqD.js → redshift-Y6lsCryn.js} +0 -0
- /package/dist/web/assets/{restructuredtext-DYg_6BiZ.js → restructuredtext-edObr9a8.js} +0 -0
- /package/dist/web/assets/{ruby-C4OkxbC-.js → ruby-CNnUfF-8.js} +0 -0
- /package/dist/web/assets/{rust-xAoaEFMh.js → rust-IHUZWzBr.js} +0 -0
- /package/dist/web/assets/{sb-C8dHOW_y.js → sb-DrUvY44N.js} +0 -0
- /package/dist/web/assets/{scala-Spx0wP1o.js → scala-B4hbXGLM.js} +0 -0
- /package/dist/web/assets/{scheme-D2mZlAUz.js → scheme-BGrd12j3.js} +0 -0
- /package/dist/web/assets/{scss-DDCn3Ylu.js → scss-x5G1ES4U.js} +0 -0
- /package/dist/web/assets/{shell-M6px0EWn.js → shell-DOehe2Y8.js} +0 -0
- /package/dist/web/assets/{solidity-DUWMJi-f.js → solidity-BeRvcwWV.js} +0 -0
- /package/dist/web/assets/{sophia-DwJbUG-2.js → sophia-DZbkUNjy.js} +0 -0
- /package/dist/web/assets/{sparql-ClQxbRPI.js → sparql-B7_oi5-h.js} +0 -0
- /package/dist/web/assets/{sql-BQdjW7Vy.js → sql-CTlsFWVE.js} +0 -0
- /package/dist/web/assets/{st-BpISyZ_v.js → st-DJVEJdPE.js} +0 -0
- /package/dist/web/assets/{swift-CMbl5gM4.js → swift-CwhT3fYa.js} +0 -0
- /package/dist/web/assets/{systemverilog-jx2Xs7uO.js → systemverilog-BQN63pkN.js} +0 -0
- /package/dist/web/assets/{tcl-GIGnfs89.js → tcl-DqwfpskA.js} +0 -0
- /package/dist/web/assets/{twig-Bc0mxc_m.js → twig-BiyenUgc.js} +0 -0
- /package/dist/web/assets/{typespec-CEioAsEm.js → typespec-CWOJribt.js} +0 -0
- /package/dist/web/assets/{vb-BPk67J-d.js → vb-Cq5F87m3.js} +0 -0
- /package/dist/web/assets/{wgsl-DOnyt8_J.js → wgsl-BAvW2lVr.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e}from"./chunk-BEqpzyXh.js";function t(e,t=0){return e[e.length-(1+t)]}function n(e){if(e.length===0)throw Error(`Invalid tail call`);return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function i(e,t){let n=e.length-1;t<n&&(e[t]=e[n]),e.pop()}function a(e,t,n){return o(e.length,r=>n(e[r],t))}function o(e,t){let n=0,r=e-1;for(;n<=r;){let e=(n+r)/2|0,i=t(e);if(i<0)n=e+1;else if(i>0)r=e-1;else return e}return-(n+1)}function s(e,t,n){if(e|=0,e>=t.length)throw TypeError(`invalid index`);let r=t[Math.floor(t.length*Math.random())],i=[],a=[],o=[];for(let e of t){let t=n(e,r);t<0?i.push(e):t>0?a.push(e):o.push(e)}return e<i.length?s(e,i,n):e<i.length+o.length?o[0]:s(e-(i.length+o.length),a,n)}function c(e,t){let n=[],r;for(let i of e.slice(0).sort(t))!r||t(r[0],i)!==0?(r=[i],n.push(r)):r.push(i);return n}function*l(e,t){let n,r;for(let i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function u(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function d(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function f(e){return e.filter(e=>!!e)}function p(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t}function m(e){return!Array.isArray(e)||e.length===0}function h(e){return Array.isArray(e)&&e.length>0}function g(e,t=e=>e){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function _(e,t){return e.length>0?e[0]:t}function v(e,t){let n=typeof t==`number`?e:0;typeof t==`number`?n=e:(n=0,t=e);let r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function y(e,t,n){let r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function b(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function x(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function S(e,t){for(let n of t)e.push(n)}function C(e){return Array.isArray(e)?e:[e]}function ee(e,t,n){let r=ne(e,t),i=e.length,a=n.length;e.length=i+a;for(let t=i-1;t>=r;t--)e[t+a]=e[t];for(let t=0;t<a;t++)e[t+r]=n[t]}function te(e,t,n,r){let i=ne(e,t),a=e.splice(i,n);return a===void 0&&(a=[]),ee(e,i,r),a}function ne(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var re;(function(e){function t(e){return e<0}e.isLessThan=t;function n(e){return e<=0}e.isLessThanOrEqual=n;function r(e){return e>0}e.isGreaterThan=r;function i(e){return e===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(re||={});function ie(e,t){return(n,r)=>t(e(n),e(r))}function ae(...e){return(t,n)=>{for(let r of e){let e=r(t,n);if(!re.isNeitherLessOrGreaterThan(e))return e}return re.neitherLessOrGreaterThan}}var oe=(e,t)=>e-t,se=(e,t)=>oe(+!!e,+!!t);function ce(e){return(t,n)=>-e(t,n)}var le=class{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;let n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;let n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},ue=class e{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(t){return new e(e=>this.iterate(n=>t(n)?e(n):!0))}map(t){return new e(e=>this.iterate(n=>e(t(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t,n=!0;return this.iterate(r=>((n||re.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}};ue.empty=new ue(e=>{});var de=class e{constructor(e){this._indexMap=e}static createSortPermutation(t,n){return new e(Array.from(t.keys()).sort((e,r)=>n(t[e],t[r])))}apply(e){return e.map((t,n)=>e[this._indexMap[n]])}inverse(){let t=this._indexMap.slice();for(let e=0;e<this._indexMap.length;e++)t[this._indexMap[e]]=e;return new e(t)}};function fe(e){return typeof e==`string`}function w(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function T(e){return typeof e==`object`&&e instanceof Object.getPrototypeOf(Uint8Array)}function pe(e){return typeof e==`number`&&!isNaN(e)}function me(e){return!!e&&typeof e[Symbol.iterator]==`function`}function he(e){return e===!0||e===!1}function ge(e){return e===void 0}function _e(e){return!ve(e)}function ve(e){return ge(e)||e===null}function ye(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:`Unexpected type`)}function be(e){if(ve(e))throw Error(`Assertion Failed: argument is undefined or null`);return e}function xe(e){return typeof e==`function`}function Se(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)Ce(e[r],t[r])}function Ce(e,t){if(fe(t)){if(typeof e!==t)throw Error(`argument does not match constraint: typeof ${t}`)}else if(xe(t)){try{if(e instanceof t)return}catch{}if(!ve(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`)}}function we(e){if(!e||typeof e!=`object`||e instanceof RegExp)return e;let t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([e,n])=>{t[e]=n&&typeof n==`object`?we(n):n}),t}function Te(e){if(!e||typeof e!=`object`)return e;let t=[e];for(;t.length>0;){let e=t.shift();Object.freeze(e);for(let n in e)if(Ee.call(e,n)){let r=e[n];typeof r==`object`&&!Object.isFrozen(r)&&!T(r)&&t.push(r)}}return e}var Ee=Object.prototype.hasOwnProperty;function De(e,t){return Oe(e,t,new Set)}function Oe(e,t,n){if(ve(e))return e;let r=t(e);if(r!==void 0)return r;if(Array.isArray(e)){let r=[];for(let i of e)r.push(Oe(i,t,n));return r}if(w(e)){if(n.has(e))throw Error(`Cannot clone recursive data-structure`);n.add(e);let r={};for(let i in e)Ee.call(e,i)&&(r[i]=Oe(e[i],t,n));return n.delete(e),r}return e}function ke(e,t,n=!0){return w(e)?(w(t)&&Object.keys(t).forEach(r=>{r in e?n&&(w(e[r])&&w(t[r])?ke(e[r],t[r],n):e[r]=t[r]):e[r]=t[r]}),e):t}function Ae(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Ae(e[n],t[n]))return!1}else{let i=[];for(r in e)i.push(r);i.sort();let a=[];for(r in t)a.push(r);if(a.sort(),!Ae(i,a))return!1;for(n=0;n<i.length;n++)if(!Ae(e[i[n]],t[i[n]]))return!1}return!0}function je(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Me(e){let t=[];for(let n of je(e))typeof e[n]==`function`&&t.push(n);return t}function Ne(e,t){let n=e=>function(){return t(e,Array.prototype.slice.call(arguments,0))},r={};for(let t of e)r[t]=n(t);return r}var Pe=typeof document<`u`&&document.location&&document.location.hash.indexOf(`pseudo=true`)>=0;function Fe(e,t){let n;return n=t.length===0?e:e.replace(/\{(\d+)\}/g,(e,n)=>{let r=t[n[0]],i=e;return typeof r==`string`?i=r:(typeof r==`number`||typeof r==`boolean`||r==null)&&(i=String(r)),i}),Pe&&(n=`[`+n.replace(/[aouei]/g,`$&$&`)+`]`),n}function E(e,t,...n){return Fe(t,n)}function Ie(e,t,...n){let r=Fe(t,n);return{value:r,original:r}}var Le=!1,Re=!1,ze=!1,Be=!1,Ve=!1,He=!1,Ue=!1,We=void 0,Ge=`en`,Ke=void 0,qe=globalThis,Je=void 0;qe.vscode!==void 0&&qe.vscode.process!==void 0?Je=qe.vscode.process:typeof process<`u`&&typeof(process==null?void 0:process.versions)?.node==`string`&&(Je=process);var Ye=typeof Je?.versions?.electron==`string`&&Je?.type===`renderer`;if(typeof Je==`object`){Le=Je.platform===`win32`,Re=Je.platform===`darwin`,ze=Je.platform===`linux`,ze&&Je.env.SNAP&&Je.env.SNAP_REVISION,Je.env.CI||Je.env.BUILD_ARTIFACTSTAGINGDIRECTORY,We=`en`,Ge=`en`;let e=Je.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),n=t.availableLanguages[`*`];We=t.locale,t.osLocale,Ge=n||`en`,t._translationsConfigFile}catch{}Be=!0}else typeof navigator==`object`&&!Ye?(Ke=navigator.userAgent,Le=Ke.indexOf(`Windows`)>=0,Re=Ke.indexOf(`Macintosh`)>=0,He=(Ke.indexOf(`Macintosh`)>=0||Ke.indexOf(`iPad`)>=0||Ke.indexOf(`iPhone`)>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ze=Ke.indexOf(`Linux`)>=0,Ue=Ke?.indexOf(`Mobi`)>=0,Ve=!0,We=(E({key:`ensureLoaderPluginIsLoaded`,comment:[`{Locked}`]},`_`),`en`),Ge=We,navigator.language):console.error(`Unable to resolve platform.`);var Xe=Le,Ze=Re,Qe=ze,$e=Be,et=Ve,tt=Ve&&typeof qe.importScripts==`function`?qe.origin:void 0,nt=He,rt=Ue,it=Ke,at=Ge,ot=typeof qe.postMessage==`function`&&!qe.importScripts,st=(()=>{if(ot){let e=[];qe.addEventListener(`message`,t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){let r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork){e.splice(n,1),r.callback();return}}});let t=0;return n=>{let r=++t;e.push({id:r,callback:n}),qe.postMessage({vscodeScheduleAsyncWork:r},`*`)}}return e=>setTimeout(e)})(),ct=Re||He?2:Le?1:3,lt=!0,ut=!1;function dt(){if(!ut){ut=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2,lt=new Uint16Array(e.buffer)[0]===513}return lt}var ft=!!(it&&it.indexOf(`Chrome`)>=0),pt=!!(it&&it.indexOf(`Firefox`)>=0),mt=!!(!ft&&it&&it.indexOf(`Safari`)>=0),ht=!!(it&&it.indexOf(`Edg/`)>=0),gt=!!(it&&it.indexOf(`Android`)>=0),_t={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},vt;(function(e){function t(e){return e&&typeof e==`object`&&typeof e[Symbol.iterator]==`function`}e.is=t;let n=Object.freeze([]);function r(){return n}e.empty=r;function*i(e){yield e}e.single=i;function a(e){return t(e)?e:i(e)}e.wrap=a;function o(e){return e||n}e.from=o;function*s(e){for(let t=e.length-1;t>=0;t--)yield e[t]}e.reverse=s;function c(e){return!e||e[Symbol.iterator]().next().done===!0}e.isEmpty=c;function l(e){return e[Symbol.iterator]().next().value}e.first=l;function u(e,t){for(let n of e)if(t(n))return!0;return!1}e.some=u;function d(e,t){for(let n of e)if(t(n))return n}e.find=d;function*f(e,t){for(let n of e)t(n)&&(yield n)}e.filter=f;function*p(e,t){let n=0;for(let r of e)yield t(r,n++)}e.map=p;function*m(...e){for(let t of e)yield*t}e.concat=m;function h(e,t,n){let r=n;for(let n of e)r=t(r,n);return r}e.reduce=h;function*g(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]}e.slice=g;function _(t,n=1/0){let r=[];if(n===0)return[r,t];let i=t[Symbol.iterator]();for(let t=0;t<n;t++){let t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator](){return i}}]}e.consume=_;async function v(e){let t=[];for await(let n of e)t.push(n);return Promise.resolve(t)}e.asyncToArray=v})(vt||={});var yt=class e{constructor(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}};yt.Undefined=new yt(void 0);var bt=class{constructor(){this._first=yt.Undefined,this._last=yt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===yt.Undefined}clear(){let e=this._first;for(;e!==yt.Undefined;){let t=e.next;e.prev=yt.Undefined,e.next=yt.Undefined,e=t}this._first=yt.Undefined,this._last=yt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new yt(e);if(this._first===yt.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==yt.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==yt.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==yt.Undefined&&e.next!==yt.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===yt.Undefined&&e.next===yt.Undefined?(this._first=yt.Undefined,this._last=yt.Undefined):e.next===yt.Undefined?(this._last=this._last.prev,this._last.next=yt.Undefined):e.prev===yt.Undefined&&(this._first=this._first.next,this._first.prev=yt.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==yt.Undefined;)yield e.element,e=e.next}},xt=`\`~!@#$%^&*()-=+[{]}\\|;:'",.<>/?`;function St(e=``){let t=`(-?\\d*\\.\\d\\w*)|([^`;for(let n of xt)e.indexOf(n)>=0||(t+=`\\`+n);return t+=`\\s]+)`,new RegExp(t,`g`)}var Ct=St();function wt(e){let t=Ct;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=`g`;e.ignoreCase&&(n+=`i`),e.multiline&&(n+=`m`),e.unicode&&(n+=`u`),t=new RegExp(e.source,n)}return t.lastIndex=0,t}var Tt=new bt;Tt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Et(e,t,n,r,i){if(t=wt(t),i||=vt.first(Tt),n.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,n=n.substring(a,e+i.maxLen/2),Et(e,t,n,r,i)}let a=Date.now(),o=e-1-r,s=-1,c=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let a=Dt(t,n,o,s);if(!a&&c||(c=a,r<=0))break;s=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function Dt(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}var Ot=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},kt=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},At=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Mt(e,t)}compute(e,t,n){return n}},jt=class{constructor(e,t){this.newValue=e,this.didChange=t}};function Mt(e,t){if(typeof e!=`object`||typeof t!=`object`||!e||!t)return new jt(t,e!==t);if(Array.isArray(e)||Array.isArray(t))return new jt(t,!(Array.isArray(e)&&Array.isArray(t)&&r(e,t)));let n=!1;for(let r in t)if(t.hasOwnProperty(r)){let i=Mt(e[r],t[r]);i.didChange&&(e[r]=i.newValue,n=!0)}return new jt(e,n)}var Nt=class{constructor(e){this.schema=void 0,this.id=e,this.name=`_never_`,this.defaultValue=void 0}applyUpdate(e,t){return Mt(e,t)}validate(e){return this.defaultValue}},Pt=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Mt(e,t)}validate(e){return e===void 0?this.defaultValue:e}compute(e,t,n){return n}};function D(e,t){return e===void 0?t:e===`false`?!1:!!e}var Ft=class extends Pt{constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`boolean`,r.default=n),super(e,t,n,r)}validate(e){return D(e,this.defaultValue)}};function It(e,t,n,r){if(e===void 0)return t;let i=parseInt(e,10);return isNaN(i)?t:(i=Math.max(n,i),i=Math.min(r,i),i|0)}var Lt=class e extends Pt{static clampedInt(e,t,n,r){return It(e,t,n,r)}constructor(e,t,n,r,i,a=void 0){a!==void 0&&(a.type=`integer`,a.default=n,a.minimum=r,a.maximum=i),super(e,t,n,a),this.minimum=r,this.maximum=i}validate(t){return e.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}};function Rt(e,t,n,r){if(e===void 0)return t;let i=zt.float(e,t);return zt.clamp(i,n,r)}var zt=class e extends Pt{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if(typeof e==`number`)return e;if(e===void 0)return t;let n=parseFloat(e);return isNaN(n)?t:n}constructor(e,t,n,r,i){i!==void 0&&(i.type=`number`,i.default=n),super(e,t,n,i),this.validationFn=r}validate(t){return this.validationFn(e.float(t,this.defaultValue))}},Bt=class e extends Pt{static string(e,t){return typeof e==`string`?e:t}constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`string`,r.default=n),super(e,t,n,r)}validate(t){return e.string(t,this.defaultValue)}};function Vt(e,t,n,r){return typeof e==`string`?r&&e in r?r[e]:n.indexOf(e)===-1?t:e:t}var Ht=class extends Pt{constructor(e,t,n,r,i=void 0){i!==void 0&&(i.type=`string`,i.enum=r,i.default=n),super(e,t,n,i),this._allowedValues=r}validate(e){return Vt(e,this.defaultValue,this._allowedValues)}},Ut=class extends At{constructor(e,t,n,r,i,a,o=void 0){o!==void 0&&(o.type=`string`,o.enum=i,o.default=r),super(e,t,n,o),this._allowedValues=i,this._convert=a}validate(e){return typeof e!=`string`||this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}};function Wt(e){switch(e){case`none`:return 0;case`keep`:return 1;case`brackets`:return 2;case`advanced`:return 3;case`full`:return 4}}var Gt=class extends At{constructor(){super(2,`accessibilitySupport`,0,{type:`string`,enum:[`auto`,`on`,`off`],enumDescriptions:[E(`accessibilitySupport.auto`,`Use platform APIs to detect when a Screen Reader is attached.`),E(`accessibilitySupport.on`,`Optimize for usage with a Screen Reader.`),E(`accessibilitySupport.off`,`Assume a screen reader is not attached.`)],default:`auto`,tags:[`accessibility`],description:E(`accessibilitySupport`,`Controls if the UI should run in a mode where it is optimized for screen readers.`)})}validate(e){switch(e){case`auto`:return 0;case`off`:return 1;case`on`:return 2}return this.defaultValue}compute(e,t,n){return n===0?e.accessibilitySupport:n}},Kt=class extends At{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,`comments`,e,{"editor.comments.insertSpace":{type:`boolean`,default:e.insertSpace,description:E(`comments.insertSpace`,`Controls whether a space character is inserted when commenting.`)},"editor.comments.ignoreEmptyLines":{type:`boolean`,default:e.ignoreEmptyLines,description:E(`comments.ignoreEmptyLines`,`Controls if empty lines should be ignored with toggle, add or remove actions for line comments.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{insertSpace:D(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:D(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}};function qt(e){switch(e){case`blink`:return 1;case`smooth`:return 2;case`phase`:return 3;case`expand`:return 4;case`solid`:return 5}}var Jt;(function(e){e[e.Line=1]=`Line`,e[e.Block=2]=`Block`,e[e.Underline=3]=`Underline`,e[e.LineThin=4]=`LineThin`,e[e.BlockOutline=5]=`BlockOutline`,e[e.UnderlineThin=6]=`UnderlineThin`})(Jt||={});function Yt(e){switch(e){case`line`:return Jt.Line;case`block`:return Jt.Block;case`underline`:return Jt.Underline;case`line-thin`:return Jt.LineThin;case`block-outline`:return Jt.BlockOutline;case`underline-thin`:return Jt.UnderlineThin}}var Xt=class extends Nt{constructor(){super(142)}compute(e,t,n){let r=[`monaco-editor`];return t.get(39)&&r.push(t.get(39)),e.extraEditorClassName&&r.push(e.extraEditorClassName),t.get(74)===`default`?r.push(`mouse-default`):t.get(74)===`copy`&&r.push(`mouse-copy`),t.get(111)&&r.push(`showUnused`),t.get(140)&&r.push(`showDeprecated`),r.join(` `)}},Zt=class extends Ft{constructor(){super(37,`emptySelectionClipboard`,!0,{description:E(`emptySelectionClipboard`,`Controls whether copying without a selection copies the current line.`)})}compute(e,t,n){return n&&e.emptySelectionClipboard}},Qt=class extends At{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:`always`,autoFindInSelection:`never`,globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,`find`,e,{"editor.find.cursorMoveOnType":{type:`boolean`,default:e.cursorMoveOnType,description:E(`find.cursorMoveOnType`,`Controls whether the cursor should jump to find matches while typing.`)},"editor.find.seedSearchStringFromSelection":{type:`string`,enum:[`never`,`always`,`selection`],default:e.seedSearchStringFromSelection,enumDescriptions:[E(`editor.find.seedSearchStringFromSelection.never`,`Never seed search string from the editor selection.`),E(`editor.find.seedSearchStringFromSelection.always`,`Always seed search string from the editor selection, including word at cursor position.`),E(`editor.find.seedSearchStringFromSelection.selection`,`Only seed search string from the editor selection.`)],description:E(`find.seedSearchStringFromSelection`,`Controls whether the search string in the Find Widget is seeded from the editor selection.`)},"editor.find.autoFindInSelection":{type:`string`,enum:[`never`,`always`,`multiline`],default:e.autoFindInSelection,enumDescriptions:[E(`editor.find.autoFindInSelection.never`,`Never turn on Find in Selection automatically (default).`),E(`editor.find.autoFindInSelection.always`,`Always turn on Find in Selection automatically.`),E(`editor.find.autoFindInSelection.multiline`,`Turn on Find in Selection automatically when multiple lines of content are selected.`)],description:E(`find.autoFindInSelection`,`Controls the condition for turning on Find in Selection automatically.`)},"editor.find.globalFindClipboard":{type:`boolean`,default:e.globalFindClipboard,description:E(`find.globalFindClipboard`,`Controls whether the Find Widget should read or modify the shared find clipboard on macOS.`),included:Ze},"editor.find.addExtraSpaceOnTop":{type:`boolean`,default:e.addExtraSpaceOnTop,description:E(`find.addExtraSpaceOnTop`,`Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.`)},"editor.find.loop":{type:`boolean`,default:e.loop,description:E(`find.loop`,`Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{cursorMoveOnType:D(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==`boolean`?e.seedSearchStringFromSelection?`always`:`never`:Vt(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[`never`,`always`,`selection`]),autoFindInSelection:typeof e.autoFindInSelection==`boolean`?e.autoFindInSelection?`always`:`never`:Vt(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[`never`,`always`,`multiline`]),globalFindClipboard:D(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:D(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:D(t.loop,this.defaultValue.loop)}}},$t=class e extends At{constructor(){super(51,`fontLigatures`,e.OFF,{anyOf:[{type:`boolean`,description:E(`fontLigatures`,`Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.`)},{type:`string`,description:E(`fontFeatureSettings`,`Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.`)}],description:E(`fontLigaturesGeneral`,`Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property.`),default:!1})}validate(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`||t.length===0?e.OFF:t===`true`?e.ON:t:t?e.ON:e.OFF}};$t.OFF=`"liga" off, "calt" off`,$t.ON=`"liga" on, "calt" on`;var en=class e extends At{constructor(){super(54,`fontVariations`,e.OFF,{anyOf:[{type:`boolean`,description:E(`fontVariations`,`Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.`)},{type:`string`,description:E(`fontVariationSettings`,`Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.`)}],description:E(`fontVariationsGeneral`,`Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property.`),default:!1})}validate(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`?e.OFF:t===`true`?e.TRANSLATE:t:t?e.TRANSLATE:e.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}};en.OFF=`normal`,en.TRANSLATE=`translate`;var tn=class extends Nt{constructor(){super(50)}compute(e,t,n){return e.fontInfo}},nn=class extends Pt{constructor(){super(52,`fontSize`,Hn.fontSize,{type:`number`,minimum:6,maximum:100,default:Hn.fontSize,description:E(`fontSize`,`Controls the font size in pixels.`)})}validate(e){let t=zt.float(e,this.defaultValue);return t===0?Hn.fontSize:zt.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}},rn=class e extends At{constructor(){super(53,`fontWeight`,Hn.fontWeight,{anyOf:[{type:`number`,minimum:e.MINIMUM_VALUE,maximum:e.MAXIMUM_VALUE,errorMessage:E(`fontWeightErrorMessage`,`Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.`)},{type:`string`,pattern:`^(normal|bold|1000|[1-9][0-9]{0,2})$`},{enum:e.SUGGESTION_VALUES}],default:Hn.fontWeight,description:E(`fontWeight`,`Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.`)})}validate(t){return t===`normal`||t===`bold`?t:String(Lt.clampedInt(t,Hn.fontWeight,e.MINIMUM_VALUE,e.MAXIMUM_VALUE))}};rn.SUGGESTION_VALUES=[`normal`,`bold`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`],rn.MINIMUM_VALUE=1,rn.MAXIMUM_VALUE=1e3;var an=class extends At{constructor(){let e={multiple:`peek`,multipleDefinitions:`peek`,multipleTypeDefinitions:`peek`,multipleDeclarations:`peek`,multipleImplementations:`peek`,multipleReferences:`peek`,alternativeDefinitionCommand:`editor.action.goToReferences`,alternativeTypeDefinitionCommand:`editor.action.goToReferences`,alternativeDeclarationCommand:`editor.action.goToReferences`,alternativeImplementationCommand:``,alternativeReferenceCommand:``},t={type:`string`,enum:[`peek`,`gotoAndPeek`,`goto`],default:e.multiple,enumDescriptions:[E(`editor.gotoLocation.multiple.peek`,`Show Peek view of the results (default)`),E(`editor.gotoLocation.multiple.gotoAndPeek`,`Go to the primary result and show a Peek view`),E(`editor.gotoLocation.multiple.goto`,`Go to the primary result and enable Peek-less navigation to others`)]},n=[``,`editor.action.referenceSearch.trigger`,`editor.action.goToReferences`,`editor.action.peekImplementation`,`editor.action.goToImplementation`,`editor.action.peekTypeDefinition`,`editor.action.goToTypeDefinition`,`editor.action.peekDeclaration`,`editor.action.revealDeclaration`,`editor.action.peekDefinition`,`editor.action.revealDefinitionAside`,`editor.action.revealDefinition`];super(58,`gotoLocation`,e,{"editor.gotoLocation.multiple":{deprecationMessage:E(`editor.gotoLocation.multiple.deprecated`,`This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.`)},"editor.gotoLocation.multipleDefinitions":{description:E(`editor.editor.gotoLocation.multipleDefinitions`,`Controls the behavior the 'Go to Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:E(`editor.editor.gotoLocation.multipleTypeDefinitions`,`Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleDeclarations":{description:E(`editor.editor.gotoLocation.multipleDeclarations`,`Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleImplementations":{description:E(`editor.editor.gotoLocation.multipleImplemenattions`,`Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleReferences":{description:E(`editor.editor.gotoLocation.multipleReferences`,`Controls the behavior the 'Go to References'-command when multiple target locations exist.`),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:`string`,default:e.alternativeDefinitionCommand,enum:n,description:E(`alternativeDefinitionCommand`,`Alternative command id that is being executed when the result of 'Go to Definition' is the current location.`)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:`string`,default:e.alternativeTypeDefinitionCommand,enum:n,description:E(`alternativeTypeDefinitionCommand`,`Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.`)},"editor.gotoLocation.alternativeDeclarationCommand":{type:`string`,default:e.alternativeDeclarationCommand,enum:n,description:E(`alternativeDeclarationCommand`,`Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.`)},"editor.gotoLocation.alternativeImplementationCommand":{type:`string`,default:e.alternativeImplementationCommand,enum:n,description:E(`alternativeImplementationCommand`,`Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.`)},"editor.gotoLocation.alternativeReferenceCommand":{type:`string`,default:e.alternativeReferenceCommand,enum:n,description:E(`alternativeReferenceCommand`,`Alternative command id that is being executed when the result of 'Go to Reference' is the current location.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{multiple:Vt(t.multiple,this.defaultValue.multiple,[`peek`,`gotoAndPeek`,`goto`]),multipleDefinitions:t.multipleDefinitions??Vt(t.multipleDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTypeDefinitions:t.multipleTypeDefinitions??Vt(t.multipleTypeDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleDeclarations:t.multipleDeclarations??Vt(t.multipleDeclarations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleImplementations:t.multipleImplementations??Vt(t.multipleImplementations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleReferences:t.multipleReferences??Vt(t.multipleReferences,`peek`,[`peek`,`gotoAndPeek`,`goto`]),alternativeDefinitionCommand:Bt.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Bt.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Bt.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Bt.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Bt.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}},on=class extends At{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,`hover`,e,{"editor.hover.enabled":{type:`boolean`,default:e.enabled,description:E(`hover.enabled`,`Controls whether the hover is shown.`)},"editor.hover.delay":{type:`number`,default:e.delay,minimum:0,maximum:1e4,description:E(`hover.delay`,`Controls the delay in milliseconds after which the hover is shown.`)},"editor.hover.sticky":{type:`boolean`,default:e.sticky,description:E(`hover.sticky`,`Controls whether the hover should remain visible when mouse is moved over it.`)},"editor.hover.hidingDelay":{type:`integer`,minimum:0,default:e.hidingDelay,description:E(`hover.hidingDelay`,"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:`boolean`,default:e.above,description:E(`hover.above`,`Prefer showing hovers above the line, if there's space.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),delay:Lt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:D(t.sticky,this.defaultValue.sticky),hidingDelay:Lt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:D(t.above,this.defaultValue.above)}}},sn=class e extends Nt{constructor(){super(145)}compute(t,n,r){return e.computeLayout(n,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight),r=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(r=Math.max(r,t-1));let i=(n+e.viewLineCount+r)/(e.pixelRatio*e.height),a=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:r,desiredRatio:i,minimapLineCount:a}}static _computeMinimapLayout(t,n){let r=t.outerWidth,i=t.outerHeight,a=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(a*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};let o=n.stableMinimapLayoutInput,s=o&&t.outerHeight===o.outerHeight&&t.lineHeight===o.lineHeight&&t.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&t.pixelRatio===o.pixelRatio&&t.scrollBeyondLastLine===o.scrollBeyondLastLine&&t.paddingTop===o.paddingTop&&t.paddingBottom===o.paddingBottom&&t.minimap.enabled===o.minimap.enabled&&t.minimap.side===o.minimap.side&&t.minimap.size===o.minimap.size&&t.minimap.showSlider===o.minimap.showSlider&&t.minimap.renderCharacters===o.minimap.renderCharacters&&t.minimap.maxColumn===o.minimap.maxColumn&&t.minimap.scale===o.minimap.scale&&t.verticalScrollbarWidth===o.verticalScrollbarWidth&&t.isViewportWrapping===o.isViewportWrapping,c=t.lineHeight,l=t.typicalHalfwidthCharacterWidth,u=t.scrollBeyondLastLine,d=t.minimap.renderCharacters,f=a>=2?Math.round(t.minimap.scale*2):t.minimap.scale,p=t.minimap.maxColumn,m=t.minimap.size,h=t.minimap.side,g=t.verticalScrollbarWidth,_=t.viewLineCount,v=t.remainingWidth,y=t.isViewportWrapping,b=d?2:3,x=Math.floor(a*i),S=x/a,C=!1,ee=!1,te=b*f,ne=f/a,re=1;if(m===`fill`||m===`fit`){let{typicalViewportLineCount:r,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:d,minimapLineCount:p}=e.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:u,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:i,lineHeight:c,pixelRatio:a});if(_/p>1)C=!0,ee=!0,f=1,te=1,ne=f/a;else{let e=!1,i=f+1;if(m===`fit`){let t=Math.ceil((o+_+l)*te);y&&s&&v<=n.stableFitRemainingWidth?(e=!0,i=n.stableFitMaxMinimapScale):e=t>x}if(m===`fill`||e){C=!0;let e=f;te=Math.min(c*a,Math.max(1,Math.floor(1/d))),y&&s&&v<=n.stableFitRemainingWidth&&(i=n.stableFitMaxMinimapScale),f=Math.min(i,Math.max(1,Math.floor(te/b))),f>e&&(re=Math.min(2,f/e)),ne=f/a/re,x=Math.ceil(Math.max(r,o+_+l)*te),y?(n.stableMinimapLayoutInput=t,n.stableFitRemainingWidth=v,n.stableFitMaxMinimapScale=f):(n.stableMinimapLayoutInput=null,n.stableFitRemainingWidth=0)}}}let ie=Math.floor(p*ne),ae=Math.min(ie,Math.max(0,Math.floor((v-g-2)*ne/(l+ne)))+8),oe=Math.floor(a*ae),se=oe/a;return oe=Math.floor(oe*re),{renderMinimap:d?1:2,minimapLeft:h===`left`?0:r-ae-g,minimapWidth:ae,minimapHeightIsEditorHeight:C,minimapIsSampling:ee,minimapScale:f,minimapLineHeight:te,minimapCanvasInnerWidth:oe,minimapCanvasInnerHeight:x,minimapCanvasOuterWidth:se,minimapCanvasOuterHeight:S}}static computeLayout(t,n){let r=n.outerWidth|0,i=n.outerHeight|0,a=n.lineHeight|0,o=n.lineNumbersDigitCount|0,s=n.typicalHalfwidthCharacterWidth,c=n.maxDigitWidth,l=n.pixelRatio,u=n.viewLineCount,d=t.get(137),f=d===`inherit`?t.get(136):d,p=f===`inherit`?t.get(132):f,m=t.get(135),h=n.isDominatedByLongLines,g=t.get(57),_=t.get(68).renderType!==0,v=t.get(69),y=t.get(105),b=t.get(84),x=t.get(73),S=t.get(103),C=S.verticalScrollbarSize,ee=S.verticalHasArrows,te=S.arrowSize,ne=S.horizontalScrollbarSize,re=t.get(43),ie=t.get(110)!==`never`,ae=t.get(66);re&&ie&&(ae+=16);let oe=0;_&&(oe=Math.round(Math.max(o,v)*c));let se=0;g&&(se=a*n.glyphMarginDecorationLaneCount);let ce=0,le=ce+se,ue=le+oe,de=ue+ae,fe=r-se-oe-ae,w=!1,T=!1,pe=-1;f===`inherit`&&h?(w=!0,T=!0):p===`on`||p===`bounded`?T=!0:p===`wordWrapColumn`&&(pe=m);let me=e._computeMinimapLayout({outerWidth:r,outerHeight:i,lineHeight:a,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:y,paddingTop:b.top,paddingBottom:b.bottom,minimap:x,verticalScrollbarWidth:C,viewLineCount:u,remainingWidth:fe,isViewportWrapping:T},n.memory||new kt);me.renderMinimap!==0&&me.minimapLeft===0&&(ce+=me.minimapWidth,le+=me.minimapWidth,ue+=me.minimapWidth,de+=me.minimapWidth);let he=fe-me.minimapWidth,ge=Math.max(1,Math.floor((he-C-2)/s)),_e=ee?te:0;return T&&(pe=Math.max(1,ge),p===`bounded`&&(pe=Math.min(pe,m))),{width:r,height:i,glyphMarginLeft:ce,glyphMarginWidth:se,glyphMarginDecorationLaneCount:n.glyphMarginDecorationLaneCount,lineNumbersLeft:le,lineNumbersWidth:oe,decorationsLeft:ue,decorationsWidth:ae,contentLeft:de,contentWidth:he,minimap:me,viewportColumn:ge,isWordWrapMinified:w,isViewportWrapping:T,wrappingColumn:pe,verticalScrollbarWidth:C,horizontalScrollbarHeight:ne,overviewRuler:{top:_e,width:C,height:i-2*_e,right:0}}}},cn=class extends At{constructor(){super(139,`wrappingStrategy`,`simple`,{"editor.wrappingStrategy":{enumDescriptions:[E(`wrappingStrategy.simple`,`Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width.`),E(`wrappingStrategy.advanced`,`Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.`)],type:`string`,enum:[`simple`,`advanced`],default:`simple`,description:E(`wrappingStrategy`,`Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.`)}})}validate(e){return Vt(e,`simple`,[`simple`,`advanced`])}compute(e,t,n){return t.get(2)===2?`advanced`:n}},ln;(function(e){e.Off=`off`,e.OnCode=`onCode`,e.On=`on`})(ln||={});var un=class extends At{constructor(){let e={enabled:ln.On};super(65,`lightbulb`,e,{"editor.lightbulb.enabled":{type:`string`,tags:[`experimental`],enum:[ln.Off,ln.OnCode,ln.On],default:e.enabled,enumDescriptions:[E(`editor.lightbulb.enabled.off`,`Disable the code action menu.`),E(`editor.lightbulb.enabled.onCode`,`Show the code action menu when the cursor is on lines with code.`),E(`editor.lightbulb.enabled.on`,`Show the code action menu when the cursor is on lines with code or on empty lines.`)],description:E(`enabled`,`Enables the Code Action lightbulb in the editor.`)}})}validate(e){return!e||typeof e!=`object`?this.defaultValue:{enabled:Vt(e.enabled,this.defaultValue.enabled,[ln.Off,ln.OnCode,ln.On])}}},dn=class extends At{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:`outlineModel`,scrollWithEditor:!0};super(115,`stickyScroll`,e,{"editor.stickyScroll.enabled":{type:`boolean`,default:e.enabled,description:E(`editor.stickyScroll.enabled`,`Shows the nested current scopes during the scroll at the top of the editor.`),tags:[`experimental`]},"editor.stickyScroll.maxLineCount":{type:`number`,default:e.maxLineCount,minimum:1,maximum:20,description:E(`editor.stickyScroll.maxLineCount`,`Defines the maximum number of sticky lines to show.`)},"editor.stickyScroll.defaultModel":{type:`string`,enum:[`outlineModel`,`foldingProviderModel`,`indentationModel`],default:e.defaultModel,description:E(`editor.stickyScroll.defaultModel`,`Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.`)},"editor.stickyScroll.scrollWithEditor":{type:`boolean`,default:e.scrollWithEditor,description:E(`editor.stickyScroll.scrollWithEditor`,`Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),maxLineCount:Lt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Vt(t.defaultModel,this.defaultValue.defaultModel,[`outlineModel`,`foldingProviderModel`,`indentationModel`]),scrollWithEditor:D(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},fn=class extends At{constructor(){let e={enabled:`on`,fontSize:0,fontFamily:``,padding:!1};super(141,`inlayHints`,e,{"editor.inlayHints.enabled":{type:`string`,default:e.enabled,description:E(`inlayHints.enable`,`Enables the inlay hints in the editor.`),enum:[`on`,`onUnlessPressed`,`offUnlessPressed`,`off`],markdownEnumDescriptions:[E(`editor.inlayHints.on`,`Inlay hints are enabled`),E(`editor.inlayHints.onUnlessPressed`,`Inlay hints are showing by default and hide when holding {0}`,Ze?`Ctrl+Option`:`Ctrl+Alt`),E(`editor.inlayHints.offUnlessPressed`,`Inlay hints are hidden by default and show when holding {0}`,Ze?`Ctrl+Option`:`Ctrl+Alt`),E(`editor.inlayHints.off`,`Inlay hints are disabled`)]},"editor.inlayHints.fontSize":{type:`number`,default:e.fontSize,markdownDescription:E(`inlayHints.fontSize`,`Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.`,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:`string`,default:e.fontFamily,markdownDescription:E(`inlayHints.fontFamily`,`Controls font family of inlay hints in the editor. When set to empty, the {0} is used.`,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:`boolean`,default:e.padding,description:E(`inlayHints.padding`,`Enables the padding around the inlay hints in the editor.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return typeof t.enabled==`boolean`&&(t.enabled=t.enabled?`on`:`off`),{enabled:Vt(t.enabled,this.defaultValue.enabled,[`on`,`off`,`offUnlessPressed`,`onUnlessPressed`]),fontSize:Lt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Bt.string(t.fontFamily,this.defaultValue.fontFamily),padding:D(t.padding,this.defaultValue.padding)}}},pn=class extends At{constructor(){super(66,`lineDecorationsWidth`,10)}validate(e){return typeof e==`string`&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Lt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?Lt.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}},mn=class extends zt{constructor(){super(67,`lineHeight`,Hn.lineHeight,e=>zt.clamp(e,0,150),{markdownDescription:E(`lineHeight`,`Controls the line height.
|
|
1
|
+
import{t as e}from"./chunk-DtRyYLXJ.js";function t(e,t=0){return e[e.length-(1+t)]}function n(e){if(e.length===0)throw Error(`Invalid tail call`);return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function i(e,t){let n=e.length-1;t<n&&(e[t]=e[n]),e.pop()}function a(e,t,n){return o(e.length,r=>n(e[r],t))}function o(e,t){let n=0,r=e-1;for(;n<=r;){let e=(n+r)/2|0,i=t(e);if(i<0)n=e+1;else if(i>0)r=e-1;else return e}return-(n+1)}function s(e,t,n){if(e|=0,e>=t.length)throw TypeError(`invalid index`);let r=t[Math.floor(t.length*Math.random())],i=[],a=[],o=[];for(let e of t){let t=n(e,r);t<0?i.push(e):t>0?a.push(e):o.push(e)}return e<i.length?s(e,i,n):e<i.length+o.length?o[0]:s(e-(i.length+o.length),a,n)}function c(e,t){let n=[],r;for(let i of e.slice(0).sort(t))!r||t(r[0],i)!==0?(r=[i],n.push(r)):r.push(i);return n}function*l(e,t){let n,r;for(let i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function u(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function d(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function f(e){return e.filter(e=>!!e)}function p(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t}function m(e){return!Array.isArray(e)||e.length===0}function h(e){return Array.isArray(e)&&e.length>0}function g(e,t=e=>e){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function _(e,t){return e.length>0?e[0]:t}function v(e,t){let n=typeof t==`number`?e:0;typeof t==`number`?n=e:(n=0,t=e);let r=[];if(n<=t)for(let e=n;e<t;e++)r.push(e);else for(let e=n;e>t;e--)r.push(e);return r}function y(e,t,n){let r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function b(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function x(e,t){let n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function S(e,t){for(let n of t)e.push(n)}function C(e){return Array.isArray(e)?e:[e]}function ee(e,t,n){let r=ne(e,t),i=e.length,a=n.length;e.length=i+a;for(let t=i-1;t>=r;t--)e[t+a]=e[t];for(let t=0;t<a;t++)e[t+r]=n[t]}function te(e,t,n,r){let i=ne(e,t),a=e.splice(i,n);return a===void 0&&(a=[]),ee(e,i,r),a}function ne(e,t){return t<0?Math.max(t+e.length,0):Math.min(t,e.length)}var re;(function(e){function t(e){return e<0}e.isLessThan=t;function n(e){return e<=0}e.isLessThanOrEqual=n;function r(e){return e>0}e.isGreaterThan=r;function i(e){return e===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(re||={});function ie(e,t){return(n,r)=>t(e(n),e(r))}function ae(...e){return(t,n)=>{for(let r of e){let e=r(t,n);if(!re.isNeitherLessOrGreaterThan(e))return e}return re.neitherLessOrGreaterThan}}var oe=(e,t)=>e-t,se=(e,t)=>oe(+!!e,+!!t);function ce(e){return(t,n)=>-e(t,n)}var le=class{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t<this.items.length&&e(this.items[t]);)t++;let n=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,n}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;let n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){let e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){let t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}},ue=class e{constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(t){return new e(e=>this.iterate(n=>t(n)?e(n):!0))}map(t){return new e(e=>this.iterate(n=>e(t(n))))}findLast(e){let t;return this.iterate(n=>(e(n)&&(t=n),!0)),t}findLastMaxBy(e){let t,n=!0;return this.iterate(r=>((n||re.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0)),t}};ue.empty=new ue(e=>{});var de=class e{constructor(e){this._indexMap=e}static createSortPermutation(t,n){return new e(Array.from(t.keys()).sort((e,r)=>n(t[e],t[r])))}apply(e){return e.map((t,n)=>e[this._indexMap[n]])}inverse(){let t=this._indexMap.slice();for(let e=0;e<this._indexMap.length;e++)t[this._indexMap[e]]=e;return new e(t)}};function fe(e){return typeof e==`string`}function w(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function T(e){return typeof e==`object`&&e instanceof Object.getPrototypeOf(Uint8Array)}function pe(e){return typeof e==`number`&&!isNaN(e)}function me(e){return!!e&&typeof e[Symbol.iterator]==`function`}function he(e){return e===!0||e===!1}function ge(e){return e===void 0}function _e(e){return!ve(e)}function ve(e){return ge(e)||e===null}function ye(e,t){if(!e)throw Error(t?`Unexpected type, expected '${t}'`:`Unexpected type`)}function be(e){if(ve(e))throw Error(`Assertion Failed: argument is undefined or null`);return e}function xe(e){return typeof e==`function`}function Se(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)Ce(e[r],t[r])}function Ce(e,t){if(fe(t)){if(typeof e!==t)throw Error(`argument does not match constraint: typeof ${t}`)}else if(xe(t)){try{if(e instanceof t)return}catch{}if(!ve(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw Error(`argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true`)}}function we(e){if(!e||typeof e!=`object`||e instanceof RegExp)return e;let t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([e,n])=>{t[e]=n&&typeof n==`object`?we(n):n}),t}function Te(e){if(!e||typeof e!=`object`)return e;let t=[e];for(;t.length>0;){let e=t.shift();Object.freeze(e);for(let n in e)if(Ee.call(e,n)){let r=e[n];typeof r==`object`&&!Object.isFrozen(r)&&!T(r)&&t.push(r)}}return e}var Ee=Object.prototype.hasOwnProperty;function De(e,t){return Oe(e,t,new Set)}function Oe(e,t,n){if(ve(e))return e;let r=t(e);if(r!==void 0)return r;if(Array.isArray(e)){let r=[];for(let i of e)r.push(Oe(i,t,n));return r}if(w(e)){if(n.has(e))throw Error(`Cannot clone recursive data-structure`);n.add(e);let r={};for(let i in e)Ee.call(e,i)&&(r[i]=Oe(e[i],t,n));return n.delete(e),r}return e}function ke(e,t,n=!0){return w(e)?(w(t)&&Object.keys(t).forEach(r=>{r in e?n&&(w(e[r])&&w(t[r])?ke(e[r],t[r],n):e[r]=t[r]):e[r]=t[r]}),e):t}function Ae(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Ae(e[n],t[n]))return!1}else{let i=[];for(r in e)i.push(r);i.sort();let a=[];for(r in t)a.push(r);if(a.sort(),!Ae(i,a))return!1;for(n=0;n<i.length;n++)if(!Ae(e[i[n]],t[i[n]]))return!1}return!0}function je(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Me(e){let t=[];for(let n of je(e))typeof e[n]==`function`&&t.push(n);return t}function Ne(e,t){let n=e=>function(){return t(e,Array.prototype.slice.call(arguments,0))},r={};for(let t of e)r[t]=n(t);return r}var Pe=typeof document<`u`&&document.location&&document.location.hash.indexOf(`pseudo=true`)>=0;function Fe(e,t){let n;return n=t.length===0?e:e.replace(/\{(\d+)\}/g,(e,n)=>{let r=t[n[0]],i=e;return typeof r==`string`?i=r:(typeof r==`number`||typeof r==`boolean`||r==null)&&(i=String(r)),i}),Pe&&(n=`[`+n.replace(/[aouei]/g,`$&$&`)+`]`),n}function E(e,t,...n){return Fe(t,n)}function Ie(e,t,...n){let r=Fe(t,n);return{value:r,original:r}}var Le=!1,Re=!1,ze=!1,Be=!1,Ve=!1,He=!1,Ue=!1,We=void 0,Ge=`en`,Ke=void 0,qe=globalThis,Je=void 0;qe.vscode!==void 0&&qe.vscode.process!==void 0?Je=qe.vscode.process:typeof process<`u`&&typeof(process==null?void 0:process.versions)?.node==`string`&&(Je=process);var Ye=typeof Je?.versions?.electron==`string`&&Je?.type===`renderer`;if(typeof Je==`object`){Le=Je.platform===`win32`,Re=Je.platform===`darwin`,ze=Je.platform===`linux`,ze&&Je.env.SNAP&&Je.env.SNAP_REVISION,Je.env.CI||Je.env.BUILD_ARTIFACTSTAGINGDIRECTORY,We=`en`,Ge=`en`;let e=Je.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e),n=t.availableLanguages[`*`];We=t.locale,t.osLocale,Ge=n||`en`,t._translationsConfigFile}catch{}Be=!0}else typeof navigator==`object`&&!Ye?(Ke=navigator.userAgent,Le=Ke.indexOf(`Windows`)>=0,Re=Ke.indexOf(`Macintosh`)>=0,He=(Ke.indexOf(`Macintosh`)>=0||Ke.indexOf(`iPad`)>=0||Ke.indexOf(`iPhone`)>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,ze=Ke.indexOf(`Linux`)>=0,Ue=Ke?.indexOf(`Mobi`)>=0,Ve=!0,We=(E({key:`ensureLoaderPluginIsLoaded`,comment:[`{Locked}`]},`_`),`en`),Ge=We,navigator.language):console.error(`Unable to resolve platform.`);var Xe=Le,Ze=Re,Qe=ze,$e=Be,et=Ve,tt=Ve&&typeof qe.importScripts==`function`?qe.origin:void 0,nt=He,rt=Ue,it=Ke,at=Ge,ot=typeof qe.postMessage==`function`&&!qe.importScripts,st=(()=>{if(ot){let e=[];qe.addEventListener(`message`,t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){let r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork){e.splice(n,1),r.callback();return}}});let t=0;return n=>{let r=++t;e.push({id:r,callback:n}),qe.postMessage({vscodeScheduleAsyncWork:r},`*`)}}return e=>setTimeout(e)})(),ct=Re||He?2:Le?1:3,lt=!0,ut=!1;function dt(){if(!ut){ut=!0;let e=new Uint8Array(2);e[0]=1,e[1]=2,lt=new Uint16Array(e.buffer)[0]===513}return lt}var ft=!!(it&&it.indexOf(`Chrome`)>=0),pt=!!(it&&it.indexOf(`Firefox`)>=0),mt=!!(!ft&&it&&it.indexOf(`Safari`)>=0),ht=!!(it&&it.indexOf(`Edg/`)>=0),gt=!!(it&&it.indexOf(`Android`)>=0),_t={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},vt;(function(e){function t(e){return e&&typeof e==`object`&&typeof e[Symbol.iterator]==`function`}e.is=t;let n=Object.freeze([]);function r(){return n}e.empty=r;function*i(e){yield e}e.single=i;function a(e){return t(e)?e:i(e)}e.wrap=a;function o(e){return e||n}e.from=o;function*s(e){for(let t=e.length-1;t>=0;t--)yield e[t]}e.reverse=s;function c(e){return!e||e[Symbol.iterator]().next().done===!0}e.isEmpty=c;function l(e){return e[Symbol.iterator]().next().value}e.first=l;function u(e,t){for(let n of e)if(t(n))return!0;return!1}e.some=u;function d(e,t){for(let n of e)if(t(n))return n}e.find=d;function*f(e,t){for(let n of e)t(n)&&(yield n)}e.filter=f;function*p(e,t){let n=0;for(let r of e)yield t(r,n++)}e.map=p;function*m(...e){for(let t of e)yield*t}e.concat=m;function h(e,t,n){let r=n;for(let n of e)r=t(r,n);return r}e.reduce=h;function*g(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]}e.slice=g;function _(t,n=1/0){let r=[];if(n===0)return[r,t];let i=t[Symbol.iterator]();for(let t=0;t<n;t++){let t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator](){return i}}]}e.consume=_;async function v(e){let t=[];for await(let n of e)t.push(n);return Promise.resolve(t)}e.asyncToArray=v})(vt||={});var yt=class e{constructor(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}};yt.Undefined=new yt(void 0);var bt=class{constructor(){this._first=yt.Undefined,this._last=yt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===yt.Undefined}clear(){let e=this._first;for(;e!==yt.Undefined;){let t=e.next;e.prev=yt.Undefined,e.next=yt.Undefined,e=t}this._first=yt.Undefined,this._last=yt.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){let n=new yt(e);if(this._first===yt.Undefined)this._first=n,this._last=n;else if(t){let e=this._last;this._last=n,n.prev=e,e.next=n}else{let e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==yt.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==yt.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==yt.Undefined&&e.next!==yt.Undefined){let t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===yt.Undefined&&e.next===yt.Undefined?(this._first=yt.Undefined,this._last=yt.Undefined):e.next===yt.Undefined?(this._last=this._last.prev,this._last.next=yt.Undefined):e.prev===yt.Undefined&&(this._first=this._first.next,this._first.prev=yt.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==yt.Undefined;)yield e.element,e=e.next}},xt=`\`~!@#$%^&*()-=+[{]}\\|;:'",.<>/?`;function St(e=``){let t=`(-?\\d*\\.\\d\\w*)|([^`;for(let n of xt)e.indexOf(n)>=0||(t+=`\\`+n);return t+=`\\s]+)`,new RegExp(t,`g`)}var Ct=St();function wt(e){let t=Ct;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n=`g`;e.ignoreCase&&(n+=`i`),e.multiline&&(n+=`m`),e.unicode&&(n+=`u`),t=new RegExp(e.source,n)}return t.lastIndex=0,t}var Tt=new bt;Tt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Et(e,t,n,r,i){if(t=wt(t),i||=vt.first(Tt),n.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,n=n.substring(a,e+i.maxLen/2),Et(e,t,n,r,i)}let a=Date.now(),o=e-1-r,s=-1,c=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){let r=o-i.windowSize*e;t.lastIndex=Math.max(0,r);let a=Dt(t,n,o,s);if(!a&&c||(c=a,r<=0))break;s=r}if(c){let e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function Dt(e,t,n,r){let i;for(;i=e.exec(t);){let t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}var Ot=class{constructor(e){this._values=e}hasChanged(e){return this._values[e]}},kt=class{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}},At=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Mt(e,t)}compute(e,t,n){return n}},jt=class{constructor(e,t){this.newValue=e,this.didChange=t}};function Mt(e,t){if(typeof e!=`object`||typeof t!=`object`||!e||!t)return new jt(t,e!==t);if(Array.isArray(e)||Array.isArray(t))return new jt(t,!(Array.isArray(e)&&Array.isArray(t)&&r(e,t)));let n=!1;for(let r in t)if(t.hasOwnProperty(r)){let i=Mt(e[r],t[r]);i.didChange&&(e[r]=i.newValue,n=!0)}return new jt(e,n)}var Nt=class{constructor(e){this.schema=void 0,this.id=e,this.name=`_never_`,this.defaultValue=void 0}applyUpdate(e,t){return Mt(e,t)}validate(e){return this.defaultValue}},Pt=class{constructor(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}applyUpdate(e,t){return Mt(e,t)}validate(e){return e===void 0?this.defaultValue:e}compute(e,t,n){return n}};function D(e,t){return e===void 0?t:e===`false`?!1:!!e}var Ft=class extends Pt{constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`boolean`,r.default=n),super(e,t,n,r)}validate(e){return D(e,this.defaultValue)}};function It(e,t,n,r){if(e===void 0)return t;let i=parseInt(e,10);return isNaN(i)?t:(i=Math.max(n,i),i=Math.min(r,i),i|0)}var Lt=class e extends Pt{static clampedInt(e,t,n,r){return It(e,t,n,r)}constructor(e,t,n,r,i,a=void 0){a!==void 0&&(a.type=`integer`,a.default=n,a.minimum=r,a.maximum=i),super(e,t,n,a),this.minimum=r,this.maximum=i}validate(t){return e.clampedInt(t,this.defaultValue,this.minimum,this.maximum)}};function Rt(e,t,n,r){if(e===void 0)return t;let i=zt.float(e,t);return zt.clamp(i,n,r)}var zt=class e extends Pt{static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if(typeof e==`number`)return e;if(e===void 0)return t;let n=parseFloat(e);return isNaN(n)?t:n}constructor(e,t,n,r,i){i!==void 0&&(i.type=`number`,i.default=n),super(e,t,n,i),this.validationFn=r}validate(t){return this.validationFn(e.float(t,this.defaultValue))}},Bt=class e extends Pt{static string(e,t){return typeof e==`string`?e:t}constructor(e,t,n,r=void 0){r!==void 0&&(r.type=`string`,r.default=n),super(e,t,n,r)}validate(t){return e.string(t,this.defaultValue)}};function Vt(e,t,n,r){return typeof e==`string`?r&&e in r?r[e]:n.indexOf(e)===-1?t:e:t}var Ht=class extends Pt{constructor(e,t,n,r,i=void 0){i!==void 0&&(i.type=`string`,i.enum=r,i.default=n),super(e,t,n,i),this._allowedValues=r}validate(e){return Vt(e,this.defaultValue,this._allowedValues)}},Ut=class extends At{constructor(e,t,n,r,i,a,o=void 0){o!==void 0&&(o.type=`string`,o.enum=i,o.default=r),super(e,t,n,o),this._allowedValues=i,this._convert=a}validate(e){return typeof e!=`string`||this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}};function Wt(e){switch(e){case`none`:return 0;case`keep`:return 1;case`brackets`:return 2;case`advanced`:return 3;case`full`:return 4}}var Gt=class extends At{constructor(){super(2,`accessibilitySupport`,0,{type:`string`,enum:[`auto`,`on`,`off`],enumDescriptions:[E(`accessibilitySupport.auto`,`Use platform APIs to detect when a Screen Reader is attached.`),E(`accessibilitySupport.on`,`Optimize for usage with a Screen Reader.`),E(`accessibilitySupport.off`,`Assume a screen reader is not attached.`)],default:`auto`,tags:[`accessibility`],description:E(`accessibilitySupport`,`Controls if the UI should run in a mode where it is optimized for screen readers.`)})}validate(e){switch(e){case`auto`:return 0;case`off`:return 1;case`on`:return 2}return this.defaultValue}compute(e,t,n){return n===0?e.accessibilitySupport:n}},Kt=class extends At{constructor(){let e={insertSpace:!0,ignoreEmptyLines:!0};super(23,`comments`,e,{"editor.comments.insertSpace":{type:`boolean`,default:e.insertSpace,description:E(`comments.insertSpace`,`Controls whether a space character is inserted when commenting.`)},"editor.comments.ignoreEmptyLines":{type:`boolean`,default:e.ignoreEmptyLines,description:E(`comments.ignoreEmptyLines`,`Controls if empty lines should be ignored with toggle, add or remove actions for line comments.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{insertSpace:D(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:D(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}};function qt(e){switch(e){case`blink`:return 1;case`smooth`:return 2;case`phase`:return 3;case`expand`:return 4;case`solid`:return 5}}var Jt;(function(e){e[e.Line=1]=`Line`,e[e.Block=2]=`Block`,e[e.Underline=3]=`Underline`,e[e.LineThin=4]=`LineThin`,e[e.BlockOutline=5]=`BlockOutline`,e[e.UnderlineThin=6]=`UnderlineThin`})(Jt||={});function Yt(e){switch(e){case`line`:return Jt.Line;case`block`:return Jt.Block;case`underline`:return Jt.Underline;case`line-thin`:return Jt.LineThin;case`block-outline`:return Jt.BlockOutline;case`underline-thin`:return Jt.UnderlineThin}}var Xt=class extends Nt{constructor(){super(142)}compute(e,t,n){let r=[`monaco-editor`];return t.get(39)&&r.push(t.get(39)),e.extraEditorClassName&&r.push(e.extraEditorClassName),t.get(74)===`default`?r.push(`mouse-default`):t.get(74)===`copy`&&r.push(`mouse-copy`),t.get(111)&&r.push(`showUnused`),t.get(140)&&r.push(`showDeprecated`),r.join(` `)}},Zt=class extends Ft{constructor(){super(37,`emptySelectionClipboard`,!0,{description:E(`emptySelectionClipboard`,`Controls whether copying without a selection copies the current line.`)})}compute(e,t,n){return n&&e.emptySelectionClipboard}},Qt=class extends At{constructor(){let e={cursorMoveOnType:!0,seedSearchStringFromSelection:`always`,autoFindInSelection:`never`,globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(41,`find`,e,{"editor.find.cursorMoveOnType":{type:`boolean`,default:e.cursorMoveOnType,description:E(`find.cursorMoveOnType`,`Controls whether the cursor should jump to find matches while typing.`)},"editor.find.seedSearchStringFromSelection":{type:`string`,enum:[`never`,`always`,`selection`],default:e.seedSearchStringFromSelection,enumDescriptions:[E(`editor.find.seedSearchStringFromSelection.never`,`Never seed search string from the editor selection.`),E(`editor.find.seedSearchStringFromSelection.always`,`Always seed search string from the editor selection, including word at cursor position.`),E(`editor.find.seedSearchStringFromSelection.selection`,`Only seed search string from the editor selection.`)],description:E(`find.seedSearchStringFromSelection`,`Controls whether the search string in the Find Widget is seeded from the editor selection.`)},"editor.find.autoFindInSelection":{type:`string`,enum:[`never`,`always`,`multiline`],default:e.autoFindInSelection,enumDescriptions:[E(`editor.find.autoFindInSelection.never`,`Never turn on Find in Selection automatically (default).`),E(`editor.find.autoFindInSelection.always`,`Always turn on Find in Selection automatically.`),E(`editor.find.autoFindInSelection.multiline`,`Turn on Find in Selection automatically when multiple lines of content are selected.`)],description:E(`find.autoFindInSelection`,`Controls the condition for turning on Find in Selection automatically.`)},"editor.find.globalFindClipboard":{type:`boolean`,default:e.globalFindClipboard,description:E(`find.globalFindClipboard`,`Controls whether the Find Widget should read or modify the shared find clipboard on macOS.`),included:Ze},"editor.find.addExtraSpaceOnTop":{type:`boolean`,default:e.addExtraSpaceOnTop,description:E(`find.addExtraSpaceOnTop`,`Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.`)},"editor.find.loop":{type:`boolean`,default:e.loop,description:E(`find.loop`,`Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{cursorMoveOnType:D(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection==`boolean`?e.seedSearchStringFromSelection?`always`:`never`:Vt(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,[`never`,`always`,`selection`]),autoFindInSelection:typeof e.autoFindInSelection==`boolean`?e.autoFindInSelection?`always`:`never`:Vt(t.autoFindInSelection,this.defaultValue.autoFindInSelection,[`never`,`always`,`multiline`]),globalFindClipboard:D(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:D(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:D(t.loop,this.defaultValue.loop)}}},$t=class e extends At{constructor(){super(51,`fontLigatures`,e.OFF,{anyOf:[{type:`boolean`,description:E(`fontLigatures`,`Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.`)},{type:`string`,description:E(`fontFeatureSettings`,`Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.`)}],description:E(`fontLigaturesGeneral`,`Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property.`),default:!1})}validate(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`||t.length===0?e.OFF:t===`true`?e.ON:t:t?e.ON:e.OFF}};$t.OFF=`"liga" off, "calt" off`,$t.ON=`"liga" on, "calt" on`;var en=class e extends At{constructor(){super(54,`fontVariations`,e.OFF,{anyOf:[{type:`boolean`,description:E(`fontVariations`,`Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.`)},{type:`string`,description:E(`fontVariationSettings`,`Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.`)}],description:E(`fontVariationsGeneral`,`Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property.`),default:!1})}validate(t){return t===void 0?this.defaultValue:typeof t==`string`?t===`false`?e.OFF:t===`true`?e.TRANSLATE:t:t?e.TRANSLATE:e.OFF}compute(e,t,n){return e.fontInfo.fontVariationSettings}};en.OFF=`normal`,en.TRANSLATE=`translate`;var tn=class extends Nt{constructor(){super(50)}compute(e,t,n){return e.fontInfo}},nn=class extends Pt{constructor(){super(52,`fontSize`,Hn.fontSize,{type:`number`,minimum:6,maximum:100,default:Hn.fontSize,description:E(`fontSize`,`Controls the font size in pixels.`)})}validate(e){let t=zt.float(e,this.defaultValue);return t===0?Hn.fontSize:zt.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}},rn=class e extends At{constructor(){super(53,`fontWeight`,Hn.fontWeight,{anyOf:[{type:`number`,minimum:e.MINIMUM_VALUE,maximum:e.MAXIMUM_VALUE,errorMessage:E(`fontWeightErrorMessage`,`Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.`)},{type:`string`,pattern:`^(normal|bold|1000|[1-9][0-9]{0,2})$`},{enum:e.SUGGESTION_VALUES}],default:Hn.fontWeight,description:E(`fontWeight`,`Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.`)})}validate(t){return t===`normal`||t===`bold`?t:String(Lt.clampedInt(t,Hn.fontWeight,e.MINIMUM_VALUE,e.MAXIMUM_VALUE))}};rn.SUGGESTION_VALUES=[`normal`,`bold`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`],rn.MINIMUM_VALUE=1,rn.MAXIMUM_VALUE=1e3;var an=class extends At{constructor(){let e={multiple:`peek`,multipleDefinitions:`peek`,multipleTypeDefinitions:`peek`,multipleDeclarations:`peek`,multipleImplementations:`peek`,multipleReferences:`peek`,alternativeDefinitionCommand:`editor.action.goToReferences`,alternativeTypeDefinitionCommand:`editor.action.goToReferences`,alternativeDeclarationCommand:`editor.action.goToReferences`,alternativeImplementationCommand:``,alternativeReferenceCommand:``},t={type:`string`,enum:[`peek`,`gotoAndPeek`,`goto`],default:e.multiple,enumDescriptions:[E(`editor.gotoLocation.multiple.peek`,`Show Peek view of the results (default)`),E(`editor.gotoLocation.multiple.gotoAndPeek`,`Go to the primary result and show a Peek view`),E(`editor.gotoLocation.multiple.goto`,`Go to the primary result and enable Peek-less navigation to others`)]},n=[``,`editor.action.referenceSearch.trigger`,`editor.action.goToReferences`,`editor.action.peekImplementation`,`editor.action.goToImplementation`,`editor.action.peekTypeDefinition`,`editor.action.goToTypeDefinition`,`editor.action.peekDeclaration`,`editor.action.revealDeclaration`,`editor.action.peekDefinition`,`editor.action.revealDefinitionAside`,`editor.action.revealDefinition`];super(58,`gotoLocation`,e,{"editor.gotoLocation.multiple":{deprecationMessage:E(`editor.gotoLocation.multiple.deprecated`,`This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.`)},"editor.gotoLocation.multipleDefinitions":{description:E(`editor.editor.gotoLocation.multipleDefinitions`,`Controls the behavior the 'Go to Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleTypeDefinitions":{description:E(`editor.editor.gotoLocation.multipleTypeDefinitions`,`Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleDeclarations":{description:E(`editor.editor.gotoLocation.multipleDeclarations`,`Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleImplementations":{description:E(`editor.editor.gotoLocation.multipleImplemenattions`,`Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.`),...t},"editor.gotoLocation.multipleReferences":{description:E(`editor.editor.gotoLocation.multipleReferences`,`Controls the behavior the 'Go to References'-command when multiple target locations exist.`),...t},"editor.gotoLocation.alternativeDefinitionCommand":{type:`string`,default:e.alternativeDefinitionCommand,enum:n,description:E(`alternativeDefinitionCommand`,`Alternative command id that is being executed when the result of 'Go to Definition' is the current location.`)},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:`string`,default:e.alternativeTypeDefinitionCommand,enum:n,description:E(`alternativeTypeDefinitionCommand`,`Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.`)},"editor.gotoLocation.alternativeDeclarationCommand":{type:`string`,default:e.alternativeDeclarationCommand,enum:n,description:E(`alternativeDeclarationCommand`,`Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.`)},"editor.gotoLocation.alternativeImplementationCommand":{type:`string`,default:e.alternativeImplementationCommand,enum:n,description:E(`alternativeImplementationCommand`,`Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.`)},"editor.gotoLocation.alternativeReferenceCommand":{type:`string`,default:e.alternativeReferenceCommand,enum:n,description:E(`alternativeReferenceCommand`,`Alternative command id that is being executed when the result of 'Go to Reference' is the current location.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{multiple:Vt(t.multiple,this.defaultValue.multiple,[`peek`,`gotoAndPeek`,`goto`]),multipleDefinitions:t.multipleDefinitions??Vt(t.multipleDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleTypeDefinitions:t.multipleTypeDefinitions??Vt(t.multipleTypeDefinitions,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleDeclarations:t.multipleDeclarations??Vt(t.multipleDeclarations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleImplementations:t.multipleImplementations??Vt(t.multipleImplementations,`peek`,[`peek`,`gotoAndPeek`,`goto`]),multipleReferences:t.multipleReferences??Vt(t.multipleReferences,`peek`,[`peek`,`gotoAndPeek`,`goto`]),alternativeDefinitionCommand:Bt.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:Bt.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:Bt.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:Bt.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:Bt.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}},on=class extends At{constructor(){let e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,`hover`,e,{"editor.hover.enabled":{type:`boolean`,default:e.enabled,description:E(`hover.enabled`,`Controls whether the hover is shown.`)},"editor.hover.delay":{type:`number`,default:e.delay,minimum:0,maximum:1e4,description:E(`hover.delay`,`Controls the delay in milliseconds after which the hover is shown.`)},"editor.hover.sticky":{type:`boolean`,default:e.sticky,description:E(`hover.sticky`,`Controls whether the hover should remain visible when mouse is moved over it.`)},"editor.hover.hidingDelay":{type:`integer`,minimum:0,default:e.hidingDelay,description:E(`hover.hidingDelay`,"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled.")},"editor.hover.above":{type:`boolean`,default:e.above,description:E(`hover.above`,`Prefer showing hovers above the line, if there's space.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),delay:Lt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:D(t.sticky,this.defaultValue.sticky),hidingDelay:Lt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:D(t.above,this.defaultValue.above)}}},sn=class e extends Nt{constructor(){super(145)}compute(t,n,r){return e.computeLayout(n,{memory:t.memory,outerWidth:t.outerWidth,outerHeight:t.outerHeight,isDominatedByLongLines:t.isDominatedByLongLines,lineHeight:t.fontInfo.lineHeight,viewLineCount:t.viewLineCount,lineNumbersDigitCount:t.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:t.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:t.fontInfo.maxDigitWidth,pixelRatio:t.pixelRatio,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){let t=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight),r=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(r=Math.max(r,t-1));let i=(n+e.viewLineCount+r)/(e.pixelRatio*e.height),a=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:r,desiredRatio:i,minimapLineCount:a}}static _computeMinimapLayout(t,n){let r=t.outerWidth,i=t.outerHeight,a=t.pixelRatio;if(!t.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(a*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};let o=n.stableMinimapLayoutInput,s=o&&t.outerHeight===o.outerHeight&&t.lineHeight===o.lineHeight&&t.typicalHalfwidthCharacterWidth===o.typicalHalfwidthCharacterWidth&&t.pixelRatio===o.pixelRatio&&t.scrollBeyondLastLine===o.scrollBeyondLastLine&&t.paddingTop===o.paddingTop&&t.paddingBottom===o.paddingBottom&&t.minimap.enabled===o.minimap.enabled&&t.minimap.side===o.minimap.side&&t.minimap.size===o.minimap.size&&t.minimap.showSlider===o.minimap.showSlider&&t.minimap.renderCharacters===o.minimap.renderCharacters&&t.minimap.maxColumn===o.minimap.maxColumn&&t.minimap.scale===o.minimap.scale&&t.verticalScrollbarWidth===o.verticalScrollbarWidth&&t.isViewportWrapping===o.isViewportWrapping,c=t.lineHeight,l=t.typicalHalfwidthCharacterWidth,u=t.scrollBeyondLastLine,d=t.minimap.renderCharacters,f=a>=2?Math.round(t.minimap.scale*2):t.minimap.scale,p=t.minimap.maxColumn,m=t.minimap.size,h=t.minimap.side,g=t.verticalScrollbarWidth,_=t.viewLineCount,v=t.remainingWidth,y=t.isViewportWrapping,b=d?2:3,x=Math.floor(a*i),S=x/a,C=!1,ee=!1,te=b*f,ne=f/a,re=1;if(m===`fill`||m===`fit`){let{typicalViewportLineCount:r,extraLinesBeforeFirstLine:o,extraLinesBeyondLastLine:l,desiredRatio:d,minimapLineCount:p}=e.computeContainedMinimapLineCount({viewLineCount:_,scrollBeyondLastLine:u,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,height:i,lineHeight:c,pixelRatio:a});if(_/p>1)C=!0,ee=!0,f=1,te=1,ne=f/a;else{let e=!1,i=f+1;if(m===`fit`){let t=Math.ceil((o+_+l)*te);y&&s&&v<=n.stableFitRemainingWidth?(e=!0,i=n.stableFitMaxMinimapScale):e=t>x}if(m===`fill`||e){C=!0;let e=f;te=Math.min(c*a,Math.max(1,Math.floor(1/d))),y&&s&&v<=n.stableFitRemainingWidth&&(i=n.stableFitMaxMinimapScale),f=Math.min(i,Math.max(1,Math.floor(te/b))),f>e&&(re=Math.min(2,f/e)),ne=f/a/re,x=Math.ceil(Math.max(r,o+_+l)*te),y?(n.stableMinimapLayoutInput=t,n.stableFitRemainingWidth=v,n.stableFitMaxMinimapScale=f):(n.stableMinimapLayoutInput=null,n.stableFitRemainingWidth=0)}}}let ie=Math.floor(p*ne),ae=Math.min(ie,Math.max(0,Math.floor((v-g-2)*ne/(l+ne)))+8),oe=Math.floor(a*ae),se=oe/a;return oe=Math.floor(oe*re),{renderMinimap:d?1:2,minimapLeft:h===`left`?0:r-ae-g,minimapWidth:ae,minimapHeightIsEditorHeight:C,minimapIsSampling:ee,minimapScale:f,minimapLineHeight:te,minimapCanvasInnerWidth:oe,minimapCanvasInnerHeight:x,minimapCanvasOuterWidth:se,minimapCanvasOuterHeight:S}}static computeLayout(t,n){let r=n.outerWidth|0,i=n.outerHeight|0,a=n.lineHeight|0,o=n.lineNumbersDigitCount|0,s=n.typicalHalfwidthCharacterWidth,c=n.maxDigitWidth,l=n.pixelRatio,u=n.viewLineCount,d=t.get(137),f=d===`inherit`?t.get(136):d,p=f===`inherit`?t.get(132):f,m=t.get(135),h=n.isDominatedByLongLines,g=t.get(57),_=t.get(68).renderType!==0,v=t.get(69),y=t.get(105),b=t.get(84),x=t.get(73),S=t.get(103),C=S.verticalScrollbarSize,ee=S.verticalHasArrows,te=S.arrowSize,ne=S.horizontalScrollbarSize,re=t.get(43),ie=t.get(110)!==`never`,ae=t.get(66);re&&ie&&(ae+=16);let oe=0;_&&(oe=Math.round(Math.max(o,v)*c));let se=0;g&&(se=a*n.glyphMarginDecorationLaneCount);let ce=0,le=ce+se,ue=le+oe,de=ue+ae,fe=r-se-oe-ae,w=!1,T=!1,pe=-1;f===`inherit`&&h?(w=!0,T=!0):p===`on`||p===`bounded`?T=!0:p===`wordWrapColumn`&&(pe=m);let me=e._computeMinimapLayout({outerWidth:r,outerHeight:i,lineHeight:a,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:y,paddingTop:b.top,paddingBottom:b.bottom,minimap:x,verticalScrollbarWidth:C,viewLineCount:u,remainingWidth:fe,isViewportWrapping:T},n.memory||new kt);me.renderMinimap!==0&&me.minimapLeft===0&&(ce+=me.minimapWidth,le+=me.minimapWidth,ue+=me.minimapWidth,de+=me.minimapWidth);let he=fe-me.minimapWidth,ge=Math.max(1,Math.floor((he-C-2)/s)),_e=ee?te:0;return T&&(pe=Math.max(1,ge),p===`bounded`&&(pe=Math.min(pe,m))),{width:r,height:i,glyphMarginLeft:ce,glyphMarginWidth:se,glyphMarginDecorationLaneCount:n.glyphMarginDecorationLaneCount,lineNumbersLeft:le,lineNumbersWidth:oe,decorationsLeft:ue,decorationsWidth:ae,contentLeft:de,contentWidth:he,minimap:me,viewportColumn:ge,isWordWrapMinified:w,isViewportWrapping:T,wrappingColumn:pe,verticalScrollbarWidth:C,horizontalScrollbarHeight:ne,overviewRuler:{top:_e,width:C,height:i-2*_e,right:0}}}},cn=class extends At{constructor(){super(139,`wrappingStrategy`,`simple`,{"editor.wrappingStrategy":{enumDescriptions:[E(`wrappingStrategy.simple`,`Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width.`),E(`wrappingStrategy.advanced`,`Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.`)],type:`string`,enum:[`simple`,`advanced`],default:`simple`,description:E(`wrappingStrategy`,`Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.`)}})}validate(e){return Vt(e,`simple`,[`simple`,`advanced`])}compute(e,t,n){return t.get(2)===2?`advanced`:n}},ln;(function(e){e.Off=`off`,e.OnCode=`onCode`,e.On=`on`})(ln||={});var un=class extends At{constructor(){let e={enabled:ln.On};super(65,`lightbulb`,e,{"editor.lightbulb.enabled":{type:`string`,tags:[`experimental`],enum:[ln.Off,ln.OnCode,ln.On],default:e.enabled,enumDescriptions:[E(`editor.lightbulb.enabled.off`,`Disable the code action menu.`),E(`editor.lightbulb.enabled.onCode`,`Show the code action menu when the cursor is on lines with code.`),E(`editor.lightbulb.enabled.on`,`Show the code action menu when the cursor is on lines with code or on empty lines.`)],description:E(`enabled`,`Enables the Code Action lightbulb in the editor.`)}})}validate(e){return!e||typeof e!=`object`?this.defaultValue:{enabled:Vt(e.enabled,this.defaultValue.enabled,[ln.Off,ln.OnCode,ln.On])}}},dn=class extends At{constructor(){let e={enabled:!0,maxLineCount:5,defaultModel:`outlineModel`,scrollWithEditor:!0};super(115,`stickyScroll`,e,{"editor.stickyScroll.enabled":{type:`boolean`,default:e.enabled,description:E(`editor.stickyScroll.enabled`,`Shows the nested current scopes during the scroll at the top of the editor.`),tags:[`experimental`]},"editor.stickyScroll.maxLineCount":{type:`number`,default:e.maxLineCount,minimum:1,maximum:20,description:E(`editor.stickyScroll.maxLineCount`,`Defines the maximum number of sticky lines to show.`)},"editor.stickyScroll.defaultModel":{type:`string`,enum:[`outlineModel`,`foldingProviderModel`,`indentationModel`],default:e.defaultModel,description:E(`editor.stickyScroll.defaultModel`,`Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.`)},"editor.stickyScroll.scrollWithEditor":{type:`boolean`,default:e.scrollWithEditor,description:E(`editor.stickyScroll.scrollWithEditor`,`Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),maxLineCount:Lt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Vt(t.defaultModel,this.defaultValue.defaultModel,[`outlineModel`,`foldingProviderModel`,`indentationModel`]),scrollWithEditor:D(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}},fn=class extends At{constructor(){let e={enabled:`on`,fontSize:0,fontFamily:``,padding:!1};super(141,`inlayHints`,e,{"editor.inlayHints.enabled":{type:`string`,default:e.enabled,description:E(`inlayHints.enable`,`Enables the inlay hints in the editor.`),enum:[`on`,`onUnlessPressed`,`offUnlessPressed`,`off`],markdownEnumDescriptions:[E(`editor.inlayHints.on`,`Inlay hints are enabled`),E(`editor.inlayHints.onUnlessPressed`,`Inlay hints are showing by default and hide when holding {0}`,Ze?`Ctrl+Option`:`Ctrl+Alt`),E(`editor.inlayHints.offUnlessPressed`,`Inlay hints are hidden by default and show when holding {0}`,Ze?`Ctrl+Option`:`Ctrl+Alt`),E(`editor.inlayHints.off`,`Inlay hints are disabled`)]},"editor.inlayHints.fontSize":{type:`number`,default:e.fontSize,markdownDescription:E(`inlayHints.fontSize`,`Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.`,"`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:`string`,default:e.fontFamily,markdownDescription:E(`inlayHints.fontFamily`,`Controls font family of inlay hints in the editor. When set to empty, the {0} is used.`,"`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:`boolean`,default:e.padding,description:E(`inlayHints.padding`,`Enables the padding around the inlay hints in the editor.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return typeof t.enabled==`boolean`&&(t.enabled=t.enabled?`on`:`off`),{enabled:Vt(t.enabled,this.defaultValue.enabled,[`on`,`off`,`offUnlessPressed`,`onUnlessPressed`]),fontSize:Lt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:Bt.string(t.fontFamily,this.defaultValue.fontFamily),padding:D(t.padding,this.defaultValue.padding)}}},pn=class extends At{constructor(){super(66,`lineDecorationsWidth`,10)}validate(e){return typeof e==`string`&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):Lt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,n){return n<0?Lt.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}},mn=class extends zt{constructor(){super(67,`lineHeight`,Hn.lineHeight,e=>zt.clamp(e,0,150),{markdownDescription:E(`lineHeight`,`Controls the line height.
|
|
2
2
|
- Use 0 to automatically compute the line height from the font size.
|
|
3
3
|
- Values between 0 and 8 will be used as a multiplier with the font size.
|
|
4
4
|
- Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,n){return e.fontInfo.lineHeight}},hn=class extends At{constructor(){let e={enabled:!0,size:`proportional`,side:`right`,showSlider:`mouseover`,autohide:!1,renderCharacters:!0,maxColumn:120,scale:1,showRegionSectionHeaders:!0,showMarkSectionHeaders:!0,sectionHeaderFontSize:9,sectionHeaderLetterSpacing:1};super(73,`minimap`,e,{"editor.minimap.enabled":{type:`boolean`,default:e.enabled,description:E(`minimap.enabled`,`Controls whether the minimap is shown.`)},"editor.minimap.autohide":{type:`boolean`,default:e.autohide,description:E(`minimap.autohide`,`Controls whether the minimap is hidden automatically.`)},"editor.minimap.size":{type:`string`,enum:[`proportional`,`fill`,`fit`],enumDescriptions:[E(`minimap.size.proportional`,`The minimap has the same size as the editor contents (and might scroll).`),E(`minimap.size.fill`,`The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling).`),E(`minimap.size.fit`,`The minimap will shrink as necessary to never be larger than the editor (no scrolling).`)],default:e.size,description:E(`minimap.size`,`Controls the size of the minimap.`)},"editor.minimap.side":{type:`string`,enum:[`left`,`right`],default:e.side,description:E(`minimap.side`,`Controls the side where to render the minimap.`)},"editor.minimap.showSlider":{type:`string`,enum:[`always`,`mouseover`],default:e.showSlider,description:E(`minimap.showSlider`,`Controls when the minimap slider is shown.`)},"editor.minimap.scale":{type:`number`,default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:E(`minimap.scale`,`Scale of content drawn in the minimap: 1, 2 or 3.`)},"editor.minimap.renderCharacters":{type:`boolean`,default:e.renderCharacters,description:E(`minimap.renderCharacters`,`Render the actual characters on a line as opposed to color blocks.`)},"editor.minimap.maxColumn":{type:`number`,default:e.maxColumn,description:E(`minimap.maxColumn`,`Limit the width of the minimap to render at most a certain number of columns.`)},"editor.minimap.showRegionSectionHeaders":{type:`boolean`,default:e.showRegionSectionHeaders,description:E(`minimap.showRegionSectionHeaders`,`Controls whether named regions are shown as section headers in the minimap.`)},"editor.minimap.showMarkSectionHeaders":{type:`boolean`,default:e.showMarkSectionHeaders,description:E(`minimap.showMarkSectionHeaders`,`Controls whether MARK: comments are shown as section headers in the minimap.`)},"editor.minimap.sectionHeaderFontSize":{type:`number`,default:e.sectionHeaderFontSize,description:E(`minimap.sectionHeaderFontSize`,`Controls the font size of section headers in the minimap.`)},"editor.minimap.sectionHeaderLetterSpacing":{type:`number`,default:e.sectionHeaderLetterSpacing,description:E(`minimap.sectionHeaderLetterSpacing`,`Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),autohide:D(t.autohide,this.defaultValue.autohide),size:Vt(t.size,this.defaultValue.size,[`proportional`,`fill`,`fit`]),side:Vt(t.side,this.defaultValue.side,[`right`,`left`]),showSlider:Vt(t.showSlider,this.defaultValue.showSlider,[`always`,`mouseover`]),renderCharacters:D(t.renderCharacters,this.defaultValue.renderCharacters),scale:Lt.clampedInt(t.scale,1,1,3),maxColumn:Lt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:D(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:D(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:zt.clamp(t.sectionHeaderFontSize??this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:zt.clamp(t.sectionHeaderLetterSpacing??this.defaultValue.sectionHeaderLetterSpacing,0,5)}}};function gn(e){return e===`ctrlCmd`?Ze?`metaKey`:`ctrlKey`:`altKey`}var _n=class extends At{constructor(){super(84,`padding`,{top:0,bottom:0},{"editor.padding.top":{type:`number`,default:0,minimum:0,maximum:1e3,description:E(`padding.top`,`Controls the amount of space between the top edge of the editor and the first line.`)},"editor.padding.bottom":{type:`number`,default:0,minimum:0,maximum:1e3,description:E(`padding.bottom`,`Controls the amount of space between the bottom edge of the editor and the last line.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{top:Lt.clampedInt(t.top,0,0,1e3),bottom:Lt.clampedInt(t.bottom,0,0,1e3)}}},vn=class extends At{constructor(){let e={enabled:!0,cycle:!0};super(86,`parameterHints`,e,{"editor.parameterHints.enabled":{type:`boolean`,default:e.enabled,description:E(`parameterHints.enabled`,`Enables a pop-up that shows parameter documentation and type information as you type.`)},"editor.parameterHints.cycle":{type:`boolean`,default:e.cycle,description:E(`parameterHints.cycle`,`Controls whether the parameter hints menu cycles or closes when reaching the end of the list.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),cycle:D(t.cycle,this.defaultValue.cycle)}}},yn=class extends Nt{constructor(){super(143)}compute(e,t,n){return e.pixelRatio}},bn=class extends At{constructor(){let e={other:`on`,comments:`off`,strings:`off`},t=[{type:`boolean`},{type:`string`,enum:[`on`,`inline`,`off`],enumDescriptions:[E(`on`,`Quick suggestions show inside the suggest widget`),E(`inline`,`Quick suggestions show as ghost text`),E(`off`,`Quick suggestions are disabled`)]}];super(89,`quickSuggestions`,e,{type:`object`,additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:E(`quickSuggestions.strings`,`Enable quick suggestions inside strings.`)},comments:{anyOf:t,default:e.comments,description:E(`quickSuggestions.comments`,`Enable quick suggestions inside comments.`)},other:{anyOf:t,default:e.other,description:E(`quickSuggestions.other`,`Enable quick suggestions outside of strings and comments.`)}},default:e,markdownDescription:E(`quickSuggestions`,`Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.`,`#editor.suggestOnTriggerCharacters#`)}),this.defaultValue=e}validate(e){if(typeof e==`boolean`){let t=e?`on`:`off`;return{comments:t,strings:t,other:t}}if(!e||typeof e!=`object`)return this.defaultValue;let{other:t,comments:n,strings:r}=e,i=[`on`,`inline`,`off`],a,o,s;return a=typeof t==`boolean`?t?`on`:`off`:Vt(t,this.defaultValue.other,i),o=typeof n==`boolean`?n?`on`:`off`:Vt(n,this.defaultValue.comments,i),s=typeof r==`boolean`?r?`on`:`off`:Vt(r,this.defaultValue.strings,i),{other:a,comments:o,strings:s}}},xn=class extends At{constructor(){super(68,`lineNumbers`,{renderType:1,renderFn:null},{type:`string`,enum:[`off`,`on`,`relative`,`interval`],enumDescriptions:[E(`lineNumbers.off`,`Line numbers are not rendered.`),E(`lineNumbers.on`,`Line numbers are rendered as absolute number.`),E(`lineNumbers.relative`,`Line numbers are rendered as distance in lines to cursor position.`),E(`lineNumbers.interval`,`Line numbers are rendered every 10 lines.`)],default:`on`,description:E(`lineNumbers`,`Controls the display of line numbers.`)})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return e!==void 0&&(typeof e==`function`?(t=4,n=e):t=e===`interval`?3:e===`relative`?2:+(e===`on`)),{renderType:t,renderFn:n}}};function Sn(e){let t=e.get(98);return t===`editable`?e.get(91):t!==`on`}var Cn=class extends At{constructor(){let e=[],t={type:`number`,description:E(`rulers.size`,`Number of monospace characters at which this editor ruler will render.`)};super(102,`rulers`,e,{type:`array`,items:{anyOf:[t,{type:[`object`],properties:{column:t,color:{type:`string`,description:E(`rulers.color`,`Color of this editor ruler.`),format:`color-hex`}}}]},default:e,description:E(`rulers`,`Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.`)})}validate(e){if(Array.isArray(e)){let t=[];for(let n of e)if(typeof n==`number`)t.push({column:Lt.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n==`object`){let e=n;t.push({column:Lt.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}},wn=class extends At{constructor(){super(92,`readOnlyMessage`,void 0)}validate(e){return!e||typeof e!=`object`?this.defaultValue:e}};function Tn(e,t){if(typeof e!=`string`)return t;switch(e){case`hidden`:return 2;case`visible`:return 3;default:return 1}}var En=class extends At{constructor(){let e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1,ignoreHorizontalScrollbarInContentHeight:!1};super(103,`scrollbar`,e,{"editor.scrollbar.vertical":{type:`string`,enum:[`auto`,`visible`,`hidden`],enumDescriptions:[E(`scrollbar.vertical.auto`,`The vertical scrollbar will be visible only when necessary.`),E(`scrollbar.vertical.visible`,`The vertical scrollbar will always be visible.`),E(`scrollbar.vertical.fit`,`The vertical scrollbar will always be hidden.`)],default:`auto`,description:E(`scrollbar.vertical`,`Controls the visibility of the vertical scrollbar.`)},"editor.scrollbar.horizontal":{type:`string`,enum:[`auto`,`visible`,`hidden`],enumDescriptions:[E(`scrollbar.horizontal.auto`,`The horizontal scrollbar will be visible only when necessary.`),E(`scrollbar.horizontal.visible`,`The horizontal scrollbar will always be visible.`),E(`scrollbar.horizontal.fit`,`The horizontal scrollbar will always be hidden.`)],default:`auto`,description:E(`scrollbar.horizontal`,`Controls the visibility of the horizontal scrollbar.`)},"editor.scrollbar.verticalScrollbarSize":{type:`number`,default:e.verticalScrollbarSize,description:E(`scrollbar.verticalScrollbarSize`,`The width of the vertical scrollbar.`)},"editor.scrollbar.horizontalScrollbarSize":{type:`number`,default:e.horizontalScrollbarSize,description:E(`scrollbar.horizontalScrollbarSize`,`The height of the horizontal scrollbar.`)},"editor.scrollbar.scrollByPage":{type:`boolean`,default:e.scrollByPage,description:E(`scrollbar.scrollByPage`,`Controls whether clicks scroll by page or jump to click position.`)},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:`boolean`,default:e.ignoreHorizontalScrollbarInContentHeight,description:E(`scrollbar.ignoreHorizontalScrollbarInContentHeight`,`When set, the horizontal scrollbar will not increase the size of the editor's content.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e,n=Lt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),r=Lt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:Lt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:Tn(t.vertical,this.defaultValue.vertical),horizontal:Tn(t.horizontal,this.defaultValue.horizontal),useShadows:D(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:D(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:D(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:D(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:D(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:Lt.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:r,verticalSliderSize:Lt.clampedInt(t.verticalSliderSize,r,0,1e3),scrollByPage:D(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:D(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}},Dn=`inUntrustedWorkspace`,On={allowedCharacters:`editor.unicodeHighlight.allowedCharacters`,invisibleCharacters:`editor.unicodeHighlight.invisibleCharacters`,nonBasicASCII:`editor.unicodeHighlight.nonBasicASCII`,ambiguousCharacters:`editor.unicodeHighlight.ambiguousCharacters`,includeComments:`editor.unicodeHighlight.includeComments`,includeStrings:`editor.unicodeHighlight.includeStrings`,allowedLocales:`editor.unicodeHighlight.allowedLocales`},kn=class extends At{constructor(){let e={nonBasicASCII:Dn,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Dn,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(125,`unicodeHighlight`,e,{[On.nonBasicASCII]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Dn],default:e.nonBasicASCII,description:E(`unicodeHighlight.nonBasicASCII`,`Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.`)},[On.invisibleCharacters]:{restricted:!0,type:`boolean`,default:e.invisibleCharacters,description:E(`unicodeHighlight.invisibleCharacters`,`Controls whether characters that just reserve space or have no width at all are highlighted.`)},[On.ambiguousCharacters]:{restricted:!0,type:`boolean`,default:e.ambiguousCharacters,description:E(`unicodeHighlight.ambiguousCharacters`,`Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.`)},[On.includeComments]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Dn],default:e.includeComments,description:E(`unicodeHighlight.includeComments`,`Controls whether characters in comments should also be subject to Unicode highlighting.`)},[On.includeStrings]:{restricted:!0,type:[`boolean`,`string`],enum:[!0,!1,Dn],default:e.includeStrings,description:E(`unicodeHighlight.includeStrings`,`Controls whether characters in strings should also be subject to Unicode highlighting.`)},[On.allowedCharacters]:{restricted:!0,type:`object`,default:e.allowedCharacters,description:E(`unicodeHighlight.allowedCharacters`,`Defines allowed characters that are not being highlighted.`),additionalProperties:{type:`boolean`}},[On.allowedLocales]:{restricted:!0,type:`object`,additionalProperties:{type:`boolean`},default:e.allowedLocales,description:E(`unicodeHighlight.allowedLocales`,`Unicode characters that are common in allowed locales are not being highlighted.`)}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&e&&(Ae(e.allowedCharacters,t.allowedCharacters)||(e={...e,allowedCharacters:t.allowedCharacters},n=!0)),t.allowedLocales&&e&&(Ae(e.allowedLocales,t.allowedLocales)||(e={...e,allowedLocales:t.allowedLocales},n=!0));let r=super.applyUpdate(e,t);return n?new jt(r.newValue,!0):r}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{nonBasicASCII:Pn(t.nonBasicASCII,Dn,[!0,!1,Dn]),invisibleCharacters:D(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:D(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Pn(t.includeComments,Dn,[!0,!1,Dn]),includeStrings:Pn(t.includeStrings,Dn,[!0,!1,Dn]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if(typeof e!=`object`||!e)return t;let n={};for(let[t,r]of Object.entries(e))r===!0&&(n[t]=!0);return n}},An=class extends At{constructor(){let e={enabled:!0,mode:`subwordSmart`,showToolbar:`onHover`,suppressSuggestions:!1,keepOnBlur:!1,fontFamily:`default`};super(62,`inlineSuggest`,e,{"editor.inlineSuggest.enabled":{type:`boolean`,default:e.enabled,description:E(`inlineSuggest.enabled`,`Controls whether to automatically show inline suggestions in the editor.`)},"editor.inlineSuggest.showToolbar":{type:`string`,default:e.showToolbar,enum:[`always`,`onHover`,`never`],enumDescriptions:[E(`inlineSuggest.showToolbar.always`,`Show the inline suggestion toolbar whenever an inline suggestion is shown.`),E(`inlineSuggest.showToolbar.onHover`,`Show the inline suggestion toolbar when hovering over an inline suggestion.`),E(`inlineSuggest.showToolbar.never`,`Never show the inline suggestion toolbar.`)],description:E(`inlineSuggest.showToolbar`,`Controls when to show the inline suggestion toolbar.`)},"editor.inlineSuggest.suppressSuggestions":{type:`boolean`,default:e.suppressSuggestions,description:E(`inlineSuggest.suppressSuggestions`,`Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.`)},"editor.inlineSuggest.fontFamily":{type:`string`,default:e.fontFamily,description:E(`inlineSuggest.fontFamily`,`Controls the font family of the inline suggestions.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),mode:Vt(t.mode,this.defaultValue.mode,[`prefix`,`subword`,`subwordSmart`]),showToolbar:Vt(t.showToolbar,this.defaultValue.showToolbar,[`always`,`onHover`,`never`]),suppressSuggestions:D(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:D(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:Bt.string(t.fontFamily,this.defaultValue.fontFamily)}}},jn=class extends At{constructor(){let e={enabled:!1,showToolbar:`onHover`,fontFamily:`default`,keepOnBlur:!1,backgroundColoring:!1};super(63,`experimentalInlineEdit`,e,{"editor.experimentalInlineEdit.enabled":{type:`boolean`,default:e.enabled,description:E(`inlineEdit.enabled`,`Controls whether to show inline edits in the editor.`)},"editor.experimentalInlineEdit.showToolbar":{type:`string`,default:e.showToolbar,enum:[`always`,`onHover`,`never`],enumDescriptions:[E(`inlineEdit.showToolbar.always`,`Show the inline edit toolbar whenever an inline suggestion is shown.`),E(`inlineEdit.showToolbar.onHover`,`Show the inline edit toolbar when hovering over an inline suggestion.`),E(`inlineEdit.showToolbar.never`,`Never show the inline edit toolbar.`)],description:E(`inlineEdit.showToolbar`,`Controls when to show the inline edit toolbar.`)},"editor.experimentalInlineEdit.fontFamily":{type:`string`,default:e.fontFamily,description:E(`inlineEdit.fontFamily`,`Controls the font family of the inline edit.`)},"editor.experimentalInlineEdit.backgroundColoring":{type:`boolean`,default:e.backgroundColoring,description:E(`inlineEdit.backgroundColoring`,`Controls whether to color the background of inline edits.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),showToolbar:Vt(t.showToolbar,this.defaultValue.showToolbar,[`always`,`onHover`,`never`]),fontFamily:Bt.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:D(t.keepOnBlur,this.defaultValue.keepOnBlur),backgroundColoring:D(t.backgroundColoring,this.defaultValue.backgroundColoring)}}},Mn=class extends At{constructor(){let e={enabled:_t.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:_t.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,`bracketPairColorization`,e,{"editor.bracketPairColorization.enabled":{type:`boolean`,default:e.enabled,markdownDescription:E(`bracketPairColorization.enabled`,`Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.`,"`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:`boolean`,default:e.independentColorPoolPerBracketType,description:E(`bracketPairColorization.independentColorPoolPerBracketType`,`Controls whether each bracket type has its own independent color pool.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:D(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}},Nn=class extends At{constructor(){let e={bracketPairs:!1,bracketPairsHorizontal:`active`,highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(16,`guides`,e,{"editor.guides.bracketPairs":{type:[`boolean`,`string`],enum:[!0,`active`,!1],enumDescriptions:[E(`editor.guides.bracketPairs.true`,`Enables bracket pair guides.`),E(`editor.guides.bracketPairs.active`,`Enables bracket pair guides only for the active bracket pair.`),E(`editor.guides.bracketPairs.false`,`Disables bracket pair guides.`)],default:e.bracketPairs,description:E(`editor.guides.bracketPairs`,`Controls whether bracket pair guides are enabled or not.`)},"editor.guides.bracketPairsHorizontal":{type:[`boolean`,`string`],enum:[!0,`active`,!1],enumDescriptions:[E(`editor.guides.bracketPairsHorizontal.true`,`Enables horizontal guides as addition to vertical bracket pair guides.`),E(`editor.guides.bracketPairsHorizontal.active`,`Enables horizontal guides only for the active bracket pair.`),E(`editor.guides.bracketPairsHorizontal.false`,`Disables horizontal bracket pair guides.`)],default:e.bracketPairsHorizontal,description:E(`editor.guides.bracketPairsHorizontal`,`Controls whether horizontal bracket pair guides are enabled or not.`)},"editor.guides.highlightActiveBracketPair":{type:`boolean`,default:e.highlightActiveBracketPair,description:E(`editor.guides.highlightActiveBracketPair`,`Controls whether the editor should highlight the active bracket pair.`)},"editor.guides.indentation":{type:`boolean`,default:e.indentation,description:E(`editor.guides.indentation`,`Controls whether the editor should render indent guides.`)},"editor.guides.highlightActiveIndentation":{type:[`boolean`,`string`],enum:[!0,`always`,!1],enumDescriptions:[E(`editor.guides.highlightActiveIndentation.true`,`Highlights the active indent guide.`),E(`editor.guides.highlightActiveIndentation.always`,`Highlights the active indent guide even if bracket guides are highlighted.`),E(`editor.guides.highlightActiveIndentation.false`,`Do not highlight the active indent guide.`)],default:e.highlightActiveIndentation,description:E(`editor.guides.highlightActiveIndentation`,`Controls whether the editor should highlight the active indent guide.`)}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{bracketPairs:Pn(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,`active`]),bracketPairsHorizontal:Pn(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,`active`]),highlightActiveBracketPair:D(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:D(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Pn(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,`always`])}}};function Pn(e,t,n){let r=n.indexOf(e);return r===-1?t:n[r]}var Fn=class extends At{constructor(){let e={insertMode:`insert`,filterGraceful:!0,snippetsPreventQuickSuggestions:!1,localityBonus:!1,shareSuggestSelections:!1,selectionMode:`always`,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:`subwordSmart`,showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(118,`suggest`,e,{"editor.suggest.insertMode":{type:`string`,enum:[`insert`,`replace`],enumDescriptions:[E(`suggest.insertMode.insert`,`Insert suggestion without overwriting text right of the cursor.`),E(`suggest.insertMode.replace`,`Insert suggestion and overwrite text right of the cursor.`)],default:e.insertMode,description:E(`suggest.insertMode`,`Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.`)},"editor.suggest.filterGraceful":{type:`boolean`,default:e.filterGraceful,description:E(`suggest.filterGraceful`,`Controls whether filtering and sorting suggestions accounts for small typos.`)},"editor.suggest.localityBonus":{type:`boolean`,default:e.localityBonus,description:E(`suggest.localityBonus`,`Controls whether sorting favors words that appear close to the cursor.`)},"editor.suggest.shareSuggestSelections":{type:`boolean`,default:e.shareSuggestSelections,markdownDescription:E(`suggest.shareSuggestSelections`,"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:`string`,enum:[`always`,`never`,`whenTriggerCharacter`,`whenQuickSuggestion`],enumDescriptions:[E(`suggest.insertMode.always`,`Always select a suggestion when automatically triggering IntelliSense.`),E(`suggest.insertMode.never`,`Never select a suggestion when automatically triggering IntelliSense.`),E(`suggest.insertMode.whenTriggerCharacter`,`Select a suggestion only when triggering IntelliSense from a trigger character.`),E(`suggest.insertMode.whenQuickSuggestion`,`Select a suggestion only when triggering IntelliSense as you type.`)],default:e.selectionMode,markdownDescription:E(`suggest.selectionMode`,"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:`boolean`,default:e.snippetsPreventQuickSuggestions,description:E(`suggest.snippetsPreventQuickSuggestions`,`Controls whether an active snippet prevents quick suggestions.`)},"editor.suggest.showIcons":{type:`boolean`,default:e.showIcons,description:E(`suggest.showIcons`,`Controls whether to show or hide icons in suggestions.`)},"editor.suggest.showStatusBar":{type:`boolean`,default:e.showStatusBar,description:E(`suggest.showStatusBar`,`Controls the visibility of the status bar at the bottom of the suggest widget.`)},"editor.suggest.preview":{type:`boolean`,default:e.preview,description:E(`suggest.preview`,`Controls whether to preview the suggestion outcome in the editor.`)},"editor.suggest.showInlineDetails":{type:`boolean`,default:e.showInlineDetails,description:E(`suggest.showInlineDetails`,`Controls whether suggest details show inline with the label or only in the details widget.`)},"editor.suggest.maxVisibleSuggestions":{type:`number`,deprecationMessage:E(`suggest.maxVisibleSuggestions.dep`,`This setting is deprecated. The suggest widget can now be resized.`)},"editor.suggest.filteredTypes":{type:`object`,deprecationMessage:E(`deprecated`,`This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.`)},"editor.suggest.showMethods":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showMethods`,"When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showFunctions`,"When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showConstructors`,"When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showDeprecated`,"When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.matchOnWordStartOnly`,"When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showFields`,"When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showVariables`,"When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showClasss`,"When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showStructs`,"When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showInterfaces`,"When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showModules`,"When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showPropertys`,"When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showEvents`,"When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showOperators`,"When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showUnits`,"When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showValues`,"When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showConstants`,"When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showEnums`,"When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showEnumMembers`,"When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showKeywords`,"When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showTexts`,"When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showColors`,"When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showFiles`,"When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showReferences`,"When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showCustomcolors`,"When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showFolders`,"When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showTypeParameters`,"When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showSnippets`,"When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showUsers`,"When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:`boolean`,default:!0,markdownDescription:E(`editor.suggest.showIssues`,"When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{insertMode:Vt(t.insertMode,this.defaultValue.insertMode,[`insert`,`replace`]),filterGraceful:D(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:D(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:D(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:D(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:Vt(t.selectionMode,this.defaultValue.selectionMode,[`always`,`never`,`whenQuickSuggestion`,`whenTriggerCharacter`]),showIcons:D(t.showIcons,this.defaultValue.showIcons),showStatusBar:D(t.showStatusBar,this.defaultValue.showStatusBar),preview:D(t.preview,this.defaultValue.preview),previewMode:Vt(t.previewMode,this.defaultValue.previewMode,[`prefix`,`subword`,`subwordSmart`]),showInlineDetails:D(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:D(t.showMethods,this.defaultValue.showMethods),showFunctions:D(t.showFunctions,this.defaultValue.showFunctions),showConstructors:D(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:D(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:D(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:D(t.showFields,this.defaultValue.showFields),showVariables:D(t.showVariables,this.defaultValue.showVariables),showClasses:D(t.showClasses,this.defaultValue.showClasses),showStructs:D(t.showStructs,this.defaultValue.showStructs),showInterfaces:D(t.showInterfaces,this.defaultValue.showInterfaces),showModules:D(t.showModules,this.defaultValue.showModules),showProperties:D(t.showProperties,this.defaultValue.showProperties),showEvents:D(t.showEvents,this.defaultValue.showEvents),showOperators:D(t.showOperators,this.defaultValue.showOperators),showUnits:D(t.showUnits,this.defaultValue.showUnits),showValues:D(t.showValues,this.defaultValue.showValues),showConstants:D(t.showConstants,this.defaultValue.showConstants),showEnums:D(t.showEnums,this.defaultValue.showEnums),showEnumMembers:D(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:D(t.showKeywords,this.defaultValue.showKeywords),showWords:D(t.showWords,this.defaultValue.showWords),showColors:D(t.showColors,this.defaultValue.showColors),showFiles:D(t.showFiles,this.defaultValue.showFiles),showReferences:D(t.showReferences,this.defaultValue.showReferences),showFolders:D(t.showFolders,this.defaultValue.showFolders),showTypeParameters:D(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:D(t.showSnippets,this.defaultValue.showSnippets),showUsers:D(t.showUsers,this.defaultValue.showUsers),showIssues:D(t.showIssues,this.defaultValue.showIssues)}}},In=class extends At{constructor(){super(113,`smartSelect`,{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:E(`selectLeadingAndTrailingWhitespace`,`Whether leading and trailing whitespace should always be selected.`),default:!0,type:`boolean`},"editor.smartSelect.selectSubwords":{description:E(`selectSubwords`,`Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected.`),default:!0,type:`boolean`}})}validate(e){return!e||typeof e!=`object`?this.defaultValue:{selectLeadingAndTrailingWhitespace:D(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:D(e.selectSubwords,this.defaultValue.selectSubwords)}}},Ln=class extends At{constructor(){super(130,`wordSegmenterLocales`,[],{anyOf:[{description:E(`wordSegmenterLocales`,`Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.).`),type:`string`},{description:E(`wordSegmenterLocales`,`Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.).`),type:`array`,items:{type:`string`}}]})}validate(e){if(typeof e==`string`&&(e=[e]),Array.isArray(e)){let t=[];for(let n of e)if(typeof n==`string`)try{Intl.Segmenter.supportedLocalesOf(n).length>0&&t.push(n)}catch{}return t}return this.defaultValue}},Rn=class extends At{constructor(){super(138,`wrappingIndent`,1,{"editor.wrappingIndent":{type:`string`,enum:[`none`,`same`,`indent`,`deepIndent`],enumDescriptions:[E(`wrappingIndent.none`,`No indentation. Wrapped lines begin at column 1.`),E(`wrappingIndent.same`,`Wrapped lines get the same indentation as the parent.`),E(`wrappingIndent.indent`,`Wrapped lines get +1 indentation toward the parent.`),E(`wrappingIndent.deepIndent`,`Wrapped lines get +2 indentation toward the parent.`)],description:E(`wrappingIndent`,`Controls the indentation of wrapped lines.`),default:`same`}})}validate(e){switch(e){case`none`:return 0;case`same`:return 1;case`indent`:return 2;case`deepIndent`:return 3}return 1}compute(e,t,n){return t.get(2)===2?0:n}},zn=class extends Nt{constructor(){super(146)}compute(e,t,n){let r=t.get(145);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:r.isWordWrapMinified,isViewportWrapping:r.isViewportWrapping,wrappingColumn:r.wrappingColumn}}},Bn=class extends At{constructor(){let e={enabled:!0,showDropSelector:`afterDrop`};super(36,`dropIntoEditor`,e,{"editor.dropIntoEditor.enabled":{type:`boolean`,default:e.enabled,markdownDescription:E(`dropIntoEditor.enabled`,"Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor).")},"editor.dropIntoEditor.showDropSelector":{type:`string`,markdownDescription:E(`dropIntoEditor.showDropSelector`,`Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped.`),enum:[`afterDrop`,`never`],enumDescriptions:[E(`dropIntoEditor.showDropSelector.afterDrop`,`Show the drop selector widget after a file is dropped into the editor.`),E(`dropIntoEditor.showDropSelector.never`,`Never show the drop selector widget. Instead the default drop provider is always used.`)],default:`afterDrop`}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),showDropSelector:Vt(t.showDropSelector,this.defaultValue.showDropSelector,[`afterDrop`,`never`])}}},Vn=class extends At{constructor(){let e={enabled:!0,showPasteSelector:`afterPaste`};super(85,`pasteAs`,e,{"editor.pasteAs.enabled":{type:`boolean`,default:e.enabled,markdownDescription:E(`pasteAs.enabled`,`Controls whether you can paste content in different ways.`)},"editor.pasteAs.showPasteSelector":{type:`string`,markdownDescription:E(`pasteAs.showPasteSelector`,`Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted.`),enum:[`afterPaste`,`never`],enumDescriptions:[E(`pasteAs.showPasteSelector.afterPaste`,`Show the paste selector widget after content is pasted into the editor.`),E(`pasteAs.showPasteSelector.never`,`Never show the paste selector widget. Instead the default pasting behavior is always used.`)],default:`afterPaste`}})}validate(e){if(!e||typeof e!=`object`)return this.defaultValue;let t=e;return{enabled:D(t.enabled,this.defaultValue.enabled),showPasteSelector:Vt(t.showPasteSelector,this.defaultValue.showPasteSelector,[`afterPaste`,`never`])}}},Hn={fontFamily:Ze?`Menlo, Monaco, 'Courier New', monospace`:Qe?`'Droid Sans Mono', 'monospace', monospace`:`Consolas, 'Courier New', monospace`,fontWeight:`normal`,fontSize:Ze?12:14,lineHeight:0,letterSpacing:0},Un=[];function O(e){return Un[e.id]=e,e}var Wn={acceptSuggestionOnCommitCharacter:O(new Ft(0,`acceptSuggestionOnCommitCharacter`,!0,{markdownDescription:E(`acceptSuggestionOnCommitCharacter`,"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:O(new Ht(1,`acceptSuggestionOnEnter`,`on`,[`on`,`smart`,`off`],{markdownEnumDescriptions:[``,E(`acceptSuggestionOnEnterSmart`,"Only accept a suggestion with `Enter` when it makes a textual change."),``],markdownDescription:E(`acceptSuggestionOnEnter`,"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:O(new Gt),accessibilityPageSize:O(new Lt(3,`accessibilityPageSize`,10,1,1073741824,{description:E(`accessibilityPageSize`,`Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.`),tags:[`accessibility`]})),ariaLabel:O(new Bt(4,`ariaLabel`,E(`editorViewAccessibleLabel`,`Editor content`))),ariaRequired:O(new Ft(5,`ariaRequired`,!1,void 0)),screenReaderAnnounceInlineSuggestion:O(new Ft(8,`screenReaderAnnounceInlineSuggestion`,!0,{description:E(`screenReaderAnnounceInlineSuggestion`,`Control whether inline suggestions are announced by a screen reader.`),tags:[`accessibility`]})),autoClosingBrackets:O(new Ht(6,`autoClosingBrackets`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,E(`editor.autoClosingBrackets.languageDefined`,`Use language configurations to determine when to autoclose brackets.`),E(`editor.autoClosingBrackets.beforeWhitespace`,`Autoclose brackets only when the cursor is to the left of whitespace.`),``],description:E(`autoClosingBrackets`,`Controls whether the editor should automatically close brackets after the user adds an opening bracket.`)})),autoClosingComments:O(new Ht(7,`autoClosingComments`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,E(`editor.autoClosingComments.languageDefined`,`Use language configurations to determine when to autoclose comments.`),E(`editor.autoClosingComments.beforeWhitespace`,`Autoclose comments only when the cursor is to the left of whitespace.`),``],description:E(`autoClosingComments`,`Controls whether the editor should automatically close comments after the user adds an opening comment.`)})),autoClosingDelete:O(new Ht(9,`autoClosingDelete`,`auto`,[`always`,`auto`,`never`],{enumDescriptions:[``,E(`editor.autoClosingDelete.auto`,`Remove adjacent closing quotes or brackets only if they were automatically inserted.`),``],description:E(`autoClosingDelete`,`Controls whether the editor should remove adjacent closing quotes or brackets when deleting.`)})),autoClosingOvertype:O(new Ht(10,`autoClosingOvertype`,`auto`,[`always`,`auto`,`never`],{enumDescriptions:[``,E(`editor.autoClosingOvertype.auto`,`Type over closing quotes or brackets only if they were automatically inserted.`),``],description:E(`autoClosingOvertype`,`Controls whether the editor should type over closing quotes or brackets.`)})),autoClosingQuotes:O(new Ht(11,`autoClosingQuotes`,`languageDefined`,[`always`,`languageDefined`,`beforeWhitespace`,`never`],{enumDescriptions:[``,E(`editor.autoClosingQuotes.languageDefined`,`Use language configurations to determine when to autoclose quotes.`),E(`editor.autoClosingQuotes.beforeWhitespace`,`Autoclose quotes only when the cursor is to the left of whitespace.`),``],description:E(`autoClosingQuotes`,`Controls whether the editor should automatically close quotes after the user adds an opening quote.`)})),autoIndent:O(new Ut(12,`autoIndent`,4,`full`,[`none`,`keep`,`brackets`,`advanced`,`full`],Wt,{enumDescriptions:[E(`editor.autoIndent.none`,`The editor will not insert indentation automatically.`),E(`editor.autoIndent.keep`,`The editor will keep the current line's indentation.`),E(`editor.autoIndent.brackets`,`The editor will keep the current line's indentation and honor language defined brackets.`),E(`editor.autoIndent.advanced`,`The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages.`),E(`editor.autoIndent.full`,`The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.`)],description:E(`autoIndent`,`Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.`)})),automaticLayout:O(new Ft(13,`automaticLayout`,!1)),autoSurround:O(new Ht(14,`autoSurround`,`languageDefined`,[`languageDefined`,`quotes`,`brackets`,`never`],{enumDescriptions:[E(`editor.autoSurround.languageDefined`,`Use language configurations to determine when to automatically surround selections.`),E(`editor.autoSurround.quotes`,`Surround with quotes but not brackets.`),E(`editor.autoSurround.brackets`,`Surround with brackets but not quotes.`),``],description:E(`autoSurround`,`Controls whether the editor should automatically surround selections when typing quotes or brackets.`)})),bracketPairColorization:O(new Mn),bracketPairGuides:O(new Nn),stickyTabStops:O(new Ft(116,`stickyTabStops`,!1,{description:E(`stickyTabStops`,`Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.`)})),codeLens:O(new Ft(17,`codeLens`,!0,{description:E(`codeLens`,`Controls whether the editor shows CodeLens.`)})),codeLensFontFamily:O(new Bt(18,`codeLensFontFamily`,``,{description:E(`codeLensFontFamily`,`Controls the font family for CodeLens.`)})),codeLensFontSize:O(new Lt(19,`codeLensFontSize`,0,0,100,{type:`number`,default:0,minimum:0,maximum:100,markdownDescription:E(`codeLensFontSize`,"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:O(new Ft(20,`colorDecorators`,!0,{description:E(`colorDecorators`,`Controls whether the editor should render the inline color decorators and color picker.`)})),colorDecoratorActivatedOn:O(new Ht(148,`colorDecoratorsActivatedOn`,`clickAndHover`,[`clickAndHover`,`hover`,`click`],{enumDescriptions:[E(`editor.colorDecoratorActivatedOn.clickAndHover`,`Make the color picker appear both on click and hover of the color decorator`),E(`editor.colorDecoratorActivatedOn.hover`,`Make the color picker appear on hover of the color decorator`),E(`editor.colorDecoratorActivatedOn.click`,`Make the color picker appear on click of the color decorator`)],description:E(`colorDecoratorActivatedOn`,`Controls the condition to make a color picker appear from a color decorator`)})),colorDecoratorsLimit:O(new Lt(21,`colorDecoratorsLimit`,500,1,1e6,{markdownDescription:E(`colorDecoratorsLimit`,`Controls the max number of color decorators that can be rendered in an editor at once.`)})),columnSelection:O(new Ft(22,`columnSelection`,!1,{description:E(`columnSelection`,`Enable that the selection with the mouse and keys is doing column selection.`)})),comments:O(new Kt),contextmenu:O(new Ft(24,`contextmenu`,!0)),copyWithSyntaxHighlighting:O(new Ft(25,`copyWithSyntaxHighlighting`,!0,{description:E(`copyWithSyntaxHighlighting`,`Controls whether syntax highlighting should be copied into the clipboard.`)})),cursorBlinking:O(new Ut(26,`cursorBlinking`,1,`blink`,[`blink`,`smooth`,`phase`,`expand`,`solid`],qt,{description:E(`cursorBlinking`,`Control the cursor animation style.`)})),cursorSmoothCaretAnimation:O(new Ht(27,`cursorSmoothCaretAnimation`,`off`,[`off`,`explicit`,`on`],{enumDescriptions:[E(`cursorSmoothCaretAnimation.off`,`Smooth caret animation is disabled.`),E(`cursorSmoothCaretAnimation.explicit`,`Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture.`),E(`cursorSmoothCaretAnimation.on`,`Smooth caret animation is always enabled.`)],description:E(`cursorSmoothCaretAnimation`,`Controls whether the smooth caret animation should be enabled.`)})),cursorStyle:O(new Ut(28,`cursorStyle`,Jt.Line,`line`,[`line`,`block`,`underline`,`line-thin`,`block-outline`,`underline-thin`],Yt,{description:E(`cursorStyle`,`Controls the cursor style.`)})),cursorSurroundingLines:O(new Lt(29,`cursorSurroundingLines`,0,0,1073741824,{description:E(`cursorSurroundingLines`,`Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.`)})),cursorSurroundingLinesStyle:O(new Ht(30,`cursorSurroundingLinesStyle`,`default`,[`default`,`all`],{enumDescriptions:[E(`cursorSurroundingLinesStyle.default`,"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),E(`cursorSurroundingLinesStyle.all`,"`cursorSurroundingLines` is enforced always.")],markdownDescription:E(`cursorSurroundingLinesStyle`,"Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:O(new Lt(31,`cursorWidth`,0,0,1073741824,{markdownDescription:E(`cursorWidth`,"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:O(new Ft(32,`disableLayerHinting`,!1)),disableMonospaceOptimizations:O(new Ft(33,`disableMonospaceOptimizations`,!1)),domReadOnly:O(new Ft(34,`domReadOnly`,!1)),dragAndDrop:O(new Ft(35,`dragAndDrop`,!0,{description:E(`dragAndDrop`,`Controls whether the editor should allow moving selections via drag and drop.`)})),emptySelectionClipboard:O(new Zt),dropIntoEditor:O(new Bn),stickyScroll:O(new dn),experimentalWhitespaceRendering:O(new Ht(38,`experimentalWhitespaceRendering`,`svg`,[`svg`,`font`,`off`],{enumDescriptions:[E(`experimentalWhitespaceRendering.svg`,`Use a new rendering method with svgs.`),E(`experimentalWhitespaceRendering.font`,`Use a new rendering method with font characters.`),E(`experimentalWhitespaceRendering.off`,`Use the stable rendering method.`)],description:E(`experimentalWhitespaceRendering`,`Controls whether whitespace is rendered with a new, experimental method.`)})),extraEditorClassName:O(new Bt(39,`extraEditorClassName`,``)),fastScrollSensitivity:O(new zt(40,`fastScrollSensitivity`,5,e=>e<=0?5:e,{markdownDescription:E(`fastScrollSensitivity`,"Scrolling speed multiplier when pressing `Alt`.")})),find:O(new Qt),fixedOverflowWidgets:O(new Ft(42,`fixedOverflowWidgets`,!1)),folding:O(new Ft(43,`folding`,!0,{description:E(`folding`,`Controls whether the editor has code folding enabled.`)})),foldingStrategy:O(new Ht(44,`foldingStrategy`,`auto`,[`auto`,`indentation`],{enumDescriptions:[E(`foldingStrategy.auto`,`Use a language-specific folding strategy if available, else the indentation-based one.`),E(`foldingStrategy.indentation`,`Use the indentation-based folding strategy.`)],description:E(`foldingStrategy`,`Controls the strategy for computing folding ranges.`)})),foldingHighlight:O(new Ft(45,`foldingHighlight`,!0,{description:E(`foldingHighlight`,`Controls whether the editor should highlight folded ranges.`)})),foldingImportsByDefault:O(new Ft(46,`foldingImportsByDefault`,!1,{description:E(`foldingImportsByDefault`,`Controls whether the editor automatically collapses import ranges.`)})),foldingMaximumRegions:O(new Lt(47,`foldingMaximumRegions`,5e3,10,65e3,{description:E(`foldingMaximumRegions`,`The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.`)})),unfoldOnClickAfterEndOfLine:O(new Ft(48,`unfoldOnClickAfterEndOfLine`,!1,{description:E(`unfoldOnClickAfterEndOfLine`,`Controls whether clicking on the empty content after a folded line will unfold the line.`)})),fontFamily:O(new Bt(49,`fontFamily`,Hn.fontFamily,{description:E(`fontFamily`,`Controls the font family.`)})),fontInfo:O(new tn),fontLigatures2:O(new $t),fontSize:O(new nn),fontWeight:O(new rn),fontVariations:O(new en),formatOnPaste:O(new Ft(55,`formatOnPaste`,!1,{description:E(`formatOnPaste`,`Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.`)})),formatOnType:O(new Ft(56,`formatOnType`,!1,{description:E(`formatOnType`,`Controls whether the editor should automatically format the line after typing.`)})),glyphMargin:O(new Ft(57,`glyphMargin`,!0,{description:E(`glyphMargin`,`Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.`)})),gotoLocation:O(new an),hideCursorInOverviewRuler:O(new Ft(59,`hideCursorInOverviewRuler`,!1,{description:E(`hideCursorInOverviewRuler`,`Controls whether the cursor should be hidden in the overview ruler.`)})),hover:O(new on),inDiffEditor:O(new Ft(61,`inDiffEditor`,!1)),letterSpacing:O(new zt(64,`letterSpacing`,Hn.letterSpacing,e=>zt.clamp(e,-5,20),{description:E(`letterSpacing`,`Controls the letter spacing in pixels.`)})),lightbulb:O(new un),lineDecorationsWidth:O(new pn),lineHeight:O(new mn),lineNumbers:O(new xn),lineNumbersMinChars:O(new Lt(69,`lineNumbersMinChars`,5,1,300)),linkedEditing:O(new Ft(70,`linkedEditing`,!1,{description:E(`linkedEditing`,`Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.`)})),links:O(new Ft(71,`links`,!0,{description:E(`links`,`Controls whether the editor should detect links and make them clickable.`)})),matchBrackets:O(new Ht(72,`matchBrackets`,`always`,[`always`,`near`,`never`],{description:E(`matchBrackets`,`Highlight matching brackets.`)})),minimap:O(new hn),mouseStyle:O(new Ht(74,`mouseStyle`,`text`,[`text`,`default`,`copy`])),mouseWheelScrollSensitivity:O(new zt(75,`mouseWheelScrollSensitivity`,1,e=>e===0?1:e,{markdownDescription:E(`mouseWheelScrollSensitivity`,"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:O(new Ft(76,`mouseWheelZoom`,!1,{markdownDescription:Ze?E(`mouseWheelZoom.mac`,"Zoom the font of the editor when using mouse wheel and holding `Cmd`."):E(`mouseWheelZoom`,"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:O(new Ft(77,`multiCursorMergeOverlapping`,!0,{description:E(`multiCursorMergeOverlapping`,`Merge multiple cursors when they are overlapping.`)})),multiCursorModifier:O(new Ut(78,`multiCursorModifier`,`altKey`,`alt`,[`ctrlCmd`,`alt`],gn,{markdownEnumDescriptions:[E(`multiCursorModifier.ctrlCmd`,"Maps to `Control` on Windows and Linux and to `Command` on macOS."),E(`multiCursorModifier.alt`,"Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:E({key:`multiCursorModifier`,comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},`The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).`)})),multiCursorPaste:O(new Ht(79,`multiCursorPaste`,`spread`,[`spread`,`full`],{markdownEnumDescriptions:[E(`multiCursorPaste.spread`,`Each cursor pastes a single line of the text.`),E(`multiCursorPaste.full`,`Each cursor pastes the full text.`)],markdownDescription:E(`multiCursorPaste`,`Controls pasting when the line count of the pasted text matches the cursor count.`)})),multiCursorLimit:O(new Lt(80,`multiCursorLimit`,1e4,1,1e5,{markdownDescription:E(`multiCursorLimit`,`Controls the max number of cursors that can be in an active editor at once.`)})),occurrencesHighlight:O(new Ht(81,`occurrencesHighlight`,`singleFile`,[`off`,`singleFile`,`multiFile`],{markdownEnumDescriptions:[E(`occurrencesHighlight.off`,`Does not highlight occurrences.`),E(`occurrencesHighlight.singleFile`,`Highlights occurrences only in the current file.`),E(`occurrencesHighlight.multiFile`,`Experimental: Highlights occurrences across all valid open files.`)],markdownDescription:E(`occurrencesHighlight`,`Controls whether occurrences should be highlighted across open files.`)})),overviewRulerBorder:O(new Ft(82,`overviewRulerBorder`,!0,{description:E(`overviewRulerBorder`,`Controls whether a border should be drawn around the overview ruler.`)})),overviewRulerLanes:O(new Lt(83,`overviewRulerLanes`,3,0,3)),padding:O(new _n),pasteAs:O(new Vn),parameterHints:O(new vn),peekWidgetDefaultFocus:O(new Ht(87,`peekWidgetDefaultFocus`,`tree`,[`tree`,`editor`],{enumDescriptions:[E(`peekWidgetDefaultFocus.tree`,`Focus the tree when opening peek`),E(`peekWidgetDefaultFocus.editor`,`Focus the editor when opening peek`)],description:E(`peekWidgetDefaultFocus`,`Controls whether to focus the inline editor or the tree in the peek widget.`)})),definitionLinkOpensInPeek:O(new Ft(88,`definitionLinkOpensInPeek`,!1,{description:E(`definitionLinkOpensInPeek`,`Controls whether the Go to Definition mouse gesture always opens the peek widget.`)})),quickSuggestions:O(new bn),quickSuggestionsDelay:O(new Lt(90,`quickSuggestionsDelay`,10,0,1073741824,{description:E(`quickSuggestionsDelay`,`Controls the delay in milliseconds after which quick suggestions will show up.`)})),readOnly:O(new Ft(91,`readOnly`,!1)),readOnlyMessage:O(new wn),renameOnType:O(new Ft(93,`renameOnType`,!1,{description:E(`renameOnType`,`Controls whether the editor auto renames on type.`),markdownDeprecationMessage:E(`renameOnTypeDeprecate`,"Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:O(new Ft(94,`renderControlCharacters`,!0,{description:E(`renderControlCharacters`,`Controls whether the editor should render control characters.`),restricted:!0})),renderFinalNewline:O(new Ht(95,`renderFinalNewline`,Qe?`dimmed`:`on`,[`off`,`on`,`dimmed`],{description:E(`renderFinalNewline`,`Render last line number when the file ends with a newline.`)})),renderLineHighlight:O(new Ht(96,`renderLineHighlight`,`line`,[`none`,`gutter`,`line`,`all`],{enumDescriptions:[``,``,``,E(`renderLineHighlight.all`,`Highlights both the gutter and the current line.`)],description:E(`renderLineHighlight`,`Controls how the editor should render the current line highlight.`)})),renderLineHighlightOnlyWhenFocus:O(new Ft(97,`renderLineHighlightOnlyWhenFocus`,!1,{description:E(`renderLineHighlightOnlyWhenFocus`,`Controls if the editor should render the current line highlight only when the editor is focused.`)})),renderValidationDecorations:O(new Ht(98,`renderValidationDecorations`,`editable`,[`editable`,`on`,`off`])),renderWhitespace:O(new Ht(99,`renderWhitespace`,`selection`,[`none`,`boundary`,`selection`,`trailing`,`all`],{enumDescriptions:[``,E(`renderWhitespace.boundary`,`Render whitespace characters except for single spaces between words.`),E(`renderWhitespace.selection`,`Render whitespace characters only on selected text.`),E(`renderWhitespace.trailing`,`Render only trailing whitespace characters.`),``],description:E(`renderWhitespace`,`Controls how the editor should render whitespace characters.`)})),revealHorizontalRightPadding:O(new Lt(100,`revealHorizontalRightPadding`,15,0,1e3)),roundedSelection:O(new Ft(101,`roundedSelection`,!0,{description:E(`roundedSelection`,`Controls whether selections should have rounded corners.`)})),rulers:O(new Cn),scrollbar:O(new En),scrollBeyondLastColumn:O(new Lt(104,`scrollBeyondLastColumn`,4,0,1073741824,{description:E(`scrollBeyondLastColumn`,`Controls the number of extra characters beyond which the editor will scroll horizontally.`)})),scrollBeyondLastLine:O(new Ft(105,`scrollBeyondLastLine`,!0,{description:E(`scrollBeyondLastLine`,`Controls whether the editor will scroll beyond the last line.`)})),scrollPredominantAxis:O(new Ft(106,`scrollPredominantAxis`,!0,{description:E(`scrollPredominantAxis`,`Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.`)})),selectionClipboard:O(new Ft(107,`selectionClipboard`,!0,{description:E(`selectionClipboard`,`Controls whether the Linux primary clipboard should be supported.`),included:Qe})),selectionHighlight:O(new Ft(108,`selectionHighlight`,!0,{description:E(`selectionHighlight`,`Controls whether the editor should highlight matches similar to the selection.`)})),selectOnLineNumbers:O(new Ft(109,`selectOnLineNumbers`,!0)),showFoldingControls:O(new Ht(110,`showFoldingControls`,`mouseover`,[`always`,`never`,`mouseover`],{enumDescriptions:[E(`showFoldingControls.always`,`Always show the folding controls.`),E(`showFoldingControls.never`,`Never show the folding controls and reduce the gutter size.`),E(`showFoldingControls.mouseover`,`Only show the folding controls when the mouse is over the gutter.`)],description:E(`showFoldingControls`,`Controls when the folding controls on the gutter are shown.`)})),showUnused:O(new Ft(111,`showUnused`,!0,{description:E(`showUnused`,`Controls fading out of unused code.`)})),showDeprecated:O(new Ft(140,`showDeprecated`,!0,{description:E(`showDeprecated`,`Controls strikethrough deprecated variables.`)})),inlayHints:O(new fn),snippetSuggestions:O(new Ht(112,`snippetSuggestions`,`inline`,[`top`,`bottom`,`inline`,`none`],{enumDescriptions:[E(`snippetSuggestions.top`,`Show snippet suggestions on top of other suggestions.`),E(`snippetSuggestions.bottom`,`Show snippet suggestions below other suggestions.`),E(`snippetSuggestions.inline`,`Show snippets suggestions with other suggestions.`),E(`snippetSuggestions.none`,`Do not show snippet suggestions.`)],description:E(`snippetSuggestions`,`Controls whether snippets are shown with other suggestions and how they are sorted.`)})),smartSelect:O(new In),smoothScrolling:O(new Ft(114,`smoothScrolling`,!1,{description:E(`smoothScrolling`,`Controls whether the editor will scroll using an animation.`)})),stopRenderingLineAfter:O(new Lt(117,`stopRenderingLineAfter`,1e4,-1,1073741824)),suggest:O(new Fn),inlineSuggest:O(new An),inlineEdit:O(new jn),inlineCompletionsAccessibilityVerbose:O(new Ft(149,`inlineCompletionsAccessibilityVerbose`,!1,{description:E(`inlineCompletionsAccessibilityVerbose`,`Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.`)})),suggestFontSize:O(new Lt(119,`suggestFontSize`,0,0,1e3,{markdownDescription:E(`suggestFontSize`,`Font size for the suggest widget. When set to {0}, the value of {1} is used.`,"`0`","`#editor.fontSize#`")})),suggestLineHeight:O(new Lt(120,`suggestLineHeight`,0,0,1e3,{markdownDescription:E(`suggestLineHeight`,`Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.`,"`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:O(new Ft(121,`suggestOnTriggerCharacters`,!0,{description:E(`suggestOnTriggerCharacters`,`Controls whether suggestions should automatically show up when typing trigger characters.`)})),suggestSelection:O(new Ht(122,`suggestSelection`,`first`,[`first`,`recentlyUsed`,`recentlyUsedByPrefix`],{markdownEnumDescriptions:[E(`suggestSelection.first`,`Always select the first suggestion.`),E(`suggestSelection.recentlyUsed`,"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),E(`suggestSelection.recentlyUsedByPrefix`,"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:E(`suggestSelection`,`Controls how suggestions are pre-selected when showing the suggest list.`)})),tabCompletion:O(new Ht(123,`tabCompletion`,`off`,[`on`,`off`,`onlySnippets`],{enumDescriptions:[E(`tabCompletion.on`,`Tab complete will insert the best matching suggestion when pressing tab.`),E(`tabCompletion.off`,`Disable tab completions.`),E(`tabCompletion.onlySnippets`,`Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.`)],description:E(`tabCompletion`,`Enables tab completions.`)})),tabIndex:O(new Lt(124,`tabIndex`,0,-1,1073741824)),unicodeHighlight:O(new kn),unusualLineTerminators:O(new Ht(126,`unusualLineTerminators`,`prompt`,[`auto`,`off`,`prompt`],{enumDescriptions:[E(`unusualLineTerminators.auto`,`Unusual line terminators are automatically removed.`),E(`unusualLineTerminators.off`,`Unusual line terminators are ignored.`),E(`unusualLineTerminators.prompt`,`Unusual line terminators prompt to be removed.`)],description:E(`unusualLineTerminators`,`Remove unusual line terminators that might cause problems.`)})),useShadowDOM:O(new Ft(127,`useShadowDOM`,!0)),useTabStops:O(new Ft(128,`useTabStops`,!0,{description:E(`useTabStops`,`Spaces and tabs are inserted and deleted in alignment with tab stops.`)})),wordBreak:O(new Ht(129,`wordBreak`,`normal`,[`normal`,`keepAll`],{markdownEnumDescriptions:[E(`wordBreak.normal`,`Use the default line break rule.`),E(`wordBreak.keepAll`,`Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.`)],description:E(`wordBreak`,`Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.`)})),wordSegmenterLocales:O(new Ln),wordSeparators:O(new Bt(131,`wordSeparators`,xt,{description:E(`wordSeparators`,`Characters that will be used as word separators when doing word related navigations or operations.`)})),wordWrap:O(new Ht(132,`wordWrap`,`off`,[`off`,`on`,`wordWrapColumn`,`bounded`],{markdownEnumDescriptions:[E(`wordWrap.off`,`Lines will never wrap.`),E(`wordWrap.on`,`Lines will wrap at the viewport width.`),E({key:`wordWrap.wordWrapColumn`,comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),E({key:`wordWrap.bounded`,comment:[`- viewport means the edge of the visible window size.`,"- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:E({key:`wordWrap`,comment:[`- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.`,"- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},`Controls how lines should wrap.`)})),wordWrapBreakAfterCharacters:O(new Bt(133,`wordWrapBreakAfterCharacters`,` })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」`)),wordWrapBreakBeforeCharacters:O(new Bt(134,`wordWrapBreakBeforeCharacters`,`([{‘“〈《「『【〔([{「£¥$£¥++`)),wordWrapColumn:O(new Lt(135,`wordWrapColumn`,80,1,1073741824,{markdownDescription:E({key:`wordWrapColumn`,comment:["- `editor.wordWrap` refers to a different setting and should not be localized.",`- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized.`]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:O(new Ht(136,`wordWrapOverride1`,`inherit`,[`off`,`on`,`inherit`])),wordWrapOverride2:O(new Ht(137,`wordWrapOverride2`,`inherit`,[`off`,`on`,`inherit`])),editorClassName:O(new Xt),defaultColorDecorators:O(new Ft(147,`defaultColorDecorators`,!1,{markdownDescription:E(`defaultColorDecorators`,`Controls whether inline color decorations should be shown using the default document color provider`)})),pixelRatio:O(new yn),tabFocusMode:O(new Ft(144,`tabFocusMode`,!1,{markdownDescription:E(`tabFocusMode`,`Controls whether the editor receives tabs or defers them to the workbench for navigation.`)})),layoutInfo:O(new sn),wrappingInfo:O(new zn),wrappingIndent:O(new Rn),wrappingStrategy:O(new cn)},Gn=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?nr.isErrorNoTelemetry(e)?new nr(e.message+`
|