@everymatrix/casino-header-controller 1.62.0 → 1.62.1

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 (49) hide show
  1. package/components/{CasinoHamburgerMenu-DG16kRnn.js → CasinoHamburgerMenu-B9IAH_YY.js} +955 -935
  2. package/components/CasinoHamburgerMenu-C8cGdz4v.cjs +21 -0
  3. package/components/{CasinoHamburgerMenu-Brszz5aE.js → CasinoHamburgerMenu-DRGz0x_i.js} +996 -976
  4. package/components/{CasinoHeaderController-Bi_PsLNo.js → CasinoHeaderController-B-BPTjQx.js} +805 -805
  5. package/components/{CasinoHeaderController-D-uj7JRv.js → CasinoHeaderController-CPWk1rYN.js} +834 -834
  6. package/components/CasinoHeaderController-CRKRbnS1.cjs +13 -0
  7. package/components/{CasinoSlider-BGcfG7tc.js → CasinoSlider-BYM8xAjw.js} +160 -161
  8. package/components/CasinoSlider-EyNMAsDA.cjs +1 -0
  9. package/components/{CasinoSlider-CbwSfQ5U.js → CasinoSlider-gdJBiwPv.js} +229 -230
  10. package/components/PlayerAccountBalanceModal-Btw6JVum.cjs +13 -0
  11. package/components/PlayerAccountBalanceModal-C6gNwaoU.js +1539 -0
  12. package/components/PlayerAccountBalanceModal-CtjDziPg.js +1510 -0
  13. package/components/{PlayerDeposit-DT3FMmq_.js → PlayerDeposit-B1mR9g-U.js} +65 -65
  14. package/components/PlayerDeposit-t-UG_1zf.cjs +1 -0
  15. package/components/{PlayerDeposit-LOugiTzl.js → PlayerDeposit-zkOb7jg5.js} +65 -65
  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/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-1ef3a64c-BKQuom7L.js +556 -0
  23. package/stencil/index-1ef3a64c-CA6VYINb.cjs +1 -0
  24. package/stencil/index-1ef3a64c-CMTTH4QO.js +572 -0
  25. package/stencil/{user-deposit-withdrawal-BgHQVwjl.js → user-deposit-withdrawal-CIdBBp4F.js} +2 -2
  26. package/stencil/{user-deposit-withdrawal-CiSGImrn.js → user-deposit-withdrawal-XUfhzxqt.js} +2 -2
  27. package/stencil/user-deposit-withdrawal-jRWOVoij.cjs +59 -0
  28. package/components/CasinoHamburgerMenu-CenXHDyi.cjs +0 -21
  29. package/components/CasinoHeaderController-Bz4z7_4A.cjs +0 -13
  30. package/components/CasinoSlider-AbmiO3mA.cjs +0 -1
  31. package/components/PlayerAccountBalanceModal-CRsCp5RM.js +0 -1510
  32. package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +0 -13
  33. package/components/PlayerAccountBalanceModal-LJoITUi6.js +0 -1539
  34. package/components/PlayerDeposit-kURepYtp.cjs +0 -1
  35. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +0 -7
  36. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  37. package/stencil/index-1ef3a64c-BaxDlNn6.cjs +0 -1
  38. package/stencil/index-1ef3a64c-D9Ku4GpR.js +0 -572
  39. package/stencil/index-1ef3a64c-ROy2EAIH.js +0 -556
  40. package/stencil/index-b7bbd57e-BoAFccAK.js +0 -550
  41. package/stencil/index-b7bbd57e-BuEw0j7w.js +0 -534
  42. package/stencil/index-b7bbd57e-ClcNZKHr.cjs +0 -1
  43. package/stencil/ui-image-38c3c15f-6EDRvUAC.cjs +0 -1
  44. package/stencil/ui-image-38c3c15f-BkLbeFkW.js +0 -39
  45. package/stencil/ui-image-38c3c15f-Xqn6sg2a.js +0 -39
  46. package/stencil/ui-image-CE5QS3zc.js +0 -29
  47. package/stencil/ui-image-CjqRfQLV.js +0 -11
  48. package/stencil/ui-image-kleliRLi.cjs +0 -1
  49. package/stencil/user-deposit-withdrawal-BFFp7sgO.cjs +0 -59
