import{j as t,B as o,E as a,T as r,d as p}from"./index-c910e189.js";import{u as m}from"./index.esm-cb7a914e.js";import{c as n,b as c}from"./index.esm-4b824583.js";import{o as l}from"./yup-e6171339.js";import"./CustomDatepicker-fa2ab383.js";import{P as d}from"./PasswordInput-e66c20d7.js";import"./index-f58a077c.js";import{P as x}from"./PageMetaData-1d38d5f3.js";import"./ScrollableList-4f192da2.js";import"./SectionDivider-782acfa4.js";import{A as u}from"./AuthLayout-5c296379.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-5e0321ba.js";import"./useFormControl-2acc5484.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-9bf084ba.js";import"./index-3e499916.js";import"./index-eec67340.js";import"./useMediaQuery-f2cfdb18.js";import"./useControlled-e4156ecd.js";import"./InputLabel-8a73326d.js";import"./useToggle-22184636.js";import"./FormInput-a4f22564.js";import"./FormControlLabel-ef037a46.js";import"./Checkbox-9660f964.js";import"./SwitchBase-7c59984b.js";import"./createSvgIcon-482c4579.js";import"./TableCell-f4de0f25.js";import"./TableRow-778e2904.js";import"./resolveProps-d3929786.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-015539db.js";import"./List-5ca02ce5.js";import"./AuthBGLayout-fb156280.js";import"./CardContent-66856645.js";import"./Avatar-4bda1c81.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"})})]})}),ot=()=>{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{ot as default};
