@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.
Files changed (36) hide show
  1. package/components/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-B2TeHkyB.js} +800 -822
  2. package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-CUR5gaxv.js} +648 -670
  3. package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
  4. package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
  5. package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-CrEqMU6h.js} +561 -527
  6. package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-Cv1RNj2L.js} +619 -585
  7. package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
  8. package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-CS-q7BSV.js} +101 -101
  9. package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-DrD2osTb.js} +98 -98
  10. package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
  11. package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
  12. package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
  13. package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-BlD-xNdY.js} +93 -93
  14. package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DwGrlu-U.js} +93 -93
  15. package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-c7e52808-DGZdfQYz.cjs +1 -0
  21. package/stencil/index-c7e52808-RGphQbEA.js +638 -0
  22. package/stencil/index-c7e52808-yJXIboHF.js +654 -0
  23. package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-1SJnPWvi.js} +268 -251
  24. package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-BiZKbrT_.js} +194 -177
  25. package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
  26. package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +0 -8
  27. package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
  28. package/components/CasinoSlider-DDycojG8.cjs +0 -1
  29. package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +0 -13
  30. package/components/PlayerAccountBalanceModal-CcASksA3.js +0 -1507
  31. package/components/PlayerAccountBalanceModal-DG6GgVDp.js +0 -1536
  32. package/components/PlayerDeposit-C8ZPqrpV.cjs +0 -1
  33. package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
  34. package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
  35. package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
  36. package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -0,0 +1,654 @@
