import{j as t,B as o,R as i,T as r,e as n}from"./index-83d9c1e2.js";import{c as p,b as m,u as c}from"./index.esm-82874186.js";import{o as l}from"./yup-dfe9f223.js";import"./GenericThumbnailView-ceecb14e.js";import{P as d}from"./PasswordInput-27b210f0.js";import"./componentStyles-7858e543.js";import{P as x}from"./PageMetaData-1fb92714.js";import"./ScrollableList-2bb71a63.js";import"./TextArea-7d949f4d.js";import{A as u}from"./AuthLayout-0b88c48b.js";import"./index-1ceef347.js";import"./popper-f3391c26.js";import"./Select-1505055e.js";import"./index-e5978b8b.js";import"./Grow-6cc6748b.js";import"./InputAdornment-4b0a9854.js";import"./TextField-39c52322.js";import"./isMuiElement-5c2699ea.js";import"./useToggle-b581a326.js";import"./FormInput-03b7722e.js";import"./FormControlLabel-af5c9791.js";import"./Checkbox-fe0b2cdb.js";import"./SwitchBase-ad42caec.js";import"./TableRow-1c35ea2a.js";import"./CircularProgress-3ce9da74.js";import"./AuthBGLayout-83f74182.js";import"./Grid2-78565a55.js";import"./CardContent-fb0d7247.js";import"./Avatar-1662df64.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};
