import{j as t,B as o,z as i,T as r,e as n}from"./index-d895656a.js";import{c as p,b as m,u as c}from"./index.esm-1087b2f3.js";import{o as l}from"./yup-9573aa79.js";import"./GenericThumbnailView-532ea2d7.js";import{P as d}from"./PasswordInput-fdd9469f.js";import"./componentStyles-866300fe.js";import{P as x}from"./PageMetaData-47148824.js";import"./ScrollableList-e2b22048.js";import"./TextArea-fb0d0821.js";import{A as u}from"./AuthLayout-c01ba4d1.js";import"./index-45bf15b6.js";import"./popper-f3391c26.js";import"./Select-6d425a72.js";import"./index-e5978b8b.js";import"./Menu-1728e1dd.js";import"./Grow-d4be81a5.js";import"./InputAdornment-36977269.js";import"./TextField-6f73e19a.js";import"./isMuiElement-424c145f.js";import"./useToggle-ec04b654.js";import"./FormInput-9b5da280.js";import"./FormControlLabel-2fb7bcfb.js";import"./TableRow-5557ab84.js";import"./CircularProgress-1f3ca34c.js";import"./AuthBGLayout-d2920904.js";import"./Grid2-5bd460ea.js";import"./CardContent-26fc99d8.js";import"./Avatar-2ad4b384.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"})})]})}),J=()=>{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{J as default};
