@everymatrix/cashier-page 1.72.2 → 1.73.1

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 (87) hide show
  1. package/components/{CashierConfirmModal-4RYp7Eiq.js → CashierConfirmModal-BCk4hvRj.js} +3 -3
  2. package/components/{CashierConfirmModal-untxGhsx.js → CashierConfirmModal-DXlKhIue.js} +3 -3
  3. package/components/{CashierError-Zu3Whx-d.js → CashierError-BydkW7s_.js} +2 -2
  4. package/components/{CashierError-DfpdiheS.cjs → CashierError-Dpt_Z7yL.cjs} +1 -1
  5. package/components/{CashierError-yts9rF-i.js → CashierError-Dz_HsnJl.js} +2 -2
  6. package/components/{CashierHeader-BX6LLGb8.js → CashierHeader-86wrgmgP.js} +2 -2
  7. package/components/{CashierHeader-B9cdsOYh.cjs → CashierHeader-BXKYku0i.cjs} +1 -1
  8. package/components/{CashierHeader-C9V5_NVw.js → CashierHeader-DtS_U-De.js} +2 -2
  9. package/components/CashierIframeRedirect-BARMuRTc.cjs +1 -0
  10. package/components/CashierIframeRedirect-CmqcfGcT.js +429 -0
  11. package/components/CashierIframeRedirect-Xzpx4Rjk.js +429 -0
  12. package/components/{CashierMethodDetails-D1ZeLJFI.js → CashierMethodDetails-B1jSb3IC.js} +3506 -2966
  13. package/components/{CashierMethodDetails-DhkT1TEG.js → CashierMethodDetails-CZ1Xj4bB.js} +3415 -2875
  14. package/components/CashierMethodDetails-D9tO8F-N.cjs +99 -0
  15. package/components/CashierMethodsList-BoP67Zj_.js +828 -0
  16. package/components/CashierMethodsList-F_QBfadW.cjs +1 -0
  17. package/components/{CashierMethodsList-Bd0awrSP.js → CashierMethodsList-pOyUlgCs.js} +372 -396
  18. package/components/CashierModal-B4b12-Am.js +229 -0
  19. package/components/CashierModal-C-yyjQ8m.cjs +1 -0
  20. package/components/CashierModal-DCgiaC4V.js +229 -0
  21. package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-BZCaBrRm.js} +1 -1
  22. package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-CWqwdi55.js} +1 -1
  23. package/components/{CashierPage-DagcI5W-.js → CashierPage-B14Zambu.js} +824 -587
  24. package/components/{CashierPage-BbiDGdpa.js → CashierPage-BVN_y5LM.js} +824 -587
  25. package/components/CashierPage-BZCoKtSr.cjs +1 -0
  26. package/components/CashierReceiptPage-BM8IB2en.js +1451 -0
  27. package/components/CashierReceiptPage-DY4vYKOg.cjs +1 -0
  28. package/components/CashierReceiptPage-hbrIFE7Z.js +1453 -0
  29. package/components/CashierSessionExpirationModal-4QgY4tj0.js +1205 -0
  30. package/components/CashierSessionExpirationModal-B-JloK58.cjs +2 -0
  31. package/components/CashierSessionExpirationModal-BZjFbzTF.js +1205 -0
  32. package/components/CashierSpinner-BdeNFm1c.js +79 -0
  33. package/components/CashierSpinner-COjPdCUV.js +79 -0
  34. package/components/CashierSpinner-CpkB8Zoj.cjs +1 -0
  35. package/components/CashierTransactionHistory-BRRK3_Wm.cjs +1 -0
  36. package/components/CashierTransactionHistory-DwBe7fCZ.js +614 -0
  37. package/components/CashierTransactionHistory-DzdL--gs.js +614 -0
  38. package/components/{CashierVerifications-8ZmmqlLE.js → CashierVerifications-Ct5BMC4Z.js} +324 -277
  39. package/components/CashierVerifications-DEJgktmX.cjs +1 -0
  40. package/components/{CashierVerifications-DJ8j0wXs.js → CashierVerifications-bo5F0ePz.js} +332 -285
  41. package/components/CashierVideoModal-8I67tMwv.cjs +1 -0
  42. package/components/{CashierVideoModal-CVDvqrcy.js → CashierVideoModal-CQLJKJAK.js} +91 -94
  43. package/components/{CashierVideoModal-DHNu0BQz.js → CashierVideoModal-CzRdJr4V.js} +91 -94
  44. package/es2015/cashier-page.cjs +1 -1
  45. package/es2015/cashier-page.js +1 -1
  46. package/esnext/cashier-page.js +1 -1
  47. package/package.json +1 -1
  48. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  49. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  50. package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
  51. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  52. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  53. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-BWJXFWH1.js} +1 -1
  54. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-ByEXiBzx.cjs} +1 -1
  55. package/stencil/{ui-image-CHeV8e9p.js → ui-image-DIEeZy5u.js} +1 -1
  56. package/stencil/ui-skeleton-4-zrLsIW.js +11 -0
  57. package/stencil/ui-skeleton-9boHSjtG.js +29 -0
  58. package/stencil/ui-skeleton-_yJvAdAL.cjs +1 -0
  59. package/stencil/ui-skeleton-ae35c6f2-8tYGV8SR.js +155 -0
  60. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +55 -0
  61. package/stencil/ui-skeleton-ae35c6f2-IN_dPA5_.js +155 -0
  62. package/components/CashierIframeRedirect-3Ttb1Wdk.js +0 -378
  63. package/components/CashierIframeRedirect-BIMJNSib.js +0 -378
  64. package/components/CashierIframeRedirect-NF0DKl7A.cjs +0 -1
  65. package/components/CashierMethodDetails-Cgu5TXSP.cjs +0 -84
  66. package/components/CashierMethodsList-D4ou6zMr.cjs +0 -1
  67. package/components/CashierMethodsList-z8dlFfeS.js +0 -852
  68. package/components/CashierModal-BrwIBn9a.js +0 -232
  69. package/components/CashierModal-BuM2Yq-y.cjs +0 -1
  70. package/components/CashierModal-ZfKvGxFq.js +0 -232
  71. package/components/CashierPage-eEO1eHcj.cjs +0 -1
  72. package/components/CashierReceiptPage--SlIuxeH.js +0 -1174
  73. package/components/CashierReceiptPage-Si7b2HWz.js +0 -1172
  74. package/components/CashierReceiptPage-dUPhckvS.cjs +0 -1
  75. package/components/CashierSessionExpirationModal-BmFSh_r0.js +0 -1208
  76. package/components/CashierSessionExpirationModal-CVnU7oKj.cjs +0 -2
  77. package/components/CashierSessionExpirationModal-QHzlcCYu.js +0 -1208
  78. package/components/CashierSpinner-BAfTKICK.js +0 -71
  79. package/components/CashierSpinner-BhmndmKG.cjs +0 -1
  80. package/components/CashierSpinner-y6HodxHT.js +0 -71
  81. package/components/CashierTransactionHistory-CBJrAtki.js +0 -569
  82. package/components/CashierTransactionHistory-DwYyVBtn.cjs +0 -1
  83. package/components/CashierTransactionHistory-LW9NA8-t.js +0 -569
  84. package/components/CashierVerifications-CYRbG7DV.cjs +0 -1
  85. package/components/CashierVideoModal-BZg_b6bd.cjs +0 -1
  86. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  87. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
