@everymatrix/casino-engagement-suite-jackpot-details 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.esm.js +1 -0
- package/dist/casino-engagement-suite-jackpot-details/index.esm.js +0 -0
- package/dist/casino-engagement-suite-jackpot-details/p-88902287.entry.js +1 -0
- package/dist/casino-engagement-suite-jackpot-details/p-98211c8b.entry.js +1 -0
- package/dist/casino-engagement-suite-jackpot-details/p-c7ee604a.js +2 -0
- package/dist/casino-engagement-suite-jackpot-details/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.entry.js +390 -0
- package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.js +25 -0
- package/dist/cjs/casino-engagement-suite-progress-bar.cjs.entry.js +71 -0
- package/dist/cjs/index-d83151b6.js +1331 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.css +374 -0
- package/dist/collection/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.js +472 -0
- package/dist/collection/components/casino-engagement-suite-jackpot-details/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/index.js +1 -0
- package/dist/collection/utils/index.js +5 -0
- package/dist/collection/utils/locale.utils.js +22 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/casino-engagement-suite-jackpot-details.entry.js +386 -0
- package/dist/esm/casino-engagement-suite-jackpot-details.js +20 -0
- package/dist/esm/casino-engagement-suite-progress-bar.entry.js +67 -0
- package/dist/esm/index-0237d1e2.js +1303 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.d.ts +92 -0
- package/dist/types/components/casino-engagement-suite-jackpot-details/index.d.ts +1 -0
- package/dist/types/components.d.ts +113 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/index.d.ts +48 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/locale.utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +29 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0237d1e2.js';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
7
|
+
return typeof o;
|
|
8
|
+
} : function (o) {
|
|
9
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
10
|
+
}, _typeof(o);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function requiredArgs(required, args) {
|
|
14
|
+
if (args.length < required) {
|
|
15
|
+
throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @name toDate
|
|
21
|
+
* @category Common Helpers
|
|
22
|
+
* @summary Convert the given argument to an instance of Date.
|
|
23
|
+
*
|
|
24
|
+
* @description
|
|
25
|
+
* Convert the given argument to an instance of Date.
|
|
26
|
+
*
|
|
27
|
+
* If the argument is an instance of Date, the function returns its clone.
|
|
28
|
+
*
|
|
29
|
+
* If the argument is a number, it is treated as a timestamp.
|
|
30
|
+
*
|
|
31
|
+
* If the argument is none of the above, the function returns Invalid Date.
|
|
32
|
+
*
|
|
33
|
+
* **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
|
|
34
|
+
*
|
|
35
|
+
* @param {Date|Number} argument - the value to convert
|
|
36
|
+
* @returns {Date} the parsed date in the local time zone
|
|
37
|
+
* @throws {TypeError} 1 argument required
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* // Clone the date:
|
|
41
|
+
* const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
|
|
42
|
+
* //=> Tue Feb 11 2014 11:30:30
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* // Convert the timestamp to date:
|
|
46
|
+
* const result = toDate(1392098430000)
|
|
47
|
+
* //=> Tue Feb 11 2014 11:30:30
|
|
48
|
+
*/
|
|
49
|
+
function toDate(argument) {
|
|
50
|
+
requiredArgs(1, arguments);
|
|
51
|
+
var argStr = Object.prototype.toString.call(argument);
|
|
52
|
+
|
|
53
|
+
// Clone the date
|
|
54
|
+
if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {
|
|
55
|
+
// Prevent the date to lose the milliseconds when passed to new Date() in IE10
|
|
56
|
+
return new Date(argument.getTime());
|
|
57
|
+
} else if (typeof argument === 'number' || argStr === '[object Number]') {
|
|
58
|
+
return new Date(argument);
|
|
59
|
+
} else {
|
|
60
|
+
if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
|
|
61
|
+
// eslint-disable-next-line no-console
|
|
62
|
+
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
|
|
63
|
+
// eslint-disable-next-line no-console
|
|
64
|
+
console.warn(new Error().stack);
|
|
65
|
+
}
|
|
66
|
+
return new Date(NaN);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @name isBefore
|
|
72
|
+
* @category Common Helpers
|
|
73
|
+
* @summary Is the first date before the second one?
|
|
74
|
+
*
|
|
75
|
+
* @description
|
|
76
|
+
* Is the first date before the second one?
|
|
77
|
+
*
|
|
78
|
+
* @param {Date|Number} date - the date that should be before the other one to return true
|
|
79
|
+
* @param {Date|Number} dateToCompare - the date to compare with
|
|
80
|
+
* @returns {Boolean} the first date is before the second date
|
|
81
|
+
* @throws {TypeError} 2 arguments required
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* // Is 10 July 1989 before 11 February 1987?
|
|
85
|
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
86
|
+
* //=> false
|
|
87
|
+
*/
|
|
88
|
+
function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
89
|
+
requiredArgs(2, arguments);
|
|
90
|
+
var date = toDate(dirtyDate);
|
|
91
|
+
var dateToCompare = toDate(dirtyDateToCompare);
|
|
92
|
+
return date.getTime() < dateToCompare.getTime();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
96
|
+
const SUPPORTED_LANGUAGES = ['en'];
|
|
97
|
+
const TRANSLATIONS = {
|
|
98
|
+
en: {
|
|
99
|
+
jackpots: 'Jackpots',
|
|
100
|
+
join: 'Join',
|
|
101
|
+
unjoin: 'Unjoin',
|
|
102
|
+
info: 'Info',
|
|
103
|
+
games: 'Games',
|
|
104
|
+
operatorContribution: 'Operator Contribution',
|
|
105
|
+
type: 'Type',
|
|
106
|
+
winningProbability: 'Winning Probability',
|
|
107
|
+
tc: 'Terms & Conditions',
|
|
108
|
+
jackpotIsWon: 'Jackpot’s won!',
|
|
109
|
+
loadMore: 'Load More',
|
|
110
|
+
jackpotDetails: 'Jackpot Details',
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
const translate = (key, customLang) => {
|
|
114
|
+
const lang = customLang;
|
|
115
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
function formatBalance(amount, currency, maxAmount = 99999999) {
|
|
119
|
+
amount = Math.min(amount, maxAmount);
|
|
120
|
+
return `${currency} ${new Intl.NumberFormat('en', { minimumFractionDigits: 2, maximumFractionDigits: 2 })
|
|
121
|
+
.format(amount)}`;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const casinoEngagementSuiteJackpotDetailsCss = ":host{display:block;font-family:inherit}*{box-sizing:border-box;margin:0;padding:0}button{border:none;background:none}button:focus{outline:none}button:not(:disabled){cursor:pointer}.PopupButton{background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:var(--emw--color-typography, #1E1638);border-radius:99px;min-width:88px;min-height:32px;font-size:14px;font-weight:700;position:relative;font-family:\"Montserrat\", sans-serif}.PopupButton.Active{background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.PopupButton.Active::before{content:\"\";position:absolute;inset:0;padding:1px;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);-webkit-mask:linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);-webkit-mask-composite:xor;mask-composite:exclude;border-radius:99px}.PopupButton.Loading{opacity:0.5;pointer-events:none}.JackpotDetailsPopup{display:flex;height:100%;background-color:var(--emw--color-background, #1E1638);border-radius:8px;overflow:hidden;flex-direction:column;position:relative}.JackpotDetailsPopup.Disabled .JackpotDetailsHeader{opacity:0.5}.JackpotDetailsPopup.Disabled .JackpotDetailsTabs{cursor:default;pointer-events:none}.JackpotDetailsPopup.Disabled .JackpotInfoItem{color:var(--emw--color-primary, #8F8B9C)}.JackpotGamesListWrapper,.JackpotInfoTabContent{overflow-x:auto;scrollbar-gutter:stable}.JackpotGamesListWrapper::-webkit-scrollbar,.JackpotInfoTabContent::-webkit-scrollbar{width:3px;background:none}.JackpotGamesListWrapper::-webkit-scrollbar-thumb,.JackpotInfoTabContent::-webkit-scrollbar-thumb{border-radius:4px;background:var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3))}.JackpotDetailsNavigation{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.JackpotDetailsNavigation .JackpotIconButton{width:16px;height:16px;cursor:pointer;display:flex;justify-content:center;align-items:center}.JackpotDetailsNavigation .JackpotPopupName{color:var(--emw--color-gray-100, #BBB9C3);font-size:16px;font-weight:500;line-height:16px;display:none}.JackpotDetailsPopupContent{padding:8px 18px 18px;overflow:hidden;height:100%;display:flex;flex-direction:column}.JackpotDetailsHeader{display:flex;justify-content:space-between;align-items:center;gap:12px}.JackpotDetailsHeader .JackpotDetailsHeaderSecondCol{text-align:right}.JackpotDetailsHeader .JackpotType{text-transform:uppercase;font-family:\"Montserrat\", sans-serif;font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-bold, 700);line-height:22px;color:var(--emfe-w-color-white, #FFF);word-break:break-all}.JackpotDetailsHeader .JackpotBalance{margin-top:8px;font-family:Montserrat, sans-serif;font-size:18px;font-weight:var(--emw--font-weight-bold, 800);line-height:18px}.JackpotDetailsHeader .JackpotIsWon{margin-top:8px;font-family:Montserrat, sans-serif;font-weight:var(--emw--font-weight-bold, 700);font-size:12px;line-height:15px;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.JackpotDetailsPopup.Mega .JackpotBalance{background:linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.JackpotDetailsPopup.Major .JackpotBalance{background:linear-gradient(180deg, #A19FA0 5.36%, #E1DBDB 28.86%, #FEFFFF 36.86%, #E1DBDB 44.36%, #5E5B5F 91.86%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.JackpotDetailsPopup.Minor .JackpotBalance{background:linear-gradient(180deg, #A0522C 5.36%, #FFAB8C 28.86%, #FFEEDF 36.86%, #FFAB8C 44.36%, #6A3A21 91.86%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.JackpotGamesLoadMore::before,.JackpotJoinButton.Joined::before{content:\"\";position:absolute;inset:0;border-radius:var(--emw--button-border-radius, 4px);padding:1px;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);-webkit-mask:linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);-webkit-mask-composite:xor;mask-composite:exclude}.JackpotGamesButton{margin-top:12px;align-self:center;min-width:140px}.JackpotCountdown{font-size:var(--emw--font-size-x-small, 12px);line-height:12px;margin-top:12px;color:var(--emw--color-gray-150, #BBB9C3)}.JackpotCountdown.Suspended{font-weight:var(--emw--font-weight-bold, 700);color:var(--emfe-w-color-white, #FFF);text-transform:capitalize}.JackpotDetailsTabsWrapper{display:flex;flex-direction:column}.JackpotDetailsTabs{margin:20px 0 12px;display:flex;position:relative}.JackpotDetailsTabs .JackpotDetailsTab{padding:9px 16px 7px;font-weight:500;font-size:12px;line-height:15px;color:var(--emw--color-background, #666178);border-bottom:2px solid transparent;cursor:pointer}.JackpotDetailsTabs .JackpotDetailsTab.Active{color:var(--emw--color-typography, #FFF);border-color:var(--emw--color-typography, #FFF)}.JackpotDetailsTabs::after{content:\"\";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--emw--color-typography, #FFF);opacity:0.1}.JackpotInfoItem{margin-bottom:8px;color:var(--emw--color-typography, #FFF);font-size:14px;line-height:17px}.JackpotInfoItem span{font-weight:var(--emw--font-weight-bold, 700)}.JackpotInfoItem .tc{color:var(--emw--color-primary, #59D1FF)}.JackpotGamesListWrapper{overflow:auto;flex-grow:1}.JackpotGamesList{display:flex;gap:10px;flex-wrap:wrap}.JackpotGamesList .JackpotGamesListItem{width:calc(25% - 8px);aspect-ratio:74/40;cursor:pointer}.JackpotGamesList .JackpotGamesListItem.Disabled{opacity:0.5;pointer-events:none;cursor:auto}.JackpotDetailsButton{margin-bottom:12px;display:flex;align-items:center;font-size:var(--emw--font-size-x-small, 12px);line-height:12px;color:var(--emw--color-primary-variant, #666178);cursor:pointer}.JackpotDetailsButton .Toggle{width:16px;height:16px;margin-right:4px}.JackpotDetailsButton .Closed{background:center/100% url(\"https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg\")}.JackpotDetailsButton .Open{background:center/100% url(\"https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg\")}.JackpotDescription{margin-bottom:20px;color:var(--emw--color-typography, #FFF);font-size:var(--emw--font-size-small, 14px);line-height:17px}.JackpotDetailsPopup.Tablet .JackpotDetailsButton,.JackpotDetailsPopup.Desktop .JackpotDetailsButton{margin-bottom:20px}.JackpotDetailsPopup.Tablet .JackpotDescription,.JackpotDetailsPopup.Desktop .JackpotDescription{font-size:var(--emw--font-size-medium, 16px);line-height:22px}.JackpotDetailsPopup.Tablet .JackpotPopupName,.JackpotDetailsPopup.Desktop .JackpotPopupName{display:block}.JackpotDetailsPopup.Tablet .JackpotDetailsNavigation,.JackpotDetailsPopup.Desktop .JackpotDetailsNavigation{padding-top:16px}.JackpotDetailsPopup.Tablet .JackpotIconButton,.JackpotDetailsPopup.Desktop .JackpotIconButton{width:24px;height:24px}.JackpotDetailsPopup.Tablet .JackpotDetailsPopupContent,.JackpotDetailsPopup.Desktop .JackpotDetailsPopupContent{padding:20px 24px 30px}.JackpotDetailsPopup.Tablet .JackpotBalance,.JackpotDetailsPopup.Tablet .JackpotType,.JackpotDetailsPopup.Desktop .JackpotBalance,.JackpotDetailsPopup.Desktop .JackpotType{line-height:27px;font-size:22px}.JackpotDetailsPopup.Tablet .JackpotBalance,.JackpotDetailsPopup.Desktop .JackpotBalance{font-weight:var(--emw--font-weight-bold, 700)}.JackpotDetailsPopup.Tablet .PopupButton,.JackpotDetailsPopup.Desktop .PopupButton{min-height:36px;font-size:16px}.JackpotDetailsPopup.Tablet .JackpotCountdown,.JackpotDetailsPopup.Desktop .JackpotCountdown{font-size:var(--emw--font-size-small, 14px);line-height:14px}.JackpotDetailsPopup.Tablet .JackpotDetailsTabs,.JackpotDetailsPopup.Desktop .JackpotDetailsTabs{margin-bottom:20px}.JackpotDetailsPopup.Tablet .JackpotInfoItem,.JackpotDetailsPopup.Desktop .JackpotInfoItem{font-size:16px;line-height:20px}.JackpotDetailsPopup.Tablet .JackpotIsWon,.JackpotDetailsPopup.Desktop .JackpotIsWon{font-size:14px;line-height:17px}.JackpotDetailsPopup.Tablet .JackpotGamesList,.JackpotDetailsPopup.Desktop .JackpotGamesList{gap:12px}.JackpotDetailsPopup.Tablet .JackpotGamesList .JackpotGamesListItem,.JackpotDetailsPopup.Desktop .JackpotGamesList .JackpotGamesListItem{width:calc(20% - 10px)}.JackpotDetailsPopup.Tablet .JackpotDetailsTabs .JackpotDetailsTab,.JackpotDetailsPopup.Desktop .JackpotDetailsTabs .JackpotDetailsTab{font-size:16px;line-height:20px}";
|
|
125
|
+
const CasinoEngagementSuiteJackpotDetailsStyle0 = casinoEngagementSuiteJackpotDetailsCss;
|
|
126
|
+
|
|
127
|
+
const CasinoEngagementSuiteJackpotDetails = class {
|
|
128
|
+
constructor(hostRef) {
|
|
129
|
+
registerInstance(this, hostRef);
|
|
130
|
+
this.close = createEvent(this, "close", 7);
|
|
131
|
+
this.back = createEvent(this, "back", 7);
|
|
132
|
+
this.maxVisibleGames = 0;
|
|
133
|
+
this.handleTabChange = (e) => {
|
|
134
|
+
this.activeTab = +(e.target.getAttribute('data-index'));
|
|
135
|
+
this.visibleGames = [];
|
|
136
|
+
this.maxVisibleGames = 0;
|
|
137
|
+
};
|
|
138
|
+
this.handleLoadMore = () => {
|
|
139
|
+
this.visibleGames = this.jackpot.GamesInfo.slice(0, this.visibleGames.length + this.maxVisibleGames);
|
|
140
|
+
};
|
|
141
|
+
this.toggleShowDetails = () => {
|
|
142
|
+
this.showDetails = !this.showDetails;
|
|
143
|
+
};
|
|
144
|
+
this.toggleTooltip = () => {
|
|
145
|
+
this.showTooltip = !this.showTooltip;
|
|
146
|
+
};
|
|
147
|
+
this.setClientStyling = () => {
|
|
148
|
+
let sheet = document.createElement('style');
|
|
149
|
+
sheet.innerHTML = this.clientStyling;
|
|
150
|
+
this.host.prepend(sheet);
|
|
151
|
+
};
|
|
152
|
+
this.setClientStylingURL = () => {
|
|
153
|
+
let url = new URL(this.clientStylingUrl);
|
|
154
|
+
let cssFile = document.createElement('style');
|
|
155
|
+
fetch(url.href)
|
|
156
|
+
.then((res) => res.text())
|
|
157
|
+
.then((data) => {
|
|
158
|
+
cssFile.innerHTML = data;
|
|
159
|
+
setTimeout(() => { this.host.prepend(cssFile); }, 1);
|
|
160
|
+
})
|
|
161
|
+
.catch((err) => {
|
|
162
|
+
console.log('Error ', err);
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
this.handleCloseClick = () => {
|
|
166
|
+
this.close.emit();
|
|
167
|
+
};
|
|
168
|
+
this.handleBackClick = () => {
|
|
169
|
+
this.back.emit();
|
|
170
|
+
};
|
|
171
|
+
this.onGameClick = (ev) => {
|
|
172
|
+
const slug = ev.currentTarget.getAttribute('data-slug');
|
|
173
|
+
if (slug) {
|
|
174
|
+
window.postMessage({
|
|
175
|
+
type: 'EngagementSuiteGameRedirect',
|
|
176
|
+
data: {
|
|
177
|
+
Slug: slug
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
this.clientStyling = '';
|
|
183
|
+
this.clientStylingUrl = '';
|
|
184
|
+
this.jackpot = undefined;
|
|
185
|
+
this.jackpotChangeStatusRequest = undefined;
|
|
186
|
+
this.language = 'en';
|
|
187
|
+
this.gameSlug = '';
|
|
188
|
+
this.device = 'Mobile';
|
|
189
|
+
this.limitStylingAppends = false;
|
|
190
|
+
this.timer = '';
|
|
191
|
+
this.disabledStatus = '';
|
|
192
|
+
this.activeTab = 1;
|
|
193
|
+
this.visibleGames = [];
|
|
194
|
+
this.enabled = false;
|
|
195
|
+
this.balance = undefined;
|
|
196
|
+
this.winBalance = undefined;
|
|
197
|
+
this.showDetails = false;
|
|
198
|
+
this.jackpotEndTime = '';
|
|
199
|
+
this.showTooltip = false;
|
|
200
|
+
}
|
|
201
|
+
handleEvent(e) {
|
|
202
|
+
const { type, data } = e === null || e === void 0 ? void 0 : e.data;
|
|
203
|
+
switch (type) {
|
|
204
|
+
case 'UpdateJackpotStatus': {
|
|
205
|
+
const data = e.data.data;
|
|
206
|
+
if (this.jackpot.JackpotId === data.JackpotId) {
|
|
207
|
+
this.updateJackpotStatus(e.data.data);
|
|
208
|
+
}
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
case 'JoinJackpotResult': {
|
|
212
|
+
const res = data;
|
|
213
|
+
if (res.Success && this.jackpot.JackpotId in res.JackpotIds) {
|
|
214
|
+
this.enabled = this.jackpot.Enabled = res.JackpotIds[this.jackpot.JackpotId];
|
|
215
|
+
}
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
handleJackpotUpdate() {
|
|
221
|
+
this.balance = this.jackpot.Balance;
|
|
222
|
+
this.winBalance = this.jackpot.WinBalance;
|
|
223
|
+
}
|
|
224
|
+
handleResize() {
|
|
225
|
+
this.activeTab === 2 && this.setVisibleGames();
|
|
226
|
+
this.showTooltip = false;
|
|
227
|
+
}
|
|
228
|
+
componentWillLoad() {
|
|
229
|
+
this.enabled = this.jackpot.Enabled;
|
|
230
|
+
this.balance = this.jackpot.Balance;
|
|
231
|
+
this.winBalance = this.jackpot.WinBalance;
|
|
232
|
+
this.jackpotEndTime = this.jackpot.JackpotEndTime;
|
|
233
|
+
this.disabledStatus = this.jackpot.Reason || '';
|
|
234
|
+
this.startCountdown();
|
|
235
|
+
}
|
|
236
|
+
componentDidRender() {
|
|
237
|
+
if (!this.limitStylingAppends && this.host) {
|
|
238
|
+
if (this.clientStyling)
|
|
239
|
+
this.setClientStyling();
|
|
240
|
+
if (this.clientStylingUrl)
|
|
241
|
+
this.setClientStylingURL();
|
|
242
|
+
this.limitStylingAppends = true;
|
|
243
|
+
}
|
|
244
|
+
if (this.activeTab === 2 && !this.maxVisibleGames) {
|
|
245
|
+
this.setVisibleGames();
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
disconnectedCallback() {
|
|
249
|
+
this.clearInterval();
|
|
250
|
+
}
|
|
251
|
+
clearInterval() {
|
|
252
|
+
if (this.interval) {
|
|
253
|
+
clearInterval(this.interval);
|
|
254
|
+
this.interval = null;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
setVisibleGames() {
|
|
258
|
+
const gap = this.device === 'Mobile' ? 10 : 12;
|
|
259
|
+
const gamesPerRow = this.device === 'Mobile' ? 4 : 5;
|
|
260
|
+
const availableWidth = this.gamesListWrapperEl.offsetWidth - (gap * (gamesPerRow - 1));
|
|
261
|
+
const gameElWidth = availableWidth / gamesPerRow;
|
|
262
|
+
const gameElHeight = (gameElWidth / 74 * 40) + gap;
|
|
263
|
+
this.maxVisibleGames = Math.max(Math.floor(this.gamesListWrapperEl.offsetHeight / gameElHeight) * gamesPerRow, gamesPerRow);
|
|
264
|
+
this.visibleGames = this.jackpot.GamesInfo.slice(0, this.maxVisibleGames);
|
|
265
|
+
}
|
|
266
|
+
updateJackpotStatus(event) {
|
|
267
|
+
if (event.IsClosed) {
|
|
268
|
+
this.clearInterval();
|
|
269
|
+
this.disabledStatus = event.Reason;
|
|
270
|
+
this.activeTab = 1;
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
this.disabledStatus = '';
|
|
274
|
+
this.jackpotEndTime = event.JackpotEndTime;
|
|
275
|
+
this.startCountdown();
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
getTopNavigationTemplate() {
|
|
279
|
+
return (h("div", { class: "JackpotDetailsNavigation" }, h("button", { class: "JackpotIconButton", onClick: this.handleBackClick }, h("img", { src: "https://static.everymatrix.com/gic/img/engagement-suite/back.svg", alt: "back" })), h("div", { class: "JackpotPopupName" }, translate('jackpots', this.language)), h("button", { class: "JackpotIconButton", onClick: this.handleCloseClick }, h("img", { src: "https://static.everymatrix.com/gic/img/engagement-suite/close.svg", alt: "close" }))));
|
|
280
|
+
}
|
|
281
|
+
getJackpotBalance() {
|
|
282
|
+
return formatBalance(this.balance, this.jackpot.Currency);
|
|
283
|
+
}
|
|
284
|
+
getJoinButtonClasses() {
|
|
285
|
+
return {
|
|
286
|
+
PopupButton: true,
|
|
287
|
+
Active: this.enabled,
|
|
288
|
+
Loading: this.jackpot.Pending
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
getJackpotDetailsHeaderTemplate() {
|
|
292
|
+
const joinButtonDisabled = isBefore(new Date(this.jackpot.JackpotEndTime), new Date()) || !!this.disabledStatus;
|
|
293
|
+
return (h("div", { class: "JackpotDetailsHeader" }, h("div", null, h("div", { class: "JackpotType" }, this.jackpot.Type), h("div", { class: "JackpotBalance" }, this.getJackpotBalance())), h("div", { class: "JackpotDetailsHeaderSecondCol" }, h("button", { disabled: joinButtonDisabled, onClick: this.jackpotChangeStatusRequest, class: this.getJoinButtonClasses(), "data-id": this.jackpot.JackpotId }, this.enabled
|
|
294
|
+
? translate('unjoin', this.language)
|
|
295
|
+
: translate('join', this.language)), !!this.winBalance && h("div", { class: "JackpotIsWon" }, translate('jackpotIsWon', this.language)))));
|
|
296
|
+
}
|
|
297
|
+
getTabsTemplate() {
|
|
298
|
+
return h("div", { class: "JackpotDetailsTabs" }, h("div", { "data-index": "1", onClick: this.handleTabChange, class: `JackpotDetailsTab ${this.activeTab === 1 ? 'Active' : ''}` }, translate('info', this.language)), h("div", { "data-index": "2", onClick: this.handleTabChange, class: `JackpotDetailsTab ${this.activeTab === 2 ? 'Active' : ''}` }, translate('games', this.language)));
|
|
299
|
+
}
|
|
300
|
+
getTabsContentTemplate() {
|
|
301
|
+
return this.activeTab === 1
|
|
302
|
+
? this.getJackpotInfoTemplate()
|
|
303
|
+
: this.getGamesTemplate();
|
|
304
|
+
}
|
|
305
|
+
getJackpotDetailsTemplate() {
|
|
306
|
+
return h("div", null, h("div", { class: "JackpotDetailsButton", onClick: this.toggleShowDetails }, h("div", { class: `Toggle ${this.showDetails ? 'Closed' : 'Open'}` }), h("span", null, translate('jackpotDetails', this.language))), this.showDetails && h("div", { class: "JackpotDetailsContent" }, this.jackpot.Description && h("p", { class: "JackpotDescription" }, this.jackpot.Description), this.jackpot.JackpotRulesUrl && h("a", { class: "TermsAndConditions", href: this.jackpot.JackpotRulesUrl, target: "_blank" }, translate('tc', this.jackpot.JackpotRulesUrl))));
|
|
307
|
+
}
|
|
308
|
+
getBetLimitsRange() {
|
|
309
|
+
var _a, _b, _c, _d;
|
|
310
|
+
if (this.jackpot.BetLimits) {
|
|
311
|
+
const playerCurrency = this.jackpot.Currency;
|
|
312
|
+
const betCurrencies = Object.keys(this.jackpot.BetLimits);
|
|
313
|
+
const matchedCurrency = betCurrencies.find(currency => currency === playerCurrency);
|
|
314
|
+
const betCurrency = matchedCurrency ? matchedCurrency : betCurrencies[0];
|
|
315
|
+
const showMinBet = this.jackpot.BetLimits && !!((_a = this.jackpot.BetLimits[betCurrency]) === null || _a === void 0 ? void 0 : _a.MinBet);
|
|
316
|
+
const showMaxBet = this.jackpot.BetLimits && !!((_b = this.jackpot.BetLimits[betCurrency]) === null || _b === void 0 ? void 0 : _b.MaxBet);
|
|
317
|
+
const formattedMinBet = formatBalance((_c = this.jackpot.BetLimits[betCurrency]) === null || _c === void 0 ? void 0 : _c.MinBet, betCurrency);
|
|
318
|
+
const formattedMaxBet = formatBalance((_d = this.jackpot.BetLimits[betCurrency]) === null || _d === void 0 ? void 0 : _d.MaxBet, betCurrency);
|
|
319
|
+
return h("div", null, showMinBet && h("div", { class: "JackpotInfoItem" }, translate('minBet', this.language), ":\u00A0", h("span", null, formattedMinBet)), showMaxBet && h("div", { class: "JackpotInfoItem" }, translate('maxBet', this.language), ":\u00A0", h("span", null, formattedMaxBet)));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
getJackpotInfoTemplate() {
|
|
323
|
+
const showDetails = !!(this.jackpot.Description || this.jackpot.JackpotRulesUrl);
|
|
324
|
+
return h("div", { class: "JackpotInfoTabContent" }, showDetails && this.getJackpotDetailsTemplate(), h("div", { class: "JackpotInfo" }, h("div", { class: "JackpotInfoItem" }, translate('betContribution', this.language), ":\u00A0", h("span", null, +this.jackpot.ContributionPercent, "%")), h("div", { class: "JackpotInfoItem" }, translate('type', this.language), ":\u00A0", h("span", null, this.jackpot.JackpotTypePresentation)), h("div", { class: "JackpotInfoItem" }, translate('winningProbability', this.language), ":\u00A0", h("span", null, "1:", this.jackpot.Probability)), h("div", { class: "JackpotInfoItem" }, translate('operatorContribution', this.language), ":\u00A0", h("span", null, +this.jackpot.OperatorContributionPercent, "%"), h("button", { class: "JackpotContributionTooltipButton", onClick: this.toggleTooltip })), this.getBetLimitsRange()));
|
|
325
|
+
}
|
|
326
|
+
getGamesTemplate() {
|
|
327
|
+
const list = this.visibleGames.map((game) => {
|
|
328
|
+
return h("div", { onClick: this.onGameClick, class: `JackpotGamesListItem ${game.GameSlug === this.gameSlug ? 'Disabled' : ''}`, key: game.CasinoGameId, "data-slug": game.GameSlug, style: { background: `center / cover url(${game.GameIcon}) no-repeat` }, title: game.GameName });
|
|
329
|
+
});
|
|
330
|
+
return [
|
|
331
|
+
h("div", { class: "JackpotGamesListWrapper", ref: el => this.gamesListWrapperEl = el }, h("div", { class: "JackpotGamesList" }, list)),
|
|
332
|
+
this.visibleGames.length < this.jackpot.GamesInfo.length
|
|
333
|
+
? h("button", { class: "PopupButton Active JackpotGamesButton", onClick: this.handleLoadMore }, translate('loadMore', this.language))
|
|
334
|
+
: ''
|
|
335
|
+
];
|
|
336
|
+
}
|
|
337
|
+
getJackpotCountdown() {
|
|
338
|
+
const timerMessage = translate(this.disabledStatus, this.language) || this.timer;
|
|
339
|
+
return (h("div", { class: `JackpotCountdown ${this.disabledStatus ? 'Suspended' : ''}` }, timerMessage));
|
|
340
|
+
}
|
|
341
|
+
startCountdown() {
|
|
342
|
+
this.updateTimer();
|
|
343
|
+
this.interval = setInterval(() => {
|
|
344
|
+
this.updateTimer();
|
|
345
|
+
}, 1000);
|
|
346
|
+
}
|
|
347
|
+
updateTimer() {
|
|
348
|
+
const expirationTime = new Date(this.jackpotEndTime).getTime();
|
|
349
|
+
const now = new Date().getTime();
|
|
350
|
+
const distance = expirationTime - now;
|
|
351
|
+
if (distance < 1) {
|
|
352
|
+
this.clearInterval();
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
const { days, hours, minutes, seconds } = {
|
|
356
|
+
days: String(Math.floor(distance / (1000 * 60 * 60 * 24))).padStart(2, '0'),
|
|
357
|
+
hours: String(Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))).padStart(2, '0'),
|
|
358
|
+
minutes: String(Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60))).padStart(2, '0'),
|
|
359
|
+
seconds: String(Math.floor((distance % (1000 * 60)) / 1000)).padStart(2, '0')
|
|
360
|
+
};
|
|
361
|
+
this.timer = days === '00'
|
|
362
|
+
? `${hours}h:${minutes}m:${seconds}s`
|
|
363
|
+
: `${days}d:${hours}h:${minutes}m`;
|
|
364
|
+
}
|
|
365
|
+
getPopupClasses() {
|
|
366
|
+
return {
|
|
367
|
+
JackpotDetailsPopup: true,
|
|
368
|
+
Disabled: !!this.disabledStatus || isBefore(new Date(this.jackpot.JackpotEndTime), new Date()),
|
|
369
|
+
[this.device]: true,
|
|
370
|
+
[this.jackpot.Type.charAt(0).toUpperCase() + this.jackpot.Type.slice(1)]: true
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
getTooltipTemplate() {
|
|
374
|
+
return (h("div", { class: "JackpotsTooltipBackdrop" }, h("div", { class: "JackpotsTooltip" }, h("button", { class: "JackpotsIconButton", onClick: this.toggleTooltip }, h("img", { src: "https://static.everymatrix.com/gic/img/engagement-suite/close.svg", alt: "Close tooltip" })), translate('contributionTooltip', this.language))));
|
|
375
|
+
}
|
|
376
|
+
render() {
|
|
377
|
+
return h("div", { key: '1588370db82c0c7d4118fce75e60cb2e1204c9f3', class: this.getPopupClasses() }, this.getTopNavigationTemplate(), h("div", { key: '320b03501c86164369fc715590cfbbfa6dc8bf3e', class: "JackpotDetailsPopupContent" }, this.getJackpotDetailsHeaderTemplate(), this.getJackpotCountdown(), this.getTabsTemplate(), this.getTabsContentTemplate(), this.showTooltip && this.getTooltipTemplate()));
|
|
378
|
+
}
|
|
379
|
+
get host() { return getElement(this); }
|
|
380
|
+
static get watchers() { return {
|
|
381
|
+
"jackpot": ["handleJackpotUpdate"]
|
|
382
|
+
}; }
|
|
383
|
+
};
|
|
384
|
+
CasinoEngagementSuiteJackpotDetails.style = CasinoEngagementSuiteJackpotDetailsStyle0;
|
|
385
|
+
|
|
386
|
+
export { CasinoEngagementSuiteJackpotDetails as casino_engagement_suite_jackpot_details };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-0237d1e2.js';
|
|
2
|
+
export { s as setNonce } from './index-0237d1e2.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
patchBrowser().then(async (options) => {
|
|
18
|
+
await globalScripts();
|
|
19
|
+
return bootstrapLazy([["casino-engagement-suite-jackpot-details",[[1,"casino-engagement-suite-jackpot-details",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"jackpot":[16],"jackpotChangeStatusRequest":[1040],"language":[1],"gameSlug":[1,"game-slug"],"device":[1],"limitStylingAppends":[32],"timer":[32],"disabledStatus":[32],"activeTab":[32],"visibleGames":[32],"enabled":[32],"balance":[32],"winBalance":[32],"showDetails":[32],"jackpotEndTime":[32],"showTooltip":[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{"jackpot":["handleJackpotUpdate"]}]]],["casino-engagement-suite-progress-bar",[[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}]]]], options);
|
|
20
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-0237d1e2.js';
|
|
2
|
+
|
|
3
|
+
const casinoEngagementSuiteProgressBarCss = ":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:14px;line-height:14px}.ProgressBarBackground{height:8px;background-color:var(--emw--color-background, #666178);border-radius:4px;position:relative}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);transition:width ease-out 0.3s}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:700;font-size:12px;line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-background, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";
|
|
4
|
+
const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
|
|
5
|
+
|
|
6
|
+
const CasinoEngagementSuiteProgressBar = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.setClientStyling = () => {
|
|
10
|
+
let sheet = document.createElement('style');
|
|
11
|
+
sheet.innerHTML = this.clientStyling;
|
|
12
|
+
this.host.prepend(sheet);
|
|
13
|
+
};
|
|
14
|
+
this.setClientStylingURL = () => {
|
|
15
|
+
let url = new URL(this.clientStylingUrl);
|
|
16
|
+
let cssFile = document.createElement('style');
|
|
17
|
+
fetch(url.href)
|
|
18
|
+
.then((res) => res.text())
|
|
19
|
+
.then((data) => {
|
|
20
|
+
cssFile.innerHTML = data;
|
|
21
|
+
setTimeout(() => { this.host.prepend(cssFile); }, 1);
|
|
22
|
+
})
|
|
23
|
+
.catch((err) => {
|
|
24
|
+
console.log('Error ', err);
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
this.value = 0;
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
this.hidePercent = false;
|
|
30
|
+
this.indeterminate = false;
|
|
31
|
+
this.clientStyling = '';
|
|
32
|
+
this.clientStylingUrl = '';
|
|
33
|
+
this.limitStylingAppends = false;
|
|
34
|
+
}
|
|
35
|
+
componentDidRender() {
|
|
36
|
+
if (!this.limitStylingAppends && this.host) {
|
|
37
|
+
if (this.clientStyling)
|
|
38
|
+
this.setClientStyling();
|
|
39
|
+
if (this.clientStylingUrl)
|
|
40
|
+
this.setClientStylingURL();
|
|
41
|
+
this.limitStylingAppends = true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
getProgressBarClasses() {
|
|
45
|
+
return {
|
|
46
|
+
ProgressBar: true,
|
|
47
|
+
Completed: this.value === 100,
|
|
48
|
+
Disabled: this.disabled,
|
|
49
|
+
HidePercent: this.hidePercent || this.indeterminate
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
getProgressBarLineTemplate() {
|
|
53
|
+
if (this.indeterminate) {
|
|
54
|
+
return h("div", { class: "ProgressBarLine Indeterminate", part: "ProgressBarLine Indeterminate" });
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
return h("div", { class: "ProgressBarLine", part: "ProgressBarLine", style: { width: this.value + '%' } });
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return h("div", { key: 'ecce3a26a92d2e090c1db84bdc1bdbeb505080ed', class: this.getProgressBarClasses(), part: "ProgressBar" }, h("div", { key: '649fe1103d222200f2a1ad3b5967e37da1f1ab3d', class: "ProgressBarInfo", part: "ProgressBarInfo" }, h("slot", { key: '49dc180eedd823f0027f75099813fb9d91bcd938', name: "Title" }, h("div", { key: 'e6e59da3fe7bbcb37e118e7fd23a8ff35587aca5' })), h("slot", { key: '3dc8e5fd1dbc8c268b9c76e393b751cb53605e7e', name: "Percent" }, h("div", { key: '6a9e880f3ee3c4f26e8577c69be5db5f8e2d10ad', class: "ProgressBarPercent", part: "ProgressBarPercent" }, this.value, "%"))), h("div", { key: '141106e77caad7b04bb199f911e87c0c6f0adc2d', class: "ProgressBarBackground", part: "ProgressBarBackground" }, this.getProgressBarLineTemplate()));
|
|
62
|
+
}
|
|
63
|
+
get host() { return getElement(this); }
|
|
64
|
+
};
|
|
65
|
+
CasinoEngagementSuiteProgressBar.style = CasinoEngagementSuiteProgressBarStyle0;
|
|
66
|
+
|
|
67
|
+
export { CasinoEngagementSuiteProgressBar as casino_engagement_suite_progress_bar };
|