@everymatrix/casino-lobby 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-C8B0eACb.cjs +22 -0
- package/components/{CasinoCalendar-WuTw9Z8d.js → CasinoCalendar-izYyDxua.js} +912 -869
- package/components/{CasinoCalendar-C4nbeq1g.js → CasinoCalendar-lTuMef5g.js} +1136 -1093
- package/components/{CasinoCalendarDailyDetails-CHONyOB5.js → CasinoCalendarDailyDetails-BO_acJjS.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-BAGuydyF.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-DrcJ9qsj.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-eOgZSp2O.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +2 -2
- package/components/{CasinoCalendarDailyItem-CPM6-0C8.js → CasinoCalendarDailyItem-CearDjmk.js} +2 -2
- package/components/{CasinoCalendarDailyItem-B3npUDyl.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DgQayYzE.js → CasinoCategoriesSlider-CbZRQLJS.js} +2 -2
- package/components/{CasinoCategoriesSlider-DyNiM5Xn.js → CasinoCategoriesSlider-CtsT7oWX.js} +2 -2
- package/components/{CasinoCategoriesSlider-CWcGEpfR.cjs → CasinoCategoriesSlider-DtDec725.cjs} +1 -1
- package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
- package/components/{CasinoCollectionsProviders-5PJh4coY.js → CasinoCollectionsProviders-BsANDUWq.js} +33 -33
- package/components/{CasinoCollectionsProviders-DvICMch1.js → CasinoCollectionsProviders-C6vH48GA.js} +31 -31
- package/components/{CasinoFavoritesSection-BLswksE3.js → CasinoFavoritesSection-6WkSSin3.js} +2 -2
- package/components/{CasinoFavoritesSection-D57jT5yq.js → CasinoFavoritesSection-Binip-ga.js} +2 -2
- package/components/{CasinoFavoritesSection-DXEM7KtA.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
- package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
- package/components/CasinoFilter-N8qvxcNm.js +645 -0
- package/components/CasinoFilter-xLSNxOV2.js +644 -0
- package/components/{CasinoGamePage-NTjXPK0_.js → CasinoGamePage-AxIvVXWI.js} +6 -6
- package/components/{CasinoGamePage-D4oYftHp.js → CasinoGamePage-DJFhafR6.js} +110 -110
- package/components/{CasinoGamePage-DhNoxzWb.cjs → CasinoGamePage-DQL-yFsp.cjs} +2 -2
- package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
- package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
- package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
- package/components/{CasinoGamesCategorySection-Br-ZBeEp.js → CasinoGamesCategorySection-BUxtHhON.js} +756 -742
- package/components/CasinoGamesCategorySection-C0zpuZl3.cjs +1 -0
- package/components/{CasinoGamesCategorySection-DrL01BnG.js → CasinoGamesCategorySection-pmibtuJd.js} +1048 -1035
- package/components/{CasinoJackpotBanner-Yo5HGzmD.js → CasinoJackpotBanner-CdjXlJzV.js} +48 -48
- package/components/{CasinoJackpotBanner-CG4fFV2M.js → CasinoJackpotBanner-DcU4dn5c.js} +92 -92
- package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
- package/components/{CasinoLastPlayedSection-BUIc0ZEt.js → CasinoLastPlayedSection-BP5rPSQ_.js} +2 -2
- package/components/{CasinoLastPlayedSection-CFEzl7GR.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DjRKGJ8F.js → CasinoLastPlayedSection-vlivUYOC.js} +2 -2
- package/components/{CasinoLobby-L5w-S2-2.js → CasinoLobby-CPaRNRtp.js} +262 -242
- package/components/{CasinoLobby-CQVjJ22J.js → CasinoLobby-CyDr4hqy.js} +262 -242
- package/components/CasinoLobby-Ds5HlH8Y.cjs +1 -0
- package/components/{CasinoModal-CeEDc631.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
- package/components/{CasinoModal-Cx4skobD.js → CasinoModal-D9IpMDiG.js} +1 -1
- package/components/{CasinoModal-DrALs71O.js → CasinoModal-Dk3TnqEW.js} +1 -1
- package/components/{CasinoMostPlayedSection-BrjuU2ad.js → CasinoMostPlayedSection-20MO7enx.js} +2 -2
- package/components/{CasinoMostPlayedSection-Dru8l_gX.js → CasinoMostPlayedSection-CbfiaETY.js} +2 -2
- package/components/{CasinoMostPlayedSection-D72Posxa.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
- package/components/{CasinoMyGames-DP5VtRtX.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
- package/components/{CasinoMyGames-Cc8aQUy5.js → CasinoMyGames-CFxQ8X8x.js} +4 -4
- package/components/{CasinoMyGames-Eco1Z13t.js → CasinoMyGames-CadZECEx.js} +4 -4
- package/components/CasinoPage-CqUxa6JX.cjs +1 -0
- package/components/CasinoPage-DFLtQdP3.js +4071 -0
- package/components/{CasinoPage-BvKvwzQq.js → CasinoPage-jKeNqwgL.js} +1698 -1543
- package/components/{CasinoRandomGame-RYfnY5_c.js → CasinoRandomGame-CMMdb6MX.js} +192 -193
- package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
- package/components/{CasinoRandomGame-5kYiDYSm.js → CasinoRandomGame-Dfk5ExSm.js} +153 -154
- package/components/{CasinoSearch-CnWoNOtX.js → CasinoSearch-B-DNLDkb.js} +4 -4
- package/components/{CasinoSearch-D-hwTHcV.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
- package/components/{CasinoSearch-Nqv4h_zq.js → CasinoSearch-ulzQNNP2.js} +4 -4
- package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
- package/components/{CasinoSlider-D1JzP31y.js → CasinoSlider-DCODvBVc.js} +141 -142
- package/components/{CasinoSlider-Cr-fAktO.js → CasinoSlider-M-ePf6YF.js} +208 -209
- package/components/{CasinoSort-ByAjtAxn.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
- package/components/{CasinoSort-D51DNHxk.js → CasinoSort-Cz8W-yKd.js} +1 -1
- package/components/{CasinoSort-DXiP4dA5.js → CasinoSort-DJlRNRiq.js} +1 -1
- package/components/{CasinoWinners-B1BXrca1.js → CasinoWinners-B11A2z1V.js} +4 -4
- package/components/{CasinoWinners-pzI08CdT.js → CasinoWinners-B44zvyCP.js} +4 -4
- package/components/{CasinoWinners-CEq9st2v.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CI4qqgO_.js → GeneralAnimationLoading-N8PSBBga.js} +1 -1
- package/components/{GeneralAnimationLoading-DiZmxxRF.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CIaY2Gvf.js → GeneralAnimationLoading-yZge1VnD.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
- package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
- package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CUjXE1FQ.js +25 -0
- package/stencil/ui-image-DO4by88q.js +7 -0
- package/stencil/ui-image-DgVuZYOM.cjs +1 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-BaQd3tuL.cjs +0 -22
- package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +0 -1
- package/components/CasinoFilter-B9G8cs2A.cjs +0 -1
- package/components/CasinoFilter-BH7-Laxf.js +0 -632
- package/components/CasinoFilter-COinUQ6E.js +0 -633
- package/components/CasinoGameThumbnail-C_F6ViBB.js +0 -1068
- package/components/CasinoGameThumbnail-DWRrHNvN.cjs +0 -30
- package/components/CasinoGameThumbnail-pajQYCwc.js +0 -1084
- package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +0 -1
- package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +0 -1
- package/components/CasinoLobby-DnBSVJ5P.cjs +0 -1
- package/components/CasinoPage-DAptP7ZQ.cjs +0 -1
- package/components/CasinoPage-mARxTyiZ.js +0 -3916
- package/components/CasinoRandomGame-BJiVFaRb.cjs +0 -2
- package/components/CasinoSlider-B3dV89iI.cjs +0 -1
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
- package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
- package/stencil/ui-image-CV8AJ9cY.js +0 -29
- package/stencil/ui-image-DG3xEaHN.js +0 -11
- package/stencil/ui-image-LuWVcxjH.cjs +0 -1
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
const fe = "ui-image", ue = (
|
|
2
|
+
/* ui-image */
|
|
3
|
+
{ hydratedSelectorName: "hydrated" }
|
|
4
|
+
);
|
|
5
|
+
var de = Object.defineProperty, ve = (e, t) => {
|
|
6
|
+
for (var n in t)
|
|
7
|
+
de(e, n, { get: t[n], enumerable: !0 });
|
|
8
|
+
}, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), Ve = (e, t) => B.set(t.$lazyInstance$ = e, t), ge = (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"] = [], B.set(e, n);
|
|
16
|
+
}, F = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), pe = (e, t, n) => {
|
|
17
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
18
|
+
if (!r)
|
|
19
|
+
return;
|
|
20
|
+
const a = O.get(r);
|
|
21
|
+
if (a)
|
|
22
|
+
return a[s];
|
|
23
|
+
{
|
|
24
|
+
const l = ($) => (O.set(r, $), $[s]);
|
|
25
|
+
switch (r) {
|
|
26
|
+
case "ui-image_2":
|
|
27
|
+
return import(
|
|
28
|
+
/* webpackMode: "lazy" */
|
|
29
|
+
"./ui-image_2-CIsvIZfV.js"
|
|
30
|
+
).then(l, k);
|
|
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((l) => (O.set(r, l), l[s]), k);
|
|
40
|
+
}, _ = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", L = typeof window < "u" ? window : {}, m = L.document || { head: {} }, p = {
|
|
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
|
+
}, ye = (e) => Promise.resolve(e), me = /* @__PURE__ */ (() => {
|
|
49
|
+
try {
|
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
})(), w = !1, D = [], Q = [], Se = (e, t) => (n) => {
|
|
55
|
+
e.push(n), w || (w = !0, p.$flags$ & 4 ? z(I) : p.raf(I));
|
|
56
|
+
}, W = (e) => {
|
|
57
|
+
for (let t = 0; t < e.length; t++)
|
|
58
|
+
try {
|
|
59
|
+
e[t](performance.now());
|
|
60
|
+
} catch (n) {
|
|
61
|
+
k(n);
|
|
62
|
+
}
|
|
63
|
+
e.length = 0;
|
|
64
|
+
}, I = () => {
|
|
65
|
+
W(D), W(Q), (w = D.length > 0) && p.raf(I);
|
|
66
|
+
}, z = (e) => ye().then(e), Ee = /* @__PURE__ */ Se(Q), M = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function Z(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 ke = {};
|
|
72
|
+
ve(ke, {
|
|
73
|
+
err: () => R,
|
|
74
|
+
map: () => be,
|
|
75
|
+
ok: () => U,
|
|
76
|
+
unwrap: () => xe,
|
|
77
|
+
unwrapErr: () => Pe
|
|
78
|
+
});
|
|
79
|
+
var U = (e) => ({
|
|
80
|
+
isOk: !0,
|
|
81
|
+
isErr: !1,
|
|
82
|
+
value: e
|
|
83
|
+
}), R = (e) => ({
|
|
84
|
+
isOk: !1,
|
|
85
|
+
isErr: !0,
|
|
86
|
+
value: e
|
|
87
|
+
});
|
|
88
|
+
function be(e, t) {
|
|
89
|
+
if (e.isOk) {
|
|
90
|
+
const n = t(e.value);
|
|
91
|
+
return n instanceof Promise ? n.then((s) => U(s)) : U(n);
|
|
92
|
+
}
|
|
93
|
+
if (e.isErr) {
|
|
94
|
+
const n = e.value;
|
|
95
|
+
return R(n);
|
|
96
|
+
}
|
|
97
|
+
throw "should never get here";
|
|
98
|
+
}
|
|
99
|
+
var xe = (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
|
+
}, _e = (e, t, ...n) => {
|
|
110
|
+
let s = null, r = null, a = !1, l = !1;
|
|
111
|
+
const $ = [], i = (c) => {
|
|
112
|
+
for (let f = 0; f < c.length; f++)
|
|
113
|
+
s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !C(s)) && (s = String(s)), a && l ? $[$.length - 1].$text$ += s : $.push(a ? H(null, s) : s), l = a);
|
|
114
|
+
};
|
|
115
|
+
if (i(n), t) {
|
|
116
|
+
t.key && (r = t.key);
|
|
117
|
+
{
|
|
118
|
+
const c = t.className || t.class;
|
|
119
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const o = H(e, null);
|
|
123
|
+
return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = r, o;
|
|
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
|
+
}, Ae = {}, Le = (e) => e && e.$tag$ === Ae, je = (e, t) => e != null && !C(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => E(e).$hostElement$, Oe = (e, t, n) => {
|
|
134
|
+
const s = p.ce(t, n);
|
|
135
|
+
return e.dispatchEvent(s), s;
|
|
136
|
+
}, G = /* @__PURE__ */ new WeakMap(), we = (e, t, n) => {
|
|
137
|
+
let s = _.get(e);
|
|
138
|
+
me && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
|
|
139
|
+
}, Ie = (e, t, n) => {
|
|
140
|
+
var s;
|
|
141
|
+
const r = N(t), a = _.get(r);
|
|
142
|
+
if (e = e.nodeType === 11 ? e : m, a)
|
|
143
|
+
if (typeof a == "string") {
|
|
144
|
+
e = e.head || e;
|
|
145
|
+
let l = G.get(e), $;
|
|
146
|
+
if (l || G.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
147
|
+
{
|
|
148
|
+
$ = m.createElement("style"), $.innerHTML = a;
|
|
149
|
+
const i = (s = p.$nonce$) != null ? s : Z(m);
|
|
150
|
+
i != null && $.setAttribute("nonce", i), e.insertBefore($, e.querySelector("link"));
|
|
151
|
+
}
|
|
152
|
+
t.$flags$ & 4 && ($.innerHTML += K), l && l.add(r);
|
|
153
|
+
}
|
|
154
|
+
} else
|
|
155
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
|
+
return r;
|
|
157
|
+
}, Ue = (e) => {
|
|
158
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
159
|
+
Ie(
|
|
160
|
+
n.getRootNode(),
|
|
161
|
+
t
|
|
162
|
+
), s();
|
|
163
|
+
}, N = (e, t) => "sc-" + e.$tagName$, X = (e, t, n, s, r, a) => {
|
|
164
|
+
if (n !== s) {
|
|
165
|
+
let l = F(e, t), $ = t.toLowerCase();
|
|
166
|
+
if (t === "class") {
|
|
167
|
+
const i = e.classList, o = Y(n), c = Y(s);
|
|
168
|
+
i.remove(...o.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !o.includes(f)));
|
|
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 if (!l && t[0] === "o" && t[1] === "n") {
|
|
178
|
+
if (t[2] === "-" ? t = t.slice(3) : F(L, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
|
|
179
|
+
const i = t.endsWith(V);
|
|
180
|
+
t = t.replace(Be, ""), n && p.rel(e, t, n, i), s && p.ael(e, t, s, i);
|
|
181
|
+
}
|
|
182
|
+
} else {
|
|
183
|
+
const i = C(s);
|
|
184
|
+
if (l || i && s !== null)
|
|
185
|
+
try {
|
|
186
|
+
if (e.tagName.includes("-"))
|
|
187
|
+
e[t] = s;
|
|
188
|
+
else {
|
|
189
|
+
const o = s ?? "";
|
|
190
|
+
t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
|
|
191
|
+
}
|
|
192
|
+
} catch {
|
|
193
|
+
}
|
|
194
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}, He = /\s/, Y = (e) => e ? e.split(He) : [], V = "Capture", Be = new RegExp(V + "$"), ee = (e, t, n) => {
|
|
198
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || M, a = t.$attrs$ || M;
|
|
199
|
+
for (const l of J(Object.keys(r)))
|
|
200
|
+
l in a || X(s, l, r[l], void 0, n, t.$flags$);
|
|
201
|
+
for (const l of J(Object.keys(a)))
|
|
202
|
+
X(s, l, r[l], a[l], n, t.$flags$);
|
|
203
|
+
};
|
|
204
|
+
function J(e) {
|
|
205
|
+
return e.includes("ref") ? (
|
|
206
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
207
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
208
|
+
) : (
|
|
209
|
+
// no need to sort, return the original array
|
|
210
|
+
e
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
var te, se = !1, A = (e, t, n, s) => {
|
|
214
|
+
const r = t.$children$[n];
|
|
215
|
+
let a = 0, l, $;
|
|
216
|
+
if (r.$text$ !== null)
|
|
217
|
+
l = r.$elm$ = m.createTextNode(r.$text$);
|
|
218
|
+
else if (l = r.$elm$ = m.createElement(
|
|
219
|
+
r.$tag$
|
|
220
|
+
), ee(null, r, se), r.$children$)
|
|
221
|
+
for (a = 0; a < r.$children$.length; ++a)
|
|
222
|
+
$ = A(e, r, a), $ && l.appendChild($);
|
|
223
|
+
return l["s-hn"] = te, l;
|
|
224
|
+
}, ne = (e, t, n, s, r, a) => {
|
|
225
|
+
let l = e, $;
|
|
226
|
+
for (; r <= a; ++r)
|
|
227
|
+
s[r] && ($ = A(null, n, r), $ && (s[r].$elm$ = $, T(l, $, t)));
|
|
228
|
+
}, re = (e, t, n) => {
|
|
229
|
+
for (let s = t; s <= n; ++s) {
|
|
230
|
+
const r = e[s];
|
|
231
|
+
if (r) {
|
|
232
|
+
const a = r.$elm$;
|
|
233
|
+
le(r), a && a.remove();
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}, ze = (e, t, n, s, r = !1) => {
|
|
237
|
+
let a = 0, l = 0, $ = 0, i = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, h;
|
|
238
|
+
for (; a <= o && l <= u; )
|
|
239
|
+
if (c == null)
|
|
240
|
+
c = t[++a];
|
|
241
|
+
else if (f == null)
|
|
242
|
+
f = t[--o];
|
|
243
|
+
else if (d == null)
|
|
244
|
+
d = s[++l];
|
|
245
|
+
else if (v == null)
|
|
246
|
+
v = s[--u];
|
|
247
|
+
else if (P(c, d, r))
|
|
248
|
+
b(c, d, r), c = t[++a], d = s[++l];
|
|
249
|
+
else if (P(f, v, r))
|
|
250
|
+
b(f, v, r), f = t[--o], v = s[--u];
|
|
251
|
+
else if (P(c, v, r))
|
|
252
|
+
b(c, v, r), T(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
|
|
253
|
+
else if (P(f, d, r))
|
|
254
|
+
b(f, d, r), T(e, f.$elm$, c.$elm$), f = t[--o], d = s[++l];
|
|
255
|
+
else {
|
|
256
|
+
for ($ = -1, i = a; i <= o; ++i)
|
|
257
|
+
if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
|
|
258
|
+
$ = i;
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
$ >= 0 ? (h = t[$], h.$tag$ !== d.$tag$ ? g = A(t && t[l], n, $) : (b(h, d, r), t[$] = void 0, g = h.$elm$), d = s[++l]) : (g = A(t && t[l], n, l), d = s[++l]), g && T(c.$elm$.parentNode, g, c.$elm$);
|
|
262
|
+
}
|
|
263
|
+
a > o ? ne(
|
|
264
|
+
e,
|
|
265
|
+
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
266
|
+
n,
|
|
267
|
+
s,
|
|
268
|
+
l,
|
|
269
|
+
u
|
|
270
|
+
) : l > u && re(t, a, o);
|
|
271
|
+
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
|
|
272
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
|
|
273
|
+
l === null ? (ee(e, t, se), r !== null && a !== null ? ze(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
274
|
+
}, le = (e) => {
|
|
275
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
|
|
276
|
+
}, T = (e, t, n) => e?.insertBefore(t, n), Ce = (e, t, n = !1) => {
|
|
277
|
+
const s = e.$hostElement$, r = e.$vnode$ || H(null, null), a = Le(t) ? t : _e(null, null, t);
|
|
278
|
+
if (te = s.tagName, n && a.$attrs$)
|
|
279
|
+
for (const l of Object.keys(a.$attrs$))
|
|
280
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
|
|
281
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, b(r, a, n);
|
|
282
|
+
}, ae = (e, t) => {
|
|
283
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
284
|
+
}, q = (e, t) => {
|
|
285
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
286
|
+
e.$flags$ |= 512;
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
return ae(e, e.$ancestorComponent$), Ee(() => qe(e, t));
|
|
290
|
+
}, qe = (e, t) => {
|
|
291
|
+
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
292
|
+
if (!r)
|
|
293
|
+
throw new Error(
|
|
294
|
+
`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`
|
|
295
|
+
);
|
|
296
|
+
let a;
|
|
297
|
+
return s(), Fe(a, () => We(e, r, t));
|
|
298
|
+
}, Fe = (e, t) => De(e) ? e.then(t).catch((n) => {
|
|
299
|
+
console.error(n), t();
|
|
300
|
+
}) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = async (e, t, n) => {
|
|
301
|
+
var s;
|
|
302
|
+
const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
303
|
+
n && Ue(e);
|
|
304
|
+
const $ = S("render", e.$cmpMeta$.$tagName$);
|
|
305
|
+
Me(e, t, r, n), l && (l.map((i) => i()), r["s-rc"] = void 0), $(), a();
|
|
306
|
+
{
|
|
307
|
+
const i = (s = r["s-p"]) != null ? s : [], o = () => Ge(e);
|
|
308
|
+
i.length === 0 ? o() : (Promise.all(i).then(o), e.$flags$ |= 4, i.length = 0);
|
|
309
|
+
}
|
|
310
|
+
}, Me = (e, t, n, s) => {
|
|
311
|
+
try {
|
|
312
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, s);
|
|
313
|
+
} catch (r) {
|
|
314
|
+
k(r, e.$hostElement$);
|
|
315
|
+
}
|
|
316
|
+
return null;
|
|
317
|
+
}, Ge = (e) => {
|
|
318
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
319
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, $e(n), Xe(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
|
|
320
|
+
}, ie = (e) => {
|
|
321
|
+
$e(m.documentElement), z(() => Oe(L, "appload", { detail: { namespace: fe } }));
|
|
322
|
+
}, Xe = (e, t, n) => {
|
|
323
|
+
if (e && e[t])
|
|
324
|
+
try {
|
|
325
|
+
return e[t](n);
|
|
326
|
+
} catch (s) {
|
|
327
|
+
k(s);
|
|
328
|
+
}
|
|
329
|
+
}, $e = (e) => {
|
|
330
|
+
var t;
|
|
331
|
+
return e.classList.add((t = ue.hydratedSelectorName) != null ? t : "hydrated");
|
|
332
|
+
}, Ye = (e, t) => E(e).$instanceValues$.get(t), Je = (e, t, n, s) => {
|
|
333
|
+
const r = E(e);
|
|
334
|
+
if (!r)
|
|
335
|
+
throw new Error(
|
|
336
|
+
`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).`
|
|
337
|
+
);
|
|
338
|
+
const a = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, i = r.$lazyInstance$;
|
|
339
|
+
n = je(n, s.$members$[t][0]);
|
|
340
|
+
const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
|
|
341
|
+
if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), i)) {
|
|
342
|
+
if (s.$watchers$ && $ & 128) {
|
|
343
|
+
const f = s.$watchers$[t];
|
|
344
|
+
f && f.map((u) => {
|
|
345
|
+
try {
|
|
346
|
+
i[u](n, l, t);
|
|
347
|
+
} catch (d) {
|
|
348
|
+
k(d, a);
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
($ & 18) === 2 && q(r, !1);
|
|
353
|
+
}
|
|
354
|
+
}, oe = (e, t, n) => {
|
|
355
|
+
var s, r;
|
|
356
|
+
const a = e.prototype;
|
|
357
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
358
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
359
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
360
|
+
if (l.map(([$, [i]]) => {
|
|
361
|
+
(i & 31 || n & 2 && i & 32) && Object.defineProperty(a, $, {
|
|
362
|
+
get() {
|
|
363
|
+
return Ye(this, $);
|
|
364
|
+
},
|
|
365
|
+
set(o) {
|
|
366
|
+
Je(this, $, o, t);
|
|
367
|
+
},
|
|
368
|
+
configurable: !0,
|
|
369
|
+
enumerable: !0
|
|
370
|
+
});
|
|
371
|
+
}), n & 1) {
|
|
372
|
+
const $ = /* @__PURE__ */ new Map();
|
|
373
|
+
a.attributeChangedCallback = function(i, o, c) {
|
|
374
|
+
p.jmp(() => {
|
|
375
|
+
var f;
|
|
376
|
+
const u = $.get(i);
|
|
377
|
+
if (this.hasOwnProperty(u))
|
|
378
|
+
c = this[u], delete this[u];
|
|
379
|
+
else {
|
|
380
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
|
|
381
|
+
return;
|
|
382
|
+
if (u == null) {
|
|
383
|
+
const d = E(this), v = d?.$flags$;
|
|
384
|
+
if (v && !(v & 8) && v & 128 && c !== o) {
|
|
385
|
+
const g = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[i];
|
|
386
|
+
h?.forEach((y) => {
|
|
387
|
+
g[y] != null && g[y].call(g, c, o, i);
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
|
|
394
|
+
});
|
|
395
|
+
}, e.observedAttributes = Array.from(
|
|
396
|
+
/* @__PURE__ */ new Set([
|
|
397
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
398
|
+
...l.filter(
|
|
399
|
+
([i, o]) => o[0] & 15
|
|
400
|
+
/* HasAttribute */
|
|
401
|
+
).map(([i, o]) => {
|
|
402
|
+
const c = o[1] || i;
|
|
403
|
+
return $.set(c, i), c;
|
|
404
|
+
})
|
|
405
|
+
])
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
return e;
|
|
410
|
+
}, Ke = async (e, t, n, s) => {
|
|
411
|
+
let r;
|
|
412
|
+
if (!(t.$flags$ & 32)) {
|
|
413
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
414
|
+
const i = pe(n);
|
|
415
|
+
if (i && "then" in i) {
|
|
416
|
+
const c = Te();
|
|
417
|
+
r = await i, c();
|
|
418
|
+
} else
|
|
419
|
+
r = i;
|
|
420
|
+
if (!r)
|
|
421
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
422
|
+
r.isProxied || (n.$watchers$ = r.watchers, oe(
|
|
423
|
+
r,
|
|
424
|
+
n,
|
|
425
|
+
2
|
|
426
|
+
/* proxyState */
|
|
427
|
+
), r.isProxied = !0);
|
|
428
|
+
const o = S("createInstance", n.$tagName$);
|
|
429
|
+
t.$flags$ |= 8;
|
|
430
|
+
try {
|
|
431
|
+
new r(t);
|
|
432
|
+
} catch (c) {
|
|
433
|
+
k(c);
|
|
434
|
+
}
|
|
435
|
+
t.$flags$ &= -9, t.$flags$ |= 128, o();
|
|
436
|
+
} else {
|
|
437
|
+
r = e.constructor;
|
|
438
|
+
const i = e.localName;
|
|
439
|
+
customElements.whenDefined(i).then(
|
|
440
|
+
() => t.$flags$ |= 128
|
|
441
|
+
/* isWatchReady */
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
if (r && r.style) {
|
|
445
|
+
let i;
|
|
446
|
+
typeof r.style == "string" && (i = r.style);
|
|
447
|
+
const o = N(n);
|
|
448
|
+
if (!_.has(o)) {
|
|
449
|
+
const c = S("registerStyles", n.$tagName$);
|
|
450
|
+
we(o, i, !!(n.$flags$ & 1)), c();
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
const a = t.$ancestorComponent$, l = () => q(t, !0);
|
|
455
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
456
|
+
}, Qe = (e) => {
|
|
457
|
+
}, Ze = (e) => {
|
|
458
|
+
if (!(p.$flags$ & 1)) {
|
|
459
|
+
const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
|
460
|
+
if (t.$flags$ & 1)
|
|
461
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
|
|
462
|
+
else {
|
|
463
|
+
t.$flags$ |= 1;
|
|
464
|
+
{
|
|
465
|
+
let r = e;
|
|
466
|
+
for (; r = r.parentNode || r.host; )
|
|
467
|
+
if (r["s-p"]) {
|
|
468
|
+
ae(t, t.$ancestorComponent$ = r);
|
|
469
|
+
break;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
|
|
473
|
+
if (a & 31 && e.hasOwnProperty(r)) {
|
|
474
|
+
const l = e[r];
|
|
475
|
+
delete e[r], e[r] = l;
|
|
476
|
+
}
|
|
477
|
+
}), Ke(e, t, n);
|
|
478
|
+
}
|
|
479
|
+
s();
|
|
480
|
+
}
|
|
481
|
+
}, Re = (e) => {
|
|
482
|
+
}, Ne = async (e) => {
|
|
483
|
+
if (!(p.$flags$ & 1)) {
|
|
484
|
+
const t = E(e);
|
|
485
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
|
|
486
|
+
}
|
|
487
|
+
}, tt = (e, t = {}) => {
|
|
488
|
+
var n;
|
|
489
|
+
const s = S(), r = [], a = t.exclude || [], l = L.customElements, $ = m.head, i = /* @__PURE__ */ $.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
|
|
490
|
+
let f, u = !0;
|
|
491
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
492
|
+
let d = !1;
|
|
493
|
+
if (e.map((v) => {
|
|
494
|
+
v[1].map((g) => {
|
|
495
|
+
var h;
|
|
496
|
+
const y = {
|
|
497
|
+
$flags$: g[0],
|
|
498
|
+
$tagName$: g[1],
|
|
499
|
+
$members$: g[2],
|
|
500
|
+
$listeners$: g[3]
|
|
501
|
+
};
|
|
502
|
+
y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (h = g[4]) != null ? h : {};
|
|
503
|
+
const x = y.$tagName$, ce = class extends HTMLElement {
|
|
504
|
+
// StencilLazyHost
|
|
505
|
+
constructor(j) {
|
|
506
|
+
super(j), this.hasRegisteredEventListeners = !1, j = this, ge(j, y);
|
|
507
|
+
}
|
|
508
|
+
connectedCallback() {
|
|
509
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => Ze(this));
|
|
510
|
+
}
|
|
511
|
+
disconnectedCallback() {
|
|
512
|
+
p.jmp(() => Ne(this));
|
|
513
|
+
}
|
|
514
|
+
componentOnReady() {
|
|
515
|
+
return E(this).$onReadyPromise$;
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
y.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
|
|
519
|
+
x,
|
|
520
|
+
oe(
|
|
521
|
+
ce,
|
|
522
|
+
y,
|
|
523
|
+
1
|
|
524
|
+
/* isElementConstructor */
|
|
525
|
+
)
|
|
526
|
+
));
|
|
527
|
+
});
|
|
528
|
+
}), r.length > 0 && (d && (o.textContent += K), o.textContent += r.sort() + he, o.innerHTML.length)) {
|
|
529
|
+
o.setAttribute("data-styles", "");
|
|
530
|
+
const v = (n = p.$nonce$) != null ? n : Z(m);
|
|
531
|
+
v != null && o.setAttribute("nonce", v), $.insertBefore(o, i ? i.nextSibling : $.firstChild);
|
|
532
|
+
}
|
|
533
|
+
u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ie, 30)), s();
|
|
534
|
+
};
|
|
535
|
+
export {
|
|
536
|
+
Ae as H,
|
|
537
|
+
tt as b,
|
|
538
|
+
et as g,
|
|
539
|
+
_e as h,
|
|
540
|
+
ye as p,
|
|
541
|
+
Ve as r
|
|
542
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-Di9b-pPK.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=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:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;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}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{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;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`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`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`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).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-CUmVjhrn.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=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:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;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}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{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;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`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`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`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).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("./index-97d17652-CeszPuI-.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}",d=r,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.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0)},e.src=this.src}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(i.Host,{key:"527318220c6b48375943e897fe0e53e0f33e67ed",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"e5c49a781ff2fac5c796cb6a3f8d334dce7be35b",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"09dfbf8f52c2c899246590790f2780a84bdeefc3",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${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=d;exports.UiImage=n;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as n, h as s, H as r, g as a } from "./index-97d17652-De_e2iwD.js";
|
|
2
|
+
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
n(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, 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.onload = () => {
|
|
11
|
+
this.image && (this.image.src = this.src, this.imgLoaded = !0);
|
|
12
|
+
}, e.src = this.src;
|
|
13
|
+
}
|
|
14
|
+
componentDidLoad() {
|
|
15
|
+
"IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
|
|
16
|
+
e.forEach((i) => {
|
|
17
|
+
if (i.isIntersecting) {
|
|
18
|
+
const t = i.target.__uxComponent;
|
|
19
|
+
t && (t.shouldLoad = !0, t.handleSrc()), window.EMUxObserver.unobserve(i.target);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return s(r, { key: "527318220c6b48375943e897fe0e53e0f33e67ed", class: "HostContainer" }, !this.imgLoaded && s("ui-skeleton", { key: "e5c49a781ff2fac5c796cb6a3f8d334dce7be35b", class: "UiContainer", structure: "image", width: "100%", height: "100%" }), s("img", { key: "09dfbf8f52c2c899246590790f2780a84bdeefc3", ref: (e) => this.image = e, src: this.shouldLoad ? this.src : void 0, onLoad: () => this.imgLoaded = !0, style: this.styles, class: `UiContainer ${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 = d;
|
|
37
|
+
export {
|
|
38
|
+
h as U
|
|
39
|
+
};
|