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

469 lines
14 KiB
Java

package o;
import o.AbstractC15351go;
import o.C0690Mh;
import o.C15715hv;
import o.InterfaceC9422djT;
import o.ZI;
/* renamed from: o.bXi */
/* loaded from: classes4.dex */
public final class C4350bXi extends ZI<InterfaceC9422djT.IeS> {
public final String a;
final InterfaceC3521azC b;
final CBe c;
public boolean d;
public String e;
public final C15970jz g;
private final CQ h;
private String i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4350bXi(C16903sI c16903sI, C15970jz c15970jz, CQ cq, CBe cBe, InterfaceC3521azC interfaceC3521azC, String str) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15970jz, "");
C14957gcv.e(cq, "");
C14957gcv.e(cBe, "");
C14957gcv.e(interfaceC3521azC, "");
C14957gcv.e(str, "");
this.g = c15970jz;
this.h = cq;
this.c = cBe;
this.b = interfaceC3521azC;
this.a = str;
this.i = "";
this.e = "";
}
/* renamed from: o.bXi$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C4350bXi c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C4350bXi.c(this.c, th2, C0690Mh.IeS.NAVIGATE_BACK);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C4350bXi c4350bXi) {
super(1);
this.c = c4350bXi;
}
}
/* renamed from: o.bXi$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<RJt, C14866gag> {
private C4350bXi e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(RJt rJt) {
RJt rJt2 = rJt;
C14957gcv.e(rJt2, "");
C4350bXi.j(this.e);
this.e.i = rJt2.e;
if (this.e.i.length() == 0) {
C4350bXi.i(this.e);
} else {
C4350bXi c4350bXi = this.e;
if (!c4350bXi.b.j()) {
c4350bXi.d();
} else {
if (c4350bXi.f != 0) {
c4350bXi.f.y();
}
CBe cBe = c4350bXi.c;
cBe.d(cBe.b(), new fSQ(c4350bXi) { // from class: o.bXs
private C4350bXi e;
@Override // o.fSQ
public final void c(Object obj) {
C4350bXi.d(this.e);
}
{
this.e = c4350bXi;
}
}, new fSQ(c4350bXi) { // from class: o.bXq
private C4350bXi d;
@Override // o.fSQ
public final void c(Object obj) {
C4350bXi.b(this.d, (Throwable) obj);
}
{
this.d = c4350bXi;
}
});
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C4350bXi c4350bXi) {
super(1);
this.e = c4350bXi;
}
}
final void d() {
String e;
String a = this.c.a("consents_dopa", null);
if (this.b.j()) {
CQ cq = this.h;
C14957gcv.e(a, "");
e = C6583cXR.e(a, cq.baseAzureURL);
C14957gcv.c((Object) e, "");
} else {
CQ cq2 = this.h;
C14957gcv.e(a, "");
e = C6583cXR.e(a, cq2.b);
C14957gcv.c((Object) e, "");
}
this.e = e;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bXn
private C4350bXi b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4350bXi.b(this.b, (InterfaceC9422djT.IeS) obj);
}
{
this.b = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bXi$LWm */
/* loaded from: classes4.dex */
public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C4350bXi.d((C4350bXi) this.f, th2);
return C14866gag.c;
}
LWm(Object obj) {
super(1, obj, C4350bXi.class, "onErrorUpdateDopaConsentPrivacy", "onErrorUpdateDopaConsentPrivacy(Ljava/lang/Throwable;)V");
}
}
@Override // o.ZI
public final void w_() {
this.g.a();
super.w_();
}
/* renamed from: o.bXi$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bXi$RVV */
/* loaded from: classes4.dex */
public final /* synthetic */ class RVV extends C14954gcs implements InterfaceC14890gbN<C14866gag> {
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C4350bXi.g((C4350bXi) this.f);
return C14866gag.c;
}
RVV(Object obj) {
super(0, obj, C4350bXi.class, "onCompleteUpdateDopaConsentPrivacy", "onCompleteUpdateDopaConsentPrivacy()V");
}
}
public static /* synthetic */ void d(C4350bXi c4350bXi) {
C14957gcv.e(c4350bXi, "");
if (c4350bXi.f != 0) {
c4350bXi.f.ar_();
}
c4350bXi.d();
}
public static /* synthetic */ void c(C4350bXi c4350bXi, InterfaceC9422djT.IeS ieS) {
C14957gcv.e(c4350bXi, "");
ieS.d(c4350bXi.d);
}
public static /* synthetic */ void b(C4350bXi c4350bXi) {
C14957gcv.e(c4350bXi, "");
if (c4350bXi.f != 0) {
c4350bXi.f.y();
}
C15970jz c15970jz = c4350bXi.g;
Sts sts = new Sts(c4350bXi);
IeS ieS = new IeS(c4350bXi);
C14957gcv.e(sts, "");
C14957gcv.e(ieS, "");
c15970jz.c.e(sts, ieS, new AbstractC15351go.LWm(), new fSC());
}
public static /* synthetic */ void c(C4350bXi c4350bXi) {
C14957gcv.e(c4350bXi, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.bXp
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9422djT.IeS) obj).d(false);
}
};
if (c4350bXi.f != 0) {
ieS.e(c4350bXi.f);
}
}
public static /* synthetic */ void b(C4350bXi c4350bXi, InterfaceC9422djT.IeS ieS) {
C14957gcv.e(c4350bXi, "");
ieS.d(c4350bXi.e);
}
public static /* synthetic */ void a(C4350bXi c4350bXi) {
C14957gcv.e(c4350bXi, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.bXl
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9422djT.IeS) obj).c();
}
};
if (c4350bXi.f != 0) {
ieS.e(c4350bXi.f);
}
}
public static /* synthetic */ void b(C4350bXi c4350bXi, Throwable th) {
C14957gcv.e(c4350bXi, "");
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c4350bXi.b(th)) {
c4350bXi.d(c4350bXi.j.d(th, ieS));
}
}
public static final /* synthetic */ void j(C4350bXi c4350bXi) {
if (c4350bXi.f != 0) {
c4350bXi.f.ar_();
}
}
public static final /* synthetic */ void g(C4350bXi c4350bXi) {
if (c4350bXi.f != 0) {
c4350bXi.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c4350bXi) { // from class: o.bXt
private C4350bXi d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4350bXi.c(this.d, (InterfaceC9422djT.IeS) obj);
}
{
this.d = c4350bXi;
}
};
if (c4350bXi.f != 0) {
ieS.e(c4350bXi.f);
}
}
public static final /* synthetic */ void d(C4350bXi c4350bXi, Throwable th) {
String d = c4350bXi.g.f.c.d();
C14957gcv.c((Object) d, "");
if (C14957gcv.b((Object) d, (Object) "SINGLE_FORM") && !c4350bXi.d) {
Runnable runnable = new Runnable(c4350bXi) { // from class: o.bXf
private C4350bXi c;
@Override // java.lang.Runnable
public final void run() {
C4350bXi.c(this.c);
}
{
this.c = c4350bXi;
}
};
if (c4350bXi.b(th)) {
c4350bXi.d(c4350bXi.j.c(th, runnable));
return;
}
return;
}
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c4350bXi.b(th)) {
c4350bXi.d(c4350bXi.j.d(th, ieS));
}
}
public static final /* synthetic */ void c(C4350bXi c4350bXi, Throwable th, C0690Mh.IeS ieS) {
if (c4350bXi.b(th)) {
c4350bXi.d(c4350bXi.j.d(th, ieS));
}
}
public static final /* synthetic */ void i(C4350bXi c4350bXi) {
c4350bXi.d(c4350bXi.j.c(C15715hv.tOB.custom_error_title, C15715hv.tOB.custom_error_description, new RunnableC4365bXx(c4350bXi)));
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:10:0x003e, code lost:
if (r5.equals("SINGLE_FORM") == false) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x005b, code lost:
r5 = r7.g.b.a.a().x;
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0047, code lost:
if (r5.equals("IDP_AGENT") != false) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0050, code lost:
if (r5.equals("ETB_OPEN_DEPOSIT") == false) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0073, code lost:
r5 = r7.g.e.d.g();
o.C14957gcv.c((java.lang.Object) r5, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0059, code lost:
if (r5.equals("NDID") != false) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0071, code lost:
if (r5.equals("TOUCHPOINT") != false) goto L56;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a() {
/*
r7 = this;
T extends o.cYp r0 = r7.f
if (r0 == 0) goto L9
T extends o.cYp r0 = r7.f
r0.y()
L9:
o.jz r0 = r7.g
boolean r1 = r7.d
if (r1 == 0) goto L12
java.lang.String r1 = "Y"
goto L14
L12:
java.lang.String r1 = "N"
L14:
java.lang.String r2 = r7.i
o.rpA r3 = r0.f
o.eRo r3 = r3.c
java.lang.String r3 = r3.d()
java.lang.String r4 = ""
o.C14957gcv.c(r3, r4)
o.jz r5 = r7.g
o.rpA r5 = r5.f
o.eRo r5 = r5.c
java.lang.String r5 = r5.d()
o.C14957gcv.c(r5, r4)
int r6 = r5.hashCode()
switch(r6) {
case -1096412751: goto L6b;
case 2391377: goto L53;
case 101616853: goto L4a;
case 219661499: goto L41;
case 450376283: goto L38;
default: goto L37;
}
L37:
goto L81
L38:
java.lang.String r6 = "SINGLE_FORM"
boolean r5 = r5.equals(r6)
if (r5 != 0) goto L5b
goto L81
L41:
java.lang.String r6 = "IDP_AGENT"
boolean r5 = r5.equals(r6)
if (r5 == 0) goto L81
goto L5b
L4a:
java.lang.String r6 = "ETB_OPEN_DEPOSIT"
boolean r5 = r5.equals(r6)
if (r5 != 0) goto L73
goto L81
L53:
java.lang.String r6 = "NDID"
boolean r5 = r5.equals(r6)
if (r5 == 0) goto L81
L5b:
o.jz r5 = r7.g
o.Xeu r5 = r5.b
o.eRo r5 = r5.a
o.guD r5 = r5.a()
java.lang.String r5 = r5.x
o.C14957gcv.c(r5, r4)
goto L82
L6b:
java.lang.String r6 = "TOUCHPOINT"
boolean r5 = r5.equals(r6)
if (r5 == 0) goto L81
L73:
o.jz r5 = r7.g
o.glJ r5 = r5.e
o.eRo r5 = r5.d
java.lang.String r5 = r5.g()
o.C14957gcv.c(r5, r4)
goto L82
L81:
r5 = r4
L82:
o.bU r6 = new o.bU
r6.<init>(r1, r2, r3, r5)
o.bXi$RVV r1 = new o.bXi$RVV
r1.<init>(r7)
o.gbN r1 = (o.InterfaceC14890gbN) r1
o.bXi$LWm r2 = new o.bXi$LWm
r2.<init>(r7)
o.gbR r2 = (o.InterfaceC14894gbR) r2
o.C14957gcv.e(r6, r4)
o.C14957gcv.e(r1, r4)
o.C14957gcv.e(r2, r4)
o.VAT r0 = r0.t
o.VAT$IeS r3 = new o.VAT$IeS
r3.<init>(r6)
o.go$HBt r3 = (o.AbstractC15351go.HBt) r3
o.fSC r4 = new o.fSC
r4.<init>()
r0.d(r1, r2, r3, r4)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4350bXi.a():void");
}
static {
new HBt((byte) 0);
}
}