@everymatrix/lottery-tipping-entrance 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.
Files changed (31) hide show
  1. package/dist/cjs/{draw-selection_17.cjs.entry.js → draw-selection_18.cjs.entry.js} +245 -73
  2. package/dist/cjs/index-440d090f.js +2 -2
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{lottery-tipping-entrance-e50e77ae.js → lottery-tipping-entrance-2f5e8ecd.js} +61 -9
  6. package/dist/cjs/lottery-tipping-entrance.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +6 -0
  8. package/dist/collection/components/draw-selection/draw-selection.css +3 -0
  9. package/dist/collection/components/draw-selection/draw-selection.js +23 -3
  10. package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +85 -16
  11. package/dist/collection/utils/api.js +9 -0
  12. package/dist/collection/utils/locale.utils.js +1 -0
  13. package/dist/collection/utils/utils.js +12 -0
  14. package/dist/esm/{draw-selection_17.entry.js → draw-selection_18.entry.js} +247 -76
  15. package/dist/esm/index-a57b04e7.js +2 -2
  16. package/dist/esm/index.js +1 -1
  17. package/dist/esm/loader.js +1 -1
  18. package/dist/esm/{lottery-tipping-entrance-ded99035.js → lottery-tipping-entrance-76aac39c.js} +61 -9
  19. package/dist/esm/lottery-tipping-entrance.js +1 -1
  20. package/dist/lottery-tipping-entrance/draw-selection_18.entry.js +1 -0
  21. package/dist/lottery-tipping-entrance/index.esm.js +1 -1
  22. package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-ded99035.js → lottery-tipping-entrance-76aac39c.js} +34 -34
  23. package/dist/lottery-tipping-entrance/lottery-tipping-entrance.esm.js +1 -1
  24. package/dist/types/components/draw-selection/draw-selection.d.ts +1 -0
  25. package/dist/types/components/lottery-tipping-entrance/lottery-tipping-entrance.d.ts +8 -2
  26. package/dist/types/components.d.ts +5 -0
  27. package/dist/types/models/index.d.ts +16 -0
  28. package/dist/types/utils/api.d.ts +6 -1
  29. package/dist/types/utils/utils.d.ts +1 -0
  30. package/package.json +1 -1
  31. package/dist/lottery-tipping-entrance/draw-selection_17.entry.js +0 -1
@@ -74,10 +74,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
74
74
  }
75
75
  switch(bundleId) {
76
76
 
77
- case 'draw-selection_17.cjs':
77
+ case 'draw-selection_18.cjs':
78
78
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
79
79
  /* webpackMode: "lazy" */
80
- './draw-selection_17.cjs.entry.js')); }).then(processMod, consoleError);
80
+ './draw-selection_18.cjs.entry.js')); }).then(processMod, consoleError);
81
81
  }
82
82
  }
83
83
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const lotteryTippingEntrance = require('./lottery-tipping-entrance-e50e77ae.js');
5
+ const lotteryTippingEntrance = require('./lottery-tipping-entrance-2f5e8ecd.js');
6
6
  require('./index-440d090f.js');
7
7
 
8
8
 
@@ -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("[[\"draw-selection_17.cjs\",[[1,\"lottery-tipping-entrance\",{\"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\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32]},[[0,\"selectDraw\",\"handleSelectDraw\"],[0,\"closePoolGamePage\",\"handleClosePoolGamePage\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-page\",{\"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\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"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-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);
11
+ return index.bootstrapLazy(JSON.parse("[[\"draw-selection_18.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32],\"gameInfo\":[32],\"saleStatisticsInfo\":[32],\"handleClosePoolGamePage\":[64]},[[0,\"selectDraw\",\"handleSelectDraw\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"endpoint\":[\"onPropsChange\"],\"gameId\":[\"onPropsChange\"]}],[1,\"lottery-tipping-page\",{\"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\"],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"],\"turnover\":[1]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"saleStatisticsInfo\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-button\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"variant\":[513],\"size\":[513],\"disabled\":[516],\"loading\":[516],\"text\":[513],\"language\":[513],\"ripples\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1],\"formattedTurnover\":[1,\"formatted-turnover\"]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"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-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);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -9261,6 +9261,18 @@ function getDayWithSuffixLocal(isoString) {
9261
9261
  const month = format(date, 'LLLL');
9262
9262
  return `${day}${suffix} ${month}`;
9263
9263
  }
