@everymatrix/lottery-game-page 1.83.5 → 1.83.7
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/cjs/general-multi-select_16.cjs.entry.js +59 -64
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-page.cjs.js +1 -1
- package/dist/collection/components/lottery-game-page/lottery-game-page.js +24 -0
- package/dist/esm/general-multi-select_16.entry.js +59 -64
- package/dist/esm/loader.js +1 -1
- package/dist/esm/lottery-game-page.js +1 -1
- package/dist/lottery-game-page/general-multi-select_16.entry.js +1 -1
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/types/components/lottery-game-page/lottery-game-page.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
|
@@ -9855,15 +9855,19 @@ const LotteryDrawResults = class {
|
|
|
9855
9855
|
index.registerInstance(this, hostRef);
|
|
9856
9856
|
this.ticketDrawDetails = [];
|
|
9857
9857
|
this.ticketDrawDetailsFlag = true;
|
|
9858
|
-
this.displayPrizeCategory = (details
|
|
9858
|
+
this.displayPrizeCategory = (details) => {
|
|
9859
9859
|
const prizeMap = new Map();
|
|
9860
9860
|
details.forEach((detail) => {
|
|
9861
|
-
let prizeName =
|
|
9861
|
+
let prizeName = detail.divisionDisplayName;
|
|
9862
9862
|
let amount = detail.amount;
|
|
9863
9863
|
let currency = detail.currency;
|
|
9864
9864
|
if (prizeName && prizeName != 'None') {
|
|
9865
9865
|
if (prizeMap.has(prizeName)) {
|
|
9866
|
-
prizeMap.set(prizeName, {
|
|
9866
|
+
prizeMap.set(prizeName, {
|
|
9867
|
+
amount: prizeMap.get(prizeName)['amount'] + amount,
|
|
9868
|
+
currency,
|
|
9869
|
+
times: prizeMap.get(prizeName)['times'] + 1
|
|
9870
|
+
});
|
|
9867
9871
|
}
|
|
9868
9872
|
else {
|
|
9869
9873
|
prizeMap.set(prizeName, { amount, currency, times: 1 });
|
|
@@ -9885,9 +9889,9 @@ const LotteryDrawResults = class {
|
|
|
9885
9889
|
return '';
|
|
9886
9890
|
}
|
|
9887
9891
|
value = value.toString();
|
|
9888
|
-
const parts = value.split(
|
|
9889
|
-
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
9890
|
-
return parts.join(
|
|
9892
|
+
const parts = value.split('.');
|
|
9893
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
9894
|
+
return parts.join('.');
|
|
9891
9895
|
};
|
|
9892
9896
|
this.endpoint = undefined;
|
|
9893
9897
|
this.gameId = undefined;
|
|
@@ -9923,7 +9927,7 @@ const LotteryDrawResults = class {
|
|
|
9923
9927
|
this.ticketDraws = [];
|
|
9924
9928
|
this.toggleDrawer = [false];
|
|
9925
9929
|
this.drawData = undefined;
|
|
9926
|
-
this.resultMap = { Won:
|
|
9930
|
+
this.resultMap = { Won: 'Win', Lost: 'Lose' };
|
|
9927
9931
|
}
|
|
9928
9932
|
handleClientStylingChange(newValue, oldValue) {
|
|
9929
9933
|
if (newValue != oldValue) {
|
|
@@ -9952,10 +9956,10 @@ const LotteryDrawResults = class {
|
|
|
9952
9956
|
// Split ticket numbers for each grid
|
|
9953
9957
|
if (this.ticketNumbers) {
|
|
9954
9958
|
let ticketNumbers = JSON.parse(this.ticketNumbers);
|
|
9955
|
-
this.gridNumbers = ticketNumbers.map(item => {
|
|
9959
|
+
this.gridNumbers = ticketNumbers.map((item) => {
|
|
9956
9960
|
return item.selections;
|
|
9957
9961
|
});
|
|
9958
|
-
this.gridSecondaryNumbers = ticketNumbers.map(item => {
|
|
9962
|
+
this.gridSecondaryNumbers = ticketNumbers.map((item) => {
|
|
9959
9963
|
return item.secondarySelections || [];
|
|
9960
9964
|
});
|
|
9961
9965
|
}
|
|
@@ -9967,7 +9971,7 @@ const LotteryDrawResults = class {
|
|
|
9967
9971
|
this.ticketDrawDetails.forEach((drawDetail) => {
|
|
9968
9972
|
this.getDrawData(drawDetail.drawId).then((drawData) => {
|
|
9969
9973
|
drawDetail.drawData = Object.assign({}, drawData);
|
|
9970
|
-
let newArr = this.displayPrizeCategory(drawDetail.details
|
|
9974
|
+
let newArr = this.displayPrizeCategory(drawDetail.details);
|
|
9971
9975
|
drawDetail.details = [...newArr];
|
|
9972
9976
|
});
|
|
9973
9977
|
});
|
|
@@ -10023,7 +10027,7 @@ const LotteryDrawResults = class {
|
|
|
10023
10027
|
getDivision(detail, drawDetail) {
|
|
10024
10028
|
var _a, _b;
|
|
10025
10029
|
let division = detail.division;
|
|
10026
|
-
let prize = (_b = (_a = drawDetail.drawData) === null || _a === void 0 ? void 0 : _a.prizes) === null || _b === void 0 ? void 0 : _b.filter(prize => prize.order === division);
|
|
10030
|
+
let prize = (_b = (_a = drawDetail.drawData) === null || _a === void 0 ? void 0 : _a.prizes) === null || _b === void 0 ? void 0 : _b.filter((prize) => prize.order === division);
|
|
10027
10031
|
if (prize && prize.length) {
|
|
10028
10032
|
return prize[0].division;
|
|
10029
10033
|
}
|
|
@@ -10033,31 +10037,27 @@ const LotteryDrawResults = class {
|
|
|
10033
10037
|
}
|
|
10034
10038
|
render() {
|
|
10035
10039
|
if (this.isLoading) {
|
|
10036
|
-
return
|
|
10040
|
+
return index.h("p", null, "Loading, please wait ...");
|
|
10037
10041
|
}
|
|
10038
10042
|
else if (this.hasErrors) {
|
|
10039
10043
|
index.h("p", null, this.errorText);
|
|
10040
10044
|
}
|
|
10041
10045
|
else {
|
|
10042
|
-
return (index.h("section", { class: "DrawResultsSection", ref: el => this.stylingContainer = el }, this.drawMode ?
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
_b.date.slice(11, 19))), index.h("div", { class: "DrawNumbersGrid" }, drawDetail.drawData &&
|
|
10058
|
-
index.h("div", { class: 'BulletContainer' }, index.h("label", { class: "Label" }, translate$6('drawNumbersGridDraw', this.language), ":"), index.h("lottery-grid", { "selected-numbers": ((_d = (_c = drawDetail.drawData) === null || _c === void 0 ? void 0 : _c.winningNumbers) === null || _d === void 0 ? void 0 : _d.length) && ((_e = drawDetail.drawData.winningNumbers[0]['numbers']) === null || _e === void 0 ? void 0 : _e.join(',')), "secondary-numbers": ((_g = (_f = drawDetail.drawData) === null || _f === void 0 ? void 0 : _f.winningNumbers) === null || _g === void 0 ? void 0 : _g.length) && ((_h = drawDetail.drawData.winningNumbers[0]['secondaryNumbers']) === null || _h === void 0 ? void 0 : _h.join(',')), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))), drawDetail.details.length > 0 &&
|
|
10059
|
-
index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate$6('prize', this.language), ":"), index.h("span", null, drawDetail.details.map((item) => index.h("span", null, index.h("div", null, index.h("span", null, item.prizeName, item.times > 1 ? ' x ' + item.times : '', ": "), index.h("span", { style: { 'margin-right': '4px' } }, this.thousandSeperator(item.amount)), index.h("span", null, item.currency))))))));
|
|
10060
|
-
}))))))));
|
|
10046
|
+
return (index.h("section", { class: "DrawResultsSection", ref: (el) => (this.stylingContainer = el) }, this.drawMode ? (index.h("div", { class: "DrawResultsArea" }, this.drawData && (index.h("div", null, index.h("div", { class: "DrawResultsHeader" }, index.h("span", null, translate$6('drawId', this.language), ": ", this.drawData.id), index.h("span", null, translate$6('drawDate', this.language), ": ", format(new Date(this.drawData.date), 'dd/MM/yyyy'))), index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "DrawNumbersGrid" }, index.h("p", null, translate$6('drawNumbersGridDraw', this.language)), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": this.drawData.winningNumbers.length && this.drawData.winningNumbers[0]['numbers'].join(','), "secondary-numbers": this.drawData.winningNumbers.length
|
|
10047
|
+
? this.drawData.winningNumbers[0]['secondaryNumbers'].join(',')
|
|
10048
|
+
: '', "display-selected": true, selectable: false, language: this.language, "grid-type": 'ticket', "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate$6('prize', this.language), " "), this.drawData.prizes.length ? (index.h("div", null, ' ', this.drawData.prizes
|
|
10049
|
+
.filter((item) => item.division !== 'None')
|
|
10050
|
+
.map((prize) => (index.h("div", null, index.h("span", { style: { 'margin-right': '5px' } }, prize.division, ":"), index.h("span", { style: { 'margin-right': '4px' } }, ' ', this.thousandSeperator(prize.amount.value)), index.h("span", null, prize.amount.currency)))))) : (index.h("div", null, "None"))))))))) : (index.h("div", { class: "DrawResultsArea TicketDraws" }, index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "TicketIdContainer" }, index.h("label", { class: "Label" }, translate$6('ticketId', this.language), ": ", index.h("span", null, this.ticketId))), index.h("div", { class: "TicketTypeContainer" }, index.h("label", { class: "Label" }, translate$6('ticketType', this.language), ": ", index.h("span", null, this.ticketType))), index.h("div", { class: "TicketAmountContainer" }, index.h("label", { class: "Label" }, translate$6('ticketAmount', this.language), ":", ' ', index.h("span", null, `${this.thousandSeperator(this.ticketAmount)} ${this.ticketCurrency}`))), index.h("div", { class: "DrawNumbersGrid" }, this.gridNumbers.map((grid, index$1) => {
|
|
10051
|
+
var _a;
|
|
10052
|
+
return (index.h("div", null, index.h("label", { class: "Label" }, translate$6('drawNumbersGridTicket', this.language), ":"), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": grid.join(','), "secondary-numbers": (_a = this.gridSecondaryNumbers[index$1]) === null || _a === void 0 ? void 0 : _a.join(','), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))));
|
|
10053
|
+
})), this.ticketMultiplier && (index.h("div", { class: "DrawMultipler" }, index.h("label", { class: "Label" }, translate$6('multiplierNum', this.language), ": ", this.thousandSeperator(this.ticketMultiplierNum)))), index.h("div", { class: "NumberOfDrawsContainer" }, index.h("label", { class: "Label" }, translate$6('numberOfDraws', this.language), ": ", this.thousandSeperator(this.ticketDrawCount)), index.h("div", { class: "DrawTicketsContainer" }, this.ticketDrawDetails && this.ticketDrawDetails.length > 0 && (index.h("div", { class: "ExpandableBoxes" }, this.ticketDrawDetails.map((drawDetail, index$1) => {
|
|
10054
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
10055
|
+
return (index.h("div", { class: { ExpandableBox: true, ShowBox: this.toggleDrawer[index$1] }, onClick: this.drawerToggle.bind(this, index$1) }, index.h("div", { class: "ExpandableBoxHeader" }, index.h("div", { class: "TicketResultContainer" }, index.h("p", null, translate$6('ticketResult', this.language), ": ", this.resultMap[drawDetail.state])), drawDetail.state == 'won' && (index.h("div", { class: "AmountWonContainer" }, index.h("p", null, translate$6('amountWon', this.language), ":", ' ', Number(drawDetail.amount).toLocaleString('en'), " ", drawDetail.currency))), drawDetail.state == 'lost' && (index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate$6('drawId', this.language), ": ", drawDetail.drawId)))), index.h("div", { class: "ExpandableBoxBody" }, index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate$6('drawId', this.language), ": ", drawDetail.drawId)), index.h("div", { class: "DrawDateContainer" }, index.h("p", null, translate$6('drawDate', this.language), ": ", (_a = drawDetail.drawData) === null || _a === void 0 ? void 0 :
|
|
10056
|
+
_a.date.slice(0, 10), " |", ' ', (_b = drawDetail.drawData) === null || _b === void 0 ? void 0 :
|
|
10057
|
+
_b.date.slice(11, 19))), index.h("div", { class: "DrawNumbersGrid" }, drawDetail.drawData && (index.h("div", { class: "BulletContainer" }, index.h("label", { class: "Label" }, translate$6('drawNumbersGridDraw', this.language), ":"), index.h("lottery-grid", { "selected-numbers": ((_d = (_c = drawDetail.drawData) === null || _c === void 0 ? void 0 : _c.winningNumbers) === null || _d === void 0 ? void 0 : _d.length) &&
|
|
10058
|
+
((_e = drawDetail.drawData.winningNumbers[0]['numbers']) === null || _e === void 0 ? void 0 : _e.join(',')), "secondary-numbers": ((_g = (_f = drawDetail.drawData) === null || _f === void 0 ? void 0 : _f.winningNumbers) === null || _g === void 0 ? void 0 : _g.length) &&
|
|
10059
|
+
((_h = drawDetail.drawData.winningNumbers[0]['secondaryNumbers']) === null || _h === void 0 ? void 0 : _h.join(',')), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })))), drawDetail.details.length > 0 && (index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate$6('prize', this.language), ":"), index.h("span", null, drawDetail.details.map((item) => (index.h("span", null, index.h("div", null, index.h("span", null, item.prizeName, item.times > 1 ? ' x ' + item.times : '', ":", ' '), index.h("span", { style: { 'margin-right': '4px' } }, this.thousandSeperator(item.amount)), index.h("span", null, item.currency)))))))))));
|
|
10060
|
+
}))))))))));
|
|
10061
10061
|
}
|
|
10062
10062
|
}
|
|
10063
10063
|
static get watchers() { return {
|
|
@@ -10450,6 +10450,7 @@ const LotteryGamePage = class {
|
|
|
10450
10450
|
index.registerInstance(this, hostRef);
|
|
10451
10451
|
this.goBackEvent = index.createEvent(this, "goBackEvent", 7);
|
|
10452
10452
|
this.goToLobbyEvent = index.createEvent(this, "goToLobbyEvent", 7);
|
|
10453
|
+
this.resetAllTicketSelection = index.createEvent(this, "resetAllTicketSelection", 7);
|
|
10453
10454
|
this.quickPick = false;
|
|
10454
10455
|
this.gameData = {};
|
|
10455
10456
|
this.secondarySelectionAllowed = false;
|
|
@@ -10872,6 +10873,9 @@ const LotteryGamePage = class {
|
|
|
10872
10873
|
Authorization: `Bearer ${this.sessionId}`
|
|
10873
10874
|
});
|
|
10874
10875
|
showNotification({ message: 'Subscription rule created successfully.', theme: 'success' });
|
|
10876
|
+
const event = new CustomEvent('resetAllTicketSelection', { bubbles: true, composed: true });
|
|
10877
|
+
document.dispatchEvent(event);
|
|
10878
|
+
console.log('resetAllTicketSelection event emitted through document after subscription ticket submission');
|
|
10875
10879
|
}
|
|
10876
10880
|
}
|
|
10877
10881
|
catch (err) {
|
|
@@ -10912,6 +10916,9 @@ const LotteryGamePage = class {
|
|
|
10912
10916
|
.then(() => {
|
|
10913
10917
|
// this.successVisible = true;
|
|
10914
10918
|
showNotification({ message: 'Ticket submitted successfully.', theme: 'success' });
|
|
10919
|
+
this.resetAllTicketSelection.emit();
|
|
10920
|
+
const event = new CustomEvent('resetAllTicketSelection', { bubbles: true, composed: true });
|
|
10921
|
+
document.dispatchEvent(event);
|
|
10915
10922
|
})
|
|
10916
10923
|
.catch((err) => {
|
|
10917
10924
|
console.log('Error ', err);
|
|
@@ -10921,6 +10928,9 @@ const LotteryGamePage = class {
|
|
|
10921
10928
|
this.isLoading = false;
|
|
10922
10929
|
});
|
|
10923
10930
|
}
|
|
10931
|
+
else {
|
|
10932
|
+
console.log('No valid ticket parameters to submit');
|
|
10933
|
+
}
|
|
10924
10934
|
}
|
|
10925
10935
|
goBack() {
|
|
10926
10936
|
this.goBackEvent.emit();
|
|
@@ -11989,7 +11999,7 @@ const LotteryTicket = class {
|
|
|
11989
11999
|
this.isLoading = false;
|
|
11990
12000
|
this.gameData = data;
|
|
11991
12001
|
this.amountInfo = this.gameData.rules.stakes[0];
|
|
11992
|
-
this.secondarySelectionAllowed = this.gameData.rules.secondarySelectionAllowed ===
|
|
12002
|
+
this.secondarySelectionAllowed = this.gameData.rules.secondarySelectionAllowed === 'INPUT' ? true : false;
|
|
11993
12003
|
const betTypes = this.gameData.rules.betTypes;
|
|
11994
12004
|
const result = betTypes.reduce((acc, betType) => {
|
|
11995
12005
|
if (betType.group) {
|
|
@@ -12011,20 +12021,20 @@ const LotteryTicket = class {
|
|
|
12011
12021
|
groupName,
|
|
12012
12022
|
betType: betTypes
|
|
12013
12023
|
}));
|
|
12014
|
-
this.groupType = [...result.noGroup, ...uniqueGroupsType
|
|
12024
|
+
this.groupType = [...result.noGroup, ...uniqueGroupsType];
|
|
12015
12025
|
this.playType = this.groupType[0].betType.map((v) => {
|
|
12016
12026
|
return Object.assign(Object.assign({}, v), { label: v.name || v.id, value: v.id });
|
|
12017
12027
|
});
|
|
12018
12028
|
this.partialQuickpickAvailable = this.gameData.rules.partialQuickpickAvailable;
|
|
12019
|
-
// init primary bet type 'Prima'
|
|
12029
|
+
// init primary bet type 'Prima'
|
|
12020
12030
|
this.boardsAllowed = (_a = this.gameData.rules.betTypes) === null || _a === void 0 ? void 0 : _a.filter((item) => item.id === 'Prima')[0].boardsAllowed;
|
|
12021
12031
|
this.lineMultiplier = this.boardsAllowed[0];
|
|
12022
12032
|
let selectionRules = this.gameData.rules.betTypes[0].selectionRules;
|
|
12023
12033
|
let secondarySelectionRules = this.gameData.rules.betTypes[0].secondarySelectionRules;
|
|
12024
|
-
this.numberRange = selectionRules.map(item => item.selectionCount);
|
|
12034
|
+
this.numberRange = selectionRules.map((item) => item.selectionCount);
|
|
12025
12035
|
this.maximumAllowed = Math.max(...this.numberRange);
|
|
12026
12036
|
this.minimumAllowed = Math.min(...this.numberRange);
|
|
12027
|
-
this.secondaryNumberRange = secondarySelectionRules.map(item => item.selectionCount);
|
|
12037
|
+
this.secondaryNumberRange = secondarySelectionRules.map((item) => item.selectionCount);
|
|
12028
12038
|
this.secondaryMaximumAllowed = Math.max(...this.secondaryNumberRange);
|
|
12029
12039
|
this.secondaryMinimumAllowed = Math.min(...this.secondaryNumberRange);
|
|
12030
12040
|
})
|
|
@@ -12050,7 +12060,9 @@ const LotteryTicket = class {
|
|
|
12050
12060
|
}
|
|
12051
12061
|
}
|
|
12052
12062
|
gridFilledHandler(event) {
|
|
12053
|
-
this.ticket = Object.assign(Object.assign({}, event.detail), { drawCount: this.drawMultiplier, multiplierNum: Number(this.stakeMultiplier), multiplier: this.gameData.rules.stakeMultiplierAvailable, quickPicks: this.quickPicks, betName: this.playType.length > 1
|
|
12063
|
+
this.ticket = Object.assign(Object.assign({}, event.detail), { drawCount: this.drawMultiplier, multiplierNum: Number(this.stakeMultiplier), multiplier: this.gameData.rules.stakeMultiplierAvailable, quickPicks: this.quickPicks, betName: this.playType.length > 1
|
|
12064
|
+
? this.playType.find((item) => item.value === this.selectedPlayTypeId).label
|
|
12065
|
+
: this.groupType[this.tabIndex].groupName });
|
|
12054
12066
|
this.ticketDone = [
|
|
12055
12067
|
...this.ticketDone.slice(0, event.detail.index),
|
|
12056
12068
|
true,
|
|
@@ -12060,19 +12072,11 @@ const LotteryTicket = class {
|
|
|
12060
12072
|
}
|
|
12061
12073
|
handleGridClearAllEvent(event) {
|
|
12062
12074
|
let index = event.detail;
|
|
12063
|
-
this.ticketDone = [
|
|
12064
|
-
...this.ticketDone.slice(0, index),
|
|
12065
|
-
false,
|
|
12066
|
-
...this.ticketDone.slice(index + 1)
|
|
12067
|
-
];
|
|
12075
|
+
this.ticketDone = [...this.ticketDone.slice(0, index), false, ...this.ticketDone.slice(index + 1)];
|
|
12068
12076
|
this.quickPicks[index] = false;
|
|
12069
12077
|
}
|
|
12070
12078
|
toggleAutoSelection(index) {
|
|
12071
|
-
this.ticketDone = [
|
|
12072
|
-
...this.ticketDone.slice(0, index),
|
|
12073
|
-
true,
|
|
12074
|
-
...this.ticketDone.slice(index + 1)
|
|
12075
|
-
];
|
|
12079
|
+
this.ticketDone = [...this.ticketDone.slice(0, index), true, ...this.ticketDone.slice(index + 1)];
|
|
12076
12080
|
this.autoSelection.emit({
|
|
12077
12081
|
ticketId: this.ticketId,
|
|
12078
12082
|
index
|
|
@@ -12080,17 +12084,18 @@ const LotteryTicket = class {
|
|
|
12080
12084
|
this.quickPicks[index] = true;
|
|
12081
12085
|
}
|
|
12082
12086
|
toggleResetSelection(index) {
|
|
12083
|
-
this.ticketDone = [
|
|
12084
|
-
...this.ticketDone.slice(0, index),
|
|
12085
|
-
false,
|
|
12086
|
-
...this.ticketDone.slice(index + 1)
|
|
12087
|
-
];
|
|
12087
|
+
this.ticketDone = [...this.ticketDone.slice(0, index), false, ...this.ticketDone.slice(index + 1)];
|
|
12088
12088
|
this.resetSelection.emit({
|
|
12089
12089
|
ticketId: this.ticketId,
|
|
12090
12090
|
index
|
|
12091
12091
|
});
|
|
12092
12092
|
this.quickPicks[index] = false;
|
|
12093
12093
|
}
|
|
12094
|
+
toggleResetAllSeletion() {
|
|
12095
|
+
this.grids.forEach((_, index) => {
|
|
12096
|
+
this.toggleResetSelection(index);
|
|
12097
|
+
});
|
|
12098
|
+
}
|
|
12094
12099
|
changeStake(ticketid, amount) {
|
|
12095
12100
|
this.stakeChange.emit({
|
|
12096
12101
|
ticketId: ticketid,
|
|
@@ -12131,7 +12136,7 @@ const LotteryTicket = class {
|
|
|
12131
12136
|
this.isCustomSelectLine = false;
|
|
12132
12137
|
this.lineMultiplierChange.emit({
|
|
12133
12138
|
ticketId: this.ticketId,
|
|
12134
|
-
lineNum: item
|
|
12139
|
+
lineNum: item
|
|
12135
12140
|
});
|
|
12136
12141
|
}
|
|
12137
12142
|
setDrawMultiplier(item) {
|
|
@@ -12172,17 +12177,7 @@ const LotteryTicket = class {
|
|
|
12172
12177
|
}
|
|
12173
12178
|
else {
|
|
12174
12179
|
const { rules } = this.gameData;
|
|
12175
|
-
return (index.h("div", { class: "TicketContainer", ref: el => this.stylingContainer = el }, index.h("p", { class: "TicketTitle" }, this.gameData.name), index.h("div", { class: "TicketTabs" }, this.groupType.map((item, index$1) => index.h("div", { class: 'TabButton' + (this.tabIndex == index$1 ? ' Active' : ''), onClick: () => this.tabIndex = index$1 }, item.groupName))), this.playType.length > 1 &&
|
|
12176
|
-
index.h("div", null, index.h("label", { class: "Label" }, translate$1('playType', this.language), ": "), index.h("vaadin-select", { style: { 'width': '160px' }, items: this.playType, value: this.selectedPlayTypeId, "on-value-changed": (e) => this.handlePlayTypeChange(e.detail.value) })), this.boardsAllowed.length > 1 &&
|
|
12177
|
-
index.h("div", null, index.h("label", { class: "Label" }, translate$1('lines', this.language), ": "), index.h("div", { class: "WagerInput" }, index.h("div", { ref: el => this.selectLineRef = el, class: this.isCustomSelectLine ? "SelectWrapper SelectActive" : "SelectWrapper" }, index.h("div", { class: "SelectButton", onClick: () => this.toggleLineSelection() }, index.h("span", null, this.lineMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, this.boardsAllowed.map((item) => index.h("li", { class: this.lineMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setLineMultiplier(item) }, item))))))), this.grids.map((_, index$1) => index.h("div", null, index.h("div", { class: "TicketGridHeader" }, index.h("div", null, translate$1('lineName', this.language), index$1 + 1), this.resetButton && this.ticketDone[index$1] &&
|
|
12178
|
-
index.h("div", { class: "ButtonContainer" }, index.h("a", { class: "ResetButton", onClick: () => this.toggleResetSelection(index$1) }, translate$1('resetButton', this.language))), this.autoPick && !this.ticketDone[index$1] &&
|
|
12179
|
-
index.h("div", { class: "ButtonContainer" }, index.h("a", { class: "AutoButton", onClick: () => this.toggleAutoSelection(index$1) }, translate$1('autoButton', this.language)))), index.h("div", { class: "TicketGridBullets" }, index.h("p", { class: "TicketGridTitle" }, rules.boards[0].selectionName), index.h("lottery-grid", { "grid-index": index$1, "maximum-allowed": this.maximumAllowed, "minimum-allowed": this.minimumAllowed, "number-range": JSON.stringify(this.numberRange), "high-number": rules.boards[0].highNumber, "low-number": rules.boards[0].lowNumber, "total-numbers": rules.boards[0].highNumber - rules.boards[0].lowNumber + 1, selectable: true, "reset-button": true, "auto-pick": true, "game-id": this.gameId, "ticket-id": this.ticketId, "partial-quickpick-available": this.partialQuickpickAvailable, language: this.language, "translation-url": this.translationUrl, "selection-type": 'mainSelection', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), this.secondarySelectionAllowed &&
|
|
12180
|
-
index.h("div", { class: "SecondarySelectionWrapper" }, index.h("div", { class: "TicketGridBullets" }, index.h("p", { class: "TicketGridTitle" }, rules.boards[0].secondarySelectionName), index.h("lottery-grid", { "grid-index": index$1, "maximum-allowed": this.secondaryMaximumAllowed, "minimum-allowed": this.secondaryMinimumAllowed, "number-range": JSON.stringify(this.secondaryNumberRange), "high-number": rules.boards[0].secondaryHighNumber, "low-number": rules.boards[0].secondaryLowNumber, "total-numbers": rules.boards[0].secondaryHighNumber - rules.boards[0].secondaryLowNumber + 1, selectable: true, "reset-button": true, "auto-pick": true, "game-id": this.gameId, "ticket-id": this.ticketId, "partial-quickpick-available": this.partialQuickpickAvailable, language: this.language, "translation-url": this.translationUrl, "selection-type": 'secondarySelection', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))))), rules.stakeMultiplierAvailable &&
|
|
12181
|
-
index.h("div", null, index.h("label", { class: "Label" }, translate$1('multiplier', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.stakeMultipliers.length > 1 ?
|
|
12182
|
-
(index.h("div", { ref: el => this.selectStakeRef = el, class: this.isCustomSelectStake ? "SelectWrapper SelectActive" : "SelectWrapper" }, index.h("div", { class: "SelectButton", onClick: () => this.toggleSelection() }, index.h("span", null, this.stakeMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.stakeMultipliers.map((item) => index.h("li", { class: this.stakeMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setStakeMultiplier(item) }, item)))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.stakeMultipliers[0] || 1, type: "number", disabled: true }))))), rules.drawMultiplierAvailable &&
|
|
12183
|
-
index.h("div", null, index.h("label", { class: "Label" }, translate$1('numberOfDraws', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.durations.length > 1 ?
|
|
12184
|
-
(index.h("div", { ref: el => this.selectDrawRef = el, class: this.isCustomSelectDraw ? "SelectWrapper SelectActive" : "SelectWrapper" }, index.h("div", { class: "SelectButton", onClick: () => this.toggleDrawSelection() }, index.h("span", null, this.drawMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.durations.map((item) => index.h("li", { class: this.drawMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setDrawMultiplier(item) }, item)))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.durations[0] || 1, type: "number", disabled: true }))))), index.h("div", null, index.h("label", { class: "Label" }, translate$1('wagerPerDraw', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.stakes.length > 1 ?
|
|
12185
|
-
(index.h("div", { ref: el => this.selectRef = el, class: this.isCustomSelect ? "SelectWrapper SelectActive" : "SelectWrapper" }, index.h("div", { class: "SelectButton", onClick: () => this.toggleClass() }, index.h("span", null, this.amountInfo.value, " ", this.amountInfo.currency), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.stakes.map((item) => index.h("li", { class: this.amountInfo.value == item.value ? 'SelectedValue' : '', value: item.value, onClick: () => this.setWagerPerDraw(item) }, item.value, " ", item.currency)))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.stakes[0].value, type: "number", disabled: true }), index.h("span", { class: "WagerInputTitle" }, rules.stakes[0].currency)))))));
|
|
12180
|
+
return (index.h("div", { class: "TicketContainer", ref: (el) => (this.stylingContainer = el) }, index.h("p", { class: "TicketTitle" }, this.gameData.name), index.h("div", { class: "TicketTabs" }, this.groupType.map((item, index$1) => (index.h("div", { class: 'TabButton' + (this.tabIndex == index$1 ? ' Active' : ''), onClick: () => (this.tabIndex = index$1) }, item.groupName)))), this.playType.length > 1 && (index.h("div", null, index.h("label", { class: "Label" }, translate$1('playType', this.language), ": "), index.h("vaadin-select", { style: { width: '160px' }, items: this.playType, value: this.selectedPlayTypeId, "on-value-changed": (e) => this.handlePlayTypeChange(e.detail.value) }))), this.boardsAllowed.length > 1 && (index.h("div", null, index.h("label", { class: "Label" }, translate$1('lines', this.language), ": "), index.h("div", { class: "WagerInput" }, index.h("div", { ref: (el) => (this.selectLineRef = el), class: this.isCustomSelectLine ? 'SelectWrapper SelectActive' : 'SelectWrapper' }, index.h("div", { class: "SelectButton", onClick: () => this.toggleLineSelection() }, index.h("span", null, this.lineMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, this.boardsAllowed.map((item) => (index.h("li", { class: this.lineMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setLineMultiplier(item) }, item))))))))), this.grids.map((_, index$1) => (index.h("div", null, index.h("div", { class: "TicketGridHeader" }, index.h("div", null, translate$1('lineName', this.language), index$1 + 1), this.resetButton && this.ticketDone[index$1] && (index.h("div", { class: "ButtonContainer" }, index.h("a", { class: "ResetButton", onClick: () => this.toggleResetSelection(index$1) }, translate$1('resetButton', this.language)))), this.autoPick && !this.ticketDone[index$1] && (index.h("div", { class: "ButtonContainer" }, index.h("a", { class: "AutoButton", onClick: () => this.toggleAutoSelection(index$1) }, translate$1('autoButton', this.language))))), index.h("div", { class: "TicketGridBullets" }, index.h("p", { class: "TicketGridTitle" }, rules.boards[0].selectionName), index.h("lottery-grid", { "grid-index": index$1, "maximum-allowed": this.maximumAllowed, "minimum-allowed": this.minimumAllowed, "number-range": JSON.stringify(this.numberRange), "high-number": rules.boards[0].highNumber, "low-number": rules.boards[0].lowNumber, "total-numbers": rules.boards[0].highNumber - rules.boards[0].lowNumber + 1, selectable: true, "reset-button": true, "auto-pick": true, "game-id": this.gameId, "ticket-id": this.ticketId, "partial-quickpick-available": this.partialQuickpickAvailable, language: this.language, "translation-url": this.translationUrl, "selection-type": 'mainSelection', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), this.secondarySelectionAllowed && (index.h("div", { class: "SecondarySelectionWrapper" }, index.h("div", { class: "TicketGridBullets" }, index.h("p", { class: "TicketGridTitle" }, rules.boards[0].secondarySelectionName), index.h("lottery-grid", { "grid-index": index$1, "maximum-allowed": this.secondaryMaximumAllowed, "minimum-allowed": this.secondaryMinimumAllowed, "number-range": JSON.stringify(this.secondaryNumberRange), "high-number": rules.boards[0].secondaryHighNumber, "low-number": rules.boards[0].secondaryLowNumber, "total-numbers": rules.boards[0].secondaryHighNumber - rules.boards[0].secondaryLowNumber + 1, selectable: true, "reset-button": true, "auto-pick": true, "game-id": this.gameId, "ticket-id": this.ticketId, "partial-quickpick-available": this.partialQuickpickAvailable, language: this.language, "translation-url": this.translationUrl, "selection-type": 'secondarySelection', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))))))), rules.stakeMultiplierAvailable && (index.h("div", null, index.h("label", { class: "Label" }, translate$1('multiplier', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.stakeMultipliers.length > 1 ? (index.h("div", { ref: (el) => (this.selectStakeRef = el), class: this.isCustomSelectStake ? 'SelectWrapper SelectActive' : 'SelectWrapper' }, index.h("div", { class: "SelectButton", onClick: () => this.toggleSelection() }, index.h("span", null, this.stakeMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.stakeMultipliers.map((item) => (index.h("li", { class: this.stakeMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setStakeMultiplier(item) }, item))))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.stakeMultipliers[0] || 1, type: "number", disabled: true })))))), rules.drawMultiplierAvailable && (index.h("div", null, index.h("label", { class: "Label" }, translate$1('numberOfDraws', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.durations.length > 1 ? (index.h("div", { ref: (el) => (this.selectDrawRef = el), class: this.isCustomSelectDraw ? 'SelectWrapper SelectActive' : 'SelectWrapper' }, index.h("div", { class: "SelectButton", onClick: () => this.toggleDrawSelection() }, index.h("span", null, this.drawMultiplier), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.durations.map((item) => (index.h("li", { class: this.drawMultiplier == item ? 'SelectedValue' : '', value: item, onClick: () => this.setDrawMultiplier(item) }, item))))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.durations[0] || 1, type: "number", disabled: true })))))), index.h("div", null, index.h("label", { class: "Label" }, translate$1('wagerPerDraw', this.language), ": "), index.h("div", { class: "WagerInput" }, rules.stakes.length > 1 ? (index.h("div", { ref: (el) => (this.selectRef = el), class: this.isCustomSelect ? 'SelectWrapper SelectActive' : 'SelectWrapper' }, index.h("div", { class: "SelectButton", onClick: () => this.toggleClass() }, index.h("span", null, this.amountInfo.value, " ", this.amountInfo.currency), index.h("span", { class: "SelectExpand" }, "\u25BC")), index.h("div", { class: "SelectContent" }, index.h("ul", { class: "SelectOptions" }, rules.stakes.map((item) => (index.h("li", { class: this.amountInfo.value == item.value ? 'SelectedValue' : '', value: item.value, onClick: () => this.setWagerPerDraw(item) }, item.value, " ", item.currency))))))) : (index.h("div", null, index.h("input", { min: "1", value: rules.stakes[0].value, type: "number", disabled: true }), index.h("span", { class: "WagerInputTitle" }, rules.stakes[0].currency)))))));
|
|
12186
12181
|
}
|
|
12187
12182
|
}
|
|
12188
12183
|
}
|
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("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"],\"endpoint\":[\"watchGameInfoChange\"],\"gameId\":[\"watchGameInfoChange\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"],\"endpoint\":[\"watchGameInfoChange\"],\"gameId\":[\"watchGameInfoChange\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"],[4,\"resetAllTicketSelection\",\"toggleResetAllSeletion\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -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("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"],\"endpoint\":[\"watchGameInfoChange\"],\"gameId\":[\"watchGameInfoChange\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"],\"endpoint\":[\"watchGameInfoChange\"],\"gameId\":[\"watchGameInfoChange\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"],[4,\"resetAllTicketSelection\",\"toggleResetAllSeletion\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -434,6 +434,9 @@ export class LotteryGamePage {
|
|
|
434
434
|
Authorization: `Bearer ${this.sessionId}`
|
|
435
435
|
});
|
|
436
436
|
showNotification({ message: 'Subscription rule created successfully.', theme: 'success' });
|
|
437
|
+
const event = new CustomEvent('resetAllTicketSelection', { bubbles: true, composed: true });
|
|
438
|
+
document.dispatchEvent(event);
|
|
439
|
+
console.log('resetAllTicketSelection event emitted through document after subscription ticket submission');
|
|
437
440
|
}
|
|
438
441
|
}
|
|
439
442
|
catch (err) {
|
|
@@ -474,6 +477,9 @@ export class LotteryGamePage {
|
|
|
474
477
|
.then(() => {
|
|
475
478
|
// this.successVisible = true;
|
|
476
479
|
showNotification({ message: 'Ticket submitted successfully.', theme: 'success' });
|
|
480
|
+
this.resetAllTicketSelection.emit();
|
|
481
|
+
const event = new CustomEvent('resetAllTicketSelection', { bubbles: true, composed: true });
|
|
482
|
+
document.dispatchEvent(event);
|
|
477
483
|
})
|
|
478
484
|
.catch((err) => {
|
|
479
485
|
console.log('Error ', err);
|
|
@@ -483,6 +489,9 @@ export class LotteryGamePage {
|
|
|
483
489
|
this.isLoading = false;
|
|
484
490
|
});
|
|
485
491
|
}
|
|
492
|
+
else {
|
|
493
|
+
console.log('No valid ticket parameters to submit');
|
|
494
|
+
}
|
|
486
495
|
}
|
|
487
496
|
goBack() {
|
|
488
497
|
this.goBackEvent.emit();
|
|
@@ -796,6 +805,21 @@ export class LotteryGamePage {
|
|
|
796
805
|
"resolved": "string",
|
|
797
806
|
"references": {}
|
|
798
807
|
}
|
|
808
|
+
}, {
|
|
809
|
+
"method": "resetAllTicketSelection",
|
|
810
|
+
"name": "resetAllTicketSelection",
|
|
811
|
+
"bubbles": true,
|
|
812
|
+
"cancelable": true,
|
|
813
|
+
"composed": true,
|
|
814
|
+
"docs": {
|
|
815
|
+
"tags": [],
|
|
816
|
+
"text": ""
|
|
817
|
+
},
|
|
818
|
+
"complexType": {
|
|
819
|
+
"original": "void",
|
|
820
|
+
"resolved": "void",
|
|
821
|
+
"references": {}
|
|
822
|
+
}
|
|
799
823
|
}];
|
|
800
824
|
}
|
|
801
825
|
static get elementRef() { return "element"; }
|