import{j as t,B as o,R as i,T as r,e as n}from"./index-e972fa8e.js";import{c as p,b as m,u as c}from"./index.esm-b3c20f6d.js";import{o as l}from"./yup-b3178c01.js";import"./GenericThumbnailView-38007944.js";import{P as d}from"./PasswordInput-69507810.js";import"./componentStyles-7142291f.js";import{P as x}from"./PageMetaData-c3c9cb80.js";import"./ScrollableList-4768c2b7.js";import"./TextArea-6c7f39e1.js";import{A as u}from"./AuthLayout-6015d476.js";import"./index-44db81fe.js";import"./createClass-8ffbea6f.js";import"./popper-f3391c26.js";import"./Select-a2938be0.js";import"./index-e5978b8b.js";import"./Grow-0b3a9797.js";import"./InputAdornment-acd34c72.js";import"./TextField-77f9d647.js";import"./isMuiElement-fab695f8.js";import"./useToggle-22c525ed.js";import"./FormInput-dbaa88c2.js";import"./FormControlLabel-77a47114.js";import"./Checkbox-05d562e2.js";import"./SwitchBase-a3d90b7d.js";import"./TableRow-c60adf0a.js";import"./CircularProgress-58819244.js";import"./AuthBGLayout-f2d4c1f4.js";import"./Grid2-936c64bd.js";import"./CardContent-4b9f1338.js";import"./Avatar-fb312f17.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};
