@everymatrix/casino-lobby 1.49.2 → 1.50.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/{CasinoCalendar-CCQut7OA.js → CasinoCalendar-CU0bhyNM.js} +110 -110
- package/components/{CasinoCalendar-B3jjGeXh.cjs → CasinoCalendar-DTrgRvkr.cjs} +5 -5
- package/components/CasinoCalendarDailyDetails-C2n3SWH7.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-AzSENZXw.js → CasinoCalendarDailyDetails-CykJzFwP.js} +61 -61
- package/components/CasinoCalendarDailyItem-BEkt_1Do.js +220 -0
- package/components/CasinoCalendarDailyItem-CQwxWA_v.cjs +1 -0
- package/components/CasinoCategoriesSlider-Buv5zR45.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Dd30AvK0.js → CasinoCategoriesSlider-_yDrcbTO.js} +38 -38
- package/components/CasinoCollectionsProviders-D4JZYg7_.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Cc1u_orw.js → CasinoCollectionsProviders-qOKabkUt.js} +2 -2
- package/components/{CasinoFavoritesSection-j7VNOnAg.js → CasinoFavoritesSection-BrsEOslo.js} +18 -18
- package/components/CasinoFavoritesSection-NO1j-7mE.cjs +1 -0
- package/components/CasinoFilter-Cf4cNc7k.cjs +1 -0
- package/components/{CasinoFilter-BpyfHAnH.js → CasinoFilter-mUcHYwDN.js} +39 -39
- package/components/{CasinoGamePage-BLWJ4xsU.js → CasinoGamePage-7LZuh3F5.js} +1337 -1329
- package/components/CasinoGamePage-DsYb8vKH.cjs +18 -0
- package/components/{CasinoGameThumbnail-EBuJE9IZ.js → CasinoGameThumbnail-4nj8cja2.js} +82 -82
- package/components/CasinoGameThumbnail-DT8kcpDh.cjs +38 -0
- package/components/{CasinoGamesCategorySection-DXn5u5SK.js → CasinoGamesCategorySection-CnOh62zY.js} +534 -524
- package/components/CasinoGamesCategorySection-JbKTC4fO.cjs +1 -0
- package/components/CasinoJackpotBanner-C1EEittB.cjs +1 -0
- package/components/{CasinoJackpotBanner-CJJFsnyb.js → CasinoJackpotBanner-uqcCImgm.js} +2 -2
- package/components/CasinoLastPlayedSection-BbpHwVio.cjs +1 -0
- package/components/{CasinoLastPlayedSection-bvzxolz1.js → CasinoLastPlayedSection-CDiGo0Qz.js} +3 -3
- package/components/CasinoLobby-CQRwnMOa.cjs +1 -0
- package/components/{CasinoLobby-BPSflitf.js → CasinoLobby-CyZPXk4c.js} +7 -7
- package/components/CasinoModal-BAtB2Zp0.cjs +1 -0
- package/components/{CasinoModal-lLGEeGcU.js → CasinoModal-BP6PqH63.js} +2 -2
- package/components/CasinoMostPlayedSection-BKHWbGbu.cjs +1 -0
- package/components/{CasinoMostPlayedSection-eQH77h-f.js → CasinoMostPlayedSection-rtUmTTeg.js} +17 -17
- package/components/CasinoMyGames-DLUbkmuj.cjs +1 -0
- package/components/{CasinoMyGames-BJX2ZAvW.js → CasinoMyGames-DoyRc7uz.js} +44 -44
- package/components/{CasinoPage-Bq3eE915.js → CasinoPage-DdBraeHA.js} +188 -188
- package/components/CasinoPage-w4BcVJtb.cjs +1 -0
- package/components/{CasinoRandomGame-DiITGB_u.cjs → CasinoRandomGame-DyKtBBfl.cjs} +2 -2
- package/components/{CasinoRandomGame-DGD52sa7.js → CasinoRandomGame-qxTb-XNd.js} +15 -15
- package/components/CasinoSearch-B4KK-d_w.cjs +1 -0
- package/components/{CasinoSearch-DlG1jylC.js → CasinoSearch-DJA6Cl2Z.js} +90 -90
- package/components/CasinoSlider-CPgcncvZ.cjs +1 -0
- package/components/{CasinoSlider-CyXzUPtq.js → CasinoSlider-Dcowmwyl.js} +56 -56
- package/components/{CasinoSort-D1UmVqPT.js → CasinoSort-BU-2yzMG.js} +23 -23
- package/components/CasinoSort-fDJhfT-5.cjs +1 -0
- package/components/CasinoWinners-BT42Al2t.cjs +1 -0
- package/components/{CasinoWinners-DSCWZZgk.js → CasinoWinners-DyBdvsh8.js} +49 -49
- package/components/{GeneralAnimationLoading-DmhAiTlH.cjs → GeneralAnimationLoading-COOEMnWE.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DE8HSm4C.js → GeneralAnimationLoading-Id2HhvsJ.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCalendarDailyDetails-D1jKEWfR.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DD924Zcr.js +0 -220
- package/components/CasinoCalendarDailyItem-zl4-e9DC.cjs +0 -1
- package/components/CasinoCategoriesSlider-DI2g7-y8.cjs +0 -1
- package/components/CasinoCollectionsProviders-CHDbSVYn.cjs +0 -1
- package/components/CasinoFavoritesSection-Co24_74o.cjs +0 -1
- package/components/CasinoFilter-DXA7jKT_.cjs +0 -1
- package/components/CasinoGamePage-CCbldgKZ.cjs +0 -18
- package/components/CasinoGameThumbnail-DNpT4OO7.cjs +0 -38
- package/components/CasinoGamesCategorySection-B2JOakf0.cjs +0 -1
- package/components/CasinoJackpotBanner-AjhcDuUc.cjs +0 -1
- package/components/CasinoLastPlayedSection-Cey1ENpO.cjs +0 -1
- package/components/CasinoLobby-B0BMaElu.cjs +0 -1
- package/components/CasinoModal-B71hMJhL.cjs +0 -1
- package/components/CasinoMostPlayedSection-B6vs4hfK.cjs +0 -1
- package/components/CasinoMyGames-DirVyeaV.cjs +0 -1
- package/components/CasinoPage--saBxGwI.cjs +0 -1
- package/components/CasinoSearch-3NrItprI.cjs +0 -1
- package/components/CasinoSlider-Cyun8L26.cjs +0 -1
- package/components/CasinoSort-ersVtC7e.cjs +0 -1
- package/components/CasinoWinners-CflzKW0N.cjs +0 -1
package/components/{CasinoMostPlayedSection-eQH77h-f.js → CasinoMostPlayedSection-rtUmTTeg.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, u as M, d as S, v as Y, C as
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { I as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, u as M, d as S, v as Y, C as q, j as A, J as le, L as re, m as me, M as n, r as ge, A as ce, O as de } from "./CasinoCalendar-CU0bhyNM.js";
|
|
2
|
+
import "./CasinoFavoritesSection-BrsEOslo.js";
|
|
3
|
+
function H(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ue(a) {
|
|
7
7
|
te.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -60,7 +60,7 @@ const q = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function fe(a) {
|
|
63
|
-
oe(a, "svelte-
|
|
63
|
+
oe(a, "svelte-14zqglz", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
64
64
|
}
|
|
65
65
|
function he(a) {
|
|
66
66
|
let e;
|
|
@@ -307,8 +307,8 @@ function ve(a) {
|
|
|
307
307
|
p(g, c) {
|
|
308
308
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
309
309
|
},
|
|
310
|
-
i:
|
|
311
|
-
o:
|
|
310
|
+
i: q,
|
|
311
|
+
o: q,
|
|
312
312
|
d(g) {
|
|
313
313
|
g && A(e), r.d(), a[23](null);
|
|
314
314
|
}
|
|
@@ -321,25 +321,25 @@ function be(a, e, s) {
|
|
|
321
321
|
const K = () => {
|
|
322
322
|
fetch(k).then((o) => o.json()).then((o) => {
|
|
323
323
|
Object.keys(o).forEach((d) => {
|
|
324
|
-
|
|
324
|
+
H(d, o[d]);
|
|
325
325
|
});
|
|
326
326
|
}).catch((o) => {
|
|
327
327
|
console.log(o);
|
|
328
328
|
});
|
|
329
329
|
};
|
|
330
|
-
Object.keys(
|
|
331
|
-
|
|
330
|
+
Object.keys(J).forEach((t) => {
|
|
331
|
+
H(t, J[t]);
|
|
332
332
|
});
|
|
333
|
-
let G = [],
|
|
333
|
+
let G = [], z, I = !1, h;
|
|
334
334
|
const Q = (t) => {
|
|
335
335
|
let o = new URL(`${m}/v1/player/${v}/games/most-played`);
|
|
336
336
|
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
337
337
|
let d = t.device;
|
|
338
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
339
|
-
fetch(
|
|
338
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((u, y) => {
|
|
339
|
+
fetch(z).then((f) => f.json()).then((f) => {
|
|
340
340
|
f.items = f.items.filter(($) => {
|
|
341
|
-
let
|
|
342
|
-
return $.gameCode == "OddsMatrix2" && (f.count--,
|
|
341
|
+
let p = !0;
|
|
342
|
+
return $.gameCode == "OddsMatrix2" && (f.count--, p = !1), p;
|
|
343
343
|
}), u(f);
|
|
344
344
|
}).catch((f) => {
|
|
345
345
|
console.error(f), y(f);
|
|
@@ -360,7 +360,7 @@ function be(a, e, s) {
|
|
|
360
360
|
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
361
361
|
});
|
|
362
362
|
} else
|
|
363
|
-
s(18,
|
|
363
|
+
s(18, I = !0);
|
|
364
364
|
});
|
|
365
365
|
}, W = () => {
|
|
366
366
|
ue(c);
|
|
@@ -411,7 +411,7 @@ function be(a, e, s) {
|
|
|
411
411
|
C,
|
|
412
412
|
U,
|
|
413
413
|
h,
|
|
414
|
-
|
|
414
|
+
I,
|
|
415
415
|
i,
|
|
416
416
|
k,
|
|
417
417
|
j,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DTrgRvkr.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function z(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-NO1j-7mE.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-BbpHwVio.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-BKHWbGbu.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function ne(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function I(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(I(s,o,u));function y(u,f){if(u[25]=="Favorites")return re;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=I(u,o,c);m[c]?m[c].p(b,f):(m[c]=K(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&d!==(d="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[29]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[29]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&r!==(r="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[29]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[34]),d=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;function a(i,d){if(i[17])return ie}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[35](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:G=""}=e,{integratedgameframemobile:E=""}=e,{translationurl:k=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:O="false"}=e,{lastplayedperiod:B="Last30Days"}=e,{mostplayedperiod:A="Last30Days"}=e,{lastplayedorder:j=""}=e,{lastplayedlimit:q=""}=e,{lastplayedunique:D="true"}=e,{mostplayedrounds:S=""}=e,W=window.navigator.userAgent,p,C="",T=!1,v=["","",""],L="0";se({withLocale:"en",translations:{}});const X=()=>{fetch(k).then(h=>h.json()).then(h=>{Object.keys(h).forEach(U=>{z(U,h[U])})}).catch(h=>{console.log(h)})};Object.keys(R).forEach(n=>{z(n,R[n])});const F=n=>{C!==n&&a(25,C=n)},N=()=>{a(25,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},H=n=>{var h;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength?a(28,L=n.data.favoriteGamesLength):a(28,L=(h=n.data.listOfFavoritesGames)==null?void 0:h.length);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(26,T=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));const $=()=>F("Favorites"),ee=()=>F("MostPlayed"),te=()=>F("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,G=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,E=n.integratedgameframemobile),"translationurl"in n&&a(31,k=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,O=n.casinomygames),"lastplayedperiod"in n&&a(18,B=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,A=n.mostplayedperiod),"lastplayedorder"in n&&a(20,j=n.lastplayedorder),"lastplayedlimit"in n&&a(21,q=n.lastplayedlimit),"lastplayedunique"in n&&a(22,D=n.lastplayedunique),"mostplayedrounds"in n&&a(23,S=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&N(),s.$$.dirty[0]&114688&&P&&w&&M&&N(),s.$$.dirty[1]&1&&k&&X(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[r,i,d,o,m,y,g,_,u,f,c,b,G,E,P,w,M,O,B,A,j,q,D,S,p,C,T,v,L,l,F,k,$,ee,te,ae]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,de,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency: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 visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as T, a as ge, I as he, S as pe, i as ve, f as u, c as be, s as _e, b as Pe, e as _, d as P, C as x, j as w, J as we, o as Me, l as ke, m as Fe, p as $, q as O, u as M, v as b, B as Ce, F as Le, O as Ge, r as C, w as N, A as q, M as i } from "./CasinoCalendar-CU0bhyNM.js";
|
|
2
2
|
function Ee({ withLocale: a, translations: e }) {
|
|
3
|
-
|
|
4
|
-
t == null && (ge.set(e),
|
|
3
|
+
T.subscribe((t) => {
|
|
4
|
+
t == null && (ge.set(e), T.set(a));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function ee(a, e) {
|
|
8
8
|
he(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Be(a) {
|
|
11
|
-
|
|
11
|
+
T.set(a);
|
|
12
12
|
}
|
|
13
13
|
const te = {
|
|
14
14
|
en: {
|
|
@@ -109,7 +109,7 @@ if (typeof window != "undefined") {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-
|
|
112
|
+
customElements.define = a(customElements.define), import("./CasinoFavoritesSection-BrsEOslo.js").then(({ default: e }) => {
|
|
113
113
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
114
114
|
});
|
|
115
115
|
}
|
|
@@ -125,7 +125,7 @@ if (typeof window != "undefined") {
|
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
|
-
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-
|
|
128
|
+
customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-CDiGo0Qz.js").then(({ default: e }) => {
|
|
129
129
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
130
130
|
});
|
|
131
131
|
}
|
|
@@ -141,12 +141,12 @@ if (typeof window != "undefined") {
|
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-
|
|
144
|
+
customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-rtUmTTeg.js").then(({ default: e }) => {
|
|
145
145
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
function Oe(a) {
|
|
149
|
-
Pe(a, "svelte-
|
|
149
|
+
Pe(a, "svelte-nbkt6a", ".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}");
|
|
150
150
|
}
|
|
151
151
|
function ae(a, e, t) {
|
|
152
152
|
const s = a.slice();
|
|
@@ -179,7 +179,7 @@ function Ae(a) {
|
|
|
179
179
|
e = _("div"), t = _("div"), s = _("div");
|
|
180
180
|
for (let f = 0; f < r.length; f += 1)
|
|
181
181
|
r[f].c();
|
|
182
|
-
m =
|
|
182
|
+
m = O(), n = _("div"), y && y.c(), M(s, "class", "MyGamesButtonsContainer"), M(t, "class", "MyGamesHeader"), M(e, "class", d = "CasinoMyGames " + /*mobile*/
|
|
183
183
|
(a[26] ? "Mobile" : ""));
|
|
184
184
|
},
|
|
185
185
|
m(f, g) {
|
|
@@ -220,7 +220,7 @@ function se(a) {
|
|
|
220
220
|
), s, m, n, d, o, r, h, p, y;
|
|
221
221
|
return {
|
|
222
222
|
c() {
|
|
223
|
-
e = _("button"), s = C(t), m =
|
|
223
|
+
e = _("button"), s = C(t), m = O(), n = _("span"), d = C("("), o = C(
|
|
224
224
|
/*favoritesCount*/
|
|
225
225
|
a[28]
|
|
226
226
|
), r = C(")"), M(e, "class", h = "MyGamesButton " + /*gamesType*/
|
|
@@ -228,7 +228,7 @@ function se(a) {
|
|
|
228
228
|
(a[14] == "false" ? "Off" : ""));
|
|
229
229
|
},
|
|
230
230
|
m(f, g) {
|
|
231
|
-
P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r), p || (y =
|
|
231
|
+
P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r), p || (y = N(
|
|
232
232
|
e,
|
|
233
233
|
"click",
|
|
234
234
|
/*click_handler*/
|
|
@@ -238,8 +238,8 @@ function se(a) {
|
|
|
238
238
|
p(f, g) {
|
|
239
239
|
g[0] & /*$_*/
|
|
240
240
|
536870912 && t !== (t = /*$_*/
|
|
241
|
-
f[29]("favorites") + "") &&
|
|
242
|
-
268435456 &&
|
|
241
|
+
f[29]("favorites") + "") && q(s, t), g[0] & /*favoritesCount*/
|
|
242
|
+
268435456 && q(
|
|
243
243
|
o,
|
|
244
244
|
/*favoritesCount*/
|
|
245
245
|
f[28]
|
|
@@ -265,7 +265,7 @@ function ie(a) {
|
|
|
265
265
|
(a[15] == "false" ? "Off" : ""));
|
|
266
266
|
},
|
|
267
267
|
m(o, r) {
|
|
268
|
-
P(o, e, r), b(e, s), n || (d =
|
|
268
|
+
P(o, e, r), b(e, s), n || (d = N(
|
|
269
269
|
e,
|
|
270
270
|
"click",
|
|
271
271
|
/*click_handler_1*/
|
|
@@ -275,7 +275,7 @@ function ie(a) {
|
|
|
275
275
|
p(o, r) {
|
|
276
276
|
r[0] & /*$_*/
|
|
277
277
|
536870912 && t !== (t = /*$_*/
|
|
278
|
-
o[29]("mostPlayed") + "") &&
|
|
278
|
+
o[29]("mostPlayed") + "") && q(s, t), r[0] & /*gamesType, mostplayed*/
|
|
279
279
|
33587200 && m !== (m = "MyGamesButton " + /*gamesType*/
|
|
280
280
|
(o[25] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
|
|
281
281
|
(o[15] == "false" ? "Off" : "")) && M(e, "class", m);
|
|
@@ -292,12 +292,12 @@ function le(a) {
|
|
|
292
292
|
), s, m, n, d, o;
|
|
293
293
|
return {
|
|
294
294
|
c() {
|
|
295
|
-
e = _("button"), s = C(t), m =
|
|
295
|
+
e = _("button"), s = C(t), m = O(), M(e, "class", n = "MyGamesButton " + /*gamesType*/
|
|
296
296
|
(a[25] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
297
297
|
(a[16] == "false" ? "Off" : ""));
|
|
298
298
|
},
|
|
299
299
|
m(r, h) {
|
|
300
|
-
P(r, e, h), b(e, s), b(e, m), d || (o =
|
|
300
|
+
P(r, e, h), b(e, s), b(e, m), d || (o = N(
|
|
301
301
|
e,
|
|
302
302
|
"click",
|
|
303
303
|
/*click_handler_2*/
|
|
@@ -307,7 +307,7 @@ function le(a) {
|
|
|
307
307
|
p(r, h) {
|
|
308
308
|
h[0] & /*$_*/
|
|
309
309
|
536870912 && t !== (t = /*$_*/
|
|
310
|
-
r[29]("recentlyPlayed") + "") &&
|
|
310
|
+
r[29]("recentlyPlayed") + "") && q(s, t), h[0] & /*gamesType, lastplayed*/
|
|
311
311
|
33619968 && n !== (n = "MyGamesButton " + /*gamesType*/
|
|
312
312
|
(r[25] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
|
|
313
313
|
(r[16] == "false" ? "Off" : "")) && M(e, "class", n);
|
|
@@ -330,7 +330,7 @@ function ne(a) {
|
|
|
330
330
|
);
|
|
331
331
|
return {
|
|
332
332
|
c() {
|
|
333
|
-
m && m.c(), e =
|
|
333
|
+
m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), s = Le();
|
|
334
334
|
},
|
|
335
335
|
m(o, r) {
|
|
336
336
|
m && m.m(o, r), P(o, e, r), n && n.m(o, r), P(o, t, r), d && d.m(o, r), P(o, s, r);
|
|
@@ -1020,12 +1020,12 @@ function Se(a) {
|
|
|
1020
1020
|
function Te(a, e, t) {
|
|
1021
1021
|
let s;
|
|
1022
1022
|
we(a, Ge, (l) => t(29, s = l));
|
|
1023
|
-
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: L = "" } = e, { integratedgameframedesktop:
|
|
1023
|
+
let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: L = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: A = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: z = "false" } = e, { lastplayedperiod: I = "Last30Days" } = e, { mostplayedperiod: R = "Last30Days" } = e, { lastplayedorder: J = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: K = "" } = e, oe = window.navigator.userAgent, k, j = "", Q = !1, F = ["", "", ""], S = "0";
|
|
1024
1024
|
Ee({ withLocale: "en", translations: {} });
|
|
1025
1025
|
const re = () => {
|
|
1026
|
-
fetch(
|
|
1027
|
-
Object.keys(v).forEach((
|
|
1028
|
-
ee(
|
|
1026
|
+
fetch(A).then((v) => v.json()).then((v) => {
|
|
1027
|
+
Object.keys(v).forEach((Y) => {
|
|
1028
|
+
ee(Y, v[Y]);
|
|
1029
1029
|
});
|
|
1030
1030
|
}).catch((v) => {
|
|
1031
1031
|
console.log(v);
|
|
@@ -1034,10 +1034,10 @@ function Te(a, e, t) {
|
|
|
1034
1034
|
Object.keys(te).forEach((l) => {
|
|
1035
1035
|
ee(l, te[l]);
|
|
1036
1036
|
});
|
|
1037
|
-
const
|
|
1038
|
-
|
|
1039
|
-
},
|
|
1040
|
-
t(25,
|
|
1037
|
+
const D = (l) => {
|
|
1038
|
+
j !== l && t(25, j = l);
|
|
1039
|
+
}, W = () => {
|
|
1040
|
+
t(25, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(27, F[0] = G === "true" ? "Favorites" : "", F), t(27, F[1] = E === "true" ? "MostPlayed" : "", F), t(27, F[2] = B === "true" ? "LastPlayed" : "", F), Be(r);
|
|
1041
1041
|
}, me = () => {
|
|
1042
1042
|
let l = document.createElement("style");
|
|
1043
1043
|
l.innerHTML = p, k.appendChild(l);
|
|
@@ -1051,31 +1051,31 @@ function Te(a, e, t) {
|
|
|
1051
1051
|
1
|
|
1052
1052
|
);
|
|
1053
1053
|
});
|
|
1054
|
-
},
|
|
1055
|
-
var v
|
|
1054
|
+
}, X = (l) => {
|
|
1055
|
+
var v;
|
|
1056
1056
|
if (l.data)
|
|
1057
1057
|
switch (l.data.type) {
|
|
1058
1058
|
case "UpdateFavoritesCount":
|
|
1059
|
-
l.data.
|
|
1059
|
+
l.data.favoriteGamesLength ? t(28, S = l.data.favoriteGamesLength) : t(28, S = (v = l.data.listOfFavoritesGames) == null ? void 0 : v.length);
|
|
1060
1060
|
break;
|
|
1061
1061
|
}
|
|
1062
1062
|
};
|
|
1063
|
-
Me(() => (window.addEventListener("message",
|
|
1064
|
-
window.removeEventListener("message",
|
|
1063
|
+
Me(() => (window.addEventListener("message", X, !1), t(26, Q = ke(oe)), () => {
|
|
1064
|
+
window.removeEventListener("message", X);
|
|
1065
1065
|
}));
|
|
1066
|
-
const fe = () =>
|
|
1066
|
+
const fe = () => D("Favorites"), ue = () => D("MostPlayed"), ye = () => D("LastPlayed");
|
|
1067
1067
|
function ce(l) {
|
|
1068
1068
|
Fe[l ? "unshift" : "push"](() => {
|
|
1069
1069
|
k = l, t(24, k);
|
|
1070
1070
|
});
|
|
1071
1071
|
}
|
|
1072
1072
|
return a.$$set = (l) => {
|
|
1073
|
-
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, p = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, L = l.showgamename), "integratedgameframedesktop" in l && t(12,
|
|
1073
|
+
"userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, p = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, L = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, U = l.integratedgameframemobile), "translationurl" in l && t(31, A = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, z = l.casinomygames), "lastplayedperiod" in l && t(18, I = l.lastplayedperiod), "mostplayedperiod" in l && t(19, R = l.mostplayedperiod), "lastplayedorder" in l && t(20, J = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, K = l.mostplayedrounds);
|
|
1074
1074
|
}, a.$$.update = () => {
|
|
1075
1075
|
a.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
1076
|
-
28 && d && o && r &&
|
|
1077
|
-
114688 && G && E && B &&
|
|
1078
|
-
1 &&
|
|
1076
|
+
28 && d && o && r && W(), a.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
|
|
1077
|
+
114688 && G && E && B && W(), a.$$.dirty[1] & /*translationurl*/
|
|
1078
|
+
1 && A && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1079
1079
|
16777280 && p && k && me(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1080
1080
|
16777344 && y && k && de();
|
|
1081
1081
|
}, [
|
|
@@ -1091,26 +1091,26 @@ function Te(a, e, t) {
|
|
|
1091
1091
|
g,
|
|
1092
1092
|
c,
|
|
1093
1093
|
L,
|
|
1094
|
+
H,
|
|
1094
1095
|
U,
|
|
1095
|
-
z,
|
|
1096
1096
|
G,
|
|
1097
1097
|
E,
|
|
1098
1098
|
B,
|
|
1099
|
+
z,
|
|
1099
1100
|
I,
|
|
1100
1101
|
R,
|
|
1101
1102
|
J,
|
|
1102
1103
|
V,
|
|
1103
1104
|
Z,
|
|
1104
1105
|
K,
|
|
1105
|
-
Q,
|
|
1106
1106
|
k,
|
|
1107
|
-
|
|
1108
|
-
|
|
1107
|
+
j,
|
|
1108
|
+
Q,
|
|
1109
1109
|
F,
|
|
1110
|
-
|
|
1110
|
+
S,
|
|
1111
1111
|
s,
|
|
1112
|
-
|
|
1113
|
-
|
|
1112
|
+
D,
|
|
1113
|
+
A,
|
|
1114
1114
|
fe,
|
|
1115
1115
|
ue,
|
|
1116
1116
|
ye,
|