316 lines
10 KiB
Java
316 lines
10 KiB
Java
package o;
|
|
|
|
import java.util.HashMap;
|
|
import o.C0690Mh;
|
|
import o.C17472wyR;
|
|
import o.C7024cgV;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.cgV, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C7024cgV extends ZI<InterfaceC8964dal> {
|
|
public final C15847jB b;
|
|
public final C16672qHa c;
|
|
public mfY d;
|
|
|
|
public static final /* synthetic */ void d(C7024cgV c7024cgV, String str, String str2, HashMap hashMap) {
|
|
C14866gag c14866gag;
|
|
if (str != null) {
|
|
C15847jB c15847jB = c7024cgV.b;
|
|
IeS ieS = new IeS(c7024cgV, str2);
|
|
ojQ ojq = new ojQ(c7024cgV);
|
|
C14957gcv.e(ieS, "");
|
|
C14957gcv.e(ojq, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(hashMap, "");
|
|
hashMap.remove(C15971jzF.e.e);
|
|
c15847jB.b(c15847jB.e, ieS, ojq, new C17472wyR.HBt(str, hashMap));
|
|
c14866gag = C14866gag.c;
|
|
} else {
|
|
c14866gag = null;
|
|
}
|
|
if (c14866gag == null) {
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cgU
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8964dal) obj).c();
|
|
}
|
|
};
|
|
if (c7024cgV.f != 0) {
|
|
ieS2.e(c7024cgV.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ boolean d(C7024cgV c7024cgV) {
|
|
return c7024cgV.d == mfY.MF_PRODUCT_RECOMMEND;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C7024cgV(C16903sI c16903sI, C16672qHa c16672qHa, C15847jB c15847jB) {
|
|
super(c16903sI);
|
|
C14957gcv.e(c16903sI, "");
|
|
C14957gcv.e(c16672qHa, "");
|
|
C14957gcv.e(c15847jB, "");
|
|
this.c = c16672qHa;
|
|
this.b = c15847jB;
|
|
this.d = mfY.NORMAL;
|
|
}
|
|
|
|
/* renamed from: o.cgV$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public static final class Sts {
|
|
private Sts() {
|
|
}
|
|
|
|
public /* synthetic */ Sts(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cgV$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<C14315fqr, C14866gag> {
|
|
private String a;
|
|
private C7024cgV c;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(C14315fqr c14315fqr) {
|
|
C14315fqr c14315fqr2 = c14315fqr;
|
|
C14957gcv.e(c14315fqr2, "");
|
|
final String str = c14315fqr2.c;
|
|
final C7024cgV c7024cgV = this.c;
|
|
final String str2 = this.a;
|
|
ZI.IeS ieS = new ZI.IeS(c7024cgV, str, str2) { // from class: o.cgY
|
|
private C7024cgV a;
|
|
private String c;
|
|
private String e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7024cgV.IeS.c(this.a, this.c, this.e, (InterfaceC8964dal) obj);
|
|
}
|
|
|
|
{
|
|
this.a = c7024cgV;
|
|
this.c = str;
|
|
this.e = str2;
|
|
}
|
|
};
|
|
if (c7024cgV.f != 0) {
|
|
ieS.e(c7024cgV.f);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void c(C7024cgV c7024cgV, String str, String str2, InterfaceC8964dal interfaceC8964dal) {
|
|
C14957gcv.e(c7024cgV, "");
|
|
interfaceC8964dal.ar_();
|
|
if (!c7024cgV.b()) {
|
|
int i = HBt.c[c7024cgV.d.ordinal()];
|
|
if (i != 4 && i != 5 && i != 6 && !C7024cgV.d(c7024cgV)) {
|
|
interfaceC8964dal.c(C7024cgV.c(str, str2));
|
|
return;
|
|
}
|
|
}
|
|
interfaceC8964dal.d(str != null ? gdZ.a(str, "scbeasy://partner/consent/easylogin/id/", "") : null);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
IeS(C7024cgV c7024cgV, String str) {
|
|
super(1);
|
|
this.c = c7024cgV;
|
|
this.a = str;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cgV$ojQ */
|
|
/* loaded from: classes4.dex */
|
|
public static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C7024cgV e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
if (mfY.STARTING_APP == this.e.d) {
|
|
final C7024cgV c7024cgV = this.e;
|
|
C7024cgV.c(c7024cgV, th2, new Runnable(c7024cgV) { // from class: o.cgW
|
|
private C7024cgV d;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7024cgV.ojQ.d(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = c7024cgV;
|
|
}
|
|
});
|
|
} else if (this.e.b() || C7024cgV.d(this.e)) {
|
|
C7024cgV c7024cgV2 = this.e;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cgZ
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8964dal) obj).d((String) null);
|
|
}
|
|
};
|
|
if (c7024cgV2.f != 0) {
|
|
ieS.e(c7024cgV2.f);
|
|
}
|
|
} else {
|
|
C7024cgV.b(this.e, th2, C0690Mh.IeS.NAVIGATE_BACK);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void d(C7024cgV c7024cgV) {
|
|
C14957gcv.e(c7024cgV, "");
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cha
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8964dal) obj).b();
|
|
}
|
|
};
|
|
if (c7024cgV.f != 0) {
|
|
ieS.e(c7024cgV.f);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
ojQ(C7024cgV c7024cgV) {
|
|
super(1);
|
|
this.e = c7024cgV;
|
|
}
|
|
}
|
|
|
|
public static String c(String str, String str2) {
|
|
if (str2 == null) {
|
|
return str;
|
|
}
|
|
if (str == null) {
|
|
return null;
|
|
}
|
|
if (gdZ.e((CharSequence) str, "?", 0, false) > 0) {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(str);
|
|
sb.append("&denyUrl=");
|
|
sb.append(str2);
|
|
return sb.toString();
|
|
}
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append(str);
|
|
sb2.append("?denyUrl=");
|
|
sb2.append(str2);
|
|
return sb2.toString();
|
|
}
|
|
|
|
/* renamed from: o.cgV$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
|
|
private String a;
|
|
private HashMap<String, String> b;
|
|
private C7024cgV d;
|
|
private String e;
|
|
|
|
@Override // o.InterfaceC14890gbN
|
|
public final /* synthetic */ C14866gag invoke() {
|
|
C7024cgV.d(this.d, this.a, this.e, this.b);
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public LWm(C7024cgV c7024cgV, String str, String str2, HashMap<String, String> hashMap) {
|
|
super(0);
|
|
this.d = c7024cgV;
|
|
this.a = str;
|
|
this.e = str2;
|
|
this.b = hashMap;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cgV$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C7024cgV a;
|
|
private HashMap<String, String> b;
|
|
private String c;
|
|
private String e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C7024cgV.d(this.a, this.c, this.e, this.b);
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public RVV(C7024cgV c7024cgV, String str, String str2, HashMap<String, String> hashMap) {
|
|
super(1);
|
|
this.a = c7024cgV;
|
|
this.c = str;
|
|
this.e = str2;
|
|
this.b = hashMap;
|
|
}
|
|
}
|
|
|
|
public final boolean b() {
|
|
int i = HBt.c[this.d.ordinal()];
|
|
return i == 1 || i == 2 || i == 3;
|
|
}
|
|
|
|
public static final /* synthetic */ void b(C7024cgV c7024cgV, Throwable th, C0690Mh.IeS ieS) {
|
|
if (c7024cgV.b(th)) {
|
|
c7024cgV.d(c7024cgV.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C7024cgV c7024cgV, Throwable th, Runnable runnable) {
|
|
if (c7024cgV.b(th)) {
|
|
c7024cgV.d(c7024cgV.j.c(th, runnable));
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cgV$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public final /* synthetic */ class HBt {
|
|
public static final int[] c;
|
|
|
|
static {
|
|
int[] iArr = new int[mfY.values().length];
|
|
try {
|
|
iArr[mfY.MF_DISCOVER_NONE_ACCOUNT.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
iArr[mfY.MF_DISCOVER_PORTFOLIO.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
iArr[mfY.MF_DISCOVER_DEEPLINK.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
iArr[mfY.CDX.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
try {
|
|
iArr[mfY.MF_TRANSACTIONS_HISTORY_PORTFOLIO.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused5) {
|
|
}
|
|
try {
|
|
iArr[mfY.MF_TRANSACTIONS_HISTORY_FUND_DETAIL.ordinal()] = 6;
|
|
} catch (NoSuchFieldError unused6) {
|
|
}
|
|
c = iArr;
|
|
}
|
|
}
|
|
|
|
static {
|
|
new Sts((byte) 0);
|
|
}
|
|
}
|