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AAAA,EAAAA,IAAiB,CAC3CC,OAAQ,WACRC,MAAO,CACLwH,aAAc,CAAExL,KAAM2J,QAASzC,SAAS,GACxCuE,aAAc,CAAEzL,KAAM2J,QAASzC,SAAS,GACxC4C,MAAO,CAAE5C,QAAS,UAEpBhD,KAAAA,CAAMC,GAIR,MAAO,CAACuC,EAAUC,IACRD,EAAK8E,eACR5E,EAAAA,EAAAA,OAAcC,EAAAA,EAAAA,IAAoB,MAAO,CACxCjD,IAAK,EACLF,OAAOoD,EAAAA,EAAAA,IAAgB,CAAC,8BAA+B,CAAE,0CAA2CJ,EAAK+E,iBACxG,EACDrD,EAAAA,EAAAA,IAAoB,QAAS,CAC3B1E,OAAOoD,EAAAA,EAAAA,IAAgB,CAAC,WAAY,CAAE,iBAAiC,SAAfJ,EAAKoD,SAC7D,wBAAyBpD,EAAK8E,cAC7B,EACDJ,EAAAA,EAAAA,IAAY1E,EAAK2E,OAAQ,YACxB,GAAI5H,IACN,MACFmD,EAAAA,EAAAA,OAAcC,EAAAA,EAAAA,IAAoB,QAAS,CAC1CjD,IAAK,EACLF,OAAOoD,EAAAA,EAAAA,IAAgB,CAAC,WAAY,CAAE,iBAAiC,SAAfJ,EAAKoD,UAC5D,EACDsB,EAAAA,EAAAA,IAAY1E,EAAK2E,OAAQ,YACxB,GAET,ICpCM/C,EAAc,EAEpB,G","sources":["webpack://@sazka/web/../../libs/mobile-apps/use-webview-debug.ts","webpack://@sazka/web/../../libs/mobile-apps/mobile-app-integration.ts","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/composables/use-gw-history.ts","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/components/gw-history-table.vue?b1f4","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/components/gw-history-table.vue","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/components/gw-history-table.vue?8aaa","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/partials/gw-history-active.vue?ac9f","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/partials/gw-history-active.vue","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/partials/gw-history-active.vue?c98e","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/_gw-history-page.vue?1526","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/_gw-history-page.vue","webpack://@sazka/web/./js/app/golden-wheel/pages/history-page/_gw-history-page.vue?d444","webpack://@sazka/web/../../libs/design-system/src/pagination/pagination-injection-key.ts","webpack://@sazka/web/../../libs/design-system/src/pagination-item/pagination-item.vue?b6f0","webpack://@sazka/web/../../libs/design-system/src/pagination-item/pagination-item.vue","webpack://@sazka/web/../../libs/design-system/src/pagination-item/pagination-item.vue?a6f4","webpack://@sazka/web/../../libs/design-system/src/pagination/ds-pagination.vue?0dd4","webpack://@sazka/web/../../libs/design-system/src/pagination/ds-pagination.vue","webpack://@sazka/web/../../libs/design-system/src/pagination/ds-pagination.vue?6b2a","webpack://@sazka/web/../../libs/design-system/src/table-cell/ds-table-cell.vue?4e0a","webpack://@sazka/web/../../libs/design-system/src/table-cell/ds-table-cell.vue","webpack://@sazka/web/../../libs/design-system/src/table-row/ds-table-row.vue","webpack://@sazka/web/../../libs/design-system/src/table-row/ds-table-row.vue?5f62","webpack://@sazka/web/../../libs/design-system/src/table/ds-table.vue?c89e","webpack://@sazka/web/../../libs/design-system/src/table/ds-table.vue"],"sourcesContent":["import { useNgSession } from \"@sazka/ng/ng-session\";\r\nimport { sazkaAlert } from \"@sazka/utils/sazka-alert\";\r\nimport { ref } from \"vue\";\r\nimport $ from \"jquery\";\r\n\r\nconst webViewDebugModeOn = ref(false);\r\n\r\nexport default function useWebviewDebugMode() {\r\n const initWebviewDebugMode = (): void => {\r\n try {\r\n if (environment.env == \"Production\") return;\r\n // Create debug button\r\n const debugBtn = document.createElement(\"button\");\r\n debugBtn.className = \"webview-debug\";\r\n debugBtn.attributes[\"type\"] = \"button\";\r\n debugBtn.onclick = () => {\r\n webViewDebugModeOn.value = !webViewDebugModeOn.value;\r\n $(\".webview-debug__mode\").toggleClass(\"webview-debug__mode--active\");\r\n if (webViewDebugModeOn.value) {\r\n const { session } = useNgSession();\r\n\r\n sazkaAlert(\r\n \"WebView\",\r\n `Aplikace: ${environment.appName}<br/>\r\n URL: ${window.location.href}<br/>\r\n PlayerId z BE: ${window.player?.id || \"---\"}<br/>\r\n PlayerId od NG: ${session.value?.PlayerID || \"---\"}<br/>\r\n SessionToken z BE: ${window.player?.sessionToken || \"---\"}<br/>\r\n SessionToken od NG: ${session.value?.SessionToken || \"---\"}<br/>\r\n `\r\n );\r\n }\r\n };\r\n\r\n debugBtn.insertAdjacentHTML(\r\n \"beforeend\",\r\n '<span>WebView Debug</span> <span class=\"webview-debug__mode\">Active</span>'\r\n );\r\n document.querySelector(\"body\").appendChild(debugBtn);\r\n } catch (e) {\r\n console.error(`WebView Debug Mode Initialiazation Failed: ${e}`);\r\n }\r\n };\r\n\r\n const showEventAlert = (interfaceName: string, methodName: string, argument: string): void => {\r\n try {\r\n if (!webViewDebugModeOn.value) return;\r\n\r\n const eventMessage =\r\n argument !== null && argument !== undefined\r\n ? `Interface ${interfaceName}; method ${methodName}('${argument}')`\r\n : `Interface ${interfaceName}; method ${methodName}()`;\r\n confirm(eventMessage);\r\n } catch (e) {\r\n console.error(`Show Alert For WebView Debug Mode Failed: ${e}`);\r\n }\r\n };\r\n\r\n return {\r\n showEventAlert,\r\n initWebviewDebugMode,\r\n };\r\n}\r\n","import { InterfaceName, MobileAppMethodName } from \"./mobile-app-models\";\r\nimport useWebviewDebugMode from \"./use-webview-debug\";\r\n\r\nconst { initWebviewDebugMode, showEventAlert } = useWebviewDebugMode();\r\n\r\nexport function triggerMobileAppEvent(\r\n methodName: MobileAppMethodName,\r\n argument?: string,\r\n interfaceName?: InterfaceName\r\n): void;\r\nexport function triggerMobileAppEvent(methodName: string, argument?: string, interfaceName?: InterfaceName): void;\r\nexport function triggerMobileAppEvent(\r\n methodName: string,\r\n argument?: string,\r\n interfaceName: InterfaceName = \"generalIntegration\"\r\n): void {\r\n const anyWindow = window as any;\r\n\r\n // for iOS WebKit\r\n if (typeof anyWindow.webkit !== \"undefined\") {\r\n showEventAlert(interfaceName, methodName, argument);\r\n argument !== null && argument !== undefined\r\n ? anyWindow.webkit.messageHandlers[interfaceName].postMessage(\r\n JSON.stringify({ type: methodName, parameters: argument })\r\n )\r\n : anyWindow.webkit.messageHandlers[interfaceName]?.postMessage(JSON.stringify({ type: methodName }));\r\n }\r\n\r\n // for Android WebView\r\n const androindInterface = anyWindow[interfaceName];\r\n if (androindInterface?.hasOwnProperty(methodName)) {\r\n showEventAlert(interfaceName, methodName, argument);\r\n argument !== null && argument !== undefined\r\n ? androindInterface[methodName](argument)\r\n : androindInterface[methodName]();\r\n }\r\n\r\n // TODO remove after Adastra deploy\r\n if (interfaceName == \"generalIntegration\") {\r\n triggerMobileAppEvent(methodName, argument, \"bannerIntegration\");\r\n triggerMobileAppEvent(methodName, argument, \"goldenWheelIntegration\");\r\n }\r\n}\r\n\r\nfunction initAutoMobileAppEvents() {\r\n document.querySelectorAll(\"[data-app-event]:not([data-app-event=''])\").forEach((item) => {\r\n item.addEventListener(\"click\", (e) => {\r\n e.preventDefault();\r\n const eventName = (e.currentTarget as HTMLElement).getAttribute(\"data-app-event\");\r\n const argument = (e.currentTarget as HTMLElement).getAttribute(\"data-app-argument\");\r\n\r\n triggerMobileAppEvent(eventName, argument);\r\n });\r\n });\r\n}\r\n\r\nexport const isMobileApp = environment.isInAppView || false;\r\n\r\nexport function initMobileAppFeatures() {\r\n if (isMobileApp) {\r\n initAutoMobileAppEvents();\r\n\r\n // WebView Debug Mode\r\n initWebviewDebugMode();\r\n }\r\n}\r\n","import { ref, computed, watchEffect } from \"vue\";\r\nimport { GwPageState } from \"../../shared/models/gw-models\";\r\nimport { Loader } from \"@sazka/design-system/src/loader/loader\";\r\nimport { useNgSession } from \"@sazka/ng/ng-session\";\r\nimport { ngFrameworkLoaded } from \"@sazka/ng/ng-integration\";\r\nimport { useGwPlayerData } from \"@/golden-wheel/composables/use-gw-player-data\";\r\nimport { GwPlayerDataApi } from \"@/golden-wheel/api/gw-player-data-api\";\r\nimport { GwPlayerHistoryDto } from \"@/golden-wheel/api/models/gw-player-history-dto\";\r\nimport { logDebugEvent, logException } from \"@sazka/utils/logger/use-app-logger\";\r\nimport { BwPlayerHistoryDto } from \"@/golden-wheel/api/models/bw-player-history-dto\";\r\n\r\nconst { session, isLoggedIn } = useNgSession();\r\nconst { gwPlayerData } = useGwPlayerData();\r\n\r\nconst playerId = computed(() => session.value?.PlayerID);\r\nconst historyHiddenClass = \"gw-history__hidden\";\r\n\r\nconst gwHistoryData = ref<GwPlayerHistoryDto[]>([]);\r\nconst bwHistoryData = ref<BwPlayerHistoryDto[]>([]);\r\n\r\n/* ***************************** PAGE STATE ***************************** */\r\nconst historyPageState = ref<GwPageState>(\"NONE\");\r\nconst setPageState = (newState: GwPageState, message?: string, err?: unknown) => {\r\n historyPageState.value = newState;\r\n\r\n const data = {\r\n newState: newState,\r\n gwHistoryData: gwHistoryData.value,\r\n bwHistoryData: bwHistoryData.value,\r\n gwPLayerData: gwPlayerData.value,\r\n };\r\n\r\n if (err && err instanceof Error) {\r\n logException(\"gw-history\", err, { message: message, data: data });\r\n } else {\r\n logDebugEvent(\"golden-wheel\", \"gw-history\", { message: message, data: data });\r\n }\r\n};\r\n\r\n/* ***************************** INIT PAGE ***************************** */\r\nconst hideExternalWidgets = () => {\r\n const header = document.getElementById(\"gw-history-header\");\r\n if (header) {\r\n header.classList.add(historyHiddenClass);\r\n }\r\n};\r\n\r\nconst showExternalWidgets = () => {\r\n const header = document.getElementById(\"gw-history-header\");\r\n if (header) {\r\n header.classList.remove(historyHiddenClass);\r\n }\r\n};\r\n\r\nconst loadHistoryData = async () => {\r\n try {\r\n gwHistoryData.value = await GwPlayerDataApi.fetchPlayerHistory(playerId.value);\r\n\r\n bwHistoryData.value = await GwPlayerDataApi.fetchPlayerBwHistory(playerId.value);\r\n\r\n setPageState(\"ACTIVE\");\r\n showExternalWidgets();\r\n } catch (ex: unknown) {\r\n setPageState(\"ERROR\", \"Load GW history data error\", ex);\r\n }\r\n};\r\n\r\nasync function setHistoryPageStatus() {\r\n if (!isLoggedIn.value) {\r\n setPageState(\"UNAUTHORIZED\");\r\n hideExternalWidgets();\r\n return;\r\n }\r\n\r\n if (!gwPlayerData.value.access) {\r\n hideExternalWidgets();\r\n setPageState(\"NONE\");\r\n return;\r\n }\r\n\r\n if (gwPlayerData.value.access.denied) {\r\n hideExternalWidgets();\r\n setPageState(\"DENIED\");\r\n return;\r\n }\r\n\r\n await loadHistoryData();\r\n}\r\n\r\nasync function initHistoryStateData() {\r\n try {\r\n await ngFrameworkLoaded();\r\n\r\n watchEffect(setHistoryPageStatus);\r\n } catch (ex) {\r\n setPageState(\"ERROR\", \"Init GW history error\", ex);\r\n }\r\n}\r\n\r\ninitHistoryStateData().finally(() => {\r\n Loader.hide();\r\n});\r\n\r\nexport function useGwHistory() {\r\n return {\r\n historyPageState,\r\n gwHistoryData,\r\n bwHistoryData,\r\n\r\n loadHistoryData,\r\n };\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"gw-history__pagination\" }\nconst _hoisted_2 = { key: 1 }\n\nimport { computed, ref } from \"vue\";\r\nimport DSPaginator from \"@sazka/design-system/src/pagination/ds-pagination.vue\";\r\nimport { DateTimeUtils } from \"@sazka/utils/date-time-utils\";\r\nimport DsTable from \"@sazka/design-system/src/table/ds-table.vue\";\r\nimport DsRow from \"@sazka/design-system/src/table-row/ds-table-row.vue\";\r\nimport DsCell from \"@sazka/design-system/src/table-cell/ds-table-cell.vue\";\r\n\r\nimport { GwPlayerHistoryDto } from \"@/golden-wheel/api/models/gw-player-history-dto\";\r\nimport {\r\n BonusWheelHistoryStatus,\r\n BonusWheelType,\r\n BwPlayerHistoryDto,\r\n} from \"@/golden-wheel/api/models/bw-player-history-dto\";\r\n\r\nconst countPerPage = 5;\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'gw-history-table',\n props: {\n historyData: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst isGwItem = (item: GwPlayerHistoryDto | BwPlayerHistoryDto): item is GwPlayerHistoryDto => {\r\n return (item as GwPlayerHistoryDto).id !== undefined;\r\n};\r\n\r\nconst isGw = computed(() => isGwItem(props.historyData[0]));\r\n\r\nconst currentPage = ref(1);\r\nconst orderBy = ref(isGw.value ? \"date\" : \"timestamp\");\r\nconst orderByDescending = ref(true);\r\n\r\nconst checkIsActiveOrder = (code: string) => orderBy.value == code;\r\nconst isOrderedByDesc = (code: string) => checkIsActiveOrder(code) && orderByDescending.value;\r\nconst changePage = (page: number) => {\r\n currentPage.value = page;\r\n};\r\n\r\nconst setOrder = (code: string) => {\r\n currentPage.value = 1;\r\n if (orderBy.value == code) {\r\n orderByDescending.value = !orderByDescending.value;\r\n } else {\r\n orderByDescending.value = false;\r\n orderBy.value = code;\r\n }\r\n};\r\n\r\nconst totalItems = computed(() => props.historyData.length);\r\nconst pagesCount = computed(() => Math.ceil(totalItems.value / countPerPage));\r\nconst pagingEnabled = computed(() => pagesCount.value > 1);\r\n\r\nconst displayedHistoryItems = computed(() => {\r\n const result = [...props.historyData];\r\n\r\n result.sort((a, b) => {\r\n const orderByValue = orderBy.value == \"state-reward\" ? \"state\" : orderBy.value; // In BW history there are 2 columns using \"state\" value of item\r\n const order = a[orderByValue]?.toString()?.localeCompare(b[orderByValue]?.toString());\r\n\r\n if (orderByDescending.value) {\r\n return order * -1;\r\n }\r\n\r\n return order;\r\n });\r\n\r\n return result.slice((currentPage.value - 1) * countPerPage, currentPage.value * countPerPage);\r\n});\r\n\r\nconst getHistoryStateName = (state: BonusWheelHistoryStatus) => {\r\n switch (state) {\r\n case \"Active\":\r\n return \"PÅ™iÅ™azenà bonusového kola\";\r\n case \"Spinned\":\r\n return \"ZatoÄenà bonusovým kolem\";\r\n case \"Expired\":\r\n case \"Overwritten\":\r\n return \"Expirace bonusového kola\";\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst getHistoryTypeName = (type: BonusWheelType) => {\r\n switch (type) {\r\n case \"Common\":\r\n return \"Kampaň\";\r\n case \"Compensation\":\r\n return \"Kompenzace\";\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst getHistoryAwardText = (item: BwPlayerHistoryDto) => {\r\n switch (item.state) {\r\n case \"Active\":\r\n return `Nárok na extra zatoÄenà do ${DateTimeUtils.formatDateTimeLong(new Date(item.expiration))}`;\r\n case \"Spinned\":\r\n return item.awardText;\r\n case \"Expired\":\r\n return `NezatoÄeno do ${DateTimeUtils.formatDateTimeLong(new Date(item.expiration))}`;\r\n case \"Overwritten\":\r\n return \"Zisk dalÅ¡Ãho kola\";\r\n default:\r\n return null;\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"gw-history__wrapper\", { 'gw-history__wrapper--paging-enabled': pagingEnabled.value }])\n }, [\n (totalItems.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(DsTable, {\n \"is-scrollable\": true,\n \"is-responsive\": true,\n class: \"gw-history__table\"\n }, {\n default: _withCtx(() => [\n _createVNode(DsRow, { class: \"gw-history__table-row\" }, {\n default: _withCtx(() => [\n _createVNode(DsCell, {\n type: \"th\",\n class: \"gw-history__table-cell gw-history__table-cell--date\",\n \"enable-ordering\": true,\n \"is-ordering-active\": isGw.value ? checkIsActiveOrder('date') : checkIsActiveOrder('timestamp'),\n \"is-order-desc\": isGw.value ? isOrderedByDesc('date') : isOrderedByDesc('timestamp'),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isGw.value ? setOrder('date') : setOrder('timestamp')))\n }, {\n default: _withCtx(() => _cache[4] || (_cache[4] = [\n _createTextVNode(\"Datum a Äas\")\n ])),\n _: 1\n }, 8, [\"is-ordering-active\", \"is-order-desc\"]),\n _createVNode(DsCell, {\n type: \"th\",\n class: \"gw-history__table-cell gw-history__table-cell--action\",\n \"enable-ordering\": true,\n \"is-ordering-active\": isGw.value ? checkIsActiveOrder('action') : checkIsActiveOrder('state'),\n \"is-order-desc\": isGw.value ? isOrderedByDesc('action') : isOrderedByDesc('state'),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (isGw.value ? setOrder('action') : setOrder('state')))\n }, {\n default: _withCtx(() => _cache[5] || (_cache[5] = [\n _createTextVNode(\"Akce\")\n ])),\n _: 1\n }, 8, [\"is-ordering-active\", \"is-order-desc\"]),\n _createVNode(DsCell, {\n type: \"th\",\n class: \"gw-history__table-cell gw-history__table-cell--detail\",\n \"enable-ordering\": true,\n \"is-ordering-active\": isGw.value ? checkIsActiveOrder('detail') : checkIsActiveOrder('type'),\n \"is-order-desc\": isGw.value ? isOrderedByDesc('detail') : isOrderedByDesc('type'),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (isGw.value ? setOrder('detail') : setOrder('type')))\n }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [\n _createTextVNode(\"Detail\")\n ])),\n _: 1\n }, 8, [\"is-ordering-active\", \"is-order-desc\"]),\n _createVNode(DsCell, {\n type: \"th\",\n class: \"gw-history__table-cell gw-history__table-cell--reward\",\n \"enable-ordering\": true,\n \"is-ordering-active\": isGw.value ? checkIsActiveOrder('reward') : checkIsActiveOrder('state-reward'),\n \"is-order-desc\": isGw.value ? isOrderedByDesc('reward') : isOrderedByDesc('state-reward'),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (isGw.value ? setOrder('reward') : setOrder('state-reward')))\n }, {\n default: _withCtx(() => _cache[7] || (_cache[7] = [\n _createTextVNode(\"OdmÄ›na\")\n ])),\n _: 1\n }, 8, [\"is-ordering-active\", \"is-order-desc\"])\n ]),\n _: 1\n }),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(displayedHistoryItems.value, (item, x) => {\n return (_openBlock(), _createBlock(DsRow, {\n class: \"\",\n key: x\n }, {\n default: _withCtx(() => [\n (isGwItem(item))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(DateTimeUtils).formatDateTimeLong(new Date(item.date))), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.action), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.detail), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.reward), 1)\n ]),\n _: 2\n }, 1024)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(DateTimeUtils).formatDateTimeLong(new Date(item.timestamp))), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(getHistoryStateName(item.state)), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(getHistoryTypeName(item.type)), 1)\n ]),\n _: 2\n }, 1024),\n _createVNode(DsCell, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(getHistoryAwardText(item)), 1)\n ]),\n _: 2\n }, 1024)\n ], 64))\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(DSPaginator, {\n \"total-pages\": pagesCount.value,\n \"current-page\": currentPage.value,\n \"on-click-handler\": (page) => changePage(page)\n }, null, 8, [\"total-pages\", \"current-page\", \"on-click-handler\"])\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(\"h6\", _hoisted_2, \"Nemáte žádný záznam v historii\"))\n ], 2))\n}\n}\n\n})","<template>\r\n <div class=\"gw-history__wrapper\" :class=\"{ 'gw-history__wrapper--paging-enabled': pagingEnabled }\">\r\n <template v-if=\"totalItems\">\r\n <DsTable :is-scrollable=\"true\" :is-responsive=\"true\" class=\"gw-history__table\">\r\n <DsRow class=\"gw-history__table-row\">\r\n <DsCell\r\n type=\"th\"\r\n class=\"gw-history__table-cell gw-history__table-cell--date\"\r\n :enable-ordering=\"true\"\r\n :is-ordering-active=\"isGw ? checkIsActiveOrder('date') : checkIsActiveOrder('timestamp')\"\r\n :is-order-desc=\"isGw ? isOrderedByDesc('date') : isOrderedByDesc('timestamp')\"\r\n @click=\"isGw ? setOrder('date') : setOrder('timestamp')\"\r\n >Datum a Äas</DsCell\r\n >\r\n <DsCell\r\n type=\"th\"\r\n class=\"gw-history__table-cell gw-history__table-cell--action\"\r\n :enable-ordering=\"true\"\r\n :is-ordering-active=\"isGw ? checkIsActiveOrder('action') : checkIsActiveOrder('state')\"\r\n :is-order-desc=\"isGw ? isOrderedByDesc('action') : isOrderedByDesc('state')\"\r\n @click=\"isGw ? setOrder('action') : setOrder('state')\"\r\n >Akce</DsCell\r\n >\r\n <DsCell\r\n type=\"th\"\r\n class=\"gw-history__table-cell gw-history__table-cell--detail\"\r\n :enable-ordering=\"true\"\r\n :is-ordering-active=\"isGw ? checkIsActiveOrder('detail') : checkIsActiveOrder('type')\"\r\n :is-order-desc=\"isGw ? isOrderedByDesc('detail') : isOrderedByDesc('type')\"\r\n @click=\"isGw ? setOrder('detail') : setOrder('type')\"\r\n >Detail</DsCell\r\n >\r\n <DsCell\r\n type=\"th\"\r\n class=\"gw-history__table-cell gw-history__table-cell--reward\"\r\n :enable-ordering=\"true\"\r\n :is-ordering-active=\"isGw ? checkIsActiveOrder('reward') : checkIsActiveOrder('state-reward')\"\r\n :is-order-desc=\"isGw ? isOrderedByDesc('reward') : isOrderedByDesc('state-reward')\"\r\n @click=\"isGw ? setOrder('reward') : setOrder('state-reward')\"\r\n >OdmÄ›na</DsCell\r\n >\r\n </DsRow>\r\n <DsRow class=\"\" v-for=\"(item, x) in displayedHistoryItems\" :key=\"x\">\r\n <template v-if=\"isGwItem(item)\">\r\n <DsCell>{{ DateTimeUtils.formatDateTimeLong(new Date(item.date)) }}</DsCell>\r\n <DsCell>{{ item.action }}</DsCell>\r\n <DsCell>{{ item.detail }}</DsCell>\r\n <DsCell>{{ item.reward }}</DsCell>\r\n </template>\r\n <template v-else>\r\n <DsCell>{{ DateTimeUtils.formatDateTimeLong(new Date(item.timestamp)) }}</DsCell>\r\n <DsCell>{{ getHistoryStateName(item.state) }}</DsCell>\r\n <DsCell>{{ getHistoryTypeName(item.type) }}</DsCell>\r\n <DsCell>{{ getHistoryAwardText(item) }}</DsCell>\r\n </template>\r\n </DsRow>\r\n </DsTable>\r\n <div class=\"gw-history__pagination\">\r\n <DSPaginator\r\n :total-pages=\"pagesCount\"\r\n :current-page=\"currentPage\"\r\n :on-click-handler=\"(page: number) => changePage(page)\"\r\n />\r\n </div>\r\n </template>\r\n <template v-else>\r\n <h6>Nemáte žádný záznam v historii</h6>\r\n </template>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, ref } from \"vue\";\r\nimport DSPaginator from \"@sazka/design-system/src/pagination/ds-pagination.vue\";\r\nimport { DateTimeUtils } from \"@sazka/utils/date-time-utils\";\r\nimport DsTable from \"@sazka/design-system/src/table/ds-table.vue\";\r\nimport DsRow from \"@sazka/design-system/src/table-row/ds-table-row.vue\";\r\nimport DsCell from \"@sazka/design-system/src/table-cell/ds-table-cell.vue\";\r\n\r\nimport { GwPlayerHistoryDto } from \"@/golden-wheel/api/models/gw-player-history-dto\";\r\nimport {\r\n BonusWheelHistoryStatus,\r\n BonusWheelType,\r\n BwPlayerHistoryDto,\r\n} from \"@/golden-wheel/api/models/bw-player-history-dto\";\r\n\r\nconst props = defineProps<{ historyData: GwPlayerHistoryDto[] | BwPlayerHistoryDto[] }>();\r\n\r\nconst isGwItem = (item: GwPlayerHistoryDto | BwPlayerHistoryDto): item is GwPlayerHistoryDto => {\r\n return (item as GwPlayerHistoryDto).id !== undefined;\r\n};\r\n\r\nconst isGw = computed(() => isGwItem(props.historyData[0]));\r\n\r\nconst countPerPage = 5;\r\nconst currentPage = ref(1);\r\nconst orderBy = ref(isGw.value ? \"date\" : \"timestamp\");\r\nconst orderByDescending = ref(true);\r\n\r\nconst checkIsActiveOrder = (code: string) => orderBy.value == code;\r\nconst isOrderedByDesc = (code: string) => checkIsActiveOrder(code) && orderByDescending.value;\r\nconst changePage = (page: number) => {\r\n currentPage.value = page;\r\n};\r\n\r\nconst setOrder = (code: string) => {\r\n currentPage.value = 1;\r\n if (orderBy.value == code) {\r\n orderByDescending.value = !orderByDescending.value;\r\n } else {\r\n orderByDescending.value = false;\r\n orderBy.value = code;\r\n }\r\n};\r\n\r\nconst totalItems = computed(() => props.historyData.length);\r\nconst pagesCount = computed(() => Math.ceil(totalItems.value / countPerPage));\r\nconst pagingEnabled = computed(() => pagesCount.value > 1);\r\n\r\nconst displayedHistoryItems = computed(() => {\r\n const result = [...props.historyData];\r\n\r\n result.sort((a, b) => {\r\n const orderByValue = orderBy.value == \"state-reward\" ? \"state\" : orderBy.value; // In BW history there are 2 columns using \"state\" value of item\r\n const order = a[orderByValue]?.toString()?.localeCompare(b[orderByValue]?.toString());\r\n\r\n if (orderByDescending.value) {\r\n return order * -1;\r\n }\r\n\r\n return order;\r\n });\r\n\r\n return result.slice((currentPage.value - 1) * countPerPage, currentPage.value * countPerPage);\r\n});\r\n\r\nconst getHistoryStateName = (state: BonusWheelHistoryStatus) => {\r\n switch (state) {\r\n case \"Active\":\r\n return \"PÅ™iÅ™azenà bonusového kola\";\r\n case \"Spinned\":\r\n return \"ZatoÄenà bonusovým kolem\";\r\n case \"Expired\":\r\n case \"Overwritten\":\r\n return \"Expirace bonusového kola\";\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst getHistoryTypeName = (type: BonusWheelType) => {\r\n switch (type) {\r\n case \"Common\":\r\n return \"Kampaň\";\r\n case \"Compensation\":\r\n return \"Kompenzace\";\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst getHistoryAwardText = (item: BwPlayerHistoryDto) => {\r\n switch (item.state) {\r\n case \"Active\":\r\n return `Nárok na extra zatoÄenà do ${DateTimeUtils.formatDateTimeLong(new Date(item.expiration))}`;\r\n case \"Spinned\":\r\n return item.awardText;\r\n case \"Expired\":\r\n return `NezatoÄeno do ${DateTimeUtils.formatDateTimeLong(new Date(item.expiration))}`;\r\n case \"Overwritten\":\r\n return \"Zisk dalÅ¡Ãho kola\";\r\n default:\r\n return null;\r\n }\r\n};\r\n</script>\r\n","import script from \"./gw-history-table.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./gw-history-table.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"gw-history__header\"\n}\n\nimport { computed } from \"vue\";\r\nimport GwHistoryTable from \"../components/gw-history-table.vue\";\r\nimport { useGwHistory } from \"../composables/use-gw-history\";\r\n\r\nconst descriptionText =\r\n 'Historie zobrazuje pouze seznam bonusů, na které máte nárok. <strong>Pro kontrolu stavu plnÄ›nà finanÄnÃch bonusů navÅ¡tivte \"Bonusy\" ve vaÅ¡em úÄtu.</strong>';\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'gw-history-active',\n setup(__props) {\n\r\nconst { gwHistoryData, bwHistoryData } = useGwHistory();\r\n\r\nconst hasBwHistory = computed(() => bwHistoryData.value.length > 0);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _cache[0] || (_cache[0] = _createElementVNode(\"h2\", { class: \"gw-history__header\" }, \"Zlaté kolo\", -1)),\n _createElementVNode(\"div\", {\n class: \"gw-history__description\",\n innerHTML: descriptionText\n }),\n _createVNode(GwHistoryTable, { historyData: _unref(gwHistoryData) }, null, 8, [\"historyData\"]),\n (hasBwHistory.value)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_1, \"Bonusové kolo\"))\n : _createCommentVNode(\"\", true),\n (hasBwHistory.value)\n ? (_openBlock(), _createBlock(GwHistoryTable, {\n key: 1,\n historyData: _unref(bwHistoryData)\n }, null, 8, [\"historyData\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","<template>\r\n <h2 class=\"gw-history__header\">Zlaté kolo</h2>\r\n <div class=\"gw-history__description\" v-html=\"descriptionText\"></div>\r\n <GwHistoryTable :historyData=\"gwHistoryData\" />\r\n <h2 v-if=\"hasBwHistory\" class=\"gw-history__header\">Bonusové kolo</h2>\r\n <GwHistoryTable v-if=\"hasBwHistory\" :historyData=\"bwHistoryData\" />\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { computed } from \"vue\";\r\nimport GwHistoryTable from \"../components/gw-history-table.vue\";\r\nimport { useGwHistory } from \"../composables/use-gw-history\";\r\n\r\nconst descriptionText =\r\n 'Historie zobrazuje pouze seznam bonusů, na které máte nárok. <strong>Pro kontrolu stavu plnÄ›nà finanÄnÃch bonusů navÅ¡tivte \"Bonusy\" ve vaÅ¡em úÄtu.</strong>';\r\n\r\nconst { gwHistoryData, bwHistoryData } = useGwHistory();\r\n\r\nconst hasBwHistory = computed(() => bwHistoryData.value.length > 0);\r\n</script>\r\n","import script from \"./gw-history-active.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./gw-history-active.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport { computed, onMounted } from \"vue\";\r\nimport { useKeepAlive } from \"@/registration/composables/use-keep-alive\";\r\n\r\nimport { useGwHistory } from \"./composables/use-gw-history\";\r\n\r\nimport HistoryActivePartial from \"./partials/gw-history-active.vue\";\r\nimport SpecialStatePartial from \"../shared/partials/gw-special-state.vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: '_gw-history-page',\n setup(__props) {\n\r\nconst { historyPageState } = useGwHistory();\r\n\r\nconst currentStateCompoment = computed(() => {\r\n switch (historyPageState.value) {\r\n case \"ACTIVE\":\r\n return HistoryActivePartial;\r\n\r\n case \"DENIED\":\r\n case \"UNAUTHORIZED\":\r\n case \"ERROR\":\r\n return SpecialStatePartial;\r\n\r\n case \"NONE\":\r\n default:\r\n return null;\r\n }\r\n});\r\n\r\nconst currentStateProperties = computed(() => {\r\n switch (historyPageState.value) {\r\n case \"DENIED\":\r\n case \"UNAUTHORIZED\":\r\n return {\r\n specialHeader: \"Pro zobrazenà historie se pÅ™ihlaste\",\r\n specialMessage: \"Abyste mohli zobrazit historii je potÅ™eba se pÅ™ihlásit.\",\r\n };\r\n default:\r\n return null;\r\n }\r\n});\r\n\r\nonMounted(() => {\r\n useKeepAlive();\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (currentStateCompoment.value)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(currentStateCompoment.value), _mergeProps({\n key: 0,\n \"page-state\": _unref(historyPageState)\n }, currentStateProperties.value), null, 16, [\"page-state\"]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","<template>\r\n <component\r\n :is=\"currentStateCompoment\"\r\n v-if=\"currentStateCompoment\"\r\n :page-state=\"historyPageState\"\r\n v-bind=\"currentStateProperties\"\r\n />\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { computed, onMounted } from \"vue\";\r\nimport { useKeepAlive } from \"@/registration/composables/use-keep-alive\";\r\n\r\nimport { useGwHistory } from \"./composables/use-gw-history\";\r\n\r\nimport HistoryActivePartial from \"./partials/gw-history-active.vue\";\r\nimport SpecialStatePartial from \"../shared/partials/gw-special-state.vue\";\r\n\r\nconst { historyPageState } = useGwHistory();\r\n\r\nconst currentStateCompoment = computed(() => {\r\n switch (historyPageState.value) {\r\n case \"ACTIVE\":\r\n return HistoryActivePartial;\r\n\r\n case \"DENIED\":\r\n case \"UNAUTHORIZED\":\r\n case \"ERROR\":\r\n return SpecialStatePartial;\r\n\r\n case \"NONE\":\r\n default:\r\n return null;\r\n }\r\n});\r\n\r\nconst currentStateProperties = computed(() => {\r\n switch (historyPageState.value) {\r\n case \"DENIED\":\r\n case \"UNAUTHORIZED\":\r\n return {\r\n specialHeader: \"Pro zobrazenà historie se pÅ™ihlaste\",\r\n specialMessage: \"Abyste mohli zobrazit historii je potÅ™eba se pÅ™ihlásit.\",\r\n };\r\n default:\r\n return null;\r\n }\r\n});\r\n\r\nonMounted(() => {\r\n useKeepAlive();\r\n});\r\n</script>\r\n","import script from \"./_gw-history-page.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./_gw-history-page.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { type InjectionKey, type Ref } from \"vue\";\r\n\r\nexport const themeKey = Symbol() as InjectionKey<Ref<string>>;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"aria-label\"]\nconst _hoisted_2 = {\n key: 1,\n class: \"ds-pagination__item ds-pagination__item--active\"\n}\nconst _hoisted_3 = {\n key: 2,\n class: \"ds-pagination__item ds-pagination__link-dots\"\n}\n\nimport { inject } from \"vue\";\r\nimport type { Theme } from \"../types/theme\";\r\nimport { themeKey } from \"../pagination/pagination-injection-key\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'pagination-item',\n props: {\n type: {},\n pageNumber: {},\n hideOnXs: { type: Boolean },\n onClickHandler: { type: Function }\n },\n setup(__props: any) {\n\r\nconst theme = inject<Theme>(themeKey);\r\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_ctx.type === 'item')\n ? (_openBlock(), _createElementBlock(\"li\", {\n key: 0,\n class: _normalizeClass([\"ds-pagination__item\", { 'ds-pagination__item--hide-xs': _ctx.hideOnXs }])\n }, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onClickHandler(_ctx.pageNumber))),\n class: _normalizeClass([\"button button--sm button--secondary\", { 'button--dark': _unref(theme) === 'dark' }]),\n \"aria-label\": `PÅ™ejÃt na stránku ${_ctx.pageNumber}`\n }, _toDisplayString(_ctx.pageNumber), 11, _hoisted_1)\n ], 2))\n : (_ctx.type === 'activeItem')\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_2, _toDisplayString(_ctx.pageNumber), 1))\n : (_ctx.type === 'dots')\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_3, _cache[1] || (_cache[1] = [\n _createElementVNode(\"span\", { class: \"ds-pagination__dots\" }, \"...\", -1)\n ])))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","<template>\r\n <template v-if=\"type === 'item'\">\r\n <li class=\"ds-pagination__item\" :class=\"{ 'ds-pagination__item--hide-xs': hideOnXs }\">\r\n <button\r\n @click=\"onClickHandler(pageNumber)\"\r\n class=\"button button--sm button--secondary\"\r\n :class=\"{ 'button--dark': theme === 'dark' }\"\r\n :aria-label=\"`PÅ™ejÃt na stránku ${pageNumber}`\"\r\n >\r\n {{ pageNumber }}\r\n </button>\r\n </li>\r\n </template>\r\n\r\n <template v-else-if=\"type === 'activeItem'\">\r\n <li class=\"ds-pagination__item ds-pagination__item--active\">{{ pageNumber }}</li>\r\n </template>\r\n\r\n <template v-else-if=\"type === 'dots'\">\r\n <li class=\"ds-pagination__item ds-pagination__link-dots\">\r\n <span class=\"ds-pagination__dots\">...</span>\r\n </li>\r\n </template>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { inject } from \"vue\";\r\nimport type { Theme } from \"../types/theme\";\r\nimport { themeKey } from \"../pagination/pagination-injection-key\";\r\n\r\nconst theme = inject<Theme>(themeKey);\r\n\r\ndefineProps<{\r\n type: \"item\" | \"activeItem\" | \"dots\";\r\n pageNumber?: number;\r\n hideOnXs?: boolean;\r\n onClickHandler?: (pageNumber: number) => void;\r\n}>();\r\n</script>\r\n","import script from \"./pagination-item.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./pagination-item.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"ds-pagination\"\n}\n\nimport { computed, ComputedRef, provide, ref } from \"vue\";\r\nimport { themeKey } from \"./pagination-injection-key\";\r\nimport DsIcon from \"../icon/ds-icon.vue\";\r\nimport PaginationItem from \"../pagination-item/pagination-item.vue\";\r\nimport DsButton from \"../button/ds-button.vue\";\r\nimport type { Theme } from \"../types/theme\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ds-pagination',\n props: {\n totalPages: {},\n currentPage: {},\n theme: { default: \"light\" },\n isInStorybook: { type: Boolean, default: false },\n onClickHandler: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst theme = ref(props.theme);\r\n\r\nprovide(themeKey, theme);\r\n\r\nconst leftArrowDisabled = computed(() => props.currentPage == 1);\r\nconst rightArrowDisabled = computed(() => props.currentPage == props.totalPages);\r\n\r\nconst getArrayOfPages: ComputedRef<number[]> = computed(() => {\r\n if (props.totalPages < 7) {\r\n return Array.from({ length: props.totalPages }, (_, i) => i + 1);\r\n } else if (props.currentPage <= 3) {\r\n return [1, 2, 3, 4, 5];\r\n } else if (props.currentPage === 4 && props.totalPages == 7) {\r\n return [3, 4, 5, 6];\r\n } else if (props.currentPage === 4 && props.totalPages > 7) {\r\n return [3, 4, 5];\r\n } else if (props.currentPage >= props.totalPages - 3) {\r\n return [4, 3, 2, 1, 0].map((item) => props.totalPages - item);\r\n } else {\r\n return [-1, 0, 1].map((item) => props.currentPage + item);\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_ctx.totalPages > 1)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_1, [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"ds-pagination__arrow\", { 'ds-pagination__arrow--disabled': leftArrowDisabled.value }])\n }, [\n _createVNode(DsButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.onClickHandler(_ctx.currentPage - 1))),\n \"aria-label\": \"PÅ™edeÅ¡lá stránka\",\n type: \"interaction\",\n size: \"sm\",\n theme: theme.value,\n \"is-disabled\": leftArrowDisabled.value\n }, {\n default: _withCtx(() => [\n _createVNode(DsIcon, {\n name: \"arrow-left\",\n \"is-in-storybook\": _ctx.isInStorybook\n }, null, 8, [\"is-in-storybook\"])\n ]),\n _: 1\n }, 8, [\"theme\", \"is-disabled\"])\n ], 2),\n (_ctx.currentPage === 1)\n ? (_openBlock(), _createBlock(PaginationItem, {\n key: 0,\n type: \"activeItem\",\n \"page-number\": 1\n }))\n : (_openBlock(), _createBlock(PaginationItem, {\n key: 1,\n type: \"item\",\n \"page-number\": 1,\n \"on-click-handler\": _ctx.onClickHandler\n }, null, 8, [\"on-click-handler\"])),\n (_ctx.currentPage > 3 && _ctx.totalPages > 6)\n ? (_openBlock(), _createBlock(PaginationItem, {\n key: 2,\n type: \"dots\"\n }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(getArrayOfPages.value, (page, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: page }, [\n (!(page === 1 || page === _ctx.totalPages))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (page === _ctx.currentPage)\n ? (_openBlock(), _createBlock(PaginationItem, {\n key: 0,\n type: \"activeItem\",\n \"page-number\": page\n }, null, 8, [\"page-number\"]))\n : (_openBlock(), _createBlock(PaginationItem, {\n key: 1,\n type: \"item\",\n \"page-number\": page,\n \"hide-on-xs\": index === 0 || (_ctx.totalPages > 6 && index === 4),\n \"on-click-handler\": _ctx.onClickHandler\n }, null, 8, [\"page-number\", \"hide-on-xs\", \"on-click-handler\"]))\n ], 64))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128)),\n (_ctx.currentPage < _ctx.totalPages - 3 && _ctx.totalPages > 6)\n ? (_openBlock(), _createBlock(PaginationItem, {\n key: 3,\n type: \"dots\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.currentPage === _ctx.totalPages)\n ? (_openBlock(), _createBlock(PaginationItem, {\n key: 4,\n type: \"activeItem\",\n \"page-number\": _ctx.totalPages\n }, null, 8, [\"page-number\"]))\n : (_openBlock(), _createBlock(PaginationItem, {\n key: 5,\n type: \"item\",\n \"page-number\": _ctx.totalPages,\n \"on-click-handler\": _ctx.onClickHandler\n }, null, 8, [\"page-number\", \"on-click-handler\"])),\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"ds-pagination__arrow\", { 'ds-pagination__arrow--disabled': rightArrowDisabled.value }])\n }, [\n _createVNode(DsButton, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.onClickHandler(_ctx.currentPage + 1))),\n \"aria-label\": \"PÅ™edeÅ¡lá stránka\",\n type: \"interaction\",\n size: \"sm\",\n theme: theme.value,\n \"is-disabled\": rightArrowDisabled.value\n }, {\n default: _withCtx(() => [\n _createVNode(DsIcon, {\n name: \"arrow-right\",\n \"is-in-storybook\": _ctx.isInStorybook\n }, null, 8, [\"is-in-storybook\"])\n ]),\n _: 1\n }, 8, [\"theme\", \"is-disabled\"])\n ], 2)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","<template>\r\n <ul v-if=\"totalPages > 1\" class=\"ds-pagination\">\r\n <li class=\"ds-pagination__arrow\" :class=\"{ 'ds-pagination__arrow--disabled': leftArrowDisabled }\">\r\n <DsButton\r\n @click=\"onClickHandler(currentPage - 1)\"\r\n aria-label=\"PÅ™edeÅ¡lá stránka\"\r\n type=\"interaction\"\r\n size=\"sm\"\r\n :theme=\"theme\"\r\n :is-disabled=\"leftArrowDisabled\"\r\n >\r\n <DsIcon name=\"arrow-left\" :is-in-storybook=\"isInStorybook\" />\r\n </DsButton>\r\n </li>\r\n\r\n <template v-if=\"currentPage === 1\">\r\n <PaginationItem type=\"activeItem\" :page-number=\"1\" />\r\n </template>\r\n <template v-else>\r\n <PaginationItem type=\"item\" :page-number=\"1\" :on-click-handler=\"onClickHandler\" />\r\n </template>\r\n\r\n <template v-if=\"currentPage > 3 && totalPages > 6\">\r\n <PaginationItem type=\"dots\" />\r\n </template>\r\n\r\n <template v-for=\"(page, index) in getArrayOfPages\" :key=\"page\">\r\n <template v-if=\"!(page === 1 || page === totalPages)\">\r\n <template v-if=\"page === currentPage\">\r\n <PaginationItem type=\"activeItem\" :page-number=\"page\" />\r\n </template>\r\n <template v-else>\r\n <PaginationItem\r\n type=\"item\"\r\n :page-number=\"page\"\r\n :hide-on-xs=\"index === 0 || (totalPages > 6 && index === 4)\"\r\n :on-click-handler=\"onClickHandler\"\r\n />\r\n </template>\r\n </template>\r\n </template>\r\n\r\n <template v-if=\"currentPage < totalPages - 3 && totalPages > 6\">\r\n <PaginationItem type=\"dots\" />\r\n </template>\r\n\r\n <template v-if=\"currentPage === totalPages\">\r\n <PaginationItem type=\"activeItem\" :page-number=\"totalPages\" />\r\n </template>\r\n <template v-else>\r\n <PaginationItem type=\"item\" :page-number=\"totalPages\" :on-click-handler=\"onClickHandler\" />\r\n </template>\r\n\r\n <li class=\"ds-pagination__arrow\" :class=\"{ 'ds-pagination__arrow--disabled': rightArrowDisabled }\">\r\n <DsButton\r\n @click=\"onClickHandler(currentPage + 1)\"\r\n aria-label=\"PÅ™edeÅ¡lá stránka\"\r\n type=\"interaction\"\r\n size=\"sm\"\r\n :theme=\"theme\"\r\n :is-disabled=\"rightArrowDisabled\"\r\n >\r\n <DsIcon name=\"arrow-right\" :is-in-storybook=\"isInStorybook\" />\r\n </DsButton>\r\n </li>\r\n </ul>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { computed, ComputedRef, provide, ref } from \"vue\";\r\nimport { themeKey } from \"./pagination-injection-key\";\r\nimport DsIcon from \"../icon/ds-icon.vue\";\r\nimport PaginationItem from \"../pagination-item/pagination-item.vue\";\r\nimport DsButton from \"../button/ds-button.vue\";\r\nimport type { Theme } from \"../types/theme\";\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n totalPages: number;\r\n currentPage: number;\r\n theme?: Theme;\r\n isInStorybook?: boolean;\r\n onClickHandler: (pageNumber: number) => void;\r\n }>(),\r\n {\r\n theme: \"light\",\r\n isInStorybook: false,\r\n }\r\n);\r\n\r\nconst theme = ref(props.theme);\r\n\r\nprovide(themeKey, theme);\r\n\r\nconst leftArrowDisabled = computed(() => props.currentPage == 1);\r\nconst rightArrowDisabled = computed(() => props.currentPage == props.totalPages);\r\n\r\nconst getArrayOfPages: ComputedRef<number[]> = computed(() => {\r\n if (props.totalPages < 7) {\r\n return Array.from({ length: props.totalPages }, (_, i) => i + 1);\r\n } else if (props.currentPage <= 3) {\r\n return [1, 2, 3, 4, 5];\r\n } else if (props.currentPage === 4 && props.totalPages == 7) {\r\n return [3, 4, 5, 6];\r\n } else if (props.currentPage === 4 && props.totalPages > 7) {\r\n return [3, 4, 5];\r\n } else if (props.currentPage >= props.totalPages - 3) {\r\n return [4, 3, 2, 1, 0].map((item) => props.totalPages - item);\r\n } else {\r\n return [-1, 0, 1].map((item) => props.currentPage + item);\r\n }\r\n});\r\n</script>\r\n","import script from \"./ds-pagination.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ds-pagination.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"ds-table__cell-content ds-table__cell-content--ordered\"\n}\n\nimport DsIcon from \"../icon/ds-icon.vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ds-table-cell',\n props: {\n type: { default: \"td\" },\n enableOrdering: { type: Boolean, default: false },\n isOrderingActive: { type: Boolean, default: false },\n isOrderDesc: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.type), {\n class: _normalizeClass([\"ds-table__cell\", {\r\n 'ds-table__cell--th': _ctx.type === 'th',\r\n 'ds-table__cell--ordered': _ctx.enableOrdering,\r\n 'ds-table__cell--active': _ctx.isOrderingActive,\r\n 'ds-table__cell--desc': _ctx.isOrderDesc,\r\n }]),\n scope: _ctx.type === 'th' ? 'col' : null\n }, {\n default: _withCtx(() => [\n (_ctx.enableOrdering)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\"),\n _createVNode(DsIcon, { name: \"chevron-up\" })\n ]))\n : _renderSlot(_ctx.$slots, \"default\", { key: 1 })\n ]),\n _: 3\n }, 8, [\"class\", \"scope\"]))\n}\n}\n\n})","import script from \"./ds-table-cell.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ds-table-cell.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\r\n <tr class=\"ds-table__row\">\r\n <slot></slot>\r\n </tr>\r\n</template>\r\n","import { render } from \"./ds-table-row.vue?vue&type=template&id=6eedefea\"\nconst script = {}\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+compiler-sfc@3.5.13_vue@3.5.13_typescript@5.7.3__webpack@5.95.0_@swc+c_34j4td3qllqrpsyknfjyyfkdq4/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"data-table-scrollable\"]\n\nimport type { Theme } from \"../types/theme\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ds-table',\n props: {\n isScrollable: { type: Boolean, default: false },\n isResponsive: { type: Boolean, default: false },\n theme: { default: \"light\" }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_ctx.isScrollable)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"ds-table-scrollable-wrapper\", { 'ds-table-scrollable-wrapper--responsive': _ctx.isResponsive }])\n }, [\n _createElementVNode(\"table\", {\n class: _normalizeClass([\"ds-table\", { 'ds-table--dark': _ctx.theme === 'dark' }]),\n \"data-table-scrollable\": _ctx.isScrollable\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1)\n ], 2))\n : (_openBlock(), _createElementBlock(\"table\", {\n key: 1,\n class: _normalizeClass([\"ds-table\", { 'ds-table--dark': _ctx.theme === 'dark' }])\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","import script from \"./ds-table.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ds-table.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["webViewDebugModeOn","ref","useWebviewDebugMode","initWebviewDebugMode","environment","env","debugBtn","document","createElement","className","attributes","onclick","value","$","toggleClass","_window$player","_session$value","_window$player2","_session$value2","session","useNgSession","sazkaAlert","appName","window","location","href","player","id","PlayerID","sessionToken","SessionToken","insertAdjacentHTML","querySelector","appendChild","e","console","error","showEventAlert","interfaceName","methodName","argument","eventMessage","undefined","confirm","triggerMobileAppEvent","anyWindow","_anyWindow$webkit$mes","webkit","messageHandlers","postMessage","JSON","stringify","type","parameters","androindInterface","hasOwnProperty","initAutoMobileAppEvents","querySelectorAll","forEach","item","addEventListener","preventDefault","eventName","currentTarget","getAttribute","isMobileApp","isInAppView","initMobileAppFeatures","isLoggedIn","gwPlayerData","useGwPlayerData","playerId","computed","historyHiddenClass","gwHistoryData","bwHistoryData","historyPageState","setPageState","newState","message","err","data","gwPLayerData","Error","logException","logDebugEvent","hideExternalWidgets","header","getElementById","classList","add","showExternalWidgets","remove","loadHistoryData","async","GwPlayerDataApi","fetchPlayerHistory","fetchPlayerBwHistory","ex","setHistoryPageStatus","access","denied","initHistoryStateData","ngFrameworkLoaded","watchEffect","useGwHistory","finally","Loader","hide","_hoisted_1","class","_hoisted_2","key","countPerPage","_defineComponent","__name","props","historyData","setup","__props","isGwItem","isGw","currentPage","orderBy","orderByDescending","checkIsActiveOrder","code","isOrderedByDesc","changePage","page","setOrder","totalItems","length","pagesCount","Math","ceil","pagingEnabled","displayedHistoryItems","result","sort","a","b","_a$orderByValue","_b$orderByValue","orderByValue","order","toString","localeCompare","slice","getHistoryStateName","state","getHistoryTypeName","getHistoryAwardText","DateTimeUtils","formatDateTimeLong","Date","expiration","awardText","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_Fragment","_createVNode","DsTable","default","_withCtx","DsRow","DsCell","onClick","$event","_createTextVNode","_","_renderList","x","_createBlock","_toDisplayString","_unref","date","action","detail","reward","timestamp","_createElementVNode","DSPaginator","__exports__","descriptionText","hasBwHistory","innerHTML","GwHistoryTable","_createCommentVNode","currentStateCompoment","HistoryActivePartial","SpecialStatePartial","currentStateProperties","specialHeader","specialMessage","onMounted","useKeepAlive","_resolveDynamicComponent","_mergeProps","themeKey","Symbol","_hoisted_3","pageNumber","hideOnXs","Boolean","onClickHandler","Function","theme","inject","totalPages","isInStorybook","provide","leftArrowDisabled","rightArrowDisabled","getArrayOfPages","Array","from","i","map","DsButton","size","DsIcon","name","PaginationItem","index","enableOrdering","isOrderingActive","isOrderDesc","scope","_renderSlot","$slots","script","render","isScrollable","isResponsive"],"sourceRoot":""}