what-the-bank/sources/o/C14823gO.java

56 lines
1.6 KiB
Java

package o;
import android.content.Context;
import com.scb.phone.components.ItemCustom;
import com.scb.phone.view.custom.item.ItemAdditionalMetaDataCustom;
import com.scb.phone.view.custom.item.ItemRevampSuccessfulHeaderCustom;
import com.scb.phone.view.custom.item.ItemSuccessfulHeaderCustom;
/* renamed from: o.gO, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C14823gO extends C14818gL {
public fHN e;
@InterfaceC13391fZD
public C14823gO() {
}
/* renamed from: o.gO$2, reason: invalid class name */
/* loaded from: classes3.dex */
static /* synthetic */ class AnonymousClass2 {
static final int[] c;
static {
int[] iArr = new int[YD.values().length];
c = iArr;
try {
iArr[YD.SUCCESS_HEADER.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
c[YD.REVAMP_SUCCESS_HEADER.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
c[YD.ADDITIONAL_META_DATA.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
}
}
@Override // o.C14818gL, o.C14811gF
public final ItemCustom e(Context context, EM em) {
int i = AnonymousClass2.c[em.d.ordinal()];
if (i == 1) {
return new ItemSuccessfulHeaderCustom(context);
}
if (i == 2) {
return new ItemRevampSuccessfulHeaderCustom(context);
}
if (i == 3) {
return new ItemAdditionalMetaDataCustom(context, this.e);
}
return super.e(context, em);
}
}