Maple Leafs’ Mitch Marner, Anthony Stolarz playing vs. Kraken
The Toronto Maple Leafs will have two important players back in the lineup Thursday night.
![Maple Leafs’ Mitch Marner, Anthony Stolarz playing vs. Kraken](https://www.sportsnet.ca/wp-content/uploads/2024/12/Toronto-Maple-Leafs-goaltender-Anthony-Stolarz.jpg?#)
The Toronto Maple Leafs will have two important players back in the lineup Thursday night.
Mitch Marner and Anthony Stolarz will be back on the ice as the Leafs visit the Seattle Kraken.
if (!res.ok) { throw new Error('Failed to fetch odds data'); }
const data = await res.json(); const oddsData = data?.data?.game?.details?.current_line; const visitingTeam = data?.data?.game?.visiting_team; const visitingTeamLogo = data?.data?.game?.visiting_team?.image_url_90; const homeTeam = data?.data?.game?.home_team; const homeTeamLogo = data?.data?.game?.home_team?.image_url_90; const gameTimestamp = data?.data?.game?.details?.timestamp;
return { oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp }; }
async function renderBetMGM(componentId, league, gameId) { let oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp, error;
const container = document.getElementById(componentId + '-odds'); if (!container) return;
try { ({ oddsData, visitingTeam, visitingTeamLogo, homeTeam, homeTeamLogo, gameTimestamp } = await fetchOddsData(league, gameId)); } catch (err) { error = err.message; }
if (error) { container.innerHTML = `
`; return; }
if (!oddsData) { container.innerHTML = `
`; return; }
let gameDate = new Date(gameTimestamp * 1000); const gameDateFormatted = gameDate.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });
container.innerHTML = `
`; }
// Example usage renderBetMGM('block_8e1bf65542a9ea77d15e3bb8caecee23', 'NHL', '01be2c6d-c3a1-4049-a8f8-b6227c832575');
Marner missed Tuesday’s win over the Calgary Flames with a lower-body injury. He leads the Maple Leafs in scoring this season and is fifth overall in the NHL with 70 points in 52 games.
Stolarz hasn’t seen game action since Dec. 12 due to a lower-body injury. Before his injury, Stolarz was one of the NHL’s top goalies with a 2.15 goals-against average and .927 save percentage.