@everymatrix/cashier-page 1.94.4 → 1.94.6

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 (37) hide show
  1. package/components/{CashierCarousel-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
  2. package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
  3. package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
  4. package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
  5. package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
  6. package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
  7. package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
  8. package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
  9. package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
  10. package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
  11. package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
  12. package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
  13. package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
  14. package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
  15. package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
  16. package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
  17. package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
  18. package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
  19. package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
  20. package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
  21. package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
  22. package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
  23. package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
  24. package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
  25. package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
  26. package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
  27. package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
  28. package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
  29. package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
  30. package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
  31. package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
  32. package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
  33. package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
  34. package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
  35. package/es2015/cashier-page.js +1 -1
  36. package/esnext/cashier-page.js +1 -1
  37. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { a as Ee, i as Fe, $ as He, S as Re, b as Ie, s as Ue, f as z, d as je, z as $, g as B, L as O, l as L, n as b, p as c, q as ee, M as ie, N as Ne, r as We, C as Ye, y as Xe, O as W, D as te, E as Ke, w as fe, P as re, m as h, G as Ge, A as ue, Q as Y, o as F, x as de, H as Je, c as Ze, B as Qe, R as $e } from "./CashierPage-_PJq9teT.js";
2
- import { s as ei, a as ii, b as ti } from "./CashierHeader-DldQQGAU.js";
1
+ import { b as Ee, N as Fe, a as Re, S as He, O as Ie, a1 as Ue, E as z, f as je, V as $, x as B, ac as O, Q as T, z as b, g as c, l as ee, t as ie, ah as Ne, Y as We, R as Ye, h as Xe, a2 as W, B as te, w as Ke, a3 as fe, a5 as re, e as h, c as Je, T as ue, a8 as Y, a6 as F, a9 as de, d as Ze, o as Ge, $ as Qe, ai as $e } from "./CashierPage-CyVP1RTq.js";
2
+ import { s as ei, a as ii, b as ti } from "./CashierHeader-DafDx_3j.js";
3
3
  function oe(r, i) {
4
4
  Ee(r, i);
5
5
  }
6
6
  function ri(r) {
7
7
  Fe({
8
8
  fallbackLocale: "en"
9
- }), He.set(r);
9
+ }), Re.set(r);
10
10
  }
11
11
  const se = {
12
12
  en: {
@@ -79,7 +79,7 @@ if (typeof window < "u") {
79
79
  }
80
80
  };
81
81
  };
