package o; import java.util.List; import o.InterfaceC9388dim; import o.ZI; import o.bBB; import o.tJR; import o.wRi; /* loaded from: classes4.dex */ public final class bBB extends ZI { public YV a; public final C17144uK b; public String c; public final C17809ztu d; public List e; public final C17162uS g; private final C0274Cw h; private final C17169uV i; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public bBB(C17809ztu c17809ztu, C17169uV c17169uV, C0274Cw c0274Cw, C17144uK c17144uK, C17162uS c17162uS, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c17809ztu, ""); C14957gcv.e(c17169uV, ""); C14957gcv.e(c0274Cw, ""); C14957gcv.e(c17144uK, ""); C14957gcv.e(c17162uS, ""); C14957gcv.e(c16903sI, ""); this.d = c17809ztu; this.i = c17169uV; this.h = c0274Cw; this.b = c17144uK; this.g = c17162uS; } /* loaded from: classes4.dex */ public final class RVV extends wRi.LWm { private bBB b; public RVV(bBB bbb) { this.b = bbb; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final pQV pqv = (pQV) obj; C14957gcv.e(pqv, ""); final bBB bbb = this.b; ZI.IeS ieS = new ZI.IeS(pqv, bbb) { // from class: o.bBF private bBB b; private pQV e; @Override // o.ZI.IeS public final void e(Object obj2) { bBB.RVV.c(this.e, this.b, (InterfaceC9388dim.LWm) obj2); } { this.e = pqv; this.b = bbb; } }; if (bbb.f != 0) { ieS.e(bbb.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { bBB.d(this.b); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); bBB.d(this.b); if (this.b.i(th)) { return; } bBB.e(this.b, th); } public static /* synthetic */ void c(pQV pqv, bBB bbb, InterfaceC9388dim.LWm lWm) { C14957gcv.e(pqv, ""); C14957gcv.e(bbb, ""); String str = pqv.g; C17169uV c17169uV = bbb.i; String str2 = bbb.c; YV yv = null; if (str2 == null) { C14957gcv.a(""); str2 = null; } YV yv2 = bbb.a; if (yv2 == null) { C14957gcv.a(""); } else { yv = yv2; } lWm.a(str, c17169uV.e(str2, pqv, yv == YV.NEW_SUITABILITY)); } } public static /* synthetic */ void d(bBB bbb, C0819Pd c0819Pd, List list, YV yv, InterfaceC9388dim.LWm lWm) { C14957gcv.e(bbb, ""); C14957gcv.e(c0819Pd, ""); C14957gcv.e(list, ""); C14957gcv.e(yv, ""); C0274Cw c0274Cw = bbb.h; List b = C0274Cw.b(c0819Pd.c, list); int i = IeS.c[yv.ordinal()]; if (i == 1) { lWm.a(c0819Pd, b); } else if (i == 2) { lWm.b(c0819Pd, b); tJR.LWm lWm2 = tJR.a; lWm.b(tJR.LWm.d("mfport_suit_summary")); } lWm.a(); } public static final /* synthetic */ void d(bBB bbb) { if (bbb.f != 0) { bbb.f.ar_(); } } public static final /* synthetic */ void e(bBB bbb, Throwable th) { if (bbb.b(th)) { bbb.d(bbb.j.e(th)); } } /* loaded from: classes4.dex */ public final /* synthetic */ class IeS { public static final int[] c; static { int[] iArr = new int[YV.values().length]; try { iArr[YV.OLD_SUITABILITY.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[YV.NEW_SUITABILITY.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } c = iArr; } } }