You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
222 KiB
2 lines
222 KiB
2 years ago
|
var e;let t,n,r,i=!1,o=!1,a=!1,s=!1,l=!1,u=!1,c="en";const h="object"==typeof self?self:"object"==typeof global?global:{};let d;void 0!==h.vscode&&void 0!==h.vscode.process?d=h.vscode.process:"undefined"!=typeof process&&(d=process);const f="string"==typeof(null===(e=null==d?void 0:d.versions)||void 0===e?void 0:e.electron)&&"renderer"===(null==d?void 0:d.type);if("object"!=typeof navigator||f){if("object"==typeof d){i="win32"===d.platform,o="darwin"===d.platform,a="linux"===d.platform,a&&d.env.SNAP&&d.env.SNAP_REVISION,d.env.CI||d.env.BUILD_ARTIFACTSTAGINGDIRECTORY,t="en",c="en";const e=d.env.VSCODE_NLS_CONFIG;if(e)try{const r=JSON.parse(e),i=r.availableLanguages["*"];t=r.locale,c=i||"en",n=r._translationsConfigFile}catch(Oa){}s=!0}}else r=navigator.userAgent,i=r.indexOf("Windows")>=0,o=r.indexOf("Macintosh")>=0,u=(r.indexOf("Macintosh")>=0||r.indexOf("iPad")>=0||r.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=r.indexOf("Linux")>=0,l=!0,t=navigator.language,c=t;const m=i,g=o,b=a,p=s,C=l,w=l&&"function"==typeof h.importScripts,_=u,y=r,S=c,L=(()=>{if("function"==typeof h.postMessage&&!h.importScripts){let e=[];h.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void r.callback()}}));let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),h.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})(),v=o||u?2:i?1:3;let N=!0,E=!1;function A(){if(!E){E=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);N=513===t[0]}return N}const x=!!(y&&y.indexOf("Chrome")>=0),M=!!(y&&y.indexOf("Firefox")>=0),k=!!(!x&&y&&y.indexOf("Safari")>=0),R=!!(y&&y.indexOf("Edg/")>=0);y&&y.indexOf("Android");const O="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";const I=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function D(e){let t=I;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const P={maxLen:1e3,windowSize:15,timeBudget:150};function F(e,t,n,r,i=P){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,F(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}const o=Date.now(),a=e-1-r;let s=-1,l=null;for(let u=1;!(Date.now()-o>=i.timeBudget);u++){const e=a-i.windowSize*u;t.lastIndex=Math.max(0,e);const r=T(t,n,a,s);if(!r&&l)break;if(l=r,e<=0)break;s=e}if(l){const e={word:l[0],startColumn:r+1+l.index,endColumn:r+1+l.index+l[0].length};return t.lastIndex=0,e}return null}function T(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}function K(e,t=0){return e[e.length-(1+t)]}function V(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function B(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function U(e,t,n){let r=0,i=e.length-1;for(;r<=i;){const o=(r+i)/2|0,a=n(e[o],t);if(a<0)r=o+1;else{if(!(a>0))return o;i=o-1}}return-(r+1)}function W(e,t){let n=0,r=e.length;if(0===r)return 0;for(;n<r;){const i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function q(e,t,n){if((e|=0)>=t.length)throw new TypeError("invalid index");let r=t[Math.floor(t.length*Math.random())],i=[],o=[],a=[];for(let s of t){const e=n(s,r);e<0?i.push(s):e>0?o.push(s):a.push(s)}return e<i.length?q(e,i,n):e<i.length+a.length?a[0]:q(e-(i.length+a.length),o,n)}function H(e,t){const n=[];let r;for(const i of e.slice(0).sort(t))r&&0===t(r[0],i)?r.push(i):(r=[i],n.push(r));return n}function z(e){return e.filter((e=>!!e))}function $(e){return!Array.isArray(e)||0===e.length}function j(e){return Array.isArray(e)&&e.length>0}function G(e,t=(e=>e)){const n=new Set;return e.filter((e=>{const r=t(e);return!n.has(r)&&(n.add(r),!0)}))}function Q(e,t){co
|