import{j as t,B as o,R as i,T as r,e as n}from"./index-ba11e6ab.js";import{c as p,b as m,u as c}from"./index.esm-39ef576a.js";import{o as l}from"./yup-902af9ab.js";import"./GenericThumbnailView-511a7e33.js";import{P as d}from"./PasswordInput-e3664409.js";import"./componentStyles-cc6f218d.js";import{P as x}from"./PageMetaData-e3d52899.js";import"./ScrollableList-b4fc4d99.js";import"./TextArea-1c46e0e4.js";import{A as u}from"./AuthLayout-1d442dd5.js";import"./index-33824b7d.js";import"./popper-f3391c26.js";import"./Select-f9434f8a.js";import"./index-e5978b8b.js";import"./Grow-1038181b.js";import"./InputAdornment-0f07311f.js";import"./TextField-16337ecc.js";import"./isMuiElement-f8265807.js";import"./useToggle-627e15d8.js";import"./FormInput-3e62ad24.js";import"./FormControlLabel-8048035a.js";import"./Checkbox-3e187368.js";import"./SwitchBase-7d4e0bc8.js";import"./TableRow-e1616615.js";import"./CircularProgress-509803a6.js";import"./AuthBGLayout-6048f679.js";import"./Grid2-12794a3c.js";import"./CardContent-9c57d232.js";import"./Avatar-1c5fb46d.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};
