@everymatrix/cashier-page 1.70.1 → 1.71.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 (59) hide show
  1. package/components/{CashierConfirmModal-untxGhsx.js → CashierConfirmModal-CV61pzu0.js} +35 -35
  2. package/components/{CashierConfirmModal-4RYp7Eiq.js → CashierConfirmModal-DV0Fu11y.js} +35 -35
  3. package/components/{CashierError-lJcr3S9j.js → CashierError-BkScPj8N.js} +673 -677
  4. package/components/{CashierError-B9QN5m8g.cjs → CashierError-KyWXtIu0.cjs} +16 -3
  5. package/components/{CashierError-B3QY-Z04.js → CashierError-ePGalbvr.js} +674 -678
  6. package/components/{CashierHeader-0a_PwGVg.js → CashierHeader-CmPaEysf.js} +36 -36
  7. package/components/{CashierHeader-6fDSkiu1.js → CashierHeader-Dg8-jl7B.js} +38 -38
  8. package/components/{CashierHeader-BWRxu_17.cjs → CashierHeader-Kzd3yvU8.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-Bxe3aDw_.js → CashierIframeRedirect-BQzmSTPm.js} +32 -32
  10. package/components/{CashierIframeRedirect-2c-BnFeJ.js → CashierIframeRedirect-BZ1-wCfX.js} +39 -39
  11. package/components/{CashierIframeRedirect-DnE9lXCw.cjs → CashierIframeRedirect-C4Kr5x_V.cjs} +1 -1
  12. package/components/{CashierMethodDetails-CbzQCKZu.js → CashierMethodDetails-B-Yt515D.js} +66 -65
  13. package/components/{CashierMethodDetails-C1IkwS7r.cjs → CashierMethodDetails-BtMH6r3Q.cjs} +3 -2
  14. package/components/{CashierMethodDetails-Bd3dJIne.js → CashierMethodDetails-u_rVUMoj.js} +66 -65
  15. package/components/{CashierMethodsList-wbpWQlt7.js → CashierMethodsList-B60-8CGj.js} +106 -106
  16. package/components/{CashierMethodsList-C1Roz4a7.js → CashierMethodsList-C0gKCE58.js} +111 -111
  17. package/components/{CashierMethodsList-GlWqnvHm.cjs → CashierMethodsList-D9ij1wCp.cjs} +1 -1
  18. package/components/{CashierModal-BrwIBn9a.js → CashierModal-BfZMj1i-.js} +35 -35
  19. package/components/{CashierModal-ZfKvGxFq.js → CashierModal-CYI7bxDr.js} +40 -40
  20. package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-CpgeC0kF.js} +18 -18
  21. package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-DvJFewVg.js} +19 -19
  22. package/components/{CashierPage-CeDNrFtr.cjs → CashierPage-BSMzlPhS.cjs} +1 -1
  23. package/components/{CashierPage-DHASkcsL.js → CashierPage-COc6NFhD.js} +105 -105
  24. package/components/{CashierPage-D1XOiV_V.js → CashierPage-DHBbqUWt.js} +178 -178
  25. package/components/{CashierReceiptPage-BnvakxJQ.js → CashierReceiptPage-CBDfIMBb.js} +28 -28
  26. package/components/{CashierReceiptPage-DT0yYD3A.cjs → CashierReceiptPage-D3Bw6Tn_.cjs} +1 -1
  27. package/components/{CashierReceiptPage--u9KEoCs.js → CashierReceiptPage-D_NQ57Oy.js} +28 -28
  28. package/components/{CashierSessionExpirationModal-DT7l33oM.js → CashierSessionExpirationModal-BkTqdGkm.js} +55 -46
  29. package/components/{CashierSessionExpirationModal-DQBxk3nF.cjs → CashierSessionExpirationModal-C6AxEE9Y.cjs} +2 -2
  30. package/components/{CashierSessionExpirationModal-BM6h05_P.js → CashierSessionExpirationModal-DTUpUyPG.js} +55 -46
  31. package/components/{CashierSpinner-y6HodxHT.js → CashierSpinner-CW0tb4Ek.js} +14 -14
  32. package/components/{CashierSpinner-BAfTKICK.js → CashierSpinner-CnPYs9vs.js} +17 -17
  33. package/components/{CashierTransactionHistory-DxaRw8iZ.js → CashierTransactionHistory-Bup4C8pj.js} +82 -82
  34. package/components/{CashierTransactionHistory-75SCP1rv.cjs → CashierTransactionHistory-CEpCPJlj.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-CfdEK8dI.js → CashierTransactionHistory-CNWv0g4p.js} +95 -95
  36. package/components/{CashierVerifications-BTorcj-t.cjs → CashierVerifications-6dPbzzfx.cjs} +1 -1
  37. package/components/{CashierVerifications-BvPWg9O1.js → CashierVerifications-CSGLTMyK.js} +137 -137
  38. package/components/{CashierVerifications-Bt9z1qXM.js → CashierVerifications-CkLyuHXz.js} +47 -47
  39. package/components/{CashierVideoModal-DHNu0BQz.js → CashierVideoModal-D5QKr-_P.js} +38 -38
  40. package/components/{CashierVideoModal-CVDvqrcy.js → CashierVideoModal-onqH-Fiw.js} +39 -39
  41. package/es2015/cashier-page.cjs +1 -1
  42. package/es2015/cashier-page.js +1 -1
  43. package/esnext/cashier-page.js +1 -1
  44. package/package.json +1 -1
  45. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  46. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  47. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  48. package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-BMiZteNE.cjs} +1 -1
  49. package/stencil/{ui-image-BY8ZO6br.js → ui-image-BW8AeEVd.js} +1 -1
  50. package/stencil/{ui-image-DfVgiF6v.js → ui-image-CX3MBBZL.js} +1 -1
  51. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  52. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  53. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  54. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  55. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  56. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-_K8Pt3w9.js} +2 -2
  57. package/stencil/index-97d17652-B0NIExnR.js +0 -558
  58. package/stencil/index-97d17652-D6HPqRtr.js +0 -542
  59. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { S as Oe, b as Be, s as Me, f as y, c as Le, n as Z, e as C, J as O, m as S, p as w, v as V, w as X, K as Q, L as xe, D, q as T, A as qe, o as k, B as H, y as Fe, z as ze, E as Ie } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-lJcr3S9j.js";
