577 lines
18 KiB
Java
577 lines
18 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.errors.RetrofitException;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C1171Xc;
|
|
import o.C15715hv;
|
|
import o.C7210cjw;
|
|
import o.InterfaceC9477dkV;
|
|
import o.ZI;
|
|
|
|
/* renamed from: o.cjw, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C7210cjw extends ZI<InterfaceC9477dkV.RVV> {
|
|
public double a;
|
|
public final C15863jI b;
|
|
public double c;
|
|
public double d;
|
|
public TI e;
|
|
private final C17620yO g;
|
|
private WW h;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C7210cjw(C16903sI c16903sI, C15863jI c15863jI, C17620yO c17620yO) {
|
|
super(c16903sI);
|
|
C14957gcv.e(c16903sI, "");
|
|
C14957gcv.e(c15863jI, "");
|
|
C14957gcv.e(c17620yO, "");
|
|
this.b = c15863jI;
|
|
this.g = c17620yO;
|
|
}
|
|
|
|
/* renamed from: o.cjw$IeS */
|
|
/* loaded from: classes4.dex */
|
|
public static final class IeS {
|
|
private IeS() {
|
|
}
|
|
|
|
public /* synthetic */ IeS(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cjw$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<HNz, C14866gag> {
|
|
private C7210cjw e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(HNz hNz) {
|
|
HNz hNz2 = hNz;
|
|
C14957gcv.e(hNz2, "");
|
|
this.e.d = hNz2.l.doubleValue();
|
|
C7210cjw c7210cjw = this.e;
|
|
c7210cjw.a(c7210cjw.h);
|
|
final C7210cjw c7210cjw2 = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(c7210cjw2) { // from class: o.cjQ
|
|
private C7210cjw b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.RVV.e(this.b, (InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c7210cjw2;
|
|
}
|
|
};
|
|
if (c7210cjw2.f != 0) {
|
|
ieS.e(c7210cjw2.f);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7210cjw c7210cjw, InterfaceC9477dkV.RVV rvv) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
rvv.aq_();
|
|
C17620yO unused = c7210cjw.g;
|
|
rvv.a(C17620yO.e(c7210cjw.d));
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public RVV(C7210cjw c7210cjw) {
|
|
super(1);
|
|
this.e = c7210cjw;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cjw$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C7210cjw d;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
C7210cjw c7210cjw = this.d;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjR
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.Sts.c((InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
return C14866gag.c;
|
|
}
|
|
|
|
public static /* synthetic */ void c(InterfaceC9477dkV.RVV rvv) {
|
|
rvv.aq_();
|
|
rvv.f();
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public Sts(C7210cjw c7210cjw) {
|
|
super(1);
|
|
this.d = c7210cjw;
|
|
}
|
|
}
|
|
|
|
public final boolean c(double d, double d2) {
|
|
if (d > d2) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjI
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.d((InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
return d > d2;
|
|
}
|
|
|
|
public final boolean e(double d, double d2) {
|
|
if (d > d2 && d2 > 0.0d) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjE
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.c((InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
return d > d2 && d2 > 0.0d;
|
|
}
|
|
|
|
/* renamed from: o.cjw$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<C3178asc, C14866gag> {
|
|
private C7210cjw b;
|
|
private String e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(C3178asc c3178asc) {
|
|
C3178asc c3178asc2 = c3178asc;
|
|
C14957gcv.e(c3178asc2, "");
|
|
C7210cjw.d(this.b, c3178asc2, this.e);
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public HBt(C7210cjw c7210cjw, String str) {
|
|
super(1);
|
|
this.b = c7210cjw;
|
|
this.e = str;
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cjw$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
|
|
private C7210cjw d;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ C14866gag invoke(Throwable th) {
|
|
Throwable th2 = th;
|
|
C14957gcv.e(th2, "");
|
|
C7210cjw.d(this.d, th2);
|
|
return C14866gag.c;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public LWm(C7210cjw c7210cjw) {
|
|
super(1);
|
|
this.d = c7210cjw;
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(InterfaceC9477dkV.RVV rvv) {
|
|
rvv.g();
|
|
rvv.j();
|
|
rvv.e();
|
|
}
|
|
|
|
public static /* synthetic */ void a(C7210cjw c7210cjw) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjF
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9477dkV.RVV) obj).h();
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7210cjw c7210cjw, Throwable th) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
C14957gcv.e(th, "");
|
|
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
|
|
if (c7210cjw.b(th)) {
|
|
c7210cjw.d(c7210cjw.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(InterfaceC9477dkV.RVV rvv) {
|
|
rvv.g();
|
|
rvv.i();
|
|
rvv.e();
|
|
}
|
|
|
|
public static /* synthetic */ void d(C7210cjw c7210cjw) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
if (c7210cjw.f != 0) {
|
|
c7210cjw.f.y();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(final C7210cjw c7210cjw, final C3178asc c3178asc, String str, InterfaceC9477dkV.RVV rvv) {
|
|
double d;
|
|
String str2;
|
|
String str3;
|
|
C14851gaI c14851gaI;
|
|
List<jSX> list;
|
|
double d2;
|
|
String str4;
|
|
XL xl;
|
|
C14957gcv.e(c7210cjw, "");
|
|
C14957gcv.e(c3178asc, "");
|
|
rvv.ar_();
|
|
C17620yO c17620yO = c7210cjw.g;
|
|
TI ti = c7210cjw.e;
|
|
if (ti == null) {
|
|
C14957gcv.a("");
|
|
ti = null;
|
|
}
|
|
C14957gcv.e(ti, "");
|
|
C14957gcv.e(c3178asc, "");
|
|
String str5 = c3178asc.b;
|
|
String str6 = ti.a;
|
|
String str7 = ti.c;
|
|
String str8 = ti.h;
|
|
String str9 = ti.i;
|
|
String str10 = ti.m;
|
|
String str11 = str10 == null ? "" : str10;
|
|
String str12 = ti.f8372o;
|
|
String str13 = str12 == null ? "" : str12;
|
|
String str14 = ti.l;
|
|
String str15 = str14 == null ? "" : str14;
|
|
String str16 = ti.n;
|
|
String str17 = str16 == null ? "" : str16;
|
|
double d3 = ti.j;
|
|
XH xh = ti.f;
|
|
double d4 = c3178asc.f;
|
|
double d5 = c3178asc.d;
|
|
String str18 = c3178asc.a;
|
|
String str19 = c3178asc.g;
|
|
Jky jky = c3178asc.c;
|
|
if (jky == null || (list = jky.e) == null) {
|
|
d = d5;
|
|
str2 = str18;
|
|
str3 = str19;
|
|
c14851gaI = null;
|
|
} else {
|
|
str3 = str19;
|
|
ArrayList arrayList = new ArrayList();
|
|
Iterator it = list.iterator();
|
|
while (it.hasNext()) {
|
|
Iterator it2 = it;
|
|
jSX jsx = (jSX) it.next();
|
|
if (jsx != null) {
|
|
str4 = str18;
|
|
d2 = d5;
|
|
xl = new XL(jsx.f, jsx.i, jsx.d, jsx.c, jsx.e, jsx.b);
|
|
} else {
|
|
d2 = d5;
|
|
str4 = str18;
|
|
xl = null;
|
|
}
|
|
if (xl != null) {
|
|
arrayList.add(xl);
|
|
}
|
|
str18 = str4;
|
|
it = it2;
|
|
d5 = d2;
|
|
}
|
|
d = d5;
|
|
str2 = str18;
|
|
c14851gaI = C14881gav.d((Iterable) arrayList);
|
|
}
|
|
if (c14851gaI == null) {
|
|
c14851gaI = C14851gaI.c;
|
|
}
|
|
final TJ tj = new TJ(str5, str6, str7, str8, str9, str11, str13, str15, str17, d3, xh, d4, d, str2, str3, new TO(c14851gaI), str);
|
|
if (C14957gcv.b((Object) c3178asc.e.a, (Object) "9003")) {
|
|
ZI.IeS ieS = new ZI.IeS(c7210cjw, c3178asc, tj) { // from class: o.cjM
|
|
private C7210cjw b;
|
|
private TJ c;
|
|
private C3178asc e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.e(this.b, this.e, this.c, (InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c7210cjw;
|
|
this.e = c3178asc;
|
|
this.c = tj;
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
rvv.d(tj);
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7210cjw c7210cjw, C3178asc c3178asc, final TJ tj, final InterfaceC9477dkV.RVV rvv) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
C14957gcv.e(c3178asc, "");
|
|
C14957gcv.e(tj, "");
|
|
c7210cjw.d(c7210cjw.j.b(c3178asc.e.b, c3178asc.e.d, C15715hv.tOB.proceed, C15715hv.tOB.cancel, new Runnable(rvv, tj) { // from class: o.cjS
|
|
private InterfaceC9477dkV.RVV b;
|
|
private TJ d;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7210cjw.e(this.b, this.d);
|
|
}
|
|
|
|
{
|
|
this.b = rvv;
|
|
this.d = tj;
|
|
}
|
|
}, new Runnable() { // from class: o.cjT
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C0690Mh.IeS.JUST_DISMISS;
|
|
}
|
|
}));
|
|
}
|
|
|
|
public final void a(WW ww) {
|
|
this.h = ww;
|
|
Double d = ww != null ? ww.d : null;
|
|
this.c = d == null ? 0.0d : d.doubleValue();
|
|
TI ti = this.e;
|
|
if (ti == null) {
|
|
C14957gcv.a("");
|
|
ti = null;
|
|
}
|
|
String str = ww != null ? ww.h : null;
|
|
if (str == null) {
|
|
str = "";
|
|
} else {
|
|
C14957gcv.c((Object) str, "");
|
|
}
|
|
C14957gcv.e(str, "");
|
|
ti.b = str;
|
|
String str2 = ww != null ? ww.s : null;
|
|
if (str2 == null) {
|
|
str2 = "";
|
|
} else {
|
|
C14957gcv.c((Object) str2, "");
|
|
}
|
|
C14957gcv.e(str2, "");
|
|
ti.a = str2;
|
|
if (c(this.a, this.c) || e(this.a, this.d)) {
|
|
return;
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjA
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.a((InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(TI ti, InterfaceC9477dkV.RVV rvv) {
|
|
String str;
|
|
String str2;
|
|
C14957gcv.e(ti, "");
|
|
C1171Xc.IeS ieS = new C1171Xc.IeS(YE.TRANSFER_FUNCTION);
|
|
C1171Xc c1171Xc = ieS.c;
|
|
c1171Xc.a = false;
|
|
c1171Xc.b = true;
|
|
c1171Xc.j = true;
|
|
c1171Xc.g = true;
|
|
ieS.c.g = false;
|
|
ieS.c.j = false;
|
|
ieS.c.b = false;
|
|
ieS.c.c = 4;
|
|
rvv.a(ieS.c);
|
|
rvv.d(ti);
|
|
rvv.c(ti.g);
|
|
String str3 = ti.m;
|
|
if (str3 == null || str3.length() == 0 || (str2 = ti.f8372o) == null || str2.length() == 0) {
|
|
rvv.d();
|
|
}
|
|
String str4 = ti.l;
|
|
if (str4 == null || str4.length() == 0 || (str = ti.n) == null || str.length() == 0) {
|
|
rvv.a();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(InterfaceC9477dkV.RVV rvv) {
|
|
rvv.c();
|
|
rvv.b();
|
|
}
|
|
|
|
public static /* synthetic */ void e(InterfaceC9477dkV.RVV rvv, TJ tj) {
|
|
C14957gcv.e(tj, "");
|
|
rvv.d(tj);
|
|
}
|
|
|
|
public static /* synthetic */ void b(C7210cjw c7210cjw) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjG
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9477dkV.RVV) obj).h();
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void d(final C7210cjw c7210cjw, final C3178asc c3178asc, final String str) {
|
|
ZI.IeS ieS = new ZI.IeS(c7210cjw, c3178asc, str) { // from class: o.cjC
|
|
private String b;
|
|
private C3178asc d;
|
|
private C7210cjw e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.a(this.e, this.d, this.b, (InterfaceC9477dkV.RVV) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c7210cjw;
|
|
this.d = c3178asc;
|
|
this.b = str;
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7210cjw c7210cjw) {
|
|
C14957gcv.e(c7210cjw, "");
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjz
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9477dkV.RVV) obj).h();
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void d(final C7210cjw c7210cjw, final Throwable th) {
|
|
C14866gag c14866gag;
|
|
ggV ggv;
|
|
if (th instanceof RetrofitException) {
|
|
VCl vCl = ((RetrofitException) th).e;
|
|
if (vCl == null || (ggv = vCl.c) == null) {
|
|
c14866gag = null;
|
|
} else {
|
|
String str = ggv.e;
|
|
if (C14957gcv.b((Object) str, (Object) "3013") || C14957gcv.b((Object) str, (Object) "3017")) {
|
|
ZI.IeS ieS = new ZI.IeS(c7210cjw, th) { // from class: o.cjO
|
|
private C7210cjw a;
|
|
private Throwable e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7210cjw.e(this.a, this.e);
|
|
}
|
|
|
|
{
|
|
this.a = c7210cjw;
|
|
this.e = th;
|
|
}
|
|
};
|
|
if (c7210cjw.f != 0) {
|
|
ieS.e(c7210cjw.f);
|
|
}
|
|
} else {
|
|
Runnable runnable = new Runnable(c7210cjw) { // from class: o.cjN
|
|
private C7210cjw d;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7210cjw.a(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = c7210cjw;
|
|
}
|
|
};
|
|
if (c7210cjw.b(th)) {
|
|
c7210cjw.d(c7210cjw.j.c(th, runnable));
|
|
}
|
|
}
|
|
c14866gag = C14866gag.c;
|
|
}
|
|
if (c14866gag == null) {
|
|
Runnable runnable2 = new Runnable(c7210cjw) { // from class: o.cjJ
|
|
private C7210cjw b;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7210cjw.b(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = c7210cjw;
|
|
}
|
|
};
|
|
if (c7210cjw.b(th)) {
|
|
c7210cjw.d(c7210cjw.j.c(th, runnable2));
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
Runnable runnable3 = new Runnable(c7210cjw) { // from class: o.cjP
|
|
private C7210cjw e;
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
C7210cjw.e(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = c7210cjw;
|
|
}
|
|
};
|
|
if (c7210cjw.b(th)) {
|
|
c7210cjw.d(c7210cjw.j.c(th, runnable3));
|
|
}
|
|
}
|
|
|
|
static {
|
|
new IeS((byte) 0);
|
|
}
|
|
}
|