package o; import java.util.Locale; import o.C0690Mh; import o.ZI; import o.cSV; import o.wRi; import org.threeten.bp.OffsetDateTime; /* loaded from: classes4.dex */ public final class cSV extends ZI { private final DU a; public final mro b; public C1208Ya c; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public cSV(mro mroVar, DU du, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(mroVar, ""); C14957gcv.e(du, ""); C14957gcv.e(c16903sI, ""); this.b = mroVar; this.a = du; } /* loaded from: classes4.dex */ public final class Sts extends wRi.LWm { private final C12780fH a; private cSV b; private final C1208Ya d; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final C17429whj c17429whj = (C17429whj) obj; C14957gcv.e(c17429whj, ""); final cSV csv = this.b; ZI.IeS ieS = new ZI.IeS(this, csv, c17429whj) { // from class: o.cTd private cSV.Sts a; private C17429whj b; private cSV e; @Override // o.ZI.IeS public final void e(Object obj2) { cSV.Sts.e(this.a, this.e, this.b, (InterfaceC6640cYr) obj2); } { this.a = this; this.e = csv; this.b = c17429whj; } }; if (csv.f != 0) { ieS.e(csv.f); } } public Sts(cSV csv, C12780fH c12780fH, C1208Ya c1208Ya) { C14957gcv.e(c12780fH, ""); this.b = csv; this.a = c12780fH; this.d = c1208Ya; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); cSV csv = this.b; C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS; if (csv.b(th)) { csv.d(csv.j.b(th, ieS)); } } public static /* synthetic */ void e(Sts sts, cSV csv, C17429whj c17429whj, InterfaceC6640cYr interfaceC6640cYr) { OffsetDateTime offsetDateTime; C14957gcv.e(sts, ""); C14957gcv.e(csv, ""); C14957gcv.e(c17429whj, ""); interfaceC6640cYr.ar_(); C1208Ya c1208Ya = sts.d; if (c1208Ya != null) { DU du = csv.a; C12780fH c12780fH = sts.a; XY d = XY.d(); d.h = c17429whj.d; d.g = c17429whj.c == null ? "" : (String) C16157lj.c(new Object[]{du, c17429whj.c}, 838289628, -838289623, System.identityHashCode(du)); d.f8445o = c17429whj.b == null ? "" : (String) C16157lj.c(new Object[]{du, c17429whj.b}, 838289628, -838289623, System.identityHashCode(du)); d.a = c1208Ya.b; d.d = c1208Ya.a; d.c = c1208Ya.c; d.j = (String) C16157lj.c(new Object[]{c12780fH.c}, -762291365, 762291369, (int) System.currentTimeMillis()); d.e = c1208Ya.e; d.f = c1208Ya.g; d.i = c1208Ya.j; d.l = (c17429whj.b == null || (offsetDateTime = c17429whj.b) == null) ? "" : offsetDateTime.format(C15554gto.ofPattern("yyyy-MM-dd HH-mm-ss", Locale.ENGLISH)); d.b = c1208Ya.d; C14957gcv.c(d, ""); interfaceC6640cYr.c(d); } } } @Override // o.ZI public final void w_() { mro mroVar = this.b; if (!mroVar.h.isDisposed()) { mroVar.h.dispose(); } super.w_(); } public static /* synthetic */ void e(String str, String str2, InterfaceC6640cYr interfaceC6640cYr) { C14957gcv.e(interfaceC6640cYr, ""); if (str != null && !C14957gcv.b((Object) "CCW_CASA", (Object) str) && str2 != null) { interfaceC6640cYr.e(str2); } else { interfaceC6640cYr.a(); } } public static /* synthetic */ void c(C1208Ya c1208Ya, InterfaceC6640cYr interfaceC6640cYr) { C14957gcv.e(c1208Ya, ""); interfaceC6640cYr.d(c1208Ya); } }