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