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