package o; import java.util.ArrayList; import java.util.List; import o.C4980bkR; import o.InterfaceC6663cZf; import o.ZI; import o.wRi; /* renamed from: o.bkR, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4980bkR extends ZI { public List a; public List b; public final mvc c; @InterfaceC13391fZD public C4980bkR(mvc mvcVar, C16903sI c16903sI) { super(c16903sI); this.c = mvcVar; } @Override // o.ZI public final void w_() { super.w_(); mvc mvcVar = this.c; if (mvcVar.h.isDisposed()) { return; } mvcVar.h.dispose(); } /* renamed from: o.bkR$HBt */ /* loaded from: classes4.dex */ public final class HBt extends wRi.LWm> { private C4980bkR a; private HBt(C4980bkR c4980bkR) { this.a = c4980bkR; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final List list = (List) obj; this.a.b = list; if (this.a.f != 0) { C4980bkR c4980bkR = this.a; ZI.IeS ieS = new ZI.IeS(list) { // from class: o.bkZ private List b; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6663cZf.Sts) obj2).e((List) this.b); } { this.b = list; } }; if (c4980bkR.f != 0) { ieS.e(c4980bkR.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C4980bkR.c(this.a); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { if (this.a.f == 0 || this.a.i(th)) { return; } C4980bkR.a(this.a); C4980bkR c4980bkR = this.a; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bkY private C4980bkR.HBt b; private Throwable c; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC6663cZf.Sts sts = (InterfaceC6663cZf.Sts) obj; sts.d(this.b.a.j.e(this.c)); } { this.b = this; this.c = th; } }; if (c4980bkR.f != 0) { ieS.e(c4980bkR.f); } } public /* synthetic */ HBt(C4980bkR c4980bkR, byte b) { this(c4980bkR); } } /* renamed from: o.bkR$LWm */ /* loaded from: classes4.dex */ public final class LWm extends wRi.LWm> { private C4980bkR c; private LWm(C4980bkR c4980bkR) { this.c = c4980bkR; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { List list = (List) obj; this.c.a = list; if (this.c.f != 0) { final ArrayList arrayList = new ArrayList(); new YKU(list).d(new qsu(arrayList) { // from class: o.bkU private List e; @Override // o.qsu public final void d(Object obj2) { this.e.add(((C0137ATv) obj2).b); } { this.e = arrayList; } }); C4980bkR c4980bkR = this.c; ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.bkV private List e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6663cZf.Sts) obj2).e((List) this.e); } { this.e = arrayList; } }; if (c4980bkR.f != 0) { ieS.e(c4980bkR.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C4980bkR.e(this.c); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { if (this.c.f == 0 || this.c.i(th)) { return; } C4980bkR.d(this.c); C4980bkR c4980bkR = this.c; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bkT private Throwable a; private C4980bkR.LWm c; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC6663cZf.Sts sts = (InterfaceC6663cZf.Sts) obj; sts.d(this.c.c.j.e(this.a)); } { this.c = this; this.a = th; } }; if (c4980bkR.f != 0) { ieS.e(c4980bkR.f); } } public /* synthetic */ LWm(C4980bkR c4980bkR, byte b) { this(c4980bkR); } } static /* synthetic */ void c(C4980bkR c4980bkR) { if (c4980bkR.f != 0) { c4980bkR.f.aq_(); } } static /* synthetic */ void a(C4980bkR c4980bkR) { if (c4980bkR.f != 0) { c4980bkR.f.aq_(); } } static /* synthetic */ void e(C4980bkR c4980bkR) { if (c4980bkR.f != 0) { c4980bkR.f.aq_(); } } static /* synthetic */ void d(C4980bkR c4980bkR) { if (c4980bkR.f != 0) { c4980bkR.f.aq_(); } } }