import{T as n,h as l,w as t,a as r,u as a,Z as d,b as e,j as p,n as f,f as u,o as c}from"./app-z_grtNg1.js";import{_ as w}from"./GuestLayout-BoR5OWsq.js";import{_,a as b}from"./TextInput-C3QbKAv6.js";import{_ as x}from"./InputLabel-Dmit8LpD.js";import{P as g}from"./PrimaryButton-i7WPAeR-.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const y={class:"flex justify-end mt-4"},T={__name:"ConfirmPassword",setup(P){const s=n({password:""}),i=()=>{s.post(route("password.confirm"),{onFinish:()=>s.reset()})};return(V,o)=>(c(),l(w,null,{default:t(()=>[r(a(d),{title:"Confirm Password"}),o[2]||(o[2]=e("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1)),e("form",{onSubmit:p(i,["prevent"])},[e("div",null,[r(x,{for:"password",value:"Password"}),r(_,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:a(s).password,"onUpdate:modelValue":o[0]||(o[0]=m=>a(s).password=m),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"]),r(b,{class:"mt-2",message:a(s).errors.password},null,8,["message"])]),e("div",y,[r(g,{class:f(["ms-4",{"opacity-25":a(s).processing}]),disabled:a(s).processing},{default:t(()=>[...o[1]||(o[1]=[u(" Confirm ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}};export{T as default};
