package o; import o.C15715hv; import o.C15961jvX; import o.C4612bdU; import o.ZI; import o.wRi; /* renamed from: o.bdU, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C4612bdU extends ZI { public final C16706qX a; public final fKT b; private final CQ c; private final C15737iE e; public static final /* synthetic */ void b(C4612bdU c4612bdU, String str) { C15737iE c15737iE = c4612bdU.e; RVV rvv = new RVV(c4612bdU, str); LWm lWm = new LWm(c4612bdU); C14957gcv.e(rvv, ""); C14957gcv.e(lWm, ""); C14957gcv.e(str, ""); c15737iE.b(c15737iE.c, rvv, lWm, new C15961jvX.HBt(str)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C4612bdU(C16903sI c16903sI, fKT fkt, C16706qX c16706qX, CQ cq, C15737iE c15737iE) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(fkt, ""); C14957gcv.e(c16706qX, ""); C14957gcv.e(cq, ""); C14957gcv.e(c15737iE, ""); this.b = fkt; this.a = c16706qX; this.c = cq; this.e = c15737iE; } /* renamed from: o.bdU$Sts */ /* loaded from: classes4.dex */ public static final class Sts extends wRi.LWm { private C4612bdU b; public Sts(C4612bdU c4612bdU) { this.b = c4612bdU; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C0371Fd e; final C16387nrD c16387nrD = (C16387nrD) obj; C14957gcv.e(c16387nrD, ""); super.onNext(c16387nrD); e = this.b.c.e(null, c16387nrD, false, false, null, (r18 & 32) != 0 ? false : false, null, null, (r18 & 256) != 0 ? C15715hv.LWm.transparent : C15715hv.LWm.white); final C4612bdU c4612bdU = this.b; ZI.IeS ieS = new ZI.IeS(c16387nrD, e, c4612bdU) { // from class: o.bea private C4612bdU a; private C0371Fd b; private C16387nrD d; @Override // o.ZI.IeS public final void e(Object obj2) { C4612bdU.Sts.d(this.d, this.b, this.a, (InterfaceC9239dfv) obj2); } { this.d = c16387nrD; this.b = e; this.a = c4612bdU; } }; if (c4612bdU.f != 0) { ieS.e(c4612bdU.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); C4612bdU.a(this.b); C4612bdU c4612bdU = this.b; C4616bdY c4616bdY = new C4616bdY(); if (c4612bdU.f != 0) { c4616bdY.e(c4612bdU.f); } } public static /* synthetic */ void d(C16387nrD c16387nrD, C0371Fd c0371Fd, C4612bdU c4612bdU, InterfaceC9239dfv interfaceC9239dfv) { String str; C14957gcv.e(c16387nrD, ""); C14957gcv.e(c0371Fd, ""); C14957gcv.e(c4612bdU, ""); if (Dae.PDF != c16387nrD.e) { C4612bdU.a(c4612bdU); interfaceC9239dfv.a(c0371Fd); return; } String str2 = c0371Fd.k; if (str2 != null && !gdZ.e(str2, "http", false)) { str = c4612bdU.c.b_(c0371Fd.k); } else { str = c0371Fd.k; } C4612bdU.b(c4612bdU, str != null ? str : ""); } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.bdU$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C4612bdU e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); C4612bdU.a(this.e); C4612bdU c4612bdU = this.e; C4616bdY c4616bdY = new C4616bdY(); if (c4612bdU.f != 0) { c4616bdY.e(c4612bdU.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C4612bdU c4612bdU) { super(1); this.e = c4612bdU; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.bdU$RVV */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private C4612bdU d; private String e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Integer num) { int intValue = num.intValue(); C4612bdU.a(this.d); if (200 == intValue) { C4612bdU c4612bdU = this.d; final String str = this.e; ZI.IeS ieS = new ZI.IeS(str) { // from class: o.bdZ private String e; @Override // o.ZI.IeS public final void e(Object obj) { C4612bdU.RVV.a(this.e, (InterfaceC9239dfv) obj); } { this.e = str; } }; if (c4612bdU.f != 0) { ieS.e(c4612bdU.f); } } else { C4612bdU c4612bdU2 = this.d; C4616bdY c4616bdY = new C4616bdY(); if (c4612bdU2.f != 0) { c4616bdY.e(c4612bdU2.f); } } return C14866gag.c; } public static /* synthetic */ void a(String str, InterfaceC9239dfv interfaceC9239dfv) { C14957gcv.e(str, ""); interfaceC9239dfv.c(str); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C4612bdU c4612bdU, String str) { super(1); this.d = c4612bdU; this.e = str; } } @Override // o.ZI public final void w_() { this.b.b.e(); super.w_(); } /* renamed from: o.bdU$IeS */ /* loaded from: classes4.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } public static final /* synthetic */ void a(C4612bdU c4612bdU) { if (c4612bdU.f != 0) { c4612bdU.f.ar_(); } } static { new IeS((byte) 0); } }