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

537 lines
18 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import o.C0690Mh;
import o.ZI;
/* renamed from: o.ciu, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7155ciu extends ZI<InterfaceC9470dkO> {
private final oAN a;
public QJg b;
public final hKK c;
public final C17615yM d;
public final C12374ewx e;
private final C15930ji g;
private final C15920jd h;
private final sfP i;
private final C16075kv k;
private final C15851jD l;
private final C15623hFu m;
private final C15942jn n;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7155ciu(C16903sI c16903sI, C12374ewx c12374ewx, C15623hFu c15623hFu, C17615yM c17615yM, oAN oan, sfP sfp, hKK hkk, C15920jd c15920jd, C15942jn c15942jn, C16075kv c16075kv, C15930ji c15930ji, C15851jD c15851jD) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c12374ewx, "");
C14957gcv.e(c15623hFu, "");
C14957gcv.e(c17615yM, "");
C14957gcv.e(oan, "");
C14957gcv.e(sfp, "");
C14957gcv.e(hkk, "");
C14957gcv.e(c15920jd, "");
C14957gcv.e(c15942jn, "");
C14957gcv.e(c16075kv, "");
C14957gcv.e(c15930ji, "");
C14957gcv.e(c15851jD, "");
this.e = c12374ewx;
this.m = c15623hFu;
this.d = c17615yM;
this.a = oan;
this.i = sfp;
this.c = hkk;
this.h = c15920jd;
this.n = c15942jn;
this.k = c16075kv;
this.g = c15930ji;
this.l = c15851jD;
}
public final QJg d(long j) {
if (this.c.b.b() != null) {
return this.m.b(j);
}
return this.e.d(j, true);
}
public static boolean b(String str) {
return C14957gcv.b((Object) str, (Object) "24") || C14957gcv.b((Object) str, (Object) "51") || C14957gcv.b((Object) str, (Object) "39");
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ciu$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C7155ciu d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
boolean booleanValue = bool.booleanValue();
C7155ciu.a(this.d);
C7155ciu.b(this.d, booleanValue);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C7155ciu c7155ciu) {
super(1);
this.d = c7155ciu;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ciu$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7155ciu d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C7155ciu.c(this.d, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C7155ciu c7155ciu) {
super(1);
this.d = c7155ciu;
}
}
@Override // o.ZI
public final void w_() {
this.g.a();
super.w_();
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ciu$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C7155ciu b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
boolean booleanValue = bool.booleanValue();
C7155ciu.a(this.b);
if (booleanValue) {
C7155ciu c7155ciu = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.ciJ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).g();
}
};
if (c7155ciu.f != 0) {
ieS.e(c7155ciu.f);
}
} else {
C7155ciu c7155ciu2 = this.b;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ciL
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).h();
}
};
if (c7155ciu2.f != 0) {
ieS2.e(c7155ciu2.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C7155ciu c7155ciu) {
super(1);
this.b = c7155ciu;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ciu$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7155ciu b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C7155ciu.a(this.b);
C7155ciu.b(this.b, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C7155ciu c7155ciu) {
super(1);
this.b = c7155ciu;
}
}
/* renamed from: o.ciu$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public static /* synthetic */ void e(HashMap hashMap, InterfaceC9470dkO interfaceC9470dkO) {
C14957gcv.e(hashMap, "");
interfaceC9470dkO.d("investment_landing", hashMap);
}
public static /* synthetic */ void e(C7155ciu c7155ciu, Boolean bool) {
C14957gcv.e(c7155ciu, "");
if (c7155ciu.f != 0) {
c7155ciu.f.ar_();
}
C14957gcv.c(bool, "");
if (bool.booleanValue()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.civ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).d();
}
};
if (c7155ciu.f != 0) {
ieS.e(c7155ciu.f);
return;
}
return;
}
C7114ciF c7114ciF = new C7114ciF();
if (c7155ciu.f != 0) {
c7114ciF.e(c7155ciu.f);
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void c(C7155ciu c7155ciu, QJg qJg, List list, List list2, InterfaceC9470dkO interfaceC9470dkO) {
C13396fZU c13396fZU;
Object obj;
C14957gcv.e(c7155ciu, "");
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
interfaceC9470dkO.g(c7155ciu.d.a(qJg));
interfaceC9470dkO.c((List<? extends TF>) list);
C17615yM c17615yM = c7155ciu.d;
C14957gcv.e(list2, "");
Iterator it = list2.iterator();
while (true) {
c13396fZU = null;
if (!it.hasNext()) {
obj = null;
break;
}
obj = it.next();
QJg qJg2 = (QJg) obj;
if (C14957gcv.b((Object) qJg2.F, (Object) "CARD_TILE_VERTICAL") && qJg2.u == 1) {
break;
}
}
QJg qJg3 = (QJg) obj;
if (qJg3 != null) {
c13396fZU = new C13396fZU(c17615yM.e(qJg3), Boolean.valueOf(qJg3.w == 1));
}
if (c13396fZU != null) {
String str = (String) c13396fZU.d;
if (((Boolean) c13396fZU.e).booleanValue()) {
interfaceC9470dkO.e(str);
} else {
interfaceC9470dkO.c(str);
}
}
}
public static /* synthetic */ void a(QJg qJg, C7155ciu c7155ciu, InterfaceC9470dkO interfaceC9470dkO) {
C14957gcv.e(qJg, "");
C14957gcv.e(c7155ciu, "");
String str = qJg.j;
if (qJg.s) {
interfaceC9470dkO.b(str);
return;
}
C15851jD c15851jD = c7155ciu.l;
String str2 = YT.TILE.entryPoint;
C14957gcv.e(str2, "");
KdF kdF = c15851jD.e;
C14957gcv.e(str2, "");
kdF.d.a(str2);
interfaceC9470dkO.d(str);
}
public static /* synthetic */ void c(C7155ciu c7155ciu) {
C14957gcv.e(c7155ciu, "");
if (c7155ciu.f != 0) {
c7155ciu.f.ar_();
}
C7114ciF c7114ciF = new C7114ciF();
if (c7155ciu.f != 0) {
c7114ciF.e(c7155ciu.f);
}
}
public static /* synthetic */ void b(QJg qJg, C7155ciu c7155ciu, InterfaceC9470dkO interfaceC9470dkO) {
C14957gcv.e(qJg, "");
C14957gcv.e(c7155ciu, "");
String str = qJg.h;
interfaceC9470dkO.h(str != null ? str : "");
String str2 = qJg.c;
c7155ciu.d.a(qJg);
interfaceC9470dkO.a(str2);
}
public static /* synthetic */ void a(QJg qJg, InterfaceC9470dkO interfaceC9470dkO) {
C14957gcv.e(qJg, "");
String str = qJg.d;
if (str != null && !C6583cXR.t(str)) {
interfaceC9470dkO.a(str, qJg.A, qJg.H);
} else {
interfaceC9470dkO.e(qJg.A, qJg.H);
}
}
public static /* synthetic */ void c(QJg qJg, InterfaceC9470dkO interfaceC9470dkO) {
C14957gcv.e(qJg, "");
String str = qJg.h;
interfaceC9470dkO.h(str != null ? str : "");
}
public static final /* synthetic */ void a(C7155ciu c7155ciu) {
if (c7155ciu.f != 0) {
c7155ciu.f.ar_();
}
}
public static final /* synthetic */ void b(C7155ciu c7155ciu, boolean z) {
if (z) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cit
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).c();
}
};
if (c7155ciu.f != 0) {
ieS.e(c7155ciu.f);
return;
}
return;
}
c7155ciu.d();
}
public static final /* synthetic */ void c(C7155ciu c7155ciu, Throwable th) {
if (c7155ciu.b(th)) {
c7155ciu.d(c7155ciu.j.e(th));
}
}
public static final /* synthetic */ void b(C7155ciu c7155ciu, Throwable th, C0690Mh.IeS ieS) {
if (c7155ciu.b(th)) {
c7155ciu.d(c7155ciu.j.d(th, ieS));
}
}
private final void d() {
if (this.f != 0) {
this.f.y();
}
sfP sfp = this.i;
sfp.d(sfp.e(), new fSQ(this) { // from class: o.ciB
private C7155ciu b;
@Override // o.fSQ
public final void c(Object obj) {
C7155ciu.e(this.b, (Boolean) obj);
}
{
this.b = this;
}
}, new fSQ(this) { // from class: o.ciy
private C7155ciu b;
@Override // o.fSQ
public final void c(Object obj) {
C7155ciu.c(this.b);
}
{
this.b = this;
}
});
}
public final void a() {
Gdg gdg;
final QJg qJg = this.b;
if (qJg != null) {
String str = qJg.F;
if (!C14957gcv.b((Object) str, (Object) EnumC15824isw.FUNCTION.name())) {
if (!C14957gcv.b((Object) str, (Object) EnumC15824isw.DEEPLINK.name())) {
if (!C14957gcv.b((Object) str, (Object) EnumC15824isw.WEBVIEW_PARTNER.name())) {
if (C14957gcv.b((Object) str, (Object) EnumC15824isw.APPLICATION.name())) {
ZI.IeS ieS = new ZI.IeS(qJg) { // from class: o.cir
private QJg b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7155ciu.a(this.b, (InterfaceC9470dkO) obj);
}
{
this.b = qJg;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS(qJg, this) { // from class: o.ciK
private QJg a;
private C7155ciu b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7155ciu.b(this.a, this.b, (InterfaceC9470dkO) obj);
}
{
this.a = qJg;
this.b = this;
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
}
ZI.IeS ieS3 = new ZI.IeS(qJg, this) { // from class: o.cix
private QJg a;
private C7155ciu d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7155ciu.a(this.a, this.d, (InterfaceC9470dkO) obj);
}
{
this.a = qJg;
this.d = this;
}
};
if (this.f != 0) {
ieS3.e(this.f);
return;
}
return;
}
String str2 = qJg.l;
if (str2 != null) {
int hashCode = str2.hashCode();
if (hashCode == 1602) {
if (str2.equals("24")) {
C7968cyO p = this.a.b.p();
if ((p != null ? p.c : null) != null && (!r0.isEmpty())) {
if (!this.g.c()) {
if (this.f != 0) {
this.f.y();
}
this.h.d(new LWm(this), new Sts(this));
return;
}
d();
return;
}
C16075kv c16075kv = this.k;
String str3 = EnumC1274Zk.MF_TILE.entryPoint;
C14957gcv.e(str3, "");
Klc klc = c16075kv.d;
C14957gcv.e(str3, "");
klc.e.d(str3);
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.ciE
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).b();
}
};
if (this.f != 0) {
ieS4.e(this.f);
return;
}
return;
}
return;
}
if (hashCode != 1638) {
if (hashCode == 1692 && str2.equals("51")) {
C16075kv c16075kv2 = this.k;
String str4 = EnumC1274Zk.ROBO_TILE.entryPoint;
C14957gcv.e(str4, "");
Klc klc2 = c16075kv2.d;
C14957gcv.e(str4, "");
klc2.e.d(str4);
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.ciG
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).j();
}
};
if (this.f != 0) {
ieS5.e(this.f);
return;
}
return;
}
return;
}
if (str2.equals("39")) {
C7968cyO p2 = this.a.b.p();
if (p2 != null && (gdg = p2.h) != null && gdg.b) {
if (this.f != 0) {
this.f.y();
}
this.n.b(new IeS(this), new RVV(this));
return;
}
C16075kv c16075kv3 = this.k;
String str5 = EnumC1274Zk.SCBS_TILE.entryPoint;
C14957gcv.e(str5, "");
Klc klc3 = c16075kv3.d;
C14957gcv.e(str5, "");
klc3.e.d(str5);
ZI.IeS ieS6 = new ZI.IeS() { // from class: o.ciC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9470dkO) obj).a();
}
};
if (this.f != 0) {
ieS6.e(this.f);
}
}
}
}
}
static {
new HBt((byte) 0);
}
}