package o; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import com.scb.phone.view.fragment.investment.InvestmentDetailsFragment; import com.scb.phone.view.fragment.investment.InvestmentWebViewFragment; import com.scb.phone.view.fragment.investment.discover.DiscoverFragment; /* renamed from: o.evh, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12305evh extends Oym { private final boolean c; private final boolean f; private final boolean h; private final int i; private final boolean j; public C12305evh(FragmentActivity fragmentActivity, boolean z, boolean z2, boolean z3, boolean z4, boolean z5) { super(fragmentActivity); this.j = z; this.f = z2; this.h = z3; this.c = z5; this.i = z4 ? 3 : 2; } @Override // o.Oym public final Fragment a(int i) { if (i == 1) { if (this.j) { return InvestmentWebViewFragment.b(mfY.MF_DISCOVER_PORTFOLIO); } return DiscoverFragment.h(); } if (i == 2) { return InvestmentWebViewFragment.b(mfY.MF_PRODUCT_RECOMMEND); } return (InvestmentDetailsFragment) InvestmentDetailsFragment.a(new Object[]{Boolean.valueOf(this.f), Boolean.valueOf(this.h), Boolean.valueOf(this.c)}, -183581945, 183581950, (int) System.currentTimeMillis()); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.i; } }