@everymatrix/cashier-method-details 1.62.0 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/components/{CashierConfirmModal-BzyMG3UR.js → CashierConfirmModal-3pkCHAVZ.js} +33 -33
  2. package/components/{CashierConfirmModal-_hdnB5XT.js → CashierConfirmModal-CNzEOcOZ.js} +33 -33
  3. package/components/{CashierError-B6McF-k3.js → CashierError-BClBak8x.js} +664 -660
  4. package/components/{CashierError-CpurblKL.cjs → CashierError-CoLl3dEP.cjs} +3 -16
  5. package/components/{CashierError-B5moVKPa.js → CashierError-bPWE21Ni.js} +663 -659
  6. package/components/{CashierHeader--Nl05VG1.js → CashierHeader-BgUIP4fy.js} +38 -38
  7. package/components/{CashierHeader-DfkOztXW.js → CashierHeader-CL-A-O_Z.js} +38 -38
  8. package/components/{CashierHeader-Cl8p01HE.cjs → CashierHeader-DhOg-KmR.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CG-TISLS.js → CashierIframeRedirect-C01c3Gue.js} +30 -30
  10. package/components/{CashierIframeRedirect-DeYUvDgV.cjs → CashierIframeRedirect-CAGTGqyb.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-Bcj_O92b.js → CashierIframeRedirect-DzAu52q6.js} +32 -32
  12. package/components/{CashierMethodDetails-dtFzfq5E.js → CashierMethodDetails-BFjC7E9R.js} +55 -55
  13. package/components/{CashierMethodDetails-DfYB6twn.js → CashierMethodDetails-CqcX1wNn.js} +55 -55
  14. package/components/{CashierMethodDetails-liiK2Dkd.cjs → CashierMethodDetails-Dpu6BcPJ.cjs} +1 -1
  15. package/components/{CashierModal-cAadEtV9.js → CashierModal-Dv-7ZIuz.js} +34 -34
  16. package/components/{CashierModal-B2DUTbzl.js → CashierModal-PGQGrAgY.js} +34 -34
  17. package/components/{CashierNotifications-BqrU3g7B.js → CashierNotifications-BMYdcdkg.js} +19 -19
  18. package/components/{CashierNotifications-sCssNp8Z.js → CashierNotifications-Dy0g_QWG.js} +19 -19
  19. package/components/{CashierReceiptPage-CMCjTz1a.js → CashierReceiptPage-Bwit60SY.js} +28 -28
  20. package/components/{CashierReceiptPage-CVy0Rii8.js → CashierReceiptPage-CUvIL3fA.js} +28 -28
  21. package/components/{CashierReceiptPage-mGY6IAnl.cjs → CashierReceiptPage-KfAcel2D.cjs} +1 -1
  22. package/components/{CashierSpinner-BMBhQseZ.js → CashierSpinner-D30EfqMz.js} +27 -27
  23. package/components/{CashierSpinner-D3kcfOR-.js → CashierSpinner-Dq2vgm_x.js} +27 -27
  24. package/es2015/cashier-method-details.cjs +1 -1
  25. package/es2015/cashier-method-details.js +1 -1
  26. package/esnext/cashier-method-details.js +1 -1
  27. package/package.json +1 -1
  28. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  29. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  30. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  31. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  32. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  33. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  34. package/stencil/ui-image-CxLeLi3r.cjs +1 -0
  35. package/stencil/ui-image-D12cpp7q.js +25 -0
  36. package/stencil/ui-image-jU_A8Cc1.js +7 -0
  37. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  38. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  39. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  40. package/stencil/index-b7bbd57e-6KaMTlNN.js +0 -534
  41. package/stencil/index-b7bbd57e-BSagye0B.js +0 -550
  42. package/stencil/index-b7bbd57e-DIQXXTTR.cjs +0 -1
  43. package/stencil/ui-image-38c3c15f-CumwWbNu.js +0 -39
  44. package/stencil/ui-image-38c3c15f-Dxl-aZb-.js +0 -39
  45. package/stencil/ui-image-38c3c15f-y5t5ZLG0.cjs +0 -1
  46. package/stencil/ui-image-BQa5UbqU.js +0 -11
  47. package/stencil/ui-image-Bi4jDe3D.js +0 -29
  48. package/stencil/ui-image-z441BZiX.cjs +0 -1
