package com.discord.stores; import com.discord.api.message.reaction.MessageReactionEmoji; import com.discord.stores.StoreMessageReactions; import d0.z.d.o; import java.util.Map; import kotlin.jvm.functions.Function0; /* compiled from: StoreMessageReactions.kt */ public final class StoreMessageReactions$observeMessageReactions$2 extends o implements Function0 { public final /* synthetic */ MessageReactionEmoji $emoji; public final /* synthetic */ long $messageId; public final /* synthetic */ StoreMessageReactions this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreMessageReactions$observeMessageReactions$2(StoreMessageReactions storeMessageReactions, long j, MessageReactionEmoji messageReactionEmoji) { super(0); this.this$0 = storeMessageReactions; this.$messageId = j; this.$emoji = messageReactionEmoji; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final StoreMessageReactions.EmojiResults mo1invoke() { StoreMessageReactions.EmojiResults emojiResults; Map map = (Map) StoreMessageReactions.access$getReactionsSnapshot$p(this.this$0).get(Long.valueOf(this.$messageId)); return (map == null || (emojiResults = (StoreMessageReactions.EmojiResults) map.get(this.$emoji.c())) == null) ? StoreMessageReactions.EmojiResults.Loading.INSTANCE : emojiResults; } }