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

185 lines
6.4 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.service.prepaid.PrepaidActivationService;
import o.WNM;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class hYk implements JQW {
final YIt a;
final C0174Aqx b;
final PTt c;
private final PrepaidActivationService d;
private final String e;
@InterfaceC13391fZD
public hYk(String str, PrepaidActivationService prepaidActivationService, C0174Aqx c0174Aqx, YIt yIt, PTt pTt) {
C14957gcv.e(str, "");
C14957gcv.e(prepaidActivationService, "");
C14957gcv.e(c0174Aqx, "");
C14957gcv.e(yIt, "");
C14957gcv.e(pTt, "");
this.e = str;
this.d = prepaidActivationService;
this.b = c0174Aqx;
this.a = yIt;
this.c = pTt;
}
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C17371wGw>, Grc> {
private hYk a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Grc invoke(SingleDataEntity<C17371wGw> singleDataEntity) {
C0174Aqx c0174Aqx = this.a.b;
C17371wGw data = singleDataEntity.getData();
C14957gcv.c(data, "");
C17371wGw c17371wGw = data;
C14957gcv.e(c17371wGw, "");
return new Grc(C0174Aqx.e(c17371wGw.b));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(hYk hyk) {
super(1);
this.a = hyk;
}
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<ICj>, XNw> {
private hYk b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ XNw invoke(SingleDataEntity<ICj> singleDataEntity) {
YIt yIt = this.b.a;
ICj data = singleDataEntity.getData();
C14957gcv.c(data, "");
return YIt.c(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(hYk hyk) {
super(1);
this.b = hyk;
}
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<Oxf>, WNM> {
private hYk c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ WNM invoke(SingleDataEntity<Oxf> singleDataEntity) {
String str;
String str2;
String str3;
PTt pTt = this.c.c;
Oxf data = singleDataEntity.getData();
C14957gcv.c(data, "");
Oxf oxf = data;
C14957gcv.e(oxf, "");
String str4 = oxf.d;
OffsetDateTime offsetDateTime = (OffsetDateTime) ZTC.e(new Object[]{oxf.e, null}, 267499366, -267499366, (int) System.currentTimeMillis());
yzb yzbVar = oxf.b.c;
if (yzbVar == null || (str = yzbVar.e) == null) {
str = "";
}
if (yzbVar == null || (str2 = yzbVar.h) == null) {
str2 = "";
}
if (yzbVar == null || (str3 = yzbVar.c) == null) {
str3 = "";
}
WNM.RVV rvv = new WNM.RVV(new kkY(str, str2, str3));
String str5 = oxf.c;
return new WNM(str4, offsetDateTime, rvv, str5 != null ? str5 : "");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(hYk hyk) {
super(1);
this.c = hyk;
}
}
@Override // o.JQW
public final AbstractC13175fSw<WNM> e(C9296dh c9296dh, String str, String str2) {
C14957gcv.e(c9296dh, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13175fSw<SingleDataEntity<Oxf>> prepaidActivateOtpConfirm = this.d.getPrepaidActivateOtpConfirm(c9296dh, str, str2);
final RVV rvv = new RVV(this);
C13372fYk c13372fYk = new C13372fYk(prepaidActivateOtpConfirm, new fSS(rvv) { // from class: o.TqY
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (WNM) interfaceC14894gbR.invoke(obj);
}
{
this.c = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.JQW
public final AbstractC13175fSw<Grc> a(C9032dc c9032dc) {
C14957gcv.e(c9032dc, "");
String str = this.e;
C14957gcv.e(str, "");
c9032dc.c = str;
AbstractC13175fSw<SingleDataEntity<C17371wGw>> prepaidActivationLanding = this.d.getPrepaidActivationLanding(c9032dc);
final HBt hBt = new HBt(this);
C13372fYk c13372fYk = new C13372fYk(prepaidActivationLanding, new fSS(hBt) { // from class: o.Kob
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (Grc) interfaceC14894gbR.invoke(obj);
}
{
this.c = hBt;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.JQW
public final AbstractC13175fSw<XNw> a(C9508dl c9508dl) {
C14957gcv.e(c9508dl, "");
String str = this.e;
C14957gcv.e(str, "");
c9508dl.c = str;
AbstractC13175fSw<SingleDataEntity<ICj>> prepaidActivationVerification = this.d.getPrepaidActivationVerification(c9508dl);
final IeS ieS = new IeS(this);
C13372fYk c13372fYk = new C13372fYk(prepaidActivationVerification, new fSS(ieS) { // from class: o.EIq
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (XNw) interfaceC14894gbR.invoke(obj);
}
{
this.d = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}