@everymatrix/cashier-page 1.94.20 → 1.94.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/components/{CashierCarousel-CrZ0FI9g.js → CashierCarousel-BVmXQ9kB.js} +79 -79
  2. package/components/{CashierCarousel-ZCpoFR_r.js → CashierCarousel-D1ADcA0H.js} +64 -64
  3. package/components/{CashierError-D-0Yzizc.js → CashierError-CIDQ2YB-.js} +23 -23
  4. package/components/{CashierError-CQmfrVPP.js → CashierError-CLDBgPss.js} +22 -22
  5. package/components/{CashierHeader-D36dZuDE.js → CashierHeader-12-kNdqx.js} +37 -37
  6. package/components/{CashierHeader-o3JgGAyZ.js → CashierHeader-DLB-b0Aq.js} +37 -37
  7. package/components/{CashierIframeRedirect-BugT4s1t.js → CashierIframeRedirect-CgcTd1HO.js} +25 -25
  8. package/components/{CashierIframeRedirect-DLj8qmbG.js → CashierIframeRedirect-Dd8sAbeT.js} +21 -21
  9. package/components/{CashierMethodDetails-FagPTdMG.js → CashierMethodDetails-Bj94KCo4.js} +5 -5
  10. package/components/{CashierMethodDetails-CZ5GMKKS.js → CashierMethodDetails-CEiMwFLi.js} +5 -5
  11. package/components/{CashierMethodsList-D_pTu3SN.js → CashierMethodsList-ByXuMxUg.js} +68 -68
  12. package/components/{CashierMethodsList-BgIZGOBN.js → CashierMethodsList-DXeNmRFB.js} +38 -38
  13. package/components/{CashierModal-piYckZ14.js → CashierModal-CBMFqTn1.js} +43 -43
  14. package/components/{CashierModal-CJYYRGUw.js → CashierModal-YudzgpWu.js} +35 -35
  15. package/components/{CashierNotifications-B9MCvjeZ.js → CashierNotifications-B7-5A78j.js} +31 -31
  16. package/components/{CashierNotifications-DMwx6ACA.js → CashierNotifications-Br68hGYZ.js} +31 -31
  17. package/components/{CashierPage-BpXlJbUK.js → CashierPage-C28wB4Yx.js} +82 -82
  18. package/components/{CashierPage-DXWsj0rS.js → CashierPage-Dd8aLbzf.js} +82 -82
  19. package/components/{CashierReceiptPage-BDz55M1f.js → CashierReceiptPage-WgK2A3o2.js} +107 -107
  20. package/components/{CashierReceiptPage-CZeePZC9.js → CashierReceiptPage-jOvSgAwI.js} +120 -120
  21. package/components/{CashierSessionExpirationModal-BPldMBVE.js → CashierSessionExpirationModal-AuAN6pay.js} +101 -101
  22. package/components/{CashierSessionExpirationModal-Cz1afgS4.js → CashierSessionExpirationModal-CkW9fuJk.js} +126 -126
  23. package/components/{CashierSpinner-KjYxk-2u.js → CashierSpinner-CPHEajyJ.js} +10 -10
  24. package/components/{CashierSpinner-CgDvXALe.js → CashierSpinner-DzldbJli.js} +6 -6
  25. package/components/{CashierStepUp-B6BpFfdo.js → CashierStepUp-DpjWLNEu.js} +132 -132
  26. package/components/{CashierStepUp-cDHtd1oq.js → CashierStepUp-XUIof8gV.js} +49 -49
  27. package/components/{CashierTransactionHistory-BjzUPyax.js → CashierTransactionHistory-BhMVeP4U.js} +110 -110
  28. package/components/{CashierTransactionHistory-iZbHQci1.js → CashierTransactionHistory-FFXbkfUa.js} +110 -110
  29. package/components/{CashierVerifications-CrYjYgSf.js → CashierVerifications-CG9b_Uea.js} +43 -43
  30. package/components/{CashierVerifications-CIdvrs4W.js → CashierVerifications-DEOjz_us.js} +60 -60
  31. package/components/{TxnStatusIcon-CoWQkGDs.js → TxnStatusIcon-B6EI9tWy.js} +23 -23
  32. package/components/{TxnStatusIcon-Dg5tmppw.js → TxnStatusIcon-CFyjzJe_.js} +28 -28
  33. package/components/{TxnTypeIcons-DFh_jBgP.js → TxnTypeIcons-BHOLXQeh.js} +1 -1
  34. package/components/{TxnTypeIcons-DcPvLvK7.js → TxnTypeIcons-DEdkYlg3.js} +1 -1
  35. package/es2015/cashier-page.js +1 -1
  36. package/esnext/cashier-page.js +1 -1
  37. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { b as $, N as ee, a as te, S as ie, O as ne, a1 as ae, E as T, f as re, r as M, x as h, ae as A, ad as P, ag as W, H as x, I as O, Q as v, e as k, z as b, a6 as L, g as E, l as oe, Y as se, A as B, a3 as D, a9 as I, T as le, h as ue, a7 as N, a2 as V, o as de, $ as ce } from "./CashierPage-DXWsj0rS.js";
