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

287 lines
9.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import o.C0690Mh;
import o.C15715hv;
import o.C15716hvG;
import o.InterfaceC9638dna;
import o.ZI;
/* renamed from: o.cHn */
/* loaded from: classes4.dex */
public final class C6070cHn extends ZI<InterfaceC9638dna.Sts> {
public List<? extends PL> a;
public final C15976kA b;
public WA c;
public int d;
public PL e;
public final C0276Cy g;
public final C15994kL h;
public final C0264Cq i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6070cHn(C15976kA c15976kA, C15994kL c15994kL, C0264Cq c0264Cq, C0276Cy c0276Cy, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15976kA, "");
C14957gcv.e(c15994kL, "");
C14957gcv.e(c0264Cq, "");
C14957gcv.e(c0276Cy, "");
C14957gcv.e(c16903sI, "");
this.b = c15976kA;
this.h = c15994kL;
this.i = c0264Cq;
this.g = c0276Cy;
}
/* renamed from: o.cHn$Sts */
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts extends C14954gcs implements InterfaceC14894gbR<WA, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(WA wa) {
WA wa2 = wa;
C14957gcv.e(wa2, "");
C6070cHn.a((C6070cHn) this.f, wa2);
return C14866gag.c;
}
public Sts(Object obj) {
super(1, obj, C6070cHn.class, "onSuccessMfClientInquiry", "onSuccessMfClientInquiry(Lcom/scb/phone/presentation/model/display/singleform/SingleFormMfClientInquiryDisplay;)V");
}
}
/* renamed from: o.cHn$LWm */
/* loaded from: classes4.dex */
public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C6070cHn.c((C6070cHn) this.f, th2);
return C14866gag.c;
}
public LWm(Object obj) {
super(1, obj, C6070cHn.class, "onErrorMfClientInquiry", "onErrorMfClientInquiry(Ljava/lang/Throwable;)V");
}
}
/* renamed from: o.cHn$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6070cHn e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C6070cHn.a(this.e, th2, C0690Mh.IeS.JUST_DISMISS);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C6070cHn c6070cHn) {
super(1);
this.e = c6070cHn;
}
}
/* renamed from: o.cHn$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C6070cHn a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
C6070cHn.a(this.a);
C6070cHn c6070cHn = this.a;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cHu
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9638dna.Sts) obj).f();
}
};
if (c6070cHn.f != 0) {
ieS.e(c6070cHn.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C6070cHn c6070cHn) {
super(1);
this.a = c6070cHn;
}
}
/* renamed from: o.cHn$RVV */
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
public static /* synthetic */ void e(C6070cHn c6070cHn, InterfaceC9638dna.Sts sts) {
boolean z;
boolean z2;
boolean z3;
C14957gcv.e(c6070cHn, "");
List<? extends PL> list = c6070cHn.a;
if (list == null) {
C14957gcv.a("");
list = null;
}
List<? extends PL> list2 = c6070cHn.a;
if (list2 == null) {
C14957gcv.a("");
list2 = null;
}
int size = list2.size();
sts.c(list, (size <= 0 || size >= 11) ? 8 : 0);
C15716hvG.RVV rvv = C15716hvG.d;
z = C15716hvG.a;
z2 = C15716hvG.e;
z3 = C15716hvG.b;
sts.a(C15716hvG.RVV.d("investment_onboard_selectacc", z, z2, z3, null));
}
public static /* synthetic */ void c(C6070cHn c6070cHn) {
C14957gcv.e(c6070cHn, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cHr
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9638dna.Sts) obj).c();
}
};
if (c6070cHn.f != 0) {
ieS.e(c6070cHn.f);
}
}
public static /* synthetic */ void b(C6070cHn c6070cHn, InterfaceC9638dna.Sts sts) {
C14957gcv.e(c6070cHn, "");
WA wa = c6070cHn.c;
Object obj = null;
if (wa == null) {
C14957gcv.a("");
wa = null;
}
C1157Wx c1157Wx = wa.d.get(c6070cHn.d).a;
if (c1157Wx != null) {
String str = c1157Wx.h;
C0264Cq c0264Cq = c6070cHn.i;
c6070cHn.e = C0264Cq.c(c1157Wx.a, c1157Wx.d, str, c1157Wx.b);
if (c1157Wx.c) {
Object obj2 = c6070cHn.e;
if (obj2 == null) {
C14957gcv.a("");
} else {
obj = obj2;
}
List<? extends PL> singletonList = Collections.singletonList(obj);
C14957gcv.c(singletonList, "");
sts.b(singletonList);
sts.d();
sts.b(0);
sts.c(8);
} else {
C0264Cq c0264Cq2 = c6070cHn.i;
String str2 = c1157Wx.a;
C14957gcv.e(str2, "");
gcH gch = gcH.d;
String e = c0264Cq2.e(C15715hv.tOB.single_form_omnibus_add_pay_account_disclaimer);
C14957gcv.c((Object) e, "");
String format = String.format(e, Arrays.copyOf(new Object[]{(String) C16157lj.c(new Object[]{str2, true}, 1230925834, -1230925834, (int) System.currentTimeMillis())}, 1));
C14957gcv.c((Object) format, "");
sts.b();
sts.d(format);
sts.b(8);
sts.c(0);
}
obj = C14866gag.c;
}
if (obj == null) {
sts.b();
sts.g();
sts.b(8);
sts.c(0);
}
}
public static final /* synthetic */ void a(C6070cHn c6070cHn) {
if (c6070cHn.f != 0) {
c6070cHn.f.ar_();
}
}
public static final /* synthetic */ void c(C6070cHn c6070cHn, Throwable th) {
Runnable runnable = new Runnable(c6070cHn) { // from class: o.cHl
private C6070cHn c;
@Override // java.lang.Runnable
public final void run() {
C6070cHn.c(this.c);
}
{
this.c = c6070cHn;
}
};
if (c6070cHn.b(th)) {
c6070cHn.d(c6070cHn.j.c(th, runnable));
}
}
public static final /* synthetic */ void a(C6070cHn c6070cHn, WA wa) {
if (c6070cHn.f != 0) {
c6070cHn.f.ar_();
}
c6070cHn.c = wa;
List<C1158Wy> list = wa.d;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (C1158Wy c1158Wy : list) {
C0264Cq c0264Cq = c6070cHn.i;
arrayList.add(C0264Cq.c(c1158Wy.d, c1158Wy.e, c1158Wy.b, ""));
}
c6070cHn.a = arrayList;
ZI.IeS ieS = new ZI.IeS(c6070cHn) { // from class: o.cHq
private C6070cHn c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6070cHn.e(this.c, (InterfaceC9638dna.Sts) obj);
}
{
this.c = c6070cHn;
}
};
if (c6070cHn.f != 0) {
ieS.e(c6070cHn.f);
}
C6076cHt c6076cHt = new C6076cHt(c6070cHn);
if (c6070cHn.f != 0) {
c6076cHt.e(c6070cHn.f);
}
}
public static final /* synthetic */ void a(C6070cHn c6070cHn, Throwable th, C0690Mh.IeS ieS) {
if (c6070cHn.b(th)) {
c6070cHn.d(c6070cHn.j.d(th, ieS));
}
}
static {
new RVV((byte) 0);
}
}