@everymatrix/cashier-page 1.92.21 → 1.92.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/components/{CashierCarousel-B-cM-nlR.js → CashierCarousel-DJXsZKF9.js} +8 -8
  2. package/components/{CashierCarousel-CXoovlrR.js → CashierCarousel-DwrGzk7c.js} +8 -8
  3. package/components/{CashierError-66WHxjwV.js → CashierError-Bqtyy8-q.js} +1 -1
  4. package/components/{CashierError-BCtelxyY.js → CashierError-D054pa3k.js} +1 -1
  5. package/components/{CashierHeader-BbP0idUh.js → CashierHeader-BNDmkX5f.js} +1 -1
  6. package/components/{CashierHeader-B7FnLv3f.js → CashierHeader-DJYOdmdi.js} +1 -1
  7. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-CF8dL6ee.js} +3 -3
  8. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-CbC9sVb1.js} +3 -3
  9. package/components/{CashierMethodDetails-JQOw_ppF.js → CashierMethodDetails--IMv7H_c.js} +2241 -2213
  10. package/components/CashierMethodDetails-DKilKTvZ.cjs +85 -0
  11. package/components/{CashierMethodDetails-C7odWYEI.js → CashierMethodDetails-DyGJR41H.js} +2006 -1978
  12. package/components/{CashierMethodsList-C-7-CmRx.js → CashierMethodsList-B9DjH96_.js} +2 -2
  13. package/components/{CashierMethodsList-CNxb5rVf.cjs → CashierMethodsList-DOHV32Mq.cjs} +1 -1
  14. package/components/{CashierMethodsList-CZxMoF32.js → CashierMethodsList-EK8cDm1s.js} +2 -2
  15. package/components/CashierModal-BLrymidc.cjs +1 -0
  16. package/components/{CashierModal-BsrmgnKi.js → CashierModal-CV1Fn4BP.js} +11 -11
  17. package/components/{CashierModal-B1pfSpCs.js → CashierModal-ZV_9oeml.js} +10 -10
  18. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-C_xReVni.js} +1 -1
  19. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-DHKh64xU.js} +1 -1
  20. package/components/{CashierPage-CIxAkXYb.js → CashierPage-7jpFMiKZ.js} +966 -895
  21. package/components/CashierPage-CX2hDN5u.cjs +1 -0
  22. package/components/{CashierPage-Bhgj76MY.js → CashierPage-HcDcNtRL.js} +927 -852
  23. package/components/{CashierReceiptPage-DjfCUH2F.js → CashierReceiptPage-Cuvw9XxN.js} +154 -167
  24. package/components/{CashierReceiptPage-DGZSqJFO.js → CashierReceiptPage-D1f4aEUM.js} +165 -178
  25. package/components/CashierReceiptPage-DwxZa5J9.cjs +26 -0
  26. package/components/{CashierSessionExpirationModal-BKxhGCj9.js → CashierSessionExpirationModal-C1YOm9xB.js} +3 -3
  27. package/components/CashierSessionExpirationModal-DoavAwb8.cjs +2 -0
  28. package/components/{CashierSessionExpirationModal-CU8HtTwA.js → CashierSessionExpirationModal-N1himP5R.js} +3 -3
  29. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-D3HhhmOb.js} +1 -1
  30. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DyemUXs_.js} +1 -1
  31. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CSZd5C7z.js} +1 -1
  32. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-CmTcFbG9.js} +1 -1
  33. package/components/{CashierTransactionHistory-CWxjn4dO.js → CashierTransactionHistory-Bw9R1B5s.js} +5 -5
  34. package/components/{CashierTransactionHistory-D1hopcmz.js → CashierTransactionHistory-DAr0kNbC.js} +5 -5
  35. package/components/CashierTransactionHistory-DtQlN8Ut.cjs +1 -0
  36. package/components/{CashierVerifications-B3UcXWeI.js → CashierVerifications-D2X_Yoqz.js} +284 -269
  37. package/components/{CashierVerifications-CWsTc0hE.js → CashierVerifications-gBbuT40t.js} +254 -239
  38. package/components/CashierVerifications-sSW0PUAp.cjs +1 -0
  39. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
  40. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-ssLhQR5N.js} +1 -1
  41. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-B84nFRMh.js} +1 -1
  42. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-DhwUYw-o.js} +1 -1
  43. package/es2015/cashier-page.cjs +1 -1
  44. package/es2015/cashier-page.js +7 -7
  45. package/esnext/cashier-page.js +1 -1
  46. package/package.json +1 -1
  47. package/components/CashierMethodDetails-DjLhLSey.cjs +0 -85
  48. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  49. package/components/CashierPage-iIGUB5g4.cjs +0 -1
  50. package/components/CashierReceiptPage-B530KWIS.cjs +0 -26
  51. package/components/CashierSessionExpirationModal-C6owPr_u.cjs +0 -2
  52. package/components/CashierTransactionHistory-CYaB1hEN.cjs +0 -1
  53. package/components/CashierVerifications-D3X4oFbB.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Te, i as Le, $ as qe, S as Fe, b as Ee, s as Re, f as _, c as He, G as J, e as B, W as M, k as O, m as P, o as c, p as Q, q as Ie, N as Ue, y as je, A as U, Z as $, a4 as Ne, v as ae, l as v, x as le, X as j, n as q, w as ce, B as We, C as Xe, D as Ye, E as Ke, F as Ze } from "./CashierCarousel-B-cM-nlR.js";
