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

205 lines
6.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.C15645hR;
import o.InterfaceC9046dcN;
import o.ZI;
import o.zYI;
/* renamed from: o.auk, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C3291auk extends ZI<InterfaceC9046dcN.HBt> {
private final C15645hR c;
private String d;
public HB e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3291auk(C16903sI c16903sI, C15645hR c15645hR) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15645hR, "");
this.c = c15645hR;
this.d = "";
}
/* renamed from: o.auk$LWm */
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.auk$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private InterfaceC9046dcN.HBt a;
private C3291auk b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
this.a.ar_();
C3291auk.a(this.b, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(InterfaceC9046dcN.HBt hBt, C3291auk c3291auk) {
super(1);
this.a = hBt;
this.b = c3291auk;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.auk$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<HF, C14866gag> {
private InterfaceC9046dcN.HBt d;
private C3291auk e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(HF hf) {
HF hf2 = hf;
C14957gcv.e(hf2, "");
this.e.d = hf2.b;
this.d.ar_();
this.d.a(hf2.e);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C3291auk c3291auk, InterfaceC9046dcN.HBt hBt) {
super(1);
this.e = c3291auk;
this.d = hBt;
}
}
@Override // o.ZI
public final void w_() {
this.c.a();
super.w_();
}
public static /* synthetic */ void a(C3291auk c3291auk, RetrofitException retrofitException, InterfaceC9046dcN.HBt hBt) {
String str;
C14957gcv.e(c3291auk, "");
C14957gcv.e(retrofitException, "");
VCl vCl = retrofitException.e;
if (vCl == null || vCl.c == null || (str = retrofitException.e.c.e) == null) {
str = "OTHER_ERROR";
}
if (C14957gcv.b((Object) str, (Object) "3002")) {
hBt.a();
hBt.g();
} else if (retrofitException.d != RetrofitException.RVV.SESSION_EXPIRED) {
hBt.c();
hBt.g();
} else {
c3291auk.d(c3291auk.j.d(retrofitException, C0690Mh.IeS.JUST_DISMISS));
}
}
public static /* synthetic */ void e(C3291auk c3291auk, String str, InterfaceC9046dcN.HBt hBt) {
C14957gcv.e(c3291auk, "");
C14957gcv.e(str, "");
hBt.y();
C15645hR c15645hR = c3291auk.c;
gYp gyp = new gYp(str);
Sts sts = new Sts(c3291auk, hBt);
RVV rvv = new RVV(hBt, c3291auk);
C14957gcv.e(gyp, "");
C14957gcv.e(sts, "");
C14957gcv.e(rvv, "");
c15645hR.c.e(sts, rvv, new zYI.LWm(gyp), new C15645hR.HBt(c15645hR), c15645hR.a);
}
public static /* synthetic */ void e(boolean z, String str, InterfaceC9046dcN.HBt hBt) {
if (z) {
if (C14957gcv.b((Object) str, (Object) "INBOX_NOTIFICATION")) {
hBt.b();
return;
} else {
if (C14957gcv.b((Object) str, (Object) "PUSH_NOTIFICATION")) {
hBt.e();
return;
}
return;
}
}
hBt.d();
}
public static /* synthetic */ void b(HD hd, C3291auk c3291auk, InterfaceC9046dcN.HBt hBt) {
C14957gcv.e(hd, "");
C14957gcv.e(c3291auk, "");
if (C14957gcv.b((Object) "FIXED", (Object) hd.d)) {
hBt.a(hd, c3291auk.d);
} else {
hBt.e(hd, c3291auk.d);
}
}
public static /* synthetic */ void c(Throwable th, final C3291auk c3291auk, InterfaceC9046dcN.HBt hBt) {
C14957gcv.e(th, "");
C14957gcv.e(c3291auk, "");
if (th instanceof RetrofitException) {
final RetrofitException retrofitException = (RetrofitException) th;
ZI.IeS ieS = new ZI.IeS(c3291auk, retrofitException) { // from class: o.aum
private RetrofitException a;
private C3291auk e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3291auk.a(this.e, this.a, (InterfaceC9046dcN.HBt) obj);
}
{
this.e = c3291auk;
this.a = retrofitException;
}
};
if (c3291auk.f != 0) {
ieS.e(c3291auk.f);
return;
}
return;
}
hBt.c();
hBt.g();
}
public static final /* synthetic */ void a(final C3291auk c3291auk, final Throwable th) {
ZI.IeS ieS = new ZI.IeS(th, c3291auk) { // from class: o.aur
private Throwable d;
private C3291auk e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3291auk.c(this.d, this.e, (InterfaceC9046dcN.HBt) obj);
}
{
this.d = th;
this.e = c3291auk;
}
};
if (c3291auk.f != 0) {
ieS.e(c3291auk.f);
}
}
static {
new LWm((byte) 0);
}
}