import{j as t,B as r,z as a,T as e,e as m}from"./index-c5c88b67.js";import{o as n}from"./yup-41605283.js";import{c as l,b as p,u as d}from"./index.esm-81620445.js";import"./GenericThumbnailView-43782201.js";import{F as c}from"./FormInput-86f14880.js";import"./componentStyles-a5e5a830.js";import{P as u}from"./PageMetaData-deabce52.js";import"./ScrollableList-21ab2b9c.js";import"./TextArea-aad9dffe.js";import{A as x}from"./AuthLayout-5581ee5f.js";import"./index-c98d1d89.js";import"./createClass-fb49042e.js";import"./popper-f3391c26.js";import"./Select-4ed8db5d.js";import"./index-e5978b8b.js";import"./Menu-e7d2b2ee.js";import"./Grow-7345f8ea.js";import"./InputAdornment-d66117f3.js";import"./TextField-78388962.js";import"./isMuiElement-b3c21f38.js";import"./FormControlLabel-d6955dc8.js";import"./TableRow-2b359fa8.js";import"./CircularProgress-13afa056.js";import"./AuthBGLayout-38d20a14.js";import"./Grid2-0ff60c92.js";import"./CardContent-5f043396.js";import"./Avatar-94102376.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=l({email:p().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:i}=d({resolver:n(o),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(u,{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(c,{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};
