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

159 lines
4.7 KiB
Java

package o;
import android.net.Uri;
import o.C0690Mh;
import o.C1168Xb;
import o.C7854cwG;
import o.InterfaceC8972dat;
import o.ZI;
import o.wRi;
/* renamed from: o.cwG, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7854cwG extends ZI<InterfaceC8972dat.LWm> {
public double a;
public final rmb b;
public String c;
public String d;
public C1203Xy e;
private final C0210Bk h;
@InterfaceC13391fZD
public C7854cwG(C16903sI c16903sI, rmb rmbVar, C0210Bk c0210Bk) {
super(c16903sI);
this.a = 0.0d;
this.b = rmbVar;
this.h = c0210Bk;
}
/* renamed from: o.cwG$Sts */
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<UCy> {
private double a;
private String b;
private C7854cwG c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
String str;
final UCy uCy = (UCy) obj;
C7854cwG c7854cwG = this.c;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cwK
private C7854cwG.Sts a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7854cwG.e(this.a.c);
}
{
this.a = this;
}
};
if (c7854cwG.f != 0) {
ieS.e(c7854cwG.f);
}
C0210Bk c0210Bk = this.c.h;
String str2 = this.c.c;
String str3 = this.c.e.f.d;
String str4 = this.c.e.f.f;
String str5 = uCy.f;
String str6 = this.c.e.f.k;
String str7 = this.c.e.f.g;
double d = this.a;
String str8 = this.b;
C1189Xo e = C1189Xo.h().d(uCy.i).e("PURCHASE_CREDIT_CARD_FUNCTION");
e.Q = Uri.parse(c0210Bk.b_(uCy.c));
C1189Xo b = e.b(uCy.b);
b.S = str2;
C1189Xo a = b.a(str2);
a.y = str4;
a.t = str5;
a.q = Uri.parse(str3);
if (str7 == null || str7.isEmpty()) {
str = null;
} else {
StringBuilder sb = new StringBuilder();
sb.append(str6);
sb.append(" ");
sb.append(str7);
str = sb.toString();
}
a.al = str;
C1168Xb.LWm lWm = new C1168Xb.LWm();
lWm.b = (String) C6583cXR.c(new Object[]{Double.valueOf(d)}, -150997759, 150997764, (int) System.currentTimeMillis());
a.j = new C1168Xb(lWm, (byte) 0);
final C1189Xo h = a.h(uCy.d);
h.aH = str8;
if (uCy.a) {
C7854cwG c7854cwG2 = this.c;
ZI.IeS ieS2 = new ZI.IeS(uCy, h) { // from class: o.cwM
private C1189Xo a;
private UCy c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC8972dat.LWm lWm2 = (InterfaceC8972dat.LWm) obj2;
lWm2.b(r0.j, this.c.e, this.a);
}
{
this.c = uCy;
this.a = h;
}
};
if (c7854cwG2.f != 0) {
ieS2.e(c7854cwG2.f);
return;
}
return;
}
C7854cwG c7854cwG3 = this.c;
ZI.IeS ieS3 = new ZI.IeS(h) { // from class: o.cwL
private C1189Xo e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC8972dat.LWm) obj2).a(this.e);
}
{
this.e = h;
}
};
if (c7854cwG3.f != 0) {
ieS3.e(c7854cwG3.f);
}
}
public Sts(C7854cwG c7854cwG, double d, String str) {
this.c = c7854cwG;
this.a = d;
this.b = str;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7854cwG.c(this.c);
C7854cwG c7854cwG = this.c;
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
if (c7854cwG.b(th)) {
c7854cwG.d(c7854cwG.j.b(th, ieS));
}
}
}
static /* synthetic */ void c(C7854cwG c7854cwG) {
if (c7854cwG.f != 0) {
c7854cwG.f.ar_();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(C7854cwG c7854cwG) {
if (c7854cwG.f != 0) {
c7854cwG.f.ar_();
}
}
}