@everymatrix/casino-challenges-overlay 0.21.0 → 0.21.2
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.
- package/dist/casino-challenges-overlay/casino-challenge-details-events_23.entry.js +1 -1
- package/dist/casino-challenges-overlay/casino-challenges-overlay-1f8c3734.js +1 -0
- package/dist/casino-challenges-overlay/casino-challenges-overlay.esm.js +1 -1
- package/dist/casino-challenges-overlay/index.esm.js +1 -1
- package/dist/cjs/casino-challenge-details-events_23.cjs.entry.js +44 -17
- package/dist/cjs/{casino-challenges-overlay-c99a7b11.js → casino-challenges-overlay-cdce9803.js} +24 -9
- package/dist/cjs/casino-challenges-overlay.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/casino-challenges-overlay/casino-challenges-overlay.js +22 -13
- package/dist/collection/utils/types.js +7 -0
- package/dist/esm/casino-challenge-details-events_23.entry.js +45 -18
- package/dist/esm/{casino-challenges-overlay-d35935be.js → casino-challenges-overlay-1f8c3734.js} +24 -9
- package/dist/esm/casino-challenges-overlay.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/casino-challenges-overlay/casino-challenges-overlay.d.ts +4 -3
- package/dist/types/components.d.ts +2 -2
- package/dist/types/utils/types.d.ts +11 -1
- package/package.json +1 -1
- package/dist/casino-challenges-overlay/casino-challenges-overlay-d35935be.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./index-b4a452f5.js";export{s as setNonce}from"./index-b4a452f5.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,n={};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await n(),l([["casino-challenge-details-events_23",[[1,"casino-challenges-overlay",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],challenges:[16],extendedIngameWidget:[516,"extended-ingame-widget"],progress:[32],isNew:[32],isGift:[32],isNotification:[32],inProgressCount:[32],activeChallenge:[32],completedLevelId:[32],prevUpdateEvent:[32],showModal:[32],modalErrored:[32],modalReward:[32],modalAddition:[32],modalOrderNumber:[32],modalIsFreeSpinsGranted:[32],modalBonusProgramGames:[32],showDrawer:[32],init:[64]},[[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],challenges:["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],handleClose:[16],challenges:[16],initialProgressId:[513,"initial-progress-id"],activeChallenge:[32],activeProgressId:[32],activeTabIndex:[32],error:[32],hasError:[32],swipped:[32],detailsSubPageInfo:[32],progress:[32],loading:[32],notification:[32],optOutModaIsOpen:[32],isOptedOut:[32],prevUpdateEvent:[32],challengeGames:[32],activeChallenges:[32],pendingChallenges:[32],promoChallenges:[32],playerHistory:[32],hasMorePlayerHistory:[32],emptyState:[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],isOpen:["handleIsOpenChange"],activeChallenge:["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],reward:[513],addition:[516],handleClick:[16],errored:[516],orderNumber:[514,"order-number"],isFreeSpinsGranted:[516,"is-free-spins-granted"],bonusProgramGames:[16],currentIndex:[32],isMobile:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],bonusProgramGames:["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[16],language:[513],isMobile:[516,"is-mobile"],isUnique:[516,"is-unique"],swipped:[516],progress:[514],activeChallengesTabIndex:[513,"active-challenges-tab-index"],detailsSubPageInfo:[16],isOptedOut:[516,"is-opted-out"],challengeGames:[16],swipping:[32],actionLoading:[32],error:[32],isChallengePaused:[32],timeLeft:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],progress:["onSwipeChange"],challenge:["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{language:[1],isMobile:[4,"is-mobile"],open:[4]}],[1,"casino-challenges-overlay-drawer-history",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],loading:[516],hasMore:[516,"has-more"],historyItems:[16],openItems:[32],pageSize:[32],pageNumber:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],historyItems:["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],challenges:[16],initialProgressId:[1,"initial-progress-id"],activeTabIndex:[1,"active-tab-index"],currentIndex:[32],slideWidth:[32],slideHeight:[32],isOneSlide:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],currentIndex:["onCurrentIndexChange"],challenges:["onChallengesChange"],initialProgressId:["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{empty:[4]}],[1,"casino-challenges-claim-code",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],domain:[513],isMobile:[516,"is-mobile"],loading:[32],hasError:[32],code:[32],notificationMessage:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{header:[1],description:[1],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{fullSize:[4,"full-size"],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{language:[513],isMobile:[516,"is-mobile"],activeTabIndex:[514,"active-tab-index"],activeTabHasNotification:[516,"active-tab-has-notification"],pendingTabHasNotification:[516,"pending-tab-has-notification"]}],[4,"swipe-up",{isMobile:[516,"is-mobile"],isOneSlider:[516,"is-one-slider"],progress:[32]},null,{isOneSlider:["onIsOneSliderChange"],progress:["onSwipeChange"]}],[0,"casino-challenge-details-levels",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isChallengePaused:[4,"is-challenge-paused"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-details-events",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],open:[4]}],[0,"casino-challenge-details-games",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],games:[16]}],[0,"casino-challenge-details-progress-bar",{challenge:[16],language:[1],isMobile:[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-drawer-history-item",{language:[513],index:[514],historyItem:[16],itemRef:[16],isOpen:[4,"is-open"],isMobile:[4,"is-mobile"],toggle:[16]}],[1,"casino-challenges-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[516,"is-open"],showWinAnimation:[516,"show-win-animation"],showBackdrop:[516,"show-backdrop"],showCloseButton:[516,"show-close-button"]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{challenge:[16],index:[2],arrLength:[2,"arr-length"],currentIndex:[2,"current-index"],language:[1],isOptedOut:[4,"is-opted-out"],slideWidth:[2,"slide-width"],slideHeight:[2,"slide-height"],timeLeft:[32]}],[4,"casino-challenge-expandable-paragraph",{maxHeight:[2,"max-height"],active:[4],expanded:[32],needsTruncation:[32]}],[0,"casino-challenge-level-progress-bar",{height:[1],active:[4],value:[2]}]]]],e))));
|
|
1
|
+
import{p as e,b as l}from"./index-b4a452f5.js";export{s as setNonce}from"./index-b4a452f5.js";import{g as n}from"./app-globals-0f993ce5.js";(()=>{const l=import.meta.url,n={};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await n(),l([["casino-challenge-details-events_23",[[1,"casino-challenges-overlay",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],challenges:[16],extendedIngameWidget:[516,"extended-ingame-widget"],enabledWidgetTabs:[32],progress:[32],isNew:[32],isGift:[32],isNotification:[32],inProgressCount:[32],activeChallenge:[32],completedLevelId:[32],prevUpdateEvent:[32],showModal:[32],modalErrored:[32],modalReward:[32],modalAddition:[32],modalOrderNumber:[32],modalIsFreeSpinsGranted:[32],modalBonusProgramGames:[32],showDrawer:[32],init:[64]},[[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],challenges:["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],handleClose:[16],challenges:[16],initialProgressId:[513,"initial-progress-id"],enabledWidgetTabs:[16],activeChallenge:[32],activeProgressId:[32],activeTabIndex:[32],error:[32],hasError:[32],swipped:[32],detailsSubPageInfo:[32],progress:[32],loading:[32],notification:[32],optOutModaIsOpen:[32],isOptedOut:[32],prevUpdateEvent:[32],challengeGames:[32],activeChallenges:[32],pendingChallenges:[32],promoChallenges:[32],playerHistory:[32],hasMorePlayerHistory:[32],emptyState:[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],isOpen:["handleIsOpenChange"],activeChallenge:["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isOpen:[516,"is-open"],reward:[513],addition:[516],handleClick:[16],errored:[516],orderNumber:[514,"order-number"],isFreeSpinsGranted:[516,"is-free-spins-granted"],bonusProgramGames:[16],currentIndex:[32],isMobile:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],bonusProgramGames:["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[16],language:[513],isMobile:[516,"is-mobile"],isUnique:[516,"is-unique"],swipped:[516],progress:[514],activeChallengesTabIndex:[513,"active-challenges-tab-index"],detailsSubPageInfo:[16],isOptedOut:[516,"is-opted-out"],challengeGames:[16],swipping:[32],actionLoading:[32],error:[32],isChallengePaused:[32],timeLeft:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],progress:["onSwipeChange"],challenge:["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{language:[1],isMobile:[4,"is-mobile"],open:[4]}],[1,"casino-challenges-overlay-drawer-history",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],loading:[516],hasMore:[516,"has-more"],historyItems:[16],openItems:[32],pageSize:[32],pageNumber:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],historyItems:["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],isMobile:[516,"is-mobile"],challenges:[16],initialProgressId:[1,"initial-progress-id"],activeTabIndex:[1,"active-tab-index"],currentIndex:[32],slideWidth:[32],slideHeight:[32],isOneSlide:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],currentIndex:["onCurrentIndexChange"],challenges:["onChallengesChange"],initialProgressId:["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{empty:[4]}],[1,"casino-challenges-claim-code",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],domain:[513],isMobile:[516,"is-mobile"],loading:[32],hasError:[32],code:[32],notificationMessage:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{header:[1],description:[1],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{fullSize:[4,"full-size"],isMobile:[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{language:[513],isMobile:[516,"is-mobile"],activeTabIndex:[514,"active-tab-index"],activeTabHasNotification:[516,"active-tab-has-notification"],pendingTabHasNotification:[516,"pending-tab-has-notification"],enabledWidgetTabs:[16]}],[4,"swipe-up",{isMobile:[516,"is-mobile"],isOneSlider:[516,"is-one-slider"],progress:[32]},null,{isOneSlider:["onIsOneSliderChange"],progress:["onSwipeChange"]}],[0,"casino-challenge-details-levels",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isChallengePaused:[4,"is-challenge-paused"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-details-events",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],open:[4]}],[0,"casino-challenge-details-games",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],games:[16]}],[0,"casino-challenge-details-progress-bar",{challenge:[16],language:[1],isMobile:[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{challenge:[16],language:[1],isMobile:[4,"is-mobile"],isOptedOut:[4,"is-opted-out"],open:[4]}],[0,"casino-challenge-drawer-history-item",{language:[513],index:[514],historyItem:[16],itemRef:[16],isOpen:[4,"is-open"],isMobile:[4,"is-mobile"],toggle:[16]}],[1,"casino-challenges-modal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[516,"is-open"],showWinAnimation:[516,"show-win-animation"],showBackdrop:[516,"show-backdrop"],showCloseButton:[516,"show-close-button"]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{challenge:[16],index:[2],arrLength:[2,"arr-length"],currentIndex:[2,"current-index"],language:[1],isOptedOut:[4,"is-opted-out"],slideWidth:[2,"slide-width"],slideHeight:[2,"slide-height"],timeLeft:[32]}],[4,"casino-challenge-expandable-paragraph",{maxHeight:[2,"max-height"],active:[4],expanded:[32],needsTruncation:[32]}],[0,"casino-challenge-level-progress-bar",{height:[1],active:[4],value:[2]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-
|
|
1
|
+
export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-1f8c3734.js";import"./index-b4a452f5.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-6300a889.js');
|
|
6
|
-
const casinoChallengesOverlay = require('./casino-challenges-overlay-
|
|
6
|
+
const casinoChallengesOverlay = require('./casino-challenges-overlay-cdce9803.js');
|
|
7
7
|
|
|
8
8
|
const DEFAULT_LANGUAGE$3 = 'en';
|
|
9
9
|
const TRANSLATIONS$3 = {
|
|
@@ -944,6 +944,13 @@ var EPostMessageResponseType;
|
|
|
944
944
|
EPostMessageResponseType["UpdateChallengeProgress"] = "UpdateChallengeProgress";
|
|
945
945
|
EPostMessageResponseType["NewChallengeProgressGranted"] = "NewChallengeProgressGranted";
|
|
946
946
|
})(EPostMessageResponseType || (EPostMessageResponseType = {}));
|
|
947
|
+
var EFeatureFlags;
|
|
948
|
+
(function (EFeatureFlags) {
|
|
949
|
+
EFeatureFlags["PromoTab"] = "promo";
|
|
950
|
+
EFeatureFlags["PendingTab"] = "pending";
|
|
951
|
+
EFeatureFlags["FinishedTab"] = "finished";
|
|
952
|
+
EFeatureFlags["CodeTab"] = "code";
|
|
953
|
+
})(EFeatureFlags || (EFeatureFlags = {}));
|
|
947
954
|
|
|
948
955
|
function _typeof(o) {
|
|
949
956
|
"@babel/helpers - typeof";
|
|
@@ -3807,7 +3814,7 @@ const CasinoChallengesOverlayDrawer = class {
|
|
|
3807
3814
|
return (index.h("div", { class: `notification ${((_a = this.notification) === null || _a === void 0 ? void 0 : _a.errored) ? 'errored' : ''}` }, index.h("div", { class: "row" }, index.h("img", { src: ((_b = this.notification) === null || _b === void 0 ? void 0 : _b.errored) ? errorSvg : checkSvg$1, class: "notification__icon", alt: "" }), index.h("p", { class: "notification__message" }, (_c = this.notification) === null || _c === void 0 ? void 0 : _c.message))));
|
|
3808
3815
|
};
|
|
3809
3816
|
this.renderHeader = (isMobile) => {
|
|
3810
|
-
return (index.h("div", null, index.h("h1", { class: "challenges__drawer__title" }, index.h("span", null, translate$2('title', this.language)), index.h("button", { class: "challenges__drawer__close", onClick: this.onCloseClick }, index.h("img", { src: crossSvg$1, alt: "" }))), index.h("casino-challenges-overlay-tabs", { onTabClick: this.handleTabClick, activeTabIndex: this.activeTabIndex, activeTabHasNotification: false, pendingTabHasNotification: false, language: this.language, "is-mobile": isMobile })));
|
|
3817
|
+
return (index.h("div", null, index.h("h1", { class: "challenges__drawer__title" }, index.h("span", null, translate$2('title', this.language)), index.h("button", { class: "challenges__drawer__close", onClick: this.onCloseClick }, index.h("img", { src: crossSvg$1, alt: "" }))), this.enabledWidgetTabs.length > 0 && (index.h("casino-challenges-overlay-tabs", { onTabClick: this.handleTabClick, activeTabIndex: this.activeTabIndex, activeTabHasNotification: false, pendingTabHasNotification: false, language: this.language, "is-mobile": isMobile, enabledWidgetTabs: this.enabledWidgetTabs }))));
|
|
3811
3818
|
};
|
|
3812
3819
|
this.isEmptyState = () => {
|
|
3813
3820
|
if (!this.loading && this.activeTabIndex !== EChallengesTabs.Code) {
|
|
@@ -3849,7 +3856,7 @@ const CasinoChallengesOverlayDrawer = class {
|
|
|
3849
3856
|
return (index.h("swipe-up", { onSwippedUp: (e) => {
|
|
3850
3857
|
this.swipped = e.detail.swipped;
|
|
3851
3858
|
this.progress = e.detail.progress;
|
|
3852
|
-
}, isMobile: isMobile, isOneSlider: isUnique }, index.h("div", { class: "content-header", slot: "header" }, this.renderHeader(isMobile), index.h("div", { class: { 'content-spacer': this.swipped || !isMobile, 'one-slide': isUnique && this.swipped } }, index.h("casino-challenges-overlay-slider", { mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, translationUrl: this.translationUrl, language: this.language, challenges: challenges, isMobile: isMobile, onActiveChallengeChange: this.onActiveChallengeChange, initialProgressId: this.activeProgressId, activeTabIndex: this.activeTabIndex }))), index.h("div", { class: "content-details", slot: "details" }, this.renderChallengeDetails(isMobile, isUnique))));
|
|
3859
|
+
}, isMobile: isMobile, isOneSlider: isUnique }, index.h("div", { class: "content-header", slot: "header" }, this.renderHeader(isMobile), index.h("div", { class: { 'content-spacer': this.swipped || !isMobile, 'one-slide': isUnique && this.swipped } }, index.h("casino-challenges-overlay-slider", { mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, translationUrl: this.translationUrl, language: this.language, challenges: challenges, isMobile: isMobile, onActiveChallengeChange: this.onActiveChallengeChange, initialProgressId: this.activeProgressId, activeTabIndex: this.activeTabIndex }))), index.h("div", { class: "content-details", slot: "details", style: { overflow: this.swipped ? 'auto' : 'hidden' } }, this.renderChallengeDetails(isMobile, isUnique))));
|
|
3853
3860
|
};
|
|
3854
3861
|
this.onCloseClick = () => {
|
|
3855
3862
|
var _a, _b;
|
|
@@ -3869,6 +3876,7 @@ const CasinoChallengesOverlayDrawer = class {
|
|
|
3869
3876
|
this.handleClose = () => { };
|
|
3870
3877
|
this.challenges = [];
|
|
3871
3878
|
this.initialProgressId = '';
|
|
3879
|
+
this.enabledWidgetTabs = undefined;
|
|
3872
3880
|
this.activeChallenge = null;
|
|
3873
3881
|
this.activeProgressId = '';
|
|
3874
3882
|
this.activeTabIndex = EChallengesTabs.Active;
|
|
@@ -3911,7 +3919,8 @@ const CasinoChallengesOverlayDrawer = class {
|
|
|
3911
3919
|
handleIsOpenChange(newValue) {
|
|
3912
3920
|
var _a;
|
|
3913
3921
|
if (newValue) {
|
|
3914
|
-
if (this.initialProgressId && this.challenges.length)
|
|
3922
|
+
if ((this.initialProgressId && this.challenges.length) ||
|
|
3923
|
+
!this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab)) {
|
|
3915
3924
|
this.activeTabIndex = EChallengesTabs.Active;
|
|
3916
3925
|
this.activeProgressId = this.initialProgressId;
|
|
3917
3926
|
const currentChallenge = ((_a = this.activeChallenges) === null || _a === void 0 ? void 0 : _a.find((x) => x.Id === this.activeProgressId)) || this.activeChallenges[0];
|
|
@@ -4395,7 +4404,7 @@ const alertSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTki
|
|
|
4395
4404
|
|
|
4396
4405
|
const crossSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuNSAxNy41TDE3LjUgMi41IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuMDA0NTkiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0yLjUgMi41TDE3LjUgMTcuNSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjAwNDU5IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K';
|
|
4397
4406
|
|
|
4398
|
-
const casinoChallengesOverlayDrawerDetailsCss = ".Mobile.challenge-details.tabView, .Mobile.challenge-details.swipped.hasAction.tabView {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n.Mobile.challenge-details.tabView::-webkit-scrollbar, .Mobile.challenge-details.swipped.hasAction.tabView::-webkit-scrollbar {\n display: none;\n}\n.Mobile.challenge-details {\n overflow-x: hidden;\n border-radius: 0;\n padding: 0;\n}\n.Mobile.challenge-details .content,\n.Mobile.challenge-details .sub-page-wrapper {\n padding: 0 12px;\n}\n.Mobile.challenge-details.tabView {\n border-radius: 20px 20px 0 0;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n}\n.Mobile.challenge-details .breadcrumbs {\n margin: 16px 0 8px 0;\n height: 26px;\n}\n.Mobile.challenge-details .breadcrumbs .challenge-name,\n.Mobile.challenge-details .breadcrumbs .tab-name,\n.Mobile.challenge-details .breadcrumbs .total-number {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .breadcrumbs .action {\n right: 16px;\n width: 26px;\n height: 26px;\n}\n.Mobile.challenge-details .breadcrumbs .action img {\n width: 14px;\n}\n.Mobile.challenge-details .progress-block h3 {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .action-description,\n.Mobile.challenge-details .terms-title,\n.Mobile.challenge-details .terms-description {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-semibold, 600);\n}\n.Mobile.challenge-details.swipped .head .row .challenge-title {\n margin: 12px 0 24px 0;\n}\n.Mobile.challenge-details.swipped .head .action-description {\n display: none;\n}\n.Mobile.challenge-details .footer .action-description {\n margin: 0;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-height: 28px;\n min-height: 14px;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.Mobile.challenge-details .footer {\n border-top: 2px solid var(--emw--gradient-blue, #003e5c);\n background: var(--emw--backdrop-background, rgba(9, 9, 9, 0.8));\n backdrop-filter: blur(16px);\n padding: 12px 16px;\n border-radius: 0;\n}\n.Mobile.challenge-details .banner {\n position: relative;\n justify-self: center;\n}\n.Mobile.challenge-details .banner.grayed {\n opacity: 0.5;\n}\n.Mobile.challenge-details .banner__badge {\n height: 27px;\n box-sizing: border-box;\n align-content: center;\n color: var(--emw--badge-font-color, #f4eff4);\n font-size: var(--emw--font-size-xs-small, 13px);\n font-weight: var(--emw--font-weight-normal, 400);\n position: absolute;\n top: 10px;\n left: 12px;\n padding: 3px 4px;\n border: 1px solid var(--emw--dot-button-active-bg, rgba(255, 255, 255, 0.2));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n backdrop-filter: blur(4.5px);\n border-radius: 15px;\n}\n.Mobile.challenge-details .banner__badge .status {\n height: 100%;\n display: inline-flex;\n align-items: center;\n border-radius: 15px;\n border: 1px solid var(--emw--color-container-border, rgba(255, 255, 255, 0.0705882353));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n padding: 0 8px 0 6px;\n}\n.Mobile.challenge-details .banner__badge .status::before {\n content: \"\";\n width: 5px;\n height: 5px;\n border-radius: 50%;\n background: var(--emw--status-badge-gray-bg, rgba(255, 255, 255, 0.5019607843));\n margin-right: 5px;\n flex-shrink: 0;\n}\n.Mobile.challenge-details .banner__badge .timer {\n font-weight: var(--emw--font-weight-bold, 700);\n padding-right: 4px;\n}\n.Mobile.challenge-details .banner__badge.unavailable .status::before, .Mobile.challenge-details .banner__badge.expired .status::before {\n background: var(--emw--status-badge-gray-bg, rgba(255, 255, 255, 0.5019607843));\n}\n.Mobile.challenge-details .banner__badge.completed .status::before {\n background: var(--emw--background-green-color, #00b541);\n}\n.Mobile.challenge-details .banner__badge.forfeited .status::before {\n background: var(--emw--status-badge-red-bg, #d63d1e);\n}\n.Mobile.challenge-details .banner__badge.paused .status::before {\n background: var(--emw--status-badge-yellow-bg, #ffb801);\n}\n.Mobile.challenge-details .banner__badge:has(.timer) {\n padding-left: 6px;\n}\n.Mobile.challenge-details .banner__image-wrapper {\n position: relative;\n width: 343px;\n height: 180px;\n border-radius: 16px;\n overflow: hidden;\n}\n.Mobile.challenge-details .banner__image-wrapper img {\n width: 100%;\n height: 100%;\n object-fit: fill;\n}\n.Mobile.challenge-details .banner * {\n pointer-events: none;\n}\n.Mobile.challenge-details .challenge-title {\n margin: 12px 0 8px 0;\n font-size: var(--emw--font-size-large, 18px);\n line-height: 22px;\n}\n.Mobile.challenge-details .challenge-rules {\n margin-bottom: 0;\n}\n.Mobile.challenge-details .challenge-rules .challenge-rule {\n font-size: var(--emw--font-size-x-small, 12px);\n}\n.Mobile.challenge-details .mobile-banner {\n display: flex;\n width: 343px;\n height: 180px;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n flex-shrink: 0;\n border-radius: 20px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n margin-bottom: 16px;\n}\n.Mobile.challenge-details .challenge-terms {\n margin-top: 0;\n}\n.Mobile.challenge-details .label {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 12px;\n margin: 0;\n}\n.Mobile.challenge-details .description {\n font-size: var(--emw--font-size-xs-small, 13px);\n line-height: 12px;\n}\n.Mobile.challenge-details .date-description,\n.Mobile.challenge-details .total-level-description {\n line-height: 20px;\n}\n.Mobile.challenge-details .challenge-levels,\n.Mobile.challenge-details .challenge-games,\n.Mobile.challenge-details .challenge-rules {\n padding: 14px;\n}\n.Mobile.challenge-details .chevron-button {\n width: 26px;\n height: 26px;\n}\n.Mobile.challenge-details .chevron-button img {\n width: 14px;\n height: 14px;\n}\n.Mobile.challenge-details .challenge-level {\n padding: 10px;\n}\n.Mobile.challenge-details .challenge-block-header .total-levels h3,\n.Mobile.challenge-details .challenge-block-header .total-levels span,\n.Mobile.challenge-details .challenge-block-header .total-games h3,\n.Mobile.challenge-details .challenge-block-header .total-games span {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .challenge-block-header p {\n font-size: var(--emw--font-size-x-small, 12px);\n}\n.Mobile.challenge-details .challenge-level {\n box-sizing: border-box;\n}\n.Mobile.challenge-details .challenge-level .level__title {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 14px;\n}\n.Mobile.challenge-details .challenge-level .level__status {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 14px;\n}\n.Mobile.challenge-details .challenge-level .level__bonus {\n margin-bottom: 3px;\n}\n.Mobile.challenge-details .challenge-level .label {\n font-size: var(--emw--font-size-x-small, 12px);\n margin-bottom: 8px;\n}\n.Mobile.challenge-details .challenge-level .description {\n font-size: var(--emw--font-size-2x-small, 11px);\n line-height: 12px;\n max-width: 110px;\n}\n.Mobile.challenge-details .challenge-game {\n min-width: 85px;\n height: 60px;\n}\n.Mobile.challenge-details .action-button {\n font-size: var(--emw--font-size-small, 14px);\n height: 34px;\n}\n.Mobile.challenge-details .notification {\n padding: 14px 12px;\n}\n.Mobile.challenge-details .notification__message, .Mobile.challenge-details .notification__title {\n font-size: 14px;\n}\n.Mobile.challenge-details .notification__icon {\n margin-top: 2px;\n width: 14px;\n height: 14px;\n}\n\n.challenge-details {\n font-family: var(--emw--font-family-primary, \"Teachers\"), sans-serif;\n position: relative;\n z-index: 2;\n display: flex;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n box-sizing: border-box;\n border-radius: 0 0 30px 30px;\n padding: 0;\n height: 100%;\n}\n.challenge-details .sub-page-wrapper {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n padding: 0 24px;\n display: flex;\n flex-direction: column;\n}\n.challenge-details .sub-page-wrapper .sub-page {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n padding-bottom: 24px;\n}\n.challenge-details .content {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n padding: 0 24px 24px;\n}\n.challenge-details .breadcrumbs {\n display: flex;\n align-items: center;\n margin: 4px 0 16px 0;\n height: 36px;\n justify-content: space-between;\n flex-shrink: 0;\n}\n.challenge-details .breadcrumbs div {\n display: flex;\n align-items: center;\n}\n.challenge-details .breadcrumbs .challenge-name {\n color: var(--emw--color-gray-250, rgba(255, 255, 255, 0.15));\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 0 3px 0 10px;\n max-width: 150px;\n}\n.challenge-details .breadcrumbs .action {\n outline: none;\n background: transparent;\n border-radius: 20px;\n border: 1.5px solid var(--emw--color-container-border, rgba(255, 255, 255, 0.0705882353));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n backdrop-filter: blur(6.882352829px);\n cursor: pointer;\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.challenge-details .breadcrumbs .action img {\n width: 20px;\n height: 20px;\n}\n.challenge-details .breadcrumbs .tab-name,\n.challenge-details .breadcrumbs .divider {\n color: var(--emw--color-gray-450, #edeff2);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin-left: 3px;\n}\n.challenge-details .breadcrumbs .total-number {\n color: var(--emw--color-gray-500, rgba(255, 255, 255, 0.5));\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin-left: 3px;\n}\n.challenge-details .challenge-title {\n color: #fff;\n font-size: var(--emw--font-size-large-plus, 26px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 16px 0 8px 0;\n}\n.challenge-details .challenge-block {\n border-radius: 20px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--block-background, rgba(9, 9, 9, 0.5));\n backdrop-filter: blur(11.47px);\n display: flex;\n padding: 20px 12px;\n justify-content: center;\n align-items: center;\n gap: 16px;\n margin: 16px 0;\n align-self: stretch;\n}\n.challenge-details .progress-block h3 {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n margin: 0 0 10px 0;\n}\n.challenge-details .chevron-button {\n box-sizing: border-box;\n display: flex;\n width: 36px;\n height: 36px;\n padding: 4px 5px;\n justify-content: center;\n align-items: center;\n gap: 6.923px;\n aspect-ratio: 1/1;\n border-radius: 27.692px;\n border: 2px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--block-background, rgba(9, 9, 9, 0.5));\n backdrop-filter: blur(9.52px);\n margin-left: 4px;\n padding: 4px 5px;\n cursor: pointer;\n}\n.challenge-details .challenge-block-header {\n display: flex;\n padding-left: 4px;\n align-items: center;\n gap: 4px;\n align-self: stretch;\n justify-content: space-between;\n}\n.challenge-details .challenge-block-header .total-levels,\n.challenge-details .challenge-block-header .total-games {\n display: flex;\n align-items: center;\n}\n.challenge-details .challenge-block-header .total-levels span,\n.challenge-details .challenge-block-header .total-games span {\n color: var(--emw--dot-button-active-bg, rgba(255, 255, 255, 0.2));\n display: inline-block;\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin-left: 4px;\n}\n.challenge-details .challenge-block-header h3 {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n margin: 0;\n}\n.challenge-details .challenge-block-header p {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 0;\n}\n.challenge-details .column {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n}\n.challenge-details .row {\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n background: transparent;\n border: none;\n}\n.challenge-details .button {\n cursor: pointer;\n}\n.challenge-details .general-info-col {\n width: 33%;\n}\n.challenge-details .general-info-icon {\n margin-left: 4px;\n}\n.challenge-details .label {\n text-transform: capitalize;\n color: var(--emw--color-gray-400, #c9cacb);\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 0 0 3px 0;\n line-height: 17px;\n}\n.challenge-details .description {\n display: flex;\n align-items: center;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 0;\n line-height: 17px;\n}\n.challenge-details .description span {\n display: inline-block;\n}\n.challenge-details .challenge-terms {\n margin: 16px 12px 0 12px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.challenge-details .terms-title {\n display: flex;\n align-items: center;\n color: var(--emw--background-green-color, #00b541);\n line-height: 17px;\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n border-bottom: 1px solid var(--emw--background-green-color, #00b541);\n cursor: pointer;\n text-underline-offset: 3px;\n margin: 0;\n}\n.challenge-details .terms-title img {\n margin-left: 4px;\n}\n.challenge-details .terms-description {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n text-align: center;\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 6px 0;\n line-height: 14px;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-height: 28px;\n min-height: 14px;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.challenge-details .challenge-general-info {\n padding: 20px 12px;\n box-sizing: border-box;\n}\n.challenge-details .challenge-levels,\n.challenge-details .challenge-games,\n.challenge-details .challenge-rules {\n display: flex;\n padding: 16px;\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n align-self: stretch;\n}\n.challenge-details .levels-row {\n overflow-x: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n width: 100%;\n display: flex;\n align-items: flex-start;\n gap: 10px;\n justify-content: flex-start;\n}\n.challenge-details .challenge-games {\n margin: 0;\n}\n.challenge-details .challenge-level {\n display: flex;\n padding: 12px;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n border-radius: 14px;\n background: var(--emw--level-color-background, rgba(114, 118, 114, 0.2));\n min-width: 153px;\n}\n.challenge-details .challenge-level .label {\n margin-bottom: 8px;\n}\n.challenge-details .challenge-level .description {\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: 14px;\n max-width: 130px;\n}\n.challenge-details .challenge-level img {\n margin-right: 6px;\n}\n.challenge-details .challenge-games .games-row {\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none;\n -ms-overflow-style: none;\n width: 100%;\n display: flex;\n gap: 10px;\n align-items: flex-start;\n justify-content: flex-start;\n}\n.challenge-details .challenge-game {\n display: flex;\n min-width: 120px;\n height: 84px;\n justify-content: flex-end;\n align-items: flex-start;\n gap: 7.978px;\n border-radius: 10.53px;\n cursor: pointer;\n}\n.challenge-details .challenge-game img {\n width: 100%;\n height: auto;\n}\n.challenge-details .challenge-rules {\n padding: 14px;\n}\n.challenge-details .challenge-rule,\n.challenge-details .challenge-event {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n}\n.challenge-details .ellipsed {\n display: inline-block;\n max-width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.challenge-details .footer {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n padding: 20px 24px 24px 24px;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n border-top: 1px solid var(--emw--gradient-blue, #003e5c);\n background: var(--emw--backdrop-background, rgba(9, 9, 9, 0.8));\n backdrop-filter: blur(16.05px);\n border-radius: 0 0 30px 30px;\n flex-shrink: 0;\n}\n.challenge-details .action-description {\n font-size: var(--emw--font-size-small, 14px);\n line-height: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .promo-action-description {\n background: var(--emw--action-description-background, linear-gradient(310deg, #d6ffdc 12.98%, #74b580 92.6%, #509142 131.58%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .action-button {\n border-radius: 99px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--color-green, #00fa5a);\n display: flex;\n height: 40px;\n padding: 14px 20px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n flex-shrink: 0;\n color: var(--emw--color-black-100, #090909);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n}\n.challenge-details .action-button:hover {\n border-color: var(--emw--color-gray-300, #083b17);\n cursor: pointer;\n}\n.challenge-details .action-button.filled {\n color: var(--emw--color-green, #00fa5a);\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--button-background-primary-color, linear-gradient(35deg, rgba(255, 255, 255, 0) 33.61%, rgba(255, 255, 255, 0.15) 89.19%)), var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background-blend-mode: overlay;\n}\n.challenge-details .action-button.filled:hover {\n border-color: transparent;\n box-shadow: 0 0 4px 0 rgba(188, 252, 177, 0.2), 0 0 20px 0 rgba(0, 183, 79, 0.5);\n}\n.challenge-details .action-button.grayed {\n color: var(--emw--color-gray-50, #e2e2e2);\n background: var(--emw--color-black, #000000);\n border-color: var(--emw--button-disabled-border-color, rgba(255, 255, 255, 0.5));\n box-shadow: 0 0 20px 0 rgba(188, 252, 177, 0.2);\n}\n.challenge-details .action-button.grayed:hover {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .action-button:disabled, .challenge-details .action-button:disabled:hover {\n color: var(--emw--color-gray-50, #e2e2e2);\n cursor: not-allowed;\n border: 2px solid var(--emw--button-disabled-border-color, rgba(255, 255, 255, 0.5));\n opacity: 0.7;\n}\n.challenge-details .expand-button {\n outline: none;\n border: none;\n width: 39px;\n height: 16px;\n background: transparent;\n margin: 0 auto;\n cursor: pointer;\n}\n.challenge-details .levels-row .level {\n display: flex;\n padding: 12px;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n border-radius: 14px;\n background: var(--emw--level-color-background, rgba(114, 118, 114, 0.2));\n border: none;\n}\n.challenge-details .levels-row .level.active, .challenge-details .levels-row .level.completed {\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--level-completed-gradient, linear-gradient(90deg, rgba(30, 101, 79, 0.2) 0%, rgba(28, 141, 86, 0.2) 100%));\n}\n.challenge-details .levels-row .level.active .level__title span, .challenge-details .levels-row .level.completed .level__title span {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .levels-row .level.suspended {\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--color-level-suspended rgba(9, 9, 9, 0.4));\n}\n.challenge-details .levels-row .level.suspended .level__status .suspended {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n font-weight: 400;\n}\n.challenge-details .levels-row .level.suspended .level__title span {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .levels-row .level.forfeited {\n background: var(--emw--color-level-color-background, rgba(114, 118, 114, 0.2));\n border: none;\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level.forfeited .level__title span {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level.forfeited .level__target,\n.challenge-details .levels-row .level.forfeited .level__value {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level__status {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-semibold, 600);\n}\n.challenge-details .levels-row .level__title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-small, 14px);\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: 17px;\n margin-bottom: 8px;\n}\n.challenge-details .levels-row .level__title span {\n color: var(--emw--color-white-150, rgba(255, 255, 255, 0.7));\n}\n.challenge-details .levels-row .level__title .completed {\n background: var(--emw--action-description-background, linear-gradient(310deg, #d6ffdc 12.98%, #74b580 92.6%, #509142 131.58%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .levels-row .level__title .completed, .challenge-details .levels-row .level__title .in-progress {\n color: var(--emw--border-success-color, #00b74f);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n text-align: right;\n line-height: 17px;\n}\n.challenge-details .levels-row .level__progress {\n width: 100%;\n margin-bottom: 10px;\n}\n.challenge-details .levels-row .level__icon {\n display: flex;\n opacity: 1;\n}\n.challenge-details .levels-row .level__icon img {\n display: block;\n width: 12px;\n height: 12px;\n margin: 4px 6px 0 0;\n}\n.challenge-details .levels-row .level__icon img.grayed {\n opacity: 0.5;\n}\n.challenge-details .levels-row .level__bonus, .challenge-details .levels-row .level__target {\n display: flex;\n align-items: flex-start;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n line-height: 22px;\n}\n.challenge-details .levels-row .level__bonus {\n margin-bottom: 6px;\n}\n.challenge-details .levels-row .level__value {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n line-height: 22px;\n width: 100%;\n}\n.challenge-details .notification {\n display: flex;\n align-items: flex-start;\n border-radius: var(--emw--border-radius-small, 12px);\n background: rgba(188, 252, 177, 0.1);\n display: flex;\n padding: 20px 16px;\n align-items: flex-start;\n gap: 10px;\n margin: 16px 0;\n}\n.challenge-details .notification__icon {\n width: 18px;\n height: 18px;\n}\n.challenge-details .notification__message, .challenge-details .notification__title {\n color: var(--emw--color-white-150, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-medium, 16px);\n font-weight: var(--emw--font-weight-normal, 400);\n}\n.challenge-details .notification__title {\n background: var(--emw--color-notification-background-secondary, linear-gradient(180deg, #24b24e 0%, #18ce51 100%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .notification__column {\n display: flex;\n flex-direction: column;\n}\n\n@container challenges-drawer (width <=500px) {\n .challenge-details .content,\n .challenge-details .sub-page-wrapper {\n padding: 0 20px;\n }\n}\n@container challenges-drawer (width <=475px) {\n .challenge-details .challenge-title {\n margin: 0 0 4px;\n }\n .challenge-details .challenge-block {\n margin: 12px 0;\n }\n .challenge-details .challenge-levels,\n .challenge-details .challenge-games,\n .challenge-details .challenge-rules {\n padding: 12px;\n }\n}\n@container challenges-drawer (width <=400px) {\n .challenge-details .content,\n .challenge-details .sub-page-wrapper {\n padding: 0 15px;\n }\n}\n@container challenges-drawer (width <= 480px) {\n .footer .action-description {\n font-size: var(--emw--font-size-xs-small, 13px);\n }\n .challenge-details .footer {\n padding: 20px 15px 24px;\n }\n}\n@container challenges-drawer (width <= 440px) {\n .challenge-details .footer {\n padding: 15px;\n }\n}\n@container challenges-game-page (height <= 850px) {}";
|
|
4407
|
+
const casinoChallengesOverlayDrawerDetailsCss = ".Mobile.challenge-details.tabView, .Mobile.challenge-details.swipped.hasAction.tabView {\n -ms-overflow-style: none !important;\n scrollbar-width: none !important;\n}\n.Mobile.challenge-details.tabView::-webkit-scrollbar, .Mobile.challenge-details.swipped.hasAction.tabView::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.Mobile.challenge-details.tabView *, .Mobile.challenge-details.swipped.hasAction.tabView * {\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n}\n.Mobile.challenge-details.tabView *::-webkit-scrollbar, .Mobile.challenge-details.swipped.hasAction.tabView *::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.Mobile.challenge-details {\n overflow-x: hidden;\n border-radius: 0;\n padding: 0;\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n}\n.Mobile.challenge-details::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.Mobile.challenge-details .content,\n.Mobile.challenge-details .sub-page-wrapper {\n padding: 0 12px;\n}\n.Mobile.challenge-details.tabView {\n border-radius: 20px 20px 0 0;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n}\n.Mobile.challenge-details .breadcrumbs {\n margin: 16px 0 8px 0;\n height: 26px;\n}\n.Mobile.challenge-details .breadcrumbs .challenge-name,\n.Mobile.challenge-details .breadcrumbs .tab-name,\n.Mobile.challenge-details .breadcrumbs .total-number {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .breadcrumbs .action {\n right: 16px;\n width: 26px;\n height: 26px;\n}\n.Mobile.challenge-details .breadcrumbs .action img {\n width: 14px;\n}\n.Mobile.challenge-details .progress-block h3 {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .action-description,\n.Mobile.challenge-details .terms-title,\n.Mobile.challenge-details .terms-description {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-semibold, 600);\n}\n.Mobile.challenge-details.swipped .head .row .challenge-title {\n margin: 12px 0 24px 0;\n}\n.Mobile.challenge-details.swipped .head .action-description {\n display: none;\n}\n.Mobile.challenge-details .footer .action-description {\n margin: 0;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-height: 28px;\n min-height: 14px;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.Mobile.challenge-details .footer {\n border-top: 2px solid var(--emw--gradient-blue, #003e5c);\n background: var(--emw--backdrop-background, rgba(9, 9, 9, 0.8));\n backdrop-filter: blur(16px);\n padding: 12px 16px;\n border-radius: 0;\n}\n.Mobile.challenge-details .banner {\n position: relative;\n justify-self: center;\n}\n.Mobile.challenge-details .banner.grayed {\n opacity: 0.5;\n}\n.Mobile.challenge-details .banner__badge {\n height: 27px;\n box-sizing: border-box;\n align-content: center;\n color: var(--emw--badge-font-color, #f4eff4);\n font-size: var(--emw--font-size-xs-small, 13px);\n font-weight: var(--emw--font-weight-normal, 400);\n position: absolute;\n top: 10px;\n left: 12px;\n padding: 3px 4px;\n border: 1px solid var(--emw--dot-button-active-bg, rgba(255, 255, 255, 0.2));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n backdrop-filter: blur(4.5px);\n border-radius: 15px;\n}\n.Mobile.challenge-details .banner__badge .status {\n height: 100%;\n display: inline-flex;\n align-items: center;\n border-radius: 15px;\n border: 1px solid var(--emw--color-container-border, rgba(255, 255, 255, 0.0705882353));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n padding: 0 8px 0 6px;\n}\n.Mobile.challenge-details .banner__badge .status::before {\n content: \"\";\n width: 5px;\n height: 5px;\n border-radius: 50%;\n background: var(--emw--status-badge-gray-bg, rgba(255, 255, 255, 0.5019607843));\n margin-right: 5px;\n flex-shrink: 0;\n}\n.Mobile.challenge-details .banner__badge .timer {\n font-weight: var(--emw--font-weight-bold, 700);\n padding-right: 4px;\n}\n.Mobile.challenge-details .banner__badge.unavailable .status::before, .Mobile.challenge-details .banner__badge.expired .status::before {\n background: var(--emw--status-badge-gray-bg, rgba(255, 255, 255, 0.5019607843));\n}\n.Mobile.challenge-details .banner__badge.completed .status::before {\n background: var(--emw--background-green-color, #00b541);\n}\n.Mobile.challenge-details .banner__badge.forfeited .status::before {\n background: var(--emw--status-badge-red-bg, #d63d1e);\n}\n.Mobile.challenge-details .banner__badge.paused .status::before {\n background: var(--emw--status-badge-yellow-bg, #ffb801);\n}\n.Mobile.challenge-details .banner__badge:has(.timer) {\n padding-left: 6px;\n}\n.Mobile.challenge-details .banner__image-wrapper {\n position: relative;\n width: 343px;\n height: 180px;\n border-radius: 16px;\n overflow: hidden;\n}\n.Mobile.challenge-details .banner__image-wrapper img {\n width: 100%;\n height: 100%;\n object-fit: fill;\n}\n.Mobile.challenge-details .banner * {\n pointer-events: none;\n}\n.Mobile.challenge-details .challenge-title {\n margin: 12px 0 8px 0;\n font-size: var(--emw--font-size-large, 18px);\n line-height: 22px;\n}\n.Mobile.challenge-details .challenge-rules {\n margin-bottom: 0;\n}\n.Mobile.challenge-details .challenge-rules .challenge-rule {\n font-size: var(--emw--font-size-x-small, 12px);\n}\n.Mobile.challenge-details .mobile-banner {\n display: flex;\n width: 343px;\n height: 180px;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n flex-shrink: 0;\n border-radius: 20px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n margin-bottom: 16px;\n}\n.Mobile.challenge-details .challenge-terms {\n margin-top: 0;\n}\n.Mobile.challenge-details .label {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 12px;\n margin: 0;\n}\n.Mobile.challenge-details .description {\n font-size: var(--emw--font-size-xs-small, 13px);\n line-height: 12px;\n}\n.Mobile.challenge-details .date-description,\n.Mobile.challenge-details .total-level-description {\n line-height: 20px;\n}\n.Mobile.challenge-details .challenge-levels,\n.Mobile.challenge-details .challenge-games,\n.Mobile.challenge-details .challenge-rules {\n padding: 14px;\n}\n.Mobile.challenge-details .chevron-button {\n width: 26px;\n height: 26px;\n}\n.Mobile.challenge-details .chevron-button img {\n width: 14px;\n height: 14px;\n}\n.Mobile.challenge-details .challenge-level {\n padding: 10px;\n}\n.Mobile.challenge-details .challenge-block-header .total-levels h3,\n.Mobile.challenge-details .challenge-block-header .total-levels span,\n.Mobile.challenge-details .challenge-block-header .total-games h3,\n.Mobile.challenge-details .challenge-block-header .total-games span {\n font-size: var(--emw--font-size-small, 14px);\n}\n.Mobile.challenge-details .challenge-block-header p {\n font-size: var(--emw--font-size-x-small, 12px);\n}\n.Mobile.challenge-details .challenge-level {\n box-sizing: border-box;\n}\n.Mobile.challenge-details .challenge-level .level__title {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 14px;\n}\n.Mobile.challenge-details .challenge-level .level__status {\n font-size: var(--emw--font-size-x-small, 12px);\n line-height: 14px;\n}\n.Mobile.challenge-details .challenge-level .level__bonus {\n margin-bottom: 3px;\n}\n.Mobile.challenge-details .challenge-level .label {\n font-size: var(--emw--font-size-x-small, 12px);\n margin-bottom: 8px;\n}\n.Mobile.challenge-details .challenge-level .description {\n font-size: var(--emw--font-size-2x-small, 11px);\n line-height: 12px;\n max-width: 110px;\n}\n.Mobile.challenge-details .challenge-game {\n min-width: 85px;\n height: 60px;\n}\n.Mobile.challenge-details .action-button {\n font-size: var(--emw--font-size-small, 14px);\n height: 34px;\n}\n.Mobile.challenge-details .notification {\n padding: 14px 12px;\n}\n.Mobile.challenge-details .notification__message, .Mobile.challenge-details .notification__title {\n font-size: 14px;\n}\n.Mobile.challenge-details .notification__icon {\n margin-top: 2px;\n width: 14px;\n height: 14px;\n}\n\n.challenge-details {\n font-family: var(--emw--font-family-primary, \"Teachers\"), sans-serif;\n position: relative;\n z-index: 2;\n display: flex;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n box-sizing: border-box;\n border-radius: 0 0 30px 30px;\n padding: 0;\n height: 100%;\n}\n.challenge-details::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.challenge-details .sub-page-wrapper {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n padding: 0 24px;\n display: flex;\n flex-direction: column;\n}\n.challenge-details .sub-page-wrapper::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.challenge-details .sub-page-wrapper .sub-page {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n padding-bottom: 24px;\n overflow-x: hidden;\n}\n.challenge-details .sub-page-wrapper .sub-page::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.challenge-details .content {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n scrollbar-width: none !important;\n -ms-overflow-style: none !important;\n padding: 0 24px 24px;\n}\n.challenge-details .content::-webkit-scrollbar {\n display: none !important;\n width: 0 !important;\n height: 0 !important;\n}\n.challenge-details .breadcrumbs {\n display: flex;\n align-items: center;\n margin: 4px 0 16px 0;\n height: 36px;\n justify-content: space-between;\n flex-shrink: 0;\n}\n.challenge-details .breadcrumbs div {\n display: flex;\n align-items: center;\n}\n.challenge-details .breadcrumbs .challenge-name {\n color: var(--emw--color-gray-250, rgba(255, 255, 255, 0.15));\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 0 3px 0 10px;\n max-width: 150px;\n}\n.challenge-details .breadcrumbs .action {\n outline: none;\n background: transparent;\n border-radius: 20px;\n border: 1.5px solid var(--emw--color-container-border, rgba(255, 255, 255, 0.0705882353));\n background: var(--emw--color-container-background, rgba(9, 9, 9, 0.5019607843));\n backdrop-filter: blur(6.882352829px);\n cursor: pointer;\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.challenge-details .breadcrumbs .action img {\n width: 20px;\n height: 20px;\n}\n.challenge-details .breadcrumbs .tab-name,\n.challenge-details .breadcrumbs .divider {\n color: var(--emw--color-gray-450, #edeff2);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin-left: 3px;\n}\n.challenge-details .breadcrumbs .total-number {\n color: var(--emw--color-gray-500, rgba(255, 255, 255, 0.5));\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin-left: 3px;\n}\n.challenge-details .challenge-title {\n color: #fff;\n font-size: var(--emw--font-size-large-plus, 26px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 16px 0 8px 0;\n}\n.challenge-details .challenge-block {\n border-radius: 20px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--block-background, rgba(9, 9, 9, 0.5));\n backdrop-filter: blur(11.47px);\n display: flex;\n padding: 20px 12px;\n justify-content: center;\n align-items: center;\n gap: 16px;\n margin: 16px 0;\n align-self: stretch;\n}\n.challenge-details .progress-block h3 {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n margin: 0 0 10px 0;\n}\n.challenge-details .chevron-button {\n box-sizing: border-box;\n display: flex;\n width: 36px;\n height: 36px;\n padding: 4px 5px;\n justify-content: center;\n align-items: center;\n gap: 6.923px;\n aspect-ratio: 1/1;\n border-radius: 27.692px;\n border: 2px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--block-background, rgba(9, 9, 9, 0.5));\n backdrop-filter: blur(9.52px);\n margin-left: 4px;\n padding: 4px 5px;\n cursor: pointer;\n}\n.challenge-details .challenge-block-header {\n display: flex;\n padding-left: 4px;\n align-items: center;\n gap: 4px;\n align-self: stretch;\n justify-content: space-between;\n}\n.challenge-details .challenge-block-header .total-levels,\n.challenge-details .challenge-block-header .total-games {\n display: flex;\n align-items: center;\n}\n.challenge-details .challenge-block-header .total-levels span,\n.challenge-details .challenge-block-header .total-games span {\n color: var(--emw--dot-button-active-bg, rgba(255, 255, 255, 0.2));\n display: inline-block;\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin-left: 4px;\n}\n.challenge-details .challenge-block-header h3 {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n margin: 0;\n}\n.challenge-details .challenge-block-header p {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 0;\n}\n.challenge-details .column {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n}\n.challenge-details .row {\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n background: transparent;\n border: none;\n}\n.challenge-details .button {\n cursor: pointer;\n}\n.challenge-details .general-info-col {\n width: 33%;\n}\n.challenge-details .general-info-icon {\n margin-left: 4px;\n}\n.challenge-details .label {\n text-transform: capitalize;\n color: var(--emw--color-gray-400, #c9cacb);\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 0 0 3px 0;\n line-height: 17px;\n}\n.challenge-details .description {\n display: flex;\n align-items: center;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: normal;\n margin: 0;\n line-height: 17px;\n}\n.challenge-details .description span {\n display: inline-block;\n}\n.challenge-details .challenge-terms {\n margin: 16px 12px 0 12px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n.challenge-details .terms-title {\n display: flex;\n align-items: center;\n color: var(--emw--background-green-color, #00b541);\n line-height: 17px;\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n border-bottom: 1px solid var(--emw--background-green-color, #00b541);\n cursor: pointer;\n text-underline-offset: 3px;\n margin: 0;\n}\n.challenge-details .terms-title img {\n margin-left: 4px;\n}\n.challenge-details .terms-description {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n text-align: center;\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n margin: 6px 0;\n line-height: 14px;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-height: 28px;\n min-height: 14px;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.challenge-details .challenge-general-info {\n padding: 20px 12px;\n box-sizing: border-box;\n}\n.challenge-details .challenge-levels,\n.challenge-details .challenge-games,\n.challenge-details .challenge-rules {\n display: flex;\n padding: 16px;\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n align-self: stretch;\n}\n.challenge-details .levels-row {\n overflow-x: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n width: 100%;\n display: flex;\n align-items: flex-start;\n gap: 10px;\n justify-content: flex-start;\n}\n.challenge-details .challenge-games {\n margin: 0;\n}\n.challenge-details .challenge-level {\n display: flex;\n padding: 12px;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n border-radius: 14px;\n background: var(--emw--level-color-background, rgba(114, 118, 114, 0.2));\n min-width: 153px;\n}\n.challenge-details .challenge-level .label {\n margin-bottom: 8px;\n}\n.challenge-details .challenge-level .description {\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: 14px;\n max-width: 130px;\n}\n.challenge-details .challenge-level img {\n margin-right: 6px;\n}\n.challenge-details .challenge-games .games-row {\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none;\n -ms-overflow-style: none;\n width: 100%;\n display: flex;\n gap: 10px;\n align-items: flex-start;\n justify-content: flex-start;\n}\n.challenge-details .challenge-game {\n display: flex;\n min-width: 120px;\n height: 84px;\n justify-content: flex-end;\n align-items: flex-start;\n gap: 7.978px;\n border-radius: 10.53px;\n cursor: pointer;\n}\n.challenge-details .challenge-game img {\n width: 100%;\n height: auto;\n}\n.challenge-details .challenge-rules {\n padding: 14px;\n}\n.challenge-details .challenge-rule,\n.challenge-details .challenge-event {\n color: var(--emw--color-empty-state, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-normal, 400);\n line-height: normal;\n}\n.challenge-details .ellipsed {\n display: inline-block;\n max-width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.challenge-details .footer {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n padding: 20px 24px 24px 24px;\n justify-content: space-between;\n align-items: center;\n gap: 8px;\n border-top: 1px solid var(--emw--gradient-blue, #003e5c);\n background: var(--emw--backdrop-background, rgba(9, 9, 9, 0.8));\n backdrop-filter: blur(16.05px);\n border-radius: 0 0 30px 30px;\n flex-shrink: 0;\n}\n.challenge-details .action-description {\n font-size: var(--emw--font-size-small, 14px);\n line-height: var(--emw--font-size-small, 14px);\n font-style: normal;\n font-weight: var(--emw--font-weight-semibold, 600);\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .promo-action-description {\n background: var(--emw--action-description-background, linear-gradient(310deg, #d6ffdc 12.98%, #74b580 92.6%, #509142 131.58%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .action-button {\n border-radius: 99px;\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--color-green, #00fa5a);\n display: flex;\n height: 40px;\n padding: 14px 20px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n flex-shrink: 0;\n color: var(--emw--color-black-100, #090909);\n font-size: var(--emw--font-size-medium, 16px);\n font-style: normal;\n font-weight: var(--emw--font-weight-bold, 700);\n line-height: normal;\n}\n.challenge-details .action-button:hover {\n border-color: var(--emw--color-gray-300, #083b17);\n cursor: pointer;\n}\n.challenge-details .action-button.filled {\n color: var(--emw--color-green, #00fa5a);\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--button-background-primary-color, linear-gradient(35deg, rgba(255, 255, 255, 0) 33.61%, rgba(255, 255, 255, 0.15) 89.19%)), var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background-blend-mode: overlay;\n}\n.challenge-details .action-button.filled:hover {\n border-color: transparent;\n box-shadow: 0 0 4px 0 rgba(188, 252, 177, 0.2), 0 0 20px 0 rgba(0, 183, 79, 0.5);\n}\n.challenge-details .action-button.grayed {\n color: var(--emw--color-gray-50, #e2e2e2);\n background: var(--emw--color-black, #000000);\n border-color: var(--emw--button-disabled-border-color, rgba(255, 255, 255, 0.5));\n box-shadow: 0 0 20px 0 rgba(188, 252, 177, 0.2);\n}\n.challenge-details .action-button.grayed:hover {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .action-button:disabled, .challenge-details .action-button:disabled:hover {\n color: var(--emw--color-gray-50, #e2e2e2);\n cursor: not-allowed;\n border: 2px solid var(--emw--button-disabled-border-color, rgba(255, 255, 255, 0.5));\n opacity: 0.7;\n}\n.challenge-details .expand-button {\n outline: none;\n border: none;\n width: 39px;\n height: 16px;\n background: transparent;\n margin: 0 auto;\n cursor: pointer;\n}\n.challenge-details .levels-row .level {\n display: flex;\n padding: 12px;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n border-radius: 14px;\n background: var(--emw--level-color-background, rgba(114, 118, 114, 0.2));\n border: none;\n}\n.challenge-details .levels-row .level.active, .challenge-details .levels-row .level.completed {\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--level-completed-gradient, linear-gradient(90deg, rgba(30, 101, 79, 0.2) 0%, rgba(28, 141, 86, 0.2) 100%));\n}\n.challenge-details .levels-row .level.active .level__title span, .challenge-details .levels-row .level.completed .level__title span {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .levels-row .level.suspended {\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n background: var(--emw--color-level-suspended rgba(9, 9, 9, 0.4));\n}\n.challenge-details .levels-row .level.suspended .level__status .suspended {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n font-weight: 400;\n}\n.challenge-details .levels-row .level.suspended .level__title span {\n color: var(--emw--color-white, #fff);\n}\n.challenge-details .levels-row .level.forfeited {\n background: var(--emw--color-level-color-background, rgba(114, 118, 114, 0.2));\n border: none;\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level.forfeited .level__title span {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level.forfeited .level__target,\n.challenge-details .levels-row .level.forfeited .level__value {\n color: var(--emw--color-level-status-suspended, rgba(255, 255, 255, 0.5));\n}\n.challenge-details .levels-row .level__status {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-semibold, 600);\n}\n.challenge-details .levels-row .level__title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-small, 14px);\n font-weight: var(--emw--font-weight-semibold, 600);\n line-height: 17px;\n margin-bottom: 8px;\n}\n.challenge-details .levels-row .level__title span {\n color: var(--emw--color-white-150, rgba(255, 255, 255, 0.7));\n}\n.challenge-details .levels-row .level__title .completed {\n background: var(--emw--action-description-background, linear-gradient(310deg, #d6ffdc 12.98%, #74b580 92.6%, #509142 131.58%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .levels-row .level__title .completed, .challenge-details .levels-row .level__title .in-progress {\n color: var(--emw--border-success-color, #00b74f);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n text-align: right;\n line-height: 17px;\n}\n.challenge-details .levels-row .level__progress {\n width: 100%;\n margin-bottom: 10px;\n}\n.challenge-details .levels-row .level__icon {\n display: flex;\n opacity: 1;\n}\n.challenge-details .levels-row .level__icon img {\n display: block;\n width: 12px;\n height: 12px;\n margin: 4px 6px 0 0;\n}\n.challenge-details .levels-row .level__icon img.grayed {\n opacity: 0.5;\n}\n.challenge-details .levels-row .level__bonus, .challenge-details .levels-row .level__target {\n display: flex;\n align-items: flex-start;\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n line-height: 22px;\n}\n.challenge-details .levels-row .level__bonus {\n margin-bottom: 6px;\n}\n.challenge-details .levels-row .level__value {\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-x-small, 12px);\n font-weight: var(--emw--font-weight-medium, 500);\n line-height: 22px;\n width: 100%;\n}\n.challenge-details .notification {\n display: flex;\n align-items: flex-start;\n border-radius: var(--emw--border-radius-small, 12px);\n background: rgba(188, 252, 177, 0.1);\n display: flex;\n padding: 20px 16px;\n align-items: flex-start;\n gap: 10px;\n margin: 16px 0;\n}\n.challenge-details .notification__icon {\n width: 18px;\n height: 18px;\n}\n.challenge-details .notification__message, .challenge-details .notification__title {\n color: var(--emw--color-white-150, rgba(255, 255, 255, 0.7));\n font-size: var(--emw--font-size-medium, 16px);\n font-weight: var(--emw--font-weight-normal, 400);\n}\n.challenge-details .notification__title {\n background: var(--emw--color-notification-background-secondary, linear-gradient(180deg, #24b24e 0%, #18ce51 100%));\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.challenge-details .notification__column {\n display: flex;\n flex-direction: column;\n}\n\n@container challenges-drawer (width <=500px) {\n .challenge-details .content,\n .challenge-details .sub-page-wrapper {\n padding: 0 20px;\n }\n}\n@container challenges-drawer (width <=475px) {\n .challenge-details .challenge-title {\n margin: 0 0 4px;\n }\n .challenge-details .challenge-block {\n margin: 12px 0;\n }\n .challenge-details .challenge-levels,\n .challenge-details .challenge-games,\n .challenge-details .challenge-rules {\n padding: 12px;\n }\n}\n@container challenges-drawer (width <=400px) {\n .challenge-details .content,\n .challenge-details .sub-page-wrapper {\n padding: 0 15px;\n }\n}\n@container challenges-drawer (width <= 480px) {\n .footer .action-description {\n font-size: var(--emw--font-size-xs-small, 13px);\n }\n .challenge-details .footer {\n padding: 20px 15px 24px;\n }\n}\n@container challenges-drawer (width <= 440px) {\n .challenge-details .footer {\n padding: 15px;\n }\n}\n@container challenges-game-page (height <= 850px) {}";
|
|
4399
4408
|
const CasinoChallengesOverlayDrawerDetailsStyle0 = casinoChallengesOverlayDrawerDetailsCss;
|
|
4400
4409
|
|
|
4401
4410
|
const CasinoChallengesOverlayDrawerDetails = class {
|
|
@@ -5428,7 +5437,7 @@ const notificationSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdod
|
|
|
5428
5437
|
|
|
5429
5438
|
const crownSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxNCAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjU4MzMgNi43MDU0N0wxMS40NjEgNy44NDE5M0wxMi40NTUzIDcuOTQ4ODdMMTIuNTc3NSA2LjgxMjRMMTEuNTgzMyA2LjcwNTQ3Wk03LjU1ODYgMTJINi4xMDgwN1YxM0g3LjU1ODZWMTJaTTIuMjA1NjcgNy44NDE5M0wyLjA4MzQzIDYuNzA1NDdMMS4wODkxNyA2LjgxMjRMMS4yMTE0IDcuOTQ4ODdMMi4yMDU2NyA3Ljg0MTkzWk01LjExMDA1IDYuMDMyODdMNi4zMDMwNyAzLjg5MzgxTDUuNDI5NjkgMy40MDY3Mkw0LjIzNjY5IDUuNTQ1NzNMNS4xMTAwNSA2LjAzMjg3Wk03LjM2MzYgMy44OTM4MUw4LjU1NjYgNi4wMzI4N0w5LjQzIDUuNTQ1NzNMOC4yMzcgMy40MDY3Mkw3LjM2MzYgMy44OTM4MVpNOC41NTY2IDYuMDMyODdDOC42NjQ0NiA2LjIyNjIgOC43NjM3MyA2LjQwNTQ3IDguODU5OTMgNi41NDI1M0M4Ljk1OSA2LjY4MzUzIDkuMDk0MDcgNi44MzkyNyA5LjMwMSA2LjkzMDRMOS43MDQgNi4wMTUyQzkuNzQxMjcgNi4wMzE1MyA5LjczNDkzI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absCss = ".challenges__tabs-wrapper.Mobile {\n width: auto;\n margin: 0 16px;\n}\n.challenges__tabs-wrapper.Mobile .challenges__tabs {\n height: 34px;\n padding: 2px 5px;\n margin: 12px 0;\n font-size: var(--emw--font-size-small, 14px);\n}\n.challenges__tabs-wrapper.Mobile .challenges__tabs.challenges__tabs--promo {\n min-width: 84px;\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper.Mobile .challenges__tab {\n height: 28px;\n min-width: auto;\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo {\n min-width: auto;\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo.active {\n background: var(--emw--active-tab-background, rgba(9, 9, 9, 0.4));\n backdrop-filter: blur(11.4705886841px);\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo span {\n margin-right: 4px;\n}\n\n.challenges__tabs-wrapper {\n position: relative;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 24px;\n}\n.challenges__tabs-wrapper .challenges__tabs {\n width: 100%;\n box-sizing: border-box;\n height: 42px;\n display: flex;\n align-items: center;\n padding: 4px;\n margin: 16px 0;\n overflow-x: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n border-radius: var(--emw--border-radius-large, 99px);\n border: 1px solid var(--emw--color-gray-100, rgba(255, 255, 255, 0.1));\n background: var(--emw--tabs-background, linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.1) 100%));\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-weight: var(--emw--font-weight-medium, 500);\n}\n.challenges__tabs-wrapper .challenges__tabs.challenges__tabs--promo {\n min-width: 89px;\n margin-right: 10px;\n padding: 0;\n overflow-x: hidden;\n width: initial;\n}\n.challenges__tabs-wrapper .challenges__tab {\n box-sizing: border-box;\n height: 34px;\n
|
|
5440
|
+
const casinoChallengesOverlayTabsCss = ".challenges__tabs-wrapper.Mobile {\n width: auto;\n margin: 0 16px;\n}\n.challenges__tabs-wrapper.Mobile .challenges__tabs {\n height: 34px;\n padding: 2px 5px;\n margin: 12px 0;\n font-size: var(--emw--font-size-small, 14px);\n}\n.challenges__tabs-wrapper.Mobile .challenges__tabs.challenges__tabs--promo {\n min-width: 84px;\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper.Mobile .challenges__tab {\n height: 28px;\n min-width: auto;\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo {\n min-width: auto;\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo.active {\n background: var(--emw--active-tab-background, rgba(9, 9, 9, 0.4));\n backdrop-filter: blur(11.4705886841px);\n}\n.challenges__tabs-wrapper.Mobile .challenges-tab--promo span {\n margin-right: 4px;\n}\n\n.challenges__tabs-wrapper {\n position: relative;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 24px;\n}\n.challenges__tabs-wrapper .challenges__tabs {\n width: 100%;\n box-sizing: border-box;\n height: 42px;\n display: flex;\n align-items: center;\n padding: 4px;\n margin: 16px 0;\n overflow-x: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n border-radius: var(--emw--border-radius-large, 99px);\n border: 1px solid var(--emw--color-gray-100, rgba(255, 255, 255, 0.1));\n background: var(--emw--tabs-background, linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.1) 100%));\n color: var(--emw--color-white, #fff);\n font-size: var(--emw--font-size-medium, 16px);\n font-weight: var(--emw--font-weight-medium, 500);\n}\n.challenges__tabs-wrapper .challenges__tabs.challenges__tabs--promo {\n min-width: 89px;\n margin-right: 10px;\n padding: 0;\n overflow-x: hidden;\n width: initial;\n}\n.challenges__tabs-wrapper .challenges__tab {\n box-sizing: border-box;\n height: 34px;\n flex: 1;\n min-width: 75px;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n cursor: pointer;\n text-align: center;\n border-radius: var(--emw--border-radius-large, 99px);\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper .challenges__tab.active {\n background: var(--emw--active-tab-background, rgba(9, 9, 9, 0.4));\n backdrop-filter: blur(6.882352829px);\n border: 1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));\n}\n.challenges__tabs-wrapper .challenges__tab.challenges__tab--promo {\n box-sizing: content-box;\n min-width: 65px;\n padding: 8px 12px;\n background: var(--emw--color-gray-200, rgba(255, 255, 255, 0.2));\n box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05), 0 4px 4px 0 rgba(0, 0, 0, 0.05), 0 10px 10px 0 rgba(0, 0, 0, 0.1);\n backdrop-filter: blur(10px);\n}\n.challenges__tabs-wrapper .challenges__tab.challenges__tab--promo.active {\n background: var(--emw--active-tab-background, rgba(9, 9, 9, 0.4));\n backdrop-filter: blur(11.4705886841px);\n border: 1px solid transparent;\n}\n.challenges__tabs-wrapper .challenges__tabs.challenges__tabs--promo.large {\n width: 100%;\n}\n\n@container challenges-drawer (width <= 500px) {\n .challenges__tabs-wrapper {\n margin: 0 20px;\n }\n .challenges__tabs-wrapper .challenges__tabs {\n font-size: var(--emw--font-size-small, 14px);\n }\n}\n@container challenges-drawer (width <= 400px) {\n .challenges__tabs-wrapper {\n margin: 0 15px;\n }\n}\n@container challenges-drawer (height <= 760px) {\n .challenges__tabs-wrapper .challenges__tabs {\n margin: 5px 0 10px;\n }\n}";
|
|
5432
5441
|
const CasinoChallengesOverlayTabsStyle0 = casinoChallengesOverlayTabsCss;
|
|
5433
5442
|
|
|
5434
5443
|
const CasinoChallengeOverlayTabs = class {
|
|
@@ -5443,24 +5452,35 @@ const CasinoChallengeOverlayTabs = class {
|
|
|
5443
5452
|
this.activeTabIndex = EChallengesTabs.Active;
|
|
5444
5453
|
this.activeTabHasNotification = false;
|
|
5445
5454
|
this.pendingTabHasNotification = false;
|
|
5455
|
+
this.enabledWidgetTabs = undefined;
|
|
5446
5456
|
}
|
|
5447
5457
|
get tabs() {
|
|
5448
5458
|
return [
|
|
5449
|
-
{ label: translate$2('promo', this.language) },
|
|
5450
|
-
{ label: translate$2('active', this.language) },
|
|
5451
|
-
{
|
|
5452
|
-
|
|
5453
|
-
|
|
5459
|
+
{ label: translate$2('promo', this.language), shown: this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) },
|
|
5460
|
+
{ label: translate$2('active', this.language), shown: true },
|
|
5461
|
+
{
|
|
5462
|
+
label: translate$2('pendingTab', this.language),
|
|
5463
|
+
shown: this.enabledWidgetTabs.includes(EFeatureFlags.PendingTab)
|
|
5464
|
+
},
|
|
5465
|
+
{
|
|
5466
|
+
label: translate$2('finishedTab', this.language),
|
|
5467
|
+
shown: this.enabledWidgetTabs.includes(EFeatureFlags.FinishedTab)
|
|
5468
|
+
},
|
|
5469
|
+
{ label: translate$2('codeTab', this.language), shown: this.enabledWidgetTabs.includes(EFeatureFlags.CodeTab) }
|
|
5454
5470
|
];
|
|
5455
5471
|
}
|
|
5456
5472
|
render() {
|
|
5457
5473
|
var _a;
|
|
5458
|
-
return (index.h(index.Host, { key: '
|
|
5474
|
+
return (index.h(index.Host, { key: 'd7406b70fa77065267703e6fe15a5a7476b13a47' }, index.h("div", { key: '0e92159292c795a7ecd972d8fa58af96ef4471fe', class: { 'challenges__tabs-wrapper': true, Mobile: this.isMobile } }, this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) && (index.h("div", { key: '238e070c09337d8f347d0e5b0d0e8c66f477e92d', class: {
|
|
5475
|
+
challenges__tabs: true,
|
|
5476
|
+
'challenges__tabs--promo': true,
|
|
5477
|
+
large: this.enabledWidgetTabs.length === 1
|
|
5478
|
+
} }, index.h("div", { key: '50cfb51db808d2fc5036be2fd06b70f8a0364aee', class: {
|
|
5459
5479
|
challenges__tab: true,
|
|
5460
5480
|
'challenges__tab--promo': true,
|
|
5461
5481
|
active: this.activeTabIndex === EChallengesTabs.Promo
|
|
5462
|
-
}, onClick: this.handleTabClick(EChallengesTabs.Promo) }, index.h("span", { key: '
|
|
5463
|
-
if (index$1 === EChallengesTabs.Promo)
|
|
5482
|
+
}, onClick: this.handleTabClick(EChallengesTabs.Promo) }, index.h("span", { key: 'a69d7dc4a1a798332bd9881cedb216ef82d279ab' }, (_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.label), index.h("img", { key: '877a1c0c86ed9a632a1af6831f08dc4d2a172856', src: crownSvg })))), index.h("div", { key: '96e99a2e385f48878f4f7b25625b241be7f2560a', class: "challenges__tabs" }, this.tabs.map((tab, index$1) => {
|
|
5483
|
+
if (index$1 === EChallengesTabs.Promo || !tab.shown)
|
|
5464
5484
|
return;
|
|
5465
5485
|
return (index.h("div", { class: {
|
|
5466
5486
|
challenges__tab: true,
|
|
@@ -5474,7 +5494,7 @@ CasinoChallengeOverlayTabs.style = CasinoChallengesOverlayTabsStyle0;
|
|
|
5474
5494
|
|
|
5475
5495
|
const swipeSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDIzIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMC40NzU5NTEgNS4xMzc3NUMxLjExMDU1IDUuMzk4MSAyLjEzOTQ1IDUuMzk4MSAyLjc3NDA1IDUuMTM3NzVMMTEuMzc1IDEuNjA5MTVMMTkuOTc2IDUuMTM3NzVDMjAuNjEwNiA1LjM5ODEgMjEuNjM5NCA1LjM5ODEgMjIuMjc0IDUuMTM3NzVDMjIuOTA4NyA0Ljg3NzQgMjIuOTA4NyA0LjQ1NTI5IDIyLjI3NCA0LjE5NDk0TDEyLjUyNCAwLjE5NDkzN0MxMS44ODk0IC0wLjA2NTQxMyAxMC44NjA2IC0wLjA2NTQxMyAxMC4yMjYgMC4xOTQ5MzdMMC40NzU5NTEgNC4xOTQ5NEMtMC4xNTg2NTEgNC40NTUyOSAtMC4xNTg2NTEgNC44Nzc0IDAuNDc1OTUxIDUuMTM3NzVaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjIiLz4KPC9zdmc+Cg==';
|
|
5476
5496
|
|
|
5477
|
-
const swipeUpCss = ":host{display:block;height:100%;overflow:hidden}.hero{display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform 120ms linear, opacity 120ms linear;will-change:transform, opacity;margin-bottom:16px}.swipe-btn{display:flex;justify-content:center;align-items:center;border:none;padding:14px 28px;cursor:grab;touch-action:none;user-select:none;width:39px;height:16px;margin:0 auto}.content{overflow:hidden;transform-origin:top center;transition:transform 120ms linear, height 120ms linear, border-radius 120ms linear;will-change:transform, height, border-radius;border-radius:20px 20px 0 0;border-top:1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));background:var(--emw--color-black-200, rgba(9, 9, 9, 0.8))}.swipe-down-handle{display:flex;justify-content:center;align-items:center;padding:10px 0;cursor:grab;touch-action:none;user-select:none}.swipe-btn{border:none;border-radius:999px;padding:14px 28px;font-size:var(--emw--font-size-large, 18px);background:transparent;color:black;cursor:grab;touch-action:none;user-select:none}";
|
|
5497
|
+
const swipeUpCss = ":host{display:block;height:100%;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}.hero{display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform 120ms linear, opacity 120ms linear;will-change:transform, opacity;margin-bottom:16px}.swipe-btn{display:flex;justify-content:center;align-items:center;border:none;padding:14px 28px;cursor:grab;touch-action:none;user-select:none;width:39px;height:16px;margin:0 auto}.content{overflow:hidden;transform-origin:top center;transition:transform 120ms linear, height 120ms linear, border-radius 120ms linear;will-change:transform, height, border-radius;border-radius:20px 20px 0 0;border-top:1px solid var(--emw--color-gray-300, rgba(255, 255, 255, 0.07));background:var(--emw--color-black-200, rgba(9, 9, 9, 0.8));scrollbar-width:none;-ms-overflow-style:none}.content::-webkit-scrollbar{display:none}.swipe-down-handle{display:flex;justify-content:center;align-items:center;padding:10px 0;cursor:grab;touch-action:none;user-select:none}.swipe-btn{border:none;border-radius:999px;padding:14px 28px;font-size:var(--emw--font-size-large, 18px);background:transparent;color:black;cursor:grab;touch-action:none;user-select:none}";
|
|
5478
5498
|
const SwipeUpStyle0 = swipeUpCss;
|
|
5479
5499
|
|
|
5480
5500
|
const SwipeUp = class {
|
|
@@ -5536,13 +5556,20 @@ const SwipeUp = class {
|
|
|
5536
5556
|
const heroOpacity = 1 - this.progress;
|
|
5537
5557
|
const contentTranslate = this.progress * -this.maxSwipe;
|
|
5538
5558
|
if (this.isMobile) {
|
|
5539
|
-
return (index.h("div", { style: {
|
|
5559
|
+
return (index.h("div", { style: {
|
|
5560
|
+
display: 'flex',
|
|
5561
|
+
height: '100%',
|
|
5562
|
+
'flex-direction': 'column',
|
|
5563
|
+
overflow: 'auto',
|
|
5564
|
+
'overscroll-behavior-y': 'none'
|
|
5565
|
+
} }, index.h("header", { class: "hero", style: {
|
|
5540
5566
|
transform: `translateY(${heroTranslate}px)`,
|
|
5541
5567
|
opacity: `${heroOpacity}`
|
|
5542
5568
|
} }, index.h("slot", { name: "header" })), index.h("main", { class: "content", style: {
|
|
5543
5569
|
transform: `translateY(${contentTranslate}px)`,
|
|
5544
5570
|
'margin-bottom': `-${this.maxSwipe}px`,
|
|
5545
|
-
|
|
5571
|
+
flex: '1',
|
|
5572
|
+
'min-height': '0',
|
|
5546
5573
|
overflow: this.isOpened ? 'auto' : 'hidden'
|
|
5547
5574
|
} }, this.isOpened ? (index.h("button", { class: "swipe-btn", onPointerDown: this.onPointerDown, style: { position: 'sticky', zIndex: '123', left: 'calc(50% - 40px)' } }, index.h("img", { src: swipeSvg, width: 23, height: 6, style: { rotate: '180deg' } }))) : (index.h("button", { class: "swipe-btn", onPointerDown: this.onPointerDown }, index.h("img", { src: swipeSvg, width: 23, height: 6 }))), index.h("slot", { name: "details" }))));
|
|
5548
5575
|
}
|
package/dist/cjs/{casino-challenges-overlay-c99a7b11.js → casino-challenges-overlay-cdce9803.js}
RENAMED
|
@@ -178,6 +178,13 @@ const resolveTranslationUrl = async (translationUrl) => {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
+
var EFeatureFlags;
|
|
182
|
+
(function (EFeatureFlags) {
|
|
183
|
+
EFeatureFlags["PromoTab"] = "promo";
|
|
184
|
+
EFeatureFlags["PendingTab"] = "pending";
|
|
185
|
+
EFeatureFlags["FinishedTab"] = "finished";
|
|
186
|
+
EFeatureFlags["CodeTab"] = "code";
|
|
187
|
+
})(EFeatureFlags || (EFeatureFlags = {}));
|
|
181
188
|
var EChallengeRewardType;
|
|
182
189
|
(function (EChallengeRewardType) {
|
|
183
190
|
EChallengeRewardType[EChallengeRewardType["FreeSpins"] = 0] = "FreeSpins";
|
|
@@ -277,7 +284,10 @@ const CasinoChallengesOverlay = class {
|
|
|
277
284
|
}, '*');
|
|
278
285
|
}
|
|
279
286
|
else {
|
|
280
|
-
window.postMessage({
|
|
287
|
+
window.postMessage({
|
|
288
|
+
type: 'GoToChallengesPage',
|
|
289
|
+
tab: this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) ? EChallengesTabs.Promo : EChallengesTabs.Active
|
|
290
|
+
}, '*');
|
|
281
291
|
}
|
|
282
292
|
};
|
|
283
293
|
this.closeDrawer = () => {
|
|
@@ -291,6 +301,7 @@ const CasinoChallengesOverlay = class {
|
|
|
291
301
|
this.language = 'en';
|
|
292
302
|
this.challenges = undefined;
|
|
293
303
|
this.extendedIngameWidget = false;
|
|
304
|
+
this.enabledWidgetTabs = undefined;
|
|
294
305
|
this.progress = 0;
|
|
295
306
|
this.isNew = false;
|
|
296
307
|
this.isGift = false;
|
|
@@ -607,11 +618,15 @@ const CasinoChallengesOverlay = class {
|
|
|
607
618
|
}
|
|
608
619
|
/**
|
|
609
620
|
* Called to initialize widget
|
|
610
|
-
* @param
|
|
621
|
+
* @param initValue
|
|
611
622
|
*/
|
|
612
|
-
async init(
|
|
613
|
-
|
|
614
|
-
this.
|
|
623
|
+
async init(initValue) {
|
|
624
|
+
var _a, _b, _c;
|
|
625
|
+
this.challenges = initValue.challenges;
|
|
626
|
+
this.extendedIngameWidget = (_b = (_a = initValue === null || initValue === void 0 ? void 0 : initValue.config) === null || _a === void 0 ? void 0 : _a.isExtendedIngameWidget) !== null && _b !== void 0 ? _b : false;
|
|
627
|
+
this.enabledWidgetTabs = Array.isArray((_c = initValue === null || initValue === void 0 ? void 0 : initValue.config) === null || _c === void 0 ? void 0 : _c.enabledWidgetTabs)
|
|
628
|
+
? initValue.config.enabledWidgetTabs
|
|
629
|
+
: [];
|
|
615
630
|
}
|
|
616
631
|
render() {
|
|
617
632
|
var _a, _b, _c;
|
|
@@ -621,15 +636,15 @@ const CasinoChallengesOverlay = class {
|
|
|
621
636
|
const activeProgressId = hasActiveProgress
|
|
622
637
|
? (_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id
|
|
623
638
|
: (_c = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(this.isActiveChallenge)) === null || _c === void 0 ? void 0 : _c.Id;
|
|
624
|
-
return (index.h("div", { key: '
|
|
639
|
+
return (index.h("div", { key: '6e9eec84248ee245d03ff919ec92a50d11158796', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '99b15759e5a9bbfca3fe533911908cb32969b699', class: "container", onClick: this.handleClick }, index.h("div", { key: '9705f034543b7b4f5f6e812f15d0c4b1c30f25c4', class: "circle", style: {
|
|
625
640
|
'--progress': `${currProgress}%`
|
|
626
|
-
} }, index.h("img", { key: '
|
|
641
|
+
} }, index.h("img", { key: 'a556b6e4d40c02087d3220b68c48b91fe99d35a1', class: "circle__img", src: bgIconSvg }), index.h("div", { key: '1642b6b5ad5285bd86304fdcb55035c409595e15', class: "circle__content" }, hasActiveProgress ? (index.h("span", null, Math.floor(currProgress), "%")) : (index.h("span", null, translate('join', this.language)))), dot && (index.h("div", { key: '5a545c4b561dc1b5c558ea63cd7d5d7555fa3114', class: "dot", style: {
|
|
627
642
|
left: `${dot.x}px`,
|
|
628
643
|
top: `${dot.y}px`
|
|
629
|
-
} }))), hasActiveProgress && (index.h("div", { key: '
|
|
644
|
+
} }))), hasActiveProgress && (index.h("div", { key: 'afec96fe7c99df08965b32aba42c49df84be4154', class: {
|
|
630
645
|
badge: true,
|
|
631
646
|
new: this.isNew
|
|
632
|
-
} }, this.renderBadgeContent()))), index.h("casino-challenges-overlay-modal", { key: '
|
|
647
|
+
} }, this.renderBadgeContent()))), index.h("casino-challenges-overlay-modal", { key: '928e43d118430c44c9bf41787b945fae4e9a7cfc', isOpen: this.showModal, handleClick: this.closeModal, reward: this.modalReward, addition: this.modalAddition, isFreeSpinsGranted: this.modalIsFreeSpinsGranted, bonusProgramGames: this.modalBonusProgramGames, errored: this.modalErrored, orderNumber: this.modalOrderNumber, translationUrl: this.translationUrl, language: this.language, mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl }), this.extendedIngameWidget && (index.h("casino-challenges-overlay-drawer", { key: '8c87702b9965bb2ac668d62e2b4fd874fd9955b7', mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, translationUrl: this.translationUrl, language: this.language, isOpen: this.showDrawer, handleClose: this.closeDrawer, challenges: this.challenges, initialProgressId: activeProgressId, enabledWidgetTabs: this.enabledWidgetTabs }))));
|
|
633
648
|
}
|
|
634
649
|
static get watchers() { return {
|
|
635
650
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["casino-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[16],"language":[513],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
|
|
22
|
+
return index.bootstrapLazy([["casino-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"enabledWidgetTabs":[32],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"enabledWidgetTabs":[16],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[16],"language":[513],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"],"enabledWidgetTabs":[16]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const casinoChallengesOverlay = require('./casino-challenges-overlay-
|
|
5
|
+
const casinoChallengesOverlay = require('./casino-challenges-overlay-cdce9803.js');
|
|
6
6
|
require('./index-6300a889.js');
|
|
7
7
|
|
|
8
8
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[16],"language":[513],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
|
|
11
|
+
return index.bootstrapLazy([["casino-challenge-details-events_23.cjs",[[1,"casino-challenges-overlay",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"challenges":[16],"extendedIngameWidget":[516,"extended-ingame-widget"],"enabledWidgetTabs":[32],"progress":[32],"isNew":[32],"isGift":[32],"isNotification":[32],"inProgressCount":[32],"activeChallenge":[32],"completedLevelId":[32],"prevUpdateEvent":[32],"showModal":[32],"modalErrored":[32],"modalReward":[32],"modalAddition":[32],"modalOrderNumber":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"challenges":["handleChallengesChange"]}],[1,"casino-challenges-overlay-drawer",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"handleClose":[16],"challenges":[16],"initialProgressId":[513,"initial-progress-id"],"enabledWidgetTabs":[16],"activeChallenge":[32],"activeProgressId":[32],"activeTabIndex":[32],"error":[32],"hasError":[32],"swipped":[32],"detailsSubPageInfo":[32],"progress":[32],"loading":[32],"notification":[32],"optOutModaIsOpen":[32],"isOptedOut":[32],"prevUpdateEvent":[32],"challengeGames":[32],"activeChallenges":[32],"pendingChallenges":[32],"promoChallenges":[32],"playerHistory":[32],"hasMorePlayerHistory":[32],"emptyState":[32]},[[0,"openOptOutModal","onOpenOptOut"],[0,"closeOptOutModal","onCloseOptOut"],[0,"confirmOptOut","onConfirmOptOut"],[0,"challengeExpired","onChallengeExpired"],[8,"message","handleEvent"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"isOpen":["handleIsOpenChange"],"activeChallenge":["onActiveChallengeChanged"]}],[1,"casino-challenges-overlay-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isOpen":[516,"is-open"],"reward":[513],"addition":[516],"handleClick":[16],"errored":[516],"orderNumber":[514,"order-number"],"isFreeSpinsGranted":[516,"is-free-spins-granted"],"bonusProgramGames":[16],"currentIndex":[32],"isMobile":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"bonusProgramGames":["handleBonusProgramGameChange"]}],[1,"casino-challenges-overlay-drawer-details",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"challenge":[16],"language":[513],"isMobile":[516,"is-mobile"],"isUnique":[516,"is-unique"],"swipped":[516],"progress":[514],"activeChallengesTabIndex":[513,"active-challenges-tab-index"],"detailsSubPageInfo":[16],"isOptedOut":[516,"is-opted-out"],"challengeGames":[16],"swipping":[32],"actionLoading":[32],"error":[32],"isChallengePaused":[32],"timeLeft":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"progress":["onSwipeChange"],"challenge":["onChallengeChange"]}],[0,"casino-challenge-opt-out-modal",{"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[1,"casino-challenges-overlay-drawer-history",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"loading":[516],"hasMore":[516,"has-more"],"historyItems":[16],"openItems":[32],"pageSize":[32],"pageNumber":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"historyItems":["handlePlayerHistoryChange"]}],[1,"casino-challenges-overlay-slider",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isMobile":[516,"is-mobile"],"challenges":[16],"initialProgressId":[1,"initial-progress-id"],"activeTabIndex":[1,"active-tab-index"],"currentIndex":[32],"slideWidth":[32],"slideHeight":[32],"isOneSlide":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"currentIndex":["onCurrentIndexChange"],"challenges":["onChallengesChange"],"initialProgressId":["onInitialProgressIdChange"]}],[0,"casino-challenge-overlay-background",{"empty":[4]}],[1,"casino-challenges-claim-code",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"domain":[513],"isMobile":[516,"is-mobile"],"loading":[32],"hasError":[32],"code":[32],"notificationMessage":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-empty-state",{"header":[1],"description":[1],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-loader",{"fullSize":[4,"full-size"],"isMobile":[516,"is-mobile"]}],[0,"casino-challenges-overlay-tabs",{"language":[513],"isMobile":[516,"is-mobile"],"activeTabIndex":[514,"active-tab-index"],"activeTabHasNotification":[516,"active-tab-has-notification"],"pendingTabHasNotification":[516,"pending-tab-has-notification"],"enabledWidgetTabs":[16]}],[4,"swipe-up",{"isMobile":[516,"is-mobile"],"isOneSlider":[516,"is-one-slider"],"progress":[32]},null,{"isOneSlider":["onIsOneSliderChange"],"progress":["onSwipeChange"]}],[0,"casino-challenge-details-levels",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isChallengePaused":[4,"is-challenge-paused"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-details-events",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"open":[4]}],[0,"casino-challenge-details-games",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"games":[16]}],[0,"casino-challenge-details-progress-bar",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"]}],[0,"casino-challenge-details-rules",{"challenge":[16],"language":[1],"isMobile":[4,"is-mobile"],"isOptedOut":[4,"is-opted-out"],"open":[4]}],[0,"casino-challenge-drawer-history-item",{"language":[513],"index":[514],"historyItem":[16],"itemRef":[16],"isOpen":[4,"is-open"],"isMobile":[4,"is-mobile"],"toggle":[16]}],[1,"casino-challenges-modal",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[516,"is-open"],"showWinAnimation":[516,"show-win-animation"],"showBackdrop":[516,"show-backdrop"],"showCloseButton":[516,"show-close-button"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[0,"casino-challenges-overlay-card",{"challenge":[16],"index":[2],"arrLength":[2,"arr-length"],"currentIndex":[2,"current-index"],"language":[1],"isOptedOut":[4,"is-opted-out"],"slideWidth":[2,"slide-width"],"slideHeight":[2,"slide-height"],"timeLeft":[32]}],[4,"casino-challenge-expandable-paragraph",{"maxHeight":[2,"max-height"],"active":[4],"expanded":[32],"needsTruncation":[32]}],[0,"casino-challenge-level-progress-bar",{"height":[1],"active":[4],"value":[2]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|