@everymatrix/casino-header-controller 1.64.8 → 1.65.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 (47) hide show
  1. package/components/CasinoHeaderController-Bqi_UEZi.js +3223 -0
  2. package/components/CasinoHeaderController-CvgFMlA6.js +3246 -0
  3. package/components/CasinoHeaderController-DNNqI5-z.cjs +13 -0
  4. package/es2015/casino-header-controller.cjs +1 -1
  5. package/es2015/casino-header-controller.js +1 -1
  6. package/esnext/casino-header-controller.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  9. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  10. package/stencil/gamification-dropdown-8eb8a896-B80HjrXs.js +126 -0
  11. package/stencil/gamification-dropdown-8eb8a896-Dpy7kYRl.js +144 -0
  12. package/stencil/gamification-dropdown-8eb8a896-wUq7QkNM.cjs +1 -0
  13. package/stencil/gamification-dropdown-BKLERBkj.js +25 -0
  14. package/stencil/gamification-dropdown-Ctny0vqq.js +7 -0
  15. package/stencil/gamification-dropdown-DoTceze_.cjs +1 -0
  16. package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +192 -0
  17. package/stencil/gamification-dropdown_4-CcWOoutw.js +469 -0
  18. package/stencil/gamification-dropdown_4-CmDM3hBS.js +451 -0
  19. package/stencil/{index-1ef3a64c-B6t9gkO1.js → index-1ef3a64c-AMSfdX4B.js} +1 -1
  20. package/stencil/{index-1ef3a64c-BdrVNGQe.cjs → index-1ef3a64c-BlUWL6ud.cjs} +1 -1
  21. package/stencil/{index-1ef3a64c-BfGbBN_r.js → index-1ef3a64c-CTdxbgr0.js} +1 -1
  22. package/stencil/index-71b1bdfa-BWeAgaw2.js +753 -0
  23. package/stencil/index-71b1bdfa-BeszNvNP.cjs +1 -0
  24. package/stencil/index-71b1bdfa-DBUT8z-D.js +780 -0
  25. package/stencil/locale-DHn5ZpQu.cjs +1 -0
  26. package/stencil/locale-DuSXBQwH.js +215 -0
  27. package/stencil/player-elevate-card-B70rn287.js +106 -0
  28. package/stencil/player-elevate-card-DqZR4w--.js +106 -0
  29. package/stencil/player-elevate-card-W6LcGGe8.cjs +64 -0
  30. package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +1290 -0
  31. package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +1 -0
  32. package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +1290 -0
  33. package/stencil/player-elevate-pointcard-CBapQeNI.js +44 -0
  34. package/stencil/player-elevate-pointcard-DREgIjCm.js +44 -0
  35. package/stencil/player-elevate-pointcard-DwDhlXwq.cjs +1 -0
  36. package/stencil/player-rakeback-card-B0P7gHIA.cjs +1 -0
  37. package/stencil/player-rakeback-card-tP823Fs8.js +111 -0
  38. package/stencil/player-rakeback-card-z_ugBu0q.js +137 -0
  39. package/stencil/user-deposit-withdrawal-BRpNiBnR.cjs +68 -0
  40. package/stencil/{user-deposit-withdrawal-4aK-1zzW.js → user-deposit-withdrawal-Dy3WkB23.js} +2 -2
  41. package/stencil/{user-deposit-withdrawal-BhsnZiSd.js → user-deposit-withdrawal-c_bH3eje.js} +2 -2
  42. package/components/CasinoHeaderController-BIefUWQL.js +0 -3114
  43. package/components/CasinoHeaderController-DSyglpDF.cjs +0 -13
  44. package/components/CasinoHeaderController-KfLekr0Q.js +0 -3137
  45. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  46. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  47. package/stencil/user-deposit-withdrawal-HQmDGKFu.cjs +0 -68
