def parse_name(cls, name: str, default: T = None) -> T:
        """Parse specified name for IntEnum; return default if not found."""
        if not name:
            return default
        name = name.lower()
        return next((item for item in cls if name == item.name.lower()), default)