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

156 lines
4.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
import o.C0690Mh;
import o.InterfaceC6621cYR;
import o.InterfaceC6621cYR.jNh;
import o.ZI;
import o.wRi;
/* loaded from: classes4.dex */
public abstract class aPY<T extends InterfaceC6621cYR.jNh> extends ZI<T> {
public YHs a;
public String b;
public boolean c;
public final hKK d;
protected LW e;
public lUI h;
public abstract void d(String str);
/* JADX INFO: Access modifiers changed from: package-private */
public aPY(C16903sI c16903sI, YHs yHs, hKK hkk, lUI lui) {
super(c16903sI);
this.a = yHs;
this.d = hkk;
this.h = lui;
}
public final void a(final LW lw) {
this.e = lw;
ZI.IeS ieS = new ZI.IeS(this, lw) { // from class: o.aQa
private aPY b;
private LW e;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v7, types: [T] */
@Override // o.ZI.IeS
public final void e(Object obj) {
zEQ d;
LW lw2 = this.e;
InterfaceC6621cYR.jNh jnh = (InterfaceC6621cYR.jNh) obj;
jnh.aV_();
jnh.d(lw2);
jnh.d();
jnh.a();
List<LT> list = lw2.b;
if (list != null && !list.isEmpty()) {
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel() { // from class: o.aQb
@Override // o.Jel
public final boolean e(Object obj2) {
return OVB.PRIVACY_NOTICE.name().equals(((LT) obj2).e);
}
}));
if (yku2.b.hasNext()) {
d = zEQ.a(yku2.b.next());
} else {
d = zEQ.d();
}
?? r0 = d.d;
r1 = r0 != 0 ? r0 : null;
}
if (r1 == null) {
jnh.i();
} else {
jnh.c(r1);
}
}
{
this.b = this;
this.e = lw;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void b(LHd lHd, boolean z) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aQe
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC6621cYR.jNh jnh = (InterfaceC6621cYR.jNh) obj;
jnh.aN_();
jnh.y();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
this.a.c(lHd, z);
YHs yHs = this.a;
yHs.d(yHs.i, new RVV(this, (byte) 0));
}
/* loaded from: classes4.dex */
final class RVV extends wRi.LWm<xtZ> {
private aPY d;
private RVV(aPY apy) {
this.d = apy;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
xtZ xtz = (xtZ) obj;
super.onNext(xtz);
aPY apy = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aQd
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6621cYR.jNh) obj2).ar_();
}
};
if (apy.f != 0) {
ieS.e(apy.f);
}
if (xtz.d) {
aPY apy2 = this.d;
apy2.d(apy2.j.c(xtz.b, xtz.c, C0690Mh.IeS.JUST_DISMISS));
return;
}
aPY apy3 = this.d;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aQg
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6621cYR.jNh) obj2).f();
}
};
if (apy3.f != 0) {
ieS2.e(apy3.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
aPY apy = this.d;
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (apy.b(th)) {
apy.d(apy.j.d(th, ieS));
}
}
/* synthetic */ RVV(aPY apy, byte b) {
this(apy);
}
}
public final boolean d(double d) {
return d >= this.e.d.doubleValue();
}
}