@everymatrix/casino-header-controller 1.55.0 → 1.56.0
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-JVY4ac8I.js → CasinoHamburgerMenu-B2TeHkyB.js} +800 -822
- package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-CUR5gaxv.js} +648 -670
- package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
- package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
- package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-CrEqMU6h.js} +561 -527
- package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-Cv1RNj2L.js} +619 -585
- package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
- package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-CS-q7BSV.js} +101 -101
- package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-DrD2osTb.js} +98 -98
- package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
- package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
- package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
- package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-BlD-xNdY.js} +93 -93
- package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DwGrlu-U.js} +93 -93
- package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
- 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/index-c7e52808-DGZdfQYz.cjs +1 -0
- package/stencil/index-c7e52808-RGphQbEA.js +638 -0
- package/stencil/index-c7e52808-yJXIboHF.js +654 -0
- package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-1SJnPWvi.js} +268 -251
- package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-BiZKbrT_.js} +194 -177
- package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
- package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +0 -8
- package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
- package/components/CasinoSlider-DDycojG8.cjs +0 -1
- package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CcASksA3.js +0 -1507
- package/components/PlayerAccountBalanceModal-DG6GgVDp.js +0 -1536
- package/components/PlayerDeposit-C8ZPqrpV.cjs +0 -1
- package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
- package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
- package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
- package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -1,11 +1,11 @@
|
|
1
|
-
import { b as
|
2
|
-
function j(
|
3
|
-
|
1
|
+
import { b as J, $ as K, S as V, i as X, s as Z, f as w, d as $, n as A, e as S, u as L, P as F, h as x, v as h, k as M, j as E, y as C, z as d, l as ee, C as te, o as ie, w as ae, x as k, p as se, E as W, J as re, K as ne, L as oe, c as le, I as ce } from "./CasinoHamburgerMenu-CUR5gaxv.js";
|
2
|
+
function j(a, e) {
|
3
|
+
J(a, e);
|
4
4
|
}
|
5
|
-
function de(
|
6
|
-
|
5
|
+
function de(a) {
|
6
|
+
K.set(a);
|
7
7
|
}
|
8
|
-
const
|
8
|
+
const H = {
|
9
9
|
en: {
|
10
10
|
titleDeposit: "Deposit",
|
11
11
|
loading: "Loading, please wait ..."
|
@@ -47,112 +47,112 @@ const G = {
|
|
47
47
|
Loading: "Cargando, por favor espere..."
|
48
48
|
}
|
49
49
|
};
|
50
|
-
function
|
51
|
-
|
50
|
+
function ue(a) {
|
51
|
+
$(a, "svelte-lvm6lo", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
|
52
52
|
}
|
53
|
-
function
|
54
|
-
let e, i, n,
|
53
|
+
function he(a) {
|
54
|
+
let e, i, n, s, l, m, c, p, y, o, r = (
|
55
55
|
/*$_*/
|
56
|
-
|
57
|
-
),
|
56
|
+
a[4]("titleDeposit") + ""
|
57
|
+
), u, b, _;
|
58
58
|
return {
|
59
59
|
c() {
|
60
|
-
e =
|
60
|
+
e = M("div"), i = k("svg"), n = k("defs"), s = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), y = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
61
61
|
},
|
62
62
|
m(f, g) {
|
63
|
-
|
63
|
+
x(f, e, g), h(e, i), h(i, n), h(n, s), h(s, l), h(i, m), h(m, c), h(c, p), h(e, y), h(e, o), h(o, u), b || (_ = ae(
|
64
64
|
e,
|
65
65
|
"click",
|
66
66
|
/*click_handler*/
|
67
|
-
|
67
|
+
a[18]
|
68
68
|
), b = !0);
|
69
69
|
},
|
70
70
|
p(f, g) {
|
71
71
|
g & /*$_*/
|
72
72
|
16 && r !== (r = /*$_*/
|
73
|
-
f[4]("titleDeposit") + "") && L(
|
73
|
+
f[4]("titleDeposit") + "") && L(u, r);
|
74
74
|
},
|
75
75
|
d(f) {
|
76
|
-
f &&
|
76
|
+
f && S(e), b = !1, _();
|
77
77
|
}
|
78
78
|
};
|
79
79
|
}
|
80
|
-
function
|
80
|
+
function pe(a) {
|
81
81
|
let e, i, n;
|
82
82
|
return {
|
83
83
|
c() {
|
84
|
-
e =
|
85
|
-
|
84
|
+
e = M("div"), i = M("iframe"), W(i.src, n = /*iframeUrl*/
|
85
|
+
a[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
86
86
|
},
|
87
|
-
m(
|
88
|
-
|
87
|
+
m(s, l) {
|
88
|
+
x(s, e, l), h(e, i);
|
89
89
|
},
|
90
|
-
p(
|
90
|
+
p(s, l) {
|
91
91
|
l & /*iframeUrl*/
|
92
92
|
8 && !W(i.src, n = /*iframeUrl*/
|
93
|
-
|
93
|
+
s[3]) && d(i, "src", n);
|
94
94
|
},
|
95
|
-
d(
|
96
|
-
|
95
|
+
d(s) {
|
96
|
+
s && S(e);
|
97
97
|
}
|
98
98
|
};
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function ge(a) {
|
101
101
|
let e, i = (
|
102
102
|
/*$_*/
|
103
|
-
|
103
|
+
a[4]("loading") + ""
|
104
104
|
), n;
|
105
105
|
return {
|
106
106
|
c() {
|
107
|
-
e =
|
107
|
+
e = M("p"), n = C(i);
|
108
108
|
},
|
109
|
-
m(
|
110
|
-
|
109
|
+
m(s, l) {
|
110
|
+
x(s, e, l), h(e, n);
|
111
111
|
},
|
112
|
-
p(
|
112
|
+
p(s, l) {
|
113
113
|
l & /*$_*/
|
114
114
|
16 && i !== (i = /*$_*/
|
115
|
-
|
115
|
+
s[4]("loading") + "") && L(n, i);
|
116
116
|
},
|
117
|
-
d(
|
118
|
-
|
117
|
+
d(s) {
|
118
|
+
s && S(e);
|
119
119
|
}
|
120
120
|
};
|
121
121
|
}
|
122
|
-
function
|
123
|
-
let e, i, n,
|
122
|
+
function me(a) {
|
123
|
+
let e, i, n, s = (
|
124
124
|
/*$_*/
|
125
|
-
|
125
|
+
a[4]("titleDeposit") + ""
|
126
126
|
), l, m, c = (
|
127
127
|
/*isMobile*/
|
128
|
-
|
128
|
+
a[5] && he(a)
|
129
129
|
);
|
130
|
-
function p(r,
|
130
|
+
function p(r, u) {
|
131
131
|
return (
|
132
132
|
/*isLoading*/
|
133
|
-
r[1] ?
|
133
|
+
r[1] ? ge : pe
|
134
134
|
);
|
135
135
|
}
|
136
|
-
let y = p(
|
136
|
+
let y = p(a), o = y(a);
|
137
137
|
return {
|
138
138
|
c() {
|
139
|
-
e =
|
140
|
-
(
|
141
|
-
(
|
139
|
+
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(s), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
140
|
+
(a[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
141
|
+
(a[5] ? "DepositWrapperMobile" : "")), F(
|
142
142
|
e,
|
143
143
|
"--dynamic-height",
|
144
144
|
/*dynamicHeight*/
|
145
|
-
|
145
|
+
a[2]
|
146
146
|
);
|
147
147
|
},
|
148
|
-
m(r,
|
149
|
-
|
148
|
+
m(r, u) {
|
149
|
+
x(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), a[19](e);
|
150
150
|
},
|
151
|
-
p(r, [
|
151
|
+
p(r, [u]) {
|
152
152
|
/*isMobile*/
|
153
|
-
r[5] && c.p(r,
|
154
|
-
16 &&
|
155
|
-
r[4]("titleDeposit") + "") && L(l,
|
153
|
+
r[5] && c.p(r, u), u & /*$_*/
|
154
|
+
16 && s !== (s = /*$_*/
|
155
|
+
r[4]("titleDeposit") + "") && L(l, s), y === (y = p(r)) && o ? o.p(r, u) : (o.d(1), o = y(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
|
156
156
|
4 && F(
|
157
157
|
e,
|
158
158
|
"--dynamic-height",
|
@@ -160,19 +160,19 @@ function fe(s) {
|
|
160
160
|
r[2]
|
161
161
|
);
|
162
162
|
},
|
163
|
-
i:
|
164
|
-
o:
|
163
|
+
i: A,
|
164
|
+
o: A,
|
165
165
|
d(r) {
|
166
|
-
r &&
|
166
|
+
r && S(e), c && c.d(), o.d(), a[19](null);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
170
|
-
function
|
171
|
-
let n,
|
172
|
-
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: y = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl:
|
174
|
-
const
|
175
|
-
fetch(
|
170
|
+
function fe(a, e, i) {
|
171
|
+
let n, s;
|
172
|
+
ee(a, ce, (t) => i(4, s = t));
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: y = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { playercurrency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = te(G) !== "PC", B = !0, I, T = 0, P = "";
|
174
|
+
const N = () => {
|
175
|
+
fetch(u).then((D) => D.json()).then((D) => {
|
176
176
|
Object.keys(D).forEach((v) => {
|
177
177
|
j(v, D[v]);
|
178
178
|
});
|
@@ -180,8 +180,8 @@ function ye(s, e, i) {
|
|
180
180
|
console.log(D);
|
181
181
|
});
|
182
182
|
};
|
183
|
-
Object.keys(
|
184
|
-
j(t,
|
183
|
+
Object.keys(H).forEach((t) => {
|
184
|
+
j(t, H[t]);
|
185
185
|
});
|
186
186
|
const U = () => {
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
@@ -242,41 +242,41 @@ function ye(s, e, i) {
|
|
242
242
|
};
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
244
244
|
(v) => {
|
245
|
-
i(1, B = !1), i(3,
|
245
|
+
i(1, B = !1), i(3, P = v.CashierUrl);
|
246
246
|
},
|
247
247
|
(v) => {
|
248
248
|
console.error(v);
|
249
249
|
}
|
250
250
|
);
|
251
|
-
},
|
251
|
+
}, q = () => {
|
252
252
|
de(p);
|
253
253
|
};
|
254
|
-
|
255
|
-
window.
|
254
|
+
ie(() => (window.addEventListener("message", z, !1), () => {
|
255
|
+
window.removeEventListener("message", z);
|
256
256
|
}));
|
257
|
-
const
|
258
|
-
function
|
259
|
-
|
257
|
+
const Q = () => U();
|
258
|
+
function Y(t) {
|
259
|
+
se[t ? "unshift" : "push"](() => {
|
260
260
|
g = t, i(0, g);
|
261
261
|
});
|
262
262
|
}
|
263
|
-
return
|
264
|
-
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, y = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15,
|
265
|
-
},
|
266
|
-
|
267
|
-
2048 && p &&
|
268
|
-
131072 && (n = f.toLocaleLowerCase() === "true"),
|
269
|
-
8193 && o && g &&
|
270
|
-
16385 && r && g &&
|
271
|
-
65537 && g &&
|
272
|
-
32768 &&
|
263
|
+
return a.$$set = (t) => {
|
264
|
+
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, p = t.lang), "hasdefaultamount" in t && i(12, y = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, r = t.clientstylingurl), "translationurl" in t && i(15, u = t.translationurl), "playercurrency" in t && i(7, b = t.playercurrency), "mbsource" in t && i(16, _ = t.mbsource), "shortcashierenabled" in t && i(17, f = t.shortcashierenabled);
|
265
|
+
}, a.$$.update = () => {
|
266
|
+
a.$$.dirty & /*lang*/
|
267
|
+
2048 && p && q(), a.$$.dirty & /*shortcashierenabled*/
|
268
|
+
131072 && (n = f.toLocaleLowerCase() === "true"), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
269
|
+
8193 && o && g && re(g, o), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
270
|
+
16385 && r && g && ne(g, r), a.$$.dirty & /*mbsource, customStylingContainer*/
|
271
|
+
65537 && _ && g && oe(g, `${_}.Style`), a.$$.dirty & /*translationurl*/
|
272
|
+
32768 && u && N(), a.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
|
273
273
|
135040 && m && c && l && b && p && f && O();
|
274
274
|
}, [
|
275
275
|
g,
|
276
276
|
B,
|
277
277
|
I,
|
278
|
-
|
279
|
-
|
278
|
+
P,
|
279
|
+
s,
|
280
280
|
R,
|
281
281
|
U,
|
282
282
|
b,
|
@@ -287,21 +287,21 @@ function ye(s, e, i) {
|
|
287
287
|
y,
|
288
288
|
o,
|
289
289
|
r,
|
290
|
-
|
291
|
-
|
290
|
+
u,
|
291
|
+
_,
|
292
292
|
f,
|
293
|
-
|
294
|
-
|
293
|
+
Q,
|
294
|
+
Y
|
295
295
|
];
|
296
296
|
}
|
297
|
-
class
|
297
|
+
class ye extends V {
|
298
298
|
constructor(e) {
|
299
|
-
super(),
|
299
|
+
super(), X(
|
300
300
|
this,
|
301
301
|
e,
|
302
|
-
ye,
|
303
302
|
fe,
|
304
|
-
|
303
|
+
me,
|
304
|
+
Z,
|
305
305
|
{
|
306
306
|
endpoint: 8,
|
307
307
|
session: 9,
|
@@ -315,7 +315,7 @@ class we extends J {
|
|
315
315
|
mbsource: 16,
|
316
316
|
shortcashierenabled: 17
|
317
317
|
},
|
318
|
-
|
318
|
+
ue
|
319
319
|
);
|
320
320
|
}
|
321
321
|
get endpoint() {
|
@@ -385,7 +385,7 @@ class we extends J {
|
|
385
385
|
this.$$set({ shortcashierenabled: e }), w();
|
386
386
|
}
|
387
387
|
}
|
388
|
-
|
388
|
+
le(ye, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
|
389
389
|
export {
|
390
|
-
|
390
|
+
ye as default
|
391
391
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-DYL1HIps.cjs");function T(r,t){e.addMessages(r,t)}function F(r){e.$locale.set(r)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function H(r){e.append_styles(r,"svelte-lvm6lo","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function W(r){let t,a,o,n,c,m,d,u,f,l,s=r[4]("titleDeposit")+"",p,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),u=e.svg_element("path"),f=e.space(),l=e.element("h2"),p=e.text(s),e.attr(u,"class","aaa"),e.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(u,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(n,c),e.append(a,m),e.append(m,d),e.append(d,u),e.append(t,f),e.append(t,l),e.append(l,p),y||(D=e.listen(t,"click",r[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(p,s)},d(g){g&&e.detach(t),y=!1,D()}}}function j(r){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=r[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&8&&!e.src_url_equal(a.src,o=n[3])&&e.attr(a,"src",o)},d(n){n&&e.detach(t)}}}function z(r){let t,a=r[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,o)},p(n,c){c&16&&a!==(a=n[4]("loading")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function G(r){let t,a,o,n=r[4]("titleDeposit")+"",c,m,d=r[5]&&W(r);function u(s,p){return s[1]?z:j}let f=u(r),l=f(r);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(n),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(r[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(r[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",r[2])},m(s,p){e.insert(s,t,p),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),r[19](t)},p(s,[p]){s[5]&&d.p(s,p),p&16&&n!==(n=s[4]("titleDeposit")+"")&&e.set_data(c,n),f===(f=u(s))&&l?l.p(s,p):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),p&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),r[19](null)}}}function q(r,t,a){let o,n;e.component_subscribe(r,e.$format,i=>a(4,n=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:u="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:p=""}=t,{playercurrency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(p).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",u),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},I=()=>{F(u)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function A(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return r.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,u=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,p=i.translationurl),"playercurrency"in i&&a(7,y=i.playercurrency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},r.$$.update=()=>{r.$$.dirty&2048&&u&&I(),r.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),r.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),r.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),r.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),r.$$.dirty&32768&&p&&B(),r.$$.dirty&135040&&m&&d&&c&&y&&u&&g&&P()},[h,M,k,C,n,v,S,y,c,m,d,u,f,l,s,p,D,g,U,A]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,G,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,mbsource:16,shortcashierenabled:17},H)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|
@@ -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-CfLLPnem.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-Cv1RNj2L.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
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var I=(t,e,n)=>new Promise((s,r)=>{var i=a=>{try{l(n.next(a))}catch(o){r(o)}},$=a=>{try{l(n.throw(a))}catch(o){r(o)}},l=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,$);l((n=n.apply(t,e)).next())});const wt="user-deposit-withdrawal",G={hydratedSelectorName:"hydrated",lazyLoad:!0,updatable:!0};var Pt=Object.defineProperty,Tt=(t,e)=>{for(var n in e)Pt(t,n,{get:e[n],enumerable:!0})},_t="http://www.w3.org/2000/svg",xt="http://www.w3.org/1999/xhtml",Y=new WeakMap,k=t=>Y.get(t),Lt=(t,e)=>{Y.set(e.$lazyInstance$=t,e)},At=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[],Y.set(t,n)},M=(t,e)=>e in t,_=(t,e)=>(0,console.error)(t,e),U=new Map,It=(t,e,n)=>{const s=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const $=l=>(U.set(r,l),l[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CzeoKH00.cjs")).then($,_)}}return import(`./${r}.entry.js`).then($=>(U.set(r,$),$[s]),$=>{_($,e.$hostElement$)})},b=new Map,jt="sty-id",Ot="{visibility:hidden}.hydrated{visibility:inherit}",nt="slot-fb{display:contents}slot-fb[hidden]{display:none}",H=typeof window!="undefined"?window:{},w=H.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},rt=t=>Promise.resolve(t),lt=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(t){}return!1})(),R=!1,m=[],it=[],bt=(t,e)=>n=>{t.push(n),R||(R=!0,g.$flags$&4?X(B):g.raf(B))},V=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){_(n)}t.length=0},B=()=>{V(m),V(it),(R=m.length>0)&&g.raf(B)},X=t=>rt().then(t),zt=bt(it),F=t=>(t=typeof t,t==="object"||t==="function");function $t(t){var e,n,s;return(s=(n=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Ht={};Tt(Ht,{err:()=>ot,map:()=>Ut,ok:()=>D,unwrap:()=>qt,unwrapErr:()=>Rt});var D=t=>({isOk:!0,isErr:!1,value:t}),ot=t=>({isOk:!1,isErr:!0,value:t});function Ut(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(t.isErr){const n=t.value;return ot(n)}throw"should never get here"}var qt=t=>{if(t.isOk)return t.value;throw t.value},Rt=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e="")=>()=>{},Bt=(t,e)=>()=>{},at=(t,e,...n)=>{let s=null,r=null,i=!1,$=!1;const l=[],a=c=>{for(let d=0;d<c.length;d++)s=c[d],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof t!="function"&&!F(s))&&(s=String(s)),i&&$?l[l.length-1].$text$+=s:l.push(i?W(null,s):s),$=i)};if(a(n),e){e.key&&(r=e.key);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter(d=>c[d]).join(" "))}}const o=W(t,null);return o.$attrs$=e,l.length>0&&(o.$children$=l),o.$key$=r,o},W=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ct={},Dt=t=>t&&t.$tag$===ct,C=(t,e)=>t!=null&&!F(t)?e&4?t==="false"?!1:t===""||!!t:e&1?String(t):t:t,Wt=(t,e,n)=>{const s=g.ce(e,n);return t.dispatchEvent(s),s},L=new WeakMap,Ct=(t,e,n)=>{let s=b.get(t);lt&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=e:s.replaceSync(e)):s=e,b.set(t,s)},Gt=(t,e,n)=>{var s;const r=ft(e),i=b.get(r);if(t=t.nodeType===11?t:w,i)if(typeof i=="string"){t=t.head||t;let $=L.get(t),l;if($||L.set(t,$=new Set),!$.has(r)){{l=document.querySelector(`[${jt}="${r}"]`)||w.createElement("style"),l.innerHTML=i;const a=(s=g.$nonce$)!=null?s:$t(w);if(a!=null&&l.setAttribute("nonce",a),!(e.$flags$&1))if(t.nodeName==="HEAD"){const o=t.querySelectorAll("link[rel=preconnect]"),c=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(c==null?void 0:c.parentNode)===t?c:null)}else if("host"in t)if(lt){const o=new CSSStyleSheet;o.replaceSync(i),t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.innerHTML=i+o.innerHTML:t.prepend(l)}else t.append(l);e.$flags$&1&&t.insertBefore(l,null)}e.$flags$&4&&(l.innerHTML+=nt),$&&$.add(r)}}else t.adoptedStyleSheets.includes(i)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return r},Yt=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,s=e.$flags$,r=P("attachStyles",e.$tagName$),i=Gt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(s&10&&s&2||s&128)&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ft=(t,e)=>"sc-"+t.$tagName$,N=(t,e,n,s,r,i,$)=>{if(n!==s){let l=M(t,e),a=e.toLowerCase();if(e==="class"){const o=t.classList,c=tt(n);let d=tt(s);o.remove(...c.filter(f=>f&&!d.includes(f))),o.add(...d.filter(f=>f&&!c.includes(f)))}else if(e==="style"){for(const o in n)(!s||s[o]==null)&&(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in s)(!n||s[o]!==n[o])&&(o.includes("-")?t.style.setProperty(o,s[o]):t.style[o]=s[o])}else if(e!=="key")if(e==="ref")s&&s(t);else if(!l&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):M(H,a)?e=a.slice(2):e=a[2]+e.slice(3),n||s){const o=e.endsWith(dt);e=e.replace(Ft,""),n&&g.rel(t,e,n,o),s&&g.ael(t,e,s,o)}}else{const o=F(s);if((l||o&&s!==null)&&!r)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const c=s==null?"":s;e==="list"?l=!1:(n==null||t[e]!=c)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=c:t.setAttribute(e,c))}}catch(c){}s==null||s===!1?(s!==!1||t.getAttribute(e)==="")&&t.removeAttribute(e):(!l||i&4||r)&&!o&&(s=s===!0?"":s,t.setAttribute(e,s))}}},Xt=/\s/,tt=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),!t||typeof t!="string"?[]:t.split(Xt)),dt="Capture",Ft=new RegExp(dt+"$"),ut=(t,e,n,s)=>{const r=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,i=t&&t.$attrs$||{},$=e.$attrs$||{};for(const l of et(Object.keys(i)))l in $||N(r,l,i[l],void 0,n,e.$flags$);for(const l of et(Object.keys($)))N(r,l,i[l],$[l],n,e.$flags$)};function et(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var J,y=!1,z=(t,e,n)=>{const s=e.$children$[n];let r=0,i,$;if(s.$text$!==null)i=s.$elm$=w.createTextNode(s.$text$);else{if(y||(y=s.$tag$==="svg"),i=s.$elm$=w.createElementNS(y?_t:xt,s.$tag$),y&&s.$tag$==="foreignObject"&&(y=!1),ut(null,s,y),s.$children$)for(r=0;r<s.$children$.length;++r)$=z(t,s,r),$&&i.appendChild($);s.$tag$==="svg"?y=!1:i.tagName==="foreignObject"&&(y=!0)}return i["s-hn"]=J,i},ht=(t,e,n,s,r,i)=>{let $=t,l;for($.shadowRoot&&$.tagName===J&&($=$.shadowRoot);r<=i;++r)s[r]&&(l=z(null,n,r),l&&(s[r].$elm$=l,O($,l,e)))},gt=(t,e,n)=>{for(let s=e;s<=n;++s){const r=t[s];if(r){const i=r.$elm$;pt(r),i&&i.remove()}}},Jt=(t,e,n,s,r=!1)=>{let i=0,$=0,l=0,a=0,o=e.length-1,c=e[0],d=e[o],f=s.length-1,u=s[0],h=s[f],p,S;for(;i<=o&&$<=f;)if(c==null)c=e[++i];else if(d==null)d=e[--o];else if(u==null)u=s[++$];else if(h==null)h=s[--f];else if(j(c,u,r))x(c,u,r),c=e[++i],u=s[++$];else if(j(d,h,r))x(d,h,r),d=e[--o],h=s[--f];else if(j(c,h,r))x(c,h,r),O(t,c.$elm$,d.$elm$.nextSibling),c=e[++i],h=s[--f];else if(j(d,u,r))x(d,u,r),O(t,d.$elm$,c.$elm$),d=e[--o],u=s[++$];else{for(l=-1,a=i;a<=o;++a)if(e[a]&&e[a].$key$!==null&&e[a].$key$===u.$key$){l=a;break}l>=0?(S=e[l],S.$tag$!==u.$tag$?p=z(e&&e[$],n,l):(x(S,u,r),e[l]=void 0,p=S.$elm$),u=s[++$]):(p=z(e&&e[$],n,$),u=s[++$]),p&&O(c.$elm$.parentNode,p,c.$elm$)}i>o?ht(t,s[f+1]==null?null:s[f+1].$elm$,n,s,$,f):$>f&>(e,i,o)},j=(t,e,n=!1)=>t.$tag$===e.$tag$?n?(n&&!t.$key$&&e.$key$&&(t.$key$=e.$key$),!0):t.$key$===e.$key$:!1,x=(t,e,n=!1)=>{const s=e.$elm$=t.$elm$,r=t.$children$,i=e.$children$,$=e.$tag$,l=e.$text$;l===null?(y=$==="svg"?!0:$==="foreignObject"?!1:y,ut(t,e,y),r!==null&&i!==null?Jt(s,r,e,i,n):i!==null?(t.$text$!==null&&(s.textContent=""),ht(s,null,e,i,0,i.length-1)):!n&&G.updatable&&r!==null&>(r,0,r.length-1),y&&$==="svg"&&(y=!1)):t.$text$!==l&&(s.data=l)},pt=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(pt)},O=(t,e,n)=>t==null?void 0:t.insertBefore(e,n),Kt=(t,e,n=!1)=>{const s=t.$hostElement$,r=t.$cmpMeta$,i=t.$vnode$||W(null,null),$=Dt(e)?e:at(null,null,e);if(J=s.tagName,r.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},r.$attrsToReflect$.map(([l,a])=>$.$attrs$[a]=s[l])),n&&$.$attrs$)for(const l of Object.keys($.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&($.$attrs$[l]=s[l]);$.$tag$=null,$.$flags$|=4,t.$vnode$=$,$.$elm$=i.$elm$=s.shadowRoot||s,r.$flags$&1&&r.$flags$&128,x(i,$,n)},vt=(t,e)=>{if(e&&!t.$onRenderResolve$&&e["s-p"]){const n=e["s-p"].push(new Promise(s=>t.$onRenderResolve$=()=>{e["s-p"].splice(n-1,1),s()}))}},K=(t,e)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return vt(t,t.$ancestorComponent$),zt(()=>Qt(t,e))},Qt=(t,e)=>{const n=t.$hostElement$,s=P("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$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 i;return e&&(i=Q(r,"componentWillLoad",void 0,n)),s(),Zt(i,()=>mt(t,r,e))},Zt=(t,e)=>Mt(t)?t.then(e).catch(n=>{console.error(n),e()}):e(),Mt=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",mt=(t,e,n)=>I(exports,null,function*(){var s;const r=t.$hostElement$,i=P("update",t.$cmpMeta$.$tagName$),$=r["s-rc"];n&&Yt(t);const l=P("render",t.$cmpMeta$.$tagName$);Vt(t,e,r,n),$&&($.map(a=>a()),r["s-rc"]=void 0),l(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Nt(t);a.length===0?o():(Promise.all(a).then(o),t.$flags$|=4,a.length=0)}}),Vt=(t,e,n,s)=>{try{e=e.render(),t.$flags$&=-17,t.$flags$|=2,Kt(t,e,s)}catch(r){_(r,t.$hostElement$)}return null},Nt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,s=P("postUpdate",e),r=t.$lazyInstance$,i=t.$ancestorComponent$;t.$flags$&64?s():(t.$flags$|=64,te(n),Q(r,"componentDidLoad",void 0,n),s(),t.$onReadyResolve$(n),i||yt()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&X(()=>K(t,!1)),t.$flags$&=-517},yt=t=>{X(()=>Wt(H,"appload",{detail:{namespace:wt}}))},Q=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(r){_(r,s)}},te=t=>{var e;return t.classList.add((e=G.hydratedSelectorName)!=null?e:"hydrated")},ee=(t,e)=>k(t).$instanceValues$.get(e),q=(t,e,n,s)=>{const r=k(t);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 i=r.$hostElement$,$=r.$instanceValues$.get(e),l=r.$flags$,a=r.$lazyInstance$;n=C(n,s.$members$[e][0]);const o=Number.isNaN($)&&Number.isNaN(n),c=n!==$&&!o;if((!(l&8)||$===void 0)&&c&&(r.$instanceValues$.set(e,n),a)){if(s.$watchers$&&l&128){const d=s.$watchers$[e];d&&d.map(f=>{try{a[f](n,$,e)}catch(u){_(u,i)}})}(l&18)===2&&K(r,!1)}},St=(t,e,n)=>{var s,r;const i=t.prototype;if(e.$members$||e.$watchers$||t.watchers){t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);const $=Object.entries((s=e.$members$)!=null?s:{});if($.map(([l,[a]])=>{if(a&31||n&2&&a&32){const{get:o,set:c}=Object.getOwnPropertyDescriptor(i,l)||{};o&&(e.$members$[l][0]|=2048),c&&(e.$members$[l][0]|=4096),(n&1||!o)&&Object.defineProperty(i,l,{get(){{if(!(e.$members$[l][0]&2048))return ee(this,l);const d=k(this),f=d?d.$lazyInstance$:i;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(d){const f=k(this);if(c){const u=a&32?this[l]:f.$hostElement$[l];typeof u=="undefined"&&f.$instanceValues$.get(l)?d=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&u&&f.$instanceValues$.set(l,u),c.apply(this,[C(d,a)]),d=a&32?this[l]:f.$hostElement$[l],q(this,l,d,e);return}{if(!(n&1)||!(e.$members$[l][0]&4096)){q(this,l,d,e),n&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{e.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=d)});return}const u=()=>{const h=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&h&&f.$instanceValues$.set(l,h),f.$lazyInstance$[l]=C(d,a),q(this,l,f.$lazyInstance$[l],e)};f.$lazyInstance$?u():f.$onReadyPromise$.then(()=>u())}}})}}),n&1){const l=new Map;i.attributeChangedCallback=function(a,o,c){g.jmp(()=>{var d;const f=l.get(a);if(this.hasOwnProperty(f)&&G.lazyLoad)c=this[f],delete this[f];else{if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const h=k(this),p=h==null?void 0:h.$flags$;if(p&&!(p&8)&&p&128&&c!==o){const S=h.$lazyInstance$,v=(d=e.$watchers$)==null?void 0:d[a];v==null||v.forEach(T=>{S[T]!=null&&S[T].call(S,c,o,a)})}return}}const u=Object.getOwnPropertyDescriptor(i,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!u.get||u.set)&&(this[f]=c)})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...$.filter(([a,o])=>o[0]&15).map(([a,o])=>{var c;const d=o[1]||a;return l.set(d,a),o[0]&512&&((c=e.$attrsToReflect$)==null||c.push([a,d])),d})]))}}return t},se=(t,e,n,s)=>I(exports,null,function*(){let r;if(!(e.$flags$&32)){if(e.$flags$|=32,n.$lazyBundleId$){const a=It(n,e);if(a&&"then"in a){const c=Bt();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,St(r,n,2),r.isProxied=!0);const o=P("createInstance",n.$tagName$);e.$flags$|=8;try{new r(e)}catch(c){_(c,t)}e.$flags$&=-9,e.$flags$|=128,o()}else{r=t.constructor;const a=t.localName;customElements.whenDefined(a).then(()=>e.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=ft(n);if(!b.has(o)){const c=P("registerStyles",n.$tagName$);Ct(o,a,!!(n.$flags$&1)),c()}}}const i=e.$ancestorComponent$,$=()=>K(e,!0);i&&i["s-rc"]?i["s-rc"].push($):$()}),ne=(t,e)=>{},re=t=>{if(!(g.$flags$&1)){const e=k(t),n=e.$cmpMeta$,s=P("connectedCallback",n.$tagName$);if(e.$flags$&1)e!=null&&e.$lazyInstance$||e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>ne());else{e.$flags$|=1;{let r=t;for(;r=r.parentNode||r.host;)if(r["s-p"]){vt(e,e.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&t.hasOwnProperty(r)){const $=t[r];delete t[r],t[r]=$}}),se(t,e,n)}s()}},st=(t,e)=>{Q(t,"disconnectedCallback",void 0,e||t)},le=t=>I(exports,null,function*(){if(!(g.$flags$&1)){const e=k(t);e!=null&&e.$lazyInstance$?st(e.$lazyInstance$,t):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>st(e.$lazyInstance$,t))}L.has(t)&&L.delete(t),t.shadowRoot&&L.has(t.shadowRoot)&&L.delete(t.shadowRoot)}),ie=(t,e={})=>{var n;const s=P(),r=[],i=e.exclude||[],$=H.customElements,l=w.head,a=l.querySelector("meta[charset]"),o=w.createElement("style"),c=[];let d,f=!0;Object.assign(g,e),g.$resourcesUrl$=new URL(e.resourcesUrl||"./",w.baseURI).href;let u=!1;if(t.map(h=>{h[1].map(p=>{var S;const v={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};v.$flags$&4&&(u=!0),v.$members$=p[2],v.$attrsToReflect$=[],v.$watchers$=(S=p[4])!=null?S:{};const T=v.$tagName$,Et=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,At(E,v),v.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),d&&(clearTimeout(d),d=null),f?c.push(this):g.jmp(()=>re(this))}disconnectedCallback(){g.jmp(()=>le(this)),g.raf(()=>{var E;const A=k(this),Z=c.findIndex(kt=>kt===this);Z>-1&&c.splice(Z,1),((E=A==null?void 0:A.$vnode$)==null?void 0:E.$elm$)instanceof Node&&!A.$vnode$.$elm$.isConnected&&delete A.$vnode$.$elm$})}componentOnReady(){return k(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!i.includes(T)&&!$.get(T)&&(r.push(T),$.define(T,St(Et,v,1)))})}),r.length>0&&(u&&(o.textContent+=nt),o.textContent+=r.sort()+Ot,o.innerHTML.length)){o.setAttribute("data-styles","");const h=(n=g.$nonce$)!=null?n:$t(w);h!=null&&o.setAttribute("nonce",h),l.insertBefore(o,a?a.nextSibling:l.firstChild)}f=!1,c.length?c.map(h=>h.connectedCallback()):g.jmp(()=>d=setTimeout(yt,30)),s()};exports.Host=ct;exports.bootstrapLazy=ie;exports.h=at;exports.promiseResolve=rt;exports.registerInstance=Lt;
|