@everymatrix/casino-my-games 1.77.20 → 1.77.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-B3MsVclW.js → CasinoFavoritesSection-BXiNKajp.js} +1108 -1138
- package/components/{CasinoFavoritesSection-DJJcT8CL.js → CasinoFavoritesSection-BhmYNoJe.js} +1131 -1161
- package/components/CasinoFavoritesSection-D6yt1tzP.cjs +3 -0
- package/components/{CasinoFilter-BN6M_P7p.js → CasinoFilter-ChoCgQ3w.js} +225 -157
- package/components/{CasinoFilter-D6drjDYX.js → CasinoFilter-CrAzQ_l-.js} +309 -239
- package/components/CasinoFilter-CtdTUQqV.cjs +16 -0
- package/components/{CasinoGameThumbnail-BH5vZ0wV.js → CasinoGameThumbnail-D1swZOWG.js} +104 -104
- package/components/{CasinoGameThumbnail-DBUGOyur.cjs → CasinoGameThumbnail-DEm78qtm.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Gl-ZOHSx.js → CasinoGameThumbnail-DuJWa1yd.js} +107 -107
- package/components/{CasinoGamesCategorySection-CfSdzyPY.cjs → CasinoGamesCategorySection-BbI9zz0I.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CxYAj6g8.js → CasinoGamesCategorySection-BnYJNqCW.js} +130 -130
- package/components/{CasinoGamesCategorySection-55-bWuYY.js → CasinoGamesCategorySection-K8poTXpJ.js} +71 -71
- package/components/{CasinoLastPlayedSection-Fn6HoEzj.cjs → CasinoLastPlayedSection-BiJT2JQs.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-B07ZSpFr.js → CasinoLastPlayedSection-COP0YJ11.js} +36 -36
- package/components/{CasinoLastPlayedSection-DtPqZF5Z.js → CasinoLastPlayedSection-D-enGXQ_.js} +36 -36
- package/components/{CasinoMostPlayedSection-6ZvIKOsQ.js → CasinoMostPlayedSection-Bqi_S8FR.js} +26 -26
- package/components/{CasinoMostPlayedSection-BIMIYNKw.cjs → CasinoMostPlayedSection-DZelWQsM.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-msk1gRdJ.js → CasinoMostPlayedSection-xfiPNhaG.js} +26 -26
- package/components/{CasinoMyGames-DS93f9XA.js → CasinoMyGames-BunXTxhl.js} +11 -11
- package/components/{CasinoMyGames-DN0dXvLl.js → CasinoMyGames-UmtQ5bU9.js} +11 -11
- package/components/{CasinoMyGames-Du1qlAYw.cjs → CasinoMyGames-ZGQP5CPd.cjs} +1 -1
- package/components/{CasinoSort-ByN7XZEq.js → CasinoSort-COot142U.js} +13 -13
- package/components/{CasinoSort-BZ2Z7Itc.js → CasinoSort-ClLb_08t.js} +13 -13
- package/components/{CasinoSort-DpGUwI27.cjs → CasinoSort-HBfFAv9Z.cjs} +1 -1
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
- package/stencil/{ui-image-DJSOH8ZL.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-DfVgiF6v.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BY8ZO6br.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CasinoFavoritesSection-fjgz8yhg.cjs +0 -16
- package/components/CasinoFilter-DX-4wkxD.cjs +0 -3
- package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { i as Be } from "./CasinoFilter-
|
|
1
|
+
import { $ as I, a as ce, b as he, S as ve, i as be, f as g, s as pe, C as Pe, c as _e, n as ee, d as F, e as G, g as _, h as Me, o as we, j as ke, l as ae, m as Fe, E as a, F as E, k as M, q as b, v as C, G as Ge, p as T, t as R, w as A, D as Le, z as Ce, A as Ee, B as Ae } from "./CasinoFavoritesSection-BhmYNoJe.js";
|
|
2
|
+
import { i as Be } from "./CasinoFilter-CrAzQ_l-.js";
|
|
3
3
|
function Oe({ withLocale: t, translations: e }) {
|
|
4
|
-
|
|
5
|
-
n == null && (ce.set(e),
|
|
4
|
+
I.subscribe((n) => {
|
|
5
|
+
n == null && (ce.set(e), I.set(t));
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
function te(t, e) {
|
|
9
9
|
he(t, e);
|
|
10
10
|
}
|
|
11
11
|
function je(t) {
|
|
12
|
-
|
|
12
|
+
I.set(t);
|
|
13
13
|
}
|
|
14
14
|
const se = {
|
|
15
15
|
en: {
|
|
@@ -115,7 +115,7 @@ if (typeof window != "undefined") {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-
|
|
118
|
+
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-BhmYNoJe.js").then((e) => e.M).then(({ default: e }) => {
|
|
119
119
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
120
120
|
});
|
|
121
121
|
}
|
|
@@ -131,7 +131,7 @@ if (typeof window != "undefined") {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-
|
|
134
|
+
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-COP0YJ11.js").then(({ default: e }) => {
|
|
135
135
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
@@ -147,7 +147,7 @@ if (typeof window != "undefined") {
|
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-
|
|
150
|
+
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-xfiPNhaG.js").then(({ default: e }) => {
|
|
151
151
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
152
152
|
});
|
|
153
153
|
}
|
|
@@ -1061,7 +1061,7 @@ function De(t) {
|
|
|
1061
1061
|
function Ne(t, e, n) {
|
|
1062
1062
|
let d;
|
|
1063
1063
|
Me(t, Le, (r) => n(31, d = r));
|
|
1064
|
-
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: D = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: V = "Last30Days" } = e, { mostplayedperiod: Z = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, { mbsource: H } = e, me = window.navigator.userAgent, w, N = "", Y = !1, L = ["", "", ""],
|
|
1064
|
+
let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: D = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: V = "Last30Days" } = e, { mostplayedperiod: Z = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, { mbsource: H } = e, me = window.navigator.userAgent, w, N = "", Y = !1, L = ["", "", ""], U = "0";
|
|
1065
1065
|
Oe({ withLocale: "en", translations: {} });
|
|
1066
1066
|
const de = () => {
|
|
1067
1067
|
fetch(D).then((k) => k.json()).then((k) => {
|
|
@@ -1084,7 +1084,7 @@ function Ne(t, e, n) {
|
|
|
1084
1084
|
if (r.data)
|
|
1085
1085
|
switch (r.data.type) {
|
|
1086
1086
|
case "UpdateFavoritesCount":
|
|
1087
|
-
r.data.favoriteGamesLength !== void 0 ? n(30,
|
|
1087
|
+
r.data.favoriteGamesLength !== void 0 ? n(30, U = r.data.favoriteGamesLength) : n(30, U = (q = (k = r.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? q : 0);
|
|
1088
1088
|
break;
|
|
1089
1089
|
}
|
|
1090
1090
|
};
|
|
@@ -1138,7 +1138,7 @@ function Ne(t, e, n) {
|
|
|
1138
1138
|
N,
|
|
1139
1139
|
Y,
|
|
1140
1140
|
L,
|
|
1141
|
-
|
|
1141
|
+
U,
|
|
1142
1142
|
d,
|
|
1143
1143
|
z,
|
|
1144
1144
|
fe,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSection-fjgz8yhg.cjs"),ae=require("./CasinoFilter-DX-4wkxD.cjs");function se({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function le(a){e.$locale.set(a)}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"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-fjgz8yhg.cjs")).then(t=>t.CasinoFavoritesSection_ce).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-Fn6HoEzj.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-BIMIYNKw.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function ne(a){e.append_styles(a,"svelte-gljr2z",".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}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.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, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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 J(a,t,o){const d=a.slice();return d[43]=t[o],d}function oe(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(a){let t;function o(u,n){if(u[18])return oe}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function me(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:S="Last30Days"}=t,{mostplayedperiod:j="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";se({withLocale:"en",translations:{}});const Y=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{I(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},U=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=ae.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,G=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,S=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,j=m.mostplayedperiod),"lastplayedorder"in m&&o(21,q=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&G&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,G,w,k,F,O,S,j,q,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.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:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{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:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSection-D6yt1tzP.cjs"),ae=require("./CasinoFilter-CtdTUQqV.cjs");function se({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function le(a){e.$locale.set(a)}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"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-D6yt1tzP.cjs")).then(t=>t.CasinoFavoritesSection_ce).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-BiJT2JQs.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DZelWQsM.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function ne(a){e.append_styles(a,"svelte-gljr2z",".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}.CasinoMyGames casino-favorites-section{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.Active{display:block}.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, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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 J(a,t,o){const d=a.slice();return d[43]=t[o],d}function oe(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(a){let t;function o(u,n){if(u[18])return oe}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function me(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:S="Last30Days"}=t,{mostplayedperiod:j="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";se({withLocale:"en",translations:{}});const Y=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{I(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},U=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=ae.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,G=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,S=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,j=m.mostplayedperiod),"lastplayedorder"in m&&o(21,q=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&G&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,G,w,k,F,O,S,j,q,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.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:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{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:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q,
|
|
1
|
+
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as m, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSection-BhmYNoJe.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -150,7 +150,7 @@ function wt(t) {
|
|
|
150
150
|
/*vendorSortingBy*/
|
|
151
151
|
(t[3] || /*$_*/
|
|
152
152
|
t[4]("all")) + ""
|
|
153
|
-
), O,
|
|
153
|
+
), O, E, z, A, F, H, n, u, v, T, D, j, V, M = G(Object.values(
|
|
154
154
|
/*vendorMap*/
|
|
155
155
|
t[5]
|
|
156
156
|
)), b = [];
|
|
@@ -158,7 +158,7 @@ function wt(t) {
|
|
|
158
158
|
b[c] = $(Y(t, M, c));
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
e = m("div"), o = m("div"), a = m("div"), l = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), B = m("div"), C = m("span"), O = Q(I),
|
|
161
|
+
e = m("div"), o = m("div"), a = m("div"), l = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), B = m("div"), C = m("span"), O = Q(I), E = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
|
|
162
162
|
for (let c = 0; c < b.length; c += 1)
|
|
163
163
|
b[c].c();
|
|
164
164
|
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(y, "class", "SorterName"), r(B, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", H = "TriangleInactive " + /*isSorterActive*/
|
|
@@ -167,7 +167,7 @@ function wt(t) {
|
|
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
168
|
},
|
|
169
169
|
m(c, k) {
|
|
170
|
-
R(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, g), s(a, x), s(a, p), s(p, y), s(y, w), s(p, S), s(p, B), s(B, C), s(C, O), s(o,
|
|
170
|
+
R(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, g), s(a, x), s(a, p), s(p, y), s(y, w), s(p, S), s(p, B), s(B, C), s(C, O), s(o, E), s(o, z), s(z, A), s(A, F), s(e, u), s(e, v), s(v, T);
|
|
171
171
|
for (let h = 0; h < b.length; h += 1)
|
|
172
172
|
b[h] && b[h].m(T, null);
|
|
173
173
|
j || (V = tt(
|
|
@@ -324,7 +324,7 @@ function St(t, e, o) {
|
|
|
324
324
|
},
|
|
325
325
|
window.location.href
|
|
326
326
|
), o(1, y = !y);
|
|
327
|
-
},
|
|
327
|
+
}, E = () => {
|
|
328
328
|
o(1, y = !y), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
|
329
329
|
}, z = (n) => {
|
|
330
330
|
n.data.type == "FilterOpened" && o(1, y = !1);
|
|
@@ -332,7 +332,7 @@ function St(t, e, o) {
|
|
|
332
332
|
it(() => (window.addEventListener("message", z, !1), () => {
|
|
333
333
|
window.removeEventListener("message", z);
|
|
334
334
|
}));
|
|
335
|
-
const A = () =>
|
|
335
|
+
const A = () => E(), F = (n) => O(n);
|
|
336
336
|
function H(n) {
|
|
337
337
|
ct[n ? "unshift" : "push"](() => {
|
|
338
338
|
p = n, o(0, p);
|
|
@@ -355,7 +355,7 @@ function St(t, e, o) {
|
|
|
355
355
|
a,
|
|
356
356
|
C,
|
|
357
357
|
O,
|
|
358
|
-
|
|
358
|
+
E,
|
|
359
359
|
l,
|
|
360
360
|
i,
|
|
361
361
|
d,
|
|
@@ -390,37 +390,37 @@ class vt extends ot {
|
|
|
390
390
|
return this.$$.ctx[8];
|
|
391
391
|
}
|
|
392
392
|
set lang(e) {
|
|
393
|
-
this.$$set({ lang: e }),
|
|
393
|
+
this.$$set({ lang: e }), L();
|
|
394
394
|
}
|
|
395
395
|
get translationurl() {
|
|
396
396
|
return this.$$.ctx[9];
|
|
397
397
|
}
|
|
398
398
|
set translationurl(e) {
|
|
399
|
-
this.$$set({ translationurl: e }),
|
|
399
|
+
this.$$set({ translationurl: e }), L();
|
|
400
400
|
}
|
|
401
401
|
get clientstyling() {
|
|
402
402
|
return this.$$.ctx[10];
|
|
403
403
|
}
|
|
404
404
|
set clientstyling(e) {
|
|
405
|
-
this.$$set({ clientstyling: e }),
|
|
405
|
+
this.$$set({ clientstyling: e }), L();
|
|
406
406
|
}
|
|
407
407
|
get clientstylingurl() {
|
|
408
408
|
return this.$$.ctx[11];
|
|
409
409
|
}
|
|
410
410
|
set clientstylingurl(e) {
|
|
411
|
-
this.$$set({ clientstylingurl: e }),
|
|
411
|
+
this.$$set({ clientstylingurl: e }), L();
|
|
412
412
|
}
|
|
413
413
|
get categoryid() {
|
|
414
414
|
return this.$$.ctx[12];
|
|
415
415
|
}
|
|
416
416
|
set categoryid(e) {
|
|
417
|
-
this.$$set({ categoryid: e }),
|
|
417
|
+
this.$$set({ categoryid: e }), L();
|
|
418
418
|
}
|
|
419
419
|
get mbsource() {
|
|
420
420
|
return this.$$.ctx[13];
|
|
421
421
|
}
|
|
422
422
|
set mbsource(e) {
|
|
423
|
-
this.$$set({ mbsource: e }),
|
|
423
|
+
this.$$set({ mbsource: e }), L();
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
ht(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q,
|
|
1
|
+
import { $ as q, a as et, b as rt, S as ot, i as nt, s as at, f as L, c as lt, n as U, d as P, e as R, g as h, h as st, o as it, j as ct, l as G, m as dt, p as K, k as r, q as s, t as tt, u as N, v as Z, w as Q, z as pt, A as gt, B as ut, C as ht, D as mt } from "./CasinoFavoritesSection-BXiNKajp.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -150,7 +150,7 @@ function wt(t) {
|
|
|
150
150
|
/*vendorSortingBy*/
|
|
151
151
|
(t[3] || /*$_*/
|
|
152
152
|
t[4]("all")) + ""
|
|
153
|
-
), O,
|
|
153
|
+
), O, E, z, A, F, H, n, w, v, T, D, j, V, M = G(Object.values(
|
|
154
154
|
/*vendorMap*/
|
|
155
155
|
t[5]
|
|
156
156
|
)), b = [];
|
|
@@ -158,7 +158,7 @@ function wt(t) {
|
|
|
158
158
|
b[c] = $(Y(t, M, c));
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), B = h("div"), C = h("span"), O = Q(I),
|
|
161
|
+
e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), B = h("div"), C = h("span"), O = Q(I), E = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
|
|
162
162
|
for (let c = 0; c < b.length; c += 1)
|
|
163
163
|
b[c].c();
|
|
164
164
|
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(B, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", H = "TriangleInactive " + /*isSorterActive*/
|
|
@@ -167,7 +167,7 @@ function wt(t) {
|
|
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
168
|
},
|
|
169
169
|
m(c, k) {
|
|
170
|
-
R(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, m), s(i, g), s(a, x), s(a, p), s(p, f), s(f, y), s(p, S), s(p, B), s(B, C), s(C, O), s(o,
|
|
170
|
+
R(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, m), s(i, g), s(a, x), s(a, p), s(p, f), s(f, y), s(p, S), s(p, B), s(B, C), s(C, O), s(o, E), s(o, z), s(z, A), s(A, F), s(e, w), s(e, v), s(v, T);
|
|
171
171
|
for (let u = 0; u < b.length; u += 1)
|
|
172
172
|
b[u] && b[u].m(T, null);
|
|
173
173
|
j || (V = tt(
|
|
@@ -323,7 +323,7 @@ function St(t, e, o) {
|
|
|
323
323
|
},
|
|
324
324
|
window.location.href
|
|
325
325
|
), o(1, f = !f);
|
|
326
|
-
},
|
|
326
|
+
}, E = () => {
|
|
327
327
|
o(1, f = !f), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
|
328
328
|
}, z = (n) => {
|
|
329
329
|
n.data.type == "FilterOpened" && o(1, f = !1);
|
|
@@ -331,7 +331,7 @@ function St(t, e, o) {
|
|
|
331
331
|
it(() => (window.addEventListener("message", z, !1), () => {
|
|
332
332
|
window.removeEventListener("message", z);
|
|
333
333
|
}));
|
|
334
|
-
const A = () =>
|
|
334
|
+
const A = () => E(), F = (n) => O(n);
|
|
335
335
|
function H(n) {
|
|
336
336
|
ct[n ? "unshift" : "push"](() => {
|
|
337
337
|
p = n, o(0, p);
|
|
@@ -354,7 +354,7 @@ function St(t, e, o) {
|
|
|
354
354
|
a,
|
|
355
355
|
C,
|
|
356
356
|
O,
|
|
357
|
-
|
|
357
|
+
E,
|
|
358
358
|
l,
|
|
359
359
|
i,
|
|
360
360
|
d,
|
|
@@ -389,37 +389,37 @@ class vt extends ot {
|
|
|
389
389
|
return this.$$.ctx[8];
|
|
390
390
|
}
|
|
391
391
|
set lang(e) {
|
|
392
|
-
this.$$set({ lang: e }),
|
|
392
|
+
this.$$set({ lang: e }), L();
|
|
393
393
|
}
|
|
394
394
|
get translationurl() {
|
|
395
395
|
return this.$$.ctx[9];
|
|
396
396
|
}
|
|
397
397
|
set translationurl(e) {
|
|
398
|
-
this.$$set({ translationurl: e }),
|
|
398
|
+
this.$$set({ translationurl: e }), L();
|
|
399
399
|
}
|
|
400
400
|
get clientstyling() {
|
|
401
401
|
return this.$$.ctx[10];
|
|
402
402
|
}
|
|
403
403
|
set clientstyling(e) {
|
|
404
|
-
this.$$set({ clientstyling: e }),
|
|
404
|
+
this.$$set({ clientstyling: e }), L();
|
|
405
405
|
}
|
|
406
406
|
get clientstylingurl() {
|
|
407
407
|
return this.$$.ctx[11];
|
|
408
408
|
}
|
|
409
409
|
set clientstylingurl(e) {
|
|
410
|
-
this.$$set({ clientstylingurl: e }),
|
|
410
|
+
this.$$set({ clientstylingurl: e }), L();
|
|
411
411
|
}
|
|
412
412
|
get categoryid() {
|
|
413
413
|
return this.$$.ctx[12];
|
|
414
414
|
}
|
|
415
415
|
set categoryid(e) {
|
|
416
|
-
this.$$set({ categoryid: e }),
|
|
416
|
+
this.$$set({ categoryid: e }), L();
|
|
417
417
|
}
|
|
418
418
|
get mbsource() {
|
|
419
419
|
return this.$$.ctx[13];
|
|
420
420
|
}
|
|
421
421
|
set mbsource(e) {
|
|
422
|
-
this.$$set({ mbsource: e }),
|
|
422
|
+
this.$$set({ mbsource: e }), L();
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
ht(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-fjgz8yhg.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,I,k,_,C,Z,o,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",o="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(O,"class","SorterDropdown"),t.attr(b,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(a,S),t.append(a,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&o!==(o="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",o),x&120){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(a,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let o=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];o?n(3,w=o):n(3,w="All"),n(3,w=A[o])},N=o=>{n(3,w=o);let g=localStorage.getItem("vendorSortingBy");f=o;for(let b in A)if(A[b]===o){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},I=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=o=>{o.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=o=>N(o);function Z(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,h=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,S=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,a,A,N,I,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSection-D6yt1tzP.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,I,k,_,C,Z,o,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",o="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(O,"class","SorterDropdown"),t.attr(b,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(a,S),t.append(a,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&o!==(o="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",o),x&120){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(a,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let o=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];o?n(3,w=o):n(3,w="All"),n(3,w=A[o])},N=o=>{n(3,w=o);let g=localStorage.getItem("vendorSortingBy");f=o;for(let b in A)if(A[b]===o){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},I=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=o=>{o.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=o=>N(o);function Z(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,h=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,S=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,a,A,N,I,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
@@ -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/CasinoMyGames-
|
|
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/CasinoMyGames-ZGQP5CPd.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoMyGames-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoMyGames-UmtQ5bU9.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-my-games") && customElements.define("casino-my-games", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ var de = Object.defineProperty, ve = (e, t) => {
|
|
|
26
26
|
case "ui-image_2":
|
|
27
27
|
return import(
|
|
28
28
|
/* webpackMode: "lazy" */
|
|
29
|
-
"./ui-image_2-
|
|
29
|
+
"./ui-image_2-Bm97-wkj.js"
|
|
30
30
|
).then(l, k);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -181,7 +181,7 @@ var xe = (e) => {
|
|
|
181
181
|
}
|
|
182
182
|
} else {
|
|
183
183
|
const i = C(s);
|
|
184
|
-
if (l || i && s !== null)
|
|
184
|
+
if ((l || i && s !== null) && !r)
|
|
185
185
|
try {
|
|
186
186
|
if (e.tagName.includes("-"))
|
|
187
187
|
e[t] = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-DdFjzzNO.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
|
|
@@ -42,7 +42,7 @@ var ve = Object.defineProperty, ge = (e, t) => {
|
|
|
42
42
|
case "ui-image_2":
|
|
43
43
|
return import(
|
|
44
44
|
/* webpackMode: "lazy" */
|
|
45
|
-
"./ui-image_2-
|
|
45
|
+
"./ui-image_2-qO3reSlr.js"
|
|
46
46
|
).then(l, k);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -197,7 +197,7 @@ var Pe = (e) => {
|
|
|
197
197
|
}
|
|
198
198
|
} else {
|
|
199
199
|
const a = q(s);
|
|
200
|
-
if (l || a && s !== null)
|
|
200
|
+
if ((l || a && s !== null) && !r)
|
|
201
201
|
try {
|
|
202
202
|
if (e.tagName.includes("-"))
|
|
203
203
|
e[t] = s;
|