@everymatrix/casino-header-controller 1.55.0 → 1.56.2

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 (31) hide show
  1. package/components/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-D3IA0-Fr.js} +68 -31
  2. package/components/{CasinoHamburgerMenu-C8-P7sF9.cjs → CasinoHamburgerMenu-DessG6uq.cjs} +16 -3
  3. package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-DyL5A7W7.js} +69 -32
  4. package/components/CasinoHeaderController-BFP8179I.cjs +13 -0
  5. package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-BbEsH91Z.js} +522 -488
  6. package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-DeiDjcf5.js} +581 -547
  7. package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-BiQpUhjL.js} +63 -63
  8. package/components/CasinoSlider-E1mSYv_J.cjs +1 -0
  9. package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-MTl32pNB.js} +59 -59
  10. package/components/{PlayerAccountBalanceModal-BVQlpIy4.cjs → PlayerAccountBalanceModal-B9BkSlDU.cjs} +5 -5
  11. package/components/{PlayerAccountBalanceModal-CcASksA3.js → PlayerAccountBalanceModal-CEo_b6Ks.js} +119 -116
  12. package/components/{PlayerAccountBalanceModal-DG6GgVDp.js → PlayerAccountBalanceModal-fP9D_Jz7.js} +118 -115
  13. package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-Bv78j0E8.js} +15 -15
  14. package/components/{PlayerDeposit-C8ZPqrpV.cjs → PlayerDeposit-C7xxeNB2.cjs} +1 -1
  15. package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DiUqgMu-.js} +15 -15
  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-1ef3a64c-6soTLew7.js +556 -0
  21. package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
  22. package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
  23. package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-C72e1sSw.js} +216 -178
  24. package/stencil/user-deposit-withdrawal-CS-LZhcv.cjs +59 -0
  25. package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-DfDiD6Lp.js} +289 -251
  26. package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
  27. package/components/CasinoSlider-DDycojG8.cjs +0 -1
  28. package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
  29. package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
  30. package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
  31. package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -0,0 +1,556 @@
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-C72e1sSw.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
+ };