import{j as t,B as o,E as m,T as r,d as a}from"./index-aa586041.js";import{o as n}from"./yup-75085264.js";import{u as p}from"./index.esm-c1bef48d.js";import"./CustomDatepicker-26155063.js";import{F as l}from"./FormInput-7412b024.js";import"./index-e3cd0864.js";import{P as d}from"./PageMetaData-1d7ce7c7.js";import"./ScrollableList-fcc6a14c.js";import{c,b as u}from"./index.esm-5d8102a7.js";import"./SectionDivider-2f9208fa.js";import{A as x}from"./AuthLayout-75ecf559.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8f0d0162.js";import"./useFormControl-1a7e7d92.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-2dac8dca.js";import"./index-c5e91153.js";import"./index-1d230708.js";import"./useMediaQuery-64e46ff0.js";import"./useControlled-e0c526ba.js";import"./InputLabel-fa135afd.js";import"./FormControlLabel-ab2ab32c.js";import"./Checkbox-da19fcfe.js";import"./SwitchBase-8c9d77fa.js";import"./createSvgIcon-26e7576d.js";import"./TableCell-171b9885.js";import"./TableRow-6b2aeb5d.js";import"./resolveProps-185f0451.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a6efd9c3.js";import"./List-d99f3a17.js";import"./AuthBGLayout-27c00a4b.js";import"./CardContent-c0781282.js";import"./Avatar-7233b687.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};
