@everymatrix/casino-header-controller 1.44.0 → 1.45.0

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