package o; import com.scb.phone.domain.errors.RetrofitException; import o.ZI; import o.bJD; import o.wRi; /* loaded from: classes4.dex */ public class bJD extends ZI { public WVH a; public int c; @InterfaceC13391fZD public bJD(C16903sI c16903sI, WVH wvh) { super(c16903sI); this.c = 0; this.a = wvh; } /* loaded from: classes4.dex */ public final class Sts extends wRi.LWm { private bJD d; private Sts(bJD bjd) { this.d = bjd; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C11448efY c11448efY = (C11448efY) obj; super.onNext(c11448efY); bJD.e(this.d); bJD bjd = this.d; ZI.IeS ieS = new ZI.IeS(c11448efY) { // from class: o.bJE private C11448efY e; @Override // o.ZI.IeS public final void e(Object obj2) { bJD.Sts.a(this.e, (InterfaceC9373diX) obj2); } { this.e = c11448efY; } }; if (bjd.f != 0) { ieS.e(bjd.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { super.onError(th); if ((th instanceof RetrofitException) && ((RetrofitException) th).e.c.e.equals("3010")) { bJD.c(this.d, th, new Runnable(this) { // from class: o.bJI private bJD.Sts c; @Override // java.lang.Runnable public final void run() { bJD.Sts.b(this.c); } { this.c = this; } }); } else { bJD.a(this.d, th); } } public static /* synthetic */ void b(Sts sts) { bJD bjd = sts.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.bJH @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9373diX) obj).c(); } }; if (bjd.f != 0) { ieS.e(bjd.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void a(C11448efY c11448efY, InterfaceC9373diX interfaceC9373diX) { if (c11448efY.b) { interfaceC9373diX.e(); } else { interfaceC9373diX.a(); } } public /* synthetic */ Sts(bJD bjd, byte b) { this(bjd); } } static /* synthetic */ void e(bJD bjd) { if (bjd.f != 0) { bjd.f.ar_(); } } static /* synthetic */ void c(bJD bjd, Throwable th, Runnable runnable) { if (bjd.b(th)) { bjd.d(bjd.j.c(th, runnable)); } } static /* synthetic */ void a(bJD bjd, Throwable th) { if (bjd.b(th)) { bjd.d(bjd.j.e(th)); } } @Override // o.ZI public final void w_() { WVH wvh = this.a; if (!wvh.h.isDisposed()) { wvh.h.dispose(); } super.w_(); } }