@everymatrix/cashier-method-details 1.76.4 → 1.76.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-Ct47Rqvt.js → CashierError-CeoXgJAO.js} +19 -19
- package/components/{CashierError-DqG41odi.cjs → CashierError-DLBDWGpI.cjs} +3 -3
- package/components/{CashierError-BrL5CAOl.js → CashierError-DrjuKNzd.js} +19 -19
- package/components/{CashierMethodDetails-D01hFlpN.js → CashierMethodDetails-C_uV4BaK.js} +3154 -3424
- package/components/CashierMethodDetails-D8tjzbX7.cjs +100 -0
- package/components/{CashierMethodDetails-CbrOmOCe.js → CashierMethodDetails-iRO3sc_6.js} +3051 -3321
- package/components/CashierModal-BZybFnWL.cjs +1 -0
- package/components/CashierModal-CNTiW0ow.js +263 -0
- package/components/CashierModal-Dv_0c2re.js +263 -0
- package/components/{CashierNotifications-CcvLHszW.js → CashierNotifications-CqMYB5MP.js} +8 -8
- package/components/{CashierNotifications-Bg9zyIhP.js → CashierNotifications-D3DHnsJl.js} +9 -9
- package/components/{CashierNotifications-DOJFHpXL.cjs → CashierNotifications-DlIbcdOZ.cjs} +1 -1
- package/components/CashierReceiptPage-91MkEvas.cjs +1 -0
- package/components/{CashierReceiptPage-CEHlpRZd.js → CashierReceiptPage-DQd7DLdU.js} +100 -105
- package/components/{CashierReceiptPage-CstRy1Kd.js → CashierReceiptPage-Dr35cbXa.js} +101 -106
- package/components/{CashierSpinner-DCqiXAYk.cjs → CashierSpinner-BUcuwI5f.cjs} +1 -1
- package/components/{CashierSpinner-DT2gT_0p.js → CashierSpinner-BwaCXZX3.js} +4 -4
- package/components/{CashierSpinner-DO7iikrx.js → CashierSpinner-CtA3wnzQ.js} +4 -4
- 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/components/CashierMethodDetails-F_t0ClIg.cjs +0 -99
- package/components/CashierModal-DVQJ9P-j.cjs +0 -1
- package/components/CashierModal-IWswoSQa.js +0 -244
- package/components/CashierModal-TGUCkbyQ.js +0 -244
- package/components/CashierReceiptPage-BTrjEt7P.cjs +0 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { a as Ge, i as Ue, $ as qe, S as Qe, d as Ze, s as Xe, f as
|
2
|
-
import { d as be, u as ot, f as at, a as we, i as _e, b as lt } from "./CashierMethodDetails-
|
1
|
+
import { a as Ge, i as Ue, $ as qe, S as Qe, d as Ze, s as Xe, f as y, e as Je, n as Z, j as d, k as m, p as h, r as u, t as Fe, u as $e, B as he, v as p, y as B, l as C, q as H, z as A, x as ie, m as $, D as F, E as He, F as Q, M as et, N as tt, O as nt, b as it, L as st } from "./CashierError-CeoXgJAO.js";
|
2
|
+
import { d as be, u as ot, f as at, a as we, i as _e, b as lt } from "./CashierMethodDetails-iRO3sc_6.js";
|
3
3
|
if (typeof window < "u") {
|
4
4
|
let s = function(e) {
|
5
5
|
return function(...t) {
|
@@ -12,7 +12,7 @@ if (typeof window < "u") {
|
|
12
12
|
}
|
13
13
|
};
|
14
14
|
};
|
15
|
-
customElements.define = s(customElements.define), import("./CashierSpinner-
|
15
|
+
customElements.define = s(customElements.define), import("./CashierSpinner-CtA3wnzQ.js").then(({ default: e }) => {
|
16
16
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
17
17
|
});
|
18
18
|
}
|
@@ -93,7 +93,6 @@ const Te = {
|
|
93
93
|
goToMerchantHomePage: "Merchant's Home Website",
|
94
94
|
goToSports: "Go To Sports",
|
95
95
|
goToCasino: "Visit Casino",
|
96
|
-
setDepositLimit: "Set A Deposit Limit",
|
97
96
|
externalLink: "External Link",
|
98
97
|
uploadDocuments: "Upload Documents",
|
99
98
|
goToHomepage: "Go To Homepage"
|
@@ -158,7 +157,6 @@ const Te = {
|
|
158
157
|
goToMerchantHomePage: "Satıcının Ana Web Sitesi",
|
159
158
|
goToSports: "Spora Git",
|
160
159
|
goToCasino: "Casinoya Git",
|
161
|
-
setDepositLimit: "Para Yatırma Limiti Belirle",
|
162
160
|
externalLink: "Harici Bağlantı",
|
163
161
|
uploadDocuments: "Belge Yükle",
|
164
162
|
goToHomepage: "Ana Sayfaya Git",
|
@@ -204,7 +202,6 @@ const Te = {
|
|
204
202
|
goToMerchantHomePage: "Site Principal do Comerciante",
|
205
203
|
goToSports: "Ir para Esportes",
|
206
204
|
goToCasino: "Visitar Cassino",
|
207
|
-
setDepositLimit: "Definir Limite de Depósito",
|
208
205
|
externalLink: "Link Externo",
|
209
206
|
uploadDocuments: "Enviar Documentos",
|
210
207
|
goToHomepage: "Ir para Página Inicial",
|
@@ -250,7 +247,6 @@ const Te = {
|
|
250
247
|
goToMerchantHomePage: "Laman Web Utama Peniaga",
|
251
248
|
goToSports: "Pergi ke Sukan",
|
252
249
|
goToCasino: "Lawati Kasino",
|
253
|
-
setDepositLimit: "Tetapkan Had Deposit",
|
254
250
|
externalLink: "Pautan Luaran",
|
255
251
|
uploadDocuments: "Muat Naik Dokumen",
|
256
252
|
goToHomepage: "Pergi ke Laman Utama",
|
@@ -324,7 +320,6 @@ const Te = {
|
|
324
320
|
close: "Close",
|
325
321
|
goToSports: "Go To Sports",
|
326
322
|
goToCasino: "Visit Casino",
|
327
|
-
setDepositLimit: "Set A Deposit Limit",
|
328
323
|
externalLink: "External Link",
|
329
324
|
uploadDocuments: "Upload Documents",
|
330
325
|
goToHomepage: "Go To Homepage",
|
@@ -368,11 +363,11 @@ const Te = {
|
|
368
363
|
function pt(s) {
|
369
364
|
Je(s, "svelte-131vpua", ".CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);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}.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}.DefaultButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.DefaultButton:hover{background:var(--emw--color-hover, #71B11B)}.DefaultButton:active{background:var(--emw--color-active, #5C950F)}.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)}");
|
370
365
|
}
|
371
|
-
function
|
366
|
+
function ye(s, e, t) {
|
372
367
|
const n = s.slice();
|
373
368
|
return n[58] = e[t], n;
|
374
369
|
}
|
375
|
-
function
|
370
|
+
function ke(s, e, t) {
|
376
371
|
const n = s.slice();
|
377
372
|
return n[61] = e[t], n[63] = t, n;
|
378
373
|
}
|
@@ -536,58 +531,58 @@ function wt(s) {
|
|
536
531
|
};
|
537
532
|
}
|
538
533
|
function _t(s) {
|
539
|
-
let e, t, n, i, a, l, g, w, _, T, M,
|
534
|
+
let e, t, n, i, a, l, g, w, _, T, M, k, b, v, G, z, Y = _e(
|
540
535
|
/*userAgent*/
|
541
536
|
s[28]
|
542
537
|
) && /*showverifications*/
|
543
538
|
s[10] && /*displayVerifications*/
|
544
|
-
s[26], W, N, V,
|
539
|
+
s[26], W, N, V, S = (
|
545
540
|
/*showcontactbutton*/
|
546
541
|
s[4] && /*showcontactbutton*/
|
547
542
|
s[4] !== "false" && Pe(s)
|
548
|
-
),
|
543
|
+
), L = (
|
549
544
|
/*showclosebutton*/
|
550
545
|
s[3] && /*showclosebutton*/
|
551
|
-
s[3] !== "false" &&
|
546
|
+
s[3] !== "false" && Se(s)
|
552
547
|
);
|
553
548
|
function U(r, c) {
|
554
549
|
return (
|
555
550
|
/*assetsurl*/
|
556
|
-
r[6] ?
|
551
|
+
r[6] ? kt : yt
|
557
552
|
);
|
558
553
|
}
|
559
|
-
let K = U(s),
|
554
|
+
let K = U(s), I = K(s), R = (
|
560
555
|
/*txnInfo*/
|
561
|
-
s[16].referenceId &&
|
556
|
+
s[16].referenceId && Le(s)
|
562
557
|
), P = Y && Re(s), f = (
|
563
558
|
/*receiptFields*/
|
564
|
-
s[17].length &&
|
565
|
-
),
|
559
|
+
s[17].length && Ee(s)
|
560
|
+
), E = (
|
566
561
|
/*displayedButtons*/
|
567
562
|
s[13].length > 0 && xe(s)
|
568
563
|
);
|
569
564
|
return {
|
570
565
|
c() {
|
571
|
-
e = h("div"),
|
566
|
+
e = h("div"), S && S.c(), t = H(), L && L.c(), n = H(), i = h("div"), I.c(), a = H(), l = h("div"), g = h("h2"), w = A(
|
572
567
|
/*title*/
|
573
568
|
s[19]
|
574
|
-
), _ =
|
569
|
+
), _ = H(), T = h("div"), M = A(
|
575
570
|
/*subTitle*/
|
576
571
|
s[18]
|
577
|
-
),
|
572
|
+
), k = H(), b = h("div"), v = A(
|
578
573
|
/*text*/
|
579
574
|
s[20]
|
580
|
-
), G =
|
575
|
+
), G = H(), R && R.c(), z = H(), P && P.c(), W = H(), f && f.c(), N = H(), E && E.c(), V = ie(), u(e, "class", "HeaderButtonContainer"), u(g, "class", "Title"), u(T, "class", "SubTitle"), u(l, "class", "TitleWrapper"), u(i, "class", "ReceiptWrapper"), u(b, "class", "Text");
|
581
576
|
},
|
582
577
|
m(r, c) {
|
583
|
-
m(r, e, c),
|
578
|
+
m(r, e, c), S && S.m(e, null), C(e, t), L && L.m(e, null), m(r, n, c), m(r, i, c), I.m(i, null), C(i, a), C(i, l), C(l, g), C(g, w), C(l, _), C(l, T), C(T, M), m(r, k, c), m(r, b, c), C(b, v), m(r, G, c), R && R.m(r, c), m(r, z, c), P && P.m(r, c), m(r, W, c), f && f.m(r, c), m(r, N, c), E && E.m(r, c), m(r, V, c);
|
584
579
|
},
|
585
580
|
p(r, c) {
|
586
581
|
/*showcontactbutton*/
|
587
582
|
r[4] && /*showcontactbutton*/
|
588
|
-
r[4] !== "false" ?
|
583
|
+
r[4] !== "false" ? S ? S.p(r, c) : (S = Pe(r), S.c(), S.m(e, t)) : S && (S.d(1), S = null), /*showclosebutton*/
|
589
584
|
r[3] && /*showclosebutton*/
|
590
|
-
r[3] !== "false" ?
|
585
|
+
r[3] !== "false" ? L ? L.p(r, c) : (L = Se(r), L.c(), L.m(e, null)) : L && (L.d(1), L = null), K === (K = U(r)) && I ? I.p(r, c) : (I.d(1), I = K(r), I && (I.c(), I.m(i, a))), c[0] & /*title*/
|
591
586
|
524288 && B(
|
592
587
|
w,
|
593
588
|
/*title*/
|
@@ -603,18 +598,18 @@ function _t(s) {
|
|
603
598
|
/*text*/
|
604
599
|
r[20]
|
605
600
|
), /*txnInfo*/
|
606
|
-
r[16].referenceId ? R ? R.p(r, c) : (R =
|
601
|
+
r[16].referenceId ? R ? R.p(r, c) : (R = Le(r), R.c(), R.m(z.parentNode, z)) : R && (R.d(1), R = null), c[0] & /*showverifications, displayVerifications*/
|
607
602
|
67109888 && (Y = _e(
|
608
603
|
/*userAgent*/
|
609
604
|
r[28]
|
610
605
|
) && /*showverifications*/
|
611
606
|
r[10] && /*displayVerifications*/
|
612
607
|
r[26]), Y ? P ? P.p(r, c) : (P = Re(r), P.c(), P.m(W.parentNode, W)) : P && (P.d(1), P = null), /*receiptFields*/
|
613
|
-
r[17].length ? f ? f.p(r, c) : (f =
|
614
|
-
r[13].length > 0 ?
|
608
|
+
r[17].length ? f ? f.p(r, c) : (f = Ee(r), f.c(), f.m(N.parentNode, N)) : f && (f.d(1), f = null), /*displayedButtons*/
|
609
|
+
r[13].length > 0 ? E ? E.p(r, c) : (E = xe(r), E.c(), E.m(V.parentNode, V)) : E && (E.d(1), E = null);
|
615
610
|
},
|
616
611
|
d(r) {
|
617
|
-
r && (d(e), d(n), d(i), d(
|
612
|
+
r && (d(e), d(n), d(i), d(k), d(b), d(G), d(z), d(W), d(N), d(V)), S && S.d(), L && L.d(), I.d(), R && R.d(r), P && P.d(r), f && f.d(r), E && E.d(r);
|
618
613
|
}
|
619
614
|
};
|
620
615
|
}
|
@@ -632,23 +627,23 @@ function ve(s) {
|
|
632
627
|
b[6] ? Tt : Ct
|
633
628
|
);
|
634
629
|
}
|
635
|
-
let M = T(s),
|
630
|
+
let M = T(s), k = M(s);
|
636
631
|
return {
|
637
632
|
c() {
|
638
|
-
e = h("div"),
|
633
|
+
e = h("div"), k.c(), t = H(), n = h("span"), a = A(i), l = H(), g = h("span"), _ = A(w), u(e, "slot", "icon"), u(n, "slot", "title"), u(n, "class", "CashierErrorTitle"), u(g, "slot", "text"), u(g, "class", "CashierErrorText");
|
639
634
|
},
|
640
635
|
m(b, v) {
|
641
|
-
m(b, e, v),
|
636
|
+
m(b, e, v), k.m(e, null), m(b, t, v), m(b, n, v), C(n, a), m(b, l, v), m(b, g, v), C(g, _);
|
642
637
|
},
|
643
638
|
p(b, v) {
|
644
|
-
M === (M = T(b)) &&
|
639
|
+
M === (M = T(b)) && k ? k.p(b, v) : (k.d(1), k = M(b), k && (k.c(), k.m(e, null))), v[0] & /*$_*/
|
645
640
|
134217728 && i !== (i = /*$_*/
|
646
641
|
b[27]("receipt.maintenance.title") + "") && B(a, i), v[0] & /*$_*/
|
647
642
|
134217728 && w !== (w = /*$_*/
|
648
643
|
b[27]("receipt.maintenance.text") + "") && B(_, w);
|
649
644
|
},
|
650
645
|
d(b) {
|
651
|
-
b && (d(e), d(t), d(n), d(l), d(g)),
|
646
|
+
b && (d(e), d(t), d(n), d(l), d(g)), k.d();
|
652
647
|
}
|
653
648
|
};
|
654
649
|
}
|
@@ -672,7 +667,7 @@ function Tt(s) {
|
|
672
667
|
return {
|
673
668
|
c() {
|
674
669
|
e = h("img"), Q(e.src, t = `${/*assetsurl*/
|
675
|
-
s[6]}/maintenance.
|
670
|
+
s[6]}/maintenance.svg`) || u(e, "src", t), u(e, "width", "300px"), u(e, "alt", "error");
|
676
671
|
},
|
677
672
|
m(n, i) {
|
678
673
|
m(n, e, i);
|
@@ -680,7 +675,7 @@ function Tt(s) {
|
|
680
675
|
p(n, i) {
|
681
676
|
i[0] & /*assetsurl*/
|
682
677
|
64 && !Q(e.src, t = `${/*assetsurl*/
|
683
|
-
n[6]}/maintenance.
|
678
|
+
n[6]}/maintenance.svg`) && u(e, "src", t);
|
684
679
|
},
|
685
680
|
d(n) {
|
686
681
|
n && d(e);
|
@@ -707,7 +702,7 @@ function Pe(s) {
|
|
707
702
|
}
|
708
703
|
};
|
709
704
|
}
|
710
|
-
function
|
705
|
+
function Se(s) {
|
711
706
|
let e, t, n;
|
712
707
|
return {
|
713
708
|
c() {
|
@@ -727,7 +722,7 @@ function Le(s) {
|
|
727
722
|
}
|
728
723
|
};
|
729
724
|
}
|
730
|
-
function
|
725
|
+
function yt(s) {
|
731
726
|
let e, t;
|
732
727
|
return {
|
733
728
|
c() {
|
@@ -747,7 +742,7 @@ function kt(s) {
|
|
747
742
|
}
|
748
743
|
};
|
749
744
|
}
|
750
|
-
function
|
745
|
+
function kt(s) {
|
751
746
|
let e, t;
|
752
747
|
return {
|
753
748
|
c() {
|
@@ -767,7 +762,7 @@ function yt(s) {
|
|
767
762
|
}
|
768
763
|
};
|
769
764
|
}
|
770
|
-
function
|
765
|
+
function Le(s) {
|
771
766
|
let e, t = (
|
772
767
|
/*$_*/
|
773
768
|
s[27]("reference", {
|
@@ -893,13 +888,13 @@ function Re(s) {
|
|
893
888
|
}
|
894
889
|
};
|
895
890
|
}
|
896
|
-
function
|
891
|
+
function Ee(s) {
|
897
892
|
let e, t = F(
|
898
893
|
/*receiptFields*/
|
899
894
|
s[17]
|
900
895
|
), n = [];
|
901
896
|
for (let i = 0; i < t.length; i += 1)
|
902
|
-
n[i] =
|
897
|
+
n[i] = De(ke(s, t, i));
|
903
898
|
return {
|
904
899
|
c() {
|
905
900
|
for (let i = 0; i < n.length; i += 1)
|
@@ -921,8 +916,8 @@ function De(s) {
|
|
921
916
|
);
|
922
917
|
let l;
|
923
918
|
for (l = 0; l < t.length; l += 1) {
|
924
|
-
const g =
|
925
|
-
n[l] ? n[l].p(g, a) : (n[l] =
|
919
|
+
const g = ke(i, t, l);
|
920
|
+
n[l] ? n[l].p(g, a) : (n[l] = De(g), n[l].c(), n[l].m(e.parentNode, e));
|
926
921
|
}
|
927
922
|
for (; l < n.length; l += 1)
|
928
923
|
n[l].d(1);
|
@@ -930,7 +925,7 @@ function De(s) {
|
|
930
925
|
}
|
931
926
|
},
|
932
927
|
d(i) {
|
933
|
-
i && d(e),
|
928
|
+
i && d(e), He(n, i);
|
934
929
|
}
|
935
930
|
};
|
936
931
|
}
|
@@ -966,7 +961,7 @@ function Pt(s) {
|
|
966
961
|
), g, w;
|
967
962
|
return {
|
968
963
|
c() {
|
969
|
-
e = h("span"), n = A(t), i =
|
964
|
+
e = h("span"), n = A(t), i = H(), a = h("a"), g = A(l), u(a, "href", w = /*field*/
|
970
965
|
s[61].defaultValue), u(a, "target", "_blank"), u(a, "rel", "noopener noreferrer");
|
971
966
|
},
|
972
967
|
m(_, T) {
|
@@ -986,7 +981,7 @@ function Pt(s) {
|
|
986
981
|
}
|
987
982
|
};
|
988
983
|
}
|
989
|
-
function
|
984
|
+
function St(s) {
|
990
985
|
let e, t, n;
|
991
986
|
return {
|
992
987
|
c() {
|
@@ -1009,7 +1004,7 @@ function Lt(s) {
|
|
1009
1004
|
}
|
1010
1005
|
};
|
1011
1006
|
}
|
1012
|
-
function
|
1007
|
+
function Lt(s) {
|
1013
1008
|
let e, t = (
|
1014
1009
|
/*field*/
|
1015
1010
|
s[61].defaultValue + ""
|
@@ -1062,7 +1057,7 @@ function Rt(s) {
|
|
1062
1057
|
}
|
1063
1058
|
};
|
1064
1059
|
}
|
1065
|
-
function
|
1060
|
+
function De(s) {
|
1066
1061
|
let e, t;
|
1067
1062
|
function n(l, g) {
|
1068
1063
|
return (
|
@@ -1071,10 +1066,10 @@ function Ee(s) {
|
|
1071
1066
|
l[15].QRCode ? Rt : (
|
1072
1067
|
/*field*/
|
1073
1068
|
l[61].type === /*FieldTypes*/
|
1074
|
-
l[15].Html ?
|
1069
|
+
l[15].Html ? Lt : (
|
1075
1070
|
/*field*/
|
1076
1071
|
l[61].type === /*FieldTypes*/
|
1077
|
-
l[15].Image ?
|
1072
|
+
l[15].Image ? St : (
|
1078
1073
|
/*field*/
|
1079
1074
|
l[61].type === /*FieldTypes*/
|
1080
1075
|
l[15].Link ? Pt : vt
|
@@ -1086,7 +1081,7 @@ function Ee(s) {
|
|
1086
1081
|
let i = n(s), a = i(s);
|
1087
1082
|
return {
|
1088
1083
|
c() {
|
1089
|
-
e = h("div"), a.c(), t =
|
1084
|
+
e = h("div"), a.c(), t = H(), u(e, "class", "ReceiptField");
|
1090
1085
|
},
|
1091
1086
|
m(l, g) {
|
1092
1087
|
m(l, e, g), a.m(e, null), C(e, t);
|
@@ -1105,7 +1100,7 @@ function xe(s) {
|
|
1105
1100
|
s[13]
|
1106
1101
|
), n = [];
|
1107
1102
|
for (let i = 0; i < t.length; i += 1)
|
1108
|
-
n[i] =
|
1103
|
+
n[i] = Ie(ye(s, t, i));
|
1109
1104
|
return {
|
1110
1105
|
c() {
|
1111
1106
|
for (let i = 0; i < n.length; i += 1)
|
@@ -1127,8 +1122,8 @@ function xe(s) {
|
|
1127
1122
|
);
|
1128
1123
|
let l;
|
1129
1124
|
for (l = 0; l < t.length; l += 1) {
|
1130
|
-
const g =
|
1131
|
-
n[l] ? n[l].p(g, a) : (n[l] =
|
1125
|
+
const g = ye(i, t, l);
|
1126
|
+
n[l] ? n[l].p(g, a) : (n[l] = Ie(g), n[l].c(), n[l].m(e.parentNode, e));
|
1132
1127
|
}
|
1133
1128
|
for (; l < n.length; l += 1)
|
1134
1129
|
n[l].d(1);
|
@@ -1136,11 +1131,11 @@ function xe(s) {
|
|
1136
1131
|
}
|
1137
1132
|
},
|
1138
1133
|
d(i) {
|
1139
|
-
i && d(e),
|
1134
|
+
i && d(e), He(n, i);
|
1140
1135
|
}
|
1141
1136
|
};
|
1142
1137
|
}
|
1143
|
-
function
|
1138
|
+
function Ie(s) {
|
1144
1139
|
let e, t = (
|
1145
1140
|
/*$_*/
|
1146
1141
|
s[27](`${/*btn*/
|
@@ -1157,7 +1152,7 @@ function He(s) {
|
|
1157
1152
|
}
|
1158
1153
|
return {
|
1159
1154
|
c() {
|
1160
|
-
e = h("button"), n = A(t), i =
|
1155
|
+
e = h("button"), n = A(t), i = H(), u(e, "class", a = `${/*btn*/
|
1161
1156
|
s[58].cssClass} DefaultButton`);
|
1162
1157
|
},
|
1163
1158
|
m(_, T) {
|
@@ -1176,7 +1171,7 @@ function He(s) {
|
|
1176
1171
|
}
|
1177
1172
|
};
|
1178
1173
|
}
|
1179
|
-
function
|
1174
|
+
function Et(s) {
|
1180
1175
|
let e;
|
1181
1176
|
function t(a, l) {
|
1182
1177
|
return (
|
@@ -1202,11 +1197,11 @@ function Dt(s) {
|
|
1202
1197
|
}
|
1203
1198
|
};
|
1204
1199
|
}
|
1205
|
-
let
|
1200
|
+
let Dt = "_blank";
|
1206
1201
|
function xt(s, e, t) {
|
1207
1202
|
let n;
|
1208
1203
|
Fe(s, st, (o) => t(27, n = o)), be.extend(ot);
|
1209
|
-
let { endpoint: i } = e, { session: a } = e, { lang: l = "en" } = e, { local: g = "en-US" } = e, { showerrors: w = "true" } = e, { showclosebutton: _ = "false" } = e, { showcontactbutton: T = "false" } = e, { translationurl: M } = e, { assetsurl:
|
1204
|
+
let { endpoint: i } = e, { session: a } = e, { lang: l = "en" } = e, { local: g = "en-US" } = e, { showerrors: w = "true" } = e, { showclosebutton: _ = "false" } = e, { showcontactbutton: T = "false" } = e, { translationurl: M } = e, { assetsurl: k = "" } = e, { customerid: b } = e, { transactionid: v } = e, { currencydecimals: G = "2" } = e, { clientstyling: z = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: W = "" } = e, { showverifications: N = "true" } = e, V = !1, { customsucceessbuttons: S = "" } = e, { custompendingbuttons: L = "" } = e, { customfailedbuttons: U = "" } = e, { currencysymbol: K = "" } = e, { currencyposition: I = "" } = e, R = [];
|
1210
1205
|
var P;
|
1211
1206
|
(function(o) {
|
1212
1207
|
o.Success = "Success", o.Maintenance = "Maintenance";
|
@@ -1215,9 +1210,9 @@ function xt(s, e, t) {
|
|
1215
1210
|
(function(o) {
|
1216
1211
|
o.Unknown = "Unknown", o.Text = "Text", o.Boolean = "Boolean", o.Number = "Number", o.Money = "Money", o.DateTime = "DateTime", o.Lookup = "Lookup", o.IpAddress = "IpAddress", o.Date = "Date", o.Time = "Time", o.LookupCollection = "LookupCollection", o.Hidden = "Hidden", o.Label = "Label", o.Password = "Password", o.Link = "Link", o.Image = "Image", o.Html = "Html", o.QRCode = "QR";
|
1217
1212
|
})(f || (f = {}));
|
1218
|
-
const
|
1213
|
+
const E = (o, [D, j]) => [
|
1219
1214
|
...o,
|
1220
|
-
...Array.isArray(
|
1215
|
+
...Array.isArray(D) ? [...D.map((x) => [x, j])] : [[D, j]]
|
1221
1216
|
], r = new Map([
|
1222
1217
|
[["Unknown", 0], f.Unknown],
|
1223
1218
|
[["Text", 1], f.Text],
|
@@ -1237,7 +1232,7 @@ function xt(s, e, t) {
|
|
1237
1232
|
[["Image", 15], f.Image],
|
1238
1233
|
[["Html", 19], f.Html],
|
1239
1234
|
[["QR", 20], f.QRCode]
|
1240
|
-
].reduce(
|
1235
|
+
].reduce(E, []));
|
1241
1236
|
let c, oe = [], ae, le, re, ce, O, X = [], te, ne, ue = "", Me = window.navigator.userAgent, fe = !1;
|
1242
1237
|
const de = {
|
1243
1238
|
promotions: {
|
@@ -1292,7 +1287,7 @@ function xt(s, e, t) {
|
|
1292
1287
|
}, Be = () => {
|
1293
1288
|
rt(l);
|
1294
1289
|
};
|
1295
|
-
$e(() => (window.addEventListener("message", me, !1), lt(g, K,
|
1290
|
+
$e(() => (window.addEventListener("message", me, !1), lt(g, K, I, G), () => {
|
1296
1291
|
window.removeEventListener("message", me);
|
1297
1292
|
}));
|
1298
1293
|
const me = (o) => {
|
@@ -1304,9 +1299,9 @@ function xt(s, e, t) {
|
|
1304
1299
|
}, Ae = () => {
|
1305
1300
|
let o = M;
|
1306
1301
|
if (o)
|
1307
|
-
return fetch(o).then((
|
1308
|
-
Object.keys(
|
1309
|
-
Ce(j,
|
1302
|
+
return fetch(o).then((D) => D.json()).then((D) => {
|
1303
|
+
Object.keys(D).forEach((j) => {
|
1304
|
+
Ce(j, D[j]);
|
1310
1305
|
});
|
1311
1306
|
}).catch(() => {
|
1312
1307
|
});
|
@@ -1328,11 +1323,11 @@ function xt(s, e, t) {
|
|
1328
1323
|
window.location.href
|
1329
1324
|
);
|
1330
1325
|
}, Ne = () => {
|
1331
|
-
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`),
|
1332
|
-
|
1326
|
+
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`), D = new Headers();
|
1327
|
+
D.append("accept", "application/json"), D.append("Content-Type", "application/json"), D.append("X-SessionId", `${a}`), D.append("X-Client-Request-Timestamp", be.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
1333
1328
|
const j = {
|
1334
1329
|
method: "POST",
|
1335
|
-
headers:
|
1330
|
+
headers: D,
|
1336
1331
|
body: JSON.stringify({ TransactionCode: v })
|
1337
1332
|
};
|
1338
1333
|
t(12, V = !0), fetch(o, j).then((x) => x.json()).then((x) => {
|
@@ -1361,7 +1356,7 @@ function xt(s, e, t) {
|
|
1361
1356
|
})), t(18, ae = n(ft(c.status, c.type))), t(20, re = n(dt(c.status, c.type), { values: { errorText: c.message } })), c.status) {
|
1362
1357
|
case "Voided":
|
1363
1358
|
case "Success":
|
1364
|
-
J(
|
1359
|
+
J(S || "sports, close"), we(
|
1365
1360
|
c.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
1366
1361
|
{
|
1367
1362
|
userID: b,
|
@@ -1377,7 +1372,7 @@ function xt(s, e, t) {
|
|
1377
1372
|
case "PendingApprovalStage2":
|
1378
1373
|
case "PendingApprovalStage3":
|
1379
1374
|
case "PendingOfflineNotification":
|
1380
|
-
J(
|
1375
|
+
J(L || "home, close");
|
1381
1376
|
break;
|
1382
1377
|
case "Rejected":
|
1383
1378
|
case "Cancelled":
|
@@ -1395,7 +1390,7 @@ function xt(s, e, t) {
|
|
1395
1390
|
default:
|
1396
1391
|
J("close");
|
1397
1392
|
}
|
1398
|
-
|
1393
|
+
k ? t(21, ce = ct(k, c.status)) : t(25, ue = mt(c.status));
|
1399
1394
|
}).finally(() => t(12, V = !1));
|
1400
1395
|
}, ge = (o) => {
|
1401
1396
|
window.postMessage({ type: o }, window.location.href);
|
@@ -1404,7 +1399,7 @@ function xt(s, e, t) {
|
|
1404
1399
|
{
|
1405
1400
|
type: "NavigateTo",
|
1406
1401
|
path: o,
|
1407
|
-
target:
|
1402
|
+
target: Dt,
|
1408
1403
|
externalLink: !1
|
1409
1404
|
},
|
1410
1405
|
window.location.href
|
@@ -1424,7 +1419,7 @@ function xt(s, e, t) {
|
|
1424
1419
|
});
|
1425
1420
|
}
|
1426
1421
|
return s.$$set = (o) => {
|
1427
|
-
"endpoint" in o && t(0, i = o.endpoint), "session" in o && t(1, a = o.session), "lang" in o && t(2, l = o.lang), "local" in o && t(33, g = o.local), "showerrors" in o && t(34, w = o.showerrors), "showclosebutton" in o && t(3, _ = o.showclosebutton), "showcontactbutton" in o && t(4, T = o.showcontactbutton), "translationurl" in o && t(5, M = o.translationurl), "assetsurl" in o && t(6,
|
1422
|
+
"endpoint" in o && t(0, i = o.endpoint), "session" in o && t(1, a = o.session), "lang" in o && t(2, l = o.lang), "local" in o && t(33, g = o.local), "showerrors" in o && t(34, w = o.showerrors), "showclosebutton" in o && t(3, _ = o.showclosebutton), "showcontactbutton" in o && t(4, T = o.showcontactbutton), "translationurl" in o && t(5, M = o.translationurl), "assetsurl" in o && t(6, k = o.assetsurl), "customerid" in o && t(7, b = o.customerid), "transactionid" in o && t(35, v = o.transactionid), "currencydecimals" in o && t(36, G = o.currencydecimals), "clientstyling" in o && t(8, z = o.clientstyling), "clientstylingurl" in o && t(9, Y = o.clientstylingurl), "mbsource" in o && t(37, W = o.mbsource), "showverifications" in o && t(10, N = o.showverifications), "customsucceessbuttons" in o && t(38, S = o.customsucceessbuttons), "custompendingbuttons" in o && t(39, L = o.custompendingbuttons), "customfailedbuttons" in o && t(40, U = o.customfailedbuttons), "currencysymbol" in o && t(41, K = o.currencysymbol), "currencyposition" in o && t(42, I = o.currencyposition);
|
1428
1423
|
}, s.$$.update = () => {
|
1429
1424
|
s.$$.dirty[0] & /*endpoint, session, customerid*/
|
1430
1425
|
131 | s.$$.dirty[1] & /*transactionid, showerrors*/
|
@@ -1442,7 +1437,7 @@ function xt(s, e, t) {
|
|
1442
1437
|
_,
|
1443
1438
|
T,
|
1444
1439
|
M,
|
1445
|
-
|
1440
|
+
k,
|
1446
1441
|
b,
|
1447
1442
|
z,
|
1448
1443
|
Y,
|
@@ -1474,24 +1469,24 @@ function xt(s, e, t) {
|
|
1474
1469
|
v,
|
1475
1470
|
G,
|
1476
1471
|
W,
|
1477
|
-
L,
|
1478
1472
|
S,
|
1473
|
+
L,
|
1479
1474
|
U,
|
1480
1475
|
K,
|
1481
|
-
|
1476
|
+
I,
|
1482
1477
|
Ve,
|
1483
1478
|
Oe,
|
1484
1479
|
Ye,
|
1485
1480
|
Ke
|
1486
1481
|
];
|
1487
1482
|
}
|
1488
|
-
class
|
1483
|
+
class It extends Qe {
|
1489
1484
|
constructor(e) {
|
1490
1485
|
super(), Ze(
|
1491
1486
|
this,
|
1492
1487
|
e,
|
1493
1488
|
xt,
|
1494
|
-
|
1489
|
+
Et,
|
1495
1490
|
Xe,
|
1496
1491
|
{
|
1497
1492
|
endpoint: 0,
|
@@ -1524,130 +1519,130 @@ class Ht extends Qe {
|
|
1524
1519
|
return this.$$.ctx[0];
|
1525
1520
|
}
|
1526
1521
|
set endpoint(e) {
|
1527
|
-
this.$$set({ endpoint: e }),
|
1522
|
+
this.$$set({ endpoint: e }), y();
|
1528
1523
|
}
|
1529
1524
|
get session() {
|
1530
1525
|
return this.$$.ctx[1];
|
1531
1526
|
}
|
1532
1527
|
set session(e) {
|
1533
|
-
this.$$set({ session: e }),
|
1528
|
+
this.$$set({ session: e }), y();
|
1534
1529
|
}
|
1535
1530
|
get lang() {
|
1536
1531
|
return this.$$.ctx[2];
|
1537
1532
|
}
|
1538
1533
|
set lang(e) {
|
1539
|
-
this.$$set({ lang: e }),
|
1534
|
+
this.$$set({ lang: e }), y();
|
1540
1535
|
}
|
1541
1536
|
get local() {
|
1542
1537
|
return this.$$.ctx[33];
|
1543
1538
|
}
|
1544
1539
|
set local(e) {
|
1545
|
-
this.$$set({ local: e }),
|
1540
|
+
this.$$set({ local: e }), y();
|
1546
1541
|
}
|
1547
1542
|
get showerrors() {
|
1548
1543
|
return this.$$.ctx[34];
|
1549
1544
|
}
|
1550
1545
|
set showerrors(e) {
|
1551
|
-
this.$$set({ showerrors: e }),
|
1546
|
+
this.$$set({ showerrors: e }), y();
|
1552
1547
|
}
|
1553
1548
|
get showclosebutton() {
|
1554
1549
|
return this.$$.ctx[3];
|
1555
1550
|
}
|
1556
1551
|
set showclosebutton(e) {
|
1557
|
-
this.$$set({ showclosebutton: e }),
|
1552
|
+
this.$$set({ showclosebutton: e }), y();
|
1558
1553
|
}
|
1559
1554
|
get showcontactbutton() {
|
1560
1555
|
return this.$$.ctx[4];
|
1561
1556
|
}
|
1562
1557
|
set showcontactbutton(e) {
|
1563
|
-
this.$$set({ showcontactbutton: e }),
|
1558
|
+
this.$$set({ showcontactbutton: e }), y();
|
1564
1559
|
}
|
1565
1560
|
get translationurl() {
|
1566
1561
|
return this.$$.ctx[5];
|
1567
1562
|
}
|
1568
1563
|
set translationurl(e) {
|
1569
|
-
this.$$set({ translationurl: e }),
|
1564
|
+
this.$$set({ translationurl: e }), y();
|
1570
1565
|
}
|
1571
1566
|
get assetsurl() {
|
1572
1567
|
return this.$$.ctx[6];
|
1573
1568
|
}
|
1574
1569
|
set assetsurl(e) {
|
1575
|
-
this.$$set({ assetsurl: e }),
|
1570
|
+
this.$$set({ assetsurl: e }), y();
|
1576
1571
|
}
|
1577
1572
|
get customerid() {
|
1578
1573
|
return this.$$.ctx[7];
|
1579
1574
|
}
|
1580
1575
|
set customerid(e) {
|
1581
|
-
this.$$set({ customerid: e }),
|
1576
|
+
this.$$set({ customerid: e }), y();
|
1582
1577
|
}
|
1583
1578
|
get transactionid() {
|
1584
1579
|
return this.$$.ctx[35];
|
1585
1580
|
}
|
1586
1581
|
set transactionid(e) {
|
1587
|
-
this.$$set({ transactionid: e }),
|
1582
|
+
this.$$set({ transactionid: e }), y();
|
1588
1583
|
}
|
1589
1584
|
get currencydecimals() {
|
1590
1585
|
return this.$$.ctx[36];
|
1591
1586
|
}
|
1592
1587
|
set currencydecimals(e) {
|
1593
|
-
this.$$set({ currencydecimals: e }),
|
1588
|
+
this.$$set({ currencydecimals: e }), y();
|
1594
1589
|
}
|
1595
1590
|
get clientstyling() {
|
1596
1591
|
return this.$$.ctx[8];
|
1597
1592
|
}
|
1598
1593
|
set clientstyling(e) {
|
1599
|
-
this.$$set({ clientstyling: e }),
|
1594
|
+
this.$$set({ clientstyling: e }), y();
|
1600
1595
|
}
|
1601
1596
|
get clientstylingurl() {
|
1602
1597
|
return this.$$.ctx[9];
|
1603
1598
|
}
|
1604
1599
|
set clientstylingurl(e) {
|
1605
|
-
this.$$set({ clientstylingurl: e }),
|
1600
|
+
this.$$set({ clientstylingurl: e }), y();
|
1606
1601
|
}
|
1607
1602
|
get mbsource() {
|
1608
1603
|
return this.$$.ctx[37];
|
1609
1604
|
}
|
1610
1605
|
set mbsource(e) {
|
1611
|
-
this.$$set({ mbsource: e }),
|
1606
|
+
this.$$set({ mbsource: e }), y();
|
1612
1607
|
}
|
1613
1608
|
get showverifications() {
|
1614
1609
|
return this.$$.ctx[10];
|
1615
1610
|
}
|
1616
1611
|
set showverifications(e) {
|
1617
|
-
this.$$set({ showverifications: e }),
|
1612
|
+
this.$$set({ showverifications: e }), y();
|
1618
1613
|
}
|
1619
1614
|
get customsucceessbuttons() {
|
1620
1615
|
return this.$$.ctx[38];
|
1621
1616
|
}
|
1622
1617
|
set customsucceessbuttons(e) {
|
1623
|
-
this.$$set({ customsucceessbuttons: e }),
|
1618
|
+
this.$$set({ customsucceessbuttons: e }), y();
|
1624
1619
|
}
|
1625
1620
|
get custompendingbuttons() {
|
1626
1621
|
return this.$$.ctx[39];
|
1627
1622
|
}
|
1628
1623
|
set custompendingbuttons(e) {
|
1629
|
-
this.$$set({ custompendingbuttons: e }),
|
1624
|
+
this.$$set({ custompendingbuttons: e }), y();
|
1630
1625
|
}
|
1631
1626
|
get customfailedbuttons() {
|
1632
1627
|
return this.$$.ctx[40];
|
1633
1628
|
}
|
1634
1629
|
set customfailedbuttons(e) {
|
1635
|
-
this.$$set({ customfailedbuttons: e }),
|
1630
|
+
this.$$set({ customfailedbuttons: e }), y();
|
1636
1631
|
}
|
1637
1632
|
get currencysymbol() {
|
1638
1633
|
return this.$$.ctx[41];
|
1639
1634
|
}
|
1640
1635
|
set currencysymbol(e) {
|
1641
|
-
this.$$set({ currencysymbol: e }),
|
1636
|
+
this.$$set({ currencysymbol: e }), y();
|
1642
1637
|
}
|
1643
1638
|
get currencyposition() {
|
1644
1639
|
return this.$$.ctx[42];
|
1645
1640
|
}
|
1646
1641
|
set currencyposition(e) {
|
1647
|
-
this.$$set({ currencyposition: e }),
|
1642
|
+
this.$$set({ currencyposition: e }), y();
|
1648
1643
|
}
|
1649
1644
|
}
|
1650
|
-
it(
|
1645
|
+
it(It, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, showclosebutton: {}, showcontactbutton: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);
|
1651
1646
|
export {
|
1652
|
-
|
1647
|
+
It as default
|
1653
1648
|
};
|