package o; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import o.InterfaceC9136ddy; import o.ZI; /* loaded from: classes4.dex */ public final class aAS extends cXI { public final C15784ib a; public ID b; private final Gson c; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public aAS(C16903sI c16903sI, C15784ib c15784ib) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c15784ib, ""); this.a = c15784ib; this.c = new Gson(); } /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private aAS b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); aAS.b(this.b, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(aAS aas) { super(1); this.b = aas; } } /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private aAS c; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { aAS.e(this.c); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public RVV(aAS aas) { super(0); this.c = aas; } } public static /* synthetic */ void d(aAS aas) { C14957gcv.e(aas, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aBc @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9136ddy.LWm) obj).a(); } }; if (aas.f != 0) { ieS.e(aas.f); } } public static /* synthetic */ void c(aAS aas) { C14957gcv.e(aas, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aAX @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9136ddy.LWm) obj).a(); } }; if (aas.f != 0) { ieS.e(aas.f); } } public static /* synthetic */ void a(aAS aas, JsonObject jsonObject, InterfaceC9136ddy.LWm lWm) { C14957gcv.e(aas, ""); C14957gcv.e(jsonObject, ""); String json = aas.c.toJson((JsonElement) jsonObject); C14957gcv.c((Object) json, ""); lWm.d(json); } public static final /* synthetic */ void e(aAS aas) { ZI.IeS ieS = new ZI.IeS() { // from class: o.aAW @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9136ddy.LWm) obj).b(); } }; if (aas.f != 0) { ieS.e(aas.f); } } public static final /* synthetic */ void b(final aAS aas, Throwable th) { Runnable runnable = new Runnable(aas) { // from class: o.aAV private aAS e; @Override // java.lang.Runnable public final void run() { aAS.c(this.e); } { this.e = aas; } }; if (aas.b(th)) { aas.d(aas.j.c(th, runnable)); } } static { new Sts((byte) 0); } }