@everymatrix/casino-lobby 1.56.2 → 1.56.3

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 (62) hide show
  1. package/components/{CasinoCalendar-8h5qdaaJ.js → CasinoCalendar-BU2gZgoA.js} +16 -16
  2. package/components/{CasinoCalendar-D9zXfDS4.js → CasinoCalendar-BYhP1252.js} +16 -16
  3. package/components/{CasinoCalendarDailyDetails-D0Kx4qhT.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-DFwCqTfY.js → CasinoCalendarDailyDetails-zomrPGwC.js} +1 -1
  5. package/components/{CasinoCalendarDailyItem-C62RswBp.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +1 -1
  6. package/components/{CasinoCalendarDailyItem-DTqfqF2k.js → CasinoCalendarDailyItem-DO4dUNpH.js} +1 -1
  7. package/components/{CasinoCategoriesSlider-CCCss88T.js → CasinoCategoriesSlider-BOJ1THEs.js} +2 -2
  8. package/components/{CasinoCategoriesSlider-BhsSLM-H.js → CasinoCategoriesSlider-BXOmh9s8.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-8BCzbgO7.js → CasinoCollectionsProviders-BX_dEzdy.js} +250 -262
  11. package/components/{CasinoCollectionsProviders-B7jL1xWi.js → CasinoCollectionsProviders-CRAmbMuu.js} +249 -261
  12. package/components/{CasinoFavoritesSection-C0iLu9Sw.js → CasinoFavoritesSection-B74AEiJU.js} +17 -17
  13. package/components/{CasinoFavoritesSection-DrmyxOK7.cjs → CasinoFavoritesSection-BSNrnBte.cjs} +1 -1
  14. package/components/{CasinoFavoritesSection-8fm71dF4.js → CasinoFavoritesSection-CUsEA5HO.js} +17 -17
  15. package/components/{CasinoFilter-m6_88uQv.js → CasinoFilter-BtQon8od.js} +30 -30
  16. package/components/{CasinoFilter-BTgsR3X2.js → CasinoFilter-Du7IqNdv.js} +30 -30
  17. package/components/{CasinoGamePage-DAH5L6F5.cjs → CasinoGamePage-C8xrFvIL.cjs} +4 -4
  18. package/components/{CasinoGamePage-DAv8OZV8.js → CasinoGamePage-CHQ3jlqS.js} +497 -496
  19. package/components/{CasinoGamePage-CkvljoIb.js → CasinoGamePage-Dn6JZ69a.js} +497 -496
  20. package/components/{CasinoGameThumbnail-XF-v3tEC.cjs → CasinoGameThumbnail-BrbFrK0r.cjs} +1 -1
  21. package/components/{CasinoGameThumbnail-B4KIog_7.js → CasinoGameThumbnail-CYrNJU7D.js} +2 -2
  22. package/components/{CasinoGameThumbnail-BMm5Xl4k.js → CasinoGameThumbnail-ConJfCt9.js} +2 -2
  23. package/components/{CasinoGamesCategorySection-XWxil8vo.js → CasinoGamesCategorySection-BZB6Hzxo.js} +125 -125
  24. package/components/{CasinoGamesCategorySection-BSklauO4.cjs → CasinoGamesCategorySection-Bt_a-XLq.cjs} +1 -1
  25. package/components/{CasinoGamesCategorySection-DUDDLFW2.js → CasinoGamesCategorySection-C4dkhfxd.js} +5 -5
  26. package/components/{CasinoJackpotBanner-Bu16yaAe.js → CasinoJackpotBanner-B6za0Zjf.js} +1 -1
  27. package/components/{CasinoJackpotBanner-6WZPbIyJ.js → CasinoJackpotBanner-DVU6U9lr.js} +1 -1
  28. package/components/{CasinoLastPlayedSection-cjUgoZnI.cjs → CasinoLastPlayedSection-3_wA_Avg.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSection-BT4kxVP1.js → CasinoLastPlayedSection-F-ue8Czk.js} +2 -2
  30. package/components/{CasinoLastPlayedSection-DFUMCS3n.js → CasinoLastPlayedSection-OIDJ7awN.js} +2 -2
  31. package/components/{CasinoLobby-DrBFK5gG.js → CasinoLobby-BKNxdOkN.js} +37 -37
  32. package/components/{CasinoLobby-CRIb8E4f.cjs → CasinoLobby-BMoJpsqG.cjs} +1 -1
  33. package/components/{CasinoLobby-Di0-vjQH.js → CasinoLobby-fcvl9kle.js} +37 -37
  34. package/components/{CasinoModal-Ce9u8B9n.js → CasinoModal-BEa4Ij-6.js} +21 -21
  35. package/components/{CasinoModal-DMOewty4.js → CasinoModal-CFbQNGPR.js} +21 -21
  36. package/components/{CasinoMostPlayedSection-CXWjhKax.js → CasinoMostPlayedSection--tFE0qmd.js} +2 -2
  37. package/components/{CasinoMostPlayedSection-DAuM-1cc.js → CasinoMostPlayedSection-B-pH8QJC.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-C1K-DGkZ.cjs → CasinoMostPlayedSection-CdXD9mvv.cjs} +1 -1
  39. package/components/{CasinoMyGames-DQaVeSFh.cjs → CasinoMyGames-5m477zEd.cjs} +1 -1
  40. package/components/{CasinoMyGames-DTWGCs0t.js → CasinoMyGames-C6SFrIqO.js} +14 -14
  41. package/components/{CasinoMyGames-0CUDyeW1.js → CasinoMyGames-ol3GWqow.js} +14 -14
  42. package/components/{CasinoPage-Dn8IgsJW.cjs → CasinoPage-BRTqbLqB.cjs} +1 -1
  43. package/components/{CasinoPage-BFAkKTIr.js → CasinoPage-B_xsttc_.js} +29 -29
  44. package/components/{CasinoPage-CYfqznpn.js → CasinoPage-C-PL0HAg.js} +29 -29
  45. package/components/{CasinoRandomGame-CwNUHn-I.js → CasinoRandomGame-DcHbcmu8.js} +13 -13
  46. package/components/{CasinoRandomGame-qSedkhdM.js → CasinoRandomGame-Njs6ODWp.js} +13 -13
  47. package/components/{CasinoSearch-DgenhLcJ.cjs → CasinoSearch-CYInCP4K.cjs} +1 -1
  48. package/components/{CasinoSearch-Itb9Lu5Z.js → CasinoSearch-DQDz7QLo.js} +14 -14
  49. package/components/{CasinoSearch-58Bbs2ly.js → CasinoSearch-H1BPrBzU.js} +14 -14
  50. package/components/{CasinoSlider-BBo1-Yix.js → CasinoSlider-BbRVIW35.js} +12 -12
  51. package/components/{CasinoSlider-BLhtuqXM.js → CasinoSlider-BpVYjfEZ.js} +16 -16
  52. package/components/{CasinoSort-CBEUIj6Q.js → CasinoSort-BCZs_7vq.js} +7 -7
  53. package/components/{CasinoSort-DDFUPoRE.js → CasinoSort-BIiSCydQ.js} +7 -7
  54. package/components/{CasinoWinners-wjNHmiu9.js → CasinoWinners-D9QEbcwQ.js} +19 -19
  55. package/components/{CasinoWinners-C9LcOp1b.js → CasinoWinners-fcmQdKZx.js} +20 -20
  56. package/components/{GeneralAnimationLoading-D4V5ml6G.js → GeneralAnimationLoading-BEyM9jr_.js} +1 -1
  57. package/components/{GeneralAnimationLoading-DXg7Sgve.js → GeneralAnimationLoading-uTgCxIjZ.js} +1 -1
  58. package/es2015/casino-lobby.cjs +1 -1
  59. package/es2015/casino-lobby.js +1 -1
  60. package/esnext/casino-lobby.js +1 -1
  61. package/package.json +1 -1
  62. package/components/CasinoCollectionsProviders-DdI8afJV.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");require("./CasinoGamesCategorySection-BSklauO4.cjs");const H=require("./CasinoGamePage-DAH5L6F5.cjs");function K(n,t){e.addMessages(n,t)}function Re(n){e.$locale.set(n)}const Q={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Ce(n){e.append_styles(n,"svelte-8vixmz","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function $(n,t,a){const r=n.slice();return r[53]=t[a],r}function ee(n){let t,a=n[21]("cancel")+"",r,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="SearchCancelButton "+(n[13]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[36]),i=!0)},p(c,u){u[0]&2097152&&a!==(a=c[21]("cancel")+"")&&e.set_data(r,a),u[0]&8192&&s!==(s="SearchCancelButton "+(c[13]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Fe(n){let t,a,r,s;function i(h,f){if(h[17]==!0&&h[12].length<2)return je;if(h[15].length!=0)return Te}let l=i(n),c=l&&l(n),u=n[13]===!1&&re(n),m=n[12].length>=2&&n[15].length==0&&oe(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),m&&m.c(),e.attr(a,"class",s="SearchResultsContainer "+(n[17]==!0?"":"NotVisible"))},m(h,f){c&&c.m(h,f),e.insert(h,t,f),e.insert(h,a,f),u&&u.m(a,null),e.append(a,r),m&&m.m(a,null)},p(h,f){l===(l=i(h))&&c?c.p(h,f):(c&&c.d(1),c=l&&l(h),c&&(c.c(),c.m(t.parentNode,t))),h[13]===!1?u?u.p(h,f):(u=re(h),u.c(),u.m(a,r)):u&&(u.d(1),u=null),h[12].length>=2&&h[15].length==0?m?m.p(h,f):(m=oe(h),m.c(),m.m(a,null)):m&&(m.d(1),m=null),f[0]&131072&&s!==(s="SearchResultsContainer "+(h[17]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},d(h){h&&(e.detach(t),e.detach(a)),c&&c.d(h),u&&u.d(),m&&m.d()}}}function Le(n){let t,a=n[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","LoadingContent")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("loading")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Te(n){let t,a=n[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function je(n){let t,a,r=n[15].length!==0&&te(n),s=n[15].length==0&&ae(n);return{c(){r&&r.c(),t=e.space(),s&&s.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),s&&s.m(i,l),e.insert(i,a,l)},p(i,l){i[15].length!==0?r?r.p(i,l):(r=te(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=ae(i),s.c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),s&&s.d(i)}}}function te(n){let t,a=n[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function ae(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ne();return{c(){t=e.element("div"),c&&c.c(),a=e.space(),r=e.element("p"),i=e.text(s),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(u,m){e.insert(u,t,m),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,m){u[10]==="true"?c||(c=ne(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),m[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),m[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ne(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function re(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=se($(n,a,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();t=e.empty()},m(s,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(s,i);e.insert(s,t,i)},p(s,i){if(i[0]&35162623){a=e.ensure_array_like(s[15]);let l;for(l=0;l<a.length;l+=1){const c=$(s,a,l);r[l]?r[l].p(c,i):(r[l]=se(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=a.length}},d(s){s&&e.detach(t),e.destroy_each(r,s)}}}function se(n){let t,a,r,s,i,l,c,u,m,h,f,S;return{c(){var d;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"session",n[19]),e.set_custom_element_data(t,"userid",n[20]),e.set_custom_element_data(t,"favorites",n[8]),e.set_custom_element_data(t,"lang",n[1]),e.set_custom_element_data(t,"gamethumbnail",a=n[53].thumbnail),e.set_custom_element_data(t,"gamename",r=n[53].name),e.set_custom_element_data(t,"gamevendor",s=n[53].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=n[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=n[53].isNew),e.set_custom_element_data(t,"gametag",c=((d=n[53].advancedTags)==null?void 0:d.length)>0&&n[25](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",m=n[53].id),e.set_custom_element_data(t,"showgamename",n[6]),e.set_custom_element_data(t,"gamefunmode",h=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[4]),e.set_custom_element_data(t,"mbsource",n[11]),e.set_custom_element_data(t,"integratedgameframemobile",n[5]),e.set_custom_element_data(t,"clientstyling",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[3]),e.set_custom_element_data(t,"gamepagemodalurl",n[7])},m(d,g){e.insert(d,t,g)},p(d,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",d[0]),g[0]&524288&&e.set_custom_element_data(t,"session",d[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",d[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),g[0]&2&&e.set_custom_element_data(t,"lang",d[1]),g[0]&32768&&a!==(a=d[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=d[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=d[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=d[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=d[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((T=d[53].advancedTags)==null?void 0:T.length)>0&&d[25](d[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=d[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&m!==(m=d[53].id)&&e.set_custom_element_data(t,"gameid",m),g[0]&64&&e.set_custom_element_data(t,"showgamename",d[6]),g[0]&32768&&h!==(h=d[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),g[0]&32768&&f!==(f=d[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&32768&&S!==(S=d[53].details?d[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",d[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",d[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",d[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",d[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",d[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",d[7])},d(d){d&&e.detach(t)}}}function oe(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",m,h,f=n[10]==="true"&&le();return{c(){t=e.element("div"),f&&f.c(),a=e.space(),r=e.element("p"),i=e.text(s),l=e.space(),c=e.element("p"),m=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(S,d){e.insert(S,t,d),f&&f.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,m)},p(S,d){S[10]==="true"?f||(f=le(),f.c(),f.m(t,a)):f&&(f.d(1),f=null),d[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),d[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(m,u),d[0]&1024&&h!==(h="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(S){S&&e.detach(t),f&&f.d()}}}function le(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function Ge(n){let t,a,r,s,i,l,c,u,m,h,f,S,d,g,T,j,z,P,x,N,b=n[9]==="true"&&ee(n);function F(_,R){return _[18]?Le:Fe}let I=F(n),v=I(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),s=e.element("div"),s.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>',i=e.space(),l=e.element("input"),u=e.space(),m=e.element("span"),h=e.svg_element("svg"),f=e.svg_element("path"),d=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),v.c(),e.attr(s,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[21]("placeHolderSearchGames")),e.attr(l,"maxlength",ze),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(h,"width","11"),e.attr(h,"height","11"),e.attr(h,"fill","none"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"class",S="SearchClearButton "+(n[9]!="true"?"WithoutCancel":"")+" "+(n[12].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(n[13]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(j,"class",z=n[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,R){e.insert(_,t,R),e.append(t,a),e.append(a,r),e.append(r,s),e.append(r,i),e.append(r,l),e.set_input_value(l,n[12]),n[34](l),e.append(r,u),e.append(r,m),e.append(m,h),e.append(h,f),e.append(r,d),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),v.m(t,null),n[37](t),x||(N=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(m,"click",n[35]),e.listen(j,"click",n[24])],x=!0)},p(_,R){R[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),R[0]&4096&&l.value!==_[12]&&e.set_input_value(l,_[12]),R[0]&4608&&S!==(S="SearchClearButton "+(_[9]!="true"?"WithoutCancel":"")+" "+(_[12].length!=0?"":"NotVisible"))&&e.attr(m,"class",S),_[9]==="true"?b?b.p(_,R):(b=ee(_),b.c(),b.m(r,null)):b&&(b.d(1),b=null),R[0]&8192&&g!==(g="Search "+(_[13]?"":"SearchAnimation"))&&e.attr(r,"class",g),R[0]&512&&z!==(z=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",z),I===(I=F(_))&&v?v.p(_,R):(v.d(1),v=I(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),n[34](null),b&&b.d(),v.d(),n[37](null),x=!1,e.run_all(N)}}}let ze=50;function Ie(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(21,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:d=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:z="true"}=t,{notfoundicon:P="false"}=t,{mbsource:x}=t,N=window.navigator.userAgent,b=[],F=[],I={},v="",_,R=!0,D=!1,L=!1,G,B=!1,q,A,U=[];const ce=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{K(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(Q).forEach(o=>{K(o,Q[o])});const V=o=>{o.data&&o.data.type=="SearchedItemClicked"&&pe(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,q=o.data.session),a(20,A=o.data.userid),a(32,B=!0)),o.data.type=="CategoryChange"&&O()},J=()=>{if(a(13,R=!1),a(17,D=!0),s&&i&&u&&v.length<2){a(15,b=[]);let o=localStorage.getItem("searchedGamesWds_casino"),p=[];o&&(p=o.split(","));let w=[],k=0,y=p.length;if(y>0){for(k=0;k<y;k++){let C=new URL(`${s}/v1/casino/games/${p[k]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(N)),w.push(de(C,p[k]))}Promise.all(w).then(C=>{C=C.filter(function(E){return!!E}),a(15,b=C.map(E=>(E.isFavorite=Z(E.id),E))),b.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}X(D),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&&gtag("event",o,{context:p})},ue=()=>{z!="true"&&O()},he=o=>new Promise((p,w)=>{a(18,L=!0),fetch(o.href).then(k=>k.json()).then(k=>{a(18,L=!1),p(k)}).catch(k=>{a(18,L=!1),console.error(k),w(k)})}),de=(o,p)=>new Promise((w,k)=>{a(18,L=!0),p&&Object.keys(I).indexOf(p)>=0?(a(18,L=!1),w(I[p])):fetch(o).then(y=>y.json()).then(y=>{a(18,L=!1),y.error||(I[y[0].gameId]=y[0]),w(y[0])}).catch(y=>{a(18,L=!1),console.error(y),k(y)})}),me=()=>{const o=new URL(`${s}/v1/player/${A}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":q}};fetch(o.href,p).then(w=>w.json()).then(w=>{a(18,L=!1),U=w.items.map(k=>k.id)})},fe=()=>{a(32,B=!0),a(19,q=l),a(20,A=c)},Z=o=>U.findIndex(p=>p==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let p,w=99999999999,k;const y=new Date(Date.now());return o.forEach((C,E)=>{const ye=new Date(C.schedules[0].startTime),W=new Date(C.schedules[0].endTime);H.hooks(W).diff(y)<w&&(w=H.hooks(W).diff(y),k=E),H.hooks(y).isAfter(ye)&&H.hooks(y).isBefore(W)&&(p=o[k].name)}),p},pe=o=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(o)===-1){let p;F.unshift(o),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},O=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,b=[]),a(17,D=!1),X(D)},Y=()=>{a(12,v=""),_.focus()},X=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},_e=()=>{Re(u)};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));function Se(){v=this.value,a(12,v)}function be(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const we=()=>Y(),ve=()=>O();function ke(o){e.binding_callbacks[o?"unshift":"push"](()=>{G=o,a(14,G)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(28,i=o.datasource),"session"in o&&a(29,l=o.session),"userid"in o&&a(30,c=o.userid),"lang"in o&&a(1,u=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,S=o.integratedgameframemobile),"showgamename"in o&&a(6,d=o.showgamename),"gamepagemodalurl"in o&&a(7,g=o.gamepagemodalurl),"translationurl"in o&&a(31,T=o.translationurl),"showfavorites"in o&&a(8,j=o.showfavorites),"cancelbutton"in o&&a(9,z=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon),"mbsource"in o&&a(11,x=o.mbsource)},n.$$.update=()=>{if(n.$$.dirty[0]&268447747)if(v.length>=2){const o=new URL(`${s}/v1/casino/games`);o.searchParams.append("datasource",i),o.searchParams.append("expand","vendor"),o.searchParams.append("platform",e.getDevice(N)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${v}`),he(o).then(p=>{a(15,b=p.items.map(w=>(w.isFavorite=Z(w.id),w)))})}else R||J();n.$$.dirty[0]&2&&u&&_e(),n.$$.dirty[1]&1&&T&&ce(),n.$$.dirty[0]&1610612736&&l&&c&&fe(),n.$$.dirty[0]&256|n.$$.dirty[1]&2&&j&&B&&me(),n.$$.dirty[0]&16388&&m&&G&&e.setClientStyling(G,m),n.$$.dirty[0]&16392&&h&&G&&e.setClientStylingURL(G,h),n.$$.dirty[0]&18432&&G&&e.setStreamStyling(G,`${x}.Style`)},[s,u,m,h,f,S,d,g,j,z,P,x,v,R,G,b,_,D,L,q,A,r,N,J,ue,ge,O,Y,i,l,c,T,B,Se,be,we,ve,ke]}class ie extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ie,Ge,e.safe_not_equal,{endpoint:0,datasource:28,session:29,userid:30,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:31,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},Ce,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[28]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(ie,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=ie;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");require("./CasinoGamesCategorySection-Bt_a-XLq.cjs");const H=require("./CasinoGamePage-C8xrFvIL.cjs");function K(n,t){e.addMessages(n,t)}function Re(n){e.$locale.set(n)}const Q={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Son arama",loading:"Yükleniyor, lütfen bekleyin...",searchResult:"Arama sonucu",cancel:"İptal",notFound:"Oyun bulunamadı!",notFoundText:"Oynamaya başlamak için lütfen oyunun doğru adını yazın.",noRecentSearches:"Henüz son arama yok. Oyunlarımızdan herhangi birini arayın.",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Ce(n){e.append_styles(n,"svelte-8vixmz","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function $(n,t,a){const r=n.slice();return r[53]=t[a],r}function ee(n){let t,a=n[21]("cancel")+"",r,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="SearchCancelButton "+(n[13]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[36]),i=!0)},p(c,u){u[0]&2097152&&a!==(a=c[21]("cancel")+"")&&e.set_data(r,a),u[0]&8192&&s!==(s="SearchCancelButton "+(c[13]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Fe(n){let t,a,r,s;function i(h,f){if(h[17]==!0&&h[12].length<2)return je;if(h[15].length!=0)return Te}let l=i(n),c=l&&l(n),u=n[13]===!1&&re(n),m=n[12].length>=2&&n[15].length==0&&oe(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),m&&m.c(),e.attr(a,"class",s="SearchResultsContainer "+(n[17]==!0?"":"NotVisible"))},m(h,f){c&&c.m(h,f),e.insert(h,t,f),e.insert(h,a,f),u&&u.m(a,null),e.append(a,r),m&&m.m(a,null)},p(h,f){l===(l=i(h))&&c?c.p(h,f):(c&&c.d(1),c=l&&l(h),c&&(c.c(),c.m(t.parentNode,t))),h[13]===!1?u?u.p(h,f):(u=re(h),u.c(),u.m(a,r)):u&&(u.d(1),u=null),h[12].length>=2&&h[15].length==0?m?m.p(h,f):(m=oe(h),m.c(),m.m(a,null)):m&&(m.d(1),m=null),f[0]&131072&&s!==(s="SearchResultsContainer "+(h[17]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},d(h){h&&(e.detach(t),e.detach(a)),c&&c.d(h),u&&u.d(),m&&m.d()}}}function Le(n){let t,a=n[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","LoadingContent")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("loading")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Te(n){let t,a=n[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function je(n){let t,a,r=n[15].length!==0&&te(n),s=n[15].length==0&&ae(n);return{c(){r&&r.c(),t=e.space(),s&&s.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),s&&s.m(i,l),e.insert(i,a,l)},p(i,l){i[15].length!==0?r?r.p(i,l):(r=te(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=ae(i),s.c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),s&&s.d(i)}}}function te(n){let t,a=n[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function ae(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ne();return{c(){t=e.element("div"),c&&c.c(),a=e.space(),r=e.element("p"),i=e.text(s),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(u,m){e.insert(u,t,m),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,m){u[10]==="true"?c||(c=ne(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),m[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),m[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ne(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function re(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=se($(n,a,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();t=e.empty()},m(s,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(s,i);e.insert(s,t,i)},p(s,i){if(i[0]&35162623){a=e.ensure_array_like(s[15]);let l;for(l=0;l<a.length;l+=1){const c=$(s,a,l);r[l]?r[l].p(c,i):(r[l]=se(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=a.length}},d(s){s&&e.detach(t),e.destroy_each(r,s)}}}function se(n){let t,a,r,s,i,l,c,u,m,h,f,S;return{c(){var d;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"session",n[19]),e.set_custom_element_data(t,"userid",n[20]),e.set_custom_element_data(t,"favorites",n[8]),e.set_custom_element_data(t,"lang",n[1]),e.set_custom_element_data(t,"gamethumbnail",a=n[53].thumbnail),e.set_custom_element_data(t,"gamename",r=n[53].name),e.set_custom_element_data(t,"gamevendor",s=n[53].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",i=n[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=n[53].isNew),e.set_custom_element_data(t,"gametag",c=((d=n[53].advancedTags)==null?void 0:d.length)>0&&n[25](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",m=n[53].id),e.set_custom_element_data(t,"showgamename",n[6]),e.set_custom_element_data(t,"gamefunmode",h=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",f=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[4]),e.set_custom_element_data(t,"mbsource",n[11]),e.set_custom_element_data(t,"integratedgameframemobile",n[5]),e.set_custom_element_data(t,"clientstyling",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[3]),e.set_custom_element_data(t,"gamepagemodalurl",n[7])},m(d,g){e.insert(d,t,g)},p(d,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",d[0]),g[0]&524288&&e.set_custom_element_data(t,"session",d[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",d[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),g[0]&2&&e.set_custom_element_data(t,"lang",d[1]),g[0]&32768&&a!==(a=d[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=d[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=d[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=d[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=d[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((T=d[53].advancedTags)==null?void 0:T.length)>0&&d[25](d[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=d[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&m!==(m=d[53].id)&&e.set_custom_element_data(t,"gameid",m),g[0]&64&&e.set_custom_element_data(t,"showgamename",d[6]),g[0]&32768&&h!==(h=d[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),g[0]&32768&&f!==(f=d[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&32768&&S!==(S=d[53].details?d[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",d[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",d[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",d[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",d[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",d[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",d[7])},d(d){d&&e.detach(t)}}}function oe(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",m,h,f=n[10]==="true"&&le();return{c(){t=e.element("div"),f&&f.c(),a=e.space(),r=e.element("p"),i=e.text(s),l=e.space(),c=e.element("p"),m=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(S,d){e.insert(S,t,d),f&&f.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,m)},p(S,d){S[10]==="true"?f||(f=le(),f.c(),f.m(t,a)):f&&(f.d(1),f=null),d[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),d[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(m,u),d[0]&1024&&h!==(h="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(S){S&&e.detach(t),f&&f.d()}}}function le(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function Ge(n){let t,a,r,s,i,l,c,u,m,h,f,S,d,g,T,j,z,P,x,N,b=n[9]==="true"&&ee(n);function F(_,R){return _[18]?Le:Fe}let I=F(n),v=I(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),s=e.element("div"),s.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>',i=e.space(),l=e.element("input"),u=e.space(),m=e.element("span"),h=e.svg_element("svg"),f=e.svg_element("path"),d=e.space(),b&&b.c(),T=e.space(),j=e.element("div"),P=e.space(),v.c(),e.attr(s,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[21]("placeHolderSearchGames")),e.attr(l,"maxlength",ze),e.attr(f,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(f,"stroke","#717171"),e.attr(f,"stroke-width","2"),e.attr(f,"stroke-linecap","round"),e.attr(f,"stroke-linejoin","round"),e.attr(h,"width","11"),e.attr(h,"height","11"),e.attr(h,"fill","none"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"class",S="SearchClearButton "+(n[9]!="true"?"WithoutCancel":"")+" "+(n[12].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(n[13]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(j,"class",z=n[9]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,R){e.insert(_,t,R),e.append(t,a),e.append(a,r),e.append(r,s),e.append(r,i),e.append(r,l),e.set_input_value(l,n[12]),n[34](l),e.append(r,u),e.append(r,m),e.append(m,h),e.append(h,f),e.append(r,d),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),v.m(t,null),n[37](t),x||(N=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(m,"click",n[35]),e.listen(j,"click",n[24])],x=!0)},p(_,R){R[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),R[0]&4096&&l.value!==_[12]&&e.set_input_value(l,_[12]),R[0]&4608&&S!==(S="SearchClearButton "+(_[9]!="true"?"WithoutCancel":"")+" "+(_[12].length!=0?"":"NotVisible"))&&e.attr(m,"class",S),_[9]==="true"?b?b.p(_,R):(b=ee(_),b.c(),b.m(r,null)):b&&(b.d(1),b=null),R[0]&8192&&g!==(g="Search "+(_[13]?"":"SearchAnimation"))&&e.attr(r,"class",g),R[0]&512&&z!==(z=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",z),I===(I=F(_))&&v?v.p(_,R):(v.d(1),v=I(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),n[34](null),b&&b.d(),v.d(),n[37](null),x=!1,e.run_all(N)}}}let ze=50;function Ie(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(21,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{clientstyling:m=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:d=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:z="true"}=t,{notfoundicon:P="false"}=t,{mbsource:x}=t,N=window.navigator.userAgent,b=[],F=[],I={},v="",_,R=!0,D=!1,L=!1,G,B=!1,q,A,U=[];const ce=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{K(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(Q).forEach(o=>{K(o,Q[o])});const V=o=>{o.data&&o.data.type=="SearchedItemClicked"&&pe(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,q=o.data.session),a(20,A=o.data.userid),a(32,B=!0)),o.data.type=="CategoryChange"&&O()},J=()=>{if(a(13,R=!1),a(17,D=!0),s&&i&&u&&v.length<2){a(15,b=[]);let o=localStorage.getItem("searchedGamesWds_casino"),p=[];o&&(p=o.split(","));let w=[],k=0,y=p.length;if(y>0){for(k=0;k<y;k++){let C=new URL(`${s}/v1/casino/games/${p[k]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(N)),w.push(de(C,p[k]))}Promise.all(w).then(C=>{C=C.filter(function(E){return!!E}),a(15,b=C.map(E=>(E.isFavorite=Z(E.id),E))),b.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}X(D),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&&gtag("event",o,{context:p})},ue=()=>{z!="true"&&O()},he=o=>new Promise((p,w)=>{a(18,L=!0),fetch(o.href).then(k=>k.json()).then(k=>{a(18,L=!1),p(k)}).catch(k=>{a(18,L=!1),console.error(k),w(k)})}),de=(o,p)=>new Promise((w,k)=>{a(18,L=!0),p&&Object.keys(I).indexOf(p)>=0?(a(18,L=!1),w(I[p])):fetch(o).then(y=>y.json()).then(y=>{a(18,L=!1),y.error||(I[y[0].gameId]=y[0]),w(y[0])}).catch(y=>{a(18,L=!1),console.error(y),k(y)})}),me=()=>{const o=new URL(`${s}/v1/player/${A}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":q}};fetch(o.href,p).then(w=>w.json()).then(w=>{a(18,L=!1),U=w.items.map(k=>k.id)})},fe=()=>{a(32,B=!0),a(19,q=l),a(20,A=c)},Z=o=>U.findIndex(p=>p==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let p,w=99999999999,k;const y=new Date(Date.now());return o.forEach((C,E)=>{const ye=new Date(C.schedules[0].startTime),W=new Date(C.schedules[0].endTime);H.hooks(W).diff(y)<w&&(w=H.hooks(W).diff(y),k=E),H.hooks(y).isAfter(ye)&&H.hooks(y).isBefore(W)&&(p=o[k].name)}),p},pe=o=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(o)===-1){let p;F.unshift(o),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},O=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,b=[]),a(17,D=!1),X(D)},Y=()=>{a(12,v=""),_.focus()},X=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},_e=()=>{Re(u)};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));function Se(){v=this.value,a(12,v)}function be(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const we=()=>Y(),ve=()=>O();function ke(o){e.binding_callbacks[o?"unshift":"push"](()=>{G=o,a(14,G)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(28,i=o.datasource),"session"in o&&a(29,l=o.session),"userid"in o&&a(30,c=o.userid),"lang"in o&&a(1,u=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,S=o.integratedgameframemobile),"showgamename"in o&&a(6,d=o.showgamename),"gamepagemodalurl"in o&&a(7,g=o.gamepagemodalurl),"translationurl"in o&&a(31,T=o.translationurl),"showfavorites"in o&&a(8,j=o.showfavorites),"cancelbutton"in o&&a(9,z=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon),"mbsource"in o&&a(11,x=o.mbsource)},n.$$.update=()=>{if(n.$$.dirty[0]&268447747)if(v.length>=2){const o=new URL(`${s}/v1/casino/games`);o.searchParams.append("datasource",i),o.searchParams.append("expand","vendor"),o.searchParams.append("platform",e.getDevice(N)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${v}`),he(o).then(p=>{a(15,b=p.items.map(w=>(w.isFavorite=Z(w.id),w)))})}else R||J();n.$$.dirty[0]&2&&u&&_e(),n.$$.dirty[1]&1&&T&&ce(),n.$$.dirty[0]&1610612736&&l&&c&&fe(),n.$$.dirty[0]&256|n.$$.dirty[1]&2&&j&&B&&me(),n.$$.dirty[0]&16388&&m&&G&&e.setClientStyling(G,m),n.$$.dirty[0]&16392&&h&&G&&e.setClientStylingURL(G,h),n.$$.dirty[0]&18432&&G&&e.setStreamStyling(G,`${x}.Style`)},[s,u,m,h,f,S,d,g,j,z,P,x,v,R,G,b,_,D,L,q,A,r,N,J,ue,ge,O,Y,i,l,c,T,B,Se,be,we,ve,ke]}class ie extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ie,Ge,e.safe_not_equal,{endpoint:0,datasource:28,session:29,userid:30,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:31,showfavorites:8,cancelbutton:9,notfoundicon:10,mbsource:11},Ce,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[28]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[6]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(ie,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=ie;
@@ -1,6 +1,6 @@
1
- import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, X as ce, A as Z, G as ue, j as z, U as Je, k as Ze, o as Xe, l as Ye, x as q, E as H, q as he, r as Ke, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-D9zXfDS4.js";
2
- import "./CasinoGamesCategorySection-XWxil8vo.js";
3
- import { h as $ } from "./CasinoGamePage-CkvljoIb.js";
1
+ import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, V as ce, A as Z, G as ue, j as z, R as Je, k as Ze, o as Ye, l as Ke, x as q, E as H, q as he, r as Xe, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-BYhP1252.js";
2
+ import "./CasinoGamesCategorySection-BZB6Hzxo.js";
3
+ import { h as $ } from "./CasinoGamePage-Dn6JZ69a.js";
4
4
  function me(a, e) {
5
5
  Ae(a, e);
6
6
  }
@@ -777,7 +777,7 @@ let it = 50;
777
777
  function ct(a, e, t) {
778
778
  let n;
779
779
  Ze(a, et, (o) => t(21, n = o));
780
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], D = {}, R = "", b, T = !0, V = !1, E = !1, M, X = !1, Y, K, ae = [];
780
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], D = {}, R = "", b, T = !0, V = !1, E = !1, M, Y = !1, K, X, ae = [];
781
781
  const Ce = () => {
782
782
  fetch(P).then((S) => S.json()).then((S) => {
783
783
  Object.keys(S).forEach((k) => {
@@ -791,7 +791,7 @@ function ct(a, e, t) {
791
791
  me(o, ge[o]);
792
792
  });
793
793
  const ne = (o) => {
794
- o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, Y = o.data.session), t(20, K = o.data.userid), t(32, X = !0)), o.data.type == "CategoryChange" && Q();
794
+ o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
795
795
  }, re = () => {
796
796
  if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
797
797
  t(15, v = []);
@@ -830,17 +830,17 @@ function ct(a, e, t) {
830
830
  t(18, E = !1), console.error(F), C(F);
831
831
  });
832
832
  }), je = () => {
833
- const o = new URL(`${r}/v1/player/${K}/favorites/`);
833
+ const o = new URL(`${r}/v1/player/${X}/favorites/`);
834
834
  t(18, E = !0);
835
835
  let S = {
836
836
  method: "GET",
837
- headers: { "X-SessionID": Y }
837
+ headers: { "X-SessionID": K }
838
838
  };
839
839
  fetch(o.href, S).then((k) => k.json()).then((k) => {
840
840
  t(18, E = !1), ae = k.items.map((C) => C.id);
841
841
  });
842
842
  }, ze = () => {
843
- t(32, X = !0), t(19, Y = s), t(20, K = i);
843
+ t(32, Y = !0), t(19, K = s), t(20, X = i);
844
844
  }, oe = (o) => ae.findIndex((S) => S == o) !== -1, Ge = (o) => {
845
845
  if ((o == null ? void 0 : o.length) === 0)
846
846
  return "";
@@ -870,7 +870,7 @@ function ct(a, e, t) {
870
870
  }, Ee = () => {
871
871
  tt(c);
872
872
  };
873
- Xe(() => (window.addEventListener("message", ne, !1), () => {
873
+ Ye(() => (window.addEventListener("message", ne, !1), () => {
874
874
  window.removeEventListener("message", ne);
875
875
  }));
876
876
  function Ne() {
@@ -904,9 +904,9 @@ function ct(a, e, t) {
904
904
  1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
905
905
  1610612736 && s && i && ze(), a.$$.dirty[0] & /*showfavorites*/
906
906
  256 | a.$$.dirty[1] & /*isLoggedIn*/
907
- 2 && x && X && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
908
- 16388 && m && M && Ke(M, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
909
- 16392 && h && M && Ye(M, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
907
+ 2 && x && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
908
+ 16388 && m && M && Xe(M, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
909
+ 16392 && h && M && Ke(M, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
910
910
  18432 && M && Qe(M, `${A}.Style`);
911
911
  }, [
912
912
  r,
@@ -928,8 +928,8 @@ function ct(a, e, t) {
928
928
  b,
929
929
  V,
930
930
  E,
931
- Y,
932
931
  K,
932
+ X,
933
933
  n,
934
934
  W,
935
935
  re,
@@ -941,7 +941,7 @@ function ct(a, e, t) {
941
941
  s,
942
942
  i,
943
943
  P,
944
- X,
944
+ Y,
945
945
  Ne,
946
946
  Pe,
947
947
  xe,
@@ -1,6 +1,6 @@
1
- import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, X as ce, A as Z, G as ue, j as z, U as Je, k as Ze, o as Xe, l as Ye, x as q, E as H, q as he, r as Ke, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-8h5qdaaJ.js";
2
- import "./CasinoGamesCategorySection-DUDDLFW2.js";
3
- import { h as $ } from "./CasinoGamePage-DAv8OZV8.js";
1
+ import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, V as ce, A as Z, G as ue, j as z, R as Je, k as Ze, o as Ye, l as Ke, x as q, E as H, q as he, r as Xe, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-BU2gZgoA.js";
2
+ import "./CasinoGamesCategorySection-C4dkhfxd.js";
3
+ import { h as $ } from "./CasinoGamePage-CHQ3jlqS.js";
4
4
  function me(a, e) {
5
5
  Ae(a, e);
6
6
  }
@@ -775,7 +775,7 @@ let it = 50;
775
775
  function ct(a, e, t) {
776
776
  let n;
777
777
  Ze(a, et, (o) => t(21, n = o));
778
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, R = "", b, T = !0, V = !1, E = !1, x, X = !1, Y, K, ae = [];
778
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, R = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
779
779
  const Ce = () => {
780
780
  fetch(D).then((S) => S.json()).then((S) => {
781
781
  Object.keys(S).forEach((k) => {
@@ -789,7 +789,7 @@ function ct(a, e, t) {
789
789
  me(o, ge[o]);
790
790
  });
791
791
  const ne = (o) => {
792
- o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, Y = o.data.session), t(20, K = o.data.userid), t(32, X = !0)), o.data.type == "CategoryChange" && Q();
792
+ o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
793
793
  }, re = () => {
794
794
  if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
795
795
  t(15, v = []);
@@ -828,17 +828,17 @@ function ct(a, e, t) {
828
828
  t(18, E = !1), console.error(F), C(F);
829
829
  });
830
830
  }), je = () => {
831
- const o = new URL(`${r}/v1/player/${K}/favorites/`);
831
+ const o = new URL(`${r}/v1/player/${X}/favorites/`);
832
832
  t(18, E = !0);
833
833
  let S = {
834
834
  method: "GET",
835
- headers: { "X-SessionID": Y }
835
+ headers: { "X-SessionID": K }
836
836
  };
837
837
  fetch(o.href, S).then((k) => k.json()).then((k) => {
838
838
  t(18, E = !1), ae = k.items.map((C) => C.id);
839
839
  });
840
840
  }, ze = () => {
841
- t(32, X = !0), t(19, Y = s), t(20, K = i);
841
+ t(32, Y = !0), t(19, K = s), t(20, X = i);
842
842
  }, oe = (o) => ae.findIndex((S) => S == o) !== -1, Ge = (o) => {
843
843
  if (o?.length === 0)
844
844
  return "";
@@ -868,7 +868,7 @@ function ct(a, e, t) {
868
868
  }, Ee = () => {
869
869
  tt(c);
870
870
  };
871
- Xe(() => (window.addEventListener("message", ne, !1), () => {
871
+ Ye(() => (window.addEventListener("message", ne, !1), () => {
872
872
  window.removeEventListener("message", ne);
873
873
  }));
874
874
  function Ne() {
@@ -902,9 +902,9 @@ function ct(a, e, t) {
902
902
  1 && D && Ce(), a.$$.dirty[0] & /*session, userid*/
903
903
  1610612736 && s && i && ze(), a.$$.dirty[0] & /*showfavorites*/
904
904
  256 | a.$$.dirty[1] & /*isLoggedIn*/
905
- 2 && P && X && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
906
- 16388 && m && x && Ke(x, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
907
- 16392 && h && x && Ye(x, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
905
+ 2 && P && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
906
+ 16388 && m && x && Xe(x, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
907
+ 16392 && h && x && Ke(x, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
908
908
  18432 && x && Qe(x, `${A}.Style`);
909
909
  }, [
910
910
  r,
@@ -926,8 +926,8 @@ function ct(a, e, t) {
926
926
  b,
927
927
  V,
928
928
  E,
929
- Y,
930
929
  K,
930
+ X,
931
931
  n,
932
932
  W,
933
933
  re,
@@ -939,7 +939,7 @@ function ct(a, e, t) {
939
939
  s,
940
940
  i,
941
941
  D,
942
- X,
942
+ Y,
943
943
  Ne,
944
944
  Pe,
945
945
  xe,
@@ -1,11 +1,11 @@
1
- import { $ as Q, W as Ne, a as Re, S as Te, i as je, f as C, c as We, s as ze, b as Ge, e as b, w as N, y as g, d as I, z as p, A as Y, G as oe, j as D, U as Oe, o as Be, l as xe, m as qe, v as T, K as G, a1 as pe, H as ie, q as J, r as Ue, a2 as ye, F as Ye, x as V, E as Z } from "./CasinoCalendar-8h5qdaaJ.js";
1
+ import { $ as Q, U as Re, a as Ne, S as Te, i as je, f as C, c as We, s as ze, b as Ge, e as b, w as R, y as g, d as I, z as p, A as Y, G as oe, j as D, R as Oe, o as Be, l as xe, m as qe, v as T, K as G, _ as pe, H as ie, q as J, r as Ue, a0 as ye, F as Ye, x as V, E as Z } from "./CasinoCalendar-BU2gZgoA.js";
2
2
  function Pe({ withLocale: a, translations: e }) {
3
3
  Q.subscribe((t) => {
4
- t == null && (Ne.set(e), Q.set(a));
4
+ t == null && (Re.set(e), Q.set(a));
5
5
  });
6
6
  }
7
7
  function ae(a, e) {
8
- Re(a, e);
8
+ Ne(a, e);
9
9
  }
10
10
  function Ke(a) {
11
11
  Q.set(a);
@@ -254,7 +254,7 @@ function me(a) {
254
254
  }
255
255
  return {
256
256
  c() {
257
- e = b("li"), t = b("a"), n = V(o), r = N(), g(t, "class", l = "SubDropDown " + /*index*/
257
+ e = b("li"), t = b("a"), n = V(o), r = R(), g(t, "class", l = "SubDropDown " + /*index*/
258
258
  (a[50] == /*activeIndex*/
259
259
  a[6] && /*activeSubIndex*/
260
260
  (a[7] == /*subindex*/
@@ -376,7 +376,7 @@ function Ce(a, e) {
376
376
  key: a,
377
377
  first: null,
378
378
  c() {
379
- t = b("li"), o = b("div"), n = b("img"), s = N(), f.c(), u = N(), c && c.c(), v = N(), g(n, "class", l = "CategoryIconImg " + /*categoriesicon*/
379
+ t = b("li"), o = b("div"), n = b("img"), s = R(), f.c(), u = R(), c && c.c(), v = R(), g(n, "class", l = "CategoryIconImg " + /*categoriesicon*/
380
380
  (e[3] === "true" ? "" : "DisplayNone")), ie(n.src, r = /*handleSrc*/
381
381
  e[16](
382
382
  /*category*/
@@ -433,7 +433,7 @@ function Ve(a) {
433
433
  );
434
434
  return {
435
435
  c() {
436
- e = b("div"), t = b("div"), o = b("div"), o.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', n = N(), l = b("div"), r = b("ul"), s = b("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = N(), c && c.c(), v = N(), m = b("div"), m.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', g(o, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap"), g(m, "class", "CarouselRightArrow"), g(t, "class", y = `CarouselContainer CarouselContainerMobile ${/*location*/
436
+ e = b("div"), t = b("div"), o = b("div"), o.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', n = R(), l = b("div"), r = b("ul"), s = b("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = R(), c && c.c(), v = R(), m = b("div"), m.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', g(o, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap"), g(m, "class", "CarouselRightArrow"), g(t, "class", y = `CarouselContainer CarouselContainerMobile ${/*location*/
437
437
  a[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", _ = /*location*/
438
438
  a[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", S = "CarouselWrapper " + /*location*/
439
439
  (a[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
@@ -486,7 +486,7 @@ function Ze(a, e, t) {
486
486
  Object.keys(ne).forEach((i) => {
487
487
  ae(i, ne[i]);
488
488
  });
489
- let R, j, W, K, L, z = [], B = [], x = [], A, X = (i, d, F, E, H) => {
489
+ let N, j, W, K, L, z = [], B = [], x = [], A, X = (i, d, F, E, H) => {
490
490
  if (!(i.subGroups && E === null)) {
491
491
  if (q(), t(6, j = d), t(6, j), H != "secondary") {
492
492
  window.postMessage(
@@ -543,12 +543,12 @@ function Ze(a, e, t) {
543
543
  U.find((Ee) => re.id == Ee) || U.push(re.id);
544
544
  }), U.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: U }, window.location.href);
545
545
  }).then(() => {
546
- R.querySelectorAll(".DropDown") && q();
546
+ N.querySelectorAll(".DropDown") && q();
547
547
  });
548
548
  }
549
549
  u == "headerMain" && window.postMessage({ type: r, item: i }, window.location.href);
550
550
  }, q = () => {
551
- const i = R.querySelectorAll(".DropDown");
551
+ const i = N.querySelectorAll(".DropDown");
552
552
  document.activeElement.blur(), A.classList.add("isScrolling");
553
553
  for (let d = 0; d < i.length; d++)
554
554
  i[d].style.transform = "translateX(-" + A.scrollLeft + "px)";
@@ -567,7 +567,7 @@ function Ze(a, e, t) {
567
567
  },
568
568
  500
569
569
  ), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
570
- window.removeEventListener("message", te), R.removeEventListener("scroll", q);
570
+ window.removeEventListener("message", te), N.removeEventListener("scroll", q);
571
571
  }));
572
572
  const Fe = () => $(), Me = (i, d, F, E, H) => {
573
573
  X(i, d, F, E, "secondary"), H.stopPropagation();
@@ -576,7 +576,7 @@ function Ze(a, e, t) {
576
576
  };
577
577
  function De(i) {
578
578
  J[i ? "unshift" : "push"](() => {
579
- R = i, t(5, R);
579
+ N = i, t(5, N);
580
580
  });
581
581
  }
582
582
  function Se(i) {
@@ -607,7 +607,7 @@ function Ze(a, e, t) {
607
607
  w,
608
608
  h,
609
609
  L,
610
- R,
610
+ N,
611
611
  j,
612
612
  W,
613
613
  K,
@@ -1,11 +1,11 @@
1
- import { $ as Q, W as Ne, a as Re, S as Te, i as je, f as C, c as We, s as ze, b as Ge, e as k, w as T, y as m, d as D, z as p, A as P, G as oe, j as S, U as Oe, o as Be, l as xe, m as qe, v as z, K as x, a1 as pe, H as ie, q as J, r as Ue, a2 as we, F as Ye, x as V, E as Z } from "./CasinoCalendar-D9zXfDS4.js";
1
+ import { $ as Q, U as Re, a as Ne, S as Te, i as je, f as C, c as We, s as ze, b as Ge, e as k, w as T, y as m, d as D, z as p, A as P, G as oe, j as S, R as Oe, o as Be, l as xe, m as qe, v as z, K as x, _ as pe, H as ie, q as J, r as Ue, a0 as we, F as Ye, x as V, E as Z } from "./CasinoCalendar-BYhP1252.js";
2
2
  function Pe({ withLocale: a, translations: e }) {
3
3
  Q.subscribe((t) => {
4
- t == null && (Ne.set(e), Q.set(a));
4
+ t == null && (Re.set(e), Q.set(a));
5
5
  });
6
6
  }
7
7
  function ae(a, e) {
8
- Re(a, e);
8
+ Ne(a, e);
9
9
  }
10
10
  function Ke(a) {
11
11
  Q.set(a);
@@ -490,9 +490,9 @@ function Ze(a, e, t) {
490
490
  Object.keys(ne).forEach((o) => {
491
491
  ae(o, ne[o]);
492
492
  });
493
- let W, G, O, K, L, B = [], q = [], U = [], A, X = (o, d, _, N, H) => {
494
- var R;
495
- if (!(o.subGroups && N === null)) {
493
+ let W, G, O, K, L, B = [], q = [], U = [], A, X = (o, d, _, R, H) => {
494
+ var N;
495
+ if (!(o.subGroups && R === null)) {
496
496
  if (Y(), t(6, G = d), t(6, G), H != "secondary") {
497
497
  window.postMessage(
498
498
  {
@@ -503,17 +503,17 @@ function Ze(a, e, t) {
503
503
  item: o,
504
504
  path: o.path,
505
505
  externalLink: o.externalLink || !1,
506
- target: ((R = o.attrs) == null ? void 0 : R.target) || null
506
+ target: ((N = o.attrs) == null ? void 0 : N.target) || null
507
507
  },
508
508
  window.location.href
509
509
  ), t(7, O = null), t(8, K = null);
510
510
  return;
511
511
  }
512
- t(7, O = N), t(7, O), t(8, K = O), window.postMessage(
512
+ t(7, O = R), t(7, O), t(8, K = O), window.postMessage(
513
513
  {
514
514
  type: r,
515
515
  itemId: _.id,
516
- subIndex: N,
516
+ subIndex: R,
517
517
  subItem: _
518
518
  },
519
519
  window.location.href
@@ -532,8 +532,8 @@ function Ze(a, e, t) {
532
532
  Ke(h);
533
533
  }, ve = (o, d, _) => {
534
534
  if (u == "secondaryMenu" && i && n && h && o.id) {
535
- let N = new URL(`${i}/v1/casino/groups/${n}/${o.id}/subGroups?language=${h}`);
536
- fetch(N.href).then((H) => H.json()).then((H) => {
535
+ let R = new URL(`${i}/v1/casino/groups/${n}/${o.id}/subGroups?language=${h}`);
536
+ fetch(R.href).then((H) => H.json()).then((H) => {
537
537
  H.index = d, t(10, q = q.concat(H)), b == "false" && window.postMessage(
538
538
  {
539
539
  type: r,
@@ -543,10 +543,10 @@ function Ze(a, e, t) {
543
543
  },
544
544
  window.location.href
545
545
  );
546
- const R = [];
546
+ const N = [];
547
547
  q.map((He) => (He.items.forEach((re) => {
548
- R.find((Ee) => re.id == Ee) || R.push(re.id);
549
- }), R.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: R }, window.location.href);
548
+ N.find((Ee) => re.id == Ee) || N.push(re.id);
549
+ }), N.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: N }, window.location.href);
550
550
  }).then(() => {
551
551
  W.querySelectorAll(".DropDown") && Y();
552
552
  });
@@ -575,8 +575,8 @@ function Ze(a, e, t) {
575
575
  ), window.postMessage({ type: "SliderLoaded", identity: f }), () => {
576
576
  window.removeEventListener("message", te), W.removeEventListener("scroll", Y);
577
577
  }));
578
- const Fe = () => $(), Me = (o, d, _, N, H) => {
579
- X(o, d, _, N, "secondary"), H.stopPropagation();
578
+ const Fe = () => $(), Me = (o, d, _, R, H) => {
579
+ X(o, d, _, R, "secondary"), H.stopPropagation();
580
580
  }, Ie = (o, d, _) => {
581
581
  X(o, d, null, null, "main"), _.preventDefault();
582
582
  };
@@ -1,10 +1,10 @@
1
- import { $ as q, W as et, a as rt, S as ot, i as nt, f as H, c as at, s as st, b as lt, e as m, d as P, G as U, j as R, k as it, o as ct, l as dt, q as pt, r as ut, m as gt, v as G, J as Z, w as I, x as W, y as r, z as l, A as tt, E as K, F as ht, I as mt } from "./CasinoCalendar-8h5qdaaJ.js";
1
+ import { $ as q, U as et, a as rt, S as ot, i as nt, f as H, c as at, s as st, b as lt, e as m, d as P, G as U, j as R, k as it, o as ct, l as dt, q as pt, r as ut, m as gt, v as G, J as Z, w as I, x as K, y as r, z as l, A as tt, E as Q, F as ht, I as mt } from "./CasinoCalendar-BU2gZgoA.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
5
5
  });
6
6
  }
7
- function Q(t, e) {
7
+ function W(t, e) {
8
8
  rt(t, e);
9
9
  }
10
10
  const X = {
@@ -158,7 +158,7 @@ function wt(t) {
158
158
  y[c] = $(Y(t, M, c));
159
159
  return {
160
160
  c() {
161
- e = m("div"), o = m("div"), a = m("div"), s = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), p = Z("path"), k = I(), b = m("div"), g = m("span"), S = W(w), v = I(), x = m("div"), D = m("span"), L = W(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), u = m("div"), _ = m("ul");
161
+ e = m("div"), o = m("div"), a = m("div"), s = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), p = Z("path"), k = I(), b = m("div"), g = m("span"), S = K(w), v = I(), x = m("div"), D = m("span"), L = K(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), u = m("div"), _ = m("ul");
162
162
  for (let c = 0; c < y.length; c += 1)
163
163
  y[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(p, "id", "Path_5269"), r(p, "data-name", "Path 5269"), r(p, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(p, "transform", "translate(-412.896 0)"), r(p, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(g, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(N, "transform", "translate(-274.511 -441.088)"), r(N, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(F, "class", O = "TriangleInactive " + /*isSorterActive*/
@@ -180,10 +180,10 @@ function wt(t) {
180
180
  p(c, z) {
181
181
  if (z & /*$_*/
182
182
  16 && w !== (w = /*$_*/
183
- c[4]("sortby") + "") && K(S, w), z & /*vendorSortingBy, $_*/
183
+ c[4]("sortby") + "") && Q(S, w), z & /*vendorSortingBy, $_*/
184
184
  24 && C !== (C = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && K(L, C), z & /*isSorterActive*/
186
+ c[4]("all")) + "") && Q(L, C), z & /*isSorterActive*/
187
187
  2 && O !== (O = "TriangleInactive " + /*isSorterActive*/
188
188
  (c[1] ? "TriangleActive" : "")) && r(F, "class", O), z & /*isSorterActive*/
189
189
  2 && B !== (B = "SorterSelector " + /*isSorterActive*/
@@ -288,14 +288,14 @@ function St(t, e, o) {
288
288
  const D = () => {
289
289
  fetch(i).then((u) => u.json()).then((u) => {
290
290
  Object.keys(u).forEach((_) => {
291
- Q(_, u[_]);
291
+ W(_, u[_]);
292
292
  });
293
293
  }).catch((u) => {
294
294
  console.log(u);
295
295
  });
296
296
  };
297
297
  Object.keys(X).forEach((n) => {
298
- Q(n, X[n]);
298
+ W(n, X[n]);
299
299
  });
300
300
  const C = {
301
301
  All: a("all"),