import{j as t,B as o,K as i,T as r,c as n}from"./index-43bf7a1c.js";import{u as p}from"./index.esm-0548c843.js";import{c as m,b as c}from"./index.esm-f9e0a906.js";import{o as l}from"./yup-3b80ed10.js";import"./componentStyles-4624000e.js";import{P as d}from"./PasswordInput-5e9b3b58.js";/* empty css                   */import{P as x}from"./PageMetaData-7350980e.js";import"./ScrollableList-e19132c3.js";import{A as u}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"./useToggle-cac8da91.js";import"./FormInput-33b720a4.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="/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(n,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),O=()=>{const s=m({password:c().required("Please enter password")}),{control:e,handleSubmit:a}=p({resolver:l(s),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:a(()=>null),children:[t.jsx(d,{name:"password",type:"password",label:"Password",containerSx:{mt:2},control:e}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(i,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Login"})})]})})]})};export{O as default};
