package o; import java.util.ArrayList; import java.util.List; import o.InterfaceC6621cYR; import o.PRA; import o.ZI; import o.aWL; import o.wRi; /* loaded from: classes4.dex */ public class aWL extends ZI { private final C16878ry a; public final xWK d; public List e; @InterfaceC13391fZD public aWL(C16903sI c16903sI, xWK xwk, C16878ry c16878ry) { super(c16903sI); this.e = new ArrayList(); this.d = xwk; this.a = c16878ry; } /* loaded from: classes4.dex */ public class HBt extends wRi.LWm> { private aWL a; private HBt(aWL awl) { this.a = awl; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { aWL.d(this.a); aWL awl = this.a; final C16878ry c16878ry = awl.a; YKU yku = new YKU((List) obj); awl.e = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c16878ry) { // from class: o.rH private C16878ry a; @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return C16878ry.b((KNe) obj2); } { this.a = c16878ry; } })).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())); if (this.a.e.isEmpty()) { aWL awl2 = this.a; C2063aWR c2063aWR = new C2063aWR(); if (awl2.f != 0) { c2063aWR.e(awl2.f); return; } return; } aWL awl3 = this.a; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aWU private aWL.HBt d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6621cYR.NOK) obj2).b(this.d.a.e); } { this.d = this; } }; if (awl3.f != 0) { ieS.e(awl3.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { aWL.e(this.a); aWL awl = this.a; C2063aWR c2063aWR = new C2063aWR(); if (awl.f != 0) { c2063aWR.e(awl.f); } } public /* synthetic */ HBt(aWL awl, byte b) { this(awl); } } static /* synthetic */ void d(aWL awl) { if (awl.f != 0) { awl.f.ar_(); } } static /* synthetic */ void e(aWL awl) { if (awl.f != 0) { awl.f.ar_(); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ boolean d(String str, C0639Le c0639Le) { return c0639Le.c.contains(str) || c0639Le.d.toLowerCase().contains(str.toLowerCase()) || c0639Le.e.contains(str) || c0639Le.b.toLowerCase().contains(str.toLowerCase()); } }