discord-jadx/app/src/main/java/c/i/a/c/v0.java

349 lines
11 KiB
Java

package c.i.a.c;
import android.net.Uri;
import androidx.annotation.Nullable;
import c.i.a.c.i2.f0;
import com.airbnb.lottie.parser.AnimatableValueParser;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;
/* compiled from: MediaItem */
public final class v0 {
public final String a;
@Nullable
public final g b;
/* renamed from: c reason: collision with root package name */
public final f f977c;
public final w0 d;
public final d e;
/* compiled from: MediaItem */
public static final class b {
public final Uri a;
@Nullable
public final Object b;
public b(Uri uri, Object obj, a aVar) {
this.a = uri;
this.b = obj;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof b)) {
return false;
}
b bVar = (b) obj;
return this.a.equals(bVar.a) && f0.a(this.b, bVar.b);
}
public int hashCode() {
int hashCode = this.a.hashCode() * 31;
Object obj = this.b;
return hashCode + (obj != null ? obj.hashCode() : 0);
}
}
/* compiled from: MediaItem */
public static final class c {
public float A = -3.4028235E38f;
@Nullable
public String a;
@Nullable
public Uri b;
@Nullable
/* renamed from: c reason: collision with root package name */
public String f978c;
public long d;
public boolean e;
public boolean f;
public boolean g;
@Nullable
public Uri h;
public Map<String, String> i = Collections.emptyMap();
@Nullable
public UUID j;
public boolean k;
public boolean l;
public boolean m;
public List<Integer> n = Collections.emptyList();
@Nullable
public byte[] o;
public List<?> p = Collections.emptyList();
@Nullable
public String q;
public List<?> r = Collections.emptyList();
@Nullable
/* renamed from: s reason: collision with root package name */
public Uri f979s;
@Nullable
public Object t;
@Nullable
public Object u;
@Nullable
public w0 v;
public long w = -9223372036854775807L;
/* renamed from: x reason: collision with root package name */
public long f980x = -9223372036854775807L;
/* renamed from: y reason: collision with root package name */
public long f981y = -9223372036854775807L;
/* renamed from: z reason: collision with root package name */
public float f982z = -3.4028235E38f;
public v0 a() {
g gVar;
AnimatableValueParser.D(this.h == null || this.j != null);
Uri uri = this.b;
if (uri != null) {
String str = this.f978c;
UUID uuid = this.j;
e eVar = uuid != null ? new e(uuid, this.h, this.i, this.k, this.m, this.l, this.n, this.o, null) : null;
Uri uri2 = this.f979s;
g gVar2 = new g(uri, str, eVar, uri2 != null ? new b(uri2, this.t, null) : null, this.p, this.q, this.r, this.u, null);
String str2 = this.a;
if (str2 == null) {
str2 = uri.toString();
}
this.a = str2;
gVar = gVar2;
} else {
gVar = null;
}
String str3 = this.a;
Objects.requireNonNull(str3);
d dVar = new d(this.d, Long.MIN_VALUE, this.e, this.f, this.g, null);
f fVar = new f(this.w, this.f980x, this.f981y, this.f982z, this.A);
w0 w0Var = this.v;
if (w0Var == null) {
w0Var = new w0(null, null);
}
return new v0(str3, dVar, gVar, fVar, w0Var, null);
}
}
/* compiled from: MediaItem */
public static final class d {
public final long a;
public final long b;
/* renamed from: c reason: collision with root package name */
public final boolean f983c;
public final boolean d;
public final boolean e;
public d(long j, long j2, boolean z2, boolean z3, boolean z4, a aVar) {
this.a = j;
this.b = j2;
this.f983c = z2;
this.d = z3;
this.e = z4;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof d)) {
return false;
}
d dVar = (d) obj;
return this.a == dVar.a && this.b == dVar.b && this.f983c == dVar.f983c && this.d == dVar.d && this.e == dVar.e;
}
public int hashCode() {
long j = this.a;
long j2 = this.b;
return (((((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.f983c ? 1 : 0)) * 31) + (this.d ? 1 : 0)) * 31) + (this.e ? 1 : 0);
}
}
/* compiled from: MediaItem */
public static final class e {
public final UUID a;
@Nullable
public final Uri b;
/* renamed from: c reason: collision with root package name */
public final Map<String, String> f984c;
public final boolean d;
public final boolean e;
public final boolean f;
public final List<Integer> g;
@Nullable
public final byte[] h;
public e(UUID uuid, Uri uri, Map map, boolean z2, boolean z3, boolean z4, List list, byte[] bArr, a aVar) {
AnimatableValueParser.k(!z3 || uri != null);
this.a = uuid;
this.b = uri;
this.f984c = map;
this.d = z2;
this.f = z3;
this.e = z4;
this.g = list;
this.h = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof e)) {
return false;
}
e eVar = (e) obj;
return this.a.equals(eVar.a) && f0.a(this.b, eVar.b) && f0.a(this.f984c, eVar.f984c) && this.d == eVar.d && this.f == eVar.f && this.e == eVar.e && this.g.equals(eVar.g) && Arrays.equals(this.h, eVar.h);
}
public int hashCode() {
int hashCode = this.a.hashCode() * 31;
Uri uri = this.b;
int hashCode2 = uri != null ? uri.hashCode() : 0;
int hashCode3 = this.f984c.hashCode();
return Arrays.hashCode(this.h) + ((this.g.hashCode() + ((((((((hashCode3 + ((hashCode + hashCode2) * 31)) * 31) + (this.d ? 1 : 0)) * 31) + (this.f ? 1 : 0)) * 31) + (this.e ? 1 : 0)) * 31)) * 31);
}
}
/* compiled from: MediaItem */
public static final class f {
public final long a;
public final long b;
/* renamed from: c reason: collision with root package name */
public final long f985c;
public final float d;
public final float e;
public f(long j, long j2, long j3, float f, float f2) {
this.a = j;
this.b = j2;
this.f985c = j3;
this.d = f;
this.e = f2;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof f)) {
return false;
}
f fVar = (f) obj;
return this.a == fVar.a && this.b == fVar.b && this.f985c == fVar.f985c && this.d == fVar.d && this.e == fVar.e;
}
public int hashCode() {
long j = this.a;
long j2 = this.b;
long j3 = this.f985c;
int i = ((((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31) + ((int) (j3 ^ (j3 >>> 32)))) * 31;
float f = this.d;
int i2 = 0;
int floatToIntBits = (i + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31;
float f2 = this.e;
if (f2 != 0.0f) {
i2 = Float.floatToIntBits(f2);
}
return floatToIntBits + i2;
}
}
/* compiled from: MediaItem */
public static final class g {
public final Uri a;
@Nullable
public final String b;
@Nullable
/* renamed from: c reason: collision with root package name */
public final e f986c;
@Nullable
public final b d;
public final List<?> e;
@Nullable
public final String f;
public final List<?> g;
@Nullable
public final Object h;
public g(Uri uri, String str, e eVar, b bVar, List list, String str2, List list2, Object obj, a aVar) {
this.a = uri;
this.b = str;
this.f986c = eVar;
this.d = bVar;
this.e = list;
this.f = str2;
this.g = list2;
this.h = obj;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof g)) {
return false;
}
g gVar = (g) obj;
return this.a.equals(gVar.a) && f0.a(this.b, gVar.b) && f0.a(this.f986c, gVar.f986c) && f0.a(this.d, gVar.d) && this.e.equals(gVar.e) && f0.a(this.f, gVar.f) && this.g.equals(gVar.g) && f0.a(this.h, gVar.h);
}
public int hashCode() {
int hashCode = this.a.hashCode() * 31;
String str = this.b;
int i = 0;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
e eVar = this.f986c;
int hashCode3 = (hashCode2 + (eVar == null ? 0 : eVar.hashCode())) * 31;
b bVar = this.d;
int hashCode4 = (this.e.hashCode() + ((hashCode3 + (bVar == null ? 0 : bVar.hashCode())) * 31)) * 31;
String str2 = this.f;
int hashCode5 = (this.g.hashCode() + ((hashCode4 + (str2 == null ? 0 : str2.hashCode())) * 31)) * 31;
Object obj = this.h;
if (obj != null) {
i = obj.hashCode();
}
return hashCode5 + i;
}
}
public v0(String str, d dVar, g gVar, f fVar, w0 w0Var, a aVar) {
this.a = str;
this.b = gVar;
this.f977c = fVar;
this.d = w0Var;
this.e = dVar;
}
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof v0)) {
return false;
}
v0 v0Var = (v0) obj;
return f0.a(this.a, v0Var.a) && this.e.equals(v0Var.e) && f0.a(this.b, v0Var.b) && f0.a(this.f977c, v0Var.f977c) && f0.a(this.d, v0Var.d);
}
public int hashCode() {
int hashCode = this.a.hashCode() * 31;
g gVar = this.b;
int hashCode2 = gVar != null ? gVar.hashCode() : 0;
int hashCode3 = this.f977c.hashCode();
return this.d.hashCode() + ((this.e.hashCode() + ((hashCode3 + ((hashCode + hashCode2) * 31)) * 31)) * 31);
}
}