def client_label_map(name: str) -> str:
    if (name == 'website'):
        return 'Website'
    if name.startswith('desktop app'):
        return 'Old desktop app'
    if (name == 'ZulipElectron'):
        return 'Desktop app'
    if (name == 'ZulipAndroid'):
        return 'Old Android app'
    if (name == 'ZulipiOS'):
        return 'Old iOS app'
    if (name == 'ZulipMobile'):
        return 'Mobile app'
    if (name in ['ZulipPython', 'API: Python']):
        return 'Python API'
    if (name.startswith('Zulip') and name.endswith('Webhook')):
        return (name[len('Zulip'):(- len('Webhook'))] + ' webhook')
    return name
def client_label_map(name: str) -> str:
    if (name == 'website'):
        return 'Website'
    if name.startswith('desktop app'):
        return 'Old desktop app'
    if (name == 'ZulipElectron'):
        return 'Desktop app'
    if (name == 'ZulipAndroid'):
        return 'Old Android app'
    if (name == 'ZulipiOS'):
        return 'Old iOS app'
    if (name == 'ZulipMobile'):
        return 'Mobile app'
    if (name in ['ZulipPython', 'API: Python']):
        return 'Python API'
    if (name.startswith('Zulip') and name.endswith('Webhook')):
        return (name[len('Zulip'):(- len('Webhook'))] + ' webhook')
    return name