1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3947,842,5573,8599,6178,1883,906,373,1720,5724,3213,6919,901,1469,3223],{28879:function(e){var t,n,i,r,l,o,u,a,s,d,c,v,f,h,y,p,m,g,D,P,b;e.exports=(t="millisecond",n="second",i="minute",r="hour",l="week",o="month",u="quarter",a="year",s="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},(y={})[h="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 P},m=function e(t,n,i){var r;if(!t)return h;if("string"==typeof t){var l=t.toLowerCase();y[l]&&(r=l),n&&(y[l]=n,r=l);var o=t.split("-");if(!r&&o.length>1)return e(o[0])}else{var u=t.name;y[u]=t,r=u}return!i&&r&&(h=r),r||!i&&h},g=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new P(n)},(D={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,o),l=n-r<0,u=t.clone().add(i+(l?-1:1),o);return+(-(i+(n-r)/(l?r-u:u-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:o,y:a,w:l,d:"day",D:s,h:r,m:i,s:n,ms:t,Q:u})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=m,D.i=p,D.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},b=(P=function(){function e(e){this.$L=m(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(D.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 D},f.isValid=function(){return this.$d.toString()!==d},f.isSame=function(e,t){var n=g(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return g(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<g(e)},f.$g=function(e,t,n){return D.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 u=this,d=!!D.u(t)||t,c=D.p(e),v=function(e,t){var n=D.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return d?n:n.endOf("day")},f=function(e,t){return D.w(u.toDate()[e].apply(u.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},h=this.$W,y=this.$M,p=this.$D,m="set"+(this.$u?"UTC":"");switch(c){case a:return d?v(1,0):v(31,11);case o:return d?v(1,y):v(0,y+1);case l:var g=this.$locale().weekStart||0,P=(h<g?h+7:h)-g;return v(d?p-P:p+(6-P),y);case"day":case s:return f(m+"Hours",0);case r:return f(m+"Minutes",1);case i:return f(m+"Seconds",2);case n:return f(m+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(e,l){var u,d=D.p(e),c="set"+(this.$u?"UTC":""),v=((u={}).day=c+"Date",u[s]=c+"Date",u[o]=c+"Month",u[a]=c+"FullYear",u[r]=c+"Hours",u[i]=c+"Minutes",u[n]=c+"Seconds",u[t]=c+"Milliseconds",u)[d],f="day"===d?this.$D+(l-this.$W):l;if(d===o||d===a){var h=this.clone().set(s,1);h.$d[v](f),h.init(),this.$d=h.set(s,Math.min(this.$D,h.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[D.p(e)]()},f.add=function(e,t){var u,s=this;e=Number(e);var d=D.p(t),c=function(t){var n=g(s);return D.w(n.date(n.date()+Math.round(t*e)),s)};if(d===o)return this.set(o,this.$M+e);if(d===a)return this.set(a,this.$y+e);if("day"===d)return c(1);if(d===l)return c(7);var v=((u={})[i]=6e4,u[r]=36e5,u[n]=1e3,u)[d]||1,f=this.$d.getTime()+e*v;return D.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=D.z(this),l=this.$H,o=this.$m,u=this.$M,a=n.weekdays,s=n.months,c=function(e,n,r,l){return e&&(e[
1n]||e(t,i))||r[n].slice(0,l)},f=function(e){return D.s(l%12||12,e,"0")},h=n.meridiem||function(e,t,n){var i=e<12?"AM":"PM";return n?i.toLowerCase():i},y={YY:String(this.$y).slice(-2),YYYY:D.s(this.$y,4,"0"),M:u+1,MM:D.s(u+1,2,"0"),MMM:c(n.monthsShort,u,s,3),MMMM:c(s,u),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,a,2),ddd:c(n.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(l),HH:D.s(l,2,"0"),h:f(1),hh:f(2),a:h(l,o,!0),A:h(l,o,!1),m:String(o),mm:D.s(o,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:r};return i.replace(v,function(e,t){return t||y[e]||r.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,t,s){var d,c=D.p(t),v=g(e),f=(v.utcOffset()-this.utcOffset())*6e4,h=this-v,y=D.m(this,v);return y=((d={})[a]=y/12,d[o]=y,d[u]=y/3,d[l]=(h-f)/6048e5,d.day=(h-f)/864e5,d[r]=h/36e5,d[i]=h/6e4,d[n]=h/1e3,d)[c]||h,s?y:D.a(y)},f.daysInMonth=function(){return this.endOf(o).$D},f.$locale=function(){return y[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),i=m(e,t,!0);return i&&(n.$L=i),n},f.clone=function(){return D.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,g.prototype=b,[["$ms",t],["$s",n],["$m",i],["$H",r],["$W","day"],["$M",o],["$y",a],["$D",s]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,P,g),e.$i=!0),g},g.locale=m,g.isDayjs=p,g.unix=function(e){return g(1e3*e)},g.en=y[h],g.Ls=y,g.p={},g)},52659:function(e,t,n){"use strict";n.d(t,{E6:function(){return d},oV:function(){return r}});var i,r,l=n(52322),o=n(25237),u=n.n(o),a=n(2784),s=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]:u()(()=>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]:u()(()=>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]:u()(()=>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]:u()(()=>Promise.all([n.e(3602),n.e(3512)]).then(n.bind(n,93265)),{loadableGenerated:{webpack:()=>[93265]}}),[r.realityCheck]:u()(()=>Promise.all([n.e(5368),n.e(9220)]).then(n.bind(n,39220)),{loadableGenerated:{webpack:()=>[39220]}}),[r.safetGamblingOccupation]:u()(()=>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]:u()(()=>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]:u()(()=>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,a.useEffect)(()=>
1{t.forEach(e=>{c.includes(e)&&(0,s.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"},75905:function(e,t,n){"use strict";var i,r,l,o;n.d(t,{Gh:function(){return g},HB:function(){return h},IY:function(){return u},Iw:function(){return y},Kz:function(){return v},PI:function(){return c},Pc:function(){return P},SJ:function(){return s},Z4:function(){return f},b:function(){return D},bB:function(){return i},ih:function(){return m},k1:function(){return d},pL:function(){return a},tO:function(){return p},zr:function(){return r}});let u=[{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 a={721:"UK",723:"CURACAO",722:"MGA"};(o=r||(r={})).PASSWORD="password",o.LIMITS="limits";let s={PerDay:"daily",PerWeek:"weekly",PerMonth:"monthly"},d={NetDepositPerDay:"",NetDepositPerWeek:"",NetDepositPerMonth:""},c={DepositPerDay:"",DepositPerWeek:"",DepositPerMonth:""},v={WagerPerDay:"",WagerPerWeek:"",WagerPerMonth:""},f={LossPerDay:"",LossPerWeek:"",LossPerMonth:""},h={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:"}},RealityCheck:{keys:{day:"RealityCheck"},textValues:{RealityCheck:"Reality check in minutes will be set to:"}}},y={SessionTimeout:""},p="MMM DD YYYY HH:mm",m="/api/playResponsibly/getPlayerLimits",g=768,D="exclusion",P=Object.fromEntries(Object.entries(h).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 u}});var i=n(2784),r=n(51286),l=n(75905),o=n(84260);let u=()=>{let{data:e,error:t,isLoading:n}=(0,r.ZP)(l.ih),u=(0,i.useMemo)(()=>(0,o.w5)(e),[e]),a=(0,i.useMemo)(()=>u.map(e=>e.key),[u]),s=void 0!==e;return{data:e,error:t,visibleLimits:u,visibleKeys:a,isResolved:s,hasFailed:!n&&!s}}},84260:function(e,t,n){"use strict";n.d(t,{Gv:function(){return d},sx:function(){return u},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}},o=e=>r.Pc[e],u=e=>!!o(e),a=(e,t)=>{let n=o(e);return n&&Array.isArray(t)?t.filter(e=>n.includes(e.LimitName)):[]},s=(e,t)=>!u(e)||void 0===t||a(e,t).length>0,d=(e,t)=>l(e)&&s(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 o},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"}],o=["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,"..."]}
1)]})};t.Z=r},64924:function(e,t,n){"use strict";var i,r,l,o,u,a=n(52322),s=n(2784),d=n(58498),c=n(97125),v=n(65573),f=n(35599);let h=e=>"sport"===e||"bingo"===e||"live"===e?e:"casino",y=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!==(o=null==e?void 0:e.DepositsCountLive)&&void 0!==o?o:0}),p=(e,t)=>null!==(u=e[t])&&void 0!==u?u:0,m=e=>{let{intent:t,iframeUrl:n,isLoading:i}=e,{player:r,mutatePlayer:l}=(0,c.A)({}),{playMode:o}=(0,v.usePlayModeContext)(),u=(0,s.useRef)(null),m=(0,s.useRef)(!1);return((0,s.useEffect)(()=>{if(!(null==r?void 0:r.PlayerId)||!n)return;u.current||(u.current=y(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=h(null==o?void 0:o.value),i=p(y(t),n),a=p(u.current,n);!m.current&&i>a&&(m.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==o?void 0:o.value,l]),i)?(0,a.jsx)(d.Z,{contentType:"payment"===t?"Deposit":"Withdrawal"}):(0,a.jsx)("iframe",{"data-testid":"iframe__PraxisIframe-cashier",src:n,style:{width:"100%",height:"calc(100vh - 150px)",border:0},title:"Praxis Cashier"})};t.Z=m},80496:function(e,t,n){"use strict";var i,r;n.d(t,{Ar:function(){return u},GL:function(){return o},Gm:function(){return i},NB:function(){return s},Rh:function(){return l},dF:function(){return a}});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"},o="Visa",u={1:"text",2:"number",3:"email",4:"text",5:"select",6:"amount"},a={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 s={[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},7959:function(e,t,n){"use strict";n.d(t,{At:function(){return o},Sg:function(){return d},X1:function(){return c},Yv:function(){return a},b:function(){return s},kC:function(){return v},wT:function(){return u}});var i=n(35599),r=n(80496),l=n(93011);let o=(e,t,n)=>{let i={};return null==e||e.forEach(e=>{var l,o;let u=[];"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===(o=e.Validations)||void 0===o||o.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==u||u.push(i)})),i.fields={...i.fields,[null==e?void 0:e.PropertyName]:u}}),{...i}},u=(e,t)=>
1{let n={};return t.forEach(t=>{n[t]=e[t]}),n},a=(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,o;let u=null===(i=Object.keys(e))||void 0===i?void 0:i.includes("required"),a="".concat(t[null==e?void 0:e.key]);(null==a?void 0:a.length)===0&&u?(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==a?void 0:a.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==a?void 0:a.length)<(null==e?void 0:e.minlength))||(null===(o=Object.keys(n))||void 0===o?void 0:o.includes(null==e?void 0:e.key))||(n[null==e?void 0:e.key]=null==e?void 0:e.message))})}),n},s=e=>{var t,n,r,o,u,a,s,d,c;let v=(0,i.YX)("defaultPlayerData"),f=(0,i.v_)(),h=null==e?void 0:e.MinDeposit;if((null==e?void 0:e.SettlementCompanyId)===10)switch(null==f?void 0:null===(o=f.Country)||void 0===o?void 0:o.CountryId){case 9:(null==v?void 0:v.whiteLabelId)===l.TF&&(h=5*(null==f?void 0:null===(u=f.Currency)||void 0===u?void 0:u.CurrencyMultiplier));break;case 84:(null==v?void 0:v.whiteLabelId)===l.xh&&(h=5*(null==f?void 0:null===(a=f.Currency)||void 0===a?void 0:a.CurrencyMultiplier));break;case 103:case 150:h=15*(null==f?void 0:null===(s=f.Currency)||void 0===s?void 0:s.CurrencyMultiplier);break;case 28:h=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?h=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?h=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&&(h=5*f.Currency.CurrencyMultiplier);return h},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 o},v:function(){return l}});let i=0,r=null,l=()=>i>0,o=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))},o=setTimeout(l,15e3);return r=n=(async()=>{await e()})().catch(()=>void 0).finally(()=>{clearTimeout(o),l()}),n}},70853:function(e,t,n){"use strict";n.d(t,{_6:function(){return u},v4:function(){return d},ym:function(){return a}});var i=n(35599),r=n(75905),l=n(83541);let o=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))},u=()=>{let e=(0,i.v_)();return e&&"SoftBlock"===e.BlockType},a=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=o(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)),s(1e3*n.SessionLeft))},s=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 o}});let i="pendingMandatoryPopups",r=e=>
1{let t=o();t.includes(e)||sessionStorage.setItem(i,JSON.stringify([...t,e]))},l=e=>{let t=o(),n=t.filter(t=>t!==e);sessionStorage.setItem(i,JSON.stringify(n))},o=()=>{try{let e=sessionStorage.getItem(i);return e?JSON.parse(e):[]}catch(e){return[]}}},78052:function(e,t,n){"use strict";n.d(t,{$q:function(){return r},BP:function(){return u},cX:function(){return i},hh:function(){return l},p6:function(){return o}});let i=(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})},r=(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"})},o=(e,t)=>{(null==window?void 0:window._smartico)&&window._smartico.event("client_action",{action:"cashierSubmitClicked",mode:e,details:t})},u=(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 o},TF:function(){return i},cq:function(){return l},xh:function(){return r}});let i=39,r=231,l=721,o=722},65573:function(e,t,n){"use strict";n.r(t),n.d(t,{PLAY_MODES:function(){return r},PlayBingoMode:function(){return m},PlayCasinoMode:function(){return y},PlayLiveMode:function(){return p},PlayModeProvider:function(){return w},PlaySportsMode:function(){return h},normalizePlayMode:function(){return b},usePlayModeContext:function(){return M}});var i,r,l=n(52322),o=n(2784),u=n(97112),a=n(5632),s=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 h={id:707,value:"sport"},y={id:706,value:"casino"},p={id:912,value:"live"},m={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 g={[h.id]:h,[y.id]:y,[p.id]:p,[m.id]:m},D={[h.value]:h,[y.value]:y,[p.value]:p,[m.value]:m},P=e=>Array.isArray(e)?e[0]:e,b=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&&D[n])return D[n]},C=(0,o.createContext)(void 0),w=e=>{let{children:t}=e,{config:n,defaultData:i}=(0,s.useBrandConfig)(),{getSessionItem:r,addSessionItem:h}=(0,f.Z)(),g=(0,u.EE)(),D=(0,a.useRouter)(),[w,M]=(0,o.useState)({id:0,value:"Default"}),k=(0,o.useCallback)(e=>{h(d.v,e),M(e)},[h]),S=(0,o.useCallback)(()=>{try{return b(r(d.v))}catch(e){return}},[r]),I=(0,o.useCallback)(()=>{var e;let t=P(null===(e=D.query)||void 0===e?void 0:e.mode),r=b(t?c(t,g):void 0),l=null!=r?r:S(),o=null!=l?l:b({id:null==n?void 0:n.DefaultPlayMode}),u=o&&v(o,n,i)?o:y;return u},[g,i,S,D.query,n]),E=(0,o.useCallback)(e=>{D.push(e).then(()=>{"/sportsbook"===e&&setTimeout(()=>{scrollTo({top:0,left:0,behavior:"smooth"})},300)})},[D]),x=(0,o.useCallback)(e=>{var t;let n=null!==(t=b(e))&&void 0!==t?t:y;k(n)},[k]),L=(0,o.useCallback)(e=>{var t;let n=null!==(t=b(e))&&void 0!==t?t:y,i=n.value===p.value?"/live":n.value===m.value?"/bingo":n.value===y.value?"/":"/sportsbook";console.info("playMode",n),k(n),i!==(null==D?void 0:D.pathname)&&E(i)},[E,null==D?void 0:D.pathname,k]);return(0,o.useEffect)(()=>{if((null==D?void 0:D.isReady)&&(null==n?void 0:n.WhiteLabelId)&&(null==i?void 0:i.jurisdictionId)){let e=I();(null==e?void 0:e.id)!==(null==w?void 0:w.id)&&(console.info("[Play Mode] Determined Play Mode >>> ",e),k(e))}},[null==i?void 0:i.jurisdictionId,I,null==D?void 0:D.isReady,null==n?void 0:n.WhiteLabelId,null==w?void 0:w.id,k]),(0,l.jsx)(C.Provider,{value:{playMode:w,setPlayMode:x,navLinkRedirect:L},children:t})},M=()=>{let e=(0,o.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),o=n(25237),u=n.n(o),a=n(52659),s=n(64008);let d=u()(()=>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=u()(()=>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,o]=(0,r.useState)([]),[u,f]=(0,r.useState)([]),h=(0,r.useRef)(new Set),y=(0,r.useRef)(new Map),p=(0,r.useCallback)(e=>h.current.has(e),[]);(0,r.useEffect)(()=>{let e=(0,s.zV)();
1e.forEach(e=>{if((0,a.E6)(e)&&!h.current.has(e)){let t="restored-".concat(e),n={close:()=>{h.current.delete(e),f(e=>e.filter(e=>e.id!==t))},id:t};h.current.add(e),f(r=>[...r,{managedPopupIds:new Set([e]),element:(0,i.jsx)(a.ZP,{modalKey:[e],modalProps:[{portalClose:n.close}]}),id:t,appendTo:document.body}])}})},[]);let m=function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{id:s=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===s||v&&e.key===v)||u.find(e=>e.id===s||v&&e.key===v))return;if(!d)throw Error("Trying to open a portal in a nonexistent DOM node");let p={close:e=>{g(s,e),null==c||c()},id:s},m="function"==typeof e?e(p):e,D=null==m?void 0:null===(t=m.props)||void 0===t?void 0:t.popup,P=new Set;if(Array.isArray(D)&&(null==D?void 0:D.length)>0){let e=D.filter(e=>e&&e.ID&&!h.current.has(e.ID));if(0===e.length)return;e.forEach(e=>{h.current.add(null==e?void 0:e.ID),P.add(null==e?void 0:e.ID)});let t=[],n=[];if(e.forEach(e=>{(0,a.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)(a.ZP,{modalKey:n,modalProps:r});f(t=>[...t,{managedPopupIds:e,element:l,id:s,appendTo:d,key:v}]),e.forEach(e=>h.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)(m,{popup:n});o(n=>[...n,{managedPopupIds:e,element:t,id:s,appendTo:d,key:v}]),e.forEach(e=>h.current.add(e))}}else o(e=>[...e,{managedPopupIds:new Set,element:m,id:s,appendTo:d,key:v}]);P.size>0&&y.current.set(s,P)},g=(0,r.useCallback)((e,t)=>{let n=y.current.get(e);n&&(n.forEach(e=>{h.current.delete(e)}),y.current.delete(e)),t&&h.current.delete(t),f(t=>t.filter(t=>{let{id:n}=t;return n!==e})),o(t=>t.filter(t=>{let{id:n}=t;return n!==e}))},[]),D=e=>{f(t=>t.filter(t=>t.key!==e)),o(t=>t.filter(t=>t.key!==e))},P=()=>{h.current.clear(),f([]),o([])},b=(0,r.useMemo)(()=>({open:m,portals:n,closeByKey:D,closeAll:P,isActive:p}),[m,n,D,P,p]);return(0,i.jsx)(v.Provider,{value:b,children:(0,i.jsx)(d,{children:(0,i.jsxs)(c,{children:[t,n.map(e=>{let{element:t,appendTo:n,id:o}=e;return(0,i.jsx)(r.Fragment,{children:l.createPortal(t,n)},o)}),u.map(e=>{let{element:t,appendTo:n,id:o}=e;return(0,i.jsx)(r.Fragment,{children:l.createPortal(t,n)},o)})]})})})};t.default=f},63599:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var i=n(64622),r=n(94928),l=n(51286),o=n(71292),u=n(1131);let a=e=>{var t;let{body:n,publicConfigUrl:a}=e,{config:s,publicConfig:d,defaultData:c}=(0,i.useBrandConfig)(),{locale:v}=(0,r.useI18nLocalization)(),f=null==v?void 0:v.activeLanguage,h=null!=a?a:d,{data:y}=(0,l.ZP)(f&&!(0,u.n)(h)&&(null==s?void 0:s.WhiteLabelId)&&n?["".concat((null!==(t=h.publicConfigUrl)&&void 0!==t?t:h).gamesServiceCMSHelperUrl,"GetInfoContentByCode"),{code:n||"",lang:f,whitelabelid:null==s?void 0:s.WhiteLabelId,currencyId:null==c?void 0:c.currencyId,country:null==c?void 0:c.countryCode}]:null,e=>{let[t,n]=e;return(0,o.Z)(t,n)});return{content:y}}},66976:function(e,t,n){"use strict";n.d(t,{OA:function(){return c},Xv:function(){return v},bI:function(){return s},fn:function(){return f},sO:function(){return d}});var i=n(97125),r=n(64622),l=n(71292),o=n(51286),u=n(91823);let a=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},{})},s="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:h}=(0,u.a)(c),{playerId:y,filterId:p,...m}=null!=t?t:{},g="number"==typeof y?y:null==v?void 0:v.PlayerId,D=a({...(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:g&&g>0?g:void 0,filterId:p||void 0,...m,"x-tenantid":h}),{data:P,isLoading:b,mutate:C}=(0,o.ZP)(h&&s&&n&&!f?["".concat(s,"/api/Game/Games"),D]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{games:P,isLoading:b,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:h}=(0,u.a)(c),{playerId:y,...p}=null!=n?n:{},m="number"==typeof y?y:null!==(t=null==f?void 0:f.PlayerId)&&void 0!==t?t:0,g=a({...m>0?{playerId:m}:{countryId:null==v?void 0:v.DefaultCountry},whitelabelId:null==v?void 0:v.WhiteLabelId,...p,"x-tenantid":h}),{data:D}=(0,o.ZP)(h&&s&&d?["".concat(s,"/api/Game/GameCategories"),g]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{categories:D}},v=e=>{var t;let{payload:n,enabled:d=!0,swrOptions:c}=e,{labelName:v}=(0,r.useBrandConfig)(),{player:f}=(0,i.A)({}),{tenantId:h}=(0,u.a)(v),y=null!==(t=null==f?void 0:f.PlayerId)&&void 0!==t?t:0,p=a({...null!=n?n:{},playerId:y,"x-tenantid":h}),{data:m,mutate:g,isLoading:D}=(0,o.ZP)(h&&s&&d&&(null==f?void 0:f.PlayerId)>0?["".concat(s,"/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==m?void 0:m.Data,mutateFavorites:g,isLoading:D}},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:h}=(0,u.a)(v),y=a({...(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":h}),{data:p}=(0,o.ZP)(h&&(null==n?void 0:n.WhiteLabelId)&&d&&t?["".concat(s,"/api/Game/GameSubproviders"),y]:null,e=>{let[t,n]=e;return(0,l.Z)(t,n)});return{gameSubProviders:p}}},97125:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var i=n(2784),r=n(5632),l=n.n(r),o=n(73744);let u=e=>{let{redirectTo:t="",redirectIfFound:n=!1}=e,{player:r,mutatePlayer:u,isLoading:a,isValidating:s}=(0,o.kP)();return(0,i.useEffect)(()=>{t&&r&&(t&&!n&&!(null==r?void 0:r.PlayerId)||n&&(null==r?void 0:r.PlayerId))&&l().push(t+"?bpc=1")},[r,n,t]),{player:r,mutatePlayer:u,isLoading:a,isValidating:s}}},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 u}});var i=n(2784),r=n(51286),l=n(71292),o=n(35599);let u=e=>{var t;let n=e?"".concat(e,"-Tenant-Data"):null,u=e?"".concat(e,"-Tenant-Data-loading"):null,a=n?(0,o.YX)(n):null,s=!!((null==a?void 0:a.tenant_id)&&(null==a?void 0:a.apiCasinoGatewayUrl)),d=async()=>
1{if(!u||!(0,o.YX)(u))return null;for(let e=0;e<10;e+=1){let e=n?(0,o.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,o.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(!u)return null;(0,o.tg)(u,!0);try{let e=await (0,l.Z)("/api/getTenantData");return e&&n&&(0,o.tg)(n,e),null!=e?e:null}finally{(0,o.ZL)(u)}},{data:v,isLoading:f}=(0,r.ZP)(e&&!s?["tenant-data",e]:null,c);(0,i.useEffect)(()=>{n&&v&&(0,o.tg)(n,v)},[n,v,!0]);let h=(0,i.useMemo)(()=>null!==(t=null!=a?a:v)&&void 0!==t?t:null,[a,v]);return{tenant:h,tenantId:null==h?void 0:h.tenant_id,isLoading:!!f}}},21723:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(2784),r=n(38509),l=n(35599);let o=()=>{let[e,t]=(0,i.useState)({}),n=(0,i.useRef)(null),o=(0,r.FS)("undefined"!=typeof navigator?null==navigator?void 0:navigator.userAgent:void 0);return(0,i.useEffect)(()=>{(0,l.tg)("Agent",o),t(o),n.current=o},[null==o?void 0:o.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()}}]);
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.