1import{aG as v,aX as C,aH as x,aM as u,aN as _,be as B,aO as l,aP as s,bf as I,bg as k,bB as D,aT as d,bC as h,bE as V,bF as z,a$ as e,bG as N,aW as R,ez as $,aI as w,b0 as j,by as q,bb as E,bu as M,aL as F,eB as f,B as Q,b6 as S}from"./index-CwbYIfNC.js";import{_ as T}from"./check_mark-CWyN6sIH.js";const P=o=>(V("data-v-38090a0e"),o=o(),z(),o),A=P(()=>e("div",{class:"row justify-center q-pt-lg"},[e("img",{class:"check-icon",src:T,alt:"success"})],-1)),U=P(()=>e("p",{class:"title q-mb-md"},"Sie haben Ihr Passwort erfolgreich geändert.",-1)),G=P(()=>e("p",{class:"message q-mb-md"},"Ab sofort können Sie sich mit Ihrer E-Mail-Adresse und dem neuen Passwort einloggen.",-1)),Z=v({__name:"PasswordResetSuccessDialog",setup(o){const i=C(),c=x(),p=async()=>{await i.push({name:"login"})};return(g,m)=>(u(),_(B,{persistent:""},{default:l(()=>[s(I,{style:{"min-width":"350px"}},{default:l(()=>[s(k,null,{default:l(()=>[A]),_:1}),s(k,null,{default:l(()=>[U,G]),_:1}),s(D,{align:"center",class:"q-pb-lg"},{default:l(()=>[d(c).userData.logged_in?(u(),_(h,{key:0,external:"",to:`/de/konto/${d(c).userData.id}/zugangsdaten`,label:"Zum Profil",class:"red"},null,8,["to"])):(u(),_(h,{key:1,label:"Jetzt einloggen",onClick:p,class:"red"}))]),_:1})]),_:1})]),_:1}))}}),W=N(Z,[["__scopeId","data-v-38090a0e"]]),H={class:"row justify-center"},J=e("div",{class:"row"},[e("h1",null,"Neues Passwort")],-1),K=e("div",{class:"row"},[S(" Ihr Passwort muss mindestens 6 Zeichen lang sein."),e("br"),S("Wir empfehlen die
1Verwendung von Ziffern, Sonderzeichen sowie GroÃ- und Kleinbuchstaben. ")],-1),L={class:"row"},O={class:"row justify-center"},X={class:"row justify-center"},Y=v({__name:"PasswordResetForm",setup(o){const i=R(),c=parseInt(i.params.userId),p=i.params.token,g=$("isDialogMode",!1),m=w(""),a=w(),b=w(!1),y=async()=>{a.value="",await F.resetPassword(c,m.value,p).then(t=>{if(typeof t=="object"&&"errorCode"in t)switch(t.errorCode){case f.UserNotFound:a.value="Der Nutzer ist nicht bekannt. Bitte starten Sie den Prozess erneut.";break;case f.PasswordDoesNotMeetComplexityRequirement:a.value="Bitte geben Sie ein gültiges Passwort ein";break;case f.InvalidToken:a.value="Der Token ist ungültig. Bitte starten Sie den Prozess erneut.";break}else b.value=!0}).catch(t=>{console.error(t),Q(t)})};return(t,r)=>(u(),j("div",H,[e("div",{class:M(["col-12 c-gy-md",{"c-pa-md":!d(g),"col-sm-6":!d(g)}])},[J,K,e("div",L,[s(d(E),{onSubmit:y,onValidationError:r[1]||(r[1]=()=>a.value=null),class:"col-xs-12"},{default:l(()=>[e("div",O,[s(q,{type:"password",class:"col-12 c-pb-lg",square:"",outlined:"",label:"Neues Passwort",modelValue:m.value,"onUpdate:modelValue":r[0]||(r[0]=n=>m.value=n),autocomplete:"email",autofocus:"",rules:[n=>!!n&&n.trim().length>=6],"lazy-rules":"ondemand",error:!!a.value,"error-message":a.value||"Bitte geben Sie ein gültiges Passwort ein"},null,8,["modelValue","rules","error","error-message"])]),e("div",X,[s(h,{label:"Passwort speichern",type:"submit",class:"red"})])]),_:1})])],2),s(W,{modelValue:b.value,"onUpdate:modelValue":r[2]||(r[2]=n=>b.value=n)},null,8,["modelValue"])]))}}),ae=v({__name:"PasswordResetPage",setup(o){return(i,c)=>(u(),_(Y,{class:"c-pt-xl"}))}});export{ae 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.