!function(){function r(r){throw console.error(r),Error(r)}void 0!==self.WorkerGlobalScope&&self instanceof self.WorkerGlobalScope||r("Worker entrypoint must be loaded in a worker context");var o=new URL(location.href),e=o.searchParams.get("params");!e&&o.hash.startsWith("#params=")&&(e=decodeURIComponent(o.hash.slice(8))),e||r("Missing worker bootstrap config");var i=JSON.parse(e),n=r=>"string"==typeof i[r]?i[r]:"",s=Array.isArray(i[0])?i[0]:[];if(Object.assign(self,{TURBOPACK_NEXT_CHUNK_URLS:s,TURBOPACK_ASSET_SUFFIX:n(1),NEXT_DEPLOYMENT_ID:n(2),NEXT_CLIENT_ASSET_SUFFIX:n(3)}),s.length>0){for(var t=[],a=0;a<s.length;a++){var l=new URL(s[a],location.origin);l.origin!==location.origin&&r("Refusing to load script from foreign origin: "+l.origin),t.push(l.toString())}s.reverse(),importScripts.apply(self,t)}}();