package o; import java.util.List; import java.util.NoSuchElementException; import o.C4889big; import o.InterfaceC9273dgd; import o.ZI; import o.wRi; /* renamed from: o.big, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4889big extends ZI implements InterfaceC4774bgX { public yGw a; public C16928sV b; public C0708Mt c; public iRl d; @InterfaceC13391fZD public C4889big(C16903sI c16903sI, C16928sV c16928sV, iRl irl, yGw ygw) { super(c16903sI); this.b = c16928sV; this.d = irl; this.a = ygw; } /* renamed from: o.big$1, reason: invalid class name */ /* loaded from: classes4.dex */ public class AnonymousClass1 extends wRi.LWm> { private C0708Mt a; private C0698Mn b; private C0710Mv d; private C4889big e; public AnonymousClass1(C4889big c4889big, C0698Mn c0698Mn, C0708Mt c0708Mt, C0710Mv c0710Mv) { this.e = c4889big; this.b = c0698Mn; this.a = c0708Mt; this.d = c0710Mv; } /* JADX WARN: Multi-variable type inference failed */ @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { zEQ d; String str; List list = (List) obj; super.onNext(list); YKU yku = new YKU(list); if (yku.b.hasNext()) { d = zEQ.a(yku.b.next()); } else { d = zEQ.d(); } if (d.d == 0) { str = ""; } else { T t = d.d; if (t == 0) { throw new NoSuchElementException("No value present"); } str = ((LEE) t).a; } final String str2 = str; C4889big c4889big = this.e; final C0698Mn c0698Mn = this.b; ZI.IeS ieS = new ZI.IeS(this, c0698Mn) { // from class: o.bin private C0698Mn a; private C4889big.AnonymousClass1 d; @Override // o.ZI.IeS public final void e(Object obj2) { InterfaceC9273dgd.ojQ ojq = (InterfaceC9273dgd.ojQ) obj2; ojq.a(this.d.e.b.d(this.a)); } { this.d = this; this.a = c0698Mn; } }; if (c4889big.f != 0) { ieS.e(c4889big.f); } C4889big c4889big2 = this.e; final C0708Mt c0708Mt = this.a; ZI.IeS ieS2 = new ZI.IeS(this, c0708Mt) { // from class: o.bir private C4889big.AnonymousClass1 c; private C0708Mt d; @Override // o.ZI.IeS public final void e(Object obj2) { InterfaceC9273dgd.ojQ ojq = (InterfaceC9273dgd.ojQ) obj2; ojq.d(this.c.e.b.c(this.d)); } { this.c = this; this.d = c0708Mt; } }; if (c4889big2.f != 0) { ieS2.e(c4889big2.f); } if (this.e.a(this.b.c)) { C4889big c4889big3 = this.e; C4893bik c4893bik = new C4893bik(); if (c4889big3.f != 0) { c4893bik.e(c4889big3.f); } } else if (this.e.e(this.b.c)) { C4889big c4889big4 = this.e; C4895bim c4895bim = new C4895bim(); if (c4889big4.f != 0) { c4895bim.e(c4889big4.f); } } C4889big c4889big5 = this.e; final C0710Mv c0710Mv = this.d; ZI.IeS ieS3 = new ZI.IeS(this, c0710Mv, str2) { // from class: o.biq private String b; private C0710Mv d; private C4889big.AnonymousClass1 e; @Override // o.ZI.IeS public final void e(Object obj2) { InterfaceC9273dgd.ojQ ojq = (InterfaceC9273dgd.ojQ) obj2; ojq.c(this.e.e.b.d(this.d, this.b)); } { this.e = this; this.d = c0710Mv; this.b = str2; } }; if (c4889big5.f != 0) { ieS3.e(c4889big5.f); } C4889big c4889big6 = this.e; final C0698Mn c0698Mn2 = this.b; final C0710Mv c0710Mv2 = this.d; final C0708Mt c0708Mt2 = this.a; ZI.IeS ieS4 = new ZI.IeS(this, c0698Mn2, c0710Mv2, c0708Mt2, str2) { // from class: o.biw private String a; private C4889big.AnonymousClass1 b; private C0710Mv c; private C0708Mt d; private C0698Mn e; @Override // o.ZI.IeS public final void e(Object obj2) { InterfaceC9273dgd.ojQ ojq = (InterfaceC9273dgd.ojQ) obj2; ojq.d(r0.e.b.c(this.e, this.c, this.d, this.a, this.b.e.d.a.M())); } { this.b = this; this.e = c0698Mn2; this.c = c0710Mv2; this.d = c0708Mt2; this.a = str2; } }; if (c4889big6.f != 0) { ieS4.e(c4889big6.f); } if (this.e.d.a.V()) { C4889big c4889big7 = this.e; ZI.IeS ieS5 = new ZI.IeS() { // from class: o.biu @Override // o.ZI.IeS public final void e(Object obj2) { C4889big.AnonymousClass1.b((InterfaceC9273dgd.ojQ) obj2); } }; if (c4889big7.f != 0) { ieS5.e(c4889big7.f); return; } return; } C4889big c4889big8 = this.e; ZI.IeS ieS6 = new ZI.IeS() { // from class: o.bis @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.ojQ) obj2).d(true); } }; if (c4889big8.f != 0) { ieS6.e(c4889big8.f); } if (this.a.d) { C4889big c4889big9 = this.e; C4891bii c4891bii = new C4891bii(); if (c4889big9.f != 0) { c4891bii.e(c4889big9.f); } } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void b(InterfaceC9273dgd.ojQ ojq) { ojq.d(false); ojq.e(false); } } /* renamed from: o.big$HBt */ /* loaded from: classes4.dex */ public final class HBt extends wRi.LWm> { private C4889big b; private HBt(C4889big c4889big) { this.b = c4889big; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C4889big c4889big = this.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.bit @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.ojQ) obj2).c(); } }; if (c4889big.f != 0) { ieS.e(c4889big.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(final Throwable th) { C4889big c4889big = this.b; ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.biv private Throwable b; private C4889big.HBt d; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC9273dgd.ojQ ojq = (InterfaceC9273dgd.ojQ) obj; ojq.e(r0.b.j.c(this.b, new Runnable(this.d) { // from class: o.biz private C4889big.HBt b; @Override // java.lang.Runnable public final void run() { C4889big.HBt.b(this.b); } { this.b = r1; } })); } { this.d = this; this.b = th; } }; if (c4889big.f != 0) { ieS.e(c4889big.f); } } public static /* synthetic */ void b(HBt hBt) { C4889big c4889big = hBt.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.bix @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9273dgd.ojQ) obj).b(); } }; if (c4889big.f != 0) { ieS.e(c4889big.f); } } public /* synthetic */ HBt(C4889big c4889big, byte b) { this(c4889big); } } }