package com.discord.stores; import com.discord.stores.StoreEmoji; import d0.z.d.o; import kotlin.NoWhenBranchMatchedException; import kotlin.jvm.functions.Function1; /* compiled from: StoreEmoji.kt */ public final class StoreEmoji$buildUsableEmojiSet$1 extends o implements Function1 { public final /* synthetic */ StoreEmoji.EmojiContext $emojiContext; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreEmoji$buildUsableEmojiSet$1(StoreEmoji.EmojiContext emojiContext) { super(1); this.$emojiContext = emojiContext; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Boolean invoke(Long l) { return Boolean.valueOf(invoke(l.longValue())); } public final boolean invoke(long j) { StoreEmoji.EmojiContext emojiContext = this.$emojiContext; if (emojiContext instanceof StoreEmoji.EmojiContext.Chat) { if (((StoreEmoji.EmojiContext.Chat) emojiContext).getGuildId() == j) { return false; } } else if (!(emojiContext instanceof StoreEmoji.EmojiContext.Global)) { if (!(emojiContext instanceof StoreEmoji.EmojiContext.GuildProfile)) { throw new NoWhenBranchMatchedException(); } else if (((StoreEmoji.EmojiContext.GuildProfile) emojiContext).getGuildId() == j) { return false; } } return true; } }