@everymatrix/cashier-page 1.94.3 → 1.94.5
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/{CashierCarousel-Njl1VM8D.cjs → CashierCarousel-BzlDee2_.cjs} +1 -1
- package/components/{CashierCarousel-2Y_QFlk8.js → CashierCarousel-CTD4ADEl.js} +79 -79
- package/components/{CashierCarousel-LFH0uftr.js → CashierCarousel-D6SuMcQ1.js} +64 -64
- package/components/{CashierError-zaQMVBwa.cjs → CashierError-BjCp3qo9.cjs} +1 -1
- package/components/{CashierError-CmQqKE96.js → CashierError-C0W34998.js} +22 -22
- package/components/{CashierError-lww0Xhhd.js → CashierError-Dg834slb.js} +23 -23
- package/components/{CashierHeader-BRtZK3Yj.cjs → CashierHeader-DCoLHm99.cjs} +1 -1
- package/components/{CashierHeader-BXQCcYBU.js → CashierHeader-DafDx_3j.js} +37 -37
- package/components/{CashierHeader-CV1mrRsd.js → CashierHeader-YhgwXeCk.js} +37 -37
- package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
- package/components/{CashierIframeRedirect-CYEQyHaS.cjs → CashierIframeRedirect-G0gXNho3.cjs} +1 -1
- package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
- package/components/{CashierMethodDetails-xNqhPyCs.js → CashierMethodDetails-C9lU-1Od.js} +2932 -2897
- package/components/{CashierMethodDetails-D1X3MbmW.js → CashierMethodDetails-CXSI2Ftt.js} +3302 -3267
- package/components/CashierMethodDetails-DEXZTmb3.cjs +85 -0
- package/components/{CashierMethodsList-BOpP96gM.cjs → CashierMethodsList-B9M85ykR.cjs} +1 -1
- package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-D5gWM-5x.js} +69 -69
- package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-GlL1YNei.js} +40 -40
- package/components/{CashierModal--1fztdGJ.cjs → CashierModal-BJCRBXtp.cjs} +1 -1
- package/components/{CashierModal-DYVHfktP.js → CashierModal-BL_3_v5C.js} +43 -43
- package/components/{CashierModal-DANMfzKu.js → CashierModal-BxhVa9nJ.js} +35 -35
- package/components/{CashierNotifications-CHbG6OoC.cjs → CashierNotifications-B2_TxWSC.cjs} +1 -1
- package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-D7pEjC9e.js} +31 -31
- package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DumJSi6H.js} +31 -31
- package/components/{CashierPage-DY5ngRhg.js → CashierPage-CyVP1RTq.js} +1693 -1674
- package/components/CashierPage-DFc7t9CJ.cjs +23 -0
- package/components/{CashierPage-Bl4ava_U.js → CashierPage-Yklnwu-d.js} +1722 -1703
- package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-Cz47umjb.js} +107 -107
- package/components/{CashierReceiptPage-DAfRN8k6.cjs → CashierReceiptPage-DQJUbtXP.cjs} +1 -1
- package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
- package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
- package/components/{CashierSessionExpirationModal-Cd-Gd4Ir.cjs → CashierSessionExpirationModal-dL2qXwnX.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
- package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-BFMZw2tU.js} +6 -6
- package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
- package/components/{CashierSpinner-Bvspj0cH.cjs → CashierSpinner-DMQcCAuI.cjs} +1 -1
- package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CUavQfr0.js} +132 -132
- package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-Nzn5RFP5.js} +49 -49
- package/components/{CashierStepUp-4B7szI7i.cjs → CashierStepUp-W1nti85i.cjs} +1 -1
- package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-ByF437F5.js} +110 -110
- package/components/{CashierTransactionHistory-Cpr3zr_V.cjs → CashierTransactionHistory-D0FU8jdE.cjs} +1 -1
- package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
- package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-CuD13Li5.js} +60 -60
- package/components/{CashierVerifications-Ddf15TF_.cjs → CashierVerifications-Px7xstt-.cjs} +1 -1
- package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-sG9Xn_xc.js} +43 -43
- package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-B0-RrZPH.js} +28 -28
- package/components/{TxnStatusIcon-_lk_AnRy.cjs → TxnStatusIcon-D11UDQz5.cjs} +1 -1
- package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-DYgNkITO.js} +23 -23
- package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-BnO0cks2.js} +1 -1
- package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DPmJegXP.js} +1 -1
- package/components/{TxnTypeIcons-CmilEOnE.cjs → TxnTypeIcons-DrCeFHOY.cjs} +1 -1
- 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/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
- package/components/CashierPage-C7hbc8P5.cjs +0 -23
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as ei, a as ii, b as ti } from "./CashierHeader-
|
|
1
|
+
import { b as Ee, N as Fe, a as Re, S as He, O as Ie, a1 as Ue, E as z, f as je, V as $, x as L, ac as B, Q as T, z as P, g as c, l as ee, t as ie, ah as Ne, Y as We, R as Ye, h as Xe, a2 as Y, B as te, w as Ke, a3 as fe, a5 as re, e as p, c as Je, T as ue, a8 as X, a6 as R, a9 as de, d as Ze, o as Ge, $ as Qe, ai as $e } from "./CashierPage-Yklnwu-d.js";
|
|
2
|
+
import { s as ei, a as ii, b as ti } from "./CashierHeader-YhgwXeCk.js";
|
|
3
3
|
function oe(r, i) {
|
|
4
4
|
Ee(r, i);
|
|
5
5
|
}
|
|
6
6
|
function ri(r) {
|
|
7
7
|
Fe({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Re.set(r);
|
|
10
10
|
}
|
|
11
11
|
const se = {
|
|
12
12
|
en: {
|
|
@@ -79,7 +79,7 @@ if (typeof window != "undefined") {
|
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
-
customElements.define = r(customElements.define), import("./CashierModal-
|
|
82
|
+
customElements.define = r(customElements.define), import("./CashierModal-BxhVa9nJ.js").then(({ default: i }) => {
|
|
83
83
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
84
84
|
});
|
|
85
85
|
}
|
|
@@ -154,28 +154,28 @@ function ae(r) {
|
|
|
154
154
|
let i, t, o, n, a, u, g, D = (
|
|
155
155
|
/*$_*/
|
|
156
156
|
r[9]("verificationsRequired") + ""
|
|
157
|
-
), k, C, S,
|
|
158
|
-
r[8]}px`, M, q,
|
|
157
|
+
), k, C, S, x, y, w, _, H, F = `${/*verificationsListHeight*/
|
|
158
|
+
r[8]}px`, M, q, A = te(
|
|
159
159
|
/*displayMessages*/
|
|
160
160
|
r[3]
|
|
161
161
|
), m = [];
|
|
162
|
-
for (let f = 0; f <
|
|
163
|
-
m[f] = le(ne(r,
|
|
162
|
+
for (let f = 0; f < A.length; f += 1)
|
|
163
|
+
m[f] = le(ne(r, A, f));
|
|
164
164
|
let v = (
|
|
165
165
|
/*videoExists*/
|
|
166
166
|
r[6] && ce(r)
|
|
167
167
|
);
|
|
168
168
|
return {
|
|
169
169
|
c() {
|
|
170
|
-
i = P("div"), t = X("svg"), o = X("path"), n = X("path"), a = X("path"), u =
|
|
170
|
+
i = P("div"), t = X("svg"), o = X("path"), n = X("path"), a = X("path"), u = R(), g = P("p"), k = de(D), C = R(), S = P("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = R(), y = P("div"), w = P("div");
|
|
171
171
|
for (let f = 0; f < m.length; f += 1)
|
|
172
172
|
m[f].c();
|
|
173
|
-
_ =
|
|
173
|
+
_ = R(), v && v.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), B(
|
|
174
174
|
S,
|
|
175
175
|
"ShowVerifications",
|
|
176
176
|
/*allVerificationsVisible*/
|
|
177
177
|
r[4]
|
|
178
|
-
), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"),
|
|
178
|
+
), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"), Ze(() => (
|
|
179
179
|
/*div1_elementresize_handler*/
|
|
180
180
|
r[21].call(w)
|
|
181
181
|
)), c(y, "class", "VerificationsList"), B(
|
|
@@ -186,10 +186,10 @@ function ae(r) {
|
|
|
186
186
|
), re(y, "--verifications-list-height", F);
|
|
187
187
|
},
|
|
188
188
|
m(f, V) {
|
|
189
|
-
T(f, i, V), p(i, t), p(t, o), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f,
|
|
189
|
+
T(f, i, V), p(i, t), p(t, o), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f, x, V), T(f, y, V), p(y, w);
|
|
190
190
|
for (let d = 0; d < m.length; d += 1)
|
|
191
191
|
m[d] && m[d].m(w, null);
|
|
192
|
-
p(w, _), v && v.m(w, null),
|
|
192
|
+
p(w, _), v && v.m(w, null), H = Je(
|
|
193
193
|
w,
|
|
194
194
|
/*div1_elementresize_handler*/
|
|
195
195
|
r[21].bind(w)
|
|
@@ -211,18 +211,18 @@ function ae(r) {
|
|
|
211
211
|
f[4]
|
|
212
212
|
), V[0] & /*displayMessages*/
|
|
213
213
|
8) {
|
|
214
|
-
|
|
214
|
+
A = te(
|
|
215
215
|
/*displayMessages*/
|
|
216
216
|
f[3]
|
|
217
217
|
);
|
|
218
218
|
let d;
|
|
219
|
-
for (d = 0; d <
|
|
220
|
-
const j = ne(f,
|
|
219
|
+
for (d = 0; d < A.length; d += 1) {
|
|
220
|
+
const j = ne(f, A, d);
|
|
221
221
|
m[d] ? m[d].p(j, V) : (m[d] = le(j), m[d].c(), m[d].m(w, _));
|
|
222
222
|
}
|
|
223
223
|
for (; d < m.length; d += 1)
|
|
224
224
|
m[d].d(1);
|
|
225
|
-
m.length =
|
|
225
|
+
m.length = A.length;
|
|
226
226
|
}
|
|
227
227
|
/*videoExists*/
|
|
228
228
|
f[6] ? v ? v.p(f, V) : (v = ce(f), v.c(), v.m(w, null)) : v && (v.d(1), v = null), V[0] & /*allVerificationsVisible*/
|
|
@@ -236,7 +236,7 @@ function ae(r) {
|
|
|
236
236
|
f[8]}px`) && re(y, "--verifications-list-height", F);
|
|
237
237
|
},
|
|
238
238
|
d(f) {
|
|
239
|
-
f && (L(i), L(
|
|
239
|
+
f && (L(i), L(x), L(y)), Ke(m, f), v && v.d(), H(), M = !1, q();
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
}
|
|
@@ -247,7 +247,7 @@ function le(r) {
|
|
|
247
247
|
);
|
|
248
248
|
return {
|
|
249
249
|
c() {
|
|
250
|
-
i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o =
|
|
250
|
+
i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = R(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
|
|
251
251
|
},
|
|
252
252
|
m(u, g) {
|
|
253
253
|
T(u, i, g), p(i, t), p(i, o), p(i, n), n.innerHTML = a;
|
|
@@ -269,7 +269,7 @@ function ce(r) {
|
|
|
269
269
|
), u, g, D;
|
|
270
270
|
return {
|
|
271
271
|
c() {
|
|
272
|
-
i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o =
|
|
272
|
+
i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = R(), n = P("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
|
|
273
273
|
n,
|
|
274
274
|
"CashierVerificationVideoLinkDesktop",
|
|
275
275
|
/*desktopView*/
|
|
@@ -347,15 +347,15 @@ const li = "verification_explanation_video_widgets.MP4";
|
|
|
347
347
|
function ci(r, i, t) {
|
|
348
348
|
let o, n;
|
|
349
349
|
ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31, n = e)), ie.extend(Ne);
|
|
350
|
-
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession:
|
|
350
|
+
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: y = "" } = i, { mbsource: w = "" } = i, _, H = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), M, q, A, m = !1, v = !0, f = !1, V = "", d = !1, j, N = [], K = 0, me = window.navigator.userAgent;
|
|
351
351
|
var I;
|
|
352
352
|
(function(e) {
|
|
353
353
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
354
354
|
})(I || (I = {}));
|
|
355
|
-
var
|
|
355
|
+
var J;
|
|
356
356
|
(function(e) {
|
|
357
357
|
e.Requested = "Requested";
|
|
358
|
-
})(
|
|
358
|
+
})(J || (J = {}));
|
|
359
359
|
var b;
|
|
360
360
|
(function(e) {
|
|
361
361
|
e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
|
|
@@ -364,11 +364,11 @@ function ci(r, i, t) {
|
|
|
364
364
|
(function(e) {
|
|
365
365
|
e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
|
|
366
366
|
})(U || (U = {}));
|
|
367
|
-
const
|
|
367
|
+
const Z = (e) => {
|
|
368
368
|
e.data && e.data.type;
|
|
369
369
|
};
|
|
370
|
-
We(() => (window.addEventListener("message",
|
|
371
|
-
window.removeEventListener("message",
|
|
370
|
+
We(() => (window.addEventListener("message", Z), Me(), () => {
|
|
371
|
+
window.removeEventListener("message", Z);
|
|
372
372
|
}));
|
|
373
373
|
const he = [
|
|
374
374
|
b.InProgress,
|
|
@@ -390,10 +390,10 @@ function ci(r, i, t) {
|
|
|
390
390
|
});
|
|
391
391
|
const ve = () => {
|
|
392
392
|
ri(u);
|
|
393
|
-
},
|
|
393
|
+
}, G = () => {
|
|
394
394
|
t(20, q = ke());
|
|
395
395
|
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
|
|
396
|
-
s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${
|
|
396
|
+
s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
|
|
397
397
|
const l = {
|
|
398
398
|
method: "POST",
|
|
399
399
|
headers: s,
|
|
@@ -402,11 +402,11 @@ function ci(r, i, t) {
|
|
|
402
402
|
t(7, d = !0), fetch(e, l).then((h) => h.json()).then((h) => {
|
|
403
403
|
const O = ge(h == null ? void 0 : h.Verifications);
|
|
404
404
|
M = ye(O), M.VerificationStatuses.forEach((W) => {
|
|
405
|
-
W.VerificationUrlType !== "Widget" &&
|
|
406
|
-
}), t(3,
|
|
405
|
+
W.VerificationUrlType !== "Widget" && H.add(W.Vendor);
|
|
406
|
+
}), t(3, A = _e());
|
|
407
407
|
}).finally(() => t(7, d = !1));
|
|
408
408
|
}, ge = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], we = () => {
|
|
409
|
-
n &&
|
|
409
|
+
n && G();
|
|
410
410
|
}, ke = () => {
|
|
411
411
|
let e = (C || n).split(".")[1];
|
|
412
412
|
if (e) {
|
|
@@ -447,13 +447,13 @@ function ci(r, i, t) {
|
|
|
447
447
|
VerificationUrl: (O = l.FlowInfo) == null ? void 0 : O.Url
|
|
448
448
|
};
|
|
449
449
|
}), be = (e) => e.filter((s) => he.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Pe(s) || Ce(s) : !1), Pe = (e) => {
|
|
450
|
-
const s = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((h) => h.Status ===
|
|
450
|
+
const s = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((h) => h.Status === J.Requested);
|
|
451
451
|
return s && l;
|
|
452
452
|
}, Ce = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, _e = () => {
|
|
453
453
|
switch (M.VerificationSummaryStatus) {
|
|
454
454
|
case b.InProgress:
|
|
455
455
|
const e = [];
|
|
456
|
-
return
|
|
456
|
+
return H.forEach((s) => {
|
|
457
457
|
e.push(De(s));
|
|
458
458
|
}), e;
|
|
459
459
|
case b.Referred:
|
|
@@ -478,11 +478,11 @@ function ci(r, i, t) {
|
|
|
478
478
|
U.ProofOfAddress
|
|
479
479
|
];
|
|
480
480
|
e.forEach((E) => {
|
|
481
|
-
h.includes(E.Type) && (s.push(E.Type), l[E.Type] = ze(E,
|
|
481
|
+
h.includes(E.Type) && (s.push(E.Type), l[E.Type] = ze(E, xe(E.Type)));
|
|
482
482
|
});
|
|
483
483
|
let O = s.every((E) => F.has(E)), W = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
|
|
484
484
|
return O ? o("verification.shuftipro.validations-started") : o(W, { values: l });
|
|
485
|
-
}, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`,
|
|
485
|
+
}, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, xe = (e) => o(`verification.shuftipro.link-name.${e}`), Ae = () => {
|
|
486
486
|
t(4, m = !m);
|
|
487
487
|
}, Me = () => {
|
|
488
488
|
t(5, v = !Ye(me));
|
|
@@ -514,13 +514,13 @@ function ci(r, i, t) {
|
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
516
|
return r.$$set = (e) => {
|
|
517
|
-
"endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, C = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17,
|
|
517
|
+
"endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, C = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, x = e.playersession), "userroles" in e && t(18, y = e.userroles), "mbsource" in e && t(19, w = e.mbsource);
|
|
518
518
|
}, r.$$.update = () => {
|
|
519
519
|
r.$$.dirty[0] & /*userroles*/
|
|
520
520
|
262144 && y && Be(), r.$$.dirty[0] & /*lang*/
|
|
521
521
|
8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
522
|
-
167936 && a && C &&
|
|
523
|
-
167936 && a && !C &&
|
|
522
|
+
167936 && a && C && x && G(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
523
|
+
167936 && a && !C && x && we(), r.$$.dirty[0] & /*translationurl*/
|
|
524
524
|
16384 && g && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
525
525
|
5 && D && _ && ei(_, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
526
526
|
6 && k && _ && ii(_, k), r.$$.dirty[0] & /*staticCdnUrl*/
|
|
@@ -530,21 +530,21 @@ function ci(r, i, t) {
|
|
|
530
530
|
D,
|
|
531
531
|
k,
|
|
532
532
|
_,
|
|
533
|
-
|
|
533
|
+
A,
|
|
534
534
|
m,
|
|
535
535
|
v,
|
|
536
536
|
f,
|
|
537
537
|
d,
|
|
538
538
|
K,
|
|
539
539
|
o,
|
|
540
|
-
|
|
540
|
+
Ae,
|
|
541
541
|
Le,
|
|
542
542
|
a,
|
|
543
543
|
u,
|
|
544
544
|
g,
|
|
545
545
|
C,
|
|
546
546
|
S,
|
|
547
|
-
|
|
547
|
+
x,
|
|
548
548
|
y,
|
|
549
549
|
w,
|
|
550
550
|
q,
|
|
@@ -552,7 +552,7 @@ function ci(r, i, t) {
|
|
|
552
552
|
qe
|
|
553
553
|
];
|
|
554
554
|
}
|
|
555
|
-
class fi extends
|
|
555
|
+
class fi extends He {
|
|
556
556
|
constructor(i) {
|
|
557
557
|
super(), Ie(
|
|
558
558
|
this,
|
|
@@ -637,7 +637,7 @@ class fi extends Re {
|
|
|
637
637
|
this.$$set({ mbsource: i }), z();
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
|
-
|
|
640
|
+
Ge(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
641
641
|
export {
|
|
642
642
|
fi as default
|
|
643
643
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as f,
|
|
1
|
+
import { S as f, O as u, a1 as p, E as w, f as v, V as d, x as c, Q as h, A as g, e as o, a8 as r, g as t, o as k } from "./CashierPage-CyVP1RTq.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function x(n) {
|
|
6
6
|
let e, l, i;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
@@ -12,11 +12,11 @@ function m(n) {
|
|
|
12
12
|
h(s, e, C), o(e, l), o(e, i);
|
|
13
13
|
},
|
|
14
14
|
d(s) {
|
|
15
|
-
s &&
|
|
15
|
+
s && c(e);
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function m(n) {
|
|
20
20
|
let e, l, i;
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
@@ -26,39 +26,39 @@ function x(n) {
|
|
|
26
26
|
h(s, e, C), o(e, l), o(e, i);
|
|
27
27
|
},
|
|
28
28
|
d(s) {
|
|
29
|
-
s &&
|
|
29
|
+
s && c(e);
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function j(n) {
|
|
34
34
|
let e, l, i, s;
|
|
35
35
|
return {
|
|
36
36
|
c() {
|
|
37
37
|
e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F0A85F"), t(l, "fill-opacity", "0.3"), t(i, "d", "M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"), t(i, "stroke", "#F0A85F"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M9 6V9L11 10"), t(s, "stroke", "#F0A85F"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
|
|
38
38
|
},
|
|
39
|
-
m(C,
|
|
40
|
-
h(C, e,
|
|
39
|
+
m(C, a) {
|
|
40
|
+
h(C, e, a), o(e, l), o(e, i), o(e, s);
|
|
41
41
|
},
|
|
42
42
|
d(C) {
|
|
43
|
-
C &&
|
|
43
|
+
C && c(e);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function y(n) {
|
|
48
48
|
let e, l, i, s;
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
51
51
|
e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F35A23"), t(l, "fill-opacity", "0.29"), t(i, "d", "M12 6L6 12"), t(i, "stroke", "#F35A23"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M6 6L12 12"), t(s, "stroke", "#F35A23"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
|
|
52
52
|
},
|
|
53
|
-
m(C,
|
|
54
|
-
h(C, e,
|
|
53
|
+
m(C, a) {
|
|
54
|
+
h(C, e, a), o(e, l), o(e, i), o(e, s);
|
|
55
55
|
},
|
|
56
56
|
d(C) {
|
|
57
|
-
C &&
|
|
57
|
+
C && c(e);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function A(n) {
|
|
62
62
|
let e, l, i;
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
@@ -68,58 +68,58 @@ function b(n) {
|
|
|
68
68
|
h(s, e, C), o(e, l), o(e, i);
|
|
69
69
|
},
|
|
70
70
|
d(s) {
|
|
71
|
-
s &&
|
|
71
|
+
s && c(e);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function F(n) {
|
|
76
76
|
let e;
|
|
77
|
-
function l(C,
|
|
77
|
+
function l(C, a) {
|
|
78
78
|
if (
|
|
79
79
|
/*status*/
|
|
80
80
|
C[0] === "Authorized"
|
|
81
81
|
)
|
|
82
|
-
return
|
|
82
|
+
return A;
|
|
83
83
|
if (
|
|
84
84
|
/*status*/
|
|
85
85
|
C[0] === "Failed"
|
|
86
86
|
)
|
|
87
|
-
return
|
|
87
|
+
return y;
|
|
88
88
|
if (
|
|
89
89
|
/*status*/
|
|
90
90
|
C[0] === "Pending"
|
|
91
91
|
)
|
|
92
|
-
return
|
|
92
|
+
return j;
|
|
93
93
|
if (
|
|
94
94
|
/*status*/
|
|
95
95
|
C[0] === "Rejected"
|
|
96
96
|
)
|
|
97
|
-
return
|
|
97
|
+
return m;
|
|
98
98
|
if (
|
|
99
99
|
/*status*/
|
|
100
100
|
C[0] === "Success"
|
|
101
101
|
)
|
|
102
|
-
return
|
|
102
|
+
return x;
|
|
103
103
|
}
|
|
104
104
|
let i = l(n), s = i && i(n);
|
|
105
105
|
return {
|
|
106
106
|
c() {
|
|
107
107
|
s && s.c(), e = g();
|
|
108
108
|
},
|
|
109
|
-
m(C,
|
|
110
|
-
s && s.m(C,
|
|
109
|
+
m(C, a) {
|
|
110
|
+
s && s.m(C, a), h(C, e, a);
|
|
111
111
|
},
|
|
112
|
-
p(C, [
|
|
112
|
+
p(C, [a]) {
|
|
113
113
|
i !== (i = l(C)) && (s && s.d(1), s = i && i(C), s && (s.c(), s.m(e.parentNode, e)));
|
|
114
114
|
},
|
|
115
115
|
i: d,
|
|
116
116
|
o: d,
|
|
117
117
|
d(C) {
|
|
118
|
-
C &&
|
|
118
|
+
C && c(e), s && s.d(C);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function b(n, e, l) {
|
|
123
123
|
let { status: i = "" } = e;
|
|
124
124
|
return n.$$set = (s) => {
|
|
125
125
|
"status" in s && l(0, i = s.status);
|
|
@@ -127,7 +127,7 @@ function F(n, e, l) {
|
|
|
127
127
|
}
|
|
128
128
|
class M extends f {
|
|
129
129
|
constructor(e) {
|
|
130
|
-
super(), u(this, e,
|
|
130
|
+
super(), u(this, e, b, F, p, { status: 0 }, _);
|
|
131
131
|
}
|
|
132
132
|
get status() {
|
|
133
133
|
return this.$$.ctx[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./CashierPage-
|
|
1
|
+
"use strict";const t=require("./CashierPage-DFc7t9CJ.cjs");function o(l){t.append_styles(l,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M9.02911 10.048C8.91711 10.056 8.80111 10.064 8.68111 10.072C8.56911 10.072 8.45311 10.072 8.33311 10.072C8.19711 10.072 8.06111 10.072 7.92511 10.072C7.78911 10.072 7.63711 10.064 7.46911 10.048V12.484C7.46911 12.74 7.40511 12.9 7.27711 12.964C7.15711 13.02 7.00511 13.048 6.82111 13.048C6.72511 13.048 6.64911 13.04 6.59311 13.024C6.53711 13.016 6.48911 12.996 6.44911 12.964C6.41711 12.924 6.38911 12.868 6.36511 12.796C6.34911 12.724 6.33711 12.624 6.32911 12.496C6.31311 12.352 6.30111 12.144 6.29311 11.872C6.28511 11.592 6.27711 11.232 6.26911 10.792C6.26911 10.352 6.26511 9.82 6.25711 9.196C6.25711 8.564 6.25711 7.824 6.25711 6.976C6.25711 6.648 6.29711 6.332 6.37711 6.028C6.45711 5.716 6.60111 5.444 6.80911 5.212C7.01711 4.972 7.29711 4.78 7.64911 4.636C8.00911 4.492 8.46511 4.42 9.01711 4.42C9.40911 4.42 9.78911 4.464 10.1571 4.552C10.5331 4.64 10.8651 4.792 11.1531 5.008C11.4411 5.224 11.6731 5.516 11.8491 5.884C12.0251 6.252 12.1131 6.712 12.1131 7.264C12.1131 8 11.9531 8.572 11.6331 8.98C11.3211 9.38 10.8891 9.664 10.3371 9.832L11.9451 12.04C12.0891 12.232 12.1611 12.428 12.1611 12.628C12.1611 12.788 12.1051 12.912 11.9931 13C11.8891 13.096 11.7571 13.144 11.5971 13.144C11.4211 13.144 11.2691 13.096 11.1411 13C11.0131 12.896 10.8931 12.764 10.7811 12.604L9.02911 10.048ZM10.9131 7.252C10.9131 6.7 10.7451 6.292 10.4091 6.028C10.0811 5.756 9.55711 5.62 8.83711 5.62C8.57311 5.62 8.35311 5.644 8.17711 5.692C8.00111 5.732 7.86111 5.812 7.75711 5.932C7.65311 6.052 7.57711 6.22 7.52911 6.436C7.48911 6.644 7.46911 6.912 7.46911 7.24C7.46911 7.472 7.46911 7.744 7.46911 8.056C7.46911 8.368 7.47311 8.652 7.48111 8.908C7.66511 8.916 7.86911 8.92 8.09311 8.92C8.32511 8.92 8.54111 8.92 8.74111 8.92C8.96511 8.92 9.20111 8.908 9.44911 8.884C9.70511 8.852 9.94111 8.78 10.1571 8.668C10.3731 8.548 10.5531 8.38 10.6971 8.164C10.8411 7.94 10.9131 7.636 10.9131 7.252Z"),t.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"),t.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function p(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function f(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M11.1679 12.388C11.0879 12.196 10.9999 11.976 10.9039 11.728C10.8159 11.472 10.7199 11.204 10.6159 10.924C10.3759 10.932 10.1239 10.94 9.85992 10.948C9.59592 10.948 9.32792 10.948 9.05592 10.948C8.71192 10.948 8.39992 10.948 8.11992 10.948C7.83992 10.948 7.58392 10.944 7.35192 10.936C7.25592 11.216 7.16392 11.48 7.07592 11.728C6.98792 11.976 6.90392 12.196 6.82392 12.388C6.66392 12.796 6.43192 13 6.12792 13C6.01592 13 5.90792 12.964 5.80392 12.892C5.70792 12.82 5.65992 12.716 5.65992 12.58C5.65992 12.444 5.68392 12.268 5.73192 12.052C5.77992 11.828 5.83992 11.592 5.91192 11.344C5.99192 11.088 6.07592 10.828 6.16392 10.564C6.25192 10.292 6.33592 10.04 6.41592 9.808C6.49592 9.552 6.60792 9.228 6.75192 8.836C6.90392 8.436 7.06392 8.02 7.23192 7.588C7.39992 7.156 7.56792 6.732 7.73592 6.316C7.90392 5.892 8.05592 5.524 8.19192 5.212C8.22392 5.132 8.26392 5.044 8.31192 4.948C8.35992 4.844 8.41592 4.748 8.47992 4.66C8.55192 4.572 8.62792 4.496 8.70792 4.432C8.79592 4.368 8.89192 4.336 8.99592 4.336C9.09992 4.336 9.19592 4.372 9.28392 4.444C9.37192 4.508 9.44792 4.588 9.51192 4.684C9.58392 4.78 9.64392 4.88 9.69192 4.984C9.74792 5.088 9.79192 5.18 9.82392 5.26C9.95192 5.58 10.0959 5.948 10.2559 6.364C10.4239 6.78 10.5879 7.2 10.7479 7.624C10.9159 8.048 11.0719 8.452 11.2159 8.836C11.3599 9.22 11.4759 9.544 11.5639 9.808C11.6359 10.04 11.7159 10.288 11.8039 10.552C11.8999 10.816 11.9879 11.076 12.0679 11.332C12.1479 11.588 12.2119 11.828 12.2599 12.052C12.3159 12.268 12.3439 12.444 12.3439 12.58C12.3439 12.716 12.2919 12.82 12.1879 12.892C12.0919 12.964 11.9879 13 11.8759 13C11.7319 13 11.5999 12.952 11.4799 12.856C11.3599 12.752 11.2559 12.596 11.1679 12.388ZM9.04392 9.748C9.23592 9.748 9.42792 9.752 9.61992 9.76C9.81192 9.76 10.0039 9.764 10.1959 9.772C10.0999 9.492 10.0039 9.212 9.90792 8.932C9.81192 8.652 9.71992 8.384 9.63192 8.128C9.55192 7.872 9.47592 7.636 9.40392 7.42C9.33992 7.196 9.28392 7 9.23592 6.832C9.20392 6.728 9.16792 6.644 9.12792 6.58C9.08792 6.516 9.03592 6.484 8.97192 6.484C8.90792 6.484 8.85592 6.52 8.81592 6.592C8.77592 6.656 8.73992 6.74 8.70792 6.844C8.61192 7.172 8.47592 7.6 8.29992 8.128C8.13192 8.648 7.95192 9.196 7.75992 9.772C7.97592 9.764 8.19192 9.76 8.40792 9.76C8.62392 9.752 8.83592 9.748 9.04392 9.748Z"),t.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(l){let e;function a(i,s){if(i[0]==="Authorized")return f;if(i[0]==="Failed")return p;if(i[0]==="Pending")return h;if(i[0]==="Rejected")return d;if(i[0]==="Success")return c}let r=a(l),n=r&&r(l);return{c(){n&&n.c(),e=t.empty()},m(i,s){n&&n.m(i,s),t.insert(i,e,s)},p(i,[s]){r!==(r=a(i))&&(n&&n.d(1),n=r&&r(i),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),n&&n.d(i)}}}function v(l,e,a){let{status:r=""}=e;return l.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as f,
|
|
1
|
+
import { S as f, O as u, a1 as p, E as w, f as v, V as d, x as c, Q as h, A as g, e as o, a8 as r, g as t, o as k } from "./CashierPage-Yklnwu-d.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function x(n) {
|
|
6
6
|
let e, l, i;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
@@ -12,11 +12,11 @@ function m(n) {
|
|
|
12
12
|
h(s, e, C), o(e, l), o(e, i);
|
|
13
13
|
},
|
|
14
14
|
d(s) {
|
|
15
|
-
s &&
|
|
15
|
+
s && c(e);
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function m(n) {
|
|
20
20
|
let e, l, i;
|
|
21
21
|
return {
|
|
22
22
|
c() {
|
|
@@ -26,7 +26,7 @@ function x(n) {
|
|
|
26
26
|
h(s, e, C), o(e, l), o(e, i);
|
|
27
27
|
},
|
|
28
28
|
d(s) {
|
|
29
|
-
s &&
|
|
29
|
+
s && c(e);
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -36,11 +36,11 @@ function j(n) {
|
|
|
36
36
|
c() {
|
|
37
37
|
e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F0A85F"), t(l, "fill-opacity", "0.3"), t(i, "d", "M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"), t(i, "stroke", "#F0A85F"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M9 6V9L11 10"), t(s, "stroke", "#F0A85F"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
|
|
38
38
|
},
|
|
39
|
-
m(C,
|
|
40
|
-
h(C, e,
|
|
39
|
+
m(C, a) {
|
|
40
|
+
h(C, e, a), o(e, l), o(e, i), o(e, s);
|
|
41
41
|
},
|
|
42
42
|
d(C) {
|
|
43
|
-
C &&
|
|
43
|
+
C && c(e);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -50,15 +50,15 @@ function y(n) {
|
|
|
50
50
|
c() {
|
|
51
51
|
e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F35A23"), t(l, "fill-opacity", "0.29"), t(i, "d", "M12 6L6 12"), t(i, "stroke", "#F35A23"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M6 6L12 12"), t(s, "stroke", "#F35A23"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
|
|
52
52
|
},
|
|
53
|
-
m(C,
|
|
54
|
-
h(C, e,
|
|
53
|
+
m(C, a) {
|
|
54
|
+
h(C, e, a), o(e, l), o(e, i), o(e, s);
|
|
55
55
|
},
|
|
56
56
|
d(C) {
|
|
57
|
-
C &&
|
|
57
|
+
C && c(e);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function A(n) {
|
|
62
62
|
let e, l, i;
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
@@ -68,18 +68,18 @@ function b(n) {
|
|
|
68
68
|
h(s, e, C), o(e, l), o(e, i);
|
|
69
69
|
},
|
|
70
70
|
d(s) {
|
|
71
|
-
s &&
|
|
71
|
+
s && c(e);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
function F(n) {
|
|
76
76
|
let e;
|
|
77
|
-
function l(C,
|
|
77
|
+
function l(C, a) {
|
|
78
78
|
if (
|
|
79
79
|
/*status*/
|
|
80
80
|
C[0] === "Authorized"
|
|
81
81
|
)
|
|
82
|
-
return
|
|
82
|
+
return A;
|
|
83
83
|
if (
|
|
84
84
|
/*status*/
|
|
85
85
|
C[0] === "Failed"
|
|
@@ -94,32 +94,32 @@ function F(n) {
|
|
|
94
94
|
/*status*/
|
|
95
95
|
C[0] === "Rejected"
|
|
96
96
|
)
|
|
97
|
-
return
|
|
97
|
+
return m;
|
|
98
98
|
if (
|
|
99
99
|
/*status*/
|
|
100
100
|
C[0] === "Success"
|
|
101
101
|
)
|
|
102
|
-
return
|
|
102
|
+
return x;
|
|
103
103
|
}
|
|
104
104
|
let i = l(n), s = i && i(n);
|
|
105
105
|
return {
|
|
106
106
|
c() {
|
|
107
107
|
s && s.c(), e = g();
|
|
108
108
|
},
|
|
109
|
-
m(C,
|
|
110
|
-
s && s.m(C,
|
|
109
|
+
m(C, a) {
|
|
110
|
+
s && s.m(C, a), h(C, e, a);
|
|
111
111
|
},
|
|
112
|
-
p(C, [
|
|
112
|
+
p(C, [a]) {
|
|
113
113
|
i !== (i = l(C)) && (s && s.d(1), s = i && i(C), s && (s.c(), s.m(e.parentNode, e)));
|
|
114
114
|
},
|
|
115
115
|
i: d,
|
|
116
116
|
o: d,
|
|
117
117
|
d(C) {
|
|
118
|
-
C &&
|
|
118
|
+
C && c(e), s && s.d(C);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function b(n, e, l) {
|
|
123
123
|
let { status: i = "" } = e;
|
|
124
124
|
return n.$$set = (s) => {
|
|
125
125
|
"status" in s && l(0, i = s.status);
|
|
@@ -127,7 +127,7 @@ function A(n, e, l) {
|
|
|
127
127
|
}
|
|
128
128
|
class M extends f {
|
|
129
129
|
constructor(e) {
|
|
130
|
-
super(), u(this, e,
|
|
130
|
+
super(), u(this, e, b, F, p, { status: 0 }, _);
|
|
131
131
|
}
|
|
132
132
|
get status() {
|
|
133
133
|
return this.$$.ctx[0];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u,
|
|
1
|
+
import { S as u, O as k, a1 as w, E as _, V as p, x as d, Q as h, A as g, e as a, a8 as s, g as t, o as m } from "./CashierPage-Yklnwu-d.js";
|
|
2
2
|
function y(c) {
|
|
3
3
|
let e, o, r, i, n;
|
|
4
4
|
return {
|