import{j as t,B as r,z as i,T as e,e as m}from"./index-4dfc510b.js";import{o as n}from"./yup-80def618.js";import{c as l,b as p,u as d}from"./index.esm-0a454763.js";import"./GenericThumbnailView-6256cad7.js";import{F as c}from"./FormInput-f887e69c.js";import"./componentStyles-df94248d.js";import{P as u}from"./PageMetaData-9d85e469.js";import"./ScrollableList-bef4a518.js";import"./TextArea-a0cc14f3.js";import{A as x}from"./AuthLayout-90c7915e.js";import"./index-9a385720.js";import"./popper-f3391c26.js";import"./Select-c8503f85.js";import"./index-e5978b8b.js";import"./Menu-0f556e12.js";import"./Grow-a7315f12.js";import"./InputAdornment-ccd6e8ff.js";import"./TextField-c0d4022e.js";import"./isMuiElement-7be61a21.js";import"./FormControlLabel-e49dd1e5.js";import"./TableRow-bee40746.js";import"./CircularProgress-d36b5e75.js";import"./AuthBGLayout-779e18b6.js";import"./Grid2-713975b3.js";import"./CardContent-afcdca5e.js";import"./Avatar-dec2611f.js";const h=()=>t.jsx(r,{sx:{my:"16px",display:"flex",justifyContent:"center"},children:t.jsxs(e,{variant:"body2",color:"text.secondary",sx:{display:"flex",flexWrap:"nowrap",gap:.5},children:["Already have account?",t.jsx(m,{to:"/auth/login",children:t.jsx(e,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),G=()=>{const o=l({email:p().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:a}=d({resolver:n(o),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(u,{title:"Reset Password"}),t.jsx(x,{authTitle:"Reset Password",helpText:"Enter your email address and we'll send you an email with instructions to reset your password.",bottomLinks:t.jsx(h,{}),children:t.jsxs("form",{onSubmit:a(()=>null),children:[t.jsx(c,{name:"email",type:"email",label:"Email Address",containerSx:{mt:2},control:s}),t.jsx(r,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(i,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{G as default};
