@everymatrix/casino-most-played-section 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/components/{CasinoFilter-D9VOcS4e.js → CasinoFilter-BEMZeS_g.js} +1024 -998
  2. package/components/{CasinoFilter-CBoZ_RpC.js → CasinoFilter-C_0ob48-.js} +991 -965
  3. package/components/CasinoFilter-DofohXbH.cjs +18 -0
  4. package/components/CasinoGameThumbnail-BcMbDBA2.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-Cwm-Tv9Z.js → CasinoGameThumbnail-BlqmZREO.js} +1495 -1479
  6. package/components/{CasinoGameThumbnail-8SSlDp2s.js → CasinoGameThumbnail-KTwYvmqH.js} +1551 -1535
  7. package/components/{CasinoGamesCategorySection-BYQrH9_B.cjs → CasinoGamesCategorySection-B63svGQp.cjs} +1 -1
  8. package/components/{CasinoGamesCategorySection-CIDyNXT6.js → CasinoGamesCategorySection-BBI2VM_A.js} +424 -419
  9. package/components/{CasinoGamesCategorySection-Dd6Sbxl3.js → CasinoGamesCategorySection-Dk5gIWUD.js} +517 -512
  10. package/components/{CasinoMostPlayedSection-Bdpwrllj.js → CasinoMostPlayedSection-C6gF3p6r.js} +61 -61
  11. package/components/{CasinoMostPlayedSection-ZCvcv5TT.js → CasinoMostPlayedSection-DYiOblDn.js} +67 -67
  12. package/components/{CasinoMostPlayedSection-C2atcWQN.cjs → CasinoMostPlayedSection-Ic2U2XCD.cjs} +1 -1
  13. package/components/{CasinoSort-BUVnl6Xi.js → CasinoSort-BlmGeGgO.js} +106 -107
  14. package/components/{CasinoSort-fSuvj-fz.js → CasinoSort-C0-xVhct.js} +114 -113
  15. package/components/{CasinoSort-Td9dTUIe.cjs → CasinoSort-M-DWe9Ma.cjs} +1 -1
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +3 -2
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  23. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  24. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  25. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  26. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  27. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  28. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  29. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  30. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  31. package/components/CasinoFilter-CP2SsYcD.cjs +0 -18
  32. package/components/CasinoGameThumbnail-CHQxvhi_.cjs +0 -47
