import{j as t,B as o,E as a,T as r,d as p}from"./index-7d3dbb9c.js";import{u as m}from"./index.esm-12cc9f7b.js";import{c as n,b as c}from"./index.esm-9d396c5f.js";import{o as l}from"./yup-55e79238.js";import"./CustomDatepicker-6d5ad1ab.js";import{P as d}from"./PasswordInput-03f34751.js";import"./index-b5c17d61.js";import{P as x}from"./PageMetaData-69209ade.js";import"./ScrollableList-ffeab0b0.js";import"./SectionDivider-be0a23cf.js";import{A as u}from"./AuthLayout-7008e480.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-e6d419ce.js";import"./useFormControl-7314cc67.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-bbfa18ee.js";import"./index-7976e00d.js";import"./index-e9cb9551.js";import"./useMediaQuery-77b67f07.js";import"./useControlled-338e346b.js";import"./InputLabel-ade41a0b.js";import"./useToggle-5f2db218.js";import"./FormInput-602ae51d.js";import"./FormControlLabel-4a3a4313.js";import"./Checkbox-4b8e4bb1.js";import"./SwitchBase-d834be30.js";import"./createSvgIcon-25cfe1a8.js";import"./TableCell-26014f2c.js";import"./TableRow-23a8435a.js";import"./resolveProps-4b8623f7.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-720374c3.js";import"./popper-f3391c26.js";import"./styled-446e5583.js";import"./List-d7c020ab.js";import"./AuthBGLayout-7ff33852.js";import"./CardContent-184f4e92.js";import"./Avatar-4afe3b6a.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};
