@everymatrix/cashier-method-details 1.65.1 → 1.65.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierConfirmModal-CNzEOcOZ.js → CashierConfirmModal-CtBIJQDU.js} +70 -70
- package/components/{CashierConfirmModal-CiWxBakF.cjs → CashierConfirmModal-DEzuo7Bg.cjs} +2 -2
- package/components/{CashierConfirmModal-3pkCHAVZ.js → CashierConfirmModal-TYfPeOH8.js} +58 -58
- package/components/{CashierError-Bisyjt8z.js → CashierError-Bw5qOyJs.js} +810 -812
- package/components/{CashierError-DV-HLY8d.js → CashierError-CHsTkt7u.js} +809 -811
- package/components/CashierError-DVLgGyUh.cjs +18 -0
- package/components/CashierHeader-CEvdDrfe.cjs +1 -0
- package/components/{CashierHeader-BmFLcvOn.js → CashierHeader-Z9Dkao9v.js} +76 -76
- package/components/{CashierHeader-D5rWgCkR.js → CashierHeader-fHspPo9v.js} +76 -76
- package/components/{CashierIframeRedirect-YQyiKoBW.js → CashierIframeRedirect-Bd3_Ytmf.js} +32 -32
- package/components/{CashierIframeRedirect-CplYaWdF.js → CashierIframeRedirect-DUaxZV0e.js} +30 -30
- package/components/{CashierIframeRedirect-w9WegkSw.cjs → CashierIframeRedirect-DqYyBYzD.cjs} +1 -1
- package/components/{CashierMethodDetails-6Vq4Yp6x.cjs → CashierMethodDetails-DWntRxEw.cjs} +3 -3
- package/components/{CashierMethodDetails-BVCH1FhZ.js → CashierMethodDetails-Dy-Nkyvt.js} +281 -281
- package/components/{CashierMethodDetails-CN4u3_nM.js → CashierMethodDetails-X72aA6u9.js} +286 -286
- package/components/{CashierModal-Dv-7ZIuz.js → CashierModal-BQxHPHHb.js} +34 -34
- package/components/{CashierModal-PGQGrAgY.js → CashierModal-CLvDbc8q.js} +34 -34
- package/components/{CashierModal-yskXp9fE.cjs → CashierModal-CdmVfVpE.cjs} +1 -1
- package/components/{CashierNotifications-BMYdcdkg.js → CashierNotifications-BGYZu72b.js} +19 -19
- package/components/{CashierNotifications-C5Z_cNID.cjs → CashierNotifications-BukAUauv.cjs} +1 -1
- package/components/{CashierNotifications-Dy0g_QWG.js → CashierNotifications-DEHoF_Sw.js} +19 -19
- package/components/{CashierReceiptPage-CLiK3irL.js → CashierReceiptPage-B9aXsMvp.js} +28 -28
- package/components/{CashierReceiptPage-D0fllFek.js → CashierReceiptPage-CgWabFM6.js} +28 -28
- package/components/{CashierReceiptPage-BZad_kGY.cjs → CashierReceiptPage-Dt18t8R6.cjs} +1 -1
- package/components/{CashierSpinner-C6y-LmOW.js → CashierSpinner-C5RZVcAb.js} +17 -17
- package/components/{CashierSpinner-Yt2VnUjd.js → CashierSpinner-D8rNHX9t.js} +17 -17
- package/components/{CashierSpinner-BdCzICuN.cjs → CashierSpinner-DQguiJs6.cjs} +1 -1
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
- package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
- package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
- package/stencil/{ui-image-CMb1eK44.cjs → ui-image-B2ynFkLT.cjs} +1 -1
- package/stencil/{ui-image-CQQDA5b0.js → ui-image-D7A7MInC.js} +1 -1
- package/stencil/{ui-image-CmwNU-jf.js → ui-image-D_Js9Evk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-Df0q0jE8.js} +2 -2
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-EP2dwjfi.js} +2 -2
- package/components/CashierError-GVInnLO0.cjs +0 -5
- package/components/CashierHeader-Dpm_m2-F.cjs +0 -1
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
@@ -1,48 +1,48 @@
|
|
1
|
-
var
|
1
|
+
var T = (e, t, n) => new Promise((s, r) => {
|
2
2
|
var i = (a) => {
|
3
3
|
try {
|
4
|
-
|
5
|
-
} catch (
|
6
|
-
r(
|
4
|
+
o(n.next(a));
|
5
|
+
} catch (c) {
|
6
|
+
r(c);
|
7
7
|
}
|
8
8
|
}, l = (a) => {
|
9
9
|
try {
|
10
|
-
|
11
|
-
} catch (
|
12
|
-
r(
|
10
|
+
o(n.throw(a));
|
11
|
+
} catch (c) {
|
12
|
+
r(c);
|
13
13
|
}
|
14
|
-
},
|
15
|
-
|
14
|
+
}, o = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
|
15
|
+
o((n = n.apply(e, t)).next());
|
16
16
|
});
|
17
17
|
const ue = "ui-image", de = (
|
18
18
|
/* ui-image */
|
19
|
-
{ hydratedSelectorName: "hydrated" }
|
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: !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: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
20
20
|
);
|
21
|
-
var
|
21
|
+
var pe = Object.defineProperty, he = (e, t) => {
|
22
22
|
for (var n in t)
|
23
|
-
|
24
|
-
},
|
23
|
+
pe(e, n, { get: t[n], enumerable: !0 });
|
24
|
+
}, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), tt = (e, t) => B.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
|
25
25
|
const n = {
|
26
26
|
$flags$: 0,
|
27
27
|
$hostElement$: e,
|
28
28
|
$cmpMeta$: t,
|
29
29
|
$instanceValues$: /* @__PURE__ */ new Map()
|
30
30
|
};
|
31
|
-
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [],
|
32
|
-
},
|
31
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
32
|
+
}, q = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), C = /* @__PURE__ */ new Map(), ge = (e, t, n) => {
|
33
33
|
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
34
34
|
if (!r)
|
35
35
|
return;
|
36
|
-
const i =
|
36
|
+
const i = C.get(r);
|
37
37
|
if (i)
|
38
38
|
return i[s];
|
39
39
|
{
|
40
|
-
const l = (
|
40
|
+
const l = (o) => (C.set(r, o), o[s]);
|
41
41
|
switch (r) {
|
42
42
|
case "ui-image_2":
|
43
43
|
return import(
|
44
44
|
/* webpackMode: "lazy" */
|
45
|
-
"./ui-image_2-
|
45
|
+
"./ui-image_2-Df0q0jE8.js"
|
46
46
|
).then(l, k);
|
47
47
|
}
|
48
48
|
}
|
@@ -52,8 +52,8 @@ var ve = Object.defineProperty, ge = (e, t) => {
|
|
52
52
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
53
53
|
/* webpackMode: "lazy" */
|
54
54
|
`./${r}.entry.js`
|
55
|
-
).then((l) => (
|
56
|
-
}, A = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}",
|
55
|
+
).then((l) => (C.set(r, l), l[s]), k);
|
56
|
+
}, A = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", w = typeof window != "undefined" ? window : {}, m = w.document || { head: {} }, v = {
|
57
57
|
$flags$: 0,
|
58
58
|
$resourcesUrl$: "",
|
59
59
|
jmp: (e) => e(),
|
@@ -67,8 +67,8 @@ var ve = Object.defineProperty, ge = (e, t) => {
|
|
67
67
|
} catch (e) {
|
68
68
|
}
|
69
69
|
return !1;
|
70
|
-
})(),
|
71
|
-
e.push(n),
|
70
|
+
})(), j = !1, W = [], K = [], Ee = (e, t) => (n) => {
|
71
|
+
e.push(n), j || (j = !0, v.$flags$ & 4 ? F(U) : v.raf(U));
|
72
72
|
}, M = (e) => {
|
73
73
|
for (let t = 0; t < e.length; t++)
|
74
74
|
try {
|
@@ -78,21 +78,21 @@ var ve = Object.defineProperty, ge = (e, t) => {
|
|
78
78
|
}
|
79
79
|
e.length = 0;
|
80
80
|
}, U = () => {
|
81
|
-
M(W), M(
|
82
|
-
},
|
83
|
-
function
|
81
|
+
M(W), M(K), (j = W.length > 0) && v.raf(U);
|
82
|
+
}, F = (e) => me().then(e), ke = /* @__PURE__ */ Ee(K), R = {}, H = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
+
function Z(e) {
|
84
84
|
var t, n, s;
|
85
85
|
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
86
86
|
}
|
87
87
|
var be = {};
|
88
|
-
|
88
|
+
he(be, {
|
89
89
|
err: () => N,
|
90
90
|
map: () => xe,
|
91
|
-
ok: () =>
|
92
|
-
unwrap: () =>
|
93
|
-
unwrapErr: () =>
|
91
|
+
ok: () => I,
|
92
|
+
unwrap: () => Te,
|
93
|
+
unwrapErr: () => Pe
|
94
94
|
});
|
95
|
-
var
|
95
|
+
var I = (e) => ({
|
96
96
|
isOk: !0,
|
97
97
|
isErr: !1,
|
98
98
|
value: e
|
@@ -104,7 +104,7 @@ var H = (e) => ({
|
|
104
104
|
function xe(e, t) {
|
105
105
|
if (e.isOk) {
|
106
106
|
const n = t(e.value);
|
107
|
-
return n instanceof Promise ? n.then((s) =>
|
107
|
+
return n instanceof Promise ? n.then((s) => I(s)) : I(n);
|
108
108
|
}
|
109
109
|
if (e.isErr) {
|
110
110
|
const n = e.value;
|
@@ -112,32 +112,32 @@ function xe(e, t) {
|
|
112
112
|
}
|
113
113
|
throw "should never get here";
|
114
114
|
}
|
115
|
-
var
|
115
|
+
var Te = (e) => {
|
116
116
|
if (e.isOk)
|
117
117
|
return e.value;
|
118
118
|
throw e.value;
|
119
|
-
},
|
119
|
+
}, Pe = (e) => {
|
120
120
|
if (e.isErr)
|
121
121
|
return e.value;
|
122
122
|
throw e.value;
|
123
123
|
}, S = (e, t = "") => () => {
|
124
|
-
},
|
124
|
+
}, Le = (e, t) => () => {
|
125
125
|
}, Ae = (e, t, ...n) => {
|
126
126
|
let s = null, r = null, i = !1, l = !1;
|
127
|
-
const
|
128
|
-
for (let f = 0; f <
|
129
|
-
s =
|
127
|
+
const o = [], a = ($) => {
|
128
|
+
for (let f = 0; f < $.length; f++)
|
129
|
+
s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !H(s)) && (s = String(s)), i && l ? o[o.length - 1].$text$ += s : o.push(i ? D(null, s) : s), l = i);
|
130
130
|
};
|
131
131
|
if (a(n), t) {
|
132
132
|
t.key && (r = t.key);
|
133
133
|
{
|
134
|
-
const
|
135
|
-
|
134
|
+
const $ = t.className || t.class;
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
136
136
|
}
|
137
137
|
}
|
138
|
-
const
|
139
|
-
return
|
140
|
-
},
|
138
|
+
const c = D(e, null);
|
139
|
+
return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = r, c;
|
140
|
+
}, D = (e, t) => {
|
141
141
|
const n = {
|
142
142
|
$flags$: 0,
|
143
143
|
$tag$: e,
|
@@ -146,10 +146,10 @@ var Pe = (e) => {
|
|
146
146
|
$children$: null
|
147
147
|
};
|
148
148
|
return n.$attrs$ = null, n.$key$ = null, n;
|
149
|
-
},
|
150
|
-
const s =
|
149
|
+
}, _e = {}, we = (e) => e && e.$tag$ === _e, Oe = (e, t) => e != null && !H(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, st = (e) => E(e).$hostElement$, Ce = (e, t, n) => {
|
150
|
+
const s = v.ce(t, n);
|
151
151
|
return e.dispatchEvent(s), s;
|
152
|
-
}, X = /* @__PURE__ */ new WeakMap(),
|
152
|
+
}, X = /* @__PURE__ */ new WeakMap(), je = (e, t, n) => {
|
153
153
|
let s = A.get(e);
|
154
154
|
Se && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
155
155
|
}, Ue = (e, t, n) => {
|
@@ -158,30 +158,30 @@ var Pe = (e) => {
|
|
158
158
|
if (e = e.nodeType === 11 ? e : m, i)
|
159
159
|
if (typeof i == "string") {
|
160
160
|
e = e.head || e;
|
161
|
-
let l = X.get(e),
|
161
|
+
let l = X.get(e), o;
|
162
162
|
if (l || X.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
163
163
|
{
|
164
|
-
|
165
|
-
const a = (s =
|
166
|
-
a != null &&
|
164
|
+
o = m.createElement("style"), o.innerHTML = i;
|
165
|
+
const a = (s = v.$nonce$) != null ? s : Z(m);
|
166
|
+
a != null && o.setAttribute("nonce", a), e.insertBefore(o, e.querySelector("link"));
|
167
167
|
}
|
168
|
-
t.$flags$ & 4 && (
|
168
|
+
t.$flags$ & 4 && (o.innerHTML += J), l && l.add(r);
|
169
169
|
}
|
170
170
|
} else
|
171
171
|
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
172
172
|
return r;
|
173
|
-
},
|
173
|
+
}, Ie = (e) => {
|
174
174
|
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
175
175
|
Ue(
|
176
176
|
n.getRootNode(),
|
177
177
|
t
|
178
178
|
), s();
|
179
|
-
}, V = (e, t) => "sc-" + e.$tagName$,
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, G = (e, t, n, s, r, i) => {
|
180
180
|
if (n !== s) {
|
181
|
-
let l =
|
181
|
+
let l = q(e, t), o = t.toLowerCase();
|
182
182
|
if (t === "class") {
|
183
|
-
const a = e.classList,
|
184
|
-
a.remove(...
|
183
|
+
const a = e.classList, c = Q(n), $ = Q(s);
|
184
|
+
a.remove(...c.filter((f) => f && !$.includes(f))), a.add(...$.filter((f) => f && !c.includes(f)));
|
185
185
|
} else if (t === "style") {
|
186
186
|
for (const a in n)
|
187
187
|
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
@@ -191,33 +191,33 @@ var Pe = (e) => {
|
|
191
191
|
if (t === "ref")
|
192
192
|
s && s(e);
|
193
193
|
else if (!l && t[0] === "o" && t[1] === "n") {
|
194
|
-
if (t[2] === "-" ? t = t.slice(3) :
|
194
|
+
if (t[2] === "-" ? t = t.slice(3) : q(w, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
|
195
195
|
const a = t.endsWith(ee);
|
196
|
-
t = t.replace(
|
196
|
+
t = t.replace(Be, ""), n && v.rel(e, t, n, a), s && v.ael(e, t, s, a);
|
197
197
|
}
|
198
198
|
} else {
|
199
|
-
const a =
|
199
|
+
const a = H(s);
|
200
200
|
if (l || a && s !== null)
|
201
201
|
try {
|
202
202
|
if (e.tagName.includes("-"))
|
203
203
|
e[t] = s;
|
204
204
|
else {
|
205
|
-
const
|
206
|
-
t === "list" ? l = !1 : (n == null || e[t] !=
|
205
|
+
const c = s == null ? "" : s;
|
206
|
+
t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
|
207
207
|
}
|
208
|
-
} catch (
|
208
|
+
} catch (c) {
|
209
209
|
}
|
210
210
|
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
211
211
|
}
|
212
212
|
}
|
213
|
-
},
|
214
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ ||
|
215
|
-
for (const l of
|
216
|
-
l in i ||
|
217
|
-
for (const l of
|
218
|
-
|
213
|
+
}, De = /\s/, Q = (e) => e ? e.split(De) : [], ee = "Capture", Be = new RegExp(ee + "$"), te = (e, t, n) => {
|
214
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || R, i = t.$attrs$ || R;
|
215
|
+
for (const l of Y(Object.keys(r)))
|
216
|
+
l in i || G(s, l, r[l], void 0, n, t.$flags$);
|
217
|
+
for (const l of Y(Object.keys(i)))
|
218
|
+
G(s, l, r[l], i[l], n, t.$flags$);
|
219
219
|
};
|
220
|
-
function
|
220
|
+
function Y(e) {
|
221
221
|
return e.includes("ref") ? (
|
222
222
|
// we need to sort these to ensure that `'ref'` is the last attr
|
223
223
|
[...e.filter((t) => t !== "ref"), "ref"]
|
@@ -226,21 +226,21 @@ function K(e) {
|
|
226
226
|
e
|
227
227
|
);
|
228
228
|
}
|
229
|
-
var se, ne = !1,
|
229
|
+
var se, ne = !1, _ = (e, t, n, s) => {
|
230
230
|
const r = t.$children$[n];
|
231
|
-
let i = 0, l,
|
231
|
+
let i = 0, l, o;
|
232
232
|
if (r.$text$ !== null)
|
233
233
|
l = r.$elm$ = m.createTextNode(r.$text$);
|
234
234
|
else if (l = r.$elm$ = m.createElement(
|
235
235
|
r.$tag$
|
236
236
|
), te(null, r, ne), r.$children$)
|
237
237
|
for (i = 0; i < r.$children$.length; ++i)
|
238
|
-
|
238
|
+
o = _(e, r, i), o && l.appendChild(o);
|
239
239
|
return l["s-hn"] = se, l;
|
240
240
|
}, re = (e, t, n, s, r, i) => {
|
241
|
-
let l = e,
|
241
|
+
let l = e, o;
|
242
242
|
for (; r <= i; ++r)
|
243
|
-
s[r] && (
|
243
|
+
s[r] && (o = _(null, n, r), o && (s[r].$elm$ = o, L(l, o, t)));
|
244
244
|
}, le = (e, t, n) => {
|
245
245
|
for (let s = t; s <= n; ++s) {
|
246
246
|
const r = e[s];
|
@@ -249,113 +249,113 @@ var se, ne = !1, L = (e, t, n, s) => {
|
|
249
249
|
ae(r), i && i.remove();
|
250
250
|
}
|
251
251
|
}
|
252
|
-
},
|
253
|
-
let i = 0, l = 0,
|
254
|
-
for (; i <=
|
255
|
-
if (
|
256
|
-
|
252
|
+
}, Fe = (e, t, n, s, r = !1) => {
|
253
|
+
let i = 0, l = 0, o = 0, a = 0, c = t.length - 1, $ = t[0], f = t[c], u = s.length - 1, d = s[0], p = s[u], h, g;
|
254
|
+
for (; i <= c && l <= u; )
|
255
|
+
if ($ == null)
|
256
|
+
$ = t[++i];
|
257
257
|
else if (f == null)
|
258
|
-
f = t[--
|
258
|
+
f = t[--c];
|
259
259
|
else if (d == null)
|
260
260
|
d = s[++l];
|
261
|
-
else if (
|
262
|
-
|
263
|
-
else if (
|
264
|
-
b(
|
265
|
-
else if (
|
266
|
-
b(f,
|
267
|
-
else if (
|
268
|
-
b(
|
269
|
-
else if (
|
270
|
-
b(f, d, r),
|
261
|
+
else if (p == null)
|
262
|
+
p = s[--u];
|
263
|
+
else if (P($, d, r))
|
264
|
+
b($, d, r), $ = t[++i], d = s[++l];
|
265
|
+
else if (P(f, p, r))
|
266
|
+
b(f, p, r), f = t[--c], p = s[--u];
|
267
|
+
else if (P($, p, r))
|
268
|
+
b($, p, r), L(e, $.$elm$, f.$elm$.nextSibling), $ = t[++i], p = s[--u];
|
269
|
+
else if (P(f, d, r))
|
270
|
+
b(f, d, r), L(e, f.$elm$, $.$elm$), f = t[--c], d = s[++l];
|
271
271
|
else {
|
272
|
-
for (
|
272
|
+
for (o = -1, a = i; a <= c; ++a)
|
273
273
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
274
|
-
|
274
|
+
o = a;
|
275
275
|
break;
|
276
276
|
}
|
277
|
-
|
277
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? h = _(t && t[l], n, o) : (b(g, d, r), t[o] = void 0, h = g.$elm$), d = s[++l]) : (h = _(t && t[l], n, l), d = s[++l]), h && L($.$elm$.parentNode, h, $.$elm$);
|
278
278
|
}
|
279
|
-
i >
|
279
|
+
i > c ? re(
|
280
280
|
e,
|
281
281
|
s[u + 1] == null ? null : s[u + 1].$elm$,
|
282
282
|
n,
|
283
283
|
s,
|
284
284
|
l,
|
285
285
|
u
|
286
|
-
) : l > u && le(t, i,
|
287
|
-
},
|
286
|
+
) : l > u && le(t, i, c);
|
287
|
+
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
|
288
288
|
const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
|
289
|
-
l === null ? (te(e, t, ne), r !== null && i !== null ?
|
289
|
+
l === null ? (te(e, t, ne), r !== null && i !== null ? Fe(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), re(s, null, t, i, 0, i.length - 1)) : r !== null && le(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
290
290
|
}, ae = (e) => {
|
291
291
|
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
|
292
|
-
},
|
293
|
-
const s = e.$hostElement$, r = e.$vnode$ ||
|
292
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), He = (e, t, n = !1) => {
|
293
|
+
const s = e.$hostElement$, r = e.$vnode$ || D(null, null), i = we(t) ? t : Ae(null, null, t);
|
294
294
|
if (se = s.tagName, n && i.$attrs$)
|
295
295
|
for (const l of Object.keys(i.$attrs$))
|
296
296
|
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
|
297
297
|
i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = s, b(r, i, n);
|
298
298
|
}, ie = (e, t) => {
|
299
299
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
300
|
-
},
|
300
|
+
}, z = (e, t) => {
|
301
301
|
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
302
302
|
e.$flags$ |= 512;
|
303
303
|
return;
|
304
304
|
}
|
305
|
-
return ie(e, e.$ancestorComponent$), ke(() =>
|
306
|
-
},
|
305
|
+
return ie(e, e.$ancestorComponent$), ke(() => ze(e, t));
|
306
|
+
}, ze = (e, t) => {
|
307
307
|
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
308
308
|
if (!r)
|
309
309
|
throw new Error(
|
310
310
|
`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`
|
311
311
|
);
|
312
312
|
let i;
|
313
|
-
return s(),
|
314
|
-
},
|
313
|
+
return s(), qe(i, () => Me(e, r, t));
|
314
|
+
}, qe = (e, t) => We(e) ? e.then(t).catch((n) => {
|
315
315
|
console.error(n), t();
|
316
|
-
}) : t(), We = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) =>
|
316
|
+
}) : t(), We = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) => T(void 0, null, function* () {
|
317
317
|
var s;
|
318
318
|
const r = e.$hostElement$, i = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
319
|
-
n &&
|
320
|
-
const
|
321
|
-
|
319
|
+
n && Ie(e);
|
320
|
+
const o = S("render", e.$cmpMeta$.$tagName$);
|
321
|
+
Re(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), o(), i();
|
322
322
|
{
|
323
|
-
const a = (s = r["s-p"]) != null ? s : [],
|
324
|
-
a.length === 0 ?
|
323
|
+
const a = (s = r["s-p"]) != null ? s : [], c = () => Xe(e);
|
324
|
+
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
325
325
|
}
|
326
|
-
}),
|
326
|
+
}), Re = (e, t, n, s) => {
|
327
327
|
try {
|
328
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2,
|
328
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, s);
|
329
329
|
} catch (r) {
|
330
330
|
k(r, e.$hostElement$);
|
331
331
|
}
|
332
332
|
return null;
|
333
333
|
}, Xe = (e) => {
|
334
334
|
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
335
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64,
|
336
|
-
},
|
337
|
-
|
338
|
-
},
|
335
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ce(n), Ge(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), i || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && F(() => z(e, !1)), e.$flags$ &= -517;
|
336
|
+
}, oe = (e) => {
|
337
|
+
ce(m.documentElement), F(() => Ce(w, "appload", { detail: { namespace: ue } }));
|
338
|
+
}, Ge = (e, t, n) => {
|
339
339
|
if (e && e[t])
|
340
340
|
try {
|
341
341
|
return e[t](n);
|
342
342
|
} catch (s) {
|
343
343
|
k(s);
|
344
344
|
}
|
345
|
-
},
|
345
|
+
}, ce = (e) => {
|
346
346
|
var t;
|
347
347
|
return e.classList.add((t = de.hydratedSelectorName) != null ? t : "hydrated");
|
348
|
-
},
|
348
|
+
}, Qe = (e, t) => E(e).$instanceValues$.get(t), Ye = (e, t, n, s) => {
|
349
349
|
const r = E(e);
|
350
350
|
if (!r)
|
351
351
|
throw new Error(
|
352
352
|
`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).`
|
353
353
|
);
|
354
|
-
const i = r.$hostElement$, l = r.$instanceValues$.get(t),
|
354
|
+
const i = r.$hostElement$, l = r.$instanceValues$.get(t), o = r.$flags$, a = r.$lazyInstance$;
|
355
355
|
n = Oe(n, s.$members$[t][0]);
|
356
|
-
const
|
357
|
-
if ((!(
|
358
|
-
if (s.$watchers$ &&
|
356
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
357
|
+
if ((!(o & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
|
358
|
+
if (s.$watchers$ && o & 128) {
|
359
359
|
const f = s.$watchers$[t];
|
360
360
|
f && f.map((u) => {
|
361
361
|
try {
|
@@ -365,90 +365,90 @@ var se, ne = !1, L = (e, t, n, s) => {
|
|
365
365
|
}
|
366
366
|
});
|
367
367
|
}
|
368
|
-
(
|
368
|
+
(o & 18) === 2 && z(r, !1);
|
369
369
|
}
|
370
|
-
},
|
370
|
+
}, $e = (e, t, n) => {
|
371
371
|
var s, r;
|
372
372
|
const i = e.prototype;
|
373
373
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
374
374
|
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
375
375
|
const l = Object.entries((s = t.$members$) != null ? s : {});
|
376
|
-
if (l.map(([
|
377
|
-
(a & 31 || n & 2 && a & 32) && Object.defineProperty(i,
|
376
|
+
if (l.map(([o, [a]]) => {
|
377
|
+
(a & 31 || n & 2 && a & 32) && Object.defineProperty(i, o, {
|
378
378
|
get() {
|
379
|
-
return
|
379
|
+
return Qe(this, o);
|
380
380
|
},
|
381
|
-
set(
|
382
|
-
|
381
|
+
set(c) {
|
382
|
+
Ye(this, o, c, t);
|
383
383
|
},
|
384
384
|
configurable: !0,
|
385
385
|
enumerable: !0
|
386
386
|
});
|
387
387
|
}), n & 1) {
|
388
|
-
const
|
389
|
-
i.attributeChangedCallback = function(a,
|
390
|
-
|
388
|
+
const o = /* @__PURE__ */ new Map();
|
389
|
+
i.attributeChangedCallback = function(a, c, $) {
|
390
|
+
v.jmp(() => {
|
391
391
|
var f;
|
392
|
-
const u =
|
392
|
+
const u = o.get(a);
|
393
393
|
if (this.hasOwnProperty(u))
|
394
|
-
|
394
|
+
$ = this[u], delete this[u];
|
395
395
|
else {
|
396
|
-
if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] ==
|
396
|
+
if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
397
397
|
return;
|
398
398
|
if (u == null) {
|
399
|
-
const d = E(this),
|
400
|
-
if (
|
401
|
-
const
|
402
|
-
|
403
|
-
|
399
|
+
const d = E(this), p = d == null ? void 0 : d.$flags$;
|
400
|
+
if (p && !(p & 8) && p & 128 && $ !== c) {
|
401
|
+
const h = d.$lazyInstance$, g = (f = t.$watchers$) == null ? void 0 : f[a];
|
402
|
+
g == null || g.forEach((y) => {
|
403
|
+
h[y] != null && h[y].call(h, $, c, a);
|
404
404
|
});
|
405
405
|
}
|
406
406
|
return;
|
407
407
|
}
|
408
408
|
}
|
409
|
-
this[u] =
|
409
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
410
410
|
});
|
411
411
|
}, e.observedAttributes = Array.from(
|
412
412
|
/* @__PURE__ */ new Set([
|
413
413
|
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
414
414
|
...l.filter(
|
415
|
-
([a,
|
415
|
+
([a, c]) => c[0] & 15
|
416
416
|
/* HasAttribute */
|
417
|
-
).map(([a,
|
418
|
-
const
|
419
|
-
return
|
417
|
+
).map(([a, c]) => {
|
418
|
+
const $ = c[1] || a;
|
419
|
+
return o.set($, a), $;
|
420
420
|
})
|
421
421
|
])
|
422
422
|
);
|
423
423
|
}
|
424
424
|
}
|
425
425
|
return e;
|
426
|
-
},
|
426
|
+
}, Je = (e, t, n, s) => T(void 0, null, function* () {
|
427
427
|
let r;
|
428
428
|
if (!(t.$flags$ & 32)) {
|
429
429
|
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
430
|
-
const a =
|
430
|
+
const a = ge(n);
|
431
431
|
if (a && "then" in a) {
|
432
|
-
const
|
433
|
-
r = yield a,
|
432
|
+
const $ = Le();
|
433
|
+
r = yield a, $();
|
434
434
|
} else
|
435
435
|
r = a;
|
436
436
|
if (!r)
|
437
437
|
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
438
|
-
r.isProxied || (n.$watchers$ = r.watchers,
|
438
|
+
r.isProxied || (n.$watchers$ = r.watchers, $e(
|
439
439
|
r,
|
440
440
|
n,
|
441
441
|
2
|
442
442
|
/* proxyState */
|
443
443
|
), r.isProxied = !0);
|
444
|
-
const
|
444
|
+
const c = S("createInstance", n.$tagName$);
|
445
445
|
t.$flags$ |= 8;
|
446
446
|
try {
|
447
447
|
new r(t);
|
448
|
-
} catch (
|
449
|
-
k(
|
448
|
+
} catch ($) {
|
449
|
+
k($);
|
450
450
|
}
|
451
|
-
t.$flags$ &= -9, t.$flags$ |= 128,
|
451
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
452
452
|
} else {
|
453
453
|
r = e.constructor;
|
454
454
|
const a = e.localName;
|
@@ -460,21 +460,21 @@ var se, ne = !1, L = (e, t, n, s) => {
|
|
460
460
|
if (r && r.style) {
|
461
461
|
let a;
|
462
462
|
typeof r.style == "string" && (a = r.style);
|
463
|
-
const
|
464
|
-
if (!A.has(
|
465
|
-
const
|
466
|
-
|
463
|
+
const c = V(n);
|
464
|
+
if (!A.has(c)) {
|
465
|
+
const $ = S("registerStyles", n.$tagName$);
|
466
|
+
je(c, a, !!(n.$flags$ & 1)), $();
|
467
467
|
}
|
468
468
|
}
|
469
469
|
}
|
470
|
-
const i = t.$ancestorComponent$, l = () =>
|
470
|
+
const i = t.$ancestorComponent$, l = () => z(t, !0);
|
471
471
|
i && i["s-rc"] ? i["s-rc"].push(l) : l();
|
472
|
-
}),
|
473
|
-
},
|
474
|
-
if (!(
|
472
|
+
}), Ke = (e) => {
|
473
|
+
}, Ze = (e) => {
|
474
|
+
if (!(v.$flags$ & 1)) {
|
475
475
|
const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
476
476
|
if (t.$flags$ & 1)
|
477
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() =>
|
477
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
|
478
478
|
else {
|
479
479
|
t.$flags$ |= 1;
|
480
480
|
{
|
@@ -490,50 +490,50 @@ var se, ne = !1, L = (e, t, n, s) => {
|
|
490
490
|
const l = e[r];
|
491
491
|
delete e[r], e[r] = l;
|
492
492
|
}
|
493
|
-
}),
|
493
|
+
}), Je(e, t, n);
|
494
494
|
}
|
495
495
|
s();
|
496
496
|
}
|
497
497
|
}, Ne = (e) => {
|
498
|
-
}, Ve = (e) =>
|
499
|
-
if (!(
|
498
|
+
}, Ve = (e) => T(void 0, null, function* () {
|
499
|
+
if (!(v.$flags$ & 1)) {
|
500
500
|
const t = E(e);
|
501
501
|
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ne());
|
502
502
|
}
|
503
503
|
}), nt = (e, t = {}) => {
|
504
504
|
var n;
|
505
|
-
const s = S(), r = [], i = t.exclude || [], l =
|
505
|
+
const s = S(), r = [], i = t.exclude || [], l = w.customElements, o = m.head, a = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
|
506
506
|
let f, u = !0;
|
507
|
-
Object.assign(
|
507
|
+
Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
508
508
|
let d = !1;
|
509
|
-
if (e.map((
|
510
|
-
|
511
|
-
var
|
509
|
+
if (e.map((p) => {
|
510
|
+
p[1].map((h) => {
|
511
|
+
var g;
|
512
512
|
const y = {
|
513
|
-
$flags$:
|
514
|
-
$tagName$:
|
515
|
-
$members$:
|
516
|
-
$listeners$:
|
513
|
+
$flags$: h[0],
|
514
|
+
$tagName$: h[1],
|
515
|
+
$members$: h[2],
|
516
|
+
$listeners$: h[3]
|
517
517
|
};
|
518
|
-
y.$flags$ & 4 && (d = !0), y.$members$ =
|
518
|
+
y.$flags$ & 4 && (d = !0), y.$members$ = h[2], y.$watchers$ = (g = h[4]) != null ? g : {};
|
519
519
|
const x = y.$tagName$, fe = class extends HTMLElement {
|
520
520
|
// StencilLazyHost
|
521
521
|
constructor(O) {
|
522
|
-
super(O), this.hasRegisteredEventListeners = !1, O = this,
|
522
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, ve(O, y);
|
523
523
|
}
|
524
524
|
connectedCallback() {
|
525
|
-
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ?
|
525
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : v.jmp(() => Ze(this));
|
526
526
|
}
|
527
527
|
disconnectedCallback() {
|
528
|
-
|
528
|
+
v.jmp(() => Ve(this));
|
529
529
|
}
|
530
530
|
componentOnReady() {
|
531
531
|
return E(this).$onReadyPromise$;
|
532
532
|
}
|
533
533
|
};
|
534
|
-
y.$lazyBundleId$ =
|
534
|
+
y.$lazyBundleId$ = p[0], !i.includes(x) && !l.get(x) && (r.push(x), l.define(
|
535
535
|
x,
|
536
|
-
|
536
|
+
$e(
|
537
537
|
fe,
|
538
538
|
y,
|
539
539
|
1
|
@@ -541,15 +541,15 @@ var se, ne = !1, L = (e, t, n, s) => {
|
|
541
541
|
)
|
542
542
|
));
|
543
543
|
});
|
544
|
-
}), r.length > 0 && (d && (
|
545
|
-
|
546
|
-
const
|
547
|
-
|
544
|
+
}), r.length > 0 && (d && (c.textContent += J), c.textContent += r.sort() + ye, c.innerHTML.length)) {
|
545
|
+
c.setAttribute("data-styles", "");
|
546
|
+
const p = (n = v.$nonce$) != null ? n : Z(m);
|
547
|
+
p != null && c.setAttribute("nonce", p), o.insertBefore(c, a ? a.nextSibling : o.firstChild);
|
548
548
|
}
|
549
|
-
u = !1,
|
549
|
+
u = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => f = setTimeout(oe, 30)), s();
|
550
550
|
};
|
551
551
|
export {
|
552
|
-
|
552
|
+
_e as H,
|
553
553
|
nt as b,
|
554
554
|
st as g,
|
555
555
|
Ae as h,
|