function e(e){return new Worker(`/app/assets/editor.worker-Cn2oRESe.js`,{name:e?.name})}function t(e){return new Worker(`/app/assets/css.worker-CvXBzhp8.js`,{name:e?.name})}function n(e){return new Worker(`/app/assets/html.worker-BO6WuOEO.js`,{name:e?.name})}function r(e){return new Worker(`/app/assets/json.worker-BkJRGcCJ.js`,{name:e?.name})}function i(e){return new Worker(`/app/assets/ts.worker-B6r0Skfj.js`,{name:e?.name})}var a=!1,o=!1;function s(){if(!o){o=!0;try{let t=new e;setTimeout(()=>t.terminate(),0)}catch{}}}function c(){a||(a=!0,self.MonacoEnvironment={getWorker(a,o){switch(o){case`json`:return new r;case`css`:case`scss`:case`less`:return new t;case`html`:case`handlebars`:case`razor`:return new n;case`typescript`:case`javascript`:return new i;default:return new e}}})}export{s as n,c as t};