@everymatrix/cashier-page 1.72.1 → 1.73.0

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-Cf6KUGlj.cjs +99 -0
  13. package/components/{CashierMethodDetails-BC_DBHGl.js → CashierMethodDetails-DaUlJ18Q.js} +3452 -2899
  14. package/components/{CashierMethodDetails-ziDw_Jnc.js → CashierMethodDetails-oVkmdGDk.js} +3543 -2990
  15. package/components/CashierMethodsList-BKtn4kYZ.js +859 -0
  16. package/components/CashierMethodsList-BmNbGD7c.cjs +1 -0
  17. package/components/{CashierMethodsList-BSyNYqdF.js → CashierMethodsList-bnXzA9E8.js} +397 -402
  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-eEYSJ1Ow.js → CashierPage-BhUYgsyn.js} +628 -475
  24. package/components/CashierPage-K6Sfcy3_.cjs +1 -0
  25. package/components/{CashierPage-TiCjNJq3.js → CashierPage-qGww6KeO.js} +629 -476
  26. package/components/CashierReceiptPage-B5GxOKJ9.cjs +1 -0
  27. package/components/CashierReceiptPage-BePAYhQV.js +1451 -0
  28. package/components/CashierReceiptPage-Hvc3tNuq.js +1453 -0
  29. package/components/CashierSessionExpirationModal-BCKPn-ln.cjs +2 -0
  30. package/components/CashierSessionExpirationModal-C24hf-_h.js +1205 -0
  31. package/components/CashierSessionExpirationModal-DfMX7unr.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-BgDq7hN9.js +614 -0
  36. package/components/CashierTransactionHistory-BtkomNSc.js +614 -0
  37. package/components/CashierTransactionHistory-siYwxijY.cjs +1 -0
  38. package/components/{CashierVerifications-7iTWQJHM.js → CashierVerifications-7QimQj7T.js} +324 -277
  39. package/components/CashierVerifications-CjEiYZ7G.cjs +1 -0
  40. package/components/{CashierVerifications-DMXkMmMm.js → CashierVerifications-tYl7M23B.js} +332 -285
  41. package/components/{CashierVideoModal-CVDvqrcy.js → CashierVideoModal-CM_ySf75.js} +91 -94
  42. package/components/CashierVideoModal-CZSRGjh-.cjs +1 -0
  43. package/components/{CashierVideoModal-DHNu0BQz.js → CashierVideoModal-D4tXmX3D.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-BprYcCjn.cjs +0 -84
  66. package/components/CashierMethodsList-B_95Nh79.js +0 -864
  67. package/components/CashierMethodsList-DYPLv5X8.cjs +0 -1
  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-CLnWIWI0.cjs +0 -1
  72. package/components/CashierReceiptPage-B_Pn8b0K.cjs +0 -1
  73. package/components/CashierReceiptPage-CCt-NEa3.js +0 -1174
  74. package/components/CashierReceiptPage-XKvPw6Kc.js +0 -1172
  75. package/components/CashierSessionExpirationModal-BTK1_Bln.js +0 -1208
  76. package/components/CashierSessionExpirationModal-CH6Jq1b5.js +0 -1208
  77. package/components/CashierSessionExpirationModal-NsD2ZKK4.cjs +0 -2
  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-CAZZIa-n.js +0 -569
  82. package/components/CashierTransactionHistory-CSbp2Y4-.js +0 -569
  83. package/components/CashierTransactionHistory-DeOc9EpW.cjs +0 -1
  84. package/components/CashierVerifications-CWGsoL5R.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 D, J as T, l as C, o as w, q as V, v as X, K as Q, L as xe, C as b, p as A, z as qe, m as k, A as H, x as Fe, y as ze, E as Ie } from "./CashierConfirmModal-untxGhsx.js";
