@everymatrix/cashier-page 1.74.6 → 1.74.7

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 (64) hide show
  1. package/components/{CashierConfirmModal-D6-yvknK.js → CashierConfirmModal-Dx60VYf6.js} +76 -76
  2. package/components/{CashierConfirmModal-C5Z0fFCo.cjs → CashierConfirmModal-irSMDzV_.cjs} +2 -2
  3. package/components/{CashierConfirmModal-DluW6utN.js → CashierConfirmModal-rwhmlwC5.js} +183 -183
  4. package/components/{CashierError-B_HILIqI.js → CashierError-BIqFaX3H.js} +1 -1
  5. package/components/{CashierError-CQ8ceQ8e.js → CashierError-BWuNinWy.js} +1 -1
  6. package/components/{CashierError-DZ5vqVXV.cjs → CashierError-CORG04aE.cjs} +1 -1
  7. package/components/{CashierHeader-CNyLXgin.js → CashierHeader-CXaZ-6Ua.js} +2 -2
  8. package/components/{CashierHeader-DW3Xs1f3.js → CashierHeader-Ca2cghIW.js} +2 -2
  9. package/components/{CashierHeader-Cjxrbu0V.cjs → CashierHeader-Dl6r6hK0.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-IwNw_njq.js → CashierIframeRedirect-7GBPLJHr.js} +4 -4
  11. package/components/{CashierIframeRedirect-DU1GgNLD.cjs → CashierIframeRedirect-BjLvrvKL.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-D81gVeBk.js → CashierIframeRedirect-ChyzshIQ.js} +4 -4
  13. package/components/{CashierMethodDetails-CfpOwAD9.js → CashierMethodDetails-BuRbRo-R.js} +1283 -1260
  14. package/components/{CashierMethodDetails-BI-MRKy-.js → CashierMethodDetails-CEFupmfP.js} +1173 -1150
  15. package/components/CashierMethodDetails-DxYPk7Br.cjs +86 -0
  16. package/components/{CashierMethodsList-CsOA_enM.cjs → CashierMethodsList-BI_GHUxf.cjs} +1 -1
  17. package/components/{CashierMethodsList-PU5P66EA.js → CashierMethodsList-BqmFmDOC.js} +3 -3
  18. package/components/{CashierMethodsList-CqVd20oA.js → CashierMethodsList-CB_m5hK-.js} +3 -3
  19. package/components/CashierModal-Bh6E-PDS.js +229 -0
  20. package/components/CashierModal-BwVWBmwZ.cjs +1 -0
  21. package/components/CashierModal-CTayVmDw.js +229 -0
  22. package/components/{CashierNotifications-CkXKlPIz.js → CashierNotifications-77FpsD4N.js} +1 -1
  23. package/components/{CashierNotifications-a3GpFzzw.js → CashierNotifications-CM4Cti_x.js} +1 -1
  24. package/components/{CashierNotifications-JBaW5ppf.cjs → CashierNotifications-YOOhP2yz.cjs} +1 -1
  25. package/components/{CashierPage-oKC2gyuD.js → CashierPage-B90j2bUX.js} +1133 -1124
  26. package/components/CashierPage-Bi90dl_Y.cjs +1 -0
  27. package/components/{CashierPage-CmBa1fJm.js → CashierPage-Dq-XwH-T.js} +1133 -1124
  28. package/components/{CashierReceiptPage-CZHo7bk4.js → CashierReceiptPage-BsBy8_a9.js} +213 -197
  29. package/components/{CashierReceiptPage-D1aUxYNu.cjs → CashierReceiptPage-C-5P1j5e.cjs} +1 -1
  30. package/components/{CashierReceiptPage-DKAwy-XO.js → CashierReceiptPage-TGTe-vYp.js} +211 -195
  31. package/components/{CashierSessionExpirationModal-B1ynET49.js → CashierSessionExpirationModal-Bwks132l.js} +46 -46
  32. package/components/{CashierSessionExpirationModal-CswZVz0A.js → CashierSessionExpirationModal-D7u1LLSa.js} +46 -46
  33. package/components/{CashierSessionExpirationModal-DztF8_bN.cjs → CashierSessionExpirationModal-lqr-I0nF.cjs} +2 -2
  34. package/components/{CashierSpinner-C0dfKfvc.cjs → CashierSpinner-BhE9RAhI.cjs} +1 -1
  35. package/components/{CashierSpinner-Pf85g3j2.js → CashierSpinner-C6RPqoHx.js} +1 -1
  36. package/components/{CashierSpinner-nZ-w8uRg.js → CashierSpinner-sEBjrLfs.js} +1 -1
  37. package/components/CashierTransactionHistory-BSO5XGtr.cjs +1 -0
  38. package/components/CashierTransactionHistory-CkMKi6Fz.js +1306 -0
  39. package/components/CashierTransactionHistory-DiONlMGi.js +1306 -0
  40. package/components/{CashierVerifications-DmMaSPNE.js → CashierVerifications-B63zidU5.js} +281 -351
  41. package/components/{CashierVerifications-CEYgwiGj.js → CashierVerifications-DkUcWYyo.js} +286 -356
  42. package/components/CashierVerifications-J6r2bd7v.cjs +1 -0
  43. package/components/{TxnStatusIcon-DIdoWxaS.js → TxnStatusIcon-Bqtf3sG3.js} +1 -1
  44. package/components/{TxnStatusIcon-Bk0oBxLN.cjs → TxnStatusIcon-C9hNDByt.cjs} +1 -1
  45. package/components/{TxnStatusIcon-DN0llRTe.js → TxnStatusIcon-fiVxFVX_.js} +1 -1
  46. package/components/{TxnTypeIcons-BPVFmF5k.js → TxnTypeIcons-CA9VDuG4.js} +1 -1
  47. package/components/{TxnTypeIcons-CVoF9ajj.cjs → TxnTypeIcons-D6ZYjaVc.cjs} +1 -1
  48. package/components/{TxnTypeIcons-BuQgMseI.js → TxnTypeIcons-DMjccElF.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierMethodDetails-CijnX6lX.cjs +0 -86
  54. package/components/CashierModal-B4of2Oxh.js +0 -228
  55. package/components/CashierModal-CvWSs-3j.js +0 -228
  56. package/components/CashierModal-DSuBZJDR.cjs +0 -1
  57. package/components/CashierPage-BRFjfzR5.cjs +0 -1
  58. package/components/CashierTransactionHistory-BcgsMpUM.js +0 -1303
  59. package/components/CashierTransactionHistory-CLxBvVPx.cjs +0 -1
  60. package/components/CashierTransactionHistory-DSCunt4_.js +0 -1303
  61. package/components/CashierVerifications-CaQ-G815.cjs +0 -1
  62. package/components/CashierVideoModal-BAMzRbW4.js +0 -198
  63. package/components/CashierVideoModal-CqlPtM2X.js +0 -198
  64. package/components/CashierVideoModal-z4snZUdS.cjs +0 -1
@@ -1,15 +1,16 @@
1
- import { S as Te, b as Oe, f as k, c as Be, a as Me, d as Le, g as y, j as D, L as T, k as V, n as Q, v as P, w as $, x as qe, y as xe, z as Fe, F as ze, G as Ie, N as ee, h as A, I as g, P as Ee, l as b, D as H, B as Re, C as Ue } from "./CashierConfirmModal-DluW6utN.js";
2
- import { a as Ne, i as je, $ as He, b as We } from "./CashierError-CQ8ceQ8e.js";
3
- import { d as ie, u as Ye, x as Ge } from "./CashierMethodDetails-CfpOwAD9.js";
4
- function te(t, i) {
1
+ import { S as Ae, b as Te, f as y, c as Oe, a as Be, d as Me, g as w, j as V, L as _, k as P, n as J, v as b, w as X, x as xe, y as Le, z as qe, F as Fe, G as ze, N as Q, h as O, A as Ie, P as Re, I as L, l as k, D as j, B as Ue, C as Ee } from "./CashierConfirmModal-rwhmlwC5.js";
2
+ import { a as Ne, i as je, $ as He, b as We } from "./CashierError-BWuNinWy.js";
3
+ import { d as $, u as Ye, i as Ge, x as Ke } from "./CashierMethodDetails-BuRbRo-R.js";
4
+ import "./CashierPage-B90j2bUX.js";
5
+ function ee(t, i) {
5
6
  Ne(t, i);
6
7
  }
7
- function Ke(t) {
8
+ function Ze(t) {
8
9
  je({
9
10
  fallbackLocale: "en"
10
11
  }), He.set(t);
11
12
  }
12
- const re = {
13
+ const ie = {
13
14
  en: {
14
15
  "verification.video.how-to": "How to verify yourself",
15
16
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -65,326 +66,266 @@ const re = {
65
66
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
66
67
  }
67
68
  };
68
- if (typeof window < "u") {
69
- let t = function(i) {
70
- return function(...r) {
71
- try {
72
- return i.apply(this, r);
73
- } catch (n) {
74
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
75
- return !1;
76
- throw n;
77
- }
78
- };
79
- };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-CqlPtM2X.js").then(({ default: i }) => {
81
- !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
- });
83
- }
84
- function Ze(t) {
85
- Le(t, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
69
+ function Je(t) {
70
+ Me(t, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
86
71
  }
87
- function oe(t, i, r) {
88
- const n = t.slice();
89
- return n[54] = i[r], n[56] = r, n;
72
+ function te(t, i, o) {
73
+ const a = t.slice();
74
+ return a[53] = i[o], a[55] = o, a;
90
75
  }
91
- function Je(t) {
92
- let i, r, n, s, l = ee(
76
+ function Xe(t) {
77
+ let i, o, a, n = Q(
93
78
  /*displayMessages*/
94
- t[4]
95
- ), f = [];
96
- for (let c = 0; c < l.length; c += 1)
97
- f[c] = ne(oe(t, l, c));
98
- let u = (
79
+ t[3]
80
+ ), s = [];
81
+ for (let l = 0; l < n.length; l += 1)
82
+ s[l] = oe(te(t, n, l));
83
+ let c = (
99
84
  /*videoExists*/
100
- t[7] && ae(t)
85
+ t[6] && se(t)
101
86
  );
102
87
  return {
103
88
  c() {
104
- i = y("div");
105
- for (let c = 0; c < f.length; c += 1)
106
- f[c].c();
107
- r = A(), u && u.c(), n = A(), s = y("cashier-video-modal"), D(i, "class", "CashierVerificationsWrapper"), g(
108
- s,
109
- "clientstylingurl",
110
- /*clientstylingurl*/
111
- t[1]
112
- ), g(
113
- s,
114
- "clientstyling",
115
- /*clientstyling*/
116
- t[0]
117
- ), g(
118
- s,
119
- "ismobileview",
120
- /*ismobileview*/
121
- t[2]
122
- ), g(
123
- s,
124
- "videosrc",
125
- /*videoSrc*/
126
- t[8]
127
- );
89
+ i = w("div");
90
+ for (let l = 0; l < s.length; l += 1)
91
+ s[l].c();
92
+ o = O(), c && c.c(), a = Ie(), V(i, "class", "CashierVerificationsWrapper");
128
93
  },
129
- m(c, h) {
130
- V(c, i, h);
131
- for (let a = 0; a < f.length; a += 1)
132
- f[a] && f[a].m(i, null);
133
- V(c, r, h), u && u.m(c, h), V(c, n, h), V(c, s, h);
94
+ m(l, h) {
95
+ P(l, i, h);
96
+ for (let d = 0; d < s.length; d += 1)
97
+ s[d] && s[d].m(i, null);
98
+ P(l, o, h), c && c.m(l, h), P(l, a, h);
134
99
  },
135
- p(c, h) {
100
+ p(l, h) {
136
101
  if (h[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
137
- 2096) {
138
- l = ee(
102
+ 536) {
103
+ n = Q(
139
104
  /*displayMessages*/
140
- c[4]
105
+ l[3]
141
106
  );
142
- let a;
143
- for (a = 0; a < l.length; a += 1) {
144
- const _ = oe(c, l, a);
145
- f[a] ? f[a].p(_, h) : (f[a] = ne(_), f[a].c(), f[a].m(i, null));
107
+ let d;
108
+ for (d = 0; d < n.length; d += 1) {
109
+ const u = te(l, n, d);
110
+ s[d] ? s[d].p(u, h) : (s[d] = oe(u), s[d].c(), s[d].m(i, null));
146
111
  }
147
- for (; a < f.length; a += 1)
148
- f[a].d(1);
149
- f.length = l.length;
112
+ for (; d < s.length; d += 1)
113
+ s[d].d(1);
114
+ s.length = n.length;
150
115
  }
151
116
  /*videoExists*/
152
- c[7] ? u ? u.p(c, h) : (u = ae(c), u.c(), u.m(n.parentNode, n)) : u && (u.d(1), u = null), h[0] & /*clientstylingurl*/
153
- 2 && g(
154
- s,
155
- "clientstylingurl",
156
- /*clientstylingurl*/
157
- c[1]
158
- ), h[0] & /*clientstyling*/
159
- 1 && g(
160
- s,
161
- "clientstyling",
162
- /*clientstyling*/
163
- c[0]
164
- ), h[0] & /*ismobileview*/
165
- 4 && g(
166
- s,
167
- "ismobileview",
168
- /*ismobileview*/
169
- c[2]
170
- ), h[0] & /*videoSrc*/
171
- 256 && g(
172
- s,
173
- "videosrc",
174
- /*videoSrc*/
175
- c[8]
176
- );
117
+ l[6] ? c ? c.p(l, h) : (c = se(l), c.c(), c.m(a.parentNode, a)) : c && (c.d(1), c = null);
177
118
  },
178
- d(c) {
179
- c && (P(i), P(r), P(n), P(s)), Ee(f, c), u && u.d(c);
119
+ d(l) {
120
+ l && (b(i), b(o), b(a)), Re(s, l), c && c.d(l);
180
121
  }
181
122
  };
182
123
  }
183
- function Xe(t) {
124
+ function Qe(t) {
184
125
  let i;
185
126
  return {
186
127
  c() {
187
- i = y("cashier-spinner"), g(
128
+ i = w("cashier-spinner"), L(
188
129
  i,
189
130
  "clientstylingurl",
190
131
  /*clientstylingurl*/
191
132
  t[1]
192
- ), g(
133
+ ), L(
193
134
  i,
194
135
  "clientstyling",
195
136
  /*clientstyling*/
196
137
  t[0]
197
138
  );
198
139
  },
199
- m(r, n) {
200
- V(r, i, n);
140
+ m(o, a) {
141
+ P(o, i, a);
201
142
  },
202
- p(r, n) {
203
- n[0] & /*clientstylingurl*/
204
- 2 && g(
143
+ p(o, a) {
144
+ a[0] & /*clientstylingurl*/
145
+ 2 && L(
205
146
  i,
206
147
  "clientstylingurl",
207
148
  /*clientstylingurl*/
208
- r[1]
209
- ), n[0] & /*clientstyling*/
210
- 1 && g(
149
+ o[1]
150
+ ), a[0] & /*clientstyling*/
151
+ 1 && L(
211
152
  i,
212
153
  "clientstyling",
213
154
  /*clientstyling*/
214
- r[0]
155
+ o[0]
215
156
  );
216
157
  },
217
- d(r) {
218
- r && P(i);
158
+ d(o) {
159
+ o && b(i);
219
160
  }
220
161
  };
221
162
  }
222
- function se(t) {
223
- let i, r, n;
224
- function s(...l) {
163
+ function re(t) {
164
+ let i, o, a;
165
+ function n(...s) {
225
166
  return (
226
167
  /*click_handler*/
227
- t[21](
168
+ t[19](
228
169
  /*index*/
229
- t[56],
230
- ...l
170
+ t[55],
171
+ ...s
231
172
  )
232
173
  );
233
174
  }
234
175
  return {
235
176
  c() {
236
- i = y("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', D(i, "class", "CashierVerificationChevron");
177
+ i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
237
178
  },
238
- m(l, f) {
239
- V(l, i, f), r || (n = H(i, "click", s), r = !0);
179
+ m(s, c) {
180
+ P(s, i, c), o || (a = j(i, "click", n), o = !0);
240
181
  },
241
- p(l, f) {
242
- t = l;
182
+ p(s, c) {
183
+ t = s;
243
184
  },
244
- d(l) {
245
- l && P(i), r = !1, n();
185
+ d(s) {
186
+ s && b(i), o = !1, a();
246
187
  }
247
188
  };
248
189
  }
249
- function ne(t) {
250
- let i, r, n, s, l = (
190
+ function oe(t) {
191
+ let i, o, a, n, s = (
251
192
  /*message*/
252
- t[54] + ""
253
- ), f, u, c, h, a = (
193
+ t[53] + ""
194
+ ), c, l, h, d, u = (
254
195
  /*displayMessages*/
255
- t[4].length > 1 && /*index*/
256
- t[56] === 0 && se(t)
196
+ t[3].length > 1 && /*index*/
197
+ t[55] === 0 && re(t)
257
198
  );
258
- function _(...p) {
199
+ function C(...p) {
259
200
  return (
260
201
  /*click_handler_1*/
261
- t[22](
202
+ t[20](
262
203
  /*index*/
263
- t[56],
204
+ t[55],
264
205
  ...p
265
206
  )
266
207
  );
267
208
  }
268
209
  return {
269
210
  c() {
270
- i = y("div"), r = y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', n = A(), s = y("p"), f = A(), a && a.c(), u = A(), D(r, "class", "IconVerification"), D(s, "class", "text"), D(i, "class", "CashierVerificationMessage"), T(
211
+ i = w("div"), o = w("div"), o.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', a = O(), n = w("p"), c = O(), u && u.c(), l = O(), V(o, "class", "IconVerification"), V(n, "class", "text"), V(i, "class", "CashierVerificationMessage"), _(
271
212
  i,
272
213
  "ShowAll",
273
214
  /*allVerificationsVisible*/
274
- t[5]
215
+ t[4]
275
216
  );
276
217
  },
277
218
  m(p, v) {
278
- V(p, i, v), b(i, r), b(i, n), b(i, s), s.innerHTML = l, b(i, f), a && a.m(i, null), b(i, u), c || (h = H(i, "click", _), c = !0);
219
+ P(p, i, v), k(i, o), k(i, a), k(i, n), n.innerHTML = s, k(i, c), u && u.m(i, null), k(i, l), h || (d = j(i, "click", C), h = !0);
279
220
  },
280
221
  p(p, v) {
281
222
  t = p, v[0] & /*displayMessages*/
282
- 16 && l !== (l = /*message*/
283
- t[54] + "") && (s.innerHTML = l), /*displayMessages*/
284
- t[4].length > 1 && /*index*/
285
- t[56] === 0 ? a ? a.p(t, v) : (a = se(t), a.c(), a.m(i, u)) : a && (a.d(1), a = null), v[0] & /*allVerificationsVisible*/
286
- 32 && T(
223
+ 8 && s !== (s = /*message*/
224
+ t[53] + "") && (n.innerHTML = s), /*displayMessages*/
225
+ t[3].length > 1 && /*index*/
226
+ t[55] === 0 ? u ? u.p(t, v) : (u = re(t), u.c(), u.m(i, l)) : u && (u.d(1), u = null), v[0] & /*allVerificationsVisible*/
227
+ 16 && _(
287
228
  i,
288
229
  "ShowAll",
289
230
  /*allVerificationsVisible*/
290
- t[5]
231
+ t[4]
291
232
  );
292
233
  },
293
234
  d(p) {
294
- p && P(i), a && a.d(), c = !1, h();
235
+ p && b(i), u && u.d(), h = !1, d();
295
236
  }
296
237
  };
297
238
  }
298
- function ae(t) {
299
- let i, r, n, s, l = (
239
+ function se(t) {
240
+ let i, o, a, n, s = (
300
241
  /*$_*/
301
- t[10]("verification.video.how-to") + ""
302
- ), f, u, c;
242
+ t[8]("verification.video.how-to") + ""
243
+ ), c, l, h;
303
244
  return {
304
245
  c() {
305
- i = y("div"), r = y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = A(), s = y("div"), f = Re(l), D(r, "class", "IconVideo"), D(s, "class", "CashierVerificationVideoLink"), T(
306
- s,
246
+ i = w("div"), o = w("div"), o.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>', a = O(), n = w("div"), c = Ue(s), V(o, "class", "IconVideo"), V(n, "class", "CashierVerificationVideoLink"), _(
247
+ n,
307
248
  "CashierVerificationVideoLinkDesktop",
308
249
  /*desktopView*/
309
- t[6]
310
- ), D(i, "class", "CashierVerificationVideo");
250
+ t[5]
251
+ ), V(i, "class", "CashierVerificationVideo");
311
252
  },
312
- m(h, a) {
313
- V(h, i, a), b(i, r), b(i, n), b(i, s), b(s, f), u || (c = H(
314
- s,
253
+ m(d, u) {
254
+ P(d, i, u), k(i, o), k(i, a), k(i, n), k(n, c), l || (h = j(
255
+ n,
315
256
  "click",
316
- /*click_handler_2*/
317
- t[23]
318
- ), u = !0);
257
+ /*showVideo*/
258
+ t[10]
259
+ ), l = !0);
319
260
  },
320
- p(h, a) {
321
- a[0] & /*$_*/
322
- 1024 && l !== (l = /*$_*/
323
- h[10]("verification.video.how-to") + "") && Ue(f, l), a[0] & /*desktopView*/
324
- 64 && T(
325
- s,
261
+ p(d, u) {
262
+ u[0] & /*$_*/
263
+ 256 && s !== (s = /*$_*/
264
+ d[8]("verification.video.how-to") + "") && Ee(c, s), u[0] & /*desktopView*/
265
+ 32 && _(
266
+ n,
326
267
  "CashierVerificationVideoLinkDesktop",
327
268
  /*desktopView*/
328
- h[6]
269
+ d[5]
329
270
  );
330
271
  },
331
- d(h) {
332
- h && P(i), u = !1, c();
272
+ d(d) {
273
+ d && b(i), l = !1, h();
333
274
  }
334
275
  };
335
276
  }
336
- function Qe(t) {
277
+ function $e(t) {
337
278
  let i;
338
- function r(l, f) {
279
+ function o(s, c) {
339
280
  if (
340
281
  /*isLoading*/
341
- l[9]
282
+ s[7]
342
283
  )
343
- return Xe;
284
+ return Qe;
344
285
  if (
345
286
  /*displayMessages*/
346
- l[4]
287
+ s[3]
347
288
  )
348
- return Je;
289
+ return Xe;
349
290
  }
350
- let n = r(t), s = n && n(t);
291
+ let a = o(t), n = a && a(t);
351
292
  return {
352
293
  c() {
353
- i = y("div"), s && s.c(), D(i, "class", "CashierVerifications"), T(
294
+ i = w("div"), n && n.c(), V(i, "class", "CashierVerifications"), _(
354
295
  i,
355
296
  "CashierVerificationsDesktop",
356
297
  /*desktopView*/
357
- t[6]
298
+ t[5]
358
299
  );
359
300
  },
360
- m(l, f) {
361
- V(l, i, f), s && s.m(i, null), t[24](i);
301
+ m(s, c) {
302
+ P(s, i, c), n && n.m(i, null), t[21](i);
362
303
  },
363
- p(l, f) {
364
- n === (n = r(l)) && s ? s.p(l, f) : (s && s.d(1), s = n && n(l), s && (s.c(), s.m(i, null))), f[0] & /*desktopView*/
365
- 64 && T(
304
+ p(s, c) {
305
+ a === (a = o(s)) && n ? n.p(s, c) : (n && n.d(1), n = a && a(s), n && (n.c(), n.m(i, null))), c[0] & /*desktopView*/
306
+ 32 && _(
366
307
  i,
367
308
  "CashierVerificationsDesktop",
368
309
  /*desktopView*/
369
- l[6]
310
+ s[5]
370
311
  );
371
312
  },
372
- i: Q,
373
- o: Q,
374
- d(l) {
375
- l && P(i), s && s.d(), t[24](null);
313
+ i: J,
314
+ o: J,
315
+ d(s) {
316
+ s && b(i), n && n.d(), t[21](null);
376
317
  }
377
318
  };
378
319
  }
379
- const $e = "verification_explanation_video_widgets.MP4";
380
- function ei(t, i, r) {
381
- let n, s;
382
- $(t, We, (e) => r(10, n = e)), $(t, Ge, (e) => r(30, s = e)), ie.extend(Ye);
383
- let { endpoint: l } = i, { lang: f = "en" } = i, { translationurl: u = "" } = i, { clientstyling: c = "" } = i, { clientstylingurl: h = "" } = i, { session: a = "" } = i, { customerid: _ = "" } = i, { ismobileview: p = "" } = i, { playersession: v = "" } = i, { mbsource: M = "" } = i, S, W = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Set(), L, q, F, z = !0, G = !0, I = !1, E = "", R = !1;
384
- var O;
320
+ const ei = "verification_explanation_video_widgets.MP4";
321
+ function ii(t, i, o) {
322
+ let a, n;
323
+ X(t, We, (e) => o(8, a = e)), X(t, Ke, (e) => o(28, n = e)), $.extend(Ye);
324
+ let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: C = "" } = i, { playersession: p = "" } = i, { mbsource: v = "" } = i, D, H = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), B, M, q, F = !0, Y = !0, z = !1, I = "", R = !1, ne = window.navigator.userAgent;
325
+ var A;
385
326
  (function(e) {
386
327
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
387
- })(O || (O = {}));
328
+ })(A || (A = {}));
388
329
  var U;
389
330
  (function(e) {
390
331
  e.Requested = "Requested";
@@ -393,274 +334,263 @@ function ei(t, i, r) {
393
334
  (function(e) {
394
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";
395
336
  })(m || (m = {}));
396
- var B;
337
+ var T;
397
338
  (function(e) {
398
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";
399
- })(B || (B = {})), qe(() => () => {
400
- });
401
- const le = [
340
+ })(T || (T = {})), xe(() => (Pe(), () => {
341
+ }));
342
+ const ae = [
402
343
  m.InProgress,
403
344
  m.Referred,
404
345
  m.AwaitingForResponse
405
346
  ], ce = () => {
406
- let e = u;
347
+ let e = l;
407
348
  if (e)
408
- return fetch(e).then((o) => o.json()).then((o) => {
409
- Object.keys(o).forEach((d) => {
410
- te(d, o[d]);
349
+ return fetch(e).then((r) => r.json()).then((r) => {
350
+ Object.keys(r).forEach((f) => {
351
+ ee(f, r[f]);
411
352
  });
412
- }).catch((o) => {
413
- console.log(o);
353
+ }).catch((r) => {
354
+ console.log(r);
414
355
  });
415
356
  };
416
- Object.keys(re).forEach((e) => {
417
- te(e, re[e]);
357
+ Object.keys(ie).forEach((e) => {
358
+ ee(e, ie[e]);
418
359
  });
419
- const fe = () => {
420
- Ke(f);
421
- }, K = () => {
422
- r(20, q = he());
423
- const e = new URL(`${l}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${f}`), o = new Headers();
424
- o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${v}`), o.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
425
- const d = {
360
+ const le = () => {
361
+ Ze(c);
362
+ }, G = () => {
363
+ o(18, M = ue());
364
+ const e = new URL(`${s}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${c}`), r = new Headers();
365
+ r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("x-sessionid", `${p}`), r.append("X-Client-Request-Timestamp", $.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
366
+ const f = {
426
367
  method: "POST",
427
- headers: o,
368
+ headers: r,
428
369
  body: JSON.stringify({})
429
370
  };
430
- r(9, R = !0), fetch(e, d).then((w) => w.json()).then((w) => {
431
- const j = de(w?.Verifications);
432
- L = me(j), L.VerificationStatuses.forEach((x) => {
433
- x.VerificationUrlType !== "Widget" && W.add(x.Vendor);
434
- }), r(4, F = J());
435
- }).finally(() => r(9, R = !1));
436
- }, de = (e) => e ? e.sort((o, d) => new Date(d.Created).getTime() - new Date(o.Created).getTime()) : [], ue = () => {
437
- s && K();
438
- }, he = () => {
439
- let e = (a || s).split(".")[1];
371
+ o(7, R = !0), fetch(e, f).then((g) => g.json()).then((g) => {
372
+ const N = fe(g?.Verifications);
373
+ B = he(N), B.VerificationStatuses.forEach((x) => {
374
+ x.VerificationUrlType !== "Widget" && H.add(x.Vendor);
375
+ }), o(3, q = Z());
376
+ }).finally(() => o(7, R = !1));
377
+ }, fe = (e) => e ? e.sort((r, f) => new Date(f.Created).getTime() - new Date(r.Created).getTime()) : [], de = () => {
378
+ n && G();
379
+ }, ue = () => {
380
+ let e = (u || n).split(".")[1];
440
381
  if (e) {
441
- let o = JSON.parse(atob(e));
442
- return o.cdn + "/cashier/operator-assets/" + o?.mid;
382
+ let r = JSON.parse(atob(e));
383
+ return r.cdn + "/cashier/operator-assets/" + r?.mid;
443
384
  }
444
385
  return "";
445
- }, me = (e) => {
386
+ }, he = (e) => {
446
387
  if (!e || !e.length)
447
388
  return {
448
389
  VerificationSummaryStatus: m.Unverified,
449
390
  VerificationStatuses: []
450
391
  };
451
- const o = ge(e);
452
- if (o && o.length) {
453
- const d = pe(o);
392
+ const r = pe(e);
393
+ if (r && r.length) {
394
+ const f = me(r);
454
395
  return {
455
- VerificationSummaryStatus: d.Status,
456
- VerificationUrl: d.Flags?.DeferredUrlKey,
457
- VerificationStatuses: Z(o, d.Status)
396
+ VerificationSummaryStatus: f.Status,
397
+ VerificationUrl: f.Flags?.DeferredUrlKey,
398
+ VerificationStatuses: K(r, f.Status)
458
399
  };
459
400
  } else
460
401
  return {
461
- VerificationSummaryStatus: e.some((w) => w.Status === m.Failed) ? m.Failed : m.Verified,
462
- VerificationStatuses: Z(e, [m.Failed])
402
+ VerificationSummaryStatus: e.some((g) => g.Status === m.Failed) ? m.Failed : m.Verified,
403
+ VerificationStatuses: K(e, [m.Failed])
463
404
  };
464
- }, pe = (e) => e.reduce(
465
- (o, d) => o ? new Date(o) < new Date(d) ? d : o : d,
405
+ }, me = (e) => e.reduce(
406
+ (r, f) => r ? new Date(r) < new Date(f) ? f : r : f,
466
407
  0
467
- ), Z = (e, o) => e.filter((d) => o.includes(d.Status)).map((d) => ({
468
- Type: d.Type,
469
- Vendor: d.VendorName,
470
- VerificationDocuments: d.Documents ? [...d.Documents] : [],
471
- VerificationUrlType: d.FlowInfo?.Type,
472
- VerificationUrl: d.FlowInfo?.Url
473
- })), ge = (e) => e.filter((o) => le.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ve(o) || we(o) : !1), ve = (e) => {
474
- const o = e.Documents && e.VendorName === O.Manual, d = e.Documents && e.Documents.some((w) => w.Status === U.Requested);
475
- return o && d;
476
- }, we = (e) => e.VendorName === O.ShuftiPro && e.Status === m.Referred, J = () => {
477
- switch (L.VerificationSummaryStatus) {
408
+ ), K = (e, r) => e.filter((f) => r.includes(f.Status)).map((f) => ({
409
+ Type: f.Type,
410
+ Vendor: f.VendorName,
411
+ VerificationDocuments: f.Documents ? [...f.Documents] : [],
412
+ VerificationUrlType: f.FlowInfo?.Type,
413
+ VerificationUrl: f.FlowInfo?.Url
414
+ })), pe = (e) => e.filter((r) => ae.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || ge(r) || ve(r) : !1), ge = (e) => {
415
+ const r = e.Documents && e.VendorName === A.Manual, f = e.Documents && e.Documents.some((g) => g.Status === U.Requested);
416
+ return r && f;
417
+ }, ve = (e) => e.VendorName === A.ShuftiPro && e.Status === m.Referred, Z = () => {
418
+ switch (B.VerificationSummaryStatus) {
478
419
  case m.InProgress:
479
420
  const e = [];
480
- return W.forEach((o) => {
481
- e.push(ye(o));
421
+ return H.forEach((r) => {
422
+ e.push(we(r));
482
423
  }), e;
483
424
  case m.Referred:
484
- return [n("verification.idenfy.referred-awaiting")];
425
+ return [a("verification.idenfy.referred-awaiting")];
485
426
  case m.Failed:
486
- return [n("verification.message.failed")];
427
+ return [a("verification.message.failed")];
487
428
  }
488
- }, ye = (e) => {
489
- const o = L.VerificationStatuses.filter((d) => d.Vendor === e);
490
- if (e === O.ShuftiPro)
491
- return ke(o);
429
+ }, we = (e) => {
430
+ const r = B.VerificationStatuses.filter((f) => f.Vendor === e);
431
+ if (e === A.ShuftiPro)
432
+ return ye(r);
492
433
  {
493
- const d = n("verification.idenfy.link-name"), w = {
494
- link: `<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`
434
+ const f = a("verification.idenfy.link-name"), g = {
435
+ link: `<a href="${r[0].VerificationUrl}" target="_blank">${f}</a>`
495
436
  };
496
- return n("verification.idenfy.in-progress", { values: w });
437
+ return a("verification.idenfy.in-progress", { values: g });
497
438
  }
498
- }, ke = (e) => {
499
- const o = [], d = {}, w = [
500
- B.Biometric,
501
- B.Documents,
502
- B.ProofOfAddress
439
+ }, ye = (e) => {
440
+ const r = [], f = {}, g = [
441
+ T.Biometric,
442
+ T.Documents,
443
+ T.ProofOfAddress
503
444
  ];
504
- e.forEach((C) => {
505
- w.includes(C.Type) && (o.push(C.Type), d[C.Type] = be(C, Ve(C.Type)));
445
+ e.forEach((S) => {
446
+ g.includes(S.Type) && (r.push(S.Type), f[S.Type] = ke(S, Ve(S.Type)));
506
447
  });
507
- let j = o.every((C) => Y.has(C)), x = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
508
- return j ? n("verification.shuftipro.validations-started") : n(x, { values: d });
509
- }, be = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ve = (e) => n(`verification.shuftipro.link-name.${e}`), N = (e, o) => {
448
+ let N = r.every((S) => W.has(S)), x = `verification.shuftipro.in-progress.${r.sort().join(".")}`;
449
+ return N ? a("verification.shuftipro.validations-started") : a(x, { values: f });
450
+ }, ke = (e, r) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${r}</a>`, Ve = (e) => a(`verification.shuftipro.link-name.${e}`), E = (e, r) => {
510
451
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
511
452
  if (e.target.closest(".verificationLink")) {
512
- const d = e.target.className.split(" ")[1];
513
- Y.add(d), r(4, F = J());
453
+ const f = e.target.className.split(" ")[1];
454
+ W.add(f), o(3, q = Z());
514
455
  }
515
456
  return;
516
457
  }
517
- o === 0 && r(5, z = !z);
458
+ r === 0 && o(4, F = !F);
518
459
  }, Pe = () => {
519
- r(6, G = p === "false");
520
- }, De = () => {
521
- r(8, E = q + "/" + f + "/" + $e);
460
+ o(5, Y = !Ge(ne));
461
+ }, be = () => {
462
+ I = M + "/" + c + "/" + ei;
522
463
  try {
523
- fetch(E, { method: "HEAD" }).then((e) => {
524
- r(7, I = e.ok);
464
+ fetch(I, { method: "HEAD" }).then((e) => {
465
+ o(6, z = e.ok);
525
466
  });
526
467
  } catch {
527
- r(7, I = !1);
468
+ o(6, z = !1);
528
469
  }
529
- }, X = () => {
530
- window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
531
- }, _e = (e, o) => N(o, e), Se = (e, o) => N(o, e), Ce = () => X();
532
- function Ae(e) {
533
- ze[e ? "unshift" : "push"](() => {
534
- S = e, r(3, S);
470
+ }, De = () => {
471
+ window.postMessage({ type: "ShowVideoModal", videoSrc: I }, window.location.href);
472
+ }, Se = (e, r) => E(r, e), _e = (e, r) => E(r, e);
473
+ function Ce(e) {
474
+ Fe[e ? "unshift" : "push"](() => {
475
+ D = e, o(2, D);
535
476
  });
536
477
  }
537
478
  return t.$$set = (e) => {
538
- "endpoint" in e && r(13, l = e.endpoint), "lang" in e && r(14, f = e.lang), "translationurl" in e && r(15, u = e.translationurl), "clientstyling" in e && r(0, c = e.clientstyling), "clientstylingurl" in e && r(1, h = e.clientstylingurl), "session" in e && r(16, a = e.session), "customerid" in e && r(17, _ = e.customerid), "ismobileview" in e && r(2, p = e.ismobileview), "playersession" in e && r(18, v = e.playersession), "mbsource" in e && r(19, M = e.mbsource);
479
+ "endpoint" in e && o(11, s = e.endpoint), "lang" in e && o(12, c = e.lang), "translationurl" in e && o(13, l = e.translationurl), "clientstyling" in e && o(0, h = e.clientstyling), "clientstylingurl" in e && o(1, d = e.clientstylingurl), "session" in e && o(14, u = e.session), "customerid" in e && o(15, C = e.customerid), "playersession" in e && o(16, p = e.playersession), "mbsource" in e && o(17, v = e.mbsource);
539
480
  }, t.$$.update = () => {
540
481
  t.$$.dirty[0] & /*lang*/
541
- 16384 && f && fe(), t.$$.dirty[0] & /*endpoint, session, playersession*/
542
- 335872 && l && a && v && K(), t.$$.dirty[0] & /*endpoint, session, playersession*/
543
- 335872 && l && !a && v && ue(), t.$$.dirty[0] & /*translationurl*/
544
- 32768 && u && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
545
- 9 && c && S && Ie(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
546
- 10 && h && S && xe(), t.$$.dirty[0] & /*ismobileview*/
547
- 4 && p && Pe(), t.$$.dirty[0] & /*staticCdnUrl*/
548
- 1048576 && q && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
549
- 524296 && M && S && Fe(S, `${M}.Style`);
482
+ 4096 && c && le(), t.$$.dirty[0] & /*endpoint, session, playersession*/
483
+ 83968 && s && u && p && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
484
+ 83968 && s && !u && p && de(), t.$$.dirty[0] & /*translationurl*/
485
+ 8192 && l && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
486
+ 5 && h && D && ze(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
487
+ 6 && d && D && Le(), t.$$.dirty[0] & /*staticCdnUrl*/
488
+ 262144 && M && be(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
489
+ 131076 && v && D && qe(D, `${v}.Style`);
550
490
  }, [
551
- c,
552
491
  h,
553
- p,
554
- S,
492
+ d,
493
+ D,
494
+ q,
555
495
  F,
496
+ Y,
556
497
  z,
557
- G,
558
- I,
559
- E,
560
498
  R,
561
- n,
562
- N,
563
- X,
499
+ a,
500
+ E,
501
+ De,
502
+ s,
503
+ c,
564
504
  l,
565
- f,
566
505
  u,
567
- a,
568
- _,
506
+ C,
507
+ p,
569
508
  v,
570
509
  M,
571
- q,
572
- _e,
573
510
  Se,
574
- Ce,
575
- Ae
511
+ _e,
512
+ Ce
576
513
  ];
577
514
  }
578
- class ii extends Te {
515
+ class ti extends Ae {
579
516
  constructor(i) {
580
- super(), Oe(
517
+ super(), Te(
581
518
  this,
582
519
  i,
583
- ei,
584
- Qe,
585
- Me,
520
+ ii,
521
+ $e,
522
+ Be,
586
523
  {
587
- endpoint: 13,
588
- lang: 14,
589
- translationurl: 15,
524
+ endpoint: 11,
525
+ lang: 12,
526
+ translationurl: 13,
590
527
  clientstyling: 0,
591
528
  clientstylingurl: 1,
592
- session: 16,
593
- customerid: 17,
594
- ismobileview: 2,
595
- playersession: 18,
596
- mbsource: 19
529
+ session: 14,
530
+ customerid: 15,
531
+ playersession: 16,
532
+ mbsource: 17
597
533
  },
598
- Ze,
534
+ Je,
599
535
  [-1, -1]
600
536
  );
601
537
  }
602
538
  get endpoint() {
603
- return this.$$.ctx[13];
539
+ return this.$$.ctx[11];
604
540
  }
605
541
  set endpoint(i) {
606
- this.$$set({ endpoint: i }), k();
542
+ this.$$set({ endpoint: i }), y();
607
543
  }
608
544
  get lang() {
609
- return this.$$.ctx[14];
545
+ return this.$$.ctx[12];
610
546
  }
611
547
  set lang(i) {
612
- this.$$set({ lang: i }), k();
548
+ this.$$set({ lang: i }), y();
613
549
  }
614
550
  get translationurl() {
615
- return this.$$.ctx[15];
551
+ return this.$$.ctx[13];
616
552
  }
617
553
  set translationurl(i) {
618
- this.$$set({ translationurl: i }), k();
554
+ this.$$set({ translationurl: i }), y();
619
555
  }
620
556
  get clientstyling() {
621
557
  return this.$$.ctx[0];
622
558
  }
623
559
  set clientstyling(i) {
624
- this.$$set({ clientstyling: i }), k();
560
+ this.$$set({ clientstyling: i }), y();
625
561
  }
626
562
  get clientstylingurl() {
627
563
  return this.$$.ctx[1];
628
564
  }
629
565
  set clientstylingurl(i) {
630
- this.$$set({ clientstylingurl: i }), k();
566
+ this.$$set({ clientstylingurl: i }), y();
631
567
  }
632
568
  get session() {
633
- return this.$$.ctx[16];
569
+ return this.$$.ctx[14];
634
570
  }
635
571
  set session(i) {
636
- this.$$set({ session: i }), k();
572
+ this.$$set({ session: i }), y();
637
573
  }
638
574
  get customerid() {
639
- return this.$$.ctx[17];
575
+ return this.$$.ctx[15];
640
576
  }
641
577
  set customerid(i) {
642
- this.$$set({ customerid: i }), k();
643
- }
644
- get ismobileview() {
645
- return this.$$.ctx[2];
646
- }
647
- set ismobileview(i) {
648
- this.$$set({ ismobileview: i }), k();
578
+ this.$$set({ customerid: i }), y();
649
579
  }
650
580
  get playersession() {
651
- return this.$$.ctx[18];
581
+ return this.$$.ctx[16];
652
582
  }
653
583
  set playersession(i) {
654
- this.$$set({ playersession: i }), k();
584
+ this.$$set({ playersession: i }), y();
655
585
  }
656
586
  get mbsource() {
657
- return this.$$.ctx[19];
587
+ return this.$$.ctx[17];
658
588
  }
659
589
  set mbsource(i) {
660
- this.$$set({ mbsource: i }), k();
590
+ this.$$set({ mbsource: i }), y();
661
591
  }
662
592
  }
663
- Be(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
593
+ Oe(ti, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
664
594
  export {
665
- ii as default
595
+ ti as default
666
596
  };