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

161 lines
6.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import o.C4330bWw;
import o.tfm;
/* renamed from: o.hH, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15625hH extends C15620hF {
public final OWv b;
public final C16419oGO c;
private final C4330bWw d;
public final C16852rp e;
private final tfm f;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C15625hH(OWv oWv, tfm tfmVar, C4330bWw c4330bWw, C16419oGO c16419oGO, C16852rp c16852rp) {
super((byte) 0);
C14957gcv.e(oWv, "");
C14957gcv.e(tfmVar, "");
C14957gcv.e(c4330bWw, "");
C14957gcv.e(c16419oGO, "");
C14957gcv.e(c16852rp, "");
this.b = oWv;
this.f = tfmVar;
this.d = c4330bWw;
this.c = c16419oGO;
this.e = c16852rp;
}
public final void a(InterfaceC14894gbR<? super Boolean, C14866gag> interfaceC14894gbR, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2, C16842rkt c16842rkt) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
C14957gcv.e(c16842rkt, "");
b(this.f, interfaceC14894gbR, interfaceC14894gbR2, new tfm.IeS(c16842rkt));
}
/* renamed from: o.hH$IeS */
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<PAj, KR> {
private C15625hH a;
private List<String> b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ KR invoke(PAj pAj) {
String str;
PAj pAj2 = pAj;
C14957gcv.e(pAj2, "");
C16852rp c16852rp = this.a.e;
List<String> list = this.b;
C14957gcv.e(pAj2, "");
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList();
String str2 = null;
for (PpS ppS : pAj2.c) {
if (ppS instanceof KYs) {
KYs kYs = (KYs) ppS;
c16852rp.d = kYs.a;
KW c = c16852rp.c(kYs);
arrayList.add(c);
C16852rp.e(arrayList, kYs);
arrayList.add(C16852rp.d(c));
} else if (ppS instanceof SaB) {
SaB saB = (SaB) ppS;
arrayList.add(c16852rp.c(saB));
C16852rp.e(arrayList, saB);
} else {
str = "DIRECT_DEBIT";
if (ppS instanceof fOI) {
qBJ qbj = (qBJ) ppS;
List<QVM> list2 = qbj.a;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (QVM qvm : list2) {
WW a = WW.a();
C14957gcv.c(a, "");
arrayList2.add(c16852rp.e(a, qvm));
}
List d = C14881gav.d((Iterable) arrayList2);
KZ kz = new KZ(Boolean.TRUE, C16852rp.d(qbj), d.isEmpty(), d);
str = kz.a ? "CASH" : "DIRECT_DEBIT";
arrayList.add(kz);
C16852rp.e(arrayList, ppS);
} else if (ppS instanceof FWv) {
FWv fWv = (FWv) ppS;
FWv fWv2 = fWv;
String d2 = C16852rp.d(fWv2);
List<QVM> list3 = fWv2.a;
C14957gcv.e(list3, "");
ArrayList arrayList3 = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
for (QVM qvm2 : list3) {
WW a2 = WW.a();
C14957gcv.c(a2, "");
arrayList3.add(c16852rp.e(a2, qvm2));
}
arrayList.add(new C0635Lc(Boolean.TRUE, d2, C14881gav.d((Iterable) arrayList3)));
C16852rp.e(arrayList, fWv);
} else if (ppS instanceof C17592yAv) {
C17592yAv c17592yAv = (C17592yAv) ppS;
arrayList.add(new C0633Lb(C16852rp.d(c17592yAv)));
List<String> list4 = c17592yAv.b;
C14957gcv.e(list4, "");
ArrayList arrayList4 = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
Iterator<T> it = list4.iterator();
while (it.hasNext()) {
arrayList4.add(Boolean.valueOf(arrayList.add(C16852rp.k((String) it.next()))));
}
} else if (ppS instanceof hIL) {
hIL hil = (hIL) ppS;
arrayList.add(new KS(C16852rp.d(hil)));
C16852rp.e(arrayList, hil);
} else if (ppS instanceof Ptk) {
arrayList.add(C16852rp.a((Ptk) ppS, list));
}
str2 = str;
}
}
return new KR(pAj2, arrayList, str2);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C15625hH c15625hH, List<String> list) {
super(1);
this.a = c15625hH;
this.b = list;
}
}
public final void d(InterfaceC14894gbR<? super KR, C14866gag> interfaceC14894gbR, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2, String str, List<String> list) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
C14957gcv.e(str, "");
C14957gcv.e(list, "");
b(this.d, interfaceC14894gbR, interfaceC14894gbR2, new C4330bWw.IeS(str), new IeS(this, list));
}
/* renamed from: o.hH$RVV */
/* loaded from: classes3.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Lul, List<? extends String>> {
private C15625hH a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ List<? extends String> invoke(Lul lul) {
Lul lul2 = lul;
C14957gcv.e(lul2, "");
C16852rp c16852rp = this.a.e;
return C16852rp.b(lul2);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C15625hH c15625hH) {
super(1);
this.a = c15625hH;
}
}
}