正在查看: 万能钥匙 v1.1.23 应用的 a.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 a.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package ca0;
import ah0.l;
import ah0.q;
import androidx.core.app.NotificationCompat;
import com.facebook.react.uimanager.events.o;
import com.finogeeks.lib.applet.db.entity.BackgroundFetchData;
import com.finogeeks.lib.applet.modules.log.FLogCommonTag;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.sdk.plus.data.manager.RalDataManager;
import hl0.j;
import java.io.IOException;
import kotlin.Metadata;
import kotlin.jvm.internal.p;
import lg0.e0;
import mk.i;
import sk0.a0;
import sk0.c0;
import sk0.d0;
import sk0.f0;
import sk0.y;
import sk0.z;
@Metadata(d1 = {"\u0000Z\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0003\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0000\u0018\u0000 \u00172\u00020\u0001:\u0001\u0013B\u0007¢\u0006\u0004\b\u0002\u0010\u0003Je\u0010\u0010\u001a\u00020\u000b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\b\u0010\b\u001a\u0004\u0018\u00010\u00062$\b\u0002\u0010\f\u001a\u001e\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\t2\u0016\b\u0002\u0010\u000f\u001a\u0010\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u00020\u000b\u0018\u00010\r¢\u0006\u0004\b\u0010\u0010\u0011JQ\u0010\u0013\u001a\u0004\u0018\u00010\u00122\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u00062\b\u0010\b\u001a\u0004\u0018\u00010\u00062$\b\u0002\u0010\f\u001a\u001e\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\tH\u0002¢\u0006\u0004\b\u0013\u0010\u0014J\u0017\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0015\u001a\u00020\u0012H\u0002¢\u0006\u0004\b\u0017\u0010\u0018J?\u0010\u001e\u001a\u00020\u000b2\u0006\u0010\u0019\u001a\u00020\u00162\u0012\u0010\u001b\u001a\u000e\u0012\u0004\u0012\u00020\u001a\u0012\u0004\u0012\u00020\u000b0\r2\u0012\u0010\u001d\u001a\u000e\u0012\u0004\u0012\u00020\u001c\u0012\u0004\u0012\u00020\u000b0\rH\u0002¢\u0006\u0004\b\u001e\u0010\u001fR\u0014\u0010\"\u001a\u00020 8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0013\u0010!¨\u0006#"}, d2 = {"Lca0/a;", "", "<init>", "()V", "Lca0/e;", "uploadSource", "", BackgroundFetchData.TOKEN, RalDataManager.DB_KEY, "Lkotlin/Function3;", "", "Llg0/e0;", "progress", "Lkotlin/Function1;", "Lca0/d;", "callback", bg.d.f9423d, "(Lca0/e;Ljava/lang/String;Ljava/lang/String;Lah0/q;Lah0/l;)V", "Lsk0/d0;", "a", "(Lca0/e;Ljava/lang/String;Ljava/lang/String;Lah0/q;)Lsk0/d0;", "requestBody", "Lsk0/c0;", bg.b.f9417c, "(Lsk0/d0;)Lsk0/c0;", FLogCommonTag.REQUEST, "", "onFailed", "Lsk0/e0;", "onResponse", r0.c.f68529d, "(Lsk0/c0;Lah0/l;Lah0/l;)V", "Lsk0/a0;", "Lsk0/a0;", "client", "svc-upload_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class a {
public static ChangeQuickRedirect changeQuickRedirect;
public final a0 client = new a0();
@Metadata(d1 = {"\u0000'\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u000f\u0010\u0003\u001a\u00020\u0002H\u0016¢\u0006\u0004\b\u0003\u0010\u0004J\u000f\u0010\u0006\u001a\u00020\u0005H\u0016¢\u0006\u0004\b\u0006\u0010\u0007J\u0017\u0010\u000b\u001a\u00020\n2\u0006\u0010\t\u001a\u00020\bH\u0016¢\u0006\u0004\b\u000b\u0010\f¨\u0006\r"}, d2 = {"ca0/a$b", "Lsk0/d0;", "Lsk0/y;", bg.b.f9417c, "()Lsk0/y;", "", "a", "()J", "Lhl0/f;", "sink", "Llg0/e0;", i.f59902x, "(Lhl0/f;)V", "svc-upload_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class b extends d0 {
public static ChangeQuickRedirect changeQuickRedirect;
public final z f10590b;
public final q<String, Long, Long, e0> f10591c;
public final String f10592d;
@Metadata(d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u001f\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0007\u0010\bR\"\u0010\u000f\u001a\u00020\u00048\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000e¨\u0006\u0010"}, d2 = {"ca0/a$b$a", "Lhl0/j;", "Lhl0/e;", "source", "", "byteCount", "Llg0/e0;", o.f16820f, "(Lhl0/e;J)V", bg.b.f9417c, "J", "getBytesWritten", "()J", "setBytesWritten", "(J)V", "bytesWritten", "svc-upload_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class C0318a extends j {
public static ChangeQuickRedirect changeQuickRedirect;
public long bytesWritten;
public final q<String, Long, Long, e0> f10594c;
public final String f10595d;
public final b f10596e;
public C0318a(hl0.f fVar, q<? super String, ? super Long, ? super Long, e0> qVar, String str, b bVar) {
super(fVar);
this.f10594c = qVar;
this.f10595d = str;
this.f10596e = bVar;
}
@Override
public void o(hl0.e source, long byteCount) {
if (PatchProxy.proxy(new Object[]{source, new Long(byteCount)}, this, changeQuickRedirect, false, 48876, new Class[]{hl0.e.class, Long.TYPE}, Void.TYPE).isSupported) {
return;
}
super.o(source, byteCount);
long j11 = this.bytesWritten + byteCount;
this.bytesWritten = j11;
q<String, Long, Long, e0> qVar = this.f10594c;
if (qVar != null) {
qVar.invoke(this.f10595d, Long.valueOf(j11), Long.valueOf(this.f10596e.a()));
}
}
}
public b(z zVar, q<? super String, ? super Long, ? super Long, e0> qVar, String str) {
this.f10590b = zVar;
this.f10591c = qVar;
this.f10592d = str;
}
@Override
public long a() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 48874, new Class[0], Long.TYPE);
return proxy.isSupported ? ((Long) proxy.result).longValue() : this.f10590b.a();
}
@Override
public y getContentType() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 48873, new Class[0], y.class);
return proxy.isSupported ? (y) proxy.result : this.f10590b.getContentType();
}
@Override
public void i(hl0.f sink) {
if (PatchProxy.proxy(new Object[]{sink}, this, changeQuickRedirect, false, 48875, new Class[]{hl0.f.class}, Void.TYPE).isSupported) {
return;
}
C0318a c0318a = new C0318a(sink, this.f10591c, this.f10592d, this);
hl0.e eVar = new hl0.e();
this.f10590b.i(eVar);
eVar.f1(c0318a);
}
}
@Metadata(d1 = {"\u0000%\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u001f\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0007\u0010\bJ\u001f\u0010\u000b\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\n\u001a\u00020\tH\u0016¢\u0006\u0004\b\u000b\u0010\f¨\u0006\r"}, d2 = {"ca0/a$c", "Lsk0/f;", "Lsk0/e;", NotificationCompat.CATEGORY_CALL, "Ljava/io/IOException;", "e", "Llg0/e0;", "f", "(Lsk0/e;Ljava/io/IOException;)V", "Lsk0/e0;", "response", r0.c.f68529d, "(Lsk0/e;Lsk0/e0;)V", "svc-upload_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class c implements sk0.f {
public static ChangeQuickRedirect changeQuickRedirect;
public final l<Throwable, e0> f10597a;
public final l<sk0.e0, e0> f10598b;
public c(l<? super Throwable, e0> lVar, l<? super sk0.e0, e0> lVar2) {
this.f10597a = lVar;
this.f10598b = lVar2;
}
@Override
public void c(sk0.e call, sk0.e0 response) {
if (PatchProxy.proxy(new Object[]{call, response}, this, changeQuickRedirect, false, 48878, new Class[]{sk0.e.class, sk0.e0.class}, Void.TYPE).isSupported) {
return;
}
this.f10598b.invoke(response);
}
@Override
public void f(sk0.e call, IOException e11) {
if (PatchProxy.proxy(new Object[]{call, e11}, this, changeQuickRedirect, false, 48877, new Class[]{sk0.e.class, IOException.class}, Void.TYPE).isSupported) {
return;
}
e11.printStackTrace();
this.f10597a.invoke(e11);
}
}
@Metadata(d1 = {"\u0000\u000e\n\u0002\u0010\u0003\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"", "it", "Llg0/e0;", "invoke", "(Ljava/lang/Throwable;)V", "<anonymous>"}, k = 3, mv = {1, 8, 0})
public static final class d extends p implements l<Throwable, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final l<ca0.d, e0> f10599s;
public final String f10600t;
public d(l<? super ca0.d, e0> lVar, String str) {
super(1);
this.f10599s = lVar;
this.f10600t = str;
}
@Override
public e0 invoke(Throwable th2) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{th2}, this, changeQuickRedirect, false, 48880, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
invoke2(th2);
return e0.f58580a;
}
public final void invoke2(Throwable th2) {
l<ca0.d, e0> lVar;
if (PatchProxy.proxy(new Object[]{th2}, this, changeQuickRedirect, false, 48879, new Class[]{Throwable.class}, Void.TYPE).isSupported || (lVar = this.f10599s) == null) {
return;
}
lVar.invoke(new ca0.d(ca0.b.REQUEST_EXCEPTION, this.f10600t, null, null, null, th2, 28, null));
}
}
@Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lsk0/e0;", "response", "Llg0/e0;", "a", "(Lsk0/e0;)V"}, k = 3, mv = {1, 8, 0})
public static final class e extends p implements l<sk0.e0, e0> {
public static ChangeQuickRedirect changeQuickRedirect;
public final l<ca0.d, e0> f10601s;
public final String f10602t;
public e(l<? super ca0.d, e0> lVar, String str) {
super(1);
this.f10601s = lVar;
this.f10602t = str;
}
public final void a(sk0.e0 e0Var) {
if (PatchProxy.proxy(new Object[]{e0Var}, this, changeQuickRedirect, false, 48881, new Class[]{sk0.e0.class}, Void.TYPE).isSupported) {
return;
}
try {
l<ca0.d, e0> lVar = this.f10601s;
if (lVar != null) {
ca0.b bVar = e0Var.q0() ? ca0.b.SUCCESS : ca0.b.RESPONSE_FAILED;
String str = this.f10602t;
f0 f0Var = e0Var.getCom.google.android.inner_exoplayer2.text.ttml.TtmlNode.TAG_BODY java.lang.String();
lVar.invoke(new ca0.d(bVar, str, f0Var != null ? f0Var.u() : null, Integer.valueOf(e0Var.getCode()), e0Var.getMessage(), null, 32, null));
}
ca0.c.a(e0Var);
} catch (Throwable th2) {
ca0.c.a(e0Var);
throw th2;
}
}
@Override
public e0 invoke(sk0.e0 e0Var) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{e0Var}, this, changeQuickRedirect, false, 48882, new Class[]{Object.class}, Object.class);
if (proxy.isSupported) {
return proxy.result;
}
a(e0Var);
return e0.f58580a;
}
}
public final d0 a(ca0.e uploadSource, String token, String key, q<? super String, ? super Long, ? super Long, e0> progress) {
d0 l11;
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uploadSource, token, key, progress}, this, changeQuickRedirect, false, 48869, new Class[]{ca0.e.class, String.class, String.class, q.class}, d0.class);
if (proxy.isSupported) {
return (d0) proxy.result;
}
byte[] a11 = uploadSource.a();
if (a11 == null || (l11 = d0.Companion.l(d0.INSTANCE, a11, y.INSTANCE.b("application/octet-stream"), 0, 0, 6, null)) == null) {
return null;
}
z.a aVar = new z.a(null, 1, null);
aVar.f(z.f71463l);
aVar.b("file", null, l11);
if (key != null) {
aVar.a(RalDataManager.DB_KEY, key);
}
aVar.a(BackgroundFetchData.TOKEN, token);
return new b(aVar.e(), progress, key);
}
public final c0 b(d0 requestBody) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{requestBody}, this, changeQuickRedirect, false, 48871, new Class[]{d0.class}, c0.class);
return proxy.isSupported ? (c0) proxy.result : new c0.a().l("https://up-z0.qiniup.com").h(requestBody).b();
}
public final void c(c0 request, l<? super Throwable, e0> onFailed, l<? super sk0.e0, e0> onResponse) {
if (PatchProxy.proxy(new Object[]{request, onFailed, onResponse}, this, changeQuickRedirect, false, 48872, new Class[]{c0.class, l.class, l.class}, Void.TYPE).isSupported) {
return;
}
this.client.a(request).r0(new c(onFailed, onResponse));
}
public final void d(ca0.e uploadSource, String token, String key, q<? super String, ? super Long, ? super Long, e0> progress, l<? super ca0.d, e0> callback) {
if (PatchProxy.proxy(new Object[]{uploadSource, token, key, progress, callback}, this, changeQuickRedirect, false, 48867, new Class[]{ca0.e.class, String.class, String.class, q.class, l.class}, Void.TYPE).isSupported) {
return;
}
d0 a11 = a(uploadSource, token, key, progress);
if (a11 == null) {
if (callback != null) {
callback.invoke(new ca0.d(ca0.b.PARAMS_ILLEGAL, key, null, null, null, null, 60, null));
}
} else {
try {
c(b(a11), new d(callback, key), new e(callback, key));
} catch (Throwable th2) {
if (callback != null) {
callback.invoke(new ca0.d(ca0.b.REQUEST_EXCEPTION, key, null, null, null, th2, 28, null));
}
}
}
}
}