package com.discord.models.message; import com.discord.api.message.reaction.MessageReaction; import d0.z.d.o; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import kotlin.jvm.functions.Function0; /* compiled from: Message.kt */ public final class Message$reactionsMap$2 extends o implements Function0> { public final /* synthetic */ Message this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public Message$reactionsMap$2(Message message) { super(0); this.this$0 = message; } /* Return type fixed from 'java.util.Map' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final Map mo1invoke() { List reactions = this.this$0.getReactions(); if (reactions == null || !(!reactions.isEmpty())) { return Message.access$getEMPTY_REACTIONS$cp(); } List reactions2 = this.this$0.getReactions(); LinkedHashMap linkedHashMap = new LinkedHashMap(); for (Object obj : reactions2) { linkedHashMap.put(((MessageReaction) obj).b().c(), obj); } return linkedHashMap; } }