var seasons = [
{'season': '2014', 'competitions': [
{'competitionId': 8140, 'competitionName': 'Serie Regular', 'default': false },
{'competitionId': 8142, 'competitionName': 'BSN 2015', 'default': false },
{'competitionId': 8143, 'competitionName': 'COPA COOPERATIVA ZENO GANDIA', 'default': false },
] },
{'season': '2015', 'competitions': [
{'competitionId': 1310, 'competitionName': 'BSN', 'default': false },
{'competitionId': 1318, 'competitionName': 'DIRECTV PRETEMPORADA BSN', 'default': false },
{'competitionId': 1783, 'competitionName': 'COPA COOPERATIVA ZENO GANDIA', 'default': false },
{'competitionId': 2157, 'competitionName': 'EQUIPO NACIONAL PUR', 'default': false },
{'competitionId': 8141, 'competitionName': 'PRESEASON', 'default': false },
{'competitionId': 20738, 'competitionName': 'Copy of PRESEASON', 'default': false },
] },
{'season': '2016', 'competitions': [
{'competitionId': 8024, 'competitionName': 'BSN', 'default': false },
{'competitionId': 8025, 'competitionName': 'TORNEO PREPARATORIO DIRECTV', 'default': false },
] },
{'season': '2017', 'competitions': [
{'competitionId': 17118, 'competitionName': 'BSN', 'default': false },
{'competitionId': 17133, 'competitionName': 'ALLSTAR BSN', 'default': false },
] },
{'season': '2018', 'competitions': [
{'competitionId': 20737, 'competitionName': 'BSN', 'default': false },
{'competitionId': 20739, 'competitionName': 'PRESEASON', 'default': false },
{'competitionId': 21441, 'competitionName': 'ALLSTAR BSN', 'default': false },
] },
{'season': '2019', 'competitions': [
{'competitionId': 23442, 'competitionName': 'BSN 2019', 'default': false },
{'competitionId': 24024, 'competitionName': 'ALL STAR BSN', 'default': false },
] },
{'season': '2020', 'competitions': [
{'competitionId': 27231, 'competitionName': 'BSN 2020', 'default': false },
] },
{'season': '2021', 'competitions': [
{'competitionId': 30290, 'competitionName': 'BSN 2021', 'default': false },
{'competitionId': 30291, 'competitionName': 'ALL STAR 2021', 'default': false },
{'competitionId': 30862, 'competitionName': 'BSNF 2021', 'default': false },
{'competitionId': 31057, 'competitionName': 'ALL STAR BSNF 2021', 'default': false },
] },
{'season': '2022', 'competitions': [
{'competitionId': 33320, 'competitionName': 'BSN 2022', 'default': false },
{'competitionId': 33737, 'competitionName': 'ALL STAR BSN 2022', 'default': false },
{'competitionId': 34748, 'competitionName': 'BSNF 2022', 'default': false },
{'competitionId': 35039, 'competitionName': 'JUEGO DE ESTRELLAS BSNF 2022', 'default': false },
] },
{'season': '2023', 'competitions': [
{'competitionId': 35601, 'competitionName': 'BSN 2023', 'default': false },
{'competitionId': 36047, 'competitionName': 'ALL STAR BSN 2023', 'default': false },
{'competitionId': 36577, 'competitionName': 'BSNF 2023', 'default': false },
{'competitionId': 36640, 'competitionName': 'Fogueo PUR-DOM', 'default': false },
{'competitionId': 36847, 'competitionName': 'All Star BSNF 2023', 'default': false },
] },
{'season': '2024', 'competitions': [
{'competitionId': 38085, 'competitionName': 'BSN 2024', 'default': false },
{'competitionId': 38689, 'competitionName': 'ALL STAR 2024', 'default': false },
{'competitionId': 39408, 'competitionName': 'BSNF 2024', 'default': false },
{'competitionId': 39744, 'competitionName': 'ALL STAR BSNF', 'default': false },
] },
{'season': '2025', 'competitions': [
{'competitionId': 40709, 'competitionName': 'BSN 2025', 'default': true },
{'competitionId': 41374, 'competitionName': '2025', 'default': false },
{'competitionId': 41375, 'competitionName': 'BSNF 2025', 'default': false },
{'competitionId': 41485, 'competitionName': 'BSN Finales 2025', 'default': false },
] },
{'season': 'Default', 'competitions': [
{'competitionId': 8139, 'competitionName': 'Baloncesto Superior Nacional 2009', 'default': false },
] },
]; console.log(seasons);
function handleChangeSeason () { var sx = document.getElementById("season_select").value;
seasons.forEach((s)=>{ if(s.season === sx){ var childSelect = document.getElementById('competition_select'); childSelect.innerHTML ='';
s.competitions.forEach(function (c) { var optionEle = document.createElement('option'); optionEle.value = c.competitionId; optionEle.label = c.competitionName; optionEle.default = c.default; childSelect.appendChild(optionEle); }) } });
var sx = document.getElementById("season_select").value; var cx = document.getElementById("competition_select").value;
var url = new URL(window.location); (url.searchParams.has('compId') ? url.searchParams.set('compId', cx) : url.searchParams.append('compId', cx)); /* (url.searchParams.has('seasonId') ? url.searchParams.set('seasonId', sx) : url.searchParams.append('seasonId', sx)); */
window.location = url;
}
function handleChangeCompetition() { var sx = document.getElementById("season_select").value; var cx = document.getElementById("competition_select").value;
var url = new URL(window.location); (url.searchParams.has('compId') ? url.searchParams.set('compId', cx) : url.searchParams.append('compId', cx)); /* (url.searchParams.has('seasonId') ? url.searchParams.set('seasonId', sx) : url.searchParams.append('seasonId', sx)); */
window.location = url; }
/* Loads combos with url parameters */ document.addEventListener("DOMContentLoaded", function() {
});
ESTADÍSTICAS POR EQUIPO
EQUIPO | GP | PPG | FG% | 3FG% | FTA | SPG | TOPG | APG | BPG | RPG |
---|---|---|---|---|---|---|---|---|---|---|
28 | 92,7 | 48,0 | 37,0 | 554 | 7,1 | 11,5 | 20,3 | 2,1 | 34,1 | |
27 | 88,3 | 48,0 | 33,0 | 527 | 5,4 | 12,4 | 19,8 | 3,0 | 36,2 | |
27 | 85,9 | 46,0 | 32,0 | 579 | 6,3 | 10,6 | 17,6 | 3,4 | 34,7 | |
26 | 87,8 | 45,0 | 38,0 | 527 | 5,4 | 11,7 | 19,3 | 2,2 | 34,7 | |
29 | 91,5 | 47,0 | 37,0 | 482 | 7,5 | 12,0 | 21,7 | 2,8 | 35,9 | |
29 | 91,0 | 48,0 | 36,0 | 595 | 8,6 | 11,0 | 20,7 | 3,6 | 36,5 | |
27 | 86,0 | 47,0 | 33,0 | 450 | 5,9 | 12,4 | 17,2 | 2,5 | 36,0 | |
29 | 90,1 | 49,0 | 38,0 | 558 | 5,8 | 12,0 | 19,2 | 2,8 | 34,4 | |
29 | 89,7 | 49,0 | 36,0 | 507 | 5,9 | 11,0 | 20,1 | 2,6 | 33,8 | |
28 | 88,6 | 48,0 | 35,0 | 484 | 6,7 | 11,6 | 20,0 | 3,0 | 35,9 | |
27 | 88,3 | 49,0 | 35,0 | 475 | 6,0 | 11,7 | 18,2 | 1,8 | 33,2 | |
28 | 90,6 | 48,0 | 35,0 | 498 | 6,4 | 11,7 | 20,6 | 2,2 | 32,7 | |
1 | 136,0 | 58,0 | 40,0 | 1 | 5,0 | 13,0 | 38,0 | 1,0 | 53,0 | |
1 | 123,0 | 47,0 | 34,0 | 2 | 11,0 | 7,0 | 22,0 | 1,0 | 40,0 | |
1 | 53,0 | 38,0 | 12,0 | 7 | 7,0 | 9,0 | 11,0 | 3,0 | 34,0 | |
1 | 41,0 | 34,0 | 7,0 | 12 | 6,0 | 13,0 | 10,0 | 1,0 | 42,0 |