309 lines
9.1 KiB
Java
309 lines
9.1 KiB
Java
package o;
|
|
|
|
import java.util.List;
|
|
import o.C0664Lr;
|
|
import o.C0690Mh;
|
|
import o.InterfaceC6621cYR;
|
|
import o.InterfaceC6621cYR.huo;
|
|
import o.ZI;
|
|
import o.lga;
|
|
import o.wRi;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public abstract class aWQ<T extends InterfaceC6621cYR.huo> extends ZI<T> {
|
|
final C16823rY a;
|
|
final KPp b;
|
|
final C16937sa c;
|
|
final C16963sm d;
|
|
public boolean e;
|
|
private final LXn h;
|
|
private final kqX i;
|
|
|
|
public abstract void a(C0665Ls c0665Ls);
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public aWQ(kqX kqx, C16823rY c16823rY, LXn lXn, C16937sa c16937sa, KPp kPp, C16963sm c16963sm, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
this.i = kqx;
|
|
this.a = c16823rY;
|
|
this.h = lXn;
|
|
this.c = c16937sa;
|
|
this.b = kPp;
|
|
this.d = c16963sm;
|
|
}
|
|
|
|
public final void b(List<C0664Lr> list) {
|
|
if (list == null || list.isEmpty()) {
|
|
return;
|
|
}
|
|
for (final C0664Lr c0664Lr : list) {
|
|
String str = c0664Lr.d;
|
|
str.hashCode();
|
|
if (str.equals("SHADING")) {
|
|
ZI.IeS ieS = new ZI.IeS(c0664Lr) { // from class: o.aWV
|
|
private C0664Lr d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6621cYR.huo) obj).e(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = c0664Lr;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
} else if (str.equals("BORDER")) {
|
|
ZI.IeS ieS2 = new ZI.IeS(c0664Lr) { // from class: o.aWX
|
|
private C0664Lr c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6621cYR.huo) obj).c(this.c);
|
|
}
|
|
|
|
{
|
|
this.c = c0664Lr;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS2.e(this.f);
|
|
}
|
|
} else {
|
|
ZI.IeS ieS3 = new ZI.IeS(c0664Lr) { // from class: o.aWW
|
|
private C0664Lr d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC6621cYR.huo) obj).b(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = c0664Lr;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS3.e(this.f);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final void d(C0664Lr c0664Lr) {
|
|
C0664Lr.Sts sts = new C0664Lr.Sts();
|
|
sts.e = c0664Lr.b;
|
|
sts.d = c0664Lr.j;
|
|
sts.c = c0664Lr.a;
|
|
sts.h = "DEFAULT_REFERRAL";
|
|
sts.b = c0664Lr.c;
|
|
sts.a = c0664Lr.d;
|
|
byte b = 0;
|
|
C0664Lr c0664Lr2 = new C0664Lr(sts, (byte) 0);
|
|
int parseInt = Integer.parseInt(c0664Lr.c);
|
|
if (parseInt == 0) {
|
|
lga.LWm lWm = new lga.LWm();
|
|
lWm.c = "DEFAULT_REFERRAL";
|
|
lga lgaVar = new lga(lWm, (byte) 0);
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.i.d(lgaVar);
|
|
kqX kqx = this.i;
|
|
kqx.d(kqx.i, new IeS(this, c0664Lr2, "com.scb.phone.FOOTER_REFERRAL"));
|
|
return;
|
|
}
|
|
if (parseInt != 1) {
|
|
if (parseInt == 2) {
|
|
b(c0664Lr2);
|
|
}
|
|
} else {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.h.d();
|
|
LXn lXn = this.h;
|
|
lXn.d(lXn.i, new HBt(this, b));
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final void b(final C0665Ls c0665Ls) {
|
|
if (!"SPEEDY_CASH_CDX".equals(c0665Ls.h) && !"SPEEDY_LOAN_CDX".equals(c0665Ls.h) && (!"CREDIT_CARD_CDX".equals(c0665Ls.h) || !(c0665Ls instanceof C0657Lo))) {
|
|
final KEo b = this.b.a.b();
|
|
b(b != null, new ZI.IeS(this, b, c0665Ls) { // from class: o.aWZ
|
|
private KEo a;
|
|
private C0665Ls c;
|
|
private aWQ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
aWQ awq = this.d;
|
|
KEo kEo = this.a;
|
|
C0665Ls c0665Ls2 = this.c;
|
|
C16963sm c16963sm = awq.d;
|
|
((InterfaceC6621cYR.huo) obj).d(C16963sm.e(kEo, c0665Ls2));
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
this.a = b;
|
|
this.c = c0665Ls;
|
|
}
|
|
});
|
|
return;
|
|
}
|
|
final String str = ((C0657Lo) c0665Ls).x;
|
|
ZI.IeS ieS = new ZI.IeS(this, str) { // from class: o.aWT
|
|
private aWQ a;
|
|
private String b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6271cNx c6271cNx;
|
|
aWQ awq = this.a;
|
|
String str2 = this.b;
|
|
InterfaceC6621cYR.huo huoVar = (InterfaceC6621cYR.huo) obj;
|
|
C8064dAG a = awq.b.d.a();
|
|
huoVar.a((a == null || (c6271cNx = a.a) == null) ? null : c6271cNx.b, str2);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
this.b = str;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
class IeS extends wRi.LWm<GUJ> {
|
|
private final C0665Ls a;
|
|
private final String c;
|
|
private aWQ e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
GUJ guj = (GUJ) obj;
|
|
aWQ awq = this.e;
|
|
if (awq.f != 0) {
|
|
awq.f.ar_();
|
|
}
|
|
final LW a = this.e.a.a(guj, this.a);
|
|
if ("com.scb.phone.LOAN_REFERRAL".equalsIgnoreCase(this.c)) {
|
|
aWQ awq2 = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(a) { // from class: o.aWY
|
|
private LW d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6621cYR.huo) obj2).e(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = a;
|
|
}
|
|
};
|
|
if (awq2.f != 0) {
|
|
ieS.e(awq2.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
aWQ awq3 = this.e;
|
|
ZI.IeS ieS2 = new ZI.IeS(a) { // from class: o.aXb
|
|
private LW d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6621cYR.huo) obj2).d(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = a;
|
|
}
|
|
};
|
|
if (awq3.f != 0) {
|
|
ieS2.e(awq3.f);
|
|
}
|
|
}
|
|
|
|
IeS(aWQ awq, C0665Ls c0665Ls, String str) {
|
|
this.e = awq;
|
|
this.a = c0665Ls;
|
|
this.c = str;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
aWQ awq = this.e;
|
|
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
|
|
if (awq.b(th)) {
|
|
awq.d(awq.j.d(th, ieS));
|
|
}
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes4.dex */
|
|
class HBt extends wRi.LWm<Wqe> {
|
|
private aWQ d;
|
|
|
|
private HBt(aWQ awq) {
|
|
this.d = awq;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
Wqe wqe = (Wqe) obj;
|
|
aWQ awq = this.d;
|
|
if (awq.f != 0) {
|
|
awq.f.ar_();
|
|
}
|
|
final LX e = this.d.c.e(wqe);
|
|
aWQ awq2 = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(e) { // from class: o.aXa
|
|
private LX b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC6621cYR.huo) obj2).e(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = e;
|
|
}
|
|
};
|
|
if (awq2.f != 0) {
|
|
ieS.e(awq2.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
aWQ awq = this.d;
|
|
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
|
|
if (awq.b(th)) {
|
|
awq.d(awq.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
/* synthetic */ HBt(aWQ awq, byte b) {
|
|
this(awq);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final void e(C0665Ls c0665Ls, lga lgaVar, String str) {
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.i.d(lgaVar);
|
|
kqX kqx = this.i;
|
|
kqx.d(kqx.i, new IeS(this, c0665Ls, str));
|
|
}
|
|
}
|