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