import{j as t,B as o,R as i,T as r,e as n}from"./index-858224db.js";import{c as p,b as m,u as c}from"./index.esm-241dec99.js";import{o as l}from"./yup-9213c3af.js";import"./GenericThumbnailView-2d7b7363.js";import{P as d}from"./PasswordInput-d7e3dff6.js";import"./componentStyles-107bd37e.js";import{P as x}from"./PageMetaData-69741ff8.js";import"./ScrollableList-bf78e54b.js";import"./TextArea-78cda1eb.js";import{A as u}from"./AuthLayout-034da150.js";import"./index-9223140c.js";import"./createClass-042c577b.js";import"./popper-f3391c26.js";import"./Select-8b602eed.js";import"./index-e5978b8b.js";import"./Grow-b7b43b3f.js";import"./InputAdornment-583927e5.js";import"./TextField-bbb2480f.js";import"./isMuiElement-ec705bc2.js";import"./useToggle-a6330f66.js";import"./FormInput-8eacbbd9.js";import"./FormControlLabel-c742681c.js";import"./Checkbox-57cdf644.js";import"./SwitchBase-959e94f2.js";import"./TableRow-ef998644.js";import"./CircularProgress-5bd54bd6.js";import"./AuthBGLayout-2a666e50.js";import"./Grid2-274bb638.js";import"./CardContent-0d2efdc7.js";import"./Avatar-cdf09d52.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};
