(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{6:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},1154:e=>{e.exports={style:{fontFamily:"'sfMono', 'sfMono Fallback'"},className:"__className_a0e4c0",variable:"__variable_a0e4c0"}},3526:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,7979,23)),Promise.resolve().then(r.t.bind(r,6,23)),Promise.resolve().then(r.t.bind(r,1154,23)),Promise.resolve().then(r.bind(r,5989))},5224:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var a=r(3611),l=r(4512);let i=e=>{let t=(0,a.useRef)(null);(0,a.useEffect)(()=>{t.current||(t.current=(0,l.io)());let r=t.current;return r.on("reload",t=>{console.debug("Reloading..."),e(t)}),()=>{r.off()}},[e])}},5989:(e,t,r)=>{"use strict";r.d(t,{EmailsProvider:()=>d,J:()=>_});var a=r(1275),l=r(3611),i=r(4366);let o=(0,i.createServerReference)("7fb1264c0cfb46d3757f0020da0be1f94e0166839f",i.callServer,void 0,i.findSourceMapURL,"getEmailsDirectoryMetadataAction");var s=r(9195),n=r(5224);let c=(0,l.createContext)(void 0),_=()=>{let e=(0,l.useContext)(c);if(void 0===e)throw Error("Cannot call `useEmails` outside of an `EmailsContext` provider.");return e},d=e=>{let[t,r]=(0,l.useState)(e.initialEmailsDirectoryMetadata);return s.Hf||s.m4||(0,n.a)(async()=>{let t=await o(e.initialEmailsDirectoryMetadata.absolutePath);if(t)r(t);else throw Error("Hot reloading: unable to find the emails directory to update the sidebar")}),(0,a.jsx)(c.Provider,{value:{emailsDirectoryMetadata:t},children:e.children})}},7979:()=>{},9195:(e,t,r)=>{"use strict";r.d(t,{Hf:()=>l,m4:()=>i});var a=r(2248);a.env.USER_PROJECT_LOCATION,a.env.PREVIEW_SERVER_LOCATION,a.env.EMAILS_DIR_ABSOLUTE_PATH;let l="true"===a.env.NEXT_PUBLIC_IS_BUILDING,i="true"===a.env.NEXT_PUBLIC_IS_PREVIEW_DEVELOPMENT}},e=>{e.O(0,[807,983,105,713,358],()=>e(e.s=3526)),_N_E=e.O()}]);