@everymatrix/casino-random-game 1.85.16 → 1.85.18
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/{CasinoRandomGame-DGqtZD9p.js → CasinoRandomGame-B0w2ICaH.js} +142 -139
- package/components/{CasinoRandomGame-BCx6_mSm.js → CasinoRandomGame-C7wTtBHD.js} +89 -86
- package/components/{CasinoRandomGame-CIt395QJ.cjs → CasinoRandomGame-CW-B_XJF.cjs} +4 -4
- package/es2015/casino-random-game.cjs +1 -1
- package/es2015/casino-random-game.js +1 -1
- package/esnext/casino-random-game.js +1 -1
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ var Zr = Object.defineProperty, Qr = Object.defineProperties;
|
|
|
2
2
|
var Yr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var yt = Object.getOwnPropertySymbols;
|
|
4
4
|
var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Fe = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
qr.call(t, r) &&
|
|
7
|
+
qr.call(t, r) && Fe(e, r, t[r]);
|
|
8
8
|
if (yt)
|
|
9
9
|
for (var r of yt(t))
|
|
10
|
-
Kr.call(t, r) &&
|
|
10
|
+
Kr.call(t, r) && Fe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, _t = (e, t) => Qr(e, Yr(t));
|
|
13
|
-
var N = (e, t, r) => (
|
|
13
|
+
var N = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var ye = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -27,7 +27,7 @@ var ye = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function C() {
|
|
31
31
|
}
|
|
32
32
|
function en(e, t) {
|
|
33
33
|
for (const r in t)
|
|
@@ -63,7 +63,7 @@ function er(e, ...t) {
|
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
66
|
-
return
|
|
66
|
+
return C;
|
|
67
67
|
}
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -206,7 +206,7 @@ function bn() {
|
|
|
206
206
|
function Ze(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const $e = /* @__PURE__ */ new Set();
|
|
210
210
|
let Y = 0;
|
|
211
211
|
function R() {
|
|
212
212
|
if (Y !== 0)
|
|
@@ -225,13 +225,13 @@ function R() {
|
|
|
225
225
|
Ae.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
|
-
|
|
228
|
+
$e.has(r) || ($e.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
232
|
for (; St.length; )
|
|
233
233
|
St.pop()();
|
|
234
|
-
Je = !1,
|
|
234
|
+
Je = !1, $e.clear(), he(e);
|
|
235
235
|
}
|
|
236
236
|
function gn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
@@ -295,7 +295,7 @@ function Sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
|
-
update:
|
|
298
|
+
update: C,
|
|
299
299
|
not_equal: i,
|
|
300
300
|
bound: xt(),
|
|
301
301
|
// lifecycle
|
|
@@ -529,7 +529,7 @@ class Hn {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
En(this, 1), this.$destroy =
|
|
532
|
+
En(this, 1), this.$destroy = C;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -539,7 +539,7 @@ class Hn {
|
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
541
|
if (!ft(r))
|
|
542
|
-
return
|
|
542
|
+
return C;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
545
545
|
const i = n.indexOf(r);
|
|
@@ -854,14 +854,14 @@ var Nn = {
|
|
|
854
854
|
next: Bt,
|
|
855
855
|
error: In,
|
|
856
856
|
complete: Bt
|
|
857
|
-
},
|
|
857
|
+
}, Mn = function() {
|
|
858
858
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
859
859
|
}();
|
|
860
|
-
function
|
|
860
|
+
function Ln(e) {
|
|
861
861
|
return e;
|
|
862
862
|
}
|
|
863
|
-
function
|
|
864
|
-
return e.length === 0 ?
|
|
863
|
+
function Gn(e) {
|
|
864
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
865
865
|
return e.reduce(function(n, i) {
|
|
866
866
|
return i(n);
|
|
867
867
|
}, r);
|
|
@@ -905,12 +905,12 @@ var At = function() {
|
|
|
905
905
|
}, e.prototype._subscribe = function(t) {
|
|
906
906
|
var r;
|
|
907
907
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
908
|
-
}, e.prototype[
|
|
908
|
+
}, e.prototype[Mn] = function() {
|
|
909
909
|
return this;
|
|
910
910
|
}, e.prototype.pipe = function() {
|
|
911
911
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
912
912
|
t[r] = arguments[r];
|
|
913
|
-
return
|
|
913
|
+
return Gn(t)(this);
|
|
914
914
|
}, e.prototype.toPromise = function(t) {
|
|
915
915
|
var r = this;
|
|
916
916
|
return t = Pt(t), new t(function(n, i) {
|
|
@@ -931,13 +931,13 @@ function Pt(e) {
|
|
|
931
931
|
var t;
|
|
932
932
|
return (t = e != null ? e : An.Promise) !== null && t !== void 0 ? t : Promise;
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function Cn(e) {
|
|
935
935
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
936
936
|
}
|
|
937
937
|
function Un(e) {
|
|
938
|
-
return e && e instanceof ur ||
|
|
938
|
+
return e && e instanceof ur || Cn(e) && sr(e);
|
|
939
939
|
}
|
|
940
|
-
var
|
|
940
|
+
var Fn = or(function(e) {
|
|
941
941
|
return function() {
|
|
942
942
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
943
943
|
};
|
|
@@ -952,7 +952,7 @@ var $n = or(function(e) {
|
|
|
952
952
|
return n.operator = r, n;
|
|
953
953
|
}, t.prototype._throwIfClosed = function() {
|
|
954
954
|
if (this.closed)
|
|
955
|
-
throw new
|
|
955
|
+
throw new Fn();
|
|
956
956
|
}, t.prototype.next = function(r) {
|
|
957
957
|
var n = this;
|
|
958
958
|
Se(function() {
|
|
@@ -1045,7 +1045,7 @@ var $n = or(function(e) {
|
|
|
1045
1045
|
return (hr.delegate || Date).now();
|
|
1046
1046
|
},
|
|
1047
1047
|
delegate: void 0
|
|
1048
|
-
},
|
|
1048
|
+
}, $n = function(e) {
|
|
1049
1049
|
pe(t, e);
|
|
1050
1050
|
function t(r, n, i) {
|
|
1051
1051
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
|
|
@@ -1071,7 +1071,7 @@ var $n = or(function(e) {
|
|
|
1071
1071
|
}(lr);
|
|
1072
1072
|
const Rt = [], It = {}, Dn = (e, t = 0) => {
|
|
1073
1073
|
if (Rt.indexOf(e) == -1) {
|
|
1074
|
-
const r = new
|
|
1074
|
+
const r = new $n(t);
|
|
1075
1075
|
It[e] = r, Rt.push(e);
|
|
1076
1076
|
}
|
|
1077
1077
|
return It[e];
|
|
@@ -1081,7 +1081,7 @@ function jn(e, t) {
|
|
|
1081
1081
|
subscribe: Ne(e, t).subscribe
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
|
1084
|
-
function Ne(e, t =
|
|
1084
|
+
function Ne(e, t = C) {
|
|
1085
1085
|
let r;
|
|
1086
1086
|
const n = /* @__PURE__ */ new Set();
|
|
1087
1087
|
function i(s) {
|
|
@@ -1099,9 +1099,9 @@ function Ne(e, t = G) {
|
|
|
1099
1099
|
function o(s) {
|
|
1100
1100
|
i(s(e));
|
|
1101
1101
|
}
|
|
1102
|
-
function a(s, h =
|
|
1102
|
+
function a(s, h = C) {
|
|
1103
1103
|
const l = [s, h];
|
|
1104
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1104
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
|
|
1105
1105
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
@@ -1115,13 +1115,13 @@ function oe(e, t, r) {
|
|
|
1115
1115
|
return jn(r, (a, s) => {
|
|
1116
1116
|
let h = !1;
|
|
1117
1117
|
const l = [];
|
|
1118
|
-
let u = 0, f =
|
|
1118
|
+
let u = 0, f = C;
|
|
1119
1119
|
const c = () => {
|
|
1120
1120
|
if (u)
|
|
1121
1121
|
return;
|
|
1122
1122
|
f();
|
|
1123
1123
|
const d = t(n ? l[0] : l, a, s);
|
|
1124
|
-
o ? a(d) : f = ft(d) ? d :
|
|
1124
|
+
o ? a(d) : f = ft(d) ? d : C;
|
|
1125
1125
|
}, m = i.map(
|
|
1126
1126
|
(d, p) => er(
|
|
1127
1127
|
d,
|
|
@@ -1220,7 +1220,7 @@ var nt = function(e, t) {
|
|
|
1220
1220
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
1221
|
}, nt(e, t);
|
|
1222
1222
|
};
|
|
1223
|
-
function
|
|
1223
|
+
function Me(e, t) {
|
|
1224
1224
|
if (typeof t != "function" && t !== null)
|
|
1225
1225
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
1226
|
nt(e, t);
|
|
@@ -1229,15 +1229,15 @@ function Le(e, t) {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1231
1231
|
}
|
|
1232
|
-
var
|
|
1233
|
-
return
|
|
1232
|
+
var G = function() {
|
|
1233
|
+
return G = Object.assign || function(t) {
|
|
1234
1234
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
1235
|
r = arguments[n];
|
|
1236
1236
|
for (var o in r)
|
|
1237
1237
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
1238
|
}
|
|
1239
1239
|
return t;
|
|
1240
|
-
},
|
|
1240
|
+
}, G.apply(this, arguments);
|
|
1241
1241
|
};
|
|
1242
1242
|
function oi(e, t) {
|
|
1243
1243
|
var r = {};
|
|
@@ -1324,7 +1324,7 @@ var re;
|
|
|
1324
1324
|
(function(e) {
|
|
1325
1325
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1326
1326
|
})(re || (re = {}));
|
|
1327
|
-
function
|
|
1327
|
+
function Mt(e) {
|
|
1328
1328
|
return e.type === E.literal;
|
|
1329
1329
|
}
|
|
1330
1330
|
function mi(e) {
|
|
@@ -1481,8 +1481,8 @@ function yi(e) {
|
|
|
1481
1481
|
function vi(e) {
|
|
1482
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1483
1483
|
}
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1484
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
|
|
1485
|
+
function Gt(e) {
|
|
1486
1486
|
var t = {};
|
|
1487
1487
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
|
|
1488
1488
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
@@ -1542,7 +1542,7 @@ function xi(e) {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
return t;
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function Ct(e) {
|
|
1546
1546
|
var t = {}, r = Sr(e);
|
|
1547
1547
|
return r || t;
|
|
1548
1548
|
}
|
|
@@ -1582,12 +1582,12 @@ function Ei(e) {
|
|
|
1582
1582
|
continue;
|
|
1583
1583
|
case "scientific":
|
|
1584
1584
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1585
|
-
return S(S({}, h),
|
|
1585
|
+
return S(S({}, h), Ct(l));
|
|
1586
1586
|
}, {}));
|
|
1587
1587
|
continue;
|
|
1588
1588
|
case "engineering":
|
|
1589
1589
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1590
|
-
return S(S({}, h),
|
|
1590
|
+
return S(S({}, h), Ct(l));
|
|
1591
1591
|
}, {}));
|
|
1592
1592
|
continue;
|
|
1593
1593
|
case "notation-simple":
|
|
@@ -1649,18 +1649,18 @@ function Ei(e) {
|
|
|
1649
1649
|
t.minimumIntegerDigits = i.stem.length;
|
|
1650
1650
|
continue;
|
|
1651
1651
|
}
|
|
1652
|
-
if (
|
|
1652
|
+
if (Lt.test(i.stem)) {
|
|
1653
1653
|
if (i.options.length > 1)
|
|
1654
1654
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1655
|
-
i.stem.replace(
|
|
1655
|
+
i.stem.replace(Lt, function(h, l, u, f, c, m) {
|
|
1656
1656
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1657
1657
|
});
|
|
1658
1658
|
var o = i.options[0];
|
|
1659
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
|
1659
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Gt(o)));
|
|
1660
1660
|
continue;
|
|
1661
1661
|
}
|
|
1662
1662
|
if (Er.test(i.stem)) {
|
|
1663
|
-
t = S(S({}, t),
|
|
1663
|
+
t = S(S({}, t), Gt(i.stem));
|
|
1664
1664
|
continue;
|
|
1665
1665
|
}
|
|
1666
1666
|
var a = Sr(i.stem);
|
|
@@ -3127,12 +3127,12 @@ var We, Ti = new RegExp("^".concat(xr.source, "*")), Hi = new RegExp("".concat(x
|
|
|
3127
3127
|
function v(e, t) {
|
|
3128
3128
|
return { start: e, end: t };
|
|
3129
3129
|
}
|
|
3130
|
-
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Pi = !!Object.fromEntries, Oi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger,
|
|
3130
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Pi = !!Object.fromEntries, Oi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Mi = Ni ? Number.isSafeInteger : function(e) {
|
|
3131
3131
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3132
3132
|
}, ot = !0;
|
|
3133
3133
|
try {
|
|
3134
|
-
var
|
|
3135
|
-
ot = ((We =
|
|
3134
|
+
var Li = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3135
|
+
ot = ((We = Li.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
3136
3136
|
} catch (e) {
|
|
3137
3137
|
ot = !1;
|
|
3138
3138
|
}
|
|
@@ -3158,7 +3158,7 @@ var Ut = Bi ? (
|
|
|
3158
3158
|
}
|
|
3159
3159
|
return n;
|
|
3160
3160
|
}
|
|
3161
|
-
),
|
|
3161
|
+
), Ft = (
|
|
3162
3162
|
// native
|
|
3163
3163
|
Pi ? Object.fromEntries : (
|
|
3164
3164
|
// Ponyfill
|
|
@@ -3184,7 +3184,7 @@ var Ut = Bi ? (
|
|
|
3184
3184
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3185
3185
|
}
|
|
3186
3186
|
}
|
|
3187
|
-
),
|
|
3187
|
+
), Gi = Ri ? (
|
|
3188
3188
|
// Native
|
|
3189
3189
|
function(t) {
|
|
3190
3190
|
return t.trimStart();
|
|
@@ -3194,7 +3194,7 @@ var Ut = Bi ? (
|
|
|
3194
3194
|
function(t) {
|
|
3195
3195
|
return t.replace(Ti, "");
|
|
3196
3196
|
}
|
|
3197
|
-
),
|
|
3197
|
+
), Ci = Ii ? (
|
|
3198
3198
|
// Native
|
|
3199
3199
|
function(t) {
|
|
3200
3200
|
return t.trimEnd();
|
|
@@ -3210,11 +3210,11 @@ function Hr(e, t) {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
var st;
|
|
3212
3212
|
if (ot) {
|
|
3213
|
-
var
|
|
3213
|
+
var $t = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3214
3214
|
st = function(t, r) {
|
|
3215
3215
|
var n;
|
|
3216
|
-
|
|
3217
|
-
var i =
|
|
3216
|
+
$t.lastIndex = r;
|
|
3217
|
+
var i = $t.exec(t);
|
|
3218
3218
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3219
3219
|
};
|
|
3220
3220
|
} else
|
|
@@ -3309,7 +3309,7 @@ var Ui = (
|
|
|
3309
3309
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3310
3310
|
}, e.prototype.parseTagName = function() {
|
|
3311
3311
|
var t = this.offset();
|
|
3312
|
-
for (this.bump(); !this.isEOF() &&
|
|
3312
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3313
3313
|
this.bump();
|
|
3314
3314
|
return this.message.slice(t, this.offset());
|
|
3315
3315
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3338,7 +3338,7 @@ var Ui = (
|
|
|
3338
3338
|
};
|
|
3339
3339
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3340
3340
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3341
|
-
|
|
3341
|
+
!Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3342
3342
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3343
3343
|
if (this.isEOF() || this.char() !== 39)
|
|
3344
3344
|
return null;
|
|
@@ -3425,7 +3425,7 @@ var Ui = (
|
|
|
3425
3425
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3426
3426
|
if (f.err)
|
|
3427
3427
|
return f;
|
|
3428
|
-
var c =
|
|
3428
|
+
var c = Ci(f.val);
|
|
3429
3429
|
if (c.length === 0)
|
|
3430
3430
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3431
3431
|
var m = v(u, this.clonePosition());
|
|
@@ -3436,7 +3436,7 @@ var Ui = (
|
|
|
3436
3436
|
return d;
|
|
3437
3437
|
var p = v(i, this.clonePosition());
|
|
3438
3438
|
if (l && Ut(l == null ? void 0 : l.style, "::", 0)) {
|
|
3439
|
-
var A =
|
|
3439
|
+
var A = Gi(l.style.slice(2));
|
|
3440
3440
|
if (s === "number") {
|
|
3441
3441
|
var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
|
|
3442
3442
|
return f.err ? f : {
|
|
@@ -3477,17 +3477,17 @@ var Ui = (
|
|
|
3477
3477
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3478
3478
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Pe({}, B)));
|
|
3479
3479
|
this.bumpSpace();
|
|
3480
|
-
var
|
|
3481
|
-
if (s !== "select" &&
|
|
3480
|
+
var M = this.parseIdentifierIfPossible(), L = 0;
|
|
3481
|
+
if (s !== "select" && M.value === "offset") {
|
|
3482
3482
|
if (!this.bumpIf(":"))
|
|
3483
3483
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3484
3484
|
this.bumpSpace();
|
|
3485
3485
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3486
3486
|
if (f.err)
|
|
3487
3487
|
return f;
|
|
3488
|
-
this.bumpSpace(),
|
|
3488
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), L = f.val;
|
|
3489
3489
|
}
|
|
3490
|
-
var U = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3490
|
+
var U = this.tryParsePluralOrSelectOptions(t, s, r, M);
|
|
3491
3491
|
if (U.err)
|
|
3492
3492
|
return U;
|
|
3493
3493
|
var d = this.tryParseArgumentClose(i);
|
|
@@ -3498,7 +3498,7 @@ var Ui = (
|
|
|
3498
3498
|
val: {
|
|
3499
3499
|
type: E.select,
|
|
3500
3500
|
value: n,
|
|
3501
|
-
options:
|
|
3501
|
+
options: Ft(U.val),
|
|
3502
3502
|
location: be
|
|
3503
3503
|
},
|
|
3504
3504
|
err: null
|
|
@@ -3506,8 +3506,8 @@ var Ui = (
|
|
|
3506
3506
|
val: {
|
|
3507
3507
|
type: E.plural,
|
|
3508
3508
|
value: n,
|
|
3509
|
-
options:
|
|
3510
|
-
offset:
|
|
3509
|
+
options: Ft(U.val),
|
|
3510
|
+
offset: L,
|
|
3511
3511
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3512
3512
|
location: be
|
|
3513
3513
|
},
|
|
@@ -3614,7 +3614,7 @@ var Ui = (
|
|
|
3614
3614
|
break;
|
|
3615
3615
|
}
|
|
3616
3616
|
var h = v(i, this.clonePosition());
|
|
3617
|
-
return o ? (a *= n,
|
|
3617
|
+
return o ? (a *= n, Mi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3618
3618
|
}, e.prototype.offset = function() {
|
|
3619
3619
|
return this.position.offset;
|
|
3620
3620
|
}, e.prototype.isEOF = function() {
|
|
@@ -3683,10 +3683,10 @@ var Ui = (
|
|
|
3683
3683
|
function ut(e) {
|
|
3684
3684
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3685
3685
|
}
|
|
3686
|
-
function
|
|
3686
|
+
function Fi(e) {
|
|
3687
3687
|
return ut(e) || e === 47;
|
|
3688
3688
|
}
|
|
3689
|
-
function
|
|
3689
|
+
function $i(e) {
|
|
3690
3690
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3691
3691
|
}
|
|
3692
3692
|
function Br(e) {
|
|
@@ -3717,10 +3717,10 @@ var ne;
|
|
|
3717
3717
|
(function(e) {
|
|
3718
3718
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3719
3719
|
})(ne || (ne = {}));
|
|
3720
|
-
var
|
|
3720
|
+
var Le = (
|
|
3721
3721
|
/** @class */
|
|
3722
3722
|
function(e) {
|
|
3723
|
-
|
|
3723
|
+
Me(t, e);
|
|
3724
3724
|
function t(r, n, i) {
|
|
3725
3725
|
var o = e.call(this, r) || this;
|
|
3726
3726
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3732,30 +3732,30 @@ var Me = (
|
|
|
3732
3732
|
), Dt = (
|
|
3733
3733
|
/** @class */
|
|
3734
3734
|
function(e) {
|
|
3735
|
-
|
|
3735
|
+
Me(t, e);
|
|
3736
3736
|
function t(r, n, i, o) {
|
|
3737
3737
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
|
|
3738
3738
|
}
|
|
3739
3739
|
return t;
|
|
3740
|
-
}(
|
|
3740
|
+
}(Le)
|
|
3741
3741
|
), ki = (
|
|
3742
3742
|
/** @class */
|
|
3743
3743
|
function(e) {
|
|
3744
|
-
|
|
3744
|
+
Me(t, e);
|
|
3745
3745
|
function t(r, n, i) {
|
|
3746
3746
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
|
|
3747
3747
|
}
|
|
3748
3748
|
return t;
|
|
3749
|
-
}(
|
|
3749
|
+
}(Le)
|
|
3750
3750
|
), Vi = (
|
|
3751
3751
|
/** @class */
|
|
3752
3752
|
function(e) {
|
|
3753
|
-
|
|
3753
|
+
Me(t, e);
|
|
3754
3754
|
function t(r, n) {
|
|
3755
3755
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
|
|
3756
3756
|
}
|
|
3757
3757
|
return t;
|
|
3758
|
-
}(
|
|
3758
|
+
}(Le)
|
|
3759
3759
|
), P;
|
|
3760
3760
|
(function(e) {
|
|
3761
3761
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3770,7 +3770,7 @@ function Xi(e) {
|
|
|
3770
3770
|
return typeof e == "function";
|
|
3771
3771
|
}
|
|
3772
3772
|
function Te(e, t, r, n, i, o, a) {
|
|
3773
|
-
if (e.length === 1 &&
|
|
3773
|
+
if (e.length === 1 && Mt(e[0]))
|
|
3774
3774
|
return [
|
|
3775
3775
|
{
|
|
3776
3776
|
type: P.literal,
|
|
@@ -3779,7 +3779,7 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3779
3779
|
];
|
|
3780
3780
|
for (var s = [], h = 0, l = e; h < l.length; h++) {
|
|
3781
3781
|
var u = l[h];
|
|
3782
|
-
if (
|
|
3782
|
+
if (Mt(u)) {
|
|
3783
3783
|
s.push({
|
|
3784
3784
|
type: P.literal,
|
|
3785
3785
|
value: u.value
|
|
@@ -3832,13 +3832,13 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3832
3832
|
var d = u.children, p = u.value, A = i[p];
|
|
3833
3833
|
if (!Xi(A))
|
|
3834
3834
|
throw new ki(p, "function", a);
|
|
3835
|
-
var H = Te(d, t, r, n, i, o), T = A(H.map(function(
|
|
3836
|
-
return
|
|
3835
|
+
var H = Te(d, t, r, n, i, o), T = A(H.map(function(L) {
|
|
3836
|
+
return L.value;
|
|
3837
3837
|
}));
|
|
3838
|
-
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(
|
|
3838
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(L) {
|
|
3839
3839
|
return {
|
|
3840
|
-
type: typeof
|
|
3841
|
-
value:
|
|
3840
|
+
type: typeof L == "string" ? P.literal : P.object,
|
|
3841
|
+
value: L
|
|
3842
3842
|
};
|
|
3843
3843
|
}));
|
|
3844
3844
|
}
|
|
@@ -3853,11 +3853,11 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3853
3853
|
var B = u.options["=".concat(c)];
|
|
3854
3854
|
if (!B) {
|
|
3855
3855
|
if (!Intl.PluralRules)
|
|
3856
|
-
throw new
|
|
3856
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3857
3857
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3858
3858
|
`, ne.MISSING_INTL_API, a);
|
|
3859
|
-
var
|
|
3860
|
-
B = u.options[
|
|
3859
|
+
var M = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
|
3860
|
+
B = u.options[M] || u.options.other;
|
|
3861
3861
|
}
|
|
3862
3862
|
if (!B)
|
|
3863
3863
|
throw new Dt(u.value, c, Object.keys(u.options), a);
|
|
@@ -3868,14 +3868,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3868
3868
|
return Wi(s);
|
|
3869
3869
|
}
|
|
3870
3870
|
function zi(e, t) {
|
|
3871
|
-
return t ?
|
|
3872
|
-
return r[n] =
|
|
3871
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3872
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3873
3873
|
}, {})) : e;
|
|
3874
3874
|
}
|
|
3875
3875
|
function Ji(e, t) {
|
|
3876
3876
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3877
3877
|
return r[n] = zi(e[n], t[n]), r;
|
|
3878
|
-
},
|
|
3878
|
+
}, G({}, e)) : e;
|
|
3879
3879
|
}
|
|
3880
3880
|
function Xe(e) {
|
|
3881
3881
|
return {
|
|
@@ -3956,7 +3956,7 @@ var Qi = (
|
|
|
3956
3956
|
var a = i || {};
|
|
3957
3957
|
a.formatters;
|
|
3958
3958
|
var s = oi(a, ["formatters"]);
|
|
3959
|
-
this.ast = e.__parse(t,
|
|
3959
|
+
this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
|
|
3960
3960
|
} else
|
|
3961
3961
|
this.ast = t;
|
|
3962
3962
|
if (!Array.isArray(this.ast))
|
|
@@ -4061,7 +4061,7 @@ const j = {}, qi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][
|
|
|
4061
4061
|
return;
|
|
4062
4062
|
if (t in j && e in j[t])
|
|
4063
4063
|
return j[t][e];
|
|
4064
|
-
const r =
|
|
4064
|
+
const r = Ge(t);
|
|
4065
4065
|
for (let n = 0; n < r.length; n++) {
|
|
4066
4066
|
const i = r[n], o = eo(i, e);
|
|
4067
4067
|
if (o)
|
|
@@ -4085,7 +4085,7 @@ function eo(e, t) {
|
|
|
4085
4085
|
function to(e) {
|
|
4086
4086
|
if (e == null)
|
|
4087
4087
|
return;
|
|
4088
|
-
const t =
|
|
4088
|
+
const t = Ge(e);
|
|
4089
4089
|
for (let r = 0; r < t.length; r++) {
|
|
4090
4090
|
const n = t[r];
|
|
4091
4091
|
if (Pr(n))
|
|
@@ -4108,13 +4108,13 @@ function Rr(e) {
|
|
|
4108
4108
|
return He[e];
|
|
4109
4109
|
}
|
|
4110
4110
|
function no(e) {
|
|
4111
|
-
return
|
|
4111
|
+
return Ge(e).map((t) => {
|
|
4112
4112
|
const r = Rr(t);
|
|
4113
4113
|
return [t, r ? [...r] : []];
|
|
4114
4114
|
}).filter(([, t]) => t.length > 0);
|
|
4115
4115
|
}
|
|
4116
4116
|
function ht(e) {
|
|
4117
|
-
return e == null ? !1 :
|
|
4117
|
+
return e == null ? !1 : Ge(e).some(
|
|
4118
4118
|
(t) => {
|
|
4119
4119
|
var r;
|
|
4120
4120
|
return (r = Rr(t)) == null ? void 0 : r.size;
|
|
@@ -4195,7 +4195,7 @@ const Oe = Ne(null);
|
|
|
4195
4195
|
function Vt(e) {
|
|
4196
4196
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function Ge(e, t = ie().fallbackLocale) {
|
|
4199
4199
|
const r = Vt(e);
|
|
4200
4200
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
|
|
4201
4201
|
}
|
|
@@ -4221,19 +4221,19 @@ const bo = (e) => {
|
|
|
4221
4221
|
return Oe.set(e);
|
|
4222
4222
|
}, W = po(mo({}, Oe), {
|
|
4223
4223
|
set: bo
|
|
4224
|
-
}),
|
|
4224
|
+
}), Ce = (e) => {
|
|
4225
4225
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4226
4226
|
return (n) => {
|
|
4227
4227
|
const i = JSON.stringify(n);
|
|
4228
4228
|
return i in t ? t[i] : t[i] = e(n);
|
|
4229
4229
|
};
|
|
4230
4230
|
};
|
|
4231
|
-
var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty,
|
|
4231
|
+
var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4232
4232
|
for (var r in t || (t = {}))
|
|
4233
4233
|
Nr.call(t, r) && Wt(e, r, t[r]);
|
|
4234
4234
|
if (Re)
|
|
4235
4235
|
for (var r of Re(t))
|
|
4236
|
-
|
|
4236
|
+
Mr.call(t, r) && Wt(e, r, t[r]);
|
|
4237
4237
|
return e;
|
|
4238
4238
|
}, se = (e, t) => {
|
|
4239
4239
|
var r = {};
|
|
@@ -4241,7 +4241,7 @@ var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Nr = Object.p
|
|
|
4241
4241
|
Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4242
4242
|
if (e != null && Re)
|
|
4243
4243
|
for (var n of Re(e))
|
|
4244
|
-
t.indexOf(n) < 0 &&
|
|
4244
|
+
t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
|
|
4245
4245
|
return r;
|
|
4246
4246
|
};
|
|
4247
4247
|
const de = (e, t) => {
|
|
@@ -4249,21 +4249,21 @@ const de = (e, t) => {
|
|
|
4249
4249
|
if (e in r && t in r[e])
|
|
4250
4250
|
return r[e][t];
|
|
4251
4251
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4252
|
-
}, yo =
|
|
4252
|
+
}, yo = Ce(
|
|
4253
4253
|
(e) => {
|
|
4254
4254
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4255
4255
|
if (r == null)
|
|
4256
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4257
4257
|
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4258
4258
|
}
|
|
4259
|
-
), vo =
|
|
4259
|
+
), vo = Ce(
|
|
4260
4260
|
(e) => {
|
|
4261
4261
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4262
4262
|
if (r == null)
|
|
4263
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4264
4264
|
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4265
4265
|
}
|
|
4266
|
-
), _o =
|
|
4266
|
+
), _o = Ce(
|
|
4267
4267
|
(e) => {
|
|
4268
4268
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4269
4269
|
if (r == null)
|
|
@@ -4293,7 +4293,7 @@ const de = (e, t) => {
|
|
|
4293
4293
|
"locale"
|
|
4294
4294
|
]);
|
|
4295
4295
|
return _o(dt({ locale: r }, n));
|
|
4296
|
-
}, So =
|
|
4296
|
+
}, So = Ce(
|
|
4297
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4298
4298
|
(e, t = Z()) => new Qi(e, t, ie().formats, {
|
|
4299
4299
|
ignoreTag: ie().ignoreTag
|
|
@@ -4337,6 +4337,7 @@ oe([W], () => Ao);
|
|
|
4337
4337
|
oe([W, ae], () => Po);
|
|
4338
4338
|
window.emWidgets = { topic: Dn };
|
|
4339
4339
|
const Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4340
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4340
4341
|
function Io(e, t) {
|
|
4341
4342
|
if (e) {
|
|
4342
4343
|
const r = document.createElement("style");
|
|
@@ -4344,6 +4345,8 @@ function Io(e, t) {
|
|
|
4344
4345
|
}
|
|
4345
4346
|
}
|
|
4346
4347
|
function No(e, t) {
|
|
4348
|
+
if (!e || !t)
|
|
4349
|
+
return;
|
|
4347
4350
|
const r = new URL(t);
|
|
4348
4351
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4349
4352
|
const i = document.createElement("style");
|
|
@@ -4352,7 +4355,7 @@ function No(e, t) {
|
|
|
4352
4355
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4353
4356
|
});
|
|
4354
4357
|
}
|
|
4355
|
-
function
|
|
4358
|
+
function Mo(e, t, r) {
|
|
4356
4359
|
if (window.emMessageBus) {
|
|
4357
4360
|
const n = document.createElement("style");
|
|
4358
4361
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4360,7 +4363,7 @@ function Lo(e, t, r) {
|
|
|
4360
4363
|
});
|
|
4361
4364
|
}
|
|
4362
4365
|
}
|
|
4363
|
-
function
|
|
4366
|
+
function Lo({ withLocale: e, translations: t }) {
|
|
4364
4367
|
W.subscribe((r) => {
|
|
4365
4368
|
r == null && (ae.set(t), W.set(e));
|
|
4366
4369
|
});
|
|
@@ -4368,7 +4371,7 @@ function Mo({ withLocale: e, translations: t }) {
|
|
|
4368
4371
|
function Xt(e, t) {
|
|
4369
4372
|
Or(e, t);
|
|
4370
4373
|
}
|
|
4371
|
-
function
|
|
4374
|
+
function Go(e) {
|
|
4372
4375
|
W.set(e);
|
|
4373
4376
|
}
|
|
4374
4377
|
const zt = {
|
|
@@ -4445,7 +4448,7 @@ const zt = {
|
|
|
4445
4448
|
noGames: "There are no random games to play"
|
|
4446
4449
|
}
|
|
4447
4450
|
};
|
|
4448
|
-
function
|
|
4451
|
+
function Co(e) {
|
|
4449
4452
|
un(e, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
4450
4453
|
}
|
|
4451
4454
|
function Jt(e, t, r) {
|
|
@@ -4464,11 +4467,11 @@ function Qt(e) {
|
|
|
4464
4467
|
/*$$scope*/
|
|
4465
4468
|
e[22],
|
|
4466
4469
|
Zt
|
|
4467
|
-
), u = l ||
|
|
4470
|
+
), u = l || Fo();
|
|
4468
4471
|
function f(d, p) {
|
|
4469
4472
|
return (
|
|
4470
4473
|
/*hasRandomGames*/
|
|
4471
|
-
d[7] ? Do :
|
|
4474
|
+
d[7] ? Do : $o
|
|
4472
4475
|
);
|
|
4473
4476
|
}
|
|
4474
4477
|
let c = f(e), m = c(e);
|
|
@@ -4516,7 +4519,7 @@ function Qt(e) {
|
|
|
4516
4519
|
}
|
|
4517
4520
|
};
|
|
4518
4521
|
}
|
|
4519
|
-
function
|
|
4522
|
+
function Fo(e) {
|
|
4520
4523
|
let t, r;
|
|
4521
4524
|
return {
|
|
4522
4525
|
c() {
|
|
@@ -4525,13 +4528,13 @@ function $o(e) {
|
|
|
4525
4528
|
m(n, i) {
|
|
4526
4529
|
I(n, t, i), _(t, r);
|
|
4527
4530
|
},
|
|
4528
|
-
p:
|
|
4531
|
+
p: C,
|
|
4529
4532
|
d(n) {
|
|
4530
4533
|
n && O(t);
|
|
4531
4534
|
}
|
|
4532
4535
|
};
|
|
4533
4536
|
}
|
|
4534
|
-
function
|
|
4537
|
+
function $o(e) {
|
|
4535
4538
|
let t, r = (
|
|
4536
4539
|
/*$_*/
|
|
4537
4540
|
e[9]("noGames") + ""
|
|
@@ -4796,12 +4799,12 @@ function Xo(e) {
|
|
|
4796
4799
|
function zo(e, t, r) {
|
|
4797
4800
|
let n;
|
|
4798
4801
|
rn(e, Oo, (b) => r(9, n = b));
|
|
4799
|
-
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B,
|
|
4800
|
-
|
|
4801
|
-
const
|
|
4802
|
+
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, M = !1, L = !1, U = !1, be = window.navigator.userAgent, F, Q, pt, ge, bt = null;
|
|
4803
|
+
Lo({ withLocale: "en", translations: {} });
|
|
4804
|
+
const Lr = () => {
|
|
4802
4805
|
fetch(c).then((x) => x.json()).then((x) => {
|
|
4803
|
-
Object.keys(x).forEach((
|
|
4804
|
-
Xt(
|
|
4806
|
+
Object.keys(x).forEach(($) => {
|
|
4807
|
+
Xt($, x[$]);
|
|
4805
4808
|
});
|
|
4806
4809
|
}).catch((x) => {
|
|
4807
4810
|
console.log(x);
|
|
@@ -4810,20 +4813,20 @@ function zo(e, t, r) {
|
|
|
4810
4813
|
Object.keys(zt).forEach((b) => {
|
|
4811
4814
|
Xt(b, zt[b]);
|
|
4812
4815
|
});
|
|
4813
|
-
const
|
|
4816
|
+
const Gr = () => {
|
|
4814
4817
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4815
4818
|
b.searchParams.append("platform", Ro(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((x) => x.json()).then((x) => {
|
|
4816
|
-
H = x.items, H.length ? (r(4, B =
|
|
4819
|
+
H = x.items, H.length ? (r(4, B = Cr(H.slice(0, 19))), r(7, U = !0)) : (r(4, B = []), r(7, U = !1));
|
|
4817
4820
|
}).catch((x) => {
|
|
4818
4821
|
console.log(x), r(7, U = !1);
|
|
4819
4822
|
});
|
|
4820
|
-
},
|
|
4821
|
-
const x =
|
|
4823
|
+
}, Cr = (b) => {
|
|
4824
|
+
const x = Fr(b);
|
|
4822
4825
|
return x.concat(x);
|
|
4823
4826
|
}, Ur = () => ye(this, null, function* () {
|
|
4824
4827
|
yield bn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), pt = Q.children[ge];
|
|
4825
4828
|
}), Ue = () => ye(this, null, function* () {
|
|
4826
|
-
r(6,
|
|
4829
|
+
r(6, L = !1), r(5, M = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Ur();
|
|
4827
4830
|
const b = window.getComputedStyle(Q).getPropertyValue("gap"), x = parseInt(b, 10) || 0, ue = (pt.offsetHeight + x) * ge, zr = [
|
|
4828
4831
|
{ transform: "translateX(0px)" },
|
|
4829
4832
|
{ filter: "blur(5px)" },
|
|
@@ -4836,13 +4839,13 @@ function zo(e, t, r) {
|
|
|
4836
4839
|
fill: "forwards"
|
|
4837
4840
|
};
|
|
4838
4841
|
bt = Q.animate(zr, Jr), bt.onfinish = () => {
|
|
4839
|
-
r(6,
|
|
4842
|
+
r(6, L = !0);
|
|
4840
4843
|
};
|
|
4841
|
-
}),
|
|
4844
|
+
}), Fr = (b) => {
|
|
4842
4845
|
const x = structuredClone(b);
|
|
4843
|
-
let
|
|
4844
|
-
for (;
|
|
4845
|
-
ue = Math.floor(Math.random() *
|
|
4846
|
+
let $ = x.length, ue;
|
|
4847
|
+
for (; $ != 0; )
|
|
4848
|
+
ue = Math.floor(Math.random() * $), $--, [x[$], x[ue]] = [x[ue], x[$]];
|
|
4846
4849
|
return x;
|
|
4847
4850
|
}, gt = () => {
|
|
4848
4851
|
window.postMessage(
|
|
@@ -4851,14 +4854,14 @@ function zo(e, t, r) {
|
|
|
4851
4854
|
gameId: T.gId || T.id
|
|
4852
4855
|
},
|
|
4853
4856
|
window.location.href
|
|
4854
|
-
), r(5,
|
|
4857
|
+
), r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
4855
4858
|
context: "RandomGameWidget",
|
|
4856
4859
|
gameId: `${T.gId || T.id}`
|
|
4857
4860
|
});
|
|
4858
|
-
},
|
|
4859
|
-
r(5,
|
|
4861
|
+
}, $r = () => {
|
|
4862
|
+
r(5, M = !1), window.postMessage({ type: "RandomWidgetState", state: M }, window.location.href);
|
|
4860
4863
|
}, Dr = () => {
|
|
4861
|
-
|
|
4864
|
+
Go(l);
|
|
4862
4865
|
};
|
|
4863
4866
|
pn(() => () => {
|
|
4864
4867
|
});
|
|
@@ -4870,7 +4873,7 @@ function zo(e, t, r) {
|
|
|
4870
4873
|
const kr = () => Ue(), Vr = () => gt(), Wr = () => Ue();
|
|
4871
4874
|
function Xr(b) {
|
|
4872
4875
|
Ae[b ? "unshift" : "push"](() => {
|
|
4873
|
-
|
|
4876
|
+
F = b, r(2, F);
|
|
4874
4877
|
});
|
|
4875
4878
|
}
|
|
4876
4879
|
return e.$$set = (b) => {
|
|
@@ -4878,25 +4881,25 @@ function zo(e, t, r) {
|
|
|
4878
4881
|
}, e.$$.update = () => {
|
|
4879
4882
|
e.$$.dirty[0] & /*lang*/
|
|
4880
4883
|
65536 && l && Dr(), e.$$.dirty[0] & /*translationurl*/
|
|
4881
|
-
131072 && c &&
|
|
4882
|
-
24576 && a && s &&
|
|
4883
|
-
262148 && m &&
|
|
4884
|
-
524292 && d &&
|
|
4885
|
-
2097156 &&
|
|
4884
|
+
131072 && c && Lr(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4885
|
+
24576 && a && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4886
|
+
262148 && m && F && Io(F, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4887
|
+
524292 && d && F && No(F, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4888
|
+
2097156 && F && Mo(F, `${A}.Style`);
|
|
4886
4889
|
}, [
|
|
4887
4890
|
u,
|
|
4888
4891
|
f,
|
|
4889
|
-
|
|
4892
|
+
F,
|
|
4890
4893
|
T,
|
|
4891
4894
|
B,
|
|
4892
|
-
L,
|
|
4893
4895
|
M,
|
|
4896
|
+
L,
|
|
4894
4897
|
U,
|
|
4895
4898
|
Q,
|
|
4896
4899
|
n,
|
|
4897
4900
|
Ue,
|
|
4898
4901
|
gt,
|
|
4899
|
-
|
|
4902
|
+
$r,
|
|
4900
4903
|
a,
|
|
4901
4904
|
s,
|
|
4902
4905
|
h,
|
|
@@ -4936,7 +4939,7 @@ class Jo extends Hn {
|
|
|
4936
4939
|
filteredrandomgamecategories: 20,
|
|
4937
4940
|
mbsource: 21
|
|
4938
4941
|
},
|
|
4939
|
-
|
|
4942
|
+
Co,
|
|
4940
4943
|
[-1, -1]
|
|
4941
4944
|
);
|
|
4942
4945
|
}
|