package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import o.DiG; import org.threeten.bp.OffsetDateTime; /* renamed from: o.yHh, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17606yHh implements Igg { final Ney a; final C16983srh b; final C16219mRF c; final C16348neP d; private final qEm e; @InterfaceC13391fZD public C17606yHh(qEm qem, C16348neP c16348neP, C16219mRF c16219mRF, Ney ney, C16983srh c16983srh) { C14957gcv.e(qem, ""); C14957gcv.e(c16348neP, ""); C14957gcv.e(c16219mRF, ""); C14957gcv.e(ney, ""); C14957gcv.e(c16983srh, ""); this.e = qem; this.d = c16348neP; this.c = c16219mRF; this.a = ney; this.b = c16983srh; } /* renamed from: o.yHh$LWm */ /* loaded from: classes3.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR, C17671ymh> { private C17606yHh c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C17671ymh invoke(SingleDataEntity singleDataEntity) { List list; C16348neP c16348neP = this.c.d; qhl data = singleDataEntity.getData(); if (data == null || (list = data.a) == null) { return null; } C17671ymh e = C17671ymh.e(); List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it = list2.iterator(); while (it.hasNext()) { arrayList.add(C16348neP.d((HUn) it.next())); } e.c = arrayList; return e; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C17606yHh c17606yHh) { super(1); this.c = c17606yHh; } } @Override // o.Igg public final AbstractC13175fSw e() { AbstractC13175fSw> recommendedBiller = this.e.a.getRecommendedBiller(); final LWm lWm = new LWm(this); C13372fYk c13372fYk = new C13372fYk(recommendedBiller, new fSS(lWm) { // from class: o.xou private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (C17671ymh) interfaceC14894gbR.invoke(obj); } { this.e = lWm; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } /* renamed from: o.yHh$Sts */ /* loaded from: classes3.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR, pmX> { private C17606yHh e; @Override // o.InterfaceC14894gbR public final /* synthetic */ pmX invoke(SingleDataEntity singleDataEntity) { ArrayList arrayList; C16348neP c16348neP = this.e.d; ZRS data = singleDataEntity.getData(); yPn ypn = null; if (data == null) { return null; } pmX pmx = new pmX(); List list = data.b; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it = list2.iterator(); while (it.hasNext()) { arrayList2.add(C16348neP.d((HUn) it.next())); } arrayList = arrayList2; } else { arrayList = null; } pmx.a = arrayList; Lsy lsy = data.d; if (lsy != null) { ypn = new yPn(); ypn.d = lsy.a; ypn.e = lsy.e; ypn.b = lsy.d; } pmx.b = ypn; return pmx; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(C17606yHh c17606yHh) { super(1); this.e = c17606yHh; } } @Override // o.Igg public final AbstractC13175fSw a(C15601gyZ c15601gyZ) { C14957gcv.e(c15601gyZ, ""); qEm qem = this.e; C14957gcv.e(c15601gyZ, ""); AbstractC13175fSw> billerInfo = qem.a.getBillerInfo(c15601gyZ); final Sts sts = new Sts(this); C13372fYk c13372fYk = new C13372fYk(billerInfo, new fSS(sts) { // from class: o.mpF private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (pmX) interfaceC14894gbR.invoke(obj); } { this.e = sts; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } /* renamed from: o.yHh$IeS */ /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR, WvL> { private C17606yHh a; @Override // o.InterfaceC14894gbR public final /* synthetic */ WvL invoke(SingleDataEntity singleDataEntity) { C16219mRF c16219mRF = this.a.c; return C16219mRF.e(singleDataEntity.getData()); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C17606yHh c17606yHh) { super(1); this.a = c17606yHh; } } @Override // o.Igg public final AbstractC13175fSw d(C12607fC c12607fC) { C14957gcv.e(c12607fC, ""); qEm qem = this.e; C14957gcv.e(c12607fC, ""); AbstractC13175fSw> scanBillerInfo = qem.a.getScanBillerInfo(c12607fC); final IeS ieS = new IeS(this); C13372fYk c13372fYk = new C13372fYk(scanBillerInfo, new fSS(ieS) { // from class: o.ArK private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (WvL) interfaceC14894gbR.invoke(obj); } { this.e = ieS; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } @Override // o.Igg public final AbstractC13175fSw b(C0792OqF c0792OqF) { C14957gcv.e(c0792OqF, ""); DiG.Sts sts = DiG.a; DiG.Sts.d("3002"); qEm qem = this.e; C14957gcv.e(c0792OqF, ""); AbstractC13175fSw> verifyRegistration = qem.a.verifyRegistration(c0792OqF); final HBt hBt = new HBt(this); C13325fXX c13325fXX = new C13325fXX(new C13372fYk(verifyRegistration, new fSS(hBt) { // from class: o.TWH private InterfaceC14894gbR b; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.b; C14957gcv.e(interfaceC14894gbR, ""); return (smo) interfaceC14894gbR.invoke(obj); } { this.b = hBt; } }), new IpU(DiG.a)); C14957gcv.c(c13325fXX, ""); return c13325fXX; } /* renamed from: o.yHh$HBt */ /* loaded from: classes3.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR, smo> { private C17606yHh c; @Override // o.InterfaceC14894gbR public final /* synthetic */ smo invoke(SingleDataEntity singleDataEntity) { String str; SingleDataEntity singleDataEntity2 = singleDataEntity; Ney ney = this.c.a; C1123Wbr data = singleDataEntity2.getData(); yzb status = singleDataEntity2.getStatus(); C14957gcv.c(status, ""); C14957gcv.e(status, ""); if (data != null && (str = data.a) != null) { return new smo(str, status.e, status.h, status.c); } throw new EntityMappingException(ney.a); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C17606yHh c17606yHh) { super(1); this.c = c17606yHh; } } @Override // o.Igg public final AbstractC13175fSw d(PPL ppl, String str, String str2) { C14957gcv.e(ppl, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); qEm qem = this.e; C14957gcv.e(ppl, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); AbstractC13175fSw> confirmRegistrationDirectDebit = qem.a.confirmRegistrationDirectDebit(ppl, str, str2); final RVV rvv = new RVV(this); C13372fYk c13372fYk = new C13372fYk(confirmRegistrationDirectDebit, new fSS(rvv) { // from class: o.fKZ private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (Prn) interfaceC14894gbR.invoke(obj); } { this.e = rvv; } }); C14957gcv.c(c13372fYk, ""); return c13372fYk; } /* renamed from: o.yHh$RVV */ /* loaded from: classes3.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR, Prn> { private C17606yHh d; @Override // o.InterfaceC14894gbR public final /* synthetic */ Prn invoke(SingleDataEntity singleDataEntity) { C16983srh c16983srh = this.d.b; ihq data = singleDataEntity.getData(); C14957gcv.c(data, ""); ihq ihqVar = data; C14957gcv.e(ihqVar, ""); return new Prn((OffsetDateTime) ZTC.e(new Object[]{ihqVar.d, null}, 267499366, -267499366, (int) System.currentTimeMillis()), ihqVar.b); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C17606yHh c17606yHh) { super(1); this.d = c17606yHh; } } }