package o; import java.util.List; import o.C3869bJd; import o.PRA; import o.ZI; import o.wRi; /* renamed from: o.bJd, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C3869bJd extends ZI { private final C17259vL b; public final C17164uSo c; public List d; public final Zxt e; @InterfaceC13391fZD public C3869bJd(Zxt zxt, C17164uSo c17164uSo, C17259vL c17259vL, C16903sI c16903sI) { super(c16903sI); this.e = zxt; this.c = c17164uSo; this.b = c17259vL; } /* renamed from: o.bJd$4, reason: invalid class name */ /* loaded from: classes4.dex */ public class AnonymousClass4 extends wRi.LWm { private C3869bJd c; public AnonymousClass4(C3869bJd c3869bJd) { this.c = c3869bJd; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final NHA nha = (NHA) obj; C3869bJd c3869bJd = this.c; YKU yku = new YKU(nha.c); c3869bJd.d = (List) new YKU(yku.a, new C17745zRk(yku.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.bJg @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { int i; i = ((MEd) obj2).c; return Integer.valueOf(i); } }))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); C3869bJd.c(this.c); C3869bJd c3869bJd2 = this.c; ZI.IeS ieS = new ZI.IeS(this, nha) { // from class: o.bJf private C3869bJd.AnonymousClass4 b; private NHA c; @Override // o.ZI.IeS public final void e(Object obj2) { C3869bJd.AnonymousClass4.c(this.b, this.c, (InterfaceC9370diU) obj2); } { this.b = this; this.c = nha; } }; if (c3869bJd2.f != 0) { ieS.e(c3869bJd2.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C3869bJd.a(this.c, th, new Runnable(this) { // from class: o.bJe private C3869bJd.AnonymousClass4 e; @Override // java.lang.Runnable public final void run() { C3869bJd.AnonymousClass4.d(this.e); } { this.e = this; } }); } public static /* synthetic */ void d(AnonymousClass4 anonymousClass4) { C3869bJd c3869bJd = anonymousClass4.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.bJh @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9370diU) obj).d(); } }; if (c3869bJd.f != 0) { ieS.e(c3869bJd.f); } } public static /* synthetic */ void c(AnonymousClass4 anonymousClass4, NHA nha, InterfaceC9370diU interfaceC9370diU) { C17259vL unused = anonymousClass4.c.b; interfaceC9370diU.c(C17259vL.a(nha)); } } @Override // o.ZI public final void w_() { super.w_(); Zxt zxt = this.e; if (!zxt.h.isDisposed()) { zxt.h.dispose(); } C17164uSo c17164uSo = this.c; if (c17164uSo.h.isDisposed()) { return; } c17164uSo.h.dispose(); } static /* synthetic */ void c(C3869bJd c3869bJd) { if (c3869bJd.f != 0) { c3869bJd.f.ar_(); } } static /* synthetic */ void a(C3869bJd c3869bJd, Throwable th, Runnable runnable) { if (c3869bJd.b(th)) { c3869bJd.d(c3869bJd.j.c(th, runnable)); } } static /* synthetic */ void d(C3869bJd c3869bJd) { if (c3869bJd.f != 0) { c3869bJd.f.ar_(); } } static /* synthetic */ void e(C3869bJd c3869bJd, Throwable th) { if (c3869bJd.b(th)) { c3869bJd.d(c3869bJd.j.e(th)); } } }