import{j as t,B as o,E as a,T as r,d as p}from"./index-d9e0bbb9.js";import{u as m}from"./index.esm-97139da9.js";import{c as n,b as c}from"./index.esm-65c50bc3.js";import{o as l}from"./yup-267c2267.js";import"./CustomDatepicker-9495774a.js";import{P as d}from"./PasswordInput-f1f4f54b.js";import"./index-e61c8ded.js";import{P as x}from"./PageMetaData-c80444e2.js";import"./ScrollableList-03cda798.js";import"./SectionDivider-95fcfa90.js";import{A as u}from"./AuthLayout-888464a6.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8f17518b.js";import"./useFormControl-8bb67ca0.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-978b4608.js";import"./index-3bec8271.js";import"./index-1253245b.js";import"./useMediaQuery-1b7ae287.js";import"./useControlled-ba6710bb.js";import"./InputLabel-8c8abfdd.js";import"./useToggle-b6ab51df.js";import"./FormInput-44ad439a.js";import"./FormControlLabel-685586a9.js";import"./Checkbox-74feb846.js";import"./SwitchBase-8b88dd2c.js";import"./createSvgIcon-c99d086f.js";import"./TableCell-643437b4.js";import"./TableRow-113a14fe.js";import"./resolveProps-ba55e2df.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-720374c3.js";import"./popper-f3391c26.js";import"./styled-8fd62552.js";import"./List-c3ed6b04.js";import"./AuthBGLayout-07506df1.js";import"./CardContent-0df4f94a.js";import"./Avatar-1439ea34.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(p,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),rt=()=>{const i=n({password:c().required("Please enter password")}),{control:s,handleSubmit:e}=m({resolver:l(i),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:e(()=>null),children:[t.jsx(d,{name:"password",type:"password",label:"Password",containerSx:{mt:2},control:s}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Login"})})]})})]})};export{rt as default};
