@everymatrix/cashier-page 1.98.8 → 1.98.9
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/{CashierCarousel-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as Ce, i as _e, $ as Me, S as
|
|
2
|
-
import { s as Re, a as Ie, b as Ee } from "./CashierHeader-
|
|
1
|
+
import { a as Ce, i as _e, $ as Me, S as De, b as ke, s as Te, f as N, d as Le, z as te, g as I, w as A, l as E, m as c, n as g, x as R, o as W, p, q as Se, r as We, y as ie, C as Q, D as $, E as le, F as Fe, G as Ve, A as B, H as Ne, I as ee, J as ne, K as Pe, c as ze, B as Ae } from "./CashierPage-DmSMSwFD.js";
|
|
2
|
+
import { s as Re, a as Ie, b as Ee } from "./CashierHeader-BoWdCzOy.js";
|
|
3
3
|
function oe(e, t) {
|
|
4
4
|
Ce(e, t);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function xe(e) {
|
|
7
7
|
_e({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), Me.set(e);
|
|
@@ -80,10 +80,34 @@ const se = {
|
|
|
80
80
|
WithdrawVariable: "Variabel",
|
|
81
81
|
carouselTitle: "Favoriete methoden",
|
|
82
82
|
carouselSubtitle: "De meest populaire betaalmethoden"
|
|
83
|
+
},
|
|
84
|
+
ru: {
|
|
85
|
+
generalMin: "Мин",
|
|
86
|
+
generalMax: "Макс",
|
|
87
|
+
error: "Ошибка",
|
|
88
|
+
noFavoritePaymentMethods: "Нет избранных способов оплаты",
|
|
89
|
+
DepositRealTime: "Мгновенный депозит",
|
|
90
|
+
WithdrawRealTime: "Мгновенный вывод",
|
|
91
|
+
DepositVariable: "Переменная",
|
|
92
|
+
WithdrawVariable: "Переменная",
|
|
93
|
+
carouselTitle: "Избранные методы",
|
|
94
|
+
carouselSubtitle: "Самые популярные способы оплаты"
|
|
95
|
+
},
|
|
96
|
+
az: {
|
|
97
|
+
generalMin: "Min",
|
|
98
|
+
generalMax: "Maks",
|
|
99
|
+
error: "Xəta",
|
|
100
|
+
noFavoritePaymentMethods: "Sevimli ödəniş üsulu mövcud deyil",
|
|
101
|
+
DepositRealTime: "Ani depozit",
|
|
102
|
+
WithdrawRealTime: "Ani çıxarış",
|
|
103
|
+
DepositVariable: "Dəyişkən",
|
|
104
|
+
WithdrawVariable: "Dəyişkən",
|
|
105
|
+
carouselTitle: "Sevimli üsullar",
|
|
106
|
+
carouselSubtitle: "Ən populyar ödəniş üsulları"
|
|
83
107
|
}
|
|
84
108
|
};
|
|
85
|
-
function
|
|
86
|
-
|
|
109
|
+
function Xe(e) {
|
|
110
|
+
Le(e, "svelte-1tnzy1r", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%;width:inherit}.Carousel{display:flex;gap:var(--emw-cashier-card-gap, 10px);height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;z-index:1;padding:5px;height:115px;width:var(--emw-cashier-card-width, 78px);transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:var(--emw-cashier-card-width-active, 100px)}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}');
|
|
87
111
|
}
|
|
88
112
|
function ce(e, t, a) {
|
|
89
113
|
const l = e.slice();
|
|
@@ -93,7 +117,7 @@ function ue(e, t, a) {
|
|
|
93
117
|
const l = e.slice();
|
|
94
118
|
return l[45] = t[a], l[44] = a, l;
|
|
95
119
|
}
|
|
96
|
-
function
|
|
120
|
+
function je(e) {
|
|
97
121
|
let t, a = (
|
|
98
122
|
/*$_*/
|
|
99
123
|
e[9]("noFavoritePaymentMethods") + ""
|
|
@@ -120,47 +144,47 @@ function He(e) {
|
|
|
120
144
|
/*userAgent*/
|
|
121
145
|
e[10]
|
|
122
146
|
) && /*promotedPaymentMethods*/
|
|
123
|
-
e[5].length > 1, l, o, h,
|
|
147
|
+
e[5].length > 1, l, o, h, k = !Q(
|
|
124
148
|
/*userAgent*/
|
|
125
149
|
e[10]
|
|
126
150
|
) && /*promotedPaymentMethods*/
|
|
127
|
-
e[5].length > 1, C, M, b,
|
|
151
|
+
e[5].length > 1, C, M, b, D, T, f = a && de(e), y = $(
|
|
128
152
|
/*promotedPaymentMethods*/
|
|
129
153
|
e[5]
|
|
130
154
|
), u = [];
|
|
131
|
-
for (let
|
|
132
|
-
u[
|
|
133
|
-
let d =
|
|
155
|
+
for (let r = 0; r < y.length; r += 1)
|
|
156
|
+
u[r] = me(ue(e, y, r));
|
|
157
|
+
let d = k && he(e), m = $(Array(
|
|
134
158
|
/*promotedPaymentMethods*/
|
|
135
159
|
e[5].length
|
|
136
160
|
)), v = [];
|
|
137
|
-
for (let
|
|
138
|
-
v[
|
|
161
|
+
for (let r = 0; r < m.length; r += 1)
|
|
162
|
+
v[r] = fe(ce(e, m, r));
|
|
139
163
|
return {
|
|
140
164
|
c() {
|
|
141
|
-
t = g("div"), f && f.c(), l =
|
|
142
|
-
for (let
|
|
143
|
-
u[
|
|
144
|
-
h =
|
|
145
|
-
for (let
|
|
146
|
-
v[
|
|
147
|
-
p(o, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"),
|
|
165
|
+
t = g("div"), f && f.c(), l = W(), o = g("div");
|
|
166
|
+
for (let r = 0; r < u.length; r += 1)
|
|
167
|
+
u[r].c();
|
|
168
|
+
h = W(), d && d.c(), M = W(), b = g("div");
|
|
169
|
+
for (let r = 0; r < v.length; r += 1)
|
|
170
|
+
v[r].c();
|
|
171
|
+
p(o, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"), Ne(() => (
|
|
148
172
|
/*div1_elementresize_handler*/
|
|
149
173
|
e[30].call(t)
|
|
150
174
|
)), p(b, "class", "VisualDotIndicator");
|
|
151
175
|
},
|
|
152
|
-
m(
|
|
153
|
-
E(
|
|
176
|
+
m(r, s) {
|
|
177
|
+
E(r, t, s), f && f.m(t, null), c(t, l), c(t, o);
|
|
154
178
|
for (let n = 0; n < u.length; n += 1)
|
|
155
179
|
u[n] && u[n].m(o, null);
|
|
156
|
-
e[28](o), c(t, h), d && d.m(t, null), C =
|
|
180
|
+
e[28](o), c(t, h), d && d.m(t, null), C = Ve(
|
|
157
181
|
t,
|
|
158
182
|
/*div1_elementresize_handler*/
|
|
159
183
|
e[30].bind(t)
|
|
160
|
-
), E(
|
|
184
|
+
), E(r, M, s), E(r, b, s);
|
|
161
185
|
for (let n = 0; n < v.length; n += 1)
|
|
162
186
|
v[n] && v[n].m(b, null);
|
|
163
|
-
|
|
187
|
+
D || (T = [
|
|
164
188
|
B(
|
|
165
189
|
o,
|
|
166
190
|
"touchstart",
|
|
@@ -179,52 +203,52 @@ function He(e) {
|
|
|
179
203
|
/*handleTouchEnd*/
|
|
180
204
|
e[14]
|
|
181
205
|
)
|
|
182
|
-
],
|
|
206
|
+
], D = !0);
|
|
183
207
|
},
|
|
184
|
-
p(
|
|
208
|
+
p(r, s) {
|
|
185
209
|
if (s[0] & /*promotedPaymentMethods*/
|
|
186
210
|
32 && (a = !Q(
|
|
187
211
|
/*userAgent*/
|
|
188
|
-
|
|
212
|
+
r[10]
|
|
189
213
|
) && /*promotedPaymentMethods*/
|
|
190
|
-
|
|
214
|
+
r[5].length > 1), a ? f ? f.p(r, s) : (f = de(r), f.c(), f.m(t, l)) : f && (f.d(1), f = null), s[0] & /*activeIndex, cardEl, selectPayMeth, promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals, $_, methodtype*/
|
|
191
215
|
3057) {
|
|
192
216
|
y = $(
|
|
193
217
|
/*promotedPaymentMethods*/
|
|
194
|
-
|
|
218
|
+
r[5]
|
|
195
219
|
);
|
|
196
220
|
let n;
|
|
197
221
|
for (n = 0; n < y.length; n += 1) {
|
|
198
|
-
const
|
|
199
|
-
u[n] ? u[n].p(
|
|
222
|
+
const L = ue(r, y, n);
|
|
223
|
+
u[n] ? u[n].p(L, s) : (u[n] = me(L), u[n].c(), u[n].m(o, null));
|
|
200
224
|
}
|
|
201
225
|
for (; n < u.length; n += 1)
|
|
202
226
|
u[n].d(1);
|
|
203
227
|
u.length = y.length;
|
|
204
228
|
}
|
|
205
229
|
if (s[0] & /*promotedPaymentMethods*/
|
|
206
|
-
32 && (
|
|
230
|
+
32 && (k = !Q(
|
|
207
231
|
/*userAgent*/
|
|
208
|
-
|
|
232
|
+
r[10]
|
|
209
233
|
) && /*promotedPaymentMethods*/
|
|
210
|
-
|
|
234
|
+
r[5].length > 1), k ? d ? d.p(r, s) : (d = he(r), d.c(), d.m(t, null)) : d && (d.d(1), d = null), s[0] & /*activeIndex, promotedPaymentMethods*/
|
|
211
235
|
96) {
|
|
212
236
|
m = $(Array(
|
|
213
237
|
/*promotedPaymentMethods*/
|
|
214
|
-
|
|
238
|
+
r[5].length
|
|
215
239
|
));
|
|
216
240
|
let n;
|
|
217
241
|
for (n = 0; n < m.length; n += 1) {
|
|
218
|
-
const
|
|
219
|
-
v[n] ? v[n].p(
|
|
242
|
+
const L = ce(r, m, n);
|
|
243
|
+
v[n] ? v[n].p(L, s) : (v[n] = fe(L), v[n].c(), v[n].m(b, null));
|
|
220
244
|
}
|
|
221
245
|
for (; n < v.length; n += 1)
|
|
222
246
|
v[n].d(1);
|
|
223
247
|
v.length = m.length;
|
|
224
248
|
}
|
|
225
249
|
},
|
|
226
|
-
d(
|
|
227
|
-
|
|
250
|
+
d(r) {
|
|
251
|
+
r && (I(t), I(M), I(b)), f && f.d(), le(u, r), e[28](null), d && d.d(), C(), le(v, r), D = !1, Fe(T);
|
|
228
252
|
}
|
|
229
253
|
};
|
|
230
254
|
}
|
|
@@ -249,19 +273,19 @@ function de(e) {
|
|
|
249
273
|
};
|
|
250
274
|
}
|
|
251
275
|
function me(e) {
|
|
252
|
-
let t, a, l, o, h,
|
|
276
|
+
let t, a, l, o, h, k, C, M, b, D = (
|
|
253
277
|
/*method*/
|
|
254
278
|
(e[45].Label || /*method*/
|
|
255
279
|
e[45].Name) + ""
|
|
256
|
-
),
|
|
280
|
+
), T, f, y, u, d = (
|
|
257
281
|
/*$_*/
|
|
258
282
|
e[9](`${/*methodtype*/
|
|
259
283
|
e[0]}${/*method*/
|
|
260
284
|
e[45].ProcessingTime}`) + ""
|
|
261
|
-
), m, v,
|
|
285
|
+
), m, v, r, s, n, L = (
|
|
262
286
|
/*$_*/
|
|
263
287
|
e[9]("generalMin") + ""
|
|
264
|
-
),
|
|
288
|
+
), x, w, F = ee(
|
|
265
289
|
/*method*/
|
|
266
290
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
267
291
|
/*method*/
|
|
@@ -284,10 +308,10 @@ function me(e) {
|
|
|
284
308
|
e[8]
|
|
285
309
|
)
|
|
286
310
|
}
|
|
287
|
-
) + "", P, J,
|
|
311
|
+
) + "", P, J, X, H = (
|
|
288
312
|
/*$_*/
|
|
289
313
|
e[9]("generalMax") + ""
|
|
290
|
-
), q, O,
|
|
314
|
+
), q, O, V = ee(
|
|
291
315
|
/*method*/
|
|
292
316
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
293
317
|
/*method*/
|
|
@@ -324,31 +348,31 @@ function me(e) {
|
|
|
324
348
|
}
|
|
325
349
|
return {
|
|
326
350
|
c() {
|
|
327
|
-
t = g("div"), a = g("div"), l = g("img"),
|
|
351
|
+
t = g("div"), a = g("div"), l = g("img"), k = W(), C = g("div"), M = g("div"), b = g("span"), T = R(D), f = W(), y = g("div"), u = g("span"), m = R(d), v = W(), r = g("div"), s = g("span"), n = g("span"), x = R(L), w = W(), P = R(F), J = W(), X = g("span"), q = R(H), O = W(), G = R(V), Y = W(), ne(l.src, o = /*method*/
|
|
328
352
|
e[45].LogoUrl) || p(l, "src", o), p(l, "alt", h = /*method*/
|
|
329
|
-
e[45].Label), p(a, "class", "MethodLogo"), p(M, "class", "MethodTitle"), p(y, "class", "MethodProcessingTime"), p(s, "class", "Limits"), p(
|
|
353
|
+
e[45].Label), p(a, "class", "MethodLogo"), p(M, "class", "MethodTitle"), p(y, "class", "MethodProcessingTime"), p(s, "class", "Limits"), p(r, "class", "MethodLimits"), p(C, "class", "MethodInfo"), p(t, "class", Z = `CarouselCardWrapper ${/*index*/
|
|
330
354
|
e[44] === /*activeIndex*/
|
|
331
355
|
e[6] ? "active" : ""}`);
|
|
332
356
|
},
|
|
333
|
-
m(
|
|
334
|
-
E(
|
|
357
|
+
m(j, S) {
|
|
358
|
+
E(j, t, S), c(t, a), c(a, l), c(t, k), c(t, C), c(C, M), c(M, b), c(b, T), c(C, f), c(C, y), c(y, u), c(u, m), c(C, v), c(C, r), c(r, s), c(s, n), c(n, x), c(n, w), c(n, P), c(s, J), c(s, X), c(X, q), c(X, O), c(X, G), c(t, Y), e[27](t), K || (U = B(t, "click", ae), K = !0);
|
|
335
359
|
},
|
|
336
|
-
p(
|
|
337
|
-
e =
|
|
360
|
+
p(j, S) {
|
|
361
|
+
e = j, S[0] & /*promotedPaymentMethods*/
|
|
338
362
|
32 && !ne(l.src, o = /*method*/
|
|
339
|
-
e[45].LogoUrl) && p(l, "src", o),
|
|
363
|
+
e[45].LogoUrl) && p(l, "src", o), S[0] & /*promotedPaymentMethods*/
|
|
340
364
|
32 && h !== (h = /*method*/
|
|
341
|
-
e[45].Label) && p(l, "alt", h),
|
|
342
|
-
32 &&
|
|
365
|
+
e[45].Label) && p(l, "alt", h), S[0] & /*promotedPaymentMethods*/
|
|
366
|
+
32 && D !== (D = /*method*/
|
|
343
367
|
(e[45].Label || /*method*/
|
|
344
|
-
e[45].Name) + "") && A(
|
|
368
|
+
e[45].Name) + "") && A(T, D), S[0] & /*$_, methodtype, promotedPaymentMethods*/
|
|
345
369
|
545 && d !== (d = /*$_*/
|
|
346
370
|
e[9](`${/*methodtype*/
|
|
347
371
|
e[0]}${/*method*/
|
|
348
|
-
e[45].ProcessingTime}`) + "") && A(m, d),
|
|
349
|
-
512 &&
|
|
350
|
-
e[9]("generalMin") + "") && A(
|
|
351
|
-
304 &&
|
|
372
|
+
e[45].ProcessingTime}`) + "") && A(m, d), S[0] & /*$_*/
|
|
373
|
+
512 && L !== (L = /*$_*/
|
|
374
|
+
e[9]("generalMin") + "") && A(x, L), S[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
375
|
+
304 && F !== (F = ee(
|
|
352
376
|
/*method*/
|
|
353
377
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
354
378
|
/*method*/
|
|
@@ -371,10 +395,10 @@ function me(e) {
|
|
|
371
395
|
e[8]
|
|
372
396
|
)
|
|
373
397
|
}
|
|
374
|
-
) + "") && A(P,
|
|
398
|
+
) + "") && A(P, F), S[0] & /*$_*/
|
|
375
399
|
512 && H !== (H = /*$_*/
|
|
376
|
-
e[9]("generalMax") + "") && A(q, H),
|
|
377
|
-
304 &&
|
|
400
|
+
e[9]("generalMax") + "") && A(q, H), S[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
401
|
+
304 && V !== (V = ee(
|
|
378
402
|
/*method*/
|
|
379
403
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
380
404
|
/*method*/
|
|
@@ -397,13 +421,13 @@ function me(e) {
|
|
|
397
421
|
e[8]
|
|
398
422
|
)
|
|
399
423
|
}
|
|
400
|
-
) + "") && A(G,
|
|
424
|
+
) + "") && A(G, V), S[0] & /*activeIndex*/
|
|
401
425
|
64 && Z !== (Z = `CarouselCardWrapper ${/*index*/
|
|
402
426
|
e[44] === /*activeIndex*/
|
|
403
427
|
e[6] ? "active" : ""}`) && p(t, "class", Z);
|
|
404
428
|
},
|
|
405
|
-
d(
|
|
406
|
-
|
|
429
|
+
d(j) {
|
|
430
|
+
j && I(t), e[27](null), K = !1, U();
|
|
407
431
|
}
|
|
408
432
|
};
|
|
409
433
|
}
|
|
@@ -453,30 +477,30 @@ function Ze(e) {
|
|
|
453
477
|
let t, a, l, o, h = (
|
|
454
478
|
/*$_*/
|
|
455
479
|
e[9]("carouselTitle") + ""
|
|
456
|
-
),
|
|
480
|
+
), k, C, M, b = (
|
|
457
481
|
/*$_*/
|
|
458
482
|
e[9]("carouselSubtitle") + ""
|
|
459
|
-
),
|
|
483
|
+
), D, T;
|
|
460
484
|
function f(d, m) {
|
|
461
485
|
return (
|
|
462
486
|
/*promotedPaymentMethods*/
|
|
463
|
-
d[5].length > 0 ? He :
|
|
487
|
+
d[5].length > 0 ? He : je
|
|
464
488
|
);
|
|
465
489
|
}
|
|
466
490
|
let y = f(e), u = y(e);
|
|
467
491
|
return {
|
|
468
492
|
c() {
|
|
469
|
-
t = g("div"), a = g("div"), l = g("div"), o = g("h4"),
|
|
493
|
+
t = g("div"), a = g("div"), l = g("div"), o = g("h4"), k = R(h), C = W(), M = g("p"), D = R(b), T = W(), u.c(), p(l, "class", "CarouselHeader"), p(a, "class", "CashierCarouselWarpper");
|
|
470
494
|
},
|
|
471
495
|
m(d, m) {
|
|
472
|
-
E(d, t, m), c(t, a), c(a, l), c(l, o), c(o,
|
|
496
|
+
E(d, t, m), c(t, a), c(a, l), c(l, o), c(o, k), c(l, C), c(l, M), c(M, D), c(a, T), u.m(a, null), e[31](t);
|
|
473
497
|
},
|
|
474
498
|
p(d, m) {
|
|
475
499
|
m[0] & /*$_*/
|
|
476
500
|
512 && h !== (h = /*$_*/
|
|
477
|
-
d[9]("carouselTitle") + "") && A(
|
|
501
|
+
d[9]("carouselTitle") + "") && A(k, h), m[0] & /*$_*/
|
|
478
502
|
512 && b !== (b = /*$_*/
|
|
479
|
-
d[9]("carouselSubtitle") + "") && A(
|
|
503
|
+
d[9]("carouselSubtitle") + "") && A(D, b), y === (y = f(d)) && u ? u.p(d, m) : (u.d(1), u = y(d), u && (u.c(), u.m(a, null)));
|
|
480
504
|
},
|
|
481
505
|
i: te,
|
|
482
506
|
o: te,
|
|
@@ -487,28 +511,28 @@ function Ze(e) {
|
|
|
487
511
|
}
|
|
488
512
|
function Ue(e, t, a) {
|
|
489
513
|
let l, o;
|
|
490
|
-
|
|
491
|
-
let { lang: h = "en" } = t, { local:
|
|
492
|
-
const
|
|
493
|
-
const { data: { type: _ } = {} } =
|
|
514
|
+
Se(e, Ae, (i) => a(9, o = i));
|
|
515
|
+
let { lang: h = "en" } = t, { local: k = "en-US" } = t, { currencysymbol: C = "true" } = t, { currencyposition: M = "" } = t, { currencydecimals: b = "0" } = t, { methodtype: D = "" } = t, { clientstyling: T = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: y = "" } = t, { translationurl: u = "" } = t, d = {}, m, v, r = [], s = 0, n = !0, L = 0, x = !1, w, F, P, J = window.navigator.userAgent;
|
|
516
|
+
const X = (i) => {
|
|
517
|
+
const { data: { type: _ } = {} } = i || {};
|
|
494
518
|
switch (_) {
|
|
495
519
|
case "PromotedPaymentMethods": {
|
|
496
|
-
a(5,
|
|
520
|
+
a(5, r = i?.data?.promotedPaymentMethods), a(6, s = Math.floor((r.length - 1) / 2));
|
|
497
521
|
break;
|
|
498
522
|
}
|
|
499
523
|
case "PrecisionCurrenciesMap": {
|
|
500
|
-
a(4, d =
|
|
524
|
+
a(4, d = i?.data?.payload || {});
|
|
501
525
|
break;
|
|
502
526
|
}
|
|
503
527
|
}
|
|
504
528
|
};
|
|
505
|
-
Object.keys(se).forEach((
|
|
506
|
-
oe(
|
|
529
|
+
Object.keys(se).forEach((i) => {
|
|
530
|
+
oe(i, se[i]);
|
|
507
531
|
});
|
|
508
532
|
const H = () => {
|
|
509
|
-
let
|
|
510
|
-
if (
|
|
511
|
-
return fetch(
|
|
533
|
+
let i = u;
|
|
534
|
+
if (i)
|
|
535
|
+
return fetch(i).then((_) => _.json()).then((_) => {
|
|
512
536
|
Object.keys(_).forEach((z) => {
|
|
513
537
|
oe(z, _[z]);
|
|
514
538
|
});
|
|
@@ -516,79 +540,79 @@ function Ue(e, t, a) {
|
|
|
516
540
|
console.log(_);
|
|
517
541
|
});
|
|
518
542
|
}, q = () => {
|
|
519
|
-
|
|
520
|
-
}, O = (
|
|
521
|
-
a(6, s = _), a(2, w.style.transform =
|
|
543
|
+
xe(h);
|
|
544
|
+
}, O = (i, _) => {
|
|
545
|
+
a(6, s = _), a(2, w.style.transform = V(), w), i.Name, window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
|
|
522
546
|
"selectPayMeth",
|
|
523
547
|
{
|
|
524
|
-
detail:
|
|
548
|
+
detail: i,
|
|
525
549
|
bubbles: !0,
|
|
526
550
|
cancelable: !0,
|
|
527
551
|
composed: !0
|
|
528
552
|
}
|
|
529
553
|
));
|
|
530
|
-
},
|
|
531
|
-
const
|
|
554
|
+
}, V = () => {
|
|
555
|
+
const i = parseFloat(getComputedStyle(P).getPropertyValue("--emw-cashier-card-width")) || 78, _ = parseFloat(getComputedStyle(w).getPropertyValue("--emw-cashier-card-gap")) || 10, z = parseFloat(getComputedStyle(P).getPropertyValue("--emw-cashier-card-width-active")) || 100, re = i + _, ve = F / 2, we = s * re + z / 2;
|
|
532
556
|
return `translateX(${ve - we}px)`;
|
|
533
|
-
}, G = (
|
|
534
|
-
|
|
535
|
-
}, Y = (
|
|
536
|
-
if (!
|
|
557
|
+
}, G = (i) => {
|
|
558
|
+
L = i.touches[0].clientX, x = !0, w.classList.add("dragging");
|
|
559
|
+
}, Y = (i) => {
|
|
560
|
+
if (!x)
|
|
537
561
|
return;
|
|
538
|
-
const _ =
|
|
539
|
-
Math.abs(_ -
|
|
540
|
-
}, Z = (
|
|
541
|
-
if (!
|
|
562
|
+
const _ = i.touches[0].clientX;
|
|
563
|
+
Math.abs(_ - L) > 10 && i.preventDefault();
|
|
564
|
+
}, Z = (i) => {
|
|
565
|
+
if (!x)
|
|
542
566
|
return;
|
|
543
|
-
|
|
544
|
-
const _ =
|
|
545
|
-
Math.abs(z) > 50 && (z > 0 && s <
|
|
567
|
+
x = !1, w.classList.remove("dragging");
|
|
568
|
+
const _ = i.changedTouches[0].clientX, z = L - _;
|
|
569
|
+
Math.abs(z) > 50 && (z > 0 && s < r.length - 1 ? a(6, s++, s) : z < 0 && s > 0 && a(6, s--, s), a(2, w.style.transform = V(), w));
|
|
546
570
|
}, K = () => {
|
|
547
|
-
n && (a(2, w.style.transform =
|
|
548
|
-
}, U = (
|
|
549
|
-
|
|
571
|
+
n && (a(2, w.style.transform = V(), w), n = !1);
|
|
572
|
+
}, U = (i) => {
|
|
573
|
+
i === "next" && s < r.length - 1 ? a(6, s++, s) : i === "prev" && s > 0 && a(6, s--, s), a(2, w.style.transform = V(), w);
|
|
550
574
|
};
|
|
551
|
-
|
|
552
|
-
window.removeEventListener("message",
|
|
575
|
+
We(() => (Pe(k, C, M, b), window.addEventListener("message", X), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), w && V(), () => {
|
|
576
|
+
window.removeEventListener("message", X);
|
|
553
577
|
}));
|
|
554
|
-
const ae = () => U("prev"),
|
|
555
|
-
function
|
|
556
|
-
|
|
557
|
-
P =
|
|
578
|
+
const ae = () => U("prev"), j = (i, _) => O(i, _);
|
|
579
|
+
function S(i) {
|
|
580
|
+
ie[i ? "unshift" : "push"](() => {
|
|
581
|
+
P = i, a(7, P);
|
|
558
582
|
});
|
|
559
583
|
}
|
|
560
|
-
function ge(
|
|
561
|
-
|
|
562
|
-
w =
|
|
584
|
+
function ge(i) {
|
|
585
|
+
ie[i ? "unshift" : "push"](() => {
|
|
586
|
+
w = i, a(2, w);
|
|
563
587
|
});
|
|
564
588
|
}
|
|
565
589
|
const pe = () => U("next");
|
|
566
590
|
function ye() {
|
|
567
|
-
|
|
591
|
+
F = this.clientWidth, a(3, F);
|
|
568
592
|
}
|
|
569
|
-
function be(
|
|
570
|
-
|
|
571
|
-
m =
|
|
593
|
+
function be(i) {
|
|
594
|
+
ie[i ? "unshift" : "push"](() => {
|
|
595
|
+
m = i, a(1, m);
|
|
572
596
|
});
|
|
573
597
|
}
|
|
574
|
-
return e.$$set = (
|
|
575
|
-
"lang" in
|
|
598
|
+
return e.$$set = (i) => {
|
|
599
|
+
"lang" in i && a(16, h = i.lang), "local" in i && a(17, k = i.local), "currencysymbol" in i && a(18, C = i.currencysymbol), "currencyposition" in i && a(19, M = i.currencyposition), "currencydecimals" in i && a(20, b = i.currencydecimals), "methodtype" in i && a(0, D = i.methodtype), "clientstyling" in i && a(21, T = i.clientstyling), "clientstylingurl" in i && a(22, f = i.clientstylingurl), "mbsource" in i && a(23, y = i.mbsource), "translationurl" in i && a(24, u = i.translationurl);
|
|
576
600
|
}, e.$$.update = () => {
|
|
577
601
|
e.$$.dirty[0] & /*lang*/
|
|
578
602
|
65536 && h && q(), e.$$.dirty[0] & /*lang, translationurl*/
|
|
579
603
|
16842752 && h && u && H(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
|
|
580
|
-
12 && w &&
|
|
581
|
-
2097154 &&
|
|
604
|
+
12 && w && F && K(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
605
|
+
2097154 && T && m && Re(m, T), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
582
606
|
4194306 && f && m && Ie(m, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
583
607
|
8388610 && y && m && Ee(m, `${y}.Style`, v), e.$$.dirty[0] & /*currencydecimals*/
|
|
584
608
|
1048576 && a(8, l = Number(b));
|
|
585
609
|
}, [
|
|
586
|
-
|
|
610
|
+
D,
|
|
587
611
|
m,
|
|
588
612
|
w,
|
|
589
|
-
|
|
613
|
+
F,
|
|
590
614
|
d,
|
|
591
|
-
|
|
615
|
+
r,
|
|
592
616
|
s,
|
|
593
617
|
P,
|
|
594
618
|
l,
|
|
@@ -600,31 +624,31 @@ function Ue(e, t, a) {
|
|
|
600
624
|
Z,
|
|
601
625
|
U,
|
|
602
626
|
h,
|
|
603
|
-
|
|
627
|
+
k,
|
|
604
628
|
C,
|
|
605
629
|
M,
|
|
606
630
|
b,
|
|
607
|
-
|
|
631
|
+
T,
|
|
608
632
|
f,
|
|
609
633
|
y,
|
|
610
634
|
u,
|
|
611
635
|
ae,
|
|
612
|
-
|
|
613
|
-
|
|
636
|
+
j,
|
|
637
|
+
S,
|
|
614
638
|
ge,
|
|
615
639
|
pe,
|
|
616
640
|
ye,
|
|
617
641
|
be
|
|
618
642
|
];
|
|
619
643
|
}
|
|
620
|
-
class Be extends
|
|
644
|
+
class Be extends De {
|
|
621
645
|
constructor(t) {
|
|
622
|
-
super(),
|
|
646
|
+
super(), ke(
|
|
623
647
|
this,
|
|
624
648
|
t,
|
|
625
649
|
Ue,
|
|
626
650
|
Ze,
|
|
627
|
-
|
|
651
|
+
Te,
|
|
628
652
|
{
|
|
629
653
|
lang: 16,
|
|
630
654
|
local: 17,
|
|
@@ -637,7 +661,7 @@ class Be extends ke {
|
|
|
637
661
|
mbsource: 23,
|
|
638
662
|
translationurl: 24
|
|
639
663
|
},
|
|
640
|
-
|
|
664
|
+
Xe,
|
|
641
665
|
[-1, -1]
|
|
642
666
|
);
|
|
643
667
|
}
|
|
@@ -645,61 +669,61 @@ class Be extends ke {
|
|
|
645
669
|
return this.$$.ctx[16];
|
|
646
670
|
}
|
|
647
671
|
set lang(t) {
|
|
648
|
-
this.$$set({ lang: t }),
|
|
672
|
+
this.$$set({ lang: t }), N();
|
|
649
673
|
}
|
|
650
674
|
get local() {
|
|
651
675
|
return this.$$.ctx[17];
|
|
652
676
|
}
|
|
653
677
|
set local(t) {
|
|
654
|
-
this.$$set({ local: t }),
|
|
678
|
+
this.$$set({ local: t }), N();
|
|
655
679
|
}
|
|
656
680
|
get currencysymbol() {
|
|
657
681
|
return this.$$.ctx[18];
|
|
658
682
|
}
|
|
659
683
|
set currencysymbol(t) {
|
|
660
|
-
this.$$set({ currencysymbol: t }),
|
|
684
|
+
this.$$set({ currencysymbol: t }), N();
|
|
661
685
|
}
|
|
662
686
|
get currencyposition() {
|
|
663
687
|
return this.$$.ctx[19];
|
|
664
688
|
}
|
|
665
689
|
set currencyposition(t) {
|
|
666
|
-
this.$$set({ currencyposition: t }),
|
|
690
|
+
this.$$set({ currencyposition: t }), N();
|
|
667
691
|
}
|
|
668
692
|
get currencydecimals() {
|
|
669
693
|
return this.$$.ctx[20];
|
|
670
694
|
}
|
|
671
695
|
set currencydecimals(t) {
|
|
672
|
-
this.$$set({ currencydecimals: t }),
|
|
696
|
+
this.$$set({ currencydecimals: t }), N();
|
|
673
697
|
}
|
|
674
698
|
get methodtype() {
|
|
675
699
|
return this.$$.ctx[0];
|
|
676
700
|
}
|
|
677
701
|
set methodtype(t) {
|
|
678
|
-
this.$$set({ methodtype: t }),
|
|
702
|
+
this.$$set({ methodtype: t }), N();
|
|
679
703
|
}
|
|
680
704
|
get clientstyling() {
|
|
681
705
|
return this.$$.ctx[21];
|
|
682
706
|
}
|
|
683
707
|
set clientstyling(t) {
|
|
684
|
-
this.$$set({ clientstyling: t }),
|
|
708
|
+
this.$$set({ clientstyling: t }), N();
|
|
685
709
|
}
|
|
686
710
|
get clientstylingurl() {
|
|
687
711
|
return this.$$.ctx[22];
|
|
688
712
|
}
|
|
689
713
|
set clientstylingurl(t) {
|
|
690
|
-
this.$$set({ clientstylingurl: t }),
|
|
714
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
691
715
|
}
|
|
692
716
|
get mbsource() {
|
|
693
717
|
return this.$$.ctx[23];
|
|
694
718
|
}
|
|
695
719
|
set mbsource(t) {
|
|
696
|
-
this.$$set({ mbsource: t }),
|
|
720
|
+
this.$$set({ mbsource: t }), N();
|
|
697
721
|
}
|
|
698
722
|
get translationurl() {
|
|
699
723
|
return this.$$.ctx[24];
|
|
700
724
|
}
|
|
701
725
|
set translationurl(t) {
|
|
702
|
-
this.$$set({ translationurl: t }),
|
|
726
|
+
this.$$set({ translationurl: t }), N();
|
|
703
727
|
}
|
|
704
728
|
}
|
|
705
729
|
ze(Be, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|