376 lines
12 KiB
Java
376 lines
12 KiB
Java
|
package o;
|
||
|
|
||
|
import android.net.Uri;
|
||
|
import android.text.TextUtils;
|
||
|
import o.C1168Xb;
|
||
|
import o.C15715hv;
|
||
|
import o.EE;
|
||
|
import o.InterfaceC9010dbe;
|
||
|
import o.ZI;
|
||
|
import o.cVH;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class cVH extends ZI<InterfaceC9010dbe.uqm> {
|
||
|
public final Lqn a;
|
||
|
public boolean b;
|
||
|
public boolean c;
|
||
|
public C1019Twi d;
|
||
|
public fSC e;
|
||
|
public AbstractC1237Yr g;
|
||
|
C1189Xo h;
|
||
|
public final C15833ivU i;
|
||
|
private Fnl k;
|
||
|
public String l;
|
||
|
public final yGw m;
|
||
|
public qhK n;
|
||
|
|
||
|
/* renamed from: o */
|
||
|
public ZGL f8627o;
|
||
|
private final EK r;
|
||
|
private final C17361wD s;
|
||
|
private final EE t;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public cVH(C16903sI c16903sI, yGw ygw, EE ee, EK ek, C17361wD c17361wD, Fnl fnl, C15833ivU c15833ivU) {
|
||
|
super(c16903sI);
|
||
|
this.e = new fSC();
|
||
|
this.m = ygw;
|
||
|
this.t = ee;
|
||
|
this.r = ek;
|
||
|
this.d = ygw.a.n();
|
||
|
this.a = ygw.b.H();
|
||
|
this.s = c17361wD;
|
||
|
this.k = fnl;
|
||
|
this.i = c15833ivU;
|
||
|
this.b = false;
|
||
|
}
|
||
|
|
||
|
public final void c(gHK ghk) {
|
||
|
if (this.k.d.a() == null || this.k.d.a().r == null || !this.k.d.a().r.q || gHK.JURISTIC.equals(ghk)) {
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVO
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9010dbe.uqm) obj).a();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS.e(this.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
AbstractC1237Yr abstractC1237Yr = this.g;
|
||
|
if (abstractC1237Yr instanceof YA) {
|
||
|
YA ya = (YA) abstractC1237Yr;
|
||
|
if (!"014".equals(ya.d) || "OWN".equalsIgnoreCase(ya.h.toString())) {
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cVO
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9010dbe.uqm) obj).a();
|
||
|
}
|
||
|
};
|
||
|
if (this.f != 0) {
|
||
|
ieS2.e(this.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.cVH$4 */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class AnonymousClass4 implements InterfaceC13176fSx<HNz> {
|
||
|
final cVH d;
|
||
|
|
||
|
@Override // o.InterfaceC13176fSx
|
||
|
public final void onSubscribe(fSJ fsj) {
|
||
|
}
|
||
|
|
||
|
public AnonymousClass4(cVH cvh) {
|
||
|
this.d = cvh;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13176fSx
|
||
|
public final /* synthetic */ void e(HNz hNz) {
|
||
|
this.d.b = false;
|
||
|
cVH cvh = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, hNz) { // from class: o.cVX
|
||
|
private HNz c;
|
||
|
private cVH.AnonymousClass4 e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C17361wD unused;
|
||
|
C17361wD unused2;
|
||
|
cVH.AnonymousClass4 anonymousClass4 = this.e;
|
||
|
HNz hNz2 = this.c;
|
||
|
InterfaceC9010dbe.uqm uqmVar = (InterfaceC9010dbe.uqm) obj;
|
||
|
uqmVar.aq_();
|
||
|
unused = anonymousClass4.d.s;
|
||
|
uqmVar.b(C17361wD.a(hNz2));
|
||
|
unused2 = anonymousClass4.d.s;
|
||
|
uqmVar.c(C17361wD.e(hNz2));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
this.c = hNz;
|
||
|
}
|
||
|
};
|
||
|
if (cvh.f != 0) {
|
||
|
ieS.e(cvh.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC13176fSx
|
||
|
public final void onError(Throwable th) {
|
||
|
if (this.d.f == 0 || this.d.i(th)) {
|
||
|
return;
|
||
|
}
|
||
|
cVH cvh = this.d;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVV
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9010dbe.uqm) obj).aq_();
|
||
|
}
|
||
|
};
|
||
|
if (cvh.f != 0) {
|
||
|
ieS.e(cvh.f);
|
||
|
}
|
||
|
cVH cvh2 = this.d;
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cVZ
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9010dbe.uqm) obj).f();
|
||
|
}
|
||
|
};
|
||
|
if (cvh2.f != 0) {
|
||
|
ieS2.e(cvh2.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static boolean d(String str) {
|
||
|
return (str == null || TextUtils.isEmpty(str) || C6583cXR.q(str)) ? false : true;
|
||
|
}
|
||
|
|
||
|
public static boolean c(String str) {
|
||
|
return (str == null || TextUtils.isEmpty(str)) ? false : true;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class IeS extends wRi.LWm<C17024tMc> {
|
||
|
private final String a;
|
||
|
private cVH b;
|
||
|
private final C14589fw c;
|
||
|
private final PWw d;
|
||
|
private final String e;
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
C17024tMc c17024tMc = (C17024tMc) obj;
|
||
|
this.b.b = false;
|
||
|
if (this.b.f != 0) {
|
||
|
String str = this.b.d != null ? this.b.d.u : null;
|
||
|
cVH cvh = this.b;
|
||
|
cvh.h = cvh.r.e(this.d, this.c, c17024tMc, this.a, str, this.b.m.b.T(), this.e);
|
||
|
this.b.c = false;
|
||
|
if (c17024tMc.g) {
|
||
|
cVH cvh2 = this.b;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, c17024tMc) { // from class: o.cWe
|
||
|
private cVH.IeS c;
|
||
|
private C17024tMc e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
cVH.IeS.e(this.c, this.e, (InterfaceC9010dbe.uqm) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
this.e = c17024tMc;
|
||
|
}
|
||
|
};
|
||
|
if (cvh2.f != 0) {
|
||
|
ieS.e(cvh2.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
cVH cvh3 = this.b;
|
||
|
C6516cVW c6516cVW = new C6516cVW(cvh3);
|
||
|
if (cvh3.f != 0) {
|
||
|
c6516cVW.e(cvh3.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public IeS(cVH cvh, PWw pWw, C14589fw c14589fw, String str, String str2) {
|
||
|
this.b = cvh;
|
||
|
this.d = pWw;
|
||
|
this.a = str;
|
||
|
this.c = c14589fw;
|
||
|
this.e = str2;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
this.b.c = false;
|
||
|
cVH.d(this.b, th);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(IeS ieS, C17024tMc c17024tMc, InterfaceC9010dbe.uqm uqmVar) {
|
||
|
uqmVar.ar_();
|
||
|
uqmVar.d(c17024tMc.f9276o, c17024tMc.j, new C6554cWd(ieS.b));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class RVV extends wRi.LWm<C17024tMc> {
|
||
|
private final VN a;
|
||
|
private final C14536fv b;
|
||
|
private cVH c;
|
||
|
private final String d;
|
||
|
private final String e;
|
||
|
private final String g;
|
||
|
private final String h;
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
String str;
|
||
|
String str2;
|
||
|
Uri uri;
|
||
|
String str3;
|
||
|
C17024tMc c17024tMc = (C17024tMc) obj;
|
||
|
this.c.b = false;
|
||
|
if (this.c.f != 0) {
|
||
|
String str4 = this.c.d != null ? this.c.d.u : null;
|
||
|
cVH cvh = this.c;
|
||
|
EE ee = cvh.t;
|
||
|
qhK qhk = this.c.n;
|
||
|
C14536fv c14536fv = this.b;
|
||
|
String str5 = this.g;
|
||
|
String str6 = this.d;
|
||
|
String str7 = this.h;
|
||
|
boolean T = this.c.m.b.T();
|
||
|
String str8 = this.e;
|
||
|
VN vn = this.a;
|
||
|
String str9 = c17024tMc.e;
|
||
|
String str10 = (String) C16157lj.c(new Object[]{c14536fv.a, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
|
||
|
Uri VS_ = C6583cXR.VS_(ee.b, C15715hv.IeS.bankicon_scb);
|
||
|
String str11 = c17024tMc.a;
|
||
|
int i = EE.AnonymousClass2.a[qhk.ordinal()];
|
||
|
if (i != 1) {
|
||
|
if (i == 2 || i == 3) {
|
||
|
str = str6;
|
||
|
str2 = str7;
|
||
|
str3 = (String) C16157lj.c(new Object[]{c14536fv.c, false}, 1230925834, -1230925834, (int) System.currentTimeMillis());
|
||
|
} else {
|
||
|
str3 = c14536fv.c;
|
||
|
str = str6;
|
||
|
str2 = str7;
|
||
|
}
|
||
|
uri = VS_;
|
||
|
} else {
|
||
|
str = str6;
|
||
|
str2 = str7;
|
||
|
uri = VS_;
|
||
|
str3 = (String) C16157lj.c(new Object[]{c14536fv.c, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
|
||
|
}
|
||
|
Uri VS_2 = TextUtils.isEmpty(str5) ? C6583cXR.VS_(ee.b, C15715hv.IeS.bankicon_scb) : Uri.parse(ee.b_(str5));
|
||
|
String c = EE.c(C6583cXR.c(c14536fv.b));
|
||
|
String c2 = EE.c(Double.valueOf(c17024tMc.t));
|
||
|
YC c3 = EE.c(c17024tMc.y, c17024tMc.w);
|
||
|
C1189Xo b = new C1189Xo().b(str9);
|
||
|
b.X = c14536fv.a;
|
||
|
b.S = c14536fv.a;
|
||
|
C1189Xo a = b.a(str10);
|
||
|
a.Q = uri;
|
||
|
a.y = str11;
|
||
|
a.t = c14536fv.c;
|
||
|
a.s = str3;
|
||
|
a.v = c14536fv.c;
|
||
|
a.q = VS_2;
|
||
|
C1168Xb.LWm lWm = new C1168Xb.LWm();
|
||
|
lWm.b = c;
|
||
|
a.j = new C1168Xb(lWm, (byte) 0);
|
||
|
C1189Xo h = a.h(c2);
|
||
|
h.V = str2;
|
||
|
h.an = str;
|
||
|
C1189Xo e = h.e("TRANSFER");
|
||
|
e.aE = qhk.name();
|
||
|
if (str4 == null) {
|
||
|
str4 = "";
|
||
|
}
|
||
|
e.z = str4;
|
||
|
e.aH = str8;
|
||
|
C1189Xo d = e.d(c17024tMc.p);
|
||
|
d.at = vn;
|
||
|
d.aL = c3;
|
||
|
cvh.h = d;
|
||
|
this.c.c = false;
|
||
|
if (c17024tMc.g) {
|
||
|
cVH cvh2 = this.c;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, c17024tMc) { // from class: o.cWb
|
||
|
private cVH.RVV b;
|
||
|
private C17024tMc e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
cVH.RVV.c(this.b, this.e, (InterfaceC9010dbe.uqm) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.e = c17024tMc;
|
||
|
}
|
||
|
};
|
||
|
if (cvh2.f != 0) {
|
||
|
ieS.e(cvh2.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
cVH cvh3 = this.c;
|
||
|
C6516cVW c6516cVW = new C6516cVW(cvh3);
|
||
|
if (cvh3.f != 0) {
|
||
|
c6516cVW.e(cvh3.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public RVV(cVH cvh, C14536fv c14536fv, String str, String str2, String str3, String str4, VN vn) {
|
||
|
this.c = cvh;
|
||
|
this.d = str;
|
||
|
this.b = c14536fv;
|
||
|
this.h = str3;
|
||
|
this.g = str2;
|
||
|
this.e = str4;
|
||
|
this.a = vn;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
cVH.a(this.c, th);
|
||
|
this.c.c = false;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(RVV rvv, C17024tMc c17024tMc, InterfaceC9010dbe.uqm uqmVar) {
|
||
|
uqmVar.ar_();
|
||
|
uqmVar.d(c17024tMc.f9276o, c17024tMc.j, new C6554cWd(rvv.c));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void d(cVH cvh, Throwable th) {
|
||
|
if (cvh.b(th)) {
|
||
|
cvh.d(cvh.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void a(cVH cvh, Throwable th) {
|
||
|
if (cvh.b(th)) {
|
||
|
cvh.d(cvh.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
}
|