package com.discord.utilities.textprocessing; import android.content.Context; import android.text.style.CharacterStyle; import android.text.style.StyleSpan; import android.text.style.TextAppearanceSpan; import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: Spans.kt */ public final class Spans$createHeaderStyleSpanProvider$1 extends o implements Function1 { public final /* synthetic */ Context $context; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public Spans$createHeaderStyleSpanProvider$1(Context context) { super(1); this.$context = context; } public final CharacterStyle invoke(int i) { return i != 1 ? i != 4 ? new StyleSpan(3) : new TextAppearanceSpan(this.$context, 2131952030) : new TextAppearanceSpan(this.$context, 2131952024); } /* 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 */ CharacterStyle invoke(Integer num) { return invoke(num.intValue()); } }