import{j as t,B as o,R as i,T as r,e as n}from"./index-aa25c5ff.js";import{c as p,b as m,u as c}from"./index.esm-a7f661dc.js";import{o as l}from"./yup-72cc4918.js";import"./GenericThumbnailView-e0343bac.js";import{P as d}from"./PasswordInput-8c8a79f9.js";import"./componentStyles-e32842f3.js";import{P as x}from"./PageMetaData-ba7cb151.js";import"./ScrollableList-9498bc37.js";import"./TextArea-d1a16eb1.js";import{A as u}from"./AuthLayout-5e1bd99b.js";import"./index-d4b36417.js";import"./createClass-d1bae5ec.js";import"./popper-f3391c26.js";import"./Select-b8388c2f.js";import"./index-e5978b8b.js";import"./Grow-53c7e965.js";import"./InputAdornment-1e7eea92.js";import"./TextField-55b66d20.js";import"./isMuiElement-1b254892.js";import"./useToggle-167172a0.js";import"./FormInput-dc74a5d8.js";import"./FormControlLabel-56777c7d.js";import"./Checkbox-d917a1e2.js";import"./SwitchBase-f1314509.js";import"./TableRow-ee82d902.js";import"./CircularProgress-d6cfca6d.js";import"./AuthBGLayout-dc24271f.js";import"./Grid2-d00e0f6a.js";import"./CardContent-879d5aba.js";import"./Avatar-06b03234.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};
