@everymatrix/cashier-page 1.76.1 → 1.76.4

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/CashierError-DsMwtzxf.cjs +8 -0
  2. package/components/CashierError-Em-_czPe.js +4724 -0
  3. package/components/CashierError-yvKyTaTC.js +4687 -0
  4. package/components/{CashierHeader-CCegZMC-.cjs → CashierHeader-CuDEl1w1.cjs} +1 -1
  5. package/components/{CashierHeader-DNaxJTUL.js → CashierHeader-Dxi8Jtj4.js} +35 -35
  6. package/components/{CashierHeader-BbZGAnuG.js → CashierHeader-RLJk1gKN.js} +37 -37
  7. package/components/{CashierIframeRedirect-C4vwtj8l.js → CashierIframeRedirect-Cco7Gb7R.js} +28 -28
  8. package/components/{CashierIframeRedirect-Blfr3pyV.cjs → CashierIframeRedirect-CnJ84d_e.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CTxdepS4.js → CashierIframeRedirect-N_09LMIf.js} +34 -34
  10. package/components/CashierMethodDetails-BdOa371S.cjs +99 -0
  11. package/components/{CashierMethodDetails-DVo0cXMI.js → CashierMethodDetails-Dkt9M8SJ.js} +2829 -2652
  12. package/components/{CashierMethodDetails-Baj2EjN-.js → CashierMethodDetails-I1ULEoTT.js} +2898 -2721
  13. package/components/{CashierMethodsList-DKbeO7Zb.js → CashierMethodsList-B-8ChoCF.js} +129 -129
  14. package/components/{CashierMethodsList-Dy8fB_k6.js → CashierMethodsList-Ws4f-d0D.js} +91 -91
  15. package/components/CashierMethodsList-v4GpQIuZ.cjs +1 -0
  16. package/components/CashierModal-BXxFqB-I.cjs +1 -0
  17. package/components/{CashierModal-CvFJoOmo.js → CashierModal-CASS0-KJ.js} +37 -37
  18. package/components/{CashierModal-IDFc2AKX.js → CashierModal-ClAusfBV.js} +37 -37
  19. package/components/{CashierNotifications-CN6iz8Le.js → CashierNotifications-B2IF5AKx.js} +32 -32
  20. package/components/{CashierNotifications-C8NH2amn.cjs → CashierNotifications-BCh3NAch.cjs} +1 -1
  21. package/components/{CashierNotifications-Ca26lmek.js → CashierNotifications-BpwG5KTj.js} +32 -32
  22. package/components/{CashierPage-CyTi5QHc.js → CashierPage-BBV2mhMw.js} +177 -177
  23. package/components/{CashierPage-CfO-JUd0.cjs → CashierPage-CGrBSaaJ.cjs} +1 -1
  24. package/components/{CashierPage-D5aNp8Ge.js → CashierPage-DrzPS3IQ.js} +159 -159
  25. package/components/CashierReceiptPage-B5AHJwdZ.js +1640 -0
  26. package/components/CashierReceiptPage-BagkO30m.js +1638 -0
  27. package/components/CashierReceiptPage-Bp8508qg.cjs +1 -0
  28. package/components/{CashierSessionExpirationModal-BLu4TNHt.js → CashierSessionExpirationModal-BJo_prcQ.js} +321 -331
  29. package/components/{CashierSessionExpirationModal-DBxlWcf6.js → CashierSessionExpirationModal-D1JlHD-p.js} +323 -333
  30. package/components/CashierSessionExpirationModal-NGNJ3oLH.cjs +2 -0
  31. package/components/{CashierSpinner-DDvJyQQW.cjs → CashierSpinner-B2gn5ROq.cjs} +1 -1
  32. package/components/{CashierSpinner-DFcKn5vy.js → CashierSpinner-BUwNkgvV.js} +19 -19
  33. package/components/{CashierSpinner-wbkrOsgH.js → CashierSpinner-C22FDQ97.js} +19 -19
  34. package/components/{CashierTransactionHistory-C-r7zjU6.js → CashierTransactionHistory-CVIrofQA.js} +76 -76
  35. package/components/{CashierTransactionHistory-BtkRWtAp.cjs → CashierTransactionHistory-ox8r32fd.cjs} +1 -1
  36. package/components/{CashierTransactionHistory-CCfgwGru.js → CashierTransactionHistory-qeDvpFLP.js} +119 -119
  37. package/components/{CashierVerifications-C7CPpJhz.js → CashierVerifications-BI0KHSGz.js} +25 -25
  38. package/components/{CashierVerifications-Cwymmpvc.js → CashierVerifications-BcD3FsVC.js} +34 -34
  39. package/components/CashierVerifications-CoUPH9y3.cjs +1 -0
  40. package/components/{TxnStatusIcon-CiKk-nYc.js → TxnStatusIcon-B04w0fo2.js} +27 -27
  41. package/components/{TxnStatusIcon-CRrx95-L.cjs → TxnStatusIcon-DFkrUixr.cjs} +1 -1
  42. package/components/{TxnStatusIcon-DXXsTrZP.js → TxnStatusIcon-nKCGcJ5M.js} +23 -23
  43. package/components/{TxnTypeIcons-DmiRydbQ.cjs → TxnTypeIcons-B37wJ04B.cjs} +1 -1
  44. package/components/{TxnTypeIcons-Cdt9fsws.js → TxnTypeIcons-CKT9qv8s.js} +14 -14
  45. package/components/{TxnTypeIcons-FNu8rfdT.js → TxnTypeIcons-CpvqiIon.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  51. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  52. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  53. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  54. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  55. package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
  56. package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
  57. package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
  58. package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  62. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  63. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  64. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  65. package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
  66. package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
  67. package/stencil/{ui-skeleton-C4Ir1ffm.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-jcrjm-Kl.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
  71. package/components/CashierError-BQyQ2QE7.cjs +0 -21
  72. package/components/CashierError-DrApuR85.js +0 -4715
  73. package/components/CashierError-bO6xrjYl.js +0 -4752
  74. package/components/CashierMethodDetails-DdrzL7xr.cjs +0 -86
  75. package/components/CashierMethodsList-DPzaIMdg.cjs +0 -1
  76. package/components/CashierModal-Bn0175Ok.cjs +0 -1
  77. package/components/CashierReceiptPage-0O5m5b_q.js +0 -1605
  78. package/components/CashierReceiptPage-CihaXe7B.js +0 -1607
  79. package/components/CashierReceiptPage-Dpca_ujT.cjs +0 -1
  80. package/components/CashierSessionExpirationModal-Bzf6Fc1m.cjs +0 -2
  81. package/components/CashierVerifications-BnkVpYfm.cjs +0 -1
  82. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  83. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  84. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  85. package/stencil/index-b2193545-ByMYc64n.cjs +0 -1
  86. package/stencil/index-b2193545-DWKmtYUG.js +0 -503
  87. package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
@@ -1,5 +1,5 @@
1
- import { a as Be, i as Me, $ as Le, S as qe, b as Fe, f as A, c as xe, s as ze, d as Ie, g as b, j as P, P as F, k as T, D as Q, p as O, q as $, r as Re, v as Ue, w as Ee, A as je, B as He, R as ee, h as q, G as ie, F as C, l as D, U as Ne, C as Y, y as We, z as Ye, E as Ge } from "./CashierError-bO6xrjYl.js";
2
- import { d as te, u as Ke, i as Ze, x as Je } from "./CashierMethodDetails-Baj2EjN-.js";
1
+ import { a as Be, i as Me, $ as Le, S as qe, b as Fe, s as ze, f as A, c as xe, y as Q, e as O, N as F, k as T, m as b, o as P, p as $, q as Ie, x as Re, F as C, O as ee, P as Ue, G as ie, l as D, n as q, z as Y, v as Ee, w as je, A as He, B as Ne, C as We, D as Ye, E as Ge } from "./CashierError-Em-_czPe.js";
2
+ import { d as te, u as Ke, i as Ze, x as Je } from "./CashierMethodDetails-I1ULEoTT.js";
3
3
  function re(t, i) {
4
4
  Be(t, i);
5
5
  }
@@ -65,7 +65,7 @@ const oe = {
65
65
  }
66
66
  };
67
67
  function Qe(t) {
68
- Ie(t, "svelte-il1hy", "*,*::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)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
68
+ xe(t, "svelte-1nikw0c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--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)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
69
69
  }
70
70
  function se(t, i, r) {
71
71
  const a = t.slice();
@@ -157,7 +157,7 @@ function $e(t) {
157
157
  );
158
158
  },
159
159
  d(c) {
160
- c && (O(i), O(r), O(a), O(s)), Ne(u, c), V && V.d(c);
160
+ c && (O(i), O(r), O(a), O(s)), Ue(u, c), V && V.d(c);
161
161
  }
162
162
  };
163
163
  }
@@ -283,7 +283,7 @@ function le(t) {
283
283
  ), d, w, y;
284
284
  return {
285
285
  c() {
286
- i = b("div"), r = b("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>', a = q(), s = b("div"), d = We(n), P(r, "class", "IconVideo"), P(s, "class", "CashierVerificationVideoLink"), F(
286
+ i = b("div"), r = b("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>', a = q(), s = b("div"), d = je(n), P(r, "class", "IconVideo"), P(s, "class", "CashierVerificationVideoLink"), F(
287
287
  s,
288
288
  "CashierVerificationVideoLinkDesktop",
289
289
  /*desktopView*/
@@ -301,7 +301,7 @@ function le(t) {
301
301
  p(m, f) {
302
302
  f[0] & /*$_*/
303
303
  2048 && n !== (n = /*$_*/
304
- m[11]("verification.video.how-to") + "") && Ye(d, n), f[0] & /*desktopView*/
304
+ m[11]("verification.video.how-to") + "") && Ee(d, n), f[0] & /*desktopView*/
305
305
  64 && F(
306
306
  s,
307
307
  "CashierVerificationVideoLinkDesktop",
@@ -362,10 +362,10 @@ function ri(t, i, r) {
362
362
  let a, s;
363
363
  $(t, Ge, (e) => r(11, a = e)), $(t, Je, (e) => r(29, s = e)), te.extend(Ke);
364
364
  let { endpoint: n } = i, { lang: d = "en" } = i, { translationurl: w = "" } = i, { clientstyling: y = "" } = i, { clientstylingurl: m = "" } = i, { session: f = "" } = i, { customerid: S = "" } = i, { playersession: v = "" } = i, { mbsource: k = "" } = i, u, V = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), p, h, L, R = !0, G = !0, U = !1, E = "", j = !1, H = "closed", ce = window.navigator.userAgent;
365
- var x;
365
+ var z;
366
366
  (function(e) {
367
367
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
368
- })(x || (x = {}));
368
+ })(z || (z = {}));
369
369
  var N;
370
370
  (function(e) {
371
371
  e.Requested = "Requested";
@@ -374,14 +374,14 @@ function ri(t, i, r) {
374
374
  (function(e) {
375
375
  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";
376
376
  })(_ || (_ = {}));
377
- var z;
377
+ var x;
378
378
  (function(e) {
379
379
  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";
380
- })(z || (z = {}));
380
+ })(x || (x = {}));
381
381
  const K = (e) => {
382
382
  e.data && e.data.type === "CloseModal" && r(10, H = "closed");
383
383
  };
384
- Re(() => (window.addEventListener("message", K), Ce(), () => {
384
+ Ie(() => (window.addEventListener("message", K), Ce(), () => {
385
385
  window.removeEventListener("message", K);
386
386
  }));
387
387
  const fe = [
@@ -461,9 +461,9 @@ function ri(t, i, r) {
461
461
  VerificationUrl: (B = l.FlowInfo) == null ? void 0 : B.Url
462
462
  };
463
463
  }), we = (e) => e.filter((o) => fe.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ye(o) || ke(o) : !1), ye = (e) => {
464
- const o = e.Documents && e.VendorName === x.Manual, l = e.Documents && e.Documents.some((g) => g.Status === N.Requested);
464
+ const o = e.Documents && e.VendorName === z.Manual, l = e.Documents && e.Documents.some((g) => g.Status === N.Requested);
465
465
  return o && l;
466
- }, ke = (e) => e.VendorName === x.ShuftiPro && e.Status === _.Referred, X = () => {
466
+ }, ke = (e) => e.VendorName === z.ShuftiPro && e.Status === _.Referred, X = () => {
467
467
  switch (p.VerificationSummaryStatus) {
468
468
  case _.InProgress:
469
469
  const e = [];
@@ -477,7 +477,7 @@ function ri(t, i, r) {
477
477
  }
478
478
  }, Ve = (e) => {
479
479
  const o = p.VerificationStatuses.filter((l) => l.Vendor === e);
480
- if (e === x.ShuftiPro)
480
+ if (e === z.ShuftiPro)
481
481
  return Pe(o);
482
482
  {
483
483
  const l = a("verification.idenfy.link-name"), g = {
@@ -487,9 +487,9 @@ function ri(t, i, r) {
487
487
  }
488
488
  }, Pe = (e) => {
489
489
  const o = [], l = {}, g = [
490
- z.Biometric,
491
- z.Documents,
492
- z.ProofOfAddress
490
+ x.Biometric,
491
+ x.Documents,
492
+ x.ProofOfAddress
493
493
  ];
494
494
  e.forEach((M) => {
495
495
  g.includes(M.Type) && (o.push(M.Type), l[M.Type] = be(M, _e(M.Type)));
@@ -518,9 +518,9 @@ function ri(t, i, r) {
518
518
  }
519
519
  }, Se = () => {
520
520
  r(10, H = "video");
521
- }, Ae = (e, o) => W(o, e), Te = (e, o) => W(o, e);
522
- function Oe(e) {
523
- je[e ? "unshift" : "push"](() => {
521
+ }, Ae = (e, o) => W(o, e), Oe = (e, o) => W(o, e);
522
+ function Te(e) {
523
+ Re[e ? "unshift" : "push"](() => {
524
524
  u = e, r(3, u);
525
525
  });
526
526
  }
@@ -533,9 +533,9 @@ function ri(t, i, r) {
533
533
  671744 && n && !f && v && me(), t.$$.dirty[0] & /*translationurl*/
534
534
  65536 && w && de(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
535
535
  9 && y && u && He(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
536
- 10 && m && u && Ue(), t.$$.dirty[0] & /*staticCdnUrl*/
536
+ 10 && m && u && Ne(), t.$$.dirty[0] & /*staticCdnUrl*/
537
537
  1048576 && h && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
538
- 12 && k && u && Ee(u, `${k}.Style`);
538
+ 12 && k && u && We(u, `${k}.Style`);
539
539
  }, [
540
540
  y,
541
541
  m,
@@ -559,8 +559,8 @@ function ri(t, i, r) {
559
559
  v,
560
560
  h,
561
561
  Ae,
562
- Te,
563
- Oe
562
+ Oe,
563
+ Te
564
564
  ];
565
565
  }
566
566
  class oi extends qe {
@@ -641,7 +641,7 @@ class oi extends qe {
641
641
  this.$$set({ mbsource: i }), A();
642
642
  }
643
643
  }
644
- xe(oi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
644
+ Ye(oi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
645
645
  export {
646
646
  oi as default
647
647
  };
@@ -1,5 +1,5 @@
1
- import { a as Be, i as Me, $ as Le, S as qe, b as Fe, f as A, c as xe, s as ze, d as Ie, g as P, j as V, P as q, k as T, D as Q, p as O, q as $, r as Re, v as Ue, w as Ee, A as je, B as He, R as ee, h as L, G as ie, F as _, l as C, U as Ne, C as Y, y as We, z as Ye, E as Ge } from "./CashierError-DrApuR85.js";
2
- import { d as te, u as Ke, i as Ze, x as Je } from "./CashierMethodDetails-DVo0cXMI.js";
1
+ import { a as Be, i as Me, $ as Le, S as qe, b as Fe, s as ze, f as A, d as xe, z as Q, g as T, N as q, l as O, n as P, p as V, q as $, r as Ie, y as Re, F as _, O as ee, P as Ue, G as ie, m as C, o as L, A as Y, w as Ee, x as je, D as He, E as Ne, c as We, B as Ye, C as Ge } from "./CashierError-yvKyTaTC.js";
2
+ import { d as te, u as Ke, i as Ze, x as Je } from "./CashierMethodDetails-Dkt9M8SJ.js";
3
3
  function re(t, i) {
4
4
  Be(t, i);
5
5
  }
@@ -65,7 +65,7 @@ const oe = {
65
65
  }
66
66
  };
67
67
  function Qe(t) {
68
- Ie(t, "svelte-il1hy", "*,*::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)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
68
+ xe(t, "svelte-1nikw0c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--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)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
69
69
  }
70
70
  function se(t, i, r) {
71
71
  const a = t.slice();
@@ -108,10 +108,10 @@ function $e(t) {
108
108
  );
109
109
  },
110
110
  m(c, p) {
111
- T(c, i, p);
111
+ O(c, i, p);
112
112
  for (let h = 0; h < u.length; h += 1)
113
113
  u[h] && u[h].m(i, null);
114
- T(c, r, p), k && k.m(c, p), T(c, a, p), T(c, s, p), C(s, n), C(n, d), C(d, v), C(v, w), C(w, m);
114
+ O(c, r, p), k && k.m(c, p), O(c, a, p), O(c, s, p), C(s, n), C(n, d), C(d, v), C(v, w), C(w, m);
115
115
  },
116
116
  p(c, p) {
117
117
  if (p[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -157,7 +157,7 @@ function $e(t) {
157
157
  );
158
158
  },
159
159
  d(c) {
160
- c && (O(i), O(r), O(a), O(s)), Ne(u, c), k && k.d(c);
160
+ c && (T(i), T(r), T(a), T(s)), Ue(u, c), k && k.d(c);
161
161
  }
162
162
  };
163
163
  }
@@ -178,7 +178,7 @@ function ei(t) {
178
178
  );
179
179
  },
180
180
  m(r, a) {
181
- T(r, i, a);
181
+ O(r, i, a);
182
182
  },
183
183
  p(r, a) {
184
184
  a[0] & /*clientstylingurl*/
@@ -196,7 +196,7 @@ function ei(t) {
196
196
  );
197
197
  },
198
198
  d(r) {
199
- r && O(i);
199
+ r && T(i);
200
200
  }
201
201
  };
202
202
  }
@@ -217,13 +217,13 @@ function ne(t) {
217
217
  i = P("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");
218
218
  },
219
219
  m(n, d) {
220
- T(n, i, d), r || (a = Y(i, "click", s), r = !0);
220
+ O(n, i, d), r || (a = Y(i, "click", s), r = !0);
221
221
  },
222
222
  p(n, d) {
223
223
  t = n;
224
224
  },
225
225
  d(n) {
226
- n && O(i), r = !1, a();
226
+ n && T(i), r = !1, a();
227
227
  }
228
228
  };
229
229
  }
@@ -256,7 +256,7 @@ function ae(t) {
256
256
  );
257
257
  },
258
258
  m(g, y) {
259
- T(g, i, y), C(i, r), C(i, a), C(i, s), s.innerHTML = n, C(i, d), f && f.m(i, null), C(i, v), w || (m = Y(i, "click", S), w = !0);
259
+ O(g, i, y), C(i, r), C(i, a), C(i, s), s.innerHTML = n, C(i, d), f && f.m(i, null), C(i, v), w || (m = Y(i, "click", S), w = !0);
260
260
  },
261
261
  p(g, y) {
262
262
  t = g, y[0] & /*displayMessages*/
@@ -272,7 +272,7 @@ function ae(t) {
272
272
  );
273
273
  },
274
274
  d(g) {
275
- g && O(i), f && f.d(), w = !1, m();
275
+ g && T(i), f && f.d(), w = !1, m();
276
276
  }
277
277
  };
278
278
  }
@@ -283,7 +283,7 @@ function le(t) {
283
283
  ), d, v, w;
284
284
  return {
285
285
  c() {
286
- i = P("div"), r = P("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>', a = L(), s = P("div"), d = We(n), V(r, "class", "IconVideo"), V(s, "class", "CashierVerificationVideoLink"), q(
286
+ i = P("div"), r = P("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>', a = L(), s = P("div"), d = je(n), V(r, "class", "IconVideo"), V(s, "class", "CashierVerificationVideoLink"), q(
287
287
  s,
288
288
  "CashierVerificationVideoLinkDesktop",
289
289
  /*desktopView*/
@@ -291,7 +291,7 @@ function le(t) {
291
291
  ), V(i, "class", "CashierVerificationVideo");
292
292
  },
293
293
  m(m, f) {
294
- T(m, i, f), C(i, r), C(i, a), C(i, s), C(s, d), v || (w = Y(
294
+ O(m, i, f), C(i, r), C(i, a), C(i, s), C(s, d), v || (w = Y(
295
295
  s,
296
296
  "click",
297
297
  /*showVideo*/
@@ -301,7 +301,7 @@ function le(t) {
301
301
  p(m, f) {
302
302
  f[0] & /*$_*/
303
303
  2048 && n !== (n = /*$_*/
304
- m[11]("verification.video.how-to") + "") && Ye(d, n), f[0] & /*desktopView*/
304
+ m[11]("verification.video.how-to") + "") && Ee(d, n), f[0] & /*desktopView*/
305
305
  64 && q(
306
306
  s,
307
307
  "CashierVerificationVideoLinkDesktop",
@@ -310,7 +310,7 @@ function le(t) {
310
310
  );
311
311
  },
312
312
  d(m) {
313
- m && O(i), v = !1, w();
313
+ m && T(i), v = !1, w();
314
314
  }
315
315
  };
316
316
  }
@@ -339,7 +339,7 @@ function ii(t) {
339
339
  );
340
340
  },
341
341
  m(n, d) {
342
- T(n, i, d), s && s.m(i, null), t[23](i);
342
+ O(n, i, d), s && s.m(i, null), t[23](i);
343
343
  },
344
344
  p(n, d) {
345
345
  a === (a = r(n)) && s ? s.p(n, d) : (s && s.d(1), s = a && a(n), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
@@ -353,14 +353,14 @@ function ii(t) {
353
353
  i: Q,
354
354
  o: Q,
355
355
  d(n) {
356
- n && O(i), s && s.d(), t[23](null);
356
+ n && T(i), s && s.d(), t[23](null);
357
357
  }
358
358
  };
359
359
  }
360
360
  const ti = "verification_explanation_video_widgets.MP4";
361
361
  function ri(t, i, r) {
362
362
  let a, s;
363
- $(t, Ge, (e) => r(11, a = e)), $(t, Je, (e) => r(29, s = e)), te.extend(Ke);
363
+ $(t, Ye, (e) => r(11, a = e)), $(t, Je, (e) => r(29, s = e)), te.extend(Ke);
364
364
  let { endpoint: n } = i, { lang: d = "en" } = i, { translationurl: v = "" } = i, { clientstyling: w = "" } = i, { clientstylingurl: m = "" } = i, { session: f = "" } = i, { customerid: S = "" } = i, { playersession: g = "" } = i, { mbsource: y = "" } = i, u, k = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), p, h, M, I = !0, G = !0, R = !1, U = "", E = !1, j = "closed", ce = window.navigator.userAgent;
365
365
  var F;
366
366
  (function(e) {
@@ -374,14 +374,14 @@ function ri(t, i, r) {
374
374
  (function(e) {
375
375
  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";
376
376
  })(b || (b = {}));
377
- var x;
377
+ var z;
378
378
  (function(e) {
379
379
  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";
380
- })(x || (x = {}));
380
+ })(z || (z = {}));
381
381
  const K = (e) => {
382
382
  e.data && e.data.type === "CloseModal" && r(10, j = "closed");
383
383
  };
384
- Re(() => (window.addEventListener("message", K), Ce(), () => {
384
+ Ie(() => (window.addEventListener("message", K), Ce(), () => {
385
385
  window.removeEventListener("message", K);
386
386
  }));
387
387
  const fe = [
@@ -415,8 +415,8 @@ function ri(t, i, r) {
415
415
  };
416
416
  r(9, E = !0), fetch(e, l).then((D) => D.json()).then((D) => {
417
417
  const W = he(D?.Verifications);
418
- p = ge(W), p.VerificationStatuses.forEach((z) => {
419
- z.VerificationUrlType !== "Widget" && k.add(z.Vendor);
418
+ p = ge(W), p.VerificationStatuses.forEach((x) => {
419
+ x.VerificationUrlType !== "Widget" && k.add(x.Vendor);
420
420
  }), r(4, M = X());
421
421
  }).finally(() => r(9, E = !1));
422
422
  }, he = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], me = () => {
@@ -483,15 +483,15 @@ function ri(t, i, r) {
483
483
  }
484
484
  }, Pe = (e) => {
485
485
  const o = [], l = {}, D = [
486
- x.Biometric,
487
- x.Documents,
488
- x.ProofOfAddress
486
+ z.Biometric,
487
+ z.Documents,
488
+ z.ProofOfAddress
489
489
  ];
490
490
  e.forEach((B) => {
491
491
  D.includes(B.Type) && (o.push(B.Type), l[B.Type] = be(B, _e(B.Type)));
492
492
  });
493
- let W = o.every((B) => c.has(B)), z = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
494
- return W ? a("verification.shuftipro.validations-started") : a(z, { values: l });
493
+ let W = o.every((B) => c.has(B)), x = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
494
+ return W ? a("verification.shuftipro.validations-started") : a(x, { values: l });
495
495
  }, be = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, _e = (e) => a(`verification.shuftipro.link-name.${e}`), N = (e, o) => {
496
496
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
497
497
  if (e.target.closest(".verificationLink")) {
@@ -516,7 +516,7 @@ function ri(t, i, r) {
516
516
  r(10, j = "video");
517
517
  }, Ae = (e, o) => N(o, e), Te = (e, o) => N(o, e);
518
518
  function Oe(e) {
519
- je[e ? "unshift" : "push"](() => {
519
+ Re[e ? "unshift" : "push"](() => {
520
520
  u = e, r(3, u);
521
521
  });
522
522
  }
@@ -528,10 +528,10 @@ function ri(t, i, r) {
528
528
  671744 && n && f && g && Z(), t.$$.dirty[0] & /*endpoint, session, playersession*/
529
529
  671744 && n && !f && g && me(), t.$$.dirty[0] & /*translationurl*/
530
530
  65536 && v && de(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
531
- 9 && w && u && He(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
- 10 && m && u && Ue(), t.$$.dirty[0] & /*staticCdnUrl*/
531
+ 9 && w && u && Ge(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
+ 10 && m && u && He(), t.$$.dirty[0] & /*staticCdnUrl*/
533
533
  1048576 && h && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
534
- 12 && y && u && Ee(u, `${y}.Style`);
534
+ 12 && y && u && Ne(u, `${y}.Style`);
535
535
  }, [
536
536
  w,
537
537
  m,
@@ -637,7 +637,7 @@ class oi extends qe {
637
637
  this.$$set({ mbsource: i }), A();
638
638
  }
639
639
  }
640
- xe(oi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
640
+ We(oi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
641
641
  export {
642
642
  oi as default
643
643
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierError-DsMwtzxf.cjs"),O=require("./CashierMethodDetails-BdOa371S.cjs");function N(r,t){e.addMessages(r,t)}function ye(r){e.init({fallbackLocale:"en"}),e.$locale.set(r)}const W={en:{"verification.video.how-to":"How to verify yourself","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","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","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","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ke(r){e.append_styles(r,"svelte-1nikw0c","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--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)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}")}function Y(r,t,o){const l=r.slice();return l[55]=t[o],l[57]=o,l}function _e(r){let t,o,l,s,a,u,y,k,p,d,b,w,_=e.ensure_array_like(r[4]),h=[];for(let f=0;f<_.length;f+=1)h[f]=G(Y(r,_,f));let V=r[7]&&Z(r);return{c(){t=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();o=e.space(),V&&V.c(),l=e.space(),s=e.element("cashier-modal"),a=e.element("div"),u=e.element("div"),y=e.element("div"),k=e.element("video"),p=e.element("source"),e.attr(t,"class","CashierVerificationsWrapper"),e.src_url_equal(p.src,d=r[8])||e.attr(p,"src",d),k.controls=!0,e.attr(k,"controlslist","nodownload"),e.attr(k,"disablepictureinpicture",""),e.attr(y,"class","CashierVideo"),e.attr(u,"class","CashierVideoWrapper"),e.attr(a,"slot","content"),e.attr(a,"class","ModalContentContainer"),e.set_custom_element_data(s,"show",b=`${r[10]!=="closed"}`),e.set_custom_element_data(s,"isvideo",w=`${r[10]==="video"}`),e.set_custom_element_data(s,"clientstylingurl",r[1]),e.set_custom_element_data(s,"clientstyling",r[0]),e.set_custom_element_data(s,"mbsource",r[2])},m(f,g){e.insert(f,t,g);for(let m=0;m<h.length;m+=1)h[m]&&h[m].m(t,null);e.insert(f,o,g),V&&V.m(f,g),e.insert(f,l,g),e.insert(f,s,g),e.append(s,a),e.append(a,u),e.append(u,y),e.append(y,k),e.append(k,p)},p(f,g){if(g[0]&4144){_=e.ensure_array_like(f[4]);let m;for(m=0;m<_.length;m+=1){const S=Y(f,_,m);h[m]?h[m].p(S,g):(h[m]=G(S),h[m].c(),h[m].m(t,null))}for(;m<h.length;m+=1)h[m].d(1);h.length=_.length}f[7]?V?V.p(f,g):(V=Z(f),V.c(),V.m(l.parentNode,l)):V&&(V.d(1),V=null),g[0]&256&&!e.src_url_equal(p.src,d=f[8])&&e.attr(p,"src",d),g[0]&1024&&b!==(b=`${f[10]!=="closed"}`)&&e.set_custom_element_data(s,"show",b),g[0]&1024&&w!==(w=`${f[10]==="video"}`)&&e.set_custom_element_data(s,"isvideo",w),g[0]&2&&e.set_custom_element_data(s,"clientstylingurl",f[1]),g[0]&1&&e.set_custom_element_data(s,"clientstyling",f[0]),g[0]&4&&e.set_custom_element_data(s,"mbsource",f[2])},d(f){f&&(e.detach(t),e.detach(o),e.detach(l),e.detach(s)),e.destroy_each(h,f),V&&V.d(f)}}}function Ve(r){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",r[1]),e.set_custom_element_data(t,"clientstyling",r[0])},m(o,l){e.insert(o,t,l)},p(o,l){l[0]&2&&e.set_custom_element_data(t,"clientstylingurl",o[1]),l[0]&1&&e.set_custom_element_data(t,"clientstyling",o[0])},d(o){o&&e.detach(t)}}}function K(r){let t,o,l;function s(...a){return r[21](r[57],...a)}return{c(){t=e.element("span"),t.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>',e.attr(t,"class","CashierVerificationChevron")},m(a,u){e.insert(a,t,u),o||(l=e.listen(t,"click",s),o=!0)},p(a,u){r=a},d(a){a&&e.detach(t),o=!1,l()}}}function G(r){let t,o,l,s,a=r[55]+"",u,y,k,p,d=r[4].length>1&&r[57]===0&&K(r);function b(...w){return r[22](r[57],...w)}return{c(){t=e.element("div"),o=e.element("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>',l=e.space(),s=e.element("p"),u=e.space(),d&&d.c(),y=e.space(),e.attr(o,"class","IconVerification"),e.attr(s,"class","text"),e.attr(t,"class","CashierVerificationMessage"),e.toggle_class(t,"ShowAll",r[5])},m(w,_){e.insert(w,t,_),e.append(t,o),e.append(t,l),e.append(t,s),s.innerHTML=a,e.append(t,u),d&&d.m(t,null),e.append(t,y),k||(p=e.listen(t,"click",b),k=!0)},p(w,_){r=w,_[0]&16&&a!==(a=r[55]+"")&&(s.innerHTML=a),r[4].length>1&&r[57]===0?d?d.p(r,_):(d=K(r),d.c(),d.m(t,y)):d&&(d.d(1),d=null),_[0]&32&&e.toggle_class(t,"ShowAll",r[5])},d(w){w&&e.detach(t),d&&d.d(),k=!1,p()}}}function Z(r){let t,o,l,s,a=r[11]("verification.video.how-to")+"",u,y,k;return{c(){t=e.element("div"),o=e.element("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>',l=e.space(),s=e.element("div"),u=e.text(a),e.attr(o,"class","IconVideo"),e.attr(s,"class","CashierVerificationVideoLink"),e.toggle_class(s,"CashierVerificationVideoLinkDesktop",r[6]),e.attr(t,"class","CashierVerificationVideo")},m(p,d){e.insert(p,t,d),e.append(t,o),e.append(t,l),e.append(t,s),e.append(s,u),y||(k=e.listen(s,"click",r[13]),y=!0)},p(p,d){d[0]&2048&&a!==(a=p[11]("verification.video.how-to")+"")&&e.set_data(u,a),d[0]&64&&e.toggle_class(s,"CashierVerificationVideoLinkDesktop",p[6])},d(p){p&&e.detach(t),y=!1,k()}}}function Pe(r){let t;function o(a,u){if(a[9])return Ve;if(a[4])return _e}let l=o(r),s=l&&l(r);return{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",r[6])},m(a,u){e.insert(a,t,u),s&&s.m(t,null),r[23](t)},p(a,u){l===(l=o(a))&&s?s.p(a,u):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(t,null))),u[0]&64&&e.toggle_class(t,"CashierVerificationsDesktop",a[6])},i:e.noop,o:e.noop,d(a){a&&e.detach(t),s&&s.d(),r[23](null)}}}const be="verification_explanation_video_widgets.MP4";function Ce(r,t,o){let l,s;e.component_subscribe(r,e.$format,i=>o(11,l=i)),e.component_subscribe(r,O.xPaymentSessionToken,i=>o(29,s=i)),O.dayjs.extend(O.utc);let{endpoint:a}=t,{lang:u="en"}=t,{translationurl:y=""}=t,{clientstyling:k=""}=t,{clientstylingurl:p=""}=t,{session:d=""}=t,{customerid:b=""}=t,{playersession:w=""}=t,{mbsource:_=""}=t,h,V=new Set,f=new Set,g,m,S,B=!0,R=!0,L=!1,q="",F=!1,z="closed",X=window.navigator.userAgent;var A;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(A||(A={}));var x;(function(i){i.Requested="Requested"})(x||(x={}));var P;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(P||(P={}));var T;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(T||(T={}));const U=i=>{i.data&&i.data.type==="CloseModal"&&o(10,z="closed")};e.onMount(()=>(window.addEventListener("message",U),he(),()=>{window.removeEventListener("message",U)}));const Q=[P.InProgress,P.Referred,P.AwaitingForResponse],$=()=>{let i=y;if(i)return fetch(i).then(n=>n.json()).then(n=>{Object.keys(n).forEach(c=>{N(c,n[c])})}).catch(n=>{console.log(n)})};Object.keys(W).forEach(i=>{N(i,W[i])});const ee=()=>{ye(u)},E=()=>{o(20,m=re());const i=new URL(`${a}/v1/player/${b}/verification/GetKYCCustomerStatus?language=${u}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${w}`),n.append("X-Client-Request-Timestamp",O.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:n,body:JSON.stringify({})};o(9,F=!0),fetch(i,c).then(v=>v.json()).then(v=>{const C=ie(v==null?void 0:v.Verifications);g=oe(C),g.VerificationStatuses.forEach(M=>{M.VerificationUrlType!=="Widget"&&V.add(M.Vendor)}),o(4,S=H())}).finally(()=>o(9,F=!1))},ie=i=>i?i.sort((n,c)=>new Date(c.Created).getTime()-new Date(n.Created).getTime()):[],te=()=>{s&&E()},re=()=>{let i=(d||s).split(".")[1];if(i){let n=JSON.parse(atob(i));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},oe=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:P.Unverified,VerificationStatuses:[]};const n=se(i);if(n&&n.length){const v=ne(n);return{VerificationSummaryStatus:v.Status,VerificationUrl:(c=v.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:j(n,v.Status)}}else return{VerificationSummaryStatus:i.some(C=>C.Status===P.Failed)?P.Failed:P.Verified,VerificationStatuses:j(i,[P.Failed])}},ne=i=>i.reduce((n,c)=>n?new Date(n)<new Date(c)?c:n:c,0),j=(i,n)=>i.filter(c=>n.includes(c.Status)).map(c=>{var v,C;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(v=c.FlowInfo)==null?void 0:v.Type,VerificationUrl:(C=c.FlowInfo)==null?void 0:C.Url}}),se=i=>i.filter(n=>Q.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||ae(n)||le(n):!1),ae=i=>{const n=i.Documents&&i.VendorName===A.Manual,c=i.Documents&&i.Documents.some(v=>v.Status===x.Requested);return n&&c},le=i=>i.VendorName===A.ShuftiPro&&i.Status===P.Referred,H=()=>{switch(g.VerificationSummaryStatus){case P.InProgress:const i=[];return V.forEach(n=>{i.push(ce(n))}),i;case P.Referred:return[l("verification.idenfy.referred-awaiting")];case P.Failed:return[l("verification.message.failed")]}},ce=i=>{const n=g.VerificationStatuses.filter(c=>c.Vendor===i);if(i===A.ShuftiPro)return fe(n);{const c=l("verification.idenfy.link-name"),v={link:`<a href="${n[0].VerificationUrl}" target="_blank">${c}</a>`};return l("verification.idenfy.in-progress",{values:v})}},fe=i=>{const n=[],c={},v=[T.Biometric,T.Documents,T.ProofOfAddress];i.forEach(D=>{v.includes(D.Type)&&(n.push(D.Type),c[D.Type]=de(D,ue(D.Type)))});let C=n.every(D=>f.has(D)),M=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return C?l("verification.shuftipro.validations-started"):l(M,{values:c})},de=(i,n)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${n}</a>`,ue=i=>l(`verification.shuftipro.link-name.${i}`),I=(i,n)=>{if(i.stopPropagation(),i.target&&(i.target.href||i.target.closest("a"))){if(i.target.closest(".verificationLink")){const c=i.target.className.split(" ")[1];f.add(c),o(4,S=H())}return}n===0&&o(5,B=!B)},he=()=>{o(6,R=!O.isMobile(X))},me=()=>{o(8,q=m+"/"+u+"/"+be);try{fetch(q,{method:"HEAD"}).then(i=>{o(7,L=i.ok)})}catch(i){o(7,L=!1)}},pe=()=>{o(10,z="video")},ge=(i,n)=>I(n,i),ve=(i,n)=>I(n,i);function we(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,o(3,h)})}return r.$$set=i=>{"endpoint"in i&&o(14,a=i.endpoint),"lang"in i&&o(15,u=i.lang),"translationurl"in i&&o(16,y=i.translationurl),"clientstyling"in i&&o(0,k=i.clientstyling),"clientstylingurl"in i&&o(1,p=i.clientstylingurl),"session"in i&&o(17,d=i.session),"customerid"in i&&o(18,b=i.customerid),"playersession"in i&&o(19,w=i.playersession),"mbsource"in i&&o(2,_=i.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&32768&&u&&ee(),r.$$.dirty[0]&671744&&a&&d&&w&&E(),r.$$.dirty[0]&671744&&a&&!d&&w&&te(),r.$$.dirty[0]&65536&&y&&$(),r.$$.dirty[0]&9&&k&&h&&e.setClientStyling(),r.$$.dirty[0]&10&&p&&h&&e.setClientStylingURL(),r.$$.dirty[0]&1048576&&m&&me(),r.$$.dirty[0]&12&&_&&h&&e.setStreamStyling(h,`${_}.Style`)},[k,p,_,h,S,B,R,L,q,F,z,l,I,pe,a,u,y,d,b,w,m,ge,ve,we]}class J extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Ce,Pe,e.safe_not_equal,{endpoint:14,lang:15,translationurl:16,clientstyling:0,clientstylingurl:1,session:17,customerid:18,playersession:19,mbsource:2},ke,[-1,-1])}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[15]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[19]}set playersession(t){this.$$set({playersession:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=J;