package o; import o.C0690Mh; import o.C7912cxL; import o.InterfaceC8972dat; import o.ZI; import o.wRi; /* renamed from: o.cxL, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C7912cxL extends ZI { private final C0213Bl b; public final eTT d; public C1189Xo e; public static String b(String str, String str2) { return str2 != null ? str2 : str; } @InterfaceC13391fZD public C7912cxL(C16903sI c16903sI, eTT ett, C0213Bl c0213Bl) { super(c16903sI); this.d = ett; this.b = c0213Bl; } public static String d(String str, String str2) { if (str == null || str2 == null || str2.isEmpty()) { return null; } return str2; } /* renamed from: o.cxL$IeS */ /* loaded from: classes4.dex */ public final class IeS extends wRi.LWm { private C7912cxL c; private IeS(C7912cxL c7912cxL) { this.c = c7912cxL; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final DpR dpR = (DpR) obj; C7912cxL c7912cxL = this.c; ZI.IeS ieS = new ZI.IeS(this, dpR) { // from class: o.cxU private C7912cxL.IeS b; private DpR d; @Override // o.ZI.IeS public final void e(Object obj2) { InterfaceC8972dat.ojQ ojq = (InterfaceC8972dat.ojQ) obj2; ojq.e(r0.c.b.a(this.d, this.b.c.e)); } { this.b = this; this.d = dpR; } }; if (c7912cxL.f != 0) { ieS.e(c7912cxL.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C7912cxL c7912cxL = this.c; C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK; if (c7912cxL.b(th)) { c7912cxL.d(c7912cxL.j.b(th, ieS)); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C7912cxL.c(this.c); super.onComplete(); } public /* synthetic */ IeS(C7912cxL c7912cxL, byte b) { this(c7912cxL); } } public static /* synthetic */ void a(C7912cxL c7912cxL, InterfaceC8972dat.ojQ ojq) { C1189Xo c1189Xo = c7912cxL.e; ojq.e(); } static /* synthetic */ void c(C7912cxL c7912cxL) { if (c7912cxL.f != 0) { c7912cxL.f.ar_(); } } }