1import{_ as f,a4 as c,o as l,M as w,aw as v,Z as d,f as s,g as t,c as m,V as a,$ as g,a0 as C}from"./BmatLbJy.js";import{A as y,_ as b}from"./DeeXrCej.js";import{F as x}from"./CD4ocKyc.js";import{I as L}from"./p7-OWMP9.js";import{S as A,b as T,c as B,_ as H,a as S}from"./DIy3KLlf.js";import"./yxatLiOt.js";import"./BkCq2Lx3.js";const j="data:image/svg+xml,%3csvg%20width='15'%20height='18'%20viewBox='0%200%2015%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%208.5H7.979'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.97656%206.5L7.97656%208.5L5.97656%2010.5'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2010.5V15.5C3%2015.7652%203.10536%2016.0196%203.29289%2016.2071C3.48043%2016.3946%203.73478%2016.5%204%2016.5H13C13.2652%2016.5%2013.5196%2016.3946%2013.7071%2016.2071C13.8946%2016.0196%2014%2015.7652%2014%2015.5V2.5C14%202.23478%2013.8946%201.98043%2013.7071%201.79289C13.5196%201.60536%2013.2652%201.5%2013%201.5H4C3.73478%201.5%203.48043%201.60536%203.29289%201.79289C3.10536%201.98043%203%202.23478%203%202.5V6.5'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",N="data:image/svg+xml,%3csvg%20width='17'%20height='18'%20viewBox='0%200%2017%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%2010.5V16.5'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10%2013.5H16'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.5%208C9.29493%208%2010.75%206.54493%2010.75%204.75C10.75%202.9550
17%209.29493%201.5%207.5%201.5C5.70507%201.5%204.25%202.95507%204.25%204.75C4.25%206.54493%205.70507%208%207.5%208Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.49844%2010.814C8.86844%2010.61%208.19644%2010.5%207.49844%2010.5C4.07744%2010.5%201.27944%2013.145%201.02344%2016.5H9.49844'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",V={name:"LoginOptions",components:{FormHeading:x,InfoBox:L,AuthInfo:y,SsoContainer:A},props:["logo","hasAccount"],emits:["close","onModalOpen","setModal","onLoginWithProvider","setNotificationType"],computed:{buttonText(){return this.$device.isMobile?{login:"Login to your Account",register:"Get an Account"}:this.hasAccount?{account:"Login with Account",magic:"Login with Magic Link",next:"Don't have an account?",type:"sign up"}:{account:"Create an Account",magic:"Sign up with Magic Link",next:"Have an account?",type:"login"}}},mounted(){setTimeout(()=>{this.$emit("onModalOpen")},500)},methods:{close(){this.$emit("close")},openLoginModal(){this.$emit("setModal","login")},openRegisterModal(){this.$emit("setModal","register")},openMagicLinkModal(){const n=this.hasAccount?"login":"register";this.$emit("setNotificationType",{type:n,email:null}),this.$emit("setModal","magic")}}},I={class:"options-modal__action"},O={key:0,src:T},R={key:1,src:B},P={key:0,src:H},F={key:1,src:S},$={class:"options-modal__terms"},W={class:"options-modal__sign-up"},D={class:""},Z={class:"capitalize"},z=["src"],E={class:"options-modal__action--mobile"};function G(n,o,r,U,q,e){const p=c("FormHeading"),k=c("InfoBox"),_=c("SsoContainer"),u=C,h=c("AuthInfo"),M=b;return l(),w(M,{ref:"modal",logo:r.logo,dark:n.$device.isMobile,onClose:e.close},v({_:2},[n.$device.isMobile?{name:"body",fn:d(()=>[t("img",{src:r.logo},null,8,z),t("div",E,[t("button",{onClick:o[4]||(o[4]=i=>e.openLoginModal())},[o[10]||(o[10]=t("img",{src:j},null,-1)),t("span",null,a(e.buttonText.login),1)]),t("button",{onClick:o[5]||(o[5]=i=>e.openRegisterModal())},[o[11]||(o[11]=t("img",{src:N},null,-1)),t("span",null,a(e.buttonText.register),1)])]),s(h)]),key:"1"}:{name:"body",fn:d(()=>[s(p,{type:r.hasAccount?"login":"register"},null,8,["type"]),t("div",I,[t("button",{onClick:o[0]||(o[0]=i=>r.hasAccount?e.openLoginModal():e.openRegisterModal())},[n.$manifold.siteName==="RealSport101"?(l(),m("img",O)):(l(),m("img",R)),t("span",null,a(e.buttonText.account),1)]),t("button",{onClick:o[1]||(o[1]=i=>e.openMagicLinkModal())},[n.$manifold.siteName==="RealSport101"?(l(),m("img",P)):(l(),m("img",F)),t("span",null,a(e.buttonText.magic),1)]),s(k,null,{body:d(()=>[...o[6]||(o[6]=[t("strong",null,"Magic link ",-1),g(" is a passwordless verification that lets users login by clicking a link that's emailed to them. ",-1)])]),_:1})]),s(_,{onOnLoginWithProvider:o[2]||(o[2]=i=>n.$emit("onLoginWithProvider",i))}),t("div",$,[s(u,{to:"/page/website-terms-of-use"},{default:d(()=>[...o[7]||(o[7]=[g(" Terms of Use ",-1)])]),_:1}),o[9]||(o[9]=g("  and ",-1)),s(u,{to:"/page/privacy-policy"},{default:d(()=>[...o[8]||(o[8]=[g(" Privacy Policy ",-1)])]),_:1})]),t("div",W,[t("span",D,a(e.buttonText.next),1),t("button",{onClick:o[3]||(o[3]=i=>r.hasAccount?e.openRegisterModal():e.openLoginModal())},[t("span",Z,a(e.buttonText.type)+" â",1)])])]),key:"0"}]),1032,["logo","dark","onClose"])}const eo=Object.assign(f(V,[["render",G]]),{__name:"MLoginOptions"});export{eo 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.