82
- customElements.define = r(customElements.define), import("./CashierModal-Ck7dIF1h.js").then(({ default: i }) => {
82
+ customElements.define = r(customElements.define), import("./CashierModal-BL_3_v5C.js").then(({ default: i }) => {
83
83
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
84
  });
85
85
  }
@@ -100,7 +100,7 @@ function si(r) {
100
100
  i = b("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
101
101
  },
102
102
  m(o, n) {
103
- L(o, i, n), t && t.m(i, null);
103
+ T(o, i, n), t && t.m(i, null);
104
104
  },
105
105
  p(o, n) {
106
106
  /*displayMessages*/
@@ -128,7 +128,7 @@ function ni(r) {
128
128
  );
129
129
  },
130
130
  m(t, o) {
131
- L(t, i, o);
131
+ T(t, i, o);
132
132
  },
133
133
  p(t, o) {
134
134
  o[0] & /*clientstylingurl*/
@@ -154,20 +154,20 @@ function ae(r) {
154
154
  let i, t, o, n, a, u, v, _ = (
155
155
  /*$_*/
156
156
  r[9]("verificationsRequired") + ""
157
- ), w, P, S, A, k, g, C, H, E = `${/*verificationsListHeight*/
158
- r[8]}px`, M, T, x = te(
157
+ ), w, P, S, x, k, g, C, R, E = `${/*verificationsListHeight*/
158
+ r[8]}px`, M, L, A = te(
159
159
  /*displayMessages*/
160
160
  r[3]
161
161
  ), m = [];
162
- for (let f = 0; f < x.length; f += 1)
163
- m[f] = le(ne(r, x, f));
162
+ for (let f = 0; f < A.length; f += 1)
163
+ m[f] = le(ne(r, A, f));
164
164
  let p = (
165
165
  /*videoExists*/
166
166
  r[6] && ce(r)
167
167
  );
168
168
  return {
169
169
  c() {
170
- i = b("div"), t = Y("svg"), o = Y("path"), n = Y("path"), a = Y("path"), u = F(), v = b("p"), w = de(_), P = F(), S = b("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', A = F(), k = b("div"), g = b("div");
170
+ i = b("div"), t = Y("svg"), o = Y("path"), n = Y("path"), a = Y("path"), u = F(), v = b("p"), w = de(_), P = F(), S = b("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = F(), k = b("div"), g = b("div");
171
171
  for (let f = 0; f < m.length; f += 1)
172
172
  m[f].c();
173
173
  C = F(), p && p.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), O(
@@ -175,7 +175,7 @@ function ae(r) {
175
175
  "ShowVerifications",
176
176
  /*allVerificationsVisible*/
177
177
  r[4]
178
- ), c(i, "class", "VerificationsHeader"), c(g, "class", "VerificationsListInner"), Je(() => (
178
+ ), c(i, "class", "VerificationsHeader"), c(g, "class", "VerificationsListInner"), Ze(() => (
179
179
  /*div1_elementresize_handler*/
180
180
  r[21].call(g)
181
181
  )), c(k, "class", "VerificationsList"), O(
@@ -186,14 +186,14 @@ function ae(r) {
186
186
  ), re(k, "--verifications-list-height", E);
187
187
  },
188
188
  m(f, y) {
189
- L(f, i, y), h(i, t), h(t, o), h(t, n), h(t, a), h(i, u), h(i, v), h(v, w), h(i, P), h(i, S), L(f, A, y), L(f, k, y), h(k, g);
189
+ T(f, i, y), h(i, t), h(t, o), h(t, n), h(t, a), h(i, u), h(i, v), h(v, w), h(i, P), h(i, S), T(f, x, y), T(f, k, y), h(k, g);
190
190
  for (let d = 0; d < m.length; d += 1)
191
191
  m[d] && m[d].m(g, null);
192
- h(g, C), p && p.m(g, null), H = Ge(
192
+ h(g, C), p && p.m(g, null), R = Je(
193
193
  g,
194
194
  /*div1_elementresize_handler*/
195
195
  r[21].bind(g)
196
- ), M || (T = ue(
196
+ ), M || (L = ue(
197
197
  i,
198
198
  "click",
199
199
  /*toggleVerifications*/
@@ -211,18 +211,18 @@ function ae(r) {
211
211
  f[4]
212
212
  ), y[0] & /*displayMessages*/
213
213
  8) {
214
- x = te(
214
+ A = te(
215
215
  /*displayMessages*/
216
216
  f[3]
217
217
  );
218
218
  let d;
219
- for (d = 0; d < x.length; d += 1) {
220
- const U = ne(f, x, d);
219
+ for (d = 0; d < A.length; d += 1) {
220
+ const U = ne(f, A, d);
221
221
  m[d] ? m[d].p(U, y) : (m[d] = le(U), m[d].c(), m[d].m(g, C));
222
222
  }
223
223
  for (; d < m.length; d += 1)
224
224
  m[d].d(1);
225
- m.length = x.length;
225
+ m.length = A.length;
226
226
  }
227
227
  /*videoExists*/
228
228
  f[6] ? p ? p.p(f, y) : (p = ce(f), p.c(), p.m(g, null)) : p && (p.d(1), p = null), y[0] & /*allVerificationsVisible*/
@@ -236,7 +236,7 @@ function ae(r) {
236
236
  f[8]}px`) && re(k, "--verifications-list-height", E);
237
237
  },
238
238
  d(f) {
239
- f && (B(i), B(A), B(k)), Ke(m, f), p && p.d(), H(), M = !1, T();
239
+ f && (B(i), B(x), B(k)), Ke(m, f), p && p.d(), R(), M = !1, L();
240
240
  }
241
241
  };
242
242
  }
@@ -250,7 +250,7 @@ function le(r) {
250
250
  i = b("div"), t = b("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = F(), n = b("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
251
251
  },
252
252
  m(u, v) {
253
- L(u, i, v), h(i, t), h(i, o), h(i, n), n.innerHTML = a;
253
+ T(u, i, v), h(i, t), h(i, o), h(i, n), n.innerHTML = a;
254
254
  },
255
255
  p(u, v) {
256
256
  v[0] & /*displayMessages*/
@@ -277,7 +277,7 @@ function ce(r) {
277
277
  ), c(i, "class", "CashierVerificationVideo Test");
278
278
  },
279
279
  m(w, P) {
280
- L(w, i, P), h(i, t), h(i, o), h(i, n), h(n, u), v || (_ = ue(
280
+ T(w, i, P), h(i, t), h(i, o), h(i, n), h(n, u), v || (_ = ue(
281
281
  i,
282
282
  "click",
283
283
  /*showVideo*/
@@ -325,7 +325,7 @@ function ai(r) {
325
325
  );
326
326
  },
327
327
  m(a, u) {
328
- L(a, i, u), n && n.m(i, null), r[22](i);
328
+ T(a, i, u), n && n.m(i, null), r[22](i);
329
329
  },
330
330
  p(a, u) {
331
331
  o === (o = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = o && o(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
@@ -347,11 +347,11 @@ const li = "verification_explanation_video_widgets.MP4";
347
347
  function ci(r, i, t) {
348
348
  let o, n;
349
349
  ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31, n = e)), ie.extend(Ne);
350
- let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: v = "" } = i, { clientstyling: _ = "" } = i, { clientstylingurl: w = "" } = i, { session: P = "" } = i, { customerid: S = "" } = i, { playersession: A = "" } = i, { userroles: k = "" } = i, { mbsource: g = "" } = i, C, H = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), M, T, x, m = !1, p = !0, f = !1, y = "", d = !1, U, j = [], X = 0, me = window.navigator.userAgent;
351
- var R;
350
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: v = "" } = i, { clientstyling: _ = "" } = i, { clientstylingurl: w = "" } = i, { session: P = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: k = "" } = i, { mbsource: g = "" } = i, C, R = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), M, L, A, m = !1, p = !0, f = !1, y = "", d = !1, U, j = [], X = 0, me = window.navigator.userAgent;
351
+ var H;
352
352
  (function(e) {
353
353
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
354
- })(R || (R = {}));
354
+ })(H || (H = {}));
355
355
  var K;
356
356
  (function(e) {
357
357
  e.Requested = "Requested";
@@ -364,11 +364,11 @@ function ci(r, i, t) {
364
364
  (function(e) {
365
365
  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";
366
366
  })(I || (I = {}));
367
- const J = (e) => {
367
+ const Z = (e) => {
368
368
  e.data && e.data.type;
369
369
  };
370
- We(() => (window.addEventListener("message", J), Me(), () => {
371
- window.removeEventListener("message", J);
370
+ We(() => (window.addEventListener("message", Z), Me(), () => {
371
+ window.removeEventListener("message", Z);
372
372
  }));
373
373
  const he = [
374
374
  V.InProgress,
@@ -390,23 +390,23 @@ function ci(r, i, t) {
390
390
  });
391
391
  const ve = () => {
392
392
  ri(u);
393
- }, Z = () => {
394
- t(20, T = ke());
393
+ }, G = () => {
394
+ t(20, L = ke());
395
395
  const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
396
- s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${A}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(j) && j.length > 0 && j.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
396
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(j) && j.length > 0 && j.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
397
397
  const l = {
398
398
  method: "POST",
399
399
  headers: s,
400
400
  body: JSON.stringify({})
401
401
  };
402
402
  t(7, d = !0), fetch(e, l).then((D) => D.json()).then((D) => {
403
- const G = ge(D?.Verifications);
404
- M = ye(G), M.VerificationStatuses.forEach((N) => {
405
- N.VerificationUrlType !== "Widget" && H.add(N.Vendor);
406
- }), t(3, x = _e());
403
+ const J = ge(D?.Verifications);
404
+ M = ye(J), M.VerificationStatuses.forEach((N) => {
405
+ N.VerificationUrlType !== "Widget" && R.add(N.Vendor);
406
+ }), t(3, A = _e());
407
407
  }).finally(() => t(7, d = !1));
408
408
  }, ge = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], we = () => {
409
- n && Z();
409
+ n && G();
410
410
  }, ke = () => {
411
411
  let e = (P || n).split(".")[1];
412
412
  if (e) {
@@ -443,13 +443,13 @@ function ci(r, i, t) {
443
443
  VerificationUrlType: l.FlowInfo?.Type,
444
444
  VerificationUrl: l.FlowInfo?.Url
445
445
  })), be = (e) => e.filter((s) => he.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Pe(s) || Ce(s) : !1), Pe = (e) => {
446
- const s = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((D) => D.Status === K.Requested);
446
+ const s = e.Documents && e.VendorName === H.Manual, l = e.Documents && e.Documents.some((D) => D.Status === K.Requested);
447
447
  return s && l;
448
- }, Ce = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, _e = () => {
448
+ }, Ce = (e) => e.VendorName === H.ShuftiPro && e.Status === V.Referred, _e = () => {
449
449
  switch (M.VerificationSummaryStatus) {
450
450
  case V.InProgress:
451
451
  const e = [];
452
- return H.forEach((s) => {
452
+ return R.forEach((s) => {
453
453
  e.push(De(s));
454
454
  }), e;
455
455
  case V.Referred:
@@ -459,7 +459,7 @@ function ci(r, i, t) {
459
459
  }
460
460
  }, De = (e) => {
461
461
  const s = M.VerificationStatuses.filter((l) => l.Vendor === e);
462
- if (e === R.ShuftiPro)
462
+ if (e === H.ShuftiPro)
463
463
  return Se(s);
464
464
  {
465
465
  const l = o("verification.idenfy.link-name"), D = {
@@ -474,16 +474,16 @@ function ci(r, i, t) {
474
474
  I.ProofOfAddress
475
475
  ];
476
476
  e.forEach((q) => {
477
- D.includes(q.Type) && (s.push(q.Type), l[q.Type] = ze(q, Ae(q.Type)));
477
+ D.includes(q.Type) && (s.push(q.Type), l[q.Type] = ze(q, xe(q.Type)));
478
478
  });
479
- let G = s.every((q) => E.has(q)), N = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
480
- return G ? o("verification.shuftipro.validations-started") : o(N, { values: l });
481
- }, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
479
+ let J = s.every((q) => E.has(q)), N = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
480
+ return J ? o("verification.shuftipro.validations-started") : o(N, { values: l });
481
+ }, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, xe = (e) => o(`verification.shuftipro.link-name.${e}`), Ae = () => {
482
482
  t(4, m = !m);
483
483
  }, Me = () => {
484
484
  t(5, p = !Ye(me));
485
485
  }, Oe = () => {
486
- y = T + "/" + u + "/" + li;
486
+ y = L + "/" + u + "/" + li;
487
487
  try {
488
488
  fetch(y, { method: "HEAD" }).then((e) => {
489
489
  t(6, f = e.ok);
@@ -493,7 +493,7 @@ function ci(r, i, t) {
493
493
  }
494
494
  }, Be = () => {
495
495
  k.length > 0 && (j = k.split(","));
496
- }, Le = () => {
496
+ }, Te = () => {
497
497
  window.dispatchEvent(new CustomEvent(
498
498
  "modal-update",
499
499
  {
@@ -501,7 +501,7 @@ function ci(r, i, t) {
501
501
  }
502
502
  ));
503
503
  };
504
- function Te() {
504
+ function Le() {
505
505
  X = this.clientHeight, t(8, X);
506
506
  }
507
507
  function qe(e) {
@@ -510,45 +510,45 @@ function ci(r, i, t) {
510
510
  });
511
511
  }
512
512
  return r.$$set = (e) => {
513
- "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, v = e.translationurl), "clientstyling" in e && t(0, _ = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(15, P = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, A = e.playersession), "userroles" in e && t(18, k = e.userroles), "mbsource" in e && t(19, g = e.mbsource);
513
+ "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, v = e.translationurl), "clientstyling" in e && t(0, _ = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(15, P = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, x = e.playersession), "userroles" in e && t(18, k = e.userroles), "mbsource" in e && t(19, g = e.mbsource);
514
514
  }, r.$$.update = () => {
515
515
  r.$$.dirty[0] & /*userroles*/
516
516
  262144 && k && Be(), r.$$.dirty[0] & /*lang*/
517
517
  8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
518
- 167936 && a && P && A && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
519
- 167936 && a && !P && A && we(), r.$$.dirty[0] & /*translationurl*/
518
+ 167936 && a && P && x && G(), r.$$.dirty[0] & /*endpoint, session, playersession*/
519
+ 167936 && a && !P && x && we(), r.$$.dirty[0] & /*translationurl*/
520
520
  16384 && v && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
521
521
  5 && _ && C && ei(C, _), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
522
522
  6 && w && C && ii(C, w), r.$$.dirty[0] & /*staticCdnUrl*/
523
- 1048576 && T && Oe(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
523
+ 1048576 && L && Oe(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
524
524
  524292 && g && C && ti(C, `${g}.Style`, U);
525
525
  }, [
526
526
  _,
527
527
  w,
528
528
  C,
529
- x,
529
+ A,
530
530
  m,
531
531
  p,
532
532
  f,
533
533
  d,
534
534
  X,
535
535
  o,
536
- xe,
537
- Le,
536
+ Ae,
537
+ Te,
538
538
  a,
539
539
  u,
540
540
  v,
541
541
  P,
542
542
  S,
543
- A,
543
+ x,
544
544
  k,
545
545
  g,
546
- T,
547
- Te,
546
+ L,
547
+ Le,
548
548
  qe
549
549
  ];
550
550
  }
551
- class fi extends Re {
551
+ class fi extends He {
552
552
  constructor(i) {
553
553
  super(), Ie(
554
554
  this,
@@ -633,7 +633,7 @@ class fi extends Re {
633
633
  this.$$set({ mbsource: i }), z();
634
634
  }
635
635
  }
636
- Ze(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
636
+ Ge(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
637
637
  export {
638
638
  fi as default
639
639
  };
@@ -1,12 +1,12 @@
1
- import { a as Ee, i as Fe, $ as He, S as Re, b as Ie, s as Ue, f as z, c as je, y as $, e as L, L as B, k as T, m as P, o as c, p as ee, M as ie, N as Ne, q as We, C as Ye, x as Xe, O as Y, D as te, E as Ke, v as fe, P as re, l as p, G as Ge, z as ue, Q as X, n as H, w as de, H as Je, A as Ze, B as Qe, R as $e } from "./CashierPage-Bi4eFJ59.js";
2
- import { s as ei, a as ii, b as ti } from "./CashierHeader-Di0dH8Ch.js";
1
+ import { b as Ee, N as Fe, a as Re, S as He, O as Ie, a1 as Ue, E as z, f as je, V as $, x as L, ac as B, Q as T, z as P, g as c, l as ee, t as ie, ah as Ne, Y as We, R as Ye, h as Xe, a2 as Y, B as te, w as Ke, a3 as fe, a5 as re, e as p, c as Je, T as ue, a8 as X, a6 as R, a9 as de, d as Ze, o as Ge, $ as Qe, ai as $e } from "./CashierPage-Yklnwu-d.js";
2
+ import { s as ei, a as ii, b as ti } from "./CashierHeader-YhgwXeCk.js";
3
3
  function oe(r, i) {
4
4
  Ee(r, i);
5
5
  }
6
6
  function ri(r) {
7
7
  Fe({
8
8
  fallbackLocale: "en"
9
- }), He.set(r);
9
+ }), Re.set(r);
10
10
  }
11
11
  const se = {
12
12
  en: {
@@ -79,7 +79,7 @@ if (typeof window != "undefined") {
79
79
  }
80
80
  };
81
81
  };
82
- customElements.define = r(customElements.define), import("./CashierModal-BTxh5964.js").then(({ default: i }) => {
82
+ customElements.define = r(customElements.define), import("./CashierModal-BxhVa9nJ.js").then(({ default: i }) => {
83
83
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
84
  });
85
85
  }
@@ -154,28 +154,28 @@ function ae(r) {
154
154
  let i, t, o, n, a, u, g, D = (
155
155
  /*$_*/
156
156
  r[9]("verificationsRequired") + ""
157
- ), k, C, S, A, y, w, _, R, F = `${/*verificationsListHeight*/
158
- r[8]}px`, M, q, x = te(
157
+ ), k, C, S, x, y, w, _, H, F = `${/*verificationsListHeight*/
158
+ r[8]}px`, M, q, A = te(
159
159
  /*displayMessages*/
160
160
  r[3]
161
161
  ), m = [];
162
- for (let f = 0; f < x.length; f += 1)
163
- m[f] = le(ne(r, x, f));
162
+ for (let f = 0; f < A.length; f += 1)
163
+ m[f] = le(ne(r, A, f));
164
164
  let v = (
165
165
  /*videoExists*/
166
166
  r[6] && ce(r)
167
167
  );
168
168
  return {
169
169
  c() {
170
- i = P("div"), t = X("svg"), o = X("path"), n = X("path"), a = X("path"), u = H(), g = P("p"), k = de(D), C = H(), S = P("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', A = H(), y = P("div"), w = P("div");
170
+ i = P("div"), t = X("svg"), o = X("path"), n = X("path"), a = X("path"), u = R(), g = P("p"), k = de(D), C = R(), S = P("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = R(), y = P("div"), w = P("div");
171
171
  for (let f = 0; f < m.length; f += 1)
172
172
  m[f].c();
173
- _ = H(), v && v.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), B(
173
+ _ = R(), v && v.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), B(
174
174
  S,
175
175
  "ShowVerifications",
176
176
  /*allVerificationsVisible*/
177
177
  r[4]
178
- ), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"), Je(() => (
178
+ ), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"), Ze(() => (
179
179
  /*div1_elementresize_handler*/
180
180
  r[21].call(w)
181
181
  )), c(y, "class", "VerificationsList"), B(
@@ -186,10 +186,10 @@ function ae(r) {
186
186
  ), re(y, "--verifications-list-height", F);
187
187
  },
188
188
  m(f, V) {
189
- T(f, i, V), p(i, t), p(t, o), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f, A, V), T(f, y, V), p(y, w);
189
+ T(f, i, V), p(i, t), p(t, o), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f, x, V), T(f, y, V), p(y, w);
190
190
  for (let d = 0; d < m.length; d += 1)
191
191
  m[d] && m[d].m(w, null);
192
- p(w, _), v && v.m(w, null), R = Ge(
192
+ p(w, _), v && v.m(w, null), H = Je(
193
193
  w,
194
194
  /*div1_elementresize_handler*/
195
195
  r[21].bind(w)
@@ -211,18 +211,18 @@ function ae(r) {
211
211
  f[4]
212
212
  ), V[0] & /*displayMessages*/
213
213
  8) {
214
- x = te(
214
+ A = te(
215
215
  /*displayMessages*/
216
216
  f[3]
217
217
  );
218
218
  let d;
219
- for (d = 0; d < x.length; d += 1) {
220
- const j = ne(f, x, d);
219
+ for (d = 0; d < A.length; d += 1) {
220
+ const j = ne(f, A, d);
221
221
  m[d] ? m[d].p(j, V) : (m[d] = le(j), m[d].c(), m[d].m(w, _));
222
222
  }
223
223
  for (; d < m.length; d += 1)
224
224
  m[d].d(1);
225
- m.length = x.length;
225
+ m.length = A.length;
226
226
  }
227
227
  /*videoExists*/
228
228
  f[6] ? v ? v.p(f, V) : (v = ce(f), v.c(), v.m(w, null)) : v && (v.d(1), v = null), V[0] & /*allVerificationsVisible*/
@@ -236,7 +236,7 @@ function ae(r) {
236
236
  f[8]}px`) && re(y, "--verifications-list-height", F);
237
237
  },
238
238
  d(f) {
239
- f && (L(i), L(A), L(y)), Ke(m, f), v && v.d(), R(), M = !1, q();
239
+ f && (L(i), L(x), L(y)), Ke(m, f), v && v.d(), H(), M = !1, q();
240
240
  }
241
241
  };
242
242
  }
@@ -247,7 +247,7 @@ function le(r) {
247
247
  );
248
248
  return {
249
249
  c() {
250
- i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = H(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
250
+ i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = R(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
251
251
  },
252
252
  m(u, g) {
253
253
  T(u, i, g), p(i, t), p(i, o), p(i, n), n.innerHTML = a;
@@ -269,7 +269,7 @@ function ce(r) {
269
269
  ), u, g, D;
270
270
  return {
271
271
  c() {
272
- i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = H(), n = P("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
272
+ i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = R(), n = P("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
273
273
  n,
274
274
  "CashierVerificationVideoLinkDesktop",
275
275
  /*desktopView*/
@@ -347,15 +347,15 @@ const li = "verification_explanation_video_widgets.MP4";
347
347
  function ci(r, i, t) {
348
348
  let o, n;
349
349
  ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31, n = e)), ie.extend(Ne);
350
- let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession: A = "" } = i, { userroles: y = "" } = i, { mbsource: w = "" } = i, _, R = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), M, q, x, m = !1, v = !0, f = !1, V = "", d = !1, j, N = [], K = 0, me = window.navigator.userAgent;
350
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: y = "" } = i, { mbsource: w = "" } = i, _, H = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), M, q, A, m = !1, v = !0, f = !1, V = "", d = !1, j, N = [], K = 0, me = window.navigator.userAgent;
351
351
  var I;
352
352
  (function(e) {
353
353
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
354
354
  })(I || (I = {}));
355
- var G;
355
+ var J;
356
356
  (function(e) {
357
357
  e.Requested = "Requested";
358
- })(G || (G = {}));
358
+ })(J || (J = {}));
359
359
  var b;
360
360
  (function(e) {
361
361
  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";
@@ -364,11 +364,11 @@ function ci(r, i, t) {
364
364
  (function(e) {
365
365
  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";
366
366
  })(U || (U = {}));
367
- const J = (e) => {
367
+ const Z = (e) => {
368
368
  e.data && e.data.type;
369
369
  };
370
- We(() => (window.addEventListener("message", J), Me(), () => {
371
- window.removeEventListener("message", J);
370
+ We(() => (window.addEventListener("message", Z), Me(), () => {
371
+ window.removeEventListener("message", Z);
372
372
  }));
373
373
  const he = [
374
374
  b.InProgress,
@@ -390,10 +390,10 @@ function ci(r, i, t) {
390
390
  });
391
391
  const ve = () => {
392
392
  ri(u);
393
- }, Z = () => {
393
+ }, G = () => {
394
394
  t(20, q = ke());
395
395
  const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
396
- s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${A}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
396
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
397
397
  const l = {
398
398
  method: "POST",
399
399
  headers: s,
@@ -402,11 +402,11 @@ function ci(r, i, t) {
402
402
  t(7, d = !0), fetch(e, l).then((h) => h.json()).then((h) => {
403
403
  const O = ge(h == null ? void 0 : h.Verifications);
404
404
  M = ye(O), M.VerificationStatuses.forEach((W) => {
405
- W.VerificationUrlType !== "Widget" && R.add(W.Vendor);
406
- }), t(3, x = _e());
405
+ W.VerificationUrlType !== "Widget" && H.add(W.Vendor);
406
+ }), t(3, A = _e());
407
407
  }).finally(() => t(7, d = !1));
408
408
  }, ge = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], we = () => {
409
- n && Z();
409
+ n && G();
410
410
  }, ke = () => {
411
411
  let e = (C || n).split(".")[1];
412
412
  if (e) {
@@ -447,13 +447,13 @@ function ci(r, i, t) {
447
447
  VerificationUrl: (O = l.FlowInfo) == null ? void 0 : O.Url
448
448
  };
449
449
  }), be = (e) => e.filter((s) => he.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Pe(s) || Ce(s) : !1), Pe = (e) => {
450
- const s = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((h) => h.Status === G.Requested);
450
+ const s = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((h) => h.Status === J.Requested);
451
451
  return s && l;
452
452
  }, Ce = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, _e = () => {
453
453
  switch (M.VerificationSummaryStatus) {
454
454
  case b.InProgress:
455
455
  const e = [];
456
- return R.forEach((s) => {
456
+ return H.forEach((s) => {
457
457
  e.push(De(s));
458
458
  }), e;
459
459
  case b.Referred:
@@ -478,11 +478,11 @@ function ci(r, i, t) {
478
478
  U.ProofOfAddress
479
479
  ];
480
480
  e.forEach((E) => {
481
- h.includes(E.Type) && (s.push(E.Type), l[E.Type] = ze(E, Ae(E.Type)));
481
+ h.includes(E.Type) && (s.push(E.Type), l[E.Type] = ze(E, xe(E.Type)));
482
482
  });
483
483
  let O = s.every((E) => F.has(E)), W = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
484
484
  return O ? o("verification.shuftipro.validations-started") : o(W, { values: l });
485
- }, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
485
+ }, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, xe = (e) => o(`verification.shuftipro.link-name.${e}`), Ae = () => {
486
486
  t(4, m = !m);
487
487
  }, Me = () => {
488
488
  t(5, v = !Ye(me));
@@ -514,13 +514,13 @@ function ci(r, i, t) {
514
514
  });
515
515
  }
516
516
  return r.$$set = (e) => {
517
- "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, C = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, A = e.playersession), "userroles" in e && t(18, y = e.userroles), "mbsource" in e && t(19, w = e.mbsource);
517
+ "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, C = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, x = e.playersession), "userroles" in e && t(18, y = e.userroles), "mbsource" in e && t(19, w = e.mbsource);
518
518
  }, r.$$.update = () => {
519
519
  r.$$.dirty[0] & /*userroles*/
520
520
  262144 && y && Be(), r.$$.dirty[0] & /*lang*/
521
521
  8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
522
- 167936 && a && C && A && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
523
- 167936 && a && !C && A && we(), r.$$.dirty[0] & /*translationurl*/
522
+ 167936 && a && C && x && G(), r.$$.dirty[0] & /*endpoint, session, playersession*/
523
+ 167936 && a && !C && x && we(), r.$$.dirty[0] & /*translationurl*/
524
524
  16384 && g && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
525
525
  5 && D && _ && ei(_, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
526
526
  6 && k && _ && ii(_, k), r.$$.dirty[0] & /*staticCdnUrl*/
@@ -530,21 +530,21 @@ function ci(r, i, t) {
530
530
  D,
531
531
  k,
532
532
  _,
533
- x,
533
+ A,
534
534
  m,
535
535
  v,
536
536
  f,
537
537
  d,
538
538
  K,
539
539
  o,
540
- xe,
540
+ Ae,
541
541
  Le,
542
542
  a,
543
543
  u,
544
544
  g,
545
545
  C,
546
546
  S,
547
- A,
547
+ x,
548
548
  y,
549
549
  w,
550
550
  q,
@@ -552,7 +552,7 @@ function ci(r, i, t) {
552
552
  qe
553
553
  ];
554
554
  }
555
- class fi extends Re {
555
+ class fi extends He {
556
556
  constructor(i) {
557
557
  super(), Ie(
558
558
  this,
@@ -637,7 +637,7 @@ class fi extends Re {
637
637
  this.$$set({ mbsource: i }), z();
638
638
  }
639
639
  }
640
- Ze(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
640
+ Ge(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
641
641
  export {
642
642
  fi as default
643
643
  };