@everymatrix/casino-tournaments-list-controller 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsListController-C-bVKhDo.cjs +28 -0
- package/components/{CasinoTournamentsListController-TTfiOfqF.js → CasinoTournamentsListController-ClNoaguG.js} +2019 -2045
- package/components/{CasinoTournamentsListController-C97u1Ogl.js → CasinoTournamentsListController-DKc3JGbs.js} +1997 -2023
- package/components/{CasinoTournamentsThumbnail-tGANyGyv.cjs → CasinoTournamentsThumbnail-CdyLHB3q.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-feErUaHF.js → CasinoTournamentsThumbnail-D8e-nXOD.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-OImP2fiH.js → CasinoTournamentsThumbnail-IxiD4b-e.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CWqF3_wR.js → CasinoTournamentsThumbnailController-BcYNLikE.js} +21 -13
- package/components/{CasinoTournamentsThumbnailController-DHUe7UJA.js → CasinoTournamentsThumbnailController-D49NZQP2.js} +21 -13
- package/components/{CasinoTournamentsThumbnailController-BOWK_jAA.cjs → CasinoTournamentsThumbnailController-DY-Ayiwy.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnailDuration-B3rlvpdd.js → CasinoTournamentsThumbnailDuration-BLgft2Tq.js} +9 -5
- package/components/{CasinoTournamentsThumbnailDuration-OHctpGrk.cjs → CasinoTournamentsThumbnailDuration-DAU985Oj.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-BsGItHBZ.js → CasinoTournamentsThumbnailDuration-uc0cz4mz.js} +9 -5
- package/components/{CasinoTournamentsThumbnailGamesSlider-BlX2ulRz.cjs → CasinoTournamentsThumbnailGamesSlider-BYiStSlZ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Caco6EJW.js → CasinoTournamentsThumbnailGamesSlider-CMh0bAxQ.js} +4 -3
- package/components/{CasinoTournamentsThumbnailGamesSlider-CczKrN41.js → CasinoTournamentsThumbnailGamesSlider-DyN75Aab.js} +4 -3
- package/components/{CasinoTournamentsThumbnailPrizes-ByZJKG02.js → CasinoTournamentsThumbnailPrizes-BP5XEe6I.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DcE8P-a5.js → CasinoTournamentsThumbnailPrizes-DbXoL6RT.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DTGVcAKZ.cjs → CasinoTournamentsThumbnailPrizes-DqgnwAS4.cjs} +1 -1
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsListController-C-LhoEdX.cjs +0 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-C-LhoEdX.cjs");function x(i,t){e.addMessages(i,t)}function ee(i){e.$locale.set(i)}const E={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 te(i){e.append_styles(i,"svelte-1gxooas",':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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(i){let t,a,n,l,u,s;return{c(){t=e.element("div"),a=e.text(i[13]),e.attr(t,"class",n="Status "+i[15]),e.attr(t,"part",l="Status "+i[15])},m(o,g){e.insert(o,t,g),e.append(t,a),u||(s=e.action_destroyer(i[18].call(null,t)),u=!0)},p(o,g){g[0]&8192&&e.set_data(a,o[13]),g[0]&32768&&n!==(n="Status "+o[15])&&e.attr(t,"class",n),g[0]&32768&&l!==(l="Status "+o[15])&&e.attr(t,"part",l)},d(o){o&&e.detach(t),u=!1,s()}}}function P(i){let t,a=i[5]&&B(i);return{c(){a&&a.c(),t=e.empty()},m(n,l){a&&a.m(n,l),e.insert(n,t,l)},p(n,l){n[5]?a?a.p(n,l):(a=B(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function B(i){let t,a=i[16]("enrolled")+"",n;return{c(){t=e.element("div"),n=e.text(a),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(l,u){e.insert(l,t,u),e.append(t,n)},p(l,u){u[0]&65536&&a!==(a=l[16]("enrolled")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function ae(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('https://i.stack.imgur.com/y9DpT.jpg')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n)},d(s){s&&e.detach(t),l=!1,u()}}}function ie(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('"+i[4]+"')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n),o[0]&16&&e.set_style(t,"background-image","url('"+s[4]+"')")},d(s){s&&e.detach(t),l=!1,u()}}}function G(i){let t,a,n,l,u;return{c(){t=e.element("div"),a=e.text(i[11]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(s,o){e.insert(s,t,o),e.append(t,a),l||(u=e.action_destroyer(n=i[17].call(null,t,i[2])),l=!0)},p(s,o){o[0]&2048&&e.set_data(a,s[11]),n&&e.is_function(n.update)&&o[0]&4&&n.update.call(null,s[2])},d(s){s&&e.detach(t),l=!1,u()}}}function K(i){let t,a,n=i[16]("scoreCriteria")+"",l,u,s,o,g,A=i[16]("minbet")+"",h,b,S,M,y,c,m,d=i[16]("seegames")+"",p,D,C,T=i[16]("here")+"",F,v,R,w;return{c(){t=e.element("div"),a=e.element("p"),l=e.text(n),u=e.text(`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-C-bVKhDo.cjs");function x(i,t){e.addMessages(i,t)}function ee(i){e.$locale.set(i)}const E={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 te(i){e.append_styles(i,"svelte-1gxooas",':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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(i){let t,a,n,l,u,s;return{c(){t=e.element("div"),a=e.text(i[13]),e.attr(t,"class",n="Status "+i[15]),e.attr(t,"part",l="Status "+i[15])},m(o,g){e.insert(o,t,g),e.append(t,a),u||(s=e.action_destroyer(i[18].call(null,t)),u=!0)},p(o,g){g[0]&8192&&e.set_data(a,o[13]),g[0]&32768&&n!==(n="Status "+o[15])&&e.attr(t,"class",n),g[0]&32768&&l!==(l="Status "+o[15])&&e.attr(t,"part",l)},d(o){o&&e.detach(t),u=!1,s()}}}function P(i){let t,a=i[5]&&B(i);return{c(){a&&a.c(),t=e.empty()},m(n,l){a&&a.m(n,l),e.insert(n,t,l)},p(n,l){n[5]?a?a.p(n,l):(a=B(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function B(i){let t,a=i[16]("enrolled")+"",n;return{c(){t=e.element("div"),n=e.text(a),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(l,u){e.insert(l,t,u),e.append(t,n)},p(l,u){u[0]&65536&&a!==(a=l[16]("enrolled")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function ae(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('https://i.stack.imgur.com/y9DpT.jpg')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n)},d(s){s&&e.detach(t),l=!1,u()}}}function ie(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('"+i[4]+"')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n),o[0]&16&&e.set_style(t,"background-image","url('"+s[4]+"')")},d(s){s&&e.detach(t),l=!1,u()}}}function G(i){let t,a,n,l,u;return{c(){t=e.element("div"),a=e.text(i[11]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(s,o){e.insert(s,t,o),e.append(t,a),l||(u=e.action_destroyer(n=i[17].call(null,t,i[2])),l=!0)},p(s,o){o[0]&2048&&e.set_data(a,s[11]),n&&e.is_function(n.update)&&o[0]&4&&n.update.call(null,s[2])},d(s){s&&e.detach(t),l=!1,u()}}}function K(i){let t,a,n=i[16]("scoreCriteria")+"",l,u,s,o,g,A=i[16]("minbet")+"",h,b,S,M,y,c,m,d=i[16]("seegames")+"",p,D,C,T=i[16]("here")+"",F,v,R,w;return{c(){t=e.element("div"),a=e.element("p"),l=e.text(n),u=e.text(`:
|
|
2
2
|
|
|
3
3
|
`),s=e.element("span"),o=e.text(i[14]),g=e.text(`
|
|
4
4
|
(`),h=e.text(A),b=e.space(),S=e.text(i[6]),M=e.text(")"),y=e.space(),c=e.element("div"),m=e.element("p"),p=e.text(d),D=e.space(),C=e.element("a"),F=e.text(T),e.attr(s,"part","ScoreCriteriaSpan"),e.attr(a,"part","ScoreCriteriaP"),e.attr(t,"class","ScoreCriteria"),e.attr(t,"part","ScoreCriteria"),e.attr(C,"part","GamesAnchor"),e.attr(C,"href",i[8]),e.attr(C,"target",v=i[9]==="true"?"_self":"_blank"),e.attr(m,"part","GamesP"),e.attr(c,"class","Games"),e.attr(c,"part","Games")},m(f,_){e.insert(f,t,_),e.append(t,a),e.append(a,l),e.append(a,u),e.append(a,s),e.append(s,o),e.append(a,g),e.append(a,h),e.append(a,b),e.append(a,S),e.append(a,M),e.insert(f,y,_),e.insert(f,c,_),e.append(c,m),e.append(m,p),e.append(m,D),e.append(m,C),e.append(C,F),R||(w=[e.action_destroyer(i[19].call(null,s)),e.listen(C,"click",i[28])],R=!0)},p(f,_){_[0]&65536&&n!==(n=f[16]("scoreCriteria")+"")&&e.set_data(l,n),_[0]&16384&&e.set_data(o,f[14]),_[0]&65536&&A!==(A=f[16]("minbet")+"")&&e.set_data(h,A),_[0]&64&&e.set_data(S,f[6]),_[0]&65536&&d!==(d=f[16]("seegames")+"")&&e.set_data(p,d),_[0]&65536&&T!==(T=f[16]("here")+"")&&e.set_data(F,T),_[0]&256&&e.attr(C,"href",f[8]),_[0]&512&&v!==(v=f[9]==="true"?"_self":"_blank")&&e.attr(C,"target",v)},d(f){f&&(e.detach(t),e.detach(y),e.detach(c)),R=!1,e.run_all(w)}}}function re(i){let t,a,n,l,u,s,o,g,A,h=i[0]&&L(i),b=i[7]=="true"&&P(i);function S(d,p){return d[4]?ie:ae}let M=S(i),y=M(i),c=i[2]&&G(i),m=i[12]&&K(i);return{c(){t=e.element("div"),h&&h.c(),a=e.space(),b&&b.c(),n=e.space(),y.c(),l=e.space(),u=e.element("div"),s=e.element("div"),o=e.text(i[1]),g=e.space(),c&&c.c(),A=e.space(),m&&m.c(),e.attr(s,"class","Title"),e.attr(s,"part","Title"),e.attr(u,"class","Details"),e.attr(u,"part","Details"),e.attr(t,"class","Thumbnail"),e.attr(t,"part","Thumbnail")},m(d,p){e.insert(d,t,p),h&&h.m(t,null),e.append(t,a),b&&b.m(t,null),e.append(t,n),y.m(t,null),e.append(t,l),e.append(t,u),e.append(u,s),e.append(s,o),e.append(u,g),c&&c.m(u,null),e.append(u,A),m&&m.m(u,null),i[29](t)},p(d,p){d[0]?h?h.p(d,p):(h=L(d),h.c(),h.m(t,a)):h&&(h.d(1),h=null),d[7]=="true"?b?b.p(d,p):(b=P(d),b.c(),b.m(t,n)):b&&(b.d(1),b=null),M===(M=S(d))&&y?y.p(d,p):(y.d(1),y=M(d),y&&(y.c(),y.m(t,l))),p[0]&2&&e.set_data(o,d[1]),d[2]?c?c.p(d,p):(c=G(d),c.c(),c.m(u,A)):c&&(c.d(1),c=null),d[12]?m?m.p(d,p):(m=K(d),m.c(),m.m(u,null)):m&&(m.d(1),m=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),h&&h.d(),b&&b.d(),y.d(),c&&c.d(),m&&m.d(),i[29](null)}}}function ne(i,t,a){let n;e.component_subscribe(i,e.$format,r=>a(16,n=r));let{session:l=""}=t,{userid:u=""}=t,{title:s=""}=t,{startdate:o=""}=t,{status:g=""}=t,{tourid:A=""}=t,{thumbnail:h=""}=t,{userenrolled:b=""}=t,{scorecriteria:S=""}=t,{minbetcount:M=""}=t,{showenrolled:y="false"}=t,{gameurl:c=""}=t,{lang:m="en"}=t,{keepbrowsercontext:d="false"}=t,{clientstyling:p=""}=t,{clientstylingurl:D=""}=t,{translationurl:C=""}=t,T,F="",v=!1,R="",w="",f="";const _=()=>{fetch(C).then(k=>k.json()).then(k=>{Object.keys(k).forEach(J=>{x(J,k[J])})}).catch(k=>{console.log(k)})};Object.keys(E).forEach(r=>{x(r,E[r])});const N=r=>{r.data&&(r.data&&r.data.type=="SessionID"&&a(12,v=!0),r.data.type==`TournamentStatus_${A}`&&a(0,g=r.data.status))},j=()=>{const r={month:"long"};let k=new Date(o),J=new Intl.DateTimeFormat("en",r).format(k),Q=k.getDate(),X=k.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const $=()=>n(g==="Running"?"startedAt":"startingAt");a(11,F=`${Q} `+n(`${J}`)+", "+$()+` ${X}`)},z=()=>{g=="Unstarted"&&(a(13,R=n("scheduled")),a(15,f="StatusUnstarted")),g=="Running"&&(a(13,R=n("ongoing")),a(15,f="StatusRunning")),(g=="Closed"||g=="Closing")&&a(13,R=n("finished")),g=="Closed"&&a(15,f="StatusClosed"),g=="Closing"&&a(15,f="StatusClosing")},I=()=>{S=="BetCount"&&a(14,w=n("betCount")),S=="MaxWinStakeRatio"&&a(14,w=n("maxWinStakeRatio")),S=="WinStakeRatio"&&a(14,w=n("winStakeRatio")),S=="Stake"&&a(14,w=n("stake"))},O=(r,k)=>{window.postMessage({type:"tournamentGamesClicked",tourId:k},window.location.href)},V=()=>{l.length>0&&l!="false"?a(12,v=!0):a(12,v=!1)},H=()=>{let r=document.createElement("style");r.innerHTML=p,T.appendChild(r)},q=()=>{let r=new URL(D),k=document.createElement("style");fetch(r.href).then(J=>J.text()).then(J=>{k.innerHTML=J,setTimeout(()=>{T.appendChild(k)},1),setTimeout(()=>{},500)})};e.onMount(()=>(setTimeout(()=>W(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}));const W=()=>{ee(m),I(),z(),o&&j()},Y=()=>O();function Z(r){e.binding_callbacks[r?"unshift":"push"](()=>{T=r,a(10,T)})}return i.$$set=r=>{"session"in r&&a(21,l=r.session),"userid"in r&&a(22,u=r.userid),"title"in r&&a(1,s=r.title),"startdate"in r&&a(2,o=r.startdate),"status"in r&&a(0,g=r.status),"tourid"in r&&a(3,A=r.tourid),"thumbnail"in r&&a(4,h=r.thumbnail),"userenrolled"in r&&a(5,b=r.userenrolled),"scorecriteria"in r&&a(23,S=r.scorecriteria),"minbetcount"in r&&a(6,M=r.minbetcount),"showenrolled"in r&&a(7,y=r.showenrolled),"gameurl"in r&&a(8,c=r.gameurl),"lang"in r&&a(24,m=r.lang),"keepbrowsercontext"in r&&a(9,d=r.keepbrowsercontext),"clientstyling"in r&&a(25,p=r.clientstyling),"clientstylingurl"in r&&a(26,D=r.clientstylingurl),"translationurl"in r&&a(27,C=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&33555456&&T&&p&&H(),i.$$.dirty[0]&67109888&&T&&D&&q(),i.$$.dirty[0]&134217728&&C&&_(),i.$$.dirty[0]&2097152&&l&&V(),i.$$.dirty[0]&1&&g&&z(),i.$$.dirty[0]&16777218&&s&&m&&W(),i.$$.dirty[0]&4&&o&&j(),i.$$.dirty[0]&8388608&&S&&I()},[g,s,o,A,h,b,M,y,c,d,T,F,v,R,w,f,n,j,z,I,O,l,u,S,m,p,D,C,Y,Z]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,re,e.safe_not_equal,{session:21,userid:22,title:1,startdate:2,status:0,tourid:3,thumbnail:4,userenrolled:5,scorecriteria:23,minbetcount:6,showenrolled:7,gameurl:8,lang:24,keepbrowsercontext:9,clientstyling:25,clientstylingurl:26,translationurl:27},te,[-1,-1])}get session(){return this.$$.ctx[21]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[22]}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[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get thumbnail(){return this.$$.ctx[4]}set thumbnail(t){this.$$set({thumbnail:t}),e.flush()}get userenrolled(){return this.$$.ctx[5]}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[6]}set minbetcount(t){this.$$set({minbetcount:t}),e.flush()}get showenrolled(){return this.$$.ctx[7]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get gameurl(){return this.$$.ctx[8]}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[9]}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()}}e.create_custom_element(U,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=U;
|
package/components/{CasinoTournamentsThumbnail-feErUaHF.js → CasinoTournamentsThumbnail-D8e-nXOD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as v, d as O, t as M, g as u, h as F, j as c, k as D, n as q, l as j, m as ye, o as pe, p as L, q as ke, r as Se, u as Ce, v as Ae, w as _e, x as K, y as Te } from "./CasinoTournamentsListController-
|
|
1
|
+
import { a as me, $ as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as v, d as O, t as M, g as u, h as F, j as c, k as D, n as q, l as j, m as ye, o as pe, p as L, q as ke, r as Se, u as Ce, v as Ae, w as _e, x as K, y as Te } from "./CasinoTournamentsListController-ClNoaguG.js";
|
|
2
2
|
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
package/components/{CasinoTournamentsThumbnail-OImP2fiH.js → CasinoTournamentsThumbnail-IxiD4b-e.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as v, d as O, t as M, g as u, h as F, j as c, k as D, n as q, l as j, m as ye, o as pe, p as L, q as ke, r as Se, u as Ce, v as Ae, w as _e, x as K, y as Te } from "./CasinoTournamentsListController-
|
|
1
|
+
import { a as me, $ as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as v, d as O, t as M, g as u, h as F, j as c, k as D, n as q, l as j, m as ye, o as pe, p as L, q as ke, r as Se, u as Ce, v as Ae, w as _e, x as K, y as Te } from "./CasinoTournamentsListController-DKc3JGbs.js";
|
|
2
2
|
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
|
@@ -14,7 +14,7 @@ var ce = (r, t, e) => new Promise((n, i) => {
|
|
|
14
14
|
}, l = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, s);
|
|
15
15
|
l((e = e.apply(r, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { _ as me, z as he, A as pe, B as W, $ as ge, C as St, a as Ft, S as Et, i as Ct, f as S, c as jt, s as zt, b as Bt, e as E, h as k, n as be, l as T, m as Pt, o as Ot, w as Dt, d as B, D as u, g as m, j as _, p as At, r as It, t as O, k as D, y as Mt, u as J, q as tt, v as xt, E as I } from "./CasinoTournamentsListController-
|
|
17
|
+
import { _ as me, z as he, A as pe, B as W, $ as ge, C as St, a as Ft, S as Et, i as Ct, f as S, c as jt, s as zt, b as Bt, e as E, h as k, n as be, l as T, m as Pt, o as Ot, w as Dt, d as B, D as u, g as m, j as _, p as At, r as It, t as O, k as D, y as Mt, u as J, q as tt, v as xt, E as I } from "./CasinoTournamentsListController-ClNoaguG.js";
|
|
18
18
|
function P(r) {
|
|
19
19
|
return typeof r == "function";
|
|
20
20
|
}
|
|
@@ -61,7 +61,8 @@ var te = function() {
|
|
|
61
61
|
try {
|
|
62
62
|
c && !c.done && (e = l.return) && e.call(l);
|
|
63
63
|
} finally {
|
|
64
|
-
if (t)
|
|
64
|
+
if (t)
|
|
65
|
+
throw t.error;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
else
|
|
@@ -91,7 +92,8 @@ var te = function() {
|
|
|
91
92
|
try {
|
|
92
93
|
v && !v.done && (i = F.return) && i.call(F);
|
|
93
94
|
} finally {
|
|
94
|
-
if (n)
|
|
95
|
+
if (n)
|
|
96
|
+
throw n.error;
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -378,7 +380,8 @@ var Xt = rt(function(r) {
|
|
|
378
380
|
try {
|
|
379
381
|
l && !l.done && (o = s.return) && o.call(s);
|
|
380
382
|
} finally {
|
|
381
|
-
if (i)
|
|
383
|
+
if (i)
|
|
384
|
+
throw i.error;
|
|
382
385
|
}
|
|
383
386
|
}
|
|
384
387
|
}
|
|
@@ -598,7 +601,7 @@ if (typeof window != "undefined") {
|
|
|
598
601
|
}
|
|
599
602
|
};
|
|
600
603
|
};
|
|
601
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
604
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-D8e-nXOD.js").then(({ default: t }) => {
|
|
602
605
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
603
606
|
});
|
|
604
607
|
}
|
|
@@ -614,7 +617,7 @@ if (typeof window != "undefined") {
|
|
|
614
617
|
}
|
|
615
618
|
};
|
|
616
619
|
};
|
|
617
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
620
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-uc0cz4mz.js").then(({ default: t }) => {
|
|
618
621
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
619
622
|
"casino-tournaments-thumbnail-duration",
|
|
620
623
|
t.element
|
|
@@ -633,7 +636,7 @@ if (typeof window != "undefined") {
|
|
|
633
636
|
}
|
|
634
637
|
};
|
|
635
638
|
};
|
|
636
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
639
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-BP5XEe6I.js").then(({ default: t }) => {
|
|
637
640
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
638
641
|
});
|
|
639
642
|
}
|
|
@@ -649,7 +652,7 @@ if (typeof window != "undefined") {
|
|
|
649
652
|
}
|
|
650
653
|
};
|
|
651
654
|
};
|
|
652
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
655
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-CMh0bAxQ.js").then(
|
|
653
656
|
({ default: t }) => {
|
|
654
657
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
655
658
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -668,16 +671,19 @@ function tr(r) {
|
|
|
668
671
|
);
|
|
669
672
|
function y(f, p) {
|
|
670
673
|
if (!/*isLoggedIn*/
|
|
671
|
-
f[14])
|
|
674
|
+
f[14])
|
|
675
|
+
return or;
|
|
672
676
|
if (
|
|
673
677
|
/*status*/
|
|
674
678
|
f[23] != "Closed" && /*status*/
|
|
675
679
|
f[23] != "Closing"
|
|
676
|
-
)
|
|
680
|
+
)
|
|
681
|
+
return ir;
|
|
677
682
|
if (
|
|
678
683
|
/*showdetails*/
|
|
679
684
|
f[3] == "true"
|
|
680
|
-
)
|
|
685
|
+
)
|
|
686
|
+
return nr;
|
|
681
687
|
}
|
|
682
688
|
let F = y(r), v = F && F(r), b = (
|
|
683
689
|
/*errorJoin*/
|
|
@@ -1464,11 +1470,13 @@ function cr(r) {
|
|
|
1464
1470
|
if (
|
|
1465
1471
|
/*isLoading*/
|
|
1466
1472
|
o[15]
|
|
1467
|
-
)
|
|
1473
|
+
)
|
|
1474
|
+
return rr;
|
|
1468
1475
|
if (
|
|
1469
1476
|
/*title*/
|
|
1470
1477
|
o[20]
|
|
1471
|
-
)
|
|
1478
|
+
)
|
|
1479
|
+
return tr;
|
|
1472
1480
|
}
|
|
1473
1481
|
let n = e(r), i = n && n(r);
|
|
1474
1482
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as de, z as he, A as me, B as W, $ as pe, C as kt, a as Tt, S as St, i as Ft, f as S, c as Et, s as Ct, b as jt, e as E, h as k, n as ge, l as T, m as zt, o as Bt, w as Pt, d as B, D as u, g as h, j as _, p as Dt, r as Ot, t as D, k as O, y as At, u as J, q as $e, v as It, E as I } from "./CasinoTournamentsListController-
|
|
1
|
+
import { _ as de, z as he, A as me, B as W, $ as pe, C as kt, a as Tt, S as St, i as Ft, f as S, c as Et, s as Ct, b as jt, e as E, h as k, n as ge, l as T, m as zt, o as Bt, w as Pt, d as B, D as u, g as h, j as _, p as Dt, r as Ot, t as D, k as O, y as At, u as J, q as $e, v as It, E as I } from "./CasinoTournamentsListController-DKc3JGbs.js";
|
|
2
2
|
function P(r) {
|
|
3
3
|
return typeof r == "function";
|
|
4
4
|
}
|
|
@@ -45,7 +45,8 @@ var te = function() {
|
|
|
45
45
|
try {
|
|
46
46
|
c && !c.done && (e = l.return) && e.call(l);
|
|
47
47
|
} finally {
|
|
48
|
-
if (t)
|
|
48
|
+
if (t)
|
|
49
|
+
throw t.error;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
else
|
|
@@ -75,7 +76,8 @@ var te = function() {
|
|
|
75
76
|
try {
|
|
76
77
|
v && !v.done && (o = F.return) && o.call(F);
|
|
77
78
|
} finally {
|
|
78
|
-
if (n)
|
|
79
|
+
if (n)
|
|
80
|
+
throw n.error;
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
}
|
|
@@ -362,7 +364,8 @@ var Kt = et(function(r) {
|
|
|
362
364
|
try {
|
|
363
365
|
l && !l.done && (i = s.return) && i.call(s);
|
|
364
366
|
} finally {
|
|
365
|
-
if (o)
|
|
367
|
+
if (o)
|
|
368
|
+
throw o.error;
|
|
366
369
|
}
|
|
367
370
|
}
|
|
368
371
|
}
|
|
@@ -582,7 +585,7 @@ if (typeof window < "u") {
|
|
|
582
585
|
}
|
|
583
586
|
};
|
|
584
587
|
};
|
|
585
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
588
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-IxiD4b-e.js").then(({ default: t }) => {
|
|
586
589
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
587
590
|
});
|
|
588
591
|
}
|
|
@@ -598,7 +601,7 @@ if (typeof window < "u") {
|
|
|
598
601
|
}
|
|
599
602
|
};
|
|
600
603
|
};
|
|
601
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
604
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-BLgft2Tq.js").then(({ default: t }) => {
|
|
602
605
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
603
606
|
"casino-tournaments-thumbnail-duration",
|
|
604
607
|
t.element
|
|
@@ -617,7 +620,7 @@ if (typeof window < "u") {
|
|
|
617
620
|
}
|
|
618
621
|
};
|
|
619
622
|
};
|
|
620
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
623
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DbXoL6RT.js").then(({ default: t }) => {
|
|
621
624
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
622
625
|
});
|
|
623
626
|
}
|
|
@@ -633,7 +636,7 @@ if (typeof window < "u") {
|
|
|
633
636
|
}
|
|
634
637
|
};
|
|
635
638
|
};
|
|
636
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
639
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-DyN75Aab.js").then(
|
|
637
640
|
({ default: t }) => {
|
|
638
641
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
639
642
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -652,16 +655,19 @@ function $t(r) {
|
|
|
652
655
|
);
|
|
653
656
|
function y(f, p) {
|
|
654
657
|
if (!/*isLoggedIn*/
|
|
655
|
-
f[14])
|
|
658
|
+
f[14])
|
|
659
|
+
return nr;
|
|
656
660
|
if (
|
|
657
661
|
/*status*/
|
|
658
662
|
f[23] != "Closed" && /*status*/
|
|
659
663
|
f[23] != "Closing"
|
|
660
|
-
)
|
|
664
|
+
)
|
|
665
|
+
return rr;
|
|
661
666
|
if (
|
|
662
667
|
/*showdetails*/
|
|
663
668
|
f[3] == "true"
|
|
664
|
-
)
|
|
669
|
+
)
|
|
670
|
+
return tr;
|
|
665
671
|
}
|
|
666
672
|
let F = y(r), v = F && F(r), b = (
|
|
667
673
|
/*errorJoin*/
|
|
@@ -1448,11 +1454,13 @@ function lr(r) {
|
|
|
1448
1454
|
if (
|
|
1449
1455
|
/*isLoading*/
|
|
1450
1456
|
i[15]
|
|
1451
|
-
)
|
|
1457
|
+
)
|
|
1458
|
+
return er;
|
|
1452
1459
|
if (
|
|
1453
1460
|
/*title*/
|
|
1454
1461
|
i[20]
|
|
1455
|
-
)
|
|
1462
|
+
)
|
|
1463
|
+
return $t;
|
|
1456
1464
|
}
|
|
1457
1465
|
let n = e(r), o = n && n(r);
|
|
1458
1466
|
return {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";var Q=(r,t,e)=>new Promise((i,o)=>{var s=c=>{try{u(e.next(c))}catch(m){o(m)}},a=c=>{try{u(e.throw(c))}catch(m){o(m)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);u((e=e.apply(r,t)).next())});const n=require("./CasinoTournamentsListController-C-
|
|
1
|
+
"use strict";var Q=(r,t,e)=>new Promise((i,o)=>{var s=c=>{try{u(e.next(c))}catch(m){o(m)}},a=c=>{try{u(e.throw(c))}catch(m){o(m)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);u((e=e.apply(r,t)).next())});const n=require("./CasinoTournamentsListController-C-bVKhDo.cjs");function F(r){return typeof r=="function"}function Le(r){var t=function(i){Error.call(i),i.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var $=Le(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
2
|
`+e.map(function(i,o){return o+1+") "+i.toString()}).join(`
|
|
3
|
-
`):"",this.name="UnsubscriptionError",this.errors=e}});function te(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var H=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=n.__values(a),c=u.next();!c.done;c=u.next()){var m=c.value;m.remove(this)}}catch(p){t={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(F(f))try{f()}catch(p){s=p instanceof $?p.errors:[p]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var y=n.__values(b),w=y.next();!w.done;w=y.next()){var _=w.value;try{Te(_)}catch(p){s=s!=null?s:[],p instanceof $?s=n.__spreadArray(n.__spreadArray([],n.__read(s)),n.__read(p.errors)):s.push(p)}}}catch(p){i={error:p}}finally{try{w&&!w.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}}if(s)throw new $(s)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&te(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&te(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),Re=H.EMPTY;function Ue(r){return r instanceof H||r&&"closed"in r&&F(r.remove)&&F(r.add)&&F(r.unsubscribe)}function Te(r){F(r)?r():r.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},st={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,n.__spreadArray([r,t],n.__read(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function at(r){st.setTimeout(function(){throw r})}function Fe(){}function W(r){r()}var We=function(r){n.__extends(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,Ue(e)&&e.add(i)):i.destination=dt,i}return t.create=function(e,i,o){return new ne(e,i,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(H),lt=Function.prototype.bind;function ee(r,t){return lt.call(r,t)}var ut=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){J(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){J(i)}else J(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){J(e)}},r}(),ne=function(r){n.__extends(t,r);function t(e,i,o){var s=r.call(this)||this,a;if(F(e)||!e)a={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0};else{var u;s&&Je.useDeprecatedNextContext?(u=Object.create(e),u.unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&ee(e.next,u),error:e.error&&ee(e.error,u),complete:e.complete&&ee(e.complete,u)}):a=e}return s.destination=new ut(a),s}return t}(We);function J(r){at(r)}function ct(r){throw r}var dt={closed:!0,next:Fe,error:ct,complete:Fe},ft=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function mt(r){return r}function ht(r){return r.length===0?mt:r.length===1?r[0]:function(e){return r.reduce(function(i,o){return o(i)},e)}}var Se=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var o=this,s=_t(t)?t:new ne(t,e,i);return W(function(){var a=o,u=a.operator,c=a.source;s.add(u?u.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=Ee(e),new e(function(o,s){var a=new ne({next:function(u){try{t(u)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[ft]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ht(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Ee(t),new t(function(i,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(t){return new r(t)},r}();function Ee(r){var t;return(t=r!=null?r:Je.Promise)!==null&&t!==void 0?t:Promise}function pt(r){return r&&F(r.next)&&F(r.error)&&F(r.complete)}function _t(r){return r&&r instanceof We||pt(r)&&Ue(r)}var gt=Le(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),He=function(r){n.__extends(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Ce(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new gt},t.prototype.next=function(e){var i=this;W(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=n.__values(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(e)}}catch(m){o={error:m}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,o=this,s=o.hasError,a=o.isStopped,u=o.observers;return s||a?Re:(this.currentObservers=null,u.push(e),new H(function(){i.currentObservers=null,te(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new Se;return e.source=this,e},t.create=function(e,i){return new Ce(e,i)},t}(Se),Ce=function(r){n.__extends(t,r);function t(e,i){var o=r.call(this)||this;return o.destination=e,o.source=i,o}return t.prototype.next=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,e)},t.prototype.error=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&o!==void 0?o:Re},t}(He),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},bt=function(r){n.__extends(t,r);function t(e,i,o){e===void 0&&(e=1/0),i===void 0&&(i=1/0),o===void 0&&(o=qe);var s=r.call(this)||this;return s._bufferSize=e,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,i),s}return t.prototype.next=function(e){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;o||(s.push(e),!a&&s.push(u.now()+c)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),c=0;c<u.length&&!e.closed;c+=s?1:2)e.next(u[c]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<s.length&&s.splice(0,s.length-u),!a){for(var c=o.now(),m=0,f=1;f<s.length&&s[f]<=c;f+=2)m=f;m&&s.splice(0,m+1)}},t}(He);const je=[],ze={},wt=(r,t=0)=>{if(je.indexOf(r)==-1){const e=new bt(t);ze[r]=e,je.push(r)}return ze[r]};window.emWidgets={topic:wt};const re=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function yt({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function Pe(r,t){n.addMessages(r,t)}function vt(r){n.$locale.set(r)}const Be={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-tGANyGyv.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-OHctpGrk.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-DTGVcAKZ.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-BlX2ulRz.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function kt(r){n.append_styles(r,"svelte-1kmemyq",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function Tt(r){let t,e,i,o,s,a,u,c,m,f=r[14]&&xe(r);function b(d,h){if(!d[14])return Ct;if(d[23]!="Closed"&&d[23]!="Closing")return Et;if(d[3]=="true")return St}let y=b(r),w=y&&y(r),_=(r[17]||r[19])&&Ie(r),p=r[4]=="true"&&Me(r);return{c(){t=n.element("div"),e=n.element("casino-tournaments-thumbnail"),i=n.space(),f&&f.c(),o=n.space(),s=n.element("div"),w&&w.c(),a=n.space(),_&&_.c(),u=n.space(),p&&p.c(),n.set_custom_element_data(e,"session",r[0]),n.set_custom_element_data(e,"userid",r[1]),n.set_custom_element_data(e,"title",r[20]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"tourid",r[24]),n.set_custom_element_data(e,"scorecriteria",r[27]),n.set_custom_element_data(e,"minbetcount",r[28]),n.set_custom_element_data(e,"thumbnail",r[25]),n.set_custom_element_data(e,"showenrolled",r[5]),n.set_custom_element_data(e,"gameurl",r[30]),n.set_custom_element_data(e,"userenrolled",r[26]),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"keepbrowsercontext",r[9]),n.set_custom_element_data(e,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(s,"class","TournamentButtons"),n.attr(s,"part","TournamentButtons"),n.attr(t,"class",c="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",m="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(d,h){n.insert(d,t,h),n.append(t,e),n.append(t,i),f&&f.m(t,null),n.append(t,o),n.append(t,s),w&&w.m(s,null),n.append(t,a),_&&_.m(t,null),n.append(t,u),p&&p.m(t,null)},p(d,h){h[0]&1&&n.set_custom_element_data(e,"session",d[0]),h[0]&2&&n.set_custom_element_data(e,"userid",d[1]),h[0]&1048576&&n.set_custom_element_data(e,"title",d[20]),h[0]&8388608&&n.set_custom_element_data(e,"status",d[23]),h[0]&2097152&&n.set_custom_element_data(e,"startdate",d[21]),h[0]&16777216&&n.set_custom_element_data(e,"tourid",d[24]),h[0]&134217728&&n.set_custom_element_data(e,"scorecriteria",d[27]),h[0]&268435456&&n.set_custom_element_data(e,"minbetcount",d[28]),h[0]&33554432&&n.set_custom_element_data(e,"thumbnail",d[25]),h[0]&32&&n.set_custom_element_data(e,"showenrolled",d[5]),h[0]&1073741824&&n.set_custom_element_data(e,"gameurl",d[30]),h[0]&67108864&&n.set_custom_element_data(e,"userenrolled",d[26]),h[0]&1024&&n.set_custom_element_data(e,"clientstyling",d[10]),h[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",d[11]),h[0]&4096&&n.set_custom_element_data(e,"translationurl",d[12]),h[0]&256&&n.set_custom_element_data(e,"lang",d[8]),h[0]&512&&n.set_custom_element_data(e,"keepbrowsercontext",d[9]),d[14]?f?f.p(d,h):(f=xe(d),f.c(),f.m(t,o)):f&&(f.d(1),f=null),y===(y=b(d))&&w?w.p(d,h):(w&&w.d(1),w=y&&y(d),w&&(w.c(),w.m(s,null))),d[17]||d[19]?_?_.p(d,h):(_=Ie(d),_.c(),_.m(t,u)):_&&(_.d(1),_=null),d[4]=="true"?p?p.p(d,h):(p=Me(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null),h[0]&192|h[1]&1&&c!==(c="TournamentCard "+(d[6]?"CardMaxWidth":"")+(d[7]?"CardFullSize":"")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",c),h[0]&192|h[1]&1&&m!==(m="TournamentCard "+(d[6]?"CardMaxWidth":"")+(d[7]?"CardFullSize":"")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",m)},d(d){d&&n.detach(t),f&&f.d(),w&&w.d(),_&&_.d(),p&&p.d()}}}function Ft(r){let t,e,i,o;return{c(){t=n.element("div"),e=n.element("div"),e.innerHTML='<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>',n.attr(e,"class","ph-item"),n.attr(e,"part","ph-item"),n.attr(t,"class",i="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",o="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(s,a){n.insert(s,t,a),n.append(t,e)},p(s,a){a[0]&192|a[1]&1&&i!==(i="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",i),a[0]&192|a[1]&1&&o!==(o="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",o)},d(s){s&&n.detach(t)}}}function xe(r){let t,e,i=r[24]&&Oe(r);return{c(){i&&i.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"enddate",r[22]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill")},m(o,s){i&&i.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[24]?i?i.p(o,s):(i=Oe(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&8388608&&n.set_custom_element_data(e,"status",o[23]),s[0]&2097152&&n.set_custom_element_data(e,"startdate",o[21]),s[0]&256&&n.set_custom_element_data(e,"lang",o[8]),s[0]&4194304&&n.set_custom_element_data(e,"enddate",o[22])},d(o){o&&(n.detach(t),n.detach(e)),i&&i.d(o)}}}function Oe(r){let t,e,i,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",r[24]),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),i||(o=n.action_destroyer(e=r[37].call(null,t,r[24])),i=!0)},p(s,a){a[0]&16777216&&n.set_custom_element_data(t,"tourid",s[24]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&16777216&&e.update.call(null,s[24])},d(s){s&&n.detach(t),i=!1,o()}}}function St(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[51]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Et(r){let t,e,i=r[3]=="true"&&De(r);function o(u,c){return u[26]?zt:jt}let s=o(r),a=s(r);return{c(){i&&i.c(),t=n.space(),a.c(),e=n.empty()},m(u,c){i&&i.m(u,c),n.insert(u,t,c),a.m(u,c),n.insert(u,e,c)},p(u,c){u[3]=="true"?i?i.p(u,c):(i=De(u),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s===(s=o(u))&&a?a.p(u,c):(a.d(1),a=s(u),a&&(a.c(),a.m(e.parentNode,e)))},d(u){u&&(n.detach(t),n.detach(e)),i&&i.d(u),a.d(u)}}}function Ct(r){let t,e=r[32]("login")+"",i,o,s,a=r[32]("register")+"",u,c,m;return{c(){t=n.element("button"),i=n.text(e),o=n.space(),s=n.element("button"),u=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(f,b){n.insert(f,t,b),n.append(t,i),n.insert(f,o,b),n.insert(f,s,b),n.append(s,u),c||(m=[n.listen(t,"click",r[47]),n.listen(s,"click",r[48])],c=!0)},p(f,b){b[1]&2&&e!==(e=f[32]("login")+"")&&n.set_data(i,e),b[1]&2&&a!==(a=f[32]("register")+"")&&n.set_data(u,a)},d(f){f&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(m)}}}function De(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[49]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function jt(r){let t,e,i,o,s;function a(m,f){return m[16]==!0?Bt:Pt}let u=a(r),c=u(r);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(r[7]?"JoinButtonFullSize":"")),n.attr(t,"part",i="JoinButton "+(r[7]?"JoinButtonFullSize":"")),t.disabled=r[17]},m(m,f){n.insert(m,t,f),c.m(t,null),o||(s=n.listen(t,"click",r[50]),o=!0)},p(m,f){u===(u=a(m))&&c?c.p(m,f):(c.d(1),c=u(m),c&&(c.c(),c.m(t,null))),f[0]&128&&e!==(e="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),f[0]&128&&i!==(i="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"part",i),f[0]&131072&&(t.disabled=m[17])},d(m){m&&n.detach(t),c.d(),o=!1,s()}}}function zt(r){let t,e=r[3]=="true"&&Ae(r);return{c(){e&&e.c(),t=n.empty()},m(i,o){e&&e.m(i,o),n.insert(i,t,o)},p(i,o){i[3]=="true"?e?e.p(i,o):(e=Ae(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(i){i&&n.detach(t),e&&e.d(i)}}}function Pt(r){let t,e=r[32]("join")+"",i,o,s,a,u,c,m,f;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),u=n.svg_element("style"),c=n.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),m=n.svg_element("g"),f=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(f,"class","a"),n.attr(f,"part","a JoinButtonSvgA"),n.attr(f,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(f,"transform","translate(26 26) rotate(180)"),n.attr(m,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(b,y){n.insert(b,t,y),n.append(t,i),n.insert(b,o,y),n.insert(b,s,y),n.append(s,a),n.append(a,u),n.append(u,c),n.append(s,m),n.append(m,f)},p(b,y){y[1]&2&&e!==(e=b[32]("join")+"")&&n.set_data(i,e)},d(b){b&&(n.detach(t),n.detach(o),n.detach(s))}}}function Bt(r){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(i,o){n.insert(i,t,o),n.append(t,e)},p:n.noop,d(i){i&&n.detach(t)}}}function Ae(r){let t,e=r[32]("enrolled")+"",i;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,i)},p(o,s){s[1]&2&&e!==(e=o[32]("enrolled")+"")&&n.set_data(i,e)},d(o){o&&n.detach(t)}}}function Ie(r){let t,e=r[32]("joinerror")+"",i,o,s;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.text(r[18]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,u){n.insert(a,t,u),n.append(t,i),n.append(t,o),n.append(t,s)},p(a,u){u[1]&2&&e!==(e=a[32]("joinerror")+"")&&n.set_data(i,e),u[0]&262144&&n.set_data(s,a[18])},d(a){a&&n.detach(t)}}}function Me(r){let t;return{c(){t=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"tournamenturl",r[2]),n.set_custom_element_data(t,"lang",r[8]),n.set_custom_element_data(t,"scrollby","2"),n.set_custom_element_data(t,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(e,i){n.insert(e,t,i)},p(e,i){i[0]&1024&&n.set_custom_element_data(t,"clientstyling",e[10]),i[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",e[11]),i[0]&4096&&n.set_custom_element_data(t,"translationurl",e[12]),i[0]&4&&n.set_custom_element_data(t,"tournamenturl",e[2]),i[0]&256&&n.set_custom_element_data(t,"lang",e[8])},d(e){e&&n.detach(t)}}}function xt(r){let t;function e(s,a){if(s[15])return Ft;if(s[20])return Tt}let i=e(r),o=i&&i(r);return{c(){t=n.element("div"),o&&o.c()},m(s,a){n.insert(s,t,a),o&&o.m(t,null),r[52](t)},p(s,a){i===(i=e(s))&&o?o.p(s,a):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(t,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(t),o&&o.d(),r[52](null)}}}function Ot(r,t,e){let i;n.component_subscribe(r,n.$format,l=>e(32,i=l));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:u}=t,{endpoint:c=""}=t,{showdetails:m=""}=t,{showslider:f=""}=t,{showenrolled:b=""}=t,{maxwidth:y=""}=t,{fullsize:w=""}=t,{lang:_=""}=t,{loginevent:p=""}=t,{registerevent:d=""}=t,{loginurl:h=""}=t,{registerurl:B=""}=t,{currency:q=""}=t,{keepbrowsercontext:ie="false"}=t,{clientstyling:x=""}=t,{clientstylingurl:O=""}=t,{translationurl:D=""}=t,{tournamentinfo:A}=t,S,C=!1,I="",j=!0,oe=window.navigator.userAgent,M=!1,L=!1,se="There was an error while trying to join the tournament",G=!1,ae,le,ue,z,T,ce,Y,de,fe,me=[],K=[],he="#",V,R=!1;yt({withLocale:"en",translations:{}});const Ye=()=>{fetch(D).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Pe(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(Be).forEach(l=>{Pe(l,Be[l])});const pe=l=>{Ke(l),N(l),ye(this,T)},_e=l=>{if(l.data&&l.data.type=="UserSessionID"&&(e(14,C=!0),I=l.data.session),l.data.type=="UpdateTournamentView"){let g=l.data.tournamentData;if(T&&T!=g.id)return;pe(g)}if(l.data&&l.data.type==`UpdateSingleTournament_${u}`){let g=l.data.tournamentData,v=u<4?u*100:Math.random()*300+300;e(31,R=u==1),setTimeout(()=>{e(31,R=!0),e(24,T=g.id),pe(g)},v),setTimeout(()=>{e(31,R=!1)},v+200)}},Ke=l=>{l.state!=z&&(e(23,z=l.state),window.postMessage({type:`TournamentStatus_${T}`,status:z},window.location.href))},ge=()=>{p&&(window.postMessage({type:p,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),h&&(window.location=h)},be=()=>{d&&(window.postMessage({type:d,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},X=l=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:l,showLeaderboard:!0},window.location.href)},we=(l,g)=>Q(this,null,function*(){var ke;e(17,L=!1),e(19,G=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:l},window.location.href),e(16,M=!0);let v=new URL(`${c}/v1/bonus/claim`),U=new Headers,E={};v.searchParams.append("language",_),v.searchParams.append("platform",re(oe)),U.append("Content-Type","application/json"),U.append("X-SessionID",I),g&&g.length>=1&&(E={language:_,bonusCode:g[0].code,currency:q,type:"tournament"});let ot={method:"PUT",headers:U,body:JSON.stringify(E)};const ve=()=>{e(16,M=!1),e(26,Y=!0)},Z=k=>{e(16,M=!1),k&&e(18,se=k),e(17,L=!0)},P=yield Q(this,null,function*(){let k;try{k=yield fetch(v,ot),k=yield k.json()}catch(It){Z()}return k});if(P)if(P.success==!0)ve();else if(P.errorMessage.match("VersionMismatchException")){let k;k=yield fetch(`${c}/tournaments/${T}`,{headers:{"X-SessionID":o}}),k=yield k.json(),(ke=k==null?void 0:k.item)!=null&&ke.playerEnrolled?ve():(Z(P.errorMessage),e(19,G=!0),e(17,L=!1))}else Z(P.errorMessage)}),ye=(l,g)=>{window.postMessage({type:`TournamentPrizes_${g}`,prizes:me},window.location.href)},N=l=>{l&&(e(20,ae=l.nameOrTitle||""),e(21,le=l.startTime),e(22,ue=l.endTime),e(23,z=l.state),e(24,T=l.id),e(25,ce=l.thumbnail),e(26,Y=l.playerEnrolled==="true"||l.playerEnrolled==!0||!1),e(27,de=l.scoreCriteria),e(28,fe=l.minBetCount),me=l.prizes,e(29,K=l.wallets||[]),e(30,he=l.termsUrl||"#"))},Ve=l=>{e(15,j=!0);let g=new URL(l),v=new Headers;g.searchParams.append("language",_),g.searchParams.append("platform",re(oe)),C&&v.append("X-SessionID",I),fetch(g,{method:"GET",headers:v}).then(E=>E.json()).then(E=>{e(15,j=!1),N(E.item)})},Xe=()=>{o.length>0&&o!="false"?(I=o,e(14,C=!0)):e(14,C=!1)},Ne=()=>{if(A){N(A);return}e(15,j=!0),Ve(a)},Ze=()=>{let l=document.createElement("style");l.innerHTML=x,S.appendChild(l)},Qe=()=>{let l=new URL(O),g=document.createElement("style");fetch(l.href).then(v=>v.text()).then(v=>{g.innerHTML=v,setTimeout(()=>{S.appendChild(g)},1),setTimeout(()=>{},500)})};n.onMount(()=>(e(15,j=!1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",_e,!1),()=>{window.removeEventListener("message",_e)}));const $e=()=>ge(),et=()=>be(),tt=()=>X(T),nt=()=>we(T,K),rt=()=>X(T);function it(l){n.binding_callbacks[l?"unshift":"push"](()=>{S=l,e(13,S)})}return r.$$set=l=>{"session"in l&&e(0,o=l.session),"userid"in l&&e(1,s=l.userid),"tournamenturl"in l&&e(2,a=l.tournamenturl),"touridx"in l&&e(38,u=l.touridx),"endpoint"in l&&e(39,c=l.endpoint),"showdetails"in l&&e(3,m=l.showdetails),"showslider"in l&&e(4,f=l.showslider),"showenrolled"in l&&e(5,b=l.showenrolled),"maxwidth"in l&&e(6,y=l.maxwidth),"fullsize"in l&&e(7,w=l.fullsize),"lang"in l&&e(8,_=l.lang),"loginevent"in l&&e(40,p=l.loginevent),"registerevent"in l&&e(41,d=l.registerevent),"loginurl"in l&&e(42,h=l.loginurl),"registerurl"in l&&e(43,B=l.registerurl),"currency"in l&&e(44,q=l.currency),"keepbrowsercontext"in l&&e(9,ie=l.keepbrowsercontext),"clientstyling"in l&&e(10,x=l.clientstyling),"clientstylingurl"in l&&e(11,O=l.clientstylingurl),"translationurl"in l&&e(12,D=l.translationurl),"tournamentinfo"in l&&e(45,A=l.tournamentinfo)},r.$$.update=()=>{r.$$.dirty[0]&256&&_&&vt(_),r.$$.dirty[0]&9216&&S&&x&&Ze(),r.$$.dirty[0]&10240&&S&&O&&Qe(),r.$$.dirty[0]&4096&&D&&Ye(),r.$$.dirty[0]&1&&o&&Xe(),r.$$.dirty[0]&260&&e(46,V=a&&_),r.$$.dirty[1]&32768&&V&&Ne()},[o,s,a,m,f,b,y,w,_,ie,x,O,D,S,C,j,M,L,se,G,ae,le,ue,z,T,ce,Y,de,fe,K,he,R,i,ge,be,X,we,ye,u,c,p,d,h,B,q,A,V,$e,et,tt,nt,rt,it]}class Ge extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Ot,xt,n.safe_not_equal,{session:0,userid:1,tournamenturl:2,touridx:38,endpoint:39,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:40,registerevent:41,loginurl:42,registerurl:43,currency:44,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:45},kt,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[38]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[39]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[40]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[41]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[44]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[45]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}}n.create_custom_element(Ge,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{}},[],[],!0);const Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=Dt;exports.getDevice=re;
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function te(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var H=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=n.__values(a),c=u.next();!c.done;c=u.next()){var m=c.value;m.remove(this)}}catch(p){t={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(F(f))try{f()}catch(p){s=p instanceof $?p.errors:[p]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var y=n.__values(b),w=y.next();!w.done;w=y.next()){var _=w.value;try{Te(_)}catch(p){s=s!=null?s:[],p instanceof $?s=n.__spreadArray(n.__spreadArray([],n.__read(s)),n.__read(p.errors)):s.push(p)}}}catch(p){i={error:p}}finally{try{w&&!w.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}}if(s)throw new $(s)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&te(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&te(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),Re=H.EMPTY;function Ue(r){return r instanceof H||r&&"closed"in r&&F(r.remove)&&F(r.add)&&F(r.unsubscribe)}function Te(r){F(r)?r():r.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},st={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,n.__spreadArray([r,t],n.__read(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function at(r){st.setTimeout(function(){throw r})}function Fe(){}function W(r){r()}var We=function(r){n.__extends(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,Ue(e)&&e.add(i)):i.destination=dt,i}return t.create=function(e,i,o){return new ne(e,i,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(H),lt=Function.prototype.bind;function ee(r,t){return lt.call(r,t)}var ut=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){J(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){J(i)}else J(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){J(e)}},r}(),ne=function(r){n.__extends(t,r);function t(e,i,o){var s=r.call(this)||this,a;if(F(e)||!e)a={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0};else{var u;s&&Je.useDeprecatedNextContext?(u=Object.create(e),u.unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&ee(e.next,u),error:e.error&&ee(e.error,u),complete:e.complete&&ee(e.complete,u)}):a=e}return s.destination=new ut(a),s}return t}(We);function J(r){at(r)}function ct(r){throw r}var dt={closed:!0,next:Fe,error:ct,complete:Fe},ft=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function mt(r){return r}function ht(r){return r.length===0?mt:r.length===1?r[0]:function(e){return r.reduce(function(i,o){return o(i)},e)}}var Se=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var o=this,s=_t(t)?t:new ne(t,e,i);return W(function(){var a=o,u=a.operator,c=a.source;s.add(u?u.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=Ee(e),new e(function(o,s){var a=new ne({next:function(u){try{t(u)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[ft]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ht(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Ee(t),new t(function(i,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(t){return new r(t)},r}();function Ee(r){var t;return(t=r!=null?r:Je.Promise)!==null&&t!==void 0?t:Promise}function pt(r){return r&&F(r.next)&&F(r.error)&&F(r.complete)}function _t(r){return r&&r instanceof We||pt(r)&&Ue(r)}var gt=Le(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),He=function(r){n.__extends(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Ce(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new gt},t.prototype.next=function(e){var i=this;W(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=n.__values(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(e)}}catch(m){o={error:m}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,o=this,s=o.hasError,a=o.isStopped,u=o.observers;return s||a?Re:(this.currentObservers=null,u.push(e),new H(function(){i.currentObservers=null,te(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new Se;return e.source=this,e},t.create=function(e,i){return new Ce(e,i)},t}(Se),Ce=function(r){n.__extends(t,r);function t(e,i){var o=r.call(this)||this;return o.destination=e,o.source=i,o}return t.prototype.next=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,e)},t.prototype.error=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&o!==void 0?o:Re},t}(He),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},bt=function(r){n.__extends(t,r);function t(e,i,o){e===void 0&&(e=1/0),i===void 0&&(i=1/0),o===void 0&&(o=qe);var s=r.call(this)||this;return s._bufferSize=e,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,i),s}return t.prototype.next=function(e){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;o||(s.push(e),!a&&s.push(u.now()+c)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),c=0;c<u.length&&!e.closed;c+=s?1:2)e.next(u[c]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<s.length&&s.splice(0,s.length-u),!a){for(var c=o.now(),m=0,f=1;f<s.length&&s[f]<=c;f+=2)m=f;m&&s.splice(0,m+1)}},t}(He);const je=[],ze={},wt=(r,t=0)=>{if(je.indexOf(r)==-1){const e=new bt(t);ze[r]=e,je.push(r)}return ze[r]};window.emWidgets={topic:wt};const re=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function yt({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function Pe(r,t){n.addMessages(r,t)}function vt(r){n.$locale.set(r)}const Be={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-CdyLHB3q.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-DAU985Oj.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-DqgnwAS4.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-BYiStSlZ.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function kt(r){n.append_styles(r,"svelte-1kmemyq",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function Tt(r){let t,e,i,o,s,a,u,c,m,f=r[14]&&xe(r);function b(d,h){if(!d[14])return Ct;if(d[23]!="Closed"&&d[23]!="Closing")return Et;if(d[3]=="true")return St}let y=b(r),w=y&&y(r),_=(r[17]||r[19])&&Ie(r),p=r[4]=="true"&&Me(r);return{c(){t=n.element("div"),e=n.element("casino-tournaments-thumbnail"),i=n.space(),f&&f.c(),o=n.space(),s=n.element("div"),w&&w.c(),a=n.space(),_&&_.c(),u=n.space(),p&&p.c(),n.set_custom_element_data(e,"session",r[0]),n.set_custom_element_data(e,"userid",r[1]),n.set_custom_element_data(e,"title",r[20]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"tourid",r[24]),n.set_custom_element_data(e,"scorecriteria",r[27]),n.set_custom_element_data(e,"minbetcount",r[28]),n.set_custom_element_data(e,"thumbnail",r[25]),n.set_custom_element_data(e,"showenrolled",r[5]),n.set_custom_element_data(e,"gameurl",r[30]),n.set_custom_element_data(e,"userenrolled",r[26]),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"keepbrowsercontext",r[9]),n.set_custom_element_data(e,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(s,"class","TournamentButtons"),n.attr(s,"part","TournamentButtons"),n.attr(t,"class",c="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",m="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(d,h){n.insert(d,t,h),n.append(t,e),n.append(t,i),f&&f.m(t,null),n.append(t,o),n.append(t,s),w&&w.m(s,null),n.append(t,a),_&&_.m(t,null),n.append(t,u),p&&p.m(t,null)},p(d,h){h[0]&1&&n.set_custom_element_data(e,"session",d[0]),h[0]&2&&n.set_custom_element_data(e,"userid",d[1]),h[0]&1048576&&n.set_custom_element_data(e,"title",d[20]),h[0]&8388608&&n.set_custom_element_data(e,"status",d[23]),h[0]&2097152&&n.set_custom_element_data(e,"startdate",d[21]),h[0]&16777216&&n.set_custom_element_data(e,"tourid",d[24]),h[0]&134217728&&n.set_custom_element_data(e,"scorecriteria",d[27]),h[0]&268435456&&n.set_custom_element_data(e,"minbetcount",d[28]),h[0]&33554432&&n.set_custom_element_data(e,"thumbnail",d[25]),h[0]&32&&n.set_custom_element_data(e,"showenrolled",d[5]),h[0]&1073741824&&n.set_custom_element_data(e,"gameurl",d[30]),h[0]&67108864&&n.set_custom_element_data(e,"userenrolled",d[26]),h[0]&1024&&n.set_custom_element_data(e,"clientstyling",d[10]),h[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",d[11]),h[0]&4096&&n.set_custom_element_data(e,"translationurl",d[12]),h[0]&256&&n.set_custom_element_data(e,"lang",d[8]),h[0]&512&&n.set_custom_element_data(e,"keepbrowsercontext",d[9]),d[14]?f?f.p(d,h):(f=xe(d),f.c(),f.m(t,o)):f&&(f.d(1),f=null),y===(y=b(d))&&w?w.p(d,h):(w&&w.d(1),w=y&&y(d),w&&(w.c(),w.m(s,null))),d[17]||d[19]?_?_.p(d,h):(_=Ie(d),_.c(),_.m(t,u)):_&&(_.d(1),_=null),d[4]=="true"?p?p.p(d,h):(p=Me(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null),h[0]&192|h[1]&1&&c!==(c="TournamentCard "+(d[6]?"CardMaxWidth":"")+(d[7]?"CardFullSize":"")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",c),h[0]&192|h[1]&1&&m!==(m="TournamentCard "+(d[6]?"CardMaxWidth":"")+(d[7]?"CardFullSize":"")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn")+" "+(d[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",m)},d(d){d&&n.detach(t),f&&f.d(),w&&w.d(),_&&_.d(),p&&p.d()}}}function Ft(r){let t,e,i,o;return{c(){t=n.element("div"),e=n.element("div"),e.innerHTML='<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>',n.attr(e,"class","ph-item"),n.attr(e,"part","ph-item"),n.attr(t,"class",i="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",o="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(s,a){n.insert(s,t,a),n.append(t,e)},p(s,a){a[0]&192|a[1]&1&&i!==(i="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",i),a[0]&192|a[1]&1&&o!==(o="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",o)},d(s){s&&n.detach(t)}}}function xe(r){let t,e,i=r[24]&&Oe(r);return{c(){i&&i.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"enddate",r[22]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill")},m(o,s){i&&i.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[24]?i?i.p(o,s):(i=Oe(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&8388608&&n.set_custom_element_data(e,"status",o[23]),s[0]&2097152&&n.set_custom_element_data(e,"startdate",o[21]),s[0]&256&&n.set_custom_element_data(e,"lang",o[8]),s[0]&4194304&&n.set_custom_element_data(e,"enddate",o[22])},d(o){o&&(n.detach(t),n.detach(e)),i&&i.d(o)}}}function Oe(r){let t,e,i,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",r[24]),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),i||(o=n.action_destroyer(e=r[37].call(null,t,r[24])),i=!0)},p(s,a){a[0]&16777216&&n.set_custom_element_data(t,"tourid",s[24]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&16777216&&e.update.call(null,s[24])},d(s){s&&n.detach(t),i=!1,o()}}}function St(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[51]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Et(r){let t,e,i=r[3]=="true"&&De(r);function o(u,c){return u[26]?zt:jt}let s=o(r),a=s(r);return{c(){i&&i.c(),t=n.space(),a.c(),e=n.empty()},m(u,c){i&&i.m(u,c),n.insert(u,t,c),a.m(u,c),n.insert(u,e,c)},p(u,c){u[3]=="true"?i?i.p(u,c):(i=De(u),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s===(s=o(u))&&a?a.p(u,c):(a.d(1),a=s(u),a&&(a.c(),a.m(e.parentNode,e)))},d(u){u&&(n.detach(t),n.detach(e)),i&&i.d(u),a.d(u)}}}function Ct(r){let t,e=r[32]("login")+"",i,o,s,a=r[32]("register")+"",u,c,m;return{c(){t=n.element("button"),i=n.text(e),o=n.space(),s=n.element("button"),u=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(f,b){n.insert(f,t,b),n.append(t,i),n.insert(f,o,b),n.insert(f,s,b),n.append(s,u),c||(m=[n.listen(t,"click",r[47]),n.listen(s,"click",r[48])],c=!0)},p(f,b){b[1]&2&&e!==(e=f[32]("login")+"")&&n.set_data(i,e),b[1]&2&&a!==(a=f[32]("register")+"")&&n.set_data(u,a)},d(f){f&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(m)}}}function De(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[49]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function jt(r){let t,e,i,o,s;function a(m,f){return m[16]==!0?Bt:Pt}let u=a(r),c=u(r);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(r[7]?"JoinButtonFullSize":"")),n.attr(t,"part",i="JoinButton "+(r[7]?"JoinButtonFullSize":"")),t.disabled=r[17]},m(m,f){n.insert(m,t,f),c.m(t,null),o||(s=n.listen(t,"click",r[50]),o=!0)},p(m,f){u===(u=a(m))&&c?c.p(m,f):(c.d(1),c=u(m),c&&(c.c(),c.m(t,null))),f[0]&128&&e!==(e="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),f[0]&128&&i!==(i="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"part",i),f[0]&131072&&(t.disabled=m[17])},d(m){m&&n.detach(t),c.d(),o=!1,s()}}}function zt(r){let t,e=r[3]=="true"&&Ae(r);return{c(){e&&e.c(),t=n.empty()},m(i,o){e&&e.m(i,o),n.insert(i,t,o)},p(i,o){i[3]=="true"?e?e.p(i,o):(e=Ae(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(i){i&&n.detach(t),e&&e.d(i)}}}function Pt(r){let t,e=r[32]("join")+"",i,o,s,a,u,c,m,f;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),u=n.svg_element("style"),c=n.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),m=n.svg_element("g"),f=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(f,"class","a"),n.attr(f,"part","a JoinButtonSvgA"),n.attr(f,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(f,"transform","translate(26 26) rotate(180)"),n.attr(m,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(b,y){n.insert(b,t,y),n.append(t,i),n.insert(b,o,y),n.insert(b,s,y),n.append(s,a),n.append(a,u),n.append(u,c),n.append(s,m),n.append(m,f)},p(b,y){y[1]&2&&e!==(e=b[32]("join")+"")&&n.set_data(i,e)},d(b){b&&(n.detach(t),n.detach(o),n.detach(s))}}}function Bt(r){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(i,o){n.insert(i,t,o),n.append(t,e)},p:n.noop,d(i){i&&n.detach(t)}}}function Ae(r){let t,e=r[32]("enrolled")+"",i;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,i)},p(o,s){s[1]&2&&e!==(e=o[32]("enrolled")+"")&&n.set_data(i,e)},d(o){o&&n.detach(t)}}}function Ie(r){let t,e=r[32]("joinerror")+"",i,o,s;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.text(r[18]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,u){n.insert(a,t,u),n.append(t,i),n.append(t,o),n.append(t,s)},p(a,u){u[1]&2&&e!==(e=a[32]("joinerror")+"")&&n.set_data(i,e),u[0]&262144&&n.set_data(s,a[18])},d(a){a&&n.detach(t)}}}function Me(r){let t;return{c(){t=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"tournamenturl",r[2]),n.set_custom_element_data(t,"lang",r[8]),n.set_custom_element_data(t,"scrollby","2"),n.set_custom_element_data(t,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(e,i){n.insert(e,t,i)},p(e,i){i[0]&1024&&n.set_custom_element_data(t,"clientstyling",e[10]),i[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",e[11]),i[0]&4096&&n.set_custom_element_data(t,"translationurl",e[12]),i[0]&4&&n.set_custom_element_data(t,"tournamenturl",e[2]),i[0]&256&&n.set_custom_element_data(t,"lang",e[8])},d(e){e&&n.detach(t)}}}function xt(r){let t;function e(s,a){if(s[15])return Ft;if(s[20])return Tt}let i=e(r),o=i&&i(r);return{c(){t=n.element("div"),o&&o.c()},m(s,a){n.insert(s,t,a),o&&o.m(t,null),r[52](t)},p(s,a){i===(i=e(s))&&o?o.p(s,a):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(t,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(t),o&&o.d(),r[52](null)}}}function Ot(r,t,e){let i;n.component_subscribe(r,n.$format,l=>e(32,i=l));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:u}=t,{endpoint:c=""}=t,{showdetails:m=""}=t,{showslider:f=""}=t,{showenrolled:b=""}=t,{maxwidth:y=""}=t,{fullsize:w=""}=t,{lang:_=""}=t,{loginevent:p=""}=t,{registerevent:d=""}=t,{loginurl:h=""}=t,{registerurl:B=""}=t,{currency:q=""}=t,{keepbrowsercontext:ie="false"}=t,{clientstyling:x=""}=t,{clientstylingurl:O=""}=t,{translationurl:D=""}=t,{tournamentinfo:A}=t,S,C=!1,I="",j=!0,oe=window.navigator.userAgent,M=!1,L=!1,se="There was an error while trying to join the tournament",G=!1,ae,le,ue,z,T,ce,Y,de,fe,me=[],K=[],he="#",V,R=!1;yt({withLocale:"en",translations:{}});const Ye=()=>{fetch(D).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Pe(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(Be).forEach(l=>{Pe(l,Be[l])});const pe=l=>{Ke(l),N(l),ye(this,T)},_e=l=>{if(l.data&&l.data.type=="UserSessionID"&&(e(14,C=!0),I=l.data.session),l.data.type=="UpdateTournamentView"){let g=l.data.tournamentData;if(T&&T!=g.id)return;pe(g)}if(l.data&&l.data.type==`UpdateSingleTournament_${u}`){let g=l.data.tournamentData,v=u<4?u*100:Math.random()*300+300;e(31,R=u==1),setTimeout(()=>{e(31,R=!0),e(24,T=g.id),pe(g)},v),setTimeout(()=>{e(31,R=!1)},v+200)}},Ke=l=>{l.state!=z&&(e(23,z=l.state),window.postMessage({type:`TournamentStatus_${T}`,status:z},window.location.href))},ge=()=>{p&&(window.postMessage({type:p,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),h&&(window.location=h)},be=()=>{d&&(window.postMessage({type:d,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},X=l=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:l,showLeaderboard:!0},window.location.href)},we=(l,g)=>Q(this,null,function*(){var ke;e(17,L=!1),e(19,G=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:l},window.location.href),e(16,M=!0);let v=new URL(`${c}/v1/bonus/claim`),U=new Headers,E={};v.searchParams.append("language",_),v.searchParams.append("platform",re(oe)),U.append("Content-Type","application/json"),U.append("X-SessionID",I),g&&g.length>=1&&(E={language:_,bonusCode:g[0].code,currency:q,type:"tournament"});let ot={method:"PUT",headers:U,body:JSON.stringify(E)};const ve=()=>{e(16,M=!1),e(26,Y=!0)},Z=k=>{e(16,M=!1),k&&e(18,se=k),e(17,L=!0)},P=yield Q(this,null,function*(){let k;try{k=yield fetch(v,ot),k=yield k.json()}catch(It){Z()}return k});if(P)if(P.success==!0)ve();else if(P.errorMessage.match("VersionMismatchException")){let k;k=yield fetch(`${c}/tournaments/${T}`,{headers:{"X-SessionID":o}}),k=yield k.json(),(ke=k==null?void 0:k.item)!=null&&ke.playerEnrolled?ve():(Z(P.errorMessage),e(19,G=!0),e(17,L=!1))}else Z(P.errorMessage)}),ye=(l,g)=>{window.postMessage({type:`TournamentPrizes_${g}`,prizes:me},window.location.href)},N=l=>{l&&(e(20,ae=l.nameOrTitle||""),e(21,le=l.startTime),e(22,ue=l.endTime),e(23,z=l.state),e(24,T=l.id),e(25,ce=l.thumbnail),e(26,Y=l.playerEnrolled==="true"||l.playerEnrolled==!0||!1),e(27,de=l.scoreCriteria),e(28,fe=l.minBetCount),me=l.prizes,e(29,K=l.wallets||[]),e(30,he=l.termsUrl||"#"))},Ve=l=>{e(15,j=!0);let g=new URL(l),v=new Headers;g.searchParams.append("language",_),g.searchParams.append("platform",re(oe)),C&&v.append("X-SessionID",I),fetch(g,{method:"GET",headers:v}).then(E=>E.json()).then(E=>{e(15,j=!1),N(E.item)})},Xe=()=>{o.length>0&&o!="false"?(I=o,e(14,C=!0)):e(14,C=!1)},Ne=()=>{if(A){N(A);return}e(15,j=!0),Ve(a)},Ze=()=>{let l=document.createElement("style");l.innerHTML=x,S.appendChild(l)},Qe=()=>{let l=new URL(O),g=document.createElement("style");fetch(l.href).then(v=>v.text()).then(v=>{g.innerHTML=v,setTimeout(()=>{S.appendChild(g)},1),setTimeout(()=>{},500)})};n.onMount(()=>(e(15,j=!1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",_e,!1),()=>{window.removeEventListener("message",_e)}));const $e=()=>ge(),et=()=>be(),tt=()=>X(T),nt=()=>we(T,K),rt=()=>X(T);function it(l){n.binding_callbacks[l?"unshift":"push"](()=>{S=l,e(13,S)})}return r.$$set=l=>{"session"in l&&e(0,o=l.session),"userid"in l&&e(1,s=l.userid),"tournamenturl"in l&&e(2,a=l.tournamenturl),"touridx"in l&&e(38,u=l.touridx),"endpoint"in l&&e(39,c=l.endpoint),"showdetails"in l&&e(3,m=l.showdetails),"showslider"in l&&e(4,f=l.showslider),"showenrolled"in l&&e(5,b=l.showenrolled),"maxwidth"in l&&e(6,y=l.maxwidth),"fullsize"in l&&e(7,w=l.fullsize),"lang"in l&&e(8,_=l.lang),"loginevent"in l&&e(40,p=l.loginevent),"registerevent"in l&&e(41,d=l.registerevent),"loginurl"in l&&e(42,h=l.loginurl),"registerurl"in l&&e(43,B=l.registerurl),"currency"in l&&e(44,q=l.currency),"keepbrowsercontext"in l&&e(9,ie=l.keepbrowsercontext),"clientstyling"in l&&e(10,x=l.clientstyling),"clientstylingurl"in l&&e(11,O=l.clientstylingurl),"translationurl"in l&&e(12,D=l.translationurl),"tournamentinfo"in l&&e(45,A=l.tournamentinfo)},r.$$.update=()=>{r.$$.dirty[0]&256&&_&&vt(_),r.$$.dirty[0]&9216&&S&&x&&Ze(),r.$$.dirty[0]&10240&&S&&O&&Qe(),r.$$.dirty[0]&4096&&D&&Ye(),r.$$.dirty[0]&1&&o&&Xe(),r.$$.dirty[0]&260&&e(46,V=a&&_),r.$$.dirty[1]&32768&&V&&Ne()},[o,s,a,m,f,b,y,w,_,ie,x,O,D,S,C,j,M,L,se,G,ae,le,ue,z,T,ce,Y,de,fe,K,he,R,i,ge,be,X,we,ye,u,c,p,d,h,B,q,A,V,$e,et,tt,nt,rt,it]}class Ge extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Ot,xt,n.safe_not_equal,{session:0,userid:1,tournamenturl:2,touridx:38,endpoint:39,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:40,registerevent:41,loginurl:42,registerurl:43,currency:44,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:45},kt,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[38]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[39]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[40]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[41]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[44]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[45]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}}n.create_custom_element(Ge,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{}},[],[],!0);const Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Ge},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=Dt;exports.getDevice=re;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as K, S as Y, i as Z, f as C, c as J, s as Q, b as V, e as v, g as l, h as T, n as U, l as B, m as X, o as $, t as E, d as L, j as m, p as tt, k as M, w as et, x as N, y as nt } from "./CasinoTournamentsListController-
|
|
1
|
+
import { a as K, S as Y, i as Z, f as C, c as J, s as Q, b as V, e as v, g as l, h as T, n as U, l as B, m as X, o as $, t as E, d as L, j as m, p as tt, k as M, w as et, x as N, y as nt } from "./CasinoTournamentsListController-DKc3JGbs.js";
|
|
2
2
|
function O(i, t) {
|
|
3
3
|
K(i, t);
|
|
4
4
|
}
|
|
@@ -127,15 +127,18 @@ function A(i) {
|
|
|
127
127
|
r[2] == "Finished" || /*status*/
|
|
128
128
|
r[2] == "Closing" || /*status*/
|
|
129
129
|
r[2] == "Closed"
|
|
130
|
-
)
|
|
130
|
+
)
|
|
131
|
+
return ut;
|
|
131
132
|
if (
|
|
132
133
|
/*tournamentUntilStartDays*/
|
|
133
134
|
r[5] > 0
|
|
134
|
-
)
|
|
135
|
+
)
|
|
136
|
+
return ot;
|
|
135
137
|
if (
|
|
136
138
|
/*tournamentLeftDays*/
|
|
137
139
|
r[4] > 0
|
|
138
|
-
)
|
|
140
|
+
)
|
|
141
|
+
return lt;
|
|
139
142
|
}
|
|
140
143
|
let k = R(i), f = k && k(i);
|
|
141
144
|
return {
|
|
@@ -405,7 +408,8 @@ function ct(i, t, e) {
|
|
|
405
408
|
}, i.$$.update = () => {
|
|
406
409
|
i.$$.dirty & /*tournamentLeftDays, startdate, enddate*/
|
|
407
410
|
19 && e(7, s = () => {
|
|
408
|
-
if (F <= 0)
|
|
411
|
+
if (F <= 0)
|
|
412
|
+
return 100;
|
|
409
413
|
const n = R(u, o), c = 100 / n;
|
|
410
414
|
return Math.floor((n - F) * c);
|
|
411
415
|
}), i.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
|