import{A as e,B as t,D as n,E as r,K as i,M as a,T as o,b as s,j as c,n as l,ot as u,r as d,w as f,wt as p}from"./dist-B4ulKgpj.js";import{t as m}from"./Label-CFnMyEie.js";import{t as h}from"./PasswordInput-kioHp5xS.js";import{t as g}from"./Spinner-CPbipFa_.js";import{l as _}from"./app-DUC9tg6Z.js";import{t as v}from"./InputError-whMZ-BCS.js";import{n as y}from"./confirm-qTsb331k.js";var b={class:`space-y-6`},x={class:`grid gap-2`},S={class:`flex items-center`},C=a({layout:{title:`Confirm your password`,description:`This is a secure area of the application. Please confirm your password before continuing.`},__name:`ConfirmPassword`,setup(a){return(a,C)=>(i(),n(s,null,[c(p(d),{title:`Confirm password`}),c(p(l),t(p(y).form(),{"reset-on-success":``}),{default:u(({errors:t,processing:n})=>[f(`div`,b,[f(`div`,x,[c(p(m),{htmlFor:`password`},{default:u(()=>[...C[0]||=[e(`Password`,-1)]]),_:1}),c(h,{id:`password`,name:`password`,class:`mt-1 block w-full`,required:``,autocomplete:`current-password`,autofocus:``}),c(v,{message:t.password},null,8,[`message`])]),f(`div`,S,[c(p(_),{class:`w-full`,disabled:n,"data-test":`confirm-password-button`},{default:u(()=>[n?(i(),o(p(g),{key:0})):r(``,!0),C[1]||=e(` Confirm password `,-1)]),_:2},1032,[`disabled`])])])]),_:1},16)],64))}});export{C as default};