@everymatrix/cashier-page 1.90.38 → 1.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/components/CashierCarousel-BNcnaN7U.js +672 -0
  2. package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
  3. package/components/CashierCarousel-tfVH51fj.js +675 -0
  4. package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
  5. package/components/CashierError-BqvEnGrr.cjs +1 -0
  6. package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
  7. package/components/CashierHeader-BGA-Qd-S.js +456 -0
  8. package/components/CashierHeader-BKL2lJFV.cjs +1 -0
  9. package/components/CashierHeader-Bt5aV48_.js +456 -0
  10. package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
  11. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
  12. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
  13. package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
  14. package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
  15. package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
  16. package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
  17. package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
  18. package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
  19. package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
  20. package/components/CashierModal-J_mZ6ODP.cjs +1 -0
  21. package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
  22. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
  23. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
  24. package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
  25. package/components/CashierPage-7d2gkNjC.js +9989 -0
  26. package/components/CashierPage-N8z4Zzox.js +9936 -0
  27. package/components/CashierPage-flG2gyRG.cjs +23 -0
  28. package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
  29. package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
  30. package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
  32. package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
  33. package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
  34. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
  35. package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
  36. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
  37. package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
  38. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
  39. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
  40. package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
  41. package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
  42. package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
  43. package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
  44. package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
  45. package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
  46. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
  47. package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
  48. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
  49. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
  50. package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
  51. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-B-cM-nlR.js +0 -5797
  57. package/components/CashierCarousel-CXoovlrR.js +0 -5835
  58. package/components/CashierCarousel-DMrMmClP.cjs +0 -23
  59. package/components/CashierError-CHGdRh2_.cjs +0 -1
  60. package/components/CashierHeader-B7FnLv3f.js +0 -397
  61. package/components/CashierHeader-BbP0idUh.js +0 -397
  62. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  63. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  64. package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
  65. package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
  66. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  67. package/components/CashierNotifications-B8bRZMac.cjs +0 -1
  68. package/components/CashierPage-CrLOKCt7.js +0 -4485
  69. package/components/CashierPage-DDNG9YBM.cjs +0 -1
  70. package/components/CashierPage-Ra2kFFdS.js +0 -4455
  71. package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
  73. package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
  76. package/components/CashierVerifications-8c9sENE2.cjs +0 -1
  77. package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
  78. package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as Te, i as Le, $ as qe, S as Fe, b as Ee, s as Re, f as _, c as He, G as J, e as B, W as M, k as O, m as P, o as c, p as Q, q as Ie, N as Ue, y as je, A as U, Z as $, a4 as Ne, v as ae, l as v, x as le, X as j, n as q, w as ce, B as We, C as Xe, D as Ye, E as Ke, F as Ze } from "./CashierCarousel-B-cM-nlR.js";
2
- import { d as ee, u as Ge, x as Je } from "./CashierMethodDetails-B3kqjVcJ.js";
1
+ import { a as Te, i as Le, $ as qe, S as Ee, b as Fe, s as Re, f as _, d as He, z as G, g as O, L as M, l as B, n as P, p as c, q as Q, M as $, N as Ie, r as Ue, C as je, y as Ne, O as U, D as ee, E as We, w as ae, m as v, A as le, P as j, o as q, x as ce, c as Ye, B as Xe, Q as Ke } from "./CashierPage-N8z4Zzox.js";
2
+ import { s as Je, a as Ze, b as Ge } from "./CashierHeader-Bt5aV48_.js";
3
3
  function ie(r, i) {
4
4
  Te(r, i);
5
5
  }
@@ -67,12 +67,28 @@ const te = {
67
67
  "verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
68
68
  }
69
69
  };
