@everymatrix/casino-header-controller 1.46.1 → 1.47.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHamburgerMenu-BLnwex5I.js → CasinoHamburgerMenu-CmCkLB4F.js} +40 -45
- package/components/{CasinoHamburgerMenu-B0MV4RSB.cjs → CasinoHamburgerMenu-D6xfwroF.cjs} +4 -4
- package/components/{CasinoHeaderController-BVr_q9Vp.js → CasinoHeaderController-DAO7jv0Y.js} +717 -716
- package/components/CasinoHeaderController-DxmP4ePL.cjs +13 -0
- package/components/{CasinoSlider-Cnzis9s1.cjs → CasinoSlider-CFjBjxHs.cjs} +1 -1
- package/components/{CasinoSlider-C4IgBaEw.js → CasinoSlider-DcdD-Py4.js} +33 -33
- package/components/{PlayerAccountBalanceModal-3z_EZKxf.js → PlayerAccountBalanceModal-D_7mxRRa.js} +74 -74
- package/components/{PlayerAccountBalanceModal-HFQ5gcqb.cjs → PlayerAccountBalanceModal-PHlPdidE.cjs} +1 -1
- package/components/{PlayerDeposit-DvSu-Mhc.cjs → PlayerDeposit-DFlkKPaF.cjs} +1 -1
- package/components/{PlayerDeposit-BF-HVwV0.js → PlayerDeposit-DivG_9y4.js} +33 -33
- 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
- package/components/CasinoHeaderController-BNRLOF6n.cjs +0 -13
@@ -0,0 +1,580 @@
|
|
1
|
+
var L = (e, t, n) => new Promise((s, r) => {
|
2
|
+
var o = (a) => {
|
3
|
+
try {
|
4
|
+
i(n.next(a));
|
5
|
+
} catch (c) {
|
6
|
+
r(c);
|
7
|
+
}
|
8
|
+
}, l = (a) => {
|
9
|
+
try {
|
10
|
+
i(n.throw(a));
|
11
|
+
} catch (c) {
|
12
|
+
r(c);
|
13
|
+
}
|
14
|
+
}, i = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(o, l);
|
15
|
+
i((n = n.apply(e, t)).next());
|
16
|
+
});
|
17
|
+
const ge = "user-deposit-withdrawal", O = (
|
18
|
+
/* user-deposit-withdrawal */
|
19
|
+
{ 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 }
|
20
|
+
);
|
21
|
+
var ye = Object.defineProperty, me = (e, t) => {
|
22
|
+
for (var n in t)
|
23
|
+
ye(e, n, { get: t[n], enumerable: !0 });
|
24
|
+
}, F = /* @__PURE__ */ new WeakMap(), k = (e) => F.get(e), at = (e, t) => F.set(t.$lazyInstance$ = e, t), Se = (e, t) => {
|
25
|
+
const n = {
|
26
|
+
$flags$: 0,
|
27
|
+
$hostElement$: e,
|
28
|
+
$cmpMeta$: t,
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
30
|
+
};
|
31
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], F.set(e, n);
|
32
|
+
}, X = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), I = /* @__PURE__ */ new Map(), Ee = (e, t, n) => {
|
33
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
34
|
+
if (!r)
|
35
|
+
return;
|
36
|
+
const o = I.get(r);
|
37
|
+
if (o)
|
38
|
+
return o[s];
|
39
|
+
{
|
40
|
+
const l = (i) => (I.set(r, i), i[s]);
|
41
|
+
switch (r) {
|
42
|
+
case "user-deposit-withdrawal":
|
43
|
+
return import(
|
44
|
+
/* webpackMode: "lazy" */
|
45
|
+
"./user-deposit-withdrawal-BiyOoXm8.js"
|
46
|
+
).then(l, w);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
return import(
|
50
|
+
/* @vite-ignore */
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
53
|
+
/* webpackMode: "lazy" */
|
54
|
+
`./${r}.entry.js`
|
55
|
+
).then((l) => (I.set(r, l), l[s]), w);
|
56
|
+
}, j = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", D = typeof window != "undefined" ? window : {}, S = D.document || { head: {} }, h = {
|
57
|
+
$flags$: 0,
|
58
|
+
$resourcesUrl$: "",
|
59
|
+
jmp: (e) => e(),
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
61
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
62
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
64
|
+
}, ke = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
|
65
|
+
try {
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
67
|
+
} catch (e) {
|
68
|
+
}
|
69
|
+
return !1;
|
70
|
+
})(), R = !1, N = [], se = [], xe = (e, t) => (n) => {
|
71
|
+
e.push(n), R || (R = !0, h.$flags$ & 4 ? W(H) : h.raf(H));
|
72
|
+
}, Q = (e) => {
|
73
|
+
for (let t = 0; t < e.length; t++)
|
74
|
+
try {
|
75
|
+
e[t](performance.now());
|
76
|
+
} catch (n) {
|
77
|
+
w(n);
|
78
|
+
}
|
79
|
+
e.length = 0;
|
80
|
+
}, H = () => {
|
81
|
+
Q(N), Q(se), (R = N.length > 0) && h.raf(H);
|
82
|
+
}, W = (e) => ke().then(e), Te = /* @__PURE__ */ xe(se), Y = {}, Le = "http://www.w3.org/2000/svg", Pe = "http://www.w3.org/1999/xhtml", Ae = (e) => e != null, q = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
+
function re(e) {
|
84
|
+
var t, n, s;
|
85
|
+
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;
|
86
|
+
}
|
87
|
+
var _e = {};
|
88
|
+
me(_e, {
|
89
|
+
err: () => ne,
|
90
|
+
map: () => Oe,
|
91
|
+
ok: () => z,
|
92
|
+
unwrap: () => je,
|
93
|
+
unwrapErr: () => Ce
|
94
|
+
});
|
95
|
+
var z = (e) => ({
|
96
|
+
isOk: !0,
|
97
|
+
isErr: !1,
|
98
|
+
value: e
|
99
|
+
}), ne = (e) => ({
|
100
|
+
isOk: !1,
|
101
|
+
isErr: !0,
|
102
|
+
value: e
|
103
|
+
});
|
104
|
+
function Oe(e, t) {
|
105
|
+
if (e.isOk) {
|
106
|
+
const n = t(e.value);
|
107
|
+
return n instanceof Promise ? n.then((s) => z(s)) : z(n);
|
108
|
+
}
|
109
|
+
if (e.isErr) {
|
110
|
+
const n = e.value;
|
111
|
+
return ne(n);
|
112
|
+
}
|
113
|
+
throw "should never get here";
|
114
|
+
}
|
115
|
+
var je = (e) => {
|
116
|
+
if (e.isOk)
|
117
|
+
return e.value;
|
118
|
+
throw e.value;
|
119
|
+
}, Ce = (e) => {
|
120
|
+
if (e.isErr)
|
121
|
+
return e.value;
|
122
|
+
throw e.value;
|
123
|
+
}, E = (e, t = "") => () => {
|
124
|
+
}, Ue = (e, t) => () => {
|
125
|
+
}, De = (e, t, ...n) => {
|
126
|
+
let s = null, r = null, o = !1, l = !1;
|
127
|
+
const i = [], a = ($) => {
|
128
|
+
for (let f = 0; f < $.length; f++)
|
129
|
+
s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((o = typeof e != "function" && !q(s)) && (s = String(s)), o && l ? i[i.length - 1].$text$ += s : i.push(o ? B(null, s) : s), l = o);
|
130
|
+
};
|
131
|
+
if (a(n), t) {
|
132
|
+
t.key && (r = t.key);
|
133
|
+
{
|
134
|
+
const $ = t.className || t.class;
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
136
|
+
}
|
137
|
+
}
|
138
|
+
const c = B(e, null);
|
139
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
|
140
|
+
}, B = (e, t) => {
|
141
|
+
const n = {
|
142
|
+
$flags$: 0,
|
143
|
+
$tag$: e,
|
144
|
+
$text$: t,
|
145
|
+
$elm$: null,
|
146
|
+
$children$: null
|
147
|
+
};
|
148
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
149
|
+
}, Ie = {}, Re = (e) => e && e.$tag$ === Ie, He = (e, t) => e != null && !q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, ze = (e, t, n) => {
|
150
|
+
const s = h.ce(t, n);
|
151
|
+
return e.dispatchEvent(s), s;
|
152
|
+
}, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, n) => {
|
153
|
+
let s = j.get(e);
|
154
|
+
we && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
|
155
|
+
}, Fe = (e, t, n) => {
|
156
|
+
var s;
|
157
|
+
const r = le(t), o = j.get(r);
|
158
|
+
if (e = e.nodeType === 11 ? e : S, o)
|
159
|
+
if (typeof o == "string") {
|
160
|
+
e = e.head || e;
|
161
|
+
let l = J.get(e), i;
|
162
|
+
if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
163
|
+
{
|
164
|
+
i = S.createElement("style"), i.innerHTML = o;
|
165
|
+
const a = (s = h.$nonce$) != null ? s : re(S);
|
166
|
+
a != null && i.setAttribute("nonce", a), /**
|
167
|
+
* we render a scoped component
|
168
|
+
*/
|
169
|
+
(!(t.$flags$ & 1) || /**
|
170
|
+
* we are using shadow dom and render the style tag within the shadowRoot
|
171
|
+
*/
|
172
|
+
t.$flags$ & 1 && e.nodeName !== "HEAD") && e.insertBefore(i, e.querySelector("link"));
|
173
|
+
}
|
174
|
+
t.$flags$ & 4 && (i.innerHTML += te), l && l.add(r);
|
175
|
+
}
|
176
|
+
} else e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
|
177
|
+
return r;
|
178
|
+
}, We = (e) => {
|
179
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = E("attachStyles", t.$tagName$), o = Fe(
|
180
|
+
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
181
|
+
t
|
182
|
+
);
|
183
|
+
s & 10 && s & 2 && (n["s-sc"] = o, n.classList.add(o + "-h")), r();
|
184
|
+
}, le = (e, t) => "sc-" + e.$tagName$, K = (e, t, n, s, r, o) => {
|
185
|
+
if (n !== s) {
|
186
|
+
let l = X(e, t), i = t.toLowerCase();
|
187
|
+
if (t === "class") {
|
188
|
+
const a = e.classList, c = Z(n), $ = Z(s);
|
189
|
+
a.remove(...c.filter((f) => f && !$.includes(f))), a.add(...$.filter((f) => f && !c.includes(f)));
|
190
|
+
} else if (t === "style") {
|
191
|
+
for (const a in n)
|
192
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
193
|
+
for (const a in s)
|
194
|
+
(!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
195
|
+
} else if (t !== "key") if (t === "ref")
|
196
|
+
s && s(e);
|
197
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
198
|
+
if (t[2] === "-" ? t = t.slice(3) : X(D, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
|
199
|
+
const a = t.endsWith(ae);
|
200
|
+
t = t.replace(Me, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
|
201
|
+
}
|
202
|
+
} else {
|
203
|
+
const a = q(s);
|
204
|
+
if ((l || a && s !== null) && !r)
|
205
|
+
try {
|
206
|
+
if (e.tagName.includes("-"))
|
207
|
+
e[t] = s;
|
208
|
+
else {
|
209
|
+
const c = s == null ? "" : s;
|
210
|
+
t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
|
211
|
+
}
|
212
|
+
} catch (c) {
|
213
|
+
}
|
214
|
+
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));
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}, qe = /\s/, Z = (e) => e ? e.split(qe) : [], ae = "Capture", Me = new RegExp(ae + "$"), oe = (e, t, n) => {
|
218
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || Y, o = t.$attrs$ || Y;
|
219
|
+
for (const l of V(Object.keys(r)))
|
220
|
+
l in o || K(s, l, r[l], void 0, n, t.$flags$);
|
221
|
+
for (const l of V(Object.keys(o)))
|
222
|
+
K(s, l, r[l], o[l], n, t.$flags$);
|
223
|
+
};
|
224
|
+
function V(e) {
|
225
|
+
return e.includes("ref") ? (
|
226
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
227
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
228
|
+
) : (
|
229
|
+
// no need to sort, return the original array
|
230
|
+
e
|
231
|
+
);
|
232
|
+
}
|
233
|
+
var A, M, ie = !1, y = !1, C = (e, t, n, s) => {
|
234
|
+
const r = t.$children$[n];
|
235
|
+
let o = 0, l, i;
|
236
|
+
if (r.$text$ !== null)
|
237
|
+
l = r.$elm$ = S.createTextNode(r.$text$);
|
238
|
+
else {
|
239
|
+
if (y || (y = r.$tag$ === "svg"), l = r.$elm$ = S.createElementNS(
|
240
|
+
y ? Le : Pe,
|
241
|
+
!ie && O.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
242
|
+
), y && r.$tag$ === "foreignObject" && (y = !1), oe(null, r, y), !!l.getRootNode().querySelector("body") && O.scoped && Ae(A) && l["s-si"] !== A && l.classList.add(l["s-si"] = A), r.$children$)
|
243
|
+
for (o = 0; o < r.$children$.length; ++o)
|
244
|
+
i = C(e, r, o), i && l.appendChild(i);
|
245
|
+
r.$tag$ === "svg" ? y = !1 : l.tagName === "foreignObject" && (y = !0);
|
246
|
+
}
|
247
|
+
return l["s-hn"] = M, l;
|
248
|
+
}, ce = (e, t, n, s, r, o) => {
|
249
|
+
let l = e, i;
|
250
|
+
for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); r <= o; ++r)
|
251
|
+
s[r] && (i = C(null, n, r), i && (s[r].$elm$ = i, _(l, i, t)));
|
252
|
+
}, $e = (e, t, n) => {
|
253
|
+
for (let s = t; s <= n; ++s) {
|
254
|
+
const r = e[s];
|
255
|
+
if (r) {
|
256
|
+
const o = r.$elm$;
|
257
|
+
fe(r), o && o.remove();
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}, Ge = (e, t, n, s, r = !1) => {
|
261
|
+
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;
|
262
|
+
for (; o <= c && l <= d; )
|
263
|
+
if ($ == null)
|
264
|
+
$ = t[++o];
|
265
|
+
else if (f == null)
|
266
|
+
f = t[--c];
|
267
|
+
else if (u == null)
|
268
|
+
u = s[++l];
|
269
|
+
else if (p == null)
|
270
|
+
p = s[--d];
|
271
|
+
else if (P($, u, r))
|
272
|
+
x($, u, r), $ = t[++o], u = s[++l];
|
273
|
+
else if (P(f, p, r))
|
274
|
+
x(f, p, r), f = t[--c], p = s[--d];
|
275
|
+
else if (P($, p, r))
|
276
|
+
x($, p, r), _(e, $.$elm$, f.$elm$.nextSibling), $ = t[++o], p = s[--d];
|
277
|
+
else if (P(f, u, r))
|
278
|
+
x(f, u, r), _(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
|
279
|
+
else {
|
280
|
+
for (i = -1, a = o; a <= c; ++a)
|
281
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
282
|
+
i = a;
|
283
|
+
break;
|
284
|
+
}
|
285
|
+
i >= 0 ? (m = t[i], m.$tag$ !== u.$tag$ ? v = C(t && t[l], n, i) : (x(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$);
|
286
|
+
}
|
287
|
+
o > c ? ce(
|
288
|
+
e,
|
289
|
+
s[d + 1] == null ? null : s[d + 1].$elm$,
|
290
|
+
n,
|
291
|
+
s,
|
292
|
+
l,
|
293
|
+
d
|
294
|
+
) : l > d && $e(t, o, c);
|
295
|
+
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, x = (e, t, n = !1) => {
|
296
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, o = t.$children$, l = t.$tag$, i = t.$text$;
|
297
|
+
i === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, oe(e, t, y), r !== null && o !== null ? Ge(s, r, t, o, n) : o !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, o, 0, o.length - 1)) : (
|
298
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
299
|
+
!n && O.updatable && r !== null && $e(r, 0, r.length - 1)
|
300
|
+
), y && l === "svg" && (y = !1)) : e.$text$ !== i && (s.data = i);
|
301
|
+
}, fe = (e) => {
|
302
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
|
303
|
+
}, _ = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Xe = (e, t, n = !1) => {
|
304
|
+
const s = e.$hostElement$, r = e.$cmpMeta$, o = e.$vnode$ || B(null, null), l = Re(t) ? t : De(null, null, t);
|
305
|
+
if (M = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
|
306
|
+
([i, a]) => l.$attrs$[a] = s[i]
|
307
|
+
)), n && l.$attrs$)
|
308
|
+
for (const i of Object.keys(l.$attrs$))
|
309
|
+
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
310
|
+
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = o.$elm$ = s.shadowRoot || s, A = s["s-sc"], ie = (r.$flags$ & 1) !== 0, x(o, l, n);
|
311
|
+
}, de = (e, t) => {
|
312
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
313
|
+
}, G = (e, t) => {
|
314
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
315
|
+
e.$flags$ |= 512;
|
316
|
+
return;
|
317
|
+
}
|
318
|
+
return de(e, e.$ancestorComponent$), Te(() => Ne(e, t));
|
319
|
+
}, Ne = (e, t) => {
|
320
|
+
const n = e.$hostElement$, s = E("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
321
|
+
if (!r)
|
322
|
+
throw new Error(
|
323
|
+
`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`
|
324
|
+
);
|
325
|
+
let o;
|
326
|
+
return t && (o = U(r, "componentWillLoad")), s(), Qe(o, () => Je(e, r, t));
|
327
|
+
}, Qe = (e, t) => Ye(e) ? e.then(t).catch((n) => {
|
328
|
+
console.error(n), t();
|
329
|
+
}) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = (e, t, n) => L(void 0, null, function* () {
|
330
|
+
var s;
|
331
|
+
const r = e.$hostElement$, o = E("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
332
|
+
n && We(e);
|
333
|
+
const i = E("render", e.$cmpMeta$.$tagName$);
|
334
|
+
Ke(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), i(), o();
|
335
|
+
{
|
336
|
+
const a = (s = r["s-p"]) != null ? s : [], c = () => Ze(e);
|
337
|
+
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
338
|
+
}
|
339
|
+
}), Ke = (e, t, n, s) => {
|
340
|
+
try {
|
341
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Xe(e, t, s);
|
342
|
+
} catch (r) {
|
343
|
+
w(r, e.$hostElement$);
|
344
|
+
}
|
345
|
+
return null;
|
346
|
+
}, Ze = (e) => {
|
347
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = E("postUpdate", t), r = e.$lazyInstance$, o = e.$ancestorComponent$;
|
348
|
+
U(r, "componentDidRender"), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(n), U(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), o || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && W(() => G(e, !1)), e.$flags$ &= -517;
|
349
|
+
}, ue = (e) => {
|
350
|
+
pe(S.documentElement), W(() => ze(D, "appload", { detail: { namespace: ge } }));
|
351
|
+
}, U = (e, t, n) => {
|
352
|
+
if (e && e[t])
|
353
|
+
try {
|
354
|
+
return e[t](n);
|
355
|
+
} catch (s) {
|
356
|
+
w(s);
|
357
|
+
}
|
358
|
+
}, pe = (e) => {
|
359
|
+
var t;
|
360
|
+
return e.classList.add((t = O.hydratedSelectorName) != null ? t : "hydrated");
|
361
|
+
}, Ve = (e, t) => k(e).$instanceValues$.get(t), et = (e, t, n, s) => {
|
362
|
+
const r = k(e);
|
363
|
+
if (!r)
|
364
|
+
throw new Error(
|
365
|
+
`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).`
|
366
|
+
);
|
367
|
+
const o = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, a = r.$lazyInstance$;
|
368
|
+
n = He(n, s.$members$[t][0]);
|
369
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
370
|
+
if ((!(i & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
|
371
|
+
if (s.$watchers$ && i & 128) {
|
372
|
+
const f = s.$watchers$[t];
|
373
|
+
f && f.map((d) => {
|
374
|
+
try {
|
375
|
+
a[d](n, l, t);
|
376
|
+
} catch (u) {
|
377
|
+
w(u, o);
|
378
|
+
}
|
379
|
+
});
|
380
|
+
}
|
381
|
+
(i & 18) === 2 && G(r, !1);
|
382
|
+
}
|
383
|
+
}, ve = (e, t, n) => {
|
384
|
+
var s, r;
|
385
|
+
const o = e.prototype;
|
386
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
387
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
388
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
389
|
+
if (l.map(([i, [a]]) => {
|
390
|
+
(a & 31 || n & 2 && a & 32) && Object.defineProperty(o, i, {
|
391
|
+
get() {
|
392
|
+
return Ve(this, i);
|
393
|
+
},
|
394
|
+
set(c) {
|
395
|
+
et(this, i, c, t);
|
396
|
+
},
|
397
|
+
configurable: !0,
|
398
|
+
enumerable: !0
|
399
|
+
});
|
400
|
+
}), n & 1) {
|
401
|
+
const i = /* @__PURE__ */ new Map();
|
402
|
+
o.attributeChangedCallback = function(a, c, $) {
|
403
|
+
h.jmp(() => {
|
404
|
+
var f;
|
405
|
+
const d = i.get(a);
|
406
|
+
if (this.hasOwnProperty(d))
|
407
|
+
$ = this[d], delete this[d];
|
408
|
+
else {
|
409
|
+
if (o.hasOwnProperty(d) && typeof this[d] == "number" && // cast type to number to avoid TS compiler issues
|
410
|
+
this[d] == $)
|
411
|
+
return;
|
412
|
+
if (d == null) {
|
413
|
+
const u = k(this), p = u == null ? void 0 : u.$flags$;
|
414
|
+
if (p && !(p & 8) && p & 128 && $ !== c) {
|
415
|
+
const v = u.$lazyInstance$, m = (f = t.$watchers$) == null ? void 0 : f[a];
|
416
|
+
m == null || m.forEach((g) => {
|
417
|
+
v[g] != null && v[g].call(v, $, c, a);
|
418
|
+
});
|
419
|
+
}
|
420
|
+
return;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
|
424
|
+
});
|
425
|
+
}, e.observedAttributes = Array.from(
|
426
|
+
/* @__PURE__ */ new Set([
|
427
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
428
|
+
...l.filter(
|
429
|
+
([a, c]) => c[0] & 15
|
430
|
+
/* HasAttribute */
|
431
|
+
).map(([a, c]) => {
|
432
|
+
var $;
|
433
|
+
const f = c[1] || a;
|
434
|
+
return i.set(f, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, f])), f;
|
435
|
+
})
|
436
|
+
])
|
437
|
+
);
|
438
|
+
}
|
439
|
+
}
|
440
|
+
return e;
|
441
|
+
}, tt = (e, t, n, s) => L(void 0, null, function* () {
|
442
|
+
let r;
|
443
|
+
if (!(t.$flags$ & 32)) {
|
444
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
445
|
+
const a = Ee(n);
|
446
|
+
if (a && "then" in a) {
|
447
|
+
const $ = Ue();
|
448
|
+
r = yield a, $();
|
449
|
+
} else
|
450
|
+
r = a;
|
451
|
+
if (!r)
|
452
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
453
|
+
r.isProxied || (n.$watchers$ = r.watchers, ve(
|
454
|
+
r,
|
455
|
+
n,
|
456
|
+
2
|
457
|
+
/* proxyState */
|
458
|
+
), r.isProxied = !0);
|
459
|
+
const c = E("createInstance", n.$tagName$);
|
460
|
+
t.$flags$ |= 8;
|
461
|
+
try {
|
462
|
+
new r(t);
|
463
|
+
} catch ($) {
|
464
|
+
w($);
|
465
|
+
}
|
466
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
467
|
+
} else {
|
468
|
+
r = e.constructor;
|
469
|
+
const a = e.localName;
|
470
|
+
customElements.whenDefined(a).then(
|
471
|
+
() => t.$flags$ |= 128
|
472
|
+
/* isWatchReady */
|
473
|
+
);
|
474
|
+
}
|
475
|
+
if (r && r.style) {
|
476
|
+
let a;
|
477
|
+
typeof r.style == "string" && (a = r.style);
|
478
|
+
const c = le(n);
|
479
|
+
if (!j.has(c)) {
|
480
|
+
const $ = E("registerStyles", n.$tagName$);
|
481
|
+
Be(c, a, !!(n.$flags$ & 1)), $();
|
482
|
+
}
|
483
|
+
}
|
484
|
+
}
|
485
|
+
const o = t.$ancestorComponent$, l = () => G(t, !0);
|
486
|
+
o && o["s-rc"] ? o["s-rc"].push(l) : l();
|
487
|
+
}), st = (e) => {
|
488
|
+
}, rt = (e) => {
|
489
|
+
if (!(h.$flags$ & 1)) {
|
490
|
+
const t = k(e), n = t.$cmpMeta$, s = E("connectedCallback", n.$tagName$);
|
491
|
+
if (t.$flags$ & 1)
|
492
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => st());
|
493
|
+
else {
|
494
|
+
t.$flags$ |= 1;
|
495
|
+
{
|
496
|
+
let r = e;
|
497
|
+
for (; r = r.parentNode || r.host; )
|
498
|
+
if (r["s-p"]) {
|
499
|
+
de(t, t.$ancestorComponent$ = r);
|
500
|
+
break;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [o]]) => {
|
504
|
+
if (o & 31 && e.hasOwnProperty(r)) {
|
505
|
+
const l = e[r];
|
506
|
+
delete e[r], e[r] = l;
|
507
|
+
}
|
508
|
+
}), tt(e, t, n);
|
509
|
+
}
|
510
|
+
s();
|
511
|
+
}
|
512
|
+
}, ee = (e) => {
|
513
|
+
U(e, "disconnectedCallback");
|
514
|
+
}, nt = (e) => L(void 0, null, function* () {
|
515
|
+
if (!(h.$flags$ & 1)) {
|
516
|
+
const t = k(e);
|
517
|
+
t != null && t.$lazyInstance$ ? ee(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ee(t.$lazyInstance$));
|
518
|
+
}
|
519
|
+
}), ot = (e, t = {}) => {
|
520
|
+
var n;
|
521
|
+
const s = E(), r = [], o = t.exclude || [], l = D.customElements, i = S.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ S.createElement("style"), $ = [];
|
522
|
+
let f, d = !0;
|
523
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
|
524
|
+
let u = !1;
|
525
|
+
if (e.map((p) => {
|
526
|
+
p[1].map((v) => {
|
527
|
+
var m;
|
528
|
+
const g = {
|
529
|
+
$flags$: v[0],
|
530
|
+
$tagName$: v[1],
|
531
|
+
$members$: v[2],
|
532
|
+
$listeners$: v[3]
|
533
|
+
};
|
534
|
+
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (m = v[4]) != null ? m : {};
|
535
|
+
const T = g.$tagName$, he = class extends HTMLElement {
|
536
|
+
// StencilLazyHost
|
537
|
+
constructor(b) {
|
538
|
+
if (super(b), this.hasRegisteredEventListeners = !1, b = this, Se(b, g), g.$flags$ & 1) {
|
539
|
+
if (!b.shadowRoot)
|
540
|
+
b.attachShadow({ mode: "open" });
|
541
|
+
else if (b.shadowRoot.mode !== "open")
|
542
|
+
throw new Error(
|
543
|
+
`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
544
|
+
);
|
545
|
+
}
|
546
|
+
}
|
547
|
+
connectedCallback() {
|
548
|
+
k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : h.jmp(() => rt(this));
|
549
|
+
}
|
550
|
+
disconnectedCallback() {
|
551
|
+
h.jmp(() => nt(this));
|
552
|
+
}
|
553
|
+
componentOnReady() {
|
554
|
+
return k(this).$onReadyPromise$;
|
555
|
+
}
|
556
|
+
};
|
557
|
+
g.$lazyBundleId$ = p[0], !o.includes(T) && !l.get(T) && (r.push(T), l.define(
|
558
|
+
T,
|
559
|
+
ve(
|
560
|
+
he,
|
561
|
+
g,
|
562
|
+
1
|
563
|
+
/* isElementConstructor */
|
564
|
+
)
|
565
|
+
));
|
566
|
+
});
|
567
|
+
}), r.length > 0 && (u && (c.textContent += te), c.textContent += r.sort() + be, c.innerHTML.length)) {
|
568
|
+
c.setAttribute("data-styles", "");
|
569
|
+
const p = (n = h.$nonce$) != null ? n : re(S);
|
570
|
+
p != null && c.setAttribute("nonce", p), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
|
571
|
+
}
|
572
|
+
d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
|
573
|
+
};
|
574
|
+
export {
|
575
|
+
Ie as H,
|
576
|
+
ot as b,
|
577
|
+
De as h,
|
578
|
+
ke as p,
|
579
|
+
at as r
|
580
|
+
};
|