@everymatrix/casino-header-controller 1.53.11 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CasinoHamburgerMenu-Cf2TrArs.cjs +8 -0
- package/components/{CasinoHamburgerMenu-Didvw1sl.js → CasinoHamburgerMenu-qYeWUDPR.js} +1089 -1051
- package/components/{CasinoHeaderController-CFx6e2bY.js → CasinoHeaderController-BTm7ahEo.js} +353 -330
- package/components/CasinoHeaderController-BYZ7x9Ws.cjs +13 -0
- package/components/CasinoSlider-C4MiMF_z.cjs +1 -0
- package/components/{CasinoSlider-CTCcKhAJ.js → CasinoSlider-lJXP6bIe.js} +214 -208
- package/components/PlayerAccountBalanceModal-BaxHrMW5.cjs +13 -0
- package/components/{PlayerAccountBalanceModal-CljMbxpF.js → PlayerAccountBalanceModal-DdTG-RGU.js} +435 -406
- package/components/PlayerDeposit-64Q0JNEY.cjs +1 -0
- package/components/{PlayerDeposit-BDWEQLoE.js → PlayerDeposit-D67DkA6T.js} +1 -1
- package/es2015/casino-header-controller.cjs +1 -0
- package/es2015/casino-header-controller.js +16 -0
- package/package.json +15 -12
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/{index-33f005e1-BLR6jtB3.js → index-33f005e1-C1RAKo1w.js} +239 -223
- package/stencil/index-33f005e1-DV6BM6vD.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-DafvBY_z.js → user-deposit-withdrawal-CcI90qLW.js} +197 -175
- package/stencil/user-deposit-withdrawal-PVgJw2H0.cjs +59 -0
- package/esnext/casino-header-controller.js +0 -14
@@ -1,11 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
var Q = (i, p, u) => new Promise((l, g) => {
|
2
|
+
var L = (c) => {
|
3
|
+
try {
|
4
|
+
m(u.next(c));
|
5
|
+
} catch (S) {
|
6
|
+
g(S);
|
7
|
+
}
|
8
|
+
}, w = (c) => {
|
9
|
+
try {
|
10
|
+
m(u.throw(c));
|
11
|
+
} catch (S) {
|
12
|
+
g(S);
|
13
|
+
}
|
14
|
+
}, m = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(L, w);
|
15
|
+
m((u = u.apply(i, p)).next());
|
16
|
+
});
|
17
|
+
import { b as ie, p as ae, r as oe, h as b, H as se } from "./index-33f005e1-C1RAKo1w.js";
|
18
|
+
import { g as de } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
|
+
var ue = () => {
|
4
20
|
const i = import.meta.url, p = {};
|
5
|
-
return i !== "" && (p.resourcesUrl = new URL(".", i).href),
|
21
|
+
return i !== "" && (p.resourcesUrl = new URL(".", i).href), ae(p);
|
6
22
|
};
|
7
|
-
|
8
|
-
|
23
|
+
ue().then((i) => Q(void 0, null, function* () {
|
24
|
+
return yield de(), ie([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { 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], limitStylingAppends: [32], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"] }]]]], i);
|
25
|
+
}));
|
26
|
+
const ce = "en", le = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], X = {
|
9
27
|
en: {
|
10
28
|
Deposit: "Deposit",
|
11
29
|
Withdraw: "Withdraw",
|
@@ -105,39 +123,39 @@ const ue = "en", ce = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
105
123
|
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",
|
106
124
|
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"
|
107
125
|
}
|
108
|
-
},
|
126
|
+
}, he = (i) => new Promise((p) => {
|
109
127
|
fetch(i).then((u) => u.json()).then((u) => {
|
110
128
|
Object.keys(u).forEach((l) => {
|
111
129
|
for (let g in u[l])
|
112
|
-
|
130
|
+
X[l][g] = u[l][g];
|
113
131
|
}), p(!0);
|
114
132
|
});
|
115
133
|
}), H = (i, p) => {
|
116
134
|
const u = p;
|
117
|
-
return
|
118
|
-
},
|
119
|
-
var
|
135
|
+
return X[u !== void 0 && le.includes(u) ? u : ce][i];
|
136
|
+
}, fe = (i) => !!(i.toLowerCase().match(/android/i) || i.toLowerCase().match(/blackberry|bb/i) || i.toLowerCase().match(/iphone|ipad|ipod/i) || i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
137
|
+
var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, te = { exports: {} };
|
120
138
|
(function(i, p) {
|
121
139
|
(function(u, l) {
|
122
140
|
i.exports = l();
|
123
|
-
})(
|
124
|
-
var u = 1e3, l = 6e4, g = 36e5, L = "millisecond",
|
141
|
+
})(ee, function() {
|
142
|
+
var u = 1e3, l = 6e4, g = 36e5, L = "millisecond", w = "second", m = "minute", c = "hour", S = "day", q = "week", M = "month", N = "quarter", k = "year", O = "date", o = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, F = { 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) {
|
125
143
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
126
144
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
127
|
-
} },
|
145
|
+
} }, U = function(a, r, e) {
|
128
146
|
var n = String(a);
|
129
147
|
return !n || n.length >= r ? a : "" + Array(r + 1 - n.length).join(e) + a;
|
130
|
-
}, G = { s:
|
148
|
+
}, G = { s: U, z: function(a) {
|
131
149
|
var r = -a.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
|
132
|
-
return (r <= 0 ? "+" : "-") +
|
150
|
+
return (r <= 0 ? "+" : "-") + U(n, 2, "0") + ":" + U(t, 2, "0");
|
133
151
|
}, m: function a(r, e) {
|
134
152
|
if (r.date() < e.date()) return -a(e, r);
|
135
|
-
var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n,
|
153
|
+
var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, M), s = e - t < 0, d = r.clone().add(n + (s ? -1 : 1), M);
|
136
154
|
return +(-(n + (e - t) / (s ? t - d : d - t)) || 0);
|
137
155
|
}, a: function(a) {
|
138
156
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
139
157
|
}, p: function(a) {
|
140
|
-
return { M
|
158
|
+
return { M, y: k, w: q, d: S, D: O, h: c, m, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
141
159
|
}, u: function(a) {
|
142
160
|
return a === void 0;
|
143
161
|
} }, E = "en", z = {};
|
@@ -157,13 +175,13 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
157
175
|
z[f] = r, t = f;
|
158
176
|
}
|
159
177
|
return !n && t && (E = t), t || !n && E;
|
160
|
-
},
|
178
|
+
}, C = function(a, r) {
|
161
179
|
if (A(a)) return a.clone();
|
162
180
|
var e = typeof r == "object" ? r : {};
|
163
181
|
return e.date = a, e.args = arguments, new Z(e);
|
164
182
|
}, h = G;
|
165
183
|
h.l = j, h.i = A, h.w = function(a, r) {
|
166
|
-
return
|
184
|
+
return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
167
185
|
};
|
168
186
|
var Z = function() {
|
169
187
|
function a(e) {
|
@@ -177,10 +195,10 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
177
195
|
if (h.u(t)) return /* @__PURE__ */ new Date();
|
178
196
|
if (t instanceof Date) return new Date(t);
|
179
197
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
180
|
-
var d = t.match(
|
198
|
+
var d = t.match(W);
|
181
199
|
if (d) {
|
182
|
-
var f = d[2] - 1 || 0,
|
183
|
-
return s ? new Date(Date.UTC(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0,
|
200
|
+
var f = d[2] - 1 || 0, y = (d[7] || "0").substring(0, 3);
|
201
|
+
return s ? new Date(Date.UTC(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y)) : new Date(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y);
|
184
202
|
}
|
185
203
|
}
|
186
204
|
return new Date(t);
|
@@ -193,12 +211,12 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
193
211
|
}, r.isValid = function() {
|
194
212
|
return this.$d.toString() !== o;
|
195
213
|
}, r.isSame = function(e, n) {
|
196
|
-
var t =
|
214
|
+
var t = C(e);
|
197
215
|
return this.startOf(n) <= t && t <= this.endOf(n);
|
198
216
|
}, r.isAfter = function(e, n) {
|
199
|
-
return
|
217
|
+
return C(e) < this.startOf(n);
|
200
218
|
}, r.isBefore = function(e, n) {
|
201
|
-
return this.endOf(n) <
|
219
|
+
return this.endOf(n) < C(e);
|
202
220
|
}, r.$g = function(e, n, t) {
|
203
221
|
return h.u(e) ? this[n] : this.set(t, e);
|
204
222
|
}, r.unix = function() {
|
@@ -206,40 +224,40 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
206
224
|
}, r.valueOf = function() {
|
207
225
|
return this.$d.getTime();
|
208
226
|
}, r.startOf = function(e, n) {
|
209
|
-
var t = this, s = !!h.u(n) || n, d = h.p(e), f = function(R,
|
210
|
-
var x = h.w(t.$u ? Date.UTC(t.$y,
|
211
|
-
return s ? x : x.endOf(
|
212
|
-
},
|
213
|
-
return h.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
214
|
-
},
|
227
|
+
var t = this, s = !!h.u(n) || n, d = h.p(e), f = function(R, D) {
|
228
|
+
var x = h.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
|
229
|
+
return s ? x : x.endOf(S);
|
230
|
+
}, y = function(R, D) {
|
231
|
+
return h.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
|
232
|
+
}, $ = this.$W, v = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
215
233
|
switch (d) {
|
216
234
|
case k:
|
217
235
|
return s ? f(1, 0) : f(31, 11);
|
218
|
-
case
|
236
|
+
case M:
|
219
237
|
return s ? f(1, v) : f(0, v + 1);
|
220
238
|
case q:
|
221
|
-
var _ = this.$locale().weekStart || 0, B = (
|
222
|
-
return f(s ?
|
223
|
-
case
|
239
|
+
var _ = this.$locale().weekStart || 0, B = ($ < _ ? $ + 7 : $) - _;
|
240
|
+
return f(s ? T - B : T + (6 - B), v);
|
241
|
+
case S:
|
224
242
|
case O:
|
225
|
-
return
|
243
|
+
return y(P + "Hours", 0);
|
226
244
|
case c:
|
227
|
-
return
|
228
|
-
case
|
229
|
-
return
|
230
|
-
case
|
231
|
-
return
|
245
|
+
return y(P + "Minutes", 1);
|
246
|
+
case m:
|
247
|
+
return y(P + "Seconds", 2);
|
248
|
+
case w:
|
249
|
+
return y(P + "Milliseconds", 3);
|
232
250
|
default:
|
233
251
|
return this.clone();
|
234
252
|
}
|
235
253
|
}, r.endOf = function(e) {
|
236
254
|
return this.startOf(e, !1);
|
237
255
|
}, r.$set = function(e, n) {
|
238
|
-
var t, s = h.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[
|
239
|
-
if (s ===
|
240
|
-
var
|
241
|
-
|
242
|
-
} else f && this.$d[f](
|
256
|
+
var t, s = h.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[S] = d + "Date", t[O] = d + "Date", t[M] = d + "Month", t[k] = d + "FullYear", t[c] = d + "Hours", t[m] = d + "Minutes", t[w] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], y = s === S ? this.$D + (n - this.$W) : n;
|
257
|
+
if (s === M || s === k) {
|
258
|
+
var $ = this.clone().set(O, 1);
|
259
|
+
$.$d[f](y), $.init(), this.$d = $.set(O, Math.min(this.$D, $.daysInMonth())).$d;
|
260
|
+
} else f && this.$d[f](y);
|
243
261
|
return this.init(), this;
|
244
262
|
}, r.set = function(e, n) {
|
245
263
|
return this.clone().$set(e, n);
|
@@ -249,29 +267,29 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
249
267
|
var t, s = this;
|
250
268
|
e = Number(e);
|
251
269
|
var d = h.p(n), f = function(v) {
|
252
|
-
var
|
253
|
-
return h.w(
|
270
|
+
var T = C(s);
|
271
|
+
return h.w(T.date(T.date() + Math.round(v * e)), s);
|
254
272
|
};
|
255
|
-
if (d ===
|
273
|
+
if (d === M) return this.set(M, this.$M + e);
|
256
274
|
if (d === k) return this.set(k, this.$y + e);
|
257
|
-
if (d ===
|
275
|
+
if (d === S) return f(1);
|
258
276
|
if (d === q) return f(7);
|
259
|
-
var
|
260
|
-
return h.w(
|
277
|
+
var y = (t = {}, t[m] = l, t[c] = g, t[w] = u, t)[d] || 1, $ = this.$d.getTime() + e * y;
|
278
|
+
return h.w($, this);
|
261
279
|
}, r.subtract = function(e, n) {
|
262
280
|
return this.add(-1 * e, n);
|
263
281
|
}, r.format = function(e) {
|
264
282
|
var n = this, t = this.$locale();
|
265
283
|
if (!this.isValid()) return t.invalidDate || o;
|
266
|
-
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = h.z(this), f = this.$H,
|
267
|
-
return
|
268
|
-
}, B = function(
|
269
|
-
return h.s(f % 12 || 12,
|
270
|
-
}, R = P || function(
|
271
|
-
var J =
|
284
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = h.z(this), f = this.$H, y = this.$m, $ = this.$M, v = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, x, V, J) {
|
285
|
+
return D && (D[x] || D(n, s)) || V[x].slice(0, J);
|
286
|
+
}, B = function(D) {
|
287
|
+
return h.s(f % 12 || 12, D, "0");
|
288
|
+
}, R = P || function(D, x, V) {
|
289
|
+
var J = D < 12 ? "AM" : "PM";
|
272
290
|
return V ? J.toLowerCase() : J;
|
273
291
|
};
|
274
|
-
return s.replace(I, function(
|
292
|
+
return s.replace(I, function(D, x) {
|
275
293
|
return x || function(V) {
|
276
294
|
switch (V) {
|
277
295
|
case "YY":
|
@@ -279,13 +297,13 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
279
297
|
case "YYYY":
|
280
298
|
return h.s(n.$y, 4, "0");
|
281
299
|
case "M":
|
282
|
-
return
|
300
|
+
return $ + 1;
|
283
301
|
case "MM":
|
284
|
-
return h.s(
|
302
|
+
return h.s($ + 1, 2, "0");
|
285
303
|
case "MMM":
|
286
|
-
return _(t.monthsShort,
|
304
|
+
return _(t.monthsShort, $, T, 3);
|
287
305
|
case "MMMM":
|
288
|
-
return _(
|
306
|
+
return _(T, $);
|
289
307
|
case "D":
|
290
308
|
return n.$D;
|
291
309
|
case "DD":
|
@@ -307,13 +325,13 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
307
325
|
case "hh":
|
308
326
|
return B(2);
|
309
327
|
case "a":
|
310
|
-
return R(f,
|
328
|
+
return R(f, y, !0);
|
311
329
|
case "A":
|
312
|
-
return R(f,
|
330
|
+
return R(f, y, !1);
|
313
331
|
case "m":
|
314
|
-
return String(
|
332
|
+
return String(y);
|
315
333
|
case "mm":
|
316
|
-
return h.s(
|
334
|
+
return h.s(y, 2, "0");
|
317
335
|
case "s":
|
318
336
|
return String(n.$s);
|
319
337
|
case "ss":
|
@@ -324,37 +342,37 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
324
342
|
return d;
|
325
343
|
}
|
326
344
|
return null;
|
327
|
-
}(
|
345
|
+
}(D) || d.replace(":", "");
|
328
346
|
});
|
329
347
|
}, r.utcOffset = function() {
|
330
348
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
331
349
|
}, r.diff = function(e, n, t) {
|
332
|
-
var s, d = this, f = h.p(n),
|
333
|
-
return h.m(d,
|
350
|
+
var s, d = this, f = h.p(n), y = C(e), $ = (y.utcOffset() - this.utcOffset()) * l, v = this - y, T = function() {
|
351
|
+
return h.m(d, y);
|
334
352
|
};
|
335
353
|
switch (f) {
|
336
354
|
case k:
|
337
|
-
s =
|
355
|
+
s = T() / 12;
|
338
356
|
break;
|
339
|
-
case
|
340
|
-
s =
|
357
|
+
case M:
|
358
|
+
s = T();
|
341
359
|
break;
|
342
360
|
case N:
|
343
|
-
s =
|
361
|
+
s = T() / 3;
|
344
362
|
break;
|
345
363
|
case q:
|
346
|
-
s = (v -
|
364
|
+
s = (v - $) / 6048e5;
|
347
365
|
break;
|
348
|
-
case
|
349
|
-
s = (v -
|
366
|
+
case S:
|
367
|
+
s = (v - $) / 864e5;
|
350
368
|
break;
|
351
369
|
case c:
|
352
370
|
s = v / g;
|
353
371
|
break;
|
354
|
-
case
|
372
|
+
case m:
|
355
373
|
s = v / l;
|
356
374
|
break;
|
357
|
-
case
|
375
|
+
case w:
|
358
376
|
s = v / u;
|
359
377
|
break;
|
360
378
|
default:
|
@@ -362,7 +380,7 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
362
380
|
}
|
363
381
|
return t ? s : h.a(s);
|
364
382
|
}, r.daysInMonth = function() {
|
365
|
-
return this.endOf(
|
383
|
+
return this.endOf(M).$D;
|
366
384
|
}, r.$locale = function() {
|
367
385
|
return z[this.$L];
|
368
386
|
}, r.locale = function(e, n) {
|
@@ -380,39 +398,39 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
380
398
|
}, r.toString = function() {
|
381
399
|
return this.$d.toUTCString();
|
382
400
|
}, a;
|
383
|
-
}(),
|
384
|
-
return
|
385
|
-
|
401
|
+
}(), K = Z.prototype;
|
402
|
+
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", m], ["$H", c], ["$W", S], ["$M", M], ["$y", k], ["$D", O]].forEach(function(a) {
|
403
|
+
K[a[1]] = function(r) {
|
386
404
|
return this.$g(r, a[0], a[1]);
|
387
405
|
};
|
388
|
-
}),
|
389
|
-
return a.$i || (a(r, Z,
|
390
|
-
},
|
391
|
-
return
|
392
|
-
},
|
406
|
+
}), C.extend = function(a, r) {
|
407
|
+
return a.$i || (a(r, Z, C), a.$i = !0), C;
|
408
|
+
}, C.locale = j, C.isDayjs = A, C.unix = function(a) {
|
409
|
+
return C(1e3 * a);
|
410
|
+
}, C.en = z[E], C.Ls = z, C.p = {}, C;
|
393
411
|
});
|
394
|
-
})(
|
395
|
-
const
|
396
|
-
var
|
412
|
+
})(te);
|
413
|
+
const re = te.exports;
|
414
|
+
var ne = { exports: {} };
|
397
415
|
(function(i, p) {
|
398
416
|
(function(u, l) {
|
399
417
|
i.exports = l();
|
400
|
-
})(
|
418
|
+
})(ee, function() {
|
401
419
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
|
402
|
-
return function(L,
|
403
|
-
var c =
|
404
|
-
|
405
|
-
var
|
406
|
-
return new
|
420
|
+
return function(L, w, m) {
|
421
|
+
var c = w.prototype;
|
422
|
+
m.utc = function(o) {
|
423
|
+
var W = { date: o, utc: !0, args: arguments };
|
424
|
+
return new w(W);
|
407
425
|
}, c.utc = function(o) {
|
408
|
-
var
|
409
|
-
return o ?
|
426
|
+
var W = m(this.toDate(), { locale: this.$L, utc: !0 });
|
427
|
+
return o ? W.add(this.utcOffset(), u) : W;
|
410
428
|
}, c.local = function() {
|
411
|
-
return
|
429
|
+
return m(this.toDate(), { locale: this.$L, utc: !1 });
|
412
430
|
};
|
413
|
-
var
|
431
|
+
var S = c.parse;
|
414
432
|
c.parse = function(o) {
|
415
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
433
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), S.call(this, o);
|
416
434
|
};
|
417
435
|
var q = c.init;
|
418
436
|
c.init = function() {
|
@@ -421,10 +439,10 @@ var re = { exports: {} };
|
|
421
439
|
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();
|
422
440
|
} else q.call(this);
|
423
441
|
};
|
424
|
-
var
|
425
|
-
c.utcOffset = function(o,
|
442
|
+
var M = c.utcOffset;
|
443
|
+
c.utcOffset = function(o, W) {
|
426
444
|
var I = this.$utils().u;
|
427
|
-
if (I(o)) return this.$u ? 0 : I(this.$offset) ?
|
445
|
+
if (I(o)) return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
|
428
446
|
if (typeof o == "string" && (o = function(E) {
|
429
447
|
E === void 0 && (E = "");
|
430
448
|
var z = E.match(l);
|
@@ -432,18 +450,18 @@ var re = { exports: {} };
|
|
432
450
|
var Y = ("" + z[0]).match(g) || ["-", 0, 0], A = Y[0], j = 60 * +Y[1] + +Y[2];
|
433
451
|
return j === 0 ? 0 : A === "+" ? j : -j;
|
434
452
|
}(o), o === null)) return this;
|
435
|
-
var F = Math.abs(o) <= 16 ? 60 * o : o,
|
436
|
-
if (
|
453
|
+
var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
|
454
|
+
if (W) return U.$offset = F, U.$u = o === 0, U;
|
437
455
|
if (o !== 0) {
|
438
456
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
439
|
-
(
|
440
|
-
} else
|
441
|
-
return
|
457
|
+
(U = this.local().add(F + G, u)).$offset = F, U.$x.$localOffset = G;
|
458
|
+
} else U = this.utc();
|
459
|
+
return U;
|
442
460
|
};
|
443
461
|
var N = c.format;
|
444
462
|
c.format = function(o) {
|
445
|
-
var
|
446
|
-
return N.call(this,
|
463
|
+
var W = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
464
|
+
return N.call(this, W);
|
447
465
|
}, c.valueOf = function() {
|
448
466
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
449
467
|
return this.$d.valueOf() - 6e4 * o;
|
@@ -456,18 +474,18 @@ var re = { exports: {} };
|
|
456
474
|
};
|
457
475
|
var k = c.toDate;
|
458
476
|
c.toDate = function(o) {
|
459
|
-
return o === "s" && this.$offset ?
|
477
|
+
return o === "s" && this.$offset ? m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
460
478
|
};
|
461
479
|
var O = c.diff;
|
462
|
-
c.diff = function(o,
|
463
|
-
if (o && this.$u === o.$u) return O.call(this, o,
|
464
|
-
var F = this.local(),
|
465
|
-
return O.call(F,
|
480
|
+
c.diff = function(o, W, I) {
|
481
|
+
if (o && this.$u === o.$u) return O.call(this, o, W, I);
|
482
|
+
var F = this.local(), U = m(o).local();
|
483
|
+
return O.call(F, U, W, I);
|
466
484
|
};
|
467
485
|
};
|
468
486
|
});
|
469
|
-
})(
|
470
|
-
const
|
487
|
+
})(ne);
|
488
|
+
const pe = ne.exports, me = `:host {
|
471
489
|
font: inherit;
|
472
490
|
display: block;
|
473
491
|
height: 100%;
|
@@ -525,12 +543,12 @@ const fe = re.exports, pe = `:host {
|
|
525
543
|
margin-top: 70px;
|
526
544
|
text-align: center;
|
527
545
|
color: var(--emw--color-black, #000000);
|
528
|
-
}`,
|
529
|
-
|
530
|
-
const
|
531
|
-
},
|
546
|
+
}`, ge = me;
|
547
|
+
re.extend(pe);
|
548
|
+
const ye = () => {
|
549
|
+
}, we = class {
|
532
550
|
constructor(i) {
|
533
|
-
|
551
|
+
oe(this, i), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ye, this.limitStylingAppends = !1, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = fe(this.userAgent), this.errorCodes = ["21123", "21122"], this.setClientStyling = () => {
|
534
552
|
let p = document.createElement("style");
|
535
553
|
p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
|
536
554
|
}, this.setClientStylingURL = () => {
|
@@ -553,9 +571,11 @@ const ge = () => {
|
|
553
571
|
watchLoadWidget() {
|
554
572
|
this.loadWidget();
|
555
573
|
}
|
556
|
-
|
557
|
-
|
558
|
-
|
574
|
+
componentWillLoad() {
|
575
|
+
return Q(this, null, function* () {
|
576
|
+
if (yield this.loadWidget(), this.translationUrl)
|
577
|
+
return he(this.translationUrl);
|
578
|
+
});
|
559
579
|
}
|
560
580
|
toggleScreen(i) {
|
561
581
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: i }, window.location.href);
|
@@ -570,55 +590,57 @@ const ge = () => {
|
|
570
590
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
|
571
591
|
}
|
572
592
|
render() {
|
573
|
-
return
|
593
|
+
return b(se, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "afbbc15e1210ef1ade3c094b84c12485ff94e438", ref: (i) => this.stylingContainer = i }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "99b64c5ef99e55335c4f3066f448dd19a4eeaad0", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "abd3d5958091437af76efb311a49a30f6ba4a7eb" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, 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: "100%", src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
574
594
|
}
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
595
|
+
loadWidget() {
|
596
|
+
return Q(this, null, function* () {
|
597
|
+
const i = {
|
598
|
+
Channel: this.channel,
|
599
|
+
Type: this.typeParameter,
|
600
|
+
SuccessUrl: this.successUrl,
|
601
|
+
CancelUrl: this.cancelUrl,
|
602
|
+
FailUrl: this.failUrl,
|
603
|
+
Language: this.language,
|
604
|
+
productType: this.productType,
|
605
|
+
isShortCashier: this.isShortCashier,
|
606
|
+
currency: this.currency,
|
607
|
+
showBonusSelectionInput: this.showBonusSelectionInput
|
608
|
+
};
|
609
|
+
try {
|
610
|
+
const p = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, u = yield fetch(p, {
|
611
|
+
method: "POST",
|
612
|
+
headers: {
|
613
|
+
"X-Sessionid": this.session,
|
614
|
+
"Content-Type": "application/json",
|
615
|
+
"X-Client-Request-Timestamp": re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
616
|
+
},
|
617
|
+
body: JSON.stringify(i)
|
618
|
+
});
|
619
|
+
if (!u.ok) {
|
620
|
+
const g = yield u.text();
|
621
|
+
throw new Error(g);
|
622
|
+
}
|
623
|
+
const l = yield u.json();
|
624
|
+
if (l.CashierInfo)
|
625
|
+
this.cashierInfoUrl = l.CashierInfo.Url;
|
626
|
+
else {
|
627
|
+
let g;
|
628
|
+
if (l.ResponseMessage) {
|
629
|
+
let w = this.errorCodes.find((m) => l.ResponseMessage.includes(m)) || null;
|
630
|
+
w ? g = H(`errorCode${w}`, this.language) : g = H("notFoundErrorCode", this.language);
|
631
|
+
} else
|
632
|
+
g = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
633
|
+
const L = { type: "error", message: g };
|
634
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: L }, window.location.href);
|
635
|
+
}
|
636
|
+
} catch (p) {
|
637
|
+
console.error(p);
|
614
638
|
}
|
615
|
-
}
|
616
|
-
console.error(p);
|
617
|
-
}
|
639
|
+
});
|
618
640
|
}
|
619
641
|
handleMessage(i) {
|
620
|
-
var p, u, l, g, L,
|
621
|
-
i.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), i.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = i.data["MMFE:setQuickDepositHeight"].toString() + "px"), i.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = i.data["MMFE:setIFrameHeight"].toString() + "px"), ((p = i.data) === null || p === void 0 ? void 0 : p.type) === "mm-hcback-to-merchant" && this.doRedirect(i.data.type, this.homeUrl), ((u = i.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(i.data.redirect, this.homeUrl), ((l = i.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((g = i.data) === null || g === void 0 ? void 0 : g.redirect, this.sportsUrl), ((L = i.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((
|
642
|
+
var p, u, l, g, L, w, m, c;
|
643
|
+
i.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), i.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = i.data["MMFE:setQuickDepositHeight"].toString() + "px"), i.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = i.data["MMFE:setIFrameHeight"].toString() + "px"), ((p = i.data) === null || p === void 0 ? void 0 : p.type) === "mm-hcback-to-merchant" && this.doRedirect(i.data.type, this.homeUrl), ((u = i.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(i.data.redirect, this.homeUrl), ((l = i.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((g = i.data) === null || g === void 0 ? void 0 : g.redirect, this.sportsUrl), ((L = i.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((w = i.data) === null || w === void 0 ? void 0 : w.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((m = i.data) === null || m === void 0 ? void 0 : m.redirect) === "mm-wm-hc-init-deposit" || ((c = i.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
622
644
|
}
|
623
645
|
doRedirect(i, p) {
|
624
646
|
const u = { reason: i, url: p, cancel: !1 };
|
@@ -640,7 +662,7 @@ const ge = () => {
|
|
640
662
|
};
|
641
663
|
}
|
642
664
|
};
|
643
|
-
|
665
|
+
we.style = ge;
|
644
666
|
export {
|
645
|
-
|
667
|
+
we as user_deposit_withdrawal
|
646
668
|
};
|