(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~4396481f"],{"000a":function(t,e,a){"use strict";const i=()=>({dataLoading:!1,data:[],filters:{betAmountFrom:0,betAmountTo:0,dateFrom:"",dateTo:"",winAmountFrom:0,winAmountTo:0},pageNumber:0,pageSize:25,totalItems:0});var s=i,n=a("3835"),r=a("9ab4"),o=(a("e9c4"),a("9098"));const d="api/v2/player/games",c=t=>Object(o["b"])({method:"get",url:d,params:Object.assign(Object.assign({},t),{q:JSON.stringify(t.q)})});var u={getGames:c},l=a("c1df"),h=a.n(l);const g=t=>t?""+100*t:"",b=t=>t?h()(t).format("YYYY-MM-DD"):"",m=({dateFrom:t,dateTo:e,betAmountFrom:a,betAmountTo:i,winAmountFrom:s,winAmountTo:n})=>{const r={},o=b(t),d=b(e),c=g(a),u=g(i),l=g(s),h=g(n);return(o||d)&&(r.created_at=`${o}..${d}`),(c||u)&&(r.total_bets=`${c}..${u}`),(l||h)&&(r.total_wins=`${l}..${h}`),r};var v=a("ca47");const p={fetchData(){return Object(r["a"])(this,void 0,void 0,(function*(){const t=Object(v["b"])("player/isPlayerAuthorized");if(!t)return;this.dataLoading=!0;const e=m(this.filters),a={limit:this.getPageSize,offset:this.getPageNumber*this.getPageSize,q:e},i=yield u.getGames(a),s=Object(n["a"])(i,2),r=s[1];r&&this.setData(r.data),this.dataLoading=!1}))},changePage(t){this.pageNumber=t,this.fetchData()},changeDateFrom(t){this.pageNumber=0,this.filters.dateFrom=t,this.fetchData()},changeDateTo(t){this.pageNumber=0,this.filters.dateTo=t,this.fetchData()},clearDateRange(){this.pageNumber=0,this.filters.dateFrom="",this.filters.dateTo="",this.fetchData()},changeBetAmountFrom(t){this.pageNumber=0,this.filters.betAmountFrom=t,this.fetchData()},changeBetAmountTo(t){this.pageNumber=0,this.filters.betAmountTo=t,this.fetchData()},clearBetAmountRange(){this.pageNumber=0,this.filters.betAmountFrom=0,this.filters.betAmountTo=0,this.fetchData()},changeWinAmountFrom(t){this.pageNumber=0,this.filters.winAmountFrom=t,this.fetchData()},changeWinAmountTo(t){this.pageNumber=0,this.filters.winAmountTo=t,this.fetchData()},clearWinAmountRange(){this.pageNumber=0,this.filters.winAmountFrom=0,this.filters.winAmountTo=0,this.fetchData()},clearAllFilters(t=!0){this.pageNumber=0,this.filters.dateFrom="",this.filters.dateTo="",this.filters.betAmountFrom=0,this.filters.betAmountTo=0,this.filters.winAmountFrom=0,this.filters.winAmountTo=0,t&&this.fetchData()},setPageSize(t){this.pageSize=t},changePageSize(t){this.pageSize=t,this.fetchData()},resetData(){this.data=[],this.totalItems=0,this.pageNumber=0,this.filters={betAmountFrom:0,betAmountTo:0,dateFrom:"",dateTo:"",winAmountFrom:0,winAmountTo:0}},setData(t){var e;this.data=(null===t||void 0===t?void 0:t.games)||[],this.totalItems=(null===(e=null===t||void 0===t?void 0:t.pagination)||void 0===e?void 0:e.count)||0}};var y=p,f=(a("d81d"),a("8bd2"));const _={getPlayerGames(){return this.data?this.data.map(t=>{var e=t.currency,a=t.total_bets,i=t.total_wins,s=Object(r["b"])(t,["currency","total_bets","total_wins"]);const n=Object(v["b"])("currencies/getDataForSpecificCurrency")(e),o=n.subunits_to_unit,d=n.type;if(d===f["b"])return Object.assign({currency:e,total_bets:a,total_wins:i},s);const c=Object(v["b"])("currencies/getExchangeInGameCurrency")({currency:e,cents:a,subunit_to_unit:o}),u=c.cents,l=c.currency,h=i?Object(v["b"])("currencies/getExchangeInGameCurrency")({currency:e,cents:i,subunit_to_unit:o}).cents:0;return Object.assign({total_bets:u,total_wins:h,currency:l},s)}):[]},getPageNumber(){return this.pageNumber},getPageSize(){return this.pageSize},getTotalItems(){return this.totalItems},isDataLoading(){return this.dataLoading},dateFrom(){return this.filters.dateFrom},dateTo(){return this.filters.dateTo},betAmountFrom(){return this.filters.betAmountFrom},betAmountTo(){return this.filters.betAmountTo},winAmountFrom(){return this.filters.winAmountFrom},winAmountTo(){return this.filters.winAmountTo}};var D=_;e["a"]={actions:y,getters:D,state:s}},"0144":function(t,e,a){"use strict";const i={toggleMenu(t){var e;this.menuOpened=null!==(e=null===t||void 0===t?void 0:t.toggleValue)&&void 0!==e?e:!this.menuOpened},changeBurger(t={state:""}){this.burgerState=t.state},closeMenu(){this.menuOpened=!1,this.changeBurger({state:""})},setOpenedPopup(t){this.openedPopup=t},setOpenedDropdown(t){this.openedDropdown=t},setOpenedSidebar(t){this.openedSidebar=t},setPropsMenu(t){this.menuProps=t||{}}};var s=i;const n={isMenuOpened(){return this.menuOpened},getBurgerState(){return this.burgerState},getOpenedPopup(){return this.openedPopup},getOpenedDropdown(){return this.openedDropdown},getOpenedSidebar(){return this.openedSidebar}};var r=n;const o=()=>({burgerState:"",menuOpened:!1,openedDropdown:"",openedPopup:"",openedSidebar:"",menuProps:{}});var d=o;e["a"]={actions:s,getters:r,state:d}},"0312":function(t,e,a){"use strict";var i=a("4df4");const s=()=>({theme:Object(i["a"])()});var n=s,r=(a("caad"),a("2532"),a("ccd5")),o=a("4e0e"),d=a("0a46");const c={setTheme({theme:t,withCookie:e=!0}){Object(o["a"])().includes(t)&&(this.theme=t,e&&r["d"].uiTheme.set(t))},changeTheme(){const t={theme:this.getIsBasic?d["f"]:d["d"],withCookie:!0};this.setTheme(t)}};var u=c;const l={getTheme(){return this.theme===d["a"]?Object(o["b"])():this.theme},getBackendTheme(){return d["b"][this.getTheme]},getIsBasic(){return this.getTheme===d["d"]},getIsDarkTheme(){return this.getTheme===d["f"]}};var h=l;e["a"]={state:n,getters:h,actions:u}},"078f":function(t,e,a){"use strict";a.r(e),function(t){a.d(e,"initHMRHandler",(function(){return i}));a("be92");const i=t=>{}}.call(this,a("dd40")(t))},"0f5a":function(t,e,a){"use strict";const i={getData(){var t;return null!==(t=this.data)&&void 0!==t?t:null},getLoadedDataLanguage(){return this.dataLanguage},getIsDataLoading(){return this.isDataLoading||!1},getDataLoadedAt(){return this.dataLoadedAt}};var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t){return Object(n["a"])(this,void 0,void 0,(function*(){const e=null===t||void 0===t?void 0:t.code;e&&(this.setIsDataLoading(!0),yield r["a"].apiV2().fetchData({modules:["singleNews"],code:e}),this.setIsDataLoading(!1),this.setDataLoadedAt(new Date))}))},setData(t){t&&(this.data=t.data,this.dataLanguage=t.__langCode__,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t},setDataLoadedAt(t){this.dataLoadedAt=t}};var d=o,c=a("2b5f");const u=()=>({data:{},dataLanguage:c["d"],dataLoadedAt:null,isDataLoading:!1,cmsDependencies:{fields:["lang","currency","countryCode","code"]}});var l=u;e["a"]={actions:d,getters:s,state:l}},"1a85":function(t,e,a){"use strict";a("07ac");const i={getSportLobbyLinks(){return Object.values(this.data)}};var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t=!1){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["sportLobbyLinks"],forced:t})}))},setData(t){(null===t||void 0===t?void 0:t.data)&&(this.data=t.data)},setIsDataLoading(t){this.isDataLoading=t},resetData(){this.data={},this.isDataLoading=!1}};var d=o;const c=()=>({data:{},isDataLoading:!1});var u=c;e["a"]={actions:d,getters:s,state:u}},"1c1c":function(t,e,a){"use strict";const i={getPersistentPoints(){var t,e;return(null===(e=null===(t=null===this||void 0===this?void 0:this.data)||void 0===t?void 0:t.persistent)||void 0===e?void 0:e.points)||0},getChargeablePoints(){var t,e;return(null===(e=null===(t=null===this||void 0===this?void 0:this.data)||void 0===t?void 0:t.chargeable)||void 0===e?void 0:e.points)||0},getIsDataLoading(){return this.isDataLoading}};var s=i,n=a("3835"),r=a("9ab4"),o=a("d373"),d=a("ca47"),c=a("9098");const u="api/comp_points/exchange/money",l="api/comp_points/exchange/lotteries",h="api/comp_points/exchange/freespins",g=(t,e)=>{let a="";switch(e){case"freespins":a=h;break;case"lotteries":a=l;break;case"money":a=u;break;default:}return Object(c["b"])({method:"post",url:a,body:{exchange:t}})};var b=a("10ea");const m={fetchData(t=!1){return Object(r["a"])(this,void 0,void 0,(function*(){yield o["a"].apiV2().fetchData({modules:["playerCompPoints"],forced:t})}))},setData(t){t&&(this.data=t)},resetData(){this.data={chargeable:null,persistent:null}},setIsDataLoading(t){this.isDataLoading=t},exchangeToMoney(t){return Object(r["a"])(this,void 0,void 0,(function*(){const e=yield g(t,"money"),a=Object(n["a"])(e,1),i=a[0];return i||(this.fetchData(),Object(d["a"])("playerAccounts/fetchData",!0)),Object(b["b"])(i)?{error:i}:{}}))},exchangeToLotteries(t){return Object(r["a"])(this,void 0,void 0,(function*(){const e=yield g(t,"lotteries"),a=Object(n["a"])(e,1),i=a[0];return i||(this.fetchData(),Object(d["a"])("playerLotteriesStatuses/fetchData",!0)),Object(b["b"])(i)?{error:i}:{}}))},exchangeToFreespins(t){return Object(r["a"])(this,void 0,void 0,(function*(){const e=yield g(t,"freespins"),a=Object(n["a"])(e,1),i=a[0];return i||(this.fetchData(),Object(d["a"])("playerFreespins/fetchData",!0)),Object(b["b"])(i)?{error:i}:{}}))}};var v=m;const p=()=>({data:{chargeable:null,persistent:null},isDataLoading:!1});var y=p;e["a"]={actions:v,getters:s,state:y}},"244a":function(t,e,a){"use strict";const i=()=>({data:[],dataLoadedAt:null,isDataLoading:!1,checkBalanceAfterSocAuth:!1,showBalanceInGameCurrency:!1});var s=i,n=a("3835"),r=(a("d81d"),a("9ab4")),o=a("42454"),d=a.n(o),c=a("9098");const u="api/player/accounts",l=t=>Object(c["b"])({method:"post",url:u,body:{currency:t}}),h=t=>{var e,a;const i=null===t||void 0===t?void 0:t.errors,s={text:"notification.something_went_wrong",type:"error"};return(null===(e=null===i||void 0===i?void 0:i.base)||void 0===e?void 0:e.active_deposit_limit_present)&&(s.text="notification.not_possible_add_new_account"),(null===(a=null===i||void 0===i?void 0:i.base)||void 0===a?void 0:a.gambling_addict_blacklisted)&&(s.text="notification.gambling_addict_blacklisted"),s};var g=a("d373"),b=a("ca47"),m=a("ccd5"),v=a("10ea");const p={fetchData(t=!1){return Object(r["a"])(this,void 0,void 0,(function*(){yield g["a"].apiV2().fetchData({modules:["playerAccounts"],forced:t}),this.setShowBalanceInGameCurrencyFromCookie()}))},updateAmountCents(t){const e=t.currency,a=t.timestamp,i=void 0===a?0:a,s=this.data.map(a=>(e===a.currency&&i>a.timestamp&&(a=d()(a,t)),a));this.setData(s)},changeUserDefaultCurrency({currency:t,modal:e="balance",isAddingAccount:a=!1}){return Object(r["a"])(this,void 0,void 0,(function*(){if(!Object(b["b"])("player/isPlayerAuthorized"))return{error:h()};const i=yield l(t),s=Object(n["a"])(i,2),r=s[0],o=s[1];if(o){const i=Object(b["b"])("playerPayments/activePaymentTab");return m["d"].openModalAfterReload.set(i||e),m["d"].showNotificationAfterReload.set(t),a&&m["d"].addingNewAccount.set("true"),setTimeout(()=>{location.reload()}),{data:o.data}}return Object(v["b"])(r)?{error:h(r.data)}:{}}))},setCheckBalanceAfterSocAuth(t){this.checkBalanceAfterSocAuth=t},setShowBalanceInGameCurrency(t){m["d"].showBalanceInGameCurrency.set(!!t),this.showBalanceInGameCurrency=t},setShowBalanceInGameCurrencyFromCookie(){const t=m["d"].showBalanceInGameCurrency.get();t&&(this.showBalanceInGameCurrency=!!t)},setData(t=[]){(null===t||void 0===t?void 0:t.hasOwnProperty("errors"))||(this.data=Array.isArray(t)?t:[],this.dataLoadedAt=new Date)},resetData(){this.data=[],this.dataLoadedAt=null},setIsDataLoading(t){this.isDataLoading=t}};var y=p,f=(a("4de4"),a("caad"),a("14d9"),a("13d5"),a("ac1f"),a("2532"),a("5319"),a("8066")),_=a("3dbe"),D=a("6aa8"),O=a("6c84"),j=a("a04c");const C={getIsDataLoaded(){return!!this.dataLoadedAt},getDataLoaded(){return this.dataLoadedAt},getPlayerAccount(){const t=Object(b["b"])("player/getCurrencyCode");return this.getPlayerAccounts.find(({currency:e})=>e===t)||null},getGamePlayerAccount(){const t=Object(b["b"])("player/getGameCurrencyCode");return this.getPlayerAccountsWithHidden.find(({currency:e})=>e===t)||null},getPlayerAccountConvertedToGameCurrency(){const t=Object(b["b"])("currencies/getGameCurrency"),e=this.getPlayerAccount;if(!e)return null;const a=a=>{const i=a/(Number(e.subunits_to_unit)||100),s=Object(D["b"])(i,e.currency,t.code,Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(t.subunits_to_unit||100));return Math.round(s*(Number(t.subunits_to_unit)||100))};return Object.assign(Object.assign(Object.assign({},e),t),{currency:t.code,amount_cents_without_locked:a(e.amount_cents_without_locked),amount_cents:a(e.amount_cents),amount_cents_no_block_bonuses:a(e.amount_cents_no_block_bonuses),amount_cents_without_bonuses:a(e.amount_cents_without_bonuses),available_to_cashout_cents:a(e.available_to_cashout_cents),casino:{amount_cents:a(e.casino.amount_cents),amount_cents_without_locked:a(e.casino.amount_cents_without_locked),amount_cents_no_block_bonuses:a(e.casino.amount_cents_no_block_bonuses),amount_cents_without_bonuses:a(e.casino.amount_cents_without_bonuses)},sport:{amount_cents:a(e.sport.amount_cents),amount_cents_no_block_bonuses:a(e.sport.amount_cents_no_block_bonuses),amount_cents_without_bonuses:a(e.sport.amount_cents_without_bonuses)}})},getPlayerAccountForSpecificCurrencyCode(t){return e=>t.getPlayerAccounts.find(({currency:t})=>t===e)||null},getPlayerAccounts(){return this.getPlayerAccountsWithHidden.filter(({hidden:t})=>!t)},getPlayerAccountsWithHidden(){const t=Object(b["b"])("currencies/getCurrencies");return this.data.map(e=>{const a={code:e.currency,subunits_to_unit:_["b"]},i=t[e.currency]||a;return Object.assign(Object.assign({},e),i)})},existAccounts(){return this.getPlayerAccounts.map(({currency:t})=>t)},getAccountsWithoutActive(){const t=Object(b["b"])("player/getCurrencyCode");return this.getPlayerAccounts.filter(({currency:e})=>e!==t)},getAccountsWithoutActiveCurrency(){return t=>this.getPlayerAccounts.filter(({currency:e})=>e!==t)},hasAccountsForAdding(){const t=Object(b["b"])("currencies/getAllowCurrencies")[Object(b["b"])("player/getCountry")],e=t||Object(b["b"])("currencies/getAllowCurrencies").GLOBAL||[];return e.some(t=>!this.getPlayerAccounts.some(({code:e})=>t===e))},hasAccountsForAddingOld(){return Object(b["b"])("currencies/getCurrenciesOptions").reduce((t,e)=>t||(t=!this.getPlayerAccounts.find(({code:t})=>t===e.code.toUpperCase()),t),!1)},getPlayerCurrencies(){return this.getPlayerAccounts.reduce((t,{code:e})=>(e&&t.push(e),t),[])},casinoCents(){var t;return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.casino.amount_cents)||0},sportCents(){var t,e;return this.getIsCryptoPlayerAccount?((null===(t=this.getPlayerAccount)||void 0===t?void 0:t.sport.amount_cents)||0)+this.sportNonCancellableBonusAmountCents:(null===(e=this.getPlayerAccount)||void 0===e?void 0:e.sport.amount_cents)||0},availableToCashoutCents(){var t;const e=(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.available_to_cashout_cents)||0;return Math.max(e,0)},availableBalanceCents(){const t=this.getPlayerAccount;if(!t)return 0;const e=t.casino,a=t.sport;return e.amount_cents+a.amount_cents-a.amount_cents_without_bonuses},availableBalance(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.availableBalanceCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.availableBalanceCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),Object(b["b"])("player/getLangCode"))},availableCasinoBalance(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.casinoCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.casinoCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),Object(b["b"])("player/getLangCode"))},availableSportBalance(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.sportCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.sportCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),Object(b["b"])("player/getLangCode"))},availableCashoutLow(){return this.availableToCashoutCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit")},availableCashout(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.availableToCashoutCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.availableCashoutLow,Object(b["b"])("player/getLangCode"))},balanceWithoutLocked(){var t,e;return(null===(e=null===(t=this.getPlayerAccount)||void 0===t?void 0:t.casino)||void 0===e?void 0:e.amount_cents_without_locked)||0},hasBonusesCents(){return this.casinoCents-this.balanceWithoutLocked>0},hasCasinoBonusesCents(){return this.casinoCents-this.balanceWithoutLocked>0},hasSportBonusesCents(){const t=this.getPlayerAccount;if(!t)return!1;const e=this.sportCents-t.sport.amount_cents_without_bonuses;return!!(e>0)},onlyBonusesCents(){return!(!this.casinoCents||this.balanceWithoutLocked)},isBalanceLessThreshold(){var t;const e=null===(t=Object(b["b"])("currencies/getCurrencies"))||void 0===t?void 0:t.USD;if(!e||!this.getPlayerAccount)return!1;const a=0===this.getPlayerAccount.cashbox_threshold?Object(D["b"])(e.cashbox_threshold,e.code,this.getPlayerAccount.code,Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(this.getPlayerAccount.subunits_to_unit||_["b"])):this.getPlayerAccount.cashbox_threshold,i=Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),s=this.casinoCents/i;return s<=a},getCheckBalanceAfterSocAuth(){return this.checkBalanceAfterSocAuth},getBalanceStringForCurrency:()=>(t,e)=>{var a;const i=(null===(a=Object(b["b"])("currencies/getDataForSpecificCurrency")(t))||void 0===a?void 0:a.subunits_to_unit)||100;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:e,currencyCode:t,currencyDisplay:j["a"].None}):Object(f["i"])(e/i," ")},blockedByBonusesAmountCents(){return this.blockedByBonusesAmountCentsCasino+this.blockedByBonusesAmountCentsSport},blockedByBonusesAmountCentsCasino(){if(!this.getPlayerAccount)return 0;const t=this.getPlayerAccount.casino,e=t.amount_cents,a=t.amount_cents_without_bonuses,i=e-a;return i>0?i:0},blockedByBonusesAmountCentsSport(){if(!this.getPlayerAccount)return 0;const t=this.getPlayerAccount.sport,e=t.amount_cents,a=t.amount_cents_without_bonuses,i=e-a;return i>0?i:0},casinoBalance(){var t;return this.getBalanceStringForCurrency(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,this.casinoCents)},casinoBalanceWithoutBonusesCents(){var t;return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.casino.amount_cents_without_bonuses)||0},casinoBalanceWithoutBonuses(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.casinoBalanceWithoutBonusesCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.casinoBalanceWithoutBonusesCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),Object(b["b"])("player/getLangCode"))},casinoBalanceForGameCurrency(){var t,e;const a=Object(b["b"])("currencies/getGameCurrency"),i=this.casinoCents/(Number(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.subunits_to_unit)||100),s=Object(D["b"])(i,(null===(e=this.getPlayerAccount)||void 0===e?void 0:e.code)||"",Object(b["b"])("player/getGameCurrencyCode"),Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(a.subunits_to_unit||100));return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({value:s,currencyCode:a.code,currencyDisplay:j["a"].None}):Object(f["i"])(s," ")},totalBalanceWithoutLockedCents(){var t;return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.amount_cents_without_locked)||0},totalBalanceWithoutLocked(){if(!this.getPlayerAccount)return"";const t=this.getPlayerAccount,e=t.code,a=t.amount_cents_without_locked;return this.getBalanceStringForCurrency(e,a)},totalBalanceWithoutLockedForGameCurrency(){const t=Object(b["b"])("currencies/getGameCurrency");if(!this.getPlayerAccount)return"";const e=this.getPlayerAccount,a=e.code,i=e.amount_cents_without_locked,s=e.subunits_to_unit,n=i/(Number(s)||100),r=Object(D["b"])(n,a,Object(b["b"])("player/getGameCurrencyCode"),Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(t.subunits_to_unit||100));return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({value:r,currencyCode:t.code,currencyDisplay:j["a"].None}):Object(f["i"])(r," ")},sportBalance(){var t;return this.getPlayerAccount?this.getBalanceStringForCurrency(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,this.sportCents):""},sportBalanceWithoutBonusesCents(){var t;return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.sport.amount_cents_without_bonuses)||0},sportBalanceWithoutBonuses(){var t;return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({subunits:this.sportBalanceWithoutBonusesCents,currencyCode:null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,currencyDisplay:j["a"].None}):Object(f["e"])(this.sportBalanceWithoutBonusesCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit"),Object(b["b"])("player/getLangCode"))},sportBalanceForGameCurrency(){var t,e;const a=Object(b["b"])("currencies/getGameCurrency"),i=this.sportCents/(Number(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.subunits_to_unit)||100),s=Object(D["b"])(i,(null===(e=this.getPlayerAccount)||void 0===e?void 0:e.code)||"",Object(b["b"])("player/getGameCurrencyCode"),Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(a.subunits_to_unit||100));return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({value:s,currencyCode:a.code,currencyDisplay:j["a"].None}):Object(f["i"])(s," ")},sportNonCancellableBonusAmountCents(){var t;if(!this.getIsCryptoPlayerAccount)return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.sport.amount_cents_no_block_bonuses)||0;if(!this.getGamePlayerAccount)return 0;const e=this.getGamePlayerAccount,a=e.subunits_to_unit,i=e.sport.amount_cents_no_block_bonuses;if(!i||!this.getPlayerAccount)return 0;const s=this.getPlayerAccount,n=s.code,r=s.subunits_to_unit;return Object(D["b"])(i/+a,Object(b["b"])("player/getGameCurrencyCode"),n,Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(r))*Number(this.getPlayerAccount.subunits_to_unit)},sportNonCancellableBonus(){const t=this.getIsCryptoPlayerAccount?this.getPlayerAccount:this.getGamePlayerAccount;return t?this.getBalanceStringForCurrency(t.code,this.sportNonCancellableBonusAmountCents):"0"},withdrawBalance(){var t;return this.getBalanceStringForCurrency(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,this.availableToCashoutCents)},withdrawBalanceForGameCurrency(){var t,e;const a=Object(b["b"])("currencies/getGameCurrency"),i=this.availableToCashoutCents/(Number(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.subunits_to_unit)||100),s=Object(D["b"])(i,(null===(e=this.getPlayerAccount)||void 0===e?void 0:e.code)||"",Object(b["b"])("player/getGameCurrencyCode"),Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(a.subunits_to_unit||100));return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({value:s,currencyCode:a.code,currencyDisplay:j["a"].None}):Object(f["i"])(s," ")},blockedBalance(){var t;return this.getBalanceStringForCurrency(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,this.blockedByBonusesAmountCents)},blockedCasinoBalance(){var t;return this.getBalanceStringForCurrency(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.code,this.blockedByBonusesAmountCentsCasino)},getCancelledBonusAmountCents(){const t=this.getPlayerAccount;if(!t)return 0;const e=t.amount_cents,a=t.available_to_cashout_cents,i=t.amount_cents_no_block_bonuses,s=e-a-i;return s>0?s:0},getCancelledBonusAmount(){return this.getCancelledBonusAmountCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit")},getCasinoCancelledBonusAmount(){return this.getCasinoCancelledBonusAmountCents/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit")},getBalanceAfterCancel(){const t=this.getPlayerAccount;if(!t)return 0;const e=t.available_to_cashout_cents,a=t.amount_cents_no_block_bonuses;return(e+a)/Object(b["b"])("currencies/getCurrentCurrencySubunitsToUnit")},getCasinoCancelledBonusAmountCents(){const t=this.getPlayerAccount;if(!t)return 0;const e=t.available_to_cashout_cents,a=t.casino,i=a.amount_cents,s=a.amount_cents_no_block_bonuses,n=i-e-s;return n>0?n:0},getSportCancelledBonusAmountCents(){const t=this.getPlayerAccount;if(!t)return 0;const e=t.available_to_cashout_cents,a=t.sport,i=a.amount_cents,s=a.amount_cents_no_block_bonuses,n=i-e-s;return n>0?n:0},blockedBalanceForGameCurrency(){var t,e;const a=Object(b["b"])("currencies/getGameCurrency"),i=this.blockedByBonusesAmountCents/(Number(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.subunits_to_unit)||100),s=Object(D["b"])(i,(null===(e=this.getPlayerAccount)||void 0===e?void 0:e.code)||"",Object(b["b"])("player/getGameCurrencyCode"),Object(b["b"])("currencyExchangeRates/getData"),0,Object(f["a"])(a.subunits_to_unit||100));return O["g"].includes("3")?Object(b["b"])("currencies/getSumHTML")({value:s,currencyCode:a.code,currencyDisplay:j["a"].None}):Object(f["i"])(s," ")},getShowBalanceInGameCurrency(){const t=Object(b["b"])("player/getIsCurrencyCodeConvertable");return t&&this.showBalanceInGameCurrency},getIsCryptoPlayerAccount(){var t;return(null===(t=this.getPlayerAccount)||void 0===t?void 0:t.type)===_["a"].CRYPTO},casinoBalanceWithoutSeparator(){return this.casinoBalance.replace(/ /g,"")},sportBalanceWithoutSeparator(){return this.sportBalance.replace(/ /g,"")}};var L=C;e["a"]={actions:y,getters:L,state:s}},2901:function(t,e,a){"use strict";const i={getData(){return this.data},getIsDataLoading(){return this.isDataLoading}};var s=i,n=a("3835"),r=(a("d9e2"),a("9ab4")),o=a("d373"),d=a("ca47"),c=a("9098");const u="api/player/avatar",l=t=>Object(c["b"])({method:"post",url:u,body:t,headers:{"Content-Type":"multipart/form-data"}}),h=()=>Object(c["b"])({method:"delete",url:u});var g=a("10ea");const b={fetchData(t=!1){return Object(r["a"])(this,void 0,void 0,(function*(){yield o["a"].apiV2().fetchData({modules:["playerAvatar"],forced:t})}))},setData(t){t&&(this.data=t)},resetData(){this.data={image_path:""}},setIsDataLoading(t){this.isDataLoading=t},upload(t){return Object(r["a"])(this,void 0,void 0,(function*(){const e=Object(d["b"])("player/isPlayerAuthorized");if(!e||this.getIsDataLoading)return{};if(!(t instanceof File))return{error:new Error("No valid file object provided").message};const a=new FormData;a.append("user[avatar]",t),this.setIsDataLoading(!0);const i=yield l(a),s=Object(n["a"])(i,2),r=s[0],o=s[1];return yield this.requestHandler({response:o,error:r})}))},delete(){return Object(r["a"])(this,void 0,void 0,(function*(){const t=Object(d["b"])("player/isPlayerAuthorized");if(!t||this.getIsDataLoading)return{};this.setIsDataLoading(!0);const e=yield h(),a=Object(n["a"])(e,2),i=a[0],s=a[1];return yield this.requestHandler({response:s,error:i})}))},requestHandler({response:t,error:e}){var a;return Object(r["a"])(this,void 0,void 0,(function*(){let i={};if(t&&200===t.status){const e=(null===(a=null===t||void 0===t?void 0:t.data)||void 0===a?void 0:a.image_path)||"";this.setData({image_path:e}),yield Object(d["a"])("player/fetchData",!0),i={response:this.getData}}return Object(g["b"])(e)&&(i={error:e}),this.setIsDataLoading(!1),i}))}};var m=b;const v=()=>({data:{image_path:""},isDataLoading:!1});var p=v;e["a"]={actions:m,getters:s,state:p}},"2d01":function(t,e,a){"use strict";a("d81d");var i=a("9ab4"),s=a("e671"),n=a("d373");const r={setIsDataLoaded(t){this.isDataLoaded=t},fetchData(t=!1){return Object(i["a"])(this,void 0,void 0,(function*(){yield n["a"].apiV2().fetchData({modules:["matches"],forced:t}),this.setIsDataLoaded(!0)}))},setData(t){(null===t||void 0===t?void 0:t.data)&&(this.data=t.data.map(t=>t.pictures?Object.assign(Object.assign({},t),{bg_image:Object(s["a"])(t.pictures.bg_image),bg_image_mobile:Object(s["a"])(t.pictures.bg_image_mobile),competition:Object.assign(Object.assign({},t.competition),{logo:Object(s["a"])(t.pictures.competition)}),team1:Object.assign(Object.assign({},t.team1),{logo:Object(s["a"])(t.pictures.team1)}),team2:Object.assign(Object.assign({},t.team2),{logo:Object(s["a"])(t.pictures.team2)})}):t))}};var o=r;const d=()=>({data:[],isDataLoaded:!1});var c=d;e["a"]={actions:o,state:c}},3138:function(t,e,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"b",(function(){return s})),a.d(e,"e",(function(){return n})),a.d(e,"d",(function(){return r})),a.d(e,"a",(function(){return o}));const i=10,s="api/v2/player/sport_bets",n="digitain",r="betby",o="cashback"},3208:function(t,e,a){"use strict";var i=a("ccd5");const s=()=>({opened:!1,searchText:"",selectedFilterList:[],searchRequests:i["d"].recentSearches.get()||[]});var n=s;a("caad"),a("14d9"),a("a434"),a("3c65"),a("2532");const r={10:6},o="3",d=r[o]||5;var c=a("ca47");const u={openSearch(t){Object(c["b"])("cmsConfig/isGamePage")&&!(null===t||void 0===t?void 0:t.addOverflow)||Object(c["a"])("overlay/addBodyOverflow",{}),this.setOpened({opened:!0})},closeSearch(t){Object(c["b"])("cmsConfig/isGamePage")&&!(null===t||void 0===t?void 0:t.removeOverflow)||Object(c["a"])("overlay/removeBodyOverflow"),this.setOpened({opened:!1})},setOpened({opened:t}){this.opened=t,t||(this.selectedFilterList=[],this.searchText="")},updateSearchText(t){this.searchText=t},chooseFilter(t){this.selectedFilterList.push(t)},removeFilter(t){this.selectedFilterList.splice(t,1)},addSearchRequest(t){this.searchRequests.includes(t)||(this.searchRequests.length===d&&this.searchRequests.pop(),this.searchRequests.unshift(t),i["d"].recentSearches.set(this.searchRequests))},deleteSearchRequest(t){this.searchRequests.splice(t,1),i["d"].recentSearches.set(this.searchRequests)}};var l=u;const h={hasOpened(){return this.opened},getSearchText(){return this.searchText||""},getSelectedFilterList(){return this.selectedFilterList},getSelectedFiltersCount(){return this.selectedFilterList.length},getSearchRequests(){return this.searchRequests}};var g=h;e["a"]={state:n,actions:l,getters:g}},"32f9":function(t,e,a){"use strict";var i=a("3835"),s=a("9ab4"),n=a("9098");const r="api/v4/player/limits",o="api/v4/player/limits/force_update",d="api/v4/player/limits/confirm",c="api/v4/player/limits/access",u="api/v4/player/limits/account",l="api/v4/player/limits/session",h="api/v4/player/reality_check",g="api/v4/player/reality_check/active",b=()=>Object(n["b"])({method:"patch",url:o}),m=()=>Object(n["b"])({method:"get",url:g}),v=()=>Object(n["b"])({method:"get",url:h}),p=t=>Object(n["b"])({method:"post",url:c,body:t}),y=t=>Object(n["b"])({method:"post",url:u,body:t}),f=t=>Object(n["b"])({method:"post",url:l,body:t}),_=t=>Object(n["b"])({method:"post",url:h,body:t}),D=t=>Object(n["b"])({method:"get",url:d,params:{token:t}}),O=t=>Object(n["b"])({method:"get",url:d,params:t}),j=t=>Object(n["b"])({method:"delete",url:r,params:{id:t}}),C=()=>Object(n["b"])({method:"delete",url:h});var L={forceUpdateLimits:b,fetchRealityCheckData:m,fetchRealityCheckActivityData:v,changeAccessLimit:p,changeAccountLimit:y,changeSessionLimit:f,changeRealityCheckLimit:_,confirmLimit:D,confirmLimitWithAutologin:O,disableLimit:j,disableRealityCheckLimit:C},A=a("6c84");const w=t=>{var e;const a=t.errors,i={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"};let s=null;return s=(null===(e=null===a||void 0===a?void 0:a.user)||void 0===e||e[0],A["v"],{id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:s,errorModel:i}},P=t=>{var e,a;const i=t.errors;let s,n=null;return"email_is_not_confirmed"===(null===(e=null===i||void 0===i?void 0:i.user)||void 0===e?void 0:e[0])?s={field:"period",id:"email_is_not_confirmed",msg:"validation.email_is_not_confirmed"}:"prohibited_period_reduction"===(null===(a=null===i||void 0===i?void 0:i.base)||void 0===a?void 0:a[0])?s={field:"period",id:"prohibited_period_reduction",msg:"validation.prohibited_period_reduction"}:(s={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},n={id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:n,errorModel:s}},I=t=>{var e,a;return"email_is_not_confirmed"===(null===(e=null===t||void 0===t?void 0:t.user)||void 0===e?void 0:e[0])?{field:"period",id:"email_is_not_confirmed",msg:"validation.email_is_not_confirmed"}:"zero_limit_relevant_value"===(null===(a=null===t||void 0===t?void 0:t.base)||void 0===a?void 0:a[0])?{field:"sum",id:"zero_limit_relevant_value",msg:"validation.zero_limit_relevant_value"}:null},S=t=>{const e=t.errors,a=I(e),i=null;return a||i?{errorModel:a,errorNotify:i}:{errorModel:{field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},errorNotify:{id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}}},T=t=>{var e;const a=t.errors;let i,s=null;return"email_is_not_confirmed"===(null===(e=null===a||void 0===a?void 0:a.user)||void 0===e?void 0:e[0])?i={field:"period",id:"email_is_not_confirmed",msg:"validation.email_is_not_confirmed"}:(i={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},s={id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:s,errorModel:i}},k=t=>{var e;const a=t.errors;let i,s=null;return"email_is_not_confirmed"===(null===(e=null===a||void 0===a?void 0:a.user)||void 0===e?void 0:e[0])?i={field:"period",id:"email_is_not_confirmed",msg:"validation.email_is_not_confirmed"}:(i={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},s={id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:s,errorModel:i}},B=t=>{var e,a,i,s;const n=t.errors,r={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"};let o=null;return o="email_is_not_confirmed"===(null===(e=null===n||void 0===n?void 0:n.user)||void 0===e?void 0:e[0])?{id:"email_is_not_confirmed",text:"validation.email_is_not_confirmed",type:"error"}:"confirm_impossible"===(null===(a=null===n||void 0===n?void 0:n.limit)||void 0===a?void 0:a[0])?{id:"confirm_impossible",text:"notification.confirm_impossible",type:"error"}:"2fa_required"===(null===(s=null===(i=null===n||void 0===n?void 0:n.base)||void 0===i?void 0:i[0])||void 0===s?void 0:s.error)?{id:"2fa_required",text:"notification.2fa_required",type:"error"}:{id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"},{errorNotify:o,errorModel:r}},N=t=>{var e,a,i;const s=t.errors;let n,r=null;return"less_than_24_hours"===(null===(e=null===s||void 0===s?void 0:s.limit)||void 0===e?void 0:e[0])?n={field:"period",id:"less_than_24_hours",msg:"validation.less_than_24_hours"}:"less_than_7_days"===(null===(a=null===s||void 0===s?void 0:s.limit)||void 0===a?void 0:a[0])?n={field:"period",id:"less_than_7_days",msg:"validation.less_than_7_days"}:"disable_impossible"===(null===(i=null===s||void 0===s?void 0:s.limit)||void 0===i?void 0:i[0])?n={field:"period",id:"disable_impossible",msg:"validation.disable_impossible"}:(n={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},r={id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:r,errorModel:n}},F=t=>{var e;const a=t.errors;let i,s=null;return"disable_impossible"===(null===(e=null===a||void 0===a?void 0:a.limit)||void 0===e?void 0:e[0])?i={field:"period",id:"disable_impossible",msg:"validation.disable_impossible"}:(i={field:"period",id:"something_went_wrong",msg:"validation.something_went_wrong"},s={id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}),{errorNotify:s,errorModel:i}};var x=a("d373"),E=a("ca47"),M=a("10ea");const R={setData(t){this.dataIsLoaded=!0,(null===t||void 0===t?void 0:t.length)?this.data=t:this.data=[]},resetData(){this.data=[],this.realityCheckData=null},fetchData(){return Object(s["a"])(this,void 0,void 0,(function*(){yield x["a"].apiV2().fetchData({modules:["playerLimits"]})}))},forceUpdateLimits(){return Object(s["a"])(this,void 0,void 0,(function*(){const t=yield L.forceUpdateLimits(),e=Object(i["a"])(t,2),a=e[1];a&&this.fetchData()}))},fetchRealityCheckData(){return Object(s["a"])(this,void 0,void 0,(function*(){this.isRealityCheckDataLoading=!0;const t=yield L.fetchRealityCheckData(),e=Object(i["a"])(t,2),a=e[1];a&&(this.realityCheckData=a.data,this.isRealityCheckDataLoaded=!0),this.isRealityCheckDataLoading=!1}))},fetchRealityCheckActivityData(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};this.isDataLoading=!0;const e=yield L.fetchRealityCheckActivityData(),a=Object(i["a"])(e,2),s=a[0],n=a[1];return n&&(t={response:n}),Object(M["b"])(s)&&(t={error:w(s.data)}),this.isDataLoading=!1,t}))},changeAccessLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.changeAccessLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchData()),Object(M["b"])(n)&&(e={error:P(n.data)}),this.isDataLoading=!1,e}))},changeAccountLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.changeAccountLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchData()),Object(M["b"])(n)&&(e={error:S(n.data)}),this.isDataLoading=!1,e}))},changeSessionLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.changeSessionLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchData()),Object(M["b"])(n)&&(e={error:T(n.data)}),this.isDataLoading=!1,e}))},changeRealityCheckLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.changeRealityCheckLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchRealityCheckData()),Object(M["b"])(n)&&(e={error:k(n.data)}),this.isDataLoading=!1,e}))},confirmLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.confirmLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchData()),Object(M["b"])(n)&&(e={error:B(n.data)}),this.isDataLoading=!1,e}))},confirmLimitWithAutologin(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.confirmLimitWithAutologin(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];if(r){e={response:r};const a=!Object(E["b"])("player/isPlayerAuthorized")&&Boolean(null===t||void 0===t?void 0:t.autologin_token);a&&(yield Object(E["a"])("player/fetchData",!0,{root:!0})),yield this.fetchData()}return Object(M["b"])(n)&&(e={error:B(n.data)}),this.isDataLoading=!1,e}))},disableLimit(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield L.disableLimit(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(e={response:r},yield this.fetchData()),Object(M["b"])(n)&&(e={error:N(n.data)}),this.isDataLoading=!1,e}))},disableRealityCheckLimit(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};this.isDataLoading=!0;const e=yield L.disableRealityCheckLimit(),a=Object(i["a"])(e,2),s=a[0],n=a[1];return n&&(t={response:n},yield this.fetchRealityCheckData()),Object(M["b"])(s)&&(t={error:F(s.data)}),this.isDataLoading=!1,t}))}};var G=R,U=(a("4de4"),a("caad"),a("d81d"),a("14d9"),a("13d5"),a("2532"),a("88c3")),q=a("42be"),z=a("3b6f");const V={getData(){return this.data},getRealityCheckData(){return this.realityCheckData},getIsDataLoading(){return this.isDataLoading},getDataIsLoaded(){return this.dataIsLoaded},getIsCoolingOffActive(){return Boolean(this.getData.find(t=>t.type_name===q["a"]&&q["c"].includes(t.status)))},getExceededDepositLimit(){const t=Object(E["b"])("player/getCurrencyCode");return this.getData.find(e=>{var a;const i=null===(a=e.account_limits)||void 0===a?void 0:a.filter(({currency:e})=>e===t),s=null===i||void 0===i?void 0:i.some(({amount_cents:t,current_value_amount_cents:e})=>t-e<=0);return e.type_name===q["b"]&&q["c"].includes(e.status)&&s})},getExceededLossOrWagerLimit(){const t=[q["d"],q["j"]],e=Object(E["b"])("player/getCurrencyCode");return this.getData.find(a=>{var i;const s=null===(i=a.account_limits)||void 0===i?void 0:i.filter(({currency:t})=>t===e),n=null===s||void 0===s?void 0:s.some(({amount_cents:t,current_value_amount_cents:e})=>{const i=a.type_name===q["d"]?t+e:t-e;return i<=0});return t.includes(a.type_name)&&q["c"].includes(a.status)&&n})},getIsPlayingRestricted(){return this.getIsCoolingOffActive||Boolean(this.getExceededLossOrWagerLimit)},getActiveDepositLimits(){return this.getData.filter(t=>t.type_name===q["b"]&&q["c"].includes(t.status))},getActiveSessionLimit(){return this.getData.find(t=>t.type_name===q["g"]&&q["c"].includes(t.status))},getAllTimeLimits(){return q["i"].reduce((t,e)=>(t[e]=Object(z["d"])(e),t),{})},getTimeLimits(){return Object.keys(this.getAllTimeLimits).map(t=>{let e=Object(z["d"])(t);e.length||(e=[{type_name:t}]);const a=Object(z["a"])(e,t);return a.get(t)})},getAllMoneyLimits(){return this.getData.reduce((t,e)=>{const a=e.type_name;return q["e"].includes(a)?(t[a]||(t[a]=[]),t[a].push(e),t):t},{})},getMoneyLimits(){return q["e"].map(t=>{const e=this.getAllMoneyLimits[t]||[],a=e.find(({cancelable_until:t})=>t)||e[0];return null!==a&&void 0!==a?a:{type_name:t}})},getCoolingOffOptions(){const t=["day","day_3","week","month","month_3","month_6"];return t.map(t=>{const e={code:t,label:U["a"].t("limits.periods."+t).toString()};return e})},getSelfExclusionOptions(){const t=["month","month_3","month_6","month_9","month_12"],e=["select-options_1-month","select-options_3-months","select-options_6-months","select-options_9-months","select-options_1-year"];return t.map((t,a)=>{const i={code:t,label:U["a"].t("limits.periods."+t).toString(),dataTest:e[a]};return i})},getRealityCheckOptions(){const t=[15,30,45,60];return t.map(t=>{const e={code:t,label:`${t} ${U["a"].tc("minutes",t).toString()}`};return e})},getMoneyLimitsOptions(){const t=["day","week","month"];return t.map(t=>{const e={code:t,label:U["a"].t(`limits.periods.${t}_alt`).toString()};return e})}};var W=V;const $=()=>({data:[],realityCheckData:null,isDataLoading:!1,dataIsLoaded:!1,isRealityCheckDataLoading:!1,isRealityCheckDataLoaded:!1});var H=$;e["a"]={actions:G,getters:W,state:H}},"34fa":function(t,e,a){"use strict";var i=a("b85c"),s=a("3835"),n=(a("14d9"),a("4fad"),a("4d63"),a("c607"),a("ac1f"),a("00b4"),a("9ab4")),r=(a("d81d"),a("5319"),a("9098")),o=a("2b5f");const d="/api/v4/lotteries?conversion_currency=%currency%&filters[finished_at]=%finishedAt%",c="api/cms/v4/lottery_content/%id%/%currency%/%lang%",u=(t="",e="")=>{const a=d.replace("%currency%",t).replace("%finishedAt%",e);return Object(r["b"])({method:"get",url:a})},l=(t="",e=o["d"],a="")=>{const i=c.replace("%id%",t).replace("%currency%",a).replace("%lang%",e);return Object(r["b"])({method:"get",url:i})},h=(t=[],e=o["d"],a="")=>{const i=t=>c.replace("%id%",t).replace("%currency%",a).replace("%lang%",e),s=t.map(t=>"cms[]="+i(t)).join("&");return Object(r["b"])({method:"get",url:"batch?"+s})};var g,b=a("13ea"),m=a.n(b),v=a("4151"),p=a.n(v),y=a("337c");(function(t){t["Calendar"]="calendar",t["HomeSliderBg"]="home_slider_bg",t["HomeSlider"]="home_slider",t["HomeSliderMobile"]="home_slider_mobile",t["HomeSliderMobileBg"]="home_slider_mobile_bg",t["Profile"]="profile",t["Single_bg"]="single_bg"})(g||(g={}));const f={},_={activeCurrency:null,hash:{},list:[],loaded:!1};var D=a("ca47");const O=(t,e)=>{const a=[];for(let i=0;it.filter(t=>{const s=e[t]||{},n=s.loadedCurrency,r=s.loadedLanguage;return r!==a||n!==i});var C=a("1d74"),L=a("c1df"),A=a("17f5");const w={fetchByIds(t=[]){return Object(n["a"])(this,void 0,void 0,(function*(){if(!t.length||t.some(t=>!t))return{};const e=Object(D["b"])("player/getLangCode"),a=Object(D["b"])("player/getCurrencyCode"),i=j(t,this.extendedData,e,a);if(!i.length)return{};this.isExtendedDataLoading=!0;const n=yield h(i,e,a),r=Object(s["a"])(n,2),o=r[1],d=null===o||void 0===o?void 0:o.data;d&&Object.entries(d).forEach(([t,i])=>{RegExp(/^CmsApiCmsV4LotteryContent.+$/).test(t)&&this.setExtendedData(i,e,a)}),this.getDataByKeys.length&&this.fetchDepositLotteries(),this.isExtendedDataLoading=!1}))},fetchById(t){return Object(n["a"])(this,void 0,void 0,(function*(){if(!t)return{};const e=Object(D["b"])("player/getLangCode"),a=Object(D["b"])("player/getCurrencyCode"),i=j([t],this.extendedData,e,a);if(!i.length)return{};this.isExtendedDataLoading=!0;const n=yield l(t,e,a),r=Object(s["a"])(n,2),o=r[1],d=null===o||void 0===o?void 0:o.data;d&&this.setExtendedData(d,e,a),this.isExtendedDataLoading=!1}))},fetchLotteries(){var t;return Object(n["a"])(this,void 0,void 0,(function*(){const e=Object(D["b"])("player/getCurrencyCode"),a=L["utc"]().subtract(A["a"],"days").format("YYYY-MM-DD");this.setIsDataLoading(!0);const i=yield u(e,a),n=Object(s["a"])(i,2),r=n[1];(null===(t=null===r||void 0===r?void 0:r.data)||void 0===t?void 0:t.lotteries)&&this.setData(r.data),this.setIsDataLoading(!1)}))},fetchDepositLotteries(){var t,e;const a=p()(Object(D["b"])("currencies/getData"),"code"),n=Object(D["b"])("player/getCurrencyCode");this.resetDepositLotteries();let r,o={loaded:!1,list:[],hash:{},activeCurrency:null};var d,c=Object(i["a"])(this.getDataByKeys);try{for(c.s();!(d=c.n()).done;){r=d.value;const i=Object.assign(Object.assign({},this.getData[r]),{deposit:Object.assign({},this.getStateDeposit)});let c,g;for(var u=0,l=Object.entries(i.deposit_scale_rules);ue&&ae?C["a"].UPCOMING:C["a"].EXPIRED},setData(t){var e;if(!t)return;const a={};null===(e=t.lotteries)||void 0===e||e.forEach(t=>{t.in_progress=Object(y["b"])(t),t.status=this.lotteryStatus(t),a[t.id]=t,this.setTopPlayers({id:t.id,data:t.prizes})}),this.data=a,this.dataLoadedAt=new Date},setIsDataLoading(t){this.isDataLoading=!!t},setDepositLotteries(t){t&&(this.deposit=t)},setTopPlayers(t){(null===t||void 0===t?void 0:t.id)&&(this.topPlayers=Object.assign(Object.assign({},this.topPlayers),{[t.id]:t.data}))},setExtendedData(t,e,a){var i;(null===(i=null===t||void 0===t?void 0:t.data)||void 0===i?void 0:i.id)&&(this.extendedData=Object.assign(Object.assign({},this.extendedData),{[t.data.id.toString()]:Object.assign(Object.assign({},t.data),{loadedLanguage:e,loadedCurrency:a})}))},resetDepositLotteries(){this.deposit=_}};var P=w,I=(a("07ac"),a("878d")),S=a("bf24");const T={getData(){const t=Object(D["b"])("player/getStatuses");return Object(I["a"])(this.data,t)},getDataByKeys(){return Object.keys(this.getData)},getLotteriesList(){return Object.values(this.getData)},getIsDataLoading(){return this.isDataLoading},getExtendedData(){return this.extendedData},getAllLotteries(){return Object(S["b"])(this.getLotteries,this.extendedData)},hasExtendedData(){return!!Object.keys(this.extendedData).length},getRecentLotteries(){return this.getLotteriesList.filter(({finished_at:t})=>t)},getActiveLotteries(){const t=this.getLotteries,e=[];for(const a in t){const i=t[a];i.status===C["a"].RUNNING&&e.push(i)}return e?p()(e,"id"):{}},getLotteries(){if(m()(this.getData))return{};const t={},e=this.getDataByKeys,a=Object(D["b"])("currencies/getDataForSpecificCurrency");var s,n=Object(i["a"])(e);try{for(n.s();!(s=n.n()).done;){const e=s.value;t[e]=S["c"].apply({getDataForSpecificCurrency:a},[this.getData[e]])}}catch(r){n.e(r)}finally{n.f()}return t},getActiveLotteriesList(){const t=[],e=Object(D["b"])("currencies/getDataForSpecificCurrency");let a,i;for(var n=0,r=Object.entries(this.getData);nt)},getAllLotteriesList(){return Object.values(this.getAllLotteries)},hasActiveLotteries(){return Object.keys(this.getActiveLotteries).length>0},isLoadingData(){return this.isDataLoading||!1},getTopPlayers(){return this.topPlayers||{}},getTopPlayersByLotteryId(){return t=>this.getTopPlayers[t]||[]},getStateDeposit(){return this.deposit||{}},getLotteriesKeyBy(){return p()(this.getData,"frontend_identifier")||""},getLotteryDataId(){return(t=0,e="")=>{if(t)return this.getAllLotteries[t]||this.getData[t];const a=this.getLotteries,i=[];for(const n in a){const t=a[n];t.frontend_identifier===e&&i.push(t)}const s=i.filter(y["b"])||[];return s.length?this.getAllLotteries[s[s.length-1].id]||{}:i.length&&this.getAllLotteries[i[i.length-1].id]||{}}}};var k=T;const B=()=>({data:f,deposit:_,extendedData:f,isDataLoading:!1,isExtendedDataLoading:!1,topPlayers:{},dataLoadedAt:null,dataLifetime:2e3});var N=B;e["a"]={actions:P,getters:k,state:N}},"3bfc":function(t,e,a){"use strict";const i=()=>({callWithoutAuth:!1,opened:!1});var s=i;const n={getHasOpened(){return this.opened},getCallWithoutAuth(){return this.callWithoutAuth}};var r=n,o=a("ca47");const d={open(){Object(o["b"])("player/isPlayerAuthorized")?(this.setCallWithoutAuth(!1),Object(o["b"])("cmsConfig/getIsGamePage")||Object(o["a"])("overlay/addBodyOverflow",{}),this.setOpened(!0)):this.setCallWithoutAuth(!0)},close(){Object(o["b"])("cmsConfig/getIsGamePage")||Object(o["a"])("overlay/removeBodyOverflow"),this.setOpened(!1)},setOpened(t){this.opened=t},setCallWithoutAuth(t){this.callWithoutAuth=t}};var c=d;e["a"]={actions:c,getters:r,state:s}},"3c64":function(t,e,a){"use strict";const i={hide(){this.isVisible=!1},show(){this.isVisible=!0}};var s=i;const n={getIsVisible(){return this.isVisible}};var r=n;const o=()=>({isVisible:!1});var d=o;e["a"]={actions:s,getters:r,state:d}},"3c84":function(t,e,a){"use strict";var i=a("3835"),s=a("9ab4"),n=a("d373"),r=(a("d81d"),a("2b80")),o=a.n(r);const d=t=>{let e={browser:null,country:null,created_at:null,current:!0,id:null,ip:null,os:null,user_agent:""};const a=t.map(t=>{const a=o()(t.user_agent),i=`${a.os.name} ${null===a||void 0===a?void 0:a.os.version}`,s=""+a.browser.major||(null===a||void 0===a?void 0:a.browser.version),n=`${a.browser.name} ${s}`;return t.current&&(e=Object.assign(Object.assign({},t),{os:i,browser:n})),Object.assign(Object.assign({},t),{os:i,browser:n})});return{current:e,list:a}};var c=a("9098");const u="api/player/sessions",l="api/v4/player/sessions",h=()=>Object(c["b"])({method:"get",url:u}),g=t=>Object(c["b"])({method:"delete",url:`${u}/${t}`}),b=()=>Object(c["b"])({method:"delete",url:l+"/inactive"});var m=a("10ea");const v={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield n["a"].apiV2().fetchData({modules:["playerSessions"],forced:t})}))},loadSessionsList(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};this.setIsDataLoading(!0);const e=yield h(),a=Object(i["a"])(e,2),s=a[0],n=a[1];return n&&this.setData(null===n||void 0===n?void 0:n.data),this.setIsDataLoading(!1),Object(m["b"])(s)&&(t={error:s}),t}))},deleteSession(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};this.setIsDataLoading(!0);const a=yield g(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return r&&(yield this.loadSessionsList()),this.setIsDataLoading(!1),Object(m["b"])(n)&&(e={error:n}),e}))},deleteSessions(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};this.setIsDataLoading(!0);const e=yield b(),a=Object(i["a"])(e,2),s=a[0],n=a[1];return n&&(yield this.loadSessionsList()),this.setIsDataLoading(!1),Object(m["b"])(s)&&(t={error:s}),t}))},changePage(t){this.setPageNumber(t),this.fetchData()},setData(t){if(!(null===t||void 0===t?void 0:t.length))return void(this.list=[]);const e=d(t);this.list=e.list,this.current=e.current,this.setDataLoadedAt()},resetData(){this.current={browser:null,country:null,created_at:null,current:!0,id:null,ip:null,os:null,user_agent:""},this.list=[],this.pageNumber=0},setIsDataLoading(t){this.isDataLoading=t},setDataLoadedAt(){this.dataLoadedAt=new Date},setPageNumber(t){this.pageNumber=t}};var p=v;a("4de4");const y={getSessionsList(){return this.list},getIsDataLoading(){return this.isDataLoading},getPageNumber(){return null===this||void 0===this?void 0:this.pageNumber},getPageSize(){return null===this||void 0===this?void 0:this.pageSize},getTotalItems(){return null===this||void 0===this?void 0:this.totalItems},getActiveSession(){return this.list.find(({current:t})=>t)},getSessionsListWithoutActive(){return this.list.filter(({current:t})=>!t)}};var f=y;const _=()=>({current:{browser:null,country:null,created_at:null,current:!0,id:null,ip:null,os:null,user_agent:""},dataLoadedAt:null,isDataLoading:!1,list:[],pageNumber:0,pageSize:25,totalItems:0});var D=_;e["a"]={actions:p,getters:f,state:D}},4226:function(t,e,a){"use strict";var i=a("3835"),s=(a("caad"),a("d81d"),a("14d9"),a("fb6a"),a("4e82"),a("ac1f"),a("2532"),a("841c"),a("9ab4")),n=a("ca47"),r=a("9098");const o="api/v4/partner_contests/",d=t=>Object(r["b"])({method:"get",url:o,params:t}),c=t=>Object(r["b"])({method:"post",url:o,body:t}),u=t=>Object(r["b"])({method:"get",url:`${o}${t}`}),l=t=>Object(r["b"])({method:"patch",url:`${o}${t}/cancel`}),h=t=>Object(r["b"])({method:"delete",url:`${o}${t}`}),g=()=>Object(r["b"])({method:"get",url:o+"settings"}),b=t=>Object(r["b"])({method:"post",url:`${o}${t}/join`}),m=t=>Object(r["b"])({method:"get",url:`${o}${t}/participants`}),v=({contestId:t,winnerPlace:e})=>Object(r["b"])({method:"post",url:`${o}${t}/winners/${e}/cancel`}),p=({contestId:t,winnerPlace:e})=>Object(r["b"])({method:"post",url:`${o}${t}/winners/${e}/award`}),y=t=>Object(r["b"])({method:"post",url:`${o}${t}/award`});var f=a("e7d4"),_=a("10ea");const D=t=>{var e,a;if(Object(_["b"])(t)){const i=Object.getOwnPropertyNames(t.data),s=null===(a=null===(e=null===t||void 0===t?void 0:t.data)||void 0===e?void 0:e[i[0]][0])||void 0===a?void 0:a.error;return{status:t.status,code:t.statusText||"Unknown Code",message:s||"Unknown Error"}}return{code:"Unknown Code",message:"Unknown Error"}},O={fetchContest(t){var e;return Object(s["a"])(this,void 0,void 0,(function*(){this.setCurrentContestDataLoading(!0);const a=yield u(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];if(this.setCurrentContestDataLoading(!1),!r)return{error:D(n)};this.currentContest=r.data.partner_contest,(null===(e=this.contests)||void 0===e?void 0:e.items)&&(this.contests.items=this.contests.items.map(t=>{var e;return(null===(e=this.currentContest)||void 0===e?void 0:e.id)===t.id?this.currentContest:t}))}))},fetchContests({page:t=0,pageSize:e=25,search:a,sort:n}){return Object(s["a"])(this,void 0,void 0,(function*(){const s=yield d(Object.assign(Object.assign({limit:e,offset:t*e},a&&{["search[id]"]:a.id}),n&&{["sort[by]"]:n.by,["sort[order]"]:n.order})),r=Object(i["a"])(s,2),o=r[0],c=r[1];if(!c)return{error:D(o)};this.contests.items=c.data.partner_contests,this.contests.total=c.data.pagination.count}))},fetchContestSettings(){return Object(s["a"])(this,void 0,void 0,(function*(){const t=yield g(),e=Object(i["a"])(t,2),a=e[0],s=e[1];if(!s)return{error:D(a)};this.contestSettings=s.data}))},createPartnersContest(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield c({partner_contest:t}),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(!n)return{error:D(s)};this.currentContest=n.data.partner_contest,this.participants={items:[],total:0}}))},removeContest({contestId:t,page:e,pageSize:a}){return Object(s["a"])(this,void 0,void 0,(function*(){const s=yield h(t),n=Object(i["a"])(s,2),r=n[0],o=n[1];if(!o)return{error:D(r)};yield this.fetchContests({page:e,pageSize:a})}))},fetchParticipants(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield m(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(!n)return{error:D(s)};this.participants.items=n.data.participants,this.participants.total=n.data.pagination.count}))},revokeContest(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield l(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(s||!n)return{error:D(s)}}))},registerParticipant(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield b(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(s||!n)return{error:D(s)}}))},disqualifyWinner(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield v(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(!n)return{error:D(s)};yield this.fetchContest(t.contestId)}))},awardAllWinners(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield y(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(!n)return{error:D(s)};yield this.fetchContest(t)}))},awardSingleWinner(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield p(t),a=Object(i["a"])(e,2),s=a[0],n=a[1];if(!n)return{error:D(s)};yield this.fetchContest(t.contestId)}))},setParticipant(t){var e;t.id!==(null===(e=Object(n["b"])("player/getRefCode"))||void 0===e?void 0:e.slice(1))&&(this.participants.items.push(t),this.participants.total+=1)},updateContest(t){if(!this.currentContest||!t.id)return;const e=f["b"].FINISHED,a=f["b"].FINISHED_NOT_AWARDED;t.state&&t.id&&[e,a].includes(t.state)?this.fetchContest(t.id):this.currentContest=Object.assign(Object.assign({},this.currentContest),t)},setCurrentContestDataLoading(t){this.currentContestDataLoading=t}};var j=O,C=()=>({currentContest:null,currentContestDataLoading:!1,contestSettings:null,contests:{items:[],total:0},participants:{items:[],total:0}});const L={isOwnerOfCurrentContest(){var t;return Object(n["b"])("player/getPlayerId")===(null===(t=this.currentContest)||void 0===t?void 0:t.creator_id)}};var A=L;e["a"]={actions:j,state:C,getters:A}},4510:function(t,e,a){"use strict";var i=a("3835"),s=a("9ab4"),n=(a("d81d"),a("ac1f"),a("5319"),a("9098")),r=a("2b5f");const o="api/cms/v4/tournament_content/%id%/%currency%/%language%",d="api/v3/tournaments/%id%",c="api/cms/tournaments/money",u=(t=[],e=r["d"],a="")=>{const i=t=>o.replace("%id%",t).replace("%currency%",a).replace("%language%",e),s=t=>d.replace("%id%",t),c=t.map(({id:t,isCMS:e,isBase:a})=>(a?"base[]="+s(t):"")+(a&&e?"&":"")+(e?"cms[]="+i(t):"")).join("&");return Object(n["b"])({method:"get",url:"batch?"+c})},l=t=>Object(n["b"])({method:"get",url:`${c}/${t}`});var h=a("bec0"),g=a("1d74");a("4d63"),a("c607"),a("00b4");const b=t=>{const e={};let a={},i={};if(!t)return{cmsExtendedData:a,extendedData:e,topPlayers:i};const s=t.data;return Object.keys(s).reverse().forEach(t=>{let n=s[t];RegExp(/^CmsApiCmsV4TournamentContent.+$/).test(t)&&(n=n,a=Object.assign(Object.assign({},a),(null===n||void 0===n?void 0:n.data)?{[n.data.id]:n.data}:{})),n&&RegExp(/^BaseApiV3Tournaments.+$/).test(t)&&(n=n,i=Object.assign(Object.assign({},i),{[n.tournament.id]:n.tournament.top_players}),e[n.tournament.id]=Object.assign(Object.assign(Object.assign({},e[n.tournament.id]),n.tournament),{dataUpdatedAt:Date.now()}))}),{cmsExtendedData:a,extendedData:e,topPlayers:i}};a("14d9"),a("13d5");const m=(t=[],e={},a={},i,s,n)=>t.reduce((t,r)=>{var o,d,c;const u=!n&&(!(null===(o=a[r])||void 0===o?void 0:o.dataUpdatedAt)||Date.now()-a[r].dataUpdatedAt>g["b"]),l=!s&&void 0===(null===(c=null===(d=null===e||void 0===e?void 0:e[i])||void 0===d?void 0:d[r])||void 0===c?void 0:c.rulesText);return(u||l)&&t.push({id:r,isCMS:l,isBase:u}),t},[]);var v=a("337c"),p=a("10ea"),y=a("d373"),f=a("4d69");const _=t=>window.vm.$moment.utc(t).valueOf(),D={fetchData(){return Object(s["a"])(this,void 0,void 0,(function*(){yield y["a"].apiV2().fetchData({modules:["tournaments"]})}))},fetchDataForActiveTournaments(t=!0,e=!1){return Object(s["a"])(this,void 0,void 0,(function*(){const a=this.getActiveTournamentsByKeys;yield this.fetchByIds(a,t,e)}))},fetchDataForTournaments(t={}){return Object(s["a"])(this,void 0,void 0,(function*(){const e=Object.keys(t),a=e.length?e:this.getDataByKeys;yield this.fetchByIds(a,!0)}))},fetchByIds(t=[],e=!1,a=!1){return Object(s["a"])(this,void 0,void 0,(function*(){if(!t.length)return{};const s=m(t,this.cmsExtendedData,this.extendedData,this.getCmsIdCacheKey,e,a);if(!s.length)return{};let n={};this.setIsDataLoading(!0);const r=Object(h["b"])("player/getLangCode"),o=Object(h["b"])("player/getCurrencyCode"),d=yield u(s,r,o),c=Object(i["a"])(d,2),l=c[0],g=c[1];Object(p["b"])(l)&&(n={error:l});const v=b(g),y=v.extendedData,f=v.cmsExtendedData,_=v.topPlayers;return this.setExtendedData(y),this.setTopPlayers(_),this.setDataAfterFetchIds(f),this.setIsDataLoading(!1),n}))},fetchBudget(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield l(t),s=Object(i["a"])(a,2),n=s[0],r=s[1];return Object(p["b"])(n)&&(e={error:n}),r&&(e=r.data),this.setIsDataLoading(!1),e}))},tournamentStatus(t){const e=_(t.start_at),a=_(t.end_at);return a>Date.now()&&eDate.now()?g["a"].UPCOMING:g["a"].EXPIRED},setData(t){if(!(null===t||void 0===t?void 0:t.data))return;const e={};t.data.forEach(t=>{t.in_progress=Object(v["a"])(t),t.status=this.tournamentStatus(t),e[t.id]=Object.assign({},t)});const a=Object(f["b"])({dependencies:{lang:t.__langCode__,currency:t.__currency__,countryCode:t.__countryCode__},fields:this.cmsDependencies.fields});this.data[a]=Object.assign(Object.assign({},this.data[a]||{}),e),this.cmsCacheKey=a},setDataAfterFetchIds(t){if(!Object.keys(t).length)return;this.cmsExtendedData[this.getCmsIdCacheKey]||(this.cmsExtendedData[this.getCmsIdCacheKey]={});const e=this.cmsExtendedData[this.getCmsIdCacheKey];for(const a in t)e[a]=Object.assign(Object.assign({},e[a]),t[a])},setExtendedData(t){this.extendedData=Object.assign(Object.assign({},this.extendedData),t)},setTopPlayers(t){this.topPlayers=Object.assign(Object.assign({},this.topPlayers),t)},resetData(){this.data={}},resetExtendedData(){this.extendedData={}},setIsDataLoading(t){this.isDataLoading=t},setTournamentStatusById(t){(null===t||void 0===t?void 0:t.id)&&(null===t||void 0===t?void 0:t.status)&&(this.data[this.cmsCacheKey][t.id].status=t.status)}};var O=D,j=a("b85c"),C=(a("4de4"),a("caad"),a("4fad"),a("07ac"),a("2532"),a("ca47")),L=a("878d"),A=a("4151"),w=a.n(A),P=a("c1df"),I=a.n(P);const S={getData(){var t;const e=Object(C["b"])("player/isDataLoaded"),a=Object(C["b"])("player/getStatuses");if(!e)return{};const i=Object.entries(this.data[this.cmsCacheKey]||{}).reduce((t,[e,a])=>{var i;return t[e]=Object.assign(Object.assign(Object.assign({},a),(null===(i=this.cmsExtendedData[this.getCmsIdCacheKey])||void 0===i?void 0:i[e])||{}),this.getExtendedData[e]||{}),t},{});return null!==(t=Object(L["a"])(i,a))&&void 0!==t?t:{}},getDataByKeys(){return Object.keys(this.getData)},getDataByValues(){return Object.values(this.getData)},getActiveTournamentsByKeys(){return Object.keys(this.getActiveTournaments)},getIsDataLoading(){return this.isDataLoading},getExtendedData(){return this.extendedData},getIsAllExtendDataLoaded(){return this.getDataByKeys.every(t=>Object.keys(this.getExtendedData).includes(t))},getIsActiveExtendDataLoaded(){return this.getActiveTournamentsByKeys.every(t=>Object.keys(this.getExtendedData).includes(t))},getActiveTournaments(){const t={},e=this.getDataByKeys;var a,i=Object(j["a"])(e);try{for(i.s();!(a=i.n()).done;){const e=a.value,i=this.getData[e],s=I.a.utc(i.end_at).valueOf();s>Date.now()&&(t[e]=i)}}catch(s){i.e(s)}finally{i.f()}return t},getActiveExtendTournamentsList(){return this.getIsActiveExtendDataLoaded?Object.values(this.getActiveTournaments):[]},getAllExtendTournamentsList(){return this.getIsAllExtendDataLoaded?Object.values(this.getDataByValues):[]},getTournamentsKeyBy(){return w()(this.getData,"code")||{}},getActiveTournamentsInProgressKeyById(){const t=this.getActiveExtendTournamentsList.filter(({in_progress:t})=>t);return w()(t,"id")||{}},getTournamentsInProgress(){const t=[];var e,a=Object(j["a"])(this.getDataByValues);try{for(a.s();!(e=a.n()).done;){const a=e.value,i=I.a.utc(a.end_at).valueOf(),s=I.a.utc(a.start_at).valueOf();i>Date.now()&&st)},getTopPlayers(){return this.topPlayers||{}},getTopPlayersByTournamentId(){return t=>{var e;return t&&(null===(e=this.getTopPlayers)||void 0===e?void 0:e[t])||[]}},getCmsCacheKey(){return this.cmsCacheKey},getCmsIdCacheKey(){return Object(f["a"])({key:this.cmsCacheKey,dependencies:this.cmsDependencies.fields,fields:["countryCode"]})}};var T=S;const k=()=>({data:{},extendedData:{},isDataLoading:!1,topPlayers:{},cmsCacheKey:"",cmsExtendedData:{},cmsDependencies:{fields:["lang","currency","countryCode"],isDeep:!0}});var B=k;e["a"]={actions:O,getters:T,state:B}},"47e3":function(t,e,a){"use strict";const i=()=>({isPaymentProblemsAlertHide:!1});var s=i,n=a("ccd5");const r={setIsPaymentProblemsAlertHide(){n["d"].isPaymentProblemsAlertHide.set(!0),this.setIsPaymentProblemsAlertHideValue()},checkIsPaymentProblemsAlertHide(){n["d"].isPaymentProblemsAlertHide.get()&&this.setIsPaymentProblemsAlertHideValue()},setIsPaymentProblemsAlertHideValue(){this.isPaymentProblemsAlertHide=!0}};var o=r;const d={getIsPaymentProblemsAlertHide(){return this.isPaymentProblemsAlertHide}};var c=d;e["a"]={actions:o,getters:c,state:s}},"4aa0":function(t,e,a){"use strict";var i;(function(t){t["SIGNIN"]="signin",t["SIGNUP"]="signup"})(i||(i={}));const s={data:{acceptance:!0,registrationForm:"email",tabs:[{active:!1,name:i.SIGNIN,text:"login.title",url:"signin"},{active:!1,name:i.SIGNUP,text:"registration.title",url:"registration"}]}};var n=s;const r=()=>({data:n.data});var o=r;a("d81d");const d={setActiveTab(t){this.data.tabs.map(e=>{e.active=e.name===t})},toggleForm(t){this.data.registrationForm=t},setAcceptance(t){this.data.acceptance=t}};var c=d;const u={getTabs(){var t;return(null===(t=this.data)||void 0===t?void 0:t.tabs)||n.data.tabs},getActiveTab(){return this.getTabs.find(t=>t.active)||n.data.tabs[0]},getRegistrationForm(){var t;return(null===(t=this.data)||void 0===t?void 0:t.registrationForm)||"email"},isEmailForm(){return"email"===this.getRegistrationForm},getAgeAndRuleAcceptance(){var t;return null===(t=this.data)||void 0===t?void 0:t.acceptance}};var l=u;e["a"]={actions:c,getters:l,state:o}},"4c70":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"a",(function(){return s}));a("ac1f"),a("5319");const i=t=>t.replace("/",":"),s=t=>t.replace(":","/")},"57a7":function(t,e,a){"use strict";const i=()=>({data:{},dataLifetime:54e6,dataLoadedAt:null,isDataLoading:!1});var s=i;const n={getData(){return this.data||{}},getDepositsCount(){return this.data.deposits_count||0},getIsDuplicate(){return this.data.duplicate||!1},hasData(){return null!==this.dataLoadedAt},noBonusesForDuplicate(){return Boolean(this.getIsDuplicate&&0===this.getDepositsCount)},hasBonusesForDuplicate(){return Boolean(this.getIsDuplicate&&this.getDepositsCount>0)}};var r=n,o=a("9ab4"),d=a("d373");const c={fetchData(t=!1){return Object(o["a"])(this,void 0,void 0,(function*(){yield d["a"].apiV2().fetchData({modules:["playerStats"],forced:t})}))},setData(t){t&&(this.data=t,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t},resetData(){this.data={}}};var u=c;e["a"]={state:s,actions:u,getters:r}},"596c":function(t,e,a){"use strict";var i,s,n,r,o;a.d(e,"c",(function(){return i})),a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return n})),function(t){t["notExists"]="not_exists",t["isUnverified"]="is_unverified"}(i||(i={})),function(t){t["tooManyPendingDocuments"]="too_many_pending_documents",t["fileError"]="file-error"}(s||(s={})),function(t){t["shouldBeImageOrPdf"]="should be image or pdf"}(n||(n={})),function(t){t["pending"]="pending",t["approved"]="approved",t["not_approved"]="not_approved"}(r||(r={})),function(t){t["id_confirmation"]="id_confirmation",t["selfie_with_id"]="selfie_with_id",t["payment_confirmation"]="payment_confirmation",t["unknown_type"]="unknown_type"}(o||(o={}))},"5a9a":function(t,e,a){"use strict";a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return r})),a.d(e,"c",(function(){return o}));a("07ac");var i=a("be92");a("a630"),a("6062");const s=t=>{const e=t.modules,a=t.localModules,i=t.manualModules,s=void 0===i?{}:i,r=Object.assign({},e);return Object.keys(Object.assign(Object.assign({},a),s)).forEach(t=>{if(!r[t])return void(r[t]=a[t]);if(!a[t]&&!s[t])return;const e=Object.keys(a[t]||[]),i=Object.keys(s[t]||[]),o=Array.from(new Set([...e,...i]));o.forEach(e=>{const i=a[t],o=s[t];r[t][e]="state"!==e?Object.assign(Object.assign(Object.assign({},r[t][e]),null===i||void 0===i?void 0:i[e]),null===o||void 0===o?void 0:o[e]):n(r[t][e],null===i||void 0===i?void 0:i.state,null===o||void 0===o?void 0:o.state)})}),r},n=(t,e,a)=>{let i=t?Object.assign({},t()):{};return e&&(i=Object.assign(Object.assign({},i),e())),a&&(i=Object.assign(Object.assign({},i),a())),()=>i},r=t=>{const e={},a=Object.keys(t);return a.forEach(a=>{e[a]=Object(i["d"])(a,t[a])}),e},o=t=>{}},"65c9":function(t,e,a){"use strict";var i=a("2b5f");const s=()=>({data:{},dataLanguage:i["d"],dataLifetime:6e5,dataLoadedAt:null,isDataLoading:!1});var n=s;const r={getData(){return this.data},getLoadedDataLanguage(){return this.dataLanguage}};var o=r;const d={setData(t){t&&(this.data=(null===t||void 0===t?void 0:t.data)||{},this.dataLanguage=t.__langCode__,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t}};var c=d;e["a"]={state:n,actions:c,getters:o}},"68c1":function(t,e,a){"use strict";var i=a("2b5f");const s=()=>({data:[],dataLanguage:i["d"],dataLoadedAt:null,isDataLoading:!1,cmsDependencies:{fields:["lang","currency","countryCode"]}});var n=s,r=(a("4de4"),a("4151")),o=a.n(r),d=a("c1df"),c=a.n(d),u=a("6c84");const l={getData(){return this.data},getDataKeyBy(){return o()(this.getData,"code")},getLoadedDataLanguage(){return this.dataLanguage},getIsDataLoading(){return this.isDataLoading},getLastPromo(){return this.data[0]||!1},getLastActivePromo(){var t;const e=null===(t=this.data)||void 0===t?void 0:t[0];if(!e)return null;const a=c()(e.date.action_end,u["b"]),i=c()(),s=a.isBefore(i);return s?null:e},getActivePromo(){return this.getActivePromotions[0]},getActivePromotions(){return this.data.filter(({date:t})=>{const e=c()(t.action_end,u["b"]),a=c()();return e.isAfter(a)})},getPromotionsInProgress(){return this.getActivePromotions.filter(({date:t})=>{const e=c()(t.action_start,u["b"]),a=c()();return e.isBefore(a)})},haveManyPromotions(){return this.data.length>1},haveManyActivePromotions(){return this.getActivePromotions.length>1},getDataLoadedAt(){return this.dataLoadedAt}};var h=l,g=a("9ab4"),b=a("d373");const m={fetchData(){return Object(g["a"])(this,void 0,void 0,(function*(){yield b["a"].apiV2().fetchData({modules:["promotions"]})}))},setData(t){t&&(this.data=t.data,this.dataLanguage=t.__langCode__,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t}};var v=m;e["a"]={state:n,actions:v,getters:h}},"6a90":function(t,e,a){"use strict";var i,s,n,r;a.d(e,"a",(function(){return i})),function(t){t["Freebet"]="sport_freebet",t["Wagering"]="sport_wagering",t["RealWagering"]="sport_real_wagering"}(i||(i={})),function(t){t["All"]="all",t["Single"]="single",t["Express"]="express"}(s||(s={})),function(t){t["Min"]="min",t["MinTotal"]="min_total"}(n||(n={})),function(t){t["Max"]="max",t["MaxTotal"]="max_total"}(r||(r={}))},"6b5b":function(t,e,a){"use strict";var i=a("3835"),s=(a("4de4"),a("9ab4")),n=a("d52f");const r=t=>{const e={},a=t.getDateFrom,i=t.getDateTo;(a||i)&&(e.created_at=`${a}..${i}`);const s=t.getStage;return s.length&&(e.stage=s),e};var o=a("ca47");const d=25;var c=a("d322"),u=a("10ea");const l={fetchData(){var t,e;return Object(s["a"])(this,void 0,void 0,(function*(){let a={};const s=r(this),o=this.getPageSize,l=this.getPageNumber,h=(null===(t=s.stage)||void 0===t?void 0:t[0])===c["a"],g={limit:o,offset:l*o,q:h?Object.assign(Object.assign({},s),{stage:[c["d"]]}):s};this.setIsDataLoading(!0);const b=yield n["a"].getBonuses(g),m=Object(i["a"])(b,2),v=m[0],p=m[1];if(p){let t=p.data;const i=null===(e=p.data.bonuses)||void 0===e?void 0:e.filter(t=>t.stage===c["b"]&&t.amount_wager_cents>0);h&&(t={bonuses:i,pagination:{limit:d,offset:0,count:(null===i||void 0===i?void 0:i.length)||0}}),this.setData(t),a={response:this.getPlayerBonuses}}return Object(u["b"])(v)&&(a={error:v}),this.setIsDataLoading(!1),a}))},cancel(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};const a=Object(o["b"])("player/isPlayerAuthorized");if(!a||this.isActionInProcess[t])return{};this.setIsActionInProcess({id:t,status:!0});const s=yield n["a"].cancel(t),r=Object(i["a"])(s,2),d=r[0],c=r[1];return c&&(yield Object(o["a"])("playerAccounts/fetchData",!0),yield this.fetchData(),e={response:this.getPlayerBonuses}),Object(u["b"])(d)&&(e={error:d}),this.setIsActionInProcess({id:t,status:!1}),e}))},cancelAll(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};const e=Object(o["b"])("player/isPlayerAuthorized");if(!e||this.isDataLoading)return{};this.setIsDataLoading(!0);const a={action:"deposit"},s=yield n["a"].cancelAll(a),r=Object(i["a"])(s,2),d=r[0],c=r[1];return c&&(yield this.fetchData(),t={response:this.getPlayerBonuses}),Object(u["b"])(d)&&(t={error:d}),this.setIsDataLoading(!1),t}))},changePageSize(t){this.setPageSize(t),this.fetchData()},changePage(t){this.setPageNumber(t),this.fetchData()},changeDateFrom(t){this.setPageNumber(),this.setDateFrom(t.toString()),this.fetchData()},changeDateTo(t){this.setPageNumber(),this.setDateTo(t.toString()),this.fetchData()},clearDateRange(){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.fetchData()},addStage(t){const e=[...this.getStage,t];this.setPageNumber(),this.setStage(e),this.fetchData()},removeStage(t){const e=this.getStage.filter(e=>e!==t);this.setPageNumber(),this.setStage(e),this.fetchData()},removeAllStages(){this.setStage(),this.fetchData()},clearAllFilters(t=!0){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),t&&this.fetchData()},resetData(){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),this.setData()},setData(t){var e;if(!t)return this.data=[],void(this.totalItems=0);t.errors||(this.data=t.bonuses,this.totalItems=(null===(e=t.pagination)||void 0===e?void 0:e.count)||0)},setIsDataLoading(t){this.dataLoading=t||!1},setIsActionInProcess(t){(null===t||void 0===t?void 0:t.id)&&(t.status||(t.status=!1),this.isActionInProcess[t.id]=t.status)},setPageSize(t){this.pageSize=t||d},setPageNumber(t){this.pageNumber=t||0},setDateFrom(t){this.filters.dateFrom=t||""},setDateTo(t){this.filters.dateTo=t||""},setStage(t){this.filters.stage=t||[]}};var h=l;a("d81d"),a("14d9"),a("13d5");const g={getPlayerBonuses(){return this.data||[]},getPageNumber(){return this.pageNumber},getPageSize(){return this.pageSize},getTotalItems(){return this.totalItems},isDataLoading(){return this.dataLoading},getDateFrom(){return this.filters.dateFrom||""},getDateTo(){return this.filters.dateTo||""},getStage(){return this.filters.stage},activeBonuses(){const t=Object(o["b"])("player/getCurrencyCode");return this.getPlayerBonuses.filter(e=>e.stage===c["b"]&&e.currency===t)},activeBonusesWithHidden(){const t=Object(o["b"])("player/getCurrencyCode");return this.getPlayerBonuses.reduce((e,a)=>{if(a.stage===c["b"]){const i=Object.assign(Object.assign({},a),{hidden:a.currency!==t});e.push(i)}return e},[])},activeFixedBonuses(){return this.activeBonuses.filter(({bonus_fixed:t})=>t)},activeCumulativeBonuses(){return this.activeBonuses.filter(({bonus_fixed:t})=>!t)},bonusesBalance(){let t=0;return this.getPlayerBonuses.filter(({stage:t})=>t===c["b"]).map(({amount_cents:e})=>{t+=e||0}),t/Object(o["b"])("currencies/getCurrentCurrencySubunitsToUnit")},holdBonusesBalance(){return this.getPlayerBonuses.reduce((t,e)=>{if(e.stage!==c["c"])return t;const a=Object(o["b"])("currencies/getDataForSpecificCurrency")(e.currency),i=e.amount_cents/((null===a||void 0===a?void 0:a.subunits_to_unit)||100);return t+i},0)}};var b=g;const m=()=>({data:[],filters:{dateFrom:"",dateTo:"",stage:[]},isActionInProcess:{},dataLoading:!1,pageNumber:0,pageSize:d,totalItems:0});var v=m;e["a"]={actions:h,getters:b,state:v}},"6cde":function(t,e,a){"use strict";var i=a("ccd5");const s=()=>{var t;return{data:{top:[],topByCoefficient:[],topByAmount:[],latest:[],totalWinsSum:0},dataUpdatedAt:null,isDataLatestLoading:!1,isDataTopLoading:!1,isDataTopByAmountLoading:!1,isDataTopByCoefficientLoading:!1,updatePeriod:5e3,isWinnersVisible:null!==(t=i["d"].realTimeWinners.get())&&void 0!==t&&t}};var n=s,r=a("3835"),o=(a("4e82"),a("9ab4")),d=a("9098");const c="api/v4/wins/latest",u="api/v4/wins/top",l=t=>Object(d["b"])({method:"get",url:c,params:t}),h=t=>Object(d["b"])({method:"get",url:u,params:t});var g=a("676a");const b={fetchDataLatest(t){var e;return Object(o["a"])(this,void 0,void 0,(function*(){if(this.isDataLatestLoading)return;this.setIsDataLatestLoading(!0);const a=yield l(t),i=Object(r["a"])(a,2),s=i[1];this.setIsDataLatestLoading(!1);const n=null===(e=null===s||void 0===s?void 0:s.data)||void 0===e?void 0:e.wins;n&&this.setDataLatest(n)}))},fetchDataTop(t){var e,a;return Object(o["a"])(this,void 0,void 0,(function*(){if(this.getIsDataTopLoading(null===t||void 0===t?void 0:t.sort))return;this.setTopDataLoadingBySort(null===t||void 0===t?void 0:t.sort,!0);const i=yield h(t),s=Object(r["a"])(i,2),n=s[1];this.setTopDataLoadingBySort(null===t||void 0===t?void 0:t.sort,!1);const o=null===(e=null===n||void 0===n?void 0:n.data)||void 0===e?void 0:e.wins;if(o)if(null===t||void 0===t?void 0:t.sort){if(t.sort===g["b"].SORT_BY_COEFFICIENT&&this.setDataTopByCoefficient(o),t.sort===g["b"].SORT_BY_AMOUNT){const t=(null===(a=null===n||void 0===n?void 0:n.data)||void 0===a?void 0:a.wins_total_eur)||0;this.setDataTopByAmount(o),this.setTotalWinsSum(t)}}else this.setDataTop(o)}))},handleCentrifugeUpdateLatest(t){const e=t.data;e.length&&this.setDataLatest(e)},setDataLatest(t){t&&t.length&&(this.data.latest=t,this.dataUpdatedAt=new Date)},setDataTop(t){(null===t||void 0===t?void 0:t.length)&&(this.data.top=t,this.dataUpdatedAt=new Date)},setTotalWinsSum(t){t&&(this.data.totalWinsSum=t)},setDataTopByCoefficient(t){(null===t||void 0===t?void 0:t.length)&&(this.data.topByCoefficient=t,this.dataUpdatedAt=new Date)},setDataTopByAmount(t){(null===t||void 0===t?void 0:t.length)&&(this.data.topByAmount=t,this.dataUpdatedAt=new Date)},setTopDataLoadingBySort(t,e){const a={amount:this.setIsDataTopByAmountLoading,coefficient:this.setIsDataTopByCoefficientLoading,top:this.setIsDataTopLoading};a[t||"top"](e)},setIsDataLatestLoading(t){this.isDataLatestLoading=t},setIsDataTopLoading(t){this.isDataTopLoading=t},setIsDataTopByAmountLoading(t){this.isDataTopByAmountLoading=t},setIsDataTopByCoefficientLoading(t){this.isDataTopByCoefficientLoading=t},setIsWinnersVisible(t){this.isWinnersVisible=t}};var m=b,v=(a("13d5"),a("ac1f"),a("5319"),a("6aa8"));const p=t=>{var e,a;const i=t.winner,s=t.playerCurrency,n=t.exchangeRates,r=t.currencies,o=i.bet_amount_cents,d=i.win_amount_cents,c=i.currency,u=i.payout_amount_cents,l=100,h=null!==(a=null===(e=null===r||void 0===r?void 0:r[i.currency])||void 0===e?void 0:e.subunits_to_unit)&&void 0!==a?a:l,g=o/h,b=d/h,m=u/h;return{bet:Object(v["b"])(g,c,s,n),currency:s,win:Object(v["b"])(b,c,s,n),payout_amount_cents:Object(v["b"])(m,c,s,n)}},y=t=>{const e=t.identifier,a=t.games,i=e.replace(":","/"),s=a[i];return s?{identifier:i,picture:s.picture,title:s.title,slug:s.slug,hasDemo:!!s.demo_url,provider:s.provider}:null},f=({winners:t,games:e,playerCurrency:a,exchangeRates:i,currencies:s,statuses:n})=>t.reduce((t,r)=>{const o=y({games:e,identifier:r.game.identifier});return o?[...t,Object.assign(Object.assign(Object.assign(Object.assign({},r),{player:Object.assign(Object.assign({},r.player),{vipClubStatus:D(n,r)})}),p({winner:r,exchangeCurrencies:v["b"],exchangeRates:i,playerCurrency:a,currencies:s})),{game:Object.assign({},o)})]:t},[]),_=({winners:t,games:e,playerCurrency:a,exchangeRates:i,currencies:s,statuses:n})=>t.reduce((t,r)=>{let o={};const d=y({games:e,identifier:r.game.identifier});return d&&(o={game:Object.assign({},d)}),[...t,Object.assign(Object.assign(Object.assign(Object.assign({},r),{player:Object.assign(Object.assign({},r.player),{vipClubStatus:D(n,r)})}),p({winner:r,exchangeCurrencies:v["b"],exchangeRates:i,playerCurrency:a,currencies:s})),o)]},[]),D=(t,e)=>t.find(t=>e.player.statuses.some(e=>{var a,i,s;return(null===(a=null===t||void 0===t?void 0:t.id)||void 0===a?void 0:a.toLowerCase())===(null===(i=e.id)||void 0===i?void 0:i.toLowerCase())&&(null===(s=null===t||void 0===t?void 0:t.conditions)||void 0===s?void 0:s.length)}));var O=a("ca47");const j={getUpdatePeriod(){const t=Object(O["b"])("cmsConfig/getUpdatePeriods");return t.winnersLatest||this.updatePeriod},getDataUpdatedAt(){return this.dataUpdatedAt},getTotalWinsSum(){return this.data.totalWinsSum},getWinnersLatest(){const t=Object(O["b"])("statuses/getStatusesList");return f(Object.assign(Object.assign({winners:this.data.latest},this.getGamesConfigs),{statuses:t}))},getWinnersTop(){const t=Object(O["b"])("statuses/getStatusesList");return f(Object.assign(Object.assign({winners:this.data.top},this.getGamesConfigs),{statuses:t}))},getWinnersTopByCoefficient(){const t=Object(O["b"])("statuses/getStatusesList");return f(Object.assign(Object.assign({winners:this.data.topByCoefficient},this.getGamesConfigs),{statuses:t}))},getWinnersTopByAmount(){const t=Object(O["b"])("statuses/getStatusesList");return f(Object.assign(Object.assign({winners:this.data.topByAmount},this.getGamesConfigs),{statuses:t}))},getWinnersTopByAmountWithLazyGame(){const t=Object(O["b"])("statuses/getStatusesList");return _(Object.assign(Object.assign({winners:this.data.topByAmount},this.getGamesConfigs),{statuses:t}))},getGamesConfigs(){const t=Object(O["b"])("games/gamesObjectIdentifierData"),e=Object(O["b"])("player/getGameCurrencyCode"),a=Object(O["b"])("currencyExchangeRates/getData"),i=Object(O["b"])("currencies/getCurrencies");return{games:t,playerCurrency:e,exchangeRates:a,currencies:i}},getIsDataTopLoading(){return t=>{const e={amount:this.isDataTopByAmountLoading,coefficient:this.isDataTopByCoefficientLoading,top:this.isDataTopLoading};return e[t||"top"]}}};var C=j;e["a"]={actions:m,getters:C,state:n}},"6e43":function(t,e,a){"use strict";const i={getData(){return this.data}};var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["seoMeta"],forced:t})}))},setData(t){t&&t.data&&(this.data=t.data,this.dataLoadedAt=new Date)}};var d=o;const c=()=>({data:{},dataLoadedAt:null});var u=c;e["a"]={actions:d,getters:s,state:u}},"70db":function(t,e,a){"use strict";const i={getData(){return this.data}};var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["seoText"],forced:t})}))},setData(t){t&&t.data&&(this.data=t.data,this.dataLoadedAt=new Date)}};var d=o;const c=()=>({data:{},dataLoadedAt:null});var u=c;e["a"]={actions:d,getters:s,state:u}},7979:function(t,e,a){"use strict";const i=()=>({data:[],dataLoadedAt:null,isChangeStatusDelayed:!1,isDataLoading:!1});var s=i;a("4de4"),a("13d5");const n=(t,e,a)=>{const i=t.type,s=t.min,n=t.max,r=+n,o=+s;let d=0;if("min"===i&&e>o)return{name:a.name,progress:100};if("max"===i&&e=o&&ethis.getStatusesList.filter(t=>t.conditions.length).reduce((e,a)=>{const i=a.conditions[a.conditions.length-1].persistent_comp_points,s=n(i,t,a);return Object.assign(Object.assign({},e),s)},{})},getGlobalMinPointsLastLevel(){var t;const e=this.data.length-1,a=null===(t=this.data[e])||void 0===t?void 0:t.conditions[0].persistent_comp_points.min;return+a||5e4}};var o=r,d=a("9ab4"),c=a("d373");const u={fetchData(t=!1){return Object(d["a"])(this,void 0,void 0,(function*(){yield c["a"].apiV2().fetchData({modules:["statuses"],forced:t})}))},setStatusDelayedValue(t){this.setIsChangeStatusDelayed(t)},setData(t){this.data=(null===t||void 0===t?void 0:t.data)||[],this.dataLoadedAt=new Date},setIsDataLoading(t){this.isDataLoading=t},setIsChangeStatusDelayed(t){this.isChangeStatusDelayed=t}};var l=u;e["a"]={actions:l,getters:o,state:s}},"7f39":function(t,e,a){"use strict";var i=a("3835"),s=(a("13d5"),a("9ab4")),n=a("9098");const r="api/v2/player/payments",o="/api/v4/payments/auto_cashout_alerts",d=()=>Object(n["b"])({method:"get",url:r,params:{"filters[action]":"cashout","filters[state]":"pending"}}),c=()=>Object(n["b"])({method:"get",url:o});var u={data:[],alertsHash:{}},l=a("ca47");const h={fetchData(){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(l["b"])("player/isPlayerAuthorized"))return;this.setIsDataLoading(!0);const t=yield d(),e=Object(i["a"])(t,2),a=e[1];if(a){const t=a.data.payments;this.setData(t),this.setAlertsHash(u.alertsHash),yield this.fetchAlertsDataV4()}this.setIsDataLoading(!1)}))},fetchAlertsDataV4(){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(l["b"])("player/isPlayerAuthorized"))return;const t=yield c(),e=Object(i["a"])(t,2),a=e[1];if(!a)return;const s=a.data.auto_cashout_alerts;if(!(null===s||void 0===s?void 0:s.length))return;const n=s.reduce((t,e)=>{const a=e.payment_id,i=e.alerts;return t[a]=i,t},{});this.addAlertsHash(n)}))},setData(t){t&&(this.data=t)},setAlertsHash(t){this.alertsHash=t},addAlertsHash(t){this.alertsHash=Object.assign(Object.assign({},this.alertsHash),t)},setIsDataLoading(t){this.isDataLoading=t},resetData(){this.data=u.data}};var g=h,b=(a("4de4"),a("d81d"),a("44c6"));const m={getAlertsHash(){return this.alertsHash},getData(){const t=this.data||u.data;return t.map(t=>{var e;return Object.assign(Object.assign({},t),{alerts:Object(l["b"])("player/getIsForbiddenCashoutAlerts")?null===(e=this.getAlertsHash[t.id])||void 0===e?void 0:e.filter(({text:t})=>t!==b["a"]):this.getAlertsHash[t.id]})})},getIsDataLoading(){return this.isDataLoading},getDataArrayLength(){return this.getData.length},getAwaitingPayments(){return this.getData.filter(t=>t.recallable)},isAwaitingPaymentsMoreThanOne(){return this.getAwaitingPayments.length>1},getCashwaitCancelableCount(){return this.getAwaitingPayments.length}};var v=m;const p=()=>({data:u.data,alertsHash:u.alertsHash,isDataLoading:!1});var y=p;e["a"]={actions:g,getters:v,state:y}},"813f":function(t,e,a){"use strict";var i=a("3138");const s=()=>({data:[],isDataLoading:!1,currentPage:0,pageSize:i["c"],totalCount:0});var n=s,r=a("3835"),o=(a("a434"),a("9ab4")),d=a("9098");const c=t=>Object(d["b"])({method:"get",url:i["b"],params:t}),u={fetchData(t=0){return Object(o["a"])(this,void 0,void 0,(function*(){this.setDataLoadingStatus(!0);const e={limit:i["c"],offset:i["c"]*t},a=yield c(e),s=Object(r["a"])(a,2),n=s[1];if(!(null===n||void 0===n?void 0:n.data))return;const o=n.data,d=o.bets,u=o.pagination.count;this.data.length=Math.ceil(u/i["c"]),this.data.splice(t,1,d),this.totalCount=u,this.setDataLoadingStatus(!1)}))},changePage(t=0){return Object(o["a"])(this,void 0,void 0,(function*(){yield this.fetchData(t),this.currentPage=t}))},resetData(){this.data=[],this.totalCount=0},setPageSize(t=i["c"]){this.pageSize=t},setDataLoadingStatus(t){this.isDataLoading=t}};var l=u,h=(a("4de4"),a("0481"),a("d81d"),a("4069"),a("ca47"));const g={getData:t=>t.data,getCurrentPage:t=>t.currentPage,getCurrentPageData(){return(this.getData[this.getCurrentPage]||[]).filter(({result:t})=>t!==i["a"])},getCurrentPageDataInGameCurrency(){const t=Object(h["b"])("currencies/getExchangeOnlyCryptoInGameCurrency");return this.getCurrentPageData.map(e=>Object.assign(Object.assign({},e),{amount:t(e.amount),payout:t(e.payout)}))},getFlatData(){return this.getData.filter(t=>!!t).flat().filter(({result:t})=>t!==i["a"])},getFlatDataInGameCurrency(){const t=Object(h["b"])("currencies/getExchangeOnlyCryptoInGameCurrency");return this.getFlatData.map(e=>Object.assign(Object.assign({},e),{amount:t(e.amount),payout:t(e.payout)}))},getTotalCount:t=>t.totalCount,getPageSize:t=>t.pageSize,getIsDataLoading:t=>t.isDataLoading};var b=g;e["a"]={actions:l,getters:b,state:n}},"87fd":function(t,e,a){"use strict";var i=a("3835"),s=a("9ab4"),n=a("ca47"),r=a("9098");const o="api/v2/player/game_sessions",d=t=>Object(s["a"])(void 0,void 0,void 0,(function*(){return Object(r["b"])({method:"get",url:o,params:t})})),c=(t,e)=>Object(s["a"])(void 0,void 0,void 0,(function*(){return Object(r["b"])({method:"get",url:`${o}/${t}/bets`,params:e})}));var u={getSessions:d,getBetsBySessionId:c};const l=25,h=25,g={fetchData(){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(n["b"])("player/isPlayerAuthorized"))return;this.setIsDataLoading(!0);const t=yield u.getSessions({limit:this.limitData,offset:this.limitData*this.offsetData}),e=Object(i["a"])(t,2),a=e[0],s=e[1];(null===s||void 0===s?void 0:s.data)&&!a?(this.setData(s.data),this.setIsDataLoading(!1)):this.setIsDataLoading(!1)}))},fetchBetsData(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(n["b"])("player/isPlayerAuthorized"))return;this.setIsDataLoading(!0);const e=yield u.getBetsBySessionId(t,{limit:this.limitBetsData,offset:this.limitBetsData*this.offsetBetsData}),a=Object(i["a"])(e,2),s=a[0],r=a[1];(null===r||void 0===r?void 0:r.data)&&!s?(this.setBetsData(r.data),this.setIsDataLoading(!1)):this.setIsDataLoading(!1)}))},changePage(t){this.setOffset(t),this.fetchData()},changeBetsPage(t){this.setBetsOffset(t.pageNumber),this.fetchBetsData(t.id)},setData(t){t&&!(null===t||void 0===t?void 0:t.error)&&(this.data=t.game_sessions||[],this.limitData=this.limitData||l,this.offsetData=this.offsetData||0,this.totalItemsData=t.pagination.count||0)},setBetsData(t){t&&!(null===t||void 0===t?void 0:t.error)&&(this.dataBets=t.bets||[],this.limitBetsData=this.limitBetsData||h,this.offsetBetsData=this.offsetBetsData||0,this.totalItemsBetsData=t.pagination.count||0)},setOffset(t){this.offsetData=t},setBetsOffset(t){this.offsetBetsData=t},clearData(){this.data=[],this.limitData=l,this.offsetData=0,this.totalItemsData=0},clearBetsData(){this.dataBets=[],this.limitBetsData=h,this.offsetBetsData=0,this.totalItemsBetsData=0},resetData(){this.clearData(),this.clearBetsData()},setIsDataLoading(t){this.isLoading=t}};var b=g;a("d81d");const m={getData(){return this.data},getDataBets(){return this.dataBets},getDataInGameCurrency(){const t=Object(n["b"])("currencies/getExchangeOnlyCryptoInGameCurrency");return this.getData.map(e=>Object.assign(Object.assign({},e),{bets_sum:t(e.bets_sum),wins_sum:t(e.wins_sum)}))},getDataBetsInGameCurrency(){const t=Object(n["b"])("currencies/getExchangeOnlyCryptoInGameCurrency");return this.getDataBets.map(e=>Object.assign(Object.assign({},e),{bet:t(e.bet),win:t(e.win)}))},getOffsetBetsData(){return this.offsetBetsData},getLimitBetsData(){return this.limitBetsData},getTotalItemsBetsData(){return this.totalItemsBetsData},getOffsetData(){return this.offsetData},getLimitData(){return this.limitData},getTotalItemsData(){return this.totalItemsData},getIsDataLoading(){return this.isLoading}};var v=m;const p=()=>({data:[],limitData:l,offsetData:0,totalItemsData:0,dataBets:[],limitBetsData:h,offsetBetsData:0,totalItemsBetsData:0,isLoading:!1});var y=p;e["a"]={actions:b,getters:v,state:y}},"89f5":function(t,e,a){"use strict";const i=()=>({authProviderConfirmationToken:null,data:[],dataLoadedAt:null,isDataLoading:!1});var s=i,n=a("3835"),r=a("9ab4"),o=a("ca47"),d=a("9098");const c="api/auth_providers",u="api/v2/auth_providers",l="api/auth_providers/confirm",h=()=>Object(d["b"])({method:"get",url:c}),g=t=>Object(d["b"])({method:"delete",url:`${u}/${t}`}),b=t=>Object(d["b"])({method:"post",url:l,body:{confirmation_token:t}});var m=a("10ea");const v={getAuthProviders(){return Object(r["a"])(this,void 0,void 0,(function*(){this.isDataLoading=!0;const t=yield h(),e=Object(n["a"])(t,2),a=e[0],i=e[1];return this.isDataLoading=!1,i?(this.setData(i.data),{data:i.data}):Object(m["b"])(a)?{error:a}:{}}))},deleteAuthProvider(t){return Object(r["a"])(this,void 0,void 0,(function*(){this.isDataLoading=!0;const e=yield g(t),a=Object(n["a"])(e,2),i=a[0],s=a[1];return this.isDataLoading=!1,s?(this.getAuthProviders(),{data:s.data}):Object(m["b"])(i)?{error:i}:{}}))},sendProviderConfirmation(t){var e;return Object(r["a"])(this,void 0,void 0,(function*(){this.isDataLoading=!0;const a=yield b(t),i=Object(n["a"])(a,2),s=i[0],r=i[1];return this.isDataLoading=!1,Object(m["b"])(s)?{error:s}:((null===(e=null===r||void 0===r?void 0:r.data)||void 0===e?void 0:e.two_factor_enabled)||Object(o["a"])("player/setData",null===r||void 0===r?void 0:r.data,{root:!0}),r?{data:r.data}:{})}))},setAuthProviderConfirmationToken(t){this.authProviderConfirmationToken=t},setData(t=[]){this.data=t,this.dataLoadedAt=new Date},resetData(){this.data=[]}};var p=v;a("4de4");const y={getProvidersList(){return this.data.filter(({id:t})=>t)},getIsDataLoading(){return this.isDataLoading},getAuthProviderConfirmationToken(){return this.authProviderConfirmationToken}};var f=y;e["a"]={actions:p,getters:f,state:s}},"91bf":function(t,e,a){"use strict";a.d(e,"a",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"b",(function(){return r}));var i=a("6f23");const s=["4"],n={awaitEndingTimeout:{errorModel:{id:i["c"]}},codeNotSendable:{errorModel:{id:i["b"]}},default:{errorNotify:{id:"something_went_wrong",type:"error",text:"notification.something_went_wrong"}},smsLimitReached:{errorNotify:{id:i["d"],type:"error",text:"notification.sms_limit_reached"}}},r={default:{errorNotify:{id:"something_went_wrong",type:"error",text:"notification.something_went_wrong"}},notMatch:{errorModel:{id:i["a"],field:"mobile_phone_code",msg:"validation.wrong_confirmation_code"}}}},"92a8":function(t,e,a){"use strict";const i=6e5,s=()=>({data:[],dataLifetime:i,dataLoadedAt:null});var n=s,r=a("9ab4"),o=a("d373");const d={fetchData(t=!1){return Object(r["a"])(this,void 0,void 0,(function*(){yield o["a"].apiV2().fetchData({modules:["locales"],forced:t})}))},setData(t){(null===t||void 0===t?void 0:t.data)&&(this.data=t.data,this.dataLoadedAt=new Date)}};var c=d,u=(a("4de4"),a("13d5"),a("2b5f"));const l={getData(){return this.data||[]},getAvailableData(){return this.getData.filter(({is_hidden:t})=>!t)},getAvailableDataHash(){return this.getAvailableData.reduce((t,e)=>(t[e.code]=e,t),{})},getAvailableLocalesAndAliasesNames(){const t=this.getAvailableData;return t.length?t.reduce((t,e)=>(t=[...t,e.code],e.alias.length&&(t=[...t,...e.alias]),t),[]):[]},getDefaultLocaleCode(){var t,e;const a=window.LANG_CODE||u["d"];if(!(null===(t=this.data)||void 0===t?void 0:t.length))return a;const i=this.data.find(t=>t.default);return(null===i||void 0===i?void 0:i.code)?(null===(e=window.domainInfo)||void 0===e?void 0:e.language)||i.code:a},isCurrentLocaleDefault(){return window.LANG_CODE===this.getDefaultLocaleCode},isCurrentLocaleInList(){return!!this.data.find(({code:t})=>t===window.LANG_CODE)},isDataLoaded(){return!!this.data.length}};var h=l;e["a"]={actions:c,getters:h,state:n}},"95fe":function(t,e,a){"use strict";const i=()=>({cent:{},crypto:{},dataLifetime:0,dataLoadedAt:null,devices:!1,messenger:{token:null},recaptcha:{},googleAuth:{client_id:null}});var s=i,n=(a("ac1f"),a("5319"),a("9ab4")),r=a("d373");const o={fetchData(){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["playerSettings"],forced:!0})}))},setData(t){t&&(this.setCent(t.cent),this.setRecaptcha(t.recaptcha),this.setCrypto(t.crypto),this.setMessenger(t.messenger),this.setGoogleAuth(t.google_one_tap))},setCent(t){var e,a;if(t){const i=null!==(a=null===(e=window.location.protocol)||void 0===e?void 0:e.replace("http","ws"))&&void 0!==a?a:"",s=`${i}//${window.location.host}/cent`;this.cent=Object.assign(Object.assign({},t),{url:s})}},setRecaptcha(t){this.recaptcha=t||{}},setCrypto(t){this.crypto=t||{}},setMessenger(t){this.messenger=t||{token:null}},setGoogleAuth(t){this.googleAuth=t||{client_id:null}},resetData(){this.cent={},this.recaptcha={},this.crypto={},this.googleAuth={client_id:null}}};var d=o;const c={getSiteKey(){var t;return(null===(t=this.recaptcha)||void 0===t?void 0:t.site_key)||""},getCentrifugeConfig(){return this.cent},getPublicKey(){var t;return null!==(t=this.crypto.pub)&&void 0!==t?t:""},getKeyId(){return this.crypto.key_id},getMessengerToken(){return this.messenger.token},getGoogleAuthClientId(){var t;return(null===(t=this.googleAuth)||void 0===t?void 0:t.client_id)||null}};var u=c;e["a"]={actions:d,getters:u,state:s}},"97d0":function(t,e,a){"use strict";var i=a("3835"),s=(a("4de4"),a("e9c4"),a("9ab4")),n=a("d373"),r=a("9098");const o="/api/v2/player/bonuses_digitain",d=t=>Object(r["b"])({method:"delete",url:`${o}/${t}`}),c=t=>Object(r["b"])({method:"get",url:o,params:Object.assign(Object.assign({},t),{q:JSON.stringify(t.q)})}),u=t=>{const e={},a=t.getDateFrom,i=t.getDateTo;(a||i)&&(e.created_at=`${a}..${i}`);const s=t.getStage;return s.length&&(e.stage=s),e};var l=a("13ea"),h=a.n(l),g=a("10ea");const b={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield n["a"].apiV2().fetchData({modules:["playerBonusesDigitain"],forced:t})}))},fetchDataPaginated(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};const e=u(this),a=this.getPageSize,s=this.getPageNumber,n={limit:a,offset:s*a};h()(e)||(n.q=e),this.setIsDataLoading(!0);const r=yield c(n),o=Object(i["a"])(r,2),d=o[0],l=o[1];return l&&(this.setData(l.data),t={response:this.getData}),Object(g["b"])(d)&&(t={error:d}),this.setIsDataLoading(!1),t}))},cancel(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};if(this.getActionIsInProcess(t))return e;this.setIsActionInProcess({id:t,status:!0});const a=yield d(t),s=Object(i["a"])(a,1),n=s[0];return Object(g["b"])(n)?e={error:n||JSON.stringify(n)}:yield this.fetchData(),this.setIsActionInProcess({id:t,status:!1}),e}))},changePageSize(t){this.setPageSize(t),this.fetchDataPaginated()},changePage(t){this.setPageNumber(t),this.fetchDataPaginated()},changeDateFrom(t){this.setPageNumber(),this.setDateFrom(t.toString()),this.fetchDataPaginated()},changeDateTo(t){this.setPageNumber(),this.setDateTo(t.toString()),this.fetchDataPaginated()},setData(t){if(!t)return this.data=[],this.dataAll=[],void(this.totalItems=0);t.errors||(this.data=t.bonuses.filter(({activatable:t,stage:e})=>t||"active"===e),this.dataAll=t.bonuses,this.totalItems=t.pagination.count)},clearAllFilters(t=!0){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),t&&this.fetchDataPaginated()},resetData(){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),this.setData()},setIsActionInProcess(t){t.id&&(this.actionInProcess[t.id]=t.status)},setIsDataLoading(t){this.isDataLoading=t},setPageSize(t){this.pageSize=t},setPageNumber(t){this.pageNumber=t||0},setDateFrom(t){this.filters.dateFrom=t||""},setDateTo(t){this.filters.dateTo=t||""},setStage(t){this.filters.stage=t||[]}};var m=b,v=(a("d81d"),a("ca47")),p=a("6aa8"),y=a("8066");const f={getData(){var t;return null!==(t=this.data)&&void 0!==t?t:[]},getDataByPlayerCurrency(){if(Object(v["b"])("playerAccounts/getIsCryptoPlayerAccount"))return this.getBonusesConvertedIntoCryptoCurrency;const t=Object(v["b"])("player/getCurrencyCode");return this.getData.filter(({currency:e})=>e===t)},getDataByPlayerWithHidden(){if(Object(v["b"])("playerAccounts/getIsCryptoPlayerAccount"))return this.getBonusesConvertedIntoCryptoWithHidden;const t=Object(v["b"])("player/getCurrencyCode");return this.getData.map(e=>Object.assign(Object.assign({},e),{hidden:e.currency!==t}))},getDataAllByPlayerCurrency(){var t;if(Object(v["b"])("playerAccounts/getIsCryptoPlayerAccount"))return this.getAllBonusesConvertedIntoCryptoCurrency;const e=Object(v["b"])("player/getCurrencyCode");return null!==(t=this.dataAll.filter(({currency:t})=>t===e))&&void 0!==t?t:[]},getActionIsInProcess(){return t=>{var e,a;return null!==(a=null===(e=this.actionInProcess)||void 0===e?void 0:e[t])&&void 0!==a&&a}},getIsDataLoading(){return this.isDataLoading},getPageSize(){return this.pageSize},getPageNumber(){return this.pageNumber},getTotalItems(){return this.totalItems},getDateFrom(){return this.filters.dateFrom||""},getDateTo(){return this.filters.dateTo||""},getStage(){return this.filters.stage},getBonusesConvertedIntoCryptoCurrency(){var t,e;const a=Object(v["b"])("player/getGameCurrencyCode"),i=null===(t=Object(v["b"])("currencies/getDataForSpecificCurrency")(a))||void 0===t?void 0:t.subunits_to_unit,n=null===(e=Object(v["b"])("currencies/getDataForSpecificCurrency")(Object(v["b"])("player/getCurrencyCode")))||void 0===e?void 0:e.subunits_to_unit,r=function(t){return Object(p["b"])(t/i,a,Object(v["b"])("player/getCurrencyCode"),Object(v["b"])("currencyExchangeRates/getData"),0,Object(y["a"])(n))*n};return this.getData.filter(({currency:t})=>t===a).map(t=>{t.currency;var e=t.amount_cents,a=t.amount_cancelable_cents,i=t.amount_wager_cents,n=t.amount_wager_requirement_cents,o=Object(s["b"])(t,["currency","amount_cents","amount_cancelable_cents","amount_wager_cents","amount_wager_requirement_cents"]);return Object.assign({amount_cents:r(e),amount_cancelable_cents:r(a),amount_wager_cents:r(i),amount_wager_requirement_cents:r(n),currency:Object(v["b"])("player/getCurrencyCode")},o)})},getAllBonusesConvertedIntoCryptoCurrency(){var t,e;const a=Object(v["b"])("player/getGameCurrencyCode"),i=Object(v["b"])("playerAccounts/getPlayerAccountForSpecificCurrencyCode")(a);if(!i)return[];const n=null===(t=Object(v["b"])("currencies/getDataForSpecificCurrency")(a))||void 0===t?void 0:t.subunits_to_unit,r=null===(e=Object(v["b"])("currencies/getDataForSpecificCurrency")(Object(v["b"])("player/getCurrencyCode")))||void 0===e?void 0:e.subunits_to_unit,o=function(t){return Object(p["b"])(t/n,a,Object(v["b"])("player/getCurrencyCode"),Object(v["b"])("currencyExchangeRates/getData"),0,Object(y["a"])(r))*r};return this.dataAll.filter(({currency:t})=>t===a).map(t=>{t.currency;var e=t.amount_cents,a=t.amount_cancelable_cents,i=t.amount_wager_cents,n=t.amount_wager_requirement_cents,r=Object(s["b"])(t,["currency","amount_cents","amount_cancelable_cents","amount_wager_cents","amount_wager_requirement_cents"]);return Object.assign({amount_cents:o(e),amount_cancelable_cents:o(a),amount_wager_cents:o(i),amount_wager_requirement_cents:o(n),currency:Object(v["b"])("player/getCurrencyCode")},r)})},getBonusesConvertedIntoCryptoWithHidden(){var t,e;const a=Object(v["b"])("player/getGameCurrencyCode"),i=null===(t=Object(v["b"])("currencies/getDataForSpecificCurrency")(a))||void 0===t?void 0:t.subunits_to_unit,n=null===(e=Object(v["b"])("currencies/getDataForSpecificCurrency")(Object(v["b"])("player/getCurrencyCode")))||void 0===e?void 0:e.subunits_to_unit,r=(t,e)=>Math.round(Object(p["b"])(t/i,e,Object(v["b"])("player/getCurrencyCode"),Object(v["b"])("currencyExchangeRates/getData"),0,Object(y["a"])(n))*n);return this.getData.map(t=>{var e=t.currency,i=t.amount_cents,n=t.amount_cancelable_cents,o=t.amount_wager_cents,d=t.amount_wager_requirement_cents,c=Object(s["b"])(t,["currency","amount_cents","amount_cancelable_cents","amount_wager_cents","amount_wager_requirement_cents"]);return Object.assign({amount_cents:r(i,e),amount_cancelable_cents:r(n,e),amount_wager_cents:r(o,e),amount_wager_requirement_cents:r(d,e),currency:Object(v["b"])("player/getCurrencyCode"),hidden:e!==a,used_currency:e},c)})}};var _=f;const D=()=>({data:[],dataAll:[],filters:{dateFrom:"",dateTo:"",stage:[]},actionInProcess:{},totalItems:0,isDataLoading:!1,pageNumber:0,pageSize:25});var O=D;e["a"]={actions:m,getters:_,state:O}},"9f0c":function(t,e,a){"use strict";var i=a("3835"),s=a("9ab4"),n=a("d373"),r=a("ca47"),o=(a("e9c4"),a("9098"));const d="api/player/two_factor",c=t=>Object(o["b"])({method:"delete",url:d,body:JSON.stringify({two_factor:t})}),u=t=>Object(o["b"])({method:"post",url:d,body:{two_factor:t}});var l=a("10ea");const h={setDataString(t){this.dataString=t},setOtpSecret(t){this.otpSecret=t},setData(t){const e=t||{},a=e.data,i=void 0===a?"":a,s=e.otp_secret,n=void 0===s?"":s,r=e.errors;r||(this.setDataString(i),this.setOtpSecret(n))},setIsDataLoading(t){this.isDataLoading=t},resetData(){this.setDataString(""),this.setOtpSecret("")},fetchData(){return Object(s["a"])(this,void 0,void 0,(function*(){yield n["a"].apiV2().fetchData({modules:["player2FASettings"],forced:!0})}))},enable2FA(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(r["b"])("player/isPlayerAuthorized"))return null;this.setIsDataLoading(!0);let e={};const a=yield u(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return Object(l["b"])(o)&&(e={error:o}),d&&(e={response:d},Object(r["a"])("player/setIsTwoFactorEnabled",!0),yield n["a"].apiV2().fetchData({modules:["player"]})),this.setIsDataLoading(!1),e}))},disable2FA(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(r["b"])("player/isPlayerAuthorized"))return null;this.setIsDataLoading(!0);let e={};const a=yield c(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return Object(l["b"])(o)&&(e={error:o}),d&&(e={response:d},Object(r["a"])("player/setIsTwoFactorEnabled",!1),yield n["a"].apiV2().fetchData({modules:["player2FASettings","player"]})),this.setIsDataLoading(!1),e}))}};var g=h;const b={getIsDataLoading(){return this.isDataLoading},getQRCode(){return this.dataString||""},getOtpSecret(){return this.otpSecret||""}};var m=b;const v=()=>({dataLifetime:6e5,dataString:"",isDataLoading:!1,otpSecret:""});var p=v;e["a"]={actions:g,getters:m,state:p}},a742:function(t,e,a){"use strict";const i=()=>({isOpened:!1});var s=i;const n={getIsOpened(){return this.isOpened}};var r=n;const o={toggleOpenedFlag(t){this.isOpened=t}};var d=o;e["a"]={actions:d,getters:r,state:s}},af8b:function(t,e,a){"use strict";const i={};var s=i,n=(a("caad"),a("9ab4")),r=a("959a"),o=a("ca47"),d=a("cbe7");const c=()=>Object(o["b"])("cmsConfig/getDomainWebView"),u=()=>Object(o["b"])("player/getPlayerId"),l=()=>Object(o["b"])("player/getPlayerUuid"),h=()=>Object(o["b"])("player/getLangCode"),g=()=>Object(o["b"])("playerSettings/getMessengerToken"),b=()=>{var t,e;return+(null===(e=null===(t=window.webDataApi)||void 0===t?void 0:t[0])||void 0===e?void 0:e.device_id)||void 0},m=()=>{var t,e;return+(null===(e=null===(t=window.webDataApi)||void 0===t?void 0:t[0])||void 0===e?void 0:e.session_id)||void 0},v=()=>{const t=Object(o["b"])("modal/getOpenedModals"),e=["registration","signin","balance","deposit","play"];return t.some(({name:t})=>e.includes(t))},p={subscribeToPush(){r["a"].subscribe({langCode:h(),userUuid:l(),userId:u(),token:g(),deviceId:b(),sessionId:m()}),this.postponeSubscribingToPush()},checkPushSubscription(){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].checkSubscription({langCode:h(),userUuid:l(),token:g(),userId:u(),deviceId:b(),sessionId:m()})}))},initPushNotifications(){const t=c();"boolean"===typeof t&&(r["a"].init({baseUrl:"https://fresh-notification.com/",isWebViewDomain:t,onShowSubscribeMessage:t=>{if(v())return t();this.isSubscribeNotificationVisible=!0},onStatusChange:()=>{this.isSubscribed=r["a"].isSubscribed}}),t?this.subscribeToPushInApp():this.checkPushSubscription())},postponeSubscribingToPush(){r["a"].postponeSubscribing(864e5),this.isSubscribeNotificationVisible=!1},subscribeToPushInApp(){return Object(n["a"])(this,void 0,void 0,(function*(){const t=d["c"].get();if(t)return r["a"].subscribeInApp({token:g(),uuid:l(),locale:h(),mobilePushToken:t.mobilePushToken,pushReceive:t.pushReceive,isWebView:t.isWebView,version:t.version,projectId:t.projectId,firebaseProjectName:t.firebaseProjectName})}))}};var y=p;const f=()=>({isSubscribed:null,isSubscribeNotificationVisible:null});var _=f;e["a"]={actions:y,getters:s,state:_}},b201:function(t,e,a){"use strict";var i=a("2b5f");const s=()=>({data:{},dataLanguage:i["d"],dataLoadedAt:null,isDataLoading:!1,cmsDependencies:{fields:["lang","currency","countryCode","code"]}});var n=s,r=(a("d81d"),a("a0f1"));const o={getData(){var t;return(null===(t=this.data)||void 0===t?void 0:t.games_list)?Object.assign(Object.assign({},this.data),{games_list:this.data.games_list.map(r["b"])}):null},getLoadedDataLanguage(){return this.dataLanguage}};var d=o,c=a("9ab4"),u=a("d373");const l={fetchData(t){return Object(c["a"])(this,void 0,void 0,(function*(){const e=null===t||void 0===t?void 0:t.code;e&&(this.setIsDataLoading(!0),yield u["a"].apiV2().fetchData({modules:["singlePromotions"],code:e}),this.setIsDataLoading(!1))}))},setData(t){t&&(this.data=t.data,this.dataLanguage=t.__langCode__,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t}};var h=l;e["a"]={state:n,actions:h,getters:d}},b9eb:function(t,e,a){"use strict";a("14d9"),a("13d5");const i={getData(){return this.data},getPopularPaymentsWithImages(){return this.popularPayments.reduce((t,e)=>{const a=this.getData[e]||{},i=a.images;return(null===i||void 0===i?void 0:i.detail)&&(null===i||void 0===i?void 0:i.preview)&&t.push({paymentMethod:e,images:{dark:i.detail,basic:i.preview}}),t},[])}};var s=i,n=a("3835"),r=(a("c975"),a("d81d"),a("a434"),a("9ab4")),o=a("d373"),d=a("9da1"),c=a("0325"),u=a("9098");const l="api/v4/payment_methods/popular",h=t=>Object(u["b"])({method:"get",url:l,params:{country:t}}),g={fetchData(){return Object(r["a"])(this,void 0,void 0,(function*(){yield o["a"].apiV2().fetchData({modules:["paymentsPreviews"]})}))},fetchPopularPayments(t){return Object(r["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const e=yield h(t),a=Object(n["a"])(e,2),i=a[1];if(!(null===i||void 0===i?void 0:i.data))return;const s=i.data,r=s.bank_card_brands,o=s.payment_methods,u=s.popular_payment_methods,l=r.length?r:c["h"],g=u.indexOf(d["c"].BankCard),b=-1!==g;b&&u.splice(g,1,...l);const m=u.map(t=>o[t]?`${o[t]}_${t}`:t+"_brand");this.setPopularPayments(m),this.setIsDataLoading(!1)}))},setData(t){t&&t.data&&(this.data=t.data,this.dataLoadedAt=new Date)},setPopularPayments(t){this.popularPayments=t},resetData(){this.data={}},setIsDataLoading(t){this.isDataLoading=t}};var b=g;const m=()=>({data:{},popularPayments:[],dataLoadedAt:null,isDataLoading:!1,cmsDependencies:{fields:["countryCode","lang"]}});var v=m;e["a"]={actions:b,getters:s,state:v}},bc7a:function(t,e,a){"use strict";const i=()=>({isValidate:{deposit:null,cashout:null},cardNumber:null,isDataLoading:!1});var s=i;const n={isValidateCardNumber(){return this.isValidate},validatedCardNumber(){return this.cardNumber},getIsDataLoading(){return this.isDataLoading}};var r=n,o=a("3835"),d=a("9ab4"),c=a("ca47"),u=a("9098");const l="/api/v3/payment_methods/card_number_check",h=(t,e)=>Object(u["b"])({method:"get",url:l,params:{action:t,currency:e}}),g={fetchCheckCardNumber({force:t=!1,action:e}){return Object(d["a"])(this,void 0,void 0,(function*(){if(!t&&null!==this.isValidate[e])return;this.setIsDataLoading(!0);const a=Object(c["b"])("player/getCurrencyCode").toUpperCase(),i=yield h(e,a),s=Object(o["a"])(i,2),n=s[1];this.setIsDataLoading(!1),this.setData({action:e,data:(null===n||void 0===n?void 0:n.data)||{required:null}})}))},setCardNumber(t){this.cardNumber=t||null},setData({action:t,data:e}){this.isValidate[t]="required"in e&&e.required},setIsDataLoading(t){this.isDataLoading=t},resetData(){this.setData({action:"deposit",data:{required:null}}),this.setData({action:"cashout",data:{required:null}}),this.setCardNumber()}};var b=g;e["a"]={state:s,getters:r,actions:b}},bdf2:function(t,e,a){"use strict";a("13d5");const i={getData(){var t;return null!==(t=this.data)&&void 0!==t?t:[]},getIsDataLoading(){return this.isDataLoading},getTicketsAmount:t=>{var e;const a=null!==(e=t.data)&&void 0!==e?e:[];return t=>{if(!a.length)return 0;const e=a.find(e=>e.lottery_id===t),i=(null===e||void 0===e?void 0:e.tickets)||[];return i.length}},getAllTicketsAmount(){return this.getData.reduce((t,e)=>t+e.tickets.length,0)}};var s=i,n=(a("07ac"),a("9ab4")),r=a("d373");const o={fetchData(t=!1){return Object(n["a"])(this,void 0,void 0,(function*(){this.getIsDataLoading||(this.setIsDataLoading(!0),yield r["a"].apiV2().fetchData({modules:["playerLotteriesStatuses"],forced:t}),this.setIsDataLoading(!1),this.setDataLoadedAt(new Date))}))},setData(t){t&&(this.data=Object.values(t)||[])},resetData(){this.data=[]},setIsDataLoading(t){this.isDataLoading=t},setDataLoadedAt(t){this.dataLoadedAt=t}};var d=o;const c=()=>({data:[],dataLifetime:0,dataLoadedAt:null,isDataLoading:!1});var u=c;e["a"]={actions:d,getters:s,state:u}},bff9:function(t,e,a){"use strict";var i=a("2b5f");const s=()=>({data:[],dataLanguage:i["d"],dataLoadedAt:null,isDataLoading:!1,recentNews:{isDataLoading:!1,dataLoadedAt:null,dataLanguage:i["d"],data:[]},cmsDependencies:{fields:["countryCode","currency","lang"]},pageNumber:1});var n=s;a("caad"),a("d81d"),a("14d9"),a("13d5"),a("4d63"),a("c607"),a("ac1f"),a("2532"),a("5319");const r={getData(){return this.data},getLoadedDataLanguage(){return this.dataLanguage},getIsDataLoading(){return this.isDataLoading},getUniqueTypeCodes(){return this.data.reduce((t,e)=>(e.type_code&&!t.includes(e.type_code)&&t.push(e.type_code),t),[]).map(t=>t.replace(new RegExp("-","g"),"_"))}};var o=r,d=a("3835"),c=a("9ab4"),u=a("d373"),l=a("9098");const h="api/cms/v4/news_selection",g=({limit:t=5,country:e="",currency:a="",language:i=""}={})=>Object(c["a"])(void 0,void 0,void 0,(function*(){const s=`${h}/${t}/${e}/${a}/${i}`;return yield Object(l["b"])({method:"get",url:s})}));var b=a("ca47"),m=a("10ea");const v={fetchData(){return Object(c["a"])(this,void 0,void 0,(function*(){yield u["a"].apiV2().fetchData({modules:["news"]})}))},fetchRecentNews(t){return Object(c["a"])(this,void 0,void 0,(function*(){this.recentNews.isDataLoading=!0;const e=Object(b["b"])("player/getLangCode"),a=Object(b["b"])("player/getCurrencyCode"),i=Object(b["b"])("player/getCountryCode"),s=yield g({limit:t,language:e,currency:a,country:i}),n=Object(d["a"])(s,2),r=n[0],o=n[1];this.recentNews.isDataLoading=!1,!Object(m["b"])(r)&&(null===o||void 0===o?void 0:o.data)&&(this.setRecentNewsData(o.data.data),this.setRecentNewDataLanguage(e),this.setRecentNewsDataLoadedAt(new Date))}))},setData(t){var e;t&&(this.data=null!==(e=t.data)&&void 0!==e?e:[],this.dataLanguage=t.__langCode__,this.dataLoadedAt=new Date)},setIsDataLoading(t){this.isDataLoading=t},setPageNumber(t){this.pageNumber=t},setRecentNewsData(t){t&&(this.recentNews.data=t)},setRecentNewDataLanguage(t){t&&(this.recentNews.dataLanguage=t)},setRecentNewsDataLoadedAt(t){this.recentNews.dataLoadedAt=t}};var p=v;e["a"]={actions:p,getters:o,state:n}},c8a5:function(t,e,a){"use strict";var i=a("3835"),s=(a("caad"),a("2532"),a("9ab4")),n=a("10ea"),r=a("d373");const o="api/",d={AUTH_V4:o+"v4/auth",PLAYER:o+"player",PLAYER_V2:o+"v2/player",PLAYER_V4:o+"v4/player",USER:o+"users",USER_V2:o+"v2/users",USER_V4:o+"v4/users"};var c=a("9098");const u=t=>Object(c["b"])({method:"patch",url:d.USER_V2+"/unlock",body:{user:t}}),l=t=>Object(c["b"])({method:"post",url:d.AUTH_V4+"/unlock/send_code",body:{phone_number:t.phone,confirmation_type:t.type}}),h=t=>Object(c["b"])({method:"post",url:d.AUTH_V4+"/unlock",body:{phone_number:t.phone,code:t.code}});var g=a("4ec6");const b=(t,e)=>Object(c["b"])({method:"post",url:d.USER+"/sign_in",body:{user:t,application:e}}),m=({token:t,country:e,currency:a})=>Object(c["b"])({method:"post",url:d.USER+"/google",body:{country:e,currency:a,token:t,time_zone:Object(g["a"])()}}),v=()=>Object(c["b"])({method:"delete",url:d.USER+"/sign_out"}),p=({user:t,logIdentifier:e})=>Object(c["b"])({method:"post",url:`${d.USER}?for=${e}`,body:{user:t}}),y=t=>Object(c["b"])({method:"patch",url:d.PLAYER_V2,body:{context:"edition",player:t}}),f=t=>{const e=t.email,a=t.currency,i=t.country;return Object(c["b"])({method:"post",url:o+"v2/auth_providers/update_details",body:{user:{email:e,profile_attributes:{country:i,currency:a}}}})},_=({canIssue:t,type:e})=>Object(c["b"])({method:"patch",url:d.PLAYER+"/update_bonus_settings",body:{can_issue:t,type:e}}),D=t=>Object(c["b"])({method:"get",url:`${d.PLAYER_V2}?${t}`}),O=t=>Object(c["b"])({method:"post",url:d.PLAYER+"/groups",body:{groups:t}}),j=t=>Object(c["b"])({method:"get",url:`${d.PLAYER}/errors/geo-denied/${t}`}),C=()=>Object(c["b"])({method:"get",url:d.AUTH_V4+"/restricted_countries"}),L=t=>Object(c["b"])({method:"get",url:d.USER+"/confirmation",params:{confirmation_token:t}}),A=t=>{const e=t.email,a=t.captcha;return Object(c["b"])({method:"post",url:d.USER+"/confirmation",body:{user:{email:e,captcha:a}}})},w=t=>Object(c["b"])({method:"patch",url:d.PLAYER_V4+"/email",body:{email:t}}),P=t=>Object(c["b"])({method:"patch",url:d.USER,body:{user:t}}),I=t=>Object(c["b"])({method:"patch",url:d.USER_V2+"/password",body:{user:t}}),S=t=>Object(c["b"])({method:"patch",url:d.USER_V4+"/password",body:{user:t}}),T=t=>Object(c["b"])({method:"post",url:d.AUTH_V4+"/send_new_password_instructions",body:null,params:{phone_number:t}}),k=t=>{const e=t.captcha,a=t.email;return Object(c["b"])({method:"post",url:d.AUTH_V4+"/send_reset_password_instructions",body:null,params:{captcha:e,email:a}})},B=t=>Object(c["b"])({method:"post",url:d.AUTH_V4+"/new_password/send_code",body:{phone_number:t.phone,confirmation_type:t.type}}),N=t=>Object(c["b"])({method:"post",url:d.AUTH_V4+"/new_password",body:{phone_number:t.phone,code:t.code}});var F=a("e195"),x=a("91bf");const E={unlockAccount(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield u(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return d&&(yield r["a"].apiV2().fetchData({modules:["player"],forced:!0}),e={response:d}),Object(n["b"])(o)&&(e={error:Object(F["c"])(o.data)}),this.setIsDataLoading(!1),e}))},sendCodeUnlockAccount(t){var e;return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const a=yield l(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return this.setInfoResetPassword(null!==(e=null===o||void 0===o?void 0:o.data)&&void 0!==e?e:{}),this.setIsDataLoading(!1),Object(n["b"])(r)?{error:x["a"].includes("3")?Object(F["b"])(r.data):r,response:o}:{error:null,response:o}}))},confirmCodeUnlockAccount(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const e=yield h(t),a=Object(i["a"])(e,2),s=a[0],r=a[1];return this.setIsDataLoading(!1),Object(n["b"])(s)?{error:x["a"].includes("3")?Object(F["a"])(s.data):s,response:r}:{error:null,response:r}}))}};var M=E,R=(a("4de4"),a("d81d"),a("14d9"),a("fb6a"),a("3c65"),a("ac1f"),a("5319"),a("ccd5")),G=a("13ea"),U=a.n(G),q=(a("4fad"),a("6c84"));const z=["1","4","5","6"],V={double_FA_key:{errorModel:{field:"otp_attempt",id:"one-time-password",msg:"validation.2FA_key"}},wrong_password:{errorModel:{field:"password",id:"wrong_password",msg:"validation.wrong_password"}},last_attempt:{errorModel:{field:"password",id:"last_attempt",msg:"validation.last_attempt"},errorNotify:{text:"notification.last_attempt",type:"error"}},user_is_locked:{errorModel:{field:"password",id:"user_is_locked",msg:"validation.user_blocked"},errorNotify:{text:"notification.user_blocked",type:"error"}},wrong_captcha:{errorNotify:{text:"validation.wrong_captcha",type:"error"}},captcha_required:{errorModel:{id:"captcha_required"}},account_temporarily_blocked:{errorModel:{id:"account_temporarily_blocked",msg:"auth_form.account_temporarily_blocked"}},account_temporarily_blocked_by_phone:{errorModel:{id:"account_temporarily_blocked_by_phone",msg:"auth_form.account_temporarily_blocked"}},limit_restrict_access:{errorModel:{field:"password",id:"limit_restrict_access",msg:"auth_form.limit_restrict_access"}},something_went_wrong:{errorModel:{field:"password",id:"something_went_wrong",msg:"validation.something_went_wrong"}},user_already_registered:{errorModel:{field:"email",id:"user_already_registered",msg:"validation.invalid_email"}},invalid_email:{errorModel:{field:"email",id:"invalid_email",msg:"validation.invalid_email"}},email:{errorModel:{field:"email",id:"email",msg:"validation.email"}},wrong_number:{errorModel:{field:"mobile",id:"wrong_number",msg:"validation.wrong_number"}},phone_number:{errorModel:{field:"mobile",id:"phone_number",msg:"validation.wrong_number"}},password_must_be_different:{errorModel:{field:"password",id:"password_must_be_different",msg:"validation.password_must_be_different"}},get gambling_addict_blacklisted(){return z.includes("3")?{errorNotify:{type:"error",text:q["a"]}}:{errorModel:{field:"password",id:"gambling_addict_blacklisted",msg:q["a"]}}}},W={double_FA_key:{errorModel:{id:"one-time-password",msg:"validation.2FA_key"}},user_is_locked:{errorNotify:{text:"notification.user_blocked",type:"error"}},account_temporarily_blocked:{errorModel:{id:"account_temporarily_blocked",msg:"auth_form.account_temporarily_blocked"}},limit_restrict_access:{errorNotify:{id:"limit_restrict_access",text:"auth_form.limit_restrict_access",type:"error"}},something_went_wrong:{errorNotify:{id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}},get gambling_addict_blacklisted(){return z.includes("3")?{errorNotify:{type:"error",text:"validation.auth_gambling_addict_blacklisted"}}:{errorModel:{field:"password",id:"gambling_addict_blacklisted",msg:"validation.auth_gambling_addict_blacklisted"}}}},$={get gambling_addict_blacklisted(){return z.includes("3")?{errorNotify:{type:"error",text:"validation.reg_gambling_addict_blacklisted"}}:{errorModel:{field:"password",id:"gambling_addict_blacklisted",msg:"validation.reg_gambling_addict_blacklisted"}}},captcha_required:{errorModel:{id:"captcha_required"}}},H=(t,e)=>{const a=t.errors||{},i=a.email,s=a.password,n=a.captcha,r=a.otp_attempt,o=a.base,d=o||{},c=d.invalid_login_or_password,u=d.account_temporarily_blocked,l=d.account_temporarily_blocked_by_phone,h=d.limit_restrict_access,g=d.gambling_addict_blacklisted;return(null===r||void 0===r?void 0:r.invalid)?V.double_FA_key:c?{errorModel:{field:e,id:"invalid_login_or_password",msg:"validation.invalid_login_or_password"}}:(null===i||void 0===i?void 0:i.not_found_in_database)?{errorModel:{field:e,id:"invalid_login_data",msg:"validation.invalid_login_or_password"}}:(null===s||void 0===s?void 0:s.wrong_password)?V.wrong_password:(null===s||void 0===s?void 0:s.last_attempt)?V.last_attempt:(null===s||void 0===s?void 0:s.locked)?V.user_is_locked:(null===n||void 0===n?void 0:n.invalid)?V.wrong_captcha:(null===n||void 0===n?void 0:n.required)?V.captcha_required:u?V.account_temporarily_blocked:l?V.account_temporarily_blocked_by_phone:h?V.limit_restrict_access:g?V.gambling_addict_blacklisted:V.something_went_wrong},K=t=>{var e,a,i,s;const n=t.errors||{},r=null===(e=null===n||void 0===n?void 0:n.otp_attempt)||void 0===e?void 0:e.invalid,o=null===(a=null===n||void 0===n?void 0:n.base)||void 0===a?void 0:a.account_temporarily_blocked,d=null===(i=null===n||void 0===n?void 0:n.base)||void 0===i?void 0:i.limit_restrict_access,c=null===(s=null===n||void 0===n?void 0:n.base)||void 0===s?void 0:s.gambling_addict_blacklisted;return r?W.double_FA_key:o?W.account_temporarily_blocked:d?W.limit_restrict_access:c?W.gambling_addict_blacklisted:W.something_went_wrong},Y=t=>{var e;const a=t.errors,i=null===a||void 0===a?void 0:a.email,s=Array.isArray(i)&&i[0],n=!Array.isArray(i)&&(null===i||void 0===i?void 0:i.email_invalid);let r={field:"currency",id:"something_went_wrong",msg:"validation.something_went_wrong"},o=void 0;return Array.isArray(null===a||void 0===a?void 0:a.gambling_addict)&&(null===(e=null===a||void 0===a?void 0:a.gambling_addict)||void 0===e?void 0:e[0])&&(o={type:"error",text:q["a"]}),(s||n)&&(r=V.invalid_email.errorModel),{errorModel:r,errorNotify:o}},J=t=>{var e,a,i,s,n,r,o,d,c,u;const l=t.errors;return(null===(e=null===l||void 0===l?void 0:l.email)||void 0===e?void 0:e.taken)?V.user_already_registered:(null===(a=null===l||void 0===l?void 0:l.email)||void 0===a?void 0:a.email_invalid)?V.invalid_email:(null===(i=null===l||void 0===l?void 0:l.email)||void 0===i?void 0:i.invalid)?V.email:(null===(s=null===l||void 0===l?void 0:l.number)||void 0===s?void 0:s.invalid)?V.wrong_number:(null===(n=null===l||void 0===l?void 0:l.captcha)||void 0===n?void 0:n.invalid)?V.wrong_captcha:(null===(r=null===l||void 0===l?void 0:l.captcha)||void 0===r?void 0:r.required)?V.captcha_required:(null===(o=null===l||void 0===l?void 0:l.number)||void 0===o?void 0:o.taken)||(null===(d=null===l||void 0===l?void 0:l.number)||void 0===d?void 0:d.not_processable)?V.phone_number:(null===(c=null===l||void 0===l?void 0:l.base)||void 0===c?void 0:c.gambling_addict_blacklisted)?$.gambling_addict_blacklisted:(null===(u=null===l||void 0===l?void 0:l.password)||void 0===u?void 0:u.email_equivalent)?V.password_must_be_different:{}},Q=(t={})=>{const e=t.errorModel,a=t.errorNotify;return{errorModel:e,errorNotify:a}},Z=(t,e)=>Q(H(t,e)),X=t=>Q(K(t)),tt=t=>Q(J(t)),et=t=>Q(Y(t)),at=({errors:t={}})=>{var e,a,i;const s=[];if(t.base||Object.entries(t).forEach(t=>{const e=t[1][0]||"validation.something_went_wrong";s.push({id:e,field:t[0],msg:e})}),null===(a=null===(e=t.base)||void 0===e?void 0:e[0].message)||void 0===a?void 0:a.game_currency){const e=null===(i=t.base[0].message)||void 0===i?void 0:i.game_currency[0];s.push({id:e,field:"game_currency",msg:e})}return{errorsArray:s}};a("13d5");const it=(t,e=Date.now())=>t>0?e+1e3*t:0,st={time_left_before_sending_code:"timestamp_left_before_sending_code",time_left_to_edit:"timestamp_left_to_edit",time_left_to_live_code:"timestamp_left_to_live_code"},nt=(t,e=Date.now())=>{const a=Object.entries(st).reduce((a,[i,s])=>{const n=t[i];return"number"===typeof n&&(a[s]=it(n,e)),a},{});return Object.assign(Object.assign({},t),a)};var rt=a("2b5f");const ot=t=>{var e,a;const i=t.userData,s=t.regType,n={bonus_code:i.bonusCode,captcha:i.captcha,password:i.password,password_confirmation:i.password,cookie_accepted:i.cookieAccepted,parent_refcode:i.parent_refcode,profile_attributes:{age_acceptance:i.acceptance,country:i.country,currency:i.currency.toUpperCase(),language:i.language.toLowerCase()||rt["d"],nickname:(null===(e=i.email)||void 0===e?void 0:e.replace(/@([^@]+)$/,""))||(null===(a=i.phone)||void 0===a?void 0:a.number)||"",receive_newsletters:i.mailing,receive_promos:i.mailing,receive_sms_promos:i.mailing,terms_acceptance:i.acceptance,time_zone:i.time_zone,auto_update_time_zone:!0}};return"phone"===s?n.phone=i.phone:n.email=i.email,n},dt=t=>{let e="RUB";if(!t.id){const t=R["d"].userPredefinedSettings.get();e=(null===t||void 0===t?void 0:t.currency)?t.currency:e}return e},ct=t=>{if(t.id)return t.currency;const e=R["d"].userPredefinedSettings.get();return(null===e||void 0===e?void 0:e.gameCurrency)||t.currency},ut=(t,e)=>{var a,i,s,n,r,o,d;const c=e.player||e||{},u=dt(c),l=ct(c),h=rt["d"],g=R["d"].confirmationEmailSentAt.get(),b={chargeable:(null===(a=c.comp_points)||void 0===a?void 0:a.chargeable_30_days)||0,chargeable30Days:(null===(i=c.comp_points)||void 0===i?void 0:i.chargeable_30_days)||0,persistent:(null===(s=c.comp_points)||void 0===s?void 0:s.persistent)||0,persistent30Days:(null===(n=c.comp_points)||void 0===n?void 0:n.persistent_30_days)||0,persistent90Days:(null===(r=c.comp_points)||void 0===r?void 0:r.persistent_90_days)||0},m=(c.id?c.language||t.language:window.LANG_CODE)||h,v=c.language&&c.language!==h?"/"+c.language:"",p=c.currency||t.currency||u,y=c.game_currency||t.gameCurrency||l||u,f=c.currency||t.currency||u;return Object.assign(Object.assign({},t),{id:c.id,personalIdNumber:c.personal_id_number,statuses:c.statuses||[],tags:c.tags||[],uuid:c.uuid||"",compPoints:b,countryCode:c.country_code||h.toUpperCase(),language:m,languageForUrl:v,regionCode:c.region_code,address:c.address,australia:c.australia||!1,city:c.city,country:c.country,state:c.state,currency:p,gameCurrency:y,postalCode:c.postal_code,selectedCurrency:f,authFieldsMissed:c.auth_fields_missed||[],isTwoFactorEnabled:c.two_factor_enabled||!1,email:c.email,mobilePhone:c.mobile_phone,firstName:c.first_name,lastName:c.last_name,middleName:c.middle_name,nickname:c.nickname,avatar:c.avatar,externalAvatarId:c.external_avatar_id,dateOfBirth:c.date_of_birth,docIssueDate:c.doc_issue_date,gender:c.gender,autoLoginLink:c.autologin_link,isAutoRegistered:c.autoregistered,canIssueBonuses:c.can_issue_bonuses,canIssueSportBonuses:c.can_issue_sport_bonuses,depositBonusCode:c.deposit_bonus_code,registrationBonusActivated:c.registration_bonus_activated||!1,registrationBonusSaved:c.registration_bonus_saved||!1,receiveNewLoginEmail:c.receive_new_login_email||!1,receiveNewsletters:c.receive_newsletters||!1,receivePromos:c.receive_promos||!1,receiveSmsPromos:c.receive_sms_promos||!1,refCode:c.refcode||"",confirmedAt:c.confirmed_at,createdAt:c.created_at,currentSignInAt:c.current_sign_in_at,cookieAccepted:c.cookie_accepted||!1,cis:c.cis,confirmationEmailSentAt:g,restoreAccountTimeout:[],time_zone:c.time_zone,auto_update_time_zone:c.auto_update_time_zone,autoIssuingBonuses:c.auto_issuing_bonuses||!1,isEmailConfirmed:c.email_is_confirmed||!1,isAllowAutoLogin:c.allowed_auto_login||!1,subscriptions:c.subscriptions||[],isMultisessionsAllowed:null===(o=c.multi_sessions_allowed)||void 0===o||o,hasPartnerStatus:null!==(d=c.has_partner_status)&&void 0!==d&&d,partnerCode:c.partner_code})};var lt=a("9c92"),ht=a("10ba"),gt=a("d6f1"),bt=a("ca47"),mt=a("954f"),vt=a("8334");const pt={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["player"],forced:t})}))},setData(t){this.data=ut(this.data,t),this.data.restoreAccountTimeout=R["d"].accountRestoreTimeoutBySMS.get()||[],this.dataLoadedAt=new Date;const e=this.data.id;e&&vt["a"].set(mt["a"].USER_ID,String(e),{expires:7})},setTempData(t){this.tempData=U()(t)?{}:Object.assign(this.tempData,t)},setPredefinedData(t){R["d"].userPredefinedSettings.set(t)},removePredefinedData(){R["d"].userPredefinedSettings.remove()},setLanguage(t){const e=t||rt["d"];window.LANG_CODE=e;const a=e!==rt["d"]?"/"+e:"";this.data=Object.assign(Object.assign({},this.data),{language:e,languageForUrl:a}),R["d"].clientLanguage.set(e)},setCurrency(t){this.data.currency=t||"RUB"},setSelectedCurrency(t){this.data.selectedCurrency=t||"RUB"},setIsTwoFactorEnabled(t=!1){this.data.isTwoFactorEnabled=t},setMobilePhone(t=""){this.data.mobilePhone=t},setIsDataLoading(t){this.isDataLoading=t},setConfirmationEmailSentAt(t){this.data.confirmationEmailSentAt=t,t?R["d"].confirmationEmailSentAt.set(t):R["d"].confirmationEmailSentAt.remove()},setAccountRestoreSMSSentAt(t){this.data.restoreAccountTimeout?this.data.restoreAccountTimeout.push(t):this.data.restoreAccountTimeout=[t];let e=R["d"].accountRestoreTimeoutBySMS.get()||[];e=e.filter(({date:t})=>t>Date.now()),e.push(t),R["d"].accountRestoreTimeoutBySMS.set(e)},setPreparedSetGroup(t){this.preparedSetGroup=t},clearBonusCode(){this.data.depositBonusCode=null},setTags(t){Array.isArray(t)&&(this.data.tags=t)},setAutoUpdateTimeZone(t){this.data.auto_update_time_zone=t},setInfoResetPassword(t){this.infoResetPassword=nt(t)},setGeoDeniedErrorCode(t){this.geoDeniedErrorCode=t},setRestrictedCountries(t){this.restrictedCountries=t},sendSeoParams(){return Object(s["a"])(this,void 0,void 0,(function*(){const t=Object(lt["a"])();t&&(this.setIsDataLoading(!0),yield D(t),this.setIsDataLoading(!1))}))},signIn(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=ht["a"].isMobile?"mobile":"desktop",s={type:a,id:this.mobilePushToken||R["d"].firebaseToken.get()},r=t.authData,o=t.regType,d=void 0===o?"email":o,c=yield b(r,s),u=Object(i["a"])(c,2),l=u[0],h=u[1];return Object(n["b"])(l)&&(e={error:Z(l.data,d)}),h&&(this.setData(h.data),e={data:this.getPlayer},window.syncAllCookies&&window.syncAllCookies()),R["d"].playerAuthorized.set(!0),this.setIsDataLoading(!1),e}))},googleAuth(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=Object(bt["b"])("currencies/getAllowCurrencies"),s=(null===a||void 0===a?void 0:a[this.getCountryCode])||(null===a||void 0===a?void 0:a.GLOBAL)||["RUB"],r=yield m({token:t,country:this.getCountryCode,currency:s[0]}),o=Object(i["a"])(r,2),d=o[0],c=o[1];return Object(n["b"])(d)&&(e={error:X(d.data)}),c&&(this.setData(c.data),e={data:this.getPlayer},window.syncAllCookies&&window.syncAllCookies()),R["d"].playerAuthorized.set(!0),this.setIsDataLoading(!1),e}))},signOut(){return Object(s["a"])(this,void 0,void 0,(function*(){if(this.setIsDataLoading(!0),!this.missedCurrency){const t=this.getPlayer,e=t.currency,a=t.gameCurrency,i=Object(bt["b"])("currencies/isCurrencyFiat")(e),s={currency:i?e:a,gameCurrency:a};this.setPredefinedData(s)}yield v(),yield r["a"].batches().signOutBatch(),yield Object(bt["a"])("profileSettings/fetchData",null,{root:!0}),Object(gt["a"])("missing-data"),R["d"].playerAuthorized.set(!1),Object(bt["b"])("currencies/isCurrencyFiat")(this.getCurrencyCode)&&this.setGameCurrency(this.getCurrencyCode),this.setIsDataLoading(!1)}))},registration(t){var e,a,r;return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let s={};const o=ot(t),d=(null===(e=o.email)||void 0===e?void 0:e.split("@")[0])||(null===(r=null===(a=o.phone)||void 0===a?void 0:a.number)||void 0===r?void 0:r.replace("+","").slice(0,7))||"",c=yield p({user:o,logIdentifier:d}),u=Object(i["a"])(c,2),l=u[0],h=u[1];return Object(n["b"])(l)&&(s={error:tt(l.data)}),h&&(this.setData(h.data),s={data:this.getPlayer},window.syncAllCookies&&window.syncAllCookies()),R["d"].playerAuthorized.set(!0),this.setIsDataLoading(!1),s}))},edit(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);t.email;const e=Object(s["b"])(t,["email"]);let a={};const r=yield y(e),o=Object(i["a"])(r,2),d=o[0],c=o[1];return Object(n["b"])(d)&&(a={error:at(d.data)}),c&&(this.setData(c.data),a={data:this.getPlayer}),this.setIsDataLoading(!1),a}))},updateDetails(t){var e;return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let a={};const s=yield f({country:t.country,currency:null===(e=t.currency)||void 0===e?void 0:e.toUpperCase(),email:t.email}),o=Object(i["a"])(s,2),d=o[0],c=o[1];return Object(n["b"])(d)&&(a={error:et(d.data)}),c&&(yield r["a"].apiV2().fetchData({modules:["player","playerAccounts"],forced:!0})),this.setIsDataLoading(!1),a}))},switchGroup(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield O(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return Object(n["b"])(o)&&(e={error:o}),d&&(yield r["a"].apiV2().fetchData({modules:["player"],forced:!0})),this.setIsDataLoading(!1),e}))},changeBonusesAvailability({canIssue:t,type:e="casino"}){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let a={};const s=yield _({canIssue:t,type:e}),o=Object(i["a"])(s,2),d=o[0],c=o[1];return Object(n["b"])(d)&&(a={error:d}),c&&(yield r["a"].apiV2().fetchData({modules:["player"],forced:!0}),a={data:this.getPlayer}),this.setIsDataLoading(!1),a}))},changeLanguage(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0),this.setLanguage(t),this.isPlayerAuthorized&&(yield this.edit({language:t})),this.setIsDataLoading(!1)}))},setCurrencyCode(t){this.setCurrency(t)},setGameCurrencyCode(t){this.setGameCurrency(t)},setGameCurrency(t){this.data.gameCurrency=t||"RUB"},setTimezone(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!t.isPlayerAuthorized)return void(this.data.time_zone=t.time_zone);const e=yield this.edit({time_zone:t.time_zone}),a=e.error;return a||(this.data.time_zone=t.time_zone),{error:a}}))},editGameCurrency(t){return Object(s["a"])(this,void 0,void 0,(function*(){const e=yield this.edit({game_currency:t}),a=e.error;return{error:a}}))},geoDeniedError(){return Object(s["a"])(this,void 0,void 0,(function*(){const t=R["d"].geoDeniedErrorUniqCode.get();if(t)return void this.setGeoDeniedErrorCode(t);const e=[...Array(10)].map(()=>(9*Math.random()).toFixed()).join("");this.setGeoDeniedErrorCode(e),R["d"].geoDeniedErrorUniqCode.set(e),yield j(e)}))},getRestrictedCountries(){return Object(s["a"])(this,void 0,void 0,(function*(){const t=yield C(),e=Object(i["a"])(t,2),a=e[1];a&&this.setRestrictedCountries(a.data)}))},setMobilePushToken(t){this.mobilePushToken=t},setStatusCompPoints({id:t,name:e}){if(!t||!e)return;const a=Object(bt["b"])("statuses/getStatusesList"),i=this.getStatuses.filter(t=>!a.find(e=>e.id.toLowerCase()===t.id.toLowerCase()));i.unshift({id:t,name:e}),this.data.statuses=i}};var yt=pt;const ft={captchaInvalid:{errorNotify:{text:"validation.wrong_captcha",type:"error"}},captchaRequired:{errorModel:{id:"captcha_required"}},default:{errorNotify:{field:"email",id:"something_went_wrong",text:"validation.something_went_wrong"}},notFound:{errorNotify:{field:"email",id:"email_not_found",text:"validation.email_not_found"}},status:{errorNotify:{id:"already_confirmed",text:"notification.already_confirmed",type:"info"}}},_t={default:{errorModel:void 0,errorNotify:void 0},invalidEmail:{errorModel:{field:"email",id:"invalid_email",msg:"validation.invalid_email",text:"validation.invalid_email"},errorNotify:{field:"email",id:"invalid_email",text:"validation.invalid_email",type:"error"}},other:{errorModel:{field:"email",id:"something_went_wrong",msg:"validation.something_went_wrong",text:"validation.something_went_wrong"},errorNotify:{field:"email",id:"something_went_wrong",text:"validation.something_went_wrong"}},readonly:{errorModel:{field:"email",id:"user_cant_change_email",msg:"validation.user_cant_change_email",text:"validation.user_cant_change_email"},errorNotify:{field:"email",text:"validation.user_cant_change_email",type:"error"}},tooLong:{errorModel:{field:"email",id:"email_is_too_long",msg:"validation.email_is_too_long",text:"validation.email_is_too_long"},errorNotify:{field:"email",text:"validation.email_is_too_long",type:"error"}}},Dt=t=>{var e,a,i;const s=t.data||{},n=s.required||[];return!Array.isArray(s.email)&&(null===(e=s.email)||void 0===e?void 0:e.not_found)?ft.notFound:s.email&&422===t.status?ft.status:(null===(a=s.captcha)||void 0===a?void 0:a.invalid)?ft.captchaInvalid:n.includes("captcha")||(null===(i=s.captcha)||void 0===i?void 0:i.required)?ft.captchaRequired:ft.default},Ot=t=>{var e,a,i;const s=(null===(i=null===(a=null===(e=t.errors)||void 0===e?void 0:e.email)||void 0===a?void 0:a[0])||void 0===i?void 0:i.error)||"",n=["email_invalid","invalid","blank","taken"];return n.includes(s)?_t.invalidEmail:"readonly"===s?_t.readonly:"too_long"===s?_t.tooLong:s?_t.other:_t.default},jt={getEmailConfirmation(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield L(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return d&&(yield r["a"].apiV2().fetchData({modules:["player"],forced:!0}),e={response:d}),Object(n["b"])(o)&&(e={error:Dt(o)}),this.setIsDataLoading(!1),e}))},sendEmailConfirmation(t={}){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const e={captcha:t.captcha,email:t.email||this.getEmail};let a={};const s=yield A(e),r=Object(i["a"])(s,2),o=r[0],d=r[1];return d&&(this.setConfirmationEmailSentAt(Date.now()),a={response:e}),Object(n["b"])(o)&&(a={error:Dt(o)}),this.setIsDataLoading(!1),a}))},updateEmail(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield w(t),s=Object(i["a"])(a,2),o=s[0],d=s[1];return d&&(yield r["a"].apiV2().fetchData({modules:["player"],forced:!0}),this.setConfirmationEmailSentAt(Date.now()),e={response:t}),Object(n["b"])(o)&&(e={error:Ot(o.data)}),this.setIsDataLoading(!1),e}))}};var Ct=jt;const Lt=t=>{var e;const a=t.errors||{};let i,s;return(null===a||void 0===a?void 0:a.current_password)?i={field:"current_password",id:"wrong_password",msg:"validation.wrong_password"}:(null===a||void 0===a?void 0:a.password_confirmation)?i={field:"password_confirmation",id:"password_confirmation",msg:"validation.password_confirmation"}:(null===a||void 0===a?void 0:a.password)?Array.isArray(a.password)?i={field:"passwordConfirmation",id:"passwordConfirmation",msg:"validation.password_email_equal"}:a.password.email_equivalent&&(s={text:"password.player_change_error
"+(null===(e=null===a||void 0===a?void 0:a.password)||void 0===e?void 0:e.email_equivalent),type:"error"}):s=a.hasOwnProperty("reset_password_token")?{text:"notification.restore_failed_token",type:"error"}:{text:"validation.something_went_wrong",type:"error"},{errorModel:i,errorNotify:s}},At=t=>{var e,a,i,s,n,r;const o=t.errors||{},d=t.required||[],c=d.includes("captcha")||(null===(e=null===o||void 0===o?void 0:o.captcha)||void 0===e?void 0:e.required)||(null===(n=null===(s=null===(i=null===(a=null===o||void 0===o?void 0:o.base)||void 0===a?void 0:a[0])||void 0===i?void 0:i.error)||void 0===s?void 0:s.captcha)||void 0===n?void 0:n.required);let u,l;return(null===(r=null===o||void 0===o?void 0:o.email)||void 0===r?void 0:r.not_found)?u={field:"email",id:"email_not_found",msg:"validation.email_not_found"}:c?(u={id:"captcha_required"},l={text:"login.solve_recaptcha",type:"error"}):l={text:"notification.restore_password_failed_request",type:"error"},{errorModel:u,errorNotify:l}},wt=t=>{var e,a,i,s,n;const r=t.errors;let o,d;return"minute_limit_reached"===(null===(a=null===(e=null===r||void 0===r?void 0:r.base)||void 0===e?void 0:e[0])||void 0===a?void 0:a.error)?o={field:"mobile",id:"minute_limit_reached",msg:"validation.minute_limit_reached"}:"day_limit_reached"===(null===(s=null===(i=null===r||void 0===r?void 0:r.base)||void 0===i?void 0:i[0])||void 0===s?void 0:s.error)?o={field:"mobile",id:"day_limit_reached",msg:"validation.day_limit_reached"}:(null===(n=null===r||void 0===r?void 0:r.base)||void 0===n?void 0:n.length)&&(d={text:"notification.restore_password_failed_request",type:"error"}),{errorModel:o,errorNotify:d}},Pt={changePassword(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield P(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return o&&(e={response:o}),Object(n["b"])(r)&&(e={error:Lt(r.data)}),this.setIsDataLoading(!1),e}))},changePasswordWithToken(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield I(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return o&&(e={response:o}),Object(n["b"])(r)&&(e={error:Lt(r.data)}),this.setIsDataLoading(!1),e}))},changePasswordWithTokenV4(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield S(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return o&&(e={response:o}),Object(n["b"])(r)&&(e={error:Lt(r.data)}),this.setIsDataLoading(!1),e}))},resetPasswordByPhone(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=this.getRestoreAccountTimeout(t);if(a)e={error:{errorModel:{field:"mobile",id:a.type,msg:"validation."+a.type}}};else{const a=yield T(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];e=Object(n["b"])(r)?{error:wt(r.data)}:{response:o}}return this.setIsDataLoading(!1),e}))},resetPasswordByEmail(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield k(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return o&&(e={response:o}),Object(n["b"])(r)&&(e={error:At(r.data)}),this.setIsDataLoading(!1),e}))},sendCodeResetPassword(t){var e;return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const a=yield B(t),s=Object(i["a"])(a,2),n=s[1];this.setInfoResetPassword(null!==(e=null===n||void 0===n?void 0:n.data)&&void 0!==e?e:{}),this.setIsDataLoading(!1)}))},confirmCodeResetPassword(t){return Object(s["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=yield N(t),s=Object(i["a"])(a,2),r=s[0],o=s[1];return o&&(e={response:o}),Object(n["b"])(r)&&(e={error:r}),this.setIsDataLoading(!1),e}))}};var It=Pt;const St=Object.assign(Object.assign(Object.assign(Object.assign({},M),yt),Ct),It);var Tt=St,kt=(a("466d"),a("2ca0"),a("0e52"));const Bt=36e5,Nt=6e4,Ft=86399999,xt=["cashback:10_percent","cashback:20_percent"],Et={emailConfirmationElapsedTime(){return()=>Date.now()-this.getConfirmationEmailSentAt},getAustralia(){return!!this.data.australia},getCookieAccepted(){return!!this.data.cookieAccepted},getPredefinedData(){return()=>R["d"].userPredefinedSettings.get()||{}},getRestoreAccountTimeout(){return t=>{const e=this.data.restoreAccountTimeout||[];return e.find(({phone:e,date:a})=>e===t&&a>(new Date).valueOf())}},getTempData(){return this.tempData||{}},getLangCode(){const t=Object(bt["b"])("locales/getAvailableData"),e=this.data.language||window.LANG_CODE||rt["d"],a=0===t.length,i=!!t.find(t=>t.code===e),s=a||i;return e&&s?e:Object(bt["b"])("locales/getDefaultLocaleCode")},getLangFlag(){var t;const e=this.getLangCode,a=null===(t=Object(bt["b"])("locales/getData"))||void 0===t?void 0:t.find(t=>t.code===this.getLangCode);return(null===a||void 0===a?void 0:a.code)||e},getCurrencyCode(){const t=Object(bt["b"])("currencies/getAllowCurrencies"),e=(null===t||void 0===t?void 0:t[this.getCountryCode])||(null===t||void 0===t?void 0:t.GLOBAL)||["RUB"],a=this.getPredefinedData().currency;return!this.data.id&&a&&e.includes(a)?a:this.data.id||e.includes(this.data.currency)?this.missedCurrency?e[0]:this.data.currency:e[0]},getGameCurrencyCode(){return this.data.gameCurrency||this.getCurrencyCode},getBalanceCurrencyCode(){const t=Object(bt["b"])("playerAccounts/getShowBalanceInGameCurrency");return t?this.getGameCurrencyCode:this.getCurrencyCode},getSelectedCurrencyCode(){const t="RUB",e=this.data.selectedCurrency||t;return null===e||void 0===e?void 0:e.toUpperCase()},isUsdOrEur(){return"USD"===this.getCurrencyCode||"EUR"===this.getCurrencyCode},isRub(){return"RUB"===this.getCurrencyCode},getCountryCode(){var t;const e=null===(t="ru")||void 0===t?void 0:t.toUpperCase();return window.GEO_CODE||e},isVisibleAccessConfirmationOutsideCountriesNotify(){const t=Object(bt["b"])("cmsConfig/getAccessConfirmationOutsideCountries")||[];return t.includes(this.getCountryCode)&&!R["d"].confirmAccessOutsideCountry.get()},getLanguageForUrl(){const t=Object(bt["b"])("locales/getData")||[];if(this.isPlayerAuthorized){const e=this.data.languageForUrl.replace("/",""),a=t.some(({code:t})=>t===e);if(a)return this.data.languageForUrl}const e=0===t.length,a=e||Object(bt["b"])("locales/isCurrentLocaleInList"),i=window.LANG_CODE===Object(bt["b"])("locales/getDefaultLocaleCode");if(!a||i)return"";const s=window.location.pathname.match(/^\/[a-z]{2}-[a-z]{2}?/)||[""];if((null===s||void 0===s?void 0:s.length)>0){const t=s[0].replace("/",""),e=Object(bt["b"])("locales/getAvailableLocalesAndAliasesNames").includes(t);return e?s[0]:"/"+window.LANG_CODE}return"/"+window.LANG_CODE},getLanguageForRouteParams(){return this.getLanguageForUrl.replace("/","")||null},getIsDataLoading(){return this.isDataLoading},getPlayersImagePath(){var t;return(null===(t=this.data.avatar)||void 0===t?void 0:t.image_path)||""},getExternalAvatarId(){var t;return(null===(t=this.data)||void 0===t?void 0:t.externalAvatarId)||""},getPlayer(){const t={avatar:this.getAvatar,externalAvatarId:this.getExternalAvatarId,address:this.getAddress,authFieldsMissed:this.getAuthFieldsMissed,city:this.getCity,currency:this.getCurrencyCode,selectedCurrency:this.getCurrencyCode,country:this.getCountry,countryCode:this.getCountryCode,canIssueBonuses:this.getCanIssueBonuses,createdAt:this.getCreatedAt,confirmedAt:this.getConfirmedAt,confirmationEmailSentAt:this.getConfirmationEmailSentAt,dateOfBirth:this.getDateOfBirth,email:this.getEmail,firstName:this.getFirstName,gender:this.getGender,id:this.getPlayerId,language:this.getLangCode,languageForUrl:this.getLanguageForUrl,lastName:this.getLastName,middleName:this.getMiddleName,nickname:this.getNickname,postalCode:this.getPostalCode,receiveNewsletters:this.getReceiveNewsletters,receivePromos:this.getReceivePromos,receiveSmsPromos:this.getReceiveSmsPromos,statuses:this.getStatuses,autoIssuingBonuses:this.getAutoIssuingBonuses,isEmailConfirmed:this.getIsEmailConfirmed,isAllowAutoLogin:this.getIsAllowAutoLogin,subscriptions:this.getSubscriptions};return Object.assign(Object.assign({},this.data),t)},getPlayerForSentry(){return{email:this.getEmail,id:this.getPlayerId,nickname:this.getNickname}},getPlayerUuid(){return this.data.uuid||""},getFirstName(){return this.data.firstName||""},getMiddleName(){return this.data.middleName||""},getLastName(){return this.data.lastName||""},getMobilePhone(){return this.data.mobilePhone||""},getIsTwoFactorEnabled(){return this.data.isTwoFactorEnabled},getDateOfBirth(){return this.data.dateOfBirth||""},getNickname(){return this.data.nickname||""},getAvatar(){return this.data.avatar||{}},getAuthFieldsMissed(){return this.data.authFieldsMissed||[]},missedEmail(){return this.getAuthFieldsMissed.includes("email")},missedCurrency(){return this.getAuthFieldsMissed.includes("currency")},missedCountry(){return this.getAuthFieldsMissed.includes("country")},isDataLoaded(){return!!this.dataLoadedAt},isPlayerAuthorized(){var t;return!!(null===(t=this.data)||void 0===t?void 0:t.id)},isTrustedUser(){return!!this.data.statuses&&!!this.data.statuses.find(({id:t})=>"trusted_users"===t.toLowerCase())},getRefCode(){var t;return null===(t=this.data)||void 0===t?void 0:t.refCode},isStaffUser(){return!!this.data.statuses&&!!this.data.statuses.find(({id:t})=>["staff","all_staff","all staff"].includes(null===t||void 0===t?void 0:t.toLowerCase()))},getPlayerId(){return this.data.id||0},getCanIssueBonuses(){return!!this.data.canIssueBonuses},getCanIssueSportBonuses(){return!!this.data.canIssueSportBonuses},isShowBonuses(){return this.getCanIssueBonuses||this.getCanIssueSportBonuses},isCanIssueBonuses(){return this.getCanIssueBonuses&&this.getCanIssueSportBonuses},getStatuses(){return this.data.statuses?this.data.statuses.map(t=>t.id?t:Object.assign(Object.assign({},t),{id:""})):[]},getStatusesHash(){return this.getStatuses.map(({id:t})=>null===t||void 0===t?void 0:t.toLowerCase().replace(/\s/gi,"_"))},getStatusCompPoints(){const t=Object(bt["b"])("statuses/getStatusesList");return t.find(t=>this.getStatuses.some(e=>{var a,i,s;return(null===(a=null===t||void 0===t?void 0:t.id)||void 0===a?void 0:a.toLowerCase())===(null===(i=e.id)||void 0===i?void 0:i.toLowerCase())&&(null===(s=null===t||void 0===t?void 0:t.conditions)||void 0===s?void 0:s.length)}))||{}},getPersistent30DaysCompPoints(){var t;return null===(t=this.data.compPoints)||void 0===t?void 0:t.persistent30Days},getPersistent90DaysCompPoints(){var t;return null===(t=this.data.compPoints)||void 0===t?void 0:t.persistent90Days},getPointsForNextStatus(){var t;if(!this.getStatusCompPoints.next)return this.getStatusCompPoints.points;const e=null===(t=this.getStatusCompPoints.next)||void 0===t?void 0:t.toLowerCase(),a=Object(bt["b"])("statuses/getStatusesList").find(({id:t})=>t.toLowerCase()===e);return+(null===a||void 0===a?void 0:a.points)||0},getPointsBy30DaysForNextStatus(){var t;if(!this.getStatusCompPoints.next)return this.getStatusCompPoints.points_by_30_days;const e=null===(t=this.getStatusCompPoints.next)||void 0===t?void 0:t.toLowerCase(),a=Object(bt["b"])("statuses/getStatusesList").find(({id:t})=>t.toLowerCase()===e);return+(null===a||void 0===a?void 0:a.points_by_30_days)||0},getPointsBy90DaysForNextStatus(){var t;if(!this.getStatusCompPoints.next)return this.getStatusCompPoints.points_by_90_days;const e=null===(t=this.getStatusCompPoints.next)||void 0===t?void 0:t.toLowerCase(),a=Object(bt["b"])("statuses/getStatusesList").find(({id:t})=>t.toLowerCase()===e);return+(null===a||void 0===a?void 0:a.points_by_90_days)||0},getIsStatusCashbackDefaultInPercent(){const t=!!this.getStatuses.find(t=>"cashback_default"===t.id),e=this.getStatuses.find(t=>xt.includes(t.id));return t&&!e},getIsForbiddenCashoutAlerts(){return!1},getStatusCashbackPercent(){return this.getStatuses.find(t=>xt.includes(t.id))||{}},getStatusCashBackPercentNumber(){var t,e;const a=null===(t=this.getStatusCashbackPercent)||void 0===t?void 0:t.id;return a?Number(null===(e=a.match(/\d+/))||void 0===e?void 0:e.shift()):0},hasCashbackStatus(){return this.getStatuses.some(t=>xt.includes(t.id))},minDepositAmountValue(){const t=this.getStatuses.filter(t=>{var e;return null===(e=t.id)||void 0===e?void 0:e.startsWith("payment_")}).map(t=>parseInt(t.id.replace("payment_","")));return t.length?Math.max(...t):0},getConfirmationEmailSentAt(){return Number(this.data.confirmationEmailSentAt)||0},getConfirmedAt(){return this.data.confirmedAt||""},getIsDenyRegistration(){return this.getCountriesDenyRegistration.includes(this.getCountryCode)},getIsDenyAuthorization(){return this.getCountriesDenyAuthorization.includes(this.getCountryCode)},isCountryDeny(){const t=this.getCountryCode,e=Object(bt["b"])("globalCountries/getCountriesKeyBy")[t],a=this.getCountriesDenyAuthorization.includes(t),i=this.getCountriesDenyRegistration.includes(t);return!(!a&&i)&&(q["h"].includes("3")?a:a||!!(null===e||void 0===e?void 0:e.reg_forbidden))},showConfirmEmailNotify(){const t=this.emailConfirmationElapsedTime()>this.emailConfirmationTimeout;return!this.getConfirmedAt&&!!this.getEmail&&this.isPlayerAuthorized&&(!this.getConfirmationEmailSentAt||t)},emailConfirmationTimeout(){return Bt},smsRestorePasswordTimeout(){return t=>"minute_limit_reached"===t?Nt:Ft},getEmail(){return this.data.email||""},getCountry(){return this.data.country||""},getPlayerCountryObject(){return Object(bt["b"])("globalCountries/getCountryById")(this.getCountry)},getCountryWithGeoCode(){return this.data.country||window.GEO_CODE||""},getLangAndCountryWithGeo(){const t=this.getCountryWithGeoCode.toLowerCase();return`${t}-${this.getLangCode}`},getCity(){return this.data.city||""},getAddress(){return this.data.address||""},getPostalCode(){return this.data.postalCode||""},getState(){return this.data.state||""},getGender(){return this.data.gender||""},getReceiveNewsletters(){return this.data.receiveNewsletters},getReceivePromos(){return this.data.receivePromos},getReceiveSmsPromos(){return this.data.receiveSmsPromos},getCreatedAt(){return this.data.createdAt||""},getPreparedSetGroup(){return this.preparedSetGroup},getDepositBonusCode(){return this.data.depositBonusCode},isPlayerFromCisCountry(){var t;return(null===(t=this.data)||void 0===t?void 0:t.cis)||!1},isPatchProfileNeeded(){const t=this.data.currency&&this.getCountry,e=this.missedEmail||this.missedCurrency||this.missedCountry||!t;return Boolean(this.getPlayerId&&e)},getTags(){var t;return(null===(t=this.data)||void 0===t?void 0:t.tags)||[]},getIsGamblingAddict(){return this.getTags.includes(kt["c"].GAMBLING_ADDICT)},getIsVerified(){return this.getTags.includes(kt["c"].VERIFIED)},getIsAskedForDocs(){return this.getTags.includes(kt["c"].ASKED_FOR_DOCS)},getIsAskedForSelfie(){return this.getTags.includes(kt["c"].ASKED_FOR_SELFIE)},getIsAskedForCard(){return this.getTags.includes(kt["c"].ASKED_FOR_CARD)},getIsNeedVerified(){return!this.getIsVerified},getIsNeedSelfieAndVerified(){return!this.getIsVerified||this.getIsAskedForSelfie},getIsNeedCardSelfieNotVerified(){return this.getIsAskedForCard||this.getIsAskedForSelfie||!this.getIsVerified},getIsNeedSelfieNotCard(){return this.getIsAskedForSelfie&&!this.getIsAskedForCard},getIsNeedVerifyNotSelfieNotCard(){return!this.getIsVerified&&!this.getIsAskedForSelfie&&!this.getIsAskedForCard},getIsVerifiedNotSelfieAndCard(){return this.getIsVerified&&!this.getIsAskedForSelfie&&this.getIsAskedForCard},getIsNeedSelfieAndCard(){return this.getIsAskedForCard&&(!this.getIsVerified||this.getIsVerified&&this.getIsAskedForSelfie)},getTimezone(){return this.data.time_zone||Object(g["a"])()},getTimeZoneWithoutDefault(){return this.data.time_zone},getPlayerAutoUpdateTimezone(){var t;return null===(t=this.data.auto_update_time_zone)||void 0===t||t},getAutoIssuingBonuses(){return this.data.autoIssuingBonuses},getIsEmailConfirmed(){return this.data.isEmailConfirmed},getIsAllowAutoLogin(){return this.data.isAllowAutoLogin},getInfoResetPassword(){return this.infoResetPassword},getInfoTimeLeftToLiveCode(){return this.infoResetPassword.time_left_to_live_code||0},getInfoTimeLeftBeforeSendCode(){return this.infoResetPassword.time_left_before_sending_code||0},getIsCurrencyCodeConvertable(){return Object(bt["b"])("currencies/getConvertableCurrenciesFrom").includes(this.getCurrencyCode)},getGeoDeniedErrorCode(){return this.geoDeniedErrorCode},getCountriesDenyRegistration(){return this.restrictedCountries.registration||[]},getCountriesDenyAuthorization(){return this.restrictedCountries.login||[]},getIsOnlyAuthorization(){const t=this.getCountryCode,e=this.getCountriesDenyRegistration.includes(t),a=this.getCountriesDenyAuthorization.includes(t);return e&&!a},getSubscriptions(){return this.data.subscriptions||[]},getSubscriptionsByType(){return t=>this.getSubscriptions.find(({type:e})=>e===t)||{}},getIsMultisessionsAllowed(){return this.data.isMultisessionsAllowed},getIsPartner(){return this.data.hasPartnerStatus},getBonusStatusIds(){return this.getStatuses.reduce((t,{id:e})=>(e.startsWith("bonus:")&&t.push(e),t),[])}};var Mt=Et;const Rt=()=>({data:{},dataLifetime:1e5,dataLoadedAt:null,isDataLoading:!1,preparedSetGroup:null,mobilePushToken:null,tempData:{},infoResetPassword:{},geoDeniedErrorCode:null,restrictedCountries:{}});var Gt=Rt;e["a"]={actions:Tt,getters:Mt,state:Gt}},c8d2:function(t,e,a){"use strict";const i=()=>({data:[],isDataLoading:!1,waitingTournamentId:null});var s=i;a("13d5");const n={getData(){return this.data},getIsTournamentConfirmed(){return t=>this.getData.some(({tournament_id:e,user_confirmed:a})=>e===t&&a)},getIsTournamentParticipated(){return t=>!!this.getData.find(({tournament_id:e})=>e===t)},getParticipatedTournamentData(){return t=>this.getData.find(({tournament_id:e})=>e===t)||null},getWaitingParticipationId(){return this.waitingTournamentId},getIsDataLoading(){return this.isDataLoading},getPlayerTournamentsCount(){return t=>this.getData.reduce((e,{tournament_id:a})=>((null===t||void 0===t?void 0:t[a])&&e++,e),0)}};var r=n,o=a("9ab4"),d=a("d373");const c={fetchData(t=!1){return Object(o["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0),yield d["a"].apiV2().fetchData({modules:["playerTournamentStatuses"],forced:t}),this.setIsDataLoading(!1)}))},setWaitingParticipationId(t=null){this.waitingTournamentId=t},setData(t){this.data=(null===t||void 0===t?void 0:t.player_tournaments)||[]},resetData(){this.data=[],this.waitingTournamentId=null},setIsDataLoading(t){this.isDataLoading=t}};var u=c;e["a"]={state:s,actions:u,getters:r}},cb88:function(t,e,a){"use strict";const i=()=>({contextFieldsData:[],data:{contexts:[]},isDataLoading:!1});var s=i,n=a("3835"),r=(a("caad"),a("2532"),a("9ab4")),o=a("9098");const d="api",c=t=>Object(o["b"])({method:"get",url:d+"/v4/profile_settings",params:{country:t||window.GEO_CODE}}),u=()=>Object(o["b"])({method:"get",url:d+"/v3/profile_settings/fields"});var l=a("bec0"),h=a("6c84");const g={fetchData(){return Object(r["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const t=Object(l["b"])("player/getCountry"),e=yield c(t),a=Object(n["a"])(e,2),i=a[1];i&&this.setData(i.data||{}),this.setIsDataLoading(!1)}))},fetchFieldsParams(){return Object(r["a"])(this,void 0,void 0,(function*(){const t=yield u(),e=Object(n["a"])(t,2),a=e[1],i=(null===a||void 0===a?void 0:a.data.length)?a.data.find(({name:t})=>"state"===t):{valid:!1},s=!!(null===i||void 0===i?void 0:i.valid),r=Object(l["b"])("player/getCountry"),o=Object(l["b"])("globalCountries/getCountriesKeyBy")[r],d=h["k"].includes("3");!this.getIsPresenceField("state")||(null===o||void 0===o?void 0:o.states)||s||d||(yield Object(l["a"])("globalCountries/fetchStatesDataForCountry",{country:r.toLowerCase(),locale:Object(l["b"])("player/getLangCode")})),a&&this.setContextFieldsData(a.data||[])}))},setData(t){this.data=t&&t.profile_settings||{}},setContextFieldsData(t){this.contextFieldsData=t},resetData(){this.contextFieldsData=[],this.data={}},setIsDataLoading(t){this.isDataLoading=t}};var b=g;a("13d5"),a("6062");const m=(t,e)=>e.reduce((e,a)=>{const i=new Set([...e,...t[a]||[]]);return[...i]},[]),v=(t,e)=>t.reduce((t,a)=>{const i=e.find(t=>t.name===a.name);return i&&(t=[...t,Object.assign(Object.assign({},a),i)]),t},[]),p=(t,e,a)=>{const i={};return Object.keys(t).forEach(s=>{const n=t[s],r=a.find(({name:t})=>t===n);i[s]=[],r&&(i[s]=[...r.fields]),i[s]=[...i[s],...e.fields]}),i};var y=a("4151"),f=a.n(y);const _={formContext:()=>(t,e)=>(null===t||void 0===t?void 0:t.provider)||e,getData(){return this.data},getContextFieldsList(){return t=>{const e=m(this.getContexts,t);return v(this.getFieldsParams,e)}},getIsPresenceField(){return t=>{const e=this.data.contexts||[];return e.some(({fields:e})=>e.some(({name:e})=>e===t))}},showStateInProfile(){return!!this.getContextFieldsList(["edition"]).find(({name:t})=>"state"===t)},getContextKeyBy(){return t=>f()(this.getContexts[t],"name")||{}},getIsDataLoading(){return this.isDataLoading},getContexts(){const t=this.data.contexts||[],e=p(this.tempProviders,this.getDefaultContext,t);return t.forEach(({name:t,fields:a})=>{e[t]=a}),e},getDefaultContext(){var t,e;return(null===(e=null===(t=this.data)||void 0===t?void 0:t.contexts)||void 0===e?void 0:e.find(({name:t})=>"play"===t))||{name:"play",fields:[]}},getFieldsParams(){return this.contextFieldsData||[]},hasInvalidFields(){return t=>this.getContextFieldsList([t]).some(({valid:t})=>!t)},hasInvalidFieldsInContext(){return(t,e)=>{const a=this.getContextFieldsList([this.formContext(t,"play"),e]);return 0!==a.length&&a.some(({valid:t})=>!t)}},isEuropean(){return"europe"===this.data.slug},isCanary(){return"canary"===this.data.slug},isRequired(){return(t,e)=>{const a=this.getContextKeyBy(t)[e];return"required"===(null===a||void 0===a?void 0:a.form)}},isShowField(){return(t,e)=>{const a=this.getContextKeyBy(t)[e];return!!(null===a||void 0===a?void 0:a.form)}},tempProviders(){return{"1spin4win":"1spin4win","1x2":"1x2gaming","1x2gaming":"1x2gaming","2by2":"quickfire",adoptit:"quickfire",ainsworth:"quickfire",alchemygaming:"quickfire",all41studios:"quickfire",amatic:"amatic",atomicspin:"quickfire",augustgaming:"epicmedia",belatra:"belatra",bethehouse:"quickfire",bgaming:"softswiss",bigtimegaming:"quickfire",blablabla:"quickfire",blueprint:"epicmedia",booming:"booming",booongo:"infin",bsg:"bsg",crazytooth:"quickfire",dtech:"quickfire",egt:"egt",electricelephant:"quickfire",elk:"elk",endorphina:"endorphina",evolution:"evolution",fantasma:"quickfire",felixgaming:"groove",fortunefactory:"quickfire",foxium:"quickfire",fugaso:"groove",gameburgerstudios:"quickfire",gamevy:"quickfire",genesisgaming:"quickfire",goldcoinstudios:"quickfire",goldenrock:"quickfire",halfpixel:"quickfire",igrosoft:"slotegrator",irondogstudio:"1x2gaming",isoftbet:"isoftbet",jftw:"quickfire",lightningboxgames:"quickfire",mascot:"mrslotty",merkur:"epicmedia",microgaming:"quickfire",neonvalley:"quickfire",netent:"netent",nolimit:"nolimit",oldskool:"quickfire",pearfiction:"quickfire",plankgaming:"quickfire",playngo:"playngo",playson:"slotegrator",playtech:"playtech",pragmatic:"pragmatic",pragmaticexternal:"pragmatic",pragmaticplaylive:"pragmaticexternal",probabilityjones:"quickfire",pulse8:"quickfire",pushgaming:"relax",quickspin:"quickspin",rabcat:"quickfire",realistic:"quickfire",redrake:"quickfire",redtiger:"redtiger",relax:"relax",sigmagaming:"quickfire",skillzzgaming:"quickfire",slingshot:"quickfire",snowborn:"quickfire",spinomenal:"spinomenal",spinplay:"quickfire",stormcraft:"quickfire",stormgames:"quickfire",technology:"technology",thunderkick:"thunderkick",tomhorn:"tomhorn",tripleedgestudios:"quickfire",wazdan:"wazdan",yggdrasil:"yggdrasil"}}};var D=_;e["a"]={actions:b,getters:D,state:s}},d373:function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));var i=a("5a9a"),s=a("1e73"),n=a("a972");const r=Object(i["b"])({modules:s["a"],localModules:n["a"]}),o=Object(i["a"])(r)},d3a1:function(t,e,a){"use strict";a("13d5"),a("07ac");var i=a("9da1");const s={getCryptoWalletData(){return this.cryptoWalletData},getExchangeRatesData(){return this.exchangeRatesData},getIsDataLoading(){return this.isDataLoading},getIsDataLoaded(){return this.isDataLoaded},getPaymentsOnProcessing(){return this.paymentsOnProcessing},getLastPaymentIdOnProcessing(){return Object.values(this.paymentsOnProcessing).reduce((t,e)=>{const a=!(null===e||void 0===e?void 0:e.success)&&!(null===e||void 0===e?void 0:e.error),i=e.id,s=void 0===i?0:i;return a&&tObject(u["b"])({method:"put",url:`/api/v2/player/accounts/${e}/crypto_wallets`,body:t}),h=t=>Object(u["b"])({method:"get",url:`/api/v2/payment_systems/${t}/exchange_rates`}),g=t=>Object(u["b"])({method:"get",url:`/api/v3/payments/${t}/messages`}),b=t=>Object(u["b"])({method:"get",url:"api/v4/payment_methods/links",params:{system_id:t}}),m=t=>{var e;const a=null===(e=null===t||void 0===t?void 0:t.data)||void 0===e?void 0:e.crypto_wallet;if(!a)return null;const i={address:a.address,currency:a.currency,system_id:a.system_id};if(i.address.includes("?dt=")){const t=i.address.split("?dt=");i.details={address:t.shift(),tag:t.shift()||""}}return i};var v=a("0325");const p={fetchData(){return Object(o["a"])(this,void 0,void 0,(function*(){if(this.isDataLoading)return;this.setIsDataLoading(!0),Object(c["b"])("profileSettings/getFieldsParams").length||(yield Promise.all([Object(c["a"])("profileSettings/fetchData"),Object(c["a"])("profileSettings/fetchFieldsParams")]));const t=[];Object(c["b"])("profileSettings/hasInvalidFields")("deposit")||t.push(Object(c["a"])("deposit/fetchData")),Object(c["b"])("profileSettings/hasInvalidFields")("cashout")||t.push(Object(c["a"])("cashout/fetchData")),yield Promise.allSettled(t),this.setDataUpdatedAt(),this.setDataLoaded(!0),this.setIsDataLoading(!1)}))},fetchCryptoWallet({cryptoWallet:t,systemId:e,childSystem:a,id:i}){return Object(o["a"])(this,void 0,void 0,(function*(){if(this.isCryptoWalletDataLoading||t)return;this.setIsCryptoWalletDataLoading(!0);const s=new FormData;s.append("crypto_wallet[system_id]",e.toString()),s.append("crypto_wallet[currency]",a.toUpperCase());const n=yield l({formData:s,currency:Object(c["b"])("player/getCurrencyCode")}),o=Object(r["a"])(n,2),d=o[1],u=m(d);u&&this.setCryptoWallet(Object.assign(Object.assign({},this.cryptoWalletData),{[i]:u})),this.setIsCryptoWalletDataLoading(!1)}))},fetchExchangeRates({systemId:t,id:e,childSystem:a}){return Object(o["a"])(this,void 0,void 0,(function*(){if(this.isExchangeRatesDataLoading)return;this.setIsExchangeRatesDataLoading(!0);const i=yield h(t),s=Object(r["a"])(i,2),n=s[1];this.setIsExchangeRatesDataLoading(!1);const o=Object(c["b"])("player/getCurrencyCode");let d=a.toUpperCase();const u=o.toUpperCase();v["C"].includes("3")&&(d=v["g"][d]||d);const l=null===n||void 0===n?void 0:n.data.exchange_rates[d][u];if(!l)return;const g=Object(c["b"])("playerAccounts/getPlayerAccounts").find(({currency:t})=>t===o);if(!g)return;const b=+(1/Number(l)).toFixed(10),m=(b*parseInt(g.defaultDeposit)).toFixed(10);this.setExchangeRates(Object.assign(Object.assign({},this.exchangeRatesData),{[e]:{exchange:b,sum:m,date:null===n||void 0===n?void 0:n.data.timestamp}}))}))},fetchProviderLinks({systemId:t}){return Object(o["a"])(this,void 0,void 0,(function*(){const e=yield b(t),a=Object(r["a"])(e,2),i=a[0],s=a[1];i||this.setProviderLinks((null===s||void 0===s?void 0:s.data)||{})}))},updateExchangeRates({id:t,amount:e}){const a=this.exchangeRatesData[t];a&&this.setExchangeRates(Object.assign(Object.assign({},this.exchangeRatesData),{[t]:Object.assign(Object.assign({},a),{sum:(a.exchange*e).toFixed(10)})}))},getMessagesByPaymentId(t){return Object(o["a"])(this,void 0,void 0,(function*(){const e=yield g(t),a=Object(r["a"])(e,2),i=a[1];return i?i.data:{}}))},resetData(){this.setDataLoaded(!1),Object(c["a"])("deposit/resetData"),Object(c["a"])("cashout/resetData")},addPaymentOnProcessing({uid:t="",options:e={}}){t&&(this.paymentsOnProcessing[t]=e)},storePaymentOnProcessing(t){this.paymentsOnProcessing[t]&&d["d"].paymentsOnProcessing.set({[t]:this.paymentsOnProcessing[t]})},setIdPaymentOnProcessing({uid:t,id:e}){const a=this.paymentsOnProcessing[t];a&&e&&(a.id=e)},setActionPaymentOnProcessing({uid:t,action:e,protocol:a}){this.paymentsOnProcessing[t][e]=a},removePaymentOnProcessing(t){delete this.paymentsOnProcessing[t]},setIsProcessLoading(t){this.isProcessLoading=t},setIframeDataMifinity(t){this.iframeData.mifinity=t},setCryptoWallet(t){this.cryptoWalletData=t},setExchangeRates(t){this.exchangeRatesData=t},setProviderLinks(t){this.providerLinks=t},setIsDataLoading(t){this.isDataLoading=t},setDataLoaded(t){this.isDataLoaded=t},setIsCryptoWalletDataLoading(t){this.isCryptoWalletDataLoading=t},setIsExchangeRatesDataLoading(t){this.isExchangeRatesDataLoading=t},setDataUpdatedAt(){this.dataUpdatedAt=new Date}};var y=p;const f=()=>({isDataLoading:!1,isDepositDataLoading:!1,isDataLoaded:!1,isCryptoWalletDataLoading:!1,isExchangeRatesDataLoading:!1,dataUpdatedAt:null,cryptoWalletData:{},exchangeRatesData:{},providerLinks:{},paymentsOnProcessing:d["d"].paymentsOnProcessing.get()||{},iframeData:{mifinity:null},isProcessLoading:!1});var _=f;e["a"]={actions:y,getters:n,state:_}},d52f:function(t,e,a){"use strict";a.d(e,"b",(function(){return o}));a("e9c4");var i=a("9098");const s="api/v2/player/bonuses",n="api/player/bonuses/",r="api/v4/player/bonuses/cancel",o=t=>Object(i["b"])({method:"get",url:s,params:Object.assign(Object.assign({},t),{q:JSON.stringify(t.q)})}),d=t=>Object(i["b"])({method:"delete",url:`${n}${t}`}),c=t=>Object(i["b"])({method:"post",url:r,body:t});e["a"]={cancel:d,cancelAll:c,getBonuses:o}},d5ef:function(t,e,a){"use strict";var i=a("3835"),s=(a("4de4"),a("caad"),a("9ab4"));const n=t=>({errorNotify:t?{id:"freespin_cancel_error",text:"notification.freespin_deleted_failed",type:"error"}:null});var r=a("d373"),o=a("9098");const d="api/player/freespins",c=t=>Object(o["b"])({method:"post",url:`${d}/${t}/activation`}),u=t=>Object(o["b"])({method:"delete",url:`${d}/${t}`});var l={activateFreespin:c,cancelFreespin:u},h=a("10ea");const g={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["playerFreespins"],forced:t})}))},activate(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};if(this.getActionIsInProcess(t))return e;this.setIsActionInProcess({id:t,status:!0});const a=yield l.activateFreespin(t),s=Object(i["a"])(a,1),n=s[0];return Object(h["b"])(n)?e={error:n}:yield this.fetchData(),this.setIsActionInProcess({id:t,status:!1}),e}))},cancel(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};if(this.getActionIsInProcess(t))return e;this.setIsActionInProcess({id:t,status:!0});const a=yield l.cancelFreespin(t),s=Object(i["a"])(a,1),r=s[0];return Object(h["b"])(r)?e={error:n(r.data)}:(e={response:!0},yield this.fetchData()),this.setIsActionInProcess({id:t,status:!1}),e}))},setData(t){var e;this.data=(null===(e=null===t||void 0===t?void 0:t.freespins)||void 0===e?void 0:e.length)?t.freespins.filter(t=>["activated","issued"].includes(t.stage)):[]},resetData(){this.data=[]},setIsActionInProcess(t){t.id&&(this.actionInProcess[t.id]=t.status)}};var b=g,m=(a("d81d"),a("ca47"));const v={getData(){var t;return null!==(t=this.data)&&void 0!==t?t:[]},getActionIsInProcess(){return t=>{var e,a;return null!==(a=null===(e=this.actionInProcess)||void 0===e?void 0:e[t])&&void 0!==a&&a}},getIsDataLoading(){return this.isDataLoading},getFreespinsWithHidden(){const t=Object(m["b"])("playerAccounts/getIsCryptoPlayerAccount")?Object(m["b"])("player/getGameCurrencyCode"):Object(m["b"])("player/getCurrencyCode");return this.getData.map(e=>Object.assign(Object.assign({},e),{hidden:e.currency!==t}))},getFreespinsForPlayerCurrency(){const t=Object(m["b"])("playerAccounts/getIsCryptoPlayerAccount")?Object(m["b"])("player/getGameCurrencyCode"):Object(m["b"])("player/getCurrencyCode");return this.getData.filter(({currency:e})=>e===t)}};var p=v;const y=()=>({actionInProcess:{},data:[],isDataLoading:!1});var f=y;e["a"]={actions:b,getters:p,state:f}},d685:function(t,e,a){"use strict";var i=a("9029"),s=a("ca47");const n=document.documentElement,r=document.body,o="ontouchstart"in n,d={openOverlay(t){this.addBodyOverflow({scrollBar:null===t||void 0===t?void 0:t.scrollBar}),this.setIsOverlay(!0),this.setOverlayType((null===t||void 0===t?void 0:t.type)||"")},closeOverlay(){this.removeBodyOverflow(),this.setIsOverlay(!1),this.setOverlayType("")},toggleBodyOverflow(t){this.overflowHidden?this.removeBodyOverflow():this.addBodyOverflow(t)},addBodyOverflow(t){if(!this.overflowHidden){if(o){const t=window.scrollY;i["isSafari"]&&n.classList.add("safari-fixed"),r.classList.add("overflow--hidden-fixed"),r.style.marginTop=`-${t}px`,document.documentElement.classList.add("reset-overflow-sport")}else r.classList.add("overflow--hidden");(null===t||void 0===t?void 0:t.scrollBar)&&r.classList.add("overflow--hidden-scrollBar"),this.setOverflowHidden(!0)}},removeBodyOverflow(){if(!Object(s["b"])("modal/hasOpened")){if(o){const t=parseInt(r.style.marginTop,10);i["isSafari"]&&n.classList.remove("safari-fixed"),r.classList.remove("overflow--hidden-fixed","overflow--hidden-scrollBar"),document.documentElement.classList.remove("reset-overflow-sport"),r.style.marginTop="",(t||0===t)&&window.scrollTo(0,-t)}else r.classList.remove("overflow--hidden","overflow--hidden-scrollBar");this.setOverflowHidden(!1)}},setOverflowHidden(t){this.overflowHidden=t},setIsOverlay(t){this.isOverlay=t},setOverlayType(t){this.overlayType=t}};var c=d;const u={isOverflowHidden(){return this.overflowHidden},getOverlayType(){return this.overlayType}};var l=u;const h=()=>({isOverlay:!1,overflowHidden:!1,overlayType:""});var g=h;e["a"]={actions:c,getters:l,state:g}},e195:function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"b",(function(){return o})),a.d(e,"a",(function(){return d}));var i=a("6f23");function s(t){return!(!t||"string"===typeof t)&&t.error===i["b"]}var n=a("91bf");const r=t=>{var e;const a=null===t||void 0===t?void 0:t.errors;return(null===a||void 0===a?void 0:a.hasOwnProperty("unlock_token"))?{errorNotify:{text:"notification.restore_failed_token",type:"error"}}:Array.isArray(null===a||void 0===a?void 0:a.password)?{errorModel:{field:"passwordConfirmation",id:"passwordConfirmation",msg:"validation.password_email_equal"}}:(null===(e=null===a||void 0===a?void 0:a.password)||void 0===e?void 0:e.email_equivalent)?{errorNotify:{text:"password.player_change_error
"+a.password.email_equivalent,type:"error"}}:{errorNotify:{text:"notification.restore_unlock_failed",type:"error"}}},o=t=>{var e,a;const r=null===(a=null===(e=t.errors)||void 0===e?void 0:e.base)||void 0===a?void 0:a[0];return"string"===typeof r?n["c"].default:(null===r||void 0===r?void 0:r.error)===i["d"]?n["c"].smsLimitReached:(null===r||void 0===r?void 0:r.error)===i["c"]?n["c"].awaitEndingTimeout:s(r)?Object.assign(Object.assign({},n["c"].codeNotSendable),{data:{time_left_to_code_regeneration:r.time_to_code_regeneration}}):n["c"].default},d=t=>{var e,a,s;const r=null===(a=null===(e=t.errors)||void 0===e?void 0:e.base)||void 0===a?void 0:a[0];return"string"===typeof r||"string"===typeof(null===r||void 0===r?void 0:r.error)?n["b"].default:(null===(s=null===r||void 0===r?void 0:r.error)||void 0===s?void 0:s.code)===i["a"]?n["b"].notMatch:n["b"].default}},e1f8:function(t,e,a){"use strict";a("d81d");var i=a("ca47"),s=a("6aa8"),n=a("7fe9");const r={getPaymentsData(){const t=Object(i["b"])("playerCashWait/getAlertsHash");return this.data.map(e=>{const a=t[e.id];return Object.assign(Object.assign({},e),{alerts:a})})},getPlayerPayments(){const t=Object(i["b"])("paymentsPreviews/getData");return this.getPaymentsData.map(e=>{var a,i;return Object.assign(Object.assign({},e),{imagePath:(null===(i=null===(a=null===t||void 0===t?void 0:t[`${e.system_id}_${e.child_system}`])||void 0===a?void 0:a.images)||void 0===i?void 0:i.history)||""})})},getDataUpdatedAt(){return this.dataUpdatedAt},getPageNumber(){return this.pageNumber},getPageSize(){return this.pageSize},getTotalItems(){return this.totalItems},getIsDataLoading(){return this.isDataLoading},getNeedToFetchData(){return this.needToFetchData},getDateFrom(){return this.filters.dateFrom},getDateTo(){return this.filters.dateTo},getCentsAmountFrom(){return this.filters.centsAmountFrom},getCentsAmountTo(){return this.filters.centsAmountTo},getAction(){return this.filters.action},getStatus(){return this.filters.status},getLastDeposit(){return Object(n["k"])({payments:this.getPaymentsData})},getLastDepositAmount(){var t;const e=null===(t=this.getLastDeposit)||void 0===t?void 0:t.amount;if(!e)return 0;const a=Object(i["b"])("currencies/getCurrentCurrencySubunitsToUnit");return parseInt(String(null===e||void 0===e?void 0:e.cents))/a},getDepositGroup(){var t;const e=null===(t=this.getLastDeposit)||void 0===t?void 0:t.amount;if(!e)return 0;let a=this.getLastDepositAmount;const r=Object(i["b"])("player/getCurrencyCode"),o=Object(i["b"])("playerStats/getDepositsCount"),d=Object(i["b"])("cmsConfig/getDepositGroupSum"),c=Object(i["b"])("currencyExchangeRates/getData");return d[r]?(e.currency!==r&&(a=Object(s["b"])(a,e.currency,r,c)),a&&o>0?Object(n["i"])(a,d[r]):null):null},getHasPendingCashout(){return!!this.getPaymentsData.find(({state:t,action:e})=>"pending"===t&&"cashout"===e)}};var o=r,d=a("3835"),c=(a("4de4"),a("14d9"),a("9ab4")),u=a("c1df"),l=a.n(u);const h=t=>{const e={except_action:"gift",except_payment_system:"mucon_pay"},a=t=>t?l()(t,"MM.DD.YYYY").format("YYYY-MM-DD"):"",i=t=>t?100*t:0,s=a(t.dateFrom),n=a(t.dateTo),r=i(t.centsAmountFrom),o=i(t.centsAmountTo);return(s||n)&&(e.created_at=`${s}..${n}`),(r||o)&&(e.amount_cents=`${r}..${o}`),t.getAction.length&&(e.action=t.getAction),t.getStatus.length&&(e.status=t.getStatus),e};a("e9c4");var g=a("9098");const b="api/v2/player/payments",m=t=>Object(g["b"])({method:"get",url:b,params:Object.assign(Object.assign({},t),{q:JSON.stringify(t.q)})}),v=t=>Object(g["b"])({method:"get",url:`${b}?${t}`}),p={fetchData(){return Object(c["a"])(this,void 0,void 0,(function*(){const t=Object(i["b"])("player/isPlayerAuthorized");if(!t)return;this.setIsDataLoading(!0);const e=h({dateFrom:this.getDateFrom,dateTo:this.getDateTo,centsAmountFrom:this.getCentsAmountFrom,centsAmountTo:this.getCentsAmountTo,getAction:this.getAction,getStatus:this.getStatus}),a=this.getPageSize,s=this.getPageNumber,n={limit:a,offset:s*a,q:e},r=yield m(n),o=Object(d["a"])(r,2),c=o[1];c&&(this.setData(c.data),this.setDataUpdatedAt(new Date)),this.setIsDataLoading(!1)}))},fetchDataWithFilters(t){var e,a;return Object(c["a"])(this,void 0,void 0,(function*(){const s=Object(i["b"])("player/isPlayerAuthorized");if(!s)return;this.setIsDataLoading(!0);const n=[];null===(e=null===t||void 0===t?void 0:t.action)||void 0===e||e.forEach(t=>{n.push("filters[action][]="+t)}),null===(a=null===t||void 0===t?void 0:t.state)||void 0===a||a.forEach(t=>{n.push("filters[state][]="+t)});const r=yield v(n.join("&")),o=Object(d["a"])(r,2),c=o[1];c&&(this.setData(c.data),this.setDataUpdatedAt(new Date)),this.setIsDataLoading(!1)}))},changePage(t){this.setPageNumber(t),this.fetchData()},changeDateFrom(t){this.setPageNumber(0),this.setDateFrom(t),this.fetchData()},changeDateTo(t){this.setPageNumber(0),this.setDateTo(t),this.fetchData()},clearDateRange(){this.setPageNumber(0),this.setDateFrom(""),this.setDateTo(""),this.fetchData()},changeCentsAmountFrom(t){this.setPageNumber(0),this.setCentsAmountFrom(t),this.fetchData()},changeCentsAmountTo(t){this.setPageNumber(0),this.setCentsAmountTo(t),this.fetchData()},clearCentsAmountRange(){this.setPageNumber(0),this.setCentsAmountFrom(0),this.setCentsAmountTo(0),this.fetchData()},addAction(t){return Object(c["a"])(this,void 0,void 0,(function*(){const e=[...this.getAction,t];this.setPageNumber(0),this.setAction(e),yield this.fetchData()}))},changeActions(t){this.setPageNumber(0),this.setPageSize(t.pageSize),this.setAction(t.actions),this.fetchData()},removeAction(t){const e=this.getAction.filter(e=>e!==t);this.setPageNumber(0),this.setAction(e),this.fetchData()},addStatus(t){const e=[...this.getStatus,t];this.setPageNumber(0),this.setStatus(e),this.fetchData()},removeStatus(t){const e=this.getStatus.filter(e=>e!==t);this.setPageNumber(0),this.setStatus(e),this.fetchData()},clearAllFilters(t=!0){this.setPageNumber(0),this.setDateFrom(""),this.setDateTo(""),this.setCentsAmountFrom(0),this.setCentsAmountTo(0),this.setAction([]),this.setStatus([]),t&&this.fetchData()},setData(t){var e;(null===t||void 0===t?void 0:t.error)||(this.data=(null===t||void 0===t?void 0:t.payments)||[],this.totalItems=(null===(e=null===t||void 0===t?void 0:t.pagination)||void 0===e?void 0:e.count)||0,this.needToFetchData=!1)},setNeedToFetchData(t){this.needToFetchData=t},changePageSize(t){this.setPageSize(t),this.fetchData()},resetData(){this.data=[],this.totalItems=0,this.pageNumber=0,this.filters={action:[],centsAmountFrom:0,centsAmountTo:0,dateFrom:"",dateTo:"",status:[]}},setIsDataLoading(t){this.isDataLoading=t},setDataUpdatedAt(t){this.dataUpdatedAt=t},setPageNumber(t){this.pageNumber=t},setPageSize(t){this.pageSize=t},setDateFrom(t){this.filters.dateFrom=t},setDateTo(t){this.filters.dateTo=t},setCentsAmountFrom(t){this.filters.centsAmountFrom=t},setCentsAmountTo(t){this.filters.centsAmountTo=t},setAction(t){this.filters.action=t},setStatus(t){this.filters.status=t},setActivePaymentTab(t){this.activePaymentTab=t}};var y=p;const f=()=>({data:[],filters:{action:[],centsAmountFrom:0,centsAmountTo:0,dateFrom:"",dateTo:"",status:[]},needToFetchData:!1,pageNumber:0,pageSize:20,totalItems:0,dataUpdatedAt:new Date("1970/01/01 03:00:00"),isDataLoading:!1,activePaymentTab:""});var _=f;e["a"]={actions:y,getters:o,state:_}},e4e5:function(t,e,a){"use strict";const i=()=>({data:{}});var s=i,n=a("3835"),r=a("9ab4"),o=a("9098");const d="api/v4",c=()=>Object(o["b"])({method:"get",url:d+"/player/records"}),u={fetchData(){return Object(r["a"])(this,void 0,void 0,(function*(){const t=yield c(),e=Object(n["a"])(t,2),a=e[1];a&&this.setData(a.data)}))},setData(t){this.data=t}};var l=u;const h={getData(){return this.data},getCasino(){return this.data.casino||{}},getSport(){return this.data.sport||{}},getCasinoWinnings(){return this.getCasino.profit||[]},getCasinoMultiplier(){return this.getCasino.coefficient||[]},getSportWinnings(){return this.getSport.profit||[]},getSportMultiplier(){return this.getSport.coefficient||[]},isCasinoWinnings(){return Boolean(this.getCasinoWinnings.length)},isCasinoMultiplier(){return Boolean(this.getCasinoMultiplier.length)},isSportWinnings(){return Boolean(this.getSportWinnings.length)},isSportMultiplier(){return Boolean(this.getSportMultiplier.length)}};var g=h;e["a"]={actions:l,getters:g,state:s}},e6b1:function(t,e,a){"use strict";const i=()=>({current:{jackpot:0,time:null},data:{},dataLifetime:1e4,dataLoadedAt:new Date("1970/01/01 03:00:00"),isDataLoading:!1});var s=i;a("caad"),a("14d9"),a("2532");const n={microgaming:{desktop:["MGS_AbsolootlyMad_MegaMoolah","MGS_BookofAtemWOWPOT","MGS_FruitFiesta5Reel","MGS_KingCashalot","MGS_LotsaLoot5Reel","MGS_MajorMillions","MGS_TreasureNile","MGS_Tunzamunni"],mobile:["MGS_HTML5_AbsolootlyMad_MegaMoolah","MGS_HTML5_BookofAtemWOWPOT","MGS_HTML5_CashSplash5Reel","MGS_HTML5_MajorMillions5Reel","MGS_HTML5_Slot_TreasureNile"],total:["MGS_AbsolootlyMad_MegaMoolah","MGS_BookofAtemWOWPOT","MGS_FruitFiesta5Reel","MGS_KingCashalot","MGS_LotsaLoot5Reel","MGS_MajorMillions","MGS_TreasureNile","MGS_Tunzamunni","MGS_HTML5_CashSplash5Reel"]}};var r=a("1dab"),o=a("ca47");const d=t=>{const e=r["e"]?"mobile":"desktop",a=t.split("/")[1],i=t.includes("quickfire");return{noCasino:i&&!n.microgaming.total.includes(a),noProvider:i&&!n.microgaming[e].includes(a)}},c=t=>{var e;const a=Object(o["b"])("games/gamesObjectIdentifierData")[t];if(!a)return"";const i=a.provider,s=(null===(e=a.collections)||void 0===e?void 0:e.includes("jackpot"))||!1,n=Object(o["b"])("gamesProviders/getNotIndexProviderCodes"),r=Object(o["b"])("cmsConfig/jackpotProvidersInclude"),d=(null===r||void 0===r?void 0:r.length)&&!r.includes(i);return!i||n.includes(i)||!s||d?"":i},u={currentJackpot(){var t;return null===(t=this.current)||void 0===t?void 0:t.jackpot},getGamesJackpots(){var t;const e=Object(o["b"])("player/getGameCurrencyCode");return null!==(t=this.data[e])&&void 0!==t?t:{}},getJackpotCalculated(){const t=Object(o["b"])("player/getGameCurrencyCode"),e=this.data[t];if(!e)return{casinoJackpot:{},providersJackpots:{}};const a=Object(o["b"])("currencies/getGameCurrency"),i=Object(o["b"])("currencies/getGameCurrencySubunitsToUnit"),s=parseInt((null===a||void 0===a?void 0:a.jackpot_multiplier)||1)/parseInt(i||100),n=[],r=[];let u=0;const l={};for(const o in e){if(!e[o])continue;const t=e[o],a=c(o);if(!a)continue;const i=d(o),h=i.noCasino,g=i.noProvider;if(h||n.includes(t)||(n.push(t),u+=t),!g&&!r.includes(t)){const e=Math.floor(t*s);r.push(t),l[a]=(Number(l[a])||0)+e}}return u=Math.round(u*s),{casinoJackpot:{[t]:u},providersJackpots:{[t]:l}}},getCasinoJackpot(){const t=Object(o["b"])("player/getCurrencyCode"),e=this.getJackpotCalculated.casinoJackpot,a=void 0===e?{}:e;return(null===a||void 0===a?void 0:a[t])||0},getProvidersJackpots(){const t=Object(o["b"])("player/getGameCurrencyCode"),e=this.getJackpotCalculated.providersJackpots,a=void 0===e?{}:e;return(null===a||void 0===a?void 0:a[t])||{}},getJackpotSumByProviderCode(){return t=>+this.getProvidersJackpots[t]||0}};var l=u,h=a("9ab4"),g=a("d373");const b={fetchData(t){return Object(h["a"])(this,void 0,void 0,(function*(){this.isDataLoading=!0,yield g["a"].apiV2().fetchData({modules:["jackpots"],forced:t}),this.isDataLoading=!1}))},handleOdometerMessage(t){var e;const a=Number(null===(e=null===t||void 0===t?void 0:t.data)||void 0===e?void 0:e.value),i=Date.now();this.setJackpot({jackpot:a,time:i})},setData(t){t&&(this.data=t,this.dataLoadedAt=new Date)},setJackpot(t){var e,a,i;const s=t.time&&(null===(e=this.current)||void 0===e?void 0:e.time)&&t.time>=(null===(a=this.current)||void 0===a?void 0:a.time);(null===(i=this.current)||void 0===i?void 0:i.time)&&!s||(this.current=t)}};var m=b;e["a"]={actions:m,getters:l,state:s}},e7d4:function(t,e,a){"use strict";var i,s;a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s})),function(t){t["PARTICIPANT"]="participant",t["QUALIFIED_PARTICiPANT"]="qualified_participant",t["WINNER"]="winner",t["LOSER"]="loser",t["AWARDED_WINNER"]="awarded_winner",t["AWARDING_ERROR"]="awarding_error",t["DISQUALIFIED"]="disqualified"}(i||(i={})),function(t){t["IN_PROGRESS"]="in_progress",t["FINALIZING"]="finalizing",t["FINISHED"]="finished",t["FINISHED_NOT_AWARDED"]="finished_not_awarded",t["CANCELLED"]="canceled",t["DELETED"]="deleted"}(s||(s={}))},e835:function(t,e,a){"use strict";const i={getData(){return this.data||[]},getIsDataLoading(){return this.isDataLoading},getError(){return this.error}};var s=i,n=a("3835"),r=(a("e01a"),a("d81d"),a("9ab4")),o=a("9098");const d="api/v2/player/documents",c=3,u=t=>Object(o["b"])({method:"post",url:d,body:t,headers:{"Content-Type":"multipart/form-data"},timeout:"180000"*c}),l=t=>Object(o["b"])({method:"delete",url:`${d}/${t}`}),h=t=>{const e=t.id,a=t.description,i=t.kind;return Object(o["b"])({method:"patch",url:`${d}/${e}`,body:{document:{id:e,description:a,kind:i}}})};var g={removeDocument:l,uploadDocument:u,updateDocument:h},b=(a("caad"),a("2532"),a("596c"));const m={unexpectedFileError:{errorModel:{name:"file-error"},errorNotify:{id:"file_error",text:"validation.file_error",type:"error"}},invalidDocumentFormat:{errorModel:{name:b["a"].shouldBeImageOrPdf},errorNotify:{id:"document_wrong_type",text:"validation.document_wrong_type",type:"error"}},invalidDocumentFormatApiV1:{errorModel:{name:"file-error"},errorNotify:{id:"document_wrong_type",text:"validation.document_wrong_type",type:"error"}},tooManyPendingDocuments:{errorModel:{name:b["b"].tooManyPendingDocuments},errorNotify:null},notExistsEmail:{errorModel:{name:b["c"].notExists},errorNotify:null},isUnverifiedEmail:{errorModel:{name:b["c"].isUnverified},errorNotify:null},default:{errorModel:null,errorNotify:{id:"something_went_wrong",text:"validation.something_went_wrong",type:"error"}}},v=t=>{var e;const a=null===t||void 0===t?void 0:t.errors;return Array.isArray(null===a||void 0===a?void 0:a.attachment_content_type)?null===(e=null===a||void 0===a?void 0:a.attachment_content_type)||void 0===e?void 0:e.includes(b["a"].shouldBeImageOrPdf):(null===a||void 0===a?void 0:a.attachment_content_type)&&"invalid"in a.attachment_content_type?a.attachment_content_type.invalid:void 0},p=t=>{var e,a,i;const s=t.data.errors,n=v(t.data),r=null===(e=null===s||void 0===s?void 0:s.attachment)||void 0===e?void 0:e.includes(b["b"].tooManyPendingDocuments),o=null===(a=null===s||void 0===s?void 0:s.email)||void 0===a?void 0:a.includes(b["c"].notExists),d=null===(i=null===s||void 0===s?void 0:s.email)||void 0===i?void 0:i.includes(b["c"].isUnverified);return n?m.invalidDocumentFormat:r?m.tooManyPendingDocuments:o?m.notExistsEmail:d?m.isUnverifiedEmail:422===(null===t||void 0===t?void 0:t.status)?m.unexpectedFileError:m.default},y=t=>{let e=null;return t&&(e={text:"profile.document_delete_error",type:"error"}),{errorNotify:e}},f=t=>{let e=null;return t&&(e={text:"profile.document_update_error",type:"error"}),{errorNotify:e}};var _=a("6747"),D=a.n(_),O=a("2008"),j=a("d373"),C=a("10ea");const L={fetchData(){return Object(r["a"])(this,void 0,void 0,(function*(){yield j["a"].apiV2().fetchData({modules:["playerDocuments"]})}))},upload(t){var e;return Object(r["a"])(this,void 0,void 0,(function*(){let a={};this.isDataLoading=!0;const i=yield g.uploadDocument(t),s=Object(n["a"])(i,2),r=s[0],o=s[1];if(o&&(a={response:o},yield this.fetchData()),Object(C["b"])(r)){const t=p(r);a={error:t},this.error=(null===(e=t.errorModel)||void 0===e?void 0:e.name)||null}return this.isDataLoading=!1,a}))},remove(t){return Object(r["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield g.removeDocument(t),i=Object(n["a"])(a,2),s=i[0],r=i[1];return r&&(e={response:r},yield this.fetchData()),Object(C["b"])(s)&&(e={error:y(s.data)}),this.isDataLoading=!1,e}))},update(t){return Object(r["a"])(this,void 0,void 0,(function*(){let e={};this.isDataLoading=!0;const a=yield g.updateDocument(t),i=Object(n["a"])(a,2),s=i[0],r=i[1];return r&&(e={response:r},yield this.fetchData()),Object(C["b"])(s)&&(e={error:f(s.data)}),this.isDataLoading=!1,e}))},setData(t){D()(t)&&(this.data=t.map(t=>{try{const e=JSON.parse(t.description);return Object(O["a"])(e)?Object.assign(Object.assign({},t),e):t}catch(e){return t}}))},resetData(){this.data=[]},resetError(){this.error=null}};var A=L;const w=()=>({data:[],error:null,isDataLoading:!1});var P=w;e["a"]={getters:s,actions:A,state:P}},e966:function(t,e,a){"use strict";const i=()=>({data:[]});var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t=!1){return Object(n["a"])(this,void 0,void 0,(function*(){yield r["a"].apiV2().fetchData({modules:["playerCashbacks"],forced:t})}))},setData(t){var e;this.data=(null===(e=null===t||void 0===t?void 0:t.cashbacks)||void 0===e?void 0:e.length)?t.cashbacks:[]},resetData(){this.data=[]}};var d,c=o;a("4de4"),a("caad"),a("2532");(function(t){t["LifeTime"]="life_time",t["LostPeriod"]="lost_period",t["LostGames"]="lost_games"})(d||(d={}));const u={getData(){return this.data||[]},getActiveCashbacks(){const t=[d.LostGames,d.LifeTime];return this.getData.filter(({conditions:e})=>e.filter(({id:e})=>t.includes(e)).every(({value:t})=>t))}};var l=u;e["a"]={actions:c,getters:l,state:s}},ee9c:function(t,e,a){"use strict";const i=()=>({data:[],dataLoadedAt:null,dataLifetime:54e6,isDataLoading:!1});var s=i,n=a("3835"),r=a("9ab4"),o=a("9098");const d="api/v3/payment_options",c=t=>Object(o["b"])({method:"patch",url:`${d}/${t}/disable`,body:{}});var u=a("d373"),l=a("ca47"),h=a("10ea");const g={fetchData(t=!1){return Object(r["a"])(this,void 0,void 0,(function*(){return yield u["a"].apiV2().fetchData({modules:["playerPurses"],forced:t}),!0}))},remove(t){return Object(r["a"])(this,void 0,void 0,(function*(){const e=Object(l["b"])("player/isPlayerAuthorized");if(!e||this.getIsDataLoading)return{};this.setIsDataLoading(!0);let a={};const i=yield c(t),s=Object(n["a"])(i,2),r=s[0],o=s[1];return Object(h["b"])(r)&&(a={error:r}),o&&(this.fetchData(),a={response:o}),this.setIsDataLoading(!1),a}))},setData(t){t&&(this.data=t.payment_options||[])},resetData(){this.data=[]},setIsDataLoading(t){this.isDataLoading=t}};var b=g,m=(a("4de4"),a("caad"),a("c975"),a("14d9"),a("2532"),a("7fe9"));const v="deposit",p="cashout",y={getData(){return this.data||[]},getIsDataLoading(){return this.isDataLoading},pursesArray(){const t=[],e=Object(l["b"])("playerAccounts/availableCashoutLow"),a=[...Object(l["b"])("deposit/depositArray"),...Object(l["b"])("cashout/cashoutArray")],i=t=>{var e,i;const s=t.id,n=null===(e=null===t||void 0===t?void 0:t.last_payment)||void 0===e?void 0:e.payment_system_id,r=null===(i=null===t||void 0===t?void 0:t.last_payment)||void 0===i?void 0:i.child_system;return a.find(t=>{var e;const a=t.childSystem===r,i=null===(e=null===t||void 0===t?void 0:t.tokens)||void 0===e?void 0:e.some(t=>t.payment_option_id===s),o=t.systemId===n;return a&&(i||o)})},s=(t,e)=>{const a=t.tokens.find(t=>t.payment_option_id===e.id);return a?a.id:null};return this.getData.forEach(a=>{var n,r;const o=i(a);o&&t.push({id:a.id,type:o.isDeposit?v:p,title:a.title,transactionId:s(o,a),systemId:o.systemId,isPhone:"phone"===a.kind,isEmail:"email"===a.kind,credentials:a.credentials,integrator:o.integrator,childSystem:o.childSystem,imagePath:o.imagePath,cardType:(null===(n=null===o||void 0===o?void 0:o.childSystem)||void 0===n?void 0:n.indexOf("card"))>=0&&Object(m["b"])(a.title),allowedDeposit:Object(l["b"])("cmsConfig/getCardRules").deposit.includes(o.integrator),allowedCashout:Object(l["b"])("cmsConfig/getCardRules").cashout.includes(o.integrator),available:e>=(null===(r=o.limits)||void 0===r?void 0:r.min),processorCurrency:o.processorCurrency||null,conversionCommission:o.conversionCommission})}),t},uniquePursesArray(){const t=[];return this.pursesArray.filter(e=>"bank_card"!==e.childSystem||!t.includes(e.title)&&(t.push(e.title),!0))},depositable(){return this.pursesArray.filter(({type:t})=>t===v)},depositableCards(){return this.depositable.filter(t=>t.cardType&&t.transactionId)},cashoutable(){return this.pursesArray.filter(({type:t})=>t===p)}};var f=y;e["a"]={actions:b,getters:f,state:s}},eebd:function(t,e,a){"use strict";var i=a("3835"),s=(a("4de4"),a("e9c4"),a("9ab4")),n=a("d373"),r=a("9098");const o="/api/v2/player/bonuses_betby",d=t=>Object(r["b"])({method:"delete",url:`${o}/${t}`}),c=t=>Object(r["b"])({method:"get",url:o,params:Object.assign(Object.assign({},t),{q:JSON.stringify(t.q)})}),u=t=>{const e={},a=t.getDateFrom,i=t.getDateTo;(a||i)&&(e.created_at=`${a}..${i}`);const s=t.getStage;return s.length&&(e.stage=s),e};var l=a("13ea"),h=a.n(l),g=a("10ea");const b={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield n["a"].apiV2().fetchData({modules:["playerBonusesBetby"],forced:t})}))},fetchDataPaginated(){return Object(s["a"])(this,void 0,void 0,(function*(){let t={};const e=u(this),a=this.pageSize,s=this.pageNumber,n={limit:a,offset:s*a};h()(e)||(n.q=e),this.setIsDataLoading(!0);const r=yield c(n),o=Object(i["a"])(r,2),d=o[0],l=o[1];return l&&(this.setData(l.data),t={response:this.data}),Object(g["b"])(d)&&(t={error:d}),this.setIsDataLoading(!1),t}))},cancel(t){return Object(s["a"])(this,void 0,void 0,(function*(){let e={};if(this.getActionIsInProcess(t))return e;this.setIsActionInProcess({id:t,status:!0});const a=yield d(t),s=Object(i["a"])(a,1),n=s[0];return Object(g["b"])(n)?e={error:n||JSON.stringify(n)}:yield this.fetchData(),this.setIsActionInProcess({id:t,status:!1}),e}))},changePageSize(t){this.setPageSize(t),this.fetchDataPaginated()},changePage(t){this.setPageNumber(t),this.fetchDataPaginated()},changeDateFrom(t){this.setPageNumber(),this.setDateFrom(t.toString()),this.fetchDataPaginated()},changeDateTo(t){this.setPageNumber(),this.setDateTo(t.toString()),this.fetchDataPaginated()},setData(t){if(!t)return this.data=[],this.dataAll=[],void(this.totalItems=0);t.errors||(this.data=t.bonuses.filter(({activatable:t,stage:e})=>t||"active"===e),this.dataAll=t.bonuses,this.totalItems=t.pagination.count)},clearAllFilters(t=!0){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),t&&this.fetchDataPaginated()},resetData(){this.setPageNumber(),this.setDateFrom(),this.setDateTo(),this.setStage(),this.setData()},setIsActionInProcess(t){t.id&&(this.actionInProcess[t.id]=t.status)},setIsDataLoading(t){this.isDataLoading=t},setPageSize(t){this.pageSize=t},setPageNumber(t){this.pageNumber=t||0},setDateFrom(t){this.filters.dateFrom=t||""},setDateTo(t){this.filters.dateTo=t||""},setStage(t){this.filters.stage=t||[]}};var m=b,v=(a("d81d"),a("ca47")),p=a("6aa8"),y=a("8066");const f={getDataByPlayerCurrency(){if(Object(v["b"])("playerAccounts/getIsCryptoPlayerAccount"))return this.getBonusesConvertedIntoCryptoCurrency;const t=Object(v["b"])("player/getCurrencyCode");return this.data.filter(({currency:e})=>e===t)},getDataByPlayerWithHidden(){if(Object(v["b"])("playerAccounts/getIsCryptoPlayerAccount"))return this.getBonusesConvertedIntoCryptoWithHidden;const t=Object(v["b"])("player/getCurrencyCode");return this.data.map(e=>Object.assign(Object.assign({},e),{hidden:e.currency!==t}))},getDataAllByPlayerCurrency(){var t,e;const a=Object(v["b"])("player/getCurrencyCode");return null!==(e=null===(t=this.dataAll)||void 0===t?void 0:t.filter(({currency:t})=>t===a))&&void 0!==e?e:[]},getActionIsInProcess(){return t=>{var e,a;return null!==(a=null===(e=this.actionInProcess)||void 0===e?void 0:e[t])&&void 0!==a&&a}},getDateFrom(){return this.filters.dateFrom||""},getDateTo(){return this.filters.dateTo||""},getStage(){return this.filters.stage},getBonusesConvertedIntoCryptoCurrency(){var t,e;const a=Object(v["b"])("player/getGameCurrencyCode"),i=!!Object(v["b"])("playerAccounts/getPlayerAccountForSpecificCurrencyCode")(a);if(!i)return[];const n=null===(t=Object(v["b"])("currencies/getDataForSpecificCurrency")(a))||void 0===t?void 0:t.subunits_to_unit,r=null===(e=Object(v["b"])("currencies/getDataForSpecificCurrency")(Object(v["b"])("player/getCurrencyCode")))||void 0===e?void 0:e.subunits_to_unit,o=function(t){return Object(p["b"])(t/n,a,Object(v["b"])("player/getCurrencyCode"),Object(v["b"])("currencyExchangeRates/getData"),0,Object(y["a"])(r))*r};return this.data.filter(({currency:t})=>t===a).map(t=>{t.currency;var e=t.amount_cents,a=Object(s["b"])(t,["currency","amount_cents"]);return Object.assign({amount_cents:o(e),currency:Object(v["b"])("player/getCurrencyCode")},a)})},getBonusesConvertedIntoCryptoWithHidden(){var t,e;const a=Object(v["b"])("player/getGameCurrencyCode"),i=null===(t=Object(v["b"])("currencies/getDataForSpecificCurrency")(a))||void 0===t?void 0:t.subunits_to_unit,n=null===(e=Object(v["b"])("currencies/getDataForSpecificCurrency")(Object(v["b"])("player/getCurrencyCode")))||void 0===e?void 0:e.subunits_to_unit,r=(t,e)=>Math.round(Object(p["b"])(t/i,e,Object(v["b"])("player/getCurrencyCode"),Object(v["b"])("currencyExchangeRates/getData"),0,Object(y["a"])(n))*n);return this.data.map(t=>{var e=t.currency,i=t.amount_cents,n=Object(s["b"])(t,["currency","amount_cents"]);return Object.assign({amount_cents:r(i,e),currency:Object(v["b"])("player/getCurrencyCode"),hidden:e!==a,used_currency:e},n)})}};var _=f;const D=()=>({data:[],dataAll:[],filters:{dateFrom:"",dateTo:"",stage:[]},actionInProcess:{},totalItems:0,isDataLoading:!1,pageNumber:0,pageSize:25});var O=D;e["a"]={actions:m,getters:_,state:O}},f100:function(t,e,a){"use strict";var i=a("6f23");const s="RU",n="verified",r="unverified",o=1e5,d={default:{errorModel:{field:"mobile_phone_code",id:"something_went_wrong",msg:"validation.something_went_wrong"}},invalid:{errorModel:{field:"mobile_phone_code",id:"wrong_confirmation_code",msg:"validation.wrong_confirmation_code"}}},c={awaitEndingTimeout:{errorModel:{field:"mobile_phone",id:"await_ending_timeout",msg:"validation.await_ending_timeout"}},default:{errorModel:{field:"mobile_phone",id:"something_went_wrong",msg:"validation.something_went_wrong"}},smsLimitReached:{errorModel:{field:"mobile_phone",id:i["d"],msg:"validation.sms_limit_reached"}}},u={canNotChangeSettledPhone:{errorModel:{field:"phone_number",id:"phone_number",msg:"validation.denied_change_phone"},errorNotify:{text:"validation.denied_change_phone",type:"error"}},default:{errorModel:{id:"something_went_wrong"},errorNotify:{text:"validation.something_went_wrong",type:"error"}},invalidOrNumberOrTaken:{errorModel:{field:"phone_number",id:"phone_number",msg:"validation.wrong_number"},errorNotify:{text:"validation.wrong_number",type:"error"}}},l={phone_country:"",phone_country_code:"",phone_number:"",resend_timeout_until:null,sms_limit_reached:!1,time_left_before_sending_code:0,time_left_to_edit:0,time_left_to_live_code:0,timestamp_left_before_sending_code:0,timestamp_left_to_edit:0,timestamp_left_to_live_code:0,verified_status:r};var h=a("ca47");const g={verifiedPhoneV4(){var t;return(null===(t=this.data)||void 0===t?void 0:t.confirmed)||!1},getPhoneData(){return this.data||l},getIsDataLoading(){return this.isDataLoading},getIsPhoneDataLoaded(){return this.isDataLoaded},updatePeriod(){const t=Object(h["b"])("cmsConfig/getUpdatePeriods");return t.playerPhone||t.default},verifiedPhone(){var t;return((null===(t=this.data)||void 0===t?void 0:t.verified_status)||r)===n},phoneNumber(){var t,e;return(null===(t=this.data)||void 0===t?void 0:t.number)||(null===(e=this.data)||void 0===e?void 0:e.phone_number)||""},editPhoneAllowedV4(){var t,e;const a=(null===(t=this.data)||void 0===t?void 0:t.time_left_to_edit)||0,i=(new Date).getTime()-(null===(e=new Date(this.dataLoadedAt||0))||void 0===e?void 0:e.getTime()),s=a-i/1e3>0;return!this.phoneNumber||!this.verifiedPhoneV4&&s},phoneCountryCode(){var t,e;return(null===(t=this.data)||void 0===t?void 0:t.country)||(null===(e=this.data)||void 0===e?void 0:e.phone_country_code)||s},editPhoneAllowed(){var t,e;const a=(null===(t=this.data)||void 0===t?void 0:t.time_left_to_edit)||0,i=(new Date).getTime()-(null===(e=new Date(this.dataLoadedAt||0))||void 0===e?void 0:e.getTime()),s=a-i/1e3>0;return!this.phoneNumber||!this.verifiedPhone&&s},getMobilePhoneResendTimeoutUntil(){var t;return null===(t=this.data)||void 0===t?void 0:t.timestamp_left_before_sending_code},timeLeftToLiveCode(){var t;return 1e3*(null===(t=this.data)||void 0===t?void 0:t.time_left_to_live_code)},isSentCode(){var t;return!!(null===(t=this.data)||void 0===t?void 0:t.resend_timeout_until)},getActivePhoneInputs(){return this.activePhoneInputs},confirmPhoneMode(){var t;return null===(t=this.data)||void 0===t?void 0:t.last_code_type}};var b=g,m=a("3835"),v=a("9ab4");const p=t=>{var e;const a=t.errors,i=null===(e=null===a||void 0===a?void 0:a.base)||void 0===e?void 0:e[0];return"incorrect_code"===(null===i||void 0===i?void 0:i.error)?d.invalid:d.default},y=t=>{var e;const a=t.errors,s=null===(e=null===a||void 0===a?void 0:a.base)||void 0===e?void 0:e[0];return(null===s||void 0===s?void 0:s.error)===i["d"]?c.smsLimitReached:(null===s||void 0===s?void 0:s.error)===i["c"]?c.awaitEndingTimeout:c.default},f=t=>{var e,a,i,s;const n=t.errors,r=(null===n||void 0===n?void 0:n.base)||{},o=r.can_not_change_settled_phone,d=(null===n||void 0===n?void 0:n.mobile_phone)||{},c=d.invalid,l=Array.isArray(null===n||void 0===n?void 0:n.phone_number)?null===(e=null===n||void 0===n?void 0:n.phone_number)||void 0===e?void 0:e[0]:null===(a=null===n||void 0===n?void 0:n.phone_number)||void 0===a?void 0:a.invalid,h=!Array.isArray(null===n||void 0===n?void 0:n.phone_number)&&(null===(i=null===n||void 0===n?void 0:n.phone_number)||void 0===i?void 0:i.not_processable),g=!Array.isArray(null===n||void 0===n?void 0:n.phone_number)&&(null===(s=null===n||void 0===n?void 0:n.phone_number)||void 0===s?void 0:s.taken);return c||l||g||h?u.invalidOrNumberOrTaken:o?u.canNotChangeSettledPhone:u.default};var _=a("9098"),D=a("4328"),O=a.n(D);const j="api/v2/player/phone",C="api/v4/player/phone",L=(t,e)=>{const a={phone:{country_code:e,number:t}},i=O.a.stringify(a);return Object(_["b"])({method:"patch",url:j,body:i,headers:{"Content-Type":"application/x-www-form-urlencoded"}})},A=()=>Object(_["b"])({method:"get",url:j}),w=()=>Object(_["b"])({method:"get",url:C}),P=(t,e)=>Object(_["b"])({method:"post",url:j,body:{phone:{country_code:e,number:t}}}),I=t=>Object(_["b"])({method:"post",url:C+"/send_code",body:t,headers:{"Content-Type":"multipart/form-data"}}),S=t=>Object(_["b"])({method:"post",url:C+"/confirm",body:t,headers:{"Content-Type":"multipart/form-data"}}),T=(t,e=Date.now())=>t>0?e+1e3*t:0,k=(t,e=Date.now())=>{const a=t.time_left_before_sending_code,i=t.time_left_to_edit,s=t.time_left_to_live_code;return Object.assign(Object.assign({},t),{timestamp_left_before_sending_code:T(a,e),timestamp_left_to_edit:T(i,e),timestamp_left_to_live_code:T(s,e)})};var B=a("5add"),N=a.n(B),F=a("10ea");let x=0;const E={updatePhone({phoneNumber:t,countryCode:e}){return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const a=yield L(t,e),i=Object(m["a"])(a,2),s=i[0],n=i[1];return this.setIsDataLoading(!1),Object(F["b"])(s)?{error:f(s.data)}:n?(this.setMobilePhone(n.data.phone_number),{response:n.data}):{}}))},fetchData(){return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const t=yield A(),e=Object(m["a"])(t,2),a=e[0],i=e[1];if(this.setIsDataLoading(!1),Object(F["b"])(a))return{error:a};if(i){this.setData(i.data);const t=this.timeLeftToLiveCode;return t>0&&setTimeout(()=>{this.fetchData()},t),{response:i.data}}return{}}))},fetchDataV4(){return Object(v["a"])(this,void 0,void 0,(function*(){clearTimeout(x),this.setIsDataLoading(!0);const t=yield w(),e=Object(m["a"])(t,2),a=e[0],i=e[1];if(this.setIsDataLoading(!1),Object(F["b"])(a))return{error:a};if(i){this.setData(i.data);const t=this.timeLeftToLiveCode;return t>0&&(x=setTimeout(()=>{this.fetchDataV4()},t)),{response:i.data}}return{}}))},createPhone({phoneNumber:t,countryCode:e}){var a;return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);const i=yield P(t,e),s=Object(m["a"])(i,2),n=s[0],r=s[1];return this.setIsDataLoading(!1),Object(F["b"])(n)?{error:f(n.data)}:r?(this.setMobilePhone(null===(a=r.data)||void 0===a?void 0:a.phone_number),this.setData(r.data),r.data):{}}))},initPhoneConfirmation(t="call"){return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=new FormData;a.set("confirmation_type",t);const i=yield I(a),s=Object(m["a"])(i,2),n=s[0],r=s[1];return Object(F["b"])(n)&&(e={error:y(n.data)}),r&&(e={response:!0}),yield this.fetchData(),this.setIsDataLoading(!1),e}))},initPhoneConfirmationV4(t="call"){return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=new FormData;a.set("confirmation_type",t);const i=yield I(a),s=Object(m["a"])(i,2),n=s[0],r=s[1];return Object(F["b"])(n)&&(e={error:y(n.data)}),r&&(e={response:!0}),yield this.fetchDataV4(),this.setIsDataLoading(!1),e}))},sendPhoneConfirmCode(t){return Object(v["a"])(this,void 0,void 0,(function*(){this.setIsDataLoading(!0);let e={};const a=new FormData;a.set("code",t);const i=yield S(a),s=Object(m["a"])(i,2),n=s[0],r=s[1];return Object(F["b"])(n)&&(e={error:p(n.data)}),r&&(e={response:!0}),this.setIsDataLoading(!1),e}))},updateLastCheckPhoneEditAllowed(){this.lastCheckPhoneEditAllowed=new Date},addActivePhoneInput(t){this.activePhoneInputs=[...this.activePhoneInputs,t]},removeActivePhoneInput(t){this.activePhoneInputs=N()(this.activePhoneInputs,t)},setData(t){const e=new Date;if(this.dataLoadedAt=e,this.isDataLoaded=!0,!t)return void(this.data=l);const a=e.valueOf();this.data=k(t,a)},resetData(){this.data=l},setMobilePhone(t=""){this.data=Object.assign(Object.assign({},this.data),{phone_number:t})},setIsDataLoading(t){this.isDataLoading=t}};var M=E;const R=()=>({activePhoneInputs:[],data:l,dataLifetime:o,dataLoadedAt:null,isDataLoaded:!1,isDataLoading:!1,lastCheckPhoneEditAllowed:new Date});var G=R;e["a"]={actions:M,getters:b,state:G}},f5a2:function(t,e,a){"use strict";const i=()=>({currentLocale:"",data:{},dataLifetime:54e6,dataLoadedAt:null,isTranslationsUpdated:!1,localeChangedAt:0});var s=i,n=a("9ab4"),r=a("d373");const o={fetchData(t){return Object(n["a"])(this,void 0,void 0,(function*(){t=t.toLowerCase();const e=this.getCurrentLocaleMessages(t);e||(yield r["a"].apiV2().fetchData({modules:["interfaceTranslations"],lang:t,forced:!0}))}))},setData(t){if(!(null===t||void 0===t?void 0:t.__langCode__))return;const e={};e[t.__langCode__]=t.data||t,this.currentLocale=t.__langCode__,this.data=Object.assign(Object.assign({},this.data),e),this.dataLoadedAt=new Date},setTranslationsUpdated(t=!0){this.localeChangedAt=Date.now(),this.isTranslationsUpdated=t}};var d=o;const c={isTranslationsLoaded(){return Object.keys(this.data).length>0&&this.isTranslationsUpdated},getCurrentLocaleMessages:t=>e=>t.data[e],getLocaleChangedAt(){return this.localeChangedAt},getIsTranslationsUpdated(){return this.isTranslationsUpdated}};var u=c;e["a"]={actions:d,getters:u,state:s}},f9d2:function(t,e,a){"use strict";var i=a("3835"),s=(a("4de4"),a("d81d"),a("9ab4")),n=a("9098");const r="api/v4/player/games/favorites",o=()=>Object(n["b"])({method:"get",url:r}),d=t=>Object(n["b"])({method:"post",url:r,body:{identifier:t}}),c=t=>Object(n["b"])({method:"delete",url:r,params:{identifier:t}});var u={fetchFavouriteGames:o,addFavouriteGame:d,removeFavoriteGame:c},l=a("d373"),h=a("ca47"),g=a("4c70");const b={fetchData(t=!1){return Object(s["a"])(this,void 0,void 0,(function*(){yield l["a"].apiV2().fetchData({modules:["playerFavoriteGames"],forced:t})}))},setData(t){(null===t||void 0===t?void 0:t.length)?this.data=t.map(t=>"string"!==typeof t?t.identifier:t)||[]:this.data=[]},resetData(){this.data=[]},setIsDataLoading(t){this.isDataLoading=t},add(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(h["b"])("player/isPlayerAuthorized")||this.getIsDataLoading)return;this.setIsDataLoading(!0);const e=yield u.addFavouriteGame(t),a=Object(i["a"])(e,2),s=a[1];s&&this.setData([...this.data,t]),this.setIsDataLoading(!1)}))},remove(t){return Object(s["a"])(this,void 0,void 0,(function*(){if(!Object(h["b"])("player/isPlayerAuthorized")||this.getIsDataLoading)return;this.setIsDataLoading(!0);const e=yield u.removeFavoriteGame(t),a=Object(i["a"])(e,2),s=a[1];if(s){const e=this.data.filter(e=>e!==t);this.setData(e)}this.setIsDataLoading(!1)}))},addByFormattedIdentifier(t){return Object(s["a"])(this,void 0,void 0,(function*(){yield this.add(Object(g["b"])(t))}))},removeByFormattedIdentifier(t){return Object(s["a"])(this,void 0,void 0,(function*(){yield this.remove(Object(g["b"])(t))}))}};var m=b,v=(a("caad"),a("13d5"),a("3c65"),a("2532"),a("8f12"));const p={playerFavoriteGamesIdentifiers(){return this.data},playerFavoriteGamesFormattedIdentifiers(){return this.data.map(g["a"])},playerFavoriteGamesV4FormattedIdentifiers(){const t=Object(h["b"])("gamesV4/homeGamesIdentifiers"),e=(null===t||void 0===t?void 0:t.find(({code:t})=>t===v["K"]))||{code:"",identifiers:[]},a=Object(h["b"])("gamesV4/gamesMap")||{};return this.playerFavoriteGamesFormattedIdentifiers.reduce((t,i)=>((a[i]||e.identifiers.includes(i))&&t.unshift(i),t),[])},playerFavoriteGamesArray(){return this.playerFavoriteGamesFormattedIdentifiers.reduce((t,e)=>{const a=Object(h["b"])("games/gamesObjectIdentifierData")[e];return a&&t.unshift(a),t},[])},haveFavoriteGames(){return this.playerFavoriteGamesArray.length>0},getIsDataLoading(){return this.isDataLoading},hasGames(){return this.data.length>0}};var y=p;const f=()=>({data:[],dataLoadedAt:null,isDataLoading:!1});var _=f;e["a"]={actions:m,getters:y,state:_}},ff20:function(t,e,a){"use strict";const i=()=>({opened:[]});var s=i;a("fb6a");const n={hasOpened(){return this.getOpenedModals.length>0},current(){return this.hasOpened&&this.getOpenedModals.slice(-1).pop()||null},getOpenedModals(){var t;return null!==(t=this.opened)&&void 0!==t?t:[]},getOpenedModalName(){return this.hasOpened?this.getOpenedModals[0].name:""},getModalByName(){return t=>{const e=this.getOpenedModals.find(({name:e})=>e===t);return e||(this.getOpenedModals.slice(-1).pop()||null)}}};var r=n,o=(a("4de4"),a("caad"),a("14d9"),a("ac1f"),a("2532"),a("5319"),a("ca47")),d=a("3106");const c={openModal({name:t,props:e,component:a,isShrink:i=!1,replace:s=!0,onClose:n,eventListeners:r}){let c;const u={name:t,props:e,component:a,isShrink:i,onClose:n,eventListeners:r};if(s)c=[...this.getOpenedModals],c.pop(),c.push(u);else{const e=this.getOpenedModals.filter(e=>e.name!==t);c=[...e,u]}if(d["a"].includes("3")||this.hasOpened||Object(o["a"])("overlay/addBodyOverflow",{}),null===e||void 0===e?void 0:e.cannotCloseByBurger)return Object(o["a"])("menu/changeBurger",{state:""}),void this.setOpened(c);Object(o["a"])("menu/changeBurger",{state:"btn--close"}),this.setOpened(c)},open(t){this.openModal(t)},closeModal(t){var e,a,i,s,n,r,d;if(!this.hasOpened)return;const c=null!==(e=null===t||void 0===t?void 0:t.disableHistoryBack)&&void 0!==e&&e,u=null!==(a=null===t||void 0===t?void 0:t.name)&&void 0!==a?a:"",l=this.getModalByName(u);if((null===l||void 0===l?void 0:l.isShrink)&&!u)return;const h={play(){Object(o["a"])("cmsConfig/setIsGamePage",!1,{root:!0}),c||window.history.back()},registration(){Object(o["a"])("cmsConfig/setRegistrationClosed",!0,{root:!0})},signin(){Object(o["a"])("cmsConfig/setRegistrationClosed",!0,{root:!0})}};let g=[...this.getOpenedModals];if((null===l||void 0===l?void 0:l.name)?g=g.filter(({name:t})=>t!==l.name):g.pop(),this.setOpened(g),null===(i=null===l||void 0===l?void 0:l.onClose)||void 0===i||i.call(l),null===(s=h[l.name])||void 0===s||s.call(h),!this.hasOpened||(null===(n=this.current)||void 0===n?void 0:n.isShrink))return Object(o["a"])("overlay/removeBodyOverflow",{}),void Object(o["a"])("menu/changeBurger",{state:""});(null===(d=null===(r=this.current)||void 0===r?void 0:r.props)||void 0===d?void 0:d.cannotCloseByBurger)?Object(o["a"])("menu/changeBurger",{state:""}):Object(o["a"])("menu/changeBurger",{state:"btn--close"})},close(t){this.closeModal(t)},setOpened(t){this.opened=t}};var u=c;e["a"]={actions:u,getters:r,state:s}}}]);