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

203 lines
6.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import o.C5634bwk;
import o.InterfaceC9253dgI;
import o.NZ;
import o.ZI;
import o.wRi;
/* renamed from: o.bwk, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5634bwk<T extends InterfaceC9253dgI> extends ZI<T> {
public String a;
public final ZUb b;
public boolean c;
public final CaX d;
public Map<OVB, NZ.LWm.Sts> e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5634bwk(C16903sI c16903sI, ZUb zUb, CaX caX) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(zUb, "");
C14957gcv.e(caX, "");
this.b = zUb;
this.d = caX;
this.e = new LinkedHashMap();
this.a = "";
}
/* renamed from: o.bwk$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends wRi.LWm<String> {
private C5634bwk<T> a;
public HBt(C5634bwk<T> c5634bwk) {
this.a = c5634bwk;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final String str = (String) obj;
C14957gcv.e(str, "");
super.onNext(str);
final C5634bwk<T> c5634bwk = this.a;
ZI.IeS ieS = new ZI.IeS(c5634bwk, str) { // from class: o.bwo
private String a;
private C5634bwk e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5634bwk.HBt.e(this.e, this.a, (InterfaceC9253dgI) obj2);
}
{
this.e = c5634bwk;
this.a = str;
}
};
if (c5634bwk.f != 0) {
ieS.e(c5634bwk.f);
}
C5634bwk.c(this.a);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5634bwk.c(this.a, th);
}
public static /* synthetic */ void e(C5634bwk c5634bwk, String str, InterfaceC9253dgI interfaceC9253dgI) {
C14957gcv.e(c5634bwk, "");
C14957gcv.e(str, "");
interfaceC9253dgI.a(c5634bwk.c, c5634bwk.e.get(OVB.MODEL_CONSENT) == NZ.LWm.Sts.ACCEPTED, str);
}
}
/* renamed from: o.bwk$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends wRi.LWm<String> {
private C5634bwk<T> b;
public LWm(C5634bwk<T> c5634bwk) {
this.b = c5634bwk;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final String str = (String) obj;
C14957gcv.e(str, "");
super.onNext(str);
final C5634bwk<T> c5634bwk = this.b;
ZI.IeS ieS = new ZI.IeS(str, c5634bwk) { // from class: o.bwt
private C5634bwk a;
private String c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5634bwk.LWm.a(this.c, this.a, (InterfaceC9253dgI) obj2);
}
{
this.c = str;
this.a = c5634bwk;
}
};
if (c5634bwk.f != 0) {
ieS.e(c5634bwk.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5634bwk.c(this.b, th);
}
public static /* synthetic */ void a(String str, C5634bwk c5634bwk, InterfaceC9253dgI interfaceC9253dgI) {
C14957gcv.e(str, "");
C14957gcv.e(c5634bwk, "");
interfaceC9253dgI.a(str, c5634bwk.a);
interfaceC9253dgI.c();
}
}
public static /* synthetic */ void c(NZ nz, InterfaceC9253dgI interfaceC9253dgI) {
C14957gcv.e(nz, "");
interfaceC9253dgI.b(nz);
}
public static /* synthetic */ void e(OVB ovb, boolean z, InterfaceC9253dgI interfaceC9253dgI) {
C14957gcv.e(ovb, "");
interfaceC9253dgI.b(ovb, z);
}
public static /* synthetic */ void d(OVB ovb, InterfaceC9253dgI interfaceC9253dgI) {
C14957gcv.e(ovb, "");
interfaceC9253dgI.b(ovb);
}
public static /* synthetic */ void b(C5634bwk c5634bwk, InterfaceC9253dgI interfaceC9253dgI) {
boolean z;
C14957gcv.e(c5634bwk, "");
if (c5634bwk.c) {
Collection<NZ.LWm.Sts> values = c5634bwk.e.values();
if (!(values instanceof Collection) || !values.isEmpty()) {
Iterator<T> it = values.iterator();
while (it.hasNext()) {
if (((NZ.LWm.Sts) it.next()) == NZ.LWm.Sts.EMPTY) {
}
}
}
z = true;
interfaceC9253dgI.c(z);
}
z = false;
interfaceC9253dgI.c(z);
}
public static final /* synthetic */ void c(C5634bwk c5634bwk) {
if (c5634bwk.f != 0) {
c5634bwk.f.ar_();
}
}
public static final /* synthetic */ void c(C5634bwk c5634bwk, Throwable th) {
if (c5634bwk.b(th)) {
c5634bwk.d(c5634bwk.j.e(th));
}
}
@Override // o.ZI
public final void w_() {
CaX caX = this.d;
if (!caX.h.isDisposed()) {
caX.h.dispose();
}
super.w_();
}
/* renamed from: o.bwk$Sts */
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts {
public static final int[] c;
static {
int[] iArr = new int[OVB.values().length];
try {
iArr[OVB.TERMS_N_CONDITIONS.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
c = iArr;
}
}
}