import{j as t,B as r,U as i,T as e,e as m}from"./index-c3f592b2.js";import{o as n}from"./yup-abb4a026.js";import{c as l,b as p,u as d}from"./index.esm-70dd1c06.js";import"./GenericThumbnailView-9f1d2f81.js";import{F as c}from"./FormInput-adbf55b1.js";import"./componentStyles-b8fcedb5.js";import{P as u}from"./PageMetaData-94316e20.js";import"./ScrollableList-ecbfc0f3.js";import"./TextArea-674a9ec6.js";import{A as x}from"./AuthLayout-8928a4a6.js";import"./index-78da10f4.js";import"./createClass-c7973e27.js";import"./popper-f3391c26.js";import"./Select-9d10c4ab.js";import"./Grow-f61cc5ca.js";import"./InputAdornment-fd596377.js";import"./TextField-7d0d5009.js";import"./isMuiElement-43203123.js";import"./FormControlLabel-3f9f7a84.js";import"./Checkbox-38171bff.js";import"./SwitchBase-38103115.js";import"./TableRow-974e102e.js";import"./AuthBGLayout-7b6749b2.js";import"./Grid2-9e718eb0.js";import"./CardContent-fa813e56.js";import"./Avatar-2bf7675d.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};
