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