1export const __webpack_id__=4014;export const __webpack_ids__=[4014];export const __webpack_modules__={56185:(e,r,t)=>{t.d(r,{k:()=>C});var o=t(96540),n=t(16699);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},a.apply(null,arguments)}const i=({children:e,...r})=>o.createElement(n.$,a({view:"secondary"},r),e);var s=t(62150),l=t(49343),c=t(13562),d=t(75235),g=t(27662),u=t(47538),m=t(29675),_=t(40871),p=t(19907),L=t(59512),f=t(46792),b=t(1955),h=t(60783),x=t(72159);function y(){return y=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},y.apply(null,arguments)}const k=({id:e,articleId:r,messageToParse:t,title:n,onlyArticle:a,expirationDate:k,...E})=>{const{date:w,getTimeLong:C,parseImsDate:v}=(0,f.k)(),I=(0,g.iD)(),P=(0,u.n_)(e),A=_.C({webContentId:r,url:null}),O=(0,p.c3)("playtech.mobile.system.extendedloginerror."),[{isLoading:T,data:F},N]=(0,L.w)({fetch:h.Jt,params:A,initialIsLoading:!1,shouldFetch:m.g});(0,b.w)((()=>{N(A)}),[N,A]);const M=F?((e="",r="",t,o,n,a,i,s)=>{const l=a(s||r.substr(r.length-d.Um,d.Um)),c=new Date,g=isNaN(l.getTime())?t("no_date"):`${l.toDateString()} @ ${n(i(l),"en_GB")}`;return c>l?e.replace(/\[in-start][^[]+\[in-end]/gi,"").replace(/\[[^\]]+]/gi,""):e.replace(/\[out-start][^[]+\[out-end]/gi,"").replace(/\[[^\]]+]/gi,"").replace("***",g)})(F,t,O,0,C,v,I,k):null;return o.createElement(l.yC,y({onClose:P,className:x.A.extendedErrorPopup},E),T&&o.createElement(s.a,null),M&&o.createElement(o.Fragment,null,n&&!a&&o.createElement("div",{className:x.A.extendedErrorTitle},n),o.createElement(c.I,{content:M}),!a&&o.createElement(i,{view:"secondary",size:"medium",className:x.A.extendedErrorButton,onClick:P},O("ok"))))};var E=t(48227);const w=(0,t(23745).NF)(),C=({onClose:e,articleId:r,messageToParse:t,title:o,onlyArticle:n,withLogo:a,expirationDate:i}={})=>(0,E.aY)({id:w,component:k,layer:E.IO.LOGIN,onClose:e,articleId:r,messageToParse:t,expirationDate:i,title:o,onlyArticle:n,withLogo:a})},67792:(e,r,t)=>{t.d(r,{m:()=>w});var o=t(44422),n=t.n(o),a=t(96540),i=t(67356),s=t(14490),l=t(19907),c=t(18091),d=t(92481),g=t(96941),u=t(35648),m=t(56185),_=t(75235),p=t(51527),L=t(65127),f=t(74261),b=t(59815),h=t(66750),x=t(91334),y=t(48227),k=t(4240);var E=t(31114);const w=()=>{const e=(0,E.Z)(),r=(0,l.c3)("playtech.mobile.system.login."),t=(()=>(0,y.n_)(k.zd))(),o=(0,c.O)(m.k),{config:{customClientPlatform:w}}=(0,b.K)(),[C=_.FI,v=_.lt,I=_.c6,P=_.T6,A=_.xX,O="0",T="/forgotten-password"]=(0,f.c)([h.u.loginSelfExclusionArticleId,h.u.loginRetailSelfExclusionArticleId,h.u.loginTimeOutArticleId,h.u.loginAccountFrozenArticleId,h.u.registrationAccountFrozenArticleId,h.u.allowedNumberOfFailedLoginAttempts,h.u.forgottenPasswordUrl]),F=(0,a.useCallback)((e=>{const r=e?A:P;return{[_.Gf]:w===L.MR?v:C,[_.tt]:I,[_.jk]:r,[_.gP]:r,[_.yX]:r,22:P}}),[w,I,P,C,v,A]),N=(0,a.useCallback)((async r=>{const o=await(0,x.a)(r),n=u.PL.local.getItem(_.vL)||{},a=(n[o]||0)+1;if(a>=Number(O))return e(T,{isRedirectFromLoginPopup:!0}),void t();u.PL.local.setItem(_.vL,{...n,[o]:a})}),[t,O,T,e]);return(0,a.useCallback)((({response:e,onClose:a,ignorePopupForErrorCodes:l=[],userName:c,afterRegisterLogin:u}={})=>{const m=F(u),L=n()(["data","actions","PlayerActionShowMessage",0],e)||n()(["data","userErrors","UserError",0],e)||{},{data:f}=e.response||e,{errorCode:b,errorText:h,isPrevented:x}=f,y=e.data?.playerMessage||e?.data?.errorMessage||L,k=L?.templateId||h||b,E=!l.includes(k)&&m[k];if(!d.M.isEnabled||!x)return g.A.trigger("auth:login:failed",{errorCode:b,playerMessage:y,errorText:h||"unknown"}),E?(o({messageToParse:L?.message||"",articleId:E,title:r("extended.title",[c]),onClose:a,onlyArticle:_.R8.includes(k),withLogo:_.JG.includes(k)}),t(),void g.A.trigger("auth:login:failed:withPopup")):(e?.data?.errorCode===_.hX&&e?.data?.username?.username&&(0,s.cF)(e.data.username.username),e?.data?.errorCode===p.d?e:(_.Vy.includes(b)&&Number(O)&&N(c),{[i.Ym]:r(`error.${e?.data?.errorCode}`,"string"==typeof y&&y?.length?y:r("error"))}))}),[F,N,O,r,o,t])}},11611:(e,r,t)=>{t.d(r,{t:()=>o.t});var o=t(91901)},91901:(e,r,t)=>{t.d(r,{t:()=>i});var o=t(96540),n=t(67792),a=t(59577);const i=()=>{const e=(0,n.m)(),r=(0,a.Q)();return(0,o.useCallback)((async(t,o,n,a)=>r(t,o,n,a).catch((r=>{const o=e({response:r,title:t,userName:t,ignorePopupForErrorCodes:[22],afterRegisterLogin:a});return Promise.reject(o||r)}))),[e,r])}},72159:(e,r,t)=>{t.d(r,{A:()=>
1o});const o={login:"Login__login--2Ii",error:"Login__error--1hI",form:"Login__form--3uy",control:"Login__control--ZD5",password:"Login__password--C41",rememberMe:"Login__rememberMe--2jC",submit:"Login__submit--1x1",forgotBlock:"Login__forgotBlock--1e9",forgottenLink:"Login__forgottenLink--2OU",extendedErrorTitle:"Login__extendedErrorTitle--2in",extendedErrorButton:"Login__extendedErrorButton--3fG",extendedErrorPopup:"Login__extendedErrorPopup--1VG",checkbox:"Login__checkbox--3Fl",checkMark:"Login__checkMark--fLO",inner:"Login__inner--1-E",smallBtnSubmit:"Login__smallBtnSubmit--24b"}}}; 2//# sourceMappingURL=login~forgot-password~registration.75079c4d3345d33933cc.chunk.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.