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

112 lines
3.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C5044blc;
import o.ZI;
import o.wRi;
/* renamed from: o.blc, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C5044blc extends ZI<InterfaceC9288dgs> {
public final C3165asP a;
@InterfaceC13391fZD
public C5044blc(C16903sI c16903sI, C3165asP c3165asP) {
super(c16903sI);
this.a = c3165asP;
}
@Override // o.ZI
public final void w_() {
super.w_();
C3165asP c3165asP = this.a;
if (c3165asP.h.isDisposed()) {
return;
}
c3165asP.h.dispose();
}
/* renamed from: o.blc$Sts */
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<Boolean> {
private C5044blc c;
private Sts(C5044blc c5044blc) {
this.c = c5044blc;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
Boolean bool = (Boolean) obj;
super.onNext(bool);
if (Boolean.TRUE.equals(bool)) {
C5044blc c5044blc = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.blj
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5044blc.Sts.d((InterfaceC9288dgs) obj2);
}
};
if (c5044blc.f != 0) {
ieS.e(c5044blc.f);
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void d(InterfaceC9288dgs interfaceC9288dgs) {
interfaceC9288dgs.ar_();
interfaceC9288dgs.I_();
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
super.onError(th);
C5044blc.c(this.c);
if (!(th instanceof RetrofitException) || !((RetrofitException) th).d.equals(RetrofitException.RVV.SESSION_EXPIRED)) {
C5044blc c5044blc = this.c;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bli
private C5044blc.Sts a;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9288dgs interfaceC9288dgs = (InterfaceC9288dgs) obj;
interfaceC9288dgs.b(this.a.c.j.e(this.d).c);
}
{
this.a = this;
this.d = th;
}
};
if (c5044blc.f != 0) {
ieS.e(c5044blc.f);
return;
}
return;
}
C5044blc c5044blc2 = this.c;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.blg
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9288dgs) obj).e();
}
};
if (c5044blc2.f != 0) {
ieS2.e(c5044blc2.f);
}
}
public /* synthetic */ Sts(C5044blc c5044blc, byte b) {
this(c5044blc);
}
}
static /* synthetic */ void c(C5044blc c5044blc) {
if (c5044blc.f != 0) {
c5044blc.f.ar_();
}
}
}