1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ba6387df-34dc-465e-8bd4-e8362947f4ef",e._sentryDebugIdIdentifier="sentry-dbid-ba6387df-34dc-465e-8bd4-e8362947f4ef")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"20261005.8"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8886,7767],{1381:function(e,t,s){"use strict";s.d(t,{D:function(){return a},We:function(){return r},_h:function(){return n.Z},j5:function(){return o}});var r=e=>`${window.location.protocol}//${window.location.hostname}${window.location.port?`:${window.location.port}`:""}/${e}`,n=s(31024);s(85441);let a=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=Math.floor(e/86400),r=Math.floor(e%86400/3600),n=Math.floor(e%3600/60),a=e%60,o="";return t?(s>0&&(o+=`${s}d `),r>0&&(o+=`${r}h `),n>0&&(o+=`${n}m `),a>0?o+=`${a}s`:o+="0s"):o=`${s}d ${r}h ${n}m ${a}s`,o},o=(e,t)=>{let s;let r=0,n=[...e],a=()=>{r>=n.length||((0,n[r])(),r++,s=setTimeout(a,t))};return a(),()=>{s&&clearTimeout(s)}}},85441:function(e,t,s){"use strict";var r=s(46138);t.Z=(e,t,s)=>{if("CA"!==t&&"US"!==t)return!0;let n=r.ElL().find(e=>e.abbreviation===s)?.name;for(let t of e.jurisdictions)for(let e of t.states)if(n===e)return!0;return!1}},31024:function(e,t,s){"use strict";var r,n;s.d(t,{Y:function(){return r}}),(n=r||(r={}))[n.Unknown=0]="Unknown",n[n.TooWeak=1]="TooWeak",n[n.Weak=2]="Weak",n[n.Medium=3]="Medium",n[n.Strong=4]="Strong",t.Z=e=>e?(/[a-z]/.test(e)?1:0)+(/[A-Z]/.test(e)?1:0)+(/\d/.test(e)?1:0)+(/\W/.test(e)?1:0):0},75326:function(e,t,s){"use strict";s.d(t,{U:function(){return o}});var r=s(52322),n=s(2784),a=s(40489);s(44466);let o=n.forwardRef((e,t)=>{let{className:s,...n}=e;return(0,r.jsx)("input",{type:"checkbox",className:(0,a.Z)("app-checkbox",s),ref:t,...n})});o.displayName="AppCheckbox"},79136:function(e,t,s){"use strict";s.d(t,{Z:function(){return ed}});var r=s(52322),n=s(86246),a=s(87692);let o=(0,s(89898).c)(async()=>(await Promise.all([s.e(6493),s.e(195)]).then(s.bind(s,10195))).default,{priority:n.sd.HIGH,backdrop:a.i.BLACK});var i=s(83705);s(67273);var l=s(2784),c=s(36719),d=s(75840),u=s(74131),p=s(78418),m=s(47164),h=s(61847),g=s(49966),f=s(67465),x=s(57811),w=s(71587),k=s(13741),y=s(69985),j=s(86468),C=s.n(j),v=s(89644),_=s.n(v),N=s(96577),b=s.n(N),S=s(33078),I=s(46138),E=s(1381),A=s(43202),L=s(13980),T=s.n(L);let B=e=>(0,r.jsxs)("svg",{onClick:()=>{e.handleOnClick()},enableBackground:"new 0 0 32 32",id:"Editable-line",version:"1.1",viewBox:"0 0 32 32",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,r.jsx)("path",{d:" M16,7C9.934,7,4.798,10.776,3,16c1.798,5.224,6.934,9,13,9s11.202-3.776,13-9C27.202,10.776,22.066,7,16,7z",fill:"none",id:"XMLID_13_",stroke:"#000000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2}),(0,r.jsx)("circle",{cx:16,cy:16,fill:"none",id:"XMLID_14_",r:5,stroke:"#000000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2}),(0,r.jsx)("line",{fill:"none",id:"XMLID_15_",stroke:"#000000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2,x1:3,x2:29,y1:3,y2:29})]});B.propTypes={handleOnClick:T().func.isRequired};let Z=e=>(0,r.jsxs)("svg",{onClick:()=>{e.handleOnClick()},enableBackground:"new 0 0 32 32",id:"Editable-line",version:"1.1",viewBox:"0 0 32 32",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,r.jsx)("path",{d:" M16,7C9.934,7,4.798,10.776,3,16c1.798,5.224,6.934,9,13,9s11.202-3.776,13-9C27.202,10.776,22.066,7,16,7z",fill:"none",id:"XMLID_10_",stroke:"#000000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2}),(0,r.jsx)("circle",{cx:16,cy:16,fill:"none",id:"XMLID_12_",r:5,stroke:"#000000",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:2})]});Z.propTypes={handleOnClick:T().func.isRequired};var O=s(51466),$=s(79301),R=s(86239),M=s(42194),D=s(35194),P=s(80924),F=s(66357),W=s(92472),Q=s(14564),U=s(31024),Y=s(19582),G=s(75785),K={src:"/_next/static/media/check-mark-success.49027f6d.svg",height:24,width:24,blurWidth:0,blurHeight:0},q=s(18412),z=s(5632),H=s(43344),V=s(65822),X=s(75326);s(75205);var J=s(29577);let ee={[U.Y.Unknown]:"",[U.Y.TooWeak]:"too-weak",[U.Y.Weak]:"weak",[U.Y.Medium]:"medium",[U.Y.Strong]:"strong"},et=e=>{let{children:t}=e;return(0,r.jsx)(V.F,{variant:"link",className:"terms-and-conditions",href:"/terms-and-conditions","data-sentry-element":"AppLink","data-sentry-component":"TermsLink","data-sentry-source-file":"index.tsx",children:(0,r.jsx)("span",{children:t})})},es=e=>{let{children:t}=e;return(0,r.jsx)(V.F,{variant:"link",className:"privacy-policy",href:"/privacy-policy","data-sentry-element":"AppLink","data-sentry-component":"PrivacyPolicyLink","data-sentry-source-file":"index.tsx",children:(0,r.jsx)("span",{children:t})})},er=e=>{let{registrationBonusTotalGC:t,registrationBonusTotalFC:s}=e,n=(0,i.Y)(),{t:a,Trans:o,currentLocale:c}=(0,Y.Cq)(["signup","common"]),d=(0,I.VcR)(c),j=Q.D.config.CLOUDFLARE_CAPTCHA_SITE_KEY,[v,N]=(0,l.useState)(!1),[L,T]=(0,l.useState)(U.Y.Unknown),[V,er]=(0,l.useState)(!1),[en,ea]=(0,l.useState)(!1),[eo,ei]=(0,l.useState)(!1),[el,ec]=(0,l.useState)(""),[ed,eu]=(0,l.useState)(""),[ep,em]=(0,l.useState)(""),[eh,eg]=(0,l.useState)(!1),[ef,ex]=(0,l.useState)(!1),[ew,ek]=(0,l.useState)(!1),[ey,ej]=(0,l.useState)({firstName:"",lastName:"",email:"",password:""}),[eC,ev]=(0,l.useState)(!1),e_=(0,l.useRef)(null),{data:eN,isLoading:eb,isReady:eS}=(0,I.CtO)(),{isCaptchaVerified:eI,captchaToken:eE,captchaError:eA,setCaptchaError:eL,onCaptchaSuccess:eT,resetCaptcha:eB,isCaptchaActive:eZ,turnstileRef:eO}=(0,I.my9)(),e$=(0,z.useRouter)(),eR=eI||!eZ,{isEnableSweep:eM}=(0,I.Pxw)(),{isFbLoginEnabled:eD,isGoogleLoginEnabled:eP}=(0,I.OGJ)(),[eF,eW]=(0,l.useState)(null),eQ=eS&&!eb&&eN?.couponCode||"",eU=!!(eN?.registrationOffer||eN?.cashinOffer),eY=(0,I.o87)(()=>localStorage.getItem("referralToken")),eG=(0,l.useMemo)(()=>!!(e$.isReady&&e$.query.token||eY),[e$.isReady,e$.query.token,eY]),{couponCodeState:eK,isCouponCodeEnabled:eq,isCouponCodeButtonDisabled:ez,isLoading:eH,validatedCouponCode:eV,validatedCampaignInfo:eX,handleSetIsValidCouponCodeState:eJ,handleCouponCodeChange:e0,handleApplyCouponCode:e1}=(0,I.A8B)();(0,l.useEffect)(()=>
1{if(!eQ||!eF||!eU)return;let e=(0,E.j5)([()=>{},()=>{eF.focus()},...[...eQ].map((e,t)=>()=>{e0(eQ.slice(0,t+1))}),()=>{e1()}],100);return()=>{e()}},[eF,eQ,eU]),(0,l.useEffect)(()=>{ep&&window.innerWidth<=640&&e_.current&&e_.current.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},[ep,e_.current]);let e2=e=>e.includes("+")&&!e.toLowerCase().includes("@blazesoft.ca"),e4=e=>{if(e.length<6)return a("errors.password-min-6_raw");if(/^(.)\1{1,}$/.test(e))return a("errors.password-simple-chars_raw");let t=!0,s=!0,r=e.charCodeAt(0),n=e.charCodeAt(0);for(let a=0;a<e.length;a++)if(0===a){if(!(e.charCodeAt(a)>=48&&57>=e.charCodeAt(a)||e.charCodeAt(a)>=65&&90>=e.charCodeAt(a)||e.charCodeAt(a)>=97&&122>=e.charCodeAt(a)))break}else t&&e.charCodeAt(a)-1!==r?t=!1:r=e.charCodeAt(a),s&&e.charCodeAt(a)+1!==n?s=!1:n=e.charCodeAt(a);return t||s?a("errors.password-too-simple_raw"):""},e6=async e=>{let t=!1;e.preventDefault();let{firstName:s,lastName:r,email:o,password:i}=ey;s||(ea(!0),t=!0),r||(ei(!0),t=!0),!C().isEmail(o)||e2(o)?(eu(a("errors.invalid-email_raw")),t=!0):ed&&eu("");let l=e4(i);if(l?(ec(l),t=!0):el&&ec(""),v||(em(a("errors.must-agree-to-terms_raw")),t=!0),V||(em(a("errors.must-agree-to-terms_raw")),t=!0),eR||(eL(a("errors.verification-incomplete")),t=!0),!t){ex(!0);try{let e=await S.Z.register({email:o,firstName:s,lastName:r,password:i,captchaToken:eE,captchaAction:"signup",couponCode:eV});if(em(""),e?.status===409)eu(a("errors.enter-valid-email_raw"));
1else if(e?.status===419)eJ(!1);else if(e?.status>=500)n.show(p.w,{errorType:p.Q.ERROR_DIALOG_CLOSE});else if(e?.status>=400)em(e?.data);else{let t=JSON.parse(e?.config.data);localStorage.setItem("logged-in-email",t.email),localStorage.setItem("process","SIGN_UP_WITH_EMAIL"),I.$02.onSignUp({method:"EMAIL"},t.email),I.$02.onSignUpEmail(t.email),e?.data?.isBonusApplied&&(localStorage.setItem(I.QtK.SignupBonus,"EMAIL"),localStorage.setItem(I.QtK.SignupBonusData,JSON.stringify(e.data))),S.Z.loginRedirect({state:{userSignUp:!0}})}}catch(e){n.show(p.w,{errorType:p.Q.ERROR_DIALOG_CLOSE,errorContent:a("errors.something-went-wrong-please-try-again_raw")})}finally{ex(!1),eB()}}},e7=e=>{let{target:{name:t,value:s}}=e,r={...ey};r[t]=s,"firstName"===t&&en&&ea(!1),"lastName"===t&&eo&&ei(!1),ej(r)},e3=()=>{(0,I.d8j)(G.lt,c??G.ZW,1),S.Z.loginRedirect({prompt:"login"})},e8=null,e9=eX?eX.registrationOffer:eN?.registrationOffer;e9&&e9.additionalProductPoints>0&&e9.additionalSweepsPoints>0&&eM?e8=(0,r.jsx)("div",{className:"additional-hab",children:(0,r.jsx)(o,{i18nKey:"get-additional-gc-and-fc",components:{gc:(0,r.jsx)(J.T,{append:" GC","data-testid":(0,H.Q)("signup.bonus.gcAmount"),className:"gc",coinType:D.ys.GC,amount:e9.additionalProductPoints}),fc:(0,r.jsx)(J.T,{append:" SC","data-testid":(0,H.Q)("signup.bonus.fcAmount"),className:"fc",coinType:D.ys.FC,amount:e9.additionalSweepsPoints})}})}):e9&&(e9.additionalProductPoints>0&&0===e9.additionalSweepsPoints||!eM&&e9.additionalProductPoints>0)?e8=(0,r.jsx)("div",{className:"additional-hab",children:(0,r.jsx)(o,{i18nKey:"get-additional-gc",components:{gc:(0,r.jsxs)("span",{className:"gc","data-testid":(0,H.Q)("signup.bonus.gcAmount"),children:[e9.additionalProductPoints," GC"]})}})}):e9&&0===e9.additionalProductPoints&&e9.additionalSweepsPoints>0&&(e8=(0,r.jsx)("div",{className:"additional-hab",children:(0,r.jsx)(o,{i18nKey:"get-additional-fc",components:{fc:(0,r.jsx)(J.T,{append:" SC","data-testid":(0,H.Q)("signup.bonus.fcAmount"),className:"fc",coinType:D.ys.FC,amount:e9.additionalSweepsPoints})}})}));let e5=(0,l.useCallback)(()=>{let e=!0;return v&&V||(em(a("errors.must-agree-to-terms_raw")),e=!1),eR||(eL(a("errors.verification-incomplete_raw")),e=!1),e},[v,V,eR]),te=(0,l.useCallback)(()=>{n.show(p.w,{errorType:p.Q.ERROR_DIALOG_CLOSE,errorContent:a("common:errors.error-occurred-please-try-again-or-contact-us_raw")})},[n]),tt=(0,I.unR)(),ts=e=>{let{isTakingBreak:t,isSelfExcluded:s,endDate:r}=e;t?n.show(h.U,{takingBreakEndDate:new Date(r)}):s&&n.show(m.t,{selfExclusionEndDate:r&&new Date(r)})},tr=async e=>{try{let t=await S.Z.registerWithGoogle({oAuthToken:e.code,isLogin:!1,captchaToken:eE,captchaAction:"googleAuthentication",couponCode:eV});t?.data?.isLogin||I.$02.onSignUp({method:"GOOGLE"},e.code),await S.Z.loginRedirect({state:{userSignUp:!0}})}catch(e){(0,R.Tb)(e),_().isAxiosError(e)&&e.response?.status===403?n.show(p.w,{errorType:p.Q.ERROR_DIALOG_DEFAULT}):_().isAxiosError(e)&&e.response?.status===423?ts(e.response.data):_().isAxiosError(e)&&e.response?.status===451?n.show(u.X,{}):te()}finally{eB()}},tn=e=>{if(e===M.y.POPUP_FAILED_TO_OPEN){eg(!0);return}te()},ta=async e=>{if(e.preventDefault(),eg(!1),!tt){eg(!0);return}e5()&&n.show(M.Y,{onError:tn,onSuccess:tr})},to=async e=>{if(!eR){eL(a("errors.verification-incomplete_raw"));return}ev(!0);let t=!1;try{let s=await S.Z.registerWithFB({isLogin:!1,facebookId:e.userID,oAuthToken:e.accessToken,captchaToken:eE,captchaAction:"facebookAuthentication",couponCode:eV});switch(localStorage.setItem("process","SIGN_UP_WITH_FB"),s?.status){case 200:case 204:t=!0,localStorage.setItem("isNewPlayer","true"),s?.data?.isBonusApplied&&(localStorage.setItem(I.QtK.SignupBonus,"FB"),localStorage.setItem(I.QtK.SignupBonusData,JSON.stringify(s.data))),S.Z?.loginRedirect({state:{newRegistration:!0}}),s?.data?.isLogin?(I.$02.onLogin({method:"FACEBOOK"},e.userID),I.$02.onLoginFB(e.userID)):(I.$02.onSignUp({method:"FACEBOOK"},e.userID),I.$02.onSignUpFB(e.userID));break;case 403:n.show(p.w,{errorType:p.Q.ERROR_DIALOG_DEFAULT});break;case 423:ts(s.data);break;case 451:n.show(u.X,{});break;default:te()}}catch(e){te()}finally{t||ev(!1),eB()}},ti=async()=>{eg(!1),e5()&&n.show(F.v,{onSuccess:to,onError:e=>{e===F.a.SDK_NOT_LOADED&&eg(!0)}})};return eC?(0,r.jsx)(W.Z,{}):(0,r.jsxs)("div",{className:"signupFormWrapper","data-testid":(0,H.Q)("signup.form.root"),children:[!!e9&&e8,(0,r.jsxs)("div",{className:"main-content",children:[(0,r.jsx)("div",{className:"signUpHeading",children:(0,r.jsx)("h4",{className:"text-start",children:a("sign-up-and-join-the-fun")})}),(0,r.jsx)(g.Z,{children:(0,r.jsx)(f.Z,{mb:"8",className:"upper",children:(0,r.jsx)("div",{className:"signupWrapper",children:(0,r.jsxs)("div",{className:"signupForm",children:[(0,r.jsxs)("div",{className:"sso-buttons-container browser-only",children:[eD&&(0,r.jsx)(O.Z,{text:a("sign-up-with-facebook_raw"),onClick:ti,startIcon:P.Z,"data-testid":(0,H.Q)("signup.form.facebookButton")}),eP&&(0,r.jsx)(O.Z,{onClick:ta,text:a("sign-up-with-google_raw"),startIcon:$.Z,"data-testid":(0,H.Q)("signup.form.googleButton")})]}),eh&&(0,r.jsx)("div",{className:"sign-up-form-google-error",children:a("errors.sso-please-try-again")}),(0,r.jsxs)(x.Z,{onSubmit:e6,children:[(0,r.jsxs)("div",{className:"nameInputs",children:[(0,r.jsxs)(w.Z,{className:"firstName",children:[(0,r.jsx)(k.Z,{type:"text",name:"firstName",id:"firstName",placeholder:a("first-name-placehodler_raw"),className:en?"inputErrorOutline":"_",onCh
1ange:e7,onFocus:e=>{I.$02.onStartRegistration(),I.$02.onFocus(e,e.target.value)},onBlur:e=>I.$02.onBlur(e,e.target.value),"data-testid":(0,H.Q)("signup.form.firstNameInput")}),(0,r.jsx)("p",{className:en?"errorMsgs":"errorMsgsHidden",children:en?a("errors.first-name-is-required"):"error"})]}),(0,r.jsxs)(w.Z,{className:"lastName",children:[(0,r.jsx)(k.Z,{type:"text",name:"lastName",id:"lastName",placeholder:a("last-name-placeholder_raw"),className:eo?"inputErrorOutline":"_",onChange:e7,onFocus:e=>{I.$02.onStartRegistration(),I.$02.onFocus(e,e.target.value)},onBlur:e=>I.$02.onBlur(e,e.target.value),"data-testid":(0,H.Q)("signup.form.lastNameInput")}),(0,r.jsx)("p",{className:eo?"errorMsgs":"errorMsgsHidden",children:eo?a("errors.last-name-is-required"):"error"})]})]}),(0,r.jsxs)(w.Z,{children:[(0,r.jsx)(k.Z,{type:"text",name:"email",id:"emailAddress",placeholder:a("email-placeholder_raw"),className:ed?"emailInputError":"emailInput",onChange:e7,onFocus:e=>{I.$02.onStartRegistration(),I.$02.onFocus(e,e.target.value)},onBlur:e=>I.$02.onBlur(e,e.target.value),"data-testid":(0,H.Q)("signup.form.emailInput")}),(0,r.jsx)("p",{"data-testid":(0,H.Q)("signup.form.emailError"),className:ed?"errorMsgs":"errorMsgsHidden",children:ed||a("errors.email-error-fallback")})]}),(0,r.jsxs)(w.Z,{children:[(0,r.jsxs)("div",{className:el?"passwordInputError":"passwordInput",children:[(0,r.jsx)(k.Z,{type:ew?"text":"password",name:"username",id:"signupPassword",placeholder:a("password-placeholder_raw"),onChange:e=>{let t={...ey},s=e.target.value;t.password=s,e.target.value?T((0,E._h)(e.target.value)):T(U.Y.Unknown),ej(t)},onFocus:e=>{I.$02.onStartRegistration(),I.$02.onFocus(e)},onBlur:e=>I.$02.onBlur(e),autoComplete:"on","data-testid":(0,H.Q)("signup.form.passwordInput")}),(0,r.jsx)("div",{className:"passwordStrength",children:(0,r.jsx)("p",{className:ee[L],"data-testid":(0,H.Q)("signup.form.passwordStrength"),children:(()=>{switch(L){case U.Y.TooWeak:return a("password-strength.too-weak");case U.Y.Weak:return a("password-strength.weak");case U.Y.Medium:return a("password-strength.medium");case U.Y.Strong:return a("password-strength.strong");case U.Y.Unknown:default:return""}})()})}),!ew&&(0,r.jsx)(Z,{handleOnClick:()=>{ek(!0)},"data-testid":(0,H.Q)("signup.form.passwordToggle")}),ew&&(0,r.jsx)(B,{handleOnClick:()=>{ek(!1)},"data-testid":(0,H.Q)("signup.form.passwordToggle")})]}),(0,r.jsx)("p",{className:el?"errorMsgs":"errorMsgsHidden",children:el||a("errors.password-error-fallback")})]}),eq&&!eG?(0,r.jsx)("div",{className:"coupon",children:(0,r.jsxs)(w.Z,{children:[(0,r.jsx)(y.Z,{for:"couponCode",children:a("promo-code-label")}),(0,r.jsxs)("div",{className:`coupon__wrapper coupon__wrapper--${!1===eK.isValid?"error":eK.isValid?"success":"default"}`,children:[(0,r.jsx)(k.Z,{type:"text",name:"couponCode",id:"couponCode",placeholder:a("coupon-code_raw"),className:`coupon__input coupon__input--${eK.value?"filled":"empty"}`,value:eK.value,onChange:e=>e0(e.target.value),onFocus:e=>{I.$02.onStartRegistration(),I.$02.onFocus(e)},onBlur:e=>I.$02.onBlur(e),"data-testid":(0,H.Q)("signup.form.couponInput"),innerRef:eW,spellCheck:!1}),(0,r.jsxs)("div",{className:"coupon__actions",children:[eK.isValid?(0,r.jsx)(b(),{src:K,width:24,height:24,alt:"(coupon valid)"}):null,(0,r.jsx)(A.J,{onClick:e1,disabled:ez,loading:eH,"data-testid":(0,H.Q)("signup.form.couponApplyButton"),type:"button",children:a("coupon-code-apply")})]})]}),(0,r.jsxs)("p",{className:`coupon__apply-msg coupon__apply-msg--${null!==eK.isValid?"visible":"hidden"}
1`,children:[!1===eK.isValid&&(0,r.jsx)("span",{className:"coupon__apply-msg--error",children:a("errors.coupon-code-cannot-be-applied")}),!0===eK.isValid&&(0,r.jsx)("span",{className:"coupon__apply-msg--success",children:a("coupon-code-can-be-applied")})]})]})}):null,(0,r.jsxs)("div",{className:"formCheckWrapper",ref:e_,children:[(0,r.jsxs)(w.Z,{check:!0,children:[(0,r.jsx)(X.U,{name:"ageCheck",className:`exampleCheck ${!1===v&&ep?"errorCheckBoxes":""}`,id:"ageCheck",checked:v,onChange:e=>{e.target.checked?N(!0):N(!1),e.target.checked&&em("")},required:!0,"data-testid":(0,H.Q)("signup.form.ageCheckbox")}),(0,r.jsx)(y.Z,{for:"ageCheck",check:!0,children:(0,r.jsx)(o,{i18nKey:"i-agree-to-the-terms-and-conditions",components:{TermsLink:(0,r.jsx)(et,{}),PrivacyPolicyLink:(0,r.jsx)(es,{})}})})]}),(0,r.jsxs)(w.Z,{check:!0,children:[(0,r.jsx)(X.U,{name:"collectInfoCheck",className:`exampleCheck ${!1===V&&ep?"errorCheckBoxes":""}`,id:"collectInfoCheck",checked:V,onChange:e=>{e.target.checked?er(!0):er(!1),e.target.checked&&em("")},required:!0,"data-testid":(0,H.Q)("signup.form.termsCheckbox")}),(0,r.jsx)(y.Z,{for:"collectInfoCheck",check:!0,children:(0,r.jsx)(o,{i18nKey:"i-agree-to-personal-info-collection",components:{PrivacyPolicyLink:(0,r.jsx)(es,{})}})})]}),ep&&(0,r.jsx)("p",{className:"errorMsgs",children:ep})]}),eZ&&(0,r.jsx)("div",{className:`signup-turnstile-container ${eA?"captchaError":""}`,children:(0,r.jsx)(q.Nc,{ref:eO,siteKey:j,className:"signup-turnstile",onSuccess:eT,onExpire:eB,onError:e=>{eL(a("errors.verification-incomplete")),(0,R.Tb)(e)},options:{size:"flexible",theme:"light",language:d}})}),eA&&(0,r.jsx)("p",{className:"errorMsgs",children:eA}),(0,r.jsx)(w.Z,{className:"text-center buttonRow",children:(0,r.jsx)(A.J,{onClick:e6,loading:ef,className:"loginFormButtton",disabled:!eR,"data-testid":(0,H.Q)("signup.form.submitButton"),children:a("create-an-account_raw")})})]}),(0,r.jsxs)("p",{className:"text-center addUser",children:[a("already-have-an-account"),(0,r.jsx)(A.J,{className:"log-in",variant:"link",onClick:()=>{e3()},"data-testid":(0,H.Q)("signup.form.loginButton"),children:(0,r.jsx)("span",{children:a("common:log-in")})})]})]})})})})]})]})};var en=e=>(0,r.jsx)(er,{...e,"data-sentry-element":"SignupForm","data-sentry-component":"SignupFormWithCaptcha","data-sentry-source-file":"index.tsx"}),ea=s(97729),eo=s.n(ea),ei=s(79313),el=s(61711),ec=s(57598),ed=e=>{let{registrationBonusTotalGC:t,registrationBonusTotalFC:s}=e,n=(0,z.useRouter)(),a=(0,I.kqU)(),u=(0,i.Y)(),p=n.query,{isEnableSweep:m}=(0,I.Pxw)(),{t:h}=(0,Y.Cq)(["signup"]);(0,l.useEffect)(()=>{n.isReady&&(I.$02.onSignupStart(),p.token&&(0,d.p6)(p.token).then(e=>{e.data?void 0!==window&&p.token&&localStorage.setItem("referralToken",p.token):u.show(o,{})}).catch(()=>{u.show(o,{})}))},[p]);let g=(0,l.useMemo)(()=>["signup","register"].includes(n.pathname.split("/")[1])&&!!p.token,[n.pathname,p.token]);return a?(n.push("/lobby"),(0,r.jsx)(W.Z,{})):!1!==a?(0,r.jsx)(W.Z,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(el.f,{title:h("seo.page-title_raw"),metaTitle:h("seo.meta-title_raw"),metaDescription:h("seo.meta-description_raw"),ogTitle:h("seo.og-title_raw"),ogDescription:h("seo.og-description_raw"),ogUrl:h("seo.og-url_raw"),"data-sentry-element":"SeoHead","data-sentry-source-file":"index.tsx"}),g&&(0,r.jsx)(eo(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,r.jsxs)(c.Z,{fluid:!0,className:"signupWrapper","data-testid":(0,H.Q)("pages.signup.root"),"data-sentry-element":"Container","data-sentry-source-file":"index.tsx",children:[(0,r.jsx)(ec.Z,{variant:"signup-login","data-sentry-element":"MainBackgroundImage","data-sentry-source-file":"index.tsx"}),(0,r.jsxs)("div",{className:"contentWrapper",children:[(0,r.jsx)("div",{className:"formAreaWrapper",children:(0,r.jsx)(en,{registrationBonusTotalGC:t,registrationBonusTotalFC:s,"data-sentry-element":"SignupForm","data-sentry-source-file":"index.tsx"})}),(0,r.jsx)("div",{className:"welcomeMessageWrapper",children:(0,r.jsxs)("div",{className:"welcome-message-content",children:[(0,r.jsxs)("div",{className:"welcome-text text-center text-xl-ce
1nter text-lg-center text-sm-start mb-3",children:[(0,r.jsx)("h1",{children:h("free-welcome-bonus")}),(0,r.jsx)("p",{children:h("welcome-bonus-up-to")})]}),(0,r.jsxs)("div",{className:"wrapper gap-3 gap-sm-2",children:[(0,r.jsx)("div",{children:(0,r.jsxs)("span",{className:"coinWrapper goldCoin",children:[(0,r.jsx)(b(),{src:ei.h.gcIcon,width:100,height:100,alt:"gold-coin","data-sentry-element":"Image","data-sentry-source-file":"index.tsx"}),Number(t).toLocaleString()]})}),m&&(0,r.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,r.jsxs)("p",{className:"welcomePlusFree",children:[" ",h("and-free")," "]}),(0,r.jsx)("span",{className:"coinWrapper fcCoin",children:(0,r.jsx)(J.T,{prepend:(0,r.jsx)(b(),{src:ei.h.scIcon,width:100,height:100,alt:"fc-coin"}),coinType:D.ys.FC,amount:s})})]})]})]})})]})]})]})}},6162:function(e,t,s){"use strict";s.d(t,{P:function(){return o}});var r=s(52322),n=s(21648),a=s(2784);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{tags:s={}}=t,o=t=>{let[o,i]=(0,a.useState)(null);if(o)throw o;return(0,r.jsx)(n.SV,{beforeCapture:(e,t)=>{e.setTags({...s,"error.type":"react-boundary"}),i(t)},"data-sentry-element":"SentryErrorBoundary","data-sentry-component":"WrappedComponent","data-sentry-source-file":"withErrorBoundary.tsx",children:(0,r.jsx)(e,{...t,"data-sentry-element":"Component","data-sentry-source-file":"withErrorBoundary.tsx"})})};return o.displayName=`WithErrorBoundary(${e.displayName||e.name||"Component"})`,"Layout"in e&&(o.Layout=e.Layout),o}},44466:function(){},67273:function(){},75205:function(){},69985:function(e,t,s){"use strict";var r=s(7896),n=s(31461),a=s(2784),o=s(13980),i=s.n(o),l=s(12524),c=s.n(l),d=s(40182),u=["className","cssModule","hidden","widths","tag","check","size","for"],p=i().oneOfType([i().number,i().string]),m=i().oneOfType([i().bool,i().string,i().number,i().shape({size:p,order:p,offset:p})]),h={children:i().node,hidden:i().bool,check:i().bool,size:i().string,for:i().string,tag:d.iC,className:i().string,cssModule:i().object,xs:m,sm:m,md:m,lg:m,xl:m,widths:i().array},g=function(e,t,s){return!0===s||""===s?e?"col":"col-"+t:"auto"===s?e?"col-auto":"col-"+t+"-auto":e?"col-"+s:"col-"+t+"-"+s},f=function(e){var t=e.className,s=e.cssModule,o=e.hidden,i=e.widths,l=e.tag,p=e.check,m=e.size,h=e.for,f=(0,n.Z)(e,u),x=[];i.forEach(function(t,r){var n=e[t];if(delete f[t],n||""===n){var a=!r;if((0,d.Kn)(n)){var o,i,l=a?"-":"-"+t+"-";o=g(a,t,n.size),x.push((0,d.mx)(c()(((i={})[o]=n.size||""===n.size,i["order"+l+n.order]=n.order||0===n.order,i["offset"+l+n.offset]=n.offset||0===n.offset,i))),s)}else o=g(a,t,n),x.push(o)}});var w=(0,d.mx)(c()(t,!!o&&"sr-only",!!p&&"form-check-label",!!m&&"col-form-label-"+m,x,!!x.length&&"col-form-label"),s);return a.createElement(l,(0,r.Z)({htmlFor:h},f,{className:w}))};f.propTypes=h,f.defaultProps={tag:"label",widths:["xs","sm","md","lg","xl"]},t.Z=f}}]); 2//# sourceMappingURL=8886-068b3d0be39e8b7d.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.