/*! For license information please see 7088.52d08f1afa7a348ccad5.js.LICENSE.txt */ "use strict";(self.webpackChunklauncher=self.webpackChunklauncher||[]).push([[7088],{6299:(e,t,n)=>{n.r(t),n.d(t,{BASE_POPUP_NAMES:()=>u,BaseHubMethodNames:()=>a,BaseHubRequests:()=>i,BaseHubResponseModels:()=>c,types:()=>r,useBaseRequests:()=>s});var o=n(6337),r={string:"",number:0,array:[],object:{},bool:!1,date:new Date},a={Ping:"Ping",GetBalance:"GetBalance",GetInitialState:"GetInitialState",GetInitialStateGameTickets:"GetInitialStateGameTickets",GetInitialStateHistory:"GetInitialStateHistory",GetInitialStateMaxWinners:"GetInitialStateMaxWinners",GetInitialStateLeaders:"GetInitialStateLeaders",GetInitialStateGameResults:"GetInitialStateGameResults",GetInitialStateStatistics:"GetInitialStateStatistics",GetInitialStateCashBackInfo:"GetInitialStateCashBackInfo",GetInitialStateLastRoundTickets:"GetInitialStateLastRoundTickets",GenerateHashCode:"GenerateHashCode",History:"History",BonusHistory:"BonusHistory",BonusInfo:"BonusInfo",BonusNotify:"BonusNotify",Error:"Error",LogOutPlayer:"LogOutPlayer",ExpiredToken:"ExpiredToken",Deactivated:"Deactivated",UpdateWinners:"UpdateWinners",GetMaxWinners:"GetMaxWinners",ActiveLeaderboardInfo:"ActiveLeaderboardInfo",LeaderboardPlayersListUpdate:"LeaderboardPlayersListUpdate",LeaderboardPlayerScoreUpdate:"LeaderboardPlayerScoreUpdate",LeaderboardInfo:"LeaderboardInfo",LeaderboardHistory:"LeaderboardHistory",LeaderboardStart:"LeaderboardStart",LeaderboardFinish:"LeaderboardFinish",LeaderboardPlayerWin:"LeaderboardPlayerWin",UpcomingLeaderboards:"UpcomingLeaderboards",Validation:"Validation"},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return{Ping:function(){this.name=a.Ping,this.model={version:e},this.messagePackModel=(0,o.parseObjectToArray)([e])},GetBalance:function(t){var n=t.token,r=void 0===n?0:n;this.name=a.GetBalance,this.model={version:e,token:r},this.messagePackModel=(0,o.parseObjectToArray)([e,r])},GetInitialState:function(t){var n=t.activeGameId,r=void 0===n?0:n,i=t.token,s=void 0===i?"":i,c=t.isDemo,u=void 0!==c&&c,l=t.partnerId,d=void 0===l?0:l,f=t.culture,h=void 0===f?"":f,v=t.isModeChanged,p=void 0!==v&&v;this.name=a.GetInitialState,this.model={version:e,activeGameId:r,token:s,isDemo:u,partnerId:d,culture:h},this.messagePackModel=(0,o.parseObjectToArray)([e,+r,s,"true"===u,+d,h,p])},GenerateHashCode:function(t){var n=t.key,r=void 0===n?"":n,i=t.salt,s=void 0===i?"":i;this.name=a.GenerateHashCode,this.model={version:e,key:r,salt:s},this.messagePackModel=(0,o.parseObjectToArray)([e,r,s])},History:function(t){var n=t.token,r=void 0===n?"":n;this.name=a.History,this.model={version:e,token:r},this.messagePackModel=(0,o.parseObjectToArray)([+e,r])},BonusHistory:function(t){var n=t.token,o=void 0===n?"":n;this.name=a.BonusHistory,this.model={version:e,token:o}},BonusInfo:function(t){var n=t.token,r=void 0===n?"":n,i=t.activeGameId,s=void 0===i?0:i;this.name=a.BonusInfo,this.model={version:e,token:r,activeGameId:s},this.messagePackModel=(0,o.parseObjectToArray)([e,r])},GetMaxWinners:function(t){var n=t.activeGameId,r=void 0===n?0:n,i=t.partnerId,s=void 0===i?"":i,c=t.token,u=void 0===c?"":c;this.name=a.GetMaxWinners,this.model={version:e,activeGameId:r,partnerId:s,token:u},this.messagePackModel=(0,o.parseObjectToArray)([e,r,s,u])}}};function s(e,t,n){var o=i(n),r=e||{},a=r.token,s=r.activeGameId,c=r.isDemo,u=r.partnerId,l=r.culture;return{getPing:function(){var e=new o.Ping;t(e)},getHashCode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=new o.GenerateHashCode({key:e,salt:n});t(r)},getBetHistory:function(){var e=new o.History({token:a});t(e)},getBonusHistory:function(){var e=new o.BonusHistory({token:a});t(e)},getBonusInfo:function(){var e=new o.BonusInfo({token:a,activeGameId:s});t(e)},getInitialState:function(){var e=new o.GetInitialState({activeGameId:s,token:a,isDemo:c,partnerId:u,culture:l});t(e)},getMaxWinners:function(){var e=new o.GetMaxWinners({activeGameId:s,partnerId:u,token:a});t(e)}}}var c={Ping:{},GetInitialStateCashBackInfo:{id:0,fillPercentage:0,boxCount:0,boxAmounts:[]},GetBalance:{balance:0},GenerateHashCode:{hashCode:""},BonusHistory:{bonusHistory:[{type:"string",quantity:0,bet:0,date:"1 January, 1970, 00:00:00 UTC",expireDate:"1 January, 1970, 00:00:00 UTC",totalWin:0}]},ActiveLeaderboardInfo:{leaderBoard:[{}]},LeaderboardPlayersListUpdate:{leaderBoard:[{}]},LeaderboardPlayerScoreUpdate:{leaderBoard:[{}]},LeaderboardInfo:{leaderBoard:[{}]},LeaderboardHistory:{leaderBoard:[{}]},LeaderboardStart:{leaderBoard:[{}]},LeaderboardFinish:{leaderBoard:[{}]},LeaderboardPlayerWin:{leaderBoard:[{}]},Error:{},LogOutPlayer:{},ExpiredToken:{isExpired:!1,token:""},Deactivated:{partnerIds:[]},Validation:{validation:void 0}},u=Object.freeze({RULES:"Rules",CHECK_HASH_CODE:"CheckHashCode",ABOUT_HASH_CODE:"AboutHashCode",GAME_CONTROLS:"GameControls",BONUS_LIST:"BonusListPopup",KEYBOARD:"Keyboard",GLOBAL_HISTORY:"GlobalHistory",GLOBAL_BONUS_HISTORY:"GlobalBonusHistory",CASH_BACK:"CashBackPopup",KEYBOARD_MINES:"KeyboardMines",MENU:"Menu",MAIN_MENU:"MainMenu",LEADER_BOARD:"LeaderBoard",LEADER_BOARD_HISTORY:"LeaderBoardHistory",BONUS_ASIDE:"BonusAside",CHAT_POPUP:"ChatPopup",CHAT_REGISTRY_POPUP:"ChatRegistryPopup"})},4825:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var o=n(4914),r=n(3444),a=n.n(r),i=n(6295),s=n(7770),c=n.n(s),u=n(7999),l=n.n(u),d=n(4840),f=n.n(d),h=n(7749),v=n(6770),p=n(5072),m=n.n(p),b=n(7825),y=n.n(b),g=n(7659),B=n.n(g),S=n(5056),I=n.n(S),C=n(540),H=n.n(C),w=n(1113),G=n.n(w),L=n(4805),M={};M.styleTagTransform=G(),M.setAttributes=I(),M.insert=B().bind(null,"head"),M.domAPI=y(),M.insertStyleElement=H(),m()(L.A,M);const E=L.A&&L.A.locals?L.A.locals:void 0;var O=n(4553),x={};x.styleTagTransform=G(),x.setAttributes=I(),x.insert=B().bind(null,"head"),x.domAPI=y(),x.insertStyleElement=H(),m()(O.A,x);const k=O.A&&O.A.locals?O.A.locals:void 0;var T=n(4848),P=(0,i.getIsMobile)(),j="".concat(h.c_,"/images/global/").concat(P?"mobile":"desktop","/underconstruction.webp"),N=P?E:k;function A(e){var t=e.className,n=e.style,o=e.children,r=(0,v.shallowSelector)(v.selectFallBackInfo),a=r.isExpired,i=r.isDisconnected,s=r.underConstruction,u=r.isDeactivated,d=(0,v.shallowSelector)(v.selectResources),h=d.strWaitingForInternetConnection,p=d.strSessionExpired,m=d.strAttention,b=d.strWebSiteIsDownForMaintenance;return(0,T.jsx)("div",{className:"".concat(N.gameLayout," ").concat(t),children:u||null!=s&&s.show?(0,T.jsx)(l(),{url:j,text:b,startTime:null==s?void 0:s.startTime,endTime:null==s?void 0:s.endTime,resources:m,styles:n.underConstruction}):a?(0,T.jsx)(f(),{text:p}):i?(0,T.jsx)(c(),{text:h}):(0,T.jsx)("div",{className:N.gameCenter,children:o})})}const D=(0,o.memo)(A);A.defaultProps={className:"",style:{loader:{},underConstruction:{}},children:null},A.propTypes={className:a().string,style:a().shape({loader:a().object,underConstruction:a().object}),children:a().oneOfType([a().element,a().array])}},6947:(e,t,n)=>{n.d(t,{A:()=>I});var o=n(4914),r=n(678),a=n(5869),i=n.n(a),s=n(6295),c=n(6299),u=n(6770),l=n(7749),d=n(7438),f=n(6337);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,s=[],c=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){u=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.GetInitialState;t.gameData?(fetch("".concat(l.LU,"/Lobby/SimilarGames?partnerId=").concat(f.partnerId)).then((function(e){return e.json()})).then((function(e){var t=e.games;a(u.actions.setSimilarGames({games:t}))})),a(u.actions.setLauncherInitialState(t.gameData)),(e=new Map).set(c.BaseHubMethodNames.History,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.History;a(u.actions.setGlobalHistory({history:e}))})).set(c.BaseHubMethodNames.BonusHistory,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.BonusHistory;a(u.actions.setGlobalBonusHistory({bonusHistory:e}))})).set(c.BaseHubMethodNames.Ping,(function(){m=5e3-(Date.now()-m),a(u.actions.setPing({ping:m>0?m:0})),m=Date.now()})).set(c.BaseHubMethodNames.GenerateHashCode,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.GenerateHashCode).hashCode;a(u.actions.setPlayerHashCode({hashCode:e}))})).set(c.BaseHubMethodNames.Error,(function(){console.error("Backend called error message")})).set(c.BaseHubMethodNames.LogOutPlayer,(function(){window.location.href="".concat(window.location.origin,"/?PartnerId=").concat(f.partnerId,"&culture=").concat(f.culture,"&gameType=").concat(f.gameKindName,"&isMobile=").concat(f.isMobile,"&isLogout=true")})).set(c.BaseHubMethodNames.BonusNotify,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.BonusNotify,t=e.id,n=e.bet,o=e.count,r=e.expireDate,i=e.type;a(u.actions.addBonus([{id:t,remainingCount:o,remainingBet:n,type:i.toLowerCase(),expireDate:(0,s.getFormattedDateTime)(r)}]))})).set(c.BaseHubMethodNames.ExpiredToken,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.ExpiredToken;a(u.actions.setExpiredToken(e)),d.hubConnection.dontReconnect=!0,d.hubConnection.stop()})),e.forEach((function(e,t){null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.on(t,e)})),b=setInterval(L,5e3)):console.error(c.BaseHubMethodNames.GetInitialState,t)})),null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.on(c.BaseHubMethodNames.Deactivated,(function(){var e;null!==(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.Deactivated).partnerIds)&&void 0!==e&&e.includes(f.partnerId)&&a(u.actions.setDeactivated(!0))})),null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.on(c.BaseHubMethodNames.GetBalance,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.GetBalance;a(u.actions.setBalance(e))})),null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.on(c.BaseHubMethodNames.Validation,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.BaseHubResponseModels.Validation;a(u.actions.addNotification({message:"".concat(H,": ").concat(e.validation),status:"error"}))}))):(null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.off(c.BaseHubMethodNames.GetInitialState),null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.off(c.BaseHubMethodNames.Deactivated),null===d.hubConnection||void 0===d.hubConnection||d.hubConnection.off(c.BaseHubMethodNames.GetBalance),clearInterval(b),a(u.actions.closeAllPopups())),function(){return clearInterval(b)}}),[y]),(0,o.useMemo)((function(){return{getHashCode:M,getBetHistory:E}}),[f.partnerId,f.referer,v,f.culture,f.playerId,f.gameKindName,w])}},1744:(e,t,n)=>{n.d(t,{A:()=>Y});var o=n(4914),r=n(678),a=n(5869),i=n.n(a),s=n(6295),c=n(1703),u=n.n(c),l=n(6299),d=n(6770),f=n(7749),h=n(7438),v=n(6337),p=function(e){return{balance:e[0]}},m=function(e){return{history:e[0]}},b=function(e){return{bonuses:e[0]}},y=function(e){return{hashCode:e[0]}},g=function(e){return{isExpired:e[0],token:e[1]}},B=function(e){return{gameInfo:e[0]?I(e[0]):null,partnerInfo:C(e[1]),underConstruction:e[2]?H(e[2]):null,translationVersion:e[3],uiConfigs:e[4]?v.IEnumerable.map(e[4],S):e[4]}},S=function(e){return{key:e[0],configValue:e[1]}},I=function(e){return{gameId:e[0]}},C=function(e){return{coinRate:e[0],currencyId:e[1],precision:e[2],minBet:e[3],maxBet:e[4],maxWin:e[5],defaultBet:e[6],partnerInstanceName:e[7],isActive:e[8],allowedBetsCount:e[9],quickBets:e[10]}},H=function(e){return{show:e[0],startTime:e[1],endTime:e[2]}},w=function(e){return{tickets:e}},G=function(e){return{statistics:e}},L=function(e){return{leaders:e[0]}},M=function(e){return{results:e}},E=function(e){return{historyTickets:e}},O=function(e){return{partnerIds:e[0]}};function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function T(e){for(var t=1;t=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;E(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:k(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}function j(e,t,n,o,r,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,r)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function i(e){j(a,o,r,i,s,"next",e)}function s(e){j(a,o,r,i,s,"throw",e)}i(void 0)}))}}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,s=[],c=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){u=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n ").concat(10*t.version,")"))},o.onerror=function(){}})).catch((function(e){return console.log("Translation fetch error: ",e),Promise.reject()}))},n.translationVersion?(i=10*n.translationVersion,(s=indexedDB.open("store_".concat(v.partnerId,"_").concat(v.culture),i)).onsuccess=function(e){console.log("Store successfully connected");var t=e.target.result;if(t.objectStoreNames.contains("translations")){var i=t.transaction("translations","readonly").objectStore("translations").getAll();i.onsuccess=function(e){e.target.result.length?(0,r.batch)((function(){a(d.actions.setTranslations(K(e.target.result))),a(d.actions.setLauncherInitialState(n))})):o(t)},i.onerror=function(e){console.log(e)}}},s.onerror=function(e){console.log(e)},s.onblocked=function(){},s.onupgradeneeded=function(e){console.log("Upgraded Store version: (".concat(e.oldVersion," => ").concat(e.newVersion,")"));var t=s.result;t.objectStoreNames.contains("translations")&&(console.log("Translation deleted from DB!"),t.deleteObjectStore("translations")),t.createObjectStore("translations",{keyPath:"key"}).createIndex("key","key",{unique:!0}),o(t)}):(a(d.actions.setLauncherInitialState(n)),console.log("Get Initial State Handling Completed"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.on(l.BaseHubMethodNames.GetBalance,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetBalance,t=(0,v.responseFromServerToObject)(p,e);a(d.actions.setBalance(t))})),h.hubConnection.on(l.BaseHubMethodNames.GetInitialStateGameTickets,(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetInitialStateGameTickets,n=(0,v.responseFromServerToObject)(w,t);a(d.actions.setInitialStateTickets(null!==(e=n.ticket)&&void 0!==e?e:n))})),h.hubConnection.on(l.BaseHubMethodNames.GetInitialStateHistory,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetInitialStateHistory,t=(0,v.responseFromServerToObject)(E,e);a(d.actions.setInitialStateHistory(t))})),h.hubConnection.on(l.BaseHubMethodNames.GetInitialStateGameResults,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetInitialStateGameResults,t=(0,v.responseFromServerToObject)(M,e);a(d.actions.setInitialStateResults({results:(null==t?void 0:t.results)||t}))})),h.hubConnection.on(l.BaseHubMethodNames.GetInitialStateLeaders,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetInitialStateLeaders,t=(0,v.responseFromServerToObject)(L,e);a(d.actions.setInitialStateLeaders(t))})),h.hubConnection.on(l.BaseHubMethodNames.GetInitialStateStatistics,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GetInitialStateStatistics,t=(0,v.responseFromServerToObject)(G,e);a(d.actions.setInitialStateStatistics(t))})),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.on(l.BaseHubMethodNames.BonusInfo,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.BonusInfo,t=(0,v.responseFromServerToObject)(b,e);if(t){var n=t.bonuses.map((function(e){return T(T({},e),{},{type:e.type.toLowerCase(),expireDate:(0,s.getFormattedDateTime)(e.expireDate)})}))||[];a(d.actions.cleanAndFillBonus(n))}})),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.on(l.BaseHubMethodNames.Deactivated,(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.Deactivated;null!==(e=(0,v.responseFromServerToObject)(O,t).partnerIds)&&void 0!==e&&e.includes(v.partnerId)&&(a(d.actions.closeAllPopups()),a(d.actions.setDeactivated(!0)))}))):(null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.off(l.BaseHubMethodNames.GetInitialState),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.off(l.BaseHubMethodNames.BonusInfo),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.off(l.BaseHubMethodNames.Deactivated),null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.off(l.BaseHubMethodNames.GetBalance))}),[C]),(0,o.useEffect)((function(){if(x){var e=new Map;e.set(l.BaseHubMethodNames.History,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.History,t=(0,v.responseFromServerToObject)(m,e);t&&a(d.actions.setGlobalHistory({history:(null==t?void 0:t.history)||t}))})).set(l.BaseHubMethodNames.BonusHistory,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.BonusHistory).bonusHistory;a(d.actions.setGlobalBonusHistory({bonusHistory:e}))})).set(l.BaseHubMethodNames.Ping,(function(){U=5e3-(Date.now()-U),a(d.actions.setPing({ping:U>0?U:0})),U=Date.now()})).set(l.BaseHubMethodNames.GenerateHashCode,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.GenerateHashCode,t=(0,v.responseFromServerToObject)(y,e);a(d.actions.setPlayerHashCode({hashCode:t.hashCode}))})).set(l.BaseHubMethodNames.Error,(function(){console.error("Backend called error message")})).set(l.BaseHubMethodNames.LogOutPlayer,(function(){window.location.href="".concat(window.location.origin,"/?PartnerId=").concat(v.partnerId,"&culture=").concat(v.culture,"&gameType=").concat(v.gameKindName,"&isMobile=").concat(v.isMobile,"&isLogout=true")})).set(l.BaseHubMethodNames.ExpiredToken,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.BaseHubResponseModels.ExpiredToken,t=(0,v.responseFromServerToObject)(g,e);a(d.actions.setExpiredToken(t)),h.hubConnection.dontReconnect=!0,h.hubConnection.stop()})),e.forEach((function(e,t){null===h.hubConnection||void 0===h.hubConnection||h.hubConnection.on(t,e)}))}}),[x,C]),(0,o.useMemo)((function(){return{getHashCode:_,getBetHistory:J}}),[v.partnerId,v.referer,c,v.culture,v.playerId,v.gameKindName,k])}},3745:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(4914),r=n(678),a=n(6770),i=n(7438),s=["mousedown","mousemove","keydown","scroll","touchstart"];function c(){var e=(0,r.useDispatch)(),t=(0,o.useRef)(new Date);return(0,o.useEffect)((function(){var e=function(){t.current=new Date};return s.forEach((function(t){document.addEventListener(t,e)})),function(){s.forEach((function(t){document.removeEventListener(t,e)}))}}),[]),(0,o.useEffect)((function(){var n=setInterval((function(){new Date-t.current>=12e5&&(e(a.actions.setUserInactive({isInactive:!0})),i.hubConnection.dontReconnect=!0,i.hubConnection.stop(),clearInterval(n))}),1e3);return function(){clearInterval(n)}}),[]),null}const u=(0,o.memo)(c)},4553:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(1601),r=n.n(o),a=n(6314),i=n.n(a)()(r());i.push([e.id,".LZBL9Xbl_iElgVjxAhJn{display:flex;height:50.625em;width:90em;margin:auto;position:relative}.m39UUZV0xKd1O6Ofg1qt{height:100%}",""]),i.locals={gameCenter:"LZBL9Xbl_iElgVjxAhJn",gameLayout:"m39UUZV0xKd1O6Ofg1qt"};const s=i},4805:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(1601),r=n.n(o),a=n(6314),i=n.n(a)()(r());i.push([e.id,".cMnblziyKBAjFO7y0HNB{color:#fff;width:100%;height:100%;padding:calc(env(safe-area-inset-top) + 2.5em) 0 env(safe-area-inset-bottom)}.IvCnwQ5KzFVqbGS7Gn23{width:100%;height:100%}",""]),i.locals={gameLayout:"cMnblziyKBAjFO7y0HNB",gameCenter:"IvCnwQ5KzFVqbGS7Gn23"};const s=i},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var s=0;s0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},1601:e=>{e.exports=function(e){return e[1]}},5072:e=>{var t=[];function n(e){for(var n=-1,o=0;o{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}}]);