252 lines
6.9 KiB
Java
252 lines
6.9 KiB
Java
package o;
|
|
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C0690Mh;
|
|
import o.C3877bJl;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.bJl, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public class C3877bJl extends ZI<InterfaceC9364diO> {
|
|
public C17530xYX a;
|
|
public String b;
|
|
public Ueq c;
|
|
public String d;
|
|
public String e;
|
|
public String g;
|
|
public String h;
|
|
public String i;
|
|
private List<String> k;
|
|
private boolean l;
|
|
public String m;
|
|
public EAI n;
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
public String f8544o;
|
|
private C17269vQ p;
|
|
private List<String> r;
|
|
|
|
@InterfaceC13391fZD
|
|
public C3877bJl(C16903sI c16903sI, C17269vQ c17269vQ, Ueq ueq, EAI eai, C17530xYX c17530xYX) {
|
|
super(c16903sI);
|
|
this.l = true;
|
|
this.p = c17269vQ;
|
|
this.c = ueq;
|
|
this.n = eai;
|
|
this.a = c17530xYX;
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
super.w_();
|
|
Ueq ueq = this.c;
|
|
if (ueq.h.isDisposed()) {
|
|
return;
|
|
}
|
|
ueq.h.dispose();
|
|
}
|
|
|
|
public static boolean a(String str) {
|
|
return str.trim().length() >= 2;
|
|
}
|
|
|
|
/* renamed from: o.bJl$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public class LWm extends wRi.LWm<List<eBF>> {
|
|
private C3877bJl a;
|
|
|
|
public LWm(C3877bJl c3877bJl) {
|
|
this.a = c3877bJl;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
List list = (List) obj;
|
|
C3877bJl.b(this.a);
|
|
C3877bJl c3877bJl = this.a;
|
|
C17269vQ unused = c3877bJl.p;
|
|
c3877bJl.r = C17269vQ.c((List<eBF>) list);
|
|
C3877bJl c3877bJl2 = this.a;
|
|
C17269vQ unused2 = c3877bJl2.p;
|
|
c3877bJl2.k = C17269vQ.a((List<eBF>) list);
|
|
C3877bJl c3877bJl3 = this.a;
|
|
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bJr
|
|
private C3877bJl.LWm c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9364diO) obj2).b(this.c.a.r);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
};
|
|
if (c3877bJl3.f != 0) {
|
|
ieS.e(c3877bJl3.f);
|
|
}
|
|
C3877bJl c3877bJl4 = this.a;
|
|
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.bJu
|
|
private C3877bJl.LWm d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9364diO) obj2).c(this.d.a.k);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
};
|
|
if (c3877bJl4.f != 0) {
|
|
ieS2.e(c3877bJl4.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C3877bJl.b(this.a, th, C0690Mh.IeS.JUST_DISMISS);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.bJl$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public class HBt extends wRi.LWm<Void> {
|
|
private C3877bJl e;
|
|
|
|
public HBt(C3877bJl c3877bJl) {
|
|
this.e = c3877bJl;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
C3877bJl.i(this.e);
|
|
C3877bJl c3877bJl = this.e;
|
|
C3882bJq c3882bJq = new C3882bJq();
|
|
if (c3877bJl.f != 0) {
|
|
c3882bJq.e(c3877bJl.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C3877bJl.c(this.e, th, C0690Mh.IeS.JUST_DISMISS);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
super.onComplete();
|
|
C3877bJl.f(this.e);
|
|
C3877bJl c3877bJl = this.e;
|
|
C3882bJq c3882bJq = new C3882bJq();
|
|
if (c3877bJl.f != 0) {
|
|
c3882bJq.e(c3877bJl.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void c(C3877bJl c3877bJl, List list) {
|
|
final boolean z;
|
|
Iterator it = list.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
z = false;
|
|
break;
|
|
}
|
|
YFD yfd = (YFD) it.next();
|
|
if (yfd.b != null && !yfd.b.isEmpty()) {
|
|
z = true;
|
|
break;
|
|
}
|
|
}
|
|
c3877bJl.l = z;
|
|
c3877bJl.d = null;
|
|
c3877bJl.d();
|
|
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bJk
|
|
private boolean e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9364diO) obj).b(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = z;
|
|
}
|
|
};
|
|
if (c3877bJl.f != 0) {
|
|
ieS.e(c3877bJl.f);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void d(C3877bJl c3877bJl) {
|
|
if (c3877bJl.f != 0) {
|
|
c3877bJl.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void c(C3877bJl c3877bJl, Throwable th) {
|
|
if (c3877bJl.b(th)) {
|
|
c3877bJl.d(c3877bJl.j.e(th));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void b(C3877bJl c3877bJl, Throwable th, C0690Mh.IeS ieS) {
|
|
if (c3877bJl.b(th)) {
|
|
c3877bJl.d(c3877bJl.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void b(C3877bJl c3877bJl) {
|
|
if (c3877bJl.f != 0) {
|
|
c3877bJl.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void i(C3877bJl c3877bJl) {
|
|
if (c3877bJl.f != 0) {
|
|
c3877bJl.f.ar_();
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void c(C3877bJl c3877bJl, Throwable th, C0690Mh.IeS ieS) {
|
|
if (c3877bJl.b(th)) {
|
|
c3877bJl.d(c3877bJl.j.d(th, ieS));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void f(C3877bJl c3877bJl) {
|
|
if (c3877bJl.f != 0) {
|
|
c3877bJl.f.ar_();
|
|
}
|
|
}
|
|
|
|
public final void d() {
|
|
String str;
|
|
if (this.i != null && this.g != null && (((this.d != null && this.b != null) || !this.l) && this.e != null && this.h != null && (str = this.f8544o) != null && this.m != null && str.trim().length() >= 2 && this.m.trim().length() >= 2)) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bJn
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9364diO) obj).c(true);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bJm
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9364diO) obj).c(false);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS2.e(this.f);
|
|
}
|
|
}
|
|
}
|