@everymatrix/casino-header-controller-nd 1.47.0 → 1.47.2

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