1import{n as B}from"./chunk-B03JrT7s.js";import{$r as nv,A as Ff,B as Go,Bt as Pt,Cn as X_,Cr as gn$1,Ct as Ne,Di as th,E as E_,Ei as td,En as Xy,Er as h_,F as Fy,Fi as vv,Fn as _E,Ft as Ow,G as Hf,Gn as ad,H as H8,Ht as Qe$2,Ir as jE,J as IA,Jn as an$1,Li as wM,Mi as vU,Mt as Op,Ni as vm,Nr as iv,Qr as ns,Qt as SM,Rn as __,Rr as jf,Rt as Pf,T as EU,Ti as t_,Tr as hM,Tt as Nv,Ui as xU,Ur as ki,Vn as aI,Vr as js,Wn as a_,Wt as RM,Xi as ya,Y as IM,Yi as yU,Yn as av,Yr as mb,Yt as Rw,Zi as ym,Zt as SA,_i as sM,_t as Mf,at as Jy,bi as sa,br as g,dt as Le$1,en as S_,er as bf,f as B$1,ft as Lf,gt as M_,ht as MM,in as TM,ir as ce,it as Jn,jn as ZI,jt as Of,ki as ud,m as BE,mi as r_,mr as ev,oi as pd,on as T_,or as cv,qr as mM,qt as Rp,ri as o_,rn as TA,rr as cd,si as pn$1,sr as dM,st as Ky,t as $8,tn as Se,tr as bm,u as Av,ui as pv,un as VA,ur as dv,vn as Wf,wi as tS,wt as Nf,xr as gM,yi as s_,yt as NA,z as Gf}from"./chunk-DTI67J9m.js";import"./chunk-181WBztU.js";import{r as ct$1}from"./chunk-wHAlo4wM.js";import{n as W,r as aa,t as V}from"./chunk-BNh7gUbk.js";import{t as c}from"./chunk-BetDb5Vg.js";import{A as ke,E as ci$1,M as le,b as Rr,l as F,t as $,u as Fr,x as Rt}from"./chunk-CgHKSGcK.js";import{t as m}from"./chunk-B09TswdM.js";import{t as m$1}from"./chunk-CMiw9lc7.js";import{a as Dt,c as N$1,f as Pe,g as U$1,m as Se$1,s as L,u as O}from"./chunk-CsGy1tq1.js";import{a as ve$1,i as o}from"./chunk-DXaoh0Ng.js";import{r as Ye$2,t as A}from"./chunk-CflelNM-.js";import{n as be$1,r as ve$2,t as Se$2}from"./chunk-DavgVFWC.js";import{t as k}from"./chunk-CVHqeJSM.js";import{t as z}from"./chunk-D7ipbnfs.js";import{t as v$1}from"./chunk-CrKZIOLo.js";import{t as x$1}from"./chunk-C5yeqvZf.js";import{t as Q}from"./chunk-DYnjVTfT.js";import"./chunk-6r4_7XCW.js";import{A as he,M as y,R,S as V$1,a as M$1,d as P,m as S$1,n as p,p as h,t as nt$1,w as M,z as We$1}from"./main-7NT7LMVW.js";import{t as l}from"./chunk-BF4cAq_S.js";import"./chunk-CANM96HN.js";import{t as be$2}from"./chunk-B8TJUHEY.js";import{t as f}from"./chunk-Duj-rK0_.js";import"./chunk-esvMCEtS.js";import"./chunk-CM6UNSEK.js";import{t as ni}from"./chunk-C6LTOE1x.js";import{t as z$1}from"./chunk-CfImcHAp.js";import{a as st$1,c as re,i as di$1,n as Ge,o as $$1,r as ai$1,s as Q$1,t as y$1}from"./chunk-BtY9DZEk.js";import{t as p$1}from"./chunk-CszaywaW.js";import"./chunk-DlezpTpn.js";import{t as F$1}from"./chunk-CQjqOE0t.js";import{t as I}from"./chunk-BV90HgZr.js";import"./chunk-CEnbMPmD.js";import"./chunk-D4IsZ8Tf.js";import{a as ut$1,i as rt$1,n as w,r as fe,t as M$2}from"./chunk-lky-ZZm9.js";import{t as tt$1}from"./chunk-oIgSn-XJ.js";var Ke$1;(function(n){n.Real=`real`,n.Demo=`demo`})(Ke$1||(Ke$1={}));var Ci=(n,u)=>({"gcs__currency-button--narrow":n,"gcs__currency-button--round":u});function vi(n,u){if(n&1&&Xy(0,`app-currency-icon`,1),n&2){let e=E_();Jy(`currency`,e.currency()??``)(`size`,24)(`margin`,2)}}function bi(n,u){n&1&&Xy(0,`app-svg-icon`,2),n&2&&Jy(`size`,20)}function yi(n,u){if(n&1&&(js(0,`div`,3),IM(1,`translate`),X_(2),IM(3,`translate`),ad()),n&2){let e=E_();Ky(`data-text`,wM(1,2,e.labelKey()||`balance_in`)),mb(2),pd(` `,wM(3,4,e.labelKey()||`balance_in`),` `)}}var Qe$1=(()=>{class n{constructor(){this.licensingService=g(Q),this.destroyRef=g(Ne),this.basedOnLicense=vU(!1),this.showModalOnClick=vU(!1),this.enabledCurrenciesList=vU([]),this.preselectedCurrency=vU(),this.currencyFullName=vU(``),this.currencyIcon=vU(!1),this.labelKey=vU(``),this.variant=vU(`default`),this.narrowButton=vU(!1),this.showCurrencyChangeModal=yU(),this.isEe=ns(null),this.currency=RM(()=>this.getSelectedCurrency())}ngOnInit(){this.basedOnLicense()&&this.licensingService.licenseType$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.isEe.set(e===A.Estonian)})}getSelectedCurrency(){let e=this.preselectedCurrency();return this.enabledCurrenciesList().includes(e)?e:``}onCurrencyClick(){!this.showModalOnClick()||!this.currency()||this.showCurrencyChangeModal.emit(this.currency())}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-currency-select`]],inputs:{basedOnLicense:[1,`basedOnLicense`],showModalOnClick:[1,`showModalOnClick`],enabledCurrenciesList:[1,`enabledCurrenciesList`],preselectedCurrency:[1,`preselectedCurrency`],currencyFullName:[1,`currencyFullName`],currencyIcon:[1,`currencyIcon`],labelKey:[1,`labelKey`],variant:[1,`variant`],narrowButton:[1,`narrowButton`]},outputs:{showCurrencyChangeModal:`showCurrencyChangeModal`},decls:5,vars:8,consts:[[1,`gcs__currency-button`,3,`touchmove`,`click`,`ngClass`],[3,`currency`,`size`,`margin`],[`icon`,`chevron-down`,1,`gcs__arrow`,3,`size`],[1,`gcs__label`]],template:function(i,t){i&1&&(js(0,`button`,0),av(`touchmove`,function(P){return P.preventDefault()})(`click`,function(){return t.onCurrencyClick()}),t_(1,vi,1,3,`app-currency-icon`,1),X_(2),t_(3,bi,1,1,`app-svg-icon`,2),t_(4,yi,4,6,`div`,3),ad()),i&2&&(Jy(`ngClass`,mM(5,Ci,t.narrowButton(),t.variant()===`round`)),mb(),r_(t.currencyIcon()?1:-1),mb(),pd(` `,t.currencyFullName()?t.currencyFullName():t.currency(),` `),mb(),r_(!t.basedOnLicense()||t.basedOnLicense()&&!t.isEe()?3:-1),mb(),r_(t.variant()===`labeled`?4:-1))},dependencies:[VA,IA,z,h,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.gcs__currency-button[_ngcontent-%COMP%]{position:relative;touch-action:pan-x;display:flex;height:48px;padding:8px 16px;width:100%;justify-content:flex-start;align-items:center;border-radius:12px;gap:8px;border:1px solid rgba(255,255,255,.1);background-color:#06142233}.gcs__currency-button--narrow[_ngcontent-%COMP%]{padding:4px 8px 4px 16px;max-height:40px}.gcs__currency-button--round[_ngcontent-%COMP%]{border:none;padding:4px 8px;gap:8px;background-color:#ffffff1a;border-radius:30px}.gcs__label[_ngcontent-%COMP%]{position:absolute;top:-8px;left:12px;color:#a2a8af;z-index:1;text-align:center;font-family:Nunito Sans;font-size:12px;font-style:normal;font-weight:600;line-height:16px}.gcs__label[_ngcontent-%COMP%]:after{content:attr(data-text);position:absolute;
1left:0;z-index:-1;-webkit-text-stroke:5px rgba(6,20,34,.8);font-size:12px}.gcs__arrow[_ngcontent-%COMP%]{margin-left:auto;opacity:.5}`]})}}return n})();var ve=(()=>{class n{constructor(){this.superbus=g(ci$1),this.destroyRef=g(Ne),this.basedOnLicense=vU(!1),this.showModalOnClick=vU(!1),this.enabledCurrenciesList=vU([]),this.preselectedCurrency=vU(``),this.narrowButton=vU(!1),this.variant=vU(`default`),this.labelKey=vU(``),this.showCurrencyChangeModal=yU(),this.currencyNames=ns({}),this.cryptoNames=ns({}),this.currencyName=RM(()=>this.getCurrencyName())}ngOnInit(){this.superbus.configSnippet.pipe(Rt(this.destroyRef),Jn(e=>!!e)).subscribe(e=>{this.currencyNames.set(e.currency_names??{}),this.cryptoNames.set(e.crypto_names??{})})}getCurrencyName(){let e=this.preselectedCurrency();return this.currencyNames()[e]||this.cryptoNames()[e]||e}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-currency-select-fullname-icon`]],inputs:{basedOnLicense:[1,`basedOnLicense`],showModalOnClick:[1,`showModalOnClick`],enabledCurrenciesList:[1,`enabledCurrenciesList`],preselectedCurrency:[1,`preselectedCurrency`],narrowButton:[1,`narrowButton`],variant:[1,`variant`],labelKey:[1,`labelKey`]},outputs:{showCurrencyChangeModal:`showCurrencyChangeModal`},decls:1,vars:9,consts:[[3,`showCurrencyChangeModal`,`basedOnLicense`,`showModalOnClick`,`enabledCurrenciesList`,`preselectedCurrency`,`narrowButton`,`currencyIcon`,`currencyFullName`,`variant`,`labelKey`]],template:function(i,t){i&1&&(js(0,`app-currency-select`,0),av(`showCurrencyChangeModal`,function(P){return t.showCurrencyChangeModal.emit(P)}),ad()),i&2&&Jy(`basedOnLicense`,t.basedOnLicense())(`showModalOnClick`,t.showModalOnClick())(`enabledCurrenciesList`,t.enabledCurrenciesList())(`preselectedCurrency`,t.preselectedCurrency())(`narrowButton`,t.narrowButton())(`currencyIcon`,!0)(`currencyFullName`,t.currencyName())(`variant`,t.variant())(`labelKey`,t.labelKey())},dependencies:[VA,Qe$1],encapsulation:2})}}return n})();var ai=(()=>{class n{constructor(){this.preselectedCurrency=vU(``),this.enabledConversionCurrencies=vU([]),this.fullscreen=vU(!1),this.switchCurrencyAndPlay=yU(),this.showCurrencyConvModal=yU()}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-in-game-currency-select`]],inputs:{preselectedCurrency:[1,`preselectedCurrency`],enabledConversionCurrencies:[1,`enabledConversionCurrencies`],fullscreen:[1,`fullscreen`]},outputs:{switchCurrencyAndPlay:`switchCurrencyAndPlay`,showCurrencyConvModal:`showCurrencyConvModal`},decls:12,vars:12,consts:[[1,`igcs`],[1,`igcs__content`],[1,`igcs__title`],[1,`igcs__action-container`],[1,`igcs__currency-select-container`],[1,`igcs__label`],[`variant`,`round`,3,`showCurrencyChangeModal`,`narrowButton`,`preselectedCurrency`,`enabledCurrenciesList`,`showModalOnClick`],[`type`,`cta`,`buttonHeight`,`large`,`buttonWidth`,`170px`,`borderRadius`,`12px`,`key`,`mobile_search.play`,3,`click`]],template:function(i,t){i&1&&(js(0,`div`,0)(1,`div`,1)(2,`div`,2),X_(3),IM(4,`translate`),ad(),js(5,`div`,3)(6,`div`,4)(7,`span`,5),X_(8),IM(9,`translate`),ad(),js(10,`app-currency-select-fullname-icon`,6),av(`showCurrencyChangeModal`,function(){return t.showCurrencyConvModal.emit()}),ad()(),js(11,`app-base-button`,7),av(`click`,function(){return t.switchCurrencyAndPlay.emit()}),ad()()()()),i&2&&(vv(`igcs--fullscreen`,t.fullscreen()),mb(3),Nv(wM(4,8,`select_ingame_currency`)),mb(5),Nv(wM(9,10,`balance_in`)),mb(2),Jy(`narrowButton`,!0)(`preselectedCurrency`,t.preselectedCurrency())(`enabledCurrenciesList`,t.enabledConversionCurrencies())(`showModalOnClick`,!0))},dependencies:[VA,ve,nt$1,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.igcs[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:5;width:100%;max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height) - 120px);min-height:580px;margin:0 auto;pointer-events:auto;display:flex;justify-content:center;align-items:center}.igcs--fullscreen[_ngcontent-%COMP%]{height:100%;max-height:unset}.igcs__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height) - 120px);width:960px;max-width:100%;min-height:580px;margin:0 auto;pointer-events:auto;background:#24314080;border-radius:16px;padding:46px}.igcs__currency-select-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:var(--%NS%space-16)}.igcs__action-container[_ngcontent-%COMP%]{position:absolute;
1left:0;top:50%;transform:translateY(-50%);width:100%;display:flex;flex-direction:column;align-items:center;gap:32px}.igcs__title[_ngcontent-%COMP%]{color:var(--%NS%white);font-size:16px;letter-spacing:-.011em;font-weight:600;font-family:Nunito Sans,sans-serif;font-feature-settings:"liga" off,"clig" off;line-height:24px;opacity:.3;width:100%;text-align:center}.igcs__label[_ngcontent-%COMP%]{color:var(--%NS%white);font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:600;font-family:Nunito Sans,sans-serif;text-align:center;line-height:16px;opacity:.9}`]})}}return n})();function xi(n,u){if(n&1){let e=h_();js(0,`button`,12),av(`click`,function(){Op(e);let t=E_();return Rp(t.funModeToggleClick.emit())}),js(1,`span`),X_(2),IM(3,`translate`),ad()()}n&2&&(mb(2),Nv(wM(3,1,`in_game.play_for_fun`)))}function Mi(n,u){n&1&&Xy(0,`div`,9)}var si=(()=>{class n{constructor(){this.gameTitle=vU(``),this.gameProvider=vU(``),this.gameThumbnailLink=vU(``),this.funModeEnabled=vU(!1),this.isSidebarMenuOpen=vU(!1),this.fullscreen=vU(!1),this.funModeToggleClick=yU()}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-signup-to-play`]],inputs:{gameTitle:[1,`gameTitle`],gameProvider:[1,`gameProvider`],gameThumbnailLink:[1,`gameThumbnailLink`],funModeEnabled:[1,`funModeEnabled`],isSidebarMenuOpen:[1,`isSidebarMenuOpen`],fullscreen:[1,`fullscreen`]},outputs:{funModeToggleClick:`funModeToggleClick`},decls:16,vars:21,consts:[[1,`stp`],[1,`stp__flex-container`],[1,`stp__section`,`stp__section--left`],[1,`stp__paragraph`],[1,`stp__text-box`],[`margin`,`0 0 10px 0`,3,`size`,`borderRadius`,`src`,`alt`],[1,`stp__title`],[1,`stp__provider`],[1,`stp__button`],[1,`stp__separator`],[1,`stp__section`,`stp__section--right`],[1,`stp__auth`,3,`viewMode`],[1,`stp__button`,3,`click`]],template:function(i,t){i&1&&(js(0,`div`,0)(1,`div`,1)(2,`div`,2)(3,`p`,3),X_(4),IM(5,`translate`),ad(),js(6,`div`,4),Xy(7,`app-game-square-thumbnail`,5),js(8,`h2`,6),X_(9),ad(),js(10,`p`,7),X_(11),ad()(),t_(12,xi,4,3,`button`,8)(13,Mi,1,0,`div`,9),ad(),js(14,`div`,10),Xy(15,`app-auth-modal`,11),ad()()()),i&2&&(vv(`stp--fullscreen`,t.fullscreen())(`stp--small`,t.isSidebarMenuOpen()),mb(),vv(`stp__flex-container--fullscreen`,t.fullscreen()),mb(),sa(`background-image`,t.gameThumbnailLink()?`url(`+t.gameThumbnailLink()+`)`:``),vv(`stp__section--left--small`,t.isSidebarMenuOpen()),mb(2),Nv(wM(5,19,`signup_to_play`)),mb(3),Jy(`size`,166)(`borderRadius`,16)(`src`,t.gameThumbnailLink()||``)(`alt`,t.gameTitle()),mb(2),Nv(t.gameTitle()),mb(2),Nv(t.gameProvider()),mb(),r_(t.funModeEnabled()?12:13),mb(3),Jy(`viewMode`,`inplace`))},dependencies:[VA,ni,Q$1,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.stp[_ngcontent-%COMP%]{z-index:5;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;height:100%;max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height) - 120px);min-width:792px;min-height:580px;margin:0 auto;pointer-events:auto}@media(max-width:1199px){.stp--small[_ngcontent-%COMP%]{min-width:636px}}.stp--fullscreen[_ngcontent-%COMP%]{border-radius:0;max-height:unset}.stp__flex-container[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:center;align-self:center;height:100%;max-width:792px;max-height:580px;margin:auto;background-color:#1b2d40f2;border-radius:16px}@media(max-height:740px){.stp__flex-container[_ngcontent-%COMP%]{align-self:center}}@media(min-width: calc(580px * 16 / 9 + 256px))and (min-height:740px){.stp__flex-container[_ngcontent-%COMP%]{width:792px;height:580px}}.stp__section[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;justify-content:center;width:50%;min-width:396px}.stp__section--left[_ngcontent-%COMP%]{border-top-left-radius:16px;border-bottom-left-radius:16px;align-items:center;justify-content:space-between;padding:38px 35px;flex-shrink:0;background:#1b2d40f2;background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;overflow:hidden}.stp__section--%NS%left[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:inherit;background-size:inherit;background-position:inherit;background-repeat:inherit;filter:blur(33px);transform:scale(1.4);z-index:0}.stp__section--left[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:1}@media(max-width:1199px){.stp__section--left--small[_ngcontent-%COMP%]{flex-shrink:1;width:auto;min-width:240px}}.stp__section--right[_ngcontent-%COMP%]{align-items:center;justify-content:flex-start;flex-shrink:0;position:relative}.stp__auth[_ngcontent-%COMP%]{height:100%}.stp__text-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.stp__title[_ngcontent-%COMP%]{color:#fff;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans,sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:-.22px;text-align:center}.stp__provider[_ngcontent-%COMP%]{color:#ffffff80;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans,sans-serif;font-size:14px;font-weight:700;line-height:24px}.stp__paragraph[_ngcontent-%COMP%]{color:#fff;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans,sans-serif;font-size:24px;font-weight:700;text-align:center}.stp__button[_ngcontent-%COMP%]{all:unset;border-radius:12px;border:1px solid rgba(255,255,255,.2);display:flex;width:100%;height:48px;padding:0 16px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;cursor:pointer}.stp__button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;text-align:center;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans,sans-serif;font-size:16px;font-weight:700;opacity:.7}.stp__button[_ngcontent-%COMP%]:hover, .stp__button[_ngcontent-%COMP%]:focus{border:1px solid rgba(255,255,255,.4);background:#ffffff0d}.stp__button[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .stp__button[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%]{opacity:1}.stp__button[_ngcontent-%COMP%]:active{border:1px solid rgba(255,255,255,.6);background:#ffffff1a}.stp__button[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{opacity:1}`]})}}return n})();function wi(n,u){if(n&1){let e=h_();js(0,`button`,9),av(`click`,function(){Op(e);let t=E_();return Rp(t.signUpClick.emit())}),X_(1),IM(2,`translate`),ad()}if(n&2){let e=E_();Jy(`weight`,600)(`underline`,!1),mb(),pd(` `,wM(2,3,e.signupTranslationKey),` `)}}function Si(n,u){if(n&1){let e=h_();js(0,`app-base-button`,10),av(`click`,function(){Op(e);let t=E_();return Rp(t.signUpClick.emit())}),ad()}if(n&2){let e=E_();Jy(`key`,e.signupTranslationKey)}}var be=(()=>{class n{constructor(){this.licensing=g(Q),this.variant=vU(`default`),this.signUpClick=yU()}get signupTranslationKey(){return this.licensing.isEE()?`pay_n_play`:`sign_up_now`}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-welcome-bonus`]],inputs:{variant:[1,`variant`]}
1,outputs:{signUpClick:`signUpClick`},decls:15,vars:17,consts:[[1,`gwb`],[1,`gwb__wrapper`],[1,`gwb__content`],[`alt`,``,`width`,`60`,`height`,`60`,`loading`,`lazy`,3,`src`],[1,`gwb__text`],[1,`gwb__sub-text`],[1,`gwb__main-text`],[`app-text-button`,``,`type`,`button`,`variant`,`cta`,`size`,`sm`,3,`weight`,`underline`],[`type`,`cta`,`buttonHeight`,`medium`,`borderRadius`,`54px`,3,`key`],[`app-text-button`,``,`type`,`button`,`variant`,`cta`,`size`,`sm`,3,`click`,`weight`,`underline`],[`type`,`cta`,`buttonHeight`,`medium`,`borderRadius`,`54px`,3,`click`,`key`]],template:function(i,t){i&1&&(js(0,`div`,0)(1,`div`,1)(2,`div`,2),Xy(3,`img`,3),IM(4,`cmsLink`),js(5,`div`,4)(6,`span`,5),X_(7),IM(8,`translate`),ad(),js(9,`span`,6),X_(10),IM(11,`translate`),IM(12,`cms_currency_conversion`),ad(),t_(13,wi,3,5,`button`,7),ad()(),t_(14,Si,1,1,`app-base-button`,8),ad()()),i&2&&(vv(`gwb--menu-view`,t.variant()===`menuView`)(`gwb--fullscreen`,t.variant()===`fullscreen`),mb(3),Jy(`src`,wM(4,9,`/cms/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBMW9KQ3c9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--8bc8259ed989f1c4329f7cc58638bb032ec5a6e7/wow-bonus.png`),ym),mb(4),Nv(wM(8,11,`welcome_bonus`)),mb(3),Nv(wM(12,15,wM(11,13,`win_up_to`))),mb(3),r_(t.variant()===`menuView`?13:-1),mb(),r_(t.variant()!==`menuView`?14:-1))},dependencies:[VA,nt$1,f,v$1,p,l],styles:[`[_nghost-%COMP%]{width:100%}.gwb[_ngcontent-%COMP%]{padding:0 24px}.gwb__wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;margin-top:24px;border-radius:12px;background:linear-gradient(0deg,#00433f 0% 100%),linear-gradient(274deg,#262ee9 -66.06%,#2f0b94 73.47%);width:100%}.gwb__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:12px}.gwb__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.gwb__sub-text[_ngcontent-%COMP%]{color:#fff;font-family:Nunito Sans;font-size:14px;font-style:normal;font-weight:600;line-height:normal;opacity:.8}.gwb__main-text[_ngcontent-%COMP%]{color:#fff;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans;font-size:16px;font-style:normal;font-weight:800;line-height:normal}.gwb--menu-view[_ngcontent-%COMP%]{padding:0}.gwb--menu-view[_ngcontent-%COMP%] .gwb__wrapper[_ngcontent-%COMP%]{margin-top:0;padding:0;background:transparent}.gwb--menu-view[_ngcontent-%COMP%] .gwb__sub-text[_ngcontent-%COMP%]{font-size:12px}.gwb--menu-view[_ngcontent-%COMP%] .gwb__main-text[_ngcontent-%COMP%]{font-size:14px}.gwb--fullscreen[_ngcontent-%COMP%]{padding:0}.gwb--fullscreen[_ngcontent-%COMP%] .gwb__wrapper[_ngcontent-%COMP%]{margin-top:0;border-radius:0}`]})}}return n})();function Ti$1(n,u){if(n&1){let e=h_();js(0,`app-signup-to-play`,7),av(`funModeToggleClick`,function(){Op(e);let t=E_();return Rp(t.funModeToggleClick.emit())}),ad()}if(n&2){let e=E_();vv(`game-box-desktop__landing--fullscreen`,e.fullscreen()),Jy(`isSidebarMenuOpen`,e.isSidebarMenuOpen())(`gameTitle`,e.gameTitle())(`gameProvider`,e.gameProvider())(`gameThumbnailLink`,e.gameThumbnailLink())(`funModeEnabled`,e.funModeEnabled())(`fullscreen`,e.fullscreen())}}function Oi(n,u){if(n&1){let e=h_();js(0,`app-in-game-currency-select`,8),av(`switchCurrencyAndPlay`,function(){Op(e);let t=E_();return Rp(t.switchCurrencyAndPlay.emit())})(`showCurrencyConvModal`,function(){Op(e);let t=E_();return Rp(t.showCurrencyConvModal.emit())}),ad()}if(n&2){let e=E_();vv(`game-box-desktop__landing--fullscreen`,e.fullscreen()),Jy(`preselectedCurrency`,e.preselectedCurrency())(`fullscreen`,e.fullscreen())(`enabledConversionCurrencies`,e.enabledConversionCurrencies())}}function Gi(n,u){}function Ni(n,u){if(n&1){let e=h_();js(0,`app-welcome-bonus`,12),av(`signUpClick`,function(){Op(e);let t=E_(2);return Rp(t.showSignUpModal.emit())}),ad()}}function Ii(n,u){if(n&1){let e=h_();js(0,`div`,9)(1,`iframe`,10),av(`load`,function(){Op(e);let t=E_();return Rp(t.gameLoaded.emit())}),ad()(),t_(2,Ni,1,0,`app-welcome-bonus`,11)}if(n&2){let e=E_();vv(`game-box-desktop__iframe-container--fullscreen`,e.fullscreen()),mb(),Jy(`src`,e.gameUrl(),vm),mb(),r_(e.fullscreen()&&e.isLogged()===!1&&e.funMode()?2
1:-1)}}var li=(()=>{class n{constructor(){this.superbus=g(ci$1),this.destroyRef=g(Ne),this.env=g(be$1),this.fullscreen=vU(!1),this.gameTitle=vU(``),this.gameThumbnailLink=vU(``),this.gameProvider=vU(``),this.gameUrl=vU(``),this.landingVisible=vU(!1),this.currencySelectionScreen=vU(!1),this.preselectedCurrency=vU(``),this.readyToPlay=vU(!1),this.gameIsLaunched=vU(!1),this.funModeEnabled=vU(!1),this.isLogged=vU(void 0),this.funMode=vU(!1),this.enabledConversionCurrencies=vU([]),this.gameLoaded=yU(),this.funModeToggleClick=yU(),this.showCurrencyConvModal=yU(),this.switchCurrencyAndPlay=yU(),this.showSignUpModal=yU(),this.isSidebarMenuOpen=ns(!1),this.width=ns(void 0),this.nonGameScreen=RM(()=>this.landingVisible()||this.currencySelectionScreen()),this.isSmallGameScreen=RM(()=>this.isLogged()===!1&&this.funMode()&&!this.fullscreen()),this.tabletScreenWidth=1200}ngOnInit(){jE([this.env.width$,this.superbus.sidebarMenuOpen]).pipe(Rt(this.destroyRef)).subscribe(([e,i])=>{this.isSidebarMenuOpen.set(i),e<=this.tabletScreenWidth?this.width.set(e-(this.isSidebarMenuOpen()?320:72)):this.width.set(void 0)})}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-box-desktop`]],inputs:{fullscreen:[1,`fullscreen`],gameTitle:[1,`gameTitle`],gameThumbnailLink:[1,`gameThumbnailLink`],gameProvider:[1,`gameProvider`],gameUrl:[1,`gameUrl`],landingVisible:[1,`landingVisible`],currencySelectionScreen:[1,`currencySelectionScreen`],preselectedCurrency:[1,`preselectedCurrency`],readyToPlay:[1,`readyToPlay`],gameIsLaunched:[1,`gameIsLaunched`],funModeEnabled:[1,`funModeEnabled`],isLogged:[1,`isLogged`],funMode:[1,`funMode`],enabledConversionCurrencies:[1,`enabledConversionCurrencies`]},outputs:{gameLoaded:`gameLoaded`,funModeToggleClick:`funModeToggleClick`,showCurrencyConvModal:`showCurrencyConvModal`,switchCurrencyAndPlay:`switchCurrencyAndPlay`,showSignUpModal:`showSignUpModal`},decls:9,vars:16,consts:[[1,`game-box-desktop`],[1,`game-box-desktop__width-container`],[1,`game-box-desktop__width-content`],[1,`game-box-desktop__height-container`],[1,`game-box-desktop__box`],[3,`game-box-desktop__landing--fullscreen`,`isSidebarMenuOpen`,`gameTitle`,`gameProvider`,`gameThumbnailLink`,`funModeEnabled`,`fullscreen`],[3,`game-box-desktop__landing--fullscreen`,`preselectedCurrency`,`fullscreen`,`enabledConversionCurrencies`],[3,`funModeToggleClick`,`isSidebarMenuOpen`,`gameTitle`,`gameProvider`,`gameThumbnailLink`,`funModeEnabled`,`fullscreen`],[3,`switchCurrencyAndPlay`,`showCurrencyConvModal`,`preselectedCurrency`,`fullscreen`,`enabledConversionCurrencies`],[1,`game-box-desktop__iframe-container`],[`allowfullscreen`,`true`,1,`game-box-desktop__iframe`,3,`load`,`src`],[`variant`,`fullscreen`],[`variant`,`fullscreen`,3,`signUpClick`]],template:function(i,t){i&1&&(js(0,`section`,0)(1,`div`,1)(2,`div`,2)(3,`div`,3)(4,`div`,4),t_(5,Ti$1,1,8,`app-signup-to-play`,5)(6,Oi,1,5,`app-in-game-currency-select`,6)(7,Gi,0,0),t_(8,Ii,3,4),ad()()()()()),i&2&&(vv(`game-box-desktop--nongame`,t.nonGameScreen()&&!t.fullscreen())(`game-box-desktop--game`,!t.nonGameScreen()&&t.readyToPlay()),mb(),vv(`game-box-desktop__width-container--game`,!t.nonGameScreen())(`game-box-desktop__width-container--fullscreen`,t.fullscreen())(`game-box-desktop__width-container--with-welcome-bonus`,t.isSmallGameScreen()),mb(2),sa(`width`,t.width()?t.width():``,`px`),mb(),vv(`game-box-desktop__box--fullscreen`,t.fullscreen()),mb(),r_(t.landingVisible()?5:t.currencySelectionScreen()?6:7),mb(3),r_(t.gameIsLaunched()?8:-1))},dependencies:[VA,si,ai,be],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.game-box-desktop[_ngcontent-%COMP%]{position:relative;display:flex;align-items:flex-start;justify-content:center;width:100%;min-height:580px;max-height:580px}.game-box-desktop--game[_ngcontent-%COMP%]{max-height:unset;min-height:unset;max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height))}.game-box-desktop--nongame[_ngcontent-%COMP%]{min-height:580px;max-height:580px}.game-box-desktop__width-container[_ngcontent-%COMP%]{position:relative;width:100%}.game-box-desktop__width-container--with-welcome-bonus[_ngcontent-%COMP%]{max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height) - 120px)}.game-box-desktop__width-container--%NS%game[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;padding-top:56.25%;pointer-events:none}.game-box-desktop__width-content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;text-align:center}.game-box-desktop__ratio-image[_ngcontent-%COMP%]{height:100%;width:auto}.game-box-desktop__height-container[_ngcontent-%COMP%]{text-align:initial;width:auto;height:100%}.game-box-desktop__box[_ngcontent-%COMP%]{position:absolute;top:0;left:0;flex-direction:column;align-items:center;display:flex;width:100%;height:100%;padding:0;margin:0}.game-box-desktop__box--fullscreen[_ngcontent-%COMP%]{position:fixed;background-color:var(--%NS%dark-neutral-800);z-index:1058;max-width:100vw;max-height:100vh}.game-box-desktop__landing--fullscreen[_ngcontent-%COMP%]{height:100%}.game-box-desktop__iframe-container[_ngcontent-%COMP%]{position:relative;height:100%;margin:0;padding:0;width:auto;max-height:min(900px,100vh - 88px - var(--%NS%desktop-header-height));aspect-ratio:16/9;background-color:#ffffff08;border-radius:16px}.game-box-desktop__iframe-container--fullscreen[_ngcontent-%COMP%]{width:100vw;max-height:100vh;aspect-ratio:unset;border-radius:unset}.game-box-desktop__iframe-container--fullscreen[_ngcontent-%COMP%] .game-box-desktop__iframe[_ngcontent-%COMP%]{border-radius:unset}.game-box-desktop__iframe[_ngcontent-%COMP%]{border:none;margin:0;width:100%;height:100%;max-width:100%!important;max-height:100%!important;filter:drop-shadow(0px 15px 50px rgba(117,96,75,.2));border-radius:16px}`]})}}return n})();function Di(n,u){if(n&1){let e=h_();js(0,`app-base-button`,14),av(`click`,function(){Op(e);let t=E_();return Rp(t.favClick.emit())}),ad()}if(n&2){let e=E_();
1Jy(`icon`,e.isFav()?`star-solid`:`star-outline`)(`iconColor`,e.isFav()?`#FFD632`:``)(`iconSize`,32)}}function Li(n,u){n&1&&Xy(0,`img`,8)}function Ei(n,u){if(n&1){let e=h_();js(0,`div`,10)(1,`span`),X_(2),IM(3,`translate`),ad(),js(4,`app-currency-select`,15),av(`showCurrencyChangeModal`,function(t){Op(e);let s=E_();return Rp(s.onCurrencyChange(t))}),ad()()}if(n&2){let e=E_();mb(2),Nv(wM(3,5,`in_game_currency`)),mb(2),Jy(`narrowButton`,!0)(`showModalOnClick`,e.isCurrAccountCrypto())(`enabledCurrenciesList`,e.enabledConversionCurrencies())(`preselectedCurrency`,e.preferredCurrencyAlt())}}function Fi(n,u){if(n&1){let e=h_();js(0,`app-base-button`,16),av(`click`,function(){Op(e);let t=E_();return Rp(t.funModeToggleClick.emit())}),ad()}if(n&2){let e=E_();Jy(`iconTextGap`,0)(`rotateIcon`,e.funMode()?0:180)(`iconSize`,32)(`iconToTheRight`,!0)(`key`,e.funMode()?`in_game.play_for_real`:`in_game.play_for_fun`)}}var ci=(()=>{class n{static{this.HIDE_DELAY_MS=850}constructor(){this.fullscreen=vU(!1),this.fullscreenHeaderDynamic=vU(!1),this.gameHeader=vU(``),this.gameProvider=vU(``),this.isLogged=vU(void 0),this.funMode=vU(!1),this.funModeEnabled=vU(!1),this.isFav=vU(!1),this.currentAccount=vU(void 0),this.currencySelected=vU(!1),this.isCurrAccountCrypto=vU(!1),this.enabledConversionCurrencies=vU([]),this.currentAccountCurrency=vU(``),this.preferredCurrencyAlt=vU(``),this.currencyChange=yU(),this.funModeToggleClick=yU(),this.toggleFullscreen=yU(),this.favClick=yU(),this.closeGameClick=yU(),this.showCurrencyChangeModal=yU(),this.headerVisible=ns(!1),this.headerHovered=!1,th(()=>{this.isDynamicFullscreen()||(this.headerHovered=!1,this.clearHideTimeout(),this.headerVisible.set(!1))})}onCurrencyChange(e){this.showCurrencyChangeModal.emit(e)}onWrapperMouseEnter(){this.isDynamicFullscreen()&&(this.headerHovered=!0,this.showHeader())}onWrapperMouseLeave(){this.isDynamicFullscreen()&&(this.headerHovered=!1,this.scheduleHideHeader())}isDynamicFullscreen(){return this.fullscreen()&&this.fullscreenHeaderDynamic()}showHeader(){this.clearHideTimeout(),this.headerVisible.set(!0)}scheduleHideHeader(){this.hideTimeoutId||!this.headerVisible()||(this.hideTimeoutId=setTimeout(()=>{this.hideTimeoutId=void 0,this.isDynamicFullscreen()&&!this.headerHovered&&this.headerVisible.set(!1)},n.HIDE_DELAY_MS))}clearHideTimeout(){this.hideTimeoutId&&(clearTimeout(this.hideTimeoutId),this.hideTimeoutId=void 0)}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-box-header`]],inputs:{fullscreen:[1,`fullscreen`],fullscreenHeaderDynamic:[1,`fullscreenHeaderDynamic`],gameHeader:[1,`gameHeader`],gameProvider:[1,`gameProvider`],isLogged:[1,`isLogged`],funMode:[1,`funMode`],funModeEnabled:[1,`funModeEnabled`],isFav:[1,`isFav`],currentAccount:[1,`currentAccount`],currencySelected:[1,`currencySelected`],isCurrAccountCrypto:[1,`isCurrAccountCrypto`],enabledConversionCurrencies:[1,`enabledConversionCurrencies`],currentAccountCurrency:[1,`currentAccountCurrency`],preferredCurrencyAlt:[1,`preferredCurrencyAlt`]},outputs:{currencyChange:`currencyChange`,funModeToggleClick:`funModeToggleClick`,toggleFullscreen:`toggleFullscreen`,favClick:`favClick`,closeGameClick:`closeGameClick`,showCurrencyChangeModal:`showCurrencyChangeModal`},decls:16,vars:14,consts:[[1,`gbh-visibility-wrapper`,3,`mouseenter`,`mouseleave`],[1,`gbh`],[1,`gbh__content`],[1,`gbh__left`],[`buttonHeight`,`medium`,3,`icon`,`iconColor`,`iconSize`],[1,`gbh__title-container`],[1,`gbh__title`],[1,`gbh__provider`],[`src`,`/assets/images/logo-site.svg`,1,`gbh__logo`],[1,`gbh__action-block`],[1,`gbh__label`],[`icon`,`toggle`,`borderRadius`,`66px`,`padding`,`0 8px 0 16px`,`buttonHeight`,`medium`,3,`iconTextGap`,`rotateIcon`,`iconSize`,`iconToTheRight`,`key`],[`sprite`,`/assets/images/sprites/utils.svg?v=3`,`icon`,`fullscreen`,`buttonHeight`,`medium`,3,`click`,`iconSize`],[`sprite`,`/assets/images/sprites/utils.svg?v=3`,`icon`,`close`,`buttonHeight`,`medium`,3,`click`,`iconSize`],[`buttonHeight`,`medium`,3,`click`,`icon`,`iconColor`,`iconSize`],[3,`showCurrencyChangeModal`,`narrowButton`,`showModalOnClick`,`enabledCurrenciesList`,`preselectedCurrency`],[`icon`,`toggle`,`borderRadius`,`66px`,`padding`,`0 8px 0 16px`,`buttonHeight`,`medium`,3,`click`,`iconTextGap`,`rotateIcon`,`iconSize`,`iconToTheRight`,`key`]],template:function(i,t){i&1&&(js(0,`div`,0),av(`mouseenter`,function(){return t.onWrapperMouseEnter()})(`mouseleave`,function(){return t.onWrapperMouseLeave()}),js(1,`div`,1)(2,`div`,2)(3,`div`,3),t_(4,Di,1,3,`app-base-button`,4),js(5,`div`,5)(6,`h1`,6),X_(7),ad(),js(8,`span`,7),X_(9),ad()()(),t_(10,Li,1,0,`img`,8),js(11,`div`,9),t_(12,Ei,5,7,`div`,10),t_(13,Fi,1,5,`app-base-button`,11),js(14,`app-base-button`,12),av(`click`,function(){return t.toggleFullscreen.emit()}),ad(),js(15,`app-base-button`,13),av(`click`,function(){return t.closeGameClick.emit()}),ad()()()()()),i&2&&(vv(`gbh-visibility-wrapper--fullscreen-dynamic`,t.fullscreenHeaderDynamic()&&t.fullscreen())(`gbh-visibility-wrapper--show-dynamic-header`,t.fullscreenHeaderDynamic()&&t.fullscreen()&&t.headerVisible()),mb(),vv(`gbh--fullscreen`,t.fullscreen()),mb(3),r_(t.isLogged()?4:-1),mb(3),Nv(t.gameHeader()),mb(2),Nv(t.gameProvider()||``),mb(),r_(t.fullscreen()?10:-1),mb(2),r_(t.currentAccount()&&!t.funMode()&&t.isCurrAccountCrypto()&&t.currencySelected()?12:-1),mb(),r_(t.funModeEnabled()?13:-1),mb(),Jy(`iconSize`,24),mb(),Jy(`iconSize`,32))},dependencies:[VA,Qe$1,nt$1,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.gbh[_ngcontent-%COMP%]{width:100%}.gbh__content[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;position:relative;width:100%;padding:0 16px;margin:0;height:88px;border-radius:24px 24px 0 0;z-index:1}.gbh__left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px}.gbh--fullscreen[_ngcontent-%COMP%]{position:absolute;top:0;z-index:1059;width:100vw;left:0;border-radius:0;background-color:var(--%NS%dark-neutral-800);transform:translateY(0);transition:transform .2s ease-out}.gbh--fullscreen[_ngcontent-%COMP%] .gbh__content[_ngcontent-%COMP%]{background:#ffffff08;border-radius:unset}.gbh__logo[_ngcontent-%COMP%]{height:45px;margin-top:2px}.gbh__title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.gbh__title[_ngcontent-%COMP%]{color:var(--%NS%white);font-family:Nunito Sans,sans-serif;font-size:20px;line-height:32px;letter-spacing:-.017em;font-weight:700;font-feature-settings:"liga" off,"clig" off;padding:0;margin:0;line-height:28px}.gbh__provider[_ngcontent-%COMP%]{color:var(--%NS%white);font-family:Nunito Sans,sans-serif;font-size:14px;letter-spacing:-.006em;font-weight:600;font-feature-settings:"liga" off,"clig" off;line-height:24px;opacity:.7}.gbh__action-block[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:16px}@media(max-width:1199px){.gbh__action-block[_ngcontent-%COMP%]{gap:8px}}.gbh__label[_ngcontent-%COMP%]{display:flex;gap:6px;align-items:center;font-size:15px;font-weight:400;line-height:1.3;color:#a0afbb}.gbh-visibility-wrapper[_ngcontent-%COMP%]{width:100%}.gbh-visibility-wrapper--fullscreen-dynamic[_ngcontent-%COMP%]{position:absolute;top:0;z-index:1059;width:100vw;left:0;height:25px;overflow:hidden;background-color:transparent;transition:height 0s linear .2s}@media(min-height:470px){.gbh-visibility-wrapper--fullscreen-dynamic[_ngcontent-%COMP%]{height:30px}}@media(min-height:570px){.gbh-visibility-wrapper--fullscreen-dynamic[_ngcontent-%COMP%]{height:35px}}.gbh-visibility-wrapper--fullscreen-dynamic[_ngcontent-%COMP%] .gbh--fullscreen[_ngcontent-%COMP%]{transform:translateY(-100%)}.gbh-visibility-wrapper--show-dynamic-header[_ngcontent-%COMP%]{height:88px;transition-delay:0s}.gbh-visibility-wrapper--show-dynamic-header[_ngcontent-%COMP%] .gbh--fullscreen[_ngcontent-%COMP%]{transform:translateY(0)}`]})}}return n})();var di=(()=>{class n{constructor(){this.userService=g(Dt),this.userService.favoriteGamesPipe.subscribe(e=>{this.favouriteGames=e})}
1addToFav(e){if(!e||!this.favouriteGames||!this.userService.logged||!this.userService.user)return;let i=e.real[this.userService.user.currency]?e.real[this.userService.user.currency].id:e.real[Object.keys(e.real)[0]].id,t=this.userService.isGameFavorite(e);this.userService.setGameFavourite(i,e,!t)}getIsFav(e){return!e||!this.favouriteGames?!1:this.userService.isGameFavorite(e)}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵprov=B$1({token:n,factory:n.ɵfac,providedIn:`root`})}}return n})();var Vi=n=>({"igm__winzup-data--small":n});var Ai=()=>({width:`60px`});var Bi=()=>({width:`100%`});function zi(n,u){if(n&1&&(js(0,`div`,4)(1,`div`,5),Xy(2,`app-progress-bar`,6),ad(),js(3,`div`,7),X_(4),ad()()),n&2){let e=E_(2);Jy(`ngClass`,gM(5,Vi,e.isSmallView())),mb(),Jy(`ngStyle`,e.isSmallView()?hM(7,Ai):hM(8,Bi)),mb(),Jy(`simpleDesign`,!0)(`value`,e.loyaltyProgramData().progressPercent),mb(2),pd(``,e.loyaltyProgramData().progressPercent,`%`)}}function Ri(n,u){if(n&1&&(js(0,`div`,0)(1,`div`,1),Xy(2,`img`,2),js(3,`div`,3),X_(4),ad()(),t_(5,zi,5,9,`div`,4),ad()),n&2){let e=E_();mb(2),Jy(`src`,e.userLevelData().badgeSrc,ym),mb(2),pd(` `,e.userLevelData().level,` `),mb(),r_(e.loyaltyProgramData()?5:-1)}}var mi=(()=>{class n{constructor(){this.userLevelData=vU(),this.loyaltyProgramData=vU(),this.isSmallView=vU(!1)}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-in-game-menu-winzup`]],inputs:{userLevelData:[1,`userLevelData`],loyaltyProgramData:[1,`loyaltyProgramData`],isSmallView:[1,`isSmallView`]},decls:1,vars:1,consts:[[1,`igm__winzup`],[1,`igm__winzup-image`],[`loading`,`lazy`,`alt`,``,3,`src`],[1,`igm__winzup-level`],[1,`igm__winzup-data`,3,`ngClass`],[3,`ngStyle`],[3,`simpleDesign`,`value`],[1,`igm__winzup-percentage`]],template:function(i,t){i&1&&t_(0,Ri,6,3,`div`,0),i&2&&r_(t.userLevelData()?0:-1)},dependencies:[VA,IA,TA,z$1],styles:[`.igm__winzup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px}.igm__winzup-image[_ngcontent-%COMP%]{position:relative;width:24px;height:24px}.igm__winzup-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:24px;height:24px}.igm__winzup-data[_ngcontent-%COMP%]{display:flex;gap:8px;width:100%;align-items:center}.igm__winzup-data--small[_ngcontent-%COMP%]{width:auto}.igm__winzup-level[_ngcontent-%COMP%]{position:absolute;font-size:10px;line-height:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;color:#fff;width:16px;height:16px;top:-10px;left:12px;transform:translate(-50%);background-color:#741f06;border-radius:50%;border:2px solid #071728;z-index:1}.igm__winzup__winzup-percentage[_ngcontent-%COMP%]{font-size:12px;letter-spacing:-.204px;opacity:.5}`]})}}return n})();var Ui=n=>({"igm__blur-wrapper--solid":n});var Hi=n=>({"igm__scrollable-wrapper--actually-scrollable":n});var $i=n=>({"igm--no-shadow":n});var Wi=n=>({"igm__close-button--repositioned":n});var ji=n=>({"igm__winzup--with-button":n});var qi=n=>({"igm__toggle-off":n});function Ki(n,u){if(n&1&&(js(0,`div`,1),Xy(1,`app-in-game-menu-winzup`,4),js(2,`div`,5),Xy(3,`app-svg-icon`,6),ad()()),n&2){let e=E_();mb(),Jy(`loyaltyProgramData`,e.loyaltyProgramData())(`userLevelData`,e.userLevelData())(`isSmallView`,!0),mb(2),Jy(`size`,20)}}function Qi(n,u){if(n&1){let e=h_();js(0,`div`,2)(1,`div`,7)(2,`div`,5),Xy(3,`app-svg-icon`,6),ad(),js(4,`span`),X_(5),IM(6,`translate`),ad()(),js(7,`app-base-button`,8),av(`click`,function(t){Op(e);let s=E_();return Rp(s.onSignupClick(t))}),ad()()}n&2&&(mb(3),Jy(`size`,20),mb(2),Nv(wM(6,2,`menu`)))}function Yi(n,u){if(n&1){let e=h_();js(0,`div`,15)(1,`app-welcome-bonus`,24),av(`click`,function(t){Op(e);let s=E_(2);return Rp(s.onSignupClick(t))}),ad()()}}function Zi(n,u){if(n&1&&(js(0,`div`,16),Xy(1,`app-in-game-menu-winzup`,25),ad()),n&2){let e=E_(2);Jy(`ngClass`,gM(5,ji,e.isMenuHeightBiggerThanScreen())),mb(),sa(`width`,100,`%`),Jy(`loyaltyProgramData`,e.loyaltyProgramData())(`userLevelData`,e.userLevelData())}}function Ji(n,u){n&1&&Xy(0,`app-svg-icon`,14),n&2&&Jy(`size`,20)(`margin`,6)}function Xi(n,u){if(n&1){let e=h_();js(0,`div`,17)(1,`div`,26),av(`click`,function(){Op(e);let t=E_(2);return Rp(t.isEe()?null:t.onAccountChange())}),js(2,`span`,27),X_(3),IM(4,`winzCurrency`),ad(),js(5,`span`,28),X_(6),IM(7,`winzCurrency`),ad(),t_(8,Ji,1,2,`app-svg-icon`,14),ad(),js(9,`button`,29),av(`click`,function(){Op(e);let t=E_(2);return Rp(t.onDepositClick())}),X_(10),IM(11,`translate`),ad(),js(12,`p`,30),X_(13),IM(14,`translate`),IM(15,`async`),ad()()}if(n&2){let e=E_(2);mb(3),pd(` `,SM(4,6,e.currentAccount().amount_cents,e.currentAccount().currency,!0,!1),` `),mb(3),pd(` `,TM(7,11,e.currentAccount().amount_cents,e.currentAccount().currency,!1),` `),mb(2),r_(e.isEe()?
1-1:8),mb(2),pd(` `,wM(11,15,`deposit`),` `),mb(3),Av(` `,wM(14,17,`in_game.balance_updates`),` `,wM(15,19,e.countdown$),` `)}}function en(n,u){if(n&1){let e=h_();js(0,`div`,18)(1,`p`,31),X_(2),IM(3,`translate`),ad(),js(4,`p`,32),X_(5),IM(6,`translate`),ad(),js(7,`app-currency-select-fullname-icon`,33),av(`showCurrencyChangeModal`,function(t){Op(e);let s=E_(2);return Rp(s.onCurrencyChange(t))}),ad()()}if(n&2){let e=E_(2);mb(2),Nv(wM(3,5,`in_game_currency`)),mb(3),Nv(wM(6,7,`in_game.reload_game_note`)),mb(2),Jy(`showModalOnClick`,e.isCurrAccountCrypto())(`enabledCurrenciesList`,e.enabledConversionCurrencies())(`preselectedCurrency`,e.preferredCurrencyAlt())}}function tn(n,u){n&1&&Xy(0,`app-svg-icon`,34),n&2&&Jy(`size`,20)(`margin`,6)}function nn(n,u){n&1&&Xy(0,`app-svg-icon`,35),n&2&&Jy(`size`,20)(`margin`,6)}function on(n,u){if(n&1){let e=h_();js(0,`button`,21),av(`click`,function(t){Op(e);let s=E_(2);return Rp(s.favClick(t))}),t_(1,tn,1,2,`app-svg-icon`,34)(2,nn,1,2,`app-svg-icon`,35),X_(3),IM(4,`translate`),ad()}if(n&2){let e=E_(2);mb(),r_(e.isFav()?1:2),mb(2),pd(` `,wM(4,2,`in_game.save_game`),` `)}}function rn(n,u){if(n&1){let e=h_();js(0,`button`,21),av(`click`,function(){Op(e);let t=E_(2);return Rp(t.onFunModeClick())}),Xy(1,`app-svg-icon`,36),X_(2),IM(3,`translate`),ad()}if(n&2){let e=E_(2);mb(),Jy(`ngClass`,gM(6,qi,e.funMode()))(`size`,20)(`margin`,6),mb(),pd(` `,wM(3,4,e.funMode()?`in_game.play_for_real`:`in_game.play_for_fun`),` `)}}function an(n,u){if(n&1){let e=h_();js(0,`div`,9),av(`click`,function(){Op(e);let t=E_();return Rp(t.setInGameMenuVisible(!1))}),js(1,`div`,10)(2,`div`,11)(3,`div`,12),av(`exceeds`,function(t){Op(e);let s=E_();return Rp(s.handleHeightExceeds(t))})(`click`,function(t){return t.stopPropagation()}),js(4,`button`,13),av(`click`,function(){Op(e);let t=E_();return Rp(t.setInGameMenuVisible(!1))}),Xy(5,`app-svg-icon`,14),ad(),t_(6,Yi,2,0,`div`,15),t_(7,Zi,2,7,`div`,16),t_(8,Xi,16,21,`div`,17),t_(9,en,8,9,`div`,18),js(10,`div`,19),t_(11,on,5,4,`button`,20),t_(12,rn,4,8,`button`,20),js(13,`button`,21),av(`click`,function(){Op(e);let t=E_();return Rp(t.onChatClick())}),Xy(14,`app-svg-icon`,22),X_(15),IM(16,`translate`),ad(),js(17,`button`,21),av(`click`,function(){Op(e);let t=E_();return Rp(t.goBackEmit.emit())}),Xy(18,`app-svg-icon`,23),X_(19),IM(20,`translate`),ad()()()()()()}if(n&2){let e=E_();Jy(`ngClass`,gM(26,Ui,e.isMenuHeightBiggerThanScreen())),mb(2),Jy(`ngClass`,gM(28,Hi,e.isMenuHeightBiggerThanScreen())),mb(),Jy(`ngClass`,gM(30,$i,e.isMenuHeightBiggerThanScreen()))(`shouldCheckHeight`,!0)(`animationDelay`,450)(`useScreenSizeAsThreshold`,!0)(`offset`,48),mb(),Jy(`ngClass`,gM(32,Wi,e.isMenuHeightBiggerThanScreen())),mb(),Jy(`size`,20)(`margin`,6),mb(),r_(e.isLogged()?-1:6),mb(),r_(e.isLogged()&&e.winzupStateDefined()&&!e.isQuitUser()?7:-1),mb(),r_(e.currentAccount()?8:-1),mb(),r_(e.currentAccount()&&e.isCurrAccountCrypto()&&!e.funMode()?9:-1),mb(2),r_(e.isLogged()?11:-1),mb(),r_(e.funModeEnabled()&&e.funMode()?12:-1),mb(2),Jy(`size`,20)(`margin`,6),mb(),pd(` `,wM(16,22,`in_game.live_chat`),` `),mb(3),Jy(`size`,20)(`margin`,6),mb(),pd(` `,wM(20,24,`in_game.exit_game`),` `)}}var pi=(()=>{class n{constructor(){this.intercom=g(M),this.favGames=g(di),this.userService=g(Dt),this.winzupService=g(V$1),this.licensingService=g(Q),this.destroyRef=g(Ne),this.funModeToggleClick=yU(),this.depositButtonClick=yU(),this.goBackEmit=yU(),this.signUpClick=yU(),this.isInGameMenuClick=yU(),this.game=vU(),this.funModeEnabled=vU(!1),this.isInGameMenuOpen=vU(),this.funMode=vU(!1),this.enabledConversionCurrencies=vU(),this.isCurrAccountCrypto=vU(),this.preferredCurrencyAlt=vU(``),this.ingameCurrencyChange=yU(),this.showCurrencyChangeModal=yU(),this.showAccountChangeModal=yU(),this.isMenuHeightBiggerThanScreen=ns(!1),this.isFav=ns(!1),this.isEe=ns(!1),this.winzupAvailable=ns(!1),this.winzupStateDefined=ns(!1),this.userLevelData=ns(null),this.loyaltyProgramData=ns(null),this.isQuitUser=ns(null),this.isLogged=ns(!1),this.accounts=ns(null),this.currentAccount=ns(null),this.POLLING_INTERVAL=1e4,this.isInGameMenuOpen$=Rr(this.isInGameMenuOpen),this.pollingTick$=this.isInGameMenuOpen$.pipe(Pf(e=>e?Qe$2(0,this.POLLING_INTERVAL).pipe(Wf(this.isInGameMenuOpen$.pipe(Jn(i=>!i)))):pn$1),Ff({bufferSize:1,refCount:!0})),this.countdown$=this.pollingTick$.pipe(Pf(()=>Qe$2(0,1e3).pipe(gn$1(10),Le$1(e=>this.POLLING_INTERVAL/1e3-e))),Lf(this.POLLING_INTERVAL/1e3),Ff({bufferSize:1,refCount:!0}))}ngOnInit(){this.subscribeToUserLoggedState(),this.subscribeToFavGamesChanges(),this.checkLicenseType(),this.subscribeToWinzupData(),this.subscribeToAccountAndBalanceUpdates(),this.updateAccountBalanceData()}setInGameMenuVisible(e){this.isInGameMenuClick.emit(e)}onChatClick(){this.intercom.maximise(),this.closeMenu()}onSignupClick(e){e&&(e.stopImmediatePropagation(),e.preventDefault()),this.closeMenu(),this.signUpClick.emit()}onDepositClick(e){e&&(e.stopImmediatePropagation(),e.preventDefault()),this.depositButtonClick.emit()}onFunModeClick(){this.closeMenu(),this.funModeToggleClick.emit({reloadGame:!0})}favClick(e){e.stopImmediatePropagation(),this.favGames.addToFav(this.game())}onCurrencyChange(e){this.showCurrencyChangeModal.emit(e)}onAccountChange(){this.showAccountChangeModal.emit()}handleHeightExceeds(e){this.isMenuHeightBiggerThanScreen.set(e)}closeMenu(){this.isInGameMenuOpen()&&this.isInGameMenuClick.emit(!1)}updateAccountBalanceData(){this.pollingTick$.pipe(Pf(()=>this.userService.getUserBalances()),Rt(this.destroyRef)).subscribe(e=>{this.updateCurrentAccount(e)})}updateCurrentAccount(e){if(this.accounts.set(e),!this.userService.logged||!this.accounts){this.currentAccount.set(null);return}let i=this.accounts().find(s=>s.currency===this.userService.user.currency);(!this.currentAccount()||i&&(i.currency!==this.currentAccount().currency||i.amount_cents!==this.currentAccount().amount_cents))&&this.currentAccount.set(i)}subscribeToAccountAndBalanceUpdates(){BE(this.userService.accountsPipe,this.userService.currencyChangePipe.pipe(aI(this.userService.accountsPipe),Le$1(([e,i])=>i))).pipe(Rt(this.destroyRef),jf(e=>{this.updateCurrentAccount(e)})).subscribe()}subscribeToUserLoggedState(){this.userService.logged$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.isLogged.set(e)})}subscribeToWinzupData(){this.winzupService.winzupAvailability$.pipe(Rt(this.destroyRef),Hf(this.winzupService.isQuitUser$,this.winzupService.loyaltyProgramData$,this.winzupService.userLevelData$),Le$1(([e,i,t,s])=>{this.winzupAvailable.set(e.available),this.winzupStateDefined.set(e.stateDefined),this.isQuitUser.set(i),this.userLevelData.set(s),this.loyaltyProgramData.set(t)})).subscribe(()=>{})}checkLicenseType(){this.licensingService.licenseType$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.isEe.set(e===A.Estonian)})}subscribeToFavGamesChanges(){this.userService.favGamesChanged.pipe(Rt(this.destroyRef)).subscribe(()=>{this.isFav.set(this.favGames.getIsFav(this.game()))})}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-in-game-menu`]],inputs:{game:[1,`game`],funModeEnabled:[1,`funModeEnabled`],isInGameMenuOpen:[1,`isInGameMenuOpen`],funMode:[1,`funMode`],enabledConversionCurrencies:[1,`enabledConversionCurrencies`],isCurrAccountCrypto:[1,`isCurrAccountCrypto`],preferredCurrencyAlt:[1,`preferredCurrencyAlt`]},outputs:{funModeToggleClick:`funModeToggleClick`,depositButtonClick:`depositButtonClick`,goBackEmit:`goBackEmit`,signUpClick:`
1signUpClick`,isInGameMenuClick:`isInGameMenuClick`,ingameCurrencyChange:`ingameCurrencyChange`,showCurrencyChangeModal:`showCurrencyChangeModal`,showAccountChangeModal:`showAccountChangeModal`},decls:4,vars:2,consts:[[`role`,`button`,1,`igm__menu-button`,3,`click`],[1,`igm__winzup`],[1,`igm__winzup`,`igm__winzup--space-between`],[1,`igm__blur-wrapper`,3,`ngClass`],[3,`loyaltyProgramData`,`userLevelData`,`isSmallView`],[1,`igm__open-button`],[`icon`,`chevron-down`,1,`igm__arrow`,3,`size`],[1,`igm__menu`],[`padding`,`0 24px`,`key`,`sign_up`,`borderRadius`,`32px`,`type`,`cta`,`buttonHeight`,`tiny`,3,`click`],[1,`igm__blur-wrapper`,3,`click`,`ngClass`],[1,`igm__animation-wrapper`],[1,`igm__scrollable-wrapper`,3,`ngClass`],[`appCheckElementWidthHeight`,``,1,`igm`,3,`exceeds`,`click`,`ngClass`,`shouldCheckHeight`,`animationDelay`,`useScreenSizeAsThreshold`,`offset`],[1,`igm__close-button`,3,`click`,`ngClass`],[`icon`,`chevron-down`,1,`igm__arrow`,3,`size`,`margin`],[1,`igm__container`,`igm__welcome-bonus`],[1,`igm__winzup`,`igm__container`,3,`ngClass`],[1,`igm__deposit`,`igm__container`],[1,`igm__currency`,`igm__container`],[1,`igm__button-group`],[1,`igm__button`],[1,`igm__button`,3,`click`],[`icon`,`live-chat`,3,`size`,`margin`],[`icon`,`exit`,3,`size`,`margin`],[`variant`,`menuView`,3,`click`],[3,`loyaltyProgramData`,`userLevelData`],[1,`igm__balance`,3,`click`],[1,`igm__balance-currency`],[1,`igm__balance-amount`],[1,`igm__button--deposit`,3,`click`],[1,`igm__currency-text`,`igm__currency-update`],[1,`igm__currency-title`],[1,`igm__currency-text`],[3,`showCurrencyChangeModal`,`showModalOnClick`,`enabledCurrenciesList`,`preselectedCurrency`],[`icon`,`star-solid`,`color`,`#FFD632`,3,`size`,`margin`],[`icon`,`star-outline`,3,`size`,`margin`],[`icon`,`toggle`,3,`ngClass`,`size`,`margin`]],template:function(i,t){i&1&&(js(0,`div`,0),av(`click`,function(){return t.setInGameMenuVisible(!0)}),t_(1,Ki,4,4,`div`,1)(2,Qi,8,4,`div`,2),ad(),t_(3,an,21,34,`div`,3)),i&2&&(mb(),r_(t.isLogged()&&t.winzupStateDefined()&&!t.isQuitUser()?1:2),mb(2),r_(t.isInGameMenuOpen()?3:-1))},dependencies:[VA,IA,z,ve,re,mi,nt$1,be,NA,v$1,S$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.igm[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border-radius:24px 24px 0 0;background-color:#162637;box-shadow:0 0 40px #0000004d;padding:16px;gap:16px}
1.igm--no-shadow[_ngcontent-%COMP%]{box-shadow:none}.igm__scrollable-wrapper[_ngcontent-%COMP%]{position:relative;width:100%}.igm__scrollable-wrapper--actually-scrollable[_ngcontent-%COMP%]{height:100vh;overflow-y:auto}.igm__blur-wrapper[_ngcontent-%COMP%]{position:fixed;z-index:1054;bottom:0;left:0;width:100%;height:100%;backdrop-filter:blur(9.5px);display:flex;align-items:flex-end}.igm__blur-wrapper--solid[_ngcontent-%COMP%]{background-color:#162637}.igm__animation-wrapper[_ngcontent-%COMP%]{position:fixed;width:100%;animation:_ngcontent-%COMP%_slide-up .4s ease}.igm__container[_ngcontent-%COMP%]{width:100%;height:fit-content;border-radius:16px;background-color:#ffffff08;backdrop-filter:blur(7.5px);padding:8px 0}.igm__welcome-bonus[_ngcontent-%COMP%]{padding:16px}.igm__menu-button[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;background-color:#162637;backdrop-filter:blur(7.5px);width:100%;height:58px;z-index:1053;border:none;outline:none}.igm__button-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;width:100%}.igm__button[_ngcontent-%COMP%]{display:flex;padding:12px;gap:12px;font-size:14px;color:#ffffffe6;align-items:center;border-radius:16px;background-color:#ffffff08;backdrop-filter:blur(7.5px);width:100%;height:48px;border:none;outline:none}.igm__balance[_ngcontent-%COMP%]{position:relative;width:100%;padding:8px;display:flex;justify-content:space-between;align-items:center}.igm__balance-currency[_ngcontent-%COMP%]{color:#fff;text-align:center;font-size:16px;font-weight:700;line-height:16px;opacity:.6;padding:4px 8px}.igm__balance-amount[_ngcontent-%COMP%]{position:absolute;margin:0 auto;color:#fff;text-align:center;font-size:16px;font-weight:800;line-height:16px;width:calc(100% - 16px)}.igm__button--deposit[_ngcontent-%COMP%]{width:calc(100% - 16px);margin:8px 8px 0;display:flex;height:40px;padding:0 24px;justify-content:center;align-items:center;text-align:center;border-radius:12px;background:#089c28;border:none}.igm__menu[_ngcontent-%COMP%]{display:flex;gap:16px;justify-content:center;padding:0 16px}.igm__winzup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;height:58px;padding:12px 16px}.igm__winzup--with-button[_ngcontent-%COMP%]{width:calc(100% - 48px);align-self:flex-start}.igm__winzup--space-between[_ngcontent-%COMP%]{justify-content:space-between}.igm__currency[_ngcontent-%COMP%]{padding:12px 8px 8px}.igm__currency-title[_ngcontent-%COMP%]{padding:0 16px;color:#edeeef;font-family:Nunito Sans;font-size:14px;font-weight:600;line-height:16px}.igm__currency-text[_ngcontent-%COMP%]{padding:0 16px;opacity:.6;color:#fff;font-family:Nunito Sans;font-size:12px;font-weight:600;line-height:16px}.igm__currency-update[_ngcontent-%COMP%]{margin-top:12px;text-align:center}.igm__currency-button[_ngcontent-%COMP%]{display:flex;height:48px;padding:8px 16px;width:100%;justify-content:space-between;align-items:center;border-radius:12px;border:1px solid rgba(255,255,255,.1);background-color:#06142233}.igm__arrow[_ngcontent-%COMP%]{opacity:.5}.igm__toggle-off[_ngcontent-%COMP%]{transform:rotate(180deg)}.igm__close-button[_ngcontent-%COMP%]{all:unset;position:absolute;width:32px;height:32px;top:-44px;margin:0 auto;border-radius:50%;background-color:#76767699}.igm__close-button--repositioned[_ngcontent-%COMP%]{position:absolute;top:32px;right:16px;z-index:1}.igm__open-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background-color:#fff3;transform:rotate(180deg)}@keyframes _ngcontent-%COMP%_slide-up{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}`]})}}return n})();function sn(n,u){if(n&1){let e=h_();js(0,`app-base-button`,9),av(`click`,function(){Op(e);let t=E_();return Rp(t.favClick.emit())}),ad()}if(n&2){let e=E_();Jy(`icon`,e.isFav()?`star-solid`:`star-outline`)(`iconColor`,e.isFav()?`#FFD632`:``)(`iconSize`,24)}}function ln(n,u){if(n&1){let e=h_();js(0,`div`,10),X_(1),IM(2,`translate`),ad(),js(3,`app-base-button`,11),av(`click`,function(){Op(e);let t=E_();return Rp(t.signUpClick.emit())}),ad()}if(n&2){let e=E_();mb(),Nv(wM(2,2,`signup_to_play`)),mb(2),Jy(`key`,e.signupTranslationKey)}}function cn(n,u){if(n&1){let e=h_();js(0,`app-currency-select-fullname-icon`,14),av(`showCurrencyChangeModal`,function(t){Op(e);let s=E_(2);return Rp(s.onCurrencyChange(t))}),ad()}if(n&2){let e=E_(2);Jy(`showModalOnClick`,e.isCurrAccountCrypto())(`enabledCurrenciesList`,e.enabledConversionCurrencies())(`preselectedCurrency`,e.preferredCurrencyAlt())}}function dn(n,u){if(n&1){let e=h_();t_(0,cn,1,3,`app-currency-select-fullname-icon`,12),js(1,`app-base-button`,13),av(`click`,function(){Op(e);let t=E_();return Rp(t.mobilePlayClick.emit())}),ad()}if(n&2){let e=E_();r_(e.currentAccount()&&e.isCurrAccountCrypto()?0:-1)}}function mn(n,u){if(n&1){let e=h_();js(0,`button`,15),av(`click`,function(){Op(e);let t=E_();return Rp(t.playFunModeClick.emit())}),js(1,`span`),X_(2),IM(3,`translate`),ad()()}n&2&&(mb(2),Nv(wM(3,1,`in_game.play_for_fun`)))}function pn(n,u){if(n&1){let e=h_();js(0,`div`,17)(1,`span`,19),X_(2),IM(3,`translate`),ad(),js(4,`app-base-button`,20),av(`click`,function(){Op(e);let t=E_(2);return Rp(t.funModeToggleClick.emit({}))}),ad()()}n&2&&(mb(2),Nv(wM(3,1,`playing_in_demo`)))}function un(n,u){if(n&1){let e=h_();js(0,`iframe`,16),av(`load`,function(){Op(e);let t=E_();return Rp(t.onGameLoad())}),ad(),t_(1,pn,5,3,`div`,17),js(2,`app-in-game-menu`,18),av(`isInGameMenuClick`,function(t){Op(e);let s=E_();return Rp(s.isInGameMenuClick.emit(t))})(`ingameCurrencyChange`,function(t){Op(e);let s=E_();return Rp(s.ingameCurrencyChange.emit(t))})(`goBackEmit`,function(){Op(e);let t=E_();return Rp(t.goBackEmit.emit())})(`showAccountChangeModal`,function(){Op(e);let t=E_();return Rp(t.showAccountChangeModal.emit())})(`showCurrencyChangeModal`,function(t){Op(e);let s=E_();return Rp(s.showCurrencyChangeModal.emit(t))})(`depositButtonClick`,function(){Op(e);let t=E_();return Rp(t.depositButtonClick.emit())})(`funModeToggleClick`,function(t){Op(e);let s=E_();return Rp(s.funModeToggleClick.emit(t))})(`signUpClick`,function(){Op(e);let t=E_();return Rp(t.signUpClick.emit())}),ad()}if(n&2){let e=E_();vv(`gvm__iframe--with-header`,e.funMode()&&e.isLogged()),Jy(`src`,e.gameUrl(),vm),mb(),r_(e.funMode()&&e.isLogged()?1:-1),mb(),Jy(`funModeEnabled`,e.funModeEnabled())(`funMode`,e.funMode())(`game`,e.game())(`isInGameMenuOpen`,e.isInGameMenuOpen())(`isCurrAccountCrypto`,e.isCurrAccountCrypto())(`enabledConversionCurrencies`,e.enabledConversionCurrencies())(`preferredCurrencyAlt`,e.preferredCurrencyAlt())}}var ui=(()=>{class n{constructor(){this.licensingService=g(Q),this.goBackEmit=yU(),this.exitMobGame=yU(),this.favClick=yU(),this.ingameCurrencyChange=yU(),this.funModeToggleClick=yU(),this.playFunModeClick=yU(),this.depositButtonClick=yU(),this.mobilePlayClick=yU(),this.gameLoaded=yU(),this.showCurrencyChangeModal=yU(),this.showAccountChangeModal=yU(),this.isInGameMenuClick=yU(),this.signUpClick=yU(),this.gameUrl=vU(),this.providerTitle=vU(),this.currentAccount=vU(),this.gameImgUrl=vU(),this.readyToPlay=vU(),this.enabledConversionCurrencies=vU(),this.isCurrAccountCrypto=vU(),this.preferredCurrencyAlt=vU(``),this.funModeEnabled=vU(),this.funMode=vU(),this.isLogged=vU(void 0),this.isFav=vU(),this.game=vU(),this.isInGameMenuOpen=vU()}onGameLoad(){this.gameLoaded.emit()}onCurrencyChange(e){this.showCurrencyChangeModal.emit(e)}get signupTranslationKey(){return this.licensingService.isEE()?`pay_n_play`:`sign_up_now`}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-box-mobile`]],inputs:{gameUrl:[1,`gameUrl`],providerTitle:[1,`providerTitle`],currentAccount:[1,`currentAccount`],gameImgUrl:[1,`gameImgUrl`],readyToPlay:[1,`readyToPlay`],enabledConversionCurrencies:[1,`enabledConversionCurrencies`],isCurrAccountCrypto:[1,`isCurrAccountCrypto`],preferredCurrencyAlt:[1,`preferredCurrencyAlt`],funModeEnabled:[1,`funModeEnabled`],funMode:[1,`funMode`],isLogged:[1,`isLogged`],isFav:[1,`isFav`],game:[1,`game`],isInGameMenuOpen:[1,`isInGameMenuOpen`]},outputs:{goBackEmit:`goBackEmit`,exitMobGame:`exitMobGame`,favClick:`favClick`,ingameCurrencyChange:`ingameCurrencyChange`,funModeToggleClick:`funModeToggleClick`,playFunModeClick:`playFunModeClick`,depositButtonClick:`depositButtonClick`,mobilePlayClick:`mobilePlayClick`,gameLoaded:`gameLoaded`,showCurrencyChangeModal:`showCurrencyChangeModal`,showAccountChangeModal:`showAccountChangeModal`,isInGameMenuClick:`isInGameMenuClick`,signUpClick:`
1signUpClick`},decls:15,vars:11,consts:[[1,`gvm__header`],[`sprite`,`/assets/images/sprites/utils.svg?v=3`,`icon`,`arrow-back`,`buttonHeight`,`medium`,1,`gvm__header-button`,3,`click`,`iconSize`],[1,`gvm__title-container`],[1,`gvm__provider`],[1,`gvm__header-button`],[`buttonHeight`,`medium`,3,`icon`,`iconColor`,`iconSize`],[`fetchpriority`,`high`,`loading`,`eager`,3,`click`,`size`,`borderRadius`,`src`,`alt`],[1,`gvm__button-container`],[1,`gvm__fun-button`,`gvm__button`],[`buttonHeight`,`medium`,3,`click`,`icon`,`iconColor`,`iconSize`],[1,`gvm__signup-label`],[`type`,`cta`,`buttonWidth`,`100%`,`buttonHeight`,`large`,`borderRadius`,`12px`,1,`gvm__button`,3,`click`,`key`],[`variant`,`labeled`,1,`gvm__button`,3,`showModalOnClick`,`enabledCurrenciesList`,`preselectedCurrency`],[`type`,`cta`,`buttonHeight`,`large`,`buttonWidth`,`100%`,`borderRadius`,`12px`,`key`,`mobile_search.play`,1,`gvm__button`,3,`click`],[`variant`,`labeled`,1,`gvm__button`,3,`showCurrencyChangeModal`,`showModalOnClick`,`enabledCurrenciesList`,`preselectedCurrency`],[1,`gvm__fun-button`,`gvm__button`,3,`click`],[`allowfullscreen`,`true`,1,`gvm__iframe`,3,`load`,`src`],[1,`gvm__in-game-header`],[3,`isInGameMenuClick`,`ingameCurrencyChange`,`goBackEmit`,`showAccountChangeModal`,`showCurrencyChangeModal`,`depositButtonClick`,`funModeToggleClick`,`signUpClick`,`funModeEnabled`,`funMode`,`game`,`isInGameMenuOpen`,`isCurrAccountCrypto`,`enabledConversionCurrencies`,`preferredCurrencyAlt`],[1,`gvm__in-game-header-title`],[`type`,`cta`,`buttonHeight`,`tiny`,`borderRadius`,`40px`,`padding`,`0 16px`,`key`,`in_game.play_for_real`,3,`click`]],template:function(i,t){i&1&&(js(0,`div`,0)(1,`app-base-button`,1),av(`click`,function(){return t.goBackEmit.emit()}),ad(),js(2,`div`,2)(3,`h1`),X_(4),ad(),js(5,`span`,3),X_(6),ad()(),js(7,`div`,4),t_(8,sn,1,3,`app-base-button`,5),ad()(),js(9,`app-game-square-thumbnail`,6),av(`click`,function(){return t.mobilePlayClick.emit()}),ad(),js(10,`div`,7),t_(11,ln,4,4)(12,dn,2,1),t_(13,mn,4,3,`button`,8),ad(),t_(14,un,3,11)),i&2&&(mb(),Jy(`iconSize`,24),mb(3),Nv(t.game().title),mb(2),Nv(t.providerTitle()),mb(2),r_(t.isLogged()?8:-1),mb(),Jy(`size`,146)(`borderRadius`,16)(`src`,t.gameImgUrl())(`alt`,t.game().title),mb(2),r_(t.isLogged()===!1?11:12),mb(2),r_(t.funModeEnabled()?13:-1),mb(),r_(t.readyToPlay()?14:-1))},dependencies:[VA,ve,pi,nt$1,Q$1,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%;padding:0 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.gvm__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;padding-top:16px}.gvm__header-button[_ngcontent-%COMP%]{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.gvm__title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.gvm__title-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:700;font-family:Nunito Sans,sans-serif;color:var(--%NS%white);line-height:150%;margin-top:unset;margin-bottom:unset}.gvm__provider[_ngcontent-%COMP%]{font-size:14px;letter-spacing:-.006em;font-weight:700;font-family:Nunito Sans,sans-serif;line-height:24px;color:#ffffff80}.gvm__button-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;margin-top:16px;padding:0 16px}.gvm__signup-label[_ngcontent-%COMP%]{font-size:20px;line-height:32px;letter-spacing:-.017em;font-weight:700;font-family:Nunito Sans,sans-serif;color:var(--%NS%white);text-align:center}.gvm__button[_ngcontent-%COMP%]{width:100%;max-width:400px}.gvm__fun-button[_ngcontent-%COMP%]{all:unset;border-radius:12px;border:1px solid rgba(255,255,255,.2);display:flex;width:calc(100% - 32px);max-width:368px;height:48px;padding:0 16px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;cursor:pointer}.gvm__fun-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;text-align:center;font-feature-settings:"liga" off,"clig" off;font-family:Nunito Sans,sans-serif;font-size:16px;font-weight:700;opacity:.7}.gvm__fun-button[_ngcontent-%COMP%]:hover, .gvm__fun-button[_ngcontent-%COMP%]:focus{border:1px solid rgba(255,255,255,.4);background:#ffffff0d}.gvm__fun-button[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .gvm__fun-button[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%]{opacity:1}.gvm__fun-button[_ngcontent-%COMP%]:active{border:1px solid rgba(255,255,255,.6);background:#ffffff1a}.gvm__fun-button[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{opacity:1}.gvm__in-game-header[_ngcontent-%COMP%]{position:fixed;top:0;left:0;display:flex;width:100%;padding:8px;justify-content:center;align-items:center;gap:16px;background:#162637;z-index:1053;height:48px}.gvm__in-game-header-title[_ngcontent-%COMP%]{color:#fff;text-align:center;font-size:13px;line-height:24px;letter-spacing:-.003em;font-weight:500;font-family:Nunito Sans,sans-serif;letter-spacing:-.204px;opacity:.7;line-height:120%}.gvm__iframe[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:calc(100% - 55px);border:none;z-index:1051}.gvm__iframe--with-header[_ngcontent-%COMP%]{top:47px;height:calc(100% - 102px)}.gvm__toggle[_ngcontent-%COMP%]{background:#122435;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 2px 2px #00000040;border-radius:100px;width:73px;height:24px;
1cursor:pointer;display:flex;flex-direction:row;align-items:center;justify-content:center}.gvm__toggle[_ngcontent-%COMP%]:hover{border:1px solid rgba(255,255,255,.35)}.gvm__toggle--label[_ngcontent-%COMP%]{font-weight:400;width:42px;height:25px;text-align:center;padding-top:2px}.gvm__toggle--bubble[_ngcontent-%COMP%]{background:linear-gradient(180deg,#49f76fb3,#00e93300),#00982b;box-shadow:0 5px 10px #101a24;border-radius:63px;width:18px;height:18px}.gvm__toggle--bubble__off[_ngcontent-%COMP%]{background:linear-gradient(180deg,#fff8bc99,#fff0),var(--%NS%primary-yellow-500)}.gvm__toggle--bubble__disabled[_ngcontent-%COMP%]{filter:grayscale(1)}.gvm__toggle--disabled[_ngcontent-%COMP%]{cursor:initial;color:#ccc}.gvm__toggle--%NS%disabled[_ngcontent-%COMP%]:hover{border:1px solid rgba(255,255,255,.1)}`]})}}return n})();function gn(n,u){n&1&&nv(0)}function hn(n,u){if(n&1&&(js(0,`div`,7)(1,`span`,8),X_(2),IM(3,`translate`),ad(),js(4,`span`,9),X_(5),ad()()),n&2){let e=u.$implicit;mb(2),Nv(wM(3,2,e.title)),mb(3),Nv(e.value)}}function _n(n,u){if(n&1&&(js(0,`div`,4)(1,`h2`,5),X_(2),IM(3,`translate`),ad(),js(4,`div`,6),s_(5,hn,6,4,`div`,7,o_),ad()()),n&2){let e=E_();mb(2),Nv(wM(3,1,`game_info`)),mb(3),a_(e.infoLines())}}var gi=(()=>{class n{constructor(){this.infoLines=vU([]),this.isLogged=vU(!1)}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-description`]],inputs:{infoLines:[1,`infoLines`],isLogged:[1,`isLogged`]},decls:5,vars:5,consts:[[`stats`,``],[1,`gd`],[4,`ngTemplateOutlet`],[1,`gd__content`,3,`isVisible`,`roundBorders`],[1,`gd__stats`],[1,`gd__stats__title`],[1,`gd__stats__list`],[1,`gd__stats__item`],[1,`gd__stats__name`],[1,`gd__stats__value`]],template:function(i,t){if(i&1&&(js(0,`section`,1),Fy(1,gn,1,0,`ng-container`,2),Xy(2,`app-content-block`,3),ad(),Fy(3,_n,7,3,`ng-template`,null,0,MM)),i&2){let s=M_(4);vv(`gd--auth-user`,t.isLogged()),mb(),Jy(`ngTemplateOutlet`,s),mb(),Jy(`isVisible`,!0)(`roundBorders`,t.isLogged())}},dependencies:[VA,SA,We$1,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.gd[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;color:var(--%NS%white);font-weight:400;font-style:normal;font-size:16px;width:100%;min-height:150px}@media(max-width:993px){.gd[_ngcontent-%COMP%]{min-height:unset;padding:24px 0}}.gd__content[_ngcontent-%COMP%]{width:100%}.gd__stats[_ngcontent-%COMP%]{--%NS%gd-padding: 24px;padding:0 var(--%NS%gd-padding);width:100%;display:flex;flex-direction:column;align-items:flex-start;max-width:calc(720px + var(--%NS%gd-padding) * 2)}@media(max-width:992px){.gd__stats[_ngcontent-%COMP%]{--%NS%gd-padding: 16px}}.gd__stats__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:6px;width:100%}.gd__stats__title[_ngcontent-%COMP%]{margin:0 0 16px;font-size:20px;line-height:32px;letter-spacing:-.017em;font-weight:700;font-family:Nunito Sans,sans-serif}@media(max-width:992px){.gd__stats__title[_ngcontent-%COMP%]{font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:700}}.gd__stats__item[_ngcontent-%COMP%]{display:flex;height:48px;padding:8px 16px;justify-content:space-between;align-items:center;align-self:stretch;border-radius:12px;gap:16px;background:#ffffff0d;white-space:nowrap;font-family:Nunito Sans,sans-serif;font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:600}.gd__stats__name[_ngcontent-%COMP%]{opacity:.6}`]})}}return n})();var fn=[`providerContainer`];var Cn=(n,u)=>u?.id??n;function vn(n,u){if(n&1&&(ev(0,`img`,5),IM(1,`cmsLink`)),n&2){let e=E_(2).$implicit;iv(`alt`,sM(e.title))(`src`,wM(1,3,e.icon),ym)}}function bn(n,u){if(n&1&&(cd(0,`div`,6),X_(1),ud()),n&2){let e=E_(2).$implicit;mb(),Nv(e.title)}}function yn(n,u){if(n&1&&t_(0,vn,2,5,`img`,5)(1,bn,2,1,`div`,6),n&2){let e=E_().$implicit;r_(e.icon?0:1)}}function xn(n,u){if(n&1){let e=h_();cd(0,`a`,3),cv(`click`,function(){let t=Op(e).$implicit,s=E_();
1return Rp(s.onProviderClick(t.id))}),cd(1,`div`,4),t_(2,yn,2,1),ud()()}if(n&2){let e=E_();mb(2),r_(e.loaded()?2:-1)}}var Ye$1=(()=>{class n{constructor(){this.destroyRef=g(Ne),this.env=g(be$1),this.navi=g(Ye$2),this.platformId=g(ZI),this.superbus=g(ci$1),this.providers$=vU(_E(null)),this.providerCardWidth=ns(186),this.loaded=RM(()=>this.providersState()!==null),this.providersArrived=RM(()=>this.providersState()?.length>0),this.placeholders=RM(()=>Array.from({length:6},(e,i)=>({id:i.toString()}))),this.providersState=ns([]),this.canScroll=ns(!1),this.resizeObserver=null,xU(()=>{this.providersState(),Go(()=>this.measureCanScroll())}),bm({read:()=>{let e=this.providerContainer?.nativeElement;e&&(this.resizeObserver=new ResizeObserver(()=>this.measureCanScroll()),this.resizeObserver.observe(e))}}),this.destroyRef.onDestroy(()=>{this.resizeObserver?.disconnect()})}ngOnInit(){this.env.isMobile$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.providerCardWidth.set(e?170:186)}),this.providers$()&&this.providers$().pipe(Rt(this.destroyRef)).subscribe(e=>{e===null?this.providersState.set(null):Array.isArray(e)?this.providersState.set(e):this.providersState.set([])})}onProviderClick(e){this.superbus.resetPositionBeforeGameClicked(),this.navi.navigate(`games/${e}`)}scroll(e){this.onArrowClick(e===`prev`?`left`:`right`)}onArrowClick(e){if(!this.providersState()?.length||$8(this.platformId))return;let i=this.providerCardWidth(),t=this.providerContainer.nativeElement.getBoundingClientRect().width,s=e===`left`?-t+i:t-i;this.smoothScroolTo(this.providerContainer.nativeElement.scrollLeft,s)}measureCanScroll(){let e=this.providerContainer?.nativeElement;if(!e)return;let i=e.scrollWidth-e.clientWidth>1;this.canScroll()!==i&&this.canScroll.set(i)}smoothScroolTo(e,i){let s,P=A=>{s=s||A;let E=A-s,$=Math.min(E/250,1);this.providerContainer.nativeElement.scrollLeft=e+i*$,E<250&&window.requestAnimationFrame(P)};window.requestAnimationFrame(P)}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-provider-carousel`]],viewQuery:function(i,t){if(i&1&&dv(fn,5),i&2){let s;T_(s=S_())&&(t.providerContainer=s.first)}},inputs:{providers$:[1,`providers$`]},decls:5,vars:0,consts:[[`providerContainer`,``],[1,`provider-carousel`],[1,`provider-carousel__providers`],[3,`click`],[1,`provider-carousel__item`],[`loading`,`lazy`,1,`provider-carousel__img`,3,`alt`,`src`],[1,`provider-carousel__title`]],template:function(i,t){i&1&&(cd(0,`div`,1)(1,`div`,2,0),s_(3,xn,3,1,`a`,null,Cn),ud()()),i&2&&(mb(3),a_(t.loaded()?t.providersState():t.placeholders()))},dependencies:[VA,p],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100vw}@media(min-width:993px){[_nghost-%COMP%]{width:inherit}}.provider-carousel[_ngcontent-%COMP%]{position:relative}.provider-carousel__providers[_ngcontent-%COMP%]{width:100%;height:auto;display:flex;gap:8px;z-index:5;overflow:auto;-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch}.provider-carousel__providers[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.provider-carousel__providers[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{all:unset}.provider-carousel__providers[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{margin-left:16px}.provider-carousel__providers[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:16px}@media(min-width:993px){.provider-carousel__providers[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{margin-left:0}.provider-carousel__providers[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}}.provider-carousel__item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:68px;width:168px;min-width:168px;padding:12px;border-radius:12px;background:#ffffff0d;cursor:pointer}.provider-carousel__item[_ngcontent-%COMP%]:hover{background:#ffffff1a}.provider-carousel__item[_ngcontent-%COMP%]:active{background:#ffffff26}@media(min-width:993px){.provider-carousel__item[_ngcontent-%COMP%]{padding:12px 24px;height:86px;width:186px;min-width:186px}.provider-carousel__item[_ngcontent-%COMP%]:first-child{margin-left:0}.provider-carousel__item[_ngcontent-%COMP%]:last-child{margin-right:0}}.provider-carousel__img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.provider-carousel__title[_ngcontent-%COMP%]{text-decoration:none;font-size:20px;font-weight:600;letter-spacing:-.28px;max-width:100%}.provider-carousel__button-prev[_ngcontent-%COMP%]{user-select:none;-webkit-user-select:none;left:-74px;top:50%;transform:rotate(180deg) translateY(50%);position:absolute;cursor:pointer;width:48px;height:48px;border-radius:50%;background:#ffffff1a;outline:0;display:flex;align-items:center;justify-content:center}.provider-carousel__button-prev[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{opacity:.5}.provider-carousel__button-prev[_ngcontent-%COMP%]:hover{background:#ffffff26}.provider-carousel__button-prev[_ngcontent-%COMP%]:hover > *[_ngcontent-%COMP%]{opacity:.8}.provider-carousel__button-prev[_ngcontent-%COMP%]:active{background:#fff3}.provider-carousel__button-prev[_ngcontent-%COMP%]:active > *[_ngcontent-%COMP%]{opacity:1}.provider-carousel__button-next[_ngcontent-%COMP%]{left:unset;right:-74px;transform:translateY(-50%)}`]})}}return n})();function Mn(n,u){if(n&1){let e=h_();js(0,`div`,1)(1,`app-top-block-line`,2),av(`showMoreClick`,function(){Op(e);let t=E_();return Rp(t.onShowAllClick())})(`arrowClick`,function(t){Op(e);let s=E_();return Rp(s.onArrowClick(t))}),ad(),Xy(2,`app-provider-carousel`,3),ad()}if(n&2){let e=E_();mb(),Jy(`showMoreHref`,e.getLink())(`blockName`,e.label())(`showArrows`,e.canScrollProviders())(`loaded`,!0),mb(),Jy(`providers$`,e.recommendedProviders$)}}var hi=(()=>{class n{constructor(){this.navi=g(Ye$2),this.superbus=g(ci$1),this.destroyRef=g(Ne),this.providerCarousel=EU(Ye$1),this.canScrollProviders=RM(()=>this.providerCarousel()?.canScroll()??!1),this.currentProvider=vU(``),this.isCurrAccountCrypto=vU(!1),this.isLiveLobby=vU(!1),this.isCrypto$=Rr(this.isCurrAccountCrypto),this.isLiveLobby$=Rr(this.isLiveLobby),this.label=ns(``),this.recommendedProviders=ns(null),this.recommendedProviders$=Rr(this.recommendedProviders).pipe(Ff({bufferSize:1,refCount:!0}))}ngOnInit(){this.superbus.gameProvidersSnippet$.pipe(Rt(this.destroyRef),Hf(this.isCrypto$,this.isLiveLobby$,this.superbus.selectedLocale$),Le$1(([e,i,t,s])=>{this.label.set(e.recommended?.label??``),this.recommendedProviders.set(this.getRecommendedProviders({isCrypto:i,isLiveLobby:t,snippet:e}))})).subscribe()}getLink(){return this.navi.getUrl(`game-providers`)}onShowAllClick(){this.superbus.resetPositionBeforeGameClicked(),this.navi.navigate(`game-providers`)}onArrowClick(e){this.providerCarousel()?.scroll(e)}getRecommendedProviders({isCrypto:e,isLiveLobby:i,snippet:t}){let s=this.getRecommendedType(e,i),P=t?.recommended?.[s]??[],A=this.currentProvider(),E=new Map;for(let I of t?.providers??[])E.set(I.id,I);return P.filter(I=>I!==A).map(I=>E.get(I)).filter(I=>!!I).map(I=>({id:I.id,icon:I.icon,title:I.title}))}getRecommendedType(e,i){return e&&i?`cryptoLiveProviders`:e?`cryptoProviders`:i?`fiatLiveProviders`:`fiatProviders`}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-providers-carousel`]],viewQuery:function(i,t){i&1&&pv(t.providerCarousel,Ye$1,5),i&2&&__()},inputs:{currentProvider:[1,`currentProvider`],isCurrAccountCrypto:[1,`isCurrAccountCrypto`],isLiveLobby:[1,`isLiveLobby`]},decls:2,vars:1,consts:[[1,`gpc`],[1,`gpc__content`,`game-view__section`],[1,`gpc__top-block-line`,3,`showMoreClick`,`arrowClick`,`showMoreHref`,`blockName`,`showArrows`,`loaded`],[3,`providers$`]],template:function(i,t){i&1&&(js(0,`section`,0),t_(1,Mn,3,5,`div`,1),ad()),i&2&&(mb(),r_(t.recommendedProviders()?.length?1:-1))},dependencies:[VA,Ye$1,F$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.gpc[_ngcontent-%COMP%]{width:100%}.gpc__content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 24px;margin:0 auto}@media(max-width:993px){.gpc__content[_ngcontent-%COMP%]{max-width:unset;padding:0}}.gpc__top-block-line[_ngcontent-%COMP%]{display:block;width:100%;margin-bottom:24px}@media(max-width:993px){.gpc__top-block-line[_ngcontent-%COMP%]{margin-bottom:16px;padding:0 8px}}.gpc__games[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:space-between;align-items:center}`,`.game-view__section[_ngcontent-%COMP%]{margin-top:66px}@media(max-width:993px){.game-view__section[_ngcontent-%COMP%]{margin-top:24px}}`]})}}return n})();var wn=[`gamesContainer`];var Sn=n=>({line:1,games:n});var Pn=n=>({line:2,games:n});function kn(n,u){if(n&1&&(js(0,`div`,5),nv(1,6),ad()),n&2){let e=E_(2),i=M_(3);mb(),Jy(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,gM(2,Pn,e.games2()))}}function Tn(n,u){if(n&1){let e=h_();js(0,`div`,4,1),av(`scroll`,function(){Op(e);let t=E_();return Rp(t.onGamesScroll())}),js(2,`div`,5),nv(3,6),ad(),t_(4,kn,2,4,`div`,5),ad()}if(n&2){let e=E_(),i=M_(3);mb(3),Jy(`ngTemplateOutlet`,i)(`ngTemplateOutletContext`,gM(3,Sn,e.games1())),mb(),r_(e.getLines()>1?4:-1)}}function On(n,u){n&1&&Xy(0,`app-game-element-placeholder`,7)}function Gn(n,u){if(n&1&&s_(0,On,1,0,`app-game-element-placeholder`,7,o_),n&2){let e=E_(2);a_(e.placeholders)}}function Nn(n,u){if(n&1&&Xy(0,`app-game-element`,8),n&2){let e=u.$implicit,i=u.$index,t=E_(3);Jy(`game`,e)(`category`,t.collectionId())(`imgVisible`,t.shouldBeVisible(i))}}function In(n,u){if(n&1&&s_(0,Nn,1,3,`app-game-element`,8,o_),n&2){let e=E_().games;a_(e)}}function Dn(n,u){if(n&1&&t_(0,Gn,2,0)(1,In,2,0),n&2){let e=E_();r_(e.loaded()?e.gamesArrived()?1:-1:0)}}var Ze$1=(()=>{class n{constructor(){this.env=g(be$1),this.layout=g(p$1),this.destroyRef=g(Ne),this.platformId=g(ZI),this.gamesContainer=EU(`gamesContainer`),this.gamesViewport=EU(st$1),this.games$=vU(_E(null)),this.lines=vU(1),this.collectionId=vU(``),this.maxGamesToShow=vU(30),this.showHiddenImages=ns(!1),this.loaded=RM(()=>this.gamesState()!==null),this.gamesArrived=RM(()=>Array.isArray(this.gamesState())&&this.gamesState().length>0),this.games1=ns([]),this.games2=ns([]),this.placeholders=[0,1,2,3,4,5,6],this.gamesState=ns(null),this.noUserInteraction=!0,th(()=>{(this.gamesViewport()?.width()??0)>0&&this.gamesArrived()&&Go(()=>this.updateState())})}ngOnInit(){this.prerenderMoreGamesOnScroll(),this.games$()&&this.games$().pipe(Rt(this.destroyRef)).subscribe(e=>{e===null?this.gamesState.set(null):Array.isArray(e)?this.gamesState.set(e):this.gamesState.set([]),this.updateState()})}onGamesScroll(){this.userInteractionHappen(),!this.showHiddenImages()&&this.showHiddenImages.set(!0)}scroll(e){this.onArrowClick(e===`prev`?`left`:`right`)}onArrowClick(e){if(this.gamesState()?.length<this.getEstimatedNumPerLine())return;this.userInteractionHappen(),this.showHiddenImages()||this.showHiddenImages.set(!0);let i=this.gamesContainer()?.nativeElement;if(!i)return;let t=this.layout.gameCardWidth(),s=i.getBoundingClientRect().width,P=e===`left`?-s+t:s-t;this.smoothScroolTo(i.scrollLeft,P)}shouldBeVisible(e){return $8(this.platformId)?!1:this.showHiddenImages()||e<this.getEstimatedNumPerLine()}getLines(){return Number.isNaN(this.lines)||!this.lines?1:this.lines()}updateState(){if(this.gamesState()===null)return;let e=this.gamesState()??[],i=this.getEstimatedNumPerLine(),t=this.noUserInteraction?i*2:this.maxGamesToShow(),s=e.length<t?e.length:t*this.getLines(),P=e.slice(0,s),{line1:A,line2:E}=this.getLines()>1?this.splitIntoRows(P):{line1:P,line2:[]},$=!this.haveSameIds(this.games1(),A),I=this.getLines()>1?!this.haveSameIds(this.games2(),E):!1,U=this.games1().length===0&&this.games2().length===0;($||I||U)&&(this.games1.set(A),this.games2.set(E))}haveSameIds(e,i){if(!e||!i||e.length!==i.length)return!1;for(let t=0;t<e.length;t++)if(e[t].id!==i[t].id)return!1;return!0}splitIntoRows(e){let i=[],t=[];for(let s=0;s<e.length;s++)(s%2===0?i:t).push(e[s]);return{line1:i,line2:t}}smoothScroolTo(e,i){let t=this.gamesContainer()?.nativeElement;if(!t)return;let s=250,P,A=E=>{P=P||E;let $=E-P,I=Math.min($/s,1);t.scrollLeft=e+i*I,$<s&&window.requestAnimationFrame(A)};window.requestAnimationFrame(A)}getEstimatedNumPerLine(){if($8(this.platformId))return 0;let e=this.gamesViewport()?.width()??0;return e<=0?0:this.layout.getVisibleGameCount(e)}userInteractionHappen(){this.noUserInteraction&&(this.noUserInteraction=!1,this.gamesArrived()&&this.updateState())}prerenderMoreGamesOnScroll(){this.env.scrolled.pipe(Gf(1),gn$1(1)).subscribe(()=>{this.userInteractionHappen()})}static{this.ɵfac=function(i){return new(i||n)}}
1static{this.ɵcmp=tS({type:n,selectors:[[`app-game-carousel`]],viewQuery:function(i,t){i&1&&pv(t.gamesContainer,wn,5)(t.gamesViewport,st$1,5),i&2&&__(2)},inputs:{games$:[1,`games$`],lines:[1,`lines`],collectionId:[1,`collectionId`],maxGamesToShow:[1,`maxGamesToShow`]},decls:4,vars:1,consts:[[`gameElementTpl`,``],[`gamesContainer`,``],[1,`game-carousel`],[`appObserveWidth`,``,1,`game-carousel__games`],[`appObserveWidth`,``,1,`game-carousel__games`,3,`scroll`],[1,`game-carousel__games-line`],[3,`ngTemplateOutlet`,`ngTemplateOutletContext`],[1,`game-carousel__item`],[1,`game-carousel__item`,3,`game`,`category`,`imgVisible`]],template:function(i,t){i&1&&(js(0,`div`,2),t_(1,Tn,5,5,`div`,3),ad(),Fy(2,Dn,2,1,`ng-template`,null,0,MM)),i&2&&(mb(),r_(!t.loaded()||t.gamesArrived()?1:-1))},dependencies:[VA,SA,ai$1,di$1,st$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:inherit}.game-carousel[_ngcontent-%COMP%]{position:relative}.game-carousel__games[_ngcontent-%COMP%]{width:100%;height:auto;display:flex;flex-direction:column;gap:var(--%NS%game-gap);row-gap:20px;overflow:auto;-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch}.game-carousel__games[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.game-carousel__games[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{gap:var(--%NS%game-gap)}@media(max-width:992px){.game-carousel__games[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:max-content;padding:0 16px}}@media(max-width:992px){.game-carousel__games[_ngcontent-%COMP%]{margin-top:10px;height:auto;min-height:calc(var(--%NS%game-card-width) + 20px)}}.game-carousel__games-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.game-carousel__item[_ngcontent-%COMP%]{display:inline-flex;position:relative;flex-shrink:0;flex-grow:0}`]})}}return n})();var Ln=(n,u)=>u?.id??n;function En(n,u){if(n&1&&X_(0),n&2){let e=E_().$implicit;pd(` `,e.title,` `)}}function Fn(n,u){if(n&1&&X_(0),n&2){let e=E_().$implicit,i=E_();pd(` `,i.getProviderTitle(e.provider),` `)}}function Vn(n,u){if(n&1){let e=h_();js(0,`div`,2),av(`click`,function(t){let s=Op(e).$implicit,P=E_();return Rp(P.loaded()&&P.onGameClick(t,s))}),js(1,`a`,3),av(`click`,function(t){Op(e);let s=E_();return Rp(s.loaded()&&s.onHrefClick(t))}),js(2,`div`,4),Xy(3,`app-game-square-thumbnail`,5),js(4,`div`,6)(5,`div`,7),t_(6,En,1,1),ad(),js(7,`span`,8),t_(8,Fn,1,1),ad()()(),js(9,`div`,9),Xy(10,`app-svg-icon`,10),ad()()()}if(n&2){let e=u.$implicit,i=E_();vv(`game-list__item--placeholder`,!i.loaded()),Jy(`id`,i.loaded()?i.getGameElementId(e.id,i.category()):null),mb(),Jy(`href`,i.loaded()?i.getGameUrl(e):null,ym),mb(2),Jy(`size`,56)(`borderRadius`,12)(`src`,i.loaded()?i.getGameImg(e):``)(`alt`,i.loaded()?e.title+`, `+i.getProviderTitle(e.provider):``),mb(2),vv(`game-list__title--placeholder`,!i.loaded()),mb(),r_(i.loaded()?6:-1),mb(),vv(`game-list__provider--placeholder`,!i.loaded()),mb(),r_(i.loaded()?8:-1),mb(2),Jy(`size`,32)(`margin`,0)}}var _i=(()=>{class n{constructor(){this.destroyRef=g(Ne),this.navi=g(Ye$2),this.superbus=g(ci$1),this.gtm=g(M$1),this.gameService=g($$1),this.selectedGameService=g(Se$2),this.sidebarService=g(he),this.games$=vU(_E(null)),this.amount=vU(4),this.category=vU(``),this.collectionId=vU(``),this.gameProviders=ns([]),this.gamesState=ns(null),this.loaded=RM(()=>this.gamesState()!==null),this.placeholders=RM(()=>Array.from({length:this.amount()},(e,i)=>({id:i.toString()}))),this.currentUrl=g(W).url}ngOnInit(){this.superbus.gameProviders$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.gameProviders.set(e)}),this.games$()&&this.games$().pipe(Rt(this.destroyRef)).subscribe(e=>{e===null?this.gamesState.set(null):Array.isArray(e)?this.gamesState.set(e.slice(0,this.amount())):this.gamesState.set([])})}getGameElementId(e,i){return`${i}-${e}`}getGameUrl(e){return this.navi.getUrl(N$1.getGameSlug(e))}getGameImg(e){return this.gameService.getGameImgUrl(e,`square`)}getProviderTitle(e){let i=this.gameProviders()?.find(t=>
1t.id===e);return i?i.title:e}onHrefClick(e){if(e.ctrlKey||e.metaKey||e.shiftKey||e.button===1){e.stopPropagation();return}e.preventDefault()}onGameClick(e,i){e.preventDefault(),e.stopImmediatePropagation(),this.superbus.setPositionBeforeGameClicked({yPosition:e.pageY,gameId:this.getGameElementId(i?.id,this.category()),url:this.currentUrl}),this.gtm.onGameClick(i?.id,this.category()),this.selectedGameService.fromInnerNavigation=!0;let t=this.sidebarService.getSelectedMenuItem();this.navi.navigate(N$1.getGameSlug(i),!1,{category:t})}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game-list`]],inputs:{games$:[1,`games$`],amount:[1,`amount`],category:[1,`category`],collectionId:[1,`collectionId`]},decls:3,vars:0,consts:[[1,`game-list`],[1,`game-list__item`,3,`id`,`game-list__item--placeholder`],[1,`game-list__item`,3,`click`,`id`],[1,`game-list__link`,3,`click`,`href`],[1,`game-list__content`],[`margin`,`4px`,3,`size`,`borderRadius`,`src`,`alt`],[1,`game-list__info`],[1,`game-list__title`],[1,`game-list__provider`],[1,`game-list__arrow`],[`sprite`,`/assets/images/sprites/utils.svg`,`icon`,`chevron-right`,3,`size`,`margin`]],template:function(i,t){i&1&&(js(0,`section`,0),s_(1,Vn,11,16,`div`,1,Ln),ad()),i&2&&(mb(),a_(t.loaded()?t.gamesState():t.placeholders()))},dependencies:[VA,z,Q$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.game-list[_ngcontent-%COMP%]{width:100%}.game-list__item[_ngcontent-%COMP%]{position:relative;width:100%}.game-list__item--placeholder[_ngcontent-%COMP%]{cursor:default}.game-list__item[_ngcontent-%COMP%]:not(:last-child):after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:#ffffff1a;margin-left:80px;width:calc(100% - 80px)}.game-list__link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-decoration:none;color:inherit}.game-list__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto;gap:8px;padding:8px}.game-list__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;min-width:120px}.game-list__title[_ngcontent-%COMP%]{color:#fff;font-size:16px;letter-spacing:-.011em;font-weight:700;font-family:Nunito Sans,sans-serif;line-height:24px}.game-list__title--placeholder[_ngcontent-%COMP%]{width:70%;height:24px;background:#162637;border-radius:4px}.game-list__provider[_ngcontent-%COMP%]{color:#fff;font-size:12px;letter-spacing:0em;font-weight:400;font-family:Nunito Sans,sans-serif;line-height:24px;opacity:.5}.game-list__provider--placeholder[_ngcontent-%COMP%]{display:inline-block;width:40%;height:24px;background:#162637;border-radius:4px}.game-list__arrow[_ngcontent-%COMP%]{padding-right:16px;opacity:.5}`]})}}return n})();function An(n,u){if(n&1&&Xy(0,`app-game-list`,2),n&2){let e=E_(2);Jy(`amount`,e.MOB_LIST_LENGTH)(`games$`,e.moreFromProviderList$)(`category`,e.gameProvider())}}function Bn(n,u){if(n&1&&Xy(0,`app-game-carousel`,3),n&2){let e=E_(2);Jy(`collectionId`,e.gameProvider())(`games$`,e.moreFromProviderAll$)(`maxGamesToShow`,e.MAX_GAMES_TO_SHOW)}}function zn(n,u){if(n&1){let e=h_();js(0,`div`,0)(1,`app-top-block-line`,1),av(`showMoreClick`,function(){Op(e);let t=E_();return Rp(t.onShowMoreClick())})(`arrowClick`,function(t){Op(e);let s=E_();return Rp(s.onArrowClick(t))}
1),ad(),t_(2,An,1,3,`app-game-list`,2)(3,Bn,1,3,`app-game-carousel`,3),ad()}if(n&2){let e=E_();mb(),Jy(`blockName`,e.providerTitle())(`showMoreHref`,e.getLink())(`showArrows`,e.view()===`carousel`)(`loaded`,!0),mb(),r_(e.view()===`list`?2:e.view()===`carousel`?3:-1)}}function Rn(n,u){}var fi=(()=>{class n{constructor(){this.env=g(be$1),this.layout=g(p$1),this.gamesFilteringService=g(ve$2),this.navi=g(Ye$2),this.superbus=g(ci$1),this.translate=g(m),this.destroyRef=g(Ne),this.platformId=g(ZI),this.translateData=ke(this.translate.data),this.gameCarousel=EU(Ze$1),this.gameId=vU(``),this.gameProvider=vU(``),this.gameProviders=vU([]),this.view=ns(`carousel`),this.moreFromProviderList=ns(null),this.moreFromProviderList$=Rr(this.moreFromProviderList).pipe(Ff({bufferSize:1,refCount:!0})),this.moreFromProviderAll=ns(null),this.moreFromProviderAll$=Rr(this.moreFromProviderAll).pipe(Ff({bufferSize:1,refCount:!0})),this.moreFromProviderLoaded=ns(!1),this.providerTitle=RM(()=>(this.translateData(),this.translate.translate(`more_from`,this.getProviderTitleObject()))),this.MAX_GAMES_TO_SHOW=30,this.MOB_LIST_LENGTH=4,this.isMobile=ns(void 0),this.PAGE_SIZE_50=this.MAX_GAMES_TO_SHOW+2,this.viewEffect=th(()=>{let e=this.layout.gameColumns();e>0&&this.view.set(e<=3?`list`:`carousel`)}),this.loadAllFromProviderEffect=th(e=>{let i=this.gameProvider(),t=this.gameId(),s=this.isMobile();if(!i||!t||s===void 0||$8(this.platformId))return;this.moreFromProviderAll.set(null),this.moreFromProviderLoaded.set(!1);let P=this.gamesFilteringService.getGames$({providers:[i],pageSize:this.PAGE_SIZE_50,sortType:`popularity`,sortDirection:`ASC`,device:s?`mobile`:`desktop`}).subscribe(({games:A})=>{this.moreFromProviderAll.set(A.filter(E=>E.id!==this.gameId())),this.moreFromProviderList.set(this.moreFromProviderAll().slice(0,this.MOB_LIST_LENGTH)),this.moreFromProviderLoaded.set(!0)});e(()=>P.unsubscribe())})}ngOnInit(){this.env.isMobile$.pipe(Rt(this.destroyRef),Jn(e=>e!==void 0)).subscribe(e=>{this.isMobile.set(e)})}isMoreFromProviderVisible(){let e=this.moreFromProviderLoaded()&&this.moreFromProviderList()?.length;return this.gameProvider()!==`livespin`&&(e||!this.moreFromProviderLoaded())}getLink(){return this.navi.getUrl(`games/${this.gameProvider()}`)}onShowMoreClick(){this.superbus.resetPositionBeforeGameClicked(),this.navi.navigate(`games/${this.gameProvider()}`)}onArrowClick(e){this.gameCarousel()?.scroll(e)}getProviderTitleObject(){return{provider:this.gameProviders().find(t=>t.id===this.gameProvider())?.title||``}}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-more-from-provider`]],viewQuery:function(i,t){i&1&&pv(t.gameCarousel,Ze$1,5),i&2&&__()},inputs:{gameId:[1,`gameId`],gameProvider:[1,`gameProvider`],gameProviders:[1,`gameProviders`]},decls:3,vars:1,consts:[[1,`game-view__section`,`mfp`],[1,`mfp__top-block-line`,3,`showMoreClick`,`arrowClick`,`blockName`,`showMoreHref`,`showArrows`,`loaded`],[1,`mfp__game-list`,3,`amount`,`games$`,`category`],[3,`collectionId`,`games$`,`maxGamesToShow`]],template:function(i,t){i&1&&(js(0,`section`),t_(1,zn,4,5,`div`,0)(2,Rn,0,0),ad()),i&2&&(mb(),r_(t.isMoreFromProviderVisible()?1:2))},dependencies:[VA,Ze$1,_i,F$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{width:100%}.mfp[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 24px;margin:0 auto}@media(max-width:993px){.mfp[_ngcontent-%COMP%]{max-width:unset;padding:0}}.mfp__top-block-line[_ngcontent-%COMP%]{display:block;width:100%;margin-bottom:24px}@media(max-width:993px){.mfp__top-block-line[_ngcontent-%COMP%]{margin-bottom:16px;padding:0 8px}}.mfp__games[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:space-between;align-items:center}@media(max-width:993px){.mfp__game-list[_ngcontent-%COMP%]{padding:0 16px}}`,`.game-view__section[_ngcontent-%COMP%]{margin-top:66px}@media(max-width:993px){.game-view__section[_ngcontent-%COMP%]{margin-top:24px}}`]})}}return n})();function Un(n,u){if(n&1){let e=h_();js(0,`app-welcome-bonus`,8),av(`signUpClick`,function(){Op(e);let t=E_(2);
1return Rp(t.showSignUpModal())}),ad()}}function Hn(n,u){n&1&&nv(0,12)}function $n(n,u){if(n&1&&(js(0,`div`,9),Xy(1,`app-game-description`,10),Fy(2,Hn,1,0,`ng-container`,11),ad()),n&2){let e=E_(2),i=M_(3);vv(`game-view__layout--logged`,e.isLogged()),mb(),Jy(`infoLines`,e.infoLines())(`isLogged`,e.isLogged()),mb(),Jy(`ngTemplateOutlet`,i)}}function Wn(n,u){if(n&1){let e=h_();js(0,`div`,3)(1,`div`,4)(2,`app-game-box-header`,5),av(`currencyChange`,function(t){Op(e);let s=E_();return Rp(s.onIngameCurrencyChange(t))})(`funModeToggleClick`,function(){Op(e);let t=E_();return Rp(t.onFunModeToggleClick())})(`toggleFullscreen`,function(){Op(e);let t=E_();return Rp(t.onFullscreenClick())})(`favClick`,function(){Op(e);let t=E_();return Rp(t.onFavClick())})(`showCurrencyChangeModal`,function(t){Op(e);let s=E_();return Rp(s.showCurrencyConversionModalInMobGame(t))})(`closeGameClick`,function(){Op(e);let t=E_();return Rp(t.onCloseGameClick())}),ad(),js(3,`app-game-box-desktop`,6),av(`gameLoaded`,function(){Op(e);let t=E_();return Rp(t.onGameLoaded())})(`showCurrencyConvModal`,function(){Op(e);let t=E_();return Rp(t.onShowCurrencyConvModal())})(`showSignUpModal`,function(){Op(e);let t=E_();return Rp(t.showSignUpModal())})(`switchCurrencyAndPlay`,function(){Op(e);let t=E_();return Rp(t.onSwitchCurrencyAndPlay())})(`funModeToggleClick`,function(){Op(e);let t=E_();return Rp(t.onFunModeToggleClick())}),ad(),t_(4,Un,1,0,`app-welcome-bonus`),t_(5,$n,3,5,`div`,7),ad()()}if(n&2){let e=E_();mb(),vv(`game-view--logged`,e.isLogged()),mb(),Jy(`gameHeader`,e.game()?.title)(`gameProvider`,e.getProviderTitle(e.game()?.provider))(`fullscreen`,e.isFullscreenMode())(`isLogged`,e.isLogged())(`currentAccount`,e.currentAccount)(`funMode`,e.funMode)(`funModeEnabled`,e.funModeEnabled)(`isFav`,e.isFav)(`isCurrAccountCrypto`,e.isCurrAccountCrypto())(`currentAccountCurrency`,e.currentAccount?.currency)(`enabledConversionCurrencies`,e.enabledConversionCurrencies())(`preferredCurrencyAlt`,e.preferredCurrencyAlt())(`currencySelected`,!e.currencySelectionScreen()&&!!e.preferredCurrencyAlt())(`fullscreenHeaderDynamic`,e.gameIsLaunched()),mb(),Jy(`gameTitle`,e.game()?.title)(`gameProvider`,e.getProviderTitle(e.game()?.provider))(`gameThumbnailLink`,e.getGameImgUrl(e.game(),`square`))(`gameUrl`,e.gameUrl)(`fullscreen`,e.isFullscreenMode())(`landingVisible`,e.landingVisible())(`currencySelectionScreen`,e.currencySelectionScreen())(`enabledConversionCurrencies`,e.enabledConversionCurrencies())(`preselectedCurrency`,e.currencyToUse())(`readyToPlay`,!!e.game()&&e.gameReadyToPlay())(`gameIsLaunched`,e.gameIsLaunched())(`funModeEnabled`,e.funModeEnabled)(`isLogged`,e.isLogged())(`funMode`,e.funMode),mb(),r_(e.funMode&&e.isLogged()===!1?4:-1),mb(),r_(e.game()?5:-1)}}function jn(n,u){n&1&&nv(0,12)}function qn(n,u){if(n&1&&(js(0,`div`,15)(1,`div`,9),Xy(2,`app-game-description`,10),Fy(3,jn,1,0,`ng-container`,11),ad()()),n&2){let e=E_(3),i=M_(3);mb(),vv(`game-view__layout--logged`,e.isLogged()),mb(),Jy(`infoLines`,e.infoLines())(`isLogged`,e.isLogged()),mb(),Jy(`ngTemplateOutlet`,i)}}function Kn(n,u){if(n&1){let e=h_();js(0,`app-game-box-mobile`,14),av(`gameLoaded`,function(){Op(e);let t=E_(2);return Rp(t.onGameLoaded())})(`isInGameMenuClick`,function(t){Op(e);let s=E_(2);return Rp(s.onIsInGameMenuClick(t))})(`mobilePlayClick`,function(){Op(e);let t=E_(2);return Rp(t.onMobilePlayClick())})(`favClick`,function(){Op(e);let t=E_(2);return Rp(t.onFavClick())})(`exitMobGame`,function(){Op(e);let t=E_(2);return Rp(t.exitMobGame())})(`ingameCurrencyChange`,function(t){Op(e);let s=E_(2);return Rp(s.onIngameCurrencyChange(t))})(`funModeToggleClick`,function(t){Op(e);let s=E_(2);return Rp(s.onFunModeToggleClick(t))})(`playFunModeClick`,function(){Op(e);let t=E_(2);return Rp(t.onPlayFunModeClick())})(`showCurrencyChangeModal`,function(t){Op(e);let s=E_(2);return Rp(s.showCurrencyConversionModalInMobGame(t))})(`showAccountChangeModal`,function(){Op(e);let t=E_(2);return Rp(t.showAccountChangeModal())})(`depositButtonClick`,function(){Op(e);let t=E_(2);return Rp(t.onDepoitButtonClick())})(`signUpClick`,function(){Op(e);let t=E_(2);
1return Rp(t.showSignUpModal())})(`goBackEmit`,function(){Op(e);let t=E_(2);return Rp(t.goBack())}),ad(),t_(1,qn,4,5,`div`,15)}if(n&2){let e=E_(2);Jy(`providerTitle`,e.getProviderTitle(e.game().provider))(`gameImgUrl`,e.getGameImgUrl(e.game(),`square`))(`game`,e.game())(`currentAccount`,e.currentAccount)(`enabledConversionCurrencies`,e.enabledConversionCurrencies())(`isCurrAccountCrypto`,e.isCurrAccountCrypto())(`preferredCurrencyAlt`,e.currencyToUse())(`funModeEnabled`,e.funModeEnabled)(`funMode`,e.funMode)(`isFav`,e.isFav)(`gameUrl`,e.mobileUrl)(`isLogged`,e.isLogged())(`readyToPlay`,e.game()&&e.mobileGameReadyToPlay())(`isInGameMenuOpen`,e.isInGameMenuOpen()),mb(),r_(e.game()?1:-1)}}function Qn(n,u){}function Yn(n,u){if(n&1&&(js(0,`div`,13),t_(1,Kn,2,15)(2,Qn,0,0),ad()),n&2){let e=E_();mb(),r_(!e.isPlatformServer&&(e.landingVisible()||e.game()&&e.gameReadyToPlay())?1:2)}}function Zn(n,u){if(n&1&&Xy(0,`app-more-from-provider`,16)(1,`app-game-providers-carousel`,17),n&2){let e=E_();Jy(`gameProviders`,e.gameProviders)(`gameId`,e.game()?.id)(`gameProvider`,e.game()?.provider),mb(),Jy(`currentProvider`,e.game()?.provider)(`isLiveLobby`,e.liveLobby())(`isCurrAccountCrypto`,e.isCurrAccountCrypto())}}var ll=(()=>{class n{constructor(){this.ngZone=g(ce),this.router=g(W),this.superbus=g(ci$1),this.gameService=g($$1),this.cd=g(ya),this.navi=g(Ye$2),this.route=g(V),this.selectedGameService=g(Se$2),this.envWatchingService=g(be$1),this.sanitizer=g(ct$1),this.gtm=g(M$1),this.userService=g(Dt),this.modalsService=g(ve$1),this.notify=g(m$1),this.appConfig=g(F),this.localStorageService=g(O),this.renderer=g(an$1),this.destroyRef=g(Ne),this.gameElementService=g(Ge),this.document=g(Se),this.platformId=g(ZI),this.isFullscreenMode=ns(!1),this.game=ns(void 0),this.reloadGame=ns(!1),this.gameReadyToPlay=ns(!1),this.mobileGameReadyToPlay=ns(!1),this.isLogged=ns(void 0),this.funMode=!1,this.funModeEnabled=!1,this.isFav=!1,this.infoLines=RM(()=>{let e=this.game();return e?this.gameElementService.getGameInfo(e.id,e.provider)??[]:[]}),this.liveLobby=ns(!1),this.gameProviders=[],this.landingVisible=ns(!1),this.isInGameMenuOpen=ns(!1),this.currencySelectionScreen=ns(!1),this.enabledConversionCurrencies=ns(U$1),this.preferredCurrencyAlt=ns(``),this.currencyToUse=RM(()=>this.getCurrencyToUse()),this.gameIsLaunched=RM(()=>!this.landingVisible()&&!this.currencySelectionScreen()&&this.gameReadyToPlay()&&!!this.game()),this.isPlatformServer=$8(this.platformId),this.iframeHistory=0,this.funModeRequested=ns(!1),this.forceMobileGameStart=ns(!1),this.preserveGameViewState=!1,this.gameWasReloaded=!1,this.initHistoryPosition=0,this.pageReloaded=0,this.INIT_IFRAME_STEPS_TO_IGNORE=2,this.pendingSwitchToReal=!1,this.baseGameUrl=null,th(()=>{if(!this.game())return;let e=!!this.game().demo,i=this.funModeRequested();e&&this.funMode!==i&&this.superbus.gameModeFun.next(i)}),th(()=>{this.mobileGameReadyToPlay()||this.isFullscreenMode()?this.superbus.setPreventVerticalScroll(!0):this.superbus.setPreventVerticalScroll(!1)})}ngOnInit(){this.route.queryParams.pipe(Rt(this.destroyRef)).subscribe(e=>{this.funModeRequested.set(e.mode===Ke$1.Demo)}),this.gameService.stateChanged$.pipe(Rt(this.destroyRef),Jn(e=>!!e)).subscribe(()=>{if(this.gameService.resetStateChanged(),this.isMobile()){let e=this.gameService.browserHistory;e&&(this.iframeHistory=e.iframeHistory,this.initHistoryPosition=e.initHistoryPosition,this.gameWasReloaded=!0),this.selectedGameService.gamePageWasReloaded=!0,this.pageReloaded=this.INIT_IFRAME_STEPS_TO_IGNORE,this.reloadGame.set(!0),this.forceMobileGameStart.set(!0),this.restartGame()}else this.gameService.cleanSessionStorage()}),this.superbus.gameProviders$.pipe(Rt(this.destroyRef)).subscribe(e=>{this.gameProviders=e}),this.superbus.currenciesMap.pipe(Rt(this.destroyRef)).subscribe(e=>{this.currenciesMap=e,this.reloadGame.set(!0),this.restartGame()}),this.selectedGameService.closeGame$.pipe(Rt(this.destroyRef)).subscribe(()=>{this.navi.smoothScrollTo(0),this.exitMobGame(),this.cd.markForCheck()}),this.selectedGameService.selectedGame.pipe(Rt(this.destroyRef),jf(e=>{e&&(this.superbus.regSource=`game-page`,this.superbus.regSourceRef=e.game.id,!(this.game()&&N$1.getGameSlug(this.game())===e.slug)&&(!this.userService.stateDefined&&e.preview||(this.gameSlug=e.slug,this.game.set(e.game),this.restartGame())))})).subscribe(),this.updateUserState(),this.superbus.liveLobby.pipe(Rt(this.destroyRef)).subscribe(e=>{this.liveLobby.set(e)}),this.superbus.gameModeFun.pipe(Rt(this.destroyRef)).subscribe(e=>{this.funMode=e,this.reloadGame.set(!0),this.restartGame()}),this.superbus.selectedLocale$.pipe(Rt(this.destroyRef),Jn(Boolean),jf(e=>{this.locale=e,this.restartGame(),this.cd.markForCheck()})).subscribe(),this.userService.logoutSignal.pipe(Of()).subscribe(()=>{this.goBack()}),this.userService.favoriteGamesPipe.pipe(Rt(this.destroyRef)).subscribe(e=>{this.favouriteGames=e,this.updateFavGameState()})}ngAfterViewInit(){H8(this.platformId)&&history.state?.scrollTop&&this.navi.smoothScrollTo(0),this.cd.markForCheck()}onFullscreenChange(){let e=this.isFullscreenActive();this.isFullscreenMode()&&this.isFullscreenMode()!==e&&this.cancelFullscreen()}onPopState(){this.handleGoBackInHistory()}onBeforeUnload(){this.saveGameStateOnPageLeave(!0)}onCloseGameClick(){this.isFullscreenMode()&&this.cancelFullscreen(),this.goBack()}onGameLoaded(){this.envWatchingService.isMobile&&(this.iframeHistory++,H8(this.platformId)&&this.iframeHistory>this.INIT_IFRAME_STEPS_TO_IGNORE&&!this.pageReloaded&&(this.gameWasReloaded=!0,this.initHistoryPosition||(this.initHistoryPosition=history.length-1),history.pushState({game:!0,gameId:this.route.
1snapshot.params?.gameId||`unknown`,timestamp:Date.now()},``,location.href)),this.pageReloaded&&this.pageReloaded--),this.cd.markForCheck()}onFullscreenClick(){this.isFullscreenMode()?this.cancelFullscreen():this.enableFullscreen()}onFunModeToggleClick({reloadGame:e=!1}={}){if(this.funModeEnabled){if(this.funMode&&this.isLogged()===!1&&this.isMobile()){this.showSignUpModal();return}this.reloadGame.set(e),this.superbus.gameModeFun.next(!this.funMode)}}onPlayFunModeClick(){this.onFunModeToggleClick(),this.onMobilePlayClick()}onFavClick(){if(!this.game()||!this.favouriteGames||!this.isLogged()||!this.userService.user)return;let e=this.game().real[this.userService.user.currency]?this.game().real[this.userService.user.currency].id:this.game().real[Object.keys(this.game().real)[0]].id;this.userService.setGameFavourite(e,this.game(),!this.isFav)}getGameImgUrl(e,i){return this.gameService.getGameImgUrl(e,i)}getLink(){return this.navi.getUrl(N$1.getGameSlug(this.game()))}isCryptoEnabled(e){return this.game()?!!this.game().real[e.toUpperCase()]:!1}get isCurrentAccountCryptoEnabled(){return!this.isLogged()||!this.currenciesMap?!1:this.isCryptoEnabled(this.userService.user.currency)}exitMobGame(){this.mobileGameReadyToPlay.set(!1),this.superbus.setPreventVerticalScroll(!1)}goBack(){this.preserveGameViewState||this.exitMobGame(),this.superbus.setPreventVerticalScroll(!1),this.gameService.cleanSessionStorage(),!this.superbus.prevMenuItem&&!this.superbus.prevSubMenuItem?this.navi.navHome():this.superbus.prevSubMenuItem===`live`&&this.superbus.prevSubSubMenuItem?this.navi.navigate(`${this.superbus.prevMenuItem}/${this.superbus.prevSubMenuItem}-${this.superbus.prevSubSubMenuItem}`,!0):this.superbus.prevMenuItem!==`game`?this.navi.navigate(`${this.superbus.prevMenuItem}/${this.superbus.prevSubMenuItem}`,!0):this.navi.navHome()}onDepoitButtonClick(){this.saveGameStateOnPageLeave(),this.superbus.mobileProfileOpen.next(!1),this.superbus.requestDepositModal.next(Math.random()),this.superbus.depositModalWasClosed$.pipe(Rt(this.destroyRef)).subscribe(()=>{this.gameService.cleanSessionStorage()})}onMobilePlayClick(){if(this.checkEeLicenseVerification(),this.setMobileMetaTag(),!history.state&&!this.gameWasReloaded&&!this.pageReloaded&&history.pushState({game:!0},``,this.router.url),this.mobileUrl){let e=this.localStorageService.getGameViewState();!e||e.id!==this.gameSlug?this.localStorageService.saveGameViewState(this.gameSlug,this.superbus.prevMenuItem,this.superbus.prevSubMenuItem,this.superbus.prevSubSubMenuItem):this.saveGameStateInSuperbus(),this.mobileGameReadyToPlay.set(!0);return}this.showSignUpModal()}onIsInGameMenuClick(e){this.isInGameMenuOpen.set(e)}showCurrencyConversionModalInMobGame(e){this.modalsService.showModal(o.CurrencyUpdate,{type:c.GameCurrency,currencies:this.enabledConversionCurrencies(),selectedCurrency:e,currentAccountCurrency:this.currentAccount?.currency??``,addCryptoToTheList:this.currentAccount?.currency&&this.isCurrentAccountCryptoEnabled||!this.isCurrAccountCrypto(),callback:i=>{this.removeFirstTimeLaunchCryptoGame(),i!==this.preferredCurrencyAlt()&&(this.savePreferredCurrency(i),this.onIsInGameMenuClick(!1),this.reloadGame.set(!0),this.forceMobileGameStart.set(!0),this.restartGame())}})}showAccountChangeModal(){this.modalsService.showModal(o.AccountBalances,{withAddButton:!1,callback:()=>{this.onIsInGameMenuClick(!1),this.reloadGame.set(!0)}})}onIngameCurrencyChange(e){this.savePreferredCurrency(e),this.restartGame()}isCurrAccountCrypto(){return!this.isLogged()||!this.currenciesMap||!this.currenciesMap.get(this.userService.user.currency)?!1:!this.currenciesMap.get(this.userService.user.currency).fiat}isMobile(){return this.envWatchingService.isMobile()}getProviderTitle(e){let i=this.gameProviders?.find(t=>t.id===e);return i?i.title:e}showSignUpModal(){this.gtm.onSignUpClick(),this.modalsService.showModal(o.Signup,{},{source:`game-page`,ref:this.game().id})}onShowCurrencyConvModal(){let e=this.getCurrencyToUse();e&&this.showCurrencyConvModal(e)}onSwitchCurrencyAndPlay(){this.removeFirstTimeLaunchCryptoGame(),this.switchInGameCurrency(this.getCurrencyToUse(),this.getBaseGameUrl(),!0)}enableFullscreen(){this.superbus.gameFullscreen.next(!0),this.isFullscreenMode.set(!0),this.cd.markForCheck();let e=this.document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen(),this.cd.markForCheck()}cancelFullscreen(){this.isFullscreenMode.set(!1),this.superbus.gameFullscreen.next(!1);let e=this.document;e.exitFullscreen&&this.document.fullscreenElement?e.exitFullscreen():e.mozCancelFullScreen&&e.mozFullScreenElement?e.mozCancelFullScreen():e.webkitCancelFullScreen&&e.webkitFullscreenElement&&e.webkitCancelFullScreen(),this.cd.markForCheck()}updateUserState(){let e=this.createUserInitStream();this.createTriggerStream(e).pipe(Rt(this.destroyRef)).subscribe(t=>this.handleTrigger(t)),this.userService.user$.pipe(Rt(this.destroyRef),Jn(t=>!!t),Nf((t,s)=>L.isSameUserIgnoringStatuses(t,s))).subscribe(()=>this.restartGameIfNeeded())}createUserInitStream(){return jE([this.userService.stateDefined.pipe(Jn(Boolean),Nf()),this.userService.logged$.pipe(Jn(e=>e!==void 0),Nf()),this.userService.fieldsInfo.pipe(Lf(null)),this.userService.accountsPipe.pipe(Lf(null))]).pipe(Le$1(([e,i,t,s])=>({logged:i,fieldsInfo:t,accounts:s})),Nf((e,i)=>
1this.isUserStateEqual(e,i)))}createTriggerStream(e){return BE(e.pipe(Le$1(i=>({type:`user`,accountState:i}))),this.userService.currencyChangePipe.pipe(Le$1(()=>({type:`currency`}))))}handleTrigger(e){e.type===`user`?this.handleUserStateChange(e.accountState):this.handleCurrencyChange()}handleUserStateChange(e){let{logged:i,fieldsInfo:t,accounts:s}=e;if(this.updateUserFields(i,t,s),this.updateLoginState(i),this.shouldSwitchToRealMode(i,s)){this.switchToRealMode();return}this.restartGameIfNeeded()}shouldSwitchToRealMode(e,i){return this.funModeRequested()?!1:this.pendingSwitchToReal&&i?.length?(this.pendingSwitchToReal=!1,this.funMode):this.funMode?e&&i?.length?!0:(e&&!i?.length&&(this.pendingSwitchToReal=!0),!1):!1}switchToRealMode(){this.pendingSwitchToReal=!1,this.onFunModeToggleClick()}handleCurrencyChange(){this.updateCurrentAccount(),this.funMode||this.restartGameIfNeeded()}restartGameIfNeeded(){this.reloadGame.set(!0),this.restartGame()}updateUserFields(e,i,t){this.fieldsInfo=e?i:null,this.accounts=e?t:null,this.updateCurrentAccount()}updateLoginState(e){(this.loggedTemp!==e||this.loggedTemp===void 0)&&(this.loggedTemp=e),this.isLogged.set(e)}isUserStateEqual(e,i){return e.logged===i.logged&&e.fieldsInfo===i.fieldsInfo&&this.serializeAccounts(e.accounts)===this.serializeAccounts(i.accounts)}serializeAccounts(e){return e?e.map(({currency:i,amount_cents:t})=>`${i}:${t}`).join(`|`):`null`}savePreferredCurrency(e){let i=U$1.includes(e);e!==this.localStorageService.getPreferredIngameCurrency()&&(this.localStorageService.setPreferredIngameCurrency(e),i&&this.localStorageService.setPreferredIngameFiat(e))}updateCurrentAccount(){!this.isLogged()||!this.accounts?this.currentAccount=null:(this.reloadGame.set(!0),this.currentAccount=this.accounts.find(e=>e.currency===this.userService.user.currency)),this.cd.markForCheck()}updateFavGameState(){if(!this.game()||!this.favouriteGames){this.isFav=!1,this.cd.markForCheck();return}this.isFav=this.userService.isGameFavorite(this.game()),this.cd.markForCheck()}restartGame(){return B(this,null,function*(){if(this.gameReadyToPlay.set(!1),this.cd.markForCheck(),$8(this.platformId)){this.maybePreloadLanding();return}if(!this.userService.stateDefined.getValue()||!this.game()||!this.gameSlug||!this.locale||!this.fieldsInfo&&this.isLogged()||this.isLogged()&&!this.accounts||!this.currenciesMap)return;if(this.funModeEnabled=!!this.game().demo,!this.funModeEnabled&&this.funMode){this.superbus.gameModeFun.next(!1);return}let e=this.localStorageService.getGameViewState();if(!this.reloadGame()&&e&&e.id===this.gameSlug){this.saveGameStateInSuperbus(),this.superbus.gettingBackFromMobileGame=!0,this.goBack();return}if(this.reloadGame.set(!1),this.updateFavGameState(),this.isLogged()){let s=L.getFieldsByContext(this.game().provider,this.fieldsInfo),P=L.getEmptyFields(this.userService.user,s);if(P.length>0){this.modalsService.showModal(o.Profile,{context:this.game().provider,fields:P,closeCallback:()=>{this.goBack()}});return}}let i=!!this.game().collections.live;i!==this.liveLobby()&&this.superbus.setCurrentLobby(i?`live`:`slots`),this.updateEnabledConversionCurrencies(),(this.isLogged()||this.funMode)&&this.updateLandingVisible(!1),this.currencySelectionScreen.set(!1);let t=`games/${this.game().id}/`;if(this.baseGameUrl=t,this.isLogged()&&this.userService.user&&!this.superbus.gameModeFun.getValue()){if($8(this.platformId))return;let s=this.userService.user.currency,P=this.game().real[s],A=this.currenciesMap.get(s).fiat,E=this.localStorageService.getPreferredIngameCurrency(),$=this.game().real[E];if(P&&A){this.startGame(t,P,s);return}if(A){let I=!1;for(let U of this.accounts)if(this.game().real[U.currency]&&!I){I=!0,this.userService.setCurrency(U.currency),this.notify.notify(`success`,`game_auto_switch`,{from_currency:this.userService.user.currency,to_currency:U.currency});break}I||(this.notify.notify(`success`,`game_auto_switch_2`,{currency:this.userService.user.currency}),this.goBack())}else{P&&this.enabledConversionCurrencies.set([s,...this.enabledConversionCurrencies()]);let I=this.localStorageService.getPreferredIngameFiat(),U=I&&I!==`not_set`?I:this.userService.selectCurrencyBasedOnIP(),Je=U&&U!==`not_set`&&this.enabledConversionCurrencies().includes(U),ot=Je?U:this.enabledConversionCurrencies()[0];
1if(this.localStorageService.getCryptoUserLaunchesGameFortheFirstTime()){if(!this.isMobile()){this.currencySelectionScreen.set(!0);return}this.switchInGameCurrency(ot,t,!0)}else{if($){this.startGame(t,$,E);return}if(P&&!U$1.includes(E)){this.startGame(t,P,E);return}if(!this.isMobile()){if(Je){this.switchInGameCurrency(U,t,!1);return}this.currencySelectionScreen.set(!0);return}this.switchInGameCurrency(ot,t,!1)}}}else if(this.funMode){let P=this.game().demo.split(`/`).pop();t=t+P,this.start(t)}else this.mobileGameReadyToPlay()&&(this.showSignUpModal(),this.mobileGameReadyToPlay.set(!1)),this.updateLandingVisible(!0),this.mobileUrl=null})}maybePreloadLanding(){if(!this.userService.stateDefinedPriority$.value)return;if(this.userService.loggedStatePriority$.value&&this.userService.user){this.updateLandingVisible(!1);return}this.game()&&(this.funModeEnabled=!!this.game().demo,this.updateEnabledConversionCurrencies()),this.updateLandingVisible(!0)}updateLandingVisible(e){this.landingVisible()!==e&&this.landingVisible.set(e)}getBaseGameUrl(){return this.baseGameUrl||(this.game()?`games/${this.game().id}/`:``)}getCurrencyToUse(){let e=this.enabledConversionCurrencies(),i=this.preferredCurrencyAlt()||this.userService.selectCurrencyBasedOnIP();return i&&e.includes(i)?i:e[0]||``}updateEnabledConversionCurrencies(){if(!this.game()?.real){this.enabledConversionCurrencies.set([]);return}let e=U$1.filter(i=>{let t=!!this.game().real[i],s=i===`JPY`&&this.game().provider===`hacksaw`;return t&&!s});if(this.userService.loggedStatePriority$.value){let i=this.userService.user?.country??``,t=Pe[i];t&&e.includes(t)&&Fr(e,t),Se$1.includes(i)&&Fr(e,`EUR`)}this.enabledConversionCurrencies.set(e)}showCurrencyConvModal(e){this.modalsService.showModal(o.CurrencyUpdateFirstTime,{type:c.GameCurrency,currencies:this.enabledConversionCurrencies(),selectedCurrency:e,withButton:!1,currentAccountCurrency:this.currentAccount?.currency??``,addCryptoToTheList:this.currentAccount?.currency&&this.isCurrentAccountCryptoEnabled||!this.isCurrAccountCrypto(),callback:i=>{this.removeFirstTimeLaunchCryptoGame(),i!==this.preferredCurrencyAlt()&&this.preferredCurrencyAlt.set(i)}})}removeFirstTimeLaunchCryptoGame(){this.localStorageService.getCryptoUserLaunchesGameFortheFirstTime()&&this.localStorageService.removeCryptoUserLaunchesGameFortheFirstTime()}switchInGameCurrency(e,i,t){let s=this.game().real[e];this.currencySelectionScreen.set(!1),this.startGame(i,s,e),t&&this.savePreferredCurrency(e)}startGame(e,i,t){this.preferredCurrencyAlt.set(t),e=e+i.id.toString(),this.start(e)}checkEeLicenseVerification(){}start(e){let i=e;this.checkEeLicenseVerification();let t=this.route.snapshot.params?.sessionId;t&&(i=`${i}?sessionId=${t}`),this.gameUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.appConfig.getAdminAppUrl()}/${i}`),this.isMobile()&&(this.mobileUrl=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.appConfig.getAdminAppUrl()}/${i}`),this.setMobileMetaTag()),this.gameReadyToPlay.set(!0);let s=this.localStorageService.getGameViewState();this.forceMobileGameStart()&&(this.forceMobileGameStart.set(!1),s&&s.id===this.gameSlug&&this.onMobilePlayClick()),this.cd.markForCheck()}setMobileMetaTag(){this.metaElement||(this.metaElement=this.renderer.createElement(`meta`),this.metaElement.name=`viewport`,this.metaElement.content=`width=device-width,initial-scale=1,user-scalable=no`,this.renderer.appendChild(this.document.head,this.metaElement))}removeMobileMetaTag(){this.metaElement&&(this.renderer.removeChild(this.document.head,this.metaElement),this.metaElement=null)}isFullscreenActive(){let e=this.document;return!!(this.document.fullscreenElement||e.webkitFullscreenElement)}saveGameStateOnPageLeave(e=!1){H8(this.platformId)&&this.envWatchingService.isMobile&&this.mobileGameReadyToPlay()&&(this.gameService.saveGameState(!0),this.gameService.saveGameStateToStorage(),(!e||this.iframeHistory>this.INIT_IFRAME_STEPS_TO_IGNORE)&&this.gameService.saveBrowserHistoryStateToStorage({iframeHistory:this.iframeHistory-1,initHistoryPosition:this.initHistoryPosition}))}handleGoBackInHistory(){if(H8(this.platformId)&&this.envWatchingService.isMobile&&this.mobileGameReadyToPlay()&&this.gameWasReloaded){if(this.iframeHistory>0&&this.initHistoryPosition){let e=history.length-this.initHistoryPosition;this.iframeHistory=0,e>0&&history.go(-e),this.preserveGameViewState=!0}setTimeout(()=>{this.ngZone.run(()=>{this.saveGameStateInSuperbus(),this.superbus.gettingBackFromMobileGame=!0,this.goBack()})}
1,0)}}saveGameStateInSuperbus(){let e=this.localStorageService.getGameViewState();e&&(this.superbus.prevMenuItem=e.prevMenuItem,this.superbus.prevSubMenuItem=e.prevMenuSubItem,this.superbus.prevSubSubMenuItem=e.prevMenuSubSubItem)}ngOnDestroy(){this.superbus.setPreventVerticalScroll(!1),this.preserveGameViewState||(this.localStorageService.saveGameViewState(``,``,``,``),this.gameWasReloaded=!1,this.exitMobGame()),this.preserveGameViewState=!1,this.isMobile()&&this.removeMobileMetaTag()}static{this.ɵfac=function(i){return new(i||n)}}static{this.ɵcmp=tS({type:n,selectors:[[`app-game`]],hostBindings:function(i,t){i&1&&av(`fullscreenchange`,function(){return t.onFullscreenChange()},Rw)(`webkitfullscreenchange`,function(){return t.onFullscreenChange()},Rw)(`mozfullscreenchange`,function(){return t.onFullscreenChange()},Rw)(`popstate`,function(){return t.onPopState()},Ow)(`beforeunload`,function(){return t.onBeforeUnload()},Ow)},decls:4,vars:2,consts:[[`providersSection`,``],[`class`,`pl-desktop`,4,`appPlatform`],[`class`,`game-view pl-mobile`,4,`appPlatform`],[1,`pl-desktop`],[1,`game-view`],[3,`currencyChange`,`funModeToggleClick`,`toggleFullscreen`,`favClick`,`showCurrencyChangeModal`,`closeGameClick`,`gameHeader`,`gameProvider`,`fullscreen`,`isLogged`,`currentAccount`,`funMode`,`funModeEnabled`,`isFav`,`isCurrAccountCrypto`,`currentAccountCurrency`,`enabledConversionCurrencies`,`preferredCurrencyAlt`,`currencySelected`,`fullscreenHeaderDynamic`],[3,`gameLoaded`,`showCurrencyConvModal`,`showSignUpModal`,`switchCurrencyAndPlay`,`funModeToggleClick`,`gameTitle`,`gameProvider`,`gameThumbnailLink`,`gameUrl`,`fullscreen`,`landingVisible`,`currencySelectionScreen`,`enabledConversionCurrencies`,`preselectedCurrency`,`readyToPlay`,`gameIsLaunched`,`funModeEnabled`,`isLogged`,`funMode`],[1,`game-view__layout`,3,`game-view__layout--logged`],[3,`signUpClick`],[1,`game-view__layout`],[1,`game-view__section`,`game-view__description`,3,`infoLines`,`isLogged`],[`class`,`game-view__providers`,4,`ngTemplateOutlet`],[1,`game-view__providers`],[1,`game-view`,`pl-mobile`],[3,`gameLoaded`,`isInGameMenuClick`,`mobilePlayClick`,`favClick`,`exitMobGame`,`ingameCurrencyChange`,`funModeToggleClick`,`playFunModeClick`,`showCurrencyChangeModal`,`showAccountChangeModal`,`depositButtonClick`,`signUpClick`,`goBackEmit`,`providerTitle`,`gameImgUrl`,`game`,`currentAccount`,`enabledConversionCurrencies`,`isCurrAccountCrypto`,`preferredCurrencyAlt`,`funModeEnabled`,`funMode`,`isFav`,`gameUrl`,`isLogged`,`readyToPlay`,`isInGameMenuOpen`],[1,`game-view__games`],[3,`gameProviders`,`gameId`,`gameProvider`],[3,`currentProvider`,`isLiveLobby`,`isCurrAccountCrypto`]],template:function(i,t){i&1&&Fy(0,Wn,6,32,`div`,1)(1,Yn,3,1,`div`,2)(2,Zn,2,6,`ng-template`,null,0,MM),i&2&&(Jy(`appPlatform`,`desktop`),mb(),Jy(`appPlatform`,`mobile`))},dependencies:[VA,SA,li,ui,ci,be,fi,hi,P,gi],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.game-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;font-style:normal;border-radius:24px;background:#ffffff08;margin-bottom:40px;margin-right:16px;padding-bottom:60px}@media(max-width:992px){.game-view[_ngcontent-%COMP%]{width:100%;min-height:650px;margin:0;background:unset;border-radius:unset;padding-bottom:40px}}@media(min-width:993px){.game-view--logged[_ngcontent-%COMP%]{padding-bottom:0}}.game-view__games[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;align-items:flex-start;justify-content:center;flex-wrap:wrap;column-gap:var(--%NS%game-gap)}.game-view__layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%}.game-view__description[_ngcontent-%COMP%]{order:0}.game-view__providers[_ngcontent-%COMP%], .game-view__layout--logged[_ngcontent-%COMP%] .game-view__description[_ngcontent-%COMP%]{order:1}.game-view__layout--logged[_ngcontent-%COMP%] .game-view__providers[_ngcontent-%COMP%]{order:0}`,`.game-view__section[_ngcontent-%COMP%]{margin-top:66px}@media(max-width:993px){.game-view__section[_ngcontent-%COMP%]{margin-top:24px}}`]})}}return n})();var te=(()=>{class e{transform(t,i){if(!Array.isArray(t)||i<=0)return t;let n=Math.floor(t.length/i)*i;return t.slice(0,n)}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵpipe=Pt({name:`trimToMultiple`,type:e,pure:!0})}}return e})();function Ae(e,o){e&1&&(cd(0,`span`,3),X_(1),ud()),e&2&&(mb(),Nv(o))}var ze=(()=>{class e{constructor(){this.modalsService=g(ve$1),this.gamesFilteringService=g(ve$2),this.destroyRef=g(Ne),this.appliedCount=ns(0)}ngOnInit(){this.gamesFilteringService.stateChanged.pipe(Rt(this.destroyRef)).subscribe(()=>{this.updateAppliedCount()})}onFiltersClick(){this.modalsService.showModal(o.GamesFilter)}updateAppliedCount(){let t=Object.keys(this.gamesFilteringService.selectedProviders).filter(n=>!!this.gamesFilteringService.selectedProviders[n]),i=Object.keys(this.gamesFilteringService.selectedThemedCollections).filter(n=>!!this.gamesFilteringService.selectedThemedCollections[n]);this.appliedCount.set(t.length+i.length)}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵcmp=tS({type:e,selectors:[[`app-game-collections-filters`]],decls:6,vars:4,consts:[[`type`,`button`,1,`games-filter`,3,`click`],[1,`games-filter__icon`],[1,`games-filter__label`],[1,`games-filter__badge`]],template:function(i,n){if(i&1&&(cd(0,`button`,0),cv(`click`,function(){return n.onFiltersClick()}),ev(1,`span`,1),cd(2,`span`,2),X_(3),IM(4,`translate`),ud(),t_(5,Ae,2,1,`span`,3),ud()),i&2){let h;mb(3),Nv(wM(4,2,`filter`)),mb(2),r_((h=n.appliedCount())?5:-1,h)}},dependencies:[v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}[_nghost-%COMP%]{display:flex;flex:0 0 auto;justify-content:flex-end}.games-filter[_ngcontent-%COMP%]{--%NS%games-filter-height: 40px;--%NS%games-filter-min-width: 94px;--%NS%games-filter-gap: 8px;--%NS%games-filter-icon-size: 20px;--%NS%games-filter-fill: rgba(255, 255, 255, .05);font-family:Nunito Sans,sans-serif;display:grid;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;width:max-content;min-width:var(--%NS%games-filter-min-width);height:var(--%NS%games-filter-height);gap:var(--%NS%games-filter-gap);padding:0 8px 0 16px;border:none;outline:none;background-color:var(--%NS%games-filter-fill);border-radius:var(--%NS%border-radius-mild);font-size:14px;font-weight:600;color:#fff;cursor:pointer}.games-filter[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--%NS%focus-shadow)}.games-filter__icon[_ngcontent-%COMP%]{width:var(--%NS%games-filter-icon-size);height:var(--%NS%games-filter-icon-size);background-image:url(/assets/images/icons/page-info.svg);background-repeat:no-repeat;background-size:var(--%NS%games-filter-icon-size) var(--%NS%games-filter-icon-size);background-position:center}.games-filter__label[_ngcontent-%COMP%]{white-space:nowrap}.games-filter__badge[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background-color:var(--%NS%green-highlight-500);color:var(--%NS%dark-neutral-800);font-size:11px;font-weight:700;line-height:1}`]})}}return e})();function je(e,o){if(e&1&&(cd(0,`h1`,2),X_(1),ud()),e&2){let t=E_();mb(),Nv(t.title())}}function He(e,o){if(e&1){let t=h_();cd(0,`div`)(1,`a`,4),cv(`click`,function(n){let h=Op(t).$implicit,w=E_();return Rp(w.onCollectionClick(n,h))}),cd(2,`div`,5)(3,`div`,6),X_(4),ud()()()()}if(e&2){let t=o.$implicit,i=E_();mb(),iv(`href`,i.getLink(t),ym),mb(),sa(`background-image`,i.getCardBg(t)),mb(2),pd(` `,t.title,` `)}}var Le=(()=>{class e{constructor(){this.superbus=g(ci$1),this.userService=g(Dt),this.mustache=g(x$1),this.navi=g(Ye$2),this.destroyRef=g(Ne),this.view=vU(`themed-collections`),this.title=vU(``),this.collections=RM(()=>this.computeCollections()),this.logged=ns(!1),this.originalCollections=ns([])}
1ngOnInit(){this.getSnippetBasedOnMode().pipe(Rt(this.destroyRef)).subscribe(i=>{this.originalCollections.set(i||[])}),this.userService.loggedStateSubject.pipe(Rt(this.destroyRef)).subscribe(i=>{this.logged.set(i)})}getCardBg(t){return`url(${this.mustache.getCmsImageUrl(t.rectBg)})`}onCollectionClick(t,i){t.preventDefault(),this.navi.navigate(`games/${i.collectionId}`)}getLink(t){return this.navi.getUrl(`games/${t.collectionId}`)}onFavCollectionClick(){this.navi.navigate(`games/favorites`)}getSnippetBasedOnMode(){return this.view()===`themed-collections`?this.superbus.gameCollectionsSnippet:this.view()===`more`?this.superbus.moreGamesSnippet:this.superbus.tableGamesSnippet}computeCollections(){let t=this.logged();return this.originalCollections().filter(i=>t||i.collectionId!==`favorites`)}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵcmp=tS({type:e,selectors:[[`app-themed-collections`]],inputs:{view:[1,`view`],title:[1,`title`]},decls:6,vars:1,consts:[[1,`tc`],[1,`tc--inner`],[1,`tc--title`],[1,`tc--inner__list`],[3,`click`,`href`],[1,`tc--inner__list--item`],[1,`tc--inner__list--item__label`]],template:function(i,n){i&1&&(cd(0,`div`,0)(1,`div`,1),t_(2,je,2,1,`h1`,2),cd(3,`div`,3),s_(4,He,5,4,`div`,null,o_),ud()()()),i&2&&(mb(2),r_(n.title()?2:-1),mb(2),a_(n.collections()))},dependencies:[VA],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.tc[_ngcontent-%COMP%]{font-style:normal;font-weight:400;color:#fff;width:100%;display:flex;flex-direction:column;align-items:center}.tc--title[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:800;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@container app-content (min-width: 651px){.tc--title[_ngcontent-%COMP%]{font-family:Rubik,sans-serif;font-size:24px;line-height:40px;letter-spacing:-.019em;font-weight:600}}@media(min-width:993px){.tc--title[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:32px;line-height:48px;letter-spacing:-.022em;font-weight:600}}.tc--title[_ngcontent-%COMP%]{margin-bottom:24px}.tc--inner[_ngcontent-%COMP%]{margin-bottom:40px;width:fit-content;max-width:100%;display:flex;flex-direction:column}@media(max-width:992px){.tc--inner[_ngcontent-%COMP%]{margin-bottom:0}}.tc--inner__list[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:var(--%NS%themed-collection-gap);row-gap:20px;flex-wrap:wrap;align-items:center;justify-content:center;min-height:350px}.tc--inner__list[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .tc--inner__list[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.tc--inner__list--item[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;aspect-ratio:2/3;width:var(--%NS%themed-collection-image-size)!important;border-radius:var(--%NS%border-radius);background-repeat:no-repeat;background-size:cover;cursor:pointer}.tc--%NS%inner__list--item[_ngcontent-%COMP%]:hover{filter:brightness(1.3)}.tc--inner__list--item__label[_ngcontent-%COMP%]{padding:0 2px;height:50px;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;font-style:normal;font-weight:500;font-size:20px;line-height:111.2%;color:#fff;background-color:var(--%NS%dark-neutral-300);border-radius:var(--%NS%border-radius) var(--%NS%border-radius) 0px 0px}@media(max-width:992px){.tc--inner__list--item__label[_ngcontent-%COMP%]{font-size:14px;line-height:16px;height:36px;background-position-y:10px;background-size:84px 25px}}@media(max-width:350px){.tc--inner__list--item__label[_ngcontent-%COMP%]{font-size:12px}}`]})}}return e})();var We=[`inputRef`];var Be=(()=>{class e{constructor(){this.gameCollectionsHelper=g(fe),this.gamesFilteringService=g(ve$2),th(()=>{this.gameCollectionsHelper.selectedCollection(),this.clearInput()})}onSearchInputChange(t){this.gamesFilteringService.setSearchQuery(t.target.value)}clearInput(){this.inputRef?.nativeElement&&(this.inputRef.nativeElement.value=``)}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵcmp=tS({type:e,selectors:[[`app-game-collections-search-desktop`]],viewQuery:function(i,n){if(i&1&&dv(We,5),i&2){let h;T_(h=S_())&&(n.inputRef=h.first)}},decls:4,vars:3,consts:[[`inputRef`,``],[1,`gcm__search`,`flex-col`],[`autocomplete`,`off`,1,`gcm__search-input`,3,`keyup`,`placeholder`]],template:function(i,n){i&1&&(cd(0,`div`,1)(1,`input`,2,0),IM(3,`translate`),cv(`keyup`,function(w){return n.onSearchInputChange(w)}),ud()()),i&2&&(mb(),iv(`placeholder`,wM(3,1,`games_search.search_placeholder`)))},dependencies:[VA,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.gcm__search[_ngcontent-%COMP%]{--%NS%gcm-search-height: 40px;--%NS%gcm-search-padding: 4px;--%NS%gcm-search-icon-box: 32px;--%NS%gcm-search-icon-size: 24px;--%NS%gcm-search-gap: 8px;--%NS%gcm-search-fill: rgba(0, 0, 0, .05);--%NS%gcm-search-border-color: rgba(255, 255, 255, .2);--%NS%gcm-search-placeholder-color: rgba(255, 255, 255, .8);display:flex;justify-content:flex-start;align-items:center;width:100%;z-index:3;padding:0}.gcm__search-input[_ngcontent-%COMP%]{width:100%;height:var(--%NS%gcm-search-height);box-sizing:border-box;appearance:none;background-color:var(--%NS%gcm-search-fill);border:1px solid var(--%NS%gcm-search-border-color);border-radius:var(--%NS%border-radius-mild);padding-right:var(--%NS%gcm-search-padding);padding-left:calc(var(--%NS%gcm-search-padding) + var(--%NS%gcm-search-icon-box) + var(--%NS%gcm-search-gap));background-image:url(/assets/images/icons/search-white.svg);background-repeat:no-repeat;background-size:var(--%NS%gcm-search-icon-size) var(--%NS%gcm-search-icon-size);
1background-position-x:calc(var(--%NS%gcm-search-padding) + (var(--%NS%gcm-search-icon-box) - var(--%NS%gcm-search-icon-size)) / 2);background-position-y:center;font-style:normal;font-weight:500;font-size:14px;line-height:16px;color:#fff}.gcm__search-input[_ngcontent-%COMP%]::placeholder{color:var(--%NS%gcm-search-placeholder-color)}.gcm__search-input[_ngcontent-%COMP%]:focus{outline:none;box-shadow:var(--%NS%focus-shadow)}`]})}}return e})();var Ve=(()=>{class e{static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵcmp=tS({type:e,selectors:[[`app-games-search-actions`]],decls:2,vars:0,consts:[[`placement`,`category`]],template:function(i,n){i&1&&Xy(0,`app-game-collections-search-desktop`)(1,`app-game-filters`,0)},dependencies:[Be,tt$1],styles:[`[_nghost-%COMP%]{display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}app-game-collections-search-desktop[_ngcontent-%COMP%]{flex:1 1 240px;min-width:0;max-width:400px}app-game-filters[_ngcontent-%COMP%]{flex:0 1 auto;min-width:0}`]})}}return e})();var $e=(e,o)=>o?o.id:e;var Ue=(e,o)=>o.id;function Qe(e,o){e&1&&Xy(0,`app-game-collections-search`,15)}function qe(e,o){if(e&1&&(js(0,`h1`,17),X_(1),ad()),e&2){let t=E_(3);vv(`visibility-hidden`,t.mode()===`livespins`),mb(),pd(` `,t.collectionTitle(),` `)}}function Je(e,o){e&1&&Xy(0,`app-games-search-actions`,19)}function Ke(e,o){e&1&&Xy(0,`app-game-collections-filters`,15)}function Xe(e,o){e&1&&Fy(0,Je,1,0,`app-games-search-actions`,18)(1,Ke,1,0,`app-game-collections-filters`,4),e&2&&(Jy(`appPlatform`,`desktop`),mb(),Jy(`appPlatform`,`mobile`))}function Ye(e,o){if(e&1&&(js(0,`div`,5),t_(1,qe,2,3,`h1`,16),t_(2,Xe,2,2),ad()),e&2){let t=E_(2);mb(),r_(t.selectedCollection()?1:-1),mb(),r_(t.isPageWithoutFilters()?-1:2)}}function Ze(e,o){e&1&&(js(0,`h2`,6),X_(1),IM(2,`translate`),ad()),e&2&&(mb(),Nv(wM(2,1,`games_not_found`)))}function et(e,o){e&1&&Xy(0,`app-loading-spinner`,7)}function tt(e,o){e&1&&Xy(0,`app-game-element-placeholder`,21)}function it(e,o){if(e&1&&s_(0,tt,1,0,`app-game-element-placeholder`,21,o_),e&2){let t=E_(3);a_(t.placeholders)}}function nt(e,o){if(e&1&&Xy(0,`app-game-element`,22),e&2){let t=E_().$implicit;Jy(`game`,t)(`category`,`undefined`)}}function ot(e,o){e&1&&Xy(0,`div`,23)}function at(e,o){if(e&1&&t_(0,nt,1,2,`app-game-element`,22)(1,ot,1,0,`div`,23),e&2){let t=o.$implicit;r_(t?0:1)}}function st(e,o){if(e&1&&s_(0,at,2,1,null,null,$e),e&2){let t=E_(3);a_(t.displayedGames())}}function lt(e,o){if(e&1&&Xy(0,`app-game-element`,22),e&2){let t=o.$implicit;Jy(`game`,t)(`category`,`undefined`)}}function rt(e,o){if(e&1&&s_(0,lt,1,2,`app-game-element`,22,Ue),e&2){let t=E_(3);a_(t.gamesWithoutFilters())}}function ct(e,o){if(e&1&&(js(0,`div`,8)(1,`div`,20,0),t_(3,it,2,0),t_(4,st,2,0),t_(5,rt,2,0),ad()()),e&2){let t=E_(2);mb(3),r_(t.gamesReady()?-1:3),mb(),r_(t.gwCalculated()&&!t.isLoading()?4:-1),mb(),r_(t.isEmptySearchCase()?5:-1)}}function mt(e,o){if(e&1&&Xy(0,`app-themed-collections`,9),e&2){let t=E_(2);Jy(`title`,t.collectionTitle())}}function pt(e,o){if(e&1&&Xy(0,`app-themed-collections`,10),e&2){let t=E_(2);Jy(`title`,t.collectionTitle())}}function dt(e,o){if(e&1&&Xy(0,`app-themed-collections`,11),e&2){let t=E_(2);Jy(`title`,t.collectionTitle())}}function gt(e,o){e&1&&Xy(0,`app-livespins`,12)}function ht(e,o){}function ft(e,o){e&1&&Xy(0,`div`,13)}function ut(e,o){e&1&&Xy(0,`app-loading-spinner`,7)}function _t(e,o){if(e&1){let t=h_();js(0,`div`,14)(1,`button`,24),av(`click`,function(){Op(t);let n=E_(2);return Rp(n.onShowMoreClick())}),js(2,`div`),X_(3,`+`),ad(),js(4,`a`),X_(5),IM(6,`translate`),ad()()()}e&2&&(mb(5),Nv(wM(6,1,`show_more`)))}function Ct(e,o){if(e&1&&(js(0,`div`,1),Xy(1,`app-game-collections-menu`),js(2,`div`,3),Fy(3,Qe,1,0,`app-game-collections-search`,4),t_(4,Ye,3,2,`div`,5),t_(5,Ze,3,3,`h2`,6),t_(6,et,1,0,`app-loading-spinner`,7),t_(7,ct,6,3,`div`,8)(8,mt,1,1,`app-themed-collections`,9)(9,pt,1,1,`app-themed-collections`,10)(10,dt,1,1,`app-themed-collections`,11)(11,gt,1,0,`app-livespins`,12)(12,ht,0,0),t_(13,ft,1,0,`div`,13),t_(14,ut,1,0,`app-loading-spinner`,7),t_(15,_t,7,3,`div`,14),ad()()),e&2){let t,i=E_();mb(3),Jy(`appPlatform`,`mobile`),mb(),r_(i.isThemedCollectionsMode()?-1:4),mb(),r_(i.isEmptySearchCase()&&i.mode()===`games`&&!i.isLoading()&&i.gamesReady()?5:-1),mb(),r_(i.isLoading()?6:-1),mb(),r_((t=i.mode())===`games`?7:t===`collections`?8:t===`table-games`?9:t===`more`?10:t===`livespins`?11:12),mb(6),r_(i.isHasMoreGames()?-1:13),mb(),r_(i.isLoadingNextPage()?14:-1),mb(),r_(i.isHasMoreGames()&&i.mode()===`games`&&!i.isLoadingNextPage()?15:-1)}}function xt(e,o){e&1&&Xy(0,`app-cms-page`,2),e&2&&Jy(`pageNotFound`,!0)}var Ti=(()=>{class e{constructor(){this.superbus=g(ci$1),this.selectedCollectionService=g(R),this.gamesFilteringService=g(ve$2),this.localStorage=g(O),this.layout=g(p$1),this.navi=g(Ye$2),this.translate=g(m),this.destroyRef=g(Ne),this.document=g(Se),this.trimToMultiple=g(te),this.fillRow=g(I),this.userService=g(Dt),this.autoScrollService=g(k),this.platformId=g(ZI),this.gameCollectionsHelper=g(fe),this.gamesViewport=EU(st$1),this.isPageWithoutFilters=this.gameCollectionsHelper.isPageWithoutFilters,this.page=ns(1),this.games=ns([]),this.mode=ns(`games`),this.gamesReady=ns(!1),this.placeholders=[0,1,2,3,4,5,6,7,8,9,10,11,12],this.gwCalculated=ns(!1),this.collectionExists=!0,this.collectionId=``,this.selectedCollection=ns(null),this.collectionTitle=ns(``),this.isThemedCollectionsMode=RM(()=>[`collections`,`table-games`,`more`].includes(this.mode())),this.isHasMoreGames=RM(()=>this.computeHasMoreGames()),this.allGames=ns([]),this.bgColors=ns([`#40556A`,`#533665`,`#978C64`,`#376145`,`#733C3C`,`#243A51`,`#468475`,`#716572`,`#648957`,`#B0A169`,`#9AA362`,`#6C4
1160`,`#814848`,`#52708F`,`#644477`]),this.isLoading=ns(!1),this.isLoadingNextPage=ns(!1),this.hasFilterApplied=ns(!1),this.gamesWithoutFilters=ns([]),this.pendingScrollRestore=!1,this.isEmptySearchCase=RM(()=>this.hasFilterApplied()&&this.games().length===0&&this.gamesWithoutFilters().length>0),this.numberOfColumns=RM(()=>this.layout.gameColumns()||1),this.displayedGames=RM(()=>this.isHasMoreGames()?this.trimToMultiple.transform(this.games(),this.numberOfColumns()):this.fillRow.transform(this.games(),this.numberOfColumns())),th(()=>{let t=this.gamesViewport()?.width()??0,i=this.layout.gameCardWidth(),n=this.layout.gameGap();t>0&&i>0&&n>=0&&Go(()=>this.gwCalculated.set(!0))})}ngOnInit(){this.updateMode(),this.pendingScrollRestore=this.hasPendingScrollRestore(),this.bgColors.set([...this.bgColors()].sort(()=>Math.random()>.5?1:-1)),this.gamesFilteringService.page.pipe(Rt(this.destroyRef)).subscribe(t=>{this.page.set(t)}),this.superbus.detectedCountryCode$.pipe(Rt(this.destroyRef),Jn(Boolean)).subscribe(()=>{this.updateState()}),this.superbus.sidebarMenuOpen.pipe(bf(250),Rt(this.destroyRef)).subscribe(()=>this.updateState()),this.superbus.menuRouteHasBeenChanged.pipe(Rt(this.destroyRef)).subscribe(()=>{this.gamesReady.set(!1);let t=this.shouldRestoreGamesPage()?this.localStorage.getGamesPageNum():1;t===1&&this.localStorage.setGamesPageState(this.superbus.selectedMenuSubItem.getValue(),1),this.gamesFilteringService.page.next(t),this.pendingScrollRestore=this.hasPendingScrollRestore(),this.updateState(),this.mode()===`games`&&H8(this.platformId)&&this.isLoading.set(!0)}),this.gamesFilteringService.stateChanged.pipe(Rt(this.destroyRef)).subscribe(()=>{this.gamesReady.set(!1),this.updateState()}),this.superbus.collections.pipe(Of()).subscribe(()=>{this.updateState()}),this.getCollectionTitle()}ngAfterViewInit(){this.updateState(),this.scheduleScrollRestore()}getCollectionTitle(){this.selectedCollectionService.selectedCollection.pipe(Jn(t=>!!(t?.title1||t?.id)),Rt(this.destroyRef)).subscribe(t=>{this.selectedCollection.set(t);let i=t.h1??`${t.title1} ${t.title2}`;if(this.translate.keyExists(i)){this.collectionTitle.set(this.translate.translate(i));return}this.collectionTitle.set(i)})}onShowMoreClick(){this.gamesReady()&&(this.gamesFilteringService.getGamesByFingerPrint().pagination?.next_page?this.gamesFilteringService.loadNextPage():this.page.set(this.page()+1),this.localStorage.setGamesPageState(this.superbus.selectedMenuSubItem.getValue(),this.gamesFilteringService.page.value),this.updateState())}computeHasMoreGames(){if(!this.gamesReady())return!1;let t=this.gamesFilteringService.getGamesByFingerPrint();if(!t||!this.games()?.length||!this.allGames()?.length)return!1;let i=t?.pagination?.next_page;return!(!(this.games().length<this.allGames().length)&&!i)}areGamesDifferent(t,i){if(t.length!==i.length)return!0;for(let n=0;n<t.length;n++)if(t[n].id!==i[n].id)return!0;return!1}updateState(){this.isLoading.set(this.gamesFilteringService.isLoading()),this.isLoadingNextPage.set(this.gamesFilteringService.isLoadingNextPage()),this.hasFilterApplied.set(this.gamesFilteringService.getHasFilterApplied()),this.gamesWithoutFilters.set(this.gamesFilteringService.getGamesWithoutFilters()),this.collectionId=this.superbus.selectedMenuSubItem.getValue()?this.superbus.selectedMenuSubItem.getValue():`all`;let t=this.superbus.selectedMenuSubItem.getValue()?this.superbus.selectedMenuSubItem.getValue():`all`;if(this.updateMode(),this.mode()!==`games`){this.gamesReady.set(!0);return}if(!this.gamesViewport()){_E(null).pipe(Of()).pipe(Mf(50)).subscribe(()=>this.updateState());return}let i=this.gamesFilteringService.getGamesByFingerPrint().games.slice();if(this.isLoadingNextPage()?this.allGames.set(i.length>0?i:this.allGames()):this.allGames.set(i),this.superbus.partialGamesLoaded.next(!0),t===`trending`&&this.allGames.set(this.allGames().filter(n=>n.collections._popular===void 0)),t===`bgaming-battle`)for(let h of[`Beer Bonanza`,`Forty Fruity Million`,`Fruit Million`]){let w=this.allGames().find(E=>E.title===h);if(w){let E=this.allGames();Fr(E,w),this.allGames.set(E)}}if(H8(this.platformId)){let n=this.userService.countryCode;if(!n){this.gamesReady.set(!1);return}this.areGamesDifferent(this.games(),this.allGames())&&n&&this.games.set(this.allGames())}this.gamesReady.set(!0)}shouldRestoreGamesPage(){return this.superbus.selectedMenuItem.getValue()===`games`&&(this.superbus.prevMenuItem===`game`||this.superbus.gettingBackFromMobileGame)&&this.superbus.selectedMenuSubItem.getValue()===this.localStorage.getGamesLatestColId()}hasPendingScrollRestore(){return H8(this.platformId)&&!!this.superbus.getPositionBeforeGameClicked()}scheduleScrollRestore(){!this.pendingScrollRestore||!H8(this.platformId)||!this.gamesReady()||_E(null).pipe(Of(),Mf(0)).subscribe(()=>{if(!this.pendingScrollRestore||!this.gamesReady())return;let t=this.superbus.getPositionBeforeGameClicked();if(!t){this.pendingScrollRestore=!1;return}!this.document.getElementById(t.gameId)&&this.isHasMoreGames()||(this.pendingScrollRestore=!1,this.autoScrollService.scrollGameIntoView())})}updateMode(){let t=this.superbus.selectedMenuItem.getValue();if(t!==this.mode())switch(t){case`collections`:this.mode.set(`collections`);break;case`table-games`:this.mode.set(`table-games`);break;case`more`:this.mode.set(`more`);break;case`livespins`:this.mode.set(`livespins`);break;default:this.mode.set(`games`)}}static{this.ɵfac=function(i){return new(i||e)}}static{this.ɵcmp=tS({type:e,selectors:[[`app-games`]],viewQuery:function(i,n){i&1&&pv(n.gamesViewport,st$1,5),i&2&&__()}
1,features:[dM([te,I])],decls:2,vars:1,consts:[[`gamesList`,``],[1,`games`,`w100`],[3,`pageNotFound`],[1,`games-content`],[`class`,`pl-mobile`,4,`appPlatform`],[1,`games-content__row`],[1,`games-content__empty`,`flex-col`,`flex-center`],[1,`flex-col`,`flex-center`],[1,`flex-row`,`flex-center`,`w100`],[`view`,`themed-collections`,3,`title`],[`view`,`table-games`,3,`title`],[`view`,`more`,3,`title`],[`view`,`list`],[1,`games--noshowmore`],[1,`games--showmore`,`flex-row`,`flex-center`,`w100`],[1,`pl-mobile`],[1,`games-content__title`,3,`visibility-hidden`],[1,`games-content__title`],[`class`,`pl-desktop`,4,`appPlatform`],[1,`pl-desktop`],[`appObserveWidth`,``,1,`games--list`,`flex-row`,`w100`],[1,`games--list__item`,`games--list__item--placeholder`],[1,`games--list__item`,3,`game`,`category`],[1,`empty-slot`,`games--list__item`],[1,`games--showmore__button`,3,`click`]],template:function(i,n){i&1&&t_(0,Ct,16,8,`div`,1)(1,xt,1,1,`app-cms-page`,2),i&2&&r_(n.collectionExists?0:1)},dependencies:[VA,be$2,y,ut$1,Le,ai$1,di$1,rt$1,y$1,ze,Ve,st$1,P,v$1],styles:[`@keyframes _ngcontent-%COMP%_shimmer-placeholder-animation{0%{left:-100%}to{left:100%}}[_ngcontent-%COMP%]:root{--%NS%alpha10: rgb(90.3137254902%, 96.1176470588%, 92.2745098039%);--%NS%alpha20: rgb(70.9411764706%, 88.3529411765%, 76.8235294118%);--%NS%alpha30: rgb(51.568627451%, 80.5882352941%, 61.3725490196%);--%NS%alpha40: rgb(32.1960784314%, 72.8235294118%, 45.9215686275%);--%NS%alpha50: rgb(12.8235294118%, 65.0588235294%, 30.4705882353%);--%NS%alpha60: rgb(2.8235294118%, 55.0588235294%, 20.4705882353%);--%NS%alpha70: rgb(2.1960784314%, 42.8235294118%, 15.9215686275%);--%NS%alpha80: #044e1d;--%NS%alpha90: rgb(.9411764706%, 18.3529411765%, 6.8235294118%);--%NS%alpha100: rgb(.3137254902%, 6.1176470588%, 2.2745098039%)}.games[_ngcontent-%COMP%]{position:relative;overflow:hidden;max-width:1600px;margin-left:auto;margin-right:auto}@media(max-width:992px){.games[_ngcontent-%COMP%]{background-color:var(--%NS%dark-neutral-800)}}.games--collection-line[_ngcontent-%COMP%]{background-color:var(--%NS%dark-neutral-800)}.games--collection-line[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{height:51px;font-weight:700;font-size:35px;line-height:38px;padding-top:30px;box-sizing:border-box}.games--collection-line__sec[_ngcontent-%COMP%]{font-weight:400}.games--list[_ngcontent-%COMP%]{max-width:1400px;display:flex;flex-wrap:wrap;gap:var(--%NS%game-gap);row-gap:var(--%NS%game-gap);align-items:flex-start;justify-content:flex-start;min-height:350px}@media(min-width:993px){.games--list[_ngcontent-%COMP%]{max-width:none}}@media(max-width:992px){.games--list[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.games--list__empty[_ngcontent-%COMP%]{padding:0 12px;font-size:22px;font-weight:500}.games--list__item--placeholder[_ngcontent-%COMP%]{display:none}@media(max-width:650px){.games--%NS%list__item--placeholder[_ngcontent-%COMP%]:nth-child(-n-6){display:inline-flex}}@media(max-width:992px){.games--%NS%list__item--placeholder[_ngcontent-%COMP%]:nth-child(-n-10){display:inline-flex}}@media(max-width:1159px){.games--%NS%list__item--placeholder[_ngcontent-%COMP%]:nth-child(-n-8){display:inline-flex}}@media(max-width:1369px){.games--%NS%list__item--placeholder[_ngcontent-%COMP%]:nth-child(-n-10){display:inline-flex}}@media(min-width:1370px){.games--list__item--placeholder[_ngcontent-%COMP%]{display:inline-flex}}.games--list[_ngcontent-%COMP%] .empty-slot[_ngcontent-%COMP%]{width:var(--%NS%game-image-size)}.games--showmore[_ngcontent-%COMP%]{margin-top:20px;width:100%;height:40px}@media(min-width:1199px){.games--showmore[_ngcontent-%COMP%]{margin-top:40px}}.games--showmore__button[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:center;font-weight:500;border:none;outline:none;cursor:pointer;height:40px;color:#fff;align-items:center;background-color:var(--%NS%neutral-500);border-radius:var(--%NS%border-radius);padding:0 28px;text-decoration:none}.games--%NS%showmore__button[_ngcontent-%COMP%]:hover{background-color:var(--%NS%neutral-400)}.games--%NS%showmore__button[_ngcontent-%COMP%]:active{background-color:var(--%NS%neutral-300)}.games--%NS%showmore__button[_ngcontent-%COMP%]:focus-visible{box-shadow:var(--%NS%focus-shadow)}.games--showmore__button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-weight:700;font-size:26px}.games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;font-weight:400;color:#fff}.games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active, .games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible, .games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, .games--showmore__button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{text-decoration:none;border:none;outline:none}.games--noshowmore[_ngcontent-%COMP%]{width:100%;height:40px}.games-content[_ngcontent-%COMP%]{--%NS%games-content-offset-top: 24px;--%NS%games-content-search-offset: 24px;--%NS%games-content-row-offset: 16px;width:var(--%NS%content-width);margin:var(--%NS%games-content-offset-top) auto 0}
1@container app-content (min-width: 651px){.games-content[_ngcontent-%COMP%]{--%NS%games-content-offset-top: 40px;--%NS%games-content-row-offset: 24px}}.games-content[_ngcontent-%COMP%] app-game-collections-search[_ngcontent-%COMP%]{margin-bottom:var(--%NS%games-content-search-offset)}.games-content__empty[_ngcontent-%COMP%]{margin:0 0 var(--%NS%games-content-row-offset)}.games-content__row[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px;min-height:40px;margin-bottom:var(--%NS%games-content-row-offset)}.games-content__title[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:16px;line-height:24px;letter-spacing:-.011em;font-weight:800;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@container app-content (min-width: 651px){.games-content__title[_ngcontent-%COMP%]{font-family:Rubik,sans-serif;font-size:24px;line-height:40px;letter-spacing:-.019em;font-weight:600}}@media(min-width:993px){.games-content__title[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:32px;line-height:48px;letter-spacing:-.022em;font-weight:600}}.visibility-hidden[_ngcontent-%COMP%]{visibility:hidden}`]})}}return e})();var v=[li,ui,si,ci,Qe$1,be];var S=(()=>{class e{static{this.ɵfac=function(m){return new(m||e)}}static{this.ɵmod=td({type:e})}static{this.ɵinj=ki({imports:[VA,ni,ll,v]})}}return e})();var x=[{path:`games`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)},{path:`games/bgaming`,redirectTo:`games/bgmng`,pathMatch:`full`},{path:`game/bgaming`,redirectTo:`game/bgmng`,pathMatch:`prefix`},{path:`games/:collectionId`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)},{path:`game/:provider/:gameId`,loadComponent:()=>import(`./chunk-Cbvj_Nk6.js`).then(e=>e.GameComponent)},{path:`game/:provider/:gameId/:sessionId`,loadComponent:()=>import(`./chunk-Cbvj_Nk6.js`).then(e=>e.GameComponent)},{path:`collections`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)},{path:`table-games`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)},{path:`more`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)},{path:`livespins`,loadComponent:()=>import(`./chunk-C3aY92-8.js`).then(e=>e.GamesComponent)}];var N=(()=>{class e{static{this.ɵfac=function(m){return new(m||e)}}static{this.ɵmod=td({type:e})}static{this.ɵinj=ki({imports:[aa.forChild(x),aa]})}}return e})();var U=(()=>{class e{static{this.ɵfac=function(m){return new(m||e)}}static{this.ɵmod=td({type:e})}static{this.ɵinj=ki({imports:[Ti,Le,M$2,N,VA,S,w,y]})}}return e})();export{U as GamesModule,ll as n,Ti as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.