@everymatrix/casino-tournaments-list-controller 1.71.0 → 1.72.0

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 (51) hide show
  1. package/components/CasinoTournamentsListController-B1XzpG4J.cjs +15 -0
  2. package/components/{CasinoTournamentsListController-CNr53zQh.js → CasinoTournamentsListController-BCnAtVmn.js} +1030 -1062
  3. package/components/{CasinoTournamentsListController-B91Lyqax.js → CasinoTournamentsListController-D3MaGDVN.js} +1627 -1659
  4. package/components/{CasinoTournamentsThumbnail-siUGtR0g.cjs → CasinoTournamentsThumbnail-BRGkoFoC.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnail-dZ1sm6ym.js → CasinoTournamentsThumbnail-B_xXwN02.js} +34 -34
  6. package/components/{CasinoTournamentsThumbnail-DJR17vOA.js → CasinoTournamentsThumbnail-COVVmhez.js} +34 -34
  7. package/components/{CasinoTournamentsThumbnailController-By0nIi_-.js → CasinoTournamentsThumbnailController-BDILw0kU.js} +612 -580
  8. package/components/CasinoTournamentsThumbnailController-DPkY8Pvh.cjs +16 -0
  9. package/components/{CasinoTournamentsThumbnailController-DClFnhM2.js → CasinoTournamentsThumbnailController-DsFja4VF.js} +626 -560
  10. package/components/{CasinoTournamentsThumbnailDuration-DNm3kZA6.js → CasinoTournamentsThumbnailDuration-Ci2doxnu.js} +55 -55
  11. package/components/{CasinoTournamentsThumbnailDuration-DY7DHyLw.cjs → CasinoTournamentsThumbnailDuration-pMXg-yuf.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-Dknze1IO.js → CasinoTournamentsThumbnailDuration-uSfT4bb8.js} +55 -55
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-D_kUDgO5.cjs → CasinoTournamentsThumbnailGamesSlider--fmvMYlS.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-D45WQ2Dp.js → CasinoTournamentsThumbnailGamesSlider-CmRGgGUe.js} +57 -57
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-Cawyju7x.js → CasinoTournamentsThumbnailGamesSlider-nITF-3nk.js} +57 -57
  16. package/components/{CasinoTournamentsThumbnailPrizes-7u2QNaQE.js → CasinoTournamentsThumbnailPrizes-BSH-8Cm5.js} +66 -66
  17. package/components/{CasinoTournamentsThumbnailPrizes-2H2CQrq-.cjs → CasinoTournamentsThumbnailPrizes-CEAzqLRh.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailPrizes-BcFwjh1i.js → CasinoTournamentsThumbnailPrizes-D6rXEjM4.js} +66 -66
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  24. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  25. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  26. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  27. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  28. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  29. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  30. package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
  31. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  35. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
  36. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  37. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
  38. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  39. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  40. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  41. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  42. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  43. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-Xh8cK8m7.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-D0OPXphy.cjs +0 -3
  46. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  47. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  48. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  49. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  50. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  51. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-Xh8cK8m7.cjs");require("../stencil/ui-skeleton-Caiy-FEL.cjs");require("../stencil/ui-image-CDCn_LHy.cjs");function ee({withLocale:a,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function N(a,t){e.addMessages(a,t)}function te(a){e.$locale.set(a)}const O={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 ie(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 W(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 L(a){let t,i,r,n,l,d,m,o,c=a[0]&&E(a),h=a[6]=="true"&&P(a);function T(u,f){return u[3]?ne:ae}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=E(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=P(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 E(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 P(a){let t,i=a[4]&&B(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=B(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 B(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 ae(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 ne(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("./CasinoTournamentsListController-B1XzpG4J.cjs");require("../stencil/ui-skeleton-B0BB970e.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function ee({withLocale:a,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function N(a,t){e.addMessages(a,t)}function te(a){e.$locale.set(a)}const O={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 ie(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 W(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 L(a){let t,i,r,n,l,d,m,o,c=a[0]&&E(a),h=a[6]=="true"&&P(a);function T(u,f){return u[3]?ne:ae}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=E(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=P(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 E(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 P(a){let t,i=a[4]&&B(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=B(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 B(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 ae(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 ne(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 re(a){let t,i,r,n=a[1]==="undefined"&&W(),l=a[1]!=="undefined"&&L(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=W(),n.c(),n.m(t,i)):n&&(n.d(1),n=null),d[1]!=="undefined"?l?l.p(d,m):(l=L(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 se(a,t,i){let r;e.component_subscribe(a,e.$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="",_="";ee({withLocale:"en",translations:{}});const K=()=>{fetch(S).then(s=>s.json()).then(s=>{Object.keys(s).forEach(D=>{N(D,s[D])}),m&&j()}).catch(s=>{console.log(s)})};Object.keys(O).forEach(s=>{N(s,O[s])});const z=s=>{s.data&&(s.data&&s.data.type=="SessionID"&&i(11,M=!0),s.data.type==`TournamentStatus_${c}`&&i(0,o=s.data.status))},I=()=>{const s={month:"long"};let D=new Date(m),Z=new Intl.DateTimeFormat("en",s).format(D),Q=D.getDate(),X=D.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const $=()=>r(o==="Running"?"startedAt":"startingAt");i(10,J=`${Q} `+r(`${Z}`)+", "+$()+` ${X}`)},x=()=>{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")},F=()=>{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"))},V=()=>{window.postMessage({type:"tournamentGamesClicked",tourid:c},window.location.href)},H=()=>{n.length>0&&n!="false"?i(11,M=!0):i(11,M=!1)};e.onMount(()=>(setTimeout(()=>j(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const j=()=>{te(u),F(),x(),m&&I()};function Y(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&&K(),a.$$.dirty[0]&1048576&&n&&H(),a.$$.dirty[0]&1&&o&&x(),a.$$.dirty[0]&16777218&&d&&u&&j(),a.$$.dirty[0]&4&&m&&I(),a.$$.dirty[0]&8388608&&k&&F()},[o,d,m,h,T,y,b,g,f,C,J,M,R,p,_,r,I,x,F,V,n,l,c,k,u,v,w,S,A,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,re,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},ie,[-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(q,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
@@ -1,6 +1,6 @@
1
- import { $ as K, a as ce, b as ge, S as be, i as fe, f as S, c as he, s as pe, d as ke, e as C, g as D, h as m, j as _, k as g, n as H, l as A, m as ye, o as Se, p as Ce, q as _e, t as J, r as R, u as E, v as Ae, w as Te, x as ve, y as Me, z as we, A as Je, B as V, C as L, D as Re } from "./CasinoTournamentsListController-B91Lyqax.js";
2
- import "../stencil/ui-skeleton-C73UqtBQ.js";
3
- import "../stencil/ui-image-CNrnXPP3.js";
1
+ import { $ as K, a as ce, b as ge, S as be, i as fe, s as he, f as S, c as pe, n as H, d as _, e as m, g as A, h as g, j as C, k as D, l as ke, o as ye, m as R, t as J, p as Se, q as E, r as Ce, u as _e, v as Ae, w as V, x as L, y as Te, z as ve, A as Me, B as we, C as Je, D as Re } from "./CasinoTournamentsListController-BCnAtVmn.js";
2
+ import "../stencil/ui-skeleton-D8L-WY77.js";
3
+ import "../stencil/ui-image-DgbODkuX.js";
4
4
  function De({ withLocale: i, translations: e }) {
5
5
  K.subscribe((t) => {
6
6
  t == null && (ce.set(e), K.set(i));
@@ -345,7 +345,7 @@ const Z = {
345
345
  }
346
346
  };
347
347
  function Fe(i) {
348
- ke(i, "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}');
348
+ pe(i, "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}');
349
349
  }
350
350
  function Q(i) {
351
351
  let e, t, r;
@@ -354,10 +354,10 @@ function Q(i) {
354
354
  e = C("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = D(), r = C("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>', m(e, "class", "Skeleton CardImg"), m(r, "class", "Details"), m(r, "part", "Details");
355
355
  },
356
356
  m(a, s) {
357
- _(a, e, s), _(a, t, s), _(a, r, s);
357
+ A(a, e, s), A(a, t, s), A(a, r, s);
358
358
  },
359
359
  d(a) {
360
- a && (A(e), A(t), A(r));
360
+ a && (_(e), _(t), _(r));
361
361
  }
362
362
  };
363
363
  }
@@ -390,7 +390,7 @@ function X(i) {
390
390
  ), d = D(), p && p.c(), l = D(), b && b.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
391
391
  },
392
392
  m(o, f) {
393
- c && c.m(o, f), _(o, e, f), h && h.m(o, f), _(o, t, f), v.m(o, f), _(o, r, f), _(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
393
+ c && c.m(o, f), A(o, e, f), h && h.m(o, f), A(o, t, f), v.m(o, f), A(o, r, f), A(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
394
394
  },
395
395
  p(o, f) {
396
396
  /*status*/
@@ -405,7 +405,7 @@ function X(i) {
405
405
  o[11] ? b ? b.p(o, f) : (b = ae(o), b.c(), b.m(a, null)) : b && (b.d(1), b = null);
406
406
  },
407
407
  d(o) {
408
- o && (A(e), A(t), A(r), A(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
408
+ o && (_(e), _(t), _(r), _(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
409
409
  }
410
410
  };
411
411
  }
@@ -421,7 +421,7 @@ function $(i) {
421
421
  i[14]);
422
422
  },
423
423
  m(d, l) {
424
- _(d, e, l), g(e, t), s || (u = E(
424
+ A(d, e, l), g(e, t), s || (u = E(
425
425
  /*matchStatus*/
426
426
  i[17].call(null, e)
427
427
  ), s = !0);
@@ -439,7 +439,7 @@ function $(i) {
439
439
  d[14]) && m(e, "part", a);
440
440
  },
441
441
  d(d) {
442
- d && A(e), s = !1, u();
442
+ d && _(e), s = !1, u();
443
443
  }
444
444
  };
445
445
  }
@@ -450,17 +450,17 @@ function ee(i) {
450
450
  );
451
451
  return {
452
452
  c() {
453
- t && t.c(), e = Ae();
453
+ t && t.c(), e = Ce();
454
454
  },
455
455
  m(r, a) {
456
- t && t.m(r, a), _(r, e, a);
456
+ t && t.m(r, a), A(r, e, a);
457
457
  },
458
458
  p(r, a) {
459
459
  /*userenrolled*/
460
460
  r[4] ? t ? t.p(r, a) : (t = te(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
461
461
  },
462
462
  d(r) {
463
- r && A(e), t && t.d(r);
463
+ r && _(e), t && t.d(r);
464
464
  }
465
465
  };
466
466
  }
@@ -474,7 +474,7 @@ function te(i) {
474
474
  e = C("div"), r = J(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
475
475
  },
476
476
  m(a, s) {
477
- _(a, e, s), g(e, r);
477
+ A(a, e, s), g(e, r);
478
478
  },
479
479
  p(a, s) {
480
480
  s[0] & /*$_*/
@@ -482,7 +482,7 @@ function te(i) {
482
482
  a[15]("enrolled") + "") && R(r, t);
483
483
  },
484
484
  d(a) {
485
- a && A(e);
485
+ a && _(e);
486
486
  }
487
487
  };
488
488
  }
@@ -497,7 +497,7 @@ function ze(i) {
497
497
  i[0] == "Closed" ? "CardImgFinished" : ""));
498
498
  },
499
499
  m(l, c) {
500
- _(l, e, c), g(e, t), u || (d = E(
500
+ A(l, e, c), g(e, t), u || (d = E(
501
501
  /*matchStatus*/
502
502
  i[17].call(null, e)
503
503
  ), u = !0);
@@ -512,7 +512,7 @@ function ze(i) {
512
512
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
513
513
  },
514
514
  d(l) {
515
- l && A(e), u = !1, d();
515
+ l && _(e), u = !1, d();
516
516
  }
517
517
  };
518
518
  }
@@ -528,7 +528,7 @@ function je(i) {
528
528
  i[0] == "Closed" ? "CardImgFinished" : ""));
529
529
  },
530
530
  m(l, c) {
531
- _(l, e, c), g(e, t), u || (d = E(
531
+ A(l, e, c), g(e, t), u || (d = E(
532
532
  /*matchStatus*/
533
533
  i[17].call(null, e)
534
534
  ), u = !0);
@@ -545,7 +545,7 @@ function je(i) {
545
545
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
546
546
  },
547
547
  d(l) {
548
- l && A(e), u = !1, d();
548
+ l && _(e), u = !1, d();
549
549
  }
550
550
  };
551
551
  }
@@ -559,7 +559,7 @@ function ie(i) {
559
559
  ), m(e, "class", "Date"), m(e, "part", "Date");
560
560
  },
561
561
  m(u, d) {
562
- _(u, e, d), g(e, t), a || (s = E(r = /*formatDate*/
562
+ A(u, e, d), g(e, t), a || (s = E(r = /*formatDate*/
563
563
  i[16].call(
564
564
  null,
565
565
  e,
@@ -581,7 +581,7 @@ function ie(i) {
581
581
  );
582
582
  },
583
583
  d(u) {
584
- u && A(e), a = !1, s();
584
+ u && _(e), a = !1, s();
585
585
  }
586
586
  };
587
587
  }
@@ -619,12 +619,12 @@ function ae(i) {
619
619
  i[8] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(b, "class", "Games"), m(b, "part", "Games");
620
620
  },
621
621
  m(k, y) {
622
- _(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 || (x = [
622
+ A(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), A(k, p, y), A(k, b, y), g(b, o), g(o, z), g(o, N), g(o, M), g(M, w), j || (x = [
623
623
  E(
624
624
  /*matchScoreCriteria*/
625
625
  i[18].call(null, u)
626
626
  ),
627
- ve(
627
+ Ae(
628
628
  M,
629
629
  "click",
630
630
  /*tournamentGamesClicked*/
@@ -662,7 +662,7 @@ function ae(i) {
662
662
  k[8] === "true" ? "_self" : "_blank") && m(M, "target", W);
663
663
  },
664
664
  d(k) {
665
- k && (A(e), A(p), A(b)), j = !1, Me(x);
665
+ k && (_(e), _(p), _(b)), j = !1, _e(x);
666
666
  }
667
667
  };
668
668
  }
@@ -680,7 +680,7 @@ function Ne(i) {
680
680
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
681
681
  },
682
682
  m(u, d) {
683
- _(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
683
+ A(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
684
684
  },
685
685
  p(u, d) {
686
686
  /*title*/
@@ -692,13 +692,13 @@ function Ne(i) {
692
692
  i: H,
693
693
  o: H,
694
694
  d(u) {
695
- u && A(e), a && a.d(), s && s.d(), i[29](null);
695
+ u && _(e), a && a.d(), s && s.d(), i[29](null);
696
696
  }
697
697
  };
698
698
  }
699
699
  function We(i, e, t) {
700
700
  let r;
701
- ye(i, Re, (n) => t(15, r = n));
701
+ ke(i, Re, (n) => t(15, r = n));
702
702
  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, x = "", k = "", y = "";
703
703
  De({ withLocale: "en", translations: {} });
704
704
  const re = () => {
@@ -733,14 +733,14 @@ function We(i, e, t) {
733
733
  }, se = () => {
734
734
  a.length > 0 && a != "false" ? t(11, j = !0) : t(11, j = !1);
735
735
  };
736
- Se(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
736
+ ye(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
737
737
  window.removeEventListener("message", q);
738
738
  }));
739
739
  const U = () => {
740
740
  Ie(o), G(), P(), d && B();
741
741
  };
742
742
  function le(n) {
743
- we[n ? "unshift" : "push"](() => {
743
+ Se[n ? "unshift" : "push"](() => {
744
744
  w = n, t(9, w);
745
745
  });
746
746
  }
@@ -748,9 +748,9 @@ function We(i, e, t) {
748
748
  "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);
749
749
  }, i.$$.update = () => {
750
750
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
751
- 33554944 && z && w && Je(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
752
- 67109376 && N && w && Ce(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
753
- 268435968 && I && w && _e(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
751
+ 33554944 && z && w && ve(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
752
+ 67109376 && N && w && Me(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
753
+ 268435968 && I && w && we(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
754
754
  134217728 && M && re(), i.$$.dirty[0] & /*session*/
755
755
  1048576 && a && se(), i.$$.dirty[0] & /*status*/
756
756
  1 && l && P(), i.$$.dirty[0] & /*title, lang*/
@@ -797,7 +797,7 @@ class xe extends be {
797
797
  e,
798
798
  We,
799
799
  Ne,
800
- pe,
800
+ he,
801
801
  {
802
802
  session: 20,
803
803
  userid: 21,
@@ -931,7 +931,7 @@ class xe extends be {
931
931
  this.$$set({ mbsource: e }), S();
932
932
  }
933
933
  }
934
- he(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
934
+ Je(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
935
935
  export {
936
936
  xe as default
937
937
  };
@@ -1,6 +1,6 @@
1
- import { $ as K, a as ce, b as ge, S as be, i as fe, f as S, c as he, s as pe, d as ke, e as C, g as D, h as m, j as _, k as g, n as H, l as A, m as ye, o as Se, p as Ce, q as _e, t as J, r as R, u as E, v as Ae, w as Te, x as ve, y as Me, z as we, A as Je, B as V, C as L, D as Re } from "./CasinoTournamentsListController-CNr53zQh.js";
2
- import "../stencil/ui-skeleton-CzV3R1-p.js";
3
- import "../stencil/ui-image-CDGN3Ekj.js";
1
+ import { $ as K, a as ce, b as ge, S as be, i as fe, s as he, f as S, c as pe, n as H, d as _, e as m, g as A, h as g, j as C, k as D, l as ke, o as ye, m as R, t as J, p as Se, q as E, r as Ce, u as _e, v as Ae, w as V, x as L, y as Te, z as ve, A as Me, B as we, C as Je, D as Re } from "./CasinoTournamentsListController-D3MaGDVN.js";
2
+ import "../stencil/ui-skeleton-DSebcnN1.js";
3
+ import "../stencil/ui-image-CXqPvnQ2.js";
4
4
  function De({ withLocale: i, translations: e }) {
5
5
  K.subscribe((t) => {
6
6
  t == null && (ce.set(e), K.set(i));
@@ -345,7 +345,7 @@ const Z = {
345
345
  }
346
346
  };
347
347
  function Fe(i) {
348
- ke(i, "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}');
348
+ pe(i, "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}');
349
349
  }
350
350
  function Q(i) {
351
351
  let e, t, r;
@@ -354,10 +354,10 @@ function Q(i) {
354
354
  e = C("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = D(), r = C("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>', m(e, "class", "Skeleton CardImg"), m(r, "class", "Details"), m(r, "part", "Details");
355
355
  },
356
356
  m(a, s) {
357
- _(a, e, s), _(a, t, s), _(a, r, s);
357
+ A(a, e, s), A(a, t, s), A(a, r, s);
358
358
  },
359
359
  d(a) {
360
- a && (A(e), A(t), A(r));
360
+ a && (_(e), _(t), _(r));
361
361
  }
362
362
  };
363
363
  }
@@ -390,7 +390,7 @@ function X(i) {
390
390
  ), d = D(), p && p.c(), l = D(), b && b.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
391
391
  },
392
392
  m(o, f) {
393
- c && c.m(o, f), _(o, e, f), h && h.m(o, f), _(o, t, f), v.m(o, f), _(o, r, f), _(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
393
+ c && c.m(o, f), A(o, e, f), h && h.m(o, f), A(o, t, f), v.m(o, f), A(o, r, f), A(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
394
394
  },
395
395
  p(o, f) {
396
396
  /*status*/
@@ -405,7 +405,7 @@ function X(i) {
405
405
  o[11] ? b ? b.p(o, f) : (b = ae(o), b.c(), b.m(a, null)) : b && (b.d(1), b = null);
406
406
  },
407
407
  d(o) {
408
- o && (A(e), A(t), A(r), A(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
408
+ o && (_(e), _(t), _(r), _(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
409
409
  }
410
410
  };
411
411
  }
@@ -421,7 +421,7 @@ function $(i) {
421
421
  i[14]);
422
422
  },
423
423
  m(d, l) {
424
- _(d, e, l), g(e, t), s || (u = E(
424
+ A(d, e, l), g(e, t), s || (u = E(
425
425
  /*matchStatus*/
426
426
  i[17].call(null, e)
427
427
  ), s = !0);
@@ -439,7 +439,7 @@ function $(i) {
439
439
  d[14]) && m(e, "part", a);
440
440
  },
441
441
  d(d) {
442
- d && A(e), s = !1, u();
442
+ d && _(e), s = !1, u();
443
443
  }
444
444
  };
445
445
  }
@@ -450,17 +450,17 @@ function ee(i) {
450
450
  );
451
451
  return {
452
452
  c() {
453
- t && t.c(), e = Ae();
453
+ t && t.c(), e = Ce();
454
454
  },
455
455
  m(r, a) {
456
- t && t.m(r, a), _(r, e, a);
456
+ t && t.m(r, a), A(r, e, a);
457
457
  },
458
458
  p(r, a) {
459
459
  /*userenrolled*/
460
460
  r[4] ? t ? t.p(r, a) : (t = te(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
461
461
  },
462
462
  d(r) {
463
- r && A(e), t && t.d(r);
463
+ r && _(e), t && t.d(r);
464
464
  }
465
465
  };
466
466
  }
@@ -474,7 +474,7 @@ function te(i) {
474
474
  e = C("div"), r = J(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
475
475
  },
476
476
  m(a, s) {
477
- _(a, e, s), g(e, r);
477
+ A(a, e, s), g(e, r);
478
478
  },
479
479
  p(a, s) {
480
480
  s[0] & /*$_*/
@@ -482,7 +482,7 @@ function te(i) {
482
482
  a[15]("enrolled") + "") && R(r, t);
483
483
  },
484
484
  d(a) {
485
- a && A(e);
485
+ a && _(e);
486
486
  }
487
487
  };
488
488
  }
@@ -497,7 +497,7 @@ function ze(i) {
497
497
  i[0] == "Closed" ? "CardImgFinished" : ""));
498
498
  },
499
499
  m(l, c) {
500
- _(l, e, c), g(e, t), u || (d = E(
500
+ A(l, e, c), g(e, t), u || (d = E(
501
501
  /*matchStatus*/
502
502
  i[17].call(null, e)
503
503
  ), u = !0);
@@ -512,7 +512,7 @@ function ze(i) {
512
512
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
513
513
  },
514
514
  d(l) {
515
- l && A(e), u = !1, d();
515
+ l && _(e), u = !1, d();
516
516
  }
517
517
  };
518
518
  }
@@ -528,7 +528,7 @@ function je(i) {
528
528
  i[0] == "Closed" ? "CardImgFinished" : ""));
529
529
  },
530
530
  m(l, c) {
531
- _(l, e, c), g(e, t), u || (d = E(
531
+ A(l, e, c), g(e, t), u || (d = E(
532
532
  /*matchStatus*/
533
533
  i[17].call(null, e)
534
534
  ), u = !0);
@@ -545,7 +545,7 @@ function je(i) {
545
545
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
546
546
  },
547
547
  d(l) {
548
- l && A(e), u = !1, d();
548
+ l && _(e), u = !1, d();
549
549
  }
550
550
  };
551
551
  }
@@ -559,7 +559,7 @@ function ie(i) {
559
559
  ), m(e, "class", "Date"), m(e, "part", "Date");
560
560
  },
561
561
  m(u, d) {
562
- _(u, e, d), g(e, t), a || (s = E(r = /*formatDate*/
562
+ A(u, e, d), g(e, t), a || (s = E(r = /*formatDate*/
563
563
  i[16].call(
564
564
  null,
565
565
  e,
@@ -581,7 +581,7 @@ function ie(i) {
581
581
  );
582
582
  },
583
583
  d(u) {
584
- u && A(e), a = !1, s();
584
+ u && _(e), a = !1, s();
585
585
  }
586
586
  };
587
587
  }
@@ -619,12 +619,12 @@ function ae(i) {
619
619
  i[8] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(b, "class", "Games"), m(b, "part", "Games");
620
620
  },
621
621
  m(k, y) {
622
- _(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 || (x = [
622
+ A(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), A(k, p, y), A(k, b, y), g(b, o), g(o, z), g(o, N), g(o, M), g(M, w), j || (x = [
623
623
  E(
624
624
  /*matchScoreCriteria*/
625
625
  i[18].call(null, u)
626
626
  ),
627
- ve(
627
+ Ae(
628
628
  M,
629
629
  "click",
630
630
  /*tournamentGamesClicked*/
@@ -662,7 +662,7 @@ function ae(i) {
662
662
  k[8] === "true" ? "_self" : "_blank") && m(M, "target", W);
663
663
  },
664
664
  d(k) {
665
- k && (A(e), A(p), A(b)), j = !1, Me(x);
665
+ k && (_(e), _(p), _(b)), j = !1, _e(x);
666
666
  }
667
667
  };
668
668
  }
@@ -680,7 +680,7 @@ function Ne(i) {
680
680
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
681
681
  },
682
682
  m(u, d) {
683
- _(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
683
+ A(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
684
684
  },
685
685
  p(u, d) {
686
686
  /*title*/
@@ -692,13 +692,13 @@ function Ne(i) {
692
692
  i: H,
693
693
  o: H,
694
694
  d(u) {
695
- u && A(e), a && a.d(), s && s.d(), i[29](null);
695
+ u && _(e), a && a.d(), s && s.d(), i[29](null);
696
696
  }
697
697
  };
698
698
  }
699
699
  function We(i, e, t) {
700
700
  let r;
701
- ye(i, Re, (n) => t(15, r = n));
701
+ ke(i, Re, (n) => t(15, r = n));
702
702
  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, x = "", k = "", y = "";
703
703
  De({ withLocale: "en", translations: {} });
704
704
  const re = () => {
@@ -733,14 +733,14 @@ function We(i, e, t) {
733
733
  }, se = () => {
734
734
  a.length > 0 && a != "false" ? t(11, j = !0) : t(11, j = !1);
735
735
  };
736
- Se(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
736
+ ye(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
737
737
  window.removeEventListener("message", q);
738
738
  }));
739
739
  const U = () => {
740
740
  Ie(o), G(), P(), d && B();
741
741
  };
742
742
  function le(n) {
743
- we[n ? "unshift" : "push"](() => {
743
+ Se[n ? "unshift" : "push"](() => {
744
744
  w = n, t(9, w);
745
745
  });
746
746
  }
@@ -748,9 +748,9 @@ function We(i, e, t) {
748
748
  "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);
749
749
  }, i.$$.update = () => {
750
750
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
751
- 33554944 && z && w && Je(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
752
- 67109376 && N && w && Ce(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
753
- 268435968 && I && w && _e(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
751
+ 33554944 && z && w && ve(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
752
+ 67109376 && N && w && Me(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
753
+ 268435968 && I && w && we(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
754
754
  134217728 && M && re(), i.$$.dirty[0] & /*session*/
755
755
  1048576 && a && se(), i.$$.dirty[0] & /*status*/
756
756
  1 && l && P(), i.$$.dirty[0] & /*title, lang*/
@@ -797,7 +797,7 @@ class xe extends be {
797
797
  e,
798
798
  We,
799
799
  Ne,
800
- pe,
800
+ he,
801
801
  {
802
802
  session: 20,
803
803
  userid: 21,
@@ -931,7 +931,7 @@ class xe extends be {
931
931
  this.$$set({ mbsource: e }), S();
932
932
  }
933
933
  }
934
- he(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
934
+ Je(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
935
935
  export {
936
936
  xe as default
937
937
  };