@everymatrix/casino-tournaments-page-controller 1.74.2 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/components/{CasinoTournamentsDetails-mcFh7vHI.js → CasinoTournamentsDetails-BDw2Ou4t.js} +14 -14
  2. package/components/{CasinoTournamentsDetails-CD1l412D.js → CasinoTournamentsDetails-_bdGpLvB.js} +14 -14
  3. package/components/{CasinoTournamentsPageController-BW0tQ9JT.js → CasinoTournamentsPageController-BihH-rXr.js} +2135 -2149
  4. package/components/{CasinoTournamentsPageController-JWctyFcT.cjs → CasinoTournamentsPageController-CVjczHGr.cjs} +12 -12
  5. package/components/{CasinoTournamentsPageController-A2Co53Ej.js → CasinoTournamentsPageController-CjYgbrp9.js} +2121 -2135
  6. package/components/{CasinoTournamentsRank-DzhFRRsR.js → CasinoTournamentsRank-C2U2j7Tz.js} +24 -24
  7. package/components/{CasinoTournamentsRank-LlOGVyGx.js → CasinoTournamentsRank-Ch1xfyDw.js} +24 -24
  8. package/components/{CasinoTournamentsTab-CrDmK4lY.js → CasinoTournamentsTab-BEC9HOOR.js} +13 -13
  9. package/components/{CasinoTournamentsTab-Ih-_3vfM.js → CasinoTournamentsTab-BLHE6UV5.js} +6 -6
  10. package/components/{CasinoTournamentsTable-B3yyoBa_.js → CasinoTournamentsTable-CriJP7NI.js} +5 -5
  11. package/components/{CasinoTournamentsTable-UYyiKGDs.js → CasinoTournamentsTable-D-sIOZGJ.js} +5 -5
  12. package/components/{CasinoTournamentsTable-DhyXvDOL.cjs → CasinoTournamentsTable-JxHWMRJp.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnail-CgxNqGtr.js → CasinoTournamentsThumbnail-BZsiOxFz.js} +35 -35
  14. package/components/{CasinoTournamentsThumbnail-D-4nXRLq.cjs → CasinoTournamentsThumbnail-CkD_6oZa.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnail-78tp9CyZ.js → CasinoTournamentsThumbnail-Dfy_8oZr.js} +35 -35
  16. package/components/{CasinoTournamentsThumbnailController-HpD8FbRA.js → CasinoTournamentsThumbnailController-BGzspVcE.js} +26 -26
  17. package/components/{CasinoTournamentsThumbnailController-DJ57Pr_X.js → CasinoTournamentsThumbnailController-OjlKIcrc.js} +26 -26
  18. package/components/{CasinoTournamentsThumbnailController-5Wo13e9u.cjs → CasinoTournamentsThumbnailController-i5banPeB.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailDuration-CUcihq_K.js → CasinoTournamentsThumbnailDuration-3GtKUapC.js} +24 -24
  20. package/components/{CasinoTournamentsThumbnailDuration-DGbu10Lv.js → CasinoTournamentsThumbnailDuration-CB6Ea1L4.js} +24 -24
  21. package/components/{CasinoTournamentsThumbnailDuration-DYm_lbVh.cjs → CasinoTournamentsThumbnailDuration-DVjjXJbO.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailGamesSlider-BQAOmCwL.js → CasinoTournamentsThumbnailGamesSlider-BudjLijL.js} +17 -17
  23. package/components/{CasinoTournamentsThumbnailGamesSlider-Bm4joopU.cjs → CasinoTournamentsThumbnailGamesSlider-DZrl6ze4.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailGamesSlider-B1CuvY9F.js → CasinoTournamentsThumbnailGamesSlider-Sseh_b01.js} +17 -17
  25. package/components/{CasinoTournamentsThumbnailPrizes-W_oLRTaY.cjs → CasinoTournamentsThumbnailPrizes-Ds_aSQX0.cjs} +1 -1
  26. package/components/{CasinoTournamentsThumbnailPrizes-Dfvs586O.js → CasinoTournamentsThumbnailPrizes-DvIC11GI.js} +34 -34
  27. package/components/{CasinoTournamentsThumbnailPrizes-DjjyWWPZ.js → CasinoTournamentsThumbnailPrizes-L41ohmnP.js} +34 -34
  28. package/components/{CasinoTournamentsThumbnailRule-CYoOnc7S.js → CasinoTournamentsThumbnailRule-B9pvGNfE.js} +6 -6
  29. package/components/{CasinoTournamentsThumbnailRule-D0kbuwDt.js → CasinoTournamentsThumbnailRule-CIwPTizJ.js} +6 -6
  30. package/components/{CasinoTournamentsThumbnailRule-BE6UoGqA.cjs → CasinoTournamentsThumbnailRule-Dsd02JJV.cjs} +1 -1
  31. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  32. package/es2015/casino-tournaments-page-controller.js +1 -1
  33. package/esnext/casino-tournaments-page-controller.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  36. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  37. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  38. package/stencil/{index-b2193545-OH6E7v51.js → index-b2193545-CD_KQ0BB.js} +176 -176
  39. package/stencil/{index-b2193545-eoIiLcDl.js → index-b2193545-CrHhiaNt.js} +169 -169
  40. package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
  41. package/stencil/{ui-image-CNrnXPP3.js → ui-image-BNRjOSaN.js} +1 -1
  42. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-D9tkwepr.js} +1 -1
  43. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
  44. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  45. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  46. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  47. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  48. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  49. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  50. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-BecGfbnY.js} +2 -2
  51. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
  52. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DXmvn9dE.js} +2 -2
  53. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
  54. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
  55. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
  56. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  57. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),I=require("./CasinoTournamentsPageController-JWctyFcT.cjs");require("../stencil/ui-skeleton-Caiy-FEL.cjs");require("../stencil/ui-image-CDCn_LHy.cjs");function te({withLocale:a,translations:t}){I.$locale.subscribe(i=>{i==null&&(I.$dictionary.set(t),I.$locale.set(a))})}function O(a,t){I.addMessages(a,t)}function ie(a){I.$locale.set(a)}const W={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ae(a){e.append_styles(a,"svelte-1bncdcr",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function L(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function E(a){let t,i,r,n,l,d,m,o,c=a[0]&&P(a),h=a[6]=="true"&&B(a);function T(u,f){return u[3]?re:ne}let k=T(a),y=k(a),b=a[2]&&G(a),g=a[11]&&U(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),y.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),y.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=P(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=B(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),k===(k=T(u))&&y?y.p(u,f):(y.d(1),y=k(u),y&&(y.c(),y.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=G(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[11]?g?g.p(u,f):(g=U(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),y.d(u),b&&b.d(),g&&g.d()}}}function P(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[12]),e.attr(t,"class",r="Status "+a[14]),e.attr(t,"part",n="Status "+a[14])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[17].call(null,t)),l=!0)},p(m,o){o[0]&4096&&e.set_data(i,m[12]),o[0]&16384&&r!==(r="Status "+m[14])&&e.attr(t,"class",r),o[0]&16384&&n!==(n="Status "+m[14])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function B(a){let t,i=a[4]&&q(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[4]?i?i.p(r,n):(i=q(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function q(a){let t,i=a[15]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&32768&&i!==(i=n[15]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function ne(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function re(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[3])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&8&&!e.src_url_equal(i.src,r=o[3])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function G(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[10]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[16].call(null,t,a[2])),n=!0)},p(d,m){m[0]&1024&&e.set_data(i,d[10]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function U(a){let t,i,r=a[15]("scoreCriteria")+"",n,l,d,m,o,c=a[15]("minbet")+"",h,T,k,y,b,g,u,f=a[15]("seegames")+"",v,w,S,A=a[15]("here")+"",C,J,M,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),I=require("./CasinoTournamentsPageController-CVjczHGr.cjs");require("../stencil/ui-skeleton-CKaouoPt.cjs");require("../stencil/ui-image-DBXtq7Sy.cjs");function te({withLocale:a,translations:t}){I.$locale.subscribe(i=>{i==null&&(I.$dictionary.set(t),I.$locale.set(a))})}function O(a,t){I.addMessages(a,t)}function ie(a){I.$locale.set(a)}const W={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ae(a){e.append_styles(a,"svelte-1bncdcr",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function L(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function E(a){let t,i,r,n,l,d,m,o,c=a[0]&&P(a),h=a[6]=="true"&&B(a);function T(u,f){return u[3]?re:ne}let k=T(a),y=k(a),b=a[2]&&G(a),g=a[11]&&U(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),y.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),y.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=P(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=B(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),k===(k=T(u))&&y?y.p(u,f):(y.d(1),y=k(u),y&&(y.c(),y.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=G(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[11]?g?g.p(u,f):(g=U(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),y.d(u),b&&b.d(),g&&g.d()}}}function P(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[12]),e.attr(t,"class",r="Status "+a[14]),e.attr(t,"part",n="Status "+a[14])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[17].call(null,t)),l=!0)},p(m,o){o[0]&4096&&e.set_data(i,m[12]),o[0]&16384&&r!==(r="Status "+m[14])&&e.attr(t,"class",r),o[0]&16384&&n!==(n="Status "+m[14])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function B(a){let t,i=a[4]&&q(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[4]?i?i.p(r,n):(i=q(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function q(a){let t,i=a[15]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&32768&&i!==(i=n[15]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function ne(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function re(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[3])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&8&&!e.src_url_equal(i.src,r=o[3])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function G(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[10]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[16].call(null,t,a[2])),n=!0)},p(d,m){m[0]&1024&&e.set_data(i,d[10]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function U(a){let t,i,r=a[15]("scoreCriteria")+"",n,l,d,m,o,c=a[15]("minbet")+"",h,T,k,y,b,g,u,f=a[15]("seegames")+"",v,w,S,A=a[15]("here")+"",C,J,M,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
2
2
 
3
3
  `),d=e.element("span"),m=e.text(a[13]),o=e.text(`
4
4
  (`),h=e.text(c),T=e.space(),k=e.text(a[5]),y=e.text(")"),b=e.space(),g=e.element("div"),u=e.element("p"),v=e.text(f),w=e.space(),S=e.element("a"),C=e.text(A),e.attr(d,"part","ScoreCriteriaSpan"),e.attr(i,"part","ScoreCriteriaP"),e.attr(t,"class","ScoreCriteria"),e.attr(t,"part","ScoreCriteria"),e.attr(S,"part","GamesAnchor"),e.attr(S,"href",a[7]),e.attr(S,"target",J=a[8]==="true"?"_self":"_blank"),e.attr(u,"part","GamesP"),e.attr(g,"class","Games"),e.attr(g,"part","Games")},m(p,_){e.insert(p,t,_),e.append(t,i),e.append(i,n),e.append(i,l),e.append(i,d),e.append(d,m),e.append(i,o),e.append(i,h),e.append(i,T),e.append(i,k),e.append(i,y),e.insert(p,b,_),e.insert(p,g,_),e.append(g,u),e.append(u,v),e.append(u,w),e.append(u,S),e.append(S,C),M||(R=[e.action_destroyer(a[18].call(null,d)),e.listen(S,"click",a[19])],M=!0)},p(p,_){_[0]&32768&&r!==(r=p[15]("scoreCriteria")+"")&&e.set_data(n,r),_[0]&8192&&e.set_data(m,p[13]),_[0]&32768&&c!==(c=p[15]("minbet")+"")&&e.set_data(h,c),_[0]&32&&e.set_data(k,p[5]),_[0]&32768&&f!==(f=p[15]("seegames")+"")&&e.set_data(v,f),_[0]&32768&&A!==(A=p[15]("here")+"")&&e.set_data(C,A),_[0]&128&&e.attr(S,"href",p[7]),_[0]&256&&J!==(J=p[8]==="true"?"_self":"_blank")&&e.attr(S,"target",J)},d(p){p&&(e.detach(t),e.detach(b),e.detach(g)),M=!1,e.run_all(R)}}}function se(a){let t,i,r,n=a[1]==="undefined"&&L(),l=a[1]!=="undefined"&&E(a);return{c(){t=e.element("div"),n&&n.c(),i=e.space(),l&&l.c(),e.attr(t,"class",r=`Thumbnail ${a[1]==="undefined"?"Loading":""}`),e.attr(t,"part","Thumbnail")},m(d,m){e.insert(d,t,m),n&&n.m(t,null),e.append(t,i),l&&l.m(t,null),a[29](t)},p(d,m){d[1]==="undefined"?n||(n=L(),n.c(),n.m(t,i)):n&&(n.d(1),n=null),d[1]!=="undefined"?l?l.p(d,m):(l=E(d),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&2&&r!==(r=`Thumbnail ${d[1]==="undefined"?"Loading":""}`)&&e.attr(t,"class",r)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n&&n.d(),l&&l.d(),a[29](null)}}}function le(a,t,i){let r;e.component_subscribe(a,I.$format,s=>i(15,r=s));let{session:n=""}=t,{userid:l=""}=t,{title:d=""}=t,{startdate:m=""}=t,{status:o=""}=t,{tourid:c=""}=t,{thumbnail:h=""}=t,{userenrolled:T=""}=t,{scorecriteria:k=""}=t,{minbetcount:y=""}=t,{showenrolled:b="false"}=t,{gameurl:g=""}=t,{lang:u="en"}=t,{keepbrowsercontext:f="false"}=t,{clientstyling:v=""}=t,{clientstylingurl:w=""}=t,{translationurl:S=""}=t,{mbsource:A}=t,C,J="",M=!1,R="",p="",_="";te({withLocale:"en",translations:{}});const V=()=>{fetch(S).then(s=>s.json()).then(s=>{Object.keys(s).forEach(D=>{O(D,s[D])}),m&&z()}).catch(s=>{console.log(s)})};Object.keys(W).forEach(s=>{O(s,W[s])});const N=s=>{s.data&&(s.data&&s.data.type=="SessionID"&&i(11,M=!0),s.data.type==`TournamentStatus_${c}`&&i(0,o=s.data.status))},x=()=>{const s={month:"long"};let D=new Date(m),Q=new Intl.DateTimeFormat("en",s).format(D),X=D.getDate(),$=D.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const ee=()=>r(o==="Running"?"startedAt":"startingAt");i(10,J=`${X} `+r(`${Q}`)+", "+ee()+` ${$}`)},F=()=>{o=="Unstarted"&&(i(12,R=r("scheduled")),i(14,_="StatusUnstarted")),o=="Running"&&(i(12,R=r("ongoing")),i(14,_="StatusRunning")),(o=="Closed"||o=="Closing")&&i(12,R=r("finished")),o=="Closed"&&i(14,_="StatusClosed"),o=="Closing"&&i(14,_="StatusClosing")},j=()=>{k=="BetCount"&&i(13,p=r("betCount")),k=="MaxWinStakeRatio"&&i(13,p=r("maxWinStakeRatio")),k=="WinStakeRatio"&&i(13,p=r("winStakeRatio")),k=="Stake"&&i(13,p=r("stake"))},H=()=>{window.postMessage({type:"tournamentGamesClicked",tourid:c},window.location.href)},Y=()=>{n.length>0&&n!="false"?i(11,M=!0):i(11,M=!1)};e.onMount(()=>(setTimeout(()=>z(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}));const z=()=>{ie(u),j(),F(),m&&x()};function Z(s){e.binding_callbacks[s?"unshift":"push"](()=>{C=s,i(9,C)})}return a.$$set=s=>{"session"in s&&i(20,n=s.session),"userid"in s&&i(21,l=s.userid),"title"in s&&i(1,d=s.title),"startdate"in s&&i(2,m=s.startdate),"status"in s&&i(0,o=s.status),"tourid"in s&&i(22,c=s.tourid),"thumbnail"in s&&i(3,h=s.thumbnail),"userenrolled"in s&&i(4,T=s.userenrolled),"scorecriteria"in s&&i(23,k=s.scorecriteria),"minbetcount"in s&&i(5,y=s.minbetcount),"showenrolled"in s&&i(6,b=s.showenrolled),"gameurl"in s&&i(7,g=s.gameurl),"lang"in s&&i(24,u=s.lang),"keepbrowsercontext"in s&&i(8,f=s.keepbrowsercontext),"clientstyling"in s&&i(25,v=s.clientstyling),"clientstylingurl"in s&&i(26,w=s.clientstylingurl),"translationurl"in s&&i(27,S=s.translationurl),"mbsource"in s&&i(28,A=s.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&33554944&&v&&C&&e.setClientStyling(C,v),a.$$.dirty[0]&67109376&&w&&C&&e.setClientStylingURL(C,w),a.$$.dirty[0]&268435968&&A&&C&&e.setStreamStyling(C,`${A}.Style`),a.$$.dirty[0]&134217728&&S&&V(),a.$$.dirty[0]&1048576&&n&&Y(),a.$$.dirty[0]&1&&o&&F(),a.$$.dirty[0]&16777218&&d&&u&&z(),a.$$.dirty[0]&4&&m&&x(),a.$$.dirty[0]&8388608&&k&&j()},[o,d,m,h,T,y,b,g,f,C,J,M,R,p,_,r,x,F,j,H,n,l,c,k,u,v,w,S,A,Z]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,le,se,e.safe_not_equal,{session:20,userid:21,title:1,startdate:2,status:0,tourid:22,thumbnail:3,userenrolled:4,scorecriteria:23,minbetcount:5,showenrolled:6,gameurl:7,lang:24,keepbrowsercontext:8,clientstyling:25,clientstylingurl:26,translationurl:27,mbsource:28},ae,[-1,-1])}get session(){return this.$$.ctx[20]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[21]}set userid(t){this.$$set({userid:t}),e.flush()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),e.flush()}get startdate(){return this.$$.ctx[2]}set startdate(t){this.$$set({startdate:t}),e.flush()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),e.flush()}get tourid(){return this.$$.ctx[22]}set tourid(t){this.$$set({tourid:t}),e.flush()}get thumbnail(){return this.$$.ctx[3]}set thumbnail(t){this.$$set({thumbnail:t}),e.flush()}get userenrolled(){return this.$$.ctx[4]}set userenrolled(t){this.$$set({userenrolled:t}),e.flush()}get scorecriteria(){return this.$$.ctx[23]}set scorecriteria(t){this.$$set({scorecriteria:t}),e.flush()}get minbetcount(){return this.$$.ctx[5]}set minbetcount(t){this.$$set({minbetcount:t}),e.flush()}get showenrolled(){return this.$$.ctx[6]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get gameurl(){return this.$$.ctx[7]}set gameurl(t){this.$$set({gameurl:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[8]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=K;
@@ -1,7 +1,7 @@
1
- import { S as ce, b as ge, f as S, c as be, a as fe, d as he, p as C, e as D, q as m, h as _, u as g, n as H, j as A, k as pe, o as ke, l as ye, m as Se, t as J, v as R, E, g as Ce, i as _e, y as Ae, r as Te, C as ve, D as Me, B as K, x as L } from "./CasinoTournamentsDetails-mcFh7vHI.js";
2
- import { $ as V, c as we, a as Je, b as Re } from "./CasinoTournamentsPageController-A2Co53Ej.js";
3
- import "../stencil/ui-skeleton-C73UqtBQ.js";
4
- import "../stencil/ui-image-CNrnXPP3.js";
1
+ import { S as ce, b as ge, f as S, c as be, a as fe, d as he, l as C, e as D, m, h as _, p as g, n as H, j as A, k as pe, o as ke, t as J, q as R, E, g as ye, i as Se, w as Ce, r as _e, A as Ae, B as Te, C as ve, D as Me, z as K, v as L } from "./CasinoTournamentsDetails-_bdGpLvB.js";
2
+ import { $ as V, c as we, a as Je, b as Re } from "./CasinoTournamentsPageController-BihH-rXr.js";
3
+ import "../stencil/ui-skeleton-BecGfbnY.js";
4
+ import "../stencil/ui-image-D9tkwepr.js";
5
5
  function De({ withLocale: i, translations: e }) {
6
6
  V.subscribe((t) => {
7
7
  t == null && (we.set(e), V.set(i));
@@ -373,7 +373,7 @@ function X(i) {
373
373
  function F(o, f) {
374
374
  return (
375
375
  /*thumbnail*/
376
- o[3] ? ze : je
376
+ o[3] ? je : ze
377
377
  );
378
378
  }
379
379
  let T = F(i), v = T(i), p = (
@@ -451,7 +451,7 @@ function ee(i) {
451
451
  );
452
452
  return {
453
453
  c() {
454
- t && t.c(), e = Ce();
454
+ t && t.c(), e = ye();
455
455
  },
456
456
  m(r, a) {
457
457
  t && t.m(r, a), _(r, e, a);
@@ -487,7 +487,7 @@ function te(i) {
487
487
  }
488
488
  };
489
489
  }
490
- function je(i) {
490
+ function ze(i) {
491
491
  let e, t, r, a, s, u, d;
492
492
  return {
493
493
  c() {
@@ -517,7 +517,7 @@ function je(i) {
517
517
  }
518
518
  };
519
519
  }
520
- function ze(i) {
520
+ function je(i) {
521
521
  let e, t, r, a, s, u, d;
522
522
  return {
523
523
  c() {
@@ -574,7 +574,7 @@ function ie(i) {
574
574
  t,
575
575
  /*shownDate*/
576
576
  u[10]
577
- ), r && _e(r.update) && d[0] & /*startdate*/
577
+ ), r && Se(r.update) && d[0] & /*startdate*/
578
578
  4 && r.update.call(
579
579
  null,
580
580
  /*startdate*/
@@ -596,10 +596,10 @@ function ae(i) {
596
596
  ), h, F, T, v, p, b, o, f = (
597
597
  /*$_*/
598
598
  i[15]("seegames") + ""
599
- ), j, N, M, I = (
599
+ ), z, N, M, I = (
600
600
  /*$_*/
601
601
  i[15]("here") + ""
602
- ), w, W, z, x;
602
+ ), w, W, j, O;
603
603
  return {
604
604
  c() {
605
605
  e = C("div"), t = C("p"), a = J(r), s = J(`:
@@ -611,7 +611,7 @@ function ae(i) {
611
611
  (`), h = J(c), F = D(), T = J(
612
612
  /*minbetcount*/
613
613
  i[5]
614
- ), v = J(")"), p = D(), b = C("div"), o = C("p"), j = J(f), N = D(), M = C("a"), w = J(I), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
614
+ ), v = J(")"), p = D(), b = C("div"), o = C("p"), z = J(f), N = D(), M = C("a"), w = J(I), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
615
615
  M,
616
616
  "href",
617
617
  /*gameurl*/
@@ -620,18 +620,18 @@ function ae(i) {
620
620
  i[8] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(b, "class", "Games"), m(b, "part", "Games");
621
621
  },
622
622
  m(k, y) {
623
- _(k, e, y), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, F), g(t, T), g(t, v), _(k, p, y), _(k, b, y), g(b, o), g(o, j), g(o, N), g(o, M), g(M, w), z || (x = [
623
+ _(k, e, y), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, F), g(t, T), g(t, v), _(k, p, y), _(k, b, y), g(b, o), g(o, z), g(o, N), g(o, M), g(M, w), j || (O = [
624
624
  E(
625
625
  /*matchScoreCriteria*/
626
626
  i[18].call(null, u)
627
627
  ),
628
- Ae(
628
+ Ce(
629
629
  M,
630
630
  "click",
631
631
  /*tournamentGamesClicked*/
632
632
  i[19]
633
633
  )
634
- ], z = !0);
634
+ ], j = !0);
635
635
  },
636
636
  p(k, y) {
637
637
  y[0] & /*$_*/
@@ -650,7 +650,7 @@ function ae(i) {
650
650
  k[5]
651
651
  ), y[0] & /*$_*/
652
652
  32768 && f !== (f = /*$_*/
653
- k[15]("seegames") + "") && R(j, f), y[0] & /*$_*/
653
+ k[15]("seegames") + "") && R(z, f), y[0] & /*$_*/
654
654
  32768 && I !== (I = /*$_*/
655
655
  k[15]("here") + "") && R(w, I), y[0] & /*gameurl*/
656
656
  128 && m(
@@ -663,7 +663,7 @@ function ae(i) {
663
663
  k[8] === "true" ? "_self" : "_blank") && m(M, "target", W);
664
664
  },
665
665
  d(k) {
666
- k && (A(e), A(p), A(b)), z = !1, Te(x);
666
+ k && (A(e), A(p), A(b)), j = !1, _e(O);
667
667
  }
668
668
  };
669
669
  }
@@ -700,12 +700,12 @@ function Ne(i) {
700
700
  function We(i, e, t) {
701
701
  let r;
702
702
  pe(i, Re, (n) => t(15, r = n));
703
- let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: F = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: v = "" } = e, { showenrolled: p = "false" } = e, { gameurl: b = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: M = "" } = e, { mbsource: I } = e, w, W = "", z = !1, x = "", k = "", y = "";
703
+ let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: F = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: v = "" } = e, { showenrolled: p = "false" } = e, { gameurl: b = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: M = "" } = e, { mbsource: I } = e, w, W = "", j = !1, O = "", k = "", y = "";
704
704
  De({ withLocale: "en", translations: {} });
705
705
  const re = () => {
706
706
  fetch(M).then((n) => n.json()).then((n) => {
707
- Object.keys(n).forEach((O) => {
708
- Y(O, n[O]);
707
+ Object.keys(n).forEach((x) => {
708
+ Y(x, n[x]);
709
709
  }), d && U();
710
710
  }).catch((n) => {
711
711
  console.log(n);
@@ -715,10 +715,10 @@ function We(i, e, t) {
715
715
  Y(n, Z[n]);
716
716
  });
717
717
  const q = (n) => {
718
- n.data && (n.data && n.data.type == "SessionID" && t(11, z = !0), n.data.type == `TournamentStatus_${c}` && t(0, l = n.data.status));
718
+ n.data && (n.data && n.data.type == "SessionID" && t(11, j = !0), n.data.type == `TournamentStatus_${c}` && t(0, l = n.data.status));
719
719
  }, B = () => {
720
720
  const n = { month: "long" };
721
- let O = new Date(d), oe = new Intl.DateTimeFormat("en", n).format(O), ue = O.getDate(), me = O.toLocaleString("en-GB", {
721
+ let x = new Date(d), oe = new Intl.DateTimeFormat("en", n).format(x), ue = x.getDate(), me = x.toLocaleString("en-GB", {
722
722
  hour: "numeric",
723
723
  minute: "numeric",
724
724
  hour12: !1
@@ -726,13 +726,13 @@ function We(i, e, t) {
726
726
  const de = () => r(l === "Running" ? "startedAt" : "startingAt");
727
727
  t(10, W = `${ue} ` + r(`${oe}`) + ", " + de() + ` ${me}`);
728
728
  }, P = () => {
729
- l == "Unstarted" && (t(12, x = r("scheduled")), t(14, y = "StatusUnstarted")), l == "Running" && (t(12, x = r("ongoing")), t(14, y = "StatusRunning")), (l == "Closed" || l == "Closing") && t(12, x = r("finished")), l == "Closed" && t(14, y = "StatusClosed"), l == "Closing" && t(14, y = "StatusClosing");
729
+ l == "Unstarted" && (t(12, O = r("scheduled")), t(14, y = "StatusUnstarted")), l == "Running" && (t(12, O = r("ongoing")), t(14, y = "StatusRunning")), (l == "Closed" || l == "Closing") && t(12, O = r("finished")), l == "Closed" && t(14, y = "StatusClosed"), l == "Closing" && t(14, y = "StatusClosing");
730
730
  }, G = () => {
731
731
  T == "BetCount" && t(13, k = r("betCount")), T == "MaxWinStakeRatio" && t(13, k = r("maxWinStakeRatio")), T == "WinStakeRatio" && t(13, k = r("winStakeRatio")), T == "Stake" && t(13, k = r("stake"));
732
732
  }, ne = () => {
733
733
  window.postMessage({ type: "tournamentGamesClicked", tourid: c }, window.location.href);
734
734
  }, se = () => {
735
- a.length > 0 && a != "false" ? t(11, z = !0) : t(11, z = !1);
735
+ a.length > 0 && a != "false" ? t(11, j = !0) : t(11, j = !1);
736
736
  };
737
737
  ke(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
738
738
  window.removeEventListener("message", q);
@@ -741,17 +741,17 @@ function We(i, e, t) {
741
741
  Ie(o), G(), P(), d && B();
742
742
  };
743
743
  function le(n) {
744
- ve[n ? "unshift" : "push"](() => {
744
+ Ae[n ? "unshift" : "push"](() => {
745
745
  w = n, t(9, w);
746
746
  });
747
747
  }
748
748
  return i.$$set = (n) => {
749
- "session" in n && t(20, a = n.session), "userid" in n && t(21, s = n.userid), "title" in n && t(1, u = n.title), "startdate" in n && t(2, d = n.startdate), "status" in n && t(0, l = n.status), "tourid" in n && t(22, c = n.tourid), "thumbnail" in n && t(3, h = n.thumbnail), "userenrolled" in n && t(4, F = n.userenrolled), "scorecriteria" in n && t(23, T = n.scorecriteria), "minbetcount" in n && t(5, v = n.minbetcount), "showenrolled" in n && t(6, p = n.showenrolled), "gameurl" in n && t(7, b = n.gameurl), "lang" in n && t(24, o = n.lang), "keepbrowsercontext" in n && t(8, f = n.keepbrowsercontext), "clientstyling" in n && t(25, j = n.clientstyling), "clientstylingurl" in n && t(26, N = n.clientstylingurl), "translationurl" in n && t(27, M = n.translationurl), "mbsource" in n && t(28, I = n.mbsource);
749
+ "session" in n && t(20, a = n.session), "userid" in n && t(21, s = n.userid), "title" in n && t(1, u = n.title), "startdate" in n && t(2, d = n.startdate), "status" in n && t(0, l = n.status), "tourid" in n && t(22, c = n.tourid), "thumbnail" in n && t(3, h = n.thumbnail), "userenrolled" in n && t(4, F = n.userenrolled), "scorecriteria" in n && t(23, T = n.scorecriteria), "minbetcount" in n && t(5, v = n.minbetcount), "showenrolled" in n && t(6, p = n.showenrolled), "gameurl" in n && t(7, b = n.gameurl), "lang" in n && t(24, o = n.lang), "keepbrowsercontext" in n && t(8, f = n.keepbrowsercontext), "clientstyling" in n && t(25, z = n.clientstyling), "clientstylingurl" in n && t(26, N = n.clientstylingurl), "translationurl" in n && t(27, M = n.translationurl), "mbsource" in n && t(28, I = n.mbsource);
750
750
  }, i.$$.update = () => {
751
751
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
752
- 33554944 && j && w && Me(w, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
753
- 67109376 && N && w && ye(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
754
- 268435968 && I && w && Se(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
752
+ 33554944 && z && w && Te(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
753
+ 67109376 && N && w && ve(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
754
+ 268435968 && I && w && Me(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
755
755
  134217728 && M && re(), i.$$.dirty[0] & /*session*/
756
756
  1048576 && a && se(), i.$$.dirty[0] & /*status*/
757
757
  1 && l && P(), i.$$.dirty[0] & /*title, lang*/
@@ -770,8 +770,8 @@ function We(i, e, t) {
770
770
  f,
771
771
  w,
772
772
  W,
773
- z,
774
- x,
773
+ j,
774
+ O,
775
775
  k,
776
776
  y,
777
777
  r,
@@ -784,14 +784,14 @@ function We(i, e, t) {
784
784
  c,
785
785
  T,
786
786
  o,
787
- j,
787
+ z,
788
788
  N,
789
789
  M,
790
790
  I,
791
791
  le
792
792
  ];
793
793
  }
794
- class xe extends ce {
794
+ class Oe extends ce {
795
795
  constructor(e) {
796
796
  super(), ge(
797
797
  this,
@@ -932,7 +932,7 @@ class xe extends ce {
932
932
  this.$$set({ mbsource: e }), S();
933
933
  }
934
934
  }
935
- be(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
935
+ be(Oe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
936
936
  export {
937
- xe as default
937
+ Oe as default
938
938
  };
@@ -14,8 +14,8 @@ var le = (r, e, t) => new Promise((n, i) => {
14
14
  }, c = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(o, a);
15
15
  c((t = t.apply(r, e)).next());
16
16
  });
17
- import { S as Ze, b as Qe, f as _, c as Ye, a as $e, d as et, p as y, e as S, x as l, q as h, h as p, u as k, n as Y, j as w, k as tt, o as nt, l as rt, m as it, C as ot, D as st, g as ue, E as lt, i as at, t as E, v as C, y as I, r as ut, w as D } from "./CasinoTournamentsDetails-CD1l412D.js";
18
- import { $ as ae, c as ft, a as ct, g as Ee, b as mt } from "./CasinoTournamentsPageController-BW0tQ9JT.js";
17
+ import { S as Ze, b as Qe, f as _, c as Ye, a as $e, d as et, l as y, e as S, v as l, m as h, h as p, p as k, n as Y, j as w, k as tt, o as nt, A as rt, B as it, C as ot, D as st, g as ue, E as lt, i as at, t as E, q as C, w as I, r as ut, u as D } from "./CasinoTournamentsDetails-_bdGpLvB.js";
18
+ import { $ as ae, c as ft, a as ct, g as Ee, b as mt } from "./CasinoTournamentsPageController-BihH-rXr.js";
19
19
  function dt({ withLocale: r, translations: e }) {
20
20
  ae.subscribe((t) => {
21
21
  t == null && (ft.set(e), ae.set(r));
@@ -129,7 +129,7 @@ if (typeof window != "undefined") {
129
129
  }
130
130
  };
131
131
  };
132
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-CgxNqGtr.js").then(({ default: e }) => {
132
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-Dfy_8oZr.js").then(({ default: e }) => {
133
133
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
134
134
  });
135
135
  }
@@ -145,7 +145,7 @@ if (typeof window != "undefined") {
145
145
  }
146
146
  };
147
147
  };
148
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-CUcihq_K.js").then(({ default: e }) => {
148
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-CB6Ea1L4.js").then(({ default: e }) => {
149
149
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
150
150
  "casino-tournaments-thumbnail-duration",
151
151
  e.element
@@ -164,7 +164,7 @@ if (typeof window != "undefined") {
164
164
  }
165
165
  };
166
166
  };
167
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-Dfvs586O.js").then(({ default: e }) => {
167
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DvIC11GI.js").then(({ default: e }) => {
168
168
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
169
169
  });
170
170
  }
@@ -180,7 +180,7 @@ if (typeof window != "undefined") {
180
180
  }
181
181
  };
182
182
  };
183
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-B1CuvY9F.js").then(
183
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BudjLijL.js").then(
184
184
  ({ default: e }) => {
185
185
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
186
186
  "casino-tournaments-thumbnail-games-slider",
@@ -216,7 +216,7 @@ function pt(r) {
216
216
  let d = c(r), g = d && d(r), m = (
217
217
  /*errorJoin*/
218
218
  (r[18] || /*errorJoinConcurrently*/
219
- r[20]) && Ae(r)
219
+ r[20]) && Me(r)
220
220
  ), f = (
221
221
  /*showslider*/
222
222
  r[4] == "true" && xe(r)
@@ -232,7 +232,7 @@ function pt(r) {
232
232
  /*isLoggedIn*/
233
233
  u[15] ? a ? a.p(u, T) : (a = De(u), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), d === (d = c(u)) && g ? g.p(u, T) : (g && g.d(1), g = d && d(u), g && (g.c(), g.m(t, null))), /*errorJoin*/
234
234
  u[18] || /*errorJoinConcurrently*/
235
- u[20] ? m ? m.p(u, T) : (m = Ae(u), m.c(), m.m(i.parentNode, i)) : m && (m.d(1), m = null), /*showslider*/
235
+ u[20] ? m ? m.p(u, T) : (m = Me(u), m.c(), m.m(i.parentNode, i)) : m && (m.d(1), m = null), /*showslider*/
236
236
  u[4] == "true" ? f ? f.p(u, T) : (f = xe(u), f.c(), f.m(o.parentNode, o)) : f && (f.d(1), f = null);
237
237
  },
238
238
  d(u) {
@@ -610,7 +610,7 @@ function yt(r) {
610
610
  function Tt(r) {
611
611
  let e, t = (
612
612
  /*showdetails*/
613
- r[3] == "true" && Me(r)
613
+ r[3] == "true" && Ae(r)
614
614
  );
615
615
  return {
616
616
  c() {
@@ -621,7 +621,7 @@ function Tt(r) {
621
621
  },
622
622
  p(n, i) {
623
623
  /*showdetails*/
624
- n[3] == "true" ? t ? t.p(n, i) : (t = Me(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
624
+ n[3] == "true" ? t ? t.p(n, i) : (t = Ae(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
625
625
  },
626
626
  d(n) {
627
627
  n && w(e), t && t.d(n);
@@ -665,7 +665,7 @@ function vt(r) {
665
665
  }
666
666
  };
667
667
  }
668
- function Me(r) {
668
+ function Ae(r) {
669
669
  let e, t = (
670
670
  /*$_*/
671
671
  r[33]("enrolled") + ""
@@ -687,7 +687,7 @@ function Me(r) {
687
687
  }
688
688
  };
689
689
  }
690
- function Ae(r) {
690
+ function Me(r) {
691
691
  let e, t = (
692
692
  /*$_*/
693
693
  r[33]("joinerror") + ""
@@ -1066,7 +1066,7 @@ function zt(r) {
1066
1066
  function St(r, e, t) {
1067
1067
  let n;
1068
1068
  tt(r, mt, (s) => t(33, n = s));
1069
- let { session: i = "" } = e, { userid: o = "" } = e, { tournamenturl: a = "" } = e, { touridx: c } = e, { endpoint: d = "" } = e, { showdetails: g = "" } = e, { showslider: m = "" } = e, { showenrolled: f = "" } = e, { maxwidth: u = "" } = e, { fullsize: T = "" } = e, { lang: j = "" } = e, { loginevent: O = "" } = e, { registerevent: R = "" } = e, { loginurl: J = "" } = e, { registerurl: N = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: fe = "false" } = e, { clientstyling: U = "" } = e, { clientstylingurl: H = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: G } = e, { mbsource: W } = e, B, P = !1, K = "", M = !0, ce = window.navigator.userAgent, X = !1, V = !1, me = "There was an error while trying to join the tournament", ee = !1, te, de, ge, A, z, he, ne, pe, we, be = [], re = [], _e = "#", Z = !1;
1069
+ let { session: i = "" } = e, { userid: o = "" } = e, { tournamenturl: a = "" } = e, { touridx: c } = e, { endpoint: d = "" } = e, { showdetails: g = "" } = e, { showslider: m = "" } = e, { showenrolled: f = "" } = e, { maxwidth: u = "" } = e, { fullsize: T = "" } = e, { lang: j = "" } = e, { loginevent: O = "" } = e, { registerevent: R = "" } = e, { loginurl: J = "" } = e, { registerurl: N = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: fe = "false" } = e, { clientstyling: U = "" } = e, { clientstylingurl: H = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: G } = e, { mbsource: W } = e, B, P = !1, K = "", A = !0, ce = window.navigator.userAgent, X = !1, V = !1, me = "There was an error while trying to join the tournament", ee = !1, te, de, ge, M, z, he, ne, pe, we, be = [], re = [], _e = "#", Z = !1;
1070
1070
  dt({ withLocale: "en", translations: {} });
1071
1071
  const Oe = () => {
1072
1072
  fetch(q).then((b) => b.json()).then((b) => {
@@ -1104,10 +1104,10 @@ function St(r, e, t) {
1104
1104
  );
1105
1105
  }
1106
1106
  }, Re = (s) => {
1107
- s.state != A && (t(24, A = s.state), window.postMessage(
1107
+ s.state != M && (t(24, M = s.state), window.postMessage(
1108
1108
  {
1109
1109
  type: `TournamentStatus_${z}`,
1110
- status: A
1110
+ status: M
1111
1111
  },
1112
1112
  window.location.href
1113
1113
  ));
@@ -1185,14 +1185,14 @@ function St(r, e, t) {
1185
1185
  window.location.href
1186
1186
  );
1187
1187
  }, oe = (s) => {
1188
- s && (t(21, te = s.nameOrTitle || ""), t(22, de = s.startTime), t(23, ge = s.endTime), t(24, A = s.state), t(25, z = s.id), t(26, he = s.thumbnail), t(27, ne = s.playerEnrolled === "true" || s.playerEnrolled == !0 || !1), t(28, pe = s.scoreCriteria), t(29, we = s.minBetCount), be = s.prizes, t(30, re = s.wallets || []), t(31, _e = s.termsUrl || "#"));
1188
+ s && (t(21, te = s.nameOrTitle || ""), t(22, de = s.startTime), t(23, ge = s.endTime), t(24, M = s.state), t(25, z = s.id), t(26, he = s.thumbnail), t(27, ne = s.playerEnrolled === "true" || s.playerEnrolled == !0 || !1), t(28, pe = s.scoreCriteria), t(29, we = s.minBetCount), be = s.prizes, t(30, re = s.wallets || []), t(31, _e = s.termsUrl || "#"));
1189
1189
  }, Je = (s) => {
1190
- t(16, M = !0);
1190
+ t(16, A = !0);
1191
1191
  let b = new URL(s), v = new Headers();
1192
1192
  b.searchParams.append("language", j), b.searchParams.append("platform", Ee(ce)), P && v.append("X-SessionID", K), fetch(b, { method: "GET", headers: v }).then((L) => L.json()).then((L) => {
1193
1193
  oe(L.item);
1194
1194
  }).finally(() => {
1195
- t(16, M = !1);
1195
+ t(16, A = !1);
1196
1196
  });
1197
1197
  }, Ne = () => {
1198
1198
  t(15, P = (i == null ? void 0 : i.length) > 10), P && (K = i);
@@ -1201,14 +1201,14 @@ function St(r, e, t) {
1201
1201
  oe(G);
1202
1202
  return;
1203
1203
  }
1204
- t(16, M = !0), Je(a);
1204
+ t(16, A = !0), Je(a);
1205
1205
  };
1206
- nt(() => (t(16, M = !te), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ye, !1), () => {
1206
+ nt(() => (t(16, A = !te), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ye, !1), () => {
1207
1207
  window.removeEventListener("message", ye);
1208
1208
  }));
1209
1209
  const He = () => Te(), qe = () => Fe(), Ge = () => ie(z), We = () => ve(z, re), Ke = () => ie(z);
1210
1210
  function Xe(s) {
1211
- ot[s ? "unshift" : "push"](() => {
1211
+ rt[s ? "unshift" : "push"](() => {
1212
1212
  B = s, t(14, B);
1213
1213
  });
1214
1214
  }
@@ -1220,9 +1220,9 @@ function St(r, e, t) {
1220
1220
  4096 && q && Oe(), r.$$.dirty[0] & /*session*/
1221
1221
  1 && i && Ne(), r.$$.dirty[0] & /*tournamenturl, lang*/
1222
1222
  260 && a && j && Ue(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1223
- 17408 && U && B && st(B, U), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1224
- 18432 && H && B && rt(B, H), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1225
- 24576 && W && B && it(B, `${W}.Style`);
1223
+ 17408 && U && B && it(B, U), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1224
+ 18432 && H && B && ot(B, H), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1225
+ 24576 && W && B && st(B, `${W}.Style`);
1226
1226
  }, [
1227
1227
  i,
1228
1228
  o,
@@ -1240,7 +1240,7 @@ function St(r, e, t) {
1240
1240
  W,
1241
1241
  B,
1242
1242
  P,
1243
- M,
1243
+ A,
1244
1244
  X,
1245
1245
  V,
1246
1246
  me,
@@ -1248,7 +1248,7 @@ function St(r, e, t) {
1248
1248
  te,
1249
1249
  de,
1250
1250
  ge,
1251
- A,
1251
+ M,
1252
1252
  z,
1253
1253
  he,
1254
1254
  ne,