@everymatrix/casino-engagement-suite-container 1.76.10 → 1.76.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{p as e,b as n}from"./index-4a08682c.js";export{s as setNonce}from"./index-4a08682c.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["casino-engagement-suite-bar_17",[[1,"casino-engagement-suite-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],endpoint:[1],session:[1],orientation:[32],device:[32],showChallengesList:[32],showFreeSpinsList:[32],showLuckywheelList:[32],showLuckywheelDetails:[32],showJackpotsList:[32],showLuckyWheelsList:[32],showLuckyWheelsDetails:[32],showChallengeDetails:[32],showFreeSpinsDetails:[32],showJackpotDetails:[32],showLeaderboardWidget:[32],challengePercent:[32],remainingFreeSpins:[32],remainingLuckywheels:[32],highlightChallenge:[32],limitStylingAppends:[32],activeWidget:[32],challenges:[32],inProgressChallenges:[32],jackpots:[32],freeSpins:[32],luckyWheels:[32],leaderboards:[32],gameSlug:[32],pausedChallengeIds:[32],isChallengeLabel:[32],isForfeitedSpinsLabel:[32],isForfeitedChallengeLabel:[32],isJoiningToChallenge:[32],selectedChallenge:[32],selectedJackpot:[32],selectedSpin:[32],selectedSpinId:[32],selectedChallengeId:[32],selectedJackpotId:[32],selectedLuckyWheelId:[32],selectedLuckyWheelIndex:[32],barHeight:[32],lastTicketRemainingTimestamp:[32],init:[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],luckyWheels:[16],luckywheel:[16],giftimagesrc:[1],currentinfo:[1],contentdirection:[1],device:[1],translationUrl:[1,"translation-url"],selectedIndex:[2,"selected-index"],timers:[32],isLoading:[32]},null,{luckyWheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[1040],inProgressChallenges:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],pausedChallengeIds:[1040],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32]},null,{challenge:["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],challenges:[1040],isJoiningToChallenge:[1028,"is-joining-to-challenge"],inProgressChallenges:[1040],pausedChallengeIds:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],challengesHistory:[32],openedHistoryIds:[32]},[[8,"message","handleEvent"]],{challenges:["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],device:[1],limitStylingAppends:[32],openModals:[32],rewardMessage:[32],rewardText:[32],hasError:[32],confirmationData:[32],winAmount:[32],noLWSpinLeft:[32],assets:[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{language:[1],show:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],device:[1],orientation:[1],leaderboardsInit:[16],tipsHideDelay:[514,"tips-hide-delay"],tab:[32],locale:[32],tournamentItem:[32],tournamentList:[32],leaderboards:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],newIdList:[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{newIdList:["watchPropHandler"],language:["watchPropHandler"],tournamentList:["syncBarState"],show:["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{activeWidget:[1537,"active-widget"],challengePercent:[1,"challenge-percent"],highlightChallenge:[4,"highlight-challenge"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],orientation:[1],device:[1],isChallengeLabel:[4,"is-challenge-label"],isForfeitedChallengeLabel:[4,"is-forfeited-challenge-label"],isSpinForfeitedLabel:[1028,"is-spin-forfeited-label"],language:[1],jackpots:[16],remainingFreeSpins:[1,"remaining-free-spins"],remainingLuckywheels:[1,"remaining-luckywheels"],leaderboards:[16],limitStylingAppends:[32],activeJackpot:[32],leaderboardState:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],spin:[1040],inProgressChallenges:[16],language:[1],gameSlug:[1,"game-slug"],device:[1],orientation:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32],activeTab:[32],visibleGames:[32],tooltip:[32]}],[1,"casino-engagement-suite-free-spins-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],freeSpins:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],newSpinIds:[32]},null,{freeSpins:["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],jackpot:[16],jackpotChangeStatusRequest:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],limitStylingAppends:[32],timer:[32],disabledStatus:[32],activeTab:[32],visibleGames:[32],enabled:[32],balance:[32],winBalance:[32],showDetails:[32],jackpotEndTime:[32],tooltip:[32],partialWins:[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{jackpot:["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],jackpots:[1040],jackpotChangeStatusRequest:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32]},null,{jackpots:["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],luckyWheels:[1040],translationUrl:[1,"translation-url"],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],luckywheelHistory:[32],openedHistoryIds:[32],historyLoaded:[32],isLoading:[32]},[[8,"message","handleEvent"]],{luckyWheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],luckywheel:[16],size:[1],contentdirection:[1],limitStylingAppends:[32],isPartitionsCustomableReady:[32],isSpinning:[32],options:[32],radius:[32],speed:[32],settings:[32],svg:[32],spinContainer:[32],spinable:[32],spinner:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[4,"is-open"],isLoading:[1028,"is-loading"],header:[1],contentIcon:[1,"content-icon"],modalType:[1,"modal-type"],assets:[1],device:[1],showAnimation:[4,"show-animation"],limitStylingAppends:[32]}],[1,"general-slider",{slideNumber:[2,"slide-number"],slideShow:[2,"slide-show"],showArrow:[4,"show-arrow"],showButton:[4,"show-button"],autoSlide:[4,"auto-slide"],loopTime:[2,"loop-time"],autoItemHeight:[4,"auto-item-height"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],currentPage:[2,"current-page"],currentSlideNumber:[32],slidesCount:[32],limitStylingAppends:[32]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[1,"translation-url"],targetTranslations:[16]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{value:[2],disabled:[4],hidePercent:[4,"hide-percent"],indeterminate:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],limitStylingAppends:[32]}]]],["tournament-item",[[0,"tournament-item",{tournament:[16],isNew:[4,"is-new"],tid:[1],language:[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]],["ui-image",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}]]],["tournament-item-title_2",[[0,"tournament-timer",{tournament:[16],isDetail:[4,"is-detail"],timeHolder:[32],timeClock:[32],lastTimeDiff:[32],lastProgress:[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{tournament:[16],language:[1],isButtonDisabed:[32]},null,{tournament:["onTournamentChanged"]}]]]],e))));
1
+ import{p as e,b as n}from"./index-4a08682c.js";export{s as setNonce}from"./index-4a08682c.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const n=import.meta.url,i={};return""!==n&&(i.resourcesUrl=new URL(".",n).href),e(i)})().then((async e=>(await i(),n([["casino-engagement-suite-bar_17",[[1,"casino-engagement-suite-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],endpoint:[1],session:[1],orientation:[32],device:[32],showChallengesList:[32],showFreeSpinsList:[32],showLuckywheelList:[32],showLuckywheelDetails:[32],showJackpotsList:[32],showLuckyWheelsList:[32],showLuckyWheelsDetails:[32],showChallengeDetails:[32],showFreeSpinsDetails:[32],showJackpotDetails:[32],showLeaderboardWidget:[32],challengePercent:[32],remainingFreeSpins:[32],remainingLuckywheels:[32],highlightChallenge:[32],limitStylingAppends:[32],activeWidget:[32],challenges:[32],inProgressChallenges:[32],jackpots:[32],freeSpins:[32],luckyWheels:[32],leaderboards:[32],gameSlug:[32],pausedChallengeIds:[32],isChallengeLabel:[32],isForfeitedSpinsLabel:[32],isForfeitedChallengeLabel:[32],isJoiningToChallenge:[32],selectedChallenge:[32],selectedJackpot:[32],selectedSpin:[32],selectedSpinId:[32],selectedChallengeId:[32],selectedJackpotId:[32],selectedLuckyWheelId:[32],selectedLuckyWheelIndex:[32],barHeight:[32],lastTicketRemainingTimestamp:[32],init:[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],luckyWheels:[16],luckywheel:[16],giftimagesrc:[1],currentinfo:[1],contentdirection:[1],device:[1],translationUrl:[1,"translation-url"],selectedIndex:[2,"selected-index"],timers:[32],isLoading:[32]},null,{luckyWheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[1040],inProgressChallenges:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],pausedChallengeIds:[1040],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32]},null,{challenge:["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],challenges:[1040],isJoiningToChallenge:[1028,"is-joining-to-challenge"],inProgressChallenges:[1040],pausedChallengeIds:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],challengesHistory:[32],openedHistoryIds:[32]},[[8,"message","handleEvent"]],{challenges:["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],device:[1],limitStylingAppends:[32],openModals:[32],rewardMessage:[32],rewardText:[32],hasError:[32],confirmationData:[32],winAmount:[32],noLWSpinLeft:[32],assets:[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{language:[1],show:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],device:[1],orientation:[1],leaderboardsInit:[16],tipsHideDelay:[514,"tips-hide-delay"],tab:[32],locale:[32],tournamentItem:[32],tournamentList:[32],leaderboards:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],newIdList:[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{newIdList:["watchPropHandler"],language:["watchPropHandler"],tournamentList:["syncBarState"],show:["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{activeWidget:[1537,"active-widget"],challengePercent:[1,"challenge-percent"],highlightChallenge:[4,"highlight-challenge"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],orientation:[1],device:[1],isChallengeLabel:[4,"is-challenge-label"],isForfeitedChallengeLabel:[4,"is-forfeited-challenge-label"],isSpinForfeitedLabel:[1028,"is-spin-forfeited-label"],language:[1],jackpots:[16],remainingFreeSpins:[1,"remaining-free-spins"],remainingLuckywheels:[1,"remaining-luckywheels"],leaderboards:[16],limitStylingAppends:[32],activeJackpot:[32],leaderboardState:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],spin:[1040],inProgressChallenges:[16],language:[1],gameSlug:[1,"game-slug"],device:[1],orientation:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32],activeTab:[32],visibleGames:[32],tooltip:[32]}],[1,"casino-engagement-suite-free-spins-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],freeSpins:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],newSpinIds:[32]},null,{freeSpins:["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],jackpot:[16],jackpotChangeStatusRequest:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],limitStylingAppends:[32],timer:[32],disabledStatus:[32],activeTab:[32],visibleGames:[32],enabled:[32],balance:[32],winBalance:[32],showDetails:[32],jackpotEndTime:[32],tooltip:[32],partialWins:[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{jackpot:["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],jackpots:[1040],jackpotChangeStatusRequest:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32]},null,{jackpots:["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],luckyWheels:[1040],translationUrl:[1,"translation-url"],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],luckywheelHistory:[32],openedHistoryIds:[32],historyLoaded:[32],isLoading:[32]},[[8,"message","handleEvent"]],{luckyWheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],luckywheel:[16],size:[1],contentdirection:[1],limitStylingAppends:[32],isPartitionsCustomableReady:[32],isSpinning:[32],options:[32],radius:[32],speed:[32],settings:[32],svg:[32],spinContainer:[32],spinable:[32],spinner:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[4,"is-open"],isLoading:[1028,"is-loading"],header:[1],contentIcon:[1,"content-icon"],modalType:[1,"modal-type"],assets:[1],device:[1],showAnimation:[4,"show-animation"],limitStylingAppends:[32]}],[1,"general-slider",{slideNumber:[2,"slide-number"],slideShow:[2,"slide-show"],showArrow:[4,"show-arrow"],showButton:[4,"show-button"],autoSlide:[4,"auto-slide"],loopTime:[2,"loop-time"],autoItemHeight:[4,"auto-item-height"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],currentPage:[2,"current-page"],currentSlideNumber:[32],slidesCount:[32],limitStylingAppends:[32]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[1,"translation-url"],targetTranslations:[16]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{value:[2],disabled:[4],hidePercent:[4,"hide-percent"],indeterminate:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],limitStylingAppends:[32]}]]],["tournament-item",[[0,"tournament-item",{tournament:[16],isNew:[4,"is-new"],tid:[1],language:[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]],["ui-image",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}]]],["tournament-item-title_2",[[0,"tournament-timer",{tournament:[16],isDetail:[4,"is-detail"],timeHolder:[32],timeClock:[32],lastTimeDiff:[32],lastProgress:[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{tournament:[16],language:[1],isButtonDisabed:[32]},null,{tournament:["onTournamentChanged"]}]]]],e))));
@@ -1 +1 @@
1
- import{r as t,c as i,h as s}from"./index-4a08682c.js";import{D as e,d as n,r as a,t as h,L as d,f as o,b as r,h as c}from"./util.date-20dfd526.js";import"./utils-25141486.js";const l=class{constructor(s){t(this,s),this.unjoinTournamentConfirmEvent=i(this,"unjoinTournamentConfirmEvent",7),this.joinTournamentEvent=i(this,"joinTournamentEvent",7),this.tournament=void 0,this.language="en",this.isButtonDisabed=!1}onTournamentChanged(t){this.isButtonDisabed=!0===t.isActionJoinPending}onClickItemJoin(){this.isButtonDisabed||(this.isButtonDisabed=!this.tournament.isPlayerAcknowledged,this.tournament.isPlayerAcknowledged?this.unjoinTournamentConfirmEvent.emit({type:e.unjoin,tournament:this.tournament}):this.joinTournamentEvent.emit(this.tournament))}componentDidLoad(){this.isButtonDisabed=!0===this.tournament.isActionJoinPending}render(){return s("div",{key:"3123b0ffd6335833a5938b13e4c620ded693da38",class:"TitleContainer"},s("div",{key:"88977f242dd5cce6265c679ae55dc1dfdecd7fd0",class:"Title"},this.tournament.nameOrTitle),!n(this.tournament)&&s("div",{key:"bf2aad175409e687ed2bd42350a7f8585d86c112"},a({statedClasses:{isHollow:this.tournament.isPlayerAcknowledged,isPending:this.isButtonDisabed},onClick:t=>{t.stopPropagation(),this.onClickItemJoin()},innerHTML:h(this.tournament.isPlayerAcknowledged?"Unjoin":"Join",this.language)})))}static get watchers(){return{tournament:["onTournamentChanged"]}}},m=class{constructor(i){t(this,i),this.tournament=void 0,this.isDetail=!1,this.timeHolder=void 0,this.timeClock=!0,this.lastTimeDiff=void 0,this.lastProgress=void 0}containerPageChangeHandler(t){this.timeClock=t.detail.page===d.list&&!this.isDetail||t.detail.page===d.item&&this.isDetail}componentWillLoad(){this.lastProgress=o(this.tournament.startTime,this.tournament.endTime),this.lastTimeDiff=r(new Date,this.tournament.endTime,this.lastProgress)}setTimeInterval(){this.timeHolder=setInterval((()=>{const t=o(this.tournament.startTime,this.tournament.endTime),i=r(new Date,this.tournament.endTime,t);!this.timeClock||n(this.tournament)||i==this.lastTimeDiff&&t==this.lastProgress||(this.lastProgress=t,this.lastTimeDiff=i)}),2e3)}connectedCallback(){this.setTimeInterval()}disconnectedCallback(){clearInterval(this.timeHolder)}render(){return s("section",{key:"11426165a8f384d97f2b0158f7435f80ac0965a2",class:"TimeContainer"},s("div",{key:"b86c8a42a73b358fcc855a853cb322d1d314471a",class:"Time"},"Running"===this.tournament.state?s("div",{class:"Running"},s("div",null,this.lastTimeDiff),s("div",null,a({statedClasses:{isHollow:!0,isPending:!!this.tournament.isActionJoinPending},innerHTML:`${this.lastProgress}%`}))):[s("div",{class:"NotRunning"},c(this.tournament.startTime)),s("div",null,c(this.tournament.endTime))]),s("casino-engagement-suite-progress-bar",{key:"7f98e88679f30d0a0737d94ee806b1d92800b6a3",indeterminate:!1,value:Number(this.lastProgress>=100?100:this.lastProgress),"hide-percent":!0}))}};export{l as tournament_item_title,m as tournament_timer}
1
+ import{r as t,c as i,h as s}from"./index-4a08682c.js";import{D as e,d as n,r as a,t as h,L as d,f as o,b as r,h as c}from"./util.date-a59c0863.js";import"./utils-25141486.js";const l=class{constructor(s){t(this,s),this.unjoinTournamentConfirmEvent=i(this,"unjoinTournamentConfirmEvent",7),this.joinTournamentEvent=i(this,"joinTournamentEvent",7),this.tournament=void 0,this.language="en",this.isButtonDisabed=!1}onTournamentChanged(t){this.isButtonDisabed=!0===t.isActionJoinPending}onClickItemJoin(){this.isButtonDisabed||(this.isButtonDisabed=!this.tournament.isPlayerAcknowledged,this.tournament.isPlayerAcknowledged?this.unjoinTournamentConfirmEvent.emit({type:e.unjoin,tournament:this.tournament}):this.joinTournamentEvent.emit(this.tournament))}componentDidLoad(){this.isButtonDisabed=!0===this.tournament.isActionJoinPending}render(){return s("div",{key:"3123b0ffd6335833a5938b13e4c620ded693da38",class:"TitleContainer"},s("div",{key:"88977f242dd5cce6265c679ae55dc1dfdecd7fd0",class:"Title"},this.tournament.nameOrTitle),!n(this.tournament)&&s("div",{key:"bf2aad175409e687ed2bd42350a7f8585d86c112"},a({statedClasses:{isHollow:this.tournament.isPlayerAcknowledged,isPending:this.isButtonDisabed},onClick:t=>{t.stopPropagation(),this.onClickItemJoin()},innerHTML:h(this.tournament.isPlayerAcknowledged?"Unjoin":"Join",this.language)})))}static get watchers(){return{tournament:["onTournamentChanged"]}}},m=class{constructor(i){t(this,i),this.tournament=void 0,this.isDetail=!1,this.timeHolder=void 0,this.timeClock=!0,this.lastTimeDiff=void 0,this.lastProgress=void 0}containerPageChangeHandler(t){this.timeClock=t.detail.page===d.list&&!this.isDetail||t.detail.page===d.item&&this.isDetail}componentWillLoad(){this.lastProgress=o(this.tournament.startTime,this.tournament.endTime),this.lastTimeDiff=r(new Date,this.tournament.endTime,this.lastProgress)}setTimeInterval(){this.timeHolder=setInterval((()=>{const t=o(this.tournament.startTime,this.tournament.endTime),i=r(new Date,this.tournament.endTime,t);!this.timeClock||n(this.tournament)||i==this.lastTimeDiff&&t==this.lastProgress||(this.lastProgress=t,this.lastTimeDiff=i)}),2e3)}connectedCallback(){this.setTimeInterval()}disconnectedCallback(){clearInterval(this.timeHolder)}render(){return s("section",{key:"11426165a8f384d97f2b0158f7435f80ac0965a2",class:"TimeContainer"},s("div",{key:"b86c8a42a73b358fcc855a853cb322d1d314471a",class:"Time"},"Running"===this.tournament.state?s("div",{class:"Running"},s("div",null,this.lastTimeDiff),s("div",null,a({statedClasses:{isHollow:!0,isPending:!!this.tournament.isActionJoinPending},innerHTML:`${this.lastProgress}%`}))):[s("div",{class:"NotRunning"},c(this.tournament.startTime)),s("div",null,c(this.tournament.endTime))]),s("casino-engagement-suite-progress-bar",{key:"7f98e88679f30d0a0737d94ee806b1d92800b6a3",indeterminate:!1,value:Number(this.lastProgress>=100?100:this.lastProgress),"hide-percent":!0}))}};export{l as tournament_item_title,m as tournament_timer}
@@ -1 +1 @@
1
- import{r as i,h as t,H as s,g as e}from"./index-4a08682c.js";const r=class{constructor(t){i(this,t),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const i=new Image;i.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,i.onload=null)},i.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((i=>{i.forEach((i=>{if(i.isIntersecting){const t=i.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(i.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return t(s,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&t("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),t("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:i=>this.image=i,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return e(this)}static get watchers(){return{src:["handleSrc"]}}};r.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";export{r as ui_image}
1
+ import{r as i,h as t,H as s,g as e}from"./index-4a08682c.js";const h=class{constructor(t){i(this,t),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){"eager"!==this.loading&&(this.imgLoaded=!1,this.hasStarted=!1,"undefined"!=typeof window&&"IntersectionObserver"in window||this.beginLoad())}onLoadingChange(i,t){i!==t&&(this.cleanupObserver(),this.detachImgHandlers(),"eager"===i?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){"eager"!==this.loading&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return"undefined"!=typeof window&&"IntersectionObserver"in window}setupObserver(){"eager"!==this.loading&&(this.canUseIO()?(this.io=new IntersectionObserver((i=>{var t;for(const s of i)if(s.isIntersecting){this.beginLoad(),null===(t=this.io)||void 0===t||t.unobserve(s.target),this.cleanupObserver();break}}),{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)):this.beginLoad())}cleanupObserver(){var i;null===(i=this.io)||void 0===i||i.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var i;this.currentSrc&&(null===(i=this.imgEl)||void 0===i?void 0:i.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){this.hasStarted||this.imgEl&&this.src&&(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0?this.imgLoaded=!0:(this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)))}get showSkeleton(){return"eager"!==this.loading&&!this.imgLoaded}renderEager(){return t(s,{class:"HostContainer"},t("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return t(s,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&t("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),t("img",{ref:i=>this.imgEl=i,src:void 0,decoding:"async",style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return"eager"===this.loading?this.renderEager():this.renderLazy()}get el(){return e(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};h.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";export{h as ui_image}
@@ -0,0 +1,15 @@
1
+ import{h as e}from"./index-4a08682c.js";import{c as a}from"./utils-25141486.js";
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */function t(e,a){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)a.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]])}return t}var n,r;!function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(n||(n={})),function(e){e.Starts="Starts",e.Ends="Ends"}(r||(r={}));const o=["en","zh"],i=(e,a)=>(Object.keys(a).map((t=>{e=e.replace(`{${t}}`,a[t])})),e),s={en:Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},n),r),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",ScoreAlgorithms:{BetCount:"Most Rounds",WinStakeRatio:"Win/Stake Ratio",MaxWinStakeRatio:"Max Win/Stake Ratio",Stake:"Turnover"},Place:"place",Places:"places",Prizes:"Rewards",Player:"Player",Rank:"Rank",Score:"Score",Prize:"Prize",LeaderboardDetails:"Leaderboard Details",UnjoinDialog:{Title:"Quit Leaderboard?",Description:"Any progress on the current Leaderboard won’t be kept and you can not rejoin the Leaderboard any more. <br /><br />Would you still like to quit?",ButtonYes:"Yes, I want to quit leaderboard",ButtonNo:"No, Stay on the leaderboard"},WinDialog:{Title:"Congratulations!",Description:"You won <span>{rewards}</span>!",ButtonContinue:"Continue",FailedTitle:"Reward cannot be issued",FailedDescription:"Please contact support.",FailedButtonContinue:"Ok, continue"},NoLeaderboards:"No Leaderboards yet",NoLeaderboardsTip:"Try winning tickets to Leaderboards as rewards or launching other booster games",Leaderboards:"Leaderboards",TipPrize:"You took <span>{place}</span> place and win <span>{prize}</span>",TipPrizeWithoutReward:"You took <span>{place}</span> place</span>",Tip:"Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward.",LoadingError:"Oops~ some unexpected issue happened,<br> please refresh the page or contact the support team",TournamentNotStarted:"The leaderboard is not started yet. <br> It will start in {startTime}.",BeOne:"No winners for the time being. Be one of them!",NoGameConfiged:"No game configed",FailedToJoin:"Oops! some unexpected error happened, please try it again.",FailedToUnjoin:"Oops! some unexpected error happened, please try it again."}),zh:{Join:"加入",Unjoin:"取消",info:"信息",leaderboard:"排行榜",games:"游戏",Starts:"开始",Ends:"结束",TC:"条款与条件",ScoreCriteria:"积分规则",MinimumBetCriteria:"最低投注要求",ScoreAlgorithms:{BetCount:"最多轮次",WinStakeRatio:"赢注比例",MaxWinStakeRatio:"最大赢注比例",Stake:"投注额"},Place:"名次",Places:"名次",Prizes:"奖励",Player:"玩家",Rank:"排名",Score:"积分",Prize:"奖品",LeaderboardDetails:"排行榜详情",UnjoinDialog:{Title:"退出排行榜?",Description:"当前排行榜的进度将不会被保留,且您无法再次加入该排行榜。 <br /><br />您确定要退出吗?",ButtonYes:"是的,我要退出排行榜",ButtonNo:"不,留在排行榜"},WinDialog:{Title:"恭喜!",Description:"您赢得了 <span>{rewards}</span>!",ButtonContinue:"继续",FailedTitle:"奖励无法发放",FailedDescription:"请联系客服。",FailedButtonContinue:"好的,继续"},NoLeaderboards:"暂无排行榜",NoLeaderboardsTip:"尝试通过赢得奖品或启动其他增强游戏来获得排行榜",Leaderboards:"排行榜",TipPrize:"您获得 <span>{place}</span> 名,并赢得 <span>{prize}</span>",TipPrizeWithoutReward:"您获得 <span>{place}</span> 名",Tip:"您的真实资金投注将计入排行榜积分计算,以赢得排行榜奖励。",TournamentNotStarted:"排行榜尚未开始。 <br> 它将在 {startTime} 开始。",BeOne:"目前暂无赢家。成为其中之一!",NoGameConfiged:"没有配置游戏",FailedToJoin:"哦哦!发生了一些意外错误,请再试一次。",FailedToUnjoin:"哦哦!发生了一些意外错误,请再试一次。"}},d=(e,a)=>{const t=a;return s[void 0!==t&&o.includes(t)?t:"en"][e]};var l,u,c,p;!function(e){e.list="list",e.item="item"}(l||(l={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(u||(u={})),function(e){e.FreeSpin="FreeSpin",e.Mission="Challenge",e.Leaderboard="TournamentTicket",e.Custom="Custom",e.LuckyWheel="PrizeEngine"}(c||(c={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift",e.error="error",e.loadingError="loadingError"}(p||(p={}));const b=12,m=e=>{let a=null;return(e||[]).map((e=>{var t;const{leaderBoard:{rank:n}}=e;n&&(a=!a||(null===(t=a.leaderBoard)||void 0===t?void 0:t.rank)>n?e:a)})),{rank:a?`${a.leaderBoard.rank} / ${a.endRank}`:"-",detail:a?{playerRank:a.leaderBoard.rank,total:a.endRank}:null}},g=e=>[u.Closed].includes(e.state),h=e=>[u.Closed,u.Closing].includes(e.state),T=e=>{switch(e.type){case c.FreeSpin:return e.campaignName;case c.Mission:return e.challengeName;case c.Leaderboard:return e.ticketProgramName;case c.LuckyWheel:return e.prizeEngineProgramName;case c.Custom:return e.value;default:return e.name}},f=n=>{var{statedClasses:r,innerHTML:o}=n,i=t(n,["statedClasses","innerHTML"]);const{isHollow:s,isPending:d}=r;return e("button",Object.assign({class:a("GradientRoundedButton","GradientRounded",{Hollow:s||!1,Pending:d||!1})},i),e("span",null,o))};function S(e){return e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function C(e,a){return(new Date).getTime()>=a.getTime()?100:Math.floor(100*((new Date).getTime()-e.getTime())/(a.getTime()-e.getTime()))}function w(e,a,t=0){const n=Math.abs(a.getTime()-e.getTime()),r=Math.floor(n/864e5),o=Math.floor(n%864e5/36e5),i=Math.floor(n%36e5/6e4),s=100===t?0:0===i?1:i;return`${String(r).padStart(2,"0")}d:${String(o).padStart(2,"0")}h:${String(s).padStart(2,"0")}m`}export{p as D,l as L,n as T,t as _,T as a,w as b,s as c,h as d,b as e,C as f,m as g,S as h,g as i,i as l,f as r,d as t}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8740741f.js');
6
- const util_date = require('./util.date-88353a1d.js');
6
+ const util_date = require('./util.date-430ac9eb.js');
7
7
  const utils = require('./utils-22119cc1.js');
8
8
 
9
9
  function formatBalance$4(amount, currency, maxAmount = 99999999) {
@@ -6484,6 +6484,10 @@ const messageReceiver = (instance) => {
6484
6484
  * Update tournament games list when switch to game tab in detail page
6485
6485
  */
6486
6486
  UpdateTournamentsItemRes: (rest) => {
6487
+ if (!rest.success) {
6488
+ instance.openDialog(util_date.DialogType.loadingError);
6489
+ return;
6490
+ }
6487
6491
  const tournamentNew = tournamentAdapter(rest.data.item);
6488
6492
  instance.tournamentItem = tournamentNew;
6489
6493
  updateTournamentListByItem(instance, tournamentNew);
@@ -6676,7 +6680,7 @@ const updatePlayerRewardInfo = (instance, rest) => {
6676
6680
  const updateMessageObj = JSON.parse(rest.data.Message);
6677
6681
  const assignFailedRewards = updateMessageObj.rewards.filter(item => item.status && item.status !== 'success')
6678
6682
  .map(reward => util_date.getRewardNameByType(reward));
6679
- const assignedRewards = updateMessageObj.rewards.filter(item => !!item.assigned && item.status === 'success')
6683
+ const assignedRewards = updateMessageObj.rewards.filter(item => item.status && item.status === 'success')
6680
6684
  .map(reward => util_date.getRewardNameByType(reward));
6681
6685
  if (assignFailedRewards.length) {
6682
6686
  instance.gifts = [{ name: null, failedRewards: assignFailedRewards.join(',') }, ...instance.gifts];
@@ -6829,7 +6833,7 @@ const renderCloseBar = (attr) => {
6829
6833
  return (index.h("div", { class: "WrapperBar" }, Object.keys(slots).map(slotKey => (index.h("div", { class: 'WrapperBar' + getFirstLetterUppercase(slotKey) }, slots[slotKey] || '')))));
6830
6834
  };
6831
6835
 
6832
- const casinoEngagementSuiteTournamentCss = ".Leaderboards{height:100%;overflow-y:auto;transition:0.5s ease;transition-property:all, transform}.Leaderboards.list,.Leaderboards.item{margin-top:5px;opacity:0}.Leaderboards.list.Active,.Leaderboards.item.Active{opacity:1}.Leaderboards.list.Hidden,.Leaderboards.item.Hidden{display:none}.Leaderboards .question__tooltip{position:absolute;top:0;left:20px;width:320px;text-align:left;background-color:var(--emw--color-typography, rgba(255, 255, 255, 0.6));border:1px solid var(--emw--color-typography, rgba(255, 255, 255, 0.8));color:var(var(--emw--color-primary, rgb(255, 214, 47)), rgb(255, 214, 47));padding:10px;border-radius:5px;opacity:0;fill-opacity:0.5;transition:opacity 0.3s ease-in-out;z-index:10}.Leaderboards .question__tooltip.visible{opacity:0.8}table.Leaderboards{height:auto}table.Leaderboards td span{display:inline-block;overflow-y:auto;width:98%}table.Leaderboards td.LeaderboardRank{width:10%;min-width:70px}table.Leaderboards td.LeaderboardScore{width:25%}table.Leaderboards td.LeaderboardScore span{min-width:128px}table.Leaderboards td.LeaderboardName{width:20%;max-width:180px}table.Leaderboards td.LeaderboardPrize{width:auto;text-align:left;display:grid}.Wrapper{position:relative;min-height:100%;line-height:20px;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:var(--emw--border-radius-large, 8px);word-break:break-all}.Wrapper .Title{background-color:transparent}.Wrapper .TableContentWrapper{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Wrapper .Games .Game .Skeleton{animation:none}.Wrapper .Games .Game .Skeleton.Image{background-color:transparent}.Wrapper .WrapperContent .TableContentWrapper{height:calc(100vh - 216px);overflow-y:auto}.Wrapper .WrapperContent .Main{height:calc(100vh - 109px)}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row{display:flex;flex-direction:column}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row tournament-item{transition:2s ease-in-out;transform:translate(0) scale(1, 1);opacity:0.99}.Wrapper.Mobile .PageConfirmContainer,.Wrapper.Mobile .DialogContentUnjoin{min-width:80%;width:78vw}.Wrapper.Mobile dialog>div{margin:0px}.Wrapper.Mobile dialog.tip{padding:120px 10px}.Wrapper.Mobile dialog.unjoin .Hollow{margin:5px}.Wrapper.Mobile .GradientRoundedButton{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .PageConfirmButtonsGroup{margin:10px auto}.Wrapper.Mobile .PageConfirm.Gift{padding:5px 16px 30px}.Wrapper.Mobile .PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 22px);line-height:25px}.Wrapper.Mobile .PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 16px)}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 16px);padding:8px}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:var(--emw--border-radius-large, 15px)}.Wrapper.Mobile .GradientRounded{position:relative;border-radius:12px}.WrapperContent{padding-bottom:7px;transition:0.5s filter;display:flex;flex-direction:column;justify-content:space-between}.WrapperContent.faded{filter:brightness(53.3333333333%);pointer-events:none}.WrapperContent .Title{background:transparent;width:initial;height:initial;border:initial;margin-bottom:initial}.WrapperContent .NoLeaderboards h3.Title{text-align:center}.WrapperContent .NoLeaderboards div.message{color:var(--emw--color-secondary, rgb(187, 185, 195));text-align:left}.Wrapper.Mobile .WrapperBar{padding:16px 8px 8px;margin-bottom:8px}.Wrapper.Mobile .Tip{padding:0px 30px 32px}.Wrapper.Mobile .TitleContainer .GradientRoundedButton{width:100px}.Wrapper.Mobile .WrapperContent .WrapperBar{padding:12px 8px;line-height:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .WrapperContent .WrapperBar .WrapperBarMiddle{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .items.TitleContainer{height:50px;margin-bottom:5px}.Wrapper.Mobile .Title{font-size:var(--emw--font-size-large, 16px)}.Wrapper.Mobile .WrapperContent .Main{height:calc(100vh - 179px)}.Wrapper.Mobile .WrapperContent .TableContentWrapper{height:calc(100vh - 276px);overflow-y:auto}.Wrapper.Mobile .WrapperBarLeft span.EngagementSuiteIcon img,.Wrapper.Mobile .WrapperBarRight span.EngagementSuiteIcon img{width:16px;height:16px}.WrapperBar{display:flex;width:100%;padding:16px 8px 12px;align-content:center;justify-content:center;align-items:center}.WrapperBar .WrapperBarLeft span{position:relative}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarLeft span.EngagementSuiteIcon img,.WrapperBarRight span.EngagementSuiteIcon img{width:24px;height:24px}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 14px)}.ScrollBar{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Row{margin:10px 0;padding:0 20px}.Row:first-child{margin:0;padding-top:5px}.LeaderboardsItem{opacity:1;transition:1s opacity ease;position:relative;margin:20px 0;border:1px solid rgb(64, 57, 86);border-radius:6px;padding:12px 0}.LeaderboardsItem.Unjoined{opacity:0;margin:0;border:0 none;animation:slideOut 1s forwards}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.ShowInfo{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 14px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time .Running{width:100%;display:flex;flex-direction:row;justify-content:space-between}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 14px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.TitleContainer{display:flex;justify-content:space-between;margin:10px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat;align-items:center}.TitleContainer .GradientRoundedButton{width:120px}.item .TitleContainer{height:55px;overflow:auto}.TabsContainer{margin:10px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 14px);margin-bottom:-1px}.Tabs .Tab{text-transform:capitalize}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-large, 20px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:14px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:14px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:10px 0;padding:0 20px;padding-left:30px;text-align:left}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden}.ContentScrollContainer{flex:1;display:flex;flex-direction:column;overflow-y:auto;position:relative;height:auto}.ContentScrollContainer.expanded{height:100%;max-height:100%}.PrizesContainer{flex:1;display:flex;flex-direction:column;min-height:100px;max-height:calc(100% - 20px)}.PrizesHeader,.DetailHeader{align-items:center;display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));padding:5px 0;z-index:1;margin:0 20px}.PrizesHeader img,.DetailHeader img{width:14px}.PrizesHeader .PrizesText,.DetailHeader .PrizesText{margin-left:3px;font-weight:600}.DetailHeader{margin:0}.Prizes{margin:10px 0;padding:0 20px;text-align:left;flex:1;overflow-y:auto;margin-bottom:0;padding-right:10px;margin-top:10px}.Prizes::-webkit-scrollbar{width:4px}.Prizes::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.1);border-radius:2px}.Prizes::-webkit-scrollbar-thumb{background:var(--emw--color-primary, rgb(255, 214, 47));border-radius:2px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .Rank{margin-right:5px}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer section.Info{margin-bottom:12px;text-align:left;padding-left:20px}.InfoContainer section.Info .Criterias,.InfoContainer section.Info .Description{margin-top:10px;margin-right:10px}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards thead{position:sticky;top:0;z-index:2;background-color:var(--emw--color-background, hsl(254, 44%, 15%))}.Leaderboards td,.Leaderboards th{opacity:0.6;padding:12px 5px}.Leaderboards th:last-child{text-align:left}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2);scroll-margin-top:42px}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:var(--emw--font-weight-semibold, 500)}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.LeaderboardUnstarted{margin:10px 0;padding:0 20px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-medium, 16px)}.Games{margin:10px 0;padding:0 20px;display:grid;justify-content:start;grid-template-columns:repeat(4, 25%);margin-top:8px;align-content:flex-start;width:100%}.Games .Game{padding-right:8px}.Games .Game.Current{cursor:auto;filter:grayscale(10)}.Games .Game:nth-of-type(4n){padding-right:0px}.Games .Game:hover{filter:brightness(var(--emw--hover-brightness, 1.25));cursor:pointer}.Games .Game.Current:hover{cursor:auto;filter:grayscale(10);cursor:not-allowed}.Games img{width:100%;height:auto;margin:auto 0}dialog.tip{position:absolute;align-items:start;padding:120px 90px;line-height:20px;border:none;border-radius:var(--emw--border-radius-large, 8px);font-size:var(--emw--font-size-small, 16px)}dialog.tip>div{margin:0px}dialog{display:none;position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center;z-index:1;color:var(--emw--color-typography, #FFFFFF);transition:all 0.2s;transition-timing-function:ease-in-out}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}dialog div.Hollow .WrapperBar{padding:12px}dialog div.Hollow .WrapperBar .WrapperBarRight img{width:20px}dialog div.Hollow .Tip{line-height:20px;padding:0px 60px 32px;font-size:var(--emw--font-size-small, 16px)}dialog[open]{display:flex}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;max-width:510px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:0px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.Tip.Error{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.PageConfirmContainer{text-align:center;width:80%;min-width:450px;max-width:510px;margin:0 auto}.PageConfirm{padding:0px 32px 60px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 26px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirm.Gift{padding:22px 32px 60px}.PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 30px)}.PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 20px)}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 20px);padding:12px;height:auto}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:20px}.PageConfirmButtonsGroup{width:150px;margin:20px auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.LeaderboardsItem.GradientRounded.Hollow::before{border-radius:7px}.WrapperUtil .GradientRounded .WrapperBar{margin-bottom:0;padding-bottom:0}.WrapperUtil .GradientRounded .Tip{padding-top:0;padding-bottom:40px}.LeaderboardsItem .LeaderboardsItemContainer .TitleContainer{margin-bottom:16px}@keyframes slideOut{0%{display:block;opacity:1;height:max-content}50%{display:block;opacity:0.5}80%{display:none;opacity:0}100%{display:none;opacity:0;height:0}}";
6836
+ const casinoEngagementSuiteTournamentCss = ".Leaderboards{height:100%;overflow-y:auto;transition:0.5s ease;transition-property:all, transform}.Leaderboards.list,.Leaderboards.item{margin-top:5px;opacity:0}.Leaderboards.list.Active,.Leaderboards.item.Active{opacity:1}.Leaderboards.list.Hidden,.Leaderboards.item.Hidden{display:none}.Leaderboards .question__tooltip{position:absolute;top:0;left:20px;width:320px;text-align:left;background-color:var(--emw--color-typography, rgba(255, 255, 255, 0.6));border:1px solid var(--emw--color-typography, rgba(255, 255, 255, 0.8));color:var(var(--emw--color-primary, rgb(255, 214, 47)), rgb(255, 214, 47));padding:10px;border-radius:5px;opacity:0;fill-opacity:0.5;transition:opacity 0.3s ease-in-out;z-index:10}.Leaderboards .question__tooltip.visible{opacity:0.8}table.Leaderboards{height:auto}table.Leaderboards td span{display:inline-block;overflow-y:auto;width:98%}table.Leaderboards td.LeaderboardRank{width:10%;min-width:70px}table.Leaderboards td.LeaderboardScore{width:25%}table.Leaderboards td.LeaderboardScore span{min-width:128px}table.Leaderboards td.LeaderboardName{width:20%;max-width:180px}table.Leaderboards td.LeaderboardPrize{width:auto;text-align:left;display:grid}.Wrapper{position:relative;min-height:100%;line-height:20px;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:var(--emw--border-radius-large, 8px);word-break:break-all}.Wrapper .Title{background-color:transparent}.Wrapper .TableContentWrapper{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Wrapper .Games .Game .Skeleton{animation:none}.Wrapper .Games .Game .Skeleton.Image{background-color:transparent}.Wrapper .WrapperContent .TableContentWrapper{height:calc(100vh - 216px);overflow-y:auto}.Wrapper .WrapperContent .Main{height:calc(100vh - 109px)}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row{will-change:scroll-position;display:flex;flex-direction:column}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row tournament-item{transition:2s ease-in-out;transform:translate(0) scale(1, 1);opacity:0.99}.Wrapper.Mobile .PageConfirmContainer,.Wrapper.Mobile .DialogContentUnjoin{min-width:80%;width:78vw}.Wrapper.Mobile dialog>div{margin:0px}.Wrapper.Mobile dialog.tip{padding:120px 10px}.Wrapper.Mobile dialog.unjoin .Hollow{margin:5px}.Wrapper.Mobile .GradientRoundedButton{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .PageConfirmButtonsGroup{margin:10px auto}.Wrapper.Mobile .PageConfirm.Gift{padding:5px 16px 30px}.Wrapper.Mobile .PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 22px);line-height:25px}.Wrapper.Mobile .PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 16px)}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 16px);padding:8px}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:var(--emw--border-radius-large, 15px)}.Wrapper.Mobile .GradientRounded{position:relative;border-radius:12px}.WrapperContent{padding-bottom:7px;transition:0.5s filter;display:flex;flex-direction:column;justify-content:space-between}.WrapperContent.faded{filter:brightness(53.3333333333%);pointer-events:none}.WrapperContent .Title{background:transparent;width:initial;height:initial;border:initial;margin-bottom:initial}.WrapperContent .NoLeaderboards h3.Title{text-align:center}.WrapperContent .NoLeaderboards div.message{color:var(--emw--color-secondary, rgb(187, 185, 195));text-align:left}.Wrapper.Mobile .WrapperBar{padding:16px 8px 8px;margin-bottom:8px}.Wrapper.Mobile .Tip{padding:0px 30px 32px}.Wrapper.Mobile .TitleContainer .GradientRoundedButton{width:100px}.Wrapper.Mobile .WrapperContent .WrapperBar{padding:12px 8px;line-height:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .WrapperContent .WrapperBar .WrapperBarMiddle{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .items.TitleContainer{height:50px;margin-bottom:5px}.Wrapper.Mobile .Title{font-size:var(--emw--font-size-large, 16px)}.Wrapper.Mobile .WrapperContent .Main{height:calc(100vh - 179px)}.Wrapper.Mobile .WrapperContent .TableContentWrapper{height:calc(100vh - 276px);overflow-y:auto}.Wrapper.Mobile .WrapperBarLeft span.EngagementSuiteIcon img,.Wrapper.Mobile .WrapperBarRight span.EngagementSuiteIcon img{width:16px;height:16px}.WrapperBar{display:flex;width:100%;padding:16px 8px 12px;align-content:center;justify-content:center;align-items:center}.WrapperBar .WrapperBarLeft span{position:relative}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarLeft span.EngagementSuiteIcon img,.WrapperBarRight span.EngagementSuiteIcon img{width:24px;height:24px}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 14px)}.ScrollBar{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Row{margin:10px 0;padding:0 20px}.Row:first-child{margin:0;padding-top:5px}.LeaderboardsItem{opacity:1;transition:1s opacity ease;position:relative;margin:20px 0;border:1px solid rgb(64, 57, 86);border-radius:6px;padding:12px 0}.LeaderboardsItem.Unjoined{opacity:0;margin:0;border:0 none;animation:slideOut 1s forwards}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.ShowInfo{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 14px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time .Running{width:100%;display:flex;flex-direction:row;justify-content:space-between}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 14px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.TitleContainer{display:flex;justify-content:space-between;margin:10px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat;align-items:center}.TitleContainer .GradientRoundedButton{width:120px}.item .TitleContainer{height:55px;overflow:auto}.TabsContainer{margin:10px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 14px);margin-bottom:-1px}.Tabs .Tab{text-transform:capitalize}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-large, 20px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:14px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:14px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:10px 0;padding:0 20px;padding-left:30px;text-align:left}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden}.ContentScrollContainer{flex:1;display:flex;flex-direction:column;overflow-y:auto;position:relative;height:auto}.ContentScrollContainer.expanded{height:100%;max-height:100%}.PrizesContainer{flex:1;display:flex;flex-direction:column;min-height:100px;max-height:calc(100% - 20px)}.PrizesHeader,.DetailHeader{align-items:center;display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));padding:5px 0;z-index:1;margin:0 20px}.PrizesHeader img,.DetailHeader img{width:14px}.PrizesHeader .PrizesText,.DetailHeader .PrizesText{margin-left:3px;font-weight:600}.DetailHeader{margin:0}.Prizes{margin:10px 0;padding:0 20px;text-align:left;flex:1;overflow-y:auto;margin-bottom:0;padding-right:10px;margin-top:10px}.Prizes::-webkit-scrollbar{width:4px}.Prizes::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.1);border-radius:2px}.Prizes::-webkit-scrollbar-thumb{background:var(--emw--color-primary, rgb(255, 214, 47));border-radius:2px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .Rank{margin-right:5px}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer section.Info{margin-bottom:12px;text-align:left;padding-left:20px}.InfoContainer section.Info .Criterias,.InfoContainer section.Info .Description{margin-top:10px;margin-right:10px}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards thead{position:sticky;top:0;z-index:2;background-color:var(--emw--color-background, hsl(254, 44%, 15%))}.Leaderboards td,.Leaderboards th{opacity:0.6;padding:12px 5px}.Leaderboards th:last-child{text-align:left}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2);scroll-margin-top:42px}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:var(--emw--font-weight-semibold, 500)}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.LeaderboardUnstarted{margin:10px 0;padding:0 20px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-medium, 16px)}.Games{margin:10px 0;padding:0 20px;display:grid;justify-content:start;grid-template-columns:repeat(4, 25%);margin-top:8px;align-content:flex-start;width:100%}.Games .Game{padding-right:8px}.Games .Game.Current{cursor:auto;filter:grayscale(10)}.Games .Game:nth-of-type(4n){padding-right:0px}.Games .Game:hover{filter:brightness(var(--emw--hover-brightness, 1.25));cursor:pointer}.Games .Game.Current:hover{cursor:auto;filter:grayscale(10);cursor:not-allowed}.Games img{width:100%;height:auto;margin:auto 0}dialog.tip{position:absolute;align-items:start;padding:120px 90px;line-height:20px;border:none;border-radius:var(--emw--border-radius-large, 8px);font-size:var(--emw--font-size-small, 16px)}dialog.tip>div{margin:0px}dialog{display:none;position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center;z-index:1;color:var(--emw--color-typography, #FFFFFF);transition:all 0.2s;transition-timing-function:ease-in-out}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}dialog div.Hollow .WrapperBar{padding:12px}dialog div.Hollow .WrapperBar .WrapperBarRight img{width:20px}dialog div.Hollow .Tip{line-height:20px;padding:0px 60px 32px;font-size:var(--emw--font-size-small, 16px)}dialog[open]{display:flex}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;max-width:510px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:0px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.Tip.Error{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.PageConfirmContainer{text-align:center;width:80%;min-width:450px;max-width:510px;margin:0 auto}.PageConfirm{padding:0px 32px 60px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 26px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirm.Gift{padding:22px 32px 60px}.PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 30px)}.PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 20px)}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 20px);padding:12px;height:auto}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:20px}.PageConfirmButtonsGroup{width:150px;margin:20px auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.LeaderboardsItem.GradientRounded.Hollow::before{border-radius:7px}.WrapperUtil .GradientRounded .WrapperBar{margin-bottom:0;padding-bottom:0}.WrapperUtil .GradientRounded .Tip{padding-top:0;padding-bottom:40px}.LeaderboardsItem .LeaderboardsItemContainer .TitleContainer{margin-bottom:16px}@keyframes slideOut{0%{display:block;opacity:1;height:max-content}50%{display:block;opacity:0.5}80%{display:none;opacity:0}100%{display:none;opacity:0;height:0}}";
6833
6837
  const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
6834
6838
 
6835
6839
  const CasinoEngagementSuiteTournament = class {
@@ -7015,6 +7019,8 @@ const CasinoEngagementSuiteTournament = class {
7015
7019
  return index.h("div", { class: "Tip" }, this.locale.Tip);
7016
7020
  case util_date.DialogType.error:
7017
7021
  return index.h("div", { class: "Tip Error" }, this.locale.FailedToJoin);
7022
+ case util_date.DialogType.loadingError:
7023
+ return index.h("div", { class: "Tip", innerHTML: this.locale.LoadingError });
7018
7024
  case util_date.DialogType.gift:
7019
7025
  return this.renders.dialog.gift();
7020
7026
  }
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"lastTicketRemainingTimestamp":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32],"noLWSpinLeft":[32],"assets":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{"newIdList":["watchPropHandler"],"language":["watchPropHandler"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"assets":[1],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"language":[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"language":[1],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
22
+ return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"lastTicketRemainingTimestamp":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32],"noLWSpinLeft":[32],"assets":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{"newIdList":["watchPropHandler"],"language":["watchPropHandler"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"assets":[1],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"language":[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"language":[1],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"lastTicketRemainingTimestamp":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32],"noLWSpinLeft":[32],"assets":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{"newIdList":["watchPropHandler"],"language":["watchPropHandler"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"assets":[1],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"language":[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"imgLoaded":[32],"shouldLoad":[32]},null,{"src":["handleSrc"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"language":[1],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
11
+ return index.bootstrapLazy([["casino-engagement-suite-bar_17.cjs",[[1,"casino-engagement-suite-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"endpoint":[1],"session":[1],"orientation":[32],"device":[32],"showChallengesList":[32],"showFreeSpinsList":[32],"showLuckywheelList":[32],"showLuckywheelDetails":[32],"showJackpotsList":[32],"showLuckyWheelsList":[32],"showLuckyWheelsDetails":[32],"showChallengeDetails":[32],"showFreeSpinsDetails":[32],"showJackpotDetails":[32],"showLeaderboardWidget":[32],"challengePercent":[32],"remainingFreeSpins":[32],"remainingLuckywheels":[32],"highlightChallenge":[32],"limitStylingAppends":[32],"activeWidget":[32],"challenges":[32],"inProgressChallenges":[32],"jackpots":[32],"freeSpins":[32],"luckyWheels":[32],"leaderboards":[32],"gameSlug":[32],"pausedChallengeIds":[32],"isChallengeLabel":[32],"isForfeitedSpinsLabel":[32],"isForfeitedChallengeLabel":[32],"isJoiningToChallenge":[32],"selectedChallenge":[32],"selectedJackpot":[32],"selectedSpin":[32],"selectedSpinId":[32],"selectedChallengeId":[32],"selectedJackpotId":[32],"selectedLuckyWheelId":[32],"selectedLuckyWheelIndex":[32],"barHeight":[32],"lastTicketRemainingTimestamp":[32],"init":[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-luckywheel-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"luckyWheels":[16],"luckywheel":[16],"giftimagesrc":[1],"currentinfo":[1],"contentdirection":[1],"device":[1],"translationUrl":[1,"translation-url"],"selectedIndex":[2,"selected-index"],"timers":[32],"isLoading":[32]},null,{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-challenges-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[1040],"inProgressChallenges":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"pausedChallengeIds":[1040],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32]},null,{"challenge":["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"challenges":[1040],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"inProgressChallenges":[1040],"pausedChallengeIds":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"challengesHistory":[32],"openedHistoryIds":[32]},[[8,"message","handleEvent"]],{"challenges":["challengesPropHandler"]}],[1,"casino-engagement-suite-modal-container",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"device":[1],"limitStylingAppends":[32],"openModals":[32],"rewardMessage":[32],"rewardText":[32],"hasError":[32],"confirmationData":[32],"winAmount":[32],"noLWSpinLeft":[32],"assets":[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"orientation":[1],"leaderboardsInit":[16],"tipsHideDelay":[514,"tips-hide-delay"],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"newIdList":[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentConfirmEvent","handleUnjoinTournamentEvent"],[10,"click","handleClickOutside"]],{"newIdList":["watchPropHandler"],"language":["watchPropHandler"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{"activeWidget":[1537,"active-widget"],"challengePercent":[1,"challenge-percent"],"highlightChallenge":[4,"highlight-challenge"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"orientation":[1],"device":[1],"isChallengeLabel":[4,"is-challenge-label"],"isForfeitedChallengeLabel":[4,"is-forfeited-challenge-label"],"isSpinForfeitedLabel":[1028,"is-spin-forfeited-label"],"language":[1],"jackpots":[16],"remainingFreeSpins":[1,"remaining-free-spins"],"remainingLuckywheels":[1,"remaining-luckywheels"],"leaderboards":[16],"limitStylingAppends":[32],"activeJackpot":[32],"leaderboardState":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"spin":[1040],"inProgressChallenges":[16],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"orientation":[1],"isJoiningToChallenge":[1028,"is-joining-to-challenge"],"limitStylingAppends":[32],"timer":[32],"showDetails":[32],"isExpiredChallenge":[32],"activeTab":[32],"visibleGames":[32],"tooltip":[32]}],[1,"casino-engagement-suite-free-spins-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"freeSpins":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"newSpinIds":[32]},null,{"freeSpins":["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"tooltip":[32],"partialWins":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"jackpots":[1040],"jackpotChangeStatusRequest":[1040],"tooltip":[32],"timers":[32],"limitStylingAppends":[32]},null,{"jackpots":["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckyWheels":[1040],"translationUrl":[1,"translation-url"],"tooltip":[32],"timers":[32],"limitStylingAppends":[32],"activeTab":[32],"historyLoading":[32],"luckywheelHistory":[32],"openedHistoryIds":[32],"historyLoaded":[32],"isLoading":[32]},[[8,"message","handleEvent"]],{"luckyWheels":["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-luckywheel",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[1],"device":[1],"luckywheel":[16],"size":[1],"contentdirection":[1],"limitStylingAppends":[32],"isPartitionsCustomableReady":[32],"isSpinning":[32],"options":[32],"radius":[32],"speed":[32],"settings":[32],"svg":[32],"spinContainer":[32],"spinable":[32],"spinner":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"assets":[1],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}],[1,"general-slider",{"slideNumber":[2,"slide-number"],"slideShow":[2,"slide-show"],"showArrow":[4,"show-arrow"],"showButton":[4,"show-button"],"autoSlide":[4,"auto-slide"],"loopTime":[2,"loop-time"],"autoItemHeight":[4,"auto-item-height"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"currentPage":[2,"current-page"],"currentSlideNumber":[32],"slidesCount":[32],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]],["tournament-item.cjs",[[0,"tournament-item",{"tournament":[16],"isNew":[4,"is-new"],"tid":[1],"language":[1]},[[16,"pendingChangeEvent","onTournamentUpdateEvent"]]]]],["ui-skeleton.cjs",[[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]],["ui-image.cjs",[[0,"ui-image",{"src":[1],"width":[1],"height":[1],"alt":[1],"styles":[8],"detectDistance":[1,"detect-distance"],"loading":[1],"imgLoaded":[32]},null,{"src":["onSrcChange"],"loading":["onLoadingChange"]}]]],["tournament-item-title_2.cjs",[[0,"tournament-timer",{"tournament":[16],"isDetail":[4,"is-detail"],"timeHolder":[32],"timeClock":[32],"lastTimeDiff":[32],"lastProgress":[32]},[[16,"tournamentTimer","containerPageChangeHandler"]]],[0,"tournament-item-title",{"tournament":[16],"language":[1],"isButtonDisabed":[32]},null,{"tournament":["onTournamentChanged"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8740741f.js');
6
- const util_date = require('./util.date-88353a1d.js');
6
+ const util_date = require('./util.date-430ac9eb.js');
7
7
  require('./utils-22119cc1.js');
8
8
 
9
9
  const CasinoEngagementSuiteTournamentItemTitle = class {
@@ -10,59 +10,140 @@ const UiImageStyle0 = uiImageCss;
10
10
  const UiImage = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
+ this.hasStarted = false;
13
14
  this.src = undefined;
14
15
  this.width = undefined;
15
16
  this.height = undefined;
16
17
  this.alt = undefined;
17
18
  this.styles = undefined;
18
19
  this.detectDistance = '200px';
20
+ this.loading = 'lazy';
19
21
  this.imgLoaded = false;
20
- this.shouldLoad = false;
21
22
  }
22
- handleSrc() {
23
- if (!this.shouldLoad) {
23
+ onSrcChange() {
24
+ if (this.loading === 'eager')
24
25
  return;
26
+ this.imgLoaded = false;
27
+ this.hasStarted = false;
28
+ if (typeof window === 'undefined' || !('IntersectionObserver' in window)) {
29
+ this.beginLoad();
25
30
  }
26
- const preloadedImage = new Image();
27
- preloadedImage.onload = () => {
28
- if (this.image) {
29
- this.image.src = this.src;
30
- this.imgLoaded = true;
31
- preloadedImage.onload = null;
31
+ }
32
+ onLoadingChange(newVal, oldVal) {
33
+ if (newVal === oldVal)
34
+ return;
35
+ this.cleanupObserver();
36
+ this.detachImgHandlers();
37
+ if (newVal === 'eager') {
38
+ if (this.imgEl && this.src) {
39
+ this.imgEl.src = this.src;
32
40
  }
33
- };
34
- preloadedImage.src = this.src;
41
+ this.hasStarted = true;
42
+ }
43
+ else {
44
+ this.imgLoaded = false;
45
+ this.hasStarted = false;
46
+ this.setupObserver();
47
+ }
35
48
  }
36
49
  componentDidLoad() {
37
- if ('IntersectionObserver' in window) {
38
- this.el.__uxComponent = this;
39
- if (!window.EMUxObserver) {
40
- window.EMUxObserver = new IntersectionObserver((entries) => {
41
- entries.forEach(entry => {
42
- if (entry.isIntersecting) {
43
- const comp = entry.target.__uxComponent;
44
- if (comp) {
45
- comp.shouldLoad = true;
46
- comp.handleSrc();
47
- }
48
- window.EMUxObserver.unobserve(entry.target);
49
- }
50
- });
51
- }, { rootMargin: this.detectDistance });
50
+ if (this.loading === 'eager')
51
+ return;
52
+ this.setupObserver();
53
+ }
54
+ disconnectedCallback() {
55
+ this.cleanupObserver();
56
+ this.detachImgHandlers();
57
+ }
58
+ canUseIO() {
59
+ return typeof window !== 'undefined' && 'IntersectionObserver' in window;
60
+ }
61
+ setupObserver() {
62
+ if (this.loading === 'eager')
63
+ return;
64
+ if (!this.canUseIO()) {
65
+ this.beginLoad();
66
+ return;
67
+ }
68
+ this.io = new IntersectionObserver((entries) => {
69
+ var _a;
70
+ for (const entry of entries) {
71
+ if (entry.isIntersecting) {
72
+ this.beginLoad();
73
+ (_a = this.io) === null || _a === void 0 ? void 0 : _a.unobserve(entry.target);
74
+ this.cleanupObserver();
75
+ break;
76
+ }
52
77
  }
53
- window.EMUxObserver.observe(this.el);
78
+ }, { root: null, rootMargin: this.detectDistance, threshold: 0 });
79
+ this.io.observe(this.el);
80
+ }
81
+ cleanupObserver() {
82
+ var _a;
83
+ (_a = this.io) === null || _a === void 0 ? void 0 : _a.disconnect();
84
+ this.io = undefined;
85
+ }
86
+ wireOnceHandlers() {
87
+ if (!this.imgEl)
88
+ return;
89
+ this.detachImgHandlers();
90
+ this._onLoad = () => {
91
+ var _a;
92
+ if (this.currentSrc && ((_a = this.imgEl) === null || _a === void 0 ? void 0 : _a.currentSrc) && !this.imgEl.currentSrc.includes(this.currentSrc))
93
+ return;
94
+ this.imgLoaded = true;
95
+ };
96
+ this._onError = () => {
97
+ console.error('Load image failed:', this.src);
98
+ };
99
+ this.imgEl.addEventListener('load', this._onLoad, { once: true });
100
+ this.imgEl.addEventListener('error', this._onError, { once: true });
101
+ }
102
+ detachImgHandlers() {
103
+ if (!this.imgEl)
104
+ return;
105
+ if (this._onLoad)
106
+ this.imgEl.removeEventListener('load', this._onLoad);
107
+ if (this._onError)
108
+ this.imgEl.removeEventListener('error', this._onError);
109
+ this._onLoad = undefined;
110
+ this._onError = undefined;
111
+ }
112
+ beginLoad() {
113
+ if (this.hasStarted)
114
+ return;
115
+ if (!this.imgEl)
116
+ return;
117
+ if (!this.src)
118
+ return;
119
+ this.hasStarted = true;
120
+ this.wireOnceHandlers();
121
+ if (this.imgEl.complete && this.imgEl.naturalWidth > 0) {
122
+ this.imgLoaded = true;
123
+ return;
54
124
  }
55
- else {
56
- this.shouldLoad = true;
57
- this.handleSrc();
125
+ this.currentSrc = this.src;
126
+ this.imgEl.src = this.src;
127
+ if (this.imgEl.complete && this.imgEl.naturalWidth > 0) {
128
+ this.imgLoaded = true;
58
129
  }
59
130
  }
131
+ get showSkeleton() {
132
+ return this.loading !== 'eager' && !this.imgLoaded;
133
+ }
134
+ renderEager() {
135
+ return (index.h(index.Host, { class: "HostContainer" }, index.h("img", { src: this.src, decoding: "async", style: this.styles, class: "UiContainer Visible", alt: this.alt, width: this.width, height: this.height, loading: "eager" })));
136
+ }
137
+ renderLazy() {
138
+ return (index.h(index.Host, { class: "HostContainer", "aria-busy": !this.imgLoaded ? 'true' : 'false' }, this.showSkeleton && (index.h("ui-skeleton", { class: "UiContainer", structure: "image", width: "100%", height: "100%" })), index.h("img", { ref: (el) => (this.imgEl = el), src: undefined, decoding: "async", style: this.styles, class: `UiContainer ${this.imgLoaded ? 'Visible' : 'Hidden'}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" })));
139
+ }
60
140
  render() {
61
- return (index.h(index.Host, { key: 'f506ba73852f257ad80bf59ca177d2065a5f365e', class: "HostContainer" }, !this.imgLoaded && (index.h("ui-skeleton", { key: '564ebfab701f827ddc2debccb7615926dbc9e876', class: "UiContainer", structure: "image", width: "100%", height: "100%" })), index.h("img", { key: '2188ca4494c10587f064acc5459ffc468948f497', ref: (el) => (this.image = el), src: this.shouldLoad ? this.src : undefined, onLoad: () => (this.imgLoaded = true), style: this.styles, class: `UiContainer ${this.imgLoaded ? 'Visible' : 'Hidden'}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" })));
141
+ return this.loading === 'eager' ? this.renderEager() : this.renderLazy();
62
142
  }
63
143
  get el() { return index.getElement(this); }
64
144
  static get watchers() { return {
65
- "src": ["handleSrc"]
145
+ "src": ["onSrcChange"],
146
+ "loading": ["onLoadingChange"]
66
147
  }; }
67
148
  };
68
149
  UiImage.style = UiImageStyle0;
@@ -67,7 +67,7 @@ const TRANSLATIONS = {
67
67
  FailedTitle: 'Reward cannot be issued',
68
68
  FailedDescription: 'Please contact support.',
69
69
  FailedButtonContinue: 'Ok, continue',
70
- }, NoLeaderboards: 'No Leaderboards yet', NoLeaderboardsTip: 'Try winning tickets to Leaderboards as rewards or launching other booster games', Leaderboards: 'Leaderboards', TipPrize: 'You took <span>{place}</span> place and win <span>{prize}</span>', TipPrizeWithoutReward: 'You took <span>{place}</span> place</span>', Tip: 'Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward.', TournamentNotStarted: 'The leaderboard is not started yet. <br> It will start in {startTime}.', BeOne: 'No winners for the time being. Be one of them!', NoGameConfiged: 'No game configed', FailedToJoin: 'Oops! some unexpected error happened, please try it again.', FailedToUnjoin: 'Oops! some unexpected error happened, please try it again.' }),
70
+ }, NoLeaderboards: 'No Leaderboards yet', NoLeaderboardsTip: 'Try winning tickets to Leaderboards as rewards or launching other booster games', Leaderboards: 'Leaderboards', TipPrize: 'You took <span>{place}</span> place and win <span>{prize}</span>', TipPrizeWithoutReward: 'You took <span>{place}</span> place</span>', Tip: 'Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward.', LoadingError: 'Oops~ some unexpected issue happened,<br> please refresh the page or contact the support team', TournamentNotStarted: 'The leaderboard is not started yet. <br> It will start in {startTime}.', BeOne: 'No winners for the time being. Be one of them!', NoGameConfiged: 'No game configed', FailedToJoin: 'Oops! some unexpected error happened, please try it again.', FailedToUnjoin: 'Oops! some unexpected error happened, please try it again.' }),
71
71
  zh: {
72
72
  Join: '加入',
73
73
  Unjoin: '取消',
@@ -151,6 +151,7 @@ exports.DialogType = void 0;
151
151
  DialogType["tip"] = "tip";
152
152
  DialogType["gift"] = "gift";
153
153
  DialogType["error"] = "error";
154
+ DialogType["loadingError"] = "loadingError";
154
155
  })(exports.DialogType || (exports.DialogType = {}));
155
156
 
156
157
  const DEFAULT_PAGE_SIZE = 12;