package b.a.y; import com.discord.stores.StoreVoiceParticipants; import j0.k.b; import java.util.Iterator; import java.util.Map; /* compiled from: OverlayVoiceBubble.kt */ /* loaded from: classes2.dex */ public final class v implements b, StoreVoiceParticipants.VoiceUser> { public static final v j = new v(); @Override // j0.k.b public StoreVoiceParticipants.VoiceUser call(Map map) { T t; Iterator it = map.values().iterator(); while (true) { if (!it.hasNext()) { t = null; break; } t = it.next(); if (((StoreVoiceParticipants.VoiceUser) t).isSpeaking()) { break; } } return (StoreVoiceParticipants.VoiceUser) t; } }