@everymatrix/cashier-page 1.76.0 → 1.76.3
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-BEeh6TaY.cjs +21 -0
- package/components/{CashierError-C-zeMshr.js → CashierError-CyV-JySM.js} +960 -926
- package/components/{CashierError-DW5fJt8u.js → CashierError-Dc34a9CC.js} +945 -911
- package/components/{CashierHeader-DO8Jda8y.js → CashierHeader-BCdG7bez.js} +94 -94
- package/components/CashierHeader-DGEWiZlt.cjs +1 -0
- package/components/{CashierHeader-BvRhx3QL.js → CashierHeader-DLG8WfO6.js} +96 -96
- package/components/{CashierIframeRedirect-tAMQ7K0U.cjs → CashierIframeRedirect-CkRri0IY.cjs} +1 -1
- package/components/{CashierIframeRedirect-DaYR4ZSu.js → CashierIframeRedirect-CnEM1gDh.js} +32 -32
- package/components/{CashierIframeRedirect-BeOg9j9R.js → CashierIframeRedirect-Dk2xegfN.js} +22 -22
- package/components/{CashierMethodDetails-3jy1FDno.js → CashierMethodDetails-B7K0QBeJ.js} +2856 -2640
- package/components/{CashierMethodDetails-D1Rbykqx.js → CashierMethodDetails-BoS6MlUx.js} +2800 -2584
- package/components/CashierMethodDetails-bl4ScKF1.cjs +86 -0
- package/components/{CashierMethodsList-LrhQVCu_.js → CashierMethodsList-CRFPceug.js} +78 -78
- package/components/{CashierMethodsList-CscGn4Gv.cjs → CashierMethodsList-DY3MlNFY.cjs} +1 -1
- package/components/{CashierMethodsList-B2qR503A.js → CashierMethodsList-DhR3GOR6.js} +72 -72
- package/components/CashierModal-Cd446Ova.cjs +1 -0
- package/components/CashierModal-CzXlonwB.js +249 -0
- package/components/CashierModal-DO7QbZLa.js +249 -0
- package/components/{CashierNotifications-BD7efj1m.js → CashierNotifications-BJvuSaMv.js} +32 -32
- package/components/{CashierNotifications-BRJ9mXv_.cjs → CashierNotifications-BdzVIY--.cjs} +1 -1
- package/components/{CashierNotifications-CUz6gwXF.js → CashierNotifications-DVtcZTJB.js} +32 -32
- package/components/{CashierPage-Db8ZicVP.js → CashierPage-B0lu-4i9.js} +808 -1186
- package/components/{CashierPage-CW6lgArf.js → CashierPage-BrEwgGiY.js} +808 -1186
- package/components/{CashierPage-BbXHTH84.cjs → CashierPage-Cuva9Y9y.cjs} +1 -1
- package/components/{CashierReceiptPage-Cf5pCh8Z.cjs → CashierReceiptPage-D0NlK-Nf.cjs} +1 -1
- package/components/{CashierReceiptPage-Br9U1RfK.js → CashierReceiptPage-DZJjgSBw.js} +90 -90
- package/components/{CashierReceiptPage-CBbzq7O6.js → CashierReceiptPage-DvKEi_ba.js} +114 -114
- package/components/{CashierSessionExpirationModal-BZLQ4F3T.js → CashierSessionExpirationModal-B_Y3Xi95.js} +228 -219
- package/components/CashierSessionExpirationModal-CBFaRe-x.cjs +2 -0
- package/components/{CashierSessionExpirationModal-B8lZyvQF.js → CashierSessionExpirationModal-XdME6XUb.js} +229 -220
- package/components/{CashierSpinner-u67Lmpn1.js → CashierSpinner-DGvMA7TT.js} +15 -15
- package/components/{CashierSpinner-B3kDZ7DD.cjs → CashierSpinner-DtxnAuCX.cjs} +1 -1
- package/components/{CashierSpinner-CWDfPPKy.js → CashierSpinner-nxLopx6S.js} +16 -16
- package/components/{CashierTransactionHistory-C81J2b3z.js → CashierTransactionHistory-Bv4k6sdm.js} +116 -116
- package/components/{CashierTransactionHistory-BmG7XPkF.js → CashierTransactionHistory-D9cuJwNg.js} +73 -73
- package/components/{CashierTransactionHistory-DVJeMS7y.cjs → CashierTransactionHistory-tuj8kYsP.cjs} +1 -1
- package/components/CashierVerifications-3sSSv6ir.js +647 -0
- package/components/CashierVerifications-cWStjKKK.js +643 -0
- package/components/CashierVerifications-lbOEU8Wv.cjs +1 -0
- package/components/{TxnStatusIcon-DlBt7swO.cjs → TxnStatusIcon-BnYqfnba.cjs} +1 -1
- package/components/{TxnStatusIcon-Degz9oJQ.js → TxnStatusIcon-Cz9gvTZb.js} +23 -23
- package/components/{TxnStatusIcon-DK8gf5Ec.js → TxnStatusIcon-_w4gDvXk.js} +19 -19
- package/components/{TxnTypeIcons-Cjawm9IS.js → TxnTypeIcons-BoTS7N4H.js} +14 -14
- package/components/{TxnTypeIcons-DH1CxqvE.cjs → TxnTypeIcons-BpU4tRqc.cjs} +1 -1
- package/components/{TxnTypeIcons-DdfELKt3.js → TxnTypeIcons-UBC4VGlN.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-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
- package/stencil/index-b2193545-9IBTGq1X.cjs +1 -0
- package/stencil/index-b2193545-B5WVVmva.js +519 -0
- package/stencil/index-b2193545-CfiRkmy3.js +503 -0
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CNNeJmP0.cjs} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-DCPAt25-.js} +1 -1
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-am9MgSQ8.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-D1L4lwNZ.js} +2 -2
- package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-D6had8uT.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-DSTcB-py.cjs} +1 -1
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-vQGsM2TX.js} +2 -2
- package/components/CashierError-Do2yNrqx.cjs +0 -8
- package/components/CashierHeader-b4lqjMMD.cjs +0 -1
- package/components/CashierMethodDetails-BccXMt8_.cjs +0 -99
- package/components/CashierModal-BU4NlVMY.js +0 -229
- package/components/CashierModal-CVXS5J4T.cjs +0 -1
- package/components/CashierModal-DvL5giYo.js +0 -229
- package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +0 -2
- package/components/CashierVerifications-BluIxyAW.js +0 -595
- package/components/CashierVerifications-DMMGPuTt.js +0 -599
- package/components/CashierVerifications-DbTUG014.cjs +0 -1
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
- package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
const ie = "ui-skeleton", oe = (
|
|
2
|
+
/* ui-skeleton */
|
|
3
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, 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: !1, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !1, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !1, vdomRef: !1, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
4
|
+
);
|
|
5
|
+
var ce = Object.defineProperty, $e = (e, t) => {
|
|
6
|
+
for (var r in t)
|
|
7
|
+
ce(e, r, { get: t[r], enumerable: !0 });
|
|
8
|
+
}, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Ge = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (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((n) => r.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], U.set(e, r);
|
|
16
|
+
}, w = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), ue = (e, t, r) => {
|
|
17
|
+
const n = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$;
|
|
18
|
+
if (!s)
|
|
19
|
+
return;
|
|
20
|
+
const a = O.get(s);
|
|
21
|
+
if (a)
|
|
22
|
+
return a[n];
|
|
23
|
+
{
|
|
24
|
+
const l = (i) => (O.set(s, i), i[n]);
|
|
25
|
+
switch (s) {
|
|
26
|
+
case "ui-skeleton":
|
|
27
|
+
return import(
|
|
28
|
+
/* webpackMode: "lazy" */
|
|
29
|
+
"./ui-skeleton-vQGsM2TX.js"
|
|
30
|
+
).then(l, w);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return import(
|
|
34
|
+
/* @vite-ignore */
|
|
35
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
+
/* webpackMode: "lazy" */
|
|
38
|
+
`./${s}.entry.js`
|
|
39
|
+
).then((l) => (O.set(s, l), l[n]), w);
|
|
40
|
+
}, L = /* @__PURE__ */ new Map(), de = "{visibility:hidden}.hydrated{visibility:inherit}", Y = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, h = {
|
|
41
|
+
$flags$: 0,
|
|
42
|
+
$resourcesUrl$: "",
|
|
43
|
+
jmp: (e) => e(),
|
|
44
|
+
raf: (e) => requestAnimationFrame(e),
|
|
45
|
+
ael: (e, t, r, n) => e.addEventListener(t, r, n),
|
|
46
|
+
rel: (e, t, r, n) => e.removeEventListener(t, r, n),
|
|
47
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
+
}, me = (e) => Promise.resolve(e), pe = /* @__PURE__ */ (() => {
|
|
49
|
+
try {
|
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
})(), _ = !1, I = [], G = [], he = (e, t) => (r) => {
|
|
55
|
+
e.push(r), _ || (_ = !0, h.$flags$ & 4 ? D(j) : h.raf(j));
|
|
56
|
+
}, z = (e) => {
|
|
57
|
+
for (let t = 0; t < e.length; t++)
|
|
58
|
+
try {
|
|
59
|
+
e[t](performance.now());
|
|
60
|
+
} catch (r) {
|
|
61
|
+
w(r);
|
|
62
|
+
}
|
|
63
|
+
e.length = 0;
|
|
64
|
+
}, j = () => {
|
|
65
|
+
z(I), z(G), (_ = I.length > 0) && h.raf(j);
|
|
66
|
+
}, D = (e) => me().then(e), ve = /* @__PURE__ */ he(G), F = {}, J = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function K(e) {
|
|
68
|
+
var t, r, n;
|
|
69
|
+
return (n = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? n : void 0;
|
|
70
|
+
}
|
|
71
|
+
var ge = {};
|
|
72
|
+
$e(ge, {
|
|
73
|
+
err: () => X,
|
|
74
|
+
map: () => ye,
|
|
75
|
+
ok: () => N,
|
|
76
|
+
unwrap: () => Se,
|
|
77
|
+
unwrapErr: () => be
|
|
78
|
+
});
|
|
79
|
+
var N = (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((n) => N(n)) : N(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
|
+
}, we = (e, t, ...r) => {
|
|
110
|
+
let n = null, s = null, a = !1, l = !1;
|
|
111
|
+
const i = [], o = ($) => {
|
|
112
|
+
for (let f = 0; f < $.length; f++)
|
|
113
|
+
n = $[f], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !J(n)) && (n = String(n)), a && l ? i[i.length - 1].$text$ += n : i.push(a ? C(null, n) : n), l = a);
|
|
114
|
+
};
|
|
115
|
+
if (o(r), t) {
|
|
116
|
+
t.key && (s = t.key);
|
|
117
|
+
{
|
|
118
|
+
const $ = t.className || t.class;
|
|
119
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const c = C(e, null);
|
|
123
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = s, c;
|
|
124
|
+
}, C = (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
|
+
}, Ee = {}, xe = (e) => e && e.$tag$ === Ee, Te = (e, t) => e != null && !J(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Le = (e, t, r) => {
|
|
134
|
+
const n = h.ce(t, r);
|
|
135
|
+
return e.dispatchEvent(n), n;
|
|
136
|
+
}, q = /* @__PURE__ */ new WeakMap(), Pe = (e, t, r) => {
|
|
137
|
+
let n = L.get(e);
|
|
138
|
+
pe && r ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, L.set(e, n);
|
|
139
|
+
}, Ae = (e, t, r) => {
|
|
140
|
+
var n;
|
|
141
|
+
const s = R(t), a = L.get(s);
|
|
142
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
143
|
+
if (typeof a == "string") {
|
|
144
|
+
e = e.head || e;
|
|
145
|
+
let l = q.get(e), i;
|
|
146
|
+
if (l || q.set(e, l = /* @__PURE__ */ new Set()), !l.has(s)) {
|
|
147
|
+
{
|
|
148
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
149
|
+
const o = (n = h.$nonce$) != null ? n : K(y);
|
|
150
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
151
|
+
}
|
|
152
|
+
t.$flags$ & 4 && (i.innerHTML += Y), l && l.add(s);
|
|
153
|
+
}
|
|
154
|
+
} else
|
|
155
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
|
+
return s;
|
|
157
|
+
}, Oe = (e) => {
|
|
158
|
+
const t = e.$cmpMeta$, r = e.$hostElement$, n = S("attachStyles", t.$tagName$);
|
|
159
|
+
Ae(
|
|
160
|
+
r.getRootNode(),
|
|
161
|
+
t
|
|
162
|
+
), n();
|
|
163
|
+
}, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, r, n, s, a) => {
|
|
164
|
+
if (r !== n && (t.toLowerCase(), t === "class")) {
|
|
165
|
+
const l = e.classList, i = M(r), o = M(n);
|
|
166
|
+
l.remove(...i.filter((c) => c && !o.includes(c))), l.add(...o.filter((c) => c && !i.includes(c)));
|
|
167
|
+
}
|
|
168
|
+
}, _e = /\s/, M = (e) => e ? e.split(_e) : [], Z = (e, t, r) => {
|
|
169
|
+
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || F, a = t.$attrs$ || F;
|
|
170
|
+
for (const l of Q(Object.keys(s)))
|
|
171
|
+
l in a || W(n, l, s[l], void 0);
|
|
172
|
+
for (const l of Q(Object.keys(a)))
|
|
173
|
+
W(n, l, s[l], a[l]);
|
|
174
|
+
};
|
|
175
|
+
function Q(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, P = (e, t, r, n) => {
|
|
185
|
+
const s = t.$children$[r];
|
|
186
|
+
let a = 0, l, i;
|
|
187
|
+
if (s.$text$ !== null)
|
|
188
|
+
l = s.$elm$ = y.createTextNode(s.$text$);
|
|
189
|
+
else if (l = s.$elm$ = y.createElement(
|
|
190
|
+
s.$tag$
|
|
191
|
+
), Z(null, s), s.$children$)
|
|
192
|
+
for (a = 0; a < s.$children$.length; ++a)
|
|
193
|
+
i = P(e, s, a), i && l.appendChild(i);
|
|
194
|
+
return l["s-hn"] = V, l;
|
|
195
|
+
}, ee = (e, t, r, n, s, a) => {
|
|
196
|
+
let l = e, i;
|
|
197
|
+
for (; s <= a; ++s)
|
|
198
|
+
n[s] && (i = P(null, r, s), i && (n[s].$elm$ = i, T(l, i, t)));
|
|
199
|
+
}, te = (e, t, r) => {
|
|
200
|
+
for (let n = t; n <= r; ++n) {
|
|
201
|
+
const s = e[n];
|
|
202
|
+
if (s) {
|
|
203
|
+
const a = s.$elm$;
|
|
204
|
+
a && a.remove();
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}, je = (e, t, r, n, s = !1) => {
|
|
208
|
+
let a = 0, l = 0, i = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], u = n.length - 1, d = n[0], m = n[u], p, v;
|
|
209
|
+
for (; a <= c && l <= u; )
|
|
210
|
+
if ($ == null)
|
|
211
|
+
$ = t[++a];
|
|
212
|
+
else if (f == null)
|
|
213
|
+
f = t[--c];
|
|
214
|
+
else if (d == null)
|
|
215
|
+
d = n[++l];
|
|
216
|
+
else if (m == null)
|
|
217
|
+
m = n[--u];
|
|
218
|
+
else if (x($, d, s))
|
|
219
|
+
k($, d, s), $ = t[++a], d = n[++l];
|
|
220
|
+
else if (x(f, m, s))
|
|
221
|
+
k(f, m, s), f = t[--c], m = n[--u];
|
|
222
|
+
else if (x($, m, s))
|
|
223
|
+
k($, m, s), T(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = n[--u];
|
|
224
|
+
else if (x(f, d, s))
|
|
225
|
+
k(f, d, s), T(e, f.$elm$, $.$elm$), f = t[--c], d = n[++l];
|
|
226
|
+
else {
|
|
227
|
+
for (i = -1, o = a; o <= c; ++o)
|
|
228
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
229
|
+
i = o;
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
i >= 0 ? (v = t[i], v.$tag$ !== d.$tag$ ? p = P(t && t[l], r, i) : (k(v, d, s), t[i] = void 0, p = v.$elm$), d = n[++l]) : (p = P(t && t[l], r, l), d = n[++l]), p && T($.$elm$.parentNode, p, $.$elm$);
|
|
233
|
+
}
|
|
234
|
+
a > c ? ee(
|
|
235
|
+
e,
|
|
236
|
+
n[u + 1] == null ? null : n[u + 1].$elm$,
|
|
237
|
+
r,
|
|
238
|
+
n,
|
|
239
|
+
l,
|
|
240
|
+
u
|
|
241
|
+
) : l > u && te(t, a, c);
|
|
242
|
+
}, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, r = !1) => {
|
|
243
|
+
const n = t.$elm$ = e.$elm$, s = e.$children$, a = t.$children$, l = t.$text$;
|
|
244
|
+
l === null ? (Z(e, t), s !== null && a !== null ? je(n, s, t, a, r) : a !== null ? (e.$text$ !== null && (n.textContent = ""), ee(n, null, t, a, 0, a.length - 1)) : s !== null && te(s, 0, s.length - 1)) : e.$text$ !== l && (n.data = l);
|
|
245
|
+
}, T = (e, t, r) => e?.insertBefore(t, r), Ne = (e, t, r = !1) => {
|
|
246
|
+
const n = e.$hostElement$, s = e.$vnode$ || C(null, null), a = xe(t) ? t : we(null, null, t);
|
|
247
|
+
if (V = n.tagName, r && a.$attrs$)
|
|
248
|
+
for (const l of Object.keys(a.$attrs$))
|
|
249
|
+
n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
|
|
250
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = s.$elm$ = n, k(s, a, r);
|
|
251
|
+
}, se = (e, t) => {
|
|
252
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
|
253
|
+
}, H = (e, t) => {
|
|
254
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
255
|
+
e.$flags$ |= 512;
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
return se(e, e.$ancestorComponent$), ve(() => Ce(e, t));
|
|
259
|
+
}, Ce = (e, t) => {
|
|
260
|
+
const r = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), s = e.$lazyInstance$;
|
|
261
|
+
if (!s)
|
|
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 n(), Ue(a, () => De(e, s, t));
|
|
267
|
+
}, Ue = (e, t) => Be(e) ? e.then(t).catch((r) => {
|
|
268
|
+
console.error(r), t();
|
|
269
|
+
}) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", De = async (e, t, r) => {
|
|
270
|
+
var n;
|
|
271
|
+
const s = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = s["s-rc"];
|
|
272
|
+
r && Oe(e);
|
|
273
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
274
|
+
He(e, t, s, r), l && (l.map((o) => o()), s["s-rc"] = void 0), i(), a();
|
|
275
|
+
{
|
|
276
|
+
const o = (n = s["s-p"]) != null ? n : [], c = () => Ie(e);
|
|
277
|
+
o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
|
|
278
|
+
}
|
|
279
|
+
}, He = (e, t, r, n) => {
|
|
280
|
+
try {
|
|
281
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ne(e, t, n);
|
|
282
|
+
} catch (s) {
|
|
283
|
+
w(s, e.$hostElement$);
|
|
284
|
+
}
|
|
285
|
+
return null;
|
|
286
|
+
}, Ie = (e) => {
|
|
287
|
+
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, n = S("postUpdate", t), s = e.$ancestorComponent$;
|
|
288
|
+
e.$flags$ & 64 ? n() : (e.$flags$ |= 64, re(r), n(), e.$onReadyResolve$(r), s || ne()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => H(e, !1)), e.$flags$ &= -517;
|
|
289
|
+
}, ne = (e) => {
|
|
290
|
+
re(y.documentElement), D(() => Le(B, "appload", { detail: { namespace: ie } }));
|
|
291
|
+
}, re = (e) => {
|
|
292
|
+
var t;
|
|
293
|
+
return e.classList.add((t = oe.hydratedSelectorName) != null ? t : "hydrated");
|
|
294
|
+
}, ze = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, r, n) => {
|
|
295
|
+
const s = b(e);
|
|
296
|
+
if (!s)
|
|
297
|
+
throw new Error(
|
|
298
|
+
`Couldn't find host element for "${n.$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 = s.$hostElement$, l = s.$instanceValues$.get(t), i = s.$flags$, o = s.$lazyInstance$;
|
|
301
|
+
r = Te(r, n.$members$[t][0]);
|
|
302
|
+
const c = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !c;
|
|
303
|
+
if ((!(i & 8) || l === void 0) && $ && (s.$instanceValues$.set(t, r), o)) {
|
|
304
|
+
if (n.$watchers$ && i & 128) {
|
|
305
|
+
const f = n.$watchers$[t];
|
|
306
|
+
f && f.map((u) => {
|
|
307
|
+
try {
|
|
308
|
+
o[u](r, l, t);
|
|
309
|
+
} catch (d) {
|
|
310
|
+
w(d, a);
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
(i & 18) === 2 && H(s, !1);
|
|
315
|
+
}
|
|
316
|
+
}, le = (e, t, r) => {
|
|
317
|
+
var n, s;
|
|
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((n = t.$members$) != null ? n : {});
|
|
322
|
+
if (l.map(([i, [o]]) => {
|
|
323
|
+
(o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
324
|
+
get() {
|
|
325
|
+
return ze(this, i);
|
|
326
|
+
},
|
|
327
|
+
set(c) {
|
|
328
|
+
Fe(this, i, c, 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
|
+
h.jmp(() => {
|
|
337
|
+
var f;
|
|
338
|
+
const u = i.get(o);
|
|
339
|
+
if (this.hasOwnProperty(u))
|
|
340
|
+
$ = this[u], delete this[u];
|
|
341
|
+
else {
|
|
342
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
343
|
+
return;
|
|
344
|
+
if (u == null) {
|
|
345
|
+
const d = b(this), m = d?.$flags$;
|
|
346
|
+
if (m && !(m & 8) && m & 128 && $ !== c) {
|
|
347
|
+
const p = d.$lazyInstance$, v = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
348
|
+
v?.forEach((g) => {
|
|
349
|
+
p[g] != null && p[g].call(p, $, c, o);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
356
|
+
});
|
|
357
|
+
}, e.observedAttributes = Array.from(
|
|
358
|
+
/* @__PURE__ */ new Set([
|
|
359
|
+
...Object.keys((s = t.$watchers$) != null ? s : {}),
|
|
360
|
+
...l.filter(
|
|
361
|
+
([o, c]) => c[0] & 15
|
|
362
|
+
/* HasAttribute */
|
|
363
|
+
).map(([o, c]) => {
|
|
364
|
+
const $ = c[1] || o;
|
|
365
|
+
return i.set($, o), $;
|
|
366
|
+
})
|
|
367
|
+
])
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return e;
|
|
372
|
+
}, qe = async (e, t, r, n) => {
|
|
373
|
+
let s;
|
|
374
|
+
if (!(t.$flags$ & 32)) {
|
|
375
|
+
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
|
376
|
+
const o = ue(r);
|
|
377
|
+
if (o && "then" in o) {
|
|
378
|
+
const $ = ke();
|
|
379
|
+
s = await o, $();
|
|
380
|
+
} else
|
|
381
|
+
s = o;
|
|
382
|
+
if (!s)
|
|
383
|
+
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
|
384
|
+
s.isProxied || (r.$watchers$ = s.watchers, le(
|
|
385
|
+
s,
|
|
386
|
+
r,
|
|
387
|
+
2
|
|
388
|
+
/* proxyState */
|
|
389
|
+
), s.isProxied = !0);
|
|
390
|
+
const c = S("createInstance", r.$tagName$);
|
|
391
|
+
t.$flags$ |= 8;
|
|
392
|
+
try {
|
|
393
|
+
new s(t);
|
|
394
|
+
} catch ($) {
|
|
395
|
+
w($);
|
|
396
|
+
}
|
|
397
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
398
|
+
} else {
|
|
399
|
+
s = e.constructor;
|
|
400
|
+
const o = e.localName;
|
|
401
|
+
customElements.whenDefined(o).then(
|
|
402
|
+
() => t.$flags$ |= 128
|
|
403
|
+
/* isWatchReady */
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
if (s && s.style) {
|
|
407
|
+
let o;
|
|
408
|
+
typeof s.style == "string" && (o = s.style);
|
|
409
|
+
const c = R(r);
|
|
410
|
+
if (!L.has(c)) {
|
|
411
|
+
const $ = S("registerStyles", r.$tagName$);
|
|
412
|
+
Pe(c, o, !!(r.$flags$ & 1)), $();
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
const a = t.$ancestorComponent$, l = () => H(t, !0);
|
|
417
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
418
|
+
}, We = (e) => {
|
|
419
|
+
}, Me = (e) => {
|
|
420
|
+
if (!(h.$flags$ & 1)) {
|
|
421
|
+
const t = b(e), r = t.$cmpMeta$, n = S("connectedCallback", r.$tagName$);
|
|
422
|
+
if (t.$flags$ & 1)
|
|
423
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
|
|
424
|
+
else {
|
|
425
|
+
t.$flags$ |= 1;
|
|
426
|
+
{
|
|
427
|
+
let s = e;
|
|
428
|
+
for (; s = s.parentNode || s.host; )
|
|
429
|
+
if (s["s-p"]) {
|
|
430
|
+
se(t, t.$ancestorComponent$ = s);
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
r.$members$ && Object.entries(r.$members$).map(([s, [a]]) => {
|
|
435
|
+
if (a & 31 && e.hasOwnProperty(s)) {
|
|
436
|
+
const l = e[s];
|
|
437
|
+
delete e[s], e[s] = l;
|
|
438
|
+
}
|
|
439
|
+
}), qe(e, t, r);
|
|
440
|
+
}
|
|
441
|
+
n();
|
|
442
|
+
}
|
|
443
|
+
}, Qe = (e) => {
|
|
444
|
+
}, Ye = async (e) => {
|
|
445
|
+
if (!(h.$flags$ & 1)) {
|
|
446
|
+
const t = b(e);
|
|
447
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
|
|
448
|
+
}
|
|
449
|
+
}, Je = (e, t = {}) => {
|
|
450
|
+
var r;
|
|
451
|
+
const n = S(), s = [], a = t.exclude || [], l = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
452
|
+
let f, u = !0;
|
|
453
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
454
|
+
let d = !1;
|
|
455
|
+
if (e.map((m) => {
|
|
456
|
+
m[1].map((p) => {
|
|
457
|
+
var v;
|
|
458
|
+
const g = {
|
|
459
|
+
$flags$: p[0],
|
|
460
|
+
$tagName$: p[1],
|
|
461
|
+
$members$: p[2],
|
|
462
|
+
$listeners$: p[3]
|
|
463
|
+
};
|
|
464
|
+
g.$flags$ & 4 && (d = !0), g.$members$ = p[2], g.$watchers$ = (v = p[4]) != null ? v : {};
|
|
465
|
+
const E = g.$tagName$, ae = class extends HTMLElement {
|
|
466
|
+
// StencilLazyHost
|
|
467
|
+
constructor(A) {
|
|
468
|
+
super(A), this.hasRegisteredEventListeners = !1, A = this, fe(A, g);
|
|
469
|
+
}
|
|
470
|
+
connectedCallback() {
|
|
471
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : h.jmp(() => Me(this));
|
|
472
|
+
}
|
|
473
|
+
disconnectedCallback() {
|
|
474
|
+
h.jmp(() => Ye(this));
|
|
475
|
+
}
|
|
476
|
+
componentOnReady() {
|
|
477
|
+
return b(this).$onReadyPromise$;
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
g.$lazyBundleId$ = m[0], !a.includes(E) && !l.get(E) && (s.push(E), l.define(
|
|
481
|
+
E,
|
|
482
|
+
le(
|
|
483
|
+
ae,
|
|
484
|
+
g,
|
|
485
|
+
1
|
|
486
|
+
/* isElementConstructor */
|
|
487
|
+
)
|
|
488
|
+
));
|
|
489
|
+
});
|
|
490
|
+
}), s.length > 0 && (d && (c.textContent += Y), c.textContent += s.sort() + de, c.innerHTML.length)) {
|
|
491
|
+
c.setAttribute("data-styles", "");
|
|
492
|
+
const m = (r = h.$nonce$) != null ? r : K(y);
|
|
493
|
+
m != null && c.setAttribute("nonce", m), i.insertBefore(c, o ? o.nextSibling : i.firstChild);
|
|
494
|
+
}
|
|
495
|
+
u = !1, $.length ? $.map((m) => m.connectedCallback()) : h.jmp(() => f = setTimeout(ne, 30)), n();
|
|
496
|
+
};
|
|
497
|
+
export {
|
|
498
|
+
Ee as H,
|
|
499
|
+
Je as b,
|
|
500
|
+
we as h,
|
|
501
|
+
me as p,
|
|
502
|
+
Ge as r
|
|
503
|
+
};
|
|
@@ -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-BgKdDb-e.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-CNNeJmP0.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)}));
|
|
@@ -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-DIpvPU9H.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,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-C7V2DWFg.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-DIpvPU9H.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-BgKdDb-e.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-D8-wEkoZ.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652-DIpvPU9H.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-yceZ9WkN.cjs"),t=require("./index-97d17652-BgKdDb-e.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-B-k0kWgx.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652-C7V2DWFg.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 = {
|
|
@@ -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-B5WVVmva.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-CzSGP5Of.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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-
|
|
1
|
+
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-9IBTGq1X.cjs"),p=require("./app-globals-0f993ce5-BD-Q0C8R.cjs"),g=require("./ui-skeleton-ae35c6f2-DSTcB-py.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-D6had8uT.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};f().then(t=>u(exports,null,function*(){return yield p.globalScripts$1(),c.bootstrapLazy([["ui-skeleton",[[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)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as t, H as n } from "./index-b2193545-
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-CfiRkmy3.js";
|
|
2
2
|
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 {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.stylingValue = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as t, H as n } from "./index-b2193545-
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-B5WVVmva.js";
|
|
2
2
|
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 {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.stylingValue = {
|