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

247 lines
8.9 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.prepaid.PrepaidRequestService;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.LOU;
import o.TPk;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class IvV implements xMy {
final teM a;
final QUy b;
final C16201mHv c;
final Srs d;
private final PrepaidRequestService e;
private final String i;
@InterfaceC13391fZD
public IvV(String str, PrepaidRequestService prepaidRequestService, Srs srs, teM tem, C16201mHv c16201mHv, QUy qUy) {
C14957gcv.e(str, "");
C14957gcv.e(prepaidRequestService, "");
C14957gcv.e(srs, "");
C14957gcv.e(tem, "");
C14957gcv.e(c16201mHv, "");
C14957gcv.e(qUy, "");
this.i = str;
this.e = prepaidRequestService;
this.d = srs;
this.a = tem;
this.c = c16201mHv;
this.b = qUy;
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<COj>, C13758fgP> {
private IvV d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C13758fgP invoke(SingleDataEntity<COj> singleDataEntity) {
Srs srs = this.d.d;
COj data = singleDataEntity.getData();
C14957gcv.c(data, "");
return Srs.b(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(IvV ivV) {
super(1);
this.d = ivV;
}
}
@Override // o.xMy
public final AbstractC13175fSw<C13758fgP> c() {
AbstractC13175fSw<SingleDataEntity<COj>> prepaidProductCatalog = this.e.getPrepaidProductCatalog();
final RVV rvv = new RVV(this);
C13372fYk c13372fYk = new C13372fYk(prepaidProductCatalog, new fSS(rvv) { // from class: o.srN
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C13758fgP) interfaceC14894gbR.invoke(obj);
}
{
this.b = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<LOU>, TPk> {
private IvV b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ TPk invoke(SingleDataEntity<LOU> singleDataEntity) {
teM tem = this.b.a;
LOU data = singleDataEntity.getData();
C14957gcv.c(data, "");
LOU lou = data;
C14957gcv.e(lou, "");
List<LOU.HBt> list = lou.e;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (LOU.HBt hBt : list) {
String str = hBt.d;
String str2 = str == null ? "" : str;
String str3 = hBt.c;
String str4 = str3 == null ? "" : str3;
String str5 = hBt.b;
String str6 = str5 == null ? "" : str5;
String str7 = hBt.e;
String str8 = str7 == null ? "" : str7;
C14851gaI c14851gaI = hBt.a;
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
arrayList.add(new TPk.LWm(str2, str4, str6, str8, c14851gaI, teM.b(hBt.i)));
}
ArrayList arrayList2 = arrayList;
List<aIJ> list2 = lou.b;
C14957gcv.e(list2, "");
ArrayList arrayList3 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (aIJ aij : list2) {
String str9 = aij.b;
String str10 = aij.e;
String str11 = aij.d;
MCa mCa = aij.c;
arrayList3.add(new SiD(str9, str10, str11, new mNn(Double.parseDouble(mCa.d), Double.parseDouble(mCa.c), Double.parseDouble(mCa.a)), teM.b(aij.a)));
}
String str12 = lou.a;
LOU.RVV rvv = lou.c;
return new TPk(arrayList2, arrayList3, str12, new pCe(rvv.a, rvv.m, rvv.i, rvv.d, rvv.e, rvv.f, rvv.h, rvv.j, rvv.c, rvv.b, rvv.g, rvv.k));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(IvV ivV) {
super(1);
this.b = ivV;
}
}
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<cQQ>, C10236dyv> {
private IvV d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C10236dyv invoke(SingleDataEntity<cQQ> singleDataEntity) {
C16201mHv c16201mHv = this.d.c;
cQQ data = singleDataEntity.getData();
C14957gcv.c(data, "");
return C16201mHv.c(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(IvV ivV) {
super(1);
this.d = ivV;
}
}
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C1024TzC>, C13549fcS> {
private IvV b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C13549fcS invoke(SingleDataEntity<C1024TzC> singleDataEntity) {
QUy qUy = this.b.b;
C1024TzC data = singleDataEntity.getData();
C14957gcv.c(data, "");
C1024TzC c1024TzC = data;
C14957gcv.e(c1024TzC, "");
return new C13549fcS((OffsetDateTime) ZTC.e(new Object[]{c1024TzC.a, null}, 267499366, -267499366, (int) System.currentTimeMillis()), c1024TzC.c, c1024TzC.e);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(IvV ivV) {
super(1);
this.b = ivV;
}
}
@Override // o.xMy
public final AbstractC13175fSw<C13549fcS> a(C9664do c9664do, String str, String str2) {
C14957gcv.e(c9664do, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13175fSw<SingleDataEntity<C1024TzC>> prepaidRequestOtpConfirm = this.e.getPrepaidRequestOtpConfirm(c9664do, str, str2);
final LWm lWm = new LWm(this);
C13372fYk c13372fYk = new C13372fYk(prepaidRequestOtpConfirm, new fSS(lWm) { // from class: o.pjj
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C13549fcS) interfaceC14894gbR.invoke(obj);
}
{
this.b = lWm;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.xMy
public final AbstractC13175fSw<TPk> d(C9349di c9349di) {
C14957gcv.e(c9349di, "");
String str = this.i;
C14957gcv.e(str, "");
c9349di.b = str;
AbstractC13175fSw<SingleDataEntity<LOU>> prepaidRequestLanding = this.e.getPrepaidRequestLanding(c9349di);
final IeS ieS = new IeS(this);
C13372fYk c13372fYk = new C13372fYk(prepaidRequestLanding, new fSS(ieS) { // from class: o.Rrr
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (TPk) interfaceC14894gbR.invoke(obj);
}
{
this.e = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.xMy
public final AbstractC13175fSw<C10236dyv> b(C9561dm c9561dm) {
C14957gcv.e(c9561dm, "");
String str = this.i;
C14957gcv.e(str, "");
c9561dm.b = str;
AbstractC13175fSw<SingleDataEntity<cQQ>> prepaidRequestVerification = this.e.getPrepaidRequestVerification(c9561dm);
final Sts sts = new Sts(this);
C13372fYk c13372fYk = new C13372fYk(prepaidRequestVerification, new fSS(sts) { // from class: o.riZ
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (C10236dyv) interfaceC14894gbR.invoke(obj);
}
{
this.c = sts;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}