(()=>{var e={};e.id=9985,e.ids=[9985],e.modules={53524:e=>{"use strict";e.exports=require("@prisma/client")},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")},84770:e=>{"use strict";e.exports=require("crypto")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},72254:e=>{"use strict";e.exports=require("node:buffer")},6005:e=>{"use strict";e.exports=require("node:crypto")},47261:e=>{"use strict";e.exports=require("node:util")},19024:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>p,originalPathname:()=>c,pages:()=>u,routeModule:()=>m,tree:()=>d}),r(71858),r(95795),r(64275),r(7629),r(12523);var a=r(23191),s=r(88716),i=r(37922),n=r.n(i),o=r(95231),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let d=["",{children:["(auth)",{children:["forgot-password",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,71858)),"C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\(auth)\\forgot-password\\page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,95795)),"C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\(auth)\\layout.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,73881))).default(e),async e=>(await Promise.resolve().then(r.bind(r,97026))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,64275)),"C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\layout.tsx"],error:[()=>Promise.resolve().then(r.bind(r,7629)),"C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\error.tsx"],"not-found":[()=>Promise.resolve().then(r.bind(r,12523)),"C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,73881))).default(e),async e=>(await Promise.resolve().then(r.bind(r,97026))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],u=["C:\\Users\\Sage\\.gemini\\antigravity\\playground\\Wasiyyah\\src\\app\\(auth)\\forgot-password\\page.tsx"],c="/(auth)/forgot-password/page",p={require:r,loadChunk:()=>Promise.resolve()},m=new a.AppPageRouteModule({definition:{kind:s.x.APP_PAGE,page:"/(auth)/forgot-password/page",pathname:"/forgot-password",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},9679:(e,t,r)=>{Promise.resolve().then(r.bind(r,13992))},13992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var a=r(10326),s=r(17577),i=r(90434),n=r(91664),o=r(41190),l=r(44794),d=r(29752),u=r(3107);function c(){let[e,t]=(0,s.useState)(!1),[r,c]=(0,s.useState)(!1);async function p(e){e.preventDefault(),c(!0);let r=new FormData(e.currentTarget).get("email");await (0,u.f8)(r),t(!0),c(!1)}return a.jsx("div",{className:"flex flex-1 items-center justify-center px-4 py-12",children:(0,a.jsxs)(d.Zb,{className:"w-full max-w-md",children:[(0,a.jsxs)(d.Ol,{className:"text-center",children:[a.jsx(d.ll,{className:"text-2xl",children:"Reset Password"}),a.jsx(d.SZ,{children:e?"If an account with that email exists, we've sent a password reset link. Please check your inbox.":"Enter your email to receive a password reset link"})]}),e?a.jsx(d.eW,{children:a.jsx(i.default,{href:"/login",className:"w-full",children:a.jsx(n.z,{variant:"outline",className:"w-full",children:"Back to login"})})}):(0,a.jsxs)("form",{onSubmit:p,children:[a.jsx(d.aY,{className:"space-y-4",children:(0,a.jsxs)("div",{className:"space-y-2",children:[a.jsx(l.Label,{htmlFor:"email",children:"Email"}),a.jsx(o.I,{id:"email",name:"email",type:"email",required:!0,placeholder:"ahmed@example.com"})]})}),(0,a.jsxs)(d.eW,{className:"flex flex-col gap-4",children:[a.jsx(n.z,{type:"submit",className:"w-full",disabled:r,children:r?"Sending...":"Send Reset Link"}),a.jsx(i.default,{href:"/login",className:"text-center text-sm text-muted-foreground hover:text-primary",children:"Back to login"})]})]})]})})}},71858:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a=(0,r(68570).createProxy)(String.raw`C:\Users\Sage\.gemini\antigravity\playground\Wasiyyah\src\app\(auth)\forgot-password\page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[8948,8662,1705,4042,3973,1905,7355],()=>r(19024));module.exports=a})();