import{j as t,B as r,U as i,T as e,e as m}from"./index-60657852.js";import{o as n}from"./yup-75ad371b.js";import{c as l,b as p,u as d}from"./index.esm-509a598d.js";import"./GenericThumbnailView-f8b17afa.js";import{F as c}from"./FormInput-6b018fe9.js";import"./componentStyles-19763afb.js";import{P as u}from"./PageMetaData-d5633bbc.js";import"./ScrollableList-ef4c85dc.js";import"./TextArea-d897dbf9.js";import{A as x}from"./AuthLayout-db420522.js";import"./index-980acb6c.js";import"./createClass-2b895736.js";import"./popper-f3391c26.js";import"./Select-7d2a5359.js";import"./Grow-a21bdd26.js";import"./InputAdornment-12fc79ce.js";import"./TextField-6b778b78.js";import"./isMuiElement-82a67859.js";import"./FormControlLabel-95d4d7bb.js";import"./Checkbox-026acf65.js";import"./SwitchBase-3b306fc6.js";import"./TableRow-0ab1e69a.js";import"./AuthBGLayout-8930e269.js";import"./Grid2-09163d35.js";import"./CardContent-f8a5d460.js";import"./Avatar-44209507.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"})})]})}),W=()=>{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{W as default};
