(()=>{var e={};e.id=453,e.ids=[453],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},72254:e=>{"use strict";e.exports=require("node:buffer")},6005:e=>{"use strict";e.exports=require("node:crypto")},15673:e=>{"use strict";e.exports=require("node:events")},88849:e=>{"use strict";e.exports=require("node:http")},22286:e=>{"use strict";e.exports=require("node:https")},47261:e=>{"use strict";e.exports=require("node:util")},43196:(e,r,s)=>{"use strict";s.r(r),s.d(r,{GlobalError:()=>o.a,__next_app__:()=>p,originalPathname:()=>d,pages:()=>u,routeModule:()=>h,tree:()=>c}),s(77455),s(20357),s(35866);var a=s(23191),t=s(88716),n=s(37922),o=s.n(n),i=s(95231),l={};for(let e in i)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>i[e]);s.d(r,l);let c=["",{children:["auth",{children:["callback",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,77455)),"/Users/dame/Library/Mobile Documents/com~apple~CloudDocs/Software/flushes/app/src/app/auth/callback/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,20357)),"/Users/dame/Library/Mobile Documents/com~apple~CloudDocs/Software/flushes/app/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,35866,23)),"next/dist/client/components/not-found-error"]}],u=["/Users/dame/Library/Mobile Documents/com~apple~CloudDocs/Software/flushes/app/src/app/auth/callback/page.tsx"],d="/auth/callback/page",p={require:s,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:t.x.APP_PAGE,page:"/auth/callback/page",pathname:"/auth/callback",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},59649:(e,r,s)=>{Promise.resolve().then(s.bind(s,98795))},98795:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>d});var a=s(10326),t=s(17577),n=s(35047),o=s(38853),i=s(11751),l=s.n(i);function c(){return a.jsx("div",{className:l().container,children:(0,a.jsxs)("div",{className:l().loaderContainer,children:[a.jsx("div",{className:l().loader}),a.jsx("p",{children:"Processing login..."})]})})}function u(){let e=(0,n.useRouter)(),{session:r,isLoading:s}=(0,o.a)(),[i,c]=(0,t.useState)(null),[u,d]=(0,t.useState)(!1);return i?a.jsx("div",{className:l().container,children:(0,a.jsxs)("div",{className:l().errorContainer,children:[a.jsx("h1",{children:"Authentication Error"}),a.jsx("p",{className:l().error,children:i}),a.jsx("button",{onClick:()=>e.push("/auth/login"),className:l().button,children:"Try Again"}),a.jsx("button",{onClick:()=>e.push("/"),className:l().button,children:"Back to Home"})]})}):r?a.jsx("div",{className:l().container,children:(0,a.jsxs)("div",{className:l().successContainer,children:[a.jsx("div",{className:l().checkmark,children:"✓"}),a.jsx("h1",{children:"Welcome back!"}),a.jsx("p",{children:"Successfully signed in! Redirecting..."}),a.jsx("p",{children:"Redirecting to home page..."})]})}):a.jsx("div",{className:l().container,children:(0,a.jsxs)("div",{className:l().loaderContainer,children:[a.jsx("div",{className:l().loader}),a.jsx("p",{children:"Completing authentication..."})]})})}function d(){return a.jsx(t.Suspense,{fallback:a.jsx(c,{}),children:a.jsx(u,{})})}},11751:e=>{e.exports={container:"callback_container__4mCQY",loaderContainer:"callback_loaderContainer__wEg9L",errorContainer:"callback_errorContainer__bRI_N",loader:"callback_loader__YVzJm",spin:"callback_spin__MJhVO",error:"callback_error__IlMhg",button:"callback_button__0diuj"}},77455:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>a});let a=(0,s(68570).createProxy)(String.raw`/Users/dame/Library/Mobile Documents/com~apple~CloudDocs/Software/flushes/app/src/app/auth/callback/page.tsx#default`)}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),a=r.X(0,[276,659,568],()=>s(43196));module.exports=a})();