import{j as t,B as o,R as i,T as r,e as n}from"./index-e0c07a84.js";import{c as p,b as m,u as c}from"./index.esm-79617ba5.js";import{o as l}from"./yup-74a95d85.js";import"./GenericThumbnailView-d192caf7.js";import{P as d}from"./PasswordInput-d22b5af9.js";import"./componentStyles-5432a72d.js";import{P as x}from"./PageMetaData-5fed2c1a.js";import"./ScrollableList-874c742d.js";import"./TextArea-e9886f56.js";import{A as u}from"./AuthLayout-afe1fbf2.js";import"./index-c7a54fed.js";import"./createClass-1acb73b4.js";import"./popper-f3391c26.js";import"./Select-a8f8fd6a.js";import"./index-e5978b8b.js";import"./Grow-5c4c469c.js";import"./InputAdornment-bf957c61.js";import"./TextField-23174150.js";import"./isMuiElement-953ce284.js";import"./useToggle-906431ea.js";import"./FormInput-7bb37f2a.js";import"./FormControlLabel-5799166a.js";import"./Checkbox-80534fe3.js";import"./SwitchBase-ed82e33a.js";import"./TableRow-248ce459.js";import"./CircularProgress-cff840b0.js";import"./AuthBGLayout-815dc2b8.js";import"./Grid2-05f25635.js";import"./CardContent-ba734358.js";import"./Avatar-acb20b85.js";const h="/static/3c251c4b.png",j=()=>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=p({password:m().required("Please enter password")}),{control:e,handleSubmit:a}=c({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(j,{}),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};
