@everymatrix/cashier-page 1.89.3 → 1.89.100

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