what-the-bank/sources/o/C5592bvv.java

120 lines
3.7 KiB
Java

package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C5592bvv;
import o.ZI;
import o.wRi;
/* renamed from: o.bvv, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C5592bvv extends ZI<InterfaceC9307dhK> {
private final Aog a;
public void c() {
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5592bvv(C16903sI c16903sI, Aog aog) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(aog, "");
this.a = aog;
}
/* renamed from: o.bvv$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends wRi.LWm<C14866gag> {
private C5592bvv b;
Sts(C5592bvv c5592bvv) {
this.b = c5592bvv;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
super.onComplete();
C5592bvv.e(this.b);
C5592bvv c5592bvv = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bvD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9307dhK) obj).d();
}
};
if (c5592bvv.f != 0) {
ieS.e(c5592bvv.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
ggV ggv;
C14957gcv.e(th, "");
super.onError(th);
C5592bvv.e(this.b);
if (th instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th).e;
String str = (vCl == null || (ggv = vCl.c) == null) ? null : ggv.e;
if (C14957gcv.b((Object) str, (Object) "1087") || C14957gcv.b((Object) str, (Object) "1089")) {
C5592bvv c5592bvv = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bvC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9307dhK) obj).b();
}
};
if (c5592bvv.f != 0) {
ieS.e(c5592bvv.f);
return;
}
return;
}
final C5592bvv c5592bvv2 = this.b;
ZI.IeS ieS2 = new ZI.IeS(c5592bvv2, th) { // from class: o.bvA
private Throwable a;
private C5592bvv c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5592bvv.Sts.e(this.c, this.a, (InterfaceC9307dhK) obj);
}
{
this.c = c5592bvv2;
this.a = th;
}
};
if (c5592bvv2.f != 0) {
ieS2.e(c5592bvv2.f);
}
}
}
public static /* synthetic */ void e(C5592bvv c5592bvv, Throwable th, InterfaceC9307dhK interfaceC9307dhK) {
C14957gcv.e(c5592bvv, "");
C14957gcv.e(th, "");
String str = c5592bvv.j.e(th).c;
C14957gcv.c((Object) str, "");
interfaceC9307dhK.b(str);
interfaceC9307dhK.c();
}
}
public static final /* synthetic */ void e(C5592bvv c5592bvv) {
if (c5592bvv.f != 0) {
c5592bvv.f.ar_();
}
}
public void b(String str) {
C14957gcv.e(str, "");
if (this.f != 0) {
this.f.y();
}
this.a.d(str);
Aog aog = this.a;
aog.d(aog.i, new Sts(this));
}
}