@everymatrix/casino-header-controller 1.0.16 → 1.0.70

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2989 @@
1
+ var Ue = (t, e, l) => new Promise((s, i) => {
2
+ var r = (d) => {
3
+ try {
4
+ m(l.next(d));
5
+ } catch (g) {
6
+ i(g);
7
+ }
8
+ }, a = (d) => {
9
+ try {
10
+ m(l.throw(d));
11
+ } catch (g) {
12
+ i(g);
13
+ }
14
+ }, m = (d) => d.done ? s(d.value) : Promise.resolve(d.value).then(r, a);
15
+ m((l = l.apply(t, e)).next());
16
+ });
17
+ import { $ as Fe, a as il, b as nl, S as rl, i as al, f as E, c as ol, s as cl, d as dl, e as A, g as p, h as n, j as F, n as re, k as H, l as ul, o as fl, m as je, p as ge, q as Ze, r as te, t as X, u as o, v as h, w as N, x as $, y as ce, z as ie, A as Q, B as He, C as gt, D as hl, E as gl, F as G, G as mt, H as me, I as pe } from "./CasinoHamburgerMenu-DCoSb--r.js";
18
+ import "../stencil/user-deposit-withdrawal-v6jG4a9c.js";
19
+ function ml({ withLocale: t, translations: e }) {
20
+ Fe.subscribe((l) => {
21
+ l == null && (il.set(e), Fe.set(t));
22
+ });
23
+ }
24
+ function Ge(t, e) {
25
+ nl(t, e);
26
+ }
27
+ function pl(t) {
28
+ Fe.set(t);
29
+ }
30
+ const Ye = {
31
+ en: {
32
+ login: "Login",
33
+ register: "Register",
34
+ deposit: "Deposit",
35
+ promotions: "Promotions"
36
+ },
37
+ "zh-hk": {
38
+ login: "登錄",
39
+ register: "登記",
40
+ deposit: "訂金",
41
+ promotions: "促销活动"
42
+ },
43
+ fr: {
44
+ login: "Connexion",
45
+ register: "Enregistrer",
46
+ deposit: "Dépôt",
47
+ promotions: "Promotions"
48
+ },
49
+ tr: {
50
+ login: "Giriş",
51
+ register: "Kayıt",
52
+ deposit: "Yatır",
53
+ promotions: "Promosyonlar"
54
+ },
55
+ ro: {
56
+ login: "Autentificare",
57
+ register: "Inregistrare",
58
+ deposit: "Depozit",
59
+ promotions: "Promotii"
60
+ },
61
+ es: {
62
+ login: "Iniciar sesión",
63
+ register: "Regístrate",
64
+ deposit: "Deposita",
65
+ promotions: "Promociones"
66
+ },
67
+ pt: {
68
+ login: "Entrar",
69
+ register: "Registro",
70
+ deposit: "Depósito",
71
+ promotions: "Promoções"
72
+ },
73
+ hr: {
74
+ login: "Prijava",
75
+ register: "Registracija",
76
+ deposit: "Uplata",
77
+ promotions: "Promocije"
78
+ },
79
+ "pt-br": {
80
+ login: "Entrar",
81
+ register: "Registro",
82
+ deposit: "Depósito",
83
+ promotions: "Promoções"
84
+ },
85
+ "es-mx": {
86
+ login: "Ingresar",
87
+ register: "Registro",
88
+ deposit: "Depósito",
89
+ promotions: "Promociones"
90
+ }
91
+ };
92
+ if (typeof window != "undefined") {
93
+ let t = function(e) {
94
+ return function(...l) {
95
+ try {
96
+ return e.apply(this, l);
97
+ } catch (s) {
98
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
99
+ return !1;
100
+ throw s;
101
+ }
102
+ };
103
+ };
104
+ customElements.define = t(customElements.define), import("./CasinoSlider-NvJTt5bw.js").then(({ default: e }) => {
105
+ !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
106
+ });
107
+ }
108
+ if (typeof window != "undefined") {
109
+ let t = function(e) {
110
+ return function(...l) {
111
+ try {
112
+ return e.apply(this, l);
113
+ } catch (s) {
114
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
115
+ return !1;
116
+ throw s;
117
+ }
118
+ };
119
+ };
120
+ customElements.define = t(customElements.define), import("./CasinoHamburgerMenu-DCoSb--r.js").then((e) => e.O).then(({ default: e }) => {
121
+ !customElements.get("casino-hamburger-menu") && customElements.define("casino-hamburger-menu", e.element);
122
+ });
123
+ }
124
+ if (typeof window != "undefined") {
125
+ let t = function(e) {
126
+ return function(...l) {
127
+ try {
128
+ return e.apply(this, l);
129
+ } catch (s) {
130
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
131
+ return !1;
132
+ throw s;
133
+ }
134
+ };
135
+ };
136
+ customElements.define = t(customElements.define), import("./PlayerAccountBalanceModal-Bx_en3me.js").then(({ default: e }) => {
137
+ !customElements.get("player-account-balance-modal") && customElements.define("player-account-balance-modal", e.element);
138
+ });
139
+ }
140
+ if (typeof window != "undefined") {
141
+ let t = function(e) {
142
+ return function(...l) {
143
+ try {
144
+ return e.apply(this, l);
145
+ } catch (s) {
146
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
147
+ return !1;
148
+ throw s;
149
+ }
150
+ };
151
+ };
152
+ customElements.define = t(customElements.define), import("./PlayerDeposit-CCg5BqJq.js").then(({ default: e }) => {
153
+ !customElements.get("player-deposit") && customElements.define("player-deposit", e.element);
154
+ });
155
+ }
156
+ const ve = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";
157
+ function vl(t) {
158
+ dl(t, "svelte-1dz8k6q", `.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q,.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q::before,.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q::after{font-family:inherit}:host{font-family:inherit}@keyframes svelte-1dz8k6q-ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}button.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{font-family:inherit}.LanguageDropdown.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier.svelte-1dz8k6q svg.svelte-1dz8k6q.svelte-1dz8k6q{position:absolute;top:10px;right:10px}.ShortCashierWindow.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{position:relative;animation:svelte-1dz8k6q-ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ShortCashierContainerWrapperMobile.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{position:relative;animation:svelte-1dz8k6q-ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q,.OptionList.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{border:1px solid var(--emfe-w-header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{display:flex;align-items:center}.FlagIcon.svelte-1dz8k6q img.svelte-1dz8k6q.svelte-1dz8k6q{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{position:absolute;z-index:1;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{display:flex;align-items:center;padding:4px}.TriangleInactive.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive.svelte-1dz8k6q svg.svelte-1dz8k6q.svelte-1dz8k6q{margin:2px 0px}.TriangleActive.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{transform:rotate(180deg);position:relative}.TriangleActive.svelte-1dz8k6q svg.svelte-1dz8k6q.svelte-1dz8k6q{margin:2px 0px}.LanguageOption.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q:hover{background-color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.HeaderWrapper.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518))}.HeaderContainer.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{display:flex;align-items:center}.HeaderBranding.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding.svelte-1dz8k6q img.svelte-1dz8k6q.svelte-1dz8k6q{width:100%}@media only screen and (max-width: 360px){.HeaderBranding.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{margin-right:0}}.HeaderMainNav.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{text-align:left}.HeaderTopActions.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{text-align:right;margin-left:auto}.HeaderSecondaryNav.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{flex-direction:row;width:100%;background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu.svelte-1dz8k6q .Item.svelte-1dz8k6q.svelte-1dz8k6q{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{gap:10px}.ItemLogin.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q,.ItemDeposit.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{border-radius:5px;background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.ItemLanguage.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage.svelte-1dz8k6q option.svelte-1dz8k6q.svelte-1dz8k6q{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.ItemLanguage.NoFlag.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemAccount.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{cursor:pointer}.ItemAccount.svelte-1dz8k6q svg.svelte-1dz8k6q.svelte-1dz8k6q{width:20px;height:20px}.HeaderItemsMenuSecondary.svelte-1dz8k6q.svelte-1dz8k6q.svelte-1dz8k6q{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary.svelte-1dz8k6q.svelte-1dz8k6q{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary button.svelte-1dz8k6q.svelte-1dz8k6q{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary button.svelte-1dz8k6q.svelte-1dz8k6q:hover{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary button.svelte-1dz8k6q.svelte-1dz8k6q:focus{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary button.svelte-1dz8k6q.svelte-1dz8k6q:visited{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary button.svelte-1dz8k6q.svelte-1dz8k6q:focus-visible{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary.svelte-1dz8k6q .ItemSecondary.active.svelte-1dz8k6q.svelte-1dz8k6q{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderMobileWrapper.svelte-1dz8k6q .HeaderContainer.svelte-1dz8k6q.svelte-1dz8k6q{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper.svelte-1dz8k6q .HeaderContainer.svelte-1dz8k6q.svelte-1dz8k6q{padding:0 5px}}.HeaderMobileWrapper.svelte-1dz8k6q .HeaderBranding.svelte-1dz8k6q.svelte-1dz8k6q{width:110px;display:flex;align-items:center}.HeaderMobileWrapper.svelte-1dz8k6q .HeaderItemsMenu.svelte-1dz8k6q .Item.svelte-1dz8k6q{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper.svelte-1dz8k6q .HeaderItemsMenu.svelte-1dz8k6q .ItemAccount.svelte-1dz8k6q{padding:0}.HeaderMobileWrapper.svelte-1dz8k6q .ItemRegister.svelte-1dz8k6q.svelte-1dz8k6q,.HeaderMobileWrapper.svelte-1dz8k6q .ItemDeposit.svelte-1dz8k6q.svelte-1dz8k6q,.HeaderMobileWrapper.svelte-1dz8k6q .ItemLogin.svelte-1dz8k6q.svelte-1dz8k6q{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper.svelte-1dz8k6q .ItemLogin.svelte-1dz8k6q.svelte-1dz8k6q{margin-right:10px}`);
159
+ }
160
+ function Je(t, e, l) {
161
+ const s = t.slice();
162
+ return s[111] = e[l], s;
163
+ }
164
+ function Qe(t, e, l) {
165
+ const s = t.slice();
166
+ return s[114] = e[l], s;
167
+ }
168
+ function Ve(t, e, l) {
169
+ const s = t.slice();
170
+ return s[114] = e[l], s;
171
+ }
172
+ function Xe(t, e, l) {
173
+ const s = t.slice();
174
+ return s[111] = e[l], s;
175
+ }
176
+ function Ke(t, e, l) {
177
+ const s = t.slice();
178
+ return s[114] = e[l], s;
179
+ }
180
+ function xe(t, e, l) {
181
+ const s = t.slice();
182
+ return s[114] = e[l], s;
183
+ }
184
+ function kl(t) {
185
+ let e, l, s, i, r, a, m, d, g, f = (
186
+ /*$_*/
187
+ t[45]("login") + ""
188
+ ), u, v, k, C = (
189
+ /*$_*/
190
+ t[45]("register") + ""
191
+ ), U, P, D, q, I, M, Z;
192
+ function Y(_, O) {
193
+ return (
194
+ /*logoFromCms*/
195
+ _[37] ? bl : zl
196
+ );
197
+ }
198
+ let T = Y(t), S = T(t), w = !/*isLoading*/
199
+ t[31] && $e(t), b = (
200
+ /*languagesArray*/
201
+ t[41].length > 1 && et(t)
202
+ ), R = te(
203
+ /*secondaryMenuArray*/
204
+ t[34]
205
+ ), y = [];
206
+ for (let _ = 0; _ < R.length; _ += 1)
207
+ y[_] = it(Je(t, R, _));
208
+ return {
209
+ c() {
210
+ e = p("header"), l = p("div"), s = p("div"), S.c(), i = A(), r = p("nav"), w && w.c(), a = A(), m = p("div"), d = p("div"), g = p("div"), u = X(f), v = A(), k = p("div"), U = X(C), P = A(), b && b.c(), D = A(), q = p("nav"), I = p("ul");
211
+ for (let _ = 0; _ < y.length; _ += 1)
212
+ y[_].c();
213
+ o(s, "class", "HeaderBranding svelte-1dz8k6q"), o(r, "class", "HeaderMainNav svelte-1dz8k6q"), o(g, "class", "Item ItemLogin svelte-1dz8k6q"), o(g, "tabindex", "0"), o(k, "class", "Item ItemRegister svelte-1dz8k6q"), o(k, "tabindex", "0"), o(d, "class", "HeaderItemsMenu svelte-1dz8k6q"), o(m, "class", "HeaderTopActions svelte-1dz8k6q"), o(l, "class", "HeaderContainer svelte-1dz8k6q"), o(I, "class", "HeaderItemsMenuSecondary svelte-1dz8k6q"), o(q, "class", "HeaderSecondaryNav svelte-1dz8k6q"), o(e, "class", "HeaderWrapper svelte-1dz8k6q");
214
+ },
215
+ m(_, O) {
216
+ F(_, e, O), h(e, l), h(l, s), S.m(s, null), h(l, i), h(l, r), w && w.m(r, null), h(l, a), h(l, m), h(m, d), h(d, g), h(g, u), h(d, v), h(d, k), h(k, U), h(d, P), b && b.m(d, null), h(e, D), h(e, q), h(q, I);
217
+ for (let L = 0; L < y.length; L += 1)
218
+ y[L] && y[L].m(I, null);
219
+ t[89](e), M || (Z = [
220
+ N(
221
+ s,
222
+ "click",
223
+ /*click_handler_18*/
224
+ t[81]
225
+ ),
226
+ N(
227
+ g,
228
+ "click",
229
+ /*click_handler_19*/
230
+ t[82]
231
+ ),
232
+ N(
233
+ k,
234
+ "click",
235
+ /*click_handler_20*/
236
+ t[83]
237
+ )
238
+ ], M = !0);
239
+ },
240
+ p(_, O) {
241
+ if (T === (T = Y(_)) && S ? S.p(_, O) : (S.d(1), S = T(_), S && (S.c(), S.m(s, null))), /*isLoading*/
242
+ _[31] ? w && (w.d(1), w = null) : w ? w.p(_, O) : (w = $e(_), w.c(), w.m(r, null)), O[1] & /*$_*/
243
+ 16384 && f !== (f = /*$_*/
244
+ _[45]("login") + "") && $(u, f), O[1] & /*$_*/
245
+ 16384 && C !== (C = /*$_*/
246
+ _[45]("register") + "") && $(U, C), /*languagesArray*/
247
+ _[41].length > 1 ? b ? b.p(_, O) : (b = et(_), b.c(), b.m(d, null)) : b && (b.d(1), b = null), O[1] & /*secondaryActiveIndex, secondaryMenuArray, navigationTrigger*/
248
+ 524300) {
249
+ R = te(
250
+ /*secondaryMenuArray*/
251
+ _[34]
252
+ );
253
+ let L;
254
+ for (L = 0; L < R.length; L += 1) {
255
+ const z = Je(_, R, L);
256
+ y[L] ? y[L].p(z, O) : (y[L] = it(z), y[L].c(), y[L].m(I, null));
257
+ }
258
+ for (; L < y.length; L += 1)
259
+ y[L].d(1);
260
+ y.length = R.length;
261
+ }
262
+ },
263
+ d(_) {
264
+ _ && H(e), S.d(), w && w.d(), b && b.d(), ce(y, _), t[89](null), M = !1, ie(Z);
265
+ }
266
+ };
267
+ }
268
+ function _l(t) {
269
+ let e, l, s, i, r, a, m, d, g, f, u, v, k, C, U, P, D, q = (
270
+ /*$_*/
271
+ t[45]("login") + ""
272
+ ), I, M, Z, Y = (
273
+ /*$_*/
274
+ t[45]("register") + ""
275
+ ), T, S, w;
276
+ function b(_, O) {
277
+ return (
278
+ /*logoFromCms*/
279
+ _[37] ? Il : Ml
280
+ );
281
+ }
282
+ let R = b(t), y = R(t);
283
+ return {
284
+ c() {
285
+ e = p("header"), l = p("div"), s = p("div"), i = Q("svg"), r = Q("defs"), a = Q("style"), m = X(`.a {
286
+ fill: var(--emfe-w-color-white, #FFFFFF);
287
+ }
288
+ `), d = Q("g"), g = Q("rect"), f = Q("rect"), u = Q("rect"), v = A(), k = p("div"), y.c(), C = A(), U = p("div"), P = p("div"), D = p("div"), I = X(q), M = A(), Z = p("div"), T = X(Y), o(a, "class", "svelte-1dz8k6q"), o(r, "class", "svelte-1dz8k6q"), o(g, "class", "a svelte-1dz8k6q"), o(g, "width", "18"), o(g, "height", "2"), o(g, "transform", "translate(14 13)"), o(f, "class", "a svelte-1dz8k6q"), o(f, "width", "22"), o(f, "height", "2"), o(f, "transform", "translate(14 20)"), o(u, "class", "a svelte-1dz8k6q"), o(u, "width", "22"), o(u, "height", "2"), o(u, "transform", "translate(14 27)"), o(d, "transform", "translate(-14 -13)"), o(d, "class", "svelte-1dz8k6q"), o(i, "xmlns", "http://www.w3.org/2000/svg"), o(i, "width", "22"), o(i, "height", "16"), o(i, "viewBox", "0 0 22 16"), o(i, "class", "svelte-1dz8k6q"), o(s, "class", "HeaderMobileMainNav svelte-1dz8k6q"), o(k, "class", "HeaderBranding svelte-1dz8k6q"), o(D, "class", "Item ItemLogin svelte-1dz8k6q"), o(Z, "class", "Item ItemRegister svelte-1dz8k6q"), o(P, "class", "HeaderItemsMenu svelte-1dz8k6q"), o(U, "class", "HeaderTopActions svelte-1dz8k6q"), o(l, "class", "HeaderContainer svelte-1dz8k6q"), o(e, "class", "HeaderWrapper HeaderMobileWrapper svelte-1dz8k6q");
289
+ },
290
+ m(_, O) {
291
+ F(_, e, O), h(e, l), h(l, s), h(s, i), h(i, r), h(r, a), h(a, m), h(i, d), h(d, g), h(d, f), h(d, u), h(l, v), h(l, k), y.m(k, null), h(l, C), h(l, U), h(U, P), h(P, D), h(D, I), h(P, M), h(P, Z), h(Z, T), t[80](e), S || (w = [
292
+ N(
293
+ i,
294
+ "click",
295
+ /*click_handler_14*/
296
+ t[76]
297
+ ),
298
+ N(
299
+ k,
300
+ "click",
301
+ /*click_handler_15*/
302
+ t[77]
303
+ ),
304
+ N(
305
+ D,
306
+ "click",
307
+ /*click_handler_16*/
308
+ t[78]
309
+ ),
310
+ N(
311
+ Z,
312
+ "click",
313
+ /*click_handler_17*/
314
+ t[79]
315
+ )
316
+ ], S = !0);
317
+ },
318
+ p(_, O) {
319
+ R === (R = b(_)) && y ? y.p(_, O) : (y.d(1), y = R(_), y && (y.c(), y.m(k, null))), O[1] & /*$_*/
320
+ 16384 && q !== (q = /*$_*/
321
+ _[45]("login") + "") && $(I, q), O[1] & /*$_*/
322
+ 16384 && Y !== (Y = /*$_*/
323
+ _[45]("register") + "") && $(T, Y);
324
+ },
325
+ d(_) {
326
+ _ && H(e), y.d(), t[80](null), S = !1, ie(w);
327
+ }
328
+ };
329
+ }
330
+ function wl(t) {
331
+ let e;
332
+ function l(r, a) {
333
+ return (
334
+ /*mobileView*/
335
+ r[39] ? Hl : Fl
336
+ );
337
+ }
338
+ let s = l(t), i = s(t);
339
+ return {
340
+ c() {
341
+ i.c(), e = He();
342
+ },
343
+ m(r, a) {
344
+ i.m(r, a), F(r, e, a);
345
+ },
346
+ p(r, a) {
347
+ s === (s = l(r)) && i ? i.p(r, a) : (i.d(1), i = s(r), i && (i.c(), i.m(e.parentNode, e)));
348
+ },
349
+ d(r) {
350
+ r && H(e), i.d(r);
351
+ }
352
+ };
353
+ }
354
+ function zl(t) {
355
+ let e, l;
356
+ return {
357
+ c() {
358
+ e = p("img"), G(e.src, l = ve) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
359
+ },
360
+ m(s, i) {
361
+ F(s, e, i);
362
+ },
363
+ p: re,
364
+ d(s) {
365
+ s && H(e);
366
+ }
367
+ };
368
+ }
369
+ function bl(t) {
370
+ let e, l;
371
+ return {
372
+ c() {
373
+ e = p("img"), G(e.src, l = /*logoPath*/
374
+ t[43]) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
375
+ },
376
+ m(s, i) {
377
+ F(s, e, i);
378
+ },
379
+ p(s, i) {
380
+ i[1] & /*logoPath*/
381
+ 4096 && !G(e.src, l = /*logoPath*/
382
+ s[43]) && o(e, "src", l);
383
+ },
384
+ d(s) {
385
+ s && H(e);
386
+ }
387
+ };
388
+ }
389
+ function $e(t) {
390
+ let e, l, s;
391
+ return {
392
+ c() {
393
+ e = p("casino-slider"), n(e, "class", "HeaderItemsMenu svelte-1dz8k6q"), n(e, "part", "HeaderItemsMenu"), n(e, "identity", Ce), n(e, "isprimarymenu", "true"), n(
394
+ e,
395
+ "actionevent",
396
+ /*actionevent*/
397
+ t[23]
398
+ ), n(
399
+ e,
400
+ "activeindex",
401
+ /*primaryActiveIndex*/
402
+ t[32]
403
+ ), n(e, "location", "headerMain"), n(
404
+ e,
405
+ "endpoint",
406
+ /*endpoint*/
407
+ t[2]
408
+ ), n(
409
+ e,
410
+ "lang",
411
+ /*lang*/
412
+ t[3]
413
+ ), n(
414
+ e,
415
+ "clientstyling",
416
+ /*clientstyling*/
417
+ t[25]
418
+ ), n(
419
+ e,
420
+ "clientstylingurl",
421
+ /*clientstylingurl*/
422
+ t[26]
423
+ );
424
+ },
425
+ m(i, r) {
426
+ F(i, e, r), l || (s = gt(
427
+ /*sendSliderData*/
428
+ t[49].call(null, e)
429
+ ), l = !0);
430
+ },
431
+ p(i, r) {
432
+ r[0] & /*actionevent*/
433
+ 8388608 && n(
434
+ e,
435
+ "actionevent",
436
+ /*actionevent*/
437
+ i[23]
438
+ ), r[1] & /*primaryActiveIndex*/
439
+ 2 && n(
440
+ e,
441
+ "activeindex",
442
+ /*primaryActiveIndex*/
443
+ i[32]
444
+ ), r[0] & /*endpoint*/
445
+ 4 && n(
446
+ e,
447
+ "endpoint",
448
+ /*endpoint*/
449
+ i[2]
450
+ ), r[0] & /*lang*/
451
+ 8 && n(
452
+ e,
453
+ "lang",
454
+ /*lang*/
455
+ i[3]
456
+ ), r[0] & /*clientstyling*/
457
+ 33554432 && n(
458
+ e,
459
+ "clientstyling",
460
+ /*clientstyling*/
461
+ i[25]
462
+ ), r[0] & /*clientstylingurl*/
463
+ 67108864 && n(
464
+ e,
465
+ "clientstylingurl",
466
+ /*clientstylingurl*/
467
+ i[26]
468
+ );
469
+ },
470
+ d(i) {
471
+ i && H(e), l = !1, s();
472
+ }
473
+ };
474
+ }
475
+ function et(t) {
476
+ let e;
477
+ function l(r, a) {
478
+ return (
479
+ /*countryflagheader*/
480
+ r[8] !== "true" ? yl : ql
481
+ );
482
+ }
483
+ let s = l(t), i = s(t);
484
+ return {
485
+ c() {
486
+ i.c(), e = He();
487
+ },
488
+ m(r, a) {
489
+ i.m(r, a), F(r, e, a);
490
+ },
491
+ p(r, a) {
492
+ s === (s = l(r)) && i ? i.p(r, a) : (i.d(1), i = s(r), i && (i.c(), i.m(e.parentNode, e)));
493
+ },
494
+ d(r) {
495
+ r && H(e), i.d(r);
496
+ }
497
+ };
498
+ }
499
+ function ql(t) {
500
+ let e, l, s, i, r, a, m, d = (
501
+ /*selectedLanguage*/
502
+ t[35].slice(-2) + ""
503
+ ), g, f, u, v, k, C, U, P, D, q = (
504
+ /*isOptionsListVisible*/
505
+ t[38] && tt(t)
506
+ );
507
+ return {
508
+ c() {
509
+ e = p("div"), l = p("div"), s = p("span"), i = p("img"), a = A(), m = p("span"), g = X(d), f = A(), u = p("span"), v = Q("svg"), k = Q("path"), U = A(), q && q.c(), G(i.src, r = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
510
+ t[53](
511
+ /*selectedLanguage*/
512
+ t[35].slice(-2)
513
+ )}.svg`) || o(i, "src", r), o(i, "class", "svelte-1dz8k6q"), o(s, "class", "FlagIcon svelte-1dz8k6q"), o(m, "class", "LanguageName svelte-1dz8k6q"), o(k, "id", "arrow"), o(k, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), o(k, "transform", "translate(-274.511 -441.088)"), o(k, "fill", "#d1d1d1"), o(k, "class", "svelte-1dz8k6q"), o(v, "xmlns", "http://www.w3.org/2000/svg"), o(v, "width", "14"), o(v, "height", "6.835"), o(v, "viewBox", "0 0 14 6.835"), o(v, "class", "svelte-1dz8k6q"), o(u, "class", C = "TriangleInactive " + /*isOptionsListVisible*/
514
+ (t[38] ? "TriangleActive" : "") + " svelte-1dz8k6q"), o(l, "class", "SelectedOption Item ItemLanguage svelte-1dz8k6q"), o(e, "class", "LanguageDropdown svelte-1dz8k6q");
515
+ },
516
+ m(I, M) {
517
+ F(I, e, M), h(e, l), h(l, s), h(s, i), h(l, a), h(l, m), h(m, g), h(l, f), h(l, u), h(u, v), h(v, k), h(e, U), q && q.m(e, null), P || (D = N(
518
+ l,
519
+ "click",
520
+ /*click_handler_21*/
521
+ t[86]
522
+ ), P = !0);
523
+ },
524
+ p(I, M) {
525
+ M[1] & /*selectedLanguage, languagesArray*/
526
+ 1040 && !G(i.src, r = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
527
+ I[53](
528
+ /*selectedLanguage*/
529
+ I[35].slice(-2)
530
+ )}.svg`) && o(i, "src", r), M[1] & /*selectedLanguage*/
531
+ 16 && d !== (d = /*selectedLanguage*/
532
+ I[35].slice(-2) + "") && $(g, d), M[1] & /*isOptionsListVisible*/
533
+ 128 && C !== (C = "TriangleInactive " + /*isOptionsListVisible*/
534
+ (I[38] ? "TriangleActive" : "") + " svelte-1dz8k6q") && o(u, "class", C), /*isOptionsListVisible*/
535
+ I[38] ? q ? q.p(I, M) : (q = tt(I), q.c(), q.m(e, null)) : q && (q.d(1), q = null);
536
+ },
537
+ d(I) {
538
+ I && H(e), q && q.d(), P = !1, D();
539
+ }
540
+ };
541
+ }
542
+ function yl(t) {
543
+ let e, l, s, i = te(
544
+ /*languagesArray*/
545
+ t[41]
546
+ ), r = [];
547
+ for (let a = 0; a < i.length; a += 1)
548
+ r[a] = st(Ve(t, i, a));
549
+ return {
550
+ c() {
551
+ e = p("select");
552
+ for (let a = 0; a < r.length; a += 1)
553
+ r[a].c();
554
+ o(e, "class", "Item ItemLanguage NoFlag svelte-1dz8k6q"), /*selectedLanguage*/
555
+ t[35] === void 0 && mt(() => (
556
+ /*select_change_handler_1*/
557
+ t[84].call(e)
558
+ ));
559
+ },
560
+ m(a, m) {
561
+ F(a, e, m);
562
+ for (let d = 0; d < r.length; d += 1)
563
+ r[d] && r[d].m(e, null);
564
+ me(
565
+ e,
566
+ /*selectedLanguage*/
567
+ t[35],
568
+ !0
569
+ ), l || (s = [
570
+ N(
571
+ e,
572
+ "change",
573
+ /*select_change_handler_1*/
574
+ t[84]
575
+ ),
576
+ N(
577
+ e,
578
+ "change",
579
+ /*change_handler_1*/
580
+ t[85]
581
+ )
582
+ ], l = !0);
583
+ },
584
+ p(a, m) {
585
+ if (m[1] & /*languagesArray*/
586
+ 1024) {
587
+ i = te(
588
+ /*languagesArray*/
589
+ a[41]
590
+ );
591
+ let d;
592
+ for (d = 0; d < i.length; d += 1) {
593
+ const g = Ve(a, i, d);
594
+ r[d] ? r[d].p(g, m) : (r[d] = st(g), r[d].c(), r[d].m(e, null));
595
+ }
596
+ for (; d < r.length; d += 1)
597
+ r[d].d(1);
598
+ r.length = i.length;
599
+ }
600
+ m[1] & /*selectedLanguage, languagesArray*/
601
+ 1040 && me(
602
+ e,
603
+ /*selectedLanguage*/
604
+ a[35]
605
+ );
606
+ },
607
+ d(a) {
608
+ a && H(e), ce(r, a), l = !1, ie(s);
609
+ }
610
+ };
611
+ }
612
+ function tt(t) {
613
+ let e, l = te(
614
+ /*languagesArray*/
615
+ t[41]
616
+ ), s = [];
617
+ for (let i = 0; i < l.length; i += 1)
618
+ s[i] = lt(Qe(t, l, i));
619
+ return {
620
+ c() {
621
+ e = p("div");
622
+ for (let i = 0; i < s.length; i += 1)
623
+ s[i].c();
624
+ o(e, "class", "OptionList svelte-1dz8k6q");
625
+ },
626
+ m(i, r) {
627
+ F(i, e, r);
628
+ for (let a = 0; a < s.length; a += 1)
629
+ s[a] && s[a].m(e, null);
630
+ },
631
+ p(i, r) {
632
+ if (r[1] & /*selectLanguage, languagesArray, determineFlag*/
633
+ 5243904) {
634
+ l = te(
635
+ /*languagesArray*/
636
+ i[41]
637
+ );
638
+ let a;
639
+ for (a = 0; a < l.length; a += 1) {
640
+ const m = Qe(i, l, a);
641
+ s[a] ? s[a].p(m, r) : (s[a] = lt(m), s[a].c(), s[a].m(e, null));
642
+ }
643
+ for (; a < s.length; a += 1)
644
+ s[a].d(1);
645
+ s.length = l.length;
646
+ }
647
+ },
648
+ d(i) {
649
+ i && H(e), ce(s, i);
650
+ }
651
+ };
652
+ }
653
+ function lt(t) {
654
+ let e, l, s, i, r, a, m = (
655
+ /*operatorLanguage*/
656
+ t[114].slice(-2) + ""
657
+ ), d, g, f, u;
658
+ function v() {
659
+ return (
660
+ /*click_handler_22*/
661
+ t[87](
662
+ /*operatorLanguage*/
663
+ t[114]
664
+ )
665
+ );
666
+ }
667
+ return {
668
+ c() {
669
+ e = p("div"), l = p("span"), s = p("img"), r = A(), a = p("span"), d = X(m), g = A(), G(s.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
670
+ t[53](
671
+ /*operatorLanguage*/
672
+ t[114].slice(-2)
673
+ )}.svg`) || o(s, "src", i), o(s, "class", "svelte-1dz8k6q"), o(l, "class", "FlagIcon svelte-1dz8k6q"), o(a, "class", "LanguageName svelte-1dz8k6q"), o(e, "class", "LanguageOption svelte-1dz8k6q");
674
+ },
675
+ m(k, C) {
676
+ F(k, e, C), h(e, l), h(l, s), h(e, r), h(e, a), h(a, d), h(e, g), f || (u = N(e, "click", v), f = !0);
677
+ },
678
+ p(k, C) {
679
+ t = k, C[1] & /*languagesArray*/
680
+ 1024 && !G(s.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
681
+ t[53](
682
+ /*operatorLanguage*/
683
+ t[114].slice(-2)
684
+ )}.svg`) && o(s, "src", i), C[1] & /*languagesArray*/
685
+ 1024 && m !== (m = /*operatorLanguage*/
686
+ t[114].slice(-2) + "") && $(d, m);
687
+ },
688
+ d(k) {
689
+ k && H(e), f = !1, u();
690
+ }
691
+ };
692
+ }
693
+ function st(t) {
694
+ let e, l = (
695
+ /*operatorLanguage*/
696
+ t[114].slice(-2) + ""
697
+ ), s, i;
698
+ return {
699
+ c() {
700
+ e = p("option"), s = X(l), e.__value = i = /*operatorLanguage*/
701
+ t[114], pe(e, e.__value), o(e, "class", "svelte-1dz8k6q");
702
+ },
703
+ m(r, a) {
704
+ F(r, e, a), h(e, s);
705
+ },
706
+ p(r, a) {
707
+ a[1] & /*languagesArray*/
708
+ 1024 && l !== (l = /*operatorLanguage*/
709
+ r[114].slice(-2) + "") && $(s, l), a[1] & /*languagesArray*/
710
+ 1024 && i !== (i = /*operatorLanguage*/
711
+ r[114]) && (e.__value = i, pe(e, e.__value));
712
+ },
713
+ d(r) {
714
+ r && H(e);
715
+ }
716
+ };
717
+ }
718
+ function it(t) {
719
+ let e, l, s = (
720
+ /*secondaryItem*/
721
+ t[111].label + ""
722
+ ), i, r, a, m, d;
723
+ function g() {
724
+ return (
725
+ /*click_handler_23*/
726
+ t[88](
727
+ /*secondaryItem*/
728
+ t[111]
729
+ )
730
+ );
731
+ }
732
+ return {
733
+ c() {
734
+ var f, u;
735
+ e = p("li"), l = p("button"), i = X(s), r = A(), o(l, "class", "svelte-1dz8k6q"), o(e, "class", a = "ItemSecondary " + /*secondaryActiveIndex*/
736
+ (((f = t[33]) == null ? void 0 : f.toString().indexOf("$")) > -1 ? (
737
+ /*secondaryActiveIndex*/
738
+ ((u = t[33]) == null ? void 0 : u.split("$").pop()) == /*secondaryItem*/
739
+ t[111].id.split("$").pop() ? "active" : ""
740
+ ) : (
741
+ /*secondaryActiveIndex*/
742
+ t[33] == /*secondaryItem*/
743
+ t[111].id ? "active" : ""
744
+ )) + " svelte-1dz8k6q"), o(e, "part", "ItemSecondary");
745
+ },
746
+ m(f, u) {
747
+ F(f, e, u), h(e, l), h(l, i), h(e, r), m || (d = N(l, "click", g), m = !0);
748
+ },
749
+ p(f, u) {
750
+ var v, k;
751
+ t = f, u[1] & /*secondaryMenuArray*/
752
+ 8 && s !== (s = /*secondaryItem*/
753
+ t[111].label + "") && $(i, s), u[1] & /*secondaryActiveIndex, secondaryMenuArray*/
754
+ 12 && a !== (a = "ItemSecondary " + /*secondaryActiveIndex*/
755
+ (((v = t[33]) == null ? void 0 : v.toString().indexOf("$")) > -1 ? (
756
+ /*secondaryActiveIndex*/
757
+ ((k = t[33]) == null ? void 0 : k.split("$").pop()) == /*secondaryItem*/
758
+ t[111].id.split("$").pop() ? "active" : ""
759
+ ) : (
760
+ /*secondaryActiveIndex*/
761
+ t[33] == /*secondaryItem*/
762
+ t[111].id ? "active" : ""
763
+ )) + " svelte-1dz8k6q") && o(e, "class", a);
764
+ },
765
+ d(f) {
766
+ f && H(e), m = !1, d();
767
+ }
768
+ };
769
+ }
770
+ function Ml(t) {
771
+ let e, l;
772
+ return {
773
+ c() {
774
+ e = p("img"), G(e.src, l = ve) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
775
+ },
776
+ m(s, i) {
777
+ F(s, e, i);
778
+ },
779
+ p: re,
780
+ d(s) {
781
+ s && H(e);
782
+ }
783
+ };
784
+ }
785
+ function Il(t) {
786
+ let e, l;
787
+ return {
788
+ c() {
789
+ e = p("img"), G(e.src, l = /*logoPath*/
790
+ t[43]) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
791
+ },
792
+ m(s, i) {
793
+ F(s, e, i);
794
+ },
795
+ p(s, i) {
796
+ i[1] & /*logoPath*/
797
+ 4096 && !G(e.src, l = /*logoPath*/
798
+ s[43]) && o(e, "src", l);
799
+ },
800
+ d(s) {
801
+ s && H(e);
802
+ }
803
+ };
804
+ }
805
+ function Fl(t) {
806
+ let e, l, s, i, r, a, m, d, g, f, u, v, k = (
807
+ /*$_*/
808
+ t[45]("deposit") + ""
809
+ ), C, U, P, D, q, I, M, Z, Y, T;
810
+ function S(z, W) {
811
+ return (
812
+ /*logoFromCms*/
813
+ z[37] ? Al : Cl
814
+ );
815
+ }
816
+ let w = S(t), b = w(t), R = !/*isLoading*/
817
+ t[31] && nt(t), y = (
818
+ /*shortCashierActivated*/
819
+ t[44] && rt(t)
820
+ ), _ = (
821
+ /*languagesArray*/
822
+ t[41].length > 1 && at(t)
823
+ ), O = te(
824
+ /*secondaryMenuArray*/
825
+ t[34]
826
+ ), L = [];
827
+ for (let z = 0; z < O.length; z += 1)
828
+ L[z] = ut(Xe(t, O, z));
829
+ return {
830
+ c() {
831
+ e = p("header"), l = p("div"), s = p("div"), b.c(), i = A(), r = p("nav"), R && R.c(), a = A(), m = p("div"), d = p("div"), g = p("player-account-balance-modal"), f = A(), u = p("div"), v = p("div"), C = X(k), U = A(), y && y.c(), P = A(), D = p("div"), D.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429" class="svelte-1dz8k6q"><defs class="svelte-1dz8k6q"><style class="svelte-1dz8k6q">.a {
832
+ fill: var(--emfe-w-color-white, #FFFFFF);
833
+ }
834
+ </style></defs><g transform="translate(-8 -4)" class="svelte-1dz8k6q"><path class="a svelte-1dz8k6q" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>`, q = A(), _ && _.c(), I = A(), M = p("nav"), Z = p("ul");
835
+ for (let z = 0; z < L.length; z += 1)
836
+ L[z].c();
837
+ o(s, "class", "HeaderBranding svelte-1dz8k6q"), o(r, "class", "HeaderMainNav svelte-1dz8k6q"), n(
838
+ g,
839
+ "session",
840
+ /*session*/
841
+ t[0]
842
+ ), n(
843
+ g,
844
+ "userid",
845
+ /*userid*/
846
+ t[1]
847
+ ), n(
848
+ g,
849
+ "endpoint",
850
+ /*endpoint*/
851
+ t[2]
852
+ ), n(
853
+ g,
854
+ "lang",
855
+ /*lang*/
856
+ t[3]
857
+ ), n(
858
+ g,
859
+ "clientstyling",
860
+ /*clientstyling*/
861
+ t[25]
862
+ ), n(
863
+ g,
864
+ "clientstylingurl",
865
+ /*clientstylingurl*/
866
+ t[26]
867
+ ), n(
868
+ g,
869
+ "customlocaleidentifier",
870
+ /*customlocaleidentifier*/
871
+ t[6]
872
+ ), n(
873
+ g,
874
+ "gmversion",
875
+ /*gmversion*/
876
+ t[7]
877
+ ), n(
878
+ g,
879
+ "displaybalanceoption",
880
+ /*displaybalanceoption*/
881
+ t[9]
882
+ ), n(
883
+ g,
884
+ "currencyseparator",
885
+ /*currencyseparator*/
886
+ t[27]
887
+ ), n(
888
+ g,
889
+ "currencydecimal",
890
+ /*currencydecimal*/
891
+ t[28]
892
+ ), n(
893
+ g,
894
+ "currencyprecision",
895
+ /*currencyprecision*/
896
+ t[29]
897
+ ), n(g, "class", "svelte-1dz8k6q"), o(v, "class", "Item ItemDeposit svelte-1dz8k6q"), o(v, "part", "Item ItemDeposit"), o(u, "class", "svelte-1dz8k6q"), o(D, "class", "Item ItemAccount svelte-1dz8k6q"), o(D, "part", "Item ItemAccount"), o(d, "class", "HeaderItemsMenu PrimaryMenu svelte-1dz8k6q"), o(m, "class", "HeaderTopActions svelte-1dz8k6q"), o(l, "class", "HeaderContainer svelte-1dz8k6q"), o(Z, "class", "HeaderItemsMenuSecondary svelte-1dz8k6q"), o(M, "class", "HeaderSecondaryNav svelte-1dz8k6q"), o(e, "class", "HeaderWrapper svelte-1dz8k6q");
898
+ },
899
+ m(z, W) {
900
+ F(z, e, W), h(e, l), h(l, s), b.m(s, null), h(l, i), h(l, r), R && R.m(r, null), h(l, a), h(l, m), h(m, d), h(d, g), h(d, f), h(d, u), h(u, v), h(v, C), h(u, U), y && y.m(u, null), h(d, P), h(d, D), h(d, q), _ && _.m(d, null), h(e, I), h(e, M), h(M, Z);
901
+ for (let j = 0; j < L.length; j += 1)
902
+ L[j] && L[j].m(Z, null);
903
+ t[75](e), Y || (T = [
904
+ N(
905
+ s,
906
+ "click",
907
+ /*click_handler_6*/
908
+ t[65]
909
+ ),
910
+ N(
911
+ v,
912
+ "click",
913
+ /*click_handler_7*/
914
+ t[66]
915
+ ),
916
+ N(
917
+ D,
918
+ "click",
919
+ /*click_handler_10*/
920
+ t[69]
921
+ )
922
+ ], Y = !0);
923
+ },
924
+ p(z, W) {
925
+ if (w === (w = S(z)) && b ? b.p(z, W) : (b.d(1), b = w(z), b && (b.c(), b.m(s, null))), /*isLoading*/
926
+ z[31] ? R && (R.d(1), R = null) : R ? R.p(z, W) : (R = nt(z), R.c(), R.m(r, null)), W[0] & /*session*/
927
+ 1 && n(
928
+ g,
929
+ "session",
930
+ /*session*/
931
+ z[0]
932
+ ), W[0] & /*userid*/
933
+ 2 && n(
934
+ g,
935
+ "userid",
936
+ /*userid*/
937
+ z[1]
938
+ ), W[0] & /*endpoint*/
939
+ 4 && n(
940
+ g,
941
+ "endpoint",
942
+ /*endpoint*/
943
+ z[2]
944
+ ), W[0] & /*lang*/
945
+ 8 && n(
946
+ g,
947
+ "lang",
948
+ /*lang*/
949
+ z[3]
950
+ ), W[0] & /*clientstyling*/
951
+ 33554432 && n(
952
+ g,
953
+ "clientstyling",
954
+ /*clientstyling*/
955
+ z[25]
956
+ ), W[0] & /*clientstylingurl*/
957
+ 67108864 && n(
958
+ g,
959
+ "clientstylingurl",
960
+ /*clientstylingurl*/
961
+ z[26]
962
+ ), W[0] & /*customlocaleidentifier*/
963
+ 64 && n(
964
+ g,
965
+ "customlocaleidentifier",
966
+ /*customlocaleidentifier*/
967
+ z[6]
968
+ ), W[0] & /*gmversion*/
969
+ 128 && n(
970
+ g,
971
+ "gmversion",
972
+ /*gmversion*/
973
+ z[7]
974
+ ), W[0] & /*displaybalanceoption*/
975
+ 512 && n(
976
+ g,
977
+ "displaybalanceoption",
978
+ /*displaybalanceoption*/
979
+ z[9]
980
+ ), W[0] & /*currencyseparator*/
981
+ 134217728 && n(
982
+ g,
983
+ "currencyseparator",
984
+ /*currencyseparator*/
985
+ z[27]
986
+ ), W[0] & /*currencydecimal*/
987
+ 268435456 && n(
988
+ g,
989
+ "currencydecimal",
990
+ /*currencydecimal*/
991
+ z[28]
992
+ ), W[0] & /*currencyprecision*/
993
+ 536870912 && n(
994
+ g,
995
+ "currencyprecision",
996
+ /*currencyprecision*/
997
+ z[29]
998
+ ), W[1] & /*$_*/
999
+ 16384 && k !== (k = /*$_*/
1000
+ z[45]("deposit") + "") && $(C, k), /*shortCashierActivated*/
1001
+ z[44] ? y ? y.p(z, W) : (y = rt(z), y.c(), y.m(u, null)) : y && (y.d(1), y = null), /*languagesArray*/
1002
+ z[41].length > 1 ? _ ? _.p(z, W) : (_ = at(z), _.c(), _.m(d, null)) : _ && (_.d(1), _ = null), W[1] & /*secondaryActiveIndex, secondaryMenuArray, navigationTrigger*/
1003
+ 524300) {
1004
+ O = te(
1005
+ /*secondaryMenuArray*/
1006
+ z[34]
1007
+ );
1008
+ let j;
1009
+ for (j = 0; j < O.length; j += 1) {
1010
+ const ne = Xe(z, O, j);
1011
+ L[j] ? L[j].p(ne, W) : (L[j] = ut(ne), L[j].c(), L[j].m(Z, null));
1012
+ }
1013
+ for (; j < L.length; j += 1)
1014
+ L[j].d(1);
1015
+ L.length = O.length;
1016
+ }
1017
+ },
1018
+ d(z) {
1019
+ z && H(e), b.d(), R && R.d(), y && y.d(), _ && _.d(), ce(L, z), t[75](null), Y = !1, ie(T);
1020
+ }
1021
+ };
1022
+ }
1023
+ function Hl(t) {
1024
+ let e, l, s, i, r, a, m, d, g, f, u, v, k = (
1025
+ /*$_*/
1026
+ t[45]("deposit") + ""
1027
+ ), C, U, P, D, q, I, M = !/*hamburgerMenuActive*/
1028
+ t[42] && ft(t);
1029
+ function Z(w, b) {
1030
+ return (
1031
+ /*logoFromCms*/
1032
+ w[37] ? Nl : Rl
1033
+ );
1034
+ }
1035
+ let Y = Z(t), T = Y(t), S = (
1036
+ /*shortCashierActivated*/
1037
+ t[44] && ht(t)
1038
+ );
1039
+ return {
1040
+ c() {
1041
+ e = p("header"), l = p("div"), s = p("div"), M && M.c(), i = A(), r = p("div"), T.c(), a = A(), m = p("div"), d = p("div"), g = p("player-account-balance-modal"), f = A(), u = p("div"), v = p("div"), C = X(k), U = A(), S && S.c(), P = A(), D = p("div"), D.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429" class="svelte-1dz8k6q"><defs class="svelte-1dz8k6q"><style class="svelte-1dz8k6q">.a {
1042
+ fill: var(--emfe-w-color-white, #FFFFFF);
1043
+ }
1044
+ </style></defs><g transform="translate(-8 -4)" class="svelte-1dz8k6q"><path class="a svelte-1dz8k6q" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>`, o(s, "class", "HeaderMobileMainNav svelte-1dz8k6q"), o(r, "class", "HeaderBranding svelte-1dz8k6q"), n(
1045
+ g,
1046
+ "session",
1047
+ /*session*/
1048
+ t[0]
1049
+ ), n(
1050
+ g,
1051
+ "userid",
1052
+ /*userid*/
1053
+ t[1]
1054
+ ), n(
1055
+ g,
1056
+ "endpoint",
1057
+ /*endpoint*/
1058
+ t[2]
1059
+ ), n(
1060
+ g,
1061
+ "lang",
1062
+ /*lang*/
1063
+ t[3]
1064
+ ), n(
1065
+ g,
1066
+ "clientstyling",
1067
+ /*clientstyling*/
1068
+ t[25]
1069
+ ), n(
1070
+ g,
1071
+ "clientstylingurl",
1072
+ /*clientstylingurl*/
1073
+ t[26]
1074
+ ), n(
1075
+ g,
1076
+ "customlocaleidentifier",
1077
+ /*customlocaleidentifier*/
1078
+ t[6]
1079
+ ), n(
1080
+ g,
1081
+ "gmversion",
1082
+ /*gmversion*/
1083
+ t[7]
1084
+ ), n(
1085
+ g,
1086
+ "displaybalanceoption",
1087
+ /*displaybalanceoption*/
1088
+ t[9]
1089
+ ), n(
1090
+ g,
1091
+ "currencyseparator",
1092
+ /*currencyseparator*/
1093
+ t[27]
1094
+ ), n(
1095
+ g,
1096
+ "currencydecimal",
1097
+ /*currencydecimal*/
1098
+ t[28]
1099
+ ), n(
1100
+ g,
1101
+ "currencyprecision",
1102
+ /*currencyprecision*/
1103
+ t[29]
1104
+ ), n(g, "class", "svelte-1dz8k6q"), o(v, "class", "Item ItemDeposit svelte-1dz8k6q"), o(v, "part", "Item ItemDeposit"), o(u, "class", "svelte-1dz8k6q"), o(D, "class", "Item ItemAccount svelte-1dz8k6q"), o(D, "part", "Item ItemAccount"), o(d, "class", "HeaderItemsMenu PrimaryMenu svelte-1dz8k6q"), o(d, "part", "HeaderItemsMenu PrimaryMenu"), o(m, "class", "HeaderTopActions svelte-1dz8k6q"), o(m, "part", "HeaderTopActions"), o(l, "class", "HeaderContainer svelte-1dz8k6q"), o(e, "class", "HeaderWrapper HeaderMobileWrapper svelte-1dz8k6q");
1105
+ },
1106
+ m(w, b) {
1107
+ F(w, e, b), h(e, l), h(l, s), M && M.m(s, null), h(l, i), h(l, r), T.m(r, null), h(l, a), h(l, m), h(m, d), h(d, g), h(d, f), h(d, u), h(u, v), h(v, C), h(u, U), S && S.m(u, null), h(d, P), h(d, D), t[64](e), q || (I = [
1108
+ N(
1109
+ r,
1110
+ "click",
1111
+ /*click_handler_1*/
1112
+ t[59]
1113
+ ),
1114
+ N(
1115
+ v,
1116
+ "click",
1117
+ /*click_handler_2*/
1118
+ t[60]
1119
+ ),
1120
+ N(
1121
+ D,
1122
+ "click",
1123
+ /*click_handler_5*/
1124
+ t[63]
1125
+ )
1126
+ ], q = !0);
1127
+ },
1128
+ p(w, b) {
1129
+ /*hamburgerMenuActive*/
1130
+ w[42] ? M && (M.d(1), M = null) : M ? M.p(w, b) : (M = ft(w), M.c(), M.m(s, null)), Y === (Y = Z(w)) && T ? T.p(w, b) : (T.d(1), T = Y(w), T && (T.c(), T.m(r, null))), b[0] & /*session*/
1131
+ 1 && n(
1132
+ g,
1133
+ "session",
1134
+ /*session*/
1135
+ w[0]
1136
+ ), b[0] & /*userid*/
1137
+ 2 && n(
1138
+ g,
1139
+ "userid",
1140
+ /*userid*/
1141
+ w[1]
1142
+ ), b[0] & /*endpoint*/
1143
+ 4 && n(
1144
+ g,
1145
+ "endpoint",
1146
+ /*endpoint*/
1147
+ w[2]
1148
+ ), b[0] & /*lang*/
1149
+ 8 && n(
1150
+ g,
1151
+ "lang",
1152
+ /*lang*/
1153
+ w[3]
1154
+ ), b[0] & /*clientstyling*/
1155
+ 33554432 && n(
1156
+ g,
1157
+ "clientstyling",
1158
+ /*clientstyling*/
1159
+ w[25]
1160
+ ), b[0] & /*clientstylingurl*/
1161
+ 67108864 && n(
1162
+ g,
1163
+ "clientstylingurl",
1164
+ /*clientstylingurl*/
1165
+ w[26]
1166
+ ), b[0] & /*customlocaleidentifier*/
1167
+ 64 && n(
1168
+ g,
1169
+ "customlocaleidentifier",
1170
+ /*customlocaleidentifier*/
1171
+ w[6]
1172
+ ), b[0] & /*gmversion*/
1173
+ 128 && n(
1174
+ g,
1175
+ "gmversion",
1176
+ /*gmversion*/
1177
+ w[7]
1178
+ ), b[0] & /*displaybalanceoption*/
1179
+ 512 && n(
1180
+ g,
1181
+ "displaybalanceoption",
1182
+ /*displaybalanceoption*/
1183
+ w[9]
1184
+ ), b[0] & /*currencyseparator*/
1185
+ 134217728 && n(
1186
+ g,
1187
+ "currencyseparator",
1188
+ /*currencyseparator*/
1189
+ w[27]
1190
+ ), b[0] & /*currencydecimal*/
1191
+ 268435456 && n(
1192
+ g,
1193
+ "currencydecimal",
1194
+ /*currencydecimal*/
1195
+ w[28]
1196
+ ), b[0] & /*currencyprecision*/
1197
+ 536870912 && n(
1198
+ g,
1199
+ "currencyprecision",
1200
+ /*currencyprecision*/
1201
+ w[29]
1202
+ ), b[1] & /*$_*/
1203
+ 16384 && k !== (k = /*$_*/
1204
+ w[45]("deposit") + "") && $(C, k), /*shortCashierActivated*/
1205
+ w[44] ? S ? S.p(w, b) : (S = ht(w), S.c(), S.m(u, null)) : S && (S.d(1), S = null);
1206
+ },
1207
+ d(w) {
1208
+ w && H(e), M && M.d(), T.d(), S && S.d(), t[64](null), q = !1, ie(I);
1209
+ }
1210
+ };
1211
+ }
1212
+ function Cl(t) {
1213
+ let e, l;
1214
+ return {
1215
+ c() {
1216
+ e = p("img"), G(e.src, l = ve) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
1217
+ },
1218
+ m(s, i) {
1219
+ F(s, e, i);
1220
+ },
1221
+ p: re,
1222
+ d(s) {
1223
+ s && H(e);
1224
+ }
1225
+ };
1226
+ }
1227
+ function Al(t) {
1228
+ let e, l;
1229
+ return {
1230
+ c() {
1231
+ e = p("img"), G(e.src, l = /*logoPath*/
1232
+ t[43]) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
1233
+ },
1234
+ m(s, i) {
1235
+ F(s, e, i);
1236
+ },
1237
+ p(s, i) {
1238
+ i[1] & /*logoPath*/
1239
+ 4096 && !G(e.src, l = /*logoPath*/
1240
+ s[43]) && o(e, "src", l);
1241
+ },
1242
+ d(s) {
1243
+ s && H(e);
1244
+ }
1245
+ };
1246
+ }
1247
+ function nt(t) {
1248
+ let e, l, s;
1249
+ return {
1250
+ c() {
1251
+ e = p("casino-slider"), n(e, "class", "HeaderItemsMenu svelte-1dz8k6q"), n(e, "part", "HeaderItemsMenu"), n(e, "identity", Ce), n(e, "isprimarymenu", "true"), n(
1252
+ e,
1253
+ "actionevent",
1254
+ /*actionevent*/
1255
+ t[23]
1256
+ ), n(
1257
+ e,
1258
+ "activeindex",
1259
+ /*primaryActiveIndex*/
1260
+ t[32]
1261
+ ), n(
1262
+ e,
1263
+ "endpoint",
1264
+ /*endpoint*/
1265
+ t[2]
1266
+ ), n(
1267
+ e,
1268
+ "lang",
1269
+ /*lang*/
1270
+ t[3]
1271
+ ), n(e, "location", "headerMain"), n(
1272
+ e,
1273
+ "showsubgroups",
1274
+ /*showsubgroups*/
1275
+ t[24]
1276
+ ), n(
1277
+ e,
1278
+ "clientstyling",
1279
+ /*clientstyling*/
1280
+ t[25]
1281
+ ), n(
1282
+ e,
1283
+ "clientstylingurl",
1284
+ /*clientstylingurl*/
1285
+ t[26]
1286
+ );
1287
+ },
1288
+ m(i, r) {
1289
+ F(i, e, r), l || (s = gt(
1290
+ /*sendSliderData*/
1291
+ t[49].call(null, e)
1292
+ ), l = !0);
1293
+ },
1294
+ p(i, r) {
1295
+ r[0] & /*actionevent*/
1296
+ 8388608 && n(
1297
+ e,
1298
+ "actionevent",
1299
+ /*actionevent*/
1300
+ i[23]
1301
+ ), r[1] & /*primaryActiveIndex*/
1302
+ 2 && n(
1303
+ e,
1304
+ "activeindex",
1305
+ /*primaryActiveIndex*/
1306
+ i[32]
1307
+ ), r[0] & /*endpoint*/
1308
+ 4 && n(
1309
+ e,
1310
+ "endpoint",
1311
+ /*endpoint*/
1312
+ i[2]
1313
+ ), r[0] & /*lang*/
1314
+ 8 && n(
1315
+ e,
1316
+ "lang",
1317
+ /*lang*/
1318
+ i[3]
1319
+ ), r[0] & /*showsubgroups*/
1320
+ 16777216 && n(
1321
+ e,
1322
+ "showsubgroups",
1323
+ /*showsubgroups*/
1324
+ i[24]
1325
+ ), r[0] & /*clientstyling*/
1326
+ 33554432 && n(
1327
+ e,
1328
+ "clientstyling",
1329
+ /*clientstyling*/
1330
+ i[25]
1331
+ ), r[0] & /*clientstylingurl*/
1332
+ 67108864 && n(
1333
+ e,
1334
+ "clientstylingurl",
1335
+ /*clientstylingurl*/
1336
+ i[26]
1337
+ );
1338
+ },
1339
+ d(i) {
1340
+ i && H(e), l = !1, s();
1341
+ }
1342
+ };
1343
+ }
1344
+ function rt(t) {
1345
+ let e, l, s, i, r, a, m, d;
1346
+ function g(v, k) {
1347
+ return (
1348
+ /*gmversion*/
1349
+ v[7] === "gmcore" ? Sl : Ll
1350
+ );
1351
+ }
1352
+ let f = g(t), u = f(t);
1353
+ return {
1354
+ c() {
1355
+ e = p("div"), l = A(), s = p("div"), i = p("div"), r = p("div"), r.innerHTML = '<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" class="svelte-1dz8k6q"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2" class="svelte-1dz8k6q"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2" class="svelte-1dz8k6q"></line></svg>', a = A(), u.c(), o(e, "class", "ShortCashierWindow svelte-1dz8k6q"), o(r, "class", "ClosePopUpButtonShortCashier svelte-1dz8k6q"), o(i, "class", "ShortCashierContainer svelte-1dz8k6q"), o(s, "class", "ShortCashierContainerWrapper svelte-1dz8k6q");
1356
+ },
1357
+ m(v, k) {
1358
+ F(v, e, k), F(v, l, k), F(v, s, k), h(s, i), h(i, r), h(i, a), u.m(i, null), m || (d = [
1359
+ N(
1360
+ e,
1361
+ "click",
1362
+ /*click_handler_8*/
1363
+ t[67]
1364
+ ),
1365
+ N(
1366
+ r,
1367
+ "click",
1368
+ /*click_handler_9*/
1369
+ t[68]
1370
+ )
1371
+ ], m = !0);
1372
+ },
1373
+ p(v, k) {
1374
+ f === (f = g(v)) && u ? u.p(v, k) : (u.d(1), u = f(v), u && (u.c(), u.m(i, null)));
1375
+ },
1376
+ d(v) {
1377
+ v && (H(e), H(l), H(s)), u.d(), m = !1, ie(d);
1378
+ }
1379
+ };
1380
+ }
1381
+ function Ll(t) {
1382
+ let e, l, s, i, r, a, m, d, g;
1383
+ return {
1384
+ c() {
1385
+ e = p("user-deposit-withdrawal"), n(
1386
+ e,
1387
+ "endpoint",
1388
+ /*endpoint*/
1389
+ t[2]
1390
+ ), n(e, "type", "deposit"), n(e, "channel", "Desktop"), n(
1391
+ e,
1392
+ "language",
1393
+ /*lang*/
1394
+ t[3]
1395
+ ), n(
1396
+ e,
1397
+ "is-short-cashier",
1398
+ /*shortcashierenabled*/
1399
+ t[13]
1400
+ ), n(
1401
+ e,
1402
+ "product-type",
1403
+ /*producttype*/
1404
+ t[14]
1405
+ ), n(
1406
+ e,
1407
+ "user-id",
1408
+ /*userid*/
1409
+ t[1]
1410
+ ), n(
1411
+ e,
1412
+ "session",
1413
+ /*session*/
1414
+ t[0]
1415
+ ), n(e, "success-url", l = "https://" + window.location.hostname + "/" + /*lang*/
1416
+ t[3] + /*successurl*/
1417
+ t[15]), n(e, "cancel-url", s = "https://" + window.location.hostname + "/" + /*lang*/
1418
+ t[3] + /*cancelurl*/
1419
+ t[17]), n(e, "fail-url", i = "https://" + window.location.hostname + "/" + /*lang*/
1420
+ t[3] + /*failurl*/
1421
+ t[16]), n(e, "sports-url", r = "https://" + window.location.hostname + "/" + /*lang*/
1422
+ t[3] + /*sportsurl*/
1423
+ t[18]), n(e, "casino-url", a = "https://" + window.location.hostname + "/" + /*lang*/
1424
+ t[3] + /*casinourl*/
1425
+ t[19]), n(e, "contact-url", m = "https://" + window.location.hostname + "/" + /*lang*/
1426
+ t[3] + /*contacturl*/
1427
+ t[20]), n(e, "home-url", d = "https://" + window.location.hostname + "/" + /*lang*/
1428
+ t[3] + /*homeurl*/
1429
+ t[21]), n(e, "deposit-url", g = "https://" + window.location.hostname + "/" + /*lang*/
1430
+ t[3] + /*depositurl*/
1431
+ t[22]), n(
1432
+ e,
1433
+ "client-styling",
1434
+ /*clientstyling*/
1435
+ t[25]
1436
+ ), n(
1437
+ e,
1438
+ "client-styling-url",
1439
+ /*clientstylingurl*/
1440
+ t[26]
1441
+ ), n(e, "class", "svelte-1dz8k6q");
1442
+ },
1443
+ m(f, u) {
1444
+ F(f, e, u);
1445
+ },
1446
+ p(f, u) {
1447
+ u[0] & /*endpoint*/
1448
+ 4 && n(
1449
+ e,
1450
+ "endpoint",
1451
+ /*endpoint*/
1452
+ f[2]
1453
+ ), u[0] & /*lang*/
1454
+ 8 && n(
1455
+ e,
1456
+ "language",
1457
+ /*lang*/
1458
+ f[3]
1459
+ ), u[0] & /*shortcashierenabled*/
1460
+ 8192 && n(
1461
+ e,
1462
+ "is-short-cashier",
1463
+ /*shortcashierenabled*/
1464
+ f[13]
1465
+ ), u[0] & /*producttype*/
1466
+ 16384 && n(
1467
+ e,
1468
+ "product-type",
1469
+ /*producttype*/
1470
+ f[14]
1471
+ ), u[0] & /*userid*/
1472
+ 2 && n(
1473
+ e,
1474
+ "user-id",
1475
+ /*userid*/
1476
+ f[1]
1477
+ ), u[0] & /*session*/
1478
+ 1 && n(
1479
+ e,
1480
+ "session",
1481
+ /*session*/
1482
+ f[0]
1483
+ ), u[0] & /*lang, successurl*/
1484
+ 32776 && l !== (l = "https://" + window.location.hostname + "/" + /*lang*/
1485
+ f[3] + /*successurl*/
1486
+ f[15]) && n(e, "success-url", l), u[0] & /*lang, cancelurl*/
1487
+ 131080 && s !== (s = "https://" + window.location.hostname + "/" + /*lang*/
1488
+ f[3] + /*cancelurl*/
1489
+ f[17]) && n(e, "cancel-url", s), u[0] & /*lang, failurl*/
1490
+ 65544 && i !== (i = "https://" + window.location.hostname + "/" + /*lang*/
1491
+ f[3] + /*failurl*/
1492
+ f[16]) && n(e, "fail-url", i), u[0] & /*lang, sportsurl*/
1493
+ 262152 && r !== (r = "https://" + window.location.hostname + "/" + /*lang*/
1494
+ f[3] + /*sportsurl*/
1495
+ f[18]) && n(e, "sports-url", r), u[0] & /*lang, casinourl*/
1496
+ 524296 && a !== (a = "https://" + window.location.hostname + "/" + /*lang*/
1497
+ f[3] + /*casinourl*/
1498
+ f[19]) && n(e, "casino-url", a), u[0] & /*lang, contacturl*/
1499
+ 1048584 && m !== (m = "https://" + window.location.hostname + "/" + /*lang*/
1500
+ f[3] + /*contacturl*/
1501
+ f[20]) && n(e, "contact-url", m), u[0] & /*lang, homeurl*/
1502
+ 2097160 && d !== (d = "https://" + window.location.hostname + "/" + /*lang*/
1503
+ f[3] + /*homeurl*/
1504
+ f[21]) && n(e, "home-url", d), u[0] & /*lang, depositurl*/
1505
+ 4194312 && g !== (g = "https://" + window.location.hostname + "/" + /*lang*/
1506
+ f[3] + /*depositurl*/
1507
+ f[22]) && n(e, "deposit-url", g), u[0] & /*clientstyling*/
1508
+ 33554432 && n(
1509
+ e,
1510
+ "client-styling",
1511
+ /*clientstyling*/
1512
+ f[25]
1513
+ ), u[0] & /*clientstylingurl*/
1514
+ 67108864 && n(
1515
+ e,
1516
+ "client-styling-url",
1517
+ /*clientstylingurl*/
1518
+ f[26]
1519
+ );
1520
+ },
1521
+ d(f) {
1522
+ f && H(e);
1523
+ }
1524
+ };
1525
+ }
1526
+ function Sl(t) {
1527
+ let e;
1528
+ return {
1529
+ c() {
1530
+ e = p("player-deposit"), n(
1531
+ e,
1532
+ "endpoint",
1533
+ /*endpoint*/
1534
+ t[2]
1535
+ ), n(
1536
+ e,
1537
+ "session",
1538
+ /*session*/
1539
+ t[0]
1540
+ ), n(
1541
+ e,
1542
+ "playerid",
1543
+ /*userid*/
1544
+ t[1]
1545
+ ), n(
1546
+ e,
1547
+ "lang",
1548
+ /*lang*/
1549
+ t[3]
1550
+ ), n(
1551
+ e,
1552
+ "hasdefaultamount",
1553
+ /*hasdefaultamount*/
1554
+ t[11]
1555
+ ), n(
1556
+ e,
1557
+ "playercurrency",
1558
+ /*playercurrency*/
1559
+ t[12]
1560
+ ), n(
1561
+ e,
1562
+ "shortcashierenabled",
1563
+ /*shortcashierenabled*/
1564
+ t[13]
1565
+ ), n(
1566
+ e,
1567
+ "clientstyling",
1568
+ /*clientstyling*/
1569
+ t[25]
1570
+ ), n(
1571
+ e,
1572
+ "clientstylingurl",
1573
+ /*clientstylingurl*/
1574
+ t[26]
1575
+ ), n(e, "class", "svelte-1dz8k6q");
1576
+ },
1577
+ m(l, s) {
1578
+ F(l, e, s);
1579
+ },
1580
+ p(l, s) {
1581
+ s[0] & /*endpoint*/
1582
+ 4 && n(
1583
+ e,
1584
+ "endpoint",
1585
+ /*endpoint*/
1586
+ l[2]
1587
+ ), s[0] & /*session*/
1588
+ 1 && n(
1589
+ e,
1590
+ "session",
1591
+ /*session*/
1592
+ l[0]
1593
+ ), s[0] & /*userid*/
1594
+ 2 && n(
1595
+ e,
1596
+ "playerid",
1597
+ /*userid*/
1598
+ l[1]
1599
+ ), s[0] & /*lang*/
1600
+ 8 && n(
1601
+ e,
1602
+ "lang",
1603
+ /*lang*/
1604
+ l[3]
1605
+ ), s[0] & /*hasdefaultamount*/
1606
+ 2048 && n(
1607
+ e,
1608
+ "hasdefaultamount",
1609
+ /*hasdefaultamount*/
1610
+ l[11]
1611
+ ), s[0] & /*playercurrency*/
1612
+ 4096 && n(
1613
+ e,
1614
+ "playercurrency",
1615
+ /*playercurrency*/
1616
+ l[12]
1617
+ ), s[0] & /*shortcashierenabled*/
1618
+ 8192 && n(
1619
+ e,
1620
+ "shortcashierenabled",
1621
+ /*shortcashierenabled*/
1622
+ l[13]
1623
+ ), s[0] & /*clientstyling*/
1624
+ 33554432 && n(
1625
+ e,
1626
+ "clientstyling",
1627
+ /*clientstyling*/
1628
+ l[25]
1629
+ ), s[0] & /*clientstylingurl*/
1630
+ 67108864 && n(
1631
+ e,
1632
+ "clientstylingurl",
1633
+ /*clientstylingurl*/
1634
+ l[26]
1635
+ );
1636
+ },
1637
+ d(l) {
1638
+ l && H(e);
1639
+ }
1640
+ };
1641
+ }
1642
+ function at(t) {
1643
+ let e;
1644
+ function l(r, a) {
1645
+ return (
1646
+ /*countryflagheader*/
1647
+ r[8] !== "true" ? Dl : El
1648
+ );
1649
+ }
1650
+ let s = l(t), i = s(t);
1651
+ return {
1652
+ c() {
1653
+ i.c(), e = He();
1654
+ },
1655
+ m(r, a) {
1656
+ i.m(r, a), F(r, e, a);
1657
+ },
1658
+ p(r, a) {
1659
+ s === (s = l(r)) && i ? i.p(r, a) : (i.d(1), i = s(r), i && (i.c(), i.m(e.parentNode, e)));
1660
+ },
1661
+ d(r) {
1662
+ r && H(e), i.d(r);
1663
+ }
1664
+ };
1665
+ }
1666
+ function El(t) {
1667
+ let e, l, s, i, r, a, m, d = (
1668
+ /*selectedLanguage*/
1669
+ t[35].slice(-2) + ""
1670
+ ), g, f, u, v, k, C, U, P, D, q = (
1671
+ /*isOptionsListVisible*/
1672
+ t[38] && ot(t)
1673
+ );
1674
+ return {
1675
+ c() {
1676
+ e = p("div"), l = p("div"), s = p("span"), i = p("img"), a = A(), m = p("span"), g = X(d), f = A(), u = p("span"), v = Q("svg"), k = Q("path"), U = A(), q && q.c(), G(i.src, r = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1677
+ t[53](
1678
+ /*selectedLanguage*/
1679
+ t[35].slice(-2)
1680
+ )}.svg`) || o(i, "src", r), o(i, "class", "svelte-1dz8k6q"), o(s, "class", "FlagIcon svelte-1dz8k6q"), o(m, "class", "LanguageName svelte-1dz8k6q"), o(k, "id", "arrow"), o(k, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), o(k, "transform", "translate(-274.511 -441.088)"), o(k, "fill", "#d1d1d1"), o(k, "class", "svelte-1dz8k6q"), o(v, "xmlns", "http://www.w3.org/2000/svg"), o(v, "width", "14"), o(v, "height", "6.835"), o(v, "viewBox", "0 0 14 6.835"), o(v, "class", "svelte-1dz8k6q"), o(u, "class", C = "TriangleInactive " + /*isOptionsListVisible*/
1681
+ (t[38] ? "TriangleActive" : "") + " svelte-1dz8k6q"), o(l, "class", "SelectedOption Item ItemLanguage svelte-1dz8k6q"), o(e, "class", "LanguageDropdown svelte-1dz8k6q");
1682
+ },
1683
+ m(I, M) {
1684
+ F(I, e, M), h(e, l), h(l, s), h(s, i), h(l, a), h(l, m), h(m, g), h(l, f), h(l, u), h(u, v), h(v, k), h(e, U), q && q.m(e, null), P || (D = N(
1685
+ l,
1686
+ "click",
1687
+ /*click_handler_11*/
1688
+ t[72]
1689
+ ), P = !0);
1690
+ },
1691
+ p(I, M) {
1692
+ M[1] & /*selectedLanguage, languagesArray*/
1693
+ 1040 && !G(i.src, r = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1694
+ I[53](
1695
+ /*selectedLanguage*/
1696
+ I[35].slice(-2)
1697
+ )}.svg`) && o(i, "src", r), M[1] & /*selectedLanguage*/
1698
+ 16 && d !== (d = /*selectedLanguage*/
1699
+ I[35].slice(-2) + "") && $(g, d), M[1] & /*isOptionsListVisible*/
1700
+ 128 && C !== (C = "TriangleInactive " + /*isOptionsListVisible*/
1701
+ (I[38] ? "TriangleActive" : "") + " svelte-1dz8k6q") && o(u, "class", C), /*isOptionsListVisible*/
1702
+ I[38] ? q ? q.p(I, M) : (q = ot(I), q.c(), q.m(e, null)) : q && (q.d(1), q = null);
1703
+ },
1704
+ d(I) {
1705
+ I && H(e), q && q.d(), P = !1, D();
1706
+ }
1707
+ };
1708
+ }
1709
+ function Dl(t) {
1710
+ let e, l, s, i = te(
1711
+ /*languagesArray*/
1712
+ t[41]
1713
+ ), r = [];
1714
+ for (let a = 0; a < i.length; a += 1)
1715
+ r[a] = dt(xe(t, i, a));
1716
+ return {
1717
+ c() {
1718
+ e = p("select");
1719
+ for (let a = 0; a < r.length; a += 1)
1720
+ r[a].c();
1721
+ o(e, "class", "Item ItemLanguage NoFlag svelte-1dz8k6q"), /*selectedLanguage*/
1722
+ t[35] === void 0 && mt(() => (
1723
+ /*select_change_handler*/
1724
+ t[70].call(e)
1725
+ ));
1726
+ },
1727
+ m(a, m) {
1728
+ F(a, e, m);
1729
+ for (let d = 0; d < r.length; d += 1)
1730
+ r[d] && r[d].m(e, null);
1731
+ me(
1732
+ e,
1733
+ /*selectedLanguage*/
1734
+ t[35],
1735
+ !0
1736
+ ), l || (s = [
1737
+ N(
1738
+ e,
1739
+ "change",
1740
+ /*select_change_handler*/
1741
+ t[70]
1742
+ ),
1743
+ N(
1744
+ e,
1745
+ "change",
1746
+ /*change_handler*/
1747
+ t[71]
1748
+ )
1749
+ ], l = !0);
1750
+ },
1751
+ p(a, m) {
1752
+ if (m[1] & /*languagesArray*/
1753
+ 1024) {
1754
+ i = te(
1755
+ /*languagesArray*/
1756
+ a[41]
1757
+ );
1758
+ let d;
1759
+ for (d = 0; d < i.length; d += 1) {
1760
+ const g = xe(a, i, d);
1761
+ r[d] ? r[d].p(g, m) : (r[d] = dt(g), r[d].c(), r[d].m(e, null));
1762
+ }
1763
+ for (; d < r.length; d += 1)
1764
+ r[d].d(1);
1765
+ r.length = i.length;
1766
+ }
1767
+ m[1] & /*selectedLanguage, languagesArray*/
1768
+ 1040 && me(
1769
+ e,
1770
+ /*selectedLanguage*/
1771
+ a[35]
1772
+ );
1773
+ },
1774
+ d(a) {
1775
+ a && H(e), ce(r, a), l = !1, ie(s);
1776
+ }
1777
+ };
1778
+ }
1779
+ function ot(t) {
1780
+ let e, l = te(
1781
+ /*languagesArray*/
1782
+ t[41]
1783
+ ), s = [];
1784
+ for (let i = 0; i < l.length; i += 1)
1785
+ s[i] = ct(Ke(t, l, i));
1786
+ return {
1787
+ c() {
1788
+ e = p("div");
1789
+ for (let i = 0; i < s.length; i += 1)
1790
+ s[i].c();
1791
+ o(e, "class", "OptionList svelte-1dz8k6q");
1792
+ },
1793
+ m(i, r) {
1794
+ F(i, e, r);
1795
+ for (let a = 0; a < s.length; a += 1)
1796
+ s[a] && s[a].m(e, null);
1797
+ },
1798
+ p(i, r) {
1799
+ if (r[1] & /*selectLanguage, languagesArray, determineFlag*/
1800
+ 5243904) {
1801
+ l = te(
1802
+ /*languagesArray*/
1803
+ i[41]
1804
+ );
1805
+ let a;
1806
+ for (a = 0; a < l.length; a += 1) {
1807
+ const m = Ke(i, l, a);
1808
+ s[a] ? s[a].p(m, r) : (s[a] = ct(m), s[a].c(), s[a].m(e, null));
1809
+ }
1810
+ for (; a < s.length; a += 1)
1811
+ s[a].d(1);
1812
+ s.length = l.length;
1813
+ }
1814
+ },
1815
+ d(i) {
1816
+ i && H(e), ce(s, i);
1817
+ }
1818
+ };
1819
+ }
1820
+ function ct(t) {
1821
+ let e, l, s, i, r, a, m = (
1822
+ /*operatorLanguage*/
1823
+ t[114].slice(-2) + ""
1824
+ ), d, g, f, u;
1825
+ function v() {
1826
+ return (
1827
+ /*click_handler_12*/
1828
+ t[73](
1829
+ /*operatorLanguage*/
1830
+ t[114]
1831
+ )
1832
+ );
1833
+ }
1834
+ return {
1835
+ c() {
1836
+ e = p("div"), l = p("span"), s = p("img"), r = A(), a = p("span"), d = X(m), g = A(), G(s.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1837
+ t[53](
1838
+ /*operatorLanguage*/
1839
+ t[114].slice(-2)
1840
+ )}.svg`) || o(s, "src", i), o(s, "class", "svelte-1dz8k6q"), o(l, "class", "FlagIcon svelte-1dz8k6q"), o(a, "class", "LanguageName svelte-1dz8k6q"), o(e, "class", "LanguageOption svelte-1dz8k6q");
1841
+ },
1842
+ m(k, C) {
1843
+ F(k, e, C), h(e, l), h(l, s), h(e, r), h(e, a), h(a, d), h(e, g), f || (u = N(e, "click", v), f = !0);
1844
+ },
1845
+ p(k, C) {
1846
+ t = k, C[1] & /*languagesArray*/
1847
+ 1024 && !G(s.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1848
+ t[53](
1849
+ /*operatorLanguage*/
1850
+ t[114].slice(-2)
1851
+ )}.svg`) && o(s, "src", i), C[1] & /*languagesArray*/
1852
+ 1024 && m !== (m = /*operatorLanguage*/
1853
+ t[114].slice(-2) + "") && $(d, m);
1854
+ },
1855
+ d(k) {
1856
+ k && H(e), f = !1, u();
1857
+ }
1858
+ };
1859
+ }
1860
+ function dt(t) {
1861
+ let e, l = (
1862
+ /*operatorLanguage*/
1863
+ t[114].slice(-2) + ""
1864
+ ), s, i;
1865
+ return {
1866
+ c() {
1867
+ e = p("option"), s = X(l), e.__value = i = /*operatorLanguage*/
1868
+ t[114], pe(e, e.__value), e.selected = !0, o(e, "class", "svelte-1dz8k6q");
1869
+ },
1870
+ m(r, a) {
1871
+ F(r, e, a), h(e, s);
1872
+ },
1873
+ p(r, a) {
1874
+ a[1] & /*languagesArray*/
1875
+ 1024 && l !== (l = /*operatorLanguage*/
1876
+ r[114].slice(-2) + "") && $(s, l), a[1] & /*languagesArray*/
1877
+ 1024 && i !== (i = /*operatorLanguage*/
1878
+ r[114]) && (e.__value = i, pe(e, e.__value));
1879
+ },
1880
+ d(r) {
1881
+ r && H(e);
1882
+ }
1883
+ };
1884
+ }
1885
+ function ut(t) {
1886
+ let e, l, s = (
1887
+ /*secondaryItem*/
1888
+ t[111].label + ""
1889
+ ), i, r, a, m, d;
1890
+ function g() {
1891
+ return (
1892
+ /*click_handler_13*/
1893
+ t[74](
1894
+ /*secondaryItem*/
1895
+ t[111]
1896
+ )
1897
+ );
1898
+ }
1899
+ return {
1900
+ c() {
1901
+ var f, u;
1902
+ e = p("li"), l = p("button"), i = X(s), r = A(), o(l, "class", "svelte-1dz8k6q"), o(e, "class", a = "ItemSecondary " + /*secondaryActiveIndex*/
1903
+ (((f = t[33]) == null ? void 0 : f.toString().indexOf("$")) > -1 ? (
1904
+ /*secondaryActiveIndex*/
1905
+ ((u = t[33]) == null ? void 0 : u.split("$").pop()) == /*secondaryItem*/
1906
+ t[111].id.split("$").pop() ? "active" : ""
1907
+ ) : (
1908
+ /*secondaryActiveIndex*/
1909
+ t[33] == /*secondaryItem*/
1910
+ t[111].id ? "active" : ""
1911
+ )) + " svelte-1dz8k6q"), o(e, "part", "ItemSecondary");
1912
+ },
1913
+ m(f, u) {
1914
+ F(f, e, u), h(e, l), h(l, i), h(e, r), m || (d = N(l, "click", g), m = !0);
1915
+ },
1916
+ p(f, u) {
1917
+ var v, k;
1918
+ t = f, u[1] & /*secondaryMenuArray*/
1919
+ 8 && s !== (s = /*secondaryItem*/
1920
+ t[111].label + "") && $(i, s), u[1] & /*secondaryActiveIndex, secondaryMenuArray*/
1921
+ 12 && a !== (a = "ItemSecondary " + /*secondaryActiveIndex*/
1922
+ (((v = t[33]) == null ? void 0 : v.toString().indexOf("$")) > -1 ? (
1923
+ /*secondaryActiveIndex*/
1924
+ ((k = t[33]) == null ? void 0 : k.split("$").pop()) == /*secondaryItem*/
1925
+ t[111].id.split("$").pop() ? "active" : ""
1926
+ ) : (
1927
+ /*secondaryActiveIndex*/
1928
+ t[33] == /*secondaryItem*/
1929
+ t[111].id ? "active" : ""
1930
+ )) + " svelte-1dz8k6q") && o(e, "class", a);
1931
+ },
1932
+ d(f) {
1933
+ f && H(e), m = !1, d();
1934
+ }
1935
+ };
1936
+ }
1937
+ function ft(t) {
1938
+ let e, l, s, i, r, a, m, d, g, f;
1939
+ return {
1940
+ c() {
1941
+ e = Q("svg"), l = Q("defs"), s = Q("style"), i = X(`.a {
1942
+ fill: var(--emfe-w-color-white, #FFFFFF);
1943
+ }
1944
+ `), r = Q("g"), a = Q("rect"), m = Q("rect"), d = Q("rect"), o(s, "class", "svelte-1dz8k6q"), o(l, "class", "svelte-1dz8k6q"), o(a, "class", "a svelte-1dz8k6q"), o(a, "width", "18"), o(a, "height", "2"), o(a, "transform", "translate(14 13)"), o(m, "class", "a svelte-1dz8k6q"), o(m, "width", "22"), o(m, "height", "2"), o(m, "transform", "translate(14 20)"), o(d, "class", "a svelte-1dz8k6q"), o(d, "width", "22"), o(d, "height", "2"), o(d, "transform", "translate(14 27)"), o(r, "transform", "translate(-14 -13)"), o(r, "class", "svelte-1dz8k6q"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "22"), o(e, "height", "16"), o(e, "viewBox", "0 0 22 16"), o(e, "class", "svelte-1dz8k6q");
1945
+ },
1946
+ m(u, v) {
1947
+ F(u, e, v), h(e, l), h(l, s), h(s, i), h(e, r), h(r, a), h(r, m), h(r, d), g || (f = N(
1948
+ e,
1949
+ "click",
1950
+ /*click_handler*/
1951
+ t[58]
1952
+ ), g = !0);
1953
+ },
1954
+ p: re,
1955
+ d(u) {
1956
+ u && H(e), g = !1, f();
1957
+ }
1958
+ };
1959
+ }
1960
+ function Rl(t) {
1961
+ let e, l;
1962
+ return {
1963
+ c() {
1964
+ e = p("img"), G(e.src, l = ve) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
1965
+ },
1966
+ m(s, i) {
1967
+ F(s, e, i);
1968
+ },
1969
+ p: re,
1970
+ d(s) {
1971
+ s && H(e);
1972
+ }
1973
+ };
1974
+ }
1975
+ function Nl(t) {
1976
+ let e, l;
1977
+ return {
1978
+ c() {
1979
+ e = p("img"), G(e.src, l = /*logoPath*/
1980
+ t[43]) || o(e, "src", l), o(e, "alt", "Logo"), o(e, "class", "svelte-1dz8k6q");
1981
+ },
1982
+ m(s, i) {
1983
+ F(s, e, i);
1984
+ },
1985
+ p(s, i) {
1986
+ i[1] & /*logoPath*/
1987
+ 4096 && !G(e.src, l = /*logoPath*/
1988
+ s[43]) && o(e, "src", l);
1989
+ },
1990
+ d(s) {
1991
+ s && H(e);
1992
+ }
1993
+ };
1994
+ }
1995
+ function ht(t) {
1996
+ let e, l, s, i, r, a, m, d;
1997
+ function g(v, k) {
1998
+ return (
1999
+ /*gmversion*/
2000
+ v[7] === "gmcore" ? Pl : Ol
2001
+ );
2002
+ }
2003
+ let f = g(t), u = f(t);
2004
+ return {
2005
+ c() {
2006
+ e = p("div"), l = A(), s = p("div"), i = p("div"), r = p("div"), r.innerHTML = '<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" class="svelte-1dz8k6q"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2" class="svelte-1dz8k6q"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2" class="svelte-1dz8k6q"></line></svg>', a = A(), u.c(), o(e, "class", "ShortCashierWindow svelte-1dz8k6q"), o(r, "class", "ClosePopUpButtonShortCashier svelte-1dz8k6q"), o(i, "class", "ShortCashierContainerMobile svelte-1dz8k6q"), o(s, "class", "ShortCashierContainerWrapperMobile svelte-1dz8k6q");
2007
+ },
2008
+ m(v, k) {
2009
+ F(v, e, k), F(v, l, k), F(v, s, k), h(s, i), h(i, r), h(i, a), u.m(i, null), m || (d = [
2010
+ N(
2011
+ e,
2012
+ "click",
2013
+ /*click_handler_3*/
2014
+ t[61]
2015
+ ),
2016
+ N(
2017
+ r,
2018
+ "click",
2019
+ /*click_handler_4*/
2020
+ t[62]
2021
+ )
2022
+ ], m = !0);
2023
+ },
2024
+ p(v, k) {
2025
+ f === (f = g(v)) && u ? u.p(v, k) : (u.d(1), u = f(v), u && (u.c(), u.m(i, null)));
2026
+ },
2027
+ d(v) {
2028
+ v && (H(e), H(l), H(s)), u.d(), m = !1, ie(d);
2029
+ }
2030
+ };
2031
+ }
2032
+ function Ol(t) {
2033
+ let e, l, s, i, r, a, m, d, g;
2034
+ return {
2035
+ c() {
2036
+ e = p("user-deposit-withdrawal"), n(
2037
+ e,
2038
+ "endpoint",
2039
+ /*endpoint*/
2040
+ t[2]
2041
+ ), n(e, "type", "deposit"), n(e, "channel", "Mobile"), n(
2042
+ e,
2043
+ "language",
2044
+ /*lang*/
2045
+ t[3]
2046
+ ), n(
2047
+ e,
2048
+ "is-short-cashier",
2049
+ /*shortcashierenabled*/
2050
+ t[13]
2051
+ ), n(
2052
+ e,
2053
+ "product-type",
2054
+ /*producttype*/
2055
+ t[14]
2056
+ ), n(
2057
+ e,
2058
+ "user-id",
2059
+ /*userid*/
2060
+ t[1]
2061
+ ), n(
2062
+ e,
2063
+ "session",
2064
+ /*session*/
2065
+ t[0]
2066
+ ), n(e, "success-url", l = "https://" + window.location.hostname + "/" + /*lang*/
2067
+ t[3] + /*successurl*/
2068
+ t[15]), n(e, "cancel-url", s = "https://" + window.location.hostname + "/" + /*lang*/
2069
+ t[3] + /*cancelurl*/
2070
+ t[17]), n(e, "fail-url", i = "https://" + window.location.hostname + "/" + /*lang*/
2071
+ t[3] + /*failurl*/
2072
+ t[16]), n(e, "sports-url", r = "https://" + window.location.hostname + "/" + /*lang*/
2073
+ t[3] + /*sportsurl*/
2074
+ t[18]), n(e, "casino-url", a = "https://" + window.location.hostname + "/" + /*lang*/
2075
+ t[3] + /*casinourl*/
2076
+ t[19]), n(e, "contact-url", m = "https://" + window.location.hostname + "/" + /*lang*/
2077
+ t[3] + /*contacturl*/
2078
+ t[20]), n(e, "home-url", d = "https://" + window.location.hostname + "/" + /*lang*/
2079
+ t[3] + /*homeurl*/
2080
+ t[21]), n(e, "deposit-url", g = "https://" + window.location.hostname + "/" + /*lang*/
2081
+ t[3] + /*depositurl*/
2082
+ t[22]), n(
2083
+ e,
2084
+ "client-styling",
2085
+ /*clientstyling*/
2086
+ t[25]
2087
+ ), n(
2088
+ e,
2089
+ "client-styling-url",
2090
+ /*clientstylingurl*/
2091
+ t[26]
2092
+ ), n(e, "class", "svelte-1dz8k6q");
2093
+ },
2094
+ m(f, u) {
2095
+ F(f, e, u);
2096
+ },
2097
+ p(f, u) {
2098
+ u[0] & /*endpoint*/
2099
+ 4 && n(
2100
+ e,
2101
+ "endpoint",
2102
+ /*endpoint*/
2103
+ f[2]
2104
+ ), u[0] & /*lang*/
2105
+ 8 && n(
2106
+ e,
2107
+ "language",
2108
+ /*lang*/
2109
+ f[3]
2110
+ ), u[0] & /*shortcashierenabled*/
2111
+ 8192 && n(
2112
+ e,
2113
+ "is-short-cashier",
2114
+ /*shortcashierenabled*/
2115
+ f[13]
2116
+ ), u[0] & /*producttype*/
2117
+ 16384 && n(
2118
+ e,
2119
+ "product-type",
2120
+ /*producttype*/
2121
+ f[14]
2122
+ ), u[0] & /*userid*/
2123
+ 2 && n(
2124
+ e,
2125
+ "user-id",
2126
+ /*userid*/
2127
+ f[1]
2128
+ ), u[0] & /*session*/
2129
+ 1 && n(
2130
+ e,
2131
+ "session",
2132
+ /*session*/
2133
+ f[0]
2134
+ ), u[0] & /*lang, successurl*/
2135
+ 32776 && l !== (l = "https://" + window.location.hostname + "/" + /*lang*/
2136
+ f[3] + /*successurl*/
2137
+ f[15]) && n(e, "success-url", l), u[0] & /*lang, cancelurl*/
2138
+ 131080 && s !== (s = "https://" + window.location.hostname + "/" + /*lang*/
2139
+ f[3] + /*cancelurl*/
2140
+ f[17]) && n(e, "cancel-url", s), u[0] & /*lang, failurl*/
2141
+ 65544 && i !== (i = "https://" + window.location.hostname + "/" + /*lang*/
2142
+ f[3] + /*failurl*/
2143
+ f[16]) && n(e, "fail-url", i), u[0] & /*lang, sportsurl*/
2144
+ 262152 && r !== (r = "https://" + window.location.hostname + "/" + /*lang*/
2145
+ f[3] + /*sportsurl*/
2146
+ f[18]) && n(e, "sports-url", r), u[0] & /*lang, casinourl*/
2147
+ 524296 && a !== (a = "https://" + window.location.hostname + "/" + /*lang*/
2148
+ f[3] + /*casinourl*/
2149
+ f[19]) && n(e, "casino-url", a), u[0] & /*lang, contacturl*/
2150
+ 1048584 && m !== (m = "https://" + window.location.hostname + "/" + /*lang*/
2151
+ f[3] + /*contacturl*/
2152
+ f[20]) && n(e, "contact-url", m), u[0] & /*lang, homeurl*/
2153
+ 2097160 && d !== (d = "https://" + window.location.hostname + "/" + /*lang*/
2154
+ f[3] + /*homeurl*/
2155
+ f[21]) && n(e, "home-url", d), u[0] & /*lang, depositurl*/
2156
+ 4194312 && g !== (g = "https://" + window.location.hostname + "/" + /*lang*/
2157
+ f[3] + /*depositurl*/
2158
+ f[22]) && n(e, "deposit-url", g), u[0] & /*clientstyling*/
2159
+ 33554432 && n(
2160
+ e,
2161
+ "client-styling",
2162
+ /*clientstyling*/
2163
+ f[25]
2164
+ ), u[0] & /*clientstylingurl*/
2165
+ 67108864 && n(
2166
+ e,
2167
+ "client-styling-url",
2168
+ /*clientstylingurl*/
2169
+ f[26]
2170
+ );
2171
+ },
2172
+ d(f) {
2173
+ f && H(e);
2174
+ }
2175
+ };
2176
+ }
2177
+ function Pl(t) {
2178
+ let e;
2179
+ return {
2180
+ c() {
2181
+ e = p("player-deposit"), n(
2182
+ e,
2183
+ "endpoint",
2184
+ /*endpoint*/
2185
+ t[2]
2186
+ ), n(
2187
+ e,
2188
+ "session",
2189
+ /*session*/
2190
+ t[0]
2191
+ ), n(
2192
+ e,
2193
+ "playerid",
2194
+ /*userid*/
2195
+ t[1]
2196
+ ), n(
2197
+ e,
2198
+ "lang",
2199
+ /*lang*/
2200
+ t[3]
2201
+ ), n(
2202
+ e,
2203
+ "hasdefaultamount",
2204
+ /*hasdefaultamount*/
2205
+ t[11]
2206
+ ), n(
2207
+ e,
2208
+ "playercurrency",
2209
+ /*playercurrency*/
2210
+ t[12]
2211
+ ), n(
2212
+ e,
2213
+ "shortcashierenabled",
2214
+ /*shortcashierenabled*/
2215
+ t[13]
2216
+ ), n(
2217
+ e,
2218
+ "clientstyling",
2219
+ /*clientstyling*/
2220
+ t[25]
2221
+ ), n(
2222
+ e,
2223
+ "clientstylingurl",
2224
+ /*clientstylingurl*/
2225
+ t[26]
2226
+ ), n(e, "class", "svelte-1dz8k6q");
2227
+ },
2228
+ m(l, s) {
2229
+ F(l, e, s);
2230
+ },
2231
+ p(l, s) {
2232
+ s[0] & /*endpoint*/
2233
+ 4 && n(
2234
+ e,
2235
+ "endpoint",
2236
+ /*endpoint*/
2237
+ l[2]
2238
+ ), s[0] & /*session*/
2239
+ 1 && n(
2240
+ e,
2241
+ "session",
2242
+ /*session*/
2243
+ l[0]
2244
+ ), s[0] & /*userid*/
2245
+ 2 && n(
2246
+ e,
2247
+ "playerid",
2248
+ /*userid*/
2249
+ l[1]
2250
+ ), s[0] & /*lang*/
2251
+ 8 && n(
2252
+ e,
2253
+ "lang",
2254
+ /*lang*/
2255
+ l[3]
2256
+ ), s[0] & /*hasdefaultamount*/
2257
+ 2048 && n(
2258
+ e,
2259
+ "hasdefaultamount",
2260
+ /*hasdefaultamount*/
2261
+ l[11]
2262
+ ), s[0] & /*playercurrency*/
2263
+ 4096 && n(
2264
+ e,
2265
+ "playercurrency",
2266
+ /*playercurrency*/
2267
+ l[12]
2268
+ ), s[0] & /*shortcashierenabled*/
2269
+ 8192 && n(
2270
+ e,
2271
+ "shortcashierenabled",
2272
+ /*shortcashierenabled*/
2273
+ l[13]
2274
+ ), s[0] & /*clientstyling*/
2275
+ 33554432 && n(
2276
+ e,
2277
+ "clientstyling",
2278
+ /*clientstyling*/
2279
+ l[25]
2280
+ ), s[0] & /*clientstylingurl*/
2281
+ 67108864 && n(
2282
+ e,
2283
+ "clientstylingurl",
2284
+ /*clientstylingurl*/
2285
+ l[26]
2286
+ );
2287
+ },
2288
+ d(l) {
2289
+ l && H(e);
2290
+ }
2291
+ };
2292
+ }
2293
+ function Tl(t) {
2294
+ let e, l;
2295
+ function s(a, m) {
2296
+ return (
2297
+ /*isLoggedIn*/
2298
+ a[40] ? wl : (
2299
+ /*mobileView*/
2300
+ a[39] ? _l : kl
2301
+ )
2302
+ );
2303
+ }
2304
+ let i = s(t), r = i(t);
2305
+ return {
2306
+ c() {
2307
+ r.c(), e = A(), l = p("casino-hamburger-menu"), n(
2308
+ l,
2309
+ "menuitemsurl",
2310
+ /*hamburgerURL*/
2311
+ t[36]
2312
+ ), n(
2313
+ l,
2314
+ "activecategory",
2315
+ /*activecategory*/
2316
+ t[5]
2317
+ ), n(
2318
+ l,
2319
+ "lang",
2320
+ /*lang*/
2321
+ t[3]
2322
+ ), n(
2323
+ l,
2324
+ "countryflaghamburger",
2325
+ /*countryflaghamburger*/
2326
+ t[10]
2327
+ ), n(
2328
+ l,
2329
+ "customlocaleidentifier",
2330
+ /*customlocaleidentifier*/
2331
+ t[6]
2332
+ ), n(
2333
+ l,
2334
+ "languageslist",
2335
+ /*languageslist*/
2336
+ t[4]
2337
+ ), n(
2338
+ l,
2339
+ "clientstyling",
2340
+ /*clientstyling*/
2341
+ t[25]
2342
+ ), n(
2343
+ l,
2344
+ "clientstylingurl",
2345
+ /*clientstylingurl*/
2346
+ t[26]
2347
+ ), n(l, "class", "svelte-1dz8k6q");
2348
+ },
2349
+ m(a, m) {
2350
+ r.m(a, m), F(a, e, m), F(a, l, m);
2351
+ },
2352
+ p(a, m) {
2353
+ i === (i = s(a)) && r ? r.p(a, m) : (r.d(1), r = i(a), r && (r.c(), r.m(e.parentNode, e))), m[1] & /*hamburgerURL*/
2354
+ 32 && n(
2355
+ l,
2356
+ "menuitemsurl",
2357
+ /*hamburgerURL*/
2358
+ a[36]
2359
+ ), m[0] & /*activecategory*/
2360
+ 32 && n(
2361
+ l,
2362
+ "activecategory",
2363
+ /*activecategory*/
2364
+ a[5]
2365
+ ), m[0] & /*lang*/
2366
+ 8 && n(
2367
+ l,
2368
+ "lang",
2369
+ /*lang*/
2370
+ a[3]
2371
+ ), m[0] & /*countryflaghamburger*/
2372
+ 1024 && n(
2373
+ l,
2374
+ "countryflaghamburger",
2375
+ /*countryflaghamburger*/
2376
+ a[10]
2377
+ ), m[0] & /*customlocaleidentifier*/
2378
+ 64 && n(
2379
+ l,
2380
+ "customlocaleidentifier",
2381
+ /*customlocaleidentifier*/
2382
+ a[6]
2383
+ ), m[0] & /*languageslist*/
2384
+ 16 && n(
2385
+ l,
2386
+ "languageslist",
2387
+ /*languageslist*/
2388
+ a[4]
2389
+ ), m[0] & /*clientstyling*/
2390
+ 33554432 && n(
2391
+ l,
2392
+ "clientstyling",
2393
+ /*clientstyling*/
2394
+ a[25]
2395
+ ), m[0] & /*clientstylingurl*/
2396
+ 67108864 && n(
2397
+ l,
2398
+ "clientstylingurl",
2399
+ /*clientstylingurl*/
2400
+ a[26]
2401
+ );
2402
+ },
2403
+ i: re,
2404
+ o: re,
2405
+ d(a) {
2406
+ a && (H(e), H(l)), r.d(a);
2407
+ }
2408
+ };
2409
+ }
2410
+ let Ce = "HeaderMenu";
2411
+ function Wl(t, e, l) {
2412
+ let s, i;
2413
+ ul(t, hl, (c) => l(45, i = c));
2414
+ let { session: r = "" } = e, { userid: a = "" } = e, { endpoint: m = "" } = e, { cmsendpoint: d = "" } = e, { cmsenv: g = "stage" } = e, { lang: f = "en" } = e, { languageslist: u = "en, ro" } = e, { activecategory: v = "" } = e, { translationurl: k = "" } = e, { customlocaleidentifier: C = "" } = e, { gmversion: U = "" } = e, { countryflagheader: P = "false" } = e, { displaybalanceoption: D = "All" } = e, { countryflaghamburger: q = "false" } = e, { hasdefaultamount: I = "" } = e, { playercurrency: M = "" } = e, { shortcashierenabled: Z = "" } = e, { producttype: Y = "" } = e, { successurl: T = "" } = e, { failurl: S = "" } = e, { cancelurl: w = "" } = e, { sportsurl: b = "" } = e, { casinourl: R = "" } = e, { contacturl: y = "" } = e, { homeurl: _ = "" } = e, { depositurl: O = "" } = e, { actionevent: L = "" } = e, { userroles: z = "" } = e, { showsubgroups: W = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: ne = "" } = e, { currencyseparator: Ae = "" } = e, { currencydecimal: Le = "" } = e, { currencyprecision: Se = "" } = e, Ee, De, x;
2415
+ ml({ withLocale: "en", translations: {} });
2416
+ const pt = () => {
2417
+ fetch(k).then((J) => J.json()).then((J) => {
2418
+ Object.keys(J).forEach((K) => {
2419
+ Ge(K, J[K]);
2420
+ });
2421
+ }).catch((J) => {
2422
+ console.log(J);
2423
+ });
2424
+ };
2425
+ Object.keys(Ye).forEach((c) => {
2426
+ Ge(c, Ye[c]);
2427
+ });
2428
+ let ke = [], _e = [], ee = "", se, le, Re, de = !0, ue = !1, fe = !1, Ne = !1, we = window.navigator.userAgent, he = !1, ae = [], ze = !1, Oe = "", be = !1;
2429
+ const V = (c) => {
2430
+ switch (c) {
2431
+ case "login":
2432
+ window.postMessage(
2433
+ {
2434
+ type: "OpenLoginRegisterModal",
2435
+ transition: "Login"
2436
+ },
2437
+ window.location.href
2438
+ ), typeof gtag == "function" && gtag("event", "OpenLoginModal", { context: "HeaderController" });
2439
+ break;
2440
+ case "register":
2441
+ window.postMessage(
2442
+ {
2443
+ type: "OpenLoginRegisterModal",
2444
+ transition: "Register"
2445
+ },
2446
+ window.location.href
2447
+ ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", { context: "HeaderController" });
2448
+ break;
2449
+ case "lobby":
2450
+ window.postMessage({ type: "GoToHomepage" }, window.location.href);
2451
+ break;
2452
+ case "myaccount":
2453
+ window.postMessage(
2454
+ {
2455
+ type: "PlayerAccountMenuActive",
2456
+ isMobile: je(we)
2457
+ },
2458
+ window.location.href
2459
+ );
2460
+ break;
2461
+ case "deposit":
2462
+ s ? (l(44, be = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)) : window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "HeaderController" });
2463
+ break;
2464
+ case "language":
2465
+ window.postMessage(
2466
+ {
2467
+ type: "LanguageChanged",
2468
+ selectedLanguage: ee
2469
+ },
2470
+ window.location.href
2471
+ );
2472
+ break;
2473
+ }
2474
+ }, qe = () => {
2475
+ l(42, ze = !0), window.postMessage({ type: "OpenHamburgerMenuModal" }, window.location.href);
2476
+ }, Pe = (c) => {
2477
+ if (c.data)
2478
+ switch (c.data.type) {
2479
+ case "UserSessionID":
2480
+ c.data.userid, c.data.session, l(40, he = !0);
2481
+ break;
2482
+ case "CloseHamburgerMenu":
2483
+ window.postMessage({ type: "EnableScroll" }, window.location.href), c.data.showhamburger && l(42, ze = !1);
2484
+ break;
2485
+ case "LogoutSuccessfull":
2486
+ l(40, he = !1);
2487
+ break;
2488
+ case "LanguageChanged":
2489
+ Te(), Be(le);
2490
+ break;
2491
+ case "OpenShortCashier":
2492
+ V("deposit");
2493
+ break;
2494
+ case "CloseShortCashier":
2495
+ oe();
2496
+ break;
2497
+ case "RequestHeaderHeight":
2498
+ window.postMessage(
2499
+ {
2500
+ type: "HeaderHeight",
2501
+ headerHeight: x.clientHeight
2502
+ },
2503
+ window.location.href
2504
+ );
2505
+ break;
2506
+ }
2507
+ }, vt = () => {
2508
+ l(40, he = !0);
2509
+ }, oe = (c) => {
2510
+ l(44, be = !1), window.postMessage({ type: "EnableScroll" }, window.location.href), c == null || c.stopPropagation();
2511
+ }, Te = () => {
2512
+ le = new URL(`${d}/${ee.toLowerCase()}/menu`), l(36, se = new URL(`${d}/${ee.toLowerCase()}/hamburger-menu`)), Re = new URL(`${d}/${ee.toLowerCase()}/op-options/style`);
2513
+ let c = gl(we);
2514
+ le.searchParams.append("env", g), le.searchParams.append("language", ee.toLowerCase()), le.searchParams.append("userRoles", z), c && (c === "PC" ? (se.searchParams.append("device", "dk"), le.searchParams.append("device", "dk")) : (se.searchParams.append("device", "mtWeb"), le.searchParams.append("device", "mtWeb"))), se.searchParams.append("env", g), se.searchParams.append("language", ee.toLowerCase()), se.searchParams.append("userRoles", z);
2515
+ }, kt = () => {
2516
+ pl(f);
2517
+ }, _t = () => {
2518
+ l(41, ae = u.replace(/ /g, "").split(",")), l(41, ae = ae.map((c) => c.toUpperCase())), l(35, ee = f.toUpperCase()), Te(), bt(Re), setTimeout(() => {
2519
+ Be(le);
2520
+ });
2521
+ }, wt = () => {
2522
+ l(32, Ee = We(v, ke)), l(33, De = We(v, _e));
2523
+ }, We = (c, J) => {
2524
+ let K = J.find((B) => {
2525
+ if (c.indexOf("/sport") > -1)
2526
+ return B.path.indexOf(c) > -1;
2527
+ if (B.path.includes(c))
2528
+ return !0;
2529
+ });
2530
+ return K || (K = J.find((B) => B.path.split("/").indexOf(c.split("/")[1]) > -1)), K ? K.id : -1;
2531
+ }, zt = () => {
2532
+ window.postMessage(
2533
+ {
2534
+ type: "SliderData",
2535
+ identity: Ce,
2536
+ data: ke
2537
+ },
2538
+ window.location.href
2539
+ );
2540
+ }, Be = (c) => (l(31, de = !0), new Promise((J, K) => {
2541
+ fetch(c).then((B) => B.json()).then(
2542
+ (B) => {
2543
+ ke = B.desktop.primary, l(34, _e = B.desktop.secondary), l(31, de = !1), J(B);
2544
+ },
2545
+ (B) => {
2546
+ l(31, de = !1), console.error(B), K(B);
2547
+ }
2548
+ );
2549
+ })), bt = (c) => (l(37, ue = !1), new Promise((J, K) => {
2550
+ fetch(c).then((B) => B.json()).then(
2551
+ (B) => {
2552
+ B.logoUrl.length > 0 && (B.logoUrl != "null" || B.logoUrl != "false") ? (l(43, Oe = B.logoUrl), l(37, ue = !0)) : l(37, ue = !1), J(B);
2553
+ },
2554
+ (B) => {
2555
+ l(37, ue = !1), console.error(B), K(B);
2556
+ }
2557
+ );
2558
+ })), ye = (c) => {
2559
+ var J;
2560
+ window.postMessage(
2561
+ {
2562
+ type: "NavigateTo",
2563
+ itemId: c.id,
2564
+ item: c,
2565
+ path: c.path,
2566
+ externalLink: c.externalLink || !1,
2567
+ target: ((J = c.attrs) == null ? void 0 : J.target) || null
2568
+ },
2569
+ window.location.href
2570
+ );
2571
+ }, Me = (c) => {
2572
+ l(35, ee = c), l(38, fe = !1), V("language");
2573
+ }, Ie = () => {
2574
+ l(38, fe = !fe);
2575
+ }, qt = (c) => (C && (c = C.includes(c.toLowerCase()) ? C.slice(-2) : c), c == "EN" ? "US" : c.toUpperCase()), yt = () => {
2576
+ let c = document.createElement("style");
2577
+ c.innerHTML = j, x.appendChild(c);
2578
+ }, Mt = () => {
2579
+ let c = new URL(ne), J = document.createElement("style");
2580
+ fetch(c.href).then((K) => K.text()).then((K) => {
2581
+ J.innerHTML = K, setTimeout(
2582
+ () => {
2583
+ x.appendChild(J);
2584
+ },
2585
+ 1
2586
+ );
2587
+ });
2588
+ };
2589
+ fl(() => Ue(this, null, function* () {
2590
+ return window.addEventListener("message", Pe, !1), je(we) && l(39, Ne = !0), () => {
2591
+ window.removeEventListener("message", Pe);
2592
+ };
2593
+ }));
2594
+ const It = () => qe(), Ft = () => V("lobby"), Ht = () => V("deposit"), Ct = (c) => oe(c), At = (c) => oe(c), Lt = () => V("myaccount");
2595
+ function St(c) {
2596
+ ge[c ? "unshift" : "push"](() => {
2597
+ x = c, l(30, x);
2598
+ });
2599
+ }
2600
+ const Et = () => V("lobby"), Dt = () => V("deposit"), Rt = (c) => oe(c), Nt = (c) => oe(c), Ot = () => V("myaccount");
2601
+ function Pt() {
2602
+ ee = Ze(this), l(35, ee), l(41, ae);
2603
+ }
2604
+ const Tt = () => V("language"), Wt = () => Ie(), Bt = (c) => Me(c), Ut = (c) => ye(c);
2605
+ function jt(c) {
2606
+ ge[c ? "unshift" : "push"](() => {
2607
+ x = c, l(30, x);
2608
+ });
2609
+ }
2610
+ const Zt = () => qe(), Gt = () => V("lobby"), Yt = () => V("login"), Jt = () => V("register");
2611
+ function Qt(c) {
2612
+ ge[c ? "unshift" : "push"](() => {
2613
+ x = c, l(30, x);
2614
+ });
2615
+ }
2616
+ const Vt = () => V("lobby"), Xt = () => V("login"), Kt = () => V("register");
2617
+ function xt() {
2618
+ ee = Ze(this), l(35, ee), l(41, ae);
2619
+ }
2620
+ const $t = () => V("language"), el = () => Ie(), tl = (c) => Me(c), ll = (c) => ye(c);
2621
+ function sl(c) {
2622
+ ge[c ? "unshift" : "push"](() => {
2623
+ x = c, l(30, x);
2624
+ });
2625
+ }
2626
+ return t.$$set = (c) => {
2627
+ "session" in c && l(0, r = c.session), "userid" in c && l(1, a = c.userid), "endpoint" in c && l(2, m = c.endpoint), "cmsendpoint" in c && l(54, d = c.cmsendpoint), "cmsenv" in c && l(55, g = c.cmsenv), "lang" in c && l(3, f = c.lang), "languageslist" in c && l(4, u = c.languageslist), "activecategory" in c && l(5, v = c.activecategory), "translationurl" in c && l(56, k = c.translationurl), "customlocaleidentifier" in c && l(6, C = c.customlocaleidentifier), "gmversion" in c && l(7, U = c.gmversion), "countryflagheader" in c && l(8, P = c.countryflagheader), "displaybalanceoption" in c && l(9, D = c.displaybalanceoption), "countryflaghamburger" in c && l(10, q = c.countryflaghamburger), "hasdefaultamount" in c && l(11, I = c.hasdefaultamount), "playercurrency" in c && l(12, M = c.playercurrency), "shortcashierenabled" in c && l(13, Z = c.shortcashierenabled), "producttype" in c && l(14, Y = c.producttype), "successurl" in c && l(15, T = c.successurl), "failurl" in c && l(16, S = c.failurl), "cancelurl" in c && l(17, w = c.cancelurl), "sportsurl" in c && l(18, b = c.sportsurl), "casinourl" in c && l(19, R = c.casinourl), "contacturl" in c && l(20, y = c.contacturl), "homeurl" in c && l(21, _ = c.homeurl), "depositurl" in c && l(22, O = c.depositurl), "actionevent" in c && l(23, L = c.actionevent), "userroles" in c && l(57, z = c.userroles), "showsubgroups" in c && l(24, W = c.showsubgroups), "clientstyling" in c && l(25, j = c.clientstyling), "clientstylingurl" in c && l(26, ne = c.clientstylingurl), "currencyseparator" in c && l(27, Ae = c.currencyseparator), "currencydecimal" in c && l(28, Le = c.currencydecimal), "currencyprecision" in c && l(29, Se = c.currencyprecision);
2628
+ }, t.$$.update = () => {
2629
+ t.$$.dirty[0] & /*activecategory*/
2630
+ 32 | t.$$.dirty[1] & /*isLoading*/
2631
+ 1 && v && !de && wt(), t.$$.dirty[0] & /*session*/
2632
+ 1 && r && vt(), t.$$.dirty[0] & /*shortcashierenabled*/
2633
+ 8192 && (s = Z.toLocaleLowerCase() === "true"), t.$$.dirty[0] & /*lang*/
2634
+ 8 && f && kt(), t.$$.dirty[0] & /*lang, languageslist*/
2635
+ 24 | t.$$.dirty[1] & /*cmsendpoint, userroles*/
2636
+ 75497472 && d && f && u && z && _t(), t.$$.dirty[1] & /*translationurl*/
2637
+ 33554432 && k && pt(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2638
+ 1107296256 && j && x && yt(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2639
+ 1140850688 && ne && x && Mt();
2640
+ }, [
2641
+ r,
2642
+ a,
2643
+ m,
2644
+ f,
2645
+ u,
2646
+ v,
2647
+ C,
2648
+ U,
2649
+ P,
2650
+ D,
2651
+ q,
2652
+ I,
2653
+ M,
2654
+ Z,
2655
+ Y,
2656
+ T,
2657
+ S,
2658
+ w,
2659
+ b,
2660
+ R,
2661
+ y,
2662
+ _,
2663
+ O,
2664
+ L,
2665
+ W,
2666
+ j,
2667
+ ne,
2668
+ Ae,
2669
+ Le,
2670
+ Se,
2671
+ x,
2672
+ de,
2673
+ Ee,
2674
+ De,
2675
+ _e,
2676
+ ee,
2677
+ se,
2678
+ ue,
2679
+ fe,
2680
+ Ne,
2681
+ he,
2682
+ ae,
2683
+ ze,
2684
+ Oe,
2685
+ be,
2686
+ i,
2687
+ V,
2688
+ qe,
2689
+ oe,
2690
+ zt,
2691
+ ye,
2692
+ Me,
2693
+ Ie,
2694
+ qt,
2695
+ d,
2696
+ g,
2697
+ k,
2698
+ z,
2699
+ It,
2700
+ Ft,
2701
+ Ht,
2702
+ Ct,
2703
+ At,
2704
+ Lt,
2705
+ St,
2706
+ Et,
2707
+ Dt,
2708
+ Rt,
2709
+ Nt,
2710
+ Ot,
2711
+ Pt,
2712
+ Tt,
2713
+ Wt,
2714
+ Bt,
2715
+ Ut,
2716
+ jt,
2717
+ Zt,
2718
+ Gt,
2719
+ Yt,
2720
+ Jt,
2721
+ Qt,
2722
+ Vt,
2723
+ Xt,
2724
+ Kt,
2725
+ xt,
2726
+ $t,
2727
+ el,
2728
+ tl,
2729
+ ll,
2730
+ sl
2731
+ ];
2732
+ }
2733
+ class Bl extends rl {
2734
+ constructor(e) {
2735
+ super(), al(
2736
+ this,
2737
+ e,
2738
+ Wl,
2739
+ Tl,
2740
+ cl,
2741
+ {
2742
+ session: 0,
2743
+ userid: 1,
2744
+ endpoint: 2,
2745
+ cmsendpoint: 54,
2746
+ cmsenv: 55,
2747
+ lang: 3,
2748
+ languageslist: 4,
2749
+ activecategory: 5,
2750
+ translationurl: 56,
2751
+ customlocaleidentifier: 6,
2752
+ gmversion: 7,
2753
+ countryflagheader: 8,
2754
+ displaybalanceoption: 9,
2755
+ countryflaghamburger: 10,
2756
+ hasdefaultamount: 11,
2757
+ playercurrency: 12,
2758
+ shortcashierenabled: 13,
2759
+ producttype: 14,
2760
+ successurl: 15,
2761
+ failurl: 16,
2762
+ cancelurl: 17,
2763
+ sportsurl: 18,
2764
+ casinourl: 19,
2765
+ contacturl: 20,
2766
+ homeurl: 21,
2767
+ depositurl: 22,
2768
+ actionevent: 23,
2769
+ userroles: 57,
2770
+ showsubgroups: 24,
2771
+ clientstyling: 25,
2772
+ clientstylingurl: 26,
2773
+ currencyseparator: 27,
2774
+ currencydecimal: 28,
2775
+ currencyprecision: 29
2776
+ },
2777
+ vl,
2778
+ [-1, -1, -1, -1, -1]
2779
+ );
2780
+ }
2781
+ get session() {
2782
+ return this.$$.ctx[0];
2783
+ }
2784
+ set session(e) {
2785
+ this.$$set({ session: e }), E();
2786
+ }
2787
+ get userid() {
2788
+ return this.$$.ctx[1];
2789
+ }
2790
+ set userid(e) {
2791
+ this.$$set({ userid: e }), E();
2792
+ }
2793
+ get endpoint() {
2794
+ return this.$$.ctx[2];
2795
+ }
2796
+ set endpoint(e) {
2797
+ this.$$set({ endpoint: e }), E();
2798
+ }
2799
+ get cmsendpoint() {
2800
+ return this.$$.ctx[54];
2801
+ }
2802
+ set cmsendpoint(e) {
2803
+ this.$$set({ cmsendpoint: e }), E();
2804
+ }
2805
+ get cmsenv() {
2806
+ return this.$$.ctx[55];
2807
+ }
2808
+ set cmsenv(e) {
2809
+ this.$$set({ cmsenv: e }), E();
2810
+ }
2811
+ get lang() {
2812
+ return this.$$.ctx[3];
2813
+ }
2814
+ set lang(e) {
2815
+ this.$$set({ lang: e }), E();
2816
+ }
2817
+ get languageslist() {
2818
+ return this.$$.ctx[4];
2819
+ }
2820
+ set languageslist(e) {
2821
+ this.$$set({ languageslist: e }), E();
2822
+ }
2823
+ get activecategory() {
2824
+ return this.$$.ctx[5];
2825
+ }
2826
+ set activecategory(e) {
2827
+ this.$$set({ activecategory: e }), E();
2828
+ }
2829
+ get translationurl() {
2830
+ return this.$$.ctx[56];
2831
+ }
2832
+ set translationurl(e) {
2833
+ this.$$set({ translationurl: e }), E();
2834
+ }
2835
+ get customlocaleidentifier() {
2836
+ return this.$$.ctx[6];
2837
+ }
2838
+ set customlocaleidentifier(e) {
2839
+ this.$$set({ customlocaleidentifier: e }), E();
2840
+ }
2841
+ get gmversion() {
2842
+ return this.$$.ctx[7];
2843
+ }
2844
+ set gmversion(e) {
2845
+ this.$$set({ gmversion: e }), E();
2846
+ }
2847
+ get countryflagheader() {
2848
+ return this.$$.ctx[8];
2849
+ }
2850
+ set countryflagheader(e) {
2851
+ this.$$set({ countryflagheader: e }), E();
2852
+ }
2853
+ get displaybalanceoption() {
2854
+ return this.$$.ctx[9];
2855
+ }
2856
+ set displaybalanceoption(e) {
2857
+ this.$$set({ displaybalanceoption: e }), E();
2858
+ }
2859
+ get countryflaghamburger() {
2860
+ return this.$$.ctx[10];
2861
+ }
2862
+ set countryflaghamburger(e) {
2863
+ this.$$set({ countryflaghamburger: e }), E();
2864
+ }
2865
+ get hasdefaultamount() {
2866
+ return this.$$.ctx[11];
2867
+ }
2868
+ set hasdefaultamount(e) {
2869
+ this.$$set({ hasdefaultamount: e }), E();
2870
+ }
2871
+ get playercurrency() {
2872
+ return this.$$.ctx[12];
2873
+ }
2874
+ set playercurrency(e) {
2875
+ this.$$set({ playercurrency: e }), E();
2876
+ }
2877
+ get shortcashierenabled() {
2878
+ return this.$$.ctx[13];
2879
+ }
2880
+ set shortcashierenabled(e) {
2881
+ this.$$set({ shortcashierenabled: e }), E();
2882
+ }
2883
+ get producttype() {
2884
+ return this.$$.ctx[14];
2885
+ }
2886
+ set producttype(e) {
2887
+ this.$$set({ producttype: e }), E();
2888
+ }
2889
+ get successurl() {
2890
+ return this.$$.ctx[15];
2891
+ }
2892
+ set successurl(e) {
2893
+ this.$$set({ successurl: e }), E();
2894
+ }
2895
+ get failurl() {
2896
+ return this.$$.ctx[16];
2897
+ }
2898
+ set failurl(e) {
2899
+ this.$$set({ failurl: e }), E();
2900
+ }
2901
+ get cancelurl() {
2902
+ return this.$$.ctx[17];
2903
+ }
2904
+ set cancelurl(e) {
2905
+ this.$$set({ cancelurl: e }), E();
2906
+ }
2907
+ get sportsurl() {
2908
+ return this.$$.ctx[18];
2909
+ }
2910
+ set sportsurl(e) {
2911
+ this.$$set({ sportsurl: e }), E();
2912
+ }
2913
+ get casinourl() {
2914
+ return this.$$.ctx[19];
2915
+ }
2916
+ set casinourl(e) {
2917
+ this.$$set({ casinourl: e }), E();
2918
+ }
2919
+ get contacturl() {
2920
+ return this.$$.ctx[20];
2921
+ }
2922
+ set contacturl(e) {
2923
+ this.$$set({ contacturl: e }), E();
2924
+ }
2925
+ get homeurl() {
2926
+ return this.$$.ctx[21];
2927
+ }
2928
+ set homeurl(e) {
2929
+ this.$$set({ homeurl: e }), E();
2930
+ }
2931
+ get depositurl() {
2932
+ return this.$$.ctx[22];
2933
+ }
2934
+ set depositurl(e) {
2935
+ this.$$set({ depositurl: e }), E();
2936
+ }
2937
+ get actionevent() {
2938
+ return this.$$.ctx[23];
2939
+ }
2940
+ set actionevent(e) {
2941
+ this.$$set({ actionevent: e }), E();
2942
+ }
2943
+ get userroles() {
2944
+ return this.$$.ctx[57];
2945
+ }
2946
+ set userroles(e) {
2947
+ this.$$set({ userroles: e }), E();
2948
+ }
2949
+ get showsubgroups() {
2950
+ return this.$$.ctx[24];
2951
+ }
2952
+ set showsubgroups(e) {
2953
+ this.$$set({ showsubgroups: e }), E();
2954
+ }
2955
+ get clientstyling() {
2956
+ return this.$$.ctx[25];
2957
+ }
2958
+ set clientstyling(e) {
2959
+ this.$$set({ clientstyling: e }), E();
2960
+ }
2961
+ get clientstylingurl() {
2962
+ return this.$$.ctx[26];
2963
+ }
2964
+ set clientstylingurl(e) {
2965
+ this.$$set({ clientstylingurl: e }), E();
2966
+ }
2967
+ get currencyseparator() {
2968
+ return this.$$.ctx[27];
2969
+ }
2970
+ set currencyseparator(e) {
2971
+ this.$$set({ currencyseparator: e }), E();
2972
+ }
2973
+ get currencydecimal() {
2974
+ return this.$$.ctx[28];
2975
+ }
2976
+ set currencydecimal(e) {
2977
+ this.$$set({ currencydecimal: e }), E();
2978
+ }
2979
+ get currencyprecision() {
2980
+ return this.$$.ctx[29];
2981
+ }
2982
+ set currencyprecision(e) {
2983
+ this.$$set({ currencyprecision: e }), E();
2984
+ }
2985
+ }
2986
+ ol(Bl, { session: {}, userid: {}, endpoint: {}, cmsendpoint: {}, cmsenv: {}, lang: {}, languageslist: {}, activecategory: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, countryflagheader: {}, displaybalanceoption: {}, countryflaghamburger: {}, hasdefaultamount: {}, playercurrency: {}, shortcashierenabled: {}, producttype: {}, successurl: {}, failurl: {}, cancelurl: {}, sportsurl: {}, casinourl: {}, contacturl: {}, homeurl: {}, depositurl: {}, actionevent: {}, userroles: {}, showsubgroups: {}, clientstyling: {}, clientstylingurl: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
2987
+ export {
2988
+ Bl as default
2989
+ };