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

228 lines
7.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.math.BigDecimal;
import java.text.NumberFormat;
import java.util.Locale;
import o.C0690Mh;
import o.C15641hP;
import o.InterfaceC9040dcH;
import o.YGF;
import o.ZI;
/* renamed from: o.arM, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C3109arM extends ZI<InterfaceC9040dcH.Sts> {
private final C15641hP b;
public String d;
public C0463Hc e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3109arM(C16903sI c16903sI, C15641hP c15641hP) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15641hP, "");
this.b = c15641hP;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.arM$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<C0489Ht, C14866gag> {
private C0463Hc a;
private C3109arM c;
private InterfaceC9040dcH.Sts e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0489Ht c0489Ht) {
C0489Ht c0489Ht2 = c0489Ht;
C14957gcv.e(c0489Ht2, "");
this.e.ar_();
C3109arM.a(this.c, this.a, c0489Ht2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(InterfaceC9040dcH.Sts sts, C3109arM c3109arM, C0463Hc c0463Hc) {
super(1);
this.e = sts;
this.c = c3109arM;
this.a = c0463Hc;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.arM$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3109arM b;
private InterfaceC9040dcH.Sts d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
this.d.ar_();
this.d.e(this.b.j.d(th2, C0690Mh.IeS.JUST_DISMISS));
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(InterfaceC9040dcH.Sts sts, C3109arM c3109arM) {
super(1);
this.d = sts;
this.b = c3109arM;
}
}
public static /* synthetic */ void d(C0463Hc c0463Hc, C0489Ht c0489Ht, C3109arM c3109arM, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
C14957gcv.e(c0489Ht, "");
C14957gcv.e(c3109arM, "");
Integer num = c0463Hc.e;
if (num == null || num.intValue() == 0) {
int i = c0489Ht.d;
int i2 = c0489Ht.e;
sts.b(c0489Ht, new C0491Hv(1.0d, i < i2 ? i : i2, 1.0d, 1.0d));
} else {
int i3 = c0489Ht.d;
int i4 = c0489Ht.e;
sts.d(c0489Ht, new C0491Hv(1.0d, i3 < i4 ? i3 : i4, 1.0d, 1.0d));
}
}
public static /* synthetic */ void c(C3109arM c3109arM, Integer num, int i, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c3109arM, "");
C14957gcv.c(num, "");
BigDecimal valueOf = BigDecimal.valueOf(num.intValue() - i);
C14957gcv.c(valueOf, "");
String a = C6583cXR.a(valueOf);
C14957gcv.c((Object) a, "");
sts.f(a);
sts.d();
}
public static /* synthetic */ void b(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String str = c0463Hc.h;
if (!(!(str == null || gdZ.d((CharSequence) str)))) {
sts.e();
return;
}
String str2 = c0463Hc.h;
C14957gcv.c((Object) str2, "");
sts.a(str2);
}
public static /* synthetic */ void d(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String str = c0463Hc.m;
if (str != null) {
sts.d(str);
}
}
public static /* synthetic */ void e(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
Integer num = c0463Hc.d;
if (num == null || num.intValue() == 0) {
sts.c();
sts.d();
} else {
String format = NumberFormat.getInstance(Locale.getDefault()).format(c0463Hc.d);
C14957gcv.c((Object) format, "");
sts.c(format);
}
}
public static /* synthetic */ void a(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String str = c0463Hc.a;
if (str == null || str.length() == 0) {
sts.a();
return;
}
String str2 = c0463Hc.a;
C14957gcv.c((Object) str2, "");
sts.e(str2);
}
public static /* synthetic */ void c(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
if (c0463Hc.j) {
String format = c0463Hc.e == null ? "" : NumberFormat.getInstance(Locale.getDefault()).format(c0463Hc.e);
C14957gcv.c((Object) format, "");
sts.m(format);
} else {
String str = c0463Hc.b;
C14957gcv.c((Object) str, "");
sts.g(str);
}
}
public static /* synthetic */ void h(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String format = c0463Hc.e == null ? "" : NumberFormat.getInstance(Locale.getDefault()).format(c0463Hc.e);
C14957gcv.c((Object) format, "");
sts.k(format);
}
public static /* synthetic */ void d(String str, C0463Hc c0463Hc, C3109arM c3109arM, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(str, "");
C14957gcv.e(c0463Hc, "");
C14957gcv.e(c3109arM, "");
sts.y();
Integer num = c0463Hc.t;
C14957gcv.c(num, "");
int intValue = num.intValue();
String str2 = c0463Hc.f8197o;
C14957gcv.c((Object) str2, "");
zEC zec = new zEC(str, intValue, str2);
C15641hP c15641hP = c3109arM.b;
IeS ieS = new IeS(sts, c3109arM, c0463Hc);
LWm lWm = new LWm(sts, c3109arM);
C14957gcv.e(zec, "");
C14957gcv.e(ieS, "");
C14957gcv.e(lWm, "");
c15641hP.f.e(ieS, lWm, new YGF.RVV(zec), new C15641hP.HBt(c15641hP), c15641hP.a);
}
public static /* synthetic */ void g(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String d = c0463Hc.d();
if (d != null) {
sts.h(d);
}
}
public static /* synthetic */ void j(C0463Hc c0463Hc, InterfaceC9040dcH.Sts sts) {
C14957gcv.e(c0463Hc, "");
String str = c0463Hc.p;
if (str != null) {
sts.b(str);
}
}
public static final /* synthetic */ void a(final C3109arM c3109arM, final C0463Hc c0463Hc, final C0489Ht c0489Ht) {
ZI.IeS ieS = new ZI.IeS(c0463Hc, c0489Ht, c3109arM) { // from class: o.ase
private C0463Hc c;
private C0489Ht d;
private C3109arM e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3109arM.d(this.c, this.d, this.e, (InterfaceC9040dcH.Sts) obj);
}
{
this.c = c0463Hc;
this.d = c0489Ht;
this.e = c3109arM;
}
};
if (c3109arM.f != 0) {
ieS.e(c3109arM.f);
}
}
}