1
+ var j = (t, e, n) => new Promise((s, r) => {
2
+ var i = (a) => {
3
+ try {
4
+ l(n.next(a));
5
+ } catch (o) {
6
+ r(o);
7
+ }
8
+ }, $ = (a) => {
9
+ try {
10
+ l(n.throw(a));
11
+ } catch (o) {
12
+ r(o);
13
+ }
14
+ }, l = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, $);
15
+ l((n = n.apply(t, e)).next());
16
+ });
17
+ const St = "user-deposit-withdrawal", G = (
18
+ /* user-deposit-withdrawal */
19
+ { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
20
+ );
21
+ var Et = Object.defineProperty, kt = (t, e) => {
22
+ for (var n in e)
23
+ Et(t, n, { get: e[n], enumerable: !0 });
24
+ }, wt = "http://www.w3.org/2000/svg", xt = "http://www.w3.org/1999/xhtml", Y = /* @__PURE__ */ new WeakMap(), k = (t) => Y.get(t), ie = (t, e) => {
25
+ Y.set(e.$lazyInstance$ = t, e);
26
+ }, Tt = (t, e) => {
27
+ const n = {
28
+ $flags$: 0,
29
+ $hostElement$: t,
30
+ $cmpMeta$: e,
31
+ $instanceValues$: /* @__PURE__ */ new Map()
32
+ };
33
+ return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Y.set(t, n);
34
+ }, M = (t, e) => e in t, P = (t, e) => (0, console.error)(t, e), U = /* @__PURE__ */ new Map(), Pt = (t, e, n) => {
35
+ const s = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
36
+ if (!r)
37
+ return;
38
+ const i = U.get(r);
39
+ if (i)
40
+ return i[s];
41
+ {
42
+ const $ = (l) => (U.set(r, l), l[s]);
43
+ switch (r) {
44
+ case "user-deposit-withdrawal":
45
+ return import(
46
+ /* webpackMode: "lazy" */
47
+ "./user-deposit-withdrawal-1SJnPWvi.js"
48
+ ).then($, P);
49
+ }
50
+ }
51
+ return import(
52
+ /* @vite-ignore */
53
+ /* webpackInclude: /\.entry\.js$/ */
54
+ /* webpackExclude: /\.system\.entry\.js$/ */
55
+ /* webpackMode: "lazy" */
56
+ `./${r}.entry.js`
57
+ ).then(
58
+ ($) => (U.set(r, $), $[s]),
59
+ ($) => {
60
+ P($, e.$hostElement$);
61
+ }
62
+ );
63
+ }, b = /* @__PURE__ */ new Map(), _t = "sty-id", Lt = "{visibility:hidden}.hydrated{visibility:inherit}", nt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", H = typeof window != "undefined" ? window : {}, w = H.document || { head: {} }, p = {
64
+ $flags$: 0,
65
+ $resourcesUrl$: "",
66
+ jmp: (t) => t(),
67
+ raf: (t) => requestAnimationFrame(t),
68
+ ael: (t, e, n, s) => t.addEventListener(e, n, s),
69
+ rel: (t, e, n, s) => t.removeEventListener(e, n, s),
70
+ ce: (t, e) => new CustomEvent(t, e)
71
+ }, At = (t) => Promise.resolve(t), rt = /* @__PURE__ */ (() => {
72
+ try {
73
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
74
+ } catch (t) {
75
+ }
76
+ return !1;
77
+ })(), B = !1, m = [], lt = [], jt = (t, e) => (n) => {
78
+ t.push(n), B || (B = !0, p.$flags$ & 4 ? X(R) : p.raf(R));
79
+ }, V = (t) => {
80
+ for (let e = 0; e < t.length; e++)
81
+ try {
82
+ t[e](performance.now());
83
+ } catch (n) {
84
+ P(n);
85
+ }
86
+ t.length = 0;
87
+ }, R = () => {
88
+ V(m), V(lt), (B = m.length > 0) && p.raf(R);
89
+ }, X = (t) => At().then(t), It = /* @__PURE__ */ jt(lt), F = (t) => (t = typeof t, t === "object" || t === "function");
90
+ function it(t) {
91
+ var e, n, s;
92
+ 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;
93
+ }
94
+ var Ot = {};
95
+ kt(Ot, {
96
+ err: () => $t,
97
+ map: () => bt,
98
+ ok: () => D,
99
+ unwrap: () => zt,
100
+ unwrapErr: () => Ht
101
+ });
102
+ var D = (t) => ({
103
+ isOk: !0,
104
+ isErr: !1,
105
+ value: t
106
+ }), $t = (t) => ({
107
+ isOk: !1,
108
+ isErr: !0,
109
+ value: t
110
+ });
111
+ function bt(t, e) {
112
+ if (t.isOk) {
113
+ const n = e(t.value);
114
+ return n instanceof Promise ? n.then((s) => D(s)) : D(n);
115
+ }
116
+ if (t.isErr) {
117
+ const n = t.value;
118
+ return $t(n);
119
+ }
120
+ throw "should never get here";
121
+ }
122
+ var zt = (t) => {
123
+ if (t.isOk)
124
+ return t.value;
125
+ throw t.value;
126
+ }, Ht = (t) => {
127
+ if (t.isErr)
128
+ return t.value;
129
+ throw t.value;
130
+ }, x = (t, e = "") => () => {
131
+ }, Ut = (t, e) => () => {
132
+ }, qt = (t, e, ...n) => {
133
+ let s = null, r = null, i = !1, $ = !1;
134
+ const l = [], a = (c) => {
135
+ for (let d = 0; d < c.length; d++)
136
+ 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);
137
+ };
138
+ if (a(n), e) {
139
+ e.key && (r = e.key);
140
+ {
141
+ const c = e.className || e.class;
142
+ c && (e.class = typeof c != "object" ? c : Object.keys(c).filter((d) => c[d]).join(" "));
143
+ }
144
+ }
145
+ const o = W(t, null);
146
+ return o.$attrs$ = e, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
147
+ }, W = (t, e) => {
148
+ const n = {
149
+ $flags$: 0,
150
+ $tag$: t,
151
+ $text$: e,
152
+ $elm$: null,
153
+ $children$: null
154
+ };
155
+ return n.$attrs$ = null, n.$key$ = null, n;
156
+ }, Bt = {}, Rt = (t) => t && t.$tag$ === Bt, C = (t, e) => t != null && !F(t) ? e & 4 ? t === "false" ? !1 : t === "" || !!t : e & 1 ? String(t) : t : t, Dt = (t, e, n) => {
157
+ const s = p.ce(e, n);
158
+ return t.dispatchEvent(s), s;
159
+ }, L = /* @__PURE__ */ new WeakMap(), Wt = (t, e, n) => {
160
+ let s = b.get(t);
161
+ rt && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, b.set(t, s);
162
+ }, Ct = (t, e, n) => {
163
+ var s;
164
+ const r = ot(e), i = b.get(r);
165
+ if (t = t.nodeType === 11 ? t : w, i)
166
+ if (typeof i == "string") {
167
+ t = t.head || t;
168
+ let $ = L.get(t), l;
169
+ if ($ || L.set(t, $ = /* @__PURE__ */ new Set()), !$.has(r)) {
170
+ {
171
+ l = document.querySelector(`[${_t}="${r}"]`) || w.createElement("style"), l.innerHTML = i;
172
+ const a = (s = p.$nonce$) != null ? s : it(w);
173
+ if (a != null && l.setAttribute("nonce", a), !(e.$flags$ & 1))
174
+ if (t.nodeName === "HEAD") {
175
+ const o = t.querySelectorAll("link[rel=preconnect]"), c = o.length > 0 ? o[o.length - 1].nextSibling : t.querySelector("style");
176
+ t.insertBefore(
177
+ l,
178
+ (c == null ? void 0 : c.parentNode) === t ? c : null
179
+ );
180
+ } else if ("host" in t)
181
+ if (rt) {
182
+ const o = new CSSStyleSheet();
183
+ o.replaceSync(i), t.adoptedStyleSheets = [o, ...t.adoptedStyleSheets];
184
+ } else {
185
+ const o = t.querySelector("style");
186
+ o ? o.innerHTML = i + o.innerHTML : t.prepend(l);
187
+ }
188
+ else
189
+ t.append(l);
190
+ e.$flags$ & 1 && t.insertBefore(l, null);
191
+ }
192
+ e.$flags$ & 4 && (l.innerHTML += nt), $ && $.add(r);
193
+ }
194
+ } else t.adoptedStyleSheets.includes(i) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, i]);
195
+ return r;
196
+ }, Gt = (t) => {
197
+ const e = t.$cmpMeta$, n = t.$hostElement$, s = e.$flags$, r = x("attachStyles", e.$tagName$), i = Ct(
198
+ n.shadowRoot ? n.shadowRoot : n.getRootNode(),
199
+ e
200
+ );
201
+ (s & 10 && s & 2 || s & 128) && (n["s-sc"] = i, n.classList.add(i + "-h")), r();
202
+ }, ot = (t, e) => "sc-" + t.$tagName$, N = (t, e, n, s, r, i, $) => {
203
+ if (n !== s) {
204
+ let l = M(t, e), a = e.toLowerCase();
205
+ if (e === "class") {
206
+ const o = t.classList, c = tt(n);
207
+ let d = tt(s);
208
+ o.remove(...c.filter((f) => f && !d.includes(f))), o.add(...d.filter((f) => f && !c.includes(f)));
209
+ } else if (e === "style") {
210
+ for (const o in n)
211
+ (!s || s[o] == null) && (o.includes("-") ? t.style.removeProperty(o) : t.style[o] = "");
212
+ for (const o in s)
213
+ (!n || s[o] !== n[o]) && (o.includes("-") ? t.style.setProperty(o, s[o]) : t.style[o] = s[o]);
214
+ } else if (e !== "key") if (e === "ref")
215
+ s && s(t);
216
+ else if (!l && e[0] === "o" && e[1] === "n") {
217
+ if (e[2] === "-" ? e = e.slice(3) : M(H, a) ? e = a.slice(2) : e = a[2] + e.slice(3), n || s) {
218
+ const o = e.endsWith(at);
219
+ e = e.replace(Xt, ""), n && p.rel(t, e, n, o), s && p.ael(t, e, s, o);
220
+ }
221
+ } else {
222
+ const o = F(s);
223
+ if ((l || o && s !== null) && !r)
224
+ try {
225
+ if (t.tagName.includes("-"))
226
+ t[e] !== s && (t[e] = s);
227
+ else {
228
+ const c = s == null ? "" : s;
229
+ e === "list" ? l = !1 : (n == null || t[e] != c) && (typeof t.__lookupSetter__(e) == "function" ? t[e] = c : t.setAttribute(e, c));
230
+ }
231
+ } catch (c) {
232
+ }
233
+ 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));
234
+ }
235
+ }
236
+ }, Yt = /\s/, tt = (t) => (typeof t == "object" && t && "baseVal" in t && (t = t.baseVal), !t || typeof t != "string" ? [] : t.split(Yt)), at = "Capture", Xt = new RegExp(at + "$"), ct = (t, e, n, s) => {
237
+ const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = t && t.$attrs$ || {}, $ = e.$attrs$ || {};
238
+ for (const l of et(Object.keys(i)))
239
+ l in $ || N(
240
+ r,
241
+ l,
242
+ i[l],
243
+ void 0,
244
+ n,
245
+ e.$flags$
246
+ );
247
+ for (const l of et(Object.keys($)))
248
+ N(
249
+ r,
250
+ l,
251
+ i[l],
252
+ $[l],
253
+ n,
254
+ e.$flags$
255
+ );
256
+ };
257
+ function et(t) {
258
+ return t.includes("ref") ? (
259
+ // we need to sort these to ensure that `'ref'` is the last attr
260
+ [...t.filter((e) => e !== "ref"), "ref"]
261
+ ) : (
262
+ // no need to sort, return the original array
263
+ t
264
+ );
265
+ }
266
+ var J, y = !1, z = (t, e, n) => {
267
+ const s = e.$children$[n];
268
+ let r = 0, i, $;
269
+ if (s.$text$ !== null)
270
+ i = s.$elm$ = w.createTextNode(s.$text$);
271
+ else {
272
+ if (y || (y = s.$tag$ === "svg"), i = s.$elm$ = w.createElementNS(
273
+ y ? wt : xt,
274
+ s.$tag$
275
+ ), y && s.$tag$ === "foreignObject" && (y = !1), ct(null, s, y), s.$children$)
276
+ for (r = 0; r < s.$children$.length; ++r)
277
+ $ = z(t, s, r), $ && i.appendChild($);
278
+ s.$tag$ === "svg" ? y = !1 : i.tagName === "foreignObject" && (y = !0);
279
+ }
280
+ return i["s-hn"] = J, i;
281
+ }, ft = (t, e, n, s, r, i) => {
282
+ let $ = t, l;
283
+ for ($.shadowRoot && $.tagName === J && ($ = $.shadowRoot); r <= i; ++r)
284
+ s[r] && (l = z(null, n, r), l && (s[r].$elm$ = l, O($, l, e)));
285
+ }, dt = (t, e, n) => {
286
+ for (let s = e; s <= n; ++s) {
287
+ const r = t[s];
288
+ if (r) {
289
+ const i = r.$elm$;
290
+ ut(r), i && i.remove();
291
+ }
292
+ }
293
+ }, Ft = (t, e, n, s, r = !1) => {
294
+ 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], g, S;
295
+ for (; i <= o && $ <= f; )
296
+ if (c == null)
297
+ c = e[++i];
298
+ else if (d == null)
299
+ d = e[--o];
300
+ else if (u == null)
301
+ u = s[++$];
302
+ else if (h == null)
303
+ h = s[--f];
304
+ else if (I(c, u, r))
305
+ _(c, u, r), c = e[++i], u = s[++$];
306
+ else if (I(d, h, r))
307
+ _(d, h, r), d = e[--o], h = s[--f];
308
+ else if (I(c, h, r))
309
+ _(c, h, r), O(t, c.$elm$, d.$elm$.nextSibling), c = e[++i], h = s[--f];
310
+ else if (I(d, u, r))
311
+ _(d, u, r), O(t, d.$elm$, c.$elm$), d = e[--o], u = s[++$];
312
+ else {
313
+ for (l = -1, a = i; a <= o; ++a)
314
+ if (e[a] && e[a].$key$ !== null && e[a].$key$ === u.$key$) {
315
+ l = a;
316
+ break;
317
+ }
318
+ l >= 0 ? (S = e[l], S.$tag$ !== u.$tag$ ? g = z(e && e[$], n, l) : (_(S, u, r), e[l] = void 0, g = S.$elm$), u = s[++$]) : (g = z(e && e[$], n, $), u = s[++$]), g && O(c.$elm$.parentNode, g, c.$elm$);
319
+ }
320
+ i > o ? ft(
321
+ t,
322
+ s[f + 1] == null ? null : s[f + 1].$elm$,
323
+ n,
324
+ s,
325
+ $,
326
+ f
327
+ ) : $ > f && dt(e, i, o);
328
+ }, I = (t, e, n = !1) => t.$tag$ === e.$tag$ ? n ? (n && !t.$key$ && e.$key$ && (t.$key$ = e.$key$), !0) : t.$key$ === e.$key$ : !1, _ = (t, e, n = !1) => {
329
+ const s = e.$elm$ = t.$elm$, r = t.$children$, i = e.$children$, $ = e.$tag$, l = e.$text$;
330
+ l === null ? (y = $ === "svg" ? !0 : $ === "foreignObject" ? !1 : y, ct(t, e, y), r !== null && i !== null ? Ft(s, r, e, i, n) : i !== null ? (t.$text$ !== null && (s.textContent = ""), ft(s, null, e, i, 0, i.length - 1)) : (
331
+ // don't do this on initial render as it can cause non-hydrated content to be removed
332
+ !n && G.updatable && r !== null && dt(r, 0, r.length - 1)
333
+ ), y && $ === "svg" && (y = !1)) : t.$text$ !== l && (s.data = l);
334
+ }, ut = (t) => {
335
+ t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(ut);
336
+ }, O = (t, e, n) => t == null ? void 0 : t.insertBefore(e, n), Jt = (t, e, n = !1) => {
337
+ const s = t.$hostElement$, r = t.$cmpMeta$, i = t.$vnode$ || W(null, null), $ = Rt(e) ? e : qt(null, null, e);
338
+ if (J = s.tagName, r.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, r.$attrsToReflect$.map(
339
+ ([l, a]) => $.$attrs$[a] = s[l]
340
+ )), n && $.$attrs$)
341
+ for (const l of Object.keys($.$attrs$))
342
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && ($.$attrs$[l] = s[l]);
343
+ $.$tag$ = null, $.$flags$ |= 4, t.$vnode$ = $, $.$elm$ = i.$elm$ = s.shadowRoot || s, r.$flags$ & 1 && r.$flags$ & 128, _(i, $, n);
344
+ }, ht = (t, e) => {
345
+ if (e && !t.$onRenderResolve$ && e["s-p"]) {
346
+ const n = e["s-p"].push(
347
+ new Promise(
348
+ (s) => t.$onRenderResolve$ = () => {
349
+ e["s-p"].splice(n - 1, 1), s();
350
+ }
351
+ )
352
+ );
353
+ }
354
+ }, K = (t, e) => {
355
+ if (t.$flags$ |= 16, t.$flags$ & 4) {
356
+ t.$flags$ |= 512;
357
+ return;
358
+ }
359
+ return ht(t, t.$ancestorComponent$), It(() => Kt(t, e));
360
+ }, Kt = (t, e) => {
361
+ const n = t.$hostElement$, s = x("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
362
+ if (!r)
363
+ throw new Error(
364
+ `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`
365
+ );
366
+ let i;
367
+ return e && (i = Q(r, "componentWillLoad", void 0, n)), s(), Qt(i, () => Mt(t, r, e));
368
+ }, Qt = (t, e) => Zt(t) ? t.then(e).catch((n) => {
369
+ console.error(n), e();
370
+ }) : e(), Zt = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", Mt = (t, e, n) => j(void 0, null, function* () {
371
+ var s;
372
+ const r = t.$hostElement$, i = x("update", t.$cmpMeta$.$tagName$), $ = r["s-rc"];
373
+ n && Gt(t);
374
+ const l = x("render", t.$cmpMeta$.$tagName$);
375
+ mt(t, e, r, n), $ && ($.map((a) => a()), r["s-rc"] = void 0), l(), i();
376
+ {
377
+ const a = (s = r["s-p"]) != null ? s : [], o = () => Vt(t);
378
+ a.length === 0 ? o() : (Promise.all(a).then(o), t.$flags$ |= 4, a.length = 0);
379
+ }
380
+ }), mt = (t, e, n, s) => {
381
+ try {
382
+ e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, Jt(t, e, s);
383
+ } catch (r) {
384
+ P(r, t.$hostElement$);
385
+ }
386
+ return null;
387
+ }, Vt = (t) => {
388
+ const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, s = x("postUpdate", e), r = t.$lazyInstance$, i = t.$ancestorComponent$;
389
+ t.$flags$ & 64 ? s() : (t.$flags$ |= 64, Nt(n), Q(r, "componentDidLoad", void 0, n), s(), t.$onReadyResolve$(n), i || pt()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && X(() => K(t, !1)), t.$flags$ &= -517;
390
+ }, pt = (t) => {
391
+ X(() => Dt(H, "appload", { detail: { namespace: St } }));
392
+ }, Q = (t, e, n, s) => {
393
+ if (t && t[e])
394
+ try {
395
+ return t[e](n);
396
+ } catch (r) {
397
+ P(r, s);
398
+ }
399
+ }, Nt = (t) => {
400
+ var e;
401
+ return t.classList.add((e = G.hydratedSelectorName) != null ? e : "hydrated");
402
+ }, te = (t, e) => k(t).$instanceValues$.get(e), q = (t, e, n, s) => {
403
+ const r = k(t);
404
+ if (!r)
405
+ throw new Error(
406
+ `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).`
407
+ );
408
+ const i = r.$hostElement$, $ = r.$instanceValues$.get(e), l = r.$flags$, a = r.$lazyInstance$;
409
+ n = C(n, s.$members$[e][0]);
410
+ const o = Number.isNaN($) && Number.isNaN(n), c = n !== $ && !o;
411
+ if ((!(l & 8) || $ === void 0) && c && (r.$instanceValues$.set(e, n), a)) {
412
+ if (s.$watchers$ && l & 128) {
413
+ const d = s.$watchers$[e];
414
+ d && d.map((f) => {
415
+ try {
416
+ a[f](n, $, e);
417
+ } catch (u) {
418
+ P(u, i);
419
+ }
420
+ });
421
+ }
422
+ (l & 18) === 2 && K(r, !1);
423
+ }
424
+ }, gt = (t, e, n) => {
425
+ var s, r;
426
+ const i = t.prototype;
427
+ if (e.$members$ || e.$watchers$ || t.watchers) {
428
+ t.watchers && !e.$watchers$ && (e.$watchers$ = t.watchers);
429
+ const $ = Object.entries((s = e.$members$) != null ? s : {});
430
+ if ($.map(([l, [a]]) => {
431
+ if (a & 31 || n & 2 && a & 32) {
432
+ const { get: o, set: c } = Object.getOwnPropertyDescriptor(i, l) || {};
433
+ o && (e.$members$[l][0] |= 2048), c && (e.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty(i, l, {
434
+ get() {
435
+ {
436
+ if (!(e.$members$[l][0] & 2048))
437
+ return te(this, l);
438
+ const d = k(this), f = d ? d.$lazyInstance$ : i;
439
+ return f ? f[l] : void 0;
440
+ }
441
+ },
442
+ configurable: !0,
443
+ enumerable: !0
444
+ }), Object.defineProperty(i, l, {
445
+ set(d) {
446
+ const f = k(this);
447
+ if (c) {
448
+ const u = a & 32 ? this[l] : f.$hostElement$[l];
449
+ 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);
450
+ return;
451
+ }
452
+ {
453
+ if (!(n & 1) || !(e.$members$[l][0] & 4096)) {
454
+ q(this, l, d, e), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
455
+ e.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = d);
456
+ });
457
+ return;
458
+ }
459
+ const u = () => {
460
+ const h = f.$lazyInstance$[l];
461
+ !f.$instanceValues$.get(l) && h && f.$instanceValues$.set(l, h), f.$lazyInstance$[l] = C(d, a), q(this, l, f.$lazyInstance$[l], e);
462
+ };
463
+ f.$lazyInstance$ ? u() : f.$onReadyPromise$.then(() => u());
464
+ }
465
+ }
466
+ });
467
+ }
468
+ }), n & 1) {
469
+ const l = /* @__PURE__ */ new Map();
470
+ i.attributeChangedCallback = function(a, o, c) {
471
+ p.jmp(() => {
472
+ var d;
473
+ const f = l.get(a);
474
+ if (this.hasOwnProperty(f) && G.lazyLoad)
475
+ c = this[f], delete this[f];
476
+ else {
477
+ if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
478
+ this[f] == c)
479
+ return;
480
+ if (f == null) {
481
+ const h = k(this), g = h == null ? void 0 : h.$flags$;
482
+ if (g && !(g & 8) && g & 128 && c !== o) {
483
+ const S = h.$lazyInstance$, v = (d = e.$watchers$) == null ? void 0 : d[a];
484
+ v == null || v.forEach((T) => {
485
+ S[T] != null && S[T].call(S, c, o, a);
486
+ });
487
+ }
488
+ return;
489
+ }
490
+ }
491
+ const u = Object.getOwnPropertyDescriptor(i, f);
492
+ c = c === null && typeof this[f] == "boolean" ? !1 : c, c !== this[f] && (!u.get || u.set) && (this[f] = c);
493
+ });
494
+ }, t.observedAttributes = Array.from(
495
+ /* @__PURE__ */ new Set([
496
+ ...Object.keys((r = e.$watchers$) != null ? r : {}),
497
+ ...$.filter(
498
+ ([a, o]) => o[0] & 15
499
+ /* HasAttribute */
500
+ ).map(([a, o]) => {
501
+ var c;
502
+ const d = o[1] || a;
503
+ return l.set(d, a), o[0] & 512 && ((c = e.$attrsToReflect$) == null || c.push([a, d])), d;
504
+ })
505
+ ])
506
+ );
507
+ }
508
+ }
509
+ return t;
510
+ }, ee = (t, e, n, s) => j(void 0, null, function* () {
511
+ let r;
512
+ if (!(e.$flags$ & 32)) {
513
+ if (e.$flags$ |= 32, n.$lazyBundleId$) {
514
+ const a = Pt(n, e);
515
+ if (a && "then" in a) {
516
+ const c = Ut();
517
+ r = yield a, c();
518
+ } else
519
+ r = a;
520
+ if (!r)
521
+ throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);
522
+ r.isProxied || (n.$watchers$ = r.watchers, gt(
523
+ r,
524
+ n,
525
+ 2
526
+ /* proxyState */
527
+ ), r.isProxied = !0);
528
+ const o = x("createInstance", n.$tagName$);
529
+ e.$flags$ |= 8;
530
+ try {
531
+ new r(e);
532
+ } catch (c) {
533
+ P(c, t);
534
+ }
535
+ e.$flags$ &= -9, e.$flags$ |= 128, o();
536
+ } else {
537
+ r = t.constructor;
538
+ const a = t.localName;
539
+ customElements.whenDefined(a).then(
540
+ () => e.$flags$ |= 128
541
+ /* isWatchReady */
542
+ );
543
+ }
544
+ if (r && r.style) {
545
+ let a;
546
+ typeof r.style == "string" && (a = r.style);
547
+ const o = ot(n);
548
+ if (!b.has(o)) {
549
+ const c = x("registerStyles", n.$tagName$);
550
+ Wt(o, a, !!(n.$flags$ & 1)), c();
551
+ }
552
+ }
553
+ }
554
+ const i = e.$ancestorComponent$, $ = () => K(e, !0);
555
+ i && i["s-rc"] ? i["s-rc"].push($) : $();
556
+ }), se = (t, e) => {
557
+ }, ne = (t) => {
558
+ if (!(p.$flags$ & 1)) {
559
+ const e = k(t), n = e.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
560
+ if (e.$flags$ & 1)
561
+ e != null && e.$lazyInstance$ || e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => se());
562
+ else {
563
+ e.$flags$ |= 1;
564
+ {
565
+ let r = t;
566
+ for (; r = r.parentNode || r.host; )
567
+ if (r["s-p"]) {
568
+ ht(e, e.$ancestorComponent$ = r);
569
+ break;
570
+ }
571
+ }
572
+ n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
573
+ if (i & 31 && t.hasOwnProperty(r)) {
574
+ const $ = t[r];
575
+ delete t[r], t[r] = $;
576
+ }
577
+ }), ee(t, e, n);
578
+ }
579
+ s();
580
+ }
581
+ }, st = (t, e) => {
582
+ Q(t, "disconnectedCallback", void 0, e || t);
583
+ }, re = (t) => j(void 0, null, function* () {
584
+ if (!(p.$flags$ & 1)) {
585
+ const e = k(t);
586
+ e != null && e.$lazyInstance$ ? st(e.$lazyInstance$, t) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => st(e.$lazyInstance$, t));
587
+ }
588
+ L.has(t) && L.delete(t), t.shadowRoot && L.has(t.shadowRoot) && L.delete(t.shadowRoot);
589
+ }), $e = (t, e = {}) => {
590
+ var n;
591
+ const s = x(), r = [], i = e.exclude || [], $ = H.customElements, l = w.head, a = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ w.createElement("style"), c = [];
592
+ let d, f = !0;
593
+ Object.assign(p, e), p.$resourcesUrl$ = new URL(e.resourcesUrl || "./", w.baseURI).href;
594
+ let u = !1;
595
+ if (t.map((h) => {
596
+ h[1].map((g) => {
597
+ var S;
598
+ const v = {
599
+ $flags$: g[0],
600
+ $tagName$: g[1],
601
+ $members$: g[2],
602
+ $listeners$: g[3]
603
+ };
604
+ v.$flags$ & 4 && (u = !0), v.$members$ = g[2], v.$attrsToReflect$ = [], v.$watchers$ = (S = g[4]) != null ? S : {};
605
+ const T = v.$tagName$, vt = class extends HTMLElement {
606
+ // StencilLazyHost
607
+ constructor(E) {
608
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, Tt(E, v), v.$flags$ & 1) {
609
+ if (!E.shadowRoot)
610
+ E.attachShadow({ mode: "open" });
611
+ else if (E.shadowRoot.mode !== "open")
612
+ throw new Error(
613
+ `Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
614
+ );
615
+ }
616
+ }
617
+ connectedCallback() {
618
+ k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? c.push(this) : p.jmp(() => ne(this));
619
+ }
620
+ disconnectedCallback() {
621
+ p.jmp(() => re(this)), p.raf(() => {
622
+ var E;
623
+ const A = k(this), Z = c.findIndex((yt) => yt === this);
624
+ 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$;
625
+ });
626
+ }
627
+ componentOnReady() {
628
+ return k(this).$onReadyPromise$;
629
+ }
630
+ };
631
+ v.$lazyBundleId$ = h[0], !i.includes(T) && !$.get(T) && (r.push(T), $.define(
632
+ T,
633
+ gt(
634
+ vt,
635
+ v,
636
+ 1
637
+ /* isElementConstructor */
638
+ )
639
+ ));
640
+ });
641
+ }), r.length > 0 && (u && (o.textContent += nt), o.textContent += r.sort() + Lt, o.innerHTML.length)) {
642
+ o.setAttribute("data-styles", "");
643
+ const h = (n = p.$nonce$) != null ? n : it(w);
644
+ h != null && o.setAttribute("nonce", h), l.insertBefore(o, a ? a.nextSibling : l.firstChild);
645
+ }
646
+ f = !1, c.length ? c.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(pt, 30)), s();
647
+ };
648
+ export {
649
+ Bt as H,
650
+ $e as b,
651
+ qt as h,
652
+ At as p,
653
+ ie as r
654
+ };