70
+ if (typeof window < "u") {
71
+ let r = function(i) {
72
+ return function(...t) {
73
+ try {
74
+ return i.apply(this, t);
75
+ } catch (o) {
76
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
77
+ return !1;
78
+ throw o;
79
+ }
80
+ };
81
+ };
82
+ customElements.define = r(customElements.define), import("./CashierModal-B3zx276E.js").then(({ default: i }) => {
83
+ !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
+ });
85
+ }
70
86
  function $e(r) {
71
87
  He(r, "svelte-xrv2v8", '*,*::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(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
72
88
  }
73
89
  function re(r, i, t) {
74
- const s = r.slice();
75
- return s[56] = i[t], s;
90
+ const o = r.slice();
91
+ return o[56] = i[t], o;
76
92
  }
77
93
  function ei(r) {
78
94
  let i, t = (
@@ -83,15 +99,15 @@ function ei(r) {
83
99
  c() {
84
100
  i = P("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
85
101
  },
86
- m(s, n) {
87
- O(s, i, n), t && t.m(i, null);
102
+ m(o, n) {
103
+ B(o, i, n), t && t.m(i, null);
88
104
  },
89
- p(s, n) {
105
+ p(o, n) {
90
106
  /*displayMessages*/
91
- s[3].length > 0 ? t ? t.p(s, n) : (t = oe(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
107
+ o[3].length > 0 ? t ? t.p(o, n) : (t = oe(o), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
92
108
  },
93
- d(s) {
94
- s && B(i), t && t.d();
109
+ d(o) {
110
+ o && O(i), t && t.d();
95
111
  }
96
112
  };
97
113
  }
@@ -111,17 +127,17 @@ function ii(r) {
111
127
  r[0]
112
128
  );
113
129
  },
114
- m(t, s) {
115
- O(t, i, s);
130
+ m(t, o) {
131
+ B(t, i, o);
116
132
  },
117
- p(t, s) {
118
- s[0] & /*clientstylingurl*/
133
+ p(t, o) {
134
+ o[0] & /*clientstylingurl*/
119
135
  2 && U(
120
136
  i,
121
137
  "clientstylingurl",
122
138
  /*clientstylingurl*/
123
139
  t[1]
124
- ), s[0] & /*clientstyling*/
140
+ ), o[0] & /*clientstyling*/
125
141
  1 && U(
126
142
  i,
127
143
  "clientstyling",
@@ -130,15 +146,15 @@ function ii(r) {
130
146
  );
131
147
  },
132
148
  d(t) {
133
- t && B(i);
149
+ t && O(i);
134
150
  }
135
151
  };
136
152
  }
137
153
  function oe(r) {
138
- let i, t, s, n, a, u, g, C = (
154
+ let i, t, o, n, a, u, g, C = (
139
155
  /*$_*/
140
156
  r[8]("verificationsRequired") + ""
141
- ), w, V, S, x, p, A, b, F, z = $(
157
+ ), w, V, S, x, p, A, b, E, z = ee(
142
158
  /*displayMessages*/
143
159
  r[3]
144
160
  ), d = [];
@@ -150,10 +166,10 @@ function oe(r) {
150
166
  );
151
167
  return {
152
168
  c() {
153
- i = P("div"), t = j("svg"), s = j("path"), n = j("path"), a = j("path"), u = q(), g = P("p"), w = ce(C), V = q(), 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 = q(), p = P("div");
169
+ i = P("div"), t = j("svg"), o = j("path"), n = j("path"), a = j("path"), u = q(), g = P("p"), w = ce(C), V = q(), 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 = q(), p = P("div");
154
170
  for (let f = 0; f < d.length; f += 1)
155
171
  d[f].c();
156
- A = q(), h && h.c(), c(s, "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(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "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"), M(
172
+ A = q(), h && h.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"), M(
157
173
  S,
158
174
  "ShowVerifications",
159
175
  /*allVerificationsVisible*/
@@ -166,10 +182,10 @@ function oe(r) {
166
182
  );
167
183
  },
168
184
  m(f, k) {
169
- O(f, i, k), v(i, t), v(t, s), v(t, n), v(t, a), v(i, u), v(i, g), v(g, w), v(i, V), v(i, S), O(f, x, k), O(f, p, k);
185
+ B(f, i, k), v(i, t), v(t, o), v(t, n), v(t, a), v(i, u), v(i, g), v(g, w), v(i, V), v(i, S), B(f, x, k), B(f, p, k);
170
186
  for (let m = 0; m < d.length; m += 1)
171
187
  d[m] && d[m].m(p, null);
172
- v(p, A), h && h.m(p, null), b || (F = le(
188
+ v(p, A), h && h.m(p, null), b || (E = le(
173
189
  i,
174
190
  "click",
175
191
  /*toggleVerifications*/
@@ -187,7 +203,7 @@ function oe(r) {
187
203
  f[4]
188
204
  ), k[0] & /*displayMessages*/
189
205
  8) {
190
- z = $(
206
+ z = ee(
191
207
  /*displayMessages*/
192
208
  f[3]
193
209
  );
@@ -210,21 +226,21 @@ function oe(r) {
210
226
  );
211
227
  },
212
228
  d(f) {
213
- f && (B(i), B(x), B(p)), Ne(d, f), h && h.d(), b = !1, F();
229
+ f && (O(i), O(x), O(p)), We(d, f), h && h.d(), b = !1, E();
214
230
  }
215
231
  };
216
232
  }
217
233
  function se(r) {
218
- let i, t, s, n, a = (
234
+ let i, t, o, n, a = (
219
235
  /*message*/
220
236
  r[56] + ""
221
237
  );
222
238
  return {
223
239
  c() {
224
- 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>', s = q(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
240
+ 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 = q(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
225
241
  },
226
242
  m(u, g) {
227
- O(u, i, g), v(i, t), v(i, s), v(i, n), n.innerHTML = a;
243
+ B(u, i, g), v(i, t), v(i, o), v(i, n), n.innerHTML = a;
228
244
  },
229
245
  p(u, g) {
230
246
  g[0] & /*displayMessages*/
@@ -232,18 +248,18 @@ function se(r) {
232
248
  u[56] + "") && (n.innerHTML = a);
233
249
  },
234
250
  d(u) {
235
- u && B(i);
251
+ u && O(i);
236
252
  }
237
253
  };
238
254
  }
239
255
  function ne(r) {
240
- let i, t, s, n, a = (
256
+ let i, t, o, n, a = (
241
257
  /*$_*/
242
258
  r[8]("verification.video.how-to") + ""
243
259
  ), u, g, C;
244
260
  return {
245
261
  c() {
246
- 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>', s = q(), n = P("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), M(
262
+ 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 = q(), n = P("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), M(
247
263
  n,
248
264
  "CashierVerificationVideoLinkDesktop",
249
265
  /*desktopView*/
@@ -251,7 +267,7 @@ function ne(r) {
251
267
  ), c(i, "class", "CashierVerificationVideo Test");
252
268
  },
253
269
  m(w, V) {
254
- O(w, i, V), v(i, t), v(i, s), v(i, n), v(n, u), g || (C = le(
270
+ B(w, i, V), v(i, t), v(i, o), v(i, n), v(n, u), g || (C = le(
255
271
  i,
256
272
  "click",
257
273
  /*showVideo*/
@@ -270,7 +286,7 @@ function ne(r) {
270
286
  );
271
287
  },
272
288
  d(w) {
273
- w && B(i), g = !1, C();
289
+ w && O(i), g = !1, C();
274
290
  }
275
291
  };
276
292
  }
@@ -288,7 +304,7 @@ function ti(r) {
288
304
  )
289
305
  return ei;
290
306
  }
291
- let s = t(r), n = s && s(r);
307
+ let o = t(r), n = o && o(r);
292
308
  return {
293
309
  c() {
294
310
  i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), M(
@@ -299,10 +315,10 @@ function ti(r) {
299
315
  );
300
316
  },
301
317
  m(a, u) {
302
- O(a, i, u), n && n.m(i, null), r[20](i);
318
+ B(a, i, u), n && n.m(i, null), r[20](i);
303
319
  },
304
320
  p(a, u) {
305
- s === (s = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
321
+ 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*/
306
322
  32 && M(
307
323
  i,
308
324
  "CashierVerificationsDesktop",
@@ -310,26 +326,26 @@ function ti(r) {
310
326
  a[5]
311
327
  );
312
328
  },
313
- i: J,
314
- o: J,
329
+ i: G,
330
+ o: G,
315
331
  d(a) {
316
- a && B(i), n && n.d(), r[20](null);
332
+ a && O(i), n && n.d(), r[20](null);
317
333
  }
318
334
  };
319
335
  }
320
336
  const ri = "verification_explanation_video_widgets.MP4";
321
337
  function oi(r, i, t) {
322
- let s, n;
323
- Q(r, Ze, (e) => t(8, s = e)), Q(r, Je, (e) => t(29, n = e)), ee.extend(Ge);
324
- let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b, F = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, k = !1, m = !0, L = !1, N = "", W = !1, fe, H = [], ue = window.navigator.userAgent;
325
- var E;
338
+ let o, n;
339
+ Q(r, Xe, (e) => t(8, o = e)), Q(r, Ke, (e) => t(29, n = e)), $.extend(Ie);
340
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b, E = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, k = !1, m = !0, L = !1, N = "", W = !1, fe, H = [], ue = window.navigator.userAgent;
341
+ var F;
326
342
  (function(e) {
327
343
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
328
- })(E || (E = {}));
329
- var X;
344
+ })(F || (F = {}));
345
+ var Y;
330
346
  (function(e) {
331
347
  e.Requested = "Requested";
332
- })(X || (X = {}));
348
+ })(Y || (Y = {}));
333
349
  var y;
334
350
  (function(e) {
335
351
  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";
@@ -341,7 +357,7 @@ function oi(r, i, t) {
341
357
  const K = (e) => {
342
358
  e.data && e.data.type;
343
359
  };
344
- Ie(() => (window.addEventListener("message", K), Ae(), () => {
360
+ Ue(() => (window.addEventListener("message", K), Ae(), () => {
345
361
  window.removeEventListener("message", K);
346
362
  }));
347
363
  const de = [
@@ -351,12 +367,12 @@ function oi(r, i, t) {
351
367
  ], me = () => {
352
368
  let e = g;
353
369
  if (e)
354
- return fetch(e).then((o) => o.json()).then((o) => {
355
- Object.keys(o).forEach((l) => {
356
- ie(l, o[l]);
370
+ return fetch(e).then((s) => s.json()).then((s) => {
371
+ Object.keys(s).forEach((l) => {
372
+ ie(l, s[l]);
357
373
  });
358
- }).catch((o) => {
359
- console.log(o);
374
+ }).catch((s) => {
375
+ console.log(s);
360
376
  });
361
377
  };
362
378
  Object.keys(te).forEach((e) => {
@@ -364,28 +380,28 @@ function oi(r, i, t) {
364
380
  });
365
381
  const he = () => {
366
382
  Qe(u);
367
- }, Z = () => {
383
+ }, J = () => {
368
384
  t(19, h = ge());
369
- const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), o = new Headers();
370
- o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", ee.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && o.append("MM_CHANNEL", "BETA");
385
+ const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
386
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", $.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
371
387
  const l = {
372
388
  method: "POST",
373
- headers: o,
389
+ headers: s,
374
390
  body: JSON.stringify({})
375
391
  };
376
392
  t(7, W = !0), fetch(e, l).then((D) => D.json()).then((D) => {
377
- const Y = pe(D?.Verifications);
378
- d = we(Y), d.VerificationStatuses.forEach((I) => {
379
- I.VerificationUrlType !== "Widget" && F.add(I.Vendor);
393
+ const X = pe(D?.Verifications);
394
+ d = we(X), d.VerificationStatuses.forEach((I) => {
395
+ I.VerificationUrlType !== "Widget" && E.add(I.Vendor);
380
396
  }), t(3, f = Pe());
381
397
  }).finally(() => t(7, W = !1));
382
- }, pe = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], ve = () => {
383
- n && Z();
398
+ }, pe = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], ve = () => {
399
+ n && J();
384
400
  }, ge = () => {
385
401
  let e = (V || n).split(".")[1];
386
402
  if (e) {
387
- let o = JSON.parse(atob(e));
388
- return o.cdn + "/cashier/operator-assets/" + o?.mid;
403
+ let s = JSON.parse(atob(e));
404
+ return s.cdn + "/cashier/operator-assets/" + s?.mid;
389
405
  }
390
406
  return "";
391
407
  }, we = (e) => {
@@ -394,68 +410,68 @@ function oi(r, i, t) {
394
410
  VerificationSummaryStatus: y.Unverified,
395
411
  VerificationStatuses: []
396
412
  };
397
- const o = ye(e);
398
- if (o && o.length) {
399
- const l = ke(o);
413
+ const s = ye(e);
414
+ if (s && s.length) {
415
+ const l = ke(s);
400
416
  return {
401
417
  VerificationSummaryStatus: l.Status,
402
418
  VerificationUrl: l.Flags?.DeferredUrlKey,
403
- VerificationStatuses: G(o, l.Status)
419
+ VerificationStatuses: Z(s, l.Status)
404
420
  };
405
421
  } else
406
422
  return {
407
423
  VerificationSummaryStatus: e.some((D) => D.Status === y.Failed) ? y.Failed : y.Verified,
408
- VerificationStatuses: G(e, [y.Failed])
424
+ VerificationStatuses: Z(e, [y.Failed])
409
425
  };
410
426
  }, ke = (e) => e.reduce(
411
- (o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
427
+ (s, l) => s ? new Date(s) < new Date(l) ? l : s : l,
412
428
  0
413
- ), G = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
429
+ ), Z = (e, s) => e.filter((l) => s.includes(l.Status)).map((l) => ({
414
430
  Type: l.Type,
415
431
  Vendor: l.VendorName,
416
432
  VerificationDocuments: l.Documents ? [...l.Documents] : [],
417
433
  VerificationUrlType: l.FlowInfo?.Type,
418
434
  VerificationUrl: l.FlowInfo?.Url
419
- })), ye = (e) => e.filter((o) => de.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || Ve(o) || be(o) : !1), Ve = (e) => {
420
- const o = e.Documents && e.VendorName === E.Manual, l = e.Documents && e.Documents.some((D) => D.Status === X.Requested);
421
- return o && l;
422
- }, be = (e) => e.VendorName === E.ShuftiPro && e.Status === y.Referred, Pe = () => {
435
+ })), ye = (e) => e.filter((s) => de.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Ve(s) || be(s) : !1), Ve = (e) => {
436
+ const s = e.Documents && e.VendorName === F.Manual, l = e.Documents && e.Documents.some((D) => D.Status === Y.Requested);
437
+ return s && l;
438
+ }, be = (e) => e.VendorName === F.ShuftiPro && e.Status === y.Referred, Pe = () => {
423
439
  switch (d.VerificationSummaryStatus) {
424
440
  case y.InProgress:
425
441
  const e = [];
426
- return F.forEach((o) => {
427
- e.push(Ce(o));
442
+ return E.forEach((s) => {
443
+ e.push(Ce(s));
428
444
  }), e;
429
445
  case y.Referred:
430
- return [s("verification.idenfy.referred-awaiting")];
446
+ return [o("verification.idenfy.referred-awaiting")];
431
447
  case y.Failed:
432
- return [s("verification.message.failed")];
448
+ return [o("verification.message.failed")];
433
449
  }
434
450
  }, Ce = (e) => {
435
- const o = d.VerificationStatuses.filter((l) => l.Vendor === e);
436
- if (e === E.ShuftiPro)
437
- return De(o);
451
+ const s = d.VerificationStatuses.filter((l) => l.Vendor === e);
452
+ if (e === F.ShuftiPro)
453
+ return De(s);
438
454
  {
439
- const l = s("verification.idenfy.link-name"), D = {
440
- link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
455
+ const l = o("verification.idenfy.link-name"), D = {
456
+ link: `<a href="${s[0].VerificationUrl}" target="_blank">${l}</a>`
441
457
  };
442
- return s("verification.idenfy.in-progress", { values: D });
458
+ return o("verification.idenfy.in-progress", { values: D });
443
459
  }
444
460
  }, De = (e) => {
445
- const o = [], l = {}, D = [
461
+ const s = [], l = {}, D = [
446
462
  R.Biometric,
447
463
  R.Documents,
448
464
  R.ProofOfAddress
449
465
  ];
450
466
  e.forEach((T) => {
451
- D.includes(T.Type) && (o.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
467
+ D.includes(T.Type) && (s.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
452
468
  });
453
- let Y = o.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
454
- return Y ? s("verification.shuftipro.validations-started") : s(I, { values: l });
455
- }, Se = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, _e = (e) => s(`verification.shuftipro.link-name.${e}`), xe = () => {
469
+ let X = s.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
470
+ return X ? o("verification.shuftipro.validations-started") : o(I, { values: l });
471
+ }, Se = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, _e = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
456
472
  t(4, k = !k);
457
473
  }, Ae = () => {
458
- t(5, m = !Ue(ue));
474
+ t(5, m = !je(ue));
459
475
  }, ze = () => {
460
476
  N = h + "/" + u + "/" + ri;
461
477
  try {
@@ -467,7 +483,7 @@ function oi(r, i, t) {
467
483
  }
468
484
  }, Me = () => {
469
485
  p.length > 0 && (H = p.split(","));
470
- }, Be = () => {
486
+ }, Oe = () => {
471
487
  window.dispatchEvent(new CustomEvent(
472
488
  "modal-update",
473
489
  {
@@ -475,8 +491,8 @@ function oi(r, i, t) {
475
491
  }
476
492
  ));
477
493
  };
478
- function Oe(e) {
479
- je[e ? "unshift" : "push"](() => {
494
+ function Be(e) {
495
+ Ne[e ? "unshift" : "push"](() => {
480
496
  b = e, t(2, b);
481
497
  });
482
498
  }
@@ -486,13 +502,13 @@ function oi(r, i, t) {
486
502
  r.$$.dirty[0] & /*userroles*/
487
503
  131072 && p && Me(), r.$$.dirty[0] & /*lang*/
488
504
  4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
489
- 83968 && a && V && x && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
505
+ 83968 && a && V && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
490
506
  83968 && a && !V && x && ve(), r.$$.dirty[0] & /*translationurl*/
491
507
  8192 && g && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
492
- 5 && C && b && We(b, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
493
- 6 && w && b && Xe(b, w), r.$$.dirty[0] & /*staticCdnUrl*/
508
+ 5 && C && b && Je(b, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
509
+ 6 && w && b && Ze(b, w), r.$$.dirty[0] & /*staticCdnUrl*/
494
510
  524288 && h && ze(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
495
- 262148 && A && b && Ye(b, `${A}.Style`, fe);
511
+ 262148 && A && b && Ge(b, `${A}.Style`, fe);
496
512
  }, [
497
513
  C,
498
514
  w,
@@ -502,9 +518,9 @@ function oi(r, i, t) {
502
518
  m,
503
519
  L,
504
520
  W,
505
- s,
521
+ o,
506
522
  xe,
507
- Be,
523
+ Oe,
508
524
  a,
509
525
  u,
510
526
  g,
@@ -514,12 +530,12 @@ function oi(r, i, t) {
514
530
  p,
515
531
  A,
516
532
  h,
517
- Oe
533
+ Be
518
534
  ];
519
535
  }
520
- class si extends Fe {
536
+ class si extends Ee {
521
537
  constructor(i) {
522
- super(), Ee(
538
+ super(), Fe(
523
539
  this,
524
540
  i,
525
541
  oi,
@@ -602,7 +618,7 @@ class si extends Fe {
602
618
  this.$$set({ mbsource: i }), _();
603
619
  }
604
620
  }
605
- Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
621
+ Ye(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
606
622
  export {
607
623
  si as default
608
624
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-flG2gyRG.cjs"),R=require("./CashierHeader-BKL2lJFV.cjs");function j(o,t){e.addMessages(o,t)}function ye(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const N={en:{verificationsRequired:"Verifications Required","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:{verificationsRequired:"Doğrulamalar Gerekli","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"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};if(typeof window!="undefined"){let o=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./CashierModal-J_mZ6ODP.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}function Ve(o){e.append_styles(o,"svelte-xrv2v8",'*,*::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(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function W(o,t,r){const n=o.slice();return n[56]=t[r],n}function be(o){let t,r=o[3].length>0&&Y(o);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(n,a){e.insert(n,t,a),r&&r.m(t,null)},p(n,a){n[3].length>0?r?r.p(n,a):(r=Y(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&e.detach(t),r&&r.d()}}}function _e(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[1]),e.set_custom_element_data(t,"clientstyling",o[0])},m(r,n){e.insert(r,t,n)},p(r,n){n[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),n[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function Y(o){let t,r,n,a,l,u,v,_=o[8]("verificationsRequired")+"",w,V,P,C,g,D,b,M,S=e.ensure_array_like(o[3]),d=[];for(let f=0;f<S.length;f+=1)d[f]=X(W(o,S,f));let p=o[6]&&K(o);return{c(){t=e.element("div"),r=e.svg_element("svg"),n=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),u=e.space(),v=e.element("p"),w=e.text(_),V=e.space(),P=e.element("span"),P.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>',C=e.space(),g=e.element("div");for(let f=0;f<d.length;f+=1)d[f].c();D=e.space(),p&&p.c(),e.attr(n,"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"),e.attr(n,"stroke","#6E738F"),e.attr(n,"stroke-width","2"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(P,"class","CashierVerificationChevron"),e.toggle_class(P,"ShowVerifications",o[4]),e.attr(t,"class","VerificationsHeader"),e.attr(g,"class","VerificationsList"),e.toggle_class(g,"ShowVerifications",o[4])},m(f,k){e.insert(f,t,k),e.append(t,r),e.append(r,n),e.append(r,a),e.append(r,l),e.append(t,u),e.append(t,v),e.append(v,w),e.append(t,V),e.append(t,P),e.insert(f,C,k),e.insert(f,g,k);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(g,null);e.append(g,D),p&&p.m(g,null),b||(M=e.listen(t,"click",o[9]),b=!0)},p(f,k){if(k[0]&256&&_!==(_=f[8]("verificationsRequired")+"")&&e.set_data(w,_),k[0]&16&&e.toggle_class(P,"ShowVerifications",f[4]),k[0]&8){S=e.ensure_array_like(f[3]);let m;for(m=0;m<S.length;m+=1){const z=W(f,S,m);d[m]?d[m].p(z,k):(d[m]=X(z),d[m].c(),d[m].m(g,D))}for(;m<d.length;m+=1)d[m].d(1);d.length=S.length}f[6]?p?p.p(f,k):(p=K(f),p.c(),p.m(g,null)):p&&(p.d(1),p=null),k[0]&16&&e.toggle_class(g,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(C),e.detach(g)),e.destroy_each(d,f),p&&p.d(),b=!1,M()}}}function X(o){let t,r,n,a,l=o[56]+"";return{c(){t=e.element("div"),r=e.element("div"),r.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>',n=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(u,v){e.insert(u,t,v),e.append(t,r),e.append(t,n),e.append(t,a),a.innerHTML=l},p(u,v){v[0]&8&&l!==(l=u[56]+"")&&(a.innerHTML=l)},d(u){u&&e.detach(t)}}}function K(o){let t,r,n,a,l=o[8]("verification.video.how-to")+"",u,v,_;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',n=e.space(),a=e.element("div"),u=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",o[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,V){e.insert(w,t,V),e.append(t,r),e.append(t,n),e.append(t,a),e.append(a,u),v||(_=e.listen(t,"click",o[10]),v=!0)},p(w,V){V[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(u,l),V[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),v=!1,_()}}}function Pe(o){let t;function r(l,u){if(l[7])return _e;if(l[3])return be}let n=r(o),a=n&&n(o);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",o[5])},m(l,u){e.insert(l,t,u),a&&a.m(t,null),o[20](t)},p(l,u){n===(n=r(l))&&a?a.p(l,u):(a&&a.d(1),a=n&&n(l),a&&(a.c(),a.m(t,null))),u[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),o[20](null)}}}const Ce="verification_explanation_video_widgets.MP4";function De(o,t,r){let n,a;e.component_subscribe(o,e.$format,i=>r(8,n=i)),e.component_subscribe(o,e.xPaymentSessionToken,i=>r(29,a=i)),e.dayjs.extend(e.utc);let{endpoint:l}=t,{lang:u="en"}=t,{translationurl:v=""}=t,{clientstyling:_=""}=t,{clientstylingurl:w=""}=t,{session:V=""}=t,{customerid:P=""}=t,{playersession:C=""}=t,{userroles:g=""}=t,{mbsource:D=""}=t,b,M=new Set,S=new Set,d,p,f,k=!1,m=!0,z=!1,q="",E=!1,Z,T=[],G=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var F;(function(i){i.Requested="Requested"})(F||(F={}));var y;(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"})(y||(y={}));var B;(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"})(B||(B={}));const H=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",H),he(),()=>{window.removeEventListener("message",H)}));const Q=[y.InProgress,y.Referred,y.AwaitingForResponse],$=()=>{let i=v;if(i)return fetch(i).then(s=>s.json()).then(s=>{Object.keys(s).forEach(c=>{j(c,s[c])})}).catch(s=>{console.log(s)})};Object.keys(N).forEach(i=>{j(i,N[i])});const ee=()=>{ye(u)},I=()=>{r(19,p=re());const i=new URL(`${l}/v1/player/${P}/verification/GetKYCCustomerStatus?language=${u}`),s=new Headers;s.append("accept","application/json"),s.append("Content-Type","application/json"),s.append("x-sessionid",`${C}`),s.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(T)&&T.length>0&&T.indexOf("MM_CHANNEL_BETA")!=-1&&s.append("MM_CHANNEL","BETA");const c={method:"POST",headers:s,body:JSON.stringify({})};r(7,E=!0),fetch(i,c).then(h=>h.json()).then(h=>{const x=ie(h==null?void 0:h.Verifications);d=oe(x),d.VerificationStatuses.forEach(L=>{L.VerificationUrlType!=="Widget"&&M.add(L.Vendor)}),r(3,f=ce())}).finally(()=>r(7,E=!1))},ie=i=>i?i.sort((s,c)=>new Date(c.Created).getTime()-new Date(s.Created).getTime()):[],te=()=>{a&&I()},re=()=>{let i=(V||a).split(".")[1];if(i){let s=JSON.parse(atob(i));return s.cdn+"/cashier/operator-assets/"+(s==null?void 0:s.mid)}return""},oe=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const s=se(i);if(s&&s.length){const h=ne(s);return{VerificationSummaryStatus:h.Status,VerificationUrl:(c=h.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:U(s,h.Status)}}else return{VerificationSummaryStatus:i.some(x=>x.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:U(i,[y.Failed])}},ne=i=>i.reduce((s,c)=>s?new Date(s)<new Date(c)?c:s:c,0),U=(i,s)=>i.filter(c=>s.includes(c.Status)).map(c=>{var h,x;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(h=c.FlowInfo)==null?void 0:h.Type,VerificationUrl:(x=c.FlowInfo)==null?void 0:x.Url}}),se=i=>i.filter(s=>Q.includes(s.Status)?s.FlowInfo&&s.FlowInfo.Url||ae(s)||le(s):!1),ae=i=>{const s=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(h=>h.Status===F.Requested);return s&&c},le=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,ce=()=>{switch(d.VerificationSummaryStatus){case y.InProgress:const i=[];return M.forEach(s=>{i.push(fe(s))}),i;case y.Referred:return[n("verification.idenfy.referred-awaiting")];case y.Failed:return[n("verification.message.failed")]}},fe=i=>{const s=d.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return ue(s);{const c=n("verification.idenfy.link-name"),h={link:`<a href="${s[0].VerificationUrl}" target="_blank">${c}</a>`};return n("verification.idenfy.in-progress",{values:h})}},ue=i=>{const s=[],c={},h=[B.Biometric,B.Documents,B.ProofOfAddress];i.forEach(A=>{h.includes(A.Type)&&(s.push(A.Type),c[A.Type]=de(A,me(A.Type)))});let x=s.every(A=>S.has(A)),L=`verification.shuftipro.in-progress.${s.sort().join(".")}`;return x?n("verification.shuftipro.validations-started"):n(L,{values:c})},de=(i,s)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${s}</a>`,me=i=>n(`verification.shuftipro.link-name.${i}`),pe=()=>{r(4,k=!k)},he=()=>{r(5,m=!e.isMobile(G))},ge=()=>{q=p+"/"+u+"/"+Ce;try{fetch(q,{method:"HEAD"}).then(i=>{r(6,z=i.ok)})}catch(i){r(6,z=!1)}},ve=()=>{g.length>0&&(T=g.split(","))},we=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:q}}}))};function ke(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,r(2,b)})}return o.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,u=i.lang),"translationurl"in i&&r(13,v=i.translationurl),"clientstyling"in i&&r(0,_=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,V=i.session),"customerid"in i&&r(15,P=i.customerid),"playersession"in i&&r(16,C=i.playersession),"userroles"in i&&r(17,g=i.userroles),"mbsource"in i&&r(18,D=i.mbsource)},o.$$.update=()=>{o.$$.dirty[0]&131072&&g&&ve(),o.$$.dirty[0]&4096&&u&&ee(),o.$$.dirty[0]&83968&&l&&V&&C&&I(),o.$$.dirty[0]&83968&&l&&!V&&C&&te(),o.$$.dirty[0]&8192&&v&&$(),o.$$.dirty[0]&5&&_&&b&&R.setClientStyling(b,_),o.$$.dirty[0]&6&&w&&b&&R.setClientStylingURL(b,w),o.$$.dirty[0]&524288&&p&&ge(),o.$$.dirty[0]&262148&&D&&b&&R.setStreamStyling(b,`${D}.Style`,Z)},[_,w,b,f,k,m,z,E,n,pe,we,l,u,v,V,P,C,g,D,p,ke]}class J extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,De,Pe,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},Ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}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[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);exports.default=J;
@@ -1,4 +1,4 @@
1
- import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, X as r, o as t, E as k } from "./CashierCarousel-B-cM-nlR.js";
1
+ import { S as f, b as u, s as p, f as w, d as v, z as d, g as a, l as h, v as g, m as o, P as r, p as t, c as k } from "./CashierPage-N8z4Zzox.js";
2
2
  function _(n) {
3
3
  v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./CashierPage-flG2gyRG.cjs");function o(l){t.append_styles(l,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M9.02911 10.048C8.91711 10.056 8.80111 10.064 8.68111 10.072C8.56911 10.072 8.45311 10.072 8.33311 10.072C8.19711 10.072 8.06111 10.072 7.92511 10.072C7.78911 10.072 7.63711 10.064 7.46911 10.048V12.484C7.46911 12.74 7.40511 12.9 7.27711 12.964C7.15711 13.02 7.00511 13.048 6.82111 13.048C6.72511 13.048 6.64911 13.04 6.59311 13.024C6.53711 13.016 6.48911 12.996 6.44911 12.964C6.41711 12.924 6.38911 12.868 6.36511 12.796C6.34911 12.724 6.33711 12.624 6.32911 12.496C6.31311 12.352 6.30111 12.144 6.29311 11.872C6.28511 11.592 6.27711 11.232 6.26911 10.792C6.26911 10.352 6.26511 9.82 6.25711 9.196C6.25711 8.564 6.25711 7.824 6.25711 6.976C6.25711 6.648 6.29711 6.332 6.37711 6.028C6.45711 5.716 6.60111 5.444 6.80911 5.212C7.01711 4.972 7.29711 4.78 7.64911 4.636C8.00911 4.492 8.46511 4.42 9.01711 4.42C9.40911 4.42 9.78911 4.464 10.1571 4.552C10.5331 4.64 10.8651 4.792 11.1531 5.008C11.4411 5.224 11.6731 5.516 11.8491 5.884C12.0251 6.252 12.1131 6.712 12.1131 7.264C12.1131 8 11.9531 8.572 11.6331 8.98C11.3211 9.38 10.8891 9.664 10.3371 9.832L11.9451 12.04C12.0891 12.232 12.1611 12.428 12.1611 12.628C12.1611 12.788 12.1051 12.912 11.9931 13C11.8891 13.096 11.7571 13.144 11.5971 13.144C11.4211 13.144 11.2691 13.096 11.1411 13C11.0131 12.896 10.8931 12.764 10.7811 12.604L9.02911 10.048ZM10.9131 7.252C10.9131 6.7 10.7451 6.292 10.4091 6.028C10.0811 5.756 9.55711 5.62 8.83711 5.62C8.57311 5.62 8.35311 5.644 8.17711 5.692C8.00111 5.732 7.86111 5.812 7.75711 5.932C7.65311 6.052 7.57711 6.22 7.52911 6.436C7.48911 6.644 7.46911 6.912 7.46911 7.24C7.46911 7.472 7.46911 7.744 7.46911 8.056C7.46911 8.368 7.47311 8.652 7.48111 8.908C7.66511 8.916 7.86911 8.92 8.09311 8.92C8.32511 8.92 8.54111 8.92 8.74111 8.92C8.96511 8.92 9.20111 8.908 9.44911 8.884C9.70511 8.852 9.94111 8.78 10.1571 8.668C10.3731 8.548 10.5531 8.38 10.6971 8.164C10.8411 7.94 10.9131 7.636 10.9131 7.252Z"),t.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"),t.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function p(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function f(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M11.1679 12.388C11.0879 12.196 10.9999 11.976 10.9039 11.728C10.8159 11.472 10.7199 11.204 10.6159 10.924C10.3759 10.932 10.1239 10.94 9.85992 10.948C9.59592 10.948 9.32792 10.948 9.05592 10.948C8.71192 10.948 8.39992 10.948 8.11992 10.948C7.83992 10.948 7.58392 10.944 7.35192 10.936C7.25592 11.216 7.16392 11.48 7.07592 11.728C6.98792 11.976 6.90392 12.196 6.82392 12.388C6.66392 12.796 6.43192 13 6.12792 13C6.01592 13 5.90792 12.964 5.80392 12.892C5.70792 12.82 5.65992 12.716 5.65992 12.58C5.65992 12.444 5.68392 12.268 5.73192 12.052C5.77992 11.828 5.83992 11.592 5.91192 11.344C5.99192 11.088 6.07592 10.828 6.16392 10.564C6.25192 10.292 6.33592 10.04 6.41592 9.808C6.49592 9.552 6.60792 9.228 6.75192 8.836C6.90392 8.436 7.06392 8.02 7.23192 7.588C7.39992 7.156 7.56792 6.732 7.73592 6.316C7.90392 5.892 8.05592 5.524 8.19192 5.212C8.22392 5.132 8.26392 5.044 8.31192 4.948C8.35992 4.844 8.41592 4.748 8.47992 4.66C8.55192 4.572 8.62792 4.496 8.70792 4.432C8.79592 4.368 8.89192 4.336 8.99592 4.336C9.09992 4.336 9.19592 4.372 9.28392 4.444C9.37192 4.508 9.44792 4.588 9.51192 4.684C9.58392 4.78 9.64392 4.88 9.69192 4.984C9.74792 5.088 9.79192 5.18 9.82392 5.26C9.95192 5.58 10.0959 5.948 10.2559 6.364C10.4239 6.78 10.5879 7.2 10.7479 7.624C10.9159 8.048 11.0719 8.452 11.2159 8.836C11.3599 9.22 11.4759 9.544 11.5639 9.808C11.6359 10.04 11.7159 10.288 11.8039 10.552C11.8999 10.816 11.9879 11.076 12.0679 11.332C12.1479 11.588 12.2119 11.828 12.2599 12.052C12.3159 12.268 12.3439 12.444 12.3439 12.58C12.3439 12.716 12.2919 12.82 12.1879 12.892C12.0919 12.964 11.9879 13 11.8759 13C11.7319 13 11.5999 12.952 11.4799 12.856C11.3599 12.752 11.2559 12.596 11.1679 12.388ZM9.04392 9.748C9.23592 9.748 9.42792 9.752 9.61992 9.76C9.81192 9.76 10.0039 9.764 10.1959 9.772C10.0999 9.492 10.0039 9.212 9.90792 8.932C9.81192 8.652 9.71992 8.384 9.63192 8.128C9.55192 7.872 9.47592 7.636 9.40392 7.42C9.33992 7.196 9.28392 7 9.23592 6.832C9.20392 6.728 9.16792 6.644 9.12792 6.58C9.08792 6.516 9.03592 6.484 8.97192 6.484C8.90792 6.484 8.85592 6.52 8.81592 6.592C8.77592 6.656 8.73992 6.74 8.70792 6.844C8.61192 7.172 8.47592 7.6 8.29992 8.128C8.13192 8.648 7.95192 9.196 7.75992 9.772C7.97592 9.764 8.19192 9.76 8.40792 9.76C8.62392 9.752 8.83592 9.748 9.04392 9.748Z"),t.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(l){let e;function a(i,s){if(i[0]==="Authorized")return f;if(i[0]==="Failed")return p;if(i[0]==="Pending")return h;if(i[0]==="Rejected")return d;if(i[0]==="Success")return c}let r=a(l),n=r&&r(l);return{c(){n&&n.c(),e=t.empty()},m(i,s){n&&n.m(i,s),t.insert(i,e,s)},p(i,[s]){r!==(r=a(i))&&(n&&n.d(1),n=r&&r(i),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),n&&n.d(i)}}}function v(l,e,a){let{status:r=""}=e;return l.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;