@everymatrix/cashier-method-details 1.86.4 → 1.86.5
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.
- package/components/CashierError-0ryZiOME.cjs +8 -0
- package/components/{CashierError-BrH4JtME.js → CashierError-KZG3X_VW.js} +817 -849
- package/components/{CashierError-C38DHl9-.js → CashierError-qzZcJhp7.js} +800 -832
- package/components/{CashierMethodDetails-B9-uo6qb.js → CashierMethodDetails-Ci_KcLF2.js} +906 -857
- package/components/{CashierMethodDetails-ChQ3M-wq.js → CashierMethodDetails-DiIuR1qE.js} +1403 -1354
- package/components/{CashierMethodDetails-2anZaPtI.cjs → CashierMethodDetails-DqgFo-Zf.cjs} +18 -5
- package/components/{CashierModal-CRWjrDnj.js → CashierModal-DHyc4Yo0.js} +65 -65
- package/components/{CashierModal-B2BegJ8J.cjs → CashierModal-DeCFU_ep.cjs} +1 -1
- package/components/{CashierModal-BvLB_9aG.js → CashierModal-m7cXuxT1.js} +61 -61
- package/components/{CashierNotifications-3BcrYOeA.js → CashierNotifications-Bo4IAEf_.js} +33 -33
- package/components/{CashierNotifications-CSlK-g-S.js → CashierNotifications-DGAnrrsp.js} +33 -33
- package/components/{CashierNotifications-SEdxNl-z.cjs → CashierNotifications-DTeolEy1.cjs} +1 -1
- package/components/{CashierReceiptPage-4k0rJqmU.js → CashierReceiptPage-BOqnf35Q.js} +124 -124
- package/components/{CashierReceiptPage-BoTTgL6X.cjs → CashierReceiptPage-BiPrXfCL.cjs} +1 -1
- package/components/{CashierReceiptPage-B35Jarr_.js → CashierReceiptPage-CoCpQjJ1.js} +124 -124
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
- package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
- package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
- package/components/CashierError-Btvxfcrs.cjs +0 -21
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var D = (i, e, t) => new Promise((o, a) => {
|
|
2
2
|
var f = (h) => {
|
|
3
3
|
try {
|
|
4
4
|
x(t.next(h));
|
|
@@ -14,69 +14,69 @@ var q = (i, e, t) => new Promise((o, a) => {
|
|
|
14
14
|
}, x = (h) => h.done ? o(h.value) : Promise.resolve(h.value).then(f, b);
|
|
15
15
|
x((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ee,
|
|
17
|
+
import { S as ee, e as te, s as ie, f as k, j as ne, l as F, V as E, W as I, X as oe, Y as le, m as Y, r as C, x as se, D as B, Z as R, _ as U, a0 as Z, a1 as q, E as H, o as _, a2 as ae, p as re, t as O, F as V, u as m, k as de, z as j, R as ce, T as fe, U as he, h as ue } from "./CashierError-KZG3X_VW.js";
|
|
18
18
|
function me(i) {
|
|
19
|
-
|
|
19
|
+
ne(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}}');
|
|
20
20
|
}
|
|
21
|
-
const ge = (i) => ({}),
|
|
22
|
-
function
|
|
23
|
-
let e, t, o, a, f, b, x, h, u, L, T, M, g, y, d, s,
|
|
21
|
+
const ge = (i) => ({}), X = (i) => ({}), pe = (i) => ({}), A = (i) => ({});
|
|
22
|
+
function G(i) {
|
|
23
|
+
let e, t, o, a, f, b, x, h, u, L, T, M, g, y, d, s, S, r = (
|
|
24
24
|
/*modaltype*/
|
|
25
25
|
(i[3] == "error" || /*modaltype*/
|
|
26
|
-
i[3] == "bonusDescription") &&
|
|
26
|
+
i[3] == "bonusDescription") && J()
|
|
27
27
|
);
|
|
28
28
|
const z = (
|
|
29
29
|
/*#slots*/
|
|
30
30
|
i[14].title
|
|
31
|
-
), p =
|
|
31
|
+
), p = R(
|
|
32
32
|
z,
|
|
33
33
|
i,
|
|
34
34
|
/*$$scope*/
|
|
35
35
|
i[13],
|
|
36
|
-
|
|
36
|
+
A
|
|
37
37
|
);
|
|
38
38
|
let c = (
|
|
39
39
|
/*isloading*/
|
|
40
|
-
i[4] === "true" &&
|
|
40
|
+
i[4] === "true" && K()
|
|
41
41
|
);
|
|
42
|
-
const
|
|
42
|
+
const W = (
|
|
43
43
|
/*#slots*/
|
|
44
44
|
i[14].content
|
|
45
|
-
), w =
|
|
46
|
-
|
|
45
|
+
), w = R(
|
|
46
|
+
W,
|
|
47
47
|
i,
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
i[13],
|
|
50
|
-
|
|
50
|
+
X
|
|
51
51
|
);
|
|
52
52
|
return {
|
|
53
53
|
c() {
|
|
54
|
-
e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(), x = O(), h = C("div"), u =
|
|
54
|
+
e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(), x = O(), h = C("div"), u = V("svg"), L = V("path"), T = O(), c && c.c(), M = O(), g = C("div"), w && w.c(), m(b, "class", "TitleText"), m(a, "class", "ModalTitle"), m(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"), m(u, "xmlns", "http://www.w3.org/2000/svg"), m(u, "viewBox", "0 0 13 13"), m(u, "fill", "none"), m(u, "class", "CloseButton"), m(h, "class", "ModalCloseIcon"), m(o, "class", "ModalHeader"), m(g, "class", "ModalContentWrapper"), H(
|
|
55
55
|
g,
|
|
56
56
|
"hidden",
|
|
57
57
|
/*isloading*/
|
|
58
58
|
i[4] === "true"
|
|
59
|
-
), m(t, "class", "ModalContainer"),
|
|
59
|
+
), m(t, "class", "ModalContainer"), H(
|
|
60
60
|
t,
|
|
61
61
|
"video-mode",
|
|
62
62
|
/*modaltype*/
|
|
63
63
|
i[3] === "video"
|
|
64
|
-
),
|
|
64
|
+
), H(
|
|
65
65
|
t,
|
|
66
66
|
"twofa-mode",
|
|
67
67
|
/*modaltype*/
|
|
68
68
|
i[3] === "2fa"
|
|
69
|
-
), m(e, "id", "Modal"),
|
|
69
|
+
), m(e, "id", "Modal"), de(() => (
|
|
70
70
|
/*div6_elementresize_handler*/
|
|
71
71
|
i[18].call(e)
|
|
72
72
|
));
|
|
73
73
|
},
|
|
74
74
|
m(l, v) {
|
|
75
|
-
Y(l, e, v), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, x), _(o, h), _(h, u), _(u, L), _(t, T), c && c.m(t, null), _(t, M), _(t, g), w && w.m(g, null), i[15](g), i[16](t), i[17](e), y =
|
|
75
|
+
Y(l, e, v), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, x), _(o, h), _(h, u), _(u, L), _(t, T), c && c.m(t, null), _(t, M), _(t, g), w && w.m(g, null), i[15](g), i[16](t), i[17](e), y = ae(
|
|
76
76
|
e,
|
|
77
77
|
/*div6_elementresize_handler*/
|
|
78
78
|
i[18].bind(e)
|
|
79
|
-
), d = !0, s || (
|
|
79
|
+
), d = !0, s || (S = re(
|
|
80
80
|
u,
|
|
81
81
|
"click",
|
|
82
82
|
/*closeModal*/
|
|
@@ -86,57 +86,57 @@ function J(i) {
|
|
|
86
86
|
p(l, v) {
|
|
87
87
|
/*modaltype*/
|
|
88
88
|
l[3] == "error" || /*modaltype*/
|
|
89
|
-
l[3] == "bonusDescription" ? r || (r =
|
|
90
|
-
8192) &&
|
|
89
|
+
l[3] == "bonusDescription" ? r || (r = J(), r.c(), r.m(a, f)) : r && (r.d(1), r = null), p && p.p && (!d || v & /*$$scope*/
|
|
90
|
+
8192) && U(
|
|
91
91
|
p,
|
|
92
92
|
z,
|
|
93
93
|
l,
|
|
94
94
|
/*$$scope*/
|
|
95
95
|
l[13],
|
|
96
|
-
d ?
|
|
96
|
+
d ? q(
|
|
97
97
|
z,
|
|
98
98
|
/*$$scope*/
|
|
99
99
|
l[13],
|
|
100
100
|
v,
|
|
101
101
|
pe
|
|
102
|
-
) :
|
|
102
|
+
) : Z(
|
|
103
103
|
/*$$scope*/
|
|
104
104
|
l[13]
|
|
105
105
|
),
|
|
106
|
-
|
|
106
|
+
A
|
|
107
107
|
), /*isloading*/
|
|
108
|
-
l[4] === "true" ? c || (c =
|
|
109
|
-
8192) &&
|
|
108
|
+
l[4] === "true" ? c || (c = K(), c.c(), c.m(t, M)) : c && (c.d(1), c = null), w && w.p && (!d || v & /*$$scope*/
|
|
109
|
+
8192) && U(
|
|
110
110
|
w,
|
|
111
|
-
|
|
111
|
+
W,
|
|
112
112
|
l,
|
|
113
113
|
/*$$scope*/
|
|
114
114
|
l[13],
|
|
115
|
-
d ?
|
|
116
|
-
|
|
115
|
+
d ? q(
|
|
116
|
+
W,
|
|
117
117
|
/*$$scope*/
|
|
118
118
|
l[13],
|
|
119
119
|
v,
|
|
120
120
|
ge
|
|
121
|
-
) :
|
|
121
|
+
) : Z(
|
|
122
122
|
/*$$scope*/
|
|
123
123
|
l[13]
|
|
124
124
|
),
|
|
125
|
-
|
|
125
|
+
X
|
|
126
126
|
), (!d || v & /*isloading*/
|
|
127
|
-
16) &&
|
|
127
|
+
16) && H(
|
|
128
128
|
g,
|
|
129
129
|
"hidden",
|
|
130
130
|
/*isloading*/
|
|
131
131
|
l[4] === "true"
|
|
132
132
|
), (!d || v & /*modaltype*/
|
|
133
|
-
8) &&
|
|
133
|
+
8) && H(
|
|
134
134
|
t,
|
|
135
135
|
"video-mode",
|
|
136
136
|
/*modaltype*/
|
|
137
137
|
l[3] === "video"
|
|
138
138
|
), (!d || v & /*modaltype*/
|
|
139
|
-
8) &&
|
|
139
|
+
8) && H(
|
|
140
140
|
t,
|
|
141
141
|
"twofa-mode",
|
|
142
142
|
/*modaltype*/
|
|
@@ -144,17 +144,17 @@ function J(i) {
|
|
|
144
144
|
);
|
|
145
145
|
},
|
|
146
146
|
i(l) {
|
|
147
|
-
d || (
|
|
147
|
+
d || (I(p, l), I(w, l), d = !0);
|
|
148
148
|
},
|
|
149
149
|
o(l) {
|
|
150
150
|
E(p, l), E(w, l), d = !1;
|
|
151
151
|
},
|
|
152
152
|
d(l) {
|
|
153
|
-
l &&
|
|
153
|
+
l && F(e), r && r.d(), p && p.d(l), c && c.d(), w && w.d(l), i[15](null), i[16](null), i[17](null), y(), s = !1, S();
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function J(i) {
|
|
158
158
|
let e;
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
@@ -164,11 +164,11 @@ function N(i) {
|
|
|
164
164
|
Y(t, e, o);
|
|
165
165
|
},
|
|
166
166
|
d(t) {
|
|
167
|
-
t &&
|
|
167
|
+
t && F(e);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function K(i) {
|
|
172
172
|
let e;
|
|
173
173
|
return {
|
|
174
174
|
c() {
|
|
@@ -178,14 +178,14 @@ function P(i) {
|
|
|
178
178
|
Y(t, e, o);
|
|
179
179
|
},
|
|
180
180
|
d(t) {
|
|
181
|
-
t &&
|
|
181
|
+
t && F(e);
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
function we(i) {
|
|
186
186
|
let e, t, o = (
|
|
187
187
|
/*show*/
|
|
188
|
-
i[2] === "true" &&
|
|
188
|
+
i[2] === "true" && G(i)
|
|
189
189
|
);
|
|
190
190
|
return {
|
|
191
191
|
c() {
|
|
@@ -197,23 +197,23 @@ function we(i) {
|
|
|
197
197
|
p(a, [f]) {
|
|
198
198
|
/*show*/
|
|
199
199
|
a[2] === "true" ? o ? (o.p(a, f), f & /*show*/
|
|
200
|
-
4 &&
|
|
200
|
+
4 && I(o, 1)) : (o = G(a), o.c(), I(o, 1), o.m(e, null)) : o && (oe(), E(o, 1, 1, () => {
|
|
201
201
|
o = null;
|
|
202
202
|
}), le());
|
|
203
203
|
},
|
|
204
204
|
i(a) {
|
|
205
|
-
t || (
|
|
205
|
+
t || (I(o), t = !0);
|
|
206
206
|
},
|
|
207
207
|
o(a) {
|
|
208
208
|
E(o), t = !1;
|
|
209
209
|
},
|
|
210
210
|
d(a) {
|
|
211
|
-
a &&
|
|
211
|
+
a && F(e), o && o.d(), i[19](null);
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
function ye(i, e, t) {
|
|
216
|
-
let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: x } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, s,
|
|
216
|
+
let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: x } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, s, S = !1, r, z;
|
|
217
217
|
const p = () => {
|
|
218
218
|
r && clearTimeout(r), g && (g.classList.add("closing"), r = setTimeout(
|
|
219
219
|
() => {
|
|
@@ -221,22 +221,22 @@ function ye(i, e, t) {
|
|
|
221
221
|
},
|
|
222
222
|
200
|
|
223
223
|
));
|
|
224
|
-
}, c = () =>
|
|
225
|
-
if (!s || !d ||
|
|
224
|
+
}, c = () => D(this, null, function* () {
|
|
225
|
+
if (!s || !d || S)
|
|
226
226
|
return;
|
|
227
|
-
z && clearTimeout(r),
|
|
228
|
-
const n = s.offsetWidth,
|
|
229
|
-
t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${
|
|
230
|
-
const
|
|
231
|
-
t(8, s.style.width = `${$}px`, s), t(8, s.style.height = `${
|
|
227
|
+
z && clearTimeout(r), S = !0;
|
|
228
|
+
const n = s.offsetWidth, P = s.offsetHeight;
|
|
229
|
+
t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${P}px`, s), s.offsetHeight, yield B();
|
|
230
|
+
const Q = d.scrollHeight, $ = d.scrollWidth;
|
|
231
|
+
t(8, s.style.width = `${$}px`, s), t(8, s.style.height = `${Q}px`, s), z = setTimeout(
|
|
232
232
|
() => {
|
|
233
|
-
s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)),
|
|
233
|
+
s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
|
|
234
234
|
},
|
|
235
235
|
300
|
|
236
236
|
);
|
|
237
237
|
});
|
|
238
238
|
se(() => {
|
|
239
|
-
if (
|
|
239
|
+
if (B().then(() => {
|
|
240
240
|
c();
|
|
241
241
|
}), d) {
|
|
242
242
|
const n = new ResizeObserver(() => {
|
|
@@ -250,7 +250,7 @@ function ye(i, e, t) {
|
|
|
250
250
|
r && clearTimeout(r), z && clearTimeout(r);
|
|
251
251
|
};
|
|
252
252
|
});
|
|
253
|
-
function
|
|
253
|
+
function W(n) {
|
|
254
254
|
j[n ? "unshift" : "push"](() => {
|
|
255
255
|
d = n, t(7, d);
|
|
256
256
|
});
|
|
@@ -268,7 +268,7 @@ function ye(i, e, t) {
|
|
|
268
268
|
function v() {
|
|
269
269
|
T = this.clientWidth, M = this.clientHeight, t(0, T), t(1, M);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function N(n) {
|
|
272
272
|
j[n ? "unshift" : "push"](() => {
|
|
273
273
|
y = n, t(5, y);
|
|
274
274
|
});
|
|
@@ -277,12 +277,12 @@ function ye(i, e, t) {
|
|
|
277
277
|
"mbsource" in n && t(10, f = n.mbsource), "clientstyling" in n && t(11, b = n.clientstyling), "clientstylingurl" in n && t(12, x = n.clientstylingurl), "show" in n && t(2, h = n.show), "modaltype" in n && t(3, u = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, M = n.height), "$$scope" in n && t(13, a = n.$$scope);
|
|
278
278
|
}, i.$$.update = () => {
|
|
279
279
|
i.$$.dirty & /*isloading*/
|
|
280
|
-
16 && L &&
|
|
280
|
+
16 && L && B().then(() => {
|
|
281
281
|
c();
|
|
282
282
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
283
|
-
2080 && b && y &&
|
|
284
|
-
4128 && x && y &&
|
|
285
|
-
1056 && f && y &&
|
|
283
|
+
2080 && b && y && ce(y, b), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
284
|
+
4128 && x && y && fe(y, x), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
285
|
+
1056 && f && y && he(y, `${f}.Style`);
|
|
286
286
|
}, [
|
|
287
287
|
T,
|
|
288
288
|
M,
|
|
@@ -299,11 +299,11 @@ function ye(i, e, t) {
|
|
|
299
299
|
x,
|
|
300
300
|
a,
|
|
301
301
|
o,
|
|
302
|
-
|
|
302
|
+
W,
|
|
303
303
|
w,
|
|
304
304
|
l,
|
|
305
305
|
v,
|
|
306
|
-
|
|
306
|
+
N
|
|
307
307
|
];
|
|
308
308
|
}
|
|
309
309
|
class _e extends ee {
|
|
@@ -313,7 +313,7 @@ class _e extends ee {
|
|
|
313
313
|
e,
|
|
314
314
|
ye,
|
|
315
315
|
we,
|
|
316
|
-
|
|
316
|
+
ie,
|
|
317
317
|
{
|
|
318
318
|
mbsource: 10,
|
|
319
319
|
clientstyling: 11,
|
|
@@ -376,7 +376,7 @@ class _e extends ee {
|
|
|
376
376
|
this.$$set({ height: e }), k();
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
ue(_e, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
380
380
|
export {
|
|
381
381
|
_e as default
|
|
382
382
|
};
|
|
@@ -1 +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("./CashierError-Btvxfcrs.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,B=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${B}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 E(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,E]}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;
|
|
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("./CashierError-0ryZiOME.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,B=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${B}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 E(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,E]}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;
|