2 lines
135 KiB
JavaScript
2 lines
135 KiB
JavaScript
|
(function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s="e500")})({"30db":function(e,t,n){"use strict";(function(e,i){var r;n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return L})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return y})),n.d(t,"e",(function(){return E}));const s="en";let o=!1,a=!1,l=!1,u=!1,h=!1,c=!1,d=!1,f=void 0,m=s,g=void 0,_=void 0;const p="object"===typeof self?self:"object"===typeof e?e:{};let C=void 0;"undefined"!==typeof p.vscode&&"undefined"!==typeof p.vscode.process?C=p.vscode.process:"undefined"!==typeof i&&(C=i);const b="string"===typeof(null===(r=null===C||void 0===C?void 0:C.versions)||void 0===r?void 0:r.electron)&&"renderer"===C.type;if("object"!==typeof navigator||b)if("object"===typeof C){o="win32"===C.platform,a="darwin"===C.platform,l="linux"===C.platform,u=l&&!!C.env["SNAP"]&&!!C.env["SNAP_REVISION"],f=s,m=s;const e=C.env["VSCODE_NLS_CONFIG"];if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];f=t.locale,m=n||s,g=t._translationsConfigFile}catch(w){}h=!0}else console.error("Unable to resolve platform.");else _=navigator.userAgent,o=_.indexOf("Windows")>=0,a=_.indexOf("Macintosh")>=0,d=(_.indexOf("Macintosh")>=0||_.indexOf("iPad")>=0||_.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l=_.indexOf("Linux")>=0,c=!0,f=navigator.language,m=f;let S=0;a?S=1:o?S=3:l&&(S=2);const L=o,N=a,y=c,E=function(){if(p.setImmediate)return p.setImmediate.bind(p);if("function"===typeof p.postMessage&&!p.importScripts){let e=[];p.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),p.postMessage({vscodeSetImmediateId:i},"*")}}if("function"===typeof(null===C||void 0===C?void 0:C.nextTick))return C.nextTick.bind(C);const e=Promise.resolve();return t=>e.then(t)}()}).call(this,n("c8ba"),n("4362"))},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,i="/";t.cwd=function(){return i},t.chdir=function(t){e||(e=n("df7c")),i=e.resolve(t,i)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},c317:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));var i=n("30db");let r;if("undefined"!==typeof i["a"].vscode&&"undefined"!==typeof i["a"].vscode.process){const e=i["a"].vscode.process;r={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()},nextTick(e){return Object(i["e"])(e)}}}else r="undefined"!==typeof e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({NODE_ENV:"production",BASE_URL:"/"})},cwd(){return Object({NODE_ENV:"production",BASE_URL:"/"})["VSCODE_CWD"]||e.cwd()},nextTick(t){return e.nextTick(t)}}:{get platform(){return
|
||
|
//# sourceMappingURL=editor.worker.js.map
|