1import{l as y,y as d,u as x,m as b,q as k,s as P,o as S,c as C,a as s,t as n,g as h,H as m,b as E,w as I,d as V,a0 as $,i as B,Q as R,j as U,p as N,k as T,U as j,_ as q}from"./index-4U7EqiWw.js";import{_ as D}from"./empoderaORG_logo-AvX3BVw-.js";const p=t=>(N("data-v-9712e769"),t=t(),T(),t),L={class:"container py-5"},z={class:"row justify-content-center"},H={class:"col",style:{"max-width":"640px"}},M={class:"card"},Q={class:"card-body text-center"},A=p(()=>s("img",{src:D,class:"img-fluid",alt:"Empodera"},null,-1)),F={class:"fw-bold pt-3"},G={class:"row gy-4 flex-column align-items-center pt-4"},J={class:"col",style:{"max-width":"300px"}},K={class:"input-wrapper"},O=p(()=>s("i",{class:"fa-solid fa-lock input-icon"},null,-1)),W={class:"floating-label"},X={class:"col",style:{"max-width":"300px"}},Y={class:"input-wrapper"},Z=p(()=>s("i",{class:"fa-solid fa-lock input-icon"},null,-1)),ss={class:"floating-label"},os={class:"col"},es={class:"pt-2"},ts=y({__name:"RecoveryPasswordPage",props:{code:{type:String,required:!0}},setup(t){const u=t,c=d(""),l=d(""),_=d(new j),v=x(),r=b(),f=k.useLoading({zIndex:1}),w=P();function g(){const o=$(c.value,l.value);if(o!=="ok")r.error(o);else if(u.code){let e=f.show();_.value.password=c.value,v.changePasswordByCode(_.value,u.code).then(()=>{r.success(B.global.t("toast.success.password")),w.push({name:"user-hub"}),e.hide()}).catch(a=>{if(a instanceof R)r.error(a.description),e.hide();else throw a})}}return(o,e)=>{const a=U("router-link");return S(),C("div",null,[s("section",L,[s("div",z,[s("div",H,[s("div",M,[s("div",Q,[A,s("p",F,n(o.$t("forgot.recovery.title")),1),s("form",null,[s("div",G,[s("div",J,[s("div",K,[h(s("input",{type:"password",id:"password",name:"password","onUpdate:modelValue":e[0]||(e[0]=i=>c.value=i),class:"form-control",placeholder:" ",minlength:"8"},null,512),[[m,c.value]]),O,s("span",W,n(o.$t("forgot.recovery.password")),1)])]),s("div",X,[s("div",Y,[h(s("input",{type:"password",id:"password2",name:"password2","onUpdate:modelValue":e[1]||(e[1]=i=>l.value=i),class:"form-control",placeholder:" ",minlength:"8"},null,512),[[m,l.value]]),Z,s("span",ss,n(o.$t("forgot.recovery.confirmPass")),1)])]),s("div",os,[s("a",{class:"btn btn-primary",onClick:g},n(o.$t("forgot.recovery.button")),1)])])]),s("div",es,[E(a,{to:{name:"login"}},{default:I(()=>[V(n(o.$t("login.has_account")),1)]),_:1})])])])])])])])}}}),cs=q(ts,[["__scopeId","data-v-9712e769"]]);export{cs 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.