import{j as t,B as o,R as i,T as r,e as n}from"./index-5ae5cc5e.js";import{c as p,b as m,u as c}from"./index.esm-bd37e938.js";import{o as l}from"./yup-86a48159.js";import"./GenericThumbnailView-fac7773c.js";import{P as d}from"./PasswordInput-087ccef2.js";import"./componentStyles-7d84c389.js";import{P as x}from"./PageMetaData-8ba89049.js";import"./ScrollableList-2ee889f8.js";import"./TextArea-20f097f8.js";import{A as u}from"./AuthLayout-71cdfa7b.js";import"./index-125b1c7e.js";import"./createClass-227e27b6.js";import"./popper-f3391c26.js";import"./Select-6f375e89.js";import"./index-e5978b8b.js";import"./Grow-d70e9b6d.js";import"./InputAdornment-c8af61f0.js";import"./TextField-013fef4f.js";import"./isMuiElement-c29cfc23.js";import"./useToggle-e92be28d.js";import"./FormInput-77541d96.js";import"./FormControlLabel-b2fabe81.js";import"./Checkbox-84b6779a.js";import"./SwitchBase-4fa73d90.js";import"./TableRow-fbdd6d52.js";import"./CircularProgress-672898c5.js";import"./AuthBGLayout-a337a057.js";import"./Grid2-48c222cb.js";import"./CardContent-12b28b82.js";import"./Avatar-41b65d79.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};
