import{j as t,B as o,R as i,T as r,e as n}from"./index-0698dbe6.js";import{c as p,b as m,u as c}from"./index.esm-85d015f3.js";import{o as l}from"./yup-7a53beb8.js";import"./GenericThumbnailView-dca658f3.js";import{P as d}from"./PasswordInput-72cfeedd.js";import"./componentStyles-91278318.js";import{P as x}from"./PageMetaData-cd33e3c3.js";import"./ScrollableList-fc87149c.js";import"./TextArea-91c96faf.js";import{A as u}from"./AuthLayout-f0dadaed.js";import"./index-c9a9ee7a.js";import"./createClass-61c32f27.js";import"./popper-f3391c26.js";import"./Select-371fc2c6.js";import"./index-e5978b8b.js";import"./Grow-ea87e600.js";import"./InputAdornment-0c2174b6.js";import"./TextField-4222c766.js";import"./isMuiElement-d179539f.js";import"./useToggle-e2dc2782.js";import"./FormInput-98c39817.js";import"./FormControlLabel-5da20c5e.js";import"./Checkbox-987be799.js";import"./SwitchBase-6519d4d3.js";import"./TableRow-2848b050.js";import"./CircularProgress-4f55e66c.js";import"./AuthBGLayout-321e3c6d.js";import"./Grid2-a3850bef.js";import"./CardContent-da6ab0f2.js";import"./Avatar-ee0f38ce.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};
