Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0
以下内容为反编译后的 v.java 源代码,内容仅作参考
package b2;
import android.net.Uri;
import android.text.TextUtils;
import b2.n;
import com.google.common.collect.k0;
import com.ironsource.j4;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import s1.e0;
import s1.f0;
import u1.e;
import u1.j;
public final class v implements x {
public final e.a f3640a;
public final String f3641b;
public final boolean f3642c;
public final HashMap f3643d;
public v(String str, boolean z10, j.a aVar) {
boolean z11;
if (z10 && TextUtils.isEmpty(str)) {
z11 = false;
} else {
z11 = true;
}
f0.b(z11);
this.f3640a = aVar;
this.f3641b = str;
this.f3642c = z10;
this.f3643d = new HashMap();
}
public static byte[] b(e.a aVar, String str, byte[] bArr, Map<String, String> map) throws y {
int i;
Map<String, List<String>> map2;
List<String> list;
String str2;
u1.u uVar = new u1.u(aVar.a());
Collections.emptyMap();
Uri parse = Uri.parse(str);
f0.h(parse, "The uri must be set.");
String str3 = "The uri must be set.";
u1.h hVar = new u1.h(parse, 0L, 2, bArr, map, 0L, -1L, null, 1, null);
int i10 = 0;
int i11 = 0;
u1.h hVar2 = hVar;
while (true) {
try {
u1.g gVar = new u1.g(uVar, hVar2);
try {
int i12 = e0.f30451a;
byte[] bArr2 = new byte[4096];
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
while (true) {
int read = gVar.read(bArr2);
if (read == -1) {
break;
}
byteArrayOutputStream.write(bArr2, i10, read);
}
byte[] byteArray = byteArrayOutputStream.toByteArray();
int i13 = e0.f30451a;
try {
gVar.close();
} catch (IOException unused) {
}
return byteArray;
} catch (u1.q e10) {
int i14 = e10.f31295d;
if ((i14 == 307 || i14 == 308) && i11 < 5) {
i = 1;
} else {
i = i10;
}
if (i != 0 && (map2 = e10.f31296e) != null && (list = map2.get("Location")) != null && !list.isEmpty()) {
str2 = list.get(i10);
if (str2 == null) {
int i15 = i11 + 1;
long j4 = hVar2.f31251b;
int i16 = hVar2.f31252c;
byte[] bArr3 = hVar2.f31253d;
Map<String, String> map3 = hVar2.f31254e;
long j10 = hVar2.f31255f;
long j11 = hVar2.f31256g;
String str4 = hVar2.f31257h;
int i17 = hVar2.i;
Object obj = hVar2.f31258j;
Uri parse2 = Uri.parse(str2);
String str5 = str3;
f0.h(parse2, str5);
u1.h hVar3 = new u1.h(parse2, j4, i16, bArr3, map3, j10, j11, str4, i17, obj);
int i18 = e0.f30451a;
try {
gVar.close();
} catch (IOException unused2) {
}
str3 = str5;
hVar2 = hVar3;
i10 = 0;
i11 = i15;
} else {
throw e10;
}
}
str2 = null;
if (str2 == null) {
}
}
} catch (Exception e11) {
Uri uri = uVar.f31308c;
uri.getClass();
throw new y(hVar, uri, uVar.g(), uVar.f31307b, e11);
}
}
}
public final byte[] a(UUID uuid, n.a aVar) throws y {
String str;
String str2 = aVar.f3627b;
if (this.f3642c || TextUtils.isEmpty(str2)) {
str2 = this.f3641b;
}
if (!TextUtils.isEmpty(str2)) {
HashMap hashMap = new HashMap();
UUID uuid2 = p1.h.f27947e;
if (uuid2.equals(uuid)) {
str = "text/xml";
} else if (p1.h.f27945c.equals(uuid)) {
str = j4.J;
} else {
str = "application/octet-stream";
}
hashMap.put(j4.I, str);
if (uuid2.equals(uuid)) {
hashMap.put("SOAPAction", "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense");
}
synchronized (this.f3643d) {
hashMap.putAll(this.f3643d);
}
return b(this.f3640a, str2, aVar.f3626a, hashMap);
}
Map emptyMap = Collections.emptyMap();
Uri uri = Uri.EMPTY;
f0.h(uri, "The uri must be set.");
throw new y(new u1.h(uri, 0L, 1, null, emptyMap, 0L, -1L, null, 0, null), Uri.EMPTY, k0.f17594g, 0L, new IllegalStateException("No license URL"));
}
public final byte[] c(n.d dVar) throws y {
return b(this.f3640a, dVar.f3629b + "&signedRequest=" + e0.n(dVar.f3628a), null, Collections.emptyMap());
}
}