@@ -1,556 +0,0 @@
1
- const he = "user-deposit-withdrawal", V = (
2
- /* user-deposit-withdrawal */
3
- { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, 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 }
4
- );
5
- var ge = Object.defineProperty, ye = (e, t) => {
6
- for (var n in t)
7
- ge(e, n, { get: t[n], enumerable: !0 });
8
- }, z = /* @__PURE__ */ new WeakMap(), k = (e) => z.get(e), nt = (e, t) => z.set(t.$lazyInstance$ = e, t), me = (e, t) => {
9
- const n = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], z.set(e, n);
16
- }, W = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), C = /* @__PURE__ */ new Map(), Se = (e, t, n) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
- if (!r)
19
- return;
20
- const o = C.get(r);
21
- if (o)
22
- return o[s];
23
- {
24
- const l = (i) => (C.set(r, i), i[s]);
25
- switch (r) {
26
- case "user-deposit-withdrawal":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./user-deposit-withdrawal-BgHQVwjl.js"
30
- ).then(l, w);
31
- }
32
- }
33
- return import(
34
- /* @vite-ignore */
35
- /* webpackInclude: /\.entry\.js$/ */
36
- /* webpackExclude: /\.system\.entry\.js$/ */
37
- /* webpackMode: "lazy" */
38
- `./${r}.entry.js`
39
- ).then((l) => (C.set(r, l), l[s]), w);
40
- }, _ = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, S = j.document || { head: {} }, h = {
41
- $flags$: 0,
42
- $resourcesUrl$: "",
43
- jmp: (e) => e(),
44
- raf: (e) => requestAnimationFrame(e),
45
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
46
- rel: (e, t, n, s) => e.removeEventListener(t, n, 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 = [], te = [], we = (e, t) => (n) => {
55
- e.push(n), U || (U = !0, h.$flags$ & 4 ? H(I) : h.raf(I));
56
- }, X = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (n) {
61
- w(n);
62
- }
63
- e.length = 0;
64
- }, I = () => {
65
- X(G), X(te), (U = G.length > 0) && h.raf(I);
66
- }, H = (e) => Ee().then(e), xe = /* @__PURE__ */ we(te), Q = {}, Te = "http://www.w3.org/2000/svg", Le = "http://www.w3.org/1999/xhtml", Pe = (e) => e != null, B = (e) => (e = typeof e, e === "object" || e === "function");
67
- function se(e) {
68
- var t, n, s;
69
- 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;
70
- }
71
- var Ae = {};
72
- ye(Ae, {
73
- err: () => re,
74
- map: () => _e,
75
- ok: () => D,
76
- unwrap: () => Oe,
77
- unwrapErr: () => je
78
- });
79
- var D = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), re = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function _e(e, t) {
89
- if (e.isOk) {
90
- const n = t(e.value);
91
- return n instanceof Promise ? n.then((s) => D(s)) : D(n);
92
- }
93
- if (e.isErr) {
94
- const n = e.value;
95
- return re(n);
96
- }
97
- throw "should never get here";
98
- }
99
- var Oe = (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
- }, b = (e, t = "") => () => {
108
- }, Ce = (e, t) => () => {
109
- }, Ue = (e, t, ...n) => {
110
- let s = null, r = null, o = !1, l = !1;
111
- const i = [], a = ($) => {
112
- for (let f = 0; f < $.length; f++)
113
- s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((o = typeof e != "function" && !B(s)) && (s = String(s)), o && l ? i[i.length - 1].$text$ += s : i.push(o ? R(null, s) : s), l = o);
114
- };
115
- if (a(n), t) {
116
- t.key && (r = t.key);
117
- {
118
- const $ = t.className || t.class;
119
- $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
120
- }
121
- }
122
- const c = R(e, null);
123
- return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
124
- }, R = (e, t) => {
125
- const n = {
126
- $flags$: 0,
127
- $tag$: e,
128
- $text$: t,
129
- $elm$: null,
130
- $children$: null
131
- };
132
- return n.$attrs$ = null, n.$key$ = null, n;
133
- }, Ie = {}, De = (e) => e && e.$tag$ === Ie, Re = (e, t) => e != null && !B(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, ze = (e, t, n) => {
134
- const s = h.ce(t, n);
135
- return e.dispatchEvent(s), s;
136
- }, Y = /* @__PURE__ */ new WeakMap(), He = (e, t, n) => {
137
- let s = _.get(e);
138
- ke && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
139
- }, Be = (e, t, n) => {
140
- var s;
141
- const r = ne(t), o = _.get(r);
142
- if (e = e.nodeType === 11 ? e : S, o)
143
- if (typeof o == "string") {
144
- e = e.head || e;
145
- let l = Y.get(e), i;
146
- if (l || Y.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
147
- {
148
- i = S.createElement("style"), i.innerHTML = o;
149
- const a = (s = h.$nonce$) != null ? s : se(S);
150
- a != null && i.setAttribute("nonce", a), e.insertBefore(i, e.querySelector("link"));
151
- }
152
- t.$flags$ & 4 && (i.innerHTML += ee), l && l.add(r);
153
- }
154
- } else
155
- e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
156
- return r;
157
- }, Fe = (e) => {
158
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = b("attachStyles", t.$tagName$), o = Be(
159
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
160
- t
161
- );
162
- s & 10 && (n["s-sc"] = o, n.classList.add(o + "-h")), r();
163
- }, ne = (e, t) => "sc-" + e.$tagName$, J = (e, t, n, s, r, o) => {
164
- if (n !== s) {
165
- let l = W(e, t), i = t.toLowerCase();
166
- if (t === "class") {
167
- const a = e.classList, c = K(n), $ = K(s);
168
- a.remove(...c.filter((f) => f && !$.includes(f))), a.add(...$.filter((f) => f && !c.includes(f)));
169
- } else if (t === "style") {
170
- for (const a in n)
171
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
172
- for (const a in s)
173
- (!n || s[a] !== n[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) : W(j, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
179
- const a = t.endsWith(le);
180
- t = t.replace(Me, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
181
- }
182
- } else {
183
- const a = B(s);
184
- if ((l || a && s !== null) && !r)
185
- try {
186
- if (e.tagName.includes("-"))
187
- e[t] = s;
188
- else {
189
- const c = s ?? "";
190
- t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
191
- }
192
- } catch {
193
- }
194
- 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));
195
- }
196
- }
197
- }, qe = /\s/, K = (e) => e ? e.split(qe) : [], le = "Capture", Me = new RegExp(le + "$"), ae = (e, t, n) => {
198
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || Q, o = t.$attrs$ || Q;
199
- for (const l of Z(Object.keys(r)))
200
- l in o || J(s, l, r[l], void 0, n, t.$flags$);
201
- for (const l of Z(Object.keys(o)))
202
- J(s, l, r[l], o[l], n, 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 P, F, oe = !1, y = !1, O = (e, t, n, s) => {
214
- const r = t.$children$[n];
215
- let o = 0, l, i;
216
- if (r.$text$ !== null)
217
- l = r.$elm$ = S.createTextNode(r.$text$);
218
- else {
219
- if (y || (y = r.$tag$ === "svg"), l = r.$elm$ = S.createElementNS(
220
- y ? Te : Le,
221
- !oe && V.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
222
- ), y && r.$tag$ === "foreignObject" && (y = !1), ae(null, r, y), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), r.$children$)
223
- for (o = 0; o < r.$children$.length; ++o)
224
- i = O(e, r, o), i && l.appendChild(i);
225
- r.$tag$ === "svg" ? y = !1 : l.tagName === "foreignObject" && (y = !0);
226
- }
227
- return l["s-hn"] = F, l;
228
- }, ie = (e, t, n, s, r, o) => {
229
- let l = e, i;
230
- for (l.shadowRoot && l.tagName === F && (l = l.shadowRoot); r <= o; ++r)
231
- s[r] && (i = O(null, n, r), i && (s[r].$elm$ = i, A(l, i, t)));
232
- }, ce = (e, t, n) => {
233
- for (let s = t; s <= n; ++s) {
234
- const r = e[s];
235
- if (r) {
236
- const o = r.$elm$;
237
- $e(r), o && o.remove();
238
- }
239
- }
240
- }, We = (e, t, n, s, r = !1) => {
241
- 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;
242
- for (; o <= c && l <= d; )
243
- if ($ == null)
244
- $ = t[++o];
245
- else if (f == null)
246
- f = t[--c];
247
- else if (u == null)
248
- u = s[++l];
249
- else if (p == null)
250
- p = s[--d];
251
- else if (L($, u, r))
252
- x($, u, r), $ = t[++o], u = s[++l];
253
- else if (L(f, p, r))
254
- x(f, p, r), f = t[--c], p = s[--d];
255
- else if (L($, p, r))
256
- x($, p, r), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++o], p = s[--d];
257
- else if (L(f, u, r))
258
- x(f, u, r), A(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
259
- else {
260
- for (i = -1, a = o; a <= c; ++a)
261
- if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
262
- i = a;
263
- break;
264
- }
265
- i >= 0 ? (m = t[i], m.$tag$ !== u.$tag$ ? v = O(t && t[l], n, i) : (x(m, u, r), t[i] = void 0, v = m.$elm$), u = s[++l]) : (v = O(t && t[l], n, l), u = s[++l]), v && A($.$elm$.parentNode, v, $.$elm$);
266
- }
267
- o > c ? ie(
268
- e,
269
- s[d + 1] == null ? null : s[d + 1].$elm$,
270
- n,
271
- s,
272
- l,
273
- d
274
- ) : l > d && ce(t, o, c);
275
- }, L = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, x = (e, t, n = !1) => {
276
- const s = t.$elm$ = e.$elm$, r = e.$children$, o = t.$children$, l = t.$tag$, i = t.$text$;
277
- i === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, ae(e, t, y), r !== null && o !== null ? We(s, r, t, o, n) : o !== null ? (e.$text$ !== null && (s.textContent = ""), ie(s, null, t, o, 0, o.length - 1)) : r !== null && ce(r, 0, r.length - 1), y && l === "svg" && (y = !1)) : e.$text$ !== i && (s.data = i);
278
- }, $e = (e) => {
279
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map($e);
280
- }, A = (e, t, n) => e?.insertBefore(t, n), Ge = (e, t, n = !1) => {
281
- const s = e.$hostElement$, r = e.$cmpMeta$, o = e.$vnode$ || R(null, null), l = De(t) ? t : Ue(null, null, t);
282
- if (F = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
283
- ([i, a]) => l.$attrs$[a] = s[i]
284
- )), n && l.$attrs$)
285
- for (const i of Object.keys(l.$attrs$))
286
- s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
287
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = o.$elm$ = s.shadowRoot || s, P = s["s-sc"], oe = (r.$flags$ & 1) !== 0, x(o, l, n);
288
- }, fe = (e, t) => {
289
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
290
- }, q = (e, t) => {
291
- if (e.$flags$ |= 16, e.$flags$ & 4) {
292
- e.$flags$ |= 512;
293
- return;
294
- }
295
- return fe(e, e.$ancestorComponent$), xe(() => Xe(e, t));
296
- }, Xe = (e, t) => {
297
- const n = e.$hostElement$, s = b("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
298
- if (!r)
299
- throw new Error(
300
- `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`
301
- );
302
- let o;
303
- return t && (o = M(r, "componentWillLoad")), s(), Qe(o, () => Je(e, r, t));
304
- }, Qe = (e, t) => Ye(e) ? e.then(t).catch((n) => {
305
- console.error(n), t();
306
- }) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, n) => {
307
- var s;
308
- const r = e.$hostElement$, o = b("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
309
- n && Fe(e);
310
- const i = b("render", e.$cmpMeta$.$tagName$);
311
- Ke(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), i(), o();
312
- {
313
- const a = (s = r["s-p"]) != null ? s : [], c = () => Ze(e);
314
- a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
315
- }
316
- }, Ke = (e, t, n, s) => {
317
- try {
318
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ge(e, t, s);
319
- } catch (r) {
320
- w(r, e.$hostElement$);
321
- }
322
- return null;
323
- }, Ze = (e) => {
324
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = b("postUpdate", t), r = e.$lazyInstance$, o = e.$ancestorComponent$;
325
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ue(n), M(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), o || de()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => q(e, !1)), e.$flags$ &= -517;
326
- }, de = (e) => {
327
- ue(S.documentElement), H(() => ze(j, "appload", { detail: { namespace: he } }));
328
- }, M = (e, t, n) => {
329
- if (e && e[t])
330
- try {
331
- return e[t](n);
332
- } catch (s) {
333
- w(s);
334
- }
335
- }, ue = (e) => {
336
- var t;
337
- return e.classList.add((t = V.hydratedSelectorName) != null ? t : "hydrated");
338
- }, Ne = (e, t) => k(e).$instanceValues$.get(t), Ve = (e, t, n, s) => {
339
- const r = k(e);
340
- if (!r)
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 o = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, a = r.$lazyInstance$;
345
- n = Re(n, s.$members$[t][0]);
346
- const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
347
- if ((!(i & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
348
- if (s.$watchers$ && i & 128) {
349
- const f = s.$watchers$[t];
350
- f && f.map((d) => {
351
- try {
352
- a[d](n, l, t);
353
- } catch (u) {
354
- w(u, o);
355
- }
356
- });
357
- }
358
- (i & 18) === 2 && q(r, !1);
359
- }
360
- }, pe = (e, t, n) => {
361
- var s, r;
362
- const o = 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(([i, [a]]) => {
367
- (a & 31 || n & 2 && a & 32) && Object.defineProperty(o, i, {
368
- get() {
369
- return Ne(this, i);
370
- },
371
- set(c) {
372
- Ve(this, i, c, t);
373
- },
374
- configurable: !0,
375
- enumerable: !0
376
- });
377
- }), n & 1) {
378
- const i = /* @__PURE__ */ new Map();
379
- o.attributeChangedCallback = function(a, c, $) {
380
- h.jmp(() => {
381
- var f;
382
- const d = i.get(a);
383
- if (this.hasOwnProperty(d))
384
- $ = this[d], delete this[d];
385
- else {
386
- if (o.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
387
- return;
388
- if (d == null) {
389
- const u = k(this), p = u?.$flags$;
390
- if (p && !(p & 8) && p & 128 && $ !== c) {
391
- const v = u.$lazyInstance$, m = (f = t.$watchers$) == null ? void 0 : f[a];
392
- m?.forEach((g) => {
393
- v[g] != null && v[g].call(v, $, c, a);
394
- });
395
- }
396
- return;
397
- }
398
- }
399
- this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
400
- });
401
- }, e.observedAttributes = Array.from(
402
- /* @__PURE__ */ new Set([
403
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
404
- ...l.filter(
405
- ([a, c]) => c[0] & 15
406
- /* HasAttribute */
407
- ).map(([a, c]) => {
408
- var $;
409
- const f = c[1] || a;
410
- return i.set(f, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, f])), f;
411
- })
412
- ])
413
- );
414
- }
415
- }
416
- return e;
417
- }, et = async (e, t, n, s) => {
418
- let r;
419
- if (!(t.$flags$ & 32)) {
420
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
421
- const a = Se(n);
422
- if (a && "then" in a) {
423
- const $ = Ce();
424
- r = await a, $();
425
- } else
426
- r = a;
427
- if (!r)
428
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
429
- r.isProxied || (n.$watchers$ = r.watchers, pe(
430
- r,
431
- n,
432
- 2
433
- /* proxyState */
434
- ), r.isProxied = !0);
435
- const c = b("createInstance", n.$tagName$);
436
- t.$flags$ |= 8;
437
- try {
438
- new r(t);
439
- } catch ($) {
440
- w($);
441
- }
442
- t.$flags$ &= -9, t.$flags$ |= 128, c();
443
- } else {
444
- r = e.constructor;
445
- const a = e.localName;
446
- customElements.whenDefined(a).then(
447
- () => t.$flags$ |= 128
448
- /* isWatchReady */
449
- );
450
- }
451
- if (r && r.style) {
452
- let a;
453
- typeof r.style == "string" && (a = r.style);
454
- const c = ne(n);
455
- if (!_.has(c)) {
456
- const $ = b("registerStyles", n.$tagName$);
457
- He(c, a, !!(n.$flags$ & 1)), $();
458
- }
459
- }
460
- }
461
- const o = t.$ancestorComponent$, l = () => q(t, !0);
462
- o && o["s-rc"] ? o["s-rc"].push(l) : l();
463
- }, tt = (e) => {
464
- }, st = (e) => {
465
- if (!(h.$flags$ & 1)) {
466
- const t = k(e), n = t.$cmpMeta$, s = b("connectedCallback", n.$tagName$);
467
- if (t.$flags$ & 1)
468
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => tt());
469
- else {
470
- t.$flags$ |= 1;
471
- {
472
- let r = e;
473
- for (; r = r.parentNode || r.host; )
474
- if (r["s-p"]) {
475
- fe(t, t.$ancestorComponent$ = r);
476
- break;
477
- }
478
- }
479
- n.$members$ && Object.entries(n.$members$).map(([r, [o]]) => {
480
- if (o & 31 && e.hasOwnProperty(r)) {
481
- const l = e[r];
482
- delete e[r], e[r] = l;
483
- }
484
- }), et(e, t, n);
485
- }
486
- s();
487
- }
488
- }, N = (e) => {
489
- M(e, "disconnectedCallback");
490
- }, rt = async (e) => {
491
- if (!(h.$flags$ & 1)) {
492
- const t = k(e);
493
- t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
494
- }
495
- }, lt = (e, t = {}) => {
496
- var n;
497
- const s = b(), r = [], o = t.exclude || [], l = j.customElements, i = S.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ S.createElement("style"), $ = [];
498
- let f, d = !0;
499
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
500
- let u = !1;
501
- if (e.map((p) => {
502
- p[1].map((v) => {
503
- var m;
504
- const g = {
505
- $flags$: v[0],
506
- $tagName$: v[1],
507
- $members$: v[2],
508
- $listeners$: v[3]
509
- };
510
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (m = v[4]) != null ? m : {};
511
- const T = g.$tagName$, ve = class extends HTMLElement {
512
- // StencilLazyHost
513
- constructor(E) {
514
- if (super(E), this.hasRegisteredEventListeners = !1, E = this, me(E, g), g.$flags$ & 1) {
515
- if (!E.shadowRoot)
516
- E.attachShadow({ mode: "open" });
517
- else if (E.shadowRoot.mode !== "open")
518
- throw new Error(
519
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
520
- );
521
- }
522
- }
523
- connectedCallback() {
524
- k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : h.jmp(() => st(this));
525
- }
526
- disconnectedCallback() {
527
- h.jmp(() => rt(this));
528
- }
529
- componentOnReady() {
530
- return k(this).$onReadyPromise$;
531
- }
532
- };
533
- g.$lazyBundleId$ = p[0], !o.includes(T) && !l.get(T) && (r.push(T), l.define(
534
- T,
535
- pe(
536
- ve,
537
- g,
538
- 1
539
- /* isElementConstructor */
540
- )
541
- ));
542
- });
543
- }), r.length > 0 && (u && (c.textContent += ee), c.textContent += r.sort() + be, c.innerHTML.length)) {
544
- c.setAttribute("data-styles", "");
545
- const p = (n = h.$nonce$) != null ? n : se(S);
546
- p != null && c.setAttribute("nonce", p), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
547
- }
548
- d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(de, 30)), s();
549
- };
550
- export {
551
- Ie as H,
552
- lt as b,
553
- Ue as h,
554
- Ee as p,
555
- nt as r
556
- };