import{j as t,B as r,R as a,T as e,e as m}from"./index-c121b02d.js";import{o as n}from"./yup-1361ecb6.js";import{c as l,b as p,u as d}from"./index.esm-0c6778ff.js";import"./GenericThumbnailView-77114fcb.js";import{F as c}from"./FormInput-c000e22e.js";import"./componentStyles-2d610038.js";import{P as u}from"./PageMetaData-a1035f31.js";import"./ScrollableList-dc408f1e.js";import"./TextArea-dfbfc4f6.js";import{A as x}from"./AuthLayout-14b04707.js";import"./index-2d756126.js";import"./createClass-66eb0661.js";import"./popper-f3391c26.js";import"./Select-dd7adaf8.js";import"./index-e5978b8b.js";import"./Grow-9a484472.js";import"./InputAdornment-ae4c2625.js";import"./TextField-f9d2a024.js";import"./isMuiElement-d52f64c2.js";import"./FormControlLabel-560df3d1.js";import"./Checkbox-a6136302.js";import"./SwitchBase-9f520d13.js";import"./TableRow-0b65a5b3.js";import"./CircularProgress-fa872e62.js";import"./AuthBGLayout-7beeb34f.js";import"./Grid2-1ceedf41.js";import"./CardContent-ed3e9467.js";import"./Avatar-da325e72.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"})})]})}),J=()=>{const o=l({email:p().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:i}=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:i(()=>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(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{J as default};
