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

432 lines
15 KiB
Java

package o;
import java.util.ArrayList;
import java.util.List;
import o.C0690Mh;
import o.C15777iY;
import o.C5688bxl;
import o.ZI;
/* renamed from: o.bxl, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5688bxl extends ZI<InterfaceC9316dhT> {
private final YnH a;
public C0770Oe b;
List<C0770Oe> c;
public final C15777iY e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5688bxl(C15777iY c15777iY, YnH ynH, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15777iY, "");
C14957gcv.e(ynH, "");
C14957gcv.e(c16903sI, "");
this.e = c15777iY;
this.a = ynH;
this.c = C14851gaI.c;
}
/* renamed from: o.bxl$IeS */
/* loaded from: classes4.dex */
public enum IeS {
DOCUMENT_GUIDELINE,
ISSUER_LANDING,
CONSENT;
public static final C0103IeS Companion = new C0103IeS(0);
/* renamed from: o.bxl$IeS$IeS, reason: collision with other inner class name */
/* loaded from: classes4.dex */
public static final class C0103IeS {
private C0103IeS() {
}
public static IeS c(boolean z, boolean z2) {
if (!z) {
return IeS.DOCUMENT_GUIDELINE;
}
if (z2) {
return IeS.ISSUER_LANDING;
}
return IeS.CONSENT;
}
public /* synthetic */ C0103IeS(byte b) {
this();
}
}
}
/* renamed from: o.bxl$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5688bxl d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
final C5688bxl c5688bxl = this.d;
ZI.IeS ieS = new ZI.IeS(c5688bxl, th2) { // from class: o.bxs
private C5688bxl a;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5688bxl.HBt.d(this.a, this.d);
}
{
this.a = c5688bxl;
this.d = th2;
}
};
if (c5688bxl.f != 0) {
ieS.e(c5688bxl.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C5688bxl c5688bxl, Throwable th) {
C14957gcv.e(c5688bxl, "");
C14957gcv.e(th, "");
C5688bxl.e(c5688bxl, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C5688bxl c5688bxl) {
super(1);
this.d = c5688bxl;
}
}
/* renamed from: o.bxl$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<C0772Og, C14866gag> {
private C5688bxl a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0772Og c0772Og) {
C0772Og c0772Og2 = c0772Og;
C14957gcv.e(c0772Og2, "");
C5688bxl c5688bxl = this.a;
List<C0770Oe> list = c0772Og2.c;
C14957gcv.e(list, "");
c5688bxl.c = list;
C5688bxl c5688bxl2 = this.a;
List<C0770Oe> list2 = c5688bxl2.c;
ArrayList arrayList = new ArrayList();
for (Object obj : list2) {
if (((C0770Oe) obj).e) {
arrayList.add(obj);
}
}
ArrayList arrayList2 = arrayList;
if (!(!arrayList2.isEmpty())) {
arrayList2 = null;
}
c5688bxl2.b = arrayList2 != null ? (C0770Oe) C14881gav.e((List) arrayList2) : null;
final C5688bxl c5688bxl3 = this.a;
ZI.IeS ieS = new ZI.IeS(c5688bxl3) { // from class: o.bxn
private C5688bxl b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5688bxl.LWm.e(this.b, (InterfaceC9316dhT) obj2);
}
{
this.b = c5688bxl3;
}
};
if (c5688bxl3.f != 0) {
ieS.e(c5688bxl3.f);
}
C5688bxl.e(this.a);
Boolean bool = c0772Og2.b;
if (bool != null) {
final C5688bxl c5688bxl4 = this.a;
if (!bool.booleanValue()) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bxp
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9316dhT) obj2).d();
}
};
if (c5688bxl4.f != 0) {
ieS2.e(c5688bxl4.f);
}
} else {
List<C0770Oe> list3 = c0772Og2.c;
ArrayList<C0770Oe> arrayList3 = new ArrayList();
for (Object obj2 : list3) {
if (((C0770Oe) obj2).e) {
arrayList3.add(obj2);
}
}
for (C0770Oe c0770Oe : arrayList3) {
C14957gcv.e(c0770Oe, "");
c5688bxl4.b = c0770Oe;
C5685bxi c5685bxi = new C5685bxi();
if (c5688bxl4.f != 0) {
c5685bxi.e(c5688bxl4.f);
}
}
ZI.IeS ieS3 = new ZI.IeS(c5688bxl4) { // from class: o.bxr
private C5688bxl d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C5688bxl.LWm.b(this.d, (InterfaceC9316dhT) obj3);
}
{
this.d = c5688bxl4;
}
};
if (c5688bxl4.f != 0) {
ieS3.e(c5688bxl4.f);
}
}
}
return C14866gag.c;
}
public static /* synthetic */ void b(C5688bxl c5688bxl, InterfaceC9316dhT interfaceC9316dhT) {
C14957gcv.e(c5688bxl, "");
interfaceC9316dhT.a(c5688bxl.b != null);
interfaceC9316dhT.e();
}
public static /* synthetic */ void e(C5688bxl c5688bxl, InterfaceC9316dhT interfaceC9316dhT) {
C14957gcv.e(c5688bxl, "");
interfaceC9316dhT.e(c5688bxl.c);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C5688bxl c5688bxl) {
super(1);
this.a = c5688bxl;
}
}
/* renamed from: o.bxl$tOB */
/* loaded from: classes4.dex */
public static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<nYO, C0772Og> {
private C5688bxl d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C0772Og invoke(nYO nyo) {
nYO nyo2 = nyo;
C14957gcv.e(nyo2, "");
C17178ub c17178ub = C17178ub.e;
boolean T = this.d.a.b.T();
C14957gcv.e(nyo2, "");
boolean z = nyo2.e;
List<DtD> list = nyo2.a;
ArrayList<C0770Oe> arrayList = new ArrayList();
if (list != null) {
for (DtD dtD : list) {
String str = dtD.a;
String b = C6583cXR.b(dtD.a, T);
C14957gcv.c((Object) b, "");
arrayList.add(new C0770Oe(str, b, dtD.c, dtD.d, dtD.b));
}
}
Integer num = null;
for (C0770Oe c0770Oe : arrayList) {
if (c0770Oe.e) {
if (num != null) {
((C0770Oe) arrayList.get(num.intValue())).e = false;
}
num = Integer.valueOf(arrayList.indexOf(c0770Oe));
}
}
return new C0772Og(Boolean.valueOf(z), arrayList);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public tOB(C5688bxl c5688bxl) {
super(1);
this.d = c5688bxl;
}
}
/* renamed from: o.bxl$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C5688bxl c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C15777iY c15777iY = this.c.e;
AnonymousClass2 anonymousClass2 = new AnonymousClass2(this.c);
AnonymousClass5 anonymousClass5 = new AnonymousClass5(this.c);
C14957gcv.e(anonymousClass2, "");
C14957gcv.e(anonymousClass5, "");
LVo lVo = c15777iY.e;
lVo.d(lVo.d(), new C15777iY.Sts(anonymousClass5, anonymousClass2));
return C14866gag.c;
}
/* renamed from: o.bxl$RVV$2, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass2 extends AbstractC14961gcz implements InterfaceC14894gbR<C0636LcC, C14866gag> {
private C5688bxl e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0636LcC c0636LcC) {
final C0636LcC c0636LcC2 = c0636LcC;
C14957gcv.e(c0636LcC2, "");
C5688bxl c5688bxl = this.e;
ZI.IeS ieS = new ZI.IeS(c0636LcC2) { // from class: o.bxm
private C0636LcC c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5688bxl.RVV.AnonymousClass2.e(this.c, (InterfaceC9316dhT) obj);
}
{
this.c = c0636LcC2;
}
};
if (c5688bxl.f != 0) {
ieS.e(c5688bxl.f);
}
C5688bxl.e(this.e);
return C14866gag.c;
}
public static /* synthetic */ void e(C0636LcC c0636LcC, InterfaceC9316dhT interfaceC9316dhT) {
C14957gcv.e(c0636LcC, "");
IeS.C0103IeS c0103IeS = IeS.Companion;
interfaceC9316dhT.b(IeS.C0103IeS.c(c0636LcC.d, c0636LcC.a));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass2(C5688bxl c5688bxl) {
super(1);
this.e = c5688bxl;
}
}
/* renamed from: o.bxl$RVV$5, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass5 extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5688bxl e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
final C5688bxl c5688bxl = this.e;
ZI.IeS ieS = new ZI.IeS(c5688bxl, th2) { // from class: o.bxq
private Throwable b;
private C5688bxl e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5688bxl.RVV.AnonymousClass5.d(this.e, this.b);
}
{
this.e = c5688bxl;
this.b = th2;
}
};
if (c5688bxl.f != 0) {
ieS.e(c5688bxl.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C5688bxl c5688bxl, Throwable th) {
C14957gcv.e(c5688bxl, "");
C14957gcv.e(th, "");
C5688bxl.e(c5688bxl, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass5(C5688bxl c5688bxl) {
super(1);
this.e = c5688bxl;
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C5688bxl c5688bxl) {
super(0);
this.c = c5688bxl;
}
}
/* renamed from: o.bxl$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5688bxl b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
final C5688bxl c5688bxl = this.b;
ZI.IeS ieS = new ZI.IeS(c5688bxl, th2) { // from class: o.bxo
private Throwable a;
private C5688bxl d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5688bxl.Sts.d(this.d, this.a);
}
{
this.d = c5688bxl;
this.a = th2;
}
};
if (c5688bxl.f != 0) {
ieS.e(c5688bxl.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C5688bxl c5688bxl, Throwable th) {
C14957gcv.e(c5688bxl, "");
C14957gcv.e(th, "");
C5688bxl.e(c5688bxl, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C5688bxl c5688bxl) {
super(1);
this.b = c5688bxl;
}
}
public static /* synthetic */ void e(InterfaceC9316dhT interfaceC9316dhT) {
interfaceC9316dhT.d();
interfaceC9316dhT.c();
interfaceC9316dhT.a();
}
public static /* synthetic */ void d(C5688bxl c5688bxl, InterfaceC9316dhT interfaceC9316dhT) {
C14957gcv.e(c5688bxl, "");
interfaceC9316dhT.a(c5688bxl.b != null);
interfaceC9316dhT.e();
}
public static final /* synthetic */ void e(C5688bxl c5688bxl) {
if (c5688bxl.f != 0) {
c5688bxl.f.ar_();
}
}
public static final /* synthetic */ void e(C5688bxl c5688bxl, Throwable th, C0690Mh.IeS ieS) {
if (c5688bxl.b(th)) {
c5688bxl.d(c5688bxl.j.d(th, ieS));
}
}
}