@everymatrix/cashier-method-details 1.91.0 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierError-DJfQFcVf.js → CashierError-BrZtMjJY.js} +341 -215
- package/components/CashierError-Cs-lNYBK.cjs +1 -0
- package/components/{CashierError-D0LldXrs.js → CashierError-Cx5OOg7y.js} +341 -215
- package/components/CashierMethodDetails-BO47DuXw.cjs +107 -0
- package/components/{CashierMethodDetails-DSOnh9q4.js → CashierMethodDetails-BV-S2eW2.js} +4076 -4134
- package/components/{CashierMethodDetails-vOhazmd3.js → CashierMethodDetails-DyXJrHBf.js} +3954 -4012
- package/components/{CashierModal-DkMVhPaC.js → CashierModal-C0Kre2i-.js} +1 -1
- package/components/{CashierModal-qMskFOc5.cjs → CashierModal-CG4GN6W1.cjs} +1 -1
- package/components/{CashierModal-BsDkd1k1.js → CashierModal-Dg7y1FQb.js} +1 -1
- package/components/{CashierNotifications-CFwaDN4E.js → CashierNotifications-C7YJkM6t.js} +1 -1
- package/components/{CashierNotifications-8TlXiQdv.cjs → CashierNotifications-D07f9DdN.cjs} +1 -1
- package/components/{CashierNotifications-DeXuE6Tm.js → CashierNotifications-SL-GMlg2.js} +1 -1
- package/components/{CashierReceiptPage-G5XDDdlW.js → CashierReceiptPage-BK4bTCt7.js} +518 -521
- package/components/{CashierReceiptPage-CrA2COKd.js → CashierReceiptPage-CaKvbjU7.js} +537 -540
- package/components/CashierReceiptPage-DqFkFfoH.cjs +26 -0
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-DBBMk1d-.cjs +0 -1
- package/components/CashierMethodDetails-D5r2zR2n.cjs +0 -107
- package/components/CashierReceiptPage-DntKDCvX.cjs +0 -28
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
function
|
|
1
|
+
import { H as J1, o as $1, p as ee, $ as te, S as ne, i as ie, s as ae, f as L, a as oe, n as d1, d as h, e as b, h as C, k as l, y as se, D as re, I as L1, J as le, z as ce, K as ue, L as P1, m as W1, M as H1, u as I1, N as pe, r as de, O as fe, g as c, j as k, P as me, Q as Ce, R as ge, b as R, t as S, C as T, T as he, l as S1, A as B1, U as D1, V as Q1, W as E, B as z1, X as be, E as we, F as ye, G as ve, c as _e } from "./CashierMethodDetails-DyXJrHBf.js";
|
|
2
|
+
function A1(i, { delay: e = 0, duration: t = 400, easing: n = J1 } = {}) {
|
|
3
3
|
const a = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: e,
|
|
6
6
|
duration: t,
|
|
7
7
|
easing: n,
|
|
8
|
-
css: (
|
|
8
|
+
css: (s) => `opacity: ${s * a}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
11
|
+
function j1(i, e) {
|
|
12
|
+
$1(i, e);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function ke(i) {
|
|
15
|
+
ee({
|
|
16
16
|
fallbackLocale: "en"
|
|
17
|
-
}),
|
|
17
|
+
}), te.set(i);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const V1 = {
|
|
20
20
|
en: {
|
|
21
21
|
amount: "Amount",
|
|
22
22
|
status: "Status",
|
|
@@ -293,7 +293,7 @@ const j1 = {
|
|
|
293
293
|
uploadDocuments: "Télécharger des documents",
|
|
294
294
|
goToHomepage: "Aller à la page d’accueil"
|
|
295
295
|
}
|
|
296
|
-
},
|
|
296
|
+
}, Te = (i, e) => `${i + xe[e]}`, Re = (i, e) => `${Me[e]}.${X1[i]}.text`, Se = (i) => `${X1[`${i}`]}`, xe = {
|
|
297
297
|
Success: "/txn-success.png",
|
|
298
298
|
Voided: "/txn-success.png",
|
|
299
299
|
Rejected: "/txn-failed.png",
|
|
@@ -305,10 +305,10 @@ const j1 = {
|
|
|
305
305
|
PendingApprovalStage2: "/txn-pending.png",
|
|
306
306
|
PendingApprovalStage3: "/txn-pending.png",
|
|
307
307
|
PendingOfflineNotification: "/txn-pending.png"
|
|
308
|
-
},
|
|
308
|
+
}, Me = {
|
|
309
309
|
Deposit: "deposit",
|
|
310
310
|
Withdraw: "withdrawal"
|
|
311
|
-
},
|
|
311
|
+
}, X1 = {
|
|
312
312
|
Success: "success",
|
|
313
313
|
Voided: "success",
|
|
314
314
|
Rejected: "reject",
|
|
@@ -348,151 +348,148 @@ const j1 = {
|
|
|
348
348
|
<path d="M20.9099 12.4008C20.8843 12.5256 20.8459 12.6472 20.8299 12.772C20.8107 12.8872 20.7659 12.9576 20.6283 12.948C20.4523 12.9384 20.2763 12.9448 20.1035 12.9448C20.0107 12.9448 19.9691 12.9864 19.9563 13.0792C19.9019 13.4792 19.8443 13.876 19.7867 14.2728C19.7387 14.6024 19.6843 14.932 19.6331 15.2648C19.5147 15.2776 19.3995 15.2968 19.2843 15.3C19.1659 15.3032 19.0443 15.2904 18.9323 15.2808C18.8619 14.9896 18.9195 14.7176 18.9579 14.452C19.0219 13.9976 19.0923 13.54 19.1691 13.0888C19.1883 12.9736 19.1435 12.9512 19.0539 12.9512C18.8427 12.9512 18.6315 12.9512 18.4139 12.9512C18.3563 12.7016 18.4331 12.4744 18.4907 12.2472C18.5003 12.2184 18.5771 12.1832 18.6251 12.1832C19.3419 12.1768 20.0587 12.1768 20.7755 12.18C20.8203 12.18 20.8715 12.2184 20.9163 12.2408C20.9099 12.292 20.9099 12.3464 20.9099 12.4008Z" fill="#0F4D00"/>
|
|
349
349
|
<path d="M11.6587 15.2872C11.7579 15.172 11.8347 15.0888 11.9051 14.9992C11.9979 14.884 12.0939 14.7656 12.1707 14.6376C12.2155 14.5672 12.2571 14.5512 12.3307 14.5512C12.8363 14.5544 13.3387 14.5576 13.8443 14.548C13.9275 14.5448 14.0299 14.5064 14.0939 14.4488C14.2155 14.3464 14.1643 14.1736 14.0075 14.1352C13.9627 14.1224 13.9083 14.1224 13.8603 14.1224C13.4315 14.1224 13.0027 14.1224 12.5771 14.1224C12.5291 14.1224 12.4779 14.1224 12.4107 14.1224C12.4235 14.036 12.4363 13.9688 12.4395 13.8984C12.4523 13.7736 12.4619 13.6488 12.4715 13.524C12.4811 13.4056 12.5355 13.3544 12.6635 13.3576C13.0315 13.3672 13.4027 13.364 13.7739 13.3608C13.8571 13.3608 13.9435 13.3544 14.0299 13.3352C14.1515 13.3096 14.2155 13.2232 14.2027 13.1016C14.1931 12.9768 14.1035 12.948 13.9915 12.9448C13.5339 12.9416 13.0731 12.9352 12.6123 12.9416C12.4971 12.9416 12.4299 12.9 12.3819 12.8008C12.3019 12.644 12.2123 12.4904 12.1259 12.3368C12.1035 12.2984 12.0907 12.2568 12.0747 12.2184C12.1195 12.2024 12.1643 12.1736 12.2091 12.1736C12.6827 12.1704 13.1563 12.1704 13.6267 12.1704C13.8603 12.1704 14.0971 12.1768 14.3307 12.1768C14.6795 12.1768 15.0123 12.4008 15.0539 12.7944C15.0795 13.0312 14.8491 13.428 14.5995 13.5496C14.5547 13.572 14.5131 13.5944 14.4491 13.6296C14.5227 13.6744 14.5739 13.7096 14.6315 13.7384C14.9387 13.8952 14.9867 14.0968 14.9515 14.4168C14.8939 14.9128 14.4331 15.2584 13.9691 15.2744C13.2523 15.2968 12.5355 15.2968 11.8219 15.3032C11.7771 15.3032 11.7323 15.2968 11.6587 15.2872Z" fill="#0F4D00"/>
|
|
350
350
|
</svg>
|
|
351
|
-
|
|
352
|
-
SportsButton: `<svg width="24" height="22" viewBox="0 0 24 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
353
|
-
<path d="M9.96379 19.4905L10.2758 18.0345C10.3278 17.8092 10.4361 17.6228 10.6008 17.4755C10.7655 17.3282 10.9691 17.2372 11.2118 17.2025L14.4358 16.9425C14.6611 16.9078 14.8691 16.9512 15.0598 17.0725C15.2505 17.1938 15.3891 17.3585 15.4758 17.5665L15.8918 18.5545C16.5678 18.1558 17.1745 17.6748 17.7118 17.1115C18.2491 16.5482 18.6998 15.9198 19.0638 15.2265L18.7518 15.0705C18.5611 14.9318 18.4225 14.7628 18.3358 14.5635C18.2491 14.3642 18.2318 14.1518 18.2838 13.9265L19.0118 10.7545C19.0638 10.5465 19.1721 10.3732 19.3368 10.2345C19.5015 10.0958 19.6878 10.0092 19.8958 9.97452C19.8091 9.54118 19.7008 9.12085 19.5708 8.71352C19.4408 8.30618 19.2718 7.91185 19.0638 7.53052C18.9078 7.61718 18.7388 7.65618 18.5568 7.64752C18.3748 7.63885 18.2145 7.58252 18.0758 7.47852L15.3198 5.81452C15.1291 5.69318 14.9905 5.52852 14.9038 5.32052C14.8171 5.11252 14.7998 4.89585 14.8518 4.67052L15.0598 3.78652C14.5225 3.54385 13.9721 3.36185 13.4088 3.24052C12.8455 3.11918 12.2691 3.05852 11.6798 3.05852C11.4371 3.05852 11.1858 3.07152 10.9258 3.09752C10.6658 3.12352 10.4145 3.16252 10.1718 3.21452L10.9518 4.98252C11.0385 5.19052 11.0601 5.40718 11.0168 5.63252C10.9735 5.85785 10.8651 6.03985 10.6918 6.17852L8.24779 8.31052C8.07445 8.46652 7.87079 8.55318 7.63679 8.57052C7.40279 8.58785 7.19045 8.53585 6.99979 8.41452L4.60779 6.95852C4.20912 7.61718 3.90145 8.32352 3.68479 9.07752C3.46812 9.83152 3.35979 10.5985 3.35979 11.3785C3.35979 11.6558 3.39445 12.1065 3.46379 12.7305L5.75179 12.5225C5.99445 12.4878 6.21545 12.5268 6.41479 12.6395C6.61412 12.7522 6.75712 12.9212 6.84379 13.1465L8.09179 16.1105C8.17845 16.3185 8.20012 16.5352 8.15679 16.7605C8.11345 16.9858 8.00512 17.1678 7.83179 17.3065L6.84379 18.1385C7.31179 18.4852 7.81012 18.7712 8.33879 18.9965C8.86745 19.2218 9.40912 19.3865 9.96379 19.4905ZM11.8358 15.0185C11.6105 15.0532 11.4025 15.0098 11.2118 14.8885C11.0211 14.7672 10.8825 14.6025 10.7958 14.3945L9.39179 11.1705C9.30512 10.9625 9.29212 10.7458 9.35279 10.5205C9.41345 10.2952 9.53045 10.1132 9.70379 9.97452L12.3558 7.73852C12.5118 7.58252 12.7025 7.49585 12.9278 7.47852C13.1531 7.46118 13.3611 7.51318 13.5518 7.63452L16.4638 9.35052C16.6545 9.47185 16.8018 9.63652 16.9058 9.84452C17.0098 10.0525 17.0358 10.2692 16.9838 10.4945L16.1518 13.8745C16.0998 14.0998 15.9958 14.2862 15.8398 14.4335C15.6838 14.5808 15.4931 14.6718 15.2678 14.7065L11.8358 15.0185ZM11.6798 21.7785C10.2411 21.7785 8.88912 21.5055 7.62379 20.9595C6.35845 20.4135 5.25779 19.6725 4.32179 18.7365C3.38579 17.8005 2.64479 16.6998 2.09879 15.4345C1.55279 14.1692 1.27979 12.8172 1.27979 11.3785C1.27979 9.93985 1.55279 8.58785 2.09879 7.32252C2.64479 6.05718 3.38579 4.95652 4.32179 4.02052C5.25779 3.08452 6.35845 2.34352 7.62379 1.79752C8.88912 1.25152 10.2411 0.978516 11.6798 0.978516C13.1185 0.978516 14.4705 1.25152 15.7358 1.79752C17.0011 2.34352 18.1018 3.08452 19.0378 4.02052C19.9738 4.95652 20.7148 6.05718 21.2608 7.32252C21.8068 8.58785 22.0798 9.93985 22.0798 11.3785C22.0798 12.8172 21.8068 14.1692 21.2608 15.4345C20.7148 16.6998 19.9738 17.8005 19.0378 18.7365C18.1018 19.6725 17.0011 20.4135 15.7358 20.9595C14.4705 21.5055 13.1185 21.7785 11.6798 21.7785Z" />
|
|
354
|
-
</svg>`
|
|
351
|
+
`
|
|
355
352
|
};
|
|
356
|
-
function
|
|
357
|
-
|
|
353
|
+
function Le(i) {
|
|
354
|
+
oe(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)}');
|
|
358
355
|
}
|
|
359
|
-
function
|
|
356
|
+
function E1(i, e, t) {
|
|
360
357
|
const n = i.slice();
|
|
361
358
|
return n[70] = e[t], n[72] = t, n;
|
|
362
359
|
}
|
|
363
|
-
function
|
|
360
|
+
function N1(i, e, t) {
|
|
364
361
|
const n = i.slice();
|
|
365
362
|
return n[73] = e[t], n;
|
|
366
363
|
}
|
|
367
|
-
function
|
|
368
|
-
let e, t, n =
|
|
364
|
+
function De(i) {
|
|
365
|
+
let e, t, n = H1(
|
|
369
366
|
/*userAgent*/
|
|
370
367
|
i[25]
|
|
371
368
|
) && /*showverifications*/
|
|
372
369
|
i[9] && /*displayVerifications*/
|
|
373
|
-
i[22], a,
|
|
370
|
+
i[22], a, s = (
|
|
374
371
|
/*copied*/
|
|
375
|
-
i[23] &&
|
|
376
|
-
),
|
|
372
|
+
i[23] && Y1(i)
|
|
373
|
+
), o = n && K1(i);
|
|
377
374
|
function p(u, g) {
|
|
378
375
|
if (
|
|
379
376
|
/*txnInfo*/
|
|
380
377
|
u[15]
|
|
381
378
|
)
|
|
382
|
-
return
|
|
379
|
+
return We;
|
|
383
380
|
if (
|
|
384
381
|
/*errorResponseCode*/
|
|
385
382
|
u[19] && !/*showErrorOutsideReceiptPage*/
|
|
386
383
|
u[20]
|
|
387
384
|
)
|
|
388
|
-
return
|
|
385
|
+
return Pe;
|
|
389
386
|
}
|
|
390
|
-
let d = p(i),
|
|
387
|
+
let d = p(i), f = d && d(i);
|
|
391
388
|
return {
|
|
392
389
|
c() {
|
|
393
|
-
|
|
390
|
+
s && s.c(), e = k(), t = C("div"), o && o.c(), a = k(), f && f.c(), l(t, "class", "CashierReceiptPage");
|
|
394
391
|
},
|
|
395
392
|
m(u, g) {
|
|
396
|
-
|
|
393
|
+
s && s.m(u, g), b(u, e, g), b(u, t, g), o && o.m(t, null), c(t, a), f && f.m(t, null);
|
|
397
394
|
},
|
|
398
395
|
p(u, g) {
|
|
399
396
|
/*copied*/
|
|
400
|
-
u[23] ?
|
|
401
|
-
8388608 && I1(
|
|
402
|
-
|
|
403
|
-
}),
|
|
404
|
-
4194816 && (n =
|
|
397
|
+
u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
|
|
398
|
+
8388608 && I1(s, 1)) : (s = Y1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (pe(), de(s, 1, 1, () => {
|
|
399
|
+
s = null;
|
|
400
|
+
}), fe()), g[0] & /*showverifications, displayVerifications*/
|
|
401
|
+
4194816 && (n = H1(
|
|
405
402
|
/*userAgent*/
|
|
406
403
|
u[25]
|
|
407
404
|
) && /*showverifications*/
|
|
408
405
|
u[9] && /*displayVerifications*/
|
|
409
|
-
u[22]), n ?
|
|
406
|
+
u[22]), n ? o ? o.p(u, g) : (o = K1(u), o.c(), o.m(t, a)) : o && (o.d(1), o = null), d === (d = p(u)) && f ? f.p(u, g) : (f && f.d(1), f = d && d(u), f && (f.c(), f.m(t, null)));
|
|
410
407
|
},
|
|
411
408
|
d(u) {
|
|
412
|
-
u && (h(e), h(t)),
|
|
409
|
+
u && (h(e), h(t)), s && s.d(u), o && o.d(), f && f.d();
|
|
413
410
|
}
|
|
414
411
|
};
|
|
415
412
|
}
|
|
416
|
-
function
|
|
413
|
+
function Be(i) {
|
|
417
414
|
let e;
|
|
418
415
|
return {
|
|
419
416
|
c() {
|
|
420
|
-
e =
|
|
417
|
+
e = C("div"), e.innerHTML = '<div class="Spinner"></div>', l(e, "class", "LoadingOverlay");
|
|
421
418
|
},
|
|
422
419
|
m(t, n) {
|
|
423
|
-
|
|
420
|
+
b(t, e, n);
|
|
424
421
|
},
|
|
425
|
-
p:
|
|
422
|
+
p: d1,
|
|
426
423
|
d(t) {
|
|
427
424
|
t && h(e);
|
|
428
425
|
}
|
|
429
426
|
};
|
|
430
427
|
}
|
|
431
|
-
function
|
|
428
|
+
function Y1(i) {
|
|
432
429
|
let e, t = (
|
|
433
430
|
/*$_*/
|
|
434
431
|
i[24]("copyTransactionId") + ""
|
|
435
|
-
), n, a,
|
|
432
|
+
), n, a, s, o;
|
|
436
433
|
return {
|
|
437
434
|
c() {
|
|
438
|
-
e =
|
|
435
|
+
e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
|
|
439
436
|
},
|
|
440
437
|
m(p, d) {
|
|
441
|
-
|
|
438
|
+
b(p, e, d), c(e, n), o = !0;
|
|
442
439
|
},
|
|
443
440
|
p(p, d) {
|
|
444
|
-
(!
|
|
441
|
+
(!o || d[0] & /*$_*/
|
|
445
442
|
16777216) && t !== (t = /*$_*/
|
|
446
|
-
p[24]("copyTransactionId") + "") &&
|
|
443
|
+
p[24]("copyTransactionId") + "") && R(n, t);
|
|
447
444
|
},
|
|
448
445
|
i(p) {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}),
|
|
446
|
+
o || (p && Ce(() => {
|
|
447
|
+
o && (s && s.end(1), a = ge(e, A1, { duration: 100 }), a.start());
|
|
448
|
+
}), o = !0);
|
|
452
449
|
},
|
|
453
450
|
o(p) {
|
|
454
|
-
a && a.invalidate(), p && (
|
|
451
|
+
a && a.invalidate(), p && (s = me(e, A1, { duration: 1e3 })), o = !1;
|
|
455
452
|
},
|
|
456
453
|
d(p) {
|
|
457
|
-
p && h(e), p &&
|
|
454
|
+
p && h(e), p && s && s.end();
|
|
458
455
|
}
|
|
459
456
|
};
|
|
460
457
|
}
|
|
461
|
-
function
|
|
458
|
+
function K1(i) {
|
|
462
459
|
let e;
|
|
463
460
|
return {
|
|
464
461
|
c() {
|
|
465
|
-
e =
|
|
462
|
+
e = C("cashier-verifications"), T(
|
|
466
463
|
e,
|
|
467
464
|
"lang",
|
|
468
465
|
/*lang*/
|
|
469
466
|
i[3]
|
|
470
|
-
),
|
|
467
|
+
), T(
|
|
471
468
|
e,
|
|
472
469
|
"translationurl",
|
|
473
470
|
/*translationurl*/
|
|
474
471
|
i[4]
|
|
475
|
-
),
|
|
472
|
+
), T(
|
|
476
473
|
e,
|
|
477
474
|
"endpoint",
|
|
478
475
|
/*endpoint*/
|
|
479
476
|
i[1]
|
|
480
|
-
),
|
|
477
|
+
), T(
|
|
481
478
|
e,
|
|
482
479
|
"clientstylingurl",
|
|
483
480
|
/*clientstylingurl*/
|
|
484
481
|
i[8]
|
|
485
|
-
),
|
|
482
|
+
), T(
|
|
486
483
|
e,
|
|
487
484
|
"clientstyling",
|
|
488
485
|
/*clientstyling*/
|
|
489
486
|
i[7]
|
|
490
|
-
),
|
|
487
|
+
), T(
|
|
491
488
|
e,
|
|
492
489
|
"customerid",
|
|
493
490
|
/*customerid*/
|
|
494
491
|
i[6]
|
|
495
|
-
),
|
|
492
|
+
), T(
|
|
496
493
|
e,
|
|
497
494
|
"playersession",
|
|
498
495
|
/*session*/
|
|
@@ -500,47 +497,47 @@ function Y1(i) {
|
|
|
500
497
|
);
|
|
501
498
|
},
|
|
502
499
|
m(t, n) {
|
|
503
|
-
|
|
500
|
+
b(t, e, n);
|
|
504
501
|
},
|
|
505
502
|
p(t, n) {
|
|
506
503
|
n[0] & /*lang*/
|
|
507
|
-
8 &&
|
|
504
|
+
8 && T(
|
|
508
505
|
e,
|
|
509
506
|
"lang",
|
|
510
507
|
/*lang*/
|
|
511
508
|
t[3]
|
|
512
509
|
), n[0] & /*translationurl*/
|
|
513
|
-
16 &&
|
|
510
|
+
16 && T(
|
|
514
511
|
e,
|
|
515
512
|
"translationurl",
|
|
516
513
|
/*translationurl*/
|
|
517
514
|
t[4]
|
|
518
515
|
), n[0] & /*endpoint*/
|
|
519
|
-
2 &&
|
|
516
|
+
2 && T(
|
|
520
517
|
e,
|
|
521
518
|
"endpoint",
|
|
522
519
|
/*endpoint*/
|
|
523
520
|
t[1]
|
|
524
521
|
), n[0] & /*clientstylingurl*/
|
|
525
|
-
256 &&
|
|
522
|
+
256 && T(
|
|
526
523
|
e,
|
|
527
524
|
"clientstylingurl",
|
|
528
525
|
/*clientstylingurl*/
|
|
529
526
|
t[8]
|
|
530
527
|
), n[0] & /*clientstyling*/
|
|
531
|
-
128 &&
|
|
528
|
+
128 && T(
|
|
532
529
|
e,
|
|
533
530
|
"clientstyling",
|
|
534
531
|
/*clientstyling*/
|
|
535
532
|
t[7]
|
|
536
533
|
), n[0] & /*customerid*/
|
|
537
|
-
64 &&
|
|
534
|
+
64 && T(
|
|
538
535
|
e,
|
|
539
536
|
"customerid",
|
|
540
537
|
/*customerid*/
|
|
541
538
|
t[6]
|
|
542
539
|
), n[0] & /*session*/
|
|
543
|
-
4 &&
|
|
540
|
+
4 && T(
|
|
544
541
|
e,
|
|
545
542
|
"playersession",
|
|
546
543
|
/*session*/
|
|
@@ -552,40 +549,40 @@ function Y1(i) {
|
|
|
552
549
|
}
|
|
553
550
|
};
|
|
554
551
|
}
|
|
555
|
-
function
|
|
552
|
+
function Pe(i) {
|
|
556
553
|
let e, t = (
|
|
557
554
|
/*errorResponseCode*/
|
|
558
555
|
i[19] === /*ResponseCode*/
|
|
559
|
-
i[13].Maintenance &&
|
|
556
|
+
i[13].Maintenance && U1(i)
|
|
560
557
|
);
|
|
561
558
|
return {
|
|
562
559
|
c() {
|
|
563
|
-
e =
|
|
560
|
+
e = C("cashier-error"), t && t.c(), T(
|
|
564
561
|
e,
|
|
565
562
|
"assetsurl",
|
|
566
563
|
/*assetsurl*/
|
|
567
564
|
i[5]
|
|
568
|
-
),
|
|
565
|
+
), T(
|
|
569
566
|
e,
|
|
570
567
|
"translationurl",
|
|
571
568
|
/*translationurl*/
|
|
572
569
|
i[4]
|
|
573
|
-
),
|
|
570
|
+
), T(
|
|
574
571
|
e,
|
|
575
572
|
"clientstylingurl",
|
|
576
573
|
/*clientstylingurl*/
|
|
577
574
|
i[8]
|
|
578
|
-
),
|
|
575
|
+
), T(
|
|
579
576
|
e,
|
|
580
577
|
"clientstyling",
|
|
581
578
|
/*clientstyling*/
|
|
582
579
|
i[7]
|
|
583
|
-
),
|
|
580
|
+
), T(
|
|
584
581
|
e,
|
|
585
582
|
"lang",
|
|
586
583
|
/*lang*/
|
|
587
584
|
i[3]
|
|
588
|
-
),
|
|
585
|
+
), T(e, "hidebuttons", "true"), T(
|
|
589
586
|
e,
|
|
590
587
|
"errorcode",
|
|
591
588
|
/*errorResponseCode*/
|
|
@@ -593,43 +590,43 @@ function Be(i) {
|
|
|
593
590
|
);
|
|
594
591
|
},
|
|
595
592
|
m(n, a) {
|
|
596
|
-
|
|
593
|
+
b(n, e, a), t && t.m(e, null);
|
|
597
594
|
},
|
|
598
595
|
p(n, a) {
|
|
599
596
|
/*errorResponseCode*/
|
|
600
597
|
n[19] === /*ResponseCode*/
|
|
601
|
-
n[13].Maintenance ? t ? t.p(n, a) : (t =
|
|
602
|
-
32 &&
|
|
598
|
+
n[13].Maintenance ? t ? t.p(n, a) : (t = U1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
|
|
599
|
+
32 && T(
|
|
603
600
|
e,
|
|
604
601
|
"assetsurl",
|
|
605
602
|
/*assetsurl*/
|
|
606
603
|
n[5]
|
|
607
604
|
), a[0] & /*translationurl*/
|
|
608
|
-
16 &&
|
|
605
|
+
16 && T(
|
|
609
606
|
e,
|
|
610
607
|
"translationurl",
|
|
611
608
|
/*translationurl*/
|
|
612
609
|
n[4]
|
|
613
610
|
), a[0] & /*clientstylingurl*/
|
|
614
|
-
256 &&
|
|
611
|
+
256 && T(
|
|
615
612
|
e,
|
|
616
613
|
"clientstylingurl",
|
|
617
614
|
/*clientstylingurl*/
|
|
618
615
|
n[8]
|
|
619
616
|
), a[0] & /*clientstyling*/
|
|
620
|
-
128 &&
|
|
617
|
+
128 && T(
|
|
621
618
|
e,
|
|
622
619
|
"clientstyling",
|
|
623
620
|
/*clientstyling*/
|
|
624
621
|
n[7]
|
|
625
622
|
), a[0] & /*lang*/
|
|
626
|
-
8 &&
|
|
623
|
+
8 && T(
|
|
627
624
|
e,
|
|
628
625
|
"lang",
|
|
629
626
|
/*lang*/
|
|
630
627
|
n[3]
|
|
631
628
|
), a[0] & /*errorResponseCode*/
|
|
632
|
-
524288 &&
|
|
629
|
+
524288 && T(
|
|
633
630
|
e,
|
|
634
631
|
"errorcode",
|
|
635
632
|
/*errorResponseCode*/
|
|
@@ -641,311 +638,311 @@ function Be(i) {
|
|
|
641
638
|
}
|
|
642
639
|
};
|
|
643
640
|
}
|
|
644
|
-
function
|
|
645
|
-
let e, t, n, a,
|
|
641
|
+
function We(i) {
|
|
642
|
+
let e, t, n, a, s, o = (
|
|
646
643
|
/*$_*/
|
|
647
644
|
i[24]("amount") + ""
|
|
648
|
-
), p, d,
|
|
645
|
+
), p, d, f, u, g, y, w, v = (
|
|
649
646
|
/*$_*/
|
|
650
647
|
i[24]("status") + ""
|
|
651
|
-
),
|
|
648
|
+
), P, U, V, Z = (
|
|
652
649
|
/*$_*/
|
|
653
650
|
i[24](`${/*txnStatus*/
|
|
654
651
|
i[21]}`) + ""
|
|
655
|
-
),
|
|
652
|
+
), N, Y, a1, M, H, X = (
|
|
656
653
|
/*$_*/
|
|
657
654
|
i[24]("transactionId") + ""
|
|
658
|
-
), o1,
|
|
655
|
+
), o1, f1, O, s1 = (
|
|
659
656
|
/*txnInfo*/
|
|
660
657
|
i[15].referenceId + ""
|
|
661
|
-
),
|
|
658
|
+
), m1, C1, q, J, x = (
|
|
662
659
|
/*$_*/
|
|
663
660
|
i[24]("payemntMethod") + ""
|
|
664
|
-
), y1,
|
|
661
|
+
), y1, x1, D, r1, v1, A, $, e1 = (
|
|
665
662
|
/*$_*/
|
|
666
663
|
i[24]("paymentTime") + ""
|
|
667
|
-
),
|
|
664
|
+
), l1, c1, _1, u1 = L1(
|
|
668
665
|
/*txnInfo*/
|
|
669
666
|
i[15].time
|
|
670
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "",
|
|
671
|
-
function
|
|
667
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, k1, p1, b1, T1;
|
|
668
|
+
function R1(m, _) {
|
|
672
669
|
if (
|
|
673
670
|
/*txnStatus*/
|
|
674
|
-
|
|
671
|
+
m[21] === "success"
|
|
675
672
|
)
|
|
676
|
-
return
|
|
673
|
+
return ze;
|
|
677
674
|
if (
|
|
678
675
|
/*txnStatus*/
|
|
679
|
-
|
|
676
|
+
m[21] === "pending"
|
|
680
677
|
)
|
|
681
678
|
return Ie;
|
|
682
679
|
if (
|
|
683
680
|
/*txnStatus*/
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
681
|
+
m[21] === "failed" || /*txnStatus*/
|
|
682
|
+
m[21] === "rejected" || /*txnStatus*/
|
|
683
|
+
m[21] === "canceled"
|
|
687
684
|
)
|
|
688
|
-
return
|
|
685
|
+
return He;
|
|
689
686
|
}
|
|
690
|
-
let
|
|
687
|
+
let G = R1(i), I = G && G(i), z = (
|
|
691
688
|
/*displayedButtons*/
|
|
692
|
-
i[12].length > 0 &&
|
|
689
|
+
i[12].length > 0 && O1(i)
|
|
693
690
|
);
|
|
694
|
-
function
|
|
691
|
+
function M1(m, _) {
|
|
695
692
|
return (
|
|
696
693
|
/*txnInfo*/
|
|
697
|
-
|
|
694
|
+
m[15].type ? je : Ae
|
|
698
695
|
);
|
|
699
696
|
}
|
|
700
|
-
let
|
|
697
|
+
let w1 = M1(i), K = w1(i), j = (
|
|
701
698
|
/*receiptFields*/
|
|
702
|
-
i[16].length &&
|
|
699
|
+
i[16].length && G1(i)
|
|
703
700
|
);
|
|
704
701
|
return {
|
|
705
702
|
c() {
|
|
706
|
-
e =
|
|
703
|
+
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(
|
|
707
704
|
/*amount*/
|
|
708
705
|
i[17]
|
|
709
|
-
), g =
|
|
706
|
+
), g = k(), y = C("div"), w = C("p"), P = S(v), U = k(), V = C("span"), N = S(Z), 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(
|
|
710
707
|
/*paymentmethod*/
|
|
711
708
|
i[0]
|
|
712
|
-
),
|
|
713
|
-
i[21]}`), l(
|
|
709
|
+
), 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*/
|
|
710
|
+
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");
|
|
714
711
|
},
|
|
715
|
-
m(
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
712
|
+
m(m, _) {
|
|
713
|
+
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, V), c(V, 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 = [
|
|
714
|
+
S1(
|
|
715
|
+
O,
|
|
719
716
|
"click",
|
|
720
717
|
/*click_handler*/
|
|
721
718
|
i[45]
|
|
722
719
|
),
|
|
723
|
-
|
|
720
|
+
S1(
|
|
724
721
|
Q,
|
|
725
722
|
"click",
|
|
726
723
|
/*closeReceipt*/
|
|
727
724
|
i[26]
|
|
728
725
|
)
|
|
729
|
-
],
|
|
726
|
+
], b1 = !0);
|
|
730
727
|
},
|
|
731
|
-
p(
|
|
732
|
-
|
|
733
|
-
16777216 &&
|
|
734
|
-
|
|
735
|
-
131072 &&
|
|
728
|
+
p(m, _) {
|
|
729
|
+
G === (G = R1(m)) && I ? I.p(m, _) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), _[0] & /*$_*/
|
|
730
|
+
16777216 && o !== (o = /*$_*/
|
|
731
|
+
m[24]("amount") + "") && R(p, o), _[0] & /*amount*/
|
|
732
|
+
131072 && R(
|
|
736
733
|
u,
|
|
737
734
|
/*amount*/
|
|
738
|
-
|
|
739
|
-
),
|
|
735
|
+
m[17]
|
|
736
|
+
), _[0] & /*$_*/
|
|
740
737
|
16777216 && v !== (v = /*$_*/
|
|
741
|
-
|
|
742
|
-
18874368 &&
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
2097152 &&
|
|
746
|
-
|
|
747
|
-
16777216 &&
|
|
748
|
-
|
|
738
|
+
m[24]("status") + "") && R(P, v), _[0] & /*$_, txnStatus*/
|
|
739
|
+
18874368 && Z !== (Z = /*$_*/
|
|
740
|
+
m[24](`${/*txnStatus*/
|
|
741
|
+
m[21]}`) + "") && R(N, Z), _[0] & /*txnStatus*/
|
|
742
|
+
2097152 && Y !== (Y = `Status ${/*txnStatus*/
|
|
743
|
+
m[21]}`) && l(y, "class", Y), _[0] & /*$_*/
|
|
744
|
+
16777216 && X !== (X = /*$_*/
|
|
745
|
+
m[24]("transactionId") + "") && R(o1, X), _[0] & /*txnInfo*/
|
|
749
746
|
32768 && s1 !== (s1 = /*txnInfo*/
|
|
750
|
-
|
|
751
|
-
16777216 &&
|
|
752
|
-
|
|
753
|
-
1 &&
|
|
754
|
-
|
|
747
|
+
m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
|
|
748
|
+
16777216 && x !== (x = /*$_*/
|
|
749
|
+
m[24]("payemntMethod") + "") && R(y1, x), _[0] & /*paymentmethod*/
|
|
750
|
+
1 && R(
|
|
751
|
+
r1,
|
|
755
752
|
/*paymentmethod*/
|
|
756
|
-
|
|
757
|
-
),
|
|
758
|
-
16777216 &&
|
|
759
|
-
|
|
760
|
-
32768 &&
|
|
753
|
+
m[0]
|
|
754
|
+
), _[0] & /*$_*/
|
|
755
|
+
16777216 && e1 !== (e1 = /*$_*/
|
|
756
|
+
m[24]("paymentTime") + "") && R(l1, e1), _[0] & /*txnInfo*/
|
|
757
|
+
32768 && u1 !== (u1 = L1(
|
|
761
758
|
/*txnInfo*/
|
|
762
|
-
|
|
763
|
-
).format("MMM DD, YYYY, HH:mm:ss") + "") &&
|
|
764
|
-
|
|
765
|
-
|
|
759
|
+
m[15].time
|
|
760
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
|
|
761
|
+
m[12].length > 0 ? z ? z.p(m, _) : (z = O1(m), z.c(), z.m(n1, null)) : z && (z.d(1), z = null), w1 === (w1 = M1(m)) && K ? K.p(m, _) : (K.d(1), K = w1(m), K && (K.c(), K.m(Q, null))), /*receiptFields*/
|
|
762
|
+
m[16].length ? j ? j.p(m, _) : (j = G1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
|
|
766
763
|
},
|
|
767
|
-
d(
|
|
768
|
-
|
|
764
|
+
d(m) {
|
|
765
|
+
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);
|
|
769
766
|
}
|
|
770
767
|
};
|
|
771
768
|
}
|
|
772
|
-
function
|
|
769
|
+
function U1(i) {
|
|
773
770
|
let e, t, n, a = (
|
|
774
771
|
/*$_*/
|
|
775
772
|
i[24]("receipt.maintenance.title") + ""
|
|
776
|
-
),
|
|
773
|
+
), s, o, p, d = (
|
|
777
774
|
/*$_*/
|
|
778
775
|
i[24]("receipt.maintenance.text") + ""
|
|
779
|
-
),
|
|
776
|
+
), f;
|
|
780
777
|
return {
|
|
781
778
|
c() {
|
|
782
|
-
e =
|
|
779
|
+
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");
|
|
783
780
|
},
|
|
784
781
|
m(u, g) {
|
|
785
|
-
|
|
782
|
+
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
783
|
},
|
|
787
784
|
p(u, g) {
|
|
788
785
|
g[0] & /*$_*/
|
|
789
786
|
16777216 && a !== (a = /*$_*/
|
|
790
|
-
u[24]("receipt.maintenance.title") + "") &&
|
|
787
|
+
u[24]("receipt.maintenance.title") + "") && R(s, a), g[0] & /*$_*/
|
|
791
788
|
16777216 && d !== (d = /*$_*/
|
|
792
|
-
u[24]("receipt.maintenance.text") + "") &&
|
|
789
|
+
u[24]("receipt.maintenance.text") + "") && R(f, d);
|
|
793
790
|
},
|
|
794
791
|
d(u) {
|
|
795
|
-
u && (h(e), h(t), h(n), h(
|
|
792
|
+
u && (h(e), h(t), h(n), h(o), h(p));
|
|
796
793
|
}
|
|
797
794
|
};
|
|
798
795
|
}
|
|
799
|
-
function
|
|
800
|
-
let e, t, n, a,
|
|
796
|
+
function He(i) {
|
|
797
|
+
let e, t, n, a, s, o, p, d = (
|
|
801
798
|
/*$_*/
|
|
802
799
|
i[24](`${/*txnInfo*/
|
|
803
800
|
i[15].type.toLowerCase()}.fail.title`) + ""
|
|
804
|
-
),
|
|
801
|
+
), f, u, g, y = (
|
|
805
802
|
/*$_*/
|
|
806
803
|
i[24](`${/*txnInfo*/
|
|
807
804
|
i[15].type.toLowerCase()}.fail.text`) + ""
|
|
808
|
-
),
|
|
805
|
+
), w;
|
|
809
806
|
return {
|
|
810
807
|
c() {
|
|
811
|
-
e =
|
|
808
|
+
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");
|
|
812
809
|
},
|
|
813
|
-
m(v,
|
|
814
|
-
|
|
810
|
+
m(v, P) {
|
|
811
|
+
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);
|
|
815
812
|
},
|
|
816
|
-
p(v,
|
|
817
|
-
|
|
813
|
+
p(v, P) {
|
|
814
|
+
P[0] & /*$_, txnInfo*/
|
|
818
815
|
16809984 && d !== (d = /*$_*/
|
|
819
816
|
v[24](`${/*txnInfo*/
|
|
820
|
-
v[15].type.toLowerCase()}.fail.title`) + "") &&
|
|
817
|
+
v[15].type.toLowerCase()}.fail.title`) + "") && R(f, d), P[0] & /*$_, txnInfo*/
|
|
821
818
|
16809984 && y !== (y = /*$_*/
|
|
822
819
|
v[24](`${/*txnInfo*/
|
|
823
|
-
v[15].type.toLowerCase()}.fail.text`) + "") &&
|
|
820
|
+
v[15].type.toLowerCase()}.fail.text`) + "") && R(w, y);
|
|
824
821
|
},
|
|
825
822
|
d(v) {
|
|
826
|
-
v && (h(e), h(
|
|
823
|
+
v && (h(e), h(s), h(o));
|
|
827
824
|
}
|
|
828
825
|
};
|
|
829
826
|
}
|
|
830
827
|
function Ie(i) {
|
|
831
|
-
let e, t, n, a,
|
|
828
|
+
let e, t, n, a, s, o, p, d, f, u = (
|
|
832
829
|
/*$_*/
|
|
833
830
|
i[24](`${/*txnInfo*/
|
|
834
831
|
i[15].type.toLowerCase()}.pending.title`) + ""
|
|
835
|
-
), g, y,
|
|
832
|
+
), g, y, w, v = (
|
|
836
833
|
/*$_*/
|
|
837
834
|
i[24](`${/*txnInfo*/
|
|
838
835
|
i[15].type.toLowerCase()}.pending.text`) + ""
|
|
839
|
-
),
|
|
836
|
+
), P, U, V, Z = (
|
|
840
837
|
/*$_*/
|
|
841
838
|
i[24]("refreshButton") + ""
|
|
842
|
-
),
|
|
839
|
+
), N, Y, a1;
|
|
843
840
|
return {
|
|
844
841
|
c() {
|
|
845
|
-
e =
|
|
842
|
+
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(), V = C("button"), N = S(Z), 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(V, "class", "RefreshButton");
|
|
846
843
|
},
|
|
847
|
-
m(
|
|
848
|
-
|
|
849
|
-
|
|
844
|
+
m(M, H) {
|
|
845
|
+
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, V, H), c(V, N), Y || (a1 = S1(
|
|
846
|
+
V,
|
|
850
847
|
"click",
|
|
851
848
|
/*getPaymentInfo*/
|
|
852
849
|
i[27]
|
|
853
|
-
),
|
|
850
|
+
), Y = !0);
|
|
854
851
|
},
|
|
855
|
-
p(
|
|
856
|
-
|
|
852
|
+
p(M, H) {
|
|
853
|
+
H[0] & /*$_, txnInfo*/
|
|
857
854
|
16809984 && u !== (u = /*$_*/
|
|
858
|
-
|
|
859
|
-
|
|
855
|
+
M[24](`${/*txnInfo*/
|
|
856
|
+
M[15].type.toLowerCase()}.pending.title`) + "") && R(g, u), H[0] & /*$_, txnInfo*/
|
|
860
857
|
16809984 && v !== (v = /*$_*/
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
16777216 &&
|
|
864
|
-
|
|
858
|
+
M[24](`${/*txnInfo*/
|
|
859
|
+
M[15].type.toLowerCase()}.pending.text`) + "") && R(P, v), H[0] & /*$_*/
|
|
860
|
+
16777216 && Z !== (Z = /*$_*/
|
|
861
|
+
M[24]("refreshButton") + "") && R(N, Z);
|
|
865
862
|
},
|
|
866
|
-
d(
|
|
867
|
-
|
|
863
|
+
d(M) {
|
|
864
|
+
M && (h(e), h(p), h(d), h(U), h(V)), Y = !1, a1();
|
|
868
865
|
}
|
|
869
866
|
};
|
|
870
867
|
}
|
|
871
|
-
function
|
|
872
|
-
let e, t, n, a,
|
|
868
|
+
function ze(i) {
|
|
869
|
+
let e, t, n, a, s, o, p = (
|
|
873
870
|
/*$_*/
|
|
874
871
|
i[24](`${/*txnInfo*/
|
|
875
872
|
i[15].type.toLowerCase()}.success.title`) + ""
|
|
876
|
-
), d,
|
|
873
|
+
), d, f, u, g = (
|
|
877
874
|
/*$_*/
|
|
878
875
|
i[24](`${/*txnInfo*/
|
|
879
876
|
i[15].type.toLowerCase()}.success.text`) + ""
|
|
880
877
|
), y;
|
|
881
878
|
return {
|
|
882
879
|
c() {
|
|
883
|
-
e =
|
|
880
|
+
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");
|
|
884
881
|
},
|
|
885
|
-
m(
|
|
886
|
-
w
|
|
882
|
+
m(w, v) {
|
|
883
|
+
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);
|
|
887
884
|
},
|
|
888
|
-
p(
|
|
885
|
+
p(w, v) {
|
|
889
886
|
v[0] & /*$_, txnInfo*/
|
|
890
887
|
16809984 && p !== (p = /*$_*/
|
|
891
|
-
|
|
892
|
-
|
|
888
|
+
w[24](`${/*txnInfo*/
|
|
889
|
+
w[15].type.toLowerCase()}.success.title`) + "") && R(d, p), v[0] & /*$_, txnInfo*/
|
|
893
890
|
16809984 && g !== (g = /*$_*/
|
|
894
|
-
|
|
895
|
-
|
|
891
|
+
w[24](`${/*txnInfo*/
|
|
892
|
+
w[15].type.toLowerCase()}.success.text`) + "") && R(y, g);
|
|
896
893
|
},
|
|
897
|
-
d(
|
|
898
|
-
|
|
894
|
+
d(w) {
|
|
895
|
+
w && (h(e), h(a), h(s));
|
|
899
896
|
}
|
|
900
897
|
};
|
|
901
898
|
}
|
|
902
|
-
function
|
|
903
|
-
let e, t =
|
|
899
|
+
function O1(i) {
|
|
900
|
+
let e, t = D1(
|
|
904
901
|
/*displayedButtons*/
|
|
905
902
|
i[12]
|
|
906
903
|
), n = [];
|
|
907
904
|
for (let a = 0; a < t.length; a += 1)
|
|
908
|
-
n[a] =
|
|
905
|
+
n[a] = F1(N1(i, t, a));
|
|
909
906
|
return {
|
|
910
907
|
c() {
|
|
911
908
|
for (let a = 0; a < n.length; a += 1)
|
|
912
909
|
n[a].c();
|
|
913
|
-
e =
|
|
910
|
+
e = B1();
|
|
914
911
|
},
|
|
915
|
-
m(a,
|
|
916
|
-
for (let
|
|
917
|
-
n[
|
|
918
|
-
|
|
912
|
+
m(a, s) {
|
|
913
|
+
for (let o = 0; o < n.length; o += 1)
|
|
914
|
+
n[o] && n[o].m(a, s);
|
|
915
|
+
b(a, e, s);
|
|
919
916
|
},
|
|
920
|
-
p(a,
|
|
921
|
-
if (
|
|
917
|
+
p(a, s) {
|
|
918
|
+
if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
|
|
922
919
|
285216768) {
|
|
923
|
-
t =
|
|
920
|
+
t = D1(
|
|
924
921
|
/*displayedButtons*/
|
|
925
922
|
a[12]
|
|
926
923
|
);
|
|
927
|
-
let
|
|
928
|
-
for (
|
|
929
|
-
const p =
|
|
930
|
-
n[
|
|
924
|
+
let o;
|
|
925
|
+
for (o = 0; o < t.length; o += 1) {
|
|
926
|
+
const p = N1(a, t, o);
|
|
927
|
+
n[o] ? n[o].p(p, s) : (n[o] = F1(p), n[o].c(), n[o].m(e.parentNode, e));
|
|
931
928
|
}
|
|
932
|
-
for (;
|
|
933
|
-
n[
|
|
929
|
+
for (; o < n.length; o += 1)
|
|
930
|
+
n[o].d(1);
|
|
934
931
|
n.length = t.length;
|
|
935
932
|
}
|
|
936
933
|
},
|
|
937
934
|
d(a) {
|
|
938
|
-
a && h(e),
|
|
935
|
+
a && h(e), Q1(n, a);
|
|
939
936
|
}
|
|
940
937
|
};
|
|
941
938
|
}
|
|
942
|
-
function
|
|
939
|
+
function F1(i) {
|
|
943
940
|
let e, t, n = (Z1[`${/*btn*/
|
|
944
|
-
i[73].type}`] ?? "") + "", a,
|
|
941
|
+
i[73].type}`] ?? "") + "", a, s = (
|
|
945
942
|
/*$_*/
|
|
946
943
|
i[24](`${/*btn*/
|
|
947
944
|
i[73].translationKey}`) + ""
|
|
948
|
-
),
|
|
945
|
+
), o, p, d, f, u;
|
|
949
946
|
function g() {
|
|
950
947
|
return (
|
|
951
948
|
/*click_handler_1*/
|
|
@@ -957,50 +954,50 @@ function O1(i) {
|
|
|
957
954
|
}
|
|
958
955
|
return {
|
|
959
956
|
c() {
|
|
960
|
-
e =
|
|
957
|
+
e = C("button"), t = C("div"), a = k(), o = S(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
|
|
961
958
|
i[73].type} GoToButton`);
|
|
962
959
|
},
|
|
963
|
-
m(y,
|
|
964
|
-
|
|
960
|
+
m(y, w) {
|
|
961
|
+
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);
|
|
965
962
|
},
|
|
966
|
-
p(y,
|
|
967
|
-
i = y,
|
|
963
|
+
p(y, w) {
|
|
964
|
+
i = y, w[0] & /*displayedButtons*/
|
|
968
965
|
4096 && n !== (n = (Z1[`${/*btn*/
|
|
969
|
-
i[73].type}`] ?? "") + "") && (t.innerHTML = n),
|
|
970
|
-
16781312 &&
|
|
966
|
+
i[73].type}`] ?? "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
|
|
967
|
+
16781312 && s !== (s = /*$_*/
|
|
971
968
|
i[24](`${/*btn*/
|
|
972
|
-
i[73].translationKey}`) + "") &&
|
|
969
|
+
i[73].translationKey}`) + "") && R(o, s), w[0] & /*displayedButtons*/
|
|
973
970
|
4096 && d !== (d = `${/*btn*/
|
|
974
971
|
i[73].type} GoToButton`) && l(e, "class", d);
|
|
975
972
|
},
|
|
976
973
|
d(y) {
|
|
977
|
-
y && h(e),
|
|
974
|
+
y && h(e), f = !1, u();
|
|
978
975
|
}
|
|
979
976
|
};
|
|
980
977
|
}
|
|
981
|
-
function
|
|
978
|
+
function Ae(i) {
|
|
982
979
|
let e = (
|
|
983
980
|
/*$_*/
|
|
984
981
|
i[24]("backHome") + ""
|
|
985
982
|
), t;
|
|
986
983
|
return {
|
|
987
984
|
c() {
|
|
988
|
-
t =
|
|
985
|
+
t = S(e);
|
|
989
986
|
},
|
|
990
987
|
m(n, a) {
|
|
991
|
-
|
|
988
|
+
b(n, t, a);
|
|
992
989
|
},
|
|
993
990
|
p(n, a) {
|
|
994
991
|
a[0] & /*$_*/
|
|
995
992
|
16777216 && e !== (e = /*$_*/
|
|
996
|
-
n[24]("backHome") + "") &&
|
|
993
|
+
n[24]("backHome") + "") && R(t, e);
|
|
997
994
|
},
|
|
998
995
|
d(n) {
|
|
999
996
|
n && h(t);
|
|
1000
997
|
}
|
|
1001
998
|
};
|
|
1002
999
|
}
|
|
1003
|
-
function
|
|
1000
|
+
function je(i) {
|
|
1004
1001
|
let e = (
|
|
1005
1002
|
/*$_*/
|
|
1006
1003
|
i[24](`back${/*txnInfo*/
|
|
@@ -1008,78 +1005,78 @@ function Ae(i) {
|
|
|
1008
1005
|
), t;
|
|
1009
1006
|
return {
|
|
1010
1007
|
c() {
|
|
1011
|
-
t =
|
|
1008
|
+
t = S(e);
|
|
1012
1009
|
},
|
|
1013
1010
|
m(n, a) {
|
|
1014
|
-
|
|
1011
|
+
b(n, t, a);
|
|
1015
1012
|
},
|
|
1016
1013
|
p(n, a) {
|
|
1017
1014
|
a[0] & /*$_, txnInfo*/
|
|
1018
1015
|
16809984 && e !== (e = /*$_*/
|
|
1019
1016
|
n[24](`back${/*txnInfo*/
|
|
1020
|
-
n[15].type}`) + "") &&
|
|
1017
|
+
n[15].type}`) + "") && R(t, e);
|
|
1021
1018
|
},
|
|
1022
1019
|
d(n) {
|
|
1023
1020
|
n && h(t);
|
|
1024
1021
|
}
|
|
1025
1022
|
};
|
|
1026
1023
|
}
|
|
1027
|
-
function
|
|
1028
|
-
let e, t =
|
|
1024
|
+
function G1(i) {
|
|
1025
|
+
let e, t = D1(
|
|
1029
1026
|
/*receiptFields*/
|
|
1030
1027
|
i[16]
|
|
1031
1028
|
), n = [];
|
|
1032
1029
|
for (let a = 0; a < t.length; a += 1)
|
|
1033
|
-
n[a] =
|
|
1030
|
+
n[a] = q1(E1(i, t, a));
|
|
1034
1031
|
return {
|
|
1035
1032
|
c() {
|
|
1036
1033
|
for (let a = 0; a < n.length; a += 1)
|
|
1037
1034
|
n[a].c();
|
|
1038
|
-
e =
|
|
1035
|
+
e = B1();
|
|
1039
1036
|
},
|
|
1040
|
-
m(a,
|
|
1041
|
-
for (let
|
|
1042
|
-
n[
|
|
1043
|
-
|
|
1037
|
+
m(a, s) {
|
|
1038
|
+
for (let o = 0; o < n.length; o += 1)
|
|
1039
|
+
n[o] && n[o].m(a, s);
|
|
1040
|
+
b(a, e, s);
|
|
1044
1041
|
},
|
|
1045
|
-
p(a,
|
|
1046
|
-
if (
|
|
1042
|
+
p(a, s) {
|
|
1043
|
+
if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
|
|
1047
1044
|
537214976) {
|
|
1048
|
-
t =
|
|
1045
|
+
t = D1(
|
|
1049
1046
|
/*receiptFields*/
|
|
1050
1047
|
a[16]
|
|
1051
1048
|
);
|
|
1052
|
-
let
|
|
1053
|
-
for (
|
|
1054
|
-
const p =
|
|
1055
|
-
n[
|
|
1049
|
+
let o;
|
|
1050
|
+
for (o = 0; o < t.length; o += 1) {
|
|
1051
|
+
const p = E1(a, t, o);
|
|
1052
|
+
n[o] ? n[o].p(p, s) : (n[o] = q1(p), n[o].c(), n[o].m(e.parentNode, e));
|
|
1056
1053
|
}
|
|
1057
|
-
for (;
|
|
1058
|
-
n[
|
|
1054
|
+
for (; o < n.length; o += 1)
|
|
1055
|
+
n[o].d(1);
|
|
1059
1056
|
n.length = t.length;
|
|
1060
1057
|
}
|
|
1061
1058
|
},
|
|
1062
1059
|
d(a) {
|
|
1063
|
-
a && h(e),
|
|
1060
|
+
a && h(e), Q1(n, a);
|
|
1064
1061
|
}
|
|
1065
1062
|
};
|
|
1066
1063
|
}
|
|
1067
|
-
function
|
|
1064
|
+
function Ve(i) {
|
|
1068
1065
|
let e, t = (
|
|
1069
1066
|
/*field*/
|
|
1070
1067
|
i[70].defaultValue + ""
|
|
1071
1068
|
), n;
|
|
1072
1069
|
return {
|
|
1073
1070
|
c() {
|
|
1074
|
-
e =
|
|
1071
|
+
e = C("span"), n = S(t), l(e, "class", "Label");
|
|
1075
1072
|
},
|
|
1076
|
-
m(a,
|
|
1077
|
-
|
|
1073
|
+
m(a, s) {
|
|
1074
|
+
b(a, e, s), c(e, n);
|
|
1078
1075
|
},
|
|
1079
|
-
p(a,
|
|
1080
|
-
|
|
1076
|
+
p(a, s) {
|
|
1077
|
+
s[0] & /*receiptFields*/
|
|
1081
1078
|
65536 && t !== (t = /*field*/
|
|
1082
|
-
a[70].defaultValue + "") &&
|
|
1079
|
+
a[70].defaultValue + "") && R(n, t);
|
|
1083
1080
|
},
|
|
1084
1081
|
d(a) {
|
|
1085
1082
|
a && h(e);
|
|
@@ -1087,53 +1084,53 @@ function je(i) {
|
|
|
1087
1084
|
};
|
|
1088
1085
|
}
|
|
1089
1086
|
function Ze(i) {
|
|
1090
|
-
return { c:
|
|
1087
|
+
return { c: d1, m: d1, p: d1, d: d1 };
|
|
1091
1088
|
}
|
|
1092
|
-
function
|
|
1089
|
+
function Ee(i) {
|
|
1093
1090
|
let e, t = (
|
|
1094
1091
|
/*field*/
|
|
1095
1092
|
i[70].description + ""
|
|
1096
|
-
), n, a,
|
|
1093
|
+
), n, a, s, o = (
|
|
1097
1094
|
/*field*/
|
|
1098
1095
|
i[70].name + ""
|
|
1099
1096
|
), p, d;
|
|
1100
1097
|
return {
|
|
1101
1098
|
c() {
|
|
1102
|
-
e =
|
|
1103
|
-
i[70].defaultValue), l(
|
|
1099
|
+
e = C("span"), n = S(t), a = k(), s = C("a"), p = S(o), l(s, "href", d = /*field*/
|
|
1100
|
+
i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
|
|
1104
1101
|
},
|
|
1105
|
-
m(
|
|
1106
|
-
|
|
1102
|
+
m(f, u) {
|
|
1103
|
+
b(f, e, u), c(e, n), c(e, a), c(e, s), c(s, p);
|
|
1107
1104
|
},
|
|
1108
|
-
p(
|
|
1105
|
+
p(f, u) {
|
|
1109
1106
|
u[0] & /*receiptFields*/
|
|
1110
1107
|
65536 && t !== (t = /*field*/
|
|
1111
|
-
|
|
1112
|
-
65536 &&
|
|
1113
|
-
|
|
1108
|
+
f[70].description + "") && R(n, t), u[0] & /*receiptFields*/
|
|
1109
|
+
65536 && o !== (o = /*field*/
|
|
1110
|
+
f[70].name + "") && R(p, o), u[0] & /*receiptFields*/
|
|
1114
1111
|
65536 && d !== (d = /*field*/
|
|
1115
|
-
|
|
1112
|
+
f[70].defaultValue) && l(s, "href", d);
|
|
1116
1113
|
},
|
|
1117
|
-
d(
|
|
1118
|
-
|
|
1114
|
+
d(f) {
|
|
1115
|
+
f && h(e);
|
|
1119
1116
|
}
|
|
1120
1117
|
};
|
|
1121
1118
|
}
|
|
1122
|
-
function
|
|
1119
|
+
function Ne(i) {
|
|
1123
1120
|
let e, t, n;
|
|
1124
1121
|
return {
|
|
1125
1122
|
c() {
|
|
1126
|
-
e =
|
|
1123
|
+
e = C("img"), z1(e.src, t = /*field*/
|
|
1127
1124
|
i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
|
|
1128
1125
|
i[70].description), l(e, "alt", "");
|
|
1129
1126
|
},
|
|
1130
|
-
m(a,
|
|
1131
|
-
|
|
1127
|
+
m(a, s) {
|
|
1128
|
+
b(a, e, s);
|
|
1132
1129
|
},
|
|
1133
|
-
p(a,
|
|
1134
|
-
|
|
1135
|
-
65536 && !
|
|
1136
|
-
a[70].defaultValue) && l(e, "src", t),
|
|
1130
|
+
p(a, s) {
|
|
1131
|
+
s[0] & /*receiptFields*/
|
|
1132
|
+
65536 && !z1(e.src, t = /*field*/
|
|
1133
|
+
a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
|
|
1137
1134
|
65536 && n !== (n = /*field*/
|
|
1138
1135
|
a[70].description) && l(e, "title", n);
|
|
1139
1136
|
},
|
|
@@ -1142,17 +1139,17 @@ function Ee(i) {
|
|
|
1142
1139
|
}
|
|
1143
1140
|
};
|
|
1144
1141
|
}
|
|
1145
|
-
function
|
|
1142
|
+
function Ye(i) {
|
|
1146
1143
|
let e, t = (
|
|
1147
1144
|
/*field*/
|
|
1148
1145
|
i[70].defaultValue + ""
|
|
1149
1146
|
);
|
|
1150
1147
|
return {
|
|
1151
1148
|
c() {
|
|
1152
|
-
e =
|
|
1149
|
+
e = C("span");
|
|
1153
1150
|
},
|
|
1154
1151
|
m(n, a) {
|
|
1155
|
-
|
|
1152
|
+
b(n, e, a), e.innerHTML = t;
|
|
1156
1153
|
},
|
|
1157
1154
|
p(n, a) {
|
|
1158
1155
|
a[0] & /*receiptFields*/
|
|
@@ -1164,11 +1161,11 @@ function Ne(i) {
|
|
|
1164
1161
|
}
|
|
1165
1162
|
};
|
|
1166
1163
|
}
|
|
1167
|
-
function
|
|
1164
|
+
function Ke(i) {
|
|
1168
1165
|
let e, t, n = (
|
|
1169
1166
|
/*field*/
|
|
1170
1167
|
i[70].defaultValue + ""
|
|
1171
|
-
), a,
|
|
1168
|
+
), a, s, o;
|
|
1172
1169
|
function p() {
|
|
1173
1170
|
return (
|
|
1174
1171
|
/*click_handler_2*/
|
|
@@ -1180,126 +1177,126 @@ function Ye(i) {
|
|
|
1180
1177
|
}
|
|
1181
1178
|
return {
|
|
1182
1179
|
c() {
|
|
1183
|
-
e =
|
|
1180
|
+
e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
|
|
1184
1181
|
},
|
|
1185
|
-
m(d,
|
|
1186
|
-
|
|
1182
|
+
m(d, f) {
|
|
1183
|
+
b(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = S1(e, "click", p), s = !0);
|
|
1187
1184
|
},
|
|
1188
|
-
p(d,
|
|
1189
|
-
i = d,
|
|
1185
|
+
p(d, f) {
|
|
1186
|
+
i = d, f[0] & /*receiptFields*/
|
|
1190
1187
|
65536 && n !== (n = /*field*/
|
|
1191
|
-
i[70].defaultValue + "") &&
|
|
1188
|
+
i[70].defaultValue + "") && R(a, n);
|
|
1192
1189
|
},
|
|
1193
1190
|
d(d) {
|
|
1194
|
-
d && h(e), i[47](null),
|
|
1191
|
+
d && h(e), i[47](null), s = !1, o();
|
|
1195
1192
|
}
|
|
1196
1193
|
};
|
|
1197
1194
|
}
|
|
1198
|
-
function
|
|
1195
|
+
function q1(i) {
|
|
1199
1196
|
let e, t;
|
|
1200
|
-
function n(
|
|
1197
|
+
function n(o, p) {
|
|
1201
1198
|
return (
|
|
1202
1199
|
/*field*/
|
|
1203
|
-
|
|
1204
|
-
|
|
1200
|
+
o[70].type === /*FieldTypes*/
|
|
1201
|
+
o[14].QRCode ? Ke : (
|
|
1205
1202
|
/*field*/
|
|
1206
|
-
|
|
1207
|
-
|
|
1203
|
+
o[70].type === /*FieldTypes*/
|
|
1204
|
+
o[14].Html ? Ye : (
|
|
1208
1205
|
/*field*/
|
|
1209
|
-
|
|
1210
|
-
|
|
1206
|
+
o[70].type === /*FieldTypes*/
|
|
1207
|
+
o[14].Image ? Ne : (
|
|
1211
1208
|
/*field*/
|
|
1212
|
-
|
|
1213
|
-
|
|
1209
|
+
o[70].type === /*FieldTypes*/
|
|
1210
|
+
o[14].Link ? Ee : (
|
|
1214
1211
|
/*field*/
|
|
1215
|
-
|
|
1216
|
-
|
|
1212
|
+
o[70].type === /*FieldTypes*/
|
|
1213
|
+
o[14].Hidden ? Ze : Ve
|
|
1217
1214
|
)
|
|
1218
1215
|
)
|
|
1219
1216
|
)
|
|
1220
1217
|
)
|
|
1221
1218
|
);
|
|
1222
1219
|
}
|
|
1223
|
-
let a = n(i),
|
|
1220
|
+
let a = n(i), s = a(i);
|
|
1224
1221
|
return {
|
|
1225
1222
|
c() {
|
|
1226
|
-
e =
|
|
1223
|
+
e = C("div"), s.c(), t = k(), l(e, "class", "ReceiptField");
|
|
1227
1224
|
},
|
|
1228
|
-
m(
|
|
1229
|
-
|
|
1225
|
+
m(o, p) {
|
|
1226
|
+
b(o, e, p), s.m(e, null), c(e, t);
|
|
1230
1227
|
},
|
|
1231
|
-
p(
|
|
1232
|
-
a === (a = n(
|
|
1228
|
+
p(o, p) {
|
|
1229
|
+
a === (a = n(o)) && s ? s.p(o, p) : (s.d(1), s = a(o), s && (s.c(), s.m(e, t)));
|
|
1233
1230
|
},
|
|
1234
|
-
d(
|
|
1235
|
-
|
|
1231
|
+
d(o) {
|
|
1232
|
+
o && h(e), s.d();
|
|
1236
1233
|
}
|
|
1237
1234
|
};
|
|
1238
1235
|
}
|
|
1239
|
-
function
|
|
1236
|
+
function Ue(i) {
|
|
1240
1237
|
let e;
|
|
1241
|
-
function t(
|
|
1238
|
+
function t(s, o) {
|
|
1242
1239
|
return (
|
|
1243
1240
|
/*isLoading*/
|
|
1244
|
-
|
|
1241
|
+
s[11] ? Be : De
|
|
1245
1242
|
);
|
|
1246
1243
|
}
|
|
1247
1244
|
let n = t(i), a = n(i);
|
|
1248
1245
|
return {
|
|
1249
1246
|
c() {
|
|
1250
|
-
e =
|
|
1247
|
+
e = C("div"), a.c(), l(e, "class", "CashierReceiptPageWidget");
|
|
1251
1248
|
},
|
|
1252
|
-
m(
|
|
1253
|
-
|
|
1249
|
+
m(s, o) {
|
|
1250
|
+
b(s, e, o), a.m(e, null), i[49](e);
|
|
1254
1251
|
},
|
|
1255
|
-
p(
|
|
1256
|
-
n === (n = t(
|
|
1252
|
+
p(s, o) {
|
|
1253
|
+
n === (n = t(s)) && a ? a.p(s, o) : (a.d(1), a = n(s), a && (a.c(), a.m(e, null)));
|
|
1257
1254
|
},
|
|
1258
|
-
i:
|
|
1259
|
-
o:
|
|
1260
|
-
d(
|
|
1261
|
-
|
|
1255
|
+
i: d1,
|
|
1256
|
+
o: d1,
|
|
1257
|
+
d(s) {
|
|
1258
|
+
s && h(e), a.d(), i[49](null);
|
|
1262
1259
|
}
|
|
1263
1260
|
};
|
|
1264
1261
|
}
|
|
1265
|
-
let
|
|
1266
|
-
function
|
|
1262
|
+
let Oe = "_blank";
|
|
1263
|
+
function Fe(i, e, t) {
|
|
1267
1264
|
let n;
|
|
1268
|
-
|
|
1269
|
-
let { endpoint: a } = e, { session:
|
|
1270
|
-
var
|
|
1271
|
-
(function(
|
|
1272
|
-
|
|
1273
|
-
})(
|
|
1274
|
-
var
|
|
1275
|
-
(function(
|
|
1276
|
-
|
|
1277
|
-
})(
|
|
1278
|
-
const
|
|
1279
|
-
...
|
|
1280
|
-
...Array.isArray(
|
|
1281
|
-
],
|
|
1282
|
-
[["Unknown", 0],
|
|
1283
|
-
[["Text", 1],
|
|
1284
|
-
[["Boolean", 2],
|
|
1285
|
-
[["Number", 3],
|
|
1286
|
-
[["Money", 4],
|
|
1287
|
-
[["DateTime", 5],
|
|
1288
|
-
[["Lookup", 6],
|
|
1289
|
-
[["IpAddress", 7],
|
|
1290
|
-
[["Date", 8],
|
|
1291
|
-
[["Time", 9],
|
|
1292
|
-
[["LookupCollection", 10],
|
|
1293
|
-
[["Hidden", 11],
|
|
1294
|
-
[["Label", 12],
|
|
1295
|
-
[["Password", 13],
|
|
1296
|
-
[["Link", 14],
|
|
1297
|
-
[["Image", 15],
|
|
1298
|
-
[["Html", 19],
|
|
1299
|
-
[["QR", 20],
|
|
1300
|
-
].reduce(
|
|
1301
|
-
let
|
|
1302
|
-
const
|
|
1265
|
+
se(i, re, (r) => t(24, n = r)), L1.extend(le);
|
|
1266
|
+
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: V = "" } = e, { showverifications: Z = "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 = [];
|
|
1267
|
+
var J;
|
|
1268
|
+
(function(r) {
|
|
1269
|
+
r.Success = "Success", r.Maintenance = "Maintenance";
|
|
1270
|
+
})(J || (J = {}));
|
|
1271
|
+
var x;
|
|
1272
|
+
(function(r) {
|
|
1273
|
+
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";
|
|
1274
|
+
})(x || (x = {}));
|
|
1275
|
+
const y1 = (r, [W, F]) => [
|
|
1276
|
+
...r,
|
|
1277
|
+
...Array.isArray(W) ? [...W.map((B) => [B, F])] : [[W, F]]
|
|
1278
|
+
], x1 = new Map([
|
|
1279
|
+
[["Unknown", 0], x.Unknown],
|
|
1280
|
+
[["Text", 1], x.Text],
|
|
1281
|
+
[["Boolean", 2], x.Boolean],
|
|
1282
|
+
[["Number", 3], x.Number],
|
|
1283
|
+
[["Money", 4], x.Money],
|
|
1284
|
+
[["DateTime", 5], x.DateTime],
|
|
1285
|
+
[["Lookup", 6], x.Lookup],
|
|
1286
|
+
[["IpAddress", 7], x.IpAddress],
|
|
1287
|
+
[["Date", 8], x.Date],
|
|
1288
|
+
[["Time", 9], x.Time],
|
|
1289
|
+
[["LookupCollection", 10], x.LookupCollection],
|
|
1290
|
+
[["Hidden", 11], x.Hidden],
|
|
1291
|
+
[["Label", 12], x.Label],
|
|
1292
|
+
[["Password", 13], x.Password],
|
|
1293
|
+
[["Link", 14], x.Link],
|
|
1294
|
+
[["Image", 15], x.Image],
|
|
1295
|
+
[["Html", 19], x.Html],
|
|
1296
|
+
[["QR", 20], x.QRCode]
|
|
1297
|
+
].reduce(y1, []));
|
|
1298
|
+
let D, r1 = [], v1, A, $ = [], e1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
|
|
1299
|
+
const g1 = {
|
|
1303
1300
|
promotions: {
|
|
1304
1301
|
event: "Cashier:goToPromotions",
|
|
1305
1302
|
translationKey: "goToPromotions",
|
|
@@ -1355,84 +1352,84 @@ function Oe(i, e, t) {
|
|
|
1355
1352
|
translationKey: "close",
|
|
1356
1353
|
type: "CloseButton"
|
|
1357
1354
|
}
|
|
1358
|
-
}, t1 = (
|
|
1359
|
-
t(12, C1 = []),
|
|
1360
|
-
|
|
1355
|
+
}, t1 = (r) => {
|
|
1356
|
+
t(12, C1 = []), r.split(",").forEach((F) => {
|
|
1357
|
+
g1[F.trim()] && C1.push(g1[F.trim()]);
|
|
1361
1358
|
});
|
|
1362
|
-
},
|
|
1363
|
-
|
|
1359
|
+
}, n1 = () => {
|
|
1360
|
+
ke(o);
|
|
1364
1361
|
};
|
|
1365
|
-
|
|
1366
|
-
window.removeEventListener("message",
|
|
1362
|
+
ce(() => (window.addEventListener("message", h1, !1), be(p, o1, f1, w), () => {
|
|
1363
|
+
window.removeEventListener("message", h1);
|
|
1367
1364
|
}));
|
|
1368
|
-
const
|
|
1369
|
-
switch (
|
|
1365
|
+
const h1 = (r) => {
|
|
1366
|
+
switch (r.data.type) {
|
|
1370
1367
|
case "CloseReceiptInSecondTab":
|
|
1371
|
-
window.opener?.postMessage(
|
|
1368
|
+
window.opener?.postMessage(r.data);
|
|
1372
1369
|
break;
|
|
1373
1370
|
}
|
|
1374
|
-
},
|
|
1375
|
-
let
|
|
1376
|
-
if (
|
|
1377
|
-
return fetch(
|
|
1378
|
-
Object.keys(
|
|
1379
|
-
|
|
1371
|
+
}, Q = () => {
|
|
1372
|
+
let r = f;
|
|
1373
|
+
if (r)
|
|
1374
|
+
return fetch(r).then((W) => W.json()).then((W) => {
|
|
1375
|
+
Object.keys(W).forEach((F) => {
|
|
1376
|
+
j1(F, W[F]);
|
|
1380
1377
|
});
|
|
1381
1378
|
}).catch(() => {
|
|
1382
1379
|
});
|
|
1383
1380
|
};
|
|
1384
|
-
Object.keys(
|
|
1385
|
-
|
|
1381
|
+
Object.keys(V1).forEach((r) => {
|
|
1382
|
+
j1(r, V1[r]);
|
|
1386
1383
|
});
|
|
1387
|
-
const
|
|
1384
|
+
const k1 = () => {
|
|
1388
1385
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
1389
|
-
},
|
|
1386
|
+
}, p1 = () => {
|
|
1390
1387
|
window.postMessage(
|
|
1391
1388
|
{
|
|
1392
1389
|
type: "ErrorResponseCode",
|
|
1393
|
-
errorResponseCode:
|
|
1394
|
-
showErrorOutsideReceiptPage:
|
|
1390
|
+
errorResponseCode: e1,
|
|
1391
|
+
showErrorOutsideReceiptPage: l1
|
|
1395
1392
|
},
|
|
1396
1393
|
window.location.href
|
|
1397
1394
|
);
|
|
1398
|
-
},
|
|
1399
|
-
const
|
|
1400
|
-
|
|
1401
|
-
const
|
|
1395
|
+
}, b1 = () => {
|
|
1396
|
+
const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
|
|
1397
|
+
W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", L1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
|
|
1398
|
+
const F = {
|
|
1402
1399
|
method: "POST",
|
|
1403
|
-
headers:
|
|
1400
|
+
headers: W,
|
|
1404
1401
|
body: JSON.stringify({ TransactionCode: y })
|
|
1405
1402
|
};
|
|
1406
|
-
t(11,
|
|
1407
|
-
if (
|
|
1408
|
-
t(19,
|
|
1403
|
+
t(11, Y = !0), fetch(r, F).then((B) => B.json()).then((B) => {
|
|
1404
|
+
if (B.ResponseCode !== J.Success) {
|
|
1405
|
+
t(19, e1 = B.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
|
|
1409
1406
|
return;
|
|
1410
1407
|
}
|
|
1411
|
-
switch (t(15,
|
|
1412
|
-
type:
|
|
1413
|
-
referenceId:
|
|
1414
|
-
status:
|
|
1415
|
-
message:
|
|
1416
|
-
amount:
|
|
1417
|
-
currency:
|
|
1418
|
-
time:
|
|
1419
|
-
}), t(16, r1 =
|
|
1420
|
-
type:
|
|
1408
|
+
switch (t(15, D = {
|
|
1409
|
+
type: B.Transaction.Type,
|
|
1410
|
+
referenceId: B.Transaction.Code,
|
|
1411
|
+
status: B.Transaction.Status?.Status,
|
|
1412
|
+
message: B.Transaction.Status?.Message,
|
|
1413
|
+
amount: B.Transaction.Amounts[0]?.Amount,
|
|
1414
|
+
currency: B.Transaction.Amounts[0]?.Currency,
|
|
1415
|
+
time: B.Transaction.Status.Created
|
|
1416
|
+
}), t(16, r1 = B.ReceiptInfo && B.ReceiptInfo.ReceiptFields ? B.ReceiptInfo.ReceiptFields.map((i1) => ({
|
|
1417
|
+
type: x1.get(i1.Type),
|
|
1421
1418
|
name: i1.Name,
|
|
1422
1419
|
description: i1.Description,
|
|
1423
1420
|
defaultValue: i1.DefaultValue,
|
|
1424
1421
|
useCopyButton: i1.UseCopyButton,
|
|
1425
1422
|
usePrintButton: i1.UsePrintButton
|
|
1426
|
-
})) : []),
|
|
1423
|
+
})) : []), B.ReceiptInfo && B.ReceiptInfo.ReceiptFields && !N && t(0, N = r1[0].defaultValue), n(Re(D.status, D.type), { values: { errorText: D.message } }), t(17, v1 = ue(Number(D.amount), D.currency)), D.status) {
|
|
1427
1424
|
case "Voided":
|
|
1428
1425
|
case "Success":
|
|
1429
|
-
t1(
|
|
1430
|
-
|
|
1426
|
+
t1(M || "casino, livecasino, tournaments"), t(21, c1 = "success"), P1(
|
|
1427
|
+
D.type === "Deposit" ? "deposit_success" : "withdrawal_success",
|
|
1431
1428
|
{
|
|
1432
1429
|
userID: g,
|
|
1433
|
-
amount:
|
|
1434
|
-
currency:
|
|
1435
|
-
failureReason:
|
|
1430
|
+
amount: D.amount,
|
|
1431
|
+
currency: D.currency,
|
|
1432
|
+
failureReason: D.message
|
|
1436
1433
|
}
|
|
1437
1434
|
);
|
|
1438
1435
|
break;
|
|
@@ -1442,143 +1439,143 @@ function Oe(i, e, t) {
|
|
|
1442
1439
|
case "PendingApprovalStage2":
|
|
1443
1440
|
case "PendingApprovalStage3":
|
|
1444
1441
|
case "PendingOfflineNotification":
|
|
1445
|
-
t1(
|
|
1442
|
+
t1(H || "casino, livecasino, tournaments"), t(21, c1 = "pending");
|
|
1446
1443
|
break;
|
|
1447
1444
|
case "Rejected":
|
|
1448
1445
|
case "Cancelled":
|
|
1449
1446
|
case "Failed":
|
|
1450
|
-
t1(
|
|
1451
|
-
|
|
1447
|
+
t1(X || "casino, livecasino, tournaments"), t(21, c1 = D.status.toLowerCase()), P1(
|
|
1448
|
+
D.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
|
|
1452
1449
|
{
|
|
1453
1450
|
userID: g,
|
|
1454
|
-
amount:
|
|
1455
|
-
currency:
|
|
1456
|
-
failureReason:
|
|
1451
|
+
amount: D.amount,
|
|
1452
|
+
currency: D.currency,
|
|
1453
|
+
failureReason: D.message
|
|
1457
1454
|
}
|
|
1458
|
-
),
|
|
1455
|
+
), Z === "true" && t(22, u1 = !0);
|
|
1459
1456
|
break;
|
|
1460
1457
|
default:
|
|
1461
1458
|
t1("close");
|
|
1462
1459
|
}
|
|
1463
|
-
u ?
|
|
1464
|
-
}).finally(() => t(11,
|
|
1465
|
-
},
|
|
1466
|
-
window.postMessage({ type:
|
|
1467
|
-
},
|
|
1468
|
-
|
|
1460
|
+
u ? Te(u, D.status) : Se(D.status);
|
|
1461
|
+
}).finally(() => t(11, Y = !1));
|
|
1462
|
+
}, T1 = (r) => {
|
|
1463
|
+
window.postMessage({ type: r }, window.location.href);
|
|
1464
|
+
}, R1 = (r) => {
|
|
1465
|
+
r && window.postMessage(
|
|
1469
1466
|
{
|
|
1470
1467
|
type: "NavigateTo",
|
|
1471
|
-
path:
|
|
1472
|
-
target:
|
|
1468
|
+
path: r,
|
|
1469
|
+
target: Oe,
|
|
1473
1470
|
externalLink: !1
|
|
1474
1471
|
},
|
|
1475
1472
|
window.location.href
|
|
1476
1473
|
);
|
|
1477
1474
|
};
|
|
1478
|
-
let
|
|
1479
|
-
const
|
|
1480
|
-
const
|
|
1481
|
-
if (
|
|
1475
|
+
let G, I;
|
|
1476
|
+
const z = async (r, W = !0) => {
|
|
1477
|
+
const B = r.currentTarget.innerHTML;
|
|
1478
|
+
if (B && navigator.clipboard && navigator.clipboard.writeText)
|
|
1482
1479
|
try {
|
|
1483
|
-
await navigator.clipboard.writeText(
|
|
1480
|
+
await navigator.clipboard.writeText(B), W && (t(23, G = !0), clearTimeout(I), I = setTimeout(
|
|
1484
1481
|
() => {
|
|
1485
|
-
t(23,
|
|
1482
|
+
t(23, G = !1);
|
|
1486
1483
|
},
|
|
1487
1484
|
2e3
|
|
1488
1485
|
));
|
|
1489
1486
|
} catch (i1) {
|
|
1490
1487
|
console.error("Clipboard API failed:", i1);
|
|
1491
1488
|
}
|
|
1492
|
-
},
|
|
1493
|
-
|
|
1494
|
-
},
|
|
1495
|
-
function
|
|
1496
|
-
|
|
1497
|
-
|
|
1489
|
+
}, M1 = () => {
|
|
1490
|
+
O.length > 0 && (q = O.split(","));
|
|
1491
|
+
}, w1 = (r) => z(r), K = (r) => T1(r.event);
|
|
1492
|
+
function j(r) {
|
|
1493
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1494
|
+
$[$.length] = r, t(18, $);
|
|
1498
1495
|
});
|
|
1499
1496
|
}
|
|
1500
|
-
const
|
|
1501
|
-
|
|
1497
|
+
const m = (r) => {
|
|
1498
|
+
R1(r.description);
|
|
1502
1499
|
};
|
|
1503
|
-
function
|
|
1504
|
-
|
|
1505
|
-
|
|
1500
|
+
function _(r) {
|
|
1501
|
+
W1[r ? "unshift" : "push"](() => {
|
|
1502
|
+
A = r, t(10, A);
|
|
1506
1503
|
});
|
|
1507
1504
|
}
|
|
1508
|
-
return i.$$set = (
|
|
1509
|
-
"endpoint" in
|
|
1505
|
+
return i.$$set = (r) => {
|
|
1506
|
+
"endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, w = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7, P = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, V = r.mbsource), "showverifications" in r && t(9, Z = r.showverifications), "paymentmethod" in r && t(0, N = r.paymentmethod), "customsucceessbuttons" in r && t(37, M = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, X = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, O = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
|
|
1510
1507
|
}, i.$$.update = () => {
|
|
1511
|
-
i.$$.dirty[
|
|
1508
|
+
i.$$.dirty[1] & /*userroles*/
|
|
1509
|
+
2048 && O && M1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
1512
1510
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
1513
|
-
6 && a &&
|
|
1514
|
-
8 &&
|
|
1515
|
-
24 &&
|
|
1516
|
-
1152 &&
|
|
1517
|
-
1280 &&
|
|
1511
|
+
6 && a && s && g && y && d && b1(), i.$$.dirty[0] & /*lang*/
|
|
1512
|
+
8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
|
|
1513
|
+
24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1514
|
+
1152 && P && A && we(A, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1515
|
+
1280 && U && A && ye(A, U), i.$$.dirty[0] & /*customStylingContainer*/
|
|
1518
1516
|
1024 | i.$$.dirty[1] & /*mbsource*/
|
|
1519
|
-
32 &&
|
|
1520
|
-
2048 && U && H();
|
|
1517
|
+
32 && V && A && ve(A, `${V}.Style`, a1);
|
|
1521
1518
|
}, [
|
|
1522
|
-
|
|
1519
|
+
N,
|
|
1523
1520
|
a,
|
|
1524
|
-
r,
|
|
1525
1521
|
s,
|
|
1526
|
-
|
|
1522
|
+
o,
|
|
1523
|
+
f,
|
|
1527
1524
|
u,
|
|
1528
1525
|
g,
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1526
|
+
P,
|
|
1527
|
+
U,
|
|
1528
|
+
Z,
|
|
1529
|
+
A,
|
|
1530
|
+
Y,
|
|
1534
1531
|
C1,
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1532
|
+
J,
|
|
1533
|
+
x,
|
|
1534
|
+
D,
|
|
1538
1535
|
r1,
|
|
1539
|
-
|
|
1540
|
-
F,
|
|
1541
|
-
l1,
|
|
1536
|
+
v1,
|
|
1542
1537
|
$,
|
|
1543
1538
|
e1,
|
|
1544
|
-
|
|
1545
|
-
|
|
1539
|
+
l1,
|
|
1540
|
+
c1,
|
|
1541
|
+
u1,
|
|
1542
|
+
G,
|
|
1546
1543
|
n,
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
h1,
|
|
1544
|
+
_1,
|
|
1545
|
+
k1,
|
|
1546
|
+
b1,
|
|
1551
1547
|
T1,
|
|
1552
|
-
|
|
1548
|
+
R1,
|
|
1549
|
+
z,
|
|
1553
1550
|
p,
|
|
1554
1551
|
d,
|
|
1555
1552
|
y,
|
|
1556
|
-
|
|
1553
|
+
w,
|
|
1557
1554
|
v,
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1555
|
+
V,
|
|
1556
|
+
M,
|
|
1557
|
+
H,
|
|
1558
|
+
X,
|
|
1562
1559
|
o1,
|
|
1563
|
-
|
|
1564
|
-
|
|
1560
|
+
f1,
|
|
1561
|
+
O,
|
|
1565
1562
|
s1,
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1563
|
+
m1,
|
|
1564
|
+
w1,
|
|
1565
|
+
K,
|
|
1566
|
+
j,
|
|
1567
|
+
m,
|
|
1568
|
+
_
|
|
1572
1569
|
];
|
|
1573
1570
|
}
|
|
1574
|
-
class
|
|
1571
|
+
class Ge extends ne {
|
|
1575
1572
|
constructor(e) {
|
|
1576
|
-
super(),
|
|
1573
|
+
super(), ie(
|
|
1577
1574
|
this,
|
|
1578
1575
|
e,
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1576
|
+
Fe,
|
|
1577
|
+
Ue,
|
|
1578
|
+
ae,
|
|
1582
1579
|
{
|
|
1583
1580
|
endpoint: 1,
|
|
1584
1581
|
session: 2,
|
|
@@ -1605,7 +1602,7 @@ class Fe extends te {
|
|
|
1605
1602
|
windowsize: 43,
|
|
1606
1603
|
p2p: 44
|
|
1607
1604
|
},
|
|
1608
|
-
|
|
1605
|
+
Le,
|
|
1609
1606
|
[-1, -1, -1]
|
|
1610
1607
|
);
|
|
1611
1608
|
}
|
|
@@ -1613,148 +1610,148 @@ class Fe extends te {
|
|
|
1613
1610
|
return this.$$.ctx[1];
|
|
1614
1611
|
}
|
|
1615
1612
|
set endpoint(e) {
|
|
1616
|
-
this.$$set({ endpoint: e }),
|
|
1613
|
+
this.$$set({ endpoint: e }), L();
|
|
1617
1614
|
}
|
|
1618
1615
|
get session() {
|
|
1619
1616
|
return this.$$.ctx[2];
|
|
1620
1617
|
}
|
|
1621
1618
|
set session(e) {
|
|
1622
|
-
this.$$set({ session: e }),
|
|
1619
|
+
this.$$set({ session: e }), L();
|
|
1623
1620
|
}
|
|
1624
1621
|
get lang() {
|
|
1625
1622
|
return this.$$.ctx[3];
|
|
1626
1623
|
}
|
|
1627
1624
|
set lang(e) {
|
|
1628
|
-
this.$$set({ lang: e }),
|
|
1625
|
+
this.$$set({ lang: e }), L();
|
|
1629
1626
|
}
|
|
1630
1627
|
get local() {
|
|
1631
1628
|
return this.$$.ctx[31];
|
|
1632
1629
|
}
|
|
1633
1630
|
set local(e) {
|
|
1634
|
-
this.$$set({ local: e }),
|
|
1631
|
+
this.$$set({ local: e }), L();
|
|
1635
1632
|
}
|
|
1636
1633
|
get showerrors() {
|
|
1637
1634
|
return this.$$.ctx[32];
|
|
1638
1635
|
}
|
|
1639
1636
|
set showerrors(e) {
|
|
1640
|
-
this.$$set({ showerrors: e }),
|
|
1637
|
+
this.$$set({ showerrors: e }), L();
|
|
1641
1638
|
}
|
|
1642
1639
|
get translationurl() {
|
|
1643
1640
|
return this.$$.ctx[4];
|
|
1644
1641
|
}
|
|
1645
1642
|
set translationurl(e) {
|
|
1646
|
-
this.$$set({ translationurl: e }),
|
|
1643
|
+
this.$$set({ translationurl: e }), L();
|
|
1647
1644
|
}
|
|
1648
1645
|
get assetsurl() {
|
|
1649
1646
|
return this.$$.ctx[5];
|
|
1650
1647
|
}
|
|
1651
1648
|
set assetsurl(e) {
|
|
1652
|
-
this.$$set({ assetsurl: e }),
|
|
1649
|
+
this.$$set({ assetsurl: e }), L();
|
|
1653
1650
|
}
|
|
1654
1651
|
get customerid() {
|
|
1655
1652
|
return this.$$.ctx[6];
|
|
1656
1653
|
}
|
|
1657
1654
|
set customerid(e) {
|
|
1658
|
-
this.$$set({ customerid: e }),
|
|
1655
|
+
this.$$set({ customerid: e }), L();
|
|
1659
1656
|
}
|
|
1660
1657
|
get transactionid() {
|
|
1661
1658
|
return this.$$.ctx[33];
|
|
1662
1659
|
}
|
|
1663
1660
|
set transactionid(e) {
|
|
1664
|
-
this.$$set({ transactionid: e }),
|
|
1661
|
+
this.$$set({ transactionid: e }), L();
|
|
1665
1662
|
}
|
|
1666
1663
|
get currencydecimals() {
|
|
1667
1664
|
return this.$$.ctx[34];
|
|
1668
1665
|
}
|
|
1669
1666
|
set currencydecimals(e) {
|
|
1670
|
-
this.$$set({ currencydecimals: e }),
|
|
1667
|
+
this.$$set({ currencydecimals: e }), L();
|
|
1671
1668
|
}
|
|
1672
1669
|
get type() {
|
|
1673
1670
|
return this.$$.ctx[35];
|
|
1674
1671
|
}
|
|
1675
1672
|
set type(e) {
|
|
1676
|
-
this.$$set({ type: e }),
|
|
1673
|
+
this.$$set({ type: e }), L();
|
|
1677
1674
|
}
|
|
1678
1675
|
get clientstyling() {
|
|
1679
1676
|
return this.$$.ctx[7];
|
|
1680
1677
|
}
|
|
1681
1678
|
set clientstyling(e) {
|
|
1682
|
-
this.$$set({ clientstyling: e }),
|
|
1679
|
+
this.$$set({ clientstyling: e }), L();
|
|
1683
1680
|
}
|
|
1684
1681
|
get clientstylingurl() {
|
|
1685
1682
|
return this.$$.ctx[8];
|
|
1686
1683
|
}
|
|
1687
1684
|
set clientstylingurl(e) {
|
|
1688
|
-
this.$$set({ clientstylingurl: e }),
|
|
1685
|
+
this.$$set({ clientstylingurl: e }), L();
|
|
1689
1686
|
}
|
|
1690
1687
|
get mbsource() {
|
|
1691
1688
|
return this.$$.ctx[36];
|
|
1692
1689
|
}
|
|
1693
1690
|
set mbsource(e) {
|
|
1694
|
-
this.$$set({ mbsource: e }),
|
|
1691
|
+
this.$$set({ mbsource: e }), L();
|
|
1695
1692
|
}
|
|
1696
1693
|
get showverifications() {
|
|
1697
1694
|
return this.$$.ctx[9];
|
|
1698
1695
|
}
|
|
1699
1696
|
set showverifications(e) {
|
|
1700
|
-
this.$$set({ showverifications: e }),
|
|
1697
|
+
this.$$set({ showverifications: e }), L();
|
|
1701
1698
|
}
|
|
1702
1699
|
get paymentmethod() {
|
|
1703
1700
|
return this.$$.ctx[0];
|
|
1704
1701
|
}
|
|
1705
1702
|
set paymentmethod(e) {
|
|
1706
|
-
this.$$set({ paymentmethod: e }),
|
|
1703
|
+
this.$$set({ paymentmethod: e }), L();
|
|
1707
1704
|
}
|
|
1708
1705
|
get customsucceessbuttons() {
|
|
1709
1706
|
return this.$$.ctx[37];
|
|
1710
1707
|
}
|
|
1711
1708
|
set customsucceessbuttons(e) {
|
|
1712
|
-
this.$$set({ customsucceessbuttons: e }),
|
|
1709
|
+
this.$$set({ customsucceessbuttons: e }), L();
|
|
1713
1710
|
}
|
|
1714
1711
|
get custompendingbuttons() {
|
|
1715
1712
|
return this.$$.ctx[38];
|
|
1716
1713
|
}
|
|
1717
1714
|
set custompendingbuttons(e) {
|
|
1718
|
-
this.$$set({ custompendingbuttons: e }),
|
|
1715
|
+
this.$$set({ custompendingbuttons: e }), L();
|
|
1719
1716
|
}
|
|
1720
1717
|
get customfailedbuttons() {
|
|
1721
1718
|
return this.$$.ctx[39];
|
|
1722
1719
|
}
|
|
1723
1720
|
set customfailedbuttons(e) {
|
|
1724
|
-
this.$$set({ customfailedbuttons: e }),
|
|
1721
|
+
this.$$set({ customfailedbuttons: e }), L();
|
|
1725
1722
|
}
|
|
1726
1723
|
get currencysymbol() {
|
|
1727
1724
|
return this.$$.ctx[40];
|
|
1728
1725
|
}
|
|
1729
1726
|
set currencysymbol(e) {
|
|
1730
|
-
this.$$set({ currencysymbol: e }),
|
|
1727
|
+
this.$$set({ currencysymbol: e }), L();
|
|
1731
1728
|
}
|
|
1732
1729
|
get currencyposition() {
|
|
1733
1730
|
return this.$$.ctx[41];
|
|
1734
1731
|
}
|
|
1735
1732
|
set currencyposition(e) {
|
|
1736
|
-
this.$$set({ currencyposition: e }),
|
|
1733
|
+
this.$$set({ currencyposition: e }), L();
|
|
1737
1734
|
}
|
|
1738
1735
|
get userroles() {
|
|
1739
1736
|
return this.$$.ctx[42];
|
|
1740
1737
|
}
|
|
1741
1738
|
set userroles(e) {
|
|
1742
|
-
this.$$set({ userroles: e }),
|
|
1739
|
+
this.$$set({ userroles: e }), L();
|
|
1743
1740
|
}
|
|
1744
1741
|
get windowsize() {
|
|
1745
1742
|
return this.$$.ctx[43];
|
|
1746
1743
|
}
|
|
1747
1744
|
set windowsize(e) {
|
|
1748
|
-
this.$$set({ windowsize: e }),
|
|
1745
|
+
this.$$set({ windowsize: e }), L();
|
|
1749
1746
|
}
|
|
1750
1747
|
get p2p() {
|
|
1751
1748
|
return this.$$.ctx[44];
|
|
1752
1749
|
}
|
|
1753
1750
|
set p2p(e) {
|
|
1754
|
-
this.$$set({ p2p: e }),
|
|
1751
|
+
this.$$set({ p2p: e }), L();
|
|
1755
1752
|
}
|
|
1756
1753
|
}
|
|
1757
|
-
|
|
1754
|
+
_e(Ge, { 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);
|
|
1758
1755
|
export {
|
|
1759
|
-
|
|
1756
|
+
Ge as default
|
|
1760
1757
|
};
|