@everymatrix/casino-header-controller 1.86.2 → 1.86.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenu-jm6p2zbt.js → CasinoHamburgerMenu-C3Q3P860.js} +855 -876
- package/components/CasinoHamburgerMenu-D50c8Isd.cjs +21 -0
- package/components/{CasinoHamburgerMenu-CFma234b.js → CasinoHamburgerMenu-DHSHA1Yh.js} +907 -928
- package/components/{CasinoHeaderController-D87b2QIU.js → CasinoHeaderController-BC4pg0wa.js} +72 -72
- package/components/{CasinoHeaderController-DTkNzQTU.cjs → CasinoHeaderController-XaQHNwIx.cjs} +1 -1
- package/components/{CasinoHeaderController-CnTiP2m7.js → CasinoHeaderController-npT36DZZ.js} +74 -74
- package/components/{CasinoSlider-D4oZEnaE.cjs → CasinoSlider-B6CpCCrr.cjs} +1 -1
- package/components/{CasinoSlider-BOtMd_ds.js → CasinoSlider-D20g_XEJ.js} +40 -40
- package/components/{CasinoSlider-Ds-P1ggH.js → CasinoSlider-DW_dAUzC.js} +41 -41
- package/components/PlayerAccountBalanceModal-BS5HmEVv.cjs +7 -0
- package/components/PlayerAccountBalanceModal-BuQWJhdA.js +1386 -0
- package/components/PlayerAccountBalanceModal-DYHzfxVS.js +1415 -0
- package/components/PlayerDeposit-BdRpo9MQ.cjs +1 -0
- package/components/{PlayerDeposit-BUzvurYm.js → PlayerDeposit-Cvz-_V5x.js} +73 -73
- package/components/{PlayerDeposit-Dv-1Bd7h.js → PlayerDeposit-DpsFs1pt.js} +73 -73
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-92e6c856-BwcHpwXk.js → gamification-dropdown-92e6c856-9FlDdaXZ.js} +1 -1
- package/stencil/{gamification-dropdown-92e6c856-CcR-AkP6.cjs → gamification-dropdown-92e6c856-B4d2MW-Q.cjs} +1 -1
- package/stencil/{gamification-dropdown-92e6c856-BmiILCYq.js → gamification-dropdown-92e6c856-tn-Yq7Bs.js} +1 -1
- package/stencil/{gamification-dropdown-BWUJm0Gz.js → gamification-dropdown-BSkZ_2yT.js} +1 -1
- package/stencil/{gamification-dropdown-DN35_AFp.js → gamification-dropdown-BxHnff9C.js} +1 -1
- package/stencil/{gamification-dropdown-SaxnCWwP.cjs → gamification-dropdown-U_EjgaPG.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-BZoM-TMQ.js → gamification-dropdown_4-Bg5WE-A_.js} +6 -6
- package/stencil/gamification-dropdown_4-CbIvYc1U.cjs +192 -0
- package/stencil/{gamification-dropdown_4-DAq1Ngf2.js → gamification-dropdown_4-V2UHFMt4.js} +6 -6
- package/stencil/index-1ef3a64c-Ci8o67pH.js +572 -0
- package/stencil/index-1ef3a64c-DO6t45b-.js +556 -0
- package/stencil/index-1ef3a64c-a0Pl-Mcu.cjs +1 -0
- package/stencil/{index-71b1bdfa-C3LPeshI.js → index-71b1bdfa-C-_4EE2K.js} +268 -264
- package/stencil/index-71b1bdfa-DYVZrUJ1.js +757 -0
- package/stencil/index-71b1bdfa-MN8Gitz4.cjs +1 -0
- package/stencil/{locale-TxlOHoKi.js → locale-CIZHVMDe.js} +28 -22
- package/stencil/{locale-B_6Rn5-v.cjs → locale-m6IHPAzW.cjs} +1 -1
- package/stencil/{player-elevate-card-CCx_1K_i.cjs → player-elevate-card-B7B_qdQq.cjs} +1 -1
- package/stencil/{player-elevate-card-CMErkb0_.js → player-elevate-card-CG1qDuSC.js} +3 -3
- package/stencil/{player-elevate-card-BrvL7Exg.js → player-elevate-card-IuaDUXn5.js} +3 -3
- package/stencil/{player-elevate-card-items-08c6fbd8-CG4FljvZ.js → player-elevate-card-items-b4571def-88tr4lyO.js} +238 -236
- package/stencil/player-elevate-card-items-b4571def-CEK5lBFb.cjs +102 -0
- package/stencil/{player-elevate-card-items-08c6fbd8-vLym6drf.js → player-elevate-card-items-b4571def-v_JqIkab.js} +238 -236
- package/stencil/{player-elevate-pointcard-DSlBgypN.cjs → player-elevate-pointcard-BwOGuBLd.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-hPNPduwJ.js → player-elevate-pointcard-DLe9wfqh.js} +3 -3
- package/stencil/{player-elevate-pointcard-VstFZu9B.js → player-elevate-pointcard-DqpHUWpL.js} +3 -3
- package/stencil/{player-rakeback-card-BK33WnFy.js → player-rakeback-card-BqOd_dVA.js} +2 -2
- package/stencil/{player-rakeback-card-UYiRqSHE.js → player-rakeback-card-D3lBTlIQ.js} +2 -2
- package/stencil/{player-rakeback-card-DHSkpu_S.cjs → player-rakeback-card-XgPp7n9o.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BMkFnv_T.js → user-deposit-withdrawal-BO7iiwsU.js} +147 -147
- package/stencil/{user-deposit-withdrawal-BWwJVuYm.cjs → user-deposit-withdrawal-C8FrBoKf.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DTYylnXa.js → user-deposit-withdrawal-DLaRrJTr.js} +135 -135
- package/components/CasinoHamburgerMenu-fvf5EluO.cjs +0 -21
- package/components/PlayerAccountBalanceModal-D7fiFhUw.js +0 -1415
- package/components/PlayerAccountBalanceModal-ieK7z017.cjs +0 -7
- package/components/PlayerAccountBalanceModal-qtxu403d.js +0 -1386
- package/components/PlayerDeposit-Cw5oQd7g.cjs +0 -1
- package/stencil/gamification-dropdown_4-Tgq-7xGt.cjs +0 -192
- package/stencil/index-1ef3a64c-Bry_KvsO.js +0 -572
- package/stencil/index-1ef3a64c-Bx1m17XN.js +0 -556
- package/stencil/index-1ef3a64c-C47cYPkT.cjs +0 -1
- package/stencil/index-71b1bdfa-BidbC5KM.cjs +0 -1
- package/stencil/index-71b1bdfa-BvAlSNDj.js +0 -753
- package/stencil/player-elevate-card-items-08c6fbd8-gIVq-Jqp.cjs +0 -102
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Q, a as Ge, b as xe, S as Ue, i as Ye,
|
|
1
|
+
import { $ as Q, a as Ge, b as xe, S as Ue, i as Ye, f as w, c as qe, s as Pe, d as Xe, g as M, e as O, y as g, j as D, z as y, A as H, M as Ke, n as ae, k as A, D as Ve, o as Je, u as Qe, v as G, F as Y, N as be, x as le, O as Ze, p as J, r as $e, t as et, P as ve, C as tt, w as Z, B as $ } from "./CasinoHamburgerMenu-DHSHA1Yh.js";
|
|
2
2
|
function rt({ withLocale: n, translations: e }) {
|
|
3
3
|
Q.subscribe((t) => {
|
|
4
4
|
t == null && (Ge.set(e), Q.set(n));
|
|
@@ -68,7 +68,7 @@ const ce = {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
function nt(n) {
|
|
71
|
-
|
|
71
|
+
Xe(n, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
|
72
72
|
}
|
|
73
73
|
function ue(n, e, t) {
|
|
74
74
|
const i = n.slice();
|
|
@@ -104,7 +104,7 @@ function ge(n) {
|
|
|
104
104
|
m(r, s) {
|
|
105
105
|
for (let d = 0; d < e.length; d += 1)
|
|
106
106
|
e[d] && e[d].m(r, s);
|
|
107
|
-
|
|
107
|
+
D(r, i, s);
|
|
108
108
|
},
|
|
109
109
|
p(r, s) {
|
|
110
110
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
|
@@ -114,7 +114,7 @@ function ge(n) {
|
|
|
114
114
|
), e = be(e, s, l, 1, r, a, t, i.parentNode, ve, ye, i, ue));
|
|
115
115
|
},
|
|
116
116
|
d(r) {
|
|
117
|
-
r &&
|
|
117
|
+
r && A(i);
|
|
118
118
|
for (let s = 0; s < e.length; s += 1)
|
|
119
119
|
e[s].d(r);
|
|
120
120
|
}
|
|
@@ -127,18 +127,18 @@ function it(n) {
|
|
|
127
127
|
), i;
|
|
128
128
|
return {
|
|
129
129
|
c() {
|
|
130
|
-
e = M("button"), i =
|
|
130
|
+
e = M("button"), i = Z(t), g(e, "class", "CategoryButton");
|
|
131
131
|
},
|
|
132
132
|
m(a, l) {
|
|
133
|
-
|
|
133
|
+
D(a, e, l), y(e, i);
|
|
134
134
|
},
|
|
135
135
|
p(a, l) {
|
|
136
136
|
l[0] & /*sliderdata*/
|
|
137
137
|
512 && t !== (t = /*category*/
|
|
138
|
-
a[57].name + "") &&
|
|
138
|
+
a[57].name + "") && $(i, t);
|
|
139
139
|
},
|
|
140
140
|
d(a) {
|
|
141
|
-
a &&
|
|
141
|
+
a && A(e);
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
}
|
|
@@ -149,21 +149,21 @@ function at(n) {
|
|
|
149
149
|
), i, a;
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
|
-
e = M("a"), i =
|
|
152
|
+
e = M("a"), i = Z(t), g(e, "href", a = /*category*/
|
|
153
153
|
n[57].path);
|
|
154
154
|
},
|
|
155
155
|
m(l, r) {
|
|
156
|
-
|
|
156
|
+
D(l, e, r), y(e, i);
|
|
157
157
|
},
|
|
158
158
|
p(l, r) {
|
|
159
159
|
r[0] & /*sliderdata*/
|
|
160
160
|
512 && t !== (t = /*category*/
|
|
161
|
-
l[57].label + "") &&
|
|
161
|
+
l[57].label + "") && $(i, t), r[0] & /*sliderdata*/
|
|
162
162
|
512 && a !== (a = /*category*/
|
|
163
163
|
l[57].path) && g(e, "href", a);
|
|
164
164
|
},
|
|
165
165
|
d(l) {
|
|
166
|
-
l &&
|
|
166
|
+
l && A(e);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
}
|
|
@@ -178,7 +178,7 @@ function me(n) {
|
|
|
178
178
|
t && t.c(), e = Y();
|
|
179
179
|
},
|
|
180
180
|
m(i, a) {
|
|
181
|
-
t && t.m(i, a),
|
|
181
|
+
t && t.m(i, a), D(i, e, a);
|
|
182
182
|
},
|
|
183
183
|
p(i, a) {
|
|
184
184
|
/*subGroupsData*/
|
|
@@ -186,7 +186,7 @@ function me(n) {
|
|
|
186
186
|
i[2] == "true" ? t ? t.p(i, a) : (t = he(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
187
187
|
},
|
|
188
188
|
d(i) {
|
|
189
|
-
i &&
|
|
189
|
+
i && A(e), t && t.d(i);
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
}
|
|
@@ -205,7 +205,7 @@ function he(n) {
|
|
|
205
205
|
g(e, "class", "DropDown");
|
|
206
206
|
},
|
|
207
207
|
m(a, l) {
|
|
208
|
-
|
|
208
|
+
D(a, e, l);
|
|
209
209
|
for (let r = 0; r < i.length; r += 1)
|
|
210
210
|
i[r] && i[r].m(e, null);
|
|
211
211
|
},
|
|
@@ -227,7 +227,7 @@ function he(n) {
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
d(a) {
|
|
230
|
-
a &&
|
|
230
|
+
a && A(e), tt(i, a);
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
}
|
|
@@ -255,7 +255,7 @@ function Ce(n) {
|
|
|
255
255
|
}
|
|
256
256
|
return {
|
|
257
257
|
c() {
|
|
258
|
-
e = M("li"), t = M("a"), a =
|
|
258
|
+
e = M("li"), t = M("a"), a = Z(i), r = O(), g(t, "class", l = "SubDropDown " + /*index*/
|
|
259
259
|
(n[59] == /*activeIndex*/
|
|
260
260
|
n[6] && /*activeSubIndex*/
|
|
261
261
|
(n[7] == /*subindex*/
|
|
@@ -264,13 +264,13 @@ function Ce(n) {
|
|
|
264
264
|
n[65]) ? "active" : ""));
|
|
265
265
|
},
|
|
266
266
|
m(h, v) {
|
|
267
|
-
|
|
267
|
+
D(h, e, v), y(e, t), y(t, a), y(e, r), s || (d = H(e, "click", I), s = !0);
|
|
268
268
|
},
|
|
269
269
|
p(h, v) {
|
|
270
270
|
var L;
|
|
271
271
|
n = h, v[0] & /*subGroupsData*/
|
|
272
272
|
1024 && i !== (i = /*subGroupItem*/
|
|
273
|
-
((L = n[63]) == null ? void 0 : L.name) + "") &&
|
|
273
|
+
((L = n[63]) == null ? void 0 : L.name) + "") && $(a, i), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
274
274
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
275
275
|
(n[59] == /*activeIndex*/
|
|
276
276
|
n[6] && /*activeSubIndex*/
|
|
@@ -280,7 +280,7 @@ function Ce(n) {
|
|
|
280
280
|
n[65]) ? "active" : "")) && g(t, "class", l);
|
|
281
281
|
},
|
|
282
282
|
d(h) {
|
|
283
|
-
h &&
|
|
283
|
+
h && A(e), s = !1, d();
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
@@ -297,7 +297,7 @@ function pe(n, e) {
|
|
|
297
297
|
t = Y(), a && a.c(), i = Y(), this.first = t;
|
|
298
298
|
},
|
|
299
299
|
m(l, r) {
|
|
300
|
-
|
|
300
|
+
D(l, t, r), a && a.m(l, r), D(l, i, r);
|
|
301
301
|
},
|
|
302
302
|
p(l, r) {
|
|
303
303
|
e = l, /*index*/
|
|
@@ -305,7 +305,7 @@ function pe(n, e) {
|
|
|
305
305
|
e[60].index ? a ? a.p(e, r) : (a = Ce(e), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
|
|
306
306
|
},
|
|
307
307
|
d(l) {
|
|
308
|
-
l && (
|
|
308
|
+
l && (A(t), A(i)), a && a.d(l);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
}
|
|
@@ -331,7 +331,7 @@ function we(n) {
|
|
|
331
331
|
m(r, s) {
|
|
332
332
|
for (let d = 0; d < e.length; d += 1)
|
|
333
333
|
e[d] && e[d].m(r, s);
|
|
334
|
-
|
|
334
|
+
D(r, i, s);
|
|
335
335
|
},
|
|
336
336
|
p(r, s) {
|
|
337
337
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
|
@@ -341,7 +341,7 @@ function we(n) {
|
|
|
341
341
|
), e = be(e, s, l, 1, r, a, t, i.parentNode, ve, pe, i, fe));
|
|
342
342
|
},
|
|
343
343
|
d(r) {
|
|
344
|
-
r &&
|
|
344
|
+
r && A(i);
|
|
345
345
|
for (let s = 0; s < e.length; s += 1)
|
|
346
346
|
e[s].d(r);
|
|
347
347
|
}
|
|
@@ -397,7 +397,7 @@ function ye(n, e) {
|
|
|
397
397
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
|
398
398
|
},
|
|
399
399
|
m(m, F) {
|
|
400
|
-
|
|
400
|
+
D(m, t, F), y(t, i), y(i, a), y(t, s), C.m(t, null), y(t, d), u && u.m(t, null), y(t, I), h || (v = H(t, "click", _), h = !0);
|
|
401
401
|
},
|
|
402
402
|
p(m, F) {
|
|
403
403
|
var W, R;
|
|
@@ -426,7 +426,7 @@ function ye(n, e) {
|
|
|
426
426
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", b);
|
|
427
427
|
},
|
|
428
428
|
d(m) {
|
|
429
|
-
m &&
|
|
429
|
+
m && A(t), C.d(), u && u.d(), h = !1, v();
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
}
|
|
@@ -443,7 +443,7 @@ function lt(n) {
|
|
|
443
443
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
|
444
444
|
},
|
|
445
445
|
m(_, m) {
|
|
446
|
-
|
|
446
|
+
D(_, e, m), y(e, t), y(t, i), y(t, a), y(t, l), y(l, r), y(r, s), y(r, d), u && u.m(r, null), n[40](r), n[41](l), y(t, I), y(t, b), n[43](e), S || (C = [
|
|
447
447
|
H(
|
|
448
448
|
i,
|
|
449
449
|
"click",
|
|
@@ -499,7 +499,7 @@ function lt(n) {
|
|
|
499
499
|
i: ae,
|
|
500
500
|
o: ae,
|
|
501
501
|
d(_) {
|
|
502
|
-
_ &&
|
|
502
|
+
_ && A(e), u && u.d(), n[40](null), n[41](null), n[43](null), S = !1, Ve(C);
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
}
|
|
@@ -532,7 +532,7 @@ function st(n, e, t) {
|
|
|
532
532
|
Object.keys(ce).forEach((o) => {
|
|
533
533
|
se(o, ce[o]);
|
|
534
534
|
});
|
|
535
|
-
let T, x, K, E, U = [], P = [], z = [], k,
|
|
535
|
+
let T, x, K, E, U = [], P = [], z = [], k, V = (o, c, p, B, N) => {
|
|
536
536
|
var j;
|
|
537
537
|
if (!(o.subGroups && B === null)) {
|
|
538
538
|
if (X(), t(6, T = c), t(6, T), N != "secondary") {
|
|
@@ -618,26 +618,26 @@ function st(n, e, t) {
|
|
|
618
618
|
window.removeEventListener("message", ne), f.removeEventListener("scroll", X);
|
|
619
619
|
}));
|
|
620
620
|
function Ee(o) {
|
|
621
|
-
|
|
621
|
+
Ze.call(this, n, o);
|
|
622
622
|
}
|
|
623
623
|
const He = () => re(), Ne = (o, c, p, B, N) => {
|
|
624
|
-
|
|
624
|
+
V(o, c, p, B, "secondary"), N.stopPropagation();
|
|
625
625
|
}, Re = (o, c, p) => {
|
|
626
|
-
|
|
626
|
+
V(o, c, null, null, "main"), p.preventDefault();
|
|
627
627
|
};
|
|
628
628
|
function Te(o) {
|
|
629
|
-
|
|
629
|
+
J[o ? "unshift" : "push"](() => {
|
|
630
630
|
f = o, t(5, f);
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
633
|
function Be(o) {
|
|
634
|
-
|
|
634
|
+
J[o ? "unshift" : "push"](() => {
|
|
635
635
|
k = o, t(12, k);
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
638
|
const je = () => oe();
|
|
639
639
|
function Oe(o) {
|
|
640
|
-
|
|
640
|
+
J[o ? "unshift" : "push"](() => {
|
|
641
641
|
E = o, t(4, E);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
@@ -647,10 +647,10 @@ function st(n, e, t) {
|
|
|
647
647
|
n.$$.dirty[0] & /*activeindex*/
|
|
648
648
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
649
649
|
536870912 && v && Ie(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
650
|
-
67108880 && I && E &&
|
|
651
|
-
134217744 && b && E &&
|
|
650
|
+
67108880 && I && E && $e(E, I), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
651
|
+
134217744 && b && E && et(E, b), n.$$.dirty[0] & /*customStylingContainer*/
|
|
652
652
|
16 | n.$$.dirty[1] & /*mbsource*/
|
|
653
|
-
16 && R && E &&
|
|
653
|
+
16 && R && E && Qe(E, `${R}.Style`), n.$$.dirty[1] & /*lang*/
|
|
654
654
|
2 && C && Le();
|
|
655
655
|
}, [
|
|
656
656
|
d,
|
|
@@ -670,7 +670,7 @@ function st(n, e, t) {
|
|
|
670
670
|
ke,
|
|
671
671
|
Fe,
|
|
672
672
|
Me,
|
|
673
|
-
|
|
673
|
+
V,
|
|
674
674
|
re,
|
|
675
675
|
oe,
|
|
676
676
|
Ae,
|
|
@@ -706,7 +706,7 @@ class ct extends Ue {
|
|
|
706
706
|
e,
|
|
707
707
|
st,
|
|
708
708
|
lt,
|
|
709
|
-
|
|
709
|
+
Pe,
|
|
710
710
|
{
|
|
711
711
|
endpoint: 21,
|
|
712
712
|
datasource: 22,
|
|
@@ -847,7 +847,7 @@ class ct extends Ue {
|
|
|
847
847
|
this.$$set({ mbsource: e }), w();
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
qe(ct, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
851
851
|
export {
|
|
852
852
|
ct as default
|
|
853
853
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";var et=Object.defineProperty,tt=Object.defineProperties;var nt=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var at=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable;var Oe=Math.pow,He=(d,n,a)=>n in d?et(d,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[n]=a,ze=(d,n)=>{for(var a in n||(n={}))at.call(n,a)&&He(d,a,n[a]);if(je)for(var a of je(n))ot.call(n,a)&&He(d,a,n[a]);return d},Ue=(d,n)=>tt(d,nt(n));var Pe=(d,n,a)=>new Promise((y,f)=>{var u=b=>{try{m(a.next(b))}catch(T){f(T)}},w=b=>{try{m(a.throw(b))}catch(T){f(T)}},m=b=>b.done?y(b.value):Promise.resolve(b.value).then(u,w);m((a=a.apply(d,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-D50c8Isd.cjs");function Ve(d,n){e.addMessages(d,n)}function rt(d){e.$locale.set(d)}const Ge={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Ne={exports:{}};/** @license
|
|
2
|
+
* eventsource.js
|
|
3
|
+
* Available under MIT License (MIT)
|
|
4
|
+
* https://github.com/Yaffle/EventSource/
|
|
5
|
+
*/(function(d,n){(function(a){var y=a.setTimeout,f=a.clearTimeout,u=a.XMLHttpRequest,w=a.XDomainRequest,m=a.ActiveXObject,b=a.EventSource,T=a.document,_=a.Promise,A=a.fetch,E=a.Response,R=a.TextDecoder,L=a.TextEncoder,Q=a.AbortController;if(typeof window!="undefined"&&typeof T!="undefined"&&!("readyState"in T)&&T.body==null&&(T.readyState="loading",window.addEventListener("load",function(o){T.readyState="complete"},!1)),u==null&&m!=null&&(u=function(){return new m("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(o){function c(){}return c.prototype=o,new c}),Date.now||(Date.now=function(){return new Date().getTime()}),Q==null){var $=A;A=function(o,c){var t=c.signal;return $(o,{headers:c.headers,credentials:c.credentials,cache:c.cache}).then(function(r){var i=r.body.getReader();return t._reader=i,t._aborted&&t._reader.cancel(),{status:r.status,statusText:r.statusText,headers:r.headers,body:{getReader:function(){return i}}}})},Q=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function ee(){this.bitsNeeded=0,this.codePoint=0}ee.prototype.decode=function(o){function c(B,S,g){if(g===1)return B>=128>>S&&B<<S<=2047;if(g===2)return B>=2048>>S&&B<<S<=55295||B>=57344>>S&&B<<S<=65535;if(g===3)return B>=65536>>S&&B<<S<=1114111;throw new Error}function t(B,S){if(B===6*1)return S>>6>15?3:S>31?2:1;if(B===6*2)return S>15?3:2;if(B===6*3)return 3;throw new Error}for(var r=65533,i="",s=this.bitsNeeded,p=this.codePoint,v=0;v<o.length;v+=1){var l=o[v];s!==0&&(l<128||l>191||!c(p<<6|l&63,s-6,t(s,p)))&&(s=0,p=r,i+=String.fromCharCode(p)),s===0?(l>=0&&l<=127?(s=0,p=l):l>=192&&l<=223?(s=6*1,p=l&31):l>=224&&l<=239?(s=6*2,p=l&15):l>=240&&l<=247?(s=6*3,p=l&7):(s=0,p=r),s!==0&&!c(p,s,t(s,p))&&(s=0,p=r)):(s-=6,p=p<<6|l&63),s===0&&(p<=65535?i+=String.fromCharCode(p):(i+=String.fromCharCode(55296+(p-65535-1>>10)),i+=String.fromCharCode(56320+(p-65535-1&1023))))}return this.bitsNeeded=s,this.codePoint=p,i};var P=function(){try{return new R().decode(new L().encode("test"),{stream:!0})==="test"}catch(o){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+o)}return!1};(R==null||L==null||!P())&&(R=ee);var C=function(){};function x(o){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=C,this.onload=C,this.onerror=C,this.onreadystatechange=C,this._contentType="",this._xhr=o,this._sendTimeout=0,this._abort=C}x.prototype.open=function(o,c){this._abort(!0);var t=this,r=this._xhr,i=1,s=0;this._abort=function(g){t._sendTimeout!==0&&(f(t._sendTimeout),t._sendTimeout=0),(i===1||i===2||i===3)&&(i=4,r.onload=C,r.onerror=C,r.onabort=C,r.onprogress=C,r.onreadystatechange=C,r.abort(),s!==0&&(f(s),s=0),g||(t.readyState=4,t.onabort(null),t.onreadystatechange())),i=0};var p=function(){if(i===1){var g=0,D="",j=void 0;if("contentType"in r)g=200,D="OK",j=r.contentType;else try{g=r.status,D=r.statusText,j=r.getResponseHeader("Content-Type")}catch(Be){g=0,D="",j=void 0}g!==0&&(i=2,t.readyState=2,t.status=g,t.statusText=D,t._contentType=j,t.onreadystatechange())}},v=function(){if(p(),i===2||i===3){i=3;var g="";try{g=r.responseText}catch(D){}t.readyState=3,t.responseText=g,t.onprogress()}},l=function(g,D){if((D==null||D.preventDefault==null)&&(D={preventDefault:C}),v(),i===1||i===2||i===3){if(i=4,s!==0&&(f(s),s=0),t.readyState=4,g==="load")t.onload(D);else if(g==="error")t.onerror(D);else if(g==="abort")t.onabort(D);else throw new TypeError;t.onreadystatechange()}},B=function(g){r!=null&&(r.readyState===4?(!("onload"in r)||!("onerror"in r)||!("onabort"in r))&&l(r.responseText===""?"error":"load",g):r.readyState===3?"onprogress"in r||v():r.readyState===2&&p())},S=function(){s=y(function(){S()},500),r.readyState===3&&v()};"onload"in r&&(r.onload=function(g){l("load",g)}),"onerror"in r&&(r.onerror=function(g){l("error",g)}),"onabort"in r&&(r.onabort=function(g){l("abort",g)}),"onprogress"in r&&(r.onprogress=v),"onreadystatechange"in r&&(r.onreadystatechange=function(g){B(g)}),("contentType"in r||!("ontimeout"in u.prototype))&&(c+=(c.indexOf("?")===-1?"?":"&")+"padding=true"),r.open(o,c,!0),"readyState"in r&&(s=y(function(){S()},0))},x.prototype.abort=function(){this._abort(!1)},x.prototype.getResponseHeader=function(o){return this._contentType},x.prototype.setRequestHeader=function(o,c){var t=this._xhr;"setRequestHeader"in t&&t.setRequestHeader(o,c)},x.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},x.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&T!=null&&T.readyState!=null&&T.readyState!=="complete"){var o=this;o._sendTimeout=y(function(){o._sendTimeout=0,o.send()},4);return}var c=this._xhr;"withCredentials"in c&&(c.withCredentials=this.withCredentials);try{c.send(void 0)}catch(t){throw t}};function F(o){return o.replace(/[A-Z]/g,function(c){return String.fromCharCode(c.charCodeAt(0)+32)})}function M(o){for(var c=Object.create(null),t=o.split(`\r
|
|
6
|
+
`),r=0;r<t.length;r+=1){var i=t[r],s=i.split(": "),p=s.shift(),v=s.join(": ");c[F(p)]=v}this._map=c}M.prototype.get=function(o){return this._map[F(o)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function V(){}V.prototype.open=function(o,c,t,r,i,s,p){o.open("GET",i);var v=0;o.onprogress=function(){var B=o.responseText,S=B.slice(v);v+=S.length,t(S)},o.onerror=function(B){B.preventDefault(),r(new Error("NetworkError"))},o.onload=function(){r(null)},o.onabort=function(){r(null)},o.onreadystatechange=function(){if(o.readyState===u.HEADERS_RECEIVED){var B=o.status,S=o.statusText,g=o.getResponseHeader("Content-Type"),D=o.getAllResponseHeaders();c(B,S,g,new M(D))}},o.withCredentials=s;for(var l in p)Object.prototype.hasOwnProperty.call(p,l)&&o.setRequestHeader(l,p[l]);return o.send(),o};function re(o){this._headers=o}re.prototype.get=function(o){return this._headers.get(o)};function ie(){}ie.prototype.open=function(o,c,t,r,i,s,p){var v=null,l=new Q,B=l.signal,S=new R;return A(i,{headers:p,credentials:s?"include":"same-origin",signal:B,cache:"no-store"}).then(function(g){return v=g.body.getReader(),c(g.status,g.statusText,g.headers.get("Content-Type"),new re(g.headers)),new _(function(D,j){var Be=function(){v.read().then(function(X){if(X.done)D(void 0);else{var H=S.decode(X.value,{stream:!0});t(H),Be()}}).catch(function(X){j(X)})};Be()})}).catch(function(g){if(g.name!=="AbortError")return g}).then(function(g){r(g)}),{abort:function(){v!=null&&v.cancel(),l.abort()}}};function W(){this._listeners=Object.create(null)}function te(o){y(function(){throw o},0)}W.prototype.dispatchEvent=function(o){o.target=this;var c=this._listeners[o.type];if(c!=null)for(var t=c.length,r=0;r<t;r+=1){var i=c[r];try{typeof i.handleEvent=="function"?i.handleEvent(o):i.call(this,o)}catch(s){te(s)}}},W.prototype.addEventListener=function(o,c){o=String(o);var t=this._listeners,r=t[o];r==null&&(r=[],t[o]=r);for(var i=!1,s=0;s<r.length;s+=1)r[s]===c&&(i=!0);i||r.push(c)},W.prototype.removeEventListener=function(o,c){o=String(o);var t=this._listeners,r=t[o];if(r!=null){for(var i=[],s=0;s<r.length;s+=1)r[s]!==c&&i.push(r[s]);i.length===0?delete t[o]:t[o]=i}};function I(o){this.type=o,this.target=void 0}function se(o,c){I.call(this,o),this.data=c.data,this.lastEventId=c.lastEventId}se.prototype=Object.create(I.prototype);function h(o,c){I.call(this,o),this.status=c.status,this.statusText=c.statusText,this.headers=c.headers}h.prototype=Object.create(I.prototype);function le(o,c){I.call(this,o),this.error=c.error}le.prototype=Object.create(I.prototype);var ye=-1,J=0,ce=1,ue=2,ge=-1,Y=0,pe=1,Se=2,ve=3,Ce=/^text\/event\-stream(;.*)?$/i,De=1e3,_e=18e6,we=function(o,c){var t=o==null?c:parseInt(o,10);return t!==t&&(t=c),be(t)},be=function(o){return Math.min(Math.max(o,De),_e)},de=function(o,c,t){try{typeof c=="function"&&c.call(o,t)}catch(r){te(r)}};function G(o,c){W.call(this),c=c||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Me(this,o,c)}function Ae(){return u!=null&&"withCredentials"in u.prototype||w==null?new u:new w}var Le=A!=null&&E!=null&&"body"in E.prototype;function Me(o,c,t){c=String(c);var r=!!t.withCredentials,i=t.lastEventIdQueryParameterName||"lastEventId",s=be(1e3),p=we(t.heartbeatTimeout,45e3),v="",l=s,B=!1,S=0,g=t.headers||{},D=t.Transport,j=Le&&D==null?void 0:new x(D!=null?new D:Ae()),Be=D!=null&&typeof D!="string"?new D:j==null?new ie:new V,X=void 0,H=0,Z=ye,he="",Re="",ne="",Ee="",z=Y,Fe=0,fe=0,Je=function(O,k,q,K){if(Z===J)if(O===200&&q!=null&&Ce.test(q)){Z=ce,B=Date.now(),l=s,o.readyState=ce;var U=new h("open",{status:O,statusText:k,headers:K});o.dispatchEvent(U),de(o,o.onopen,U)}else{var N="";O!==200?(k&&(k=k.replace(/\s+/g," ")),N="EventSource's response has a status "+O+" "+k+" that is not 200. Aborting the connection."):N="EventSource's response has a Content-Type specifying an unsupported type: "+(q==null?"-":q.replace(/\s+/g," "))+". Aborting the connection.",ke();var U=new h("error",{status:O,statusText:k,headers:K});o.dispatchEvent(U),de(o,o.onerror,U),console.error(N)}},$e=function(O){if(Z===ce){for(var k=-1,q=0;q<O.length;q+=1){var K=O.charCodeAt(q);(K===10||K===13)&&(k=q)}var U=(k!==-1?Ee:"")+O.slice(0,k+1);Ee=(k===-1?Ee:"")+O.slice(k+1),O!==""&&(B=Date.now(),S+=O.length);for(var N=0;N<U.length;N+=1){var K=U.charCodeAt(N);if(z===ge&&K===10)z=Y;else if(z===ge&&(z=Y),K===13||K===10){if(z!==Y){z===pe&&(fe=N+1);var ae=U.slice(Fe,fe-1),oe=U.slice(fe+(fe<N&&U.charCodeAt(fe)===32?1:0),N);ae==="data"?(he+=`
|
|
7
|
+
`,he+=oe):ae==="id"?Re=oe:ae==="event"?ne=oe:ae==="retry"?(s=we(oe,s),l=s):ae==="heartbeatTimeout"&&(p=we(oe,p),H!==0&&(f(H),H=y(function(){Te()},p)))}if(z===Y){if(he!==""){v=Re,ne===""&&(ne="message");var me=new se(ne,{data:he.slice(1),lastEventId:Re});if(o.dispatchEvent(me),ne==="open"?de(o,o.onopen,me):ne==="message"?de(o,o.onmessage,me):ne==="error"&&de(o,o.onerror,me),Z===ue)return}he="",ne=""}z=K===13?ge:Y}else z===Y&&(Fe=N,z=pe),z===pe?K===58&&(fe=N+1,z=Se):z===Se&&(z=ve)}}},Ie=function(O){if(Z===ce||Z===J){Z=ye,H!==0&&(f(H),H=0),H=y(function(){Te()},l),l=be(Math.min(s*16,l*2)),o.readyState=J;var k=new le("error",{error:O});o.dispatchEvent(k),de(o,o.onerror,k),O!=null&&console.error(O)}},ke=function(){Z=ue,X!=null&&(X.abort(),X=void 0),H!==0&&(f(H),H=0),o.readyState=ue},Te=function(){if(H=0,Z!==ye){if(!B&&X!=null)Ie(new Error("No activity within "+p+" milliseconds. "+(Z===J?"No response received.":S+" chars received.")+" Reconnecting.")),X!=null&&(X.abort(),X=void 0);else{var O=Math.max((B||Date.now())+p-Date.now(),1);B=!1,H=y(function(){Te()},O)}return}B=!1,S=0,H=y(function(){Te()},p),Z=J,he="",ne="",Re=v,Ee="",Fe=0,fe=0,z=Y;var k=c;if(c.slice(0,5)!=="data:"&&c.slice(0,5)!=="blob:"&&v!==""){var q=c.indexOf("?");k=q===-1?c:c.slice(0,q+1)+c.slice(q+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(oe,me){return me===i?"":oe}),k+=(c.indexOf("?")===-1?"?":"&")+i+"="+encodeURIComponent(v)}var K=o.withCredentials,U={};U.Accept="text/event-stream";var N=o.headers;if(N!=null)for(var ae in N)Object.prototype.hasOwnProperty.call(N,ae)&&(U[ae]=N[ae]);try{X=Be.open(j,Je,$e,Ie,k,K,U)}catch(oe){throw ke(),oe}};o.url=c,o.readyState=J,o.withCredentials=r,o.headers=g,o._close=ke,Te()}G.prototype=Object.create(W.prototype),G.prototype.CONNECTING=J,G.prototype.OPEN=ce,G.prototype.CLOSED=ue,G.prototype.close=function(){this._close()},G.CONNECTING=J,G.OPEN=ce,G.CLOSED=ue,G.prototype.withCredentials=void 0;var xe=b;u!=null&&(b==null||!("withCredentials"in b.prototype))&&(xe=G),function(o){{var c=o(n);c!==void 0&&(d.exports=c)}}(function(o){o.EventSourcePolyfill=G,o.NativeEventSource=b,o.EventSource=xe})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:e.commonjsGlobal:globalThis)})(Ne,Ne.exports);var it=Ne.exports;function st(d){e.append_styles(d,"svelte-gv6dm2",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}')}function Xe(d,n,a){const y=d.slice();return y[51]=n[a],y}function qe(d,n,a){const y=d.slice();return y[54]=n[a],y}function lt(d){let n,a=(d[3].Total?d[5](d[3].Total[0].amount):"0")+"",y,f,u,w,m,b,T,_=d[2]&&Ke(d);return{c(){n=e.element("button"),y=e.text(a),f=e.space(),u=e.element("span"),u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',w=e.space(),_&&_.c(),m=e.empty(),e.attr(n,"class","BalanceValue")},m(A,E){e.insert(A,n,E),e.append(n,y),e.append(n,f),e.append(n,u),e.insert(A,w,E),_&&_.m(A,E),e.insert(A,m,E),b||(T=e.listen(n,"click",d[25]),b=!0)},p(A,E){E[0]&8&&a!==(a=(A[3].Total?A[5](A[3].Total[0].amount):"0")+"")&&e.set_data(y,a),A[2]?_?_.p(A,E):(_=Ke(A),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null)},d(A){A&&(e.detach(n),e.detach(w),e.detach(m)),_&&_.d(A),b=!1,T()}}}function ct(d){let n,a=d[4]("Loading")+"",y;return{c(){n=e.element("p"),y=e.text(a)},m(f,u){e.insert(f,n,u),e.append(n,y)},p(f,u){u[0]&16&&a!==(a=f[4]("Loading")+"")&&e.set_data(y,a)},d(f){f&&e.detach(n)}}}function Ke(d){let n,a,y,f,u,w,m=d[4]("Title")+"",b,T,_,A,E,R,L=d[4]("DepositButton")+"",Q,$,ee,P=e.ensure_array_like(Object.keys(d[3])),C=[];for(let x=0;x<P.length;x+=1)C[x]=Ye(Xe(d,P,x));return{c(){n=e.element("div"),a=e.element("button"),y=e.space(),f=e.element("div"),u=e.element("div"),w=e.element("p"),b=e.text(m),T=e.space(),_=e.element("div");for(let x=0;x<C.length;x+=1)C[x].c();A=e.space(),E=e.element("div"),R=e.element("button"),Q=e.text(L),e.attr(a,"class","BalanceModalClose"),e.attr(w,"class","BalanceModalTitle"),e.attr(u,"class","BalanceModalHeader"),e.attr(_,"class","BalanceModalBody"),e.attr(R,"class","BalanceModalAction"),e.attr(E,"class","BalanceModalFooter"),e.attr(f,"class","BalanceModal"),e.attr(n,"class","BalanceModalWrapper")},m(x,F){e.insert(x,n,F),e.append(n,a),e.append(n,y),e.append(n,f),e.append(f,u),e.append(u,w),e.append(w,b),e.append(f,T),e.append(f,_);for(let M=0;M<C.length;M+=1)C[M]&&C[M].m(_,null);e.append(f,A),e.append(f,E),e.append(E,R),e.append(R,Q),$||(ee=[e.listen(a,"click",d[26]),e.listen(R,"click",d[27])],$=!0)},p(x,F){if(F[0]&16&&m!==(m=x[4]("Title")+"")&&e.set_data(b,m),F[0]&184){P=e.ensure_array_like(Object.keys(x[3]));let M;for(M=0;M<P.length;M+=1){const V=Xe(x,P,M);C[M]?C[M].p(V,F):(C[M]=Ye(V),C[M].c(),C[M].m(_,null))}for(;M<C.length;M+=1)C[M].d(1);C.length=P.length}F[0]&16&&L!==(L=x[4]("DepositButton")+"")&&e.set_data(Q,L)},d(x){x&&e.detach(n),e.destroy_each(C,x),$=!1,e.run_all(ee)}}}function We(d){let n,a,y=d[4](d[51])+"",f,u,w=d[7](d[54])+"",m,b,T,_,A=d[5](d[54].amount)+"",E;return{c(){n=e.element("div"),a=e.element("p"),f=e.text(y),u=e.space(),m=e.text(w),b=e.space(),T=e.element("p"),_=e.element("span"),E=e.text(A),e.attr(a,"class","BalanceModalText"),e.attr(_,"class","BalanceModalAmount"),e.attr(T,"class","BalanceModalValue"),e.attr(n,"class","BalanceModalRowLine")},m(R,L){e.insert(R,n,L),e.append(n,a),e.append(a,f),e.append(a,u),e.append(a,m),e.append(n,b),e.append(n,T),e.append(T,_),e.append(_,E)},p(R,L){L[0]&24&&y!==(y=R[4](R[51])+"")&&e.set_data(f,y),L[0]&8&&w!==(w=R[7](R[54])+"")&&e.set_data(m,w),L[0]&8&&A!==(A=R[5](R[54].amount)+"")&&e.set_data(E,A)},d(R){R&&e.detach(n)}}}function Ye(d){let n,a,y=e.ensure_array_like(d[3][d[51]]),f=[];for(let u=0;u<y.length;u+=1)f[u]=We(qe(d,y,u));return{c(){n=e.element("div");for(let u=0;u<f.length;u+=1)f[u].c();a=e.space(),e.attr(n,"class","BalanceModalRowBoth")},m(u,w){e.insert(u,n,w);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(n,null);e.append(n,a)},p(u,w){if(w[0]&184){y=e.ensure_array_like(u[3][u[51]]);let m;for(m=0;m<y.length;m+=1){const b=qe(u,y,m);f[m]?f[m].p(b,w):(f[m]=We(b),f[m].c(),f[m].m(n,a))}for(;m<f.length;m+=1)f[m].d(1);f.length=y.length}},d(u){u&&e.detach(n),e.destroy_each(f,u)}}}function Qe(d){let n,a,y;return{c(){n=e.element("button"),e.attr(n,"class","ShowBalanceModalOverlay")},m(f,u){e.insert(f,n,u),a||(y=e.listen(n,"click",d[28]),a=!0)},p:e.noop,d(f){f&&e.detach(n),a=!1,y()}}}function dt(d){let n,a,y;function f(b,T){return b[1]?ct:lt}let u=f(d),w=u(d),m=d[2]&&Qe(d);return{c(){n=e.element("div"),a=e.element("div"),w.c(),y=e.space(),m&&m.c(),e.attr(a,"class","ShowBalance")},m(b,T){e.insert(b,n,T),e.append(n,a),w.m(a,null),e.append(n,y),m&&m.m(n,null),d[29](n)},p(b,T){u===(u=f(b))&&w?w.p(b,T):(w.d(1),w=u(b),w&&(w.c(),w.m(a,null))),b[2]?m?m.p(b,T):(m=Qe(b),m.c(),m.m(n,null)):m&&(m.d(1),m=null)},i:e.noop,o:e.noop,d(b){b&&e.detach(n),w.d(),m&&m.d(),d[29](null)}}}function ut(d,n,a){let y;e.component_subscribe(d,e.$format,t=>a(4,y=t));let{userid:f=""}=n,{session:u=""}=n,{endpoint:w=""}=n,{lang:m="en"}=n,{mbsource:b=""}=n,{clientstyling:T=""}=n,{clientstylingurl:_=""}=n,{translationurl:A=""}=n,{gmversion:E="gm16"}=n,{displaybalanceoption:R="All"}=n,{totalcalculationmode:L="totalCashAmount"}=n,{hideproducttype:Q=""}=n,{currencylocale:$="en"}=n,{currencydisplay:ee="symbol"}=n,{maximumfractiondigits:P="2"}=n,{minimumfractiondigits:C="0"}=n,{customdisplayformat:x=""}=n,F,M,V=!0,re=!1,ie=!1,W,te="",I=[],se;const h={},le=["totalCashAmount","totalRealAmount"],ye=()=>{fetch(A).then(t=>t.json()).then(t=>Object.keys(t).forEach(r=>Ve(r,t[r]))).catch(t=>console.log(t))};Object.keys(Ge).forEach(t=>Ve(t,Ge[t]));const J=t=>{if(x)return ce(t);const r=$||m,i={style:"currency",currency:te,useGrouping:!0,currencyDisplay:ee||"code",maximumFractionDigits:P===""||isNaN(Number(P))?2:Number(P),minimumFractionDigits:C===""||isNaN(Number(C))?0:Number(C)};return new Intl.NumberFormat(r,i).format(t)},ce=t=>{const r=[];let i="";for(const s of x)switch(s){default:i+=s;break;case"{":i&&r.push(i),i="";break;case"}":const[p,v]=i.split("|");if(i="",p.toLowerCase()==="currency")i=te;else if(p.toLowerCase()==="amount"){let l=",",B=".",S=2;v&&(v[0]!==" "&&(l=v[0]),v[1]!==" "&&(B=v[1]),v[2]!==" "&&!isNaN(Number(v[2]))&&(S=Number(v[2])));let[g,D]=String(Math.floor(t*Oe(10,S))/Oe(10,S)).split(".");i+=g[0];for(let j=1;j<g.length;++j)(g.length-j)%3===0?i+=l+g[j]:i+=g[j];D&&(i+=B+D)}i&&r.push(i),i="";break}return r.push(i),r.join("")},ue=()=>Pe(this,null,function*(){var r,i,s;a(1,V=!0);const t=new URL(`${w}/v1/player/${f}/account`);try{const p=yield fetch(t,{method:"GET",headers:{"X-SessionID":u}}),v=yield p.json();if(p.ok)I=v.items,te=(r=I.find(l=>l.displayName==="Casino"))==null?void 0:r.currency,a(3,h.Total=[{amount:v.totalAmount[te]}],h),a(3,h.Real=[{amount:(i=I.find(l=>l.displayName==="Casino"))==null?void 0:i.balanceAmount}],h),a(3,h.Bonus=[{amount:(s=I.find(l=>l.displayName==="UBS"))==null?void 0:s.balanceAmount}],h);else throw new Error("Failed to fetch balance data !")}catch(p){console.log("Balance error: ",p)}finally{a(1,V=!1)}}),ge=()=>{a(1,V=!0);const t=new URL(`${w}/v2/player/${f}/balance`),r=new Headers;r.append("X-SessionID",u),fetch(t,{method:"GET",headers:r}).then(s=>s.json()).then(s=>{s[L]||a(8,L=le[0]);const p=s.items.find(l=>l.type==="Real"&&l.walletAccountType==="Ordinary");if(te=p.currency,ie=!!p.productType,a(3,h.Total=[{amount:0}],h),a(3,h.Real=[],h),a(3,h.Bonus=[],h),a(3,h.Credit=[],h),!ie){se={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},a(3,h.Total[0].amount=s[L][te],h);for(const l of s.items)switch(l.type){case"Bonus":h.Bonus.length===0?h.Bonus.push({amount:l.amount}):a(3,h.Bonus[0].amount+=l.amount,h);break;case"Real":if(l.creditLine&&h.Credit.length===0&&h.Credit.push({amount:l.creditLine}),L==="totalRealAmount")continue;h.Real.length===0?h.Real.push({amount:l.amount}):a(3,h.Real[0].amount+=l.amount,h);break}for(const[l,B]of Object.entries(h))B.length<1&&delete h[l];a(1,V=!1);return}se={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let v=s.items;R&&R!=="All"&&(v=s.items.filter(l=>l.productType===R));for(const l of v){let B;switch(l.type){case"Bonus":B=h.Bonus.findIndex(S=>S.productType===l.productType),B>0?a(3,h.Bonus[B].amount+=l.amount,h):h.Bonus.push({amount:l.amount,productType:l.productType});break;case"Real":l.creditLine&&h.Credit.push({amount:l.creditLine,productType:l.productType}),B=h.Real.findIndex(S=>S.productType===l.productType),B>0?a(3,h.Real[B].amount+=l.amount,h):h.Real.push({amount:l.amount,productType:l.productType});break}}Ce();for(const[l,B]of Object.entries(h))B.length<1&&delete h[l];window.postMessage({type:"playerBalanceInfo",balance:s},window.location.href),a(1,V=!1)}).catch(()=>{throw a(1,V=!1),new Error("Failed to fetch balance data !")})},Y=()=>{if(W&&W.close(),u.length<1)return;let t,r;switch(E){case"gm16":t=new URL(`${w}/v2/player/${f}/information/updates`),r=p=>De(p);break;case"gmcore":t=new URL(`${w}/v1/player/${f}/balance/updates`),r=p=>Se(p);break}const i={accept:"text/event-stream","X-SessionId":u},s=new it.EventSourcePolyfill(t,{headers:i});W=s,s.addEventListener("message",r)},pe=t=>{let r;try{r=JSON.parse(t)}catch(i){console.log("Balance stream failed: ",i);return}return r},Se=t=>{var p,v;const r=pe(t.data);if(!r){Y();return}let i="0";const s=r.balanceChange;I=I.map(l=>(s&&s[l.id]&&(l=Ue(ze({},l),{balanceAmount:s[l.id].afterAmount})),i=(parseFloat(l==null?void 0:l.balanceAmount)+parseFloat(i)).toString(),l)),a(3,h.Real=[{amount:(p=I[0])==null?void 0:p.balanceAmount}],h),a(3,h.Bonus=[{amount:(v=I[1])==null?void 0:v.balanceAmount}],h),a(3,h.Total=[{amount:Number(i)}],h)},ve=(t,r,i)=>{let s=null;switch(i.walletAccountType){case"Ordinary":(i.afterAmount!==i.affectedAmount||r.lastOrdinaryAfterAmount===0)&&(r.lastOrdinaryAfterAmount=i.afterAmount,r.showCreditLineAfterAmount||(s=i.afterAmount));break;case"CreditLine":i.afterAmount!==0?(s=i.afterAmount,r.showCreditLineAfterAmount=!0):(s=r.lastOrdinaryAfterAmount,r.showCreditLineAfterAmount=!1);break;default:s=i.afterAmount}return s===null?t:s},Ce=()=>{switch(L){case"totalCashAmount":let t=0;for(const i of["Real","Bonus"])for(const s of h[i])t+=Math.max(s.amount,0);a(3,h.Total[0].amount=t,h);break;case"totalRealAmount":if(!ie)return;let r=0;for(const i of h.Real)r+=i.amount;a(3,h.Total[0].amount=r,h)}},De=t=>{const r=pe(t.data);if(!r){Y();return}if(we(r==null?void 0:r.type)||r.type!=="BALANCE_UPDATE_V2")return;const i=r.body.balanceChange;for(const[s,p]of Object.entries(i))if(L==="totalRealAmount"&&s==="Real"&&!ie&&a(3,h.Total[0].amount=ve(h.Total[0].amount,se,p),h),!!h[s])for(const v of h[s]){if(!ie){v.amount=s==="Real"?ve(v.amount,se,p):p.afterAmount;continue}p.productType===v.productType&&(v.amount=s==="Real"?ve(v.amount,se[v.productType],p):p.afterAmount)}Ce()},_e=()=>{a(2,re=!1),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},we=t=>t==="SESSION_EXPIRATION"?(window.postMessage({type:"SessionExpiration"},window.location.href),!0):!1,be=()=>{le.includes(L)||(console.error(`Unsupported value ('${L}') for totalcalculationmode parameter. Only the following values are supported ${le}. Using default value ('${le[0]}').`),a(8,L=le[0]))},de=t=>{const r=Q.split(",").map(i=>i.trim());return!t.productType||r.includes(t.productType)?"":y(t.productType)},G=()=>{switch(rt(m),be(),E){case"gmcore":ue();break;case"gm16":ge();break;default:throw Error(`Invalid apiversion attribute: ${E}`)}},Ae=t=>t.data&&t.data.type==="LogoutSuccessfull"&&W.close();e.onMount(()=>(window.addEventListener("message",Ae,!1),()=>{window.emMessageBus&&M&&M.unsubscribe(),window.removeEventListener("message",Ae),W&&W.close()}));const Le=()=>a(2,re=!0),Me=()=>a(2,re=!1),xe=()=>_e(),o=()=>a(2,re=!1);function c(t){e.binding_callbacks[t?"unshift":"push"](()=>{F=t,a(0,F)})}return d.$$set=t=>{"userid"in t&&a(9,f=t.userid),"session"in t&&a(10,u=t.session),"endpoint"in t&&a(11,w=t.endpoint),"lang"in t&&a(12,m=t.lang),"mbsource"in t&&a(13,b=t.mbsource),"clientstyling"in t&&a(14,T=t.clientstyling),"clientstylingurl"in t&&a(15,_=t.clientstylingurl),"translationurl"in t&&a(16,A=t.translationurl),"gmversion"in t&&a(17,E=t.gmversion),"displaybalanceoption"in t&&a(18,R=t.displaybalanceoption),"totalcalculationmode"in t&&a(8,L=t.totalcalculationmode),"hideproducttype"in t&&a(19,Q=t.hideproducttype),"currencylocale"in t&&a(20,$=t.currencylocale),"currencydisplay"in t&&a(21,ee=t.currencydisplay),"maximumfractiondigits"in t&&a(22,P=t.maximumfractiondigits),"minimumfractiondigits"in t&&a(23,C=t.minimumfractiondigits),"customdisplayformat"in t&&a(24,x=t.customdisplayformat)},d.$$.update=()=>{d.$$.dirty[0]&400896&&w&&f&&u&&m&&E&&R&&G(),d.$$.dirty[0]&134656&&w&&f&&u&&E&&Y(),d.$$.dirty[0]&16385&&T&&F&&e.setClientStyling(F,T),d.$$.dirty[0]&32769&&_&&F&&e.setClientStylingURL(F,_),d.$$.dirty[0]&8193&&F&&e.setStreamStyling(F,`${b}.Style`),d.$$.dirty[0]&65536&&A&&ye()},[F,V,re,h,y,J,_e,de,L,f,u,w,m,b,T,_,A,E,R,Q,$,ee,P,C,x,Le,Me,xe,o,c]}class Ze extends e.SvelteComponent{constructor(n){super(),e.init(this,n,ut,dt,e.safe_not_equal,{userid:9,session:10,endpoint:11,lang:12,mbsource:13,clientstyling:14,clientstylingurl:15,translationurl:16,gmversion:17,displaybalanceoption:18,totalcalculationmode:8,hideproducttype:19,currencylocale:20,currencydisplay:21,maximumfractiondigits:22,minimumfractiondigits:23,customdisplayformat:24},st,[-1,-1])}get userid(){return this.$$.ctx[9]}set userid(n){this.$$set({userid:n}),e.flush()}get session(){return this.$$.ctx[10]}set session(n){this.$$set({session:n}),e.flush()}get endpoint(){return this.$$.ctx[11]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(n){this.$$set({lang:n}),e.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get gmversion(){return this.$$.ctx[17]}set gmversion(n){this.$$set({gmversion:n}),e.flush()}get displaybalanceoption(){return this.$$.ctx[18]}set displaybalanceoption(n){this.$$set({displaybalanceoption:n}),e.flush()}get totalcalculationmode(){return this.$$.ctx[8]}set totalcalculationmode(n){this.$$set({totalcalculationmode:n}),e.flush()}get hideproducttype(){return this.$$.ctx[19]}set hideproducttype(n){this.$$set({hideproducttype:n}),e.flush()}get currencylocale(){return this.$$.ctx[20]}set currencylocale(n){this.$$set({currencylocale:n}),e.flush()}get currencydisplay(){return this.$$.ctx[21]}set currencydisplay(n){this.$$set({currencydisplay:n}),e.flush()}get maximumfractiondigits(){return this.$$.ctx[22]}set maximumfractiondigits(n){this.$$set({maximumfractiondigits:n}),e.flush()}get minimumfractiondigits(){return this.$$.ctx[23]}set minimumfractiondigits(n){this.$$set({minimumfractiondigits:n}),e.flush()}get customdisplayformat(){return this.$$.ctx[24]}set customdisplayformat(n){this.$$set({customdisplayformat:n}),e.flush()}}e.create_custom_element(Ze,{userid:{},session:{},endpoint:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},hideproducttype:{},currencylocale:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{}},[],[],!0);exports.default=Ze;
|