1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2996,842,5573,8599,1883,6178,3213],{49420:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promotions",function(){return n(57033)}])},52659:function(e,t,n){"use strict";n.d(t,{E6:function(){return s},oV:function(){return i}});var o,i,l=n(52322),r=n(25237),a=n.n(r),u=n(2784),d=n(64008);function s(e){return Object.values(i).includes(e)}(o=i||(i={})).affordability="961F345C6BDD2C54B458F47007ED2DC70CB8553B602D0C9C189DAC25A87EA9B6",o.updateMissingDetails="8A06AFE99E14EAD4E86DBBA6F0A81178A1527F9310E4D14AB8C7B86B0D240D4A",o.affordabilityTax="4E847145E46832B9FB92094EB5E7872CF9567CE218365E6376B3FBF99ED13375",o.marketingConsent="3EB1CED17F819F7B127E62452AC2BF34FE88B9D90EDF746C3528CD98F59E7782",o.realityCheck="2DB287BDAC40F1A5DD5BEB7CA243914CD5BFDF534169410344CED468F3179CB6",o.harmDetection="06D5D045223210416D64832D1715E618BC3368C7A9366C45073A5B707D760B6D",o.safetGamblingOccupation="A9F53C8F9A162742715855FB3176F89555631DC6E2B05B15634E3A3745F88212",o.partialDeposit="5A9485314FD49949D47F2C7F9E3EE8E18D951E4412F7D511B17488707434D699";let c=[i.updateMissingDetails],v={[i.affordability]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(8472),n.e(6125),n.e(5218),n.e(5592),n.e(1284),n.e(9438)]).then(n.bind(n,18815)),{loadableGenerated:{webpack:()=>[18815]}}),[i.updateMissingDetails]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(8472),n.e(6125),n.e(5218),n.e(7272)]).then(n.bind(n,5855)),{loadableGenerated:{webpack:()=>[5855]}}),[i.affordabilityTax]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(3921),n.e(8472),n.e(6125),n.e(5218),n.e(7459),n.e(3615),n.e(1888),n.e(1019),n.e(5592),n.e(2456),n.e(8713),n.e(477)]).then(n.bind(n,11566)),{loadableGenerated:{webpack:()=>[11566]}}),[i.marketingConsent]:a()(()=>Promise.all([n.e(3602),n.e(3512)]).then(n.bind(n,93265)),{loadableGenerated:{webpack:()=>[93265]}}),[i.realityCheck]:a()(()=>Promise.all([n.e(5368),n.e(9220)]).then(n.bind(n,39220)),{loadableGenerated:{webpack:()=>[39220]}}),[i.safetGamblingOccupation]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(3921),n.e(8472),n.e(6125),n.e(5218),n.e(7459),n.e(3615),n.e(1888),n.e(1019),n.e(5592),n.e(2456),n.e(8713),n.e(5179)]).then(n.bind(n,18009)),{loadableGenerated:{webpack:()=>[18009]}}),[i.harmDetection]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(3921),n.e(8472),n.e(6125),n.e(5218),n.e(7459),n.e(3615),n.e(1888),n.e(1019),n.e(5592),n.e(2456),n.e(8713),n.e(1966)]).then(n.bind(n,31543)),{loadableGenerated:{webpack:()=>[31543]}}),[i.partialDeposit]:a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(3602),n.e(1324),n.e(3921),n.e(8472),n.e(6125),n.e(5218),n.e(7459),n.e(3615),n.e(1888),n.e(1019),n.e(5592),n.e(2456),n.e(8713),n.e(4136),n.e(2399)]).then(n.bind(n,68391)),{loadableGenerated:{webpack:()=>[68391]}})},p=e=>{let t=Array.isArray(e.modalKey)?e.modalKey:[e.modalKey];if((0,u.useEffect)(()=>{t.forEach(e=>{c.includes(e)&&(0,d.li)(e)})},[t.join(",")]),Array.isArray(e.modalKey))return(0,l.jsx)(l.Fragment,{children:e.modalKey.map((t,n)=>{let o=v[t];if(!o)return null;let i=Array.isArray(e.modalProps)?e.modalProps[n]:e.modalProps;return(0,l.jsx)(o,{...i},t)})});let n=v[e.modalKey];return n?(0,l.jsx)(n,{...e.modalProps}):null};t.ZP=p},16184:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});let o="PlayMode"},75905:function(e,t,n){"use strict";var o,i,l,r;n.d(t,{Gh:function(){return g},HB:function(){return m},IY:function(){return a},Iw:function(){return f},Kz:function(){return v},PI:function(){return c},Pc:function(){return P},SJ:function(){return d},Z4:function(){return p},b:function(){return b},bB:function(){return o},ih:function(){return h},k1:function(){return s},pL:function(){return u},tO:function(){return y},zr:function(){return i}});let a=[{key:"Deposit",label:"DepositLimits"},{key:"NetDeposit",label:"NetDeposits"},{key:"Wager",label:"WagerLimits"},{key:"Loss",label:"LossLimits"},{key:"Timeout",label:"TimeOut"},{key:"RealityCheck",label:"RealityCheck"},{key:"SessionTimeout",label:"SessionTimeout"},{key:"Exclusion",label:"Exclusion"}];(l=o||(o={})).NET_DEPOSIT="NetDeposit",l.DEPOSIT="Deposit",l.WAGER="Wager",l.LOSS="Loss",l.TIMEOUT="Timeout",l.REALITY="RealityCheck",l.SESSION="SessionTimeout",l.EXCLUSION="Exclusion";let u={721:"UK",723:"CURACAO",722:"MGA"};(r=i||(i={})).PASSWORD="password",r.LIMITS="limits";let d={PerDay:"daily",PerWeek:"weekly",PerMonth:"monthly"},s={NetDepositPerDay:"",NetDepositPerWeek:"",NetDepositPerMonth:""},c={DepositPerDay:"",DepositPerWeek:"",DepositPerMonth:""},v={WagerPerDay:"",WagerPerWeek:"",WagerPerMonth:""},p={LossPerDay:"",LossPerWeek:"",LossPerMonth:""},m={NetDeposit:{keys:{day:"NetDepositPerDay",week:"NetDepositPerWeek",month:"NetDepositPerMonth"},textValues:{NetDepositPerDay:"Deposit per day:",NetDepositPerWeek:"Deposit per week:",NetDepositPerMonth:"Deposit per month:"}},Deposit:{keys:{day:"DepositPerDay",week:"DepositPerWeek",month:"DepositPerMonth"},textValues:{DepositPerDay:"Deposit per day:",DepositPerWeek:"Deposit per week:",DepositPerMonth:"Deposit per month:"}},Wager:{keys:{day:"WagerPerDay",week:"WagerPerWeek",month:"WagerPerMonth"},textValues:{WagerPerDay:"Wager per day:",WagerPerWeek:"Wager per week:",WagerPerMonth:"Wager per month:"}},Loss:{keys:{day:"LossPerDay",week:"LossPerWeek",month:"LossPerMonth"},textValues:{LossPerDay:"Loss per day:",LossPerWeek:"Loss per week:",LossPerMonth:"Loss per month:"}},SessionTimeout:{keys:{day:"SessionTimeout"},textValues:{SessionTimeout:"Minutes till session expiration will be set to:"}}
1,RealityCheck:{keys:{day:"RealityCheck"},textValues:{RealityCheck:"Reality check in minutes will be set to:"}}},f={SessionTimeout:""},y="MMM DD YYYY HH:mm",h="/api/playResponsibly/getPlayerLimits",g=768,b="exclusion",P=Object.fromEntries(Object.entries(m).map(e=>{let[t,n]=e;return[t,Object.values(n.keys).filter(Boolean)]}))},48306:function(e,t,n){"use strict";var o,i;n.d(t,{Iz:function(){return r},q5:function(){return o},sk:function(){return l}});let l=[{icon:"icon-identity-card",textLink:"verifyIDProofOfIdentityTitle",hash:"IdentityCard",alertStatus:!1,name:"Proof of identity"},{icon:"icon-address",textLink:"verifyIDProofOfAddressTitle",hash:"Address",alertStatus:!1,name:"Proof of address"},{icon:"icon-payment",textLink:"verifyIDProofOfPaymentTitle",hash:"Payment",alertStatus:!0,name:"Proof of payment"},{icon:"icon-other",textLink:"verifyIDOtherTitle",hash:"Other",alertStatus:!1,name:"Other"}],r=["png","jpg","pdf","jpeg"];(i=o||(o={})).IDENTITYCARD="IdentityCard",i.ADDRESS="Address",i.PAYMENT="Payment",i.OTHER="Other"},99511:function(e,t,n){"use strict";var o=n(52322),i=n(38991),l=n(83078),r=n.n(l),a=n(25237),u=n.n(a);let d=u()(()=>n.e(6688).then(n.bind(n,66688)),{loadableGenerated:{webpack:()=>[66688]},ssr:!1}),s=e=>{let{promotion:t,publicConfigUrl:n,width:l,height:a}=e,{character:u}=(0,i.o)({promotion:t,defaultFolder:n.promotionPageImagesFolder});return(0,o.jsx)(d,{src:u,width:l||460,height:a||373,alt:(null==t?void 0:t.title)||"",objectFit:"contain",objectPosition:"center bottom",className:r().img})};t.Z=s},98671:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(52322),i=n(30542),l=n.n(i);function r(e){return(0,o.jsx)("div",{className:l().spinner,children:(0,o.jsx)("div",{className:l().inner})})}},38991:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});let o=e=>{let{promotion:t,defaultFolder:n=""}=e,{imageCode:o,imageDomain:i}=t;return{background:"".concat(i||n,"background/").concat(o,".webp"),character:"".concat(i||n,"characters/").concat(o,".webp"),folder:"".concat(i||n)}}},95805:function(e,t,n){"use strict";n.d(t,{W:function(){return r},v:function(){return l}});let o=0,i=null,l=()=>o>0,r=e=>{if(i)return i;o+=1;let t=!1,n=null,l=()=>{t||(t=!0,o=Math.max(0,o-1),i!==n||(i=null))},r=setTimeout(l,15e3);return i=n=(async()=>{await e()})().catch(()=>void 0).finally(()=>
1{clearTimeout(r),l()}),n}},70853:function(e,t,n){"use strict";n.d(t,{_6:function(){return a},v4:function(){return s},ym:function(){return u}});var o=n(35599),i=n(75905),l=n(83541);let r=e=>{let t=(0,o.YX)("".concat(e,"-LoginTime")),n=new Date(t),i=new Date,l=(n.getTime()-i.getTime())/1e3;return Math.round(Math.abs(l))},a=()=>{let e=(0,o.v_)();return e&&"SoftBlock"===e.BlockType},u=e=>{let t=(0,o.v_)(),n=(0,o.jy)(e);t&&t.SessionLimit&&t.SessionLimit>=1&&(!n||!n.IsSet)&&(n.IsSet=!0,n.SessionLimit=60*t.SessionLimit,n.SessionEllapsed=r(e),n.SessionLimit>n.SessionEllapsed?(n.SessionLeft=n.SessionLimit-n.SessionEllapsed,(0,o.tg)("".concat(e,"-RealityCheck"),n)):(n.SessionLeft=n.SessionLimit-n.SessionEllapsed%n.SessionLimit,(0,o.tg)("".concat(e,"-RealityCheck"),n)),d(1e3*n.SessionLeft))},d=e=>{let t=(0,o.v_)();t&&(null==t?void 0:t.PlayerId)>0&&setTimeout(()=>{l.Y.dispatch("customPopup",{message:{title:"limits_RealityCheck",body:"limits_RealityCheck_message",buttons:[{text:"limits_RealityCheck_close",action:50},{text:"limits_RealityCheck_continue",action:102}]}})},e)},s=()=>{var e,t;let n=null===(e=(0,o.v_)())||void 0===e?void 0:null===(t=e.Country)||void 0===t?void 0:t.JurisdictionId;return i.pL[n]}},64008:function(e,t,n){"use strict";n.d(t,{li:function(){return i},vo:function(){return l},zV:function(){return r}});let o="pendingMandatoryPopups",i=e=>{let t=r();t.includes(e)||sessionStorage.setItem(o,JSON.stringify([...t,e]))},l=e=>{let t=r(),n=t.filter(t=>t!==e);sessionStorage.setItem(o,JSON.stringify(n))},r=()=>{try{let e=sessionStorage.getItem(o);return e?JSON.parse(e):[]}catch(e){return[]}}},78052:function(e,t,n){"use strict";n.d(t,{$q:function(){return i},BP:function(){return a},cX:function(){return o},hh:function(){return l},p6:function(){return r}});let o=(e,t)=>{let n="promotions"===e?t?t.code:"":t;(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"setForm",form:e,params:n})},i=(e,t)=>{(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"gameClicked",mode:e,game:t})},l=()=>{(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"openChat"})},r=(e,t)=>{(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"cashierSubmitClicked",mode:e,details:t})},a=(e,t)=>{(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"gameClosed",mode:e,game:t})}},93011:function(e,t,n){"use strict";n.d(t,{C5:function(){return r},TF:function(){return o},cq:function(){return l},xh:function(){return i}});let o=39,i=231,l=721,r=722},57033:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return L},default:function(){return M}});var o=n(52322),i=n(2784),l=n(98123),r=n(5632),a=n(32042),u=n(99511),d=n(38991);let s=e=>{let{promotion:t,btnText:n,onClick:i,publicConfigUrl:a}=e,{t:s}=(0,l.$G)(["lexicons"]),v=(0,r.useRouter)(),p=()=>{v.push("/promotions?code=".concat(t.code))},{background:m}=(0,d.o)({promotion:t,defaultFolder:a.promotionPageImagesFolder});return(0,o.jsxs)("div",{className:"promotions-buner",children:[(0,o.jsx)("div",{className:"promotions-buner__bg-img",style:{backgroundImage:"url(".concat(m,")")},children:(0,o.jsxs)("div",{className:"promotions-buner__bg-gradient",children:[(0,o.jsxs)("div",{className:"promotions-buner__typography",children:[(0,o.jsx)("div",{className:"promotions-buner__title",children:(0,o.jsx)("h2",{className:"",dangerouslySetInnerHTML:{__html:null==t?void 0:t.title}})}),(0,o.jsx)("div",{className:"promotions-buner__buttons",children:(0,o.jsx)("button",{className:"btn btn-light","data-testid":"btn__PromotionBanner-cta",onClick:i,children:n})})]}),(0,o.jsx)("div",{className:"promotions-buner__img",onClick:i,children:(0,o.jsx)(u.Z,{promotion:t,publicConfigUrl:a,characterPromotionImg:!1})})]})}),(null==t?void 0:t.disclaimer)&&(0,o.jsx)(c,{disclaimer:t.disclaimer,onClick:p,terms:s("termsApply")})]})},c=e=>{let{disclaimer:t,onClick:n,terms:i}=e;return(0,o.jsx)("div",{className:"promotions-buner__disclaimer",children:(0,o.jsxs)("p",{children:[(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:t||""}}),"\xa0",(0,o.jsx)("a",{"data-testid":"link__PromotionBanner-termsApply",onClick:n,children:i})]})})};var v=n(98671),p=n(67190),m=n(71292),f=n(86275),y=n(64622),h=n(94928),g=n(65573),b=n(97125),P=n(21723),C=n(47004),D=n(51286),k=n(37289),w=n(72620),I=n(51833),_=n(66976),E=n(25218);let S=e=>{var t,n,a,u,d,s;let{page:c,close:S=()=>null,publicConfigUrl:x}=e,{config:L,defaultData:M}=(0,y.useBrandConfig)(),{locale:A}=(0,h.useI18nLocalization)(),N=null==A?void 0:A.activeLanguage,{playMode:j}=(0,g.usePlayModeContext)(),{player:B}=(0,b.A)({}),[T]=(0,C.Z)(),{ua:W}=(0,P.e)(),F=(0,i.useRef)(null),O=(0,r.useRouter)(),{showAuth:R}=(0,f.useAuthContext)(),{controls:G}=(0,w.Z)(),{fetcher:Z}=(0,E.a)(),{t:Y}=(0,l.$G)(["lexicons"]),{gameSubProviders:z}=(0,_.fn)({includeProviders:!0}),{games:q}=(0,_.sO)({payload:{isLobby:!0,Page:1,PageSize:1e4}}),{data:H,isLoading:U}=(0,D.ZP)(j&&N&&c&&c.id?["".concat(x.gamesServiceCMSHelperUrl,"GetPromotionInfoById"),{id:c.id,playmode:(null==j?void 0:j.value)||"",lang:N||"en-gb",platform:W.isMobile?"mobile":"desktop",tracker:(null==B?void 0:B.Tracker)&&Number(null==B?void 0:B.Tracker)>0?null==B?void 0:B.Tracker:(null==T?void 0:T["".concat(null==L?void 0:null===(t=L.Name)||void 0===t?void 0:t.toLowerCase(),"_tracker")])||"",CasinoDepositCount:null==B?void 0:null===(n=B.Account)||void 0===n?void 0:n.DepositsCountCasino,SportDepositCount:null==B?void 0:null===(a=B.Account)||void 0===a?void 0:a.DepositsCountSport,BingoDepositCount:null==B?void 0:null===(u=B.Account)||void 0===u?void 0:u.DepositsCountBingo,ranking:null==B?void 0:null===(d=B.Account)||void 0===d?void 0:d.Ranking,showBannerHtml:!1,isloggedin:0!==((null==B?void 0:B.PlayerId)||0),country:(null==B?void 0:null===(s=B.Country)||void 0===s?void 0:s.CountryIntlCode)||(null==M?void 0:M.countryCode),currencyId:(null==B?void 0:B.CurrencyId)||(null==M?void 0:M.currencyId),whitelabelid:null==L?void 0:L.WhiteLabelId}]:null,e=>{let[t,n]=e;return(0,m.Z)(t,n)}),K=null==H?void 0:H.title.replace(/[^a-zA-Z0-9\s]/g,"").split(" ").filter(e=>e.length>0),V=e=>{let t=e.currentTarget,n=t.getAttribute("link-action"),o=t.getAttribute("deposit-code");switch(n){case"form":S(),(null==B?void 0:B.PlayerId)?O.push("/deposit".concat(o?"?promo=".concat(o):""),null,{shallow:!0}):R(k.PopupKeys.login);break;case"gemification":S(),G.OpenWidget();break;case"play":{let e=t.getAttribute("link-game");
1if(e){var i,l,r;let t=null==q?void 0:null===(i=q.Data)||void 0===i?void 0:null===(l=i.Games)||void 0===l?void 0:l.find(t=>t.GameID==Number(e));t&&(S(),(0,I.rH)({whiteLabelName:null==L?void 0:L.Name.toLowerCase(),providerName:null===(r=null==z?void 0:z.find(e=>e.id==t.SubProviderID))||void 0===r?void 0:r.name,isDemo:!1,game:t}))}}}},X=async e=>{var t,n;let o=await Z("/api/player/getDataLeaderboard",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ItemId:e.getAttribute("leaderboard-id")})});e.innerHTML='\n <table class="data_table_header">\n <tbody>\n <tr class="data_table_row">\n <td>'.concat(Y("rank"),"</td>\n <td>").concat(Y("player"),"</td>\n <td>").concat(Y((null==o?void 0:null===(t=o.Response)||void 0===t?void 0:t.Type)||""),"</td>\n </tr>\n ").concat(null==o?void 0:null===(n=o.Response)||void 0===n?void 0:n.Result.map((e,t)=>'\n <tr class="data_table_row ld_rank_'.concat(t+1,'">\n <td>').concat(null==e?void 0:e.Rank,"</td>\n <td>").concat(null==e?void 0:e.PlayerName,"</td>\n <td>").concat(null==e?void 0:e.Amount,"</td>\n </tr>\n ")).join(""),"\n </tbody>\n </table>\n ")},J=()=>{if(!F.current)return;let e=F.current.querySelectorAll("script-load");e&&e.forEach(e=>{let t=document.createElement("script");t.src=e.getAttribute("src")||"",t.async=!0,document.head.appendChild(t)})},$=()=>{if(F.current){let e=F.current.querySelectorAll("script-load");e&&e.forEach(e=>{let t=document.querySelector('script[src="'.concat(e.getAttribute("src"),'"]'));t&&t.remove()})}};return(0,i.useEffect)(()=>{if(!F.current)return;let e=F.current.querySelectorAll("[link-action][link-param]");if(e.length){if(e.forEach(e=>{var t;e.classList.remove("promotion_action"),null===(t=e.querySelector("span"))||void 0===t||t.classList.add("btn"),e.addEventListener("click",V)}),null==H?void 0:H.htmlSummary){var t;let e=null==F?void 0:null===(t=F.current)||void 0===t?void 0:t.querySelectorAll("[leaderboard-id]");null==e||e.forEach(async e=>await X(e))}return J(),()=>{$(),e.forEach(e=>e.removeEventListener("click",V))}}},[H,null==B?void 0:B.PlayerId,q,z]),(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(p.default,{showModal:S,isShow:!0,promotionClassName:"".concat(null==K?void 0:K.join("")),children:(0,o.jsx)("div",{className:"promotion-modal",children:U?(0,o.jsx)("div",{style:{margin:"auto",width:"fit-content"},children:(0,o.jsx)(v.Z,{})}):(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:(e=>{let{title:t,subTitle:n,htmlSummary:o}=e;return"\n <h2 class='__title'>".concat(t,"</h2>\n <h3 class='__subtitle'>").concat(null!=n?n:"","</h3>\n <p> </p>\n ").concat(o,"\n ")})({htmlSummary:null==H?void 0:H.htmlSummary,subTitle:null==H?void 0:H.subTitle,title:null==H?void 0:H.title})},ref:F})})},c.id)})},x=e=>{var t;let{publicConfigUrl:n}=(null==e?void 0:e.content)||{},[u,d]=(0,i.useState)(""),{t:c}=(0,l.$G)(["lexicons"]),v=(0,r.useRouter)(),{promotions:p}=(0,a.z)({pagePromos:!0,isWelcome:!1,showHtml:!1,publicConfigUrl:n});(0,i.useEffect)(()=>{var e;(null===(e=v.query)||void 0===e?void 0:e.code)&&"string"==typeof v.query.code&&d(v.query.code)},[null===(t=v.query)||void 0===t?void 0:t.code]);let m=(0,i.useMemo)(()=>(null==p?void 0:p.find(e=>e.code.toLowerCase()===u.toLowerCase()))||null,[u,p]);return(0,o.jsxs)("main",{className:"content__container page-text pp-promotions--page",children:[(0,o.jsxs)("div",{className:"panel m__b--7 pp-promotionsPanel--component",children:[(0,o.jsx)("div",{className:"panel__header heading",children:(0,o.jsx)("h1",{className:"heading__text","data-testid":"text__PromotionsPage-title",children:c("promotions")})}),(0,o.jsx)("div",{className:"panel__body",children:(0,o.jsx)("div",{className:"card card-grid__promotions",children:p&&p.map((e,t)=>(0,o.jsx)("div",{className:"pp-promotionsBanner--component",children:(0,o.jsx)(s,{promotion:e,btnText:c("tellMeMore"),onClick:()=>d(e.code),publicConfigUrl:n})},"".concat(e.code,"-").concat(t)))})})]}),m&&(0,o.jsx)("div",{className:"pp-promotionsContent--component",children:(0,o.jsx)(S,{page:m,close:()=>d(""),publicConfigUrl:n})})]})};var L=!0,M=x},65573:function(e,t,n){"use strict";n.r(t),n.d(t,{PLAY_MODES:function(){return i},PlayBingoMode:function(){return h},PlayCasinoMode:function(){return f},PlayLiveMode:function(){return y},PlayModeProvider:function(){return k},PlaySportsMode:function(){return m},normalizePlayMode:function(){return C},usePlayModeContext:function(){return w}});var o,i,l=n(52322),r=n(2784),a=n(97112),u=n(5632),d=n(64622),s=n(16184);let c=(e,t)=>{if(e&&t){if(e===(null==t?void 0:t.playModeNameSport))return{id:null==t?void 0:t.playModeIdSport,value:null==t?void 0:t.playModeNameSport};if(e===(null==t?void 0:t.playModeName))return{id:null==t?void 0:t.playModeId,value:null==t?void 0:t.playModeName};if(e===(null==t?void 0:t.playModeNameLive))return{id:null==t?void 0:t.playModeIdLive,value:null==t?void 0:t.playModeNameLive};if(e===(null==t?void 0:t.playModeNameBingo))return{id:null==t?void 0:t.playModeIdBingo,value:null==t?void 0:t.playModeNameBingo}}}
1,v=(e,t,n)=>{if(!e)return!1;switch(null==e?void 0:e.value){case"sport":return null==t?void 0:t.SportEnabled;case"live":return null==t?void 0:t.LiveEnabled;case"bingo":return(null==t?void 0:t.BingoEnabled)&&(null==n?void 0:n.jurisdictionId)===721;default:return!0}};var p=n(73549);let m={id:707,value:"sport"},f={id:706,value:"casino"},y={id:912,value:"live"},h={id:911,value:"bingo"};(o=i||(i={}))[o.sport=707]="sport",o[o.casino=706]="casino",o[o.live=912]="live",o[o.bingo=911]="bingo";let g={[m.id]:m,[f.id]:f,[y.id]:y,[h.id]:h},b={[m.value]:m,[f.value]:f,[y.value]:y,[h.value]:h},P=e=>Array.isArray(e)?e[0]:e,C=e=>{if(!e)return;let t=Number(e.id);if(Number.isFinite(t)&&g[t])return g[t];let n="string"==typeof e.value?e.value.toLowerCase():void 0;if(n&&b[n])return b[n]},D=(0,r.createContext)(void 0),k=e=>{let{children:t}=e,{config:n,defaultData:o}=(0,d.useBrandConfig)(),{getSessionItem:i,addSessionItem:m}=(0,p.Z)(),g=(0,a.EE)(),b=(0,u.useRouter)(),[k,w]=(0,r.useState)({id:0,value:"Default"}),I=(0,r.useCallback)(e=>{m(s.v,e),w(e)},[m]),_=(0,r.useCallback)(()=>{try{return C(i(s.v))}catch(e){return}},[i]),E=(0,r.useCallback)(()=>{var e;let t=P(null===(e=b.query)||void 0===e?void 0:e.mode),i=C(t?c(t,g):void 0),l=null!=i?i:_(),r=null!=l?l:C({id:null==n?void 0:n.DefaultPlayMode}),a=r&&v(r,n,o)?r:f;return a},[g,o,_,b.query,n]),S=(0,r.useCallback)(e=>{b.push(e).then(()=>{"/sportsbook"===e&&setTimeout(()=>{scrollTo({top:0,left:0,behavior:"smooth"})},300)})},[b]),x=(0,r.useCallback)(e=>{var t;let n=null!==(t=C(e))&&void 0!==t?t:f;I(n)},[I]),L=(0,r.useCallback)(e=>{var t;let n=null!==(t=C(e))&&void 0!==t?t:f,o=n.value===y.value?"/live":n.value===h.value?"/bingo":n.value===f.value?"/":"/sportsbook";console.info("playMode",n),I(n),o!==(null==b?void 0:b.pathname)&&S(o)},[S,null==b?void 0:b.pathname,I]);return(0,r.useEffect)(()=>{if((null==b?void 0:b.isReady)&&(null==n?void 0:n.WhiteLabelId)&&(null==o?void 0:o.jurisdictionId)){let e=E();(null==e?void 0:e.id)!==(null==k?void 0:k.id)&&(console.info("[Play Mode] Determined Play Mode >>> ",e),I(e))}},[null==o?void 0:o.jurisdictionId,E,null==b?void 0:b.isReady,null==n?void 0:n.WhiteLabelId,null==k?void 0:k.id,I]),(0,l.jsx)(D.Provider,{value:{playMode:k,setPlayMode:x,navLinkRedirect:L},children:t})},w=()=>{let e=(0,r.useContext)(D);if(void 0===e)throw Error("usePlayModeContext must be used within a PlayModeProvider");return e}},60842:function(e,t,n){"use strict";n.r(t),n.d(t,{PortalContext:function(){return v}});var o=n(52322),i=n(2784),l=n(28316),r=n(25237),a=n.n(r),u=n(52659),d=n(64008);let s=a()(()=>Promise.all([n.e(5368),n.e(6444),n.e(9592),n.e(8509),n.e(8472),n.e(6125),n.e(5218),n.e(1883)]).then(n.bind(n,86275)).then(e=>e.AuthProvider),{loadableGenerated:{webpack:()=>[86275]},ssr:!1}),c=a()(()=>n.e(4440).then(n.bind(n,14440)).then(e=>e.PaymentsProvider),{loadableGenerated:{webpack:()=>[14440]},ssr:!1}),v=(0,i.createContext)(void 0),p=e=>{let{children:t}=e,[n,r]=(0,i.useState)([]),[a,p]=(0,i.useState)([]),m=(0,i.useRef)(new Set),f=(0,i.useRef)(new Map),y=(0,i.useCallback)(e=>m.current.has(e),[]);(0,i.useEffect)(()=>{let e=(0,d.zV)();e.forEach(e=>{if((0,u.E6)(e)&&!m.current.has(e)){let t="restored-".concat(e),n={close:()=>{m.current.delete(e),p(e=>e.filter(e=>e.id!==t))},id:t};m.current.add(e),p(i=>[...i,{managedPopupIds:new Set([e]),element:(0,o.jsx)(u.ZP,{modalKey:[e],modalProps:[{portalClose:n.close}]}),id:t,appendTo:document.body}])}})},[]);let h=function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{id:d=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),appendTo:s=document.body,onClose:c,key:v}=l;if(n.find(e=>e.id===d||v&&e.key===v)||a.find(e=>e.id===d||v&&e.key===v))return;if(!s)throw Error("Trying to open a portal in a nonexistent DOM node");let y={close:e=>{g(d,e),null==c||c()},id:d},h="function"==typeof e?e(y):e,b=null==h?void 0:null===(t=h.props)||void 0===t?void 0:t.popup,P=new Set;if(Array.isArray(b)&&(null==b?void 0:b.length)>0){let e=b.filter(e=>e&&e.ID&&!m.current.has(e.ID));if(0===e.length)return;e.forEach(e=>{m.current.add(null==e?void 0:e.ID),P.add(null==e?void 0:e.ID)});let t=[],n=[];
1if(e.forEach(e=>{(0,u.E6)(null==e?void 0:e.ID)?t.push(e):n.push(e)}),(null==t?void 0:t.length)>0){let e=new Set(t.map(e=>null==e?void 0:e.ID)),n=Array.from(e),i=t.map(e=>({popup:e,portalClose:y.close})),l=(0,o.jsx)(u.ZP,{modalKey:n,modalProps:i});p(t=>[...t,{managedPopupIds:e,element:l,id:d,appendTo:s,key:v}]),e.forEach(e=>m.current.add(e))}if((null==n?void 0:n.length)>0){let e=new Set(n.map(e=>null==e?void 0:e.ID)),t=(0,i.cloneElement)(h,{popup:n});r(n=>[...n,{managedPopupIds:e,element:t,id:d,appendTo:s,key:v}]),e.forEach(e=>m.current.add(e))}}else r(e=>[...e,{managedPopupIds:new Set,element:h,id:d,appendTo:s,key:v}]);P.size>0&&f.current.set(d,P)},g=(0,i.useCallback)((e,t)=>{let n=f.current.get(e);n&&(n.forEach(e=>{m.current.delete(e)}),f.current.delete(e)),t&&m.current.delete(t),p(t=>t.filter(t=>{let{id:n}=t;return n!==e})),r(t=>t.filter(t=>{let{id:n}=t;return n!==e}))},[]),b=e=>{p(t=>t.filter(t=>t.key!==e)),r(t=>t.filter(t=>t.key!==e))},P=()=>{m.current.clear(),p([]),r([])},C=(0,i.useMemo)(()=>({open:h,portals:n,closeByKey:b,closeAll:P,isActive:y}),[h,n,b,P,y]);return(0,o.jsx)(v.Provider,{value:C,children:(0,o.jsx)(s,{children:(0,o.jsxs)(c,{children:[t,n.map(e=>{let{element:t,appendTo:n,id:r}=e;return(0,o.jsx)(i.Fragment,{children:l.createPortal(t,n)},r)}),a.map(e=>{let{element:t,appendTo:n,id:r}=e;return(0,o.jsx)(i.Fragment,{children:l.createPortal(t,n)},r)})]})})})};t.default=p},66976:function(e,t,n){"use strict";n.d(t,{OA:function(){return c},Xv:function(){return v},bI:function(){return d},fn:function(){return p},sO:function(){return s}});var o=n(97125),i=n(64622),l=n(71292),r=n(51286),a=n(91823);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(e).reduce((e,t)=>{let[n,o]=t;return null==o||(e[n]=o),e},{})},d="https://".concat("static-data-api-hwasf0g6fgfbfehd",".z01.azurefd.net"),s=e=>{let{payload:t,enabled:n=!0}=e,{defaultData:s,labelName:c}=(0,i.useBrandConfig)(),{player:v,isLoading:p}=(0,o.A)({}),{tenantId:m}=(0,a.a)(c),{playerId:f,filterId:y,...h}=null!=t?t:{},g="number"==typeof f?f:null==v?void 0:v.PlayerId,b=u({...(null==s?void 0:s.whiteLabelId)?{whiteLabelId:null==s?void 0:s.whiteLabelId}:{},...(null==v?void 0:v.CountryId)||(null==s?void 0:s.countryId)?{countryId:(null==v?void 0:v.CountryId)||(null==s?void 0:s.countryId)}:{},playerId:g&&g>0?g:void 0,filterId:y||void 0,...h,"x-tenantid":m}),{data:P,isLoading:C,mutate:D}=(0,r.ZP)(m&&d&&n&&!p?["".concat(d,"/api/Game/Games"),b]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{games:P,isLoading:C,mutateGames:D}},c=e=>{var t;let{payload:n,enabled:s=!0}=e,{labelName:c,config:v}=(0,i.useBrandConfig)(),{player:p}=(0,o.A)({}),{tenantId:m}=(0,a.a)(c),{playerId:f,...y}=null!=n?n:{},h="number"==typeof f?f:null!==(t=null==p?void 0:p.PlayerId)&&void 0!==t?t:0,g=u({...h>0?{playerId:h}:{countryId:null==v?void 0:v.DefaultCountry},whitelabelId:null==v?void 0:v.WhiteLabelId,...y,"x-tenantid":m}),{data:b}=(0,r.ZP)(m&&d&&s?["".concat(d,"/api/Game/GameCategories"),g]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{categories:b}},v=e=>{var t;let{payload:n,enabled:s=!0,swrOptions:c}=e,{labelName:v}=(0,i.useBrandConfig)(),{player:p}=(0,o.A)({}),{tenantId:m}=(0,a.a)(v),f=null!==(t=null==p?void 0:p.PlayerId)&&void 0!==t?t:0,y=u({...null!=n?n:{},playerId:f,"x-tenantid":m}),{data:h,mutate:g,isLoading:b}=(0,r.ZP)(m&&d&&s&&(null==p?void 0:p.PlayerId)>0?["".concat(d,"/api/Game/FavoriteGames"),y]:null,e=>{let[t,n]=e;return(0,l.Z)(t,{...n&&"object"==typeof n?n:{},ts:Date.now()})},{revalidateOnMount:!0,...c});return{favoriteGames:null==h?void 0:h.Data,mutateFavorites:g,isLoading:b}},p=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{config:n,publicConfig:s,defaultData:c,labelName:v}=(0,i.useBrandConfig)(),{player:p}=(0,o.A)({}),{tenantId:m}=(0,a.a)(v),f=u({...(null==p?void 0:p.CountryId)||(null==c?void 0:c.countryId)?{countryId:(null==p?void 0:p.CountryId)||(null==c?void 0:c.countryId)}:{},...e,"x-tenantid":m}),{data:y}=(0,r.ZP)(m&&(null==n?void 0:n.WhiteLabelId)&&s&&t?["".concat(d,"/api/Game/GameSubproviders"),f]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{gameSubProviders:y}}},97125:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var o=n(2784),i=n(5632),l=n.n(i),r=n(73744);let a=e=>{let{redirectTo:t="",redirectIfFound:n=!1}=e,{player:i,mutatePlayer:a,isLoading:u,isValidating:d}=(0,r.kP)();return(0,o.useEffect)(()=>{t&&i&&(t&&!n&&!(null==i?void 0:i.PlayerId)||n&&(null==i?void 0:i.PlayerId))&&l().push(t+"?bpc=1")},[i,n,t]),{player:i,mutatePlayer:a,isLoading:u,isValidating:d}}},83571:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var o=n(2784),i=n(60842);let l=()=>{let e=(0,o.useContext)(i.PortalContext);if(!e)throw Error("usePortals must be used within a PortalProvider");return e}},32042:function(e,t,n){"use strict";n.d(t,{z:function(){return p}});var o=n(97125),i=n(21723),l=n(47004),r=n(65573),a=n(2784),u=n(64622),d=n(94928),s=n(71292),c=n(51286),v=n(35599);let p=e=>{let{playmode:t="",isWelcome:p=!1,showHtml:m=!0,publicConfigUrl:f,pagePromos:y=!1}=e,[h]=(0,l.Z)(),{player:g}=(0,o.A)({}),{config:b,defaultData:P}=(0,u.useBrandConfig)(),{locale:C}=(0,d.useI18nLocalization)(),{playMode:D}=(0,r.usePlayModeContext)(),{ua:k}=(0,i.e)(),w=(0,a.useRef)(null),[I,_]=(0,a.useState)([]),E=null==C?void 0:C.activeLanguage,S=(0,a.useMemo)(()=>t||(null==D?void 0:D.value)||"",[t,null==D?void 0:D.value]),x=(0,a.useMemo)(()=>!!(S&&E&&(null==P?void 0:P.countryCode)&&(null==Object?void 0:Object.keys(f).length)>0&&(null==P?void 0:P.currencyId)&&(null==g?void 0:g.PlayerId)!==null&&(null==g?void 0:g.PlayerId)!==void 0&&(null==b?void 0:b.WhiteLabelId)),[S,E,null==P?void 0:P.countryCode,f,null==P?void 0:P.currencyId,null==g?void 0:g.PlayerId,null==b?void 0:b.WhiteLabelId]),L=(0,a.useMemo)(()=>{var e,t,n,o,i,l;let r=(null==g?void 0:g.Tracker)&&Number(null==g?void 0:g.Tracker)>0?g.Tracker:(null==h?void 0:h["".concat(null==b?void 0:null===(e=b.UrlName)||void 0===e?void 0:e.toLowerCase(),"_tracker")])||"0";return{playmode:"sport"===S&&(null==b?void 0:b.SportEnabled)?"sport":"bingo"===S&&(null==b?void 0:b.BingoEnabled)?"bingo":"live"===S&&(null==b?void 0:b.LiveEnabled)?"live":"casino",lang:E,platform:k.isMobile?"mobile":"desktop",PlayerId:null==g?void 0:g.PlayerId,tracker:r,CasinoDepositCount:null==g?void 0:null===(t=g.Account)||void 0===t?void 0:t.DepositsCountCasino,SportDepositCount:null==g?void 0:null===(n=g.Account)||void 0===n?void 0:n.DepositsCountSport,BingoDepositCount:null==g?void 0:null===(o=g.Account)||void 0===o?void 0:o.DepositsCountBingo,LiveDepositCount:null==g?void 0:null===(i=g.Account)||void 0===i?void 0:i.DepositsCountLive,ranking:null==g?void 0:null===(l=g.Account)||void 0===l?void 0:l.Ranking,showBannerHtml:!1,showHtml:m,isWelcome:p,isloggedin:!!(null==g?void 0:g.PlayerId),country:(null==P?void 0:P.countryCode)==="CY"?"GB":null==P?void 0:P.countryCode,currencyId:null==P?void 0:P.currencyId,whitelabelid:null==b?void 0:b.WhiteLabelId}},[S,E,k.isMobile,g,h,b,m,p,null==P?void 0:P.countryCode,null==P?void 0:P.currencyId]),{data:M,isLoading:A,isValidating:N,mutate:j}=(0,c.ZP)(x?["".concat(null==f?void 0:f.gamesServiceCMSHelperUrl,"GetPromotionsInfo"),L]:null,e=>{let[t,n]=e;return(0,s.Z)(t,n)});return(0,a.useEffect)(()=>{let e=e=>{var t;let n=null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.playmode;n&&n===L.playmode&&j()};window.addEventListener("praxis:deposit:success",e);let t=(0,v.YX)("praxis-deposit-playmode");return t&&t===L.playmode&&(j(),(0,v.ZL)("praxis-deposit-playmode")),()=>{window.removeEventListener("praxis:deposit:success",e)}},[L.playmode,j]),(0,a.useEffect)(()=>
1{if((null==M?void 0:M.length)>0){try{w.current||(w.current=new Worker(n.tu(new URL(n.p+n.u(7356),n.b))))}catch(e){console.error("Worker Exception >> ",e)}return w.current.onmessage=function(e){_(e.data.data)},w.current.postMessage({promotions:M,filter:y}),()=>{var e;null===(e=w.current)||void 0===e||e.terminate(),w.current=null}}},[M]),{promotions:void 0===M||(null==M?void 0:M.length)>0&&0===I.length?null:I,isLoading:A,isValidating:N,mutate:j}}},91823:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var o=n(2784),i=n(51286),l=n(71292),r=n(35599);let a=e=>{var t;let n=e?"".concat(e,"-Tenant-Data"):null,a=e?"".concat(e,"-Tenant-Data-loading"):null,u=n?(0,r.YX)(n):null,d=!!((null==u?void 0:u.tenant_id)&&(null==u?void 0:u.apiCasinoGatewayUrl)),s=async()=>{if(!a||!(0,r.YX)(a))return null;for(let e=0;e<10;e+=1){let e=n?(0,r.YX)(n):null;if((null==e?void 0:e.tenant_id)&&(null==e?void 0:e.apiCasinoGatewayUrl))return e;await new Promise(e=>setTimeout(e,50))}return null},c=async()=>{let e=n?(0,r.YX)(n):null;if((null==e?void 0:e.tenant_id)&&(null==e?void 0:e.apiCasinoGatewayUrl))return e;let t=await s();if(t)return t;if(!a)return null;(0,r.tg)(a,!0);try{let e=await (0,l.Z)("/api/getTenantData");return e&&n&&(0,r.tg)(n,e),null!=e?e:null}finally{(0,r.ZL)(a)}},{data:v,isLoading:p}=(0,i.ZP)(e&&!d?["tenant-data",e]:null,c);(0,o.useEffect)(()=>{n&&v&&(0,r.tg)(n,v)},[n,v,!0]);let m=(0,o.useMemo)(()=>null!==(t=null!=u?u:v)&&void 0!==t?t:null,[u,v]);return{tenant:m,tenantId:null==m?void 0:m.tenant_id,isLoading:!!p}}},21723:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});var o=n(2784),i=n(38509),l=n(35599);let r=()=>{let[e,t]=(0,o.useState)({}),n=(0,o.useRef)(null),r=(0,i.FS)("undefined"!=typeof navigator?null==navigator?void 0:navigator.userAgent:void 0);return(0,o.useEffect)(()=>{(0,l.tg)("Agent",r),t(r),n.current=r},[null==r?void 0:r.source]),{ua:e||(null==n?void 0:n.current)}}},64058:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var o=n(2784);let i=()=>{let[e,t]=(0,o.useState)({width:void 0,height:void 0});return(0,o.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},83078:function(e){e.exports={img:"character_img__ela10"}},30542:function(e){e.exports={spinner:"loader_spinner__BjyYh",spin:"loader_spin__JOcPx",inner:"loader_inner__pFRZ1"}}},function(e){e.O(0,[5368,6444,9592,8509,8472,6125,5218,9774,2888,179],function(){return e(e.s=49420)}),_N_E=e.O()}]);
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.