9264
+ function thousandSeparator(value) {
9265
+ if (value === 0) {
9266
+ return '0';
9267
+ }
9268
+ if (!value) {
9269
+ return '';
9270
+ }
9271
+ value = value.toString();
9272
+ const parts = value.split('.');
9273
+ parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
9274
+ return parts.join('.');
9275
+ }
9264
9276
 
9265
9277
  async function fetchGameInfo(endpoint, gameId) {
9266
9278
  try {
@@ -9272,6 +9284,15 @@ async function fetchGameInfo(endpoint, gameId) {
9272
9284
  throw new Error('The game is currently not available. Please try again later.');
9273
9285
  }
9274
9286
  }
9287
+ async function fetchSaleStatistics({ endpoint, gameId, drawId }) {
9288
+ try {
9289
+ const res = await fetchRequest(`${endpoint}/api/v1/lottery/core/widget/games/${gameId}/draws/${drawId}/saleStatistics`);
9290
+ return res;
9291
+ }
9292
+ catch (error) {
9293
+ return Promise.reject(error);
9294
+ }
9295
+ }
9275
9296
 
9276
9297
  const DEFAULT_LANGUAGE = 'en';
9277
9298
  const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
@@ -9283,6 +9304,7 @@ const TRANSLATIONS = {
9283
9304
  instruction: 'INSTRUCTION',
9284
9305
  howToWin: 'HOW TO WIN',
9285
9306
  selectDraws: 'Select Draws from the following bars:',
9307
+ turnover: 'Turnover: ',
9286
9308
  gameNotAvailable: 'Sorry. The Game is not available now.',
9287
9309
  instructionContent: 'Instruction content goes here.'
9288
9310
  },
@@ -9351,6 +9373,7 @@ const LotteryTippingEntrance = class {
9351
9373
  this.translationUrl = '';
9352
9374
  this.language = 'en';
9353
9375
  this.endpoint = undefined;
9376
+ this.endpointLotteryBe = undefined;
9354
9377
  this.endpointTicket = undefined;
9355
9378
  this.gameId = undefined;
9356
9379
  this.playerId = undefined;
@@ -9363,6 +9386,8 @@ const LotteryTippingEntrance = class {
9363
9386
  this.isLoading = false;
9364
9387
  this.selectedTabIndex = 0;
9365
9388
  this.showSelectDrawPage = true;
9389
+ this.gameInfo = {};
9390
+ this.saleStatisticsInfo = {};
9366
9391
  }
9367
9392
  handleClientStylingChange(newValue, oldValue) {
9368
9393
  if (newValue != oldValue) {
@@ -9379,6 +9404,9 @@ const LotteryTippingEntrance = class {
9379
9404
  setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9380
9405
  }
9381
9406
  }
9407
+ async onPropsChange() {
9408
+ this.getGameById();
9409
+ }
9382
9410
  componentWillLoad() {
9383
9411
  this.getGameById();
9384
9412
  if (this.translationUrl) {
@@ -9396,14 +9424,18 @@ const LotteryTippingEntrance = class {
9396
9424
  }
9397
9425
  }
9398
9426
  async getGameById() {
9399
- var _a, _b, _c, _d;
9427
+ var _a, _b, _c, _d, _e, _f;
9400
9428
  try {
9429
+ if (!(this.endpoint && this.gameId))
9430
+ return;
9401
9431
  this.isLoading = true;
9402
9432
  const gameInfo = await fetchGameInfo(this.endpoint, this.gameId);
9403
- this.date = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw.date;
9404
- this.drawId = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw.id;
9405
- this.playTypes = (_b = (_a = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _a === void 0 ? void 0 : _a.poolGame) === null || _b === void 0 ? void 0 : _b.playTypes;
9406
- this.bettingTypes = (_d = (_c = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _c === void 0 ? void 0 : _c.poolGame) === null || _d === void 0 ? void 0 : _d.bettingTypes;
9433
+ this.gameInfo = gameInfo || {};
9434
+ this.date = (_a = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _a === void 0 ? void 0 : _a.date;
9435
+ this.drawId = (_b = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.currentDraw) === null || _b === void 0 ? void 0 : _b.id;
9436
+ this.playTypes = (_d = (_c = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _c === void 0 ? void 0 : _c.poolGame) === null || _d === void 0 ? void 0 : _d.playTypes;
9437
+ this.bettingTypes = (_f = (_e = gameInfo === null || gameInfo === void 0 ? void 0 : gameInfo.rules) === null || _e === void 0 ? void 0 : _e.poolGame) === null || _f === void 0 ? void 0 : _f.bettingTypes;
9438
+ this.fetchSaleStatisticsHandler();
9407
9439
  }
9408
9440
  catch (e) {
9409
9441
  console.log(e);
@@ -9412,25 +9444,45 @@ const LotteryTippingEntrance = class {
9412
9444
  this.isLoading = false;
9413
9445
  }
9414
9446
  }
9447
+ get formattedTurnover() {
9448
+ var _a, _b;
9449
+ const turnover = (_b = (_a = this.saleStatisticsInfo) === null || _a === void 0 ? void 0 : _a.wagerSegment) === null || _b === void 0 ? void 0 : _b.totalSalesCrossDraw;
9450
+ const unit = '€';
9451
+ if (turnover === null || turnover === undefined)
9452
+ return '';
9453
+ return `${unit}${turnover ? thousandSeparator(turnover) : 0}`;
9454
+ }
9415
9455
  disconnectedCallback() {
9416
9456
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
9417
9457
  }
9418
9458
  handleSelectDraw() {
9419
9459
  this.showSelectDrawPage = false;
9420
9460
  }
9421
- handleClosePoolGamePage() {
9461
+ async fetchSaleStatisticsHandler() {
9462
+ var _a;
9463
+ this.saleStatisticsInfo = await fetchSaleStatistics({
9464
+ endpoint: this.endpointLotteryBe,
9465
+ gameId: (_a = this.gameInfo) === null || _a === void 0 ? void 0 : _a.type,
9466
+ drawId: this.drawId
9467
+ });
9468
+ }
9469
+ async handleClosePoolGamePage() {
9422
9470
  this.showSelectDrawPage = true;
9471
+ // refresh data
9472
+ this.fetchSaleStatisticsHandler();
9423
9473
  }
9424
9474
  render() {
9425
- return (index.h("div", { key: 'dca8e524dab5d828460ebdeffaa0218d74cb9bec', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (index.h("div", { key: '04ce9da3d9fec1dbdb95adaf11dba5057551ef13', class: "select-draw-page" }, index.h("div", { key: 'e92486eb044f785ef8fa618cbb632fde150a6e3d', class: "lottery-tipping-entrance__header" }, index.h("div", { key: '71f5ab8d77354b371fc42ed4b2e128a8768e790b', class: "header" }, index.h("div", { key: '1b1811ca5f27048e966d04a8533cdd3bd53791e7', class: "header-logo" }, this.logoUrl && index.h("img", { key: 'af7aaae73db8dfc1eca18258d8df8cfa379b3991', class: "logo", src: this.logoUrl })), index.h("div", { key: 'd0f4cecdbda9934b4a7d7033383163150697bc67', class: "header-btns" }, index.h("div", { key: '086c0691f099c798f348ac0fa1493e8fb93def04', class: "header-btns--left" }, index.h("slot", { key: '25399060895d061e95f5fe9b28de3b9c4616528b', name: "backGameSelectionBtn" })), index.h("div", { key: 'df371aec19551da9c9a1c0ff025acd30365cfd5e', class: "header-btns--right" }, index.h("slot", { key: '6f90aeb471289fda8211886556705c106b39e7d7', name: "themeBtn" }), index.h("slot", { key: '3c30f16b92ab910313190d9532421b6afd6f022f', name: "logoutBtn" })))), index.h("div", { key: '073f3cebf19388e65836c25ee35fe303ffa3371f', class: "tabs-wrap" }, index.h("vaadin-tabs", { key: 'c9376ce368ff3e0bc1e2fde48bf8969abc274149', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
9475
+ return (index.h("div", { key: '1e7f56ec3ac87c977967336379c32ebb5924d2b5', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (index.h("div", { key: '8434458fc307e34b2e153ce2a812b1b551011a7c', class: "select-draw-page" }, index.h("div", { key: '7ecebea05d9f60c54ca25222834f634b795993c6', class: "lottery-tipping-entrance__header" }, index.h("div", { key: 'c9323636edee6538a2963c46a91419dad5215121', class: "header" }, index.h("div", { key: 'd3093cb65c291f30f1da29df53cfea9577099d8e', class: "header-logo" }, this.logoUrl && index.h("img", { key: '21ade9ed843e8368c603db5a69744d561fd632fd', class: "logo", src: this.logoUrl })), index.h("div", { key: '0019ff7a1e93d8ee59849e0568bd114bbb3ff6ee', class: "header-btns" }, index.h("div", { key: '8c81411cdec022e6e50ada845773facf820608de', class: "header-btns--left" }, index.h("slot", { key: '72ea0d0849652d8ff14f2215b78785a983752044', name: "backGameSelectionBtn" })), index.h("div", { key: '524477221d37fb83e423fa63fb22466c5687b5ee', class: "header-btns--right" }, index.h("slot", { key: '6fa12400b787246843fbf32d1bee85eef856e397', name: "themeBtn" }), index.h("slot", { key: '02e019644a014fcbda7c132047391566a6b5c338', name: "logoutBtn" })))), index.h("div", { key: '4c84195953e3c52d3a27d9b4ef09b02b734a2a59', class: "tabs-wrap" }, index.h("vaadin-tabs", { key: '5651126d167a51de1c10abf0ad24d2a942713948', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
9426
9476
  this.selectedTabIndex = e.detail.value;
9427
- } }, index.h("vaadin-tab", { key: 'c9bf4c283d48652effc0733f2654d45e0a6a66d0', value: "0" }, translate('draws', this.language)), index.h("vaadin-tab", { key: '9f69a7ff8882bc0f6683ac3313338ce029a9bf8c', value: "1" }, translate('latestResults', this.language)), index.h("vaadin-tab", { key: '1427bde46937892a53605b29829a44660efd6863', value: "2" }, translate('instruction', this.language))))), index.h("div", { key: '233e5b219b1e25a447949c6969e10237d99ab153', class: "tabs-content" }, this.selectedTabIndex === 0 && (index.h("draw-selection", { key: '40aaee914fdf40a9d55b4c74c586c4fc4946ab2c', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (index.h("lottery-tipping-latest-result", { key: 'a4cfa01d3d8ed2b4272235f2e38f7289f2eb3bf3', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (index.h("div", { key: '07495a5e676dee5f1c0753f95236507ae212a322', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (index.h("lottery-tipping-page", { key: 'de9577e560cc1b441c24ed5551ce5fb98cbe7823', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language, "logo-url": this.logoUrl }, index.h("slot", { key: 'cad777da411ea6e5bba5744311030217ac8d0db3', name: "backBtn", slot: "backBtn" }), index.h("slot", { key: '91c5ee8a78e94d765b834eaeac251bb666ad9ebb', name: "themeBtn", slot: "themeBtn" }), index.h("slot", { key: '0cbeddc1c26bf935ecd298f69805ddf8cede1f13', name: "logoutBtn", slot: "logoutBtn" })))));
9477
+ } }, index.h("vaadin-tab", { key: '4b55f75ea95afefa41f9dbb8c427759bad0fc6e4', value: "0" }, translate('draws', this.language)), index.h("vaadin-tab", { key: '9da0765e66af92e8b805952ead084cbabda309e6', value: "1" }, translate('latestResults', this.language)), index.h("vaadin-tab", { key: 'ee9d410e283f5c38644493a6ad5e471d4ce30c36', value: "2" }, translate('instruction', this.language))))), index.h("div", { key: 'ac7c848f56cf04a7864a0dcc4ac964ae62e249e2', class: "tabs-content" }, this.selectedTabIndex === 0 && (index.h("draw-selection", { key: '7175c2b8a31ae442f2751c3510a4239ac7f7ac74', date: this.date, turnover: this.formattedTurnover, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (index.h("lottery-tipping-latest-result", { key: '64591b31563dee4eee5c93595e8e7a440cbc12b7', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (index.h("div", { key: '824cf05dc9bc88920ef9a7f537228e96580c8644', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (index.h("lottery-tipping-page", { key: '4225d04badd4e2a4121352f0f65437f8a29bde75', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "endpoint-lottery-be": this.endpointLotteryBe, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language, "logo-url": this.logoUrl }, index.h("slot", { key: '45108757d6855dc3e62b1e437c012570a179ca61', name: "backBtn", slot: "backBtn" }), index.h("slot", { key: 'a11825879c69265fa35e593c8faf3eab81c0ccbc', name: "themeBtn", slot: "themeBtn" }), index.h("slot", { key: '907e6b5bac44f30ff57f9b27b641d44ac0a4701e', name: "logoutBtn", slot: "logoutBtn" })))));
9428
9478
  }
9429
9479
  static get assetsDirs() { return ["static"]; }
9430
9480
  static get watchers() { return {
9431
9481
  "clientStyling": ["handleClientStylingChange"],
9432
9482
  "clientStylingUrl": ["handleClientStylingUrlChange"],
9433
- "mbSource": ["handleMbSourceChange"]
9483
+ "mbSource": ["handleMbSourceChange"],
9484
+ "endpoint": ["onPropsChange"],
9485
+ "gameId": ["onPropsChange"]
9434
9486
  }; }
9435
9487
  };
9436
9488
  LotteryTippingEntrance.style = LotteryTippingEntranceStyle0;
@@ -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("[[\"draw-selection_17.cjs\",[[1,\"lottery-tipping-entrance\",{\"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\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32]},[[0,\"selectDraw\",\"handleSelectDraw\"],[0,\"closePoolGamePage\",\"handleClosePoolGamePage\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-page\",{\"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\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"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-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);
22
+ return index.bootstrapLazy(JSON.parse("[[\"draw-selection_18.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"logoUrl\":[513,\"logo-url\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32],\"gameInfo\":[32],\"saleStatisticsInfo\":[32],\"handleClosePoolGamePage\":[64]},[[0,\"selectDraw\",\"handleSelectDraw\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"endpoint\":[\"onPropsChange\"],\"gameId\":[\"onPropsChange\"]}],[1,\"lottery-tipping-page\",{\"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\"],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"logoUrl\":[513,\"logo-url\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"infoImageUrl\":[513,\"info-image-url\"],\"date\":[1],\"isLoading\":[4,\"is-loading\"],\"turnover\":[1]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"logoUrl\":[513,\"logo-url\"],\"endpoint\":[513],\"endpointLotteryBe\":[513,\"endpoint-lottery-be\"],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"saleStatisticsInfo\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[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-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-button\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"variant\":[513],\"size\":[513],\"disabled\":[516],\"loading\":[516],\"text\":[513],\"language\":[513],\"ripples\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"logoUrl\":[513,\"logo-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1],\"formattedTurnover\":[1,\"formatted-turnover\"]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"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-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);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -15,6 +15,12 @@
15
15
  "general-multi-select"
16
16
  ]
17
17
  },
18
+ {
19
+ "name": "@everymatrix/lottery-button",
20
+ "tags": [
21
+ "lottery-button"
22
+ ]
23
+ },
18
24
  {
19
25
  "name": "@everymatrix/lottery-tipping-bullet-group",
20
26
  "tags": [
@@ -6,6 +6,7 @@
6
6
  width: 100%;
7
7
  height: 100%;
8
8
  position: absolute;
9
+ z-index: 0;
9
10
  background: linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));
10
11
  }
11
12
  .draw-page .draw-page__background .top-waves {
@@ -266,6 +267,7 @@
266
267
  display: flex;
267
268
  align-items: center;
268
269
  justify-content: center;
270
+ flex-direction: column;
269
271
  }
270
272
  .draw-info-item:hover {
271
273
  animation: jelly 0.6s ease;
@@ -373,6 +375,7 @@
373
375
  }
374
376
 
375
377
  .loading-indicator {
378
+ z-index: 1;
376
379
  display: flex;
377
380
  justify-content: center;
378
381
  padding-top: 40px;
@@ -15,7 +15,8 @@ export class DrawSelection {
15
15
  this.language = 'en';
16
16
  this.infoImageUrl = '';
17
17
  this.date = '';
18
- this.isLoading = undefined;
18
+ this.isLoading = false;
19
+ this.turnover = '';
19
20
  }
20
21
  handleClientStylingChange(newValue, oldValue) {
21
22
  if (newValue != oldValue) {
@@ -69,7 +70,7 @@ export class DrawSelection {
69
70
  return (h("div", { class: "draw-page__background" }, h("div", { class: "top-waves" }, h("svg", { class: "wave-svg", viewBox: "0 0 100 8", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0 4 Q25 0 50 4 T100 4", stroke: "rgba(255,255,255,0.7)", "stroke-width": "3", fill: "none", "stroke-linecap": "round" })), h("svg", { class: "wave-svg", viewBox: "0 0 100 8", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0 4 Q25 0 50 4 T100 4", stroke: "rgba(255,255,255,0.7)", "stroke-width": "3", fill: "none", "stroke-linecap": "round" })), h("svg", { class: "wave-svg", viewBox: "0 0 100 8", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M0 4 Q25 0 50 4 T100 4", stroke: "rgba(255,255,255,0.7)", "stroke-width": "3", fill: "none", "stroke-linecap": "round" }))), h("div", { class: "dots-cluster" }, new Array(27).fill(0).map(() => (h("div", { class: "dot" }))))));
70
71
  }
71
72
  render() {
72
- return (h("div", { key: '258b36a0c45a085f9f5a0aecbaa1ff8dc974b807', class: "draw-page", ref: (el) => (this.stylingContainer = el) }, this.renderBackground(), this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("div", { class: "empty-draw-logo", innerHTML: infoImage }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate('gameNotAvailable', this.language)), h("div", { class: "empty-draw-text" }, "\u24D8 ", translate('gameNotAvailable', this.language))))))));
73
+ return (h("div", { key: 'a14f3d9e82f3f1fb75e592043dff00f4948006b8', class: "draw-page", ref: (el) => (this.stylingContainer = el) }, this.renderBackground(), this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-date" }, " ", translate('turnover', this.language) + this.turnover), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, " ", translate('turnover', this.language) + '€0'), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, " ", translate('turnover', this.language) + '€0'), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("div", { class: "empty-draw-logo", innerHTML: infoImage }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate('gameNotAvailable', this.language))))))));
73
74
  }
74
75
  static get is() { return "draw-selection"; }
75
76
  static get encapsulation() { return "shadow"; }
@@ -206,7 +207,26 @@ export class DrawSelection {
206
207
  "text": ""
207
208
  },
208
209
  "attribute": "is-loading",
209
- "reflect": false
210
+ "reflect": false,
211
+ "defaultValue": "false"
212
+ },
213
+ "turnover": {
214
+ "type": "string",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "string",
218
+ "resolved": "string",
219
+ "references": {}
220
+ },
221
+ "required": false,
222
+ "optional": false,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": ""
226
+ },
227
+ "attribute": "turnover",
228
+ "reflect": false,
229
+ "defaultValue": "''"
210
230
  }
211
231
  };
212
232
  }