@everymatrix/cashier-page 1.87.26 → 1.87.102
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-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
- package/components/CashierCarousel-BhLbwlL5.js +5736 -0
- package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
- package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
- package/components/CashierError-BN1XW0cs.cjs +1 -0
- package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
- package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
- package/components/CashierError-CXcO-Kju.js +415 -0
- package/components/CashierError-CXwvUOLy.js +415 -0
- package/components/CashierError-D4Au4WNB.cjs +1 -0
- package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
- package/components/CashierHeader-BhGRQhkm.cjs +1 -0
- package/components/CashierHeader-C_Mz7ISU.js +397 -0
- package/components/CashierHeader-CaV1gcjZ.js +397 -0
- package/components/CashierHeader-CmAjJv-w.cjs +1 -0
- package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
- package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
- package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
- package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
- package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
- package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
- package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
- package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
- package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
- package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
- package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
- package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
- package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
- package/components/CashierMethodsList-B6tMxcnh.js +794 -0
- package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
- package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
- package/components/CashierMethodsList-DSq72RRw.js +809 -0
- package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
- package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
- package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
- package/components/CashierModal-C845c3D0.cjs +1 -0
- package/components/CashierModal-CTYxaPKG.js +366 -0
- package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
- package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
- package/components/CashierModal-ndVMjksn.js +382 -0
- package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
- package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/CashierNotifications-D4fUbROm.js +129 -0
- package/components/CashierNotifications-JNstA5Yb.js +129 -0
- package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
- package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
- package/components/CashierPage-4nTfbT_j.js +3994 -0
- package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
- package/components/CashierPage-Bd71Nhaq.js +4020 -0
- package/components/CashierPage-CHtYMgc0.cjs +1 -0
- package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
- package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
- package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
- package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
- package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
- package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
- package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
- package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
- package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
- package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
- package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
- package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
- package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
- package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
- package/components/CashierSpinner-C0P8ZCtD.js +78 -0
- package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/CashierSpinner-CikMZBzw.cjs +1 -0
- package/components/CashierSpinner-DJTUb5NI.js +78 -0
- package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/CashierStepUp-5um8gbUX.js +1068 -0
- package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
- package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
- package/components/CashierStepUp-CxawlCYf.cjs +1 -0
- package/components/CashierStepUp-CyO7gmgP.js +1107 -0
- package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
- package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
- package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
- package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
- package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
- package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
- package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
- package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
- package/components/CashierVerifications-BmZYiJaN.js +578 -0
- package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
- package/components/CashierVerifications-DkayuISY.cjs +1 -0
- package/components/CashierVerifications-hID6hjDs.js +582 -0
- package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
- package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
- package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
- package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
- package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
- package/components/TxnStatusIcon-VvYGYLio.js +142 -0
- package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
- package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/TxnTypeIcons-lKki7AUK.js +101 -0
- package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
- package/components/TxnTypeIcons-zM86UKOx.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
- package/components/CashierError-BOmVvy3N.cjs +0 -1
- package/components/CashierHeader-B7XYr24D.cjs +0 -1
- package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
- package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
- package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as Q, u as
|
|
1
|
+
import { a as Oe, i as Be, $ as Me, S as Te, b as Le, f as z, c as qe, s as Fe, d as Re, g as C, j as c, T as O, k as B, G, p as M, q as J, r as Ee, v as Ie, A as He, N as Ue, B as je, C as Ne, D as We, F as U, Y as Z, R as j, h as F, x as ne, l as v, z as se, y as ae, a3 as Ye } from "./CashierCarousel-BS_3salc.js";
|
|
2
|
+
import { d as Q, u as Xe, x as Ke } from "./CashierMethodDetails-Bdko0TrB.js";
|
|
3
3
|
function $(o, i) {
|
|
4
|
-
|
|
4
|
+
Oe(o, i);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function Ge(o) {
|
|
7
|
+
Be({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Me.set(o);
|
|
10
10
|
}
|
|
11
11
|
const ee = {
|
|
12
12
|
en: {
|
|
@@ -67,14 +67,14 @@ 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
|
-
function
|
|
71
|
-
|
|
70
|
+
function Je(o) {
|
|
71
|
+
Re(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)}');
|
|
72
72
|
}
|
|
73
73
|
function ie(o, i, t) {
|
|
74
74
|
const n = o.slice();
|
|
75
75
|
return n[53] = i[t], n;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ze(o) {
|
|
78
78
|
let i, t = (
|
|
79
79
|
/*displayMessages*/
|
|
80
80
|
o[3].length > 0 && te(o)
|
|
@@ -84,18 +84,18 @@ function Je(o) {
|
|
|
84
84
|
i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
|
|
85
85
|
},
|
|
86
86
|
m(n, s) {
|
|
87
|
-
|
|
87
|
+
B(n, i, s), t && t.m(i, null);
|
|
88
88
|
},
|
|
89
89
|
p(n, s) {
|
|
90
90
|
/*displayMessages*/
|
|
91
91
|
n[3].length > 0 ? t ? t.p(n, s) : (t = te(n), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
|
|
92
92
|
},
|
|
93
93
|
d(n) {
|
|
94
|
-
n &&
|
|
94
|
+
n && M(i), t && t.d();
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Qe(o) {
|
|
99
99
|
let i;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -112,7 +112,7 @@ function Ze(o) {
|
|
|
112
112
|
);
|
|
113
113
|
},
|
|
114
114
|
m(t, n) {
|
|
115
|
-
|
|
115
|
+
B(t, i, n);
|
|
116
116
|
},
|
|
117
117
|
p(t, n) {
|
|
118
118
|
n[0] & /*clientstylingurl*/
|
|
@@ -130,7 +130,7 @@ function Ze(o) {
|
|
|
130
130
|
);
|
|
131
131
|
},
|
|
132
132
|
d(t) {
|
|
133
|
-
t &&
|
|
133
|
+
t && M(i);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -138,7 +138,7 @@ function te(o) {
|
|
|
138
138
|
let i, t, n, s, a, u, g, D = (
|
|
139
139
|
/*$_*/
|
|
140
140
|
o[8]("verificationsRequired") + ""
|
|
141
|
-
), k, V, _, x, w, b,
|
|
141
|
+
), k, V, _, x, w, b, L, I, S = Z(
|
|
142
142
|
/*displayMessages*/
|
|
143
143
|
o[3]
|
|
144
144
|
), m = [];
|
|
@@ -150,7 +150,7 @@ function te(o) {
|
|
|
150
150
|
);
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
i = C("div"), t = j("svg"), n = j("path"), s = j("path"), a = j("path"), u = F(), g = C("p"), k =
|
|
153
|
+
i = C("div"), t = j("svg"), n = j("path"), s = j("path"), a = j("path"), u = F(), g = C("p"), k = ne(D), V = F(), _ = C("span"), _.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(), w = C("div");
|
|
154
154
|
for (let f = 0; f < m.length; f += 1)
|
|
155
155
|
m[f].c();
|
|
156
156
|
b = F(), p && p.c(), c(n, "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(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(s, "d", "M12 8V12"), c(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "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(_, "class", "CashierVerificationChevron"), O(
|
|
@@ -166,20 +166,20 @@ function te(o) {
|
|
|
166
166
|
);
|
|
167
167
|
},
|
|
168
168
|
m(f, P) {
|
|
169
|
-
|
|
169
|
+
B(f, i, P), v(i, t), v(t, n), v(t, s), v(t, a), v(i, u), v(i, g), v(g, k), v(i, V), v(i, _), B(f, x, P), B(f, w, P);
|
|
170
170
|
for (let d = 0; d < m.length; d += 1)
|
|
171
171
|
m[d] && m[d].m(w, null);
|
|
172
|
-
v(w, b), p && p.m(w, null),
|
|
172
|
+
v(w, b), p && p.m(w, null), L || (I = se(
|
|
173
173
|
i,
|
|
174
174
|
"click",
|
|
175
175
|
/*toggleVerifications*/
|
|
176
176
|
o[9]
|
|
177
|
-
),
|
|
177
|
+
), L = !0);
|
|
178
178
|
},
|
|
179
179
|
p(f, P) {
|
|
180
180
|
if (P[0] & /*$_*/
|
|
181
181
|
256 && D !== (D = /*$_*/
|
|
182
|
-
f[8]("verificationsRequired") + "") &&
|
|
182
|
+
f[8]("verificationsRequired") + "") && ae(k, D), P[0] & /*allVerificationsVisible*/
|
|
183
183
|
16 && O(
|
|
184
184
|
_,
|
|
185
185
|
"ShowVerifications",
|
|
@@ -210,7 +210,7 @@ function te(o) {
|
|
|
210
210
|
);
|
|
211
211
|
},
|
|
212
212
|
d(f) {
|
|
213
|
-
f && (
|
|
213
|
+
f && (M(i), M(x), M(w)), Ye(m, f), p && p.d(), L = !1, I();
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
}
|
|
@@ -224,7 +224,7 @@ function re(o) {
|
|
|
224
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>', n = F(), s = C("p"), c(t, "class", "IconVerification"), c(s, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
|
|
225
225
|
},
|
|
226
226
|
m(u, g) {
|
|
227
|
-
|
|
227
|
+
B(u, i, g), v(i, t), v(i, n), v(i, s), s.innerHTML = a;
|
|
228
228
|
},
|
|
229
229
|
p(u, g) {
|
|
230
230
|
g[0] & /*displayMessages*/
|
|
@@ -232,7 +232,7 @@ function re(o) {
|
|
|
232
232
|
u[53] + "") && (s.innerHTML = a);
|
|
233
233
|
},
|
|
234
234
|
d(u) {
|
|
235
|
-
u &&
|
|
235
|
+
u && M(i);
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
}
|
|
@@ -243,7 +243,7 @@ function oe(o) {
|
|
|
243
243
|
), u, g, D;
|
|
244
244
|
return {
|
|
245
245
|
c() {
|
|
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>', n = F(), s = C("div"), u =
|
|
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>', n = F(), s = C("div"), u = ne(a), c(t, "class", "IconVideo"), c(s, "class", "CashierVerificationVideoLink"), O(
|
|
247
247
|
s,
|
|
248
248
|
"CashierVerificationVideoLinkDesktop",
|
|
249
249
|
/*desktopView*/
|
|
@@ -251,7 +251,7 @@ function oe(o) {
|
|
|
251
251
|
), c(i, "class", "CashierVerificationVideo Test");
|
|
252
252
|
},
|
|
253
253
|
m(k, V) {
|
|
254
|
-
|
|
254
|
+
B(k, i, V), v(i, t), v(i, n), v(i, s), v(s, u), g || (D = se(
|
|
255
255
|
i,
|
|
256
256
|
"click",
|
|
257
257
|
/*showVideo*/
|
|
@@ -261,7 +261,7 @@ function oe(o) {
|
|
|
261
261
|
p(k, V) {
|
|
262
262
|
V[0] & /*$_*/
|
|
263
263
|
256 && a !== (a = /*$_*/
|
|
264
|
-
k[8]("verification.video.how-to") + "") &&
|
|
264
|
+
k[8]("verification.video.how-to") + "") && ae(u, a), V[0] & /*desktopView*/
|
|
265
265
|
32 && O(
|
|
266
266
|
s,
|
|
267
267
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -270,23 +270,23 @@ function oe(o) {
|
|
|
270
270
|
);
|
|
271
271
|
},
|
|
272
272
|
d(k) {
|
|
273
|
-
k &&
|
|
273
|
+
k && M(i), g = !1, D();
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function $e(o) {
|
|
278
278
|
let i;
|
|
279
279
|
function t(a, u) {
|
|
280
280
|
if (
|
|
281
281
|
/*isLoading*/
|
|
282
282
|
a[7]
|
|
283
283
|
)
|
|
284
|
-
return
|
|
284
|
+
return Qe;
|
|
285
285
|
if (
|
|
286
286
|
/*displayMessages*/
|
|
287
287
|
a[3]
|
|
288
288
|
)
|
|
289
|
-
return
|
|
289
|
+
return Ze;
|
|
290
290
|
}
|
|
291
291
|
let n = t(o), s = n && n(o);
|
|
292
292
|
return {
|
|
@@ -299,7 +299,7 @@ function Qe(o) {
|
|
|
299
299
|
);
|
|
300
300
|
},
|
|
301
301
|
m(a, u) {
|
|
302
|
-
|
|
302
|
+
B(a, i, u), s && s.m(i, null), o[19](i);
|
|
303
303
|
},
|
|
304
304
|
p(a, u) {
|
|
305
305
|
n === (n = t(a)) && s ? s.p(a, u) : (s && s.d(1), s = n && n(a), s && (s.c(), s.m(i, null))), u[0] & /*desktopView*/
|
|
@@ -313,19 +313,19 @@ function Qe(o) {
|
|
|
313
313
|
i: G,
|
|
314
314
|
o: G,
|
|
315
315
|
d(a) {
|
|
316
|
-
a &&
|
|
316
|
+
a && M(i), s && s.d(), o[19](null);
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
|
-
const
|
|
321
|
-
function
|
|
320
|
+
const ei = "verification_explanation_video_widgets.MP4";
|
|
321
|
+
function ii(o, i, t) {
|
|
322
322
|
let n, s;
|
|
323
|
-
J(o,
|
|
324
|
-
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: V = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: w = "" } = i, b,
|
|
325
|
-
var
|
|
323
|
+
J(o, He, (e) => t(8, n = e)), J(o, Ke, (e) => t(27, s = e)), Q.extend(Xe);
|
|
324
|
+
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: V = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: w = "" } = i, b, L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), S, m, p, f = !1, P = !0, d = !1, q = "", N = !1, le, ce = window.navigator.userAgent;
|
|
325
|
+
var R;
|
|
326
326
|
(function(e) {
|
|
327
327
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
328
|
-
})(
|
|
328
|
+
})(R || (R = {}));
|
|
329
329
|
var W;
|
|
330
330
|
(function(e) {
|
|
331
331
|
e.Requested = "Requested";
|
|
@@ -334,21 +334,21 @@ function ei(o, i, t) {
|
|
|
334
334
|
(function(e) {
|
|
335
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";
|
|
336
336
|
})(y || (y = {}));
|
|
337
|
-
var
|
|
337
|
+
var E;
|
|
338
338
|
(function(e) {
|
|
339
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";
|
|
340
|
-
})(
|
|
340
|
+
})(E || (E = {}));
|
|
341
341
|
const Y = (e) => {
|
|
342
342
|
e.data && e.data.type;
|
|
343
343
|
};
|
|
344
|
-
|
|
344
|
+
Ee(() => (window.addEventListener("message", Y), _e(), () => {
|
|
345
345
|
window.removeEventListener("message", Y);
|
|
346
346
|
}));
|
|
347
|
-
const
|
|
347
|
+
const fe = [
|
|
348
348
|
y.InProgress,
|
|
349
349
|
y.Referred,
|
|
350
350
|
y.AwaitingForResponse
|
|
351
|
-
],
|
|
351
|
+
], ue = () => {
|
|
352
352
|
let e = g;
|
|
353
353
|
if (e)
|
|
354
354
|
return fetch(e).then((r) => r.json()).then((r) => {
|
|
@@ -362,10 +362,10 @@ function ei(o, i, t) {
|
|
|
362
362
|
Object.keys(ee).forEach((e) => {
|
|
363
363
|
$(e, ee[e]);
|
|
364
364
|
});
|
|
365
|
-
const
|
|
366
|
-
|
|
365
|
+
const de = () => {
|
|
366
|
+
Ge(u);
|
|
367
367
|
}, X = () => {
|
|
368
|
-
t(18, m =
|
|
368
|
+
t(18, m = pe());
|
|
369
369
|
const e = new URL(`${a}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${u}`), r = new Headers();
|
|
370
370
|
r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("x-sessionid", `${x}`), r.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
371
371
|
const l = {
|
|
@@ -374,30 +374,30 @@ function ei(o, i, t) {
|
|
|
374
374
|
body: JSON.stringify({})
|
|
375
375
|
};
|
|
376
376
|
t(7, N = !0), fetch(e, l).then((h) => h.json()).then((h) => {
|
|
377
|
-
const A =
|
|
378
|
-
S =
|
|
379
|
-
H.VerificationUrlType !== "Widget" &&
|
|
380
|
-
}), t(3, p =
|
|
377
|
+
const A = me(h == null ? void 0 : h.Verifications);
|
|
378
|
+
S = ve(A), S.VerificationStatuses.forEach((H) => {
|
|
379
|
+
H.VerificationUrlType !== "Widget" && L.add(H.Vendor);
|
|
380
|
+
}), t(3, p = Ve());
|
|
381
381
|
}).finally(() => t(7, N = !1));
|
|
382
|
-
},
|
|
382
|
+
}, me = (e) => e ? e.sort((r, l) => new Date(l.Created).getTime() - new Date(r.Created).getTime()) : [], he = () => {
|
|
383
383
|
s && X();
|
|
384
|
-
},
|
|
384
|
+
}, pe = () => {
|
|
385
385
|
let e = (V || s).split(".")[1];
|
|
386
386
|
if (e) {
|
|
387
387
|
let r = JSON.parse(atob(e));
|
|
388
388
|
return r.cdn + "/cashier/operator-assets/" + (r == null ? void 0 : r.mid);
|
|
389
389
|
}
|
|
390
390
|
return "";
|
|
391
|
-
},
|
|
391
|
+
}, ve = (e) => {
|
|
392
392
|
var l;
|
|
393
393
|
if (!e || !e.length)
|
|
394
394
|
return {
|
|
395
395
|
VerificationSummaryStatus: y.Unverified,
|
|
396
396
|
VerificationStatuses: []
|
|
397
397
|
};
|
|
398
|
-
const r =
|
|
398
|
+
const r = we(e);
|
|
399
399
|
if (r && r.length) {
|
|
400
|
-
const h =
|
|
400
|
+
const h = ge(r);
|
|
401
401
|
return {
|
|
402
402
|
VerificationSummaryStatus: h.Status,
|
|
403
403
|
VerificationUrl: (l = h.Flags) == null ? void 0 : l.DeferredUrlKey,
|
|
@@ -408,7 +408,7 @@ function ei(o, i, t) {
|
|
|
408
408
|
VerificationSummaryStatus: e.some((A) => A.Status === y.Failed) ? y.Failed : y.Verified,
|
|
409
409
|
VerificationStatuses: K(e, [y.Failed])
|
|
410
410
|
};
|
|
411
|
-
},
|
|
411
|
+
}, ge = (e) => e.reduce(
|
|
412
412
|
(r, l) => r ? new Date(r) < new Date(l) ? l : r : l,
|
|
413
413
|
0
|
|
414
414
|
), K = (e, r) => e.filter((l) => r.includes(l.Status)).map((l) => {
|
|
@@ -420,48 +420,48 @@ function ei(o, i, t) {
|
|
|
420
420
|
VerificationUrlType: (h = l.FlowInfo) == null ? void 0 : h.Type,
|
|
421
421
|
VerificationUrl: (A = l.FlowInfo) == null ? void 0 : A.Url
|
|
422
422
|
};
|
|
423
|
-
}),
|
|
424
|
-
const r = e.Documents && e.VendorName ===
|
|
423
|
+
}), we = (e) => e.filter((r) => fe.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || ke(r) || ye(r) : !1), ke = (e) => {
|
|
424
|
+
const r = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((h) => h.Status === W.Requested);
|
|
425
425
|
return r && l;
|
|
426
|
-
},
|
|
426
|
+
}, ye = (e) => e.VendorName === R.ShuftiPro && e.Status === y.Referred, Ve = () => {
|
|
427
427
|
switch (S.VerificationSummaryStatus) {
|
|
428
428
|
case y.InProgress:
|
|
429
429
|
const e = [];
|
|
430
|
-
return
|
|
431
|
-
e.push(
|
|
430
|
+
return L.forEach((r) => {
|
|
431
|
+
e.push(be(r));
|
|
432
432
|
}), e;
|
|
433
433
|
case y.Referred:
|
|
434
434
|
return [n("verification.idenfy.referred-awaiting")];
|
|
435
435
|
case y.Failed:
|
|
436
436
|
return [n("verification.message.failed")];
|
|
437
437
|
}
|
|
438
|
-
},
|
|
438
|
+
}, be = (e) => {
|
|
439
439
|
const r = S.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
440
|
-
if (e ===
|
|
441
|
-
return
|
|
440
|
+
if (e === R.ShuftiPro)
|
|
441
|
+
return Pe(r);
|
|
442
442
|
{
|
|
443
443
|
const l = n("verification.idenfy.link-name"), h = {
|
|
444
444
|
link: `<a href="${r[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
445
445
|
};
|
|
446
446
|
return n("verification.idenfy.in-progress", { values: h });
|
|
447
447
|
}
|
|
448
|
-
},
|
|
448
|
+
}, Pe = (e) => {
|
|
449
449
|
const r = [], l = {}, h = [
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
450
|
+
E.Biometric,
|
|
451
|
+
E.Documents,
|
|
452
|
+
E.ProofOfAddress
|
|
453
453
|
];
|
|
454
|
-
e.forEach((
|
|
455
|
-
h.includes(
|
|
454
|
+
e.forEach((T) => {
|
|
455
|
+
h.includes(T.Type) && (r.push(T.Type), l[T.Type] = Ce(T, De(T.Type)));
|
|
456
456
|
});
|
|
457
|
-
let A = r.every((
|
|
457
|
+
let A = r.every((T) => I.has(T)), H = `verification.shuftipro.in-progress.${r.sort().join(".")}`;
|
|
458
458
|
return A ? n("verification.shuftipro.validations-started") : n(H, { values: l });
|
|
459
|
-
},
|
|
459
|
+
}, Ce = (e, r) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${r}</a>`, De = (e) => n(`verification.shuftipro.link-name.${e}`), Se = () => {
|
|
460
460
|
t(4, f = !f);
|
|
461
|
-
}, Se = () => {
|
|
462
|
-
t(5, P = !Ee(le));
|
|
463
461
|
}, _e = () => {
|
|
464
|
-
|
|
462
|
+
t(5, P = !Ue(ce));
|
|
463
|
+
}, xe = () => {
|
|
464
|
+
q = m + "/" + u + "/" + ei;
|
|
465
465
|
try {
|
|
466
466
|
fetch(q, { method: "HEAD" }).then((e) => {
|
|
467
467
|
t(6, d = e.ok);
|
|
@@ -469,7 +469,7 @@ function ei(o, i, t) {
|
|
|
469
469
|
} catch (e) {
|
|
470
470
|
t(6, d = !1);
|
|
471
471
|
}
|
|
472
|
-
},
|
|
472
|
+
}, ze = () => {
|
|
473
473
|
window.dispatchEvent(new CustomEvent(
|
|
474
474
|
"modal-update",
|
|
475
475
|
{
|
|
@@ -477,8 +477,8 @@ function ei(o, i, t) {
|
|
|
477
477
|
}
|
|
478
478
|
));
|
|
479
479
|
};
|
|
480
|
-
function
|
|
481
|
-
|
|
480
|
+
function Ae(e) {
|
|
481
|
+
je[e ? "unshift" : "push"](() => {
|
|
482
482
|
b = e, t(2, b);
|
|
483
483
|
});
|
|
484
484
|
}
|
|
@@ -486,14 +486,14 @@ function ei(o, i, t) {
|
|
|
486
486
|
"endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(14, V = e.session), "customerid" in e && t(15, _ = e.customerid), "playersession" in e && t(16, x = e.playersession), "mbsource" in e && t(17, w = e.mbsource);
|
|
487
487
|
}, o.$$.update = () => {
|
|
488
488
|
o.$$.dirty[0] & /*lang*/
|
|
489
|
-
4096 && u &&
|
|
489
|
+
4096 && u && de(), o.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
490
490
|
83968 && a && V && x && X(), o.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
491
|
-
83968 && a && !V && x &&
|
|
492
|
-
8192 && g &&
|
|
493
|
-
5 && D && b &&
|
|
494
|
-
6 && k && b &&
|
|
495
|
-
262144 && m &&
|
|
496
|
-
131076 && w && b &&
|
|
491
|
+
83968 && a && !V && x && he(), o.$$.dirty[0] & /*translationurl*/
|
|
492
|
+
8192 && g && ue(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
493
|
+
5 && D && b && Ne(b, D), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
494
|
+
6 && k && b && We(b, k), o.$$.dirty[0] & /*staticCdnUrl*/
|
|
495
|
+
262144 && m && xe(), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
496
|
+
131076 && w && b && Ie(b, `${w}.Style`, le);
|
|
497
497
|
}, [
|
|
498
498
|
D,
|
|
499
499
|
k,
|
|
@@ -504,8 +504,8 @@ function ei(o, i, t) {
|
|
|
504
504
|
d,
|
|
505
505
|
N,
|
|
506
506
|
n,
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
Se,
|
|
508
|
+
ze,
|
|
509
509
|
a,
|
|
510
510
|
u,
|
|
511
511
|
g,
|
|
@@ -514,17 +514,17 @@ function ei(o, i, t) {
|
|
|
514
514
|
x,
|
|
515
515
|
w,
|
|
516
516
|
m,
|
|
517
|
-
|
|
517
|
+
Ae
|
|
518
518
|
];
|
|
519
519
|
}
|
|
520
|
-
class
|
|
520
|
+
class ti extends Te {
|
|
521
521
|
constructor(i) {
|
|
522
522
|
super(), Le(
|
|
523
523
|
this,
|
|
524
524
|
i,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
ii,
|
|
526
|
+
$e,
|
|
527
|
+
Fe,
|
|
528
528
|
{
|
|
529
529
|
endpoint: 11,
|
|
530
530
|
lang: 12,
|
|
@@ -536,7 +536,7 @@ class ii extends Me {
|
|
|
536
536
|
playersession: 16,
|
|
537
537
|
mbsource: 17
|
|
538
538
|
},
|
|
539
|
-
|
|
539
|
+
Je,
|
|
540
540
|
[-1, -1]
|
|
541
541
|
);
|
|
542
542
|
}
|
|
@@ -595,7 +595,7 @@ class ii extends Me {
|
|
|
595
595
|
this.$$set({ mbsource: i }), z();
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
|
|
598
|
+
qe(ti, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
|
|
599
599
|
export {
|
|
600
|
-
|
|
600
|
+
ti as default
|
|
601
601
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CfPrrhkY.cjs"),q=require("./CashierMethodDetails-DmvyMFjk.cjs");function H(o,t){e.addMessages(o,t)}function ge(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const U={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"}};function ve(o){e.append_styles(o,"svelte-19ii49m",'*,*::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-bottom:var(--emw--spacing-small, 12px)}.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)}')}function j(o,t,r){const s=o.slice();return s[53]=t[r],s}function we(o){let t,r=o[3].length>0&&W(o);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=W(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ke(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[1]),e.set_custom_element_data(t,"clientstyling",o[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function W(o){let t,r,s,a,l,d,g,_=o[8]("verificationsRequired")+"",w,y,S,P,v,V,M,z,C=e.ensure_array_like(o[3]),h=[];for(let f=0;f<C.length;f+=1)h[f]=N(j(o,C,f));let m=o[6]&&Y(o);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),d=e.space(),g=e.element("p"),w=e.text(_),y=e.space(),S=e.element("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>',P=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();V=e.space(),m&&m.c(),e.attr(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"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(S,"class","CashierVerificationChevron"),e.toggle_class(S,"ShowVerifications",o[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",o[4])},m(f,b){e.insert(f,t,b),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,y),e.append(t,S),e.insert(f,P,b),e.insert(f,v,b);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,V),m&&m.m(v,null),M||(z=e.listen(t,"click",o[9]),M=!0)},p(f,b){if(b[0]&256&&_!==(_=f[8]("verificationsRequired")+"")&&e.set_data(w,_),b[0]&16&&e.toggle_class(S,"ShowVerifications",f[4]),b[0]&8){C=e.ensure_array_like(f[3]);let u;for(u=0;u<C.length;u+=1){const A=j(f,C,u);h[u]?h[u].p(A,b):(h[u]=N(A),h[u].c(),h[u].m(v,V))}for(;u<h.length;u+=1)h[u].d(1);h.length=C.length}f[6]?m?m.p(f,b):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),b[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(P),e.detach(v)),e.destroy_each(h,f),m&&m.d(),M=!1,z()}}}function N(o){let t,r,s,a,l=o[53]+"";return{c(){t=e.element("div"),r=e.element("div"),r.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=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(o){let t,r,s,a,l=o[8]("verification.video.how-to")+"",d,g,_;return{c(){t=e.element("div"),r=e.element("div"),r.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=e.space(),a=e.element("div"),d=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",o[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,y){e.insert(w,t,y),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(_=e.listen(t,"click",o[10]),g=!0)},p(w,y){y[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),y[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,_()}}}function ye(o){let t;function r(l,d){if(l[7])return ke;if(l[3])return we}let s=r(o),a=s&&s(o);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",o[5])},m(l,d){e.insert(l,t,d),a&&a.m(t,null),o[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),o[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function be(o,t,r){let s,a;e.component_subscribe(o,e.$format,i=>r(8,s=i)),e.component_subscribe(o,q.xPaymentSessionToken,i=>r(27,a=i)),q.dayjs.extend(q.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:_=""}=t,{clientstylingurl:w=""}=t,{session:y=""}=t,{customerid:S=""}=t,{playersession:P=""}=t,{mbsource:v=""}=t,V,M=new Set,z=new Set,C,h,m,f=!1,b=!0,u=!1,A="",B=!1,K=window.navigator.userAgent;var T;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(T||(T={}));var F;(function(i){i.Requested="Requested"})(F||(F={}));var k;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(k||(k={}));var L;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(L||(L={}));const E=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",E),ue(),()=>{window.removeEventListener("message",E)}));const Z=[k.InProgress,k.Referred,k.AwaitingForResponse],G=()=>{let i=g;if(i)return fetch(i).then(n=>n.json()).then(n=>{Object.keys(n).forEach(c=>{H(c,n[c])})}).catch(n=>{console.log(n)})};Object.keys(U).forEach(i=>{H(i,U[i])});const J=()=>{ge(d)},I=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${d}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${P}`),n.append("X-Client-Request-Timestamp",q.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:n,body:JSON.stringify({})};r(7,B=!0),fetch(i,c).then(p=>p.json()).then(p=>{const D=Q(p==null?void 0:p.Verifications);C=ie(D),C.VerificationStatuses.forEach(O=>{O.VerificationUrlType!=="Widget"&&M.add(O.Vendor)}),r(3,m=se())}).finally(()=>r(7,B=!1))},Q=i=>i?i.sort((n,c)=>new Date(c.Created).getTime()-new Date(n.Created).getTime()):[],$=()=>{a&&I()},ee=()=>{let i=(y||a).split(".")[1];if(i){let n=JSON.parse(atob(i));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:k.Unverified,VerificationStatuses:[]};const n=re(i);if(n&&n.length){const p=te(n);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(n,p.Status)}}else return{VerificationSummaryStatus:i.some(D=>D.Status===k.Failed)?k.Failed:k.Verified,VerificationStatuses:R(i,[k.Failed])}},te=i=>i.reduce((n,c)=>n?new Date(n)<new Date(c)?c:n:c,0),R=(i,n)=>i.filter(c=>n.includes(c.Status)).map(c=>{var p,D;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(D=c.FlowInfo)==null?void 0:D.Url}}),re=i=>i.filter(n=>Z.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||ne(n)||oe(n):!1),ne=i=>{const n=i.Documents&&i.VendorName===T.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===F.Requested);return n&&c},oe=i=>i.VendorName===T.ShuftiPro&&i.Status===k.Referred,se=()=>{switch(C.VerificationSummaryStatus){case k.InProgress:const i=[];return M.forEach(n=>{i.push(ae(n))}),i;case k.Referred:return[s("verification.idenfy.referred-awaiting")];case k.Failed:return[s("verification.message.failed")]}},ae=i=>{const n=C.VerificationStatuses.filter(c=>c.Vendor===i);if(i===T.ShuftiPro)return le(n);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${n[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const n=[],c={},p=[L.Biometric,L.Documents,L.ProofOfAddress];i.forEach(x=>{p.includes(x.Type)&&(n.push(x.Type),c[x.Type]=ce(x,fe(x.Type)))});let D=n.every(x=>z.has(x)),O=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return D?s("verification.shuftipro.validations-started"):s(O,{values:c})},ce=(i,n)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${n}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,b=!e.isMobile(K))},he=()=>{A=h+"/"+d+"/"+Ve;try{fetch(A,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:A}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{V=i,r(2,V)})}return o.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,_=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,y=i.session),"customerid"in i&&r(15,S=i.customerid),"playersession"in i&&r(16,P=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},o.$$.update=()=>{o.$$.dirty[0]&4096&&d&&J(),o.$$.dirty[0]&83968&&l&&y&&P&&I(),o.$$.dirty[0]&83968&&l&&!y&&P&&$(),o.$$.dirty[0]&8192&&g&&G(),o.$$.dirty[0]&5&&_&&V&&e.setClientStyling(V,_),o.$$.dirty[0]&6&&w&&V&&e.setClientStylingURL(V,w),o.$$.dirty[0]&262144&&h&&he(),o.$$.dirty[0]&131076&&v&&V&&e.setStreamStyling(V,`${v}.Style`)},[_,w,V,m,f,b,u,B,s,de,pe,l,d,g,y,S,P,v,h,me]}class X extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,be,ye,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=X;
|