PageSourceSearch

https://play.millionaire.co.uk/_next/static/chunks/337.11bd3b1990b0f192.js

js millionaire.co.uk collected 2026-10-10 02:37:50 UTC 46,458 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[337,842,5573,373,906,6178,3213,23,901,1469,5631,4821,3223],{35631:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var i,r=n(2784),l=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var o=(0,r.forwardRef)(function(e,t){var n=e.title,o=e.titleId,s=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,l);return r.createElement("svg",a({width:12,height:6,viewBox:"0 0 12 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":o},s),n?r.createElement("title",{id:o},n):null,i||(i=r.createElement("path",{d:"M5.64645 5.64645C5.84171 5.84171 6.15829 5.84171 6.35355 5.64645L11.1464 0.853554C11.4614 0.538571 11.2383 0 10.7929 0H1.20711C0.761654 0 0.538571 0.538571 0.853553 0.853553L5.64645 5.64645Z",fill:"#838FBB"})))})},28879:function(e){var t,n,i,r,l,a,o,s,u,d,c,v,f,m,h,p,y,b,g,D,x;e.exports=(t="millisecond",n="second",i="minute",r="hour",l="week",a="month",o="quarter",s="year",u="date",d="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(n)+e},(h={})[m="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}},p=function(e){return e instanceof D},y=function e(t,n,i){var r;if(!t)return m;if("string"==typeof t){var l=t.toLowerCase();h[l]&&(r=l),n&&(h[l]=n,r=l);var a=t.split("-");if(!r&&a.length>1)return e(a[0])}else{var o=t.name;h[o]=t,r=o}return!i&&r&&(m=r),r||!i&&m},b=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new D(n)},(g={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(i,a),l=n-r<0,o=t.clone().add(i+(l?-1:1),a);return+(-(i+(n-r)/(l?r-o:o-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:a,y:s,w:l,d:"day",D:u,h:r,m:i,s:n,ms:t,Q:o})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=y,g.i=p,g.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},x=(D=function(){function e(e){this.$L=y(e.locale,null,!0),this.parse(e)}var f=e.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(g.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(c);if(i){var r=i[2]-1||0,l=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,l)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,l)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return g},f.isValid=function(){return this.$d.toString()!==d},f.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,n){return g.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,t){var o=this,d=!!g.u(t)||t,c=g.p(e),v=function(e,t){var n=g.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return d?n:n.endOf("day")},f=function(e,t){return g.w(o.toDate()[e].apply(o.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},m=this.$W,h=this.$M,p=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case s:return d?v(1,0):v(31,11);case a:return d?v(1,h):v(0,h+1);case l:var b=this.$locale().weekStart||0,D=(m<b?m+7:m)-b;
1return v(d?p-D:p+(6-D),h);case"day":case u:return f(y+"Hours",0);case r:return f(y+"Minutes",1);case i:return f(y+"Seconds",2);case n:return f(y+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(e,l){var o,d=g.p(e),c="set"+(this.$u?"UTC":""),v=((o={}).day=c+"Date",o[u]=c+"Date",o[a]=c+"Month",o[s]=c+"FullYear",o[r]=c+"Hours",o[i]=c+"Minutes",o[n]=c+"Seconds",o[t]=c+"Milliseconds",o)[d],f="day"===d?this.$D+(l-this.$W):l;if(d===a||d===s){var m=this.clone().set(u,1);m.$d[v](f),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else v&&this.$d[v](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[g.p(e)]()},f.add=function(e,t){var o,u=this;e=Number(e);var d=g.p(t),c=function(t){var n=b(u);return g.w(n.date(n.date()+Math.round(t*e)),u)};if(d===a)return this.set(a,this.$M+e);if(d===s)return this.set(s,this.$y+e);if("day"===d)return c(1);if(d===l)return c(7);var v=((o={})[i]=6e4,o[r]=36e5,o[n]=1e3,o)[d]||1,f=this.$d.getTime()+e*v;return g.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var i=e||"YYYY-MM-DDTHH:mm:ssZ",r=g.z(this),l=this.$H,a=this.$m,o=this.$M,s=n.weekdays,u=n.months,c=function(e,n,r,l){return e&&(e[
1n]||e(t,i))||r[n].slice(0,l)},f=function(e){return g.s(l%12||12,e,"0")},m=n.meridiem||function(e,t,n){var i=e<12?"AM":"PM";return n?i.toLowerCase():i},h={YY:String(this.$y).slice(-2),YYYY:g.s(this.$y,4,"0"),M:o+1,MM:g.s(o+1,2,"0"),MMM:c(n.monthsShort,o,u,3),MMMM:c(u,o),D:this.$D,DD:g.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,s,2),ddd:c(n.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(l),HH:g.s(l,2,"0"),h:f(1),hh:f(2),a:m(l,a,!0),A:m(l,a,!1),m:String(a),mm:g.s(a,2,"0"),s:String(this.$s),ss:g.s(this.$s,2,"0"),SSS:g.s(this.$ms,3,"0"),Z:r};return i.replace(v,function(e,t){return t||h[e]||r.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,t,u){var d,c=g.p(t),v=b(e),f=(v.utcOffset()-this.utcOffset())*6e4,m=this-v,h=g.m(this,v);return h=((d={})[s]=h/12,d[a]=h,d[o]=h/3,d[l]=(m-f)/6048e5,d.day=(m-f)/864e5,d[r]=m/36e5,d[i]=m/6e4,d[n]=m/1e3,d)[c]||m,u?h:g.a(h)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return h[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),i=y(e,t,!0);return i&&(n.$L=i),n},f.clone=function(){return g.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},e}()).prototype,b.prototype=x,[["$ms",t],["$s",n],["$m",i],["$H",r],["$W","day"],["$M",a],["$y",s],["$D",u]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,D,b),e.$i=!0),b},b.locale=y,b.isDayjs=p,b.unix=function(e){return b(1e3*e)},b.en=h[m],b.Ls=h,b.p={},b)},52659:function(e,t,n){"use strict";n.d(t,{E6:function(){return d},oV:function(){return r}});var i,r,l=n(52322),a=n(25237),o=n.n(a),s=n(2784),u=n(64008);function d(e){return Object.values(r).includes(e)}(i=r||(r={})).affordability="961F345C6BDD2C54B458F47007ED2DC70CB8553B602D0C9C189DAC25A87EA9B6",i.updateMissingDetails="8A06AFE99E14EAD4E86DBBA6F0A81178A1527F9310E4D14AB8C7B86B0D240D4A",i.affordabilityTax="4E847145E46832B9FB92094EB5E7872CF9567CE218365E6376B3FBF99ED13375",i.marketingConsent="3EB1CED17F819F7B127E62452AC2BF34FE88B9D90EDF746C3528CD98F59E7782",i.realityCheck="2DB287BDAC40F1A5DD5BEB7CA243914CD5BFDF534169410344CED468F3179CB6",i.harmDetection="06D5D045223210416D64832D1715E618BC3368C7A9366C45073A5B707D760B6D",i.safetGamblingOccupation="A9F53C8F9A162742715855FB3176F89555631DC6E2B05B15634E3A3745F88212",i.partialDeposit="5A9485314FD49949D47F2C7F9E3EE8E18D951E4412F7D511B17488707434D699";let c=[r.updateMissingDetails],v={[r.affordability]:o()(()=>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]}}),[r.updateMissingDetails]:o()(()=>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]}}),[r.affordabilityTax]:o()(()=>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]}}),[r.marketingConsent]:o()(()=>Promise.all([n.e(3602),n.e(3512)]).then(n.bind(n,93265)),{loadableGenerated:{webpack:()=>[93265]}}),[r.realityCheck]:o()(()=>Promise.all([n.e(5368),n.e(9220)]).then(n.bind(n,39220)),{loadableGenerated:{webpack:()=>[39220]}}),[r.safetGamblingOccupation]:o()(()=>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]}}),[r.harmDetection]:o()(()=>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]}}),[r.partialDeposit]:o()(()=>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]}})},f=e=>{let t=Array.isArray(e.modalKey)?e.modalKey:[e.modalKey];if((0,s.useEffect)(()=>
1{t.forEach(e=>{c.includes(e)&&(0,u.li)(e)})},[t.join(",")]),Array.isArray(e.modalKey))return(0,l.jsx)(l.Fragment,{children:e.modalKey.map((t,n)=>{let i=v[t];if(!i)return null;let r=Array.isArray(e.modalProps)?e.modalProps[n]:e.modalProps;return(0,l.jsx)(i,{...r},t)})});let n=v[e.modalKey];return n?(0,l.jsx)(n,{...e.modalProps}):null};t.ZP=f},16184:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});let i="PlayMode"},58490:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return D}});var i=n(52322),r=n(2784),l=n(69047),a=n(98123);let o=[{name:"game",column:"GameName",sortable:!0},{name:"bet",column:"Bet",sortable:!0},{name:"win",column:"Win",sortable:!0},{name:"date",column:"CreationDate",sortable:!0},{name:"session",column:"GameSessionId",sortable:!0}],s=e=>{let{sortConfig:t,handleSort:n}=e,{t:r}=(0,a.$G)(["lexicons"]);return(0,i.jsx)("thead",{className:"table__header",children:(0,i.jsx)("tr",{children:o.map((e,l)=>(0,i.jsxs)("th",{className:"table__heading table-heading",onClick:()=>e.sortable?n(e.column):{},children:[(0,i.jsx)("span",{className:"table-heading__text",children:r("".concat(e.name))}),e.sortable?(0,i.jsx)("i",{className:"fa-solid fa-sort table-heading__sort ".concat(t.column===e.column?"table-heading__sort--active":"")}):null]},l))})})};var u=n(28879),d=n.n(u),c=n(97125);let v=e=>{let{currentData:t}=e,{player:n}=(0,c.A)({});return(0,i.jsx)("tbody",{className:"table__body",children:null==t?void 0:t.map((e,t)=>{var r,l;return(0,i.jsxs)("tr",{className:"table__items",children:[(0,i.jsx)("td",{className:"table__item",children:(0,i.jsxs)("div",{className:"d__flex flex__align-item--center",children:[(0,i.jsx)("div",{className:"table__img"}),(0,i.jsx)("span",{className:"m__l--4",children:null==e?void 0:e.GameName})]})}),(0,i.jsxs)("td",{className:"table__item",children:[null==n?void 0:null===(r=n.Currency)||void 0===r?void 0:r.CurrencySymbol,null==e?void 0:e.Bet.toFixed(2)]}),(0,i.jsxs)("td",{className:"table__item",children:[null==n?void 0:null===(l=n.Currency)||void 0===l?void 0:l.CurrencySymbol,null==e?void 0:e.Win.toFixed(2)]}),(0,i.jsx)("td",{className:"table__item",children:(0,i.jsx)("span",{children:d()((null==e?void 0:e.CreationDate)||"").format("DD/MM/YYYY HH:mm")})}),(0,i.jsx)("td",{className:"table__item",children:null==e?void 0:e.GameSessionId})]},t)})})};var f=n(50776),m=n(6583);let h=[{label:"Date",value:"CreationDate"},{label:"Game",value:"GameName"},{label:"Bet",value:"Bet"},{label:"Win",value:"Win"},{label:"Session ID",value:"GameSessionId"}],p=e=>{let{currentData:t,handleSort:n}=e,[l,o]=(0,r.useState)(!1),{t:s}=(0,a.$G)(["common"]),{player:u}=(0,c.A)({}),v=(0,r.useCallback)(e=>{o(l!==e&&e)},[l]);return(0,i.jsxs)("div",{className:"mobile-table",children:[(0,i.jsx)("div",{className:"mobile-table__filter filter",children:(0,i.jsx)("div",{className:"filter__sort-by",children:(0,i.jsxs)("div",{className:"form__row form__row--text",children:[(0,i.jsx)("label",{className:"form__label",children:s("Sort by")}),(0,i.jsx)("div",{className:"form-select__body",children:(0,i.jsx)(m.Z,{options:h,"data-testid":"dropdown__GameHistoryTableMobile-sortBy",onChange:e=>n(e.value),defaultValue:{...h[0]},isInline:!0})})]})})}),(0,i.jsx)("div",{className:"mobile-table__items",children:t.map(e=>{var t,n;return(0,i.jsxs)(f.Accordion,{id:'"'.concat(e.Id,'"'),expanded:l,children:[(0,i.jsxs)(f.AccordionSummary,{handleClick:()=>v('"'.concat(e.Id,'"')),children:[(0,i.jsxs)("div",{className:"accordion-summary__top",children:[(0,i.jsx)("div",{className:"accordion-summary__top-data",children:(0,i.jsx)("span",{className:"mobile-table__date",children:d()((null==e?void 0:e.CreationDate)||"").format("DD/MM/YYYY HH:mm")})}),(0,i.jsx)("i",{className:"mobile-table__caret icon-caret-up"})]}),(0,i.jsx)("div",{className:"accordion-summary__bottom",children:(0,i.jsxs)("div",{className:"mobile-table__thumbnail",children:[(0,i.jsx)("div",{className:"table__img"}),(0,i.jsx)("span",{className:"mobile-table__type",children:null==e?void 0:e.GameName})]})})]}),(0,i.jsx)(f.AccordionDetails,{children:(0,i.jsxs)("ul",{className:"mobile-table__list",children:[(0,i.jsxs)("li",{className:"mobile-table__list-item list-item",children:[(0,i.jsx)("span",{className:"list-item__name",children:s("Bet")}),(0,i.jsxs)("span",{className:"list-item__value",children:[null==u?void 0:null===(t=u.Currency)||void 0===t?void 0:t.CurrencySymbol,null==e?void 0:e.Bet.toFixed(2)]})]}),(0,i.jsxs)("li",{className:"mobile-table__list-item list-item",children:[(0,i.jsx)("span",{className:"list-item__name",children:s("Win")}),(0,i.jsxs)("span",{className:"list-item__value",children:[null==u?void 0:null===(n=u.Currency)||void 0===n?void 0:n.CurrencySymbol,null==e?void 0:e.Win.toFixed(2)]})]}),(0,i.jsxs)("li",{className:"mobile-table__list-item list-item",children:[(0,i.jsx)("span",{className:"list-item__name",children:s("Session ID")}),(0,i.jsx)("span",{className:"list-item__value",children:null==e?void 0:e.GameSessionId})]})]})})]},e.Id)})})]})},y=e=>{let{currentPage:t,totalPageCount:n,prevPage:r,nextPage:l}=e;return(0,i.jsx)("div",{className:"card-table__footer",children:(0,i.jsxs)("div",{className:"pagination",children:[(0,i.jsx)("button",{className:"btn btn-prev","data-testid":"btn__GameHistoryTableFooter-prevPage",onClick:r,disabled:t<=1,children:(0,i.jsx)("i",{className:"fa-solid fa-angle-left"})}),(0,i.jsxs)("div",{className:"pagination__pages",children:[(0,i.jsx)("span",{className:"active",children:t}),(0,i.jsx)("span",{children:"of"}),(0,i.jsx)("span",{children:n})]}),(0,i.jsx)("button",{className:"btn btn-next","data-testid":"btn__GameHistoryTableFooter-nextPage",onClick:l,disabled:t>=n,children:(0,i.jsx)("i",{className:"fa-solid fa-angle-right"})})]})})};var b=n(21723);let g=e=>{let{data:t}=e,[n,a]=(0,r.useState)(1),{ua:o}=(0,b.e)(),{items:u,sortConfig:d,requestSort:c}=(0,l.c)(t,{order:l.a.DESC,column:"CreationDate"}),f=e=>{c(e),a(1)},m=(0,r.useMemo)(()=>{let e=(n-1)*10;return null==u?void 0:u.slice(e,e+10)},[n,u]),h=(0,r.useMemo)(()=>Math.ceil((null==t?void 0:t.length)/10),[null==t?void 0:t.length]);return(0,i.jsxs)("div",{className:"card card-table table-game-history pp-gameHistory__CardTable--component",children:[(0,i.jsx)("div",{className:"card-table__body",children:o.isDesktop?(0,i.jsxs)("table",{className:"table",children:[(0,i.jsx)(s,{sortConfig:d,handleSort:f}),(0,i.jsx)(v,{currentData:m})]}):(0,i.jsx)(p,{currentData:m,handleSort:f})}),(0,i.jsx)(y,{currentPage:n,totalPageCount:h,prevPage:()=>a(e=>e-1),nextPage:()=>a(e=>e+1)})]})};var D=g},75905:function(e,t,n){"use strict";var i,r,l,a;n.d(t,{Gh:function(){return b},HB:function(){return m},IY:function(){return o},Iw:function(){return h},Kz:function(){return v},PI:function(){return c},Pc:function(){return D},SJ:function(){return u},Z4:function(){return f},b:function(){return g},bB:function(){return i},ih:function(){return y},k1:function(){return d},pL:function(){return s},tO:function(){return p},zr:function(){return r}});let o=[{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=i||(i={})).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 s={721:"UK",723:"CURACAO",722:"MGA"};(a=r||(r={})).PASSWORD="password",a.LIMITS="limits";let u={PerDay:"daily",PerWeek:"weekly",PerMonth:"monthly"},d={NetDepositPerDay:"",NetDepositPerWeek:"",NetDepositPerMonth:""},c={DepositPerDay:"",DepositPerWeek:"",DepositPerMonth:""},v={WagerPerDay:"",WagerPerWeek:"",WagerPerMonth:""},f={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:"}}},h={SessionTimeout:""},p="MMM DD YYYY HH:mm",y="/api/playResponsibly/getPlayerLimits",b=768,g="exclusion",D=Object.fromEntries(Object.entries(m).map(e=>{let[t,n]=e;return[t,Object.values(n.keys).filter(Boolean)]}))},41622:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(2784),r=n(51286),l=n(75905),a=n(84260);let o=()=>{let{data:e,error:t,isLoading:n}=(0,r.ZP)(l.ih),o=(0,i.useMemo)(()=>(0,a.w5)(e),[e]),s=(0,i.useMemo)(()=>o.map(e=>e.key),[o]),u=void 0!==e;return{data:e,error:t,visibleLimits:o,visibleKeys:s,isResolved:u,hasFailed:!n&&!u}}},84260:function(e,t,n){"use strict";n.d(t,{Gv:function(){return d},sx:function(){return o},w5:function(){return c}});var i=n(70853),r=n(75905);let l=e=>{switch(e){case r.bB.TIMEOUT:return"UK"===(0,i.v4)();case r.bB.SESSION:case r.bB.REALITY:return"CURACAO"!==(0,i.v4)();default:return!0}},a=e=>r.Pc[e],o=e=>!!a(e),s=(e,t)=>{let n=a(e);return n&&Array.isArray(t)?t.filter(e=>n.includes(e.LimitName)):[]},u=(e,t)=>!o(e)||void 0===t||s(e,t).length>0,d=(e,t)=>l(e)&&u(e,t),c=e=>r.IY.filter(t=>d(t.key,e))},48306:function(e,t,n){"use strict";var i,r;n.d(t,{Iz:function(){return a},q5:function(){return i},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"}],a=["png","jpg","pdf","jpeg"];(r=i||(i={})).IDENTITYCARD="IdentityCard",r.ADDRESS="Address",r.PAYMENT="Payment",r.OTHER="Other"},58498:function(e,t,n){"use strict";var i=n(52322);let r=e=>{let{contentType:t}=e;return(0,i.jsxs)("div",{className:"spinner-loading",children:[(0,i.jsx)("div",{className:"spinner-loading__spinner",children:(0,i.jsx)("div",{className:"spinner-border",role:"status",children:(0,i.jsx)("span",{className:"visually-hidden",children:"Loading..."})})}),(0,i.jsxs)("div",{className:"spinner-loading__text",children:["Loading ",t,"..."]})]})};t.Z=r},64924:function(e,t,n){"use strict";var i,r,l,a,o,s=n(52322),u=n(2784),d=n(58498),c=n(97125),v=n(65573),f=n(35599);let m=e=>"sport"===e||"bingo"===e||"live"===e?e:"casino",h=e=>({casino:null!==(i=null==e?void 0:e.DepositsCountCasino)&&void 0!==i?i:0,sport:null!==(r=null==e?void 0:e.DepositsCountSport)&&void 0!==r?r:0,bingo:null!==(l=null==e?void 0:e.DepositsCountBingo)&&void 0!==l?l:0,live:null!==(a=null==e?void 0:e.DepositsCountLive)&&void 0!==a?a:0}),p=(e,t)=>null!==(o=e[t])&&void 0!==o?o:0,y=e=>{let{intent:t,iframeUrl:n,isLoading:i}=e,{player:r,mutatePlayer:l}=(0,c.A)({}),{playMode:a}=(0,v.usePlayModeContext)(),o=(0,u.useRef)(null),y=(0,u.useRef)(!1);return((0,u.useEffect)(()=>{if(!(null==r?void 0:r.PlayerId)||!n)return;o.current||(o.current=h(null==r?void 0:r.Account));let e=null,t=async()=>{let e=await l(),t=(null==e?void 0:e.Account)||(null==r?void 0:r.Account),n=m(null==a?void 0:a.value),i=p(h(t),n),s=p(o.current,n);!y.current&&i>s&&(y.current=!0,(0,f.tg)("praxis-deposit-playmode",n),window.dispatchEvent(new CustomEvent("praxis:deposit:success",{detail:{playmode:n}})))};e=setInterval(t,3e3);let i=()=>"visible"===document.visibilityState&&l();return document.addEventListener("visibilitychange",i),()=>{e&&clearInterval(e),document.removeEventListener("visibilitychange",i)}},[null==r?void 0:r.PlayerId,n,null==a?void 0:a.value,l]),i)?(0,s.jsx)(d.Z,{contentType:"payment"===t?"Deposit":"Withdrawal"}):(0,s.jsx)("iframe",{"data-testid":"iframe__PraxisIframe-cashier",src:n,style:{width:"100%",height:"calc(100vh - 150px)",border:0},title:"Praxis Cashier"})};t.Z=y},80496:function(e,t,n){"use strict";var i,r;n.d(t,{Ar:function(){return o},GL:function(){return a},Gm:function(){return i},NB:function(){return u},Rh:function(){return l},dF:function(){return s}});let l={CREDIT_CARD:"creditcard",PAY_PAL:"paypal",PAY_VIA_PHONE:"payviaphone",PAY_SAFE_CARD:"paysafecard",ECO_PAYZ:"ecopayz",TRUSTLY:"trustly",MUCHBETTER:"muchbetter",APPLE_PAY:"applepay",GENERIC:"generic",PAYHOUND:"payhound",PAYHOUND_BTC:"payhound_btc",PAYHOUND_ETH:"payhound_eth",PAYHOUND_USDC:"payhound_usdc",PAYHOUND_USDT:"payhound_usdt"},a="Visa",o={1:"text",2:"number",3:"email",4:"text",5:"select",6:"amount"},s={85:"paybybank_deposit",99:"paybybank_withdrawal"};(r=i||(i={}))[r.required=1]="required",r[r.minlength=2]="minlength",r[r.maxlength=3]="maxlength",r[r.regex=4]="regex";let u={[i.required]:"required",[i.minlength]:"minlength",[i.maxlength]:"maxlength"}},70906:function(e,t,n){"use strict";n.r(t);var i=n(52322);let r=e=>{let{children:t,isLoading:n=!1,...r}=e;return n?(0,i.jsx)("button",{"data-testid":"btn__Button-loading",...r,children:(0,i.jsx)("svg",{className:"spinner",viewBox:"0 0 50 50",children:(0,i.jsx)("circle",{className:"path",cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"5"})})}):(0,i.jsx)("button",{"data-testid":"btn__Button-default",...r,className:"".concat(null==r?void 0:r.className," pp-button--component"),children:t})};t.default=r},6583:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(52322),r=n(2784),l=n(9348),a=n(55830);let o={container:(e,t)=>({...e,maxWidth:"100%",":hover":{border:"none"}}),control:(e,t)=>({...e,background:"#1f2642",color:"#FFFFFF",height:44,border:"none",boxShadow:t.isFocused&&"0 0 0 1px #7177FF",borderRadius:2,":hover":{border:"none",cursor:"pointer"}}),valueContainer:(e,t)=>({...e}),singleValue:(e,t)=>
1({...e,fontFamily:"Poppins",fontStyle:"normal",fontWeight:400,fontSize:16,color:"#FFFFFF",marginLeft:5}),placeholder:(e,t)=>({...e,color:"#53608D",fontFamily:"Poppins-Regular",fontStyle:"normal",fontWeight:400,fontSize:16,marginLeft:5}),menu:(e,t)=>({...e,borderRadius:2,background:"#1F2642",color:"#FFFFFF",zIndex:9999}),option:(e,t)=>({...e,background:"#1F2642",":hover":{background:"#394262"}}),dropdownIndicator:(e,t)=>({...e,padding:0,marginRight:5}),indicatorsContainer:(e,t)=>({...e,padding:0}),indicatorSeparator:(e,t)=>({}),input:(e,t)=>({...e,fontFamily:"Poppins-Regular",fontStyle:"normal",fontWeight:400,fontSize:16,color:"#FFFFFF",marginLeft:5})},s={container:(e,t)=>({...e,maxWidth:"100%",":hover":{border:"none"}}),control:(e,t)=>({...e,background:"transparent",color:"#FFFFFF",height:"auto",minHeight:"100%",border:"none",boxShadow:t.isFocused&&"0 0 0 1px #7177FF",borderRadius:2,":hover":{border:"none",cursor:"pointer"}}),valueContainer:(e,t)=>({...e}),singleValue:(e,t)=>({...e,fontFamily:"Poppins-Regular",fontStyle:"normal",fontWeight:400,fontSize:16,color:"#FFFFFF",marginLeft:5}),placeholder:(e,t)=>({...e,color:"#53608D",fontFamily:"Poppins-Regular",fontStyle:"normal",fontWeight:400,fontSize:16,marginLeft:5}),menu:(e,t)=>({...e,borderRadius:2,background:"#1F2642",color:"#FFFFFF",zIndex:9999}),option:(e,t)=>({...e,background:"#1F2642",":hover":{background:"#394262"}}),dropdownIndicator:(e,t)=>({...e,padding:0,marginRight:5}),indicatorsContainer:(e,t)=>({...e,padding:0}),indicatorSeparator:(e,t)=>({}),input:(e,t)=>({...e,fontFamily:"Poppins-Regular",fontStyle:"normal",fontWeight:400,fontSize:16,color:"#FFFFFF",marginLeft:5})};var u=n(35631),d=n(35096),c=n.n(d);let v=(0,r.forwardRef)(function(e,t){let{parentStyles:n,options:d,defaultValue:v,defaultInputValue:f,placeholder:m,error:h,isDisabled:p,isSetError:y,isInline:b,components:g,onChange:D,onFocus:x,isSearchable:C=!1,hideSelectedOptions:_=!1,_value:P,"data-testid":S}=e,[w,I]=(0,r.useState)(null),[M,k]=(0,r.useState)("");return(0,r.useEffect)(()=>{if(v){let e=d.map(e=>null==e?void 0:e.label).indexOf(null==v?void 0:v.label);e>-1&&I(d[e])}},[v,d]),(0,r.useEffect)(()=>{f&&k(f)},[f]),(0,r.useEffect)(()=>{(null==w?void 0:w.value)&&k(null==w?void 0:w.value)},[w]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.ZP,{hideSelectedOptions:_,openMenuOnFocus:!0,ref:t,styles:n||(b?s:o),defaultValue:w,defaultInputValue:M,onChange:(e,t)=>
1{let n=d.indexOf(e);D(e,n)},value:P,options:d,placeholder:m,isDisabled:p,onFocus:x,inputId:"dropdown__Dropdown-input","data-testid":S,components:{IndicatorsContainer:()=>p?null:(0,i.jsx)("div",{className:c().arrowWrapper,children:(0,i.jsx)(u.r,{})}),...g},isSearchable:C},null==w?void 0:w.value),h&&y?(0,i.jsx)(a.default,{type:"text",error:h,isSetError:y}):null]})});var f=v},7959:function(e,t,n){"use strict";n.d(t,{At:function(){return a},Sg:function(){return d},X1:function(){return c},Yv:function(){return s},b:function(){return u},kC:function(){return v},wT:function(){return o}});var i=n(35599),r=n(80496),l=n(93011);let a=(e,t,n)=>{let i={};return null==e||e.forEach(e=>{var l,a;let o=[];"deposit"===n?i["".concat(e.PropertyName)]=(null==e?void 0:e.PrefillValue)&&(null==e?void 0:e.Value)?null==e?void 0:e.Value:(null==e?void 0:e.ShowInDeposit)?"":null:i["".concat(e.PropertyName)]=(null==e?void 0:e.PrefillValue)&&(null==e?void 0:e.Value)?null==e?void 0:e.Value:(null==e?void 0:e.ShowInWithdrawal)?"":null,(null==e?void 0:e.PropertyName)==="IP"&&(i.IP=t||""),(null==e?void 0:null===(l=e.Validations)||void 0===l?void 0:l.length)>0&&(null==e||null===(a=e.Validations)||void 0===a||a.forEach((t,n)=>{let i={type:t.ValidationType,[r.NB[t.ValidationType]]:+(null==t?void 0:t.ValidationValue)||"",message:null==t?void 0:t.ErrorMessage,value:(null==e?void 0:e.Value)||"",key:"".concat(e.PropertyName)};null==o||o.push(i)})),i.fields={...i.fields,[null==e?void 0:e.PropertyName]:o}}),{...i}},o=(e,t)=>{let n={};return t.forEach(t=>{n[t]=e[t]}),n},s=(e,t)=>{let n={};if(!e)return n;let i=Object.keys(e);return null==i||i.forEach(i=>{let r=e[i];null==r||r.forEach(e=>{var i,r,l,a;let o=null===(i=Object.keys(e))||void 0===i?void 0:i.includes("required"),s="".concat(t[null==e?void 0:e.key]);(null==s?void 0:s.length)===0&&o?(null===(r=Object.keys(n))||void 0===r?void 0:r.includes(null==e?void 0:e.key))||(n[null==e?void 0:e.key]=null==e?void 0:e.message):(!((null==s?void 0:s.length)>(null==e?void 0:e.maxlength))||(null===(l=Object.keys(n))||void 0===l?void 0:l.includes(null==e?void 0:e.key))||(n[null==e?void 0:e.key]=null==e?void 0:e.message),!((null==s?void 0:s.length)<(null==e?void 0:e.minlength))||(null===(a=Object.keys(n))||void 0===a?void 0:a.includes(null==e?void 0:e.key))||(n[null==e?void 0:e.key]=null==e?void 0:e.message))})}),n},u=e=>{var t,n,r,a,o,s,u,d,c;let v=(0,i.YX)("defaultPlayerData"),f=(0,i.v_)(),m=null==e?void 0:e.MinDeposit;if((null==e?void 0:e.SettlementCompanyId)===10)switch(null==f?void 0:null===(a=f.Country)||void 0===a?void 0:a.CountryId){case 9:(null==v?void 0:v.whiteLabelId)===l.TF&&(m=5*(null==f?void 0:null===(o=f.Currency)||void 0===o?void 0:o.CurrencyMultiplier));break;case 84:(null==v?void 0:v.whiteLabelId)===l.xh&&(m=5*(null==f?void 0:null===(s=f.Currency)||void 0===s?void 0:s.CurrencyMultiplier));break;case 103:case 150:m=15*(null==f?void 0:null===(u=f.Currency)||void 0===u?void 0:u.CurrencyMultiplier);break;case 28:m=6*(null==f?void 0:null===(d=f.Currency)||void 0===d?void 0:d.CurrencyMultiplier)}else(null==f?void 0:null===(t=f.Country)||void 0===t?void 0:t.CountryId)===28?m=4*(null==f?void 0:null===(c=f.Currency)||void 0===c?void 0:c.CurrencyMultiplier):(null==f?void 0:null===(n=f.Country)||void 0===n?void 0:n.CountryId)===84&&(null==v?void 0:v.whiteLabelId)===l.xh?m=5*(null==f?void 0:f.Currency.CurrencyMultiplier):(null==f?void 0:null===(r=f.Country)||void 0===r?void 0:r.CountryId)===9&&(null==v?void 0:v.whiteLabelId)===l.TF&&(m=5*f.Currency.CurrencyMultiplier);return m},d=(e,t)=>{let n=null==e?void 0:e.MinWithdrawal,i=null==e?void 0:e.MaxWithdrawal;return{minWithdrawal:n,maxWithdrawal:i=Math.min(i,t)}},c=e=>{let t=(0,i.v_)(),n=e?e.split("|"):[],r=[];return(null==n?void 0:n.length)>0&&n.forEach(e=>{let n=String(+e*(null==t?void 0:t.Currency.CurrencyMultiplier));null==r||r.push(n)}),r},v=e=>{var t;let n=(0,i.v_)();return(null==n?void 0:null===(t=n.Currency)||void 0===t?void 0:t.CurrencyMultiplier)*e}},95805:function(e,t,n){"use strict";n.d(t,{W:function(){return a},v:function(){return l}});let i=0,r=null,l=()=>i>0,a=e=>{if(r)return r;i+=1;let t=!1,n=null,l=()=>{t||(t=!0,i=Math.max(0,i-1),r!==n||(r=null))},a=setTimeout(l,15e3);return r=n=(async()=>{await e()})().catch(()=>void 0).finally(()=>{clearTimeout(a),l()}),n}},70853:function(e,t,n){"use strict";n.d(t,{_6:function(){return o},v4:function(){return d},ym:function(){return s}});var i=n(35599),r=n(75905),l=n(83541);let a=e=>{let t=(0,i.YX)("".concat(e,"-LoginTime")),n=new Date(t),r=new Date,l=(n.getTime()-r.getTime())/1e3;return Math.round(Math.abs(l))},o=()=>{let e=(0,i.v_)();return e&&"SoftBlock"===e.BlockType},s=e=>{let t=(0,i.v_)(),n=(0,i.jy)(e);t&&t.SessionLimit&&t.SessionLimit>=1&&(!n||!n.IsSet)&&(n.IsSet=!0,n.SessionLimit=60*t.SessionLimit,n.SessionEllapsed=a(e),n.SessionLimit>n.SessionEllapsed?(n.SessionLeft=n.SessionLimit-n.SessionEllapsed,(0,i.tg)("".concat(e,"-RealityCheck"),n)):(n.SessionLeft=n.SessionLimit-n.SessionEllapsed%n.SessionLimit,(0,i.tg)("".concat(e,"-RealityCheck"),n)),u(1e3*n.SessionLeft))},u=e=>{let t=(0,i.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)},d=()=>{var e,t;let n=null===(e=(0,i.v_)())||void 0===e?void 0:null===(t=e.Country)||void 0===t?void 0:t.JurisdictionId;return r.pL[n]}},64008:function(e,t,n){"use strict";n.d(t,{li:function(){return r},vo:function(){return l},zV:function(){return a}});let i="pendingMandatoryPopups",r=e=>{let t=a();t.includes(e)||sessionStorage.setItem(i,JSON.stringify([...t,e]))},l=e=>{let t=a(),n=t.filter(t=>t!==e);sessionStorage.setItem(i,JSON.stringify(n))},a=()=>{try{let e=sessionStorage.getItem(i);return e?JSON.parse(e):[]}catch(e){return[]}}},69047:function(e,t,n){"use strict";n.d(t,{a:function(){return r},c:function(){return a}});var i,r,l=n(2784);(i=r||(r={})).ASC="asc",i.DESC="desc";let a=(e,t)=>
1{let[n,i]=(0,l.useState)(t),a=(0,l.useMemo)(()=>{let t=[...e];return null!==n&&t.sort((e,t)=>e[n.column]<t[n.column]?n.order===r.ASC?-1:1:e[n.column]>t[n.column]?n.order===r.ASC?1:-1:0),t},[e,n]),o=e=>{let t=r.ASC;n&&n.column===e&&n.order===r.ASC&&(t=r.DESC),i({column:e,order:t})};return{items:a,sortConfig:n,requestSort:o}}},93011:function(e,t,n){"use strict";n.d(t,{C5:function(){return a},TF:function(){return i},cq:function(){return l},xh:function(){return r}});let i=39,r=231,l=721,a=722},65573:function(e,t,n){"use strict";n.r(t),n.d(t,{PLAY_MODES:function(){return r},PlayBingoMode:function(){return y},PlayCasinoMode:function(){return h},PlayLiveMode:function(){return p},PlayModeProvider:function(){return _},PlaySportsMode:function(){return m},normalizePlayMode:function(){return x},usePlayModeContext:function(){return P}});var i,r,l=n(52322),a=n(2784),o=n(97112),s=n(5632),u=n(64622),d=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}}},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 f=n(73549);let m={id:707,value:"sport"},h={id:706,value:"casino"},p={id:912,value:"live"},y={id:911,value:"bingo"};(i=r||(r={}))[i.sport=707]="sport",i[i.casino=706]="casino",i[i.live=912]="live",i[i.bingo=911]="bingo";let b={[m.id]:m,[h.id]:h,[p.id]:p,[y.id]:y},g={[m.value]:m,[h.value]:h,[p.value]:p,[y.value]:y},D=e=>Array.isArray(e)?e[0]:e,x=e=>{if(!e)return;let t=Number(e.id);if(Number.isFinite(t)&&b[t])return b[t];let n="string"==typeof e.value?e.value.toLowerCase():void 0;if(n&&g[n])return g[n]},C=(0,a.createContext)(void 0),_=e=>{let{children:t}=e,{config:n,defaultData:i}=(0,u.useBrandConfig)(),{getSessionItem:r,addSessionItem:m}=(0,f.Z)(),b=(0,o.EE)(),g=(0,s.useRouter)(),[_,P]=(0,a.useState)({id:0,value:"Default"}),S=(0,a.useCallback)(e=>{m(d.v,e),P(e)},[m]),w=(0,a.useCallback)(()=>{try{return x(r(d.v))}catch(e){return}},[r]),I=(0,a.useCallback)(()=>{var e;let t=D(null===(e=g.query)||void 0===e?void 0:e.mode),r=x(t?c(t,b):void 0),l=null!=r?r:w(),a=null!=l?l:x({id:null==n?void 0:n.DefaultPlayMode}),o=a&&v(a,n,i)?a:h;return o},[b,i,w,g.query,n]),M=(0,a.useCallback)(e=>{g.push(e).then(()=>{"/sportsbook"===e&&setTimeout(()=>{scrollTo({top:0,left:0,behavior:"smooth"})},300)})},[g]),k=(0,a.useCallback)(e=>{var t;let n=null!==(t=x(e))&&void 0!==t?t:h;S(n)},[S]),F=(0,a.useCallback)(e=>{var t;let n=null!==(t=x(e))&&void 0!==t?t:h,i=n.value===p.value?"/live":n.value===y.value?"/bingo":n.value===h.value?"/":"/sportsbook";console.info("playMode",n),S(n),i!==(null==g?void 0:g.pathname)&&M(i)},[M,null==g?void 0:g.pathname,S]);return(0,a.useEffect)(()=>{if((null==g?void 0:g.isReady)&&(null==n?void 0:n.WhiteLabelId)&&(null==i?void 0:i.jurisdictionId)){let e=I();(null==e?void 0:e.id)!==(null==_?void 0:_.id)&&(console.info("[Play Mode] Determined Play Mode >>> ",e),S(e))}},[null==i?void 0:i.jurisdictionId,I,null==g?void 0:g.isReady,null==n?void 0:n.WhiteLabelId,null==_?void 0:_.id,S]),(0,l.jsx)(C.Provider,{value:{playMode:_,setPlayMode:k,navLinkRedirect:F},children:t})},P=()=>{let e=(0,a.useContext)(C);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 i=n(52322),r=n(2784),l=n(28316),a=n(25237),o=n.n(a),s=n(52659),u=n(64008);let d=o()(()=>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=o()(()=>n.e(4440).then(n.bind(n,14440)).then(e=>e.PaymentsProvider),{loadableGenerated:{webpack:()=>[14440]},ssr:!1}),v=(0,r.createContext)(void 0),f=e=>{let{children:t}=e,[n,a]=(0,r.useState)([]),[o,f]=(0,r.useState)([]),m=(0,r.useRef)(new Set),h=(0,r.useRef)(new Map),p=(0,r.useCallback)(e=>m.current.has(e),[]);(0,r.useEffect)(()=>{let e=(0,u.zV)();
1e.forEach(e=>{if((0,s.E6)(e)&&!m.current.has(e)){let t="restored-".concat(e),n={close:()=>{m.current.delete(e),f(e=>e.filter(e=>e.id!==t))},id:t};m.current.add(e),f(r=>[...r,{managedPopupIds:new Set([e]),element:(0,i.jsx)(s.ZP,{modalKey:[e],modalProps:[{portalClose:n.close}]}),id:t,appendTo:document.body}])}})},[]);let y=function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{id:u=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),appendTo:d=document.body,onClose:c,key:v}=l;if(n.find(e=>e.id===u||v&&e.key===v)||o.find(e=>e.id===u||v&&e.key===v))return;if(!d)throw Error("Trying to open a portal in a nonexistent DOM node");let p={close:e=>{b(u,e),null==c||c()},id:u},y="function"==typeof e?e(p):e,g=null==y?void 0:null===(t=y.props)||void 0===t?void 0:t.popup,D=new Set;if(Array.isArray(g)&&(null==g?void 0:g.length)>0){let e=g.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),D.add(null==e?void 0:e.ID)});let t=[],n=[];if(e.forEach(e=>{(0,s.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),r=t.map(e=>({popup:e,portalClose:p.close})),l=(0,i.jsx)(s.ZP,{modalKey:n,modalProps:r});f(t=>[...t,{managedPopupIds:e,element:l,id:u,appendTo:d,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,r.cloneElement)(y,{popup:n});a(n=>[...n,{managedPopupIds:e,element:t,id:u,appendTo:d,key:v}]),e.forEach(e=>m.current.add(e))}}else a(e=>[...e,{managedPopupIds:new Set,element:y,id:u,appendTo:d,key:v}]);D.size>0&&h.current.set(u,D)},b=(0,r.useCallback)((e,t)=>{let n=h.current.get(e);n&&(n.forEach(e=>{m.current.delete(e)}),h.current.delete(e)),t&&m.current.delete(t),f(t=>t.filter(t=>{let{id:n}=t;return n!==e})),a(t=>t.filter(t=>{let{id:n}=t;return n!==e}))},[]),g=e=>{f(t=>t.filter(t=>t.key!==e)),a(t=>t.filter(t=>t.key!==e))},D=()=>{m.current.clear(),f([]),a([])},x=(0,r.useMemo)(()=>({open:y,portals:n,closeByKey:g,closeAll:D,isActive:p}),[y,n,g,D,p]);return(0,i.jsx)(v.Provider,{value:x,children:(0,i.jsx)(d,{children:(0,i.jsxs)(c,{children:[t,n.map(e=>{let{element:t,appendTo:n,id:a}=e;return(0,i.jsx)(r.Fragment,{children:l.createPortal(t,n)},a)}),o.map(e=>{let{element:t,appendTo:n,id:a}=e;return(0,i.jsx)(r.Fragment,{children:l.createPortal(t,n)},a)})]})})})};t.default=f},63599:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var i=n(64622),r=n(94928),l=n(51286),a=n(71292),o=n(1131);let s=e=>{var t;let{body:n,publicConfigUrl:s}=e,{config:u,publicConfig:d,defaultData:c}=(0,i.useBrandConfig)(),{locale:v}=(0,r.useI18nLocalization)(),f=null==v?void 0:v.activeLanguage,m=null!=s?s:d,{data:h}=(0,l.ZP)(f&&!(0,o.n)(m)&&(null==u?void 0:u.WhiteLabelId)&&n?["".concat((null!==(t=m.publicConfigUrl)&&void 0!==t?t:m).gamesServiceCMSHelperUrl,"GetInfoContentByCode"),{code:n||"",lang:f,whitelabelid:null==u?void 0:u.WhiteLabelId,currencyId:null==c?void 0:c.currencyId,country:null==c?void 0:c.countryCode}]:null,e=>{let[t,n]=e;return(0,a.Z)(t,n)});return{content:h}}},66976:function(e,t,n){"use strict";n.d(t,{OA:function(){return c},Xv:function(){return v},bI:function(){return u},fn:function(){return f},sO:function(){return d}});var i=n(97125),r=n(64622),l=n(71292),a=n(51286),o=n(91823);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(e).reduce((e,t)=>{let[n,i]=t;return null==i||(e[n]=i),e},{})},u="https://".concat("static-data-api-hwasf0g6fgfbfehd",".z01.azurefd.net"),d=e=>{let{payload:t,enabled:n=!0}=e,{defaultData:d,labelName:c}=(0,r.useBrandConfig)(),{player:v,isLoading:f}=(0,i.A)({}),{tenantId:m}=(0,o.a)(c),{playerId:h,filterId:p,...y}=null!=t?t:{},b="number"==typeof h?h:null==v?void 0:v.PlayerId,g=s({...(null==d?void 0:d.whiteLabelId)?{whiteLabelId:null==d?void 0:d.whiteLabelId}:{},...(null==v?void 0:v.CountryId)||(null==d?void 0:d.countryId)?{countryId:(null==v?void 0:v.CountryId)||(null==d?void 0:d.countryId)}:{},playerId:b&&b>0?b:void 0,filterId:p||void 0,...y,"x-tenantid":m}),{data:D,isLoading:x,mutate:C}=(0,a.ZP)(m&&u&&n&&!f?["".concat(u,"/api/Game/Games"),g]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{games:D,isLoading:x,mutateGames:C}},c=e=>{var t;let{payload:n,enabled:d=!0}=e,{labelName:c,config:v}=(0,r.useBrandConfig)(),{player:f}=(0,i.A)({}),{tenantId:m}=(0,o.a)(c),{playerId:h,...p}=null!=n?n:{},y="number"==typeof h?h:null!==(t=null==f?void 0:f.PlayerId)&&void 0!==t?t:0,b=s({...y>0?{playerId:y}:{countryId:null==v?void 0:v.DefaultCountry},whitelabelId:null==v?void 0:v.WhiteLabelId,...p,"x-tenantid":m}),{data:g}=(0,a.ZP)(m&&u&&d?["".concat(u,"/api/Game/GameCategories"),b]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{categories:g}},v=e=>{var t;let{payload:n,enabled:d=!0,swrOptions:c}=e,{labelName:v}=(0,r.useBrandConfig)(),{player:f}=(0,i.A)({}),{tenantId:m}=(0,o.a)(v),h=null!==(t=null==f?void 0:f.PlayerId)&&void 0!==t?t:0,p=s({...null!=n?n:{},playerId:h,"x-tenantid":m}),{data:y,mutate:b,isLoading:g}=(0,a.ZP)(m&&u&&d&&(null==f?void 0:f.PlayerId)>0?["".concat(u,"/api/Game/FavoriteGames"),p]: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==y?void 0:y.Data,mutateFavorites:b,isLoading:g}},f=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{config:n,publicConfig:d,defaultData:c,labelName:v}=(0,r.useBrandConfig)(),{player:f}=(0,i.A)({}),{tenantId:m}=(0,o.a)(v),h=s({...(null==f?void 0:f.CountryId)||(null==c?void 0:c.countryId)?{countryId:(null==f?void 0:f.CountryId)||(null==c?void 0:c.countryId)}:{},...e,"x-tenantid":m}),{data:p}=(0,a.ZP)(m&&(null==n?void 0:n.WhiteLabelId)&&d&&t?["".concat(u,"/api/Game/GameSubproviders"),h]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{gameSubProviders:p}}},83571:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var i=n(2784),r=n(60842);let l=()=>{let e=(0,i.useContext)(r.PortalContext);if(!e)throw Error("usePortals must be used within a PortalProvider");return e}},91823:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var i=n(2784),r=n(51286),l=n(71292),a=n(35599);let o=e=>{var t;let n=e?"".concat(e,"-Tenant-Data"):null,o=e?"".concat(e,"-Tenant-Data-loading"):null,s=n?(0,a.YX)(n):null,u=!!((null==s?void 0:s.tenant_id)&&(null==s?void 0:s.apiCasinoGatewayUrl)),d=async()=>
1{if(!o||!(0,a.YX)(o))return null;for(let e=0;e<10;e+=1){let e=n?(0,a.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,a.YX)(n):null;if((null==e?void 0:e.tenant_id)&&(null==e?void 0:e.apiCasinoGatewayUrl))return e;let t=await d();if(t)return t;if(!o)return null;(0,a.tg)(o,!0);try{let e=await (0,l.Z)("/api/getTenantData");return e&&n&&(0,a.tg)(n,e),null!=e?e:null}finally{(0,a.ZL)(o)}},{data:v,isLoading:f}=(0,r.ZP)(e&&!u?["tenant-data",e]:null,c);(0,i.useEffect)(()=>{n&&v&&(0,a.tg)(n,v)},[n,v,!0]);let m=(0,i.useMemo)(()=>null!==(t=null!=s?s:v)&&void 0!==t?t:null,[s,v]);return{tenant:m,tenantId:null==m?void 0:m.tenant_id,isLoading:!!f}}},21723:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var i=n(2784),r=n(38509),l=n(35599);let a=()=>{let[e,t]=(0,i.useState)({}),n=(0,i.useRef)(null),a=(0,r.FS)("undefined"!=typeof navigator?null==navigator?void 0:navigator.userAgent:void 0);return(0,i.useEffect)(()=>{(0,l.tg)("Agent",a),t(a),n.current=a},[null==a?void 0:a.source]),{ua:e||(null==n?void 0:n.current)}}},64058:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var i=n(2784);let r=()=>{let[e,t]=(0,i.useState)({width:void 0,height:void 0});return(0,i.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},71469:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(24511),r=n(11768);class l extends r.Z{constructor(e){super(),this.gameId=0,this.playerId=0,this.Token="",Object.assign(this,e)}}l.schema=i.Ry({gameId:i.Rx(),playerId:i.Rx(),Token:i.Z_()}).noUnknown()},35096:function(e){e.exports={arrowWrapper:"dropdown_arrowWrapper__WfYi3"}}}]);

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.