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

189 lines
5.4 KiB
Java

package o;
import o.C0690Mh;
import o.C5336brC;
import o.ZI;
import o.wRi;
/* renamed from: o.brC, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5336brC extends ZI<InterfaceC9324dhb> {
private final C0899RDe b;
private final C11799emE c;
public final hKK d;
private String e;
public static final /* synthetic */ boolean d(C5336brC c5336brC) {
return c5336brC.d.b.b() != null;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5336brC(C16903sI c16903sI, C11799emE c11799emE, hKK hkk, C0899RDe c0899RDe) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c11799emE, "");
C14957gcv.e(hkk, "");
C14957gcv.e(c0899RDe, "");
this.c = c11799emE;
this.d = hkk;
this.b = c0899RDe;
}
public static /* synthetic */ void a(C5336brC c5336brC, String str, bTI bti, int i) {
if ((i & 1) != 0) {
str = null;
}
if ((i & 2) != 0) {
bti = bTI.CONSUMER;
}
c5336brC.c(str, bti);
}
public final void c(String str, bTI bti) {
C14957gcv.e(bti, "");
this.e = str;
C14957gcv.e(bti, "");
C0899RDe c0899RDe = this.b;
C14957gcv.e(bti, "");
c0899RDe.a.e(bti);
if (this.d.b.b() != null) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.brD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9324dhb) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
d();
}
/* renamed from: o.brC$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends wRi.LWm<WuY> {
private C5336brC d;
IeS(C5336brC c5336brC) {
this.d = c5336brC;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
WuY wuY = (WuY) obj;
C14957gcv.e(wuY, "");
super.onNext(wuY);
C5336brC.a(this.d);
if (HBt.c[wuY.e.ordinal()] == 1) {
final C5336brC c5336brC = this.d;
ZI.IeS ieS = new ZI.IeS(c5336brC) { // from class: o.brz
private C5336brC b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5336brC.IeS.d(this.b, (InterfaceC9324dhb) obj2);
}
{
this.b = c5336brC;
}
};
if (c5336brC.f != 0) {
ieS.e(c5336brC.f);
return;
}
return;
}
final C5336brC c5336brC2 = this.d;
ZI.IeS ieS2 = new ZI.IeS(c5336brC2) { // from class: o.brA
private C5336brC a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5336brC.IeS.b(this.a, (InterfaceC9324dhb) obj2);
}
{
this.a = c5336brC2;
}
};
if (c5336brC2.f != 0) {
ieS2.e(c5336brC2.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5336brC.c(this.d, th, C0690Mh.IeS.NAVIGATE_BACK);
}
public static /* synthetic */ void d(C5336brC c5336brC, InterfaceC9324dhb interfaceC9324dhb) {
C14957gcv.e(c5336brC, "");
if (C5336brC.d(c5336brC)) {
interfaceC9324dhb.d();
} else {
interfaceC9324dhb.c();
}
}
public static /* synthetic */ void b(C5336brC c5336brC, InterfaceC9324dhb interfaceC9324dhb) {
C14957gcv.e(c5336brC, "");
if (C5336brC.d(c5336brC)) {
interfaceC9324dhb.a();
} else {
interfaceC9324dhb.e();
}
}
/* renamed from: o.brC$IeS$HBt */
/* loaded from: classes4.dex */
public final /* synthetic */ class HBt {
public static final int[] c;
static {
int[] iArr = new int[Rdh.values().length];
try {
iArr[Rdh.ACCEPT.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
c = iArr;
}
}
}
@Override // o.ZI
public final void w_() {
C11799emE c11799emE = this.c;
if (!c11799emE.h.isDisposed()) {
c11799emE.h.dispose();
}
super.w_();
}
public static final /* synthetic */ void a(C5336brC c5336brC) {
if (c5336brC.f != 0) {
c5336brC.f.ar_();
}
}
public static final /* synthetic */ void c(C5336brC c5336brC, Throwable th, C0690Mh.IeS ieS) {
if (c5336brC.b(th)) {
c5336brC.d(c5336brC.j.d(th, ieS));
}
}
public final void d() {
if (this.f != 0) {
this.f.y();
}
C11799emE c11799emE = this.c;
c11799emE.d(c11799emE.a(this.e), new IeS(this));
}
}