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

278 lines
10 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.FundDiscoverService;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.lbA, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16137lbA implements InterfaceC10432eDw {
private final FundDiscoverService c;
@InterfaceC13391fZD
public C16137lbA(FundDiscoverService fundDiscoverService) {
C14957gcv.e(fundDiscoverService, "");
this.c = fundDiscoverService;
}
/* renamed from: o.lbA$IeS */
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<GbX>, GbX> {
public static final IeS b = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ GbX invoke(SingleDataEntity<GbX> singleDataEntity) {
return singleDataEntity.getData();
}
IeS() {
super(1);
}
}
@Override // o.InterfaceC10432eDw
public final AbstractC13175fSw<uvo> a() {
AbstractC13175fSw<SingleDataEntity<GbX>> discoverConfig = this.c.getDiscoverConfig();
final IeS ieS = IeS.b;
C13372fYk c13372fYk = new C13372fYk(discoverConfig, new fSS(ieS) { // from class: o.QrM
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (GbX) interfaceC14894gbR.invoke(obj);
}
{
this.c = ieS;
}
});
final RVV rvv = RVV.d;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(rvv) { // from class: o.bMC
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (uvo) interfaceC14894gbR.invoke(obj);
}
{
this.e = rvv;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* renamed from: o.lbA$RVV */
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<GbX, uvo> {
public static final RVV d = new RVV();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ uvo invoke(GbX gbX) {
gTD gtd;
LFJ lfj;
C14851gaI c14851gaI;
C14851gaI c14851gaI2;
C14851gaI c14851gaI3;
C14851gaI c14851gaI4;
C14851gaI c14851gaI5;
GbX gbX2 = gbX;
Eyy eyy = gbX2.d;
if (eyy != null) {
List<C16266moG> list = eyy.d;
if (list != null) {
List<C16266moG> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
arrayList.add(((C16266moG) it.next()).c());
}
c14851gaI3 = arrayList;
} else {
c14851gaI3 = C14851gaI.c;
}
List<C16266moG> list3 = eyy.c;
if (list3 != null) {
List<C16266moG> list4 = list3;
C14957gcv.e(list4, "");
ArrayList arrayList2 = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
Iterator<T> it2 = list4.iterator();
while (it2.hasNext()) {
arrayList2.add(((C16266moG) it2.next()).c());
}
c14851gaI4 = arrayList2;
} else {
c14851gaI4 = C14851gaI.c;
}
List<C16266moG> list5 = eyy.a;
if (list5 != null) {
List<C16266moG> list6 = list5;
C14957gcv.e(list6, "");
ArrayList arrayList3 = new ArrayList(list6 instanceof Collection ? list6.size() : 10);
Iterator<T> it3 = list6.iterator();
while (it3.hasNext()) {
arrayList3.add(((C16266moG) it3.next()).c());
}
c14851gaI5 = arrayList3;
} else {
c14851gaI5 = C14851gaI.c;
}
gtd = new gTD(c14851gaI3, c14851gaI4, c14851gaI5);
} else {
gtd = new gTD((byte) 0);
}
C4728bfe c4728bfe = gbX2.c;
if (c4728bfe != null) {
List<C16266moG> list7 = c4728bfe.a;
if (list7 != null) {
List<C16266moG> list8 = list7;
C14957gcv.e(list8, "");
ArrayList arrayList4 = new ArrayList(list8 instanceof Collection ? list8.size() : 10);
Iterator<T> it4 = list8.iterator();
while (it4.hasNext()) {
arrayList4.add(((C16266moG) it4.next()).c());
}
c14851gaI = arrayList4;
} else {
c14851gaI = C14851gaI.c;
}
List<dPA> list9 = c4728bfe.b;
if (list9 != null) {
List<dPA> list10 = list9;
C14957gcv.e(list10, "");
ArrayList arrayList5 = new ArrayList(list10 instanceof Collection ? list10.size() : 10);
for (dPA dpa : list10) {
String str = dpa.a;
if (str == null) {
str = "";
}
String str2 = dpa.e;
if (str2 == null) {
str2 = "";
}
String str3 = dpa.b;
if (str3 == null) {
str3 = "";
}
Boolean bool = dpa.c;
arrayList5.add(new Aeo(str, str2, str3, bool != null ? bool.booleanValue() : false));
}
c14851gaI2 = arrayList5;
} else {
c14851gaI2 = C14851gaI.c;
}
lfj = new LFJ(c14851gaI, c14851gaI2);
} else {
lfj = new LFJ((byte) 0);
}
return new uvo(gtd, lfj);
}
RVV() {
super(1);
}
}
/* renamed from: o.lbA$HBt */
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<ZcV>, Vhk> {
public static final HBt e = new HBt();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Vhk invoke(SingleDataEntity<ZcV> singleDataEntity) {
ArrayList arrayList;
ZcV data = singleDataEntity.getData();
Vhk vhk = new Vhk();
if (data != null) {
vhk.g = data.g;
Boolean bool = data.a;
vhk.b = bool != null ? bool.booleanValue() : true;
Integer num = data.c;
vhk.e = num != null ? num.intValue() : 0;
vhk.f = data.i;
String str = data.h;
if (str != null) {
vhk.h = new C13396fZU<>(str, data.f);
}
String str2 = data.j;
if (str2 != null) {
vhk.d = new C13396fZU<>(str2, data.e);
}
vhk.c = data.d;
List<Ssf> list = data.b;
ArrayList arrayList2 = null;
if (list != null) {
List<Ssf> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList3 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (Ssf ssf : list2) {
HMz hMz = new HMz();
if (ssf != null) {
hMz.a = ssf.c;
hMz.d = ssf.a;
hMz.e = ssf.b;
hMz.j = ssf.h;
hMz.c = C2974aoj.a(ssf.e, null);
List<EVa> list3 = ssf.d;
if (list3 != null) {
List<EVa> list4 = list3;
C14957gcv.e(list4, "");
ArrayList arrayList4 = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
for (EVa eVa : list4) {
C0249Cga c0249Cga = new C0249Cga();
c0249Cga.d = eVa.a;
arrayList4.add(c0249Cga);
}
arrayList = arrayList4;
} else {
arrayList = null;
}
hMz.b = arrayList;
}
arrayList3.add(hMz);
}
arrayList2 = arrayList3;
}
vhk.a = arrayList2;
}
return vhk;
}
HBt() {
super(1);
}
}
@Override // o.InterfaceC10432eDw
public final AbstractC13175fSw<Vhk> e(C2674aj c2674aj) {
C14957gcv.e(c2674aj, "");
AbstractC13175fSw<SingleDataEntity<ZcV>> searchFund = this.c.searchFund(c2674aj);
final HBt hBt = HBt.e;
C13372fYk c13372fYk = new C13372fYk(searchFund, new fSS(hBt) { // from class: o.VVH
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Vhk) interfaceC14894gbR.invoke(obj);
}
{
this.c = hBt;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}