1import{c as r,a as u,b as t,g as b,w as g,v as _,f as a,E as v,x as c,t as w,F as y,m as n,d as i,_ as h,p as E}from"./BiSZ_CVW.js";import k from"./DTZ9qYlD.js";const F={class:"min-h-[60vh] w-full flex flex-col items-center bg-[#F8F8F8] pt-6 px-3"},q={key:0,class:"text-green-400 mt-1"},B={key:1,class:"text-red-400 mt-1"},V={__name:"elfelejtett-jelszo",setup(N){const s=n(""),m=n(!1),l=n(""),d=async()=>{l.value="";try{const{data:o,error:e}=await E("/api/user/request-reset",{method:"POST",body:{email:s.value}},"$NmXhDGINBE");if(e.value)throw e.value;m.value=!0}catch(o){l.value=o?.data?.message||"Hiba történt."}};return(o,e)=>{const p=h,f=k;return i(),r(y,null,[u(p),t("div",F,[e[3]||(e[3]=t("h1",{class:"text-center font-bold text-[36px] text-[#070707] mb-8 bricolage-grotesque-custom"},"Elfelejtett jelszó",-1)),t("form",{onSubmit:b(d,["prevent"]),class:"bg-white rounded-[20px] flex flex-col gap-1 p-4 lg:p-6 w-full shadow-box lg:w-[400px]"},[e[1]||(e[1]=t("p",{class:"text-[14px] text-[#022B45]"},"Email cÃm",-1)),g(t("input",{"onUpdate:modelValue":e[0]||(e[0]=x=>v(s)?s.value=x:null),type:"email",placeholder:"Email",class:"border border-gray-300 px-2 rounded-full w-full py-1.5 mb-2",required:""},null,512),[[_,a(s)]]),e[2]||(e[2]=t("button",{type:"submit",class:"bg-[#1E8FD9] text-white rounded-full py-2 w-full mt-6 bricolage-grotesque-custom font-semibold"},"Email küldése",-1)),a(m)?(i(),r("p",q,"Emailt küldtünk a megadott emailre!")):c("",!0),a(l)?(i(),r("p",B,w(a(l)),1)):c("",!0)],32)]),u(f)],64)}}};export{V 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.