@everymatrix/casino-most-played-section-nd 1.87.38 → 1.87.40

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 (21) hide show
  1. package/components/{CasinoFilter-Dj6YYvIy.js → CasinoFilter-B4iJIKe-.js} +116 -115
  2. package/components/{CasinoFilter-BEyLlRri.cjs → CasinoFilter-BEwkYHbi.cjs} +1 -1
  3. package/components/{CasinoFilter-hjg1mxB6.js → CasinoFilter-C7VfQk-p.js} +108 -107
  4. package/components/{CasinoGameThumbnailNd-C68J-1d9.js → CasinoGameThumbnailNd-BvJxtdHn.js} +585 -550
  5. package/components/CasinoGameThumbnailNd-I_T958KV.cjs +30 -0
  6. package/components/{CasinoGameThumbnailNd-DLYjyHaa.js → CasinoGameThumbnailNd-mTWPwxPL.js} +521 -486
  7. package/components/{CasinoGamesCategorySectionNd-BWm798-S.js → CasinoGamesCategorySectionNd-BT2Qn9Ho.js} +1365 -1313
  8. package/components/{CasinoGamesCategorySectionNd-B3RKvzR4.js → CasinoGamesCategorySectionNd-D4bP5lLG.js} +1357 -1305
  9. package/components/CasinoGamesCategorySectionNd-Dks7ybfs.cjs +1 -0
  10. package/components/{CasinoMostPlayedSectionNd-BOaOkjIc.js → CasinoMostPlayedSectionNd-BTf2Gojr.js} +1 -1
  11. package/components/{CasinoMostPlayedSectionNd-UwJ5kO22.cjs → CasinoMostPlayedSectionNd-BW1uNQcd.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSectionNd-BwpsHJ-J.js → CasinoMostPlayedSectionNd-BW3u7_s4.js} +1 -1
  13. package/components/{CasinoSort-BoSioeSv.js → CasinoSort-BWatSBDO.js} +1 -1
  14. package/components/{CasinoSort-BjC9YIs-.cjs → CasinoSort-Ct6N3smC.cjs} +1 -1
  15. package/components/{CasinoSort-DBjvjMmD.js → CasinoSort-kW2D0GU4.js} +1 -1
  16. package/es2015/casino-most-played-section-nd.cjs +1 -1
  17. package/es2015/casino-most-played-section-nd.js +1 -1
  18. package/esnext/casino-most-played-section-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoGameThumbnailNd-BDVWXyiG.cjs +0 -30
  21. package/components/CasinoGamesCategorySectionNd-CXtV0EVC.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var Pe=(n,e,a)=>new Promise((r,o)=>{var i=u=>{try{m(a.next(u))}catch(d){o(d)}},s=u=>{try{m(a.throw(u))}catch(d){o(d)}},m=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);m((a=a.apply(n,e)).next())});const t=require("./CasinoMostPlayedSectionNd-BW1uNQcd.cjs");function ea(n,e){t.addMessages(n,e)}function ta(n){t.$locale.set(n)}const aa={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}};function Ee(n){"@babel/helpers - typeof";return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(n)}function re(n){if(n===null||n===!0||n===!1)return NaN;var e=Number(n);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function N(n,e){if(e.length<n)throw new TypeError(n+" argument"+(n>1?"s":"")+" required, but only "+e.length+" present")}function R(n){N(1,arguments);var e=Object.prototype.toString.call(n);return n instanceof Date||Ee(n)==="object"&&e==="[object Date]"?new Date(n.getTime()):typeof n=="number"||e==="[object Number]"?new Date(n):((typeof n=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function na(n,e){N(2,arguments);var a=R(n).getTime(),r=re(e);return new Date(a+r)}var ra={};function Ue(){return ra}function oa(n){var e=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return e.setUTCFullYear(n.getFullYear()),n.getTime()-e.getTime()}function ia(n){return N(1,arguments),n instanceof Date||Ee(n)==="object"&&Object.prototype.toString.call(n)==="[object Date]"}function sa(n){if(N(1,arguments),!ia(n)&&typeof n!="number")return!1;var e=R(n);return!isNaN(Number(e))}function ot(n,e){return N(2,arguments),R(n).getTime()-R(e).getTime()}function la(n,e){N(2,arguments);var a=re(e);return na(n,-a)}var ma=864e5;function ua(n){N(1,arguments);var e=R(n),a=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),o=a-r;return Math.floor(o/ma)+1}function Ne(n){N(1,arguments);var e=1,a=R(n),r=a.getUTCDay(),o=(r<e?7:0)+r-e;return a.setUTCDate(a.getUTCDate()-o),a.setUTCHours(0,0,0,0),a}function Mt(n){N(1,arguments);var e=R(n),a=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(a+1,0,4),r.setUTCHours(0,0,0,0);var o=Ne(r),i=new Date(0);i.setUTCFullYear(a,0,4),i.setUTCHours(0,0,0,0);var s=Ne(i);return e.getTime()>=o.getTime()?a+1:e.getTime()>=s.getTime()?a:a-1}function ca(n){N(1,arguments);var e=Mt(n),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var r=Ne(a);return r}var da=6048e5;function fa(n){N(1,arguments);var e=R(n),a=Ne(e).getTime()-ca(e).getTime();return Math.round(a/da)+1}function Ie(n,e){var a,r,o,i,s,m,u,d;N(1,arguments);var _=Ue(),g=re((a=(r=(o=(i=e==null?void 0:e.weekStartsOn)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&o!==void 0?o:_.weekStartsOn)!==null&&r!==void 0?r:(u=_.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&a!==void 0?a:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=R(n),p=v.getUTCDay(),w=(p<g?7:0)+p-g;return v.setUTCDate(v.getUTCDate()-w),v.setUTCHours(0,0,0,0),v}function Gt(n,e){var a,r,o,i,s,m,u,d;N(1,arguments);var _=R(n),g=_.getUTCFullYear(),v=Ue(),p=re((a=(r=(o=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:v.firstWeekContainsDate)!==null&&r!==void 0?r:(u=v.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(g+1,0,p),w.setUTCHours(0,0,0,0);var S=Ie(w,e),c=new Date(0);c.setUTCFullYear(g,0,p),c.setUTCHours(0,0,0,0);var f=Ie(c,e);return _.getTime()>=S.getTime()?g+1:_.getTime()>=f.getTime()?g:g-1}function _a(n,e){var a,r,o,i,s,m,u,d;N(1,arguments);var _=Ue(),g=re((a=(r=(o=(i=e==null?void 0:e.firstWeekContainsDate)!==null&&i!==void 0?i:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:_.firstWeekContainsDate)!==null&&r!==void 0?r:(u=_.locale)===null||u===void 0||(d=u.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&a!==void 0?a:1),v=Gt(n,e),p=new Date(0);p.setUTCFullYear(v,0,g),p.setUTCHours(0,0,0,0);var w=Ie(p,e);return w}var ga=6048e5;function ha(n,e){N(1,arguments);var a=R(n),r=Ie(a,e).getTime()-_a(a,e).getTime();return Math.round(r/ga)+1}function G(n,e){for(var a=n<0?"-":"",r=Math.abs(n).toString();r.length<e;)r="0"+r;return a+r}var $={y:function(e,a){var r=e.getUTCFullYear(),o=r>0?r:1-r;return G(a==="yy"?o%100:o,a.length)},M:function(e,a){var r=e.getUTCMonth();return a==="M"?String(r+1):G(r+1,2)},d:function(e,a){return G(e.getUTCDate(),a.length)},a:function(e,a){var r=e.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,a){return G(e.getUTCHours()%12||12,a.length)},H:function(e,a){return G(e.getUTCHours(),a.length)},m:function(e,a){return G(e.getUTCMinutes(),a.length)},s:function(e,a){return G(e.getUTCSeconds(),a.length)},S:function(e,a){var r=a.length,o=e.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,r-3));return G(i,a.length)}},me={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},va={G:function(e,a,r){var o=e.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,a,r){if(a==="yo"){var o=e.getUTCFullYear(),i=o>0?o:1-o;return r.ordinalNumber(i,{unit:"year"})}return $.y(e,a)},Y:function(e,a,r,o){var i=Gt(e,o),s=i>0?i:1-i;if(a==="YY"){var m=s%100;return G(m,2)}return a==="Yo"?r.ordinalNumber(s,{unit:"year"}):G(s,a.length)},R:function(e,a){var r=Mt(e);return G(r,a.length)},u:function(e,a){var r=e.getUTCFullYear();return G(r,a.length)},Q:function(e,a,r){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"Q":return String(o);case"QQ":return G(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,a,r){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"q":return String(o);case"qq":return G(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,a,r){var o=e.getUTCMonth();switch(a){case"M":case"MM":return $.M(e,a);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,a,r){var o=e.getUTCMonth();switch(a){case"L":return String(o+1);case"LL":return G(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,a,r,o){var i=ha(e,o);return a==="wo"?r.ordinalNumber(i,{unit:"week"}):G(i,a.length)},I:function(e,a,r){var o=fa(e);return a==="Io"?r.ordinalNumber(o,{unit:"week"}):G(o,a.length)},d:function(e,a,r){return a==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):$.d(e,a)},D:function(e,a,r){var o=ua(e);return a==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):G(o,a.length)},E:function(e,a,r){var o=e.getUTCDay();switch(a){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,a,r,o){var i=e.getUTCDay(),s=(i-o.weekStartsOn+8)%7||7;switch(a){case"e":return String(s);case"ee":return G(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,a,r,o){var i=e.getUTCDay(),s=(i-o.weekStartsOn+8)%7||7;switch(a){case"c":return String(s);case"cc":return G(s,a.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,a,r){var o=e.getUTCDay(),i=o===0?7:o;switch(a){case"i":return String(i);case"ii":return G(i,a.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,a,r){var o=e.getUTCHours(),i=o/12>=1?"pm":"am";switch(a){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,a,r){var o=e.getUTCHours(),i;switch(o===12?i=me.noon:o===0?i=me.midnight:i=o/12>=1?"pm":"am",a){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,a,r){var o=e.getUTCHours(),i;switch(o>=17?i=me.evening:o>=12?i=me.afternoon:o>=4?i=me.morning:i=me.night,a){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,a,r){if(a==="ho"){var o=e.getUTCHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{unit:"hour"})}return $.h(e,a)},H:function(e,a,r){return a==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):$.H(e,a)},K:function(e,a,r){var o=e.getUTCHours()%12;return a==="Ko"?r.ordinalNumber(o,{unit:"hour"}):G(o,a.length)},k:function(e,a,r){var o=e.getUTCHours();return o===0&&(o=24),a==="ko"?r.ordinalNumber(o,{unit:"hour"}):G(o,a.length)},m:function(e,a,r){return a==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):$.m(e,a)},s:function(e,a,r){return a==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):$.s(e,a)},S:function(e,a){return $.S(e,a)},X:function(e,a,r,o){var i=o._originalDate||e,s=i.getTimezoneOffset();if(s===0)return"Z";switch(a){case"X":return st(s);case"XXXX":case"XX":return ne(s);case"XXXXX":case"XXX":default:return ne(s,":")}},x:function(e,a,r,o){var i=o._originalDate||e,s=i.getTimezoneOffset();switch(a){case"x":return st(s);case"xxxx":case"xx":return ne(s);case"xxxxx":case"xxx":default:return ne(s,":")}},O:function(e,a,r,o){var i=o._originalDate||e,s=i.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+it(s,":");case"OOOO":default:return"GMT"+ne(s,":")}},z:function(e,a,r,o){var i=o._originalDate||e,s=i.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+it(s,":");case"zzzz":default:return"GMT"+ne(s,":")}},t:function(e,a,r,o){var i=o._originalDate||e,s=Math.floor(i.getTime()/1e3);return G(s,a.length)},T:function(e,a,r,o){var i=o._originalDate||e,s=i.getTime();return G(s,a.length)}};function it(n,e){var a=n>0?"-":"+",r=Math.abs(n),o=Math.floor(r/60),i=r%60;if(i===0)return a+String(o);var s=e;return a+String(o)+s+G(i,2)}function st(n,e){if(n%60===0){var a=n>0?"-":"+";return a+G(Math.abs(n)/60,2)}return ne(n,e)}function ne(n,e){var a=e||"",r=n>0?"-":"+",o=Math.abs(n),i=G(Math.floor(o/60),2),s=G(o%60,2);return r+i+a+s}var lt=function(e,a){switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Ft=function(e,a){switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},pa=function(e,a){var r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return lt(e,a);var s;switch(o){case"P":s=a.dateTime({width:"short"});break;case"PP":s=a.dateTime({width:"medium"});break;case"PPP":s=a.dateTime({width:"long"});break;case"PPPP":default:s=a.dateTime({width:"full"});break}return s.replace("{{date}}",lt(o,a)).replace("{{time}}",Ft(i,a))},ba={p:Ft,P:pa},wa=["D","DD"],ya=["YY","YYYY"];function ka(n){return wa.indexOf(n)!==-1}function Ca(n){return ya.indexOf(n)!==-1}function mt(n,e,a){if(n==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(n==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Sa={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ma=function(e,a,r){var o,i=Sa[e];return typeof i=="string"?o=i:a===1?o=i.one:o=i.other.replace("{{count}}",a.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};function Ze(n){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=e.width?String(e.width):n.defaultWidth,r=n.formats[a]||n.formats[n.defaultWidth];return r}}var Ga={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ta={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},za={date:Ze({formats:Ga,defaultWidth:"full"}),time:Ze({formats:Fa,defaultWidth:"full"}),dateTime:Ze({formats:Ta,defaultWidth:"full"})},Oa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Da=function(e,a,r,o){return Oa[e]};function pe(n){return function(e,a){var r=a!=null&&a.context?String(a.context):"standalone",o;if(r==="formatting"&&n.formattingValues){var i=n.defaultFormattingWidth||n.defaultWidth,s=a!=null&&a.width?String(a.width):i;o=n.formattingValues[s]||n.formattingValues[i]}else{var m=n.defaultWidth,u=a!=null&&a.width?String(a.width):n.defaultWidth;o=n.values[u]||n.values[m]}var d=n.argumentCallback?n.argumentCallback(e):e;return o[d]}}var Pa={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ea={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Na={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ia={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ua={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ra={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},La=function(e,a){var r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Aa={ordinalNumber:La,era:pe({values:Pa,defaultWidth:"wide"}),quarter:pe({values:Ea,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:pe({values:Na,defaultWidth:"wide"}),day:pe({values:Ia,defaultWidth:"wide"}),dayPeriod:pe({values:Ua,defaultWidth:"wide",formattingValues:Ra,defaultFormattingWidth:"wide"})};function be(n){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=a.width,o=r&&n.matchPatterns[r]||n.matchPatterns[n.defaultMatchWidth],i=e.match(o);if(!i)return null;var s=i[0],m=r&&n.parsePatterns[r]||n.parsePatterns[n.defaultParseWidth],u=Array.isArray(m)?ja(m,function(g){return g.test(s)}):Wa(m,function(g){return g.test(s)}),d;d=n.valueCallback?n.valueCallback(u):u,d=a.valueCallback?a.valueCallback(d):d;var _=e.slice(s.length);return{value:d,rest:_}}}function Wa(n,e){for(var a in n)if(n.hasOwnProperty(a)&&e(n[a]))return a}function ja(n,e){for(var a=0;a<n.length;a++)if(e(n[a]))return a}function Ya(n){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(n.matchPattern);if(!r)return null;var o=r[0],i=e.match(n.parsePattern);if(!i)return null;var s=n.valueCallback?n.valueCallback(i[0]):i[0];s=a.valueCallback?a.valueCallback(s):s;var m=e.slice(o.length);return{value:s,rest:m}}}var qa=/^(\d+)(th|st|nd|rd)?/i,Ha=/\d+/i,Va={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ba={any:[/^b/i,/^(a|c)/i]},Xa={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Qa={any:[/1/i,/2/i,/3/i,/4/i]},Ja={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ka={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Za={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},$a={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},en={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tn={ordinalNumber:Ya({matchPattern:qa,parsePattern:Ha,valueCallback:function(e){return parseInt(e,10)}}),era:be({matchPatterns:Va,defaultMatchWidth:"wide",parsePatterns:Ba,defaultParseWidth:"any"}),quarter:be({matchPatterns:Xa,defaultMatchWidth:"wide",parsePatterns:Qa,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:be({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Ka,defaultParseWidth:"any"}),day:be({matchPatterns:Za,defaultMatchWidth:"wide",parsePatterns:xa,defaultParseWidth:"any"}),dayPeriod:be({matchPatterns:$a,defaultMatchWidth:"any",parsePatterns:en,defaultParseWidth:"any"})},an={code:"en-US",formatDistance:Ma,formatLong:za,formatRelative:Da,localize:Aa,match:tn,options:{weekStartsOn:0,firstWeekContainsDate:1}},nn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,on=/^'([^]*?)'?$/,sn=/''/g,ln=/[a-zA-Z]/;function mn(n,e,a){var r,o,i,s,m,u,d,_,g,v,p,w,S,c;N(2,arguments);var f=String(e),F=Ue(),C=(r=(o=void 0)!==null&&o!==void 0?o:F.locale)!==null&&r!==void 0?r:an,b=re((i=(s=(m=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&m!==void 0?m:F.firstWeekContainsDate)!==null&&s!==void 0?s:(d=F.locale)===null||d===void 0||(_=d.options)===null||_===void 0?void 0:_.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=re((g=(v=(p=(w=void 0)!==null&&w!==void 0?w:void 0)!==null&&p!==void 0?p:F.weekStartsOn)!==null&&v!==void 0?v:(S=F.locale)===null||S===void 0||(c=S.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&g!==void 0?g:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!C.localize)throw new RangeError("locale must contain localize property");if(!C.formatLong)throw new RangeError("locale must contain formatLong property");var q=R(n);if(!sa(q))throw new RangeError("Invalid time value");var oe=oa(q),ie=la(q,oe),we={firstWeekContainsDate:b,weekStartsOn:B,locale:C,_originalDate:q},ye=f.match(rn).map(function(P){var L=P[0];if(L==="p"||L==="P"){var K=ba[L];return K(P,C.formatLong)}return P}).join("").match(nn).map(function(P){if(P==="''")return"'";var L=P[0];if(L==="'")return un(P);var K=va[L];if(K)return Ca(P)&&mt(P,e,String(n)),ka(P)&&mt(P,e,String(n)),K(ie,P,C.localize,we);if(L.match(ln))throw new RangeError("Format string contains an unescaped latin alphabet character `"+L+"`");return P}).join("");return ye}function un(n){var e=n.match(on);return e?e[1].replace(sn,"'"):n}function cn(n,e){N(2,arguments);var a=R(n),r=R(e);return a.getTime()>r.getTime()}function dn(n,e){N(2,arguments);var a=R(n),r=R(e);return a.getTime()<r.getTime()}if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.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("./CasinoGameThumbnailNd-I_T958KV.cjs")).then(({default:e})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",e.element)})}if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.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("./CasinoFilter-BEwkYHbi.cjs")).then(({default:e})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",e.element)})}if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.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("./CasinoSort-Ct6N3smC.cjs")).then(({default:e})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",e.element)})}function fn(n){t.append_styles(n,"svelte-3d5n3f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw--casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw--casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName,.GameContainer.CasinoGamesGridSlider .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 10px)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{gap:2px}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, #22B04E);border-color:var(--emw--casino-color-primary, #22B04E) transparent var(--emw--casino-color-primary, #22B04E);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw--casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}')}function ut(n,e,a){const r=n.slice();return r[101]=e[a],r[103]=a,r}function ct(n,e,a){const r=n.slice();return r[101]=e[a],r[104]=e,r[103]=a,r}function dt(n,e,a){const r=n.slice();return r[101]=e[a],r[103]=a,r}function _n(n){let e;function a(i,s){if(i[29])return pn;if(i[40])return vn}let r=a(n),o=r&&r(n);return{c(){e=t.element("div"),o&&o.c()},m(i,s){t.insert(i,e,s),o&&o.m(e,null)},p(i,s){r===(r=a(i))&&o?o.p(i,s):(o&&o.d(1),o=r&&r(i),o&&(o.c(),o.m(e,null)))},d(i){i&&t.detach(e),o&&o.d()}}}function gn(n){let e,a,r;function o(_,g){return _[33]?Rn:_[30].length?In:Un}let i=o(n),s=i(n);function m(_,g){return _[30]?An:Ln}let u=m(n),d=u(n);return{c(){e=t.element("div"),a=t.element("div"),s.c(),r=t.space(),d.c(),t.attr(a,"class","CasinoGamesHeader Searched "+(t.isMobile(n[45])?"CasinoGamesHeaderMobile":"")),t.attr(e,"class","CasinoGamesContainer")},m(_,g){t.insert(_,e,g),t.append(e,a),s.m(a,null),t.append(e,r),d.m(e,null)},p(_,g){i===(i=o(_))&&s?s.p(_,g):(s.d(1),s=i(_),s&&(s.c(),s.m(a,null))),u===(u=m(_))&&d?d.p(_,g):(d.d(1),d=u(_),d&&(d.c(),d.m(e,null)))},d(_){_&&t.detach(e),s.d(),d.d()}}}function hn(n){let e;function a(i,s){return i[35]?jn:Wn}let r=a(n),o=r(n);return{c(){o.c(),e=t.empty()},m(i,s){o.m(i,s),t.insert(i,e,s)},p(i,s){r!==(r=a(i))&&(o.d(1),o=r(i),o&&(o.c(),o.m(e.parentNode,e)))},d(i){i&&t.detach(e),o.d(i)}}}function vn(n){let e,a,r,o,i=n[20]!=="true"&&ft(n);function s(d,_){return d[26]&&!d[37]?yn:d[43]?wn:bn}let m=s(n),u=m(n);return{c(){e=t.element("div"),i&&i.c(),a=t.space(),r=t.element("ul"),u.c(),t.attr(r,"class",o=(n[43].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),t.attr(e,"class","CasinoGamesContainer")},m(d,_){t.insert(d,e,_),i&&i.m(e,null),t.append(e,a),t.append(e,r),u.m(r,null),n[64](r)},p(d,_){d[20]!=="true"?i?i.p(d,_):(i=ft(d),i.c(),i.m(e,a)):i&&(i.d(1),i=null),m===(m=s(d))&&u?u.p(d,_):(u.d(1),u=m(d),u&&(u.c(),u.m(r,null))),_[1]&4096&&o!==(o=(d[43].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&t.attr(r,"class",o)},d(d){d&&t.detach(e),i&&i.d(),u.d(),n[64](null)}}}function pn(n){let e,a,r=n[20]!=="true"&&bt(n);function o(m,u){return m[26]&&!m[37]?En:m[30].length!==0?Pn:Dn}let i=o(n),s=i(n);return{c(){e=t.element("div"),r&&r.c(),a=t.space(),s.c(),t.attr(e,"class","CasinoGamesContainer")},m(m,u){t.insert(m,e,u),r&&r.m(e,null),t.append(e,a),s.m(e,null)},p(m,u){m[20]!=="true"?r?r.p(m,u):(r=bt(m),r.c(),r.m(e,a)):r&&(r.d(1),r=null),i===(i=o(m))&&s?s.p(m,u):(s.d(1),s=i(m),s&&(s.c(),s.m(e,null)))},d(m){m&&t.detach(e),r&&r.d(),s.d()}}}function ft(n){let e,a,r=n[44]("favorites")+"",o,i,s,m,u=n[43].items.length+"",d,_;return{c(){e=t.element("div"),a=t.element("h3"),o=t.text(r),i=t.space(),s=t.element("span"),m=t.text("("),d=t.text(u),_=t.text(")"),t.attr(s,"class","CategoryFavName"),t.attr(a,"class","CategoryName"),t.attr(e,"class","CasinoGamesHeader")},m(g,v){t.insert(g,e,v),t.append(e,a),t.append(a,o),t.append(a,i),t.append(a,s),t.append(s,m),t.append(s,d),t.append(s,_),n[63](a)},p(g,v){v[1]&8192&&r!==(r=g[44]("favorites")+"")&&t.set_data(o,r),v[1]&4096&&u!==(u=g[43].items.length+"")&&t.set_data(d,u)},d(g){g&&t.detach(e),n[63](null)}}}function bn(n){let e,a=n[44]("waiting")+"",r;return{c(){e=t.element("p"),r=t.text(a)},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("waiting")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function wn(n){let e,a=t.ensure_array_like(n[43].items),r=[];for(let i=0;i<a.length;i+=1)r[i]=pt(ut(n,a,i));let o=null;return a.length||(o=_t(n)),{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=t.empty(),o&&o.c()},m(i,s){for(let m=0;m<r.length;m+=1)r[m]&&r[m].m(i,s);t.insert(i,e,s),o&&o.m(i,s)},p(i,s){if(s[0]&1048553|s[1]&130560){a=t.ensure_array_like(i[43].items);let m;for(m=0;m<a.length;m+=1){const u=ut(i,a,m);r[m]?r[m].p(u,s):(r[m]=pt(u),r[m].c(),r[m].m(e.parentNode,e))}for(;m<r.length;m+=1)r[m].d(1);r.length=a.length,!a.length&&o?o.p(i,s):a.length?o&&(o.d(1),o=null):(o=_t(i),o.c(),o.m(e.parentNode,e))}},d(i){i&&t.detach(e),t.destroy_each(r,i),o&&o.d(i)}}}function yn(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","lds-dual-ring")},m(a,r){t.insert(a,e,r)},p:t.noop,d(a){a&&t.detach(e)}}}function _t(n){let e,a,r,o,i,s,m,u,d,_,g,v=n[44]("noFavoritesTitle")+"",p,w,S;function c(C,b){return t.isMobile(C[45])?Cn:kn}let F=c(n)(n);return{c(){e=t.element("p"),a=t.svg_element("svg"),r=t.svg_element("rect"),o=t.svg_element("rect"),i=t.svg_element("circle"),s=t.svg_element("path"),m=t.svg_element("path"),u=t.svg_element("path"),d=t.svg_element("path"),_=t.space(),g=t.element("span"),p=t.text(v),w=t.space(),F.c(),S=t.space(),t.attr(r,"x","1"),t.attr(r,"y","18.053"),t.attr(r,"width","90.263"),t.attr(r,"height","90.263"),t.attr(r,"rx","12"),t.attr(r,"stroke","var(--emw--color-gray-150, #828282)"),t.attr(r,"stroke-width","1.5"),t.attr(o,"x","106.737"),t.attr(o,"y","56.737"),t.attr(o,"width","90.263"),t.attr(o,"height","90.263"),t.attr(o,"rx","12"),t.attr(o,"stroke","var(--emw--color-gray-150, #828282)"),t.attr(o,"stroke-width","1.5"),t.attr(i,"cx","70.5"),t.attr(i,"cy","32.237"),t.attr(i,"r","31.487"),t.attr(i,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),t.attr(i,"stroke-width","1.5"),t.attr(i,"stroke-dasharray","5 0"),t.attr(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),t.attr(s,"fill","var(--emw--color-gray-150, #828282)"),t.attr(m,"d","M78 43h11v13H78V43z"),t.attr(m,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),t.attr(u,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),t.attr(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),t.attr(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),t.attr(u,"stroke-linecap","round"),t.attr(u,"stroke-linejoin","round"),t.attr(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),t.attr(d,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),t.attr(d,"stroke-width","1.5"),t.attr(d,"stroke-linecap","round"),t.attr(d,"stroke-linejoin","round"),t.attr(a,"width","198"),t.attr(a,"height","148"),t.attr(a,"viewBox","0 0 198 148"),t.attr(a,"fill","none"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(g,"class","NoFavoriteText NoFavoriteTextHighlight"),t.attr(e,"class","NoFavoriteGames "+(t.isMobile(n[45])?"NoFavoriteGamesMobile":""))},m(C,b){t.insert(C,e,b),t.append(e,a),t.append(a,r),t.append(a,o),t.append(a,i),t.append(a,s),t.append(a,m),t.append(a,u),t.append(a,d),t.append(e,_),t.append(e,g),t.append(g,p),t.append(e,w),F.m(e,null),t.append(e,S)},p(C,b){b[1]&8192&&v!==(v=C[44]("noFavoritesTitle")+"")&&t.set_data(p,v),F.p(C,b)},d(C){C&&t.detach(e),F.d()}}}function kn(n){let e,a=n[44]("noFavorites")+"",r;return{c(){e=t.element("span"),r=t.text(a),t.attr(e,"class","NoFavoriteText")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("noFavorites")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function Cn(n){let e,a=n[44]("noFavoritesMobile")+"",r;return{c(){e=t.element("span"),r=t.text(a),t.attr(e,"class","NoFavoriteText")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("noFavoritesMobile")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function gt(n){let e,a=n[101].gameModel.isFavorite&&ht(n);return{c(){a&&a.c(),e=t.empty()},m(r,o){a&&a.m(r,o),t.insert(r,e,o)},p(r,o){r[101].gameModel.isFavorite?a?a.p(r,o):(a=ht(r),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},d(r){r&&t.detach(e),a&&a.d(r)}}}function ht(n){let e,a=Sn(n);return{c(){a&&a.c(),e=t.empty()},m(r,o){a&&a.m(r,o),t.insert(r,e,o)},p(r,o){a.p(r,o)},d(r){r&&t.detach(e),a&&a.d(r)}}}function Sn(n){let e,a,r;function o(m,u){if(u[1]&4096&&(a=null),e==null&&(e=!!t.isMobile(m[45])),e)return Gn;if(a==null&&(a=!!m[101].gameModel.platform.includes("PC")),a)return Mn}let i=o(n,[-1,-1,-1,-1]),s=i&&i(n);return{c(){s&&s.c(),r=t.empty()},m(m,u){s&&s.m(m,u),t.insert(m,r,u)},p(m,u){i===(i=o(m,u))&&s?s.p(m,u):(s&&s.d(1),s=i&&i(m),s&&(s.c(),s.m(r.parentNode,r)))},d(m){m&&t.detach(r),s&&s.d(m)}}}function Mn(n){let e,a,r,o,i,s,m,u,d,_,g,v,p,w,S;return{c(){var c,f;e=t.element("casino-game-thumbnail-nd"),t.set_custom_element_data(e,"class",a=""+(ee+(n[101].cellSize?n[101].cellSize:"1x1"))),t.set_custom_element_data(e,"session",n[6]),t.set_custom_element_data(e,"userid",n[7]),t.set_custom_element_data(e,"lang",n[5]),t.set_custom_element_data(e,"translationurl",n[12]),t.set_custom_element_data(e,"favorites",n[8]),t.set_custom_element_data(e,"categoryid",n[0]),t.set_custom_element_data(e,"gamethumbnail",r=n[101].gameModel.thumbnail),t.set_custom_element_data(e,"icon",o=n[47]((c=n[101])==null?void 0:c.icons)),t.set_custom_element_data(e,"gamename",i=n[101].gameModel.name),t.set_custom_element_data(e,"gamevendor",s=n[101].gameModel.vendor.logo),t.set_custom_element_data(e,"gameLaunchUrl",m=n[101].launchUrl),t.set_custom_element_data(e,"gameisnew",u=n[101].gameModel.isNew),t.set_custom_element_data(e,"gametag",d=n[46]((f=n[101].gameModel)==null?void 0:f.advancedTags)),t.set_custom_element_data(e,"gamecellsize",_=n[101].cellSize),t.set_custom_element_data(e,"gameid",g=n[101].gameModel.id),t.set_custom_element_data(e,"gamefunmode",v=n[101].gameModel.hasFunMode),t.set_custom_element_data(e,"showgamename",n[15]),t.set_custom_element_data(e,"gamefavorite",p=n[101].gameModel.isFavorite),t.set_custom_element_data(e,"showfavoredcategory",n[40]),t.set_custom_element_data(e,"connectlive",w=n[41][n[101].id]==1?"connect":"disconnect"),t.set_custom_element_data(e,"visibilityconnect",n[42]),t.set_custom_element_data(e,"currency",n[13]),t.set_custom_element_data(e,"livelobbyendpoint",S=n[101].gameModel.details?n[101].gameModel.launchUrl:""),t.set_custom_element_data(e,"clientstyling",n[10]),t.set_custom_element_data(e,"clientstylingurl",n[11]),t.set_custom_element_data(e,"endpoint",n[3]),t.set_custom_element_data(e,"livecasino",n[16]),t.set_custom_element_data(e,"gamepagemodalurl",n[17]),t.set_custom_element_data(e,"integratedgameframedesktop",n[18]),t.set_custom_element_data(e,"integratedgameframemobile",n[19]),t.set_custom_element_data(e,"mbsource",n[9]),t.set_custom_element_data(e,"allowsingleclickgameentry",n[14])},m(c,f){t.insert(c,e,f)},p(c,f){var F,C;f[1]&4096&&a!==(a=""+(ee+(c[101].cellSize?c[101].cellSize:"1x1")))&&t.set_custom_element_data(e,"class",a),f[0]&64&&t.set_custom_element_data(e,"session",c[6]),f[0]&128&&t.set_custom_element_data(e,"userid",c[7]),f[0]&32&&t.set_custom_element_data(e,"lang",c[5]),f[0]&4096&&t.set_custom_element_data(e,"translationurl",c[12]),f[0]&256&&t.set_custom_element_data(e,"favorites",c[8]),f[0]&1&&t.set_custom_element_data(e,"categoryid",c[0]),f[1]&4096&&r!==(r=c[101].gameModel.thumbnail)&&t.set_custom_element_data(e,"gamethumbnail",r),f[1]&4096&&o!==(o=c[47]((F=c[101])==null?void 0:F.icons))&&t.set_custom_element_data(e,"icon",o),f[1]&4096&&i!==(i=c[101].gameModel.name)&&t.set_custom_element_data(e,"gamename",i),f[1]&4096&&s!==(s=c[101].gameModel.vendor.logo)&&t.set_custom_element_data(e,"gamevendor",s),f[1]&4096&&m!==(m=c[101].launchUrl)&&t.set_custom_element_data(e,"gameLaunchUrl",m),f[1]&4096&&u!==(u=c[101].gameModel.isNew)&&t.set_custom_element_data(e,"gameisnew",u),f[1]&4096&&d!==(d=c[46]((C=c[101].gameModel)==null?void 0:C.advancedTags))&&t.set_custom_element_data(e,"gametag",d),f[1]&4096&&_!==(_=c[101].cellSize)&&t.set_custom_element_data(e,"gamecellsize",_),f[1]&4096&&g!==(g=c[101].gameModel.id)&&t.set_custom_element_data(e,"gameid",g),f[1]&4096&&v!==(v=c[101].gameModel.hasFunMode)&&t.set_custom_element_data(e,"gamefunmode",v),f[0]&32768&&t.set_custom_element_data(e,"showgamename",c[15]),f[1]&4096&&p!==(p=c[101].gameModel.isFavorite)&&t.set_custom_element_data(e,"gamefavorite",p),f[1]&512&&t.set_custom_element_data(e,"showfavoredcategory",c[40]),f[1]&5120&&w!==(w=c[41][c[101].id]==1?"connect":"disconnect")&&t.set_custom_element_data(e,"connectlive",w),f[1]&2048&&t.set_custom_element_data(e,"visibilityconnect",c[42]),f[0]&8192&&t.set_custom_element_data(e,"currency",c[13]),f[1]&4096&&S!==(S=c[101].gameModel.details?c[101].gameModel.launchUrl:"")&&t.set_custom_element_data(e,"livelobbyendpoint",S),f[0]&1024&&t.set_custom_element_data(e,"clientstyling",c[10]),f[0]&2048&&t.set_custom_element_data(e,"clientstylingurl",c[11]),f[0]&8&&t.set_custom_element_data(e,"endpoint",c[3]),f[0]&65536&&t.set_custom_element_data(e,"livecasino",c[16]),f[0]&131072&&t.set_custom_element_data(e,"gamepagemodalurl",c[17]),f[0]&262144&&t.set_custom_element_data(e,"integratedgameframedesktop",c[18]),f[0]&524288&&t.set_custom_element_data(e,"integratedgameframemobile",c[19]),f[0]&512&&t.set_custom_element_data(e,"mbsource",c[9]),f[0]&16384&&t.set_custom_element_data(e,"allowsingleclickgameentry",c[14])},d(c){c&&t.detach(e)}}}function Gn(n){let e=n[101].gameModel.platform.includes("iPad")||n[101].gameModel.platform.includes("iPhone")||n[101].gameModel.platform.includes("Android"),a,r=e&&vt(n);return{c(){r&&r.c(),a=t.empty()},m(o,i){r&&r.m(o,i),t.insert(o,a,i)},p(o,i){i[1]&4096&&(e=o[101].gameModel.platform.includes("iPad")||o[101].gameModel.platform.includes("iPhone")||o[101].gameModel.platform.includes("Android")),e?r?r.p(o,i):(r=vt(o),r.c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(o){o&&t.detach(a),r&&r.d(o)}}}function vt(n){let e,a,r,o,i,s,m,u,d,_,g,v,p,w,S;return{c(){var c,f;e=t.element("casino-game-thumbnail-nd"),t.set_custom_element_data(e,"class",a=""+(ee+(n[101].cellSize?n[101].cellSize:"1x1"))),t.set_custom_element_data(e,"session",n[6]),t.set_custom_element_data(e,"userid",n[7]),t.set_custom_element_data(e,"lang",n[5]),t.set_custom_element_data(e,"favorites",n[8]),t.set_custom_element_data(e,"categoryid",n[0]),t.set_custom_element_data(e,"gamethumbnail",r=n[101].gameModel.thumbnail),t.set_custom_element_data(e,"icon",o=n[47]((c=n[101])==null?void 0:c.icons)),t.set_custom_element_data(e,"gamename",i=n[101].gameModel.name),t.set_custom_element_data(e,"gamevendor",s=n[101].gameModel.vendor.logo),t.set_custom_element_data(e,"gameLaunchUrl",m=n[101].launchUrl),t.set_custom_element_data(e,"gameisnew",u=n[101].gameModel.isNew),t.set_custom_element_data(e,"gametag",d=n[46]((f=n[101].gameModel)==null?void 0:f.advancedTags)),t.set_custom_element_data(e,"gamecellsize",_=n[101].cellSize),t.set_custom_element_data(e,"gameid",g=n[101].gameModel.id),t.set_custom_element_data(e,"gamefunmode",v=n[101].gameModel.hasFunMode),t.set_custom_element_data(e,"showgamename",n[15]),t.set_custom_element_data(e,"gamefavorite",p=n[101].gameModel.isFavorite),t.set_custom_element_data(e,"showfavoredcategory",n[40]),t.set_custom_element_data(e,"connectlive",w=n[41][n[101].id]==1?"connect":"disconnect"),t.set_custom_element_data(e,"visibilityconnect",n[42]),t.set_custom_element_data(e,"translationurl",n[12]),t.set_custom_element_data(e,"currency",n[13]),t.set_custom_element_data(e,"livelobbyendpoint",S=n[101].gameModel.details?n[101].gameModel.launchUrl:""),t.set_custom_element_data(e,"clientstyling",n[10]),t.set_custom_element_data(e,"clientstylingurl",n[11]),t.set_custom_element_data(e,"endpoint",n[3]),t.set_custom_element_data(e,"livecasino",n[16]),t.set_custom_element_data(e,"gamepagemodalurl",n[17]),t.set_custom_element_data(e,"integratedgameframedesktop",n[18]),t.set_custom_element_data(e,"integratedgameframemobile",n[19]),t.set_custom_element_data(e,"allowsingleclickgameentry",n[14]),t.set_custom_element_data(e,"mbsource",n[9])},m(c,f){t.insert(c,e,f)},p(c,f){var F,C;f[1]&4096&&a!==(a=""+(ee+(c[101].cellSize?c[101].cellSize:"1x1")))&&t.set_custom_element_data(e,"class",a),f[0]&64&&t.set_custom_element_data(e,"session",c[6]),f[0]&128&&t.set_custom_element_data(e,"userid",c[7]),f[0]&32&&t.set_custom_element_data(e,"lang",c[5]),f[0]&256&&t.set_custom_element_data(e,"favorites",c[8]),f[0]&1&&t.set_custom_element_data(e,"categoryid",c[0]),f[1]&4096&&r!==(r=c[101].gameModel.thumbnail)&&t.set_custom_element_data(e,"gamethumbnail",r),f[1]&4096&&o!==(o=c[47]((F=c[101])==null?void 0:F.icons))&&t.set_custom_element_data(e,"icon",o),f[1]&4096&&i!==(i=c[101].gameModel.name)&&t.set_custom_element_data(e,"gamename",i),f[1]&4096&&s!==(s=c[101].gameModel.vendor.logo)&&t.set_custom_element_data(e,"gamevendor",s),f[1]&4096&&m!==(m=c[101].launchUrl)&&t.set_custom_element_data(e,"gameLaunchUrl",m),f[1]&4096&&u!==(u=c[101].gameModel.isNew)&&t.set_custom_element_data(e,"gameisnew",u),f[1]&4096&&d!==(d=c[46]((C=c[101].gameModel)==null?void 0:C.advancedTags))&&t.set_custom_element_data(e,"gametag",d),f[1]&4096&&_!==(_=c[101].cellSize)&&t.set_custom_element_data(e,"gamecellsize",_),f[1]&4096&&g!==(g=c[101].gameModel.id)&&t.set_custom_element_data(e,"gameid",g),f[1]&4096&&v!==(v=c[101].gameModel.hasFunMode)&&t.set_custom_element_data(e,"gamefunmode",v),f[0]&32768&&t.set_custom_element_data(e,"showgamename",c[15]),f[1]&4096&&p!==(p=c[101].gameModel.isFavorite)&&t.set_custom_element_data(e,"gamefavorite",p),f[1]&512&&t.set_custom_element_data(e,"showfavoredcategory",c[40]),f[1]&5120&&w!==(w=c[41][c[101].id]==1?"connect":"disconnect")&&t.set_custom_element_data(e,"connectlive",w),f[1]&2048&&t.set_custom_element_data(e,"visibilityconnect",c[42]),f[0]&4096&&t.set_custom_element_data(e,"translationurl",c[12]),f[0]&8192&&t.set_custom_element_data(e,"currency",c[13]),f[1]&4096&&S!==(S=c[101].gameModel.details?c[101].gameModel.launchUrl:"")&&t.set_custom_element_data(e,"livelobbyendpoint",S),f[0]&1024&&t.set_custom_element_data(e,"clientstyling",c[10]),f[0]&2048&&t.set_custom_element_data(e,"clientstylingurl",c[11]),f[0]&8&&t.set_custom_element_data(e,"endpoint",c[3]),f[0]&65536&&t.set_custom_element_data(e,"livecasino",c[16]),f[0]&131072&&t.set_custom_element_data(e,"gamepagemodalurl",c[17]),f[0]&262144&&t.set_custom_element_data(e,"integratedgameframedesktop",c[18]),f[0]&524288&&t.set_custom_element_data(e,"integratedgameframemobile",c[19]),f[0]&16384&&t.set_custom_element_data(e,"allowsingleclickgameentry",c[14]),f[0]&512&&t.set_custom_element_data(e,"mbsource",c[9])},d(c){c&&t.detach(e)}}}function pt(n){let e,a=n[101].gameModel&&gt(n);return{c(){a&&a.c(),e=t.empty()},m(r,o){a&&a.m(r,o),t.insert(r,e,o)},p(r,o){r[101].gameModel?a?a.p(r,o):(a=gt(r),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},d(r){r&&t.detach(e),a&&a.d(r)}}}function bt(n){let e,a,r,o=n[29].name+"",i,s;function m(p,w){return p[29].icon?Tn:Fn}let u=m(n),d=u(n);function _(p,w){return p[28]&&p[31]?On:zn}let g=_(n),v=g(n);return{c(){e=t.element("div"),d.c(),a=t.space(),r=t.element("h3"),i=t.text(o),s=t.space(),v.c(),t.attr(r,"class","CategoryName"),t.attr(e,"class","CasinoGamesHeader")},m(p,w){t.insert(p,e,w),d.m(e,null),t.append(e,a),t.append(e,r),t.append(r,i),n[59](r),t.append(e,s),v.m(e,null)},p(p,w){u===(u=m(p))&&d?d.p(p,w):(d.d(1),d=u(p),d&&(d.c(),d.m(e,a))),w[0]&536870912&&o!==(o=p[29].name+"")&&t.set_data(i,o),g===(g=_(p))&&v?v.p(p,w):(v.d(1),v=g(p),v&&(v.c(),v.m(e,null)))},d(p){p&&t.detach(e),d.d(),n[59](null),v.d()}}}function Fn(n){let e;return{c(){e=t.element("span"),e.innerHTML='<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>',t.attr(e,"class","CategoryIcon")},m(a,r){t.insert(a,e,r)},p:t.noop,d(a){a&&t.detach(e)}}}function Tn(n){let e,a;return{c(){e=t.element("img"),t.src_url_equal(e.src,a=n[29].icon)||t.attr(e,"src",a),t.attr(e,"alt","Category Icon")},m(r,o){t.insert(r,e,o)},p(r,o){o[0]&536870912&&!t.src_url_equal(e.src,a=r[29].icon)&&t.attr(e,"src",a)},d(r){r&&t.detach(e)}}}function zn(n){let e,a,r,o=n[1]=="true"&&n[23]==="false"&&wt(n),i=n[2]=="true"&&yt(n);return{c(){e=t.element("div"),o&&o.c(),a=t.space(),i&&i.c(),t.attr(e,"class",r=n[1]=="true"&&n[23]==="false"&&n[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(s,m){t.insert(s,e,m),o&&o.m(e,null),t.append(e,a),i&&i.m(e,null)},p(s,m){s[1]=="true"&&s[23]==="false"?o?o.p(s,m):(o=wt(s),o.c(),o.m(e,a)):o&&(o.d(1),o=null),s[2]=="true"?i?i.p(s,m):(i=yt(s),i.c(),i.m(e,null)):i&&(i.d(1),i=null),m[0]&8388614&&r!==(r=s[1]=="true"&&s[23]==="false"&&s[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&t.attr(e,"class",r)},d(s){s&&t.detach(e),o&&o.d(),i&&i.d()}}}function On(n){let e,a,r=n[44]("viewAll")+"",o,i,s=n[29].games.total+"",m,u,d,_;return{c(){e=t.element("a"),a=t.element("span"),o=t.text(r),i=t.text(" ("),m=t.text(s),u=t.text(")"),t.attr(a,"class","CategoryLoadMore"),t.attr(e,"class","CategoryNameLink")},m(g,v){t.insert(g,e,v),t.append(e,a),t.append(a,o),t.append(a,i),t.append(a,m),t.append(a,u),d||(_=t.listen(e,"click",n[60]),d=!0)},p(g,v){v[1]&8192&&r!==(r=g[44]("viewAll")+"")&&t.set_data(o,r),v[0]&536870912&&s!==(s=g[29].games.total+"")&&t.set_data(m,s)},d(g){g&&t.detach(e),d=!1,_()}}}function wt(n){let e;return{c(){e=t.element("casino-filter"),t.set_custom_element_data(e,"clientstylingurl",n[11]),t.set_custom_element_data(e,"clientstyling",n[10]),t.set_custom_element_data(e,"endpoint",n[3]),t.set_custom_element_data(e,"datasource",n[4]),t.set_custom_element_data(e,"lang",n[5]),t.set_custom_element_data(e,"categoryid",n[0]),t.set_custom_element_data(e,"addfilterselector",n[1]),t.set_custom_element_data(e,"addsortingselector",n[2]),t.set_custom_element_data(e,"filterbylogo",n[21]),t.set_custom_element_data(e,"mbsource",n[9])},m(a,r){t.insert(a,e,r)},p(a,r){r[0]&2048&&t.set_custom_element_data(e,"clientstylingurl",a[11]),r[0]&1024&&t.set_custom_element_data(e,"clientstyling",a[10]),r[0]&8&&t.set_custom_element_data(e,"endpoint",a[3]),r[0]&16&&t.set_custom_element_data(e,"datasource",a[4]),r[0]&32&&t.set_custom_element_data(e,"lang",a[5]),r[0]&1&&t.set_custom_element_data(e,"categoryid",a[0]),r[0]&2&&t.set_custom_element_data(e,"addfilterselector",a[1]),r[0]&4&&t.set_custom_element_data(e,"addsortingselector",a[2]),r[0]&2097152&&t.set_custom_element_data(e,"filterbylogo",a[21]),r[0]&512&&t.set_custom_element_data(e,"mbsource",a[9])},d(a){a&&t.detach(e)}}}function yt(n){let e;return{c(){e=t.element("casino-sort"),t.set_custom_element_data(e,"clientstylingurl",n[11]),t.set_custom_element_data(e,"clientstyling",n[10]),t.set_custom_element_data(e,"lang",n[5]),t.set_custom_element_data(e,"categoryid",n[0]),t.set_custom_element_data(e,"addsortingselector",n[2]),t.set_custom_element_data(e,"mbsource",n[9])},m(a,r){t.insert(a,e,r)},p(a,r){r[0]&2048&&t.set_custom_element_data(e,"clientstylingurl",a[11]),r[0]&1024&&t.set_custom_element_data(e,"clientstyling",a[10]),r[0]&32&&t.set_custom_element_data(e,"lang",a[5]),r[0]&1&&t.set_custom_element_data(e,"categoryid",a[0]),r[0]&4&&t.set_custom_element_data(e,"addsortingselector",a[2]),r[0]&512&&t.set_custom_element_data(e,"mbsource",a[9])},d(a){a&&t.detach(e)}}}function Dn(n){let e,a=n[44]("noResults")+"",r;return{c(){e=t.element("p"),r=t.text(a),t.attr(e,"class","NoSearchResults")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("noResults")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function Pn(n){let e,a=[],r=new Map,o,i=t.ensure_array_like(n[30]);const s=m=>m[101].id;for(let m=0;m<i.length;m+=1){let u=ct(n,i,m),d=s(u);r.set(d,a[m]=kt(d,u))}return{c(){e=t.element("ul");for(let m=0;m<a.length;m+=1)a[m].c();t.attr(e,"class",o=(n[43].items.length===0&&n[40]?"":"CasinoGamesGrid")+" "+(n[28]&&n[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(m,u){t.insert(m,e,u);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(e,null);n[62](e)},p(m,u){u[0]&1112539113|u[1]&101376&&(i=t.ensure_array_like(m[30]),a=t.update_keyed_each(a,u,s,1,m,i,r,e,t.destroy_block,kt,null,ct)),u[0]&272629760|u[1]&4608&&o!==(o=(m[43].items.length===0&&m[40]?"":"CasinoGamesGrid")+" "+(m[28]&&m[22]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&t.attr(e,"class",o)},d(m){m&&t.detach(e);for(let u=0;u<a.length;u+=1)a[u].d();n[62](null)}}}function En(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","DualRing")},m(a,r){t.insert(a,e,r)},p:t.noop,d(a){a&&t.detach(e)}}}function Nn(n){let e,a,r,o,i,s,m,u,d,_,g,v,p,w,S,c=n[103];const f=()=>n[61](e,c),F=()=>n[61](null,c);return{c(){var C;e=t.element("casino-game-thumbnail-nd"),t.set_custom_element_data(e,"gamethumbnail",a=n[101].thumbnail),t.set_custom_element_data(e,"icon",r=n[47]((C=n[101])==null?void 0:C.icons)),t.set_custom_element_data(e,"session",n[6]),t.set_custom_element_data(e,"userid",n[7]),t.set_custom_element_data(e,"lang",n[5]),t.set_custom_element_data(e,"class",o=""+(ee+(n[101].cellSize?n[101].cellSize:"1x1"))),t.set_custom_element_data(e,"favorites",n[8]),t.set_custom_element_data(e,"categoryid",n[0]),t.set_custom_element_data(e,"gamename",i=n[101].name),t.set_custom_element_data(e,"gamevendor",s=n[101].vendor.logo),t.set_custom_element_data(e,"gameLaunchUrl",m=n[101].launchUrl),t.set_custom_element_data(e,"gameisnew",u=n[101].isNew),t.set_custom_element_data(e,"gametag",d=n[46](n[101].advancedTags)),t.set_custom_element_data(e,"gamecellsize",_=n[101].cellSize),t.set_custom_element_data(e,"gameid",g=n[101].id),t.set_custom_element_data(e,"gamefunmode",v=n[101].hasFunMode),t.set_custom_element_data(e,"gamefavorite",p=n[101].isFavorite),t.set_custom_element_data(e,"translationurl",n[12]),t.set_custom_element_data(e,"showgamename",n[15]),t.set_custom_element_data(e,"connectlive",w=n[41][n[101].id]==1?"connect":"disconnect"),t.set_custom_element_data(e,"visibilityconnect",n[42]),t.set_custom_element_data(e,"currency",n[13]),t.set_custom_element_data(e,"livelobbyendpoint",S=n[101].details?n[101].href:""),t.set_custom_element_data(e,"clientstyling",n[10]),t.set_custom_element_data(e,"clientstylingurl",n[11]),t.set_custom_element_data(e,"endpoint",n[3]),t.set_custom_element_data(e,"livecasino",n[16]),t.set_custom_element_data(e,"gamepagemodalurl",n[17]),t.set_custom_element_data(e,"integratedgameframedesktop",n[18]),t.set_custom_element_data(e,"integratedgameframemobile",n[19]),t.set_custom_element_data(e,"casinogamesgridslider",n[22]),t.set_custom_element_data(e,"mbsource",n[9]),t.set_custom_element_data(e,"allowsingleclickgameentry",n[14])},m(C,b){t.insert(C,e,b),f()},p(C,b){var B;n=C,b[0]&1073741824&&a!==(a=n[101].thumbnail)&&t.set_custom_element_data(e,"gamethumbnail",a),b[0]&1073741824&&r!==(r=n[47]((B=n[101])==null?void 0:B.icons))&&t.set_custom_element_data(e,"icon",r),b[0]&64&&t.set_custom_element_data(e,"session",n[6]),b[0]&128&&t.set_custom_element_data(e,"userid",n[7]),b[0]&32&&t.set_custom_element_data(e,"lang",n[5]),b[0]&1073741824&&o!==(o=""+(ee+(n[101].cellSize?n[101].cellSize:"1x1")))&&t.set_custom_element_data(e,"class",o),b[0]&256&&t.set_custom_element_data(e,"favorites",n[8]),b[0]&1&&t.set_custom_element_data(e,"categoryid",n[0]),b[0]&1073741824&&i!==(i=n[101].name)&&t.set_custom_element_data(e,"gamename",i),b[0]&1073741824&&s!==(s=n[101].vendor.logo)&&t.set_custom_element_data(e,"gamevendor",s),b[0]&1073741824&&m!==(m=n[101].launchUrl)&&t.set_custom_element_data(e,"gameLaunchUrl",m),b[0]&1073741824&&u!==(u=n[101].isNew)&&t.set_custom_element_data(e,"gameisnew",u),b[0]&1073741824&&d!==(d=n[46](n[101].advancedTags))&&t.set_custom_element_data(e,"gametag",d),b[0]&1073741824&&_!==(_=n[101].cellSize)&&t.set_custom_element_data(e,"gamecellsize",_),b[0]&1073741824&&g!==(g=n[101].id)&&t.set_custom_element_data(e,"gameid",g),b[0]&1073741824&&v!==(v=n[101].hasFunMode)&&t.set_custom_element_data(e,"gamefunmode",v),b[0]&1073741824&&p!==(p=n[101].isFavorite)&&t.set_custom_element_data(e,"gamefavorite",p),b[0]&4096&&t.set_custom_element_data(e,"translationurl",n[12]),b[0]&32768&&t.set_custom_element_data(e,"showgamename",n[15]),b[0]&1073741824|b[1]&1024&&w!==(w=n[41][n[101].id]==1?"connect":"disconnect")&&t.set_custom_element_data(e,"connectlive",w),b[1]&2048&&t.set_custom_element_data(e,"visibilityconnect",n[42]),b[0]&8192&&t.set_custom_element_data(e,"currency",n[13]),b[0]&1073741824&&S!==(S=n[101].details?n[101].href:"")&&t.set_custom_element_data(e,"livelobbyendpoint",S),b[0]&1024&&t.set_custom_element_data(e,"clientstyling",n[10]),b[0]&2048&&t.set_custom_element_data(e,"clientstylingurl",n[11]),b[0]&8&&t.set_custom_element_data(e,"endpoint",n[3]),b[0]&65536&&t.set_custom_element_data(e,"livecasino",n[16]),b[0]&131072&&t.set_custom_element_data(e,"gamepagemodalurl",n[17]),b[0]&262144&&t.set_custom_element_data(e,"integratedgameframedesktop",n[18]),b[0]&524288&&t.set_custom_element_data(e,"integratedgameframemobile",n[19]),b[0]&4194304&&t.set_custom_element_data(e,"casinogamesgridslider",n[22]),b[0]&512&&t.set_custom_element_data(e,"mbsource",n[9]),b[0]&16384&&t.set_custom_element_data(e,"allowsingleclickgameentry",n[14]),c!==n[103]&&(F(),c=n[103],f())},d(C){C&&t.detach(e),F()}}}function kt(n,e){let a,r,o=Nn(e);return{key:n,first:null,c(){a=t.empty(),o&&o.c(),r=t.empty(),this.first=a},m(i,s){t.insert(i,a,s),o&&o.m(i,s),t.insert(i,r,s)},p(i,s){e=i,o.p(e,s)},d(i){i&&(t.detach(a),t.detach(r)),o&&o.d(i)}}}function In(n){let e,a=n[44]("searchedItems")+"",r;return{c(){e=t.element("h3"),r=t.text(a),t.attr(e,"class","StatusText")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("searchedItems")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function Un(n){let e,a=n[44]("noResults")+"",r;return{c(){e=t.element("h3"),r=t.text(a),t.attr(e,"class","StatusText")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("noResults")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function Rn(n){let e,a=n[44]("recentSearchedItems")+"",r;return{c(){e=t.element("h3"),r=t.text(a),t.attr(e,"class","StatusText")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("recentSearchedItems")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function Ln(n){let e;return{c(){e=t.element("p"),e.textContent="Waiting",t.attr(e,"class","SearchWaiting")},m(a,r){t.insert(a,e,r)},p:t.noop,d(a){a&&t.detach(e)}}}function An(n){let e,a,r=[],o=new Map,i=!n[36]&&Ct(n),s=t.ensure_array_like(n[30]);const m=u=>u[101].id;for(let u=0;u<s.length;u+=1){let d=dt(n,s,u),_=m(d);o.set(_,r[u]=St(_,d))}return{c(){i&&i.c(),e=t.space(),a=t.element("ul");for(let u=0;u<r.length;u+=1)r[u].c();t.attr(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,d){i&&i.m(u,d),t.insert(u,e,d),t.insert(u,a,d);for(let _=0;_<r.length;_+=1)r[_]&&r[_].m(a,null)},p(u,d){u[36]?i&&(i.d(1),i=null):i?i.p(u,d):(i=Ct(u),i.c(),i.m(e.parentNode,e)),d[0]&1074790377|d[1]&98312&&(s=t.ensure_array_like(u[30]),r=t.update_keyed_each(r,d,m,1,u,s,o,a,t.destroy_block,St,null,dt))},d(u){u&&(t.detach(e),t.detach(a)),i&&i.d(u);for(let d=0;d<r.length;d+=1)r[d].d()}}}function Ct(n){let e,a=n[44]("noRecentSearch")+"",r;return{c(){e=t.element("p"),r=t.text(a),t.attr(e,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(t.isMobile(n[45])?"NoRecentSearchesMobile":""))},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[1]&8192&&a!==(a=o[44]("noRecentSearch")+"")&&t.set_data(r,a)},d(o){o&&t.detach(e)}}}function St(n,e){let a,r,o,i,s,m,u,d,_,g,v,p,w,S;return{key:n,first:null,c(){var c;a=t.element("casino-game-thumbnail-nd"),t.set_custom_element_data(a,"class",r=""+(ee+(e[101].cellSize?e[101].cellSize:"1x1"))),t.set_custom_element_data(a,"session",e[6]),t.set_custom_element_data(a,"userid",e[7]),t.set_custom_element_data(a,"lang",e[5]),t.set_custom_element_data(a,"searchitem",e[34]),t.set_custom_element_data(a,"favorites",e[8]),t.set_custom_element_data(a,"categoryid",e[0]),t.set_custom_element_data(a,"gamethumbnail",o=e[101].thumbnail),t.set_custom_element_data(a,"icon",i=e[47]((c=e[101])==null?void 0:c.icons)),t.set_custom_element_data(a,"gamename",s=e[101].name),t.set_custom_element_data(a,"gamevendor",m=e[101].vendor.logo),t.set_custom_element_data(a,"gameLaunchUrl",u=e[101].launchUrl),t.set_custom_element_data(a,"gameisnew",d=e[101].isNew),t.set_custom_element_data(a,"gametag",_=e[46](e[101].advancedTags)),t.set_custom_element_data(a,"gamecellsize",g=e[101].cellSize),t.set_custom_element_data(a,"gameid",v=e[101].id),t.set_custom_element_data(a,"gamefunmode",p=e[101].hasFunMode),t.set_custom_element_data(a,"showgamename",e[15]),t.set_custom_element_data(a,"translationurl",e[12]),t.set_custom_element_data(a,"gamefavorite",w=e[101].isFavorite),t.set_custom_element_data(a,"currency",e[13]),t.set_custom_element_data(a,"livelobbyendpoint",S=e[101].details?e[101].href:""),t.set_custom_element_data(a,"clientstyling",e[10]),t.set_custom_element_data(a,"clientstylingurl",e[11]),t.set_custom_element_data(a,"endpoint",e[3]),t.set_custom_element_data(a,"livecasino",e[16]),t.set_custom_element_data(a,"gamepagemodalurl",e[17]),t.set_custom_element_data(a,"integratedgameframedesktop",e[18]),t.set_custom_element_data(a,"integratedgameframemobile",e[19]),t.set_custom_element_data(a,"mbsource",e[9]),t.set_custom_element_data(a,"allowsingleclickgameentry",e[14]),this.first=a},m(c,f){t.insert(c,a,f)},p(c,f){var F;e=c,f[0]&1073741824&&r!==(r=""+(ee+(e[101].cellSize?e[101].cellSize:"1x1")))&&t.set_custom_element_data(a,"class",r),f[0]&64&&t.set_custom_element_data(a,"session",e[6]),f[0]&128&&t.set_custom_element_data(a,"userid",e[7]),f[0]&32&&t.set_custom_element_data(a,"lang",e[5]),f[1]&8&&t.set_custom_element_data(a,"searchitem",e[34]),f[0]&256&&t.set_custom_element_data(a,"favorites",e[8]),f[0]&1&&t.set_custom_element_data(a,"categoryid",e[0]),f[0]&1073741824&&o!==(o=e[101].thumbnail)&&t.set_custom_element_data(a,"gamethumbnail",o),f[0]&1073741824&&i!==(i=e[47]((F=e[101])==null?void 0:F.icons))&&t.set_custom_element_data(a,"icon",i),f[0]&1073741824&&s!==(s=e[101].name)&&t.set_custom_element_data(a,"gamename",s),f[0]&1073741824&&m!==(m=e[101].vendor.logo)&&t.set_custom_element_data(a,"gamevendor",m),f[0]&1073741824&&u!==(u=e[101].launchUrl)&&t.set_custom_element_data(a,"gameLaunchUrl",u),f[0]&1073741824&&d!==(d=e[101].isNew)&&t.set_custom_element_data(a,"gameisnew",d),f[0]&1073741824&&_!==(_=e[46](e[101].advancedTags))&&t.set_custom_element_data(a,"gametag",_),f[0]&1073741824&&g!==(g=e[101].cellSize)&&t.set_custom_element_data(a,"gamecellsize",g),f[0]&1073741824&&v!==(v=e[101].id)&&t.set_custom_element_data(a,"gameid",v),f[0]&1073741824&&p!==(p=e[101].hasFunMode)&&t.set_custom_element_data(a,"gamefunmode",p),f[0]&32768&&t.set_custom_element_data(a,"showgamename",e[15]),f[0]&4096&&t.set_custom_element_data(a,"translationurl",e[12]),f[0]&1073741824&&w!==(w=e[101].isFavorite)&&t.set_custom_element_data(a,"gamefavorite",w),f[0]&8192&&t.set_custom_element_data(a,"currency",e[13]),f[0]&1073741824&&S!==(S=e[101].details?e[101].href:"")&&t.set_custom_element_data(a,"livelobbyendpoint",S),f[0]&1024&&t.set_custom_element_data(a,"clientstyling",e[10]),f[0]&2048&&t.set_custom_element_data(a,"clientstylingurl",e[11]),f[0]&8&&t.set_custom_element_data(a,"endpoint",e[3]),f[0]&65536&&t.set_custom_element_data(a,"livecasino",e[16]),f[0]&131072&&t.set_custom_element_data(a,"gamepagemodalurl",e[17]),f[0]&262144&&t.set_custom_element_data(a,"integratedgameframedesktop",e[18]),f[0]&524288&&t.set_custom_element_data(a,"integratedgameframemobile",e[19]),f[0]&512&&t.set_custom_element_data(a,"mbsource",e[9]),f[0]&16384&&t.set_custom_element_data(a,"allowsingleclickgameentry",e[14])},d(c){c&&t.detach(a)}}}function Wn(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading")},m(a,r){t.insert(a,e,r)},d(a){a&&t.detach(e)}}}function jn(n){let e;return{c(){e=t.element("p"),e.textContent="404 Error - No result found.",t.attr(e,"class","SearchLoading")},m(a,r){t.insert(a,e,r)},d(a){a&&t.detach(e)}}}function Yn(n){let e;function a(i,s){return i[27]?hn:i[32]?gn:_n}let r=a(n),o=r(n);return{c(){e=t.element("div"),o.c(),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(i,s){t.insert(i,e,s),o.m(e,null),n[65](e)},p(i,s){r===(r=a(i))&&o?o.p(i,s):(o.d(1),o=r(i),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),o.d(),n[65](null)}}}const ee="game-tile-";let qn=0;function Hn(n,e,a){let r;t.component_subscribe(n,t.$format,l=>a(44,r=l));let{endpoint:o=""}=e,{datasource:i=""}=e,{lang:s=""}=e,{session:m=""}=e,{userid:u=""}=e,{favorites:d=""}=e,{mbsource:_}=e,{clientstyling:g=""}=e,{clientstylingurl:v=""}=e,{translationurl:p=""}=e,{currency:w=""}=e,{allowsingleclickgameentry:S="false"}=e,{categoryid:c=""}=e,{showgamename:f=""}=e,{livecasino:F="false"}=e,{gamepagemodalurl:C="true"}=e,{integratedgameframedesktop:b="false"}=e,{integratedgameframemobile:B="false"}=e,{casinomygames:q="false"}=e,{addfilterselector:oe="false"}=e,{addsortingselector:ie="false"}=e,{filterbylogo:we=""}=e,{casinogamesgridslider:ye="false"}=e,{fetchviaevent:P="false"}=e,{showallpage:L="casino"}=e,{actionevent:K="CategoryChange"}=e,{displayedgamecount:ke="10"}=e,{showallbuttongamescount:Ce="10"}=e,{lobbyscreen:Re="true"}=e,{usesinglevendorfilter:Se="false"}=e,{visiblegames:Le="10"}=e,{customizesectionicon:Ae="true"}=e,{requiredicon:We="false"}=e,Z=!0,je=!1,Me,Ge,X=!0,xe=window.navigator.userAgent,I,M=[],Q=!0,te=40,J=!1,Fe=!1,ue=!1,Ye=!1,qe=!0,ce=!1,de,He,fe,_e=!1,H,zt,Ot,Te=!1,ge=new Array(1e4),he={},Ve="",ae="",ze,Be,z,A=[],Oe=new AbortController,se={items:[],count:0,name:""};const Xe=l=>{Object.keys(l).forEach(h=>{ea(h,l[h])})},Dt=()=>{fetch(p).then(h=>h.json()).then(h=>{Xe(h)}).catch(h=>{console.log(h)})};Xe(aa),typeof document.hidden!="undefined"?ze="hidden":typeof document.msHidden!="undefined"?ze="msHidden":typeof document.webkitHidden!="undefined"&&(ze="webkitHidden");let De=new IntersectionObserver(l=>{l.forEach(h=>Pe(this,null,function*(){let y=h.target.gameid,T=h.target.elems_index;h.isIntersecting?(T*1.2>te&&!Q&&Lt(c),a(41,he[y]=1,he)):a(41,he[y]=0,he)}))});const Pt=(l,h)=>new Promise((y,T)=>{if(l&&h){let D=`${o}/v1/player/${h}/favorites/`;fetch(D,{method:"GET",headers:{"X-SessionID":l}}).then(k=>k.json()).then(k=>{var V,U;if(z=[],k){(V=k.items)==null||V.forEach(Y=>{Y.gameModel&&(z.push(Y),A.includes(Y.id)||A.push(Y.id))});const j=(U=t.platformFavorite(z))==null?void 0:U.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:j})}else z=[];c==="FAVORITES"&&Ke(z),y(z)}).catch(k=>{console.error(k),T(k)})}else y([])}),Qe=(l,h)=>{let y=`${o}/v1/player/${h}/favorites/`;a(26,Z=!0);let T={method:"GET",headers:{"X-SessionID":l}};return new Promise((D,O)=>{fetch(y,T).then(k=>k.json()).then(k=>{var U,j;if(a(26,Z=!1),z=[],k){(U=k.items)==null||U.forEach(le=>{le.gameModel&&(z.push(le),A.includes(le.id)||A.push(le.id))});const Y=(j=t.platformFavorite(z))==null?void 0:j.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:Y})}else z=[];c==="FAVORITES"&&Ke(z),M.forEach(Y=>{Y.isFavorite=W(Y.id)});let V=M;a(30,M=void 0),a(30,M=V),D(z)}).catch(k=>{console.error(k),O(k)})})},$e=(l,h,y,T)=>{Oe&&Oe.abort(),Oe=new AbortController;const D=Oe.signal;a(26,Z=!0);let O="",k="",V=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),U=JSON.parse(localStorage.getItem("vendorSortingBy"));const j=Se==="true"?"*":l,Y=h,le=y!=null?y:40;return(l.match(/\$/g)||[]).length>1?(O=l.split("$").slice(0,2).join("$"),k=new URL(`${o}/v1/casino/groups/${i}/${O}/subGroups`)):k=new URL(`${o}/v1/casino/groups/${i}/${l}`),new Promise((xt,$t)=>{var rt;k.searchParams.delete("pagination"),k.searchParams.append("expand","games(vendor)"),k.searchParams.append("platform",t.getDevice(xe)),k.searchParams.append("pagination",`games(offset=${Y},limit=${le})`),k.searchParams.append("language",s);let nt="id,name,games";if(Ae==="true"&&(nt+=",icon"),k.searchParams.append("fields",nt),window.postMessage({type:"CategoryVendors",categoryid:l},window.location.href),V&&((rt=V[j])!=null&&rt.length))if(Se==="true"||X===!1&&_e===!1){let E="";a(35,Ye=!0),V[j].forEach(x=>{E=E+(E?`,games(vendor(id=${x}))`:`games(vendor(id=${x}))`)}),k.searchParams.append("filter",`${E}`)}else a(35,Ye=!1);U&&(U[l]?U[l]&&U[l]!="All"&&(U[l]=="isNew"||U[l]=="advancedTags(name(hot))"?(k.searchParams.append("sortedField",`games(${U[l]})`),k.searchParams.append("orderBy","DES")):k.searchParams.append("sortedField",`games(${U[l]})`)):ae&&ae!="All"&&(ae=="advancedTags(name(hot))"||ae=="isNew"?(k.searchParams.append("sortedField",`games(${ae})`),k.searchParams.append("orderBy","DES")):k.searchParams.append("sortedField",`games(${ae})`))),fetch(k,{signal:D}).then(E=>{if(!E.ok)throw E.status===404&&window.postMessage({type:"NonExistentCategory"},window.location.origin),new Error(`HTTP ${E.status}`);return E.json()}).then(E=>{D.aborted||(a(26,Z=!1),(l.match(/\$/g)||[]).length>1&&(E=E.items.filter(x=>{if(x.id==l)return x})[0]),a(58,Be=!0),a(27,je=!1),He=E.games.total,T&&E.games.items.forEach(x=>{x.isFavorite=W(x.id)}),a(37,ce=!0),xt(E))}).catch(E=>{E.name!=="AbortError"&&(a(27,je=!0),console.error(E),$t(E))}).finally(()=>{Et()})})},ve=(l,h,y)=>new Promise((T,D)=>{d=="true"?Pt(m,u).then(O=>{$e(l,h,y,O).then(k=>{T(k)})}):$e(l,h,y,null).then(O=>{T(O)})}),Et=()=>{const l=H.getRootNode().host;l.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:l}}))},Nt=(l,h,y)=>{l!==""&&(a(32,J=!1),a(28,X=!0),a(1,oe="false"),a(2,ie="false"),a(34,ue=!1),Te=!1,a(31,Q=+h>+y),ve(l,0,+h).then(T=>{a(29,I=T),a(30,M=I.games.items),M&&M.forEach(D=>{D.isFavorite=W(D.id)})}))},Je=l=>{if(l.data)switch(l.data.type){case"MostPlayedData":c=="MOSTPLAYED"&&(a(32,J=!1),a(28,X=!1),a(31,Q=!1),a(30,M=l.data.mostPlayedGames),a(29,I={id:"MOSTPLAYED",name:"Most Played Games",games:{count:l.data.mostPlayedGames.length,total:l.data.mostPlayedGames.length,items:l.data.mostPlayedGames}}),M&&M.forEach(h=>{h.isFavorite=W(h.id)})),a(26,Z=!1);break;case"LastPlayedData":c=="LASTPLAYED"&&(a(32,J=!1),a(28,X=!1),a(31,Q=!1),a(30,M=l.data.lastPlayedGames),a(29,I={id:"LASTPLAYED",name:"Last Played Games",games:{count:l.data.lastPlayedGames.length,total:l.data.lastPlayedGames.length,items:l.data.lastPlayedGames}}),M&&M.forEach(h=>{h.isFavorite=W(h.id)})),a(26,Z=!1);break;case"RecentSearchData":a(32,J=!0),a(33,Fe=!0),l.data.searchData.length>0?(a(30,M=l.data.searchData),a(36,qe=!0),M&&M.forEach(h=>{h.isFavorite=W(h.id)})):(a(30,M=[]),a(36,qe=!1));break;case"OutOfRecentSearches":a(32,J=!1),a(33,Fe=!1);break;case"SearchData":a(32,J=!0),a(33,Fe=!1),a(30,M=l.data.searchData.items||[]),a(34,ue=!0),l.data.receivedFavoriteResults&&(z=l.data.receivedFavoriteResults.items),M&&M.forEach(h=>{h.isFavorite=W(h.id)});break;case`CategoryData_${c}`:a(32,J=!1),a(28,X=!0),a(1,oe="false"),a(2,ie="false"),a(34,ue=!1),Te=!1,ve(l.data.categoryId,0,l.data.visiblegames).then(h=>{a(29,I=h),a(30,M=I.games.items),a(31,Q=!(He<=l.data.visiblegames&&X)),M&&M.forEach(y=>{y.isFavorite=W(y.id)})});break;case"CategoryChange":te=20;break;case"ApplySorter":a(0,c=l.data.itemId),ae=l.data.sortBy,ve(c,0,te).then(h=>{a(29,I=h),a(30,M=I.games.items),a(31,Q=!1)});break;case"CategoryUpdate":et(l.data.itemId);break;case`SetUnfavoredGame${c}`:Rt(`${o}/v1/player/${u}/favorites`,m,l.data.id);break;case`SetFavoredGame${c}`:Ut(`${o}/v1/player/${u}/favorites`,m,l.data.id);break;case"UserSessionID":Me=l.data.session,Ge=l.data.userID,d=="true"&&Ge&&Ge.length&&Me&&Me.length>0&&Qe(Me,Ge);break;case"UpdateFavoredList":c==="FAVORITES"&&tt(l.data.url,l.data.sessionID);break}},et=(l,h=!1)=>{a(32,J=!1),a(28,X=Re==="true"),a(34,ue=!1),Te=!0,a(37,ce=!1),a(0,c=l),c!=="MOSTPLAYED"&&!h&&a(31,Q=!1),q!=="true"&&(!z&&m&&Qe(m,u),ve(c,0,te).then(y=>{a(29,I=y),a(30,M=I.games.items)}).finally(()=>{X&&window.postMessage({type:`CategoryData_${c}`,categoryId:c,visiblegames:Le},window.location.href)}))},It=()=>{I&&(a(30,M=I.games.items),M.forEach(l=>{l.isFavorite=W(l.id)}))},W=l=>{var h;return(h=z==null?void 0:z.some(y=>y.id===l))!=null?h:!1};let Ut=(l,h,y)=>Pe(this,null,function*(){yield tt(l,h),A.includes(y)||A.push(y);let D={method:"POST",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:A})};fetch(l,D).then(O=>O.json()).then(O=>{window.postMessage({type:`AddFavoriteThumbnail_${y}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:l,sessionID:h})}).catch(O=>{console.error("Err",O)})});const Rt=(l,h,y)=>{let T={method:"DELETE",headers:{"X-SessionID":h}};fetch(`${l}/${y}`,T).then(D=>D.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${y}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:l,sessionID:h})}),A.includes(y)&&(A=A.filter(D=>D!=y))},tt=(l,h)=>Pe(this,null,function*(){return fetch(l,{method:"GET",headers:{"X-SessionID":h}}).then(T=>T.json()).then(T=>{var O;z=T.items,P?(z.forEach(k=>{A.includes(k.id)||A.push(k.id)}),It()):z.forEach(k=>{k.isFavorite=W(k.id)});const D=(O=t.platformFavorite(z))==null?void 0:O.length;c==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:D}),Ke(z))}).catch(T=>{console.error(T)})}),Ke=l=>{if(!l)return;let h;h=(l==null?void 0:l.items)||l||[],h.length>0&&h.forEach(y=>{y.gameModel&&(y.gameModel.isFavorite=!0)}),a(43,se.items=t.platformFavorite(h,se.items),se),a(43,se.name="Favorites",se),a(26,Z=!1)},Lt=l=>{te+=1,a(37,ce=!0),te<=He&&ve(l,qn,te).then(h=>{a(29,I=h),I.games.items.length>M.length&&(a(30,M=I.games.items),M.forEach(y=>{y.isFavorite=W(y.id)})),a(37,ce=!1)})},At=l=>{const h=l!=null?l:[];if((h==null?void 0:h.length)===0)return"";let y="",T=999999999999,D;const O=new Date(Date.now());return h.forEach((k,V)=>{const U=new Date(k.schedules[0].startTime),j=new Date(k.schedules[0].endTime);ot(new Date(j),new Date(O))<T&&(T=ot(new Date(j),new Date(O)),D=V),cn(new Date(O),new Date(U))&&dn(new Date(O),new Date(j))&&(y=h[D].name)}),y},Wt=l=>We!=="true"?void 0:Object.values(l!=null?l:{}).pop(),at=l=>{a(31,Q=!1),window.postMessage({type:`${K}`,itemId:l,showallpage:L},window.location.href)},jt=()=>{switch(c){case"FAVORITES":u&&m&&a(40,_e=!0);break;case"MOSTPLAYED":q==="false"&&u&&m&&a(40,_e=!1);break;case"LASTPLAYED":q==="false"&&u&&m&&a(40,_e=!1);break;default:et(c,!0);break}},Yt=()=>{document[ze]?a(42,Ve="disconnect"):a(42,Ve="connect")},qt=()=>{Te&&ge.forEach((l,h)=>{l&&(l.elems_index=h,De.observe(l))})},Ht=()=>{ta(s)};t.onDestroy(()=>{De==null||De.disconnect()}),t.onMount(()=>(window.addEventListener("visibilitychange",l=>Yt()),window.addEventListener("message",Je,!1),()=>{window.removeEventListener("message",Je),window.removeEventListener("visibilitychange",Je)}));function Vt(l){t.binding_callbacks[l?"unshift":"push"](()=>{fe=l,a(39,fe)})}const Bt=l=>at(I.id);function Xt(l,h){t.binding_callbacks[l?"unshift":"push"](()=>{ge[h]=l,a(25,ge)})}function Qt(l){t.binding_callbacks[l?"unshift":"push"](()=>{de=l,a(38,de)})}function Jt(l){t.binding_callbacks[l?"unshift":"push"](()=>{fe=l,a(39,fe)})}function Kt(l){t.binding_callbacks[l?"unshift":"push"](()=>{de=l,a(38,de)})}function Zt(l){t.binding_callbacks[l?"unshift":"push"](()=>{H=l,a(24,H)})}return n.$$set=l=>{"endpoint"in l&&a(3,o=l.endpoint),"datasource"in l&&a(4,i=l.datasource),"lang"in l&&a(5,s=l.lang),"session"in l&&a(6,m=l.session),"userid"in l&&a(7,u=l.userid),"favorites"in l&&a(8,d=l.favorites),"mbsource"in l&&a(9,_=l.mbsource),"clientstyling"in l&&a(10,g=l.clientstyling),"clientstylingurl"in l&&a(11,v=l.clientstylingurl),"translationurl"in l&&a(12,p=l.translationurl),"currency"in l&&a(13,w=l.currency),"allowsingleclickgameentry"in l&&a(14,S=l.allowsingleclickgameentry),"categoryid"in l&&a(0,c=l.categoryid),"showgamename"in l&&a(15,f=l.showgamename),"livecasino"in l&&a(16,F=l.livecasino),"gamepagemodalurl"in l&&a(17,C=l.gamepagemodalurl),"integratedgameframedesktop"in l&&a(18,b=l.integratedgameframedesktop),"integratedgameframemobile"in l&&a(19,B=l.integratedgameframemobile),"casinomygames"in l&&a(20,q=l.casinomygames),"addfilterselector"in l&&a(1,oe=l.addfilterselector),"addsortingselector"in l&&a(2,ie=l.addsortingselector),"filterbylogo"in l&&a(21,we=l.filterbylogo),"casinogamesgridslider"in l&&a(22,ye=l.casinogamesgridslider),"fetchviaevent"in l&&a(49,P=l.fetchviaevent),"showallpage"in l&&a(50,L=l.showallpage),"actionevent"in l&&a(51,K=l.actionevent),"displayedgamecount"in l&&a(52,ke=l.displayedgamecount),"showallbuttongamescount"in l&&a(53,Ce=l.showallbuttongamescount),"lobbyscreen"in l&&a(54,Re=l.lobbyscreen),"usesinglevendorfilter"in l&&a(23,Se=l.usesinglevendorfilter),"visiblegames"in l&&a(55,Le=l.visiblegames),"customizesectionicon"in l&&a(56,Ae=l.customizesectionicon),"requiredicon"in l&&a(57,We=l.requiredicon)},n.$$.update=()=>{n.$$.dirty[0]&32&&s&&Ht(),n.$$.dirty[0]&57|n.$$.dirty[1]&6553600&&(P==="false"||P==="")&&o&&s&&c&&i&&ke&&Ce&&Nt(c,ke,Ce),n.$$.dirty[0]&456&&d==="true"&&o&&m&&u&&Qe(m,u),n.$$.dirty[0]&33554432|n.$$.dirty[1]&134217728&&Be&&ge&&qt(),n.$$.dirty[0]&33&&s&&c&&jt(),n.$$.dirty[0]&4096&&p&&Dt(),n.$$.dirty[0]&16778240&&g&&H&&t.setClientStyling(H,g),n.$$.dirty[0]&16779264&&v&&H&&t.setClientStylingURL(H,v),n.$$.dirty[0]&16777728&&_&&H&&t.setStreamStyling(H,`${_}.Style`,zt),n.$$.dirty[0]&4608&&_&&!p&&t.getStreamTranslations(`${_}.Translation`,Ot,Xe)},[c,oe,ie,o,i,s,m,u,d,_,g,v,p,w,S,f,F,C,b,B,q,we,ye,Se,H,ge,Z,je,X,I,M,Q,J,Fe,ue,Ye,qe,ce,de,fe,_e,he,Ve,se,r,xe,At,Wt,at,P,L,K,ke,Ce,Re,Le,Ae,We,Be,Vt,Bt,Xt,Qt,Jt,Kt,Zt]}class Tt extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Hn,Yn,t.safe_not_equal,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,currency:13,allowsingleclickgameentry:14,categoryid:0,showgamename:15,livecasino:16,gamepagemodalurl:17,integratedgameframedesktop:18,integratedgameframemobile:19,casinomygames:20,addfilterselector:1,addsortingselector:2,filterbylogo:21,casinogamesgridslider:22,fetchviaevent:49,showallpage:50,actionevent:51,displayedgamecount:52,showallbuttongamescount:53,lobbyscreen:54,usesinglevendorfilter:23,visiblegames:55,customizesectionicon:56,requiredicon:57},fn,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),t.flush()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get currency(){return this.$$.ctx[13]}set currency(e){this.$$set({currency:e}),t.flush()}get allowsingleclickgameentry(){return this.$$.ctx[14]}set allowsingleclickgameentry(e){this.$$set({allowsingleclickgameentry:e}),t.flush()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),t.flush()}get showgamename(){return this.$$.ctx[15]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get livecasino(){return this.$$.ctx[16]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[18]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[19]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get casinomygames(){return this.$$.ctx[20]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),t.flush()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),t.flush()}get filterbylogo(){return this.$$.ctx[21]}set filterbylogo(e){this.$$set({filterbylogo:e}),t.flush()}get casinogamesgridslider(){return this.$$.ctx[22]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[49]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get showallpage(){return this.$$.ctx[50]}set showallpage(e){this.$$set({showallpage:e}),t.flush()}get actionevent(){return this.$$.ctx[51]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get displayedgamecount(){return this.$$.ctx[52]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),t.flush()}get showallbuttongamescount(){return this.$$.ctx[53]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),t.flush()}get lobbyscreen(){return this.$$.ctx[54]}set lobbyscreen(e){this.$$set({lobbyscreen:e}),t.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(e){this.$$set({usesinglevendorfilter:e}),t.flush()}get visiblegames(){return this.$$.ctx[55]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get customizesectionicon(){return this.$$.ctx[56]}set customizesectionicon(e){this.$$set({customizesectionicon:e}),t.flush()}get requiredicon(){return this.$$.ctx[57]}set requiredicon(e){this.$$set({requiredicon:e}),t.flush()}}t.create_custom_element(Tt,{endpoint:{},datasource:{},lang:{},session:{},userid:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},allowsingleclickgameentry:{},categoryid:{},showgamename:{},livecasino:{},gamepagemodalurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinomygames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},casinogamesgridslider:{},fetchviaevent:{},showallpage:{},actionevent:{},displayedgamecount:{},showallbuttongamescount:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{},customizesectionicon:{},requiredicon:{}},[],[],!0);const Vn=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));exports.CasinoGamesCategorySectionNd_ce=Vn;exports.format=mn;
@@ -4488,7 +4488,7 @@ if (typeof window < "u") {
4488
4488
  }
4489
4489
  };
4490
4490
  };
4491
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-B3RKvzR4.js").then((t) => t.C).then(({ default: t }) => {
4491
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-D4bP5lLG.js").then((t) => t.C).then(({ default: t }) => {
4492
4492
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
4493
4493
  });
4494
4494
  }
@@ -15,4 +15,4 @@ PERFORMANCE OF THIS SOFTWARE.
15
15
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
16
16
  `):"",this.name="UnsubscriptionError",this.errors=r}});function Ke(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ne=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,s;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Qe(o),h=a.next();!h.done;h=a.next()){var u=h.value;u.remove(this)}}catch(v){t={error:v}}finally{try{h&&!h.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(F(l))try{l()}catch(v){s=v instanceof De?v.errors:[v]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var c=Qe(m),p=c.next();!p.done;p=c.next()){var g=p.value;try{wt(g)}catch(v){s=s!=null?s:[],v instanceof De?s=Ye(Ye([],Je(s)),Je(v.errors)):s.push(v)}}}catch(v){n={error:v}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(s)throw new De(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)wt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ke(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ke(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),or=Ne.EMPTY;function ar(e){return e instanceof Ne||e&&"closed"in e&&F(e.remove)&&F(e.add)&&F(e.unsubscribe)}function wt(e){F(e)?e():e.unsubscribe()}var Pn={Promise:void 0},An={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Ye([e,t],Je(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Bn(e){An.setTimeout(function(){throw e})}function Tt(){}function xe(e){e()}var ur=function(e){ge(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ar(r)&&r.add(n)):n.destination=Cn,n}return t.create=function(r,n,i){return new et(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ne),On=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){ve(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){ve(n)}else ve(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){ve(r)}},e}(),et=function(e){ge(t,e);function t(r,n,i){var s=e.call(this)||this,o;return F(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:o=r,s.destination=new On(o),s}return t}(ur);function ve(e){Bn(e)}function Nn(e){throw e}var Cn={closed:!0,next:Tt,error:Nn,complete:Tt},Ln=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Mn(e){return e}function In(e){return e.length===0?Mn:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ht=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,s=Gn(t)?t:new et(t,r,n);return xe(function(){var o=i,a=o.operator,h=o.source;s.add(a?a.call(s,h):h?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Pt(r),new r(function(i,s){var o=new et({next:function(a){try{t(a)}catch(h){s(h),o.unsubscribe()}},error:s,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Ln]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return In(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Pt(t),new t(function(n,i){var s;r.subscribe(function(o){return s=o},function(o){return i(o)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Pt(e){var t;return(t=e!=null?e:Pn.Promise)!==null&&t!==void 0?t:Promise}function Rn(e){return e&&F(e.next)&&F(e.error)&&F(e.complete)}function Gn(e){return e&&e instanceof ur||Rn(e)&&ar(e)}var Un=sr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hr=function(e){ge(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new At(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Un},t.prototype.next=function(r){var n=this;xe(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Qe(n.currentObservers),a=o.next();!a.done;a=o.next()){var h=a.value;h.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;xe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;xe(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,s=i.hasError,o=i.isStopped,a=i.observers;return s||o?or:(this.currentObservers=null,a.push(r),new Ne(function(){n.currentObservers=null,Ke(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,o=n.isStopped;i?r.error(s):o&&r.complete()},t.prototype.asObservable=function(){var r=new Ht;return r.source=this,r},t.create=function(r,n){return new At(r,n)},t}(Ht),At=function(e){ge(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:or},t}(hr),lr={now:function(){return(lr.delegate||Date).now()},delegate:void 0},$n=function(e){ge(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=lr);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,o=n._infiniteTimeWindow,a=n._timestampProvider,h=n._windowTime;i||(s.push(r),!o&&s.push(a.now()+h)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,s=i._infiniteTimeWindow,o=i._buffer,a=o.slice(),h=0;h<a.length&&!r.closed;h+=s?1:2)r.next(a[h]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,o=r._infiniteTimeWindow,a=(o?1:2)*n;if(n<1/0&&a<s.length&&s.splice(0,s.length-a),!o){for(var h=i.now(),u=0,l=1;l<s.length&&s[l]<=h;l+=2)u=l;u&&s.splice(0,u+1)}},t}(hr);const Bt=[],Ot={},Dn=(e,t=0)=>{if(Bt.indexOf(e)==-1){const r=new $n(t);Ot[e]=r,Bt.push(e)}return Ot[e]},J=[];function Fn(e,t){return{subscribe:Ce(e,t).subscribe}}function Ce(e,t=R){let r;const n=new Set;function i(a){if(ct(e,a)&&(e=a,r)){const h=!J.length;for(const u of n)u[1](),J.push(u,e);if(h){for(let u=0;u<J.length;u+=2)J[u][0](J[u+1]);J.length=0}}}function s(a){i(a(e))}function o(a,h=R){const u=[a,h];return n.add(u),n.size===1&&(r=t(i,s)||R),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:o}}function ae(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return Fn(r,(o,a)=>{let h=!1;const u=[];let l=0,m=R;const c=()=>{if(l)return;m();const g=t(n?u[0]:u,o,a);s?o(g):m=lt(g)?g:R},p=i.map((g,v)=>Xt(g,T=>{u[v]=T,l&=~(1<<v),h&&c()},()=>{l|=1<<v}));return h=!0,c(),function(){V(p),m(),h=!1}})}function jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn=function(t){return Vn(t)&&!Xn(t)};function Vn(e){return!!e&&typeof e=="object"}function Xn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Zn(e)}var Wn=typeof Symbol=="function"&&Symbol.for,zn=Wn?Symbol.for("react.element"):60103;function Zn(e){return e.$$typeof===zn}function qn(e){return Array.isArray(e)?[]:{}}function de(e,t){return t.clone!==!1&&t.isMergeableObject(e)?re(qn(e),e,t):e}function Qn(e,t,r){return e.concat(t).map(function(n){return de(n,r)})}function Jn(e,t){if(!t.customMerge)return re;var r=t.customMerge(e);return typeof r=="function"?r:re}function Yn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Nt(e){return Object.keys(e).concat(Yn(e))}function cr(e,t){try{return t in e}catch(r){return!1}}function Kn(e,t){return cr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ei(e,t,r){var n={};return r.isMergeableObject(e)&&Nt(e).forEach(function(i){n[i]=de(e[i],r)}),Nt(t).forEach(function(i){Kn(e,i)||(cr(e,i)&&r.isMergeableObject(t[i])?n[i]=Jn(i,r)(e[i],t[i],r):n[i]=de(t[i],r))}),n}function re(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Qn,r.isMergeableObject=r.isMergeableObject||kn,r.cloneUnlessOtherwiseSpecified=de;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):ei(e,t,r):de(t,r)}re.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return re(n,i,r)},{})};var ti=re,ri=ti;const ni=jn(ri);var tt=function(e,t){return tt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},tt(e,t)};function Le(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");tt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var G=function(){return G=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},G.apply(this,arguments)};function ii(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Fe(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function je(e,t){var r=t&&t.cache?t.cache:ci,n=t&&t.serializer?t.serializer:hi,i=t&&t.strategy?t.strategy:ai;return i(e,{cache:r,serializer:n})}function si(e){return e==null||typeof e=="number"||typeof e=="boolean"}function oi(e,t,r,n){var i=si(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function fr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function mr(e,t,r,n,i){return r.bind(t,e,n,i)}function ai(e,t){var r=e.length===1?oi:fr;return mr(e,this,r,t.cache.create(),t.serializer)}function ui(e,t){return mr(e,this,fr,t.cache.create(),t.serializer)}var hi=function(){return JSON.stringify(arguments)},li=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),ci={create:function(){return new li}},ke={variadic:ui},He=function(){return He=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},He.apply(this,arguments)};var b;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(b||(b={}));var x;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(x||(x={}));var ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ne||(ne={}));function Ct(e){return e.type===x.literal}function fi(e){return e.type===x.argument}function dr(e){return e.type===x.number}function pr(e){return e.type===x.date}function gr(e){return e.type===x.time}function br(e){return e.type===x.select}function yr(e){return e.type===x.plural}function mi(e){return e.type===x.pound}function vr(e){return e.type===x.tag}function _r(e){return!!(e&&typeof e=="object"&&e.type===ne.number)}function rt(e){return!!(e&&typeof e=="object"&&e.type===ne.dateTime)}var Er=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,di=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function pi(e){var t={};return e.replace(di,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var w=function(){return w=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},w.apply(this,arguments)};var gi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function bi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(gi).filter(function(c){return c.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],o=s.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var a=o[0],h=o.slice(1),u=0,l=h;u<l.length;u++){var m=l[u];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:h})}return r}function yi(e){return e.replace(/^(.*?)-/,"")}var Lt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xr=/^(@+)?(\+|#+)?[rs]?$/g,vi=/(\*)(0+)|(#+)(0+)|(0+)/g,Sr=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(xr,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function wr(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function _i(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Sr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function It(e){var t={},r=wr(e);return r||t}function Ei(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=yi(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=w(w(w({},t),{notation:"scientific"}),i.options.reduce(function(h,u){return w(w({},h),It(u))},{}));continue;case"engineering":t=w(w(w({},t),{notation:"engineering"}),i.options.reduce(function(h,u){return w(w({},h),It(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(vi,function(h,u,l,m,c,p){if(u)t.minimumIntegerDigits=l.length;else{if(m&&c)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Sr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Lt.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Lt,function(h,u,l,m,c,p){return l==="*"?t.minimumFractionDigits=u.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:c&&p?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=w(w({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=w(w({},t),Mt(s)));continue}if(xr.test(i.stem)){t=w(w({},t),Mt(i.stem));continue}var o=wr(i.stem);o&&(t=w(w({},t),o));var a=_i(i.stem);a&&(t=w(w({},t),a))}return t}var _e={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function xi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var o=1+(s&1),a=s<2?1:3+(s>>1),h="a",u=Si(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=h;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Si(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=_e[n||""]||_e[r||""]||_e["".concat(r,"-001")]||_e["001"];return i[0]}var Ve,wi=new RegExp("^".concat(Er.source,"*")),Ti=new RegExp("".concat(Er.source,"*$"));function y(e,t){return{start:e,end:t}}var Hi=!!String.prototype.startsWith&&"_a".startsWith("a",1),Pi=!!String.fromCodePoint,Ai=!!Object.fromEntries,Bi=!!String.prototype.codePointAt,Oi=!!String.prototype.trimStart,Ni=!!String.prototype.trimEnd,Ci=!!Number.isSafeInteger,Li=Ci?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},nt=!0;try{var Mi=Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=((Ve=Mi.exec("a"))===null||Ve===void 0?void 0:Ve[0])==="a"}catch(e){nt=!1}var Rt=Hi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},it=Pi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,o;i>s;){if(o=t[s++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Gt=Ai?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],o=s[0],a=s[1];r[o]=a}return r},Tr=Bi?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Ii=Oi?function(t){return t.trimStart()}:function(t){return t.replace(wi,"")},Ri=Ni?function(t){return t.trimEnd()}:function(t){return t.replace(Ti,"")};function Hr(e,t){return new RegExp(e,t)}var st;if(nt){var Ut=Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(t,r){var n;Ut.lastIndex=r;var i=Ut.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else st=function(t,r){for(var n=[];;){var i=Tr(t,r);if(i===void 0||Pr(i)||Di(i))break;n.push(i),r+=i>=65536?2:1}return it.apply(void 0,n)};var Gi=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:x.pound,location:y(a,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(b.UNMATCHED_CLOSING_TAG,y(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&ot(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:x.literal,value:"<".concat(i,"/>"),location:y(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var o=s.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ot(this.char()))return this.error(b.INVALID_TAG,y(a,this.clonePosition()));var h=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(b.UNMATCHED_CLOSING_TAG,y(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:x.tag,value:i,children:o,location:y(n,this.clonePosition())},err:null}:this.error(b.INVALID_TAG,y(a,this.clonePosition())))}else return this.error(b.UNCLOSED_TAG,y(n,this.clonePosition()))}else return this.error(b.INVALID_TAG,y(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&$i(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var h=y(n,this.clonePosition());return{val:{type:x.literal,value:i,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ui(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return it.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),it(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(b.EMPTY_ARGUMENT,y(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(b.MALFORMED_ARGUMENT,y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:x.argument,value:i,location:y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(b.MALFORMED_ARGUMENT,y(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=st(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),o=y(t,s);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(a){case"":return this.error(b.EXPECT_ARGUMENT_TYPE,y(o,h));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var c=Ri(m.val);if(c.length===0)return this.error(b.EXPECT_ARGUMENT_STYLE,y(this.clonePosition(),this.clonePosition()));var p=y(l,this.clonePosition());u={style:c,styleLocation:p}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var v=y(i,this.clonePosition());if(u&&Rt(u==null?void 0:u.style,"::",0)){var T=Ii(u.style.slice(2));if(a==="number"){var m=this.parseNumberSkeletonFromString(T,u.styleLocation);return m.err?m:{val:{type:x.number,value:n,location:v,style:m.val},err:null}}else{if(T.length===0)return this.error(b.EXPECT_DATE_TIME_SKELETON,v);var L=T;this.locale&&(L=xi(T,this.locale));var c={type:ne.dateTime,pattern:L,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?pi(L):{}},B=a==="date"?x.date:x.time;return{val:{type:B,value:n,location:v,style:c},err:null}}}return{val:{type:a==="number"?x.number:a==="date"?x.date:x.time,value:n,location:v,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,y(P,He({},P)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),N=0;if(a!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),O=this.parseIdentifierIfPossible(),N=m.val}var M=this.tryParsePluralOrSelectOptions(t,a,r,O);if(M.err)return M;var g=this.tryParseArgumentClose(i);if(g.err)return g;var _=y(i,this.clonePosition());return a==="select"?{val:{type:x.select,value:n,options:Gt(M.val),location:_},err:null}:{val:{type:x.plural,value:n,options:Gt(M.val),offset:N,pluralType:a==="plural"?"cardinal":"ordinal",location:_},err:null}}default:return this.error(b.INVALID_ARGUMENT_TYPE,y(o,h))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,y(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,y(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=bi(t)}catch(i){return this.error(b.INVALID_NUMBER_SKELETON,r)}return{val:{type:ne.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ei(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,o=!1,a=[],h=new Set,u=i.value,l=i.location;;){if(u.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=y(m,this.clonePosition()),u=this.message.slice(m.offset,this.offset())}else break}if(h.has(u))return this.error(r==="select"?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,y(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var v=this.tryParseArgumentClose(p);if(v.err)return v;a.push([u,{value:g.val,location:y(p,this.clonePosition())}]),h.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,l=s.location}return a.length===0?this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(b.MISSING_OTHER_CLAUSE,y(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)s=!0,o=o*10+(a-48),this.bump();else break}var h=y(i,this.clonePosition());return s?(o*=n,Li(o)?{val:o,err:null}:this.error(r,h)):this.error(t,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Tr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Rt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function ot(e){return e>=97&&e<=122||e>=65&&e<=90}function Ui(e){return ot(e)||e===47}function $i(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Pr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Di(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function at(e){e.forEach(function(t){if(delete t.location,br(t)||yr(t))for(var r in t.options)delete t.options[r].location,at(t.options[r].value);else dr(t)&&_r(t.style)||(pr(t)||gr(t))&&rt(t.style)?delete t.style.location:vr(t)&&at(t.children)})}function Fi(e,t){t===void 0&&(t={}),t=He({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Gi(e,t).parse();if(r.err){var n=SyntaxError(b[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||at(r.val),r.val}var ie;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ie||(ie={}));var Me=function(e){Le(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),$t=function(e){Le(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ie.INVALID_VALUE,s)||this}return t}(Me),ji=function(e){Le(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ie.INVALID_VALUE,i)||this}return t}(Me),ki=function(e){Le(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ie.MISSING_VALUE,n)||this}return t}(Me),A;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(A||(A={}));function Vi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==A.literal||r.type!==A.literal?t.push(r):n.value+=r.value,t},[])}function Xi(e){return typeof e=="function"}function Se(e,t,r,n,i,s,o){if(e.length===1&&Ct(e[0]))return[{type:A.literal,value:e[0].value}];for(var a=[],h=0,u=e;h<u.length;h++){var l=u[h];if(Ct(l)){a.push({type:A.literal,value:l.value});continue}if(mi(l)){typeof s=="number"&&a.push({type:A.literal,value:r.getNumberFormat(t).format(s)});continue}var m=l.value;if(!(i&&m in i))throw new ki(m,o);var c=i[m];if(fi(l)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),a.push({type:typeof c=="string"?A.literal:A.object,value:c});continue}if(pr(l)){var p=typeof l.style=="string"?n.date[l.style]:rt(l.style)?l.style.parsedOptions:void 0;a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(gr(l)){var p=typeof l.style=="string"?n.time[l.style]:rt(l.style)?l.style.parsedOptions:n.time.medium;a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(c)});continue}if(dr(l)){var p=typeof l.style=="string"?n.number[l.style]:_r(l.style)?l.style.parsedOptions:void 0;p&&p.scale&&(c=c*(p.scale||1)),a.push({type:A.literal,value:r.getNumberFormat(t,p).format(c)});continue}if(vr(l)){var g=l.children,v=l.value,T=i[v];if(!Xi(T))throw new ji(v,"function",o);var L=Se(g,t,r,n,i,s),B=T(L.map(function(N){return N.value}));Array.isArray(B)||(B=[B]),a.push.apply(a,B.map(function(N){return{type:typeof N=="string"?A.literal:A.object,value:N}}))}if(br(l)){var P=l.options[c]||l.options.other;if(!P)throw new $t(l.value,c,Object.keys(l.options),o);a.push.apply(a,Se(P.value,t,r,n,i));continue}if(yr(l)){var P=l.options["=".concat(c)];if(!P){if(!Intl.PluralRules)throw new Me(`Intl.PluralRules is not available in this environment.
17
17
  Try polyfilling it using "@formatjs/intl-pluralrules"
18
- `,ie.MISSING_INTL_API,o);var O=r.getPluralRules(t,{type:l.pluralType}).select(c-(l.offset||0));P=l.options[O]||l.options.other}if(!P)throw new $t(l.value,c,Object.keys(l.options),o);a.push.apply(a,Se(P.value,t,r,n,i,c-(l.offset||0)));continue}}return Vi(a)}function Wi(e,t){return t?G(G(G({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=G(G({},e[n]),t[n]||{}),r},{})):e}function zi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Wi(e[n],t[n]),r},G({},e)):e}function Xe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.number),strategy:ke.variadic}),getDateTimeFormat:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.dateTime),strategy:ke.variadic}),getPluralRules:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.pluralRules),strategy:ke.variadic})}}var qi=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var u=s.formatToParts(h);if(u.length===1)return u[0].value;var l=u.reduce(function(m,c){return!m.length||c.type!==A.literal||typeof m[m.length-1]!="string"?m.push(c.value):m[m.length-1]+=c.value,m},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(h){return Se(s.ast,s.locales,s.formatters,s.formats,h,void 0,s.message)},this.resolvedOptions=function(){var h;return{locale:((h=s.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=ii(o,["formatters"]);this.ast=e.__parse(t,G(G({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=zi(e.formats,n),this.formatters=i&&i.formatters||Zi(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Fi,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Qi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const j={},Ji=(e,t,r)=>r&&(t in j||(j[t]={}),e in j[t]||(j[t][e]=r),r),Ar=(e,t)=>{if(t==null)return;if(t in j&&e in j[t])return j[t][e];const r=Ie(t);for(let n=0;n<r.length;n++){const i=r[n],s=Ki(i,e);if(s)return Ji(e,t,s)}};let ft;const ue=Ce({});function Yi(e){return ft[e]||null}function Br(e){return e in ft}function Ki(e,t){if(!Br(e))return null;const r=Yi(e);return Qi(r,t)}function es(e){if(e==null)return;const t=Ie(e);for(let r=0;r<t.length;r++){const n=t[r];if(Br(n))return n}}function mt(e,...t){delete j[e],ue.update(r=>(r[e]=ni.all([r[e]||{},...t]),r))}ae([ue],([e])=>Object.keys(e));ue.subscribe(e=>ft=e);const we={};function ts(e,t){we[e].delete(t),we[e].size===0&&delete we[e]}function Or(e){return we[e]}function rs(e){return Ie(e).map(t=>{const r=Or(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ut(e){return e==null?!1:Ie(e).some(t=>{var r;return(r=Or(t))==null?void 0:r.size})}function ns(e,t){return Promise.all(t.map(n=>(ts(e,n),n().then(i=>i.default||i)))).then(n=>mt(e,...n))}const ce={};function Nr(e){if(!ut(e))return e in ce?ce[e]:Promise.resolve();const t=rs(e);return ce[e]=Promise.all(t.map(([r,n])=>ns(r,n))).then(()=>{if(ut(e))return Nr(e);delete ce[e]}),ce[e]}const is={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ss={fallbackLocale:null,loadingDelay:200,formats:is,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},os=ss;function se(){return os}const We=Ce(!1);var as=Object.defineProperty,us=Object.defineProperties,hs=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,ls=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Ft=(e,t,r)=>t in e?as(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fs=(e,t)=>{for(var r in t||(t={}))ls.call(t,r)&&Ft(e,r,t[r]);if(Dt)for(var r of Dt(t))cs.call(t,r)&&Ft(e,r,t[r]);return e},ms=(e,t)=>us(e,hs(t));let ht;const Pe=Ce(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ie(e,t=se().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function W(){return ht!=null?ht:void 0}Pe.subscribe(e=>{ht=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ds=e=>{if(e&&es(e)&&ut(e)){const{loadingDelay:t}=se();let r;return typeof window!="undefined"&&W()!=null&&t?r=window.setTimeout(()=>We.set(!0),t):We.set(!0),Nr(e).then(()=>{Pe.set(e)}).finally(()=>{clearTimeout(r),We.set(!1)})}return Pe.set(e)},z=ms(fs({},Pe),{set:ds}),Re=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var ps=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,kt=(e,t,r)=>t in e?ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dt=(e,t)=>{for(var r in t||(t={}))Cr.call(t,r)&&kt(e,r,t[r]);if(Ae)for(var r of Ae(t))Lr.call(t,r)&&kt(e,r,t[r]);return e},he=(e,t)=>{var r={};for(var n in e)Cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ae)for(var n of Ae(e))t.indexOf(n)<0&&Lr.call(e,n)&&(r[n]=e[n]);return r};const pe=(e,t)=>{const{formats:r}=se();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gs=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=pe("number",n)),new Intl.NumberFormat(r,i)}),bs=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=pe("date",n):Object.keys(i).length===0&&(i=pe("date","short")),new Intl.DateTimeFormat(r,i)}),ys=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=pe("time",n):Object.keys(i).length===0&&(i=pe("time","short")),new Intl.DateTimeFormat(r,i)}),vs=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return gs(dt({locale:r},n))},_s=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return bs(dt({locale:r},n))},Es=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return ys(dt({locale:r},n))},xs=Re((e,t=W())=>new qi(e,t,se().formats,{ignoreTag:se().ignoreTag})),Ss=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:h=W(),default:u}=o;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ar(e,h);if(!l)l=(s=(i=(n=(r=se()).handleMissingMessage)==null?void 0:n.call(r,{locale:h,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof l!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l;if(!a)return l;let m=l;try{m=xs(l,h).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return m},ws=(e,t)=>Es(t).format(e),Ts=(e,t)=>_s(t).format(e),Hs=(e,t)=>vs(t).format(e),Ps=(e,t=W())=>Ar(e,t),Mr=ae([z,ue],()=>Ss);ae([z],()=>ws);ae([z],()=>Ts);ae([z],()=>Hs);ae([z,ue],()=>Ps);window.emWidgets={topic:Dn};const Ir=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Rr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function As(e,t){const r=window.navigator.userAgent;return Ir(r)?t=e.filter(n=>{if(n.gameModel&&(n.gameModel.platform.includes("iPad")||n.gameModel.platform.includes("iPhone")||n.gameModel.platform.includes("Android")))return n}):t=e.filter(n=>{if(n.gameModel&&n.gameModel.platform.includes("PC"))return n}),t}String(Number.MAX_SAFE_INTEGER).length;function Bs(e,t){mt(e,t)}function Os(e){z.set(e)}const K="__WIDGET_GLOBAL_STYLE_CACHE__";function Gr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ur(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function $r(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ns(e,t),r;window[K]||(window[K]={}),r=Cs(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[K][t]){const a=window[K][t];a.refCount>1?a.refCount=a.refCount-1:delete window[K][t]}s()};return r.unsubscribe=o,r}function Ns(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Cs(e,t){return window.emMessageBus.subscribe(t,r=>{var a;if(!e)return;const n=e.getRootNode(),i=window[K];let s=(a=i[t])==null?void 0:a.sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}const Ls={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-CXtV0EVC.cjs")).then(t=>t.CasinoGamesCategorySectionNd_ce).then(({default:t})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",t.element)})}function Dr(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function Ms(e){zt(e,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Is(e){let t;return{c(){t=k("casino-games-category-section-nd"),d(t,"session",e[4]),d(t,"userid",e[5]),d(t,"endpoint",e[0]),d(t,"datasource",e[1]),d(t,"lang",e[3]),d(t,"currency",e[2]),d(t,"favorites",e[15]),d(t,"fetchviaevent",e[18]),d(t,"categoryid","MOSTPLAYED"),d(t,"categoryindex","1"),d(t,"categorygames","9"),d(t,"class","CategoryContainer"),d(t,"showgamename",e[13]),d(t,"clientstyling",e[7]),d(t,"clientstylingurl",e[8]),d(t,"translationurl",e[16]),d(t,"livecasino",e[9]),d(t,"visiblegames",e[14]),d(t,"gamepagemodalurl",e[12]),d(t,"integratedgameframedesktop",e[11]),d(t,"integratedgameframemobile",e[10]),d(t,"casinomygames",e[17]),d(t,"mbsource",e[6])},m(r,n){oe(r,t,n)},p(r,n){n[0]&16&&d(t,"session",r[4]),n[0]&32&&d(t,"userid",r[5]),n[0]&1&&d(t,"endpoint",r[0]),n[0]&2&&d(t,"datasource",r[1]),n[0]&8&&d(t,"lang",r[3]),n[0]&4&&d(t,"currency",r[2]),n[0]&32768&&d(t,"favorites",r[15]),n[0]&262144&&d(t,"fetchviaevent",r[18]),n[0]&8192&&d(t,"showgamename",r[13]),n[0]&128&&d(t,"clientstyling",r[7]),n[0]&256&&d(t,"clientstylingurl",r[8]),n[0]&65536&&d(t,"translationurl",r[16]),n[0]&512&&d(t,"livecasino",r[9]),n[0]&16384&&d(t,"visiblegames",r[14]),n[0]&4096&&d(t,"gamepagemodalurl",r[12]),n[0]&2048&&d(t,"integratedgameframedesktop",r[11]),n[0]&1024&&d(t,"integratedgameframemobile",r[10]),n[0]&131072&&d(t,"casinomygames",r[17]),n[0]&64&&d(t,"mbsource",r[6])},d(r){r&&X(t)}}}function Rs(e){let t,r=e[21]("noGames")+"",n;return{c(){t=k("p"),n=Oe(r),te(t,"class","SearchLoading")},m(i,s){oe(i,t,s),Be(t,n)},p(i,s){s[0]&2097152&&r!==(r=i[21]("noGames")+"")&&qt(n,r)},d(i){i&&X(t)}}}function Gs(e){let t,r;function n(o,a){return o[20]?Rs:Is}let i=n(e),s=i(e);return{c(){t=k("div"),r=k("div"),s.c(),te(r,"class","casino-most-played-section"),te(t,"class","CasinoGamesCategorySectionContainer")},m(o,a){oe(o,t,a),Be(t,r),s.m(r,null),e[24](t)},p(o,a){i===(i=n(o))&&s?s.p(o,a):(s.d(1),s=i(o),s&&(s.c(),s.m(r,null)))},i:R,o:R,d(o){o&&X(t),s.d(),e[24](null)}}}function Us(e,t,r){let n;Wt(e,Mr,f=>r(21,n=f));let{endpoint:i=""}=t,{datasource:s=""}=t,{currency:o=""}=t,{lang:a=""}=t,{session:h=""}=t,{userid:u=""}=t,{mbsource:l}=t,{clientstyling:m=""}=t,{clientstylingurl:c=""}=t,{livecasino:p="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:T="false"}=t,{showgamename:L=""}=t,{visiblegames:B}=t,{favorites:P=""}=t,{translationurl:O=""}=t,{casinomygames:N="false"}=t,{mostplayedperiod:M="Last30Days"}=t,{mostplayedrounds:_="10"}=t,{fetchviaevent:C="true"}=t,I=window.navigator.userAgent,Z;const Ge=f=>{Object.keys(f).forEach(S=>{Bs(S,f[S])})},jr=()=>{fetch(O).then(S=>S.json()).then(S=>{Ge(S)}).catch(S=>{console.log(S)})};Ge(Ls);let be=[],pt,gt=!1,U,kr;const Vr=f=>{let S=new URL(`${i}/v1/player/${u}/games/most-played`);f.limit&&S.searchParams.append("limit",f.limit),f.order&&S.searchParams.append("order",f.order),S.searchParams.append("expand","games"),S.searchParams.append("period",M);let q=f.device;return q?q==="PC"?S.searchParams.append("device","Desktop"):S.searchParams.append("device","Mobile"):S.searchParams.append("device","All"),f.rounds&&S.searchParams.append("rounds",f.rounds),pt=p?S:S.href,new Promise(($,le)=>{fetch(pt).then(D=>D.json()).then(D=>{D.items=D.items.filter(Zr=>{let bt=!0;return Zr.gameCode=="OddsMatrix2"&&(D.count--,bt=!1),bt}),$(D)}).catch(D=>{console.error(D),le(D)})})},Xr=()=>{Vr({limit:100,device:Rr(I),rounds:_}).then(f=>{if(f.count>0){let S=[];f.items.forEach(q=>{let $=new URL(`${i}/v1/casino/games/${q.gameId}`);$.searchParams.append("datasource",s),p?S.push(fetch($.href).then(le=>le.json())):S.push(fetch($.href).then(le=>le.json()))}),Promise.all(S).then(q=>{be=q.filter($=>!("error"in $)).map($=>$[0]),N==="true"&&(be=be.slice(0,JSON.parse(B))),window.postMessage({type:"MostPlayedData",mostPlayedGames:be},window.location.href)})}else r(20,gt=!0)})},Wr=()=>{Os(a)};Jt(()=>()=>{});function zr(f){Te[f?"unshift":"push"](()=>{U=f,r(19,U)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"datasource"in f&&r(1,s=f.datasource),"currency"in f&&r(2,o=f.currency),"lang"in f&&r(3,a=f.lang),"session"in f&&r(4,h=f.session),"userid"in f&&r(5,u=f.userid),"mbsource"in f&&r(6,l=f.mbsource),"clientstyling"in f&&r(7,m=f.clientstyling),"clientstylingurl"in f&&r(8,c=f.clientstylingurl),"livecasino"in f&&r(9,p=f.livecasino),"integratedgameframemobile"in f&&r(10,g=f.integratedgameframemobile),"integratedgameframedesktop"in f&&r(11,v=f.integratedgameframedesktop),"gamepagemodalurl"in f&&r(12,T=f.gamepagemodalurl),"showgamename"in f&&r(13,L=f.showgamename),"visiblegames"in f&&r(14,B=f.visiblegames),"favorites"in f&&r(15,P=f.favorites),"translationurl"in f&&r(16,O=f.translationurl),"casinomygames"in f&&r(17,N=f.casinomygames),"mostplayedperiod"in f&&r(22,M=f.mostplayedperiod),"mostplayedrounds"in f&&r(23,_=f.mostplayedrounds),"fetchviaevent"in f&&r(18,C=f.fetchviaevent)},e.$$.update=()=>{e.$$.dirty[0]&41&&i&&u&&a&&Xr(),e.$$.dirty[0]&524416&&m&&U&&Gr(U,m),e.$$.dirty[0]&524544&&c&&U&&Ur(U,c),e.$$.dirty[0]&524352&&l&&U&&$r(U,`${l}.Style`,kr),e.$$.dirty[0]&65600&&l&&!O&&Dr(`${l}.Translation`,Z,Ge),e.$$.dirty[0]&65536&&O&&jr(),e.$$.dirty[0]&8&&a&&Wr()},[i,s,o,a,h,u,l,m,c,p,g,v,T,L,B,P,O,N,C,U,gt,n,M,_,zr]}class Fr extends ir{constructor(t){super(),tr(this,t,Us,Gs,ct,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},Ms,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),E()}get datasource(){return this.$$.ctx[1]}set datasource(t){this.$$set({datasource:t}),E()}get currency(){return this.$$.ctx[2]}set currency(t){this.$$set({currency:t}),E()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),E()}get session(){return this.$$.ctx[4]}set session(t){this.$$set({session:t}),E()}get userid(){return this.$$.ctx[5]}set userid(t){this.$$set({userid:t}),E()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),E()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),E()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),E()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),E()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),E()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),E()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),E()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),E()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(t){this.$$set({visiblegames:t}),E()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),E()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),E()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(t){this.$$set({casinomygames:t}),E()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),E()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),E()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),E()}}nr(Fr,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);const $s=Object.freeze(Object.defineProperty({__proto__:null,default:Fr},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=ue;exports.$format=Mr;exports.$locale=z;exports.CasinoMostPlayedSectionNd_ce=$s;exports.HtmlTag=mn;exports.SvelteComponent=ir;exports.addMessages=mt;exports.append=Be;exports.append_styles=zt;exports.attr=te;exports.binding_callbacks=Te;exports.component_subscribe=Wt;exports.create_custom_element=nr;exports.destroy_block=En;exports.destroy_each=sn;exports.detach=X;exports.element=k;exports.empty=an;exports.ensure_array_like=_n;exports.flush=E;exports.getDevice=Rr;exports.getStreamTranslations=Dr;exports.init=tr;exports.insert=oe;exports.isMobile=Ir;exports.listen=un;exports.noop=R;exports.onDestroy=pn;exports.onMount=Jt;exports.platformFavorite=As;exports.run_all=V;exports.safe_not_equal=ct;exports.setClientStyling=Gr;exports.setClientStylingURL=Ur;exports.setStreamStyling=$r;exports.set_custom_element_data=d;exports.set_data=qt;exports.set_input_value=ln;exports.set_style=cn;exports.space=on;exports.src_url_equal=en;exports.svg_element=Zt;exports.text=Oe;exports.tick=gn;exports.toggle_class=fn;exports.update_keyed_each=xn;
18
+ `,ie.MISSING_INTL_API,o);var O=r.getPluralRules(t,{type:l.pluralType}).select(c-(l.offset||0));P=l.options[O]||l.options.other}if(!P)throw new $t(l.value,c,Object.keys(l.options),o);a.push.apply(a,Se(P.value,t,r,n,i,c-(l.offset||0)));continue}}return Vi(a)}function Wi(e,t){return t?G(G(G({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=G(G({},e[n]),t[n]||{}),r},{})):e}function zi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Wi(e[n],t[n]),r},G({},e)):e}function Xe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Zi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.number),strategy:ke.variadic}),getDateTimeFormat:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.dateTime),strategy:ke.variadic}),getPluralRules:je(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Fe([void 0],r,!1)))},{cache:Xe(e.pluralRules),strategy:ke.variadic})}}var qi=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var u=s.formatToParts(h);if(u.length===1)return u[0].value;var l=u.reduce(function(m,c){return!m.length||c.type!==A.literal||typeof m[m.length-1]!="string"?m.push(c.value):m[m.length-1]+=c.value,m},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(h){return Se(s.ast,s.locales,s.formatters,s.formats,h,void 0,s.message)},this.resolvedOptions=function(){var h;return{locale:((h=s.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=ii(o,["formatters"]);this.ast=e.__parse(t,G(G({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=zi(e.formats,n),this.formatters=i&&i.formatters||Zi(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Fi,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Qi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const j={},Ji=(e,t,r)=>r&&(t in j||(j[t]={}),e in j[t]||(j[t][e]=r),r),Ar=(e,t)=>{if(t==null)return;if(t in j&&e in j[t])return j[t][e];const r=Ie(t);for(let n=0;n<r.length;n++){const i=r[n],s=Ki(i,e);if(s)return Ji(e,t,s)}};let ft;const ue=Ce({});function Yi(e){return ft[e]||null}function Br(e){return e in ft}function Ki(e,t){if(!Br(e))return null;const r=Yi(e);return Qi(r,t)}function es(e){if(e==null)return;const t=Ie(e);for(let r=0;r<t.length;r++){const n=t[r];if(Br(n))return n}}function mt(e,...t){delete j[e],ue.update(r=>(r[e]=ni.all([r[e]||{},...t]),r))}ae([ue],([e])=>Object.keys(e));ue.subscribe(e=>ft=e);const we={};function ts(e,t){we[e].delete(t),we[e].size===0&&delete we[e]}function Or(e){return we[e]}function rs(e){return Ie(e).map(t=>{const r=Or(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ut(e){return e==null?!1:Ie(e).some(t=>{var r;return(r=Or(t))==null?void 0:r.size})}function ns(e,t){return Promise.all(t.map(n=>(ts(e,n),n().then(i=>i.default||i)))).then(n=>mt(e,...n))}const ce={};function Nr(e){if(!ut(e))return e in ce?ce[e]:Promise.resolve();const t=rs(e);return ce[e]=Promise.all(t.map(([r,n])=>ns(r,n))).then(()=>{if(ut(e))return Nr(e);delete ce[e]}),ce[e]}const is={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ss={fallbackLocale:null,loadingDelay:200,formats:is,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},os=ss;function se(){return os}const We=Ce(!1);var as=Object.defineProperty,us=Object.defineProperties,hs=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,ls=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Ft=(e,t,r)=>t in e?as(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fs=(e,t)=>{for(var r in t||(t={}))ls.call(t,r)&&Ft(e,r,t[r]);if(Dt)for(var r of Dt(t))cs.call(t,r)&&Ft(e,r,t[r]);return e},ms=(e,t)=>us(e,hs(t));let ht;const Pe=Ce(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ie(e,t=se().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function W(){return ht!=null?ht:void 0}Pe.subscribe(e=>{ht=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ds=e=>{if(e&&es(e)&&ut(e)){const{loadingDelay:t}=se();let r;return typeof window!="undefined"&&W()!=null&&t?r=window.setTimeout(()=>We.set(!0),t):We.set(!0),Nr(e).then(()=>{Pe.set(e)}).finally(()=>{clearTimeout(r),We.set(!1)})}return Pe.set(e)},z=ms(fs({},Pe),{set:ds}),Re=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var ps=Object.defineProperty,Ae=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,kt=(e,t,r)=>t in e?ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dt=(e,t)=>{for(var r in t||(t={}))Cr.call(t,r)&&kt(e,r,t[r]);if(Ae)for(var r of Ae(t))Lr.call(t,r)&&kt(e,r,t[r]);return e},he=(e,t)=>{var r={};for(var n in e)Cr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ae)for(var n of Ae(e))t.indexOf(n)<0&&Lr.call(e,n)&&(r[n]=e[n]);return r};const pe=(e,t)=>{const{formats:r}=se();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gs=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=pe("number",n)),new Intl.NumberFormat(r,i)}),bs=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=pe("date",n):Object.keys(i).length===0&&(i=pe("date","short")),new Intl.DateTimeFormat(r,i)}),ys=Re(e=>{var t=e,{locale:r,format:n}=t,i=he(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=pe("time",n):Object.keys(i).length===0&&(i=pe("time","short")),new Intl.DateTimeFormat(r,i)}),vs=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return gs(dt({locale:r},n))},_s=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return bs(dt({locale:r},n))},Es=(e={})=>{var t=e,{locale:r=W()}=t,n=he(t,["locale"]);return ys(dt({locale:r},n))},xs=Re((e,t=W())=>new qi(e,t,se().formats,{ignoreTag:se().ignoreTag})),Ss=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:h=W(),default:u}=o;if(h==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ar(e,h);if(!l)l=(s=(i=(n=(r=se()).handleMissingMessage)==null?void 0:n.call(r,{locale:h,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof l!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l;if(!a)return l;let m=l;try{m=xs(l,h).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return m},ws=(e,t)=>Es(t).format(e),Ts=(e,t)=>_s(t).format(e),Hs=(e,t)=>vs(t).format(e),Ps=(e,t=W())=>Ar(e,t),Mr=ae([z,ue],()=>Ss);ae([z],()=>ws);ae([z],()=>Ts);ae([z],()=>Hs);ae([z,ue],()=>Ps);window.emWidgets={topic:Dn};const Ir=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Rr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function As(e,t){const r=window.navigator.userAgent;return Ir(r)?t=e.filter(n=>{if(n.gameModel&&(n.gameModel.platform.includes("iPad")||n.gameModel.platform.includes("iPhone")||n.gameModel.platform.includes("Android")))return n}):t=e.filter(n=>{if(n.gameModel&&n.gameModel.platform.includes("PC"))return n}),t}String(Number.MAX_SAFE_INTEGER).length;function Bs(e,t){mt(e,t)}function Os(e){z.set(e)}const K="__WIDGET_GLOBAL_STYLE_CACHE__";function Gr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ur(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function $r(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ns(e,t),r;window[K]||(window[K]={}),r=Cs(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[K][t]){const a=window[K][t];a.refCount>1?a.refCount=a.refCount-1:delete window[K][t]}s()};return r.unsubscribe=o,r}function Ns(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Cs(e,t){return window.emMessageBus.subscribe(t,r=>{var a;if(!e)return;const n=e.getRootNode(),i=window[K];let s=(a=i[t])==null?void 0:a.sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}const Ls={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-Dks7ybfs.cjs")).then(t=>t.CasinoGamesCategorySectionNd_ce).then(({default:t})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",t.element)})}function Dr(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function Ms(e){zt(e,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Is(e){let t;return{c(){t=k("casino-games-category-section-nd"),d(t,"session",e[4]),d(t,"userid",e[5]),d(t,"endpoint",e[0]),d(t,"datasource",e[1]),d(t,"lang",e[3]),d(t,"currency",e[2]),d(t,"favorites",e[15]),d(t,"fetchviaevent",e[18]),d(t,"categoryid","MOSTPLAYED"),d(t,"categoryindex","1"),d(t,"categorygames","9"),d(t,"class","CategoryContainer"),d(t,"showgamename",e[13]),d(t,"clientstyling",e[7]),d(t,"clientstylingurl",e[8]),d(t,"translationurl",e[16]),d(t,"livecasino",e[9]),d(t,"visiblegames",e[14]),d(t,"gamepagemodalurl",e[12]),d(t,"integratedgameframedesktop",e[11]),d(t,"integratedgameframemobile",e[10]),d(t,"casinomygames",e[17]),d(t,"mbsource",e[6])},m(r,n){oe(r,t,n)},p(r,n){n[0]&16&&d(t,"session",r[4]),n[0]&32&&d(t,"userid",r[5]),n[0]&1&&d(t,"endpoint",r[0]),n[0]&2&&d(t,"datasource",r[1]),n[0]&8&&d(t,"lang",r[3]),n[0]&4&&d(t,"currency",r[2]),n[0]&32768&&d(t,"favorites",r[15]),n[0]&262144&&d(t,"fetchviaevent",r[18]),n[0]&8192&&d(t,"showgamename",r[13]),n[0]&128&&d(t,"clientstyling",r[7]),n[0]&256&&d(t,"clientstylingurl",r[8]),n[0]&65536&&d(t,"translationurl",r[16]),n[0]&512&&d(t,"livecasino",r[9]),n[0]&16384&&d(t,"visiblegames",r[14]),n[0]&4096&&d(t,"gamepagemodalurl",r[12]),n[0]&2048&&d(t,"integratedgameframedesktop",r[11]),n[0]&1024&&d(t,"integratedgameframemobile",r[10]),n[0]&131072&&d(t,"casinomygames",r[17]),n[0]&64&&d(t,"mbsource",r[6])},d(r){r&&X(t)}}}function Rs(e){let t,r=e[21]("noGames")+"",n;return{c(){t=k("p"),n=Oe(r),te(t,"class","SearchLoading")},m(i,s){oe(i,t,s),Be(t,n)},p(i,s){s[0]&2097152&&r!==(r=i[21]("noGames")+"")&&qt(n,r)},d(i){i&&X(t)}}}function Gs(e){let t,r;function n(o,a){return o[20]?Rs:Is}let i=n(e),s=i(e);return{c(){t=k("div"),r=k("div"),s.c(),te(r,"class","casino-most-played-section"),te(t,"class","CasinoGamesCategorySectionContainer")},m(o,a){oe(o,t,a),Be(t,r),s.m(r,null),e[24](t)},p(o,a){i===(i=n(o))&&s?s.p(o,a):(s.d(1),s=i(o),s&&(s.c(),s.m(r,null)))},i:R,o:R,d(o){o&&X(t),s.d(),e[24](null)}}}function Us(e,t,r){let n;Wt(e,Mr,f=>r(21,n=f));let{endpoint:i=""}=t,{datasource:s=""}=t,{currency:o=""}=t,{lang:a=""}=t,{session:h=""}=t,{userid:u=""}=t,{mbsource:l}=t,{clientstyling:m=""}=t,{clientstylingurl:c=""}=t,{livecasino:p="false"}=t,{integratedgameframemobile:g="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:T="false"}=t,{showgamename:L=""}=t,{visiblegames:B}=t,{favorites:P=""}=t,{translationurl:O=""}=t,{casinomygames:N="false"}=t,{mostplayedperiod:M="Last30Days"}=t,{mostplayedrounds:_="10"}=t,{fetchviaevent:C="true"}=t,I=window.navigator.userAgent,Z;const Ge=f=>{Object.keys(f).forEach(S=>{Bs(S,f[S])})},jr=()=>{fetch(O).then(S=>S.json()).then(S=>{Ge(S)}).catch(S=>{console.log(S)})};Ge(Ls);let be=[],pt,gt=!1,U,kr;const Vr=f=>{let S=new URL(`${i}/v1/player/${u}/games/most-played`);f.limit&&S.searchParams.append("limit",f.limit),f.order&&S.searchParams.append("order",f.order),S.searchParams.append("expand","games"),S.searchParams.append("period",M);let q=f.device;return q?q==="PC"?S.searchParams.append("device","Desktop"):S.searchParams.append("device","Mobile"):S.searchParams.append("device","All"),f.rounds&&S.searchParams.append("rounds",f.rounds),pt=p?S:S.href,new Promise(($,le)=>{fetch(pt).then(D=>D.json()).then(D=>{D.items=D.items.filter(Zr=>{let bt=!0;return Zr.gameCode=="OddsMatrix2"&&(D.count--,bt=!1),bt}),$(D)}).catch(D=>{console.error(D),le(D)})})},Xr=()=>{Vr({limit:100,device:Rr(I),rounds:_}).then(f=>{if(f.count>0){let S=[];f.items.forEach(q=>{let $=new URL(`${i}/v1/casino/games/${q.gameId}`);$.searchParams.append("datasource",s),p?S.push(fetch($.href).then(le=>le.json())):S.push(fetch($.href).then(le=>le.json()))}),Promise.all(S).then(q=>{be=q.filter($=>!("error"in $)).map($=>$[0]),N==="true"&&(be=be.slice(0,JSON.parse(B))),window.postMessage({type:"MostPlayedData",mostPlayedGames:be},window.location.href)})}else r(20,gt=!0)})},Wr=()=>{Os(a)};Jt(()=>()=>{});function zr(f){Te[f?"unshift":"push"](()=>{U=f,r(19,U)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"datasource"in f&&r(1,s=f.datasource),"currency"in f&&r(2,o=f.currency),"lang"in f&&r(3,a=f.lang),"session"in f&&r(4,h=f.session),"userid"in f&&r(5,u=f.userid),"mbsource"in f&&r(6,l=f.mbsource),"clientstyling"in f&&r(7,m=f.clientstyling),"clientstylingurl"in f&&r(8,c=f.clientstylingurl),"livecasino"in f&&r(9,p=f.livecasino),"integratedgameframemobile"in f&&r(10,g=f.integratedgameframemobile),"integratedgameframedesktop"in f&&r(11,v=f.integratedgameframedesktop),"gamepagemodalurl"in f&&r(12,T=f.gamepagemodalurl),"showgamename"in f&&r(13,L=f.showgamename),"visiblegames"in f&&r(14,B=f.visiblegames),"favorites"in f&&r(15,P=f.favorites),"translationurl"in f&&r(16,O=f.translationurl),"casinomygames"in f&&r(17,N=f.casinomygames),"mostplayedperiod"in f&&r(22,M=f.mostplayedperiod),"mostplayedrounds"in f&&r(23,_=f.mostplayedrounds),"fetchviaevent"in f&&r(18,C=f.fetchviaevent)},e.$$.update=()=>{e.$$.dirty[0]&41&&i&&u&&a&&Xr(),e.$$.dirty[0]&524416&&m&&U&&Gr(U,m),e.$$.dirty[0]&524544&&c&&U&&Ur(U,c),e.$$.dirty[0]&524352&&l&&U&&$r(U,`${l}.Style`,kr),e.$$.dirty[0]&65600&&l&&!O&&Dr(`${l}.Translation`,Z,Ge),e.$$.dirty[0]&65536&&O&&jr(),e.$$.dirty[0]&8&&a&&Wr()},[i,s,o,a,h,u,l,m,c,p,g,v,T,L,B,P,O,N,C,U,gt,n,M,_,zr]}class Fr extends ir{constructor(t){super(),tr(this,t,Us,Gs,ct,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},Ms,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),E()}get datasource(){return this.$$.ctx[1]}set datasource(t){this.$$set({datasource:t}),E()}get currency(){return this.$$.ctx[2]}set currency(t){this.$$set({currency:t}),E()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),E()}get session(){return this.$$.ctx[4]}set session(t){this.$$set({session:t}),E()}get userid(){return this.$$.ctx[5]}set userid(t){this.$$set({userid:t}),E()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),E()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),E()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),E()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),E()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),E()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),E()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),E()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),E()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(t){this.$$set({visiblegames:t}),E()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),E()}get translationurl(){return this.$$.ctx[16]}set translationurl(t){this.$$set({translationurl:t}),E()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(t){this.$$set({casinomygames:t}),E()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),E()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),E()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),E()}}nr(Fr,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);const $s=Object.freeze(Object.defineProperty({__proto__:null,default:Fr},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=ue;exports.$format=Mr;exports.$locale=z;exports.CasinoMostPlayedSectionNd_ce=$s;exports.HtmlTag=mn;exports.SvelteComponent=ir;exports.addMessages=mt;exports.append=Be;exports.append_styles=zt;exports.attr=te;exports.binding_callbacks=Te;exports.component_subscribe=Wt;exports.create_custom_element=nr;exports.destroy_block=En;exports.destroy_each=sn;exports.detach=X;exports.element=k;exports.empty=an;exports.ensure_array_like=_n;exports.flush=E;exports.getDevice=Rr;exports.getStreamTranslations=Dr;exports.init=tr;exports.insert=oe;exports.isMobile=Ir;exports.listen=un;exports.noop=R;exports.onDestroy=pn;exports.onMount=Jt;exports.platformFavorite=As;exports.run_all=V;exports.safe_not_equal=ct;exports.setClientStyling=Gr;exports.setClientStylingURL=Ur;exports.setStreamStyling=$r;exports.set_custom_element_data=d;exports.set_data=qt;exports.set_input_value=ln;exports.set_style=cn;exports.space=on;exports.src_url_equal=en;exports.svg_element=Zt;exports.text=Oe;exports.tick=gn;exports.toggle_class=fn;exports.update_keyed_each=xn;
@@ -4526,7 +4526,7 @@ if (typeof window != "undefined") {
4526
4526
  }
4527
4527
  };
4528
4528
  };
4529
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BWm798-S.js").then((t) => t.C).then(({ default: t }) => {
4529
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-BT2Qn9Ho.js").then((t) => t.C).then(({ default: t }) => {
4530
4530
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
4531
4531
  });
4532
4532
  }