270 lines
7.8 KiB
Java
270 lines
7.8 KiB
Java
package o;
|
|
|
|
import android.content.res.Resources;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C7773cue;
|
|
import o.C8628dR;
|
|
import o.InterfaceC8970dar;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.cue, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public class C7773cue extends ZI<InterfaceC8970dar.RVV> {
|
|
public Ndz a;
|
|
public jwh b;
|
|
public boolean c;
|
|
public List<UV> d;
|
|
public AN e;
|
|
private AA g;
|
|
public Resources h;
|
|
public AW i;
|
|
|
|
@InterfaceC13391fZD
|
|
public C7773cue(Resources resources, C16903sI c16903sI, jwh jwhVar, Ndz ndz, AN an, AA aa, AW aw) {
|
|
super(c16903sI);
|
|
this.h = resources;
|
|
this.b = jwhVar;
|
|
this.e = an;
|
|
this.g = aa;
|
|
this.i = aw;
|
|
this.a = ndz;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ void e(InterfaceC8970dar.RVV rvv) {
|
|
rvv.i();
|
|
rvv.b();
|
|
rvv.a();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cue$2, reason: invalid class name */
|
|
/* loaded from: classes4.dex */
|
|
public final class AnonymousClass2 extends wRi.LWm<C7968cyO> {
|
|
private C7773cue b;
|
|
|
|
AnonymousClass2(C7773cue c7773cue) {
|
|
this.b = c7773cue;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
super.onNext((C7968cyO) obj);
|
|
C7773cue.c(this.b);
|
|
C7773cue.g(this.b);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
super.onError(th);
|
|
C7773cue c7773cue = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.cuf
|
|
private C7773cue.AnonymousClass2 a;
|
|
private Throwable c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
InterfaceC8970dar.RVV rvv = (InterfaceC8970dar.RVV) obj;
|
|
rvv.b(this.a.b.j.e(this.c).c);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
this.c = th;
|
|
}
|
|
};
|
|
if (c7773cue.f != 0) {
|
|
ieS.e(c7773cue.f);
|
|
}
|
|
C7773cue.h(this.b);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.cue$4, reason: invalid class name */
|
|
/* loaded from: classes4.dex */
|
|
public final class AnonymousClass4 extends wRi.LWm<C7968cyO> {
|
|
private C7773cue e;
|
|
|
|
AnonymousClass4(C7773cue c7773cue) {
|
|
this.e = c7773cue;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
C7968cyO c7968cyO = (C7968cyO) obj;
|
|
C7773cue c7773cue = this.e;
|
|
c7773cue.d = c7773cue.e.e(c7968cyO, this.e.b.d.T(), this.e.c);
|
|
C7773cue.f(this.e);
|
|
C7773cue c7773cue2 = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cuj
|
|
private C7773cue.AnonymousClass4 a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C7773cue.AnonymousClass4.c(this.a, (InterfaceC8970dar.RVV) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
};
|
|
if (c7773cue2.f != 0) {
|
|
ieS.e(c7773cue2.f);
|
|
}
|
|
super.onNext(c7968cyO);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C7773cue.c(this.e, th);
|
|
super.onError(th);
|
|
}
|
|
|
|
public static /* synthetic */ void c(AnonymousClass4 anonymousClass4, InterfaceC8970dar.RVV rvv) {
|
|
rvv.e(anonymousClass4.e.d);
|
|
rvv.e();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(final C7773cue c7773cue, String str, String str2, String str3, String str4, final UU uu, InterfaceC8970dar.RVV rvv) {
|
|
C0690Mh c0690Mh = new C0690Mh();
|
|
Runnable runnable = new Runnable(c7773cue, uu) { // from class: o.cuc
|
|
private UU a;
|
|
private C7773cue c;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7773cue.b(this.c, this.a);
|
|
}
|
|
|
|
{
|
|
this.c = c7773cue;
|
|
this.a = uu;
|
|
}
|
|
};
|
|
c0690Mh.e = C0690Mh.IeS.CUSTOM;
|
|
c0690Mh.d = runnable;
|
|
rvv.d(str, str2, str3, str4, c0690Mh);
|
|
}
|
|
|
|
public static /* synthetic */ void b(C7773cue c7773cue, UU uu) {
|
|
String str;
|
|
Iterator<UV> it = c7773cue.d.iterator();
|
|
int i = 0;
|
|
while (it.hasNext()) {
|
|
if (it.next().s != 1) {
|
|
i++;
|
|
}
|
|
}
|
|
if (i <= 1) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cua
|
|
private int d = 1;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC8970dar.RVV) obj).e(this.d);
|
|
}
|
|
};
|
|
if (c7773cue.f != 0) {
|
|
ieS.e(c7773cue.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c7773cue.f != 0) {
|
|
c7773cue.f.y();
|
|
}
|
|
jwh jwhVar = c7773cue.b;
|
|
AA aa = c7773cue.g;
|
|
C8628dR.HBt b = C8628dR.b();
|
|
b.b = uu.e;
|
|
int i2 = uu.s;
|
|
if (i2 != 2) {
|
|
if (i2 != 3) {
|
|
if (i2 == 4) {
|
|
str = "MUTUAL_FUND";
|
|
} else if (i2 == 5) {
|
|
str = "LOAN";
|
|
} else if (i2 == 7) {
|
|
str = "MERCHANT_WALLET";
|
|
} else if (i2 != 12) {
|
|
switch (i2) {
|
|
case 14:
|
|
str = "PREPAID_CARD";
|
|
break;
|
|
case 15:
|
|
str = "DEBIT_CARD";
|
|
break;
|
|
case 16:
|
|
break;
|
|
default:
|
|
str = null;
|
|
break;
|
|
}
|
|
} else {
|
|
str = "SECURITIES";
|
|
}
|
|
}
|
|
str = "CREDIT_CARD";
|
|
} else {
|
|
str = "DEPOSIT";
|
|
}
|
|
b.d = str;
|
|
jwhVar.c(new C8628dR(b, (byte) 0));
|
|
jwh jwhVar2 = c7773cue.b;
|
|
jwhVar2.d(jwhVar2.i, new AnonymousClass2(c7773cue));
|
|
}
|
|
|
|
static /* synthetic */ void c(C7773cue c7773cue) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cub
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7773cue.e((InterfaceC8970dar.RVV) obj);
|
|
}
|
|
};
|
|
if (c7773cue.f != 0) {
|
|
ieS.e(c7773cue.f);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void g(C7773cue c7773cue) {
|
|
if (c7773cue.f != 0) {
|
|
c7773cue.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void h(C7773cue c7773cue) {
|
|
if (c7773cue.f != 0) {
|
|
c7773cue.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void d(C7773cue c7773cue, Throwable th) {
|
|
if (c7773cue.b(th)) {
|
|
c7773cue.d(c7773cue.j.e(th));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void i(C7773cue c7773cue) {
|
|
if (c7773cue.f != 0) {
|
|
c7773cue.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void f(C7773cue c7773cue) {
|
|
if (c7773cue.f != 0) {
|
|
c7773cue.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void c(C7773cue c7773cue, Throwable th) {
|
|
if (c7773cue.b(th)) {
|
|
c7773cue.d(c7773cue.j.e(th));
|
|
}
|
|
}
|
|
}
|