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

260 lines
8.1 KiB
Java

package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.C15715hv;
import o.C4422bZp;
import o.InterfaceC9488dkg;
import o.ZI;
/* renamed from: o.bZp, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4422bZp extends ZI<InterfaceC9488dkg.HBt> {
public final C15849jC e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4422bZp(C16903sI c16903sI, C15849jC c15849jC) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15849jC, "");
this.e = c15849jC;
}
/* renamed from: o.bZp$Sts */
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* renamed from: o.bZp$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<C16296nGh, C14866gag> {
private C4422bZp d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C16296nGh c16296nGh) {
final C16296nGh c16296nGh2 = c16296nGh;
C14957gcv.e(c16296nGh2, "");
C4422bZp.c(this.d);
C4422bZp c4422bZp = this.d;
ZI.IeS ieS = new ZI.IeS(c16296nGh2) { // from class: o.bZy
private C16296nGh c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4422bZp.IeS.d(this.c, (InterfaceC9488dkg.HBt) obj);
}
{
this.c = c16296nGh2;
}
};
if (c4422bZp.f != 0) {
ieS.e(c4422bZp.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C16296nGh c16296nGh, InterfaceC9488dkg.HBt hBt) {
C14957gcv.e(c16296nGh, "");
hBt.c(c16296nGh);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C4422bZp c4422bZp) {
super(1);
this.d = c4422bZp;
}
}
/* renamed from: o.bZp$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4422bZp c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
VCl vCl;
ggV ggv;
Throwable th2 = th;
C14957gcv.e(th2, "");
C4422bZp.c(this.c);
String str = null;
RetrofitException retrofitException = th2 instanceof RetrofitException ? (RetrofitException) th2 : null;
if (retrofitException != null && (vCl = retrofitException.e) != null && (ggv = vCl.c) != null) {
str = ggv.e;
}
if (!C14957gcv.b((Object) str, (Object) "3059")) {
C4422bZp.b(this.c, th2);
} else {
C4422bZp c4422bZp = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bZx
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9488dkg.HBt) obj).a();
}
};
if (c4422bZp.f != 0) {
ieS.e(c4422bZp.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C4422bZp c4422bZp) {
super(1);
this.c = c4422bZp;
}
}
/* renamed from: o.bZp$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4422bZp d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C14957gcv.e(th, "");
C4422bZp c4422bZp = this.d;
int i = C15715hv.tOB.error_generic_resource;
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
C16903sI c16903sI = c4422bZp.j;
c4422bZp.d(c16903sI.c((String) null, c16903sI.e(i), ieS));
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C4422bZp c4422bZp) {
super(1);
this.d = c4422bZp;
}
}
/* renamed from: o.bZp$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Gbd, C14866gag> {
private C4422bZp e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Gbd gbd) {
Gbd gbd2 = gbd;
C14957gcv.e(gbd2, "");
C4422bZp.c(this.e);
C4422bZp.e(this.e, gbd2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C4422bZp c4422bZp) {
super(1);
this.e = c4422bZp;
}
}
public static /* synthetic */ void a(Gbd gbd, final C4422bZp c4422bZp, InterfaceC9488dkg.HBt hBt) {
C14957gcv.e(gbd, "");
C14957gcv.e(c4422bZp, "");
hBt.d(gbd.a.a, gbd.d.c, gbd.d.b);
final String str = gbd.a.c;
final String str2 = gbd.d.b;
ZI.IeS ieS = new ZI.IeS(str, c4422bZp, str2) { // from class: o.bZt
private C4422bZp b;
private String d;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4422bZp.c(this.d, this.b, this.e, (InterfaceC9488dkg.HBt) obj);
}
{
this.d = str;
this.b = c4422bZp;
this.e = str2;
}
};
if (c4422bZp.f != 0) {
ieS.e(c4422bZp.f);
}
}
public static /* synthetic */ void c(String str, C4422bZp c4422bZp, final String str2, InterfaceC9488dkg.HBt hBt) {
C14957gcv.e(str, "");
C14957gcv.e(c4422bZp, "");
C14957gcv.e(str2, "");
if (C14957gcv.b((Object) "Y", (Object) str)) {
hBt.c();
ZI.IeS ieS = new ZI.IeS(str2) { // from class: o.bZw
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4422bZp.e(this.e, (InterfaceC9488dkg.HBt) obj);
}
{
this.e = str2;
}
};
if (c4422bZp.f != 0) {
ieS.e(c4422bZp.f);
return;
}
return;
}
hBt.b();
}
public static /* synthetic */ void e(String str, InterfaceC9488dkg.HBt hBt) {
C14957gcv.e(str, "");
if (C14957gcv.b((Object) "enrolled", (Object) str)) {
hBt.e(C15715hv.LWm.light_green);
} else {
hBt.e(C15715hv.LWm.red);
}
}
public static final /* synthetic */ void e(final C4422bZp c4422bZp, final Gbd gbd) {
ZI.IeS ieS = new ZI.IeS(gbd, c4422bZp) { // from class: o.bZv
private Gbd a;
private C4422bZp b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4422bZp.a(this.a, this.b, (InterfaceC9488dkg.HBt) obj);
}
{
this.a = gbd;
this.b = c4422bZp;
}
};
if (c4422bZp.f != 0) {
ieS.e(c4422bZp.f);
}
}
public static final /* synthetic */ void c(C4422bZp c4422bZp) {
if (c4422bZp.f != 0) {
c4422bZp.f.ar_();
}
}
public static final /* synthetic */ void b(C4422bZp c4422bZp, Throwable th) {
if (c4422bZp.b(th)) {
c4422bZp.d(c4422bZp.j.e(th));
}
}
static {
new Sts((byte) 0);
}
}