@everymatrix/casino-page 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-DwKH1vl3.js} +1101 -1101
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-tMtCN0uW.js} +960 -960
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-DoRepmON.js} +54 -54
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-Yt2ApEP5.js} +52 -52
  13. package/components/{CasinoFavoritesSection-CPFXr99O.js → CasinoFavoritesSection-M3wz4Hsn.js} +32 -31
  14. package/components/{CasinoFavoritesSection-BMxE9u9W.js → CasinoFavoritesSection-UtUw8bHl.js} +32 -31
  15. package/components/CasinoFavoritesSection-eK-e7FeC.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-BbKgy4VX.js} +246 -247
  18. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-Cb7FySTm.js} +235 -234
  19. package/components/CasinoGameThumbnail-10TTv4CH.cjs +47 -0
  20. package/components/{CasinoGameThumbnail-CfP973nP.js → CasinoGameThumbnail-BZ8OnqL9.js} +569 -553
  21. package/components/{CasinoGameThumbnail-hqC7YEtD.js → CasinoGameThumbnail-BokqjU_3.js} +1116 -1132
  22. package/components/CasinoGamesCategorySection-BtYQ_Cmz.cjs +1 -0
  23. package/components/{CasinoGamesCategorySection-B2K0Knl1.js → CasinoGamesCategorySection-CeuGEQJP.js} +659 -695
  24. package/components/{CasinoGamesCategorySection-CD0rjXbd.js → CasinoGamesCategorySection-mejOW_4O.js} +1084 -1120
  25. package/components/{CasinoJackpotBanner-rIlKc9yB.js → CasinoJackpotBanner-BaqwOwIt.js} +146 -144
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-BIHc0ZJN.js → CasinoJackpotBanner-Dnu1YGvy.js} +149 -147
  28. package/components/CasinoLastPlayedSection-1vrPgQaO.cjs +1 -0
  29. package/components/{CasinoLastPlayedSection-BrUPu7bW.js → CasinoLastPlayedSection-BSbuszLI.js} +48 -48
  30. package/components/{CasinoLastPlayedSection-CbftznEu.js → CasinoLastPlayedSection-D1gqQwzF.js} +48 -48
  31. package/components/{CasinoMostPlayedSection-CK_65V_H.js → CasinoMostPlayedSection-CgUwp5nt.js} +170 -161
  32. package/components/CasinoMostPlayedSection-DtSDqrXG.cjs +1 -0
  33. package/components/{CasinoMostPlayedSection-Cn5hGmEL.js → CasinoMostPlayedSection-jWqnrmjv.js} +170 -161
  34. package/components/{CasinoMyGames-Bl1r6y2U.js → CasinoMyGames-BRGZxXY6.js} +331 -298
  35. package/components/CasinoMyGames-CPWV0sSu.cjs +1 -0
  36. package/components/{CasinoMyGames-RRWE3bwH.js → CasinoMyGames-DrnKvqrj.js} +333 -300
  37. package/components/CasinoPage-BxqUNSyB.cjs +1 -0
  38. package/components/{CasinoPage-Co3MjNG2.js → CasinoPage-CP0TDj2s.js} +593 -530
  39. package/components/{CasinoPage-DgRtBnkW.js → CasinoPage-oah0JVVU.js} +708 -645
  40. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-D9BEuIS2.js} +60 -60
  42. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-T1GVZYOt.js} +60 -60
  43. package/components/{CasinoSearch-noyB94iJ.js → CasinoSearch-BX1qMF6U.js} +69 -69
  44. package/components/{CasinoSearch-B8ow9TRS.js → CasinoSearch-Cfj0uLun.js} +69 -69
  45. package/components/{CasinoSearch-8dLpmGZC.cjs → CasinoSearch-DvRie_tr.cjs} +1 -1
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-4fX-Jkcx.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DbNw8Ecj.js} +151 -151
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-Dn6mLcJT.js} +171 -171
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  64. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  65. package/components/CasinoCalendar-hlupOGnG.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  67. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  68. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  69. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  70. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  71. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  72. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  73. package/components/CasinoFavoritesSection-C8XipeGx.cjs +0 -1
  74. package/components/CasinoFilter-Dca8BAHj.cjs +0 -1
  75. package/components/CasinoGameThumbnail-C-Tt8tAv.cjs +0 -47
  76. package/components/CasinoGamesCategorySection-CppaXkzh.cjs +0 -1
  77. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  78. package/components/CasinoLastPlayedSection-BVjRebLJ.cjs +0 -1
  79. package/components/CasinoMostPlayedSection-C_4j7zs2.cjs +0 -1
  80. package/components/CasinoMyGames-20ibf19k.cjs +0 -1
  81. package/components/CasinoPage-DVD4VGGZ.cjs +0 -1
  82. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  83. package/components/CasinoSort-B6tKDPof.js +0 -428
  84. package/components/CasinoSort-D05yyakn.js +0 -427
  85. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  86. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  87. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  88. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  89. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  90. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BUWW4Xzj.cjs");require("./CasinoFavoritesSection-eK-e7FeC.cjs");function z(n,e){t.addMessages(n,e)}function Q(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."}};function W(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 X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"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 p(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]?p:X}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:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=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,N=!1,w=[],O,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/${_}/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"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.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,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(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,_=s.userid),"clientstyling"in s&&a(6,h=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,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=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&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),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,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}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},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[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,12 +1,12 @@
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, v as A, d as M, w as V, D as B, j as D, k as re, o as oe, K as ue, n as ce, L as ge, M as me, T as i, u as de, B as fe, F as he, U as ye } from "./CasinoCalendar-C1drIkmy.js";
2
- import "./CasinoFavoritesSection-CPFXr99O.js";
3
- function H(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, T as i, U as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-DwKH1vl3.js";
2
+ import "./CasinoFavoritesSection-M3wz4Hsn.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const K = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const K = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ ne(s, "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))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,27 +257,27 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = L("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), V(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
275
275
  function ke(s) {
276
276
  let e, t;
277
- function n(g, d) {
277
+ function n(m, d) {
278
278
  return (
279
279
  /*lastPlayedEmpty*/
280
- g[19] ? _e : we
280
+ m[19] ? _e : we
281
281
  );
282
282
  }
283
283
  let o = n(s), r = o(s);
@@ -285,38 +285,38 @@ function ke(s) {
285
285
  c() {
286
286
  e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
- m(g, d) {
289
- M(g, e, d), V(e, t), r.m(t, null), s[26](e);
288
+ m(m, d) {
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
- p(g, d) {
292
- o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
291
+ p(m, d) {
292
+ o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
293
  },
294
- i: B,
295
- o: B,
296
- d(g) {
297
- g && D(e), r.d(), s[26](null);
294
+ i: H,
295
+ o: H,
296
+ d(m) {
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: T = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, Z = window.navigator.userAgent, Y = !1, k = [], I, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
305
305
  const Q = () => {
306
- fetch(w).then((m) => m.json()).then((m) => {
307
- Object.keys(m).forEach((u) => {
308
- H(u, m[u]);
306
+ fetch(w).then((g) => g.json()).then((g) => {
307
+ Object.keys(g).forEach((u) => {
308
+ K(u, g[u]);
309
309
  });
310
- }).catch((m) => {
311
- console.log(m);
310
+ }).catch((g) => {
311
+ console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(K).forEach((a) => {
315
- H(a, K[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[a]);
316
316
  });
317
- const W = () => new Promise((a, m) => {
317
+ const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -328,16 +328,16 @@ function Le(s, e, t) {
328
328
  window.location.href
329
329
  ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
330
330
  }).catch((c) => {
331
- console.error(c), m(c);
331
+ console.error(c), g(c);
332
332
  });
333
333
  }), X = () => {
334
334
  W().then((a) => {
335
335
  if (a.count > 0) {
336
- let m = [];
336
+ let g = [];
337
337
  a.items.forEach((u) => {
338
338
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
- h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
340
- }), Promise.all(m).then((u) => {
339
+ h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
+ }), Promise.all(g).then((u) => {
341
341
  k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
342
342
  });
343
343
  } else
@@ -346,37 +346,37 @@ function Le(s, e, t) {
346
346
  }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
351
  function x(a) {
352
- ce[a ? "unshift" : "push"](() => {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, E = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, N = a.gamepagemodalurl), "showgamename" in a && t(12, T = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, T = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
361
  2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && me(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
363
+ 262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
365
  8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
- g,
369
+ m,
370
370
  d,
371
- F,
371
+ E,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- z,
377
- E,
376
+ F,
378
377
  N,
379
378
  T,
379
+ z,
380
380
  P,
381
381
  O,
382
382
  G,
@@ -386,8 +386,8 @@ function Le(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
393
  x
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
572
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
572
+ he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
573
573
  export {
574
574
  Pe as default
575
575
  };
@@ -1,12 +1,12 @@
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, v as A, d as M, w as V, D as B, j as D, k as re, o as oe, K as ue, n as ce, L as ge, M as me, T as i, u as de, B as fe, F as he, U as ye } from "./CasinoCalendar-Dp2YIBXE.js";
2
- import "./CasinoFavoritesSection-BMxE9u9W.js";
3
- function H(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, T as i, U as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-tMtCN0uW.js";
2
+ import "./CasinoFavoritesSection-UtUw8bHl.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const K = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const K = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ ne(s, "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))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,27 +257,27 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = L("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), V(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
275
275
  function ke(s) {
276
276
  let e, t;
277
- function n(g, d) {
277
+ function n(m, d) {
278
278
  return (
279
279
  /*lastPlayedEmpty*/
280
- g[19] ? _e : we
280
+ m[19] ? _e : we
281
281
  );
282
282
  }
283
283
  let o = n(s), r = o(s);
@@ -285,38 +285,38 @@ function ke(s) {
285
285
  c() {
286
286
  e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
- m(g, d) {
289
- M(g, e, d), V(e, t), r.m(t, null), s[26](e);
288
+ m(m, d) {
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
- p(g, d) {
292
- o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
291
+ p(m, d) {
292
+ o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
293
  },
294
- i: B,
295
- o: B,
296
- d(g) {
297
- g && D(e), r.d(), s[26](null);
294
+ i: H,
295
+ o: H,
296
+ d(m) {
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: T = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, Z = window.navigator.userAgent, Y = !1, k = [], I, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
305
305
  const Q = () => {
306
- fetch(w).then((m) => m.json()).then((m) => {
307
- Object.keys(m).forEach((u) => {
308
- H(u, m[u]);
306
+ fetch(w).then((g) => g.json()).then((g) => {
307
+ Object.keys(g).forEach((u) => {
308
+ K(u, g[u]);
309
309
  });
310
- }).catch((m) => {
311
- console.log(m);
310
+ }).catch((g) => {
311
+ console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(K).forEach((a) => {
315
- H(a, K[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[a]);
316
316
  });
317
- const W = () => new Promise((a, m) => {
317
+ const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
321
  let J = !0;
322
322
  return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
@@ -328,16 +328,16 @@ function Le(s, e, t) {
328
328
  window.location.href
329
329
  ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
330
330
  }).catch((c) => {
331
- console.error(c), m(c);
331
+ console.error(c), g(c);
332
332
  });
333
333
  }), X = () => {
334
334
  W().then((a) => {
335
335
  if (a.count > 0) {
336
- let m = [];
336
+ let g = [];
337
337
  a.items.forEach((u) => {
338
338
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
- h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
340
- }), Promise.all(m).then((u) => {
339
+ h.searchParams.append("datasource", r), _ ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
+ }), Promise.all(g).then((u) => {
341
341
  k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
342
342
  });
343
343
  } else
@@ -346,37 +346,37 @@ function Le(s, e, t) {
346
346
  }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
351
  function x(a) {
352
- ce[a ? "unshift" : "push"](() => {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, E = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, N = a.gamepagemodalurl), "showgamename" in a && t(12, T = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, T = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
361
  2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && me(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
363
+ 262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
365
  8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
369
- g,
369
+ m,
370
370
  d,
371
- F,
371
+ E,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- z,
377
- E,
376
+ F,
378
377
  N,
379
378
  T,
379
+ z,
380
380
  P,
381
381
  O,
382
382
  G,
@@ -386,8 +386,8 @@ function Le(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
393
  x
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
572
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
572
+ he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
573
573
  export {
574
574
  Pe as default
575
575
  };