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

164 lines
5.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.List;
import o.AbstractC15351go;
import o.C1833aPm;
import o.InterfaceC9232dfo;
import o.ZI;
/* renamed from: o.aPm, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C1833aPm extends ZI<InterfaceC9232dfo.IeS> {
private final C15798ih b;
private final C0297Dm d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1833aPm(C15798ih c15798ih, C0297Dm c0297Dm, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15798ih, "");
C14957gcv.e(c0297Dm, "");
C14957gcv.e(c16903sI, "");
this.b = c15798ih;
this.d = c0297Dm;
}
/* renamed from: o.aPm$Sts */
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* renamed from: o.aPm$HBt */
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C1833aPm e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
ggV ggv;
Throwable th2 = th;
C14957gcv.e(th2, "");
C1833aPm.b(this.e);
if (th2 instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th2).e;
if (gdZ.a("1002", (vCl == null || (ggv = vCl.c) == null) ? null : ggv.e, true)) {
C1833aPm.d(this.e, th2);
return C14866gag.c;
}
}
C1833aPm c1833aPm = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aPk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9232dfo.IeS) obj).e();
}
};
if (c1833aPm.f != 0) {
ieS.e(c1833aPm.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C1833aPm c1833aPm) {
super(1);
this.e = c1833aPm;
}
}
/* renamed from: o.aPm$RVV */
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C17671ymh, C14866gag> {
private C1833aPm c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C17671ymh c17671ymh) {
C17671ymh c17671ymh2 = c17671ymh;
C14957gcv.e(c17671ymh2, "");
C1833aPm.b(this.c);
C0297Dm c0297Dm = this.c.d;
List<mKA> list = c17671ymh2.c;
String M = this.c.b.e.M();
C14957gcv.c((Object) M, "");
final List<C1193Xr> c = c0297Dm.c(list, M);
if (c.isEmpty()) {
C1833aPm c1833aPm = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aPn
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9232dfo.IeS) obj).e();
}
};
if (c1833aPm.f != 0) {
ieS.e(c1833aPm.f);
}
} else {
C1833aPm c1833aPm2 = this.c;
ZI.IeS ieS2 = new ZI.IeS(c) { // from class: o.aPj
private List e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1833aPm.RVV.b(this.e, (InterfaceC9232dfo.IeS) obj);
}
{
this.e = c;
}
};
if (c1833aPm2.f != 0) {
ieS2.e(c1833aPm2.f);
}
}
return C14866gag.c;
}
public static /* synthetic */ void b(List list, InterfaceC9232dfo.IeS ieS) {
C14957gcv.c(list, "");
ieS.c(list);
ieS.d();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C1833aPm c1833aPm) {
super(1);
this.c = c1833aPm;
}
}
public static final /* synthetic */ void b(C1833aPm c1833aPm) {
if (c1833aPm.f != 0) {
c1833aPm.f.aq_();
}
}
public static final /* synthetic */ void d(C1833aPm c1833aPm, Throwable th) {
if (c1833aPm.b(th)) {
c1833aPm.d(c1833aPm.j.e(th));
}
}
public final void a() {
if (this.f != 0) {
this.f.v();
}
C15798ih c15798ih = this.b;
RVV rvv = new RVV(this);
HBt hBt = new HBt(this);
C14957gcv.e(rvv, "");
C14957gcv.e(hBt, "");
c15798ih.b(c15798ih.c, rvv, hBt, new AbstractC15351go.LWm());
}
static {
new Sts((byte) 0);
}
}