@everymatrix/casino-lobby 1.65.2 → 1.66.0
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/{CasinoFavoritesSection-CKG08mvP.js → CasinoFavoritesSection-B3x9NiUP.js} +1 -1
- package/components/{CasinoFavoritesSection-D-UkXryn.cjs → CasinoFavoritesSection-BziW8UfM.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DNhx0TCJ.js → CasinoFavoritesSection-Cz22fnDy.js} +1 -1
- package/components/{CasinoGamesCategorySection-rpR_Dlk6.js → CasinoGamesCategorySection-BF02FQVN.js} +39 -40
- package/components/{CasinoGamesCategorySection-CKD6dg5N.cjs → CasinoGamesCategorySection-C1dipLOo.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-2zBxYA-B.js → CasinoGamesCategorySection-DHSIkl3p.js} +32 -33
- package/components/{CasinoLastPlayedSection-nLvu1XOl.js → CasinoLastPlayedSection-CKjgv62a.js} +1 -1
- package/components/{CasinoLastPlayedSection-r9eIV0bz.cjs → CasinoLastPlayedSection-D8_x6fml.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-B8TsQxh7.js → CasinoLastPlayedSection-DXmPZo2N.js} +1 -1
- package/components/{CasinoLobby-Dq0Zd_zo.js → CasinoLobby-CR0w9HF5.js} +1 -1
- package/components/{CasinoLobby-CUTlLNLq.cjs → CasinoLobby-D6ri5iKR.cjs} +1 -1
- package/components/{CasinoLobby-em3qGb9e.js → CasinoLobby-DLeoqzyL.js} +1 -1
- package/components/{CasinoMostPlayedSection-B3_v0VjE.js → CasinoMostPlayedSection-3qYIetBN.js} +1 -1
- package/components/{CasinoMostPlayedSection-DHJlSbiK.js → CasinoMostPlayedSection-KqAzSNLv.js} +1 -1
- package/components/{CasinoMostPlayedSection-CYbsPd70.cjs → CasinoMostPlayedSection-ZarCDT3w.cjs} +1 -1
- package/components/{CasinoMyGames-BYorv67w.cjs → CasinoMyGames-Cga8BG6f.cjs} +1 -1
- package/components/{CasinoMyGames-eMDesVa1.js → CasinoMyGames-DYlnifZX.js} +3 -3
- package/components/{CasinoMyGames-Q6tW8LIZ.js → CasinoMyGames-Dg2LCngZ.js} +3 -3
- package/components/{CasinoPage-KQBGS5al.cjs → CasinoPage-BSujpR0c.cjs} +1 -1
- package/components/{CasinoPage-CW3QiTN3.js → CasinoPage-BTIq9Kbn.js} +29 -29
- package/components/{CasinoPage-EZ6VIuIu.js → CasinoPage-Dl3mfl3Y.js} +29 -29
- package/components/{CasinoSearch-8z57Xz_K.js → CasinoSearch-CI57P0Ir.js} +1 -1
- package/components/{CasinoSearch-DUQJhn3X.cjs → CasinoSearch-DEPsOgQ7.cjs} +1 -1
- package/components/{CasinoSearch-CPihxFbt.js → CasinoSearch-DgjdsVsw.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
package/components/{CasinoFavoritesSection-CKG08mvP.js → CasinoFavoritesSection-B3x9NiUP.js}
RENAMED
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BF02FQVN.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
package/components/{CasinoFavoritesSection-D-UkXryn.cjs → CasinoFavoritesSection-BziW8UfM.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-C1dipLOo.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
|
package/components/{CasinoFavoritesSection-DNhx0TCJ.js → CasinoFavoritesSection-Cz22fnDy.js}
RENAMED
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-DHSIkl3p.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
package/components/{CasinoGamesCategorySection-rpR_Dlk6.js → CasinoGamesCategorySection-BF02FQVN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ie = (i, e, a) => new Promise((n, o) => {
|
|
2
2
|
var s = (u) => {
|
|
3
3
|
try {
|
|
4
4
|
m(a.next(u));
|
|
@@ -14,8 +14,8 @@ var je = (i, e, a) => new Promise((n, o) => {
|
|
|
14
14
|
}, m = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, r);
|
|
15
15
|
m((a = a.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, h as F, j as C, r as d, k as Ka, W as Xa, o as Za, X as
|
|
18
|
-
import { h as
|
|
17
|
+
import { a as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, h as F, j as C, r as d, k as Ka, W as Xa, o as Za, X as je, C as se, U as Q, p as y, B as K, l as be, M as Qa, m as O, q as P, v as le, Y as va, Z as wa, E as t, w as xa, A as $a, F as ae, H as ei, I as ai, J as ii, K as ni, L as ti } from "./CasinoCalendar-BF8mewVC.js";
|
|
18
|
+
import { h as Ae } from "./CasinoGameThumbnail-CXkY0QzT.js";
|
|
19
19
|
if (typeof window != "undefined") {
|
|
20
20
|
let i = function(e) {
|
|
21
21
|
return function(...a) {
|
|
@@ -2527,7 +2527,7 @@ let Li = 0;
|
|
|
2527
2527
|
function Ri(i, e, a) {
|
|
2528
2528
|
let n;
|
|
2529
2529
|
Ka(i, ti, (l) => a(43, n = l));
|
|
2530
|
-
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: V = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Xe = "" } = e, { casinogamesgridslider: Ze = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage:
|
|
2530
|
+
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: V = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Xe = "" } = e, { casinogamesgridslider: Ze = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Le = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Qe = window.navigator.userAgent, I, z = [], $ = !0, ne = 40, Z = !1, Ce = !1, me = !1, Oe = !1, He = !0, ue = !1, ce, Be, fe, ge = !1, W, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, j, B = [], Ee = new AbortController(), oe = { items: [], count: 0, name: "" };
|
|
2531
2531
|
const ka = () => {
|
|
2532
2532
|
fetch(G).then((_) => _.json()).then((_) => {
|
|
2533
2533
|
Object.keys(_).forEach((w) => {
|
|
@@ -2539,9 +2539,9 @@ function Ri(i, e, a) {
|
|
|
2539
2539
|
};
|
|
2540
2540
|
Object.keys(na).forEach((l) => {
|
|
2541
2541
|
ia(l, na[l]);
|
|
2542
|
-
}), typeof document.hidden != "undefined" ?
|
|
2543
|
-
let
|
|
2544
|
-
l.forEach((_) =>
|
|
2542
|
+
}), typeof document.hidden != "undefined" ? ze = "hidden" : typeof document.msHidden != "undefined" ? ze = "msHidden" : typeof document.webkitHidden != "undefined" && (ze = "webkitHidden");
|
|
2543
|
+
let Ne = new IntersectionObserver((l) => {
|
|
2544
|
+
l.forEach((_) => Ie(this, null, function* () {
|
|
2545
2545
|
let w = _.target.gameid, E = _.target.elems_index;
|
|
2546
2546
|
_.isIntersecting ? (E * 1.2 > ne && za(v), a(40, he[w] = 1, he)) : a(40, he[w] = 0, he);
|
|
2547
2547
|
}));
|
|
@@ -2560,7 +2560,7 @@ function Ri(i, e, a) {
|
|
|
2560
2560
|
k.items.forEach((q) => {
|
|
2561
2561
|
q.gameModel && (j.push(q), B.includes(q.id) || B.push(q.id));
|
|
2562
2562
|
});
|
|
2563
|
-
const H = (D =
|
|
2563
|
+
const H = (D = je(j)) == null ? void 0 : D.length;
|
|
2564
2564
|
window.postMessage({
|
|
2565
2565
|
type: "UpdateFavoritesCount",
|
|
2566
2566
|
favoriteGamesLength: H
|
|
@@ -2588,7 +2588,7 @@ function Ri(i, e, a) {
|
|
|
2588
2588
|
(J = k.items) == null || J.forEach((q) => {
|
|
2589
2589
|
q.gameModel && (j.push(q), B.includes(q.id) || B.push(q.id));
|
|
2590
2590
|
});
|
|
2591
|
-
const H = (D =
|
|
2591
|
+
const H = (D = je(j)) == null ? void 0 : D.length;
|
|
2592
2592
|
window.postMessage({
|
|
2593
2593
|
type: "UpdateFavoritesCount",
|
|
2594
2594
|
favoriteGamesLength: H
|
|
@@ -2602,15 +2602,15 @@ function Ri(i, e, a) {
|
|
|
2602
2602
|
} else
|
|
2603
2603
|
w([]);
|
|
2604
2604
|
}), xe = (l, _, w, E) => {
|
|
2605
|
-
|
|
2606
|
-
const A =
|
|
2605
|
+
Ee && Ee.abort(), Ee = new AbortController();
|
|
2606
|
+
const A = Ee.signal;
|
|
2607
2607
|
a(25, x = !0);
|
|
2608
2608
|
let L = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2609
|
-
const H =
|
|
2609
|
+
const H = Se === "true" ? "*" : l;
|
|
2610
2610
|
return (l.match(/\$/g) || []).length > 1 ? (L = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${L}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, Ha) => {
|
|
2611
2611
|
var aa;
|
|
2612
2612
|
if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", Qa(Qe)), k.searchParams.append("pagination", `games(offset=${_},limit=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
|
|
2613
|
-
if (
|
|
2613
|
+
if (Se === "true" || X === !1 && ge === !1) {
|
|
2614
2614
|
let U = "";
|
|
2615
2615
|
a(34, Oe = !0), J[H].forEach((ee) => {
|
|
2616
2616
|
U = U + (U ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
|
|
@@ -2642,7 +2642,7 @@ function Ri(i, e, a) {
|
|
|
2642
2642
|
const l = W.getRootNode().host;
|
|
2643
2643
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2644
2644
|
}, Fa = (l, _, w) => {
|
|
2645
|
-
l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1),
|
|
2645
|
+
l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), Me = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
|
|
2646
2646
|
a(28, I = E), a(29, z = I.games.items), z && z.forEach((A) => {
|
|
2647
2647
|
A.isFavorite = Y(A.id);
|
|
2648
2648
|
});
|
|
@@ -2673,20 +2673,20 @@ function Ri(i, e, a) {
|
|
|
2673
2673
|
})), a(25, x = !1);
|
|
2674
2674
|
break;
|
|
2675
2675
|
case "RecentSearchData":
|
|
2676
|
-
a(31, Z = !0), a(32,
|
|
2676
|
+
a(31, Z = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, z = l.data.searchData), a(35, He = !0), z && z.forEach((_) => {
|
|
2677
2677
|
_.isFavorite = Y(_.id);
|
|
2678
2678
|
})) : (a(29, z = []), a(35, He = !1));
|
|
2679
2679
|
break;
|
|
2680
2680
|
case "OutOfRecentSearches":
|
|
2681
|
-
a(31, Z = !1), a(32,
|
|
2681
|
+
a(31, Z = !1), a(32, Ce = !1);
|
|
2682
2682
|
break;
|
|
2683
2683
|
case "SearchData":
|
|
2684
|
-
a(31, Z = !0), a(32,
|
|
2684
|
+
a(31, Z = !0), a(32, Ce = !1), a(29, z = l.data.searchData.items || []), a(33, me = !0), l.data.receivedFavoriteResults && (j = l.data.receivedFavoriteResults.items), z && z.forEach((_) => {
|
|
2685
2685
|
_.isFavorite = Y(_.id);
|
|
2686
2686
|
});
|
|
2687
2687
|
break;
|
|
2688
2688
|
case `CategoryData_${v}`:
|
|
2689
|
-
a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1),
|
|
2689
|
+
a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), Me = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
|
2690
2690
|
a(28, I = _), a(29, z = I.games.items), a(30, $ = !!(Be <= l.data.visiblegames && X)), z && z.forEach((w) => {
|
|
2691
2691
|
w.isFavorite = Y(w.id);
|
|
2692
2692
|
});
|
|
@@ -2710,14 +2710,14 @@ function Ri(i, e, a) {
|
|
|
2710
2710
|
Ca(`${o}/v1/player/${u}/favorites`, m, l.data.id);
|
|
2711
2711
|
break;
|
|
2712
2712
|
case "UserSessionID":
|
|
2713
|
-
|
|
2713
|
+
Fe = l.data.session, Ge = l.data.userID, f == "true" && Ge && Ge.length && Fe && Fe.length > 0 && We(Fe, Ge);
|
|
2714
2714
|
break;
|
|
2715
2715
|
case "UpdateFavoredList":
|
|
2716
2716
|
v === "FAVORITES" && Je(l.data.url, l.data.sessionID);
|
|
2717
2717
|
break;
|
|
2718
2718
|
}
|
|
2719
2719
|
}, $e = (l) => {
|
|
2720
|
-
a(31, Z = !1), a(27, X =
|
|
2720
|
+
a(31, Z = !1), a(27, X = Pe === "true"), a(33, me = !1), Me = !0, a(36, ue = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, $ = !1), V !== "true" && (!j && m && We(m, u), _e(v, 0, ne).then((_) => {
|
|
2721
2721
|
var w;
|
|
2722
2722
|
a(28, I = _), (w = I == null ? void 0 : I.games) == null || w.items.forEach((E) => {
|
|
2723
2723
|
E.isFavorite = Y(E.id);
|
|
@@ -2749,7 +2749,7 @@ function Ri(i, e, a) {
|
|
|
2749
2749
|
var _;
|
|
2750
2750
|
return (_ = j == null ? void 0 : j.some((w) => w.id === l)) != null ? _ : !1;
|
|
2751
2751
|
};
|
|
2752
|
-
let Ca = (l, _, w) =>
|
|
2752
|
+
let Ca = (l, _, w) => Ie(this, null, function* () {
|
|
2753
2753
|
yield Je(l, _), B.includes(w) || B.push(w);
|
|
2754
2754
|
let A = {
|
|
2755
2755
|
method: "POST",
|
|
@@ -2779,7 +2779,7 @@ function Ri(i, e, a) {
|
|
|
2779
2779
|
window.location.href
|
|
2780
2780
|
), Je(l, _);
|
|
2781
2781
|
}), B.includes(w) && (B = B.filter((A) => A != w));
|
|
2782
|
-
}, Je = (l, _) =>
|
|
2782
|
+
}, Je = (l, _) => Ie(this, null, function* () {
|
|
2783
2783
|
return fetch(l, {
|
|
2784
2784
|
method: "GET",
|
|
2785
2785
|
headers: { "X-SessionID": _ }
|
|
@@ -2790,7 +2790,7 @@ function Ri(i, e, a) {
|
|
|
2790
2790
|
}), Ga()) : j.forEach((k) => {
|
|
2791
2791
|
k.isFavorite = Y(k.id);
|
|
2792
2792
|
});
|
|
2793
|
-
const A = (L =
|
|
2793
|
+
const A = (L = je(j)) == null ? void 0 : L.length;
|
|
2794
2794
|
v === "FAVORITES" && (window.postMessage({
|
|
2795
2795
|
type: "UpdateFavoritesCount",
|
|
2796
2796
|
favoriteGamesLength: A
|
|
@@ -2804,7 +2804,7 @@ function Ri(i, e, a) {
|
|
|
2804
2804
|
let _;
|
|
2805
2805
|
_ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((w) => {
|
|
2806
2806
|
w.gameModel && (w.gameModel.isFavorite = !0);
|
|
2807
|
-
}), a(42, oe.items =
|
|
2807
|
+
}), a(42, oe.items = je(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
|
|
2808
2808
|
}, za = (l) => {
|
|
2809
2809
|
ne += 1, a(36, ue = !0), ne <= Be && _e(l, Li, ne).then((_) => {
|
|
2810
2810
|
a(28, I = _), I.games.items.length > z.length && (a(29, z = I.games.items), z.forEach((w) => {
|
|
@@ -2819,14 +2819,14 @@ function Ri(i, e, a) {
|
|
|
2819
2819
|
const L = new Date(Date.now());
|
|
2820
2820
|
return _.forEach((k, J) => {
|
|
2821
2821
|
const D = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
|
|
2822
|
-
|
|
2822
|
+
Ae(H).diff(L) < E && (E = Ae(H).diff(L), A = J), Ae(L).isAfter(D) && Ae(L).isBefore(H) && (w = _[A].name);
|
|
2823
2823
|
}), w;
|
|
2824
2824
|
}, ea = (l) => {
|
|
2825
2825
|
a(30, $ = !1), window.postMessage(
|
|
2826
2826
|
{
|
|
2827
|
-
type: `${
|
|
2827
|
+
type: `${Re}`,
|
|
2828
2828
|
itemId: l,
|
|
2829
|
-
showallpage:
|
|
2829
|
+
showallpage: Le
|
|
2830
2830
|
},
|
|
2831
2831
|
window.location.href
|
|
2832
2832
|
);
|
|
@@ -2846,16 +2846,16 @@ function Ri(i, e, a) {
|
|
|
2846
2846
|
break;
|
|
2847
2847
|
}
|
|
2848
2848
|
}, Ia = () => {
|
|
2849
|
-
document[
|
|
2849
|
+
document[ze] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
|
|
2850
2850
|
}, ja = () => {
|
|
2851
|
-
|
|
2852
|
-
l && (l.elems_index = _,
|
|
2851
|
+
Me && de.forEach((l, _) => {
|
|
2852
|
+
l && (l.elems_index = _, Ne.observe(l));
|
|
2853
2853
|
});
|
|
2854
2854
|
}, Aa = () => {
|
|
2855
2855
|
oi(r);
|
|
2856
2856
|
};
|
|
2857
2857
|
Xa(() => {
|
|
2858
|
-
|
|
2858
|
+
Ne == null || Ne.disconnect();
|
|
2859
2859
|
}), Za(() => (window.addEventListener("visibilitychange", (l) => Ia()), window.addEventListener("message", Ye, !1), () => {
|
|
2860
2860
|
window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
|
|
2861
2861
|
}));
|
|
@@ -2891,7 +2891,7 @@ function Ri(i, e, a) {
|
|
|
2891
2891
|
});
|
|
2892
2892
|
}
|
|
2893
2893
|
return i.$$set = (l) => {
|
|
2894
|
-
"endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, G = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, V = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Xe = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ze = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48,
|
|
2894
|
+
"endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, G = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, V = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Xe = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ze = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Le = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
|
|
2895
2895
|
}, i.$$.update = () => {
|
|
2896
2896
|
i.$$.dirty[0] & /*lang*/
|
|
2897
2897
|
32 && r && Aa(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
|
@@ -2900,12 +2900,11 @@ function Ri(i, e, a) {
|
|
|
2900
2900
|
456 && f === "true" && o && m && u && We(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
|
|
2901
2901
|
16777216 | i.$$.dirty[1] & /*dataloaded*/
|
|
2902
2902
|
8388608 && qe && de && ja(), i.$$.dirty[0] & /*lang, categoryid*/
|
|
2903
|
-
33
|
|
2904
|
-
2097152 && Se && r && v && Na(), i.$$.dirty[0] & /*translationurl*/
|
|
2903
|
+
33 && r && v && Na(), i.$$.dirty[0] & /*translationurl*/
|
|
2905
2904
|
2048 && G && ka(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2906
2905
|
8389120 && h && W && ei(W, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2907
2906
|
8389632 && p && W && ai(W, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
2908
|
-
10485760 && W && ii(W, `${
|
|
2907
|
+
10485760 && W && ii(W, `${Te}.Style`);
|
|
2909
2908
|
}, [
|
|
2910
2909
|
v,
|
|
2911
2910
|
ve,
|
|
@@ -2928,8 +2927,8 @@ function Ri(i, e, a) {
|
|
|
2928
2927
|
V,
|
|
2929
2928
|
Xe,
|
|
2930
2929
|
Ze,
|
|
2931
|
-
|
|
2932
|
-
|
|
2930
|
+
Te,
|
|
2931
|
+
Se,
|
|
2933
2932
|
W,
|
|
2934
2933
|
de,
|
|
2935
2934
|
x,
|
|
@@ -2939,7 +2938,7 @@ function Ri(i, e, a) {
|
|
|
2939
2938
|
z,
|
|
2940
2939
|
$,
|
|
2941
2940
|
Z,
|
|
2942
|
-
|
|
2941
|
+
Ce,
|
|
2943
2942
|
me,
|
|
2944
2943
|
Oe,
|
|
2945
2944
|
He,
|
|
@@ -2955,11 +2954,11 @@ function Ri(i, e, a) {
|
|
|
2955
2954
|
Ea,
|
|
2956
2955
|
ea,
|
|
2957
2956
|
re,
|
|
2957
|
+
Le,
|
|
2958
2958
|
Re,
|
|
2959
|
-
Te,
|
|
2960
2959
|
ke,
|
|
2961
2960
|
ye,
|
|
2962
|
-
|
|
2961
|
+
Pe,
|
|
2963
2962
|
De,
|
|
2964
2963
|
qe,
|
|
2965
2964
|
La,
|