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

185 lines
5.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.Gson;
import o.C7105chx;
import o.ZI;
import o.wRi;
/* renamed from: o.chx, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7105chx extends ZI<InterfaceC9462dkG> {
public String a;
final C16533pB b;
public final QnL d;
public final Gson e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7105chx(C16903sI c16903sI, QnL qnL, C16533pB c16533pB) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(qnL, "");
C14957gcv.e(c16533pB, "");
this.d = qnL;
this.b = c16533pB;
this.e = new Gson();
}
/* renamed from: o.chx$RVV */
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // o.ZI
public final void w_() {
super.w_();
QnL qnL = this.d;
if (qnL.h.isDisposed()) {
return;
}
qnL.h.dispose();
}
public final void a() {
final C1002Tk c1002Tk = new C1002Tk(new TK("unidentifiedError", "ERROR"));
ZI.IeS ieS = new ZI.IeS(this, c1002Tk) { // from class: o.chE
private C7105chx b;
private C1002Tk e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7105chx.c(this.b, this.e, (InterfaceC9462dkG) obj);
}
{
this.b = this;
this.e = c1002Tk;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
/* renamed from: o.chx$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<C1975aTq> {
private C7105chx e;
public IeS(C7105chx c7105chx) {
this.e = c7105chx;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C1975aTq c1975aTq = (C1975aTq) obj;
C14957gcv.e(c1975aTq, "");
super.onNext(c1975aTq);
C7105chx.d(this.e);
C7105chx c7105chx = this.e;
C16533pB c16533pB = c7105chx.b;
C1002Tk b = C16533pB.b(c1975aTq, c7105chx.a, new TK(C2974aoj.d("SUCCESS"), "SUCCESS"));
C16533pB c16533pB2 = this.e.b;
C14957gcv.e(b, "");
final String json = c16533pB2.d.toJson(b);
C7105chx c7105chx2 = this.e;
ZI.IeS ieS = new ZI.IeS(json) { // from class: o.chJ
private String b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7105chx.IeS.c(this.b, (InterfaceC9462dkG) obj2);
}
{
this.b = json;
}
};
if (c7105chx2.f != 0) {
ieS.e(c7105chx2.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C7105chx.d(this.e);
this.e.a();
}
public static /* synthetic */ void c(String str, InterfaceC9462dkG interfaceC9462dkG) {
C14957gcv.c((Object) str, "");
interfaceC9462dkG.l(str);
}
}
public static /* synthetic */ void d(String str, InterfaceC9462dkG interfaceC9462dkG) {
C14957gcv.c((Object) str, "");
interfaceC9462dkG.n(str);
}
public static /* synthetic */ void b(String str, InterfaceC9462dkG interfaceC9462dkG) {
C14957gcv.c((Object) str, "");
interfaceC9462dkG.n(str);
}
public static /* synthetic */ void c(String str, InterfaceC9462dkG interfaceC9462dkG) {
C14957gcv.c((Object) str, "");
interfaceC9462dkG.n(str);
}
public static /* synthetic */ void c(C7105chx c7105chx, C1002Tk c1002Tk, InterfaceC9462dkG interfaceC9462dkG) {
C14957gcv.e(c7105chx, "");
C14957gcv.e(c1002Tk, "");
C16533pB c16533pB = c7105chx.b;
C14957gcv.e(c1002Tk, "");
String json = c16533pB.d.toJson(c1002Tk);
C14957gcv.c((Object) json, "");
interfaceC9462dkG.l(json);
}
public static final /* synthetic */ void d(C7105chx c7105chx) {
if (c7105chx.f != 0) {
c7105chx.f.ar_();
}
}
public final void d(String str, String str2) {
String str3 = str;
boolean z = false;
if (!(str3 == null || gdZ.d((CharSequence) str3))) {
String str4 = str2;
if (!(str4 == null || gdZ.d((CharSequence) str4))) {
z = true;
}
}
final String json = this.e.toJson(new C0999Ti(z, str, str2, new TK(C2974aoj.d("SUCCESS"), "SUCCESS")));
ZI.IeS ieS = new ZI.IeS(json) { // from class: o.chD
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7105chx.b(this.b, (InterfaceC9462dkG) obj);
}
{
this.b = json;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
static {
new RVV((byte) 0);
}
}