@everymatrix/casino-random-game 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoRandomGame-COg6hoKa.cjs → CasinoRandomGame-Clfo3s5q.cjs} +17 -4
- package/components/{CasinoRandomGame-B0mjhEha.js → CasinoRandomGame-DhycCvIv.js} +110 -74
- package/components/{CasinoRandomGame-3lGzdCm4.js → CasinoRandomGame-HdXGcgeY.js} +119 -83
- 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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
function
|
|
1
|
+
function N() {
|
|
2
2
|
}
|
|
3
3
|
function jr(e, t) {
|
|
4
|
-
for (const r in t)
|
|
4
|
+
for (const r in t)
|
|
5
|
+
e[r] = t[r];
|
|
5
6
|
return (
|
|
6
7
|
/** @type {T & S} */
|
|
7
8
|
e
|
|
@@ -33,7 +34,7 @@ function Xt(e, ...t) {
|
|
|
33
34
|
if (e == null) {
|
|
34
35
|
for (const n of t)
|
|
35
36
|
n(void 0);
|
|
36
|
-
return
|
|
37
|
+
return N;
|
|
37
38
|
}
|
|
38
39
|
const r = e.subscribe(...t);
|
|
39
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -91,7 +92,8 @@ function Zr(e, t, r) {
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
function Qr(e) {
|
|
94
|
-
if (!e)
|
|
95
|
+
if (!e)
|
|
96
|
+
return document;
|
|
95
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
96
98
|
return t && /** @type {ShadowRoot} */
|
|
97
99
|
t.host ? (
|
|
@@ -155,7 +157,8 @@ function he(e) {
|
|
|
155
157
|
fe = e;
|
|
156
158
|
}
|
|
157
159
|
function tn() {
|
|
158
|
-
if (!fe)
|
|
160
|
+
if (!fe)
|
|
161
|
+
throw new Error("Function called outside component initialization");
|
|
159
162
|
return fe;
|
|
160
163
|
}
|
|
161
164
|
function rn(e) {
|
|
@@ -174,7 +177,7 @@ function nn() {
|
|
|
174
177
|
function Ve(e) {
|
|
175
178
|
K.push(e);
|
|
176
179
|
}
|
|
177
|
-
const
|
|
180
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
178
181
|
let Q = 0;
|
|
179
182
|
function I() {
|
|
180
183
|
if (Q !== 0)
|
|
@@ -189,16 +192,17 @@ function I() {
|
|
|
189
192
|
} catch (t) {
|
|
190
193
|
throw q.length = 0, Q = 0, t;
|
|
191
194
|
}
|
|
192
|
-
for (he(null), q.length = 0, Q = 0; He.length; )
|
|
195
|
+
for (he(null), q.length = 0, Q = 0; He.length; )
|
|
196
|
+
He.pop()();
|
|
193
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
194
198
|
const r = K[t];
|
|
195
|
-
|
|
199
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
196
200
|
}
|
|
197
201
|
K.length = 0;
|
|
198
202
|
} while (q.length);
|
|
199
203
|
for (; bt.length; )
|
|
200
204
|
bt.pop()();
|
|
201
|
-
ke = !1,
|
|
205
|
+
ke = !1, Ne.clear(), he(e);
|
|
202
206
|
}
|
|
203
207
|
function on(e) {
|
|
204
208
|
if (e.fragment !== null) {
|
|
@@ -229,11 +233,13 @@ function ce(e, t) {
|
|
|
229
233
|
}
|
|
230
234
|
function We(e, t, r, n) {
|
|
231
235
|
if (e && e.o) {
|
|
232
|
-
if (_e.has(e))
|
|
236
|
+
if (_e.has(e))
|
|
237
|
+
return;
|
|
233
238
|
_e.add(e), W.c.push(() => {
|
|
234
239
|
_e.delete(e), n && (r && e.d(1), n());
|
|
235
240
|
}), e.o(t);
|
|
236
|
-
} else
|
|
241
|
+
} else
|
|
242
|
+
n && n();
|
|
237
243
|
}
|
|
238
244
|
function gt(e) {
|
|
239
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
@@ -260,7 +266,7 @@ function fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
260
266
|
ctx: [],
|
|
261
267
|
// state
|
|
262
268
|
props: o,
|
|
263
|
-
update:
|
|
269
|
+
update: N,
|
|
264
270
|
not_equal: i,
|
|
265
271
|
bound: mt(),
|
|
266
272
|
// lifecycle
|
|
@@ -486,7 +492,7 @@ class dn {
|
|
|
486
492
|
$$set = void 0;
|
|
487
493
|
/** @returns {void} */
|
|
488
494
|
$destroy() {
|
|
489
|
-
hn(this, 1), this.$destroy =
|
|
495
|
+
hn(this, 1), this.$destroy = N;
|
|
490
496
|
}
|
|
491
497
|
/**
|
|
492
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -496,7 +502,7 @@ class dn {
|
|
|
496
502
|
*/
|
|
497
503
|
$on(t, r) {
|
|
498
504
|
if (!ot(r))
|
|
499
|
-
return
|
|
505
|
+
return N;
|
|
500
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
507
|
return n.push(r), () => {
|
|
502
508
|
const i = n.indexOf(r);
|
|
@@ -513,11 +519,26 @@ class dn {
|
|
|
513
519
|
}
|
|
514
520
|
const pn = "4";
|
|
515
521
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
|
|
522
|
+
/*! *****************************************************************************
|
|
523
|
+
Copyright (c) Microsoft Corporation.
|
|
524
|
+
|
|
525
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
526
|
+
purpose with or without fee is hereby granted.
|
|
527
|
+
|
|
528
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
529
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
530
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
531
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
532
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
533
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
535
|
+
***************************************************************************** */
|
|
516
536
|
var Xe = function(e, t) {
|
|
517
537
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
518
538
|
r.__proto__ = n;
|
|
519
539
|
} || function(r, n) {
|
|
520
|
-
for (var i in n)
|
|
540
|
+
for (var i in n)
|
|
541
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
521
542
|
}, Xe(e, t);
|
|
522
543
|
};
|
|
523
544
|
function F(e, t) {
|
|
@@ -533,14 +554,16 @@ var _ = function() {
|
|
|
533
554
|
return _ = Object.assign || function(t) {
|
|
534
555
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
535
556
|
r = arguments[n];
|
|
536
|
-
for (var o in r)
|
|
557
|
+
for (var o in r)
|
|
558
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
537
559
|
}
|
|
538
560
|
return t;
|
|
539
561
|
}, _.apply(this, arguments);
|
|
540
562
|
};
|
|
541
563
|
function bn(e, t) {
|
|
542
564
|
var r = {};
|
|
543
|
-
for (var n in e)
|
|
565
|
+
for (var n in e)
|
|
566
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
544
567
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
545
568
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
546
569
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -548,35 +571,41 @@ function bn(e, t) {
|
|
|
548
571
|
}
|
|
549
572
|
function ze(e) {
|
|
550
573
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
551
|
-
if (r)
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
574
|
+
if (r)
|
|
575
|
+
return r.call(e);
|
|
576
|
+
if (e && typeof e.length == "number")
|
|
577
|
+
return {
|
|
578
|
+
next: function() {
|
|
579
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
580
|
+
}
|
|
581
|
+
};
|
|
557
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
558
583
|
}
|
|
559
584
|
function Je(e, t) {
|
|
560
585
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
561
|
-
if (!r)
|
|
586
|
+
if (!r)
|
|
587
|
+
return e;
|
|
562
588
|
var n = r.call(e), i, o = [], a;
|
|
563
589
|
try {
|
|
564
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
590
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
591
|
+
o.push(i.value);
|
|
565
592
|
} catch (s) {
|
|
566
593
|
a = { error: s };
|
|
567
594
|
} finally {
|
|
568
595
|
try {
|
|
569
596
|
i && !i.done && (r = n.return) && r.call(n);
|
|
570
597
|
} finally {
|
|
571
|
-
if (a)
|
|
598
|
+
if (a)
|
|
599
|
+
throw a.error;
|
|
572
600
|
}
|
|
573
601
|
}
|
|
574
602
|
return o;
|
|
575
603
|
}
|
|
576
604
|
function ee(e, t, r) {
|
|
577
|
-
if (r || arguments.length === 2)
|
|
578
|
-
(
|
|
579
|
-
|
|
605
|
+
if (r || arguments.length === 2)
|
|
606
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
607
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
608
|
+
return e.concat(o || t);
|
|
580
609
|
}
|
|
581
610
|
function D(e) {
|
|
582
611
|
return typeof e == "function";
|
|
@@ -587,7 +616,7 @@ function Yt(e) {
|
|
|
587
616
|
}, r = e(t);
|
|
588
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
618
|
}
|
|
590
|
-
var
|
|
619
|
+
var Ce = Yt(function(e) {
|
|
591
620
|
return function(r) {
|
|
592
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
622
|
` + r.map(function(n, i) {
|
|
@@ -624,7 +653,8 @@ var Pe = function() {
|
|
|
624
653
|
try {
|
|
625
654
|
h && !h.done && (r = s.return) && r.call(s);
|
|
626
655
|
} finally {
|
|
627
|
-
if (t)
|
|
656
|
+
if (t)
|
|
657
|
+
throw t.error;
|
|
628
658
|
}
|
|
629
659
|
}
|
|
630
660
|
else
|
|
@@ -634,7 +664,7 @@ var Pe = function() {
|
|
|
634
664
|
try {
|
|
635
665
|
u();
|
|
636
666
|
} catch (p) {
|
|
637
|
-
o = p instanceof
|
|
667
|
+
o = p instanceof Ce ? p.errors : [p];
|
|
638
668
|
}
|
|
639
669
|
var f = this._finalizers;
|
|
640
670
|
if (f) {
|
|
@@ -645,7 +675,7 @@ var Pe = function() {
|
|
|
645
675
|
try {
|
|
646
676
|
yt(d);
|
|
647
677
|
} catch (p) {
|
|
648
|
-
o = o ?? [], p instanceof
|
|
678
|
+
o = o ?? [], p instanceof Ce ? o = ee(ee([], Je(o)), Je(p.errors)) : o.push(p);
|
|
649
679
|
}
|
|
650
680
|
}
|
|
651
681
|
} catch (p) {
|
|
@@ -654,12 +684,13 @@ var Pe = function() {
|
|
|
654
684
|
try {
|
|
655
685
|
m && !m.done && (i = c.return) && i.call(c);
|
|
656
686
|
} finally {
|
|
657
|
-
if (n)
|
|
687
|
+
if (n)
|
|
688
|
+
throw n.error;
|
|
658
689
|
}
|
|
659
690
|
}
|
|
660
691
|
}
|
|
661
692
|
if (o)
|
|
662
|
-
throw new
|
|
693
|
+
throw new Ce(o);
|
|
663
694
|
}
|
|
664
695
|
}, e.prototype.add = function(t) {
|
|
665
696
|
var r;
|
|
@@ -941,7 +972,8 @@ var An = Yt(function(e) {
|
|
|
941
972
|
try {
|
|
942
973
|
s && !s.done && (o = a.return) && o.call(a);
|
|
943
974
|
} finally {
|
|
944
|
-
if (i)
|
|
975
|
+
if (i)
|
|
976
|
+
throw i.error;
|
|
945
977
|
}
|
|
946
978
|
}
|
|
947
979
|
}
|
|
@@ -1051,7 +1083,7 @@ function In(e, t) {
|
|
|
1051
1083
|
subscribe: Re(e, t).subscribe
|
|
1052
1084
|
};
|
|
1053
1085
|
}
|
|
1054
|
-
function Re(e, t =
|
|
1086
|
+
function Re(e, t = N) {
|
|
1055
1087
|
let r;
|
|
1056
1088
|
const n = /* @__PURE__ */ new Set();
|
|
1057
1089
|
function i(s) {
|
|
@@ -1069,9 +1101,9 @@ function Re(e, t = C) {
|
|
|
1069
1101
|
function o(s) {
|
|
1070
1102
|
i(s(e));
|
|
1071
1103
|
}
|
|
1072
|
-
function a(s, h =
|
|
1104
|
+
function a(s, h = N) {
|
|
1073
1105
|
const l = [s, h];
|
|
1074
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1106
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || N), s(e), () => {
|
|
1075
1107
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1076
1108
|
};
|
|
1077
1109
|
}
|
|
@@ -1085,13 +1117,13 @@ function oe(e, t, r) {
|
|
|
1085
1117
|
return In(r, (a, s) => {
|
|
1086
1118
|
let h = !1;
|
|
1087
1119
|
const l = [];
|
|
1088
|
-
let u = 0, f =
|
|
1120
|
+
let u = 0, f = N;
|
|
1089
1121
|
const c = () => {
|
|
1090
1122
|
if (u)
|
|
1091
1123
|
return;
|
|
1092
1124
|
f();
|
|
1093
1125
|
const d = t(n ? l[0] : l, a, s);
|
|
1094
|
-
o ? a(d) : f = ot(d) ? d :
|
|
1126
|
+
o ? a(d) : f = ot(d) ? d : N;
|
|
1095
1127
|
}, m = i.map(
|
|
1096
1128
|
(d, p) => Xt(
|
|
1097
1129
|
d,
|
|
@@ -1112,16 +1144,16 @@ function On(e) {
|
|
|
1112
1144
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1113
1145
|
}
|
|
1114
1146
|
var Mn = function(t) {
|
|
1115
|
-
return Ln(t) && !
|
|
1147
|
+
return Ln(t) && !Nn(t);
|
|
1116
1148
|
};
|
|
1117
1149
|
function Ln(e) {
|
|
1118
1150
|
return !!e && typeof e == "object";
|
|
1119
1151
|
}
|
|
1120
|
-
function
|
|
1152
|
+
function Nn(e) {
|
|
1121
1153
|
var t = Object.prototype.toString.call(e);
|
|
1122
1154
|
return t === "[object RegExp]" || t === "[object Date]" || Un(e);
|
|
1123
1155
|
}
|
|
1124
|
-
var
|
|
1156
|
+
var Cn = typeof Symbol == "function" && Symbol.for, Gn = Cn ? Symbol.for("react.element") : 60103;
|
|
1125
1157
|
function Un(e) {
|
|
1126
1158
|
return e.$$typeof === Gn;
|
|
1127
1159
|
}
|
|
@@ -3006,7 +3038,8 @@ function hi(e, t) {
|
|
|
3006
3038
|
r += h;
|
|
3007
3039
|
for (; a-- > 0; )
|
|
3008
3040
|
r = l + r;
|
|
3009
|
-
} else
|
|
3041
|
+
} else
|
|
3042
|
+
i === "J" ? r += "H" : r += i;
|
|
3010
3043
|
}
|
|
3011
3044
|
return r;
|
|
3012
3045
|
}
|
|
@@ -3396,9 +3429,9 @@ var Ti = (
|
|
|
3396
3429
|
return f;
|
|
3397
3430
|
this.bumpSpace(), M = this.parseIdentifierIfPossible(), L = f.val;
|
|
3398
3431
|
}
|
|
3399
|
-
var
|
|
3400
|
-
if (
|
|
3401
|
-
return
|
|
3432
|
+
var C = this.tryParsePluralOrSelectOptions(t, s, r, M);
|
|
3433
|
+
if (C.err)
|
|
3434
|
+
return C;
|
|
3402
3435
|
var d = this.tryParseArgumentClose(i);
|
|
3403
3436
|
if (d.err)
|
|
3404
3437
|
return d;
|
|
@@ -3407,7 +3440,7 @@ var Ti = (
|
|
|
3407
3440
|
val: {
|
|
3408
3441
|
type: w.select,
|
|
3409
3442
|
value: n,
|
|
3410
|
-
options: It(
|
|
3443
|
+
options: It(C.val),
|
|
3411
3444
|
location: pe
|
|
3412
3445
|
},
|
|
3413
3446
|
err: null
|
|
@@ -3415,7 +3448,7 @@ var Ti = (
|
|
|
3415
3448
|
val: {
|
|
3416
3449
|
type: w.plural,
|
|
3417
3450
|
value: n,
|
|
3418
|
-
options: It(
|
|
3451
|
+
options: It(C.val),
|
|
3419
3452
|
offset: L,
|
|
3420
3453
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3421
3454
|
location: pe
|
|
@@ -3609,7 +3642,8 @@ function rt(e) {
|
|
|
3609
3642
|
if (delete t.location, hr(t) || cr(t))
|
|
3610
3643
|
for (var r in t.options)
|
|
3611
3644
|
delete t.options[r].location, rt(t.options[r].value);
|
|
3612
|
-
else
|
|
3645
|
+
else
|
|
3646
|
+
sr(t) && mr(t.style) || (ur(t) || lr(t)) && Ye(t.style) ? delete t.style.location : fr(t) && rt(t.children);
|
|
3613
3647
|
});
|
|
3614
3648
|
}
|
|
3615
3649
|
function Pi(e, t) {
|
|
@@ -3780,7 +3814,7 @@ function Li(e, t) {
|
|
|
3780
3814
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3781
3815
|
}, {})) : e;
|
|
3782
3816
|
}
|
|
3783
|
-
function
|
|
3817
|
+
function Ni(e, t) {
|
|
3784
3818
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3785
3819
|
return r[n] = Li(e[n], t[n]), r;
|
|
3786
3820
|
}, _({}, e)) : e;
|
|
@@ -3799,7 +3833,7 @@ function $e(e) {
|
|
|
3799
3833
|
}
|
|
3800
3834
|
};
|
|
3801
3835
|
}
|
|
3802
|
-
function
|
|
3836
|
+
function Ci(e) {
|
|
3803
3837
|
return e === void 0 && (e = {
|
|
3804
3838
|
number: {},
|
|
3805
3839
|
dateTime: {},
|
|
@@ -3869,7 +3903,7 @@ var Gi = (
|
|
|
3869
3903
|
this.ast = t;
|
|
3870
3904
|
if (!Array.isArray(this.ast))
|
|
3871
3905
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3872
|
-
this.formats =
|
|
3906
|
+
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
|
3873
3907
|
}
|
|
3874
3908
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3875
3909
|
get: function() {
|
|
@@ -4090,22 +4124,22 @@ function ie() {
|
|
|
4090
4124
|
return Ji;
|
|
4091
4125
|
}
|
|
4092
4126
|
const je = Re(!1);
|
|
4093
|
-
var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable,
|
|
4127
|
+
var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
|
|
4094
4128
|
for (var r in t || (t = {}))
|
|
4095
|
-
qi.call(t, r) &&
|
|
4129
|
+
qi.call(t, r) && Nt(e, r, t[r]);
|
|
4096
4130
|
if (Lt)
|
|
4097
4131
|
for (var r of Lt(t))
|
|
4098
|
-
Ki.call(t, r) &&
|
|
4132
|
+
Ki.call(t, r) && Nt(e, r, t[r]);
|
|
4099
4133
|
return e;
|
|
4100
4134
|
}, to = (e, t) => Qi(e, Yi(t));
|
|
4101
4135
|
let it;
|
|
4102
4136
|
const Be = Re(null);
|
|
4103
|
-
function
|
|
4137
|
+
function Ct(e) {
|
|
4104
4138
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4105
4139
|
}
|
|
4106
4140
|
function Oe(e, t = ie().fallbackLocale) {
|
|
4107
|
-
const r =
|
|
4108
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4141
|
+
const r = Ct(e);
|
|
4142
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4109
4143
|
}
|
|
4110
4144
|
function J() {
|
|
4111
4145
|
return it ?? void 0;
|
|
@@ -4433,7 +4467,7 @@ function Ho(e) {
|
|
|
4433
4467
|
m(n, i) {
|
|
4434
4468
|
O(n, t, i), x(t, r);
|
|
4435
4469
|
},
|
|
4436
|
-
p:
|
|
4470
|
+
p: N,
|
|
4437
4471
|
d(n) {
|
|
4438
4472
|
n && R(t);
|
|
4439
4473
|
}
|
|
@@ -4661,14 +4695,16 @@ function Mo(e) {
|
|
|
4661
4695
|
if (
|
|
4662
4696
|
/*buttontext*/
|
|
4663
4697
|
d[1]
|
|
4664
|
-
)
|
|
4698
|
+
)
|
|
4699
|
+
return Oo;
|
|
4665
4700
|
if (!/*buttontext*/
|
|
4666
|
-
d[1])
|
|
4701
|
+
d[1])
|
|
4702
|
+
return Io;
|
|
4667
4703
|
}
|
|
4668
4704
|
let c = f(e), m = c && c(e);
|
|
4669
4705
|
return {
|
|
4670
4706
|
c() {
|
|
4671
|
-
t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper")
|
|
4707
|
+
t = S("div"), u && u.c(), r = k(), n = S("div"), i = S("button"), m && m.c(), o = k(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
|
|
4672
4708
|
},
|
|
4673
4709
|
m(d, p) {
|
|
4674
4710
|
O(d, t, p), u && u.m(t, null), x(t, r), x(t, n), x(n, i), m && m.m(i, null), x(i, o), x(i, a), a.innerHTML = /*randombuttonicon*/
|
|
@@ -4702,7 +4738,7 @@ function Mo(e) {
|
|
|
4702
4738
|
function Lo(e, t, r) {
|
|
4703
4739
|
let n;
|
|
4704
4740
|
Vr(e, go, (b) => r(9, n = b));
|
|
4705
|
-
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,
|
|
4741
|
+
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, C = !1, pe = window.navigator.userAgent, G, Z, ht, be, ct = null;
|
|
4706
4742
|
Eo({ withLocale: "en", translations: {} });
|
|
4707
4743
|
const Ar = () => {
|
|
4708
4744
|
fetch(c).then((E) => E.json()).then((E) => {
|
|
@@ -4719,9 +4755,9 @@ function Lo(e, t, r) {
|
|
|
4719
4755
|
const Pr = () => {
|
|
4720
4756
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4721
4757
|
b.searchParams.append("platform", yo(pe)), 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((E) => E.json()).then((E) => {
|
|
4722
|
-
H = E.items, H.length ? (r(4, B = Rr(H.slice(0, 19))), r(7,
|
|
4758
|
+
H = E.items, H.length ? (r(4, B = Rr(H.slice(0, 19))), r(7, C = !0)) : (r(4, B = []), r(7, C = !1));
|
|
4723
4759
|
}).catch((E) => {
|
|
4724
|
-
console.log(E), r(7,
|
|
4760
|
+
console.log(E), r(7, C = !1);
|
|
4725
4761
|
});
|
|
4726
4762
|
}, Rr = (b) => {
|
|
4727
4763
|
const E = Or(b);
|
|
@@ -4768,12 +4804,12 @@ function Lo(e, t, r) {
|
|
|
4768
4804
|
};
|
|
4769
4805
|
rn(() => () => {
|
|
4770
4806
|
});
|
|
4771
|
-
function
|
|
4807
|
+
function Nr(b) {
|
|
4772
4808
|
He[b ? "unshift" : "push"](() => {
|
|
4773
4809
|
Z = b, r(8, Z);
|
|
4774
4810
|
});
|
|
4775
4811
|
}
|
|
4776
|
-
const
|
|
4812
|
+
const Cr = () => Le(), Gr = () => ft(), Ur = () => Le();
|
|
4777
4813
|
function Dr(b) {
|
|
4778
4814
|
He[b ? "unshift" : "push"](() => {
|
|
4779
4815
|
G = b, r(2, G);
|
|
@@ -4797,7 +4833,7 @@ function Lo(e, t, r) {
|
|
|
4797
4833
|
B,
|
|
4798
4834
|
M,
|
|
4799
4835
|
L,
|
|
4800
|
-
|
|
4836
|
+
C,
|
|
4801
4837
|
Z,
|
|
4802
4838
|
n,
|
|
4803
4839
|
Le,
|
|
@@ -4814,14 +4850,14 @@ function Lo(e, t, r) {
|
|
|
4814
4850
|
A,
|
|
4815
4851
|
o,
|
|
4816
4852
|
i,
|
|
4817
|
-
Cr,
|
|
4818
4853
|
Nr,
|
|
4854
|
+
Cr,
|
|
4819
4855
|
Gr,
|
|
4820
4856
|
Ur,
|
|
4821
4857
|
Dr
|
|
4822
4858
|
];
|
|
4823
4859
|
}
|
|
4824
|
-
class
|
|
4860
|
+
class No extends dn {
|
|
4825
4861
|
constructor(t) {
|
|
4826
4862
|
super(), fn(
|
|
4827
4863
|
this,
|
|
@@ -4913,7 +4949,7 @@ class Co extends dn {
|
|
|
4913
4949
|
this.$$set({ mbsource: t }), I();
|
|
4914
4950
|
}
|
|
4915
4951
|
}
|
|
4916
|
-
mn(
|
|
4952
|
+
mn(No, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
4917
4953
|
export {
|
|
4918
|
-
|
|
4954
|
+
No as C
|
|
4919
4955
|
};
|