import{j as t,B as o,E as a,T as r,d as p}from"./index-1350aa97.js";import{u as m}from"./index.esm-e43efa83.js";import{c as n,b as c}from"./index.esm-74444d29.js";import{o as l}from"./yup-eafdc449.js";import"./CustomDatepicker-9019a583.js";import{P as d}from"./PasswordInput-fc43aaaa.js";import"./index-bd875dae.js";import{P as x}from"./PageMetaData-88e17dcb.js";import"./ScrollableList-3f260516.js";import"./SectionDivider-474af95d.js";import{A as u}from"./AuthLayout-390a2daf.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8de92ced.js";import"./useFormControl-dd6168e4.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-0139a25d.js";import"./index-dd1e751c.js";import"./index-8daffd3f.js";import"./useMediaQuery-a3126238.js";import"./useControlled-39301d68.js";import"./InputLabel-13efa73d.js";import"./useToggle-562795a7.js";import"./FormInput-ae738dd5.js";import"./FormControlLabel-bb108ea8.js";import"./Checkbox-31f55eb3.js";import"./SwitchBase-5c5bade7.js";import"./createSvgIcon-2e83c7e0.js";import"./TableCell-a6f79ef2.js";import"./TableRow-c7fca392.js";import"./resolveProps-d26bdf8f.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a7d7cd46.js";import"./List-538d4780.js";import"./AuthBGLayout-14fd74d1.js";import"./CardContent-ded20b1f.js";import"./Avatar-cb5b344c.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};
