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

49 lines
1.4 KiB
Java

package o;
import android.content.Context;
import com.scb.phone.view.custom.tierpricing.BaseProductCatalogueView;
import com.scb.phone.view.custom.tierpricing.ProductCatalogueInterestOptionsView;
import com.scb.phone.view.custom.tierpricing.ProductCatalogueTitleView;
import kotlin.NoWhenBranchMatchedException;
import o.WS;
/* renamed from: o.gM, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C14819gM {
@InterfaceC13391fZD
public C14819gM() {
}
public static BaseProductCatalogueView<?> e(WS.IeS ieS, Context context) {
C14957gcv.e(ieS, "");
C14957gcv.e(context, "");
int i = RVV.a[ieS.ordinal()];
if (i == 1) {
return new ProductCatalogueTitleView(context);
}
if (i == 2) {
return new ProductCatalogueInterestOptionsView(context);
}
throw new NoWhenBranchMatchedException();
}
/* renamed from: o.gM$RVV */
/* loaded from: classes3.dex */
public final /* synthetic */ class RVV {
public static final int[] a;
static {
int[] iArr = new int[WS.IeS.values().length];
try {
iArr[WS.IeS.TITLE.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[WS.IeS.INTEREST.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
a = iArr;
}
}
}