@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
|
@@ -14,16 +14,24 @@ var z1 = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
|
|
15
15
|
u((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
|
|
17
|
+
import { ac as ae, a as oe, i as se, $ as re, S as le, b as ce, s as ue, f as L, c as pe, G as p1, e as h, k as b, m as C, o as l, p as de, q as fe, O as me, U as Ce, y as A1, N as j1, g as Z1, a6 as ge, t as he, a7 as be, l as c, n as _, ad as we, L as ye, ae as ve, v as R, w as S, A as T, a2 as _e, x as S1, r as P1, Z as D1, a4 as te, X as E, z as V1, B as ke, C as Te, D as Re, E as Se, F as xe } from "./CashierCarousel-CXoovlrR.js";
|
|
18
|
+
import { d as B1, u as Me, a as E1 } from "./CashierMethodDetails-BuXvXCMn.js";
|
|
19
|
+
function N1(i, { delay: e = 0, duration: t = 400, easing: n = ae } = {}) {
|
|
20
|
+
const a = +getComputedStyle(i).opacity;
|
|
21
|
+
return {
|
|
22
|
+
delay: e,
|
|
23
|
+
duration: t,
|
|
24
|
+
easing: n,
|
|
25
|
+
css: (s) => `opacity: ${s * a}`
|
|
26
|
+
};
|
|
27
|
+
}
|
|
20
28
|
function Y1(i, e) {
|
|
21
|
-
|
|
29
|
+
oe(i, e);
|
|
22
30
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
31
|
+
function Le(i) {
|
|
32
|
+
se({
|
|
25
33
|
fallbackLocale: "en"
|
|
26
|
-
}),
|
|
34
|
+
}), re.set(i);
|
|
27
35
|
}
|
|
28
36
|
const K1 = {
|
|
29
37
|
en: {
|
|
@@ -302,7 +310,7 @@ const K1 = {
|
|
|
302
310
|
uploadDocuments: "Télécharger des documents",
|
|
303
311
|
goToHomepage: "Aller à la page d’accueil"
|
|
304
312
|
}
|
|
305
|
-
},
|
|
313
|
+
}, De = (i, e) => `${i + We[e]}`, Be = (i, e) => `${He[e]}.${ne[i]}.text`, Pe = (i) => `${ne[`${i}`]}`, We = {
|
|
306
314
|
Success: "/txn-success.png",
|
|
307
315
|
Voided: "/txn-success.png",
|
|
308
316
|
Rejected: "/txn-failed.png",
|
|
@@ -314,7 +322,7 @@ const K1 = {
|
|
|
314
322
|
PendingApprovalStage2: "/txn-pending.png",
|
|
315
323
|
PendingApprovalStage3: "/txn-pending.png",
|
|
316
324
|
PendingOfflineNotification: "/txn-pending.png"
|
|
317
|
-
},
|
|
325
|
+
}, He = {
|
|
318
326
|
Deposit: "deposit",
|
|
319
327
|
Withdraw: "withdrawal"
|
|
320
328
|
}, ne = {
|
|
@@ -359,8 +367,8 @@ const K1 = {
|
|
|
359
367
|
</svg>
|
|
360
368
|
`
|
|
361
369
|
};
|
|
362
|
-
function
|
|
363
|
-
|
|
370
|
+
function Ie(i) {
|
|
371
|
+
pe(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)}');
|
|
364
372
|
}
|
|
365
373
|
function O1(i, e, t) {
|
|
366
374
|
const n = i.slice();
|
|
@@ -370,8 +378,8 @@ function F1(i, e, t) {
|
|
|
370
378
|
const n = i.slice();
|
|
371
379
|
return n[73] = e[t], n;
|
|
372
380
|
}
|
|
373
|
-
function
|
|
374
|
-
let e, t, n =
|
|
381
|
+
function ze(i) {
|
|
382
|
+
let e, t, n = j1(
|
|
375
383
|
/*userAgent*/
|
|
376
384
|
i[25]
|
|
377
385
|
) && /*showverifications*/
|
|
@@ -385,13 +393,13 @@ function He(i) {
|
|
|
385
393
|
/*txnInfo*/
|
|
386
394
|
d[15]
|
|
387
395
|
)
|
|
388
|
-
return
|
|
396
|
+
return Ze;
|
|
389
397
|
if (
|
|
390
398
|
/*errorResponseCode*/
|
|
391
399
|
d[19] && !/*showErrorOutsideReceiptPage*/
|
|
392
400
|
d[20]
|
|
393
401
|
)
|
|
394
|
-
return
|
|
402
|
+
return je;
|
|
395
403
|
}
|
|
396
404
|
let p = u(i), f = p && p(i);
|
|
397
405
|
return {
|
|
@@ -404,10 +412,10 @@ function He(i) {
|
|
|
404
412
|
p(d, g) {
|
|
405
413
|
/*copied*/
|
|
406
414
|
d[23] ? s ? (s.p(d, g), g[0] & /*copied*/
|
|
407
|
-
8388608 &&
|
|
415
|
+
8388608 && Z1(s, 1)) : (s = G1(d), s.c(), Z1(s, 1), s.m(e.parentNode, e)) : s && (ge(), he(s, 1, 1, () => {
|
|
408
416
|
s = null;
|
|
409
|
-
}),
|
|
410
|
-
4194816 && (n =
|
|
417
|
+
}), be()), g[0] & /*showverifications, displayVerifications*/
|
|
418
|
+
4194816 && (n = j1(
|
|
411
419
|
/*userAgent*/
|
|
412
420
|
d[25]
|
|
413
421
|
) && /*showverifications*/
|
|
@@ -419,7 +427,7 @@ function He(i) {
|
|
|
419
427
|
}
|
|
420
428
|
};
|
|
421
429
|
}
|
|
422
|
-
function
|
|
430
|
+
function Ae(i) {
|
|
423
431
|
let e;
|
|
424
432
|
return {
|
|
425
433
|
c() {
|
|
@@ -441,7 +449,7 @@ function G1(i) {
|
|
|
441
449
|
), n, a, s, o;
|
|
442
450
|
return {
|
|
443
451
|
c() {
|
|
444
|
-
e = C("div"), n =
|
|
452
|
+
e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
|
|
445
453
|
},
|
|
446
454
|
m(u, p) {
|
|
447
455
|
b(u, e, p), c(e, n), o = !0;
|
|
@@ -452,12 +460,12 @@ function G1(i) {
|
|
|
452
460
|
u[24]("copyTransactionId") + "") && R(n, t);
|
|
453
461
|
},
|
|
454
462
|
i(u) {
|
|
455
|
-
o || (u &&
|
|
456
|
-
o && (s && s.end(1), a =
|
|
463
|
+
o || (u && ye(() => {
|
|
464
|
+
o && (s && s.end(1), a = ve(e, N1, { duration: 100 }), a.start());
|
|
457
465
|
}), o = !0);
|
|
458
466
|
},
|
|
459
467
|
o(u) {
|
|
460
|
-
a && a.invalidate(), u && (s =
|
|
468
|
+
a && a.invalidate(), u && (s = we(e, N1, { duration: 1e3 })), o = !1;
|
|
461
469
|
},
|
|
462
470
|
d(u) {
|
|
463
471
|
u && h(e), u && s && s.end();
|
|
@@ -558,7 +566,7 @@ function q1(i) {
|
|
|
558
566
|
}
|
|
559
567
|
};
|
|
560
568
|
}
|
|
561
|
-
function
|
|
569
|
+
function je(i) {
|
|
562
570
|
let e, t = (
|
|
563
571
|
/*errorResponseCode*/
|
|
564
572
|
i[19] === /*ResponseCode*/
|
|
@@ -647,7 +655,7 @@ function ze(i) {
|
|
|
647
655
|
}
|
|
648
656
|
};
|
|
649
657
|
}
|
|
650
|
-
function
|
|
658
|
+
function Ze(i) {
|
|
651
659
|
let e, t, n, a, s, o = (
|
|
652
660
|
/*$_*/
|
|
653
661
|
i[24]("amount") + ""
|
|
@@ -664,13 +672,13 @@ function Ae(i) {
|
|
|
664
672
|
), a1, d1, O, o1 = (
|
|
665
673
|
/*txnInfo*/
|
|
666
674
|
i[15].referenceId + ""
|
|
667
|
-
), f1, m1, q, J,
|
|
675
|
+
), f1, m1, q, J, x = (
|
|
668
676
|
/*$_*/
|
|
669
677
|
i[24]("payemntMethod") + ""
|
|
670
|
-
), y1,
|
|
678
|
+
), y1, x1, D, s1, v1, A, $, e1 = (
|
|
671
679
|
/*$_*/
|
|
672
680
|
i[24]("paymentTime") + ""
|
|
673
|
-
), r1, l1, _1, c1 =
|
|
681
|
+
), r1, l1, _1, c1 = B1(
|
|
674
682
|
/*txnInfo*/
|
|
675
683
|
i[15].time
|
|
676
684
|
).format("MMM DD, YYYY, HH:mm:ss") + "", C1, t1, n1, g1, Q, k1, u1, h1, T1;
|
|
@@ -679,19 +687,19 @@ function Ae(i) {
|
|
|
679
687
|
/*txnStatus*/
|
|
680
688
|
m[21] === "success"
|
|
681
689
|
)
|
|
682
|
-
return
|
|
690
|
+
return Ne;
|
|
683
691
|
if (
|
|
684
692
|
/*txnStatus*/
|
|
685
693
|
m[21] === "pending"
|
|
686
694
|
)
|
|
687
|
-
return
|
|
695
|
+
return Ee;
|
|
688
696
|
if (
|
|
689
697
|
/*txnStatus*/
|
|
690
698
|
m[21] === "failed" || /*txnStatus*/
|
|
691
699
|
m[21] === "rejected" || /*txnStatus*/
|
|
692
700
|
m[21] === "canceled"
|
|
693
701
|
)
|
|
694
|
-
return
|
|
702
|
+
return Ve;
|
|
695
703
|
}
|
|
696
704
|
let G = R1(i), I = G && G(i), z = (
|
|
697
705
|
/*displayedButtons*/
|
|
@@ -700,7 +708,7 @@ function Ae(i) {
|
|
|
700
708
|
function M1(m, v) {
|
|
701
709
|
return (
|
|
702
710
|
/*txnInfo*/
|
|
703
|
-
m[15].type ?
|
|
711
|
+
m[15].type ? Ke : Ye
|
|
704
712
|
);
|
|
705
713
|
}
|
|
706
714
|
let b1 = M1(i), K = b1(i), j = (
|
|
@@ -709,24 +717,24 @@ function Ae(i) {
|
|
|
709
717
|
);
|
|
710
718
|
return {
|
|
711
719
|
c() {
|
|
712
|
-
e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u =
|
|
720
|
+
e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = S(o), p = _(), f = C("span"), d = S(
|
|
713
721
|
/*amount*/
|
|
714
722
|
i[17]
|
|
715
|
-
), g = _(), k = C("div"), y = C("p"), B =
|
|
723
|
+
), g = _(), k = C("div"), y = C("p"), B = S(w), U = _(), Z = C("span"), N = S(V), i1 = _(), M = C("div"), H = C("p"), a1 = S(X), d1 = _(), O = C("span"), f1 = S(o1), m1 = _(), q = C("div"), J = C("p"), y1 = S(x), x1 = _(), D = C("span"), s1 = S(
|
|
716
724
|
/*paymentmethod*/
|
|
717
725
|
i[0]
|
|
718
|
-
), v1 = _(), A = C("div"), $ = C("p"), r1 =
|
|
726
|
+
), v1 = _(), A = C("div"), $ = C("p"), r1 = S(e1), l1 = _(), _1 = C("span"), C1 = S(c1), t1 = _(), n1 = C("div"), z && z.c(), g1 = _(), Q = C("button"), K.c(), k1 = _(), j && j.c(), u1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
|
|
719
727
|
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");
|
|
720
728
|
},
|
|
721
729
|
m(m, v) {
|
|
722
|
-
b(m, e, v), I && I.m(e, null), b(m, t, v), b(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, N), c(n, i1), c(n, M), c(M, H), c(H, a1), c(M, d1), c(M, O), c(O, f1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q,
|
|
723
|
-
|
|
730
|
+
b(m, e, v), I && I.m(e, null), b(m, t, v), b(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, N), c(n, i1), c(n, M), c(M, H), c(H, a1), c(M, d1), c(M, O), c(O, f1), c(n, m1), c(n, q), c(q, J), c(J, y1), c(q, x1), c(q, D), c(D, s1), c(n, v1), c(n, A), c(A, $), c($, r1), c(A, l1), c(A, _1), c(_1, C1), b(m, t1, v), b(m, n1, v), z && z.m(n1, null), b(m, g1, v), b(m, Q, v), K.m(Q, null), b(m, k1, v), j && j.m(m, v), b(m, u1, v), h1 || (T1 = [
|
|
731
|
+
S1(
|
|
724
732
|
O,
|
|
725
733
|
"click",
|
|
726
734
|
/*click_handler*/
|
|
727
735
|
i[45]
|
|
728
736
|
),
|
|
729
|
-
|
|
737
|
+
S1(
|
|
730
738
|
Q,
|
|
731
739
|
"click",
|
|
732
740
|
/*closeReceipt*/
|
|
@@ -754,8 +762,8 @@ function Ae(i) {
|
|
|
754
762
|
m[24]("transactionId") + "") && R(a1, X), v[0] & /*txnInfo*/
|
|
755
763
|
32768 && o1 !== (o1 = /*txnInfo*/
|
|
756
764
|
m[15].referenceId + "") && R(f1, o1), v[0] & /*$_*/
|
|
757
|
-
16777216 &&
|
|
758
|
-
m[24]("payemntMethod") + "") && R(y1,
|
|
765
|
+
16777216 && x !== (x = /*$_*/
|
|
766
|
+
m[24]("payemntMethod") + "") && R(y1, x), v[0] & /*paymentmethod*/
|
|
759
767
|
1 && R(
|
|
760
768
|
s1,
|
|
761
769
|
/*paymentmethod*/
|
|
@@ -763,7 +771,7 @@ function Ae(i) {
|
|
|
763
771
|
), v[0] & /*$_*/
|
|
764
772
|
16777216 && e1 !== (e1 = /*$_*/
|
|
765
773
|
m[24]("paymentTime") + "") && R(r1, e1), v[0] & /*txnInfo*/
|
|
766
|
-
32768 && c1 !== (c1 =
|
|
774
|
+
32768 && c1 !== (c1 = B1(
|
|
767
775
|
/*txnInfo*/
|
|
768
776
|
m[15].time
|
|
769
777
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(C1, c1), /*displayedButtons*/
|
|
@@ -771,7 +779,7 @@ function Ae(i) {
|
|
|
771
779
|
m[16].length ? j ? j.p(m, v) : (j = $1(m), j.c(), j.m(u1.parentNode, u1)) : j && (j.d(1), j = null);
|
|
772
780
|
},
|
|
773
781
|
d(m) {
|
|
774
|
-
m && (h(e), h(t), h(n), h(t1), h(n1), h(g1), h(Q), h(k1), h(u1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), h1 = !1,
|
|
782
|
+
m && (h(e), h(t), h(n), h(t1), h(n1), h(g1), h(Q), h(k1), h(u1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), h1 = !1, _e(T1);
|
|
775
783
|
}
|
|
776
784
|
};
|
|
777
785
|
}
|
|
@@ -785,7 +793,7 @@ function Q1(i) {
|
|
|
785
793
|
), f;
|
|
786
794
|
return {
|
|
787
795
|
c() {
|
|
788
|
-
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s =
|
|
796
|
+
e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = S(a), o = _(), u = C("span"), f = S(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
|
|
789
797
|
},
|
|
790
798
|
m(d, g) {
|
|
791
799
|
b(d, e, g), b(d, t, g), b(d, n, g), c(n, s), b(d, o, g), b(d, u, g), c(u, f);
|
|
@@ -802,7 +810,7 @@ function Q1(i) {
|
|
|
802
810
|
}
|
|
803
811
|
};
|
|
804
812
|
}
|
|
805
|
-
function
|
|
813
|
+
function Ve(i) {
|
|
806
814
|
let e, t, n, a, s, o, u, p = (
|
|
807
815
|
/*$_*/
|
|
808
816
|
i[24](`${/*txnInfo*/
|
|
@@ -814,7 +822,7 @@ function je(i) {
|
|
|
814
822
|
), y;
|
|
815
823
|
return {
|
|
816
824
|
c() {
|
|
817
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o = C("div"), u = C("h3"), f =
|
|
825
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = _(), o = C("div"), u = C("h3"), f = S(p), d = _(), g = C("p"), y = S(k), 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");
|
|
818
826
|
},
|
|
819
827
|
m(w, B) {
|
|
820
828
|
b(w, e, B), c(e, t), c(e, n), c(e, a), b(w, s, B), b(w, o, B), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
|
|
@@ -833,7 +841,7 @@ function je(i) {
|
|
|
833
841
|
}
|
|
834
842
|
};
|
|
835
843
|
}
|
|
836
|
-
function
|
|
844
|
+
function Ee(i) {
|
|
837
845
|
let e, t, n, a, s, o, u, p, f, d = (
|
|
838
846
|
/*$_*/
|
|
839
847
|
i[24](`${/*txnInfo*/
|
|
@@ -848,10 +856,10 @@ function Ze(i) {
|
|
|
848
856
|
), N, Y, i1;
|
|
849
857
|
return {
|
|
850
858
|
c() {
|
|
851
|
-
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p = C("div"), f = C("h3"), g =
|
|
859
|
+
e = E("svg"), t = E("circle"), n = E("rect"), a = E("path"), s = E("path"), o = E("path"), u = _(), p = C("div"), f = C("h3"), g = S(d), k = _(), y = C("p"), B = S(w), U = _(), 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(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
|
|
852
860
|
},
|
|
853
861
|
m(M, H) {
|
|
854
|
-
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, H), b(M, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), b(M, U, H), b(M, Z, H), c(Z, N), Y || (i1 =
|
|
862
|
+
b(M, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), b(M, u, H), b(M, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), b(M, U, H), b(M, Z, H), c(Z, N), Y || (i1 = S1(
|
|
855
863
|
Z,
|
|
856
864
|
"click",
|
|
857
865
|
/*getPaymentInfo*/
|
|
@@ -874,7 +882,7 @@ function Ze(i) {
|
|
|
874
882
|
}
|
|
875
883
|
};
|
|
876
884
|
}
|
|
877
|
-
function
|
|
885
|
+
function Ne(i) {
|
|
878
886
|
let e, t, n, a, s, o, u = (
|
|
879
887
|
/*$_*/
|
|
880
888
|
i[24](`${/*txnInfo*/
|
|
@@ -886,7 +894,7 @@ function Ve(i) {
|
|
|
886
894
|
), k;
|
|
887
895
|
return {
|
|
888
896
|
c() {
|
|
889
|
-
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s = C("div"), o = C("h3"), p =
|
|
897
|
+
e = E("svg"), t = E("circle"), n = E("path"), a = _(), s = C("div"), o = C("h3"), p = S(u), f = _(), d = C("p"), k = 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");
|
|
890
898
|
},
|
|
891
899
|
m(y, w) {
|
|
892
900
|
b(y, e, w), c(e, t), c(e, n), b(y, a, w), b(y, s, w), c(s, o), c(o, p), c(s, f), c(s, d), c(d, k);
|
|
@@ -906,7 +914,7 @@ function Ve(i) {
|
|
|
906
914
|
};
|
|
907
915
|
}
|
|
908
916
|
function X1(i) {
|
|
909
|
-
let e, t =
|
|
917
|
+
let e, t = D1(
|
|
910
918
|
/*displayedButtons*/
|
|
911
919
|
i[12]
|
|
912
920
|
), n = [];
|
|
@@ -926,7 +934,7 @@ function X1(i) {
|
|
|
926
934
|
p(a, s) {
|
|
927
935
|
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
928
936
|
285216768) {
|
|
929
|
-
t =
|
|
937
|
+
t = D1(
|
|
930
938
|
/*displayedButtons*/
|
|
931
939
|
a[12]
|
|
932
940
|
);
|
|
@@ -964,11 +972,11 @@ function J1(i) {
|
|
|
964
972
|
}
|
|
965
973
|
return {
|
|
966
974
|
c() {
|
|
967
|
-
e = C("button"), t = C("div"), a = _(), o =
|
|
975
|
+
e = C("button"), t = C("div"), a = _(), o = S(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
|
|
968
976
|
i[73].type} GoToButton`);
|
|
969
977
|
},
|
|
970
978
|
m(y, w) {
|
|
971
|
-
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d =
|
|
979
|
+
b(y, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = S1(e, "click", g), f = !0);
|
|
972
980
|
},
|
|
973
981
|
p(y, w) {
|
|
974
982
|
var B;
|
|
@@ -986,14 +994,14 @@ function J1(i) {
|
|
|
986
994
|
}
|
|
987
995
|
};
|
|
988
996
|
}
|
|
989
|
-
function
|
|
997
|
+
function Ye(i) {
|
|
990
998
|
let e = (
|
|
991
999
|
/*$_*/
|
|
992
1000
|
i[24]("backHome") + ""
|
|
993
1001
|
), t;
|
|
994
1002
|
return {
|
|
995
1003
|
c() {
|
|
996
|
-
t =
|
|
1004
|
+
t = S(e);
|
|
997
1005
|
},
|
|
998
1006
|
m(n, a) {
|
|
999
1007
|
b(n, t, a);
|
|
@@ -1008,7 +1016,7 @@ function Ee(i) {
|
|
|
1008
1016
|
}
|
|
1009
1017
|
};
|
|
1010
1018
|
}
|
|
1011
|
-
function
|
|
1019
|
+
function Ke(i) {
|
|
1012
1020
|
let e = (
|
|
1013
1021
|
/*$_*/
|
|
1014
1022
|
i[24](`back${/*txnInfo*/
|
|
@@ -1016,7 +1024,7 @@ function Ne(i) {
|
|
|
1016
1024
|
), t;
|
|
1017
1025
|
return {
|
|
1018
1026
|
c() {
|
|
1019
|
-
t =
|
|
1027
|
+
t = S(e);
|
|
1020
1028
|
},
|
|
1021
1029
|
m(n, a) {
|
|
1022
1030
|
b(n, t, a);
|
|
@@ -1033,7 +1041,7 @@ function Ne(i) {
|
|
|
1033
1041
|
};
|
|
1034
1042
|
}
|
|
1035
1043
|
function $1(i) {
|
|
1036
|
-
let e, t =
|
|
1044
|
+
let e, t = D1(
|
|
1037
1045
|
/*receiptFields*/
|
|
1038
1046
|
i[16]
|
|
1039
1047
|
), n = [];
|
|
@@ -1053,7 +1061,7 @@ function $1(i) {
|
|
|
1053
1061
|
p(a, s) {
|
|
1054
1062
|
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1055
1063
|
537214976) {
|
|
1056
|
-
t =
|
|
1064
|
+
t = D1(
|
|
1057
1065
|
/*receiptFields*/
|
|
1058
1066
|
a[16]
|
|
1059
1067
|
);
|
|
@@ -1072,14 +1080,14 @@ function $1(i) {
|
|
|
1072
1080
|
}
|
|
1073
1081
|
};
|
|
1074
1082
|
}
|
|
1075
|
-
function
|
|
1083
|
+
function Ue(i) {
|
|
1076
1084
|
let e, t = (
|
|
1077
1085
|
/*field*/
|
|
1078
1086
|
i[70].defaultValue + ""
|
|
1079
1087
|
), n;
|
|
1080
1088
|
return {
|
|
1081
1089
|
c() {
|
|
1082
|
-
e = C("span"), n =
|
|
1090
|
+
e = C("span"), n = S(t), l(e, "class", "Label");
|
|
1083
1091
|
},
|
|
1084
1092
|
m(a, s) {
|
|
1085
1093
|
b(a, e, s), c(e, n);
|
|
@@ -1094,10 +1102,10 @@ function Ye(i) {
|
|
|
1094
1102
|
}
|
|
1095
1103
|
};
|
|
1096
1104
|
}
|
|
1097
|
-
function
|
|
1105
|
+
function Oe(i) {
|
|
1098
1106
|
return { c: p1, m: p1, p: p1, d: p1 };
|
|
1099
1107
|
}
|
|
1100
|
-
function
|
|
1108
|
+
function Fe(i) {
|
|
1101
1109
|
let e, t = (
|
|
1102
1110
|
/*field*/
|
|
1103
1111
|
i[70].description + ""
|
|
@@ -1107,7 +1115,7 @@ function Ue(i) {
|
|
|
1107
1115
|
), u, p;
|
|
1108
1116
|
return {
|
|
1109
1117
|
c() {
|
|
1110
|
-
e = C("span"), n =
|
|
1118
|
+
e = C("span"), n = S(t), a = _(), s = C("a"), u = S(o), l(s, "href", p = /*field*/
|
|
1111
1119
|
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1112
1120
|
},
|
|
1113
1121
|
m(f, d) {
|
|
@@ -1127,11 +1135,11 @@ function Ue(i) {
|
|
|
1127
1135
|
}
|
|
1128
1136
|
};
|
|
1129
1137
|
}
|
|
1130
|
-
function
|
|
1138
|
+
function Ge(i) {
|
|
1131
1139
|
let e, t, n;
|
|
1132
1140
|
return {
|
|
1133
1141
|
c() {
|
|
1134
|
-
e = C("img"),
|
|
1142
|
+
e = C("img"), V1(e.src, t = /*field*/
|
|
1135
1143
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1136
1144
|
i[70].description), l(e, "alt", "");
|
|
1137
1145
|
},
|
|
@@ -1140,7 +1148,7 @@ function Oe(i) {
|
|
|
1140
1148
|
},
|
|
1141
1149
|
p(a, s) {
|
|
1142
1150
|
s[0] & /*receiptFields*/
|
|
1143
|
-
65536 && !
|
|
1151
|
+
65536 && !V1(e.src, t = /*field*/
|
|
1144
1152
|
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1145
1153
|
65536 && n !== (n = /*field*/
|
|
1146
1154
|
a[70].description) && l(e, "title", n);
|
|
@@ -1150,7 +1158,7 @@ function Oe(i) {
|
|
|
1150
1158
|
}
|
|
1151
1159
|
};
|
|
1152
1160
|
}
|
|
1153
|
-
function
|
|
1161
|
+
function qe(i) {
|
|
1154
1162
|
let e, t = (
|
|
1155
1163
|
/*field*/
|
|
1156
1164
|
i[70].defaultValue + ""
|
|
@@ -1172,7 +1180,7 @@ function Fe(i) {
|
|
|
1172
1180
|
}
|
|
1173
1181
|
};
|
|
1174
1182
|
}
|
|
1175
|
-
function
|
|
1183
|
+
function Qe(i) {
|
|
1176
1184
|
let e, t, n = (
|
|
1177
1185
|
/*field*/
|
|
1178
1186
|
i[70].defaultValue + ""
|
|
@@ -1188,10 +1196,10 @@ function Ge(i) {
|
|
|
1188
1196
|
}
|
|
1189
1197
|
return {
|
|
1190
1198
|
c() {
|
|
1191
|
-
e = C("div"), t = C("div"), a =
|
|
1199
|
+
e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
|
|
1192
1200
|
},
|
|
1193
1201
|
m(p, f) {
|
|
1194
|
-
b(p, e, f), c(e, t), c(t, a), i[47](t), s || (o =
|
|
1202
|
+
b(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = S1(e, "click", u), s = !0);
|
|
1195
1203
|
},
|
|
1196
1204
|
p(p, f) {
|
|
1197
1205
|
i = p, f[0] & /*receiptFields*/
|
|
@@ -1209,19 +1217,19 @@ function ee(i) {
|
|
|
1209
1217
|
return (
|
|
1210
1218
|
/*field*/
|
|
1211
1219
|
o[70].type === /*FieldTypes*/
|
|
1212
|
-
o[14].QRCode ?
|
|
1220
|
+
o[14].QRCode ? Qe : (
|
|
1213
1221
|
/*field*/
|
|
1214
1222
|
o[70].type === /*FieldTypes*/
|
|
1215
|
-
o[14].Html ?
|
|
1223
|
+
o[14].Html ? qe : (
|
|
1216
1224
|
/*field*/
|
|
1217
1225
|
o[70].type === /*FieldTypes*/
|
|
1218
|
-
o[14].Image ?
|
|
1226
|
+
o[14].Image ? Ge : (
|
|
1219
1227
|
/*field*/
|
|
1220
1228
|
o[70].type === /*FieldTypes*/
|
|
1221
|
-
o[14].Link ?
|
|
1229
|
+
o[14].Link ? Fe : (
|
|
1222
1230
|
/*field*/
|
|
1223
1231
|
o[70].type === /*FieldTypes*/
|
|
1224
|
-
o[14].Hidden ?
|
|
1232
|
+
o[14].Hidden ? Oe : Ue
|
|
1225
1233
|
)
|
|
1226
1234
|
)
|
|
1227
1235
|
)
|
|
@@ -1244,12 +1252,12 @@ function ee(i) {
|
|
|
1244
1252
|
}
|
|
1245
1253
|
};
|
|
1246
1254
|
}
|
|
1247
|
-
function
|
|
1255
|
+
function Xe(i) {
|
|
1248
1256
|
let e;
|
|
1249
1257
|
function t(s, o) {
|
|
1250
1258
|
return (
|
|
1251
1259
|
/*isLoading*/
|
|
1252
|
-
s[11] ?
|
|
1260
|
+
s[11] ? Ae : ze
|
|
1253
1261
|
);
|
|
1254
1262
|
}
|
|
1255
1263
|
let n = t(i), a = n(i);
|
|
@@ -1270,41 +1278,41 @@ function qe(i) {
|
|
|
1270
1278
|
}
|
|
1271
1279
|
};
|
|
1272
1280
|
}
|
|
1273
|
-
let
|
|
1274
|
-
function
|
|
1281
|
+
let Je = "_blank";
|
|
1282
|
+
function $e(i, e, t) {
|
|
1275
1283
|
let n;
|
|
1276
|
-
|
|
1284
|
+
de(i, xe, (r) => t(24, n = r)), B1.extend(Me);
|
|
1277
1285
|
let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: N = "" } = e, Y = !1, i1, { customsucceessbuttons: M = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: a1 = "" } = e, { currencyposition: d1 = "" } = e, { userroles: O = "" } = e, { windowsize: o1 } = e, { p2p: f1 = "false" } = e, m1 = [], q = [];
|
|
1278
1286
|
var J;
|
|
1279
1287
|
(function(r) {
|
|
1280
1288
|
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1281
1289
|
})(J || (J = {}));
|
|
1282
|
-
var
|
|
1290
|
+
var x;
|
|
1283
1291
|
(function(r) {
|
|
1284
1292
|
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";
|
|
1285
|
-
})(
|
|
1293
|
+
})(x || (x = {}));
|
|
1286
1294
|
const y1 = (r, [P, F]) => [
|
|
1287
1295
|
...r,
|
|
1288
1296
|
...Array.isArray(P) ? [...P.map((W) => [W, F])] : [[P, F]]
|
|
1289
|
-
],
|
|
1290
|
-
[["Unknown", 0],
|
|
1291
|
-
[["Text", 1],
|
|
1292
|
-
[["Boolean", 2],
|
|
1293
|
-
[["Number", 3],
|
|
1294
|
-
[["Money", 4],
|
|
1295
|
-
[["DateTime", 5],
|
|
1296
|
-
[["Lookup", 6],
|
|
1297
|
-
[["IpAddress", 7],
|
|
1298
|
-
[["Date", 8],
|
|
1299
|
-
[["Time", 9],
|
|
1300
|
-
[["LookupCollection", 10],
|
|
1301
|
-
[["Hidden", 11],
|
|
1302
|
-
[["Label", 12],
|
|
1303
|
-
[["Password", 13],
|
|
1304
|
-
[["Link", 14],
|
|
1305
|
-
[["Image", 15],
|
|
1306
|
-
[["Html", 19],
|
|
1307
|
-
[["QR", 20],
|
|
1297
|
+
], x1 = new Map([
|
|
1298
|
+
[["Unknown", 0], x.Unknown],
|
|
1299
|
+
[["Text", 1], x.Text],
|
|
1300
|
+
[["Boolean", 2], x.Boolean],
|
|
1301
|
+
[["Number", 3], x.Number],
|
|
1302
|
+
[["Money", 4], x.Money],
|
|
1303
|
+
[["DateTime", 5], x.DateTime],
|
|
1304
|
+
[["Lookup", 6], x.Lookup],
|
|
1305
|
+
[["IpAddress", 7], x.IpAddress],
|
|
1306
|
+
[["Date", 8], x.Date],
|
|
1307
|
+
[["Time", 9], x.Time],
|
|
1308
|
+
[["LookupCollection", 10], x.LookupCollection],
|
|
1309
|
+
[["Hidden", 11], x.Hidden],
|
|
1310
|
+
[["Label", 12], x.Label],
|
|
1311
|
+
[["Password", 13], x.Password],
|
|
1312
|
+
[["Link", 14], x.Link],
|
|
1313
|
+
[["Image", 15], x.Image],
|
|
1314
|
+
[["Html", 19], x.Html],
|
|
1315
|
+
[["QR", 20], x.QRCode]
|
|
1308
1316
|
].reduce(y1, []));
|
|
1309
1317
|
let D, s1 = [], v1, A, $ = [], e1, r1, l1 = "", _1 = window.navigator.userAgent, c1 = !1;
|
|
1310
1318
|
const C1 = {
|
|
@@ -1368,9 +1376,9 @@ function Xe(i, e, t) {
|
|
|
1368
1376
|
C1[F.trim()] && m1.push(C1[F.trim()]);
|
|
1369
1377
|
});
|
|
1370
1378
|
}, n1 = () => {
|
|
1371
|
-
|
|
1379
|
+
Le(o);
|
|
1372
1380
|
};
|
|
1373
|
-
|
|
1381
|
+
fe(() => (window.addEventListener("message", g1, !1), me(u, a1, d1, y), () => {
|
|
1374
1382
|
window.removeEventListener("message", g1);
|
|
1375
1383
|
}));
|
|
1376
1384
|
const g1 = (r) => {
|
|
@@ -1406,7 +1414,7 @@ function Xe(i, e, t) {
|
|
|
1406
1414
|
);
|
|
1407
1415
|
}, h1 = () => {
|
|
1408
1416
|
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), P = new Headers();
|
|
1409
|
-
P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${s}`), P.append("X-Client-Request-Timestamp",
|
|
1417
|
+
P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${s}`), P.append("X-Client-Request-Timestamp", B1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && P.append("MM_CHANNEL", "BETA");
|
|
1410
1418
|
const F = {
|
|
1411
1419
|
method: "POST",
|
|
1412
1420
|
headers: P,
|
|
@@ -1427,16 +1435,16 @@ function Xe(i, e, t) {
|
|
|
1427
1435
|
currency: (I1 = W.Transaction.Amounts[0]) == null ? void 0 : I1.Currency,
|
|
1428
1436
|
time: W.Transaction.Status.Created
|
|
1429
1437
|
}), t(16, s1 = W.ReceiptInfo && W.ReceiptInfo.ReceiptFields ? W.ReceiptInfo.ReceiptFields.map((w1) => ({
|
|
1430
|
-
type:
|
|
1438
|
+
type: x1.get(w1.Type),
|
|
1431
1439
|
name: w1.Name,
|
|
1432
1440
|
description: w1.Description,
|
|
1433
1441
|
defaultValue: w1.DefaultValue,
|
|
1434
1442
|
useCopyButton: w1.UseCopyButton,
|
|
1435
1443
|
usePrintButton: w1.UsePrintButton
|
|
1436
|
-
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(
|
|
1444
|
+
})) : []), W.ReceiptInfo && W.ReceiptInfo.ReceiptFields && !N && t(0, N = s1[0].defaultValue), n(Be(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = Ce(Number(D.amount), D.currency)), D.status) {
|
|
1437
1445
|
case "Voided":
|
|
1438
1446
|
case "Success":
|
|
1439
|
-
t1(M || "casino, livecasino, tournaments"), t(21, l1 = "success"),
|
|
1447
|
+
t1(M || "casino, livecasino, tournaments"), t(21, l1 = "success"), E1(
|
|
1440
1448
|
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1441
1449
|
{
|
|
1442
1450
|
userID: g,
|
|
@@ -1457,7 +1465,7 @@ function Xe(i, e, t) {
|
|
|
1457
1465
|
case "Rejected":
|
|
1458
1466
|
case "Cancelled":
|
|
1459
1467
|
case "Failed":
|
|
1460
|
-
t1(X || "casino, livecasino, tournaments"), t(21, l1 = D.status.toLowerCase()),
|
|
1468
|
+
t1(X || "casino, livecasino, tournaments"), t(21, l1 = D.status.toLowerCase()), E1(
|
|
1461
1469
|
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1462
1470
|
{
|
|
1463
1471
|
userID: g,
|
|
@@ -1470,7 +1478,7 @@ function Xe(i, e, t) {
|
|
|
1470
1478
|
default:
|
|
1471
1479
|
t1("close");
|
|
1472
1480
|
}
|
|
1473
|
-
d ?
|
|
1481
|
+
d ? De(d, D.status) : Pe(D.status);
|
|
1474
1482
|
}).finally(() => t(11, Y = !1));
|
|
1475
1483
|
}, T1 = (r) => {
|
|
1476
1484
|
window.postMessage({ type: r }, window.location.href);
|
|
@@ -1479,7 +1487,7 @@ function Xe(i, e, t) {
|
|
|
1479
1487
|
{
|
|
1480
1488
|
type: "NavigateTo",
|
|
1481
1489
|
path: r,
|
|
1482
|
-
target:
|
|
1490
|
+
target: Je,
|
|
1483
1491
|
externalLink: !1
|
|
1484
1492
|
},
|
|
1485
1493
|
window.location.href
|
|
@@ -1503,7 +1511,7 @@ function Xe(i, e, t) {
|
|
|
1503
1511
|
O.length > 0 && (q = O.split(","));
|
|
1504
1512
|
}, b1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1505
1513
|
function j(r) {
|
|
1506
|
-
|
|
1514
|
+
A1[r ? "unshift" : "push"](() => {
|
|
1507
1515
|
$[$.length] = r, t(18, $);
|
|
1508
1516
|
});
|
|
1509
1517
|
}
|
|
@@ -1511,7 +1519,7 @@ function Xe(i, e, t) {
|
|
|
1511
1519
|
R1(r.description);
|
|
1512
1520
|
};
|
|
1513
1521
|
function v(r) {
|
|
1514
|
-
|
|
1522
|
+
A1[r ? "unshift" : "push"](() => {
|
|
1515
1523
|
A = r, t(10, A);
|
|
1516
1524
|
});
|
|
1517
1525
|
}
|
|
@@ -1524,10 +1532,10 @@ function Xe(i, e, t) {
|
|
|
1524
1532
|
6 && a && s && g && k && p && h1(), i.$$.dirty[0] & /*lang*/
|
|
1525
1533
|
8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1526
1534
|
24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1527
|
-
1152 && B && A &&
|
|
1528
|
-
1280 && U && A &&
|
|
1535
|
+
1152 && B && A && ke(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1536
|
+
1280 && U && A && Te(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1529
1537
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1530
|
-
32 && Z && A &&
|
|
1538
|
+
32 && Z && A && Re(A, `${Z}.Style`, i1);
|
|
1531
1539
|
}, [
|
|
1532
1540
|
N,
|
|
1533
1541
|
a,
|
|
@@ -1543,7 +1551,7 @@ function Xe(i, e, t) {
|
|
|
1543
1551
|
Y,
|
|
1544
1552
|
m1,
|
|
1545
1553
|
J,
|
|
1546
|
-
|
|
1554
|
+
x,
|
|
1547
1555
|
D,
|
|
1548
1556
|
s1,
|
|
1549
1557
|
v1,
|
|
@@ -1581,14 +1589,14 @@ function Xe(i, e, t) {
|
|
|
1581
1589
|
v
|
|
1582
1590
|
];
|
|
1583
1591
|
}
|
|
1584
|
-
class
|
|
1592
|
+
class ie extends le {
|
|
1585
1593
|
constructor(e) {
|
|
1586
|
-
super(),
|
|
1594
|
+
super(), ce(
|
|
1587
1595
|
this,
|
|
1588
1596
|
e,
|
|
1597
|
+
$e,
|
|
1589
1598
|
Xe,
|
|
1590
|
-
|
|
1591
|
-
le,
|
|
1599
|
+
ue,
|
|
1592
1600
|
{
|
|
1593
1601
|
endpoint: 1,
|
|
1594
1602
|
session: 2,
|
|
@@ -1615,7 +1623,7 @@ class Je extends se {
|
|
|
1615
1623
|
windowsize: 43,
|
|
1616
1624
|
p2p: 44
|
|
1617
1625
|
},
|
|
1618
|
-
|
|
1626
|
+
Ie,
|
|
1619
1627
|
[-1, -1, -1]
|
|
1620
1628
|
);
|
|
1621
1629
|
}
|
|
@@ -1764,7 +1772,12 @@ class Je extends se {
|
|
|
1764
1772
|
this.$$set({ p2p: e }), L();
|
|
1765
1773
|
}
|
|
1766
1774
|
}
|
|
1767
|
-
|
|
1775
|
+
Se(ie, { 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);
|
|
1776
|
+
const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1777
|
+
__proto__: null,
|
|
1778
|
+
default: ie
|
|
1779
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1768
1780
|
export {
|
|
1769
|
-
|
|
1781
|
+
it as C,
|
|
1782
|
+
N1 as f
|
|
1770
1783
|
};
|