3
- import { d as $, u as Ne, x as je } from "./CashierMethodDetails-CbzQCKZu.js";
1
+ import { S as Oe, b as Me, f as y, c as Be, a as Le, d as xe, g as w, j as V, I as O, k as C, n as J, v as S, w as X, K as Q, h as T, E as D, M as qe, l as k, A as H, y as Fe, z as ze, C as Ie } from "./CashierConfirmModal-DV0Fu11y.js";
2
+ import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-BkScPj8N.js";
3
+ import { d as $, u as je, x as Ne } from "./CashierMethodDetails-B-Yt515D.js";
4
4
  function ee(t, i) {
5
5
  Ee(t, i);
6
6
  }
@@ -77,12 +77,12 @@ if (typeof window != "undefined") {
77
77
  }
78
78
  };
79
79
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-DHNu0BQz.js").then(({ default: i }) => {
80
+ customElements.define = t(customElements.define), import("./CashierVideoModal-onqH-Fiw.js").then(({ default: i }) => {
81
81
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
82
  });
83
83
  }
84
84
  function Ke(t) {
85
- Le(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
85
+ xe(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
86
86
  }
87
87
  function te(t, i, r) {
88
88
  const n = t.slice();
@@ -127,10 +127,10 @@ function re(t) {
127
127
  );
128
128
  },
129
129
  m(a, u) {
130
- S(a, i, u);
130
+ C(a, i, u);
131
131
  for (let s = 0; s < f.length; s += 1)
132
132
  f[s] && f[s].m(i, null);
133
- S(a, r, u), h && h.m(a, u), S(a, n, u), S(a, c, u);
133
+ C(a, r, u), h && h.m(a, u), C(a, n, u), C(a, c, u);
134
134
  },
135
135
  p(a, u) {
136
136
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -176,7 +176,7 @@ function re(t) {
176
176
  );
177
177
  },
178
178
  d(a) {
179
- a && (C(i), C(r), C(n), C(c)), xe(f, a), h && h.d(a);
179
+ a && (S(i), S(r), S(n), S(c)), qe(f, a), h && h.d(a);
180
180
  }
181
181
  };
182
182
  }
