window.currentWeek = { week: null, year: null, set: (val) => { const parts = val.split('-W'); this.year = parts[0]; this.week = parts[1]; } };