PageSourceSearch

https://axethrowing.org/assets/siteLogin-D8VA8VNT.js

js axethrowing.org collected 2026-10-01 15:00:55 UTC 21,925 bytes, 1 lines download raw bytes

1import{_ as e,as as a,c as s,e as t,g as l,v as o,y as n,B as i,F as r,f as u,q as c,a9 as d,aZ as p,r as m,ab as g,u as v,a7 as h,w,ao as f,R as y,S as k,T as b,H as S,O as I,W as P,ap as C,G as x,a3 as _,c1 as U,au as L,a5 as E,d as V,n as F,t as M,a6 as W,z as B,b as T,b8 as A,a as z,k as N,a4 as j,o as q,b9 as O,aa as D,c8 as R,c9 as Z,ca as K,cb as H,cc as G,cd as J,ce as Y,bM as Q,cf as $,ae as X,bF as ee,cg as ae,ch as se,ci as te,cj as le}from"./index-M5qy_4Wm.js";import{C as oe}from"./customInputNew-BA6e7JlB.js";import{T as ne,P as ie}from"./termsOfService-CMTeA5Ea.js";import{g as re,c as ue}from"./createPlayer-DRfAS1VB.js";import{z as ce}from"./zipcodeInput-CI6rYt2r.js";import{b as de}from"./setCustomClaims-DxqBngw-.js";const pe={class:"methodsWrapper"},me={class:"socialNetworks"},ge={class:"position-relative"},ve={class:"serviceTerms"},he=["onClick"],we=["onClick"],fe=e({__name:"authMethods",props:{signType:{type:String,default:"signIn"},signInWithEmailAndPassword:{type:Boolean,default:!1},userEmail:String,userPassword:String,signInButtonDisable:Boolean},emits:["signIn","continueWithEmailLink","updateEmail","updatePassword","forgotPassword"],setup(e,{emit:v}){const h=e,w=a({email:"",password:""}),f=s(()=>"signIn"===h.signType?"Sign in":"signUp"===h.signType?"Sign up":""),y=v;function k(){h.userPassword.length?y("signIn","withPasswordEmail"):w.password="Please provide the password"}function b(){h.signInButtonDisable||(h.userEmail.length?y("signIn","withEmail"):w.email="Please provide the email")}return(a,s)=>{const v=m("v-icon"),h=m("v-card"),S=m("v-dialog");return l(),t("div",pe,[o("div",me,[o("div",{class:"socialBtn",onClick:s[0]||(s[0]=e=>y("signIn","withGoogle"))},[s[5]||(s[5]=o("img",{src:"data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.9805%207.44228C18.5384%206.10811%2016.5746%205.3669%2014.5802%205.39655C10.8982%205.39655%207.79916%207.76841%206.66388%2011.0001L2%207.50157C4.39331%202.9061%209.24128%2
100.000578482%2014.5802%200.000578482C18.0781%20-0.0290697%2021.4533%201.21615%2024%203.52871L19.9805%207.44228ZM6%2016.5632C5.43213%2014.903%205.43213%2013.0971%206%2011.437L1.45704%208.00006C-0.485679%2011.7865%20-0.485679%2016.2428%201.45704%2020.0001L6%2016.5632ZM27.746%2011.0001C27.9048%2011.9049%2028%2012.8701%2028%2013.8052C28%2017.9977%2026.4127%2021.5569%2023.6508%2024.0001L18.9524%2020.5314C20.5079%2019.5662%2021.5556%2018.0581%2021.873%2016.3388H14V11.0001H27.746ZM23%2024.7001C20.7647%2026.7811%2017.7059%2028.0001%2014.0588%2028.0001C8.94118%2028.0001%204.29412%2025.0865%202%2020.4784L6.47059%2017.0001C7.55882%2020.2109%2010.5294%2022.619%2014.0588%2022.619C15.8824%2022.619%2017.4412%2022.1433%2018.6471%2021.3109L23%2024.7001Z'%20fill='%23606B7F'/%3e%3c/svg%3e",alt:"google",class:"mr-2"},null,-1)),n(" "+i(f.value)+" With Google ",1)])]),s[13]||(s[13]=o("div",{class:"divider"},[o("span",null,"or")],-1)),"signIn"===e.signType?(l(),t(r,{key:0},[e.signInWithEmailAndPassword?(l(),t(r,{key:0},[o("div",ge,[u(oe,{modelValue:e.userPassword,class:"userCredential w-100",placeholder:"Password",inputType:"password",onKeypup:k,bottomWarning:w.password,"data-cypress":"passwordInput","onUpdate:modelValue":s[1]||(s[1]=e=>y("updatePassword",e))},null,8,["modelValue","bottomWarning"]),o("p",{class:"forgotPassword",onClick:s[2]||(s[2]=e=>y("forgotPassword"))}," Forgot password ")]),u(d,{class:"signInBtn",size:"x-large","data-cypress-login":"submit",onClick:k},{default:c(()=>[...s[6]||(s[6]=[n(" Submit ",-1)])]),_:1})],64)):(l(),t(r,{key:1},[u(oe,{modelValue:e.userEmail,class:"userCredential",placeholder:"Email",onKeyup:p(b,["enter"]),bottomWarning:w.email,"onUpdate:modelValue":s[3]||(s[3]=e=>y("updateEmail",e)),"data-cypress":"emailInput"},null,8,["modelValue","bottomWarning"]),u(d,{class:"signInBtn",size:"x-large","data-cypress-login":"sign-in-page",disabled:e.signInButtonDisable,onClick:b},{default:c(()=>[...s[7]||(s[7]=[n(" Sign in ",-1)])]),_:1},8,["disabled"])],64))],64)):(l(),t(r,{key:1},[o("div",{class:"emailLink",onClick:s[4]||(s[4]=e=>y("continueWithEmailLink"))}," Continue with Email "),o("p",ve,[s[12]||(s[12]=n(" By creating an account you agree with our ",-1)),u(S,{"max-width":"1200"},{activator:c(({props:e})=>[o("span",g(e,{class:"termsLink"}),"Terms of Service",16),s[8]||(s[8]=n(", ",-1))]),default:c(({isActive:e})=>[u(h,{class:"document"},{default:c(()=>[u(ne),o("button",{class:"close",onClick:a=>e.value=!1},[u(v,{size:"24"},{default:c(()=>[...s[9]||(s[9]=[n("mdi-close",-1)])]),_:1})],8,he)]),_:2},1024)]),_:1}),u(S,{"max-width":"1200"},{activator:c(({props:e})=>[o("span",g(e,{class:"termsLink"}),"Privacy Policy",16),s[10]||(s[10]=n(". ",-1))]),default:c(({isActive:e})=>[u(h,{class:"document"},{default:c(()=>[u(ie),o("button",{class:"close",onClick:a=>e.value=!1},[u(v,{size:"24"},{default:c(()=>[...s[11]||(s[11]=[n("mdi-close",-1)])]),_:1})],8,we)]),_:2},1024)]),_:1})])],64))])}}},[["__scopeId","data-v-838b7880"]]),ye=e({__name:"emailLinkForm",props:{division:String},emits:["emailSent"],setup(e,{emit:s}){const{notify:o}=f(),i=C("postHog"),m=v(),g=s,L=h(""),E=h(""),V=h(""),F=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,M=e,W=a({firstName:"",lastName:"",email:"",zipcode:""}),B=h(!1);function T(){const[e="first name",a="last name"]=L.value.split(" "),s=E.value.toLowerCase();re().then(t=>{P(S("/watl/players"),{first:e,firstLowCase:e.toLowerCase(),last:a,lastLowCase:a.toLowerCase(),alias:"",email:s,venue:"no-venue",gender:"",facebook:"",instagram:"",phone:"",countryCode:"",country:"",state:"",zipcode:V.value.trim(),code:t,division:M.division||"recreational",rating:250,pic:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/common%2Fperson.svg?alt=media&token=aa915d07-87ec-4eb0-8fbb-5f9818537555",gp:0,win:0,loss:0,drops:0,faults:0,otl:0,forfeit:0,pts:0,score:0,scoreavg:0,high:0,axeavg:0,clutch:0,clutchcall:0,rubber:0,rubberwin:0,baxe:0,baxewin:0,ugame:0,ngame:0,sgame:0,umatch:0,nmatch:0,smatch:0,eightyone:0,sixtyfour:0,score0:0,score1:0,score2:0,score3:0,score4:0,score5:0,score6:0,score7:0,score8:0,score10:0,killcall:0}).then(e=>{var a;i.capture("user_signed_up",{registration_type:"emailLink"}),function(e,a){_(S("/codes/".concat(e)),a)}(e.key,t),x(S("/".concat(m.venue.rules,"/playersEmails/").concat(e.key)),{email:s}),U(a=s,"Registration").then(()=>{window.localStorage.setItem("emailForSignIn",a),g("emailSent"),B.value=!1}
1).catch(function(e){console.error("emailLinkForm: sending the sign-in link failed",e),B.value=!1,o({group:"notifyMessages",type:"error",title:"We couldn't send your sign-in link",text:"Your profile was created. Please try signing in with this email.",duration:6e3})})}).catch(A)},A)}function A(e){console.error("emailLinkForm: sign-up failed",e),B.value=!1,o({group:"notifyMessages",type:"error",title:"We couldn't create your account",text:"Something went wrong on our end. Please try again, or contact support if it keeps happening.",duration:6e3})}async function z(){if(!function(){const[e="",a=""]=L.value.split(" "),s=E.value.length&&F.test(E.value);return!e.length&&(W.firstName="First name is required"),!a.length&&(W.lastName="Last name is required"),!E.value.length&&(W.email="Email is required"),E.value.length&&!F.test(E.value)&&(W.email="Invalid email"),W.zipcode=ce(V.value),Boolean(e.length&&a.length&&s&&!W.zipcode)}())return;B.value=!0,await new Promise(e=>{const a=y(S("/watl/players"),b("email"),k(E.value));I(a,async a=>{e(a.exists())})})?(o({group:"notifyMessages",type:"error",title:"This email already in use",text:"Please sign in or choose another email.",duration:5e3}),B.value=!1):T()}return w(()=>E.value,()=>{W.email=""}),w(()=>L.value,()=>{W.firstName="",W.lastName=""}),w(()=>V.value,()=>{W.zipcode=""}),(e,a)=>(l(),t(r,null,[u(oe,{modelValue:L.value,"onUpdate:modelValue":a[0]||(a[0]=e=>L.value=e),modelModifiers:{trim:!0},class:"userCredential",bottomWarning:"".concat(W.firstName," ").concat(W.lastName),"top-text":"First & Last name",required:"",placeholder:"First & Last Name"},null,8,["modelValue","bottomWarning"]),u(oe,{modelValue:E.value,"onUpdate:modelValue":a[1]||(a[1]=e=>E.value=e),modelModifiers:{trim:!0},bottomWarning:W.email,class:"userCredential","top-text":"Email",required:"",placeholder:"Email",onKeypress:p(z,["enter"])},null,8,["modelValue","bottomWarning"]),u(oe,{modelValue:V.value,"onUpdate:modelValue":a[2]||(a[2]=e=>V.value=e),modelModifiers:{trim:!0},bottomWarning:W.zipcode,class:"userCredential","top-text":"ZIP / Postal code",required:"",placeholder:"ZIP / Postal code",onKeypress:p(z,["enter"])},null,8,["modelValue","bottomWarning"]),u(d,{disabled:B.value,class:"createAccount",onClick:z},{default:c(()=>[...a[3]||(a[3]=[n("create account",-1)])]),_:1},8,["disabled"])],64))}},[["__scopeId","data-v-73fc7af5"]]),ke={key:0,class:"emailSent"},be={key:1},Se={class:"message"},Ie={key:2,class:"emailSent"},Pe=e({__name:"forgotPassword",props:{currentUserStep:String},emits:["changeFlow"],setup(e,{emit:a}){const s=h(""),i=V(),r=T(),{notify:p}=f(),{xs:g}=L(),v=a;let w=h("password");function y(){let e=r.query.oobCode;A(z,e,s.value).then(()=>{p({group:"notifyMessages",type:"success",title:"Password updated",duration:4e3}),v("changeFlow")}).catch(e=>{p({group:"notifyMessages",type:"error",title:"Something went wrong",text:e.message,duration:4e3})})}return(a,r)=>{const p=m("v-icon");return l(),t("div",null,["emailSent"===e.currentUserStep?(l(),t("div",ke,[r[6]||(r[6]=o("p",{class:"message"}," Reset password link have been sent to your email. Please check to continue. ",-1)),u(d,{class:"okButton",onClick:r[0]||(r[0]=e=>E(i).push("/watl"))},{default:c(()=>[...r[5]||(r[5]=[n(" ok ",-1)])]),_:1})])):"codeFailed"===e.currentUserStep?(l(),t("div",be,[o("p",Se,[r[8]||(r[8]=n(" The password reset link is no longer valid. ",-1)),u(d,{onClick:r[1]||(r[1]=e=>E(i).push("/watl")),class:"text-white"},{default:c(()=>[...r[7]||(r[7]=[n("Return to home page",-1)])]),_:1})])])):(l(),t("div",Ie,[r[12]||(r[12]=o("p",{class:"message"}," Please create new password with at least 6 characters. ",-1)),u(oe,{class:"userCredential",modelValue:s.value,"onUpdate:modelValue":r[4]||(r[4]=e=>s.value=e),placeholder:"Password",inputType:E(w),appendInnerIcon:"mdi-eye-outline"},{appendInput:c(()=>["password"===E(w)?(l(),F(p,{key:0,onClick:r[2]||(r[2]=e=>W(w)?w.value="text":w="text"),class:"eyeIcon mr-3"},{default:c(()=>[...r[9]||(r[9]=[n("mdi-eye-outline",-1)])]),_:1})):M("",!0),"text"===E(w)?(l(),F(p,{key:1,onClick:r[3]||(r[3]=e=>W(w)?w.value="password":w="password"),class:"eyeIcon mr-3"},{default:c(()=>[...r[10]||(r[10]=[n("mdi-eye-off-outline",-1)])]),_:1})):M("",!0)]),_:1},8,["modelValue","inputType"]),u(d,{class:B(["okButton",E(g)?"w-100":""]),onClick:y},{default:c(()=>[...r[11]||(r[11]=[n(" Submit ",-1)])]),_:1},8,["class"])]))])}}},[["__scopeId","data-v-285ebfb3"]]),Ce={class:"contentBlock"},xe={class:"startForm"},_e={class:"title"},Ue={key:0,class:"division"},Le={class:"definition"},Ee={key:0},Ve={key:1},Fe={key:2},Me={key:3,class:"emailSent"},We={class:"message"},Be={key:4,class:"emailSent"},Te={class:"message"},Ae={class:"signUpLink"},ze={key:0},Ne={key:1},je=e({__name:"siteLogin",setup(e){const{notify:a}=f(),{smAndUp:r}=L(),g=V(),P=T(),A=v();let ne=h(!1),ie=h("amateur");
1const re=h(""),pe=h(""),me=C("postHog"),ge=N(),ve=h("signIn"),he={signIn:"Sign In",signUp:"Sign up",resetPassword:"Password reset"},we={signIn:"authorization",signUp:"registration",resetPassword:"Password reset"},ke=s(()=>"".concat(he[ve.value]," to Axethrowing.org")),be=j("passwordConfirmation"),Se=s(()=>"signIn"===ve.value||"signUp"===ve.value&&"chooseMethod"===be.value),Ie=h(!1),je=h(null),qe=h(""),Oe=h(""),De=h("");function Re(){const e=ce(Oe.value);if(e)return void(De.value=e);const a=je.value,s=qe.value,t=Oe.value.trim();je.value=null,Oe.value="",async function(e,a,s=""){await Promise.all([Z(H,e),Z(G,e),Z(J,e)]);const[t="first name",l="last name"]=e.displayName.split(" "),o={first:t,last:l,email:e.email,pic:e.photoURL,division:ie.value||"recreational"},n={gender:"",facebook:"",instagram:"",phone:e.phoneNumber?Q.AES.encrypt(e.phoneNumber,"dQgajTvjSFD8s5HdUAsRxbjTKdhQek").toString():"",countryCode:"",country:"",state:"",zipcode:s,rating:250};return ue(o,n).then(s=>{me.capture("user_signed_up",{registration_type:a}),_(S("/codes/".concat(s.key)),s.code),x(S("/".concat(A.venue.rules,"/playersEmails/").concat(s.key)),{email:e.email}),oa({...s,".key":s.key,playerKey:s.key},e)})}(a,s,t).catch(sa)}function Ze(){je.value=null,qe.value="",Oe.value="",De.value="",Y(z)}w(()=>Oe.value,()=>{De.value=""}),w(ve,e=>{"resetPassword"!==e&&(be.value="chooseMethod")});const Ke=s(()=>"Please provide your email to complete ".concat(he[ve.value])),He=s(()=>"resetPassword"===ve.value?"We've sent a password reset link to your email. Please check your inbox and follow the instructions to reset your password. If you don't see the email, be sure to check your spam or junk folder. The link will expire in 1 hour.":"Please check your email to complete the ".concat(we[ve.value]," process."));function Ge(){g.push("/watl")}function Je(){be.value="emailLinkForm"}function Ye(e){re.value=e,ne.value=!1}function Qe(e){pe.value=e}function $e(){me.capture("forgot_password"),X.post("https://us-central1-forged-7adb7.cloudfunctions.net/auth/emailResetPassword",{email:re.value,backUrl:"https://axethrowing.org"}).then(()=>{ve.value="resetPassword",be.value="emailSent"}).catch(e=>{a({group:"notifyMessages",type:"error",title:"Something went wrong",text:e.message,duration:4e3})})}function Xe(e){return new Promise(a=>{const s=y(S("/watl/players"),b("email"),k(e));I(s,async e=>{a(e.exists())})})}function ea(e){const s=window.location.href;g.push("".concat(s,"&stopDetect=true")),K(z,e,s).then(e=>{window.localStorage.removeItem("emailForSignIn"),"live"===window.localStorage.getItem("signInType")&&g.push("/live"),na(e.user)}).catch(e=>{let s="Something went wrong";console.log(e),e.message.includes("invalid-action-code")?s="The link you used is expired or no longer valid. Please request a new one.":e.message.includes("invalid-email")&&(s="The email provided does not match the sign-in email address."),g.push("https://axethrowing.org"),a({group:"notifyMessages",type:"error",title:"Error",text:s,duration:4e3})})}function aa(e){U(e,"Sign In").then(()=>{window.localStorage.setItem("emailForSignIn",e),be.value="emailSent",ne.value=!1}).catch(e=>{a({group:"notifyMessages",type:"error",title:"Something went wrong",text:e.message,duration:4e3}),console.log(e)})}function sa(e){console.error("siteLogin: social sign-up failed",e),Y(z),a({group:"notifyMessages",type:"error",title:"We couldn't create your account",text:"Something went wrong on our end. Please try signing up again, or contact support if it keeps happening.",duration:6e3})}function ta(e){if(me.capture("sign-in",{type:e}),"withEmail"===e)ne.value=!0,ee(z,re.value).then(async e=>{if(e.length)e.includes("password")?(Ie.value=!0,ne.value=!1):aa(re.value);else{await Xe(re.value)?aa(re.value):(ve.value="signUp",a({group:"notifyMessages",type:"warning",title:"You are not registered",text:"Please sign up to create an account",duration:4e3}))}}).catch(({message:e})=>{a({group:"notifyMessages",type:"error",title:"Please check your email",text:e,duration:4e3})});else if("withPasswordEmail"===e)le(z,re.value,pe.value).then(e=>{na(e.user)}).catch(e=>{pe.value="",a({group:"notifyMessages",type:"error",title:"Please check your email",text:e.message,duration:4e3}),console.log("err",e)});else if("withFacebook"===e||"withGoogle"===e){const s="withFacebook"===e?new ae:new se;te(z,s).then(async s=>{const t=s.user;await Xe(t.email)?("signUp"===ve.value&&a({group:"notifyMessages",type:"warning",title:"You will be logged in with existing account",duration:4e3}),na(t)):(je.value=t,qe.value=e)}).catch(e=>{a({group:"notifyMessages",type:"error",title:"Something went wrong",text:e.message,duration:4e3}),console.log(e)})}}function la(){be.value="emailSent"}async function oa(e,a){ge.setUserInformation(e),ge.setUserVenueRoles(e);const{siteAccess:s,venues:t}=await $(a).then(e=>e.claims);ge.setSiteAccess(s);
1let l={venue:e.venue,role:e.venueAccess||"player"};if(t){ge.setUserVenues(t);for(let[e,a]of Object.entries(t))a.hasOwnProperty("homeVenue")&&(l={venue:e,role:a.role})}if(e.venues){const a=JSON.parse(JSON.stringify(e.venues)),s={".key":e.playerkey,email:e.email};de(s,a,Object.keys(a)[0]).then(()=>{x(S("/watl/players/".concat(e.playerkey)),{venues:null})})}let o="no-venue"!==l.venue?"/".concat(l.venue):"/watl";if(window.localStorage.getItem("redirect_path")){const e=JSON.parse(window.localStorage.getItem("redirect_path"));(new Date).getTime()<=e.expire&&(o=e.path),window.localStorage.removeItem("redirect_path")}else"live"===window.localStorage.getItem("signInType")&&(o="/live");g.push(o)}function na(e){Z(H,e),Z(G,e),Z(J,e);const a=y(S("/watl/players"),b("email"),k(e.email||z.currentUser.email));I(a,a=>{if(a.exists()){let s=a.val()[Object.keys(a.val())[0]];s[".key"]=Object.keys(a.val())[0],s.playerkey=s[".key"],oa(s,e)}},{onlyOnce:!0})}return q(()=>{if(null===z.currentUser?function(){if(R(z,window.location.href)&&!P.query.stopDetect){let e=window.localStorage.getItem("emailForSignIn");e?ea(e):be.value="emailConfirmation"}}():na(z.currentUser),null===z.currentUser&&void 0!==P.query.oobCode&&"resetPassword"===P.query.mode){ve.value="resetPassword",be.value="passwordConfirmation";let e=P.query.oobCode;O(z,e).catch(()=>{be.value="codeFailed"})}}),(e,a)=>{const s=m("v-card-title"),g=m("v-text-field"),v=m("v-card-text"),h=m("v-btn"),w=m("v-spacer"),f=m("v-card-actions"),y=m("v-card"),k=m("v-dialog");return l(),t("div",{class:B(["authWrapper",{hideAll:["emailConfirmation","emailSent"].includes(be.value)}])},[u(k,{"model-value":!!je.value,persistent:"","max-width":"480"},{default:c(()=>[u(y,null,{default:c(()=>[u(s,{class:"text-h6"},{default:c(()=>[...a[7]||(a[7]=[n("One last thing",-1)])]),_:1}),u(v,null,{default:c(()=>[a[8]||(a[8]=o("p",{class:"mb-4"}," We need your zipcode / postal code to finish setting up your profile. ",-1)),u(g,{modelValue:Oe.value,"onUpdate:modelValue":a[0]||(a[0]=e=>Oe.value=e),label:"Zipcode / postal code","error-messages":De.value,autofocus:"",onKeyup:p(Re,["enter"])},null,8,["modelValue","error-messages"])]),_:1}),u(f,null,{default:c(()=>[u(h,{variant:"text",onClick:Ze},{default:c(()=>[...a[9]||(a[9]=[n("cancel",-1)])]),_:1}),u(w),u(h,{color:"primary",disabled:!Oe.value.trim(),onClick:Re},{default:c(()=>[...a[10]||(a[10]=[n(" continue ",-1)])]),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["model-value"]),a[19]||(a[19]=o("div",{class:"head"},[o("img",{src:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/banners%2FaxeUp.webp?alt=media&token=002ff308-a7a9-4324-a5ef-ee487753b7a5",alt:""})],-1)),a[20]||(a[20]=o("div",{class:"whiteSpace"},null,-1)),o("div",Ce,[o("div",xe,[o("h1",_e,i(ke.value),1),"signUp"===ve.value?(l(),t("div",Ue,[a[14]||(a[14]=o("p",{class:"lable"},[n("Select division "),o("span",{class:"required"},"*")],-1)),u(D,{class:"mb-5",items:[{title:"Rec",value:"recreational"},{title:"Amateur",value:"amateur"},{title:"Pro",value:"professional"}],value:E(ie),onUpdatedSelectValue:a[1]||(a[1]=e=>W(ie)?ie.value=e:ie=e)},null,8,["value"]),o("div",Le,[E(r)||"recreational"===E(ie)?(l(),t("div",Ee,[...a[11]||(a[11]=[o("p",{class:"name"},"Rec",-1),o("ol",null,[o("li",null,"Beginner level"),o("li",null,"Non-Killshot point values always remain open"),o("li",null,"League scores on local leaderboard")],-1)])])):M("",!0),E(r)||"amateur"===E(ie)?(l(),t("div",Ve,[...a[12]||(a[12]=[o("p",{class:"name"},"Amateur",-1),o("ol",null,[o("li",null,"Intermediate level"),o("li",null,"5, 6, 7 and 8 point values close once hit"),o("li",null,"League scores on local and global leaderboards")],-1)])])):M("",!0),E(r)||"professional"===E(ie)?(l(),t("div",Fe,[...a[13]||(a[13]=[o("p",{class:"name"},"Pro",-1),o("ol",null,[o("li",null,"Expert level"),o("li",null,"5, 6, 7 and 8 point values close once hit"),o("li",null,"5/6 close when any score inside 5 ring is hit"),o("li",null,"League scores on local and global leaderboards")],-1)])])):M("",!0)])])):M("",!0),Se.value?(l(),F(fe,{key:1,class:"authMethods","sign-type":ve.value,signInWithEmailAndPassword:Ie.value,userEmail:re.value,userPassword:pe.value,signInButtonDisable:E(ne),onContinueWithEmailLink:Je,onSignIn:ta,onUpdateEmail:Ye,onUpdatePassword:Qe,onForgotPassword:$e},null,8,["sign-type","signInWithEmailAndPassword","userEmail","userPassword","signInButtonDisable"])):M("",!0),"emailLinkForm"===be.value?(l(),F(ye,{key:2,division:E(ie),onEmailSent:la},null,8,["division"])):M("",!0),"emailSent"===be.value?(l(),t("div",Me,[o("p",We,i(He.value),1),u(d,{class:"okButton",onClick:Ge},{default:c(()=>[...a[15]||(a[15]=[n(" ok ",-1)])]),_:1})])):M("",!0),"emailConfirmation"===be.value?(l(),t("div",Be,[o("p",Te,i(Ke.value),1),u(oe,{class:"userCredential",modelValue:re.value,"onUpdate:modelValue":a[2]||(a[2]=e=>re.value=e),modelModifiers:{trim:!0},placeholder:"Email"},null,8,["modelValue"]),u(d,{class:"okButton",onClick:a[3]||(a[3]=e=>ea(re.value))},{default:c(()=>[...a[16]||(a[16]=[n(" ok ",-1)])]),_:1})])):M("",!0),"resetPassword"===ve.value?(l(),F(Pe,{key:5,currentUserStep:be.value,onChangeFlow:a[4]||(a[4]=()=>ve.value="signIn")},null,8,["currentUserStep"])):M("",!0),o("div",Ae,["signIn"===ve.value?(l(),t("p",ze,[a[17]||(a[17]=n(" Don`t have an account? ",-1)),o("span",{onClick:a[5]||(a[5]=e=>ve.value="signUp")},"Sign up")])):(l(),t("p",Ne,[a[18]||(a[18]=n(" Already have an account? ",-1)),o("span",{onClick:a[6]||(a[6]=e=>ve.value="signIn")},"Sign In")]))])])])],2)}}},[["__scopeId","data-v-ffecd40b"]]);export{je 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.