141 lines
4.0 KiB
Java
141 lines
4.0 KiB
Java
package o;
|
|
|
|
import java.util.List;
|
|
import o.C3210atH;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.atH */
|
|
/* loaded from: classes4.dex */
|
|
public class C3210atH extends ZI<InterfaceC9047dcO> {
|
|
private ZBH c;
|
|
private C16305nM e;
|
|
|
|
@InterfaceC13391fZD
|
|
public C3210atH(C16903sI c16903sI, C16305nM c16305nM, ZBH zbh) {
|
|
super(c16903sI);
|
|
this.e = c16305nM;
|
|
this.c = zbh;
|
|
}
|
|
|
|
public final void e(C0494Hx c0494Hx) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.atF
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9047dcO) obj).b();
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
this.c.d(c0494Hx.c, c0494Hx.b, EnumC16373nni.NORMAL);
|
|
ZBH zbh = this.c;
|
|
zbh.d(zbh.i, new RVV(this, c0494Hx));
|
|
}
|
|
|
|
public static int b(List<HA> list, String str) {
|
|
for (int i = 0; i < list.size(); i++) {
|
|
if (list.get(i).a.equalsIgnoreCase(str)) {
|
|
return i;
|
|
}
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
public static /* synthetic */ void d(List list, int i, InterfaceC9047dcO interfaceC9047dcO) {
|
|
interfaceC9047dcO.d(list, i);
|
|
interfaceC9047dcO.c(i);
|
|
}
|
|
|
|
/* renamed from: o.atH$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public class RVV extends wRi.LWm<Fsg> {
|
|
private C0494Hx b;
|
|
private C3210atH e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
Fsg fsg = (Fsg) obj;
|
|
C3210atH c3210atH = this.e;
|
|
C3211atI c3211atI = new C3211atI();
|
|
if (c3210atH.f != 0) {
|
|
c3211atI.e(c3210atH.f);
|
|
}
|
|
C16305nM unused = this.e.e;
|
|
List<HA> d = C16305nM.d(fsg.e, this.b);
|
|
if (!d.isEmpty()) {
|
|
C3210atH c3210atH2 = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, d) { // from class: o.atL
|
|
private C3210atH.RVV a;
|
|
private List b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C3210atH.RVV.d(this.a, this.b, (InterfaceC9047dcO) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
this.b = d;
|
|
}
|
|
};
|
|
if (c3210atH2.f != 0) {
|
|
ieS.e(c3210atH2.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C3210atH c3210atH3 = this.e;
|
|
C3215atM c3215atM = new C3215atM();
|
|
if (c3210atH3.f != 0) {
|
|
c3215atM.e(c3210atH3.f);
|
|
}
|
|
}
|
|
|
|
RVV(C3210atH c3210atH, C0494Hx c0494Hx) {
|
|
this.e = c3210atH;
|
|
this.b = c0494Hx;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C3210atH c3210atH = this.e;
|
|
C3211atI c3211atI = new C3211atI();
|
|
if (c3210atH.f != 0) {
|
|
c3211atI.e(c3210atH.f);
|
|
}
|
|
if (this.e.i(th)) {
|
|
return;
|
|
}
|
|
C3210atH c3210atH2 = this.e;
|
|
C3215atM c3215atM = new C3215atM();
|
|
if (c3210atH2.f != 0) {
|
|
c3215atM.e(c3210atH2.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(RVV rvv, List list, InterfaceC9047dcO interfaceC9047dcO) {
|
|
C3210atH c3210atH = rvv.e;
|
|
int b = C3210atH.b((List<HA>) list, interfaceC9047dcO.d());
|
|
if (b == -1) {
|
|
b = 0;
|
|
}
|
|
C3210atH.b(rvv.e, list, b);
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
super.w_();
|
|
this.c.b.e();
|
|
this.c.b.a();
|
|
}
|
|
|
|
static /* synthetic */ void b(C3210atH c3210atH, List list, int i) {
|
|
C3213atK c3213atK = new C3213atK(list, i);
|
|
if (c3210atH.f != 0) {
|
|
c3213atK.e(c3210atH.f);
|
|
}
|
|
}
|
|
}
|