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

399 lines
11 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.List;
import o.C0690Mh;
import o.C15715hv;
import o.C2361adE;
import o.InterfaceC6627cYe;
import o.ZI;
import o.wRi;
/* renamed from: o.adE */
/* loaded from: classes3.dex */
public class C2361adE extends ZI<InterfaceC6627cYe.ZqN> {
public final C1025UIz a;
public boolean b;
public fSC c;
public List<QD> d;
public final wCR e;
public final C15920jd g;
public final C15930ji h;
public final C15942jn i;
public final Icn k;
private final C16177lv l;
private final C16101lI m;
private final sfP n;
@InterfaceC13391fZD
public C2361adE(Icn icn, wCR wcr, C16101lI c16101lI, C16177lv c16177lv, C16903sI c16903sI, C1025UIz c1025UIz, C15942jn c15942jn, sfP sfp, C15920jd c15920jd, C15930ji c15930ji) {
super(c16903sI);
this.c = new fSC();
this.k = icn;
this.e = wcr;
this.m = c16101lI;
this.l = c16177lv;
this.a = c1025UIz;
this.i = c15942jn;
this.n = sfp;
this.g = c15920jd;
this.h = c15930ji;
}
public final void e(String str) {
if (this.b) {
return;
}
this.b = true;
C2365adI c2365adI = new C2365adI();
if (this.f != 0) {
c2365adI.e(this.f);
}
this.e.e();
wCR wcr = this.e;
wcr.d(wcr.i, new LWm(this, str.equalsIgnoreCase("en")));
}
/* renamed from: o.adE$4 */
/* loaded from: classes3.dex */
public class AnonymousClass4 implements InterfaceC13154fSb {
private C2361adE a;
private String c;
private String d;
@Override // o.InterfaceC13154fSb
public final void onSubscribe(fSJ fsj) {
}
public AnonymousClass4(C2361adE c2361adE, String str, String str2) {
this.a = c2361adE;
this.d = str;
this.c = str2;
}
@Override // o.InterfaceC13154fSb
public final void onComplete() {
C2361adE c2361adE = this.a;
ZI.IeS ieS = new ZI.IeS(this.d, this.c) { // from class: o.adO
private String b;
private String d;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.ZqN) obj).c(this.b, this.d);
}
{
this.b = str2;
this.d = str3;
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
}
@Override // o.InterfaceC13154fSb
public final void onError(Throwable th) {
C2361adE.d(this.a, th);
}
}
public static /* synthetic */ void b(boolean z, InterfaceC6627cYe.ZqN zqN) {
if (z) {
zqN.j();
} else {
zqN.g();
}
}
public static /* synthetic */ void b(Boolean bool, InterfaceC6627cYe.ZqN zqN) {
if (Boolean.TRUE.equals(bool)) {
zqN.a();
} else {
zqN.e();
}
}
/* renamed from: o.adE$LWm */
/* loaded from: classes3.dex */
public final class LWm extends wRi.LWm<Ibr> {
private final boolean a;
private C2361adE e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
Ibr ibr = (Ibr) obj;
this.e.b = false;
if (ibr.e == null && ibr.b == null) {
C2361adE c2361adE = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.adW
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6627cYe.ZqN) obj2).d();
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
return;
}
return;
}
QH d = this.e.m.d(ibr);
ArrayList arrayList = new ArrayList();
if (d.b != null) {
arrayList.add(d.b);
}
if (d.a != null) {
arrayList.add(d.a);
}
this.e.d = arrayList;
C2361adE c2361adE2 = this.e;
List<QD> list = c2361adE2.d;
if (list != null && !list.isEmpty()) {
C2364adH c2364adH = new C2364adH(c2361adE2, 0);
if (c2361adE2.f != 0) {
c2364adH.e(c2361adE2.f);
}
}
C2361adE c2361adE3 = this.e;
ZI.IeS ieS2 = new ZI.IeS(arrayList) { // from class: o.adU
private List e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6627cYe.ZqN) obj2).d((List<QD>) this.e);
}
{
this.e = arrayList;
}
};
if (c2361adE3.f != 0) {
ieS2.e(c2361adE3.f);
}
C2361adE c2361adE4 = this.e;
ZI.IeS ieS3 = new ZI.IeS(this, ibr) { // from class: o.adX
private C2361adE.LWm c;
private Ibr e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2361adE.LWm.e(this.c, this.e, (InterfaceC6627cYe.ZqN) obj2);
}
{
this.c = this;
this.e = ibr;
}
};
if (c2361adE4.f != 0) {
ieS3.e(c2361adE4.f);
}
}
public LWm(C2361adE c2361adE, boolean z) {
this.e = c2361adE;
this.a = z;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C2361adE.a(this.e);
C2361adE.f(this.e);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
this.e.b = false;
if (this.e.f == 0 || this.e.i(th)) {
return;
}
C2361adE.j(this.e);
C2361adE c2361adE = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.adV
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.ZqN) obj).aM_();
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
}
public static /* synthetic */ void e(LWm lWm, Ibr ibr, InterfaceC6627cYe.ZqN zqN) {
if (ibr.a != null) {
zqN.e(lWm.e.l.b(ibr.a, lWm.a));
}
}
}
public static /* synthetic */ void c(C2361adE c2361adE) {
if (c2361adE.f != 0) {
c2361adE.f.ar_();
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.adM
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.ZqN) obj).e();
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
}
public static /* synthetic */ C14866gag e(C2361adE c2361adE, Boolean bool) {
boolean booleanValue = bool.booleanValue();
if (c2361adE.f != 0) {
c2361adE.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(booleanValue) { // from class: o.adN
private boolean c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2361adE.b(this.c, (InterfaceC6627cYe.ZqN) obj);
}
{
this.c = booleanValue;
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
return C14866gag.c;
}
public static /* synthetic */ void b(C2361adE c2361adE, int i, InterfaceC6627cYe.ZqN zqN) {
if (c2361adE.d.get(i).f8320o == 0) {
zqN.d(C15715hv.RVV.layout_height_330);
} else {
zqN.d(C15715hv.RVV.layout_height_288);
}
}
public static /* synthetic */ C14866gag e(C2361adE c2361adE, Throwable th) {
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
if (c2361adE.b(th)) {
c2361adE.d(c2361adE.j.d(th, ieS));
}
return C14866gag.c;
}
public static /* synthetic */ void d(C2361adE c2361adE, Boolean bool) {
if (c2361adE.f != 0) {
c2361adE.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(bool) { // from class: o.adP
private Boolean b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2361adE.b(this.b, (InterfaceC6627cYe.ZqN) obj);
}
{
this.b = bool;
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
}
public static /* synthetic */ C14866gag b(C2361adE c2361adE, Throwable th) {
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
if (c2361adE.b(th)) {
c2361adE.d(c2361adE.j.d(th, ieS));
}
return C14866gag.c;
}
public static /* synthetic */ C14866gag a(C2361adE c2361adE, Boolean bool) {
if (c2361adE.f != 0) {
c2361adE.f.ar_();
}
if (bool.booleanValue()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.adR
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.ZqN) obj).b();
}
};
if (c2361adE.f != 0) {
ieS.e(c2361adE.f);
}
} else {
c2361adE.a();
}
return C14866gag.c;
}
static /* synthetic */ void d(C2361adE c2361adE, Throwable th) {
if (c2361adE.b(th)) {
c2361adE.d(c2361adE.j.e(th));
}
}
static /* synthetic */ void a(C2361adE c2361adE) {
if (c2361adE.f != 0) {
c2361adE.f.aq_();
}
}
static /* synthetic */ void f(C2361adE c2361adE) {
if (c2361adE.f != 0) {
c2361adE.f.u();
}
}
static /* synthetic */ void j(C2361adE c2361adE) {
if (c2361adE.f != 0) {
c2361adE.f.u();
}
}
public final void a() {
if (this.f != 0) {
this.f.y();
}
sfP sfp = this.n;
sfp.d(sfp.e(), new fSQ(this) { // from class: o.adK
private C2361adE a;
@Override // o.fSQ
public final void c(Object obj) {
C2361adE.d(this.a, (Boolean) obj);
}
{
this.a = this;
}
}, new fSQ(this) { // from class: o.adQ
private C2361adE a;
@Override // o.fSQ
public final void c(Object obj) {
C2361adE.c(this.a);
}
{
this.a = this;
}
});
}
@Override // o.ZI
public final void w_() {
wCR wcr = this.e;
if (!wcr.h.isDisposed()) {
wcr.h.dispose();
}
this.c.dispose();
super.w_();
}
}