@everymatrix/cashier-method-details-cashpoint 1.0.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 (48) hide show
  1. package/components/CashierError-BE2rWjBY.cjs +1 -0
  2. package/components/CashierError-Cqo0Isw0.js +952 -0
  3. package/components/CashierError-DGtSWlA8.js +952 -0
  4. package/components/CashierError-Dl7F3z5N.cjs +1 -0
  5. package/components/CashierError-MFUpHFa4.js +952 -0
  6. package/components/CashierError-N89Dmddy.js +952 -0
  7. package/components/CashierMethodDetailsCashpoint-B7xEmm1f.cjs +260 -0
  8. package/components/CashierMethodDetailsCashpoint-B9GC9RT2.js +17799 -0
  9. package/components/CashierMethodDetailsCashpoint-BO52Tpts.js +17799 -0
  10. package/components/CashierMethodDetailsCashpoint-C8KyJwJb.js +17716 -0
  11. package/components/CashierMethodDetailsCashpoint-kSVpU-dk.js +17716 -0
  12. package/components/CashierMethodDetailsCashpoint-tS8aAyOR.cjs +260 -0
  13. package/components/CashierModal-BBjJwf20.js +401 -0
  14. package/components/CashierModal-BKm7SyBC.cjs +1 -0
  15. package/components/CashierModal-CbNWDckK.cjs +1 -0
  16. package/components/CashierModal-CjLaeQM_.js +401 -0
  17. package/components/CashierModal-DBfaudnk.js +385 -0
  18. package/components/CashierModal-HWnU8wJb.js +385 -0
  19. package/components/CashierNotifications-C4-0zOMd.cjs +1 -0
  20. package/components/CashierNotifications-CTokg5Ca.js +129 -0
  21. package/components/CashierNotifications-Cw8tX1HT.cjs +1 -0
  22. package/components/CashierNotifications-D0KNUYI2.js +129 -0
  23. package/components/CashierNotifications-DfJyS04K.js +129 -0
  24. package/components/CashierNotifications-vUvqD8FB.js +129 -0
  25. package/components/CashierReceiptPage-2QG8K0On.cjs +29 -0
  26. package/components/CashierReceiptPage-BFXASfCC.js +2255 -0
  27. package/components/CashierReceiptPage-D3irF-jg.js +2235 -0
  28. package/components/CashierReceiptPage-DF53mGm7.js +2235 -0
  29. package/components/CashierReceiptPage-DwT6XtoN.cjs +29 -0
  30. package/components/CashierReceiptPage-bBa4q7ru.js +2255 -0
  31. package/es2015/cashier-method-details-cashpoint.cjs +1 -0
  32. package/es2015/cashier-method-details-cashpoint.js +16 -0
  33. package/esnext/cashier-method-details-cashpoint.js +14 -0
  34. package/package.json +24 -0
  35. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  36. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  37. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  38. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  39. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  40. package/stencil/ui-image-BX-FBhad.cjs +1 -0
  41. package/stencil/ui-image-CP8Lp7fB.js +25 -0
  42. package/stencil/ui-image-Ch-GHki1.js +7 -0
  43. package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +39 -0
  44. package/stencil/ui-image-b7b48fe5-HA45CrsG.js +39 -0
  45. package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +1 -0
  46. package/stencil/ui-image_2-CmVho0dS.js +157 -0
  47. package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
  48. package/stencil/ui-image_2-Daq38JGa.js +157 -0
