import{j as t,B as o,E as a,T as r,d as p}from"./index-6fe66247.js";import{u as m}from"./index.esm-8dc7c617.js";import{c as n,b as c}from"./index.esm-34c2a639.js";import{o as l}from"./yup-ef931f05.js";import"./CustomDatepicker-8082706c.js";import{P as d}from"./PasswordInput-862c7ca6.js";import"./index-b6aec95e.js";import{P as x}from"./PageMetaData-4821a42d.js";import"./ScrollableList-0f8e556e.js";import"./SectionDivider-ea552de1.js";import{A as u}from"./AuthLayout-99b62b66.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-982baeac.js";import"./useFormControl-35c6f1af.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-33eb10d0.js";import"./index-25f54021.js";import"./index-b6605ad3.js";import"./useMediaQuery-0f3d61e0.js";import"./useControlled-e803b382.js";import"./InputLabel-76d7f8cb.js";import"./useToggle-2579195d.js";import"./FormInput-ee3759f9.js";import"./FormControlLabel-27833f01.js";import"./Checkbox-bd35830c.js";import"./SwitchBase-c727f62d.js";import"./createSvgIcon-00102b53.js";import"./TableCell-1aea1cc4.js";import"./TableRow-3949f515.js";import"./resolveProps-d8ef25a0.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a478ed92.js";import"./List-11a0d6f8.js";import"./AuthBGLayout-a56ab887.js";import"./CardContent-6b060104.js";import"./Avatar-711191fc.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};
