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

321 lines
9.5 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 java.util.List;
import o.C4548bcJ;
import o.InterfaceC6621cYR;
import o.ZI;
import o.wRi;
/* renamed from: o.bcJ, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C4548bcJ extends ZI<InterfaceC6621cYR.cSf> {
public LD a;
public final ses b;
private final C16965sn c;
private final RtP e;
@InterfaceC13391fZD
public C4548bcJ(C16903sI c16903sI, C16965sn c16965sn, RtP rtP, ses sesVar) {
super(c16903sI);
this.c = c16965sn;
this.e = rtP;
this.b = sesVar;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(boolean z, InterfaceC6621cYR.cSf csf) {
csf.d(z);
csf.b(z);
}
/* renamed from: o.bcJ$LWm */
/* loaded from: classes4.dex */
public class LWm extends wRi.LWm<AnN> {
private C4548bcJ c;
private LWm(C4548bcJ c4548bcJ) {
this.c = c4548bcJ;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final AnN anN = (AnN) obj;
super.onNext(anN);
C4548bcJ c4548bcJ = this.c;
ZI.IeS ieS = new ZI.IeS(anN) { // from class: o.bcS
private AnN d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4548bcJ.LWm.d(this.d, (InterfaceC6621cYR.cSf) obj2);
}
{
this.d = anN;
}
};
if (c4548bcJ.f != 0) {
ieS.e(c4548bcJ.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void d(AnN anN, InterfaceC6621cYR.cSf csf) {
csf.ar_();
if (anN.c != null) {
csf.d(anN.c);
}
csf.e();
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
C4548bcJ.d(this.c, th);
}
public /* synthetic */ LWm(C4548bcJ c4548bcJ, byte b) {
this(c4548bcJ);
}
}
/* renamed from: o.bcJ$RVV */
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<Boolean> {
private C4548bcJ b;
private RVV(C4548bcJ c4548bcJ) {
this.b = c4548bcJ;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
super.onNext((Boolean) obj);
C4548bcJ c4548bcJ = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bcW
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4548bcJ.RVV.b((InterfaceC6621cYR.cSf) obj2);
}
};
if (c4548bcJ.f != 0) {
ieS.e(c4548bcJ.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void b(InterfaceC6621cYR.cSf csf) {
csf.ar_();
csf.e();
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
C4548bcJ.d(this.b, th);
}
public /* synthetic */ RVV(C4548bcJ c4548bcJ, byte b) {
this(c4548bcJ);
}
}
public static /* synthetic */ void b(C4548bcJ c4548bcJ, InterfaceC6621cYR.cSf csf) {
LD ld = c4548bcJ.a;
if (ld != null) {
if (ld.b != null) {
csf.b(c4548bcJ.a.b.intValue());
}
if (c4548bcJ.a.j != null) {
csf.c(c4548bcJ.a.j.booleanValue());
}
if (c4548bcJ.a.e == null || c4548bcJ.a.j == null || !c4548bcJ.a.j.booleanValue()) {
return;
}
csf.d(c4548bcJ.a.e.intValue());
}
}
public static /* synthetic */ WW e(C4548bcJ c4548bcJ, LE le) {
C16965sn c16965sn = c4548bcJ.c;
return C16965sn.a(le, c4548bcJ.e.c.T());
}
public static /* synthetic */ void a(C4548bcJ c4548bcJ, Throwable th, InterfaceC6621cYR.cSf csf) {
csf.ar_();
csf.e(c4548bcJ.j.e(th));
}
public static /* synthetic */ WW b(C4548bcJ c4548bcJ, LE le) {
C16965sn c16965sn = c4548bcJ.c;
return C16965sn.a(le, c4548bcJ.e.c.T());
}
public static /* synthetic */ void d(C4548bcJ c4548bcJ) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bcI
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6621cYR.cSf) obj).d();
}
};
if (c4548bcJ.f != 0) {
ieS.e(c4548bcJ.f);
}
}
public static /* synthetic */ void a(final C4548bcJ c4548bcJ, C0641Lf c0641Lf, InterfaceC6621cYR.cSf csf) {
C16965sn c16965sn = c4548bcJ.c;
csf.a((List) C16157lj.c(new Object[]{c0641Lf.a, new InterfaceC1244Ytw(c4548bcJ) { // from class: o.bcR
private C4548bcJ d;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C4548bcJ.b(this.d, (LE) obj);
}
{
this.d = c4548bcJ;
}
}}, -1846295624, 1846295631, (int) System.currentTimeMillis()));
C16965sn c16965sn2 = c4548bcJ.c;
csf.c((List<WW>) C16157lj.c(new Object[]{c0641Lf.f, new InterfaceC1244Ytw(c4548bcJ) { // from class: o.bcN
private C4548bcJ e;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C4548bcJ.e(this.e, (LE) obj);
}
{
this.e = c4548bcJ;
}
}}, -1846295624, 1846295631, (int) System.currentTimeMillis()));
}
static /* synthetic */ void d(final C4548bcJ c4548bcJ, final Throwable th) {
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e != null && retrofitException.e.c != null && retrofitException.e.c.e != null && (retrofitException.e.c.e.equals("3006") || retrofitException.e.c.e.equals("3008"))) {
Runnable runnable = new Runnable(c4548bcJ) { // from class: o.bcU
private C4548bcJ e;
@Override // java.lang.Runnable
public final void run() {
C4548bcJ.d(this.e);
}
{
this.e = c4548bcJ;
}
};
if (c4548bcJ.b(th)) {
c4548bcJ.d(c4548bcJ.j.c(th, runnable));
return;
}
return;
}
}
ZI.IeS ieS = new ZI.IeS(c4548bcJ, th) { // from class: o.bcT
private C4548bcJ a;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4548bcJ.a(this.a, this.d, (InterfaceC6621cYR.cSf) obj);
}
{
this.a = c4548bcJ;
this.d = th;
}
};
if (c4548bcJ.f != 0) {
ieS.e(c4548bcJ.f);
}
}
public final <T extends C0641Lf> void b(final T t, LD ld) {
this.a = ld;
if (t != null) {
ZI.IeS ieS = new ZI.IeS(this, t) { // from class: o.bcP
private C4548bcJ d;
private C0641Lf e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4548bcJ.a(this.d, this.e, (InterfaceC6621cYR.cSf) obj);
}
{
this.d = this;
this.e = t;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
final boolean z = (t == null || t.f == null || t.f.isEmpty()) ? false : true;
ZI.IeS ieS2 = new ZI.IeS(z) { // from class: o.bcQ
private boolean c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4548bcJ.a(this.c, (InterfaceC6621cYR.cSf) obj);
}
{
this.c = z;
}
};
if (this.f != 0) {
ieS2.e(this.f);
}
final boolean z2 = (t == null || t.a == null || t.a.isEmpty()) ? false : true;
ZI.IeS ieS3 = new ZI.IeS(z2) { // from class: o.bcV
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6621cYR.cSf) obj).e(this.e);
}
{
this.e = z2;
}
};
if (this.f != 0) {
ieS3.e(this.f);
}
ZI.IeS ieS4 = new ZI.IeS(this) { // from class: o.bcO
private C4548bcJ c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4548bcJ.b(this.c, (InterfaceC6621cYR.cSf) obj);
}
{
this.c = this;
}
};
if (this.f != 0) {
ieS4.e(this.f);
}
}
@Override // o.ZI
public final void w_() {
RtP rtP = this.e;
if (!rtP.h.isDisposed()) {
rtP.h.dispose();
}
ses sesVar = this.b;
if (!sesVar.h.isDisposed()) {
sesVar.h.dispose();
}
super.w_();
}
}