import{j as t,B as o,E as m,T as r,d as a}from"./index-5768b108.js";import{o as n}from"./yup-7ddf262a.js";import{u as p}from"./index.esm-4803c918.js";import"./CustomDatepicker-c97efda4.js";import{F as l}from"./FormInput-be88fa2a.js";import"./index-42cce9d5.js";import{P as d}from"./PageMetaData-84e26924.js";import"./ScrollableList-c8e84a4e.js";import{c,b as u}from"./index.esm-85e2fec5.js";import"./SectionDivider-bc494fef.js";import{A as x}from"./AuthLayout-44daad99.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8a98392b.js";import"./useFormControl-e91ce3d1.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-82d0c147.js";import"./index-c58b1ae1.js";import"./index-4ca9e290.js";import"./useMediaQuery-493fa36e.js";import"./useControlled-821282b7.js";import"./InputLabel-bfa922b7.js";import"./FormControlLabel-a8ce6f4f.js";import"./Checkbox-6b2ed436.js";import"./SwitchBase-6c1eb44c.js";import"./createSvgIcon-51b522b8.js";import"./TableCell-73fa51e5.js";import"./TableRow-3593e946.js";import"./resolveProps-5b0bdb14.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-9a8473c9.js";import"./List-2cd167d2.js";import"./AuthBGLayout-7c059758.js";import"./CardContent-4b37116a.js";import"./Avatar-5307a35a.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};
