package o; import o.InterfaceC6673cZp; import o.InterfaceC6673cZp.LWm; import o.ZI; import o.wRi; import org.json.JSONObject; /* renamed from: o.cKC, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6148cKC extends ZI { public final Csg a; public RZp c; public C6148cKC(C16903sI c16903sI, RZp rZp, Csg csg) { super(c16903sI); this.c = rZp; this.a = csg; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cKC$3, reason: invalid class name */ /* loaded from: classes4.dex */ public final class AnonymousClass3 extends HBt { private C6148cKC b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass3(C6148cKC c6148cKC) { super(c6148cKC, (byte) 0); this.b = c6148cKC; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final JSONObject jSONObject = (JSONObject) obj; C6148cKC c6148cKC = this.b; ZI.IeS ieS = new ZI.IeS(jSONObject) { // from class: o.cKB private JSONObject e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6673cZp.LWm) obj2).d(this.e); } { this.e = jSONObject; } }; if (c6148cKC.f != 0) { ieS.e(c6148cKC.f); } C6148cKC c6148cKC2 = this.b; if (c6148cKC2.f != 0) { c6148cKC2.f.ar_(); } } } /* renamed from: o.cKC$4, reason: invalid class name */ /* loaded from: classes4.dex */ public class AnonymousClass4 extends HBt { private C6148cKC c; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public AnonymousClass4(C6148cKC c6148cKC) { super(c6148cKC, (byte) 0); this.c = c6148cKC; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C13396fZU c13396fZU = (C13396fZU) obj; C6148cKC c6148cKC = this.c; ZI.IeS ieS = new ZI.IeS(c13396fZU) { // from class: o.cKA private C13396fZU b; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6673cZp.LWm) obj2).b((JSONObject) r0.d, (JSONObject) this.b.e); } { this.b = c13396fZU; } }; if (c6148cKC.f != 0) { ieS.e(c6148cKC.f); } C6148cKC c6148cKC2 = this.c; if (c6148cKC2.f != 0) { c6148cKC2.f.ar_(); } } } /* renamed from: o.cKC$2, reason: invalid class name */ /* loaded from: classes4.dex */ public class AnonymousClass2 extends HBt { private C6148cKC c; private WI d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public AnonymousClass2(C6148cKC c6148cKC, WI wi) { super(c6148cKC, (byte) 0); this.c = c6148cKC; this.d = wi; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final JSONObject jSONObject = (JSONObject) obj; C6148cKC c6148cKC = this.c; final WI wi = this.d; ZI.IeS ieS = new ZI.IeS(jSONObject, wi) { // from class: o.cKz private JSONObject a; private WI e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6673cZp.LWm) obj2).c(this.a, this.e.f); } { this.a = jSONObject; this.e = wi; } }; if (c6148cKC.f != 0) { ieS.e(c6148cKC.f); } C6148cKC c6148cKC2 = this.c; if (c6148cKC2.f != 0) { c6148cKC2.f.ar_(); } } } /* renamed from: o.cKC$HBt */ /* loaded from: classes4.dex */ class HBt extends wRi.LWm { private C6148cKC c; @Override // o.wRi.LWm, o.InterfaceC13174fSv public void onComplete() { } private HBt(C6148cKC c6148cKC) { this.c = c6148cKC; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public void onError(Throwable th) { C6148cKC c6148cKC = this.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.cKD @Override // o.ZI.IeS public final void e(Object obj) { } }; if (c6148cKC.f != 0) { ieS.e(c6148cKC.f); } C6148cKC c6148cKC2 = this.c; if (c6148cKC2.f != 0) { c6148cKC2.f.ar_(); } } /* synthetic */ HBt(C6148cKC c6148cKC, byte b) { this(c6148cKC); } } public final void d(String str) { if (this.f == 0 || str == null || str.equals("")) { return; } if (this.f != 0) { this.f.y(); } this.c.b(str); RZp rZp = this.c; rZp.d(rZp.i, new AnonymousClass3(this)); } }