(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,257476,e=>{"use strict";var t=e.i(124892),c=e.i(141855),o=e.i(717901);function r({projectId:e}){let{mode:r,switchProject:i,currentProject:n}=(0,c.useProject)();return(0,t.useEffect)(()=>{"single-project"===r&&(0,o.isDefaultProject)(e)||e&&(!n||n.id!==e)&&i(e).catch(console.error)},[e,r,n,i]),null}e.s(["ProjectContextSyncer",()=>r])}]);