@everymatrix/casino-header-controller-nd 1.87.25 → 1.87.27
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/CasinoHamburgerMenuNd-CQt7cU_5.js +1227 -0
- package/components/CasinoHamburgerMenuNd-N2xG7QFL.cjs +1 -0
- package/components/CasinoHamburgerMenuNd-YZgqRfDv.js +1203 -0
- package/components/CasinoHeaderControllerNd-CQnN2JAr.js +7059 -0
- package/components/CasinoHeaderControllerNd-JnA00Nbn.cjs +18 -0
- package/components/CasinoHeaderControllerNd-gt-ehnAU.js +7112 -0
- package/components/PlayerAccountBalanceModalNd-CYMET-BN.js +1539 -0
- package/components/PlayerAccountBalanceModalNd-Ce0NBt-I.js +1568 -0
- package/components/PlayerAccountBalanceModalNd-DZlrKIv5.cjs +7 -0
- package/components/{PlayerDeposit-C910Gf1y.js → PlayerDeposit-C9l3pru-.js} +71 -71
- package/components/PlayerDeposit-C_liyHTn.cjs +1 -0
- package/components/{PlayerDeposit-qsZYITrf.js → PlayerDeposit-DLUyaREv.js} +64 -64
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +7 -7
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/casino-hamburger-menu-nd-DMNN5mMz.js +16 -0
- package/lazy/casino-hamburger-menu-nd-DpgKIaJB.js +16 -0
- package/lazy/casino-hamburger-menu-nd-ywrsru39.cjs +1 -0
- package/lazy/{gamification-dropdown-Bi2IANLw.js → gamification-dropdown-CW0O-arZ.js} +4 -4
- package/lazy/{gamification-dropdown-DYxjulrY.cjs → gamification-dropdown-Dlvfea51.cjs} +1 -1
- package/lazy/{gamification-dropdown-B9v8IDVv.js → gamification-dropdown-ZRoQGT9d.js} +4 -4
- package/lazy/{player-account-balance-modal-nd-qutnKTdV.js → player-account-balance-modal-nd-DFTAjn-5.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-gZzis_-T.js → player-account-balance-modal-nd-DHMyxNz0.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BLdC4s3O.cjs → player-account-balance-modal-nd-Dgwo2VN9.cjs} +1 -1
- package/lazy/{player-deposit-Mn3IRhQ6.js → player-deposit-CT9RmoHB.js} +1 -1
- package/lazy/{player-deposit-BZMECdu0.js → player-deposit-DbcOiGgX.js} +1 -1
- package/lazy/{player-deposit-CgdF-jd5.cjs → player-deposit-Oe0nPYXj.cjs} +1 -1
- package/lazy/{user-deposit-withdrawal-fYrP9plZ.js → user-deposit-withdrawal-CAegaYeV.js} +1 -1
- package/lazy/{user-deposit-withdrawal-CWhRaiMB.cjs → user-deposit-withdrawal-DUMs1S3v.cjs} +1 -1
- package/lazy/{user-deposit-withdrawal-DS7RI4jZ.js → user-deposit-withdrawal-Mlqc62aZ.js} +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
- package/stencil/{gamification-dropdown-CZtjlKmZ.js → gamification-dropdown-B4f7eEjZ.js} +3 -3
- package/stencil/gamification-dropdown-BTLPC4Rm.cjs +1 -0
- package/stencil/{gamification-dropdown-CKP2IybJ.js → gamification-dropdown-COj0tq3r.js} +3 -3
- package/stencil/gamification-dropdown-f2984ee4-Dm58Irek.js +179 -0
- package/stencil/{gamification-dropdown-92e6c856-CWsXZt6d.js → gamification-dropdown-f2984ee4-DrP1W0AD.js} +77 -68
- package/stencil/gamification-dropdown-f2984ee4-ww_Jy4Bm.cjs +1 -0
- package/stencil/{gamification-dropdown_4-pw5vcA94.cjs → gamification-dropdown_4-CtrAzWRn.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-hiXX1fZJ.js → gamification-dropdown_4-DWAMFZwf.js} +11 -11
- package/stencil/{gamification-dropdown_4-BJHmIYaL.js → gamification-dropdown_4-Shm_fjxj.js} +11 -11
- package/stencil/{locale-CIZHVMDe.js → locale-Dq9tsc1e.js} +2 -2
- package/stencil/{player-elevate-card-D4O9XOE5.cjs → player-elevate-card-CCEirUx6.cjs} +1 -1
- package/stencil/{player-elevate-card-xOmP3tnZ.js → player-elevate-card-VyekC6J2.js} +3 -3
- package/stencil/{player-elevate-card-CwjSVk4Y.js → player-elevate-card-_umcmhE2.js} +3 -3
- package/stencil/{player-elevate-card-items-b4571def-Bzrr8DOK.cjs → player-elevate-card-items-b4571def-BHhNqN_3.cjs} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-DFmEuEpV.js → player-elevate-card-items-b4571def-DU9lcTpZ.js} +2 -2
- package/stencil/{player-elevate-card-items-b4571def-CKC2-tZx.js → player-elevate-card-items-b4571def-DZHLwVGG.js} +2 -2
- package/stencil/{player-elevate-pointcard-efDK9Slo.js → player-elevate-pointcard-Bm85eLkx.js} +3 -3
- package/stencil/{player-elevate-pointcard-fATBdhlF.cjs → player-elevate-pointcard-CiINDahW.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-EM9gr8Qq.js → player-elevate-pointcard-DGDk5bOl.js} +3 -3
- package/stencil/{player-rakeback-card-JDYEmJPr.cjs → player-rakeback-card-CBg2MioW.cjs} +1 -1
- package/stencil/{player-rakeback-card-CLbAOCAS.js → player-rakeback-card-DJThpjMv.js} +2 -2
- package/stencil/{player-rakeback-card-B2DAcfhw.js → player-rakeback-card-DNbifA_v.js} +2 -2
- package/stencil/{user-deposit-withdrawal-Bgmu_v3L.js → user-deposit-withdrawal-BN_2yjKT.js} +372 -344
- package/stencil/{user-deposit-withdrawal-C1ZuOfGY.js → user-deposit-withdrawal-BNv5WcIq.js} +327 -300
- package/stencil/user-deposit-withdrawal-sqMzKClT.cjs +72 -0
- package/components/CasinoHamburgerMenuNd-BWhQR6n1.cjs +0 -18
- package/components/CasinoHamburgerMenuNd-Djtdm8EV.js +0 -5630
- package/components/CasinoHamburgerMenuNd-DqSrTenb.js +0 -5675
- package/components/CasinoHeaderControllerNd-85jjhQ5V.js +0 -2607
- package/components/CasinoHeaderControllerNd-AyjI7UNx.js +0 -2634
- package/components/CasinoHeaderControllerNd-BhUuOWgY.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-Bt6KC8-Y.js +0 -1568
- package/components/PlayerAccountBalanceModalNd-CS7pAvLM.cjs +0 -7
- package/components/PlayerAccountBalanceModalNd-DxKi3Wc0.js +0 -1539
- package/components/PlayerDeposit-BDPi60xU.cjs +0 -1
- package/lazy/casino-hamburger-menu-nd-CAOIXMkM.cjs +0 -1
- package/lazy/casino-hamburger-menu-nd-DWZz6hns.js +0 -16
- package/lazy/casino-hamburger-menu-nd-DrYJDNro.js +0 -16
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/gamification-dropdown-92e6c856-Cn77bRmD.cjs +0 -1
- package/stencil/gamification-dropdown-92e6c856-D1KFL6hq.js +0 -133
- package/stencil/gamification-dropdown-CIRqmCYR.cjs +0 -1
- package/stencil/user-deposit-withdrawal-D-OTOuVZ.cjs +0 -72
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
4
|
-
const e = import.meta.url,
|
|
5
|
-
return e !== "" && (
|
|
1
|
+
import { b as ue, p as de, r as le, h as D, H as ce, s as he } from "../lazy/user-deposit-withdrawal-CAegaYeV.js";
|
|
2
|
+
import { g as fe } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
3
|
+
var pe = () => {
|
|
4
|
+
const e = import.meta.url, a = {};
|
|
5
|
+
return e !== "" && (a.resourcesUrl = new URL(".", e).href), de(a);
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
pe().then(async (e) => (await fe(), ue([["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], forwardCashierRedirects: [516, "forward-cashier-redirects"], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], e)));
|
|
8
|
+
const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
9
|
__proto__: null,
|
|
10
|
-
setNonce:
|
|
11
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10
|
+
setNonce: he
|
|
11
|
+
}, Symbol.toStringTag, { value: "Module" })), me = "en", ye = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], re = {
|
|
12
12
|
en: {
|
|
13
13
|
Deposit: "Deposit",
|
|
14
14
|
Withdraw: "Withdraw",
|
|
@@ -110,104 +110,131 @@ const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
110
110
|
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",
|
|
111
111
|
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"
|
|
112
112
|
}
|
|
113
|
-
},
|
|
114
|
-
fetch(e).then((
|
|
115
|
-
Object.keys(
|
|
116
|
-
for (let
|
|
117
|
-
|
|
118
|
-
}),
|
|
113
|
+
}, ge = (e) => new Promise((a) => {
|
|
114
|
+
fetch(e).then((o) => o.json()).then((o) => {
|
|
115
|
+
Object.keys(o).forEach((c) => {
|
|
116
|
+
for (let m in o[c])
|
|
117
|
+
re[c][m] = o[c][m];
|
|
118
|
+
}), a(!0);
|
|
119
119
|
});
|
|
120
|
-
}),
|
|
121
|
-
const
|
|
122
|
-
return
|
|
123
|
-
};
|
|
124
|
-
function X(e,
|
|
120
|
+
}), x = (e, a) => {
|
|
121
|
+
const o = a;
|
|
122
|
+
return re[o !== void 0 && ye.includes(o) ? o : me][e];
|
|
123
|
+
}, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
124
|
+
function X(e, a) {
|
|
125
125
|
if (e) {
|
|
126
|
-
const
|
|
127
|
-
|
|
126
|
+
const o = document.createElement("style");
|
|
127
|
+
o.innerHTML = a, e.appendChild(o);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
if (!e || !
|
|
130
|
+
function ee(e, a) {
|
|
131
|
+
if (!e || !a)
|
|
132
132
|
return;
|
|
133
|
-
const
|
|
134
|
-
fetch(
|
|
135
|
-
const
|
|
136
|
-
|
|
133
|
+
const o = new URL(a);
|
|
134
|
+
fetch(o.href).then((c) => c.text()).then((c) => {
|
|
135
|
+
const m = document.createElement("style");
|
|
136
|
+
m.innerHTML = c, e && e.appendChild(m);
|
|
137
137
|
}).catch((c) => {
|
|
138
138
|
console.error("There was an error while trying to load client styling from URL", c);
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
if (window.emMessageBus)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
function we(e, a, o, c = !1) {
|
|
142
|
+
if (!window.emMessageBus)
|
|
143
|
+
return;
|
|
144
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !c)
|
|
145
|
+
return o = Ce(e, a), o;
|
|
146
|
+
window[Y] || (window[Y] = {}), o = Se(e, a);
|
|
147
|
+
const v = o.unsubscribe.bind(o), S = () => {
|
|
148
|
+
if (window[Y][a]) {
|
|
149
|
+
const g = window[Y][a];
|
|
150
|
+
g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][a];
|
|
151
|
+
}
|
|
152
|
+
v();
|
|
153
|
+
};
|
|
154
|
+
return o.unsubscribe = S, o;
|
|
155
|
+
}
|
|
156
|
+
function Ce(e, a) {
|
|
157
|
+
const o = document.createElement("style");
|
|
158
|
+
return window.emMessageBus.subscribe(a, (c) => {
|
|
159
|
+
e && (o.innerHTML = c, e.appendChild(o));
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function Se(e, a) {
|
|
163
|
+
return window.emMessageBus.subscribe(a, (o) => {
|
|
164
|
+
if (!e)
|
|
165
|
+
return;
|
|
166
|
+
const c = e.getRootNode(), m = window[Y];
|
|
167
|
+
let v = m[a]?.sheet;
|
|
168
|
+
v ? m[a].refCount = m[a].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(o), m[a] = {
|
|
169
|
+
sheet: v,
|
|
170
|
+
refCount: 1
|
|
146
171
|
});
|
|
147
|
-
|
|
172
|
+
const S = c.adoptedStyleSheets || [];
|
|
173
|
+
S.includes(v) || (c.adoptedStyleSheets = [...S, v]);
|
|
174
|
+
});
|
|
148
175
|
}
|
|
149
|
-
const
|
|
150
|
-
var
|
|
151
|
-
(function(e,
|
|
152
|
-
(function(
|
|
176
|
+
const be = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
177
|
+
var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ie = { exports: {} };
|
|
178
|
+
(function(e, a) {
|
|
179
|
+
(function(o, c) {
|
|
153
180
|
e.exports = c();
|
|
154
|
-
})(
|
|
155
|
-
var
|
|
156
|
-
var n = ["th", "st", "nd", "rd"], t =
|
|
157
|
-
return "[" +
|
|
158
|
-
} },
|
|
159
|
-
var i = String(
|
|
160
|
-
return !i || i.length >= n ?
|
|
161
|
-
},
|
|
162
|
-
var n = -
|
|
163
|
-
return (n <= 0 ? "+" : "-") +
|
|
164
|
-
}, m: function
|
|
181
|
+
})(ne, function() {
|
|
182
|
+
var o = 1e3, c = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", E = "day", I = "week", M = "month", G = "quarter", O = "year", L = "date", u = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|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, _ = { 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(s) {
|
|
183
|
+
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
184
|
+
return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
185
|
+
} }, W = function(s, n, t) {
|
|
186
|
+
var i = String(s);
|
|
187
|
+
return !i || i.length >= n ? s : "" + Array(n + 1 - i.length).join(t) + s;
|
|
188
|
+
}, Z = { s: W, z: function(s) {
|
|
189
|
+
var n = -s.utcOffset(), t = Math.abs(n), i = Math.floor(t / 60), r = t % 60;
|
|
190
|
+
return (n <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(r, 2, "0");
|
|
191
|
+
}, m: function s(n, t) {
|
|
165
192
|
if (n.date() < t.date())
|
|
166
|
-
return -
|
|
167
|
-
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i,
|
|
168
|
-
return +(-(i + (t - r) / (
|
|
169
|
-
}, a: function(
|
|
170
|
-
return
|
|
171
|
-
}, p: function(
|
|
172
|
-
return { M
|
|
173
|
-
}, u: function(
|
|
174
|
-
return
|
|
175
|
-
} },
|
|
176
|
-
z[
|
|
177
|
-
var
|
|
178
|
-
return
|
|
179
|
-
},
|
|
193
|
+
return -s(t, n);
|
|
194
|
+
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M), d = t - r < 0, l = n.clone().add(i + (d ? -1 : 1), M);
|
|
195
|
+
return +(-(i + (t - r) / (d ? r - l : l - r)) || 0);
|
|
196
|
+
}, a: function(s) {
|
|
197
|
+
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
198
|
+
}, p: function(s) {
|
|
199
|
+
return { M, y: O, w: I, d: E, D: L, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
200
|
+
}, u: function(s) {
|
|
201
|
+
return s === void 0;
|
|
202
|
+
} }, k = "en", z = {};
|
|
203
|
+
z[k] = _;
|
|
204
|
+
var A = "$isDayjsObject", B = function(s) {
|
|
205
|
+
return s instanceof J || !(!s || !s[A]);
|
|
206
|
+
}, R = function s(n, t, i) {
|
|
180
207
|
var r;
|
|
181
208
|
if (!n)
|
|
182
|
-
return
|
|
209
|
+
return k;
|
|
183
210
|
if (typeof n == "string") {
|
|
184
|
-
var
|
|
185
|
-
z[
|
|
186
|
-
var
|
|
187
|
-
if (!r &&
|
|
188
|
-
return
|
|
211
|
+
var d = n.toLowerCase();
|
|
212
|
+
z[d] && (r = d), t && (z[d] = t, r = d);
|
|
213
|
+
var l = n.split("-");
|
|
214
|
+
if (!r && l.length > 1)
|
|
215
|
+
return s(l[0]);
|
|
189
216
|
} else {
|
|
190
217
|
var f = n.name;
|
|
191
218
|
z[f] = n, r = f;
|
|
192
219
|
}
|
|
193
|
-
return !i && r && (
|
|
194
|
-
},
|
|
195
|
-
if (
|
|
196
|
-
return
|
|
220
|
+
return !i && r && (k = r), r || !i && k;
|
|
221
|
+
}, w = function(s, n) {
|
|
222
|
+
if (B(s))
|
|
223
|
+
return s.clone();
|
|
197
224
|
var t = typeof n == "object" ? n : {};
|
|
198
|
-
return t.date =
|
|
199
|
-
}, h =
|
|
200
|
-
h.l =
|
|
201
|
-
return
|
|
225
|
+
return t.date = s, t.args = arguments, new J(t);
|
|
226
|
+
}, h = Z;
|
|
227
|
+
h.l = R, h.i = B, h.w = function(s, n) {
|
|
228
|
+
return w(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
|
202
229
|
};
|
|
203
|
-
var
|
|
204
|
-
function
|
|
205
|
-
this.$L =
|
|
230
|
+
var J = function() {
|
|
231
|
+
function s(t) {
|
|
232
|
+
this.$L = R(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
|
|
206
233
|
}
|
|
207
|
-
var n =
|
|
234
|
+
var n = s.prototype;
|
|
208
235
|
return n.parse = function(t) {
|
|
209
236
|
this.$d = function(i) {
|
|
210
|
-
var r = i.date,
|
|
237
|
+
var r = i.date, d = i.utc;
|
|
211
238
|
if (r === null)
|
|
212
239
|
return /* @__PURE__ */ new Date(NaN);
|
|
213
240
|
if (h.u(r))
|
|
@@ -215,10 +242,10 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
215
242
|
if (r instanceof Date)
|
|
216
243
|
return new Date(r);
|
|
217
244
|
if (typeof r == "string" && !/Z$/i.test(r)) {
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
var f =
|
|
221
|
-
return
|
|
245
|
+
var l = r.match(U);
|
|
246
|
+
if (l) {
|
|
247
|
+
var f = l[2] - 1 || 0, y = (l[7] || "0").substring(0, 3);
|
|
248
|
+
return d ? new Date(Date.UTC(l[1], f, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, y)) : new Date(l[1], f, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, y);
|
|
222
249
|
}
|
|
223
250
|
}
|
|
224
251
|
return new Date(r);
|
|
@@ -229,14 +256,14 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
229
256
|
}, n.$utils = function() {
|
|
230
257
|
return h;
|
|
231
258
|
}, n.isValid = function() {
|
|
232
|
-
return this.$d.toString() !==
|
|
259
|
+
return this.$d.toString() !== u;
|
|
233
260
|
}, n.isSame = function(t, i) {
|
|
234
|
-
var r =
|
|
261
|
+
var r = w(t);
|
|
235
262
|
return this.startOf(i) <= r && r <= this.endOf(i);
|
|
236
263
|
}, n.isAfter = function(t, i) {
|
|
237
|
-
return
|
|
264
|
+
return w(t) < this.startOf(i);
|
|
238
265
|
}, n.isBefore = function(t, i) {
|
|
239
|
-
return this.endOf(i) <
|
|
266
|
+
return this.endOf(i) < w(t);
|
|
240
267
|
}, n.$g = function(t, i, r) {
|
|
241
268
|
return h.u(t) ? this[i] : this.set(r, t);
|
|
242
269
|
}, n.unix = function() {
|
|
@@ -244,92 +271,92 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
244
271
|
}, n.valueOf = function() {
|
|
245
272
|
return this.$d.getTime();
|
|
246
273
|
}, n.startOf = function(t, i) {
|
|
247
|
-
var r = this,
|
|
248
|
-
var
|
|
249
|
-
return
|
|
250
|
-
},
|
|
251
|
-
return h.w(r.toDate()[F].apply(r.toDate("s"), (
|
|
252
|
-
},
|
|
253
|
-
switch (
|
|
274
|
+
var r = this, d = !!h.u(i) || i, l = h.p(t), f = function(F, $) {
|
|
275
|
+
var j = h.w(r.$u ? Date.UTC(r.$y, $, F) : new Date(r.$y, $, F), r);
|
|
276
|
+
return d ? j : j.endOf(E);
|
|
277
|
+
}, y = function(F, $) {
|
|
278
|
+
return h.w(r.toDate()[F].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
|
|
279
|
+
}, C = this.$W, b = this.$M, T = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
280
|
+
switch (l) {
|
|
281
|
+
case O:
|
|
282
|
+
return d ? f(1, 0) : f(31, 11);
|
|
283
|
+
case M:
|
|
284
|
+
return d ? f(1, b) : f(0, b + 1);
|
|
285
|
+
case I:
|
|
286
|
+
var P = this.$locale().weekStart || 0, N = (C < P ? C + 7 : C) - P;
|
|
287
|
+
return f(d ? T - N : T + (6 - N), b);
|
|
254
288
|
case E:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
return s ? f(1, C) : f(0, C + 1);
|
|
258
|
-
case _:
|
|
259
|
-
var P = this.$locale().weekStart || 0, B = (w < P ? w + 7 : w) - P;
|
|
260
|
-
return f(s ? W - B : W + (6 - B), C);
|
|
261
|
-
case T:
|
|
262
|
-
case k:
|
|
263
|
-
return m(Y + "Hours", 0);
|
|
289
|
+
case L:
|
|
290
|
+
return y(q + "Hours", 0);
|
|
264
291
|
case p:
|
|
265
|
-
return
|
|
266
|
-
case
|
|
267
|
-
return
|
|
268
|
-
case
|
|
269
|
-
return
|
|
292
|
+
return y(q + "Minutes", 1);
|
|
293
|
+
case g:
|
|
294
|
+
return y(q + "Seconds", 2);
|
|
295
|
+
case S:
|
|
296
|
+
return y(q + "Milliseconds", 3);
|
|
270
297
|
default:
|
|
271
298
|
return this.clone();
|
|
272
299
|
}
|
|
273
300
|
}, n.endOf = function(t) {
|
|
274
301
|
return this.startOf(t, !1);
|
|
275
302
|
}, n.$set = function(t, i) {
|
|
276
|
-
var r,
|
|
277
|
-
if (
|
|
278
|
-
var
|
|
279
|
-
|
|
303
|
+
var r, d = h.p(t), l = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[E] = l + "Date", r[L] = l + "Date", r[M] = l + "Month", r[O] = l + "FullYear", r[p] = l + "Hours", r[g] = l + "Minutes", r[S] = l + "Seconds", r[v] = l + "Milliseconds", r)[d], y = d === E ? this.$D + (i - this.$W) : i;
|
|
304
|
+
if (d === M || d === O) {
|
|
305
|
+
var C = this.clone().set(L, 1);
|
|
306
|
+
C.$d[f](y), C.init(), this.$d = C.set(L, Math.min(this.$D, C.daysInMonth())).$d;
|
|
280
307
|
} else
|
|
281
|
-
f && this.$d[f](
|
|
308
|
+
f && this.$d[f](y);
|
|
282
309
|
return this.init(), this;
|
|
283
310
|
}, n.set = function(t, i) {
|
|
284
311
|
return this.clone().$set(t, i);
|
|
285
312
|
}, n.get = function(t) {
|
|
286
313
|
return this[h.p(t)]();
|
|
287
314
|
}, n.add = function(t, i) {
|
|
288
|
-
var r,
|
|
315
|
+
var r, d = this;
|
|
289
316
|
t = Number(t);
|
|
290
|
-
var
|
|
291
|
-
var
|
|
292
|
-
return h.w(
|
|
317
|
+
var l = h.p(i), f = function(b) {
|
|
318
|
+
var T = w(d);
|
|
319
|
+
return h.w(T.date(T.date() + Math.round(b * t)), d);
|
|
293
320
|
};
|
|
294
|
-
if (
|
|
295
|
-
return this.set(
|
|
296
|
-
if (
|
|
297
|
-
return this.set(
|
|
298
|
-
if (
|
|
321
|
+
if (l === M)
|
|
322
|
+
return this.set(M, this.$M + t);
|
|
323
|
+
if (l === O)
|
|
324
|
+
return this.set(O, this.$y + t);
|
|
325
|
+
if (l === E)
|
|
299
326
|
return f(1);
|
|
300
|
-
if (
|
|
327
|
+
if (l === I)
|
|
301
328
|
return f(7);
|
|
302
|
-
var
|
|
303
|
-
return h.w(
|
|
329
|
+
var y = (r = {}, r[g] = c, r[p] = m, r[S] = o, r)[l] || 1, C = this.$d.getTime() + t * y;
|
|
330
|
+
return h.w(C, this);
|
|
304
331
|
}, n.subtract = function(t, i) {
|
|
305
332
|
return this.add(-1 * t, i);
|
|
306
333
|
}, n.format = function(t) {
|
|
307
334
|
var i = this, r = this.$locale();
|
|
308
335
|
if (!this.isValid())
|
|
309
|
-
return r.invalidDate ||
|
|
310
|
-
var
|
|
311
|
-
return
|
|
312
|
-
},
|
|
313
|
-
return h.s(f % 12 || 12,
|
|
314
|
-
}, F =
|
|
315
|
-
var
|
|
316
|
-
return
|
|
336
|
+
return r.invalidDate || u;
|
|
337
|
+
var d = t || "YYYY-MM-DDTHH:mm:ssZ", l = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, T = r.months, q = r.meridiem, P = function($, j, V, K) {
|
|
338
|
+
return $ && ($[j] || $(i, d)) || V[j].slice(0, K);
|
|
339
|
+
}, N = function($) {
|
|
340
|
+
return h.s(f % 12 || 12, $, "0");
|
|
341
|
+
}, F = q || function($, j, V) {
|
|
342
|
+
var K = $ < 12 ? "AM" : "PM";
|
|
343
|
+
return V ? K.toLowerCase() : K;
|
|
317
344
|
};
|
|
318
|
-
return
|
|
319
|
-
return
|
|
320
|
-
switch (
|
|
345
|
+
return d.replace(H, function($, j) {
|
|
346
|
+
return j || function(V) {
|
|
347
|
+
switch (V) {
|
|
321
348
|
case "YY":
|
|
322
349
|
return String(i.$y).slice(-2);
|
|
323
350
|
case "YYYY":
|
|
324
351
|
return h.s(i.$y, 4, "0");
|
|
325
352
|
case "M":
|
|
326
|
-
return
|
|
353
|
+
return C + 1;
|
|
327
354
|
case "MM":
|
|
328
|
-
return h.s(
|
|
355
|
+
return h.s(C + 1, 2, "0");
|
|
329
356
|
case "MMM":
|
|
330
|
-
return P(r.monthsShort,
|
|
357
|
+
return P(r.monthsShort, C, T, 3);
|
|
331
358
|
case "MMMM":
|
|
332
|
-
return P(
|
|
359
|
+
return P(T, C);
|
|
333
360
|
case "D":
|
|
334
361
|
return i.$D;
|
|
335
362
|
case "DD":
|
|
@@ -337,27 +364,27 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
337
364
|
case "d":
|
|
338
365
|
return String(i.$W);
|
|
339
366
|
case "dd":
|
|
340
|
-
return P(r.weekdaysMin, i.$W,
|
|
367
|
+
return P(r.weekdaysMin, i.$W, b, 2);
|
|
341
368
|
case "ddd":
|
|
342
|
-
return P(r.weekdaysShort, i.$W,
|
|
369
|
+
return P(r.weekdaysShort, i.$W, b, 3);
|
|
343
370
|
case "dddd":
|
|
344
|
-
return
|
|
371
|
+
return b[i.$W];
|
|
345
372
|
case "H":
|
|
346
373
|
return String(f);
|
|
347
374
|
case "HH":
|
|
348
375
|
return h.s(f, 2, "0");
|
|
349
376
|
case "h":
|
|
350
|
-
return
|
|
377
|
+
return N(1);
|
|
351
378
|
case "hh":
|
|
352
|
-
return
|
|
379
|
+
return N(2);
|
|
353
380
|
case "a":
|
|
354
|
-
return F(f,
|
|
381
|
+
return F(f, y, !0);
|
|
355
382
|
case "A":
|
|
356
|
-
return F(f,
|
|
383
|
+
return F(f, y, !1);
|
|
357
384
|
case "m":
|
|
358
|
-
return String(
|
|
385
|
+
return String(y);
|
|
359
386
|
case "mm":
|
|
360
|
-
return h.s(
|
|
387
|
+
return h.s(y, 2, "0");
|
|
361
388
|
case "s":
|
|
362
389
|
return String(i.$s);
|
|
363
390
|
case "ss":
|
|
@@ -365,55 +392,55 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
365
392
|
case "SSS":
|
|
366
393
|
return h.s(i.$ms, 3, "0");
|
|
367
394
|
case "Z":
|
|
368
|
-
return
|
|
395
|
+
return l;
|
|
369
396
|
}
|
|
370
397
|
return null;
|
|
371
|
-
}(
|
|
398
|
+
}($) || l.replace(":", "");
|
|
372
399
|
});
|
|
373
400
|
}, n.utcOffset = function() {
|
|
374
401
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
375
402
|
}, n.diff = function(t, i, r) {
|
|
376
|
-
var
|
|
377
|
-
return h.m(
|
|
403
|
+
var d, l = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * c, b = this - y, T = function() {
|
|
404
|
+
return h.m(l, y);
|
|
378
405
|
};
|
|
379
406
|
switch (f) {
|
|
380
|
-
case
|
|
381
|
-
|
|
407
|
+
case O:
|
|
408
|
+
d = T() / 12;
|
|
382
409
|
break;
|
|
383
|
-
case
|
|
384
|
-
|
|
410
|
+
case M:
|
|
411
|
+
d = T();
|
|
385
412
|
break;
|
|
386
|
-
case
|
|
387
|
-
|
|
413
|
+
case G:
|
|
414
|
+
d = T() / 3;
|
|
388
415
|
break;
|
|
389
|
-
case
|
|
390
|
-
|
|
416
|
+
case I:
|
|
417
|
+
d = (b - C) / 6048e5;
|
|
391
418
|
break;
|
|
392
|
-
case
|
|
393
|
-
|
|
419
|
+
case E:
|
|
420
|
+
d = (b - C) / 864e5;
|
|
394
421
|
break;
|
|
395
422
|
case p:
|
|
396
|
-
|
|
423
|
+
d = b / m;
|
|
397
424
|
break;
|
|
398
|
-
case
|
|
399
|
-
|
|
425
|
+
case g:
|
|
426
|
+
d = b / c;
|
|
400
427
|
break;
|
|
401
|
-
case
|
|
402
|
-
|
|
428
|
+
case S:
|
|
429
|
+
d = b / o;
|
|
403
430
|
break;
|
|
404
431
|
default:
|
|
405
|
-
|
|
432
|
+
d = b;
|
|
406
433
|
}
|
|
407
|
-
return r ?
|
|
434
|
+
return r ? d : h.a(d);
|
|
408
435
|
}, n.daysInMonth = function() {
|
|
409
|
-
return this.endOf(
|
|
436
|
+
return this.endOf(M).$D;
|
|
410
437
|
}, n.$locale = function() {
|
|
411
438
|
return z[this.$L];
|
|
412
439
|
}, n.locale = function(t, i) {
|
|
413
440
|
if (!t)
|
|
414
441
|
return this.$L;
|
|
415
|
-
var r = this.clone(),
|
|
416
|
-
return
|
|
442
|
+
var r = this.clone(), d = R(t, i, !0);
|
|
443
|
+
return d && (r.$L = d), r;
|
|
417
444
|
}, n.clone = function() {
|
|
418
445
|
return h.w(this.$d, this);
|
|
419
446
|
}, n.toDate = function() {
|
|
@@ -424,80 +451,80 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
424
451
|
return this.$d.toISOString();
|
|
425
452
|
}, n.toString = function() {
|
|
426
453
|
return this.$d.toUTCString();
|
|
427
|
-
},
|
|
428
|
-
}(), Q =
|
|
429
|
-
return
|
|
430
|
-
Q[
|
|
431
|
-
return this.$g(n,
|
|
454
|
+
}, s;
|
|
455
|
+
}(), Q = J.prototype;
|
|
456
|
+
return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", E], ["$M", M], ["$y", O], ["$D", L]].forEach(function(s) {
|
|
457
|
+
Q[s[1]] = function(n) {
|
|
458
|
+
return this.$g(n, s[0], s[1]);
|
|
432
459
|
};
|
|
433
|
-
}),
|
|
434
|
-
return
|
|
435
|
-
},
|
|
436
|
-
return
|
|
437
|
-
},
|
|
460
|
+
}), w.extend = function(s, n) {
|
|
461
|
+
return s.$i || (s(n, J, w), s.$i = !0), w;
|
|
462
|
+
}, w.locale = R, w.isDayjs = B, w.unix = function(s) {
|
|
463
|
+
return w(1e3 * s);
|
|
464
|
+
}, w.en = z[k], w.Ls = z, w.p = {}, w;
|
|
438
465
|
});
|
|
439
|
-
})(
|
|
440
|
-
const
|
|
441
|
-
var
|
|
442
|
-
(function(e,
|
|
443
|
-
(function(
|
|
466
|
+
})(ie);
|
|
467
|
+
const oe = ie.exports;
|
|
468
|
+
var ae = { exports: {} };
|
|
469
|
+
(function(e, a) {
|
|
470
|
+
(function(o, c) {
|
|
444
471
|
e.exports = c();
|
|
445
|
-
})(
|
|
446
|
-
var
|
|
447
|
-
return function(
|
|
448
|
-
var p =
|
|
449
|
-
|
|
450
|
-
var
|
|
451
|
-
return new U
|
|
452
|
-
}, p.utc = function(
|
|
453
|
-
var
|
|
454
|
-
return
|
|
472
|
+
})(ne, function() {
|
|
473
|
+
var o = "minute", c = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
474
|
+
return function(v, S, g) {
|
|
475
|
+
var p = S.prototype;
|
|
476
|
+
g.utc = function(u) {
|
|
477
|
+
var U = { date: u, utc: !0, args: arguments };
|
|
478
|
+
return new S(U);
|
|
479
|
+
}, p.utc = function(u) {
|
|
480
|
+
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
481
|
+
return u ? U.add(this.utcOffset(), o) : U;
|
|
455
482
|
}, p.local = function() {
|
|
456
|
-
return
|
|
483
|
+
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
457
484
|
};
|
|
458
|
-
var
|
|
459
|
-
p.parse = function(
|
|
460
|
-
|
|
485
|
+
var E = p.parse;
|
|
486
|
+
p.parse = function(u) {
|
|
487
|
+
u.utc && (this.$u = !0), this.$utils().u(u.$offset) || (this.$offset = u.$offset), E.call(this, u);
|
|
461
488
|
};
|
|
462
|
-
var
|
|
489
|
+
var I = p.init;
|
|
463
490
|
p.init = function() {
|
|
464
491
|
if (this.$u) {
|
|
465
|
-
var
|
|
466
|
-
this.$y =
|
|
492
|
+
var u = this.$d;
|
|
493
|
+
this.$y = u.getUTCFullYear(), this.$M = u.getUTCMonth(), this.$D = u.getUTCDate(), this.$W = u.getUTCDay(), this.$H = u.getUTCHours(), this.$m = u.getUTCMinutes(), this.$s = u.getUTCSeconds(), this.$ms = u.getUTCMilliseconds();
|
|
467
494
|
} else
|
|
468
|
-
|
|
495
|
+
I.call(this);
|
|
469
496
|
};
|
|
470
|
-
var
|
|
471
|
-
p.utcOffset = function(
|
|
472
|
-
var
|
|
473
|
-
if (
|
|
474
|
-
return this.$u ? 0 :
|
|
475
|
-
if (typeof
|
|
476
|
-
|
|
477
|
-
var z =
|
|
497
|
+
var M = p.utcOffset;
|
|
498
|
+
p.utcOffset = function(u, U) {
|
|
499
|
+
var H = this.$utils().u;
|
|
500
|
+
if (H(u))
|
|
501
|
+
return this.$u ? 0 : H(this.$offset) ? M.call(this) : this.$offset;
|
|
502
|
+
if (typeof u == "string" && (u = function(k) {
|
|
503
|
+
k === void 0 && (k = "");
|
|
504
|
+
var z = k.match(c);
|
|
478
505
|
if (!z)
|
|
479
506
|
return null;
|
|
480
|
-
var
|
|
481
|
-
return
|
|
482
|
-
}(
|
|
507
|
+
var A = ("" + z[0]).match(m) || ["-", 0, 0], B = A[0], R = 60 * +A[1] + +A[2];
|
|
508
|
+
return R === 0 ? 0 : B === "+" ? R : -R;
|
|
509
|
+
}(u), u === null))
|
|
483
510
|
return this;
|
|
484
|
-
var
|
|
485
|
-
if (
|
|
486
|
-
return
|
|
487
|
-
if (
|
|
488
|
-
var
|
|
489
|
-
(
|
|
511
|
+
var _ = Math.abs(u) <= 16 ? 60 * u : u, W = this;
|
|
512
|
+
if (U)
|
|
513
|
+
return W.$offset = _, W.$u = u === 0, W;
|
|
514
|
+
if (u !== 0) {
|
|
515
|
+
var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
516
|
+
(W = this.local().add(_ + Z, o)).$offset = _, W.$x.$localOffset = Z;
|
|
490
517
|
} else
|
|
491
|
-
|
|
492
|
-
return
|
|
518
|
+
W = this.utc();
|
|
519
|
+
return W;
|
|
493
520
|
};
|
|
494
|
-
var
|
|
495
|
-
p.format = function(
|
|
496
|
-
var
|
|
497
|
-
return
|
|
521
|
+
var G = p.format;
|
|
522
|
+
p.format = function(u) {
|
|
523
|
+
var U = u || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
524
|
+
return G.call(this, U);
|
|
498
525
|
}, p.valueOf = function() {
|
|
499
|
-
var
|
|
500
|
-
return this.$d.valueOf() - 6e4 *
|
|
526
|
+
var u = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
527
|
+
return this.$d.valueOf() - 6e4 * u;
|
|
501
528
|
}, p.isUTC = function() {
|
|
502
529
|
return !!this.$u;
|
|
503
530
|
}, p.toISOString = function() {
|
|
@@ -505,21 +532,21 @@ var oe = { exports: {} };
|
|
|
505
532
|
}, p.toString = function() {
|
|
506
533
|
return this.toDate().toUTCString();
|
|
507
534
|
};
|
|
508
|
-
var
|
|
509
|
-
p.toDate = function(
|
|
510
|
-
return
|
|
535
|
+
var O = p.toDate;
|
|
536
|
+
p.toDate = function(u) {
|
|
537
|
+
return u === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : O.call(this);
|
|
511
538
|
};
|
|
512
|
-
var
|
|
513
|
-
p.diff = function(
|
|
514
|
-
if (
|
|
515
|
-
return
|
|
516
|
-
var
|
|
517
|
-
return
|
|
539
|
+
var L = p.diff;
|
|
540
|
+
p.diff = function(u, U, H) {
|
|
541
|
+
if (u && this.$u === u.$u)
|
|
542
|
+
return L.call(this, u, U, H);
|
|
543
|
+
var _ = this.local(), W = g(u).local();
|
|
544
|
+
return L.call(_, W, U, H);
|
|
518
545
|
};
|
|
519
546
|
};
|
|
520
547
|
});
|
|
521
|
-
})(
|
|
522
|
-
const
|
|
548
|
+
})(ae);
|
|
549
|
+
const ve = ae.exports, $e = `:host {
|
|
523
550
|
font: inherit;
|
|
524
551
|
display: block;
|
|
525
552
|
height: 100%;
|
|
@@ -590,9 +617,9 @@ const Ce = oe.exports, be = `:host {
|
|
|
590
617
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
591
618
|
overflow: visible;
|
|
592
619
|
}
|
|
593
|
-
}`,
|
|
594
|
-
|
|
595
|
-
const
|
|
620
|
+
}`, De = $e;
|
|
621
|
+
oe.extend(ve);
|
|
622
|
+
const Me = "user-deposit-withdrawal", te = [
|
|
596
623
|
"mm-hcback-to-merchant",
|
|
597
624
|
"mm-hc-back-tomerchant",
|
|
598
625
|
"mm-hc-sports",
|
|
@@ -600,12 +627,12 @@ const Se = "user-deposit-withdrawal", ee = [
|
|
|
600
627
|
"mm-hc-contact",
|
|
601
628
|
"mm-wm-hc-init-deposit",
|
|
602
629
|
"mm-wm-hc-init-deposit-quick"
|
|
603
|
-
],
|
|
604
|
-
},
|
|
630
|
+
], Ue = () => {
|
|
631
|
+
}, se = class {
|
|
605
632
|
constructor(e) {
|
|
606
|
-
|
|
633
|
+
le(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = be(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
607
634
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
608
|
-
}, 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 =
|
|
635
|
+
}, 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 = Ue, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
609
636
|
}
|
|
610
637
|
get typeParameter() {
|
|
611
638
|
if (this.type === "deposit")
|
|
@@ -613,24 +640,24 @@ const Se = "user-deposit-withdrawal", ee = [
|
|
|
613
640
|
if (this.type === "withdraw")
|
|
614
641
|
return "Withdraw";
|
|
615
642
|
}
|
|
616
|
-
handleClientStylingChange(e,
|
|
617
|
-
e !=
|
|
643
|
+
handleClientStylingChange(e, a) {
|
|
644
|
+
e != a && X(this.stylingContainer, this.clientStyling);
|
|
618
645
|
}
|
|
619
|
-
handleClientStylingChangeURL(e,
|
|
620
|
-
e !=
|
|
646
|
+
handleClientStylingChangeURL(e, a) {
|
|
647
|
+
e != a && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
|
|
621
648
|
}
|
|
622
649
|
async componentWillLoad() {
|
|
623
650
|
if (await this.loadWidget(), this.translationUrl)
|
|
624
|
-
return
|
|
651
|
+
return ge(this.translationUrl);
|
|
625
652
|
}
|
|
626
653
|
componentDidLoad() {
|
|
627
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
654
|
+
this.stylingContainer && (window.emMessageBus != null ? we(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
|
|
628
655
|
}
|
|
629
656
|
disconnectedCallback() {
|
|
630
657
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
631
658
|
}
|
|
632
659
|
render() {
|
|
633
|
-
return
|
|
660
|
+
return D(ce, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("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)" })))), D("h2", { class: "CategoryTitleMobile" }, x(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
634
661
|
}
|
|
635
662
|
async loadWidget() {
|
|
636
663
|
const e = {
|
|
@@ -645,53 +672,53 @@ const Se = "user-deposit-withdrawal", ee = [
|
|
|
645
672
|
currency: this.currency,
|
|
646
673
|
showBonusSelectionInput: this.showBonusSelectionInput
|
|
647
674
|
};
|
|
648
|
-
if (!(Object.values(e).some((
|
|
675
|
+
if (!(Object.values(e).some((a) => a === void 0) || !this.endpoint))
|
|
649
676
|
try {
|
|
650
|
-
const
|
|
677
|
+
const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, o = await fetch(a, {
|
|
651
678
|
method: "POST",
|
|
652
679
|
headers: {
|
|
653
680
|
"X-Sessionid": this.session,
|
|
654
681
|
"Content-Type": "application/json",
|
|
655
|
-
"X-Client-Request-Timestamp":
|
|
682
|
+
"X-Client-Request-Timestamp": oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
656
683
|
},
|
|
657
684
|
body: JSON.stringify(e)
|
|
658
685
|
});
|
|
659
|
-
if (!
|
|
660
|
-
const
|
|
661
|
-
throw new Error(
|
|
686
|
+
if (!o.ok) {
|
|
687
|
+
const m = await o.text();
|
|
688
|
+
throw new Error(m);
|
|
662
689
|
}
|
|
663
|
-
const c = await
|
|
690
|
+
const c = await o.json();
|
|
664
691
|
if (c.CashierInfo)
|
|
665
692
|
this.cashierInfoUrl = c.CashierInfo.Url;
|
|
666
693
|
else {
|
|
667
|
-
let
|
|
694
|
+
let m;
|
|
668
695
|
if (c.ResponseMessage) {
|
|
669
|
-
let
|
|
670
|
-
|
|
696
|
+
let S = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
|
|
697
|
+
S ? m = x(`errorCode${S}`, this.language) : m = x("notFoundErrorCode", this.language);
|
|
671
698
|
} else
|
|
672
|
-
|
|
673
|
-
const
|
|
674
|
-
window.postMessage({ type: "DenyDepositOrWithdrawal", data:
|
|
699
|
+
m = this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language);
|
|
700
|
+
const v = { type: "error", message: m };
|
|
701
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: v }, window.location.href);
|
|
675
702
|
}
|
|
676
|
-
} catch (
|
|
677
|
-
console.error(
|
|
703
|
+
} catch (a) {
|
|
704
|
+
console.error(a);
|
|
678
705
|
}
|
|
679
706
|
}
|
|
680
707
|
handleMessage(e) {
|
|
681
|
-
const
|
|
682
|
-
if (!
|
|
708
|
+
const a = this.extractPayload(e);
|
|
709
|
+
if (!a)
|
|
683
710
|
return;
|
|
684
|
-
this.applyLayoutHints(
|
|
685
|
-
const
|
|
686
|
-
if (!
|
|
711
|
+
this.applyLayoutHints(a);
|
|
712
|
+
const o = this.extractCashierRedirectReason(a);
|
|
713
|
+
if (!o || this.emitForwardedRedirect(e, o))
|
|
687
714
|
return;
|
|
688
|
-
const c = this.resolveRedirectPlan(
|
|
715
|
+
const c = this.resolveRedirectPlan(o);
|
|
689
716
|
c && this.doRedirect(c.reason, c.targetUrl);
|
|
690
717
|
}
|
|
691
718
|
extractCashierRedirectReason(e) {
|
|
692
|
-
if (typeof e?.type == "string" &&
|
|
719
|
+
if (typeof e?.type == "string" && te.includes(e.type))
|
|
693
720
|
return e.type;
|
|
694
|
-
if (typeof e?.redirect == "string" &&
|
|
721
|
+
if (typeof e?.redirect == "string" && te.includes(e.redirect))
|
|
695
722
|
return e.redirect;
|
|
696
723
|
}
|
|
697
724
|
extractPayload(e) {
|
|
@@ -719,29 +746,29 @@ const Se = "user-deposit-withdrawal", ee = [
|
|
|
719
746
|
return;
|
|
720
747
|
}
|
|
721
748
|
}
|
|
722
|
-
buildRedirectPlan(e,
|
|
723
|
-
if (
|
|
724
|
-
return { reason: e, targetUrl:
|
|
749
|
+
buildRedirectPlan(e, a) {
|
|
750
|
+
if (a)
|
|
751
|
+
return { reason: e, targetUrl: a };
|
|
725
752
|
}
|
|
726
|
-
emitForwardedRedirect(e,
|
|
753
|
+
emitForwardedRedirect(e, a) {
|
|
727
754
|
if (!this.forwardCashierRedirects)
|
|
728
755
|
return !1;
|
|
729
|
-
const
|
|
730
|
-
type: `${
|
|
731
|
-
originalType:
|
|
756
|
+
const o = {
|
|
757
|
+
type: `${Me}:${a}`,
|
|
758
|
+
originalType: a,
|
|
732
759
|
payload: e.data,
|
|
733
760
|
origin: e.origin
|
|
734
761
|
};
|
|
735
|
-
return window.postMessage(
|
|
762
|
+
return window.postMessage(o, window.location.href), !0;
|
|
736
763
|
}
|
|
737
|
-
doRedirect(e,
|
|
738
|
-
const
|
|
739
|
-
if (this.beforeRedirect(
|
|
740
|
-
if (!
|
|
764
|
+
doRedirect(e, a) {
|
|
765
|
+
const o = { reason: e, url: a, cancel: !1 };
|
|
766
|
+
if (this.beforeRedirect(o), !o.cancel) {
|
|
767
|
+
if (!o.url) {
|
|
741
768
|
window.location.href = "/";
|
|
742
769
|
return;
|
|
743
770
|
}
|
|
744
|
-
window.location.href =
|
|
771
|
+
window.location.href = o.url;
|
|
745
772
|
}
|
|
746
773
|
}
|
|
747
774
|
static get watchers() {
|
|
@@ -751,12 +778,12 @@ const Se = "user-deposit-withdrawal", ee = [
|
|
|
751
778
|
};
|
|
752
779
|
}
|
|
753
780
|
};
|
|
754
|
-
|
|
755
|
-
const
|
|
781
|
+
se.style = De;
|
|
782
|
+
const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
756
783
|
__proto__: null,
|
|
757
|
-
user_deposit_withdrawal:
|
|
784
|
+
user_deposit_withdrawal: se
|
|
758
785
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
759
786
|
export {
|
|
760
|
-
|
|
761
|
-
|
|
787
|
+
Oe as a,
|
|
788
|
+
Ee as u
|
|
762
789
|
};
|