@everymatrix/casino-challenges-overlay 0.22.30 → 0.22.31

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
- export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-8a765607.js";import"./index-58f943ea.js";
1
+ export{C as CasinoChallengesOverlay}from"./casino-challenges-overlay-97159a90.js";import"./index-58f943ea.js";
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-98384ab0.js');
6
- const casinoChallengesOverlay = require('./casino-challenges-overlay-c00e3b15.js');
6
+ const casinoChallengesOverlay = require('./casino-challenges-overlay-ae870ca3.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE$3 = 'en';
9
9
  const TRANSLATIONS$3 = {
@@ -1053,10 +1053,13 @@ const CasinoChallengesOverlay = class {
1053
1053
  return this.completedLevelId ? 100 : this.progress;
1054
1054
  }
1055
1055
  syncDisplayedProgress() {
1056
+ var _a, _b;
1056
1057
  const target = this.getTargetProgress();
1057
1058
  const hasActiveProgress = this.inProgressCount > 0;
1058
1059
  const activeProgressToggled = hasActiveProgress !== this.hadActiveProgress;
1059
1060
  this.hadActiveProgress = hasActiveProgress;
1061
+ const activeChallengeChanged = ((_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id) !== this.lastActiveChallengeId;
1062
+ this.lastActiveChallengeId = (_b = this.activeChallenge) === null || _b === void 0 ? void 0 : _b.Id;
1060
1063
  const previousTarget = this.progressTarget;
1061
1064
  this.progressTarget = target;
1062
1065
  if (this.hasPendingLevelComplete) {
@@ -1070,9 +1073,9 @@ const CasinoChallengesOverlay = class {
1070
1073
  return;
1071
1074
  if (target === previousTarget && !activeProgressToggled)
1072
1075
  return;
1073
- // Only increases are animated: decreases (level reset, active challenge switch) and the
1074
- // full ring shown without active progress are applied instantly
1075
- if (activeProgressToggled || prefersReducedMotion() || target <= this.displayedProgress) {
1076
+ // Only increases of the same challenge are animated: decreases (level reset), a switch of the active
1077
+ // challenge (pause, resume, a new one) and the full ring shown without active progress are applied instantly
1078
+ if (activeProgressToggled || activeChallengeChanged || prefersReducedMotion() || target <= this.displayedProgress) {
1076
1079
  this.progressAnimation.jumpToProgress(target);
1077
1080
  return;
1078
1081
  }
@@ -1175,17 +1178,17 @@ const CasinoChallengesOverlay = class {
1175
1178
  const activeProgressId = hasActiveProgress
1176
1179
  ? (_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id
1177
1180
  : (_c = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(this.isActiveChallenge)) === null || _c === void 0 ? void 0 : _c.Id;
1178
- return (index.h("div", { key: '174f49a7b806a895a532b0e1e53bf359f9abc3d4', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '4237b797ad185055025f41d899920f40b53eabcc', class: "container", onClick: this.handleClick }, index.h("div", { key: 'e57760df4c6f158465683ebfa7e45ab2afd11da0', class: "circle", ref: (el) => (this.circleElement = el), style: {
1181
+ return (index.h("div", { key: 'cabb94d3d10af63a5b4685c47b7a343ea86ec373', ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '4f5803bb89086be665d8bdf68556c289ca05fd67', class: "container", onClick: this.handleClick }, index.h("div", { key: 'f31663ebc569b2f3f4c0363e29334436a2106c00', class: "circle", ref: (el) => (this.circleElement = el), style: {
1179
1182
  '--progress': `${progressPoint.angle}deg`
1180
- } }, index.h("img", { key: '5423655e18a029c1493607d6d67211ffba795c59', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIconSvg,
1183
+ } }, index.h("img", { key: 'c18775ea5fb483de231d66d3652c77af72f25748', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIconSvg,
1181
1184
  // Turns the wobble and spin around the coin drawn in the image, not the image centre
1182
- style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), index.h("div", { key: '0b65ba49f12e2cfb5196c7b24814f71c447701db', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (index.h("div", { key: 'd08d38321d23c55aaba7f6a4f3990fc3fc318e50', class: "dot", style: {
1185
+ style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), index.h("div", { key: 'aa42b6f5dc8c8eaa50d4d78c63c17da61eb77167', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (index.h("div", { key: '8db43f72a6b00a65c662328c571d614877339539', class: "dot", style: {
1183
1186
  left: `${progressPoint.x}px`,
1184
1187
  top: `${progressPoint.y}px`
1185
- } }))), hasActiveProgress && (index.h("div", { key: '7ca2960301bfb5f59ce3afac2a260cf26e48ccc3', class: {
1188
+ } }))), hasActiveProgress && (index.h("div", { key: '4d2bc478f0b8861be3e19c6a33311356ea657b1d', class: {
1186
1189
  badge: true,
1187
1190
  new: this.isNew
1188
- } }, this.renderBadgeContent())), index.h("div", { key: 'f96408dcee5e1abea640a6c67c65a9dbb899f638', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), index.h("casino-challenges-overlay-modal", { key: 'a45405d907326da9b1b3ccd55085ed287ddfca4e', 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: '43c2c0f90c5bf3b4c78aa2b66ce2e100eec05ead', 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 }))));
1191
+ } }, this.renderBadgeContent())), index.h("div", { key: 'e10faffe11a5c7d5a3afa6e214000688f4b3b1e1', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), index.h("casino-challenges-overlay-modal", { key: '760778e71341930b1a259a726adec2b604596523', 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: '920e75a4a353ebdbea314353e310fca5b4269f92', 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 }))));
1189
1192
  }
1190
1193
  static get watchers() { return {
1191
1194
  "clientStyling": ["handleClientStylingChange"],
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoChallengesOverlay = require('./casino-challenges-overlay-c00e3b15.js');
5
+ const casinoChallengesOverlay = require('./casino-challenges-overlay-ae870ca3.js');
6
6
  require('./index-98384ab0.js');
7
7
 
8
8
 
@@ -369,10 +369,13 @@ export class CasinoChallengesOverlay {
369
369
  return this.completedLevelId ? 100 : this.progress;
370
370
  }
371
371
  syncDisplayedProgress() {
372
+ var _a, _b;
372
373
  const target = this.getTargetProgress();
373
374
  const hasActiveProgress = this.inProgressCount > 0;
374
375
  const activeProgressToggled = hasActiveProgress !== this.hadActiveProgress;
375
376
  this.hadActiveProgress = hasActiveProgress;
377
+ const activeChallengeChanged = ((_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id) !== this.lastActiveChallengeId;
378
+ this.lastActiveChallengeId = (_b = this.activeChallenge) === null || _b === void 0 ? void 0 : _b.Id;
376
379
  const previousTarget = this.progressTarget;
377
380
  this.progressTarget = target;
378
381
  if (this.hasPendingLevelComplete) {
@@ -386,9 +389,9 @@ export class CasinoChallengesOverlay {
386
389
  return;
387
390
  if (target === previousTarget && !activeProgressToggled)
388
391
  return;
389
- // Only increases are animated: decreases (level reset, active challenge switch) and the
390
- // full ring shown without active progress are applied instantly
391
- if (activeProgressToggled || prefersReducedMotion() || target <= this.displayedProgress) {
392
+ // Only increases of the same challenge are animated: decreases (level reset), a switch of the active
393
+ // challenge (pause, resume, a new one) and the full ring shown without active progress are applied instantly
394
+ if (activeProgressToggled || activeChallengeChanged || prefersReducedMotion() || target <= this.displayedProgress) {
392
395
  this.progressAnimation.jumpToProgress(target);
393
396
  return;
394
397
  }
@@ -491,17 +494,17 @@ export class CasinoChallengesOverlay {
491
494
  const activeProgressId = hasActiveProgress
492
495
  ? (_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id
493
496
  : (_c = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(this.isActiveChallenge)) === null || _c === void 0 ? void 0 : _c.Id;
494
- return (h("div", { key: '174f49a7b806a895a532b0e1e53bf359f9abc3d4', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4237b797ad185055025f41d899920f40b53eabcc', class: "container", onClick: this.handleClick }, h("div", { key: 'e57760df4c6f158465683ebfa7e45ab2afd11da0', class: "circle", ref: (el) => (this.circleElement = el), style: {
497
+ return (h("div", { key: 'cabb94d3d10af63a5b4685c47b7a343ea86ec373', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4f5803bb89086be665d8bdf68556c289ca05fd67', class: "container", onClick: this.handleClick }, h("div", { key: 'f31663ebc569b2f3f4c0363e29334436a2106c00', class: "circle", ref: (el) => (this.circleElement = el), style: {
495
498
  '--progress': `${progressPoint.angle}deg`
496
- } }, h("img", { key: '5423655e18a029c1493607d6d67211ffba795c59', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIcon,
499
+ } }, h("img", { key: 'c18775ea5fb483de231d66d3652c77af72f25748', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIcon,
497
500
  // Turns the wobble and spin around the coin drawn in the image, not the image centre
498
- style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), h("div", { key: '0b65ba49f12e2cfb5196c7b24814f71c447701db', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (h("div", { key: 'd08d38321d23c55aaba7f6a4f3990fc3fc318e50', class: "dot", style: {
501
+ style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), h("div", { key: 'aa42b6f5dc8c8eaa50d4d78c63c17da61eb77167', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (h("div", { key: '8db43f72a6b00a65c662328c571d614877339539', class: "dot", style: {
499
502
  left: `${progressPoint.x}px`,
500
503
  top: `${progressPoint.y}px`
501
- } }))), hasActiveProgress && (h("div", { key: '7ca2960301bfb5f59ce3afac2a260cf26e48ccc3', class: {
504
+ } }))), hasActiveProgress && (h("div", { key: '4d2bc478f0b8861be3e19c6a33311356ea657b1d', class: {
502
505
  badge: true,
503
506
  new: this.isNew
504
- } }, this.renderBadgeContent())), h("div", { key: 'f96408dcee5e1abea640a6c67c65a9dbb899f638', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), h("casino-challenges-overlay-modal", { key: 'a45405d907326da9b1b3ccd55085ed287ddfca4e', 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: '43c2c0f90c5bf3b4c78aa2b66ce2e100eec05ead', 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 }))));
507
+ } }, this.renderBadgeContent())), h("div", { key: 'e10faffe11a5c7d5a3afa6e214000688f4b3b1e1', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), h("casino-challenges-overlay-modal", { key: '760778e71341930b1a259a726adec2b604596523', 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: '920e75a4a353ebdbea314353e310fca5b4269f92', 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 }))));
505
508
  }
506
509
  static get is() { return "casino-challenges-overlay"; }
507
510
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-58f943ea.js';
2
- import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling } from './casino-challenges-overlay-8a765607.js';
3
- export { C as casino_challenges_overlay } from './casino-challenges-overlay-8a765607.js';
2
+ import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling } from './casino-challenges-overlay-97159a90.js';
3
+ export { C as casino_challenges_overlay } from './casino-challenges-overlay-97159a90.js';
4
4
 
5
5
  const DEFAULT_LANGUAGE$3 = 'en';
6
6
  const TRANSLATIONS$3 = {
@@ -1051,10 +1051,13 @@ const CasinoChallengesOverlay = class {
1051
1051
  return this.completedLevelId ? 100 : this.progress;
1052
1052
  }
1053
1053
  syncDisplayedProgress() {
1054
+ var _a, _b;
1054
1055
  const target = this.getTargetProgress();
1055
1056
  const hasActiveProgress = this.inProgressCount > 0;
1056
1057
  const activeProgressToggled = hasActiveProgress !== this.hadActiveProgress;
1057
1058
  this.hadActiveProgress = hasActiveProgress;
1059
+ const activeChallengeChanged = ((_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id) !== this.lastActiveChallengeId;
1060
+ this.lastActiveChallengeId = (_b = this.activeChallenge) === null || _b === void 0 ? void 0 : _b.Id;
1058
1061
  const previousTarget = this.progressTarget;
1059
1062
  this.progressTarget = target;
1060
1063
  if (this.hasPendingLevelComplete) {
@@ -1068,9 +1071,9 @@ const CasinoChallengesOverlay = class {
1068
1071
  return;
1069
1072
  if (target === previousTarget && !activeProgressToggled)
1070
1073
  return;
1071
- // Only increases are animated: decreases (level reset, active challenge switch) and the
1072
- // full ring shown without active progress are applied instantly
1073
- if (activeProgressToggled || prefersReducedMotion() || target <= this.displayedProgress) {
1074
+ // Only increases of the same challenge are animated: decreases (level reset), a switch of the active
1075
+ // challenge (pause, resume, a new one) and the full ring shown without active progress are applied instantly
1076
+ if (activeProgressToggled || activeChallengeChanged || prefersReducedMotion() || target <= this.displayedProgress) {
1074
1077
  this.progressAnimation.jumpToProgress(target);
1075
1078
  return;
1076
1079
  }
@@ -1173,17 +1176,17 @@ const CasinoChallengesOverlay = class {
1173
1176
  const activeProgressId = hasActiveProgress
1174
1177
  ? (_a = this.activeChallenge) === null || _a === void 0 ? void 0 : _a.Id
1175
1178
  : (_c = (_b = this.challenges) === null || _b === void 0 ? void 0 : _b.find(this.isActiveChallenge)) === null || _c === void 0 ? void 0 : _c.Id;
1176
- return (h("div", { key: '174f49a7b806a895a532b0e1e53bf359f9abc3d4', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4237b797ad185055025f41d899920f40b53eabcc', class: "container", onClick: this.handleClick }, h("div", { key: 'e57760df4c6f158465683ebfa7e45ab2afd11da0', class: "circle", ref: (el) => (this.circleElement = el), style: {
1179
+ return (h("div", { key: 'cabb94d3d10af63a5b4685c47b7a343ea86ec373', ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4f5803bb89086be665d8bdf68556c289ca05fd67', class: "container", onClick: this.handleClick }, h("div", { key: 'f31663ebc569b2f3f4c0363e29334436a2106c00', class: "circle", ref: (el) => (this.circleElement = el), style: {
1177
1180
  '--progress': `${progressPoint.angle}deg`
1178
- } }, h("img", { key: '5423655e18a029c1493607d6d67211ffba795c59', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIconSvg,
1181
+ } }, h("img", { key: 'c18775ea5fb483de231d66d3652c77af72f25748', class: "circle__img", ref: (el) => (this.coinElement = el), src: bgIconSvg,
1179
1182
  // Turns the wobble and spin around the coin drawn in the image, not the image centre
1180
- style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), h("div", { key: '0b65ba49f12e2cfb5196c7b24814f71c447701db', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (h("div", { key: 'd08d38321d23c55aaba7f6a4f3990fc3fc318e50', class: "dot", style: {
1183
+ style: { transformOrigin: `${COIN_CENTER.x}px ${COIN_CENTER.y}px` } }), h("div", { key: 'aa42b6f5dc8c8eaa50d4d78c63c17da61eb77167', class: "circle__content" }, this.renderCapsuleContent(hasActiveProgress)), showDot && (h("div", { key: '8db43f72a6b00a65c662328c571d614877339539', class: "dot", style: {
1181
1184
  left: `${progressPoint.x}px`,
1182
1185
  top: `${progressPoint.y}px`
1183
- } }))), hasActiveProgress && (h("div", { key: '7ca2960301bfb5f59ce3afac2a260cf26e48ccc3', class: {
1186
+ } }))), hasActiveProgress && (h("div", { key: '4d2bc478f0b8861be3e19c6a33311356ea657b1d', class: {
1184
1187
  badge: true,
1185
1188
  new: this.isNew
1186
- } }, this.renderBadgeContent())), h("div", { key: 'f96408dcee5e1abea640a6c67c65a9dbb899f638', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), h("casino-challenges-overlay-modal", { key: 'a45405d907326da9b1b3ccd55085ed287ddfca4e', 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: '43c2c0f90c5bf3b4c78aa2b66ce2e100eec05ead', 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 }))));
1189
+ } }, this.renderBadgeContent())), h("div", { key: 'e10faffe11a5c7d5a3afa6e214000688f4b3b1e1', class: "effects-layer", ref: (el) => (this.effectsLayerElement = el) })), h("casino-challenges-overlay-modal", { key: '760778e71341930b1a259a726adec2b604596523', 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: '920e75a4a353ebdbea314353e310fca5b4269f92', 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 }))));
1187
1190
  }
1188
1191
  static get watchers() { return {
1189
1192
  "clientStyling": ["handleClientStylingChange"],
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { C as CasinoChallengesOverlay } from './casino-challenges-overlay-8a765607.js';
1
+ export { C as CasinoChallengesOverlay } from './casino-challenges-overlay-97159a90.js';
2
2
  import './index-58f943ea.js';
@@ -74,6 +74,7 @@ export declare class CasinoChallengesOverlay {
74
74
  private statusTimeoutId;
75
75
  private progressTarget;
76
76
  private hadActiveProgress;
77
+ private lastActiveChallengeId;
77
78
  /** Set by the update that completed a level; the next render starts the level complete animation */
78
79
  private hasPendingLevelComplete;
79
80
  private circleElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-challenges-overlay",
3
- "version": "0.22.30",
3
+ "version": "0.22.31",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",