161 lines
4.9 KiB
Java
161 lines
4.9 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
import o.C3743bFe;
|
||
|
import o.InterfaceC6668cZk;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.bFe, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C3743bFe extends ZI<InterfaceC6668cZk.RVV> {
|
||
|
public String a;
|
||
|
private final C16097lF b;
|
||
|
public boolean c;
|
||
|
public final mSw d;
|
||
|
public int e;
|
||
|
private final SMl i;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C3743bFe(mSw msw, SMl sMl, C16097lF c16097lF, C16903sI c16903sI) {
|
||
|
super(c16903sI);
|
||
|
C14957gcv.e(msw, "");
|
||
|
C14957gcv.e(sMl, "");
|
||
|
C14957gcv.e(c16097lF, "");
|
||
|
C14957gcv.e(c16903sI, "");
|
||
|
this.d = msw;
|
||
|
this.i = sMl;
|
||
|
this.b = c16097lF;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.bFe$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class HBt extends wRi.LWm<nOO> {
|
||
|
private C3743bFe e;
|
||
|
|
||
|
public HBt(C3743bFe c3743bFe) {
|
||
|
this.e = c3743bFe;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
List<JNE> arrayList;
|
||
|
nOO noo = (nOO) obj;
|
||
|
C14957gcv.e(noo, "");
|
||
|
if (this.e.f != 0) {
|
||
|
C16097lF c16097lF = this.e.b;
|
||
|
C7968cyO p = this.e.d.b.p();
|
||
|
if (p == null) {
|
||
|
arrayList = new ArrayList<>();
|
||
|
} else {
|
||
|
arrayList = p.a;
|
||
|
}
|
||
|
final C0383Fi a = c16097lF.a(noo, arrayList, this.e.d.b.T());
|
||
|
final C3743bFe c3743bFe = this.e;
|
||
|
ZI.IeS ieS = new ZI.IeS(c3743bFe, this, a) { // from class: o.bFb
|
||
|
private C3743bFe.HBt c;
|
||
|
private C0383Fi d;
|
||
|
private C3743bFe e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C3743bFe.HBt.d(this.e, this.c, this.d, (InterfaceC6668cZk.RVV) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = c3743bFe;
|
||
|
this.c = this;
|
||
|
this.d = a;
|
||
|
}
|
||
|
};
|
||
|
if (c3743bFe.f != 0) {
|
||
|
ieS.e(c3743bFe.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onComplete() {
|
||
|
C3743bFe.b(this.e);
|
||
|
C3743bFe.f(this.e);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(C3743bFe c3743bFe, HBt hBt, C0383Fi c0383Fi, InterfaceC6668cZk.RVV rvv) {
|
||
|
C14957gcv.e(c3743bFe, "");
|
||
|
C14957gcv.e(hBt, "");
|
||
|
if (c3743bFe.i.d.s() && c3743bFe.c) {
|
||
|
List<C0386Fk> c = c0383Fi.c();
|
||
|
C3743bFe c3743bFe2 = hBt.e;
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
for (Object obj : c) {
|
||
|
if (C14957gcv.b((Object) ((C0386Fk) obj).E, (Object) c3743bFe2.a)) {
|
||
|
arrayList.add(obj);
|
||
|
}
|
||
|
}
|
||
|
ArrayList arrayList2 = arrayList;
|
||
|
rvv.a(arrayList2);
|
||
|
ArrayList arrayList3 = new ArrayList();
|
||
|
for (Object obj2 : arrayList2) {
|
||
|
if (((C0386Fk) obj2).i) {
|
||
|
arrayList3.add(obj2);
|
||
|
}
|
||
|
}
|
||
|
rvv.c(arrayList3);
|
||
|
return;
|
||
|
}
|
||
|
List<C0386Fk> c2 = c0383Fi.c();
|
||
|
ArrayList arrayList4 = new ArrayList();
|
||
|
for (Object obj3 : c2) {
|
||
|
if (((C0386Fk) obj3).i) {
|
||
|
arrayList4.add(obj3);
|
||
|
}
|
||
|
}
|
||
|
rvv.c(arrayList4);
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C14957gcv.e(th, "");
|
||
|
if (this.e.f == 0 || this.e.i(th)) {
|
||
|
return;
|
||
|
}
|
||
|
C3743bFe.f(this.e);
|
||
|
C3743bFe.b(this.e);
|
||
|
C3743bFe c3743bFe = this.e;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bFc
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC6668cZk.RVV) obj).b();
|
||
|
}
|
||
|
};
|
||
|
if (c3743bFe.f != 0) {
|
||
|
ieS.e(c3743bFe.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void b(C3743bFe c3743bFe) {
|
||
|
if (c3743bFe.f != 0) {
|
||
|
c3743bFe.f.aq_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void f(C3743bFe c3743bFe) {
|
||
|
if (c3743bFe.f != 0) {
|
||
|
c3743bFe.f.u();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.ZI
|
||
|
public final void w_() {
|
||
|
mSw msw = this.d;
|
||
|
if (!msw.h.isDisposed()) {
|
||
|
msw.h.dispose();
|
||
|
}
|
||
|
this.d.a.f();
|
||
|
super.w_();
|
||
|
}
|
||
|
}
|