\n
{score(props.result.homeScore, props.statusLabel)}
\n {props.statusLabel === 'Plannlagt' || props.statusLabel === 'Avlyst' ?
-
: ''}\n
{score(props.result.awayScore, props.statusLabel)}
\n
\n )\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"dh-fotball-banner__match-status\":\"dh-fotball-banner-dh-fotball-banner__match-status\",\"dhFotballBannerMatchStatus\":\"dh-fotball-banner-dh-fotball-banner__match-status\",\"dh-fotball-banner__match-status-ongoing\":\"dh-fotball-banner-dh-fotball-banner__match-status-ongoing\",\"dhFotballBannerMatchStatusOngoing\":\"dh-fotball-banner-dh-fotball-banner__match-status-ongoing\",\"dh-fotball-banner__match-status__tvchannel\":\"dh-fotball-banner-dh-fotball-banner__match-status__tvchannel\",\"dhFotballBannerMatchStatusTvchannel\":\"dh-fotball-banner-dh-fotball-banner__match-status__tvchannel\"};","import { h } from 'preact'\nimport styles from './MatchStatus.module.css'\nimport { IMatchData } from '../../lib/model'\nimport { useCustomContext } from '../../lib/context'\n\ninterface Props {\n matchData: IMatchData\n statusLabel: string\n}\n\nexport function MatchStatus(props: Props) {\n const context = useCustomContext()\n const handleClick = () => {\n context?.sendGaEvent({ eventAction: 'click', eventLabel: props.matchData.resultLink })\n }\n return props.statusLabel === 'Plannlagt' ? (\n