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.
1 line
71 KiB
1 line
71 KiB
1 year ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-e13e4362"],{"47b9":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return qt}));var r,i=n("0ab8"),o=(a.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},a.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},a.prototype._checkIfIdle=function(){this._worker&&12e4<Date.now()-this._lastUsedTime&&this._stopWorker()},a.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},a.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},a);function a(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}function s(e,t){var n=e.length,r=0,i="",o=0,a=16,s=0,f=0,l=0,d=0,p=0;function m(){for(var t="",i=r;;){if(n<=r){t+=e.substring(i,r),p=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),n<=++r){p=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=function(t,n){for(var i=0,o=0;i<t||!n;){var a=e.charCodeAt(r);if(48<=a&&a<=57)o=16*o+a-48;else if(65<=a&&a<=70)o=16*o+a-65+10;else{if(!(97<=a&&a<=102))break;o=16*o+a-97+10}r++,i++}return i<t?-1:o}(4,!0);0<=a?t+=String.fromCharCode(a):p=4;break;default:p=5}i=r}else{if(0<=o&&o<=31){if(u(o)){t+=e.substring(i,r),p=2;break}p=6}r++}}return t}function g(){if(i="",p=0,f=s,d=l,n<=(o=r))return o=n,a=17;var t=e.charCodeAt(r);if(c(t)){for(;r++,i+=String.fromCharCode(t),c(t=e.charCodeAt(r)););return a=15}if(u(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,l=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=m(),a=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return i=e.substring(g,r),a=12}if(42!==e.charCodeAt(r+1))return i+=String.fromCharCode(t),r++,a=16;r+=2;for(var v=n-1,y=!1;r<v;){var b=e.charCodeAt(r);if(42===b&&47===e.charCodeAt(r+1)){r+=2,y=!0;break}r++,u(b)&&(13===b&&10===e.charCodeAt(r)&&r++,s++,l=r)}return y||(r++,p=1),i=e.substring(g,r),a=13;case 45:if(i+=String.fromCharCode(t),++r===n||!h(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&h(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&h(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&h(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&h(e.charCodeAt(r))){for(r++;r<e.length&&h(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&function(e){if(!c(e)&&!u(e)){switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return}return 1}}(t);)r++,t=e.charCodeAt(r);if(o!==r)switch(i=e.substring(o,r)){case"true":return a=8;case"false":return a=9;case"null":return a=7}else i+=String.fromCharCode(t),r++;return a=16}}return{set
|