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

248 lines
7.6 KiB
Java

package o;
import android.os.SystemClock;
import o.C15715hv;
import o.C3957bLt;
import o.ZI;
import o.tIS;
/* renamed from: o.bLt */
/* loaded from: classes4.dex */
public final class C3957bLt extends ZI<InterfaceC9437dji> {
private final C17413wc a;
public long b;
public final oaj c;
private boolean d;
private boolean e;
private final C15946jp g;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3957bLt(oaj oajVar, C15946jp c15946jp, C17413wc c17413wc, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(oajVar, "");
C14957gcv.e(c15946jp, "");
C14957gcv.e(c17413wc, "");
C14957gcv.e(c16903sI, "");
this.c = oajVar;
this.g = c15946jp;
this.a = c17413wc;
}
/* renamed from: o.bLt$IeS */
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bLt$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3957bLt a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C3957bLt.a(this.a, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C3957bLt c3957bLt) {
super(1);
this.a = c3957bLt;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bLt$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<String, C14866gag> {
private String d;
private C3957bLt e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
C3957bLt.a(this.e);
C3957bLt c3957bLt = this.e;
ZI.IeS ieS = new ZI.IeS(this.d, str2) { // from class: o.bLB
private String a;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3957bLt.Sts.d(this.e, this.a, (InterfaceC9437dji) obj);
}
{
this.e = r1;
this.a = str2;
}
};
if (c3957bLt.f != 0) {
ieS.e(c3957bLt.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(String str, String str2, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (C14957gcv.b((Object) str, (Object) "PRE_REGISTERED")) {
interfaceC9437dji.d(str2);
} else if (C14957gcv.b((Object) str, (Object) "DEVICE_NOT_REGISTERED")) {
interfaceC9437dji.b(str2);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C3957bLt c3957bLt, String str) {
super(1);
this.e = c3957bLt;
this.d = str;
}
}
public static /* synthetic */ void b(C3957bLt c3957bLt, CdV cdV) {
if (c3957bLt.f != 0) {
c3957bLt.f.ar_();
}
C3963bLz c3963bLz = new C3963bLz();
if (c3957bLt.f != 0) {
c3963bLz.e(c3957bLt.f);
}
ZI.IeS ieS = new ZI.IeS(cdV) { // from class: o.bLC
private CdV c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3957bLt.b(this.c, (InterfaceC9437dji) obj);
}
{
this.c = cdV;
}
};
if (c3957bLt.f != 0) {
ieS.e(c3957bLt.f);
}
}
public static /* synthetic */ void b(CdV cdV, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(cdV, "");
interfaceC9437dji.b(cdV.d, cdV.c);
}
public static /* synthetic */ void e(C3957bLt c3957bLt, String str, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(c3957bLt, "");
C14957gcv.e(str, "");
C17413wc c17413wc = c3957bLt.a;
C14957gcv.e(str, "");
String string = c17413wc.e.getString(C15715hv.tOB.juristic_starting_pin_has_been_sent, C17413wc.b(str));
C14957gcv.c((Object) string, "");
interfaceC9437dji.c(string, EnumC8951daY.SUCCESS);
}
public static /* synthetic */ void a(C3957bLt c3957bLt, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(c3957bLt, "");
interfaceC9437dji.e(c3957bLt.e && c3957bLt.d);
}
public static /* synthetic */ void b(C3957bLt c3957bLt, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(c3957bLt, "");
interfaceC9437dji.c((15000 - (SystemClock.elapsedRealtime() - c3957bLt.b)) / 1000);
}
public static /* synthetic */ void b(C3957bLt c3957bLt, Throwable th, InterfaceC9437dji interfaceC9437dji) {
C14957gcv.e(c3957bLt, "");
C14957gcv.e(th, "");
interfaceC9437dji.c(c3957bLt.j.e(th).c, EnumC8951daY.ERROR);
}
public static /* synthetic */ void e(C3957bLt c3957bLt, Throwable th) {
if (c3957bLt.f != 0) {
c3957bLt.f.ar_();
}
C3963bLz c3963bLz = new C3963bLz();
if (c3957bLt.f != 0) {
c3963bLz.e(c3957bLt.f);
}
ZI.IeS ieS = new ZI.IeS(c3957bLt, th) { // from class: o.bLy
private Throwable a;
private C3957bLt e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3957bLt.b(this.e, this.a, (InterfaceC9437dji) obj);
}
{
this.e = c3957bLt;
this.a = th;
}
};
if (c3957bLt.f != 0) {
ieS.e(c3957bLt.f);
}
}
public static final /* synthetic */ void a(C3957bLt c3957bLt) {
if (c3957bLt.f != 0) {
c3957bLt.f.ar_();
}
}
public static final /* synthetic */ void a(C3957bLt c3957bLt, Throwable th) {
if (c3957bLt.b(th)) {
c3957bLt.d(c3957bLt.j.e(th));
}
}
public final void d(String str, String str2, String str3, String str4) {
if (this.f != 0) {
this.f.y();
}
C15946jp c15946jp = this.g;
Sts sts = new Sts(this, str2);
RVV rvv = new RVV(this);
C1677aL c1677aL = new C1677aL(str, str2, str3, str4);
C14957gcv.e(sts, "");
C14957gcv.e(rvv, "");
C14957gcv.e(c1677aL, "");
c15946jp.b(c15946jp.d, sts, rvv, new tIS.RVV(c1677aL));
}
public final boolean c(String str, int i) {
C14957gcv.e(str, "");
this.d = (str == null || str.equals("") || str.length() != i) ? false : true;
C3960bLw c3960bLw = new C3960bLw(this);
if (this.f != 0) {
c3960bLw.e(this.f);
}
return this.d;
}
public final boolean b(String str, int i) {
C14957gcv.e(str, "");
this.e = (str == null || str.equals("") || str.length() != i) ? false : true;
C3960bLw c3960bLw = new C3960bLw(this);
if (this.f != 0) {
c3960bLw.e(this.f);
}
return this.e;
}
static {
new IeS((byte) 0);
}
}