@@ -0,0 +1,385 @@
1
+ import { S as te, i as ie, s as ne, f as x, a as oe, d as S, q as O, r as z, E as le, u as se, e as H, h as b, w as ae, Y as j, x as Y, y as B, z as F, A as q, Z as L, g as _, _ as re, j as I, k as h, Q as de, m as W, n as ce, l as fe, W as D, G as ue, H as he, I as me, c as ge } from "./CashierMethodDetailsCashpoint-C8KyJwJb.js";
2
+ function pe(i) {
3
+ oe(i, "svelte-e2luo5", '*,*::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}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;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%;align-items:center}.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);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);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 we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}), U = (i) => ({});
6
+ function Z(i) {
7
+ let e, t, n, a, f, m, v, T, k, y, C, u, d = (
8
+ /*modaltype*/
9
+ (i[3] == "error" || /*modaltype*/
10
+ i[3] == "bonusDescription") && A()
11
+ );
12
+ const g = (
13
+ /*#slots*/
14
+ i[14].title
15
+ ), p = Y(
16
+ g,
17
+ i,
18
+ /*$$scope*/
19
+ i[13],
20
+ U
21
+ );
22
+ let r = (
23
+ /*modaltype*/
24
+ i[3] != "2fa-old" && G(i)
25
+ ), l = (
26
+ /*isloading*/
27
+ i[4] === "true" && P()
28
+ );
29
+ const M = (
30
+ /*#slots*/
31
+ i[14].content
32
+ ), c = Y(
33
+ M,
34
+ i,
35
+ /*$$scope*/
36
+ i[13],
37
+ R
38
+ );
39
+ return {
40
+ c() {
41
+ e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = I(), m = b("div"), p && p.c(), v = I(), r && r.c(), T = I(), l && l.c(), k = I(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
42
+ y,
43
+ "hidden",
44
+ /*isloading*/
45
+ i[4] === "true"
46
+ ), h(t, "class", "ModalContainer"), L(
47
+ t,
48
+ "video-mode",
49
+ /*modaltype*/
50
+ i[3] === "video"
51
+ ), L(
52
+ t,
53
+ "twofa-mode",
54
+ /*modaltype*/
55
+ i[3] === "2fa"
56
+ ), h(e, "id", "Modal"), de(() => (
57
+ /*div5_elementresize_handler*/
58
+ i[18].call(e)
59
+ ));
60
+ },
61
+ m(s, w) {
62
+ H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), C = re(
63
+ e,
64
+ /*div5_elementresize_handler*/
65
+ i[18].bind(e)
66
+ ), u = !0;
67
+ },
68
+ p(s, w) {
69
+ /*modaltype*/
70
+ s[3] == "error" || /*modaltype*/
71
+ s[3] == "bonusDescription" ? d || (d = A(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
72
+ 8192) && B(
73
+ p,
74
+ g,
75
+ s,
76
+ /*$$scope*/
77
+ s[13],
78
+ u ? q(
79
+ g,
80
+ /*$$scope*/
81
+ s[13],
82
+ w,
83
+ ye
84
+ ) : F(
85
+ /*$$scope*/
86
+ s[13]
87
+ ),
88
+ U
89
+ ), /*modaltype*/
90
+ s[3] != "2fa-old" ? r ? r.p(s, w) : (r = G(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
91
+ s[4] === "true" ? l || (l = P(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
92
+ 8192) && B(
93
+ c,
94
+ M,
95
+ s,
96
+ /*$$scope*/
97
+ s[13],
98
+ u ? q(
99
+ M,
100
+ /*$$scope*/
101
+ s[13],
102
+ w,
103
+ we
104
+ ) : F(
105
+ /*$$scope*/
106
+ s[13]
107
+ ),
108
+ R
109
+ ), (!u || w & /*isloading*/
110
+ 16) && L(
111
+ y,
112
+ "hidden",
113
+ /*isloading*/
114
+ s[4] === "true"
115
+ ), (!u || w & /*modaltype*/
116
+ 8) && L(
117
+ t,
118
+ "video-mode",
119
+ /*modaltype*/
120
+ s[3] === "video"
121
+ ), (!u || w & /*modaltype*/
122
+ 8) && L(
123
+ t,
124
+ "twofa-mode",
125
+ /*modaltype*/
126
+ s[3] === "2fa"
127
+ );
128
+ },
129
+ i(s) {
130
+ u || (z(p, s), z(c, s), u = !0);
131
+ },
132
+ o(s) {
133
+ O(p, s), O(c, s), u = !1;
134
+ },
135
+ d(s) {
136
+ s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), C();
137
+ }
138
+ };
139
+ }
140
+ function A(i) {
141
+ let e;
142
+ return {
143
+ c() {
144
+ 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>', h(e, "class", "WarningIcon");
145
+ },
146
+ m(t, n) {
147
+ H(t, e, n);
148
+ },
149
+ d(t) {
150
+ t && S(e);
151
+ }
152
+ };
153
+ }
154
+ function G(i) {
155
+ let e, t, n, a, f;
156
+ return {
157
+ c() {
158
+ e = b("div"), t = D("svg"), n = D("path"), h(n, "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"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
159
+ },
160
+ m(m, v) {
161
+ H(m, e, v), _(e, t), _(t, n), a || (f = fe(
162
+ t,
163
+ "click",
164
+ /*closeModal*/
165
+ i[9]
166
+ ), a = !0);
167
+ },
168
+ p: ce,
169
+ d(m) {
170
+ m && S(e), a = !1, f();
171
+ }
172
+ };
173
+ }
174
+ function P(i) {
175
+ let e;
176
+ return {
177
+ c() {
178
+ e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', h(e, "class", "ModalLoadingOverlay");
179
+ },
180
+ m(t, n) {
181
+ H(t, e, n);
182
+ },
183
+ d(t) {
184
+ t && S(e);
185
+ }
186
+ };
187
+ }
188
+ function _e(i) {
189
+ let e, t, n = (
190
+ /*show*/
191
+ i[2] === "true" && Z(i)
192
+ );
193
+ return {
194
+ c() {
195
+ e = b("div"), n && n.c();
196
+ },
197
+ m(a, f) {
198
+ H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
199
+ },
200
+ p(a, [f]) {
201
+ /*show*/
202
+ a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
203
+ 4 && z(n, 1)) : (n = Z(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
204
+ n = null;
205
+ }), se());
206
+ },
207
+ i(a) {
208
+ t || (z(n), t = !0);
209
+ },
210
+ o(a) {
211
+ O(n), t = !1;
212
+ },
213
+ d(a) {
214
+ a && S(e), n && n.d(), i[19](null);
215
+ }
216
+ };
217
+ }
218
+ function be(i, e, t) {
219
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: C } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
220
+ const w = () => {
221
+ c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
222
+ () => {
223
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
224
+ },
225
+ 200
226
+ ));
227
+ }, E = async () => {
228
+ if (!l || !r || M)
229
+ return;
230
+ s && clearTimeout(c), M = !0;
231
+ const o = l.offsetWidth, X = l.offsetHeight;
232
+ t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await j();
233
+ const $ = r.scrollHeight, ee = r.scrollWidth;
234
+ t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
235
+ () => {
236
+ l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), M = !1;
237
+ },
238
+ 300
239
+ );
240
+ };
241
+ ae(() => {
242
+ if (j().then(() => {
243
+ E();
244
+ }), r) {
245
+ const o = new ResizeObserver(() => {
246
+ E();
247
+ });
248
+ return o.observe(r), () => {
249
+ o.disconnect();
250
+ };
251
+ }
252
+ return () => {
253
+ c && clearTimeout(c), s && clearTimeout(c);
254
+ };
255
+ });
256
+ function Q(o) {
257
+ W[o ? "unshift" : "push"](() => {
258
+ r = o, t(7, r);
259
+ });
260
+ }
261
+ function J(o) {
262
+ W[o ? "unshift" : "push"](() => {
263
+ l = o, t(8, l);
264
+ });
265
+ }
266
+ function K(o) {
267
+ W[o ? "unshift" : "push"](() => {
268
+ d = o, t(6, d);
269
+ });
270
+ }
271
+ function N() {
272
+ C = this.clientWidth, u = this.clientHeight, t(0, C), t(1, u);
273
+ }
274
+ function V(o) {
275
+ W[o ? "unshift" : "push"](() => {
276
+ g = o, t(5, g);
277
+ });
278
+ }
279
+ return i.$$set = (o) => {
280
+ "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, C = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
281
+ }, i.$$.update = () => {
282
+ i.$$.dirty & /*isloading*/
283
+ 16 && y && j().then(() => {
284
+ E();
285
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
286
+ 2080 && m && g && ue(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
287
+ 4128 && v && g && he(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
288
+ 1056 && f && g && me(g, `${f}.Style`, p);
289
+ }, [
290
+ C,
291
+ u,
292
+ T,
293
+ k,
294
+ y,
295
+ g,
296
+ d,
297
+ r,
298
+ l,
299
+ w,
300
+ f,
301
+ m,
302
+ v,
303
+ a,
304
+ n,
305
+ Q,
306
+ J,
307
+ K,
308
+ N,
309
+ V
310
+ ];
311
+ }
312
+ class ve extends te {
313
+ constructor(e) {
314
+ super(), ie(
315
+ this,
316
+ e,
317
+ be,
318
+ _e,
319
+ ne,
320
+ {
321
+ mbsource: 10,
322
+ clientstyling: 11,
323
+ clientstylingurl: 12,
324
+ show: 2,
325
+ modaltype: 3,
326
+ isloading: 4,
327
+ width: 0,
328
+ height: 1
329
+ },
330
+ pe
331
+ );
332
+ }
333
+ get mbsource() {
334
+ return this.$$.ctx[10];
335
+ }
336
+ set mbsource(e) {
337
+ this.$$set({ mbsource: e }), x();
338
+ }
339
+ get clientstyling() {
340
+ return this.$$.ctx[11];
341
+ }
342
+ set clientstyling(e) {
343
+ this.$$set({ clientstyling: e }), x();
344
+ }
345
+ get clientstylingurl() {
346
+ return this.$$.ctx[12];
347
+ }
348
+ set clientstylingurl(e) {
349
+ this.$$set({ clientstylingurl: e }), x();
350
+ }
351
+ get show() {
352
+ return this.$$.ctx[2];
353
+ }
354
+ set show(e) {
355
+ this.$$set({ show: e }), x();
356
+ }
357
+ get modaltype() {
358
+ return this.$$.ctx[3];
359
+ }
360
+ set modaltype(e) {
361
+ this.$$set({ modaltype: e }), x();
362
+ }
363
+ get isloading() {
364
+ return this.$$.ctx[4];
365
+ }
366
+ set isloading(e) {
367
+ this.$$set({ isloading: e }), x();
368
+ }
369
+ get width() {
370
+ return this.$$.ctx[0];
371
+ }
372
+ set width(e) {
373
+ this.$$set({ width: e }), x();
374
+ }
375
+ get height() {
376
+ return this.$$.ctx[1];
377
+ }
378
+ set height(e) {
379
+ this.$$set({ height: e }), x();
380
+ }
381
+ }
382
+ ge(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
383
+ export {
384
+ ve as default
385
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierMethodDetailsCashpoint-tS8aAyOR.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(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;
@@ -0,0 +1,129 @@
1
+ import { S as C, i as v, f as d, s as _, c as k, a as N, n as b, d as z, b as p, e as S, g as f, l as E, h, t as x, j as L, k as M, m as T } from "./CashierMethodDetailsCashpoint-C8KyJwJb.js";
2
+ function H(i) {
3
+ N(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}");
4
+ }
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ i[0]
12
+ ), u = L(), l = h("button"), a = x(
13
+ /*button*/
14
+ i[1]
15
+ ), M(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ i[3]
23
+ ), n = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && z(t), i[6](null), n = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, n.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ n.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ T[e ? "unshift" : "push"](() => {
65
+ n = e, s(2, n);
66
+ });
67
+ }
68
+ return i.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ n,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class j extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ k(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ j as default
129
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierMethodDetailsCashpoint-B7xEmm1f.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(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;
@@ -0,0 +1,129 @@
1
+ import { S as C, i as v, f as d, s as _, c as k, a as N, n as b, d as z, b as p, e as S, g as f, l as E, h, t as x, j as L, k as M, m as T } from "./CashierMethodDetailsCashpoint-kSVpU-dk.js";
2
+ function H(i) {
3
+ N(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}");
4
+ }
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ i[0]
12
+ ), u = L(), l = h("button"), a = x(
13
+ /*button*/
14
+ i[1]
15
+ ), M(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ i[3]
23
+ ), n = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && z(t), i[6](null), n = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, n.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ n.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ T[e ? "unshift" : "push"](() => {
65
+ n = e, s(2, n);
66
+ });
67
+ }
68
+ return i.$$set = (e) => {
69
+ "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ n,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class j extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ k(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ j as default
129
+ };