@everymatrix/player-account-controller 1.73.0 → 1.73.2
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/{GeneralLogout-Dzu2Sl-x.cjs → GeneralLogout-CUey30IA.cjs} +5 -5
- package/components/{GeneralLogout-INWUDrak.js → GeneralLogout-D1d-15j9.js} +519 -448
- package/components/{GeneralLogout-BHj50gej.js → GeneralLogout-Dp0t5xiu.js} +490 -419
- package/components/{PlayerAccountBettingHistory-DVj3QpKW.js → PlayerAccountBettingHistory-D9Jkcu6g.js} +1 -1
- package/components/{PlayerAccountBettingHistory-6bdMRw7b.js → PlayerAccountBettingHistory-DIFqK_pJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BG5_gjSl.cjs → PlayerAccountBettingHistory-la7IEPsJ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C5pUACUE.js → PlayerAccountBiometrics-BiFD5dJF.js} +1 -1
- package/components/{PlayerAccountBiometrics-DkxwtpuF.js → PlayerAccountBiometrics-DW3O_c_d.js} +1 -1
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-E4avOt95.cjs} +1 -1
- package/components/{PlayerAccountClosure-D2ApiUXV.js → PlayerAccountClosure-CYKotuUN.js} +1 -1
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-CuXaw1qa.cjs} +1 -1
- package/components/{PlayerAccountClosure-vPc-BArB.js → PlayerAccountClosure-MoMUkdm3.js} +1 -1
- package/components/{PlayerAccountController-2uMVXSSQ.js → PlayerAccountController-B8DJytQ8.js} +516 -486
- package/components/{PlayerAccountController-COFCcEvV.js → PlayerAccountController-Cq1WDry7.js} +517 -487
- package/components/PlayerAccountController-WXq3wske.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BfrumTwY.js → PlayerAccountGamingLimits-BCDLNzea.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DlA29Y4p.js → PlayerAccountGamingLimits-BWYiaPTb.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-CWXEw1xn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js → PlayerAccountGamingLimitsConfirmationModal-CfkLeqgC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js → PlayerAccountGamingLimitsConfirmationModal-DQNgVygC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js → PlayerAccountGamingLimitsGroupEdit-BR3aaKKF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js → PlayerAccountGamingLimitsGroupEdit-C6cPJtyS.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs → PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-B8TPjC1F.js → PlayerAccountGamingLimitsHistory2-B73ZKUp8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js → PlayerAccountGamingLimitsHistory2-C7iyCZTM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-DoQnAbmO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js → PlayerAccountGamingLimitsInfoCard-5M2JHH5i.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js → PlayerAccountGamingLimitsInfoCard-DmtZXGWH.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js → PlayerAccountGamingLimitsPage2Gm16-CzidzBZa.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js → PlayerAccountGamingLimitsPage2Gm16-DP4qBE2E.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-TnUX_EMA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BlVtbm__.js → PlayerAccountGamingLimitsPopup-CHgAjN-y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DPu9x2H3.js → PlayerAccountGamingLimitsPopup-VbPcz1m3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-cJf0myiC.js → PlayerAccountGamingLimitsWrapper2-CNeGDcr8.js} +249 -249
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-D0DBTqeK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js → PlayerAccountGamingLimitsWrapper2-Dh0Jk6Qi.js} +141 -143
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BksqLS7V.js → PlayerAccountGeneralConfirmationModal-CvAnXDvi.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-eHfDDGZk.js → PlayerAccountGeneralConfirmationModal-gPSZLtXl.js} +1 -1
- package/components/{PlayerAccountMenu-CE6Ej_rV.js → PlayerAccountMenu-Br1KAYkQ.js} +2 -2
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-DM8wOriy.cjs} +1 -1
- package/components/{PlayerAccountMenu-Cp7Edaq0.js → PlayerAccountMenu-jeZrAHJj.js} +2 -2
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-C70Mycg9.cjs} +1 -1
- package/components/{PlayerAccountModal-CrjAmgmN.js → PlayerAccountModal-CYOd9FYU.js} +1 -1
- package/components/{PlayerAccountModal-DYSDyLvm.js → PlayerAccountModal-D1wg99Qw.js} +1 -1
- package/components/{PlayerAccountNotifications-qIJQNyMm.js → PlayerAccountNotifications-Cfg1xDTQ.js} +1 -1
- package/components/{PlayerAccountNotifications-Cyle3r2h.cjs → PlayerAccountNotifications-IX9W_3ma.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OyZ1fIUi.js → PlayerAccountNotifications-PfH7nA2H.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DAWRutx-.cjs → PlayerAccountProductRestriction-BMsZXr0T.cjs} +399 -405
- package/components/{PlayerAccountProductRestriction-BZ2Y4yzU.js → PlayerAccountProductRestriction-Be0Y38Bb.js} +2601 -2513
- package/components/{PlayerAccountProductRestriction-L-vR790T.js → PlayerAccountProductRestriction-DRYwszQH.js} +2498 -2474
- package/components/{PlayerAccountSelfExclusion-Dq1gDgcx.cjs → PlayerAccountSelfExclusion-BxfZAiOT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-7psd7i6U.js → PlayerAccountSelfExclusion-CMOcGI1q.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Bd8SgB7m.js → PlayerAccountSelfExclusion-D-zhDW4s.js} +3 -3
- package/components/{PlayerAccountTimeout-Dby2FPrP.js → PlayerAccountTimeout-C1lZPgJL.js} +3 -3
- package/components/{PlayerAccountTimeout-uyeQ1--8.js → PlayerAccountTimeout-Du6bnf8d.js} +3 -3
- package/components/{PlayerAccountTimeout-CMLyedNs.cjs → PlayerAccountTimeout-DvX-2-Zs.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B5-KRVvB.js → PlayerAccountTransactionsHistory-AJqfVPyr.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Bn5gyj5f.cjs → PlayerAccountTransactionsHistory-BoLXUjEw.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BWsoBgd6.js → PlayerAccountTransactionsHistory-Duu-wHn-.js} +3 -3
- package/components/{PlayerActiveBonuses-C9i5xuOt.js → PlayerActiveBonuses-CL7yH9nn.js} +2 -2
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-CypcOO7I.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Cz3aqMcu.js → PlayerActiveBonuses-kkUHfpR3.js} +2 -2
- package/components/{PlayerBonusCard-DatoS2En.js → PlayerBonusCard-Cdoq85xJ.js} +2 -2
- package/components/{PlayerBonusCard-lMeM3LSx.js → PlayerBonusCard-CgVnRcoQ.js} +2 -2
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-DE6BCU2O.cjs} +1 -1
- package/components/{PlayerBonusHistory-BUUBhu5n.js → PlayerBonusHistory-BoWnXJza.js} +4 -4
- package/components/{PlayerBonusHistory-D7tVCTah.cjs → PlayerBonusHistory-CKlnyjJA.cjs} +1 -1
- package/components/{PlayerBonusHistory-BVbwQ0Zf.js → PlayerBonusHistory-CvKdrBYn.js} +4 -4
- package/components/{PlayerChangePassword-CGqqlwlb.js → PlayerChangePassword-9JsHHJA5.js} +1 -1
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-BYUZU8wW.cjs} +1 -1
- package/components/{PlayerChangePassword-BUYrlClk.js → PlayerChangePassword-QuelFUHA.js} +1 -1
- package/components/{PlayerDeposit-CTxatYEW.js → PlayerDeposit-BMI-t8Yz.js} +1 -1
- package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-BhF3WSC-.cjs} +1 -1
- package/components/{PlayerDeposit-DQObc_n_.js → PlayerDeposit-M7P-3V7u.js} +1 -1
- package/components/{PlayerGamingHistory-CGte8rt6.cjs → PlayerGamingHistory-BUyNNOUO.cjs} +1 -1
- package/components/{PlayerGamingHistory-BAeIZw2u.js → PlayerGamingHistory-Cbs4Z67l.js} +4 -4
- package/components/{PlayerGamingHistory-xZ8szCQB.js → PlayerGamingHistory-DjEwf_7_.js} +4 -4
- package/components/{PlayerPendingWithdrawals-Dek0JuV2.js → PlayerPendingWithdrawals-BTxQMknq.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CuGt7dq1.js → PlayerPendingWithdrawals-C-0lkGS9.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DreodXib.cjs} +1 -1
- package/components/{PlayerProfileInfo-BI4jNmXN.js → PlayerProfileInfo-BS-rMXNG.js} +509 -429
- package/components/{PlayerProfileInfo-C4dNo9s-.js → PlayerProfileInfo-Cxbwt_yQ.js} +539 -459
- package/components/PlayerProfileInfo-DoCBLeLO.cjs +4 -0
- package/components/{PlayerRealityCheck-CS9oAjTQ.js → PlayerRealityCheck-BUsjxpn1.js} +1 -1
- package/components/{PlayerRealityCheck-8KkrG0sn.js → PlayerRealityCheck-DgKGN-x1.js} +1 -1
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-xMuEFtt1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Cw0GAF5l.js → PlayerTransactionHistory-B-HCsFuJ.js} +1 -1
- package/components/{PlayerTransactionHistory-D7aVTCre.js → PlayerTransactionHistory-BJ5ico8T.js} +1 -1
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-DmL-_293.cjs} +1 -1
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-B2WqUhR-.cjs} +1 -1
- package/components/{PlayerWithdrawal-BPfYoISW.js → PlayerWithdrawal-BCTRlY2f.js} +1 -1
- package/components/{PlayerWithdrawal-C7mFHGlW.js → PlayerWithdrawal-BgP63Lx7.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-DadoyfRo.cjs → checkbox-group-input_15-DRUhTFo_.cjs} +391 -397
- package/stencil/{checkbox-group-input_15-C6LpSObs.js → checkbox-group-input_15-Di0yQpHU.js} +2147 -2128
- package/stencil/{checkbox-group-input_15-BXx2eI5U.js → checkbox-group-input_15-Qj_31WMH.js} +2147 -2128
- package/stencil/{index-13661b98-6KjWiAei.js → index-13661b98-B8S3l1ae.js} +1 -1
- package/stencil/{index-13661b98-e0g0ZJ4Q.cjs → index-13661b98-BfIn8C3l.cjs} +1 -1
- package/stencil/{index-13661b98-DMsw1Rqj.js → index-13661b98-CnuGTCF7.js} +1 -1
- package/stencil/{index-1ef3a64c-B7_EyQDJ.cjs → index-1ef3a64c-DR7bpfUj.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BMK3b66v.js → index-1ef3a64c-HE2lDlEL.js} +1 -1
- package/stencil/{index-1ef3a64c-Cs1oM3tK.js → index-1ef3a64c-zEGNB-u8.js} +1 -1
- package/stencil/{index-7c5e707a-BM4sfR0h.js → index-7c5e707a-2YIJtUZe.js} +1 -1
- package/stencil/{index-7c5e707a-2AC9SnQ7.js → index-7c5e707a-DGb2dQ60.js} +1 -1
- package/stencil/{index-7c5e707a-Cw-c3Bke.cjs → index-7c5e707a-_iYAV2Cv.cjs} +1 -1
- package/stencil/{pam-change-password-L1xQARTQ.js → pam-change-password-DtxM39I2.js} +1 -1
- package/stencil/{pam-change-password-CIhfcFNO.js → pam-change-password-FFVgwD-8.js} +1 -1
- package/stencil/{pam-change-password-CQIieVFW.cjs → pam-change-password-dL9KfXLS.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-bArCapa-.js → pam-change-password-f4a1e7e7-BkkC3LDV.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-B5NzEtGA.cjs → pam-change-password-f4a1e7e7-D3kiiFR8.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-Br0FC_GU.js → pam-change-password-f4a1e7e7-De_EUl35.js} +1 -1
- package/stencil/{user-deposit-withdrawal-B5PikBDs.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-mAQqyXGF.js → user-deposit-withdrawal-Cr0-V-2c.js} +135 -145
- package/stencil/{user-deposit-withdrawal-BftWiELv.js → user-deposit-withdrawal-DdJYJeX1.js} +161 -171
- package/stencil/user-transaction-history-BhBMJPP0.cjs +1 -0
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-CQuIy63_.js} +96 -92
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-DBXbHHd_.js} +94 -90
- package/components/PlayerAccountController-SUrzo8aT.cjs +0 -1
- package/components/PlayerProfileInfo-DFw4ourA.cjs +0 -4
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-
|
|
1
|
+
import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-zEGNB-u8.js";
|
|
2
2
|
import { c as ue } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
3
|
var le = () => {
|
|
4
|
-
const n = import.meta.url,
|
|
5
|
-
return n !== "" && (
|
|
4
|
+
const n = import.meta.url, c = {};
|
|
5
|
+
return n !== "" && (c.resourcesUrl = new URL(".", n).href), oe(c);
|
|
6
6
|
};
|
|
7
|
-
le().then(async (n) => (await ue(), ae([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], dynamicHeight: [32], cashierInfoUrl: [32] }, null, {
|
|
7
|
+
le().then(async (n) => (await ue(), ae([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n)));
|
|
8
8
|
const ce = "en", he = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ee = {
|
|
9
9
|
en: {
|
|
10
10
|
Deposit: "Deposit",
|
|
@@ -107,25 +107,25 @@ const ce = "en", he = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
107
107
|
errorCode21122: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",
|
|
108
108
|
errorCode21123: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"
|
|
109
109
|
}
|
|
110
|
-
}, fe = (n) => new Promise((
|
|
110
|
+
}, fe = (n) => new Promise((c) => {
|
|
111
111
|
fetch(n).then((u) => u.json()).then((u) => {
|
|
112
112
|
Object.keys(u).forEach((l) => {
|
|
113
113
|
for (let m in u[l])
|
|
114
114
|
ee[l][m] = u[l][m];
|
|
115
|
-
}),
|
|
115
|
+
}), c(!0);
|
|
116
116
|
});
|
|
117
|
-
}), H = (n,
|
|
118
|
-
const u =
|
|
117
|
+
}), H = (n, c) => {
|
|
118
|
+
const u = c;
|
|
119
119
|
return ee[u !== void 0 && he.includes(u) ? u : ce][n];
|
|
120
120
|
};
|
|
121
|
-
function K(n,
|
|
121
|
+
function K(n, c) {
|
|
122
122
|
if (n) {
|
|
123
123
|
const u = document.createElement("style");
|
|
124
|
-
u.innerHTML =
|
|
124
|
+
u.innerHTML = c, n.appendChild(u);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
function X(n,
|
|
128
|
-
const u = new URL(
|
|
127
|
+
function X(n, c) {
|
|
128
|
+
const u = new URL(c);
|
|
129
129
|
fetch(u.href).then((l) => l.text()).then((l) => {
|
|
130
130
|
const m = document.createElement("style");
|
|
131
131
|
m.innerHTML = l, n && n.appendChild(m);
|
|
@@ -133,21 +133,21 @@ function X(n, h) {
|
|
|
133
133
|
console.error("There was an error while trying to load client styling from URL", l);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
function pe(n,
|
|
136
|
+
function pe(n, c, u) {
|
|
137
137
|
if (window.emMessageBus) {
|
|
138
138
|
const l = document.createElement("style");
|
|
139
|
-
window.emMessageBus.subscribe(
|
|
139
|
+
window.emMessageBus.subscribe(c, (m) => {
|
|
140
140
|
l.innerHTML = m, n && n.appendChild(l);
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
const me = (n) => !!(n.toLowerCase().match(/android/i) || n.toLowerCase().match(/blackberry|bb/i) || n.toLowerCase().match(/iphone|ipad|ipod/i) || n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
145
145
|
var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
146
|
-
(function(n,
|
|
146
|
+
(function(n, c) {
|
|
147
147
|
(function(u, l) {
|
|
148
148
|
n.exports = l();
|
|
149
149
|
})(te, function() {
|
|
150
|
-
var u = 1e3, l = 6e4, m = 36e5,
|
|
150
|
+
var u = 1e3, l = 6e4, m = 36e5, T = "millisecond", v = "second", g = "minute", h = "hour", z = "day", P = "week", D = "month", N = "quarter", k = "year", L = "date", o = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
|
|
151
151
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
|
152
152
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
153
153
|
} }, U = function(a, r, e) {
|
|
@@ -164,11 +164,11 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
164
164
|
}, a: function(a) {
|
|
165
165
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
|
166
166
|
}, p: function(a) {
|
|
167
|
-
return { M: D, y:
|
|
167
|
+
return { M: D, y: k, w: P, d: z, D: L, h, m: g, s: v, ms: T, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
|
168
168
|
}, u: function(a) {
|
|
169
169
|
return a === void 0;
|
|
170
|
-
} }, x = "en",
|
|
171
|
-
|
|
170
|
+
} }, x = "en", E = {};
|
|
171
|
+
E[x] = I;
|
|
172
172
|
var q = "$isDayjsObject", B = function(a) {
|
|
173
173
|
return a instanceof Z || !(!a || !a[q]);
|
|
174
174
|
}, O = function a(r, e, i) {
|
|
@@ -177,13 +177,13 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
177
177
|
return x;
|
|
178
178
|
if (typeof r == "string") {
|
|
179
179
|
var s = r.toLowerCase();
|
|
180
|
-
|
|
180
|
+
E[s] && (t = s), e && (E[s] = e, t = s);
|
|
181
181
|
var d = r.split("-");
|
|
182
182
|
if (!t && d.length > 1)
|
|
183
183
|
return a(d[0]);
|
|
184
184
|
} else {
|
|
185
185
|
var p = r.name;
|
|
186
|
-
|
|
186
|
+
E[p] = r, t = p;
|
|
187
187
|
}
|
|
188
188
|
return !i && t && (x = t), t || !i && x;
|
|
189
189
|
}, w = function(a, r) {
|
|
@@ -212,8 +212,8 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
212
212
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
213
213
|
var d = t.match(M);
|
|
214
214
|
if (d) {
|
|
215
|
-
var p = d[2] - 1 || 0,
|
|
216
|
-
return s ? new Date(Date.UTC(d[1], p, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0,
|
|
215
|
+
var p = d[2] - 1 || 0, y = (d[7] || "0").substring(0, 3);
|
|
216
|
+
return s ? new Date(Date.UTC(d[1], p, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y)) : new Date(d[1], p, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
return new Date(t);
|
|
@@ -239,41 +239,41 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
239
239
|
}, r.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
241
|
}, r.startOf = function(e, i) {
|
|
242
|
-
var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R,
|
|
243
|
-
var j = f.w(t.$u ? Date.UTC(t.$y,
|
|
244
|
-
return s ? j : j.endOf(
|
|
245
|
-
},
|
|
246
|
-
return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
247
|
-
}, C = this.$W,
|
|
242
|
+
var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R, S) {
|
|
243
|
+
var j = f.w(t.$u ? Date.UTC(t.$y, S, R) : new Date(t.$y, S, R), t);
|
|
244
|
+
return s ? j : j.endOf(z);
|
|
245
|
+
}, y = function(R, S) {
|
|
246
|
+
return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(S)), t);
|
|
247
|
+
}, C = this.$W, $ = this.$M, W = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (d) {
|
|
249
|
-
case
|
|
249
|
+
case k:
|
|
250
250
|
return s ? p(1, 0) : p(31, 11);
|
|
251
251
|
case D:
|
|
252
|
-
return s ? p(1,
|
|
252
|
+
return s ? p(1, $) : p(0, $ + 1);
|
|
253
253
|
case P:
|
|
254
254
|
var _ = this.$locale().weekStart || 0, A = (C < _ ? C + 7 : C) - _;
|
|
255
|
-
return p(s ? W - A : W + (6 - A),
|
|
256
|
-
case
|
|
257
|
-
case
|
|
258
|
-
return
|
|
259
|
-
case
|
|
260
|
-
return
|
|
261
|
-
case
|
|
262
|
-
return
|
|
255
|
+
return p(s ? W - A : W + (6 - A), $);
|
|
256
|
+
case z:
|
|
257
|
+
case L:
|
|
258
|
+
return y(Y + "Hours", 0);
|
|
259
|
+
case h:
|
|
260
|
+
return y(Y + "Minutes", 1);
|
|
261
|
+
case g:
|
|
262
|
+
return y(Y + "Seconds", 2);
|
|
263
263
|
case v:
|
|
264
|
-
return
|
|
264
|
+
return y(Y + "Milliseconds", 3);
|
|
265
265
|
default:
|
|
266
266
|
return this.clone();
|
|
267
267
|
}
|
|
268
268
|
}, r.endOf = function(e) {
|
|
269
269
|
return this.startOf(e, !1);
|
|
270
270
|
}, r.$set = function(e, i) {
|
|
271
|
-
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[
|
|
272
|
-
if (s === D || s ===
|
|
273
|
-
var C = this.clone().set(
|
|
274
|
-
C.$d[p](
|
|
271
|
+
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[z] = d + "Date", t[L] = d + "Date", t[D] = d + "Month", t[k] = d + "FullYear", t[h] = d + "Hours", t[g] = d + "Minutes", t[v] = d + "Seconds", t[T] = d + "Milliseconds", t)[s], y = s === z ? this.$D + (i - this.$W) : i;
|
|
272
|
+
if (s === D || s === k) {
|
|
273
|
+
var C = this.clone().set(L, 1);
|
|
274
|
+
C.$d[p](y), C.init(), this.$d = C.set(L, Math.min(this.$D, C.daysInMonth())).$d;
|
|
275
275
|
} else
|
|
276
|
-
p && this.$d[p](
|
|
276
|
+
p && this.$d[p](y);
|
|
277
277
|
return this.init(), this;
|
|
278
278
|
}, r.set = function(e, i) {
|
|
279
279
|
return this.clone().$set(e, i);
|
|
@@ -282,19 +282,19 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
282
282
|
}, r.add = function(e, i) {
|
|
283
283
|
var t, s = this;
|
|
284
284
|
e = Number(e);
|
|
285
|
-
var d = f.p(i), p = function(
|
|
285
|
+
var d = f.p(i), p = function($) {
|
|
286
286
|
var W = w(s);
|
|
287
|
-
return f.w(W.date(W.date() + Math.round(
|
|
287
|
+
return f.w(W.date(W.date() + Math.round($ * e)), s);
|
|
288
288
|
};
|
|
289
289
|
if (d === D)
|
|
290
290
|
return this.set(D, this.$M + e);
|
|
291
|
+
if (d === k)
|
|
292
|
+
return this.set(k, this.$y + e);
|
|
291
293
|
if (d === z)
|
|
292
|
-
return this.set(z, this.$y + e);
|
|
293
|
-
if (d === T)
|
|
294
294
|
return p(1);
|
|
295
295
|
if (d === P)
|
|
296
296
|
return p(7);
|
|
297
|
-
var
|
|
297
|
+
var y = (t = {}, t[g] = l, t[h] = m, t[v] = u, t)[d] || 1, C = this.$d.getTime() + e * y;
|
|
298
298
|
return f.w(C, this);
|
|
299
299
|
}, r.subtract = function(e, i) {
|
|
300
300
|
return this.add(-1 * e, i);
|
|
@@ -302,15 +302,15 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
302
302
|
var i = this, t = this.$locale();
|
|
303
303
|
if (!this.isValid())
|
|
304
304
|
return t.invalidDate || o;
|
|
305
|
-
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H,
|
|
306
|
-
return
|
|
307
|
-
}, A = function(
|
|
308
|
-
return f.s(p % 12 || 12,
|
|
309
|
-
}, R = Y || function(
|
|
310
|
-
var J =
|
|
305
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, y = this.$m, C = this.$M, $ = t.weekdays, W = t.months, Y = t.meridiem, _ = function(S, j, V, J) {
|
|
306
|
+
return S && (S[j] || S(i, s)) || V[j].slice(0, J);
|
|
307
|
+
}, A = function(S) {
|
|
308
|
+
return f.s(p % 12 || 12, S, "0");
|
|
309
|
+
}, R = Y || function(S, j, V) {
|
|
310
|
+
var J = S < 12 ? "AM" : "PM";
|
|
311
311
|
return V ? J.toLowerCase() : J;
|
|
312
312
|
};
|
|
313
|
-
return s.replace(
|
|
313
|
+
return s.replace(F, function(S, j) {
|
|
314
314
|
return j || function(V) {
|
|
315
315
|
switch (V) {
|
|
316
316
|
case "YY":
|
|
@@ -332,11 +332,11 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
332
332
|
case "d":
|
|
333
333
|
return String(i.$W);
|
|
334
334
|
case "dd":
|
|
335
|
-
return _(t.weekdaysMin, i.$W,
|
|
335
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
|
336
336
|
case "ddd":
|
|
337
|
-
return _(t.weekdaysShort, i.$W,
|
|
337
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
|
338
338
|
case "dddd":
|
|
339
|
-
return
|
|
339
|
+
return $[i.$W];
|
|
340
340
|
case "H":
|
|
341
341
|
return String(p);
|
|
342
342
|
case "HH":
|
|
@@ -346,13 +346,13 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
346
346
|
case "hh":
|
|
347
347
|
return A(2);
|
|
348
348
|
case "a":
|
|
349
|
-
return R(p,
|
|
349
|
+
return R(p, y, !0);
|
|
350
350
|
case "A":
|
|
351
|
-
return R(p,
|
|
351
|
+
return R(p, y, !1);
|
|
352
352
|
case "m":
|
|
353
|
-
return String(
|
|
353
|
+
return String(y);
|
|
354
354
|
case "mm":
|
|
355
|
-
return f.s(
|
|
355
|
+
return f.s(y, 2, "0");
|
|
356
356
|
case "s":
|
|
357
357
|
return String(i.$s);
|
|
358
358
|
case "ss":
|
|
@@ -363,16 +363,16 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
363
363
|
return d;
|
|
364
364
|
}
|
|
365
365
|
return null;
|
|
366
|
-
}(
|
|
366
|
+
}(S) || d.replace(":", "");
|
|
367
367
|
});
|
|
368
368
|
}, r.utcOffset = function() {
|
|
369
369
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
370
370
|
}, r.diff = function(e, i, t) {
|
|
371
|
-
var s, d = this, p = f.p(i),
|
|
372
|
-
return f.m(d,
|
|
371
|
+
var s, d = this, p = f.p(i), y = w(e), C = (y.utcOffset() - this.utcOffset()) * l, $ = this - y, W = function() {
|
|
372
|
+
return f.m(d, y);
|
|
373
373
|
};
|
|
374
374
|
switch (p) {
|
|
375
|
-
case
|
|
375
|
+
case k:
|
|
376
376
|
s = W() / 12;
|
|
377
377
|
break;
|
|
378
378
|
case D:
|
|
@@ -382,28 +382,28 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
382
382
|
s = W() / 3;
|
|
383
383
|
break;
|
|
384
384
|
case P:
|
|
385
|
-
s = (
|
|
385
|
+
s = ($ - C) / 6048e5;
|
|
386
386
|
break;
|
|
387
|
-
case
|
|
388
|
-
s = (
|
|
387
|
+
case z:
|
|
388
|
+
s = ($ - C) / 864e5;
|
|
389
389
|
break;
|
|
390
|
-
case
|
|
391
|
-
s =
|
|
390
|
+
case h:
|
|
391
|
+
s = $ / m;
|
|
392
392
|
break;
|
|
393
|
-
case
|
|
394
|
-
s =
|
|
393
|
+
case g:
|
|
394
|
+
s = $ / l;
|
|
395
395
|
break;
|
|
396
396
|
case v:
|
|
397
|
-
s =
|
|
397
|
+
s = $ / u;
|
|
398
398
|
break;
|
|
399
399
|
default:
|
|
400
|
-
s =
|
|
400
|
+
s = $;
|
|
401
401
|
}
|
|
402
402
|
return t ? s : f.a(s);
|
|
403
403
|
}, r.daysInMonth = function() {
|
|
404
404
|
return this.endOf(D).$D;
|
|
405
405
|
}, r.$locale = function() {
|
|
406
|
-
return
|
|
406
|
+
return E[this.$L];
|
|
407
407
|
}, r.locale = function(e, i) {
|
|
408
408
|
if (!e)
|
|
409
409
|
return this.$L;
|
|
@@ -421,7 +421,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
421
421
|
return this.$d.toUTCString();
|
|
422
422
|
}, a;
|
|
423
423
|
}(), Q = Z.prototype;
|
|
424
|
-
return w.prototype = Q, [["$ms",
|
|
424
|
+
return w.prototype = Q, [["$ms", T], ["$s", v], ["$m", g], ["$H", h], ["$W", z], ["$M", D], ["$y", k], ["$D", L]].forEach(function(a) {
|
|
425
425
|
Q[a[1]] = function(r) {
|
|
426
426
|
return this.$g(r, a[0], a[1]);
|
|
427
427
|
};
|
|
@@ -429,92 +429,92 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
429
429
|
return a.$i || (a(r, Z, w), a.$i = !0), w;
|
|
430
430
|
}, w.locale = O, w.isDayjs = B, w.unix = function(a) {
|
|
431
431
|
return w(1e3 * a);
|
|
432
|
-
}, w.en =
|
|
432
|
+
}, w.en = E[x], w.Ls = E, w.p = {}, w;
|
|
433
433
|
});
|
|
434
434
|
})(re);
|
|
435
435
|
const ne = re.exports;
|
|
436
436
|
var ie = { exports: {} };
|
|
437
|
-
(function(n,
|
|
437
|
+
(function(n, c) {
|
|
438
438
|
(function(u, l) {
|
|
439
439
|
n.exports = l();
|
|
440
440
|
})(te, function() {
|
|
441
441
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
442
|
-
return function(
|
|
443
|
-
var
|
|
444
|
-
|
|
442
|
+
return function(T, v, g) {
|
|
443
|
+
var h = v.prototype;
|
|
444
|
+
g.utc = function(o) {
|
|
445
445
|
var M = { date: o, utc: !0, args: arguments };
|
|
446
446
|
return new v(M);
|
|
447
|
-
},
|
|
448
|
-
var M =
|
|
447
|
+
}, h.utc = function(o) {
|
|
448
|
+
var M = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
449
449
|
return o ? M.add(this.utcOffset(), u) : M;
|
|
450
|
-
},
|
|
451
|
-
return
|
|
450
|
+
}, h.local = function() {
|
|
451
|
+
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
452
452
|
};
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
|
453
|
+
var z = h.parse;
|
|
454
|
+
h.parse = function(o) {
|
|
455
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), z.call(this, o);
|
|
456
456
|
};
|
|
457
|
-
var P =
|
|
458
|
-
|
|
457
|
+
var P = h.init;
|
|
458
|
+
h.init = function() {
|
|
459
459
|
if (this.$u) {
|
|
460
460
|
var o = this.$d;
|
|
461
461
|
this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
|
|
462
462
|
} else
|
|
463
463
|
P.call(this);
|
|
464
464
|
};
|
|
465
|
-
var D =
|
|
466
|
-
|
|
467
|
-
var
|
|
468
|
-
if (
|
|
469
|
-
return this.$u ? 0 :
|
|
465
|
+
var D = h.utcOffset;
|
|
466
|
+
h.utcOffset = function(o, M) {
|
|
467
|
+
var F = this.$utils().u;
|
|
468
|
+
if (F(o))
|
|
469
|
+
return this.$u ? 0 : F(this.$offset) ? D.call(this) : this.$offset;
|
|
470
470
|
if (typeof o == "string" && (o = function(x) {
|
|
471
471
|
x === void 0 && (x = "");
|
|
472
|
-
var
|
|
473
|
-
if (!
|
|
472
|
+
var E = x.match(l);
|
|
473
|
+
if (!E)
|
|
474
474
|
return null;
|
|
475
|
-
var q = ("" +
|
|
475
|
+
var q = ("" + E[0]).match(m) || ["-", 0, 0], B = q[0], O = 60 * +q[1] + +q[2];
|
|
476
476
|
return O === 0 ? 0 : B === "+" ? O : -O;
|
|
477
477
|
}(o), o === null))
|
|
478
478
|
return this;
|
|
479
|
-
var
|
|
479
|
+
var I = Math.abs(o) <= 16 ? 60 * o : o, U = this;
|
|
480
480
|
if (M)
|
|
481
|
-
return U.$offset =
|
|
481
|
+
return U.$offset = I, U.$u = o === 0, U;
|
|
482
482
|
if (o !== 0) {
|
|
483
483
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
484
|
-
(U = this.local().add(
|
|
484
|
+
(U = this.local().add(I + G, u)).$offset = I, U.$x.$localOffset = G;
|
|
485
485
|
} else
|
|
486
486
|
U = this.utc();
|
|
487
487
|
return U;
|
|
488
488
|
};
|
|
489
|
-
var N =
|
|
490
|
-
|
|
489
|
+
var N = h.format;
|
|
490
|
+
h.format = function(o) {
|
|
491
491
|
var M = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
492
492
|
return N.call(this, M);
|
|
493
|
-
},
|
|
493
|
+
}, h.valueOf = function() {
|
|
494
494
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
495
495
|
return this.$d.valueOf() - 6e4 * o;
|
|
496
|
-
},
|
|
496
|
+
}, h.isUTC = function() {
|
|
497
497
|
return !!this.$u;
|
|
498
|
-
},
|
|
498
|
+
}, h.toISOString = function() {
|
|
499
499
|
return this.toDate().toISOString();
|
|
500
|
-
},
|
|
500
|
+
}, h.toString = function() {
|
|
501
501
|
return this.toDate().toUTCString();
|
|
502
502
|
};
|
|
503
|
-
var
|
|
504
|
-
|
|
505
|
-
return o === "s" && this.$offset ?
|
|
503
|
+
var k = h.toDate;
|
|
504
|
+
h.toDate = function(o) {
|
|
505
|
+
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
|
506
506
|
};
|
|
507
|
-
var
|
|
508
|
-
|
|
507
|
+
var L = h.diff;
|
|
508
|
+
h.diff = function(o, M, F) {
|
|
509
509
|
if (o && this.$u === o.$u)
|
|
510
|
-
return
|
|
511
|
-
var
|
|
512
|
-
return
|
|
510
|
+
return L.call(this, o, M, F);
|
|
511
|
+
var I = this.local(), U = g(o).local();
|
|
512
|
+
return L.call(I, U, M, F);
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
515
|
});
|
|
516
516
|
})(ie);
|
|
517
|
-
const
|
|
517
|
+
const ye = ie.exports, ge = `:host {
|
|
518
518
|
font: inherit;
|
|
519
519
|
display: block;
|
|
520
520
|
height: 100%;
|
|
@@ -585,14 +585,14 @@ const ge = ie.exports, ye = `:host {
|
|
|
585
585
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
586
586
|
overflow: visible;
|
|
587
587
|
}
|
|
588
|
-
}`, we =
|
|
589
|
-
ne.extend(
|
|
588
|
+
}`, we = ge;
|
|
589
|
+
ne.extend(ye);
|
|
590
590
|
const Ce = () => {
|
|
591
591
|
}, ve = class {
|
|
592
592
|
constructor(n) {
|
|
593
593
|
se(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = me(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
594
594
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
595
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType =
|
|
595
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Ce, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
596
596
|
}
|
|
597
597
|
get typeParameter() {
|
|
598
598
|
if (this.type === "deposit")
|
|
@@ -600,14 +600,11 @@ const Ce = () => {
|
|
|
600
600
|
if (this.type === "withdraw")
|
|
601
601
|
return "Withdraw";
|
|
602
602
|
}
|
|
603
|
-
|
|
604
|
-
this.
|
|
605
|
-
}
|
|
606
|
-
handleClientStylingChange(n, h) {
|
|
607
|
-
n != h && K(this.stylingContainer, this.clientStyling);
|
|
603
|
+
handleClientStylingChange(n, c) {
|
|
604
|
+
n != c && K(this.stylingContainer, this.clientStyling);
|
|
608
605
|
}
|
|
609
|
-
handleClientStylingChangeURL(n,
|
|
610
|
-
n !=
|
|
606
|
+
handleClientStylingChangeURL(n, c) {
|
|
607
|
+
n != c && this.clientStylingUrl && X(this.stylingContainer, this.clientStylingUrl);
|
|
611
608
|
}
|
|
612
609
|
async componentWillLoad() {
|
|
613
610
|
if (await this.loadWidget(), this.translationUrl)
|
|
@@ -620,11 +617,9 @@ const Ce = () => {
|
|
|
620
617
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
621
618
|
}
|
|
622
619
|
render() {
|
|
623
|
-
return b(de, { key: "
|
|
620
|
+
return b(de, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "cceae92ea2c7fb63f2de79e0d8748b7847c67842", ref: (n) => this.stylingContainer = n, class: "" }, b("div", { key: "5171e7159682058314022e47d93d4d20b377d7e1", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "9d517ae70d3f6a654ffaff66d86d19c4259fa679", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "97c991c8a18e44e50307a9bd3de11f446783a630", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { innerHTML: this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
624
621
|
}
|
|
625
622
|
async loadWidget() {
|
|
626
|
-
if (!this.endpoint)
|
|
627
|
-
return;
|
|
628
623
|
const n = {
|
|
629
624
|
Channel: this.channel,
|
|
630
625
|
Type: this.typeParameter,
|
|
@@ -637,43 +632,44 @@ const Ce = () => {
|
|
|
637
632
|
currency: this.currency,
|
|
638
633
|
showBonusSelectionInput: this.showBonusSelectionInput
|
|
639
634
|
};
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
635
|
+
if (!(Object.values(n).some((c) => c === void 0) || !this.endpoint))
|
|
636
|
+
try {
|
|
637
|
+
const c = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, u = await fetch(c, {
|
|
638
|
+
method: "POST",
|
|
639
|
+
headers: {
|
|
640
|
+
"X-Sessionid": this.session,
|
|
641
|
+
"Content-Type": "application/json",
|
|
642
|
+
"X-Client-Request-Timestamp": ne.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
643
|
+
},
|
|
644
|
+
body: JSON.stringify(n)
|
|
645
|
+
});
|
|
646
|
+
if (!u.ok) {
|
|
647
|
+
const m = await u.text();
|
|
648
|
+
throw new Error(m);
|
|
649
|
+
}
|
|
650
|
+
const l = await u.json();
|
|
651
|
+
if (l.CashierInfo)
|
|
652
|
+
this.cashierInfoUrl = l.CashierInfo.Url;
|
|
653
|
+
else {
|
|
654
|
+
let m;
|
|
655
|
+
if (l.ResponseMessage) {
|
|
656
|
+
let v = this.errorCodes.find((g) => l.ResponseMessage.includes(g)) || null;
|
|
657
|
+
v ? m = H(`errorCode${v}`, this.language) : m = H("notFoundErrorCode", this.language);
|
|
658
|
+
} else
|
|
659
|
+
m = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
|
660
|
+
const T = { type: "error", message: m };
|
|
661
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: T }, window.location.href);
|
|
662
|
+
}
|
|
663
|
+
} catch (c) {
|
|
664
|
+
console.error(c);
|
|
666
665
|
}
|
|
667
|
-
} catch (h) {
|
|
668
|
-
console.error(h);
|
|
669
|
-
}
|
|
670
666
|
}
|
|
671
667
|
handleMessage(n) {
|
|
672
|
-
var
|
|
673
|
-
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((
|
|
668
|
+
var c, u, l, m, T, v, g, h;
|
|
669
|
+
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((c = n.data) === null || c === void 0 ? void 0 : c.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((T = n.data) === null || T === void 0 ? void 0 : T.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((v = n.data) === null || v === void 0 ? void 0 : v.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((g = n.data) === null || g === void 0 ? void 0 : g.redirect) === "mm-wm-hc-init-deposit" || ((h = n.data) === null || h === void 0 ? void 0 : h.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
|
674
670
|
}
|
|
675
|
-
doRedirect(n,
|
|
676
|
-
const u = { reason: n, url:
|
|
671
|
+
doRedirect(n, c) {
|
|
672
|
+
const u = { reason: n, url: c, cancel: !1 };
|
|
677
673
|
if (this.beforeRedirect(u), !u.cancel) {
|
|
678
674
|
if (!u.url) {
|
|
679
675
|
window.location.href = "/";
|
|
@@ -684,12 +680,6 @@ const Ce = () => {
|
|
|
684
680
|
}
|
|
685
681
|
static get watchers() {
|
|
686
682
|
return {
|
|
687
|
-
session: ["watchLoadWidget"],
|
|
688
|
-
userId: ["watchLoadWidget"],
|
|
689
|
-
isShortCashier: ["watchLoadWidget"],
|
|
690
|
-
currency: ["watchLoadWidget"],
|
|
691
|
-
showBonusSelectionInput: ["watchLoadWidget"],
|
|
692
|
-
endpoint: ["watchLoadWidget"],
|
|
693
683
|
clientStyling: ["handleClientStylingChange"],
|
|
694
684
|
clientStylingUrl: ["handleClientStylingChangeURL"]
|
|
695
685
|
};
|