@everymatrix/cashier-page 1.74.10 → 1.75.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/{CashierError-sTxUIcEn.js → CashierError-C-zeMshr.js} +1735 -847
- package/components/{CashierError-DZCfGiar.js → CashierError-DW5fJt8u.js} +1713 -862
- package/components/CashierError-Do2yNrqx.cjs +8 -0
- package/components/{CashierHeader-Be38HoWF.js → CashierHeader-BvRhx3QL.js} +115 -116
- package/components/{CashierHeader-C1kEuuWB.js → CashierHeader-DO8Jda8y.js} +115 -116
- package/components/CashierHeader-b4lqjMMD.cjs +1 -0
- package/components/{CashierIframeRedirect-MolEdZEL.js → CashierIframeRedirect-BeOg9j9R.js} +47 -48
- package/components/{CashierIframeRedirect-CYLFQJXg.js → CashierIframeRedirect-DaYR4ZSu.js} +39 -40
- package/components/CashierIframeRedirect-tAMQ7K0U.cjs +1 -0
- package/components/{CashierMethodDetails-_cqOdGAf.js → CashierMethodDetails-3jy1FDno.js} +3540 -2919
- package/components/CashierMethodDetails-BccXMt8_.cjs +99 -0
- package/components/{CashierMethodDetails-DFS9YP8N.js → CashierMethodDetails-D1Rbykqx.js} +3508 -2886
- package/components/{CashierMethodsList-Dok-PyaF.js → CashierMethodsList-B2qR503A.js} +86 -87
- package/components/CashierMethodsList-CscGn4Gv.cjs +1 -0
- package/components/{CashierMethodsList-CiubPxJr.js → CashierMethodsList-LrhQVCu_.js} +93 -94
- package/components/{CashierModal-CosVS6ZG.js → CashierModal-BU4NlVMY.js} +34 -34
- package/components/CashierModal-CVXS5J4T.cjs +1 -0
- package/components/{CashierModal-DaLEgzCg.js → CashierModal-DvL5giYo.js} +29 -29
- package/components/{CashierNotifications-D_oROtv8.js → CashierNotifications-BD7efj1m.js} +19 -19
- package/components/CashierNotifications-BRJ9mXv_.cjs +1 -0
- package/components/{CashierNotifications-BwRxYhUc.js → CashierNotifications-CUz6gwXF.js} +18 -18
- package/components/CashierPage-BbXHTH84.cjs +1 -0
- package/components/{CashierPage-cgi3jjun.js → CashierPage-CW6lgArf.js} +967 -870
- package/components/{CashierPage-e-dA2kkK.js → CashierPage-Db8ZicVP.js} +967 -870
- package/components/{CashierReceiptPage-CWB3Qb6X.js → CashierReceiptPage-Br9U1RfK.js} +96 -97
- package/components/{CashierReceiptPage-poXQkZls.js → CashierReceiptPage-CBbzq7O6.js} +119 -120
- package/components/CashierReceiptPage-Cf5pCh8Z.cjs +1 -0
- package/components/{CashierSessionExpirationModal-COgNoxpO.js → CashierSessionExpirationModal-B8lZyvQF.js} +225 -235
- package/components/{CashierSessionExpirationModal-CZYZsKSE.js → CashierSessionExpirationModal-BZLQ4F3T.js} +224 -234
- package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +2 -0
- package/components/CashierSpinner-B3kDZ7DD.cjs +1 -0
- package/components/{CashierSpinner-itmEpf5t.js → CashierSpinner-CWDfPPKy.js} +16 -16
- package/components/{CashierSpinner-xWC9BbBR.js → CashierSpinner-u67Lmpn1.js} +19 -19
- package/components/{CashierTransactionHistory-lJRQE6lc.js → CashierTransactionHistory-BmG7XPkF.js} +142 -143
- package/components/{CashierTransactionHistory-CGvz3iLW.js → CashierTransactionHistory-C81J2b3z.js} +179 -180
- package/components/CashierTransactionHistory-DVJeMS7y.cjs +1 -0
- package/components/{CashierVerifications-DlieKYAR.js → CashierVerifications-BluIxyAW.js} +41 -42
- package/components/{CashierVerifications-Wi4nIbHi.js → CashierVerifications-DMMGPuTt.js} +50 -51
- package/components/CashierVerifications-DbTUG014.cjs +1 -0
- package/components/{TxnStatusIcon-B1CpcXOx.js → TxnStatusIcon-DK8gf5Ec.js} +19 -19
- package/components/{TxnStatusIcon-BQqw71yX.js → TxnStatusIcon-Degz9oJQ.js} +23 -23
- package/components/TxnStatusIcon-DlBt7swO.cjs +1 -0
- package/components/{TxnTypeIcons-D0np3tlV.js → TxnTypeIcons-Cjawm9IS.js} +14 -14
- package/components/TxnTypeIcons-DH1CxqvE.cjs +1 -0
- package/components/{TxnTypeIcons-Dq7VBNAU.js → TxnTypeIcons-DdfELKt3.js} +14 -14
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
- package/stencil/{ui-image-am9MgSQ8.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-CNNeJmP0.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-DCPAt25-.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-vQGsM2TX.js → ui-skeleton-4-zrLsIW.js} +2 -2
- package/stencil/{ui-skeleton-D1L4lwNZ.js → ui-skeleton-9boHSjtG.js} +2 -2
- package/stencil/{ui-skeleton-DuT40Wl3.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CzSGP5Of.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CFTNuZYA.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Biyf8F-y.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
- package/components/CashierConfirmModal-BYlFu0me.js +0 -1128
- package/components/CashierConfirmModal-ByJUy9ry.cjs +0 -4
- package/components/CashierConfirmModal-S3xQoD4Y.js +0 -1165
- package/components/CashierError-DRraQILq.cjs +0 -18
- package/components/CashierHeader-DQPl9zQv.cjs +0 -1
- package/components/CashierIframeRedirect-IwINWeSY.cjs +0 -1
- package/components/CashierMethodDetails-BCQ8AJM6.cjs +0 -86
- package/components/CashierMethodsList-DT1GJvFl.cjs +0 -1
- package/components/CashierModal-DfAT-fOm.cjs +0 -1
- package/components/CashierNotifications-Ozbtt3mJ.cjs +0 -1
- package/components/CashierPage-BwCzKH0T.cjs +0 -1
- package/components/CashierReceiptPage-GuGtbsZ9.cjs +0 -1
- package/components/CashierSessionExpirationModal-DH2pQRwj.cjs +0 -2
- package/components/CashierSpinner-DF2vfHQq.cjs +0 -1
- package/components/CashierTransactionHistory-DVIT9utw.cjs +0 -1
- package/components/CashierVerifications-DoORbl64.cjs +0 -1
- package/components/TxnStatusIcon-DjmVZ3PB.cjs +0 -1
- package/components/TxnTypeIcons-BVZYEXE4.cjs +0 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
- package/stencil/index-b2193545-B1ZEoKQs.cjs +0 -1
- package/stencil/index-b2193545-B5WVVmva.js +0 -519
- package/stencil/index-b2193545-CfiRkmy3.js +0 -503
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
const ie = "ui-skeleton", oe = (
|
|
2
|
+
/* ui-skeleton */
|
|
3
|
+
{ hydratedSelectorName: "hydrated" }
|
|
4
|
+
);
|
|
5
|
+
var $e = Object.defineProperty, ce = (e, t) => {
|
|
6
|
+
for (var r in t)
|
|
7
|
+
$e(e, r, { get: t[r], enumerable: !0 });
|
|
8
|
+
}, N = /* @__PURE__ */ new WeakMap(), b = (e) => N.get(e), Je = (e, t) => N.set(t.$lazyInstance$ = e, t), ue = (e, t) => {
|
|
9
|
+
const r = {
|
|
10
|
+
$flags$: 0,
|
|
11
|
+
$hostElement$: e,
|
|
12
|
+
$cmpMeta$: t,
|
|
13
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
|
+
};
|
|
15
|
+
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], N.set(e, r);
|
|
16
|
+
}, E = (e, t) => (0, console.error)(e, t), L = /* @__PURE__ */ new Map(), fe = (e, t, r) => {
|
|
17
|
+
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
|
18
|
+
if (!n)
|
|
19
|
+
return;
|
|
20
|
+
const a = L.get(n);
|
|
21
|
+
if (a)
|
|
22
|
+
return a[s];
|
|
23
|
+
{
|
|
24
|
+
const l = (i) => (L.set(n, i), i[s]);
|
|
25
|
+
switch (n) {
|
|
26
|
+
case "ui-skeleton":
|
|
27
|
+
return import(
|
|
28
|
+
/* webpackMode: "lazy" */
|
|
29
|
+
"./ui-skeleton-4-zrLsIW.js"
|
|
30
|
+
).then(l, E);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return import(
|
|
34
|
+
/* @vite-ignore */
|
|
35
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
+
/* webpackMode: "lazy" */
|
|
38
|
+
`./${n}.entry.js`
|
|
39
|
+
).then((l) => (L.set(n, l), l[s]), E);
|
|
40
|
+
}, T = /* @__PURE__ */ new Map(), de = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", U = typeof window < "u" ? window : {}, y = U.document || { head: {} }, g = {
|
|
41
|
+
$flags$: 0,
|
|
42
|
+
$resourcesUrl$: "",
|
|
43
|
+
jmp: (e) => e(),
|
|
44
|
+
raf: (e) => requestAnimationFrame(e),
|
|
45
|
+
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
|
46
|
+
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
|
47
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
+
}, me = (e) => Promise.resolve(e), ve = /* @__PURE__ */ (() => {
|
|
49
|
+
try {
|
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
})(), O = !1, q = [], J = [], ge = (e, t) => (r) => {
|
|
55
|
+
e.push(r), O || (O = !0, g.$flags$ & 4 ? B(A) : g.raf(A));
|
|
56
|
+
}, C = (e) => {
|
|
57
|
+
for (let t = 0; t < e.length; t++)
|
|
58
|
+
try {
|
|
59
|
+
e[t](performance.now());
|
|
60
|
+
} catch (r) {
|
|
61
|
+
E(r);
|
|
62
|
+
}
|
|
63
|
+
e.length = 0;
|
|
64
|
+
}, A = () => {
|
|
65
|
+
C(q), C(J), (O = q.length > 0) && g.raf(A);
|
|
66
|
+
}, B = (e) => me().then(e), he = /* @__PURE__ */ ge(J), D = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function Q(e) {
|
|
68
|
+
var t, r, s;
|
|
69
|
+
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;
|
|
70
|
+
}
|
|
71
|
+
var pe = {};
|
|
72
|
+
ce(pe, {
|
|
73
|
+
err: () => X,
|
|
74
|
+
map: () => ye,
|
|
75
|
+
ok: () => H,
|
|
76
|
+
unwrap: () => Se,
|
|
77
|
+
unwrapErr: () => be
|
|
78
|
+
});
|
|
79
|
+
var H = (e) => ({
|
|
80
|
+
isOk: !0,
|
|
81
|
+
isErr: !1,
|
|
82
|
+
value: e
|
|
83
|
+
}), X = (e) => ({
|
|
84
|
+
isOk: !1,
|
|
85
|
+
isErr: !0,
|
|
86
|
+
value: e
|
|
87
|
+
});
|
|
88
|
+
function ye(e, t) {
|
|
89
|
+
if (e.isOk) {
|
|
90
|
+
const r = t(e.value);
|
|
91
|
+
return r instanceof Promise ? r.then((s) => H(s)) : H(r);
|
|
92
|
+
}
|
|
93
|
+
if (e.isErr) {
|
|
94
|
+
const r = e.value;
|
|
95
|
+
return X(r);
|
|
96
|
+
}
|
|
97
|
+
throw "should never get here";
|
|
98
|
+
}
|
|
99
|
+
var Se = (e) => {
|
|
100
|
+
if (e.isOk)
|
|
101
|
+
return e.value;
|
|
102
|
+
throw e.value;
|
|
103
|
+
}, be = (e) => {
|
|
104
|
+
if (e.isErr)
|
|
105
|
+
return e.value;
|
|
106
|
+
throw e.value;
|
|
107
|
+
}, S = (e, t = "") => () => {
|
|
108
|
+
}, ke = (e, t) => () => {
|
|
109
|
+
}, Ee = (e, t, ...r) => {
|
|
110
|
+
let s = null, n = null, a = !1, l = !1;
|
|
111
|
+
const i = [], o = (c) => {
|
|
112
|
+
for (let u = 0; u < c.length; u++)
|
|
113
|
+
s = c[u], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !K(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? I(null, s) : s), l = a);
|
|
114
|
+
};
|
|
115
|
+
if (o(r), t) {
|
|
116
|
+
t.key && (n = t.key);
|
|
117
|
+
{
|
|
118
|
+
const c = t.className || t.class;
|
|
119
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const $ = I(e, null);
|
|
123
|
+
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
|
|
124
|
+
}, I = (e, t) => {
|
|
125
|
+
const r = {
|
|
126
|
+
$flags$: 0,
|
|
127
|
+
$tag$: e,
|
|
128
|
+
$text$: t,
|
|
129
|
+
$elm$: null,
|
|
130
|
+
$children$: null
|
|
131
|
+
};
|
|
132
|
+
return r.$attrs$ = null, r.$key$ = null, r;
|
|
133
|
+
}, we = {}, xe = (e) => e && e.$tag$ === we, Pe = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Te = (e, t, r) => {
|
|
134
|
+
const s = g.ce(t, r);
|
|
135
|
+
return e.dispatchEvent(s), s;
|
|
136
|
+
}, F = /* @__PURE__ */ new WeakMap(), _e = (e, t, r) => {
|
|
137
|
+
let s = T.get(e);
|
|
138
|
+
ve && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, T.set(e, s);
|
|
139
|
+
}, je = (e, t, r) => {
|
|
140
|
+
var s;
|
|
141
|
+
const n = Z(t), a = T.get(n);
|
|
142
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
143
|
+
if (typeof a == "string") {
|
|
144
|
+
e = e.head || e;
|
|
145
|
+
let l = F.get(e), i;
|
|
146
|
+
if (l || F.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
|
147
|
+
{
|
|
148
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
149
|
+
const o = (s = g.$nonce$) != null ? s : Q(y);
|
|
150
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
151
|
+
}
|
|
152
|
+
t.$flags$ & 4 && (i.innerHTML += G), l && l.add(n);
|
|
153
|
+
}
|
|
154
|
+
} else
|
|
155
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
|
+
return n;
|
|
157
|
+
}, Le = (e) => {
|
|
158
|
+
const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
159
|
+
je(
|
|
160
|
+
r.getRootNode(),
|
|
161
|
+
t
|
|
162
|
+
), s();
|
|
163
|
+
}, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, r, s, n, a) => {
|
|
164
|
+
if (r !== s && (t.toLowerCase(), t === "class")) {
|
|
165
|
+
const l = e.classList, i = W(r), o = W(s);
|
|
166
|
+
l.remove(...i.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !i.includes($)));
|
|
167
|
+
}
|
|
168
|
+
}, Oe = /\s/, W = (e) => e ? e.split(Oe) : [], R = (e, t, r) => {
|
|
169
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || D, a = t.$attrs$ || D;
|
|
170
|
+
for (const l of Y(Object.keys(n)))
|
|
171
|
+
l in a || M(s, l, n[l], void 0);
|
|
172
|
+
for (const l of Y(Object.keys(a)))
|
|
173
|
+
M(s, l, n[l], a[l]);
|
|
174
|
+
};
|
|
175
|
+
function Y(e) {
|
|
176
|
+
return e.includes("ref") ? (
|
|
177
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
178
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
179
|
+
) : (
|
|
180
|
+
// no need to sort, return the original array
|
|
181
|
+
e
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
var V, _ = (e, t, r, s) => {
|
|
185
|
+
const n = t.$children$[r];
|
|
186
|
+
let a = 0, l, i;
|
|
187
|
+
if (n.$text$ !== null)
|
|
188
|
+
l = n.$elm$ = y.createTextNode(n.$text$);
|
|
189
|
+
else if (l = n.$elm$ = y.createElement(
|
|
190
|
+
n.$tag$
|
|
191
|
+
), R(null, n), n.$children$)
|
|
192
|
+
for (a = 0; a < n.$children$.length; ++a)
|
|
193
|
+
i = _(e, n, a), i && l.appendChild(i);
|
|
194
|
+
return l["s-hn"] = V, l;
|
|
195
|
+
}, ee = (e, t, r, s, n, a) => {
|
|
196
|
+
let l = e, i;
|
|
197
|
+
for (; n <= a; ++n)
|
|
198
|
+
s[n] && (i = _(null, r, n), i && (s[n].$elm$ = i, P(l, i, t)));
|
|
199
|
+
}, te = (e, t, r) => {
|
|
200
|
+
for (let s = t; s <= r; ++s) {
|
|
201
|
+
const n = e[s];
|
|
202
|
+
if (n) {
|
|
203
|
+
const a = n.$elm$;
|
|
204
|
+
a && a.remove();
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}, Ae = (e, t, r, s, n = !1) => {
|
|
208
|
+
let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], u = t[$], f = s.length - 1, d = s[0], m = s[f], v, h;
|
|
209
|
+
for (; a <= $ && l <= f; )
|
|
210
|
+
if (c == null)
|
|
211
|
+
c = t[++a];
|
|
212
|
+
else if (u == null)
|
|
213
|
+
u = t[--$];
|
|
214
|
+
else if (d == null)
|
|
215
|
+
d = s[++l];
|
|
216
|
+
else if (m == null)
|
|
217
|
+
m = s[--f];
|
|
218
|
+
else if (x(c, d, n))
|
|
219
|
+
k(c, d, n), c = t[++a], d = s[++l];
|
|
220
|
+
else if (x(u, m, n))
|
|
221
|
+
k(u, m, n), u = t[--$], m = s[--f];
|
|
222
|
+
else if (x(c, m, n))
|
|
223
|
+
k(c, m, n), P(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = s[--f];
|
|
224
|
+
else if (x(u, d, n))
|
|
225
|
+
k(u, d, n), P(e, u.$elm$, c.$elm$), u = t[--$], d = s[++l];
|
|
226
|
+
else {
|
|
227
|
+
for (i = -1, o = a; o <= $; ++o)
|
|
228
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
229
|
+
i = o;
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = _(t && t[l], r, i) : (k(h, d, n), t[i] = void 0, v = h.$elm$), d = s[++l]) : (v = _(t && t[l], r, l), d = s[++l]), v && P(c.$elm$.parentNode, v, c.$elm$);
|
|
233
|
+
}
|
|
234
|
+
a > $ ? ee(
|
|
235
|
+
e,
|
|
236
|
+
s[f + 1] == null ? null : s[f + 1].$elm$,
|
|
237
|
+
r,
|
|
238
|
+
s,
|
|
239
|
+
l,
|
|
240
|
+
f
|
|
241
|
+
) : l > f && te(t, a, $);
|
|
242
|
+
}, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, r = !1) => {
|
|
243
|
+
const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
|
|
244
|
+
l === null ? (R(e, t), n !== null && a !== null ? Ae(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ee(s, null, t, a, 0, a.length - 1)) : n !== null && te(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
245
|
+
}, P = (e, t, r) => e?.insertBefore(t, r), He = (e, t, r = !1) => {
|
|
246
|
+
const s = e.$hostElement$, n = e.$vnode$ || I(null, null), a = xe(t) ? t : Ee(null, null, t);
|
|
247
|
+
if (V = s.tagName, r && a.$attrs$)
|
|
248
|
+
for (const l of Object.keys(a.$attrs$))
|
|
249
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
|
|
250
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = s, k(n, a, r);
|
|
251
|
+
}, ne = (e, t) => {
|
|
252
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
|
253
|
+
}, z = (e, t) => {
|
|
254
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
255
|
+
e.$flags$ |= 512;
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
return ne(e, e.$ancestorComponent$), he(() => Ie(e, t));
|
|
259
|
+
}, Ie = (e, t) => {
|
|
260
|
+
const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
|
261
|
+
if (!n)
|
|
262
|
+
throw new Error(
|
|
263
|
+
`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`
|
|
264
|
+
);
|
|
265
|
+
let a;
|
|
266
|
+
return s(), Ne(a, () => Be(e, n, t));
|
|
267
|
+
}, Ne = (e, t) => Ue(e) ? e.then(t).catch((r) => {
|
|
268
|
+
console.error(r), t();
|
|
269
|
+
}) : t(), Ue = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Be = async (e, t, r) => {
|
|
270
|
+
var s;
|
|
271
|
+
const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
|
|
272
|
+
r && Le(e);
|
|
273
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
274
|
+
ze(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
|
|
275
|
+
{
|
|
276
|
+
const o = (s = n["s-p"]) != null ? s : [], $ = () => qe(e);
|
|
277
|
+
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
|
278
|
+
}
|
|
279
|
+
}, ze = (e, t, r, s) => {
|
|
280
|
+
try {
|
|
281
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, s);
|
|
282
|
+
} catch (n) {
|
|
283
|
+
E(n, e.$hostElement$);
|
|
284
|
+
}
|
|
285
|
+
return null;
|
|
286
|
+
}, qe = (e) => {
|
|
287
|
+
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$ancestorComponent$;
|
|
288
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, re(r), s(), e.$onReadyResolve$(r), n || se()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && B(() => z(e, !1)), e.$flags$ &= -517;
|
|
289
|
+
}, se = (e) => {
|
|
290
|
+
re(y.documentElement), B(() => Te(U, "appload", { detail: { namespace: ie } }));
|
|
291
|
+
}, re = (e) => {
|
|
292
|
+
var t;
|
|
293
|
+
return e.classList.add((t = oe.hydratedSelectorName) != null ? t : "hydrated");
|
|
294
|
+
}, Ce = (e, t) => b(e).$instanceValues$.get(t), De = (e, t, r, s) => {
|
|
295
|
+
const n = b(e);
|
|
296
|
+
if (!n)
|
|
297
|
+
throw new Error(
|
|
298
|
+
`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).`
|
|
299
|
+
);
|
|
300
|
+
const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
|
|
301
|
+
r = Pe(r, s.$members$[t][0]);
|
|
302
|
+
const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
|
|
303
|
+
if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
|
304
|
+
if (s.$watchers$ && i & 128) {
|
|
305
|
+
const u = s.$watchers$[t];
|
|
306
|
+
u && u.map((f) => {
|
|
307
|
+
try {
|
|
308
|
+
o[f](r, l, t);
|
|
309
|
+
} catch (d) {
|
|
310
|
+
E(d, a);
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
(i & 18) === 2 && z(n, !1);
|
|
315
|
+
}
|
|
316
|
+
}, le = (e, t, r) => {
|
|
317
|
+
var s, n;
|
|
318
|
+
const a = e.prototype;
|
|
319
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
320
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
321
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
322
|
+
if (l.map(([i, [o]]) => {
|
|
323
|
+
(o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
324
|
+
get() {
|
|
325
|
+
return Ce(this, i);
|
|
326
|
+
},
|
|
327
|
+
set($) {
|
|
328
|
+
De(this, i, $, t);
|
|
329
|
+
},
|
|
330
|
+
configurable: !0,
|
|
331
|
+
enumerable: !0
|
|
332
|
+
});
|
|
333
|
+
}), r & 1) {
|
|
334
|
+
const i = /* @__PURE__ */ new Map();
|
|
335
|
+
a.attributeChangedCallback = function(o, $, c) {
|
|
336
|
+
g.jmp(() => {
|
|
337
|
+
var u;
|
|
338
|
+
const f = i.get(o);
|
|
339
|
+
if (this.hasOwnProperty(f))
|
|
340
|
+
c = this[f], delete this[f];
|
|
341
|
+
else {
|
|
342
|
+
if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
|
|
343
|
+
return;
|
|
344
|
+
if (f == null) {
|
|
345
|
+
const d = b(this), m = d?.$flags$;
|
|
346
|
+
if (m && !(m & 8) && m & 128 && c !== $) {
|
|
347
|
+
const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[o];
|
|
348
|
+
h?.forEach((p) => {
|
|
349
|
+
v[p] != null && v[p].call(v, c, $, o);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
|
|
356
|
+
});
|
|
357
|
+
}, e.observedAttributes = Array.from(
|
|
358
|
+
/* @__PURE__ */ new Set([
|
|
359
|
+
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
360
|
+
...l.filter(
|
|
361
|
+
([o, $]) => $[0] & 15
|
|
362
|
+
/* HasAttribute */
|
|
363
|
+
).map(([o, $]) => {
|
|
364
|
+
const c = $[1] || o;
|
|
365
|
+
return i.set(c, o), c;
|
|
366
|
+
})
|
|
367
|
+
])
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return e;
|
|
372
|
+
}, Fe = async (e, t, r, s) => {
|
|
373
|
+
let n;
|
|
374
|
+
if (!(t.$flags$ & 32)) {
|
|
375
|
+
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
|
376
|
+
const o = fe(r);
|
|
377
|
+
if (o && "then" in o) {
|
|
378
|
+
const c = ke();
|
|
379
|
+
n = await o, c();
|
|
380
|
+
} else
|
|
381
|
+
n = o;
|
|
382
|
+
if (!n)
|
|
383
|
+
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
|
384
|
+
n.isProxied || (r.$watchers$ = n.watchers, le(
|
|
385
|
+
n,
|
|
386
|
+
r,
|
|
387
|
+
2
|
|
388
|
+
/* proxyState */
|
|
389
|
+
), n.isProxied = !0);
|
|
390
|
+
const $ = S("createInstance", r.$tagName$);
|
|
391
|
+
t.$flags$ |= 8;
|
|
392
|
+
try {
|
|
393
|
+
new n(t);
|
|
394
|
+
} catch (c) {
|
|
395
|
+
E(c);
|
|
396
|
+
}
|
|
397
|
+
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
|
398
|
+
} else {
|
|
399
|
+
n = e.constructor;
|
|
400
|
+
const o = e.localName;
|
|
401
|
+
customElements.whenDefined(o).then(
|
|
402
|
+
() => t.$flags$ |= 128
|
|
403
|
+
/* isWatchReady */
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
if (n && n.style) {
|
|
407
|
+
let o;
|
|
408
|
+
typeof n.style == "string" && (o = n.style);
|
|
409
|
+
const $ = Z(r);
|
|
410
|
+
if (!T.has($)) {
|
|
411
|
+
const c = S("registerStyles", r.$tagName$);
|
|
412
|
+
_e($, o, !!(r.$flags$ & 1)), c();
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
const a = t.$ancestorComponent$, l = () => z(t, !0);
|
|
417
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
418
|
+
}, Me = (e) => {
|
|
419
|
+
}, We = (e) => {
|
|
420
|
+
if (!(g.$flags$ & 1)) {
|
|
421
|
+
const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
|
422
|
+
if (t.$flags$ & 1)
|
|
423
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Me());
|
|
424
|
+
else {
|
|
425
|
+
t.$flags$ |= 1;
|
|
426
|
+
{
|
|
427
|
+
let n = e;
|
|
428
|
+
for (; n = n.parentNode || n.host; )
|
|
429
|
+
if (n["s-p"]) {
|
|
430
|
+
ne(t, t.$ancestorComponent$ = n);
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
|
|
435
|
+
if (a & 31 && e.hasOwnProperty(n)) {
|
|
436
|
+
const l = e[n];
|
|
437
|
+
delete e[n], e[n] = l;
|
|
438
|
+
}
|
|
439
|
+
}), Fe(e, t, r);
|
|
440
|
+
}
|
|
441
|
+
s();
|
|
442
|
+
}
|
|
443
|
+
}, Ye = (e) => {
|
|
444
|
+
}, Ge = async (e) => {
|
|
445
|
+
if (!(g.$flags$ & 1)) {
|
|
446
|
+
const t = b(e);
|
|
447
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
|
|
448
|
+
}
|
|
449
|
+
}, Ke = (e, t = {}) => {
|
|
450
|
+
var r;
|
|
451
|
+
const s = S(), n = [], a = t.exclude || [], l = U.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
|
452
|
+
let u, f = !0;
|
|
453
|
+
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
454
|
+
let d = !1;
|
|
455
|
+
if (e.map((m) => {
|
|
456
|
+
m[1].map((v) => {
|
|
457
|
+
var h;
|
|
458
|
+
const p = {
|
|
459
|
+
$flags$: v[0],
|
|
460
|
+
$tagName$: v[1],
|
|
461
|
+
$members$: v[2],
|
|
462
|
+
$listeners$: v[3]
|
|
463
|
+
};
|
|
464
|
+
p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
|
|
465
|
+
const w = p.$tagName$, ae = class extends HTMLElement {
|
|
466
|
+
// StencilLazyHost
|
|
467
|
+
constructor(j) {
|
|
468
|
+
super(j), this.hasRegisteredEventListeners = !1, j = this, ue(j, p);
|
|
469
|
+
}
|
|
470
|
+
connectedCallback() {
|
|
471
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => We(this));
|
|
472
|
+
}
|
|
473
|
+
disconnectedCallback() {
|
|
474
|
+
g.jmp(() => Ge(this));
|
|
475
|
+
}
|
|
476
|
+
componentOnReady() {
|
|
477
|
+
return b(this).$onReadyPromise$;
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
|
|
481
|
+
w,
|
|
482
|
+
le(
|
|
483
|
+
ae,
|
|
484
|
+
p,
|
|
485
|
+
1
|
|
486
|
+
/* isElementConstructor */
|
|
487
|
+
)
|
|
488
|
+
));
|
|
489
|
+
});
|
|
490
|
+
}), n.length > 0 && (d && ($.textContent += G), $.textContent += n.sort() + de, $.innerHTML.length)) {
|
|
491
|
+
$.setAttribute("data-styles", "");
|
|
492
|
+
const m = (r = g.$nonce$) != null ? r : Q(y);
|
|
493
|
+
m != null && $.setAttribute("nonce", m), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
|
494
|
+
}
|
|
495
|
+
f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(se, 30)), s();
|
|
496
|
+
};
|
|
497
|
+
export {
|
|
498
|
+
we as H,
|
|
499
|
+
Ke as b,
|
|
500
|
+
Ee as h,
|
|
501
|
+
me as p,
|
|
502
|
+
Je as r
|
|
503
|
+
};
|
|
@@ -0,0 +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-DgAs7VA3.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;
|
|
@@ -14,7 +14,7 @@ var n = (r, e, a) => new Promise((m, s) => {
|
|
|
14
14
|
}, i = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(g, u);
|
|
15
15
|
i((a = a.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as c, p as l } from "./index-97d17652-
|
|
17
|
+
import { b as c, p as l } from "./index-97d17652-CCFHkzJw.js";
|
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const r = import.meta.url, e = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-
|
|
1
|
+
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-BhLhk_xz.cjs"),g=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-ByEXiBzx.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652--F7PvMq9.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-CCFHkzJw.js";
|
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./index-97d17652-
|
|
1
|
+
"use strict";const i=require("./index-97d17652-BhLhk_xz.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);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.onload=null)},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:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r, h as t, H as n } from "./index-97d17652
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-ByRuJtdE.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652--F7PvMq9.js";
|
|
3
3
|
const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
r(this, e), this.stylingValue = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-DG83WzAo.cjs"),t=require("./index-97d17652-BhLhk_xz.cjs"),s=":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}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:"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,i)=>t.h("div",{key:i,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.stylingValue.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r, h as t, H as n } from "./index-97d17652-
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-D6iig_uN.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652-CCFHkzJw.js";
|
|
3
3
|
const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
r(this, e), this.stylingValue = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e, p as o } from "./index-b2193545-
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-D4dOaNlR.js";
|
|
2
2
|
import { a } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
3
|
-
import { U as g } from "./ui-skeleton-ae35c6f2-
|
|
3
|
+
import { U as g } from "./ui-skeleton-ae35c6f2-8tYGV8SR.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, t = {};
|
|
6
6
|
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as l } from "./index-b2193545-
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-BoSqyMpB.js";
|
|
18
18
|
import { a as h } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
|
-
import { U as k } from "./ui-skeleton-ae35c6f2-
|
|
19
|
+
import { U as k } from "./ui-skeleton-ae35c6f2-IN_dPA5_.js";
|
|
20
20
|
var c = () => {
|
|
21
21
|
const t = import.meta.url, e = {};
|
|
22
22
|
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|