import{j as t,B as r,R as a,T as e,e as m}from"./index-5ae5cc5e.js";import{o as n}from"./yup-86a48159.js";import{c as l,b as p,u as d}from"./index.esm-bd37e938.js";import"./GenericThumbnailView-fac7773c.js";import{F as c}from"./FormInput-77541d96.js";import"./componentStyles-7d84c389.js";import{P as u}from"./PageMetaData-8ba89049.js";import"./ScrollableList-2ee889f8.js";import"./TextArea-20f097f8.js";import{A as x}from"./AuthLayout-71cdfa7b.js";import"./index-125b1c7e.js";import"./createClass-227e27b6.js";import"./popper-f3391c26.js";import"./Select-6f375e89.js";import"./index-e5978b8b.js";import"./Grow-d70e9b6d.js";import"./InputAdornment-c8af61f0.js";import"./TextField-013fef4f.js";import"./isMuiElement-c29cfc23.js";import"./FormControlLabel-b2fabe81.js";import"./Checkbox-84b6779a.js";import"./SwitchBase-4fa73d90.js";import"./TableRow-fbdd6d52.js";import"./CircularProgress-672898c5.js";import"./AuthBGLayout-a337a057.js";import"./Grid2-48c222cb.js";import"./CardContent-12b28b82.js";import"./Avatar-41b65d79.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};
