@everymatrix/cashier-page 1.85.16 → 1.85.18

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 (82) hide show
  1. package/components/{CashierCarousel-D9RhCULN.js → CashierCarousel-Cf2c1vPp.js} +1938 -1376
  2. package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-CsnmOP94.js} +1961 -1398
  3. package/components/CashierCarousel-DHmjrgBC.cjs +23 -0
  4. package/components/CashierError-BDmChuIE.js +438 -0
  5. package/components/CashierError-BIiEXbdF.js +438 -0
  6. package/components/CashierError-CLWqWwfU.cjs +1 -0
  7. package/components/CashierHeader-CP7RROYr.cjs +1 -0
  8. package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-Cecv5g56.js} +51 -51
  9. package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-Dd5b4-yJ.js} +47 -47
  10. package/components/CashierIframeRedirect-BXrhvi-f.cjs +1 -0
  11. package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-DMYVav-v.js} +51 -51
  12. package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-reE-yTgQ.js} +45 -45
  13. package/components/CashierMethodDetails-DMWm-2jm.js +9918 -0
  14. package/components/CashierMethodDetails-Dqye22rm.cjs +85 -0
  15. package/components/CashierMethodDetails-wpPiw7iF.js +9878 -0
  16. package/components/CashierMethodsList-3cUFLT6G.js +825 -0
  17. package/components/CashierMethodsList-Cu_kh22f.cjs +1 -0
  18. package/components/CashierMethodsList-DLD2m0bS.js +810 -0
  19. package/components/CashierModal-C-jze_SD.js +342 -0
  20. package/components/CashierModal-DVeVHCTj.cjs +1 -0
  21. package/components/CashierModal-Dclaqxyx.js +358 -0
  22. package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-BVUb_REU.js} +13 -13
  23. package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-COlT367w.js} +13 -13
  24. package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-DdrhkPqp.cjs} +1 -1
  25. package/components/CashierPage-BZrMKgWP.js +3848 -0
  26. package/components/CashierPage-CNxxSYGB.cjs +1 -0
  27. package/components/CashierPage-DXq4FlWN.js +3822 -0
  28. package/components/{CashierReceiptPage-ctSAsYol.js → CashierReceiptPage-BDZFgJSl.js} +894 -744
  29. package/components/{CashierReceiptPage-xNlmU_u-.js → CashierReceiptPage-aqMEl6Er.js} +887 -737
  30. package/components/CashierReceiptPage-fKiQGusu.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-DbkIQJ-J.js → CashierSessionExpirationModal-BqgXO3EK.js} +238 -238
  32. package/components/CashierSessionExpirationModal-UM35srIk.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DJxx7PT2.js → CashierSessionExpirationModal-lONAKt8s.js} +202 -202
  34. package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-BQWOaYce.js} +8 -8
  35. package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-D5McPkCt.cjs} +1 -1
  36. package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-DZSuVNPM.js} +6 -6
  37. package/components/CashierStepUp-DWd3cylJ.cjs +1 -0
  38. package/components/CashierStepUp-DyfuU9cc.js +1109 -0
  39. package/components/CashierStepUp-sBUhsV5t.js +1070 -0
  40. package/components/CashierTransactionHistory-DG7eCAHQ.js +1305 -0
  41. package/components/CashierTransactionHistory-EZ0xgsVJ.js +1305 -0
  42. package/components/CashierTransactionHistory-MUYg9ooO.cjs +1 -0
  43. package/components/CashierVerifications-BbUQaFnO.cjs +1 -0
  44. package/components/{CashierVerifications-DyEtjk9T.js → CashierVerifications-Cz6b5MUe.js} +159 -159
  45. package/components/{CashierVerifications-OqNAPlvP.js → CashierVerifications-kIOoUzVh.js} +144 -144
  46. package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-BhtPQm1B.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-DMKCkAXd.js} +1 -1
  48. package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-ty2g5_He.js} +1 -1
  49. package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-B5CYl9NW.js} +1 -1
  50. package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-CyHXLkXz.cjs} +1 -1
  51. package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-D_bSXM7r.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +2 -2
  54. package/esnext/cashier-page.js +2 -2
  55. package/package.json +1 -1
  56. package/stencil/{index-b2193545-CEVSYa3a.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
  57. package/stencil/{ui-skeleton-CjyC3-3H.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
  58. package/stencil/{ui-skeleton-ed169f8f-Cb3lsf1V.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
  59. package/components/CashierCarousel-DXPbv83E.cjs +0 -23
  60. package/components/CashierError-BrNzlEVN.js +0 -478
  61. package/components/CashierError-C8pJvoqH.cjs +0 -1
  62. package/components/CashierError-eoaZt-lY.js +0 -478
  63. package/components/CashierHeader-B3IckLiD.cjs +0 -1
  64. package/components/CashierIframeRedirect-CdQkuIPa.cjs +0 -1
  65. package/components/CashierMethodDetails-C-vMOTBK.cjs +0 -85
  66. package/components/CashierMethodDetails-CHTQD5q8.js +0 -9014
  67. package/components/CashierMethodDetails-nseWnQWW.js +0 -8995
  68. package/components/CashierMethodsList-Bk6wZ8bj.js +0 -733
  69. package/components/CashierMethodsList-CDXei8fp.cjs +0 -1
  70. package/components/CashierMethodsList-DmYBXQ0H.js +0 -745
  71. package/components/CashierModal-By3PyyVz.js +0 -268
  72. package/components/CashierModal-D2cxw8Kv.cjs +0 -1
  73. package/components/CashierModal-pKGYmx2d.js +0 -268
  74. package/components/CashierPage-Bvp8N4fC.cjs +0 -1
  75. package/components/CashierPage-DYIYpRj6.js +0 -2619
  76. package/components/CashierPage-Ddeo-vHf.js +0 -2619
  77. package/components/CashierReceiptPage-C0VpFZGT.cjs +0 -26
  78. package/components/CashierSessionExpirationModal-DgpP9ZIj.cjs +0 -2
  79. package/components/CashierTransactionHistory-8T01T0tU.js +0 -1305
  80. package/components/CashierTransactionHistory-CIy5cCml.cjs +0 -1
  81. package/components/CashierTransactionHistory-Cd8u6Bhf.js +0 -1305
  82. package/components/CashierVerifications-5x8_YW9j.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as q, i as N, $ as U, S as Z, b as F, s as G, f as b, c as P, I as L, e as v, B as a, A as S, q as w, m as k, n as _, C as H, o as p, p as E, v as J, z as K, D as Q, E as V, F as W, G as X } from "./CashierCarousel-C-jIotRi.js";
1
+ import { a as A, i as N, $ as U, S as Z, b as F, s as G, f as b, c as P, G as L, e as k, A as a, z as S, o as w, k as v, l as _, x as H, m as p, n as E, q as J, y as K, B as Q, C as V, D as W, E as X } from "./CashierCarousel-CsnmOP94.js";
2
2
  if (typeof window != "undefined") {
3
3
  let i = function(e) {
4
4
  return function(...t) {
@@ -11,12 +11,12 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = i(customElements.define), import("./CashierHeader-CK_NVBvX.js").then(({ default: e }) => {
14
+ customElements.define = i(customElements.define), import("./CashierHeader-Cecv5g56.js").then(({ default: e }) => {
15
15
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
16
16
  });
17
17
  }
18
18
  function R(i, e) {
19
- q(i, e);
19
+ A(i, e);
20
20
  }
21
21
  function Y(i) {
22
22
  N({
@@ -52,21 +52,21 @@ if (typeof window != "undefined") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-CIpXwm9I.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-DZSuVNPM.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }
59
59
  function x(i) {
60
- P(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
60
+ P(i, "svelte-1ex0q4o", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
61
61
  }
62
- function I(i) {
62
+ function j(i) {
63
63
  let e, t, n;
64
64
  return {
65
65
  c() {
66
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
66
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
67
67
  },
68
- m(f, h) {
69
- k(f, e, h), t || (n = H(
68
+ m(f, m) {
69
+ v(f, e, m), t || (n = H(
70
70
  e,
71
71
  "click",
72
72
  /*close*/
@@ -75,18 +75,18 @@ function I(i) {
75
75
  },
76
76
  p: L,
77
77
  d(f) {
78
- f && v(e), t = !1, n();
78
+ f && k(e), t = !1, n();
79
79
  }
80
80
  };
81
81
  }
82
- function O(i) {
82
+ function I(i) {
83
83
  let e, t, n;
84
84
  return {
85
85
  c() {
86
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
86
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
87
87
  },
88
- m(f, h) {
89
- k(f, e, h), t || (n = H(
88
+ m(f, m) {
89
+ v(f, e, m), t || (n = H(
90
90
  e,
91
91
  "click",
92
92
  /*close*/
@@ -95,11 +95,11 @@ function O(i) {
95
95
  },
96
96
  p: L,
97
97
  d(f) {
98
- f && v(e), t = !1, n();
98
+ f && k(e), t = !1, n();
99
99
  }
100
100
  };
101
101
  }
102
- function T(i) {
102
+ function O(i) {
103
103
  let e;
104
104
  return {
105
105
  c() {
@@ -121,7 +121,7 @@ function T(i) {
121
121
  );
122
122
  },
123
123
  m(t, n) {
124
- k(t, e, n);
124
+ v(t, e, n);
125
125
  },
126
126
  p(t, n) {
127
127
  n & /*clientstylingurl*/
@@ -145,22 +145,22 @@ function T(i) {
145
145
  );
146
146
  },
147
147
  d(t) {
148
- t && v(e);
148
+ t && k(e);
149
149
  }
150
150
  };
151
151
  }
152
152
  function $(i) {
153
- let e, t, n, f, h, m, d, g, C, o = !!/*showbackbutton*/
153
+ let e, t, n, f, m, h, d, g, y, o = !!/*showbackbutton*/
154
154
  i[3] && /*showbackbutton*/
155
- i[3] !== "false" && I(i), r = (!/*showbackbutton*/
155
+ i[3] !== "false" && j(i), r = (!/*showbackbutton*/
156
156
  i[3] || /*showbackbutton*/
157
- i[3] === "false") && O(i), c = (
157
+ i[3] === "false") && I(i), c = (
158
158
  /*isLoading*/
159
- i[9] && T(i)
159
+ i[9] && O(i)
160
160
  );
161
161
  return {
162
162
  c() {
163
- e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), h = E(), m = p("iframe"), a(
163
+ e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), m = E(), h = p("iframe"), a(
164
164
  t,
165
165
  "lang",
166
166
  /*lang*/
@@ -195,12 +195,12 @@ function $(i) {
195
195
  "mbsource",
196
196
  /*mbsource*/
197
197
  i[4]
198
- ), S(m.src, d = /*iframeurl*/
199
- i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
198
+ ), S(h.src, d = /*iframeurl*/
199
+ i[1]) || w(h, "src", d), w(h, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
200
200
  },
201
201
  m(l, u) {
202
- k(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (C = H(
203
- m,
202
+ v(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, m), _(e, h), i[13](e), g || (y = H(
203
+ h,
204
204
  "load",
205
205
  /*load_handler*/
206
206
  i[12]
@@ -209,9 +209,9 @@ function $(i) {
209
209
  p(l, [u]) {
210
210
  /*showbackbutton*/
211
211
  l[3] && /*showbackbutton*/
212
- l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
212
+ l[3] !== "false" ? o ? o.p(l, u) : (o = j(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
213
213
  l[3] || /*showbackbutton*/
214
- l[3] === "false" ? r ? r.p(l, u) : (r = O(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
214
+ l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
215
215
  1 && a(
216
216
  t,
217
217
  "lang",
@@ -254,28 +254,28 @@ function $(i) {
254
254
  /*mbsource*/
255
255
  l[4]
256
256
  ), /*isLoading*/
257
- l[9] ? c ? c.p(l, u) : (c = T(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
258
- 2 && !S(m.src, d = /*iframeurl*/
259
- l[1]) && w(m, "src", d);
257
+ l[9] ? c ? c.p(l, u) : (c = O(l), c.c(), c.m(e, m)) : c && (c.d(1), c = null), u & /*iframeurl*/
258
+ 2 && !S(h.src, d = /*iframeurl*/
259
+ l[1]) && w(h, "src", d);
260
260
  },
261
261
  i: L,
262
262
  o: L,
263
263
  d(l) {
264
- l && v(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, C();
264
+ l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
265
265
  }
266
266
  };
267
267
  }
268
268
  function ee(i, e, t) {
269
- let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c = !0;
269
+ let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: m = "" } = e, { showbackbutton: h = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c = !0;
270
270
  const l = () => {
271
- let s = h;
271
+ let s = m;
272
272
  if (s)
273
- return fetch(s).then((y) => y.json()).then((y) => {
274
- Object.keys(y).forEach((M) => {
275
- R(M, y[M]);
273
+ return fetch(s).then((C) => C.json()).then((C) => {
274
+ Object.keys(C).forEach((M) => {
275
+ R(M, C[M]);
276
276
  });
277
- }).catch((y) => {
278
- console.log(y);
277
+ }).catch((C) => {
278
+ console.log(C);
279
279
  });
280
280
  };
281
281
  Object.keys(D).forEach((s) => {
@@ -283,43 +283,43 @@ function ee(i, e, t) {
283
283
  });
284
284
  const u = () => {
285
285
  Y(n);
286
- }, j = () => {
286
+ }, T = () => {
287
287
  window.postMessage({ type: "CloseIframe" }, window.location.href);
288
288
  }, B = (s) => {
289
289
  s.target.src && t(9, c = !1);
290
290
  };
291
291
  J(() => () => {
292
292
  });
293
- const z = (s) => B(s);
294
- function A(s) {
293
+ const q = (s) => B(s);
294
+ function z(s) {
295
295
  K[s ? "unshift" : "push"](() => {
296
296
  r = s, t(8, r);
297
297
  });
298
298
  }
299
299
  return i.$$set = (s) => {
300
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, C = s.clientstylingurl), "title" in s && t(7, o = s.title);
300
+ "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, m = s.translationurl), "showbackbutton" in s && t(3, h = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
301
301
  }, i.$$.update = () => {
302
302
  i.$$.dirty & /*lang*/
303
303
  1 && n && u(), i.$$.dirty & /*translationurl*/
304
- 4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
304
+ 4 && m && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
305
305
  288 && g && r && Q(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
306
- 320 && C && r && V(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
306
+ 320 && y && r && V(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
307
307
  272 && d && r && W(r, `${d}.Style`);
308
308
  }, [
309
309
  n,
310
310
  f,
311
- h,
312
311
  m,
312
+ h,
313
313
  d,
314
314
  g,
315
- C,
315
+ y,
316
316
  o,
317
317
  r,
318
318
  c,
319
- j,
319
+ T,
320
320
  B,
321
- z,
322
- A
321
+ q,
322
+ z
323
323
  ];
324
324
  }
325
325
  class te extends Z {
@@ -1,4 +1,4 @@
1
- import { a as N, i as q, $ as U, S as Z, b as F, s as G, f as b, c as P, I as L, e as v, A as a, z as S, p as w, l as k, m as _, B as H, n as p, o as E, r as J, y as K, D as Q, E as V, F as W, G as X } from "./CashierCarousel-D9RhCULN.js";
1
+ import { a as A, i as N, $ as U, S as Z, b as F, s as G, f as b, c as P, G as L, e as k, A as a, z as S, o as w, k as v, l as _, x as H, m as p, n as E, q as J, y as K, B as Q, C as V, D as W, E as X } from "./CashierCarousel-Cf2c1vPp.js";
2
2
  if (typeof window < "u") {
3
3
  let i = function(e) {
4
4
  return function(...t) {
@@ -11,15 +11,15 @@ if (typeof window < "u") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = i(customElements.define), import("./CashierHeader-Z4vR_fbH.js").then(({ default: e }) => {
14
+ customElements.define = i(customElements.define), import("./CashierHeader-Dd5b4-yJ.js").then(({ default: e }) => {
15
15
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
16
16
  });
17
17
  }
18
18
  function R(i, e) {
19
- N(i, e);
19
+ A(i, e);
20
20
  }
21
21
  function Y(i) {
22
- q({
22
+ N({
23
23
  fallbackLocale: "en"
24
24
  }), U.set(i);
25
25
  }
@@ -52,21 +52,21 @@ if (typeof window < "u") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = i(customElements.define), import("./CashierSpinner-fUvoz21a.js").then(({ default: e }) => {
55
+ customElements.define = i(customElements.define), import("./CashierSpinner-BQWOaYce.js").then(({ default: e }) => {
56
56
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
57
57
  });
58
58
  }
59
59
  function x(i) {
60
- P(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
60
+ P(i, "svelte-1ex0q4o", ".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
61
61
  }
62
- function I(i) {
62
+ function j(i) {
63
63
  let e, t, n;
64
64
  return {
65
65
  c() {
66
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
66
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
67
67
  },
68
- m(f, h) {
69
- k(f, e, h), t || (n = H(
68
+ m(f, m) {
69
+ v(f, e, m), t || (n = H(
70
70
  e,
71
71
  "click",
72
72
  /*close*/
@@ -75,18 +75,18 @@ function I(i) {
75
75
  },
76
76
  p: L,
77
77
  d(f) {
78
- f && v(e), t = !1, n();
78
+ f && k(e), t = !1, n();
79
79
  }
80
80
  };
81
81
  }
82
- function O(i) {
82
+ function I(i) {
83
83
  let e, t, n;
84
84
  return {
85
85
  c() {
86
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
86
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
87
87
  },
88
- m(f, h) {
89
- k(f, e, h), t || (n = H(
88
+ m(f, m) {
89
+ v(f, e, m), t || (n = H(
90
90
  e,
91
91
  "click",
92
92
  /*close*/
@@ -95,11 +95,11 @@ function O(i) {
95
95
  },
96
96
  p: L,
97
97
  d(f) {
98
- f && v(e), t = !1, n();
98
+ f && k(e), t = !1, n();
99
99
  }
100
100
  };
101
101
  }
102
- function T(i) {
102
+ function O(i) {
103
103
  let e;
104
104
  return {
105
105
  c() {
@@ -121,7 +121,7 @@ function T(i) {
121
121
  );
122
122
  },
123
123
  m(t, n) {
124
- k(t, e, n);
124
+ v(t, e, n);
125
125
  },
126
126
  p(t, n) {
127
127
  n & /*clientstylingurl*/
@@ -145,22 +145,22 @@ function T(i) {
145
145
  );
146
146
  },
147
147
  d(t) {
148
- t && v(e);
148
+ t && k(e);
149
149
  }
150
150
  };
151
151
  }
152
152
  function $(i) {
153
- let e, t, n, f, h, m, d, g, y, o = !!/*showbackbutton*/
153
+ let e, t, n, f, m, h, d, g, y, o = !!/*showbackbutton*/
154
154
  i[3] && /*showbackbutton*/
155
- i[3] !== "false" && I(i), r = (!/*showbackbutton*/
155
+ i[3] !== "false" && j(i), r = (!/*showbackbutton*/
156
156
  i[3] || /*showbackbutton*/
157
- i[3] === "false") && O(i), c = (
157
+ i[3] === "false") && I(i), c = (
158
158
  /*isLoading*/
159
- i[9] && T(i)
159
+ i[9] && O(i)
160
160
  );
161
161
  return {
162
162
  c() {
163
- e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), h = E(), m = p("iframe"), a(
163
+ e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), m = E(), h = p("iframe"), a(
164
164
  t,
165
165
  "lang",
166
166
  /*lang*/
@@ -195,12 +195,12 @@ function $(i) {
195
195
  "mbsource",
196
196
  /*mbsource*/
197
197
  i[4]
198
- ), S(m.src, d = /*iframeurl*/
199
- i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
198
+ ), S(h.src, d = /*iframeurl*/
199
+ i[1]) || w(h, "src", d), w(h, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
200
200
  },
201
201
  m(l, u) {
202
- k(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = H(
203
- m,
202
+ v(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, m), _(e, h), i[13](e), g || (y = H(
203
+ h,
204
204
  "load",
205
205
  /*load_handler*/
206
206
  i[12]
@@ -209,9 +209,9 @@ function $(i) {
209
209
  p(l, [u]) {
210
210
  /*showbackbutton*/
211
211
  l[3] && /*showbackbutton*/
212
- l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
212
+ l[3] !== "false" ? o ? o.p(l, u) : (o = j(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
213
213
  l[3] || /*showbackbutton*/
214
- l[3] === "false" ? r ? r.p(l, u) : (r = O(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
214
+ l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
215
215
  1 && a(
216
216
  t,
217
217
  "lang",
@@ -254,21 +254,21 @@ function $(i) {
254
254
  /*mbsource*/
255
255
  l[4]
256
256
  ), /*isLoading*/
257
- l[9] ? c ? c.p(l, u) : (c = T(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
258
- 2 && !S(m.src, d = /*iframeurl*/
259
- l[1]) && w(m, "src", d);
257
+ l[9] ? c ? c.p(l, u) : (c = O(l), c.c(), c.m(e, m)) : c && (c.d(1), c = null), u & /*iframeurl*/
258
+ 2 && !S(h.src, d = /*iframeurl*/
259
+ l[1]) && w(h, "src", d);
260
260
  },
261
261
  i: L,
262
262
  o: L,
263
263
  d(l) {
264
- l && v(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
264
+ l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, y();
265
265
  }
266
266
  };
267
267
  }
268
268
  function ee(i, e, t) {
269
- let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c = !0;
269
+ let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: m = "" } = e, { showbackbutton: h = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c = !0;
270
270
  const l = () => {
271
- let s = h;
271
+ let s = m;
272
272
  if (s)
273
273
  return fetch(s).then((C) => C.json()).then((C) => {
274
274
  Object.keys(C).forEach((M) => {
@@ -283,43 +283,43 @@ function ee(i, e, t) {
283
283
  });
284
284
  const u = () => {
285
285
  Y(n);
286
- }, j = () => {
286
+ }, T = () => {
287
287
  window.postMessage({ type: "CloseIframe" }, window.location.href);
288
288
  }, B = (s) => {
289
289
  s.target.src && t(9, c = !1);
290
290
  };
291
291
  J(() => () => {
292
292
  });
293
- const z = (s) => B(s);
294
- function A(s) {
293
+ const q = (s) => B(s);
294
+ function z(s) {
295
295
  K[s ? "unshift" : "push"](() => {
296
296
  r = s, t(8, r);
297
297
  });
298
298
  }
299
299
  return i.$$set = (s) => {
300
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
300
+ "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, m = s.translationurl), "showbackbutton" in s && t(3, h = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, o = s.title);
301
301
  }, i.$$.update = () => {
302
302
  i.$$.dirty & /*lang*/
303
303
  1 && n && u(), i.$$.dirty & /*translationurl*/
304
- 4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
304
+ 4 && m && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
305
305
  288 && g && r && Q(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
306
306
  320 && y && r && V(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
307
307
  272 && d && r && W(r, `${d}.Style`);
308
308
  }, [
309
309
  n,
310
310
  f,
311
- h,
312
311
  m,
312
+ h,
313
313
  d,
314
314
  g,
315
315
  y,
316
316
  o,
317
317
  r,
318
318
  c,
319
- j,
319
+ T,
320
320
  B,
321
- z,
322
- A
321
+ q,
322
+ z
323
323
  ];
324
324
  }
325
325
  class te extends Z {