import{j as t,B as o,K as i,T as r,c as n}from"./index-def636a4.js";import{u as p}from"./index.esm-7d9d1491.js";import{c as m,b as c}from"./index.esm-eec4f448.js";import{o as l}from"./yup-c8535458.js";import"./componentStyles-41382c67.js";import{P as d}from"./PasswordInput-10db46e3.js";/* empty css                   */import{P as x}from"./PageMetaData-0f9457e5.js";import"./ScrollableList-a550bc32.js";import{A as u}from"./AuthLayout-c7d4a566.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-ddb8bb3f.js";import"./useFormControl-880b2f7b.js";import"./List-17cd485b.js";import"./InputAdornment-196a5386.js";import"./index-f48c8aa0.js";import"./useMediaQuery-4304fb25.js";import"./useControlled-bd643819.js";import"./InputLabel-e2e73b27.js";import"./TableRow-2c544f58.js";import"./useToggle-2b3cfa4d.js";import"./FormInput-8d872744.js";import"./FormControlLabel-f5b899d5.js";import"./Checkbox-76a12c6d.js";import"./SwitchBase-b0dec868.js";import"./createSvgIcon-ff487f53.js";import"./Loader-16c57fae.js";import"./AuthBGLayout-d139dafa.js";import"./CardContent-c8b2d0af.js";import"./Avatar-03680000.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};
