17 lines
4.5 MiB
JavaScript
17 lines
4.5 MiB
JavaScript
|
(function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s="d0c7")})({"30db":function(e,n,t){"use strict";(function(e,r){var i;t.d(n,"a",(function(){return y})),t.d(n,"d",(function(){return E})),t.d(n,"b",(function(){return T})),t.d(n,"c",(function(){return S})),t.d(n,"e",(function(){return x}));const a="en";let o=!1,s=!1,c=!1,l=!1,u=!1,d=!1,p=!1,f=void 0,m=a,_=void 0,g=void 0;const y="object"===typeof self?self:"object"===typeof e?e:{};let h=void 0;"undefined"!==typeof y.vscode&&"undefined"!==typeof y.vscode.process?h=y.vscode.process:"undefined"!==typeof r&&(h=r);const v="string"===typeof(null===(i=null===h||void 0===h?void 0:h.versions)||void 0===i?void 0:i.electron)&&"renderer"===h.type;if("object"!==typeof navigator||v)if("object"===typeof h){o="win32"===h.platform,s="darwin"===h.platform,c="linux"===h.platform,l=c&&!!h.env["SNAP"]&&!!h.env["SNAP_REVISION"],f=a,m=a;const e=h.env["VSCODE_NLS_CONFIG"];if(e)try{const n=JSON.parse(e),t=n.availableLanguages["*"];f=n.locale,m=t||a,_=n._translationsConfigFile}catch(L){}u=!0}else console.error("Unable to resolve platform.");else g=navigator.userAgent,o=g.indexOf("Windows")>=0,s=g.indexOf("Macintosh")>=0,p=(g.indexOf("Macintosh")>=0||g.indexOf("iPad")>=0||g.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=g.indexOf("Linux")>=0,d=!0,f=navigator.language,m=f;let b=0;s?b=1:o?b=3:c&&(b=2);const E=o,T=s,S=d,x=function(){if(y.setImmediate)return y.setImmediate.bind(y);if("function"===typeof y.postMessage&&!y.importScripts){let e=[];y.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id===n.data.vscodeSetImmediateId)return e.splice(t,1),void r.callback()}});let n=0;return t=>{const r=++n;e.push({id:r,callback:t}),y.postMessage({vscodeSetImmediateId:r},"*")}}if("function"===typeof(null===h||void 0===h?void 0:h.nextTick))return h.nextTick.bind(h);const e=Promise.resolve();return n=>e.then(n)}()}).call(this,t("c8ba"),t("4362"))},4362:function(e,n,t){n.nextTick=function(e){var n=Array.prototype.slice.call(arguments);n.shift(),setTimeout((function(){e.apply(null,n)}),0)},n.platform=n.arch=n.execPath=n.title="browser",n.pid=1,n.browser=!0,n.env={},n.argv=[],n.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";n.cwd=function(){return r},n.chdir=function(n){e||(e=t("df7c")),r=e.resolve(n,r)}}(),n.exit=n.kill=n.umask=n.dlopen=n.uptime=n.memoryUsage=n.uvCounters=function(){},n.features={}},"973d":function(e,n,t){"use strict";t.r(n),function(e,r,i){t.d(n,"createClassifier",(function(){return f})),t.d(n,"createLanguageService",(function(){return m})),t.d(n,"displayPartsToString",(function(){return _})),t.d(n,"EndOfLineState",(function(){return g})),t.d(n,"flattenDiagnosticMessageText",(function(){return y})),t.d(n,"IndentStyle",(function(){return h})),t.d(n,"ScriptKind",(function(){return v})),t.d(n,"ScriptTarget",(function(){return b})),t.d(n,"TokenClass",(function(){return E}));
|
||
|
/*! *****************************************************************************
|
||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
|
this file except in compliance with the License. You may obtain a copy of the
|
||
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
|
|
||
|
See the Apache Version 2.0 License for specific language governing permissions
|
||
|
and limitations under the License.
|
||
|
***************************************************************************** */
|
||
|
var a=function(e,n,t){if(t||2===arguments.length)for(var r,i=0,a=n.length;i<a;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return e.concat(r||Array.prototype.slice.call(n))},o=function(){return o=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var i in n=arguments[t],n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},o.apply(this,arguments)},s=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},c=function(e,n){var t,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(n){return c([e,n])}}function c(a){if(t)throw new TypeError("Generator is already executing.");while(o)try{if(t=1,r&&(i=2&a[0]?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=n.call(e,o)}catch(s){a=[6,s],r=0}finally{t=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},l=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(t[r[i]]=e[r[i]])}return t},u=function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},e(n,t)};return function(n,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}();(function(e){function n(){var e={};return e.prev=e,{head:e,tail:e,size:0}}function t(e,n){return{key:e,value:n,next:void 0,prev:void 0}}function r(e,n){return e===n||e!==e&&n!==n}function i(e){var n=e.prev;if(!n||n===e)throw new Error("Illegal state");return n}function a(e){while(e){var n=!e.prev;if(e=e.next,!n)return e}}function o(e,n){for(var t=e.tail;t!==e.head;t=i(t))if(r(t.key,n))return t}function s(e,n,r){var i=o(e,n);if(!i){var a=t(n,r);return a.prev=e.tail,e.tail.next=a,e.tail=a,e.size++,a}i.value=r}function c(e,n){for(var t=e.tail;t!==e.head;t=i(t)){if(void 0===t.prev)throw new Error("Illegal state");if(r(t.key,n)){if(t.next)t.next.prev=t.prev;else{if(e.tail!==t)throw new Error("Illegal state");e.tail=t.prev}return t.prev.next=t.next,t.next=t.prev,t.prev=void 0,e.size--,t}}}function l(e){var n=e.tail;while(n!==e.head){var t=i(n);n.next=e.head,n.prev=void 0,n=t}e.head.next=void 0,e.tail=e.head,e.size=0}function u(e,n){var t=e.head;while(t)t=a(t),t&&n(t.value,t.key)}function d(e,n){if(e)for(var t=e.next();!t.done;t=e.next())n(t.value)}function p(e,n){return{current:e.head,selector:n}}function f(e){return e.current=a(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}(function(e){function t(e){var t=function(){function e(e,n){this._data=p(e,n)}return e.prototype.next=function(){return f(this._data)},e}();return function(){function r(t){var r=this;this._mapData=n(),d(e(t),(function(e){var n=e[0],t=e[1];return r.set(n,t)}))}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.get=function(e){var n;return null===(n=o(this._mapData,e))||void 0==
|
||
|
//# sourceMappingURL=ts.worker.js.map
|