import{j as t,B as r,R as a,T as e,e as m}from"./index-e6164346.js";import{o as n}from"./yup-5fd5d57b.js";import{c as l,b as p,u as d}from"./index.esm-0a041314.js";import"./GenericThumbnailView-80c6fd98.js";import{F as c}from"./FormInput-859198ec.js";import"./componentStyles-00385170.js";import{P as u}from"./PageMetaData-3ca96413.js";import"./ScrollableList-5a17e8f4.js";import"./TextArea-f5c200de.js";import{A as x}from"./AuthLayout-7da4cf74.js";import"./index-ce90e1a7.js";import"./createClass-ad55a3ca.js";import"./popper-f3391c26.js";import"./Select-9c2d8cd2.js";import"./index-e5978b8b.js";import"./Grow-306e2fd0.js";import"./InputAdornment-59975edf.js";import"./TextField-db9cff08.js";import"./isMuiElement-5779af4f.js";import"./FormControlLabel-ee192a98.js";import"./Checkbox-70f568c2.js";import"./SwitchBase-e1f0b96b.js";import"./TableRow-bf4e60a0.js";import"./CircularProgress-7d99d864.js";import"./AuthBGLayout-4680c359.js";import"./Grid2-c9c87842.js";import"./CardContent-f8fb4397.js";import"./Avatar-6ecb8317.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};
