@everymatrix/lottery-tipping-latest-result 1.83.5 → 1.83.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- import { h } from "@stencil/core";
2
- import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
3
1
  import { LeftOutlined, RightOutlined } from "@ant-design/icons-svg";
4
2
  import { renderIconDefinitionToSVGElement } from "@ant-design/icons-svg/es/helpers";
5
- import { fetchRequest, toQueryParams, parseEachLineNumber, thousandSeperator, fetchGameInfo } from "../../utils/utils";
6
3
  import "../../../../../lottery-tipping-ticket-bet/dist/types/index";
4
+ import { h } from "@stencil/core";
5
+ import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
7
6
  import { differenceInMilliseconds } from "date-fns";
8
- import { translate, getTranslations } from "../../utils/locale.utils";
7
+ import { getTranslations, translate } from "../../utils/locale.utils";
8
+ import { fetchGameInfo, fetchRequest, formattedTurnover, parseEachLineNumber, thousandSeperator, toQueryParams } from "../../utils/utils";
9
9
  const leftArrowIcon = renderIconDefinitionToSVGElement(LeftOutlined, {
10
10
  extraSVGAttrs: { width: '16px', height: '16px', fill: '' }
11
11
  });
@@ -147,6 +147,17 @@ export class LotteryTippingLatestResult {
147
147
  this.isLoading = false;
148
148
  }
149
149
  }
