@everymatrix/casino-search 1.59.1 → 1.59.2

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 (23) hide show
  1. package/components/{CasinoGameThumbnail-C2XsYtoR.js → CasinoGameThumbnail-B1rxYT3M.js} +2127 -2105
  2. package/components/CasinoGameThumbnail-B9HYnO2R.cjs +64 -0
  3. package/components/{CasinoGameThumbnail-B2ZC3xpT.js → CasinoGameThumbnail-CA5NbMX6.js} +2150 -2128
  4. package/components/{CasinoSearch-BU7nejB3.cjs → CasinoSearch-B7Ou1rC4.cjs} +1 -1
  5. package/components/{CasinoSearch-ChD1lFpp.js → CasinoSearch-BFsYQwaV.js} +50 -50
  6. package/components/{CasinoSearch-CO35C86t.js → CasinoSearch-BwqcGdd9.js} +48 -48
  7. package/es2015/casino-search.cjs +1 -1
  8. package/es2015/casino-search.js +1 -1
  9. package/esnext/casino-search.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  12. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  13. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  14. package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
  18. package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
  19. package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
  20. package/components/CasinoGameThumbnail-w56eONDb.cjs +0 -64
  21. package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
  22. package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
  23. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameThumbnail-w56eONDb.cjs");function X(n,t){e.addMessages(n,t)}function ke(n){e.$locale.set(n)}const K={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."}};if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-w56eONDb.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}function Re(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 Q(n,t,a){const r=n.slice();return r[53]=t[a],r}function $(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 Ce(n){let t,a,r,s;function i(h,f){if(h[17]==!0&&h[12].length<2)return Te;if(h[15].length!=0)return Le}let l=i(n),c=l&&l(n),u=n[13]===!1&&ne(n),d=n[12].length>=2&&n[15].length==0&&se(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),d&&d.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),d&&d.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=ne(h),u.c(),u.m(a,r)):u&&(u.d(1),u=null),h[12].length>=2&&h[15].length==0?d?d.p(h,f):(d=se(h),d.c(),d.m(a,null)):d&&(d.d(1),d=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(),d&&d.d()}}}function Fe(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 Le(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 Te(n){let t,a,r=n[15].length!==0&&ee(n),s=n[15].length==0&&te(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=ee(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=te(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 ee(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 te(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ae();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,d){e.insert(u,t,d),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,d){u[10]==="true"?c||(c=ae(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),d[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),d[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ae(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 ne(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=re(Q(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=Q(s,a,l);r[l]?r[l].p(c,i):(r[l]=re(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 re(n){let t,a,r,s,i,l,c,u,d,h,f,S;return{c(){var m;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=((m=n[53].advancedTags)==null?void 0:m.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",d=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(m,g){e.insert(m,t,g)},p(m,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",m[0]),g[0]&524288&&e.set_custom_element_data(t,"session",m[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",m[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",m[8]),g[0]&2&&e.set_custom_element_data(t,"lang",m[1]),g[0]&32768&&a!==(a=m[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=m[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=m[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=m[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=m[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((T=m[53].advancedTags)==null?void 0:T.length)>0&&m[25](m[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=m[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&d!==(d=m[53].id)&&e.set_custom_element_data(t,"gameid",d),g[0]&64&&e.set_custom_element_data(t,"showgamename",m[6]),g[0]&32768&&h!==(h=m[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),g[0]&32768&&f!==(f=m[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&32768&&S!==(S=m[53].details?m[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",m[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",m[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",m[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",m[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",m[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",m[7])},d(m){m&&e.detach(t)}}}function se(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",d,h,f=n[10]==="true"&&oe();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"),d=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(S,m){e.insert(S,t,m),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,d)},p(S,m){S[10]==="true"?f||(f=oe(),f.c(),f.m(t,a)):f&&(f.d(1),f=null),m[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),m[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(d,u),m[0]&1024&&h!==(h="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(S){S&&e.detach(t),f&&f.d()}}}function oe(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 je(n){let t,a,r,s,i,l,c,u,d,h,f,S,m,g,T,j,G,P,I,N,b=n[9]==="true"&&$(n);function F(_,R){return _[18]?Fe:Ce}let z=F(n),v=z(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(),d=e.element("span"),h=e.svg_element("svg"),f=e.svg_element("path"),m=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",Ee),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(d,"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",G=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,d),e.append(d,h),e.append(h,f),e.append(r,m),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),v.m(t,null),n[37](t),I||(N=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(d,"click",n[35]),e.listen(j,"click",n[24])],I=!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(d,"class",S),_[9]==="true"?b?b.p(_,R):(b=$(_),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&&G!==(G=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",G),z===(z=F(_))&&v?v.p(_,R):(v.d(1),v=z(_),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),I=!1,e.run_all(N)}}}let Ee=50;function Ge(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:d=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:P="false"}=t,{mbsource:I}=t,N=window.navigator.userAgent,b=[],F=[],z={},v="",_,R=!0,D=!1,L=!1,E,B=!1,A,O,W=[];const ie=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{X(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(K).forEach(o=>{X(o,K[o])});const U=o=>{o.data&&o.data.type=="SearchedItemClicked"&&ge(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,A=o.data.session),a(20,O=o.data.userid),a(32,B=!0)),o.data.type=="CategoryChange"&&q()},V=()=>{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=[],y=0,k=p.length;if(k>0){for(y=0;y<k;y++){let C=new URL(`${s}/v1/casino/games/${p[y]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(N)),w.push(he(C,p[y]))}Promise.all(w).then(C=>{C=C.filter(function(x){return!!x}),a(15,b=C.map(x=>(x.isFavorite=J(x.id),x))),b.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}Y(D),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&&gtag("event",o,{context:p})},ce=()=>{G!="true"&&q()},ue=o=>new Promise((p,w)=>{a(18,L=!0),fetch(o.href).then(y=>y.json()).then(y=>{a(18,L=!1),p(y)}).catch(y=>{a(18,L=!1),console.error(y),w(y)})}),he=(o,p)=>new Promise((w,y)=>{a(18,L=!0),p&&Object.keys(z).indexOf(p)>=0?(a(18,L=!1),w(z[p])):fetch(o).then(k=>k.json()).then(k=>{a(18,L=!1),k.error||(z[k[0].gameId]=k[0]),w(k[0])}).catch(k=>{a(18,L=!1),console.error(k),y(k)})}),me=()=>{const o=new URL(`${s}/v1/player/${O}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":A}};fetch(o.href,p).then(w=>w.json()).then(w=>{a(18,L=!1),W=w.items.map(y=>y.id)})},de=()=>{a(32,B=!0),a(19,A=l),a(20,O=c)},J=o=>W.findIndex(p=>p==o)!==-1,fe=o=>{if((o==null?void 0:o.length)===0)return"";let p,w=99999999999,y;const k=new Date(Date.now());return o.forEach((C,x)=>{const ye=new Date(C.schedules[0].startTime),H=new Date(C.schedules[0].endTime);e.hooks(H).diff(k)<w&&(w=e.hooks(H).diff(k),y=x),e.hooks(k).isAfter(ye)&&e.hooks(k).isBefore(H)&&(p=o[y].name)}),p},ge=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)}},q=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,b=[]),a(17,D=!1),Y(D)},Z=()=>{a(12,v=""),_.focus()},Y=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},pe=()=>{ke(u)};e.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));function _e(){v=this.value,a(12,v)}function Se(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const be=()=>Z(),we=()=>q();function ve(o){e.binding_callbacks[o?"unshift":"push"](()=>{E=o,a(14,E)})}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,d=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,m=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,G=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon),"mbsource"in o&&a(11,I=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}`),ue(o).then(p=>{a(15,b=p.items.map(w=>(w.isFavorite=J(w.id),w)))})}else R||V();n.$$.dirty[0]&2&&u&&pe(),n.$$.dirty[1]&1&&T&&ie(),n.$$.dirty[0]&1610612736&&l&&c&&de(),n.$$.dirty[0]&256|n.$$.dirty[1]&2&&j&&B&&me(),n.$$.dirty[0]&16388&&d&&E&&e.setClientStyling(E,d),n.$$.dirty[0]&16392&&h&&E&&e.setClientStylingURL(E,h),n.$$.dirty[0]&18432&&E&&e.setStreamStyling(E,`${I}.Style`)},[s,u,d,h,f,S,m,g,j,G,P,I,v,R,E,b,_,D,L,A,O,r,N,V,ce,fe,q,Z,i,l,c,T,B,_e,Se,be,we,ve]}class le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ge,je,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},Re,[-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(le,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameThumbnail-B9HYnO2R.cjs");function X(n,t){e.addMessages(n,t)}function ke(n){e.$locale.set(n)}const K={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."}};if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-B9HYnO2R.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}function Re(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 Q(n,t,a){const r=n.slice();return r[53]=t[a],r}function $(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 Ce(n){let t,a,r,s;function i(h,f){if(h[17]==!0&&h[12].length<2)return Te;if(h[15].length!=0)return Le}let l=i(n),c=l&&l(n),u=n[13]===!1&&ne(n),d=n[12].length>=2&&n[15].length==0&&se(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),d&&d.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),d&&d.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=ne(h),u.c(),u.m(a,r)):u&&(u.d(1),u=null),h[12].length>=2&&h[15].length==0?d?d.p(h,f):(d=se(h),d.c(),d.m(a,null)):d&&(d.d(1),d=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(),d&&d.d()}}}function Fe(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 Le(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 Te(n){let t,a,r=n[15].length!==0&&ee(n),s=n[15].length==0&&te(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=ee(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=te(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 ee(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 te(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[10]==="true"&&ae();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,d){e.insert(u,t,d),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,d){u[10]==="true"?c||(c=ae(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),d[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),d[0]&1024&&l!==(l="ResultsContainerError "+(u[10]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ae(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 ne(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=re(Q(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=Q(s,a,l);r[l]?r[l].p(c,i):(r[l]=re(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 re(n){let t,a,r,s,i,l,c,u,d,h,f,S;return{c(){var m;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=((m=n[53].advancedTags)==null?void 0:m.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",d=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(m,g){e.insert(m,t,g)},p(m,g){var T;g[0]&1&&e.set_custom_element_data(t,"endpoint",m[0]),g[0]&524288&&e.set_custom_element_data(t,"session",m[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",m[20]),g[0]&256&&e.set_custom_element_data(t,"favorites",m[8]),g[0]&2&&e.set_custom_element_data(t,"lang",m[1]),g[0]&32768&&a!==(a=m[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=m[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=m[53].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=m[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=m[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((T=m[53].advancedTags)==null?void 0:T.length)>0&&m[25](m[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=m[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&d!==(d=m[53].id)&&e.set_custom_element_data(t,"gameid",d),g[0]&64&&e.set_custom_element_data(t,"showgamename",m[6]),g[0]&32768&&h!==(h=m[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),g[0]&32768&&f!==(f=m[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",f),g[0]&32768&&S!==(S=m[53].details?m[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&16&&e.set_custom_element_data(t,"integratedgameframedesktop",m[4]),g[0]&2048&&e.set_custom_element_data(t,"mbsource",m[11]),g[0]&32&&e.set_custom_element_data(t,"integratedgameframemobile",m[5]),g[0]&4&&e.set_custom_element_data(t,"clientstyling",m[2]),g[0]&8&&e.set_custom_element_data(t,"clientstylingurl",m[3]),g[0]&128&&e.set_custom_element_data(t,"gamepagemodalurl",m[7])},d(m){m&&e.detach(t)}}}function se(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",d,h,f=n[10]==="true"&&oe();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"),d=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(n[10]=="true"?"WithIcon":""))},m(S,m){e.insert(S,t,m),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,d)},p(S,m){S[10]==="true"?f||(f=oe(),f.c(),f.m(t,a)):f&&(f.d(1),f=null),m[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),m[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(d,u),m[0]&1024&&h!==(h="ResultsContainerError "+(S[10]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(S){S&&e.detach(t),f&&f.d()}}}function oe(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 je(n){let t,a,r,s,i,l,c,u,d,h,f,S,m,g,T,j,G,P,I,N,b=n[9]==="true"&&$(n);function F(_,R){return _[18]?Fe:Ce}let z=F(n),v=z(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(),d=e.element("span"),h=e.svg_element("svg"),f=e.svg_element("path"),m=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",Ee),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(d,"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",G=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,d),e.append(d,h),e.append(h,f),e.append(r,m),b&&b.m(r,null),e.append(t,T),e.append(t,j),e.append(t,P),v.m(t,null),n[37](t),I||(N=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(d,"click",n[35]),e.listen(j,"click",n[24])],I=!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(d,"class",S),_[9]==="true"?b?b.p(_,R):(b=$(_),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&&G!==(G=_[9]!="true"?"OverlayCancel":"")&&e.attr(j,"class",G),z===(z=F(_))&&v?v.p(_,R):(v.d(1),v=z(_),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),I=!1,e.run_all(N)}}}let Ee=50;function Ge(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:d=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:f="false"}=t,{integratedgameframemobile:S="false"}=t,{showgamename:m=""}=t,{gamepagemodalurl:g="true"}=t,{translationurl:T=""}=t,{showfavorites:j=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:P="false"}=t,{mbsource:I}=t,N=window.navigator.userAgent,b=[],F=[],z={},v="",_,R=!0,D=!1,L=!1,E,B=!1,A,O,W=[];const ie=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(w=>{X(w,p[w])})}).catch(p=>{console.log(p)})};Object.keys(K).forEach(o=>{X(o,K[o])});const U=o=>{o.data&&o.data.type=="SearchedItemClicked"&&ge(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,A=o.data.session),a(20,O=o.data.userid),a(32,B=!0)),o.data.type=="CategoryChange"&&q()},V=()=>{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=[],y=0,k=p.length;if(k>0){for(y=0;y<k;y++){let C=new URL(`${s}/v1/casino/games/${p[y]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(N)),w.push(he(C,p[y]))}Promise.all(w).then(C=>{C=C.filter(function(x){return!!x}),a(15,b=C.map(x=>(x.isFavorite=J(x.id),x))),b.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}Y(D),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&&gtag("event",o,{context:p})},ce=()=>{G!="true"&&q()},ue=o=>new Promise((p,w)=>{a(18,L=!0),fetch(o.href).then(y=>y.json()).then(y=>{a(18,L=!1),p(y)}).catch(y=>{a(18,L=!1),console.error(y),w(y)})}),he=(o,p)=>new Promise((w,y)=>{a(18,L=!0),p&&Object.keys(z).indexOf(p)>=0?(a(18,L=!1),w(z[p])):fetch(o).then(k=>k.json()).then(k=>{a(18,L=!1),k.error||(z[k[0].gameId]=k[0]),w(k[0])}).catch(k=>{a(18,L=!1),console.error(k),y(k)})}),me=()=>{const o=new URL(`${s}/v1/player/${O}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":A}};fetch(o.href,p).then(w=>w.json()).then(w=>{a(18,L=!1),W=w.items.map(y=>y.id)})},de=()=>{a(32,B=!0),a(19,A=l),a(20,O=c)},J=o=>W.findIndex(p=>p==o)!==-1,fe=o=>{if((o==null?void 0:o.length)===0)return"";let p,w=99999999999,y;const k=new Date(Date.now());return o.forEach((C,x)=>{const ye=new Date(C.schedules[0].startTime),H=new Date(C.schedules[0].endTime);e.hooks(H).diff(k)<w&&(w=e.hooks(H).diff(k),y=x),e.hooks(k).isAfter(ye)&&e.hooks(k).isBefore(H)&&(p=o[y].name)}),p},ge=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)}},q=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,b=[]),a(17,D=!1),Y(D)},Z=()=>{a(12,v=""),_.focus()},Y=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},pe=()=>{ke(u)};e.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));function _e(){v=this.value,a(12,v)}function Se(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const be=()=>Z(),we=()=>q();function ve(o){e.binding_callbacks[o?"unshift":"push"](()=>{E=o,a(14,E)})}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,d=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,m=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,G=o.cancelbutton),"notfoundicon"in o&&a(10,P=o.notfoundicon),"mbsource"in o&&a(11,I=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}`),ue(o).then(p=>{a(15,b=p.items.map(w=>(w.isFavorite=J(w.id),w)))})}else R||V();n.$$.dirty[0]&2&&u&&pe(),n.$$.dirty[1]&1&&T&&ie(),n.$$.dirty[0]&1610612736&&l&&c&&de(),n.$$.dirty[0]&256|n.$$.dirty[1]&2&&j&&B&&me(),n.$$.dirty[0]&16388&&d&&E&&e.setClientStyling(E,d),n.$$.dirty[0]&16392&&h&&E&&e.setClientStylingURL(E,h),n.$$.dirty[0]&18432&&E&&e.setStreamStyling(E,`${I}.Style`)},[s,u,d,h,f,S,m,g,j,G,P,I,v,R,E,b,_,D,L,A,O,r,N,V,ce,fe,q,Z,i,l,c,T,B,_e,Se,be,we,ve]}class le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ge,je,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},Re,[-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(le,{endpoint:{},datasource:{},session:{},userid:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},mbsource:{}},[],[],!0);exports.default=le;
@@ -1,4 +1,4 @@
1
- import { a as Ae, $ as Oe, S as qe, i as He, f as L, s as We, c as Ue, b as Ve, n as ie, d as E, r as Je, e as g, g as ce, h as j, j as _, l as Z, k, m as N, o as ue, p as te, q as Ze, t as Ye, u as q, v as H, w as $, x as he, y as de, z as Xe, A as Re, B as u, C as Ke, D as Qe, E as $e, F as et } from "./CasinoGameThumbnail-B2ZC3xpT.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 k, d as N, g as ie, h as g, j as te, k as E, l as _, m as ce, n as Z, o as ue, p as j, r as Je, q as Ze, t as Ye, u as Xe, v as q, w as H, x as $, y as he, z as Ke, A as Qe, B as de, C as Re, D as $e, E as u, F as et } from "./CasinoGameThumbnail-CA5NbMX6.js";
2
2
  function me(a, e) {
3
3
  Ae(a, e);
4
4
  }
@@ -200,7 +200,7 @@ if (typeof window != "undefined") {
200
200
  }
201
201
  };
202
202
  };
203
- customElements.define = a(customElements.define), import("./CasinoGameThumbnail-B2ZC3xpT.js").then((e) => e.G).then(({ default: e }) => {
203
+ customElements.define = a(customElements.define), import("./CasinoGameThumbnail-CA5NbMX6.js").then((e) => e.G).then(({ default: e }) => {
204
204
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", e.element);
205
205
  });
206
206
  }
@@ -218,11 +218,11 @@ function pe(a) {
218
218
  ), n, r, l, s;
219
219
  return {
220
220
  c() {
221
- e = k("small"), n = H(t), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
221
+ e = k("small"), n = q(t), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
222
222
  (a[13] ? "NotVisible" : ""));
223
223
  },
224
224
  m(i, c) {
225
- j(i, e, c), _(e, n), l || (s = Z(
225
+ E(i, e, c), _(e, n), l || (s = Z(
226
226
  e,
227
227
  "click",
228
228
  /*click_handler_1*/
@@ -232,12 +232,12 @@ function pe(a) {
232
232
  p(i, c) {
233
233
  c[0] & /*$_*/
234
234
  2097152 && t !== (t = /*$_*/
235
- i[21]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
235
+ i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
236
236
  8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
237
237
  (i[13] ? "NotVisible" : "")) && g(e, "class", r);
238
238
  },
239
239
  d(i) {
240
- i && E(e), l = !1, s();
240
+ i && j(e), l = !1, s();
241
241
  }
242
242
  };
243
243
  }
@@ -270,7 +270,7 @@ function nt(a) {
270
270
  (a[17] == !0 ? "" : "NotVisible"));
271
271
  },
272
272
  m(h, f) {
273
- i && i.m(h, f), j(h, e, f), j(h, t, f), c && c.m(t, null), _(t, n), m && m.m(t, null);
273
+ i && i.m(h, f), E(h, e, f), E(h, t, f), c && c.m(t, null), _(t, n), m && m.m(t, null);
274
274
  },
275
275
  p(h, f) {
276
276
  s === (s = l(h)) && i ? i.p(h, f) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
@@ -281,7 +281,7 @@ function nt(a) {
281
281
  (h[17] == !0 ? "" : "NotVisible")) && g(t, "class", r);
282
282
  },
283
283
  d(h) {
284
- h && (E(e), E(t)), i && i.d(h), c && c.d(), m && m.d();
284
+ h && (j(e), j(t)), i && i.d(h), c && c.d(), m && m.d();
285
285
  }
286
286
  };
287
287
  }
@@ -292,18 +292,18 @@ function rt(a) {
292
292
  ), n;
293
293
  return {
294
294
  c() {
295
- e = k("p"), n = H(t), g(e, "class", "LoadingContent");
295
+ e = k("p"), n = q(t), g(e, "class", "LoadingContent");
296
296
  },
297
297
  m(r, l) {
298
- j(r, e, l), _(e, n);
298
+ E(r, e, l), _(e, n);
299
299
  },
300
300
  p(r, l) {
301
301
  l[0] & /*$_*/
302
302
  2097152 && t !== (t = /*$_*/
303
- r[21]("loading") + "") && q(n, t);
303
+ r[21]("loading") + "") && H(n, t);
304
304
  },
305
305
  d(r) {
306
- r && E(e);
306
+ r && j(e);
307
307
  }
308
308
  };
309
309
  }
@@ -314,18 +314,18 @@ function ot(a) {
314
314
  ), n;
315
315
  return {
316
316
  c() {
317
- e = k("p"), n = H(t), g(e, "class", "SearchMessage");
317
+ e = k("p"), n = q(t), g(e, "class", "SearchMessage");
318
318
  },
319
319
  m(r, l) {
320
- j(r, e, l), _(e, n);
320
+ E(r, e, l), _(e, n);
321
321
  },
322
322
  p(r, l) {
323
323
  l[0] & /*$_*/
324
324
  2097152 && t !== (t = /*$_*/
325
- r[21]("searchResult") + "") && q(n, t);
325
+ r[21]("searchResult") + "") && H(n, t);
326
326
  },
327
327
  d(r) {
328
- r && E(e);
328
+ r && j(e);
329
329
  }
330
330
  };
331
331
  }
@@ -342,7 +342,7 @@ function st(a) {
342
342
  n && n.c(), e = N(), r && r.c(), t = Re();
343
343
  },
344
344
  m(l, s) {
345
- n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
345
+ n && n.m(l, s), E(l, e, s), r && r.m(l, s), E(l, t, s);
346
346
  },
347
347
  p(l, s) {
348
348
  /*searchArray*/
@@ -350,7 +350,7 @@ function st(a) {
350
350
  l[15].length == 0 ? r ? r.p(l, s) : (r = _e(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
351
351
  },
352
352
  d(l) {
353
- l && (E(e), E(t)), n && n.d(l), r && r.d(l);
353
+ l && (j(e), j(t)), n && n.d(l), r && r.d(l);
354
354
  }
355
355
  };
356
356
  }
@@ -361,18 +361,18 @@ function Se(a) {
361
361
  ), n;
362
362
  return {
363
363
  c() {
364
- e = k("p"), n = H(t), g(e, "class", "SearchMessage");
364
+ e = k("p"), n = q(t), g(e, "class", "SearchMessage");
365
365
  },
366
366
  m(r, l) {
367
- j(r, e, l), _(e, n);
367
+ E(r, e, l), _(e, n);
368
368
  },
369
369
  p(r, l) {
370
370
  l[0] & /*$_*/
371
371
  2097152 && t !== (t = /*$_*/
372
- r[21]("recentSearch") + "") && q(n, t);
372
+ r[21]("recentSearch") + "") && H(n, t);
373
373
  },
374
374
  d(r) {
375
- r && E(e);
375
+ r && j(e);
376
376
  }
377
377
  };
378
378
  }
@@ -386,22 +386,22 @@ function _e(a) {
386
386
  );
387
387
  return {
388
388
  c() {
389
- e = k("div"), i && i.c(), t = N(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
389
+ e = k("div"), i && i.c(), t = N(), n = k("p"), l = q(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
390
390
  (a[10] == "true" ? "WithIcon" : ""));
391
391
  },
392
392
  m(c, m) {
393
- j(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
393
+ E(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
394
394
  },
395
395
  p(c, m) {
396
396
  /*notfoundicon*/
397
397
  c[10] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
398
398
  2097152 && r !== (r = /*$_*/
399
- c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
399
+ c[21]("noRecentSearches") + "") && H(l, r), m[0] & /*notfoundicon*/
400
400
  1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
401
401
  (c[10] == "true" ? "WithIcon" : "")) && g(e, "class", s);
402
402
  },
403
403
  d(c) {
404
- c && E(e), i && i.d();
404
+ c && j(e), i && i.d();
405
405
  }
406
406
  };
407
407
  }
@@ -412,10 +412,10 @@ function be(a) {
412
412
  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");
413
413
  },
414
414
  m(t, n) {
415
- j(t, e, n);
415
+ E(t, e, n);
416
416
  },
417
417
  d(t) {
418
- t && E(e);
418
+ t && j(e);
419
419
  }
420
420
  };
421
421
  }
@@ -435,7 +435,7 @@ function we(a) {
435
435
  m(r, l) {
436
436
  for (let s = 0; s < n.length; s += 1)
437
437
  n[s] && n[s].m(r, l);
438
- j(r, e, l);
438
+ E(r, e, l);
439
439
  },
440
440
  p(r, l) {
441
441
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
@@ -455,7 +455,7 @@ function we(a) {
455
455
  }
456
456
  },
457
457
  d(r) {
458
- r && E(e), Xe(n, r);
458
+ r && j(e), $e(n, r);
459
459
  }
460
460
  };
461
461
  }
@@ -545,7 +545,7 @@ function ve(a) {
545
545
  );
546
546
  },
547
547
  m(d, p) {
548
- j(d, e, p);
548
+ E(d, e, p);
549
549
  },
550
550
  p(d, p) {
551
551
  var x;
@@ -653,7 +653,7 @@ function ve(a) {
653
653
  );
654
654
  },
655
655
  d(d) {
656
- d && E(e);
656
+ d && j(e);
657
657
  }
658
658
  };
659
659
  }
@@ -670,24 +670,24 @@ function ye(a) {
670
670
  );
671
671
  return {
672
672
  c() {
673
- e = k("div"), f && f.c(), t = N(), n = k("p"), l = H(r), s = N(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
673
+ e = k("div"), f && f.c(), t = N(), n = k("p"), l = q(r), s = N(), i = k("p"), m = q(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
674
674
  (a[10] == "true" ? "WithIcon" : ""));
675
675
  },
676
676
  m(w, d) {
677
- j(w, e, d), f && f.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
677
+ E(w, e, d), f && f.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
678
678
  },
679
679
  p(w, d) {
680
680
  /*notfoundicon*/
681
681
  w[10] === "true" ? f || (f = ke(), f.c(), f.m(e, t)) : f && (f.d(1), f = null), d[0] & /*$_*/
682
682
  2097152 && r !== (r = /*$_*/
683
- w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
683
+ w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
684
684
  2097152 && c !== (c = /*$_*/
685
- w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
685
+ w[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
686
686
  1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
687
687
  (w[10] == "true" ? "WithIcon" : "")) && g(e, "class", h);
688
688
  },
689
689
  d(w) {
690
- w && E(e), f && f.d();
690
+ w && j(e), f && f.d();
691
691
  }
692
692
  };
693
693
  }
@@ -698,10 +698,10 @@ function ke(a) {
698
698
  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");
699
699
  },
700
700
  m(t, n) {
701
- j(t, e, n);
701
+ E(t, e, n);
702
702
  },
703
703
  d(t) {
704
- t && E(e);
704
+ t && j(e);
705
705
  }
706
706
  };
707
707
  }
@@ -719,7 +719,7 @@ function lt(a) {
719
719
  let B = G(a), R = B(a);
720
720
  return {
721
721
  c() {
722
- e = k("div"), t = 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 = N(), s = k("input"), c = N(), m = k("span"), h = ue("svg"), f = ue("path"), d = N(), v && v.c(), x = N(), P = k("div"), U = N(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
722
+ e = k("div"), t = 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 = N(), s = k("input"), c = N(), m = k("span"), h = ie("svg"), f = ie("path"), d = N(), v && v.c(), x = N(), P = k("div"), U = N(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
723
723
  a[21]("placeHolderSearchGames")), g(s, "maxlength", it), 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*/
724
724
  (a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
725
725
  (a[12].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
@@ -730,7 +730,7 @@ function lt(a) {
730
730
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
731
731
  },
732
732
  m(b, T) {
733
- j(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
733
+ E(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
734
734
  s,
735
735
  /*searchValue*/
736
736
  a[12]
@@ -780,17 +780,17 @@ function lt(a) {
780
780
  512 && M !== (M = /*cancelbutton*/
781
781
  b[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = G(b)) && R ? R.p(b, T) : (R.d(1), R = B(b), R && (R.c(), R.m(e, null)));
782
782
  },
783
- i: ie,
784
- o: ie,
783
+ i: ue,
784
+ o: ue,
785
785
  d(b) {
786
- b && E(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Je(W);
786
+ b && j(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Je(W);
787
787
  }
788
788
  };
789
789
  }
790
790
  let it = 50;
791
791
  function ct(a, e, t) {
792
792
  let n;
793
- Ze(a, Ke, (o) => t(21, n = o));
793
+ Ze(a, et, (o) => t(21, n = o));
794
794
  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: x = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], B = {}, R = "", b, T = !0, V = !1, I = !1, D, Y = !1, X, K, ae = [];
795
795
  const Ce = () => {
796
796
  fetch(x).then((S) => S.json()).then((S) => {
@@ -919,9 +919,9 @@ function ct(a, e, t) {
919
919
  1610612736 && s && i && je(), a.$$.dirty[0] & /*showfavorites*/
920
920
  256 | a.$$.dirty[1] & /*isLoggedIn*/
921
921
  2 && P && Y && Ee(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
922
- 16388 && m && D && Qe(D, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
923
- 16392 && h && D && $e(D, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
924
- 18432 && D && et(D, `${A}.Style`);
922
+ 16388 && m && D && Ke(D, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
923
+ 16392 && h && D && Xe(D, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
924
+ 18432 && D && Qe(D, `${A}.Style`);
925
925
  }, [
926
926
  r,
927
927
  c,
@@ -970,7 +970,7 @@ class ut extends qe {
970
970
  e,
971
971
  ct,
972
972
  lt,
973
- We,
973
+ Ue,
974
974
  {
975
975
  endpoint: 0,
976
976
  datasource: 28,
@@ -1090,7 +1090,7 @@ class ut extends qe {
1090
1090
  this.$$set({ mbsource: e }), L();
1091
1091
  }
1092
1092
  }
1093
- Ue(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1093
+ We(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1094
1094
  export {
1095
1095
  ut as default
1096
1096
  };