@vtj/pro 0.11.16 → 0.12.0-alpha.0

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.
Files changed (66) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/vant/index.umd.js +5 -5
  8. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/style.css +1 -1
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  13. package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
  14. package/dist/@vtj/materials/deps/element-plus/index.full.min.js +19 -19
  15. package/dist/@vtj/materials/deps/element-plus/zh-cn.js +2 -2
  16. package/dist/@vtj/materials/deps/vant/vant.min.js +2 -2
  17. package/dist/assets/{@element-plus-icons-vue-D9M6af3i.js → @element-plus-icons-vue-DVDobX8n.js} +1 -1
  18. package/dist/assets/{@vueuse-CBolIfk8.js → @vueuse-BqGFNoW8.js} +1 -1
  19. package/dist/assets/Editor-DN_yRaGC-CBQ10SD_.css +1 -0
  20. package/dist/assets/Editor-DN_yRaGC-CFA_mX2p.js +253 -0
  21. package/dist/assets/auth-CRV5wqVz.js +1 -0
  22. package/dist/assets/element-plus-BrO3q7Hx.css +1 -0
  23. package/dist/assets/element-plus-ChjncS7R.js +13 -0
  24. package/dist/assets/index-BlfSwFr6.js +2 -0
  25. package/dist/assets/index-CDmV3VAb.js +1 -0
  26. package/dist/assets/index-hlWnCgA-.css +1 -0
  27. package/dist/assets/marked-A9Xy60Ec.js +56 -0
  28. package/dist/assets/{mockjs-DdaSpHxk.js → mockjs-CpJl_Tha.js} +1 -1
  29. package/dist/assets/{monaco-editor-B8dwQNlP.js → monaco-editor-311TVFBf.js} +1 -1
  30. package/dist/assets/page-nL9xr_JC.js +2 -0
  31. package/dist/assets/preview-rfPsMv78.js +2 -0
  32. package/dist/assets/{uni-page-DLae1FnZ.js → uni-page-Ck_kti9F.js} +1 -1
  33. package/dist/assets/utils-MwyoozgQ.js +1 -0
  34. package/dist/assets/{vue-B-E4FNFR.js → vue-DyRUlw3r.js} +1 -1
  35. package/dist/assets/{vue-router-CYHi_K9j.js → vue-router-DMcly29s.js} +1 -1
  36. package/dist/assets/{vxe-C7V99fHW.js → vxe-CmKTsEcP.js} +1 -1
  37. package/dist/index.html +10 -10
  38. package/dist/uni/assets/{index-DQVfW5PI.js → index-BYnYiS7M.js} +7 -7
  39. package/dist/uni/index.html +1 -1
  40. package/package.json +14 -14
  41. package/src/.vtj/files/45tm4w8w2.json +752 -9
  42. package/src/.vtj/histories/45tm4w8w2/13zdytpv.json +789 -0
  43. package/src/.vtj/histories/45tm4w8w2/23ze4qdv.json +789 -0
  44. package/src/.vtj/histories/45tm4w8w2/33ze4uyg.json +789 -0
  45. package/src/.vtj/histories/45tm4w8w2/43ze4v0a.json +789 -0
  46. package/src/.vtj/histories/45tm4w8w2/53ze4yr0.json +789 -0
  47. package/src/.vtj/histories/45tm4w8w2/63ze54qg.json +789 -0
  48. package/src/.vtj/histories/45tm4w8w2/73ze54s3.json +789 -0
  49. package/src/.vtj/histories/45tm4w8w2/83ze5c52.json +789 -0
  50. package/src/.vtj/histories/45tm4w8w2/93ze5ys5.json +789 -0
  51. package/src/.vtj/histories/45tm4w8w2.json +36 -0
  52. package/src/.vtj/logs/error-1744330931963.json +1043 -0
  53. package/src/.vtj/projects/@vtj/pro.json +2 -2
  54. package/dist/assets/Editor-7SLplEph-B1lds3kB.js +0 -1
  55. package/dist/assets/auth-BhCHCf4s.js +0 -1
  56. package/dist/assets/auth-D9f-Hr0r.css +0 -1
  57. package/dist/assets/element-plus-BWCD8G-d.js +0 -13
  58. package/dist/assets/element-plus-D6IEJTSW.css +0 -1
  59. package/dist/assets/index-5RBG6XMh.css +0 -1
  60. package/dist/assets/index-B4GxICAE.js +0 -247
  61. package/dist/assets/index-B5dZT_Tr.css +0 -1
  62. package/dist/assets/index-BowI2on7.js +0 -1
  63. package/dist/assets/index-DtwoOban.js +0 -2
  64. package/dist/assets/page-BDOapC1l.js +0 -2
  65. package/dist/assets/preview-BwU0ixAb.js +0 -2
  66. package/dist/assets/utils-Cz7eWcrY.js +0 -1
