import{j as t,B as o,R as i,T as r,e as n}from"./index-952e178b.js";import{c as p,b as m,u as c}from"./index.esm-6feddb16.js";import{o as l}from"./yup-d92565dd.js";import"./GenericThumbnailView-4e535459.js";import{P as d}from"./PasswordInput-54ff1495.js";import"./componentStyles-00160cc0.js";import{P as x}from"./PageMetaData-7c78dec7.js";import"./ScrollableList-cd5816a8.js";import"./TextArea-ce7716c9.js";import{A as u}from"./AuthLayout-ee90ef4c.js";import"./index-22eb3e7f.js";import"./createClass-5a32667f.js";import"./popper-f3391c26.js";import"./Select-41d78585.js";import"./index-e5978b8b.js";import"./InputAdornment-020147de.js";import"./TextField-d1a887ff.js";import"./isMuiElement-f03a71e4.js";import"./useToggle-471b6d1d.js";import"./FormInput-8320115a.js";import"./FormControlLabel-973be654.js";import"./Checkbox-6c7c4dc0.js";import"./SwitchBase-bd5cc4c6.js";import"./TableRow-6a27d7f4.js";import"./CircularProgress-3b605689.js";import"./AuthBGLayout-904dec44.js";import"./Grid2-7b742c2a.js";import"./CardContent-f79f90af.js";import"./Avatar-d2c68597.js";const h="/static/3c251c4b.png",j=()=>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"})})]})}),K=()=>{const s=p({password:m().required("Please enter password")}),{control:e,handleSubmit:a}=c({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(j,{}),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{K as default};
