import{j as t,B as o,U as i,T as r,e as n}from"./index-c3f592b2.js";import{c as p,b as m,u as c}from"./index.esm-70dd1c06.js";import{o as l}from"./yup-abb4a026.js";import"./GenericThumbnailView-9f1d2f81.js";import{P as d}from"./PasswordInput-02a8b3a0.js";import"./componentStyles-b8fcedb5.js";import{P as x}from"./PageMetaData-94316e20.js";import"./ScrollableList-ecbfc0f3.js";import"./TextArea-674a9ec6.js";import{A as u}from"./AuthLayout-8928a4a6.js";import"./index-78da10f4.js";import"./createClass-c7973e27.js";import"./popper-f3391c26.js";import"./Select-9d10c4ab.js";import"./Grow-f61cc5ca.js";import"./InputAdornment-fd596377.js";import"./TextField-7d0d5009.js";import"./isMuiElement-43203123.js";import"./useToggle-a9e32369.js";import"./FormInput-adbf55b1.js";import"./FormControlLabel-3f9f7a84.js";import"./Checkbox-38171bff.js";import"./SwitchBase-38103115.js";import"./TableRow-974e102e.js";import"./AuthBGLayout-7b6749b2.js";import"./Grid2-9e718eb0.js";import"./CardContent-fa813e56.js";import"./Avatar-2bf7675d.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"})})]})}),G=()=>{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{G as default};
