import{j as t,B as r,R as a,T as e,e as m}from"./index-0698dbe6.js";import{o as n}from"./yup-7a53beb8.js";import{c as l,b as p,u as d}from"./index.esm-85d015f3.js";import"./GenericThumbnailView-dca658f3.js";import{F as c}from"./FormInput-98c39817.js";import"./componentStyles-91278318.js";import{P as u}from"./PageMetaData-cd33e3c3.js";import"./ScrollableList-fc87149c.js";import"./TextArea-91c96faf.js";import{A as x}from"./AuthLayout-f0dadaed.js";import"./index-c9a9ee7a.js";import"./createClass-61c32f27.js";import"./popper-f3391c26.js";import"./Select-371fc2c6.js";import"./index-e5978b8b.js";import"./Grow-ea87e600.js";import"./InputAdornment-0c2174b6.js";import"./TextField-4222c766.js";import"./isMuiElement-d179539f.js";import"./FormControlLabel-5da20c5e.js";import"./Checkbox-987be799.js";import"./SwitchBase-6519d4d3.js";import"./TableRow-2848b050.js";import"./CircularProgress-4f55e66c.js";import"./AuthBGLayout-321e3c6d.js";import"./Grid2-a3850bef.js";import"./CardContent-da6ab0f2.js";import"./Avatar-ee0f38ce.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};