150
+ get displayedPrizes() {
151
+ const correctItems = this.curPrizes
152
+ .filter((item) => item.divisionDisplayName.includes('Correct'))
153
+ .sort((a, b) => {
154
+ const numA = Number(a.divisionDisplayName.match(/\d+/)[0]);
155
+ const numB = Number(b === null || b === void 0 ? void 0 : b.divisionDisplayName.match(/\d+/)[0]);
156
+ return numB - numA;
157
+ });
158
+ const bonusItems = this.curPrizes.filter((item) => item.divisionDisplayName === 'Bonus');
159
+ return [...correctItems, ...bonusItems];
160
+ }
150
161
  changeCurDateItem(idx) {
151
162
  this.lastestDate = this.hasDrawDates[idx];
152
163
  this.curDrawItemIdx = idx;
@@ -188,6 +199,7 @@ export class LotteryTippingLatestResult {
188
199
  this.curDrawSelectionBettingType = bettingType;
189
200
  this.curDrawSelection = this.curDrawSelectionMap[this.curDrawSelectionBettingType];
190
201
  this.curPrizes = this.curPrizeMap[this.curDrawSelectionBettingType];
202
+ console.log('this.curPrizes', this.curPrizes);
191
203
  this.curTurnOver = this.curPrizes.reduce((acc, cur) => acc + Number(cur.totalAmount.value), 0);
192
204
  }
193
205
  getBettingTypeName(bettingType) {
@@ -196,10 +208,10 @@ export class LotteryTippingLatestResult {
196
208
  return name !== null && name !== void 0 ? name : bettingType;
197
209
  }
198
210
  render() {
199
- return (h("div", { key: 'e745605e51cfb92c4503b5e96e0142c8c6b4a8d0', class: "lottery-tipping-latest-result", ref: (el) => (this.stylingContainer = el) }, this.curDrawSelection && this.curDrawSelection.length > 0 && (h("div", { key: 'ae825710096f1ec467379bd8c62ee57a7ed472e5', class: "result-wrapper" }, h("div", { key: '1bb57f7cce3985f991eecc95546d2716b7960b17', class: "date-selection" }, h("div", { key: '9798fd769521260bf8c8e264a6eda272fb4b2841', class: "date-selection-leftIcon", innerHTML: leftArrowIcon, onClick: this.preDraw.bind(this) }), h("div", { key: '8ba6a02c69cc4c3b943a8995deaa9d9ceeb2544a', class: "date-selection-calendar" }, h("lottery-tipping-calendar", { key: '21952e766dc6277a7b894bb98bc608431a418bf3', date: this.lastestDate, highLightDates: this.hasDrawDates, language: this.language, "mb-source": this.mbSource, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl })), h("div", { key: 'ba4cf48d9233ff3c2d3cc869c08ec4ec4c6b5d94', class: "date-selection-rightIcon", innerHTML: rightArrowIcon, onClick: this.nextDraw.bind(this) })), h("div", { key: 'f7dff45466ead7e98665e9feeb490d3814511a5c', class: "winning-result" }, h("div", { key: '323148d834a1857ee356724f999f295a4b89692e', class: "betting-type" }, h("div", { key: '45ec8ea6fdd52a566f718d17b9d11c3417e4ce6f', class: "betting-type-title" }, translate('bettingType', this.language)), h("div", { key: 'e61f4334b41095ec94c61a62d671985686120c72', class: "betting-type-text" }, h("div", { key: '683f2f04744b484cadcb1ad11118356359eba91c', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
211
+ return (h("div", { key: '896146c7c069e71fe6f652527c0086d942a23aa7', class: "lottery-tipping-latest-result", ref: (el) => (this.stylingContainer = el) }, this.curDrawSelection && this.curDrawSelection.length > 0 && (h("div", { key: '7098b4ad44e5ef8ca1b9c3df95dfccdb375a9867', class: "result-wrapper" }, h("div", { key: '14254a04b639a9ae0d8e7ee6fd8abb1938dc1c36', class: "date-selection" }, h("div", { key: '0f70418f699fa6884cd910ce46affd62e332267b', class: "date-selection-leftIcon", innerHTML: leftArrowIcon, onClick: this.preDraw.bind(this) }), h("div", { key: 'eb75d194c50a888a4ce2b57719da3d91b1718ea0', class: "date-selection-calendar" }, h("lottery-tipping-calendar", { key: 'feee855ed9c8e7afa3138c0bf92b821f6ab36421', date: this.lastestDate, highLightDates: this.hasDrawDates, language: this.language, "mb-source": this.mbSource, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl })), h("div", { key: '65c44ad37658cc2a523db08419ba7ea1d383840f', class: "date-selection-rightIcon", innerHTML: rightArrowIcon, onClick: this.nextDraw.bind(this) })), h("div", { key: '829ccba627f01454dc8eb307a6377c893bdea8c5', class: "winning-result" }, h("div", { key: '20952759d278b8727b4013e41f6227127a776ac7', class: "betting-type" }, h("div", { key: '802989e535ebdb2059681740587b476c812e35b4', class: "betting-type-title" }, translate('bettingType', this.language)), h("div", { key: 'aa69117cbb91fb269a66e2aab97309b06dfecd57', class: "betting-type-text" }, h("div", { key: '708ec51e5d307b1e27ff3ad4a2f0e43195e4a944', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
200
212
  LotteryTippingTicketController__segment: true,
201
213
  'LotteryTippingTicketController__segment--active': this.curDrawSelectionBettingType === bettingType
202
- }, onClick: this.handleDrawBettingTypeChange.bind(this, bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: 'e6754f5ad0f7a26625731a34c823db145f98cce8', "session-id": this.sessionId, endpoint: this.endpoint, "game-id": this.vendorGameId, "draw-id": this.curDrawItem.id, "default-bullet-config-line-group": JSON.stringify(this.curDrawSelection), "read-pretty": true, "total-pages": this.curDrawSelection.length, language: this.language, "mb-source": this.mbSource, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl })), h("div", { key: '8ba16a8c5472176ccf6402fa37149a4aef36a7d4', class: "prize-result" }, h("div", { key: '222fdca860622286275a1eca6fea94ae1aa5630e', class: "prize-result-title" }, translate('prizeAllocation', this.language, { turnover: thousandSeperator(this.curTurnOver) })), h("div", { key: 'c059684d4b8cfdb361224e031de3b72d83b25b47', class: "prize-result-table" }, h("div", { key: '617e627a32793cec2f18a51a3ec34821e413e539', class: "prize-result-table-header" }, h("div", { key: 'f43417f07f2a05e0438505a90217cc2dfea733f7', class: "prize-result-table-row" }, h("div", { key: '28a80707e4e1e4baacf7dcf347e4cdd68e5f336b', class: "prize-result-table-column" }, translate('prizes', this.language)), h("div", { key: '7213294fcbb792c5901b60ccc5f7a706ec37e05b', class: "prize-result-table-column" }, translate('numberOfWinners', this.language)), h("div", { key: 'dcad0d120a7eb92dfe9000f4e78221acb8c680ca', class: "prize-result-table-column" }, translate('prizeMoney', this.language)))), h("div", { key: 'f761e6d328b6f66333349b3fe85304d7f7b17ae2', class: "prize-result-table-body" }, this.curPrizes.map((prize) => (h("div", { class: "prize-result-table-row" }, h("div", { class: "prize-result-table-column" }, prize.divisionDisplayName), h("div", { class: "prize-result-table-column" }, prize.tickets), h("div", { class: "prize-result-table-column" }, thousandSeperator(prize.totalAmount.value)))))))))), this.curDrawSelection.length == 0 && !this.isLoading && (h("div", { key: '40a63a7af5886c646eae8803bc67766b94d7f5a3' }, translate('noLatestResult', this.language))), this.isLoading && h("div", { key: '879160955606bbc2e0c75adf6983abc960b5ccb2', class: "loading-wrap" }, translate('loading', this.language))));
214
+ }, onClick: this.handleDrawBettingTypeChange.bind(this, bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '8ee998390f5f9965d8a927231ab2f99ad552c5ba', "session-id": this.sessionId, endpoint: this.endpoint, "game-id": this.vendorGameId, "draw-id": this.curDrawItem.id, "default-bullet-config-line-group": JSON.stringify(this.curDrawSelection), "read-pretty": true, "total-pages": this.curDrawSelection.length, language: this.language, "mb-source": this.mbSource, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl })), h("div", { key: '10bdd643b69be187783ce4e2c50568ad1851be53', class: "prize-result" }, h("div", { key: '5c7466e02f8d0920dd7146d99f9360b66c6ee737', class: "prize-result-title" }, translate('prizeAllocation', this.language, { turnover: formattedTurnover(this.curTurnOver) })), h("div", { key: 'd37344089ddf988ea5093131c1ab3f56ff41fa5d', class: "prize-result-table" }, h("div", { key: '26f21fa18cc30e1981bd4d0c23ddfca123b65404', class: "prize-result-table-header" }, h("div", { key: 'f2f7fe64694c2a82bf5aec287a3349cd68221f07', class: "prize-result-table-row" }, h("div", { key: '7e6cf967655516f71d1a28209ddc3cc10ab0b246', class: "prize-result-table-column" }, translate('prizes', this.language)), h("div", { key: '420087a0cbf9ed50b764d8d05526f3f219539649', class: "prize-result-table-column" }, translate('numberOfWinners', this.language)), h("div", { key: 'df5fce05e03f48709ecd7f2f6f90e4408c4aa694', class: "prize-result-table-column" }, translate('prizeMoney', this.language)))), h("div", { key: '5ca663cc2a2d69124205158b90b82c2a299a45b3', class: "prize-result-table-body" }, this.displayedPrizes.map((prize) => (h("div", { class: "prize-result-table-row" }, h("div", { class: "prize-result-table-column" }, prize.divisionDisplayName), h("div", { class: "prize-result-table-column" }, prize.players), h("div", { class: "prize-result-table-column" }, thousandSeperator(prize.totalAmount.value)))))))))), this.curDrawSelection.length == 0 && !this.isLoading && (h("div", { key: '3efeea6a27837d8d4ea9c4a93bd225294a116ca6' }, translate('noLatestResult', this.language))), this.isLoading && h("div", { key: '6dbcdda8e4d044476f125fbf51dc6179b2eae8f1', class: "loading-wrap" }, translate('loading', this.language))));
203
215
  }
204
216
  static get is() { return "lottery-tipping-latest-result"; }
205
217
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ const TRANSLATIONS = {
4
4
  en: {
5
5
  weeks: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
6
6
  bettingType: 'Betting Type:',
7
- prizeAllocation: 'Prize Allocation (Turnover: € {turnover})',
7
+ prizeAllocation: 'Prize Allocation (Turnover: €{turnover})',
8
8
  prizes: 'Prizes',
9
9
  numberOfWinners: 'Number of Winners',
10
10
  prizeMoney: 'Prize Money',
@@ -13,7 +13,7 @@ const TRANSLATIONS = {
13
13
  },
14
14
  ro: {
15
15
  bettingType: 'Tip de pariu:',
16
- prizeAllocation: 'Alocarea premiilor (Cifră de afaceri: € {turnover})',
16
+ prizeAllocation: 'Alocarea premiilor (Cifră de afaceri: €{turnover})',
17
17
  prizes: 'Premii',
18
18
  numberOfWinners: 'Număr de câștigători',
19
19
  prizeMoney: 'Bani de premiu',
@@ -147,6 +147,12 @@ export function thousandSeperator(value) {
147
147
  parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
148
148
  return parts.join('.');
149
149
  }
150
+ export function formattedTurnover(turnover) {
151
+ if (turnover === null || turnover === undefined)
152
+ return '';
153
+ const unit = '€';
154
+ return `${unit}${turnover ? thousandSeperator(turnover) : 0}`;
155
+ }
150
156
  export async function fetchGameInfo(endpoint, gameId) {
151
157
  try {
152
158
  const response = await fetchRequest(`${endpoint}/games/${gameId}`, 'GET', {});
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement, c as createEvent } from './index-32d8a144.js';
2
- import { r as requiredArgs, t as toDate, _ as _typeof, s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, c as renderIconDefinitionToSVGElement, g as getTranslations$1, d as translate$1, e as LeftOutlined, R as RightOutlined } from './lottery-tipping-latest-result-3709c6a2.js';
3
- export { L as lottery_tipping_latest_result } from './lottery-tipping-latest-result-3709c6a2.js';
2
+ import { r as requiredArgs, t as toDate, _ as _typeof, s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, c as renderIconDefinitionToSVGElement, g as getTranslations$1, d as translate$1, e as LeftOutlined, R as RightOutlined } from './lottery-tipping-latest-result-92cd90b4.js';
3
+ export { L as lottery_tipping_latest_result } from './lottery-tipping-latest-result-92cd90b4.js';
4
4
 
5
5
  // This icon file is generated automatically.
6
6
  var CalendarOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" } }] }, "name": "calendar", "theme": "outlined" };
@@ -9788,11 +9788,7 @@ const LotteryTippingTicketBet = class {
9788
9788
  .then((data) => {
9789
9789
  this.ticketDataSource = data || [];
9790
9790
  this.isLoading = false;
9791
- if (this.parsedDefaultBulletConfigLineGroup && this.parsedDefaultBulletConfigLineGroup.length > 0)
9792
- this.bulletConfigLineGroup = this.parsedDefaultBulletConfigLineGroup;
9793
- else {
9794
- this._resetBulletConfig();
9795
- }
9791
+ this.updateBulletConfigLineGroup();
9796
9792
  })
9797
9793
  .catch((err) => {
9798
9794
  this.isLoading = false;
@@ -9800,6 +9796,13 @@ const LotteryTippingTicketBet = class {
9800
9796
  console.error('Error!', err);
9801
9797
  });
9802
9798
  }
9799
+ updateBulletConfigLineGroup() {
9800
+ if (this.parsedDefaultBulletConfigLineGroup && this.parsedDefaultBulletConfigLineGroup.length > 0)
9801
+ this.bulletConfigLineGroup = this.parsedDefaultBulletConfigLineGroup;
9802
+ else {
9803
+ this._resetBulletConfig();
9804
+ }
9805
+ }
9803
9806
  connectedCallback() {
9804
9807
  this.fetchMatchData();
9805
9808
  }
@@ -9967,6 +9970,7 @@ const LotteryTippingTicketBet = class {
9967
9970
  "gameId": ["fetchMatchData"],
9968
9971
  "sessionId": ["fetchMatchData"],
9969
9972
  "drawId": ["fetchMatchData"],
9973
+ "defaultBulletConfigLineGroup": ["fetchMatchData"],
9970
9974
  "currentPage": ["handleCurrentPageChange"]
9971
9975
  }; }
9972
9976
  };
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { L as LotteryTippingLatestResult } from './lottery-tipping-latest-result-3709c6a2.js';
1
+ export { L as LotteryTippingLatestResult } from './lottery-tipping-latest-result-92cd90b4.js';
2
2
  import './index-32d8a144.js';
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["general-tooltip_6",[[1,"lottery-tipping-latest-result",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[1537,"game-id"],"playerId":[1538,"player-id"],"sessionId":[1537,"session-id"],"hasDrawDates":[32],"lastestDate":[32],"drawList":[32],"curDrawItem":[32],"curDrawItemIdx":[32],"curDrawSelection":[32],"curDrawSelectionBettingType":[32],"curDrawSelectionMap":[32],"curPrizes":[32],"curPrizeMap":[32],"curTurnOver":[32],"isLoading":[32],"playTypes":[32],"bettingTypes":[32],"vendorGameId":[32]},[[0,"changeDate","handleChangeDate"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-ticket-bet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"sessionId":[513,"session-id"],"endpoint":[513],"gameId":[513,"game-id"],"drawId":[513,"draw-id"],"totalPages":[1538,"total-pages"],"minTotalPages":[514,"min-total-pages"],"maxTotalPages":[514,"max-total-pages"],"mode":[513],"readPretty":[516,"read-pretty"],"defaultBulletConfigLineGroup":[513,"default-bullet-config-line-group"],"translationData":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-calendar",{"date":[1],"highLightDates":[16],"language":[513],"translationUrl":[520,"translation-url"],"weeks":[32],"days":[32],"alterDate":[32],"curDate":[32],"recordInfo":[32],"showCalendar":[32]},null,{"date":["handleDateChange"]}],[1,"lottery-tipping-bullet-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[513,"position-idx"],"theme":[513],"mode":[513],"bulletConfigContent":[513,"bullet-config-content"]},[[0,"lotteryTippingBulletToggle","lotteryTippingBulletSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-tooltip",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"position":[1],"delay":[2],"isVisible":[32],"_tooltipId":[32]},[[1,"mouseenter","handleMouseEnterOrFocus"],[0,"focusin","handleMouseEnterOrFocus"],[1,"mouseleave","handleMouseLeaveOrBlur"],[0,"focusout","handleMouseLeaveOrBlur"],[0,"keydown","handleKeyDown"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[514,"position-idx"],"theme":[513],"value":[513],"disabled":[516],"isSelected":[516,"is-selected"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
8
+ return bootstrapLazy([["general-tooltip_6",[[1,"lottery-tipping-latest-result",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[1537,"game-id"],"playerId":[1538,"player-id"],"sessionId":[1537,"session-id"],"hasDrawDates":[32],"lastestDate":[32],"drawList":[32],"curDrawItem":[32],"curDrawItemIdx":[32],"curDrawSelection":[32],"curDrawSelectionBettingType":[32],"curDrawSelectionMap":[32],"curPrizes":[32],"curPrizeMap":[32],"curTurnOver":[32],"isLoading":[32],"playTypes":[32],"bettingTypes":[32],"vendorGameId":[32]},[[0,"changeDate","handleChangeDate"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-ticket-bet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"sessionId":[513,"session-id"],"endpoint":[513],"gameId":[513,"game-id"],"drawId":[513,"draw-id"],"totalPages":[1538,"total-pages"],"minTotalPages":[514,"min-total-pages"],"maxTotalPages":[514,"max-total-pages"],"mode":[513],"readPretty":[516,"read-pretty"],"defaultBulletConfigLineGroup":[513,"default-bullet-config-line-group"],"translationData":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"defaultBulletConfigLineGroup":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-calendar",{"date":[1],"highLightDates":[16],"language":[513],"translationUrl":[520,"translation-url"],"weeks":[32],"days":[32],"alterDate":[32],"curDate":[32],"recordInfo":[32],"showCalendar":[32]},null,{"date":["handleDateChange"]}],[1,"lottery-tipping-bullet-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[513,"position-idx"],"theme":[513],"mode":[513],"bulletConfigContent":[513,"bullet-config-content"]},[[0,"lotteryTippingBulletToggle","lotteryTippingBulletSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-tooltip",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"position":[1],"delay":[2],"isVisible":[32],"_tooltipId":[32]},[[1,"mouseenter","handleMouseEnterOrFocus"],[0,"focusin","handleMouseEnterOrFocus"],[1,"mouseleave","handleMouseLeaveOrBlur"],[0,"focusout","handleMouseLeaveOrBlur"],[0,"keydown","handleKeyDown"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[514,"position-idx"],"theme":[513],"value":[513],"disabled":[516],"isSelected":[516,"is-selected"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };