import{j as t,B as o,U as i,T as r,e as n}from"./index-60657852.js";import{c as p,b as m,u as c}from"./index.esm-509a598d.js";import{o as l}from"./yup-75ad371b.js";import"./GenericThumbnailView-f8b17afa.js";import{P as d}from"./PasswordInput-8778992c.js";import"./componentStyles-19763afb.js";import{P as x}from"./PageMetaData-d5633bbc.js";import"./ScrollableList-ef4c85dc.js";import"./TextArea-d897dbf9.js";import{A as u}from"./AuthLayout-db420522.js";import"./index-980acb6c.js";import"./createClass-2b895736.js";import"./popper-f3391c26.js";import"./Select-7d2a5359.js";import"./Grow-a21bdd26.js";import"./InputAdornment-12fc79ce.js";import"./TextField-6b778b78.js";import"./isMuiElement-82a67859.js";import"./useToggle-04d5760d.js";import"./FormInput-6b018fe9.js";import"./FormControlLabel-95d4d7bb.js";import"./Checkbox-026acf65.js";import"./SwitchBase-3b306fc6.js";import"./TableRow-0ab1e69a.js";import"./AuthBGLayout-8930e269.js";import"./Grid2-09163d35.js";import"./CardContent-f8a5d460.js";import"./Avatar-44209507.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};
