@everymatrix/casino-most-played-section 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/components/CasinoFilter-B1hgaIkP.cjs +18 -0
  2. package/components/{CasinoFilter-BEMZeS_g.js → CasinoFilter-C9AbCFB8.js} +978 -1075
  3. package/components/{CasinoFilter-C_0ob48-.js → CasinoFilter-FwyZaNnb.js} +973 -1070
  4. package/components/CasinoGameThumbnail-Ce4PjlXV.js +3591 -0
  5. package/components/CasinoGameThumbnail-DTPmHQ3Z.js +3607 -0
  6. package/components/CasinoGameThumbnail-DiXqNNhF.cjs +39 -0
  7. package/components/{CasinoGamesCategorySection-D1vQeCrE.js → CasinoGamesCategorySection-CMUBcMwK.js} +277 -277
  8. package/components/{CasinoGamesCategorySection-DyF270dL.js → CasinoGamesCategorySection-CiTO02BA.js} +280 -280
  9. package/components/{CasinoGamesCategorySection-CHZiU-PO.cjs → CasinoGamesCategorySection-D7IssFze.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-_lcsNiHC.cjs → CasinoMostPlayedSection-BB4s0fZo.cjs} +1 -1
  11. package/components/{CasinoMostPlayedSection-Biz_quau.js → CasinoMostPlayedSection-Ctowd1SJ.js} +31 -31
  12. package/components/{CasinoMostPlayedSection-DqhZX69X.js → CasinoMostPlayedSection-D0HYIttt.js} +45 -45
  13. package/components/{CasinoSort-M-DWe9Ma.cjs → CasinoSort-BlZonu2d.cjs} +1 -1
  14. package/components/{CasinoSort-BlmGeGgO.js → CasinoSort-CKyG1g-3.js} +106 -105
  15. package/components/{CasinoSort-C0-xVhct.js → CasinoSort-fS8vkRW6.js} +112 -113
  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 +1 -1
  20. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  21. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  22. package/stencil/index-b2193545-B5BzVbnP.cjs +1 -0
  23. package/stencil/index-b2193545-BranxwW4.js +519 -0
  24. package/stencil/index-b2193545-D-GB6w--.js +503 -0
  25. package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
  26. package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
  27. package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
  28. package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
  29. package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
  30. package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
  31. package/stencil/ui-image-BWdEHrqs.js +11 -0
  32. package/stencil/ui-image-Cq69wjLL.js +29 -0
  33. package/stencil/ui-image-hWt-DWaG.cjs +1 -0
  34. package/stencil/{ui-skeleton-ea659b95-Bo7WD0ao.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
  35. package/stencil/{ui-skeleton-ea659b95-DyTVU8Ak.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
  36. package/stencil/{ui-skeleton-ea659b95-Dc45mVmr.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
  37. package/stencil/{ui-skeleton-DypM319u.js → ui-skeleton-BMWABShx.js} +8 -8
  38. package/stencil/{ui-skeleton-BCx6m_uC.js → ui-skeleton-CkUGY95J.js} +5 -5
  39. package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
  40. package/components/CasinoFilter-DofohXbH.cjs +0 -18
  41. package/components/CasinoGameThumbnail-Brp54Mkr.js +0 -4389
  42. package/components/CasinoGameThumbnail-D1hFEtJA.cjs +0 -47
  43. package/components/CasinoGameThumbnail-DdWkNS2C.js +0 -4405
  44. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  45. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  46. package/stencil/index-b2193545-BLGDaRxR.js +0 -519
  47. package/stencil/index-b2193545-CgYO4hhs.cjs +0 -1
  48. package/stencil/index-b2193545-dQymAF3M.js +0 -503
  49. package/stencil/ui-skeleton-BtNRiNfn.cjs +0 -1
@@ -0,0 +1,519 @@
1
+ var x = (e, t, s) => new Promise((r, n) => {
2
+ var a = (i) => {
3
+ try {
4
+ o(s.next(i));
5
+ } catch ($) {
6
+ n($);
7
+ }
8
+ }, l = (i) => {
9
+ try {
10
+ o(s.throw(i));
11
+ } catch ($) {
12
+ n($);
13
+ }
14
+ }, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
15
+ o((s = s.apply(e, t)).next());
16
+ });
17
+ const oe = "ui-skeleton", $e = (
18
+ /* ui-skeleton */
19
+ { hydratedSelectorName: "hydrated" }
20
+ );
21
+ var ce = Object.defineProperty, ue = (e, t) => {
22
+ for (var s in t)
23
+ ce(e, s, { get: t[s], enumerable: !0 });
24
+ }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
25
+ const s = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
32
+ }, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
33
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
+ if (!n)
35
+ return;
36
+ const a = O.get(n);
37
+ if (a)
38
+ return a[r];
39
+ {
40
+ const l = (o) => (O.set(n, o), o[r]);
41
+ switch (n) {
42
+ case "ui-skeleton":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./ui-skeleton-BMWABShx.js"
46
+ ).then(l, E);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${n}.entry.js`
55
+ ).then((l) => (O.set(n, l), l[r]), E);
56
+ }, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
62
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), A = !1, C = [], K = [], he = (e, t) => (s) => {
71
+ e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
72
+ }, D = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (s) {
77
+ E(s);
78
+ }
79
+ e.length = 0;
80
+ }, H = () => {
81
+ D(C), D(K), (A = C.length > 0) && g.raf(H);
82
+ }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function X(e) {
84
+ var t, s, r;
85
+ 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;
86
+ }
87
+ var ye = {};
88
+ ue(ye, {
89
+ err: () => Z,
90
+ map: () => Se,
91
+ ok: () => I,
92
+ unwrap: () => be,
93
+ unwrapErr: () => ke
94
+ });
95
+ var I = (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 Se(e, t) {
105
+ if (e.isOk) {
106
+ const s = t(e.value);
107
+ return s instanceof Promise ? s.then((r) => I(r)) : I(s);
108
+ }
109
+ if (e.isErr) {
110
+ const s = e.value;
111
+ return Z(s);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var be = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, ke = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, Ee = (e, t) => () => {
125
+ }, we = (e, t, ...s) => {
126
+ let r = null, n = null, a = !1, l = !1;
127
+ const o = [], i = (c) => {
128
+ for (let u = 0; u < c.length; u++)
129
+ r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
130
+ };
131
+ if (i(s), t) {
132
+ t.key && (n = t.key);
133
+ {
134
+ const c = t.className || t.class;
135
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
136
+ }
137
+ }
138
+ const $ = N(e, null);
139
+ return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
140
+ }, N = (e, t) => {
141
+ const s = {
142
+ $flags$: 0,
143
+ $tag$: e,
144
+ $text$: t,
145
+ $elm$: null,
146
+ $children$: null
147
+ };
148
+ return s.$attrs$ = null, s.$key$ = null, s;
149
+ }, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
150
+ const r = g.ce(t, s);
151
+ return e.dispatchEvent(r), r;
152
+ }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
153
+ let r = _.get(e);
154
+ ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
155
+ }, Le = (e, t, s) => {
156
+ var r;
157
+ const n = R(t), a = _.get(n);
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), o;
162
+ if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
+ {
164
+ o = y.createElement("style"), o.innerHTML = a;
165
+ const i = (r = g.$nonce$) != null ? r : X(y);
166
+ i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
167
+ }
168
+ t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
+ }
170
+ } else
171
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
+ return n;
173
+ }, Oe = (e) => {
174
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
175
+ Le(
176
+ s.getRootNode(),
177
+ t
178
+ ), r();
179
+ }, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
180
+ if (s !== r && (t.toLowerCase(), t === "class")) {
181
+ const l = e.classList, o = Y(s), i = Y(r);
182
+ l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
183
+ }
184
+ }, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
185
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
186
+ for (const l of G(Object.keys(n)))
187
+ l in a || W(r, l, n[l], void 0);
188
+ for (const l of G(Object.keys(a)))
189
+ W(r, l, n[l], a[l]);
190
+ };
191
+ function G(e) {
192
+ return e.includes("ref") ? (
193
+ // we need to sort these to ensure that `'ref'` is the last attr
194
+ [...e.filter((t) => t !== "ref"), "ref"]
195
+ ) : (
196
+ // no need to sort, return the original array
197
+ e
198
+ );
199
+ }
200
+ var ee, j = (e, t, s, r) => {
201
+ const n = t.$children$[s];
202
+ let a = 0, l, o;
203
+ if (n.$text$ !== null)
204
+ l = n.$elm$ = y.createTextNode(n.$text$);
205
+ else if (l = n.$elm$ = y.createElement(
206
+ n.$tag$
207
+ ), V(null, n), n.$children$)
208
+ for (a = 0; a < n.$children$.length; ++a)
209
+ o = j(e, n, a), o && l.appendChild(o);
210
+ return l["s-hn"] = ee, l;
211
+ }, te = (e, t, s, r, n, a) => {
212
+ let l = e, o;
213
+ for (; n <= a; ++n)
214
+ r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
215
+ }, ne = (e, t, s) => {
216
+ for (let r = t; r <= s; ++r) {
217
+ const n = e[r];
218
+ if (n) {
219
+ const a = n.$elm$;
220
+ a && a.remove();
221
+ }
222
+ }
223
+ }, He = (e, t, s, r, n = !1) => {
224
+ let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
225
+ for (; a <= $ && l <= f; )
226
+ if (c == null)
227
+ c = t[++a];
228
+ else if (u == null)
229
+ u = t[--$];
230
+ else if (d == null)
231
+ d = r[++l];
232
+ else if (m == null)
233
+ m = r[--f];
234
+ else if (P(c, d, n))
235
+ k(c, d, n), c = t[++a], d = r[++l];
236
+ else if (P(u, m, n))
237
+ k(u, m, n), u = t[--$], m = r[--f];
238
+ else if (P(c, m, n))
239
+ k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
240
+ else if (P(u, d, n))
241
+ k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
242
+ else {
243
+ for (o = -1, i = a; i <= $; ++i)
244
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
245
+ o = i;
246
+ break;
247
+ }
248
+ o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
249
+ }
250
+ a > $ ? te(
251
+ e,
252
+ r[f + 1] == null ? null : r[f + 1].$elm$,
253
+ s,
254
+ r,
255
+ l,
256
+ f
257
+ ) : l > f && ne(t, a, $);
258
+ }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
259
+ const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
260
+ l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
261
+ }, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
262
+ const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
263
+ if (ee = r.tagName, s && a.$attrs$)
264
+ for (const l of Object.keys(a.$attrs$))
265
+ r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
266
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
267
+ }, se = (e, t) => {
268
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
269
+ }, q = (e, t) => {
270
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
271
+ e.$flags$ |= 512;
272
+ return;
273
+ }
274
+ return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
275
+ }, Ne = (e, t) => {
276
+ const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
277
+ if (!n)
278
+ throw new Error(
279
+ `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`
280
+ );
281
+ let a;
282
+ return r(), Ue(a, () => ze(e, n, t));
283
+ }, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
284
+ console.error(s), t();
285
+ }) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
286
+ var r;
287
+ const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
288
+ s && Oe(e);
289
+ const o = S("render", e.$cmpMeta$.$tagName$);
290
+ qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
291
+ {
292
+ const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
293
+ i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
294
+ }
295
+ }), qe = (e, t, s, r) => {
296
+ try {
297
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
298
+ } catch (n) {
299
+ E(n, e.$hostElement$);
300
+ }
301
+ return null;
302
+ }, Ce = (e) => {
303
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
304
+ e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
305
+ }, re = (e) => {
306
+ le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
307
+ }, le = (e) => {
308
+ var t;
309
+ return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
310
+ }, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
311
+ const n = b(e);
312
+ if (!n)
313
+ throw new Error(
314
+ `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).`
315
+ );
316
+ const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
317
+ s = Te(s, r.$members$[t][0]);
318
+ const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
319
+ if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
320
+ if (r.$watchers$ && o & 128) {
321
+ const u = r.$watchers$[t];
322
+ u && u.map((f) => {
323
+ try {
324
+ i[f](s, l, t);
325
+ } catch (d) {
326
+ E(d, a);
327
+ }
328
+ });
329
+ }
330
+ (o & 18) === 2 && q(n, !1);
331
+ }
332
+ }, ae = (e, t, s) => {
333
+ var r, n;
334
+ const a = e.prototype;
335
+ if (t.$members$ || t.$watchers$ || e.watchers) {
336
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
337
+ const l = Object.entries((r = t.$members$) != null ? r : {});
338
+ if (l.map(([o, [i]]) => {
339
+ (i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
340
+ get() {
341
+ return De(this, o);
342
+ },
343
+ set($) {
344
+ Fe(this, o, $, t);
345
+ },
346
+ configurable: !0,
347
+ enumerable: !0
348
+ });
349
+ }), s & 1) {
350
+ const o = /* @__PURE__ */ new Map();
351
+ a.attributeChangedCallback = function(i, $, c) {
352
+ g.jmp(() => {
353
+ var u;
354
+ const f = o.get(i);
355
+ if (this.hasOwnProperty(f))
356
+ c = this[f], delete this[f];
357
+ else {
358
+ if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
359
+ return;
360
+ if (f == null) {
361
+ const d = b(this), m = d == null ? void 0 : d.$flags$;
362
+ if (m && !(m & 8) && m & 128 && c !== $) {
363
+ const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
364
+ h == null || h.forEach((p) => {
365
+ v[p] != null && v[p].call(v, c, $, i);
366
+ });
367
+ }
368
+ return;
369
+ }
370
+ }
371
+ this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
372
+ });
373
+ }, e.observedAttributes = Array.from(
374
+ /* @__PURE__ */ new Set([
375
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
376
+ ...l.filter(
377
+ ([i, $]) => $[0] & 15
378
+ /* HasAttribute */
379
+ ).map(([i, $]) => {
380
+ const c = $[1] || i;
381
+ return o.set(c, i), c;
382
+ })
383
+ ])
384
+ );
385
+ }
386
+ }
387
+ return e;
388
+ }, Me = (e, t, s, r) => x(void 0, null, function* () {
389
+ let n;
390
+ if (!(t.$flags$ & 32)) {
391
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
392
+ const i = de(s);
393
+ if (i && "then" in i) {
394
+ const c = Ee();
395
+ n = yield i, c();
396
+ } else
397
+ n = i;
398
+ if (!n)
399
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
400
+ n.isProxied || (s.$watchers$ = n.watchers, ae(
401
+ n,
402
+ s,
403
+ 2
404
+ /* proxyState */
405
+ ), n.isProxied = !0);
406
+ const $ = S("createInstance", s.$tagName$);
407
+ t.$flags$ |= 8;
408
+ try {
409
+ new n(t);
410
+ } catch (c) {
411
+ E(c);
412
+ }
413
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
414
+ } else {
415
+ n = e.constructor;
416
+ const i = e.localName;
417
+ customElements.whenDefined(i).then(
418
+ () => t.$flags$ |= 128
419
+ /* isWatchReady */
420
+ );
421
+ }
422
+ if (n && n.style) {
423
+ let i;
424
+ typeof n.style == "string" && (i = n.style);
425
+ const $ = R(s);
426
+ if (!_.has($)) {
427
+ const c = S("registerStyles", s.$tagName$);
428
+ je($, i, !!(s.$flags$ & 1)), c();
429
+ }
430
+ }
431
+ }
432
+ const a = t.$ancestorComponent$, l = () => q(t, !0);
433
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
434
+ }), We = (e) => {
435
+ }, Ye = (e) => {
436
+ if (!(g.$flags$ & 1)) {
437
+ const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
438
+ if (t.$flags$ & 1)
439
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
440
+ else {
441
+ t.$flags$ |= 1;
442
+ {
443
+ let n = e;
444
+ for (; n = n.parentNode || n.host; )
445
+ if (n["s-p"]) {
446
+ se(t, t.$ancestorComponent$ = n);
447
+ break;
448
+ }
449
+ }
450
+ s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
451
+ if (a & 31 && e.hasOwnProperty(n)) {
452
+ const l = e[n];
453
+ delete e[n], e[n] = l;
454
+ }
455
+ }), Me(e, t, s);
456
+ }
457
+ r();
458
+ }
459
+ }, Ge = (e) => {
460
+ }, Je = (e) => x(void 0, null, function* () {
461
+ if (!(g.$flags$ & 1)) {
462
+ const t = b(e);
463
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
464
+ }
465
+ }), Xe = (e, t = {}) => {
466
+ var s;
467
+ const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
468
+ let u, f = !0;
469
+ Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
470
+ let d = !1;
471
+ if (e.map((m) => {
472
+ m[1].map((v) => {
473
+ var h;
474
+ const p = {
475
+ $flags$: v[0],
476
+ $tagName$: v[1],
477
+ $members$: v[2],
478
+ $listeners$: v[3]
479
+ };
480
+ p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
481
+ const w = p.$tagName$, ie = class extends HTMLElement {
482
+ // StencilLazyHost
483
+ constructor(L) {
484
+ super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
485
+ }
486
+ connectedCallback() {
487
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
488
+ }
489
+ disconnectedCallback() {
490
+ g.jmp(() => Je(this));
491
+ }
492
+ componentOnReady() {
493
+ return b(this).$onReadyPromise$;
494
+ }
495
+ };
496
+ p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
497
+ w,
498
+ ae(
499
+ ie,
500
+ p,
501
+ 1
502
+ /* isElementConstructor */
503
+ )
504
+ ));
505
+ });
506
+ }), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
507
+ $.setAttribute("data-styles", "");
508
+ const m = (s = g.$nonce$) != null ? s : X(y);
509
+ m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
510
+ }
511
+ f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
512
+ };
513
+ export {
514
+ xe as H,
515
+ Xe as b,
516
+ we as h,
517
+ ve as p,
518
+ Qe as r
519
+ };