2
- import { s as me, a as fe, b as pe } from "./CashierHeader-D36dZuDE.js";
1
+ import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as T, d as re, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as k, n as b, o as L, p as E, q as oe, r as se, v as B, w as D, x as I, A as le, y as ue, J as R, O as V, c as de, B as ce } from "./CashierPage-Dd8aLbzf.js";
2
+ import { s as me, a as fe, b as pe } from "./CashierHeader-12-kNdqx.js";
3
3
  import "../stencil/ui-image-BsYHwNhO.js";
4
- function R(i, e) {
4
+ function N(i, e) {
5
5
  $(i, e);
6
6
  }
7
7
  function ye(i) {
@@ -9,7 +9,7 @@ function ye(i) {
9
9
  fallbackLocale: "en"
10
10
  }), te.set(i);
11
11
  }
12
- const H = {
12
+ const q = {
13
13
  en: {
14
14
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
15
15
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -165,12 +165,12 @@ const H = {
165
165
  function ge(i) {
166
166
  re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
167
167
  }
168
- const he = (i) => ({}), q = (i) => ({}), ve = (i) => ({}), F = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
168
+ const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
169
169
  function G(i) {
170
170
  let e, t;
171
171
  return {
172
172
  c() {
173
- e = b("ui-image"), N(e.src, t = `${/*assetsurl*/
173
+ e = b("ui-image"), R(e.src, t = `${/*assetsurl*/
174
174
  i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
175
175
  },
176
176
  m(r, o) {
@@ -178,7 +178,7 @@ function G(i) {
178
178
  },
179
179
  p(r, o) {
180
180
  o & /*assetsurl*/
181
- 1 && !N(e.src, t = `${/*assetsurl*/
181
+ 1 && !R(e.src, t = `${/*assetsurl*/
182
182
  r[0]}/error-general-icon.png`) && V(e, "src", t);
183
183
  },
184
184
  d(r) {
@@ -207,7 +207,7 @@ function _e(i) {
207
207
  }
208
208
  };
209
209
  }
210
- function Y(i) {
210
+ function j(i) {
211
211
  let e;
212
212
  function t(a, n) {
213
213
  return (
@@ -237,7 +237,7 @@ function ze(i) {
237
237
  i[5]("DepositWageringLimitText") + ""
238
238
  ), r, o, a = (
239
239
  /*depositWageringAmount*/
240
- i[3] > 0 && j(i)
240
+ i[3] > 0 && J(i)
241
241
  );
242
242
  return {
243
243
  c() {
@@ -250,7 +250,7 @@ function ze(i) {
250
250
  u & /*$_*/
251
251
  32 && t !== (t = /*$_*/
252
252
  n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
253
- n[3] > 0 ? a ? a.p(n, u) : (a = j(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
253
+ n[3] > 0 ? a ? a.p(n, u) : (a = J(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
254
254
  },
255
255
  d(n) {
256
256
  n && h(e), a && a.d();
@@ -279,7 +279,7 @@ function Ce(i) {
279
279
  }
280
280
  };
281
281
  }
282
- function j(i) {
282
+ function J(i) {
283
283
  let e, t, r;
284
284
  return {
285
285
  c() {
@@ -319,7 +319,7 @@ function Te(i) {
319
319
  i[1] || "errorGeneralText"}`) + ""
320
320
  ), r, o, a, n = (
321
321
  /*errorcode*/
322
- i[1] == "DepositWageringLimit" && Y(i)
322
+ i[1] == "DepositWageringLimit" && j(i)
323
323
  );
324
324
  return {
325
325
  c() {
@@ -333,7 +333,7 @@ function Te(i) {
333
333
  34 && t !== (t = /*$_*/
334
334
  u[5](`${/*errorcode*/
335
335
  u[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
336
- u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = Y(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
336
+ u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = j(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
337
337
  },
338
338
  d(u) {
339
339
  u && (h(e), h(o), h(a)), n && n.d(u);
@@ -395,7 +395,7 @@ function we(i) {
395
395
  i,
396
396
  /*$$scope*/
397
397
  i[12],
398
- F
398
+ H
399
399
  ), y = p || Te(i), w = (
400
400
  /*#slots*/
401
401
  i[13].button
@@ -404,7 +404,7 @@ function we(i) {
404
404
  i,
405
405
  /*$$scope*/
406
406
  i[12],
407
- q
407
+ F
408
408
  ), g = C || Ee(i);
409
409
  return {
410
410
  c() {
@@ -468,7 +468,7 @@ function we(i) {
468
468
  /*$$scope*/
469
469
  s[12]
470
470
  ),
471
- F
471
+ H
472
472
  ) : y && y.p && (!n || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
473
473
  58) && y.p(s, n ? c : -1), C ? C.p && (!n || c & /*$$scope*/
474
474
  4096) && W(
@@ -487,7 +487,7 @@ function we(i) {
487
487
  /*$$scope*/
488
488
  s[12]
489
489
  ),
490
- q
490
+ F
491
491
  ) : g && g.p && (!n || c & /*$_*/
492
492
  32) && g.p(s, n ? c : -1);
493
493
  },
@@ -516,14 +516,14 @@ function Le(i, e, t) {
516
516
  throw new Error(`HTTP error! status: ${l.status}`);
517
517
  const X = await l.json();
518
518
  Object.entries(X).forEach(([Q, Z]) => {
519
- R(Q, Z);
519
+ N(Q, Z);
520
520
  });
521
521
  } catch (l) {
522
522
  console.error(l);
523
523
  }
524
524
  };
525
- Object.keys(H).forEach((l) => {
526
- R(l, H[l]);
525
+ Object.keys(q).forEach((l) => {
526
+ N(l, q[l]);
527
527
  });
528
528
  const c = () => {
529
529
  window.postMessage({ type: "ErrorClose" }, window.location.href);
@@ -538,7 +538,7 @@ function Le(i, e, t) {
538
538
  se(() => (window.addEventListener("message", S, !1), () => {
539
539
  window.removeEventListener("message", S);
540
540
  }));
541
- function J(l) {
541
+ function Y(l) {
542
542
  ue[l ? "unshift" : "push"](() => {
543
543
  p = l, t(2, p);
544
544
  });
@@ -567,7 +567,7 @@ function Le(i, e, t) {
567
567
  z,
568
568
  a,
569
569
  o,
570
- J
570
+ Y
571
571
  ];
572
572
  }
573
573
  class De extends ie {
@@ -1,5 +1,5 @@
1
- import { b as tt, N as et, a as st, S as nt, O as it, E as b, a1 as lt, o as ot, f as at, r as S, x as p, ae as L, ad as B, ag as v, H, I as T, Q as C, e as M, z as y, a6 as R, g as k, l as rt, Y as ct, A as Y, a3 as ut, a9 as ft, h as ht, V as G, T as P, $ as dt } from "./CashierPage-DXWsj0rS.js";
2
- function j(s, t) {
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as E, p as k, q as rt, r as ct, v as G, w as ut, x as ft, y as ht, z as I, A as P, B as dt } from "./CashierPage-Dd8aLbzf.js";
2
+ function O(s, t) {
3
3
  tt(s, t);
4
4
  }
5
5
  function gt(s) {
@@ -7,7 +7,7 @@ function gt(s) {
7
7
  fallbackLocale: "en"
8
8
  }), st.set(s);
9
9
  }
10
- const N = {
10
+ const z = {
11
11
  en: {
12
12
  header: {
13
13
  general: "Cashier",
@@ -85,7 +85,7 @@ function pt(s, t) {
85
85
  function Ct(s) {
86
86
  at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}");
87
87
  }
88
- const yt = (s) => ({}), z = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
88
+ const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
89
89
  function D(s) {
90
90
  let t, e, i;
91
91
  return {
@@ -100,20 +100,20 @@ function D(s) {
100
100
  s[6]
101
101
  ), e = !0);
102
102
  },
103
- p: G,
103
+ p: I,
104
104
  d(n) {
105
105
  n && p(t), e = !1, i();
106
106
  }
107
107
  };
108
108
  }
109
- function Lt(s) {
109
+ function Bt(s) {
110
110
  let t, e = (
111
111
  /*backButton*/
112
112
  s[1] && D(s)
113
113
  );
114
114
  return {
115
115
  c() {
116
- e && e.c(), t = Y();
116
+ e && e.c(), t = G();
117
117
  },
118
118
  m(i, n) {
119
119
  e && e.m(i, n), C(i, t, n);
@@ -127,7 +127,7 @@ function Lt(s) {
127
127
  }
128
128
  };
129
129
  }
130
- function Bt(s) {
130
+ function Lt(s) {
131
131
  let t, e = (
132
132
  /*$_*/
133
133
  s[4](
@@ -155,7 +155,7 @@ function Bt(s) {
155
155
  }
156
156
  };
157
157
  }
158
- function I(s) {
158
+ function q(s) {
159
159
  let t, e, i;
160
160
  return {
161
161
  c() {
@@ -169,7 +169,7 @@ function I(s) {
169
169
  s[5]
170
170
  ), e = !0);
171
171
  },
172
- p: G,
172
+ p: I,
173
173
  d(n) {
174
174
  n && p(t), e = !1, i();
175
175
  }
@@ -178,18 +178,18 @@ function I(s) {
178
178
  function vt(s) {
179
179
  let t, e = (
180
180
  /*closeButton*/
181
- s[3] && I(s)
181
+ s[3] && q(s)
182
182
  );
183
183
  return {
184
184
  c() {
185
- e && e.c(), t = Y();
185
+ e && e.c(), t = G();
186
186
  },
187
187
  m(i, n) {
188
188
  e && e.m(i, n), C(i, t, n);
189
189
  },
190
190
  p(i, n) {
191
191
  /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = I(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
192
+ i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
193
  },
194
194
  d(i) {
195
195
  i && p(t), e && e.d(i);
@@ -207,7 +207,7 @@ function Ht(s) {
207
207
  /*$$scope*/
208
208
  s[15],
209
209
  U
210
- ), r = h || Lt(s), _ = (
210
+ ), r = h || Bt(s), _ = (
211
211
  /*#slots*/
212
212
  s[16].title
213
213
  ), d = S(
@@ -216,7 +216,7 @@ function Ht(s) {
216
216
  /*$$scope*/
217
217
  s[15],
218
218
  x
219
- ), c = d || Bt(s), g = (
219
+ ), c = d || Lt(s), g = (
220
220
  /*#slots*/
221
221
  s[16].rightButton
222
222
  ), w = S(
@@ -224,11 +224,11 @@ function Ht(s) {
224
224
  s,
225
225
  /*$$scope*/
226
226
  s[15],
227
- z
227
+ N
228
228
  ), u = w || vt(s);
229
229
  return {
230
230
  c() {
231
- t = y("div"), r && r.c(), e = R(), c && c.c(), i = R(), u && u.c(), k(t, "class", "CashierHeader");
231
+ t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
232
232
  },
233
233
  m(l, f) {
234
234
  C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
@@ -289,15 +289,15 @@ function Ht(s) {
289
289
  /*$$scope*/
290
290
  l[15]
291
291
  ),
292
- z
292
+ N
293
293
  ) : u && u.p && (!n || f & /*closeButton*/
294
294
  8) && u.p(l, n ? f : -1);
295
295
  },
296
296
  i(l) {
297
- n || (B(r, l), B(c, l), B(u, l), n = !0);
297
+ n || (L(r, l), L(c, l), L(u, l), n = !0);
298
298
  },
299
299
  o(l) {
300
- L(r, l), L(c, l), L(u, l), n = !1;
300
+ B(r, l), B(c, l), B(u, l), n = !1;
301
301
  },
302
302
  d(l) {
303
303
  l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
@@ -307,31 +307,31 @@ function Ht(s) {
307
307
  function Tt(s, t, e) {
308
308
  let i;
309
309
  rt(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, E, F = !1;
311
- const Z = () => {
310
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
+ const Y = () => {
312
312
  fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((O) => {
314
- j(O, o[O]);
313
+ Object.keys(o).forEach((R) => {
314
+ O(R, o[R]);
315
315
  });
316
316
  }).catch((o) => {
317
317
  console.log(o);
318
318
  });
319
319
  };
320
- Object.keys(N).forEach((o) => {
321
- j(o, N[o]);
320
+ Object.keys(z).forEach((o) => {
321
+ O(o, z[o]);
322
322
  });
323
- const q = () => {
323
+ const Z = () => {
324
324
  gt(g);
325
325
  }, K = () => {
326
326
  window.postMessage({ type: "CloseCashier" }, window.location.href);
327
- }, Q = () => {
327
+ }, J = () => {
328
328
  window.postMessage({ type: "BackCashier" }, window.location.href);
329
- }, V = () => {
329
+ }, Q = () => {
330
330
  e(1, A = !!d && d !== "false");
331
- }, J = () => {
331
+ }, V = () => {
332
332
  e(3, F = !!w && w !== "false");
333
333
  }, X = () => {
334
- e(2, E = c || "header.general");
334
+ e(2, j = c || "header.general");
335
335
  };
336
336
  ct(() => () => {
337
337
  });
@@ -344,22 +344,22 @@ function Tt(s, t, e) {
344
344
  "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
345
  }, s.$$.update = () => {
346
346
  s.$$.dirty & /*lang*/
347
- 4096 && g && q(), s.$$.dirty & /*lang, title*/
347
+ 4096 && g && Z(), s.$$.dirty & /*lang, title*/
348
348
  6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
349
  129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
350
  257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
351
  16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
353
- 1024 && d && V(), s.$$.dirty & /*showclosebutton*/
354
- 8192 && w && J();
352
+ 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
353
+ 1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
+ 8192 && w && V();
355
355
  }, [
356
356
  l,
357
357
  A,
358
- E,
358
+ j,
359
359
  F,
360
360
  i,
361
361
  K,
362
- Q,
362
+ J,
363
363
  h,
364
364
  r,
365
365
  _,
@@ -1,5 +1,5 @@
1
- import { b as tt, N as et, a as st, S as nt, O as it, a1 as lt, E as b, f as ot, r as S, x as p, ae as L, ad as B, ag as v, H, I as T, Q as C, e as M, z as y, a6 as R, g as k, l as at, Y as rt, A as Y, a3 as ct, a9 as ut, h as ft, V as G, T as P, o as ht, $ as dt } from "./CashierPage-BpXlJbUK.js";
2
- function j(s, t) {
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as E, o as k, p as at, q as rt, r as G, v as ct, w as ut, x as ft, y as I, z as P, A as ht, B as dt } from "./CashierPage-C28wB4Yx.js";
2
+ function O(s, t) {
3
3
  tt(s, t);
4
4
  }
5
5
  function gt(s) {
@@ -7,7 +7,7 @@ function gt(s) {
7
7
  fallbackLocale: "en"
8
8
  }), st.set(s);
9
9
  }
10
- const N = {
10
+ const z = {
11
11
  en: {
12
12
  header: {
13
13
  general: "Cashier",
@@ -85,7 +85,7 @@ function pt(s, t) {
85
85
  function Ct(s) {
86
86
  ot(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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)}");
87
87
  }
88
- const yt = (s) => ({}), z = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
88
+ const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
89
89
  function D(s) {
90
90
  let t, e, i;
91
91
  return {
@@ -100,20 +100,20 @@ function D(s) {
100
100
  s[6]
101
101
  ), e = !0);
102
102
  },
103
- p: G,
103
+ p: I,
104
104
  d(n) {
105
105
  n && p(t), e = !1, i();
106
106
  }
107
107
  };
108
108
  }
109
- function Lt(s) {
109
+ function Bt(s) {
110
110
  let t, e = (
111
111
  /*backButton*/
112
112
  s[1] && D(s)
113
113
  );
114
114
  return {
115
115
  c() {
116
- e && e.c(), t = Y();
116
+ e && e.c(), t = G();
117
117
  },
118
118
  m(i, n) {
119
119
  e && e.m(i, n), C(i, t, n);
@@ -127,7 +127,7 @@ function Lt(s) {
127
127
  }
128
128
  };
129
129
  }
130
- function Bt(s) {
130
+ function Lt(s) {
131
131
  let t, e = (
132
132
  /*$_*/
133
133
  s[4](
@@ -155,7 +155,7 @@ function Bt(s) {
155
155
  }
156
156
  };
157
157
  }
158
- function I(s) {
158
+ function q(s) {
159
159
  let t, e, i;
160
160
  return {
161
161
  c() {
@@ -169,7 +169,7 @@ function I(s) {
169
169
  s[5]
170
170
  ), e = !0);
171
171
  },
172
- p: G,
172
+ p: I,
173
173
  d(n) {
174
174
  n && p(t), e = !1, i();
175
175
  }
@@ -178,18 +178,18 @@ function I(s) {
178
178
  function vt(s) {
179
179
  let t, e = (
180
180
  /*closeButton*/
181
- s[3] && I(s)
181
+ s[3] && q(s)
182
182
  );
183
183
  return {
184
184
  c() {
185
- e && e.c(), t = Y();
185
+ e && e.c(), t = G();
186
186
  },
187
187
  m(i, n) {
188
188
  e && e.m(i, n), C(i, t, n);
189
189
  },
190
190
  p(i, n) {
191
191
  /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = I(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
192
+ i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
193
  },
194
194
  d(i) {
195
195
  i && p(t), e && e.d(i);
@@ -207,7 +207,7 @@ function Ht(s) {
207
207
  /*$$scope*/
208
208
  s[15],
209
209
  U
210
- ), r = h || Lt(s), _ = (
210
+ ), r = h || Bt(s), _ = (
211
211
  /*#slots*/
212
212
  s[16].title
213
213
  ), d = S(
@@ -216,7 +216,7 @@ function Ht(s) {
216
216
  /*$$scope*/
217
217
  s[15],
218
218
  x
219
- ), c = d || Bt(s), g = (
219
+ ), c = d || Lt(s), g = (
220
220
  /*#slots*/
221
221
  s[16].rightButton
222
222
  ), w = S(
@@ -224,11 +224,11 @@ function Ht(s) {
224
224
  s,
225
225
  /*$$scope*/
226
226
  s[15],
227
- z
227
+ N
228
228
  ), u = w || vt(s);
229
229
  return {
230
230
  c() {
231
- t = y("div"), r && r.c(), e = R(), c && c.c(), i = R(), u && u.c(), k(t, "class", "CashierHeader");
231
+ t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
232
232
  },
233
233
  m(l, f) {
234
234
  C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
@@ -289,15 +289,15 @@ function Ht(s) {
289
289
  /*$$scope*/
290
290
  l[15]
291
291
  ),
292
- z
292
+ N
293
293
  ) : u && u.p && (!n || f & /*closeButton*/
294
294
  8) && u.p(l, n ? f : -1);
295
295
  },
296
296
  i(l) {
297
- n || (B(r, l), B(c, l), B(u, l), n = !0);
297
+ n || (L(r, l), L(c, l), L(u, l), n = !0);
298
298
  },
299
299
  o(l) {
300
- L(r, l), L(c, l), L(u, l), n = !1;
300
+ B(r, l), B(c, l), B(u, l), n = !1;
301
301
  },
302
302
  d(l) {
303
303
  l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
@@ -307,31 +307,31 @@ function Ht(s) {
307
307
  function Tt(s, t, e) {
308
308
  let i;
309
309
  at(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, E, F = !1;
311
- const Z = () => {
310
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
+ const Y = () => {
312
312
  fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((O) => {
314
- j(O, o[O]);
313
+ Object.keys(o).forEach((R) => {
314
+ O(R, o[R]);
315
315
  });
316
316
  }).catch((o) => {
317
317
  console.log(o);
318
318
  });
319
319
  };
320
- Object.keys(N).forEach((o) => {
321
- j(o, N[o]);
320
+ Object.keys(z).forEach((o) => {
321
+ O(o, z[o]);
322
322
  });
323
- const q = () => {
323
+ const Z = () => {
324
324
  gt(g);
325
325
  }, K = () => {
326
326
  window.postMessage({ type: "CloseCashier" }, window.location.href);
327
- }, Q = () => {
327
+ }, J = () => {
328
328
  window.postMessage({ type: "BackCashier" }, window.location.href);
329
- }, V = () => {
329
+ }, Q = () => {
330
330
  e(1, A = !!d && d !== "false");
331
- }, J = () => {
331
+ }, V = () => {
332
332
  e(3, F = !!w && w !== "false");
333
333
  }, X = () => {
334
- e(2, E = c || "header.general");
334
+ e(2, j = c || "header.general");
335
335
  };
336
336
  rt(() => () => {
337
337
  });
@@ -344,22 +344,22 @@ function Tt(s, t, e) {
344
344
  "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
345
  }, s.$$.update = () => {
346
346
  s.$$.dirty & /*lang*/
347
- 4096 && g && q(), s.$$.dirty & /*lang, title*/
347
+ 4096 && g && Z(), s.$$.dirty & /*lang, title*/
348
348
  6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
349
  129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
350
  257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
351
  16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
353
- 1024 && d && V(), s.$$.dirty & /*showclosebutton*/
354
- 8192 && w && J();
352
+ 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
353
+ 1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
+ 8192 && w && V();
355
355
  }, [
356
356
  l,
357
357
  A,
358
- E,
358
+ j,
359
359
  F,
360
360
  i,
361
361
  K,
362
- Q,
362
+ J,
363
363
  h,
364
364
  r,
365
365
  _,