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

264 lines
9.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import o.C0690Mh;
import o.C15794if;
import o.C17348vwU;
import o.C2922anj;
import o.ZI;
import o.wRi;
/* renamed from: o.anj, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C2922anj extends ZI<InterfaceC9062dcd> {
public String a;
public final Resources b;
final C16356nh c;
public final xZj d;
public final C16363nj e;
private final C16365nk g;
private final C15794if h;
private final C16343nd i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C2922anj(C16903sI c16903sI, C16356nh c16356nh, C16363nj c16363nj, xZj xzj, C16365nk c16365nk, C15794if c15794if, C16343nd c16343nd, Resources resources) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c16356nh, "");
C14957gcv.e(c16363nj, "");
C14957gcv.e(xzj, "");
C14957gcv.e(c16365nk, "");
C14957gcv.e(c15794if, "");
C14957gcv.e(c16343nd, "");
C14957gcv.e(resources, "");
this.c = c16356nh;
this.e = c16363nj;
this.d = xzj;
this.g = c16365nk;
this.h = c15794if;
this.i = c16343nd;
this.b = resources;
this.a = "";
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.anj$HBt */
/* loaded from: classes3.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C2922anj b;
private InterfaceC9062dcd c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
this.c.ar_();
if (!this.b.i(th2)) {
this.c.e(this.b.j.d(th2, C0690Mh.IeS.JUST_DISMISS));
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(InterfaceC9062dcd interfaceC9062dcd, C2922anj c2922anj) {
super(1);
this.c = interfaceC9062dcd;
this.b = c2922anj;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.anj$RVV */
/* loaded from: classes3.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<List<? extends GK>, C14866gag> {
private InterfaceC9062dcd c;
private C2922anj d;
private C0433Gl e;
/* JADX WARN: Multi-variable type inference failed */
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(List<? extends GK> list) {
List<? extends GK> list2 = list;
C14957gcv.e(list2, "");
this.c.ar_();
this.c.e(this.e, list2, this.d.a);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(InterfaceC9062dcd interfaceC9062dcd, C0433Gl c0433Gl, C2922anj c2922anj) {
super(1);
this.c = interfaceC9062dcd;
this.e = c0433Gl;
this.d = c2922anj;
}
}
/* renamed from: o.anj$LWm */
/* loaded from: classes3.dex */
public final class LWm extends wRi.LWm<xIq> {
private C2922anj b;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
public LWm(C2922anj c2922anj) {
this.b = c2922anj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final xIq xiq = (xIq) obj;
C14957gcv.e(xiq, "");
final C2922anj c2922anj = this.b;
ZI.IeS ieS = new ZI.IeS(c2922anj, xiq) { // from class: o.anm
private xIq a;
private C2922anj d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2922anj.LWm.e(this.d, this.a, (InterfaceC9062dcd) obj2);
}
{
this.d = c2922anj;
this.a = xiq;
}
};
if (c2922anj.f != 0) {
ieS.e(c2922anj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
C14957gcv.e(th, "");
final C2922anj c2922anj = this.b;
ZI.IeS ieS = new ZI.IeS(c2922anj, th) { // from class: o.anl
private C2922anj c;
private Throwable e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2922anj.LWm.d(this.c, this.e, (InterfaceC9062dcd) obj);
}
{
this.c = c2922anj;
this.e = th;
}
};
if (c2922anj.f != 0) {
ieS.e(c2922anj.f);
}
}
public static /* synthetic */ void d(C2922anj c2922anj, Throwable th, InterfaceC9062dcd interfaceC9062dcd) {
C14957gcv.e(c2922anj, "");
C14957gcv.e(th, "");
if (c2922anj.i(th)) {
return;
}
interfaceC9062dcd.ar_();
interfaceC9062dcd.e(c2922anj.j.d(th, C0690Mh.IeS.JUST_DISMISS));
}
public static /* synthetic */ void e(C2922anj c2922anj, xIq xiq, InterfaceC9062dcd interfaceC9062dcd) {
C14957gcv.e(c2922anj, "");
C14957gcv.e(xiq, "");
interfaceC9062dcd.ar_();
interfaceC9062dcd.d(c2922anj.c.b(xiq.a, xiq.d, c2922anj.a, interfaceC9062dcd.a(), interfaceC9062dcd.b()));
}
}
@Override // o.ZI
public final void w_() {
xZj xzj = this.d;
if (!xzj.h.isDisposed()) {
xzj.h.dispose();
}
this.h.a();
super.w_();
}
public static /* synthetic */ void b(C0437Go c0437Go, C2922anj c2922anj, InterfaceC9062dcd interfaceC9062dcd) {
C14957gcv.e(c0437Go, "");
C14957gcv.e(c2922anj, "");
List<C0444Gs> list = c0437Go.b;
if ((list == null || list.isEmpty()) && c0437Go.a != null) {
interfaceC9062dcd.e(c0437Go.a);
} else {
interfaceC9062dcd.a(c2922anj.g.d((List) c0437Go.b));
}
}
public static /* synthetic */ void c(C2922anj c2922anj, C0433Gl c0433Gl, C0367Fb c0367Fb, InterfaceC9062dcd interfaceC9062dcd) {
List list;
umX umx;
C14957gcv.e(c2922anj, "");
C14957gcv.e(c0433Gl, "");
C14957gcv.e(c0367Fb, "");
if (c2922anj.f != 0) {
c2922anj.f.y();
}
C16343nd c16343nd = c2922anj.i;
C14957gcv.e(c0433Gl, "");
C14957gcv.e(c0367Fb, "");
String str = c0367Fb.T;
String str2 = c0367Fb.g;
String str3 = c0433Gl.p;
String str4 = str3 == null ? "" : str3;
String str5 = c0433Gl.i;
String str6 = str5 == null ? "" : str5;
List<GH> list2 = c0433Gl.t;
if (list2 != null) {
List arrayList = new ArrayList();
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
C0421Gf c0421Gf = ((GH) it.next()).c;
if (c0421Gf != null) {
String str7 = c0421Gf.i;
String str8 = c0421Gf.b;
String str9 = c0421Gf.e;
String str10 = c0421Gf.d;
Double d = c0421Gf.h;
umx = new umX(str7, str8, str9, str10, C6583cXR.c(d != null ? d.doubleValue() : 0.0d), c0421Gf.a, c0421Gf.c);
} else {
umx = null;
}
if (umx != null) {
arrayList.add(umx);
}
}
list = arrayList;
} else {
list = C14851gaI.c;
}
String str11 = str;
String str12 = (str11 == null || gdZ.d((CharSequence) str11) || C14957gcv.b((Object) str, (Object) "B2K")) ? c0433Gl.a : null;
String str13 = C14957gcv.b((Object) str, (Object) "CDX") ? c0433Gl.e : null;
C14957gcv.c((Object) str2, "");
C0858Qba c0858Qba = new C0858Qba(str2, str12, str4, str6, list, str13);
C15794if c15794if = c2922anj.h;
RVV rvv = new RVV(interfaceC9062dcd, c0433Gl, c2922anj);
HBt hBt = new HBt(interfaceC9062dcd, c2922anj);
C14957gcv.e(c0858Qba, "");
C14957gcv.e(rvv, "");
C14957gcv.e(hBt, "");
c15794if.e.e(rvv, hBt, new C17348vwU.IeS(c0858Qba), new C15794if.LWm(c15794if), c15794if.a);
}
public static FZ d(C0367Fb c0367Fb) {
C14957gcv.e(c0367Fb, "");
if (c0367Fb.K) {
return FZ.DEEJUNG_INSTALLMENT_NEW;
}
return FZ.DEEJUNG_INSTALLMENT;
}
}