import{j as t,B as o,K as i,T as r,c as n}from"./index-60a3c753.js";import{u as p}from"./index.esm-c494934a.js";import{c as m,b as c}from"./index.esm-62d6b2f7.js";import{o as l}from"./yup-92678dde.js";import"./componentStyles-7753bbb9.js";import{P as d}from"./PasswordInput-904f6564.js";/* empty css                   */import{P as x}from"./PageMetaData-198e143e.js";import"./ScrollableList-1962b023.js";import{A as u}from"./AuthLayout-d2381bb6.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-3a884178.js";import"./useFormControl-e13b5747.js";import"./List-f567f8e4.js";import"./InputAdornment-96c40dce.js";import"./index-900fa817.js";import"./useMediaQuery-dba48e3b.js";import"./useControlled-194ef007.js";import"./InputLabel-71dfc9d4.js";import"./TableRow-0b33776c.js";import"./useToggle-593ec652.js";import"./FormInput-74e2c4d2.js";import"./FormControlLabel-950ba0c7.js";import"./Checkbox-fe59fe9f.js";import"./SwitchBase-eb3a47ff.js";import"./createSvgIcon-de433e5f.js";import"./Loader-466ccb5e.js";import"./AuthBGLayout-01038304.js";import"./CardContent-faee3650.js";import"./Avatar-a21f41a5.js";const h="/static/3c251c4b.png",f=()=>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=m({password:c().required("Please enter password")}),{control:e,handleSubmit:a}=p({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(f,{}),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};
