@everymatrix/cashier-page 1.85.20 → 1.85.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/components/{CashierCarousel-Cf2c1vPp.js → CashierCarousel-BNKjZ4dF.js} +427 -441
  2. package/components/{CashierCarousel-DHmjrgBC.cjs → CashierCarousel-CecQbbdW.cjs} +6 -6
  3. package/components/{CashierCarousel-CsnmOP94.js → CashierCarousel-D8MiOwuE.js} +434 -448
  4. package/components/{CashierError-BDmChuIE.js → CashierError-BwZRYX5r.js} +1 -1
  5. package/components/{CashierError-CLWqWwfU.cjs → CashierError-DFQyDQHn.cjs} +1 -1
  6. package/components/{CashierError-BIiEXbdF.js → CashierError-kVdNczE9.js} +1 -1
  7. package/components/CashierHeader-B3b8zbwP.cjs +1 -0
  8. package/components/{CashierHeader-Dd5b4-yJ.js → CashierHeader-B9Y-DaUB.js} +40 -47
  9. package/components/{CashierHeader-Cecv5g56.js → CashierHeader-CzpZDjFX.js} +40 -47
  10. package/components/{CashierIframeRedirect-DMYVav-v.js → CashierIframeRedirect-B_A79AFN.js} +31 -40
  11. package/components/CashierIframeRedirect-YYamzRsf.cjs +1 -0
  12. package/components/{CashierIframeRedirect-reE-yTgQ.js → CashierIframeRedirect-aTaiu0hG.js} +31 -40
  13. package/components/{CashierMethodDetails-CmGkz8Gs.js → CashierMethodDetails--Ebwn4lg.js} +266 -278
  14. package/components/{CashierMethodDetails-a7w2Fpuk.cjs → CashierMethodDetails-D3OcsUSC.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BUp0OXBg.js → CashierMethodDetails-E1XQT_gz.js} +320 -332
  16. package/components/CashierMethodsList-BCfPOiPQ.cjs +1 -0
  17. package/components/{CashierMethodsList-8-1C80wc.js → CashierMethodsList-ByGJLq8_.js} +168 -184
  18. package/components/{CashierMethodsList-CtDIeDD9.js → CashierMethodsList-D5p1ksRs.js} +133 -149
  19. package/components/CashierModal-BE9c03E8.js +366 -0
  20. package/components/CashierModal-Diij1t-w.cjs +1 -0
  21. package/components/CashierModal-R6fQk7sI.js +382 -0
  22. package/components/{CashierNotifications-BVUb_REU.js → CashierNotifications-5EjGguMj.js} +1 -1
  23. package/components/{CashierNotifications-DdrhkPqp.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
  24. package/components/{CashierNotifications-COlT367w.js → CashierNotifications-mhDeZtGd.js} +1 -1
  25. package/components/CashierPage-BOXcdzek.js +3958 -0
  26. package/components/{CashierPage-BSaar2I5.js → CashierPage-DSBg3R7m.js} +1204 -1095
  27. package/components/CashierPage-DSwyNlUe.cjs +1 -0
  28. package/components/{CashierReceiptPage-C_ThGHj9.js → CashierReceiptPage-DLHbUzv0.js} +576 -727
  29. package/components/CashierReceiptPage-DW63yTeU.cjs +28 -0
  30. package/components/{CashierReceiptPage-Sbqf6VFD.js → CashierReceiptPage-DWJG1k-S.js} +593 -744
  31. package/components/CashierSessionExpirationModal-CeesVv0R.js +1181 -0
  32. package/components/CashierSessionExpirationModal-Di0jBCa7.cjs +2 -0
  33. package/components/CashierSessionExpirationModal-Dk8_yCxM.js +1181 -0
  34. package/components/{CashierSpinner-BQWOaYce.js → CashierSpinner-CYSebSGZ.js} +1 -1
  35. package/components/{CashierSpinner-DZSuVNPM.js → CashierSpinner-DIyI0RD1.js} +1 -1
  36. package/components/{CashierSpinner-D5McPkCt.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
  37. package/components/{CashierStepUp-sBUhsV5t.js → CashierStepUp-BA2IK4WI.js} +1 -1
  38. package/components/{CashierStepUp-DyfuU9cc.js → CashierStepUp-CSkfphtu.js} +1 -1
  39. package/components/{CashierStepUp-DWd3cylJ.cjs → CashierStepUp-pkLhK-RI.cjs} +1 -1
  40. package/components/{CashierTransactionHistory-B9Jw119p.js → CashierTransactionHistory-DAieZJ7I.js} +5 -5
  41. package/components/{CashierTransactionHistory-C_hM5qDU.js → CashierTransactionHistory-DZS6p6Wq.js} +43 -43
  42. package/components/{CashierTransactionHistory-C6HNHDcy.cjs → CashierTransactionHistory-dL_Zbx6y.cjs} +1 -1
  43. package/components/{CashierVerifications-B-GmoVz-.js → CashierVerifications-63wvOw6D.js} +112 -131
  44. package/components/{CashierVerifications-D3ppfphF.js → CashierVerifications-B6QC6J6G.js} +109 -128
  45. package/components/CashierVerifications-BhbImoKx.cjs +1 -0
  46. package/components/{TxnStatusIcon-ty2g5_He.js → TxnStatusIcon-CpJJHtXq.js} +1 -1
  47. package/components/{TxnStatusIcon-BhtPQm1B.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
  48. package/components/{TxnStatusIcon-DMKCkAXd.js → TxnStatusIcon-Krgh5oF3.js} +1 -1
  49. package/components/{TxnTypeIcons-B5CYl9NW.js → TxnTypeIcons-Az6Gbxxw.js} +1 -1
  50. package/components/{TxnTypeIcons-D_bSXM7r.js → TxnTypeIcons-Bvy6NVGO.js} +1 -1
  51. package/components/{TxnTypeIcons-CyHXLkXz.cjs → TxnTypeIcons-iU9VGsWs.cjs} +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/CashierHeader-CP7RROYr.cjs +0 -1
  57. package/components/CashierIframeRedirect-BXrhvi-f.cjs +0 -1
  58. package/components/CashierMethodsList-C97If7sq.cjs +0 -1
  59. package/components/CashierModal-C-jze_SD.js +0 -342
  60. package/components/CashierModal-DVeVHCTj.cjs +0 -1
  61. package/components/CashierModal-Dclaqxyx.js +0 -358
  62. package/components/CashierPage-B0EP4g6U.cjs +0 -1
  63. package/components/CashierPage-Iwp2vIzz.js +0 -3849
  64. package/components/CashierReceiptPage-DKQ1TT5R.cjs +0 -26
  65. package/components/CashierSessionExpirationModal-BfNtR7tc.cjs +0 -2
  66. package/components/CashierSessionExpirationModal-BhIHw0Dn.js +0 -1184
  67. package/components/CashierSessionExpirationModal-Se0WGHHJ.js +0 -1184
  68. package/components/CashierVerifications-P5L5SY5e.cjs +0 -1
@@ -0,0 +1,366 @@
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 D, u as q, h as R, j as Q, V as H, l as w, 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-BNKjZ4dF.js";
2
+ function ue(i) {
3
+ ie(i, "svelte-vlp16o", '*,*::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)}.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 me = (i) => ({}), V = (i) => ({}), ge = (i) => ({}), Z = (i) => ({});
6
+ function A(i) {
7
+ let e, t, o, r, h, x, M, k, y, L, T, v, u, p, d, s, S, a = (
8
+ /*modaltype*/
9
+ (i[3] == "error" || /*modaltype*/
10
+ i[3] == "bonusDescription") && G()
11
+ );
12
+ const z = (
13
+ /*#slots*/
14
+ i[14].title
15
+ ), m = D(
16
+ z,
17
+ i,
18
+ /*$$scope*/
19
+ i[13],
20
+ Z
21
+ );
22
+ let c = (
23
+ /*isloading*/
24
+ i[4] === "true" && J()
25
+ );
26
+ const W = (
27
+ /*#slots*/
28
+ i[14].content
29
+ ), g = D(
30
+ W,
31
+ i,
32
+ /*$$scope*/
33
+ i[13],
34
+ V
35
+ );
36
+ return {
37
+ c() {
38
+ 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"), y = 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(y, "xmlns", "http://www.w3.org/2000/svg"), f(y, "viewBox", "0 0 13 13"), f(y, "fill", "none"), f(y, "class", "CloseButton"), f(k, "class", "ModalCloseIcon"), f(o, "class", "ModalHeader"), f(u, "class", "ModalContentWrapper"), H(
39
+ u,
40
+ "hidden",
41
+ /*isloading*/
42
+ i[4] === "true"
43
+ ), f(t, "class", "ModalContainer"), H(
44
+ t,
45
+ "video-mode",
46
+ /*modaltype*/
47
+ i[3] === "video"
48
+ ), H(
49
+ t,
50
+ "twofa-mode",
51
+ /*modaltype*/
52
+ i[3] === "2fa"
53
+ ), f(e, "id", "Modal"), re(() => (
54
+ /*div6_elementresize_handler*/
55
+ i[18].call(e)
56
+ ));
57
+ },
58
+ m(l, _) {
59
+ F(l, e, _), w(e, t), w(t, o), w(o, r), a && a.m(r, null), w(r, h), w(r, x), m && m.m(x, null), w(o, M), w(o, k), w(k, y), w(y, L), w(t, T), c && c.m(t, null), w(t, v), w(t, u), g && g.m(u, null), i[15](u), i[16](t), i[17](e), p = se(
60
+ e,
61
+ /*div6_elementresize_handler*/
62
+ i[18].bind(e)
63
+ ), d = !0, s || (S = ae(
64
+ y,
65
+ "click",
66
+ /*closeModal*/
67
+ i[9]
68
+ ), s = !0);
69
+ },
70
+ p(l, _) {
71
+ /*modaltype*/
72
+ l[3] == "error" || /*modaltype*/
73
+ l[3] == "bonusDescription" ? a || (a = G(), a.c(), a.m(r, h)) : a && (a.d(1), a = null), m && m.p && (!d || _ & /*$$scope*/
74
+ 8192) && q(
75
+ m,
76
+ z,
77
+ l,
78
+ /*$$scope*/
79
+ l[13],
80
+ d ? Q(
81
+ z,
82
+ /*$$scope*/
83
+ l[13],
84
+ _,
85
+ ge
86
+ ) : R(
87
+ /*$$scope*/
88
+ l[13]
89
+ ),
90
+ Z
91
+ ), /*isloading*/
92
+ l[4] === "true" ? c || (c = J(), c.c(), c.m(t, v)) : c && (c.d(1), c = null), g && g.p && (!d || _ & /*$$scope*/
93
+ 8192) && q(
94
+ g,
95
+ W,
96
+ l,
97
+ /*$$scope*/
98
+ l[13],
99
+ d ? Q(
100
+ W,
101
+ /*$$scope*/
102
+ l[13],
103
+ _,
104
+ me
105
+ ) : R(
106
+ /*$$scope*/
107
+ l[13]
108
+ ),
109
+ V
110
+ ), (!d || _ & /*isloading*/
111
+ 16) && H(
112
+ u,
113
+ "hidden",
114
+ /*isloading*/
115
+ l[4] === "true"
116
+ ), (!d || _ & /*modaltype*/
117
+ 8) && H(
118
+ t,
119
+ "video-mode",
120
+ /*modaltype*/
121
+ l[3] === "video"
122
+ ), (!d || _ & /*modaltype*/
123
+ 8) && H(
124
+ t,
125
+ "twofa-mode",
126
+ /*modaltype*/
127
+ l[3] === "2fa"
128
+ );
129
+ },
130
+ i(l) {
131
+ d || (I(m, l), I(g, l), d = !0);
132
+ },
133
+ o(l) {
134
+ B(m, l), B(g, l), d = !1;
135
+ },
136
+ d(l) {
137
+ 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();
138
+ }
139
+ };
140
+ }
141
+ function G(i) {
142
+ let e;
143
+ return {
144
+ c() {
145
+ 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");
146
+ },
147
+ m(t, o) {
148
+ F(t, e, o);
149
+ },
150
+ d(t) {
151
+ t && E(e);
152
+ }
153
+ };
154
+ }
155
+ function J(i) {
156
+ let e;
157
+ return {
158
+ c() {
159
+ e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', f(e, "class", "ModalLoadingOverlay");
160
+ },
161
+ m(t, o) {
162
+ F(t, e, o);
163
+ },
164
+ d(t) {
165
+ t && E(e);
166
+ }
167
+ };
168
+ }
169
+ function pe(i) {
170
+ let e, t, o = (
171
+ /*show*/
172
+ i[2] === "true" && A(i)
173
+ );
174
+ return {
175
+ c() {
176
+ e = b("div"), o && o.c();
177
+ },
178
+ m(r, h) {
179
+ F(r, e, h), o && o.m(e, null), i[19](e), t = !0;
180
+ },
181
+ p(r, [h]) {
182
+ /*show*/
183
+ r[2] === "true" ? o ? (o.p(r, h), h & /*show*/
184
+ 4 && I(o, 1)) : (o = A(r), o.c(), I(o, 1), o.m(e, null)) : o && (ne(), B(o, 1, 1, () => {
185
+ o = null;
186
+ }), oe());
187
+ },
188
+ i(r) {
189
+ t || (I(o), t = !0);
190
+ },
191
+ o(r) {
192
+ B(o), t = !1;
193
+ },
194
+ d(r) {
195
+ r && E(e), o && o.d(), i[19](null);
196
+ }
197
+ };
198
+ }
199
+ function we(i, e, t) {
200
+ let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: x } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: y = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: v } = e, u, p, d, s, S = !1, a, z;
201
+ const m = () => {
202
+ a && clearTimeout(a), u && (u.classList.add("closing"), a = setTimeout(
203
+ () => {
204
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
205
+ },
206
+ 200
207
+ ));
208
+ }, c = async () => {
209
+ if (!s || !d || S)
210
+ return;
211
+ z && clearTimeout(a), S = !0;
212
+ const n = s.offsetWidth, N = s.offsetHeight;
213
+ t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${N}px`, s), s.offsetHeight, await Y();
214
+ const P = d.scrollHeight, X = d.scrollWidth;
215
+ t(8, s.style.width = `${X}px`, s), t(8, s.style.height = `${P}px`, s), z = setTimeout(
216
+ () => {
217
+ s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
218
+ },
219
+ 300
220
+ );
221
+ };
222
+ le(() => {
223
+ if (Y().then(() => {
224
+ c();
225
+ }), d) {
226
+ const n = new ResizeObserver(() => {
227
+ c();
228
+ });
229
+ return n.observe(d), () => {
230
+ n.disconnect();
231
+ };
232
+ }
233
+ return () => {
234
+ a && clearTimeout(a), z && clearTimeout(a);
235
+ };
236
+ });
237
+ function W(n) {
238
+ j[n ? "unshift" : "push"](() => {
239
+ d = n, t(7, d);
240
+ });
241
+ }
242
+ function g(n) {
243
+ j[n ? "unshift" : "push"](() => {
244
+ s = n, t(8, s);
245
+ });
246
+ }
247
+ function l(n) {
248
+ j[n ? "unshift" : "push"](() => {
249
+ u = n, t(6, u);
250
+ });
251
+ }
252
+ function _() {
253
+ T = this.clientWidth, v = this.clientHeight, t(0, T), t(1, v);
254
+ }
255
+ function K(n) {
256
+ j[n ? "unshift" : "push"](() => {
257
+ p = n, t(5, p);
258
+ });
259
+ }
260
+ return i.$$set = (n) => {
261
+ "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, y = 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);
262
+ }, i.$$.update = () => {
263
+ i.$$.dirty & /*isloading*/
264
+ 16 && L && Y().then(() => {
265
+ c();
266
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
267
+ 2080 && x && p && de(p, x), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
268
+ 4128 && M && p && ce(p, M), i.$$.dirty & /*mbsource, customStylingContainer*/
269
+ 1056 && h && p && fe(p, `${h}.Style`);
270
+ }, [
271
+ T,
272
+ v,
273
+ k,
274
+ y,
275
+ L,
276
+ p,
277
+ u,
278
+ d,
279
+ s,
280
+ m,
281
+ h,
282
+ x,
283
+ M,
284
+ r,
285
+ o,
286
+ W,
287
+ g,
288
+ l,
289
+ _,
290
+ K
291
+ ];
292
+ }
293
+ class ye extends $ {
294
+ constructor(e) {
295
+ super(), ee(
296
+ this,
297
+ e,
298
+ we,
299
+ pe,
300
+ te,
301
+ {
302
+ mbsource: 10,
303
+ clientstyling: 11,
304
+ clientstylingurl: 12,
305
+ show: 2,
306
+ modaltype: 3,
307
+ isloading: 4,
308
+ width: 0,
309
+ height: 1
310
+ },
311
+ ue
312
+ );
313
+ }
314
+ get mbsource() {
315
+ return this.$$.ctx[10];
316
+ }
317
+ set mbsource(e) {
318
+ this.$$set({ mbsource: e }), C();
319
+ }
320
+ get clientstyling() {
321
+ return this.$$.ctx[11];
322
+ }
323
+ set clientstyling(e) {
324
+ this.$$set({ clientstyling: e }), C();
325
+ }
326
+ get clientstylingurl() {
327
+ return this.$$.ctx[12];
328
+ }
329
+ set clientstylingurl(e) {
330
+ this.$$set({ clientstylingurl: e }), C();
331
+ }
332
+ get show() {
333
+ return this.$$.ctx[2];
334
+ }
335
+ set show(e) {
336
+ this.$$set({ show: e }), C();
337
+ }
338
+ get modaltype() {
339
+ return this.$$.ctx[3];
340
+ }
341
+ set modaltype(e) {
342
+ this.$$set({ modaltype: e }), C();
343
+ }
344
+ get isloading() {
345
+ return this.$$.ctx[4];
346
+ }
347
+ set isloading(e) {
348
+ this.$$set({ isloading: e }), C();
349
+ }
350
+ get width() {
351
+ return this.$$.ctx[0];
352
+ }
353
+ set width(e) {
354
+ this.$$set({ width: e }), C();
355
+ }
356
+ get height() {
357
+ return this.$$.ctx[1];
358
+ }
359
+ set height(e) {
360
+ this.$$set({ height: e }), C();
361
+ }
362
+ }
363
+ he(ye, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
364
+ export {
365
+ ye as default
366
+ };
@@ -0,0 +1 @@
1
+ "use strict";var z=(n,t,i)=>new Promise((l,r)=>{var h=u=>{try{b(i.next(u))}catch(m){r(m)}},y=u=>{try{b(i.throw(u))}catch(m){r(m)}},b=u=>u.done?l(u.value):Promise.resolve(u.value).then(h,y);b((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CecQbbdW.cjs");function q(n){e.append_styles(n,"svelte-vlp16o",'*,*::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)}.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}}')}const D=n=>({}),S=n=>({}),R=n=>({}),H=n=>({});function I(n){let t,i,l,r,h,y,b,u,m,C,M,x,g,w,c,a,L,d=(n[3]=="error"||n[3]=="bonusDescription")&&W();const k=n[14].title,p=e.create_slot(k,n,n[13],H);let f=n[4]==="true"&&O();const T=n[14].content,_=e.create_slot(T,n,n[13],S);return{c(){t=e.element("div"),i=e.element("div"),l=e.element("div"),r=e.element("div"),d&&d.c(),h=e.space(),y=e.element("div"),p&&p.c(),b=e.space(),u=e.element("div"),m=e.svg_element("svg"),C=e.svg_element("path"),M=e.space(),f&&f.c(),x=e.space(),g=e.element("div"),_&&_.c(),e.attr(y,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(C,"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"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"viewBox","0 0 13 13"),e.attr(m,"fill","none"),e.attr(m,"class","CloseButton"),e.attr(u,"class","ModalCloseIcon"),e.attr(l,"class","ModalHeader"),e.attr(g,"class","ModalContentWrapper"),e.toggle_class(g,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(s,v){e.insert(s,t,v),e.append(t,i),e.append(i,l),e.append(l,r),d&&d.m(r,null),e.append(r,h),e.append(r,y),p&&p.m(y,null),e.append(l,b),e.append(l,u),e.append(u,m),e.append(m,C),e.append(i,M),f&&f.m(i,null),e.append(i,x),e.append(i,g),_&&_.m(g,null),n[15](g),n[16](i),n[17](t),w=e.add_iframe_resize_listener(t,n[18].bind(t)),c=!0,a||(L=e.listen(m,"click",n[9]),a=!0)},p(s,v){s[3]=="error"||s[3]=="bonusDescription"?d||(d=W(),d.c(),d.m(r,h)):d&&(d.d(1),d=null),p&&p.p&&(!c||v&8192)&&e.update_slot_base(p,k,s,s[13],c?e.get_slot_changes(k,s[13],v,R):e.get_all_dirty_from_scope(s[13]),H),s[4]==="true"?f||(f=O(),f.c(),f.m(i,x)):f&&(f.d(1),f=null),_&&_.p&&(!c||v&8192)&&e.update_slot_base(_,T,s,s[13],c?e.get_slot_changes(T,s[13],v,D):e.get_all_dirty_from_scope(s[13]),S),(!c||v&16)&&e.toggle_class(g,"hidden",s[4]==="true"),(!c||v&8)&&e.toggle_class(i,"video-mode",s[3]==="video"),(!c||v&8)&&e.toggle_class(i,"twofa-mode",s[3]==="2fa")},i(s){c||(e.transition_in(p,s),e.transition_in(_,s),c=!0)},o(s){e.transition_out(p,s),e.transition_out(_,s),c=!1},d(s){s&&e.detach(t),d&&d.d(),p&&p.d(s),f&&f.d(),_&&_.d(s),n[15](null),n[16](null),n[17](null),w(),a=!1,L()}}}function W(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","WarningIcon")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function O(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function P(n){let t,i,l=n[2]==="true"&&I(n);return{c(){t=e.element("div"),l&&l.c()},m(r,h){e.insert(r,t,h),l&&l.m(t,null),n[19](t),i=!0},p(r,[h]){r[2]==="true"?l?(l.p(r,h),h&4&&e.transition_in(l,1)):(l=I(r),l.c(),e.transition_in(l,1),l.m(t,null)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros())},i(r){i||(e.transition_in(l),i=!0)},o(r){e.transition_out(l),i=!1},d(r){r&&e.detach(t),l&&l.d(),n[19](null)}}}function U(n,t,i){let{$$slots:l={},$$scope:r}=t,{mbsource:h}=t,{clientstyling:y}=t,{clientstylingurl:b}=t,{show:u}=t,{modaltype:m=""}=t,{isloading:C="false"}=t,{width:M}=t,{height:x}=t,g,w,c,a,L=!1,d,k;const p=()=>{d&&clearTimeout(d),g&&(g.classList.add("closing"),d=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},f=()=>z(this,null,function*(){if(!a||!c||L)return;k&&clearTimeout(d),L=!0;const o=a.offsetWidth,E=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${E}px`,a),a.offsetHeight,yield e.tick();const F=c.scrollHeight,Y=c.scrollWidth;i(8,a.style.width=`${Y}px`,a),i(8,a.style.height=`${F}px`,a),k=setTimeout(()=>{a&&(i(8,a.style.width="auto",a),i(8,a.style.height="auto",a)),L=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{f()}),c){const o=new ResizeObserver(()=>{f()});return o.observe(c),()=>{o.disconnect()}}return()=>{d&&clearTimeout(d),k&&clearTimeout(d)}});function T(o){e.binding_callbacks[o?"unshift":"push"](()=>{c=o,i(7,c)})}function _(o){e.binding_callbacks[o?"unshift":"push"](()=>{a=o,i(8,a)})}function s(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,i(6,g)})}function v(){M=this.clientWidth,x=this.clientHeight,i(0,M),i(1,x)}function B(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,i(5,w)})}return n.$$set=o=>{"mbsource"in o&&i(10,h=o.mbsource),"clientstyling"in o&&i(11,y=o.clientstyling),"clientstylingurl"in o&&i(12,b=o.clientstylingurl),"show"in o&&i(2,u=o.show),"modaltype"in o&&i(3,m=o.modaltype),"isloading"in o&&i(4,C=o.isloading),"width"in o&&i(0,M=o.width),"height"in o&&i(1,x=o.height),"$$scope"in o&&i(13,r=o.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&C&&e.tick().then(()=>{f()}),n.$$.dirty&2080&&y&&w&&e.setClientStyling(w,y),n.$$.dirty&4128&&b&&w&&e.setClientStylingURL(w,b),n.$$.dirty&1056&&h&&w&&e.setStreamStyling(w,`${h}.Style`)},[M,x,u,m,C,w,g,c,a,p,h,y,b,r,l,T,_,s,v,B]}class j extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,U,P,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},q)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(j,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=j;