import{j as t,B as o,E as a,T as r,d as p}from"./index-55b8aeb0.js";import{u as m}from"./index.esm-31587b9b.js";import{c as n,b as c}from"./index.esm-8f37a121.js";import{o as l}from"./yup-21078b88.js";import"./CustomDatepicker-9892b2ee.js";import{P as d}from"./PasswordInput-b3a041ac.js";import"./index-7c560a47.js";import{P as x}from"./PageMetaData-7be90250.js";import"./ScrollableList-a069ff95.js";import"./SectionDivider-0fcc86df.js";import{A as u}from"./AuthLayout-c99973d4.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-113a096e.js";import"./useFormControl-0fae9ee7.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-a1329ca0.js";import"./index-b46d078b.js";import"./index-3c3af0a2.js";import"./useMediaQuery-74f5c38e.js";import"./useControlled-dc1d5a3a.js";import"./InputLabel-0efc058b.js";import"./useToggle-24d42bce.js";import"./FormInput-6413815f.js";import"./FormControlLabel-7f4c5338.js";import"./Checkbox-7944a976.js";import"./SwitchBase-02f489c2.js";import"./createSvgIcon-61f1439a.js";import"./TableCell-53983040.js";import"./TableRow-abb96e14.js";import"./resolveProps-950d970c.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-ea700eba.js";import"./List-131a37dd.js";import"./AuthBGLayout-e8044dcb.js";import"./CardContent-5d45e66d.js";import"./Avatar-81057b61.js";const h="/static/3c251c4b.png",f=()=>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:["Not you? return",t.jsx(p,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),ot=()=>{const i=n({password:c().required("Please enter password")}),{control:s,handleSubmit:e}=m({resolver:l(i),defaultValues:{password:"password"}});return t.jsxs(t.Fragment,{children:[t.jsx(x,{title:"Lock Screen"}),t.jsx(u,{authTitle:"Hi! Tosha",helpText:"Enter your password to access the admin.",bottomLinks:t.jsx(f,{}),pageImage:h,children:t.jsxs("form",{onSubmit:e(()=>null),children:[t.jsx(d,{name:"password",type:"password",label:"Password",containerSx:{mt:2},control:s}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Login"})})]})})]})};export{ot as default};
