d
				`/*extensionHostWorker*/`
			].join('')], { type: 'application/javascript' });

			const worker = new Worker(URL.createObjectURL(blob), { name, type: isESM ? 'module' : undefined });
			if (!isESM) {
				// Note: cannot postMessage into a worker that is ESM because imports are async
				worker.postMessage('vs/workbench/api/worker/extensionHostWorker');
			}
			const nestedWorkers = new Map();

			worker.onmessage = (event) => {
				const { data } = event;

				if (data?.type === '_newWorker') {
					c