@everymatrix/cashier-page 1.70.1 → 1.71.0

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-C1IkwS7r.cjs → CashierMethodDetails-6bOPyfjr.cjs} +1 -1
  13. package/components/{CashierMethodDetails-CbzQCKZu.js → CashierMethodDetails-Cjo-c1yL.js} +64 -64
  14. package/components/{CashierMethodDetails-Bd3dJIne.js → CashierMethodDetails-DrHlWgeS.js} +64 -64
  15. package/components/{CashierMethodsList-GlWqnvHm.cjs → CashierMethodsList-B06G4mDr.cjs} +1 -1
  16. package/components/{CashierMethodsList-C1Roz4a7.js → CashierMethodsList-DUXUjETI.js} +111 -111
  17. package/components/{CashierMethodsList-wbpWQlt7.js → CashierMethodsList-uJaCnNYb.js} +106 -106
  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-D1XOiV_V.js → CashierPage-BKWkbJW6.js} +178 -178
  23. package/components/{CashierPage-DHASkcsL.js → CashierPage-C4r1i50f.js} +105 -105
  24. package/components/{CashierPage-CeDNrFtr.cjs → CashierPage-kGJubDte.cjs} +1 -1
  25. package/components/{CashierReceiptPage-BnvakxJQ.js → CashierReceiptPage-DDMJsK6z.js} +28 -28
  26. package/components/{CashierReceiptPage--u9KEoCs.js → CashierReceiptPage-DWndIJa1.js} +28 -28
  27. package/components/{CashierReceiptPage-DT0yYD3A.cjs → CashierReceiptPage-DmuLKB8M.cjs} +1 -1
  28. package/components/{CashierSessionExpirationModal-BM6h05_P.js → CashierSessionExpirationModal-BD4B34aW.js} +55 -46
  29. package/components/{CashierSessionExpirationModal-DQBxk3nF.cjs → CashierSessionExpirationModal-CeGlJ6-1.cjs} +2 -2
  30. package/components/{CashierSessionExpirationModal-DT7l33oM.js → CashierSessionExpirationModal-FGz_M2t-.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-75SCP1rv.cjs → CashierTransactionHistory-BlFQrW3i.cjs} +1 -1
  34. package/components/{CashierTransactionHistory-DxaRw8iZ.js → CashierTransactionHistory-O_qcBjOW.js} +82 -82
  35. package/components/{CashierTransactionHistory-CfdEK8dI.js → CashierTransactionHistory-uaJLF9xZ.js} +95 -95
  36. package/components/{CashierVerifications-Bt9z1qXM.js → CashierVerifications-ByXxafXw.js} +47 -47
  37. package/components/{CashierVerifications-BTorcj-t.cjs → CashierVerifications-C1qMSpvx.cjs} +1 -1
  38. package/components/{CashierVerifications-BvPWg9O1.js → CashierVerifications-DP4ipiwr.js} +137 -137
  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,5 +1,5 @@
