@everymatrix/cashier-page 1.89.2 → 1.89.100
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-B-cM-nlR.js +5797 -0
- package/components/CashierCarousel-CXoovlrR.js +5835 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/{CashierError-Ojxcg-Ka.js → CashierError-BadEP4Hf.js} +272 -197
- package/components/{CashierError-B4wZJoy3.js → CashierError-CbEfmBWG.js} +272 -197
- package/components/CashierError-CfXNs5SO.cjs +1 -0
- package/components/CashierHeader-B7FnLv3f.js +397 -0
- package/components/CashierHeader-BbP0idUh.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-D4_P5tea.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
- package/components/{CashierIframeRedirect-CweMc_nE.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
- package/components/CashierMethodDetails-Bpr9Q04a.cjs +85 -0
- package/components/CashierMethodDetails-C1YivsY0.js +11217 -0
- package/components/CashierMethodDetails-Dm0LrfPv.js +11177 -0
- package/components/CashierMethodsList-BQyTMxwJ.cjs +1 -0
- package/components/{CashierMethodsList-ZIeDaX82.js → CashierMethodsList-Becd-_0j.js} +276 -282
- package/components/{CashierMethodsList-DT2-Xs0d.js → CashierMethodsList-BgT8GtZO.js} +338 -345
- package/components/{CashierModal-auMot9uK.js → CashierModal-B1pfSpCs.js} +39 -40
- package/components/{CashierModal-1ob-ORdo.js → CashierModal-BsrmgnKi.js} +35 -36
- package/components/CashierModal-DF8meLAZ.cjs +1 -0
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-1zS4jTFr.js → CashierNotifications-BXxNDzMM.js} +3 -3
- package/components/{CashierNotifications-W-vKJfau.js → CashierNotifications-DbJuswYZ.js} +5 -5
- package/components/CashierPage-B-8PEr0a.js +4470 -0
- package/components/CashierPage-BvBfbCf3.cjs +1 -0
- package/components/CashierPage-DpttN4Et.js +4500 -0
- package/components/{CashierReceiptPage-BRnTuxiH.js → CashierReceiptPage-COp3NsUw.js} +541 -537
- package/components/{CashierReceiptPage-D_7vOvSQ.js → CashierReceiptPage-CQ6d-Cj-.js} +614 -570
- package/components/CashierReceiptPage-pHomkDwd.cjs +28 -0
- package/components/{CashierSessionExpirationModal-pj6DNvOs.js → CashierSessionExpirationModal-B4o06oWl.js} +267 -280
- package/components/CashierSessionExpirationModal-CwFxQe0o.cjs +2 -0
- package/components/{CashierSessionExpirationModal-CaUKhvg_.js → CashierSessionExpirationModal-v2UJ63eL.js} +254 -267
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-BWVLhGca.js → CashierSpinner-DMrM0bGx.js} +10 -11
- package/components/{CashierSpinner-N3hAvTEu.js → CashierSpinner-gJqeYU1n.js} +12 -13
- package/components/{CashierStepUp-CBhNhpVX.js → CashierStepUp-B530YrSp.js} +226 -227
- package/components/{CashierStepUp-Dlw2xvmv.js → CashierStepUp-BtmD9q4i.js} +300 -301
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-D3VWhujp.js → CashierTransactionHistory-CsBXpcL2.js} +71 -71
- package/components/CashierTransactionHistory-DKbhA_Rk.cjs +1 -0
- package/components/{CashierTransactionHistory-B1-7-cnI.js → CashierTransactionHistory-d_VQTD25.js} +66 -66
- package/components/CashierVerifications-CaqLtBnF.cjs +1 -0
- package/components/{CashierVerifications-DG89tnTY.js → CashierVerifications-D7ImXlXI.js} +264 -269
- package/components/{CashierVerifications-Bqv3zHaE.js → CashierVerifications-DCEd6r59.js} +268 -273
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-f6MQV7GX.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
- package/components/{TxnStatusIcon-C6FZzOb5.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
- package/components/{TxnTypeIcons-C7BUNYMQ.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DnwUM158.js → TxnTypeIcons-D37zQDwq.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-BoRWOAWM.js +0 -674
- package/components/CashierCarousel-DEYnlAHr.cjs +0 -1
- package/components/CashierCarousel-KMbJ36Hw.js +0 -671
- package/components/CashierError-DTpeCDrd.cjs +0 -1
- package/components/CashierHeader-70bDXUYr.js +0 -456
- package/components/CashierHeader-C3wqXw8i.js +0 -456
- package/components/CashierHeader-DTiQ2Uql.cjs +0 -1
- package/components/CashierIframeRedirect-LL9whfSj.cjs +0 -1
- package/components/CashierMethodDetails-BbgZJsGx.js +0 -10753
- package/components/CashierMethodDetails-C0EHnoEF.js +0 -10713
- package/components/CashierMethodDetails-DKWU_-EC.cjs +0 -85
- package/components/CashierMethodsList-BfeSUOP6.cjs +0 -1
- package/components/CashierModal-CGNr1dtp.cjs +0 -1
- package/components/CashierNotifications-DwpVx88o.cjs +0 -1
- package/components/CashierPage-CsT0xRQt.js +0 -9765
- package/components/CashierPage-Cz6Sy2lO.js +0 -9818
- package/components/CashierPage-D7cZXI1W.cjs +0 -23
- package/components/CashierReceiptPage-1gI7UF3o.cjs +0 -28
- package/components/CashierSessionExpirationModal-DUuiIJeI.cjs +0 -2
- package/components/CashierSpinner-BY_PNaky.cjs +0 -1
- package/components/CashierStepUp-10z4YQDr.cjs +0 -1
- package/components/CashierTransactionHistory-hd_XBwhR.cjs +0 -1
- package/components/CashierVerifications-B0qGbQ_e.cjs +0 -1
- package/components/TxnStatusIcon-Cp6DCnG3.cjs +0 -1
- package/components/TxnTypeIcons-BLR0KOZr.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as Le, i as Te, $ as qe, S as Fe, b as Ee, s as Re, f as _, c as He, G as J, e as O, W as B, k as L, m as C, o as c, p as Q, q as Ie, N as Ue, y as je, A as j, Z as $, a4 as Ne, v as ae, l as g, x as le, X as N, n as F, w as ce, B as We, C as Xe, D as Ye, E as Ke, F as Ze } from "./CashierCarousel-CXoovlrR.js";
|
|
2
|
+
import { d as ee, u as Ge, x as Je } from "./CashierMethodDetails-C1YivsY0.js";
|
|
3
|
+
function ie(o, i) {
|
|
4
|
+
Le(o, i);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function Qe(o) {
|
|
7
|
+
Te({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), qe.set(o);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const te = {
|
|
12
12
|
en: {
|
|
13
13
|
verificationsRequired: "Verifications Required",
|
|
14
14
|
"verification.video.how-to": "How to verify yourself?",
|
|
@@ -67,78 +67,62 @@ const ee = {
|
|
|
67
67
|
"verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
return function(...t) {
|
|
73
|
-
try {
|
|
74
|
-
return i.apply(this, t);
|
|
75
|
-
} catch (r) {
|
|
76
|
-
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
77
|
-
return !1;
|
|
78
|
-
throw r;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
customElements.define = o(customElements.define), import("./CashierModal-auMot9uK.js").then(({ default: i }) => {
|
|
83
|
-
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
function Ze(o) {
|
|
87
|
-
Ee(o, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
70
|
+
function $e(o) {
|
|
71
|
+
He(o, "svelte-xrv2v8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
88
72
|
}
|
|
89
|
-
function
|
|
90
|
-
const
|
|
91
|
-
return
|
|
73
|
+
function re(o, i, t) {
|
|
74
|
+
const s = o.slice();
|
|
75
|
+
return s[56] = i[t], s;
|
|
92
76
|
}
|
|
93
|
-
function
|
|
77
|
+
function ei(o) {
|
|
94
78
|
let i, t = (
|
|
95
79
|
/*displayMessages*/
|
|
96
|
-
o[3].length > 0 &&
|
|
80
|
+
o[3].length > 0 && oe(o)
|
|
97
81
|
);
|
|
98
82
|
return {
|
|
99
83
|
c() {
|
|
100
84
|
i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
|
|
101
85
|
},
|
|
102
|
-
m(
|
|
103
|
-
|
|
86
|
+
m(s, n) {
|
|
87
|
+
L(s, i, n), t && t.m(i, null);
|
|
104
88
|
},
|
|
105
|
-
p(
|
|
89
|
+
p(s, n) {
|
|
106
90
|
/*displayMessages*/
|
|
107
|
-
|
|
91
|
+
s[3].length > 0 ? t ? t.p(s, n) : (t = oe(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
|
|
108
92
|
},
|
|
109
|
-
d(
|
|
110
|
-
|
|
93
|
+
d(s) {
|
|
94
|
+
s && O(i), t && t.d();
|
|
111
95
|
}
|
|
112
96
|
};
|
|
113
97
|
}
|
|
114
|
-
function
|
|
98
|
+
function ii(o) {
|
|
115
99
|
let i;
|
|
116
100
|
return {
|
|
117
101
|
c() {
|
|
118
|
-
i = C("cashier-spinner"),
|
|
102
|
+
i = C("cashier-spinner"), j(
|
|
119
103
|
i,
|
|
120
104
|
"clientstylingurl",
|
|
121
105
|
/*clientstylingurl*/
|
|
122
106
|
o[1]
|
|
123
|
-
),
|
|
107
|
+
), j(
|
|
124
108
|
i,
|
|
125
109
|
"clientstyling",
|
|
126
110
|
/*clientstyling*/
|
|
127
111
|
o[0]
|
|
128
112
|
);
|
|
129
113
|
},
|
|
130
|
-
m(t,
|
|
131
|
-
|
|
114
|
+
m(t, s) {
|
|
115
|
+
L(t, i, s);
|
|
132
116
|
},
|
|
133
|
-
p(t,
|
|
134
|
-
|
|
135
|
-
2 &&
|
|
117
|
+
p(t, s) {
|
|
118
|
+
s[0] & /*clientstylingurl*/
|
|
119
|
+
2 && j(
|
|
136
120
|
i,
|
|
137
121
|
"clientstylingurl",
|
|
138
122
|
/*clientstylingurl*/
|
|
139
123
|
t[1]
|
|
140
|
-
),
|
|
141
|
-
1 &&
|
|
124
|
+
), s[0] & /*clientstyling*/
|
|
125
|
+
1 && j(
|
|
142
126
|
i,
|
|
143
127
|
"clientstyling",
|
|
144
128
|
/*clientstyling*/
|
|
@@ -146,168 +130,168 @@ function Qe(o) {
|
|
|
146
130
|
);
|
|
147
131
|
},
|
|
148
132
|
d(t) {
|
|
149
|
-
t &&
|
|
133
|
+
t && O(i);
|
|
150
134
|
}
|
|
151
135
|
};
|
|
152
136
|
}
|
|
153
|
-
function
|
|
154
|
-
let i, t,
|
|
137
|
+
function oe(o) {
|
|
138
|
+
let i, t, s, n, a, u, w, D = (
|
|
155
139
|
/*$_*/
|
|
156
140
|
o[8]("verificationsRequired") + ""
|
|
157
|
-
), k,
|
|
141
|
+
), k, b, S, x, v, A, P, E, z = $(
|
|
158
142
|
/*displayMessages*/
|
|
159
143
|
o[3]
|
|
160
|
-
),
|
|
161
|
-
for (let f = 0; f <
|
|
162
|
-
|
|
163
|
-
let
|
|
144
|
+
), d = [];
|
|
145
|
+
for (let f = 0; f < z.length; f += 1)
|
|
146
|
+
d[f] = se(re(o, z, f));
|
|
147
|
+
let h = (
|
|
164
148
|
/*videoExists*/
|
|
165
|
-
o[6] &&
|
|
149
|
+
o[6] && ne(o)
|
|
166
150
|
);
|
|
167
151
|
return {
|
|
168
152
|
c() {
|
|
169
|
-
i = C("div"), t =
|
|
170
|
-
for (let f = 0; f <
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
153
|
+
i = C("div"), t = N("svg"), s = N("path"), n = N("path"), a = N("path"), u = F(), w = C("p"), k = ce(D), b = F(), S = C("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 = F(), v = C("div");
|
|
154
|
+
for (let f = 0; f < d.length; f += 1)
|
|
155
|
+
d[f].c();
|
|
156
|
+
A = F(), h && h.c(), c(s, "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(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "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(
|
|
157
|
+
S,
|
|
174
158
|
"ShowVerifications",
|
|
175
159
|
/*allVerificationsVisible*/
|
|
176
160
|
o[4]
|
|
177
|
-
), c(i, "class", "VerificationsHeader"), c(
|
|
178
|
-
|
|
161
|
+
), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), B(
|
|
162
|
+
v,
|
|
179
163
|
"ShowVerifications",
|
|
180
164
|
/*allVerificationsVisible*/
|
|
181
165
|
o[4]
|
|
182
166
|
);
|
|
183
167
|
},
|
|
184
|
-
m(f,
|
|
185
|
-
|
|
186
|
-
for (let
|
|
187
|
-
m
|
|
188
|
-
v
|
|
168
|
+
m(f, y) {
|
|
169
|
+
L(f, i, y), g(i, t), g(t, s), g(t, n), g(t, a), g(i, u), g(i, w), g(w, k), g(i, b), g(i, S), L(f, x, y), L(f, v, y);
|
|
170
|
+
for (let m = 0; m < d.length; m += 1)
|
|
171
|
+
d[m] && d[m].m(v, null);
|
|
172
|
+
g(v, A), h && h.m(v, null), P || (E = le(
|
|
189
173
|
i,
|
|
190
174
|
"click",
|
|
191
175
|
/*toggleVerifications*/
|
|
192
176
|
o[9]
|
|
193
|
-
),
|
|
177
|
+
), P = !0);
|
|
194
178
|
},
|
|
195
|
-
p(f,
|
|
196
|
-
if (
|
|
179
|
+
p(f, y) {
|
|
180
|
+
if (y[0] & /*$_*/
|
|
197
181
|
256 && D !== (D = /*$_*/
|
|
198
|
-
f[8]("verificationsRequired") + "") &&
|
|
199
|
-
16 &&
|
|
200
|
-
|
|
182
|
+
f[8]("verificationsRequired") + "") && ae(k, D), y[0] & /*allVerificationsVisible*/
|
|
183
|
+
16 && B(
|
|
184
|
+
S,
|
|
201
185
|
"ShowVerifications",
|
|
202
186
|
/*allVerificationsVisible*/
|
|
203
187
|
f[4]
|
|
204
|
-
),
|
|
188
|
+
), y[0] & /*displayMessages*/
|
|
205
189
|
8) {
|
|
206
|
-
|
|
190
|
+
z = $(
|
|
207
191
|
/*displayMessages*/
|
|
208
192
|
f[3]
|
|
209
193
|
);
|
|
210
|
-
let
|
|
211
|
-
for (
|
|
212
|
-
const q =
|
|
213
|
-
m
|
|
194
|
+
let m;
|
|
195
|
+
for (m = 0; m < z.length; m += 1) {
|
|
196
|
+
const q = re(f, z, m);
|
|
197
|
+
d[m] ? d[m].p(q, y) : (d[m] = se(q), d[m].c(), d[m].m(v, A));
|
|
214
198
|
}
|
|
215
|
-
for (;
|
|
216
|
-
m
|
|
217
|
-
|
|
199
|
+
for (; m < d.length; m += 1)
|
|
200
|
+
d[m].d(1);
|
|
201
|
+
d.length = z.length;
|
|
218
202
|
}
|
|
219
203
|
/*videoExists*/
|
|
220
|
-
f[6] ?
|
|
221
|
-
16 &&
|
|
222
|
-
|
|
204
|
+
f[6] ? h ? h.p(f, y) : (h = ne(f), h.c(), h.m(v, null)) : h && (h.d(1), h = null), y[0] & /*allVerificationsVisible*/
|
|
205
|
+
16 && B(
|
|
206
|
+
v,
|
|
223
207
|
"ShowVerifications",
|
|
224
208
|
/*allVerificationsVisible*/
|
|
225
209
|
f[4]
|
|
226
210
|
);
|
|
227
211
|
},
|
|
228
212
|
d(f) {
|
|
229
|
-
f && (
|
|
213
|
+
f && (O(i), O(x), O(v)), Ne(d, f), h && h.d(), P = !1, E();
|
|
230
214
|
}
|
|
231
215
|
};
|
|
232
216
|
}
|
|
233
|
-
function
|
|
234
|
-
let i, t,
|
|
217
|
+
function se(o) {
|
|
218
|
+
let i, t, s, n, a = (
|
|
235
219
|
/*message*/
|
|
236
|
-
o[
|
|
220
|
+
o[56] + ""
|
|
237
221
|
);
|
|
238
222
|
return {
|
|
239
223
|
c() {
|
|
240
|
-
i = C("div"), t = C("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>',
|
|
224
|
+
i = C("div"), t = C("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>', s = F(), n = C("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
|
|
241
225
|
},
|
|
242
|
-
m(u,
|
|
243
|
-
|
|
226
|
+
m(u, w) {
|
|
227
|
+
L(u, i, w), g(i, t), g(i, s), g(i, n), n.innerHTML = a;
|
|
244
228
|
},
|
|
245
|
-
p(u,
|
|
246
|
-
|
|
229
|
+
p(u, w) {
|
|
230
|
+
w[0] & /*displayMessages*/
|
|
247
231
|
8 && a !== (a = /*message*/
|
|
248
|
-
u[
|
|
232
|
+
u[56] + "") && (n.innerHTML = a);
|
|
249
233
|
},
|
|
250
234
|
d(u) {
|
|
251
|
-
u &&
|
|
235
|
+
u && O(i);
|
|
252
236
|
}
|
|
253
237
|
};
|
|
254
238
|
}
|
|
255
|
-
function
|
|
256
|
-
let i, t,
|
|
239
|
+
function ne(o) {
|
|
240
|
+
let i, t, s, n, a = (
|
|
257
241
|
/*$_*/
|
|
258
242
|
o[8]("verification.video.how-to") + ""
|
|
259
|
-
), u,
|
|
243
|
+
), u, w, D;
|
|
260
244
|
return {
|
|
261
245
|
c() {
|
|
262
|
-
i = C("div"), t = C("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>',
|
|
263
|
-
|
|
246
|
+
i = C("div"), t = C("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>', s = F(), n = C("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
|
|
247
|
+
n,
|
|
264
248
|
"CashierVerificationVideoLinkDesktop",
|
|
265
249
|
/*desktopView*/
|
|
266
250
|
o[5]
|
|
267
251
|
), c(i, "class", "CashierVerificationVideo Test");
|
|
268
252
|
},
|
|
269
|
-
m(k,
|
|
270
|
-
|
|
253
|
+
m(k, b) {
|
|
254
|
+
L(k, i, b), g(i, t), g(i, s), g(i, n), g(n, u), w || (D = le(
|
|
271
255
|
i,
|
|
272
256
|
"click",
|
|
273
257
|
/*showVideo*/
|
|
274
258
|
o[10]
|
|
275
|
-
),
|
|
259
|
+
), w = !0);
|
|
276
260
|
},
|
|
277
|
-
p(k,
|
|
278
|
-
|
|
261
|
+
p(k, b) {
|
|
262
|
+
b[0] & /*$_*/
|
|
279
263
|
256 && a !== (a = /*$_*/
|
|
280
|
-
k[8]("verification.video.how-to") + "") &&
|
|
281
|
-
32 &&
|
|
282
|
-
|
|
264
|
+
k[8]("verification.video.how-to") + "") && ae(u, a), b[0] & /*desktopView*/
|
|
265
|
+
32 && B(
|
|
266
|
+
n,
|
|
283
267
|
"CashierVerificationVideoLinkDesktop",
|
|
284
268
|
/*desktopView*/
|
|
285
269
|
k[5]
|
|
286
270
|
);
|
|
287
271
|
},
|
|
288
272
|
d(k) {
|
|
289
|
-
k &&
|
|
273
|
+
k && O(i), w = !1, D();
|
|
290
274
|
}
|
|
291
275
|
};
|
|
292
276
|
}
|
|
293
|
-
function
|
|
277
|
+
function ti(o) {
|
|
294
278
|
let i;
|
|
295
279
|
function t(a, u) {
|
|
296
280
|
if (
|
|
297
281
|
/*isLoading*/
|
|
298
282
|
a[7]
|
|
299
283
|
)
|
|
300
|
-
return
|
|
284
|
+
return ii;
|
|
301
285
|
if (
|
|
302
286
|
/*displayMessages*/
|
|
303
287
|
a[3]
|
|
304
288
|
)
|
|
305
|
-
return
|
|
289
|
+
return ei;
|
|
306
290
|
}
|
|
307
|
-
let
|
|
291
|
+
let s = t(o), n = s && s(o);
|
|
308
292
|
return {
|
|
309
293
|
c() {
|
|
310
|
-
i = C("div"),
|
|
294
|
+
i = C("div"), n && n.c(), c(i, "class", "CashierVerifications"), B(
|
|
311
295
|
i,
|
|
312
296
|
"CashierVerificationsDesktop",
|
|
313
297
|
/*desktopView*/
|
|
@@ -315,11 +299,11 @@ function $e(o) {
|
|
|
315
299
|
);
|
|
316
300
|
},
|
|
317
301
|
m(a, u) {
|
|
318
|
-
|
|
302
|
+
L(a, i, u), n && n.m(i, null), o[20](i);
|
|
319
303
|
},
|
|
320
304
|
p(a, u) {
|
|
321
|
-
|
|
322
|
-
32 &&
|
|
305
|
+
s === (s = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
|
|
306
|
+
32 && B(
|
|
323
307
|
i,
|
|
324
308
|
"CashierVerificationsDesktop",
|
|
325
309
|
/*desktopView*/
|
|
@@ -329,218 +313,222 @@ function $e(o) {
|
|
|
329
313
|
i: J,
|
|
330
314
|
o: J,
|
|
331
315
|
d(a) {
|
|
332
|
-
a &&
|
|
316
|
+
a && O(i), n && n.d(), o[20](null);
|
|
333
317
|
}
|
|
334
318
|
};
|
|
335
319
|
}
|
|
336
|
-
const
|
|
337
|
-
function
|
|
338
|
-
let
|
|
339
|
-
|
|
340
|
-
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl:
|
|
341
|
-
var
|
|
320
|
+
const ri = "verification_explanation_video_widgets.MP4";
|
|
321
|
+
function oi(o, i, t) {
|
|
322
|
+
let s, n;
|
|
323
|
+
Q(o, Ze, (e) => t(8, s = e)), Q(o, Je, (e) => t(29, n = e)), ee.extend(Ge);
|
|
324
|
+
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: w = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: b = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: v = "" } = i, { mbsource: A = "" } = i, P, E = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, y = !1, m = !0, q = !1, W = "", X = !1, fe, I = [], ue = window.navigator.userAgent;
|
|
325
|
+
var R;
|
|
342
326
|
(function(e) {
|
|
343
327
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
344
|
-
})(
|
|
345
|
-
var
|
|
328
|
+
})(R || (R = {}));
|
|
329
|
+
var Y;
|
|
346
330
|
(function(e) {
|
|
347
331
|
e.Requested = "Requested";
|
|
348
|
-
})(
|
|
349
|
-
var
|
|
332
|
+
})(Y || (Y = {}));
|
|
333
|
+
var V;
|
|
350
334
|
(function(e) {
|
|
351
335
|
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";
|
|
352
|
-
})(
|
|
353
|
-
var
|
|
336
|
+
})(V || (V = {}));
|
|
337
|
+
var H;
|
|
354
338
|
(function(e) {
|
|
355
339
|
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";
|
|
356
|
-
})(
|
|
357
|
-
const
|
|
340
|
+
})(H || (H = {}));
|
|
341
|
+
const K = (e) => {
|
|
358
342
|
e.data && e.data.type;
|
|
359
343
|
};
|
|
360
|
-
|
|
361
|
-
window.removeEventListener("message",
|
|
344
|
+
Ie(() => (window.addEventListener("message", K), Ae(), () => {
|
|
345
|
+
window.removeEventListener("message", K);
|
|
362
346
|
}));
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
],
|
|
368
|
-
let e =
|
|
347
|
+
const de = [
|
|
348
|
+
V.InProgress,
|
|
349
|
+
V.Referred,
|
|
350
|
+
V.AwaitingForResponse
|
|
351
|
+
], me = () => {
|
|
352
|
+
let e = w;
|
|
369
353
|
if (e)
|
|
370
|
-
return fetch(e).then((
|
|
371
|
-
Object.keys(
|
|
372
|
-
|
|
354
|
+
return fetch(e).then((r) => r.json()).then((r) => {
|
|
355
|
+
Object.keys(r).forEach((l) => {
|
|
356
|
+
ie(l, r[l]);
|
|
373
357
|
});
|
|
374
|
-
}).catch((
|
|
375
|
-
console.log(
|
|
358
|
+
}).catch((r) => {
|
|
359
|
+
console.log(r);
|
|
376
360
|
});
|
|
377
361
|
};
|
|
378
|
-
Object.keys(
|
|
379
|
-
|
|
362
|
+
Object.keys(te).forEach((e) => {
|
|
363
|
+
ie(e, te[e]);
|
|
380
364
|
});
|
|
381
|
-
const
|
|
382
|
-
|
|
383
|
-
},
|
|
384
|
-
t(
|
|
385
|
-
const e = new URL(`${a}/v1/player/${
|
|
386
|
-
|
|
365
|
+
const he = () => {
|
|
366
|
+
Qe(u);
|
|
367
|
+
}, Z = () => {
|
|
368
|
+
t(19, h = ge());
|
|
369
|
+
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), r = new Headers();
|
|
370
|
+
r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("x-sessionid", `${x}`), r.append("X-Client-Request-Timestamp", ee.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(I) && I.length > 0 && I.indexOf("MM_CHANNEL_BETA") != -1 && r.append("MM_CHANNEL", "BETA");
|
|
387
371
|
const l = {
|
|
388
372
|
method: "POST",
|
|
389
|
-
headers:
|
|
373
|
+
headers: r,
|
|
390
374
|
body: JSON.stringify({})
|
|
391
375
|
};
|
|
392
|
-
t(7,
|
|
393
|
-
const
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}), t(3,
|
|
397
|
-
}).finally(() => t(7,
|
|
398
|
-
},
|
|
399
|
-
|
|
400
|
-
},
|
|
401
|
-
let e = (
|
|
376
|
+
t(7, X = !0), fetch(e, l).then((p) => p.json()).then((p) => {
|
|
377
|
+
const M = pe(p == null ? void 0 : p.Verifications);
|
|
378
|
+
d = we(M), d.VerificationStatuses.forEach((U) => {
|
|
379
|
+
U.VerificationUrlType !== "Widget" && E.add(U.Vendor);
|
|
380
|
+
}), t(3, f = Pe());
|
|
381
|
+
}).finally(() => t(7, X = !1));
|
|
382
|
+
}, pe = (e) => e ? e.sort((r, l) => new Date(l.Created).getTime() - new Date(r.Created).getTime()) : [], ve = () => {
|
|
383
|
+
n && Z();
|
|
384
|
+
}, ge = () => {
|
|
385
|
+
let e = (b || n).split(".")[1];
|
|
402
386
|
if (e) {
|
|
403
|
-
let
|
|
404
|
-
return
|
|
387
|
+
let r = JSON.parse(atob(e));
|
|
388
|
+
return r.cdn + "/cashier/operator-assets/" + (r == null ? void 0 : r.mid);
|
|
405
389
|
}
|
|
406
390
|
return "";
|
|
407
|
-
},
|
|
391
|
+
}, we = (e) => {
|
|
408
392
|
var l;
|
|
409
393
|
if (!e || !e.length)
|
|
410
394
|
return {
|
|
411
|
-
VerificationSummaryStatus:
|
|
395
|
+
VerificationSummaryStatus: V.Unverified,
|
|
412
396
|
VerificationStatuses: []
|
|
413
397
|
};
|
|
414
|
-
const
|
|
415
|
-
if (
|
|
416
|
-
const
|
|
398
|
+
const r = ye(e);
|
|
399
|
+
if (r && r.length) {
|
|
400
|
+
const p = ke(r);
|
|
417
401
|
return {
|
|
418
|
-
VerificationSummaryStatus:
|
|
419
|
-
VerificationUrl: (l =
|
|
420
|
-
VerificationStatuses:
|
|
402
|
+
VerificationSummaryStatus: p.Status,
|
|
403
|
+
VerificationUrl: (l = p.Flags) == null ? void 0 : l.DeferredUrlKey,
|
|
404
|
+
VerificationStatuses: G(r, p.Status)
|
|
421
405
|
};
|
|
422
406
|
} else
|
|
423
407
|
return {
|
|
424
|
-
VerificationSummaryStatus: e.some((
|
|
425
|
-
VerificationStatuses:
|
|
408
|
+
VerificationSummaryStatus: e.some((M) => M.Status === V.Failed) ? V.Failed : V.Verified,
|
|
409
|
+
VerificationStatuses: G(e, [V.Failed])
|
|
426
410
|
};
|
|
427
|
-
},
|
|
428
|
-
(
|
|
411
|
+
}, ke = (e) => e.reduce(
|
|
412
|
+
(r, l) => r ? new Date(r) < new Date(l) ? l : r : l,
|
|
429
413
|
0
|
|
430
|
-
),
|
|
431
|
-
var
|
|
414
|
+
), G = (e, r) => e.filter((l) => r.includes(l.Status)).map((l) => {
|
|
415
|
+
var p, M;
|
|
432
416
|
return {
|
|
433
417
|
Type: l.Type,
|
|
434
418
|
Vendor: l.VendorName,
|
|
435
419
|
VerificationDocuments: l.Documents ? [...l.Documents] : [],
|
|
436
|
-
VerificationUrlType: (
|
|
437
|
-
VerificationUrl: (
|
|
420
|
+
VerificationUrlType: (p = l.FlowInfo) == null ? void 0 : p.Type,
|
|
421
|
+
VerificationUrl: (M = l.FlowInfo) == null ? void 0 : M.Url
|
|
438
422
|
};
|
|
439
|
-
}),
|
|
440
|
-
const
|
|
441
|
-
return
|
|
442
|
-
},
|
|
443
|
-
switch (
|
|
444
|
-
case
|
|
423
|
+
}), ye = (e) => e.filter((r) => de.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || Ve(r) || be(r) : !1), Ve = (e) => {
|
|
424
|
+
const r = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((p) => p.Status === Y.Requested);
|
|
425
|
+
return r && l;
|
|
426
|
+
}, be = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, Pe = () => {
|
|
427
|
+
switch (d.VerificationSummaryStatus) {
|
|
428
|
+
case V.InProgress:
|
|
445
429
|
const e = [];
|
|
446
|
-
return
|
|
447
|
-
e.push(
|
|
430
|
+
return E.forEach((r) => {
|
|
431
|
+
e.push(Ce(r));
|
|
448
432
|
}), e;
|
|
449
|
-
case
|
|
450
|
-
return [
|
|
451
|
-
case
|
|
452
|
-
return [
|
|
433
|
+
case V.Referred:
|
|
434
|
+
return [s("verification.idenfy.referred-awaiting")];
|
|
435
|
+
case V.Failed:
|
|
436
|
+
return [s("verification.message.failed")];
|
|
453
437
|
}
|
|
454
|
-
},
|
|
455
|
-
const
|
|
456
|
-
if (e ===
|
|
457
|
-
return
|
|
438
|
+
}, Ce = (e) => {
|
|
439
|
+
const r = d.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
440
|
+
if (e === R.ShuftiPro)
|
|
441
|
+
return De(r);
|
|
458
442
|
{
|
|
459
|
-
const l =
|
|
460
|
-
link: `<a href="${
|
|
443
|
+
const l = s("verification.idenfy.link-name"), p = {
|
|
444
|
+
link: `<a href="${r[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
461
445
|
};
|
|
462
|
-
return
|
|
446
|
+
return s("verification.idenfy.in-progress", { values: p });
|
|
463
447
|
}
|
|
464
|
-
},
|
|
465
|
-
const
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
448
|
+
}, De = (e) => {
|
|
449
|
+
const r = [], l = {}, p = [
|
|
450
|
+
H.Biometric,
|
|
451
|
+
H.Documents,
|
|
452
|
+
H.ProofOfAddress
|
|
469
453
|
];
|
|
470
|
-
e.forEach((
|
|
471
|
-
|
|
454
|
+
e.forEach((T) => {
|
|
455
|
+
p.includes(T.Type) && (r.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
|
|
472
456
|
});
|
|
473
|
-
let
|
|
474
|
-
return
|
|
475
|
-
},
|
|
476
|
-
t(4,
|
|
477
|
-
},
|
|
478
|
-
t(5,
|
|
479
|
-
},
|
|
480
|
-
|
|
457
|
+
let M = r.every((T) => z.has(T)), U = `verification.shuftipro.in-progress.${r.sort().join(".")}`;
|
|
458
|
+
return M ? s("verification.shuftipro.validations-started") : s(U, { values: l });
|
|
459
|
+
}, Se = (e, r) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${r}</a>`, _e = (e) => s(`verification.shuftipro.link-name.${e}`), xe = () => {
|
|
460
|
+
t(4, y = !y);
|
|
461
|
+
}, Ae = () => {
|
|
462
|
+
t(5, m = !Ue(ue));
|
|
463
|
+
}, ze = () => {
|
|
464
|
+
W = h + "/" + u + "/" + ri;
|
|
481
465
|
try {
|
|
482
|
-
fetch(
|
|
483
|
-
t(6,
|
|
466
|
+
fetch(W, { method: "HEAD" }).then((e) => {
|
|
467
|
+
t(6, q = e.ok);
|
|
484
468
|
});
|
|
485
469
|
} catch (e) {
|
|
486
|
-
t(6,
|
|
470
|
+
t(6, q = !1);
|
|
487
471
|
}
|
|
488
|
-
},
|
|
472
|
+
}, Me = () => {
|
|
473
|
+
v.length > 0 && (I = v.split(","));
|
|
474
|
+
}, Be = () => {
|
|
489
475
|
window.dispatchEvent(new CustomEvent(
|
|
490
476
|
"modal-update",
|
|
491
477
|
{
|
|
492
|
-
detail: { type: "video", data: { videoSrc:
|
|
478
|
+
detail: { type: "video", data: { videoSrc: W } }
|
|
493
479
|
}
|
|
494
480
|
));
|
|
495
481
|
};
|
|
496
|
-
function
|
|
497
|
-
|
|
498
|
-
|
|
482
|
+
function Oe(e) {
|
|
483
|
+
je[e ? "unshift" : "push"](() => {
|
|
484
|
+
P = e, t(2, P);
|
|
499
485
|
});
|
|
500
486
|
}
|
|
501
487
|
return o.$$set = (e) => {
|
|
502
|
-
"endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13,
|
|
488
|
+
"endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13, w = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(14, b = e.session), "customerid" in e && t(15, S = e.customerid), "playersession" in e && t(16, x = e.playersession), "userroles" in e && t(17, v = e.userroles), "mbsource" in e && t(18, A = e.mbsource);
|
|
503
489
|
}, o.$$.update = () => {
|
|
504
|
-
o.$$.dirty[0] & /*
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
83968 && a &&
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
490
|
+
o.$$.dirty[0] & /*userroles*/
|
|
491
|
+
131072 && v && Me(), o.$$.dirty[0] & /*lang*/
|
|
492
|
+
4096 && u && he(), o.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
493
|
+
83968 && a && b && x && Z(), o.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
494
|
+
83968 && a && !b && x && ve(), o.$$.dirty[0] & /*translationurl*/
|
|
495
|
+
8192 && w && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
496
|
+
5 && D && P && We(P, D), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
497
|
+
6 && k && P && Xe(P, k), o.$$.dirty[0] & /*staticCdnUrl*/
|
|
498
|
+
524288 && h && ze(), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
499
|
+
262148 && A && P && Ye(P, `${A}.Style`, fe);
|
|
513
500
|
}, [
|
|
514
501
|
D,
|
|
515
502
|
k,
|
|
516
|
-
b,
|
|
517
|
-
p,
|
|
518
|
-
f,
|
|
519
503
|
P,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
504
|
+
f,
|
|
505
|
+
y,
|
|
506
|
+
m,
|
|
507
|
+
q,
|
|
508
|
+
X,
|
|
509
|
+
s,
|
|
510
|
+
xe,
|
|
511
|
+
Be,
|
|
525
512
|
a,
|
|
526
513
|
u,
|
|
527
|
-
g,
|
|
528
|
-
V,
|
|
529
|
-
_,
|
|
530
|
-
x,
|
|
531
514
|
w,
|
|
532
|
-
|
|
533
|
-
|
|
515
|
+
b,
|
|
516
|
+
S,
|
|
517
|
+
x,
|
|
518
|
+
v,
|
|
519
|
+
A,
|
|
520
|
+
h,
|
|
521
|
+
Oe
|
|
534
522
|
];
|
|
535
523
|
}
|
|
536
|
-
class
|
|
524
|
+
class si extends Fe {
|
|
537
525
|
constructor(i) {
|
|
538
|
-
super(),
|
|
526
|
+
super(), Ee(
|
|
539
527
|
this,
|
|
540
528
|
i,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
529
|
+
oi,
|
|
530
|
+
ti,
|
|
531
|
+
Re,
|
|
544
532
|
{
|
|
545
533
|
endpoint: 11,
|
|
546
534
|
lang: 12,
|
|
@@ -550,9 +538,10 @@ class ti extends Le {
|
|
|
550
538
|
session: 14,
|
|
551
539
|
customerid: 15,
|
|
552
540
|
playersession: 16,
|
|
553
|
-
|
|
541
|
+
userroles: 17,
|
|
542
|
+
mbsource: 18
|
|
554
543
|
},
|
|
555
|
-
|
|
544
|
+
$e,
|
|
556
545
|
[-1, -1]
|
|
557
546
|
);
|
|
558
547
|
}
|
|
@@ -560,58 +549,64 @@ class ti extends Le {
|
|
|
560
549
|
return this.$$.ctx[11];
|
|
561
550
|
}
|
|
562
551
|
set endpoint(i) {
|
|
563
|
-
this.$$set({ endpoint: i }),
|
|
552
|
+
this.$$set({ endpoint: i }), _();
|
|
564
553
|
}
|
|
565
554
|
get lang() {
|
|
566
555
|
return this.$$.ctx[12];
|
|
567
556
|
}
|
|
568
557
|
set lang(i) {
|
|
569
|
-
this.$$set({ lang: i }),
|
|
558
|
+
this.$$set({ lang: i }), _();
|
|
570
559
|
}
|
|
571
560
|
get translationurl() {
|
|
572
561
|
return this.$$.ctx[13];
|
|
573
562
|
}
|
|
574
563
|
set translationurl(i) {
|
|
575
|
-
this.$$set({ translationurl: i }),
|
|
564
|
+
this.$$set({ translationurl: i }), _();
|
|
576
565
|
}
|
|
577
566
|
get clientstyling() {
|
|
578
567
|
return this.$$.ctx[0];
|
|
579
568
|
}
|
|
580
569
|
set clientstyling(i) {
|
|
581
|
-
this.$$set({ clientstyling: i }),
|
|
570
|
+
this.$$set({ clientstyling: i }), _();
|
|
582
571
|
}
|
|
583
572
|
get clientstylingurl() {
|
|
584
573
|
return this.$$.ctx[1];
|
|
585
574
|
}
|
|
586
575
|
set clientstylingurl(i) {
|
|
587
|
-
this.$$set({ clientstylingurl: i }),
|
|
576
|
+
this.$$set({ clientstylingurl: i }), _();
|
|
588
577
|
}
|
|
589
578
|
get session() {
|
|
590
579
|
return this.$$.ctx[14];
|
|
591
580
|
}
|
|
592
581
|
set session(i) {
|
|
593
|
-
this.$$set({ session: i }),
|
|
582
|
+
this.$$set({ session: i }), _();
|
|
594
583
|
}
|
|
595
584
|
get customerid() {
|
|
596
585
|
return this.$$.ctx[15];
|
|
597
586
|
}
|
|
598
587
|
set customerid(i) {
|
|
599
|
-
this.$$set({ customerid: i }),
|
|
588
|
+
this.$$set({ customerid: i }), _();
|
|
600
589
|
}
|
|
601
590
|
get playersession() {
|
|
602
591
|
return this.$$.ctx[16];
|
|
603
592
|
}
|
|
604
593
|
set playersession(i) {
|
|
605
|
-
this.$$set({ playersession: i }),
|
|
594
|
+
this.$$set({ playersession: i }), _();
|
|
606
595
|
}
|
|
607
|
-
get
|
|
596
|
+
get userroles() {
|
|
608
597
|
return this.$$.ctx[17];
|
|
609
598
|
}
|
|
599
|
+
set userroles(i) {
|
|
600
|
+
this.$$set({ userroles: i }), _();
|
|
601
|
+
}
|
|
602
|
+
get mbsource() {
|
|
603
|
+
return this.$$.ctx[18];
|
|
604
|
+
}
|
|
610
605
|
set mbsource(i) {
|
|
611
|
-
this.$$set({ mbsource: i }),
|
|
606
|
+
this.$$set({ mbsource: i }), _();
|
|
612
607
|
}
|
|
613
608
|
}
|
|
614
|
-
|
|
609
|
+
Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
615
610
|
export {
|
|
616
|
-
|
|
611
|
+
si as default
|
|
617
612
|
};
|