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

375 lines
13 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.C15715hv;
import o.C17442wnT;
import o.C6475cTz;
import o.InterfaceC9618dnD;
import o.ZI;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.cTz, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C6475cTz extends ZI<InterfaceC9618dnD.IeS> {
public double a;
public double b;
public C1214Yd c;
public final C15656hY d;
public WW e;
public String g;
private final mSw h;
public String i;
private final C16455oX l;
private final C16599pc m;
private C1218Yf n;
public static boolean c(WW ww, double d, double d2) {
return ww != null && d > 0.0d && d2 > 0.0d;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6475cTz(C15656hY c15656hY, C16455oX c16455oX, C16599pc c16599pc, mSw msw, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15656hY, "");
C14957gcv.e(c16455oX, "");
C14957gcv.e(c16599pc, "");
C14957gcv.e(msw, "");
C14957gcv.e(c16903sI, "");
this.d = c15656hY;
this.l = c16455oX;
this.m = c16599pc;
this.h = msw;
this.i = "";
this.g = "";
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cTz$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6475cTz e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
final C6475cTz c6475cTz = this.e;
ZI.IeS ieS = new ZI.IeS(c6475cTz, th2) { // from class: o.cTK
private C6475cTz a;
private Throwable c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6475cTz.IeS.d(this.a, this.c, (InterfaceC9618dnD.IeS) obj);
}
{
this.a = c6475cTz;
this.c = th2;
}
};
if (c6475cTz.f != 0) {
ieS.e(c6475cTz.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C6475cTz c6475cTz, Throwable th, final InterfaceC9618dnD.IeS ieS) {
C14957gcv.e(c6475cTz, "");
C14957gcv.e(th, "");
C6475cTz.a(c6475cTz, th, new Runnable(ieS) { // from class: o.cTJ
private InterfaceC9618dnD.IeS a;
@Override // java.lang.Runnable
public final void run() {
this.a.c();
}
{
this.a = ieS;
}
});
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C6475cTz c6475cTz) {
super(1);
this.e = c6475cTz;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cTz$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C11830emj, C14866gag> {
private C6475cTz c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C11830emj c11830emj) {
C11830emj c11830emj2 = c11830emj;
C14957gcv.e(c11830emj2, "");
C6475cTz.j(this.c);
this.c.b = c11830emj2.j;
this.c.a = c11830emj2.p;
C6475cTz c6475cTz = this.c;
String str = c11830emj2.q;
C14957gcv.e(str, "");
c6475cTz.i = str;
C6475cTz c6475cTz2 = this.c;
C16455oX c16455oX = c6475cTz2.l;
C14957gcv.e(c11830emj2, "");
String str2 = c11830emj2.l;
String str3 = c11830emj2.k;
String str4 = c11830emj2.f9051o;
String str5 = c11830emj2.b;
String str6 = c11830emj2.e;
double d = c11830emj2.j;
double d2 = c11830emj2.p;
double d3 = c11830emj2.g;
OffsetDateTime offsetDateTime = c11830emj2.s;
String str7 = c11830emj2.n;
String b_ = c16455oX.b_(c11830emj2.c);
String b_2 = c16455oX.b_(c11830emj2.m);
String str8 = c11830emj2.i;
boolean z = c11830emj2.a;
String str9 = (String) C6583cXR.c(new Object[]{Double.valueOf(c11830emj2.t)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str9, "");
String str10 = (String) C6583cXR.c(new Object[]{Double.valueOf(c11830emj2.f)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str10, "");
C1214Yd c1214Yd = new C1214Yd(str2, str3, str4, str5, str6, d, d2, d3, offsetDateTime, str7, b_, b_2, str8, z, str9, str10, c11830emj2.h, c11830emj2.d, c11830emj2.q);
C14957gcv.e(c1214Yd, "");
c6475cTz2.c = c1214Yd;
final C6475cTz c6475cTz3 = this.c;
ZI.IeS ieS = new ZI.IeS(c6475cTz3) { // from class: o.cTF
private C6475cTz b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6475cTz.RVV.a(this.b, (InterfaceC9618dnD.IeS) obj);
}
{
this.b = c6475cTz3;
}
};
if (c6475cTz3.f != 0) {
ieS.e(c6475cTz3.f);
}
return C14866gag.c;
}
public static /* synthetic */ void a(C6475cTz c6475cTz, InterfaceC9618dnD.IeS ieS) {
C14957gcv.e(c6475cTz, "");
C1214Yd c1214Yd = c6475cTz.c;
if (c1214Yd == null) {
C14957gcv.a("");
c1214Yd = null;
}
ieS.a(c1214Yd);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C6475cTz c6475cTz) {
super(1);
this.c = c6475cTz;
}
}
/* renamed from: o.cTz$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6475cTz e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C6475cTz.a(this.e, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C6475cTz c6475cTz) {
super(1);
this.e = c6475cTz;
}
}
/* renamed from: o.cTz$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<ULs, C14866gag> {
private double a;
private String c;
private double d;
private C6475cTz e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(ULs uLs) {
ULs uLs2 = uLs;
C14957gcv.e(uLs2, "");
C6475cTz.j(this.e);
C6475cTz c6475cTz = this.e;
C16599pc unused = c6475cTz.m;
C1214Yd c1214Yd = this.e.c;
if (c1214Yd == null) {
C14957gcv.a("");
c1214Yd = null;
}
boolean T = this.e.h.b.T();
WW ww = this.e.e;
String str = ww != null ? ww.t : null;
if (str == null) {
str = "";
}
double d = this.a;
double d2 = this.d;
String str2 = this.c;
C14957gcv.e(c1214Yd, "");
C14957gcv.e(uLs2, "");
C14957gcv.e(str, "");
String obj = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
C14957gcv.c((Object) obj, "");
String str3 = uLs2.c;
String str4 = (String) C16157lj.c(new Object[]{str, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
C14957gcv.c((Object) str4, "");
C1216Ye c1216Ye = new C1216Ye(obj, str3, str, str4);
C1221Yh c1221Yh = new C1221Yh(c1214Yd.m, c1214Yd.j, c1214Yd.f);
String str5 = uLs2.d;
String str6 = c1214Yd.e;
String str7 = (String) C6583cXR.c(new Object[]{Double.valueOf(d)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str7, "");
String str8 = c1214Yd.g;
String str9 = (String) C6583cXR.c(new Object[]{Double.valueOf(uLs2.b)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str9, "");
String str10 = (String) C6583cXR.c(new Object[]{Double.valueOf(d2)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str10, "");
String str11 = (String) C6583cXR.c(new Object[]{Double.valueOf(uLs2.a)}, -150997759, 150997764, (int) System.currentTimeMillis());
C14957gcv.c((Object) str11, "");
c6475cTz.n = new C1218Yf(str5, c1216Ye, c1221Yh, str6, str7, str8, str9, str10, str11, str2);
final C6475cTz c6475cTz2 = this.e;
ZI.IeS ieS = new ZI.IeS(c6475cTz2) { // from class: o.cTH
private C6475cTz e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C6475cTz.Sts.c(this.e, (InterfaceC9618dnD.IeS) obj2);
}
{
this.e = c6475cTz2;
}
};
if (c6475cTz2.f != 0) {
ieS.e(c6475cTz2.f);
}
return C14866gag.c;
}
public static /* synthetic */ void c(C6475cTz c6475cTz, InterfaceC9618dnD.IeS ieS) {
C14957gcv.e(c6475cTz, "");
C1218Yf c1218Yf = c6475cTz.n;
if (c1218Yf == null) {
C14957gcv.a("");
c1218Yf = null;
}
ieS.d(c1218Yf);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C6475cTz c6475cTz, double d, double d2, String str) {
super(1);
this.e = c6475cTz;
this.a = d;
this.d = d2;
this.c = str;
}
}
@Override // o.ZI
public final void w_() {
this.d.a();
super.w_();
}
public static /* synthetic */ void c(C6475cTz c6475cTz) {
C14957gcv.e(c6475cTz, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cTC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9618dnD.IeS) obj).c();
}
};
if (c6475cTz.f != 0) {
ieS.e(c6475cTz.f);
}
}
public static /* synthetic */ void d(C6475cTz c6475cTz, InterfaceC9618dnD.IeS ieS) {
C14957gcv.e(c6475cTz, "");
ieS.c(c6475cTz.e != null && c6475cTz.b > 0.0d && c6475cTz.a > 0.0d);
}
public static /* synthetic */ void c(C6475cTz c6475cTz, double d, double d2, InterfaceC9618dnD.IeS ieS) {
C14957gcv.e(c6475cTz, "");
ieS.c(c6475cTz.e != null && d > 0.0d && d2 > 0.0d);
}
public static final /* synthetic */ void a(final C6475cTz c6475cTz, Throwable th) {
ggV ggv;
if (th instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th).e;
if (C14957gcv.b((Object) "3007", (Object) ((vCl == null || (ggv = vCl.c) == null) ? null : ggv.e))) {
Runnable runnable = new Runnable(c6475cTz) { // from class: o.cTB
private C6475cTz c;
@Override // java.lang.Runnable
public final void run() {
C6475cTz.c(this.c);
}
{
this.c = c6475cTz;
}
};
if (c6475cTz.b(th)) {
c6475cTz.d(c6475cTz.j.c(th, runnable));
return;
}
return;
}
}
if (c6475cTz.b(th)) {
c6475cTz.d(c6475cTz.j.e(th));
}
}
public static final /* synthetic */ void j(C6475cTz c6475cTz) {
if (c6475cTz.f != 0) {
c6475cTz.f.ar_();
}
}
public static final /* synthetic */ void a(C6475cTz c6475cTz, Throwable th, Runnable runnable) {
if (c6475cTz.b(th)) {
c6475cTz.d(c6475cTz.j.c(th, runnable));
}
}
public final void c(String str) {
C14957gcv.e(str, "");
this.g = str;
if (this.f != 0) {
this.f.y();
}
C15656hY c15656hY = this.d;
RVV rvv = new RVV(this);
IeS ieS = new IeS(this);
uyA uya = new uyA(str);
C14957gcv.e(rvv, "");
C14957gcv.e(ieS, "");
C14957gcv.e(uya, "");
c15656hY.b(c15656hY.b, rvv, ieS, new C17442wnT.IeS(uya));
}
}