@everymatrix/casino-lobby 1.94.57 → 1.94.59

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 (67) hide show
  1. package/components/{CasinoCalendar-BjySUHyZ.js → CasinoCalendar-CoaTz_jR.js} +3 -3
  2. package/components/{CasinoCalendar-CPSaANk_.cjs → CasinoCalendar-Cp-imCH1.cjs} +1 -1
  3. package/components/{CasinoCalendar-BSSrHXNQ.js → CasinoCalendar-CpaQx7sA.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-DhX-usiB.js → CasinoCalendarDailyDetails-Cq0gOl_e.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-BoDKzZAL.js → CasinoCalendarDailyDetails-DPsdd4en.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-VGdSGrVK.cjs → CasinoCalendarDailyDetails-jlH67T60.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C3xfp-OS.cjs → CasinoCalendarDailyItem-CfD9-CcH.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CA5M4JX2.js → CasinoCalendarDailyItem-Cyly6Ir9.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CMjiC6kY.js → CasinoCalendarDailyItem-VSzwjWqR.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-DEc0M4Jn.js → CasinoCategoriesSlider-09ZR9FJl.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-BTw-gZW4.cjs → CasinoCategoriesSlider-D6-g9QQ6.cjs} +1 -1
  12. package/components/{CasinoCategoriesSlider-DmIIvJxr.js → CasinoCategoriesSlider-pRUcUYxN.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-CmZnRhGO.js → CasinoCollectionsProviders-BPJ5XdqV.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-BX2V3tDm.cjs → CasinoCollectionsProviders-C_qO0CNL.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-Bk2Q_dKh.js → CasinoCollectionsProviders-DbGO_0Zh.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DE_s0gS_.cjs → CasinoFavoritesSection-Bg6d_TfW.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-NizzPczK.js → CasinoFavoritesSection-CGK-zv4A.js} +2 -2
  18. package/components/{CasinoFavoritesSection-B5IloH92.js → CasinoFavoritesSection-COd3yDuY.js} +2 -2
  19. package/components/{CasinoFilter-CFym68mv.cjs → CasinoFilter-CzyjKfS5.cjs} +1 -1
  20. package/components/{CasinoFilter-UrtcDtAa.js → CasinoFilter-XOd7bayt.js} +1 -1
  21. package/components/{CasinoFilter-C4hPyQNk.js → CasinoFilter-XcOn7zhO.js} +1 -1
  22. package/components/{CasinoGameThumbnail-Cu4ldhfo.js → CasinoGameThumbnail-BsaAFg6n.js} +2 -2
  23. package/components/{CasinoGameThumbnail-Dg2U96dy.cjs → CasinoGameThumbnail-D3tdL4v7.cjs} +1 -1
  24. package/components/{CasinoGameThumbnail-DkOf6fv3.js → CasinoGameThumbnail-Y61tRQJx.js} +2 -2
  25. package/components/{CasinoGamesCategorySection-xB7lSgTz.js → CasinoGamesCategorySection-BDQ1Xucu.js} +4 -4
  26. package/components/{CasinoGamesCategorySection-BMVgv-gE.cjs → CasinoGamesCategorySection-OA_n5yaA.cjs} +2 -2
  27. package/components/{CasinoGamesCategorySection-C6V4Owht.js → CasinoGamesCategorySection-plXXoswJ.js} +4 -4
  28. package/components/{CasinoJackpotBanner-g0vrCtzB.js → CasinoJackpotBanner-BRmfIs-2.js} +1 -1
  29. package/components/{CasinoJackpotBanner-Czp2f53o.js → CasinoJackpotBanner-D5j-xWkO.js} +1 -1
  30. package/components/{CasinoJackpotBanner-Cmi7j_9o.cjs → CasinoJackpotBanner-DJK8xqfn.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-BeXbhcJS.js → CasinoLastPlayedSection-BOOdIrXu.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-DIOQytk1.js → CasinoLastPlayedSection-CJxufw1K.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-eVskdQwE.cjs → CasinoLastPlayedSection-CkTxJ6SO.cjs} +1 -1
  34. package/components/{CasinoLobby-CTZObrkO.cjs → CasinoLobby-DIkig4WG.cjs} +1 -1
  35. package/components/{CasinoLobby-DlkT0ycq.js → CasinoLobby-DRjYP2iF.js} +2 -2
  36. package/components/{CasinoLobby-CmAf2BJ4.js → CasinoLobby-DyaYqltG.js} +2 -2
  37. package/components/{CasinoMostPlayedSection-D08L25CV.cjs → CasinoMostPlayedSection-82I7E9ZL.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-BdNavRAR.js → CasinoMostPlayedSection-C8XgLZ91.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-CsYfyBz6.js → CasinoMostPlayedSection-Dg-0RPhz.js} +2 -2
  40. package/components/{CasinoMyGames-DquSH-8S.js → CasinoMyGames-BoZehbQx.js} +4 -4
  41. package/components/{CasinoMyGames-BkZPnCAU.cjs → CasinoMyGames-CDvUNXwc.cjs} +1 -1
  42. package/components/{CasinoMyGames-DXHLKn-b.js → CasinoMyGames-PTaJ1yEA.js} +4 -4
  43. package/components/{CasinoPage-BMNjtSeY.js → CasinoPage-B66gbJsn.js} +10 -10
  44. package/components/{CasinoPage-Z_i9BoVq.cjs → CasinoPage-CO_xYgnl.cjs} +1 -1
  45. package/components/{CasinoPage-6DlUJdNB.js → CasinoPage-CTbeMyxv.js} +10 -10
  46. package/components/{CasinoRandomGame-CmSz_YAA.js → CasinoRandomGame-BFf6CAdf.js} +1 -1
  47. package/components/{CasinoRandomGame-sGQ_8-fH.cjs → CasinoRandomGame-CSbnApbA.cjs} +1 -1
  48. package/components/{CasinoRandomGame-CZbhowv3.js → CasinoRandomGame-osKbYiaZ.js} +1 -1
  49. package/components/{CasinoSearch-YX2fRFUd.js → CasinoSearch-Bk1qpBEr.js} +71 -71
  50. package/components/{CasinoSearch-DaPqNPP0.js → CasinoSearch-Bp_fbYTc.js} +71 -71
  51. package/components/{CasinoSearch-DDc1Do7_.cjs → CasinoSearch-CRYZwtHG.cjs} +1 -1
  52. package/components/{CasinoSlider-BtDxtbI7.js → CasinoSlider-DJ_62L1M.js} +1 -1
  53. package/components/{CasinoSlider-Cz1PnHTs.cjs → CasinoSlider-D__0DCfj.cjs} +1 -1
  54. package/components/{CasinoSlider-C2_jk1q5.js → CasinoSlider-tMLSNfLx.js} +1 -1
  55. package/components/{CasinoSort-k10aVq_3.js → CasinoSort-BUG8Ttqf.js} +1 -1
  56. package/components/{CasinoSort-RSvZK7cN.cjs → CasinoSort-Btc3CmAR.cjs} +1 -1
  57. package/components/{CasinoSort-8w8Vz2RT.js → CasinoSort-DaPZ-3lK.js} +1 -1
  58. package/components/{CasinoWinners-CYwfUKUr.js → CasinoWinners-B_vnkkma.js} +2 -2
  59. package/components/{CasinoWinners-BO86kYDi.cjs → CasinoWinners-DCy9pcHz.cjs} +1 -1
  60. package/components/{CasinoWinners-Ck4zkyiP.js → CasinoWinners-tJ3cGXbC.js} +2 -2
  61. package/components/{GeneralAnimationLoading-CULwno4n.js → GeneralAnimationLoading-BOkme8mJ.js} +1 -1
  62. package/components/{GeneralAnimationLoading-BqJ_ozRW.cjs → GeneralAnimationLoading-Cb4rxG4A.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-XCOgxsu9.js → GeneralAnimationLoading-JswN4ukT.js} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-CTZObrkO.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-kfgfhx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,se):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