@@ -0,0 +1,532 @@
1
+ var L = (e, t, n) => new Promise((s, r) => {
2
+ var a = (o) => {
3
+ try {
4
+ i(n.next(o));
5
+ } catch (c) {
6
+ r(c);
7
+ }
8
+ }, l = (o) => {
9
+ try {
10
+ i(n.throw(o));
11
+ } catch (c) {
12
+ r(c);
13
+ }
14
+ }, i = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(a, l);
15
+ i((n = n.apply(e, t)).next());
16
+ });
17
+ const fe = "ui-skeleton", I = (
18
+ /* ui-skeleton */
19
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !1, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !1, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !1, vdomXlink: !1, watchCallback: !0 }
20
+ );
21
+ var de = Object.defineProperty, ue = (e, t) => {
22
+ for (var n in t)
23
+ de(e, n, { get: t[n], enumerable: !0 });
24
+ }, N = /* @__PURE__ */ new WeakMap(), b = (e) => N.get(e), Ve = (e, t) => N.set(t.$lazyInstance$ = e, t), me = (e, t) => {
25
+ const n = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], N.set(e, n);
32
+ }, k = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), ve = (e, t, n) => {
33
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
+ if (!r)
35
+ return;
36
+ const a = _.get(r);
37
+ if (a)
38
+ return a[s];
39
+ {
40
+ const l = (i) => (_.set(r, i), i[s]);
41
+ switch (r) {
42
+ case "ui-skeleton":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./ui-skeleton-M7HNQCk1.js"
46
+ ).then(l, k);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${r}.entry.js`
55
+ ).then((l) => (_.set(r, l), l[s]), k);
56
+ }, P = /* @__PURE__ */ new Map(), pe = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, p = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, he = I.shadowDom, ge = (e) => Promise.resolve(e), ye = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), j = !1, F = [], K = [], Se = (e, t) => (n) => {
71
+ e.push(n), j || (j = !0, p.$flags$ & 4 ? z(C) : p.raf(C));
72
+ }, q = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (n) {
77
+ k(n);
78
+ }
79
+ e.length = 0;
80
+ }, C = () => {
81
+ q(F), q(K), (j = F.length > 0) && p.raf(C);
82
+ }, z = (e) => ge().then(e), be = /* @__PURE__ */ Se(K), W = {}, R = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function X(e) {
84
+ var t, n, s;
85
+ return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
+ }
87
+ var ke = {};
88
+ ue(ke, {
89
+ err: () => Z,
90
+ map: () => Ee,
91
+ ok: () => D,
92
+ unwrap: () => we,
93
+ unwrapErr: () => Le
94
+ });
95
+ var D = (e) => ({
96
+ isOk: !0,
97
+ isErr: !1,
98
+ value: e
99
+ }), Z = (e) => ({
100
+ isOk: !1,
101
+ isErr: !0,
102
+ value: e
103
+ });
104
+ function Ee(e, t) {
105
+ if (e.isOk) {
106
+ const n = t(e.value);
107
+ return n instanceof Promise ? n.then((s) => D(s)) : D(n);
108
+ }
109
+ if (e.isErr) {
110
+ const n = e.value;
111
+ return Z(n);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var we = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, Le = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, Te = (e, t) => () => {
125
+ }, xe = (e, t, ...n) => {
126
+ let s = null, r = null, a = !1, l = !1;
127
+ const i = [], o = ($) => {
128
+ for (let f = 0; f < $.length; f++)
129
+ s = $[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !R(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? U(null, s) : s), l = a);
130
+ };
131
+ if (o(n), t) {
132
+ t.key && (r = t.key);
133
+ {
134
+ const $ = t.className || t.class;
135
+ $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
136
+ }
137
+ }
138
+ const c = U(e, null);
139
+ return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
140
+ }, U = (e, t) => {
141
+ const n = {
142
+ $flags$: 0,
143
+ $tag$: e,
144
+ $text$: t,
145
+ $elm$: null,
146
+ $children$: null
147
+ };
148
+ return n.$attrs$ = null, n.$key$ = null, n;
149
+ }, Pe = {}, Ae = (e) => e && e.$tag$ === Pe, Oe = (e, t) => e != null && !R(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, n) => {
150
+ const s = p.ce(t, n);
151
+ return e.dispatchEvent(s), s;
152
+ }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, n) => {
153
+ let s = P.get(e);
154
+ ye && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, P.set(e, s);
155
+ }, Ce = (e, t, n) => {
156
+ var s;
157
+ const r = V(t), a = P.get(r);
158
+ if (e = e.nodeType === 11 ? e : y, a)
159
+ if (typeof a == "string") {
160
+ e = e.head || e;
161
+ let l = M.get(e), i;
162
+ if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
163
+ {
164
+ i = y.createElement("style"), i.innerHTML = a;
165
+ const o = (s = p.$nonce$) != null ? s : X(y);
166
+ o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
167
+ }
168
+ t.$flags$ & 4 && (i.innerHTML += J), l && l.add(r);
169
+ }
170
+ } else
171
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
+ return r;
173
+ }, De = (e) => {
174
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
175
+ Ce(
176
+ n.getRootNode(),
177
+ t
178
+ ), s();
179
+ }, V = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, s, r, a) => {
180
+ if (n !== s)
181
+ if (t.toLowerCase(), t === "class") {
182
+ const l = e.classList, i = Y(n), o = Y(s);
183
+ l.remove(...i.filter((c) => c && !o.includes(c))), l.add(...o.filter((c) => c && !i.includes(c)));
184
+ } else if (t === "style") {
185
+ for (const l in n)
186
+ (!s || s[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
187
+ for (const l in s)
188
+ (!n || s[l] !== n[l]) && (l.includes("-") ? e.style.setProperty(l, s[l]) : e.style[l] = s[l]);
189
+ } else
190
+ t === "key" || t === "ref" && s && s(e);
191
+ }, Ue = /\s/, Y = (e) => e ? e.split(Ue) : [], ee = (e, t, n) => {
192
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || W, a = t.$attrs$ || W;
193
+ for (const l of G(Object.keys(r)))
194
+ l in a || Q(s, l, r[l], void 0);
195
+ for (const l of G(Object.keys(a)))
196
+ Q(s, l, r[l], a[l]);
197
+ };
198
+ function G(e) {
199
+ return e.includes("ref") ? (
200
+ // we need to sort these to ensure that `'ref'` is the last attr
201
+ [...e.filter((t) => t !== "ref"), "ref"]
202
+ ) : (
203
+ // no need to sort, return the original array
204
+ e
205
+ );
206
+ }
207
+ var te, se = !1, A = (e, t, n, s) => {
208
+ const r = t.$children$[n];
209
+ let a = 0, l, i;
210
+ if (l = r.$elm$ = y.createElement(
211
+ !se && I.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
212
+ ), ee(null, r), r.$children$)
213
+ for (a = 0; a < r.$children$.length; ++a)
214
+ i = A(e, r, a), i && l.appendChild(i);
215
+ return l["s-hn"] = te, l;
216
+ }, ne = (e, t, n, s, r, a) => {
217
+ let l = e, i;
218
+ for (; r <= a; ++r)
219
+ s[r] && (i = A(null, n, r), i && (s[r].$elm$ = i, x(l, i, t)));
220
+ }, re = (e, t, n) => {
221
+ for (let s = t; s <= n; ++s) {
222
+ const r = e[s];
223
+ if (r) {
224
+ const a = r.$elm$;
225
+ le(r), a && a.remove();
226
+ }
227
+ }
228
+ }, Ie = (e, t, n, s, r = !1) => {
229
+ let a = 0, l = 0, i = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], d = s.length - 1, u = s[0], m = s[d], v, h;
230
+ for (; a <= c && l <= d; )
231
+ if ($ == null)
232
+ $ = t[++a];
233
+ else if (f == null)
234
+ f = t[--c];
235
+ else if (u == null)
236
+ u = s[++l];
237
+ else if (m == null)
238
+ m = s[--d];
239
+ else if (T($, u, r))
240
+ E($, u, r), $ = t[++a], u = s[++l];
241
+ else if (T(f, m, r))
242
+ E(f, m, r), f = t[--c], m = s[--d];
243
+ else if (T($, m, r))
244
+ E($, m, r), x(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = s[--d];
245
+ else if (T(f, u, r))
246
+ E(f, u, r), x(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
247
+ else {
248
+ for (i = -1, o = a; o <= c; ++o)
249
+ if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
250
+ i = o;
251
+ break;
252
+ }
253
+ i >= 0 ? (h = t[i], h.$tag$ !== u.$tag$ ? v = A(t && t[l], n, i) : (E(h, u, r), t[i] = void 0, v = h.$elm$), u = s[++l]) : (v = A(t && t[l], n, l), u = s[++l]), v && x($.$elm$.parentNode, v, $.$elm$);
254
+ }
255
+ a > c ? ne(
256
+ e,
257
+ s[d + 1] == null ? null : s[d + 1].$elm$,
258
+ n,
259
+ s,
260
+ l,
261
+ d
262
+ ) : l > d && re(t, a, c);
263
+ }, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, n = !1) => {
264
+ const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$;
265
+ ee(e, t), r !== null && a !== null ? Ie(s, r, t, a, n) : a !== null ? ne(s, null, t, a, 0, a.length - 1) : r !== null && re(r, 0, r.length - 1);
266
+ }, le = (e) => {
267
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
268
+ }, x = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ne = (e, t, n = !1) => {
269
+ const s = e.$hostElement$, r = e.$vnode$ || U(null, null), a = Ae(t) ? t : xe(null, null, t);
270
+ if (te = s.tagName, n && a.$attrs$)
271
+ for (const l of Object.keys(a.$attrs$))
272
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
273
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, se = he, E(r, a, n);
274
+ }, ae = (e, t) => {
275
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
276
+ }, H = (e, t) => {
277
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
278
+ e.$flags$ |= 512;
279
+ return;
280
+ }
281
+ return ae(e, e.$ancestorComponent$), be(() => Be(e, t));
282
+ }, Be = (e, t) => {
283
+ const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
284
+ if (!r)
285
+ throw new Error(
286
+ `Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
287
+ );
288
+ let a;
289
+ return s(), ze(a, () => Fe(e, r, t));
290
+ }, ze = (e, t) => He(e) ? e.then(t).catch((n) => {
291
+ console.error(n), t();
292
+ }) : t(), He = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Fe = (e, t, n) => L(void 0, null, function* () {
293
+ var s;
294
+ const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
295
+ n && De(e);
296
+ const i = S("render", e.$cmpMeta$.$tagName$);
297
+ qe(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), a();
298
+ {
299
+ const o = (s = r["s-p"]) != null ? s : [], c = () => We(e);
300
+ o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
301
+ }
302
+ }), qe = (e, t, n, s) => {
303
+ try {
304
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ne(e, t, s);
305
+ } catch (r) {
306
+ k(r, e.$hostElement$);
307
+ }
308
+ return null;
309
+ }, We = (e) => {
310
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
311
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ie(n), Me(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => H(e, !1)), e.$flags$ &= -517;
312
+ }, oe = (e) => {
313
+ ie(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: fe } }));
314
+ }, Me = (e, t, n) => {
315
+ if (e && e[t])
316
+ try {
317
+ return e[t](n);
318
+ } catch (s) {
319
+ k(s);
320
+ }
321
+ }, ie = (e) => {
322
+ var t;
323
+ return e.classList.add((t = I.hydratedSelectorName) != null ? t : "hydrated");
324
+ }, Qe = (e, t) => b(e).$instanceValues$.get(t), Ye = (e, t, n, s) => {
325
+ const r = b(e);
326
+ if (!r)
327
+ throw new Error(
328
+ `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
329
+ );
330
+ const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
331
+ n = Oe(n, s.$members$[t][0]);
332
+ const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
333
+ if ((!(i & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), o)) {
334
+ if (s.$watchers$ && i & 128) {
335
+ const f = s.$watchers$[t];
336
+ f && f.map((d) => {
337
+ try {
338
+ o[d](n, l, t);
339
+ } catch (u) {
340
+ k(u, a);
341
+ }
342
+ });
343
+ }
344
+ (i & 18) === 2 && H(r, !1);
345
+ }
346
+ }, ce = (e, t, n) => {
347
+ var s, r;
348
+ const a = e.prototype;
349
+ if (t.$members$ || t.$watchers$ || e.watchers) {
350
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
351
+ const l = Object.entries((s = t.$members$) != null ? s : {});
352
+ if (l.map(([i, [o]]) => {
353
+ (o & 31 || n & 2 && o & 32) && Object.defineProperty(a, i, {
354
+ get() {
355
+ return Qe(this, i);
356
+ },
357
+ set(c) {
358
+ Ye(this, i, c, t);
359
+ },
360
+ configurable: !0,
361
+ enumerable: !0
362
+ });
363
+ }), n & 1) {
364
+ const i = /* @__PURE__ */ new Map();
365
+ a.attributeChangedCallback = function(o, c, $) {
366
+ p.jmp(() => {
367
+ var f;
368
+ const d = i.get(o);
369
+ if (this.hasOwnProperty(d))
370
+ $ = this[d], delete this[d];
371
+ else {
372
+ if (a.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
373
+ return;
374
+ if (d == null) {
375
+ const u = b(this), m = u == null ? void 0 : u.$flags$;
376
+ if (m && !(m & 8) && m & 128 && $ !== c) {
377
+ const v = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
378
+ h == null || h.forEach((g) => {
379
+ v[g] != null && v[g].call(v, $, c, o);
380
+ });
381
+ }
382
+ return;
383
+ }
384
+ }
385
+ this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
386
+ });
387
+ }, e.observedAttributes = Array.from(
388
+ /* @__PURE__ */ new Set([
389
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
390
+ ...l.filter(
391
+ ([o, c]) => c[0] & 15
392
+ /* HasAttribute */
393
+ ).map(([o, c]) => {
394
+ const $ = c[1] || o;
395
+ return i.set($, o), $;
396
+ })
397
+ ])
398
+ );
399
+ }
400
+ }
401
+ return e;
402
+ }, Ge = (e, t, n, s) => L(void 0, null, function* () {
403
+ let r;
404
+ if (!(t.$flags$ & 32)) {
405
+ if (t.$flags$ |= 32, n.$lazyBundleId$) {
406
+ const o = ve(n);
407
+ if (o && "then" in o) {
408
+ const $ = Te();
409
+ r = yield o, $();
410
+ } else
411
+ r = o;
412
+ if (!r)
413
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
414
+ r.isProxied || (n.$watchers$ = r.watchers, ce(
415
+ r,
416
+ n,
417
+ 2
418
+ /* proxyState */
419
+ ), r.isProxied = !0);
420
+ const c = S("createInstance", n.$tagName$);
421
+ t.$flags$ |= 8;
422
+ try {
423
+ new r(t);
424
+ } catch ($) {
425
+ k($);
426
+ }
427
+ t.$flags$ &= -9, t.$flags$ |= 128, c();
428
+ } else {
429
+ r = e.constructor;
430
+ const o = e.localName;
431
+ customElements.whenDefined(o).then(
432
+ () => t.$flags$ |= 128
433
+ /* isWatchReady */
434
+ );
435
+ }
436
+ if (r && r.style) {
437
+ let o;
438
+ typeof r.style == "string" && (o = r.style);
439
+ const c = V(n);
440
+ if (!P.has(c)) {
441
+ const $ = S("registerStyles", n.$tagName$);
442
+ je(c, o, !!(n.$flags$ & 1)), $();
443
+ }
444
+ }
445
+ }
446
+ const a = t.$ancestorComponent$, l = () => H(t, !0);
447
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
448
+ }), Je = (e) => {
449
+ }, Ke = (e) => {
450
+ if (!(p.$flags$ & 1)) {
451
+ const t = b(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
452
+ if (t.$flags$ & 1)
453
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
454
+ else {
455
+ t.$flags$ |= 1;
456
+ {
457
+ let r = e;
458
+ for (; r = r.parentNode || r.host; )
459
+ if (r["s-p"]) {
460
+ ae(t, t.$ancestorComponent$ = r);
461
+ break;
462
+ }
463
+ }
464
+ n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
465
+ if (a & 31 && e.hasOwnProperty(r)) {
466
+ const l = e[r];
467
+ delete e[r], e[r] = l;
468
+ }
469
+ }), Ge(e, t, n);
470
+ }
471
+ s();
472
+ }
473
+ }, Re = (e) => {
474
+ }, Xe = (e) => L(void 0, null, function* () {
475
+ if (!(p.$flags$ & 1)) {
476
+ const t = b(e);
477
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
478
+ }
479
+ }), et = (e, t = {}) => {
480
+ var n;
481
+ const s = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
482
+ let f, d = !0;
483
+ Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
484
+ let u = !1;
485
+ if (e.map((m) => {
486
+ m[1].map((v) => {
487
+ var h;
488
+ const g = {
489
+ $flags$: v[0],
490
+ $tagName$: v[1],
491
+ $members$: v[2],
492
+ $listeners$: v[3]
493
+ };
494
+ g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
495
+ const w = g.$tagName$, $e = class extends HTMLElement {
496
+ // StencilLazyHost
497
+ constructor(O) {
498
+ super(O), this.hasRegisteredEventListeners = !1, O = this, me(O, g);
499
+ }
500
+ connectedCallback() {
501
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : p.jmp(() => Ke(this));
502
+ }
503
+ disconnectedCallback() {
504
+ p.jmp(() => Xe(this));
505
+ }
506
+ componentOnReady() {
507
+ return b(this).$onReadyPromise$;
508
+ }
509
+ };
510
+ g.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (r.push(w), l.define(
511
+ w,
512
+ ce(
513
+ $e,
514
+ g,
515
+ 1
516
+ /* isElementConstructor */
517
+ )
518
+ ));
519
+ });
520
+ }), r.length > 0 && (u && (c.textContent += J), c.textContent += r.sort() + pe, c.innerHTML.length)) {
521
+ c.setAttribute("data-styles", "");
522
+ const m = (n = p.$nonce$) != null ? n : X(y);
523
+ m != null && c.setAttribute("nonce", m), i.insertBefore(c, o ? o.nextSibling : i.firstChild);
524
+ }
525
+ d = !1, $.length ? $.map((m) => m.connectedCallback()) : p.jmp(() => f = setTimeout(oe, 30)), s();
526
+ };
527
+ export {
528
+ et as b,
529
+ xe as h,
530
+ ge as p,
531
+ Ve as r
532
+ };