@everymatrix/casino-header-controller 1.74.10 → 1.75.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 (60) hide show
  1. package/components/{CasinoHamburgerMenu-CoN5AQhy.js → CasinoHamburgerMenu-B2MD3MtF.js} +771 -757
  2. package/components/{CasinoHamburgerMenu-CJvz-6v8.js → CasinoHamburgerMenu-BhQwqDES.js} +788 -774
  3. package/components/CasinoHamburgerMenu-ClkbM37n.cjs +21 -0
  4. package/components/{CasinoHeaderController-4RP64UER.js → CasinoHeaderController-0F58MhJD.js} +9 -9
  5. package/components/{CasinoHeaderController-5SOMU0mr.cjs → CasinoHeaderController-D3CRMDJO.cjs} +1 -1
  6. package/components/{CasinoHeaderController-nHwZBFh1.js → CasinoHeaderController-DrNUWr21.js} +220 -220
  7. package/components/{CasinoSlider-SIfbXA_S.cjs → CasinoSlider-BFndmQiW.cjs} +1 -1
  8. package/components/{CasinoSlider-Cz_SY5te.js → CasinoSlider-CeIar2zF.js} +22 -22
  9. package/components/{CasinoSlider-D-gB23jc.js → CasinoSlider-DmHACRGm.js} +21 -21
  10. package/components/PlayerAccountBalanceModal-Cyd68GUD.js +1380 -0
  11. package/components/PlayerAccountBalanceModal-DF1D9Qn4.js +1409 -0
  12. package/components/PlayerAccountBalanceModal-DLnlf4pO.cjs +7 -0
  13. package/components/{PlayerDeposit-DKiaKiSX.js → PlayerDeposit-Blf-kZ4t.js} +68 -68
  14. package/components/{PlayerDeposit-VFOktlR5.js → PlayerDeposit-DS6sQJMo.js} +68 -68
  15. package/components/PlayerDeposit-qG_kO2Rh.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/{gamification-dropdown-60536faa-DASClLsG.cjs → gamification-dropdown-60536faa-CkmaCt3Q.cjs} +1 -1
  21. package/stencil/{gamification-dropdown-60536faa-C4Bt9SsA.js → gamification-dropdown-60536faa-b2-gKj-C.js} +1 -1
  22. package/stencil/{gamification-dropdown-60536faa-a9fhneJS.js → gamification-dropdown-60536faa-fBm4KcQa.js} +1 -1
  23. package/stencil/{gamification-dropdown-Cn5QbhyS.js → gamification-dropdown-D5c135Qe.js} +1 -1
  24. package/stencil/{gamification-dropdown-C6ERMVuc.js → gamification-dropdown-drtHPn9c.js} +1 -1
  25. package/stencil/{gamification-dropdown-DCP5M16U.cjs → gamification-dropdown-edMbhxDe.cjs} +1 -1
  26. package/stencil/{gamification-dropdown_4-DcfTNvW3.js → gamification-dropdown_4-C-ULhaax.js} +5 -5
  27. package/stencil/gamification-dropdown_4-CNSh1h1d.cjs +192 -0
  28. package/stencil/{gamification-dropdown_4-DxutrN1l.js → gamification-dropdown_4-vZb_TDYi.js} +5 -5
  29. package/stencil/{index-1ef3a64c-B1d9e5pW.js → index-1ef3a64c-BC8-LWK-.js} +201 -201
  30. package/stencil/index-1ef3a64c-BTHG-6MK.js +556 -0
  31. package/stencil/index-1ef3a64c-DWSAxGlI.cjs +1 -0
  32. package/stencil/index-71b1bdfa-3q2dUmkJ.js +757 -0
  33. package/stencil/index-71b1bdfa-BwU-ZobY.js +784 -0
  34. package/stencil/index-71b1bdfa-S-HUlbq9.cjs +1 -0
  35. package/stencil/{player-elevate-card-Dk8IKGFM.js → player-elevate-card-BjqJ00gW.js} +2 -2
  36. package/stencil/{player-elevate-card-CV-QotRL.js → player-elevate-card-D2SUJfQQ.js} +2 -2
  37. package/stencil/{player-elevate-card-DGldgGzV.cjs → player-elevate-card-DouGzeSQ.cjs} +1 -1
  38. package/stencil/{player-elevate-card-items-08c6fbd8-jkH5ihgE.cjs → player-elevate-card-items-08c6fbd8-B17ziILA.cjs} +3 -3
  39. package/stencil/{player-elevate-card-items-08c6fbd8-D2InzLdw.js → player-elevate-card-items-08c6fbd8-DCezar0T.js} +82 -82
  40. package/stencil/{player-elevate-card-items-08c6fbd8-DWYJG2Sw.js → player-elevate-card-items-08c6fbd8-Xsq6w4LE.js} +82 -82
  41. package/stencil/{player-elevate-pointcard-BZEQfMrQ.js → player-elevate-pointcard-B1bT9eUy.js} +2 -2
  42. package/stencil/{player-elevate-pointcard-Kd_hq4Sx.cjs → player-elevate-pointcard-CGFluXIm.cjs} +1 -1
  43. package/stencil/{player-elevate-pointcard-CFB0v64P.js → player-elevate-pointcard-Dh7dRbip.js} +2 -2
  44. package/stencil/{player-rakeback-card-BLuEtn4-.js → player-rakeback-card-BfD7gcGR.js} +1 -1
  45. package/stencil/{player-rakeback-card-DV2irTYH.js → player-rakeback-card-DRZs6TNO.js} +1 -1
  46. package/stencil/{player-rakeback-card-B_0uBE6g.cjs → player-rakeback-card-Dm2Xwe4V.cjs} +1 -1
  47. package/stencil/{user-deposit-withdrawal-CnTB5Htu.cjs → user-deposit-withdrawal-BMH0p3pP.cjs} +2 -2
  48. package/stencil/{user-deposit-withdrawal-D3SYJSWx.js → user-deposit-withdrawal-C0pUSCwu.js} +45 -45
  49. package/stencil/{user-deposit-withdrawal-DIQiW7CO.js → user-deposit-withdrawal-MEriFskJ.js} +45 -45
  50. package/components/CasinoHamburgerMenu-DbcCsL_F.cjs +0 -21
  51. package/components/PlayerAccountBalanceModal-B8M587Ck.cjs +0 -7
  52. package/components/PlayerAccountBalanceModal-C1IAqTOW.js +0 -1409
  53. package/components/PlayerAccountBalanceModal-DpIFaPjO.js +0 -1380
  54. package/components/PlayerDeposit-DpJ5OKSd.cjs +0 -1
  55. package/stencil/gamification-dropdown_4-DvpNN67k.cjs +0 -192
  56. package/stencil/index-1ef3a64c-C4G-G36U.cjs +0 -1
  57. package/stencil/index-1ef3a64c-GG7QM-1r.js +0 -556
  58. package/stencil/index-71b1bdfa-BF1FhHvP.js +0 -753
  59. package/stencil/index-71b1bdfa-CsAz1pRT.js +0 -780
  60. package/stencil/index-71b1bdfa-CvQLI6L6.cjs +0 -1