@@ -0,0 +1,753 @@
1
+ const Ae = "gamification-dropdown", W = (
2
+ /* gamification-dropdown */
3
+ { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", slotRelocation: !0 }
4
+ );
5
+ var Oe = Object.defineProperty, je = (e, t) => {
6
+ for (var s in t)
7
+ Oe(e, s, { get: t[s], enumerable: !0 });
8
+ }, G = /* @__PURE__ */ new WeakMap(), L = (e) => G.get(e), Tt = (e, t) => G.set(t.$lazyInstance$ = e, t), Re = (e, t) => {
9
+ const s = {
10
+ $flags$: 0,
11
+ $hostElement$: e,
12
+ $cmpMeta$: t,
13
+ $instanceValues$: /* @__PURE__ */ new Map()
14
+ };
15
+ return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], G.set(e, s);
16
+ }, Z = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), z = /* @__PURE__ */ new Map(), Ne = (e, t, s) => {
17
+ const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
+ if (!r)
19
+ return;
20
+ const l = z.get(r);
21
+ if (l)
22
+ return l[n];
23
+ {
24
+ const a = (i) => (z.set(r, i), i[n]);
25
+ switch (r) {
26
+ case "gamification-dropdown_4":
27
+ return import(
28
+ /* webpackMode: "lazy" */
29
+ "./gamification-dropdown_4-CmDM3hBS.js"
30
+ ).then(a, b);
31
+ case "player-elevate-card":
32
+ return import(
33
+ /* webpackMode: "lazy" */
34
+ "./player-elevate-card-B70rn287.js"
35
+ ).then(a, b);
36
+ case "player-elevate-pointcard":
37
+ return import(
38
+ /* webpackMode: "lazy" */
39
+ "./player-elevate-pointcard-DREgIjCm.js"
40
+ ).then(a, b);
41
+ case "player-rakeback-card":
42
+ return import(
43
+ /* webpackMode: "lazy" */
44
+ "./player-rakeback-card-tP823Fs8.js"
45
+ ).then(a, b);
46
+ }
47
+ }
48
+ return import(
49
+ /* @vite-ignore */
50
+ /* webpackInclude: /\.entry\.js$/ */
51
+ /* webpackExclude: /\.system\.entry\.js$/ */
52
+ /* webpackMode: "lazy" */
53
+ `./${r}.entry.js`
54
+ ).then((a) => (z.set(r, a), a[n]), b);
55
+ }, N = /* @__PURE__ */ new Map(), Ie = "{visibility:hidden}.hydrated{visibility:inherit}", $e = "slot-fb{display:contents}slot-fb[hidden]{display:none}", P = typeof window < "u" ? window : {}, m = P.document || { head: {} }, g = {
56
+ $flags$: 0,
57
+ $resourcesUrl$: "",
58
+ jmp: (e) => e(),
59
+ raf: (e) => requestAnimationFrame(e),
60
+ ael: (e, t, s, n) => e.addEventListener(t, s, n),
61
+ rel: (e, t, s, n) => e.removeEventListener(t, s, n),
62
+ ce: (e, t) => new CustomEvent(e, t)
63
+ }, Ue = /* @__PURE__ */ (() => {
64
+ let e = !1;
65
+ try {
66
+ m.addEventListener(
67
+ "e",
68
+ null,
69
+ Object.defineProperty({}, "passive", {
70
+ get() {
71
+ e = !0;
72
+ }
73
+ })
74
+ );
75
+ } catch {
76
+ }
77
+ return e;
78
+ })(), Ce = (e) => Promise.resolve(e), He = /* @__PURE__ */ (() => {
79
+ try {
80
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
81
+ } catch {
82
+ }
83
+ return !1;
84
+ })(), B = !1, V = [], ce = [], qe = (e, t) => (s) => {
85
+ e.push(s), B || (B = !0, g.$flags$ & 4 ? X(F) : g.raf(F));
86
+ }, ee = (e) => {
87
+ for (let t = 0; t < e.length; t++)
88
+ try {
89
+ e[t](performance.now());
90
+ } catch (s) {
91
+ b(s);
92
+ }
93
+ e.length = 0;
94
+ }, F = () => {
95
+ ee(V), ee(ce), (B = V.length > 0) && g.raf(F);
96
+ }, X = (e) => Ce().then(e), ze = /* @__PURE__ */ qe(ce), xt = (e) => {
97
+ const t = new URL(e, g.$resourcesUrl$);
98
+ return t.origin !== P.location.origin ? t.href : t.pathname;
99
+ }, te = {}, Be = "http://www.w3.org/2000/svg", Fe = "http://www.w3.org/1999/xhtml", De = (e) => e != null, Y = (e) => (e = typeof e, e === "object" || e === "function");
100
+ function fe(e) {
101
+ var t, s, n;
102
+ return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
103
+ }
104
+ var Me = {};
105
+ je(Me, {
106
+ err: () => de,
107
+ map: () => We,
108
+ ok: () => D,
109
+ unwrap: () => Ge,
110
+ unwrapErr: () => Xe
111
+ });
112
+ var D = (e) => ({
113
+ isOk: !0,
114
+ isErr: !1,
115
+ value: e
116
+ }), de = (e) => ({
117
+ isOk: !1,
118
+ isErr: !0,
119
+ value: e
120
+ });
121
+ function We(e, t) {
122
+ if (e.isOk) {
123
+ const s = t(e.value);
124
+ return s instanceof Promise ? s.then((n) => D(n)) : D(s);
125
+ }
126
+ if (e.isErr) {
127
+ const s = e.value;
128
+ return de(s);
129
+ }
130
+ throw "should never get here";
131
+ }
132
+ var Ge = (e) => {
133
+ if (e.isOk)
134
+ return e.value;
135
+ throw e.value;
136
+ }, Xe = (e) => {
137
+ if (e.isErr)
138
+ return e.value;
139
+ throw e.value;
140
+ }, T = (e, t = "") => () => {
141
+ }, Ye = (e, t) => () => {
142
+ }, ue = (e, t, ...s) => {
143
+ let n = null, r = null, l = null, a = !1, i = !1;
144
+ const o = [], f = (d) => {
145
+ for (let c = 0; c < d.length; c++)
146
+ n = d[c], Array.isArray(n) ? f(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !Y(n)) && (n = String(n)), a && i ? o[o.length - 1].$text$ += n : o.push(a ? I(null, n) : n), i = a);
147
+ };
148
+ if (f(s), t) {
149
+ t.key && (r = t.key), t.name && (l = t.name);
150
+ {
151
+ const d = t.className || t.class;
152
+ d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((c) => d[c]).join(" "));
153
+ }
154
+ }
155
+ if (typeof e == "function")
156
+ return e(
157
+ t === null ? {} : t,
158
+ o,
159
+ Qe
160
+ );
161
+ const $ = I(e, null);
162
+ return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = r, $.$name$ = l, $;
163
+ }, I = (e, t) => {
164
+ const s = {
165
+ $flags$: 0,
166
+ $tag$: e,
167
+ $text$: t,
168
+ $elm$: null,
169
+ $children$: null
170
+ };
171
+ return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
172
+ }, Je = {}, Ke = (e) => e && e.$tag$ === Je, Qe = {
173
+ forEach: (e, t) => e.map(se).forEach(t),
174
+ map: (e, t) => e.map(se).map(t).map(Ze)
175
+ }, se = (e) => ({
176
+ vattrs: e.$attrs$,
177
+ vchildren: e.$children$,
178
+ vkey: e.$key$,
179
+ vname: e.$name$,
180
+ vtag: e.$tag$,
181
+ vtext: e.$text$
182
+ }), Ze = (e) => {
183
+ if (typeof e.vtag == "function") {
184
+ const s = { ...e.vattrs };
185
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ue(e.vtag, s, ...e.vchildren || []);
186
+ }
187
+ const t = I(e.vtag, e.vtext);
188
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
189
+ }, Ve = (e, t) => e != null && !Y(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, et = (e) => L(e).$hostElement$, Lt = (e, t, s) => {
190
+ const n = et(e);
191
+ return {
192
+ emit: (r) => ve(n, t, {
193
+ bubbles: !0,
194
+ composed: !0,
195
+ cancelable: !0,
196
+ detail: r
197
+ })
198
+ };
199
+ }, ve = (e, t, s) => {
200
+ const n = g.ce(t, s);
201
+ return e.dispatchEvent(n), n;
202
+ }, ne = /* @__PURE__ */ new WeakMap(), tt = (e, t, s) => {
203
+ let n = N.get(e);
204
+ He && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, N.set(e, n);
205
+ }, st = (e, t, s) => {
206
+ var n;
207
+ const r = pe(t), l = N.get(r);
208
+ if (e = e.nodeType === 11 ? e : m, l)
209
+ if (typeof l == "string") {
210
+ e = e.head || e;
211
+ let a = ne.get(e), i;
212
+ if (a || ne.set(e, a = /* @__PURE__ */ new Set()), !a.has(r)) {
213
+ {
214
+ i = m.createElement("style"), i.innerHTML = l;
215
+ const o = (n = g.$nonce$) != null ? n : fe(m);
216
+ o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
217
+ }
218
+ t.$flags$ & 4 && (i.innerHTML += $e), a && a.add(r);
219
+ }
220
+ } else
221
+ e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
222
+ return r;
223
+ }, nt = (e) => {
224
+ const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = T("attachStyles", t.$tagName$), l = st(
225
+ s.shadowRoot ? s.shadowRoot : s.getRootNode(),
226
+ t
227
+ );
228
+ n & 10 && (s["s-sc"] = l, s.classList.add(l + "-h")), r();
229
+ }, pe = (e, t) => "sc-" + e.$tagName$, re = (e, t, s, n, r, l) => {
230
+ if (s !== n) {
231
+ let a = Z(e, t), i = t.toLowerCase();
232
+ if (t === "class") {
233
+ const o = e.classList, f = le(s), $ = le(n);
234
+ o.remove(...f.filter((d) => d && !$.includes(d))), o.add(...$.filter((d) => d && !f.includes(d)));
235
+ } else if (t === "style") {
236
+ for (const o in s)
237
+ (!n || n[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
238
+ for (const o in n)
239
+ (!s || n[o] !== s[o]) && (o.includes("-") ? e.style.setProperty(o, n[o]) : e.style[o] = n[o]);
240
+ } else if (t !== "key")
241
+ if (t === "ref")
242
+ n && n(e);
243
+ else if (!a && t[0] === "o" && t[1] === "n") {
244
+ if (t[2] === "-" ? t = t.slice(3) : Z(P, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || n) {
245
+ const o = t.endsWith(he);
246
+ t = t.replace(lt, ""), s && g.rel(e, t, s, o), n && g.ael(e, t, n, o);
247
+ }
248
+ } else {
249
+ const o = Y(n);
250
+ if ((a || o && n !== null) && !r)
251
+ try {
252
+ if (e.tagName.includes("-"))
253
+ e[t] = n;
254
+ else {
255
+ const f = n ?? "";
256
+ t === "list" ? a = !1 : (s == null || e[t] != f) && (e[t] = f);
257
+ }
258
+ } catch {
259
+ }
260
+ n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || l & 4 || r) && !o && (n = n === !0 ? "" : n, e.setAttribute(t, n));
261
+ }
262
+ }
263
+ }, rt = /\s/, le = (e) => e ? e.split(rt) : [], he = "Capture", lt = new RegExp(he + "$"), ge = (e, t, s) => {
264
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || te, l = t.$attrs$ || te;
265
+ for (const a of ae(Object.keys(r)))
266
+ a in l || re(n, a, r[a], void 0, s, t.$flags$);
267
+ for (const a of ae(Object.keys(l)))
268
+ re(n, a, r[a], l[a], s, t.$flags$);
269
+ };
270
+ function ae(e) {
271
+ return e.includes("ref") ? (
272
+ // we need to sort these to ensure that `'ref'` is the last attr
273
+ [...e.filter((t) => t !== "ref"), "ref"]
274
+ ) : (
275
+ // no need to sort, return the original array
276
+ e
277
+ );
278
+ }
279
+ var w, M, q, U = !1, C = !1, J = !1, S = !1, H = (e, t, s, n) => {
280
+ var r;
281
+ const l = t.$children$[s];
282
+ let a = 0, i, o, f;
283
+ if (U || (J = !0, l.$tag$ === "slot" && (w && n.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
284
+ // slot element has fallback content
285
+ // still create an element that "mocks" the slot element
286
+ 2
287
+ ) : (
288
+ // slot element does not have fallback content
289
+ // create an html comment we'll use to always reference
290
+ // where actual slot content should sit next to
291
+ 1
292
+ ))), l.$text$ !== null)
293
+ i = l.$elm$ = m.createTextNode(l.$text$);
294
+ else if (l.$flags$ & 1)
295
+ i = l.$elm$ = m.createTextNode("");
296
+ else {
297
+ if (S || (S = l.$tag$ === "svg"), i = l.$elm$ = m.createElementNS(
298
+ S ? Be : Fe,
299
+ !U && W.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
300
+ ), S && l.$tag$ === "foreignObject" && (S = !1), ge(null, l, S), De(w) && i["s-si"] !== w && i.classList.add(i["s-si"] = w), l.$children$)
301
+ for (a = 0; a < l.$children$.length; ++a)
302
+ o = H(e, l, a, i), o && i.appendChild(o);
303
+ l.$tag$ === "svg" ? S = !1 : i.tagName === "foreignObject" && (S = !0);
304
+ }
305
+ return i["s-hn"] = q, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = M, i["s-sn"] = l.$name$ || "", i["s-rf"] = (r = l.$attrs$) == null ? void 0 : r.ref, f = e && e.$children$ && e.$children$[s], f && f.$tag$ === l.$tag$ && e.$elm$ && A(e.$elm$, !1)), i;
306
+ }, A = (e, t) => {
307
+ g.$flags$ |= 1;
308
+ const s = Array.from(e.childNodes);
309
+ e["s-sr"] && W.experimentalSlotFixes;
310
+ for (let n = s.length - 1; n >= 0; n--) {
311
+ const r = s[n];
312
+ r["s-hn"] !== q && r["s-ol"] && (x(Se(r), r, K(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, J = !0), t && A(r, t);
313
+ }
314
+ g.$flags$ &= -2;
315
+ }, ye = (e, t, s, n, r, l) => {
316
+ let a = e["s-cr"] && e["s-cr"].parentNode || e, i;
317
+ for (a.shadowRoot && a.tagName === q && (a = a.shadowRoot); r <= l; ++r)
318
+ n[r] && (i = H(null, s, r, e), i && (n[r].$elm$ = i, x(a, i, K(t))));
319
+ }, me = (e, t, s) => {
320
+ for (let n = t; n <= s; ++n) {
321
+ const r = e[n];
322
+ if (r) {
323
+ const l = r.$elm$;
324
+ Ee(r), l && (C = !0, l["s-ol"] ? l["s-ol"].remove() : A(l, !0), l.remove());
325
+ }
326
+ }
327
+ }, at = (e, t, s, n, r = !1) => {
328
+ let l = 0, a = 0, i = 0, o = 0, f = t.length - 1, $ = t[0], d = t[f], c = n.length - 1, u = n[0], p = n[c], h, y;
329
+ for (; l <= f && a <= c; )
330
+ if ($ == null)
331
+ $ = t[++l];
332
+ else if (d == null)
333
+ d = t[--f];
334
+ else if (u == null)
335
+ u = n[++a];
336
+ else if (p == null)
337
+ p = n[--c];
338
+ else if (R($, u, r))
339
+ _($, u, r), $ = t[++l], u = n[++a];
340
+ else if (R(d, p, r))
341
+ _(d, p, r), d = t[--f], p = n[--c];
342
+ else if (R($, p, r))
343
+ ($.$tag$ === "slot" || p.$tag$ === "slot") && A($.$elm$.parentNode, !1), _($, p, r), x(e, $.$elm$, d.$elm$.nextSibling), $ = t[++l], p = n[--c];
344
+ else if (R(d, u, r))
345
+ ($.$tag$ === "slot" || p.$tag$ === "slot") && A(d.$elm$.parentNode, !1), _(d, u, r), x(e, d.$elm$, $.$elm$), d = t[--f], u = n[++a];
346
+ else {
347
+ for (i = -1, o = l; o <= f; ++o)
348
+ if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
349
+ i = o;
350
+ break;
351
+ }
352
+ i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = H(t && t[a], s, i, e) : (_(y, u, r), t[i] = void 0, h = y.$elm$), u = n[++a]) : (h = H(t && t[a], s, a, e), u = n[++a]), h && x(Se($.$elm$), h, K($.$elm$));
353
+ }
354
+ l > f ? ye(
355
+ e,
356
+ n[c + 1] == null ? null : n[c + 1].$elm$,
357
+ s,
358
+ n,
359
+ a,
360
+ c
361
+ ) : a > c && me(t, l, f);
362
+ }, R = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : s ? !0 : e.$key$ === t.$key$ : !1, K = (e) => e && e["s-ol"] || e, Se = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, s = !1) => {
363
+ const n = t.$elm$ = e.$elm$, r = e.$children$, l = t.$children$, a = t.$tag$, i = t.$text$;
364
+ let o;
365
+ i === null ? (S = a === "svg" ? !0 : a === "foreignObject" ? !1 : S, a === "slot" && !U || ge(e, t, S), r !== null && l !== null ? at(n, r, t, l, s) : l !== null ? (e.$text$ !== null && (n.textContent = ""), ye(n, null, t, l, 0, l.length - 1)) : r !== null && me(r, 0, r.length - 1), S && a === "svg" && (S = !1)) : (o = n["s-cr"]) ? o.parentNode.textContent = i : e.$text$ !== i && (n.data = i);
366
+ }, be = (e) => {
367
+ const t = e.childNodes;
368
+ for (const s of t)
369
+ if (s.nodeType === 1) {
370
+ if (s["s-sr"]) {
371
+ const n = s["s-sn"];
372
+ s.hidden = !1;
373
+ for (const r of t)
374
+ if (r !== s) {
375
+ if (r["s-hn"] !== s["s-hn"] || n !== "") {
376
+ if (r.nodeType === 1 && (n === r.getAttribute("slot") || n === r["s-sn"]) || r.nodeType === 3 && n === r["s-sn"]) {
377
+ s.hidden = !0;
378
+ break;
379
+ }
380
+ } else if (r.nodeType === 1 || r.nodeType === 3 && r.textContent.trim() !== "") {
381
+ s.hidden = !0;
382
+ break;
383
+ }
384
+ }
385
+ }
386
+ be(s);
387
+ }
388
+ }, E = [], ke = (e) => {
389
+ let t, s, n;
390
+ for (const r of e.childNodes) {
391
+ if (r["s-sr"] && (t = r["s-cr"]) && t.parentNode) {
392
+ s = t.parentNode.childNodes;
393
+ const l = r["s-sn"];
394
+ for (n = s.length - 1; n >= 0; n--)
395
+ if (t = s[n], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== r["s-hn"])
396
+ if (oe(t, l)) {
397
+ let a = E.find((i) => i.$nodeToRelocate$ === t);
398
+ C = !0, t["s-sn"] = t["s-sn"] || l, a ? (a.$nodeToRelocate$["s-sh"] = r["s-hn"], a.$slotRefNode$ = r) : (t["s-sh"] = r["s-hn"], E.push({
399
+ $slotRefNode$: r,
400
+ $nodeToRelocate$: t
401
+ })), t["s-sr"] && E.map((i) => {
402
+ oe(i.$nodeToRelocate$, t["s-sn"]) && (a = E.find((o) => o.$nodeToRelocate$ === t), a && !i.$slotRefNode$ && (i.$slotRefNode$ = a.$slotRefNode$));
403
+ });
404
+ } else
405
+ E.some((a) => a.$nodeToRelocate$ === t) || E.push({
406
+ $nodeToRelocate$: t
407
+ });
408
+ }
409
+ r.nodeType === 1 && ke(r);
410
+ }
411
+ }, oe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Ee = (e) => {
412
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ee);
413
+ }, x = (e, t, s) => e?.insertBefore(t, s), ot = (e, t, s = !1) => {
414
+ var n, r, l, a;
415
+ const i = e.$hostElement$, o = e.$cmpMeta$, f = e.$vnode$ || I(null, null), $ = Ke(t) ? t : ue(null, null, t);
416
+ if (q = i.tagName, o.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, o.$attrsToReflect$.map(
417
+ ([d, c]) => $.$attrs$[c] = i[d]
418
+ )), s && $.$attrs$)
419
+ for (const d of Object.keys($.$attrs$))
420
+ i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && ($.$attrs$[d] = i[d]);
421
+ $.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = f.$elm$ = i.shadowRoot || i, w = i["s-sc"], U = (o.$flags$ & 1) !== 0, M = i["s-cr"], C = !1, _(f, $, s);
422
+ {
423
+ if (g.$flags$ |= 1, J) {
424
+ ke($.$elm$);
425
+ for (const d of E) {
426
+ const c = d.$nodeToRelocate$;
427
+ if (!c["s-ol"]) {
428
+ const u = m.createTextNode("");
429
+ u["s-nr"] = c, x(c.parentNode, c["s-ol"] = u, c);
430
+ }
431
+ }
432
+ for (const d of E) {
433
+ const c = d.$nodeToRelocate$, u = d.$slotRefNode$;
434
+ if (u) {
435
+ const p = u.parentNode;
436
+ let h = u.nextSibling;
437
+ {
438
+ let y = (n = c["s-ol"]) == null ? void 0 : n.previousSibling;
439
+ for (; y; ) {
440
+ let v = (r = y["s-nr"]) != null ? r : null;
441
+ if (v && v["s-sn"] === c["s-sn"] && p === v.parentNode) {
442
+ for (v = v.nextSibling; v === c || v?.["s-sr"]; )
443
+ v = v?.nextSibling;
444
+ if (!v || !v["s-nr"]) {
445
+ h = v;
446
+ break;
447
+ }
448
+ }
449
+ y = y.previousSibling;
450
+ }
451
+ }
452
+ (!h && p !== c.parentNode || c.nextSibling !== h) && c !== h && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), x(p, c, h), c.nodeType === 1 && (c.hidden = (l = c["s-ih"]) != null ? l : !1)), c && typeof u["s-rf"] == "function" && u["s-rf"](c);
453
+ } else
454
+ c.nodeType === 1 && (s && (c["s-ih"] = (a = c.hidden) != null ? a : !1), c.hidden = !0);
455
+ }
456
+ }
457
+ C && be($.$elm$), g.$flags$ &= -2, E.length = 0;
458
+ }
459
+ M = void 0;
460
+ }, Te = (e, t) => {
461
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
462
+ }, Q = (e, t) => {
463
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
464
+ e.$flags$ |= 512;
465
+ return;
466
+ }
467
+ return Te(e, e.$ancestorComponent$), ze(() => it(e, t));
468
+ }, it = (e, t) => {
469
+ const s = e.$hostElement$, n = T("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
470
+ if (!r)
471
+ throw new Error(
472
+ `Can't render component <${s.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`
473
+ );
474
+ let l;
475
+ return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, i]) => O(r, a, i)), e.$queuedListeners$ = void 0), l = O(r, "componentWillLoad")), n(), $t(l, () => ft(e, r, t));
476
+ }, $t = (e, t) => ct(e) ? e.then(t).catch((s) => {
477
+ console.error(s), t();
478
+ }) : t(), ct = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ft = async (e, t, s) => {
479
+ var n;
480
+ const r = e.$hostElement$, l = T("update", e.$cmpMeta$.$tagName$), a = r["s-rc"];
481
+ s && nt(e);
482
+ const i = T("render", e.$cmpMeta$.$tagName$);
483
+ dt(e, t, r, s), a && (a.map((o) => o()), r["s-rc"] = void 0), i(), l();
484
+ {
485
+ const o = (n = r["s-p"]) != null ? n : [], f = () => ut(e);
486
+ o.length === 0 ? f() : (Promise.all(o).then(f), e.$flags$ |= 4, o.length = 0);
487
+ }
488
+ }, dt = (e, t, s, n) => {
489
+ try {
490
+ t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ot(e, t, n);
491
+ } catch (r) {
492
+ b(r, e.$hostElement$);
493
+ }
494
+ return null;
495
+ }, ut = (e) => {
496
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = T("postUpdate", t), r = e.$lazyInstance$, l = e.$ancestorComponent$;
497
+ O(r, "componentDidRender"), e.$flags$ & 64 ? n() : (e.$flags$ |= 64, Le(s), O(r, "componentDidLoad"), n(), e.$onReadyResolve$(s), l || xe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => Q(e, !1)), e.$flags$ &= -517;
498
+ }, xe = (e) => {
499
+ Le(m.documentElement), X(() => ve(P, "appload", { detail: { namespace: Ae } }));
500
+ }, O = (e, t, s) => {
501
+ if (e && e[t])
502
+ try {
503
+ return e[t](s);
504
+ } catch (n) {
505
+ b(n);
506
+ }
507
+ }, Le = (e) => {
508
+ var t;
509
+ return e.classList.add((t = W.hydratedSelectorName) != null ? t : "hydrated");
510
+ }, vt = (e, t) => L(e).$instanceValues$.get(t), pt = (e, t, s, n) => {
511
+ const r = L(e);
512
+ if (!r)
513
+ throw new Error(
514
+ `Couldn't find host element for "${n.$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).`
515
+ );
516
+ const l = r.$hostElement$, a = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
517
+ s = Ve(s, n.$members$[t][0]);
518
+ const f = Number.isNaN(a) && Number.isNaN(s), $ = s !== a && !f;
519
+ if ((!(i & 8) || a === void 0) && $ && (r.$instanceValues$.set(t, s), o)) {
520
+ if (n.$watchers$ && i & 128) {
521
+ const d = n.$watchers$[t];
522
+ d && d.map((c) => {
523
+ try {
524
+ o[c](s, a, t);
525
+ } catch (u) {
526
+ b(u, l);
527
+ }
528
+ });
529
+ }
530
+ (i & 18) === 2 && Q(r, !1);
531
+ }
532
+ }, we = (e, t, s) => {
533
+ var n, r;
534
+ const l = e.prototype;
535
+ if (t.$members$ || t.$watchers$ || e.watchers) {
536
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
537
+ const a = Object.entries((n = t.$members$) != null ? n : {});
538
+ if (a.map(([i, [o]]) => {
539
+ (o & 31 || s & 2 && o & 32) && Object.defineProperty(l, i, {
540
+ get() {
541
+ return vt(this, i);
542
+ },
543
+ set(f) {
544
+ pt(this, i, f, t);
545
+ },
546
+ configurable: !0,
547
+ enumerable: !0
548
+ });
549
+ }), s & 1) {
550
+ const i = /* @__PURE__ */ new Map();
551
+ l.attributeChangedCallback = function(o, f, $) {
552
+ g.jmp(() => {
553
+ var d;
554
+ const c = i.get(o);
555
+ if (this.hasOwnProperty(c))
556
+ $ = this[c], delete this[c];
557
+ else {
558
+ if (l.hasOwnProperty(c) && typeof this[c] == "number" && this[c] == $)
559
+ return;
560
+ if (c == null) {
561
+ const u = L(this), p = u?.$flags$;
562
+ if (p && !(p & 8) && p & 128 && $ !== f) {
563
+ const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[o];
564
+ y?.forEach((v) => {
565
+ h[v] != null && h[v].call(h, $, f, o);
566
+ });
567
+ }
568
+ return;
569
+ }
570
+ }
571
+ this[c] = $ === null && typeof this[c] == "boolean" ? !1 : $;
572
+ });
573
+ }, e.observedAttributes = Array.from(
574
+ /* @__PURE__ */ new Set([
575
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
576
+ ...a.filter(
577
+ ([o, f]) => f[0] & 15
578
+ /* HasAttribute */
579
+ ).map(([o, f]) => {
580
+ var $;
581
+ const d = f[1] || o;
582
+ return i.set(d, o), f[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([o, d])), d;
583
+ })
584
+ ])
585
+ );
586
+ }
587
+ }
588
+ return e;
589
+ }, ht = async (e, t, s, n) => {
590
+ let r;
591
+ if (!(t.$flags$ & 32)) {
592
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
593
+ const o = Ne(s);
594
+ if (o && "then" in o) {
595
+ const $ = Ye();
596
+ r = await o, $();
597
+ } else
598
+ r = o;
599
+ if (!r)
600
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
601
+ r.isProxied || (s.$watchers$ = r.watchers, we(
602
+ r,
603
+ s,
604
+ 2
605
+ /* proxyState */
606
+ ), r.isProxied = !0);
607
+ const f = T("createInstance", s.$tagName$);
608
+ t.$flags$ |= 8;
609
+ try {
610
+ new r(t);
611
+ } catch ($) {
612
+ b($);
613
+ }
614
+ t.$flags$ &= -9, t.$flags$ |= 128, f();
615
+ } else {
616
+ r = e.constructor;
617
+ const o = e.localName;
618
+ customElements.whenDefined(o).then(
619
+ () => t.$flags$ |= 128
620
+ /* isWatchReady */
621
+ );
622
+ }
623
+ if (r && r.style) {
624
+ let o;
625
+ typeof r.style == "string" && (o = r.style);
626
+ const f = pe(s);
627
+ if (!N.has(f)) {
628
+ const $ = T("registerStyles", s.$tagName$);
629
+ tt(f, o, !!(s.$flags$ & 1)), $();
630
+ }
631
+ }
632
+ }
633
+ const l = t.$ancestorComponent$, a = () => Q(t, !0);
634
+ l && l["s-rc"] ? l["s-rc"].push(a) : a();
635
+ }, gt = (e) => {
636
+ }, yt = (e) => {
637
+ if (!(g.$flags$ & 1)) {
638
+ const t = L(e), s = t.$cmpMeta$, n = T("connectedCallback", s.$tagName$);
639
+ if (t.$flags$ & 1)
640
+ _e(e, t, s.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => gt());
641
+ else {
642
+ t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
643
+ s.$flags$ & 12 && mt(e);
644
+ {
645
+ let r = e;
646
+ for (; r = r.parentNode || r.host; )
647
+ if (r["s-p"]) {
648
+ Te(t, t.$ancestorComponent$ = r);
649
+ break;
650
+ }
651
+ }
652
+ s.$members$ && Object.entries(s.$members$).map(([r, [l]]) => {
653
+ if (l & 31 && e.hasOwnProperty(r)) {
654
+ const a = e[r];
655
+ delete e[r], e[r] = a;
656
+ }
657
+ }), ht(e, t, s);
658
+ }
659
+ n();
660
+ }
661
+ }, mt = (e) => {
662
+ const t = e["s-cr"] = m.createComment(
663
+ ""
664
+ );
665
+ t["s-cn"] = !0, x(e, t, e.firstChild);
666
+ }, ie = (e) => {
667
+ O(e, "disconnectedCallback");
668
+ }, St = async (e) => {
669
+ if (!(g.$flags$ & 1)) {
670
+ const t = L(e);
671
+ t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? ie(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ie(t.$lazyInstance$));
672
+ }
673
+ }, wt = (e, t = {}) => {
674
+ var s;
675
+ const n = T(), r = [], l = t.exclude || [], a = P.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), f = /* @__PURE__ */ m.createElement("style"), $ = [];
676
+ let d, c = !0;
677
+ Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
678
+ let u = !1;
679
+ if (e.map((p) => {
680
+ p[1].map((h) => {
681
+ var y;
682
+ const v = {
683
+ $flags$: h[0],
684
+ $tagName$: h[1],
685
+ $members$: h[2],
686
+ $listeners$: h[3]
687
+ };
688
+ v.$flags$ & 4 && (u = !0), v.$members$ = h[2], v.$listeners$ = h[3], v.$attrsToReflect$ = [], v.$watchers$ = (y = h[4]) != null ? y : {};
689
+ const j = v.$tagName$, Pe = class extends HTMLElement {
690
+ // StencilLazyHost
691
+ constructor(k) {
692
+ if (super(k), this.hasRegisteredEventListeners = !1, k = this, Re(k, v), v.$flags$ & 1) {
693
+ if (!k.shadowRoot)
694
+ k.attachShadow({ mode: "open" });
695
+ else if (k.shadowRoot.mode !== "open")
696
+ throw new Error(
697
+ `Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
698
+ );
699
+ }
700
+ }
701
+ connectedCallback() {
702
+ const k = L(this);
703
+ this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, _e(this, k, v.$listeners$)), d && (clearTimeout(d), d = null), c ? $.push(this) : g.jmp(() => yt(this));
704
+ }
705
+ disconnectedCallback() {
706
+ g.jmp(() => St(this));
707
+ }
708
+ componentOnReady() {
709
+ return L(this).$onReadyPromise$;
710
+ }
711
+ };
712
+ v.$lazyBundleId$ = p[0], !l.includes(j) && !a.get(j) && (r.push(j), a.define(
713
+ j,
714
+ we(
715
+ Pe,
716
+ v,
717
+ 1
718
+ /* isElementConstructor */
719
+ )
720
+ ));
721
+ });
722
+ }), r.length > 0 && (u && (f.textContent += $e), f.textContent += r.sort() + Ie, f.innerHTML.length)) {
723
+ f.setAttribute("data-styles", "");
724
+ const p = (s = g.$nonce$) != null ? s : fe(m);
725
+ p != null && f.setAttribute("nonce", p), i.insertBefore(f, o ? o.nextSibling : i.firstChild);
726
+ }
727
+ c = !1, $.length ? $.map((p) => p.connectedCallback()) : g.jmp(() => d = setTimeout(xe, 30)), n();
728
+ }, _t = (e, t) => t, _e = (e, t, s, n) => {
729
+ s && s.map(([r, l, a]) => {
730
+ const i = kt(e, r), o = bt(t, a), f = Et(r);
731
+ g.ael(i, l, o, f), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(i, l, o, f));
732
+ });
733
+ }, bt = (e, t) => (s) => {
734
+ var n;
735
+ try {
736
+ e.$flags$ & 256 ? (n = e.$lazyInstance$) == null || n[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
737
+ } catch (r) {
738
+ b(r);
739
+ }
740
+ }, kt = (e, t) => t & 8 ? P : e, Et = (e) => Ue ? {
741
+ passive: (e & 1) !== 0,
742
+ capture: (e & 2) !== 0
743
+ } : (e & 2) !== 0;
744
+ export {
745
+ _t as F,
746
+ xt as a,
747
+ wt as b,
748
+ Lt as c,
749
+ et as g,
750
+ ue as h,
751
+ Ce as p,
752
+ Tt as r
753
+ };