@everymatrix/casino-last-played-section 1.74.3 → 1.74.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-BWDdRcwT.js → CasinoFilter-BPwlHha2.js} +1021 -1007
- package/components/CasinoFilter-BTWS0FsQ.cjs +18 -0
- package/components/{CasinoFilter-CtjITeYr.js → CasinoFilter-BUlwRomz.js} +987 -973
- package/components/CasinoGameThumbnail-6gj212_i.cjs +47 -0
- package/components/{CasinoGameThumbnail-BkaE9rXW.js → CasinoGameThumbnail-CIPUqxT7.js} +752 -768
- package/components/{CasinoGameThumbnail-DLDMVInP.js → CasinoGameThumbnail-CRJt980b.js} +1254 -1238
- package/components/CasinoGamesCategorySection-2ovoa6CH.cjs +1 -0
- package/components/{CasinoGamesCategorySection-BRWpZ039.js → CasinoGamesCategorySection-BAc8lRjx.js} +218 -210
- package/components/{CasinoGamesCategorySection-BdD3uAHD.js → CasinoGamesCategorySection-pSYosM4o.js} +213 -205
- package/components/{CasinoLastPlayedSection-DM1nnIIH.js → CasinoLastPlayedSection-076P77jo.js} +5 -5
- package/components/{CasinoLastPlayedSection-BJvq-ltp.cjs → CasinoLastPlayedSection-BWkeZKfB.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CvtMQDAw.js → CasinoLastPlayedSection-BrNZ3giY.js} +5 -5
- package/components/{CasinoSort-BxmnDARn.cjs → CasinoSort-BC0bXCb5.cjs} +1 -1
- package/components/{CasinoSort-BtGvvVOr.js → CasinoSort-CwuCYmVi.js} +106 -107
- package/components/{CasinoSort-oXtmKLou.js → CasinoSort-O-SBq3yY.js} +113 -112
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +1 -1
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-DJWD4G-S.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CYuYAlOX.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-D3_FGUyo.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoFilter-Be3uuCeT.cjs +0 -18
- package/components/CasinoGameThumbnail-DfGHmR_R.cjs +0 -47
- package/components/CasinoGamesCategorySection-BRasZVSy.cjs +0 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
package/components/{CasinoLastPlayedSection-DM1nnIIH.js → CasinoLastPlayedSection-076P77jo.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, j as A, l as E, m as Z, o as B, p as D, q as re, r as oe,
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, j as A, l as E, m as Z, o as B, p as D, q as re, r as oe, u as ce, z as ue, A as me, B as ge, h as i, t as de, n as fe, E as he, y as ye } from "./CasinoFilter-BPwlHha2.js";
|
2
2
|
function H(s, e) {
|
3
3
|
ee(s, e);
|
4
4
|
}
|
@@ -43,7 +43,7 @@ if (typeof window != "undefined") {
|
|
43
43
|
}
|
44
44
|
};
|
45
45
|
};
|
46
|
-
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-
|
46
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-pSYosM4o.js").then(({ default: e }) => {
|
47
47
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
48
48
|
});
|
49
49
|
}
|
@@ -364,7 +364,7 @@ function Le(s, e, t) {
|
|
364
364
|
oe(() => () => {
|
365
365
|
});
|
366
366
|
function x(a) {
|
367
|
-
|
367
|
+
ue[a ? "unshift" : "push"](() => {
|
368
368
|
f = a, t(18, f);
|
369
369
|
});
|
370
370
|
}
|
@@ -374,8 +374,8 @@ function Le(s, e, t) {
|
|
374
374
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
375
375
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
376
376
|
2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
377
|
-
262208 && b && f &&
|
378
|
-
262272 && v && f &&
|
377
|
+
262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
378
|
+
262272 && v && f && ce(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
379
379
|
393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
380
380
|
8 && d && p();
|
381
381
|
}, [
|
package/components/{CasinoLastPlayedSection-BJvq-ltp.cjs → CasinoLastPlayedSection-BWkeZKfB.cjs}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-Be3uuCeT.cjs");function z(n,e){t.addMessages(n,e)}function K(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BRasZVSy.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function Q(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?X:W}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:E="false"}=e,{showgamename:M=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,O=!1,w=[],N,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${h}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),N=v?r:r.href,fetch(N).then(m=>m.json()).then(m=>{m.items=m.items.filter(B=>{let T=!0;return B.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,O=!0)})},Z=()=>{K(d)};t.onMount(()=>()=>{});function p(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,h=s.userid),"clientstyling"in s&&a(6,_=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,E=s.gamepagemodalurl),"showgamename"in s&&a(12,M=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&_&&g&&t.setClientStyling(g,_),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,h,_,y,v,R,A,E,M,k,D,S,F,q,g,O,i,b,P,L,C,j,p]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},Q,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-BTWS0FsQ.cjs");function z(n,e){t.addMessages(n,e)}function K(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-2ovoa6CH.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function Q(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?X:W}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:E="false"}=e,{showgamename:M=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,O=!1,w=[],N,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${h}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),N=v?r:r.href,fetch(N).then(m=>m.json()).then(m=>{m.items=m.items.filter(B=>{let T=!0;return B.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,O=!0)})},Z=()=>{K(d)};t.onMount(()=>()=>{});function p(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,h=s.userid),"clientstyling"in s&&a(6,_=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,E=s.gamepagemodalurl),"showgamename"in s&&a(12,M=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&_&&g&&t.setClientStyling(g,_),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,h,_,y,v,R,A,E,M,k,D,S,F,q,g,O,i,b,P,L,C,j,p]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},Q,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSection-CvtMQDAw.js → CasinoLastPlayedSection-BrNZ3giY.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as ee, $ as te, c as ae, S as se, i as ie, s as ne, f as l, b as le, e as L, j as A, l as E, m as Z, o as B, p as D, q as re, r as oe,
|
1
|
+
import { a as ee, $ as te, c as ae, S as se, i as ie, s as ne, f as l, b as le, e as L, j as A, l as E, m as Z, o as B, p as D, q as re, r as oe, u as ce, z as ue, A as me, B as ge, h as i, t as de, n as fe, E as he, y as ye } from "./CasinoFilter-BUlwRomz.js";
|
2
2
|
function H(s, e) {
|
3
3
|
ee(s, e);
|
4
4
|
}
|
@@ -43,7 +43,7 @@ if (typeof window < "u") {
|
|
43
43
|
}
|
44
44
|
};
|
45
45
|
};
|
46
|
-
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-
|
46
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-BAc8lRjx.js").then(({ default: e }) => {
|
47
47
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
48
48
|
});
|
49
49
|
}
|
@@ -364,7 +364,7 @@ function Le(s, e, t) {
|
|
364
364
|
oe(() => () => {
|
365
365
|
});
|
366
366
|
function x(a) {
|
367
|
-
|
367
|
+
ue[a ? "unshift" : "push"](() => {
|
368
368
|
f = a, t(18, f);
|
369
369
|
});
|
370
370
|
}
|
@@ -374,8 +374,8 @@ function Le(s, e, t) {
|
|
374
374
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
375
375
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
376
376
|
2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
377
|
-
262208 && b && f &&
|
378
|
-
262272 && v && f &&
|
377
|
+
262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
378
|
+
262272 && v && f && ce(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
379
379
|
393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
|
380
380
|
8 && d && p();
|
381
381
|
}, [
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-Be3uuCeT.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 o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,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,a,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"),o=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(o,"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",a="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,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,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&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),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,o,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"),o=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(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.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,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"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"))&&(o.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 o=n(e),l=o&&o(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]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(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 o;t.component_subscribe(e,t.$format,a=>n(4,o=a));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(a=>{E(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){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=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>I(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.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,o,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("./CasinoFilter-BTWS0FsQ.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,m,d,x,y,u,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,F,N,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,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"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),u=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[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(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(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"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"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(u,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"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(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"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(C,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,u),t.append(u,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&F!==(F="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",F),k&2&&N!==(N="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),k&120){Z=t.ensure_array_like(Object.values(i[5]));let g;for(g=0;g<Z.length;g+=1){const T=D(i,Z,g);h[g]?h[g].p(T,k):(h[g]=P(T),h[g].c(),h[g].m(v,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,u;function f(){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"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=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(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(u=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,u()}}}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:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,u,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};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")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.emMessageBus!=null&&y&&y.unsubscribe(),window.removeEventListener("message",_)}));const z=()=>C(),F=o=>O(o);function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}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,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&u&&t.setClientStyling(u,p),e.$$.dirty&2049&&m&&u&&t.setClientStylingURL(u,m),e.$$.dirty&8193&&u&&t.setStreamStyling(u,`${x}.Style`),e.$$.dirty&512&&s&&B()},[u,f,b,S,a,A,O,C,l,s,p,m,d,x,z,F,N]}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,4 +1,4 @@
|
|
1
|
-
import { $ as q, M as et, a as rt, S as ot, i as nt, f as
|
1
|
+
import { $ as q, M as et, a as rt, S as ot, i as nt, f as H, c as at, s as st, b as lt, e as m, l as P, o as U, p as R, q as it, r as ct, u as dt, z as pt, A as ut, B as gt, C as G, G as Z, d as B, t as K, j as r, m as l, v as tt, n as Q, D as ht, E as mt } from "./CasinoFilter-BUlwRomz.js";
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
3
3
|
q.subscribe((o) => {
|
4
4
|
o == null && (et.set(e), q.set(t));
|
@@ -136,40 +136,40 @@ const X = {
|
|
136
136
|
}
|
137
137
|
};
|
138
138
|
function yt(t) {
|
139
|
-
|
139
|
+
lt(t, "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)}}');
|
140
140
|
}
|
141
141
|
function Y(t, e, o) {
|
142
142
|
const a = t.slice();
|
143
143
|
return a[23] = e[o], a;
|
144
144
|
}
|
145
145
|
function wt(t) {
|
146
|
-
let e, o, a,
|
146
|
+
let e, o, a, s, i, d, f, p, k, b, g, w = (
|
147
147
|
/*$_*/
|
148
148
|
t[4]("sortby") + ""
|
149
|
-
),
|
149
|
+
), S, v, x, E, C = (
|
150
150
|
/*vendorSortingBy*/
|
151
151
|
(t[3] || /*$_*/
|
152
152
|
t[4]("all")) + ""
|
153
|
-
),
|
153
|
+
), L, T, F, A, N, I, M, n, u, _, D, j, V, O = G(Object.values(
|
154
154
|
/*vendorMap*/
|
155
155
|
t[5]
|
156
|
-
)),
|
157
|
-
for (let c = 0; c <
|
158
|
-
|
156
|
+
)), y = [];
|
157
|
+
for (let c = 0; c < O.length; c += 1)
|
158
|
+
y[c] = $(Y(t, O, c));
|
159
159
|
return {
|
160
160
|
c() {
|
161
|
-
e = m("div"), o = m("div"), a = m("div"),
|
162
|
-
for (let c = 0; c <
|
163
|
-
|
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(
|
165
|
-
(t[1] ? "TriangleActive" : "")), r(o, "class",
|
166
|
-
(t[1] ? "SorterSelectorOpen" : "")), r(
|
161
|
+
e = m("div"), o = m("div"), a = m("div"), s = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), p = Z("path"), k = B(), b = m("div"), g = m("span"), S = K(w), v = B(), x = m("div"), E = m("span"), L = K(C), T = B(), F = m("span"), A = Z("svg"), N = Z("path"), n = B(), u = m("div"), _ = m("ul");
|
162
|
+
for (let c = 0; c < y.length; c += 1)
|
163
|
+
y[c].c();
|
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(p, "id", "Path_5269"), r(p, "data-name", "Path 5269"), r(p, "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(p, "transform", "translate(-412.896 0)"), r(p, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(g, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "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(N, "transform", "translate(-274.511 -441.088)"), r(N, "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(F, "class", I = "TriangleInactive " + /*isSorterActive*/
|
165
|
+
(t[1] ? "TriangleActive" : "")), r(o, "class", M = "SorterSelector " + /*isSorterActive*/
|
166
|
+
(t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(u, "class", D = "SorterDropdownContainer " + /*isSorterActive*/
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
168
168
|
},
|
169
|
-
m(c,
|
170
|
-
P(c, e,
|
171
|
-
for (let h = 0; h <
|
172
|
-
|
169
|
+
m(c, z) {
|
170
|
+
P(c, e, z), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, p), l(a, k), l(a, b), l(b, g), l(g, S), l(b, v), l(b, x), l(x, E), l(E, L), l(o, T), l(o, F), l(F, A), l(A, N), l(e, n), l(e, u), l(u, _);
|
171
|
+
for (let h = 0; h < y.length; h += 1)
|
172
|
+
y[h] && y[h].m(_, null);
|
173
173
|
j || (V = tt(
|
174
174
|
o,
|
175
175
|
"click",
|
@@ -177,43 +177,43 @@ function wt(t) {
|
|
177
177
|
t[14]
|
178
178
|
), j = !0);
|
179
179
|
},
|
180
|
-
p(c,
|
181
|
-
if (
|
182
|
-
16 &&
|
183
|
-
c[4]("sortby") + "") && Q(
|
184
|
-
24 &&
|
180
|
+
p(c, z) {
|
181
|
+
if (z & /*$_*/
|
182
|
+
16 && w !== (w = /*$_*/
|
183
|
+
c[4]("sortby") + "") && Q(S, w), z & /*vendorSortingBy, $_*/
|
184
|
+
24 && C !== (C = /*vendorSortingBy*/
|
185
185
|
(c[3] || /*$_*/
|
186
|
-
c[4]("all")) + "") && Q(
|
187
|
-
2 &&
|
188
|
-
(c[1] ? "TriangleActive" : "")) && r(
|
189
|
-
2 &&
|
190
|
-
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class",
|
186
|
+
c[4]("all")) + "") && Q(L, C), z & /*isSorterActive*/
|
187
|
+
2 && I !== (I = "TriangleInactive " + /*isSorterActive*/
|
188
|
+
(c[1] ? "TriangleActive" : "")) && r(F, "class", I), z & /*isSorterActive*/
|
189
|
+
2 && M !== (M = "SorterSelector " + /*isSorterActive*/
|
190
|
+
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", M), z & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
191
191
|
120) {
|
192
|
-
|
192
|
+
O = G(Object.values(
|
193
193
|
/*vendorMap*/
|
194
194
|
c[5]
|
195
195
|
));
|
196
196
|
let h;
|
197
|
-
for (h = 0; h <
|
198
|
-
const J = Y(c,
|
199
|
-
|
197
|
+
for (h = 0; h < O.length; h += 1) {
|
198
|
+
const J = Y(c, O, h);
|
199
|
+
y[h] ? y[h].p(J, z) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
|
200
200
|
}
|
201
|
-
for (; h <
|
202
|
-
|
203
|
-
|
201
|
+
for (; h < y.length; h += 1)
|
202
|
+
y[h].d(1);
|
203
|
+
y.length = O.length;
|
204
204
|
}
|
205
|
-
|
205
|
+
z & /*isSorterActive*/
|
206
206
|
2 && D !== (D = "SorterDropdownContainer " + /*isSorterActive*/
|
207
|
-
(c[1] ? "SorterOpen" : "")) && r(
|
207
|
+
(c[1] ? "SorterOpen" : "")) && r(u, "class", D);
|
208
208
|
},
|
209
209
|
d(c) {
|
210
|
-
c && R(e), ht(
|
210
|
+
c && R(e), ht(y, c), j = !1, V();
|
211
211
|
}
|
212
212
|
};
|
213
213
|
}
|
214
214
|
function $(t) {
|
215
|
-
let e, o, a,
|
216
|
-
function
|
215
|
+
let e, o, a, s, i, d, f, p, k, b, g;
|
216
|
+
function w() {
|
217
217
|
return (
|
218
218
|
/*click_handler_1*/
|
219
219
|
t[15](
|
@@ -224,9 +224,9 @@ function $(t) {
|
|
224
224
|
}
|
225
225
|
return {
|
226
226
|
c() {
|
227
|
-
e = m("li"), o = m("label"), a = m("input"), i =
|
228
|
-
t[23]}`,
|
229
|
-
t[23], a.checked =
|
227
|
+
e = m("li"), o = m("label"), a = m("input"), i = B(), d = m("span"), f = B(), p = m("span"), p.textContent = `${/*sort*/
|
228
|
+
t[23]}`, k = B(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
|
229
|
+
t[23], a.checked = s = /*vendorSortingBy*/
|
230
230
|
t[3] == /*sort*/
|
231
231
|
t[23] ? !0 : (
|
232
232
|
/*vendorSortingBy*/
|
@@ -236,22 +236,22 @@ function $(t) {
|
|
236
236
|
), r(d, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(e, "class", "SorterItem"), e.value = /*sort*/
|
237
237
|
t[23];
|
238
238
|
},
|
239
|
-
m(
|
240
|
-
P(
|
239
|
+
m(S, v) {
|
240
|
+
P(S, e, v), l(e, o), l(o, a), l(o, i), l(o, d), l(o, f), l(o, p), l(e, k), b || (g = tt(a, "click", w), b = !0);
|
241
241
|
},
|
242
|
-
p(
|
243
|
-
t =
|
244
|
-
24 &&
|
242
|
+
p(S, v) {
|
243
|
+
t = S, v & /*vendorSortingBy, $_*/
|
244
|
+
24 && s !== (s = /*vendorSortingBy*/
|
245
245
|
t[3] == /*sort*/
|
246
246
|
t[23] ? !0 : (
|
247
247
|
/*vendorSortingBy*/
|
248
248
|
t[3] == null && /*sort*/
|
249
249
|
t[23] == /*$_*/
|
250
250
|
t[4]("all")
|
251
|
-
)) && (a.checked =
|
251
|
+
)) && (a.checked = s);
|
252
252
|
},
|
253
|
-
d(
|
254
|
-
|
253
|
+
d(S) {
|
254
|
+
S && R(e), b = !1, g();
|
255
255
|
}
|
256
256
|
};
|
257
257
|
}
|
@@ -262,33 +262,33 @@ function bt(t) {
|
|
262
262
|
i[2])
|
263
263
|
return wt;
|
264
264
|
}
|
265
|
-
let a = o(t),
|
265
|
+
let a = o(t), s = a && a(t);
|
266
266
|
return {
|
267
267
|
c() {
|
268
|
-
e = m("div"),
|
268
|
+
e = m("div"), s && s.c();
|
269
269
|
},
|
270
270
|
m(i, d) {
|
271
|
-
P(i, e, d),
|
271
|
+
P(i, e, d), s && s.m(e, null), t[16](e);
|
272
272
|
},
|
273
273
|
p(i, [d]) {
|
274
|
-
a === (a = o(i)) &&
|
274
|
+
a === (a = o(i)) && s ? s.p(i, d) : (s && s.d(1), s = a && a(i), s && (s.c(), s.m(e, null)));
|
275
275
|
},
|
276
276
|
i: U,
|
277
277
|
o: U,
|
278
278
|
d(i) {
|
279
|
-
i && R(e),
|
279
|
+
i && R(e), s && s.d(), t[16](null);
|
280
280
|
}
|
281
281
|
};
|
282
282
|
}
|
283
283
|
function St(t, e, o) {
|
284
284
|
let a;
|
285
285
|
it(t, mt, (n) => o(4, a = n));
|
286
|
-
let { lang:
|
286
|
+
let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: f = "" } = e, { categoryid: p = "" } = e, { mbsource: k } = e, b, g, w = !1, S = !0, v = "", x = "All";
|
287
287
|
ft({ withLocale: "en", translations: {} });
|
288
|
-
const
|
288
|
+
const E = () => {
|
289
289
|
fetch(i).then((u) => u.json()).then((u) => {
|
290
|
-
Object.keys(u).forEach((
|
291
|
-
W(
|
290
|
+
Object.keys(u).forEach((_) => {
|
291
|
+
W(_, u[_]);
|
292
292
|
});
|
293
293
|
}).catch((u) => {
|
294
294
|
console.log(u);
|
@@ -302,68 +302,67 @@ function St(t, e, o) {
|
|
302
302
|
name: a("az"),
|
303
303
|
isNew: a("newest"),
|
304
304
|
"advancedTags(name(hot))": a("hottest")
|
305
|
-
},
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
o(3, S = n);
|
305
|
+
}, L = () => {
|
306
|
+
o(3, x = "All"), o(2, S = !1), o(1, w = !1);
|
307
|
+
let n = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[p];
|
308
|
+
n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
|
309
|
+
}, T = (n) => {
|
310
|
+
o(3, x = n);
|
312
311
|
let u = localStorage.getItem("vendorSortingBy");
|
313
|
-
|
314
|
-
for (let
|
315
|
-
if (C[
|
316
|
-
|
312
|
+
v = n;
|
313
|
+
for (let _ in C)
|
314
|
+
if (C[_] === n) {
|
315
|
+
v = _;
|
317
316
|
break;
|
318
317
|
}
|
319
|
-
u == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [
|
318
|
+
u == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [p]: v })) : (u = JSON.parse(u), u[p] = v, localStorage.setItem("vendorSortingBy", JSON.stringify(u))), window.postMessage(
|
320
319
|
{
|
321
320
|
type: "ApplySorter",
|
322
|
-
sortBy:
|
323
|
-
itemId:
|
321
|
+
sortBy: v,
|
322
|
+
itemId: p
|
324
323
|
},
|
325
324
|
window.location.href
|
326
|
-
), o(1,
|
327
|
-
},
|
328
|
-
o(1,
|
329
|
-
},
|
330
|
-
n.data.type == "FilterOpened" && o(1,
|
325
|
+
), o(1, w = !w);
|
326
|
+
}, F = () => {
|
327
|
+
o(1, w = !w), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
328
|
+
}, A = (n) => {
|
329
|
+
n.data.type == "FilterOpened" && o(1, w = !1);
|
331
330
|
};
|
332
|
-
ct(() => (window.addEventListener("message",
|
333
|
-
window.removeEventListener("message",
|
331
|
+
ct(() => (window.addEventListener("message", A, !1), () => {
|
332
|
+
window.emMessageBus != null && b && b.unsubscribe(), window.removeEventListener("message", A);
|
334
333
|
}));
|
335
|
-
const
|
334
|
+
const N = () => F(), I = (n) => T(n);
|
336
335
|
function M(n) {
|
337
|
-
|
338
|
-
|
336
|
+
pt[n ? "unshift" : "push"](() => {
|
337
|
+
g = n, o(0, g);
|
339
338
|
});
|
340
339
|
}
|
341
340
|
return t.$$set = (n) => {
|
342
|
-
"lang" in n && o(8,
|
341
|
+
"lang" in n && o(8, s = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11, f = n.clientstylingurl), "categoryid" in n && o(12, p = n.categoryid), "mbsource" in n && o(13, k = n.mbsource);
|
343
342
|
}, t.$$.update = () => {
|
344
343
|
t.$$.dirty & /*categoryid*/
|
345
|
-
4096 &&
|
346
|
-
1025 && d &&
|
347
|
-
2049 && f &&
|
348
|
-
8193 &&
|
349
|
-
512 && i &&
|
344
|
+
4096 && p && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
345
|
+
1025 && d && g && ut(g, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
346
|
+
2049 && f && g && dt(g, f), t.$$.dirty & /*customStylingContainer, mbsource*/
|
347
|
+
8193 && g && gt(g, `${k}.Style`), t.$$.dirty & /*translationurl*/
|
348
|
+
512 && i && E();
|
350
349
|
}, [
|
351
|
-
|
352
|
-
|
353
|
-
_,
|
350
|
+
g,
|
351
|
+
w,
|
354
352
|
S,
|
353
|
+
x,
|
355
354
|
a,
|
356
355
|
C,
|
357
|
-
|
358
|
-
|
359
|
-
|
356
|
+
T,
|
357
|
+
F,
|
358
|
+
s,
|
360
359
|
i,
|
361
360
|
d,
|
362
361
|
f,
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
362
|
+
p,
|
363
|
+
k,
|
364
|
+
N,
|
365
|
+
I,
|
367
366
|
M
|
368
367
|
];
|
369
368
|
}
|
@@ -374,7 +373,7 @@ class vt extends ot {
|
|
374
373
|
e,
|
375
374
|
St,
|
376
375
|
bt,
|
377
|
-
|
376
|
+
st,
|
378
377
|
{
|
379
378
|
lang: 8,
|
380
379
|
translationurl: 9,
|
@@ -390,37 +389,37 @@ class vt extends ot {
|
|
390
389
|
return this.$$.ctx[8];
|
391
390
|
}
|
392
391
|
set lang(e) {
|
393
|
-
this.$$set({ lang: e }),
|
392
|
+
this.$$set({ lang: e }), H();
|
394
393
|
}
|
395
394
|
get translationurl() {
|
396
395
|
return this.$$.ctx[9];
|
397
396
|
}
|
398
397
|
set translationurl(e) {
|
399
|
-
this.$$set({ translationurl: e }),
|
398
|
+
this.$$set({ translationurl: e }), H();
|
400
399
|
}
|
401
400
|
get clientstyling() {
|
402
401
|
return this.$$.ctx[10];
|
403
402
|
}
|
404
403
|
set clientstyling(e) {
|
405
|
-
this.$$set({ clientstyling: e }),
|
404
|
+
this.$$set({ clientstyling: e }), H();
|
406
405
|
}
|
407
406
|
get clientstylingurl() {
|
408
407
|
return this.$$.ctx[11];
|
409
408
|
}
|
410
409
|
set clientstylingurl(e) {
|
411
|
-
this.$$set({ clientstylingurl: e }),
|
410
|
+
this.$$set({ clientstylingurl: e }), H();
|
412
411
|
}
|
413
412
|
get categoryid() {
|
414
413
|
return this.$$.ctx[12];
|
415
414
|
}
|
416
415
|
set categoryid(e) {
|
417
|
-
this.$$set({ categoryid: e }),
|
416
|
+
this.$$set({ categoryid: e }), H();
|
418
417
|
}
|
419
418
|
get mbsource() {
|
420
419
|
return this.$$.ctx[13];
|
421
420
|
}
|
422
421
|
set mbsource(e) {
|
423
|
-
this.$$set({ mbsource: e }),
|
422
|
+
this.$$set({ mbsource: e }), H();
|
424
423
|
}
|
425
424
|
}
|
426
425
|
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|