import{_ as n}from"./InputError.vue_vue_type_script_setup_true_lang-DniwR9eG.js";import{_ as p}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-M23wUS8o.js";import{_ as c}from"./Input.vue_vue_type_script_setup_true_lang-C985hTdX.js";import{_ as l}from"./Label.vue_vue_type_script_setup_true_lang-DMkOfPu9.js";import{_}from"./AuthLayout.vue_vue_type_script_setup_true_lang-DTkMVYm5.js";import{s as u}from"./index-KOXzqeVR.js";import{d as w,g as i,o as m,w as e,e as a,u as s,h as C,j as h,m as b,b as r,i as d,k as g}from"./app-KXUNt_n9.js";import{L as k}from"./loader-circle-nLMSKP1C.js";import"./useForwardExpose-B0NY7lip.js";import"./index-Z7dItZLR.js";import"./createLucideIcon-CFEmdjHu.js";const x={class:"space-y-6"},y={class:"grid gap-2"},P={class:"flex items-center"},E=w({__name:"ConfirmPassword",setup($){return(N,o)=>(m(),i(_,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing."},{default:e(()=>[a(s(C),{title:"Confirm password"}),a(s(h),b(s(u).form(),{"reset-on-success":""}),{default:e(({errors:f,processing:t})=>[r("div",x,[r("div",y,[a(s(l),{htmlFor:"password"},{default:e(()=>[...o[0]||(o[0]=[d("Password",-1)])]),_:1}),a(s(c),{id:"password",type:"password",name:"password",class:"mt-1 block w-full",required:"",autocomplete:"current-password",autofocus:""}),a(n,{message:f.password},null,8,["message"])]),r("div",P,[a(s(p),{class:"w-full",disabled:t,"data-test":"confirm-password-button"},{default:e(()=>[t?(m(),i(s(k),{key:0,class:"h-4 w-4 animate-spin"})):g("",!0),o[1]||(o[1]=d(" Confirm Password ",-1))]),_:2},1032,["disabled"])])])]),_:1},16)]),_:1}))}});export{E as default};
