@everymatrix/casino-last-played-section 1.61.1 → 1.62.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.
- package/components/{CasinoFilter-Cly4JoGf.js → CasinoFilter-4haQXmN1.js} +1150 -1039
- package/components/{CasinoFilter-Ci7a-f1T.js → CasinoFilter-BUe-x-2X.js} +1119 -1008
- package/components/CasinoFilter-BWxK-kth.cjs +18 -0
- package/components/CasinoGameThumbnail-B6XGNttS.js +4390 -0
- package/components/CasinoGameThumbnail-Cn0iV9XZ.js +4406 -0
- package/components/CasinoGameThumbnail-D86LuKmv.cjs +47 -0
- package/components/{CasinoGamesCategorySection-D1m7vSTg.js → CasinoGamesCategorySection-DK_xX1de.js} +1035 -1022
- package/components/{CasinoGamesCategorySection-W8r3v1IL.js → CasinoGamesCategorySection-WMdAKy-_.js} +761 -747
- package/components/CasinoGamesCategorySection-omF6FUNy.cjs +1 -0
- package/components/{CasinoLastPlayedSection-COofH38d.js → CasinoLastPlayedSection-B4VKiHPn.js} +30 -30
- package/components/{CasinoLastPlayedSection-pKFWKcNL.js → CasinoLastPlayedSection-CwPE0uEV.js} +37 -37
- package/components/{CasinoLastPlayedSection-Ca69J8mm.cjs → CasinoLastPlayedSection-DGEtoB5L.cjs} +1 -1
- package/components/{CasinoSort-CIIHBeHM.cjs → CasinoSort-C2cjUMXH.cjs} +1 -1
- package/components/{CasinoSort-CBlvt30N.js → CasinoSort-CHu5emCn.js} +99 -100
- package/components/{CasinoSort-CMgXH1Wc.js → CasinoSort-CfnhZRah.js} +109 -108
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +1 -1
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CbGN-1Xz.cjs +1 -0
- package/stencil/index-b2193545-CbUHNmek.js +503 -0
- package/stencil/index-b2193545-DFFkPUVU.js +519 -0
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
- package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
- package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
- package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
- package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
- package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
- package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
- package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
- package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
- package/components/CasinoFilter-C_SogR0R.cjs +0 -18
- package/components/CasinoGameThumbnail-CIM-1O-X.js +0 -3607
- package/components/CasinoGameThumbnail-D4iTX4um.js +0 -3591
- package/components/CasinoGameThumbnail-WTBmzrpR.cjs +0 -39
- package/components/CasinoGamesCategorySection-CWmY-M2p.cjs +0 -1
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
@@ -0,0 +1,550 @@
|
|
1
|
+
var x = (e, t, r) => new Promise((s, n) => {
|
2
|
+
var l = (o) => {
|
3
|
+
try {
|
4
|
+
a(r.next(o));
|
5
|
+
} catch ($) {
|
6
|
+
n($);
|
7
|
+
}
|
8
|
+
}, i = (o) => {
|
9
|
+
try {
|
10
|
+
a(r.throw(o));
|
11
|
+
} catch ($) {
|
12
|
+
n($);
|
13
|
+
}
|
14
|
+
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(l, i);
|
15
|
+
a((r = r.apply(e, t)).next());
|
16
|
+
});
|
17
|
+
const de = "ui-image", I = (
|
18
|
+
/* ui-image */
|
19
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !1, vdomXlink: !1, watchCallback: !0 }
|
20
|
+
);
|
21
|
+
var ue = Object.defineProperty, pe = (e, t) => {
|
22
|
+
for (var r in t)
|
23
|
+
ue(e, r, { get: t[r], enumerable: !0 });
|
24
|
+
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), tt = (e, t) => B.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
|
25
|
+
const r = {
|
26
|
+
$flags$: 0,
|
27
|
+
$hostElement$: e,
|
28
|
+
$cmpMeta$: t,
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
30
|
+
};
|
31
|
+
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, r);
|
32
|
+
}, me = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), he = (e, t, r) => {
|
33
|
+
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
34
|
+
if (!n)
|
35
|
+
return;
|
36
|
+
const l = _.get(n);
|
37
|
+
if (l)
|
38
|
+
return l[s];
|
39
|
+
{
|
40
|
+
const i = (a) => (_.set(n, a), a[s]);
|
41
|
+
switch (n) {
|
42
|
+
case "ui-image":
|
43
|
+
return import(
|
44
|
+
/* webpackMode: "lazy" */
|
45
|
+
"./ui-image-DvmqpXjR.js"
|
46
|
+
).then(i, k);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
return import(
|
50
|
+
/* @vite-ignore */
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
53
|
+
/* webpackMode: "lazy" */
|
54
|
+
`./${n}.entry.js`
|
55
|
+
).then((i) => (_.set(n, i), i[s]), k);
|
56
|
+
}, w = /* @__PURE__ */ new Map(), ge = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window != "undefined" ? window : {}, y = z.document || { head: {} }, m = {
|
57
|
+
$flags$: 0,
|
58
|
+
$resourcesUrl$: "",
|
59
|
+
jmp: (e) => e(),
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
61
|
+
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
62
|
+
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
64
|
+
}, ye = I.shadowDom, Se = (e) => Promise.resolve(e), be = /* @__PURE__ */ (() => {
|
65
|
+
try {
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
67
|
+
} catch (e) {
|
68
|
+
}
|
69
|
+
return !1;
|
70
|
+
})(), j = !1, N = [], R = [], ke = (e, t) => (r) => {
|
71
|
+
e.push(r), j || (j = !0, m.$flags$ & 4 ? H(C) : m.raf(C));
|
72
|
+
}, W = (e) => {
|
73
|
+
for (let t = 0; t < e.length; t++)
|
74
|
+
try {
|
75
|
+
e[t](performance.now());
|
76
|
+
} catch (r) {
|
77
|
+
k(r);
|
78
|
+
}
|
79
|
+
e.length = 0;
|
80
|
+
}, C = () => {
|
81
|
+
W(N), W(R), (j = N.length > 0) && m.raf(C);
|
82
|
+
}, H = (e) => Se().then(e), Ee = /* @__PURE__ */ ke(R), M = {}, F = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
+
function X(e) {
|
84
|
+
var t, r, s;
|
85
|
+
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
86
|
+
}
|
87
|
+
var Te = {};
|
88
|
+
pe(Te, {
|
89
|
+
err: () => Z,
|
90
|
+
map: () => xe,
|
91
|
+
ok: () => D,
|
92
|
+
unwrap: () => Le,
|
93
|
+
unwrapErr: () => Pe
|
94
|
+
});
|
95
|
+
var D = (e) => ({
|
96
|
+
isOk: !0,
|
97
|
+
isErr: !1,
|
98
|
+
value: e
|
99
|
+
}), Z = (e) => ({
|
100
|
+
isOk: !1,
|
101
|
+
isErr: !0,
|
102
|
+
value: e
|
103
|
+
});
|
104
|
+
function xe(e, t) {
|
105
|
+
if (e.isOk) {
|
106
|
+
const r = t(e.value);
|
107
|
+
return r instanceof Promise ? r.then((s) => D(s)) : D(r);
|
108
|
+
}
|
109
|
+
if (e.isErr) {
|
110
|
+
const r = e.value;
|
111
|
+
return Z(r);
|
112
|
+
}
|
113
|
+
throw "should never get here";
|
114
|
+
}
|
115
|
+
var Le = (e) => {
|
116
|
+
if (e.isOk)
|
117
|
+
return e.value;
|
118
|
+
throw e.value;
|
119
|
+
}, Pe = (e) => {
|
120
|
+
if (e.isErr)
|
121
|
+
return e.value;
|
122
|
+
throw e.value;
|
123
|
+
}, S = (e, t = "") => () => {
|
124
|
+
}, we = (e, t) => () => {
|
125
|
+
}, Ae = (e, t, ...r) => {
|
126
|
+
let s = null, n = null, l = !1, i = !1;
|
127
|
+
const a = [], o = (c) => {
|
128
|
+
for (let f = 0; f < c.length; f++)
|
129
|
+
s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !F(s)) && (s = String(s)), l && i ? a[a.length - 1].$text$ += s : a.push(l ? U(null, s) : s), i = l);
|
130
|
+
};
|
131
|
+
if (o(r), t) {
|
132
|
+
t.key && (n = t.key);
|
133
|
+
{
|
134
|
+
const c = t.className || t.class;
|
135
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
136
|
+
}
|
137
|
+
}
|
138
|
+
const $ = U(e, null);
|
139
|
+
return $.$attrs$ = t, a.length > 0 && ($.$children$ = a), $.$key$ = n, $;
|
140
|
+
}, U = (e, t) => {
|
141
|
+
const r = {
|
142
|
+
$flags$: 0,
|
143
|
+
$tag$: e,
|
144
|
+
$text$: t,
|
145
|
+
$elm$: null,
|
146
|
+
$children$: null
|
147
|
+
};
|
148
|
+
return r.$attrs$ = null, r.$key$ = null, r;
|
149
|
+
}, Oe = {}, _e = (e) => e && e.$tag$ === Oe, je = (e, t) => e != null && !F(e) && t & 1 ? String(e) : e, st = (e) => b(e).$hostElement$, Ce = (e, t, r) => {
|
150
|
+
const s = m.ce(t, r);
|
151
|
+
return e.dispatchEvent(s), s;
|
152
|
+
}, Q = /* @__PURE__ */ new WeakMap(), De = (e, t, r) => {
|
153
|
+
let s = w.get(e);
|
154
|
+
be && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, w.set(e, s);
|
155
|
+
}, Ue = (e, t, r) => {
|
156
|
+
var s;
|
157
|
+
const n = V(t), l = w.get(n);
|
158
|
+
if (e = e.nodeType === 11 ? e : y, l)
|
159
|
+
if (typeof l == "string") {
|
160
|
+
e = e.head || e;
|
161
|
+
let i = Q.get(e), a;
|
162
|
+
if (i || Q.set(e, i = /* @__PURE__ */ new Set()), !i.has(n)) {
|
163
|
+
{
|
164
|
+
a = y.createElement("style"), a.innerHTML = l;
|
165
|
+
const o = (s = m.$nonce$) != null ? s : X(y);
|
166
|
+
o != null && a.setAttribute("nonce", o), e.insertBefore(a, e.querySelector("link"));
|
167
|
+
}
|
168
|
+
t.$flags$ & 4 && (a.innerHTML += K), i && i.add(n);
|
169
|
+
}
|
170
|
+
} else
|
171
|
+
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
172
|
+
return n;
|
173
|
+
}, Ie = (e) => {
|
174
|
+
const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
175
|
+
Ue(
|
176
|
+
r.getRootNode(),
|
177
|
+
t
|
178
|
+
), s();
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, Y = (e, t, r, s, n, l) => {
|
180
|
+
if (r !== s) {
|
181
|
+
let i = me(e, t);
|
182
|
+
if (t.toLowerCase(), t === "class") {
|
183
|
+
const a = e.classList, o = G(r), $ = G(s);
|
184
|
+
a.remove(...o.filter((c) => c && !$.includes(c))), a.add(...$.filter((c) => c && !o.includes(c)));
|
185
|
+
} else if (t === "style") {
|
186
|
+
for (const a in r)
|
187
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
188
|
+
for (const a in s)
|
189
|
+
(!r || s[a] !== r[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
190
|
+
} else if (t !== "key")
|
191
|
+
if (t === "ref")
|
192
|
+
s && s(e);
|
193
|
+
else {
|
194
|
+
const a = F(s);
|
195
|
+
if ((i || a && s !== null) && !n)
|
196
|
+
try {
|
197
|
+
if (e.tagName.includes("-"))
|
198
|
+
e[t] = s;
|
199
|
+
else {
|
200
|
+
const o = s == null ? "" : s;
|
201
|
+
t === "list" ? i = !1 : (r == null || e[t] != o) && (e[t] = o);
|
202
|
+
}
|
203
|
+
} catch (o) {
|
204
|
+
}
|
205
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!i || l & 4 || n) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}, Be = /\s/, G = (e) => e ? e.split(Be) : [], ee = (e, t, r) => {
|
209
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || M, l = t.$attrs$ || M;
|
210
|
+
for (const i of J(Object.keys(n)))
|
211
|
+
i in l || Y(s, i, n[i], void 0, r, t.$flags$);
|
212
|
+
for (const i of J(Object.keys(l)))
|
213
|
+
Y(s, i, n[i], l[i], r, t.$flags$);
|
214
|
+
};
|
215
|
+
function J(e) {
|
216
|
+
return e.includes("ref") ? (
|
217
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
218
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
219
|
+
) : (
|
220
|
+
// no need to sort, return the original array
|
221
|
+
e
|
222
|
+
);
|
223
|
+
}
|
224
|
+
var te, se = !1, re = !1, A = (e, t, r, s) => {
|
225
|
+
const n = t.$children$[r];
|
226
|
+
let l = 0, i, a;
|
227
|
+
if (i = n.$elm$ = y.createElement(
|
228
|
+
!se && I.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
|
229
|
+
), ee(null, n, re), n.$children$)
|
230
|
+
for (l = 0; l < n.$children$.length; ++l)
|
231
|
+
a = A(e, n, l), a && i.appendChild(a);
|
232
|
+
return i["s-hn"] = te, i;
|
233
|
+
}, ne = (e, t, r, s, n, l) => {
|
234
|
+
let i = e, a;
|
235
|
+
for (; n <= l; ++n)
|
236
|
+
s[n] && (a = A(null, r, n), a && (s[n].$elm$ = a, P(i, a, t)));
|
237
|
+
}, le = (e, t, r) => {
|
238
|
+
for (let s = t; s <= r; ++s) {
|
239
|
+
const n = e[s];
|
240
|
+
if (n) {
|
241
|
+
const l = n.$elm$;
|
242
|
+
ae(n), l && l.remove();
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}, ze = (e, t, r, s, n = !1) => {
|
246
|
+
let l = 0, i = 0, a = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], p = s[d], v, h;
|
247
|
+
for (; l <= $ && i <= d; )
|
248
|
+
if (c == null)
|
249
|
+
c = t[++l];
|
250
|
+
else if (f == null)
|
251
|
+
f = t[--$];
|
252
|
+
else if (u == null)
|
253
|
+
u = s[++i];
|
254
|
+
else if (p == null)
|
255
|
+
p = s[--d];
|
256
|
+
else if (L(c, u, n))
|
257
|
+
E(c, u, n), c = t[++l], u = s[++i];
|
258
|
+
else if (L(f, p, n))
|
259
|
+
E(f, p, n), f = t[--$], p = s[--d];
|
260
|
+
else if (L(c, p, n))
|
261
|
+
E(c, p, n), P(e, c.$elm$, f.$elm$.nextSibling), c = t[++l], p = s[--d];
|
262
|
+
else if (L(f, u, n))
|
263
|
+
E(f, u, n), P(e, f.$elm$, c.$elm$), f = t[--$], u = s[++i];
|
264
|
+
else {
|
265
|
+
for (a = -1, o = l; o <= $; ++o)
|
266
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
|
267
|
+
a = o;
|
268
|
+
break;
|
269
|
+
}
|
270
|
+
a >= 0 ? (h = t[a], h.$tag$ !== u.$tag$ ? v = A(t && t[i], r, a) : (E(h, u, n), t[a] = void 0, v = h.$elm$), u = s[++i]) : (v = A(t && t[i], r, i), u = s[++i]), v && P(c.$elm$.parentNode, v, c.$elm$);
|
271
|
+
}
|
272
|
+
l > $ ? ne(
|
273
|
+
e,
|
274
|
+
s[d + 1] == null ? null : s[d + 1].$elm$,
|
275
|
+
r,
|
276
|
+
s,
|
277
|
+
i,
|
278
|
+
d
|
279
|
+
) : i > d && le(t, l, $);
|
280
|
+
}, L = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, r = !1) => {
|
281
|
+
const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$;
|
282
|
+
ee(e, t, re), n !== null && l !== null ? ze(s, n, t, l, r) : l !== null ? ne(s, null, t, l, 0, l.length - 1) : n !== null && le(n, 0, n.length - 1);
|
283
|
+
}, ae = (e) => {
|
284
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
|
285
|
+
}, P = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), He = (e, t, r = !1) => {
|
286
|
+
const s = e.$hostElement$, n = e.$vnode$ || U(null, null), l = _e(t) ? t : Ae(null, null, t);
|
287
|
+
if (te = s.tagName, r && l.$attrs$)
|
288
|
+
for (const i of Object.keys(l.$attrs$))
|
289
|
+
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
290
|
+
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = n.$elm$ = s, se = ye, E(n, l, r);
|
291
|
+
}, ie = (e, t) => {
|
292
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
293
|
+
}, q = (e, t) => {
|
294
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
295
|
+
e.$flags$ |= 512;
|
296
|
+
return;
|
297
|
+
}
|
298
|
+
return ie(e, e.$ancestorComponent$), Ee(() => Fe(e, t));
|
299
|
+
}, Fe = (e, t) => {
|
300
|
+
const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
301
|
+
if (!n)
|
302
|
+
throw new Error(
|
303
|
+
`Can't render component <${r.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`
|
304
|
+
);
|
305
|
+
let l;
|
306
|
+
return s(), qe(l, () => We(e, n, t));
|
307
|
+
}, qe = (e, t) => Ne(e) ? e.then(t).catch((r) => {
|
308
|
+
console.error(r), t();
|
309
|
+
}) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = (e, t, r) => x(void 0, null, function* () {
|
310
|
+
var s;
|
311
|
+
const n = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), i = n["s-rc"];
|
312
|
+
r && Ie(e);
|
313
|
+
const a = S("render", e.$cmpMeta$.$tagName$);
|
314
|
+
Me(e, t, n, r), i && (i.map((o) => o()), n["s-rc"] = void 0), a(), l();
|
315
|
+
{
|
316
|
+
const o = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
|
317
|
+
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
318
|
+
}
|
319
|
+
}), Me = (e, t, r, s) => {
|
320
|
+
try {
|
321
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, s);
|
322
|
+
} catch (n) {
|
323
|
+
k(n, e.$hostElement$);
|
324
|
+
}
|
325
|
+
return null;
|
326
|
+
}, Qe = (e) => {
|
327
|
+
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
328
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ce(r), Ye(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), l || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => q(e, !1)), e.$flags$ &= -517;
|
329
|
+
}, oe = (e) => {
|
330
|
+
ce(y.documentElement), H(() => Ce(z, "appload", { detail: { namespace: de } }));
|
331
|
+
}, Ye = (e, t, r) => {
|
332
|
+
if (e && e[t])
|
333
|
+
try {
|
334
|
+
return e[t](r);
|
335
|
+
} catch (s) {
|
336
|
+
k(s);
|
337
|
+
}
|
338
|
+
}, ce = (e) => {
|
339
|
+
var t;
|
340
|
+
return e.classList.add((t = I.hydratedSelectorName) != null ? t : "hydrated");
|
341
|
+
}, Ge = (e, t) => b(e).$instanceValues$.get(t), Je = (e, t, r, s) => {
|
342
|
+
const n = b(e);
|
343
|
+
if (!n)
|
344
|
+
throw new Error(
|
345
|
+
`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).`
|
346
|
+
);
|
347
|
+
const l = n.$hostElement$, i = n.$instanceValues$.get(t), a = n.$flags$, o = n.$lazyInstance$;
|
348
|
+
r = je(r, s.$members$[t][0]);
|
349
|
+
const $ = Number.isNaN(i) && Number.isNaN(r), c = r !== i && !$;
|
350
|
+
if ((!(a & 8) || i === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
351
|
+
if (s.$watchers$ && a & 128) {
|
352
|
+
const f = s.$watchers$[t];
|
353
|
+
f && f.map((d) => {
|
354
|
+
try {
|
355
|
+
o[d](r, i, t);
|
356
|
+
} catch (u) {
|
357
|
+
k(u, l);
|
358
|
+
}
|
359
|
+
});
|
360
|
+
}
|
361
|
+
(a & 18) === 2 && q(n, !1);
|
362
|
+
}
|
363
|
+
}, $e = (e, t, r) => {
|
364
|
+
var s, n;
|
365
|
+
const l = e.prototype;
|
366
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
367
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
368
|
+
const i = Object.entries((s = t.$members$) != null ? s : {});
|
369
|
+
if (i.map(([a, [o]]) => {
|
370
|
+
(o & 31 || r & 2 && o & 32) && Object.defineProperty(l, a, {
|
371
|
+
get() {
|
372
|
+
return Ge(this, a);
|
373
|
+
},
|
374
|
+
set($) {
|
375
|
+
Je(this, a, $, t);
|
376
|
+
},
|
377
|
+
configurable: !0,
|
378
|
+
enumerable: !0
|
379
|
+
});
|
380
|
+
}), r & 1) {
|
381
|
+
const a = /* @__PURE__ */ new Map();
|
382
|
+
l.attributeChangedCallback = function(o, $, c) {
|
383
|
+
m.jmp(() => {
|
384
|
+
var f;
|
385
|
+
const d = a.get(o);
|
386
|
+
if (this.hasOwnProperty(d))
|
387
|
+
c = this[d], delete this[d];
|
388
|
+
else {
|
389
|
+
if (l.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
390
|
+
return;
|
391
|
+
if (d == null) {
|
392
|
+
const u = b(this), p = u == null ? void 0 : u.$flags$;
|
393
|
+
if (p && !(p & 8) && p & 128 && c !== $) {
|
394
|
+
const v = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
395
|
+
h == null || h.forEach((g) => {
|
396
|
+
v[g] != null && v[g].call(v, c, $, o);
|
397
|
+
});
|
398
|
+
}
|
399
|
+
return;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
403
|
+
});
|
404
|
+
}, e.observedAttributes = Array.from(
|
405
|
+
/* @__PURE__ */ new Set([
|
406
|
+
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
407
|
+
...i.filter(
|
408
|
+
([o, $]) => $[0] & 15
|
409
|
+
/* HasAttribute */
|
410
|
+
).map(([o, $]) => {
|
411
|
+
const c = $[1] || o;
|
412
|
+
return a.set(c, o), c;
|
413
|
+
})
|
414
|
+
])
|
415
|
+
);
|
416
|
+
}
|
417
|
+
}
|
418
|
+
return e;
|
419
|
+
}, Ke = (e, t, r, s) => x(void 0, null, function* () {
|
420
|
+
let n;
|
421
|
+
if (!(t.$flags$ & 32)) {
|
422
|
+
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
423
|
+
const o = he(r);
|
424
|
+
if (o && "then" in o) {
|
425
|
+
const c = we();
|
426
|
+
n = yield o, c();
|
427
|
+
} else
|
428
|
+
n = o;
|
429
|
+
if (!n)
|
430
|
+
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
431
|
+
n.isProxied || (r.$watchers$ = n.watchers, $e(
|
432
|
+
n,
|
433
|
+
r,
|
434
|
+
2
|
435
|
+
/* proxyState */
|
436
|
+
), n.isProxied = !0);
|
437
|
+
const $ = S("createInstance", r.$tagName$);
|
438
|
+
t.$flags$ |= 8;
|
439
|
+
try {
|
440
|
+
new n(t);
|
441
|
+
} catch (c) {
|
442
|
+
k(c);
|
443
|
+
}
|
444
|
+
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
445
|
+
} else {
|
446
|
+
n = e.constructor;
|
447
|
+
const o = e.localName;
|
448
|
+
customElements.whenDefined(o).then(
|
449
|
+
() => t.$flags$ |= 128
|
450
|
+
/* isWatchReady */
|
451
|
+
);
|
452
|
+
}
|
453
|
+
if (n && n.style) {
|
454
|
+
let o;
|
455
|
+
typeof n.style == "string" && (o = n.style);
|
456
|
+
const $ = V(r);
|
457
|
+
if (!w.has($)) {
|
458
|
+
const c = S("registerStyles", r.$tagName$);
|
459
|
+
De($, o, !!(r.$flags$ & 1)), c();
|
460
|
+
}
|
461
|
+
}
|
462
|
+
}
|
463
|
+
const l = t.$ancestorComponent$, i = () => q(t, !0);
|
464
|
+
l && l["s-rc"] ? l["s-rc"].push(i) : i();
|
465
|
+
}), Re = (e) => {
|
466
|
+
}, Xe = (e) => {
|
467
|
+
if (!(m.$flags$ & 1)) {
|
468
|
+
const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
469
|
+
if (t.$flags$ & 1)
|
470
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
|
471
|
+
else {
|
472
|
+
t.$flags$ |= 1;
|
473
|
+
{
|
474
|
+
let n = e;
|
475
|
+
for (; n = n.parentNode || n.host; )
|
476
|
+
if (n["s-p"]) {
|
477
|
+
ie(t, t.$ancestorComponent$ = n);
|
478
|
+
break;
|
479
|
+
}
|
480
|
+
}
|
481
|
+
r.$members$ && Object.entries(r.$members$).map(([n, [l]]) => {
|
482
|
+
if (l & 31 && e.hasOwnProperty(n)) {
|
483
|
+
const i = e[n];
|
484
|
+
delete e[n], e[n] = i;
|
485
|
+
}
|
486
|
+
}), Ke(e, t, r);
|
487
|
+
}
|
488
|
+
s();
|
489
|
+
}
|
490
|
+
}, Ze = (e) => {
|
491
|
+
}, Ve = (e) => x(void 0, null, function* () {
|
492
|
+
if (!(m.$flags$ & 1)) {
|
493
|
+
const t = b(e);
|
494
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ze());
|
495
|
+
}
|
496
|
+
}), rt = (e, t = {}) => {
|
497
|
+
var r;
|
498
|
+
const s = S(), n = [], l = t.exclude || [], i = z.customElements, a = y.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
499
|
+
let f, d = !0;
|
500
|
+
Object.assign(m, t), m.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
501
|
+
let u = !1;
|
502
|
+
if (e.map((p) => {
|
503
|
+
p[1].map((v) => {
|
504
|
+
var h;
|
505
|
+
const g = {
|
506
|
+
$flags$: v[0],
|
507
|
+
$tagName$: v[1],
|
508
|
+
$members$: v[2],
|
509
|
+
$listeners$: v[3]
|
510
|
+
};
|
511
|
+
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
512
|
+
const T = g.$tagName$, fe = class extends HTMLElement {
|
513
|
+
// StencilLazyHost
|
514
|
+
constructor(O) {
|
515
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, ve(O, g);
|
516
|
+
}
|
517
|
+
connectedCallback() {
|
518
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : m.jmp(() => Xe(this));
|
519
|
+
}
|
520
|
+
disconnectedCallback() {
|
521
|
+
m.jmp(() => Ve(this));
|
522
|
+
}
|
523
|
+
componentOnReady() {
|
524
|
+
return b(this).$onReadyPromise$;
|
525
|
+
}
|
526
|
+
};
|
527
|
+
g.$lazyBundleId$ = p[0], !l.includes(T) && !i.get(T) && (n.push(T), i.define(
|
528
|
+
T,
|
529
|
+
$e(
|
530
|
+
fe,
|
531
|
+
g,
|
532
|
+
1
|
533
|
+
/* isElementConstructor */
|
534
|
+
)
|
535
|
+
));
|
536
|
+
});
|
537
|
+
}), n.length > 0 && (u && ($.textContent += K), $.textContent += n.sort() + ge, $.innerHTML.length)) {
|
538
|
+
$.setAttribute("data-styles", "");
|
539
|
+
const p = (r = m.$nonce$) != null ? r : X(y);
|
540
|
+
p != null && $.setAttribute("nonce", p), a.insertBefore($, o ? o.nextSibling : a.firstChild);
|
541
|
+
}
|
542
|
+
d = !1, c.length ? c.map((p) => p.connectedCallback()) : m.jmp(() => f = setTimeout(oe, 30)), s();
|
543
|
+
};
|
544
|
+
export {
|
545
|
+
rt as b,
|
546
|
+
st as g,
|
547
|
+
Ae as h,
|
548
|
+
Se as p,
|
549
|
+
tt as r
|
550
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const i=require("./index-b7bbd57e-
|
1
|
+
"use strict";const i=require("./index-b7bbd57e-5H13jtcn.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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as i, h as n, g as a } from "./index-b7bbd57e-
|
1
|
+
import { r as i, h as n, g as a } from "./index-b7bbd57e-D2mZ7-kv.js";
|
2
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
3
|
constructor(e) {
|
4
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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as i, h as n, g as a } from "./index-b7bbd57e-
|
1
|
+
import { r as i, h as n, g as a } from "./index-b7bbd57e-VSGyGiy1.js";
|
2
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
3
|
constructor(e) {
|
4
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;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { b as r, p as s } from "./index-b7bbd57e-
|
1
|
+
import { b as r, p as s } from "./index-b7bbd57e-D2mZ7-kv.js";
|
2
2
|
import { g as a } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
3
|
-
import { U as n } from "./ui-image-38c3c15f-
|
3
|
+
import { U as n } from "./ui-image-38c3c15f-Cix0ZMEZ.js";
|
4
4
|
var i = () => {
|
5
5
|
const t = import.meta.url, e = {};
|
6
6
|
return t !== "" && (e.resourcesUrl = new URL(".", t).href), s(e);
|
@@ -14,9 +14,9 @@ var m = (e, r, s) => new Promise((c, o) => {
|
|
14
14
|
}, a = (t) => t.done ? c(t.value) : Promise.resolve(t.value).then(l, n);
|
15
15
|
a((s = s.apply(e, r)).next());
|
16
16
|
});
|
17
|
-
import { b as p, p as d } from "./index-b7bbd57e-
|
17
|
+
import { b as p, p as d } from "./index-b7bbd57e-VSGyGiy1.js";
|
18
18
|
import { g } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
19
|
-
import { U as y } from "./ui-image-38c3c15f-
|
19
|
+
import { U as y } from "./ui-image-38c3c15f-jaErZeBj.js";
|
20
20
|
var u = () => {
|
21
21
|
const e = import.meta.url, r = {};
|
22
22
|
return e !== "" && (r.resourcesUrl = new URL(".", e).href), d(r);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var o=(t,i,r)=>new Promise((l,a)=>{var d=e=>{try{c(r.next(e))}catch(n){a(n)}},m=e=>{try{c(r.throw(e))}catch(n){a(n)}},c=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);c((r=r.apply(t,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b7bbd57e-
|
1
|
+
"use strict";var o=(t,i,r)=>new Promise((l,a)=>{var d=e=>{try{c(r.next(e))}catch(n){a(n)}},m=e=>{try{c(r.throw(e))}catch(n){a(n)}},c=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);c((r=r.apply(t,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b7bbd57e-5H13jtcn.cjs"),p=require("./app-globals-0f993ce5-BD-Q0C8R.cjs"),g=require("./ui-image-38c3c15f-3U8WBsCg.cjs");var s=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("stencil/ui-image-sdP0Y0JV.cjs",document.baseURI).href,i={};return t!==""&&(i.resourcesUrl=new URL(".",t).href),u.promiseResolve(i)};f().then(t=>o(exports,null,function*(){return yield p.globalScripts(),u.bootstrapLazy([["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)}));exports.ui_image=g.UiImage;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-DFFkPUVU.js";
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
3
3
|
constructor(e) {
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
1
|
+
"use strict";const t=require("./index-b2193545-CbGN-1Xz.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
2
2
|
:host {
|
3
3
|
--emw-skeleton-logo-width: ${this.width};
|
4
4
|
--emw-skeleton-logo-height: ${this.height};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-CbUHNmek.js";
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
3
3
|
constructor(e) {
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
@@ -14,9 +14,9 @@ var n = (o, t, a) => new Promise((m, s) => {
|
|
14
14
|
}, e = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
|
15
15
|
e((a = a.apply(o, t)).next());
|
16
16
|
});
|
17
|
-
import { b as p, p as c } from "./index-b2193545-
|
17
|
+
import { b as p, p as c } from "./index-b2193545-DFFkPUVU.js";
|
18
18
|
import { a as g } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
19
|
-
import { U as R } from "./ui-skeleton-6d1c12ae-
|
19
|
+
import { U as R } from "./ui-skeleton-6d1c12ae-BpEpsLuu.js";
|
20
20
|
var h = () => {
|
21
21
|
const o = import.meta.url, t = {};
|
22
22
|
return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
|