"use strict";(self.webpackChunklauncher=self.webpackChunklauncher||[]).push([[6337,8517],{8517:(e,t,a)=>{a.r(t),a.d(t,{BASE_POPUP_NAMES:()=>s,MAX_AUTOBET:()=>i,MAX_AUTOCASHOUT:()=>u,isFeatureMessagePackEnabled:()=>l,isMessagePackEnabled:()=>c});var n=(0,a(6295).getParamsFromUrl)(),r=n.isMessagePackEnabled,o=n.isFeatureMessagePackEnabled,s=Object.freeze({RULES:"Rules",CHECK_HASH_CODE:"CheckHashCode",ABOUT_HASH_CODE:"AboutHashCode",GAME_CONTROLS:"GameControls",BONUS_LIST:"BonusListPopup",KEYBOARD:"Keyboard",KEYBOARD_MINES:"KeyboardMines",GLOBAL_HISTORY:"GlobalHistory",GLOBAL_BONUS_HISTORY:"GlobalBonusHistory",MENU:"Menu",MAIN_MENU:"MainMenu",LEADER_BOARD:"LeaderBoard",LEADER_BOARD_HISTORY:"LeaderBoardHistory",BONUS_ASIDE:"BonusAside",CHAT_POPUP:"ChatPopup",CHAT_REGISTRY_POPUP:"ChatRegistryPopup",CASH_BACK:"CashBackPopup",CASH_BACK_RULES:"CashbackRules",CASH_BACK_INFO_POPUP:"CashbackInfoPopup",CASH_BACK_COLLECT_POPUP:"CashbackCollectPopup",CASH_BACK_INTRO_POPUP:"CashbackIntroPopup"}),i=100,u=699999.99,c="true"===r,l="true"===o},6337:(e,t,a)=>{a.r(t),a.d(t,{GFA:()=>c,IEnumerable:()=>M,activeGameId:()=>P,backUrl:()=>p,culture:()=>y,gameKindName:()=>_,gameTypeName:()=>O,isDemo:()=>B,isMobile:()=>m,mappedGlobalBonusHistory:()=>T,mode:()=>d,parseObjectToArray:()=>R,partnerId:()=>f,playerId:()=>E,referer:()=>C,responseFromServerToObject:()=>k,responseFromServerToObjectForFeature:()=>U,setRulesVersionInStorage:()=>S,skinningName:()=>I,sortTickets:()=>H});var n=a(6884),r=a(6295),o=a(1703),s=a.n(o),i=a(3387),u=a(8517),c=(0,n.GalaxsysFrontendApi)(),l=(0,r.getTypedParamsFromURL)()||{},d=l.mode,p=l.backUrl,A=l.partnerId,b=l.playerId,C=l.referer,m=l.isMobile,_=l.gameKindName,O=l.gameTypeName,P=l.activeGameId,y=l.culture,B=l.isDemo,I=l.skinningName,f=+A,E=+b,S=function(e,t){if(e){var a="rule_".concat(null==_?void 0:_.toLowerCase(),"_").concat(y,"_").concat(f),n=null===s()||void 0===s()?void 0:s().getItem(a);n?n!==e.toString()&&(null===s()||void 0===s()||s().setItem(a,e),setTimeout((function(){t()}),1e4)):null===s()||void 0===s()||s().setItem(a,e)}},T=function(e,t){var a=t.strBet,n=t.strExpireDate;return{headers:[t.strType,t.strQuantity,a,t.strTotalWin,t.strDate,n],body:null==e?void 0:e.map((function(e){return{type:i.BonusTypesById[+e.type]&&t["str".concat(i.BonusTypesById[+e.type])]||"Free Bonus",quantity:e.count||e.quantity||"-",bet:e.bet,totalWin:e.totalWin,date:(0,r.getFormattedDateTime)(e.assignDate||e.date),expireDate:(0,r.getFormattedDateTime)(e.expireDate)}})),winBy:"totalWin"}},g=function(e){return(null==e?void 0:e.sort((function(e,t){return t.betInfo[0].betCoin+t.betInfo[1].betCoin-e.betInfo[0].betCoin-e.betInfo[1].betCoin})))||[]},H=function(e){var t=[],a=[];return null==e||e.forEach((function(e){e.playerId===+E?t.push(e):a.push(e)})),g(t),g(a),[].concat(t,a)};function k(e,t){return u.isMessagePackEnabled?e(t):t}function U(e,t){return u.isFeatureMessagePackEnabled?e(t):t}var M={map:function(e,t){return e.map((function(e){return t(e)}))}};function R(e){return e?Object.values(e).map((function(e){return e instanceof Date?e.toISOString():e instanceof Set?Array.from(e):e instanceof Object&&!Array.isArray(e)?R(e):e})):[]}}}]);