import{D as e,E as t,F as n,H as r,T as i,X as a,Y as o,b as s,g as c,i as l,n as u,x as d}from"./app-C984PpLk.js";import{t as f}from"./GuestLayout-B6zMjRkV.js";import{n as p,t as m}from"./TextInput-DO32Kzti.js";import{t as h}from"./InputLabel-DeeDzuTa.js";import{t as g}from"./PrimaryButton-DE0mqlca.js";var _={class:`mt-4 flex justify-end`},v=e({__name:`ConfirmPassword`,setup(e){let v=l({password:``}),y=()=>{v.post(route(`password.confirm`),{onFinish:()=>{v.reset()}})};return(e,l)=>(n(),d(f,null,{default:r(()=>[t(o(u),{title:`Confirm Password`}),l[2]||=s(`div`,{class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},` This is a secure area of the application. Please confirm your password before continuing. `,-1),s(`form`,{onSubmit:c(y,[`prevent`])},[s(`div`,null,[t(h,{for:`password`,value:`Password`}),t(m,{id:`password`,type:`password`,class:`mt-1 block w-full`,modelValue:o(v).password,"onUpdate:modelValue":l[0]||=e=>o(v).password=e,required:``,autocomplete:`current-password`,autofocus:``},null,8,[`modelValue`]),t(p,{class:`mt-2`,message:o(v).errors.password},null,8,[`message`])]),s(`div`,_,[t(g,{class:a([`ms-4`,{"opacity-25":o(v).processing}]),disabled:o(v).processing},{default:r(()=>[...l[1]||=[i(` Confirm `,-1)]]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{v as default};