package o; import java.util.List; import java.util.Objects; import o.C0690Mh; import o.C6995cft; import o.InterfaceC8954dab; import o.ZI; import o.wRi; /* renamed from: o.cft, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6995cft extends ZI { public final C14806gBo b; public C7253ckm c; public List d; private final C17693yv e; @InterfaceC13391fZD public C6995cft(C16903sI c16903sI, C14806gBo c14806gBo, C17693yv c17693yv) { super(c16903sI); this.b = c14806gBo; this.e = c17693yv; } /* renamed from: o.cft$Sts */ /* loaded from: classes4.dex */ public class Sts extends wRi.LWm> { private C6995cft a; private Sts(C6995cft c6995cft) { this.a = c6995cft; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final List list = (List) obj; C6995cft.e(this.a); this.a.d = list; if (list.isEmpty()) { return; } this.a.c = (C7253ckm) list.get(0); C6995cft c6995cft = this.a; ZI.IeS ieS = new ZI.IeS(this, list) { // from class: o.cfA private List a; private C6995cft.Sts c; @Override // o.ZI.IeS public final void e(Object obj2) { C6995cft.Sts.b(this.c, this.a, (InterfaceC8954dab.vUG) obj2); } { this.c = this; this.a = list; } }; if (c6995cft.f != 0) { ieS.e(c6995cft.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C6995cft.a(this.a); C6995cft.a(this.a, th, C0690Mh.IeS.JUST_DISMISS); } public static /* synthetic */ void b(Sts sts, List list, InterfaceC8954dab.vUG vug) { C17693yv unused = sts.a.e; final C17693yv c17693yv = sts.a.e; Objects.requireNonNull(c17693yv); vug.d((List) C16157lj.c(new Object[]{list, new InterfaceC1244Ytw(c17693yv) { // from class: o.cfv private C17693yv a; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C17693yv.b((C7253ckm) obj); } { this.a = c17693yv; } }}, -1846295624, 1846295631, (int) System.currentTimeMillis())); vug.a(); } public /* synthetic */ Sts(C6995cft c6995cft, byte b) { this(c6995cft); } } static /* synthetic */ void e(C6995cft c6995cft) { if (c6995cft.f != 0) { c6995cft.f.ar_(); } } static /* synthetic */ void a(C6995cft c6995cft) { if (c6995cft.f != 0) { c6995cft.f.ar_(); } } static /* synthetic */ void a(C6995cft c6995cft, Throwable th, C0690Mh.IeS ieS) { if (c6995cft.b(th)) { c6995cft.d(c6995cft.j.d(th, ieS)); } } }