@everymatrix/bonus-elevate-powerups 0.5.32 → 0.5.34
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/bonus-elevate-powerups/bonus-elevate-powerups-ddc881f7.js +1 -0
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups.esm.js +1 -1
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups_19.entry.js +1 -1
- package/dist/bonus-elevate-powerups/index.esm.js +1 -1
- package/dist/cjs/{bonus-elevate-powerups-db00fdba.js → bonus-elevate-powerups-8e9d9d8c.js} +40 -9
- package/dist/cjs/bonus-elevate-powerups.cjs.js +1 -1
- package/dist/cjs/bonus-elevate-powerups_19.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/bonus-elevate-powerups/bonus-elevate-powerups.css +4 -2
- package/dist/collection/components/bonus-elevate-powerups/bonus-elevate-powerups.js +80 -8
- package/dist/collection/utils/utils.js +14 -2
- package/dist/esm/{bonus-elevate-powerups-53fa8afa.js → bonus-elevate-powerups-ddc881f7.js} +40 -9
- package/dist/esm/bonus-elevate-powerups.js +1 -1
- package/dist/esm/bonus-elevate-powerups_19.entry.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bonus-elevate-powerups/bonus-elevate-powerups.d.ts +15 -0
- package/dist/types/components.d.ts +24 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/package.json +1 -1
- package/dist/bonus-elevate-powerups/bonus-elevate-powerups-53fa8afa.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as BonusElevatePowerups}from"./bonus-elevate-powerups-
|
|
1
|
+
export{B as BonusElevatePowerups}from"./bonus-elevate-powerups-ddc881f7.js";import"./index-3fd29a7b.js";
|
|
@@ -215,12 +215,12 @@ const ShowAll = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xml
|
|
|
215
215
|
|
|
216
216
|
const powerUpSearchConditions = {
|
|
217
217
|
expand: "games",
|
|
218
|
-
fields: "id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail)",
|
|
218
|
+
fields: "id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail,launchUrl,vendor,hasFunMode)",
|
|
219
219
|
status: `${PowerUpStatus.ACTIVE},${PowerUpStatus.ACTIVATED}`
|
|
220
220
|
};
|
|
221
221
|
const powerUpGameSearchConditions = {
|
|
222
222
|
expand: "games",
|
|
223
|
-
fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail)"
|
|
223
|
+
fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail,launchUrl,vendor,hasFunMode)"
|
|
224
224
|
};
|
|
225
225
|
const generalInputStyling = `
|
|
226
226
|
.pageLimits__input [part='input-field'] ::slotted([slot='value']:not([placeholder])) {
|
|
@@ -250,14 +250,27 @@ const generalInputStyling = `
|
|
|
250
250
|
padding: 5px;
|
|
251
251
|
height: 34px;
|
|
252
252
|
}`;
|
|
253
|
+
/**
|
|
254
|
+
* @name isMobile
|
|
255
|
+
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
256
|
+
* @param {String} userAgent window.navigator.userAgent
|
|
257
|
+
* @returns {Boolean} true or false
|
|
258
|
+
*/
|
|
259
|
+
const isMobile = (userAgent) => {
|
|
260
|
+
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
261
|
+
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
262
|
+
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
263
|
+
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
264
|
+
};
|
|
253
265
|
|
|
254
|
-
const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){:host{--game-amount-line:3}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .GamesTitle .TitleRight,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .GamesTitle .TitleRight{display:flex}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){:host{--game-amount-line:2}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:500px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{min-height:60vh;width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1;font-size:small;margin-top:8px}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px;font-size:large;font-family:var(--emw--font-family-primary, \"Montserrat\", sans-serif)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:smaller;gap:10px;display:flex;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted{color:transparent;-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{color:var(--emw--color-powup-light-green, #18CE51);text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{text-decoration:none}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .TitleRight{display:none;gap:5px;align-items:center}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon{transition:rotate 200ms ease-in-out}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon.Collapse{rotate:0deg}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon.Expanded{rotate:-90deg}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:flex-start;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{transition:height 200ms ease-in-out;padding:0;display:flex;align-items:flex-start;align-content:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:calc(30px / (var(--game-amount-line) - 1))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games.Expanded{height:400px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games.Collapse{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:calc((100% - 30px) / var(--game-amount-line));position:relative;min-width:132px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{display:none;transition:display;transition-duration:0.2s;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem.Active,.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem:hover{color:#00B74F;border:2px solid #00B74F}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem{background:transparent;border:2px solid rgba(188, 252, 177, 0.0509803922);border-radius:36px;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.PowerUpsContainer .Pagination .PageNavigation .PageArrow{color:transparent}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.PrePage.Disabled,.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage.Disabled{cursor:default;background-image:url(\"data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.25592 0.244078C7.58136 0.569515 7.58136 1.09715 7.25592 1.42259L2.84518 5.83333H12.5C12.9602 5.83333 13.3333 6.20643 13.3333 6.66667C13.3333 7.1269 12.9602 7.5 12.5 7.5H2.84518L7.25592 11.9107C7.58136 12.2362 7.58136 12.7638 7.25592 13.0893C6.93049 13.4147 6.40285 13.4147 6.07741 13.0893L0.244078 7.25592C-0.0813592 6.93049 -0.0813592 6.40285 0.244078 6.07741L6.07741 0.244078C6.40285 -0.0813592 6.93049 -0.0813592 7.25592 0.244078Z' fill='gray'/%3E%3C/svg%3E\")}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.PrePage,.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage{background-image:url(\"data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.25592 0.244078C7.58136 0.569515 7.58136 1.09715 7.25592 1.42259L2.84518 5.83333H12.5C12.9602 5.83333 13.3333 6.20643 13.3333 6.66667C13.3333 7.1269 12.9602 7.5 12.5 7.5H2.84518L7.25592 11.9107C7.58136 12.2362 7.58136 12.7638 7.25592 13.0893C6.93049 13.4147 6.40285 13.4147 6.07741 13.0893L0.244078 7.25592C-0.0813592 6.93049 -0.0813592 6.40285 0.244078 6.07741L6.07741 0.244078C6.40285 -0.0813592 6.93049 -0.0813592 7.25592 0.244078Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;display:inherit;width:fit-content;padding:0 15px}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage{rotate:180deg}.PowerUpsContainer .GameStartBtn{width:98px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, #03832D 0%, #4DC071 100%);border:1px solid #FFFFFF;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.PowerUpsContainer .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}";
|
|
266
|
+
const bonusElevatePowerupsCss = ":host{display:block;font-family:inherit;--game-amount-line:4}@media screen and (max-width: 768px){:host{--game-amount-line:3}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:32%}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{padding:8px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .GamesTitle .TitleRight,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .GamesTitle .TitleRight{display:flex}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:8px}}@media screen and (max-width: 470px){:host{--game-amount-line:2}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:45%}.PowerUpsContainer .PowerUps .PowerUpItem.Card{max-height:600px;height:fit-content;flex-direction:column}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft{gap:10px;min-width:320px}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{width:auto;height:51%;overflow:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight{margin:auto}.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardLeft .Game,.PowerUpsContainer .PowerUps .PowerUpItem.Card .CardRight .Game{width:45%}}.PowerUpsContainer{font-size:0.95rem;display:flex;flex-direction:column;min-height:500px}.PowerUpsContainer .EmptyPowerups{align-items:center;justify-content:center;font-weight:400;font-size:1.2em;line-height:24px;text-align:center;vertical-align:middle;width:max-content;margin:auto;display:flex;flex-direction:column;padding:50px}.PowerUpsContainer .EmptyPowerups .Icon,.PowerUpsContainer .EmptyPowerups .NoPowerTitle{text-align:center}.PowerUpsContainer .EmptyPowerups .Icon svg,.PowerUpsContainer .EmptyPowerups .NoPowerTitle svg{width:40px}.PowerUpsContainer .EmptyPowerups .NoPowerTitle{font-size:1.2em;font-weight:bold;margin:10px}.PowerUpsContainer .PowerUps{min-height:60vh;width:100%;gap:12px;display:flex;flex-direction:column}.PowerUpsContainer .PowerUps time-count{margin-left:3px}.PowerUpsContainer .PowerUps .Card{width:100%;max-height:307px;gap:12px;border-radius:12px;border:2px solid var(--emw--button-border-color-secondary, rgba(188, 252, 177, 0.0509803922));display:flex;flex-direction:row}.PowerUpsContainer .PowerUps .Card .CardLeft,.PowerUpsContainer .PowerUps .Card .CardRight{display:flex;flex-direction:column}.PowerUpsContainer .PowerUps .Card .CardLeft{padding:20px;width:35%;display:flex;min-width:339px;flex-direction:column;justify-content:space-between}.PowerUpsContainer .PowerUps .Card .CardLeft .MainInfo{display:flex;flex-direction:column;gap:12px}.PowerUpsContainer .PowerUps .Card .CardRight{padding:10px}.PowerUpsContainer .PowerUps .Card .Description{color:var(--emw--color-gray-150, #c8d6ce);line-height:1.2rem;flex:1;font-size:small;margin-top:8px}.PowerUpsContainer .PowerUps .Card .CardLeft .DisplayName{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;height:22px;gap:12px;font-size:large;font-family:var(--emw--font-family-primary, \"Montserrat\", sans-serif)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier{text-transform:uppercase;font-size:smaller;gap:10px;display:flex;color:var(--emw--color-gray-dark, #727672)}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Label{text-transform:uppercase}.PowerUpsContainer .PowerUps .Card .CardLeft .PowerUpMultiplier .ExpireCount .Highlighted{color:transparent;-webkit-background-clip:text;background-clip:text;background-image:linear-gradient(180deg, var(--emw--color-powup-orange1, #EA9018) 0%, var(--emw--color-powup-orange2, #E0A84E) 100%)}.PowerUpsContainer .PowerUps .Card .CardLeft .ExpireCount,.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{display:inline-block;-webkit-background-clip:text;background-clip:text}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC{color:var(--emw--color-powup-light-green, #18CE51);text-transform:uppercase;background-image:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);font-size:0.8em;font-weight:bold}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a{color:inherit;text-decoration:none}.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span{color:inherit;cursor:pointer}.PowerUpsContainer .PowerUps .Card .GamesContent{margin:20px;flex:1;gap:12px;display:flex;border-radius:8px;border:2px solid var(--emw--color-powup-light-green-0D, rgba(188, 252, 177, 0.0509803922))}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .TitleRight{display:none;gap:5px;align-items:center}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon{transition:rotate 200ms ease-in-out}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon.Collapse{rotate:0deg}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .SeeAllIcon.Expanded{rotate:-90deg}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .Title2{text-transform:capitalize}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesTitle .GamesAmount{opacity:0.8}.PowerUpsContainer .PowerUps .Card .GamesContent .GameTitleTip{color:var(--emw--color-powup-gray-green, #C8D6CE);font-size:0.8rem}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList{display:flex;justify-content:flex-start;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--background-gray-color, gray) transparent}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games{transition:height 200ms ease-in-out;padding:0;display:flex;align-items:flex-start;align-content:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:12px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games.Expanded{height:400px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games.Collapse{height:108px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game{width:158px;position:relative;min-width:132px}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game .GameMask{display:none;transition:display;transition-duration:0.2s;position:absolute;width:70%;height:100%}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .mask-filter{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover img{opacity:0.4;filter:blur(1.5px)}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameStartBtn{opacity:1}.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;left:0;height:100%;top:0;border-radius:8px}.PowerUpsContainer .Pagination{display:flex;justify-content:center}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem.Active,.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem:hover{color:#00B74F;border:2px solid #00B74F}.PowerUpsContainer .Pagination ul.PaginationArea li.PageItem{background:transparent;border:2px solid rgba(188, 252, 177, 0.0509803922);border-radius:36px;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.PowerUpsContainer .Pagination .PageNavigation .PageArrow{color:transparent}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.PrePage.Disabled,.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage.Disabled{cursor:default;background-image:url(\"data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.25592 0.244078C7.58136 0.569515 7.58136 1.09715 7.25592 1.42259L2.84518 5.83333H12.5C12.9602 5.83333 13.3333 6.20643 13.3333 6.66667C13.3333 7.1269 12.9602 7.5 12.5 7.5H2.84518L7.25592 11.9107C7.58136 12.2362 7.58136 12.7638 7.25592 13.0893C6.93049 13.4147 6.40285 13.4147 6.07741 13.0893L0.244078 7.25592C-0.0813592 6.93049 -0.0813592 6.40285 0.244078 6.07741L6.07741 0.244078C6.40285 -0.0813592 6.93049 -0.0813592 7.25592 0.244078Z' fill='gray'/%3E%3C/svg%3E\")}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.PrePage,.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage{background-image:url(\"data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.25592 0.244078C7.58136 0.569515 7.58136 1.09715 7.25592 1.42259L2.84518 5.83333H12.5C12.9602 5.83333 13.3333 6.20643 13.3333 6.66667C13.3333 7.1269 12.9602 7.5 12.5 7.5H2.84518L7.25592 11.9107C7.58136 12.2362 7.58136 12.7638 7.25592 13.0893C6.93049 13.4147 6.40285 13.4147 6.07741 13.0893L0.244078 7.25592C-0.0813592 6.93049 -0.0813592 6.40285 0.244078 6.07741L6.07741 0.244078C6.40285 -0.0813592 6.93049 -0.0813592 7.25592 0.244078Z' fill='white'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;display:inherit;width:fit-content;padding:0 15px}.PowerUpsContainer .Pagination .PageNavigation .PageArrow.NextPage{rotate:180deg}.PowerUpsContainer .GameStartBtn{width:98px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, #03832D 0%, #4DC071 100%);border:1px solid #FFFFFF;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.PowerUpsContainer .GameStartBtn .PlayIcon{background-image:url('data:image/svg+xml;charset=utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"11\" viewBox=\"0 0 11 11\" fill=\"none\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z\" fill=\"white\"/> <path d=\"M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z\" fill=\"white\"/></svg>');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}";
|
|
255
267
|
const BonusElevatePowerupsStyle0 = bonusElevatePowerupsCss;
|
|
256
268
|
|
|
257
269
|
const BonusElevatePowerups = class {
|
|
258
270
|
constructor(hostRef) {
|
|
259
271
|
index.registerInstance(this, hostRef);
|
|
260
272
|
this.tableId = 'powerups';
|
|
273
|
+
this.userAgent = window.navigator.userAgent;
|
|
261
274
|
this.gameObservers = new Map();
|
|
262
275
|
this.mbSource = undefined;
|
|
263
276
|
this.clientStyling = undefined;
|
|
@@ -267,8 +280,11 @@ const BonusElevatePowerups = class {
|
|
|
267
280
|
this.endpoint = undefined;
|
|
268
281
|
this.session = undefined;
|
|
269
282
|
this.limit = 10;
|
|
270
|
-
this.openTermsPage =
|
|
283
|
+
this.openTermsPage = true;
|
|
271
284
|
this.pageLimitOptions = '10,25,50';
|
|
285
|
+
this.gamepageModalUrl = undefined;
|
|
286
|
+
this.integratedGameframeMobile = false;
|
|
287
|
+
this.integratedGameframeDesktop = false;
|
|
272
288
|
this.pageLimitSelectOptions = [];
|
|
273
289
|
this.isLoading = true;
|
|
274
290
|
this.powerups = [];
|
|
@@ -354,8 +370,23 @@ const BonusElevatePowerups = class {
|
|
|
354
370
|
this.listIsExpanded[powerup.id] = !this.listIsExpanded[powerup.id];
|
|
355
371
|
this.listIsExpanded = Object.assign({}, this.listIsExpanded);
|
|
356
372
|
}
|
|
373
|
+
gameClicked(game) {
|
|
374
|
+
const { gameId, hasFunMode: gamefunmode, vendor: gamevendor, launchUrl: gamelaunchurl } = game;
|
|
375
|
+
const isWithMobile = isMobile(this.userAgent), identifier = "PowerupsLobby";
|
|
376
|
+
const gamepageModalUrl = this.gamepageModalUrl;
|
|
377
|
+
const useIntegratedFrame = isWithMobile ? this.integratedGameframeMobile : this.integratedGameframeDesktop;
|
|
378
|
+
if (useIntegratedFrame) {
|
|
379
|
+
const source = isWithMobile ? 'GameThumbnail' : undefined;
|
|
380
|
+
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl: gamepageModalUrl,
|
|
381
|
+
isMobile: isWithMobile, source, identifier, subVendor: gamevendor, launchUrl: gamelaunchurl }, window.location.href);
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
window.postMessage({ type: 'ShowGameModal', gameId, isMobile: isWithMobile }, window.location.href);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
;
|
|
357
388
|
onGameClick(game) {
|
|
358
|
-
|
|
389
|
+
this.gameClicked(game);
|
|
359
390
|
}
|
|
360
391
|
onTermsUrlClick(powerup) {
|
|
361
392
|
window.postMessage({ type: 'onPowerupTermsUrlClicked', termsUrl: powerup.termsUrl, id: powerup.id }, '*');
|
|
@@ -427,16 +458,16 @@ const BonusElevatePowerups = class {
|
|
|
427
458
|
});
|
|
428
459
|
}
|
|
429
460
|
render() {
|
|
430
|
-
return index.h("div", { key: '
|
|
461
|
+
return index.h("div", { key: '4e87a69fc75ae23f147750935d1c639264d35af5', class: `PowerUpsContainer`, ref: (el) => (this.stylingContainer = el) }, this.isLoading
|
|
431
462
|
? index.h("p", null, "Loading...")
|
|
432
463
|
: !this.total ?
|
|
433
464
|
index.h("div", { class: 'EmptyPowerups' }, index.h("div", { class: 'Icon', innerHTML: ClearSearch }), index.h("span", { class: 'NoPowerTitle' }, translate('nothingHere', this.language)), index.h("div", { class: 'NoPowerDescription' }, index.h("span", null, translate('noPowerUps')), index.h("span", null, translate('gotoShop'))), index.h("div", null))
|
|
434
465
|
: [index.h("div", { class: 'PowerUps' }, this.powerups.map(powerup => {
|
|
435
466
|
var _a, _b;
|
|
436
|
-
return index.h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id }, index.h("div", { class: 'CardLeft' }, index.h("div", { class: 'MainInfo' }, index.h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), index.h("div", { class: 'Title2 PowerUpMultiplier' }, index.h("span", { class: 'BoostingPeriod' }, index.h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), index.h("span", { class: 'Spliter' }, "|"), index.h("span", { class: 'Multiplier' }, "X ", powerup.multiplier.coefficient, " "), index.h("span", { class: 'Spliter' }, "|"), index.h("span", { class: 'MultiplierMode' }, translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [index.h("span", { class: 'Spliter' }, " | "), index.h("span", { class: 'ExpireCount' }, index.h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), index.h("div", { class: 'Description' }, powerup.description)), index.h("div", { class: 'TermsC' }, this.openTermsPage
|
|
437
|
-
? index.h("a", { href: powerup.termsUrl
|
|
467
|
+
return index.h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id, key: powerup.id }, index.h("div", { class: 'CardLeft' }, index.h("div", { class: 'MainInfo' }, index.h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), index.h("div", { class: 'Title2 PowerUpMultiplier' }, index.h("span", { class: 'BoostingPeriod' }, index.h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), index.h("span", { class: 'Spliter' }, "|"), index.h("span", { class: 'Multiplier' }, "X ", powerup.multiplier.coefficient, " "), index.h("span", { class: 'Spliter' }, "|"), index.h("span", { class: 'MultiplierMode' }, translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [index.h("span", { class: 'Spliter' }, " | "), index.h("span", { class: 'ExpireCount' }, index.h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), index.h("div", { class: 'Description' }, powerup.description)), index.h("div", { class: 'TermsC' }, this.openTermsPage && powerup.termsUrl
|
|
468
|
+
? index.h("a", { href: powerup.termsUrl, target: '_blank' }, translate('termsCon', this.language))
|
|
438
469
|
: index.h("span", { onClick: () => this.onTermsUrlClick(powerup) }, translate('termsCon', this.language), " "))), index.h("div", { class: 'GamesContent CardRight' }, index.h("div", { class: 'GamesTitle' }, index.h("div", { class: 'TitleLeft' }, index.h("span", { class: 'Title2' }, " ", translate('games', this.language)), index.h("span", { class: 'GamesAmount' }, " ( ", ((_a = powerup.games) === null || _a === void 0 ? void 0 : _a.total) || 0, " ) ")), index.h("div", { class: 'TitleRight ', onClick: () => this.onExpandGames(powerup) }, index.h("span", { class: 'SeeAll' }, translate('seeAll', this.language)), index.h("div", { class: `SeeAllIcon ${this.listIsExpanded && this.listIsExpanded[powerup.id] ? 'Expanded' : 'Collapsed'}`, innerHTML: ShowAll }))), index.h("div", { class: 'GameTitleTip' }, translate('selectGameToActive', this.language)), index.h("div", { class: 'GamesList' }, index.h("div", { class: `Games ${this.listIsExpanded && this.listIsExpanded[powerup.id] ? 'Expanded' : 'Collapsed'}` }, (_b = powerup.games) === null || _b === void 0 ? void 0 : _b.items.map(g => {
|
|
439
|
-
return index.h("div", { class: 'Game' }, index.h("ui-image", { src: g.thumbnail }), index.h("div", { class: 'GameMask', onClick: this.
|
|
470
|
+
return index.h("div", { class: 'Game', key: g.gameId }, index.h("ui-image", { src: g.thumbnail }), index.h("div", { class: 'GameMask', onClick: () => this.gameClicked(g) }, index.h("div", { class: 'GameStartBtn' }, index.h("div", { class: 'PlayIcon' }), index.h("span", null, translate('playNow', this.language)))));
|
|
440
471
|
})))));
|
|
441
472
|
})), index.h("div", { class: 'Pagination' }, this.total && [
|
|
442
473
|
index.h("bonus-pagination-nav", { offset: this.offset, limit: this.limit, "secondary-arrows-active": true, "table-id": this.tableId, total: this.total }),
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"bonus-pagination-limits.cjs\",[[0,\"bonus-pagination-limits\",{\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"pageLimitOptions\":[513,\"page-limit-options\"],\"limit\":[1538],\"pageLimits\":[32]}]]],[\"bonus-elevate-powerups_19.cjs\",[[1,\"bonus-elevate-powerups\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"session\":[513],\"limit\":[1538],\"openTermsPage\":[516,\"open-terms-page\"],\"pageLimitOptions\":[1537,\"page-limit-options\"],\"pageLimitSelectOptions\":[32],\"isLoading\":[32],\"powerups\":[32],\"offset\":[32],\"total\":[32],\"listIsExpanded\":[32]},[[8,\"reloadPageByType\",\"onReloadPageByType\"],[16,\"sendInputValue\",\"onPageLimitChangedHandler\"]],{\"offset\":[\"loadData\"],\"limit\":[\"loadData\"],\"language\":[\"loadData\"],\"session\":[\"loadData\",\"handleDataConfigChange\"],\"endpoint\":[\"loadData\",\"handleDataConfigChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[0,\"ui-image\",{\"src\":[1],\"width\":[1],\"height\":[1],\"alt\":[1],\"styles\":[8],\"detectDistance\":[1,\"detect-distance\"],\"imgLoaded\":[32],\"shouldLoad\":[32]},null,{\"src\":[\"handleSrc\"]}],[0,\"bonus-pagination-nav\",{\"total\":[1538],\"limit\":[1538],\"offset\":[1538],\"tableId\":[1537,\"table-id\"],\"language\":[1537],\"translationUrl\":[513,\"translation-url\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"displayPageNumbers\":[1540,\"display-page-numbers\"],\"displayRangeOfTotal\":[1540,\"display-range-of-total\"],\"navItemAccount\":[1538,\"nav-item-account\"],\"endPageIndex\":[32],\"pagesArray\":[32],\"currentPage\":[32],\"showAsEllipsisMid\":[32]},[[8,\"paginationReset\",\"pageLimitChangedHandler\"],[8,\"pageLimitChanged\",\"pageLimitChangedHandler\"]]],[0,\"time-count\",{\"expireTime\":[1,\"expire-time\"],\"language\":[1],\"displayTime\":[32],\"isExpireInDay1\":[32]},null,{\"expireTime\":[\"startTimeChanged\"]}],[0,\"ui-skeleton\",{\"structure\":[1],\"width\":[1],\"height\":[1],\"borderRadius\":[8,\"border-radius\"],\"marginBottom\":[8,\"margin-bottom\"],\"marginTop\":[8,\"margin-top\"],\"marginLeft\":[8,\"margin-left\"],\"marginRight\":[8,\"margin-right\"],\"animation\":[4],\"rows\":[2],\"size\":[1]},null,{\"structure\":[\"handleStructureChange\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"bonus-pagination-limits.cjs\",[[0,\"bonus-pagination-limits\",{\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"pageLimitOptions\":[513,\"page-limit-options\"],\"limit\":[1538],\"pageLimits\":[32]}]]],[\"bonus-elevate-powerups_19.cjs\",[[1,\"bonus-elevate-powerups\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"session\":[513],\"limit\":[1538],\"openTermsPage\":[516,\"open-terms-page\"],\"pageLimitOptions\":[1537,\"page-limit-options\"],\"gamepageModalUrl\":[1,\"gamepage-modal-url\"],\"integratedGameframeMobile\":[4,\"integrated-gameframe-mobile\"],\"integratedGameframeDesktop\":[4,\"integrated-gameframe-desktop\"],\"pageLimitSelectOptions\":[32],\"isLoading\":[32],\"powerups\":[32],\"offset\":[32],\"total\":[32],\"listIsExpanded\":[32]},[[8,\"reloadPageByType\",\"onReloadPageByType\"],[16,\"sendInputValue\",\"onPageLimitChangedHandler\"]],{\"offset\":[\"loadData\"],\"limit\":[\"loadData\"],\"language\":[\"loadData\"],\"session\":[\"loadData\",\"handleDataConfigChange\"],\"endpoint\":[\"loadData\",\"handleDataConfigChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[0,\"ui-image\",{\"src\":[1],\"width\":[1],\"height\":[1],\"alt\":[1],\"styles\":[8],\"detectDistance\":[1,\"detect-distance\"],\"imgLoaded\":[32],\"shouldLoad\":[32]},null,{\"src\":[\"handleSrc\"]}],[0,\"bonus-pagination-nav\",{\"total\":[1538],\"limit\":[1538],\"offset\":[1538],\"tableId\":[1537,\"table-id\"],\"language\":[1537],\"translationUrl\":[513,\"translation-url\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"displayPageNumbers\":[1540,\"display-page-numbers\"],\"displayRangeOfTotal\":[1540,\"display-range-of-total\"],\"navItemAccount\":[1538,\"nav-item-account\"],\"endPageIndex\":[32],\"pagesArray\":[32],\"currentPage\":[32],\"showAsEllipsisMid\":[32]},[[8,\"paginationReset\",\"pageLimitChangedHandler\"],[8,\"pageLimitChanged\",\"pageLimitChangedHandler\"]]],[0,\"time-count\",{\"expireTime\":[1,\"expire-time\"],\"language\":[1],\"displayTime\":[32],\"isExpireInDay1\":[32]},null,{\"expireTime\":[\"startTimeChanged\"]}],[0,\"ui-skeleton\",{\"structure\":[1],\"width\":[1],\"height\":[1],\"borderRadius\":[8,\"border-radius\"],\"marginBottom\":[8,\"margin-bottom\"],\"marginTop\":[8,\"margin-top\"],\"marginLeft\":[8,\"margin-left\"],\"marginRight\":[8,\"margin-right\"],\"animation\":[4],\"rows\":[2],\"size\":[1]},null,{\"structure\":[\"handleStructureChange\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), 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 bonusElevatePowerups = require('./bonus-elevate-powerups-
|
|
5
|
+
const bonusElevatePowerups = require('./bonus-elevate-powerups-8e9d9d8c.js');
|
|
6
6
|
const index = require('./index-40b12efc.js');
|
|
7
7
|
|
|
8
8
|
const DEFAULT_LANGUAGE$1 = 'en';
|
package/dist/cjs/index.cjs.js
CHANGED
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"bonus-pagination-limits.cjs\",[[0,\"bonus-pagination-limits\",{\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"pageLimitOptions\":[513,\"page-limit-options\"],\"limit\":[1538],\"pageLimits\":[32]}]]],[\"bonus-elevate-powerups_19.cjs\",[[1,\"bonus-elevate-powerups\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"session\":[513],\"limit\":[1538],\"openTermsPage\":[516,\"open-terms-page\"],\"pageLimitOptions\":[1537,\"page-limit-options\"],\"pageLimitSelectOptions\":[32],\"isLoading\":[32],\"powerups\":[32],\"offset\":[32],\"total\":[32],\"listIsExpanded\":[32]},[[8,\"reloadPageByType\",\"onReloadPageByType\"],[16,\"sendInputValue\",\"onPageLimitChangedHandler\"]],{\"offset\":[\"loadData\"],\"limit\":[\"loadData\"],\"language\":[\"loadData\"],\"session\":[\"loadData\",\"handleDataConfigChange\"],\"endpoint\":[\"loadData\",\"handleDataConfigChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[0,\"ui-image\",{\"src\":[1],\"width\":[1],\"height\":[1],\"alt\":[1],\"styles\":[8],\"detectDistance\":[1,\"detect-distance\"],\"imgLoaded\":[32],\"shouldLoad\":[32]},null,{\"src\":[\"handleSrc\"]}],[0,\"bonus-pagination-nav\",{\"total\":[1538],\"limit\":[1538],\"offset\":[1538],\"tableId\":[1537,\"table-id\"],\"language\":[1537],\"translationUrl\":[513,\"translation-url\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"displayPageNumbers\":[1540,\"display-page-numbers\"],\"displayRangeOfTotal\":[1540,\"display-range-of-total\"],\"navItemAccount\":[1538,\"nav-item-account\"],\"endPageIndex\":[32],\"pagesArray\":[32],\"currentPage\":[32],\"showAsEllipsisMid\":[32]},[[8,\"paginationReset\",\"pageLimitChangedHandler\"],[8,\"pageLimitChanged\",\"pageLimitChangedHandler\"]]],[0,\"time-count\",{\"expireTime\":[1,\"expire-time\"],\"language\":[1],\"displayTime\":[32],\"isExpireInDay1\":[32]},null,{\"expireTime\":[\"startTimeChanged\"]}],[0,\"ui-skeleton\",{\"structure\":[1],\"width\":[1],\"height\":[1],\"borderRadius\":[8,\"border-radius\"],\"marginBottom\":[8,\"margin-bottom\"],\"marginTop\":[8,\"margin-top\"],\"marginLeft\":[8,\"margin-left\"],\"marginRight\":[8,\"margin-right\"],\"animation\":[4],\"rows\":[2],\"size\":[1]},null,{\"structure\":[\"handleStructureChange\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"bonus-pagination-limits.cjs\",[[0,\"bonus-pagination-limits\",{\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"pageLimitOptions\":[513,\"page-limit-options\"],\"limit\":[1538],\"pageLimits\":[32]}]]],[\"bonus-elevate-powerups_19.cjs\",[[1,\"bonus-elevate-powerups\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"session\":[513],\"limit\":[1538],\"openTermsPage\":[516,\"open-terms-page\"],\"pageLimitOptions\":[1537,\"page-limit-options\"],\"gamepageModalUrl\":[1,\"gamepage-modal-url\"],\"integratedGameframeMobile\":[4,\"integrated-gameframe-mobile\"],\"integratedGameframeDesktop\":[4,\"integrated-gameframe-desktop\"],\"pageLimitSelectOptions\":[32],\"isLoading\":[32],\"powerups\":[32],\"offset\":[32],\"total\":[32],\"listIsExpanded\":[32]},[[8,\"reloadPageByType\",\"onReloadPageByType\"],[16,\"sendInputValue\",\"onPageLimitChangedHandler\"]],{\"offset\":[\"loadData\"],\"limit\":[\"loadData\"],\"language\":[\"loadData\"],\"session\":[\"loadData\",\"handleDataConfigChange\"],\"endpoint\":[\"loadData\",\"handleDataConfigChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[0,\"ui-image\",{\"src\":[1],\"width\":[1],\"height\":[1],\"alt\":[1],\"styles\":[8],\"detectDistance\":[1,\"detect-distance\"],\"imgLoaded\":[32],\"shouldLoad\":[32]},null,{\"src\":[\"handleSrc\"]}],[0,\"bonus-pagination-nav\",{\"total\":[1538],\"limit\":[1538],\"offset\":[1538],\"tableId\":[1537,\"table-id\"],\"language\":[1537],\"translationUrl\":[513,\"translation-url\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"displayPageNumbers\":[1540,\"display-page-numbers\"],\"displayRangeOfTotal\":[1540,\"display-range-of-total\"],\"navItemAccount\":[1538,\"nav-item-account\"],\"endPageIndex\":[32],\"pagesArray\":[32],\"currentPage\":[32],\"showAsEllipsisMid\":[32]},[[8,\"paginationReset\",\"pageLimitChangedHandler\"],[8,\"pageLimitChanged\",\"pageLimitChangedHandler\"]]],[0,\"time-count\",{\"expireTime\":[1,\"expire-time\"],\"language\":[1],\"displayTime\":[32],\"isExpireInDay1\":[32]},null,{\"expireTime\":[\"startTimeChanged\"]}],[0,\"ui-skeleton\",{\"structure\":[1],\"width\":[1],\"height\":[1],\"borderRadius\":[8,\"border-radius\"],\"marginBottom\":[8,\"margin-bottom\"],\"marginTop\":[8,\"margin-top\"],\"marginLeft\":[8,\"margin-left\"],\"marginRight\":[8,\"margin-right\"],\"animation\":[4],\"rows\":[2],\"size\":[1]},null,{\"structure\":[\"handleStructureChange\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -171,9 +171,11 @@
|
|
|
171
171
|
font-weight: bold;
|
|
172
172
|
}
|
|
173
173
|
.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC a {
|
|
174
|
+
color: inherit;
|
|
174
175
|
text-decoration: none;
|
|
175
176
|
}
|
|
176
177
|
.PowerUpsContainer .PowerUps .Card .CardLeft .TermsC span {
|
|
178
|
+
color: inherit;
|
|
177
179
|
cursor: pointer;
|
|
178
180
|
}
|
|
179
181
|
.PowerUpsContainer .PowerUps .Card .GamesContent {
|
|
@@ -234,7 +236,7 @@
|
|
|
234
236
|
align-content: flex-start;
|
|
235
237
|
justify-content: flex-start;
|
|
236
238
|
flex-wrap: wrap;
|
|
237
|
-
gap:
|
|
239
|
+
gap: 12px;
|
|
238
240
|
}
|
|
239
241
|
.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games.Expanded {
|
|
240
242
|
height: 400px;
|
|
@@ -243,7 +245,7 @@
|
|
|
243
245
|
height: 108px;
|
|
244
246
|
}
|
|
245
247
|
.PowerUpsContainer .PowerUps .Card .GamesContent .GamesList .Games .Game {
|
|
246
|
-
width:
|
|
248
|
+
width: 158px;
|
|
247
249
|
position: relative;
|
|
248
250
|
min-width: 132px;
|
|
249
251
|
}
|
|
@@ -8,10 +8,11 @@ import "../../../../../bonus-pagination-nav/dist/types/index";
|
|
|
8
8
|
import "../../../../../bonus-pagination-limits/dist/types/index";
|
|
9
9
|
import "../../../../../general-input/dist/types/index";
|
|
10
10
|
import "../../../../../ui-image/dist/types/index";
|
|
11
|
-
import { powerUpGameSearchConditions, powerUpSearchConditions, generalInputStyling } from "../../utils/utils";
|
|
11
|
+
import { powerUpGameSearchConditions, powerUpSearchConditions, generalInputStyling, isMobile } from "../../utils/utils";
|
|
12
12
|
export class BonusElevatePowerups {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.tableId = 'powerups';
|
|
15
|
+
this.userAgent = window.navigator.userAgent;
|
|
15
16
|
this.gameObservers = new Map();
|
|
16
17
|
this.mbSource = undefined;
|
|
17
18
|
this.clientStyling = undefined;
|
|
@@ -21,8 +22,11 @@ export class BonusElevatePowerups {
|
|
|
21
22
|
this.endpoint = undefined;
|
|
22
23
|
this.session = undefined;
|
|
23
24
|
this.limit = 10;
|
|
24
|
-
this.openTermsPage =
|
|
25
|
+
this.openTermsPage = true;
|
|
25
26
|
this.pageLimitOptions = '10,25,50';
|
|
27
|
+
this.gamepageModalUrl = undefined;
|
|
28
|
+
this.integratedGameframeMobile = false;
|
|
29
|
+
this.integratedGameframeDesktop = false;
|
|
26
30
|
this.pageLimitSelectOptions = [];
|
|
27
31
|
this.isLoading = true;
|
|
28
32
|
this.powerups = [];
|
|
@@ -108,8 +112,23 @@ export class BonusElevatePowerups {
|
|
|
108
112
|
this.listIsExpanded[powerup.id] = !this.listIsExpanded[powerup.id];
|
|
109
113
|
this.listIsExpanded = Object.assign({}, this.listIsExpanded);
|
|
110
114
|
}
|
|
115
|
+
gameClicked(game) {
|
|
116
|
+
const { gameId, hasFunMode: gamefunmode, vendor: gamevendor, launchUrl: gamelaunchurl } = game;
|
|
117
|
+
const isWithMobile = isMobile(this.userAgent), identifier = "PowerupsLobby";
|
|
118
|
+
const gamepageModalUrl = this.gamepageModalUrl;
|
|
119
|
+
const useIntegratedFrame = isWithMobile ? this.integratedGameframeMobile : this.integratedGameframeDesktop;
|
|
120
|
+
if (useIntegratedFrame) {
|
|
121
|
+
const source = isWithMobile ? 'GameThumbnail' : undefined;
|
|
122
|
+
window.postMessage({ type: 'OpenGameFrame', gameId, gamefunmode, gamepagemodalurl: gamepageModalUrl,
|
|
123
|
+
isMobile: isWithMobile, source, identifier, subVendor: gamevendor, launchUrl: gamelaunchurl }, window.location.href);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
window.postMessage({ type: 'ShowGameModal', gameId, isMobile: isWithMobile }, window.location.href);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
;
|
|
111
130
|
onGameClick(game) {
|
|
112
|
-
|
|
131
|
+
this.gameClicked(game);
|
|
113
132
|
}
|
|
114
133
|
onTermsUrlClick(powerup) {
|
|
115
134
|
window.postMessage({ type: 'onPowerupTermsUrlClicked', termsUrl: powerup.termsUrl, id: powerup.id }, '*');
|
|
@@ -181,16 +200,16 @@ export class BonusElevatePowerups {
|
|
|
181
200
|
});
|
|
182
201
|
}
|
|
183
202
|
render() {
|
|
184
|
-
return h("div", { key: '
|
|
203
|
+
return h("div", { key: '4e87a69fc75ae23f147750935d1c639264d35af5', class: `PowerUpsContainer`, ref: (el) => (this.stylingContainer = el) }, this.isLoading
|
|
185
204
|
? h("p", null, "Loading...")
|
|
186
205
|
: !this.total ?
|
|
187
206
|
h("div", { class: 'EmptyPowerups' }, h("div", { class: 'Icon', innerHTML: ClearSearch }), h("span", { class: 'NoPowerTitle' }, translate('nothingHere', this.language)), h("div", { class: 'NoPowerDescription' }, h("span", null, translate('noPowerUps')), h("span", null, translate('gotoShop'))), h("div", null))
|
|
188
207
|
: [h("div", { class: 'PowerUps' }, this.powerups.map(powerup => {
|
|
189
208
|
var _a, _b;
|
|
190
|
-
return h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id }, h("div", { class: 'CardLeft' }, h("div", { class: 'MainInfo' }, h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), h("div", { class: 'Title2 PowerUpMultiplier' }, h("span", { class: 'BoostingPeriod' }, h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), h("span", { class: 'Spliter' }, "|"), h("span", { class: 'Multiplier' }, "X ", powerup.multiplier.coefficient, " "), h("span", { class: 'Spliter' }, "|"), h("span", { class: 'MultiplierMode' }, translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [h("span", { class: 'Spliter' }, " | "), h("span", { class: 'ExpireCount' }, h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), h("div", { class: 'Description' }, powerup.description)), h("div", { class: 'TermsC' }, this.openTermsPage
|
|
191
|
-
? h("a", { href: powerup.termsUrl
|
|
209
|
+
return h("div", { class: 'PowerUpItem Card', "data-powerup-id": powerup.id, key: powerup.id }, h("div", { class: 'CardLeft' }, h("div", { class: 'MainInfo' }, h("div", { class: 'DisplayName' }, " ", powerup.displayName || '-', " "), h("div", { class: 'Title2 PowerUpMultiplier' }, h("span", { class: 'BoostingPeriod' }, h("span", { class: 'Period' }, powerup.boostingPeriod.minutes || powerup.boostingPeriod.numberOfRounds, " "), powerup.boostingPeriod.mode === BoostingPeriodMode.TIME_PERIOD ? translate('min', this.language) : translate('rounds', this.language), " "), h("span", { class: 'Spliter' }, "|"), h("span", { class: 'Multiplier' }, "X ", powerup.multiplier.coefficient, " "), h("span", { class: 'Spliter' }, "|"), h("span", { class: 'MultiplierMode' }, translate(powerup.multiplier.mode, this.language), " "), powerup.expireTime && [h("span", { class: 'Spliter' }, " | "), h("span", { class: 'ExpireCount' }, h("time-count", { "expire-time": powerup.expireTime, language: this.language }))]), h("div", { class: 'Description' }, powerup.description)), h("div", { class: 'TermsC' }, this.openTermsPage && powerup.termsUrl
|
|
210
|
+
? h("a", { href: powerup.termsUrl, target: '_blank' }, translate('termsCon', this.language))
|
|
192
211
|
: h("span", { onClick: () => this.onTermsUrlClick(powerup) }, translate('termsCon', this.language), " "))), h("div", { class: 'GamesContent CardRight' }, h("div", { class: 'GamesTitle' }, h("div", { class: 'TitleLeft' }, h("span", { class: 'Title2' }, " ", translate('games', this.language)), h("span", { class: 'GamesAmount' }, " ( ", ((_a = powerup.games) === null || _a === void 0 ? void 0 : _a.total) || 0, " ) ")), h("div", { class: 'TitleRight ', onClick: () => this.onExpandGames(powerup) }, h("span", { class: 'SeeAll' }, translate('seeAll', this.language)), h("div", { class: `SeeAllIcon ${this.listIsExpanded && this.listIsExpanded[powerup.id] ? 'Expanded' : 'Collapsed'}`, innerHTML: ShowAll }))), h("div", { class: 'GameTitleTip' }, translate('selectGameToActive', this.language)), h("div", { class: 'GamesList' }, h("div", { class: `Games ${this.listIsExpanded && this.listIsExpanded[powerup.id] ? 'Expanded' : 'Collapsed'}` }, (_b = powerup.games) === null || _b === void 0 ? void 0 : _b.items.map(g => {
|
|
193
|
-
return h("div", { class: 'Game' }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: this.
|
|
212
|
+
return h("div", { class: 'Game', key: g.gameId }, h("ui-image", { src: g.thumbnail }), h("div", { class: 'GameMask', onClick: () => this.gameClicked(g) }, h("div", { class: 'GameStartBtn' }, h("div", { class: 'PlayIcon' }), h("span", null, translate('playNow', this.language)))));
|
|
194
213
|
})))));
|
|
195
214
|
})), h("div", { class: 'Pagination' }, this.total && [
|
|
196
215
|
h("bonus-pagination-nav", { offset: this.offset, limit: this.limit, "secondary-arrows-active": true, "table-id": this.tableId, total: this.total }),
|
|
@@ -418,7 +437,7 @@ export class BonusElevatePowerups {
|
|
|
418
437
|
},
|
|
419
438
|
"attribute": "open-terms-page",
|
|
420
439
|
"reflect": true,
|
|
421
|
-
"defaultValue": "
|
|
440
|
+
"defaultValue": "true"
|
|
422
441
|
},
|
|
423
442
|
"pageLimitOptions": {
|
|
424
443
|
"type": "string",
|
|
@@ -437,6 +456,59 @@ export class BonusElevatePowerups {
|
|
|
437
456
|
"attribute": "page-limit-options",
|
|
438
457
|
"reflect": true,
|
|
439
458
|
"defaultValue": "'10,25,50'"
|
|
459
|
+
},
|
|
460
|
+
"gamepageModalUrl": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"mutable": false,
|
|
463
|
+
"complexType": {
|
|
464
|
+
"original": "string",
|
|
465
|
+
"resolved": "string",
|
|
466
|
+
"references": {}
|
|
467
|
+
},
|
|
468
|
+
"required": false,
|
|
469
|
+
"optional": false,
|
|
470
|
+
"docs": {
|
|
471
|
+
"tags": [],
|
|
472
|
+
"text": "Widget Setting, the frame url when integratedGameframeDesktop is true"
|
|
473
|
+
},
|
|
474
|
+
"attribute": "gamepage-modal-url",
|
|
475
|
+
"reflect": false
|
|
476
|
+
},
|
|
477
|
+
"integratedGameframeMobile": {
|
|
478
|
+
"type": "boolean",
|
|
479
|
+
"mutable": false,
|
|
480
|
+
"complexType": {
|
|
481
|
+
"original": "boolean",
|
|
482
|
+
"resolved": "boolean",
|
|
483
|
+
"references": {}
|
|
484
|
+
},
|
|
485
|
+
"required": false,
|
|
486
|
+
"optional": false,
|
|
487
|
+
"docs": {
|
|
488
|
+
"tags": [],
|
|
489
|
+
"text": "Widget Setting, show game in a frame when user clicked 'start', default: false"
|
|
490
|
+
},
|
|
491
|
+
"attribute": "integrated-gameframe-mobile",
|
|
492
|
+
"reflect": false,
|
|
493
|
+
"defaultValue": "false"
|
|
494
|
+
},
|
|
495
|
+
"integratedGameframeDesktop": {
|
|
496
|
+
"type": "boolean",
|
|
497
|
+
"mutable": false,
|
|
498
|
+
"complexType": {
|
|
499
|
+
"original": "boolean",
|
|
500
|
+
"resolved": "boolean",
|
|
501
|
+
"references": {}
|
|
502
|
+
},
|
|
503
|
+
"required": false,
|
|
504
|
+
"optional": false,
|
|
505
|
+
"docs": {
|
|
506
|
+
"tags": [],
|
|
507
|
+
"text": "Widget Setting, show game in a frame when user clicked 'start', default: false\nOpen game in a frame, gamepageModalurl value should be set"
|
|
508
|
+
},
|
|
509
|
+
"attribute": "integrated-gameframe-desktop",
|
|
510
|
+
"reflect": false,
|
|
511
|
+
"defaultValue": "false"
|
|
440
512
|
}
|
|
441
513
|
};
|
|
442
514
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PowerUpStatus } from "../../../../../../../libs/common/src/types/casino/powerups";
|
|
2
2
|
export const powerUpSearchConditions = {
|
|
3
3
|
expand: "games",
|
|
4
|
-
fields: "id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail)",
|
|
4
|
+
fields: "id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,expireTime,games(id,gameId,name,slug,thumbnail,launchUrl,vendor,hasFunMode)",
|
|
5
5
|
status: `${PowerUpStatus.ACTIVE},${PowerUpStatus.ACTIVATED}`
|
|
6
6
|
};
|
|
7
7
|
export const powerUpGameSearchConditions = {
|
|
8
8
|
expand: "games",
|
|
9
|
-
fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail)"
|
|
9
|
+
fields: "id,powerUpID,games(id,gameId,slug,name,thumbnail,launchUrl,vendor,hasFunMode)"
|
|
10
10
|
};
|
|
11
11
|
export const generalInputStyling = `
|
|
12
12
|
.pageLimits__input [part='input-field'] ::slotted([slot='value']:not([placeholder])) {
|
|
@@ -36,3 +36,15 @@ export const generalInputStyling = `
|
|
|
36
36
|
padding: 5px;
|
|
37
37
|
height: 34px;
|
|
38
38
|
}`;
|
|
39
|
+
/**
|
|
40
|
+
* @name isMobile
|
|
41
|
+
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
42
|
+
* @param {String} userAgent window.navigator.userAgent
|
|
43
|
+
* @returns {Boolean} true or false
|
|
44
|
+
*/
|
|
45
|
+
export const isMobile = (userAgent) => {
|
|
46
|
+
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
47
|
+
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
48
|
+
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
49
|
+
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
50
|
+
};
|