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

136 lines
3.9 KiB
Java

package o;
import o.C0690Mh;
import o.ZI;
import o.wRi;
/* renamed from: o.bwM, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5610bwM extends ZI<InterfaceC9332dhj> {
public YZs c;
public final Ygk d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5610bwM(C16903sI c16903sI, Ygk ygk) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(ygk, "");
this.d = ygk;
}
/* renamed from: o.bwM$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends wRi.LWm<YZs> {
private C5610bwM b;
public IeS(C5610bwM c5610bwM) {
this.b = c5610bwM;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
YZs yZs = (YZs) obj;
C14957gcv.e(yZs, "");
super.onNext(yZs);
C5610bwM c5610bwM = this.b;
C14957gcv.e(yZs, "");
c5610bwM.c = yZs;
if (yZs.b) {
C5610bwM c5610bwM2 = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bwP
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9332dhj) obj2).j();
}
};
if (c5610bwM2.f != 0) {
ieS.e(c5610bwM2.f);
}
} else {
C5610bwM c5610bwM3 = this.b;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bwU
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9332dhj) obj2).a();
}
};
if (c5610bwM3.f != 0) {
ieS2.e(c5610bwM3.f);
}
}
C5610bwM.c(this.b);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5610bwM.c(this.b, th, C0690Mh.IeS.NAVIGATE_BACK);
}
}
/* renamed from: o.bwM$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends wRi.LWm<C14866gag> {
private C5610bwM b;
LWm(C5610bwM c5610bwM) {
this.b = c5610bwM;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5610bwM.c(this.b, th, C0690Mh.IeS.JUST_DISMISS);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
super.onComplete();
C5610bwM c5610bwM = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bwV
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9332dhj) obj).b();
}
};
if (c5610bwM.f != 0) {
ieS.e(c5610bwM.f);
}
C5610bwM.c(this.b);
}
}
public static final /* synthetic */ void c(C5610bwM c5610bwM) {
if (c5610bwM.f != 0) {
c5610bwM.f.ar_();
}
}
public static final /* synthetic */ void c(C5610bwM c5610bwM, Throwable th, C0690Mh.IeS ieS) {
if (c5610bwM.b(th)) {
c5610bwM.d(c5610bwM.j.d(th, ieS));
}
}
@Override // o.ZI
public final void w_() {
Ygk ygk = this.d;
if (!ygk.h.isDisposed()) {
ygk.h.dispose();
}
super.w_();
}
public final void b() {
if (this.f != 0) {
this.f.y();
}
this.d.b();
Ygk ygk = this.d;
ygk.d(ygk.i, new LWm(this));
}
}