@everymatrix/casino-search-nd 1.94.61 → 1.94.63
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/{CasinoGameThumbnailNd-D6l7qvtQ.cjs → CasinoGameThumbnailNd-C08ivhZo.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-aWNR1kbz.js → CasinoGameThumbnailNd-DWGVT1W-.js} +1 -1
- package/components/{CasinoGameThumbnailNd-vM0t08H2.js → CasinoGameThumbnailNd-gxj0m5Ug.js} +1 -1
- package/components/{CasinoSearchNd-B9aY_2uL.js → CasinoSearchNd-CkqjPCXl.js} +176 -176
- package/components/{CasinoSearchNd-BiGHlQet.js → CasinoSearchNd-D5UzULjZ.js} +134 -134
- package/components/{CasinoSearchNd-CVzZ7wTO.cjs → CasinoSearchNd-LzHRfjmo.cjs} +3 -3
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
|
@@ -40,7 +40,7 @@ function P(e, t) {
|
|
|
40
40
|
function zn(e, t, r) {
|
|
41
41
|
const n = Qn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const a =
|
|
43
|
+
const a = L("style");
|
|
44
44
|
a.id = t, a.textContent = r, Jn(n, a);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -71,7 +71,7 @@ function $s(e, t) {
|
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function L(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
77
|
function Tt(e) {
|
|
@@ -89,12 +89,12 @@ function Gr() {
|
|
|
89
89
|
function ve(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function _(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
95
|
function v(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
98
98
|
}
|
|
99
99
|
function Zn(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
@@ -146,7 +146,7 @@ class Xs {
|
|
|
146
146
|
this.e || (this.is_svg ? this.e = Tt(
|
|
147
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
148
148
|
r.nodeName
|
|
149
|
-
) : this.e =
|
|
149
|
+
) : this.e = L(
|
|
150
150
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
151
151
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
152
152
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -208,7 +208,7 @@ let _e = [];
|
|
|
208
208
|
const rr = [], jr = /* @__PURE__ */ Promise.resolve();
|
|
209
209
|
let Ct = !1;
|
|
210
210
|
function Wr() {
|
|
211
|
-
Ct || (Ct = !0, jr.then(
|
|
211
|
+
Ct || (Ct = !0, jr.then(D));
|
|
212
212
|
}
|
|
213
213
|
function qs() {
|
|
214
214
|
return Wr(), jr;
|
|
@@ -218,7 +218,7 @@ function Pt(e) {
|
|
|
218
218
|
}
|
|
219
219
|
const pt = /* @__PURE__ */ new Set();
|
|
220
220
|
let me = 0;
|
|
221
|
-
function
|
|
221
|
+
function D() {
|
|
222
222
|
if (me !== 0)
|
|
223
223
|
return;
|
|
224
224
|
const e = Re;
|
|
@@ -269,23 +269,23 @@ function oa(e, t, r, n, a, i, o, s, u, l, c, h) {
|
|
|
269
269
|
const b = {};
|
|
270
270
|
for (; p--; )
|
|
271
271
|
b[e[p].key] = p;
|
|
272
|
-
const g = [],
|
|
272
|
+
const g = [], N = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), O = [];
|
|
273
273
|
for (p = m; p--; ) {
|
|
274
|
-
const T = h(a, i, p),
|
|
275
|
-
let w = o.get(
|
|
276
|
-
w ? O.push(() => w.p(T, t)) : (w = l(
|
|
274
|
+
const T = h(a, i, p), M = r(T);
|
|
275
|
+
let w = o.get(M);
|
|
276
|
+
w ? O.push(() => w.p(T, t)) : (w = l(M, T), w.c()), N.set(M, g[p] = w), M in b && B.set(M, Math.abs(p - b[M]));
|
|
277
277
|
}
|
|
278
278
|
const F = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
279
279
|
function G(T) {
|
|
280
280
|
$r(T, 1), T.m(s, c), o.set(T.key, T), c = T.first, m--;
|
|
281
281
|
}
|
|
282
282
|
for (; d && m; ) {
|
|
283
|
-
const T = g[m - 1],
|
|
284
|
-
T ===
|
|
283
|
+
const T = g[m - 1], M = e[d - 1], w = T.key, H = M.key;
|
|
284
|
+
T === M ? (c = T.first, d--, m--) : N.has(H) ? !o.has(w) || F.has(w) ? G(T) : x.has(H) ? d-- : B.get(w) > B.get(H) ? (x.add(w), G(T)) : (F.add(H), d--) : (u(M, o), d--);
|
|
285
285
|
}
|
|
286
286
|
for (; d--; ) {
|
|
287
287
|
const T = e[d];
|
|
288
|
-
|
|
288
|
+
N.has(T.key) || u(T, o);
|
|
289
289
|
}
|
|
290
290
|
for (; m; )
|
|
291
291
|
G(g[m - 1]);
|
|
@@ -340,7 +340,7 @@ function ca(e, t, r, n, a, i, o = null, s = [-1]) {
|
|
|
340
340
|
l.fragment && l.fragment.l(h), h.forEach(W);
|
|
341
341
|
} else
|
|
342
342
|
l.fragment && l.fragment.c();
|
|
343
|
-
t.intro && $r(e.$$.fragment), sa(e, t.target, t.anchor),
|
|
343
|
+
t.intro && $r(e.$$.fragment), sa(e, t.target, t.anchor), D();
|
|
344
344
|
}
|
|
345
345
|
Ie(u);
|
|
346
346
|
}
|
|
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (Vr = class extends HTMLElement {
|
|
|
387
387
|
let i;
|
|
388
388
|
return {
|
|
389
389
|
c: function() {
|
|
390
|
-
i =
|
|
390
|
+
i = L("slot"), a !== "default" && _(i, "name", a);
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
393
|
* @param {HTMLElement} target
|
|
@@ -807,40 +807,40 @@ var S;
|
|
|
807
807
|
(function(e) {
|
|
808
808
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
809
809
|
})(S || (S = {}));
|
|
810
|
-
var
|
|
810
|
+
var A;
|
|
811
811
|
(function(e) {
|
|
812
812
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
813
|
-
})(
|
|
813
|
+
})(A || (A = {}));
|
|
814
814
|
var Se;
|
|
815
815
|
(function(e) {
|
|
816
816
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
817
817
|
})(Se || (Se = {}));
|
|
818
818
|
function ir(e) {
|
|
819
|
-
return e.type ===
|
|
819
|
+
return e.type === A.literal;
|
|
820
820
|
}
|
|
821
821
|
function Ua(e) {
|
|
822
|
-
return e.type ===
|
|
822
|
+
return e.type === A.argument;
|
|
823
823
|
}
|
|
824
824
|
function zr(e) {
|
|
825
|
-
return e.type ===
|
|
825
|
+
return e.type === A.number;
|
|
826
826
|
}
|
|
827
827
|
function Qr(e) {
|
|
828
|
-
return e.type ===
|
|
828
|
+
return e.type === A.date;
|
|
829
829
|
}
|
|
830
830
|
function Jr(e) {
|
|
831
|
-
return e.type ===
|
|
831
|
+
return e.type === A.time;
|
|
832
832
|
}
|
|
833
833
|
function Zr(e) {
|
|
834
|
-
return e.type ===
|
|
834
|
+
return e.type === A.select;
|
|
835
835
|
}
|
|
836
836
|
function Kr(e) {
|
|
837
|
-
return e.type ===
|
|
837
|
+
return e.type === A.plural;
|
|
838
838
|
}
|
|
839
839
|
function Fa(e) {
|
|
840
|
-
return e.type ===
|
|
840
|
+
return e.type === A.pound;
|
|
841
841
|
}
|
|
842
842
|
function en(e) {
|
|
843
|
-
return e.type ===
|
|
843
|
+
return e.type === A.tag;
|
|
844
844
|
}
|
|
845
845
|
function tn(e) {
|
|
846
846
|
return !!(e && typeof e == "object" && e.type === Se.number);
|
|
@@ -940,15 +940,15 @@ function ja(e) {
|
|
|
940
940
|
return "";
|
|
941
941
|
}), t;
|
|
942
942
|
}
|
|
943
|
-
var
|
|
944
|
-
return
|
|
943
|
+
var k = function() {
|
|
944
|
+
return k = Object.assign || function(t) {
|
|
945
945
|
for (var r, n = 1, a = arguments.length; n < a; n++) {
|
|
946
946
|
r = arguments[n];
|
|
947
947
|
for (var i in r)
|
|
948
948
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
949
949
|
}
|
|
950
950
|
return t;
|
|
951
|
-
},
|
|
951
|
+
}, k.apply(this, arguments);
|
|
952
952
|
};
|
|
953
953
|
var Wa = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
954
954
|
function $a(e) {
|
|
@@ -1072,13 +1072,13 @@ function qa(e) {
|
|
|
1072
1072
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1073
1073
|
continue;
|
|
1074
1074
|
case "scientific":
|
|
1075
|
-
t =
|
|
1076
|
-
return
|
|
1075
|
+
t = k(k(k({}, t), { notation: "scientific" }), a.options.reduce(function(u, l) {
|
|
1076
|
+
return k(k({}, u), ur(l));
|
|
1077
1077
|
}, {}));
|
|
1078
1078
|
continue;
|
|
1079
1079
|
case "engineering":
|
|
1080
|
-
t =
|
|
1081
|
-
return
|
|
1080
|
+
t = k(k(k({}, t), { notation: "engineering" }), a.options.reduce(function(u, l) {
|
|
1081
|
+
return k(k({}, u), ur(l));
|
|
1082
1082
|
}, {}));
|
|
1083
1083
|
continue;
|
|
1084
1084
|
case "notation-simple":
|
|
@@ -1147,17 +1147,17 @@ function qa(e) {
|
|
|
1147
1147
|
return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1148
1148
|
});
|
|
1149
1149
|
var i = a.options[0];
|
|
1150
|
-
i === "w" ? t =
|
|
1150
|
+
i === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = k(k({}, t), sr(i)));
|
|
1151
1151
|
continue;
|
|
1152
1152
|
}
|
|
1153
1153
|
if (nn.test(a.stem)) {
|
|
1154
|
-
t =
|
|
1154
|
+
t = k(k({}, t), sr(a.stem));
|
|
1155
1155
|
continue;
|
|
1156
1156
|
}
|
|
1157
1157
|
var o = on(a.stem);
|
|
1158
|
-
o && (t =
|
|
1158
|
+
o && (t = k(k({}, t), o));
|
|
1159
1159
|
var s = Xa(a.stem);
|
|
1160
|
-
s && (t =
|
|
1160
|
+
s && (t = k(k({}, t), s));
|
|
1161
1161
|
}
|
|
1162
1162
|
return t;
|
|
1163
1163
|
}
|
|
@@ -2742,7 +2742,7 @@ var ci = (
|
|
|
2742
2742
|
if (i === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2743
2743
|
var s = this.clonePosition();
|
|
2744
2744
|
this.bump(), a.push({
|
|
2745
|
-
type:
|
|
2745
|
+
type: A.pound,
|
|
2746
2746
|
location: E(s, this.clonePosition())
|
|
2747
2747
|
});
|
|
2748
2748
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2770,7 +2770,7 @@ var ci = (
|
|
|
2770
2770
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2771
2771
|
return {
|
|
2772
2772
|
val: {
|
|
2773
|
-
type:
|
|
2773
|
+
type: A.literal,
|
|
2774
2774
|
value: "<".concat(a, "/>"),
|
|
2775
2775
|
location: E(n, this.clonePosition())
|
|
2776
2776
|
},
|
|
@@ -2787,7 +2787,7 @@ var ci = (
|
|
|
2787
2787
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2788
2788
|
return a !== l ? this.error(S.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2789
2789
|
val: {
|
|
2790
|
-
type:
|
|
2790
|
+
type: A.tag,
|
|
2791
2791
|
value: a,
|
|
2792
2792
|
children: o,
|
|
2793
2793
|
location: E(n, this.clonePosition())
|
|
@@ -2824,7 +2824,7 @@ var ci = (
|
|
|
2824
2824
|
}
|
|
2825
2825
|
var u = E(n, this.clonePosition());
|
|
2826
2826
|
return {
|
|
2827
|
-
val: { type:
|
|
2827
|
+
val: { type: A.literal, value: a, location: u },
|
|
2828
2828
|
err: null
|
|
2829
2829
|
};
|
|
2830
2830
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2884,7 +2884,7 @@ var ci = (
|
|
|
2884
2884
|
case 125:
|
|
2885
2885
|
return this.bump(), {
|
|
2886
2886
|
val: {
|
|
2887
|
-
type:
|
|
2887
|
+
type: A.argument,
|
|
2888
2888
|
// value does not include the opening and closing braces.
|
|
2889
2889
|
value: a,
|
|
2890
2890
|
location: E(n, this.clonePosition())
|
|
@@ -2931,29 +2931,29 @@ var ci = (
|
|
|
2931
2931
|
if (s === "number") {
|
|
2932
2932
|
var h = this.parseNumberSkeletonFromString(g, l.styleLocation);
|
|
2933
2933
|
return h.err ? h : {
|
|
2934
|
-
val: { type:
|
|
2934
|
+
val: { type: A.number, value: n, location: b, style: h.val },
|
|
2935
2935
|
err: null
|
|
2936
2936
|
};
|
|
2937
2937
|
} else {
|
|
2938
2938
|
if (g.length === 0)
|
|
2939
2939
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
|
|
2940
|
-
var
|
|
2941
|
-
this.locale && (
|
|
2940
|
+
var N = g;
|
|
2941
|
+
this.locale && (N = za(g, this.locale));
|
|
2942
2942
|
var d = {
|
|
2943
2943
|
type: Se.dateTime,
|
|
2944
|
-
pattern:
|
|
2944
|
+
pattern: N,
|
|
2945
2945
|
location: l.styleLocation,
|
|
2946
|
-
parsedOptions: this.shouldParseSkeletons ? ja(
|
|
2947
|
-
},
|
|
2946
|
+
parsedOptions: this.shouldParseSkeletons ? ja(N) : {}
|
|
2947
|
+
}, B = s === "date" ? A.date : A.time;
|
|
2948
2948
|
return {
|
|
2949
|
-
val: { type:
|
|
2949
|
+
val: { type: B, value: n, location: b, style: d },
|
|
2950
2950
|
err: null
|
|
2951
2951
|
};
|
|
2952
2952
|
}
|
|
2953
2953
|
}
|
|
2954
2954
|
return {
|
|
2955
2955
|
val: {
|
|
2956
|
-
type: s === "number" ?
|
|
2956
|
+
type: s === "number" ? A.number : s === "date" ? A.date : A.time,
|
|
2957
2957
|
value: n,
|
|
2958
2958
|
location: b,
|
|
2959
2959
|
style: (i = l?.style) !== null && i !== void 0 ? i : null
|
|
@@ -2987,7 +2987,7 @@ var ci = (
|
|
|
2987
2987
|
var T = E(a, this.clonePosition());
|
|
2988
2988
|
return s === "select" ? {
|
|
2989
2989
|
val: {
|
|
2990
|
-
type:
|
|
2990
|
+
type: A.select,
|
|
2991
2991
|
value: n,
|
|
2992
2992
|
options: cr(G.val),
|
|
2993
2993
|
location: T
|
|
@@ -2995,7 +2995,7 @@ var ci = (
|
|
|
2995
2995
|
err: null
|
|
2996
2996
|
} : {
|
|
2997
2997
|
val: {
|
|
2998
|
-
type:
|
|
2998
|
+
type: A.plural,
|
|
2999
2999
|
value: n,
|
|
3000
3000
|
options: cr(G.val),
|
|
3001
3001
|
offset: x,
|
|
@@ -3323,10 +3323,10 @@ function ze(e, t, r, n, a, i, o) {
|
|
|
3323
3323
|
var p = c.children, b = c.value, g = a[b];
|
|
3324
3324
|
if (!bi(g))
|
|
3325
3325
|
throw new gi(b, "function", o);
|
|
3326
|
-
var
|
|
3326
|
+
var N = ze(p, t, r, n, a, i), B = g(N.map(function(x) {
|
|
3327
3327
|
return x.value;
|
|
3328
3328
|
}));
|
|
3329
|
-
Array.isArray(
|
|
3329
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(x) {
|
|
3330
3330
|
return {
|
|
3331
3331
|
type: typeof x == "string" ? X.literal : X.object,
|
|
3332
3332
|
value: x
|
|
@@ -4607,7 +4607,7 @@ if (typeof window < "u") {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
};
|
|
4610
|
-
customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-
|
|
4610
|
+
customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-DWGVT1W-.js").then(({ default: t }) => {
|
|
4611
4611
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", t.element);
|
|
4612
4612
|
});
|
|
4613
4613
|
}
|
|
@@ -4718,8 +4718,8 @@ function xn(e, t) {
|
|
|
4718
4718
|
p.setUTCFullYear(h + 1, 0, m), p.setUTCHours(0, 0, 0, 0);
|
|
4719
4719
|
var b = at(p, t), g = /* @__PURE__ */ new Date(0);
|
|
4720
4720
|
g.setUTCFullYear(h, 0, m), g.setUTCHours(0, 0, 0, 0);
|
|
4721
|
-
var
|
|
4722
|
-
return c.getTime() >= b.getTime() ? h + 1 : c.getTime() >=
|
|
4721
|
+
var N = at(g, t);
|
|
4722
|
+
return c.getTime() >= b.getTime() ? h + 1 : c.getTime() >= N.getTime() ? h : h - 1;
|
|
4723
4723
|
}
|
|
4724
4724
|
function Do(e, t) {
|
|
4725
4725
|
var r, n, a, i, o, s, u, l;
|
|
@@ -5827,10 +5827,10 @@ var fs = /^(\d+)(th|st|nd|rd)?/i, ds = /\d+/i, ms = {
|
|
|
5827
5827
|
function Qs(e, t, r) {
|
|
5828
5828
|
var n, a, i, o, s, u, l, c, h, d, m, p, b, g;
|
|
5829
5829
|
$(2, arguments);
|
|
5830
|
-
var
|
|
5830
|
+
var N = String(t), B = ht(), O = (n = (a = void 0) !== null && a !== void 0 ? a : B.locale) !== null && n !== void 0 ? n : Ts, F = ce((i = (o = (s = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && s !== void 0 ? s : B.firstWeekContainsDate) !== null && o !== void 0 ? o : (l = B.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
5831
5831
|
if (!(F >= 1 && F <= 7))
|
|
5832
5832
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
5833
|
-
var x = ce((h = (d = (m = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && m !== void 0 ? m :
|
|
5833
|
+
var x = ce((h = (d = (m = (p = void 0) !== null && p !== void 0 ? p : void 0) !== null && m !== void 0 ? m : B.weekStartsOn) !== null && d !== void 0 ? d : (b = B.locale) === null || b === void 0 || (g = b.options) === null || g === void 0 ? void 0 : g.weekStartsOn) !== null && h !== void 0 ? h : 0);
|
|
5834
5834
|
if (!(x >= 0 && x <= 6))
|
|
5835
5835
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
5836
5836
|
if (!O.localize)
|
|
@@ -5840,30 +5840,30 @@ function Qs(e, t, r) {
|
|
|
5840
5840
|
var G = Y(e);
|
|
5841
5841
|
if (!Mo(G))
|
|
5842
5842
|
throw new RangeError("Invalid time value");
|
|
5843
|
-
var T = Oo(G),
|
|
5843
|
+
var T = Oo(G), M = Ao(G, T), w = {
|
|
5844
5844
|
firstWeekContainsDate: F,
|
|
5845
5845
|
weekStartsOn: x,
|
|
5846
5846
|
locale: O,
|
|
5847
5847
|
_originalDate: G
|
|
5848
|
-
}, H =
|
|
5849
|
-
var z =
|
|
5848
|
+
}, H = N.match(Ps).map(function(I) {
|
|
5849
|
+
var z = I[0];
|
|
5850
5850
|
if (z === "p" || z === "P") {
|
|
5851
5851
|
var q = jo[z];
|
|
5852
|
-
return q(
|
|
5852
|
+
return q(I, O.formatLong);
|
|
5853
5853
|
}
|
|
5854
|
-
return
|
|
5855
|
-
}).join("").match(Cs).map(function(
|
|
5856
|
-
if (
|
|
5854
|
+
return I;
|
|
5855
|
+
}).join("").match(Cs).map(function(I) {
|
|
5856
|
+
if (I === "''")
|
|
5857
5857
|
return "'";
|
|
5858
|
-
var z =
|
|
5858
|
+
var z = I[0];
|
|
5859
5859
|
if (z === "'")
|
|
5860
|
-
return As(
|
|
5860
|
+
return As(I);
|
|
5861
5861
|
var q = Fo[z];
|
|
5862
5862
|
if (q)
|
|
5863
|
-
return Yo(
|
|
5863
|
+
return Yo(I) && Or(I, t, String(e)), Vo(I) && Or(I, t, String(e)), q(M, I, O.localize, w);
|
|
5864
5864
|
if (z.match(Ms))
|
|
5865
5865
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + z + "`");
|
|
5866
|
-
return
|
|
5866
|
+
return I;
|
|
5867
5867
|
}).join("");
|
|
5868
5868
|
return H;
|
|
5869
5869
|
}
|
|
@@ -5898,7 +5898,7 @@ function Mr(e) {
|
|
|
5898
5898
|
), n, a, i, o;
|
|
5899
5899
|
return {
|
|
5900
5900
|
c() {
|
|
5901
|
-
t =
|
|
5901
|
+
t = L("small"), n = ae(r), _(t, "class", a = "SearchCancelButton " + /*searchCancelled*/
|
|
5902
5902
|
(e[17] ? "NotVisible" : ""));
|
|
5903
5903
|
},
|
|
5904
5904
|
m(s, u) {
|
|
@@ -5914,7 +5914,7 @@ function Mr(e) {
|
|
|
5914
5914
|
4194304 && r !== (r = /*$_*/
|
|
5915
5915
|
s[22]("cancel") + "") && le(n, r), u[0] & /*searchCancelled*/
|
|
5916
5916
|
131072 && a !== (a = "SearchCancelButton " + /*searchCancelled*/
|
|
5917
|
-
(s[17] ? "NotVisible" : "")) &&
|
|
5917
|
+
(s[17] ? "NotVisible" : "")) && _(t, "class", a);
|
|
5918
5918
|
},
|
|
5919
5919
|
d(s) {
|
|
5920
5920
|
s && W(t), i = !1, o();
|
|
@@ -5946,7 +5946,7 @@ function Rs(e) {
|
|
|
5946
5946
|
);
|
|
5947
5947
|
return {
|
|
5948
5948
|
c() {
|
|
5949
|
-
s && s.c(), t = Z(), r =
|
|
5949
|
+
s && s.c(), t = Z(), r = L("div"), u && u.c(), n = Z(), l && l.c(), _(r, "class", a = "SearchResultsContainer " + /*searchActive*/
|
|
5950
5950
|
(e[18] == !0 ? "" : "NotVisible"));
|
|
5951
5951
|
},
|
|
5952
5952
|
m(c, h) {
|
|
@@ -5958,7 +5958,7 @@ function Rs(e) {
|
|
|
5958
5958
|
c[15].length >= 2 && /*searchArray*/
|
|
5959
5959
|
c[14].length == 0 ? l ? l.p(c, h) : (l = Rr(c), l.c(), l.m(r, null)) : l && (l.d(1), l = null), h[0] & /*searchActive*/
|
|
5960
5960
|
262144 && a !== (a = "SearchResultsContainer " + /*searchActive*/
|
|
5961
|
-
(c[18] == !0 ? "" : "NotVisible")) &&
|
|
5961
|
+
(c[18] == !0 ? "" : "NotVisible")) && _(r, "class", a);
|
|
5962
5962
|
},
|
|
5963
5963
|
d(c) {
|
|
5964
5964
|
c && (W(t), W(r)), s && s.d(c), u && u.d(), l && l.d();
|
|
@@ -5972,7 +5972,7 @@ function Ds(e) {
|
|
|
5972
5972
|
), n;
|
|
5973
5973
|
return {
|
|
5974
5974
|
c() {
|
|
5975
|
-
t =
|
|
5975
|
+
t = L("p"), n = ae(r), _(t, "class", "LoadingContent");
|
|
5976
5976
|
},
|
|
5977
5977
|
m(a, i) {
|
|
5978
5978
|
V(a, t, i), P(t, n);
|
|
@@ -5994,7 +5994,7 @@ function ks(e) {
|
|
|
5994
5994
|
), n;
|
|
5995
5995
|
return {
|
|
5996
5996
|
c() {
|
|
5997
|
-
t =
|
|
5997
|
+
t = L("p"), n = ae(r), _(t, "class", "SearchMessage");
|
|
5998
5998
|
},
|
|
5999
5999
|
m(a, i) {
|
|
6000
6000
|
V(a, t, i), P(t, n);
|
|
@@ -6041,7 +6041,7 @@ function Ar(e) {
|
|
|
6041
6041
|
), n;
|
|
6042
6042
|
return {
|
|
6043
6043
|
c() {
|
|
6044
|
-
t =
|
|
6044
|
+
t = L("p"), n = ae(r), _(t, "class", "SearchMessage");
|
|
6045
6045
|
},
|
|
6046
6046
|
m(a, i) {
|
|
6047
6047
|
V(a, t, i), P(t, n);
|
|
@@ -6066,7 +6066,7 @@ function Br(e) {
|
|
|
6066
6066
|
);
|
|
6067
6067
|
return {
|
|
6068
6068
|
c() {
|
|
6069
|
-
t =
|
|
6069
|
+
t = L("div"), s && s.c(), r = Z(), n = L("p"), i = ae(a), _(n, "class", "SearchMessage"), _(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
|
|
6070
6070
|
(e[11] == "true" ? "WithIcon" : ""));
|
|
6071
6071
|
},
|
|
6072
6072
|
m(u, l) {
|
|
@@ -6078,7 +6078,7 @@ function Br(e) {
|
|
|
6078
6078
|
4194304 && a !== (a = /*$_*/
|
|
6079
6079
|
u[22]("noRecentSearches") + "") && le(i, a), l[0] & /*notfoundicon*/
|
|
6080
6080
|
2048 && o !== (o = "ResultsContainerError " + /*notfoundicon*/
|
|
6081
|
-
(u[11] == "true" ? "WithIcon" : "")) &&
|
|
6081
|
+
(u[11] == "true" ? "WithIcon" : "")) && _(t, "class", o);
|
|
6082
6082
|
},
|
|
6083
6083
|
d(u) {
|
|
6084
6084
|
u && W(t), s && s.d();
|
|
@@ -6089,7 +6089,7 @@ function Lr(e) {
|
|
|
6089
6089
|
let t;
|
|
6090
6090
|
return {
|
|
6091
6091
|
c() {
|
|
6092
|
-
t =
|
|
6092
|
+
t = L("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', _(t, "class", "SearchErrorIcon");
|
|
6093
6093
|
},
|
|
6094
6094
|
m(r, n) {
|
|
6095
6095
|
V(r, t, n);
|
|
@@ -6143,7 +6143,7 @@ function Ir(e, t) {
|
|
|
6143
6143
|
key: e,
|
|
6144
6144
|
first: null,
|
|
6145
6145
|
c() {
|
|
6146
|
-
r =
|
|
6146
|
+
r = L("casino-game-thumbnail-nd"), v(
|
|
6147
6147
|
r,
|
|
6148
6148
|
"endpoint",
|
|
6149
6149
|
/*endpoint*/
|
|
@@ -6368,7 +6368,7 @@ function Rr(e) {
|
|
|
6368
6368
|
);
|
|
6369
6369
|
return {
|
|
6370
6370
|
c() {
|
|
6371
|
-
t =
|
|
6371
|
+
t = L("div"), h && h.c(), r = Z(), n = L("p"), i = ae(a), o = Z(), s = L("p"), l = ae(u), _(n, "class", "SearchMessage"), _(t, "class", c = "ResultsContainerError " + /*notfoundicon*/
|
|
6372
6372
|
(e[11] == "true" ? "WithIcon" : ""));
|
|
6373
6373
|
},
|
|
6374
6374
|
m(d, m) {
|
|
@@ -6382,7 +6382,7 @@ function Rr(e) {
|
|
|
6382
6382
|
4194304 && u !== (u = /*$_*/
|
|
6383
6383
|
d[22]("notFoundText") + "") && le(l, u), m[0] & /*notfoundicon*/
|
|
6384
6384
|
2048 && c !== (c = "ResultsContainerError " + /*notfoundicon*/
|
|
6385
|
-
(d[11] == "true" ? "WithIcon" : "")) &&
|
|
6385
|
+
(d[11] == "true" ? "WithIcon" : "")) && _(t, "class", c);
|
|
6386
6386
|
},
|
|
6387
6387
|
d(d) {
|
|
6388
6388
|
d && W(t), h && h.d();
|
|
@@ -6393,7 +6393,7 @@ function Dr(e) {
|
|
|
6393
6393
|
let t;
|
|
6394
6394
|
return {
|
|
6395
6395
|
c() {
|
|
6396
|
-
t =
|
|
6396
|
+
t = L("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', _(t, "class", "SearchErrorIcon");
|
|
6397
6397
|
},
|
|
6398
6398
|
m(r, n) {
|
|
6399
6399
|
V(r, t, n);
|
|
@@ -6404,7 +6404,7 @@ function Dr(e) {
|
|
|
6404
6404
|
};
|
|
6405
6405
|
}
|
|
6406
6406
|
function Fs(e) {
|
|
6407
|
-
let t, r, n, a, i, o, s, u, l, c, h, d, m, p, b, g,
|
|
6407
|
+
let t, r, n, a, i, o, s, u, l, c, h, d, m, p, b, g, N, B, O, F, x = (
|
|
6408
6408
|
/*cancelbutton*/
|
|
6409
6409
|
e[10] === "true" && Mr(e)
|
|
6410
6410
|
);
|
|
@@ -6414,15 +6414,15 @@ function Fs(e) {
|
|
|
6414
6414
|
w[19] ? Ds : Rs
|
|
6415
6415
|
);
|
|
6416
6416
|
}
|
|
6417
|
-
let T = G(e),
|
|
6417
|
+
let T = G(e), M = T(e);
|
|
6418
6418
|
return {
|
|
6419
6419
|
c() {
|
|
6420
|
-
t =
|
|
6421
|
-
e[22]("placeHolderSearchGames")),
|
|
6420
|
+
t = L("div"), r = L("div"), n = L("div"), a = L("div"), a.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', i = Z(), o = L("input"), u = Z(), l = L("span"), c = Tt("svg"), h = Tt("path"), m = Z(), x && x.c(), b = Z(), g = L("div"), B = Z(), M.c(), _(a, "class", "SearchIcon"), _(o, "class", "SearchInput"), _(o, "type", "search"), _(o, "placeholder", s = /*$_*/
|
|
6421
|
+
e[22]("placeHolderSearchGames")), _(o, "maxlength", Cn), _(h, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), _(h, "stroke", "#717171"), _(h, "stroke-width", "2"), _(h, "stroke-linecap", "round"), _(h, "stroke-linejoin", "round"), _(c, "width", "11"), _(c, "height", "11"), _(c, "fill", "none"), _(c, "xmlns", "http://www.w3.org/2000/svg"), _(l, "class", d = "SearchClearButton " + /*cancelbutton*/
|
|
6422
6422
|
(e[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
6423
|
-
(e[15].length != 0 ? "" : "NotVisible")),
|
|
6424
|
-
(e[17] ? "" : "SearchAnimation")),
|
|
6425
|
-
e[10] != "true" ? "OverlayCancel" : ""),
|
|
6423
|
+
(e[15].length != 0 ? "" : "NotVisible")), _(n, "class", p = "Search " + /*searchCancelled*/
|
|
6424
|
+
(e[17] ? "" : "SearchAnimation")), _(r, "class", "SearchWrap"), _(g, "class", N = /*cancelbutton*/
|
|
6425
|
+
e[10] != "true" ? "OverlayCancel" : ""), _(t, "class", (Wt(
|
|
6426
6426
|
/*userAgent*/
|
|
6427
6427
|
e[23]
|
|
6428
6428
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
@@ -6432,7 +6432,7 @@ function Fs(e) {
|
|
|
6432
6432
|
o,
|
|
6433
6433
|
/*searchValue*/
|
|
6434
6434
|
e[15]
|
|
6435
|
-
), e[41](o), P(n, u), P(n, l), P(l, c), P(c, h), P(n, m), x && x.m(n, null), P(t, b), P(t, g), P(t,
|
|
6435
|
+
), e[41](o), P(n, u), P(n, l), P(l, c), P(c, h), P(n, m), x && x.m(n, null), P(t, b), P(t, g), P(t, B), M.m(t, null), e[44](t), O || (F = [
|
|
6436
6436
|
ve(
|
|
6437
6437
|
o,
|
|
6438
6438
|
"input",
|
|
@@ -6468,7 +6468,7 @@ function Fs(e) {
|
|
|
6468
6468
|
p(w, H) {
|
|
6469
6469
|
H[0] & /*$_*/
|
|
6470
6470
|
4194304 && s !== (s = /*$_*/
|
|
6471
|
-
w[22]("placeHolderSearchGames")) &&
|
|
6471
|
+
w[22]("placeHolderSearchGames")) && _(o, "placeholder", s), H[0] & /*searchValue*/
|
|
6472
6472
|
32768 && o.value !== /*searchValue*/
|
|
6473
6473
|
w[15] && tr(
|
|
6474
6474
|
o,
|
|
@@ -6477,17 +6477,17 @@ function Fs(e) {
|
|
|
6477
6477
|
), H[0] & /*cancelbutton, searchValue*/
|
|
6478
6478
|
33792 && d !== (d = "SearchClearButton " + /*cancelbutton*/
|
|
6479
6479
|
(w[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
6480
|
-
(w[15].length != 0 ? "" : "NotVisible")) &&
|
|
6480
|
+
(w[15].length != 0 ? "" : "NotVisible")) && _(l, "class", d), /*cancelbutton*/
|
|
6481
6481
|
w[10] === "true" ? x ? x.p(w, H) : (x = Mr(w), x.c(), x.m(n, null)) : x && (x.d(1), x = null), H[0] & /*searchCancelled*/
|
|
6482
6482
|
131072 && p !== (p = "Search " + /*searchCancelled*/
|
|
6483
|
-
(w[17] ? "" : "SearchAnimation")) &&
|
|
6484
|
-
1024 &&
|
|
6485
|
-
w[10] != "true" ? "OverlayCancel" : "") &&
|
|
6483
|
+
(w[17] ? "" : "SearchAnimation")) && _(n, "class", p), H[0] & /*cancelbutton*/
|
|
6484
|
+
1024 && N !== (N = /*cancelbutton*/
|
|
6485
|
+
w[10] != "true" ? "OverlayCancel" : "") && _(g, "class", N), T === (T = G(w)) && M ? M.p(w, H) : (M.d(1), M = T(w), M && (M.c(), M.m(t, null)));
|
|
6486
6486
|
},
|
|
6487
6487
|
i: K,
|
|
6488
6488
|
o: K,
|
|
6489
6489
|
d(w) {
|
|
6490
|
-
w && W(t), e[41](null), x && x.d(),
|
|
6490
|
+
w && W(t), e[41](null), x && x.d(), M.d(), e[44](null), O = !1, he(F);
|
|
6491
6491
|
}
|
|
6492
6492
|
};
|
|
6493
6493
|
}
|
|
@@ -6495,26 +6495,26 @@ let Cn = 50;
|
|
|
6495
6495
|
function Gs(e, t, r) {
|
|
6496
6496
|
let n;
|
|
6497
6497
|
qn(e, to, (f) => r(22, n = f));
|
|
6498
|
-
let { endpoint: a = "" } = t, { datasource: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: d = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: b = "true" } = t, { translationurl: g = "" } = t, { showfavorites:
|
|
6499
|
-
const
|
|
6500
|
-
let w = window.navigator.userAgent, H = [],
|
|
6498
|
+
let { endpoint: a = "" } = t, { datasource: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: d = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: b = "true" } = t, { translationurl: g = "" } = t, { showfavorites: N = "" } = t, { cancelbutton: B = "true" } = t, { notfoundicon: O = "false" } = t, { controlchannel: F = "casino-search" } = t, { allowedorigins: x = window.location.origin } = t, { requiredicon: G = "false" } = t, { allowsingleclickgameentry: T = "false" } = t;
|
|
6499
|
+
const M = () => (x || "").split(",").map((f) => f.trim()).filter(Boolean);
|
|
6500
|
+
let w = window.navigator.userAgent, H = [], I = [], z = {}, q = "", Oe, Ge = !0, te = !1, J = !1, re, He, Pn, je = !1, We, $e, Xt = [];
|
|
6501
6501
|
const ft = (f) => {
|
|
6502
|
-
Object.keys(f).forEach((
|
|
6503
|
-
ro(
|
|
6502
|
+
Object.keys(f).forEach((y) => {
|
|
6503
|
+
ro(y, f[y]);
|
|
6504
6504
|
});
|
|
6505
6505
|
}, On = () => {
|
|
6506
|
-
fetch(g).then((
|
|
6507
|
-
ft(
|
|
6508
|
-
}).catch((
|
|
6509
|
-
console.log(
|
|
6506
|
+
fetch(g).then((y) => y.json()).then((y) => {
|
|
6507
|
+
ft(y);
|
|
6508
|
+
}).catch((y) => {
|
|
6509
|
+
console.log(y);
|
|
6510
6510
|
});
|
|
6511
6511
|
};
|
|
6512
6512
|
ft(ao);
|
|
6513
6513
|
const qt = (f) => {
|
|
6514
6514
|
f.data && f.data.type == "SearchedItemClicked" && kn(f.data.gameId), f.data.type == "UserSessionID" && (r(20, We = f.data.session), r(21, $e = f.data.userid), r(39, je = !0)), f.data.type == "CategoryChange" && Ae();
|
|
6515
6515
|
try {
|
|
6516
|
-
const
|
|
6517
|
-
if (!(
|
|
6516
|
+
const y = f.origin === window.location.origin, R = M();
|
|
6517
|
+
if (!(y || R.length > 0 && R.includes(f.origin)) || !f.data || f.data.channel !== F)
|
|
6518
6518
|
return;
|
|
6519
6519
|
switch (f.data.type) {
|
|
6520
6520
|
case "OpenSearch":
|
|
@@ -6535,15 +6535,15 @@ function Gs(e, t, r) {
|
|
|
6535
6535
|
}, Hn = (f) => G !== "true" ? void 0 : Object.values(f ?? {}).pop(), dt = () => {
|
|
6536
6536
|
if (r(17, Ge = !1), r(18, te = !0), a && i && u && q.length < 2) {
|
|
6537
6537
|
r(14, H = []);
|
|
6538
|
-
let f = localStorage.getItem("searchedGamesWds_casino"),
|
|
6539
|
-
f && (
|
|
6540
|
-
let
|
|
6538
|
+
let f = localStorage.getItem("searchedGamesWds_casino"), y = [];
|
|
6539
|
+
f && (y = f.split(","));
|
|
6540
|
+
let R = [], U = 0, j = y.length;
|
|
6541
6541
|
if (j > 0) {
|
|
6542
|
-
for (
|
|
6543
|
-
let Q = new URL(`${a}/v1/casino/games/${
|
|
6544
|
-
Q.searchParams.append("language", u), Q.searchParams.append("datasource", i), Q.searchParams.append("platform", Wt(w)),
|
|
6542
|
+
for (U = 0; U < j; U++) {
|
|
6543
|
+
let Q = new URL(`${a}/v1/casino/games/${y[U]}`);
|
|
6544
|
+
Q.searchParams.append("language", u), Q.searchParams.append("datasource", i), Q.searchParams.append("platform", Wt(w)), R.push(Nn(Q, y[U]));
|
|
6545
6545
|
}
|
|
6546
|
-
Promise.all(
|
|
6546
|
+
Promise.all(R).then((Q) => {
|
|
6547
6547
|
Q = Q.filter(function(se) {
|
|
6548
6548
|
return !!se;
|
|
6549
6549
|
}), r(14, H = Q.map((se) => (se.isFavorite = Qt(se.id), se))), H.length ? Me("searchSuccess", "SearchWidget") : Me("searchFail", "SearchWidget");
|
|
@@ -6566,27 +6566,27 @@ function Gs(e, t, r) {
|
|
|
6566
6566
|
function An(f) {
|
|
6567
6567
|
r(15, q = (f ?? "").slice(0, Cn)), te || mt(), Kt();
|
|
6568
6568
|
}
|
|
6569
|
-
const Me = (f,
|
|
6570
|
-
typeof gtag == "function" && gtag("event", f, { context:
|
|
6569
|
+
const Me = (f, y) => {
|
|
6570
|
+
typeof gtag == "function" && gtag("event", f, { context: y });
|
|
6571
6571
|
}, Bn = () => {
|
|
6572
|
-
|
|
6573
|
-
}, Ln = (f) => new Promise((
|
|
6574
|
-
r(19, J = !0), fetch(f.href).then((
|
|
6575
|
-
r(19, J = !1),
|
|
6576
|
-
}).catch((
|
|
6577
|
-
r(19, J = !1), console.error(
|
|
6572
|
+
B != "true" && Ae();
|
|
6573
|
+
}, Ln = (f) => new Promise((y, R) => {
|
|
6574
|
+
r(19, J = !0), fetch(f.href).then((U) => U.json()).then((U) => {
|
|
6575
|
+
r(19, J = !1), y(U);
|
|
6576
|
+
}).catch((U) => {
|
|
6577
|
+
r(19, J = !1), console.error(U);
|
|
6578
6578
|
try {
|
|
6579
6579
|
de({
|
|
6580
6580
|
type: "SearchError",
|
|
6581
|
-
message: String(
|
|
6581
|
+
message: String(U)
|
|
6582
6582
|
});
|
|
6583
6583
|
} catch {
|
|
6584
6584
|
}
|
|
6585
|
-
|
|
6585
|
+
R(U);
|
|
6586
6586
|
});
|
|
6587
|
-
}), Nn = (f,
|
|
6588
|
-
r(19, J = !0),
|
|
6589
|
-
r(19, J = !1), j.error || (z[j[0].gameId] = j[0]),
|
|
6587
|
+
}), Nn = (f, y) => new Promise((R, U) => {
|
|
6588
|
+
r(19, J = !0), y && Object.keys(z).indexOf(y) >= 0 ? (r(19, J = !1), R(z[y])) : fetch(f).then((j) => j.json()).then((j) => {
|
|
6589
|
+
r(19, J = !1), j.error || (z[j[0].gameId] = j[0]), R(j[0]);
|
|
6590
6590
|
}).catch((j) => {
|
|
6591
6591
|
r(19, J = !1), console.error(j);
|
|
6592
6592
|
try {
|
|
@@ -6596,33 +6596,33 @@ function Gs(e, t, r) {
|
|
|
6596
6596
|
});
|
|
6597
6597
|
} catch {
|
|
6598
6598
|
}
|
|
6599
|
-
|
|
6599
|
+
U(j);
|
|
6600
6600
|
});
|
|
6601
6601
|
}), In = () => {
|
|
6602
6602
|
const f = new URL(`${a}/v1/player/${$e}/favorites/`);
|
|
6603
6603
|
r(19, J = !0);
|
|
6604
|
-
let
|
|
6604
|
+
let y = {
|
|
6605
6605
|
method: "GET",
|
|
6606
6606
|
headers: { "X-SessionID": We }
|
|
6607
6607
|
};
|
|
6608
|
-
fetch(f.href,
|
|
6609
|
-
r(19, J = !1), Xt =
|
|
6608
|
+
fetch(f.href, y).then((R) => R.json()).then((R) => {
|
|
6609
|
+
r(19, J = !1), Xt = R.items.map((U) => U.id);
|
|
6610
6610
|
});
|
|
6611
6611
|
}, Rn = () => {
|
|
6612
6612
|
r(39, je = !0), r(20, We = o), r(21, $e = s);
|
|
6613
|
-
}, Qt = (f) => Xt.findIndex((
|
|
6613
|
+
}, Qt = (f) => Xt.findIndex((y) => y == f) !== -1, Dn = (f) => {
|
|
6614
6614
|
if (f?.length === 0)
|
|
6615
6615
|
return "";
|
|
6616
|
-
let
|
|
6616
|
+
let y, R = 99999999999, U;
|
|
6617
6617
|
const j = new Date(Date.now());
|
|
6618
6618
|
return f.forEach((Q, se) => {
|
|
6619
6619
|
const Yn = new Date(Q.schedules[0].startTime), gt = new Date(Q.schedules[0].endTime);
|
|
6620
|
-
xr(new Date(gt), new Date(j)) <
|
|
6621
|
-
}),
|
|
6620
|
+
xr(new Date(gt), new Date(j)) < R && (R = xr(new Date(gt), new Date(j)), U = se), Bs(new Date(j), new Date(Yn)) && Ls(new Date(j), new Date(gt)) && (y = f[U].name);
|
|
6621
|
+
}), y;
|
|
6622
6622
|
}, kn = (f) => {
|
|
6623
|
-
if (
|
|
6624
|
-
let
|
|
6625
|
-
|
|
6623
|
+
if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(f) === -1) {
|
|
6624
|
+
let y;
|
|
6625
|
+
I.unshift(f), y = I.join(","), localStorage.setItem("searchedGamesWds_casino", y);
|
|
6626
6626
|
}
|
|
6627
6627
|
}, Ae = () => {
|
|
6628
6628
|
r(15, q = ""), r(17, Ge = !0), r(19, J = !1), r(14, H = []), r(18, te = !1), Zt(te);
|
|
@@ -6641,8 +6641,8 @@ function Gs(e, t, r) {
|
|
|
6641
6641
|
};
|
|
6642
6642
|
function de(f) {
|
|
6643
6643
|
try {
|
|
6644
|
-
const
|
|
6645
|
-
window.postMessage(
|
|
6644
|
+
const y = { channel: F, ...f };
|
|
6645
|
+
window.postMessage(y, window.location.href);
|
|
6646
6646
|
} catch {
|
|
6647
6647
|
}
|
|
6648
6648
|
}
|
|
@@ -6650,11 +6650,11 @@ function Gs(e, t, r) {
|
|
|
6650
6650
|
no(u);
|
|
6651
6651
|
}, Kt = async () => {
|
|
6652
6652
|
if (q.length >= 2) {
|
|
6653
|
-
const f = new URL(`${a}/v1/casino/games`)
|
|
6654
|
-
f.searchParams.append("datasource", i), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Wt(w)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter",
|
|
6655
|
-
if (
|
|
6656
|
-
throw
|
|
6657
|
-
r(14, H =
|
|
6653
|
+
const f = new URL(`${a}/v1/casino/games`);
|
|
6654
|
+
f.searchParams.append("datasource", i), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", Wt(w)), f.searchParams.append("language", u), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${q}`), Ln(f).then((y) => {
|
|
6655
|
+
if (y.error)
|
|
6656
|
+
throw y.error;
|
|
6657
|
+
r(14, H = y.items.map((R) => (R.isFavorite = Qt(R.id), R)));
|
|
6658
6658
|
try {
|
|
6659
6659
|
de({
|
|
6660
6660
|
type: "SearchResults",
|
|
@@ -6662,8 +6662,8 @@ function Gs(e, t, r) {
|
|
|
6662
6662
|
});
|
|
6663
6663
|
} catch {
|
|
6664
6664
|
}
|
|
6665
|
-
}).catch((
|
|
6666
|
-
console.error(
|
|
6665
|
+
}).catch((y) => {
|
|
6666
|
+
console.error(y), r(14, H = []);
|
|
6667
6667
|
});
|
|
6668
6668
|
} else
|
|
6669
6669
|
Ge || dt();
|
|
@@ -6686,14 +6686,14 @@ function Gs(e, t, r) {
|
|
|
6686
6686
|
});
|
|
6687
6687
|
}
|
|
6688
6688
|
return e.$$set = (f) => {
|
|
6689
|
-
"endpoint" in f && r(0, a = f.endpoint), "datasource" in f && r(31, i = f.datasource), "session" in f && r(32, o = f.session), "userid" in f && r(33, s = f.userid), "lang" in f && r(1, u = f.lang), "mbsource" in f && r(2, l = f.mbsource), "clientstyling" in f && r(3, c = f.clientstyling), "clientstylingurl" in f && r(4, h = f.clientstylingurl), "integratedgameframedesktop" in f && r(5, d = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(6, m = f.integratedgameframemobile), "showgamename" in f && r(7, p = f.showgamename), "gamepagemodalurl" in f && r(8, b = f.gamepagemodalurl), "translationurl" in f && r(34, g = f.translationurl), "showfavorites" in f && r(9,
|
|
6689
|
+
"endpoint" in f && r(0, a = f.endpoint), "datasource" in f && r(31, i = f.datasource), "session" in f && r(32, o = f.session), "userid" in f && r(33, s = f.userid), "lang" in f && r(1, u = f.lang), "mbsource" in f && r(2, l = f.mbsource), "clientstyling" in f && r(3, c = f.clientstyling), "clientstylingurl" in f && r(4, h = f.clientstylingurl), "integratedgameframedesktop" in f && r(5, d = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(6, m = f.integratedgameframemobile), "showgamename" in f && r(7, p = f.showgamename), "gamepagemodalurl" in f && r(8, b = f.gamepagemodalurl), "translationurl" in f && r(34, g = f.translationurl), "showfavorites" in f && r(9, N = f.showfavorites), "cancelbutton" in f && r(10, B = f.cancelbutton), "notfoundicon" in f && r(11, O = f.notfoundicon), "controlchannel" in f && r(35, F = f.controlchannel), "allowedorigins" in f && r(36, x = f.allowedorigins), "requiredicon" in f && r(37, G = f.requiredicon), "allowsingleclickgameentry" in f && r(12, T = f.allowsingleclickgameentry);
|
|
6690
6690
|
}, e.$$.update = () => {
|
|
6691
6691
|
e.$$.dirty[0] & /*lang*/
|
|
6692
6692
|
2 && u && Un(), e.$$.dirty[1] & /*translationurl*/
|
|
6693
6693
|
8 && g && On(), e.$$.dirty[1] & /*session, userid*/
|
|
6694
6694
|
6 && o && s && Rn(), e.$$.dirty[0] & /*showfavorites*/
|
|
6695
6695
|
512 | e.$$.dirty[1] & /*isLoggedIn*/
|
|
6696
|
-
256 &&
|
|
6696
|
+
256 && N && je && In(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
6697
6697
|
8200 && c && re && io(re, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
6698
6698
|
8208 && h && re && oo(re, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
6699
6699
|
8196 | e.$$.dirty[1] & /*styleSubscription*/
|
|
@@ -6710,8 +6710,8 @@ function Gs(e, t, r) {
|
|
|
6710
6710
|
m,
|
|
6711
6711
|
p,
|
|
6712
6712
|
b,
|
|
6713
|
-
R,
|
|
6714
6713
|
N,
|
|
6714
|
+
B,
|
|
6715
6715
|
O,
|
|
6716
6716
|
T,
|
|
6717
6717
|
re,
|
|
@@ -6786,121 +6786,121 @@ class js extends fa {
|
|
|
6786
6786
|
return this.$$.ctx[0];
|
|
6787
6787
|
}
|
|
6788
6788
|
set endpoint(t) {
|
|
6789
|
-
this.$$set({ endpoint: t }),
|
|
6789
|
+
this.$$set({ endpoint: t }), D();
|
|
6790
6790
|
}
|
|
6791
6791
|
get datasource() {
|
|
6792
6792
|
return this.$$.ctx[31];
|
|
6793
6793
|
}
|
|
6794
6794
|
set datasource(t) {
|
|
6795
|
-
this.$$set({ datasource: t }),
|
|
6795
|
+
this.$$set({ datasource: t }), D();
|
|
6796
6796
|
}
|
|
6797
6797
|
get session() {
|
|
6798
6798
|
return this.$$.ctx[32];
|
|
6799
6799
|
}
|
|
6800
6800
|
set session(t) {
|
|
6801
|
-
this.$$set({ session: t }),
|
|
6801
|
+
this.$$set({ session: t }), D();
|
|
6802
6802
|
}
|
|
6803
6803
|
get userid() {
|
|
6804
6804
|
return this.$$.ctx[33];
|
|
6805
6805
|
}
|
|
6806
6806
|
set userid(t) {
|
|
6807
|
-
this.$$set({ userid: t }),
|
|
6807
|
+
this.$$set({ userid: t }), D();
|
|
6808
6808
|
}
|
|
6809
6809
|
get lang() {
|
|
6810
6810
|
return this.$$.ctx[1];
|
|
6811
6811
|
}
|
|
6812
6812
|
set lang(t) {
|
|
6813
|
-
this.$$set({ lang: t }),
|
|
6813
|
+
this.$$set({ lang: t }), D();
|
|
6814
6814
|
}
|
|
6815
6815
|
get mbsource() {
|
|
6816
6816
|
return this.$$.ctx[2];
|
|
6817
6817
|
}
|
|
6818
6818
|
set mbsource(t) {
|
|
6819
|
-
this.$$set({ mbsource: t }),
|
|
6819
|
+
this.$$set({ mbsource: t }), D();
|
|
6820
6820
|
}
|
|
6821
6821
|
get clientstyling() {
|
|
6822
6822
|
return this.$$.ctx[3];
|
|
6823
6823
|
}
|
|
6824
6824
|
set clientstyling(t) {
|
|
6825
|
-
this.$$set({ clientstyling: t }),
|
|
6825
|
+
this.$$set({ clientstyling: t }), D();
|
|
6826
6826
|
}
|
|
6827
6827
|
get clientstylingurl() {
|
|
6828
6828
|
return this.$$.ctx[4];
|
|
6829
6829
|
}
|
|
6830
6830
|
set clientstylingurl(t) {
|
|
6831
|
-
this.$$set({ clientstylingurl: t }),
|
|
6831
|
+
this.$$set({ clientstylingurl: t }), D();
|
|
6832
6832
|
}
|
|
6833
6833
|
get integratedgameframedesktop() {
|
|
6834
6834
|
return this.$$.ctx[5];
|
|
6835
6835
|
}
|
|
6836
6836
|
set integratedgameframedesktop(t) {
|
|
6837
|
-
this.$$set({ integratedgameframedesktop: t }),
|
|
6837
|
+
this.$$set({ integratedgameframedesktop: t }), D();
|
|
6838
6838
|
}
|
|
6839
6839
|
get integratedgameframemobile() {
|
|
6840
6840
|
return this.$$.ctx[6];
|
|
6841
6841
|
}
|
|
6842
6842
|
set integratedgameframemobile(t) {
|
|
6843
|
-
this.$$set({ integratedgameframemobile: t }),
|
|
6843
|
+
this.$$set({ integratedgameframemobile: t }), D();
|
|
6844
6844
|
}
|
|
6845
6845
|
get showgamename() {
|
|
6846
6846
|
return this.$$.ctx[7];
|
|
6847
6847
|
}
|
|
6848
6848
|
set showgamename(t) {
|
|
6849
|
-
this.$$set({ showgamename: t }),
|
|
6849
|
+
this.$$set({ showgamename: t }), D();
|
|
6850
6850
|
}
|
|
6851
6851
|
get gamepagemodalurl() {
|
|
6852
6852
|
return this.$$.ctx[8];
|
|
6853
6853
|
}
|
|
6854
6854
|
set gamepagemodalurl(t) {
|
|
6855
|
-
this.$$set({ gamepagemodalurl: t }),
|
|
6855
|
+
this.$$set({ gamepagemodalurl: t }), D();
|
|
6856
6856
|
}
|
|
6857
6857
|
get translationurl() {
|
|
6858
6858
|
return this.$$.ctx[34];
|
|
6859
6859
|
}
|
|
6860
6860
|
set translationurl(t) {
|
|
6861
|
-
this.$$set({ translationurl: t }),
|
|
6861
|
+
this.$$set({ translationurl: t }), D();
|
|
6862
6862
|
}
|
|
6863
6863
|
get showfavorites() {
|
|
6864
6864
|
return this.$$.ctx[9];
|
|
6865
6865
|
}
|
|
6866
6866
|
set showfavorites(t) {
|
|
6867
|
-
this.$$set({ showfavorites: t }),
|
|
6867
|
+
this.$$set({ showfavorites: t }), D();
|
|
6868
6868
|
}
|
|
6869
6869
|
get cancelbutton() {
|
|
6870
6870
|
return this.$$.ctx[10];
|
|
6871
6871
|
}
|
|
6872
6872
|
set cancelbutton(t) {
|
|
6873
|
-
this.$$set({ cancelbutton: t }),
|
|
6873
|
+
this.$$set({ cancelbutton: t }), D();
|
|
6874
6874
|
}
|
|
6875
6875
|
get notfoundicon() {
|
|
6876
6876
|
return this.$$.ctx[11];
|
|
6877
6877
|
}
|
|
6878
6878
|
set notfoundicon(t) {
|
|
6879
|
-
this.$$set({ notfoundicon: t }),
|
|
6879
|
+
this.$$set({ notfoundicon: t }), D();
|
|
6880
6880
|
}
|
|
6881
6881
|
get controlchannel() {
|
|
6882
6882
|
return this.$$.ctx[35];
|
|
6883
6883
|
}
|
|
6884
6884
|
set controlchannel(t) {
|
|
6885
|
-
this.$$set({ controlchannel: t }),
|
|
6885
|
+
this.$$set({ controlchannel: t }), D();
|
|
6886
6886
|
}
|
|
6887
6887
|
get allowedorigins() {
|
|
6888
6888
|
return this.$$.ctx[36];
|
|
6889
6889
|
}
|
|
6890
6890
|
set allowedorigins(t) {
|
|
6891
|
-
this.$$set({ allowedorigins: t }),
|
|
6891
|
+
this.$$set({ allowedorigins: t }), D();
|
|
6892
6892
|
}
|
|
6893
6893
|
get requiredicon() {
|
|
6894
6894
|
return this.$$.ctx[37];
|
|
6895
6895
|
}
|
|
6896
6896
|
set requiredicon(t) {
|
|
6897
|
-
this.$$set({ requiredicon: t }),
|
|
6897
|
+
this.$$set({ requiredicon: t }), D();
|
|
6898
6898
|
}
|
|
6899
6899
|
get allowsingleclickgameentry() {
|
|
6900
6900
|
return this.$$.ctx[12];
|
|
6901
6901
|
}
|
|
6902
6902
|
set allowsingleclickgameentry(t) {
|
|
6903
|
-
this.$$set({ allowsingleclickgameentry: t }),
|
|
6903
|
+
this.$$set({ allowsingleclickgameentry: t }), D();
|
|
6904
6904
|
}
|
|
6905
6905
|
}
|
|
6906
6906
|
ha(js, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {}, allowsingleclickgameentry: {} }, [], [], !0);
|
|
@@ -6924,14 +6924,14 @@ export {
|
|
|
6924
6924
|
ha as c,
|
|
6925
6925
|
W as d,
|
|
6926
6926
|
Ws as e,
|
|
6927
|
-
|
|
6927
|
+
D as f,
|
|
6928
6928
|
v as g,
|
|
6929
|
-
|
|
6929
|
+
_ as h,
|
|
6930
6930
|
ca as i,
|
|
6931
6931
|
zs as j,
|
|
6932
6932
|
V as k,
|
|
6933
6933
|
P as l,
|
|
6934
|
-
|
|
6934
|
+
L as m,
|
|
6935
6935
|
K as n,
|
|
6936
6936
|
Z as o,
|
|
6937
6937
|
qn as p,
|