1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="e80ac863-db89-49cf-92a4-efccebcd0cc4",_sentryDebugIdIdentifier="sentry-dbid-e80ac863-db89-49cf-92a4-efccebcd0cc4")}catch(e){} 2var SENTRY_RELEASE;SENTRY_RELEASE={name: "WizBet", version: "2.0.12"}; 3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,"__esModule",{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return w}});var o=e(r(d[0])),t=e(r(d[1])),n=e(r(d[2])),s=e(r(d[3])),l=r(d[4]),c=e(r(d[5])),u=r(d[6]),p=r(d[7]),b=r(d[8]),h=r(d[9]),C=r(d[10]),x=r(d[11]),f=r(d[12]);const y=()=>{const e=(0,r(d[28]).c)(4),{values:o,validateForm:t}=(0,r(d[26]).useFormikContext)();let n,s;return e[0]!==t||e[1]!==o?(n=()=>{t(o)},s=[o,t],e[0]=t,e[1]=o,e[2]=n,e[3]=s):(n=e[2],s=e[3]),(0,r(d[17]).useEffect)(n,s),null},k=()=>{const e=(0,r(d[28]).c)(15),o=(0,r(d[13]).useTheme)(),{values:s}=(0,r(d[26]).useFormikContext)(),c=(0,l.useRouter)();let u;e[0]!==o?(u=v(o),e[0]=o,e[1]=u):u=e[1];const p=u;let b;e[2]!==o.colors.text||e[3]!==o.fontFamily?(b={color:o.colors.text,fontFamily:o.fontFamily},e[2]=o.colors.text,e[3]=o.fontFamily,e[4]=b):b=e[4];const h=b;let C,x,f;return e[5]!==c||e[6]!==s.userinput?(C=()=>c.navigate({pathname:"reset-password",params:{userinput:s.userinput.toLowerCase()}}),e[5]=c,e[6]=s.userinput,e[7]=C):C=e[7],e[8]!==h||e[9]!==p.text?(x=(0,r(d[22]).jsx)(n.default,{style:[h,p.text],children:"Forgot login details or password?"}),e[8]=h,e[9]=p.text,e[10]=x):x=e[10],e[11]!==p.container||e[12]!==C||e[13]!==x?(f=(0,r(d[22]).jsx)(t.default,{style:p.container,onPress:C,children:x}),e[11]=p.container,e[12]=C,e[13]=x,e[14]=f):f=e[14],f};var w=()=>{const e=(0,r(d[13]).useTheme)(),t=(0,r(d[14]).useScreenDimensions)(),w=(0,l.useRouter)(),v=(0,r(d[15]).useConfirmModalStore)(e=>e.setConfirmParams),P=(0,r(d[16]).useLocalAppStateStore)(e=>e.Username),S=(0,r(d[16]).useLocalAppStateStore)(e=>e.setUsername),{useAccountDetails:T}=(0,x.useAccountActions)(),{refetch:L}=T(),[M,B]=(0,r(d[17]).useState)(!1),A=(0,r(d[18]).useAuthStore)(e=>e.authData),{useLogin:F,useEnableAccount:R}=(0,f.useAuthActions)(),{mutate:D}=F(),{mutate:E}=R(),W=j(e,{width:t.width,height:t.height}),O={color:e.colors.text,fontFamily:e.fontFamily},z=(0,r(d[19]).object)().shape({userinput:(0,r(d[19]).string)().min(1,({min:e})=>`Login field must be at least ${e} characters`).test("valid email or mobile","Enter a valid Email or Mobile number",e=>{if(e){let o=(0,r(d[20]).validMobilePhone)(e),t=!1;
3return o||(t=(0,c.default)(e)),o||t}return!1}),password:(0,r(d[19]).string)().min(1,({min:e})=>`Password must be at least ${e} characters`).required("Password is required")}),V=(0,r(d[17]).useRef)(!1),H=(0,r(d[17]).useRef)(!1),U=(0,r(d[17]).useCallback)(async e=>{Object.keys(e).forEach(o=>{"string"==typeof e[o]&&(e[o]=e[o].trim())});let o=(0,r(d[20]).validMobilePhone)(e.userinput.toLowerCase());B(!0),D({UserInput:o?(0,r(d[20]).formatMobilePhone)(e.userinput.toLowerCase()):e.userinput.toLowerCase(),Email:e.userinput.toLowerCase(),Password:e.password},{onSuccess:o=>{B(!1),"mustchangepassword"==o?.ErrorMessage?.Code?w.navigate({pathname:"/migrate",params:{userinput:e.userinput.toLowerCase()}}):o?.Token?(S(e.userinput.toLowerCase()),L(),w.dismissTo(r(d[21]).HOME)):"Closed Account"==o.ErrorMessage?.Values?.reason&&(v({callback:()=>{if(V.current&&H.current){let o=(0,r(d[20]).validMobilePhone)(e.userinput);E({UserInput:o?(0,r(d[20]).formatMobilePhone)(e.userinput):e.userinput.toLowerCase(),Password:e.password,AreYouInControlOfYourGambling:V.current})}},message:"Account Re-enable",children:(0,r(d[22]).jsx)(r(d[23]).InControlForm,{inControl:V,wantToReenable:H})}),w.navigate({pathname:"confirm"}))},onError:e=>{B(!1)}})},[]);return A?(0,r(d[22]).jsx)(l.Redirect,{href:r(d[21]).HOME}):(0,r(d[22]).jsxs)(s.default,{testID:"screen-login",style:W.screenContainer,children:[e.login.backgroundImage?(0,r(d[22]).jsx)(r(d[24]).SvgImage,{image:e.login.backgroundImage,style:W.backgroundImage,resizeMode:"cover",source:e.login.backgroundImage,fadeDuration:0}):(0,r(d[22]).jsx)(r(d[24]).SvgImage,{image:e.appBackground,style:W.appBackground,resizeMode:"cover",source:e.appBackground,fadeDuration:0}),(0,r(d[22]).jsx)(s.default,{style:W.safeArea,children:(0,r(d[22]).jsxs)(r(d[25]).KeyboardWrapper,{keyboardShouldPersistTaps:"handled",style:W.keyboardWrapper,contentContainerStyle:W.keyboardContentContainer,children:[(0,r(d[22]).jsx)(s.default,{style:W.spacer}),(0,r(d[22]).jsx)(p.PressableWeb,{accessibilityLabel:"close-button",testID:"close-button",style:W.closeButton,onPress:()=>{w.canGoBack()?w.back():w.dismissTo(r(d[21]).HOME)},children:(0,r(d[22]).jsx)(h.Icon,{color:W.closeIcon.color,size:32,name:"close"})}),(0,r(d[22]).jsxs)(s.default,{style:W.headerContainer,children:[(0,r(d[22]).jsx)(p.PressableWeb,{onPress:()=>{w.dismissTo(r(d[21]).HOME)},style:W.logoPressable,children:(0,r(d[22]).jsx)(r(d[24]).SvgImage,{image:e.productHeader,style:W.logo,resizeMode:"contain",source:e.login?.logo?e.login?.logo:e.productHeader,fadeDuration:0})}),(0,r(d[22]).jsxs)(s.default,{style:W.titleContainer,children:[(0,r(d[22]).jsx)(n.default,{style:[O,W.titleText],children:"Account Log In"}),(0,r(d[22]).jsx)(s.default,{style:W.horizontalLine})]})]}),(0,r(d[22]).jsx)(s.default,{accessibilityRole:"form",children:(0,r(d[22]).jsx)(r(d[26]).Formik,{initialValues:{userinput:P,password:""},initialTouched:P?{userinput:!0}:void 0,validationSchema:z,onSubmit:U,validateOnMount:!0,validateOnChange:!1,validateOnBlur:!1,children:({handleSubmit:t,isValid:l})=>{const c=I(e,{isValid:l});return(0,r(d[22]).jsxs)(s.default,{children:[(0,r(d[22]).jsx)(y,{}),(0,r(d[22]).jsxs)(s.default,{style:W.loginFormContainer,children:[(0,r(d[22]).jsx)(r(d[26]).Field,{accessibilityLabel:"user-input",testID:"user-input",autoCapitalize:"none",component:r(d[27]).CustomTextInput,name:"userinput",placeholder:"Email Address or Mobile Phone #",regexes:[" "],selectionColor:e.colors.accent,placeholderStyle:W.inputPlaceholder,textStyle:W.inputText,style:W.inputField}),(0,r(d[22]).jsx)(r(d[26]).Field,{accessibilityLabel:"password-input",testID:"password-input",component:b.CustomPasswordInput,name:"password",placeholder:"Password",selectionColor:e.colors.accent,regexes:[" "],placeholderStyle:W.inputPlaceholder,textStyle:W.inputText,onKeyPress:e=>{"Enter"==e.key&&t()},style:W.inputField}),(0,r(d[22]).jsx)(p.PressableWeb,{accessibilityLabel:"login-button",testID:"login-button",onPress:t,style:c.loginButton,capitalize:!1,disabledStyle:c.loginButtonDisabled,disabled:!l,children:M?(0,r(d[22]).jsx)(o.default,{color:c.activityIndicator.color}):(0,r(d[22]).jsx)(n.default,{style:[O,c.loginButtonText],children:"Log In"})})]}),(0,r(d[22]).jsx)(s.default,{style:W.forgotUsernameContainer,children:(0,r(d[22]).jsx)(k,{})}),(0,r(d[22]).jsx)(s.default,{style:W.signupContainer,children:(0,r(d[22]).jsxs)(s.default,{style:W.signupRow,children:[(0,r(d[22]).jsx)(n.default,{style:[O,W.signupText],children:"Don't have an account?"}),(0,r(d[22]).jsx)(u.SignUp,{text:"Join "+C.env.COMPANY_NAME})]})})]})}})})]})})]})};const j=(0,r(d[29]).makeStyles)((e,{width:o,height:t}={})=>{const n=e.login?.screen?.backgroundColor??e.colors.background,s=e.login.backgroundColor||e.signup.backgroundColor,l=e.checkTextColor(s),c=e.borderRadius??e.borders.radius.medium,u=e.login?.screen?.backgroundColor?e.login?.screen?.backgroundColor:e.login.backgroundImage||e.appBackgroun
3d?"transparent":n,p=e.login?.content?.color??e.checkTextColor(n),b=e.login?.close?.color??e.colors.accent;return{screenContainer:{flex:1,backgroundColor:u},backgroundImage:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},appBackground:{width:"100%",height:"100%",backgroundColor:"transparent",position:"absolute"},safeArea:{flex:1,backgroundColor:"transparent",zIndex:1},closeButton:{position:"absolute",right:0,backgroundColor:e.withAlpha(e.colors.background,.5),padding:e.spacing.ml},spacer:{height:.15*t},closeIcon:{color:b},keyboardWrapper:{flex:1},keyboardContentContainer:{flexGrow:1},headerContainer:{justifyContent:"center",alignItems:"center",alignSelf:"center"},logoPressable:{},logo:{...e.productHeaderSize,backgroundColor:"transparent"},titleContainer:{alignSelf:"center"},titleText:{...e.textVariants.body.l,padding:e.spacing.m,color:p},horizontalLine:{height:1,marginBottom:e.spacing.ml,backgroundColor:e.checkTextColor(n)},loginFormContainer:{justifyContent:"space-evenly",alignItems:"center",backgroundColor:s,padding:e.spacing.l,width:"90%",maxWidth:600,marginLeft:"auto",marginRight:"auto",borderRadius:c,borderColor:e.login?.containerBorderColor??e.checkTextColor(n),borderWidth:e.login?.borderWidth?e.login.borderWidth:0},inputPlaceholder:{backgroundColor:s,color:l},inputText:{backgroundColor:s,color:l,borderColor:e.login?.borderColor??l},inputField:{width:"100%",margin:e.spacing.m},forgotUsernameContainer:{flex:1,justifyContent:"space-between",alignItems:"center",alignContent:"center",width:"100%",maxWidth:600,marginHorizontal:"auto"},signupContainer:{padding:e.spacing.xxl,flex:1,flexDirection:"row",justifyContent:"space-around",alignItems:"center"},signupRow:{flexDirection:"row",justifyContent:"space-evenly",alignItems:"center"},signupText:{...e.textVariants.body.m,color:p,paddingRight:e.spacing.xs,marginRight:e.spacing.xs}}}),I=(0,r(d[29]).makeStyles)((e,{isValid:o}={})=>{const t=e.login?.button?.backgroundColor??e.colors.accent,n=e.login?.button?.disabledBackgroundColor??e.colors.primary,s=e.borderRadius??e.borders.radius.medium,l=o?e.login?.button?.color??(e.login?.button?.backgroundColor?e.checkTextColor(e.login?.button?.backgroundColor):e.checkTextColor(e.colors.accent)):e.login?.button?.disabledBackgroundColor?e.withAlpha(e.checkTextColor(e.login?.button?.disabledBackgroundColor),.5):e.checkTextColor(e.colors.primary);return{loginButton:{padding:e.spacing.m,margin:e.spacing.s,width:200,marginLeft:"auto",marginRight:"auto",alignItems:"center",borderRadius:s,backgroundColor:t,borderColor:e.login?.button?.borderColor??e.colors.primaryLight,borderWidth:e.borders.width.thin},loginButtonDisabled:{backgroundColor:n,borderColor:e.login?.button?.disabledBorderColor??e.colors.primaryLight,borderWidth:e.borders.width.medium},loginButtonText:{...e.textVariants.body.l,color:l},activityIndicator:{color:o?e.checkTextColor(e.colors.accent):e.checkTextColor(e.colors.primary)}}}),v=(0,r(d[29]).makeStyles)(e=>{const o=e.login?.content?.backgroundColor??e.login?.screen?.backgroundColor??e.colors.background;return{container:{padding:e.spacing.s,alignSelf:"center"},text:{...e.textVariants.body.s,textDecorationLine:"underline",color:e.checkTextColor(o)}}})},756,[377,392,342,269,773,1162,1163,787,1164,879,838,1096,1156,777,1165,806,790,9,818,1166,1167,781,179,1161,792,1159,1168,1169,774,778]); 4__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}
4Object.defineProperty(_e,"__esModule",{value:!0}),Object.defineProperty(_e,"InControlForm",{enumerable:!0,get:function(){return u}});var t=e(r(d[0])),o=e(r(d[1])),n=e(r(d[2])),l=e(r(d[3]));const s=({inControl:e,wantToReenable:s})=>{const u=(0,r(d[4]).useTheme)(),f=c(u),y=((0,n.default)(),u.checkTextColor(u.colors.background)),[b,h]=(0,r(d[5]).useState)(!1),[x,j]=(0,r(d[5]).useState)(!1);(0,r(d[5]).useEffect)(()=>{e.current=!1,s.current=!1},[]);const C=(0,r(d[5]).useCallback)(()=>{b?(h(!1),e.current=!1):(h(!0),e.current=!0)},[e,b]),p=(0,r(d[5]).useCallback)(()=>{x?(j(!1),s.current=!1):(j(!0),s.current=!0)},[e,x]);return(0,r(d[6]).jsxs)(l.default,{style:f.container,children:[(0,r(d[6]).jsxs)(l.default,{style:f.row,children:[(0,r(d[6]).jsx)(o.default,{style:f.questionText,children:"Are you in control of your gambling?"}),(0,r(d[6]).jsxs)(l.default,{style:f.optionsContainer,children:[(0,r(d[6]).jsxs)(l.default,{style:f.radioContainer,children:[(0,r(d[6]).jsx)(o.default,{style:f.radioLabel,children:"Yes"}),(0,r(d[6]).jsx)(t.default,{onPress:C,style:f.radioPressable,children:(0,r(d[6]).jsx)(l.default,{style:[f.radioOuter,{borderColor:y}],children:b?(0,r(d[6]).jsx)(l.default,{style:[f.radioInner,{backgroundColor:y}]}):null})})]}),(0,r(d[6]).jsxs)(l.default,{style:f.radioContainer,children:[(0,r(d[6]).jsx)(o.default,{style:f.radioLabel,children:"No"}),(0,r(d[6]).jsx)(t.default,{onPress:C,style:f.radioPressable,children:(0,r(d[6]).jsx)(l.default,{style:[f.radioOuter,{borderColor:y}],children:b?null:(0,r(d[6]).jsx)(l.default,{style:[f.radioInner,{backgroundColor:y}]})})})]})]})]}),(0,r(d[6]).jsxs)(l.default,{style:f.row,children:[(0,r(d[6]).jsx)(o.default,{style:f.questionText,children:"Would you like to re-enable your account?"}),(0,r(d[6]).jsxs)(l.default,{style:f.optionsContainer,children:[(0,r(d[6]).jsxs)(l.default,{style:f.radioContainer,children:[(0,r(d[6]).jsx)(o.default,{style:f.radioLabel,children:"Yes"}),(0,r(d[6]).jsx)(t.default,{onPress:p,style:f.radioPressable,children:(0,r(d[6]).jsx)(l.default,{style:[f.radioOuter,{borderColor:y}],children:x?(0,r(d[6]).jsx)(l.default,{style:[f.radioInner,{backgroundColor:y}]}):null})})]}),(0,r(d[6]).jsxs)(l.default,{style:f.radioContainer,children:[(0,r(d[6]).jsx)(o.default,{style:f.radioLabel,children:"No"}),(0,r(d[6]).jsx)(t.default,{onPress:p,style:f.radioPressable,children:(0,r(d[6]).jsx)(l.default,{style:[f.radioOuter,{borderColor:y}],children:x?null:(0,r(d[6]).jsx)(l.default,{style:[f.radioInner,{backgroundColor:y}]})})})]})]})]})]})},u=e=>{const t=(0,r(d[7]).c)(8),{inControl:o,wantToReenable:n}=e,u=(0,r(d[4]).useTheme)();let f;t[0]!==u?(f=c(u),t[0]=u,t[1]=f):f=t[1];const y=f;let b,h;return t[2]!==o||t[3]!==n?(b=(0,r(d[6]).jsx)(s,{inControl:o,wantToReenable:n}),t[2]=o,t[3]=n,t[4]=b):b=t[4],t[5]!==y.formWrapper||t[6]!==b?(h=(0,r(d[6]).jsx)(l.default,{keyboardShouldPersistTaps:"handled",style:y.formWrapper,children:b}),t[5]=y.formWrapper,t[6]=b,t[7]=h):h=t[7],h},c=(0,r(d[8]).makeStyles)(e=>{const t=e.checkTextColor(e.colors.background);return{container:{justifyContent:"space-evenly",alignItems:"center",backgroundColor:e.colors.background,padding:e.spacing.l,borderRadius:e.borders.radius.medium},row:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%"},questionText:{...e.textVariants.body.m,color:t},optionsContainer:{flexDirection:"row",alignItems:"center"},radioContainer:{transform:[{scale:.8}],alignItems:"center"},radioLabel:{...e.textVariants.body.s,color:t},radioPressable:{padding:e.spacing.s},radioOuter:{width:24,height:24,borderRadius:12,borderWidth:2,alignItems:"center",justifyContent:"center"},radioInner:{width:12,height:12,borderRadius:6},formWrapper:{width:"90%",maxWidth:600,marginLeft:"auto",marginRight:"auto"}}})},1161,[392,342,417,269,777,9,179,774,778]);
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.