@everymatrix/cashier-method-details 1.77.26 → 1.77.27
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-DR_gDKIv.js → CashierError-CQcPfdgL.js} +720 -752
- package/components/{CashierError-ClRdU5rF.js → CashierError-DRwaT1pY.js} +831 -863
- package/components/CashierError-DzXuI7wS.cjs +8 -0
- package/components/{CashierMethodDetails-Cp9Hfnma.js → CashierMethodDetails-BOdr7Ugc.js} +704 -655
- package/components/{CashierMethodDetails-CV3hKdFH.cjs → CashierMethodDetails-D-Kx493t.cjs} +19 -6
- package/components/{CashierMethodDetails-Db9av1IF.js → CashierMethodDetails-DVpe60nK.js} +443 -394
- package/components/{CashierModal-CC7xAOpo.js → CashierModal-Be_PLY94.js} +54 -54
- package/components/{CashierModal-DdvdFEPo.cjs → CashierModal-BnjSgd3W.cjs} +1 -1
- package/components/{CashierModal-D2G7jgPD.js → CashierModal-D2M2FMKW.js} +54 -54
- package/components/{CashierNotifications-C1uzBKi3.js → CashierNotifications--xosH5as.js} +19 -19
- package/components/{CashierNotifications-BeTRNQFt.js → CashierNotifications-CTKkGkaV.js} +17 -17
- package/components/{CashierNotifications-BloppsAr.cjs → CashierNotifications-CdIQ2vRy.cjs} +1 -1
- package/components/{CashierReceiptPage-BfqmLWL0.js → CashierReceiptPage-Bihgo9ap.js} +108 -108
- package/components/{CashierReceiptPage-C6Md4yoi.cjs → CashierReceiptPage-D_Q7MALa.cjs} +1 -1
- package/components/{CashierReceiptPage-DzDUUGQJ.js → CashierReceiptPage-DuauNnLl.js} +104 -104
- 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--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CashierError-CCmswcDf.cjs +0 -21
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,12 +1,12 @@
|
|
1
|
-
import { a as
|
2
|
-
import { d as S1, u as se, f as le, a as L1, i as
|
1
|
+
import { a as O1, i as U1, $ as G1, S as q1, d as Q1, s as J1, f as L, e as X1, n as x1, j as f, k as g, p as u, r as s, t as $1, u as ee, B as D1, x, l as c, m as T1, q as T, z as R, v as P1, y as k, D as R1, E as Y1, J as G, F as M1, M as te, N as ne, O as ie, b as oe, L as ae } from "./CashierError-DRwaT1pY.js";
|
2
|
+
import { d as S1, u as se, f as le, a as L1, i as H1, b as re } from "./CashierMethodDetails-DVpe60nK.js";
|
3
3
|
function B1(o, e) {
|
4
|
-
|
4
|
+
O1(o, e);
|
5
5
|
}
|
6
6
|
function ce(o) {
|
7
|
-
|
7
|
+
U1({
|
8
8
|
fallbackLocale: "en"
|
9
|
-
}),
|
9
|
+
}), G1.set(o);
|
10
10
|
}
|
11
11
|
const I1 = {
|
12
12
|
en: {
|
@@ -395,7 +395,7 @@ const I1 = {
|
|
395
395
|
`
|
396
396
|
};
|
397
397
|
function fe(o) {
|
398
|
-
|
398
|
+
X1(o, "svelte-m6p0z", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #F9C405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.success{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.fail{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.pending{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.reject{background:#E6E6E6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;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%)}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:10px;border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41D195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #FF6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #FF3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.DefaultButton{color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));border:none;background:var(--emw--color-primary, #F9C408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px)}.DefaultButton:hover{background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}');
|
399
399
|
}
|
400
400
|
function W1(o, e, t) {
|
401
401
|
const n = o.slice();
|
@@ -426,13 +426,13 @@ function ge(o) {
|
|
426
426
|
e = u("div"), i && i.c(), s(e, "class", "CashierReceiptPage");
|
427
427
|
},
|
428
428
|
m(l, a) {
|
429
|
-
|
429
|
+
g(l, e, a), i && i.m(e, null);
|
430
430
|
},
|
431
431
|
p(l, a) {
|
432
432
|
n === (n = t(l)) && i ? i.p(l, a) : (i && i.d(1), i = n && n(l), i && (i.c(), i.m(e, null)));
|
433
433
|
},
|
434
434
|
d(l) {
|
435
|
-
l &&
|
435
|
+
l && f(e), i && i.d();
|
436
436
|
}
|
437
437
|
};
|
438
438
|
}
|
@@ -443,11 +443,11 @@ function he(o) {
|
|
443
443
|
e = u("div"), e.innerHTML = '<div class="Spinner"></div>', s(e, "class", "LoadingOverlay");
|
444
444
|
},
|
445
445
|
m(t, n) {
|
446
|
-
|
446
|
+
g(t, e, n);
|
447
447
|
},
|
448
448
|
p: x1,
|
449
449
|
d(t) {
|
450
|
-
t &&
|
450
|
+
t && f(e);
|
451
451
|
}
|
452
452
|
};
|
453
453
|
}
|
@@ -492,7 +492,7 @@ function be(o) {
|
|
492
492
|
);
|
493
493
|
},
|
494
494
|
m(n, i) {
|
495
|
-
|
495
|
+
g(n, e, i), t && t.m(e, null);
|
496
496
|
},
|
497
497
|
p(n, i) {
|
498
498
|
/*errorResponseCode*/
|
@@ -536,7 +536,7 @@ function be(o) {
|
|
536
536
|
);
|
537
537
|
},
|
538
538
|
d(n) {
|
539
|
-
n &&
|
539
|
+
n && f(e), t && t.d();
|
540
540
|
}
|
541
541
|
};
|
542
542
|
}
|
@@ -574,7 +574,7 @@ function we(o) {
|
|
574
574
|
o[24]
|
575
575
|
) && /*showverifications*/
|
576
576
|
o[8] && /*displayVerifications*/
|
577
|
-
o[22], l1, r, I,
|
577
|
+
o[22], l1, r, I, O;
|
578
578
|
function E(p, v) {
|
579
579
|
if (
|
580
580
|
/*txnStatus*/
|
@@ -592,7 +592,7 @@ function we(o) {
|
|
592
592
|
)
|
593
593
|
return _e;
|
594
594
|
}
|
595
|
-
let
|
595
|
+
let U = E(o), j = U && U(o), N = (
|
596
596
|
/*displayedButtons*/
|
597
597
|
o[12].length > 0 && F1(o)
|
598
598
|
), Y = _1 && V1(o), K = (
|
@@ -601,17 +601,17 @@ function we(o) {
|
|
601
601
|
);
|
602
602
|
return {
|
603
603
|
c() {
|
604
|
-
e = u("div"), j && j.c(), t = T(), n = u("div"), i = u("div"), l = u("p"), d =
|
604
|
+
e = u("div"), j && j.c(), t = T(), n = u("div"), i = u("div"), l = u("p"), d = R(a), m = T(), b = u("span"), y = R(
|
605
605
|
/*amount*/
|
606
606
|
o[17]
|
607
|
-
), _ = T(), h = u("div"), C = u("p"), H =
|
607
|
+
), _ = T(), h = u("div"), C = u("p"), H = R(w), A = T(), W = u("span"), Z = R(F), B = T(), P = u("div"), z = u("p"), i1 = R($), o1 = T(), M = u("span"), C1 = R(r1), D = T(), q = u("div"), c1 = u("p"), e1 = R(V), u1 = T(), a1 = u("span"), t1 = R(
|
608
608
|
/*paymentmethod*/
|
609
609
|
o[9]
|
610
|
-
), k1 = T(), Q = u("div"), p1 = u("p"), f1 =
|
610
|
+
), k1 = T(), Q = u("div"), p1 = u("p"), f1 = R(J), g1 = T(), h1 = u("span"), b1 = R(d1), m1 = T(), X = u("div"), N && N.c(), w1 = T(), n1 = u("button"), y1 = R(s1), v1 = T(), Y && Y.c(), l1 = T(), K && K.c(), r = P1(), s(e, "class", "ReceiptStatusWrapper"), s(i, "class", "Amount"), s(h, "class", S = `Status ${/*txnStatus*/
|
611
611
|
o[21]}`), s(P, "class", "TxnId"), s(q, "class", "PaymentMethod"), s(Q, "class", "PaymentTime"), s(n, "class", "ReceiptDetailsWrapper"), s(X, "class", "ReceiptButtonsWrapper"), s(n1, "class", "DefaultButton");
|
612
612
|
},
|
613
613
|
m(p, v) {
|
614
|
-
|
614
|
+
g(p, e, v), j && j.m(e, null), g(p, t, v), g(p, n, v), c(n, i), c(i, l), c(l, d), c(i, m), c(i, b), c(b, y), c(n, _), c(n, h), c(h, C), c(C, H), c(h, A), c(h, W), c(W, Z), c(n, B), c(n, P), c(P, z), c(z, i1), c(P, o1), c(P, M), c(M, C1), c(n, D), c(n, q), c(q, c1), c(c1, e1), c(q, u1), c(q, a1), c(a1, t1), c(n, k1), c(n, Q), c(Q, p1), c(p1, f1), c(Q, g1), c(Q, h1), c(h1, b1), g(p, m1, v), g(p, X, v), N && N.m(X, null), g(p, w1, v), g(p, n1, v), c(n1, y1), g(p, v1, v), Y && Y.m(p, v), g(p, l1, v), K && K.m(p, v), g(p, r, v), I || (O = T1(
|
615
615
|
n1,
|
616
616
|
"click",
|
617
617
|
/*handleHomeButtonClick*/
|
@@ -619,41 +619,41 @@ function we(o) {
|
|
619
619
|
), I = !0);
|
620
620
|
},
|
621
621
|
p(p, v) {
|
622
|
-
|
622
|
+
U === (U = E(p)) && j ? j.p(p, v) : (j && j.d(1), j = U && U(p), j && (j.c(), j.m(e, null))), v[0] & /*$_*/
|
623
623
|
8388608 && a !== (a = /*$_*/
|
624
|
-
p[23]("amount") + "") &&
|
625
|
-
131072 &&
|
624
|
+
p[23]("amount") + "") && x(d, a), v[0] & /*amount*/
|
625
|
+
131072 && x(
|
626
626
|
y,
|
627
627
|
/*amount*/
|
628
628
|
p[17]
|
629
629
|
), v[0] & /*$_*/
|
630
630
|
8388608 && w !== (w = /*$_*/
|
631
|
-
p[23]("status") + "") &&
|
631
|
+
p[23]("status") + "") && x(H, w), v[0] & /*$_, txnStatus*/
|
632
632
|
10485760 && F !== (F = /*$_*/
|
633
633
|
p[23](`${/*txnStatus*/
|
634
|
-
p[21]}`) + "") &&
|
634
|
+
p[21]}`) + "") && x(Z, F), v[0] & /*txnStatus*/
|
635
635
|
2097152 && S !== (S = `Status ${/*txnStatus*/
|
636
636
|
p[21]}`) && s(h, "class", S), v[0] & /*$_*/
|
637
637
|
8388608 && $ !== ($ = /*$_*/
|
638
|
-
p[23]("transactionId") + "") &&
|
638
|
+
p[23]("transactionId") + "") && x(i1, $), v[0] & /*txnInfo*/
|
639
639
|
32768 && r1 !== (r1 = /*txnInfo*/
|
640
|
-
p[15].referenceId + "") &&
|
640
|
+
p[15].referenceId + "") && x(C1, r1), v[0] & /*$_*/
|
641
641
|
8388608 && V !== (V = /*$_*/
|
642
|
-
p[23]("payemntMethod") + "") &&
|
643
|
-
512 &&
|
642
|
+
p[23]("payemntMethod") + "") && x(e1, V), v[0] & /*paymentmethod*/
|
643
|
+
512 && x(
|
644
644
|
t1,
|
645
645
|
/*paymentmethod*/
|
646
646
|
p[9]
|
647
647
|
), v[0] & /*$_*/
|
648
648
|
8388608 && J !== (J = /*$_*/
|
649
|
-
p[23]("paymentTime") + "") &&
|
649
|
+
p[23]("paymentTime") + "") && x(f1, J), v[0] & /*txnInfo*/
|
650
650
|
32768 && d1 !== (d1 = S1(
|
651
651
|
/*txnInfo*/
|
652
652
|
p[15].time
|
653
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") &&
|
653
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && x(b1, d1), /*displayedButtons*/
|
654
654
|
p[12].length > 0 ? N ? N.p(p, v) : (N = F1(p), N.c(), N.m(X, null)) : N && (N.d(1), N = null), v[0] & /*$_*/
|
655
655
|
8388608 && s1 !== (s1 = /*$_*/
|
656
|
-
p[23]("backHome") + "") &&
|
656
|
+
p[23]("backHome") + "") && x(y1, s1), v[0] & /*showverifications, displayVerifications*/
|
657
657
|
4194560 && (_1 = H1(
|
658
658
|
/*userAgent*/
|
659
659
|
p[24]
|
@@ -663,7 +663,7 @@ function we(o) {
|
|
663
663
|
p[16].length ? K ? K.p(p, v) : (K = j1(p), K.c(), K.m(r.parentNode, r)) : K && (K.d(1), K = null);
|
664
664
|
},
|
665
665
|
d(p) {
|
666
|
-
p && (
|
666
|
+
p && (f(e), f(t), f(n), f(m1), f(X), f(w1), f(n1), f(v1), f(l1), f(r)), j && j.d(), N && N.d(), Y && Y.d(p), K && K.d(p), I = !1, O();
|
667
667
|
}
|
668
668
|
};
|
669
669
|
}
|
@@ -684,20 +684,20 @@ function A1(o) {
|
|
684
684
|
let _ = y(o), h = _(o);
|
685
685
|
return {
|
686
686
|
c() {
|
687
|
-
e = u("div"), h.c(), t = T(), n = u("span"), l =
|
687
|
+
e = u("div"), h.c(), t = T(), n = u("span"), l = R(i), a = T(), d = u("span"), b = R(m), s(e, "slot", "icon"), s(n, "slot", "title"), s(n, "class", "CashierErrorTitle"), s(d, "slot", "text"), s(d, "class", "CashierErrorText");
|
688
688
|
},
|
689
689
|
m(C, w) {
|
690
|
-
|
690
|
+
g(C, e, w), h.m(e, null), g(C, t, w), g(C, n, w), c(n, l), g(C, a, w), g(C, d, w), c(d, b);
|
691
691
|
},
|
692
692
|
p(C, w) {
|
693
693
|
_ === (_ = y(C)) && h ? h.p(C, w) : (h.d(1), h = _(C), h && (h.c(), h.m(e, null))), w[0] & /*$_*/
|
694
694
|
8388608 && i !== (i = /*$_*/
|
695
|
-
C[23]("receipt.maintenance.title") + "") &&
|
695
|
+
C[23]("receipt.maintenance.title") + "") && x(l, i), w[0] & /*$_*/
|
696
696
|
8388608 && m !== (m = /*$_*/
|
697
|
-
C[23]("receipt.maintenance.text") + "") &&
|
697
|
+
C[23]("receipt.maintenance.text") + "") && x(b, m);
|
698
698
|
},
|
699
699
|
d(C) {
|
700
|
-
C && (
|
700
|
+
C && (f(e), f(t), f(n), f(a), f(d)), h.d();
|
701
701
|
}
|
702
702
|
};
|
703
703
|
}
|
@@ -708,11 +708,11 @@ function ye(o) {
|
|
708
708
|
e = u("div"), s(e, "class", "ImagePlaceholder Maintenance");
|
709
709
|
},
|
710
710
|
m(t, n) {
|
711
|
-
|
711
|
+
g(t, e, n);
|
712
712
|
},
|
713
713
|
p: x1,
|
714
714
|
d(t) {
|
715
|
-
t &&
|
715
|
+
t && f(e);
|
716
716
|
}
|
717
717
|
};
|
718
718
|
}
|
@@ -724,7 +724,7 @@ function ve(o) {
|
|
724
724
|
o[4]}/maintenance.svg`) || s(e, "src", t), s(e, "width", "300px"), s(e, "alt", "error");
|
725
725
|
},
|
726
726
|
m(n, i) {
|
727
|
-
|
727
|
+
g(n, e, i);
|
728
728
|
},
|
729
729
|
p(n, i) {
|
730
730
|
i[0] & /*assetsurl*/
|
@@ -732,7 +732,7 @@ function ve(o) {
|
|
732
732
|
n[4]}/maintenance.svg`) && s(e, "src", t);
|
733
733
|
},
|
734
734
|
d(n) {
|
735
|
-
n &&
|
735
|
+
n && f(e);
|
736
736
|
}
|
737
737
|
};
|
738
738
|
}
|
@@ -749,10 +749,10 @@ function _e(o) {
|
|
749
749
|
), W, F, Z;
|
750
750
|
return {
|
751
751
|
c() {
|
752
|
-
e =
|
752
|
+
e = G("svg"), t = G("circle"), n = G("rect"), i = G("path"), l = T(), a = u("div"), d = u("h3"), b = R(m), y = T(), _ = u("p"), C = R(h), w = T(), H = u("button"), W = R(A), s(t, "cx", "36"), s(t, "cy", "36"), s(t, "r", "36"), s(t, "fill", "#D14141"), s(t, "fill-opacity", "0.12"), s(n, "x", "19.335"), s(n, "y", "19"), s(n, "width", "33.33"), s(n, "height", "33.33"), s(n, "rx", "16.665"), s(n, "fill", "#FF3636"), s(i, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), s(i, "stroke", "black"), s(i, "stroke-width", "2.09016"), s(i, "stroke-linecap", "round"), s(i, "stroke-linejoin", "round"), s(e, "width", "72"), s(e, "height", "72"), s(e, "viewBox", "0 0 72 72"), s(e, "fill", "none"), s(e, "xmlns", "http://www.w3.org/2000/svg"), s(a, "class", "ReceiptStatusText"), s(H, "class", "TryAgainBtn");
|
753
753
|
},
|
754
754
|
m(S, B) {
|
755
|
-
|
755
|
+
g(S, e, B), c(e, t), c(e, n), c(e, i), g(S, l, B), g(S, a, B), c(a, d), c(d, b), c(a, y), c(a, _), c(_, C), g(S, w, B), g(S, H, B), c(H, W), F || (Z = T1(
|
756
756
|
H,
|
757
757
|
"click",
|
758
758
|
/*handleTryAgainBtn*/
|
@@ -762,14 +762,14 @@ function _e(o) {
|
|
762
762
|
p(S, B) {
|
763
763
|
B[0] & /*$_*/
|
764
764
|
8388608 && m !== (m = /*$_*/
|
765
|
-
S[23]("deposit.fail.title") + "") &&
|
765
|
+
S[23]("deposit.fail.title") + "") && x(b, m), B[0] & /*$_*/
|
766
766
|
8388608 && h !== (h = /*$_*/
|
767
|
-
S[23]("deposit.fail.text") + "") &&
|
767
|
+
S[23]("deposit.fail.text") + "") && x(C, h), B[0] & /*$_*/
|
768
768
|
8388608 && A !== (A = /*$_*/
|
769
|
-
S[23]("tryAgainButton") + "") &&
|
769
|
+
S[23]("tryAgainButton") + "") && x(W, A);
|
770
770
|
},
|
771
771
|
d(S) {
|
772
|
-
S && (
|
772
|
+
S && (f(e), f(l), f(a), f(w), f(H)), F = !1, Z();
|
773
773
|
}
|
774
774
|
};
|
775
775
|
}
|
@@ -786,10 +786,10 @@ function Te(o) {
|
|
786
786
|
), Z, S, B;
|
787
787
|
return {
|
788
788
|
c() {
|
789
|
-
e =
|
789
|
+
e = G("svg"), t = G("circle"), n = G("rect"), i = G("path"), l = G("path"), a = G("path"), d = T(), m = u("div"), b = u("h3"), _ = R(y), h = T(), C = u("p"), H = R(w), A = T(), W = u("button"), Z = R(F), s(t, "cx", "36"), s(t, "cy", "36"), s(t, "r", "36"), s(t, "fill", "#D19A41"), s(t, "fill-opacity", "0.12"), s(n, "x", "19"), s(n, "y", "19"), s(n, "width", "34"), s(n, "height", "34"), s(n, "rx", "17"), s(n, "fill", "#FF6836"), s(i, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), s(i, "stroke", "black"), s(i, "stroke-width", "1.5"), s(i, "stroke-linecap", "round"), s(i, "stroke-linejoin", "round"), s(l, "d", "M36 32V36L38 38"), s(l, "stroke", "black"), s(l, "stroke-width", "1.5"), s(l, "stroke-linecap", "round"), s(l, "stroke-linejoin", "round"), s(a, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), s(a, "stroke", "black"), s(a, "stroke-width", "1.5"), s(a, "stroke-linecap", "round"), s(a, "stroke-linejoin", "round"), s(e, "width", "72"), s(e, "height", "72"), s(e, "viewBox", "0 0 72 72"), s(e, "fill", "none"), s(e, "xmlns", "http://www.w3.org/2000/svg"), s(m, "class", "ReceiptStatusText"), s(W, "class", "RefreshButton");
|
790
790
|
},
|
791
791
|
m(P, z) {
|
792
|
-
|
792
|
+
g(P, e, z), c(e, t), c(e, n), c(e, i), c(e, l), c(e, a), g(P, d, z), g(P, m, z), c(m, b), c(b, _), c(m, h), c(m, C), c(C, H), g(P, A, z), g(P, W, z), c(W, Z), S || (B = T1(
|
793
793
|
W,
|
794
794
|
"click",
|
795
795
|
/*getPaymentInfo*/
|
@@ -799,14 +799,14 @@ function Te(o) {
|
|
799
799
|
p(P, z) {
|
800
800
|
z[0] & /*$_*/
|
801
801
|
8388608 && y !== (y = /*$_*/
|
802
|
-
P[23]("deposit.pending.title") + "") &&
|
802
|
+
P[23]("deposit.pending.title") + "") && x(_, y), z[0] & /*$_*/
|
803
803
|
8388608 && w !== (w = /*$_*/
|
804
|
-
P[23]("deposit.pending.text") + "") &&
|
804
|
+
P[23]("deposit.pending.text") + "") && x(H, w), z[0] & /*$_*/
|
805
805
|
8388608 && F !== (F = /*$_*/
|
806
|
-
P[23]("refreshButton") + "") &&
|
806
|
+
P[23]("refreshButton") + "") && x(Z, F);
|
807
807
|
},
|
808
808
|
d(P) {
|
809
|
-
P && (
|
809
|
+
P && (f(e), f(d), f(m), f(A), f(W)), S = !1, B();
|
810
810
|
}
|
811
811
|
};
|
812
812
|
}
|
@@ -820,20 +820,20 @@ function ke(o) {
|
|
820
820
|
), h;
|
821
821
|
return {
|
822
822
|
c() {
|
823
|
-
e =
|
823
|
+
e = G("svg"), t = G("circle"), n = G("path"), i = T(), l = u("div"), a = u("h3"), m = R(d), b = T(), y = u("p"), h = R(_), s(t, "cx", "36"), s(t, "cy", "36"), s(t, "r", "36"), s(t, "fill", "#F9C408"), s(t, "fill-opacity", "0.12"), s(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), s(n, "fill", "#F9C408"), s(e, "width", "72"), s(e, "height", "72"), s(e, "viewBox", "0 0 72 72"), s(e, "fill", "none"), s(e, "xmlns", "http://www.w3.org/2000/svg"), s(l, "class", "ReceiptStatusText");
|
824
824
|
},
|
825
825
|
m(C, w) {
|
826
|
-
|
826
|
+
g(C, e, w), c(e, t), c(e, n), g(C, i, w), g(C, l, w), c(l, a), c(a, m), c(l, b), c(l, y), c(y, h);
|
827
827
|
},
|
828
828
|
p(C, w) {
|
829
829
|
w[0] & /*$_*/
|
830
830
|
8388608 && d !== (d = /*$_*/
|
831
|
-
C[23]("deposit.success.title") + "") &&
|
831
|
+
C[23]("deposit.success.title") + "") && x(m, d), w[0] & /*$_*/
|
832
832
|
8388608 && _ !== (_ = /*$_*/
|
833
|
-
C[23]("deposit.success.text") + "") &&
|
833
|
+
C[23]("deposit.success.text") + "") && x(h, _);
|
834
834
|
},
|
835
835
|
d(C) {
|
836
|
-
C && (
|
836
|
+
C && (f(e), f(i), f(l));
|
837
837
|
}
|
838
838
|
};
|
839
839
|
}
|
@@ -853,7 +853,7 @@ function F1(o) {
|
|
853
853
|
m(i, l) {
|
854
854
|
for (let a = 0; a < n.length; a += 1)
|
855
855
|
n[a] && n[a].m(i, l);
|
856
|
-
|
856
|
+
g(i, e, l);
|
857
857
|
},
|
858
858
|
p(i, l) {
|
859
859
|
if (l[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
@@ -873,7 +873,7 @@ function F1(o) {
|
|
873
873
|
}
|
874
874
|
},
|
875
875
|
d(i) {
|
876
|
-
i &&
|
876
|
+
i && f(e), Y1(n, i);
|
877
877
|
}
|
878
878
|
};
|
879
879
|
}
|
@@ -895,11 +895,11 @@ function Z1(o) {
|
|
895
895
|
}
|
896
896
|
return {
|
897
897
|
c() {
|
898
|
-
e = u("button"), t = u("div"), i = T(), a =
|
898
|
+
e = u("button"), t = u("div"), i = T(), a = R(l), d = T(), s(t, "class", "CustomButtonSvg"), s(e, "class", m = `${/*btn*/
|
899
899
|
o[62].type} GoToButton`);
|
900
900
|
},
|
901
901
|
m(h, C) {
|
902
|
-
|
902
|
+
g(h, e, C), c(e, t), t.innerHTML = n, c(e, i), c(e, a), c(e, d), b || (y = T1(e, "click", _), b = !0);
|
903
903
|
},
|
904
904
|
p(h, C) {
|
905
905
|
o = h, C[0] & /*displayedButtons*/
|
@@ -907,12 +907,12 @@ function Z1(o) {
|
|
907
907
|
o[62].type}`] ?? "") + "") && (t.innerHTML = n), C[0] & /*$_, displayedButtons*/
|
908
908
|
8392704 && l !== (l = /*$_*/
|
909
909
|
o[23](`${/*btn*/
|
910
|
-
o[62].translationKey}`) + "") &&
|
910
|
+
o[62].translationKey}`) + "") && x(a, l), C[0] & /*displayedButtons*/
|
911
911
|
4096 && m !== (m = `${/*btn*/
|
912
912
|
o[62].type} GoToButton`) && s(e, "class", m);
|
913
913
|
},
|
914
914
|
d(h) {
|
915
|
-
h &&
|
915
|
+
h && f(e), b = !1, y();
|
916
916
|
}
|
917
917
|
};
|
918
918
|
}
|
@@ -958,7 +958,7 @@ function V1(o) {
|
|
958
958
|
);
|
959
959
|
},
|
960
960
|
m(t, n) {
|
961
|
-
|
961
|
+
g(t, e, n);
|
962
962
|
},
|
963
963
|
p(t, n) {
|
964
964
|
n[0] & /*lang*/
|
@@ -1006,7 +1006,7 @@ function V1(o) {
|
|
1006
1006
|
);
|
1007
1007
|
},
|
1008
1008
|
d(t) {
|
1009
|
-
t &&
|
1009
|
+
t && f(e);
|
1010
1010
|
}
|
1011
1011
|
};
|
1012
1012
|
}
|
@@ -1026,7 +1026,7 @@ function j1(o) {
|
|
1026
1026
|
m(i, l) {
|
1027
1027
|
for (let a = 0; a < n.length; a += 1)
|
1028
1028
|
n[a] && n[a].m(i, l);
|
1029
|
-
|
1029
|
+
g(i, e, l);
|
1030
1030
|
},
|
1031
1031
|
p(i, l) {
|
1032
1032
|
if (l[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
@@ -1046,7 +1046,7 @@ function j1(o) {
|
|
1046
1046
|
}
|
1047
1047
|
},
|
1048
1048
|
d(i) {
|
1049
|
-
i &&
|
1049
|
+
i && f(e), Y1(n, i);
|
1050
1050
|
}
|
1051
1051
|
};
|
1052
1052
|
}
|
@@ -1057,18 +1057,18 @@ function xe(o) {
|
|
1057
1057
|
), n;
|
1058
1058
|
return {
|
1059
1059
|
c() {
|
1060
|
-
e = u("span"), n =
|
1060
|
+
e = u("span"), n = R(t), s(e, "class", "Label");
|
1061
1061
|
},
|
1062
1062
|
m(i, l) {
|
1063
|
-
|
1063
|
+
g(i, e, l), c(e, n);
|
1064
1064
|
},
|
1065
1065
|
p(i, l) {
|
1066
1066
|
l[0] & /*receiptFields*/
|
1067
1067
|
65536 && t !== (t = /*field*/
|
1068
|
-
i[59].defaultValue + "") &&
|
1068
|
+
i[59].defaultValue + "") && x(n, t);
|
1069
1069
|
},
|
1070
1070
|
d(i) {
|
1071
|
-
i &&
|
1071
|
+
i && f(e);
|
1072
1072
|
}
|
1073
1073
|
};
|
1074
1074
|
}
|
@@ -1082,23 +1082,23 @@ function Re(o) {
|
|
1082
1082
|
), d, m;
|
1083
1083
|
return {
|
1084
1084
|
c() {
|
1085
|
-
e = u("span"), n =
|
1085
|
+
e = u("span"), n = R(t), i = T(), l = u("a"), d = R(a), s(l, "href", m = /*field*/
|
1086
1086
|
o[59].defaultValue), s(l, "target", "_blank"), s(l, "rel", "noopener noreferrer");
|
1087
1087
|
},
|
1088
1088
|
m(b, y) {
|
1089
|
-
|
1089
|
+
g(b, e, y), c(e, n), c(e, i), c(e, l), c(l, d);
|
1090
1090
|
},
|
1091
1091
|
p(b, y) {
|
1092
1092
|
y[0] & /*receiptFields*/
|
1093
1093
|
65536 && t !== (t = /*field*/
|
1094
|
-
b[59].description + "") &&
|
1094
|
+
b[59].description + "") && x(n, t), y[0] & /*receiptFields*/
|
1095
1095
|
65536 && a !== (a = /*field*/
|
1096
|
-
b[59].name + "") &&
|
1096
|
+
b[59].name + "") && x(d, a), y[0] & /*receiptFields*/
|
1097
1097
|
65536 && m !== (m = /*field*/
|
1098
1098
|
b[59].defaultValue) && s(l, "href", m);
|
1099
1099
|
},
|
1100
1100
|
d(b) {
|
1101
|
-
b &&
|
1101
|
+
b && f(e);
|
1102
1102
|
}
|
1103
1103
|
};
|
1104
1104
|
}
|
@@ -1111,7 +1111,7 @@ function Me(o) {
|
|
1111
1111
|
o[59].description), s(e, "alt", "");
|
1112
1112
|
},
|
1113
1113
|
m(i, l) {
|
1114
|
-
|
1114
|
+
g(i, e, l);
|
1115
1115
|
},
|
1116
1116
|
p(i, l) {
|
1117
1117
|
l[0] & /*receiptFields*/
|
@@ -1121,7 +1121,7 @@ function Me(o) {
|
|
1121
1121
|
i[59].description) && s(e, "title", n);
|
1122
1122
|
},
|
1123
1123
|
d(i) {
|
1124
|
-
i &&
|
1124
|
+
i && f(e);
|
1125
1125
|
}
|
1126
1126
|
};
|
1127
1127
|
}
|
@@ -1135,7 +1135,7 @@ function Se(o) {
|
|
1135
1135
|
e = u("span");
|
1136
1136
|
},
|
1137
1137
|
m(n, i) {
|
1138
|
-
|
1138
|
+
g(n, e, i), e.innerHTML = t;
|
1139
1139
|
},
|
1140
1140
|
p(n, i) {
|
1141
1141
|
i[0] & /*receiptFields*/
|
@@ -1143,7 +1143,7 @@ function Se(o) {
|
|
1143
1143
|
n[59].defaultValue + "") && (e.innerHTML = t);
|
1144
1144
|
},
|
1145
1145
|
d(n) {
|
1146
|
-
n &&
|
1146
|
+
n && f(e);
|
1147
1147
|
}
|
1148
1148
|
};
|
1149
1149
|
}
|
@@ -1163,18 +1163,18 @@ function Pe(o) {
|
|
1163
1163
|
}
|
1164
1164
|
return {
|
1165
1165
|
c() {
|
1166
|
-
e = u("div"), t = u("div"), i =
|
1166
|
+
e = u("div"), t = u("div"), i = R(n), s(e, "class", "QRCode");
|
1167
1167
|
},
|
1168
1168
|
m(m, b) {
|
1169
|
-
|
1169
|
+
g(m, e, b), c(e, t), c(t, i), o[41](t), l || (a = T1(e, "click", d), l = !0);
|
1170
1170
|
},
|
1171
1171
|
p(m, b) {
|
1172
1172
|
o = m, b[0] & /*receiptFields*/
|
1173
1173
|
65536 && n !== (n = /*field*/
|
1174
|
-
o[59].defaultValue + "") &&
|
1174
|
+
o[59].defaultValue + "") && x(i, n);
|
1175
1175
|
},
|
1176
1176
|
d(m) {
|
1177
|
-
m &&
|
1177
|
+
m && f(e), o[41](null), l = !1, a();
|
1178
1178
|
}
|
1179
1179
|
};
|
1180
1180
|
}
|
@@ -1205,13 +1205,13 @@ function N1(o) {
|
|
1205
1205
|
e = u("div"), l.c(), t = T(), s(e, "class", "ReceiptField");
|
1206
1206
|
},
|
1207
1207
|
m(a, d) {
|
1208
|
-
|
1208
|
+
g(a, e, d), l.m(e, null), c(e, t);
|
1209
1209
|
},
|
1210
1210
|
p(a, d) {
|
1211
1211
|
i === (i = n(a)) && l ? l.p(a, d) : (l.d(1), l = i(a), l && (l.c(), l.m(e, t)));
|
1212
1212
|
},
|
1213
1213
|
d(a) {
|
1214
|
-
a &&
|
1214
|
+
a && f(e), l.d();
|
1215
1215
|
}
|
1216
1216
|
};
|
1217
1217
|
}
|
@@ -1229,7 +1229,7 @@ function De(o) {
|
|
1229
1229
|
e = u("div"), i.c(), s(e, "class", "CashierReceiptPageWidget");
|
1230
1230
|
},
|
1231
1231
|
m(l, a) {
|
1232
|
-
|
1232
|
+
g(l, e, a), i.m(e, null), o[43](e);
|
1233
1233
|
},
|
1234
1234
|
p(l, a) {
|
1235
1235
|
n === (n = t(l)) && i ? i.p(l, a) : (i.d(1), i = n(l), i && (i.c(), i.m(e, null)));
|
@@ -1237,14 +1237,14 @@ function De(o) {
|
|
1237
1237
|
i: x1,
|
1238
1238
|
o: x1,
|
1239
1239
|
d(l) {
|
1240
|
-
l &&
|
1240
|
+
l && f(e), i.d(), o[43](null);
|
1241
1241
|
}
|
1242
1242
|
};
|
1243
1243
|
}
|
1244
1244
|
let Le = "_blank";
|
1245
1245
|
function He(o, e, t) {
|
1246
1246
|
let n;
|
1247
|
-
|
1247
|
+
$1(o, ae, (r) => t(23, n = r)), S1.extend(se);
|
1248
1248
|
let { endpoint: i } = e, { session: l } = e, { lang: a = "en" } = e, { local: d = "en-US" } = e, { showerrors: m = "true" } = e, { translationurl: b } = e, { assetsurl: y = "" } = e, { customerid: _ } = e, { transactionid: h } = e, { currencydecimals: C = "2" } = e, { clientstyling: w = "" } = e, { clientstylingurl: H = "" } = e, { mbsource: A = "" } = e, { showverifications: W = "true" } = e, { paymentmethod: F = "" } = e, Z = !1, { customsucceessbuttons: S = "" } = e, { custompendingbuttons: B = "" } = e, { customfailedbuttons: P = "" } = e, { currencysymbol: z = "" } = e, { currencyposition: $ = "" } = e, i1 = [];
|
1249
1249
|
var o1;
|
1250
1250
|
(function(r) {
|
@@ -1254,9 +1254,9 @@ function He(o, e, t) {
|
|
1254
1254
|
(function(r) {
|
1255
1255
|
r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
|
1256
1256
|
})(M || (M = {}));
|
1257
|
-
const r1 = (r, [I,
|
1257
|
+
const r1 = (r, [I, O]) => [
|
1258
1258
|
...r,
|
1259
|
-
...Array.isArray(I) ? [...I.map((E) => [E,
|
1259
|
+
...Array.isArray(I) ? [...I.map((E) => [E, O])] : [[I, O]]
|
1260
1260
|
], C1 = new Map([
|
1261
1261
|
[["Unknown", 0], M.Unknown],
|
1262
1262
|
[["Text", 1], M.Text],
|
@@ -1335,13 +1335,13 @@ function He(o, e, t) {
|
|
1335
1335
|
type: "CloseButton"
|
1336
1336
|
}
|
1337
1337
|
}, J = (r) => {
|
1338
|
-
t(12, i1 = []), r.split(",").forEach((
|
1339
|
-
p1[
|
1338
|
+
t(12, i1 = []), r.split(",").forEach((O) => {
|
1339
|
+
p1[O.trim()] && i1.push(p1[O.trim()]);
|
1340
1340
|
});
|
1341
1341
|
}, f1 = () => {
|
1342
1342
|
ce(a);
|
1343
1343
|
};
|
1344
|
-
|
1344
|
+
ee(() => (window.addEventListener("message", g1, !1), re(d, z, $, C), () => {
|
1345
1345
|
window.removeEventListener("message", g1);
|
1346
1346
|
}));
|
1347
1347
|
const g1 = (r) => {
|
@@ -1354,8 +1354,8 @@ function He(o, e, t) {
|
|
1354
1354
|
let r = b;
|
1355
1355
|
if (r)
|
1356
1356
|
return fetch(r).then((I) => I.json()).then((I) => {
|
1357
|
-
Object.keys(I).forEach((
|
1358
|
-
B1(
|
1357
|
+
Object.keys(I).forEach((O) => {
|
1358
|
+
B1(O, I[O]);
|
1359
1359
|
});
|
1360
1360
|
}).catch(() => {
|
1361
1361
|
});
|
@@ -1377,12 +1377,12 @@ function He(o, e, t) {
|
|
1377
1377
|
}, m1 = () => {
|
1378
1378
|
const r = new URL(`${i}/v1/player/${_}/payment/GetPaymentInfo`), I = new Headers();
|
1379
1379
|
I.append("accept", "application/json"), I.append("Content-Type", "application/json"), I.append("X-SessionId", `${l}`), I.append("X-Client-Request-Timestamp", S1.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
1380
|
-
const
|
1380
|
+
const O = {
|
1381
1381
|
method: "POST",
|
1382
1382
|
headers: I,
|
1383
1383
|
body: JSON.stringify({ TransactionCode: h })
|
1384
1384
|
};
|
1385
|
-
t(11, Z = !0), fetch(r,
|
1385
|
+
t(11, Z = !0), fetch(r, O).then((E) => E.json()).then((E) => {
|
1386
1386
|
if (E.ResponseCode !== o1.Success) {
|
1387
1387
|
t(19, u1 = E.ResponseCode), t(20, a1 = m.toLowerCase() === "false" || !m), b1();
|
1388
1388
|
return;
|
@@ -1395,13 +1395,13 @@ function He(o, e, t) {
|
|
1395
1395
|
amount: E.Transaction.Amounts[0]?.Amount,
|
1396
1396
|
currency: E.Transaction.Amounts[0]?.Currency,
|
1397
1397
|
time: E.Transaction.Status.Created
|
1398
|
-
}), t(16, q = E.ReceiptInfo && E.ReceiptInfo.ReceiptFields ? E.ReceiptInfo.ReceiptFields.map((
|
1399
|
-
type: C1.get(
|
1400
|
-
name:
|
1401
|
-
description:
|
1402
|
-
defaultValue:
|
1403
|
-
useCopyButton:
|
1404
|
-
usePrintButton:
|
1398
|
+
}), t(16, q = E.ReceiptInfo && E.ReceiptInfo.ReceiptFields ? E.ReceiptInfo.ReceiptFields.map((U) => ({
|
1399
|
+
type: C1.get(U.Type),
|
1400
|
+
name: U.Name,
|
1401
|
+
description: U.Description,
|
1402
|
+
defaultValue: U.DefaultValue,
|
1403
|
+
useCopyButton: U.UseCopyButton,
|
1404
|
+
usePrintButton: U.UsePrintButton
|
1405
1405
|
})) : []), n(pe(D.status, D.type), { values: { errorText: D.message } }), t(17, c1 = le(Number(D.amount), D.currency)), D.status) {
|
1406
1406
|
case "Voided":
|
1407
1407
|
case "Success":
|
@@ -1479,7 +1479,7 @@ function He(o, e, t) {
|
|
1479
1479
|
3 && i && l && _ && h && m && m1(), o.$$.dirty[0] & /*lang*/
|
1480
1480
|
4 && a && f1(), o.$$.dirty[0] & /*lang, translationurl*/
|
1481
1481
|
12 && a && b && h1(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
1482
|
-
1088 && w && V &&
|
1482
|
+
1088 && w && V && te(V, w), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
1483
1483
|
1152 && H && V && ne(V, H), o.$$.dirty[0] & /*customStylingContainer*/
|
1484
1484
|
1024 | o.$$.dirty[1] & /*mbsource*/
|
1485
1485
|
8 && A && V && ie(V, `${A}.Style`);
|
@@ -1537,7 +1537,7 @@ class Be extends q1 {
|
|
1537
1537
|
e,
|
1538
1538
|
He,
|
1539
1539
|
De,
|
1540
|
-
|
1540
|
+
J1,
|
1541
1541
|
{
|
1542
1542
|
endpoint: 0,
|
1543
1543
|
session: 1,
|
@@ -1685,7 +1685,7 @@ class Be extends q1 {
|
|
1685
1685
|
this.$$set({ currencyposition: e }), L();
|
1686
1686
|
}
|
1687
1687
|
}
|
1688
|
-
|
1688
|
+
oe(Be, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);
|
1689
1689
|
export {
|
1690
1690
|
Be as default
|
1691
1691
|
};
|