import{j as t,B as o,E as m,T as r,d as a}from"./index-7414fd54.js";import{o as n}from"./yup-42c56a9b.js";import{u as p}from"./index.esm-87a8ddec.js";import"./CustomDatepicker-6be798ca.js";import{F as l}from"./FormInput-64d1ec95.js";import"./index-b6124309.js";import{P as d}from"./PageMetaData-872a9787.js";import"./ScrollableList-abce50c2.js";import{c,b as u}from"./index.esm-24ac0554.js";import"./SectionDivider-ec0341fc.js";import{A as x}from"./AuthLayout-18981330.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-dd801d4f.js";import"./useFormControl-99b033b3.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-038fa482.js";import"./index-b7f52b29.js";import"./index-89446b48.js";import"./useMediaQuery-c16b4b9b.js";import"./useControlled-dcaff400.js";import"./InputLabel-d3b034a6.js";import"./FormControlLabel-a16084f0.js";import"./Checkbox-8a9dfdf4.js";import"./SwitchBase-c8eea343.js";import"./createSvgIcon-76207f66.js";import"./TableCell-3cadf061.js";import"./TableRow-34be244e.js";import"./resolveProps-3552295b.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-c92acce6.js";import"./List-5ed8845c.js";import"./AuthBGLayout-0c8bb0e8.js";import"./CardContent-8ed30fb2.js";import"./Avatar-4ca5c5e5.js";const h=()=>t.jsx(o,{sx:{my:"16px",display:"flex",justifyContent:"center"},children:t.jsxs(r,{variant:"body2",color:"text.secondary",sx:{display:"flex",flexWrap:"nowrap",gap:.5},children:["Already have account?",t.jsx(a,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),_=()=>{const e=c({email:u().email("Please enter valid email").required("Please enter email")}),{control:i,handleSubmit:s}=p({resolver:n(e),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(d,{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:s(()=>null),children:[t.jsx(l,{name:"email",type:"email",label:"Email Address",containerSx:{mt:2},control:i}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(m,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{_ as default};
