@everymatrix/cashier-page 1.76.4 → 1.76.6
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-DsMwtzxf.cjs → CashierError-D4Ly9gf-.cjs} +4 -4
- package/components/{CashierError-Em-_czPe.js → CashierError-JGcUDe5q.js} +1 -1
- package/components/{CashierError-yvKyTaTC.js → CashierError-Pah8UQRU.js} +1 -1
- package/components/{CashierHeader-CuDEl1w1.cjs → CashierHeader-7TEoWnmr.cjs} +1 -1
- package/components/{CashierHeader-Dxi8Jtj4.js → CashierHeader-B-6229QC.js} +1 -1
- package/components/{CashierHeader-RLJk1gKN.js → CashierHeader-hmszYvmh.js} +1 -1
- package/components/{CashierIframeRedirect-N_09LMIf.js → CashierIframeRedirect-CeCwhuEC.js} +3 -3
- package/components/{CashierIframeRedirect-Cco7Gb7R.js → CashierIframeRedirect-D-UbBdvU.js} +3 -3
- package/components/{CashierIframeRedirect-CnJ84d_e.cjs → CashierIframeRedirect-DufSDCHc.cjs} +1 -1
- package/components/CashierMethodDetails-CCvGvImq.cjs +100 -0
- package/components/{CashierMethodDetails-I1ULEoTT.js → CashierMethodDetails-DIPaEztP.js} +3155 -3424
- package/components/{CashierMethodDetails-Dkt9M8SJ.js → CashierMethodDetails-DL0jGlq-.js} +3066 -3335
- package/components/{CashierMethodsList-B-8ChoCF.js → CashierMethodsList-Be1K_DSz.js} +2 -2
- package/components/{CashierMethodsList-v4GpQIuZ.cjs → CashierMethodsList-CmMjF5Qz.cjs} +1 -1
- package/components/{CashierMethodsList-Ws4f-d0D.js → CashierMethodsList-XVaC4KBw.js} +2 -2
- package/components/CashierModal-BD1P0e2M.js +268 -0
- package/components/CashierModal-CJQYy1vM.js +268 -0
- package/components/CashierModal-Du43ecUa.cjs +1 -0
- package/components/{CashierNotifications-BCh3NAch.cjs → CashierNotifications-4k9EHney.cjs} +1 -1
- package/components/{CashierNotifications-B2IF5AKx.js → CashierNotifications-BkEBfVRL.js} +1 -1
- package/components/{CashierNotifications-BpwG5KTj.js → CashierNotifications-Du3gv_p2.js} +1 -1
- package/components/CashierPage-CEg5bfhM.js +2555 -0
- package/components/CashierPage-D6O-bppA.js +2555 -0
- package/components/CashierPage-DY8eNfgA.cjs +1 -0
- package/components/{CashierReceiptPage-B5AHJwdZ.js → CashierReceiptPage-BHip2xEe.js} +93 -98
- package/components/CashierReceiptPage-BJa57cwt.cjs +1 -0
- package/components/{CashierReceiptPage-BagkO30m.js → CashierReceiptPage-qZhdiDvO.js} +87 -92
- package/components/{CashierSessionExpirationModal-NGNJ3oLH.cjs → CashierSessionExpirationModal--BscQIqY.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-BJo_prcQ.js → CashierSessionExpirationModal-OdxW_IRP.js} +4 -4
- package/components/{CashierSessionExpirationModal-D1JlHD-p.js → CashierSessionExpirationModal-lfnxQ2Xv.js} +4 -4
- package/components/{CashierSpinner-C22FDQ97.js → CashierSpinner-BhprtVru.js} +1 -1
- package/components/{CashierSpinner-BUwNkgvV.js → CashierSpinner-dlGI7cAT.js} +1 -1
- package/components/{CashierSpinner-B2gn5ROq.cjs → CashierSpinner-frLgxxaM.cjs} +1 -1
- package/components/{CashierTransactionHistory-CVIrofQA.js → CashierTransactionHistory-BmQFMz-n.js} +5 -5
- package/components/{CashierTransactionHistory-qeDvpFLP.js → CashierTransactionHistory-CzTqqXqb.js} +5 -5
- package/components/{CashierTransactionHistory-ox8r32fd.cjs → CashierTransactionHistory-D72Vabz1.cjs} +1 -1
- package/components/CashierVerifications-CNFGuUrd.js +604 -0
- package/components/CashierVerifications-CTurGxxs.js +608 -0
- package/components/CashierVerifications-lT3j_QiA.cjs +1 -0
- package/components/{TxnStatusIcon-nKCGcJ5M.js → TxnStatusIcon-C49SJ8zW.js} +1 -1
- package/components/{TxnStatusIcon-B04w0fo2.js → TxnStatusIcon-PU4w1Svj.js} +1 -1
- package/components/{TxnStatusIcon-DFkrUixr.cjs → TxnStatusIcon-TDn0xXca.cjs} +1 -1
- package/components/{TxnTypeIcons-CKT9qv8s.js → TxnTypeIcons-B4sAslci.js} +1 -1
- package/components/{TxnTypeIcons-B37wJ04B.cjs → TxnTypeIcons-Bf_EvSei.cjs} +1 -1
- package/components/{TxnTypeIcons-CpvqiIon.js → TxnTypeIcons-BoUx1A9V.js} +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/CashierMethodDetails-BdOa371S.cjs +0 -99
- package/components/CashierModal-BXxFqB-I.cjs +0 -1
- package/components/CashierModal-CASS0-KJ.js +0 -249
- package/components/CashierModal-ClAusfBV.js +0 -249
- package/components/CashierPage-BBV2mhMw.js +0 -2343
- package/components/CashierPage-CGrBSaaJ.cjs +0 -1
- package/components/CashierPage-DrzPS3IQ.js +0 -2343
- package/components/CashierReceiptPage-Bp8508qg.cjs +0 -1
- package/components/CashierVerifications-BI0KHSGz.js +0 -647
- package/components/CashierVerifications-BcD3FsVC.js +0 -643
- package/components/CashierVerifications-CoUPH9y3.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as k, c as tt, y as Z, e as d, k as m, m as h, o as u, p as nt, q as it, x as Ce, F as p, v as
|
|
2
|
-
import { d as Te, u as ct, a as ut, f as ft, b as ke, i as ye } from "./CashierMethodDetails-
|
|
3
|
-
import "./CashierIframeRedirect-
|
|
1
|
+
import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as k, c as tt, y as Z, e as d, k as m, m as h, o as u, p as nt, q as it, x as Ce, F as p, v as B, l as C, n as H, w as A, r as ie, z as $, O as F, P as ze, G as Q, A as st, B as ot, C as at, D as lt, E as rt } from "./CashierError-JGcUDe5q.js";
|
|
2
|
+
import { d as Te, u as ct, a as ut, f as ft, b as ke, i as ye } from "./CashierMethodDetails-DIPaEztP.js";
|
|
3
|
+
import "./CashierIframeRedirect-D-UbBdvU.js";
|
|
4
4
|
function ve(s, e) {
|
|
5
5
|
Ze(s, e);
|
|
6
6
|
}
|
|
@@ -78,7 +78,6 @@ const Pe = {
|
|
|
78
78
|
goToMerchantHomePage: "Merchant's Home Website",
|
|
79
79
|
goToSports: "Go To Sports",
|
|
80
80
|
goToCasino: "Visit Casino",
|
|
81
|
-
setDepositLimit: "Set A Deposit Limit",
|
|
82
81
|
externalLink: "External Link",
|
|
83
82
|
uploadDocuments: "Upload Documents",
|
|
84
83
|
goToHomepage: "Go To Homepage"
|
|
@@ -143,7 +142,6 @@ const Pe = {
|
|
|
143
142
|
goToMerchantHomePage: "Satıcının Ana Web Sitesi",
|
|
144
143
|
goToSports: "Spora Git",
|
|
145
144
|
goToCasino: "Casinoya Git",
|
|
146
|
-
setDepositLimit: "Para Yatırma Limiti Belirle",
|
|
147
145
|
externalLink: "Harici Bağlantı",
|
|
148
146
|
uploadDocuments: "Belge Yükle",
|
|
149
147
|
goToHomepage: "Ana Sayfaya Git",
|
|
@@ -189,7 +187,6 @@ const Pe = {
|
|
|
189
187
|
goToMerchantHomePage: "Site Principal do Comerciante",
|
|
190
188
|
goToSports: "Ir para Esportes",
|
|
191
189
|
goToCasino: "Visitar Cassino",
|
|
192
|
-
setDepositLimit: "Definir Limite de Depósito",
|
|
193
190
|
externalLink: "Link Externo",
|
|
194
191
|
uploadDocuments: "Enviar Documentos",
|
|
195
192
|
goToHomepage: "Ir para Página Inicial",
|
|
@@ -235,7 +232,6 @@ const Pe = {
|
|
|
235
232
|
goToMerchantHomePage: "Laman Web Utama Peniaga",
|
|
236
233
|
goToSports: "Pergi ke Sukan",
|
|
237
234
|
goToCasino: "Lawati Kasino",
|
|
238
|
-
setDepositLimit: "Tetapkan Had Deposit",
|
|
239
235
|
externalLink: "Pautan Luaran",
|
|
240
236
|
uploadDocuments: "Muat Naik Dokumen",
|
|
241
237
|
goToHomepage: "Pergi ke Laman Utama",
|
|
@@ -309,7 +305,6 @@ const Pe = {
|
|
|
309
305
|
close: "Close",
|
|
310
306
|
goToSports: "Go To Sports",
|
|
311
307
|
goToCasino: "Visit Casino",
|
|
312
|
-
setDepositLimit: "Set A Deposit Limit",
|
|
313
308
|
externalLink: "External Link",
|
|
314
309
|
uploadDocuments: "Upload Documents",
|
|
315
310
|
goToHomepage: "Go To Homepage",
|
|
@@ -353,11 +348,11 @@ const Pe = {
|
|
|
353
348
|
function _t(s) {
|
|
354
349
|
tt(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)}");
|
|
355
350
|
}
|
|
356
|
-
function
|
|
351
|
+
function Se(s, e, t) {
|
|
357
352
|
const n = s.slice();
|
|
358
353
|
return n[58] = e[t], n;
|
|
359
354
|
}
|
|
360
|
-
function
|
|
355
|
+
function Le(s, e, t) {
|
|
361
356
|
const n = s.slice();
|
|
362
357
|
return n[61] = e[t], n[63] = t, n;
|
|
363
358
|
}
|
|
@@ -521,69 +516,69 @@ function kt(s) {
|
|
|
521
516
|
};
|
|
522
517
|
}
|
|
523
518
|
function yt(s) {
|
|
524
|
-
let e, t, n, i, a, l, g, w, _, T,
|
|
519
|
+
let e, t, n, i, a, l, g, w, _, T, M, y, b, v, K, z, Y = ye(
|
|
525
520
|
/*userAgent*/
|
|
526
521
|
s[28]
|
|
527
522
|
) && /*showverifications*/
|
|
528
523
|
s[10] && /*displayVerifications*/
|
|
529
|
-
s[26], W, N, V,
|
|
524
|
+
s[26], W, N, V, S = (
|
|
530
525
|
/*showcontactbutton*/
|
|
531
526
|
s[4] && /*showcontactbutton*/
|
|
532
|
-
s[4] !== "false" &&
|
|
533
|
-
),
|
|
527
|
+
s[4] !== "false" && Ee(s)
|
|
528
|
+
), L = (
|
|
534
529
|
/*showclosebutton*/
|
|
535
530
|
s[3] && /*showclosebutton*/
|
|
536
|
-
s[3] !== "false" &&
|
|
531
|
+
s[3] !== "false" && De(s)
|
|
537
532
|
);
|
|
538
533
|
function U(r, c) {
|
|
539
534
|
return (
|
|
540
535
|
/*assetsurl*/
|
|
541
|
-
r[6] ?
|
|
536
|
+
r[6] ? Lt : St
|
|
542
537
|
);
|
|
543
538
|
}
|
|
544
|
-
let G = U(s),
|
|
539
|
+
let G = U(s), I = G(s), R = (
|
|
545
540
|
/*txnInfo*/
|
|
546
541
|
s[16].referenceId && xe(s)
|
|
547
|
-
), P = Y &&
|
|
542
|
+
), P = Y && Ie(s), f = (
|
|
548
543
|
/*receiptFields*/
|
|
549
|
-
s[17].length &&
|
|
550
|
-
),
|
|
544
|
+
s[17].length && He(s)
|
|
545
|
+
), D = (
|
|
551
546
|
/*displayedButtons*/
|
|
552
|
-
s[13].length > 0 &&
|
|
547
|
+
s[13].length > 0 && Be(s)
|
|
553
548
|
);
|
|
554
549
|
return {
|
|
555
550
|
c() {
|
|
556
|
-
e = h("div"),
|
|
551
|
+
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(
|
|
557
552
|
/*title*/
|
|
558
553
|
s[19]
|
|
559
|
-
), _ =
|
|
554
|
+
), _ = H(), T = h("div"), M = A(
|
|
560
555
|
/*subTitle*/
|
|
561
556
|
s[18]
|
|
562
|
-
), y =
|
|
557
|
+
), y = H(), b = h("div"), v = A(
|
|
563
558
|
/*text*/
|
|
564
559
|
s[20]
|
|
565
|
-
), K =
|
|
560
|
+
), K = H(), R && R.c(), z = H(), P && P.c(), W = H(), f && f.c(), N = H(), D && D.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");
|
|
566
561
|
},
|
|
567
562
|
m(r, c) {
|
|
568
|
-
m(r, e, c),
|
|
563
|
+
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, y, c), m(r, b, c), C(b, v), m(r, K, 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), D && D.m(r, c), m(r, V, c);
|
|
569
564
|
},
|
|
570
565
|
p(r, c) {
|
|
571
566
|
/*showcontactbutton*/
|
|
572
567
|
r[4] && /*showcontactbutton*/
|
|
573
|
-
r[4] !== "false" ?
|
|
568
|
+
r[4] !== "false" ? S ? S.p(r, c) : (S = Ee(r), S.c(), S.m(e, t)) : S && (S.d(1), S = null), /*showclosebutton*/
|
|
574
569
|
r[3] && /*showclosebutton*/
|
|
575
|
-
r[3] !== "false" ?
|
|
576
|
-
524288 &&
|
|
570
|
+
r[3] !== "false" ? L ? L.p(r, c) : (L = De(r), L.c(), L.m(e, null)) : L && (L.d(1), L = null), G === (G = U(r)) && I ? I.p(r, c) : (I.d(1), I = G(r), I && (I.c(), I.m(i, a))), c[0] & /*title*/
|
|
571
|
+
524288 && B(
|
|
577
572
|
w,
|
|
578
573
|
/*title*/
|
|
579
574
|
r[19]
|
|
580
575
|
), c[0] & /*subTitle*/
|
|
581
|
-
262144 &&
|
|
582
|
-
|
|
576
|
+
262144 && B(
|
|
577
|
+
M,
|
|
583
578
|
/*subTitle*/
|
|
584
579
|
r[18]
|
|
585
580
|
), c[0] & /*text*/
|
|
586
|
-
1048576 &&
|
|
581
|
+
1048576 && B(
|
|
587
582
|
v,
|
|
588
583
|
/*text*/
|
|
589
584
|
r[20]
|
|
@@ -594,12 +589,12 @@ function yt(s) {
|
|
|
594
589
|
r[28]
|
|
595
590
|
) && /*showverifications*/
|
|
596
591
|
r[10] && /*displayVerifications*/
|
|
597
|
-
r[26]), Y ? P ? P.p(r, c) : (P =
|
|
598
|
-
r[17].length ? f ? f.p(r, c) : (f =
|
|
599
|
-
r[13].length > 0 ?
|
|
592
|
+
r[26]), Y ? P ? P.p(r, c) : (P = Ie(r), P.c(), P.m(W.parentNode, W)) : P && (P.d(1), P = null), /*receiptFields*/
|
|
593
|
+
r[17].length ? f ? f.p(r, c) : (f = He(r), f.c(), f.m(N.parentNode, N)) : f && (f.d(1), f = null), /*displayedButtons*/
|
|
594
|
+
r[13].length > 0 ? D ? D.p(r, c) : (D = Be(r), D.c(), D.m(V.parentNode, V)) : D && (D.d(1), D = null);
|
|
600
595
|
},
|
|
601
596
|
d(r) {
|
|
602
|
-
r && (d(e), d(n), d(i), d(y), d(b), d(K), d(z), d(W), d(N), d(V)),
|
|
597
|
+
r && (d(e), d(n), d(i), d(y), d(b), d(K), 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), D && D.d(r);
|
|
603
598
|
}
|
|
604
599
|
};
|
|
605
600
|
}
|
|
@@ -617,20 +612,20 @@ function Re(s) {
|
|
|
617
612
|
b[6] ? Pt : vt
|
|
618
613
|
);
|
|
619
614
|
}
|
|
620
|
-
let
|
|
615
|
+
let M = T(s), y = M(s);
|
|
621
616
|
return {
|
|
622
617
|
c() {
|
|
623
|
-
e = h("div"), y.c(), t =
|
|
618
|
+
e = h("div"), y.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");
|
|
624
619
|
},
|
|
625
620
|
m(b, v) {
|
|
626
621
|
m(b, e, v), y.m(e, null), m(b, t, v), m(b, n, v), C(n, a), m(b, l, v), m(b, g, v), C(g, _);
|
|
627
622
|
},
|
|
628
623
|
p(b, v) {
|
|
629
|
-
|
|
624
|
+
M === (M = T(b)) && y ? y.p(b, v) : (y.d(1), y = M(b), y && (y.c(), y.m(e, null))), v[0] & /*$_*/
|
|
630
625
|
134217728 && i !== (i = /*$_*/
|
|
631
|
-
b[27]("receipt.maintenance.title") + "") &&
|
|
626
|
+
b[27]("receipt.maintenance.title") + "") && B(a, i), v[0] & /*$_*/
|
|
632
627
|
134217728 && w !== (w = /*$_*/
|
|
633
|
-
b[27]("receipt.maintenance.text") + "") &&
|
|
628
|
+
b[27]("receipt.maintenance.text") + "") && B(_, w);
|
|
634
629
|
},
|
|
635
630
|
d(b) {
|
|
636
631
|
b && (d(e), d(t), d(n), d(l), d(g)), y.d();
|
|
@@ -657,7 +652,7 @@ function Pt(s) {
|
|
|
657
652
|
return {
|
|
658
653
|
c() {
|
|
659
654
|
e = h("img"), Q(e.src, t = `${/*assetsurl*/
|
|
660
|
-
s[6]}/maintenance.
|
|
655
|
+
s[6]}/maintenance.svg`) || u(e, "src", t), u(e, "width", "300px"), u(e, "alt", "error");
|
|
661
656
|
},
|
|
662
657
|
m(n, i) {
|
|
663
658
|
m(n, e, i);
|
|
@@ -665,14 +660,14 @@ function Pt(s) {
|
|
|
665
660
|
p(n, i) {
|
|
666
661
|
i[0] & /*assetsurl*/
|
|
667
662
|
64 && !Q(e.src, t = `${/*assetsurl*/
|
|
668
|
-
n[6]}/maintenance.
|
|
663
|
+
n[6]}/maintenance.svg`) && u(e, "src", t);
|
|
669
664
|
},
|
|
670
665
|
d(n) {
|
|
671
666
|
n && d(e);
|
|
672
667
|
}
|
|
673
668
|
};
|
|
674
669
|
}
|
|
675
|
-
function
|
|
670
|
+
function Ee(s) {
|
|
676
671
|
let e, t, n;
|
|
677
672
|
return {
|
|
678
673
|
c() {
|
|
@@ -692,7 +687,7 @@ function De(s) {
|
|
|
692
687
|
}
|
|
693
688
|
};
|
|
694
689
|
}
|
|
695
|
-
function
|
|
690
|
+
function De(s) {
|
|
696
691
|
let e, t, n;
|
|
697
692
|
return {
|
|
698
693
|
c() {
|
|
@@ -712,7 +707,7 @@ function Ee(s) {
|
|
|
712
707
|
}
|
|
713
708
|
};
|
|
714
709
|
}
|
|
715
|
-
function
|
|
710
|
+
function St(s) {
|
|
716
711
|
let e, t;
|
|
717
712
|
return {
|
|
718
713
|
c() {
|
|
@@ -732,7 +727,7 @@ function Lt(s) {
|
|
|
732
727
|
}
|
|
733
728
|
};
|
|
734
729
|
}
|
|
735
|
-
function
|
|
730
|
+
function Lt(s) {
|
|
736
731
|
let e, t;
|
|
737
732
|
return {
|
|
738
733
|
c() {
|
|
@@ -777,14 +772,14 @@ function xe(s) {
|
|
|
777
772
|
/*txnInfo*/
|
|
778
773
|
i[16].referenceId
|
|
779
774
|
) }
|
|
780
|
-
}) + "") &&
|
|
775
|
+
}) + "") && B(n, t);
|
|
781
776
|
},
|
|
782
777
|
d(i) {
|
|
783
778
|
i && d(e);
|
|
784
779
|
}
|
|
785
780
|
};
|
|
786
781
|
}
|
|
787
|
-
function
|
|
782
|
+
function Ie(s) {
|
|
788
783
|
let e;
|
|
789
784
|
return {
|
|
790
785
|
c() {
|
|
@@ -878,13 +873,13 @@ function He(s) {
|
|
|
878
873
|
}
|
|
879
874
|
};
|
|
880
875
|
}
|
|
881
|
-
function
|
|
876
|
+
function He(s) {
|
|
882
877
|
let e, t = F(
|
|
883
878
|
/*receiptFields*/
|
|
884
879
|
s[17]
|
|
885
880
|
), n = [];
|
|
886
881
|
for (let i = 0; i < t.length; i += 1)
|
|
887
|
-
n[i] =
|
|
882
|
+
n[i] = Me(Le(s, t, i));
|
|
888
883
|
return {
|
|
889
884
|
c() {
|
|
890
885
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -906,8 +901,8 @@ function Ie(s) {
|
|
|
906
901
|
);
|
|
907
902
|
let l;
|
|
908
903
|
for (l = 0; l < t.length; l += 1) {
|
|
909
|
-
const g =
|
|
910
|
-
n[l] ? n[l].p(g, a) : (n[l] =
|
|
904
|
+
const g = Le(i, t, l);
|
|
905
|
+
n[l] ? n[l].p(g, a) : (n[l] = Me(g), n[l].c(), n[l].m(e.parentNode, e));
|
|
911
906
|
}
|
|
912
907
|
for (; l < n.length; l += 1)
|
|
913
908
|
n[l].d(1);
|
|
@@ -934,14 +929,14 @@ function Rt(s) {
|
|
|
934
929
|
p(i, a) {
|
|
935
930
|
a[0] & /*receiptFields*/
|
|
936
931
|
131072 && t !== (t = /*field*/
|
|
937
|
-
i[61].defaultValue + "") &&
|
|
932
|
+
i[61].defaultValue + "") && B(n, t);
|
|
938
933
|
},
|
|
939
934
|
d(i) {
|
|
940
935
|
i && d(e);
|
|
941
936
|
}
|
|
942
937
|
};
|
|
943
938
|
}
|
|
944
|
-
function
|
|
939
|
+
function Et(s) {
|
|
945
940
|
let e, t = (
|
|
946
941
|
/*field*/
|
|
947
942
|
s[61].description + ""
|
|
@@ -951,7 +946,7 @@ function Dt(s) {
|
|
|
951
946
|
), g, w;
|
|
952
947
|
return {
|
|
953
948
|
c() {
|
|
954
|
-
e = h("span"), n = A(t), i =
|
|
949
|
+
e = h("span"), n = A(t), i = H(), a = h("a"), g = A(l), u(a, "href", w = /*field*/
|
|
955
950
|
s[61].defaultValue), u(a, "target", "_blank"), u(a, "rel", "noopener noreferrer");
|
|
956
951
|
},
|
|
957
952
|
m(_, T) {
|
|
@@ -960,9 +955,9 @@ function Dt(s) {
|
|
|
960
955
|
p(_, T) {
|
|
961
956
|
T[0] & /*receiptFields*/
|
|
962
957
|
131072 && t !== (t = /*field*/
|
|
963
|
-
_[61].description + "") &&
|
|
958
|
+
_[61].description + "") && B(n, t), T[0] & /*receiptFields*/
|
|
964
959
|
131072 && l !== (l = /*field*/
|
|
965
|
-
_[61].name + "") &&
|
|
960
|
+
_[61].name + "") && B(g, l), T[0] & /*receiptFields*/
|
|
966
961
|
131072 && w !== (w = /*field*/
|
|
967
962
|
_[61].defaultValue) && u(a, "href", w);
|
|
968
963
|
},
|
|
@@ -971,7 +966,7 @@ function Dt(s) {
|
|
|
971
966
|
}
|
|
972
967
|
};
|
|
973
968
|
}
|
|
974
|
-
function
|
|
969
|
+
function Dt(s) {
|
|
975
970
|
let e, t, n;
|
|
976
971
|
return {
|
|
977
972
|
c() {
|
|
@@ -1016,7 +1011,7 @@ function xt(s) {
|
|
|
1016
1011
|
}
|
|
1017
1012
|
};
|
|
1018
1013
|
}
|
|
1019
|
-
function
|
|
1014
|
+
function It(s) {
|
|
1020
1015
|
let e, t, n = (
|
|
1021
1016
|
/*field*/
|
|
1022
1017
|
s[61].defaultValue + ""
|
|
@@ -1040,29 +1035,29 @@ function Ht(s) {
|
|
|
1040
1035
|
p(w, _) {
|
|
1041
1036
|
s = w, _[0] & /*receiptFields*/
|
|
1042
1037
|
131072 && n !== (n = /*field*/
|
|
1043
|
-
s[61].defaultValue + "") &&
|
|
1038
|
+
s[61].defaultValue + "") && B(i, n);
|
|
1044
1039
|
},
|
|
1045
1040
|
d(w) {
|
|
1046
1041
|
w && d(e), s[43](null), a = !1, l();
|
|
1047
1042
|
}
|
|
1048
1043
|
};
|
|
1049
1044
|
}
|
|
1050
|
-
function
|
|
1045
|
+
function Me(s) {
|
|
1051
1046
|
let e, t;
|
|
1052
1047
|
function n(l, g) {
|
|
1053
1048
|
return (
|
|
1054
1049
|
/*field*/
|
|
1055
1050
|
l[61].type === /*FieldTypes*/
|
|
1056
|
-
l[15].QRCode ?
|
|
1051
|
+
l[15].QRCode ? It : (
|
|
1057
1052
|
/*field*/
|
|
1058
1053
|
l[61].type === /*FieldTypes*/
|
|
1059
1054
|
l[15].Html ? xt : (
|
|
1060
1055
|
/*field*/
|
|
1061
1056
|
l[61].type === /*FieldTypes*/
|
|
1062
|
-
l[15].Image ?
|
|
1057
|
+
l[15].Image ? Dt : (
|
|
1063
1058
|
/*field*/
|
|
1064
1059
|
l[61].type === /*FieldTypes*/
|
|
1065
|
-
l[15].Link ?
|
|
1060
|
+
l[15].Link ? Et : Rt
|
|
1066
1061
|
)
|
|
1067
1062
|
)
|
|
1068
1063
|
)
|
|
@@ -1071,7 +1066,7 @@ function Be(s) {
|
|
|
1071
1066
|
let i = n(s), a = i(s);
|
|
1072
1067
|
return {
|
|
1073
1068
|
c() {
|
|
1074
|
-
e = h("div"), a.c(), t =
|
|
1069
|
+
e = h("div"), a.c(), t = H(), u(e, "class", "ReceiptField");
|
|
1075
1070
|
},
|
|
1076
1071
|
m(l, g) {
|
|
1077
1072
|
m(l, e, g), a.m(e, null), C(e, t);
|
|
@@ -1084,13 +1079,13 @@ function Be(s) {
|
|
|
1084
1079
|
}
|
|
1085
1080
|
};
|
|
1086
1081
|
}
|
|
1087
|
-
function
|
|
1082
|
+
function Be(s) {
|
|
1088
1083
|
let e, t = F(
|
|
1089
1084
|
/*displayedButtons*/
|
|
1090
1085
|
s[13]
|
|
1091
1086
|
), n = [];
|
|
1092
1087
|
for (let i = 0; i < t.length; i += 1)
|
|
1093
|
-
n[i] = Ae(
|
|
1088
|
+
n[i] = Ae(Se(s, t, i));
|
|
1094
1089
|
return {
|
|
1095
1090
|
c() {
|
|
1096
1091
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -1112,7 +1107,7 @@ function Me(s) {
|
|
|
1112
1107
|
);
|
|
1113
1108
|
let l;
|
|
1114
1109
|
for (l = 0; l < t.length; l += 1) {
|
|
1115
|
-
const g =
|
|
1110
|
+
const g = Se(i, t, l);
|
|
1116
1111
|
n[l] ? n[l].p(g, a) : (n[l] = Ae(g), n[l].c(), n[l].m(e.parentNode, e));
|
|
1117
1112
|
}
|
|
1118
1113
|
for (; l < n.length; l += 1)
|
|
@@ -1142,7 +1137,7 @@ function Ae(s) {
|
|
|
1142
1137
|
}
|
|
1143
1138
|
return {
|
|
1144
1139
|
c() {
|
|
1145
|
-
e = h("button"), n = A(t), i =
|
|
1140
|
+
e = h("button"), n = A(t), i = H(), u(e, "class", a = `${/*btn*/
|
|
1146
1141
|
s[58].cssClass} DefaultButton`);
|
|
1147
1142
|
},
|
|
1148
1143
|
m(_, T) {
|
|
@@ -1152,7 +1147,7 @@ function Ae(s) {
|
|
|
1152
1147
|
s = _, T[0] & /*$_, displayedButtons*/
|
|
1153
1148
|
134225920 && t !== (t = /*$_*/
|
|
1154
1149
|
s[27](`${/*btn*/
|
|
1155
|
-
s[58].translationKey}`) + "") &&
|
|
1150
|
+
s[58].translationKey}`) + "") && B(n, t), T[0] & /*displayedButtons*/
|
|
1156
1151
|
8192 && a !== (a = `${/*btn*/
|
|
1157
1152
|
s[58].cssClass} DefaultButton`) && u(e, "class", a);
|
|
1158
1153
|
},
|
|
@@ -1161,7 +1156,7 @@ function Ae(s) {
|
|
|
1161
1156
|
}
|
|
1162
1157
|
};
|
|
1163
1158
|
}
|
|
1164
|
-
function
|
|
1159
|
+
function Ht(s) {
|
|
1165
1160
|
let e;
|
|
1166
1161
|
function t(a, l) {
|
|
1167
1162
|
return (
|
|
@@ -1187,11 +1182,11 @@ function It(s) {
|
|
|
1187
1182
|
}
|
|
1188
1183
|
};
|
|
1189
1184
|
}
|
|
1190
|
-
let
|
|
1191
|
-
function
|
|
1185
|
+
let Mt = "_blank";
|
|
1186
|
+
function Bt(s, e, t) {
|
|
1192
1187
|
let n;
|
|
1193
1188
|
nt(s, rt, (o) => t(27, n = o)), Te.extend(ct);
|
|
1194
|
-
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:
|
|
1189
|
+
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: y = "" } = e, { customerid: b } = e, { transactionid: v } = e, { currencydecimals: K = "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: G = "" } = e, { currencyposition: I = "" } = e, R = [];
|
|
1195
1190
|
var P;
|
|
1196
1191
|
(function(o) {
|
|
1197
1192
|
o.Success = "Success", o.Maintenance = "Maintenance";
|
|
@@ -1200,9 +1195,9 @@ function Mt(s, e, t) {
|
|
|
1200
1195
|
(function(o) {
|
|
1201
1196
|
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";
|
|
1202
1197
|
})(f || (f = {}));
|
|
1203
|
-
const
|
|
1198
|
+
const D = (o, [E, j]) => [
|
|
1204
1199
|
...o,
|
|
1205
|
-
...Array.isArray(
|
|
1200
|
+
...Array.isArray(E) ? [...E.map((x) => [x, j])] : [[E, j]]
|
|
1206
1201
|
], r = new Map([
|
|
1207
1202
|
[["Unknown", 0], f.Unknown],
|
|
1208
1203
|
[["Text", 1], f.Text],
|
|
@@ -1222,7 +1217,7 @@ function Mt(s, e, t) {
|
|
|
1222
1217
|
[["Image", 15], f.Image],
|
|
1223
1218
|
[["Html", 19], f.Html],
|
|
1224
1219
|
[["QR", 20], f.QRCode]
|
|
1225
|
-
].reduce(
|
|
1220
|
+
].reduce(D, []));
|
|
1226
1221
|
let c, oe = [], ae, le, re, ce, O, X = [], te, ne, ue = "", We = window.navigator.userAgent, fe = !1;
|
|
1227
1222
|
const de = {
|
|
1228
1223
|
promotions: {
|
|
@@ -1277,22 +1272,22 @@ function Mt(s, e, t) {
|
|
|
1277
1272
|
}, je = () => {
|
|
1278
1273
|
dt(l);
|
|
1279
1274
|
};
|
|
1280
|
-
it(() => (window.addEventListener("message", me, !1), ut(g, G,
|
|
1275
|
+
it(() => (window.addEventListener("message", me, !1), ut(g, G, I, K), () => {
|
|
1281
1276
|
window.removeEventListener("message", me);
|
|
1282
1277
|
}));
|
|
1283
1278
|
const me = (o) => {
|
|
1284
|
-
var
|
|
1279
|
+
var E;
|
|
1285
1280
|
switch (o.data.type) {
|
|
1286
1281
|
case "CloseReceiptInSecondTab":
|
|
1287
|
-
(
|
|
1282
|
+
(E = window.opener) == null || E.postMessage(o.data);
|
|
1288
1283
|
break;
|
|
1289
1284
|
}
|
|
1290
1285
|
}, Ne = () => {
|
|
1291
|
-
let o =
|
|
1286
|
+
let o = M;
|
|
1292
1287
|
if (o)
|
|
1293
|
-
return fetch(o).then((
|
|
1294
|
-
Object.keys(
|
|
1295
|
-
ve(j,
|
|
1288
|
+
return fetch(o).then((E) => E.json()).then((E) => {
|
|
1289
|
+
Object.keys(E).forEach((j) => {
|
|
1290
|
+
ve(j, E[j]);
|
|
1296
1291
|
});
|
|
1297
1292
|
}).catch(() => {
|
|
1298
1293
|
});
|
|
@@ -1314,11 +1309,11 @@ function Mt(s, e, t) {
|
|
|
1314
1309
|
window.location.href
|
|
1315
1310
|
);
|
|
1316
1311
|
}, Ge = () => {
|
|
1317
|
-
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`),
|
|
1318
|
-
|
|
1312
|
+
const o = new URL(`${i}/v1/player/${b}/payment/GetPaymentInfo`), E = new Headers();
|
|
1313
|
+
E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-SessionId", `${a}`), E.append("X-Client-Request-Timestamp", Te.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
1319
1314
|
const j = {
|
|
1320
1315
|
method: "POST",
|
|
1321
|
-
headers:
|
|
1316
|
+
headers: E,
|
|
1322
1317
|
body: JSON.stringify({ TransactionCode: v })
|
|
1323
1318
|
};
|
|
1324
1319
|
t(12, V = !0), fetch(o, j).then((x) => x.json()).then((x) => {
|
|
@@ -1348,7 +1343,7 @@ function Mt(s, e, t) {
|
|
|
1348
1343
|
})), t(18, ae = n(pt(c.status, c.type))), t(20, re = n(ht(c.status, c.type), { values: { errorText: c.message } })), c.status) {
|
|
1349
1344
|
case "Voided":
|
|
1350
1345
|
case "Success":
|
|
1351
|
-
J(
|
|
1346
|
+
J(S || "sports, close"), ke(
|
|
1352
1347
|
c.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1353
1348
|
{
|
|
1354
1349
|
userID: b,
|
|
@@ -1364,7 +1359,7 @@ function Mt(s, e, t) {
|
|
|
1364
1359
|
case "PendingApprovalStage2":
|
|
1365
1360
|
case "PendingApprovalStage3":
|
|
1366
1361
|
case "PendingOfflineNotification":
|
|
1367
|
-
J(
|
|
1362
|
+
J(L || "home, close");
|
|
1368
1363
|
break;
|
|
1369
1364
|
case "Rejected":
|
|
1370
1365
|
case "Cancelled":
|
|
@@ -1391,7 +1386,7 @@ function Mt(s, e, t) {
|
|
|
1391
1386
|
{
|
|
1392
1387
|
type: "NavigateTo",
|
|
1393
1388
|
path: o,
|
|
1394
|
-
target:
|
|
1389
|
+
target: Mt,
|
|
1395
1390
|
externalLink: !1
|
|
1396
1391
|
},
|
|
1397
1392
|
window.location.href
|
|
@@ -1411,13 +1406,13 @@ function Mt(s, e, t) {
|
|
|
1411
1406
|
});
|
|
1412
1407
|
}
|
|
1413
1408
|
return s.$$set = (o) => {
|
|
1414
|
-
"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,
|
|
1409
|
+
"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, y = o.assetsurl), "customerid" in o && t(7, b = o.customerid), "transactionid" in o && t(35, v = o.transactionid), "currencydecimals" in o && t(36, K = 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, G = o.currencysymbol), "currencyposition" in o && t(42, I = o.currencyposition);
|
|
1415
1410
|
}, s.$$.update = () => {
|
|
1416
1411
|
s.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1417
1412
|
131 | s.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1418
1413
|
24 && i && a && b && v && w && Ge(), s.$$.dirty[0] & /*lang*/
|
|
1419
1414
|
4 && l && je(), s.$$.dirty[0] & /*lang, translationurl*/
|
|
1420
|
-
36 && l &&
|
|
1415
|
+
36 && l && M && Ne(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1421
1416
|
2304 && z && O && st(O, z), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1422
1417
|
2560 && Y && O && ot(O, Y), s.$$.dirty[0] & /*customStylingContainer*/
|
|
1423
1418
|
2048 | s.$$.dirty[1] & /*mbsource*/
|
|
@@ -1428,7 +1423,7 @@ function Mt(s, e, t) {
|
|
|
1428
1423
|
l,
|
|
1429
1424
|
_,
|
|
1430
1425
|
T,
|
|
1431
|
-
|
|
1426
|
+
M,
|
|
1432
1427
|
y,
|
|
1433
1428
|
b,
|
|
1434
1429
|
z,
|
|
@@ -1461,11 +1456,11 @@ function Mt(s, e, t) {
|
|
|
1461
1456
|
v,
|
|
1462
1457
|
K,
|
|
1463
1458
|
W,
|
|
1464
|
-
L,
|
|
1465
1459
|
S,
|
|
1460
|
+
L,
|
|
1466
1461
|
U,
|
|
1467
1462
|
G,
|
|
1468
|
-
|
|
1463
|
+
I,
|
|
1469
1464
|
Ke,
|
|
1470
1465
|
Ue,
|
|
1471
1466
|
qe,
|
|
@@ -1477,8 +1472,8 @@ class At extends Fe {
|
|
|
1477
1472
|
super(), $e(
|
|
1478
1473
|
this,
|
|
1479
1474
|
e,
|
|
1480
|
-
|
|
1481
|
-
|
|
1475
|
+
Bt,
|
|
1476
|
+
Ht,
|
|
1482
1477
|
et,
|
|
1483
1478
|
{
|
|
1484
1479
|
endpoint: 0,
|