codebox/frontend/dist/html.worker.js

2 lines
565 KiB
JavaScript
Raw Normal View History

(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="654a")})({"30db":function(e,t,n){"use strict";(function(e,i){var r;n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return y})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return k})),n.d(t,"e",(function(){return S}));const a="en";let o=!1,s=!1,l=!1,h=!1,c=!1,d=!1,u=!1,p=void 0,m=a,f=void 0,g=void 0;const _="object"===typeof self?self:"object"===typeof e?e:{};let b=void 0;"undefined"!==typeof _.vscode&&"undefined"!==typeof _.vscode.process?b=_.vscode.process:"undefined"!==typeof i&&(b=i);const w="string"===typeof(null===(r=null===b||void 0===b?void 0:b.versions)||void 0===r?void 0:r.electron)&&"renderer"===b.type;if("object"!==typeof navigator||w)if("object"===typeof b){o="win32"===b.platform,s="darwin"===b.platform,l="linux"===b.platform,h=l&&!!b.env["SNAP"]&&!!b.env["SNAP_REVISION"],p=a,m=a;const e=b.env["VSCODE_NLS_CONFIG"];if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];p=t.locale,m=n||a,f=t._translationsConfigFile}catch(x){}c=!0}else console.error("Unable to resolve platform.");else g=navigator.userAgent,o=g.indexOf("Windows")>=0,s=g.indexOf("Macintosh")>=0,u=(g.indexOf("Macintosh")>=0||g.indexOf("iPad")>=0||g.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,l=g.indexOf("Linux")>=0,d=!0,p=navigator.language,m=p;let v=0;s?v=1:o?v=3:l&&(v=2);const y=o,T=s,k=d,S=function(){if(_.setImmediate)return _.setImmediate.bind(_);if("function"===typeof _.postMessage&&!_.importScripts){let e=[];_.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}),_.postMessage({vscodeSetImmediateId:i},"*")}}if("function"===typeof(null===b||void 0===b?void 0:b.nextTick))return b.nextTick.bind(b);const e=Promise.resolve();return t=>e.then(t)}()}).call(this,n("c8ba"),n("4362"))},"36c6":function(e,t,n){"use strict";(function(e){var i;n.d(t,"a",(function(){return r})),i=(()=>{var t={470:t=>{function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var n,i="",r=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):r=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",r=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),r=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return i}var r={resolve:function(){for(var t,r="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var s;o>=0?s=arguments[o]:(void 0===t&&(t=e.cwd()),s=t),n(s),0!==s.length&&(r=s+"/"+r,a=47===s.charCodeAt(0))}return r=i(r,!a),a?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(n(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.lengt
//# sourceMappingURL=html.worker.js.map