2
- import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-yts9rF-i.js";
3
- import { d as $, u as Ne, x as je } from "./CashierMethodDetails-BC_DBHGl.js";
4
- function ee(t, i) {
1
+ import { S as Te, b as Oe, s as Be, f as k, c as Me, n as Q, e as V, J as T, l as P, o as y, q as D, v as $, F as Le, z as qe, C as g, K as ee, L as xe, p as A, m as b, A as j, x as Fe, y as ze, E as Ie } from "./CashierConfirmModal-DXlKhIue.js";
2
+ import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-Dz_HsnJl.js";
3
+ import { d as ie, u as Ne, x as je } from "./CashierMethodDetails-DaUlJ18Q.js";
4
+ import { s as We, a as Ke, b as Ye } from "./CashierIframeRedirect-Xzpx4Rjk.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",
@@ -67,9 +68,9 @@ const ie = {
67
68
  };
68
69
  if (typeof window < "u") {
69
70
  let t = function(i) {
70
- return function(...o) {
71
+ return function(...r) {
71
72
  try {
72
- return i.apply(this, o);
73
+ return i.apply(this, r);
73
74
  } catch (n) {
74
75
  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
76
  return !1;
@@ -77,173 +78,212 @@ if (typeof window < "u") {
77
78
  }
78
79
  };
79
80
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-CVDvqrcy.js").then(({ default: i }) => {
81
+ customElements.define = t(customElements.define), import("./CashierVideoModal-D4tXmX3D.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, o) {
88
+ function oe(t, i, r) {
88
89
  const n = t.slice();
89
- return n[53] = i[o], n[55] = o, n;
90
+ return n[54] = i[r], n[56] = r, n;
90
91
  }
91
- function oe(t) {
92
- let i, o, 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
- o = A(), h && h.c(), n = A(), c = w("cashier-video-modal"), V(i, "class", "CashierVerificationsWrapper"), b(
108
- c,
105
+ i = y("div");
106
+ for (let c = 0; c < f.length; c += 1)
107
+ f[c].c();
108
+ r = A(), u && u.c(), n = A(), s = y("cashier-video-modal"), D(i, "class", "CashierVerificationsWrapper"), g(
109
+ s,
109
110
  "clientstylingurl",
110
111
  /*clientstylingurl*/
111
112
  t[1]
112
- ), b(
113
- c,
113
+ ), g(
114
+ s,
114
115
  "clientstyling",
115
116
  /*clientstyling*/
116
117
  t[0]
117
- ), b(
118
- c,
118
+ ), g(
119
+ s,
119
120
  "ismobileview",
120
121
  /*ismobileview*/
121
122
  t[2]
122
- ), b(
123
- c,
123
+ ), g(
124
+ s,
124
125
  "videosrc",
125
126
  /*videoSrc*/
126
127
  t[8]
127
128
  );
128
129
  },
129
- m(a, u) {
130
- C(a, i, u);
131
- for (let s = 0; s < f.length; s += 1)
132
- f[s] && f[s].m(i, null);
133
- C(a, o, u), h && h.m(a, u), C(a, n, u), C(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 && b(
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 && g(
155
+ s,
155
156
  "clientstylingurl",
156
157
  /*clientstylingurl*/
157
- a[1]
158
- ), u[0] & /*clientstyling*/
159
- 1 && b(
160
- c,
158
+ c[1]
159
+ ), h[0] & /*clientstyling*/
160
+ 1 && g(
161
+ s,
161
162
  "clientstyling",
162
163
  /*clientstyling*/
163
- a[0]
164
- ), u[0] & /*ismobileview*/
165
- 4 && b(
166
- c,
164
+ c[0]
165
+ ), h[0] & /*ismobileview*/
166
+ 4 && g(
167
+ s,
167
168
  "ismobileview",
168
169
  /*ismobileview*/
169
- a[2]
170
- ), u[0] & /*videoSrc*/
171
- 256 && b(
172
- c,
170
+ c[2]
171
+ ), h[0] & /*videoSrc*/
172
+ 256 && g(
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"), g(
189
+ i,
190
+ "clientstylingurl",
191
+ /*clientstylingurl*/
192
+ t[1]
193
+ ), g(
194
+ i,
195
+ "clientstyling",
196
+ /*clientstyling*/
197
+ t[0]
176
198
  );
177
199
  },
178
- d(a) {
179
- a && (D(i), D(o), D(n), D(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 && g(
206
+ i,
207
+ "clientstylingurl",
208
+ /*clientstylingurl*/
209
+ r[1]
210
+ ), n[0] & /*clientstyling*/
211
+ 1 && g(
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 re(t) {
184
- let i, o, n;
185
- function c(...d) {
223
+ function se(t) {
224
+ let i, r, n;
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
- C(d, i, f), o || (n = H(i, "click", c), o = !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 && D(i), o = !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, o, 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 && re(t)
257
+ t[56] === 0 && se(t)
218
258
  );
219
- function P(...p) {
259
+ function _(...p) {
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
  ...p
226
266
  )
227
267
  );
228
268
  }
229
269
  return {
230
270
  c() {
231
- 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>', n = A(), c = w("p"), f = A(), s && s.c(), h = A(), V(o, "class", "IconVerification"), V(c, "class", "text"), V(i, "class", "CashierVerificationMessage"), T(
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 = A(), s = y("p"), f = A(), a && a.c(), u = A(), 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(p, g) {
239
- C(p, i, g), k(i, o), 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(p, v) {
279
+ P(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 = j(i, "click", _), c = !0);
240
280
  },
241
- p(p, g) {
242
- t = p, g[0] & /*displayMessages*/
243
- 16 && d !== (d = /*message*/
244
- t[53] + "") && (c.innerHTML = d), /*displayMessages*/
281
+ p(p, v) {
282
+ t = p, v[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, g) : (s = re(t), s.c(), s.m(i, h)) : s && (s.d(1), s = null), g[0] & /*allVerificationsVisible*/
286
+ 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*/
247
287
  32 && T(
248
288
  i,
249
289
  "ShowAll",
@@ -252,95 +292,104 @@ function se(t) {
252
292
  );
253
293
  },
254
294
  d(p) {
255
- p && D(i), s && s.d(), a = !1, u();
295
+ p && V(i), a && a.d(), c = !1, h();
256
296
  }
257
297
  };
258
298
  }
259
- function ne(t) {
260
- let i, o, 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"), 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>', n = A(), c = w("div"), f = ze(d), V(o, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), T(
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 = A(), 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
- C(u, i, s), k(i, o), 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*/
321
+ p(h, a) {
322
+ a[0] & /*$_*/
323
+ 1024 && l !== (l = /*$_*/
324
+ h[10]("verification.video.how-to") + "") && Fe(f, l), a[0] & /*desktopView*/
285
325
  64 && T(
286
- c,
326
+ s,
287
327
  "CashierVerificationVideoLinkDesktop",
288
328
  /*desktopView*/
289
- u[6]
329
+ h[6]
290
330
  );
291
331
  },
292
- d(u) {
293
- u && D(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, o = (
299
- /*displayMessages*/
300
- t[4] && oe(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"), o && o.c(), V(i, "class", "CashierVerifications"), T(
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
- C(n, i, c), o && o.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] ? o ? o.p(n, c) : (o = oe(n), o.c(), o.m(i, null)) : o && (o.d(1), o = null), c[0] & /*desktopView*/
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*/
317
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 && D(i), o && o.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, o) {
333
- let n, c;
334
- X(t, He, (e) => o(9, n = e)), X(t, je, (e) => o(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: p = "" } = i, { playersession: g = "" } = i, S, N = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), M, L, q, F = !0, W = !0, z = !1, I = "";
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: p = "" } = i, { playersession: v = "" } = i, { mbsource: M = "" } = i, S, W = /* @__PURE__ */ new Set(), K = /* @__PURE__ */ new Set(), L, q, F, z = !0, Y = !0, I = !1, E = "", R = !1;
336
385
  var O;
337
386
  (function(e) {
338
387
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
339
388
  })(O || (O = {}));
340
- var E;
389
+ var U;
341
390
  (function(e) {
342
391
  e.Requested = "Requested";
343
- })(E || (E = {}));
392
+ })(U || (U = {}));
344
393
  var m;
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,273 +397,271 @@ function Je(t, i, o) {
348
397
  var B;
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
- })(B || (B = {}));
352
- const ae = [
400
+ })(B || (B = {})), Le(() => () => {
401
+ });
402
+ const le = [
353
403
  m.InProgress,
354
404
  m.Referred,
355
405
  m.AwaitingForResponse
356
- ], le = () => {
357
- let e = h;
406
+ ], ce = () => {
407
+ let e = u;
358
408
  if (e)
359
- return fetch(e).then((r) => r.json()).then((r) => {
360
- Object.keys(r).forEach((l) => {
361
- ee(l, r[l]);
409
+ return fetch(e).then((o) => o.json()).then((o) => {
410
+ Object.keys(o).forEach((d) => {
411
+ te(d, o[d]);
362
412
  });
363
- }).catch((r) => {
364
- console.log(r);
413
+ }).catch((o) => {
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, S.appendChild(e);
375
- }, de = () => {
376
- let e = new URL(u), r = document.createElement("style");
377
- fetch(e.href).then((l) => l.text()).then((l) => {
378
- r.innerHTML = l, setTimeout(
379
- () => {
380
- S.appendChild(r);
381
- },
382
- 1
383
- );
384
- });
385
- }, K = () => {
386
- o(18, L = me());
387
- const e = new URL(`${d}/v1/player/${P}/verification/GetKYCCustomerStatus?language=${f}`), r = new Headers();
388
- r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("x-sessionid", `${g}`), r.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, q = 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", `${v}`), o.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
426
+ const d = {
390
427
  method: "POST",
391
- headers: r,
428
+ headers: o,
392
429
  body: JSON.stringify({})
393
430
  };
394
- fetch(e, l).then((v) => v.json()).then((v) => {
395
- const U = ue(v?.Verifications);
396
- M = pe(U), M.VerificationStatuses.forEach((x) => {
397
- x.VerificationUrlType !== "Widget" && N.add(x.Vendor);
398
- }), o(4, q = G());
399
- });
400
- }, ue = (e) => e ? e.sort((r, l) => new Date(l.Created).getTime() - new Date(r.Created).getTime()) : [], he = () => {
401
- c && K();
402
- }, me = () => {
403
- let e = (s || c).split(".")[1];
431
+ r(9, R = !0), fetch(e, d).then((w) => w.json()).then((w) => {
432
+ const N = de(w?.Verifications);
433
+ L = me(N), L.VerificationStatuses.forEach((x) => {
434
+ x.VerificationUrlType !== "Widget" && W.add(x.Vendor);
435
+ }), r(4, F = Z());
436
+ }).finally(() => r(9, R = !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
- let r = JSON.parse(atob(e));
406
- return r.cdn + "/cashier/operator-assets/" + r?.mid;
442
+ let o = JSON.parse(atob(e));
443
+ return o.cdn + "/cashier/operator-assets/" + o?.mid;
407
444
  }
408
445
  return "";
409
- }, pe = (e) => {
446
+ }, me = (e) => {
410
447
  if (!e || !e.length)
411
448
  return {
412
449
  VerificationSummaryStatus: m.Unverified,
413
450
  VerificationStatuses: []
414
451
  };
415
- const r = ve(e);
416
- if (r && r.length) {
417
- const l = ge(r);
452
+ const o = ge(e);
453
+ if (o && o.length) {
454
+ const d = pe(o);
418
455
  return {
419
- VerificationSummaryStatus: l.Status,
420
- VerificationUrl: l.Flags?.DeferredUrlKey,
421
- VerificationStatuses: Y(r, l.Status)
456
+ VerificationSummaryStatus: d.Status,
457
+ VerificationUrl: d.Flags?.DeferredUrlKey,
458
+ VerificationStatuses: J(o, d.Status)
422
459
  };
423
460
  } else
424
461
  return {
425
- VerificationSummaryStatus: e.some((v) => v.Status === m.Failed) ? m.Failed : m.Verified,
426
- VerificationStatuses: Y(e, [m.Failed])
462
+ VerificationSummaryStatus: e.some((w) => w.Status === m.Failed) ? m.Failed : m.Verified,
463
+ VerificationStatuses: J(e, [m.Failed])
427
464
  };
428
- }, ge = (e) => e.reduce(
429
- (r, l) => r ? new Date(r) < new Date(l) ? l : r : l,
465
+ }, pe = (e) => e.reduce(
466
+ (o, d) => o ? new Date(o) < new Date(d) ? d : o : d,
430
467
  0
431
- ), Y = (e, r) => e.filter((l) => r.includes(l.Status)).map((l) => ({
432
- Type: l.Type,
433
- Vendor: l.VendorName,
434
- VerificationDocuments: l.Documents ? [...l.Documents] : [],
435
- VerificationUrlType: l.FlowInfo?.Type,
436
- VerificationUrl: l.FlowInfo?.Url
437
- })), ve = (e) => e.filter((r) => ae.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || we(r) || ye(r) : !1), we = (e) => {
438
- const r = e.Documents && e.VendorName === O.Manual, l = e.Documents && e.Documents.some((v) => v.Status === E.Requested);
439
- return r && l;
440
- }, ye = (e) => e.VendorName === O.ShuftiPro && e.Status === m.Referred, G = () => {
441
- switch (M.VerificationSummaryStatus) {
468
+ ), J = (e, o) => e.filter((d) => o.includes(d.Status)).map((d) => ({
469
+ Type: d.Type,
470
+ Vendor: d.VendorName,
471
+ VerificationDocuments: d.Documents ? [...d.Documents] : [],
472
+ VerificationUrlType: d.FlowInfo?.Type,
473
+ VerificationUrl: d.FlowInfo?.Url
474
+ })), ge = (e) => e.filter((o) => le.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ve(o) || we(o) : !1), ve = (e) => {
475
+ const o = e.Documents && e.VendorName === O.Manual, d = e.Documents && e.Documents.some((w) => w.Status === U.Requested);
476
+ return o && d;
477
+ }, we = (e) => e.VendorName === O.ShuftiPro && e.Status === m.Referred, Z = () => {
478
+ switch (L.VerificationSummaryStatus) {
442
479
  case m.InProgress:
443
480
  const e = [];
444
- return N.forEach((r) => {
445
- e.push(ke(r));
481
+ return W.forEach((o) => {
482
+ e.push(ye(o));
446
483
  }), e;
447
484
  case m.Referred:
448
485
  return [n("verification.idenfy.referred-awaiting")];
449
486
  case m.Failed:
450
487
  return [n("verification.message.failed")];
451
488
  }
452
- }, ke = (e) => {
453
- const r = M.VerificationStatuses.filter((l) => l.Vendor === e);
489
+ }, ye = (e) => {
490
+ const o = L.VerificationStatuses.filter((d) => d.Vendor === e);
454
491
  if (e === O.ShuftiPro)
455
- return Ve(r);
492
+ return ke(o);
456
493
  {
457
- const l = n("verification.idenfy.link-name"), v = {
458
- link: `<a href="${r[0].VerificationUrl}" target="_blank">${l}</a>`
494
+ const d = n("verification.idenfy.link-name"), w = {
495
+ link: `<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`
459
496
  };
460
- return n("verification.idenfy.in-progress", { values: v });
497
+ return n("verification.idenfy.in-progress", { values: w });
461
498
  }
462
- }, Ve = (e) => {
463
- const r = [], l = {}, v = [
499
+ }, ke = (e) => {
500
+ const o = [], d = {}, w = [
464
501
  B.Biometric,
465
502
  B.Documents,
466
503
  B.ProofOfAddress
467
504
  ];
468
- e.forEach((_) => {
469
- v.includes(_.Type) && (r.push(_.Type), l[_.Type] = Pe(_, be(_.Type)));
505
+ e.forEach((C) => {
506
+ w.includes(C.Type) && (o.push(C.Type), d[C.Type] = be(C, Ve(C.Type)));
470
507
  });
471
- let U = r.every((_) => j.has(_)), x = `verification.shuftipro.in-progress.${r.sort().join(".")}`;
472
- return U ? n("verification.shuftipro.validations-started") : n(x, { values: l });
473
- }, Pe = (e, r) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${r}</a>`, be = (e) => n(`verification.shuftipro.link-name.${e}`), R = (e, r) => {
508
+ let N = o.every((C) => K.has(C)), x = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
509
+ return N ? n("verification.shuftipro.validations-started") : n(x, { values: d });
510
+ }, be = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ve = (e) => n(`verification.shuftipro.link-name.${e}`), H = (e, o) => {
474
511
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
475
512
  if (e.target.closest(".verificationLink")) {
476
- const l = e.target.className.split(" ")[1];
477
- j.add(l), o(4, q = G());
513
+ const d = e.target.className.split(" ")[1];
514
+ K.add(d), r(4, F = Z());
478
515
  }
479
516
  return;
480
517
  }
481
- r === 0 && o(5, F = !F);
518
+ o === 0 && r(5, z = !z);
519
+ }, Pe = () => {
520
+ r(6, Y = p === "false");
482
521
  }, De = () => {
483
- o(6, W = p === "false");
484
- }, Ce = () => {
485
- o(8, I = L + "/" + f + "/" + Ge);
522
+ r(8, E = q + "/" + f + "/" + $e);
486
523
  try {
487
- fetch(I, { method: "HEAD" }).then((e) => {
488
- o(7, z = e.ok);
524
+ fetch(E, { method: "HEAD" }).then((e) => {
525
+ r(7, I = e.ok);
489
526
  });
490
527
  } catch {
491
- o(7, z = !1);
528
+ r(7, I = !1);
492
529
  }
493
- }, J = () => {
530
+ }, X = () => {
494
531
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
495
- }, Se = (e, r) => R(r, e), _e = (e, r) => R(r, e), Ae = () => J();
496
- function Te(e) {
532
+ }, _e = (e, o) => H(o, e), Se = (e, o) => H(o, e), Ce = () => X();
533
+ function Ae(e) {
497
534
  qe[e ? "unshift" : "push"](() => {
498
- S = e, o(3, S);
535
+ S = e, r(3, S);
499
536
  });
500
537
  }
501
538
  return t.$$set = (e) => {
502
- "endpoint" in e && o(12, d = e.endpoint), "lang" in e && o(13, f = e.lang), "translationurl" in e && o(14, h = e.translationurl), "clientstyling" in e && o(0, a = e.clientstyling), "clientstylingurl" in e && o(1, u = e.clientstylingurl), "session" in e && o(15, s = e.session), "customerid" in e && o(16, P = e.customerid), "ismobileview" in e && o(2, p = e.ismobileview), "playersession" in e && o(17, g = e.playersession);
539
+ "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);
503
540
  }, t.$$.update = () => {
504
541
  t.$$.dirty[0] & /*lang*/
505
- 8192 && f && ce(), t.$$.dirty[0] & /*endpoint, session, playersession*/
506
- 167936 && d && s && g && K(), t.$$.dirty[0] & /*endpoint, session, playersession*/
507
- 167936 && d && !s && g && he(), t.$$.dirty[0] & /*translationurl*/
508
- 16384 && h && le(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
509
- 9 && a && S && fe(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
510
- 10 && u && S && de(), t.$$.dirty[0] & /*ismobileview*/
511
- 4 && p && De(), t.$$.dirty[0] & /*staticCdnUrl*/
512
- 262144 && L && Ce();
542
+ 16384 && f && fe(), t.$$.dirty[0] & /*endpoint, session, playersession*/
543
+ 335872 && l && a && v && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
544
+ 335872 && l && !a && v && ue(), t.$$.dirty[0] & /*translationurl*/
545
+ 32768 && u && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
546
+ 9 && c && S && We(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
547
+ 10 && h && S && Ke(), t.$$.dirty[0] & /*ismobileview*/
548
+ 4 && p && Pe(), t.$$.dirty[0] & /*staticCdnUrl*/
549
+ 1048576 && q && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
550
+ 524296 && M && S && Ye(S, `${M}.Style`);
513
551
  }, [
514
- a,
515
- u,
552
+ c,
553
+ h,
516
554
  p,
517
555
  S,
518
- q,
519
556
  F,
520
- W,
521
557
  z,
558
+ Y,
522
559
  I,
523
- n,
560
+ E,
524
561
  R,
525
- J,
526
- d,
562
+ n,
563
+ H,
564
+ X,
565
+ l,
527
566
  f,
528
- h,
529
- s,
530
- P,
531
- g,
532
- L,
533
- Se,
567
+ u,
568
+ a,
569
+ _,
570
+ v,
571
+ M,
572
+ q,
534
573
  _e,
535
- Ae,
536
- Te
574
+ Se,
575
+ Ce,
576
+ Ae
537
577
  ];
538
578
  }
539
- class Ze extends Oe {
579
+ class ii extends Te {
540
580
  constructor(i) {
541
- super(), Be(
581
+ super(), Oe(
542
582
  this,
543
583
  i,
544
- Je,
545
- Ye,
546
- Me,
584
+ ei,
585
+ Qe,
586
+ Be,
547
587
  {
548
- endpoint: 12,
549
- lang: 13,
550
- translationurl: 14,
588
+ endpoint: 13,
589
+ lang: 14,
590
+ translationurl: 15,
551
591
  clientstyling: 0,
552
592
  clientstylingurl: 1,
553
- session: 15,
554
- customerid: 16,
593
+ session: 16,
594
+ customerid: 17,
555
595
  ismobileview: 2,
556
- playersession: 17
596
+ playersession: 18,
597
+ mbsource: 19
557
598
  },
558
- Ke,
599
+ Je,
559
600
  [-1, -1]
560
601
  );
561
602
  }
562
603
  get endpoint() {
563
- return this.$$.ctx[12];
604
+ return this.$$.ctx[13];
564
605
  }
565
606
  set endpoint(i) {
566
- this.$$set({ endpoint: i }), y();
607
+ this.$$set({ endpoint: i }), k();
567
608
  }
568
609
  get lang() {
569
- return this.$$.ctx[13];
610
+ return this.$$.ctx[14];
570
611
  }
571
612
  set lang(i) {
572
- this.$$set({ lang: i }), y();
613
+ this.$$set({ lang: i }), k();
573
614
  }
574
615
  get translationurl() {
575
- return this.$$.ctx[14];
616
+ return this.$$.ctx[15];
576
617
  }
577
618
  set translationurl(i) {
578
- this.$$set({ translationurl: i }), y();
619
+ this.$$set({ translationurl: i }), k();
579
620
  }
580
621
  get clientstyling() {
581
622
  return this.$$.ctx[0];
582
623
  }
583
624
  set clientstyling(i) {
584
- this.$$set({ clientstyling: i }), y();
625
+ this.$$set({ clientstyling: i }), k();
585
626
  }
586
627
  get clientstylingurl() {
587
628
  return this.$$.ctx[1];
588
629
  }
589
630
  set clientstylingurl(i) {
590
- this.$$set({ clientstylingurl: i }), y();
631
+ this.$$set({ clientstylingurl: i }), k();
591
632
  }
592
633
  get session() {
593
- return this.$$.ctx[15];
634
+ return this.$$.ctx[16];
594
635
  }
595
636
  set session(i) {
596
- this.$$set({ session: i }), y();
637
+ this.$$set({ session: i }), k();
597
638
  }
598
639
  get customerid() {
599
- return this.$$.ctx[16];
640
+ return this.$$.ctx[17];
600
641
  }
601
642
  set customerid(i) {
602
- this.$$set({ customerid: i }), y();
643
+ this.$$set({ customerid: i }), k();
603
644
  }
604
645
  get ismobileview() {
605
646
  return this.$$.ctx[2];
606
647
  }
607
648
  set ismobileview(i) {
608
- this.$$set({ ismobileview: i }), y();
649
+ this.$$set({ ismobileview: i }), k();
609
650
  }
610
651
  get playersession() {
611
- return this.$$.ctx[17];
652
+ return this.$$.ctx[18];
612
653
  }
613
654
  set playersession(i) {
614
- this.$$set({ playersession: i }), y();
655
+ this.$$set({ playersession: i }), k();
656
+ }
657
+ get mbsource() {
658
+ return this.$$.ctx[19];
659
+ }
660
+ set mbsource(i) {
661
+ this.$$set({ mbsource: i }), k();
615
662
  }
616
663
  }
617
- Ie(Ze, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
664
+ Ie(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
618
665
  export {
619
- Ze as default
666
+ ii as default
620
667
  };