PageSourceSearch

https://lobby.hyperlucky.com/CxTaX2bQ.js

js hyperlucky.com collected 2026-10-07 00:44:50 UTC 1,900 bytes, 2 lines download raw bytes

1import{aO as A,b2 as P,a4 as E,m as L,y as h,b3 as N,b4 as M,aN as U,b5 as j,b6 as B,ai as p,r as a,v,x as D,A as G,b7 as K,b8 as H,t as Q,b9 as q,ba as F,j as e,aL as J,p as X,Z as z,i as x,J as W,h as Y}from"./BzwVwSBE.js";const Z=({root:t})=>{const{isAuthenticated:n,signinRedirect:s,signupRedirect:b}=A();P();const c=E(),{countryCode:f}=L(),{autoSignIn:d,signType:o}=h(),r=N(),i=M(),m=o==="signup"?b:s,k=U(),u=j(),S=B(p.Login),y=a.useRef(!1),[T,O]=a.useState(!1),C=k.sportsCoupon.get()?t?.REGISTRATION_BONUS_SPORTS_MESSAGE:t?.REGISTRATION_BONUS_MESSAGE,[R]=v(),I=D(R),_=G(K(c,p.LoginHandlerKeycloak),{...I&&{redir:I}}),l=a.useCallback(()=>{const g=H(f)?.prefix||"";o==="signup"&&Q(q()),m({redirect_uri:_,extraQueryParams:{ui_locales:c.split("_")[0],phone_prefix:g,...r?{af_id:r.id,af_token:r.token}:{},...i?{affid:i.id,cxd:i.clickId}:{},bonus_message:encodeURIComponent(C||"")},scope:"openid"})},[r,i,f,c,m,o,C,_]);return a.useEffect(()=>{if(!d||n||y.current)return;if(u.isAuthModalEnabled){y.current=!0,O(!0),S&&(o==="signup"?u.openSignUp():u.openSignIn(),F(["autoSignIn","signType"]));return}const g=setTimeout(()=>l(),1e3);return()=>clearTimeout(g)},[d,n,S,u,o,l]),n?e.jsx(J,{behavior:"external",variant:"primary",to:p.Lobby,children:t?.BACK_TO_HOME??"Back to Home"}):d&&!T?e.jsx(X,{}):e.jsx(z,{centered:!0,children:e.jsx(x,{children:e.jsx(W,{type:"button",variant:"primary","data-testid":"keycloak-login__button",onClick:l,children:t?.NEXT||"NEXT"})})})},w={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"KeycloakLogin_TfzrtOWJ"}}],loc:{source:{body:""}}},ee=()=>{const{autoSignIn:t}=h(),n=a.useMemo(()=>({query:w}),[]),[{data:s}]=Y(n);return e.jsxs(x,{children:[s?.root.SMS_LOGIN_INTRODUCTION&&!t&&e.jsx("p",{children:s.root.SMS_LOGIN_INTRODUCTION}),e.jsx(Z,{root:s?.root})]})};export{ee as default};
2//# sourceMappingURL=CxTaX2bQ.js.map

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.