@@ -197,13 +197,13 @@ function oe(t) {
197
197
  i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
198
198
  },
199
199
  m(d, f) {
200
- S(d, i, f), r || (n = H(i, "click", c), r = !0);
200
+ C(d, i, f), r || (n = H(i, "click", c), r = !0);
201
201
  },
202
202
  p(d, f) {
203
203
  t = d;
204
204
  },
205
205
  d(d) {
206
- d && C(i), r = !1, n();
206
+ d && S(i), r = !1, n();
207
207
  }
208
208
  };
209
209
  }
@@ -236,7 +236,7 @@ function se(t) {
236
236
  );
237
237
  },
238
238
  m(g, v) {
239
- S(g, i, v), k(i, r), k(i, n), k(i, c), c.innerHTML = d, k(i, f), s && s.m(i, null), k(i, h), a || (u = H(i, "click", P), a = !0);
239
+ C(g, i, v), k(i, r), k(i, n), k(i, c), c.innerHTML = d, k(i, f), s && s.m(i, null), k(i, h), a || (u = H(i, "click", P), a = !0);
240
240
  },
241
241
  p(g, v) {
242
242
  t = g, v[0] & /*displayMessages*/
@@ -252,7 +252,7 @@ function se(t) {
252
252
  );
253
253
  },
254
254
  d(g) {
255
- g && C(i), s && s.d(), a = !1, u();
255
+ g && S(i), s && s.d(), a = !1, u();
256
256
  }
257
257
  };
258
258
  }
@@ -263,7 +263,7 @@ function ne(t) {
263
263
  ), f, h, a;
