(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{2295:e=>{e.exports={style:{fontFamily:"'sfMono', 'sfMono Fallback'"},className:"__className_a0e4c0",variable:"__variable_a0e4c0"}},3396:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_d65c78",variable:"__variable_d65c78"}},4241:(e,t,a)=>{"use strict";a.d(t,{a:()=>i});var r=a(7280),l=a(880);let i=e=>{let t=(0,r.useRef)(null);(0,r.useEffect)(()=>{t.current||(t.current=(0,l.io)());let a=t.current;return a.on("reload",t=>{console.debug("Reloading..."),e(t)}),()=>{a.off()}},[e])}},4675:(e,t,a)=>{"use strict";a.d(t,{EmailsProvider:()=>_,J:()=>d});var r=a(2060),l=a(7280),i=a(4328);let o=(0,i.createServerReference)("7f4585128dabfde745ab94ceba8884319b4c81e82d",i.callServer,void 0,i.findSourceMapURL,"getEmailsDirectoryMetadataAction");var n=a(5344),s=a(4241);let c=(0,l.createContext)(void 0),d=()=>{let e=(0,l.useContext)(c);if(void 0===e)throw Error("Cannot call `useEmail()` outside of an EmailsContext provider!");return e},_=e=>{let[t,a]=(0,l.useState)(e.initialEmailsDirectoryMetadata);return n.Hf||(0,s.a)(async()=>{let t=await o(e.initialEmailsDirectoryMetadata.absolutePath);if(t)a(t);else throw Error("Hot reloading: unable to find the emails directory to update the sidebar")}),(0,r.jsx)(c.Provider,{value:{emailsDirectoryMetadata:t},children:e.children})}},5344:(e,t,a)=>{"use strict";a.d(t,{Hf:()=>l});var r=a(3558);r.env.EMAILS_DIR_RELATIVE_PATH,r.env.USER_PROJECT_LOCATION,r.env.EMAILS_DIR_ABSOLUTE_PATH;let l="true"===r.env.NEXT_PUBLIC_IS_BUILDING;r.env.NEXT_PUBLIC_IS_PREVIEW_DEVELOPMENT},5673:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,8697,23)),Promise.resolve().then(a.t.bind(a,3396,23)),Promise.resolve().then(a.t.bind(a,2295,23)),Promise.resolve().then(a.bind(a,4675))},8697:()=>{}},e=>{var t=t=>e(e.s=t);e.O(0,[957,853,695,803,358],()=>t(5673)),_N_E=e.O()}]);