@@ -1,550 +0,0 @@
1
- var x = (e, t, r) => new Promise((s, n) => {
2
- var l = (o) => {
3
- try {
4
- a(r.next(o));
5
- } catch ($) {
6
- n($);
7
- }
8
- }, i = (o) => {
9
- try {
10
- a(r.throw(o));
11
- } catch ($) {
12
- n($);
13
- }
14
- }, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(l, i);
15
- a((r = r.apply(e, t)).next());
16
- });
17
- const de = "ui-image", I = (
18
- /* ui-image */
19
- { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !1, vdomXlink: !1, watchCallback: !0 }
20
- );
21
- var ue = Object.defineProperty, pe = (e, t) => {
22
- for (var r in t)
23
- ue(e, r, { get: t[r], enumerable: !0 });
24
- }, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), tt = (e, t) => B.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
25
- const r = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, r);
32
- }, me = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), he = (e, t, r) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
- if (!n)
35
- return;
36
- const l = _.get(n);
37
- if (l)
38
- return l[s];
39
- {
40
- const i = (a) => (_.set(n, a), a[s]);
41
- switch (n) {
42
- case "ui-image":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./ui-image-Bi4jDe3D.js"
46
- ).then(i, k);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${n}.entry.js`
55
- ).then((i) => (_.set(n, i), i[s]), k);
56
- }, w = /* @__PURE__ */ new Map(), ge = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window != "undefined" ? window : {}, y = z.document || { head: {} }, m = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
62
- rel: (e, t, r, s) => e.removeEventListener(t, r, s),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, ye = I.shadowDom, Se = (e) => Promise.resolve(e), be = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), j = !1, N = [], R = [], ke = (e, t) => (r) => {
71
- e.push(r), j || (j = !0, m.$flags$ & 4 ? H(C) : m.raf(C));
72
- }, W = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (r) {
77
- k(r);
78
- }
79
- e.length = 0;
80
- }, C = () => {
81
- W(N), W(R), (j = N.length > 0) && m.raf(C);
82
- }, H = (e) => Se().then(e), Ee = /* @__PURE__ */ ke(R), M = {}, F = (e) => (e = typeof e, e === "object" || e === "function");
83
- function X(e) {
84
- var t, r, s;
85
- return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var Te = {};
88
- pe(Te, {
89
- err: () => Z,
90
- map: () => xe,
91
- ok: () => D,
92
- unwrap: () => Le,
93
- unwrapErr: () => Pe
94
- });
95
- var D = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), Z = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function xe(e, t) {
105
- if (e.isOk) {
106
- const r = t(e.value);
107
- return r instanceof Promise ? r.then((s) => D(s)) : D(r);
108
- }
109
- if (e.isErr) {
110
- const r = e.value;
111
- return Z(r);
112
- }
113
- throw "should never get here";
114
- }
115
- var Le = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, Pe = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, we = (e, t) => () => {
125
- }, Ae = (e, t, ...r) => {
126
- let s = null, n = null, l = !1, i = !1;
127
- const a = [], o = (c) => {
128
- for (let f = 0; f < c.length; f++)
129
- s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !F(s)) && (s = String(s)), l && i ? a[a.length - 1].$text$ += s : a.push(l ? U(null, s) : s), i = l);
130
- };
131
- if (o(r), t) {
132
- t.key && (n = t.key);
133
- {
134
- const c = t.className || t.class;
135
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
136
- }
137
- }
138
- const $ = U(e, null);
139
- return $.$attrs$ = t, a.length > 0 && ($.$children$ = a), $.$key$ = n, $;
140
- }, U = (e, t) => {
141
- const r = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return r.$attrs$ = null, r.$key$ = null, r;
149
- }, Oe = {}, _e = (e) => e && e.$tag$ === Oe, je = (e, t) => e != null && !F(e) && t & 1 ? String(e) : e, st = (e) => b(e).$hostElement$, Ce = (e, t, r) => {
150
- const s = m.ce(t, r);
151
- return e.dispatchEvent(s), s;
152
- }, Q = /* @__PURE__ */ new WeakMap(), De = (e, t, r) => {
153
- let s = w.get(e);
154
- be && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, w.set(e, s);
155
- }, Ue = (e, t, r) => {
156
- var s;
157
- const n = V(t), l = w.get(n);
158
- if (e = e.nodeType === 11 ? e : y, l)
159
- if (typeof l == "string") {
160
- e = e.head || e;
161
- let i = Q.get(e), a;
162
- if (i || Q.set(e, i = /* @__PURE__ */ new Set()), !i.has(n)) {
163
- {
164
- a = y.createElement("style"), a.innerHTML = l;
165
- const o = (s = m.$nonce$) != null ? s : X(y);
166
- o != null && a.setAttribute("nonce", o), e.insertBefore(a, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (a.innerHTML += K), i && i.add(n);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
172
- return n;
173
- }, Ie = (e) => {
174
- const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
175
- Ue(
176
- r.getRootNode(),
177
- t
178
- ), s();
179
- }, V = (e, t) => "sc-" + e.$tagName$, Y = (e, t, r, s, n, l) => {
180
- if (r !== s) {
181
- let i = me(e, t);
182
- if (t.toLowerCase(), t === "class") {
183
- const a = e.classList, o = G(r), $ = G(s);
184
- a.remove(...o.filter((c) => c && !$.includes(c))), a.add(...$.filter((c) => c && !o.includes(c)));
185
- } else if (t === "style") {
186
- for (const a in r)
187
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
188
- for (const a in s)
189
- (!r || s[a] !== r[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
190
- } else if (t !== "key")
191
- if (t === "ref")
192
- s && s(e);
193
- else {
194
- const a = F(s);
195
- if ((i || a && s !== null) && !n)
196
- try {
197
- if (e.tagName.includes("-"))
198
- e[t] = s;
199
- else {
200
- const o = s == null ? "" : s;
201
- t === "list" ? i = !1 : (r == null || e[t] != o) && (e[t] = o);
202
- }
203
- } catch (o) {
204
- }
205
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!i || l & 4 || n) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
206
- }
207
- }
208
- }, Be = /\s/, G = (e) => e ? e.split(Be) : [], ee = (e, t, r) => {
209
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || M, l = t.$attrs$ || M;
210
- for (const i of J(Object.keys(n)))
211
- i in l || Y(s, i, n[i], void 0, r, t.$flags$);
212
- for (const i of J(Object.keys(l)))
213
- Y(s, i, n[i], l[i], r, t.$flags$);
214
- };
215
- function J(e) {
216
- return e.includes("ref") ? (
217
- // we need to sort these to ensure that `'ref'` is the last attr
218
- [...e.filter((t) => t !== "ref"), "ref"]
219
- ) : (
220
- // no need to sort, return the original array
221
- e
222
- );
223
- }
224
- var te, se = !1, re = !1, A = (e, t, r, s) => {
225
- const n = t.$children$[r];
226
- let l = 0, i, a;
227
- if (i = n.$elm$ = y.createElement(
228
- !se && I.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
229
- ), ee(null, n, re), n.$children$)
230
- for (l = 0; l < n.$children$.length; ++l)
231
- a = A(e, n, l), a && i.appendChild(a);
232
- return i["s-hn"] = te, i;
233
- }, ne = (e, t, r, s, n, l) => {
234
- let i = e, a;
235
- for (; n <= l; ++n)
236
- s[n] && (a = A(null, r, n), a && (s[n].$elm$ = a, P(i, a, t)));
237
- }, le = (e, t, r) => {
238
- for (let s = t; s <= r; ++s) {
239
- const n = e[s];
240
- if (n) {
241
- const l = n.$elm$;
242
- ae(n), l && l.remove();
243
- }
244
- }
245
- }, ze = (e, t, r, s, n = !1) => {
246
- let l = 0, i = 0, a = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], p = s[d], v, h;
247
- for (; l <= $ && i <= d; )
248
- if (c == null)
249
- c = t[++l];
250
- else if (f == null)
251
- f = t[--$];
252
- else if (u == null)
253
- u = s[++i];
254
- else if (p == null)
255
- p = s[--d];
256
- else if (L(c, u, n))
257
- E(c, u, n), c = t[++l], u = s[++i];
258
- else if (L(f, p, n))
259
- E(f, p, n), f = t[--$], p = s[--d];
260
- else if (L(c, p, n))
261
- E(c, p, n), P(e, c.$elm$, f.$elm$.nextSibling), c = t[++l], p = s[--d];
262
- else if (L(f, u, n))
263
- E(f, u, n), P(e, f.$elm$, c.$elm$), f = t[--$], u = s[++i];
264
- else {
265
- for (a = -1, o = l; o <= $; ++o)
266
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
267
- a = o;
268
- break;
269
- }
270
- a >= 0 ? (h = t[a], h.$tag$ !== u.$tag$ ? v = A(t && t[i], r, a) : (E(h, u, n), t[a] = void 0, v = h.$elm$), u = s[++i]) : (v = A(t && t[i], r, i), u = s[++i]), v && P(c.$elm$.parentNode, v, c.$elm$);
271
- }
272
- l > $ ? ne(
273
- e,
274
- s[d + 1] == null ? null : s[d + 1].$elm$,
275
- r,
276
- s,
277
- i,
278
- d
279
- ) : i > d && le(t, l, $);
280
- }, L = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, r = !1) => {
281
- const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$;
282
- ee(e, t, re), n !== null && l !== null ? ze(s, n, t, l, r) : l !== null ? ne(s, null, t, l, 0, l.length - 1) : n !== null && le(n, 0, n.length - 1);
283
- }, ae = (e) => {
284
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
285
- }, P = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), He = (e, t, r = !1) => {
286
- const s = e.$hostElement$, n = e.$vnode$ || U(null, null), l = _e(t) ? t : Ae(null, null, t);
287
- if (te = s.tagName, r && l.$attrs$)
288
- for (const i of Object.keys(l.$attrs$))
289
- s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
290
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = n.$elm$ = s, se = ye, E(n, l, r);
291
- }, ie = (e, t) => {
292
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
293
- }, q = (e, t) => {
294
- if (e.$flags$ |= 16, e.$flags$ & 4) {
295
- e.$flags$ |= 512;
296
- return;
297
- }
298
- return ie(e, e.$ancestorComponent$), Ee(() => Fe(e, t));
299
- }, Fe = (e, t) => {
300
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
301
- if (!n)
302
- throw new Error(
303
- `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
304
- );
305
- let l;
306
- return s(), qe(l, () => We(e, n, t));
307
- }, qe = (e, t) => Ne(e) ? e.then(t).catch((r) => {
308
- console.error(r), t();
309
- }) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = (e, t, r) => x(void 0, null, function* () {
310
- var s;
311
- const n = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), i = n["s-rc"];
312
- r && Ie(e);
313
- const a = S("render", e.$cmpMeta$.$tagName$);
314
- Me(e, t, n, r), i && (i.map((o) => o()), n["s-rc"] = void 0), a(), l();
315
- {
316
- const o = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
317
- o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
318
- }
319
- }), Me = (e, t, r, s) => {
320
- try {
321
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, s);
322
- } catch (n) {
323
- k(n, e.$hostElement$);
324
- }
325
- return null;
326
- }, Qe = (e) => {
327
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
328
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ce(r), Ye(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), l || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => q(e, !1)), e.$flags$ &= -517;
329
- }, oe = (e) => {
330
- ce(y.documentElement), H(() => Ce(z, "appload", { detail: { namespace: de } }));
331
- }, Ye = (e, t, r) => {
332
- if (e && e[t])
333
- try {
334
- return e[t](r);
335
- } catch (s) {
336
- k(s);
337
- }
338
- }, ce = (e) => {
339
- var t;
340
- return e.classList.add((t = I.hydratedSelectorName) != null ? t : "hydrated");
341
- }, Ge = (e, t) => b(e).$instanceValues$.get(t), Je = (e, t, r, s) => {
342
- const n = b(e);
343
- if (!n)
344
- throw new Error(
345
- `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
346
- );
347
- const l = n.$hostElement$, i = n.$instanceValues$.get(t), a = n.$flags$, o = n.$lazyInstance$;
348
- r = je(r, s.$members$[t][0]);
349
- const $ = Number.isNaN(i) && Number.isNaN(r), c = r !== i && !$;
350
- if ((!(a & 8) || i === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
351
- if (s.$watchers$ && a & 128) {
352
- const f = s.$watchers$[t];
353
- f && f.map((d) => {
354
- try {
355
- o[d](r, i, t);
356
- } catch (u) {
357
- k(u, l);
358
- }
359
- });
360
- }
361
- (a & 18) === 2 && q(n, !1);
362
- }
363
- }, $e = (e, t, r) => {
364
- var s, n;
365
- const l = e.prototype;
366
- if (t.$members$ || t.$watchers$ || e.watchers) {
367
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
368
- const i = Object.entries((s = t.$members$) != null ? s : {});
369
- if (i.map(([a, [o]]) => {
370
- (o & 31 || r & 2 && o & 32) && Object.defineProperty(l, a, {
371
- get() {
372
- return Ge(this, a);
373
- },
374
- set($) {
375
- Je(this, a, $, t);
376
- },
377
- configurable: !0,
378
- enumerable: !0
379
- });
380
- }), r & 1) {
381
- const a = /* @__PURE__ */ new Map();
382
- l.attributeChangedCallback = function(o, $, c) {
383
- m.jmp(() => {
384
- var f;
385
- const d = a.get(o);
386
- if (this.hasOwnProperty(d))
387
- c = this[d], delete this[d];
388
- else {
389
- if (l.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
390
- return;
391
- if (d == null) {
392
- const u = b(this), p = u == null ? void 0 : u.$flags$;
393
- if (p && !(p & 8) && p & 128 && c !== $) {
394
- const v = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
395
- h == null || h.forEach((g) => {
396
- v[g] != null && v[g].call(v, c, $, o);
397
- });
398
- }
399
- return;
400
- }
401
- }
402
- this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
403
- });
404
- }, e.observedAttributes = Array.from(
405
- /* @__PURE__ */ new Set([
406
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
407
- ...i.filter(
408
- ([o, $]) => $[0] & 15
409
- /* HasAttribute */
410
- ).map(([o, $]) => {
411
- const c = $[1] || o;
412
- return a.set(c, o), c;
413
- })
414
- ])
415
- );
416
- }
417
- }
418
- return e;
419
- }, Ke = (e, t, r, s) => x(void 0, null, function* () {
420
- let n;
421
- if (!(t.$flags$ & 32)) {
422
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
423
- const o = he(r);
424
- if (o && "then" in o) {
425
- const c = we();
426
- n = yield o, c();
427
- } else
428
- n = o;
429
- if (!n)
430
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
431
- n.isProxied || (r.$watchers$ = n.watchers, $e(
432
- n,
433
- r,
434
- 2
435
- /* proxyState */
436
- ), n.isProxied = !0);
437
- const $ = S("createInstance", r.$tagName$);
438
- t.$flags$ |= 8;
439
- try {
440
- new n(t);
441
- } catch (c) {
442
- k(c);
443
- }
444
- t.$flags$ &= -9, t.$flags$ |= 128, $();
445
- } else {
446
- n = e.constructor;
447
- const o = e.localName;
448
- customElements.whenDefined(o).then(
449
- () => t.$flags$ |= 128
450
- /* isWatchReady */
451
- );
452
- }
453
- if (n && n.style) {
454
- let o;
455
- typeof n.style == "string" && (o = n.style);
456
- const $ = V(r);
457
- if (!w.has($)) {
458
- const c = S("registerStyles", r.$tagName$);
459
- De($, o, !!(r.$flags$ & 1)), c();
460
- }
461
- }
462
- }
463
- const l = t.$ancestorComponent$, i = () => q(t, !0);
464
- l && l["s-rc"] ? l["s-rc"].push(i) : i();
465
- }), Re = (e) => {
466
- }, Xe = (e) => {
467
- if (!(m.$flags$ & 1)) {
468
- const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
469
- if (t.$flags$ & 1)
470
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
471
- else {
472
- t.$flags$ |= 1;
473
- {
474
- let n = e;
475
- for (; n = n.parentNode || n.host; )
476
- if (n["s-p"]) {
477
- ie(t, t.$ancestorComponent$ = n);
478
- break;
479
- }
480
- }
481
- r.$members$ && Object.entries(r.$members$).map(([n, [l]]) => {
482
- if (l & 31 && e.hasOwnProperty(n)) {
483
- const i = e[n];
484
- delete e[n], e[n] = i;
485
- }
486
- }), Ke(e, t, r);
487
- }
488
- s();
489
- }
490
- }, Ze = (e) => {
491
- }, Ve = (e) => x(void 0, null, function* () {
492
- if (!(m.$flags$ & 1)) {
493
- const t = b(e);
494
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ze());
495
- }
496
- }), rt = (e, t = {}) => {
497
- var r;
498
- const s = S(), n = [], l = t.exclude || [], i = z.customElements, a = y.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
499
- let f, d = !0;
500
- Object.assign(m, t), m.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
501
- let u = !1;
502
- if (e.map((p) => {
503
- p[1].map((v) => {
504
- var h;
505
- const g = {
506
- $flags$: v[0],
507
- $tagName$: v[1],
508
- $members$: v[2],
509
- $listeners$: v[3]
510
- };
511
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
512
- const T = g.$tagName$, fe = class extends HTMLElement {
513
- // StencilLazyHost
514
- constructor(O) {
515
- super(O), this.hasRegisteredEventListeners = !1, O = this, ve(O, g);
516
- }
517
- connectedCallback() {
518
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : m.jmp(() => Xe(this));
519
- }
520
- disconnectedCallback() {
521
- m.jmp(() => Ve(this));
522
- }
523
- componentOnReady() {
524
- return b(this).$onReadyPromise$;
525
- }
526
- };
527
- g.$lazyBundleId$ = p[0], !l.includes(T) && !i.get(T) && (n.push(T), i.define(
528
- T,
529
- $e(
530
- fe,
531
- g,
532
- 1
533
- /* isElementConstructor */
534
- )
535
- ));
536
- });
537
- }), n.length > 0 && (u && ($.textContent += K), $.textContent += n.sort() + ge, $.innerHTML.length)) {
538
- $.setAttribute("data-styles", "");
539
- const p = (r = m.$nonce$) != null ? r : X(y);
540
- p != null && $.setAttribute("nonce", p), a.insertBefore($, o ? o.nextSibling : a.firstChild);
541
- }
542
- d = !1, c.length ? c.map((p) => p.connectedCallback()) : m.jmp(() => f = setTimeout(oe, 30)), s();
543
- };
544
- export {
545
- rt as b,
546
- st as g,
547
- Ae as h,
548
- Se as p,
549
- tt as r
550
- };
@@ -1 +0,0 @@
1
- "use strict";var L=(e,t,r)=>new Promise((s,n)=>{var l=o=>{try{a(r.next(o))}catch($){n($)}},i=o=>{try{a(r.throw(o))}catch($){n($)}},a=o=>o.done?s(o.value):Promise.resolve(o.value).then(l,i);a((r=r.apply(e,t)).next())});const pe="ui-image",U={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!1,vdomXlink:!1,watchCallback:!0};var ve=Object.defineProperty,me=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},z=new WeakMap,b=e=>z.get(e),he=(e,t)=>z.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],z.set(e,r)},ye=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),_=new Map,Se=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=_.get(n);if(l)return l[s];{const i=a=>(_.set(n,a),a[s]);switch(n){case"ui-image":return Promise.resolve().then(()=>require("./ui-image-z441BZiX.cjs")).then(i,k)}}return import(`./${n}.entry.js`).then(i=>(_.set(n,i),i[s]),k)},x=new Map,be="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},m={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},ke=U.shadowDom,K=e=>Promise.resolve(e),Ee=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,N=[],X=[],Te=(e,t)=>r=>{e.push(r),j||(j=!0,m.$flags$&4?H(C):m.raf(C))},W=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){k(r)}e.length=0},C=()=>{W(N),W(X),(j=N.length>0)&&m.raf(C)},H=e=>K().then(e),Le=Te(X),M={},F=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Pe={};me(Pe,{err:()=>V,map:()=>we,ok:()=>D,unwrap:()=>xe,unwrapErr:()=>Ae});var D=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function we(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>D(s)):D(r)}if(e.isErr){const r=e.value;return V(r)}throw"should never get here"}var xe=e=>{if(e.isOk)return e.value;throw e.value},Ae=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Oe=(e,t)=>()=>{},ee=(e,t,...r)=>{let s=null,n=null,l=!1,i=!1;const a=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!F(s))&&(s=String(s)),l&&i?a[a.length-1].$text$+=s:a.push(l?I(null,s):s),i=l)};if(o(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=I(e,null);return $.$attrs$=t,a.length>0&&($.$children$=a),$.$key$=n,$},I=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},_e={},je=e=>e&&e.$tag$===_e,Ce=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,De=e=>b(e).$hostElement$,Ie=(e,t,r)=>{const s=m.ce(t,r);return e.dispatchEvent(s),s},Q=new WeakMap,Ue=(e,t,r)=>{let s=x.get(e);Ee&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,x.set(e,s)},ze=(e,t,r)=>{var s;const n=te(t),l=x.get(n);if(e=e.nodeType===11?e:y,l)if(typeof l=="string"){e=e.head||e;let i=Q.get(e),a;if(i||Q.set(e,i=new Set),!i.has(n)){{a=y.createElement("style"),a.innerHTML=l;const o=(s=m.$nonce$)!=null?s:Z(y);o!=null&&a.setAttribute("nonce",o),e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=J),i&&i.add(n)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},Be=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(r.getRootNode(),t),s()},te=(e,t)=>"sc-"+e.$tagName$,R=(e,t,r,s,n,l)=>{if(r!==s){let i=ye(e,t);if(t.toLowerCase(),t==="class"){const a=e.classList,o=Y(r),$=Y(s);a.remove(...o.filter(c=>c&&!$.includes(c))),a.add(...$.filter(c=>c&&!o.includes(c)))}else if(t==="style"){for(const a in r)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!r||s[a]!==r[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else{const a=F(s);if((i||a&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?i=!1:(r==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!i||l&4||n)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},He=/\s/,Y=e=>e?e.split(He):[],se=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||M,l=t.$attrs$||M;for(const i of G(Object.keys(n)))i in l||R(s,i,n[i],void 0,r,t.$flags$);for(const i of G(Object.keys(l)))R(s,i,n[i],l[i],r,t.$flags$)};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var re,ne=!1,le=!1,A=(e,t,r,s)=>{const n=t.$children$[r];let l=0,i,a;if(i=n.$elm$=y.createElement(!ne&&U.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),se(null,n,le),n.$children$)for(l=0;l<n.$children$.length;++l)a=A(e,n,l),a&&i.appendChild(a);return i["s-hn"]=re,i},ae=(e,t,r,s,n,l)=>{let i=e,a;for(;n<=l;++n)s[n]&&(a=A(null,r,n),a&&(s[n].$elm$=a,w(i,a,t)))},ie=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const l=n.$elm$;oe(n),l&&l.remove()}}},Fe=(e,t,r,s,n=!1)=>{let l=0,i=0,a=0,o=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],p=s[d],v,h;for(;l<=$&&i<=d;)if(c==null)c=t[++l];else if(f==null)f=t[--$];else if(u==null)u=s[++i];else if(p==null)p=s[--d];else if(P(c,u,n))E(c,u,n),c=t[++l],u=s[++i];else if(P(f,p,n))E(f,p,n),f=t[--$],p=s[--d];else if(P(c,p,n))E(c,p,n),w(e,c.$elm$,f.$elm$.nextSibling),c=t[++l],p=s[--d];else if(P(f,u,n))E(f,u,n),w(e,f.$elm$,c.$elm$),f=t[--$],u=s[++i];else{for(a=-1,o=l;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(h=t[a],h.$tag$!==u.$tag$?v=A(t&&t[i],r,a):(E(h,u,n),t[a]=void 0,v=h.$elm$),u=s[++i]):(v=A(t&&t[i],r,i),u=s[++i]),v&&w(c.$elm$.parentNode,v,c.$elm$)}l>$?ae(e,s[d+1]==null?null:s[d+1].$elm$,r,s,i,d):i>d&&ie(t,l,$)},P=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,E=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,l=t.$children$;se(e,t,le),n!==null&&l!==null?Fe(s,n,t,l,r):l!==null?ae(s,null,t,l,0,l.length-1):n!==null&&ie(n,0,n.length-1)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},w=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),qe=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$vnode$||I(null,null),l=je(t)?t:ee(null,null,t);if(re=s.tagName,r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=n.$elm$=s,ne=ke,E(n,l,r)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),Le(()=>Ne(e,t))},Ne=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`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`);let l;return s(),We(l,()=>Qe(e,n,t))},We=(e,t)=>Me(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Me=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,r)=>L(exports,null,function*(){var s;const n=e.$hostElement$,l=S("update",e.$cmpMeta$.$tagName$),i=n["s-rc"];r&&Be(e);const a=S("render",e.$cmpMeta$.$tagName$);Re(e,t,n,r),i&&(i.map(o=>o()),n["s-rc"]=void 0),a(),l();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ye(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.length=0)}}),Re=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,qe(e,t,s)}catch(n){k(n,e.$hostElement$)}return null},Ye=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,l=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,fe(r),Ge(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),l||$e()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>q(e,!1)),e.$flags$&=-517},$e=e=>{fe(y.documentElement),H(()=>Ie(B,"appload",{detail:{namespace:pe}}))},Ge=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){k(s)}},fe=e=>{var t;return e.classList.add((t=U.hydratedSelectorName)!=null?t:"hydrated")},Je=(e,t)=>b(e).$instanceValues$.get(t),Ke=(e,t,r,s)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=n.$hostElement$,i=n.$instanceValues$.get(t),a=n.$flags$,o=n.$lazyInstance$;r=Ce(r,s.$members$[t][0]);const $=Number.isNaN(i)&&Number.isNaN(r),c=r!==i&&!$;if((!(a&8)||i===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&a&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](r,i,t)}catch(u){k(u,l)}})}(a&18)===2&&q(n,!1)}},de=(e,t,r)=>{var s,n;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const i=Object.entries((s=t.$members$)!=null?s:{});if(i.map(([a,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(l,a,{get(){return Je(this,a)},set($){Ke(this,a,$,t)},configurable:!0,enumerable:!0})}),r&1){const a=new Map;l.attributeChangedCallback=function(o,$,c){m.jmp(()=>{var f;const d=a.get(o);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(l.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=b(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&c!==$){const v=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[o];h==null||h.forEach(g=>{v[g]!=null&&v[g].call(v,c,$,o)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...i.filter(([o,$])=>$[0]&15).map(([o,$])=>{const c=$[1]||o;return a.set(c,o),c})]))}}return e},Xe=(e,t,r,s)=>L(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const o=Se(r);if(o&&"then"in o){const c=Oe();n=yield o,c()}else n=o;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,de(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=te(r);if(!x.has($)){const c=S("registerStyles",r.$tagName$);Ue($,o,!!(r.$flags$&1)),c()}}}const l=t.$ancestorComponent$,i=()=>q(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()}),Ze=e=>{},Ve=e=>{if(!(m.$flags$&1)){const t=b(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ze());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ce(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[l]])=>{if(l&31&&e.hasOwnProperty(n)){const i=e[n];delete e[n],e[n]=i}}),Xe(e,t,r)}s()}},et=e=>{},tt=e=>L(exports,null,function*(){if(!(m.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var r;const s=S(),n=[],l=t.exclude||[],i=B.customElements,a=y.head,o=a.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let f,d=!0;Object.assign(m,t),m.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(v=>{var h;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$watchers$=(h=v[4])!=null?h:{};const T=g.$tagName$,ue=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,ge(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):m.jmp(()=>Ve(this))}disconnectedCallback(){m.jmp(()=>tt(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!l.includes(T)&&!i.get(T)&&(n.push(T),i.define(T,de(ue,g,1)))})}),n.length>0&&(u&&($.textContent+=J),$.textContent+=n.sort()+be,$.innerHTML.length)){$.setAttribute("data-styles","");const p=(r=m.$nonce$)!=null?r:Z(y);p!=null&&$.setAttribute("nonce",p),a.insertBefore($,o?o.nextSibling:a.firstChild)}d=!1,c.length?c.map(p=>p.connectedCallback()):m.jmp(()=>f=setTimeout($e,30)),s()};exports.bootstrapLazy=st;exports.getElement=De;exports.h=ee;exports.promiseResolve=K;exports.registerInstance=he;
@@ -1,39 +0,0 @@
1
- import { r as i, h as n, g as a } from "./index-b7bbd57e-6KaMTlNN.js";
2
- const o = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", r = o, h = class {
3
- constructor(e) {
4
- i(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
5
- }
6
- handleSrc() {
7
- if (!this.shouldLoad)
8
- return;
9
- const e = new Image();
10
- e.src = this.src, e.onload = () => {
11
- this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
12
- };
13
- }
14
- componentDidLoad() {
15
- "IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
16
- e.forEach((t) => {
17
- if (t.isIntersecting) {
18
- const s = t.target.__uxComponent;
19
- s && (s.shouldLoad = !0, s.handleSrc()), window.EMUxObserver.unobserve(t.target);
20
- }
21
- });
22
- }, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
23
- }
24
- render() {
25
- return n("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
26
- }
27
- get el() {
28
- return a(this);
29
- }
30
- static get watchers() {
31
- return {
32
- src: ["handleSrc"]
33
- };
34
- }
35
- };
36
- h.style = r;
37
- export {
38
- h as U
39
- };
@@ -1,39 +0,0 @@
1
- import { r as i, h as n, g as a } from "./index-b7bbd57e-BSagye0B.js";
2
- const o = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", r = o, h = class {
3
- constructor(e) {
4
- i(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
5
- }
6
- handleSrc() {
7
- if (!this.shouldLoad)
8
- return;
9
- const e = new Image();
10
- e.src = this.src, e.onload = () => {
11
- this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
12
- };
13
- }
14
- componentDidLoad() {
15
- "IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
16
- e.forEach((t) => {
17
- if (t.isIntersecting) {
18
- const s = t.target.__uxComponent;
19
- s && (s.shouldLoad = !0, s.handleSrc()), window.EMUxObserver.unobserve(t.target);
20
- }
21
- });
22
- }, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
23
- }
24
- render() {
25
- return n("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
26
- }
27
- get el() {
28
- return a(this);
29
- }
30
- static get watchers() {
31
- return {
32
- src: ["handleSrc"]
33
- };
34
- }
35
- };
36
- h.style = r;
37
- export {
38
- h as U
39
- };
@@ -1 +0,0 @@
1
- "use strict";const i=require("./index-b7bbd57e-DIQXXTTR.cjs"),a=":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}",r=a,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.imgClass="",this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.src=this.src,e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,this.el.dispatchEvent(new CustomEvent("load",{bubbles:!0})))}}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h("img",{key:"2bb4dc391fc2f753514103e91c0abf065de3236a",ref:e=>this.image=e,style:this.styles,class:`${this.imgClass} ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"})}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=r;exports.UiImage=n;