package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import com.scb.phone.data.network.api.paynow.PayNowApi; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; import o.DiG; /* renamed from: o.bfd, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C4727bfd implements Cmy { private final PayNowApi a; final C16475ogQ b; final Cbw c; final Ipb d; private final mtE e; @InterfaceC13391fZD public C4727bfd(PayNowApi payNowApi, C16475ogQ c16475ogQ, Cbw cbw, Ipb ipb, mtE mte) { C14957gcv.e(payNowApi, ""); C14957gcv.e(c16475ogQ, ""); C14957gcv.e(cbw, ""); C14957gcv.e(ipb, ""); C14957gcv.e(mte, ""); this.a = payNowApi; this.b = c16475ogQ; this.c = cbw; this.d = ipb; this.e = mte; } @Override // o.Cmy public final AbstractC13175fSw a(C6146cK c6146cK) { C14957gcv.e(c6146cK, ""); DiG.Sts sts = DiG.a; DiG.Sts.d("3017"); AbstractC13175fSw> promptPayVerification = this.a.promptPayVerification(c6146cK); final IeS ieS = new IeS(this); C13325fXX c13325fXX = new C13325fXX(new C13372fYk(promptPayVerification, new fSS(ieS) { // from class: o.nrj private InterfaceC14894gbR d; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); return (CmE) interfaceC14894gbR.invoke(obj); } { this.d = ieS; } }), new fSP() { // from class: o.Vit @Override // o.fSP public final void c() { DiG.Sts sts2 = DiG.a; DiG.Sts.c(); } }); C14957gcv.c(c13325fXX, ""); return c13325fXX; } /* renamed from: o.bfd$IeS */ /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR, CmE> { private C4727bfd d; @Override // o.InterfaceC14894gbR public final /* synthetic */ CmE invoke(SingleDataEntity singleDataEntity) { SingleDataEntity singleDataEntity2 = singleDataEntity; C16475ogQ c16475ogQ = this.d.b; C14957gcv.c(singleDataEntity2, ""); C14957gcv.e(singleDataEntity2, ""); C16508otZ data = singleDataEntity2.getData(); String str = data.j; if (str == null) { throw new EntityMappingException("data must not be null or empty"); } C15883jPx c15883jPx = c16475ogQ.b; FMM b = C15883jPx.b(data.b); zfm zfmVar = c16475ogQ.a; BSe c = zfm.c(data.e); C17226uwG c17226uwG = c16475ogQ.c; sJm e = C17226uwG.e(data.i); String str2 = data.a; if (str2 == null) { throw new EntityMappingException("data must not be null or empty"); } String str3 = data.d; if (str3 == null) { throw new EntityMappingException("data must not be null or empty"); } String str4 = data.c; String str5 = str4 == null ? "" : str4; boolean a = gdZ.a(singleDataEntity2.getStatus().e, "3017", false); String str6 = singleDataEntity2.getStatus().h; String str7 = str6 == null ? "" : str6; String str8 = singleDataEntity2.getStatus().c; String str9 = str8 == null ? "" : str8; String str10 = data.h; if (str10 == null) { throw new EntityMappingException("data must not be null or empty"); } String str11 = data.f; String str12 = str11 == null ? "" : str11; String str13 = data.g; return new CmE(str, b, c, e, str2, str3, str5, a, str7, str9, str10, str12, str13 == null ? "" : str13); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C4727bfd c4727bfd) { super(1); this.d = c4727bfd; } } @Override // o.Cmy public final AbstractC13175fSw d(C6210cM c6210cM) { C14957gcv.e(c6210cM, ""); DiG.Sts sts = DiG.a; DiG.Sts.d("8101"); DiG.Sts sts2 = DiG.a; DiG.Sts.d("8102"); AbstractC13175fSw> promptPayConfirmation = this.a.promptPayConfirmation(c6210cM); final LWm lWm = new LWm(this); C13325fXX c13325fXX = new C13325fXX(new C13372fYk(promptPayConfirmation, new fSS(lWm) { // from class: o.ctE private InterfaceC14894gbR d; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); return (C16819rWs) interfaceC14894gbR.invoke(obj); } { this.d = lWm; } }), new fSP() { // from class: o.xTP @Override // o.fSP public final void c() { DiG.Sts sts3 = DiG.a; DiG.Sts.c(); } }); C14957gcv.c(c13325fXX, ""); return c13325fXX; } /* renamed from: o.bfd$LWm */ /* loaded from: classes3.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR, C16819rWs> { private C4727bfd b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C16819rWs invoke(SingleDataEntity singleDataEntity) { SingleDataEntity singleDataEntity2 = singleDataEntity; Cbw cbw = this.b.c; C14957gcv.c(singleDataEntity2, ""); return Cbw.c(singleDataEntity2); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C4727bfd c4727bfd) { super(1); this.b = c4727bfd; } } /* renamed from: o.bfd$RVV */ /* loaded from: classes3.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR, DzP> { private C4727bfd c; @Override // o.InterfaceC14894gbR public final /* synthetic */ DzP invoke(SingleDataEntity singleDataEntity) { Ipb ipb = this.c.d; C0219Bpt data = singleDataEntity.getData(); C14957gcv.c(data, ""); C0219Bpt c0219Bpt = data; C14957gcv.e(c0219Bpt, ""); String str = c0219Bpt.c; if (str == null) { throw new EntityMappingException("data must not be null or empty"); } String str2 = c0219Bpt.b; if (str2 != null) { C16819rWs c16819rWs = new C16819rWs(str, str2, 1020); C15883jPx c15883jPx = ipb.a; FMM b = C15883jPx.b(c0219Bpt.e); zfm zfmVar = ipb.b; BSe c = zfm.c(c0219Bpt.d); C17226uwG c17226uwG = ipb.c; sJm e = C17226uwG.e(c0219Bpt.g); String str3 = c0219Bpt.a; return new DzP(c16819rWs, new CmE(b, c, e, str3 != null ? str3 : "")); } throw new EntityMappingException("data must not be null or empty"); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C4727bfd c4727bfd) { super(1); this.c = c4727bfd; } } @Override // o.Cmy public final AbstractC13175fSw c(String str) { C14957gcv.e(str, ""); AbstractC13175fSw> transactions = this.a.transactions(str); final RVV rvv = new RVV(this); C13372fYk c13372fYk = new C13372fYk(transactions, new fSS(rvv) { // from class: o.JMY private InterfaceC14894gbR a; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.a; C14957gcv.e(interfaceC14894gbR, ""); return (DzP) interfaceC14894gbR.invoke(obj); } { this.a = rvv; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } @Override // o.Cmy public final void a() { this.e.d = null; } @Override // o.Cmy public final qPX b() { return this.e.d; } @Override // o.Cmy public final void e(C6146cK c6146cK, double d) { C14957gcv.e(c6146cK, ""); this.e.d = new qPX(c6146cK.c, c6146cK.e, c6146cK.a, c6146cK.b, (float) d, c6146cK.f, c6146cK.d, c6146cK.j); } }