582 lines
19 KiB
Java
582 lines
19 KiB
Java
package o;
|
|
|
|
import android.text.TextUtils;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C15715hv;
|
|
import o.C2700ajZ;
|
|
import o.InterfaceC6636cYn;
|
|
import o.InterfaceC9010dbe;
|
|
import o.PRA;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
import org.threeten.bp.OffsetDateTime;
|
|
|
|
/* renamed from: o.ajZ */
|
|
/* loaded from: classes3.dex */
|
|
public class C2700ajZ extends ZI<InterfaceC6636cYn.IeS> {
|
|
public FT a;
|
|
public wzu b;
|
|
public String c;
|
|
public boolean d;
|
|
public final iNh e;
|
|
public HNz g;
|
|
public HNz h;
|
|
public HNz i;
|
|
public VN k;
|
|
private final C16282mx m;
|
|
private final C16206mK n;
|
|
|
|
/* renamed from: o */
|
|
private final C17361wD f8521o;
|
|
|
|
static /* synthetic */ void a(C2700ajZ c2700ajZ, String str, String str2) {
|
|
c2700ajZ.d(c2700ajZ.j.c(str, str2, C0690Mh.IeS.JUST_DISMISS));
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C2700ajZ(C16903sI c16903sI, iNh inh, C16282mx c16282mx, C17361wD c17361wD, C16206mK c16206mK) {
|
|
super(c16903sI);
|
|
this.e = inh;
|
|
this.m = c16282mx;
|
|
this.f8521o = c17361wD;
|
|
this.n = c16206mK;
|
|
}
|
|
|
|
/* renamed from: o.ajZ$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public final class RVV extends wRi.LWm<wzu> {
|
|
private C2700ajZ c;
|
|
|
|
private RVV(C2700ajZ c2700ajZ) {
|
|
this.c = c2700ajZ;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
wzu wzuVar = (wzu) obj;
|
|
if (this.c.f != 0) {
|
|
C2700ajZ.g(this.c);
|
|
C16282mx c16282mx = this.c.m;
|
|
boolean T = this.c.e.c.T();
|
|
FT ft = new FT((String) wzu.a(new Object[]{wzuVar}, 1360568584, -1360568584, System.identityHashCode(wzuVar)), c16282mx.b(wzuVar.g(), T), c16282mx.b(wzuVar.i(), T), c16282mx.b((List<C17728zKJ>) wzu.a(new Object[]{wzuVar}, 365568026, -365568025, System.identityHashCode(wzuVar)), T), C16282mx.c(Double.valueOf(wzuVar.j())), wzuVar.b() > 0);
|
|
this.c.a = ft;
|
|
this.c.b = wzuVar;
|
|
C2700ajZ c2700ajZ = this.c;
|
|
ZI.IeS ieS = new ZI.IeS(ft) { // from class: o.akx
|
|
private FT b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6636cYn.IeS) obj2).c(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = ft;
|
|
}
|
|
};
|
|
if (c2700ajZ.f != 0) {
|
|
ieS.e(c2700ajZ.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C2700ajZ.b(this.c, th, C0690Mh.IeS.NAVIGATE_BACK);
|
|
}
|
|
|
|
/* synthetic */ RVV(C2700ajZ c2700ajZ, byte b) {
|
|
this(c2700ajZ);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.ajZ$Sts */
|
|
/* loaded from: classes3.dex */
|
|
public final class Sts extends wRi.LWm<HNz> {
|
|
private C2700ajZ b;
|
|
private final String e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
char c;
|
|
HNz hNz = (HNz) obj;
|
|
String str = this.e;
|
|
str.hashCode();
|
|
int hashCode = str.hashCode();
|
|
if (hashCode == 78694) {
|
|
if (str.equals("OWN")) {
|
|
c = 0;
|
|
}
|
|
c = 65535;
|
|
} else if (hashCode != 81906) {
|
|
if (hashCode == 75532016 && str.equals("OTHER")) {
|
|
c = 2;
|
|
}
|
|
c = 65535;
|
|
} else {
|
|
if (str.equals("SCB")) {
|
|
c = 1;
|
|
}
|
|
c = 65535;
|
|
}
|
|
if (c == 0) {
|
|
this.b.g = hNz;
|
|
C2700ajZ c2700ajZ = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(this, hNz) { // from class: o.akv
|
|
private C2700ajZ.Sts b;
|
|
private HNz d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
InterfaceC6636cYn.IeS ieS2 = (InterfaceC6636cYn.IeS) obj2;
|
|
ieS2.e(this.b.b.f8521o.b(this.d));
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.d = hNz;
|
|
}
|
|
};
|
|
if (c2700ajZ.f != 0) {
|
|
ieS.e(c2700ajZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c == 1) {
|
|
this.b.h = hNz;
|
|
C2700ajZ c2700ajZ2 = this.b;
|
|
ZI.IeS ieS2 = new ZI.IeS(this, hNz) { // from class: o.akt
|
|
private C2700ajZ.Sts b;
|
|
private HNz e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
InterfaceC6636cYn.IeS ieS3 = (InterfaceC6636cYn.IeS) obj2;
|
|
ieS3.a(this.b.b.f8521o.b(this.e));
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.e = hNz;
|
|
}
|
|
};
|
|
if (c2700ajZ2.f != 0) {
|
|
ieS2.e(c2700ajZ2.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c != 2) {
|
|
return;
|
|
}
|
|
this.b.i = hNz;
|
|
C2700ajZ c2700ajZ3 = this.b;
|
|
ZI.IeS ieS3 = new ZI.IeS(this, hNz) { // from class: o.aks
|
|
private HNz a;
|
|
private C2700ajZ.Sts d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
InterfaceC6636cYn.IeS ieS4 = (InterfaceC6636cYn.IeS) obj2;
|
|
ieS4.d(this.d.b.f8521o.b(this.a));
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
this.a = hNz;
|
|
}
|
|
};
|
|
if (c2700ajZ3.f != 0) {
|
|
ieS3.e(c2700ajZ3.f);
|
|
}
|
|
}
|
|
|
|
private Sts(C2700ajZ c2700ajZ, String str) {
|
|
this.b = c2700ajZ;
|
|
this.e = str;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
char c;
|
|
String str = this.e;
|
|
str.hashCode();
|
|
int hashCode = str.hashCode();
|
|
if (hashCode == 78694) {
|
|
if (str.equals("OWN")) {
|
|
c = 0;
|
|
}
|
|
c = 65535;
|
|
} else if (hashCode != 81906) {
|
|
if (hashCode == 75532016 && str.equals("OTHER")) {
|
|
c = 2;
|
|
}
|
|
c = 65535;
|
|
} else {
|
|
if (str.equals("SCB")) {
|
|
c = 1;
|
|
}
|
|
c = 65535;
|
|
}
|
|
if (c == 0) {
|
|
C2700ajZ c2700ajZ = this.b;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.akr
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6636cYn.IeS) obj).e();
|
|
}
|
|
};
|
|
if (c2700ajZ.f != 0) {
|
|
ieS.e(c2700ajZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c == 1) {
|
|
C2700ajZ c2700ajZ2 = this.b;
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aku
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6636cYn.IeS) obj).d();
|
|
}
|
|
};
|
|
if (c2700ajZ2.f != 0) {
|
|
ieS2.e(c2700ajZ2.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c != 2) {
|
|
return;
|
|
}
|
|
C2700ajZ c2700ajZ3 = this.b;
|
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.akw
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6636cYn.IeS) obj).c();
|
|
}
|
|
};
|
|
if (c2700ajZ3.f != 0) {
|
|
ieS3.e(c2700ajZ3.f);
|
|
}
|
|
}
|
|
|
|
/* synthetic */ Sts(C2700ajZ c2700ajZ, String str, byte b) {
|
|
this(c2700ajZ, str);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.ajZ$IeS */
|
|
/* loaded from: classes3.dex */
|
|
public final class IeS extends wRi.LWm<lvU> {
|
|
private BSx a;
|
|
private C2700ajZ e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
lvU lvu = (lvU) obj;
|
|
if (lvu.f) {
|
|
C2700ajZ c2700ajZ = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, lvu) { // from class: o.aky
|
|
private C2700ajZ.IeS b;
|
|
private lvU e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C2700ajZ.IeS.c(this.b, this.e, (InterfaceC6636cYn.IeS) obj2);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.e = lvu;
|
|
}
|
|
};
|
|
if (c2700ajZ.f != 0) {
|
|
ieS.e(c2700ajZ.f);
|
|
}
|
|
} else if ("7777".equals(lvu.d)) {
|
|
C2700ajZ.a(this.e, lvu.g, lvu.a);
|
|
C16282mx c16282mx = this.e.m;
|
|
FT ft = this.e.a;
|
|
List<FV> list = ft.c;
|
|
new YKU(list).d(new qsu(c16282mx, lvu.m) { // from class: o.my
|
|
private List b;
|
|
private C16282mx c;
|
|
|
|
@Override // o.qsu
|
|
public final void d(Object obj2) {
|
|
C16282mx.a(this.c, this.b, (FV) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = c16282mx;
|
|
this.b = r2;
|
|
}
|
|
});
|
|
ft.c = list;
|
|
List<FV> list2 = ft.f;
|
|
new YKU(list2).d(new qsu(c16282mx, lvu.k) { // from class: o.my
|
|
private List b;
|
|
private C16282mx c;
|
|
|
|
@Override // o.qsu
|
|
public final void d(Object obj2) {
|
|
C16282mx.a(this.c, this.b, (FV) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = c16282mx;
|
|
this.b = r2;
|
|
}
|
|
});
|
|
ft.f = list2;
|
|
List<FV> list3 = ft.b;
|
|
new YKU(list3).d(new qsu(c16282mx, lvu.i) { // from class: o.my
|
|
private List b;
|
|
private C16282mx c;
|
|
|
|
@Override // o.qsu
|
|
public final void d(Object obj2) {
|
|
C16282mx.a(this.c, this.b, (FV) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = c16282mx;
|
|
this.b = r2;
|
|
}
|
|
});
|
|
ft.b = list3;
|
|
ft.h = C16282mx.c(Double.valueOf(lvu.n));
|
|
C2700ajZ c2700ajZ2 = this.e;
|
|
ZI.IeS ieS2 = new ZI.IeS(ft) { // from class: o.akA
|
|
private FT a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6636cYn.IeS) obj2).c(this.a);
|
|
}
|
|
|
|
{
|
|
this.a = ft;
|
|
}
|
|
};
|
|
if (c2700ajZ2.f != 0) {
|
|
ieS2.e(c2700ajZ2.f);
|
|
}
|
|
C2700ajZ c2700ajZ3 = this.e;
|
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.akz
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6636cYn.IeS) obj2).d(false);
|
|
}
|
|
};
|
|
if (c2700ajZ3.f != 0) {
|
|
ieS3.e(c2700ajZ3.f);
|
|
}
|
|
} else {
|
|
C2700ajZ.j(this.e);
|
|
C2700ajZ c2700ajZ4 = this.e;
|
|
C2732akE c2732akE = new C2732akE(this, lvu);
|
|
if (c2700ajZ4.f != 0) {
|
|
c2732akE.e(c2700ajZ4.f);
|
|
}
|
|
}
|
|
this.e.d = false;
|
|
}
|
|
|
|
public IeS(C2700ajZ c2700ajZ, BSx bSx) {
|
|
this.e = c2700ajZ;
|
|
this.a = bSx;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.e.i(th)) {
|
|
return;
|
|
}
|
|
C2700ajZ.b(this.e, th);
|
|
this.e.d = false;
|
|
}
|
|
|
|
public static /* synthetic */ void a(IeS ieS, lvU lvu) {
|
|
C2700ajZ c2700ajZ = ieS.e;
|
|
C2732akE c2732akE = new C2732akE(ieS, lvu);
|
|
if (c2700ajZ.f != 0) {
|
|
c2732akE.e(c2700ajZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(IeS ieS, lvU lvu, InterfaceC6636cYn.IeS ieS2) {
|
|
C16206mK c16206mK = ieS.e.n;
|
|
FT ft = ieS.e.a;
|
|
VN vn = ieS.e.k;
|
|
BSx bSx = ieS.a;
|
|
boolean T = ieS.e.e.c.T();
|
|
FR a = FR.a();
|
|
a.f = c16206mK.c(C15715hv.tOB.group_id, lvu.h);
|
|
a.g = lvu.j;
|
|
a.h = vn == null ? null : c16206mK.a.b("dd MMM yyyy", OffsetDateTime.parse(vn.b));
|
|
a.d = C6583cXR.VS_(null, C15715hv.IeS.bankicon_scb).toString();
|
|
a.b = lvu.c;
|
|
a.a = (String) C16157lj.c(new Object[]{bSx.e, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
|
|
a.c = bSx.e;
|
|
boolean z = vn != null;
|
|
ArrayList arrayList = new ArrayList();
|
|
arrayList.addAll(ft.c);
|
|
arrayList.addAll(ft.f);
|
|
arrayList.addAll(ft.b);
|
|
ArrayList arrayList2 = new ArrayList();
|
|
arrayList2.addAll(lvu.m);
|
|
arrayList2.addAll(lvu.k);
|
|
arrayList2.addAll(lvu.i);
|
|
YKU yku = new YKU(arrayList);
|
|
a.i = (List) new YKU(new Nfb(new YKU(yku.a, new GEP(yku.b, new C16205mJ())).b, new YKU(arrayList2).b, new InterfaceC15902jVZ(c16206mK, T, z) { // from class: o.mL
|
|
private boolean b;
|
|
private boolean d;
|
|
private C16206mK e;
|
|
|
|
@Override // o.InterfaceC15902jVZ
|
|
public final Object a(Object obj, Object obj2) {
|
|
return C16206mK.b(this.d, this.b, (FV) obj, (C16890sBt) obj2);
|
|
}
|
|
|
|
{
|
|
this.e = c16206mK;
|
|
this.d = T;
|
|
this.b = z;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
a.j = C16206mK.c(C6583cXR.c(lvu.b));
|
|
a.k = C16206mK.c(Double.valueOf(lvu.n));
|
|
a.l = C16206mK.c(C6583cXR.c(lvu.f9211o));
|
|
a.f8161o = lvu.l;
|
|
a.q = lvu.q;
|
|
a.p = lvu.s;
|
|
a.m = lvu.t;
|
|
ieS2.b(a);
|
|
}
|
|
|
|
public static /* synthetic */ void c(IeS ieS, lvU lvu, InterfaceC6636cYn.IeS ieS2) {
|
|
ieS2.ar_();
|
|
ieS2.e(lvu.g, lvu.a, new InterfaceC9010dbe.jbe.Sts(ieS, lvu) { // from class: o.akF
|
|
private C2700ajZ.IeS a;
|
|
private lvU b;
|
|
|
|
@Override // o.InterfaceC9010dbe.jbe.Sts
|
|
public final void c() {
|
|
C2700ajZ.IeS.a(this.a, this.b);
|
|
}
|
|
|
|
{
|
|
this.a = ieS;
|
|
this.b = lvu;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ LPp e(FV fv) {
|
|
LPp d = LPp.d();
|
|
d.d = fv.f;
|
|
d.e = C15602gz.e(C6583cXR.c(fv.c).doubleValue());
|
|
return d;
|
|
}
|
|
|
|
public static /* synthetic */ void e(C2700ajZ c2700ajZ, InterfaceC6636cYn.IeS ieS) {
|
|
C16282mx c16282mx = c2700ajZ.m;
|
|
YKU a = YKU.a(new YKU(c2700ajZ.a.c), YKU.a(new YKU(c2700ajZ.a.f), new YKU(c2700ajZ.a.b)));
|
|
YKU yku = new YKU(a.a, new GEP(a.b, new C16205mJ()));
|
|
YKU yku2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.akk
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return ((FV) obj).c;
|
|
}
|
|
}));
|
|
ieS.c(C16282mx.e(((Double) new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw() { // from class: o.akg
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return C6583cXR.c((String) obj);
|
|
}
|
|
})).d((YKU) Double.valueOf(0.0d), (InterfaceC15902jVZ<? super YKU, ? super T, ? extends YKU>) new fHT() { // from class: o.akj
|
|
@Override // o.InterfaceC15902jVZ
|
|
public final Object a(Object obj, Object obj2) {
|
|
Double valueOf;
|
|
valueOf = Double.valueOf(((Double) obj).doubleValue() + ((Double) obj2).doubleValue());
|
|
return valueOf;
|
|
}
|
|
})).doubleValue()));
|
|
}
|
|
|
|
static /* synthetic */ void b(C2700ajZ c2700ajZ, Throwable th, C0690Mh.IeS ieS) {
|
|
if (c2700ajZ.b(th)) {
|
|
c2700ajZ.d(c2700ajZ.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void g(C2700ajZ c2700ajZ) {
|
|
if (c2700ajZ.f != 0) {
|
|
c2700ajZ.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void b(C2700ajZ c2700ajZ, Throwable th) {
|
|
if (c2700ajZ.b(th)) {
|
|
c2700ajZ.d(c2700ajZ.j.e(th));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void j(C2700ajZ c2700ajZ) {
|
|
if (c2700ajZ.f != 0) {
|
|
c2700ajZ.f.ar_();
|
|
}
|
|
}
|
|
|
|
public final List<LPp> d(List<FV> list) {
|
|
YKU yku = new YKU(list);
|
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new C16205mJ()));
|
|
return (List) new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw(this) { // from class: o.akq
|
|
private C2700ajZ c;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return C2700ajZ.e((FV) obj);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
}
|
|
|
|
public static /* synthetic */ boolean c(FV fv) {
|
|
return fv.i && !TextUtils.isEmpty(fv.h);
|
|
}
|
|
|
|
public final void a(String str, String str2) {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.e.c(str, str2);
|
|
iNh inh = this.e;
|
|
inh.d(inh.i, new RVV(this, (byte) 0));
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.akb
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6636cYn.IeS) obj).j();
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
iNh inh2 = this.e;
|
|
inh2.d(inh2.e.b("TRANSFER", "OWN"), new Sts(this, "OWN", (byte) 0));
|
|
iNh inh3 = this.e;
|
|
inh3.d(inh3.e.b("TRANSFER", "SCB"), new Sts(this, "SCB", (byte) 0));
|
|
iNh inh4 = this.e;
|
|
inh4.d(inh4.e.b("TRANSFER", "OTHER"), new Sts(this, "OTHER", (byte) 0));
|
|
}
|
|
}
|