@@ -1,15 +1,16 @@
1
- import { S as Oe, b as Be, s as Me, f as y, c as Le, n as Z, e as C, J as O, m as S, p as w, v as V, w as X, K as Q, L as xe, D, q as T, A as qe, o as k, B as H, y as Fe, z as ze, E as Ie } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-Zu3Whx-d.js";
3
- import { d as $, u as Ne, x as je } from "./CashierMethodDetails-D1ZeLJFI.js";
4
- function ee(t, i) {
1
+ import { S as Oe, b as Te, s as Be, f as k, c as Me, n as Q, e as V, J as T, m as P, p as y, v as D, w as $, F as Le, A as qe, D as v, K as ee, L as xe, q as O, o as b, B as j, y as Fe, z as ze, E as Ie } from "./CashierConfirmModal-BCk4hvRj.js";
2
+ import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-BydkW7s_.js";
3
+ import { d as ie, u as Ne, x as je } from "./CashierMethodDetails-B1jSb3IC.js";
4
+ import { s as We, a as Ke, b as Ye } from "./CashierIframeRedirect-CmqcfGcT.js";
5
+ function te(t, i) {
5
6
  Ee(t, i);
6
7
  }
7
- function We(t) {
8
+ function Ge(t) {
8
9
  Re({
9
10
  fallbackLocale: "en"
10
11
  }), Ue.set(t);
11
12
  }
12
- const ie = {
13
+ const re = {
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",
@@ -77,174 +78,213 @@ if (typeof window != "undefined") {
77
78
  }
78
79
  };
79
80
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-DHNu0BQz.js").then(({ default: i }) => {
81
+ customElements.define = t(customElements.define), import("./CashierVideoModal-CQLJKJAK.js").then(({ default: i }) => {
81
82
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
83
  });
83
84
  }
84
- function Ke(t) {
85
- Le(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{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)}");
85
+ function Je(t) {
86
+ 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
87
  }
87
- function te(t, i, r) {
88
+ function oe(t, i, r) {
88
89
  const n = t.slice();
89
- return n[53] = i[r], n[55] = r, n;
90
+ return n[54] = i[r], n[56] = r, n;
90
91
  }
91
- function re(t) {
92
- let i, r, n, c, d = Q(
92
+ function Ze(t) {
93
+ let i, r, n, s, l = ee(
93
94
  /*displayMessages*/
94
95
  t[4]
95
96
  ), f = [];
96
- for (let a = 0; a < d.length; a += 1)
97
- f[a] = se(te(t, d, a));
98
- let h = (
97
+ for (let c = 0; c < l.length; c += 1)
98
+ f[c] = ne(oe(t, l, c));
99
+ let u = (
99
100
  /*videoExists*/
100
- t[7] && ne(t)
101
+ t[7] && ae(t)
101
102
  );
102
103
  return {
103
104
  c() {
104
- i = w("div");
105
- for (let a = 0; a < f.length; a += 1)
106
- f[a].c();
107
- r = T(), h && h.c(), n = T(), c = w("cashier-video-modal"), V(i, "class", "CashierVerificationsWrapper"), D(
108
- c,
105
+ i = y("div");
106
+ for (let c = 0; c < f.length; c += 1)
107
+ f[c].c();
108
+ r = O(), u && u.c(), n = O(), s = y("cashier-video-modal"), D(i, "class", "CashierVerificationsWrapper"), v(
109
+ s,
109
110
  "clientstylingurl",
110
111
  /*clientstylingurl*/
111
112
  t[1]
112
- ), D(
113
- c,
113
+ ), v(
114
+ s,
114
115
  "clientstyling",
115
116
  /*clientstyling*/
116
117
  t[0]
117
- ), D(
118
- c,
118
+ ), v(
119
+ s,
119
120
  "ismobileview",
120
121
  /*ismobileview*/
121
122
  t[2]
122
- ), D(
123
- c,
123
+ ), v(
124
+ s,
124
125
  "videosrc",
125
126
  /*videoSrc*/
126
127
  t[8]
127
128
  );
128
129
  },
129
- m(a, u) {
130
- S(a, i, u);
131
- for (let s = 0; s < f.length; s += 1)
132
- f[s] && f[s].m(i, null);
133
- S(a, r, u), h && h.m(a, u), S(a, n, u), S(a, c, u);
130
+ m(c, h) {
131
+ P(c, i, h);
132
+ for (let a = 0; a < f.length; a += 1)
133
+ f[a] && f[a].m(i, null);
134
+ P(c, r, h), u && u.m(c, h), P(c, n, h), P(c, s, h);
134
135
  },
135
- p(a, u) {
136
- if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
137
- 1072) {
138
- d = Q(
136
+ p(c, h) {
137
+ if (h[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
138
+ 2096) {
139
+ l = ee(
139
140
  /*displayMessages*/
140
- a[4]
141
+ c[4]
141
142
  );
142
- let s;
143
- for (s = 0; s < d.length; s += 1) {
144
- const P = te(a, d, s);
145
- f[s] ? f[s].p(P, u) : (f[s] = se(P), f[s].c(), f[s].m(i, null));
143
+ let a;
144
+ for (a = 0; a < l.length; a += 1) {
145
+ const _ = oe(c, l, a);
146
+ f[a] ? f[a].p(_, h) : (f[a] = ne(_), f[a].c(), f[a].m(i, null));
146
147
  }
147
- for (; s < f.length; s += 1)
148
- f[s].d(1);
149
- f.length = d.length;
148
+ for (; a < f.length; a += 1)
149
+ f[a].d(1);
150
+ f.length = l.length;
150
151
  }
151
152
  /*videoExists*/
152
- a[7] ? h ? h.p(a, u) : (h = ne(a), h.c(), h.m(n.parentNode, n)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
153
- 2 && D(
154
- c,
153
+ 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*/
154
+ 2 && v(
155
+ s,
155
156
  "clientstylingurl",
156
157
  /*clientstylingurl*/
157
- a[1]
158
- ), u[0] & /*clientstyling*/
159
- 1 && D(
160
- c,
158
+ c[1]
159
+ ), h[0] & /*clientstyling*/
160
+ 1 && v(
161
+ s,
161
162
  "clientstyling",
162
163
  /*clientstyling*/
163
- a[0]
164
- ), u[0] & /*ismobileview*/
165
- 4 && D(
166
- c,
164
+ c[0]
165
+ ), h[0] & /*ismobileview*/
166
+ 4 && v(
167
+ s,
167
168
  "ismobileview",
168
169
  /*ismobileview*/
169
- a[2]
170
- ), u[0] & /*videoSrc*/
171
- 256 && D(
172
- c,
170
+ c[2]
171
+ ), h[0] & /*videoSrc*/
172
+ 256 && v(
173
+ s,
173
174
  "videosrc",
174
175
  /*videoSrc*/
175
- a[8]
176
+ c[8]
177
+ );
178
+ },
179
+ d(c) {
180
+ c && (V(i), V(r), V(n), V(s)), xe(f, c), u && u.d(c);
181
+ }
182
+ };
183
+ }
184
+ function Xe(t) {
185
+ let i;
186
+ return {
187
+ c() {
188
+ i = y("cashier-spinner"), v(
189
+ i,
190
+ "clientstylingurl",
191
+ /*clientstylingurl*/
192
+ t[1]
193
+ ), v(
194
+ i,
195
+ "clientstyling",
196
+ /*clientstyling*/
197
+ t[0]
176
198
  );
177
199
  },
178
- d(a) {
179
- a && (C(i), C(r), C(n), C(c)), xe(f, a), h && h.d(a);
200
+ m(r, n) {
201
+ P(r, i, n);
202
+ },
203
+ p(r, n) {
204
+ n[0] & /*clientstylingurl*/
205
+ 2 && v(
206
+ i,
207
+ "clientstylingurl",
208
+ /*clientstylingurl*/
209
+ r[1]
210
+ ), n[0] & /*clientstyling*/
211
+ 1 && v(
212
+ i,
213
+ "clientstyling",
214
+ /*clientstyling*/
215
+ r[0]
216
+ );
217
+ },
218
+ d(r) {
219
+ r && V(i);
180
220
  }
181
221
  };
182
222
  }
183
- function oe(t) {
223
+ function se(t) {
184
224
  let i, r, n;
185
- function c(...d) {
225
+ function s(...l) {
186
226
  return (
187
227
  /*click_handler*/
188
- t[19](
228
+ t[21](
189
229
  /*index*/
190
- t[55],
191
- ...d
230
+ t[56],
231
+ ...l
192
232
  )
193
233
  );
194
234
  }
195
235
  return {
196
236
  c() {
197
- 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
+ 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");
198
238
  },
199
- m(d, f) {
200
- S(d, i, f), r || (n = H(i, "click", c), r = !0);
239
+ m(l, f) {
240
+ P(l, i, f), r || (n = j(i, "click", s), r = !0);
201
241
  },
202
- p(d, f) {
203
- t = d;
242
+ p(l, f) {
243
+ t = l;
204
244
  },
205
- d(d) {
206
- d && C(i), r = !1, n();
245
+ d(l) {
246
+ l && V(i), r = !1, n();
207
247
  }
208
248
  };
209
249
  }
210
- function se(t) {
211
- let i, r, n, c, d = (
250
+ function ne(t) {
251
+ let i, r, n, s, l = (
212
252
  /*message*/
213
- t[53] + ""
214
- ), f, h, a, u, s = (
253
+ t[54] + ""
254
+ ), f, u, c, h, a = (
215
255
  /*displayMessages*/
216
256
  t[4].length > 1 && /*index*/
217
- t[55] === 0 && oe(t)
257
+ t[56] === 0 && se(t)
218
258
  );
219
- function P(...g) {
259
+ function _(...g) {
220
260
  return (
221
261
  /*click_handler_1*/
222
- t[20](
262
+ t[22](
223
263
  /*index*/
224
- t[55],
264
+ t[56],
225
265
  ...g
226
266
  )
227
267
  );
228
268
  }
229
269
  return {
230
270
  c() {
231
- i = w("div"), r = w("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 = T(), c = w("p"), f = T(), s && s.c(), h = T(), V(r, "class", "IconVerification"), V(c, "class", "text"), V(i, "class", "CashierVerificationMessage"), O(
271
+ 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 = O(), s = y("p"), f = O(), a && a.c(), u = O(), D(r, "class", "IconVerification"), D(s, "class", "text"), D(i, "class", "CashierVerificationMessage"), T(
232
272
  i,
233
273
  "ShowAll",
234
274
  /*allVerificationsVisible*/
235
275
  t[5]
236
276
  );
237
277
  },
238
- m(g, v) {
239
- S(g, i, v), k(i, r), k(i, n), k(i, c), c.innerHTML = d, k(i, f), s && s.m(i, null), k(i, h), a || (u = H(i, "click", P), a = !0);
278
+ m(g, w) {
279
+ P(g, i, w), 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 = j(i, "click", _), c = !0);
240
280
  },
241
- p(g, v) {
242
- t = g, v[0] & /*displayMessages*/
243
- 16 && d !== (d = /*message*/
244
- t[53] + "") && (c.innerHTML = d), /*displayMessages*/
281
+ p(g, w) {
282
+ t = g, w[0] & /*displayMessages*/
283
+ 16 && l !== (l = /*message*/
284
+ t[54] + "") && (s.innerHTML = l), /*displayMessages*/
245
285
  t[4].length > 1 && /*index*/
246
- t[55] === 0 ? s ? s.p(t, v) : (s = oe(t), s.c(), s.m(i, h)) : s && (s.d(1), s = null), v[0] & /*allVerificationsVisible*/
247
- 32 && O(
286
+ t[56] === 0 ? a ? a.p(t, w) : (a = se(t), a.c(), a.m(i, u)) : a && (a.d(1), a = null), w[0] & /*allVerificationsVisible*/
287
+ 32 && T(
248
288
  i,
249
289
  "ShowAll",
250
290
  /*allVerificationsVisible*/
@@ -252,95 +292,104 @@ function se(t) {
252
292
  );
253
293
  },
254
294
  d(g) {
255
- g && C(i), s && s.d(), a = !1, u();
295
+ g && V(i), a && a.d(), c = !1, h();
256
296
  }
257
297
  };
258
298
  }
259
- function ne(t) {
260
- let i, r, n, c, d = (
299
+ function ae(t) {
300
+ let i, r, n, s, l = (
261
301
  /*$_*/
262
- t[9]("verification.video.how-to") + ""
263
- ), f, h, a;
302
+ t[10]("verification.video.how-to") + ""
303
+ ), f, u, c;
264
304
  return {
265
305
  c() {
266
- i = w("div"), r = w("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 = T(), c = w("div"), f = ze(d), V(r, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), O(
267
- c,
306
+ 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 = O(), s = y("div"), f = ze(l), D(r, "class", "IconVideo"), D(s, "class", "CashierVerificationVideoLink"), T(
307
+ s,
268
308
  "CashierVerificationVideoLinkDesktop",
269
309
  /*desktopView*/
270
310
  t[6]
271
- ), V(i, "class", "CashierVerificationVideo");
311
+ ), D(i, "class", "CashierVerificationVideo");
272
312
  },
273
- m(u, s) {
274
- S(u, i, s), k(i, r), k(i, n), k(i, c), k(c, f), h || (a = H(
275
- c,
313
+ m(h, a) {
314
+ P(h, i, a), b(i, r), b(i, n), b(i, s), b(s, f), u || (c = j(
315
+ s,
276
316
  "click",
277
317
  /*click_handler_2*/
278
- t[21]
279
- ), h = !0);
318
+ t[23]
319
+ ), u = !0);
280
320
  },
281
- p(u, s) {
282
- s[0] & /*$_*/
283
- 512 && d !== (d = /*$_*/
284
- u[9]("verification.video.how-to") + "") && Fe(f, d), s[0] & /*desktopView*/
285
- 64 && O(
286
- c,
321
+ p(h, a) {
322
+ a[0] & /*$_*/
323
+ 1024 && l !== (l = /*$_*/
324
+ h[10]("verification.video.how-to") + "") && Fe(f, l), a[0] & /*desktopView*/
325
+ 64 && T(
326
+ s,
287
327
  "CashierVerificationVideoLinkDesktop",
288
328
  /*desktopView*/
289
- u[6]
329
+ h[6]
290
330
  );
291
331
  },
292
- d(u) {
293
- u && C(i), h = !1, a();
332
+ d(h) {
333
+ h && V(i), u = !1, c();
294
334
  }
295
335
  };
296
336
  }
297
- function Ye(t) {
298
- let i, r = (
299
- /*displayMessages*/
300
- t[4] && re(t)
301
- );
337
+ function Qe(t) {
338
+ let i;
339
+ function r(l, f) {
340
+ if (
341
+ /*isLoading*/
342
+ l[9]
343
+ )
344
+ return Xe;
345
+ if (
346
+ /*displayMessages*/
347
+ l[4]
348
+ )
349
+ return Ze;
350
+ }
351
+ let n = r(t), s = n && n(t);
302
352
  return {
303
353
  c() {
304
- i = w("div"), r && r.c(), V(i, "class", "CashierVerifications"), O(
354
+ i = y("div"), s && s.c(), D(i, "class", "CashierVerifications"), T(
305
355
  i,
306
356
  "CashierVerificationsDesktop",
307
357
  /*desktopView*/
308
358
  t[6]
309
359
  );
310
360
  },
311
- m(n, c) {
312
- S(n, i, c), r && r.m(i, null), t[22](i);
361
+ m(l, f) {
362
+ P(l, i, f), s && s.m(i, null), t[24](i);
313
363
  },
314
- p(n, c) {
315
- /*displayMessages*/
316
- n[4] ? r ? r.p(n, c) : (r = re(n), r.c(), r.m(i, null)) : r && (r.d(1), r = null), c[0] & /*desktopView*/
317
- 64 && O(
364
+ p(l, f) {
365
+ 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*/
366
+ 64 && T(
318
367
  i,
319
368
  "CashierVerificationsDesktop",
320
369
  /*desktopView*/
321
- n[6]
370
+ l[6]
322
371
  );
323
372
  },
324
- i: Z,
325
- o: Z,
326
- d(n) {
327
- n && C(i), r && r.d(), t[22](null);
373
+ i: Q,
374
+ o: Q,
375
+ d(l) {
376
+ l && V(i), s && s.d(), t[24](null);
328
377
  }
329
378
  };
330
379
  }
331
- const Ge = "verification_explanation_video_widgets.MP4";
332
- function Je(t, i, r) {
333
- let n, c;
334
- X(t, He, (e) => r(9, n = e)), X(t, je, (e) => r(28, c = e)), $.extend(Ne);
335
- let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: P = "" } = i, { ismobileview: g = "" } = i, { playersession: v = "" } = i, _, N = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, x, F, z = !0, W = !0, I = !1, E = "";
380
+ const $e = "verification_explanation_video_widgets.MP4";
381
+ function ei(t, i, r) {
382
+ let n, s;
383
+ $(t, He, (e) => r(10, n = e)), $(t, je, (e) => r(30, s = e)), ie.extend(Ne);
384
+ let { endpoint: l } = i, { lang: f = "en" } = i, { translationurl: u = "" } = i, { clientstyling: c = "" } = i, { clientstylingurl: h = "" } = i, { session: a = "" } = i, { customerid: _ = "" } = i, { ismobileview: g = "" } = i, { playersession: w = "" } = i, { mbsource: L = "" } = i, C, W = /* @__PURE__ */ new Set(), K = /* @__PURE__ */ new Set(), q, x, z, I = !0, Y = !0, E = !1, R = "", U = !1;
336
385
  var B;
337
386
  (function(e) {
338
387
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
339
388
  })(B || (B = {}));
340
- var R;
389
+ var H;
341
390
  (function(e) {
342
391
  e.Requested = "Requested";
343
- })(R || (R = {}));
392
+ })(H || (H = {}));
344
393
  var p;
345
394
  (function(e) {
346
395
  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";
@@ -348,277 +397,275 @@ function Je(t, i, r) {
348
397
  var M;
349
398
  (function(e) {
350
399
  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";
351
- })(M || (M = {}));
352
- const ae = [
400
+ })(M || (M = {})), Le(() => () => {
401
+ });
402
+ const le = [
353
403
  p.InProgress,
354
404
  p.Referred,
355
405
  p.AwaitingForResponse
356
- ], le = () => {
357
- let e = h;
406
+ ], ce = () => {
407
+ let e = u;
358
408
  if (e)
359
409
  return fetch(e).then((o) => o.json()).then((o) => {
360
- Object.keys(o).forEach((l) => {
361
- ee(l, o[l]);
410
+ Object.keys(o).forEach((d) => {
411
+ te(d, o[d]);
362
412
  });
363
413
  }).catch((o) => {
364
414
  console.log(o);
365
415
  });
366
416
  };
367
- Object.keys(ie).forEach((e) => {
368
- ee(e, ie[e]);
417
+ Object.keys(re).forEach((e) => {
418
+ te(e, re[e]);
369
419
  });
370
- const ce = () => {
371
- We(f);
372
- }, fe = () => {
373
- let e = document.createElement("style");
374
- e.innerHTML = a, _.appendChild(e);
375
- }, de = () => {
376
- let e = new URL(u), o = document.createElement("style");
377
- fetch(e.href).then((l) => l.text()).then((l) => {
378
- o.innerHTML = l, setTimeout(
379
- () => {
380
- _.appendChild(o);
381
- },
382
- 1
383
- );
384
- });
385
- }, K = () => {
386
- r(18, x = me());
387
- const e = new URL(`${d}/v1/player/${P}/verification/GetKYCCustomerStatus?language=${f}`), o = new Headers();
388
- o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${v}`), o.append("X-Client-Request-Timestamp", $.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
389
- const l = {
420
+ const fe = () => {
421
+ Ge(f);
422
+ }, G = () => {
423
+ r(20, x = he());
424
+ const e = new URL(`${l}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${f}`), o = new Headers();
425
+ o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${w}`), o.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
426
+ const d = {
390
427
  method: "POST",
391
428
  headers: o,
392
429
  body: JSON.stringify({})
393
430
  };
394
- fetch(e, l).then((m) => m.json()).then((m) => {
395
- const b = ue(m == null ? void 0 : m.Verifications);
396
- L = pe(b), L.VerificationStatuses.forEach((q) => {
397
- q.VerificationUrlType !== "Widget" && N.add(q.Vendor);
398
- }), r(4, F = G());
399
- });
400
- }, ue = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], he = () => {
401
- c && K();
402
- }, me = () => {
403
- let e = (s || c).split(".")[1];
431
+ r(9, U = !0), fetch(e, d).then((m) => m.json()).then((m) => {
432
+ const S = de(m == null ? void 0 : m.Verifications);
433
+ q = me(S), q.VerificationStatuses.forEach((F) => {
434
+ F.VerificationUrlType !== "Widget" && W.add(F.Vendor);
435
+ }), r(4, z = Z());
436
+ }).finally(() => r(9, U = !1));
437
+ }, de = (e) => e ? e.sort((o, d) => new Date(d.Created).getTime() - new Date(o.Created).getTime()) : [], ue = () => {
438
+ s && G();
439
+ }, he = () => {
440
+ let e = (a || s).split(".")[1];
404
441
  if (e) {
405
442
  let o = JSON.parse(atob(e));
406
443
  return o.cdn + "/cashier/operator-assets/" + (o == null ? void 0 : o.mid);
407
444
  }
408
445
  return "";
409
- }, pe = (e) => {
410
- var l;
446
+ }, me = (e) => {
447
+ var d;
411
448
  if (!e || !e.length)
412
449
  return {
413
450
  VerificationSummaryStatus: p.Unverified,
414
451
  VerificationStatuses: []
415
452
  };
416
- const o = ve(e);
453
+ const o = ge(e);
417
454
  if (o && o.length) {
418
- const m = ge(o);
455
+ const m = pe(o);
419
456
  return {
420
457
  VerificationSummaryStatus: m.Status,
421
- VerificationUrl: (l = m.Flags) == null ? void 0 : l.DeferredUrlKey,
422
- VerificationStatuses: Y(o, m.Status)
458
+ VerificationUrl: (d = m.Flags) == null ? void 0 : d.DeferredUrlKey,
459
+ VerificationStatuses: J(o, m.Status)
423
460
  };
424
461
  } else
425
462
  return {
426
- VerificationSummaryStatus: e.some((b) => b.Status === p.Failed) ? p.Failed : p.Verified,
427
- VerificationStatuses: Y(e, [p.Failed])
463
+ VerificationSummaryStatus: e.some((S) => S.Status === p.Failed) ? p.Failed : p.Verified,
464
+ VerificationStatuses: J(e, [p.Failed])
428
465
  };
429
- }, ge = (e) => e.reduce(
430
- (o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
466
+ }, pe = (e) => e.reduce(
467
+ (o, d) => o ? new Date(o) < new Date(d) ? d : o : d,
431
468
  0
432
- ), Y = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => {
433
- var m, b;
469
+ ), J = (e, o) => e.filter((d) => o.includes(d.Status)).map((d) => {
470
+ var m, S;
434
471
  return {
435
- Type: l.Type,
436
- Vendor: l.VendorName,
437
- VerificationDocuments: l.Documents ? [...l.Documents] : [],
438
- VerificationUrlType: (m = l.FlowInfo) == null ? void 0 : m.Type,
439
- VerificationUrl: (b = l.FlowInfo) == null ? void 0 : b.Url
472
+ Type: d.Type,
473
+ Vendor: d.VendorName,
474
+ VerificationDocuments: d.Documents ? [...d.Documents] : [],
475
+ VerificationUrlType: (m = d.FlowInfo) == null ? void 0 : m.Type,
476
+ VerificationUrl: (S = d.FlowInfo) == null ? void 0 : S.Url
440
477
  };
441
- }), ve = (e) => e.filter((o) => ae.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || we(o) || ye(o) : !1), we = (e) => {
442
- const o = e.Documents && e.VendorName === B.Manual, l = e.Documents && e.Documents.some((m) => m.Status === R.Requested);
443
- return o && l;
444
- }, ye = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, G = () => {
445
- switch (L.VerificationSummaryStatus) {
478
+ }), ge = (e) => e.filter((o) => le.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ve(o) || we(o) : !1), ve = (e) => {
479
+ const o = e.Documents && e.VendorName === B.Manual, d = e.Documents && e.Documents.some((m) => m.Status === H.Requested);
480
+ return o && d;
481
+ }, we = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, Z = () => {
482
+ switch (q.VerificationSummaryStatus) {
446
483
  case p.InProgress:
447
484
  const e = [];
448
- return N.forEach((o) => {
449
- e.push(ke(o));
485
+ return W.forEach((o) => {
486
+ e.push(ye(o));
450
487
  }), e;
451
488
  case p.Referred:
452
489
  return [n("verification.idenfy.referred-awaiting")];
453
490
  case p.Failed:
454
491
  return [n("verification.message.failed")];
455
492
  }
456
- }, ke = (e) => {
457
- const o = L.VerificationStatuses.filter((l) => l.Vendor === e);
493
+ }, ye = (e) => {
494
+ const o = q.VerificationStatuses.filter((d) => d.Vendor === e);
458
495
  if (e === B.ShuftiPro)
459
- return Ve(o);
496
+ return ke(o);
460
497
  {
461
- const l = n("verification.idenfy.link-name"), m = {
462
- link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
498
+ const d = n("verification.idenfy.link-name"), m = {
499
+ link: `<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`
463
500
  };
464
501
  return n("verification.idenfy.in-progress", { values: m });
465
502
  }
466
- }, Ve = (e) => {
467
- const o = [], l = {}, m = [
503
+ }, ke = (e) => {
504
+ const o = [], d = {}, m = [
468
505
  M.Biometric,
469
506
  M.Documents,
470
507
  M.ProofOfAddress
471
508
  ];
472
509
  e.forEach((A) => {
473
- m.includes(A.Type) && (o.push(A.Type), l[A.Type] = Pe(A, be(A.Type)));
510
+ m.includes(A.Type) && (o.push(A.Type), d[A.Type] = be(A, Ve(A.Type)));
474
511
  });
475
- let b = o.every((A) => j.has(A)), q = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
476
- return b ? n("verification.shuftipro.validations-started") : n(q, { values: l });
477
- }, Pe = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, be = (e) => n(`verification.shuftipro.link-name.${e}`), U = (e, o) => {
512
+ let S = o.every((A) => K.has(A)), F = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
513
+ return S ? n("verification.shuftipro.validations-started") : n(F, { values: d });
514
+ }, 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) => {
478
515
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
479
516
  if (e.target.closest(".verificationLink")) {
480
- const l = e.target.className.split(" ")[1];
481
- j.add(l), r(4, F = G());
517
+ const d = e.target.className.split(" ")[1];
518
+ K.add(d), r(4, z = Z());
482
519
  }
483
520
  return;
484
521
  }
485
- o === 0 && r(5, z = !z);
522
+ o === 0 && r(5, I = !I);
523
+ }, Pe = () => {
524
+ r(6, Y = g === "false");
486
525
  }, De = () => {
487
- r(6, W = g === "false");
488
- }, Ce = () => {
489
- r(8, E = x + "/" + f + "/" + Ge);
526
+ r(8, R = x + "/" + f + "/" + $e);
490
527
  try {
491
- fetch(E, { method: "HEAD" }).then((e) => {
492
- r(7, I = e.ok);
528
+ fetch(R, { method: "HEAD" }).then((e) => {
529
+ r(7, E = e.ok);
493
530
  });
494
531
  } catch (e) {
495
- r(7, I = !1);
532
+ r(7, E = !1);
496
533
  }
497
- }, J = () => {
534
+ }, X = () => {
498
535
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
499
- }, Se = (e, o) => U(o, e), _e = (e, o) => U(o, e), Ae = () => J();
500
- function Te(e) {
536
+ }, _e = (e, o) => N(o, e), Se = (e, o) => N(o, e), Ce = () => X();
537
+ function Ae(e) {
501
538
  qe[e ? "unshift" : "push"](() => {
502
- _ = e, r(3, _);
539
+ C = e, r(3, C);
503
540
  });
504
541
  }
505
542
  return t.$$set = (e) => {
506
- "endpoint" in e && r(12, d = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, h = e.translationurl), "clientstyling" in e && r(0, a = e.clientstyling), "clientstylingurl" in e && r(1, u = e.clientstylingurl), "session" in e && r(15, s = e.session), "customerid" in e && r(16, P = e.customerid), "ismobileview" in e && r(2, g = e.ismobileview), "playersession" in e && r(17, v = e.playersession);
543
+ "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, g = e.ismobileview), "playersession" in e && r(18, w = e.playersession), "mbsource" in e && r(19, L = e.mbsource);
507
544
  }, t.$$.update = () => {
508
545
  t.$$.dirty[0] & /*lang*/
509
- 8192 && f && ce(), t.$$.dirty[0] & /*endpoint, session, playersession*/
510
- 167936 && d && s && v && K(), t.$$.dirty[0] & /*endpoint, session, playersession*/
511
- 167936 && d && !s && v && he(), t.$$.dirty[0] & /*translationurl*/
512
- 16384 && h && le(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
513
- 9 && a && _ && fe(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
514
- 10 && u && _ && de(), t.$$.dirty[0] & /*ismobileview*/
515
- 4 && g && De(), t.$$.dirty[0] & /*staticCdnUrl*/
516
- 262144 && x && Ce();
546
+ 16384 && f && fe(), t.$$.dirty[0] & /*endpoint, session, playersession*/
547
+ 335872 && l && a && w && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
548
+ 335872 && l && !a && w && ue(), t.$$.dirty[0] & /*translationurl*/
549
+ 32768 && u && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
550
+ 9 && c && C && We(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
551
+ 10 && h && C && Ke(), t.$$.dirty[0] & /*ismobileview*/
552
+ 4 && g && Pe(), t.$$.dirty[0] & /*staticCdnUrl*/
553
+ 1048576 && x && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
554
+ 524296 && L && C && Ye(C, `${L}.Style`);
517
555
  }, [
518
- a,
519
- u,
556
+ c,
557
+ h,
520
558
  g,
521
- _,
522
- F,
559
+ C,
523
560
  z,
524
- W,
525
561
  I,
562
+ Y,
526
563
  E,
527
- n,
564
+ R,
528
565
  U,
529
- J,
530
- d,
566
+ n,
567
+ N,
568
+ X,
569
+ l,
531
570
  f,
532
- h,
533
- s,
534
- P,
535
- v,
571
+ u,
572
+ a,
573
+ _,
574
+ w,
575
+ L,
536
576
  x,
537
- Se,
538
577
  _e,
539
- Ae,
540
- Te
578
+ Se,
579
+ Ce,
580
+ Ae
541
581
  ];
542
582
  }
543
- class Ze extends Oe {
583
+ class ii extends Oe {
544
584
  constructor(i) {
545
- super(), Be(
585
+ super(), Te(
546
586
  this,
547
587
  i,
548
- Je,
549
- Ye,
550
- Me,
588
+ ei,
589
+ Qe,
590
+ Be,
551
591
  {
552
- endpoint: 12,
553
- lang: 13,
554
- translationurl: 14,
592
+ endpoint: 13,
593
+ lang: 14,
594
+ translationurl: 15,
555
595
  clientstyling: 0,
556
596
  clientstylingurl: 1,
557
- session: 15,
558
- customerid: 16,
597
+ session: 16,
598
+ customerid: 17,
559
599
  ismobileview: 2,
560
- playersession: 17
600
+ playersession: 18,
601
+ mbsource: 19
561
602
  },
562
- Ke,
603
+ Je,
563
604
  [-1, -1]
564
605
  );
565
606
  }
566
607
  get endpoint() {
567
- return this.$$.ctx[12];
608
+ return this.$$.ctx[13];
568
609
  }
569
610
  set endpoint(i) {
570
- this.$$set({ endpoint: i }), y();
611
+ this.$$set({ endpoint: i }), k();
571
612
  }
572
613
  get lang() {
573
- return this.$$.ctx[13];
614
+ return this.$$.ctx[14];
574
615
  }
575
616
  set lang(i) {
576
- this.$$set({ lang: i }), y();
617
+ this.$$set({ lang: i }), k();
577
618
  }
578
619
  get translationurl() {
579
- return this.$$.ctx[14];
620
+ return this.$$.ctx[15];
580
621
  }
581
622
  set translationurl(i) {
582
- this.$$set({ translationurl: i }), y();
623
+ this.$$set({ translationurl: i }), k();
583
624
  }
584
625
  get clientstyling() {
585
626
  return this.$$.ctx[0];
586
627
  }
587
628
  set clientstyling(i) {
588
- this.$$set({ clientstyling: i }), y();
629
+ this.$$set({ clientstyling: i }), k();
589
630
  }
590
631
  get clientstylingurl() {
591
632
  return this.$$.ctx[1];
592
633
  }
593
634
  set clientstylingurl(i) {
594
- this.$$set({ clientstylingurl: i }), y();
635
+ this.$$set({ clientstylingurl: i }), k();
595
636
  }
596
637
  get session() {
597
- return this.$$.ctx[15];
638
+ return this.$$.ctx[16];
598
639
  }
599
640
  set session(i) {
600
- this.$$set({ session: i }), y();
641
+ this.$$set({ session: i }), k();
601
642
  }
602
643
  get customerid() {
603
- return this.$$.ctx[16];
644
+ return this.$$.ctx[17];
604
645
  }
605
646
  set customerid(i) {
606
- this.$$set({ customerid: i }), y();
647
+ this.$$set({ customerid: i }), k();
607
648
  }
608
649
  get ismobileview() {
609
650
  return this.$$.ctx[2];
610
651
  }
611
652
  set ismobileview(i) {
612
- this.$$set({ ismobileview: i }), y();
653
+ this.$$set({ ismobileview: i }), k();
613
654
  }
614
655
  get playersession() {
615
- return this.$$.ctx[17];
656
+ return this.$$.ctx[18];
616
657
  }
617
658
  set playersession(i) {
618
- this.$$set({ playersession: i }), y();
659
+ this.$$set({ playersession: i }), k();
660
+ }
661
+ get mbsource() {
662
+ return this.$$.ctx[19];
663
+ }
664
+ set mbsource(i) {
665
+ this.$$set({ mbsource: i }), k();
619
666
  }
620
667
  }
621
- Ie(Ze, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
668
+ Ie(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
622
669
  export {
623
- Ze as default
670
+ ii as default
624
671
  };