package o; import android.text.TextUtils; import o.C0690Mh; import o.C15715hv; import o.C6134cJo; import o.InterfaceC6673cZp; import o.ZI; import o.wRi; /* renamed from: o.cJo, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6134cJo extends ZI { public final C16124lSp a; public WM b; public String c; public WG d; private final CN e; private final C17473wz i; @InterfaceC13391fZD public C6134cJo(C16124lSp c16124lSp, C17473wz c17473wz, CN cn, C16903sI c16903sI) { super(c16903sI); this.a = c16124lSp; this.i = c17473wz; this.e = cn; } /* renamed from: o.cJo$RVV */ /* loaded from: classes4.dex */ public class RVV extends wRi.LWm { private C6134cJo a; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { } private RVV(C6134cJo c6134cJo) { this.a = c6134cJo; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final nzt nztVar = (nzt) obj; C6134cJo.f(this.a); C16124lSp c16124lSp = this.a.a; Wnw wnw = new Wnw(); wnw.e = this.a.c; wnw.d = String.valueOf(this.a.b.f); wnw.b = this.a.b.i; String str = nztVar.d; String str2 = nztVar.c; if (!this.a.a.a.M().equals("th") ? !TextUtils.isEmpty(str2) : TextUtils.isEmpty(str)) { str = str2; } wnw.g = str; wnw.j = this.a.d.a; wnw.a = this.a.d.a; wnw.c = this.a.d.d; c16124lSp.d(wnw); C6134cJo c6134cJo = this.a; ZI.IeS ieS = new ZI.IeS(this, nztVar) { // from class: o.cJB private nzt d; private C6134cJo.RVV e; @Override // o.ZI.IeS public final void e(Object obj2) { C6134cJo.RVV.b(this.e, this.d, (InterfaceC6673cZp.RVV) obj2); } { this.e = this; this.d = nztVar; } }; if (c6134cJo.f != 0) { ieS.e(c6134cJo.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C6134cJo.a(this.a, th, C0690Mh.IeS.JUST_DISMISS); } public static /* synthetic */ void b(RVV rvv, nzt nztVar, InterfaceC6673cZp.RVV rvv2) { C17473wz c17473wz = rvv.a.i; rvv2.b(C17473wz.c(c17473wz.e.getString(C15715hv.tOB.gifts_selection_title), nztVar.b)); } public /* synthetic */ RVV(C6134cJo c6134cJo, byte b) { this(c6134cJo); } } static /* synthetic */ void a(C6134cJo c6134cJo, Throwable th, C0690Mh.IeS ieS) { if (c6134cJo.b(th)) { c6134cJo.d(c6134cJo.j.d(th, ieS)); } } static /* synthetic */ void f(C6134cJo c6134cJo) { if (c6134cJo.f != 0) { c6134cJo.f.ar_(); } } }