@everymatrix/casino-lobby 1.74.3 → 1.74.4
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-BGhJ1cEV.cjs +19 -0
- package/components/{CasinoCalendar-JGC8iAmb.js → CasinoCalendar-BMDbprh6.js} +802 -777
- package/components/{CasinoCalendar-DG7wVbWu.js → CasinoCalendar-FUyH3So6.js} +1016 -991
- package/components/CasinoCalendarDailyDetails-DyNw1uMX.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-D2Mvhg3d.js → CasinoCalendarDailyDetails-PT-ciuLj.js} +75 -75
- package/components/{CasinoCalendarDailyDetails-DtXvJMxo.js → CasinoCalendarDailyDetails-qb4mpvz6.js} +75 -75
- package/components/{CasinoCalendarDailyItem-D38_TXnL.cjs → CasinoCalendarDailyItem-BJAYmacx.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-sqWHyzUD.js → CasinoCalendarDailyItem-Ddvjsin9.js} +6 -6
- package/components/{CasinoCalendarDailyItem-78PMeiVD.js → CasinoCalendarDailyItem-E_UK8J-P.js} +6 -6
- package/components/CasinoCategoriesSlider-CMchkLFc.cjs +1 -0
- package/components/{CasinoCategoriesSlider-mHkbwSha.js → CasinoCategoriesSlider-CyY1HQ0P.js} +64 -64
- package/components/{CasinoCategoriesSlider-DMCT0Ezx.js → CasinoCategoriesSlider-DTKia-BC.js} +64 -64
- package/components/{CasinoCollectionsProviders-53NjCkkY.js → CasinoCollectionsProviders-C66vF5px.js} +4 -4
- package/components/{CasinoCollectionsProviders-CvxpEqbb.cjs → CasinoCollectionsProviders-DnxgcymV.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-B5vb4heG.js → CasinoCollectionsProviders-G6IEHMff.js} +4 -4
- package/components/{CasinoFavoritesSection-BNkF6EnC.js → CasinoFavoritesSection-BrDVkqoo.js} +5 -5
- package/components/{CasinoFavoritesSection-O59VpuZn.cjs → CasinoFavoritesSection-D5WvqjAF.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DU90AeQB.js → CasinoFavoritesSection-TIV1czkm.js} +5 -5
- package/components/CasinoFilter-BKrzmU_V.cjs +1 -0
- package/components/{CasinoFilter-BiK6Q5Ri.js → CasinoFilter-BW0CkIQU.js} +254 -253
- package/components/{CasinoFilter-ZSdevwFV.js → CasinoFilter-CFd1r73g.js} +224 -225
- package/components/{CasinoGameThumbnail-9TykiisT.js → CasinoGameThumbnail-CP707TN8.js} +1255 -1239
- package/components/{CasinoGameThumbnail-DLA7Der0.js → CasinoGameThumbnail-Cl2nd2Ao.js} +752 -768
- package/components/CasinoGameThumbnail-xpkz1cUi.cjs +47 -0
- package/components/{CasinoGamesCategorySection-BPGbdT_b.js → CasinoGamesCategorySection-BexCIH6G.js} +230 -222
- package/components/CasinoGamesCategorySection-DkolOoEE.cjs +1 -0
- package/components/{CasinoGamesCategorySection-BR29T3CL.js → CasinoGamesCategorySection-_5PoZwz5.js} +261 -253
- package/components/{CasinoJackpotBanner-CFg4HAum.cjs → CasinoJackpotBanner-0uMNuf8D.cjs} +1 -1
- package/components/{CasinoJackpotBanner-tA8EJuzi.js → CasinoJackpotBanner-DdPrmZDs.js} +8 -8
- package/components/{CasinoJackpotBanner-CxkX5wCt.js → CasinoJackpotBanner-nsvJTIO2.js} +8 -8
- package/components/{CasinoLastPlayedSection-DFNEquN4.js → CasinoLastPlayedSection-05WcjInA.js} +12 -12
- package/components/{CasinoLastPlayedSection-Bkqbp3Ir.js → CasinoLastPlayedSection-2dzzLJg7.js} +12 -12
- package/components/{CasinoLastPlayedSection-CT4aFgD9.cjs → CasinoLastPlayedSection-B4FQNNgv.cjs} +1 -1
- package/components/{CasinoLobby-WhaUj1mn.js → CasinoLobby-BRfuQSO0.js} +7 -7
- package/components/{CasinoLobby-DUsExkd3.js → CasinoLobby-ClPDUIJt.js} +7 -7
- package/components/{CasinoLobby-7XXNVo7H.cjs → CasinoLobby-JSJInF6U.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-C6x1VRif.cjs → CasinoMostPlayedSection-CZrQrXCB.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BTeTjexy.js → CasinoMostPlayedSection-DxBSgyMT.js} +13 -13
- package/components/{CasinoMostPlayedSection-BTqu89rQ.js → CasinoMostPlayedSection-uF4ETOcE.js} +13 -13
- package/components/CasinoMyGames-B6ln9L94.js +1315 -0
- package/components/CasinoMyGames-BNEMfelm.cjs +1 -0
- package/components/CasinoMyGames-DGnMt9aq.js +1316 -0
- package/components/{CasinoPage-uFnsu_kK.js → CasinoPage-DbgjV5io.js} +15 -15
- package/components/{CasinoPage-Dvsm7N3x.js → CasinoPage-Dj1alLLK.js} +15 -15
- package/components/{CasinoPage-BFSGJKkf.cjs → CasinoPage-v8AoEQF6.cjs} +1 -1
- package/components/{CasinoRandomGame-D6DfhsMo.js → CasinoRandomGame-CytI5GjM.js} +83 -83
- package/components/{CasinoRandomGame-CZhFbu1G.cjs → CasinoRandomGame-D6dNIU7H.cjs} +2 -2
- package/components/{CasinoRandomGame-y0dORDv9.js → CasinoRandomGame-R-0QqjwX.js} +12 -12
- package/components/{CasinoSearch-mG5BeabE.cjs → CasinoSearch-CgNC2d7t.cjs} +1 -1
- package/components/{CasinoSearch-CIipT1_4.js → CasinoSearch-DMIFjlPK.js} +5 -5
- package/components/{CasinoSearch-BYqwTiCp.js → CasinoSearch-PQxlpdIr.js} +5 -5
- package/components/{CasinoSlider-DqlUJp-J.js → CasinoSlider-BUdXNBUn.js} +385 -335
- package/components/CasinoSlider-B_4OKAXx.cjs +1 -0
- package/components/{CasinoSlider-DAxkG-Ar.js → CasinoSlider-CgGTFca7.js} +379 -330
- package/components/{CasinoSort-9iLlcWNg.js → CasinoSort-CFRGv5Ze.js} +93 -94
- package/components/{CasinoSort-BQCWdQsU.cjs → CasinoSort-_My6LmSq.cjs} +1 -1
- package/components/{CasinoSort-QHZXA8-P.js → CasinoSort-d_O_44vv.js} +103 -102
- package/components/{CasinoWinners-CK2tIq3Z.cjs → CasinoWinners-BX9jBJGA.cjs} +1 -1
- package/components/{CasinoWinners-5bdb2NyW.js → CasinoWinners-Co-G3_VH.js} +122 -122
- package/components/{CasinoWinners-D0CgROGN.js → CasinoWinners-DBM7TeCL.js} +126 -126
- package/components/{GeneralAnimationLoading-BGfoYrCy.js → GeneralAnimationLoading-CfouZ-sx.js} +7 -7
- package/components/{GeneralAnimationLoading-CaB8gNWp.cjs → GeneralAnimationLoading-D47HGjTy.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BIaudZkc.js → GeneralAnimationLoading-eg8O-l55.js} +7 -7
- 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/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
- package/stencil/{casino-play-random-game-Bc2XLGRl.js → casino-play-random-game-qroM0e64.js} +2 -2
- package/stencil/{casino-play-random-game-d1PoE_Vf.js → casino-play-random-game-uBjWXXLi.js} +2 -2
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{index-ab3202d6-Cowbr6qN.js → index-ab3202d6-CSUArOSv.js} +209 -209
- package/stencil/{index-ab3202d6-CiI9jxo9.js → index-ab3202d6-CoRS04SH.js} +214 -214
- package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
- package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
- package/stencil/{index-b2193545-DdqB2rk5.js → index-b2193545-D_cUvAA-.js} +176 -176
- package/stencil/{index-b2193545-BL364Gzq.js → index-b2193545-kN0z2MLt.js} +169 -169
- package/stencil/{ui-image-CzGNxx73.js → ui-image-BAqS-hS6.js} +1 -1
- package/stencil/{ui-image-wubI3fkK.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
- package/stencil/{ui-image-B_HWMBI-.js → ui-image-I_uR7pAI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
- package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-C0GZ2ncD.js} +2 -2
- package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CYeeBz0Q.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
- package/components/CasinoCalendar-Lny8nE88.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-B1QlX7pP.cjs +0 -1
- package/components/CasinoCategoriesSlider-CkofNfGv.cjs +0 -1
- package/components/CasinoFilter-DHfJy1ot.cjs +0 -1
- package/components/CasinoGameThumbnail-CXu0N008.cjs +0 -47
- package/components/CasinoGamesCategorySection-DkHDQ6kS.cjs +0 -1
- package/components/CasinoMyGames-54QuL7AC.js +0 -1351
- package/components/CasinoMyGames-6WUHWOPU.js +0 -1352
- package/components/CasinoMyGames-gtr6v2Sz.cjs +0 -1
- package/components/CasinoSlider-DO5tHrHM.cjs +0 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
- package/stencil/index-ab3202d6-BwBGn0Oj.cjs +0 -1
- package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
package/components/{GeneralAnimationLoading-CaB8gNWp.cjs → GeneralAnimationLoading-D47HGjTy.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-BGhJ1cEV.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
|
package/components/{GeneralAnimationLoading-BIaudZkc.js → GeneralAnimationLoading-eg8O-l55.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f, f as c, c as m, s as g, b as y, e as
|
|
1
|
+
import { S as u, i as f, f as c, c as m, s as g, b as y, e as h, d as p, G as d, j as b, o as v, l as x, m as _, q as S, r as k } from "./CasinoCalendar-BMDbprh6.js";
|
|
2
2
|
function C(t) {
|
|
3
3
|
y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
4
4
|
}
|
|
@@ -6,10 +6,10 @@ function L(t) {
|
|
|
6
6
|
let i;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
i =
|
|
9
|
+
i = h("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
10
10
|
},
|
|
11
11
|
m(n, l) {
|
|
12
|
-
|
|
12
|
+
p(n, i, l), t[4](i);
|
|
13
13
|
},
|
|
14
14
|
p: d,
|
|
15
15
|
i: d,
|
|
@@ -24,7 +24,7 @@ function j(t, i, n) {
|
|
|
24
24
|
v(() => () => {
|
|
25
25
|
});
|
|
26
26
|
function o(e) {
|
|
27
|
-
|
|
27
|
+
S[e ? "unshift" : "push"](() => {
|
|
28
28
|
s = e, n(0, s);
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -32,9 +32,9 @@ function j(t, i, n) {
|
|
|
32
32
|
"clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
|
|
33
33
|
}, t.$$.update = () => {
|
|
34
34
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
35
|
-
3 && l && s &&
|
|
36
|
-
5 && a && s &&
|
|
37
|
-
9 && r && s &&
|
|
35
|
+
3 && l && s && k(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
+
5 && a && s && x(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
37
|
+
9 && r && s && _(s, `${r}.Style`);
|
|
38
38
|
}, [
|
|
39
39
|
s,
|
|
40
40
|
l,
|
package/es2015/casino-lobby.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-JSJInF6U.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
|
package/es2015/casino-lobby.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoLobby-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoLobby-BRfuQSO0.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/casino-lobby.js
CHANGED
package/package.json
CHANGED
package/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-C3hhQjhn.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ab3202d6-
|
|
1
|
+
"use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ab3202d6-DitihRZv.cjs"),x=require("./app-globals-0f993ce5-4b17CI_n.cjs");var p=typeof document!="undefined"?document.currentScript:null,b=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-C3hhQjhn.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),i.promiseResolve(e)};b().then(n=>g(exports,null,function*(){return yield x.globalScripts(),i.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const G=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},v="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{l[t]||(l[t]={});for(let o in a[t])l[t][o]=a[t][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:v][n]};function f(n,e){if(n){const a=document.createElement("style");a.innerHTML=e,n.appendChild(a)}}function w(n,e){const a=new URL(e);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,n&&n.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function R(n,e,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(e,o=>{t.innerHTML=o,n&&n.appendChild(t)})}}const C=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -375,4 +375,4 @@
|
|
|
375
375
|
width: 70px;
|
|
376
376
|
height: 85px;
|
|
377
377
|
}
|
|
378
|
-
}`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.dataLoaded=i.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){return i.h("div",{key:"07d7315d72cc4a34fd8ce7085efebd9161584570",ref:n=>this.stylingContainer=n},this.hasErrors?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language))):this.isLoading?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("randomGameLoading",this.language))):i.h("div",{class:"RandomGameWrapper"},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
|
|
378
|
+
}`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.dataLoaded=i.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){return i.h("div",{key:"07d7315d72cc4a34fd8ce7085efebd9161584570",ref:n=>this.stylingContainer=n},this.hasErrors?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language))):this.isLoading?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("randomGameLoading",this.language))):i.h("div",{class:"RandomGameWrapper"},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
|
|
@@ -14,7 +14,7 @@ var p = (n, e, a) => new Promise((t, o) => {
|
|
|
14
14
|
}, c = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(m, d);
|
|
15
15
|
c((a = a.apply(n, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as w, p as y, r as x, c as b, h as i, g as G } from "./index-ab3202d6-
|
|
17
|
+
import { b as w, p as y, r as x, c as b, h as i, g as G } from "./index-ab3202d6-CoRS04SH.js";
|
|
18
18
|
import { g as v } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
19
19
|
var R = () => {
|
|
20
20
|
const n = import.meta.url, e = {};
|
|
@@ -483,7 +483,7 @@ const F = `:host {
|
|
|
483
483
|
}
|
|
484
484
|
}`, L = F, I = class {
|
|
485
485
|
constructor(n) {
|
|
486
|
-
x(this, n), this.dataLoaded = b(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
|
|
486
|
+
x(this, n), this.dataLoaded = b(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
|
|
487
487
|
let a = e.length, t;
|
|
488
488
|
for (; a !== 0; )
|
|
489
489
|
t = Math.floor(Math.random() * a), a--, [e[a], e[t]] = [e[t], e[a]];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as p, p as g, r as u, c as f, h as i, g as w } from "./index-ab3202d6-
|
|
1
|
+
import { b as p, p as g, r as u, c as f, h as i, g as w } from "./index-ab3202d6-CSUArOSv.js";
|
|
2
2
|
import { g as y } from "./app-globals-0f993ce5-DfNOCk8l.js";
|
|
3
3
|
var x = () => {
|
|
4
4
|
const n = import.meta.url, e = {};
|
|
@@ -465,7 +465,7 @@ const R = `:host {
|
|
|
465
465
|
}
|
|
466
466
|
}`, C = R, k = class {
|
|
467
467
|
constructor(n) {
|
|
468
|
-
u(this, n), this.dataLoaded = f(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
|
|
468
|
+
u(this, n), this.dataLoaded = f(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
|
|
469
469
|
let t = e.length, a;
|
|
470
470
|
for (; t !== 0; )
|
|
471
471
|
a = Math.floor(Math.random() * t), t--, [e[t], e[a]] = [e[a], e[t]];
|