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

223 lines
7.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
import o.C16140lbZ;
import o.C17180ucA;
import o.LZR;
import o.NqH;
import o.SYb;
import o.Twn;
import o.zGx;
/* loaded from: classes3.dex */
public final class kQY implements TjE {
private final String d;
private final KGc e;
@InterfaceC13391fZD
public kQY(KGc kGc, String str) {
C14957gcv.e(kGc, "");
C14957gcv.e(str, "");
this.e = kGc;
this.d = str;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<Twn>, HKr> {
public static final IeS c = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ HKr invoke(SingleDataEntity<Twn> singleDataEntity) {
Twn data = singleDataEntity.getData();
List<C13009fNv> a = C14881gav.a((Iterable) data.a, (Comparator) new Twn.Sts());
C14957gcv.e(a, "");
ArrayList arrayList = new ArrayList(a instanceof Collection ? a.size() : 10);
for (C13009fNv c13009fNv : a) {
SYb.HBt hBt = new SYb.HBt((byte) 0);
hBt.a = c13009fNv.e;
hBt.b = c13009fNv.d;
LZR.RVV rvv = new LZR.RVV();
rvv.c = c13009fNv.h;
rvv.d = c13009fNv.c;
rvv.e = c13009fNv.b;
rvv.b = c13009fNv.a;
rvv.a = c13009fNv.g;
rvv.g = c13009fNv.i;
rvv.s = c13009fNv.r;
rvv.f8478o = c13009fNv.n;
rvv.m = c13009fNv.s;
rvv.r = c13009fNv.q;
rvv.n = c13009fNv.k;
rvv.h = c13009fNv.f9245o;
rvv.j = c13009fNv.f;
rvv.q = c13009fNv.t;
rvv.i = c13009fNv.l;
List<HUy> list = c13009fNv.p;
C14957gcv.c(list, "");
List<HUy> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (HUy hUy : list2) {
NqH.RVV rvv2 = new NqH.RVV();
rvv2.b = hUy.e;
rvv2.a = hUy.c;
rvv2.e = hUy.b;
arrayList2.add(new NqH(rvv2, (byte) 0));
}
rvv.l = arrayList2;
ZEb b = rvv.b();
C14957gcv.d(b, "");
hBt.c = (LZR) b;
arrayList.add(new SYb(hBt, (byte) 0));
}
String str = data.e;
C16140lbZ.RVV rvv3 = new C16140lbZ.RVV((byte) 0);
rvv3.e = data.c.c;
rvv3.d = data.c.b;
C16140lbZ c16140lbZ = new C16140lbZ(rvv3, (byte) 0);
C14957gcv.c(c16140lbZ, "");
return new HKr(arrayList, str, c16140lbZ);
}
IeS() {
super(1);
}
}
@Override // o.TjE
public final AbstractC13175fSw<HKr> c(String str) {
C14957gcv.e(str, "");
KGc kGc = this.e;
String str2 = this.d;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13175fSw<SingleDataEntity<Twn>> commercialDetail = kGc.c.getCommercialDetail(str, str2);
final IeS ieS = IeS.c;
C13372fYk c13372fYk = new C13372fYk(commercialDetail, new fSS(ieS) { // from class: o.XSZ
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (HKr) interfaceC14894gbR.invoke(obj);
}
{
this.b = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<zGx>, odT> {
public static final LWm c = new LWm();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ odT invoke(SingleDataEntity<zGx> singleDataEntity) {
ArrayList arrayList;
List a;
zGx data = singleDataEntity.getData();
String str = data.a;
String str2 = data.e;
List<Ylx> list = data.b;
if (list == null || (a = C14881gav.a((Iterable) list, (Comparator) new zGx.Sts())) == null) {
arrayList = null;
} else {
List<Ylx> list2 = a;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (Ylx ylx : list2) {
C17180ucA.HBt hBt = new C17180ucA.HBt((byte) 0);
hBt.b = ylx.a;
hBt.c = ylx.d;
hBt.d = ylx.e;
hBt.h = ylx.f;
hBt.a = ylx.c;
arrayList2.add(new C17180ucA(hBt, (byte) 0));
}
arrayList = arrayList2;
}
return new odT(str, str2, arrayList);
}
LWm() {
super(1);
}
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Boolean> {
public static final RVV e = new RVV();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ Boolean invoke(C16562pOe c16562pOe) {
return Boolean.TRUE;
}
RVV() {
super(1);
}
}
@Override // o.TjE
public final AbstractC13175fSw<Boolean> c(SgN sgN) {
C14957gcv.e(sgN, "");
KGc kGc = this.e;
SgN sgN2 = new SgN(this.d, sgN.b, sgN.f, sgN.e, sgN.a, sgN.c, sgN.i, sgN.d);
C14957gcv.e(sgN2, "");
AbstractC13175fSw<C16562pOe> postCommercialDetail = kGc.c.postCommercialDetail(sgN2);
final RVV rvv = RVV.e;
C13372fYk c13372fYk = new C13372fYk(postCommercialDetail, new fSS(rvv) { // from class: o.EUR
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (Boolean) interfaceC14894gbR.invoke(obj);
}
{
this.d = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.TjE
public final AbstractC13175fSw<odT> a(C7941cxo c7941cxo) {
C14957gcv.e(c7941cxo, "");
String str = this.d;
C14957gcv.e(str, "");
c7941cxo.e = str;
KGc kGc = this.e;
C14957gcv.e(c7941cxo, "");
AbstractC13175fSw<SingleDataEntity<zGx>> postDetailCalculation = kGc.c.postDetailCalculation(c7941cxo);
final LWm lWm = LWm.c;
C13372fYk c13372fYk = new C13372fYk(postDetailCalculation, new fSS(lWm) { // from class: o.kQN
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (odT) interfaceC14894gbR.invoke(obj);
}
{
this.b = lWm;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}