@everymatrix/casino-header-controller 1.47.0 → 1.47.2
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHeaderController-DxmP4ePL.cjs → CasinoHeaderController-UV0Ettr0.cjs} +4 -4
- package/components/{CasinoHeaderController-DAO7jv0Y.js → CasinoHeaderController-VXjDEFYv.js} +94 -89
- package/components/{CasinoSlider-CFjBjxHs.cjs → CasinoSlider-BT_C4Lob.cjs} +1 -1
- package/components/{CasinoSlider-DcdD-Py4.js → CasinoSlider-HSDwBK2q.js} +94 -96
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +3 -2
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-04d3e726-Bk7opmvq.cjs +1 -0
- package/stencil/index-04d3e726-Dp8kKTwx.js +580 -0
- package/stencil/user-deposit-withdrawal-BiyOoXm8.js +242 -0
- package/stencil/user-deposit-withdrawal-CsuWz3w0.cjs +59 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
import { $ as Q, a as
|
2
|
-
function
|
1
|
+
import { $ as Q, a as Re, b as Te, S as je, i as ze, f as y, c as We, s as Be, d as Oe, g as k, e as R, u as f, j as D, v as p, w as P, n as oe, k as S, z as Ge, o as xe, r as z, B as G, J as pe, F as ne, p as X, K as we, y as Ue, t as V, x as Z } from "./CasinoHamburgerMenu-CmCkLB4F.js";
|
2
|
+
function Ye({ withLocale: a, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
|
-
t == null && (
|
4
|
+
t == null && (Re.set(e), Q.set(a));
|
5
5
|
});
|
6
6
|
}
|
7
7
|
function ae(a, e) {
|
8
|
-
|
8
|
+
Te(a, e);
|
9
9
|
}
|
10
|
-
function
|
10
|
+
function qe(a) {
|
11
11
|
Q.set(a);
|
12
12
|
}
|
13
13
|
const ie = {
|
@@ -62,20 +62,20 @@ const ie = {
|
|
62
62
|
deposit: "Depósito"
|
63
63
|
}
|
64
64
|
};
|
65
|
-
function
|
66
|
-
|
65
|
+
function Pe(a) {
|
66
|
+
Oe(a, "svelte-h8mrzf", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-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(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-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(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-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(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.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(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-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(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-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}');
|
67
67
|
}
|
68
68
|
function le(a, e, t) {
|
69
69
|
const n = a.slice();
|
70
|
-
return n[
|
70
|
+
return n[49] = e[t], n[51] = t, n;
|
71
71
|
}
|
72
72
|
function se(a, e, t) {
|
73
73
|
const n = a.slice();
|
74
|
-
return n[
|
74
|
+
return n[52] = e[t], n;
|
75
75
|
}
|
76
76
|
function ce(a, e, t) {
|
77
77
|
const n = a.slice();
|
78
|
-
return n[
|
78
|
+
return n[55] = e[t], n[57] = t, n;
|
79
79
|
}
|
80
80
|
function ue(a) {
|
81
81
|
let e = [], t = /* @__PURE__ */ new Map(), n, i = z(
|
@@ -84,7 +84,7 @@ function ue(a) {
|
|
84
84
|
);
|
85
85
|
const l = (r) => (
|
86
86
|
/*category*/
|
87
|
-
r[
|
87
|
+
r[49].id
|
88
88
|
);
|
89
89
|
for (let r = 0; r < i.length; r += 1) {
|
90
90
|
let s = le(a, i, r), d = l(s);
|
@@ -115,10 +115,10 @@ function ue(a) {
|
|
115
115
|
}
|
116
116
|
};
|
117
117
|
}
|
118
|
-
function
|
118
|
+
function Ke(a) {
|
119
119
|
let e, t = (
|
120
120
|
/*category*/
|
121
|
-
a[
|
121
|
+
a[49].name + ""
|
122
122
|
), n;
|
123
123
|
return {
|
124
124
|
c() {
|
@@ -130,22 +130,22 @@ function Xe(a) {
|
|
130
130
|
p(i, l) {
|
131
131
|
l[0] & /*sliderdata*/
|
132
132
|
512 && t !== (t = /*category*/
|
133
|
-
i[
|
133
|
+
i[49].name + "") && Z(n, t);
|
134
134
|
},
|
135
135
|
d(i) {
|
136
136
|
i && S(e);
|
137
137
|
}
|
138
138
|
};
|
139
139
|
}
|
140
|
-
function
|
140
|
+
function Je(a) {
|
141
141
|
let e, t = (
|
142
142
|
/*category*/
|
143
|
-
a[
|
143
|
+
a[49].label + ""
|
144
144
|
), n, i;
|
145
145
|
return {
|
146
146
|
c() {
|
147
147
|
e = k("a"), n = V(t), f(e, "href", i = /*category*/
|
148
|
-
a[
|
148
|
+
a[49].path);
|
149
149
|
},
|
150
150
|
m(l, r) {
|
151
151
|
D(l, e, r), p(e, n);
|
@@ -153,9 +153,9 @@ function Qe(a) {
|
|
153
153
|
p(l, r) {
|
154
154
|
r[0] & /*sliderdata*/
|
155
155
|
512 && t !== (t = /*category*/
|
156
|
-
l[
|
156
|
+
l[49].label + "") && Z(n, t), r[0] & /*sliderdata*/
|
157
157
|
512 && i !== (i = /*category*/
|
158
|
-
l[
|
158
|
+
l[49].path) && f(e, "href", i);
|
159
159
|
},
|
160
160
|
d(l) {
|
161
161
|
l && S(e);
|
@@ -222,7 +222,7 @@ function fe(a) {
|
|
222
222
|
}
|
223
223
|
},
|
224
224
|
d(i) {
|
225
|
-
i && S(e),
|
225
|
+
i && S(e), Ue(n, i);
|
226
226
|
}
|
227
227
|
};
|
228
228
|
}
|
@@ -230,20 +230,20 @@ function me(a) {
|
|
230
230
|
var w;
|
231
231
|
let e, t, n = (
|
232
232
|
/*subGroupItem*/
|
233
|
-
((w = a[
|
233
|
+
((w = a[55]) == null ? void 0 : w.name) + ""
|
234
234
|
), i, l, r, s, d;
|
235
235
|
function F(...g) {
|
236
236
|
return (
|
237
237
|
/*click_handler_1*/
|
238
238
|
a[32](
|
239
239
|
/*category*/
|
240
|
-
a[
|
240
|
+
a[49],
|
241
241
|
/*index*/
|
242
|
-
a[
|
242
|
+
a[51],
|
243
243
|
/*subGroupItem*/
|
244
|
-
a[
|
244
|
+
a[55],
|
245
245
|
/*subindex*/
|
246
|
-
a[
|
246
|
+
a[57],
|
247
247
|
...g
|
248
248
|
)
|
249
249
|
);
|
@@ -251,12 +251,12 @@ function me(a) {
|
|
251
251
|
return {
|
252
252
|
c() {
|
253
253
|
e = k("li"), t = k("a"), i = V(n), r = R(), f(t, "class", l = "SubDropDown " + /*index*/
|
254
|
-
(a[
|
254
|
+
(a[51] == /*activeIndex*/
|
255
255
|
a[6] && /*activeSubIndex*/
|
256
256
|
(a[7] == /*subindex*/
|
257
|
-
a[
|
257
|
+
a[57] || /*prevSubIndex*/
|
258
258
|
a[8] == /*subindex*/
|
259
|
-
a[
|
259
|
+
a[57]) ? "active" : ""));
|
260
260
|
},
|
261
261
|
m(g, v) {
|
262
262
|
D(g, e, v), p(e, t), p(t, i), p(e, r), s || (d = P(e, "click", F), s = !0);
|
@@ -265,14 +265,14 @@ function me(a) {
|
|
265
265
|
var M;
|
266
266
|
a = g, v[0] & /*subGroupsData*/
|
267
267
|
1024 && n !== (n = /*subGroupItem*/
|
268
|
-
((M = a[
|
268
|
+
((M = a[55]) == null ? void 0 : M.name) + "") && Z(i, n), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
269
269
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
270
|
-
(a[
|
270
|
+
(a[51] == /*activeIndex*/
|
271
271
|
a[6] && /*activeSubIndex*/
|
272
272
|
(a[7] == /*subindex*/
|
273
|
-
a[
|
273
|
+
a[57] || /*prevSubIndex*/
|
274
274
|
a[8] == /*subindex*/
|
275
|
-
a[
|
275
|
+
a[57]) ? "active" : "")) && f(t, "class", l);
|
276
276
|
},
|
277
277
|
d(g) {
|
278
278
|
g && S(e), s = !1, d();
|
@@ -282,8 +282,8 @@ function me(a) {
|
|
282
282
|
function ge(a, e) {
|
283
283
|
let t, n, i = (
|
284
284
|
/*index*/
|
285
|
-
e[
|
286
|
-
e[
|
285
|
+
e[51] == /*subGroup*/
|
286
|
+
e[52].index && me(e)
|
287
287
|
);
|
288
288
|
return {
|
289
289
|
key: a,
|
@@ -296,8 +296,8 @@ function ge(a, e) {
|
|
296
296
|
},
|
297
297
|
p(l, r) {
|
298
298
|
e = l, /*index*/
|
299
|
-
e[
|
300
|
-
e[
|
299
|
+
e[51] == /*subGroup*/
|
300
|
+
e[52].index ? i ? i.p(e, r) : (i = me(e), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
|
301
301
|
},
|
302
302
|
d(l) {
|
303
303
|
l && (S(t), S(n)), i && i.d(l);
|
@@ -307,11 +307,11 @@ function ge(a, e) {
|
|
307
307
|
function he(a) {
|
308
308
|
let e = [], t = /* @__PURE__ */ new Map(), n, i = z(
|
309
309
|
/*subGroup*/
|
310
|
-
a[
|
310
|
+
a[52].items
|
311
311
|
);
|
312
312
|
const l = (r) => (
|
313
313
|
/*subGroupItem*/
|
314
|
-
r[
|
314
|
+
r[55].id
|
315
315
|
);
|
316
316
|
for (let r = 0; r < i.length; r += 1) {
|
317
317
|
let s = ce(a, i, r), d = l(s);
|
@@ -332,7 +332,7 @@ function he(a) {
|
|
332
332
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
333
333
|
10176 && (i = z(
|
334
334
|
/*subGroup*/
|
335
|
-
r[
|
335
|
+
r[52].items
|
336
336
|
), e = pe(e, s, l, 1, r, i, t, n.parentNode, we, ge, n, ce));
|
337
337
|
},
|
338
338
|
d(r) {
|
@@ -347,14 +347,14 @@ function Ce(a, e) {
|
|
347
347
|
function M(m, _) {
|
348
348
|
return (
|
349
349
|
/*location*/
|
350
|
-
m[0] === "headerMain" ?
|
350
|
+
m[0] === "headerMain" ? Je : Ke
|
351
351
|
);
|
352
352
|
}
|
353
353
|
let I = M(e), h = I(e), c = (
|
354
354
|
/*itemsActive*/
|
355
355
|
e[11][
|
356
356
|
/*index*/
|
357
|
-
e[
|
357
|
+
e[51]
|
358
358
|
] == !0 && de(e)
|
359
359
|
);
|
360
360
|
function b(...m) {
|
@@ -362,9 +362,9 @@ function Ce(a, e) {
|
|
362
362
|
/*click_handler_2*/
|
363
363
|
e[33](
|
364
364
|
/*category*/
|
365
|
-
e[
|
365
|
+
e[49],
|
366
366
|
/*index*/
|
367
|
-
e[
|
367
|
+
e[51],
|
368
368
|
...m
|
369
369
|
)
|
370
370
|
);
|
@@ -378,16 +378,16 @@ function Ce(a, e) {
|
|
378
378
|
(e[3] === "true" ? "" : "DisplayNone")), ne(i.src, r = /*handleSrc*/
|
379
379
|
e[16](
|
380
380
|
/*category*/
|
381
|
-
e[
|
381
|
+
e[49]
|
382
382
|
)) || f(i, "src", r), f(n, "class", "CategoryIcon"), f(t, "class", w = "CarouselItem " + /*activeindex*/
|
383
383
|
(((m = e[1]) == null ? void 0 : m.toString().indexOf("$")) > -1 ? (
|
384
384
|
/*activeindex*/
|
385
385
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
386
|
-
e[
|
386
|
+
e[49].id.split("$").pop() ? "active" : ""
|
387
387
|
) : (
|
388
388
|
/*activeindex*/
|
389
389
|
e[1] == /*category*/
|
390
|
-
e[
|
390
|
+
e[49].id ? "active" : ""
|
391
391
|
)) + " " + /*location*/
|
392
392
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), f(t, "part", "CarouselItem"), this.first = t;
|
393
393
|
},
|
@@ -402,21 +402,21 @@ function Ce(a, e) {
|
|
402
402
|
512 && !ne(i.src, r = /*handleSrc*/
|
403
403
|
e[16](
|
404
404
|
/*category*/
|
405
|
-
e[
|
405
|
+
e[49]
|
406
406
|
)) && f(i, "src", r), I === (I = M(e)) && h ? h.p(e, _) : (h.d(1), h = I(e), h && (h.c(), h.m(t, d))), /*itemsActive*/
|
407
407
|
e[11][
|
408
408
|
/*index*/
|
409
|
-
e[
|
409
|
+
e[51]
|
410
410
|
] == !0 ? c ? c.p(e, _) : (c = de(e), c.c(), c.m(t, F)) : c && (c.d(1), c = null), _[0] & /*activeindex, sliderdata, location*/
|
411
411
|
515 && w !== (w = "CarouselItem " + /*activeindex*/
|
412
412
|
(((T = e[1]) == null ? void 0 : T.toString().indexOf("$")) > -1 ? (
|
413
413
|
/*activeindex*/
|
414
414
|
((x = e[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
415
|
-
e[
|
415
|
+
e[49].id.split("$").pop() ? "active" : ""
|
416
416
|
) : (
|
417
417
|
/*activeindex*/
|
418
418
|
e[1] == /*category*/
|
419
|
-
e[
|
419
|
+
e[49].id ? "active" : ""
|
420
420
|
)) + " " + /*location*/
|
421
421
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", w);
|
422
422
|
},
|
@@ -425,7 +425,7 @@ function Ce(a, e) {
|
|
425
425
|
}
|
426
426
|
};
|
427
427
|
}
|
428
|
-
function
|
428
|
+
function Xe(a) {
|
429
429
|
let e, t, n, i, l, r, s, d, F, w, g, v, M, I, h, c = (
|
430
430
|
/*sliderdata*/
|
431
431
|
a[9].length > 0 && ue(a)
|
@@ -466,13 +466,13 @@ function Ve(a) {
|
|
466
466
|
i: oe,
|
467
467
|
o: oe,
|
468
468
|
d(b) {
|
469
|
-
b && S(e), c && c.d(), a[34](null), a[35](null), a[37](null), I = !1,
|
469
|
+
b && S(e), c && c.d(), a[34](null), a[35](null), a[37](null), I = !1, Ge(h);
|
470
470
|
}
|
471
471
|
};
|
472
472
|
}
|
473
|
-
function
|
473
|
+
function Qe(a, e, t) {
|
474
474
|
let { endpoint: n = "" } = e, { datasource: i = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: w = "" } = e, { identity: g = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: M = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: T = "" } = e;
|
475
|
-
|
475
|
+
Ye({ withLocale: "en", translations: {} });
|
476
476
|
const x = () => {
|
477
477
|
fetch(v).then((u) => u.json()).then((u) => {
|
478
478
|
Object.keys(u).forEach((C) => {
|
@@ -485,12 +485,10 @@ function Ze(a, e, t) {
|
|
485
485
|
Object.keys(ie).forEach((o) => {
|
486
486
|
ae(o, ie[o]);
|
487
487
|
});
|
488
|
-
let
|
489
|
-
Ue(ye);
|
490
|
-
let j, W, B, K, H, O = [], U = [], Y = [], L, J = (o, u, C, E, A) => {
|
488
|
+
let j, W, B, K, A, O = [], U = [], Y = [], L, J = (o, u, C, E, H) => {
|
491
489
|
var N;
|
492
490
|
if (!(o.subGroups && E === null)) {
|
493
|
-
if (q(), t(6, W = u), t(6, W),
|
491
|
+
if (q(), t(6, W = u), t(6, W), H != "secondary") {
|
494
492
|
window.postMessage(
|
495
493
|
{
|
496
494
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -522,16 +520,16 @@ function Ze(a, e, t) {
|
|
522
520
|
L.scrollBy({ left: 250, behavior: "smooth" });
|
523
521
|
};
|
524
522
|
const te = (o) => {
|
525
|
-
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, Y = new Array(O.length).fill(!1)), b == "true" &&
|
523
|
+
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, Y = new Array(O.length).fill(!1)), b == "true" && be()), o.data.type == "GoToHomepage" && O.forEach((u, C) => {
|
526
524
|
u.path.endsWith("/casino") && (t(6, W = C), t(6, W));
|
527
525
|
});
|
528
|
-
},
|
529
|
-
|
530
|
-
},
|
526
|
+
}, ye = () => {
|
527
|
+
qe(h);
|
528
|
+
}, ve = (o, u, C) => {
|
531
529
|
if (d == "secondaryMenu" && n && i && h && o.id) {
|
532
530
|
let E = new URL(`${n}/v1/casino/groups/${i}/${o.id}/subGroups?language=${h}`);
|
533
|
-
fetch(E.href).then((
|
534
|
-
|
531
|
+
fetch(E.href).then((H) => H.json()).then((H) => {
|
532
|
+
H.index = u, t(10, U = U.concat(H)), b == "false" && window.postMessage(
|
535
533
|
{
|
536
534
|
type: r,
|
537
535
|
itemId: o.id,
|
@@ -541,8 +539,8 @@ function Ze(a, e, t) {
|
|
541
539
|
window.location.href
|
542
540
|
);
|
543
541
|
const N = [];
|
544
|
-
U.map((
|
545
|
-
N.find((
|
542
|
+
U.map((Ee) => (Ee.items.forEach((re) => {
|
543
|
+
N.find((Ne) => re.id == Ne) || N.push(re.id);
|
546
544
|
}), N.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: N }, window.location.href);
|
547
545
|
}).then(() => {
|
548
546
|
j.querySelectorAll(".DropDown") && q();
|
@@ -555,29 +553,29 @@ function Ze(a, e, t) {
|
|
555
553
|
for (let u = 0; u < o.length; u++)
|
556
554
|
o[u].style.transform = "translateX(-" + L.scrollLeft + "px)";
|
557
555
|
L.classList.remove("isScrolling");
|
558
|
-
},
|
556
|
+
}, be = () => {
|
559
557
|
O.forEach((o, u) => {
|
560
558
|
var C;
|
561
|
-
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, Y[u] = !0, Y),
|
559
|
+
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, Y[u] = !0, Y), ve(o, u));
|
562
560
|
});
|
563
|
-
},
|
561
|
+
}, _e = () => {
|
564
562
|
let o = document.createElement("style");
|
565
|
-
o.innerHTML = F,
|
566
|
-
},
|
563
|
+
o.innerHTML = F, A.appendChild(o);
|
564
|
+
}, ke = () => {
|
567
565
|
let o = document.createElement("style"), u = new URL(w);
|
568
566
|
fetch(u.href).then((C) => C.text()).then((C) => {
|
569
567
|
o.innerHTML = C, setTimeout(
|
570
568
|
() => {
|
571
|
-
|
569
|
+
A.appendChild(o);
|
572
570
|
},
|
573
571
|
1
|
574
572
|
);
|
575
573
|
});
|
576
|
-
},
|
574
|
+
}, Fe = (o) => {
|
577
575
|
let u = "";
|
578
576
|
return o.id === "LOBBY" ? u = _ : o.id === "MYGAMES" && (u = T), o.icon || u;
|
579
577
|
};
|
580
|
-
|
578
|
+
xe(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
581
579
|
() => {
|
582
580
|
L.addEventListener("scroll", q);
|
583
581
|
},
|
@@ -585,25 +583,25 @@ function Ze(a, e, t) {
|
|
585
583
|
), () => {
|
586
584
|
window.removeEventListener("message", te), j.removeEventListener("scroll", q);
|
587
585
|
}));
|
588
|
-
const
|
589
|
-
J(o, u, C, E, "secondary"),
|
590
|
-
},
|
586
|
+
const Me = () => $(), Ie = (o, u, C, E, H) => {
|
587
|
+
J(o, u, C, E, "secondary"), H.stopPropagation();
|
588
|
+
}, De = (o, u, C) => {
|
591
589
|
J(o, u, null, null, "main"), C.preventDefault();
|
592
590
|
};
|
593
|
-
function
|
591
|
+
function Se(o) {
|
594
592
|
X[o ? "unshift" : "push"](() => {
|
595
593
|
j = o, t(5, j);
|
596
594
|
});
|
597
595
|
}
|
598
|
-
function
|
596
|
+
function Le(o) {
|
599
597
|
X[o ? "unshift" : "push"](() => {
|
600
598
|
L = o, t(12, L);
|
601
599
|
});
|
602
600
|
}
|
603
601
|
const He = () => ee();
|
604
|
-
function
|
602
|
+
function Ae(o) {
|
605
603
|
X[o ? "unshift" : "push"](() => {
|
606
|
-
|
604
|
+
A = o, t(4, A);
|
607
605
|
});
|
608
606
|
}
|
609
607
|
return a.$$set = (o) => {
|
@@ -612,15 +610,15 @@ function Ze(a, e, t) {
|
|
612
610
|
a.$$.dirty[0] & /*activeindex*/
|
613
611
|
2, a.$$.dirty[0] & /*translationurl*/
|
614
612
|
33554432 && v && x(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
615
|
-
4194320 && F &&
|
616
|
-
8388624 && w &&
|
617
|
-
268435456 && h &&
|
613
|
+
4194320 && F && A && _e(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
614
|
+
8388624 && w && A && ke(), a.$$.dirty[0] & /*lang*/
|
615
|
+
268435456 && h && ye();
|
618
616
|
}, [
|
619
617
|
d,
|
620
618
|
c,
|
621
619
|
b,
|
622
620
|
m,
|
623
|
-
|
621
|
+
A,
|
624
622
|
j,
|
625
623
|
W,
|
626
624
|
B,
|
@@ -632,7 +630,7 @@ function Ze(a, e, t) {
|
|
632
630
|
J,
|
633
631
|
$,
|
634
632
|
ee,
|
635
|
-
|
633
|
+
Fe,
|
636
634
|
n,
|
637
635
|
i,
|
638
636
|
l,
|
@@ -647,23 +645,23 @@ function Ze(a, e, t) {
|
|
647
645
|
h,
|
648
646
|
_,
|
649
647
|
T,
|
648
|
+
Me,
|
650
649
|
Ie,
|
651
650
|
De,
|
652
651
|
Se,
|
653
652
|
Le,
|
654
|
-
Ae,
|
655
653
|
He,
|
656
|
-
|
654
|
+
Ae
|
657
655
|
];
|
658
656
|
}
|
659
|
-
class
|
657
|
+
class Ve extends je {
|
660
658
|
constructor(e) {
|
661
|
-
super(),
|
659
|
+
super(), ze(
|
662
660
|
this,
|
663
661
|
e,
|
664
|
-
|
665
|
-
|
666
|
-
|
662
|
+
Qe,
|
663
|
+
Xe,
|
664
|
+
Be,
|
667
665
|
{
|
668
666
|
endpoint: 17,
|
669
667
|
datasource: 18,
|
@@ -684,7 +682,7 @@ class $e extends ze {
|
|
684
682
|
lobbyiconimage: 29,
|
685
683
|
mygamesiconimage: 30
|
686
684
|
},
|
687
|
-
|
685
|
+
Pe,
|
688
686
|
[-1, -1]
|
689
687
|
);
|
690
688
|
}
|
@@ -797,7 +795,7 @@ class $e extends ze {
|
|
797
795
|
this.$$set({ mygamesiconimage: e }), y();
|
798
796
|
}
|
799
797
|
}
|
800
|
-
|
798
|
+
We(Ve, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
801
799
|
export {
|
802
|
-
|
800
|
+
Ve as default
|
803
801
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderController-
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderController-UV0Ettr0.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller")&&customElements.define("casino-header-controller",t.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-VXjDEFYv.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", t.element);
|
15
15
|
});
|
16
16
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-header-controller",
|
3
|
-
"version": "1.47.
|
3
|
+
"version": "1.47.2",
|
4
4
|
"type": "module",
|
5
5
|
"main": "es2015/casino-header-controller.cjs",
|
6
6
|
"module": "es2015/casino-header-controller.js",
|
@@ -13,7 +13,8 @@
|
|
13
13
|
},
|
14
14
|
"files": [
|
15
15
|
"es2015/",
|
16
|
-
"components"
|
16
|
+
"components",
|
17
|
+
"stencil"
|
17
18
|
],
|
18
19
|
"publishConfig": {
|
19
20
|
"access": "public"
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const s=()=>{};exports.globalScripts=s;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var L=(e,t,n)=>new Promise((s,r)=>{var o=a=>{try{i(n.next(a))}catch(c){r(c)}},l=a=>{try{i(n.throw(a))}catch(c){r(c)}},i=a=>a.done?s(a.value):Promise.resolve(a.value).then(o,l);i((n=n.apply(e,t)).next())});const Se="user-deposit-withdrawal",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Ee=Object.defineProperty,be=(e,t)=>{for(var n in t)Ee(e,n,{get:t[n],enumerable:!0})},F=new WeakMap,k=e=>F.get(e),ke=(e,t)=>F.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],F.set(e,n)},X=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),R=new Map,Te=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const o=R.get(r);if(o)return o[s];{const l=i=>(R.set(r,i),i[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CsuWz3w0.cjs")).then(l,w)}}return import(`./${r}.entry.js`).then(l=>(R.set(r,l),l[s]),w)},j=new Map,xe="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},se=e=>Promise.resolve(e),Le=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),D=!1,N=[],re=[],Pe=(e,t)=>n=>{e.push(n),D||(D=!0,h.$flags$&4?q(z):h.raf(z))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},z=()=>{Q(N),Q(re),(D=N.length>0)&&h.raf(z)},q=e=>se().then(e),Ae=Pe(re),Y={},_e="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml",je=e=>e!=null,W=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Ce={};be(Ce,{err:()=>le,map:()=>Ue,ok:()=>H,unwrap:()=>Ie,unwrapErr:()=>Re});var H=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Ue(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},Re=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},De=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,o=!1,l=!1;const i=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((o=typeof e!="function"&&!W(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?B(null,s):s),l=o)};if(a(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=B(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},B=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},oe={},ze=e=>e&&e.$tag$===oe,He=(e,t)=>e!=null&&!W(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,Be=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,Fe=(e,t,n)=>{let s=j.get(e);Le&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},qe=(e,t,n)=>{var s;const r=ie(t),o=j.get(r);if(e=e.nodeType===11?e:S,o)if(typeof o=="string"){e=e.head||e;let l=J.get(e),i;if(l||J.set(e,l=new Set),!l.has(r)){{i=S.createElement("style"),i.innerHTML=o;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&i.setAttribute("nonce",a),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return r},We=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),o=qe(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&s&2&&(n["s-sc"]=o,n.classList.add(o+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,o)=>{if(n!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,c=Z(n),$=Z(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const a=t.endsWith(ce);t=t.replace(Ge,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=W(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||o&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Me=/\s/,Z=e=>e?e.split(Me):[],ce="Capture",Ge=new RegExp(ce+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,o=t.$attrs$||Y;for(const l of V(Object.keys(r)))l in o||K(s,l,r[l],void 0,n,t.$flags$);for(const l of V(Object.keys(o)))K(s,l,r[l],o[l],n,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,fe=!1,y=!1,C=(e,t,n,s)=>{const r=t.$children$[n];let o=0,l,i;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?_e:Oe,!fe&&O.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),!!l.getRootNode().querySelector("body")&&O.scoped&&je(A)&&l["s-si"]!==A&&l.classList.add(l["s-si"]=A),r.$children$)for(o=0;o<r.$children$.length;++o)i=C(e,r,o),i&&l.appendChild(i);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=M,l},de=(e,t,n,s,r,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);r<=o;++r)s[r]&&(i=C(null,n,r),i&&(s[r].$elm$=i,_(l,i,t)))},ue=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const o=r.$elm$;pe(r),o&&o.remove()}}},Xe=(e,t,n,s,r=!1)=>{let o=0,l=0,i=0,a=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],v,m;for(;o<=c&&l<=d;)if($==null)$=t[++o];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(P($,u,r))T($,u,r),$=t[++o],u=s[++l];else if(P(f,p,r))T(f,p,r),f=t[--c],p=s[--d];else if(P($,p,r))T($,p,r),_(e,$.$elm$,f.$elm$.nextSibling),$=t[++o],p=s[--d];else if(P(f,u,r))T(f,u,r),_(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,a=o;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=C(t&&t[l],n,i):(T(m,u,r),t[i]=void 0,v=m.$elm$),u=s[++l]):(v=C(t&&t[l],n,l),u=s[++l]),v&&_($.$elm$.parentNode,v,$.$elm$)}o>c?de(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ue(t,o,c)},P=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,o=t.$children$,l=t.$tag$,i=t.$text$;i===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&o!==null?Xe(s,r,t,o,n):o!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,o,0,o.length-1)):!n&&O.updatable&&r!==null&&ue(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==i&&(s.data=i)},pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(pe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ne=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,o=e.$vnode$||B(null,null),l=ze(t)?t:ae(null,null,t);if(M=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,a])=>l.$attrs$[a]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=o.$elm$=s.shadowRoot||s,A=s["s-sc"],fe=(r.$flags$&1)!==0,T(o,l,n)},ve=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},G=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ve(e,e.$ancestorComponent$),Ae(()=>Qe(e,t))},Qe=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(o=U(r,"componentWillLoad")),s(),Ye(o,()=>Ke(e,r,t))},Ye=(e,t)=>Je(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=(e,t,n)=>L(exports,null,function*(){var s;const r=e.$hostElement$,o=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&We(e);const i=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),i(),o();{const a=(s=r["s-p"])!=null?s:[],c=()=>Ve(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,s)}catch(r){w(r,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,o=e.$ancestorComponent$;U(r,"componentDidRender"),e.$flags$&64?s():(e.$flags$|=64,ge(n),U(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),o||he()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>G(e,!1)),e.$flags$&=-517},he=e=>{ge(S.documentElement),q(()=>Be(I,"appload",{detail:{namespace:Se}}))},U=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){w(s)}},ge=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>k(e).$instanceValues$.get(t),tt=(e,t,n,s)=>{const r=k(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const o=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,a=r.$lazyInstance$;n=He(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){w(u,o)}})}(i&18)===2&&G(r,!1)}},ye=(e,t,n)=>{var s,r;const o=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(o,i,{get(){return et(this,i)},set(c){tt(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;o.attributeChangedCallback=function(a,c,$){h.jmp(()=>{var f;const d=i.get(a);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=k(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const v=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,a)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const f=c[1]||a;return i.set(f,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,f])),f})]))}}return e},st=(e,t,n,s)=>L(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Te(n);if(a&&"then"in a){const $=De();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,ye(r,n,2),r.isProxied=!0);const c=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=ie(n);if(!j.has(c)){const $=E("registerStyles",n.$tagName$);Fe(c,a,!!(n.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(l):l()}),rt=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=k(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>rt());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ve(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[o]])=>{if(o&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),st(e,t,n)}s()}},ee=e=>{U(e,"disconnectedCallback")},lt=e=>L(exports,null,function*(){if(!(h.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?ee(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ee(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=E(),r=[],o=t.exclude||[],l=I.customElements,i=S.head,a=i.querySelector("meta[charset]"),c=S.createElement("style"),$=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(v=>{var m;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$attrsToReflect$=[],g.$watchers$=(m=v[4])!=null?m:{};const x=g.$tagName$,me=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,we(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>lt(this))}componentOnReady(){return k(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!o.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,ye(me,g,1)))})}),r.length>0&&(u&&(c.textContent+=te),c.textContent+=r.sort()+xe,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=h.$nonce$)!=null?n:ne(S);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,a?a.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):h.jmp(()=>f=setTimeout(he,30)),s()};exports.Host=oe;exports.bootstrapLazy=at;exports.h=ae;exports.promiseResolve=se;exports.registerInstance=ke;
|