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

116 lines
3.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.math.BigDecimal;
import o.C4922bjM;
import o.ZI;
import o.wRi;
/* renamed from: o.bjM, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C4922bjM extends ZI<InterfaceC9275dgf> {
public final C17791zkj a;
public WW b;
public double c;
private final C16930sW d;
public ME e;
@InterfaceC13391fZD
public C4922bjM(C16903sI c16903sI, C17791zkj c17791zkj, C16930sW c16930sW) {
super(c16903sI);
this.a = c17791zkj;
this.d = c16930sW;
}
public final boolean a() {
ME me2;
return (this.b == null || (me2 = this.e) == null || !c(me2, this.c)) ? false : true;
}
private static boolean c(ME me2, double d) {
return BigDecimal.valueOf(d).compareTo(BigDecimal.valueOf(me2.g)) >= 0 && BigDecimal.valueOf(d).compareTo(BigDecimal.valueOf(me2.j)) <= 0;
}
/* renamed from: o.bjM$LWm */
/* loaded from: classes4.dex */
public class LWm extends wRi.LWm<C0515Ijp> {
private C4922bjM c;
private C8059d d;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final C0515Ijp c0515Ijp = (C0515Ijp) obj;
super.onNext(c0515Ijp);
C4922bjM c4922bjM = this.c;
ZI.IeS ieS = new ZI.IeS(this, c0515Ijp) { // from class: o.bjQ
private C4922bjM.LWm a;
private C0515Ijp d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4922bjM.LWm.e(this.a, this.d, (InterfaceC9275dgf) obj2);
}
{
this.a = this;
this.d = c0515Ijp;
}
};
if (c4922bjM.f != 0) {
ieS.e(c4922bjM.f);
}
}
public LWm(C4922bjM c4922bjM, C8059d c8059d) {
this.c = c4922bjM;
this.d = c8059d;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
super.onError(th);
C4922bjM c4922bjM = this.c;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bjR
private C4922bjM.LWm c;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4922bjM.LWm.a(this.c, this.d, (InterfaceC9275dgf) obj);
}
{
this.c = this;
this.d = th;
}
};
if (c4922bjM.f != 0) {
ieS.e(c4922bjM.f);
}
}
public static /* synthetic */ void a(LWm lWm, Throwable th, InterfaceC9275dgf interfaceC9275dgf) {
interfaceC9275dgf.ar_();
if (lWm.c.c(th, true)) {
return;
}
if (!(th instanceof RetrofitException) || !RetrofitException.RVV.REQUIRED_OTP.equals(((RetrofitException) th).d)) {
interfaceC9275dgf.e(lWm.c.j.e(th));
} else {
interfaceC9275dgf.e(lWm.d.e(), lWm.d.a());
}
}
public static /* synthetic */ void e(LWm lWm, C0515Ijp c0515Ijp, InterfaceC9275dgf interfaceC9275dgf) {
interfaceC9275dgf.ar_();
C16930sW unused = lWm.c.d;
interfaceC9275dgf.a(C16930sW.e(c0515Ijp));
}
}
public static /* synthetic */ void a(C4922bjM c4922bjM, ME me2, InterfaceC9275dgf interfaceC9275dgf) {
interfaceC9275dgf.c(me2.g, me2.j);
interfaceC9275dgf.d(c4922bjM.a());
}
}