2
- import { d as ee, u as Ge, x as Je } from "./CashierMethodDetails-JQOw_ppF.js";
3
- function ie(r, i) {
4
- Te(r, i);
1
+ import { a as Fe, i as Ee, $ as He, S as Re, b as Ie, s as Ue, f as A, c as je, G as $, e as L, W as B, k as O, m as b, o as c, p as ee, q as Ne, N as We, y as Xe, A as W, Z as ie, a4 as Ye, v as fe, a3 as te, l as m, a8 as Ke, x as ue, X, n as E, w as de, L as Ze, B as Ge, C as Je, D as Qe, E as $e, F as ei } from "./CashierCarousel-DJXsZKF9.js";
2
+ import { d as re, u as ii, x as ti } from "./CashierMethodDetails--IMv7H_c.js";
3
+ function oe(r, i) {
4
+ Fe(r, i);
5
5
  }
6
- function Qe(r) {
7
- Le({
6
+ function ri(r) {
7
+ Ee({
8
8
  fallbackLocale: "en"
9
- }), qe.set(r);
9
+ }), He.set(r);
10
10
  }
11
- const te = {
11
+ const se = {
12
12
  en: {
13
13
  verificationsRequired: "Verifications Required",
14
14
  "verification.video.how-to": "How to verify yourself?",
@@ -67,44 +67,44 @@ const te = {
67
67
  "verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
68
68
  }
69
69
  };
70
- function $e(r) {
71
- He(r, "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)}');
70
+ function oi(r) {
71
+ je(r, "svelte-1kmyt1l", '*,*::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:var(--verifications-list-height, 0);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
- function re(r, i, t) {
73
+ function ne(r, i, t) {
74
74
  const s = r.slice();
75
- return s[56] = i[t], s;
75
+ return s[58] = i[t], s;
76
76
  }
77
- function ei(r) {
77
+ function si(r) {
78
78
  let i, t = (
79
79
  /*displayMessages*/
80
- r[3].length > 0 && oe(r)
80
+ r[3].length > 0 && ae(r)
81
81
  );
82
82
  return {
83
83
  c() {
84
- i = P("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
84
+ i = b("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
85
85
  },
86
86
  m(s, n) {
87
87
  O(s, i, n), t && t.m(i, null);
88
88
  },
89
89
  p(s, n) {
90
90
  /*displayMessages*/
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);
91
+ s[3].length > 0 ? t ? t.p(s, n) : (t = ae(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
92
92
  },
93
93
  d(s) {
94
- s && B(i), t && t.d();
94
+ s && L(i), t && t.d();
95
95
  }
96
96
  };
97
97
  }
98
- function ii(r) {
98
+ function ni(r) {
99
99
  let i;
100
100
  return {
101
101
  c() {
102
- i = P("cashier-spinner"), U(
102
+ i = b("cashier-spinner"), W(
103
103
  i,
104
104
  "clientstylingurl",
105
105
  /*clientstylingurl*/
106
106
  r[1]
107
- ), U(
107
+ ), W(
108
108
  i,
109
109
  "clientstyling",
110
110
  /*clientstyling*/
@@ -116,13 +116,13 @@ function ii(r) {
116
116
  },
117
117
  p(t, s) {
118
118
  s[0] & /*clientstylingurl*/
119
- 2 && U(
119
+ 2 && W(
120
120
  i,
121
121
  "clientstylingurl",
122
122
  /*clientstylingurl*/
123
123
  t[1]
124
124
  ), s[0] & /*clientstyling*/
125
- 1 && U(
125
+ 1 && W(
126
126
  i,
127
127
  "clientstyling",
128
128
  /*clientstyling*/
@@ -130,139 +130,149 @@ function ii(r) {
130
130
  );
131
131
  },
132
132
  d(t) {
133
- t && B(i);
133
+ t && L(i);
134
134
  }
135
135
  };
136
136
  }
137
- function oe(r) {
138
- let i, t, s, n, a, u, g, C = (
137
+ function ae(r) {
138
+ let i, t, s, n, a, u, v, _ = (
139
139
  /*$_*/
140
- r[8]("verificationsRequired") + ""
141
- ), w, V, S, x, p, A, b, F, z = $(
140
+ r[9]("verificationsRequired") + ""
141
+ ), w, P, S, x, k, g, C, H, F = `${/*verificationsListHeight*/
142
+ r[8]}px`, M, T, z = ie(
142
143
  /*displayMessages*/
143
144
  r[3]
144
- ), d = [];
145
+ ), h = [];
145
146
  for (let f = 0; f < z.length; f += 1)
146
- d[f] = se(re(r, z, f));
147
- let h = (
147
+ h[f] = le(ne(r, z, f));
148
+ let p = (
148
149
  /*videoExists*/
149
- r[6] && ne(r)
150
+ r[6] && ce(r)
150
151
  );
151
152
  return {
152
153
  c() {
153
- i = P("div"), t = j("svg"), s = j("path"), n = j("path"), a = j("path"), u = q(), g = P("p"), w = ce(C), V = q(), S = P("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = q(), p = P("div");
154
- for (let f = 0; f < d.length; f += 1)
155
- d[f].c();
156
- A = q(), 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"), M(
154
+ i = b("div"), t = X("svg"), s = X("path"), n = X("path"), a = X("path"), u = E(), v = b("p"), w = de(_), P = E(), S = b("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 = E(), k = b("div"), g = b("div");
155
+ for (let f = 0; f < h.length; f += 1)
156
+ h[f].c();
157
+ C = E(), p && p.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
158
  S,
158
159
  "ShowVerifications",
159
160
  /*allVerificationsVisible*/
160
161
  r[4]
161
- ), c(i, "class", "VerificationsHeader"), c(p, "class", "VerificationsList"), M(
162
- p,
162
+ ), c(i, "class", "VerificationsHeader"), c(g, "class", "VerificationsListInner"), Ze(() => (
163
+ /*div1_elementresize_handler*/
164
+ r[21].call(g)
165
+ )), c(k, "class", "VerificationsList"), B(
166
+ k,
163
167
  "ShowVerifications",
164
168
  /*allVerificationsVisible*/
165
169
  r[4]
166
- );
170
+ ), te(k, "--verifications-list-height", F);
167
171
  },
168
- m(f, k) {
169
- O(f, i, k), v(i, t), v(t, s), v(t, n), v(t, a), v(i, u), v(i, g), v(g, w), v(i, V), v(i, S), O(f, x, k), O(f, p, k);
170
- for (let m = 0; m < d.length; m += 1)
171
- d[m] && d[m].m(p, null);
172
- v(p, A), h && h.m(p, null), b || (F = le(
172
+ m(f, y) {
173
+ O(f, i, y), m(i, t), m(t, s), m(t, n), m(t, a), m(i, u), m(i, v), m(v, w), m(i, P), m(i, S), O(f, x, y), O(f, k, y), m(k, g);
174
+ for (let d = 0; d < h.length; d += 1)
175
+ h[d] && h[d].m(g, null);
176
+ m(g, C), p && p.m(g, null), H = Ke(
177
+ g,
178
+ /*div1_elementresize_handler*/
179
+ r[21].bind(g)
180
+ ), M || (T = ue(
173
181
  i,
174
182
  "click",
175
183
  /*toggleVerifications*/
176
- r[9]
177
- ), b = !0);
184
+ r[10]
185
+ ), M = !0);
178
186
  },
179
- p(f, k) {
180
- if (k[0] & /*$_*/
181
- 256 && C !== (C = /*$_*/
182
- f[8]("verificationsRequired") + "") && ae(w, C), k[0] & /*allVerificationsVisible*/
183
- 16 && M(
187
+ p(f, y) {
188
+ if (y[0] & /*$_*/
189
+ 512 && _ !== (_ = /*$_*/
190
+ f[9]("verificationsRequired") + "") && fe(w, _), y[0] & /*allVerificationsVisible*/
191
+ 16 && B(
184
192
  S,
185
193
  "ShowVerifications",
186
194
  /*allVerificationsVisible*/
187
195
  f[4]
188
- ), k[0] & /*displayMessages*/
196
+ ), y[0] & /*displayMessages*/
189
197
  8) {
190
- z = $(
198
+ z = ie(
191
199
  /*displayMessages*/
192
200
  f[3]
193
201
  );
194
- let m;
195
- for (m = 0; m < z.length; m += 1) {
196
- const L = re(f, z, m);
197
- d[m] ? d[m].p(L, k) : (d[m] = se(L), d[m].c(), d[m].m(p, A));
202
+ let d;
203
+ for (d = 0; d < z.length; d += 1) {
204
+ const U = ne(f, z, d);
205
+ h[d] ? h[d].p(U, y) : (h[d] = le(U), h[d].c(), h[d].m(g, C));
198
206
  }
199
- for (; m < d.length; m += 1)
200
- d[m].d(1);
201
- d.length = z.length;
207
+ for (; d < h.length; d += 1)
208
+ h[d].d(1);
209
+ h.length = z.length;
202
210
  }
203
211
  /*videoExists*/
204
- f[6] ? h ? h.p(f, k) : (h = ne(f), h.c(), h.m(p, null)) : h && (h.d(1), h = null), k[0] & /*allVerificationsVisible*/
205
- 16 && M(
206
- p,
212
+ f[6] ? p ? p.p(f, y) : (p = ce(f), p.c(), p.m(g, null)) : p && (p.d(1), p = null), y[0] & /*allVerificationsVisible*/
213
+ 16 && B(
214
+ k,
207
215
  "ShowVerifications",
208
216
  /*allVerificationsVisible*/
209
217
  f[4]
210
- );
218
+ ), y[0] & /*verificationsListHeight*/
219
+ 256 && F !== (F = `${/*verificationsListHeight*/
220
+ f[8]}px`) && te(k, "--verifications-list-height", F);
211
221
  },
212
222
  d(f) {
213
- f && (B(i), B(x), B(p)), Ne(d, f), h && h.d(), b = !1, F();
223
+ f && (L(i), L(x), L(k)), Ye(h, f), p && p.d(), H(), M = !1, T();
214
224
  }
215
225
  };
216
226
  }
217
- function se(r) {
227
+ function le(r) {
218
228
  let i, t, s, n, a = (
219
229
  /*message*/
220
- r[56] + ""
230
+ r[58] + ""
221
231
  );
222
232
  return {
223
233
  c() {
224
- i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', s = q(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
234
+ i = b("div"), t = b("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 = E(), n = b("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
225
235
  },
226
- m(u, g) {
227
- O(u, i, g), v(i, t), v(i, s), v(i, n), n.innerHTML = a;
236
+ m(u, v) {
237
+ O(u, i, v), m(i, t), m(i, s), m(i, n), n.innerHTML = a;
228
238
  },
229
- p(u, g) {
230
- g[0] & /*displayMessages*/
239
+ p(u, v) {
240
+ v[0] & /*displayMessages*/
231
241
  8 && a !== (a = /*message*/
232
- u[56] + "") && (n.innerHTML = a);
242
+ u[58] + "") && (n.innerHTML = a);
233
243
  },
234
244
  d(u) {
235
- u && B(i);
245
+ u && L(i);
236
246
  }
237
247
  };
238
248
  }
239
- function ne(r) {
249
+ function ce(r) {
240
250
  let i, t, s, n, a = (
241
251
  /*$_*/
242
- r[8]("verification.video.how-to") + ""
243
- ), u, g, C;
252
+ r[9]("verification.video.how-to") + ""
253
+ ), u, v, _;
244
254
  return {
245
255
  c() {
246
- i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', s = q(), n = P("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), M(
256
+ i = b("div"), t = b("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 = E(), n = b("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
247
257
  n,
248
258
  "CashierVerificationVideoLinkDesktop",
249
259
  /*desktopView*/
250
260
  r[5]
251
261
  ), c(i, "class", "CashierVerificationVideo Test");
252
262
  },
253
- m(w, V) {
254
- O(w, i, V), v(i, t), v(i, s), v(i, n), v(n, u), g || (C = le(
263
+ m(w, P) {
264
+ O(w, i, P), m(i, t), m(i, s), m(i, n), m(n, u), v || (_ = ue(
255
265
  i,
256
266
  "click",
257
267
  /*showVideo*/
258
- r[10]
259
- ), g = !0);
268
+ r[11]
269
+ ), v = !0);
260
270
  },
261
- p(w, V) {
262
- V[0] & /*$_*/
263
- 256 && a !== (a = /*$_*/
264
- w[8]("verification.video.how-to") + "") && ae(u, a), V[0] & /*desktopView*/
265
- 32 && M(
271
+ p(w, P) {
272
+ P[0] & /*$_*/
273
+ 512 && a !== (a = /*$_*/
274
+ w[9]("verification.video.how-to") + "") && fe(u, a), P[0] & /*desktopView*/
275
+ 32 && B(
266
276
  n,
267
277
  "CashierVerificationVideoLinkDesktop",
268
278
  /*desktopView*/
@@ -270,28 +280,28 @@ function ne(r) {
270
280
  );
271
281
  },
272
282
  d(w) {
273
- w && B(i), g = !1, C();
283
+ w && L(i), v = !1, _();
274
284
  }
275
285
  };
276
286
  }
277
- function ti(r) {
287
+ function ai(r) {
278
288
  let i;
279
289
  function t(a, u) {
280
290
  if (
281
291
  /*isLoading*/
282
292
  a[7]
283
293
  )
284
- return ii;
294
+ return ni;
285
295
  if (
286
296
  /*displayMessages*/
287
297
  a[3]
288
298
  )
289
- return ei;
299
+ return si;
290
300
  }
291
301
  let s = t(r), n = s && s(r);
292
302
  return {
293
303
  c() {
294
- i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), M(
304
+ i = b("div"), n && n.c(), c(i, "class", "CashierVerifications"), B(
295
305
  i,
296
306
  "CashierVerificationsDesktop",
297
307
  /*desktopView*/
@@ -299,310 +309,315 @@ function ti(r) {
299
309
  );
300
310
  },
301
311
  m(a, u) {
302
- O(a, i, u), n && n.m(i, null), r[20](i);
312
+ O(a, i, u), n && n.m(i, null), r[22](i);
303
313
  },
304
314
  p(a, u) {
305
315
  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 && M(
316
+ 32 && B(
307
317
  i,
308
318
  "CashierVerificationsDesktop",
309
319
  /*desktopView*/
310
320
  a[5]
311
321
  );
312
322
  },
313
- i: J,
314
- o: J,
323
+ i: $,
324
+ o: $,
315
325
  d(a) {
316
- a && B(i), n && n.d(), r[20](null);
326
+ a && L(i), n && n.d(), r[22](null);
317
327
  }
318
328
  };
319
329
  }
320
- const ri = "verification_explanation_video_widgets.MP4";
321
- function oi(r, i, t) {
330
+ const li = "verification_explanation_video_widgets.MP4";
331
+ function ci(r, i, t) {
322
332
  let s, n;
323
- Q(r, Ze, (e) => t(8, s = e)), Q(r, Je, (e) => t(29, n = e)), ee.extend(Ge);
324
- let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b, F = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, k = !1, m = !0, L = !1, N = "", W = !1, fe, H = [], ue = window.navigator.userAgent;
325
- var E;
333
+ ee(r, ei, (e) => t(9, s = e)), ee(r, ti, (e) => t(31, n = e)), re.extend(ii);
334
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: v = "" } = i, { clientstyling: _ = "" } = i, { clientstylingurl: w = "" } = i, { session: P = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: k = "" } = i, { mbsource: g = "" } = i, C, H = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), M, T, z, h = !1, p = !0, f = !1, y = "", d = !1, U, j = [], Y = 0, he = window.navigator.userAgent;
335
+ var R;
326
336
  (function(e) {
327
337
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
328
- })(E || (E = {}));
329
- var X;
338
+ })(R || (R = {}));
339
+ var K;
330
340
  (function(e) {
331
341
  e.Requested = "Requested";
332
- })(X || (X = {}));
333
- var y;
342
+ })(K || (K = {}));
343
+ var V;
334
344
  (function(e) {
335
345
  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
- })(y || (y = {}));
337
- var R;
346
+ })(V || (V = {}));
347
+ var I;
338
348
  (function(e) {
339
349
  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
- })(R || (R = {}));
341
- const K = (e) => {
350
+ })(I || (I = {}));
351
+ const G = (e) => {
342
352
  e.data && e.data.type;
343
353
  };
344
- Ie(() => (window.addEventListener("message", K), Ae(), () => {
345
- window.removeEventListener("message", K);
354
+ Ne(() => (window.addEventListener("message", G), Me(), () => {
355
+ window.removeEventListener("message", G);
346
356
  }));
347
- const de = [
348
- y.InProgress,
349
- y.Referred,
350
- y.AwaitingForResponse
351
- ], me = () => {
352
- let e = g;
357
+ const me = [
358
+ V.InProgress,
359
+ V.Referred,
360
+ V.AwaitingForResponse
361
+ ], pe = () => {
362
+ let e = v;
353
363
  if (e)
354
364
  return fetch(e).then((o) => o.json()).then((o) => {
355
365
  Object.keys(o).forEach((l) => {
356
- ie(l, o[l]);
366
+ oe(l, o[l]);
357
367
  });
358
368
  }).catch((o) => {
359
369
  console.log(o);
360
370
  });
361
371
  };
362
- Object.keys(te).forEach((e) => {
363
- ie(e, te[e]);
372
+ Object.keys(se).forEach((e) => {
373
+ oe(e, se[e]);
364
374
  });
365
- const he = () => {
366
- Qe(u);
367
- }, Z = () => {
368
- t(19, h = ge());
375
+ const ve = () => {
376
+ ri(u);
377
+ }, J = () => {
378
+ t(20, T = ke());
369
379
  const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), o = new Headers();
370
- o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", ee.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && o.append("MM_CHANNEL", "BETA");
380
+ o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(j) && j.length > 0 && j.indexOf("MM_CHANNEL_BETA") != -1 && o.append("MM_CHANNEL", "BETA");
371
381
  const l = {
372
382
  method: "POST",
373
383
  headers: o,
374
384
  body: JSON.stringify({})
375
385
  };
376
- t(7, W = !0), fetch(e, l).then((D) => D.json()).then((D) => {
377
- const Y = pe(D?.Verifications);
378
- d = we(Y), d.VerificationStatuses.forEach((I) => {
379
- I.VerificationUrlType !== "Widget" && F.add(I.Vendor);
380
- }), t(3, f = Pe());
381
- }).finally(() => t(7, W = !1));
382
- }, pe = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], ve = () => {
383
- n && Z();
384
- }, ge = () => {
385
- let e = (V || n).split(".")[1];
386
+ t(7, d = !0), fetch(e, l).then((D) => D.json()).then((D) => {
387
+ const Z = ge(D?.Verifications);
388
+ M = ye(Z), M.VerificationStatuses.forEach((N) => {
389
+ N.VerificationUrlType !== "Widget" && H.add(N.Vendor);
390
+ }), t(3, z = _e());
391
+ }).finally(() => t(7, d = !1));
392
+ }, ge = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], we = () => {
393
+ n && J();
394
+ }, ke = () => {
395
+ let e = (P || n).split(".")[1];
386
396
  if (e) {
387
397
  let o = JSON.parse(atob(e));
388
398
  return o.cdn + "/cashier/operator-assets/" + o?.mid;
389
399
  }
390
400
  return "";
391
- }, we = (e) => {
401
+ }, ye = (e) => {
392
402
  if (!e || !e.length)
393
403
  return {
394
- VerificationSummaryStatus: y.Unverified,
404
+ VerificationSummaryStatus: V.Unverified,
395
405
  VerificationStatuses: []
396
406
  };
397
- const o = ye(e);
407
+ const o = be(e);
398
408
  if (o && o.length) {
399
- const l = ke(o);
409
+ const l = Ve(o);
400
410
  return {
401
411
  VerificationSummaryStatus: l.Status,
402
412
  VerificationUrl: l.Flags?.DeferredUrlKey,
403
- VerificationStatuses: G(o, l.Status)
413
+ VerificationStatuses: Q(o, l.Status)
404
414
  };
405
415
  } else
406
416
  return {
407
- VerificationSummaryStatus: e.some((D) => D.Status === y.Failed) ? y.Failed : y.Verified,
408
- VerificationStatuses: G(e, [y.Failed])
417
+ VerificationSummaryStatus: e.some((D) => D.Status === V.Failed) ? V.Failed : V.Verified,
418
+ VerificationStatuses: Q(e, [V.Failed])
409
419
  };
410
- }, ke = (e) => e.reduce(
420
+ }, Ve = (e) => e.reduce(
411
421
  (o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
412
422
  0
413
- ), G = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
423
+ ), Q = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
414
424
  Type: l.Type,
415
425
  Vendor: l.VendorName,
416
426
  VerificationDocuments: l.Documents ? [...l.Documents] : [],
417
427
  VerificationUrlType: l.FlowInfo?.Type,
418
428
  VerificationUrl: l.FlowInfo?.Url
419
- })), ye = (e) => e.filter((o) => de.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || Ve(o) || be(o) : !1), Ve = (e) => {
420
- const o = e.Documents && e.VendorName === E.Manual, l = e.Documents && e.Documents.some((D) => D.Status === X.Requested);
429
+ })), be = (e) => e.filter((o) => me.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || Pe(o) || Ce(o) : !1), Pe = (e) => {
430
+ const o = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((D) => D.Status === K.Requested);
421
431
  return o && l;
422
- }, be = (e) => e.VendorName === E.ShuftiPro && e.Status === y.Referred, Pe = () => {
423
- switch (d.VerificationSummaryStatus) {
424
- case y.InProgress:
432
+ }, Ce = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, _e = () => {
433
+ switch (M.VerificationSummaryStatus) {
434
+ case V.InProgress:
425
435
  const e = [];
426
- return F.forEach((o) => {
427
- e.push(Ce(o));
436
+ return H.forEach((o) => {
437
+ e.push(De(o));
428
438
  }), e;
429
- case y.Referred:
439
+ case V.Referred:
430
440
  return [s("verification.idenfy.referred-awaiting")];
431
- case y.Failed:
441
+ case V.Failed:
432
442
  return [s("verification.message.failed")];
433
443
  }
434
- }, Ce = (e) => {
435
- const o = d.VerificationStatuses.filter((l) => l.Vendor === e);
436
- if (e === E.ShuftiPro)
437
- return De(o);
444
+ }, De = (e) => {
445
+ const o = M.VerificationStatuses.filter((l) => l.Vendor === e);
446
+ if (e === R.ShuftiPro)
447
+ return Se(o);
438
448
  {
439
449
  const l = s("verification.idenfy.link-name"), D = {
440
450
  link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
441
451
  };
442
452
  return s("verification.idenfy.in-progress", { values: D });
443
453
  }
444
- }, De = (e) => {
454
+ }, Se = (e) => {
445
455
  const o = [], l = {}, D = [
446
- R.Biometric,
447
- R.Documents,
448
- R.ProofOfAddress
456
+ I.Biometric,
457
+ I.Documents,
458
+ I.ProofOfAddress
449
459
  ];
450
- e.forEach((T) => {
451
- D.includes(T.Type) && (o.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
460
+ e.forEach((q) => {
461
+ D.includes(q.Type) && (o.push(q.Type), l[q.Type] = Ae(q, xe(q.Type)));
452
462
  });
453
- let Y = o.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
454
- return Y ? s("verification.shuftipro.validations-started") : s(I, { values: l });
455
- }, Se = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, _e = (e) => s(`verification.shuftipro.link-name.${e}`), xe = () => {
456
- t(4, k = !k);
457
- }, Ae = () => {
458
- t(5, m = !Ue(ue));
459
- }, ze = () => {
460
- N = h + "/" + u + "/" + ri;
463
+ let Z = o.every((q) => F.has(q)), N = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
464
+ return Z ? s("verification.shuftipro.validations-started") : s(N, { values: l });
465
+ }, Ae = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, xe = (e) => s(`verification.shuftipro.link-name.${e}`), ze = () => {
466
+ t(4, h = !h);
467
+ }, Me = () => {
468
+ t(5, p = !We(he));
469
+ }, Be = () => {
470
+ y = T + "/" + u + "/" + li;
461
471
  try {
462
- fetch(N, { method: "HEAD" }).then((e) => {
463
- t(6, L = e.ok);
472
+ fetch(y, { method: "HEAD" }).then((e) => {
473
+ t(6, f = e.ok);
464
474
  });
465
475
  } catch {
466
- t(6, L = !1);
476
+ t(6, f = !1);
467
477
  }
468
- }, Me = () => {
469
- p.length > 0 && (H = p.split(","));
470
- }, Be = () => {
478
+ }, Le = () => {
479
+ k.length > 0 && (j = k.split(","));
480
+ }, Oe = () => {
471
481
  window.dispatchEvent(new CustomEvent(
472
482
  "modal-update",
473
483
  {
474
- detail: { type: "video", data: { videoSrc: N } }
484
+ detail: { type: "video", data: { videoSrc: y } }
475
485
  }
476
486
  ));
477
487
  };
478
- function Oe(e) {
479
- je[e ? "unshift" : "push"](() => {
480
- b = e, t(2, b);
488
+ function Te() {
489
+ Y = this.clientHeight, t(8, Y);
490
+ }
491
+ function qe(e) {
492
+ Xe[e ? "unshift" : "push"](() => {
493
+ C = e, t(2, C);
481
494
  });
482
495
  }
483
496
  return r.$$set = (e) => {
484
- "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, C = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(14, V = e.session), "customerid" in e && t(15, S = e.customerid), "playersession" in e && t(16, x = e.playersession), "userroles" in e && t(17, p = e.userroles), "mbsource" in e && t(18, A = e.mbsource);
497
+ "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, v = e.translationurl), "clientstyling" in e && t(0, _ = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(15, P = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, x = e.playersession), "userroles" in e && t(18, k = e.userroles), "mbsource" in e && t(19, g = e.mbsource);
485
498
  }, r.$$.update = () => {
486
499
  r.$$.dirty[0] & /*userroles*/
487
- 131072 && p && Me(), r.$$.dirty[0] & /*lang*/
488
- 4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
489
- 83968 && a && V && x && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
490
- 83968 && a && !V && x && ve(), r.$$.dirty[0] & /*translationurl*/
491
- 8192 && g && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
492
- 5 && C && b && We(b, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
493
- 6 && w && b && Xe(b, w), r.$$.dirty[0] & /*staticCdnUrl*/
494
- 524288 && h && ze(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
495
- 262148 && A && b && Ye(b, `${A}.Style`, fe);
500
+ 262144 && k && Le(), r.$$.dirty[0] & /*lang*/
501
+ 8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
502
+ 167936 && a && P && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
503
+ 167936 && a && !P && x && we(), r.$$.dirty[0] & /*translationurl*/
504
+ 16384 && v && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
505
+ 5 && _ && C && Ge(C, _), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
506
+ 6 && w && C && Je(C, w), r.$$.dirty[0] & /*staticCdnUrl*/
507
+ 1048576 && T && Be(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
508
+ 524292 && g && C && Qe(C, `${g}.Style`, U);
496
509
  }, [
497
- C,
510
+ _,
498
511
  w,
499
- b,
512
+ C,
513
+ z,
514
+ h,
515
+ p,
500
516
  f,
501
- k,
502
- m,
503
- L,
504
- W,
517
+ d,
518
+ Y,
505
519
  s,
506
- xe,
507
- Be,
520
+ ze,
521
+ Oe,
508
522
  a,
509
523
  u,
510
- g,
511
- V,
524
+ v,
525
+ P,
512
526
  S,
513
527
  x,
514
- p,
515
- A,
516
- h,
517
- Oe
528
+ k,
529
+ g,
530
+ T,
531
+ Te,
532
+ qe
518
533
  ];
519
534
  }
520
- class si extends Fe {
535
+ class fi extends Re {
521
536
  constructor(i) {
522
- super(), Ee(
537
+ super(), Ie(
523
538
  this,
524
539
  i,
525
- oi,
526
- ti,
527
- Re,
540
+ ci,
541
+ ai,
542
+ Ue,
528
543
  {
529
- endpoint: 11,
530
- lang: 12,
531
- translationurl: 13,
544
+ endpoint: 12,
545
+ lang: 13,
546
+ translationurl: 14,
532
547
  clientstyling: 0,
533
548
  clientstylingurl: 1,
534
- session: 14,
535
- customerid: 15,
536
- playersession: 16,
537
- userroles: 17,
538
- mbsource: 18
549
+ session: 15,
550
+ customerid: 16,
551
+ playersession: 17,
552
+ userroles: 18,
553
+ mbsource: 19
539
554
  },
540
- $e,
555
+ oi,
541
556
  [-1, -1]
542
557
  );
543
558
  }
544
559
  get endpoint() {
545
- return this.$$.ctx[11];
560
+ return this.$$.ctx[12];
546
561
  }
547
562
  set endpoint(i) {
548
- this.$$set({ endpoint: i }), _();
563
+ this.$$set({ endpoint: i }), A();
549
564
  }
550
565
  get lang() {
551
- return this.$$.ctx[12];
566
+ return this.$$.ctx[13];
552
567
  }
553
568
  set lang(i) {
554
- this.$$set({ lang: i }), _();
569
+ this.$$set({ lang: i }), A();
555
570
  }
556
571
  get translationurl() {
557
- return this.$$.ctx[13];
572
+ return this.$$.ctx[14];
558
573
  }
559
574
  set translationurl(i) {
560
- this.$$set({ translationurl: i }), _();
575
+ this.$$set({ translationurl: i }), A();
561
576
  }
562
577
  get clientstyling() {
563
578
  return this.$$.ctx[0];
564
579
  }
565
580
  set clientstyling(i) {
566
- this.$$set({ clientstyling: i }), _();
581
+ this.$$set({ clientstyling: i }), A();
567
582
  }
568
583
  get clientstylingurl() {
569
584
  return this.$$.ctx[1];
570
585
  }
571
586
  set clientstylingurl(i) {
572
- this.$$set({ clientstylingurl: i }), _();
587
+ this.$$set({ clientstylingurl: i }), A();
573
588
  }
574
589
  get session() {
575
- return this.$$.ctx[14];
590
+ return this.$$.ctx[15];
576
591
  }
577
592
  set session(i) {
578
- this.$$set({ session: i }), _();
593
+ this.$$set({ session: i }), A();
579
594
  }
580
595
  get customerid() {
581
- return this.$$.ctx[15];
596
+ return this.$$.ctx[16];
582
597
  }
583
598
  set customerid(i) {
584
- this.$$set({ customerid: i }), _();
599
+ this.$$set({ customerid: i }), A();
585
600
  }
586
601
  get playersession() {
587
- return this.$$.ctx[16];
602
+ return this.$$.ctx[17];
588
603
  }
589
604
  set playersession(i) {
590
- this.$$set({ playersession: i }), _();
605
+ this.$$set({ playersession: i }), A();
591
606
  }
592
607
  get userroles() {
593
- return this.$$.ctx[17];
608
+ return this.$$.ctx[18];
594
609
  }
595
610
  set userroles(i) {
596
- this.$$set({ userroles: i }), _();
611
+ this.$$set({ userroles: i }), A();
597
612
  }
598
613
  get mbsource() {
599
- return this.$$.ctx[18];
614
+ return this.$$.ctx[19];
600
615
  }
601
616
  set mbsource(i) {
602
- this.$$set({ mbsource: i }), _();
617
+ this.$$set({ mbsource: i }), A();
603
618
  }
604
619
  }
605
- Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
620
+ $e(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
606
621
  export {
607
- si as default
622
+ fi as default
608
623
  };