export function getMemberSearchName(member, memberViewType) {
    const name = member.name.split('.')[1] ?? member.name;
    return ((memberViewType === 'name'
        ? name
        : 'shortTitle' in member
            ? member.shortTitle
            : 'title' in member
                ? member.title
                : name) ?? name);
}
//# sourceMappingURL=get-member-search-name.js.map