MD5 校验值:b359069a22e95e2832438c301625aae5
u.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package id; import android.content.Context; import com.google.firebase.firestore.s; import vf.g; import vf.g1; import vf.v0; import vf.w0; public class u { private static final v0.g<String> f17611g; private static final v0.g<String> f17612h; private static final v0.g<String> f17613i; private static volatile String f17614j; private final jd.g f17615a; private final ad.a<ad.j> f17616b; private final ad.a<String> f17617c; private final d0 f17618d; private final String f17619e; private final e0 f17620f; public class a extends g.a { final f0 f17621a; final vf.g[] f17622b; a(f0 f0Var, vf.g[] gVarArr) { this.f17621a = f0Var; this.f17622b = gVarArr; } @Override public void a(g1 g1Var, vf.v0 v0Var) { try { this.f17621a.b(g1Var); } catch (Throwable th) { u.this.f17615a.u(th); } } @Override public void b(vf.v0 v0Var) { try { this.f17621a.c(v0Var); } catch (Throwable th) { u.this.f17615a.u(th); } } @Override public void c(Object obj) { try { this.f17621a.d(obj); this.f17622b[0].c(1); } catch (Throwable th) { u.this.f17615a.u(th); } } @Override public void d() { } } class b<ReqT, RespT> extends vf.z<ReqT, RespT> { final vf.g[] f17624a; final ab.i f17625b; b(vf.g[] gVarArr, ab.i iVar) { this.f17624a = gVarArr; this.f17625b = iVar; } @Override public void b() { if (this.f17624a[0] == null) { this.f17625b.h(u.this.f17615a.o(), new ab.f() { @Override public final void b(Object obj) { ((vf.g) obj).b(); } }); } else { super.b(); } } @Override protected vf.g<ReqT, RespT> f() { jd.b.d(this.f17624a[0] != null, "ClientCall used before onOpen() callback", new Object[0]); return this.f17624a[0]; } } public class c extends g.a { final e f17627a; final vf.g f17628b; c(e eVar, vf.g gVar) { this.f17627a = eVar; this.f17628b = gVar; } @Override public void a(g1 g1Var, vf.v0 v0Var) { this.f17627a.a(g1Var); } @Override public void c(Object obj) { this.f17627a.b(obj); this.f17628b.c(1); } } public class d extends g.a { final ab.j f17630a; d(ab.j jVar) { this.f17630a = jVar; } @Override public void a(g1 g1Var, vf.v0 v0Var) { if (!g1Var.o()) { this.f17630a.b(u.this.f(g1Var)); } else { if (this.f17630a.a().p()) { return; } this.f17630a.b(new com.google.firebase.firestore.s("Received onClose with status OK, but no message.", s.a.INTERNAL)); } } @Override public void c(Object obj) { this.f17630a.c(obj); } } public static abstract class e<T> { public abstract void a(g1 g1Var); public abstract void b(T t10); } static { v0.d<String> dVar = vf.v0.f24241e; f17611g = v0.g.e("x-goog-api-client", dVar); f17612h = v0.g.e("google-cloud-resource-prefix", dVar); f17613i = v0.g.e("x-goog-request-params", dVar); f17614j = "gl-java/"; } public u(jd.g gVar, Context context, ad.a<ad.j> aVar, ad.a<String> aVar2, cd.m mVar, e0 e0Var) { this.f17615a = gVar; this.f17620f = e0Var; this.f17616b = aVar; this.f17617c = aVar2; this.f17618d = new d0(gVar, context, mVar, new q(aVar, aVar2)); fd.f a10 = mVar.a(); this.f17619e = String.format("projects/%s/databases/%s", a10.n(), a10.m()); } public com.google.firebase.firestore.s f(g1 g1Var) { return m.h(g1Var) ? new com.google.firebase.firestore.s("The Cloud Firestore client failed to establish a secure connection. This is likely a problem with your app, rather than with Cloud Firestore itself. See https://bit.ly/2XFpdma for instructions on how to enable TLS on Android 4.x devices.", s.a.g(g1Var.m().l()), g1Var.l()) : jd.g0.r(g1Var); } private String g() { return String.format("%s fire/%s grpc/", f17614j, "24.3.1"); } public void i(vf.g[] gVarArr, f0 f0Var, ab.i iVar) { gVarArr[0] = (vf.g) iVar.m(); gVarArr[0].e(new a(f0Var, gVarArr), l()); f0Var.a(); gVarArr[0].c(1); } public void j(ab.j jVar, Object obj, ab.i iVar) { vf.g gVar = (vf.g) iVar.m(); gVar.e(new d(jVar), l()); gVar.c(2); gVar.d(obj); gVar.b(); } public void k(e eVar, Object obj, ab.i iVar) { vf.g gVar = (vf.g) iVar.m(); gVar.e(new c(eVar, gVar), l()); gVar.c(1); gVar.d(obj); gVar.b(); } private vf.v0 l() { vf.v0 v0Var = new vf.v0(); v0Var.p(f17611g, g()); v0Var.p(f17612h, this.f17619e); v0Var.p(f17613i, this.f17619e); e0 e0Var = this.f17620f; if (e0Var != null) { e0Var.a(v0Var); } return v0Var; } public static void p(String str) { f17614j = str; } public void h() { this.f17616b.b(); this.f17617c.b(); } public <ReqT, RespT> vf.g<ReqT, RespT> m(w0<ReqT, RespT> w0Var, final f0<RespT> f0Var) { final vf.g[] gVarArr = {null}; ab.i<vf.g<ReqT, RespT>> i10 = this.f17618d.i(w0Var); i10.d(this.f17615a.o(), new ab.d() { @Override public final void a(ab.i iVar) { u.this.i(gVarArr, f0Var, iVar); } }); return new b(gVarArr, i10); } public <ReqT, RespT> ab.i<RespT> n(w0<ReqT, RespT> w0Var, final ReqT reqt) { final ab.j jVar = new ab.j(); this.f17618d.i(w0Var).d(this.f17615a.o(), new ab.d() { @Override public final void a(ab.i iVar) { u.this.j(jVar, reqt, iVar); } }); return jVar.a(); } public <ReqT, RespT> void o(w0<ReqT, RespT> w0Var, final ReqT reqt, final e<RespT> eVar) { this.f17618d.i(w0Var).d(this.f17615a.o(), new ab.d() { @Override public final void a(ab.i iVar) { u.this.k(eVar, reqt, iVar); } }); } public void q() { this.f17618d.u(); } }