import{j as t,B as r,R as a,T as e,e as m}from"./index-ba11e6ab.js";import{o as n}from"./yup-902af9ab.js";import{c as l,b as p,u as d}from"./index.esm-39ef576a.js";import"./GenericThumbnailView-511a7e33.js";import{F as c}from"./FormInput-3e62ad24.js";import"./componentStyles-cc6f218d.js";import{P as u}from"./PageMetaData-e3d52899.js";import"./ScrollableList-b4fc4d99.js";import"./TextArea-1c46e0e4.js";import{A as x}from"./AuthLayout-1d442dd5.js";import"./index-33824b7d.js";import"./popper-f3391c26.js";import"./Select-f9434f8a.js";import"./index-e5978b8b.js";import"./Grow-1038181b.js";import"./InputAdornment-0f07311f.js";import"./TextField-16337ecc.js";import"./isMuiElement-f8265807.js";import"./FormControlLabel-8048035a.js";import"./Checkbox-3e187368.js";import"./SwitchBase-7d4e0bc8.js";import"./TableRow-e1616615.js";import"./CircularProgress-509803a6.js";import"./AuthBGLayout-6048f679.js";import"./Grid2-12794a3c.js";import"./CardContent-9c57d232.js";import"./Avatar-1c5fb46d.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"})})]})}),H=()=>{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{H as default};