@@ -1,4 +1,4 @@
1
- var Yne=Object.defineProperty,Xne=Object.defineProperties;var Qne=Object.getOwnPropertyDescriptors;var Fy=Object.getOwnPropertySymbols,Jne=Object.getPrototypeOf,w6=Object.prototype.hasOwnProperty,C6=Object.prototype.propertyIsEnumerable,ese=Reflect.get;var Kv=(s,e)=>(e=Symbol[s])?e:Symbol.for("Symbol."+s),tse=s=>{throw TypeError(s)},Bc=Math.pow,NN=(s,e,t)=>e in s?Yne(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))w6.call(e,t)&&NN(s,t,e[t]);if(Fy)for(var t of Fy(e))C6.call(e,t)&&NN(s,t,e[t]);return s},ue=(s,e)=>Xne(s,Qne(e));var S6=(s,e)=>{var t={};for(var i in s)w6.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Fy)for(var i of Fy(s))e.indexOf(i)<0&&C6.call(s,i)&&(t[i]=s[i]);return t};var Zi=(s,e,t)=>NN(s,typeof e!="symbol"?e+"":e,t);var y6=(s,e,t)=>ese(Jne(s),t,e);var I=(s,e,t)=>new Promise((i,n)=>{var o=l=>{try{a(t.next(l))}catch(c){n(c)}},r=l=>{try{a(t.throw(l))}catch(c){n(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,r);a((t=t.apply(s,e)).next())}),ise=function(s,e){this[0]=s,this[1]=e};var Gv=s=>{var e=s[Kv("asyncIterator")],t=!1,i,n={};return e==null?(e=s[Kv("iterator")](),i=o=>n[o]=r=>e[o](r)):(e=e.call(s),i=o=>n[o]=r=>{if(t){if(t=!1,o==="throw")throw r;return r}return t=!0,{done:!1,value:new ise(new Promise(a=>{var l=e[o](r);l instanceof Object||tse("Object expected"),a(l)}),1)}}),n[Kv("iterator")]=()=>n,i("next"),"throw"in e?i("throw"):n.throw=o=>{throw o},"return"in e&&i("return"),n},Wc=(s,e,t)=>(e=s[Kv("asyncIterator")])?e.call(s):(s=s[Kv("iterator")](),e={},t=(i,n)=>(n=s[i])&&(e[i]=o=>new Promise((r,a,l)=>(o=n.call(s,o),l=o.done,Promise.resolve(o.value).then(c=>r({value:c,done:l}),a)))),t("next"),t("return"),e);const nse="modulepreload",sse=function(s,e){return new URL(s,e).href},x6={},Ee=function(e,t,i){let n=Promise.resolve();if(t&&t.length>0){const r=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));n=Promise.allSettled(t.map(c=>{if(c=sse(c,i),c in x6)return;x6[c]=!0;const d=c.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(!!i)for(let f=r.length-1;f>=0;f--){const m=r[f];if(m.href===c&&(!d||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${u}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":nse,d||(g.as="script"),g.crossOrigin="",g.href=c,l&&g.setAttribute("nonce",l),document.head.appendChild(g),d)return new Promise((f,m)=>{g.addEventListener("load",f),g.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(r){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r}return n.then(r=>{for(const a of r||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})};function Rr(s,e=0){return s[s.length-(1+e)]}function ose(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function gi(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function rse(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function r1(s,e,t){return ase(s.length,i=>t(s[i],e))}function ase(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function VA(s,e,t){if(s=s|0,s>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],o=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?o.push(a):r.push(a)}return s<n.length?VA(s,n,t):s<n.length+r.length?r[0]:VA(s-(n.length+r.length),o,t)}function k6(s,e){const t=[];let i;for(const n of s.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*lB(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function sG(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function lse(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function Ca(s){return s.filter(e=>!!e)}function L6(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function oG(s){return!Array.isArray(s)||s.length===0}function Ss(s){return Array.isArray(s)&&s.length>0}function Pd(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function cB(s,e){return s.length>0?s[0]:e}function Xs(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function VD(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function RN(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function By(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function $A(s,e){for(const t of e)s.push(t)}function dB(s){return Array.isArray(s)?s:[s]}function cse(s,e,t){const i=rG(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function E6(s,e,t,i){const n=rG(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),cse(s,n,i),o}function rG(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var a1;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(a1||(a1={}));function Os(s,e){return(t,i)=>e(s(t),s(i))}function dse(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!a1.isNeitherLessOrGreaterThan(n))return n}return a1.neitherLessOrGreaterThan}}const va=(s,e)=>s-e,use=(s,e)=>va(s?1:0,e?1:0);function aG(s){return(e,t)=>-s(e,t)}class Od{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++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const m_=class m_{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new m_(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new m_(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||a1.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};m_.empty=new m_(e=>{});let Qg=m_;class $x{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,o)=>t(e[n],e[o]));return new $x(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new $x(e)}}function no(s){return typeof s=="string"}function bn(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function hse(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function mh(s){return typeof s=="number"&&!isNaN(s)}function I6(s){return!!s&&typeof s[Symbol.iterator]=="function"}function lG(s){return s===!0||s===!1}function Cs(s){return typeof s=="undefined"}function gc(s){return!cr(s)}function cr(s){return Cs(s)||s===null}function Ct(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Nu(s){if(cr(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function l1(s){return typeof s=="function"}function gse(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)fse(s[i],e[i])}function fse(s,e){if(no(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(l1(e)){try{if(s instanceof e)return}catch(t){}if(!cr(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function sd(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?sd(i):i}),e}function pse(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(cG.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!hse(n)&&e.push(n)}}return s}const cG=Object.prototype.hasOwnProperty;function dG(s,e){return zA(s,e,new Set)}function zA(s,e,t){if(cr(s))return s;const i=e(s);if(typeof i!="undefined")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(zA(o,e,t));return n}if(bn(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)cG.call(s,o)&&(n[o]=zA(s[o],e,t));return t.delete(s),n}return s}function $D(s,e,t=!0){return bn(s)?(bn(e)&&Object.keys(e).forEach(i=>{i in s?t&&(bn(s[i])&&bn(e[i])?$D(s[i],e[i],t):s[i]=e[i]):s[i]=e[i]}),s):e}function Oo(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!Oo(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!Oo(n,o))return!1;for(t=0;t<n.length;t++)if(!Oo(s[n[t]],e[n[t]]))return!1}return!0}function mse(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function UA(s){const e=[];for(const t of mse(s))typeof s[t]=="function"&&e.push(t);return e}function _se(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}function uG(){return globalThis._VSCODE_NLS_MESSAGES}function uB(){return globalThis._VSCODE_NLS_LANGUAGE}const bse=uB()==="pseudo"||typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function zx(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),bse&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return zx(typeof s=="number"?hG(s,e):e,t)}function hG(s,e){var i;const t=(i=uG())==null?void 0:i[s];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${s} !!!`)}return t}function Be(s,e,...t){let i;typeof s=="number"?i=hG(s,e):i=e;const n=zx(i,t);return{value:n,original:e===i?n:zx(e,t)}}const $m="en";let Ux=!1,jx=!1,X0=!1,gG=!1,hB=!1,gB=!1,fG=!1,Wy,Q0=$m,D6=$m,vse,Oa;const Id=globalThis;let Es;var eG;typeof Id.vscode!="undefined"&&typeof Id.vscode.process!="undefined"?Es=Id.vscode.process:typeof process!="undefined"&&typeof((eG=process==null?void 0:process.versions)==null?void 0:eG.node)=="string"&&(Es=process);var tG;const wse=typeof((tG=Es==null?void 0:Es.versions)==null?void 0:tG.electron)=="string",Cse=wse&&(Es==null?void 0:Es.type)==="renderer";var iG;if(typeof Es=="object"){Ux=Es.platform==="win32",jx=Es.platform==="darwin",X0=Es.platform==="linux",X0&&Es.env.SNAP&&Es.env.SNAP_REVISION,Es.env.CI||Es.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Wy=$m,Q0=$m;const s=Es.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s);Wy=e.userLocale,D6=e.osLocale,Q0=e.resolvedLanguage||$m,vse=(iG=e.languagePack)==null?void 0:iG.translationsConfigFile}catch(e){}gG=!0}else typeof navigator=="object"&&!Cse?(Oa=navigator.userAgent,Ux=Oa.indexOf("Windows")>=0,jx=Oa.indexOf("Macintosh")>=0,gB=(Oa.indexOf("Macintosh")>=0||Oa.indexOf("iPad")>=0||Oa.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,X0=Oa.indexOf("Linux")>=0,fG=(Oa==null?void 0:Oa.indexOf("Mobi"))>=0,hB=!0,Q0=uB()||$m,Wy=navigator.language.toLowerCase(),D6=Wy):console.error("Unable to resolve platform.");const Qn=Ux,rt=jx,Ws=X0,_c=gG,Wp=hB,Sse=hB&&typeof Id.importScripts=="function",yse=Sse?Id.origin:void 0,ml=gB,pG=fG,bc=Oa,xse=Q0,kse=typeof Id.postMessage=="function"&&!Id.importScripts,mG=(()=>{if(kse){const s=[];Id.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),Id.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),Po=jx||gB?2:Ux?1:3;let T6=!0,N6=!1;function _G(){if(!N6){N6=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,T6=new Uint16Array(s.buffer)[0]===513}return T6}const bG=!!(bc&&bc.indexOf("Chrome")>=0),Lse=!!(bc&&bc.indexOf("Firefox")>=0),Ese=!!(!bG&&bc&&bc.indexOf("Safari")>=0),Ise=!!(bc&&bc.indexOf("Edg/")>=0),Dse=!!(bc&&bc.indexOf("Android")>=0),ns={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var ut;(function(s){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(C){yield C}s.single=n;function o(C){return e(C)?C:n(C)}s.wrap=o;function r(C){return C||t}s.from=r;function*a(C){for(let S=C.length-1;S>=0;S--)yield C[S]}s.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(C){return C[Symbol.iterator]().next().value}s.first=c;function d(C,S){let y=0;for(const k of C)if(S(k,y++))return!0;return!1}s.some=d;function u(C,S){for(const y of C)if(S(y))return y}s.find=u;function*h(C,S){for(const y of C)S(y)&&(yield y)}s.filter=h;function*g(C,S){let y=0;for(const k of C)yield S(k,y++)}s.map=g;function*f(C,S){let y=0;for(const k of C)yield*Gv(S(k,y++))}s.flatMap=f;function*m(...C){for(const S of C)yield*Gv(S)}s.concat=m;function _(C,S,y){let k=y;for(const E of C)k=S(k,E);return k}s.reduce=_;function*b(C,S,y=C.length){for(S<0&&(S+=C.length),y<0?y+=C.length:y>C.length&&(y=C.length);S<y;S++)yield C[S]}s.slice=b;function v(C,S=Number.POSITIVE_INFINITY){const y=[];if(S===0)return[y,C];const k=C[Symbol.iterator]();for(let E=0;E<S;E++){const N=k.next();if(N.done)return[y,s.empty()];y.push(N.value)}return[y,{[Symbol.iterator](){return k}}]}s.consume=v;function w(C){return I(this,null,function*(){const S=[];try{for(var y=Wc(C),k,E,N;k=!(E=yield y.next()).done;k=!1){const W=E.value;S.push(W)}}catch(E){N=[E]}finally{try{k&&(E=y.return)&&(yield E.call(y))}finally{if(N)throw N[0]}}return Promise.resolve(S)})}s.asyncToArray=w})(ut||(ut={}));var Sd;let rn=(Sd=class{constructor(e){this.element=e,this.next=Sd.Undefined,this.prev=Sd.Undefined}},Sd.Undefined=new Sd(void 0),Sd);class Rs{constructor(){this._first=rn.Undefined,this._last=rn.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===rn.Undefined}clear(){let e=this._first;for(;e!==rn.Undefined;){const t=e.next;e.prev=rn.Undefined,e.next=rn.Undefined,e=t}this._first=rn.Undefined,this._last=rn.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new rn(e);if(this._first===rn.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==rn.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==rn.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==rn.Undefined&&e.next!==rn.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rn.Undefined&&e.next===rn.Undefined?(this._first=rn.Undefined,this._last=rn.Undefined):e.next===rn.Undefined?(this._last=this._last.prev,this._last.next=rn.Undefined):e.prev===rn.Undefined&&(this._first=this._first.next,this._first.prev=rn.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==rn.Undefined;)yield e.element,e=e.next}}const qx="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Tse(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of qx)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const fB=Tse();function pB(s){let e=fB;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const vG=new Rs;vG.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function c1(s,e,t,i,n){if(e=pB(e),n||(n=ut.first(vG)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),c1(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const u=Nse(e,t,r,a);if(!u&&l||(l=u,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function Nse(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Wl=8;class wG{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class CG{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class li{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return zD(e,t)}compute(e,t,i){return i}}class Yw{constructor(e,t){this.newValue=e,this.didChange=t}}function zD(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new Yw(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&gi(s,e);return new Yw(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=zD(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new Yw(s,t)}class KS{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return zD(e,t)}validate(e){return this.defaultValue}}class pv{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return zD(e,t)}validate(e){return typeof e=="undefined"?this.defaultValue:e}compute(e,t,i){return i}}function xe(s,e){return typeof s=="undefined"?e:s==="false"?!1:!!s}class bt extends pv{constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return xe(e,this.defaultValue)}}function gg(s,e,t,i){if(typeof s=="undefined")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class zt extends pv{static clampedInt(e,t,i,n){return gg(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r!="undefined"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return zt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function Rse(s,e,t,i){if(typeof s=="undefined")return e;const n=gr.float(s,e);return gr.clamp(n,t,i)}class gr extends pv{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e=="undefined")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o!="undefined"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(gr.float(e,this.defaultValue))}}class vs extends pv{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return vs.string(e,this.defaultValue)}}function Ei(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class Li extends pv{constructor(e,t,i,n,o=void 0){typeof o!="undefined"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return Ei(e,this.defaultValue,this._allowedValues)}}class Hy extends li{constructor(e,t,i,n,o,r,a=void 0){typeof a!="undefined"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function Ase(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class Mse extends li{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("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,i){return i===0?e.accessibilitySupport:i}}class Pse extends li{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("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;const t=e;return{insertSpace:xe(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:xe(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function Ose(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var In;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(In||(In={}));function Fse(s){switch(s){case"line":return In.Line;case"block":return In.Block;case"underline":return In.Underline;case"line-thin":return In.LineThin;case"block-outline":return In.BlockOutline;case"underline-thin":return In.UnderlineThin}}class Bse extends KS{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class Wse extends bt{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class Hse extends li{constructor(){const 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:p("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:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("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:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:rt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("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:p("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;const t=e;return{cursorMoveOnType:xe(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Ei(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Ei(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:xe(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:xe(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:xe(t.loop,this.defaultValue.loop)}}}const Jc=class Jc extends li{constructor(){super(51,"fontLigatures",Jc.OFF,{anyOf:[{type:"boolean",description:p("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:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("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(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?Jc.OFF:e==="true"?Jc.ON:e:e?Jc.ON:Jc.OFF}};Jc.OFF='"liga" off, "calt" off',Jc.ON='"liga" on, "calt" on';let _h=Jc;const ed=class ed extends li{constructor(){super(54,"fontVariations",ed.OFF,{anyOf:[{type:"boolean",description:p("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:p("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:p("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(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"?ed.OFF:e==="true"?ed.TRANSLATE:e:e?ed.TRANSLATE:ed.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};ed.OFF="normal",ed.TRANSLATE="translate";let d1=ed;class Vse extends KS{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class $se extends pv{constructor(){super(52,"fontSize",Fs.fontSize,{type:"number",minimum:6,maximum:100,default:Fs.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=gr.float(e,this.defaultValue);return t===0?Fs.fontSize:gr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const Ul=class Ul extends li{constructor(){super(53,"fontWeight",Fs.fontWeight,{anyOf:[{type:"number",minimum:Ul.MINIMUM_VALUE,maximum:Ul.MAXIMUM_VALUE,errorMessage:p("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:Ul.SUGGESTION_VALUES}],default:Fs.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(zt.clampedInt(e,Fs.fontWeight,Ul.MINIMUM_VALUE,Ul.MAXIMUM_VALUE))}};Ul.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],Ul.MINIMUM_VALUE=1,Ul.MAXIMUM_VALUE=1e3;let jA=Ul;class zse extends li{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","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:p("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:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":$({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":$({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":$({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":$({description:p("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:i,description:p("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:i,description:p("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:i,description:p("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:i,description:p("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:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,o,r,a,l;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:Ei(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=t.multipleDefinitions)!=null?i:Ei(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=t.multipleTypeDefinitions)!=null?n:Ei(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(o=t.multipleDeclarations)!=null?o:Ei(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(r=t.multipleImplementations)!=null?r:Ei(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(a=t.multipleReferences)!=null?a:Ei(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:(l=t.multipleTests)!=null?l:Ei(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:vs.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:vs.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:vs.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:vs.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:vs.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:vs.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class Use extends li{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("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:p("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:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),delay:zt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:xe(t.sticky,this.defaultValue.sticky),hidingDelay:zt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:xe(t.above,this.defaultValue.above)}}}class R_ extends KS{constructor(){super(146)}compute(e,t,i){return R_.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,u=e.minimap.renderCharacters;let h=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,v=e.remainingWidth,w=e.isViewportWrapping,C=u?2:3;let S=Math.floor(o*n);const y=S/o;let k=!1,E=!1,N=C*h,W=h/o,H=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Ce,extraLinesBeforeFirstLine:Se,extraLinesBeyondLastLine:Oe,desiredRatio:Fe,minimapLineCount:ci}=R_.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(b/ci>1)k=!0,E=!0,h=1,N=1,W=h/o;else{let ki=!1,Zt=h+1;if(f==="fit"){const en=Math.ceil((Se+b+Oe)*N);w&&a&&v<=t.stableFitRemainingWidth?(ki=!0,Zt=t.stableFitMaxMinimapScale):ki=en>S}if(f==="fill"||ki){k=!0;const en=h;N=Math.min(l*o,Math.max(1,Math.floor(1/Fe))),w&&a&&v<=t.stableFitRemainingWidth&&(Zt=t.stableFitMaxMinimapScale),h=Math.min(Zt,Math.max(1,Math.floor(N/C))),h>en&&(H=Math.min(2,h/en)),W=h/o/H,S=Math.ceil(Math.max(Ce,Se+b+Oe)*N),w?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=v,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*W),q=Math.min(z,Math.max(0,Math.floor((v-_-2)*W/(c+W)))+Wl);let V=Math.floor(o*q);const Q=V/o;V=Math.floor(V*H);const de=u?1:2,be=m==="left"?0:i-q-_;return{renderMinimap:de,minimapLeft:be,minimapWidth:q,minimapHeightIsEditorHeight:k,minimapIsSampling:E,minimapScale:h,minimapLineHeight:N,minimapCanvasInnerWidth:V,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:Q,minimapCanvasOuterHeight:y}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,u=e.get(138),h=u==="inherit"?e.get(137):u,g=h==="inherit"?e.get(133):h,f=e.get(136),m=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,v=e.get(69),w=e.get(106),C=e.get(84),S=e.get(73),y=e.get(104),k=y.verticalScrollbarSize,E=y.verticalHasArrows,N=y.arrowSize,W=y.horizontalScrollbarSize,H=e.get(43),z=e.get(111)!=="never";let q=e.get(66);H&&z&&(q+=16);let V=0;if(b){const tn=Math.max(r,v);V=Math.round(tn*l)}let Q=0;_&&(Q=o*t.glyphMarginDecorationLaneCount);let de=0,be=de+Q,Ce=be+V,Se=Ce+q;const Oe=i-Q-V-q;let Fe=!1,ci=!1,At=-1;h==="inherit"&&m?(Fe=!0,ci=!0):g==="on"||g==="bounded"?ci=!0:g==="wordWrapColumn"&&(At=f);const ki=R_._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:w,paddingTop:C.top,paddingBottom:C.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Oe,isViewportWrapping:ci},t.memory||new CG);ki.renderMinimap!==0&&ki.minimapLeft===0&&(de+=ki.minimapWidth,be+=ki.minimapWidth,Ce+=ki.minimapWidth,Se+=ki.minimapWidth);const Zt=Oe-ki.minimapWidth,en=Math.max(1,Math.floor((Zt-k-2)/a)),Dt=E?N:0;return ci&&(At=Math.max(1,en),g==="bounded"&&(At=Math.min(At,f))),{width:i,height:n,glyphMarginLeft:de,glyphMarginWidth:Q,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:be,lineNumbersWidth:V,decorationsLeft:Ce,decorationsWidth:q,contentLeft:Se,contentWidth:Zt,minimap:ki,viewportColumn:en,isWordWrapMinified:Fe,isViewportWrapping:ci,wrappingColumn:At,verticalScrollbarWidth:k,horizontalScrollbarHeight:W,overviewRuler:{top:Dt,width:k,height:n-2*Dt,right:0}}}}class jse extends li{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("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."),p("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:p("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 Ei(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var ua;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(ua||(ua={}));class qse extends li{constructor(){const e={enabled:ua.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[ua.Off,ua.OnCode,ua.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Ei(e.enabled,this.defaultValue.enabled,[ua.Off,ua.OnCode,ua.On])}}}class Kse extends li{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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:p("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:p("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),maxLineCount:zt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Ei(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:xe(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class Gse extends li{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",rt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",rt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("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:p("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:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Ei(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:zt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:vs.string(t.fontFamily,this.defaultValue.fontFamily),padding:xe(t.padding,this.defaultValue.padding)}}}class Zse extends li{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):zt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?zt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class Yse extends gr{constructor(){super(67,"lineHeight",Fs.lineHeight,e=>gr.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height.
1
+ var Yne=Object.defineProperty,Xne=Object.defineProperties;var Qne=Object.getOwnPropertyDescriptors;var Fy=Object.getOwnPropertySymbols,Jne=Object.getPrototypeOf,w6=Object.prototype.hasOwnProperty,C6=Object.prototype.propertyIsEnumerable,ese=Reflect.get;var Kv=(s,e)=>(e=Symbol[s])?e:Symbol.for("Symbol."+s),tse=s=>{throw TypeError(s)},Bc=Math.pow,NN=(s,e,t)=>e in s?Yne(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))w6.call(e,t)&&NN(s,t,e[t]);if(Fy)for(var t of Fy(e))C6.call(e,t)&&NN(s,t,e[t]);return s},ue=(s,e)=>Xne(s,Qne(e));var S6=(s,e)=>{var t={};for(var i in s)w6.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Fy)for(var i of Fy(s))e.indexOf(i)<0&&C6.call(s,i)&&(t[i]=s[i]);return t};var Zi=(s,e,t)=>NN(s,typeof e!="symbol"?e+"":e,t);var y6=(s,e,t)=>ese(Jne(s),t,e);var I=(s,e,t)=>new Promise((i,n)=>{var o=l=>{try{a(t.next(l))}catch(c){n(c)}},r=l=>{try{a(t.throw(l))}catch(c){n(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,r);a((t=t.apply(s,e)).next())}),ise=function(s,e){this[0]=s,this[1]=e};var Gv=s=>{var e=s[Kv("asyncIterator")],t=!1,i,n={};return e==null?(e=s[Kv("iterator")](),i=o=>n[o]=r=>e[o](r)):(e=e.call(s),i=o=>n[o]=r=>{if(t){if(t=!1,o==="throw")throw r;return r}return t=!0,{done:!1,value:new ise(new Promise(a=>{var l=e[o](r);l instanceof Object||tse("Object expected"),a(l)}),1)}}),n[Kv("iterator")]=()=>n,i("next"),"throw"in e?i("throw"):n.throw=o=>{throw o},"return"in e&&i("return"),n},Wc=(s,e,t)=>(e=s[Kv("asyncIterator")])?e.call(s):(s=s[Kv("iterator")](),e={},t=(i,n)=>(n=s[i])&&(e[i]=o=>new Promise((r,a,l)=>(o=n.call(s,o),l=o.done,Promise.resolve(o.value).then(c=>r({value:c,done:l}),a)))),t("next"),t("return"),e);const nse="modulepreload",sse=function(s,e){return new URL(s,e).href},x6={},Ee=function(e,t,i){let n=Promise.resolve();if(t&&t.length>0){let r=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));n=r(t.map(d=>{if(d=sse(d,i),d in x6)return;x6[d]=!0;const u=d.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(!!i)for(let m=a.length-1;m>=0;m--){const _=a[m];if(_.href===d&&(!u||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":nse,u||(f.as="script"),f.crossOrigin="",f.href=d,c&&f.setAttribute("nonce",c),document.head.appendChild(f),u)return new Promise((m,_)=>{f.addEventListener("load",m),f.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(r){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r}return n.then(r=>{for(const a of r||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})};function Rr(s,e=0){return s[s.length-(1+e)]}function ose(s){if(s.length===0)throw new Error("Invalid tail call");return[s.slice(0,s.length-1),s[s.length-1]]}function gi(s,e,t=(i,n)=>i===n){if(s===e)return!0;if(!s||!e||s.length!==e.length)return!1;for(let i=0,n=s.length;i<n;i++)if(!t(s[i],e[i]))return!1;return!0}function rse(s,e){const t=s.length-1;e<t&&(s[e]=s[t]),s.pop()}function r1(s,e,t){return ase(s.length,i=>t(s[i],e))}function ase(s,e){let t=0,i=s-1;for(;t<=i;){const n=(t+i)/2|0,o=e(n);if(o<0)t=n+1;else if(o>0)i=n-1;else return n}return-(t+1)}function VA(s,e,t){if(s=s|0,s>=e.length)throw new TypeError("invalid index");const i=e[Math.floor(e.length*Math.random())],n=[],o=[],r=[];for(const a of e){const l=t(a,i);l<0?n.push(a):l>0?o.push(a):r.push(a)}return s<n.length?VA(s,n,t):s<n.length+r.length?r[0]:VA(s-(n.length+r.length),o,t)}function k6(s,e){const t=[];let i;for(const n of s.slice(0).sort(e))!i||e(i[0],n)!==0?(i=[n],t.push(i)):i.push(n);return t}function*lB(s,e){let t,i;for(const n of s)i!==void 0&&e(i,n)?t.push(n):(t&&(yield t),t=[n]),i=n;t&&(yield t)}function sG(s,e){for(let t=0;t<=s.length;t++)e(t===0?void 0:s[t-1],t===s.length?void 0:s[t])}function lse(s,e){for(let t=0;t<s.length;t++)e(t===0?void 0:s[t-1],s[t],t+1===s.length?void 0:s[t+1])}function Ca(s){return s.filter(e=>!!e)}function L6(s){let e=0;for(let t=0;t<s.length;t++)s[t]&&(s[e]=s[t],e+=1);s.length=e}function oG(s){return!Array.isArray(s)||s.length===0}function Ss(s){return Array.isArray(s)&&s.length>0}function Pd(s,e=t=>t){const t=new Set;return s.filter(i=>{const n=e(i);return t.has(n)?!1:(t.add(n),!0)})}function cB(s,e){return s.length>0?s[0]:e}function Xs(s,e){let t=typeof e=="number"?s:0;typeof e=="number"?t=s:(t=0,e=s);const i=[];if(t<=e)for(let n=t;n<e;n++)i.push(n);else for(let n=t;n>e;n--)i.push(n);return i}function VD(s,e,t){const i=s.slice(0,e),n=s.slice(e);return i.concat(t,n)}function RN(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.unshift(e))}function By(s,e){const t=s.indexOf(e);t>-1&&(s.splice(t,1),s.push(e))}function $A(s,e){for(const t of e)s.push(t)}function dB(s){return Array.isArray(s)?s:[s]}function cse(s,e,t){const i=rG(s,e),n=s.length,o=t.length;s.length=n+o;for(let r=n-1;r>=i;r--)s[r+o]=s[r];for(let r=0;r<o;r++)s[r+i]=t[r]}function E6(s,e,t,i){const n=rG(s,e);let o=s.splice(n,t);return o===void 0&&(o=[]),cse(s,n,i),o}function rG(s,e){return e<0?Math.max(e+s.length,0):Math.min(e,s.length)}var a1;(function(s){function e(o){return o<0}s.isLessThan=e;function t(o){return o<=0}s.isLessThanOrEqual=t;function i(o){return o>0}s.isGreaterThan=i;function n(o){return o===0}s.isNeitherLessOrGreaterThan=n,s.greaterThan=1,s.lessThan=-1,s.neitherLessOrGreaterThan=0})(a1||(a1={}));function Os(s,e){return(t,i)=>e(s(t),s(i))}function dse(...s){return(e,t)=>{for(const i of s){const n=i(e,t);if(!a1.isNeitherLessOrGreaterThan(n))return n}return a1.neitherLessOrGreaterThan}}const va=(s,e)=>s-e,use=(s,e)=>va(s?1:0,e?1:0);function aG(s){return(e,t)=>-s(e,t)}class Od{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++;const i=t===this.firstIdx?null:this.items.slice(this.firstIdx,t);return this.firstIdx=t,i}takeFromEndWhile(e){let t=this.lastIdx;for(;t>=0&&e(this.items[t]);)t--;const i=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,i}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}const m_=class m_{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(t=>(e.push(t),!0)),e}filter(e){return new m_(t=>this.iterate(i=>e(i)?t(i):!0))}map(e){return new m_(t=>this.iterate(i=>t(e(i))))}findLast(e){let t;return this.iterate(i=>(e(i)&&(t=i),!0)),t}findLastMaxBy(e){let t,i=!0;return this.iterate(n=>((i||a1.isGreaterThan(e(n,t)))&&(i=!1,t=n),!0)),t}};m_.empty=new m_(e=>{});let Qg=m_;class $x{constructor(e){this._indexMap=e}static createSortPermutation(e,t){const i=Array.from(e.keys()).sort((n,o)=>t(e[n],e[o]));return new $x(i)}apply(e){return e.map((t,i)=>e[this._indexMap[i]])}inverse(){const e=this._indexMap.slice();for(let t=0;t<this._indexMap.length;t++)e[this._indexMap[t]]=t;return new $x(e)}}function no(s){return typeof s=="string"}function bn(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&!(s instanceof RegExp)&&!(s instanceof Date)}function hse(s){const e=Object.getPrototypeOf(Uint8Array);return typeof s=="object"&&s instanceof e}function mh(s){return typeof s=="number"&&!isNaN(s)}function I6(s){return!!s&&typeof s[Symbol.iterator]=="function"}function lG(s){return s===!0||s===!1}function Cs(s){return typeof s=="undefined"}function gc(s){return!cr(s)}function cr(s){return Cs(s)||s===null}function Ct(s,e){if(!s)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function Nu(s){if(cr(s))throw new Error("Assertion Failed: argument is undefined or null");return s}function l1(s){return typeof s=="function"}function gse(s,e){const t=Math.min(s.length,e.length);for(let i=0;i<t;i++)fse(s[i],e[i])}function fse(s,e){if(no(e)){if(typeof s!==e)throw new Error(`argument does not match constraint: typeof ${e}`)}else if(l1(e)){try{if(s instanceof e)return}catch(t){}if(!cr(s)&&s.constructor===e||e.length===1&&e.call(void 0,s)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function sd(s){if(!s||typeof s!="object"||s instanceof RegExp)return s;const e=Array.isArray(s)?[]:{};return Object.entries(s).forEach(([t,i])=>{e[t]=i&&typeof i=="object"?sd(i):i}),e}function pse(s){if(!s||typeof s!="object")return s;const e=[s];for(;e.length>0;){const t=e.shift();Object.freeze(t);for(const i in t)if(cG.call(t,i)){const n=t[i];typeof n=="object"&&!Object.isFrozen(n)&&!hse(n)&&e.push(n)}}return s}const cG=Object.prototype.hasOwnProperty;function dG(s,e){return zA(s,e,new Set)}function zA(s,e,t){if(cr(s))return s;const i=e(s);if(typeof i!="undefined")return i;if(Array.isArray(s)){const n=[];for(const o of s)n.push(zA(o,e,t));return n}if(bn(s)){if(t.has(s))throw new Error("Cannot clone recursive data-structure");t.add(s);const n={};for(const o in s)cG.call(s,o)&&(n[o]=zA(s[o],e,t));return t.delete(s),n}return s}function $D(s,e,t=!0){return bn(s)?(bn(e)&&Object.keys(e).forEach(i=>{i in s?t&&(bn(s[i])&&bn(e[i])?$D(s[i],e[i],t):s[i]=e[i]):s[i]=e[i]}),s):e}function Oo(s,e){if(s===e)return!0;if(s==null||e===null||e===void 0||typeof s!=typeof e||typeof s!="object"||Array.isArray(s)!==Array.isArray(e))return!1;let t,i;if(Array.isArray(s)){if(s.length!==e.length)return!1;for(t=0;t<s.length;t++)if(!Oo(s[t],e[t]))return!1}else{const n=[];for(i in s)n.push(i);n.sort();const o=[];for(i in e)o.push(i);if(o.sort(),!Oo(n,o))return!1;for(t=0;t<n.length;t++)if(!Oo(s[n[t]],e[n[t]]))return!1}return!0}function mse(s){let e=[];for(;Object.prototype!==s;)e=e.concat(Object.getOwnPropertyNames(s)),s=Object.getPrototypeOf(s);return e}function UA(s){const e=[];for(const t of mse(s))typeof s[t]=="function"&&e.push(t);return e}function _se(s,e){const t=n=>function(){const o=Array.prototype.slice.call(arguments,0);return e(n,o)},i={};for(const n of s)i[n]=t(n);return i}function uG(){return globalThis._VSCODE_NLS_MESSAGES}function uB(){return globalThis._VSCODE_NLS_LANGUAGE}const bse=uB()==="pseudo"||typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function zx(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,(i,n)=>{const o=n[0],r=e[o];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),bse&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function p(s,e,...t){return zx(typeof s=="number"?hG(s,e):e,t)}function hG(s,e){var i;const t=(i=uG())==null?void 0:i[s];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${s} !!!`)}return t}function Be(s,e,...t){let i;typeof s=="number"?i=hG(s,e):i=e;const n=zx(i,t);return{value:n,original:e===i?n:zx(e,t)}}const $m="en";let Ux=!1,jx=!1,X0=!1,gG=!1,hB=!1,gB=!1,fG=!1,Wy,Q0=$m,D6=$m,vse,Oa;const Id=globalThis;let Es;var eG;typeof Id.vscode!="undefined"&&typeof Id.vscode.process!="undefined"?Es=Id.vscode.process:typeof process!="undefined"&&typeof((eG=process==null?void 0:process.versions)==null?void 0:eG.node)=="string"&&(Es=process);var tG;const wse=typeof((tG=Es==null?void 0:Es.versions)==null?void 0:tG.electron)=="string",Cse=wse&&(Es==null?void 0:Es.type)==="renderer";var iG;if(typeof Es=="object"){Ux=Es.platform==="win32",jx=Es.platform==="darwin",X0=Es.platform==="linux",X0&&Es.env.SNAP&&Es.env.SNAP_REVISION,Es.env.CI||Es.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Wy=$m,Q0=$m;const s=Es.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s);Wy=e.userLocale,D6=e.osLocale,Q0=e.resolvedLanguage||$m,vse=(iG=e.languagePack)==null?void 0:iG.translationsConfigFile}catch(e){}gG=!0}else typeof navigator=="object"&&!Cse?(Oa=navigator.userAgent,Ux=Oa.indexOf("Windows")>=0,jx=Oa.indexOf("Macintosh")>=0,gB=(Oa.indexOf("Macintosh")>=0||Oa.indexOf("iPad")>=0||Oa.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,X0=Oa.indexOf("Linux")>=0,fG=(Oa==null?void 0:Oa.indexOf("Mobi"))>=0,hB=!0,Q0=uB()||$m,Wy=navigator.language.toLowerCase(),D6=Wy):console.error("Unable to resolve platform.");const Qn=Ux,rt=jx,Ws=X0,_c=gG,Wp=hB,Sse=hB&&typeof Id.importScripts=="function",yse=Sse?Id.origin:void 0,ml=gB,pG=fG,bc=Oa,xse=Q0,kse=typeof Id.postMessage=="function"&&!Id.importScripts,mG=(()=>{if(kse){const s=[];Id.addEventListener("message",t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let i=0,n=s.length;i<n;i++){const o=s[i];if(o.id===t.data.vscodeScheduleAsyncWork){s.splice(i,1),o.callback();return}}});let e=0;return t=>{const i=++e;s.push({id:i,callback:t}),Id.postMessage({vscodeScheduleAsyncWork:i},"*")}}return s=>setTimeout(s)})(),Po=jx||gB?2:Ux?1:3;let T6=!0,N6=!1;function _G(){if(!N6){N6=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,T6=new Uint16Array(s.buffer)[0]===513}return T6}const bG=!!(bc&&bc.indexOf("Chrome")>=0),Lse=!!(bc&&bc.indexOf("Firefox")>=0),Ese=!!(!bG&&bc&&bc.indexOf("Safari")>=0),Ise=!!(bc&&bc.indexOf("Edg/")>=0),Dse=!!(bc&&bc.indexOf("Android")>=0),ns={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}};var ut;(function(s){function e(C){return C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}s.is=e;const t=Object.freeze([]);function i(){return t}s.empty=i;function*n(C){yield C}s.single=n;function o(C){return e(C)?C:n(C)}s.wrap=o;function r(C){return C||t}s.from=r;function*a(C){for(let S=C.length-1;S>=0;S--)yield C[S]}s.reverse=a;function l(C){return!C||C[Symbol.iterator]().next().done===!0}s.isEmpty=l;function c(C){return C[Symbol.iterator]().next().value}s.first=c;function d(C,S){let y=0;for(const k of C)if(S(k,y++))return!0;return!1}s.some=d;function u(C,S){for(const y of C)if(S(y))return y}s.find=u;function*h(C,S){for(const y of C)S(y)&&(yield y)}s.filter=h;function*g(C,S){let y=0;for(const k of C)yield S(k,y++)}s.map=g;function*f(C,S){let y=0;for(const k of C)yield*Gv(S(k,y++))}s.flatMap=f;function*m(...C){for(const S of C)yield*Gv(S)}s.concat=m;function _(C,S,y){let k=y;for(const E of C)k=S(k,E);return k}s.reduce=_;function*b(C,S,y=C.length){for(S<0&&(S+=C.length),y<0?y+=C.length:y>C.length&&(y=C.length);S<y;S++)yield C[S]}s.slice=b;function v(C,S=Number.POSITIVE_INFINITY){const y=[];if(S===0)return[y,C];const k=C[Symbol.iterator]();for(let E=0;E<S;E++){const N=k.next();if(N.done)return[y,s.empty()];y.push(N.value)}return[y,{[Symbol.iterator](){return k}}]}s.consume=v;function w(C){return I(this,null,function*(){const S=[];try{for(var y=Wc(C),k,E,N;k=!(E=yield y.next()).done;k=!1){const W=E.value;S.push(W)}}catch(E){N=[E]}finally{try{k&&(E=y.return)&&(yield E.call(y))}finally{if(N)throw N[0]}}return Promise.resolve(S)})}s.asyncToArray=w})(ut||(ut={}));var Sd;let rn=(Sd=class{constructor(e){this.element=e,this.next=Sd.Undefined,this.prev=Sd.Undefined}},Sd.Undefined=new Sd(void 0),Sd);class Rs{constructor(){this._first=rn.Undefined,this._last=rn.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===rn.Undefined}clear(){let e=this._first;for(;e!==rn.Undefined;){const t=e.next;e.prev=rn.Undefined,e.next=rn.Undefined,e=t}this._first=rn.Undefined,this._last=rn.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new rn(e);if(this._first===rn.Undefined)this._first=i,this._last=i;else if(t){const o=this._last;this._last=i,i.prev=o,o.next=i}else{const o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;let n=!1;return()=>{n||(n=!0,this._remove(i))}}shift(){if(this._first!==rn.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==rn.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==rn.Undefined&&e.next!==rn.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rn.Undefined&&e.next===rn.Undefined?(this._first=rn.Undefined,this._last=rn.Undefined):e.next===rn.Undefined?(this._last=this._last.prev,this._last.next=rn.Undefined):e.prev===rn.Undefined&&(this._first=this._first.next,this._first.prev=rn.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==rn.Undefined;)yield e.element,e=e.next}}const qx="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Tse(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of qx)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const fB=Tse();function pB(s){let e=fB;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const vG=new Rs;vG.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function c1(s,e,t,i,n){if(e=pB(e),n||(n=ut.first(vG)),t.length>n.maxLen){let c=s-n.maxLen/2;return c<0?c=0:i+=c,t=t.substring(c,s+n.maxLen/2),c1(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let c=1;!(Date.now()-o>=n.timeBudget);c++){const d=r-n.windowSize*c;e.lastIndex=Math.max(0,d);const u=Nse(e,t,r,a);if(!u&&l||(l=u,d<=0))break;a=d}if(l){const c={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,c}return null}function Nse(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Wl=8;class wG{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class CG{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class li{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return zD(e,t)}compute(e,t,i){return i}}class Yw{constructor(e,t){this.newValue=e,this.didChange=t}}function zD(s,e){if(typeof s!="object"||typeof e!="object"||!s||!e)return new Yw(e,s!==e);if(Array.isArray(s)||Array.isArray(e)){const i=Array.isArray(s)&&Array.isArray(e)&&gi(s,e);return new Yw(e,!i)}let t=!1;for(const i in e)if(e.hasOwnProperty(i)){const n=zD(s[i],e[i]);n.didChange&&(s[i]=n.newValue,t=!0)}return new Yw(s,t)}class KS{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return zD(e,t)}validate(e){return this.defaultValue}}class pv{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return zD(e,t)}validate(e){return typeof e=="undefined"?this.defaultValue:e}compute(e,t,i){return i}}function xe(s,e){return typeof s=="undefined"?e:s==="false"?!1:!!s}class bt extends pv{constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return xe(e,this.defaultValue)}}function gg(s,e,t,i){if(typeof s=="undefined")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class zt extends pv{static clampedInt(e,t,i,n){return gg(e,t,i,n)}constructor(e,t,i,n,o,r=void 0){typeof r!="undefined"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}validate(e){return zt.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}function Rse(s,e,t,i){if(typeof s=="undefined")return e;const n=gr.float(s,e);return gr.clamp(n,t,i)}class gr extends pv{static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e=="undefined")return t;const i=parseFloat(e);return isNaN(i)?t:i}constructor(e,t,i,n,o){typeof o!="undefined"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}validate(e){return this.validationFn(gr.float(e,this.defaultValue))}}class vs extends pv{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n!="undefined"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return vs.string(e,this.defaultValue)}}function Ei(s,e,t,i){return typeof s!="string"?e:i&&s in i?i[s]:t.indexOf(s)===-1?e:s}class Li extends pv{constructor(e,t,i,n,o=void 0){typeof o!="undefined"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return Ei(e,this.defaultValue,this._allowedValues)}}class Hy extends li{constructor(e,t,i,n,o,r,a=void 0){typeof a!="undefined"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function Ase(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class Mse extends li{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","Optimize for usage with a Screen Reader."),p("accessibilitySupport.off","Assume a screen reader is not attached.")],default:"auto",tags:["accessibility"],description:p("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,i){return i===0?e.accessibilitySupport:i}}class Pse extends li{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(23,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("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;const t=e;return{insertSpace:xe(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:xe(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function Ose(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var In;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(In||(In={}));function Fse(s){switch(s){case"line":return In.Line;case"block":return In.Block;case"underline":return In.Underline;case"line-thin":return In.LineThin;case"block-outline":return In.BlockOutline;case"underline-thin":return In.UnderlineThin}}class Bse extends KS{constructor(){super(143)}compute(e,t,i){const n=["monaco-editor"];return t.get(39)&&n.push(t.get(39)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(74)==="default"?n.push("mouse-default"):t.get(74)==="copy"&&n.push("mouse-copy"),t.get(112)&&n.push("showUnused"),t.get(141)&&n.push("showDeprecated"),n.join(" ")}}class Wse extends bt{constructor(){super(37,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class Hse extends li{constructor(){const 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:p("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:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("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:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:rt},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("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:p("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;const t=e;return{cursorMoveOnType:xe(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":Ei(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":Ei(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:xe(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:xe(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:xe(t.loop,this.defaultValue.loop)}}}const Jc=class Jc extends li{constructor(){super(51,"fontLigatures",Jc.OFF,{anyOf:[{type:"boolean",description:p("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:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("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(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"||e.length===0?Jc.OFF:e==="true"?Jc.ON:e:e?Jc.ON:Jc.OFF}};Jc.OFF='"liga" off, "calt" off',Jc.ON='"liga" on, "calt" on';let _h=Jc;const ed=class ed extends li{constructor(){super(54,"fontVariations",ed.OFF,{anyOf:[{type:"boolean",description:p("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:p("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:p("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(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e==="false"?ed.OFF:e==="true"?ed.TRANSLATE:e:e?ed.TRANSLATE:ed.OFF}compute(e,t,i){return e.fontInfo.fontVariationSettings}};ed.OFF="normal",ed.TRANSLATE="translate";let d1=ed;class Vse extends KS{constructor(){super(50)}compute(e,t,i){return e.fontInfo}}class $se extends pv{constructor(){super(52,"fontSize",Fs.fontSize,{type:"number",minimum:6,maximum:100,default:Fs.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){const t=gr.float(e,this.defaultValue);return t===0?Fs.fontSize:gr.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}const Ul=class Ul extends li{constructor(){super(53,"fontWeight",Fs.fontWeight,{anyOf:[{type:"number",minimum:Ul.MINIMUM_VALUE,maximum:Ul.MAXIMUM_VALUE,errorMessage:p("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:Ul.SUGGESTION_VALUES}],default:Fs.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(zt.clampedInt(e,Fs.fontWeight,Ul.MINIMUM_VALUE,Ul.MAXIMUM_VALUE))}};Ul.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],Ul.MINIMUM_VALUE=1,Ul.MAXIMUM_VALUE=1e3;let jA=Ul;class zse extends li{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",multipleTests:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:"",alternativeTestsCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},i=["","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:p("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:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":$({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":$({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":$({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":$({description:p("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:i,description:p("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:i,description:p("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:i,description:p("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:i,description:p("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:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,o,r,a,l;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{multiple:Ei(t.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=t.multipleDefinitions)!=null?i:Ei(t.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=t.multipleTypeDefinitions)!=null?n:Ei(t.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(o=t.multipleDeclarations)!=null?o:Ei(t.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(r=t.multipleImplementations)!=null?r:Ei(t.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(a=t.multipleReferences)!=null?a:Ei(t.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),multipleTests:(l=t.multipleTests)!=null?l:Ei(t.multipleTests,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:vs.string(t.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:vs.string(t.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:vs.string(t.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:vs.string(t.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:vs.string(t.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand),alternativeTestsCommand:vs.string(t.alternativeTestsCommand,this.defaultValue.alternativeTestsCommand)}}}class Use extends li{constructor(){const e={enabled:!0,delay:300,hidingDelay:300,sticky:!0,above:!0};super(60,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("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:p("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:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),delay:zt.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:xe(t.sticky,this.defaultValue.sticky),hidingDelay:zt.clampedInt(t.hidingDelay,this.defaultValue.hidingDelay,0,6e5),above:xe(t.above,this.defaultValue.above)}}}class R_ extends KS{constructor(){super(146)}compute(e,t,i){return R_.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio,glyphMarginDecorationLaneCount:e.glyphMarginDecorationLaneCount})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=Math.floor(e.paddingTop/e.lineHeight);let n=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(n=Math.max(n,t-1));const o=(i+e.viewLineCount+n)/(e.pixelRatio*e.height),r=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:t,extraLinesBeforeFirstLine:i,extraLinesBeyondLastLine:n,desiredRatio:o,minimapLineCount:r}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.paddingTop===r.paddingTop&&e.paddingBottom===r.paddingBottom&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,c=e.typicalHalfwidthCharacterWidth,d=e.scrollBeyondLastLine,u=e.minimap.renderCharacters;let h=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const g=e.minimap.maxColumn,f=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,b=e.viewLineCount,v=e.remainingWidth,w=e.isViewportWrapping,C=u?2:3;let S=Math.floor(o*n);const y=S/o;let k=!1,E=!1,N=C*h,W=h/o,H=1;if(f==="fill"||f==="fit"){const{typicalViewportLineCount:Ce,extraLinesBeforeFirstLine:Se,extraLinesBeyondLastLine:Oe,desiredRatio:Fe,minimapLineCount:ci}=R_.computeContainedMinimapLineCount({viewLineCount:b,scrollBeyondLastLine:d,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:n,lineHeight:l,pixelRatio:o});if(b/ci>1)k=!0,E=!0,h=1,N=1,W=h/o;else{let ki=!1,Zt=h+1;if(f==="fit"){const en=Math.ceil((Se+b+Oe)*N);w&&a&&v<=t.stableFitRemainingWidth?(ki=!0,Zt=t.stableFitMaxMinimapScale):ki=en>S}if(f==="fill"||ki){k=!0;const en=h;N=Math.min(l*o,Math.max(1,Math.floor(1/Fe))),w&&a&&v<=t.stableFitRemainingWidth&&(Zt=t.stableFitMaxMinimapScale),h=Math.min(Zt,Math.max(1,Math.floor(N/C))),h>en&&(H=Math.min(2,h/en)),W=h/o/H,S=Math.ceil(Math.max(Ce,Se+b+Oe)*N),w?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=v,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const z=Math.floor(g*W),q=Math.min(z,Math.max(0,Math.floor((v-_-2)*W/(c+W)))+Wl);let V=Math.floor(o*q);const Q=V/o;V=Math.floor(V*H);const de=u?1:2,be=m==="left"?0:i-q-_;return{renderMinimap:de,minimapLeft:be,minimapWidth:q,minimapHeightIsEditorHeight:k,minimapIsSampling:E,minimapScale:h,minimapLineHeight:N,minimapCanvasInnerWidth:V,minimapCanvasInnerHeight:S,minimapCanvasOuterWidth:Q,minimapCanvasOuterHeight:y}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,u=e.get(138),h=u==="inherit"?e.get(137):u,g=h==="inherit"?e.get(133):h,f=e.get(136),m=t.isDominatedByLongLines,_=e.get(57),b=e.get(68).renderType!==0,v=e.get(69),w=e.get(106),C=e.get(84),S=e.get(73),y=e.get(104),k=y.verticalScrollbarSize,E=y.verticalHasArrows,N=y.arrowSize,W=y.horizontalScrollbarSize,H=e.get(43),z=e.get(111)!=="never";let q=e.get(66);H&&z&&(q+=16);let V=0;if(b){const tn=Math.max(r,v);V=Math.round(tn*l)}let Q=0;_&&(Q=o*t.glyphMarginDecorationLaneCount);let de=0,be=de+Q,Ce=be+V,Se=Ce+q;const Oe=i-Q-V-q;let Fe=!1,ci=!1,At=-1;h==="inherit"&&m?(Fe=!0,ci=!0):g==="on"||g==="bounded"?ci=!0:g==="wordWrapColumn"&&(At=f);const ki=R_._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:c,scrollBeyondLastLine:w,paddingTop:C.top,paddingBottom:C.bottom,minimap:S,verticalScrollbarWidth:k,viewLineCount:d,remainingWidth:Oe,isViewportWrapping:ci},t.memory||new CG);ki.renderMinimap!==0&&ki.minimapLeft===0&&(de+=ki.minimapWidth,be+=ki.minimapWidth,Ce+=ki.minimapWidth,Se+=ki.minimapWidth);const Zt=Oe-ki.minimapWidth,en=Math.max(1,Math.floor((Zt-k-2)/a)),Dt=E?N:0;return ci&&(At=Math.max(1,en),g==="bounded"&&(At=Math.min(At,f))),{width:i,height:n,glyphMarginLeft:de,glyphMarginWidth:Q,glyphMarginDecorationLaneCount:t.glyphMarginDecorationLaneCount,lineNumbersLeft:be,lineNumbersWidth:V,decorationsLeft:Ce,decorationsWidth:q,contentLeft:Se,contentWidth:Zt,minimap:ki,viewportColumn:en,isWordWrapMinified:Fe,isViewportWrapping:ci,wrappingColumn:At,verticalScrollbarWidth:k,horizontalScrollbarHeight:W,overviewRuler:{top:Dt,width:k,height:n-2*Dt,right:0}}}}class jse extends li{constructor(){super(140,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[p("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."),p("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:p("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 Ei(e,"simple",["simple","advanced"])}compute(e,t,i){return t.get(2)===2?"advanced":i}}var ua;(function(s){s.Off="off",s.OnCode="onCode",s.On="on"})(ua||(ua={}));class qse extends li{constructor(){const e={enabled:ua.OnCode};super(65,"lightbulb",e,{"editor.lightbulb.enabled":{type:"string",tags:["experimental"],enum:[ua.Off,ua.OnCode,ua.On],default:e.enabled,enumDescriptions:[p("editor.lightbulb.enabled.off","Disable the code action menu."),p("editor.lightbulb.enabled.onCode","Show the code action menu when the cursor is on lines with code."),p("editor.lightbulb.enabled.on","Show the code action menu when the cursor is on lines with code or on empty lines.")],description:p("enabled","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Ei(e.enabled,this.defaultValue.enabled,[ua.Off,ua.OnCode,ua.On])}}}class Kse extends li{constructor(){const e={enabled:!0,maxLineCount:5,defaultModel:"outlineModel",scrollWithEditor:!0};super(116,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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:p("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:p("editor.stickyScroll.scrollWithEditor","Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),maxLineCount:zt.clampedInt(t.maxLineCount,this.defaultValue.maxLineCount,1,20),defaultModel:Ei(t.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"]),scrollWithEditor:xe(t.scrollWithEditor,this.defaultValue.scrollWithEditor)}}}class Gse extends li{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(142,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[p("editor.inlayHints.on","Inlay hints are enabled"),p("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",rt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",rt?"Ctrl+Option":"Ctrl+Alt"),p("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("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:p("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:p("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return typeof t.enabled=="boolean"&&(t.enabled=t.enabled?"on":"off"),{enabled:Ei(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:zt.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:vs.string(t.fontFamily,this.defaultValue.fontFamily),padding:xe(t.padding,this.defaultValue.padding)}}}class Zse extends li{constructor(){super(66,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):zt.clampedInt(e,this.defaultValue,0,1e3)}compute(e,t,i){return i<0?zt.clampedInt(-i*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):i}}class Yse extends gr{constructor(){super(67,"lineHeight",Fs.lineHeight,e=>gr.clamp(e,0,150),{markdownDescription:p("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,i){return e.fontInfo.lineHeight}}class Xse extends li{constructor(){const 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:p("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:p("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[p("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),p("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),p("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:p("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:p("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:p("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:p("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:p("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:p("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:p("minimap.showRegionSectionHeaders","Controls whether named regions are shown as section headers in the minimap.")},"editor.minimap.showMarkSectionHeaders":{type:"boolean",default:e.showMarkSectionHeaders,description:p("minimap.showMarkSectionHeaders","Controls whether MARK: comments are shown as section headers in the minimap.")},"editor.minimap.sectionHeaderFontSize":{type:"number",default:e.sectionHeaderFontSize,description:p("minimap.sectionHeaderFontSize","Controls the font size of section headers in the minimap.")},"editor.minimap.sectionHeaderLetterSpacing":{type:"number",default:e.sectionHeaderLetterSpacing,description:p("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){var i,n;if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),autohide:xe(t.autohide,this.defaultValue.autohide),size:Ei(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:Ei(t.side,this.defaultValue.side,["right","left"]),showSlider:Ei(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:xe(t.renderCharacters,this.defaultValue.renderCharacters),scale:zt.clampedInt(t.scale,1,1,3),maxColumn:zt.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4),showRegionSectionHeaders:xe(t.showRegionSectionHeaders,this.defaultValue.showRegionSectionHeaders),showMarkSectionHeaders:xe(t.showMarkSectionHeaders,this.defaultValue.showMarkSectionHeaders),sectionHeaderFontSize:gr.clamp((i=t.sectionHeaderFontSize)!=null?i:this.defaultValue.sectionHeaderFontSize,4,32),sectionHeaderLetterSpacing:gr.clamp((n=t.sectionHeaderLetterSpacing)!=null?n:this.defaultValue.sectionHeaderLetterSpacing,0,5)}}}function Qse(s){return s==="ctrlCmd"?rt?"metaKey":"ctrlKey":"altKey"}class Jse extends li{constructor(){super(84,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:p("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:p("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;const t=e;return{top:zt.clampedInt(t.top,0,0,1e3),bottom:zt.clampedInt(t.bottom,0,0,1e3)}}}class eoe extends li{constructor(){const e={enabled:!0,cycle:!0};super(86,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:p("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:p("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;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),cycle:xe(t.cycle,this.defaultValue.cycle)}}}class toe extends KS{constructor(){super(144)}compute(e,t,i){return e.pixelRatio}}class ioe extends li{constructor(){super(88,"placeholder",void 0)}validate(e){return typeof e=="undefined"?this.defaultValue:typeof e=="string"?e:this.defaultValue}}class noe extends li{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[p("on","Quick suggestions show inside the suggest widget"),p("inline","Quick suggestions show as ghost text"),p("off","Quick suggestions are disabled")]}];super(90,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:p("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:p("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:p("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:p("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"){const c=e?"on":"off";return{comments:c,strings:c,other:c}}if(!e||typeof e!="object")return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=["on","inline","off"];let r,a,l;return typeof t=="boolean"?r=t?"on":"off":r=Ei(t,this.defaultValue.other,o),typeof i=="boolean"?a=i?"on":"off":a=Ei(i,this.defaultValue.comments,o),typeof n=="boolean"?l=n?"on":"off":l=Ei(n,this.defaultValue.strings,o),{other:r,comments:a,strings:l}}}class soe extends li{constructor(){super(68,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[p("lineNumbers.off","Line numbers are not rendered."),p("lineNumbers.on","Line numbers are rendered as absolute number."),p("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),p("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:p("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e!="undefined"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function Kx(s){const e=s.get(99);return e==="editable"?s.get(92):e!=="on"}class ooe extends li{constructor(){const e=[],t={type:"number",description:p("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(103,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:p("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:p("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)){const t=[];for(const i of e)if(typeof i=="number")t.push({column:zt.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:zt.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}class roe extends li{constructor(){super(93,"readOnlyMessage",void 0)}validate(e){return!e||typeof e!="object"?this.defaultValue:e}}function R6(s,e){if(typeof s!="string")return e;switch(s){case"hidden":return 2;case"visible":return 3;default:return 1}}let aoe=class extends li{constructor(){const 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(104,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),p("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),p("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),p("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),p("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:p("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:p("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:p("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")},"editor.scrollbar.ignoreHorizontalScrollbarInContentHeight":{type:"boolean",default:e.ignoreHorizontalScrollbarInContentHeight,description:p("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;const t=e,i=zt.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=zt.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:zt.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:R6(t.vertical,this.defaultValue.vertical),horizontal:R6(t.horizontal,this.defaultValue.horizontal),useShadows:xe(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:xe(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:xe(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:xe(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:xe(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:zt.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:zt.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:xe(t.scrollByPage,this.defaultValue.scrollByPage),ignoreHorizontalScrollbarInContentHeight:xe(t.ignoreHorizontalScrollbarInContentHeight,this.defaultValue.ignoreHorizontalScrollbarInContentHeight)}}};const ir="inUntrustedWorkspace",Qs={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class loe extends li{constructor(){const e={nonBasicASCII:ir,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:ir,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(126,"unicodeHighlight",e,{[Qs.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,ir],default:e.nonBasicASCII,description:p("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.")},[Qs.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:p("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Qs.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:p("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.")},[Qs.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,ir],default:e.includeComments,description:p("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[Qs.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,ir],default:e.includeStrings,description:p("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[Qs.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:p("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[Qs.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:p("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(Oo(e.allowedCharacters,t.allowedCharacters)||(e=ue($({},e),{allowedCharacters:t.allowedCharacters}),i=!0)),t.allowedLocales&&e&&(Oo(e.allowedLocales,t.allowedLocales)||(e=ue($({},e),{allowedLocales:t.allowedLocales}),i=!0));const n=super.applyUpdate(e,t);return i?new Yw(n.newValue,!0):n}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:A_(t.nonBasicASCII,ir,[!0,!1,ir]),invisibleCharacters:xe(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:xe(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:A_(t.includeComments,ir,[!0,!1,ir]),includeStrings:A_(t.includeStrings,ir,[!0,!1,ir]),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;const i={};for(const[n,o]of Object.entries(e))o===!0&&(i[n]=!0);return i}}class coe extends li{constructor(){const 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:p("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:[p("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),p("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion."),p("inlineSuggest.showToolbar.never","Never show the inline suggestion toolbar.")],description:p("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:p("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:p("inlineSuggest.fontFamily","Controls the font family of the inline suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),mode:Ei(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:Ei(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),suppressSuggestions:xe(t.suppressSuggestions,this.defaultValue.suppressSuggestions),keepOnBlur:xe(t.keepOnBlur,this.defaultValue.keepOnBlur),fontFamily:vs.string(t.fontFamily,this.defaultValue.fontFamily)}}}class doe extends li{constructor(){const e={enabled:!1,showToolbar:"onHover",fontFamily:"default",keepOnBlur:!1};super(63,"experimentalInlineEdit",e,{"editor.experimentalInlineEdit.enabled":{type:"boolean",default:e.enabled,description:p("inlineEdit.enabled","Controls whether to show inline edits in the editor.")},"editor.experimentalInlineEdit.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover","never"],enumDescriptions:[p("inlineEdit.showToolbar.always","Show the inline edit toolbar whenever an inline suggestion is shown."),p("inlineEdit.showToolbar.onHover","Show the inline edit toolbar when hovering over an inline suggestion."),p("inlineEdit.showToolbar.never","Never show the inline edit toolbar.")],description:p("inlineEdit.showToolbar","Controls when to show the inline edit toolbar.")},"editor.experimentalInlineEdit.fontFamily":{type:"string",default:e.fontFamily,description:p("inlineEdit.fontFamily","Controls the font family of the inline edit.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showToolbar:Ei(t.showToolbar,this.defaultValue.showToolbar,["always","onHover","never"]),fontFamily:vs.string(t.fontFamily,this.defaultValue.fontFamily),keepOnBlur:xe(t.keepOnBlur,this.defaultValue.keepOnBlur)}}}class uoe extends li{constructor(){const e={enabled:ns.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:ns.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(15,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("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:p("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:xe(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class hoe extends li{constructor(){const 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:[p("editor.guides.bracketPairs.true","Enables bracket pair guides."),p("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),p("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:p("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),p("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),p("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:p("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:p("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:p("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[p("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),p("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),p("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:p("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:A_(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:A_(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:xe(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:xe(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:A_(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function A_(s,e,t){const i=t.indexOf(s);return i===-1?e:t[i]}class goe extends li{constructor(){const 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(119,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[p("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),p("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:p("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:p("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:p("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:p("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:[p("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),p("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),p("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:p("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.","`#editor.quickSuggestions#`","`#editor.suggestOnTriggerCharacters#`")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:p("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:p("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:p("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:p("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:p("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:p("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:p("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:p("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:p("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:p("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:Ei(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:xe(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:xe(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:xe(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:xe(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:Ei(t.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:xe(t.showIcons,this.defaultValue.showIcons),showStatusBar:xe(t.showStatusBar,this.defaultValue.showStatusBar),preview:xe(t.preview,this.defaultValue.preview),previewMode:Ei(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:xe(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:xe(t.showMethods,this.defaultValue.showMethods),showFunctions:xe(t.showFunctions,this.defaultValue.showFunctions),showConstructors:xe(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:xe(t.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:xe(t.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:xe(t.showFields,this.defaultValue.showFields),showVariables:xe(t.showVariables,this.defaultValue.showVariables),showClasses:xe(t.showClasses,this.defaultValue.showClasses),showStructs:xe(t.showStructs,this.defaultValue.showStructs),showInterfaces:xe(t.showInterfaces,this.defaultValue.showInterfaces),showModules:xe(t.showModules,this.defaultValue.showModules),showProperties:xe(t.showProperties,this.defaultValue.showProperties),showEvents:xe(t.showEvents,this.defaultValue.showEvents),showOperators:xe(t.showOperators,this.defaultValue.showOperators),showUnits:xe(t.showUnits,this.defaultValue.showUnits),showValues:xe(t.showValues,this.defaultValue.showValues),showConstants:xe(t.showConstants,this.defaultValue.showConstants),showEnums:xe(t.showEnums,this.defaultValue.showEnums),showEnumMembers:xe(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:xe(t.showKeywords,this.defaultValue.showKeywords),showWords:xe(t.showWords,this.defaultValue.showWords),showColors:xe(t.showColors,this.defaultValue.showColors),showFiles:xe(t.showFiles,this.defaultValue.showFiles),showReferences:xe(t.showReferences,this.defaultValue.showReferences),showFolders:xe(t.showFolders,this.defaultValue.showFolders),showTypeParameters:xe(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:xe(t.showSnippets,this.defaultValue.showSnippets),showUsers:xe(t.showUsers,this.defaultValue.showUsers),showIssues:xe(t.showIssues,this.defaultValue.showIssues)}}}class foe extends li{constructor(){super(114,"smartSelect",{selectLeadingAndTrailingWhitespace:!0,selectSubwords:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:p("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"},"editor.smartSelect.selectSubwords":{description:p("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:xe(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace),selectSubwords:xe(e.selectSubwords,this.defaultValue.selectSubwords)}}}class poe extends li{constructor(){const e=[];super(131,"wordSegmenterLocales",e,{anyOf:[{description:p("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:p("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)){const t=[];for(const i of e)if(typeof i=="string")try{Intl.Segmenter.supportedLocalesOf(i).length>0&&t.push(i)}catch(n){}return t}return this.defaultValue}}class moe extends li{constructor(){super(139,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[p("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),p("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),p("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),p("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:p("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,i){return t.get(2)===2?0:i}}class _oe extends KS{constructor(){super(147)}compute(e,t,i){const n=t.get(146);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}class boe extends li{constructor(){const e={enabled:!0,showDropSelector:"afterDrop"};super(36,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("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:p("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:[p("dropIntoEditor.showDropSelector.afterDrop","Show the drop selector widget after a file is dropped into the editor."),p("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;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showDropSelector:Ei(t.showDropSelector,this.defaultValue.showDropSelector,["afterDrop","never"])}}}class voe extends li{constructor(){const e={enabled:!0,showPasteSelector:"afterPaste"};super(85,"pasteAs",e,{"editor.pasteAs.enabled":{type:"boolean",default:e.enabled,markdownDescription:p("pasteAs.enabled","Controls whether you can paste content in different ways.")},"editor.pasteAs.showPasteSelector":{type:"string",markdownDescription:p("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:[p("pasteAs.showPasteSelector.afterPaste","Show the paste selector widget after content is pasted into the editor."),p("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;const t=e;return{enabled:xe(t.enabled,this.defaultValue.enabled),showPasteSelector:Ei(t.showPasteSelector,this.defaultValue.showPasteSelector,["afterPaste","never"])}}}const woe="Consolas, 'Courier New', monospace",Coe="Menlo, Monaco, 'Courier New', monospace",Soe="'Droid Sans Mono', 'monospace', monospace",Fs={fontFamily:rt?Coe:Ws?Soe:woe,fontWeight:"normal",fontSize:rt?12:14,lineHeight:0,letterSpacing:0},zm=[];function le(s){return zm[s.id]=s,s}const xl={acceptSuggestionOnCommitCharacter:le(new bt(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:p("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:le(new Li(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",p("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:p("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:le(new Mse),accessibilityPageSize:le(new zt(3,"accessibilityPageSize",10,1,1073741824,{description:p("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:le(new vs(4,"ariaLabel",p("editorViewAccessibleLabel","Editor content"))),ariaRequired:le(new bt(5,"ariaRequired",!1,void 0)),screenReaderAnnounceInlineSuggestion:le(new bt(8,"screenReaderAnnounceInlineSuggestion",!0,{description:p("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader."),tags:["accessibility"]})),autoClosingBrackets:le(new Li(6,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),p("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:p("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingComments:le(new Li(7,"autoClosingComments","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingComments.languageDefined","Use language configurations to determine when to autoclose comments."),p("editor.autoClosingComments.beforeWhitespace","Autoclose comments only when the cursor is to the left of whitespace."),""],description:p("autoClosingComments","Controls whether the editor should automatically close comments after the user adds an opening comment.")})),autoClosingDelete:le(new Li(9,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:le(new Li(10,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:le(new Li(11,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),p("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:p("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:le(new Hy(12,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],Ase,{enumDescriptions:[p("editor.autoIndent.none","The editor will not insert indentation automatically."),p("editor.autoIndent.keep","The editor will keep the current line's indentation."),p("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),p("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),p("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:p("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:le(new bt(13,"automaticLayout",!1)),autoSurround:le(new Li(14,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[p("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),p("editor.autoSurround.quotes","Surround with quotes but not brackets."),p("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:p("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:le(new uoe),bracketPairGuides:le(new hoe),stickyTabStops:le(new bt(117,"stickyTabStops",!1,{description:p("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:le(new bt(17,"codeLens",!0,{description:p("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:le(new vs(18,"codeLensFontFamily","",{description:p("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:le(new zt(19,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:p("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:le(new bt(20,"colorDecorators",!0,{description:p("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorActivatedOn:le(new Li(149,"colorDecoratorsActivatedOn","clickAndHover",["clickAndHover","hover","click"],{enumDescriptions:[p("editor.colorDecoratorActivatedOn.clickAndHover","Make the color picker appear both on click and hover of the color decorator"),p("editor.colorDecoratorActivatedOn.hover","Make the color picker appear on hover of the color decorator"),p("editor.colorDecoratorActivatedOn.click","Make the color picker appear on click of the color decorator")],description:p("colorDecoratorActivatedOn","Controls the condition to make a color picker appear from a color decorator")})),colorDecoratorsLimit:le(new zt(21,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:p("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:le(new bt(22,"columnSelection",!1,{description:p("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:le(new Pse),contextmenu:le(new bt(24,"contextmenu",!0)),copyWithSyntaxHighlighting:le(new bt(25,"copyWithSyntaxHighlighting",!0,{description:p("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:le(new Hy(26,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],Ose,{description:p("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:le(new Li(27,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[p("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),p("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),p("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:p("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:le(new Hy(28,"cursorStyle",In.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],Fse,{description:p("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:le(new zt(29,"cursorSurroundingLines",0,0,1073741824,{description:p("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:le(new Li(30,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[p("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),p("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],markdownDescription:p("cursorSurroundingLinesStyle","Controls when `#editor.cursorSurroundingLines#` should be enforced.")})),cursorWidth:le(new zt(31,"cursorWidth",0,0,1073741824,{markdownDescription:p("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:le(new bt(32,"disableLayerHinting",!1)),disableMonospaceOptimizations:le(new bt(33,"disableMonospaceOptimizations",!1)),domReadOnly:le(new bt(34,"domReadOnly",!1)),dragAndDrop:le(new bt(35,"dragAndDrop",!0,{description:p("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:le(new Wse),dropIntoEditor:le(new boe),stickyScroll:le(new Kse),experimentalWhitespaceRendering:le(new Li(38,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[p("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),p("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),p("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:p("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:le(new vs(39,"extraEditorClassName","")),fastScrollSensitivity:le(new gr(40,"fastScrollSensitivity",5,s=>s<=0?5:s,{markdownDescription:p("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:le(new Hse),fixedOverflowWidgets:le(new bt(42,"fixedOverflowWidgets",!1)),folding:le(new bt(43,"folding",!0,{description:p("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:le(new Li(44,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[p("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),p("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:p("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:le(new bt(45,"foldingHighlight",!0,{description:p("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:le(new bt(46,"foldingImportsByDefault",!1,{description:p("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:le(new zt(47,"foldingMaximumRegions",5e3,10,65e3,{description:p("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:le(new bt(48,"unfoldOnClickAfterEndOfLine",!1,{description:p("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:le(new vs(49,"fontFamily",Fs.fontFamily,{description:p("fontFamily","Controls the font family.")})),fontInfo:le(new Vse),fontLigatures2:le(new _h),fontSize:le(new $se),fontWeight:le(new jA),fontVariations:le(new d1),formatOnPaste:le(new bt(55,"formatOnPaste",!1,{description:p("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:le(new bt(56,"formatOnType",!1,{description:p("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:le(new bt(57,"glyphMargin",!0,{description:p("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:le(new zse),hideCursorInOverviewRuler:le(new bt(59,"hideCursorInOverviewRuler",!1,{description:p("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:le(new Use),inDiffEditor:le(new bt(61,"inDiffEditor",!1)),letterSpacing:le(new gr(64,"letterSpacing",Fs.letterSpacing,s=>gr.clamp(s,-5,20),{description:p("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:le(new qse),lineDecorationsWidth:le(new Zse),lineHeight:le(new Yse),lineNumbers:le(new soe),lineNumbersMinChars:le(new zt(69,"lineNumbersMinChars",5,1,300)),linkedEditing:le(new bt(70,"linkedEditing",!1,{description:p("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:le(new bt(71,"links",!0,{description:p("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:le(new Li(72,"matchBrackets","always",["always","near","never"],{description:p("matchBrackets","Highlight matching brackets.")})),minimap:le(new Xse),mouseStyle:le(new Li(74,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:le(new gr(75,"mouseWheelScrollSensitivity",1,s=>s===0?1:s,{markdownDescription:p("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:le(new bt(76,"mouseWheelZoom",!1,{markdownDescription:rt?p("mouseWheelZoom.mac","Zoom the font of the editor when using mouse wheel and holding `Cmd`."):p("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:le(new bt(77,"multiCursorMergeOverlapping",!0,{description:p("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:le(new Hy(78,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],Qse,{markdownEnumDescriptions:[p("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),p("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:p({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:le(new Li(79,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[p("multiCursorPaste.spread","Each cursor pastes a single line of the text."),p("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:p("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:le(new zt(80,"multiCursorLimit",1e4,1,1e5,{markdownDescription:p("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:le(new Li(81,"occurrencesHighlight","singleFile",["off","singleFile","multiFile"],{markdownEnumDescriptions:[p("occurrencesHighlight.off","Does not highlight occurrences."),p("occurrencesHighlight.singleFile","Highlights occurrences only in the current file."),p("occurrencesHighlight.multiFile","Experimental: Highlights occurrences across all valid open files.")],markdownDescription:p("occurrencesHighlight","Controls whether occurrences should be highlighted across open files.")})),overviewRulerBorder:le(new bt(82,"overviewRulerBorder",!0,{description:p("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:le(new zt(83,"overviewRulerLanes",3,0,3)),padding:le(new Jse),pasteAs:le(new voe),parameterHints:le(new eoe),peekWidgetDefaultFocus:le(new Li(87,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[p("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),p("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:p("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),placeholder:le(new ioe),definitionLinkOpensInPeek:le(new bt(89,"definitionLinkOpensInPeek",!1,{description:p("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:le(new noe),quickSuggestionsDelay:le(new zt(91,"quickSuggestionsDelay",10,0,1073741824,{description:p("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:le(new bt(92,"readOnly",!1)),readOnlyMessage:le(new roe),renameOnType:le(new bt(94,"renameOnType",!1,{description:p("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:p("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:le(new bt(95,"renderControlCharacters",!0,{description:p("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:le(new Li(96,"renderFinalNewline",Ws?"dimmed":"on",["off","on","dimmed"],{description:p("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:le(new Li(97,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",p("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:p("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:le(new bt(98,"renderLineHighlightOnlyWhenFocus",!1,{description:p("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:le(new Li(99,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:le(new Li(100,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",p("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),p("renderWhitespace.selection","Render whitespace characters only on selected text."),p("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:p("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:le(new zt(101,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:le(new bt(102,"roundedSelection",!0,{description:p("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:le(new ooe),scrollbar:le(new aoe),scrollBeyondLastColumn:le(new zt(105,"scrollBeyondLastColumn",4,0,1073741824,{description:p("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:le(new bt(106,"scrollBeyondLastLine",!0,{description:p("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:le(new bt(107,"scrollPredominantAxis",!0,{description:p("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:le(new bt(108,"selectionClipboard",!0,{description:p("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Ws})),selectionHighlight:le(new bt(109,"selectionHighlight",!0,{description:p("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:le(new bt(110,"selectOnLineNumbers",!0)),showFoldingControls:le(new Li(111,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[p("showFoldingControls.always","Always show the folding controls."),p("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),p("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:p("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:le(new bt(112,"showUnused",!0,{description:p("showUnused","Controls fading out of unused code.")})),showDeprecated:le(new bt(141,"showDeprecated",!0,{description:p("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:le(new Gse),snippetSuggestions:le(new Li(113,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[p("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),p("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),p("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),p("snippetSuggestions.none","Do not show snippet suggestions.")],description:p("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:le(new foe),smoothScrolling:le(new bt(115,"smoothScrolling",!1,{description:p("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:le(new zt(118,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:le(new goe),inlineSuggest:le(new coe),inlineEdit:le(new doe),inlineCompletionsAccessibilityVerbose:le(new bt(150,"inlineCompletionsAccessibilityVerbose",!1,{description:p("inlineCompletionsAccessibilityVerbose","Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.")})),suggestFontSize:le(new zt(120,"suggestFontSize",0,0,1e3,{markdownDescription:p("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:le(new zt(121,"suggestLineHeight",0,0,1e3,{markdownDescription:p("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:le(new bt(122,"suggestOnTriggerCharacters",!0,{description:p("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:le(new Li(123,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[p("suggestSelection.first","Always select the first suggestion."),p("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),p("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:p("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:le(new Li(124,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[p("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),p("tabCompletion.off","Disable tab completions."),p("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:p("tabCompletion","Enables tab completions.")})),tabIndex:le(new zt(125,"tabIndex",0,-1,1073741824)),unicodeHighlight:le(new loe),unusualLineTerminators:le(new Li(127,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[p("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),p("unusualLineTerminators.off","Unusual line terminators are ignored."),p("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:p("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:le(new bt(128,"useShadowDOM",!0)),useTabStops:le(new bt(129,"useTabStops",!0,{description:p("useTabStops","Spaces and tabs are inserted and deleted in alignment with tab stops.")})),wordBreak:le(new Li(130,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[p("wordBreak.normal","Use the default line break rule."),p("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:p("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSegmenterLocales:le(new poe),wordSeparators:le(new vs(132,"wordSeparators",qx,{description:p("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:le(new Li(133,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[p("wordWrap.off","Lines will never wrap."),p("wordWrap.on","Lines will wrap at the viewport width."),p({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),p({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:p({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:le(new vs(134,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:le(new vs(135,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:le(new zt(136,"wordWrapColumn",80,1,1073741824,{markdownDescription:p({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:le(new Li(137,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:le(new Li(138,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:le(new Bse),defaultColorDecorators:le(new bt(148,"defaultColorDecorators",!1,{markdownDescription:p("defaultColorDecorators","Controls whether inline color decorations should be shown using the default document color provider")})),pixelRatio:le(new toe),tabFocusMode:le(new bt(145,"tabFocusMode",!1,{markdownDescription:p("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:le(new R_),wrappingInfo:le(new _oe),wrappingIndent:le(new moe),wrappingStrategy:le(new jse)};class yoe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?mb.isErrorNoTelemetry(e)?new mb(e.message+`
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DMcly29s.js","./vue-DyRUlw3r.js"])))=>i.map(i=>d[i]);
2
+ var h=Object.defineProperty;var y=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(o,t,e)=>t in o?h(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,d=(o,t)=>{for(var e in t||(t={}))w.call(t,e)&&E(o,e,t[e]);if(y)for(var e of y(t))x.call(t,e)&&E(o,e,t[e]);return o};var l=(o,t,e)=>new Promise((p,r)=>{var m=a=>{try{n(e.next(a))}catch(i){r(i)}},c=a=>{try{n(e.throw(a))}catch(i){r(i)}},n=a=>a.done?p(a.value):Promise.resolve(a.value).then(m,c);n((e=e.apply(o,t)).next())});import{_ as A}from"./monaco-editor-311TVFBf.js";import{useRoute as P}from"./vue-router-DMcly29s.js";import"./element-plus-ChjncS7R.js";import"./vxe-CmKTsEcP.js";import{i as g,s as V,X as T,t as k,y as B,A as D,Y as I}from"./Editor-DN_yRaGC-CFA_mX2p.js";import{a as O,n as C,l as L,E as S}from"./utils-MwyoozgQ.js";import{q as X}from"./@vueuse-BqGFNoW8.js";import{d as Y,ay as R,e as q,K as z,O as H,P as K,o as N,h as b}from"./vue-DyRUlw3r.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-CFJLz5mK.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-CpJl_Tha.js";import"./marked-A9Xy60Ec.js";const nt=Y({__name:"page",setup(o){return l(this,null,function*(){let t,e;const p=new g(V(C)),r=([t,e]=R(()=>p.getExtension().catch(()=>null)),t=yield t,e(),t),m=T({loading:L,notify:C,useTitle:X,alert:O,access:r==null?void 0:r.access}),c=r?([t,e]=R(()=>new S(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:i}=k({mode:B.Runtime,service:p,materialPath:n,adapter:d(d({},m),c.adapter),dependencies:{Vue:()=>A(()=>import("./vue-DyRUlw3r.js").then(s=>s.az),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-DMcly29s.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),_=q(),u=b();return i(()=>l(this,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(D),s.use(a),_.value=yield a.getRenderComponent(f.params.id.toString(),v=>{I(s,f,v)}))})),(s,v)=>_.value?(N(),z(K(_.value),{key:0})):H("",!0)})}});export{nt as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DMcly29s.js","./vue-DyRUlw3r.js"])))=>i.map(i=>d[i]);
2
+ var R=Object.defineProperty;var y=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(o,t,e)=>t in o?R(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,l=(o,t)=>{for(var e in t||(t={}))h.call(t,e)&&E(o,e,t[e]);if(y)for(var e of y(t))x.call(t,e)&&E(o,e,t[e]);return o};var d=(o,t,e)=>new Promise((m,r)=>{var c=a=>{try{i(e.next(a))}catch(p){r(p)}},n=a=>{try{i(e.throw(a))}catch(p){r(p)}},i=a=>a.done?m(a.value):Promise.resolve(a.value).then(c,n);i((e=e.apply(o,t)).next())});import{_ as w}from"./monaco-editor-311TVFBf.js";import{useRoute as P}from"./vue-router-DMcly29s.js";import"./element-plus-ChjncS7R.js";import"./vxe-CmKTsEcP.js";import{i as V,s as g,X as T,t as k,y as B,A as D,Y as I}from"./Editor-DN_yRaGC-CFA_mX2p.js";import{a as O,n as A,l as L,E as S}from"./utils-MwyoozgQ.js";import{q as X}from"./@vueuse-BqGFNoW8.js";import{d as Y,ay as C,e as q,K as z,O as H,P as K,o as N,h as b}from"./vue-DyRUlw3r.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-CFJLz5mK.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-CpJl_Tha.js";import"./marked-A9Xy60Ec.js";const nt=Y({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const m=new V(g(A)),r=([t,e]=C(()=>m.getExtension().catch(()=>null)),t=yield t,e(),t),c=T({loading:L,notify:A,useTitle:X,alert:O,access:r==null?void 0:r.access}),n=r?([t,e]=C(()=>new S(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:i="/"}=r||{},{provider:a,onReady:p}=k({mode:B.Runtime,service:m,materialPath:i,adapter:l(l({},c),n.adapter),dependencies:{Vue:()=>w(()=>import("./vue-DyRUlw3r.js").then(s=>s.az),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-DMcly29s.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),_=q(),u=b();return p(()=>d(this,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(n.install&&n.install(s),s.use(D),s.use(a),_.value=yield a.getRenderComponent(f.params.id.toString(),v=>{I(s,f,v)}))})),(s,v)=>_.value?(N(),z(K(_.value),{key:0})):H("",!0)})}});export{nt as default};
@@ -1 +1 @@
1
- import{useRoute as o}from"./vue-router-CYHi_K9j.js";import{d as s,k as a,c,a as r,o as n}from"./vue-B-E4FNFR.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={class:"uni-iframe"},p=["src"],u=s({__name:"uni-page",setup(m){const e=o(),t=a(()=>`http://localhost:8010/uni/#${e.path}`);return(f,d)=>(n(),c("div",i,[r("iframe",{src:t.value},null,8,p)]))}}),v=_(u,[["__scopeId","data-v-6cf4ecbe"]]);export{v as default};
1
+ import{useRoute as o}from"./vue-router-DMcly29s.js";import{d as s,k as a,c,a as r,o as n}from"./vue-DyRUlw3r.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={class:"uni-iframe"},p=["src"],u=s({__name:"uni-page",setup(m){const e=o(),t=a(()=>`http://localhost:8010/uni/#${e.path}`);return(f,d)=>(n(),c("div",i,[r("iframe",{src:t.value},null,8,p)]))}}),v=_(u,[["__scopeId","data-v-6cf4ecbe"]]);export{v as default};
@@ -0,0 +1 @@
1
+ var d=Object.defineProperty;var S=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?d(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,c=(t,a)=>{for(var s in a||(a={}))T.call(a,s)&&g(t,s,a[s]);if(S)for(var s of S(a))f.call(a,s)&&g(t,s,a[s]);return t};var l=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var p=(t,a,s)=>new Promise((i,n)=>{var e=r=>{try{o(s.next(r))}catch(_){n(_)}},E=r=>{try{o(s.throw(r))}catch(_){n(_)}},o=r=>r.done?i(r.value):Promise.resolve(r.value).then(e,E);o((s=s.apply(t,a)).next())});import{az as I}from"./vue-DyRUlw3r.js";import{b as V,m as A,r as b,H as O,W as m,c as P,d as h,v as R,e as y,a as M,S as L,_ as D,f as v,p as B,g as w,h as x,Q as N,j as H,k as W,l as j,n as k,u as U,o as C,q as G,w as K,L as Y,x as F,z as X,B as Z,C as $,D as z,E as J,F as q,G as Q,I as aa,K as sa,M as ea,N as ta,O as ra,P as na,R as ia,T as oa,U as _a,V as la,$ as ca,a0 as Ea,a1 as ga,a2 as Sa,a3 as pa,a4 as ua,a5 as da,a6 as Ta,a7 as fa,a8 as Ia,a9 as Va,aa as Aa,ab as ba,ac as Oa,ad as ma,ae as Pa,af as ha,ag as Ra,ah as ya,ai as Ma,aj as La,ak as Da,J as va,al as Ba,am as wa,an as xa,ao as Na,ap as Ha,aq as Wa,ar as ja,as as ka,at as Ua,au as Ca}from"./Editor-DN_yRaGC-CFA_mX2p.js";import{E as Ga,a as Ka,b as Ya,c as Fa}from"./element-plus-ChjncS7R.js";const Xa=Object.freeze(Object.defineProperty({__proto__:null,ACCESS:V,API_METHOD_TYPES:A,Assets:b,Binder:O,Box:m,Designer:P,DevTools:h,EVENT_MODIFIERS:R,Editor:y,Engine:M,EventBinder:L,Icon:D,Item:v,KEYBOARD_EVENT_LIST:B,MOBILE_SIZE:w,MOUSE_EVENT_LIST:x,MicroApp:N,NAME_REGEX:H,NPM_REGISTRY_URL:W,OpenApi:j,PAD_SIZE:k,Panel:U,REMOTE:C,REPORT_API:G,RegionType:K,RegionWrapper:Y,Renderer:F,SAVE_BLOCK_FILE_FINISH:X,SESSION_ID_KEY:Z,SetterView:$,SetterWrapper:z,Simulator:J,Skeleton:q,SkeletonWrapper:Q,SlotsPicker:aa,Tabs:sa,VERSION_REGEX:ea,VTJ_DESIGNER_VERSION:ta,VUE_DEVTOOLS_FRAME_STATE_KEY:ra,VUE_DEVTOOLS_OVERLAY_PATH:na,VUE_DEVTOOLS_PATH:ia,VariableBinder:oa,Viewer:_a,Viewport:la,WidgetGroup:ca,WidgetWrapper:Ea,alert:ga,builtInDeps:Sa,builtInMaterials:pa,builtInSetters:ua,builtInWidgets:da,confirm:Ta,createSlotsPicker:fa,defaultSetter:Ia,depsManager:Va,engineKey:Aa,expressionValidate:ba,getClassProperties:Oa,message:ma,normalizedStyle:Pa,notify:ha,proxyContext:Ra,regions:ya,setterManager:Ma,setters:La,useEngine:Da,widgetManager:va,widgets:Ba},Symbol.toStringTag,{value:"Module"}));class qa{constructor(a){l(this,"urls",[]);l(this,"library","");l(this,"params",[]);l(this,"__BASE_PATH__","/");this.config=a;const s=c(c(c({},Wa),Xa),Ha),i={Vue:I,__VTJ_PRO__:s,VtjUtils:Na,VtjIcons:xa,VtjUI:wa,ElementPlus:Ga};for(const[_,u]of Object.entries(i))window[_]=u;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:E=[],library:o,params:r=[]}=n||{};this.urls=E,this.library=o,this.params=r,this.__BASE_PATH__=e}load(){return p(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,i=this.urls.filter(e=>ja(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>ka(e)).map(e=>`${s}${e}`);if(Ua(i),n.length){const e=yield Ca(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return a})}}function Qa(){return Fa.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function as(t,a="",s="warning"){Ya({title:a,message:t,type:s})}function ss(t,a){return Ka.alert(t,a)}export{qa as E,ss as a,Qa as l,as as n};
@@ -31,4 +31,4 @@
31
31
  * @vue/shared v3.4.21
32
32
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
33
33
  * @license MIT
34
- **/const xh=()=>{},yh=Object.prototype.hasOwnProperty,Sh=(e,t)=>yh.call(e,t),wh=Array.isArray,Ah=e=>Xl(e)==="[object Date]",qs=e=>typeof e=="function",Oh=e=>typeof e=="string",bh=e=>e!==null&&typeof e=="object",Rh=e=>(bh(e)||qs(e))&&qs(e.then)&&qs(e.catch),vh=Object.prototype.toString,Xl=e=>vh.call(e),Ph=e=>Xl(e)==="[object Object]",Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ch=/-(\w)/g,Nh=Yr(e=>e.replace(Ch,(t,n)=>n?n.toUpperCase():"")),Th=/\B([A-Z])/g,Mh=Yr(e=>e.replace(Th,"-$1").toLowerCase()),Ih=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1));export{Po as $,Sh as A,oa as B,qs as C,Bo as D,Nh as E,zf as F,Tn as G,En as H,gl as I,fu as J,es as K,Rr as L,Sf as M,xh as N,Zu as O,Jf as P,Br as Q,go as R,he as S,re as T,Fl as U,Ia as V,ws as W,uu as X,hh as Y,Ss as Z,as as _,kr as a,xs as a0,Ue as a1,ft as a2,ie as a3,Af as a4,Io as a5,No as a6,ph as a7,Qf as a8,Xf as a9,Eh as aA,hu as aB,Iu as aC,Wf as aD,Uf as aE,Lc as aF,Ah as aa,pf as ab,pl as ac,Xe as ad,Z as ae,Gr as af,qr as ag,Tl as ah,Yf as ai,Ih as aj,Fr as ak,Rh as al,os as am,eu as an,sh as ao,so as ap,ac as aq,Ph as ar,Zf as as,nn as at,ql as au,yr as av,Mh as aw,no as ax,ju as ay,pu as az,hc as b,Gu as c,Mr as d,tn as e,$t as f,ji as g,Ie as h,Sn as i,oo as j,Cl as k,ue as l,jc as m,vs as n,vn as o,Dc as p,Tu as q,xr as r,ro as s,Uc as t,ps as u,ln as v,Pu as w,wh as x,bh as y,Oh as z};
34
+ **/const xh=()=>{},yh=Object.prototype.hasOwnProperty,Sh=(e,t)=>yh.call(e,t),wh=Array.isArray,Ah=e=>Xl(e)==="[object Date]",qs=e=>typeof e=="function",Oh=e=>typeof e=="string",bh=e=>e!==null&&typeof e=="object",Rh=e=>(bh(e)||qs(e))&&qs(e.then)&&qs(e.catch),vh=Object.prototype.toString,Xl=e=>vh.call(e),Ph=e=>Xl(e)==="[object Object]",Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ch=/-(\w)/g,Nh=Yr(e=>e.replace(Ch,(t,n)=>n?n.toUpperCase():"")),Th=/\B([A-Z])/g,Mh=Yr(e=>e.replace(Th,"-$1").toLowerCase()),Ih=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1));export{Po as $,Sh as A,oa as B,qs as C,Bo as D,Nh as E,zf as F,Tn as G,En as H,gl as I,fu as J,es as K,Rr as L,Sf as M,xh as N,Zu as O,Jf as P,Br as Q,go as R,he as S,re as T,Fl as U,Ia as V,ws as W,uu as X,hh as Y,Ss as Z,as as _,kr as a,xs as a0,Ue as a1,ft as a2,ie as a3,Af as a4,Io as a5,No as a6,ph as a7,Qf as a8,Xf as a9,ju as aA,hu as aB,Iu as aC,Wf as aD,Uf as aE,Lc as aF,Fc as aG,Ah as aa,pf as ab,pl as ac,Xe as ad,Z as ae,Gr as af,qr as ag,Tl as ah,Yf as ai,Ih as aj,Fr as ak,Rh as al,os as am,eu as an,sh as ao,so as ap,ac as aq,Ph as ar,Zf as as,nn as at,ql as au,yr as av,Mh as aw,no as ax,pu as ay,Eh as az,hc as b,Gu as c,Mr as d,tn as e,$t as f,ji as g,Ie as h,Sn as i,oo as j,Cl as k,ue as l,jc as m,vs as n,vn as o,Dc as p,Tu as q,xr as r,ro as s,Uc as t,ps as u,ln as v,Pu as w,wh as x,bh as y,Oh as z};
@@ -1,4 +1,4 @@
1
- import{s as ut,d as Ve,u as Y,ax as ft,k as I,D as le,e as ht,f as pt,ah as Ue,n as dt,v as $,W as mt,a6 as gt,$ as vt,_ as yt}from"./vue-B-E4FNFR.js";/*!
1
+ import{s as ut,d as Ve,u as Y,ax as ft,k as I,D as le,e as ht,f as pt,ah as Ue,n as dt,v as $,W as mt,a6 as gt,$ as vt,_ as yt}from"./vue-DyRUlw3r.js";/*!
2
2
  * vue-router v4.5.0
3
3
  * (c) 2024 Eduardo San Martin Morote
4
4
  * @license MIT