1
- import { Q as F, S as O, b as U, s as N, f as g, c as P, e as H, t as p, g as m, D as Q, k as A, l as L, w as G, H as I, d as J, R as C, F as v, u as K, h as V, j as X, m as k, T as Y, o as y, q as h, z as S, E as Z } from "./CashierConfirmModal-untxGhsx.js";
2
- function x(n, { delay: t = 0, duration: e = 400, easing: i = F } = {}) {
1
+ import { Q as O, S as U, b as D, f as g, c as G, a as N, d as P, x as Q, k as L, t as m, p, q as A, v as j, G as I, e as J, g as y, j as h, F as M, l as v, R as K, u as V, m as X, o as Y, T as k, B as Z, C as S } from "./CashierConfirmModal-CV61pzu0.js";
2
+ function x(n, { delay: t = 0, duration: e = 400, easing: i = O } = {}) {
3
3
  const l = +getComputedStyle(n).opacity;
4
4
  return {
5
5
  delay: t,
@@ -17,7 +17,7 @@ function E(n) {
17
17
  const f = (
18
18
  /*#slots*/
19
19
  n[9].content
20
- ), a = J(
20
+ ), r = J(
21
21
  f,
22
22
  n,
23
23
  /*$$scope*/
@@ -26,42 +26,42 @@ function E(n) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), e = y("div"), i = y("div"), a && a.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), v(() => (
29
+ t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  n[11].call(e)
32
32
  )), h(t, "part", "CustomStylingContainer");
33
33
  },
34
- m(r, c) {
35
- L(r, t, c), k(t, e), k(e, i), a && a.m(i, null), n[10](e), l = Y(
34
+ m(a, c) {
35
+ L(a, t, c), v(t, e), v(e, i), r && r.m(i, null), n[10](e), l = K(
36
36
  e,
37
37
  /*div1_elementresize_handler*/
38
38
  n[11].bind(e)
39
39
  ), n[12](t), d = !0;
40
40
  },
41
- p(r, c) {
42
- n = r, a && a.p && (!d || c & /*$$scope*/
43
- 256) && K(
44
- a,
41
+ p(a, c) {
42
+ n = a, r && r.p && (!d || c & /*$$scope*/
43
+ 256) && V(
44
+ r,
45
45
  f,
46
46
  n,
47
47
  /*$$scope*/
48
48
  n[8],
49
- d ? X(
49
+ d ? Y(
50
50
  f,
51
51
  /*$$scope*/
52
52
  n[8],
53
53
  c,
54
54
  tt
55
- ) : V(
55
+ ) : X(
56
56
  /*$$scope*/
57
57
  n[8]
58
58
  ),
59
59
  z
60
60
  );
61
61
  },
62
- i(r) {
63
- d || (m(a, r), r && v(() => {
64
- d && (o || (o = C(
62
+ i(a) {
63
+ d || (m(r, a), a && M(() => {
64
+ d && (o || (o = k(
65
65
  e,
66
66
  x,
67
67
  /*duration*/
@@ -70,8 +70,8 @@ function E(n) {
70
70
  )), o.run(1));
71
71
  }), d = !0);
72
72
  },
73
- o(r) {
74
- p(a, r), r && (o || (o = C(
73
+ o(a) {
74
+ p(r, a), a && (o || (o = k(
75
75
  e,
76
76
  x,
77
77
  /*duration*/
@@ -79,8 +79,8 @@ function E(n) {
79
79
  !1
80
80
  )), o.run(0)), d = !1;
81
81
  },
82
- d(r) {
83
- r && H(t), a && a.d(r), n[10](null), l(), r && o && o.end(), n[12](null);
82
+ d(a) {
83
+ a && j(t), r && r.d(a), n[10](null), l(), a && o && o.end(), n[12](null);
84
84
  }
85
85
  };
86
86
  }
@@ -91,7 +91,7 @@ function et(n) {
91
91
  );
92
92
  return {
93
93
  c() {
94
- i && i.c(), t = G();
94
+ i && i.c(), t = Q();
95
95
  },
96
96
  m(l, o) {
97
97
  i && i.m(l, o), L(l, t, o), e = !0;
@@ -99,7 +99,7 @@ function et(n) {
99
99
  p(l, [o]) {
100
100
  /*show*/
101
101
  l[5] ? i ? (i.p(l, o), o & /*show*/
102
- 32 && m(i, 1)) : (i = E(l), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), p(i, 1, 1, () => {
102
+ 32 && m(i, 1)) : (i = E(l), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Z(), p(i, 1, 1, () => {
103
103
  i = null;
104
104
  }), A());
105
105
  },
@@ -110,12 +110,12 @@ function et(n) {
110
110
  p(i), e = !1;
111
111
  },
112
112
  d(l) {
113
- l && H(t), i && i.d(l);
113
+ l && j(t), i && i.d(l);
114
114
  }
115
115
  };
116
116
  }
117
117
  function nt(n, t, e) {
118
- let { $$slots: i = {}, $$scope: l } = t, { clientstyling: o = "" } = t, { clientstylingurl: d = "" } = t, { duration: f = 200 } = t, { width: a } = t, { height: r } = t, c, u, _ = !1;
118
+ let { $$slots: i = {}, $$scope: l } = t, { clientstyling: o = "" } = t, { clientstylingurl: d = "" } = t, { duration: f = 200 } = t, { width: r } = t, { height: a } = t, c, u, _ = !1;
119
119
  const T = () => {
120
120
  e(5, _ = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
121
121
  }, b = (s) => {
@@ -124,11 +124,11 @@ function nt(n, t, e) {
124
124
  let s = document.createElement("style");
125
125
  s.innerHTML = o, u.appendChild(s);
126
126
  }, B = () => {
127
- let s = new URL(d), M = document.createElement("style");
127
+ let s = new URL(d), C = document.createElement("style");
128
128
  fetch(s.href).then((w) => w.text()).then((w) => {
129
- M.innerHTML = w, setTimeout(
129
+ C.innerHTML = w, setTimeout(
130
130
  () => {
131
- u.appendChild(M);
131
+ u.appendChild(C);
132
132
  },
133
133
  1
134
134
  );
@@ -143,22 +143,22 @@ function nt(n, t, e) {
143
143
  });
144
144
  }
145
145
  function q() {
146
- a = this.clientWidth, r = this.clientHeight, e(0, a), e(1, r);
146
+ r = this.clientWidth, a = this.clientHeight, e(0, r), e(1, a);
147
147
  }
148
- function D(s) {
148
+ function F(s) {
149
149
  S[s ? "unshift" : "push"](() => {
150
150
  u = s, e(3, u);
151
151
  });
152
152
  }
153
153
  return n.$$set = (s) => {
154
- "clientstyling" in s && e(6, o = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, a = s.width), "height" in s && e(1, r = s.height), "$$scope" in s && e(8, l = s.$$scope);
154
+ "clientstyling" in s && e(6, o = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, r = s.width), "height" in s && e(1, a = s.height), "$$scope" in s && e(8, l = s.$$scope);
155
155
  }, n.$$.update = () => {
156
156
  n.$$.dirty & /*clientstyling, customStylingContainer*/
157
157
  72 && o && u && W(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
158
  136 && d && u && B();
159
159
  }, [
160
- a,
161
160
  r,
161
+ a,
162
162
  f,
163
163
  u,
164
164
  c,
@@ -169,12 +169,12 @@ function nt(n, t, e) {
169
169
  i,
170
170
  R,
171
171
  q,
172
- D
172
+ F
173
173
  ];
174
174
  }
175
- class j extends O {
175
+ class H extends U {
176
176
  constructor(t) {
177
- super(), U(
177
+ super(), D(
178
178
  this,
179
179
  t,
180
180
  nt,
@@ -221,10 +221,10 @@ class j extends O {
221
221
  this.$$set({ height: t }), g();
222
222
  }
223
223
  }
224
- Z(j, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
224
+ G(H, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
225
225
  const st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
226
226
  __proto__: null,
227
- default: j
227
+ default: H
228
228
  }, Symbol.toStringTag, { value: "Module" }));
229
229
  export {
230
230
  st as C,
@@ -1,5 +1,5 @@
1
- import { Q as U, S as q, b as A, s as D, f as g, c as N, e as H, t as p, g as m, k as P, l as Q, m as L, x as G, H as I, d as J, R as C, F as v, u as K, h as V, j as X, o as k, T as Y, p as y, v as h, A as S, E as Z } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- function x(n, { delay: t = 0, duration: e = 400, easing: i = U } = {}) {
1
+ import { Q as O, S as U, b as D, f as g, c as G, a as N, d as P, x as Q, k as L, t as m, p, q as A, v as j, G as I, e as J, g as y, j as h, F as M, l as v, R as K, u as V, m as X, o as Y, T as k, B as Z, C as S } from "./CashierConfirmModal-DV0Fu11y.js";
2
+ function x(n, { delay: t = 0, duration: e = 400, easing: i = O } = {}) {
3
3
  const l = +getComputedStyle(n).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,7 +9,7 @@ function x(n, { delay: t = 0, duration: e = 400, easing: i = U } = {}) {
9
9
  };
10
10
  }
11
11
  function $(n) {
12
- N(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
12
+ P(n, "svelte-pil2bm", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);padding:var(--emw--spacing-large, 20px);width:400px}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}@container modal-window (max-width:750px){.ModalWindow .ModalContainer{width:90%;max-width:400px}}");
13
13
  }
14
14
  const tt = (n) => ({}), z = (n) => ({});
15
15
  function E(n) {
@@ -17,7 +17,7 @@ function E(n) {
17
17
  const f = (
18
18
  /*#slots*/
19
19
  n[9].content
20
- ), a = J(
20
+ ), r = J(
21
21
  f,
22
22
  n,
23
23
  /*$$scope*/
@@ -26,42 +26,42 @@ function E(n) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), e = y("div"), i = y("div"), a && a.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), v(() => (
29
+ t = y("div"), e = y("div"), i = y("div"), r && r.c(), h(i, "class", "ModalContainer"), h(i, "part", "ModalContainer"), h(e, "class", "ModalWindow"), h(e, "part", "ModalWindow"), h(e, "id", "Modal"), M(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  n[11].call(e)
32
32
  )), h(t, "part", "CustomStylingContainer");
33
33
  },
34
- m(r, c) {
35
- L(r, t, c), k(t, e), k(e, i), a && a.m(i, null), n[10](e), l = Y(
34
+ m(a, c) {
35
+ L(a, t, c), v(t, e), v(e, i), r && r.m(i, null), n[10](e), l = K(
36
36
  e,
37
37
  /*div1_elementresize_handler*/
38
38
  n[11].bind(e)
39
39
  ), n[12](t), d = !0;
40
40
  },
41
- p(r, c) {
42
- n = r, a && a.p && (!d || c & /*$$scope*/
43
- 256) && K(
44
- a,
41
+ p(a, c) {
42
+ n = a, r && r.p && (!d || c & /*$$scope*/
43
+ 256) && V(
44
+ r,
45
45
  f,
46
46
  n,
47
47
  /*$$scope*/
48
48
  n[8],
49
- d ? X(
49
+ d ? Y(
50
50
  f,
51
51
  /*$$scope*/
52
52
  n[8],
53
53
  c,
54
54
  tt
55
- ) : V(
55
+ ) : X(
56
56
  /*$$scope*/
57
57
  n[8]
58
58
  ),
59
59
  z
60
60
  );
61
61
  },
62
- i(r) {
63
- d || (m(a, r), r && v(() => {
64
- d && (o || (o = C(
62
+ i(a) {
63
+ d || (m(r, a), a && M(() => {
64
+ d && (o || (o = k(
65
65
  e,
66
66
  x,
67
67
  /*duration*/
@@ -70,8 +70,8 @@ function E(n) {
70
70
  )), o.run(1));
71
71
  }), d = !0);
72
72
  },
73
- o(r) {
74
- p(a, r), r && (o || (o = C(
73
+ o(a) {
74
+ p(r, a), a && (o || (o = k(
75
75
  e,
76
76
  x,
77
77
  /*duration*/
@@ -79,8 +79,8 @@ function E(n) {
79
79
  !1
80
80
  )), o.run(0)), d = !1;
81
81
  },
82
- d(r) {
83
- r && H(t), a && a.d(r), n[10](null), l(), r && o && o.end(), n[12](null);
82
+ d(a) {
83
+ a && j(t), r && r.d(a), n[10](null), l(), a && o && o.end(), n[12](null);
84
84
  }
85
85
  };
86
86
  }
@@ -91,7 +91,7 @@ function et(n) {
91
91
  );
92
92
  return {
93
93
  c() {
94
- i && i.c(), t = G();
94
+ i && i.c(), t = Q();
95
95
  },
96
96
  m(l, o) {
97
97
  i && i.m(l, o), L(l, t, o), e = !0;
@@ -99,9 +99,9 @@ function et(n) {
99
99
  p(l, [o]) {
100
100
  /*show*/
101
101
  l[5] ? i ? (i.p(l, o), o & /*show*/
102
- 32 && m(i, 1)) : (i = E(l), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (P(), p(i, 1, 1, () => {
102
+ 32 && m(i, 1)) : (i = E(l), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Z(), p(i, 1, 1, () => {
103
103
  i = null;
104
- }), Q());
104
+ }), A());
105
105
  },
106
106
  i(l) {
107
107
  e || (m(i), e = !0);
@@ -110,12 +110,12 @@ function et(n) {
110
110
  p(i), e = !1;
111
111
  },
112
112
  d(l) {
113
- l && H(t), i && i.d(l);
113
+ l && j(t), i && i.d(l);
114
114
  }
115
115
  };
116
116
  }
117
117
  function nt(n, t, e) {
118
- let { $$slots: i = {}, $$scope: l } = t, { clientstyling: o = "" } = t, { clientstylingurl: d = "" } = t, { duration: f = 200 } = t, { width: a } = t, { height: r } = t, c, u, _ = !1;
118
+ let { $$slots: i = {}, $$scope: l } = t, { clientstyling: o = "" } = t, { clientstylingurl: d = "" } = t, { duration: f = 200 } = t, { width: r } = t, { height: a } = t, c, u, _ = !1;
119
119
  const T = () => {
120
120
  e(5, _ = !1), window.postMessage({ type: "ClosedCashierModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
121
121
  }, b = (s) => {
@@ -124,11 +124,11 @@ function nt(n, t, e) {
124
124
  let s = document.createElement("style");
125
125
  s.innerHTML = o, u.appendChild(s);
126
126
  }, B = () => {
127
- let s = new URL(d), M = document.createElement("style");
127
+ let s = new URL(d), C = document.createElement("style");
128
128
  fetch(s.href).then((w) => w.text()).then((w) => {
129
- M.innerHTML = w, setTimeout(
129
+ C.innerHTML = w, setTimeout(
130
130
  () => {
131
- u.appendChild(M);
131
+ u.appendChild(C);
132
132
  },
133
133
  1
134
134
  );
@@ -142,23 +142,23 @@ function nt(n, t, e) {
142
142
  c = s, e(4, c);
143
143
  });
144
144
  }
145
- function F() {
146
- a = this.clientWidth, r = this.clientHeight, e(0, a), e(1, r);
145
+ function q() {
146
+ r = this.clientWidth, a = this.clientHeight, e(0, r), e(1, a);
147
147
  }
148
- function O(s) {
148
+ function F(s) {
149
149
  S[s ? "unshift" : "push"](() => {
150
150
  u = s, e(3, u);
151
151
  });
152
152
  }
153
153
  return n.$$set = (s) => {
154
- "clientstyling" in s && e(6, o = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, a = s.width), "height" in s && e(1, r = s.height), "$$scope" in s && e(8, l = s.$$scope);
154
+ "clientstyling" in s && e(6, o = s.clientstyling), "clientstylingurl" in s && e(7, d = s.clientstylingurl), "duration" in s && e(2, f = s.duration), "width" in s && e(0, r = s.width), "height" in s && e(1, a = s.height), "$$scope" in s && e(8, l = s.$$scope);
155
155
  }, n.$$.update = () => {
156
156
  n.$$.dirty & /*clientstyling, customStylingContainer*/
157
157
  72 && o && u && W(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
158
158
  136 && d && u && B();
159
159
  }, [
160
- a,
161
160
  r,
161
+ a,
162
162
  f,
163
163
  u,
164
164
  c,
@@ -168,18 +168,18 @@ function nt(n, t, e) {
168
168
  l,
169
169
  i,
170
170
  R,
171
- F,
172
- O
171
+ q,
172
+ F
173
173
  ];
174
174
  }
175
- class j extends q {
175
+ class H extends U {
176
176
  constructor(t) {
177
- super(), A(
177
+ super(), D(
178
178
  this,
179
179
  t,
180
180
  nt,
181
181
  et,
182
- D,
182
+ N,
183
183
  {
184
184
  clientstyling: 6,
185
185
  clientstylingurl: 7,
@@ -221,10 +221,10 @@ class j extends q {
221
221
  this.$$set({ height: t }), g();
222
222
  }
223
223
  }
224
- Z(j, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
224
+ G(H, { clientstyling: {}, clientstylingurl: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
225
225
  const st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
226
226
  __proto__: null,
227
- default: j
227
+ default: H
228
228
  }, Symbol.toStringTag, { value: "Module" }));
229
229
  export {
230
230
  st as C,
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, x as p, l as z, m as f, A as E, o as h, y as x, p as S, q as L, z as M, E as T } from "./CashierConfirmModal-untxGhsx.js";
2
- function q(n) {
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, A as L, z as p, n as x, v as M, C as T } from "./CashierConfirmModal-CV61pzu0.js";
2
+ function H(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function H(n) {
5
+ function R(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = x(
9
+ t = h("div"), s = h("span"), r = b(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = S(), l = h("button"), a = x(
12
+ ), u = z(), l = h("button"), a = b(
13
13
  /*button*/
14
14
  n[1]
15
- ), L(t, "class", "CashierNotifications");
15
+ ), S(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
18
+ E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function H(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: b,
39
- o: b,
38
+ i: x,
39
+ o: x,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && M(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function R(n, t, s) {
45
+ function U(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function R(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- M[e ? "unshift" : "push"](() => {
64
+ T[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -81,21 +81,21 @@ function R(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class U extends C {
84
+ class j extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
+ U,
89
90
  R,
90
- H,
91
- _,
91
+ k,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- q
98
+ H
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ _(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- U as default
128
+ j as default
129
129
  };
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, s as _, f as d, c as N, n as b, e as k, y as p, m as z, o as f, B as E, p as h, z as x, q as S, v as L, A as M, E as T } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- function q(n) {
1
+ import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, A as L, z as p, n as x, v as M, C as T } from "./CashierConfirmModal-DV0Fu11y.js";
2
+ function H(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function B(n) {
5
+ function R(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = x(
9
+ t = h("div"), s = h("span"), r = b(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = S(), l = h("button"), a = x(
12
+ ), u = z(), l = h("button"), a = b(
13
13
  /*button*/
14
14
  n[1]
15
- ), L(t, "class", "CashierNotifications");
15
+ ), S(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
18
+ E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function B(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: b,
39
- o: b,
38
+ i: x,
39
+ o: x,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && M(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function H(n, t, s) {
45
+ function U(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -61,7 +61,7 @@ function H(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- M[e ? "unshift" : "push"](() => {
64
+ T[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -81,21 +81,21 @@ function H(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class R extends C {
84
+ class j extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- H,
90
- B,
91
- _,
89
+ U,
90
+ R,
91
+ k,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- q
98
+ H
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class R extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- T(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ _(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- R as default
128
+ j as default
129
129
  };