import{j as t,B as r,K as a,T as e,c as m}from"./index-43bf7a1c.js";import{o as n}from"./yup-3b80ed10.js";import{u as l}from"./index.esm-0548c843.js";import"./componentStyles-4624000e.js";import{F as p}from"./FormInput-33b720a4.js";/* empty css                   */import{P as d}from"./PageMetaData-7350980e.js";import"./ScrollableList-e19132c3.js";import{c,b as u}from"./index.esm-f9e0a906.js";import{A as x}from"./AuthLayout-2a61bf4d.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-6bcf3cf8.js";import"./useFormControl-2c5d60c2.js";import"./List-6fcc4821.js";import"./InputAdornment-b1a1aa58.js";import"./index-913b2dc6.js";import"./useMediaQuery-d6627623.js";import"./useControlled-ab567149.js";import"./InputLabel-6c7474f0.js";import"./TableRow-86264944.js";import"./FormControlLabel-15b42e5e.js";import"./Checkbox-b7a88fca.js";import"./SwitchBase-75578ec7.js";import"./createSvgIcon-f118be02.js";import"./Loader-aabe9ed3.js";import"./AuthBGLayout-46e730c0.js";import"./CardContent-69a98a60.js";import"./Avatar-ec89b895.js";const h=()=>t.jsx(r,{sx:{my:"16px",display:"flex",justifyContent:"center"},children:t.jsxs(e,{variant:"body2",color:"text.secondary",sx:{display:"flex",flexWrap:"nowrap",gap:.5},children:["Already have account?",t.jsx(m,{to:"/auth/login",children:t.jsx(e,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),H=()=>{const o=c({email:u().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:i}=l({resolver:n(o),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:i(()=>null),children:[t.jsx(p,{name:"email",type:"email",label:"Email Address",containerSx:{mt:2},control:s}),t.jsx(r,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{H as default};
