import{j as t,B as r,R as a,T as e,e as m}from"./index-6c48ebe4.js";import{o as n}from"./yup-75ac0470.js";import{c as l,b as p,u as d}from"./index.esm-fd3369ba.js";import"./GenericThumbnailView-e18774c4.js";import{F as c}from"./FormInput-345d040e.js";import"./componentStyles-1dd5fe29.js";import{P as u}from"./PageMetaData-80da715a.js";import"./ScrollableList-e9cb113e.js";import"./TextArea-4432195b.js";import{A as x}from"./AuthLayout-9d82ed2e.js";import"./index-84485105.js";import"./createClass-8ad09c76.js";import"./popper-f3391c26.js";import"./Select-c5c274bb.js";import"./index-e5978b8b.js";import"./Grow-3d640bff.js";import"./InputAdornment-42748b9a.js";import"./TextField-3876249c.js";import"./isMuiElement-447b74a0.js";import"./FormControlLabel-122a731f.js";import"./Checkbox-f9887e1d.js";import"./SwitchBase-8951f097.js";import"./TableRow-31f0a4a1.js";import"./CircularProgress-7b4c6820.js";import"./AuthBGLayout-4df679c8.js";import"./Grid2-70d79e93.js";import"./CardContent-ef96b4db.js";import"./Avatar-8d21d83f.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};