1
+ "use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-DIkig4WG.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-kfgfhx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,se):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
2
2
  </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function ge(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function fe(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function he(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&A(n);function _(d,y){if(d[1])return fe;if(!d[1])return ge}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=A(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function ye(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,C=!1,O=window.navigator.userAgent,G,v,j,L,E,N=null;le({withLocale:"en",translations:{}});const q=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const U=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=V(w.slice(0,19))),a(7,C=!0)):(a(4,k=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},V=i=>{const h=X(i);return h.concat(h)},Y=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield Y();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,F=(j.offsetHeight+h)*L,ne=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${F}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ne,oe),N.onfinish=()=>{a(6,S=!0)}}),X=i=>{const h=structuredClone(i);let x=h.length,F;for(;x!=0;)F=Math.floor(Math.random()*x),x--,[h[x],h[F]]=[h[F],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Z=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},K=()=>{re(g)};e.onMount(()=>()=>{});function Q(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const $=()=>T(),ee=()=>B(),te=()=>T();function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&K(),n.$$.dirty[0]&131072&&m&&q(),n.$$.dirty[0]&24576&&c&&f&&U(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`,E)},[l,_,G,b,k,M,S,C,v,o,T,B,Z,c,f,p,g,m,u,d,y,R,s,r,Q,$,ee,te,ae]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ye,he,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},ie,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
@@ -14,7 +14,7 @@ var H = (a, e, t) => new Promise((n, l) => {
14
14
  }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, c);
15
15
  p((t = t.apply(a, e)).next());
16
16
  });
17
- import { v as E, w as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, x as O, y as P, G as Me, z as Fe, c as k, m as h, M as J, e as w, C, k as u, g as Ce, o as Le, O as Se, P as We, Q as Te, R as je, h as Ne, j as V, E as L, F as S, u as Be, I as Z, Z as ze, n as Ie, a0 as K, Y as Q, K as Pe, p as Je, q as Ae, r as De, t as He, $ as Ee } from "./CasinoLobby-CmAf2BJ4.js";
17
+ import { v as E, w as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, x as O, y as P, G as Me, z as Fe, c as k, m as h, M as J, e as w, C, k as u, g as Ce, o as Le, O as Se, P as We, Q as Te, R as je, h as Ne, j as V, E as L, F as S, u as Be, I as Z, Z as ze, n as Ie, a0 as K, Y as Q, K as Pe, p as Je, q as Ae, r as De, t as He, $ as Ee } from "./CasinoLobby-DyaYqltG.js";
18
18
  function Oe({ withLocale: a, translations: e }) {
19
19
  E.subscribe((t) => {
20
20
  t == null && (_e.set(e), E.set(a));
@@ -14,9 +14,9 @@ var ue = (t, e, a) => new Promise((n, r) => {
14
14
  }, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
15
15
  i((a = a.apply(t, e)).next());
16
16
  });
17
- import { a as Ve, v as Je, S as Ze, i as Ye, s as Ke, f as L, b as Xe, n as he, d as j, K as Qe, k as g, a2 as de, c as I, m as b, M as U, e as k, C as z, a0 as me, h as ae, g as $e, o as et, E as q, F as H, j as fe, I as ge, Z as tt, D as Te, l as u, p as at, q as nt, r as rt, t as ot, $ as st } from "./CasinoLobby-CmAf2BJ4.js";
18
- import { d as lt } from "./CasinoWinners-Ck4zkyiP.js";
19
- import "./CasinoGamesCategorySection-C6V4Owht.js";
17
+ import { a as Ve, v as Je, S as Ze, i as Ye, s as Ke, f as L, b as Xe, n as he, d as j, K as Qe, k as g, a2 as de, c as I, m as b, M as U, e as R, C as z, a0 as me, h as ae, g as $e, o as et, E as q, F as H, j as fe, I as ge, Z as tt, D as Te, l as u, p as at, q as nt, r as rt, t as ot, $ as st } from "./CasinoLobby-DyaYqltG.js";
18
+ import { d as lt } from "./CasinoWinners-tJ3cGXbC.js";
19
+ import "./CasinoGamesCategorySection-plXXoswJ.js";
20
20
  function pe(t, e) {
21
21
  Ve(t, e);
22
22
  }
@@ -250,7 +250,7 @@ function we(t) {
250
250
  ), n, r, l, s;
251
251
  return {
252
252
  c() {
253
- e = k("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
253
+ e = R("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
254
254
  (t[16] ? "NotVisible" : ""));
255
255
  },
256
256
  m(i, c) {
@@ -298,7 +298,7 @@ function dt(t) {
298
298
  );
299
299
  return {
300
300
  c() {
301
- i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
301
+ i && i.c(), e = z(), a = R("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
302
302
  (t[17] == !0 ? "" : "NotVisible"));
303
303
  },
304
304
  m(h, f) {
@@ -324,7 +324,7 @@ function mt(t) {
324
324
  ), n;
325
325
  return {
326
326
  c() {
327
- e = k("p"), n = H(a), g(e, "class", "LoadingContent");
327
+ e = R("p"), n = H(a), g(e, "class", "LoadingContent");
328
328
  },
329
329
  m(r, l) {
330
330
  I(r, e, l), b(e, n);
@@ -346,7 +346,7 @@ function ft(t) {
346
346
  ), n;
347
347
  return {
348
348
  c() {
349
- e = k("p"), n = H(a), g(e, "class", "SearchMessage");
349
+ e = R("p"), n = H(a), g(e, "class", "SearchMessage");
350
350
  },
351
351
  m(r, l) {
352
352
  I(r, e, l), b(e, n);
@@ -393,7 +393,7 @@ function ve(t) {
393
393
  ), n;
394
394
  return {
395
395
  c() {
396
- e = k("p"), n = H(a), g(e, "class", "SearchMessage");
396
+ e = R("p"), n = H(a), g(e, "class", "SearchMessage");
397
397
  },
398
398
  m(r, l) {
399
399
  I(r, e, l), b(e, n);
@@ -418,7 +418,7 @@ function ye(t) {
418
418
  );
419
419
  return {
420
420
  c() {
421
- e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
421
+ e = R("div"), i && i.c(), a = z(), n = R("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
422
422
  (t[10] == "true" ? "WithIcon" : ""));
423
423
  },
424
424
  m(c, m) {
@@ -441,7 +441,7 @@ function ke(t) {
441
441
  let e;
442
442
  return {
443
443
  c() {
444
- e = k("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', g(e, "class", "SearchErrorIcon");
444
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', g(e, "class", "SearchErrorIcon");
445
445
  },
446
446
  m(a, n) {
447
447
  I(a, e, n);
@@ -492,11 +492,11 @@ function Re(t) {
492
492
  };
493
493
  }
494
494
  function Ce(t) {
495
- let e, a, n, r, l, s, i, c, m, h, f, w;
495
+ let e, a, n, r, l, s, i, c, m, h, f, v;
496
496
  return {
497
497
  c() {
498
498
  var d;
499
- e = k("casino-game-thumbnail"), u(
499
+ e = R("casino-game-thumbnail"), u(
500
500
  e,
501
501
  "endpoint",
502
502
  /*endpoint*/
@@ -540,7 +540,7 @@ function Ce(t) {
540
540
  t[6]
541
541
  ), u(e, "gamefunmode", h = /*game*/
542
542
  t[55].hasFunMode), u(e, "gamefavorite", f = /*game*/
543
- t[55].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
543
+ t[55].isFavorite), u(e, "livelobbyendpoint", v = /*game*/
544
544
  t[55].details ? (
545
545
  /*game*/
546
546
  t[55].launchUrl
@@ -642,11 +642,11 @@ function Ce(t) {
642
642
  d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
643
643
  8192 && f !== (f = /*game*/
644
644
  d[55].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
645
- 8192 && w !== (w = /*game*/
645
+ 8192 && v !== (v = /*game*/
646
646
  d[55].details ? (
647
647
  /*game*/
648
648
  d[55].launchUrl
649
- ) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
649
+ ) : "") && u(e, "livelobbyendpoint", v), p[0] & /*integratedgameframedesktop*/
650
650
  16 && u(
651
651
  e,
652
652
  "integratedgameframedesktop",
@@ -702,24 +702,24 @@ function Fe(t) {
702
702
  );
703
703
  return {
704
704
  c() {
705
- e = k("div"), f && f.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
705
+ e = R("div"), f && f.c(), a = z(), n = R("p"), l = H(r), s = z(), i = R("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
706
706
  (t[10] == "true" ? "WithIcon" : ""));
707
707
  },
708
- m(w, d) {
709
- I(w, e, d), f && f.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
708
+ m(v, d) {
709
+ I(v, e, d), f && f.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
710
710
  },
711
- p(w, d) {
711
+ p(v, d) {
712
712
  /*notfoundicon*/
713
- w[10] === "true" ? f || (f = Le(), f.c(), f.m(e, a)) : f && (f.d(1), f = null), d[0] & /*$_*/
713
+ v[10] === "true" ? f || (f = Le(), f.c(), f.m(e, a)) : f && (f.d(1), f = null), d[0] & /*$_*/
714
714
  2097152 && r !== (r = /*$_*/
715
- w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
715
+ v[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
716
716
  2097152 && c !== (c = /*$_*/
717
- w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
717
+ v[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
718
718
  1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
719
- (w[10] == "true" ? "WithIcon" : "")) && g(e, "class", h);
719
+ (v[10] == "true" ? "WithIcon" : "")) && g(e, "class", h);
720
720
  },
721
- d(w) {
722
- w && j(e), f && f.d();
721
+ d(v) {
722
+ v && j(e), f && f.d();
723
723
  }
724
724
  };
725
725
  }
@@ -727,7 +727,7 @@ function Le(t) {
727
727
  let e;
728
728
  return {
729
729
  c() {
730
- e = k("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', g(e, "class", "SearchErrorIcon");
730
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', g(e, "class", "SearchErrorIcon");
731
731
  },
732
732
  m(a, n) {
733
733
  I(a, e, n);
@@ -738,7 +738,7 @@ function Le(t) {
738
738
  };
739
739
  }
740
740
  function pt(t) {
741
- let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, J, A, W, v = (
741
+ let e, a, n, r, l, s, i, c, m, h, f, v, d, p, N, P, M, J, A, W, y = (
742
742
  /*cancelbutton*/
743
743
  t[9] === "true" && we(t)
744
744
  );
@@ -748,11 +748,11 @@ function pt(t) {
748
748
  _[18] ? mt : dt
749
749
  );
750
750
  }
751
- let B = G(t), R = B(t);
751
+ let B = G(t), C = B(t);
752
752
  return {
753
753
  c() {
754
- e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = me("svg"), f = me("path"), d = z(), v && v.c(), N = z(), P = k("div"), J = z(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
755
- t[21]("placeHolderSearchGames")), g(s, "maxlength", St), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
754
+ e = R("div"), a = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = R("input"), c = z(), m = R("span"), h = me("svg"), f = me("path"), d = z(), y && y.c(), N = z(), P = R("div"), J = z(), C.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
755
+ t[21]("placeHolderSearchGames")), g(s, "maxlength", St), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", v = "SearchClearButton " + /*cancelbutton*/
756
756
  (t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
757
757
  (t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
758
758
  (t[16] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(P, "class", M = /*cancelbutton*/
@@ -766,7 +766,7 @@ function pt(t) {
766
766
  s,
767
767
  /*searchValue*/
768
768
  t[14]
769
- ), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, N), b(e, P), b(e, J), R.m(e, null), t[38](e), A || (W = [
769
+ ), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), y && y.m(n, null), b(e, N), b(e, P), b(e, J), C.m(e, null), t[38](e), A || (W = [
770
770
  U(
771
771
  s,
772
772
  "input",
@@ -809,19 +809,19 @@ function pt(t) {
809
809
  /*searchValue*/
810
810
  _[14]
811
811
  ), T[0] & /*cancelbutton, searchValue*/
812
- 16896 && w !== (w = "SearchClearButton " + /*cancelbutton*/
812
+ 16896 && v !== (v = "SearchClearButton " + /*cancelbutton*/
813
813
  (_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
814
- (_[14].length != 0 ? "" : "NotVisible")) && g(m, "class", w), /*cancelbutton*/
815
- _[9] === "true" ? v ? v.p(_, T) : (v = we(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
814
+ (_[14].length != 0 ? "" : "NotVisible")) && g(m, "class", v), /*cancelbutton*/
815
+ _[9] === "true" ? y ? y.p(_, T) : (y = we(_), y.c(), y.m(n, null)) : y && (y.d(1), y = null), T[0] & /*searchCancelled*/
816
816
  65536 && p !== (p = "Search " + /*searchCancelled*/
817
817
  (_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
818
818
  512 && M !== (M = /*cancelbutton*/
819
- _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = G(_)) && R ? R.p(_, T) : (R.d(1), R = B(_), R && (R.c(), R.m(e, null)));
819
+ _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = G(_)) && C ? C.p(_, T) : (C.d(1), C = B(_), C && (C.c(), C.m(e, null)));
820
820
  },
821
821
  i: he,
822
822
  o: he,
823
823
  d(_) {
824
- _ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Qe(W);
824
+ _ && j(e), t[35](null), y && y.d(), C.d(), t[38](null), A = !1, Qe(W);
825
825
  }
826
826
  };
827
827
  }
@@ -829,11 +829,11 @@ let St = 50;
829
829
  function bt(t, e, a) {
830
830
  let n;
831
831
  $e(t, st, (o) => a(21, n = o));
832
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], B = {}, R = "", _, T = !0, Z = !1, E = !1, x, K = !1, X, Q, re = [], je;
832
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: v = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, y = [], G = [], B = {}, C = "", _, T = !0, Z = !1, E = !1, x, K = !1, X, Q, re = [], je;
833
833
  const Ie = () => {
834
834
  fetch(N).then((S) => S.json()).then((S) => {
835
- Object.keys(S).forEach((y) => {
836
- pe(y, S[y]);
835
+ Object.keys(S).forEach((k) => {
836
+ pe(k, S[k]);
837
837
  });
838
838
  }).catch((S) => {
839
839
  console.log(S);
@@ -845,20 +845,20 @@ function bt(t, e, a) {
845
845
  const oe = (o) => {
846
846
  o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
847
847
  }, se = () => {
848
- if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
849
- a(13, v = []);
848
+ if (a(16, T = !1), a(17, Z = !0), r && l && c && C.length < 2) {
849
+ a(13, y = []);
850
850
  let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
851
851
  o && (S = o.split(","));
852
- let y = [], C = 0, F = S.length;
852
+ let k = [], w = 0, F = S.length;
853
853
  if (F > 0) {
854
- for (C = 0; C < F; C++) {
855
- let D = new URL(`${r}/v1/casino/games/${S[C]}`);
856
- D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), y.push(Ee(D, S[C]));
854
+ for (w = 0; w < F; w++) {
855
+ let D = new URL(`${r}/v1/casino/games/${S[w]}`);
856
+ D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), k.push(Ee(D, S[w]));
857
857
  }
858
- Promise.all(y).then((D) => {
858
+ Promise.all(k).then((D) => {
859
859
  D = D.filter(function(O) {
860
860
  return !!O;
861
- }), a(13, v = D.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
861
+ }), a(13, y = D.map((O) => (O.isFavorite = le(O.id), O))), y.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
862
862
  }).catch((D) => {
863
863
  Y("searchError", "SearchWidget");
864
864
  });
@@ -869,17 +869,17 @@ function bt(t, e, a) {
869
869
  typeof gtag == "function" && gtag("event", o, { context: S });
870
870
  }, De = () => {
871
871
  M != "true" && $();
872
- }, Ge = (o) => new Promise((S, y) => {
873
- a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
874
- a(18, E = !1), S(C);
875
- }).catch((C) => {
876
- a(18, E = !1), console.error(C), y(C);
872
+ }, Ge = (o) => new Promise((S, k) => {
873
+ a(18, E = !0), fetch(o.href).then((w) => w.json()).then((w) => {
874
+ a(18, E = !1), S(w);
875
+ }).catch((w) => {
876
+ a(18, E = !1), console.error(w), k(w);
877
877
  });
878
- }), Ee = (o, S) => new Promise((y, C) => {
879
- a(18, E = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, E = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
880
- a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
878
+ }), Ee = (o, S) => new Promise((k, w) => {
879
+ a(18, E = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, E = !1), k(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
880
+ a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), k(F[0]);
881
881
  }).catch((F) => {
882
- a(18, E = !1), console.error(F), C(F);
882
+ a(18, E = !1), console.error(F), w(F);
883
883
  });
884
884
  }), ze = () => {
885
885
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
@@ -888,19 +888,19 @@ function bt(t, e, a) {
888
888
  method: "GET",
889
889
  headers: { "X-SessionID": X }
890
890
  };
891
- fetch(o.href, S).then((y) => y.json()).then((y) => {
892
- a(18, E = !1), re = y.items.map((C) => C.id);
891
+ fetch(o.href, S).then((k) => k.json()).then((k) => {
892
+ a(18, E = !1), re = k.items.map((w) => w.id);
893
893
  });
894
894
  }, Ne = () => {
895
895
  a(33, K = !0), a(19, X = s), a(20, Q = i);
896
896
  }, le = (o) => re.findIndex((S) => S == o) !== -1, Pe = (o) => {
897
897
  if ((o == null ? void 0 : o.length) === 0)
898
898
  return "";
899
- let S, y = 99999999999, C;
899
+ let S, k = 99999999999, w;
900
900
  const F = new Date(Date.now());
901
901
  return o.forEach((D, O) => {
902
902
  const Ue = new Date(D.schedules[0].startTime), te = new Date(D.schedules[0].endTime);
903
- be(new Date(te), new Date(F)) < y && (y = be(new Date(te), new Date(F)), C = O), ct(new Date(F), new Date(Ue)) && ut(new Date(F), new Date(te)) && (S = o[C].name);
903
+ be(new Date(te), new Date(F)) < k && (k = be(new Date(te), new Date(F)), w = O), ct(new Date(F), new Date(Ue)) && ut(new Date(F), new Date(te)) && (S = o[w].name);
904
904
  }), S;
905
905
  }, xe = (o) => {
906
906
  if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
@@ -908,9 +908,9 @@ function bt(t, e, a) {
908
908
  G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
909
909
  }
910
910
  }, $ = () => {
911
- a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
911
+ a(14, C = ""), a(16, T = !0), a(18, E = !1), a(13, y = []), a(17, Z = !1), ce(Z);
912
912
  }, ie = () => {
913
- a(14, R = ""), _.focus();
913
+ a(14, C = ""), _.focus();
914
914
  }, ce = (o) => {
915
915
  window.postMessage(
916
916
  {
@@ -922,10 +922,10 @@ function bt(t, e, a) {
922
922
  }, Me = () => {
923
923
  it(c);
924
924
  }, Be = lt(() => ue(this, null, function* () {
925
- if (R.length >= 2) {
926
- const o = new URL(`${r}/v1/casino/games`);
927
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Ge(o).then((S) => {
928
- a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
925
+ if (C.length >= 2) {
926
+ const o = new URL(`${r}/v1/casino/games`), S = C.trim().split(/[\s,.]+/).filter(Boolean);
927
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", S.map((k) => `name=${k}`).join(",")), Ge(o).then((k) => {
928
+ a(13, y = k.items.map((w) => (w.isFavorite = le(w.id), w)));
929
929
  });
930
930
  } else
931
931
  T || se();
@@ -934,7 +934,7 @@ function bt(t, e, a) {
934
934
  window.removeEventListener("message", oe);
935
935
  }));
936
936
  function Ae() {
937
- R = this.value, a(14, R);
937
+ C = this.value, a(14, C);
938
938
  }
939
939
  function Oe(o) {
940
940
  fe[o ? "unshift" : "push"](() => {
@@ -948,7 +948,7 @@ function bt(t, e, a) {
948
948
  });
949
949
  }
950
950
  return t.$$set = (o) => {
951
- "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
951
+ "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, v = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
952
952
  }, t.$$.update = () => {
953
953
  t.$$.dirty[0] & /*lang*/
954
954
  2 && c && Me(), t.$$.dirty[1] & /*translationurl*/
@@ -966,7 +966,7 @@ function bt(t, e, a) {
966
966
  m,
967
967
  h,
968
968
  f,
969
- w,
969
+ v,
970
970
  d,
971
971
  p,
972
972
  P,
@@ -974,8 +974,8 @@ function bt(t, e, a) {
974
974
  J,
975
975
  A,
976
976
  x,
977
- v,
978
- R,
977
+ y,
978
+ C,
979
979
  _,
980
980
  T,
981
981
  Z,