264
264
  return {
265
265
  c() {
266
- i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = T(), c = w("div"), f = ze(d), V(r, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), O(
266
+ i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = T(), c = w("div"), f = Fe(d), V(r, "class", "IconVideo"), V(c, "class", "CashierVerificationVideoLink"), O(
267
267
  c,
268
268
  "CashierVerificationVideoLinkDesktop",
269
269
  /*desktopView*/
@@ -271,7 +271,7 @@ function ne(t) {
271
271
  ), V(i, "class", "CashierVerificationVideo");
272
272
  },
273
273
  m(u, s) {
274
- S(u, i, s), k(i, r), k(i, n), k(i, c), k(c, f), h || (a = H(
274
+ C(u, i, s), k(i, r), k(i, n), k(i, c), k(c, f), h || (a = H(
275
275
  c,
276
276
  "click",
277
277
  /*click_handler_2*/
@@ -281,7 +281,7 @@ function ne(t) {
281
281
  p(u, s) {
282
282
  s[0] & /*$_*/
283
283
  512 && d !== (d = /*$_*/
284
- u[9]("verification.video.how-to") + "") && Fe(f, d), s[0] & /*desktopView*/
284
+ u[9]("verification.video.how-to") + "") && ze(f, d), s[0] & /*desktopView*/
285
285
  64 && O(
286
286
  c,
287
287
  "CashierVerificationVideoLinkDesktop",
@@ -290,7 +290,7 @@ function ne(t) {
290
290
  );
291
291
  },
292
292
  d(u) {
293
- u && C(i), h = !1, a();
293
+ u && S(i), h = !1, a();
294
294
  }
295
295
  };
296
296
  }
@@ -309,7 +309,7 @@ function Ye(t) {
309
309
  );
310
310
  },
311
311
  m(n, c) {
312
- S(n, i, c), r && r.m(i, null), t[22](i);
312
+ C(n, i, c), r && r.m(i, null), t[22](i);
313
313
  },
314
314
  p(n, c) {
315
315
  /*displayMessages*/
@@ -321,22 +321,22 @@ function Ye(t) {
321
321
  n[6]
322
322
  );
323
323
  },
324
- i: Z,
325
- o: Z,
324
+ i: J,
325
+ o: J,
326
326
  d(n) {
327
- n && C(i), r && r.d(), t[22](null);
327
+ n && S(i), r && r.d(), t[22](null);
328
328
  }
329
329
  };
330
330
  }
331
331
  const Ge = "verification_explanation_video_widgets.MP4";
332
- function Je(t, i, r) {
332
+ function Ze(t, i, r) {
333
333
  let n, c;
334
- X(t, He, (e) => r(9, n = e)), X(t, je, (e) => r(28, c = e)), $.extend(Ne);
335
- let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: P = "" } = i, { ismobileview: g = "" } = i, { playersession: v = "" } = i, _, N = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, x, F, z = !0, W = !0, I = !1, E = "";
336
- var B;
334
+ X(t, He, (e) => r(9, n = e)), X(t, Ne, (e) => r(28, c = e)), $.extend(je);
335
+ let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: P = "" } = i, { ismobileview: g = "" } = i, { playersession: v = "" } = i, _, j = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set(), L, x, F, z = !0, W = !0, I = !1, E = "";
336
+ var M;
337
337
  (function(e) {
338
338
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
339
- })(B || (B = {}));
339
+ })(M || (M = {}));
340
340
  var R;
341
341
  (function(e) {
342
342
  e.Requested = "Requested";
@@ -345,10 +345,10 @@ function Je(t, i, r) {
345
345
  (function(e) {
346
346
  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";
347
347
  })(p || (p = {}));
348
- var M;
348
+ var B;
349
349
  (function(e) {
350
350
  e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
351
- })(M || (M = {}));
351
+ })(B || (B = {}));
352
352
  const ae = [
353
353
  p.InProgress,
354
354
  p.Referred,
@@ -394,7 +394,7 @@ function Je(t, i, r) {
394
394
  fetch(e, l).then((m) => m.json()).then((m) => {
395
395
  const b = ue(m == null ? void 0 : m.Verifications);
396
396
  L = pe(b), L.VerificationStatuses.forEach((q) => {
397
- q.VerificationUrlType !== "Widget" && N.add(q.Vendor);
397
+ q.VerificationUrlType !== "Widget" && j.add(q.Vendor);
398
398
  }), r(4, F = G());
399
399
  });
400
400
  }, ue = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], he = () => {
@@ -439,13 +439,13 @@ function Je(t, i, r) {
439
439
  VerificationUrl: (b = l.FlowInfo) == null ? void 0 : b.Url
440
440
  };
441
441
  }), ve = (e) => e.filter((o) => ae.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || we(o) || ye(o) : !1), we = (e) => {
442
- const o = e.Documents && e.VendorName === B.Manual, l = e.Documents && e.Documents.some((m) => m.Status === R.Requested);
442
+ const o = e.Documents && e.VendorName === M.Manual, l = e.Documents && e.Documents.some((m) => m.Status === R.Requested);
443
443
  return o && l;
444
- }, ye = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, G = () => {
444
+ }, ye = (e) => e.VendorName === M.ShuftiPro && e.Status === p.Referred, G = () => {
445
445
  switch (L.VerificationSummaryStatus) {
446
446
  case p.InProgress:
447
447
  const e = [];
448
- return N.forEach((o) => {
448
+ return j.forEach((o) => {
449
449
  e.push(ke(o));
450
450
  }), e;
451
451
  case p.Referred:
@@ -455,7 +455,7 @@ function Je(t, i, r) {
455
455
  }
456
456
  }, ke = (e) => {
457
457
  const o = L.VerificationStatuses.filter((l) => l.Vendor === e);
458
- if (e === B.ShuftiPro)
458
+ if (e === M.ShuftiPro)
459
459
  return Ve(o);
460
460
  {
461
461
  const l = n("verification.idenfy.link-name"), m = {
@@ -465,20 +465,20 @@ function Je(t, i, r) {
465
465
  }
466
466
  }, Ve = (e) => {
467
467
  const o = [], l = {}, m = [
468
- M.Biometric,
469
- M.Documents,
470
- M.ProofOfAddress
468
+ B.Biometric,
469
+ B.Documents,
470
+ B.ProofOfAddress
471
471
  ];
472
472
  e.forEach((A) => {
473
473
  m.includes(A.Type) && (o.push(A.Type), l[A.Type] = Pe(A, be(A.Type)));
474
474
  });
475
- let b = o.every((A) => j.has(A)), q = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
475
+ let b = o.every((A) => N.has(A)), q = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
476
476
  return b ? n("verification.shuftipro.validations-started") : n(q, { values: l });
477
477
  }, Pe = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, be = (e) => n(`verification.shuftipro.link-name.${e}`), U = (e, o) => {
478
478
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
479
479
  if (e.target.closest(".verificationLink")) {
480
480
  const l = e.target.className.split(" ")[1];
481
- j.add(l), r(4, F = G());
481
+ N.add(l), r(4, F = G());
482
482
  }
483
483
  return;
484
484
  }
@@ -494,11 +494,11 @@ function Je(t, i, r) {
494
494
  } catch (e) {
495
495
  r(7, I = !1);
496
496
  }
497
- }, J = () => {
497
+ }, Z = () => {
498
498
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
499
- }, Se = (e, o) => U(o, e), _e = (e, o) => U(o, e), Ae = () => J();
499
+ }, Se = (e, o) => U(o, e), _e = (e, o) => U(o, e), Ae = () => Z();
500
500
  function Te(e) {
501
- qe[e ? "unshift" : "push"](() => {
501
+ Ie[e ? "unshift" : "push"](() => {
502
502
  _ = e, r(3, _);
503
503
  });
504
504
  }
@@ -526,7 +526,7 @@ function Je(t, i, r) {
526
526
  E,
527
527
  n,
528
528
  U,
529
- J,
529
+ Z,
530
530
  d,
531
531
  f,
532
532
  h,
@@ -540,14 +540,14 @@ function Je(t, i, r) {
540
540
  Te
541
541
  ];
542
542
  }
543
- class Ze extends Oe {
543
+ class Je extends Oe {
544
544
  constructor(i) {
545
- super(), Be(
545
+ super(), Me(
546
546
  this,
547
547
  i,
548
- Je,
548
+ Ze,
549
549
  Ye,
550
- Me,
550
+ Le,
551
551
  {
552
552
  endpoint: 12,
553
553
  lang: 13,
@@ -618,7 +618,7 @@ class Ze extends Oe {
618
618
  this.$$set({ playersession: i }), y();
619
619
  }
620
620
  }
621
- Ie(Ze, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
621
+ Be(Je, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
622
622
  export {
623
- Ze as default
623
+ Je as default
624
624
  };
@@ -1,6 +1,6 @@
1
- import { S as T, b as N, s as R, f as p, c as U, n as m, e as v, m as _, x as Z, H as j, C as b, v as n, J as k, o as g, p as C, q as V, A, B as H, N as w, E as F } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- function J(s) {
3
- U(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
1
+ import { S as q, b as B, f as p, c as R, a as U, d as Z, x as A, k as v, n as m, v as _, G as F, g as C, h as b, D as k, j as n, I as V, l as g, O as w, A as H, C as G } from "./CashierConfirmModal-CV61pzu0.js";
2
+ function I(s) {
3
+ Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4
4
  }
5
5
  function M(s) {
6
6
  let e, i, t, o, r, f, u, c = !/*desktopView*/
@@ -10,8 +10,8 @@ function M(s) {
10
10
  );
11
11
  return {
12
12
  c() {
13
- e = C("div"), c && c.c(), i = V(), t = C("div"), l && l.c(), o = V(), r = C("video"), f = C("source"), b(f.src, u = /*videosrc*/
14
- s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), k(
13
+ e = C("div"), c && c.c(), i = b(), t = C("div"), l && l.c(), o = b(), r = C("video"), f = C("source"), k(f.src, u = /*videosrc*/
14
+ s[0]) || n(f, "src", u), r.autoplay = !0, r.controls = !0, n(r, "controlslist", "nodownload"), n(r, "disablepictureinpicture", ""), n(t, "class", "CashierVideo"), n(e, "class", "CashierVideoWrapper"), n(e, "part", "CustomStylingContainer"), V(
15
15
  e,
16
16
  "CashierVideoWrapperDesktop",
17
17
  /*desktopView*/
@@ -19,15 +19,15 @@ function M(s) {
19
19
  );
20
20
  },
21
21
  m(d, h) {
22
- _(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
22
+ v(d, e, h), c && c.m(e, null), g(e, i), g(e, t), l && l.m(t, null), g(t, o), g(t, r), g(r, f), s[10](e);
23
23
  },
24
24
  p(d, h) {
25
25
  /*desktopView*/
26
26
  d[2] ? c && (c.d(1), c = null) : c ? c.p(d, h) : (c = S(d), c.c(), c.m(e, i)), /*desktopView*/
27
27
  d[2] ? l ? l.p(d, h) : (l = x(d), l.c(), l.m(t, o)) : l && (l.d(1), l = null), h & /*videosrc*/
28
- 1 && !b(f.src, u = /*videosrc*/
28
+ 1 && !k(f.src, u = /*videosrc*/
29
29
  d[0]) && n(f, "src", u), h & /*desktopView*/
30
- 4 && k(
30
+ 4 && V(
31
31
  e,
32
32
  "CashierVideoWrapperDesktop",
33
33
  /*desktopView*/
@@ -35,7 +35,7 @@ function M(s) {
35
35
  );
36
36
  },
37
37
  d(d) {
38
- d && v(e), c && c.d(), l && l.d(), s[10](null);
38
+ d && _(e), c && c.d(), l && l.d(), s[10](null);
39
39
  }
40
40
  };
41
41
  }
@@ -46,7 +46,7 @@ function S(s) {
46
46
  e = C("div"), i = w("svg"), t = w("path"), n(t, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(t, "fill", "#111111"), n(i, "xmlns", "http://www.w3.org/2000/svg"), n(i, "width", "13"), n(i, "height", "13"), n(i, "viewBox", "0 0 13 13"), n(i, "fill", "none"), n(e, "class", "CashierVideoHeader");
47
47
  },
48
48
  m(f, u) {
49
- _(f, e, u), g(e, i), g(i, t), o || (r = H(
49
+ v(f, e, u), g(e, i), g(i, t), o || (r = H(
50
50
  i,
51
51
  "click",
52
52
  /*click_handler*/
@@ -55,7 +55,7 @@ function S(s) {
55
55
  },
56
56
  p: m,
57
57
  d(f) {
58
- f && v(e), o = !1, r();
58
+ f && _(e), o = !1, r();
59
59
  }
60
60
  };
61
61
  }
@@ -66,7 +66,7 @@ function x(s) {
66
66
  e = w("svg"), i = w("path"), n(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), n(i, "fill", "#111111"), n(e, "xmlns", "http://www.w3.org/2000/svg"), n(e, "width", "13"), n(e, "height", "13"), n(e, "viewBox", "0 0 13 13"), n(e, "fill", "none");
67
67
  },
68
68
  m(r, f) {
69
- _(r, e, f), g(e, i), t || (o = H(
69
+ v(r, e, f), g(e, i), t || (o = H(
70
70
  e,
71
71
  "click",
72
72
  /*click_handler_1*/
@@ -75,21 +75,21 @@ function x(s) {
75
75
  },
76
76
  p: m,
77
77
  d(r) {
78
- r && v(e), t = !1, o();
78
+ r && _(e), t = !1, o();
79
79
  }
80
80
  };
81
81
  }
82
- function G(s) {
82
+ function N(s) {
83
83
  let e, i = (
84
84
  /*show*/
85
85
  s[3] && M(s)
86
86
  );
87
87
  return {
88
88
  c() {
89
- i && i.c(), e = Z();
89
+ i && i.c(), e = A();
90
90
  },
91
91
  m(t, o) {
92
- i && i.m(t, o), _(t, e, o);
92
+ i && i.m(t, o), v(t, e, o);
93
93
  },
94
94
  p(t, [o]) {
95
95
  /*show*/
@@ -98,22 +98,22 @@ function G(s) {
98
98
  i: m,
99
99
  o: m,
100
100
  d(t) {
101
- t && v(e), i && i.d(t);
101
+ t && _(e), i && i.d(t);
102
102
  }
103
103
  };
104
104
  }
105
- function I(s, e, i) {
105
+ function O(s, e, i) {
106
106
  let { clientstyling: t = "" } = e, { clientstylingurl: o = "" } = e, { ismobileview: r } = e, { videosrc: f } = e, u = !0, c = !1, l;
107
107
  const d = () => {
108
108
  i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
109
109
  }, h = (a) => {
110
110
  a.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), a.data.type == "HideCashierVideoModal" && d();
111
- }, E = () => {
112
- i(2, u = r === "false");
113
111
  }, z = () => {
112
+ i(2, u = r === "false");
113
+ }, D = () => {
114
114
  let a = document.createElement("style");
115
115
  a.innerHTML = t, l.appendChild(a);
116
- }, D = () => {
116
+ }, E = () => {
117
117
  let a = new URL(o), L = document.createElement("style");
118
118
  fetch(a.href).then((y) => y.text()).then((y) => {
119
119
  L.innerHTML = y, setTimeout(
@@ -124,12 +124,12 @@ function I(s, e, i) {
124
124
  );
125
125
  });
126
126
  };
127
- j(() => (window.addEventListener("message", h, !1), () => {
127
+ F(() => (window.addEventListener("message", h, !1), () => {
128
128
  window.removeEventListener("message", h);
129
129
  }));
130
- const W = () => d(), q = () => d();
131
- function B(a) {
132
- A[a ? "unshift" : "push"](() => {
130
+ const W = () => d(), T = () => d();
131
+ function j(a) {
132
+ G[a ? "unshift" : "push"](() => {
133
133
  l = a, i(1, l);
134
134
  });
135
135
  }
@@ -137,9 +137,9 @@ function I(s, e, i) {
137
137
  "clientstyling" in a && i(5, t = a.clientstyling), "clientstylingurl" in a && i(6, o = a.clientstylingurl), "ismobileview" in a && i(7, r = a.ismobileview), "videosrc" in a && i(0, f = a.videosrc);
138
138
  }, s.$$.update = () => {
139
139
  s.$$.dirty & /*ismobileview*/
140
- 128 && r && E(), s.$$.dirty & /*clientstyling, customStylingContainer*/
141
- 34 && t && l && z(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
142
- 66 && o && l && D();
140
+ 128 && r && z(), s.$$.dirty & /*clientstyling, customStylingContainer*/
141
+ 34 && t && l && D(), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
142
+ 66 && o && l && E();
143
143
  }, [
144
144
  f,
145
145
  l,
@@ -150,25 +150,25 @@ function I(s, e, i) {
150
150
  o,
151
151
  r,
152
152
  W,
153
- q,
154
- B
153
+ T,
154
+ j
155
155
  ];
156
156
  }
157
- class K extends T {
157
+ class J extends q {
158
158
  constructor(e) {
159
- super(), N(
159
+ super(), B(
160
160
  this,
161
161
  e,
162
- I,
163
- G,
164
- R,
162
+ O,
163
+ N,
164
+ U,
165
165
  {
166
166
  clientstyling: 5,
167
167
  clientstylingurl: 6,
168
168
  ismobileview: 7,
169
169
  videosrc: 0
170
170
  },
171
- J
171
+ I
172
172
  );
173
173
  }
174
174
  get clientstyling() {
@@ -196,7 +196,7 @@ class K extends T {
196
196
  this.$$set({ videosrc: e }), p();
197
197
  }
198
198
  }
199
- F(K, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
199
+ R(J, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {} }, [], [], !0);
200
200
  export {
201
- K as default
201
+ J as default
202
202
  };