@@ -1,556 +0,0 @@
1
- const pe = "user-deposit-withdrawal", he = (
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, ve = (e, t) => {
6
- for (var r in t)
7
- ge(e, r, { get: t[r], enumerable: !0 });
8
- }, H = /* @__PURE__ */ new WeakMap(), k = (e) => H.get(e), nt = (e, t) => H.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"] = [], H.set(e, r);
16
- }, W = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), C = /* @__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 = C.get(n);
21
- if (i)
22
- return i[s];
23
- {
24
- const l = (o) => (C.set(n, o), o[s]);
25
- switch (n) {
26
- case "user-deposit-withdrawal":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./user-deposit-withdrawal-DIQiW7CO.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
- `./${n}.entry.js`
39
- ).then((l) => (C.set(n, l), l[s]), w);
40
- }, _ = /* @__PURE__ */ new Map(), Se = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, S = j.document || { head: {} }, g = {
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), be = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), U = !1, G = [], ee = [], ke = (e, t) => (r) => {
55
- e.push(r), U || (U = !0, g.$flags$ & 4 ? R(I) : g.raf(I));
56
- }, X = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (r) {
61
- w(r);
62
- }
63
- e.length = 0;
64
- }, I = () => {
65
- X(G), X(ee), (U = G.length > 0) && g.raf(I);
66
- }, R = (e) => Ee().then(e), we = /* @__PURE__ */ ke(ee), Q = {}, xe = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml", Le = (e) => e != null, B = (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 Pe = {};
72
- ve(Pe, {
73
- err: () => se,
74
- map: () => Ae,
75
- ok: () => D,
76
- unwrap: () => _e,
77
- unwrapErr: () => Oe
78
- });
79
- var D = (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) => D(s)) : D(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 _e = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, Oe = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, E = (e, t = "") => () => {
108
- }, je = (e, t) => () => {
109
- }, Ce = (e, t, ...r) => {
110
- let s = null, n = null, i = !1, l = !1;
111
- const o = [], a = ($) => {
112
- for (let f = 0; f < $.length; f++)
113
- s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !B(s)) && (s = String(s)), i && l ? o[o.length - 1].$text$ += s : o.push(i ? z(null, s) : s), l = i);
114
- };
115
- if (a(r), t) {
116
- t.key && (n = 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 = z(e, null);
123
- return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = n, c;
124
- }, z = (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 = {}, Ie = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !B(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, ze = (e, t, r) => {
134
- const s = g.ce(t, r);
135
- return e.dispatchEvent(s), s;
136
- }, Y = /* @__PURE__ */ new WeakMap(), He = (e, t, r) => {
137
- let s = _.get(e);
138
- be && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
139
- }, Re = (e, t, r) => {
140
- var s;
141
- const n = ne(t), i = _.get(n);
142
- if (e = e.nodeType === 11 ? e : S, i)
143
- if (typeof i == "string") {
144
- e = e.head || e;
145
- let l = Y.get(e), o;
146
- if (l || Y.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
- {
148
- o = S.createElement("style"), o.innerHTML = i;
149
- const a = (s = g.$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
- }, Be = (e) => {
158
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = E("attachStyles", t.$tagName$), i = Re(
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$, J = (e, t, r, s, n, i) => {
164
- if (r !== s) {
165
- let l = W(e, t), o = t.toLowerCase();
166
- if (t === "class") {
167
- const a = e.classList, c = K(r), $ = 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 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) : W(j, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
179
- const a = t.endsWith(re);
180
- t = t.replace(qe, ""), r && g.rel(e, t, r, a), s && g.ael(e, t, s, a);
181
- }
182
- } else {
183
- const a = B(s);
184
- if ((l || a && s !== null) && !n)
185
- try {
186
- if (e.tagName.includes("-"))
187
- e[t] = s;
188
- else {
189
- const c = s ?? "";
190
- t === "list" ? l = !1 : (r == 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 || i & 4 || n) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
195
- }
196
- }
197
- }, Fe = /\s/, K = (e) => e ? e.split(Fe) : [], re = "Capture", qe = 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$ || Q, i = t.$attrs$ || Q;
199
- for (const l of Z(Object.keys(n)))
200
- l in i || J(s, l, n[l], void 0, r, t.$flags$);
201
- for (const l of Z(Object.keys(i)))
202
- J(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 P, F, y = !1, O = (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), Le(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), n.$children$)
223
- for (i = 0; i < n.$children$.length; ++i)
224
- o = O(e, n, i), o && l.appendChild(o);
225
- n.$tag$ === "svg" ? y = !1 : l.tagName === "foreignObject" && (y = !0);
226
- }
227
- return l["s-hn"] = F, l;
228
- }, ae = (e, t, r, s, n, i) => {
229
- let l = e, o;
230
- for (l.shadowRoot && l.tagName === F && (l = l.shadowRoot); n <= i; ++n)
231
- s[n] && (o = O(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
- }, Me = (e, t, r, s, n = !1) => {
241
- let i = 0, l = 0, o = 0, a = 0, c = t.length - 1, $ = t[0], f = t[c], d = s.length - 1, u = s[0], p = s[d], h, m;
242
- for (; i <= c && l <= d; )
243
- if ($ == null)
244
- $ = t[++i];
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, n))
252
- x($, u, n), $ = t[++i], u = s[++l];
253
- else if (L(f, p, n))
254
- x(f, p, n), f = t[--c], p = s[--d];
255
- else if (L($, p, n))
256
- x($, p, n), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++i], p = s[--d];
257
- else if (L(f, u, n))
258
- x(f, u, n), A(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
259
- else {
260
- for (o = -1, a = i; a <= c; ++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$ ? h = O(t && t[l], r, o) : (x(m, u, n), t[o] = void 0, h = m.$elm$), u = s[++l]) : (h = O(t && t[l], r, l), u = s[++l]), h && A($.$elm$.parentNode, h, $.$elm$);
266
- }
267
- i > c ? 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, c);
275
- }, L = (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 ? Me(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), We = (e, t, r = !1) => {
281
- const s = e.$hostElement$, n = e.$cmpMeta$, i = e.$vnode$ || z(null, null), l = Ie(t) ? t : Ce(null, null, t);
282
- if (F = 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, P = s["s-sc"], n.$flags$ & 1, x(i, l, r);
288
- }, ce = (e, t) => {
289
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
290
- }, q = (e, t) => {
291
- if (e.$flags$ |= 16, e.$flags$ & 4) {
292
- e.$flags$ |= 512;
293
- return;
294
- }
295
- return ce(e, e.$ancestorComponent$), we(() => 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 = M(n, "componentWillLoad")), s(), Xe(i, () => Ye(e, n, t));
304
- }, Xe = (e, t) => Qe(e) ? e.then(t).catch((r) => {
305
- console.error(r), t();
306
- }) : t(), Qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ye = async (e, t, r) => {
307
- var s;
308
- const n = e.$hostElement$, i = E("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
309
- r && Be(e);
310
- const o = E("render", e.$cmpMeta$.$tagName$);
311
- Je(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 : [], c = () => Ke(e);
314
- a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
315
- }
316
- }, Je = (e, t, r, s) => {
317
- try {
318
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
319
- } catch (n) {
320
- w(n, e.$hostElement$);
321
- }
322
- return null;
323
- }, Ke = (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), M(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), i || $e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && R(() => q(e, !1)), e.$flags$ &= -517;
326
- }, $e = (e) => {
327
- fe(S.documentElement), R(() => ze(j, "appload", { detail: { namespace: pe } }));
328
- }, M = (e, t, r) => {
329
- if (e && e[t])
330
- try {
331
- return e[t](r);
332
- } catch (s) {
333
- w(s);
334
- }
335
- }, fe = (e) => {
336
- var t;
337
- return e.classList.add((t = he.hydratedSelectorName) != null ? t : "hydrated");
338
- }, Ze = (e, t) => k(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
339
- const n = k(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 = De(r, s.$members$[t][0]);
346
- const c = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !c;
347
- if ((!(o & 8) || l === void 0) && $ && (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
- w(u, i);
355
- }
356
- });
357
- }
358
- (o & 18) === 2 && q(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(c) {
372
- Ne(this, o, c, 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
- g.jmp(() => {
381
- var f;
382
- const d = o.get(a);
383
- if (this.hasOwnProperty(d))
384
- $ = this[d], delete this[d];
385
- else {
386
- if (i.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 h = u.$lazyInstance$, m = (f = t.$watchers$) == null ? void 0 : f[a];
392
- m?.forEach((v) => {
393
- h[v] != null && h[v].call(h, $, 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((n = t.$watchers$) != null ? n : {}),
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 o.set(f, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.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 $ = je();
424
- n = await a, $();
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 c = E("createInstance", r.$tagName$);
436
- t.$flags$ |= 8;
437
- try {
438
- new n(t);
439
- } catch ($) {
440
- w($);
441
- }
442
- t.$flags$ &= -9, t.$flags$ |= 128, c();
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 c = ne(r);
455
- if (!_.has(c)) {
456
- const $ = E("registerStyles", r.$tagName$);
457
- He(c, a, !!(r.$flags$ & 1)), $();
458
- }
459
- }
460
- }
461
- const i = t.$ancestorComponent$, l = () => q(t, !0);
462
- i && i["s-rc"] ? i["s-rc"].push(l) : l();
463
- }, et = (e) => {
464
- }, tt = (e) => {
465
- if (!(g.$flags$ & 1)) {
466
- const t = k(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
- ce(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
- M(e, "disconnectedCallback");
490
- }, st = async (e) => {
491
- if (!(g.$flags$ & 1)) {
492
- const t = k(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 = j.customElements, o = S.head, a = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ S.createElement("style"), $ = [];
498
- let f, d = !0;
499
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
500
- let u = !1;
501
- if (e.map((p) => {
502
- p[1].map((h) => {
503
- var m;
504
- const v = {
505
- $flags$: h[0],
506
- $tagName$: h[1],
507
- $members$: h[2],
508
- $listeners$: h[3]
509
- };
510
- v.$flags$ & 4 && (u = !0), v.$members$ = h[2], v.$attrsToReflect$ = [], v.$watchers$ = (m = h[4]) != null ? m : {};
511
- const T = v.$tagName$, ue = class extends HTMLElement {
512
- // StencilLazyHost
513
- constructor(b) {
514
- if (super(b), this.hasRegisteredEventListeners = !1, b = this, ye(b, v), v.$flags$ & 1) {
515
- if (!b.shadowRoot)
516
- b.attachShadow({ mode: "open" });
517
- else if (b.shadowRoot.mode !== "open")
518
- throw new Error(
519
- `Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${b.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) : g.jmp(() => tt(this));
525
- }
526
- disconnectedCallback() {
527
- g.jmp(() => st(this));
528
- }
529
- componentOnReady() {
530
- return k(this).$onReadyPromise$;
531
- }
532
- };
533
- v.$lazyBundleId$ = p[0], !i.includes(T) && !l.get(T) && (n.push(T), l.define(
534
- T,
535
- de(
536
- ue,
537
- v,
538
- 1
539
- /* isElementConstructor */
540
- )
541
- ));
542
- });
543
- }), n.length > 0 && (u && (c.textContent += V), c.textContent += n.sort() + Se, c.innerHTML.length)) {
544
- c.setAttribute("data-styles", "");
545
- const p = (r = g.$nonce$) != null ? r : te(S);
546
- p != null && c.setAttribute("nonce", p), o.insertBefore(c, a ? a.nextSibling : o.firstChild);
547
- }
548
- d = !1, $.length ? $.map((p) => p.connectedCallback()) : g.jmp(() => f = setTimeout($e, 30)), s();
549
- };
550
- export {
551
- Ue as H,
552
- rt as b,
553
- Ce as h,
554
- Ee as p,
555
- nt as r
556
- };