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

179 lines
5.7 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 com.scb.phone.data.network.api.singleform.SingleFormRiskAssessmentApi;
import java.util.List;
/* loaded from: classes3.dex */
public final class PWH implements tEA {
private final onj a;
final sIq b;
private final SingleFormRiskAssessmentApi c;
@InterfaceC13391fZD
public PWH(sIq siq, SingleFormRiskAssessmentApi singleFormRiskAssessmentApi, onj onjVar) {
C14957gcv.e(siq, "");
C14957gcv.e(singleFormRiskAssessmentApi, "");
C14957gcv.e(onjVar, "");
this.b = siq;
this.c = singleFormRiskAssessmentApi;
this.a = onjVar;
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Boolean> {
public static final RVV d = new RVV();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ Boolean invoke(C16562pOe c16562pOe) {
return Boolean.TRUE;
}
RVV() {
super(1);
}
}
@Override // o.tEA
public final AbstractC13175fSw<Boolean> b(C14060fm c14060fm) {
C14957gcv.e(c14060fm, "");
AbstractC13175fSw<C16562pOe> submitRiskAssessmentValidation = this.c.submitRiskAssessmentValidation(c14060fm);
final RVV rvv = RVV.d;
C13372fYk c13372fYk = new C13372fYk(submitRiskAssessmentValidation, new fSS(rvv) { // from class: o.UNk
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (Boolean) interfaceC14894gbR.invoke(obj);
}
{
this.e = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<LJU>, LJU> {
public static final Sts c = new Sts();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ LJU invoke(SingleDataEntity<LJU> singleDataEntity) {
return singleDataEntity.getData();
}
Sts() {
super(1);
}
}
@Override // o.tEA
public final AbstractC13175fSw<pQV> c(C11123eZ c11123eZ) {
C14957gcv.e(c11123eZ, "");
AbstractC13175fSw<SingleDataEntity<LJU>> calculateRiskAssessment = this.c.calculateRiskAssessment(c11123eZ);
final Sts sts = Sts.c;
C13372fYk c13372fYk = new C13372fYk(calculateRiskAssessment, new fSS(sts) { // from class: o.pSt
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (LJU) interfaceC14894gbR.invoke(obj);
}
{
this.b = sts;
}
});
final LWm lWm = new LWm(this);
C13369fYh c13369fYh = new C13369fYh(c13372fYk, new fSQ(lWm) { // from class: o.HXW
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
{
this.d = lWm;
}
});
final IeS ieS = new IeS(this.a);
C13372fYk c13372fYk2 = new C13372fYk(c13369fYh, new fSS(ieS) { // from class: o.CCk
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (pQV) interfaceC14894gbR.invoke(obj);
}
{
this.c = ieS;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes3.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<LJU, C14866gag> {
private PWH e;
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ C14866gag invoke(LJU lju) {
this.e.b.e = lju;
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(PWH pwh) {
super(1);
this.e = pwh;
}
}
/* loaded from: classes3.dex */
final /* synthetic */ class IeS extends C14954gcs implements InterfaceC14894gbR<LJU, pQV> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ pQV invoke(LJU lju) {
LJU lju2 = lju;
C14957gcv.e(lju2, "");
return ((onj) this.f).c(lju2);
}
IeS(Object obj) {
super(1, obj, onj.class, "transform", "transform(Lcom/scb/phone/data/entity/investment/assessment/RiskAssessmentCalculationEntity;)Lcom/scb/phone/domain/entity/investment/assessment/RiskAssessmentCalculation;");
}
}
@Override // o.tEA
public final pQV a() {
LJU lju = this.b.e;
if (lju != null) {
return this.a.c(lju);
}
return null;
}
@Override // o.tEA
public final List<C10927eT> c() {
List<C10927eT> list = this.b.d;
return list == null ? C14851gaI.c : list;
}
@Override // o.tEA
public final void e(List<C10927eT> list) {
C14957gcv.e(list, "");
this.b.d = list;
}
}