PageSourceSearch

https://www.revolutionrace.nl/_nuxt/production-273317172/TkUHG3sM.js

js revolutionrace.nl collected 2026-09-26 09:34:06 UTC 4,681 bytes, 8 lines download raw bytes

1import{_ as U}from"./B2ngl3c3.js";import{ck as N,bO as h,bL as l,c1 as w,ge as e,i as V,g3 as i,h9 as _,bN as x,bM as L,eX as S,bG as r,aX as G,a_ as X,aY as B,eE as s,bZ as m,b0 as C,gB as Y,gM as j,gL as z}from"#entry";import{u as R}from"./DHS2Yzvp.js";import{u as q}from"./C0lfJn9Y.js";import{u as D}from"./DqEv9lyl.js";import{r as H}from"./DKRjjsMv.js";import{u as Q}from"./C6_EwO8W.js";import{u as W}from"./Db5Vq4P1.js";import"./OoVkRDP6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"production-273317172"};var c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="48a4cdcc-05f0-4766-836d-b2587aa305d8",t._sentryDebugIdIdentifier="sentry-dbid-48a4cdcc-05f0-4766-836d-b2587aa305d8")}catch{}})();const Z={class:"forgot-password-form"},J={class:"forgot-password-form__wrapper"},K={class:"forgot-password-form__row--inline"},ee={class:"forgot-password-form__checkmark"},te={class:"forgot-password-form__email"},oe={key:0,class:"forgot-password-form__row"},re={class:"forgot-password-form__error"},se={class:"forgot-password-form__buttons"},ae=N({__name:"ForgotPasswordForm",props:{requestPending:{type:Boolean},error:{},email:{}},emits:["forgot-password-form-submitted"],setup(t,{emit:c}){const o=t,$=c,f=R("auth"),g=q("redirect"),{loginPage:p}=D({redirectUrlParameter:g.value}),a=S(!1),d=r(()=>o.requestPending||a.value),v=r(()=>f.get("forms__resetpasswordbuttonlabel")),u=r(()=>f.get("forms__returntologinlabel")),y=r(()=>f.get("forms__editlabel")),n=()=>{a.value=!0,$("forgot-password-form-submitted")};return(T,A)=>{const k=G,F=X,b=B;return s(),h("div",Z,[l("div",J,[l("div",K,[l("div",ee,[w(k,{name:"Check",color:e(V).White,"stroke-width":5,size:12},null,8,["color"])]),l("div",te,i(t.email),1),w(F,{class:"forgot-password-form__edit-link",to:e(p)},{default:_(()=>[m(i(e(y)),1)]),_:1},8,["to"])]),e(a)&&t.error?(s(),h("div",oe,[l("div",re,i(t.error),1)])):x("",!0),l("div",se,[w(b,{block:"",variant:"primary",rounded:"",disabled:e(d),onClick:n},{default:_(()=>[m(i(e(v)),1)]),_:1},8,["disabled"]),e(p)?(s(),L(b,{key:0,rounded:"",href:e(p),variant:"secondary",block:""},{default:_(()=>[m(i(e(u)),1)]),_:1},8,["href"])):x("",!0)])])])}}}),ne=Object.assign(C(ae,[["__scopeId","data-v-95a14699"]]),{__name:"AuthenticationForgotPasswordForm"}),ie={class:"forgot-password"},ce={key:1,class:"forgot-password__step"},de={key:2,class:"forgot-password__step"},ue=`mutation recover($url: String!, $username: String!, $redirect: String) {
2  session(url: $url) {
3    recover(username: $username, redirect: $redirect) {
4      error
5    }
6  }
7}
8`,le=N({__name:"AuthenticationForgotPassword",props:{page:{}},setup(t){const c=t,o=R("auth"),{apiEndpoint:$}=Y(),f=j(),g=q("email"),p=q("redirect"),{loginPage:a}=D({redirectUrlParameter:p.value}),d=S(!1),v=S(!1),u=S(""),y=r(()=>c.page.litiumPage),n=r(()=>u.value?"error":v.value?"submitted":"unsubmitted"),T=r(()=>n.value==="error"?o.get("forgotpassword__errortitle"):n.value==="unsubmitted"?o.get("forgotpassword__title"):o.get("forms__checkyourinbox")),A=r(()=>n.value==="error"?o.get("forgotpassword__errordescription"):n.value==="unsubmitted"?o.get("forgotpassword__description"):H(o.get("forgotpassword__successdescription"),{email:g.value??""})),k=r(()=>o.get("forms__returntologinlabel")),F=r(()=>o.get("forms__tryagain")),b=async()=>{const I=o.get("resetpassword__resetpasswordrequestfailure");try{u.value="",d.value=!0;const P=(await $fetch($,{method:"POST",body:{query:ue,variables:{url:z().toString(),username:g.value,redirect:f.query.redirect?.toString()}},credentials:"include",cache:"no-cache"})).data?.session?.recover?.error;if(P!=="NONE")throw new Error(P);v.value=!0}catch{u.value=I}finally{d.value=!1}};return Q(y),W(y.value.title??"","ForgotPassword"),(I,O)=>{const P=U,M=ne,E=B;return s(),h("div",ie,[w(P,{title:e(T),description:e(A)},null,8,["title","description"]),e(n)==="unsubmitted"?(s(),L(M,{key:0,class:"forgot-password__step",email:e(g),"request-pending":e(d),error:e(u),onForgotPasswordFormSubmitted:b},null,8,["email","request-pending","error"])):e(n)==="submitted"?(s(),h("div",ce,[e(a)?(s(),L(E,{key:0,href:e(a),variant:"primary",block:""},{default:_(()=>[m(i(e(k)),1)]),_:1},8,["href"])):x("",!0)])):(s(),h("div",de,[w(E,{block:"",variant:"primary",disabled:e(d),onClick:b},{default:_(()=>[m(i(e(F)),1)]),_:1},8,["disabled"]),e(a)?(s(),L(E,{key:0,class:"forgot-password__return-to-login-button",href:e(a),variant:"secondary",block:""},{default:_(()=>[m(i(e(k)),1)]),_:1},8,["href"])):x("",!0)]))])}}}),ye=C(le,[["__scopeId","data-v-c9a38885"]]);export{ye 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.