import{j as t,B as o,R as i,T as r,e as n}from"./index-e6164346.js";import{c as p,b as m,u as c}from"./index.esm-0a041314.js";import{o as l}from"./yup-5fd5d57b.js";import"./GenericThumbnailView-80c6fd98.js";import{P as d}from"./PasswordInput-3b5d4833.js";import"./componentStyles-00385170.js";import{P as x}from"./PageMetaData-3ca96413.js";import"./ScrollableList-5a17e8f4.js";import"./TextArea-f5c200de.js";import{A as u}from"./AuthLayout-7da4cf74.js";import"./index-ce90e1a7.js";import"./createClass-ad55a3ca.js";import"./popper-f3391c26.js";import"./Select-9c2d8cd2.js";import"./index-e5978b8b.js";import"./Grow-306e2fd0.js";import"./InputAdornment-59975edf.js";import"./TextField-db9cff08.js";import"./isMuiElement-5779af4f.js";import"./useToggle-0addaaea.js";import"./FormInput-859198ec.js";import"./FormControlLabel-ee192a98.js";import"./Checkbox-70f568c2.js";import"./SwitchBase-e1f0b96b.js";import"./TableRow-bf4e60a0.js";import"./CircularProgress-7d99d864.js";import"./AuthBGLayout-4680c359.js";import"./Grid2-c9c87842.js";import"./CardContent-f8fb4397.js";import"./Avatar-6ecb8317.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};
