package c.a.z.o0; import android.view.View; import com.discord.api.sticker.Sticker; import com.discord.api.sticker.StickerType; import com.discord.utilities.file.DownloadUtils; import com.discord.views.sticker.StickerView; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StickerView.kt */ public final class c extends o implements Function1 { public final /* synthetic */ DownloadUtils.DownloadState $downloadState; public final /* synthetic */ d this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c(d dVar, DownloadUtils.DownloadState downloadState) { super(1); this.this$0 = dVar; this.$downloadState = downloadState; } /* 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 Unit invoke(View view) { m.checkNotNullParameter(view, "it"); Sticker sticker = this.this$0.$fullSticker; if ((sticker != null ? sticker.k() : null) == StickerType.STANDARD) { StickerView stickerView = this.this$0.this$0; stickerView.l = StickerView.a(stickerView, ((DownloadUtils.DownloadState.Completed) this.$downloadState).getFile(), true); } return Unit.a; } }