396 lines
14 KiB
Java
396 lines
14 KiB
Java
package o;
|
|
|
|
import com.scb.phone.data.entity.transfer.SingleDataEntity;
|
|
import com.scb.phone.data.network.service.easycash.EasycashMCMCService;
|
|
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
|
|
import java.util.List;
|
|
import o.PRA;
|
|
import o.VbM;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class yqk implements InterfaceC6288cOb {
|
|
private final Ogl a;
|
|
private final String b;
|
|
private final EasycashMCMCService d;
|
|
final Mph e;
|
|
|
|
@InterfaceC13391fZD
|
|
public yqk(EasycashMCMCService easycashMCMCService, Ogl ogl, Mph mph, String str) {
|
|
C14957gcv.e(easycashMCMCService, "");
|
|
C14957gcv.e(ogl, "");
|
|
C14957gcv.e(mph, "");
|
|
C14957gcv.e(str, "");
|
|
this.d = easycashMCMCService;
|
|
this.a = ogl;
|
|
this.e = mph;
|
|
this.b = str;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<hTt>, Ufn> {
|
|
private yqk e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ Ufn invoke(SingleDataEntity<hTt> singleDataEntity) {
|
|
GIv gIv;
|
|
C14851gaI c14851gaI;
|
|
Mph mph = this.e.e;
|
|
hTt data = singleDataEntity.getData();
|
|
C14957gcv.c(data, "");
|
|
hTt htt = data;
|
|
C14957gcv.e(htt, "");
|
|
if (htt.a == null) {
|
|
throw new EntityMappingException("MCMC: ApplicationId is null");
|
|
}
|
|
List<GIv> list = htt.d;
|
|
if (list != null && (gIv = (GIv) C14881gav.e((List) list)) != null) {
|
|
if (gIv.e == null) {
|
|
throw new EntityMappingException("MCMC: offer.defaultCreditLimit is null");
|
|
}
|
|
if (gIv.a == null) {
|
|
throw new EntityMappingException("MCMC: offer.durationOptions is null");
|
|
}
|
|
if (gIv.b == null) {
|
|
throw new EntityMappingException("MCMC: offer.maximumCreditLimit is null");
|
|
}
|
|
if (gIv.c == null) {
|
|
throw new EntityMappingException("MCMC: offer.minimumCreditLimit is null");
|
|
}
|
|
if (gIv.d == null) {
|
|
throw new EntityMappingException("MCMC: offer.sliderInterval is null");
|
|
}
|
|
if (gIv != null) {
|
|
List<GIv> list2 = htt.d;
|
|
GIv gIv2 = list2 != null ? (GIv) C14881gav.e((List) list2) : null;
|
|
String str = gIv2 != null ? gIv2.c : null;
|
|
String str2 = str == null ? "" : str;
|
|
String str3 = gIv2 != null ? gIv2.b : null;
|
|
String str4 = str3 == null ? "" : str3;
|
|
String str5 = gIv2 != null ? gIv2.e : null;
|
|
String str6 = str5 == null ? "" : str5;
|
|
String str7 = gIv2 != null ? gIv2.d : null;
|
|
String str8 = str7 == null ? "" : str7;
|
|
if (gIv2 == null || (c14851gaI = gIv2.a) == null) {
|
|
c14851gaI = C14851gaI.c;
|
|
}
|
|
List list3 = c14851gaI;
|
|
String str9 = htt.a;
|
|
return new Ufn(str2, str4, str6, str8, str9 == null ? "" : str9, list3, Mph.d(htt.c), htt.e, null, null, 768);
|
|
}
|
|
}
|
|
throw new EntityMappingException("MCMC: offer data is null");
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
RVV(yqk yqkVar) {
|
|
super(1);
|
|
this.e = yqkVar;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6288cOb
|
|
public final AbstractC13175fSw<Ufn> c(String str, String str2) {
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
Ogl ogl = this.a;
|
|
String str3 = this.b;
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
C14957gcv.e(str3, "");
|
|
AbstractC13175fSw<SingleDataEntity<hTt>> loanInfoDetail = ogl.b.loanInfoDetail(str, str2, str3);
|
|
final RVV rvv = new RVV(this);
|
|
C13372fYk c13372fYk = new C13372fYk(loanInfoDetail, new fSS(rvv) { // from class: o.GXC
|
|
private InterfaceC14894gbR c;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.c;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (Ufn) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.c = rvv;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk, "");
|
|
return c13372fYk;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C14278fqG>, UHf> {
|
|
private yqk b;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ UHf invoke(SingleDataEntity<C14278fqG> singleDataEntity) {
|
|
Mph mph = this.b.e;
|
|
C14278fqG data = singleDataEntity.getData();
|
|
C14957gcv.c(data, "");
|
|
return mph.b(data);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
HBt(yqk yqkVar) {
|
|
super(1);
|
|
this.b = yqkVar;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6288cOb
|
|
public final AbstractC13175fSw<UHf> e(OBh oBh) {
|
|
C14957gcv.e(oBh, "");
|
|
Ogl ogl = this.a;
|
|
C14957gcv.e(oBh, "");
|
|
AbstractC13175fSw<SingleDataEntity<C14278fqG>> postCalculation = ogl.b.postCalculation(oBh);
|
|
final HBt hBt = new HBt(this);
|
|
C13372fYk c13372fYk = new C13372fYk(postCalculation, new fSS(hBt) { // from class: o.uPT
|
|
private InterfaceC14894gbR c;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.c;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (UHf) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.c = hBt;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk, "");
|
|
return c13372fYk;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Pag> {
|
|
private yqk d;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ Pag invoke(C16562pOe c16562pOe) {
|
|
return this.d.e.d(c16562pOe);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
LWm(yqk yqkVar) {
|
|
super(1);
|
|
this.d = yqkVar;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6288cOb
|
|
public final AbstractC13175fSw<Pag> b(C10674eLI c10674eLI) {
|
|
C14957gcv.e(c10674eLI, "");
|
|
Ogl ogl = this.a;
|
|
C14957gcv.e(c10674eLI, "");
|
|
AbstractC13175fSw<C16562pOe> postLoanDetail = ogl.b.postLoanDetail(c10674eLI);
|
|
final LWm lWm = new LWm(this);
|
|
C13372fYk c13372fYk = new C13372fYk(postLoanDetail, new fSS(lWm) { // from class: o.KxC
|
|
private InterfaceC14894gbR e;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.e;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (Pag) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.e = lWm;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk, "");
|
|
return c13372fYk;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<VbM>, VbM> {
|
|
public static final IeS a = new IeS();
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ VbM invoke(SingleDataEntity<VbM> singleDataEntity) {
|
|
return singleDataEntity.getData();
|
|
}
|
|
|
|
IeS() {
|
|
super(1);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6288cOb
|
|
public final AbstractC13175fSw<Cdc> d(String str) {
|
|
C14957gcv.e(str, "");
|
|
AbstractC13175fSw<SingleDataEntity<VbM>> carCollateralDetail = this.d.getCarCollateralDetail(str, this.b);
|
|
final IeS ieS = IeS.a;
|
|
C13372fYk c13372fYk = new C13372fYk(carCollateralDetail, new fSS(ieS) { // from class: o.FWJ
|
|
private InterfaceC14894gbR a;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.a;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (VbM) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.a = ieS;
|
|
}
|
|
});
|
|
final Sts sts = Sts.a;
|
|
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(sts) { // from class: o.IRR
|
|
private InterfaceC14894gbR c;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.c;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (Cdc) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.c = sts;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk2, "");
|
|
return c13372fYk2;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<VbM, Cdc> {
|
|
public static final Sts a = new Sts();
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ Cdc invoke(VbM vbM) {
|
|
goG gog;
|
|
VbM vbM2 = vbM;
|
|
KsT ksT = vbM2.a;
|
|
if (ksT != null) {
|
|
String str = ksT.c;
|
|
if (str == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str2 = ksT.e;
|
|
if (str2 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str3 = ksT.i;
|
|
if (str3 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str4 = ksT.h;
|
|
if (str4 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str5 = ksT.b;
|
|
if (str5 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str6 = ksT.d;
|
|
if (str6 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str7 = ksT.a;
|
|
if (str7 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
String str8 = ksT.g;
|
|
if (str8 == null) {
|
|
throw new EntityMappingException(ksT.j);
|
|
}
|
|
gog = new goG(str, str2, str3, str4, str5, str6, str7, str8, ksT.f, ksT.f8244o);
|
|
} else {
|
|
gog = null;
|
|
}
|
|
YKU yku = new YKU(vbM2.b);
|
|
final VbM.Sts sts = VbM.Sts.a;
|
|
Object a2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(sts) { // from class: o.pRO
|
|
private InterfaceC14894gbR d;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return VbM.d(this.d, obj);
|
|
}
|
|
|
|
{
|
|
this.d = sts;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
C14957gcv.c(a2, "");
|
|
return new Cdc(gog, (List) a2);
|
|
}
|
|
|
|
Sts() {
|
|
super(1);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C3007apP>, C3007apP> {
|
|
public static final tOB c = new tOB();
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C3007apP invoke(SingleDataEntity<C3007apP> singleDataEntity) {
|
|
return singleDataEntity.getData();
|
|
}
|
|
|
|
tOB() {
|
|
super(1);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<C3007apP, AnN> {
|
|
public static final ZqN c = new ZqN();
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ AnN invoke(C3007apP c3007apP) {
|
|
return new AnN(c3007apP.e);
|
|
}
|
|
|
|
ZqN() {
|
|
super(1);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6288cOb
|
|
public final AbstractC13175fSw<AnN> b(nMO nmo) {
|
|
C14957gcv.e(nmo, "");
|
|
EasycashMCMCService easycashMCMCService = this.d;
|
|
String str = this.b;
|
|
C14957gcv.e(str, "");
|
|
nmo.f = str;
|
|
AbstractC13175fSw<SingleDataEntity<C3007apP>> postCarCollateralDetail = easycashMCMCService.postCarCollateralDetail(nmo);
|
|
final tOB tob = tOB.c;
|
|
C13372fYk c13372fYk = new C13372fYk(postCarCollateralDetail, new fSS(tob) { // from class: o.oVo
|
|
private InterfaceC14894gbR e;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.e;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (C3007apP) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.e = tob;
|
|
}
|
|
});
|
|
final ZqN zqN = ZqN.c;
|
|
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(zqN) { // from class: o.cYB
|
|
private InterfaceC14894gbR b;
|
|
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
InterfaceC14894gbR interfaceC14894gbR = this.b;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (AnN) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
|
|
{
|
|
this.b = zqN;
|
|
}
|
|
});
|
|
C14957gcv.c(c13372fYk2, "");
|
|
return c13372fYk2;
|
|
}
|
|
}
|