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

560 lines
18 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.juristic.JuristicApi;
import org.threeten.bp.OffsetDateTime;
@fZH
/* loaded from: classes.dex */
public final class MVI implements Rcg {
private final JuristicApi a;
private final String c;
final lMS d;
private final YWN e;
@InterfaceC13391fZD
public MVI(JuristicApi juristicApi, lMS lms, YWN ywn, String str) {
C14957gcv.e(juristicApi, "");
C14957gcv.e(lms, "");
C14957gcv.e(ywn, "");
C14957gcv.e(str, "");
this.a = juristicApi;
this.d = lms;
this.e = ywn;
this.c = str;
}
/* loaded from: classes.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<nfH>, QpB> {
private MVI c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ QpB invoke(SingleDataEntity<nfH> singleDataEntity) {
lMS lms = this.c.d;
nfH data = singleDataEntity.getData();
if (data != null) {
return new QpB(data.d, (OffsetDateTime) ZTC.e(new Object[]{data.b, null}, 267499366, -267499366, (int) System.currentTimeMillis()));
}
return null;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(MVI mvi) {
super(1);
this.c = mvi;
}
}
@Override // o.Rcg
public final AbstractC13163fSk<QpB> e(String str) {
C14957gcv.e(str, "");
AbstractC13163fSk<SingleDataEntity<nfH>> requestForm = this.a.requestForm(new GyT(str));
final RVV rvv = new RVV(this);
AbstractC13163fSk map = requestForm.map(new fSS(rvv) { // from class: o.PfC
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (QpB) interfaceC14894gbR.invoke(obj);
}
{
this.a = rvv;
}
});
C14957gcv.c(map, "");
return map;
}
/* loaded from: classes.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C17300vdp>, String> {
public static final IeS e = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ String invoke(SingleDataEntity<C17300vdp> singleDataEntity) {
return singleDataEntity.getData().c;
}
IeS() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> d(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
AbstractC13175fSw<SingleDataEntity<C17300vdp>> resetPin = this.a.resetPin(new ZHW(str, str2));
final IeS ieS = IeS.e;
C13372fYk c13372fYk = new C13372fYk(resetPin, new fSS(ieS) { // from class: o.qkq
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.d = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes.dex */
static final class jNh extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C17300vdp>, String> {
public static final jNh a = new jNh();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ String invoke(SingleDataEntity<C17300vdp> singleDataEntity) {
return singleDataEntity.getData().c;
}
jNh() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> a(C1501aG c1501aG) {
C14957gcv.e(c1501aG, "");
AbstractC13175fSw<SingleDataEntity<C17300vdp>> verifyResetPin = this.a.verifyResetPin(c1501aG);
final jNh jnh = jNh.a;
C13372fYk c13372fYk = new C13372fYk(verifyResetPin, new fSS(jnh) { // from class: o.LAq
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.a = jnh;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, Boolean> {
public static final Sts c = new Sts();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ Boolean invoke(C16562pOe c16562pOe) {
return Boolean.TRUE;
}
Sts() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<Boolean> e(C1501aG c1501aG) {
C14957gcv.e(c1501aG, "");
AbstractC13175fSw<C16562pOe> confirmResetPin = this.a.confirmResetPin(c1501aG);
final Sts sts = Sts.c;
C13372fYk c13372fYk = new C13372fYk(confirmResetPin, new fSS(sts) { // from class: o.hGQ
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (Boolean) interfaceC14894gbR.invoke(obj);
}
{
this.b = sts;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
@Override // o.Rcg
public final AbstractC13163fSk<ALr> d(String str) {
C14957gcv.e(str, "");
C15571guL d = this.e.d(str);
AbstractC13163fSk<SingleDataEntity<oXt>> deviceState = this.a.deviceState(d.c, d.d, this.c);
final HBt hBt = HBt.e;
AbstractC13163fSk map = deviceState.map(new fSS(hBt) { // from class: o.eQj
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (ALr) interfaceC14894gbR.invoke(obj);
}
{
this.a = hBt;
}
});
C14957gcv.c(map, "");
return map;
}
/* loaded from: classes.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<oXt>, ALr> {
public static final HBt e = new HBt();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ ALr invoke(SingleDataEntity<oXt> singleDataEntity) {
oXt data = singleDataEntity.getData();
return new ALr(data.e, data.d, data.c);
}
HBt() {
super(1);
}
}
/* loaded from: classes.dex */
static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<MAF>, MAF> {
public static final tOB a = new tOB();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ MAF invoke(SingleDataEntity<MAF> singleDataEntity) {
return singleDataEntity.getData();
}
tOB() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> d(String str, String str2, C1434aE c1434aE) {
C14957gcv.e(c1434aE, "");
AbstractC13175fSw<SingleDataEntity<MAF>> verifyOtp = this.a.verifyOtp(str, str2, c1434aE);
final tOB tob = tOB.a;
C13372fYk c13372fYk = new C13372fYk(verifyOtp, new fSS(tob) { // from class: o.Rgi
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (MAF) interfaceC14894gbR.invoke(obj);
}
{
this.c = tob;
}
});
final ZqN zqN = ZqN.d;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(zqN) { // from class: o.dfM
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.a = zqN;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes.dex */
static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<MAF, String> {
public static final ZqN d = new ZqN();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ String invoke(MAF maf) {
return maf.e;
}
ZqN() {
super(1);
}
}
/* loaded from: classes.dex */
static final class vUG extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C17300vdp>, C17300vdp> {
public static final vUG c = new vUG();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C17300vdp invoke(SingleDataEntity<C17300vdp> singleDataEntity) {
return singleDataEntity.getData();
}
vUG() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> e(String str, String str2, C1469aF c1469aF) {
C14957gcv.e(c1469aF, "");
AbstractC13175fSw<SingleDataEntity<C17300vdp>> verifyResetPinOtp = this.a.verifyResetPinOtp(str, str2, c1469aF);
final vUG vug = vUG.c;
C13372fYk c13372fYk = new C13372fYk(verifyResetPinOtp, new fSS(vug) { // from class: o.Gca
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (C17300vdp) interfaceC14894gbR.invoke(obj);
}
{
this.c = vug;
}
});
final ZnX znX = ZnX.e;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(znX) { // from class: o.kBy
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.c = znX;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes.dex */
static final class ZnX extends AbstractC14961gcz implements InterfaceC14894gbR<C17300vdp, String> {
public static final ZnX e = new ZnX();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ String invoke(C17300vdp c17300vdp) {
return c17300vdp.c;
}
ZnX() {
super(1);
}
}
/* loaded from: classes.dex */
static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<C16562pOe, InterfaceC13169fSq<? extends Boolean>> {
public static final saX b = new saX();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ InterfaceC13169fSq<? extends Boolean> invoke(C16562pOe c16562pOe) {
return AbstractC13163fSk.just(Boolean.TRUE);
}
saX() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13163fSk<Boolean> e(C3465ay c3465ay) {
C14957gcv.e(c3465ay, "");
AbstractC13163fSk<C16562pOe> abstractC13163fSk = this.a.setupJuristicPin(c3465ay);
final saX sax = saX.b;
AbstractC13163fSk flatMap = abstractC13163fSk.flatMap(new fSS(sax) { // from class: o.Cja
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.d = sax;
}
});
C14957gcv.c(flatMap, "");
return flatMap;
}
/* loaded from: classes.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C0887Quf>, CdV> {
public static final LWm d = new LWm();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ CdV invoke(SingleDataEntity<C0887Quf> singleDataEntity) {
C0887Quf data = singleDataEntity.getData();
return new CdV(data.c, data.e);
}
LWm() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13163fSk<CdV> c() {
AbstractC13163fSk<SingleDataEntity<C0887Quf>> sendOta = this.a.sendOta();
final LWm lWm = LWm.d;
AbstractC13163fSk map = sendOta.map(new fSS(lWm) { // from class: o.Imz
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.c;
C14957gcv.e(interfaceC14894gbR, "");
return (CdV) interfaceC14894gbR.invoke(obj);
}
{
this.c = lWm;
}
});
C14957gcv.c(map, "");
return map;
}
/* loaded from: classes.dex */
static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C1137Wkz>, C1137Wkz> {
public static final jbe c = new jbe();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C1137Wkz invoke(SingleDataEntity<C1137Wkz> singleDataEntity) {
return singleDataEntity.getData();
}
jbe() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> c(C1366aC c1366aC) {
C14957gcv.e(c1366aC, "");
AbstractC13175fSw<SingleDataEntity<C1137Wkz>> verifyBusinessPin = this.a.verifyBusinessPin(c1366aC);
final jbe jbeVar = jbe.c;
C13372fYk c13372fYk = new C13372fYk(verifyBusinessPin, new fSS(jbeVar) { // from class: o.Udt
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (C1137Wkz) interfaceC14894gbR.invoke(obj);
}
{
this.e = jbeVar;
}
});
final ojQ ojq = ojQ.b;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(ojq) { // from class: o.Xcq
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.a = ojq;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes.dex */
static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR<C1137Wkz, String> {
public static final ojQ b = new ojQ();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ String invoke(C1137Wkz c1137Wkz) {
return c1137Wkz.d;
}
ojQ() {
super(1);
}
}
/* loaded from: classes.dex */
static final class NHB extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<C7250ckj>, C7250ckj> {
public static final NHB d = new NHB();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C7250ckj invoke(SingleDataEntity<C7250ckj> singleDataEntity) {
return singleDataEntity.getData();
}
NHB() {
super(1);
}
}
@Override // o.Rcg
public final AbstractC13175fSw<String> e(C1677aL c1677aL) {
C14957gcv.e(c1677aL, "");
AbstractC13175fSw<SingleDataEntity<C7250ckj>> verifyUser = this.a.verifyUser(c1677aL);
final NHB nhb = NHB.d;
C13372fYk c13372fYk = new C13372fYk(verifyUser, new fSS(nhb) { // from class: o.nyw
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C7250ckj) interfaceC14894gbR.invoke(obj);
}
{
this.b = nhb;
}
});
final dAO dao = dAO.e;
C13372fYk c13372fYk2 = new C13372fYk(c13372fYk, new fSS(dao) { // from class: o.kjM
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (String) interfaceC14894gbR.invoke(obj);
}
{
this.a = dao;
}
});
C14957gcv.c(c13372fYk2, "");
return c13372fYk2;
}
/* loaded from: classes.dex */
static final class dAO extends AbstractC14961gcz implements InterfaceC14894gbR<C7250ckj, String> {
public static final dAO e = new dAO();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ String invoke(C7250ckj c7250ckj) {
return c7250ckj.e;
}
dAO() {
super(1);
}
}
}