@everymatrix/casino-lobby 1.54.4 → 1.54.8
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-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
- package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
- package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
- package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
- package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
- package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
- package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
- package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
- package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
- package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
- package/components/{CasinoFavoritesSection-D_VjX8kh.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
- package/components/CasinoFilter-CLgilXuM.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
- package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
- package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-B9T32UnC.js} +769 -769
- package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
- package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
- package/components/{CasinoGameThumbnail-DuQXK0BS.js → CasinoGameThumbnail-Bl2lRTS5.js} +66 -66
- package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
- package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
- package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
- package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DU23YHrX.js} +157 -157
- package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
- package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
- package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
- package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
- package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
- package/components/{CasinoLobby-Bhufm6di.js → CasinoLobby-DIuXNBMc.js} +49 -49
- package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
- package/components/CasinoLobby-Ds8nok67.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
- package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
- package/components/CasinoModal-_ukjEJqy.js +372 -0
- package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
- package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
- package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
- package/components/CasinoMyGames-BH19YGDz.js +1318 -0
- package/components/{CasinoMyGames-CT8sf3p5.js → CasinoMyGames-CO15Aytm.js} +52 -52
- package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
- package/components/CasinoPage-BEFfjziT.js +3550 -0
- package/components/{CasinoPage-CLrMZJtx.js → CasinoPage-DXue0b0t.js} +123 -123
- package/components/CasinoPage-sSUBPWhS.cjs +1 -0
- package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
- package/components/CasinoRandomGame-r6ZN573_.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
- package/components/CasinoSearch-C5_rhVBG.js +1072 -0
- package/components/{CasinoSearch-DuPhm9II.js → CasinoSearch-Cbyb3s0J.js} +83 -83
- package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
- package/components/CasinoSlider-C7bHIIsP.js +806 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
- package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
- package/components/CasinoSort-5a6WYp-y.cjs +1 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
- package/components/CasinoSort-DWu-WSlc.js +432 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
- package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
- package/components/CasinoWinners-fPZD2C86.js +971 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
- package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
- package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BMfA7KN3.cjs");require("./CasinoFavoritesSection-6Sdpq5gN.cjs");function N(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const O={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-w4ziup","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(s,i){t.insert(s,e,i)},p(s,i){i[0]&16&&t.set_custom_element_data(e,"session",s[4]),i[0]&32&&t.set_custom_element_data(e,"userid",s[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",s[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",s[1]),i[0]&8&&t.set_custom_element_data(e,"lang",s[3]),i[0]&4&&t.set_custom_element_data(e,"currency",s[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",s[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function x(n){let e,s=n[19]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(s),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&524288&&s!==(s=o[19]("noRecentGames")+"")&&t.set_data(i,s)},d(o){o&&t.detach(e)}}}function $(n){let e,s;function i(c,d){return c[18]?x:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),s=t.element("div"),l.c(),t.attr(s,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(c,d){t.insert(c,e,d),t.append(e,s),l.m(s,null),n[25](e)},p(c,d){o===(o=i(c))&&l?l.p(c,d):(l.d(1),l=o(c),l&&(l.c(),l.m(s,null)))},i:t.noop,o:t.noop,d(c){c&&t.detach(e),l.d(),n[25](null)}}}function ee(n,e,s){let i;t.component_subscribe(n,t.$format,a=>s(19,i=a));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:c=""}=e,{lang:d=""}=e,{session:R=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:q="false"}=e,{integratedgameframedesktop:G="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:M=""}=e,{visiblegames:L=""}=e,{favorites:T=""}=e,{lastplayedperiod:k="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:P=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:S="true"}=e,{fetchviaevent:E="true"}=e,U=window.navigator.userAgent,D=!1,w=[],F,f;const Y=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(m=>{N(m,r[m])})}).catch(r=>{console.log(r)})};Object.keys(O).forEach(a=>{N(a,O[a])});const H=()=>new Promise((a,r)=>{let m=new URL(`${o}/v1/player/${h}/games/last-played`);m.searchParams.append("unique",S),m.searchParams.append("limit",P),m.searchParams.append("order",C),m.searchParams.append("period",k),t.getDevice(U)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),F=v?m:m.href,fetch(F).then(u=>u.json()).then(u=>{u.items=u.items.filter(K=>{let z=!0;return K.gameCode=="OddsMatrix2"&&(u.count--,z=!1),z}),a(u),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:u},window.location.href)}).catch(u=>{console.error(u),r(u)})}),I=()=>{H().then(a=>{if(a.count>0){let r=[];a.items.forEach(m=>{let g=new URL(`${o}/v1/casino/games/${m.gameId}`);g.searchParams.append("datasource",l),v?r.push(fetch(g.href).then(u=>u.json())):r.push(fetch(g.href).then(u=>u.json()))}),Promise.all(r).then(m=>{w=m.filter(g=>!("error"in g)).map(g=>g[0]),j==="true"&&(w=w.slice(0,JSON.parse(L))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else s(18,D=!0)})},J=()=>{Q(d)},V=()=>{let a=document.createElement("style");a.innerHTML=_,f.appendChild(a)},Z=()=>{let a=document.createElement("style");fetch(new URL(y)).then(r=>r.text()).then(r=>{a.innerHTML=r,setTimeout(()=>{f.appendChild(a)},1)})};function B(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(17,f)})}return n.$$set=a=>{"endpoint"in a&&s(0,o=a.endpoint),"datasource"in a&&s(1,l=a.datasource),"currency"in a&&s(2,c=a.currency),"lang"in a&&s(3,d=a.lang),"session"in a&&s(4,R=a.session),"userid"in a&&s(5,h=a.userid),"clientstyling"in a&&s(6,_=a.clientstyling),"clientstylingurl"in a&&s(7,y=a.clientstylingurl),"translationurl"in a&&s(20,b=a.translationurl),"livecasino"in a&&s(8,v=a.livecasino),"integratedgameframemobile"in a&&s(9,q=a.integratedgameframemobile),"integratedgameframedesktop"in a&&s(10,G=a.integratedgameframedesktop),"gamepagemodalurl"in a&&s(11,A=a.gamepagemodalurl),"showgamename"in a&&s(12,M=a.showgamename),"visiblegames"in a&&s(13,L=a.visiblegames),"favorites"in a&&s(14,T=a.favorites),"lastplayedperiod"in a&&s(21,k=a.lastplayedperiod),"lastplayedorder"in a&&s(22,C=a.lastplayedorder),"lastplayedlimit"in a&&s(23,P=a.lastplayedlimit),"casinomygames"in a&&s(15,j=a.casinomygames),"lastplayedunique"in a&&s(24,S=a.lastplayedunique),"fetchviaevent"in a&&s(16,E=a.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&I(),n.$$.dirty[0]&1048576&&b&&Y(),n.$$.dirty[0]&131136&&_&&f&&V(),n.$$.dirty[0]&131200&&y&&f&&Z(),n.$$.dirty[0]&8&&d&&J()},[o,l,c,d,R,h,_,y,v,q,G,A,M,L,T,j,E,f,D,i,b,k,C,P,S,B]}class p extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},W,[-1,-1])}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 translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl: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 gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename: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 lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(p,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=p;
|
package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-D2i1KYd6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as te, $ as ae, S as se, i as ie,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as A, h as M, p as K, j as k, r as q, k as re, C as oe, m as ce, q as ue, L as i, K as ge, I as me, J as de } from "./CasinoCalendar-B6zL0TaE.js";
|
|
2
|
+
import "./CasinoFavoritesSection-Bueg3sTp.js";
|
|
3
3
|
function I(s, e) {
|
|
4
4
|
te(s, e);
|
|
5
5
|
}
|
|
@@ -33,7 +33,7 @@ const J = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function he(s) {
|
|
36
|
-
|
|
36
|
+
le(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function ye(s) {
|
|
39
39
|
let e;
|
|
@@ -127,7 +127,7 @@ function ye(s) {
|
|
|
127
127
|
);
|
|
128
128
|
},
|
|
129
129
|
m(a, n) {
|
|
130
|
-
|
|
130
|
+
M(a, e, n);
|
|
131
131
|
},
|
|
132
132
|
p(a, n) {
|
|
133
133
|
n[0] & /*session*/
|
|
@@ -235,7 +235,7 @@ function ye(s) {
|
|
|
235
235
|
);
|
|
236
236
|
},
|
|
237
237
|
d(a) {
|
|
238
|
-
a &&
|
|
238
|
+
a && A(e);
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
@@ -249,15 +249,15 @@ function be(s) {
|
|
|
249
249
|
e = k("p"), n = ue(a), q(e, "class", "SearchLoading");
|
|
250
250
|
},
|
|
251
251
|
m(o, r) {
|
|
252
|
-
|
|
252
|
+
M(o, e, r), K(e, n);
|
|
253
253
|
},
|
|
254
254
|
p(o, r) {
|
|
255
255
|
r[0] & /*$_*/
|
|
256
256
|
524288 && a !== (a = /*$_*/
|
|
257
|
-
o[19]("noRecentGames") + "") &&
|
|
257
|
+
o[19]("noRecentGames") + "") && ce(n, a);
|
|
258
258
|
},
|
|
259
259
|
d(o) {
|
|
260
|
-
o &&
|
|
260
|
+
o && A(e);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
@@ -275,7 +275,7 @@ function ve(s) {
|
|
|
275
275
|
e = k("div"), a = k("div"), r.c(), q(a, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
|
|
276
276
|
},
|
|
277
277
|
m(m, d) {
|
|
278
|
-
|
|
278
|
+
M(m, e, d), K(e, a), r.m(a, null), s[25](e);
|
|
279
279
|
},
|
|
280
280
|
p(m, d) {
|
|
281
281
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
|
|
@@ -283,15 +283,15 @@ function ve(s) {
|
|
|
283
283
|
i: H,
|
|
284
284
|
o: H,
|
|
285
285
|
d(m) {
|
|
286
|
-
m &&
|
|
286
|
+
m && A(e), r.d(), s[25](null);
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
function we(s, e, a) {
|
|
291
291
|
let n;
|
|
292
|
-
|
|
293
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session:
|
|
294
|
-
const
|
|
292
|
+
re(s, de, (t) => a(19, n = t));
|
|
293
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: T = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: z = "" } = e, { visiblegames: C = "" } = e, { favorites: N = "" } = e, { lastplayedperiod: P = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: O = "true" } = e, V = window.navigator.userAgent, U = !1, L = [], p, h;
|
|
294
|
+
const Z = () => {
|
|
295
295
|
fetch(w).then((c) => c.json()).then((c) => {
|
|
296
296
|
Object.keys(c).forEach((u) => {
|
|
297
297
|
I(u, c[u]);
|
|
@@ -303,12 +303,12 @@ function we(s, e, a) {
|
|
|
303
303
|
Object.keys(J).forEach((t) => {
|
|
304
304
|
I(t, J[t]);
|
|
305
305
|
});
|
|
306
|
-
const
|
|
306
|
+
const B = () => new Promise((t, c) => {
|
|
307
307
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
308
|
-
u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period",
|
|
308
|
+
u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", P), ge(V) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), p = _ ? u : u.href, fetch(p).then((g) => g.json()).then((g) => {
|
|
309
309
|
g.items = g.items.filter((ee) => {
|
|
310
|
-
let
|
|
311
|
-
return ee.gameCode == "OddsMatrix2" && (g.count--,
|
|
310
|
+
let Y = !0;
|
|
311
|
+
return ee.gameCode == "OddsMatrix2" && (g.count--, Y = !1), Y;
|
|
312
312
|
}), t(g), window.postMessage(
|
|
313
313
|
{
|
|
314
314
|
type: "AddNewCategory",
|
|
@@ -320,14 +320,14 @@ function we(s, e, a) {
|
|
|
320
320
|
console.error(g), c(g);
|
|
321
321
|
});
|
|
322
322
|
}), Q = () => {
|
|
323
|
-
|
|
323
|
+
B().then((t) => {
|
|
324
324
|
if (t.count > 0) {
|
|
325
325
|
let c = [];
|
|
326
326
|
t.items.forEach((u) => {
|
|
327
327
|
let f = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
328
328
|
f.searchParams.append("datasource", r), _ ? c.push(fetch(f.href).then((g) => g.json())) : c.push(fetch(f.href).then((g) => g.json()));
|
|
329
329
|
}), Promise.all(c).then((u) => {
|
|
330
|
-
L = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (L = L.slice(0, JSON.parse(
|
|
330
|
+
L = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
331
331
|
});
|
|
332
332
|
} else
|
|
333
333
|
a(18, U = !0);
|
|
@@ -349,16 +349,16 @@ function we(s, e, a) {
|
|
|
349
349
|
});
|
|
350
350
|
};
|
|
351
351
|
function $(t) {
|
|
352
|
-
|
|
352
|
+
oe[t ? "unshift" : "push"](() => {
|
|
353
353
|
h = t, a(17, h);
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
return s.$$set = (t) => {
|
|
357
|
-
"endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4,
|
|
357
|
+
"endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, E = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, T = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, F = t.gamepagemodalurl), "showgamename" in t && a(12, z = t.showgamename), "visiblegames" in t && a(13, C = t.visiblegames), "favorites" in t && a(14, N = t.favorites), "lastplayedperiod" in t && a(21, P = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, O = t.fetchviaevent);
|
|
358
358
|
}, s.$$.update = () => {
|
|
359
359
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
360
|
41 && o && y && d && Q(), s.$$.dirty[0] & /*translationurl*/
|
|
361
|
-
1048576 && w &&
|
|
361
|
+
1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
362
362
|
131136 && b && h && X(), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
363
363
|
131200 && v && h && x(), s.$$.dirty[0] & /*lang*/
|
|
364
364
|
8 && d && W();
|
|
@@ -367,16 +367,16 @@ function we(s, e, a) {
|
|
|
367
367
|
r,
|
|
368
368
|
m,
|
|
369
369
|
d,
|
|
370
|
-
|
|
370
|
+
E,
|
|
371
371
|
y,
|
|
372
372
|
b,
|
|
373
373
|
v,
|
|
374
374
|
_,
|
|
375
|
-
E,
|
|
376
|
-
F,
|
|
377
375
|
T,
|
|
376
|
+
D,
|
|
377
|
+
F,
|
|
378
378
|
z,
|
|
379
|
-
|
|
379
|
+
C,
|
|
380
380
|
N,
|
|
381
381
|
R,
|
|
382
382
|
O,
|
|
@@ -384,7 +384,7 @@ function we(s, e, a) {
|
|
|
384
384
|
U,
|
|
385
385
|
n,
|
|
386
386
|
w,
|
|
387
|
-
|
|
387
|
+
P,
|
|
388
388
|
j,
|
|
389
389
|
S,
|
|
390
390
|
G,
|
|
@@ -398,7 +398,7 @@ class _e extends se {
|
|
|
398
398
|
e,
|
|
399
399
|
we,
|
|
400
400
|
ve,
|
|
401
|
-
|
|
401
|
+
ne,
|
|
402
402
|
{
|
|
403
403
|
endpoint: 0,
|
|
404
404
|
datasource: 1,
|
|
@@ -560,7 +560,7 @@ class _e extends se {
|
|
|
560
560
|
this.$$set({ fetchviaevent: e }), l();
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
|
|
563
|
+
me(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
564
564
|
export {
|
|
565
565
|
_e as default
|
|
566
566
|
};
|