@everymatrix/cashier-page 1.90.38 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const a = +getComputedStyle(i).opacity;
|
|
5
|
-
return {
|
|
6
|
-
delay: e,
|
|
7
|
-
duration: t,
|
|
8
|
-
easing: n,
|
|
9
|
-
css: (s) => `opacity: ${s * a}`
|
|
10
|
-
};
|
|
11
|
-
}
|
|
1
|
+
import { a as J1, i as $1, $ as ee, S as te, b as ne, s as ie, f as L, d as ae, z as d1, g as h, l as b, n as C, p as l, q as oe, M as L1, N as se, r as re, K as le, I as ce, Z as P1, y as W1, C as H1, h as I1, a8 as ue, t as pe, a9 as de, m as c, o as k, ac as fe, H as me, ad as Ce, w as R, x, O as T, F as ge, A as x1, v as B1, D as D1, E as Q1, P as E, J as z1, c as he, B as be } from "./CashierPage-N8z4Zzox.js";
|
|
2
|
+
import { f as A1 } from "./CashierSessionExpirationModal-Bxct5zbr.js";
|
|
3
|
+
import { s as we, a as ye, b as ve } from "./CashierHeader-Bt5aV48_.js";
|
|
12
4
|
function j1(i, e) {
|
|
13
|
-
|
|
5
|
+
J1(i, e);
|
|
14
6
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
7
|
+
function _e(i) {
|
|
8
|
+
$1({
|
|
17
9
|
fallbackLocale: "en"
|
|
18
|
-
}),
|
|
10
|
+
}), ee.set(i);
|
|
19
11
|
}
|
|
20
12
|
const Z1 = {
|
|
21
13
|
en: {
|
|
@@ -294,7 +286,7 @@ const Z1 = {
|
|
|
294
286
|
uploadDocuments: "Télécharger des documents",
|
|
295
287
|
goToHomepage: "Aller à la page d’accueil"
|
|
296
288
|
}
|
|
297
|
-
},
|
|
289
|
+
}, ke = (i, e) => `${i + xe[e]}`, Te = (i, e) => `${Se[e]}.${X1[i]}.text`, Re = (i) => `${X1[`${i}`]}`, xe = {
|
|
298
290
|
Success: "/txn-success.png",
|
|
299
291
|
Voided: "/txn-success.png",
|
|
300
292
|
Rejected: "/txn-failed.png",
|
|
@@ -306,7 +298,7 @@ const Z1 = {
|
|
|
306
298
|
PendingApprovalStage2: "/txn-pending.png",
|
|
307
299
|
PendingApprovalStage3: "/txn-pending.png",
|
|
308
300
|
PendingOfflineNotification: "/txn-pending.png"
|
|
309
|
-
},
|
|
301
|
+
}, Se = {
|
|
310
302
|
Deposit: "deposit",
|
|
311
303
|
Withdraw: "withdrawal"
|
|
312
304
|
}, X1 = {
|
|
@@ -351,8 +343,8 @@ const Z1 = {
|
|
|
351
343
|
</svg>
|
|
352
344
|
`
|
|
353
345
|
};
|
|
354
|
-
function
|
|
355
|
-
|
|
346
|
+
function Me(i) {
|
|
347
|
+
ae(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.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{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;display:flex;flex-direction:column;justify-content:space-between;height:100%}.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.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.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 .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.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:var(--emw--font-size-small, 12px);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 .Status.rejected 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{cursor:pointer;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;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);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);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);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)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
|
|
356
348
|
}
|
|
357
349
|
function E1(i, e, t) {
|
|
358
350
|
const n = i.slice();
|
|
@@ -362,8 +354,8 @@ function N1(i, e, t) {
|
|
|
362
354
|
const n = i.slice();
|
|
363
355
|
return n[73] = e[t], n;
|
|
364
356
|
}
|
|
365
|
-
function
|
|
366
|
-
let e, t, n =
|
|
357
|
+
function Le(i) {
|
|
358
|
+
let e, t, n = H1(
|
|
367
359
|
/*userAgent*/
|
|
368
360
|
i[25]
|
|
369
361
|
) && /*showverifications*/
|
|
@@ -377,13 +369,13 @@ function Be(i) {
|
|
|
377
369
|
/*txnInfo*/
|
|
378
370
|
u[15]
|
|
379
371
|
)
|
|
380
|
-
return
|
|
372
|
+
return Pe;
|
|
381
373
|
if (
|
|
382
374
|
/*errorResponseCode*/
|
|
383
375
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
384
376
|
u[20]
|
|
385
377
|
)
|
|
386
|
-
return
|
|
378
|
+
return Be;
|
|
387
379
|
}
|
|
388
380
|
let d = p(i), f = d && d(i);
|
|
389
381
|
return {
|
|
@@ -396,10 +388,10 @@ function Be(i) {
|
|
|
396
388
|
p(u, g) {
|
|
397
389
|
/*copied*/
|
|
398
390
|
u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
|
|
399
|
-
8388608 &&
|
|
391
|
+
8388608 && I1(s, 1)) : (s = Y1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (ue(), pe(s, 1, 1, () => {
|
|
400
392
|
s = null;
|
|
401
|
-
}),
|
|
402
|
-
4194816 && (n =
|
|
393
|
+
}), de()), g[0] & /*showverifications, displayVerifications*/
|
|
394
|
+
4194816 && (n = H1(
|
|
403
395
|
/*userAgent*/
|
|
404
396
|
u[25]
|
|
405
397
|
) && /*showverifications*/
|
|
@@ -411,7 +403,7 @@ function Be(i) {
|
|
|
411
403
|
}
|
|
412
404
|
};
|
|
413
405
|
}
|
|
414
|
-
function
|
|
406
|
+
function De(i) {
|
|
415
407
|
let e;
|
|
416
408
|
return {
|
|
417
409
|
c() {
|
|
@@ -433,7 +425,7 @@ function Y1(i) {
|
|
|
433
425
|
), n, a, s, o;
|
|
434
426
|
return {
|
|
435
427
|
c() {
|
|
436
|
-
e = C("div"), n =
|
|
428
|
+
e = C("div"), n = x(t), l(e, "class", "CopyTooltip");
|
|
437
429
|
},
|
|
438
430
|
m(p, d) {
|
|
439
431
|
b(p, e, d), c(e, n), o = !0;
|
|
@@ -444,12 +436,12 @@ function Y1(i) {
|
|
|
444
436
|
p[24]("copyTransactionId") + "") && R(n, t);
|
|
445
437
|
},
|
|
446
438
|
i(p) {
|
|
447
|
-
o || (p &&
|
|
448
|
-
o && (s && s.end(1), a =
|
|
439
|
+
o || (p && me(() => {
|
|
440
|
+
o && (s && s.end(1), a = Ce(e, A1, { duration: 100 }), a.start());
|
|
449
441
|
}), o = !0);
|
|
450
442
|
},
|
|
451
443
|
o(p) {
|
|
452
|
-
a && a.invalidate(), p && (s =
|
|
444
|
+
a && a.invalidate(), p && (s = fe(e, A1, { duration: 1e3 })), o = !1;
|
|
453
445
|
},
|
|
454
446
|
d(p) {
|
|
455
447
|
p && h(e), p && s && s.end();
|
|
@@ -550,7 +542,7 @@ function K1(i) {
|
|
|
550
542
|
}
|
|
551
543
|
};
|
|
552
544
|
}
|
|
553
|
-
function
|
|
545
|
+
function Be(i) {
|
|
554
546
|
let e, t = (
|
|
555
547
|
/*errorResponseCode*/
|
|
556
548
|
i[19] === /*ResponseCode*/
|
|
@@ -639,7 +631,7 @@ function We(i) {
|
|
|
639
631
|
}
|
|
640
632
|
};
|
|
641
633
|
}
|
|
642
|
-
function
|
|
634
|
+
function Pe(i) {
|
|
643
635
|
let e, t, n, a, s, o = (
|
|
644
636
|
/*$_*/
|
|
645
637
|
i[24]("amount") + ""
|
|
@@ -656,13 +648,13 @@ function He(i) {
|
|
|
656
648
|
), o1, f1, O, s1 = (
|
|
657
649
|
/*txnInfo*/
|
|
658
650
|
i[15].referenceId + ""
|
|
659
|
-
), m1, C1, q, J,
|
|
651
|
+
), m1, C1, q, J, S = (
|
|
660
652
|
/*$_*/
|
|
661
653
|
i[24]("payemntMethod") + ""
|
|
662
|
-
), y1,
|
|
654
|
+
), y1, S1, D, r1, v1, A, $, e1 = (
|
|
663
655
|
/*$_*/
|
|
664
656
|
i[24]("paymentTime") + ""
|
|
665
|
-
), l1, c1, _1, u1 =
|
|
657
|
+
), l1, c1, _1, u1 = L1(
|
|
666
658
|
/*txnInfo*/
|
|
667
659
|
i[15].time
|
|
668
660
|
).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, k1, p1, b1, T1;
|
|
@@ -671,19 +663,19 @@ function He(i) {
|
|
|
671
663
|
/*txnStatus*/
|
|
672
664
|
m[21] === "success"
|
|
673
665
|
)
|
|
674
|
-
return
|
|
666
|
+
return Ie;
|
|
675
667
|
if (
|
|
676
668
|
/*txnStatus*/
|
|
677
669
|
m[21] === "pending"
|
|
678
670
|
)
|
|
679
|
-
return
|
|
671
|
+
return He;
|
|
680
672
|
if (
|
|
681
673
|
/*txnStatus*/
|
|
682
674
|
m[21] === "failed" || /*txnStatus*/
|
|
683
675
|
m[21] === "rejected" || /*txnStatus*/
|
|
684
676
|
m[21] === "canceled"
|
|
685
677
|
)
|
|
686
|
-
return
|
|
678
|
+
return We;
|
|
687
679
|
}
|
|
688
680
|
let G = R1(i), I = G && G(i), z = (
|
|
689
681
|
/*displayedButtons*/
|
|
@@ -692,7 +684,7 @@ function He(i) {
|
|
|
692
684
|
function M1(m, _) {
|
|
693
685
|
return (
|
|
694
686
|
/*txnInfo*/
|
|
695
|
-
m[15].type ?
|
|
687
|
+
m[15].type ? Ae : ze
|
|
696
688
|
);
|
|
697
689
|
}
|
|
698
690
|
let w1 = M1(i), K = w1(i), j = (
|
|
@@ -701,24 +693,24 @@ function He(i) {
|
|
|
701
693
|
);
|
|
702
694
|
return {
|
|
703
695
|
c() {
|
|
704
|
-
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p =
|
|
696
|
+
e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = x(o), d = k(), f = C("span"), u = x(
|
|
705
697
|
/*amount*/
|
|
706
698
|
i[17]
|
|
707
|
-
), g = k(), y = C("div"), w = C("p"), P =
|
|
699
|
+
), g = k(), y = C("div"), w = C("p"), P = x(v), U = k(), Z = C("span"), N = x(V), a1 = k(), M = C("div"), H = C("p"), o1 = x(X), f1 = k(), O = C("span"), m1 = x(s1), C1 = k(), q = C("div"), J = C("p"), y1 = x(S), S1 = k(), D = C("span"), r1 = x(
|
|
708
700
|
/*paymentmethod*/
|
|
709
701
|
i[0]
|
|
710
|
-
), v1 = k(), A = C("div"), $ = C("p"), l1 =
|
|
702
|
+
), v1 = k(), A = C("div"), $ = C("p"), l1 = x(e1), c1 = k(), _1 = C("span"), g1 = x(u1), t1 = k(), n1 = C("div"), z && z.c(), h1 = k(), Q = C("button"), K.c(), k1 = k(), j && j.c(), p1 = B1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
|
|
711
703
|
i[21]}`), l(O, "class", "TxnIdText"), l(M, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
|
|
712
704
|
},
|
|
713
705
|
m(m, _) {
|
|
714
|
-
b(m, e, _), I && I.m(e, null), b(m, t, _), b(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, w), c(w, P), c(y, U), c(y, Z), c(Z, N), c(n, a1), c(n, M), c(M, H), c(H, o1), c(M, f1), c(M, O), c(O, m1), c(n, C1), c(n, q), c(q, J), c(J, y1), c(q,
|
|
715
|
-
|
|
706
|
+
b(m, e, _), I && I.m(e, null), b(m, t, _), b(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, w), c(w, P), c(y, U), c(y, Z), c(Z, N), c(n, a1), c(n, M), c(M, H), c(H, o1), c(M, f1), c(M, O), c(O, m1), c(n, C1), c(n, q), c(q, J), c(J, y1), c(q, S1), c(q, D), c(D, r1), c(n, v1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, _1), c(_1, g1), b(m, t1, _), b(m, n1, _), z && z.m(n1, null), b(m, h1, _), b(m, Q, _), K.m(Q, null), b(m, k1, _), j && j.m(m, _), b(m, p1, _), b1 || (T1 = [
|
|
707
|
+
x1(
|
|
716
708
|
O,
|
|
717
709
|
"click",
|
|
718
710
|
/*click_handler*/
|
|
719
711
|
i[45]
|
|
720
712
|
),
|
|
721
|
-
|
|
713
|
+
x1(
|
|
722
714
|
Q,
|
|
723
715
|
"click",
|
|
724
716
|
/*closeReceipt*/
|
|
@@ -746,8 +738,8 @@ function He(i) {
|
|
|
746
738
|
m[24]("transactionId") + "") && R(o1, X), _[0] & /*txnInfo*/
|
|
747
739
|
32768 && s1 !== (s1 = /*txnInfo*/
|
|
748
740
|
m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
|
|
749
|
-
16777216 &&
|
|
750
|
-
m[24]("payemntMethod") + "") && R(y1,
|
|
741
|
+
16777216 && S !== (S = /*$_*/
|
|
742
|
+
m[24]("payemntMethod") + "") && R(y1, S), _[0] & /*paymentmethod*/
|
|
751
743
|
1 && R(
|
|
752
744
|
r1,
|
|
753
745
|
/*paymentmethod*/
|
|
@@ -755,7 +747,7 @@ function He(i) {
|
|
|
755
747
|
), _[0] & /*$_*/
|
|
756
748
|
16777216 && e1 !== (e1 = /*$_*/
|
|
757
749
|
m[24]("paymentTime") + "") && R(l1, e1), _[0] & /*txnInfo*/
|
|
758
|
-
32768 && u1 !== (u1 =
|
|
750
|
+
32768 && u1 !== (u1 = L1(
|
|
759
751
|
/*txnInfo*/
|
|
760
752
|
m[15].time
|
|
761
753
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
|
|
@@ -763,7 +755,7 @@ function He(i) {
|
|
|
763
755
|
m[16].length ? j ? j.p(m, _) : (j = G1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
|
|
764
756
|
},
|
|
765
757
|
d(m) {
|
|
766
|
-
m && (h(e), h(t), h(n), h(t1), h(n1), h(h1), h(Q), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), b1 = !1,
|
|
758
|
+
m && (h(e), h(t), h(n), h(t1), h(n1), h(h1), h(Q), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), b1 = !1, ge(T1);
|
|
767
759
|
}
|
|
768
760
|
};
|
|
769
761
|
}
|
|
@@ -777,7 +769,7 @@ function U1(i) {
|
|
|
777
769
|
), f;
|
|
778
770
|
return {
|
|
779
771
|
c() {
|
|
780
|
-
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s =
|
|
772
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = x(a), o = k(), p = C("span"), f = x(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
|
|
781
773
|
},
|
|
782
774
|
m(u, g) {
|
|
783
775
|
b(u, e, g), b(u, t, g), b(u, n, g), c(n, s), b(u, o, g), b(u, p, g), c(p, f);
|
|
@@ -794,7 +786,7 @@ function U1(i) {
|
|
|
794
786
|
}
|
|
795
787
|
};
|
|
796
788
|
}
|
|
797
|
-
function
|
|
789
|
+
function We(i) {
|
|
798
790
|
let e, t, n, a, s, o, p, d = (
|
|
799
791
|
/*$_*/
|
|
800
792
|
i[24](`${/*txnInfo*/
|
|
@@ -806,7 +798,7 @@ function Ie(i) {
|
|
|
806
798
|
), w;
|
|
807
799
|
return {
|
|
808
800
|
c() {
|
|
809
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = k(), o = C("div"), p = C("h3"), f =
|
|
801
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = k(), o = C("div"), p = C("h3"), f = x(d), u = k(), g = C("p"), w = x(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
|
|
810
802
|
},
|
|
811
803
|
m(v, P) {
|
|
812
804
|
b(v, e, P), c(e, t), c(e, n), c(e, a), b(v, s, P), b(v, o, P), c(o, p), c(p, f), c(o, u), c(o, g), c(g, w);
|
|
@@ -825,7 +817,7 @@ function Ie(i) {
|
|
|
825
817
|
}
|
|
826
818
|
};
|
|
827
819
|
}
|
|
828
|
-
function
|
|
820
|
+
function He(i) {
|
|
829
821
|
let e, t, n, a, s, o, p, d, f, u = (
|
|
830
822
|
/*$_*/
|
|
831
823
|
i[24](`${/*txnInfo*/
|
|
@@ -840,10 +832,10 @@ function ze(i) {
|
|
|
840
832
|
), N, Y, a1;
|
|
841
833
|
return {
|
|
842
834
|
c() {
|
|
843
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), p = k(), d = C("div"), f = C("h3"), g =
|
|
835
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), p = k(), d = C("div"), f = C("h3"), g = x(u), y = k(), w = C("p"), P = x(v), U = k(), Z = C("button"), N = x(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "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"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "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"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(d, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
844
836
|
},
|
|
845
837
|
m(M, H) {
|
|
846
|
-
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, p, H), b(M, d, H), c(d, f), c(f, g), c(d, y), c(d, w), c(w, P), b(M, U, H), b(M, Z, H), c(Z, N), Y || (a1 =
|
|
838
|
+
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, p, H), b(M, d, H), c(d, f), c(f, g), c(d, y), c(d, w), c(w, P), b(M, U, H), b(M, Z, H), c(Z, N), Y || (a1 = x1(
|
|
847
839
|
Z,
|
|
848
840
|
"click",
|
|
849
841
|
/*getPaymentInfo*/
|
|
@@ -866,7 +858,7 @@ function ze(i) {
|
|
|
866
858
|
}
|
|
867
859
|
};
|
|
868
860
|
}
|
|
869
|
-
function
|
|
861
|
+
function Ie(i) {
|
|
870
862
|
let e, t, n, a, s, o, p = (
|
|
871
863
|
/*$_*/
|
|
872
864
|
i[24](`${/*txnInfo*/
|
|
@@ -878,7 +870,7 @@ function Ae(i) {
|
|
|
878
870
|
), y;
|
|
879
871
|
return {
|
|
880
872
|
c() {
|
|
881
|
-
e = E("svg"), t = E("circle"), n = E("path"), a = k(), s = C("div"), o = C("h3"), d =
|
|
873
|
+
e = E("svg"), t = E("circle"), n = E("path"), a = k(), s = C("div"), o = C("h3"), d = x(p), f = k(), u = C("p"), y = x(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(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"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
|
|
882
874
|
},
|
|
883
875
|
m(w, v) {
|
|
884
876
|
b(w, e, v), c(e, t), c(e, n), b(w, a, v), b(w, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
|
|
@@ -898,7 +890,7 @@ function Ae(i) {
|
|
|
898
890
|
};
|
|
899
891
|
}
|
|
900
892
|
function O1(i) {
|
|
901
|
-
let e, t =
|
|
893
|
+
let e, t = D1(
|
|
902
894
|
/*displayedButtons*/
|
|
903
895
|
i[12]
|
|
904
896
|
), n = [];
|
|
@@ -918,7 +910,7 @@ function O1(i) {
|
|
|
918
910
|
p(a, s) {
|
|
919
911
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
920
912
|
285216768) {
|
|
921
|
-
t =
|
|
913
|
+
t = D1(
|
|
922
914
|
/*displayedButtons*/
|
|
923
915
|
a[12]
|
|
924
916
|
);
|
|
@@ -955,11 +947,11 @@ function F1(i) {
|
|
|
955
947
|
}
|
|
956
948
|
return {
|
|
957
949
|
c() {
|
|
958
|
-
e = C("button"), t = C("div"), a = k(), o =
|
|
950
|
+
e = C("button"), t = C("div"), a = k(), o = x(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
|
|
959
951
|
i[73].type} GoToButton`);
|
|
960
952
|
},
|
|
961
953
|
m(y, w) {
|
|
962
|
-
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u =
|
|
954
|
+
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = x1(e, "click", g), f = !0);
|
|
963
955
|
},
|
|
964
956
|
p(y, w) {
|
|
965
957
|
i = y, w[0] & /*displayedButtons*/
|
|
@@ -976,14 +968,14 @@ function F1(i) {
|
|
|
976
968
|
}
|
|
977
969
|
};
|
|
978
970
|
}
|
|
979
|
-
function
|
|
971
|
+
function ze(i) {
|
|
980
972
|
let e = (
|
|
981
973
|
/*$_*/
|
|
982
974
|
i[24]("backHome") + ""
|
|
983
975
|
), t;
|
|
984
976
|
return {
|
|
985
977
|
c() {
|
|
986
|
-
t =
|
|
978
|
+
t = x(e);
|
|
987
979
|
},
|
|
988
980
|
m(n, a) {
|
|
989
981
|
b(n, t, a);
|
|
@@ -998,7 +990,7 @@ function je(i) {
|
|
|
998
990
|
}
|
|
999
991
|
};
|
|
1000
992
|
}
|
|
1001
|
-
function
|
|
993
|
+
function Ae(i) {
|
|
1002
994
|
let e = (
|
|
1003
995
|
/*$_*/
|
|
1004
996
|
i[24](`back${/*txnInfo*/
|
|
@@ -1006,7 +998,7 @@ function Ze(i) {
|
|
|
1006
998
|
), t;
|
|
1007
999
|
return {
|
|
1008
1000
|
c() {
|
|
1009
|
-
t =
|
|
1001
|
+
t = x(e);
|
|
1010
1002
|
},
|
|
1011
1003
|
m(n, a) {
|
|
1012
1004
|
b(n, t, a);
|
|
@@ -1023,7 +1015,7 @@ function Ze(i) {
|
|
|
1023
1015
|
};
|
|
1024
1016
|
}
|
|
1025
1017
|
function G1(i) {
|
|
1026
|
-
let e, t =
|
|
1018
|
+
let e, t = D1(
|
|
1027
1019
|
/*receiptFields*/
|
|
1028
1020
|
i[16]
|
|
1029
1021
|
), n = [];
|
|
@@ -1043,7 +1035,7 @@ function G1(i) {
|
|
|
1043
1035
|
p(a, s) {
|
|
1044
1036
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1045
1037
|
537214976) {
|
|
1046
|
-
t =
|
|
1038
|
+
t = D1(
|
|
1047
1039
|
/*receiptFields*/
|
|
1048
1040
|
a[16]
|
|
1049
1041
|
);
|
|
@@ -1062,14 +1054,14 @@ function G1(i) {
|
|
|
1062
1054
|
}
|
|
1063
1055
|
};
|
|
1064
1056
|
}
|
|
1065
|
-
function
|
|
1057
|
+
function je(i) {
|
|
1066
1058
|
let e, t = (
|
|
1067
1059
|
/*field*/
|
|
1068
1060
|
i[70].defaultValue + ""
|
|
1069
1061
|
), n;
|
|
1070
1062
|
return {
|
|
1071
1063
|
c() {
|
|
1072
|
-
e = C("span"), n =
|
|
1064
|
+
e = C("span"), n = x(t), l(e, "class", "Label");
|
|
1073
1065
|
},
|
|
1074
1066
|
m(a, s) {
|
|
1075
1067
|
b(a, e, s), c(e, n);
|
|
@@ -1084,10 +1076,10 @@ function Ve(i) {
|
|
|
1084
1076
|
}
|
|
1085
1077
|
};
|
|
1086
1078
|
}
|
|
1087
|
-
function
|
|
1079
|
+
function Ze(i) {
|
|
1088
1080
|
return { c: d1, m: d1, p: d1, d: d1 };
|
|
1089
1081
|
}
|
|
1090
|
-
function
|
|
1082
|
+
function Ve(i) {
|
|
1091
1083
|
let e, t = (
|
|
1092
1084
|
/*field*/
|
|
1093
1085
|
i[70].description + ""
|
|
@@ -1097,7 +1089,7 @@ function Ne(i) {
|
|
|
1097
1089
|
), p, d;
|
|
1098
1090
|
return {
|
|
1099
1091
|
c() {
|
|
1100
|
-
e = C("span"), n =
|
|
1092
|
+
e = C("span"), n = x(t), a = k(), s = C("a"), p = x(o), l(s, "href", d = /*field*/
|
|
1101
1093
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1102
1094
|
},
|
|
1103
1095
|
m(f, u) {
|
|
@@ -1117,11 +1109,11 @@ function Ne(i) {
|
|
|
1117
1109
|
}
|
|
1118
1110
|
};
|
|
1119
1111
|
}
|
|
1120
|
-
function
|
|
1112
|
+
function Ee(i) {
|
|
1121
1113
|
let e, t, n;
|
|
1122
1114
|
return {
|
|
1123
1115
|
c() {
|
|
1124
|
-
e = C("img"),
|
|
1116
|
+
e = C("img"), z1(e.src, t = /*field*/
|
|
1125
1117
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1126
1118
|
i[70].description), l(e, "alt", "");
|
|
1127
1119
|
},
|
|
@@ -1130,7 +1122,7 @@ function Ye(i) {
|
|
|
1130
1122
|
},
|
|
1131
1123
|
p(a, s) {
|
|
1132
1124
|
s[0] & /*receiptFields*/
|
|
1133
|
-
65536 && !
|
|
1125
|
+
65536 && !z1(e.src, t = /*field*/
|
|
1134
1126
|
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1135
1127
|
65536 && n !== (n = /*field*/
|
|
1136
1128
|
a[70].description) && l(e, "title", n);
|
|
@@ -1140,7 +1132,7 @@ function Ye(i) {
|
|
|
1140
1132
|
}
|
|
1141
1133
|
};
|
|
1142
1134
|
}
|
|
1143
|
-
function
|
|
1135
|
+
function Ne(i) {
|
|
1144
1136
|
let e, t = (
|
|
1145
1137
|
/*field*/
|
|
1146
1138
|
i[70].defaultValue + ""
|
|
@@ -1162,7 +1154,7 @@ function Ke(i) {
|
|
|
1162
1154
|
}
|
|
1163
1155
|
};
|
|
1164
1156
|
}
|
|
1165
|
-
function
|
|
1157
|
+
function Ye(i) {
|
|
1166
1158
|
let e, t, n = (
|
|
1167
1159
|
/*field*/
|
|
1168
1160
|
i[70].defaultValue + ""
|
|
@@ -1178,10 +1170,10 @@ function Ue(i) {
|
|
|
1178
1170
|
}
|
|
1179
1171
|
return {
|
|
1180
1172
|
c() {
|
|
1181
|
-
e = C("div"), t = C("div"), a =
|
|
1173
|
+
e = C("div"), t = C("div"), a = x(n), l(e, "class", "QRCode");
|
|
1182
1174
|
},
|
|
1183
1175
|
m(d, f) {
|
|
1184
|
-
b(d, e, f), c(e, t), c(t, a), i[47](t), s || (o =
|
|
1176
|
+
b(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", p), s = !0);
|
|
1185
1177
|
},
|
|
1186
1178
|
p(d, f) {
|
|
1187
1179
|
i = d, f[0] & /*receiptFields*/
|
|
@@ -1199,19 +1191,19 @@ function q1(i) {
|
|
|
1199
1191
|
return (
|
|
1200
1192
|
/*field*/
|
|
1201
1193
|
o[70].type === /*FieldTypes*/
|
|
1202
|
-
o[14].QRCode ?
|
|
1194
|
+
o[14].QRCode ? Ye : (
|
|
1203
1195
|
/*field*/
|
|
1204
1196
|
o[70].type === /*FieldTypes*/
|
|
1205
|
-
o[14].Html ?
|
|
1197
|
+
o[14].Html ? Ne : (
|
|
1206
1198
|
/*field*/
|
|
1207
1199
|
o[70].type === /*FieldTypes*/
|
|
1208
|
-
o[14].Image ?
|
|
1200
|
+
o[14].Image ? Ee : (
|
|
1209
1201
|
/*field*/
|
|
1210
1202
|
o[70].type === /*FieldTypes*/
|
|
1211
|
-
o[14].Link ?
|
|
1203
|
+
o[14].Link ? Ve : (
|
|
1212
1204
|
/*field*/
|
|
1213
1205
|
o[70].type === /*FieldTypes*/
|
|
1214
|
-
o[14].Hidden ?
|
|
1206
|
+
o[14].Hidden ? Ze : je
|
|
1215
1207
|
)
|
|
1216
1208
|
)
|
|
1217
1209
|
)
|
|
@@ -1234,12 +1226,12 @@ function q1(i) {
|
|
|
1234
1226
|
}
|
|
1235
1227
|
};
|
|
1236
1228
|
}
|
|
1237
|
-
function
|
|
1229
|
+
function Ke(i) {
|
|
1238
1230
|
let e;
|
|
1239
1231
|
function t(s, o) {
|
|
1240
1232
|
return (
|
|
1241
1233
|
/*isLoading*/
|
|
1242
|
-
s[11] ?
|
|
1234
|
+
s[11] ? De : Le
|
|
1243
1235
|
);
|
|
1244
1236
|
}
|
|
1245
1237
|
let n = t(i), a = n(i);
|
|
@@ -1260,41 +1252,41 @@ function Oe(i) {
|
|
|
1260
1252
|
}
|
|
1261
1253
|
};
|
|
1262
1254
|
}
|
|
1263
|
-
let
|
|
1264
|
-
function
|
|
1255
|
+
let Ue = "_blank";
|
|
1256
|
+
function Oe(i, e, t) {
|
|
1265
1257
|
let n;
|
|
1266
|
-
|
|
1258
|
+
oe(i, be, (r) => t(24, n = r)), L1.extend(se);
|
|
1267
1259
|
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: v } = e, { clientstyling: P = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, a1, { customsucceessbuttons: M = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: O = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], q = [];
|
|
1268
1260
|
var J;
|
|
1269
1261
|
(function(r) {
|
|
1270
1262
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1271
1263
|
})(J || (J = {}));
|
|
1272
|
-
var
|
|
1264
|
+
var S;
|
|
1273
1265
|
(function(r) {
|
|
1274
1266
|
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";
|
|
1275
|
-
})(
|
|
1267
|
+
})(S || (S = {}));
|
|
1276
1268
|
const y1 = (r, [W, F]) => [
|
|
1277
1269
|
...r,
|
|
1278
1270
|
...Array.isArray(W) ? [...W.map((B) => [B, F])] : [[W, F]]
|
|
1279
|
-
],
|
|
1280
|
-
[["Unknown", 0],
|
|
1281
|
-
[["Text", 1],
|
|
1282
|
-
[["Boolean", 2],
|
|
1283
|
-
[["Number", 3],
|
|
1284
|
-
[["Money", 4],
|
|
1285
|
-
[["DateTime", 5],
|
|
1286
|
-
[["Lookup", 6],
|
|
1287
|
-
[["IpAddress", 7],
|
|
1288
|
-
[["Date", 8],
|
|
1289
|
-
[["Time", 9],
|
|
1290
|
-
[["LookupCollection", 10],
|
|
1291
|
-
[["Hidden", 11],
|
|
1292
|
-
[["Label", 12],
|
|
1293
|
-
[["Password", 13],
|
|
1294
|
-
[["Link", 14],
|
|
1295
|
-
[["Image", 15],
|
|
1296
|
-
[["Html", 19],
|
|
1297
|
-
[["QR", 20],
|
|
1271
|
+
], S1 = new Map([
|
|
1272
|
+
[["Unknown", 0], S.Unknown],
|
|
1273
|
+
[["Text", 1], S.Text],
|
|
1274
|
+
[["Boolean", 2], S.Boolean],
|
|
1275
|
+
[["Number", 3], S.Number],
|
|
1276
|
+
[["Money", 4], S.Money],
|
|
1277
|
+
[["DateTime", 5], S.DateTime],
|
|
1278
|
+
[["Lookup", 6], S.Lookup],
|
|
1279
|
+
[["IpAddress", 7], S.IpAddress],
|
|
1280
|
+
[["Date", 8], S.Date],
|
|
1281
|
+
[["Time", 9], S.Time],
|
|
1282
|
+
[["LookupCollection", 10], S.LookupCollection],
|
|
1283
|
+
[["Hidden", 11], S.Hidden],
|
|
1284
|
+
[["Label", 12], S.Label],
|
|
1285
|
+
[["Password", 13], S.Password],
|
|
1286
|
+
[["Link", 14], S.Link],
|
|
1287
|
+
[["Image", 15], S.Image],
|
|
1288
|
+
[["Html", 19], S.Html],
|
|
1289
|
+
[["QR", 20], S.QRCode]
|
|
1298
1290
|
].reduce(y1, []));
|
|
1299
1291
|
let D, r1 = [], v1, A, $ = [], e1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
|
|
1300
1292
|
const g1 = {
|
|
@@ -1358,9 +1350,9 @@ function Ge(i, e, t) {
|
|
|
1358
1350
|
g1[F.trim()] && C1.push(g1[F.trim()]);
|
|
1359
1351
|
});
|
|
1360
1352
|
}, n1 = () => {
|
|
1361
|
-
|
|
1353
|
+
_e(o);
|
|
1362
1354
|
};
|
|
1363
|
-
|
|
1355
|
+
re(() => (window.addEventListener("message", h1, !1), le(p, o1, f1, w), () => {
|
|
1364
1356
|
window.removeEventListener("message", h1);
|
|
1365
1357
|
}));
|
|
1366
1358
|
const h1 = (r) => {
|
|
@@ -1395,7 +1387,7 @@ function Ge(i, e, t) {
|
|
|
1395
1387
|
);
|
|
1396
1388
|
}, b1 = () => {
|
|
1397
1389
|
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
|
|
1398
|
-
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp",
|
|
1390
|
+
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", L1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
|
|
1399
1391
|
const F = {
|
|
1400
1392
|
method: "POST",
|
|
1401
1393
|
headers: W,
|
|
@@ -1415,16 +1407,16 @@ function Ge(i, e, t) {
|
|
|
1415
1407
|
currency: B.Transaction.Amounts[0]?.Currency,
|
|
1416
1408
|
time: B.Transaction.Status.Created
|
|
1417
1409
|
}), t(16, r1 = B.ReceiptInfo && B.ReceiptInfo.ReceiptFields ? B.ReceiptInfo.ReceiptFields.map((i1) => ({
|
|
1418
|
-
type:
|
|
1410
|
+
type: S1.get(i1.Type),
|
|
1419
1411
|
name: i1.Name,
|
|
1420
1412
|
description: i1.Description,
|
|
1421
1413
|
defaultValue: i1.DefaultValue,
|
|
1422
1414
|
useCopyButton: i1.UseCopyButton,
|
|
1423
1415
|
usePrintButton: i1.UsePrintButton
|
|
1424
|
-
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !N && t(0, N = r1[0].defaultValue), n(
|
|
1416
|
+
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !N && t(0, N = r1[0].defaultValue), n(Te(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = ce(Number(D.amount), D.currency)), D.status) {
|
|
1425
1417
|
case "Voided":
|
|
1426
1418
|
case "Success":
|
|
1427
|
-
t1(M || "casino, livecasino, tournaments"), t(21, c1 = "success"),
|
|
1419
|
+
t1(M || "casino, livecasino, tournaments"), t(21, c1 = "success"), P1(
|
|
1428
1420
|
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1429
1421
|
{
|
|
1430
1422
|
userID: g,
|
|
@@ -1445,7 +1437,7 @@ function Ge(i, e, t) {
|
|
|
1445
1437
|
case "Rejected":
|
|
1446
1438
|
case "Cancelled":
|
|
1447
1439
|
case "Failed":
|
|
1448
|
-
t1(X || "casino, livecasino, tournaments"), t(21, c1 = D.status.toLowerCase()),
|
|
1440
|
+
t1(X || "casino, livecasino, tournaments"), t(21, c1 = D.status.toLowerCase()), P1(
|
|
1449
1441
|
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1450
1442
|
{
|
|
1451
1443
|
userID: g,
|
|
@@ -1458,7 +1450,7 @@ function Ge(i, e, t) {
|
|
|
1458
1450
|
default:
|
|
1459
1451
|
t1("close");
|
|
1460
1452
|
}
|
|
1461
|
-
u ?
|
|
1453
|
+
u ? ke(u, D.status) : Re(D.status);
|
|
1462
1454
|
}).finally(() => t(11, Y = !1));
|
|
1463
1455
|
}, T1 = (r) => {
|
|
1464
1456
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1467,7 +1459,7 @@ function Ge(i, e, t) {
|
|
|
1467
1459
|
{
|
|
1468
1460
|
type: "NavigateTo",
|
|
1469
1461
|
path: r,
|
|
1470
|
-
target:
|
|
1462
|
+
target: Ue,
|
|
1471
1463
|
externalLink: !1
|
|
1472
1464
|
},
|
|
1473
1465
|
window.location.href
|
|
@@ -1491,7 +1483,7 @@ function Ge(i, e, t) {
|
|
|
1491
1483
|
O.length > 0 && (q = O.split(","));
|
|
1492
1484
|
}, w1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1493
1485
|
function j(r) {
|
|
1494
|
-
|
|
1486
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1495
1487
|
$[$.length] = r, t(18, $);
|
|
1496
1488
|
});
|
|
1497
1489
|
}
|
|
@@ -1499,7 +1491,7 @@ function Ge(i, e, t) {
|
|
|
1499
1491
|
R1(r.description);
|
|
1500
1492
|
};
|
|
1501
1493
|
function _(r) {
|
|
1502
|
-
|
|
1494
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1503
1495
|
A = r, t(10, A);
|
|
1504
1496
|
});
|
|
1505
1497
|
}
|
|
@@ -1512,10 +1504,10 @@ function Ge(i, e, t) {
|
|
|
1512
1504
|
6 && a && s && g && y && d && b1(), i.$$.dirty[0] & /*lang*/
|
|
1513
1505
|
8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1514
1506
|
24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1515
|
-
1152 && P && A &&
|
|
1516
|
-
1280 && U && A &&
|
|
1507
|
+
1152 && P && A && we(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1508
|
+
1280 && U && A && ye(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1517
1509
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1518
|
-
32 && Z && A &&
|
|
1510
|
+
32 && Z && A && ve(A, `${Z}.Style`, a1);
|
|
1519
1511
|
}, [
|
|
1520
1512
|
N,
|
|
1521
1513
|
a,
|
|
@@ -1531,7 +1523,7 @@ function Ge(i, e, t) {
|
|
|
1531
1523
|
Y,
|
|
1532
1524
|
C1,
|
|
1533
1525
|
J,
|
|
1534
|
-
|
|
1526
|
+
S,
|
|
1535
1527
|
D,
|
|
1536
1528
|
r1,
|
|
1537
1529
|
v1,
|
|
@@ -1569,14 +1561,14 @@ function Ge(i, e, t) {
|
|
|
1569
1561
|
_
|
|
1570
1562
|
];
|
|
1571
1563
|
}
|
|
1572
|
-
class
|
|
1564
|
+
class Fe extends te {
|
|
1573
1565
|
constructor(e) {
|
|
1574
|
-
super(),
|
|
1566
|
+
super(), ne(
|
|
1575
1567
|
this,
|
|
1576
1568
|
e,
|
|
1577
|
-
Ge,
|
|
1578
1569
|
Oe,
|
|
1579
|
-
|
|
1570
|
+
Ke,
|
|
1571
|
+
ie,
|
|
1580
1572
|
{
|
|
1581
1573
|
endpoint: 1,
|
|
1582
1574
|
session: 2,
|
|
@@ -1603,7 +1595,7 @@ class J1 extends ie {
|
|
|
1603
1595
|
windowsize: 43,
|
|
1604
1596
|
p2p: 44
|
|
1605
1597
|
},
|
|
1606
|
-
|
|
1598
|
+
Me,
|
|
1607
1599
|
[-1, -1, -1]
|
|
1608
1600
|
);
|
|
1609
1601
|
}
|
|
@@ -1752,12 +1744,7 @@ class J1 extends ie {
|
|
|
1752
1744
|
this.$$set({ p2p: e }), L();
|
|
1753
1745
|
}
|
|
1754
1746
|
}
|
|
1755
|
-
|
|
1756
|
-
const Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1757
|
-
__proto__: null,
|
|
1758
|
-
default: J1
|
|
1759
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
1747
|
+
he(Fe, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
|
|
1760
1748
|
export {
|
|
1761
|
-
|
|
1762
|
-
A1 as f
|
|
1749
|
+
Fe as default
|
|
1763
1750
|
};
|