import{j as t,B as o,R as i,T as r,e as n}from"./index-c121b02d.js";import{c as p,b as m,u as c}from"./index.esm-0c6778ff.js";import{o as l}from"./yup-1361ecb6.js";import"./GenericThumbnailView-77114fcb.js";import{P as d}from"./PasswordInput-9f2d2a09.js";import"./componentStyles-2d610038.js";import{P as x}from"./PageMetaData-a1035f31.js";import"./ScrollableList-dc408f1e.js";import"./TextArea-dfbfc4f6.js";import{A as u}from"./AuthLayout-14b04707.js";import"./index-2d756126.js";import"./createClass-66eb0661.js";import"./popper-f3391c26.js";import"./Select-dd7adaf8.js";import"./index-e5978b8b.js";import"./Grow-9a484472.js";import"./InputAdornment-ae4c2625.js";import"./TextField-f9d2a024.js";import"./isMuiElement-d52f64c2.js";import"./useToggle-a698e2bf.js";import"./FormInput-c000e22e.js";import"./FormControlLabel-560df3d1.js";import"./Checkbox-a6136302.js";import"./SwitchBase-9f520d13.js";import"./TableRow-0b65a5b3.js";import"./CircularProgress-fa872e62.js";import"./AuthBGLayout-7beeb34f.js";import"./Grid2-1ceedf41.js";import"./CardContent-ed3e9467.js";import"./Avatar-da325e72.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"})})]})}),O=()=>{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{O as default};
