@everymatrix/cashier-page 1.76.13 → 1.76.14
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-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
- package/components/CashierError-BVTgkQx8.cjs +21 -0
- package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
- package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
- package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
- package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
- package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
- package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
- package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
- package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
- package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
- package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
- package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.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-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
- package/components/CashierError-BEEnpeVH.cjs +0 -8
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.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,519 @@
|
|
|
1
|
+
var x = (e, t, n) => new Promise((r, s) => {
|
|
2
|
+
var a = (o) => {
|
|
3
|
+
try {
|
|
4
|
+
i(n.next(o));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
s(c);
|
|
7
|
+
}
|
|
8
|
+
}, l = (o) => {
|
|
9
|
+
try {
|
|
10
|
+
i(n.throw(o));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
s(c);
|
|
13
|
+
}
|
|
14
|
+
}, i = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(a, l);
|
|
15
|
+
i((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const $e = "ui-skeleton", D = (
|
|
18
|
+
/* ui-skeleton */
|
|
19
|
+
{ 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 }
|
|
20
|
+
);
|
|
21
|
+
var fe = Object.defineProperty, ue = (e, t) => {
|
|
22
|
+
for (var n in t)
|
|
23
|
+
fe(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
+
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Xe = (e, t) => B.set(t.$lazyInstance$ = e, t), de = (e, t) => {
|
|
25
|
+
const n = {
|
|
26
|
+
$flags$: 0,
|
|
27
|
+
$hostElement$: e,
|
|
28
|
+
$cmpMeta$: t,
|
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
30
|
+
};
|
|
31
|
+
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
|
32
|
+
}, w = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), me = (e, t, n) => {
|
|
33
|
+
const r = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$;
|
|
34
|
+
if (!s)
|
|
35
|
+
return;
|
|
36
|
+
const a = _.get(s);
|
|
37
|
+
if (a)
|
|
38
|
+
return a[r];
|
|
39
|
+
{
|
|
40
|
+
const l = (i) => (_.set(s, i), i[r]);
|
|
41
|
+
switch (s) {
|
|
42
|
+
case "ui-skeleton":
|
|
43
|
+
return import(
|
|
44
|
+
/* webpackMode: "lazy" */
|
|
45
|
+
"./ui-skeleton-P4PO_42z.js"
|
|
46
|
+
).then(l, w);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return import(
|
|
50
|
+
/* @vite-ignore */
|
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
+
/* webpackMode: "lazy" */
|
|
54
|
+
`./${s}.entry.js`
|
|
55
|
+
).then((l) => (_.set(s, l), l[r]), w);
|
|
56
|
+
}, P = /* @__PURE__ */ new Map(), ve = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", H = typeof window != "undefined" ? window : {}, y = H.document || { head: {} }, p = {
|
|
57
|
+
$flags$: 0,
|
|
58
|
+
$resourcesUrl$: "",
|
|
59
|
+
jmp: (e) => e(),
|
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
|
61
|
+
ael: (e, t, n, r) => e.addEventListener(t, n, r),
|
|
62
|
+
rel: (e, t, n, r) => e.removeEventListener(t, n, r),
|
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
+
}, pe = D.shadowDom, he = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
|
|
65
|
+
try {
|
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
+
} catch (e) {
|
|
68
|
+
}
|
|
69
|
+
return !1;
|
|
70
|
+
})(), j = !1, F = [], K = [], ye = (e, t) => (n) => {
|
|
71
|
+
e.push(n), j || (j = !0, p.$flags$ & 4 ? I(N) : p.raf(N));
|
|
72
|
+
}, q = (e) => {
|
|
73
|
+
for (let t = 0; t < e.length; t++)
|
|
74
|
+
try {
|
|
75
|
+
e[t](performance.now());
|
|
76
|
+
} catch (n) {
|
|
77
|
+
w(n);
|
|
78
|
+
}
|
|
79
|
+
e.length = 0;
|
|
80
|
+
}, N = () => {
|
|
81
|
+
q(F), q(K), (j = F.length > 0) && p.raf(N);
|
|
82
|
+
}, I = (e) => he().then(e), Se = /* @__PURE__ */ ye(K), W = {}, R = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
+
function X(e) {
|
|
84
|
+
var t, n, r;
|
|
85
|
+
return (r = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
|
|
86
|
+
}
|
|
87
|
+
var be = {};
|
|
88
|
+
ue(be, {
|
|
89
|
+
err: () => Z,
|
|
90
|
+
map: () => ke,
|
|
91
|
+
ok: () => C,
|
|
92
|
+
unwrap: () => we,
|
|
93
|
+
unwrapErr: () => Ee
|
|
94
|
+
});
|
|
95
|
+
var C = (e) => ({
|
|
96
|
+
isOk: !0,
|
|
97
|
+
isErr: !1,
|
|
98
|
+
value: e
|
|
99
|
+
}), Z = (e) => ({
|
|
100
|
+
isOk: !1,
|
|
101
|
+
isErr: !0,
|
|
102
|
+
value: e
|
|
103
|
+
});
|
|
104
|
+
function ke(e, t) {
|
|
105
|
+
if (e.isOk) {
|
|
106
|
+
const n = t(e.value);
|
|
107
|
+
return n instanceof Promise ? n.then((r) => C(r)) : C(n);
|
|
108
|
+
}
|
|
109
|
+
if (e.isErr) {
|
|
110
|
+
const n = e.value;
|
|
111
|
+
return Z(n);
|
|
112
|
+
}
|
|
113
|
+
throw "should never get here";
|
|
114
|
+
}
|
|
115
|
+
var we = (e) => {
|
|
116
|
+
if (e.isOk)
|
|
117
|
+
return e.value;
|
|
118
|
+
throw e.value;
|
|
119
|
+
}, Ee = (e) => {
|
|
120
|
+
if (e.isErr)
|
|
121
|
+
return e.value;
|
|
122
|
+
throw e.value;
|
|
123
|
+
}, S = (e, t = "") => () => {
|
|
124
|
+
}, xe = (e, t) => () => {
|
|
125
|
+
}, Te = (e, t, ...n) => {
|
|
126
|
+
let r = null, s = null, a = !1, l = !1;
|
|
127
|
+
const i = [], o = ($) => {
|
|
128
|
+
for (let f = 0; f < $.length; f++)
|
|
129
|
+
r = $[f], Array.isArray(r) ? o(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !R(r)) && (r = String(r)), a && l ? i[i.length - 1].$text$ += r : i.push(a ? U(null, r) : r), l = a);
|
|
130
|
+
};
|
|
131
|
+
if (o(n), t) {
|
|
132
|
+
t.key && (s = t.key);
|
|
133
|
+
{
|
|
134
|
+
const $ = t.className || t.class;
|
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const c = U(e, null);
|
|
139
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = s, c;
|
|
140
|
+
}, U = (e, t) => {
|
|
141
|
+
const n = {
|
|
142
|
+
$flags$: 0,
|
|
143
|
+
$tag$: e,
|
|
144
|
+
$text$: t,
|
|
145
|
+
$elm$: null,
|
|
146
|
+
$children$: null
|
|
147
|
+
};
|
|
148
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
|
149
|
+
}, Le = {}, Pe = (e) => e && e.$tag$ === Le, Ae = (e, t) => e != null && !R(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Oe = (e, t, n) => {
|
|
150
|
+
const r = p.ce(t, n);
|
|
151
|
+
return e.dispatchEvent(r), r;
|
|
152
|
+
}, M = /* @__PURE__ */ new WeakMap(), _e = (e, t, n) => {
|
|
153
|
+
let r = P.get(e);
|
|
154
|
+
ge && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, P.set(e, r);
|
|
155
|
+
}, je = (e, t, n) => {
|
|
156
|
+
var r;
|
|
157
|
+
const s = V(t), a = P.get(s);
|
|
158
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
159
|
+
if (typeof a == "string") {
|
|
160
|
+
e = e.head || e;
|
|
161
|
+
let l = M.get(e), i;
|
|
162
|
+
if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(s)) {
|
|
163
|
+
{
|
|
164
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
165
|
+
const o = (r = p.$nonce$) != null ? r : X(y);
|
|
166
|
+
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
167
|
+
}
|
|
168
|
+
t.$flags$ & 4 && (i.innerHTML += J), l && l.add(s);
|
|
169
|
+
}
|
|
170
|
+
} else
|
|
171
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
|
+
return s;
|
|
173
|
+
}, Ne = (e) => {
|
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, r = S("attachStyles", t.$tagName$);
|
|
175
|
+
je(
|
|
176
|
+
n.getRootNode(),
|
|
177
|
+
t
|
|
178
|
+
), r();
|
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, r, s, a) => {
|
|
180
|
+
if (n !== r && (t.toLowerCase(), t === "class")) {
|
|
181
|
+
const l = e.classList, i = Y(n), o = Y(r);
|
|
182
|
+
l.remove(...i.filter((c) => c && !o.includes(c))), l.add(...o.filter((c) => c && !i.includes(c)));
|
|
183
|
+
}
|
|
184
|
+
}, Ce = /\s/, Y = (e) => e ? e.split(Ce) : [], ee = (e, t, n) => {
|
|
185
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || W, a = t.$attrs$ || W;
|
|
186
|
+
for (const l of G(Object.keys(s)))
|
|
187
|
+
l in a || Q(r, l, s[l], void 0);
|
|
188
|
+
for (const l of G(Object.keys(a)))
|
|
189
|
+
Q(r, l, s[l], a[l]);
|
|
190
|
+
};
|
|
191
|
+
function G(e) {
|
|
192
|
+
return e.includes("ref") ? (
|
|
193
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
194
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
195
|
+
) : (
|
|
196
|
+
// no need to sort, return the original array
|
|
197
|
+
e
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
var te, se = !1, A = (e, t, n, r) => {
|
|
201
|
+
const s = t.$children$[n];
|
|
202
|
+
let a = 0, l, i;
|
|
203
|
+
if (s.$text$ !== null)
|
|
204
|
+
l = s.$elm$ = y.createTextNode(s.$text$);
|
|
205
|
+
else if (l = s.$elm$ = y.createElement(
|
|
206
|
+
!se && D.slotRelocation && s.$flags$ & 2 ? "slot-fb" : s.$tag$
|
|
207
|
+
), ee(null, s), s.$children$)
|
|
208
|
+
for (a = 0; a < s.$children$.length; ++a)
|
|
209
|
+
i = A(e, s, a), i && l.appendChild(i);
|
|
210
|
+
return l["s-hn"] = te, l;
|
|
211
|
+
}, ne = (e, t, n, r, s, a) => {
|
|
212
|
+
let l = e, i;
|
|
213
|
+
for (; s <= a; ++s)
|
|
214
|
+
r[s] && (i = A(null, n, s), i && (r[s].$elm$ = i, L(l, i, t)));
|
|
215
|
+
}, re = (e, t, n) => {
|
|
216
|
+
for (let r = t; r <= n; ++r) {
|
|
217
|
+
const s = e[r];
|
|
218
|
+
if (s) {
|
|
219
|
+
const a = s.$elm$;
|
|
220
|
+
a && a.remove();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}, Ue = (e, t, n, r, s = !1) => {
|
|
224
|
+
let a = 0, l = 0, i = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], u = r.length - 1, d = r[0], m = r[u], v, h;
|
|
225
|
+
for (; a <= c && l <= u; )
|
|
226
|
+
if ($ == null)
|
|
227
|
+
$ = t[++a];
|
|
228
|
+
else if (f == null)
|
|
229
|
+
f = t[--c];
|
|
230
|
+
else if (d == null)
|
|
231
|
+
d = r[++l];
|
|
232
|
+
else if (m == null)
|
|
233
|
+
m = r[--u];
|
|
234
|
+
else if (T($, d, s))
|
|
235
|
+
k($, d, s), $ = t[++a], d = r[++l];
|
|
236
|
+
else if (T(f, m, s))
|
|
237
|
+
k(f, m, s), f = t[--c], m = r[--u];
|
|
238
|
+
else if (T($, m, s))
|
|
239
|
+
k($, m, s), L(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = r[--u];
|
|
240
|
+
else if (T(f, d, s))
|
|
241
|
+
k(f, d, s), L(e, f.$elm$, $.$elm$), f = t[--c], d = r[++l];
|
|
242
|
+
else {
|
|
243
|
+
for (i = -1, o = a; o <= c; ++o)
|
|
244
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
245
|
+
i = o;
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = A(t && t[l], n, i) : (k(h, d, s), t[i] = void 0, v = h.$elm$), d = r[++l]) : (v = A(t && t[l], n, l), d = r[++l]), v && L($.$elm$.parentNode, v, $.$elm$);
|
|
249
|
+
}
|
|
250
|
+
a > c ? ne(
|
|
251
|
+
e,
|
|
252
|
+
r[u + 1] == null ? null : r[u + 1].$elm$,
|
|
253
|
+
n,
|
|
254
|
+
r,
|
|
255
|
+
l,
|
|
256
|
+
u
|
|
257
|
+
) : l > u && re(t, a, c);
|
|
258
|
+
}, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
|
|
259
|
+
const r = t.$elm$ = e.$elm$, s = e.$children$, a = t.$children$, l = t.$text$;
|
|
260
|
+
l === null ? (ee(e, t), s !== null && a !== null ? Ue(r, s, t, a, n) : a !== null ? (e.$text$ !== null && (r.textContent = ""), ne(r, null, t, a, 0, a.length - 1)) : s !== null && re(s, 0, s.length - 1)) : e.$text$ !== l && (r.data = l);
|
|
261
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), De = (e, t, n = !1) => {
|
|
262
|
+
const r = e.$hostElement$, s = e.$vnode$ || U(null, null), a = Pe(t) ? t : Te(null, null, t);
|
|
263
|
+
if (te = r.tagName, n && a.$attrs$)
|
|
264
|
+
for (const l of Object.keys(a.$attrs$))
|
|
265
|
+
r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
|
|
266
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = s.$elm$ = r, se = pe, k(s, a, n);
|
|
267
|
+
}, le = (e, t) => {
|
|
268
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
269
|
+
}, z = (e, t) => {
|
|
270
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
271
|
+
e.$flags$ |= 512;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
return le(e, e.$ancestorComponent$), Se(() => Be(e, t));
|
|
275
|
+
}, Be = (e, t) => {
|
|
276
|
+
const n = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), s = e.$lazyInstance$;
|
|
277
|
+
if (!s)
|
|
278
|
+
throw new Error(
|
|
279
|
+
`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
280
|
+
);
|
|
281
|
+
let a;
|
|
282
|
+
return r(), He(a, () => ze(e, s, t));
|
|
283
|
+
}, He = (e, t) => Ie(e) ? e.then(t).catch((n) => {
|
|
284
|
+
console.error(n), t();
|
|
285
|
+
}) : t(), Ie = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, n) => x(void 0, null, function* () {
|
|
286
|
+
var r;
|
|
287
|
+
const s = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = s["s-rc"];
|
|
288
|
+
n && Ne(e);
|
|
289
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
290
|
+
Fe(e, t, s, n), l && (l.map((o) => o()), s["s-rc"] = void 0), i(), a();
|
|
291
|
+
{
|
|
292
|
+
const o = (r = s["s-p"]) != null ? r : [], c = () => qe(e);
|
|
293
|
+
o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
|
|
294
|
+
}
|
|
295
|
+
}), Fe = (e, t, n, r) => {
|
|
296
|
+
try {
|
|
297
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, De(e, t, r);
|
|
298
|
+
} catch (s) {
|
|
299
|
+
w(s, e.$hostElement$);
|
|
300
|
+
}
|
|
301
|
+
return null;
|
|
302
|
+
}, qe = (e) => {
|
|
303
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = S("postUpdate", t), s = e.$ancestorComponent$;
|
|
304
|
+
e.$flags$ & 64 ? r() : (e.$flags$ |= 64, oe(n), r(), e.$onReadyResolve$(n), s || ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && I(() => z(e, !1)), e.$flags$ &= -517;
|
|
305
|
+
}, ae = (e) => {
|
|
306
|
+
oe(y.documentElement), I(() => Oe(H, "appload", { detail: { namespace: $e } }));
|
|
307
|
+
}, oe = (e) => {
|
|
308
|
+
var t;
|
|
309
|
+
return e.classList.add((t = D.hydratedSelectorName) != null ? t : "hydrated");
|
|
310
|
+
}, We = (e, t) => b(e).$instanceValues$.get(t), Me = (e, t, n, r) => {
|
|
311
|
+
const s = b(e);
|
|
312
|
+
if (!s)
|
|
313
|
+
throw new Error(
|
|
314
|
+
`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).`
|
|
315
|
+
);
|
|
316
|
+
const a = s.$hostElement$, l = s.$instanceValues$.get(t), i = s.$flags$, o = s.$lazyInstance$;
|
|
317
|
+
n = Ae(n, r.$members$[t][0]);
|
|
318
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
|
319
|
+
if ((!(i & 8) || l === void 0) && $ && (s.$instanceValues$.set(t, n), o)) {
|
|
320
|
+
if (r.$watchers$ && i & 128) {
|
|
321
|
+
const f = r.$watchers$[t];
|
|
322
|
+
f && f.map((u) => {
|
|
323
|
+
try {
|
|
324
|
+
o[u](n, l, t);
|
|
325
|
+
} catch (d) {
|
|
326
|
+
w(d, a);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
(i & 18) === 2 && z(s, !1);
|
|
331
|
+
}
|
|
332
|
+
}, ie = (e, t, n) => {
|
|
333
|
+
var r, s;
|
|
334
|
+
const a = e.prototype;
|
|
335
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
336
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
337
|
+
const l = Object.entries((r = t.$members$) != null ? r : {});
|
|
338
|
+
if (l.map(([i, [o]]) => {
|
|
339
|
+
(o & 31 || n & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
340
|
+
get() {
|
|
341
|
+
return We(this, i);
|
|
342
|
+
},
|
|
343
|
+
set(c) {
|
|
344
|
+
Me(this, i, c, t);
|
|
345
|
+
},
|
|
346
|
+
configurable: !0,
|
|
347
|
+
enumerable: !0
|
|
348
|
+
});
|
|
349
|
+
}), n & 1) {
|
|
350
|
+
const i = /* @__PURE__ */ new Map();
|
|
351
|
+
a.attributeChangedCallback = function(o, c, $) {
|
|
352
|
+
p.jmp(() => {
|
|
353
|
+
var f;
|
|
354
|
+
const u = i.get(o);
|
|
355
|
+
if (this.hasOwnProperty(u))
|
|
356
|
+
$ = this[u], delete this[u];
|
|
357
|
+
else {
|
|
358
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
359
|
+
return;
|
|
360
|
+
if (u == null) {
|
|
361
|
+
const d = b(this), m = d == null ? void 0 : d.$flags$;
|
|
362
|
+
if (m && !(m & 8) && m & 128 && $ !== c) {
|
|
363
|
+
const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
364
|
+
h == null || h.forEach((g) => {
|
|
365
|
+
v[g] != null && v[g].call(v, $, c, o);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
372
|
+
});
|
|
373
|
+
}, e.observedAttributes = Array.from(
|
|
374
|
+
/* @__PURE__ */ new Set([
|
|
375
|
+
...Object.keys((s = t.$watchers$) != null ? s : {}),
|
|
376
|
+
...l.filter(
|
|
377
|
+
([o, c]) => c[0] & 15
|
|
378
|
+
/* HasAttribute */
|
|
379
|
+
).map(([o, c]) => {
|
|
380
|
+
const $ = c[1] || o;
|
|
381
|
+
return i.set($, o), $;
|
|
382
|
+
})
|
|
383
|
+
])
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return e;
|
|
388
|
+
}, Qe = (e, t, n, r) => x(void 0, null, function* () {
|
|
389
|
+
let s;
|
|
390
|
+
if (!(t.$flags$ & 32)) {
|
|
391
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
392
|
+
const o = me(n);
|
|
393
|
+
if (o && "then" in o) {
|
|
394
|
+
const $ = xe();
|
|
395
|
+
s = yield o, $();
|
|
396
|
+
} else
|
|
397
|
+
s = o;
|
|
398
|
+
if (!s)
|
|
399
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
400
|
+
s.isProxied || (n.$watchers$ = s.watchers, ie(
|
|
401
|
+
s,
|
|
402
|
+
n,
|
|
403
|
+
2
|
|
404
|
+
/* proxyState */
|
|
405
|
+
), s.isProxied = !0);
|
|
406
|
+
const c = S("createInstance", n.$tagName$);
|
|
407
|
+
t.$flags$ |= 8;
|
|
408
|
+
try {
|
|
409
|
+
new s(t);
|
|
410
|
+
} catch ($) {
|
|
411
|
+
w($);
|
|
412
|
+
}
|
|
413
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
414
|
+
} else {
|
|
415
|
+
s = e.constructor;
|
|
416
|
+
const o = e.localName;
|
|
417
|
+
customElements.whenDefined(o).then(
|
|
418
|
+
() => t.$flags$ |= 128
|
|
419
|
+
/* isWatchReady */
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
if (s && s.style) {
|
|
423
|
+
let o;
|
|
424
|
+
typeof s.style == "string" && (o = s.style);
|
|
425
|
+
const c = V(n);
|
|
426
|
+
if (!P.has(c)) {
|
|
427
|
+
const $ = S("registerStyles", n.$tagName$);
|
|
428
|
+
_e(c, o, !!(n.$flags$ & 1)), $();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
const a = t.$ancestorComponent$, l = () => z(t, !0);
|
|
433
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
434
|
+
}), Ye = (e) => {
|
|
435
|
+
}, Ge = (e) => {
|
|
436
|
+
if (!(p.$flags$ & 1)) {
|
|
437
|
+
const t = b(e), n = t.$cmpMeta$, r = S("connectedCallback", n.$tagName$);
|
|
438
|
+
if (t.$flags$ & 1)
|
|
439
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
|
|
440
|
+
else {
|
|
441
|
+
t.$flags$ |= 1;
|
|
442
|
+
{
|
|
443
|
+
let s = e;
|
|
444
|
+
for (; s = s.parentNode || s.host; )
|
|
445
|
+
if (s["s-p"]) {
|
|
446
|
+
le(t, t.$ancestorComponent$ = s);
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
n.$members$ && Object.entries(n.$members$).map(([s, [a]]) => {
|
|
451
|
+
if (a & 31 && e.hasOwnProperty(s)) {
|
|
452
|
+
const l = e[s];
|
|
453
|
+
delete e[s], e[s] = l;
|
|
454
|
+
}
|
|
455
|
+
}), Qe(e, t, n);
|
|
456
|
+
}
|
|
457
|
+
r();
|
|
458
|
+
}
|
|
459
|
+
}, Je = (e) => {
|
|
460
|
+
}, Ke = (e) => x(void 0, null, function* () {
|
|
461
|
+
if (!(p.$flags$ & 1)) {
|
|
462
|
+
const t = b(e);
|
|
463
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
|
|
464
|
+
}
|
|
465
|
+
}), Ze = (e, t = {}) => {
|
|
466
|
+
var n;
|
|
467
|
+
const r = S(), s = [], a = t.exclude || [], l = H.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
468
|
+
let f, u = !0;
|
|
469
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
470
|
+
let d = !1;
|
|
471
|
+
if (e.map((m) => {
|
|
472
|
+
m[1].map((v) => {
|
|
473
|
+
var h;
|
|
474
|
+
const g = {
|
|
475
|
+
$flags$: v[0],
|
|
476
|
+
$tagName$: v[1],
|
|
477
|
+
$members$: v[2],
|
|
478
|
+
$listeners$: v[3]
|
|
479
|
+
};
|
|
480
|
+
g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
|
481
|
+
const E = g.$tagName$, ce = class extends HTMLElement {
|
|
482
|
+
// StencilLazyHost
|
|
483
|
+
constructor(O) {
|
|
484
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, de(O, g);
|
|
485
|
+
}
|
|
486
|
+
connectedCallback() {
|
|
487
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : p.jmp(() => Ge(this));
|
|
488
|
+
}
|
|
489
|
+
disconnectedCallback() {
|
|
490
|
+
p.jmp(() => Ke(this));
|
|
491
|
+
}
|
|
492
|
+
componentOnReady() {
|
|
493
|
+
return b(this).$onReadyPromise$;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
g.$lazyBundleId$ = m[0], !a.includes(E) && !l.get(E) && (s.push(E), l.define(
|
|
497
|
+
E,
|
|
498
|
+
ie(
|
|
499
|
+
ce,
|
|
500
|
+
g,
|
|
501
|
+
1
|
|
502
|
+
/* isElementConstructor */
|
|
503
|
+
)
|
|
504
|
+
));
|
|
505
|
+
});
|
|
506
|
+
}), s.length > 0 && (d && (c.textContent += J), c.textContent += s.sort() + ve, c.innerHTML.length)) {
|
|
507
|
+
c.setAttribute("data-styles", "");
|
|
508
|
+
const m = (n = p.$nonce$) != null ? n : X(y);
|
|
509
|
+
m != null && c.setAttribute("nonce", m), i.insertBefore(c, o ? o.nextSibling : i.firstChild);
|
|
510
|
+
}
|
|
511
|
+
u = !1, $.length ? $.map((m) => m.connectedCallback()) : p.jmp(() => f = setTimeout(ae, 30)), r();
|
|
512
|
+
};
|
|
513
|
+
export {
|
|
514
|
+
Le as H,
|
|
515
|
+
Ze as b,
|
|
516
|
+
Te as h,
|
|
517
|
+
he as p,
|
|
518
|
+
Xe as r
|
|
519
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./index-242ac81a-
|
|
1
|
+
"use strict";const i=require("./index-242ac81a-DDPF_SYN.cjs"),n=".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}",a=n,r=class{constructor(e){i.registerInstance(this,e),this.hasStarted=!1,this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,this.hasStarted=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(e,t){e!==t&&(this.cleanupObserver(),this.detachImgHandlers(),e==="eager"?(this.imgEl&&this.src&&(this.imgEl.src=this.src),this.hasStarted=!0):(this.imgLoaded=!1,this.hasStarted=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.detachImgHandlers()}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(e=>{var t;for(const s of e)if(s.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(s.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var e;(e=this.io)===null||e===void 0||e.disconnect(),this.io=void 0}wireOnceHandlers(){this.imgEl&&(this.detachImgHandlers(),this._onLoad=()=>{var e;this.currentSrc&&(!((e=this.imgEl)===null||e===void 0)&&e.currentSrc)&&!this.imgEl.currentSrc.includes(this.currentSrc)||(this.imgLoaded=!0)},this._onError=()=>{console.error("Load image failed:",this.src)},this.imgEl.addEventListener("load",this._onLoad,{once:!0}),this.imgEl.addEventListener("error",this._onError,{once:!0}))}detachImgHandlers(){this.imgEl&&(this._onLoad&&this.imgEl.removeEventListener("load",this._onLoad),this._onError&&this.imgEl.removeEventListener("error",this._onError),this._onLoad=void 0,this._onError=void 0)}beginLoad(){if(!this.hasStarted&&this.imgEl&&this.src){if(this.hasStarted=!0,this.wireOnceHandlers(),this.imgEl.complete&&this.imgEl.naturalWidth>0){this.imgLoaded=!0;return}this.currentSrc=this.src,this.imgEl.src=this.src,this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return i.h(i.Host,{class:"HostContainer"},i.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return i.h(i.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&i.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{ref:e=>this.imgEl=e,src:void 0,decoding:"async",style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return i.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};r.style=a;exports.UiImage=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as t, H as r, g as a } from "./index-242ac81a-
|
|
1
|
+
import { r as n, h as t, H as r, g as a } from "./index-242ac81a-Czg480dJ.js";
|
|
2
2
|
const h = ".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 = h, d = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.hasStarted = !1, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as t, H as r, g as a } from "./index-242ac81a-
|
|
1
|
+
import { r as n, h as t, H as r, g as a } from "./index-242ac81a-Bl2OSy8h.js";
|
|
2
2
|
const h = ".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 = h, d = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
n(this, e), this.hasStarted = !1, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var g=e=>{try{n(i.next(e))}catch(a){s(a)}},l=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,l);n((i=i.apply(t,r)).next())});const u=require("./index-242ac81a-
|
|
1
|
+
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var g=e=>{try{n(i.next(e))}catch(a){s(a)}},l=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,l);n((i=i.apply(t,r)).next())});const u=require("./index-242ac81a-DDPF_SYN.cjs"),m=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-CBGIeQyw.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 m.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],loading:[1],imgLoaded:[32]},null,{src:["onSrcChange"],loading:["onLoadingChange"]}],[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 s = (r, e, a) => new Promise((g, n) => {
|
|
|
14
14
|
}, i = (t) => t.done ? g(t.value) : Promise.resolve(t.value).then(m, u);
|
|
15
15
|
i((a = a.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as c, p as l } from "./index-242ac81a-
|
|
17
|
+
import { b as c, p as l } from "./index-242ac81a-Czg480dJ.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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-2ff23cd5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-2ff23cd5-BU5r6gJa.cjs"),t=require("./index-242ac81a-DDPF_SYN.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-2ff23cd5-
|
|
2
|
-
import { r, h as t, H as n } from "./index-242ac81a-
|
|
1
|
+
import { U as m } from "./ui-image-2ff23cd5-DZZYCsK1.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-242ac81a-Bl2OSy8h.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,5 +1,5 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-2ff23cd5-
|
|
2
|
-
import { r, h as t, H as n } from "./index-242ac81a-
|
|
1
|
+
import { U as m } from "./ui-image-2ff23cd5-CBX1vdMZ.js";
|
|
2
|
+
import { r, h as t, H as n } from "./index-242ac81a-Czg480dJ.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-DWKmtYUG.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-BIdXBK8D.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);
|
|
@@ -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-ByMYc64n.cjs"),p=require("./app-globals-0f993ce5-BD-Q0C8R.cjs"),g=require("./ui-skeleton-ae35c6f2-jcrjm-Kl.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-C4Ir1ffm.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;
|
|
@@ -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-Dfy4Cgny.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-C7WHUwAT.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);
|