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

174 lines
5.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import o.C0690Mh;
import o.C3324avR;
import o.ZI;
import o.wRi;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.avR, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C3324avR extends ZI<InterfaceC9058dcZ> {
private ZBH c;
public C0477Hl d;
private C16320nU e;
@InterfaceC13391fZD
public C3324avR(C16903sI c16903sI, ZBH zbh, C16320nU c16320nU) {
super(c16903sI);
this.c = zbh;
this.e = c16320nU;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(boolean z, boolean z2, InterfaceC9058dcZ interfaceC9058dcZ) {
if (z || z2) {
interfaceC9058dcZ.i();
} else {
interfaceC9058dcZ.h();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(int i, InterfaceC9058dcZ interfaceC9058dcZ) {
if (i <= 1) {
interfaceC9058dcZ.g();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.avR$RVV */
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<C1529aGt> {
private C3324avR b;
RVV(C3324avR c3324avR) {
this.b = c3324avR;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
String str;
C1529aGt c1529aGt = (C1529aGt) obj;
C16320nU c16320nU = this.b.e;
C0477Hl c0477Hl = this.b.d;
final C0461Hb c0461Hb = new C0461Hb();
OffsetDateTime parse = OffsetDateTime.parse(c1529aGt.i);
c0461Hb.q = (String) C16157lj.c(new Object[]{c16320nU, parse}, 838289628, -838289623, System.identityHashCode(c16320nU));
c0461Hb.s = c1529aGt.j;
c0461Hb.d = c0477Hl.b;
c0461Hb.n = c0477Hl.s;
c0461Hb.p = c0477Hl.r;
c0461Hb.f = c0477Hl.f8202o;
c0461Hb.m = c0477Hl.n;
c0461Hb.j = c0477Hl.g;
c0461Hb.f8196o = c1529aGt.a;
c0461Hb.l = c1529aGt.d;
c0461Hb.r = c1529aGt.b;
c0461Hb.g = c0477Hl.m;
c0461Hb.h = c16320nU.a(parse);
c0461Hb.b = c0477Hl.a;
c0461Hb.i = c0477Hl.l;
c0461Hb.a = c0477Hl.e;
c0461Hb.k = c0477Hl.p;
c0461Hb.e = c0477Hl.c;
c0461Hb.c = c0477Hl.d;
String str2 = "";
if (c1529aGt.c == null) {
str = "";
} else {
str = c1529aGt.c;
}
c0461Hb.t = str;
if (c1529aGt.f != null) {
str2 = c1529aGt.f;
}
c0461Hb.w = str2;
c0461Hb.x = Integer.valueOf(c1529aGt.g != null ? c1529aGt.g.intValue() : 0);
C3324avR c3324avR = this.b;
ZI.IeS ieS = new ZI.IeS(c0461Hb) { // from class: o.avS
private C0461Hb b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9058dcZ) obj2).a(this.b);
}
{
this.b = c0461Hb;
}
};
if (c3324avR.f != 0) {
ieS.e(c3324avR.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C3324avR.b(this.b);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
if (this.b.i(th)) {
return;
}
C3324avR.d(this.b);
C3324avR c3324avR = this.b;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.avU
private C3324avR.RVV b;
private Throwable e;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9058dcZ interfaceC9058dcZ = (InterfaceC9058dcZ) obj;
interfaceC9058dcZ.e(this.b.b.j.d(this.e, C0690Mh.IeS.JUST_DISMISS));
}
{
this.b = this;
this.e = th;
}
};
if (c3324avR.f != 0) {
ieS.e(c3324avR.f);
}
}
}
static /* synthetic */ void b(C3324avR c3324avR) {
if (c3324avR.f != 0) {
c3324avR.f.ar_();
}
}
static /* synthetic */ void d(C3324avR c3324avR) {
if (c3324avR.f != 0) {
c3324avR.f.ar_();
}
}
public final void c() {
Long valueOf;
Long valueOf2;
if (this.f != 0) {
this.f.y();
}
Tcy tcy = new Tcy(this.d.c, this.d.x, this.d.s);
ArrayList arrayList = new ArrayList();
Jiz jiz = this.d.k ? Jiz.POINT : Jiz.POINTWITHMONEY;
if (this.d.k) {
valueOf = Long.valueOf(this.d.t.intValue() * this.d.n);
valueOf2 = null;
} else {
valueOf = Long.valueOf(this.d.w.intValue() * this.d.n);
valueOf2 = Long.valueOf(this.d.q.intValue() * this.d.n);
}
arrayList.add(new GjB(this.d.f8202o, this.d.n, jiz, this.d.r, valueOf, valueOf2));
this.c.b(new Txv(tcy, arrayList));
ZBH zbh = this.c;
zbh.d(zbh.i, new RVV(this));
}
}