import{a as d,j as s,H as l}from"./app-C796L9fe.js";import{I as p,T as u,a as c}from"./TextInput-Biebdkc3.js";import{P as f}from"./PrimaryButton-Cm6tYIk6.js";import{G as x}from"./GuestLayout-B_qrFX_R.js";import"./ApplicationLogo-C_AmFkjU.js";function v(){const{data:r,setData:e,post:t,processing:o,errors:i,reset:m}=d({password:""}),n=a=>{a.preventDefault(),t(route("password.confirm"),{onFinish:()=>m("password")})};return s.jsxs(x,{children:[s.jsx(l,{title:"Confirm Password"}),s.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"This is a secure area of the application. Please confirm your password before continuing."}),s.jsxs("form",{onSubmit:n,children:[s.jsxs("div",{className:"mt-4",children:[s.jsx(p,{htmlFor:"password",value:"Password"}),s.jsx(u,{id:"password",type:"password",name:"password",value:r.password,className:"mt-1 block w-full",isFocused:!0,onChange:a=>e("password",a.target.value)}),s.jsx(c,{message:i.password,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(f,{className:"ms-4",disabled:o,children:"Confirm"})})]})]})}export{v as default};
