@everymatrix/cashier-page 1.85.20 → 1.85.21

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 (65) hide show
  1. package/components/{CashierCarousel-Cf2c1vPp.js → CashierCarousel-C5QNf4lE.js} +376 -378
  2. package/components/{CashierCarousel-DHmjrgBC.cjs → CashierCarousel-Jl2aqYfe.cjs} +6 -6
  3. package/components/{CashierCarousel-CsnmOP94.js → CashierCarousel-SDse7_hX.js} +372 -374
  4. package/components/{CashierError-CLWqWwfU.cjs → CashierError-Bwwq1pwM.cjs} +1 -1
  5. package/components/{CashierError-BIiEXbdF.js → CashierError-DkeWHxFp.js} +1 -1
  6. package/components/{CashierError-BDmChuIE.js → CashierError-Jdj_uZ4I.js} +1 -1
  7. package/components/{CashierHeader-Dd5b4-yJ.js → CashierHeader-Bfh3U7q4.js} +1 -1
  8. package/components/{CashierHeader-CP7RROYr.cjs → CashierHeader-CMbldu41.cjs} +1 -1
  9. package/components/{CashierHeader-Cecv5g56.js → CashierHeader-Cee3k8wZ.js} +1 -1
  10. package/components/{CashierIframeRedirect-reE-yTgQ.js → CashierIframeRedirect-BrbS0BDH.js} +3 -3
  11. package/components/{CashierIframeRedirect-BXrhvi-f.cjs → CashierIframeRedirect-C913Adzi.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-DMYVav-v.js → CashierIframeRedirect-aSqRnHR6.js} +3 -3
  13. package/components/{CashierMethodDetails-a7w2Fpuk.cjs → CashierMethodDetails-CkmKFn6o.cjs} +4 -4
  14. package/components/{CashierMethodDetails-BUp0OXBg.js → CashierMethodDetails-DX-z6Jjw.js} +320 -332
  15. package/components/{CashierMethodDetails-CmGkz8Gs.js → CashierMethodDetails-i-RQQsra.js} +266 -278
  16. package/components/{CashierMethodsList-8-1C80wc.js → CashierMethodsList-BGudjIvl.js} +56 -56
  17. package/components/{CashierMethodsList-CtDIeDD9.js → CashierMethodsList-BHs-wwYk.js} +3 -3
  18. package/components/{CashierMethodsList-C97If7sq.cjs → CashierMethodsList-Bi3djwQ1.cjs} +1 -1
  19. package/components/CashierModal-BNtmC5_L.cjs +1 -0
  20. package/components/CashierModal-CwsfMVcW.js +380 -0
  21. package/components/CashierModal-yJBbNL81.js +364 -0
  22. package/components/{CashierNotifications-BVUb_REU.js → CashierNotifications-CFvZHX_b.js} +1 -1
  23. package/components/{CashierNotifications-COlT367w.js → CashierNotifications-DMZuy8M1.js} +1 -1
  24. package/components/{CashierNotifications-DdrhkPqp.cjs → CashierNotifications-hmcOuIJT.cjs} +1 -1
  25. package/components/CashierPage-Ce2US2_i.js +3951 -0
  26. package/components/CashierPage-Dd9JdidT.cjs +1 -0
  27. package/components/CashierPage-g4TEdHpC.js +3977 -0
  28. package/components/{CashierReceiptPage-C_ThGHj9.js → CashierReceiptPage-B9a7gDY-.js} +218 -208
  29. package/components/CashierReceiptPage-C3EVhPo1.cjs +28 -0
  30. package/components/{CashierReceiptPage-Sbqf6VFD.js → CashierReceiptPage-DuEiUyJc.js} +262 -252
  31. package/components/CashierSessionExpirationModal-BCXqjFP1.cjs +2 -0
  32. package/components/CashierSessionExpirationModal-CUZEUmS8.js +1187 -0
  33. package/components/CashierSessionExpirationModal-VNg9En5U.js +1187 -0
  34. package/components/{CashierSpinner-BQWOaYce.js → CashierSpinner-CXXRwfkL.js} +1 -1
  35. package/components/{CashierSpinner-D5McPkCt.cjs → CashierSpinner-DHf6UHDV.cjs} +1 -1
  36. package/components/{CashierSpinner-DZSuVNPM.js → CashierSpinner-XWfResBK.js} +1 -1
  37. package/components/{CashierStepUp-DyfuU9cc.js → CashierStepUp-BUkCs2Td.js} +1 -1
  38. package/components/{CashierStepUp-sBUhsV5t.js → CashierStepUp-BkNgRDll.js} +1 -1
  39. package/components/{CashierStepUp-DWd3cylJ.cjs → CashierStepUp-Cbk0-AbY.cjs} +1 -1
  40. package/components/{CashierTransactionHistory-B9Jw119p.js → CashierTransactionHistory-B8cH2q8D.js} +5 -5
  41. package/components/{CashierTransactionHistory-C6HNHDcy.cjs → CashierTransactionHistory-DK5N-xDu.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-C_hM5qDU.js → CashierTransactionHistory-wILVLaBk.js} +43 -43
  43. package/components/{CashierVerifications-P5L5SY5e.cjs → CashierVerifications-BvCSSDjh.cjs} +1 -1
  44. package/components/{CashierVerifications-D3ppfphF.js → CashierVerifications-DEAJcpkR.js} +2 -2
  45. package/components/{CashierVerifications-B-GmoVz-.js → CashierVerifications-jxiTTMUn.js} +9 -9
  46. package/components/{TxnStatusIcon-DMKCkAXd.js → TxnStatusIcon-B7vs3WN_.js} +1 -1
  47. package/components/{TxnStatusIcon-ty2g5_He.js → TxnStatusIcon-BRmGPXeu.js} +1 -1
  48. package/components/{TxnStatusIcon-BhtPQm1B.cjs → TxnStatusIcon-BorUmEdf.cjs} +1 -1
  49. package/components/{TxnTypeIcons-CyHXLkXz.cjs → TxnTypeIcons-CDAmP_Qb.cjs} +1 -1
  50. package/components/{TxnTypeIcons-D_bSXM7r.js → TxnTypeIcons-C_PpXN7w.js} +1 -1
  51. package/components/{TxnTypeIcons-B5CYl9NW.js → TxnTypeIcons-DvPoXWdX.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierModal-C-jze_SD.js +0 -342
  57. package/components/CashierModal-DVeVHCTj.cjs +0 -1
  58. package/components/CashierModal-Dclaqxyx.js +0 -358
  59. package/components/CashierPage-B0EP4g6U.cjs +0 -1
  60. package/components/CashierPage-BSaar2I5.js +0 -3823
  61. package/components/CashierPage-Iwp2vIzz.js +0 -3849
  62. package/components/CashierReceiptPage-DKQ1TT5R.cjs +0 -26
  63. package/components/CashierSessionExpirationModal-BfNtR7tc.cjs +0 -2
  64. package/components/CashierSessionExpirationModal-BhIHw0Dn.js +0 -1184
  65. package/components/CashierSessionExpirationModal-Se0WGHHJ.js +0 -1184
@@ -0,0 +1,364 @@
1
+ import { S as $, b as ee, s as te, f as C, c as ie, e as E, t as B, g as I, a6 as ne, a7 as oe, k as F, m as b, q as le, Q as Y, d as q, u as R, h as D, j as Q, V as H, l as y, a8 as se, x as ae, n as O, W as U, o as f, L as re, y as j, B as de, C as ce, D as fe, E as he } from "./CashierCarousel-C5QNf4lE.js";
2
+ function ue(i) {
3
+ ie(i, "svelte-medgnp", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
4
+ }
5
+ const me = (i) => ({}), V = (i) => ({}), ge = (i) => ({}), Z = (i) => ({});
6
+ function A(i) {
7
+ let e, t, o, r, h, x, M, k, w, L, T, v, u, p, d, s, S, a = (
8
+ /*modaltype*/
9
+ i[3] == "error" && G()
10
+ );
11
+ const z = (
12
+ /*#slots*/
13
+ i[14].title
14
+ ), m = q(
15
+ z,
16
+ i,
17
+ /*$$scope*/
18
+ i[13],
19
+ Z
20
+ );
21
+ let c = (
22
+ /*isloading*/
23
+ i[4] === "true" && J()
24
+ );
25
+ const W = (
26
+ /*#slots*/
27
+ i[14].content
28
+ ), g = q(
29
+ W,
30
+ i,
31
+ /*$$scope*/
32
+ i[13],
33
+ V
34
+ );
35
+ return {
36
+ c() {
37
+ e = b("div"), t = b("div"), o = b("div"), r = b("div"), a && a.c(), h = O(), x = b("div"), m && m.c(), M = O(), k = b("div"), w = U("svg"), L = U("path"), T = O(), c && c.c(), v = O(), u = b("div"), g && g.c(), f(x, "class", "TitleText"), f(r, "class", "ModalTitle"), f(L, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), f(w, "xmlns", "http://www.w3.org/2000/svg"), f(w, "viewBox", "0 0 13 13"), f(w, "fill", "none"), f(w, "class", "CloseButton"), f(k, "class", "ModalCloseIcon"), f(o, "class", "ModalHeader"), f(u, "class", "ModalContentWrapper"), H(
38
+ u,
39
+ "hidden",
40
+ /*isloading*/
41
+ i[4] === "true"
42
+ ), f(t, "class", "ModalContainer"), H(
43
+ t,
44
+ "video-mode",
45
+ /*modaltype*/
46
+ i[3] === "video"
47
+ ), H(
48
+ t,
49
+ "twofa-mode",
50
+ /*modaltype*/
51
+ i[3] === "2fa"
52
+ ), f(e, "id", "Modal"), re(() => (
53
+ /*div6_elementresize_handler*/
54
+ i[18].call(e)
55
+ ));
56
+ },
57
+ m(l, _) {
58
+ F(l, e, _), y(e, t), y(t, o), y(o, r), a && a.m(r, null), y(r, h), y(r, x), m && m.m(x, null), y(o, M), y(o, k), y(k, w), y(w, L), y(t, T), c && c.m(t, null), y(t, v), y(t, u), g && g.m(u, null), i[15](u), i[16](t), i[17](e), p = se(
59
+ e,
60
+ /*div6_elementresize_handler*/
61
+ i[18].bind(e)
62
+ ), d = !0, s || (S = ae(
63
+ w,
64
+ "click",
65
+ /*closeModal*/
66
+ i[9]
67
+ ), s = !0);
68
+ },
69
+ p(l, _) {
70
+ /*modaltype*/
71
+ l[3] == "error" ? a || (a = G(), a.c(), a.m(r, h)) : a && (a.d(1), a = null), m && m.p && (!d || _ & /*$$scope*/
72
+ 8192) && R(
73
+ m,
74
+ z,
75
+ l,
76
+ /*$$scope*/
77
+ l[13],
78
+ d ? Q(
79
+ z,
80
+ /*$$scope*/
81
+ l[13],
82
+ _,
83
+ ge
84
+ ) : D(
85
+ /*$$scope*/
86
+ l[13]
87
+ ),
88
+ Z
89
+ ), /*isloading*/
90
+ l[4] === "true" ? c || (c = J(), c.c(), c.m(t, v)) : c && (c.d(1), c = null), g && g.p && (!d || _ & /*$$scope*/
91
+ 8192) && R(
92
+ g,
93
+ W,
94
+ l,
95
+ /*$$scope*/
96
+ l[13],
97
+ d ? Q(
98
+ W,
99
+ /*$$scope*/
100
+ l[13],
101
+ _,
102
+ me
103
+ ) : D(
104
+ /*$$scope*/
105
+ l[13]
106
+ ),
107
+ V
108
+ ), (!d || _ & /*isloading*/
109
+ 16) && H(
110
+ u,
111
+ "hidden",
112
+ /*isloading*/
113
+ l[4] === "true"
114
+ ), (!d || _ & /*modaltype*/
115
+ 8) && H(
116
+ t,
117
+ "video-mode",
118
+ /*modaltype*/
119
+ l[3] === "video"
120
+ ), (!d || _ & /*modaltype*/
121
+ 8) && H(
122
+ t,
123
+ "twofa-mode",
124
+ /*modaltype*/
125
+ l[3] === "2fa"
126
+ );
127
+ },
128
+ i(l) {
129
+ d || (I(m, l), I(g, l), d = !0);
130
+ },
131
+ o(l) {
132
+ B(m, l), B(g, l), d = !1;
133
+ },
134
+ d(l) {
135
+ l && E(e), a && a.d(), m && m.d(l), c && c.d(), g && g.d(l), i[15](null), i[16](null), i[17](null), p(), s = !1, S();
136
+ }
137
+ };
138
+ }
139
+ function G(i) {
140
+ let e;
141
+ return {
142
+ c() {
143
+ e = b("div"), e.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', f(e, "class", "WarningIcon");
144
+ },
145
+ m(t, o) {
146
+ F(t, e, o);
147
+ },
148
+ d(t) {
149
+ t && E(e);
150
+ }
151
+ };
152
+ }
153
+ function J(i) {
154
+ let e;
155
+ return {
156
+ c() {
157
+ e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', f(e, "class", "ModalLoadingOverlay");
158
+ },
159
+ m(t, o) {
160
+ F(t, e, o);
161
+ },
162
+ d(t) {
163
+ t && E(e);
164
+ }
165
+ };
166
+ }
167
+ function pe(i) {
168
+ let e, t, o = (
169
+ /*show*/
170
+ i[2] === "true" && A(i)
171
+ );
172
+ return {
173
+ c() {
174
+ e = b("div"), o && o.c();
175
+ },
176
+ m(r, h) {
177
+ F(r, e, h), o && o.m(e, null), i[19](e), t = !0;
178
+ },
179
+ p(r, [h]) {
180
+ /*show*/
181
+ r[2] === "true" ? o ? (o.p(r, h), h & /*show*/
182
+ 4 && I(o, 1)) : (o = A(r), o.c(), I(o, 1), o.m(e, null)) : o && (ne(), B(o, 1, 1, () => {
183
+ o = null;
184
+ }), oe());
185
+ },
186
+ i(r) {
187
+ t || (I(o), t = !0);
188
+ },
189
+ o(r) {
190
+ B(o), t = !1;
191
+ },
192
+ d(r) {
193
+ r && E(e), o && o.d(), i[19](null);
194
+ }
195
+ };
196
+ }
197
+ function ye(i, e, t) {
198
+ let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: x } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: w = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: v } = e, u, p, d, s, S = !1, a, z;
199
+ const m = () => {
200
+ a && clearTimeout(a), u && (u.classList.add("closing"), a = setTimeout(
201
+ () => {
202
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
203
+ },
204
+ 200
205
+ ));
206
+ }, c = async () => {
207
+ if (!s || !d || S)
208
+ return;
209
+ z && clearTimeout(a), S = !0;
210
+ const n = s.offsetWidth, N = s.offsetHeight;
211
+ t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${N}px`, s), s.offsetHeight, await Y();
212
+ const P = d.scrollHeight, X = d.scrollWidth;
213
+ t(8, s.style.width = `${X}px`, s), t(8, s.style.height = `${P}px`, s), z = setTimeout(
214
+ () => {
215
+ s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
216
+ },
217
+ 300
218
+ );
219
+ };
220
+ le(() => {
221
+ if (Y().then(() => {
222
+ c();
223
+ }), d) {
224
+ const n = new ResizeObserver(() => {
225
+ c();
226
+ });
227
+ return n.observe(d), () => {
228
+ n.disconnect();
229
+ };
230
+ }
231
+ return () => {
232
+ a && clearTimeout(a), z && clearTimeout(a);
233
+ };
234
+ });
235
+ function W(n) {
236
+ j[n ? "unshift" : "push"](() => {
237
+ d = n, t(7, d);
238
+ });
239
+ }
240
+ function g(n) {
241
+ j[n ? "unshift" : "push"](() => {
242
+ s = n, t(8, s);
243
+ });
244
+ }
245
+ function l(n) {
246
+ j[n ? "unshift" : "push"](() => {
247
+ u = n, t(6, u);
248
+ });
249
+ }
250
+ function _() {
251
+ T = this.clientWidth, v = this.clientHeight, t(0, T), t(1, v);
252
+ }
253
+ function K(n) {
254
+ j[n ? "unshift" : "push"](() => {
255
+ p = n, t(5, p);
256
+ });
257
+ }
258
+ return i.$$set = (n) => {
259
+ "mbsource" in n && t(10, h = n.mbsource), "clientstyling" in n && t(11, x = n.clientstyling), "clientstylingurl" in n && t(12, M = n.clientstylingurl), "show" in n && t(2, k = n.show), "modaltype" in n && t(3, w = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, v = n.height), "$$scope" in n && t(13, r = n.$$scope);
260
+ }, i.$$.update = () => {
261
+ i.$$.dirty & /*isloading*/
262
+ 16 && L && Y().then(() => {
263
+ c();
264
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
265
+ 2080 && x && p && de(p, x), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
266
+ 4128 && M && p && ce(p, M), i.$$.dirty & /*mbsource, customStylingContainer*/
267
+ 1056 && h && p && fe(p, `${h}.Style`);
268
+ }, [
269
+ T,
270
+ v,
271
+ k,
272
+ w,
273
+ L,
274
+ p,
275
+ u,
276
+ d,
277
+ s,
278
+ m,
279
+ h,
280
+ x,
281
+ M,
282
+ r,
283
+ o,
284
+ W,
285
+ g,
286
+ l,
287
+ _,
288
+ K
289
+ ];
290
+ }
291
+ class we extends $ {
292
+ constructor(e) {
293
+ super(), ee(
294
+ this,
295
+ e,
296
+ ye,
297
+ pe,
298
+ te,
299
+ {
300
+ mbsource: 10,
301
+ clientstyling: 11,
302
+ clientstylingurl: 12,
303
+ show: 2,
304
+ modaltype: 3,
305
+ isloading: 4,
306
+ width: 0,
307
+ height: 1
308
+ },
309
+ ue
310
+ );
311
+ }
312
+ get mbsource() {
313
+ return this.$$.ctx[10];
314
+ }
315
+ set mbsource(e) {
316
+ this.$$set({ mbsource: e }), C();
317
+ }
318
+ get clientstyling() {
319
+ return this.$$.ctx[11];
320
+ }
321
+ set clientstyling(e) {
322
+ this.$$set({ clientstyling: e }), C();
323
+ }
324
+ get clientstylingurl() {
325
+ return this.$$.ctx[12];
326
+ }
327
+ set clientstylingurl(e) {
328
+ this.$$set({ clientstylingurl: e }), C();
329
+ }
330
+ get show() {
331
+ return this.$$.ctx[2];
332
+ }
333
+ set show(e) {
334
+ this.$$set({ show: e }), C();
335
+ }
336
+ get modaltype() {
337
+ return this.$$.ctx[3];
338
+ }
339
+ set modaltype(e) {
340
+ this.$$set({ modaltype: e }), C();
341
+ }
342
+ get isloading() {
343
+ return this.$$.ctx[4];
344
+ }
345
+ set isloading(e) {
346
+ this.$$set({ isloading: e }), C();
347
+ }
348
+ get width() {
349
+ return this.$$.ctx[0];
350
+ }
351
+ set width(e) {
352
+ this.$$set({ width: e }), C();
353
+ }
354
+ get height() {
355
+ return this.$$.ctx[1];
356
+ }
357
+ set height(e) {
358
+ this.$$set({ height: e }), C();
359
+ }
360
+ }
361
+ he(we, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
362
+ export {
363
+ we as default
364
+ };
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-Cf2c1vPp.js";
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-C5QNf4lE.js";
2
2
  function H(n) {
3
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
  }
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-CsnmOP94.js";
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-SDse7_hX.js";
2
2
  function H(n) {
3
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
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DHmjrgBC.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,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&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:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),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,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Jl2aqYfe.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,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&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:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),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,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,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;