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