@everymatrix/casino-challenges-overlay 0.22.3 → 0.22.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{p as e,b as 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]},[[1,"touchmove","handleTouchMove"],[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],handleGameClick:[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],modalLevelsCount:[32],modalIsFreeSpinsGranted:[32],modalBonusProgramGames:[32],showDrawer:[32],init:[64]},[[1,"touchmove","handleTouchMove"],[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"],levelsCount:[514,"levels-count"],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],handleGameClick:[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-b293562e.js";import"./index-b4a452f5.js";
1
+ export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-721c0311.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-00bb9c6a.js');
6
+ const casinoChallengesOverlay = require('./casino-challenges-overlay-5fe2c768.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE$3 = 'en';
9
9
  const TRANSLATIONS$3 = {
@@ -5096,10 +5096,12 @@ const CasinoChallengesOverlayModal = class {
5096
5096
  this.isMobile = window.innerWidth <= 768 || window.innerHeight < 660;
5097
5097
  };
5098
5098
  this.renderLevelNumberLine = () => {
5099
- const level = translate('level', this.language);
5100
- if (!level)
5099
+ var _a, _b;
5100
+ if (this.levelsCount <= 1)
5101
5101
  return '';
5102
- return `${level} ${this.orderNumber} ${translate('completed', this.language)}`;
5102
+ const level = (_a = translate('level', this.language)) !== null && _a !== void 0 ? _a : translate('level');
5103
+ const completed = (_b = translate('completed', this.language)) !== null && _b !== void 0 ? _b : translate('completed');
5104
+ return `${level} ${this.orderNumber} ${completed}`;
5103
5105
  };
5104
5106
  this.mbSource = undefined;
5105
5107
  this.clientStyling = undefined;
@@ -5113,6 +5115,7 @@ const CasinoChallengesOverlayModal = class {
5113
5115
  this.errored = false;
5114
5116
  this.orderNumber = 0;
5115
5117
  this.isFreeSpinsGranted = false;
5118
+ this.levelsCount = 0;
5116
5119
  this.bonusProgramGames = [];
5117
5120
  this.currentIndex = 0;
5118
5121
  this.isMobile = false;
@@ -5175,17 +5178,17 @@ const CasinoChallengesOverlayModal = class {
5175
5178
  }
5176
5179
  render() {
5177
5180
  var _a;
5178
- return (index.h("div", { key: '6824bc8814d29ff948e0f2f359a252e627563e65', ref: (el) => (this.stylingContainer = el), class: {
5181
+ return (index.h("div", { key: '7f90dd075fc9046cca7d55704b19cc9d23655f63', ref: (el) => (this.stylingContainer = el), class: {
5179
5182
  ModalOverlay: true,
5180
5183
  Mobile: this.isMobile,
5181
5184
  Open: this.isOpen
5182
- } }, index.h("div", { key: 'fa8d34624a19d1e4b020e96b1ddda4431212d887', class: "ModalWinAnimation" }), index.h("div", { key: 'de3257f178b672deb881008f7b658d8b9f87fe3b', class: "ModalWrapper" }, index.h("div", { key: 'b4e419a0b7601ab033f55dbcabce45a5b55e4d28', class: "ModalContent GradientBorder" }, index.h("div", { key: '129b2e410322e368af824e742a071d9cf603baf8', class: "InnerContainer" }, !this.errored && (index.h("div", { key: 'd34e9b8b7fefd9a1764866608d57df749aeda92a', class: "ImageWrapper" }, index.h("img", { key: 'ad762e23947067630c2230d6bbbcaf4ed4a2a02b', src: giftboxSvg, alt: "gift-box-icon" }))), index.h("h1", { key: '17bf86ab541c1c9b9d8da9ae80dc03d7b97a9d17', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (index.h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (index.h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), index.h("div", null, translate('youWon', this.language)), index.h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (index.h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), index.h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (index.h("div", { key: '595839da89f0efad0974e9fdf4950924cec0f311', class: "ModalAddition" }, index.h("div", { key: '23e6272316625e2132cc2129e5e2b1edfa007045' }, translate('physicalReward', this.language)), index.h("span", { key: '8823d18428fdc98fb7072c655a97791c37606d80' }, translate('linkText', this.language)))), index.h("button", { key: 'e8433be561238c3a8debcb4729d14fd39f6aaa26', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("div", { key: '5dd51a8bd8adb11ace9b53e034ae8848f4b62c6b', class: "ModalSliderWrapper" }, index.h("div", { key: 'ce01d40f1b50b94b0c6feee89aae72abcca70318', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (index.h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, index.h("div", { class: "ModalSlideImageWrapper" }, index.h("img", { src: item.Thumbnail, alt: "" })), index.h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (index.h("div", { key: '65a943274a45300a78187859f0801639b824a5e9' }, index.h("button", { key: 'ba2dd62f4996c110a7742f8b08f3415324122450', class: {
5185
+ } }, index.h("div", { key: 'ec14dcd43407142937617a39db007fce65f67c52', class: "ModalWinAnimation" }), index.h("div", { key: '887b13b1c82bfdee17154d72023fe3541d208293', class: "ModalWrapper" }, index.h("div", { key: '5539d5631d8a9c2d8fef1ad64849b6c923317587', class: "ModalContent GradientBorder" }, index.h("div", { key: '459b3e70f5d00355a359d5183e1b14cf7c46709b', class: "InnerContainer" }, !this.errored && (index.h("div", { key: 'b30e892c29090cd265714e9802f01fe527c39fc3', class: "ImageWrapper" }, index.h("img", { key: 'c2414e02822fa41e82a9baaee3439540570525e1', src: giftboxSvg, alt: "gift-box-icon" }))), index.h("h1", { key: '612d76d1c1d6731a375c690af3580e114625e2a6', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (index.h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (index.h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), index.h("div", null, translate('youWon', this.language)), index.h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (index.h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), index.h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (index.h("div", { key: 'd0364241f481d77530e674745c76bfaa608177e9', class: "ModalAddition" }, index.h("div", { key: '00ec8519bf53ded42f2f2ba5f20c903b679f429c' }, translate('physicalReward', this.language)), index.h("span", { key: '939c62bfba3ec93e52a4c8d27c9c8b813bf42101' }, translate('linkText', this.language)))), index.h("button", { key: '442d877ac3d368b118f1cfc987c1f1dc003d5600', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("div", { key: 'a0e330774c4333c1f09d2e574644fa375fa301e4', class: "ModalSliderWrapper" }, index.h("div", { key: '96270d7f0c6bf9aa0c8376fa80fc3aea99632696', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (index.h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, index.h("div", { class: "ModalSlideImageWrapper" }, index.h("img", { src: item.Thumbnail, alt: "" })), index.h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (index.h("div", { key: 'be0e1b63310d39993cc6ae2e49ed6240583bd1e6' }, index.h("button", { key: '94f41cd5bf2064f94e3d593e07a8620cdb5bcc56', class: {
5183
5186
  prev: true,
5184
5187
  disabled: this.currentIndex === 0
5185
- }, onClick: this.prev }, index.h("svg", { key: 'fc642e0d6ec383ac7fc5e292f2a67decc4ca6934', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: '986491bc4163bbf5d2570a9faeaa59fdbea02e4f', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("button", { key: 'c5d591044f4eaa88f19439b3d5925ad975445121', class: {
5188
+ }, onClick: this.prev }, index.h("svg", { key: 'c5befb61fd9219ac50e4e4bac0f667893df8f332', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: 'bda4f14c6bbe6ae040c37b605b06faf4ed4cac25', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("button", { key: 'a05cdf0d9029f46a449b4587a94f3441d23e2198', class: {
5186
5189
  next: true,
5187
5190
  disabled: this.currentIndex === this.bonusProgramGames.length - 1
5188
- }, onClick: this.next }, index.h("svg", { key: 'bd08a79b7818a1ffa0d8719ec3fb476fd3239f41', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: '46c0e58123f6a78e5f6def9816941c64be2a167d', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: 'c597fcea75343d0a133f48e579786d632674404a', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (index.h("span", { class: {
5191
+ }, onClick: this.next }, index.h("svg", { key: '3d61797e54ab9b57e52a953272aa49d86a727de6', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, index.h("path", { key: 'c0b66efe13ed0535b7760cef09940b32ef834919', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '015daf3190bd0f08c9519e3efd36f82cc1a1ac45', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (index.h("span", { class: {
5189
5192
  ModalSliderDot: true,
5190
5193
  active: i === this.currentIndex
5191
5194
  }, onClick: () => {
@@ -264,6 +264,7 @@ const CasinoChallengesOverlay = class {
264
264
  this.closeModal = () => {
265
265
  this.showModal = false;
266
266
  this.modalOrderNumber = 1;
267
+ this.modalLevelsCount = 0;
267
268
  this.modalErrored = false;
268
269
  this.modalReward = '';
269
270
  this.modalAddition = false;
@@ -286,7 +287,7 @@ const CasinoChallengesOverlay = class {
286
287
  }, '*');
287
288
  }
288
289
  else {
289
- window.postMessage({
290
+ window.parent.postMessage({
290
291
  type: 'GoToChallengesPage',
291
292
  tab: this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) ? EChallengesTabs.Promo : EChallengesTabs.Active
292
293
  }, '*');
@@ -317,6 +318,7 @@ const CasinoChallengesOverlay = class {
317
318
  this.modalReward = '';
318
319
  this.modalAddition = false;
319
320
  this.modalOrderNumber = 1;
321
+ this.modalLevelsCount = 0;
320
322
  this.modalIsFreeSpinsGranted = false;
321
323
  this.modalBonusProgramGames = [];
322
324
  this.showDrawer = false;
@@ -417,6 +419,7 @@ const CasinoChallengesOverlay = class {
417
419
  }, 10000);
418
420
  this.modalErrored = false;
419
421
  const progress = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(({ Id }) => Id === (data === null || data === void 0 ? void 0 : data.ChallengeProgressId));
422
+ this.modalLevelsCount = (progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.length) || 0;
420
423
  const level = (_c = progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.find(({ LevelId }) => LevelId === (data === null || data === void 0 ? void 0 : data.LevelId))) !== null && _c !== void 0 ? _c : null;
421
424
  if (!level) {
422
425
  return this.closeModal();
@@ -644,15 +647,15 @@ const CasinoChallengesOverlay = class {
644
647
  if (!hasActiveProgress) {
645
648
  currProgress = 100;
646
649
  }
647
- return (index.h("div", { key: '2ad7b4850637fbbc574a877e9e758da67b95474b', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: 'f7c48bbdb4cb85cd4a41daa6910cf5780e8cfc08', class: "container", onClick: this.handleClick }, index.h("div", { key: '694ec636c287370eee6bfd09d104ca5081dc46b1', class: "circle", style: {
650
+ return (index.h("div", { key: '5095b235d5089a4870c215160f1924961011b48d', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '08ae3059ec6b0efcac1bfc6d55543301fa779f74', class: "container", onClick: this.handleClick }, index.h("div", { key: '1cacf660393bbc356906b54e765cade784c7b7ed', class: "circle", style: {
648
651
  '--progress': `${currProgress}%`
649
- } }, index.h("img", { key: '65653d01e0157d8e6829f43c2ff13460b3c50128', class: "circle__img", src: bgIconSvg }), index.h("div", { key: '0b8824bbd462ecc57486dbd124d105fe1b749a4f', class: "circle__content" }, hasActiveProgress ? (index.h("span", null, Math.floor(currProgress), "%")) : (index.h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinSvg})` } }))), dot && (index.h("div", { key: 'd077fe10cb26186e3f39ef4658770480efa3ccc1', class: "dot", style: {
652
+ } }, index.h("img", { key: 'ff57353e028d28cbd962787b903d6e1a524f40b0', class: "circle__img", src: bgIconSvg }), index.h("div", { key: 'eb10f9a37fafc101d4b4858262a07fbce4db6186', class: "circle__content" }, hasActiveProgress ? (index.h("span", null, Math.floor(currProgress), "%")) : (index.h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinSvg})` } }))), dot && (index.h("div", { key: '5a65397c8eba680f6e41372d66dde3292c4ad38f', class: "dot", style: {
650
653
  left: `${dot.x}px`,
651
654
  top: `${dot.y}px`
652
- } }))), hasActiveProgress && (index.h("div", { key: '1e71497ef2c683c02ed0db60b7dd1024cc427f52', class: {
655
+ } }))), hasActiveProgress && (index.h("div", { key: 'dc81658acbc33522503dad575f31f7be22c8b20a', class: {
653
656
  badge: true,
654
657
  new: this.isNew
655
- } }, this.renderBadgeContent()))), index.h("casino-challenges-overlay-modal", { key: '5723a624e5b4ee9a0cd5f10df632c73aed5ba70c', 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: 'c1547c8f07fe79831f066d82d871efa2d7f32ce8', 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 }))));
658
+ } }, this.renderBadgeContent()))), index.h("casino-challenges-overlay-modal", { key: '3cba3358fe3c9cef74c3c67bbb228aa24f29f4aa', isOpen: this.showModal, handleClick: this.closeModal, reward: this.modalReward, addition: this.modalAddition, isFreeSpinsGranted: this.modalIsFreeSpinsGranted, bonusProgramGames: this.modalBonusProgramGames, errored: this.modalErrored, orderNumber: this.modalOrderNumber, levelsCount: this.modalLevelsCount, translationUrl: this.translationUrl, language: this.language, mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl }), this.extendedIngameWidget && (index.h("casino-challenges-overlay-drawer", { key: '98f9cd5ec537c8332a15a83f3d56509d1e60dbb2', 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 }))));
656
659
  }
657
660
  static get watchers() { return {
658
661
  "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"],"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]},[[1,"touchmove","handleTouchMove"],[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],"handleGameClick":[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],"modalLevelsCount":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[1,"touchmove","handleTouchMove"],[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"],"levelsCount":[514,"levels-count"],"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],"handleGameClick":[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;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoChallengesOverlay = require('./casino-challenges-overlay-00bb9c6a.js');
5
+ const casinoChallengesOverlay = require('./casino-challenges-overlay-5fe2c768.js');
6
6
  require('./index-6300a889.js');
7
7
 
8
8
 
@@ -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"],"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]},[[1,"touchmove","handleTouchMove"],[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],"handleGameClick":[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],"modalLevelsCount":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[1,"touchmove","handleTouchMove"],[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"],"levelsCount":[514,"levels-count"],"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],"handleGameClick":[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;
@@ -24,6 +24,7 @@ export class CasinoChallengesOverlay {
24
24
  this.closeModal = () => {
25
25
  this.showModal = false;
26
26
  this.modalOrderNumber = 1;
27
+ this.modalLevelsCount = 0;
27
28
  this.modalErrored = false;
28
29
  this.modalReward = '';
29
30
  this.modalAddition = false;
@@ -46,7 +47,7 @@ export class CasinoChallengesOverlay {
46
47
  }, '*');
47
48
  }
48
49
  else {
49
- window.postMessage({
50
+ window.parent.postMessage({
50
51
  type: 'GoToChallengesPage',
51
52
  tab: this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) ? EChallengesTabs.Promo : EChallengesTabs.Active
52
53
  }, '*');
@@ -77,6 +78,7 @@ export class CasinoChallengesOverlay {
77
78
  this.modalReward = '';
78
79
  this.modalAddition = false;
79
80
  this.modalOrderNumber = 1;
81
+ this.modalLevelsCount = 0;
80
82
  this.modalIsFreeSpinsGranted = false;
81
83
  this.modalBonusProgramGames = [];
82
84
  this.showDrawer = false;
@@ -177,6 +179,7 @@ export class CasinoChallengesOverlay {
177
179
  }, 10000);
178
180
  this.modalErrored = false;
179
181
  const progress = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(({ Id }) => Id === (data === null || data === void 0 ? void 0 : data.ChallengeProgressId));
182
+ this.modalLevelsCount = (progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.length) || 0;
180
183
  const level = (_c = progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.find(({ LevelId }) => LevelId === (data === null || data === void 0 ? void 0 : data.LevelId))) !== null && _c !== void 0 ? _c : null;
181
184
  if (!level) {
182
185
  return this.closeModal();
@@ -404,15 +407,15 @@ export class CasinoChallengesOverlay {
404
407
  if (!hasActiveProgress) {
405
408
  currProgress = 100;
406
409
  }
407
- return (h("div", { key: '2ad7b4850637fbbc574a877e9e758da67b95474b', ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'f7c48bbdb4cb85cd4a41daa6910cf5780e8cfc08', class: "container", onClick: this.handleClick }, h("div", { key: '694ec636c287370eee6bfd09d104ca5081dc46b1', class: "circle", style: {
410
+ return (h("div", { key: '5095b235d5089a4870c215160f1924961011b48d', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '08ae3059ec6b0efcac1bfc6d55543301fa779f74', class: "container", onClick: this.handleClick }, h("div", { key: '1cacf660393bbc356906b54e765cade784c7b7ed', class: "circle", style: {
408
411
  '--progress': `${currProgress}%`
409
- } }, h("img", { key: '65653d01e0157d8e6829f43c2ff13460b3c50128', class: "circle__img", src: bgIcon }), h("div", { key: '0b8824bbd462ecc57486dbd124d105fe1b749a4f', class: "circle__content" }, hasActiveProgress ? (h("span", null, Math.floor(currProgress), "%")) : (h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinIcon})` } }))), dot && (h("div", { key: 'd077fe10cb26186e3f39ef4658770480efa3ccc1', class: "dot", style: {
412
+ } }, h("img", { key: 'ff57353e028d28cbd962787b903d6e1a524f40b0', class: "circle__img", src: bgIcon }), h("div", { key: 'eb10f9a37fafc101d4b4858262a07fbce4db6186', class: "circle__content" }, hasActiveProgress ? (h("span", null, Math.floor(currProgress), "%")) : (h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinIcon})` } }))), dot && (h("div", { key: '5a65397c8eba680f6e41372d66dde3292c4ad38f', class: "dot", style: {
410
413
  left: `${dot.x}px`,
411
414
  top: `${dot.y}px`
412
- } }))), hasActiveProgress && (h("div", { key: '1e71497ef2c683c02ed0db60b7dd1024cc427f52', class: {
415
+ } }))), hasActiveProgress && (h("div", { key: 'dc81658acbc33522503dad575f31f7be22c8b20a', class: {
413
416
  badge: true,
414
417
  new: this.isNew
415
- } }, this.renderBadgeContent()))), h("casino-challenges-overlay-modal", { key: '5723a624e5b4ee9a0cd5f10df632c73aed5ba70c', 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 && (h("casino-challenges-overlay-drawer", { key: 'c1547c8f07fe79831f066d82d871efa2d7f32ce8', 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 }))));
418
+ } }, this.renderBadgeContent()))), h("casino-challenges-overlay-modal", { key: '3cba3358fe3c9cef74c3c67bbb228aa24f29f4aa', isOpen: this.showModal, handleClick: this.closeModal, reward: this.modalReward, addition: this.modalAddition, isFreeSpinsGranted: this.modalIsFreeSpinsGranted, bonusProgramGames: this.modalBonusProgramGames, errored: this.modalErrored, orderNumber: this.modalOrderNumber, levelsCount: this.modalLevelsCount, translationUrl: this.translationUrl, language: this.language, mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl }), this.extendedIngameWidget && (h("casino-challenges-overlay-drawer", { key: '98f9cd5ec537c8332a15a83f3d56509d1e60dbb2', 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 }))));
416
419
  }
417
420
  static get is() { return "casino-challenges-overlay"; }
418
421
  static get encapsulation() { return "shadow"; }
@@ -572,6 +575,7 @@ export class CasinoChallengesOverlay {
572
575
  "modalReward": {},
573
576
  "modalAddition": {},
574
577
  "modalOrderNumber": {},
578
+ "modalLevelsCount": {},
575
579
  "modalIsFreeSpinsGranted": {},
576
580
  "modalBonusProgramGames": {},
577
581
  "showDrawer": {}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-b4a452f5.js';
2
- import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling } from './casino-challenges-overlay-b293562e.js';
3
- export { C as casino_challenges_overlay } from './casino-challenges-overlay-b293562e.js';
2
+ import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling } from './casino-challenges-overlay-721c0311.js';
3
+ export { C as casino_challenges_overlay } from './casino-challenges-overlay-721c0311.js';
4
4
 
5
5
  const DEFAULT_LANGUAGE$3 = 'en';
6
6
  const TRANSLATIONS$3 = {
@@ -5093,10 +5093,12 @@ const CasinoChallengesOverlayModal = class {
5093
5093
  this.isMobile = window.innerWidth <= 768 || window.innerHeight < 660;
5094
5094
  };
5095
5095
  this.renderLevelNumberLine = () => {
5096
- const level = translate('level', this.language);
5097
- if (!level)
5096
+ var _a, _b;
5097
+ if (this.levelsCount <= 1)
5098
5098
  return '';
5099
- return `${level} ${this.orderNumber} ${translate('completed', this.language)}`;
5099
+ const level = (_a = translate('level', this.language)) !== null && _a !== void 0 ? _a : translate('level');
5100
+ const completed = (_b = translate('completed', this.language)) !== null && _b !== void 0 ? _b : translate('completed');
5101
+ return `${level} ${this.orderNumber} ${completed}`;
5100
5102
  };
5101
5103
  this.mbSource = undefined;
5102
5104
  this.clientStyling = undefined;
@@ -5110,6 +5112,7 @@ const CasinoChallengesOverlayModal = class {
5110
5112
  this.errored = false;
5111
5113
  this.orderNumber = 0;
5112
5114
  this.isFreeSpinsGranted = false;
5115
+ this.levelsCount = 0;
5113
5116
  this.bonusProgramGames = [];
5114
5117
  this.currentIndex = 0;
5115
5118
  this.isMobile = false;
@@ -5172,17 +5175,17 @@ const CasinoChallengesOverlayModal = class {
5172
5175
  }
5173
5176
  render() {
5174
5177
  var _a;
5175
- return (h("div", { key: '6824bc8814d29ff948e0f2f359a252e627563e65', ref: (el) => (this.stylingContainer = el), class: {
5178
+ return (h("div", { key: '7f90dd075fc9046cca7d55704b19cc9d23655f63', ref: (el) => (this.stylingContainer = el), class: {
5176
5179
  ModalOverlay: true,
5177
5180
  Mobile: this.isMobile,
5178
5181
  Open: this.isOpen
5179
- } }, h("div", { key: 'fa8d34624a19d1e4b020e96b1ddda4431212d887', class: "ModalWinAnimation" }), h("div", { key: 'de3257f178b672deb881008f7b658d8b9f87fe3b', class: "ModalWrapper" }, h("div", { key: 'b4e419a0b7601ab033f55dbcabce45a5b55e4d28', class: "ModalContent GradientBorder" }, h("div", { key: '129b2e410322e368af824e742a071d9cf603baf8', class: "InnerContainer" }, !this.errored && (h("div", { key: 'd34e9b8b7fefd9a1764866608d57df749aeda92a', class: "ImageWrapper" }, h("img", { key: 'ad762e23947067630c2230d6bbbcaf4ed4a2a02b', src: giftboxSvg, alt: "gift-box-icon" }))), h("h1", { key: '17bf86ab541c1c9b9d8da9ae80dc03d7b97a9d17', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), h("div", null, translate('youWon', this.language)), h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (h("div", { key: '595839da89f0efad0974e9fdf4950924cec0f311', class: "ModalAddition" }, h("div", { key: '23e6272316625e2132cc2129e5e2b1edfa007045' }, translate('physicalReward', this.language)), h("span", { key: '8823d18428fdc98fb7072c655a97791c37606d80' }, translate('linkText', this.language)))), h("button", { key: 'e8433be561238c3a8debcb4729d14fd39f6aaa26', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '5dd51a8bd8adb11ace9b53e034ae8848f4b62c6b', class: "ModalSliderWrapper" }, h("div", { key: 'ce01d40f1b50b94b0c6feee89aae72abcca70318', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, h("div", { class: "ModalSlideImageWrapper" }, h("img", { src: item.Thumbnail, alt: "" })), h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (h("div", { key: '65a943274a45300a78187859f0801639b824a5e9' }, h("button", { key: 'ba2dd62f4996c110a7742f8b08f3415324122450', class: {
5182
+ } }, h("div", { key: 'ec14dcd43407142937617a39db007fce65f67c52', class: "ModalWinAnimation" }), h("div", { key: '887b13b1c82bfdee17154d72023fe3541d208293', class: "ModalWrapper" }, h("div", { key: '5539d5631d8a9c2d8fef1ad64849b6c923317587', class: "ModalContent GradientBorder" }, h("div", { key: '459b3e70f5d00355a359d5183e1b14cf7c46709b', class: "InnerContainer" }, !this.errored && (h("div", { key: 'b30e892c29090cd265714e9802f01fe527c39fc3', class: "ImageWrapper" }, h("img", { key: 'c2414e02822fa41e82a9baaee3439540570525e1', src: giftboxSvg, alt: "gift-box-icon" }))), h("h1", { key: '612d76d1c1d6731a375c690af3580e114625e2a6', class: "ModalHeader" }, translate(this.errored ? 'errorTitle' : 'congrats', this.language)), this.errored ? (h("div", { class: "ModalErrorMessage" }, translate('errorSubTitle', this.language))) : (h("div", { class: "ModalSubtitle" }, this.renderLevelNumberLine(), h("div", null, translate('youWon', this.language)), h("div", { class: "ModalReward" }, this.reward), this.isFreeSpinsGranted && (h("div", { class: "ModalAddition" }, translate('playNowOrLater', this.language))), h("div", { class: "ModalAddition" }, translate('rewardInLobby', this.language)))), this.addition && (h("div", { key: 'd0364241f481d77530e674745c76bfaa608177e9', class: "ModalAddition" }, h("div", { key: '00ec8519bf53ded42f2f2ba5f20c903b679f429c' }, translate('physicalReward', this.language)), h("span", { key: '939c62bfba3ec93e52a4c8d27c9c8b813bf42101' }, translate('linkText', this.language)))), h("button", { key: '442d877ac3d368b118f1cfc987c1f1dc003d5600', class: "ModalAction", onClick: this.handleClick }, this.errored ? translate('errorBtnText', this.language) : translate('continue', this.language)), this.isFreeSpinsGranted && ((_a = this.bonusProgramGames) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: 'a0e330774c4333c1f09d2e574644fa375fa301e4', class: "ModalSliderWrapper" }, h("div", { key: '96270d7f0c6bf9aa0c8376fa80fc3aea99632696', class: "ModalSlider", ref: (el) => (this.sliderContainer = el), onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerLeave: this.onPointerUp }, this.bonusProgramGames.map((item) => (h("div", { class: "ModalSlide", key: item.GameSlug, "data-slug": item.GameSlug }, h("div", { class: "ModalSlideImageWrapper" }, h("img", { src: item.Thumbnail, alt: "" })), h("div", { class: "ModalSlideSpins" }, translate('useSpinsNow', this.language), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L5.13807 4.19526C5.39842 4.45561 5.39842 4.87772 5.13807 5.13807L1.13807 9.13807C0.877722 9.39842 0.455612 9.39842 0.195262 9.13807C-0.0650874 8.87772 -0.0650874 8.45561 0.195262 8.19526L3.72386 4.66667L0.195262 1.13807C-0.0650874 0.877722 -0.0650874 0.455612 0.195262 0.195262Z", fill: "white" }))))))), this.bonusProgramGames.length > 1 && (h("div", { key: 'be0e1b63310d39993cc6ae2e49ed6240583bd1e6' }, h("button", { key: '94f41cd5bf2064f94e3d593e07a8620cdb5bcc56', class: {
5180
5183
  prev: true,
5181
5184
  disabled: this.currentIndex === 0
5182
- }, onClick: this.prev }, h("svg", { key: 'fc642e0d6ec383ac7fc5e292f2a67decc4ca6934', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { key: '986491bc4163bbf5d2570a9faeaa59fdbea02e4f', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("button", { key: 'c5d591044f4eaa88f19439b3d5925ad975445121', class: {
5185
+ }, onClick: this.prev }, h("svg", { key: 'c5befb61fd9219ac50e4e4bac0f667893df8f332', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { key: 'bda4f14c6bbe6ae040c37b605b06faf4ed4cac25', d: "M5 1L1 5L5 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("button", { key: 'a05cdf0d9029f46a449b4587a94f3441d23e2198', class: {
5183
5186
  next: true,
5184
5187
  disabled: this.currentIndex === this.bonusProgramGames.length - 1
5185
- }, onClick: this.next }, h("svg", { key: 'bd08a79b7818a1ffa0d8719ec3fb476fd3239f41', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { key: '46c0e58123f6a78e5f6def9816941c64be2a167d', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: 'c597fcea75343d0a133f48e579786d632674404a', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (h("span", { class: {
5188
+ }, onClick: this.next }, h("svg", { key: '3d61797e54ab9b57e52a953272aa49d86a727de6', xmlns: "http://www.w3.org/2000/svg", width: "6", height: "10", viewBox: "0 0 6 10", fill: "none" }, h("path", { key: 'c0b66efe13ed0535b7760cef09940b32ef834919', d: "M1 1L5 5L1 9", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '015daf3190bd0f08c9519e3efd36f82cc1a1ac45', class: "ModalSliderDots" }, this.bonusProgramGames.map((_, i) => (h("span", { class: {
5186
5189
  ModalSliderDot: true,
5187
5190
  active: i === this.currentIndex
5188
5191
  }, onClick: () => {
@@ -262,6 +262,7 @@ const CasinoChallengesOverlay = class {
262
262
  this.closeModal = () => {
263
263
  this.showModal = false;
264
264
  this.modalOrderNumber = 1;
265
+ this.modalLevelsCount = 0;
265
266
  this.modalErrored = false;
266
267
  this.modalReward = '';
267
268
  this.modalAddition = false;
@@ -284,7 +285,7 @@ const CasinoChallengesOverlay = class {
284
285
  }, '*');
285
286
  }
286
287
  else {
287
- window.postMessage({
288
+ window.parent.postMessage({
288
289
  type: 'GoToChallengesPage',
289
290
  tab: this.enabledWidgetTabs.includes(EFeatureFlags.PromoTab) ? EChallengesTabs.Promo : EChallengesTabs.Active
290
291
  }, '*');
@@ -315,6 +316,7 @@ const CasinoChallengesOverlay = class {
315
316
  this.modalReward = '';
316
317
  this.modalAddition = false;
317
318
  this.modalOrderNumber = 1;
319
+ this.modalLevelsCount = 0;
318
320
  this.modalIsFreeSpinsGranted = false;
319
321
  this.modalBonusProgramGames = [];
320
322
  this.showDrawer = false;
@@ -415,6 +417,7 @@ const CasinoChallengesOverlay = class {
415
417
  }, 10000);
416
418
  this.modalErrored = false;
417
419
  const progress = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(({ Id }) => Id === (data === null || data === void 0 ? void 0 : data.ChallengeProgressId));
420
+ this.modalLevelsCount = (progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.length) || 0;
418
421
  const level = (_c = progress === null || progress === void 0 ? void 0 : progress.LevelProgresses.find(({ LevelId }) => LevelId === (data === null || data === void 0 ? void 0 : data.LevelId))) !== null && _c !== void 0 ? _c : null;
419
422
  if (!level) {
420
423
  return this.closeModal();
@@ -642,15 +645,15 @@ const CasinoChallengesOverlay = class {
642
645
  if (!hasActiveProgress) {
643
646
  currProgress = 100;
644
647
  }
645
- return (h("div", { key: '2ad7b4850637fbbc574a877e9e758da67b95474b', ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'f7c48bbdb4cb85cd4a41daa6910cf5780e8cfc08', class: "container", onClick: this.handleClick }, h("div", { key: '694ec636c287370eee6bfd09d104ca5081dc46b1', class: "circle", style: {
648
+ return (h("div", { key: '5095b235d5089a4870c215160f1924961011b48d', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '08ae3059ec6b0efcac1bfc6d55543301fa779f74', class: "container", onClick: this.handleClick }, h("div", { key: '1cacf660393bbc356906b54e765cade784c7b7ed', class: "circle", style: {
646
649
  '--progress': `${currProgress}%`
647
- } }, h("img", { key: '65653d01e0157d8e6829f43c2ff13460b3c50128', class: "circle__img", src: bgIconSvg }), h("div", { key: '0b8824bbd462ecc57486dbd124d105fe1b749a4f', class: "circle__content" }, hasActiveProgress ? (h("span", null, Math.floor(currProgress), "%")) : (h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinSvg})` } }))), dot && (h("div", { key: 'd077fe10cb26186e3f39ef4658770480efa3ccc1', class: "dot", style: {
650
+ } }, h("img", { key: 'ff57353e028d28cbd962787b903d6e1a524f40b0', class: "circle__img", src: bgIconSvg }), h("div", { key: 'eb10f9a37fafc101d4b4858262a07fbce4db6186', class: "circle__content" }, hasActiveProgress ? (h("span", null, Math.floor(currProgress), "%")) : (h("span", { class: "join-icon", style: { '--join-icon-mask': `url(${joinSvg})` } }))), dot && (h("div", { key: '5a65397c8eba680f6e41372d66dde3292c4ad38f', class: "dot", style: {
648
651
  left: `${dot.x}px`,
649
652
  top: `${dot.y}px`
650
- } }))), hasActiveProgress && (h("div", { key: '1e71497ef2c683c02ed0db60b7dd1024cc427f52', class: {
653
+ } }))), hasActiveProgress && (h("div", { key: 'dc81658acbc33522503dad575f31f7be22c8b20a', class: {
651
654
  badge: true,
652
655
  new: this.isNew
653
- } }, this.renderBadgeContent()))), h("casino-challenges-overlay-modal", { key: '5723a624e5b4ee9a0cd5f10df632c73aed5ba70c', 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 && (h("casino-challenges-overlay-drawer", { key: 'c1547c8f07fe79831f066d82d871efa2d7f32ce8', 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 }))));
656
+ } }, this.renderBadgeContent()))), h("casino-challenges-overlay-modal", { key: '3cba3358fe3c9cef74c3c67bbb228aa24f29f4aa', isOpen: this.showModal, handleClick: this.closeModal, reward: this.modalReward, addition: this.modalAddition, isFreeSpinsGranted: this.modalIsFreeSpinsGranted, bonusProgramGames: this.modalBonusProgramGames, errored: this.modalErrored, orderNumber: this.modalOrderNumber, levelsCount: this.modalLevelsCount, translationUrl: this.translationUrl, language: this.language, mbSource: this.mbSource, clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl }), this.extendedIngameWidget && (h("casino-challenges-overlay-drawer", { key: '98f9cd5ec537c8332a15a83f3d56509d1e60dbb2', 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 }))));
654
657
  }
655
658
  static get watchers() { return {
656
659
  "clientStyling": ["handleClientStylingChange"],
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["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]},[[1,"touchmove","handleTouchMove"],[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],"handleGameClick":[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);
19
+ return bootstrapLazy([["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],"modalLevelsCount":[32],"modalIsFreeSpinsGranted":[32],"modalBonusProgramGames":[32],"showDrawer":[32],"init":[64]},[[1,"touchmove","handleTouchMove"],[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"],"levelsCount":[514,"levels-count"],"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],"handleGameClick":[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);
20
20
  });
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { C as CasinoChallengesOverlay } from './casino-challenges-overlay-b293562e.js';
1
+ export { C as CasinoChallengesOverlay } from './casino-challenges-overlay-721c0311.js';
2
2
  import './index-b4a452f5.js';