@everymatrix/cashier-page 1.75.0 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/components/{CashierError-BIqFaX3H.js → CashierError-C-zeMshr.js} +1967 -1077
  2. package/components/{CashierError-BWuNinWy.js → CashierError-DW5fJt8u.js} +1938 -1085
  3. package/components/CashierError-Do2yNrqx.cjs +8 -0
  4. package/components/{CashierHeader-CXaZ-6Ua.js → CashierHeader-BvRhx3QL.js} +61 -62
  5. package/components/{CashierHeader-Ca2cghIW.js → CashierHeader-DO8Jda8y.js} +62 -63
  6. package/components/CashierHeader-b4lqjMMD.cjs +1 -0
  7. package/components/{CashierIframeRedirect-ChyzshIQ.js → CashierIframeRedirect-BeOg9j9R.js} +54 -55
  8. package/components/{CashierIframeRedirect-7GBPLJHr.js → CashierIframeRedirect-DaYR4ZSu.js} +48 -49
  9. package/components/CashierIframeRedirect-tAMQ7K0U.cjs +1 -0
  10. package/components/{CashierMethodDetails-BuRbRo-R.js → CashierMethodDetails-3jy1FDno.js} +3537 -2932
  11. package/components/CashierMethodDetails-BccXMt8_.cjs +99 -0
  12. package/components/{CashierMethodDetails-CEFupmfP.js → CashierMethodDetails-D1Rbykqx.js} +3510 -2904
  13. package/components/{CashierMethodsList-BqmFmDOC.js → CashierMethodsList-B2qR503A.js} +84 -85
  14. package/components/CashierMethodsList-CscGn4Gv.cjs +1 -0
  15. package/components/{CashierMethodsList-CB_m5hK-.js → CashierMethodsList-LrhQVCu_.js} +91 -92
  16. package/components/{CashierModal-Bh6E-PDS.js → CashierModal-BU4NlVMY.js} +36 -36
  17. package/components/CashierModal-CVXS5J4T.cjs +1 -0
  18. package/components/{CashierModal-CTayVmDw.js → CashierModal-DvL5giYo.js} +31 -31
  19. package/components/{CashierNotifications-CM4Cti_x.js → CashierNotifications-BD7efj1m.js} +20 -20
  20. package/components/CashierNotifications-BRJ9mXv_.cjs +1 -0
  21. package/components/{CashierNotifications-77FpsD4N.js → CashierNotifications-CUz6gwXF.js} +19 -19
  22. package/components/CashierPage-BbXHTH84.cjs +1 -0
  23. package/components/{CashierPage-Dq-XwH-T.js → CashierPage-CW6lgArf.js} +971 -874
  24. package/components/{CashierPage-B90j2bUX.js → CashierPage-Db8ZicVP.js} +971 -874
  25. package/components/{CashierReceiptPage-BsBy8_a9.js → CashierReceiptPage-Br9U1RfK.js} +95 -96
  26. package/components/{CashierReceiptPage-TGTe-vYp.js → CashierReceiptPage-CBbzq7O6.js} +118 -119
  27. package/components/CashierReceiptPage-Cf5pCh8Z.cjs +1 -0
  28. package/components/{CashierSessionExpirationModal-D7u1LLSa.js → CashierSessionExpirationModal-B8lZyvQF.js} +52 -62
  29. package/components/{CashierSessionExpirationModal-Bwks132l.js → CashierSessionExpirationModal-BZLQ4F3T.js} +52 -62
  30. package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +2 -0
  31. package/components/CashierSpinner-B3kDZ7DD.cjs +1 -0
  32. package/components/{CashierSpinner-sEBjrLfs.js → CashierSpinner-CWDfPPKy.js} +14 -14
  33. package/components/{CashierSpinner-C6RPqoHx.js → CashierSpinner-u67Lmpn1.js} +16 -16
  34. package/components/{CashierTransactionHistory-DiONlMGi.js → CashierTransactionHistory-BmG7XPkF.js} +141 -142
  35. package/components/{CashierTransactionHistory-CkMKi6Fz.js → CashierTransactionHistory-C81J2b3z.js} +178 -179
  36. package/components/CashierTransactionHistory-DVJeMS7y.cjs +1 -0
  37. package/components/{CashierVerifications-B63zidU5.js → CashierVerifications-BluIxyAW.js} +40 -41
  38. package/components/{CashierVerifications-DkUcWYyo.js → CashierVerifications-DMMGPuTt.js} +49 -50
  39. package/components/CashierVerifications-DbTUG014.cjs +1 -0
  40. package/components/{TxnStatusIcon-Bqtf3sG3.js → TxnStatusIcon-DK8gf5Ec.js} +21 -21
  41. package/components/{TxnStatusIcon-fiVxFVX_.js → TxnStatusIcon-Degz9oJQ.js} +25 -25
  42. package/components/TxnStatusIcon-DlBt7swO.cjs +1 -0
  43. package/components/{TxnTypeIcons-CA9VDuG4.js → TxnTypeIcons-Cjawm9IS.js} +14 -14
  44. package/components/TxnTypeIcons-DH1CxqvE.cjs +1 -0
  45. package/components/{TxnTypeIcons-DMjccElF.js → TxnTypeIcons-DdfELKt3.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  51. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  52. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  53. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  54. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  55. package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
  56. package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
  57. package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
  58. package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  62. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  63. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  64. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  65. package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
  66. package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
  67. package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
  71. package/components/CashierConfirmModal-Dx60VYf6.js +0 -1165
  72. package/components/CashierConfirmModal-irSMDzV_.cjs +0 -4
  73. package/components/CashierConfirmModal-rwhmlwC5.js +0 -1128
  74. package/components/CashierError-CORG04aE.cjs +0 -18
  75. package/components/CashierHeader-Dl6r6hK0.cjs +0 -1
  76. package/components/CashierIframeRedirect-BjLvrvKL.cjs +0 -1
  77. package/components/CashierMethodDetails-DxYPk7Br.cjs +0 -86
  78. package/components/CashierMethodsList-BI_GHUxf.cjs +0 -1
  79. package/components/CashierModal-BwVWBmwZ.cjs +0 -1
  80. package/components/CashierNotifications-YOOhP2yz.cjs +0 -1
  81. package/components/CashierPage-Bi90dl_Y.cjs +0 -1
  82. package/components/CashierReceiptPage-C-5P1j5e.cjs +0 -1
  83. package/components/CashierSessionExpirationModal-lqr-I0nF.cjs +0 -2
  84. package/components/CashierSpinner-BhE9RAhI.cjs +0 -1
  85. package/components/CashierTransactionHistory-BSO5XGtr.cjs +0 -1
  86. package/components/CashierVerifications-J6r2bd7v.cjs +0 -1
  87. package/components/TxnStatusIcon-C9hNDByt.cjs +0 -1
  88. package/components/TxnTypeIcons-D6ZYjaVc.cjs +0 -1
  89. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  90. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  91. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  92. package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
  93. package/stencil/index-b2193545-DWKmtYUG.js +0 -503
  94. package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
@@ -1,5 +1,5 @@
1
- import { U as q, S as U, b as A, f as g, c as F, a as G, d as H, A as J, k as S, t as m, p as w, q as L, v as j, x as N, y as P, z as R, e as T, g as y, j as b, J as p, l as x, V, u as D, m as I, o as K, W as v, E as Q, F as C, G as X } from "./CashierConfirmModal-Dx60VYf6.js";
2
- function M(e, { delay: t = 0, duration: i = 400, easing: n = q } = {}) {
1
+ import { W as O, S as A, b as D, s as H, f as g, c as K, e as z, t as y, g as m, X as L, Y as N, k as j, r as P, q as R, d as T, Z as b, K as p, u as U, h as X, j as Y, l as x, _ as Z, m as w, o as v, x as C, A as F, B as G, C as I, D as J } from "./CashierError-C-zeMshr.js";
2
+ function M(e, { delay: t = 0, duration: i = 400, easing: n = O } = {}) {
3
3
  const o = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -8,11 +8,11 @@ function M(e, { delay: t = 0, duration: i = 400, easing: n = q } = {}) {
8
8
  css: (r) => `opacity: ${r * o}`
9
9
  };
10
10
  }
11
- function Y(e) {
12
- H(e, "svelte-1cgf4b", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:1}.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(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:90%}.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(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn .ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalCloseBtn .ModalOkButton{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.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}}");
11
+ function Q(e) {
12
+ K(e, "svelte-8iq2ew", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:absolute;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.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(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:90%}.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(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn .ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalCloseBtn .ModalOkButton{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.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
- const Z = (e) => ({}), k = (e) => ({});
15
- function z(e) {
14
+ const V = (e) => ({}), k = (e) => ({});
15
+ function S(e) {
16
16
  let t, i, n, o, r, c;
17
17
  const f = (
18
18
  /*#slots*/
@@ -26,13 +26,13 @@ function z(e) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), i = y("div"), n = y("div"), a && a.c(), b(n, "class", "ModalContainer"), b(i, "id", "Modal"), p(() => (
29
+ t = w("div"), i = w("div"), n = w("div"), a && a.c(), v(n, "class", "ModalContainer"), v(i, "id", "Modal"), p(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  e[12].call(i)
32
32
  ));
33
33
  },
34
34
  m(l, d) {
35
- S(l, t, d), x(t, i), x(i, n), a && a.m(n, null), e[11](i), o = V(
35
+ j(l, t, d), x(t, i), x(i, n), a && a.m(n, null), e[11](i), o = Z(
36
36
  i,
37
37
  /*div1_elementresize_handler*/
38
38
  e[12].bind(i)
@@ -40,19 +40,19 @@ function z(e) {
40
40
  },
41
41
  p(l, d) {
42
42
  e = l, a && a.p && (!c || d & /*$$scope*/
43
- 512) && D(
43
+ 512) && U(
44
44
  a,
45
45
  f,
46
46
  e,
47
47
  /*$$scope*/
48
48
  e[9],
49
- c ? K(
49
+ c ? Y(
50
50
  f,
51
51
  /*$$scope*/
52
52
  e[9],
53
53
  d,
54
- Z
55
- ) : I(
54
+ V
55
+ ) : X(
56
56
  /*$$scope*/
57
57
  e[9]
58
58
  ),
@@ -61,7 +61,7 @@ function z(e) {
61
61
  },
62
62
  i(l) {
63
63
  c || (m(a, l), l && p(() => {
64
- c && (r || (r = v(
64
+ c && (r || (r = b(
65
65
  i,
66
66
  M,
67
67
  /*duration*/
@@ -71,7 +71,7 @@ function z(e) {
71
71
  }), c = !0);
72
72
  },
73
73
  o(l) {
74
- w(a, l), l && (r || (r = v(
74
+ y(a, l), l && (r || (r = b(
75
75
  i,
76
76
  M,
77
77
  /*duration*/
@@ -80,53 +80,53 @@ function z(e) {
80
80
  )), r.run(0)), c = !1;
81
81
  },
82
82
  d(l) {
83
- l && j(t), a && a.d(l), e[11](null), o(), l && r && r.end(), e[13](null);
83
+ l && z(t), a && a.d(l), e[11](null), o(), l && r && r.end(), e[13](null);
84
84
  }
85
85
  };
86
86
  }
87
87
  function $(e) {
88
88
  let t, i, n = (
89
89
  /*show*/
90
- e[2] === "true" && z(e)
90
+ e[2] === "true" && S(e)
91
91
  );
92
92
  return {
93
93
  c() {
94
- n && n.c(), t = J();
94
+ n && n.c(), t = P();
95
95
  },
96
96
  m(o, r) {
97
- n && n.m(o, r), S(o, t, r), i = !0;
97
+ n && n.m(o, r), j(o, t, r), i = !0;
98
98
  },
99
99
  p(o, [r]) {
100
100
  /*show*/
101
101
  o[2] === "true" ? n ? (n.p(o, r), r & /*show*/
102
- 4 && m(n, 1)) : (n = z(o), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (Q(), w(n, 1, 1, () => {
102
+ 4 && m(n, 1)) : (n = S(o), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (L(), y(n, 1, 1, () => {
103
103
  n = null;
104
- }), L());
104
+ }), N());
105
105
  },
106
106
  i(o) {
107
107
  i || (m(n), i = !0);
108
108
  },
109
109
  o(o) {
110
- w(n), i = !1;
110
+ y(n), i = !1;
111
111
  },
112
112
  d(o) {
113
- o && j(t), n && n.d(o);
113
+ o && z(t), n && n.d(o);
114
114
  }
115
115
  };
116
116
  }
117
117
  function tt(e, t, i) {
118
118
  let { $$slots: n = {}, $$scope: o } = t, { mbsource: r } = t, { clientstyling: c } = t, { clientstylingurl: f } = t, { show: a } = t, { duration: l = 200 } = t, { width: d } = t, { height: h } = t, _, u;
119
- N(() => () => {
119
+ R(() => () => {
120
120
  });
121
- function E(s) {
121
+ function W(s) {
122
122
  C[s ? "unshift" : "push"](() => {
123
123
  _ = s, i(5, _);
124
124
  });
125
125
  }
126
- function W() {
126
+ function q() {
127
127
  d = this.clientWidth, h = this.clientHeight, i(0, d), i(1, h);
128
128
  }
129
- function O(s) {
129
+ function E(s) {
130
130
  C[s ? "unshift" : "push"](() => {
131
131
  u = s, i(4, u);
132
132
  });
@@ -135,9 +135,9 @@ function tt(e, t, i) {
135
135
  "mbsource" in s && i(6, r = s.mbsource), "clientstyling" in s && i(7, c = s.clientstyling), "clientstylingurl" in s && i(8, f = s.clientstylingurl), "show" in s && i(2, a = s.show), "duration" in s && i(3, l = s.duration), "width" in s && i(0, d = s.width), "height" in s && i(1, h = s.height), "$$scope" in s && i(9, o = s.$$scope);
136
136
  }, e.$$.update = () => {
137
137
  e.$$.dirty & /*clientstyling, customStylingContainer*/
138
- 144 && c && u && X(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
139
- 272 && f && u && P(u, f), e.$$.dirty & /*mbsource, customStylingContainer*/
140
- 80 && r && u && R(u, `${r}.Style`);
138
+ 144 && c && u && F(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
139
+ 272 && f && u && G(u, f), e.$$.dirty & /*mbsource, customStylingContainer*/
140
+ 80 && r && u && I(u, `${r}.Style`);
141
141
  }, [
142
142
  d,
143
143
  h,
@@ -150,19 +150,19 @@ function tt(e, t, i) {
150
150
  f,
151
151
  o,
152
152
  n,
153
- E,
154
153
  W,
155
- O
154
+ q,
155
+ E
156
156
  ];
157
157
  }
158
- class B extends U {
158
+ class B extends A {
159
159
  constructor(t) {
160
- super(), A(
160
+ super(), D(
161
161
  this,
162
162
  t,
163
163
  tt,
164
164
  $,
165
- G,
165
+ H,
166
166
  {
167
167
  mbsource: 6,
168
168
  clientstyling: 7,
@@ -172,7 +172,7 @@ class B extends U {
172
172
  width: 0,
173
173
  height: 1
174
174
  },
175
- Y
175
+ Q
176
176
  );
177
177
  }
178
178
  get mbsource() {
@@ -218,7 +218,7 @@ class B extends U {
218
218
  this.$$set({ height: t }), g();
219
219
  }
220
220
  }
221
- F(B, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
221
+ J(B, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
222
222
  const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
223
223
  __proto__: null,
224
224
  default: B
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./CashierError-Do2yNrqx.cjs");function _(i,{delay:e=0,duration:n=400,easing:r=t.identity}={}){const s=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:r,css:l=>`opacity: ${l*s}`}}function C(i){t.append_styles(i,"svelte-8iq2ew","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:absolute;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.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(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:90%}.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(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn .ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalCloseBtn .ModalOkButton{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.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}}")}const M=i=>({}),w=i=>({});function b(i){let e,n,r,s,l,d;const f=i[10].content,c=t.create_slot(f,i,i[9],w);return{c(){e=t.element("div"),n=t.element("div"),r=t.element("div"),c&&c.c(),t.attr(r,"class","ModalContainer"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[12].call(n))},m(a,u){t.insert(a,e,u),t.append(e,n),t.append(n,r),c&&c.m(r,null),i[11](n),s=t.add_iframe_resize_listener(n,i[12].bind(n)),i[13](e),d=!0},p(a,u){i=a,c&&c.p&&(!d||u&512)&&t.update_slot_base(c,f,i,i[9],d?t.get_slot_changes(f,i[9],u,M):t.get_all_dirty_from_scope(i[9]),w)},i(a){d||(t.transition_in(c,a),a&&t.add_render_callback(()=>{d&&(l||(l=t.create_bidirectional_transition(n,_,i[3],!0)),l.run(1))}),d=!0)},o(a){t.transition_out(c,a),a&&(l||(l=t.create_bidirectional_transition(n,_,i[3],!1)),l.run(0)),d=!1},d(a){a&&t.detach(e),c&&c.d(a),i[11](null),s(),a&&l&&l.end(),i[13](null)}}}function k(i){let e,n,r=i[2]==="true"&&b(i);return{c(){r&&r.c(),e=t.empty()},m(s,l){r&&r.m(s,l),t.insert(s,e,l),n=!0},p(s,[l]){s[2]==="true"?r?(r.p(s,l),l&4&&t.transition_in(r,1)):(r=b(s),r.c(),t.transition_in(r,1),r.m(e.parentNode,e)):r&&(t.group_outros(),t.transition_out(r,1,1,()=>{r=null}),t.check_outros())},i(s){n||(t.transition_in(r),n=!0)},o(s){t.transition_out(r),n=!1},d(s){s&&t.detach(e),r&&r.d(s)}}}function z(i,e,n){let{$$slots:r={},$$scope:s}=e,{mbsource:l}=e,{clientstyling:d}=e,{clientstylingurl:f}=e,{show:c}=e,{duration:a=200}=e,{width:u}=e,{height:g}=e,m,h;t.onMount(()=>()=>{});function p(o){t.binding_callbacks[o?"unshift":"push"](()=>{m=o,n(5,m)})}function x(){u=this.clientWidth,g=this.clientHeight,n(0,u),n(1,g)}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,n(4,h)})}return i.$$set=o=>{"mbsource"in o&&n(6,l=o.mbsource),"clientstyling"in o&&n(7,d=o.clientstyling),"clientstylingurl"in o&&n(8,f=o.clientstylingurl),"show"in o&&n(2,c=o.show),"duration"in o&&n(3,a=o.duration),"width"in o&&n(0,u=o.width),"height"in o&&n(1,g=o.height),"$$scope"in o&&n(9,s=o.$$scope)},i.$$.update=()=>{i.$$.dirty&144&&d&&h&&t.setClientStyling(h,d),i.$$.dirty&272&&f&&h&&t.setClientStylingURL(h,f),i.$$.dirty&80&&l&&h&&t.setStreamStyling(h,`${l}.Style`)},[u,g,c,a,h,m,l,d,f,s,r,p,x,v]}class y extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,z,k,t.safe_not_equal,{mbsource:6,clientstyling:7,clientstylingurl:8,show:2,duration:3,width:0,height:1},C)}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[3]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(y,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},duration:{},width:{},height:{}},["content"],[],!0);const S=Object.freeze(Object.defineProperty({__proto__:null,default:y},Symbol.toStringTag,{value:"Module"}));exports.CashierModal_ce=S;exports.fade=_;
@@ -1,4 +1,4 @@
1
- import { U as q, S as U, b as A, f as g, c as F, a as G, d as H, A as J, k as S, t as m, p as w, q as L, v as j, x as N, y as P, z as R, e as T, g as y, j as b, J as p, l as x, V, u as D, m as I, o as K, W as v, E as Q, F as C, G as X } from "./CashierConfirmModal-rwhmlwC5.js";
1
+ import { W as q, S as D, b as H, s as K, f as g, d as L, g as z, t as y, h as m, X as N, Y as P, l as j, v as R, r as T, e as U, Z as b, K as p, u as X, j as Y, k as Z, m as x, _ as A, n as w, p as v, y as C, C as F, D as G, E as I, c as J } from "./CashierError-DW5fJt8u.js";
2
2
  function M(e, { delay: t = 0, duration: i = 400, easing: n = q } = {}) {
3
3
  const o = +getComputedStyle(e).opacity;
4
4
  return {
@@ -8,16 +8,16 @@ function M(e, { delay: t = 0, duration: i = 400, easing: n = q } = {}) {
8
8
  css: (r) => `opacity: ${r * o}`
9
9
  };
10
10
  }
11
- function Y(e) {
12
- H(e, "svelte-1cgf4b", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:1}.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(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:90%}.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(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn .ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalCloseBtn .ModalOkButton{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.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}}");
11
+ function Q(e) {
12
+ L(e, "svelte-8iq2ew", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:absolute;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.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(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));container-type:inline-size;container-name:modal-window;border-radius:6px}.ModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:90%}.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(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn .ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalCloseBtn .ModalOkButton{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.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
- const Z = (e) => ({}), k = (e) => ({});
15
- function z(e) {
14
+ const V = (e) => ({}), k = (e) => ({});
15
+ function S(e) {
16
16
  let t, i, n, o, r, c;
17
17
  const f = (
18
18
  /*#slots*/
19
19
  e[10].content
20
- ), a = T(
20
+ ), a = U(
21
21
  f,
22
22
  e,
23
23
  /*$$scope*/
@@ -26,13 +26,13 @@ function z(e) {
26
26
  );
27
27
  return {
28
28
  c() {
29
- t = y("div"), i = y("div"), n = y("div"), a && a.c(), b(n, "class", "ModalContainer"), b(i, "id", "Modal"), p(() => (
29
+ t = w("div"), i = w("div"), n = w("div"), a && a.c(), v(n, "class", "ModalContainer"), v(i, "id", "Modal"), p(() => (
30
30
  /*div1_elementresize_handler*/
31
31
  e[12].call(i)
32
32
  ));
33
33
  },
34
34
  m(l, d) {
35
- S(l, t, d), x(t, i), x(i, n), a && a.m(n, null), e[11](i), o = V(
35
+ j(l, t, d), x(t, i), x(i, n), a && a.m(n, null), e[11](i), o = A(
36
36
  i,
37
37
  /*div1_elementresize_handler*/
38
38
  e[12].bind(i)
@@ -40,19 +40,19 @@ function z(e) {
40
40
  },
41
41
  p(l, d) {
42
42
  e = l, a && a.p && (!c || d & /*$$scope*/
43
- 512) && D(
43
+ 512) && X(
44
44
  a,
45
45
  f,
46
46
  e,
47
47
  /*$$scope*/
48
48
  e[9],
49
- c ? K(
49
+ c ? Z(
50
50
  f,
51
51
  /*$$scope*/
52
52
  e[9],
53
53
  d,
54
- Z
55
- ) : I(
54
+ V
55
+ ) : Y(
56
56
  /*$$scope*/
57
57
  e[9]
58
58
  ),
@@ -61,7 +61,7 @@ function z(e) {
61
61
  },
62
62
  i(l) {
63
63
  c || (m(a, l), l && p(() => {
64
- c && (r || (r = v(
64
+ c && (r || (r = b(
65
65
  i,
66
66
  M,
67
67
  /*duration*/
@@ -71,7 +71,7 @@ function z(e) {
71
71
  }), c = !0);
72
72
  },
73
73
  o(l) {
74
- w(a, l), l && (r || (r = v(
74
+ y(a, l), l && (r || (r = b(
75
75
  i,
76
76
  M,
77
77
  /*duration*/
@@ -80,43 +80,43 @@ function z(e) {
80
80
  )), r.run(0)), c = !1;
81
81
  },
82
82
  d(l) {
83
- l && j(t), a && a.d(l), e[11](null), o(), l && r && r.end(), e[13](null);
83
+ l && z(t), a && a.d(l), e[11](null), o(), l && r && r.end(), e[13](null);
84
84
  }
85
85
  };
86
86
  }
87
87
  function $(e) {
88
88
  let t, i, n = (
89
89
  /*show*/
90
- e[2] === "true" && z(e)
90
+ e[2] === "true" && S(e)
91
91
  );
92
92
  return {
93
93
  c() {
94
- n && n.c(), t = J();
94
+ n && n.c(), t = R();
95
95
  },
96
96
  m(o, r) {
97
- n && n.m(o, r), S(o, t, r), i = !0;
97
+ n && n.m(o, r), j(o, t, r), i = !0;
98
98
  },
99
99
  p(o, [r]) {
100
100
  /*show*/
101
101
  o[2] === "true" ? n ? (n.p(o, r), r & /*show*/
102
- 4 && m(n, 1)) : (n = z(o), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (Q(), w(n, 1, 1, () => {
102
+ 4 && m(n, 1)) : (n = S(o), n.c(), m(n, 1), n.m(t.parentNode, t)) : n && (N(), y(n, 1, 1, () => {
103
103
  n = null;
104
- }), L());
104
+ }), P());
105
105
  },
106
106
  i(o) {
107
107
  i || (m(n), i = !0);
108
108
  },
109
109
  o(o) {
110
- w(n), i = !1;
110
+ y(n), i = !1;
111
111
  },
112
112
  d(o) {
113
- o && j(t), n && n.d(o);
113
+ o && z(t), n && n.d(o);
114
114
  }
115
115
  };
116
116
  }
117
117
  function tt(e, t, i) {
118
118
  let { $$slots: n = {}, $$scope: o } = t, { mbsource: r } = t, { clientstyling: c } = t, { clientstylingurl: f } = t, { show: a } = t, { duration: l = 200 } = t, { width: d } = t, { height: h } = t, _, u;
119
- N(() => () => {
119
+ T(() => () => {
120
120
  });
121
121
  function E(s) {
122
122
  C[s ? "unshift" : "push"](() => {
@@ -135,9 +135,9 @@ function tt(e, t, i) {
135
135
  "mbsource" in s && i(6, r = s.mbsource), "clientstyling" in s && i(7, c = s.clientstyling), "clientstylingurl" in s && i(8, f = s.clientstylingurl), "show" in s && i(2, a = s.show), "duration" in s && i(3, l = s.duration), "width" in s && i(0, d = s.width), "height" in s && i(1, h = s.height), "$$scope" in s && i(9, o = s.$$scope);
136
136
  }, e.$$.update = () => {
137
137
  e.$$.dirty & /*clientstyling, customStylingContainer*/
138
- 144 && c && u && X(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
139
- 272 && f && u && P(u, f), e.$$.dirty & /*mbsource, customStylingContainer*/
140
- 80 && r && u && R(u, `${r}.Style`);
138
+ 144 && c && u && F(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
139
+ 272 && f && u && G(u, f), e.$$.dirty & /*mbsource, customStylingContainer*/
140
+ 80 && r && u && I(u, `${r}.Style`);
141
141
  }, [
142
142
  d,
143
143
  h,
@@ -155,14 +155,14 @@ function tt(e, t, i) {
155
155
  O
156
156
  ];
157
157
  }
158
- class B extends U {
158
+ class B extends D {
159
159
  constructor(t) {
160
- super(), A(
160
+ super(), H(
161
161
  this,
162
162
  t,
163
163
  tt,
164
164
  $,
165
- G,
165
+ K,
166
166
  {
167
167
  mbsource: 6,
168
168
  clientstyling: 7,
@@ -172,7 +172,7 @@ class B extends U {
172
172
  width: 0,
173
173
  height: 1
174
174
  },
175
- Y
175
+ Q
176
176
  );
177
177
  }
178
178
  get mbsource() {
@@ -218,7 +218,7 @@ class B extends U {
218
218
  this.$$set({ height: t }), g();
219
219
  }
220
220
  }
221
- F(B, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
221
+ J(B, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
222
222
  const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
223
223
  __proto__: null,
224
224
  default: B
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-rwhmlwC5.js";
2
- function B(n) {
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}");
1
+ import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, D as T } from "./CashierError-C-zeMshr.js";
2
+ function H(n) {
3
+ k(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 F(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 = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), S(t, "class", "CashierNotifications");
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
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(
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 = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function F(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && N(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
- T[e ? "unshift" : "push"](() => {
64
+ M[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 q extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- H,
90
- F,
91
- k,
89
+ U,
90
+ R,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- B
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
- _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- R as default
128
+ q as default
129
129
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-Do2yNrqx.cjs");function y(i){t.append_styles(i,"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}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
@@ -1,21 +1,21 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, B as b, h as z, j as S, k as E, l as f, D as L, C as p, n as x, v as M, F as T } from "./CashierConfirmModal-Dx60VYf6.js";
2
- function B(n) {
1
+ import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierError-DW5fJt8u.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 F(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 = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), S(t, "class", "CashierNotifications");
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
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(
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 = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,14 +35,14 @@ function F(n) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && k(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
- T[e ? "unshift" : "push"](() => {
64
+ M[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 q extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- H,
90
- F,
91
- k,
89
+ U,
90
+ R,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- B
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
- _(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- R as default
128
+ q as default
129
129
  };