Canadiens’ Dach, Texier available to play vs. Panthers

3 weeks ago 1

Rommie Analytics

The Montreal Canadiens are set to get a timely boost to their lineup Tuesday night.

Head coach Martin St. Louis confirmed that both Kirby Dach and Alexandre Texier are available to play against the Florida Panthers.

Dach, 25, has been sidelined since March 17 with an upper-body injury. He’s expected to slot in as the fourth-line centre between Phillip Danault and Brendan Gallagher.

In 32 games this season, Dach has eight goals and 14 points.

Texier was dealing with a lower-body injury. The 26-year-old, has eight goals and 20 points in 46 games this season.

The Canadiens locked up a playoff spot this past weekend and sit third in the Atlantic Division.

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 = `

Error: ${error}

`; return; }

if (!oddsData) { container.innerHTML = `

Odds data not available

`; return; }

let gameDate = new Date(gameTimestamp * 1000); const gameDateFormatted = gameDate.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });

container.innerHTML = `

BetMGM Odds
Moneyline
${visitingTeam.short_name}
${oddsData.away_money > 0 ? `+${oddsData.away_money}` : oddsData.away_money}
${homeTeam.short_name}
${oddsData.home_money > 0 ? `+${oddsData.home_money}` : oddsData.home_money}
Spread
${oddsData.fav_id === visitingTeam.id ? oddsData.fav_points : oddsData.fav_points > 0 ? `-${oddsData.fav_points}` : `+${Math.abs(oddsData.fav_points)}`}
${oddsData.fav_id === visitingTeam.id ? oddsData.fav_money > 0 ? `+${oddsData.fav_money}` : oddsData.fav_money : oddsData.underdog_money > 0 ? `+${oddsData.underdog_money}` : oddsData.underdog_money}
${oddsData.fav_id === homeTeam.id ? oddsData.fav_points : oddsData.fav_points > 0 ? `-${oddsData.fav_points}` : `+${Math.abs(oddsData.fav_points)}`}
${oddsData.fav_id === homeTeam.id ? oddsData.fav_money > 0 ? `+${oddsData.fav_money}` : oddsData.fav_money : oddsData.underdog_money > 0 ? `+${oddsData.underdog_money}` : oddsData.underdog_money}
Over/Under
O ${oddsData.total}
${oddsData.over_money > 0 ? `+${oddsData.over_money}` : oddsData.over_money}
U ${oddsData.total}
${oddsData.under_money > 0 ? `+${oddsData.under_money}` : oddsData.under_money}

`; }

// Example usage renderBetMGM('block_e079e4962a1489203fdd2c90c1f53dfa', 'NHL', '9f9e0661-1b3a-462c-a8bd-2e6a1e5fba65');

Read Entire Article