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

480 lines
15 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.res.Resources;
import o.C15715hv;
import o.C7035cgg;
import o.InterfaceC9458dkC;
import o.ZI;
import o.cXH;
/* renamed from: o.cgg, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7035cgg extends ZI<InterfaceC9458dkC.Sts> {
public final String a;
public cXH.HBt.IeS b;
private boolean c;
public final C16006kR d;
private IeS e;
private final C15900jV g;
private final Resources h;
private String i;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cgg$IeS */
/* loaded from: classes4.dex */
public enum IeS {
WIFI_ENABLE,
MOBILE_NUMBER_NOT_FOUND,
MOBILE_NUMBER_FOUND
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7035cgg(C16006kR c16006kR, C15900jV c15900jV, Resources resources, String str, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c16006kR, "");
C14957gcv.e(c15900jV, "");
C14957gcv.e(resources, "");
C14957gcv.e(str, "");
this.d = c16006kR;
this.g = c15900jV;
this.h = resources;
this.a = str;
this.i = "";
}
public final void b(String str, boolean z) {
C14957gcv.e(str, "");
this.c = true;
this.b = cXH.HBt.IeS.valueOf(str);
if (z) {
if (this.e == IeS.WIFI_ENABLE) {
this.c = false;
return;
}
d();
ZI.IeS ieS = new ZI.IeS() { // from class: o.cgk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9458dkC.Sts) obj).g();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
if (this.e == IeS.MOBILE_NUMBER_FOUND) {
this.c = false;
} else {
c();
}
}
public final void a(boolean z) {
if (this.c || this.e == IeS.MOBILE_NUMBER_FOUND) {
return;
}
cXH.HBt.IeS ieS = this.b;
if (ieS == null) {
C14957gcv.a("");
ieS = null;
}
b(ieS.name(), z);
}
/* renamed from: o.cgg$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Pag, C14866gag> {
private C7035cgg d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Pag pag) {
C14957gcv.e(pag, "");
final C7035cgg c7035cgg = this.d;
ZI.IeS ieS = new ZI.IeS(c7035cgg) { // from class: o.cgl
private C7035cgg c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7035cgg.RVV.b(this.c, (InterfaceC9458dkC.Sts) obj);
}
{
this.c = c7035cgg;
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
return C14866gag.c;
}
public static /* synthetic */ void b(C7035cgg c7035cgg, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c7035cgg, "");
sts.ar_();
sts.j();
c7035cgg.c = false;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C7035cgg c7035cgg) {
super(1);
this.d = c7035cgg;
}
}
/* renamed from: o.cgg$ZqN */
/* loaded from: classes4.dex */
public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7035cgg a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C7035cgg c7035cgg = this.a;
C7035cgg.e(c7035cgg, th2, new Runnable(c7035cgg) { // from class: o.cgu
private C7035cgg a;
@Override // java.lang.Runnable
public final void run() {
C7035cgg.ZqN.c(this.a);
}
{
this.a = c7035cgg;
}
});
return C14866gag.c;
}
public static /* synthetic */ void c(C7035cgg c7035cgg) {
C14957gcv.e(c7035cgg, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cgq
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9458dkC.Sts) obj).a();
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public ZqN(C7035cgg c7035cgg) {
super(1);
this.a = c7035cgg;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cgg$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<nvv, C14866gag> {
private C7035cgg e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(nvv nvvVar) {
nvv nvvVar2 = nvvVar;
C14957gcv.e(nvvVar2, "");
if (nvvVar2.a != null) {
String str = nvvVar2.a;
C14957gcv.c((Object) str, "");
if (str.length() > 0) {
C7035cgg c7035cgg = this.e;
String str2 = nvvVar2.a;
C14957gcv.c((Object) str2, "");
C7035cgg.a(c7035cgg, str2);
return C14866gag.c;
}
}
C7035cgg.d(this.e);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C7035cgg c7035cgg) {
super(1);
this.e = c7035cgg;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cgg$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7035cgg c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C14957gcv.e(th, "");
C7035cgg.d(this.c);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C7035cgg c7035cgg) {
super(1);
this.c = c7035cgg;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cgg$jbe */
/* loaded from: classes4.dex */
public static final class jbe extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C7035cgg a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C7035cgg c7035cgg = this.a;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cgs
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9458dkC.Sts) obj).e();
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jbe(C7035cgg c7035cgg) {
super(0);
this.a = c7035cgg;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cgg$saX */
/* loaded from: classes4.dex */
public static final class saX extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C7035cgg b;
private String c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C7035cgg c7035cgg = this.b;
final String str = this.c;
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.cgr
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7035cgg.saX.e(this.b, (InterfaceC9458dkC.Sts) obj);
}
{
this.b = str;
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
return C14866gag.c;
}
public static /* synthetic */ void e(String str, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(str, "");
sts.b(str);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(C7035cgg c7035cgg, String str) {
super(0);
this.b = c7035cgg;
this.c = str;
}
}
public static /* synthetic */ void e(C0992Te c0992Te, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c0992Te, "");
sts.c(c0992Te);
sts.ar_();
}
public static /* synthetic */ void b(C0992Te c0992Te, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c0992Te, "");
sts.c(c0992Te);
sts.ar_();
sts.i();
}
public static /* synthetic */ void c(C7035cgg c7035cgg, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c7035cgg, "");
sts.d(c7035cgg.i);
}
public static /* synthetic */ void c(C0992Te c0992Te, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c0992Te, "");
sts.c(c0992Te);
sts.ar_();
}
public static /* synthetic */ void d(C7035cgg c7035cgg, String str, InterfaceC9458dkC.Sts sts) {
C14957gcv.e(c7035cgg, "");
C14957gcv.e(str, "");
Boolean h = c7035cgg.g.d.h();
if (h != null && h.booleanValue()) {
c7035cgg.i = str;
sts.d();
} else {
sts.d(str);
}
}
public static final /* synthetic */ void e(C7035cgg c7035cgg, Throwable th, Runnable runnable) {
if (c7035cgg.b(th)) {
c7035cgg.d(c7035cgg.j.c(th, runnable));
}
}
public static final /* synthetic */ void a(C7035cgg c7035cgg, String str) {
String str2 = (String) C6583cXR.c(new Object[]{true, true, str}, -1092823629, 1092823630, (int) System.currentTimeMillis());
int i = C15715hv.tOB.auto_touchpoints_check_your_mobile_number;
int i2 = C15715hv.IeS.ic_mobile_pass;
String string = c7035cgg.h.getString(C15715hv.tOB.auto_touchpoints_registration_by_number, str2);
C14957gcv.c((Object) string, "");
String string2 = c7035cgg.h.getString(C15715hv.tOB.auto_touchpoints_registration_by_number_description);
C14957gcv.c((Object) string2, "");
final C0992Te c0992Te = new C0992Te(i, i2, string, string2, c7035cgg.h.getString(C15715hv.tOB.auto_touchpoints_registration_by_number_remark), new saX(c7035cgg, str), c7035cgg.h.getString(C15715hv.tOB.next_button));
ZI.IeS ieS = new ZI.IeS(c0992Te) { // from class: o.cgi
private C0992Te e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7035cgg.b(this.e, (InterfaceC9458dkC.Sts) obj);
}
{
this.e = c0992Te;
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
c7035cgg.c = false;
c7035cgg.e = IeS.MOBILE_NUMBER_FOUND;
}
public static final /* synthetic */ void d(C7035cgg c7035cgg) {
int i = C15715hv.tOB.auto_touchpoints_mobile_number_not_found;
int i2 = C15715hv.IeS.ic_mobile_warning;
String string = c7035cgg.h.getString(C15715hv.tOB.auto_touchpoints_troubleshooting_tips);
C14957gcv.c((Object) string, "");
String string2 = c7035cgg.h.getString(C15715hv.tOB.auto_touchpoints_troubleshooting_step);
C14957gcv.c((Object) string2, "");
final C0992Te c0992Te = new C0992Te(i, i2, string, string2, null, null, null);
ZI.IeS ieS = new ZI.IeS(c0992Te) { // from class: o.cgp
private C0992Te a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7035cgg.e(this.a, (InterfaceC9458dkC.Sts) obj);
}
{
this.a = c0992Te;
}
};
if (c7035cgg.f != 0) {
ieS.e(c7035cgg.f);
}
c7035cgg.c = false;
c7035cgg.e = IeS.MOBILE_NUMBER_NOT_FOUND;
}
private final void c() {
if (this.f != 0) {
this.f.y();
}
C16006kR c16006kR = this.d;
final HBt hBt = new HBt(this);
final LWm lWm = new LWm(this);
C14957gcv.e(hBt, "");
C14957gcv.e(lWm, "");
QAJ qaj = c16006kR.e;
qaj.d(qaj.d.d(), new fSQ(hBt) { // from class: o.kT
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke((nvv) obj);
}
{
this.d = hBt;
}
}, new fSQ(lWm) { // from class: o.kY
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke((Throwable) obj);
}
{
this.d = lWm;
}
});
}
private final void d() {
if (this.f != 0) {
this.f.y();
}
int i = C15715hv.tOB.wifi_title;
int i2 = C15715hv.IeS.ic_use_3_g_4_g;
String string = this.h.getString(C15715hv.tOB.auto_touchpoints_please_use_mobile_data);
C14957gcv.c((Object) string, "");
String string2 = this.h.getString(C15715hv.tOB.auto_touchpoints_please_turn_off_wifi);
C14957gcv.c((Object) string2, "");
final C0992Te c0992Te = new C0992Te(i, i2, string, string2, null, new jbe(this), this.h.getString(C15715hv.tOB.wifi_button));
ZI.IeS ieS = new ZI.IeS(c0992Te) { // from class: o.cgj
private C0992Te c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7035cgg.c(this.c, (InterfaceC9458dkC.Sts) obj);
}
{
this.c = c0992Te;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
this.c = false;
this.e = IeS.WIFI_ENABLE;
}
/* renamed from: o.cgg$Sts */
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts {
public static final int[] b;
static {
int[] iArr = new int[cXH.HBt.IeS.values().length];
try {
iArr[cXH.HBt.IeS.NORMAL_FLOW.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[cXH.HBt.IeS.RESUME_FLOW.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
b = iArr;
}
}
}