from typing import Union
from typing import Optional


def _get_event_url(
     cz_event_id : Union[str,int]
    ,cz_draw_id : Optional[Union[str,int]] = None
)->str:
    """Returns the cz event page url."""

    if cz_draw_id is None:
        return 'https://curlingzone.com/event.php?view=Scores&eventid=%s#1'%cz_event_id

    return 'https://curlingzone.com/event.php?eventid=%s&view=Scores&showdrawid=%s#1'%(cz_event_id,cz_draw_id)