289 lines
10 KiB
Java
289 lines
10 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.data.entity.transfer.SingleDataEntity;
|
||
|
import com.scb.phone.data.network.api.insurance.InsuranceApi;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collection;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class oWH implements IJC {
|
||
|
final C16423oIB a;
|
||
|
final bDW b;
|
||
|
final Qmk c;
|
||
|
private final InsuranceApi e;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public oWH(InsuranceApi insuranceApi, C16423oIB c16423oIB, Qmk qmk, bDW bdw) {
|
||
|
C14957gcv.e(insuranceApi, "");
|
||
|
C14957gcv.e(c16423oIB, "");
|
||
|
C14957gcv.e(qmk, "");
|
||
|
C14957gcv.e(bdw, "");
|
||
|
this.e = insuranceApi;
|
||
|
this.a = c16423oIB;
|
||
|
this.c = qmk;
|
||
|
this.b = bdw;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<RSe>, oEg> {
|
||
|
private oWH e;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ oEg invoke(SingleDataEntity<RSe> singleDataEntity) {
|
||
|
ArrayList arrayList;
|
||
|
C16423oIB c16423oIB = this.e.a;
|
||
|
RSe data = singleDataEntity.getData();
|
||
|
C14957gcv.c(data, "");
|
||
|
RSe rSe = data;
|
||
|
C14957gcv.e(rSe, "");
|
||
|
List<gus> list = rSe.c;
|
||
|
ArrayList arrayList2 = null;
|
||
|
if (list != null) {
|
||
|
List<gus> list2 = list;
|
||
|
oyX oyx = c16423oIB.b;
|
||
|
C14957gcv.e(list2, "");
|
||
|
ArrayList arrayList3 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
||
|
for (gus gusVar : list2) {
|
||
|
C14957gcv.e(gusVar, "");
|
||
|
String str = gusVar.a;
|
||
|
if (str == null) {
|
||
|
str = "";
|
||
|
}
|
||
|
String str2 = gusVar.d;
|
||
|
String str3 = gusVar.b;
|
||
|
List<rAh> list3 = gusVar.c;
|
||
|
if (list3 != null) {
|
||
|
List<rAh> list4 = list3;
|
||
|
oFz ofz = oyx.c;
|
||
|
C14957gcv.e(list4, "");
|
||
|
ArrayList arrayList4 = new ArrayList(list4 instanceof Collection ? list4.size() : 10);
|
||
|
Iterator<T> it = list4.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
arrayList4.add(oFz.d((rAh) it.next()));
|
||
|
}
|
||
|
arrayList = arrayList4;
|
||
|
} else {
|
||
|
arrayList = null;
|
||
|
}
|
||
|
arrayList3.add(new ZzO(str, str2, str3, arrayList));
|
||
|
}
|
||
|
arrayList2 = arrayList3;
|
||
|
}
|
||
|
return new oEg(arrayList2);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
RVV(oWH owh) {
|
||
|
super(1);
|
||
|
this.e = owh;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.IJC
|
||
|
public final AbstractC13175fSw<oEg> a() {
|
||
|
AbstractC13175fSw<SingleDataEntity<RSe>> portfolioSummary = this.e.portfolioSummary();
|
||
|
final RVV rvv = new RVV(this);
|
||
|
C13372fYk c13372fYk = new C13372fYk(portfolioSummary, new fSS(rvv) { // from class: o.fkK
|
||
|
private InterfaceC14894gbR e;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
InterfaceC14894gbR interfaceC14894gbR = this.e;
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
return (oEg) interfaceC14894gbR.invoke(obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = rvv;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(c13372fYk, "");
|
||
|
return c13372fYk;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<HHi>, C17422wet> {
|
||
|
private oWH d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C17422wet invoke(SingleDataEntity<HHi> singleDataEntity) {
|
||
|
C0427GiR c0427GiR;
|
||
|
C0895Qxv c0895Qxv;
|
||
|
Qmk qmk = this.d.c;
|
||
|
HHi data = singleDataEntity.getData();
|
||
|
C14957gcv.c(data, "");
|
||
|
HHi hHi = data;
|
||
|
C14957gcv.e(hHi, "");
|
||
|
String str = hHi.a;
|
||
|
String str2 = str == null ? "" : str;
|
||
|
String str3 = hHi.c;
|
||
|
String str4 = str3 == null ? "" : str3;
|
||
|
String str5 = hHi.g;
|
||
|
String str6 = str5 == null ? "" : str5;
|
||
|
String str7 = hHi.i;
|
||
|
String str8 = str7 == null ? "" : str7;
|
||
|
String str9 = hHi.f;
|
||
|
String str10 = str9 == null ? "" : str9;
|
||
|
String str11 = hHi.f8191o;
|
||
|
String str12 = str11 == null ? "" : str11;
|
||
|
C14851gaI c14851gaI = hHi.h;
|
||
|
if (c14851gaI == null) {
|
||
|
c14851gaI = C14851gaI.c;
|
||
|
}
|
||
|
List<String> list = c14851gaI;
|
||
|
Lel lel = hHi.d;
|
||
|
if (lel != null) {
|
||
|
mZG mzg = qmk.b;
|
||
|
C14957gcv.e(lel, "");
|
||
|
c0427GiR = new C0427GiR(lel.a, lel.b, lel.c, lel.d, lel.e);
|
||
|
} else {
|
||
|
c0427GiR = null;
|
||
|
}
|
||
|
YXA yxa = hHi.b;
|
||
|
if (yxa != null) {
|
||
|
mcf mcfVar = qmk.d;
|
||
|
C14957gcv.e(yxa, "");
|
||
|
c0895Qxv = new C0895Qxv(yxa.e, yxa.c, yxa.d, yxa.b);
|
||
|
} else {
|
||
|
c0895Qxv = null;
|
||
|
}
|
||
|
Kpz kpz = hHi.j;
|
||
|
jFB d = kpz != null ? qmk.e.d(kpz) : null;
|
||
|
String str13 = hHi.e;
|
||
|
return new C17422wet(str2, str4, str6, str8, str10, str12, list, c0427GiR, c0895Qxv, d, str13 == null ? "" : str13);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
Sts(oWH owh) {
|
||
|
super(1);
|
||
|
this.d = owh;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.IJC
|
||
|
public final AbstractC13175fSw<C17422wet> d(I i) {
|
||
|
C14957gcv.e(i, "");
|
||
|
AbstractC13175fSw<SingleDataEntity<HHi>> initiatePayment = this.e.initiatePayment(i);
|
||
|
final Sts sts = new Sts(this);
|
||
|
C13372fYk c13372fYk = new C13372fYk(initiatePayment, new fSS(sts) { // from class: o.AGI
|
||
|
private InterfaceC14894gbR a;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
InterfaceC14894gbR interfaceC14894gbR = this.a;
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
return (C17422wet) interfaceC14894gbR.invoke(obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = sts;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(c13372fYk, "");
|
||
|
return c13372fYk;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<Xkr>, C5465btZ> {
|
||
|
private oWH d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C5465btZ invoke(SingleDataEntity<Xkr> singleDataEntity) {
|
||
|
ArrayList arrayList;
|
||
|
bDW bdw = this.d.b;
|
||
|
Xkr data = singleDataEntity.getData();
|
||
|
C14957gcv.c(data, "");
|
||
|
Xkr xkr = data;
|
||
|
C14957gcv.e(xkr, "");
|
||
|
String str = xkr.a;
|
||
|
String str2 = xkr.i;
|
||
|
String str3 = xkr.b;
|
||
|
Double d = xkr.d;
|
||
|
Kpz kpz = xkr.c;
|
||
|
jFB d2 = kpz != null ? bdw.c.d(kpz) : null;
|
||
|
List<OBW> list = xkr.e;
|
||
|
if (list != null) {
|
||
|
ArrayList arrayList2 = new ArrayList();
|
||
|
for (OBW obw : list) {
|
||
|
tlc tlcVar = (obw.a == null || obw.b == null) ? null : new tlc(obw.a, obw.b);
|
||
|
if (tlcVar != null) {
|
||
|
arrayList2.add(tlcVar);
|
||
|
}
|
||
|
}
|
||
|
arrayList = arrayList2;
|
||
|
} else {
|
||
|
arrayList = null;
|
||
|
}
|
||
|
return new C5465btZ(str, str2, str3, d, d2, arrayList);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
LWm(oWH owh) {
|
||
|
super(1);
|
||
|
this.d = owh;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.IJC
|
||
|
public final AbstractC13175fSw<C5465btZ> b(E e) {
|
||
|
C14957gcv.e(e, "");
|
||
|
AbstractC13175fSw<SingleDataEntity<Xkr>> confirmPayment = this.e.confirmPayment(e);
|
||
|
final LWm lWm = new LWm(this);
|
||
|
C13372fYk c13372fYk = new C13372fYk(confirmPayment, new fSS(lWm) { // from class: o.pnM
|
||
|
private InterfaceC14894gbR d;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
InterfaceC14894gbR interfaceC14894gbR = this.d;
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
return (C5465btZ) interfaceC14894gbR.invoke(obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = lWm;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(c13372fYk, "");
|
||
|
return c13372fYk;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Boolean> {
|
||
|
public static final HBt b = new HBt();
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* bridge */ /* synthetic */ Boolean invoke(C16562pOe c16562pOe) {
|
||
|
return Boolean.TRUE;
|
||
|
}
|
||
|
|
||
|
HBt() {
|
||
|
super(1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.IJC
|
||
|
public final AbstractC13175fSw<Boolean> b(G g) {
|
||
|
C14957gcv.e(g, "");
|
||
|
AbstractC13175fSw<C16562pOe> requestEPolicy = this.e.requestEPolicy(g);
|
||
|
final HBt hBt = HBt.b;
|
||
|
C13372fYk c13372fYk = new C13372fYk(requestEPolicy, new fSS(hBt) { // from class: o.cBh
|
||
|
private InterfaceC14894gbR c;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
InterfaceC14894gbR interfaceC14894gbR = this.c;
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
return (Boolean) interfaceC14894gbR.invoke(obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = hBt;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(c13372fYk, "");
|
||
|
return c13372fYk;
|
||
|
}
|
||
|
}
|