1import{Q as d,T as _,r as c,d as w,i as b,g as o,f as s,h as e,Z as g,n,q as y,k as $}from"./app.659cd40d.js";import{_ as P,a as h,b as v}from"./FormValidationErrors.b25e3258.js";import{_ as x}from"./CardBox.2013858f.js";import{_ as V}from"./FormControl.3455e5d4.js";import{_ as p}from"./FormField.6296f409.js";import{_ as k}from"./BaseDivider.ad759dd1.js";import{_ as C}from"./BaseButton.66d45755.js";import"./main.5108fdbd.js";const B=$("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1),R={__name:"ConfirmPassword",setup(S){var m=d().props.user_type;const a=_({password:""}),l=c(null),f=()=>{a.post(route(m+".password.confirm"),{onFinish:()=>{var t;a.reset(),(t=l.value)==null||t.focus()}})};return(t,r)=>(w(),b(v,null,{default:o(()=>[s(e(g),{title:"Secure Area"}),s(h,{bg:"purplePink"},{default:o(({cardClass:u})=>[s(x,{class:n(u),form:"",onSubmit:y(f,["prevent"])},{default:o(()=>[s(P),s(p,null,{default:o(()=>[B]),_:1}),s(p,{label:"Password","label-for":"password",help:"Please enter your password to confirm"},{default:o(()=>[s(V,{id:"password",onSetRef:r[0]||(r[0]=i=>l.value=i),modelValue:e(a).password,"onUpdate:modelValue":r[1]||(r[1]=i=>e(a).password=i),type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue"])]),_:1}),s(k),s(C,{type:"submit",color:"info",label:"Confirm",class:n({"opacity-25":e(a).processing}),disabled:e(a).processing},null,8,["class","disabled"])]),_:2},1032,["class"])]),_:1})]),_:1}))}};export{R as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.