import{j as t,B as o,R as i,T as r,e as n}from"./index-6c48ebe4.js";import{c as p,b as m,u as c}from"./index.esm-fd3369ba.js";import{o as l}from"./yup-75ac0470.js";import"./GenericThumbnailView-e18774c4.js";import{P as d}from"./PasswordInput-d988daad.js";import"./componentStyles-1dd5fe29.js";import{P as x}from"./PageMetaData-80da715a.js";import"./ScrollableList-e9cb113e.js";import"./TextArea-4432195b.js";import{A as u}from"./AuthLayout-9d82ed2e.js";import"./index-84485105.js";import"./createClass-8ad09c76.js";import"./popper-f3391c26.js";import"./Select-c5c274bb.js";import"./index-e5978b8b.js";import"./Grow-3d640bff.js";import"./InputAdornment-42748b9a.js";import"./TextField-3876249c.js";import"./isMuiElement-447b74a0.js";import"./useToggle-67f35d17.js";import"./FormInput-345d040e.js";import"./FormControlLabel-122a731f.js";import"./Checkbox-f9887e1d.js";import"./SwitchBase-8951f097.js";import"./TableRow-31f0a4a1.js";import"./CircularProgress-7b4c6820.js";import"./AuthBGLayout-4df679c8.js";import"./Grid2-70d79e93.js";import"./CardContent-ef96b4db.js";import"./Avatar-8d21d83f.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};
