import{j as t,B as o,R as i,T as r,e as n}from"./index-7b9530f9.js";import{c as p,b as m,u as c}from"./index.esm-9b014892.js";import{o as l}from"./yup-07ccc04e.js";import"./GenericThumbnailView-c4b26278.js";import{P as d}from"./PasswordInput-538a00f8.js";import"./componentStyles-32cc6bb2.js";import{P as x}from"./PageMetaData-5d44fb3f.js";import"./ScrollableList-a1f8f012.js";import"./TextArea-d5cded1f.js";import{A as u}from"./AuthLayout-8b101d39.js";import"./index-1f83e1d2.js";import"./createClass-b83ea73b.js";import"./popper-f3391c26.js";import"./Select-71d7c76c.js";import"./index-e5978b8b.js";import"./Grow-ac96e569.js";import"./InputAdornment-e3017a11.js";import"./TextField-a16050c5.js";import"./isMuiElement-a5b21fef.js";import"./useToggle-6da56f14.js";import"./FormInput-61b47e5c.js";import"./FormControlLabel-2a2ee176.js";import"./Checkbox-635c9303.js";import"./SwitchBase-d816118b.js";import"./TableRow-18101d9c.js";import"./CircularProgress-ad60dd95.js";import"./AuthBGLayout-10e5532c.js";import"./Grid2-e0ccfa46.js";import"./CardContent-9515eacc.js";import"./Avatar-c3796022.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};
