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

148 lines
5.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.Objects;
import o.C3862bJJ;
import o.ZI;
import o.wRi;
/* renamed from: o.bJJ, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C3862bJJ extends ZI<InterfaceC9372diW> {
private final C17253vK a;
public final C16854rpw d;
@InterfaceC13391fZD
public C3862bJJ(C16903sI c16903sI, C16854rpw c16854rpw, C17253vK c17253vK) {
super(c16903sI);
this.d = c16854rpw;
this.a = c17253vK;
}
/* renamed from: o.bJJ$3, reason: invalid class name */
/* loaded from: classes4.dex */
public class AnonymousClass3 extends wRi.LWm<OIP> {
private C3862bJJ b;
public AnonymousClass3(C3862bJJ c3862bJJ) {
this.b = c3862bJJ;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final OIP oip = (OIP) obj;
C3862bJJ.d(this.b);
C3862bJJ c3862bJJ = this.b;
ZI.IeS ieS = new ZI.IeS(this, oip) { // from class: o.bJM
private OIP a;
private C3862bJJ.AnonymousClass3 d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3862bJJ.AnonymousClass3.d(this.d, this.a, (InterfaceC9372diW) obj2);
}
{
this.d = this;
this.a = oip;
}
};
if (c3862bJJ.f != 0) {
ieS.e(c3862bJJ.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
C3862bJJ c3862bJJ = this.b;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bJL
private C3862bJJ.AnonymousClass3 d;
private Throwable e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3862bJJ.AnonymousClass3.c(this.d, this.e, (InterfaceC9372diW) obj);
}
{
this.d = this;
this.e = th;
}
};
if (c3862bJJ.f != 0) {
ieS.e(c3862bJJ.f);
}
}
public static /* synthetic */ void c(AnonymousClass3 anonymousClass3, Throwable th, final InterfaceC9372diW interfaceC9372diW) {
if (anonymousClass3.b.i(th)) {
return;
}
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e != null && retrofitException.e.c != null && retrofitException.e.c.e != null) {
String str = retrofitException.e.c.e;
if (str.equalsIgnoreCase("1035") || str.equalsIgnoreCase("1037") || str.equalsIgnoreCase("1038")) {
C3862bJJ.e(anonymousClass3.b);
interfaceC9372diW.k_(anonymousClass3.b.j.e(th).c);
return;
} else {
C3862bJJ c3862bJJ = anonymousClass3.b;
Objects.requireNonNull(interfaceC9372diW);
C3862bJJ.d(c3862bJJ, th, new Runnable(interfaceC9372diW) { // from class: o.bJK
private InterfaceC9372diW e;
@Override // java.lang.Runnable
public final void run() {
this.e.c();
}
{
this.e = interfaceC9372diW;
}
});
return;
}
}
}
C3862bJJ.d(anonymousClass3.b, th);
}
public static /* synthetic */ void d(AnonymousClass3 anonymousClass3, OIP oip, InterfaceC9372diW interfaceC9372diW) {
C17253vK c17253vK = anonymousClass3.b.a;
C14957gcv.e(oip, "");
String str = (String) C16157lj.c(new Object[]{c17253vK, cXG.d("yyyy-MM-dd'T'HH:mm:ss", oip.e)}, 838289628, -838289623, System.identityHashCode(c17253vK));
C14957gcv.c((Object) str, "");
String str2 = oip.a;
String str3 = oip.d;
String str4 = (String) C16157lj.c(new Object[]{oip.b, true}, 1230925834, -1230925834, (int) System.currentTimeMillis());
C14957gcv.c((Object) str4, "");
interfaceC9372diW.b(new C0892Qw(str, str2, str3, str4, oip.c));
}
}
static /* synthetic */ void d(C3862bJJ c3862bJJ) {
if (c3862bJJ.f != 0) {
c3862bJJ.f.ar_();
}
}
static /* synthetic */ void e(C3862bJJ c3862bJJ) {
if (c3862bJJ.f != 0) {
c3862bJJ.f.ar_();
}
}
static /* synthetic */ void d(C3862bJJ c3862bJJ, Throwable th, Runnable runnable) {
if (c3862bJJ.b(th)) {
c3862bJJ.d(c3862bJJ.j.c(th, runnable));
}
}
static /* synthetic */ void d(C3862bJJ c3862bJJ, Throwable th) {
if (c3862bJJ.b(th)) {
c3862bJJ.d(c3862bJJ.j.e(th));
}
}
}