import{j as t,B as o,E as m,T as r,d as a}from"./index-6fe66247.js";import{o as n}from"./yup-ef931f05.js";import{u as p}from"./index.esm-8dc7c617.js";import"./CustomDatepicker-8082706c.js";import{F as l}from"./FormInput-ee3759f9.js";import"./index-b6aec95e.js";import{P as d}from"./PageMetaData-4821a42d.js";import"./ScrollableList-0f8e556e.js";import{c,b as u}from"./index.esm-34c2a639.js";import"./SectionDivider-ea552de1.js";import{A as x}from"./AuthLayout-99b62b66.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-982baeac.js";import"./useFormControl-35c6f1af.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-33eb10d0.js";import"./index-25f54021.js";import"./index-b6605ad3.js";import"./useMediaQuery-0f3d61e0.js";import"./useControlled-e803b382.js";import"./InputLabel-76d7f8cb.js";import"./FormControlLabel-27833f01.js";import"./Checkbox-bd35830c.js";import"./SwitchBase-c727f62d.js";import"./createSvgIcon-00102b53.js";import"./TableCell-1aea1cc4.js";import"./TableRow-3949f515.js";import"./resolveProps-d8ef25a0.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a478ed92.js";import"./List-11a0d6f8.js";import"./AuthBGLayout-a56ab887.js";import"./CardContent-6b060104.js";import"./Avatar-711191fc.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};
