import{j as t,B as o,E as m,T as r,d as a}from"./index-c910e189.js";import{o as n}from"./yup-e6171339.js";import{u as p}from"./index.esm-cb7a914e.js";import"./CustomDatepicker-fa2ab383.js";import{F as l}from"./FormInput-a4f22564.js";import"./index-f58a077c.js";import{P as d}from"./PageMetaData-1d38d5f3.js";import"./ScrollableList-4f192da2.js";import{c,b as u}from"./index.esm-4b824583.js";import"./SectionDivider-782acfa4.js";import{A as x}from"./AuthLayout-5c296379.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-5e0321ba.js";import"./useFormControl-2acc5484.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-9bf084ba.js";import"./index-3e499916.js";import"./index-eec67340.js";import"./useMediaQuery-f2cfdb18.js";import"./useControlled-e4156ecd.js";import"./InputLabel-8a73326d.js";import"./FormControlLabel-ef037a46.js";import"./Checkbox-9660f964.js";import"./SwitchBase-7c59984b.js";import"./createSvgIcon-482c4579.js";import"./TableCell-f4de0f25.js";import"./TableRow-778e2904.js";import"./resolveProps-d3929786.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-015539db.js";import"./List-5ca02ce5.js";import"./AuthBGLayout-fb156280.js";import"./CardContent-66856645.js";import"./Avatar-4bda1c81.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};
