Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,85 @@
package e3;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class A {
/* renamed from: d, reason: collision with root package name */
public static final Pattern f6197d = Pattern.compile("([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)/([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)");
/* renamed from: e, reason: collision with root package name */
public static final Pattern f6198e = Pattern.compile(";\\s*(?:([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)=(?:([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)|\"([^\"]*)\"))?");
/* renamed from: a, reason: collision with root package name */
public final String f6199a;
/* renamed from: b, reason: collision with root package name */
public final String f6200b;
/* renamed from: c, reason: collision with root package name */
public final String[] f6201c;
public A(String str, String str2, String[] strArr) {
this.f6199a = str;
this.f6200b = str2;
this.f6201c = strArr;
}
/* JADX WARN: Incorrect condition in loop: B:4:0x001a */
/* JADX WARN: Removed duplicated region for block: B:11:0x002a A[EXC_TOP_SPLITTER, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.nio.charset.Charset a(java.nio.charset.Charset r5) {
/*
r4 = this;
java.lang.String r0 = "charset"
java.lang.String r1 = "name"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r0, r1)
java.lang.String[] r4 = r4.f6201c
int r1 = r4.length
int r1 = r1 + (-1)
r2 = 0
r3 = 2
int r1 = kotlin.internal.ProgressionUtilKt.getProgressionLastElement(r2, r1, r3)
if (r1 < 0) goto L26
L14:
r3 = r4[r2]
boolean r3 = kotlin.text.StringsKt.j(r3, r0)
if (r3 == 0) goto L21
int r2 = r2 + 1
r4 = r4[r2]
goto L27
L21:
if (r2 == r1) goto L26
int r2 = r2 + 2
goto L14
L26:
r4 = 0
L27:
if (r4 != 0) goto L2a
goto L2f
L2a:
java.nio.charset.Charset r4 = java.nio.charset.Charset.forName(r4) // Catch: java.lang.IllegalArgumentException -> L2f
return r4
L2f:
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: e3.A.a(java.nio.charset.Charset):java.nio.charset.Charset");
}
public final boolean equals(Object obj) {
return (obj instanceof A) && Intrinsics.areEqual(((A) obj).f6199a, this.f6199a);
}
public final int hashCode() {
return this.f6199a.hashCode();
}
public final String toString() {
return this.f6199a;
}
}

View File

@@ -0,0 +1,110 @@
package e3;
import java.util.GregorianCalendar;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsKt;
/* renamed from: e3.m, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public abstract class AbstractC0327m {
public static int a(String str, int i, int i4, boolean z3) {
while (i < i4) {
char charAt = str.charAt(i);
if (((charAt < ' ' && charAt != '\t') || charAt >= 127 || ('0' <= charAt && charAt < ':') || (('a' <= charAt && charAt < '{') || (('A' <= charAt && charAt < '[') || charAt == ':'))) == (!z3)) {
return i;
}
i++;
}
return i4;
}
public static long b(int i, String str) {
int indexOf$default;
int a2 = a(str, 0, i, false);
Matcher matcher = C0328n.f6379m.matcher(str);
int i4 = -1;
int i5 = -1;
int i6 = -1;
int i7 = -1;
int i8 = -1;
int i9 = -1;
while (a2 < i) {
int a4 = a(str, a2 + 1, i, true);
matcher.region(a2, a4);
if (i5 == -1 && matcher.usePattern(C0328n.f6379m).matches()) {
String group = matcher.group(1);
Intrinsics.checkNotNullExpressionValue(group, "matcher.group(1)");
i5 = Integer.parseInt(group);
String group2 = matcher.group(2);
Intrinsics.checkNotNullExpressionValue(group2, "matcher.group(2)");
i8 = Integer.parseInt(group2);
String group3 = matcher.group(3);
Intrinsics.checkNotNullExpressionValue(group3, "matcher.group(3)");
i9 = Integer.parseInt(group3);
} else if (i6 == -1 && matcher.usePattern(C0328n.f6378l).matches()) {
String group4 = matcher.group(1);
Intrinsics.checkNotNullExpressionValue(group4, "matcher.group(1)");
i6 = Integer.parseInt(group4);
} else {
if (i7 == -1) {
Pattern pattern = C0328n.f6377k;
if (matcher.usePattern(pattern).matches()) {
String group5 = matcher.group(1);
Intrinsics.checkNotNullExpressionValue(group5, "matcher.group(1)");
Locale US = Locale.US;
Intrinsics.checkNotNullExpressionValue(US, "US");
String lowerCase = group5.toLowerCase(US);
Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(locale)");
String pattern2 = pattern.pattern();
Intrinsics.checkNotNullExpressionValue(pattern2, "MONTH_PATTERN.pattern()");
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) pattern2, lowerCase, 0, false, 6, (Object) null);
i7 = indexOf$default / 4;
}
}
if (i4 == -1 && matcher.usePattern(C0328n.f6376j).matches()) {
String group6 = matcher.group(1);
Intrinsics.checkNotNullExpressionValue(group6, "matcher.group(1)");
i4 = Integer.parseInt(group6);
}
}
a2 = a(str, a4 + 1, i, false);
}
if (70 <= i4 && i4 < 100) {
i4 += 1900;
}
if (i4 >= 0 && i4 < 70) {
i4 += 2000;
}
if (i4 < 1601) {
throw new IllegalArgumentException("Failed requirement.");
}
if (i7 == -1) {
throw new IllegalArgumentException("Failed requirement.");
}
if (1 > i6 || i6 >= 32) {
throw new IllegalArgumentException("Failed requirement.");
}
if (i5 < 0 || i5 >= 24) {
throw new IllegalArgumentException("Failed requirement.");
}
if (i8 < 0 || i8 >= 60) {
throw new IllegalArgumentException("Failed requirement.");
}
if (i9 < 0 || i9 >= 60) {
throw new IllegalArgumentException("Failed requirement.");
}
GregorianCalendar gregorianCalendar = new GregorianCalendar(f3.c.f6473e);
gregorianCalendar.setLenient(false);
gregorianCalendar.set(1, i4);
gregorianCalendar.set(2, i7 - 1);
gregorianCalendar.set(5, i6);
gregorianCalendar.set(11, i5);
gregorianCalendar.set(12, i8);
gregorianCalendar.set(13, i9);
gregorianCalendar.set(14, 0);
return gregorianCalendar.getTimeInMillis();
}
}

View File

@@ -0,0 +1,30 @@
package e3;
import f0.C0338b;
import java.util.ArrayList;
import java.util.UUID;
import kotlin.jvm.internal.Intrinsics;
import r3.C0579k;
/* loaded from: classes3.dex */
public final class B {
/* renamed from: a, reason: collision with root package name */
public final C0579k f6202a;
/* renamed from: b, reason: collision with root package name */
public A f6203b;
/* renamed from: c, reason: collision with root package name */
public final ArrayList f6204c;
public B() {
String boundary = UUID.randomUUID().toString();
Intrinsics.checkNotNullExpressionValue(boundary, "randomUUID().toString()");
Intrinsics.checkNotNullParameter(boundary, "boundary");
C0579k c0579k = C0579k.f8285d;
this.f6202a = C0338b.n(boundary);
this.f6203b = D.f6207e;
this.f6204c = new ArrayList();
}
}

View File

@@ -0,0 +1,16 @@
package e3;
/* loaded from: classes3.dex */
public final class C {
/* renamed from: a, reason: collision with root package name */
public final C0334u f6205a;
/* renamed from: b, reason: collision with root package name */
public final M f6206b;
public C(C0334u c0334u, M m4) {
this.f6205a = c0334u;
this.f6206b = m4;
}
}

View File

@@ -0,0 +1,115 @@
package e3;
import java.net.ProxySelector;
import java.util.List;
import java.util.Objects;
import javax.net.SocketFactory;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSocketFactory;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
/* renamed from: e3.a, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0315a {
/* renamed from: a, reason: collision with root package name */
public final C0329o f6321a;
/* renamed from: b, reason: collision with root package name */
public final SocketFactory f6322b;
/* renamed from: c, reason: collision with root package name */
public final SSLSocketFactory f6323c;
/* renamed from: d, reason: collision with root package name */
public final HostnameVerifier f6324d;
/* renamed from: e, reason: collision with root package name */
public final C0322h f6325e;
/* renamed from: f, reason: collision with root package name */
public final C0329o f6326f;
/* renamed from: g, reason: collision with root package name */
public final ProxySelector f6327g;
public final w h;
public final List i;
/* renamed from: j, reason: collision with root package name */
public final List f6328j;
public C0315a(String host, int i, C0329o dns, SocketFactory socketFactory, SSLSocketFactory sSLSocketFactory, HostnameVerifier hostnameVerifier, C0322h c0322h, C0329o proxyAuthenticator, List protocols, List connectionSpecs, ProxySelector proxySelector) {
boolean equals;
boolean equals2;
Intrinsics.checkNotNullParameter(host, "uriHost");
Intrinsics.checkNotNullParameter(dns, "dns");
Intrinsics.checkNotNullParameter(socketFactory, "socketFactory");
Intrinsics.checkNotNullParameter(proxyAuthenticator, "proxyAuthenticator");
Intrinsics.checkNotNullParameter(protocols, "protocols");
Intrinsics.checkNotNullParameter(connectionSpecs, "connectionSpecs");
Intrinsics.checkNotNullParameter(proxySelector, "proxySelector");
this.f6321a = dns;
this.f6322b = socketFactory;
this.f6323c = sSLSocketFactory;
this.f6324d = hostnameVerifier;
this.f6325e = c0322h;
this.f6326f = proxyAuthenticator;
this.f6327g = proxySelector;
C0335v c0335v = new C0335v();
String scheme = sSLSocketFactory != null ? "https" : "http";
Intrinsics.checkNotNullParameter(scheme, "scheme");
equals = StringsKt__StringsJVMKt.equals(scheme, "http", true);
if (equals) {
c0335v.f6405a = "http";
} else {
equals2 = StringsKt__StringsJVMKt.equals(scheme, "https", true);
if (!equals2) {
throw new IllegalArgumentException("unexpected scheme: ".concat(scheme));
}
c0335v.f6405a = "https";
}
Intrinsics.checkNotNullParameter(host, "host");
String b4 = f3.a.b(C0329o.e(host, 0, 0, 7));
if (b4 == null) {
throw new IllegalArgumentException("unexpected host: ".concat(host));
}
c0335v.f6408d = b4;
if (1 > i || i >= 65536) {
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.l(i, "unexpected port: ").toString());
}
c0335v.f6409e = i;
this.h = c0335v.a();
this.i = f3.c.w(protocols);
this.f6328j = f3.c.w(connectionSpecs);
}
public final boolean a(C0315a that) {
Intrinsics.checkNotNullParameter(that, "that");
return Intrinsics.areEqual(this.f6321a, that.f6321a) && Intrinsics.areEqual(this.f6326f, that.f6326f) && Intrinsics.areEqual(this.i, that.i) && Intrinsics.areEqual(this.f6328j, that.f6328j) && Intrinsics.areEqual(this.f6327g, that.f6327g) && Intrinsics.areEqual((Object) null, (Object) null) && Intrinsics.areEqual(this.f6323c, that.f6323c) && Intrinsics.areEqual(this.f6324d, that.f6324d) && Intrinsics.areEqual(this.f6325e, that.f6325e) && this.h.f6417e == that.h.f6417e;
}
public final boolean equals(Object obj) {
if (!(obj instanceof C0315a)) {
return false;
}
C0315a c0315a = (C0315a) obj;
return Intrinsics.areEqual(this.h, c0315a.h) && a(c0315a);
}
public final int hashCode() {
return Objects.hashCode(this.f6325e) + ((Objects.hashCode(this.f6324d) + ((Objects.hashCode(this.f6323c) + ((this.f6327g.hashCode() + ((this.f6328j.hashCode() + ((this.i.hashCode() + ((this.f6326f.hashCode() + ((this.f6321a.hashCode() + com.google.android.gms.measurement.internal.a.d(this.h.i, 527, 31)) * 31)) * 31)) * 31)) * 31)) * 961)) * 31)) * 31);
}
public final String toString() {
StringBuilder sb = new StringBuilder("Address{");
w wVar = this.h;
sb.append(wVar.f6416d);
sb.append(':');
sb.append(wVar.f6417e);
sb.append(", ");
sb.append("proxySelector=" + this.f6327g);
sb.append('}');
return sb.toString();
}
}

View File

@@ -0,0 +1,137 @@
package e3;
import java.util.concurrent.TimeUnit;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.c, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0317c {
/* renamed from: n, reason: collision with root package name */
public static final C0317c f6330n = new C0317c(true, false, -1, -1, false, false, false, -1, -1, false, false, false, null);
/* renamed from: o, reason: collision with root package name */
public static final C0317c f6331o;
/* renamed from: a, reason: collision with root package name */
public final boolean f6332a;
/* renamed from: b, reason: collision with root package name */
public final boolean f6333b;
/* renamed from: c, reason: collision with root package name */
public final int f6334c;
/* renamed from: d, reason: collision with root package name */
public final int f6335d;
/* renamed from: e, reason: collision with root package name */
public final boolean f6336e;
/* renamed from: f, reason: collision with root package name */
public final boolean f6337f;
/* renamed from: g, reason: collision with root package name */
public final boolean f6338g;
public final int h;
public final int i;
/* renamed from: j, reason: collision with root package name */
public final boolean f6339j;
/* renamed from: k, reason: collision with root package name */
public final boolean f6340k;
/* renamed from: l, reason: collision with root package name */
public final boolean f6341l;
/* renamed from: m, reason: collision with root package name */
public String f6342m;
static {
TimeUnit timeUnit = TimeUnit.SECONDS;
Intrinsics.checkNotNullParameter(timeUnit, "timeUnit");
long seconds = timeUnit.toSeconds(Integer.MAX_VALUE);
f6331o = new C0317c(false, false, -1, -1, false, false, false, seconds <= 2147483647L ? (int) seconds : Integer.MAX_VALUE, -1, true, false, false, null);
}
public C0317c(boolean z3, boolean z4, int i, int i4, boolean z5, boolean z6, boolean z7, int i5, int i6, boolean z8, boolean z9, boolean z10, String str) {
this.f6332a = z3;
this.f6333b = z4;
this.f6334c = i;
this.f6335d = i4;
this.f6336e = z5;
this.f6337f = z6;
this.f6338g = z7;
this.h = i5;
this.i = i6;
this.f6339j = z8;
this.f6340k = z9;
this.f6341l = z10;
this.f6342m = str;
}
public final String toString() {
String str = this.f6342m;
if (str != null) {
return str;
}
StringBuilder sb = new StringBuilder();
if (this.f6332a) {
sb.append("no-cache, ");
}
if (this.f6333b) {
sb.append("no-store, ");
}
int i = this.f6334c;
if (i != -1) {
sb.append("max-age=");
sb.append(i);
sb.append(", ");
}
int i4 = this.f6335d;
if (i4 != -1) {
sb.append("s-maxage=");
sb.append(i4);
sb.append(", ");
}
if (this.f6336e) {
sb.append("private, ");
}
if (this.f6337f) {
sb.append("public, ");
}
if (this.f6338g) {
sb.append("must-revalidate, ");
}
int i5 = this.h;
if (i5 != -1) {
sb.append("max-stale=");
sb.append(i5);
sb.append(", ");
}
int i6 = this.i;
if (i6 != -1) {
sb.append("min-fresh=");
sb.append(i6);
sb.append(", ");
}
if (this.f6339j) {
sb.append("only-if-cached, ");
}
if (this.f6340k) {
sb.append("no-transform, ");
}
if (this.f6341l) {
sb.append("immutable, ");
}
if (sb.length() == 0) {
return "";
}
sb.delete(sb.length() - 2, sb.length());
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
this.f6342m = sb2;
return sb2;
}
}

View File

@@ -0,0 +1,144 @@
package e3;
import kotlin.jvm.internal.Intrinsics;
import r3.C0579k;
/* renamed from: e3.g, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0321g {
/* renamed from: a, reason: collision with root package name */
public final String f6343a;
/* renamed from: b, reason: collision with root package name */
public final String f6344b;
/* renamed from: c, reason: collision with root package name */
public final C0579k f6345c;
/* JADX WARN: Code restructure failed: missing block: B:31:0x002d, code lost:
if (r0 != (-1)) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if (r0 != (-1)) goto L6;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public C0321g(java.lang.String r5, java.lang.String r6) {
/*
r4 = this;
java.lang.String r0 = "pattern"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r5, r0)
java.lang.String r0 = "pin"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r6, r0)
r4.<init>()
java.lang.String r0 = "*."
boolean r0 = kotlin.text.StringsKt.D(r5, r0)
r1 = 4
java.lang.String r2 = "*"
r3 = -1
if (r0 == 0) goto L20
r0 = 1
int r0 = kotlin.text.StringsKt.m(r5, r0, r1, r2)
if (r0 == r3) goto L37
L20:
java.lang.String r0 = "**."
boolean r0 = kotlin.text.StringsKt.D(r5, r0)
if (r0 == 0) goto L2f
r0 = 2
int r0 = kotlin.text.StringsKt.m(r5, r0, r1, r2)
if (r0 == r3) goto L37
L2f:
r0 = 6
r1 = 0
int r0 = kotlin.text.StringsKt.m(r5, r1, r0, r2)
if (r0 != r3) goto Lad
L37:
java.lang.String r0 = f3.a.b(r5)
if (r0 == 0) goto La1
r4.f6343a = r0
java.lang.String r5 = "sha1/"
boolean r5 = kotlin.text.StringsKt.D(r6, r5)
java.lang.String r0 = "Invalid pin hash: "
java.lang.String r1 = "this as java.lang.String).substring(startIndex)"
if (r5 == 0) goto L6c
java.lang.String r5 = "sha1"
r4.f6344b = r5
r3.k r5 = r3.C0579k.f8285d
r5 = 5
java.lang.String r5 = r6.substring(r5)
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r5, r1)
r3.k r5 = f0.C0338b.l(r5)
if (r5 == 0) goto L62
r4.f6345c = r5
return
L62:
java.lang.IllegalArgumentException r4 = new java.lang.IllegalArgumentException
java.lang.String r5 = r0.concat(r6)
r4.<init>(r5)
throw r4
L6c:
java.lang.String r5 = "sha256/"
boolean r5 = kotlin.text.StringsKt.D(r6, r5)
if (r5 == 0) goto L95
java.lang.String r5 = "sha256"
r4.f6344b = r5
r3.k r5 = r3.C0579k.f8285d
r5 = 7
java.lang.String r5 = r6.substring(r5)
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r5, r1)
r3.k r5 = f0.C0338b.l(r5)
if (r5 == 0) goto L8b
r4.f6345c = r5
return
L8b:
java.lang.IllegalArgumentException r4 = new java.lang.IllegalArgumentException
java.lang.String r5 = r0.concat(r6)
r4.<init>(r5)
throw r4
L95:
java.lang.IllegalArgumentException r4 = new java.lang.IllegalArgumentException
java.lang.String r5 = "pins must start with 'sha256/' or 'sha1/': "
java.lang.String r5 = C.w.z(r5, r6)
r4.<init>(r5)
throw r4
La1:
java.lang.IllegalArgumentException r4 = new java.lang.IllegalArgumentException
java.lang.String r6 = "Invalid pattern: "
java.lang.String r5 = r6.concat(r5)
r4.<init>(r5)
throw r4
Lad:
java.lang.String r4 = "Unexpected pattern: "
java.lang.String r4 = C.w.z(r4, r5)
java.lang.IllegalArgumentException r5 = new java.lang.IllegalArgumentException
java.lang.String r4 = r4.toString()
r5.<init>(r4)
throw r5
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0321g.<init>(java.lang.String, java.lang.String):void");
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0321g)) {
return false;
}
C0321g c0321g = (C0321g) obj;
return Intrinsics.areEqual(this.f6343a, c0321g.f6343a) && Intrinsics.areEqual(this.f6344b, c0321g.f6344b) && Intrinsics.areEqual(this.f6345c, c0321g.f6345c);
}
public final int hashCode() {
return this.f6345c.hashCode() + com.google.android.gms.measurement.internal.a.d(this.f6344b, this.f6343a.hashCode() * 31, 31);
}
public final String toString() {
return this.f6344b + '/' + this.f6345c.a();
}
}

View File

@@ -0,0 +1,63 @@
package e3;
import a.AbstractC0105a;
import java.util.ArrayList;
import java.util.Set;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.h, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0322h {
/* renamed from: c, reason: collision with root package name */
public static final C0322h f6346c = new C0322h(CollectionsKt.toSet(new ArrayList()), null);
/* renamed from: a, reason: collision with root package name */
public final Set f6347a;
/* renamed from: b, reason: collision with root package name */
public final AbstractC0105a f6348b;
public C0322h(Set pins, AbstractC0105a abstractC0105a) {
Intrinsics.checkNotNullParameter(pins, "pins");
this.f6347a = pins;
this.f6348b = abstractC0105a;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0055, code lost:
if (r12.charAt(r9 - 1) == '.') goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x007d, code lost:
if (r4 == (-1)) goto L12;
*/
/* JADX WARN: Removed duplicated region for block: B:13:0x0086 A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:20:0x0018 A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a(java.lang.String r12, kotlin.jvm.functions.Function0 r13) {
/*
Method dump skipped, instructions count: 403
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0322h.a(java.lang.String, kotlin.jvm.functions.Function0):void");
}
public final boolean equals(Object obj) {
if (!(obj instanceof C0322h)) {
return false;
}
C0322h c0322h = (C0322h) obj;
return Intrinsics.areEqual(c0322h.f6347a, this.f6347a) && Intrinsics.areEqual(c0322h.f6348b, this.f6348b);
}
public final int hashCode() {
int hashCode = (this.f6347a.hashCode() + 1517) * 41;
AbstractC0105a abstractC0105a = this.f6348b;
return hashCode + (abstractC0105a != null ? abstractC0105a.hashCode() : 0);
}
}

View File

@@ -0,0 +1,30 @@
package e3;
import java.util.Comparator;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.i, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0323i implements Comparator {
@Override // java.util.Comparator
public final int compare(Object obj, Object obj2) {
String a2 = (String) obj;
String b4 = (String) obj2;
Intrinsics.checkNotNullParameter(a2, "a");
Intrinsics.checkNotNullParameter(b4, "b");
int min = Math.min(a2.length(), b4.length());
for (int i = 4; i < min; i++) {
char charAt = a2.charAt(i);
char charAt2 = b4.charAt(i);
if (charAt != charAt2) {
return Intrinsics.compare((int) charAt, (int) charAt2) < 0 ? -1 : 1;
}
}
int length = a2.length();
int length2 = b4.length();
if (length != length2) {
return length < length2 ? -1 : 1;
}
return 0;
}
}

View File

@@ -0,0 +1,198 @@
package e3;
import java.util.LinkedHashMap;
/* renamed from: e3.j, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0324j {
/* renamed from: b, reason: collision with root package name */
public static final C0329o f6349b;
/* renamed from: c, reason: collision with root package name */
public static final C0323i f6350c;
/* renamed from: d, reason: collision with root package name */
public static final LinkedHashMap f6351d;
/* renamed from: e, reason: collision with root package name */
public static final C0324j f6352e;
/* renamed from: f, reason: collision with root package name */
public static final C0324j f6353f;
/* renamed from: g, reason: collision with root package name */
public static final C0324j f6354g;
public static final C0324j h;
public static final C0324j i;
/* renamed from: j, reason: collision with root package name */
public static final C0324j f6355j;
/* renamed from: k, reason: collision with root package name */
public static final C0324j f6356k;
/* renamed from: l, reason: collision with root package name */
public static final C0324j f6357l;
/* renamed from: m, reason: collision with root package name */
public static final C0324j f6358m;
/* renamed from: n, reason: collision with root package name */
public static final C0324j f6359n;
/* renamed from: o, reason: collision with root package name */
public static final C0324j f6360o;
public static final C0324j p;
/* renamed from: q, reason: collision with root package name */
public static final C0324j f6361q;
/* renamed from: r, reason: collision with root package name */
public static final C0324j f6362r;
/* renamed from: s, reason: collision with root package name */
public static final C0324j f6363s;
/* renamed from: t, reason: collision with root package name */
public static final C0324j f6364t;
/* renamed from: a, reason: collision with root package name */
public final String f6365a;
/* JADX WARN: Type inference failed for: r0v0, types: [e3.o, java.lang.Object] */
/* JADX WARN: Type inference failed for: r1v0, types: [e3.i, java.lang.Object] */
static {
?? obj = new Object();
f6349b = obj;
f6350c = new Object();
f6351d = new LinkedHashMap();
C0329o.a(obj, "SSL_RSA_WITH_NULL_MD5");
C0329o.a(obj, "SSL_RSA_WITH_NULL_SHA");
C0329o.a(obj, "SSL_RSA_EXPORT_WITH_RC4_40_MD5");
C0329o.a(obj, "SSL_RSA_WITH_RC4_128_MD5");
C0329o.a(obj, "SSL_RSA_WITH_RC4_128_SHA");
C0329o.a(obj, "SSL_RSA_EXPORT_WITH_DES40_CBC_SHA");
C0329o.a(obj, "SSL_RSA_WITH_DES_CBC_SHA");
f6352e = C0329o.a(obj, "SSL_RSA_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA");
C0329o.a(obj, "SSL_DHE_DSS_WITH_DES_CBC_SHA");
C0329o.a(obj, "SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA");
C0329o.a(obj, "SSL_DHE_RSA_WITH_DES_CBC_SHA");
C0329o.a(obj, "SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "SSL_DH_anon_EXPORT_WITH_RC4_40_MD5");
C0329o.a(obj, "SSL_DH_anon_WITH_RC4_128_MD5");
C0329o.a(obj, "SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA");
C0329o.a(obj, "SSL_DH_anon_WITH_DES_CBC_SHA");
C0329o.a(obj, "SSL_DH_anon_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_KRB5_WITH_DES_CBC_SHA");
C0329o.a(obj, "TLS_KRB5_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_KRB5_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_KRB5_WITH_DES_CBC_MD5");
C0329o.a(obj, "TLS_KRB5_WITH_3DES_EDE_CBC_MD5");
C0329o.a(obj, "TLS_KRB5_WITH_RC4_128_MD5");
C0329o.a(obj, "TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA");
C0329o.a(obj, "TLS_KRB5_EXPORT_WITH_RC4_40_SHA");
C0329o.a(obj, "TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5");
C0329o.a(obj, "TLS_KRB5_EXPORT_WITH_RC4_40_MD5");
f6353f = C0329o.a(obj, "TLS_RSA_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_128_CBC_SHA");
f6354g = C0329o.a(obj, "TLS_RSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_RSA_WITH_NULL_SHA256");
C0329o.a(obj, "TLS_RSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_RSA_WITH_AES_256_CBC_SHA256");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA");
C0329o.a(obj, "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA");
C0329o.a(obj, "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_256_CBC_SHA256");
C0329o.a(obj, "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA");
C0329o.a(obj, "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA");
C0329o.a(obj, "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA");
C0329o.a(obj, "TLS_PSK_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_PSK_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_PSK_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_PSK_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_RSA_WITH_SEED_CBC_SHA");
h = C0329o.a(obj, "TLS_RSA_WITH_AES_128_GCM_SHA256");
i = C0329o.a(obj, "TLS_RSA_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256");
C0329o.a(obj, "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_128_GCM_SHA256");
C0329o.a(obj, "TLS_DHE_DSS_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_128_GCM_SHA256");
C0329o.a(obj, "TLS_DH_anon_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_EMPTY_RENEGOTIATION_INFO_SCSV");
C0329o.a(obj, "TLS_FALLBACK_SCSV");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_NULL_SHA");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_NULL_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_NULL_SHA");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_RSA_WITH_NULL_SHA");
C0329o.a(obj, "TLS_ECDHE_RSA_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA");
f6355j = C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA");
f6356k = C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_anon_WITH_NULL_SHA");
C0329o.a(obj, "TLS_ECDH_anon_WITH_RC4_128_SHA");
C0329o.a(obj, "TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_anon_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_ECDH_anon_WITH_AES_256_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384");
C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384");
f6357l = C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256");
f6358m = C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256");
C0329o.a(obj, "TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384");
f6359n = C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256");
f6360o = C0329o.a(obj, "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256");
C0329o.a(obj, "TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384");
C0329o.a(obj, "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA");
C0329o.a(obj, "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA");
p = C0329o.a(obj, "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256");
f6361q = C0329o.a(obj, "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256");
C0329o.a(obj, "TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256");
C0329o.a(obj, "TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256");
f6362r = C0329o.a(obj, "TLS_AES_128_GCM_SHA256");
f6363s = C0329o.a(obj, "TLS_AES_256_GCM_SHA384");
f6364t = C0329o.a(obj, "TLS_CHACHA20_POLY1305_SHA256");
C0329o.a(obj, "TLS_AES_128_CCM_SHA256");
C0329o.a(obj, "TLS_AES_128_CCM_8_SHA256");
}
public C0324j(String str) {
this.f6365a = str;
}
public final String toString() {
return this.f6365a;
}
}

View File

@@ -0,0 +1,76 @@
package e3;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.k, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0325k {
/* renamed from: a, reason: collision with root package name */
public boolean f6366a = true;
/* renamed from: b, reason: collision with root package name */
public boolean f6367b;
/* renamed from: c, reason: collision with root package name */
public Object f6368c;
/* renamed from: d, reason: collision with root package name */
public Serializable f6369d;
public C0326l a() {
return new C0326l(this.f6366a, this.f6367b, (String[]) this.f6368c, (String[]) this.f6369d);
}
public void b(C0324j... cipherSuites) {
Intrinsics.checkNotNullParameter(cipherSuites, "cipherSuites");
if (!this.f6366a) {
throw new IllegalArgumentException("no cipher suites for cleartext connections");
}
ArrayList arrayList = new ArrayList(cipherSuites.length);
for (C0324j c0324j : cipherSuites) {
arrayList.add(c0324j.f6365a);
}
String[] strArr = (String[]) arrayList.toArray(new String[0]);
c((String[]) Arrays.copyOf(strArr, strArr.length));
}
public void c(String... cipherSuites) {
Intrinsics.checkNotNullParameter(cipherSuites, "cipherSuites");
if (!this.f6366a) {
throw new IllegalArgumentException("no cipher suites for cleartext connections");
}
if (cipherSuites.length == 0) {
throw new IllegalArgumentException("At least one cipher suite is required");
}
this.f6368c = (String[]) cipherSuites.clone();
}
public void d(V... tlsVersions) {
Intrinsics.checkNotNullParameter(tlsVersions, "tlsVersions");
if (!this.f6366a) {
throw new IllegalArgumentException("no TLS versions for cleartext connections");
}
ArrayList arrayList = new ArrayList(tlsVersions.length);
for (V v3 : tlsVersions) {
arrayList.add(v3.f6320a);
}
String[] strArr = (String[]) arrayList.toArray(new String[0]);
e((String[]) Arrays.copyOf(strArr, strArr.length));
}
/* JADX WARN: Type inference failed for: r2v4, types: [java.lang.String[], java.io.Serializable] */
public void e(String... tlsVersions) {
Intrinsics.checkNotNullParameter(tlsVersions, "tlsVersions");
if (!this.f6366a) {
throw new IllegalArgumentException("no TLS versions for cleartext connections");
}
if (tlsVersions.length == 0) {
throw new IllegalArgumentException("At least one TLS version is required");
}
this.f6369d = (String[]) tlsVersions.clone();
}
}

View File

@@ -0,0 +1,154 @@
package e3;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import javax.net.ssl.SSLSocket;
import kotlin.collections.CollectionsKt;
import kotlin.comparisons.ComparisonsKt;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.l, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0326l {
/* renamed from: e, reason: collision with root package name */
public static final C0326l f6370e;
/* renamed from: f, reason: collision with root package name */
public static final C0326l f6371f;
/* renamed from: a, reason: collision with root package name */
public final boolean f6372a;
/* renamed from: b, reason: collision with root package name */
public final boolean f6373b;
/* renamed from: c, reason: collision with root package name */
public final String[] f6374c;
/* renamed from: d, reason: collision with root package name */
public final String[] f6375d;
static {
C0324j c0324j = C0324j.f6362r;
C0324j c0324j2 = C0324j.f6363s;
C0324j c0324j3 = C0324j.f6364t;
C0324j c0324j4 = C0324j.f6357l;
C0324j c0324j5 = C0324j.f6359n;
C0324j c0324j6 = C0324j.f6358m;
C0324j c0324j7 = C0324j.f6360o;
C0324j c0324j8 = C0324j.f6361q;
C0324j c0324j9 = C0324j.p;
C0324j[] c0324jArr = {c0324j, c0324j2, c0324j3, c0324j4, c0324j5, c0324j6, c0324j7, c0324j8, c0324j9};
C0324j[] c0324jArr2 = {c0324j, c0324j2, c0324j3, c0324j4, c0324j5, c0324j6, c0324j7, c0324j8, c0324j9, C0324j.f6355j, C0324j.f6356k, C0324j.h, C0324j.i, C0324j.f6353f, C0324j.f6354g, C0324j.f6352e};
C0325k c0325k = new C0325k();
c0325k.b((C0324j[]) Arrays.copyOf(c0324jArr, 9));
V v3 = V.TLS_1_3;
V v4 = V.TLS_1_2;
c0325k.d(v3, v4);
if (!c0325k.f6366a) {
throw new IllegalArgumentException("no TLS extensions for cleartext connections");
}
c0325k.f6367b = true;
c0325k.a();
C0325k c0325k2 = new C0325k();
c0325k2.b((C0324j[]) Arrays.copyOf(c0324jArr2, 16));
c0325k2.d(v3, v4);
if (!c0325k2.f6366a) {
throw new IllegalArgumentException("no TLS extensions for cleartext connections");
}
c0325k2.f6367b = true;
f6370e = c0325k2.a();
C0325k c0325k3 = new C0325k();
c0325k3.b((C0324j[]) Arrays.copyOf(c0324jArr2, 16));
c0325k3.d(v3, v4, V.TLS_1_1, V.TLS_1_0);
if (!c0325k3.f6366a) {
throw new IllegalArgumentException("no TLS extensions for cleartext connections");
}
c0325k3.f6367b = true;
c0325k3.a();
f6371f = new C0326l(false, false, null, null);
}
public C0326l(boolean z3, boolean z4, String[] strArr, String[] strArr2) {
this.f6372a = z3;
this.f6373b = z4;
this.f6374c = strArr;
this.f6375d = strArr2;
}
public final List a() {
String[] strArr = this.f6374c;
if (strArr == null) {
return null;
}
ArrayList arrayList = new ArrayList(strArr.length);
for (String str : strArr) {
arrayList.add(C0324j.f6349b.c(str));
}
return CollectionsKt.toList(arrayList);
}
public final boolean b(SSLSocket socket) {
Intrinsics.checkNotNullParameter(socket, "socket");
if (!this.f6372a) {
return false;
}
String[] strArr = this.f6375d;
if (strArr != null && !f3.c.i(strArr, socket.getEnabledProtocols(), ComparisonsKt.naturalOrder())) {
return false;
}
String[] strArr2 = this.f6374c;
return strArr2 == null || f3.c.i(strArr2, socket.getEnabledCipherSuites(), C0324j.f6350c);
}
public final List c() {
String[] strArr = this.f6375d;
if (strArr == null) {
return null;
}
ArrayList arrayList = new ArrayList(strArr.length);
for (String str : strArr) {
arrayList.add(m3.d.p(str));
}
return CollectionsKt.toList(arrayList);
}
public final boolean equals(Object obj) {
if (!(obj instanceof C0326l)) {
return false;
}
if (obj == this) {
return true;
}
C0326l c0326l = (C0326l) obj;
boolean z3 = c0326l.f6372a;
boolean z4 = this.f6372a;
if (z4 != z3) {
return false;
}
if (z4) {
return Arrays.equals(this.f6374c, c0326l.f6374c) && Arrays.equals(this.f6375d, c0326l.f6375d) && this.f6373b == c0326l.f6373b;
}
return true;
}
public final int hashCode() {
if (!this.f6372a) {
return 17;
}
String[] strArr = this.f6374c;
int hashCode = (527 + (strArr != null ? Arrays.hashCode(strArr) : 0)) * 31;
String[] strArr2 = this.f6375d;
return ((hashCode + (strArr2 != null ? Arrays.hashCode(strArr2) : 0)) * 31) + (!this.f6373b ? 1 : 0);
}
public final String toString() {
if (!this.f6372a) {
return "ConnectionSpec()";
}
return "ConnectionSpec(cipherSuites=" + Objects.toString(a(), "[all enabled]") + ", tlsVersions=" + Objects.toString(c(), "[all enabled]") + ", supportsTlsExtensions=" + this.f6373b + ')';
}
}

View File

@@ -0,0 +1,106 @@
package e3;
import java.text.DateFormat;
import java.util.Date;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.n, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0328n {
/* renamed from: j, reason: collision with root package name */
public static final Pattern f6376j = Pattern.compile("(\\d{2,4})[^\\d]*");
/* renamed from: k, reason: collision with root package name */
public static final Pattern f6377k = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*");
/* renamed from: l, reason: collision with root package name */
public static final Pattern f6378l = Pattern.compile("(\\d{1,2})[^\\d]*");
/* renamed from: m, reason: collision with root package name */
public static final Pattern f6379m = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*");
/* renamed from: a, reason: collision with root package name */
public final String f6380a;
/* renamed from: b, reason: collision with root package name */
public final String f6381b;
/* renamed from: c, reason: collision with root package name */
public final long f6382c;
/* renamed from: d, reason: collision with root package name */
public final String f6383d;
/* renamed from: e, reason: collision with root package name */
public final String f6384e;
/* renamed from: f, reason: collision with root package name */
public final boolean f6385f;
/* renamed from: g, reason: collision with root package name */
public final boolean f6386g;
public final boolean h;
public final boolean i;
public C0328n(String str, String str2, long j4, String str3, String str4, boolean z3, boolean z4, boolean z5, boolean z6) {
this.f6380a = str;
this.f6381b = str2;
this.f6382c = j4;
this.f6383d = str3;
this.f6384e = str4;
this.f6385f = z3;
this.f6386g = z4;
this.h = z5;
this.i = z6;
}
public final boolean equals(Object obj) {
if (!(obj instanceof C0328n)) {
return false;
}
C0328n c0328n = (C0328n) obj;
return Intrinsics.areEqual(c0328n.f6380a, this.f6380a) && Intrinsics.areEqual(c0328n.f6381b, this.f6381b) && c0328n.f6382c == this.f6382c && Intrinsics.areEqual(c0328n.f6383d, this.f6383d) && Intrinsics.areEqual(c0328n.f6384e, this.f6384e) && c0328n.f6385f == this.f6385f && c0328n.f6386g == this.f6386g && c0328n.h == this.h && c0328n.i == this.i;
}
public final int hashCode() {
return Boolean.hashCode(this.i) + C.w.c(C.w.c(C.w.c(com.google.android.gms.measurement.internal.a.d(this.f6384e, com.google.android.gms.measurement.internal.a.d(this.f6383d, com.google.android.gms.measurement.internal.a.b(this.f6382c, com.google.android.gms.measurement.internal.a.d(this.f6381b, com.google.android.gms.measurement.internal.a.d(this.f6380a, 527, 31), 31), 31), 31), 31), 31, this.f6385f), 31, this.f6386g), 31, this.h);
}
public final String toString() {
StringBuilder sb = new StringBuilder();
sb.append(this.f6380a);
sb.append('=');
sb.append(this.f6381b);
if (this.h) {
long j4 = this.f6382c;
if (j4 == Long.MIN_VALUE) {
sb.append("; max-age=0");
} else {
sb.append("; expires=");
Date date = new Date(j4);
j3.c cVar = j3.d.f6945a;
Intrinsics.checkNotNullParameter(date, "<this>");
String format = ((DateFormat) j3.d.f6945a.get()).format(date);
Intrinsics.checkNotNullExpressionValue(format, "STANDARD_DATE_FORMAT.get().format(this)");
sb.append(format);
}
}
if (!this.i) {
sb.append("; domain=");
sb.append(this.f6383d);
}
sb.append("; path=");
sb.append(this.f6384e);
if (this.f6385f) {
sb.append("; secure");
}
if (this.f6386g) {
sb.append("; httponly");
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "toString()");
return sb2;
}
}

View File

@@ -0,0 +1,253 @@
package e3;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import kotlin.UByte;
import kotlin.jvm.internal.Intrinsics;
import kotlin.ranges.IntProgression;
import kotlin.ranges.RangesKt;
import kotlin.text.StringsKt__StringsJVMKt;
import kotlin.text.StringsKt__StringsKt;
import kotlin.text.Typography;
/* renamed from: e3.o, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0329o implements InterfaceC0316b {
/* renamed from: b, reason: collision with root package name */
public static final C0329o f6387b = new Object();
/* renamed from: c, reason: collision with root package name */
public static final C0329o f6388c = new Object();
/* renamed from: d, reason: collision with root package name */
public static final C0329o f6389d = new Object();
public static final C0324j a(C0329o c0329o, String str) {
C0324j c0324j = new C0324j(str);
C0324j.f6351d.put(str, c0324j);
return c0324j;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r2v3 */
/* JADX WARN: Type inference failed for: r2v4 */
/* JADX WARN: Type inference failed for: r2v5, types: [r3.h] */
/* JADX WARN: Type inference failed for: r2v6, types: [java.lang.Object] */
/* JADX WARN: Type inference failed for: r2v7 */
/* JADX WARN: Type inference failed for: r2v9 */
/* JADX WARN: Type inference failed for: r9v2, types: [java.lang.Object, r3.h] */
public static String b(int i, int i4, int i5, String str, String encodeSet) {
boolean contains$default;
boolean contains$default2;
int i6 = (i5 & 1) != 0 ? 0 : i;
int length = (i5 & 2) != 0 ? str.length() : i4;
boolean z3 = (i5 & 8) == 0;
boolean z4 = (i5 & 16) == 0;
boolean z5 = (i5 & 32) == 0;
boolean z6 = (i5 & 64) == 0;
Intrinsics.checkNotNullParameter(str, "<this>");
Intrinsics.checkNotNullParameter(encodeSet, "encodeSet");
int i7 = i6;
while (i7 < length) {
int codePointAt = str.codePointAt(i7);
int i8 = 32;
int i9 = 128;
if (codePointAt >= 32 && codePointAt != 127 && (codePointAt < 128 || z6)) {
contains$default2 = StringsKt__StringsKt.contains$default(encodeSet, (char) codePointAt, false, 2, (Object) null);
if (!contains$default2 && ((codePointAt != 37 || (z3 && (!z4 || d(str, i7, length)))) && (codePointAt != 43 || !z5))) {
i7 += Character.charCount(codePointAt);
}
}
?? obj = new Object();
obj.p0(str, i6, i7);
?? r22 = 0;
while (i7 < length) {
int codePointAt2 = str.codePointAt(i7);
if (!z3 || (codePointAt2 != 9 && codePointAt2 != 10 && codePointAt2 != 12 && codePointAt2 != 13)) {
if (codePointAt2 == 43 && z5) {
obj.o0(z3 ? "+" : "%2B");
} else {
if (codePointAt2 >= i8 && codePointAt2 != 127 && (codePointAt2 < i9 || z6)) {
contains$default = StringsKt__StringsKt.contains$default(encodeSet, (char) codePointAt2, false, 2, (Object) null);
if (!contains$default && (codePointAt2 != 37 || (z3 && (!z4 || d(str, i7, length))))) {
obj.q0(codePointAt2);
}
}
if (r22 == 0) {
r22 = new Object();
}
r22.q0(codePointAt2);
while (!r22.x()) {
byte readByte = r22.readByte();
int i10 = readByte & UByte.MAX_VALUE;
obj.j0(37);
char[] cArr = w.f6412k;
obj.j0(cArr[(i10 >> 4) & 15]);
obj.j0(cArr[readByte & 15]);
}
}
}
i7 += Character.charCount(codePointAt2);
i8 = 32;
i9 = 128;
r22 = r22;
}
return obj.e0();
}
String substring = str.substring(i6, length);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public static boolean d(String str, int i, int i4) {
int i5 = i + 2;
return i5 < i4 && str.charAt(i) == '%' && f3.c.q(str.charAt(i + 1)) != -1 && f3.c.q(str.charAt(i5)) != -1;
}
/* JADX WARN: Type inference failed for: r0v3, types: [java.lang.Object, r3.h] */
public static String e(String str, int i, int i4, int i5) {
int i6;
if ((i5 & 1) != 0) {
i = 0;
}
if ((i5 & 2) != 0) {
i4 = str.length();
}
boolean z3 = (i5 & 4) == 0;
Intrinsics.checkNotNullParameter(str, "<this>");
int i7 = i;
while (i7 < i4) {
char charAt = str.charAt(i7);
if (charAt == '%' || (charAt == '+' && z3)) {
?? obj = new Object();
obj.p0(str, i, i7);
while (i7 < i4) {
int codePointAt = str.codePointAt(i7);
if (codePointAt != 37 || (i6 = i7 + 2) >= i4) {
if (codePointAt == 43 && z3) {
obj.j0(32);
i7++;
}
obj.q0(codePointAt);
i7 += Character.charCount(codePointAt);
} else {
int q4 = f3.c.q(str.charAt(i7 + 1));
int q5 = f3.c.q(str.charAt(i6));
if (q4 != -1 && q5 != -1) {
obj.j0((q4 << 4) + q5);
i7 = Character.charCount(codePointAt) + i6;
}
obj.q0(codePointAt);
i7 += Character.charCount(codePointAt);
}
}
return obj.e0();
}
i7++;
}
String substring = str.substring(i, i4);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public static String f(String str) {
boolean startsWith$default;
boolean startsWith$default2;
startsWith$default = StringsKt__StringsJVMKt.startsWith$default(str, "TLS_", false, 2, null);
if (startsWith$default) {
StringBuilder sb = new StringBuilder("SSL_");
String substring = str.substring(4);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
sb.append(substring);
return sb.toString();
}
startsWith$default2 = StringsKt__StringsJVMKt.startsWith$default(str, "SSL_", false, 2, null);
if (!startsWith$default2) {
return str;
}
StringBuilder sb2 = new StringBuilder("TLS_");
String substring2 = str.substring(4);
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
sb2.append(substring2);
return sb2.toString();
}
public static ArrayList g(String str) {
int indexOf$default;
int indexOf$default2;
Intrinsics.checkNotNullParameter(str, "<this>");
ArrayList arrayList = new ArrayList();
int i = 0;
while (i <= str.length()) {
indexOf$default = StringsKt__StringsKt.indexOf$default(str, Typography.amp, i, false, 4, (Object) null);
if (indexOf$default == -1) {
indexOf$default = str.length();
}
indexOf$default2 = StringsKt__StringsKt.indexOf$default((CharSequence) str, '=', i, false, 4, (Object) null);
if (indexOf$default2 == -1 || indexOf$default2 > indexOf$default) {
String substring = str.substring(i, indexOf$default);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
arrayList.add(substring);
arrayList.add(null);
} else {
String substring2 = str.substring(i, indexOf$default2);
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String…ing(startIndex, endIndex)");
arrayList.add(substring2);
String substring3 = str.substring(indexOf$default2 + 1, indexOf$default);
Intrinsics.checkNotNullExpressionValue(substring3, "this as java.lang.String…ing(startIndex, endIndex)");
arrayList.add(substring3);
}
i = indexOf$default + 1;
}
return arrayList;
}
public static void h(ArrayList arrayList, StringBuilder out) {
Intrinsics.checkNotNullParameter(arrayList, "<this>");
Intrinsics.checkNotNullParameter(out, "out");
IntProgression g4 = RangesKt.g(RangesKt.until(0, arrayList.size()), 2);
int first = g4.getFirst();
int last = g4.getLast();
int step = g4.getStep();
if ((step <= 0 || first > last) && (step >= 0 || last > first)) {
return;
}
while (true) {
String str = (String) arrayList.get(first);
String str2 = (String) arrayList.get(first + 1);
if (first > 0) {
out.append(Typography.amp);
}
out.append(str);
if (str2 != null) {
out.append('=');
out.append(str2);
}
if (first == last) {
return;
} else {
first += step;
}
}
}
public synchronized C0324j c(String javaName) {
C0324j c0324j;
try {
Intrinsics.checkNotNullParameter(javaName, "javaName");
LinkedHashMap linkedHashMap = C0324j.f6351d;
c0324j = (C0324j) linkedHashMap.get(javaName);
if (c0324j == null) {
c0324j = (C0324j) linkedHashMap.get(f(javaName));
if (c0324j == null) {
c0324j = new C0324j(javaName);
}
linkedHashMap.put(javaName, c0324j);
}
} catch (Throwable th) {
throw th;
}
return c0324j;
}
}

View File

@@ -0,0 +1,52 @@
package e3;
import java.util.ArrayDeque;
import java.util.concurrent.ThreadPoolExecutor;
import kotlin.Unit;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.p, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0330p {
/* renamed from: a, reason: collision with root package name */
public ThreadPoolExecutor f6390a;
/* renamed from: b, reason: collision with root package name */
public final ArrayDeque f6391b = new ArrayDeque();
/* renamed from: c, reason: collision with root package name */
public final ArrayDeque f6392c = new ArrayDeque();
/* renamed from: d, reason: collision with root package name */
public final ArrayDeque f6393d = new ArrayDeque();
public final void a(ArrayDeque arrayDeque, Object obj) {
synchronized (this) {
if (!arrayDeque.remove(obj)) {
throw new AssertionError("Call wasn't in-flight!");
}
Unit unit = Unit.INSTANCE;
}
c();
}
public final void b(i3.g call) {
Intrinsics.checkNotNullParameter(call, "call");
call.f6856b.decrementAndGet();
a(this.f6392c, call);
}
/* JADX WARN: Removed duplicated region for block: B:25:0x0062 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c() {
/*
Method dump skipped, instructions count: 235
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0330p.c():void");
}
}

View File

@@ -0,0 +1,14 @@
package e3;
import java.util.ArrayList;
/* renamed from: e3.q, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0331q {
/* renamed from: a, reason: collision with root package name */
public final ArrayList f6394a = new ArrayList();
/* renamed from: b, reason: collision with root package name */
public final ArrayList f6395b = new ArrayList();
}

View File

@@ -0,0 +1,97 @@
package e3;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.collections.CollectionsKt__IterablesKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.s, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0332s {
/* renamed from: a, reason: collision with root package name */
public final V f6399a;
/* renamed from: b, reason: collision with root package name */
public final C0324j f6400b;
/* renamed from: c, reason: collision with root package name */
public final List f6401c;
/* renamed from: d, reason: collision with root package name */
public final Lazy f6402d;
public C0332s(V tlsVersion, C0324j cipherSuite, List localCertificates, Function0 peerCertificatesFn) {
Intrinsics.checkNotNullParameter(tlsVersion, "tlsVersion");
Intrinsics.checkNotNullParameter(cipherSuite, "cipherSuite");
Intrinsics.checkNotNullParameter(localCertificates, "localCertificates");
Intrinsics.checkNotNullParameter(peerCertificatesFn, "peerCertificatesFn");
this.f6399a = tlsVersion;
this.f6400b = cipherSuite;
this.f6401c = localCertificates;
this.f6402d = LazyKt.lazy(new J0.e(peerCertificatesFn));
}
public final List a() {
return (List) this.f6402d.getValue();
}
public final boolean equals(Object obj) {
if (!(obj instanceof C0332s)) {
return false;
}
C0332s c0332s = (C0332s) obj;
return c0332s.f6399a == this.f6399a && Intrinsics.areEqual(c0332s.f6400b, this.f6400b) && Intrinsics.areEqual(c0332s.a(), a()) && Intrinsics.areEqual(c0332s.f6401c, this.f6401c);
}
public final int hashCode() {
return this.f6401c.hashCode() + ((a().hashCode() + ((this.f6400b.hashCode() + ((this.f6399a.hashCode() + 527) * 31)) * 31)) * 31);
}
public final String toString() {
int collectionSizeOrDefault;
int collectionSizeOrDefault2;
String type;
String type2;
List<Certificate> a2 = a();
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(a2, 10);
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
for (Certificate certificate : a2) {
if (certificate instanceof X509Certificate) {
type2 = ((X509Certificate) certificate).getSubjectDN().toString();
} else {
type2 = certificate.getType();
Intrinsics.checkNotNullExpressionValue(type2, "type");
}
arrayList.add(type2);
}
String obj = arrayList.toString();
StringBuilder sb = new StringBuilder("Handshake{tlsVersion=");
sb.append(this.f6399a);
sb.append(" cipherSuite=");
sb.append(this.f6400b);
sb.append(" peerCertificates=");
sb.append(obj);
sb.append(" localCertificates=");
List<Certificate> list = this.f6401c;
collectionSizeOrDefault2 = CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10);
ArrayList arrayList2 = new ArrayList(collectionSizeOrDefault2);
for (Certificate certificate2 : list) {
if (certificate2 instanceof X509Certificate) {
type = ((X509Certificate) certificate2).getSubjectDN().toString();
} else {
type = certificate2.getType();
Intrinsics.checkNotNullExpressionValue(type, "type");
}
arrayList2.add(type);
}
sb.append(arrayList2);
sb.append('}');
return sb.toString();
}
}

View File

@@ -0,0 +1,72 @@
package e3;
import a.AbstractC0105a;
import java.util.ArrayList;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
import kotlin.text.StringsKt__StringsKt;
/* renamed from: e3.t, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0333t {
/* renamed from: a, reason: collision with root package name */
public final ArrayList f6403a = new ArrayList(20);
public final void a(String name, String value) {
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(value, "value");
AbstractC0105a.g(name);
AbstractC0105a.h(value, name);
b(name, value);
}
public final void b(String name, String value) {
CharSequence trim;
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(value, "value");
ArrayList arrayList = this.f6403a;
arrayList.add(name);
trim = StringsKt__StringsKt.trim((CharSequence) value);
arrayList.add(trim.toString());
}
public final void c(String name, String value) {
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(value, "value");
if (name.length() <= 0) {
throw new IllegalArgumentException("name is empty");
}
int length = name.length();
for (int i = 0; i < length; i++) {
char charAt = name.charAt(i);
if ('!' > charAt || charAt >= 127) {
throw new IllegalArgumentException(f3.c.h("Unexpected char %#04x at %d in header name: %s", Integer.valueOf(charAt), Integer.valueOf(i), name).toString());
}
}
b(name, value);
}
public final C0334u d() {
return new C0334u((String[]) this.f6403a.toArray(new String[0]));
}
public final void e(String name) {
boolean equals;
Intrinsics.checkNotNullParameter(name, "name");
int i = 0;
while (true) {
ArrayList arrayList = this.f6403a;
if (i >= arrayList.size()) {
return;
}
equals = StringsKt__StringsJVMKt.equals(name, (String) arrayList.get(i), true);
if (equals) {
arrayList.remove(i);
arrayList.remove(i);
i -= 2;
}
i += 2;
}
}
}

View File

@@ -0,0 +1,115 @@
package e3;
import java.util.Arrays;
import java.util.Iterator;
import kotlin.Pair;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.ArrayIteratorKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.markers.KMappedMarker;
/* renamed from: e3.u, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0334u implements Iterable, KMappedMarker {
/* renamed from: a, reason: collision with root package name */
public final String[] f6404a;
public C0334u(String[] strArr) {
this.f6404a = strArr;
}
/* JADX WARN: Incorrect condition in loop: B:4:0x0018 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.String a(java.lang.String r4) {
/*
r3 = this;
java.lang.String r0 = "name"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r4, r0)
java.lang.String[] r3 = r3.f6404a
int r0 = r3.length
int r0 = r0 + (-2)
r1 = 0
r2 = -2
int r1 = kotlin.internal.ProgressionUtilKt.getProgressionLastElement(r0, r1, r2)
if (r1 > r0) goto L24
L12:
r2 = r3[r0]
boolean r2 = kotlin.text.StringsKt.j(r4, r2)
if (r2 == 0) goto L1f
int r0 = r0 + 1
r3 = r3[r0]
return r3
L1f:
if (r0 == r1) goto L24
int r0 = r0 + (-2)
goto L12
L24:
r3 = 0
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0334u.a(java.lang.String):java.lang.String");
}
public final String b(int i) {
return this.f6404a[i * 2];
}
public final C0333t c() {
C0333t c0333t = new C0333t();
CollectionsKt.c(c0333t.f6403a, this.f6404a);
return c0333t;
}
public final boolean equals(Object obj) {
if (obj instanceof C0334u) {
return Arrays.equals(this.f6404a, ((C0334u) obj).f6404a);
}
return false;
}
public final String f(int i) {
return this.f6404a[(i * 2) + 1];
}
public final int hashCode() {
return Arrays.hashCode(this.f6404a);
}
@Override // java.lang.Iterable
public final Iterator iterator() {
int size = size();
Pair[] pairArr = new Pair[size];
for (int i = 0; i < size; i++) {
pairArr[i] = TuplesKt.to(b(i), f(i));
}
return ArrayIteratorKt.iterator(pairArr);
}
public final int size() {
return this.f6404a.length / 2;
}
public final String toString() {
StringBuilder sb = new StringBuilder();
int size = size();
for (int i = 0; i < size; i++) {
String b4 = b(i);
String f2 = f(i);
sb.append(b4);
sb.append(": ");
if (f3.c.p(b4)) {
f2 = "██";
}
sb.append(f2);
sb.append("\n");
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
return sb2;
}
}

View File

@@ -0,0 +1,247 @@
package e3;
import java.util.ArrayList;
import java.util.Iterator;
import kotlin.collections.CollectionsKt__IterablesKt;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.v, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0335v {
/* renamed from: a, reason: collision with root package name */
public String f6405a;
/* renamed from: d, reason: collision with root package name */
public String f6408d;
/* renamed from: f, reason: collision with root package name */
public final ArrayList f6410f;
/* renamed from: g, reason: collision with root package name */
public ArrayList f6411g;
public String h;
/* renamed from: b, reason: collision with root package name */
public String f6406b = "";
/* renamed from: c, reason: collision with root package name */
public String f6407c = "";
/* renamed from: e, reason: collision with root package name */
public int f6409e = -1;
public C0335v() {
ArrayList arrayList = new ArrayList();
this.f6410f = arrayList;
arrayList.add("");
}
public final w a() {
int collectionSizeOrDefault;
ArrayList arrayList;
int collectionSizeOrDefault2;
String str = this.f6405a;
if (str == null) {
throw new IllegalStateException("scheme == null");
}
String e4 = C0329o.e(this.f6406b, 0, 0, 7);
String e5 = C0329o.e(this.f6407c, 0, 0, 7);
String str2 = this.f6408d;
if (str2 == null) {
throw new IllegalStateException("host == null");
}
int b4 = b();
ArrayList arrayList2 = this.f6410f;
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(arrayList2, 10);
ArrayList arrayList3 = new ArrayList(collectionSizeOrDefault);
Iterator it = arrayList2.iterator();
while (it.hasNext()) {
arrayList3.add(C0329o.e((String) it.next(), 0, 0, 7));
}
ArrayList<String> arrayList4 = this.f6411g;
if (arrayList4 != null) {
collectionSizeOrDefault2 = CollectionsKt__IterablesKt.collectionSizeOrDefault(arrayList4, 10);
ArrayList arrayList5 = new ArrayList(collectionSizeOrDefault2);
for (String str3 : arrayList4) {
arrayList5.add(str3 != null ? C0329o.e(str3, 0, 0, 3) : null);
}
arrayList = arrayList5;
} else {
arrayList = null;
}
String str4 = this.h;
return new w(str, e4, e5, str2, b4, arrayList3, arrayList, str4 != null ? C0329o.e(str4, 0, 0, 7) : null, toString());
}
public final int b() {
int i = this.f6409e;
if (i != -1) {
return i;
}
String scheme = this.f6405a;
Intrinsics.checkNotNull(scheme);
Intrinsics.checkNotNullParameter(scheme, "scheme");
if (Intrinsics.areEqual(scheme, "http")) {
return 80;
}
return Intrinsics.areEqual(scheme, "https") ? 443 : -1;
}
public final void c(String str) {
String b4;
this.f6411g = (str == null || (b4 = C0329o.b(0, 0, 211, str, " \"'<>#")) == null) ? null : C0329o.g(b4);
}
/* JADX WARN: Code restructure failed: missing block: B:168:0x01f7, code lost:
if (r6 < 65536) goto L122;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x007c, code lost:
if (r14 == ':') goto L40;
*/
/* JADX WARN: Removed duplicated region for block: B:100:0x031e A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:104:0x031a A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:66:0x025e */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void d(e3.w r19, java.lang.String r20) {
/*
Method dump skipped, instructions count: 934
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0335v.d(e3.w, java.lang.String):void");
}
/* JADX WARN: Code restructure failed: missing block: B:36:0x0094, code lost:
if (r1 != r3) goto L34;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.String toString() {
/*
r6 = this;
java.lang.StringBuilder r0 = new java.lang.StringBuilder
r0.<init>()
java.lang.String r1 = r6.f6405a
if (r1 == 0) goto L12
r0.append(r1)
java.lang.String r1 = "://"
r0.append(r1)
goto L17
L12:
java.lang.String r1 = "//"
r0.append(r1)
L17:
java.lang.String r1 = r6.f6406b
int r1 = r1.length()
r2 = 58
if (r1 <= 0) goto L22
goto L2a
L22:
java.lang.String r1 = r6.f6407c
int r1 = r1.length()
if (r1 <= 0) goto L44
L2a:
java.lang.String r1 = r6.f6406b
r0.append(r1)
java.lang.String r1 = r6.f6407c
int r1 = r1.length()
if (r1 <= 0) goto L3f
r0.append(r2)
java.lang.String r1 = r6.f6407c
r0.append(r1)
L3f:
r1 = 64
r0.append(r1)
L44:
java.lang.String r1 = r6.f6408d
if (r1 == 0) goto L66
kotlin.jvm.internal.Intrinsics.checkNotNull(r1)
boolean r1 = kotlin.text.StringsKt.d(r1, r2)
if (r1 == 0) goto L61
r1 = 91
r0.append(r1)
java.lang.String r1 = r6.f6408d
r0.append(r1)
r1 = 93
r0.append(r1)
goto L66
L61:
java.lang.String r1 = r6.f6408d
r0.append(r1)
L66:
int r1 = r6.f6409e
r3 = -1
if (r1 != r3) goto L6f
java.lang.String r1 = r6.f6405a
if (r1 == 0) goto L9c
L6f:
int r1 = r6.b()
java.lang.String r4 = r6.f6405a
if (r4 == 0) goto L96
kotlin.jvm.internal.Intrinsics.checkNotNull(r4)
java.lang.String r5 = "scheme"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r4, r5)
java.lang.String r5 = "http"
boolean r5 = kotlin.jvm.internal.Intrinsics.areEqual(r4, r5)
if (r5 == 0) goto L8a
r3 = 80
goto L94
L8a:
java.lang.String r5 = "https"
boolean r4 = kotlin.jvm.internal.Intrinsics.areEqual(r4, r5)
if (r4 == 0) goto L94
r3 = 443(0x1bb, float:6.21E-43)
L94:
if (r1 == r3) goto L9c
L96:
r0.append(r2)
r0.append(r1)
L9c:
java.util.ArrayList r1 = r6.f6410f
java.lang.String r2 = "<this>"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r1, r2)
java.lang.String r2 = "out"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r0, r2)
int r2 = r1.size()
r3 = 0
Lad:
if (r3 >= r2) goto Lc0
r4 = 47
r0.append(r4)
java.lang.Object r4 = r1.get(r3)
java.lang.String r4 = (java.lang.String) r4
r0.append(r4)
int r3 = r3 + 1
goto Lad
Lc0:
java.util.ArrayList r1 = r6.f6411g
if (r1 == 0) goto Ld1
r1 = 63
r0.append(r1)
java.util.ArrayList r1 = r6.f6411g
kotlin.jvm.internal.Intrinsics.checkNotNull(r1)
e3.C0329o.h(r1, r0)
Ld1:
java.lang.String r1 = r6.h
if (r1 == 0) goto Ldf
r1 = 35
r0.append(r1)
java.lang.String r6 = r6.h
r0.append(r6)
Ldf:
java.lang.String r6 = r0.toString()
java.lang.String r0 = "StringBuilder().apply(builderAction).toString()"
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r6, r0)
return r6
*/
throw new UnsupportedOperationException("Method not decompiled: e3.C0335v.toString():java.lang.String");
}
}

View File

@@ -0,0 +1,150 @@
package e3;
import java.util.List;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import r3.C0576h;
import r3.C0579k;
import r3.InterfaceC0577i;
/* loaded from: classes3.dex */
public final class D extends M {
/* renamed from: e, reason: collision with root package name */
public static final A f6207e;
/* renamed from: f, reason: collision with root package name */
public static final A f6208f;
/* renamed from: g, reason: collision with root package name */
public static final byte[] f6209g;
public static final byte[] h;
public static final byte[] i;
/* renamed from: a, reason: collision with root package name */
public final C0579k f6210a;
/* renamed from: b, reason: collision with root package name */
public final List f6211b;
/* renamed from: c, reason: collision with root package name */
public final A f6212c;
/* renamed from: d, reason: collision with root package name */
public long f6213d;
static {
Pattern pattern = A.f6197d;
f6207e = z.a("multipart/mixed");
z.a("multipart/alternative");
z.a("multipart/digest");
z.a("multipart/parallel");
f6208f = z.a("multipart/form-data");
f6209g = new byte[]{58, 32};
h = new byte[]{13, 10};
i = new byte[]{45, 45};
}
public D(C0579k boundaryByteString, A type, List parts) {
Intrinsics.checkNotNullParameter(boundaryByteString, "boundaryByteString");
Intrinsics.checkNotNullParameter(type, "type");
Intrinsics.checkNotNullParameter(parts, "parts");
this.f6210a = boundaryByteString;
this.f6211b = parts;
Pattern pattern = A.f6197d;
this.f6212c = z.a(type + "; boundary=" + boundaryByteString.q());
this.f6213d = -1L;
}
/* JADX WARN: Multi-variable type inference failed */
public final long a(InterfaceC0577i interfaceC0577i, boolean z3) {
C0576h c0576h;
InterfaceC0577i interfaceC0577i2;
if (z3) {
Object obj = new Object();
c0576h = obj;
interfaceC0577i2 = obj;
} else {
c0576h = null;
interfaceC0577i2 = interfaceC0577i;
}
List list = this.f6211b;
int size = list.size();
long j4 = 0;
int i4 = 0;
while (true) {
C0579k c0579k = this.f6210a;
byte[] bArr = i;
byte[] bArr2 = h;
if (i4 >= size) {
Intrinsics.checkNotNull(interfaceC0577i2);
interfaceC0577i2.E(bArr);
interfaceC0577i2.F(c0579k);
interfaceC0577i2.E(bArr);
interfaceC0577i2.E(bArr2);
if (!z3) {
return j4;
}
Intrinsics.checkNotNull(c0576h);
long j5 = j4 + c0576h.f8284b;
c0576h.d();
return j5;
}
C c4 = (C) list.get(i4);
C0334u c0334u = c4.f6205a;
Intrinsics.checkNotNull(interfaceC0577i2);
interfaceC0577i2.E(bArr);
interfaceC0577i2.F(c0579k);
interfaceC0577i2.E(bArr2);
if (c0334u != null) {
int size2 = c0334u.size();
for (int i5 = 0; i5 < size2; i5++) {
interfaceC0577i2.Q(c0334u.b(i5)).E(f6209g).Q(c0334u.f(i5)).E(bArr2);
}
}
M m4 = c4.f6206b;
A contentType = m4.contentType();
if (contentType != null) {
interfaceC0577i2.Q("Content-Type: ").Q(contentType.f6199a).E(bArr2);
}
long contentLength = m4.contentLength();
if (contentLength != -1) {
interfaceC0577i2.Q("Content-Length: ").R(contentLength).E(bArr2);
} else if (z3) {
Intrinsics.checkNotNull(c0576h);
c0576h.d();
return -1L;
}
interfaceC0577i2.E(bArr2);
if (z3) {
j4 += contentLength;
} else {
m4.writeTo(interfaceC0577i2);
}
interfaceC0577i2.E(bArr2);
i4++;
}
}
@Override // e3.M
public final long contentLength() {
long j4 = this.f6213d;
if (j4 != -1) {
return j4;
}
long a2 = a(null, true);
this.f6213d = a2;
return a2;
}
@Override // e3.M
public final A contentType() {
return this.f6212c;
}
@Override // e3.M
public final void writeTo(InterfaceC0577i sink) {
Intrinsics.checkNotNullParameter(sink, "sink");
a(sink, false);
}
}

View File

@@ -0,0 +1,87 @@
package e3;
import java.util.ArrayList;
import java.util.List;
import javax.net.SocketFactory;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class E {
/* renamed from: a, reason: collision with root package name */
public final C0330p f6214a = new C0330p();
/* renamed from: b, reason: collision with root package name */
public final A.a f6215b = new A.a(26);
/* renamed from: c, reason: collision with root package name */
public final ArrayList f6216c = new ArrayList();
/* renamed from: d, reason: collision with root package name */
public final ArrayList f6217d = new ArrayList();
/* renamed from: e, reason: collision with root package name */
public final B0.w f6218e;
/* renamed from: f, reason: collision with root package name */
public final boolean f6219f;
/* renamed from: g, reason: collision with root package name */
public final C0329o f6220g;
public final boolean h;
public final boolean i;
/* renamed from: j, reason: collision with root package name */
public final C0329o f6221j;
/* renamed from: k, reason: collision with root package name */
public final C0329o f6222k;
/* renamed from: l, reason: collision with root package name */
public final C0329o f6223l;
/* renamed from: m, reason: collision with root package name */
public final SocketFactory f6224m;
/* renamed from: n, reason: collision with root package name */
public final List f6225n;
/* renamed from: o, reason: collision with root package name */
public final List f6226o;
public final q3.c p;
/* renamed from: q, reason: collision with root package name */
public C0322h f6227q;
/* renamed from: r, reason: collision with root package name */
public int f6228r;
/* renamed from: s, reason: collision with root package name */
public int f6229s;
/* renamed from: t, reason: collision with root package name */
public int f6230t;
public E() {
Intrinsics.checkNotNullParameter(C0329o.f6389d, "<this>");
this.f6218e = new B0.w(21);
this.f6219f = true;
C0329o c0329o = InterfaceC0316b.f6329a;
this.f6220g = c0329o;
this.h = true;
this.i = true;
this.f6221j = C0329o.f6387b;
this.f6222k = C0329o.f6388c;
this.f6223l = c0329o;
SocketFactory socketFactory = SocketFactory.getDefault();
Intrinsics.checkNotNullExpressionValue(socketFactory, "getDefault()");
this.f6224m = socketFactory;
this.f6225n = F.f6231A;
this.f6226o = F.f6232z;
this.p = q3.c.f8192a;
this.f6227q = C0322h.f6346c;
this.f6228r = 10000;
this.f6229s = 10000;
this.f6230t = 10000;
}
}

View File

@@ -0,0 +1,109 @@
package e3;
import a.AbstractC0105a;
import java.net.ProxySelector;
import java.util.List;
import javax.net.SocketFactory;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.X509TrustManager;
/* loaded from: classes3.dex */
public final class F implements Cloneable, InterfaceC0318d {
/* renamed from: a, reason: collision with root package name */
public final C0330p f6233a;
/* renamed from: b, reason: collision with root package name */
public final A.a f6234b;
/* renamed from: c, reason: collision with root package name */
public final List f6235c;
/* renamed from: d, reason: collision with root package name */
public final List f6236d;
/* renamed from: e, reason: collision with root package name */
public final B0.w f6237e;
/* renamed from: f, reason: collision with root package name */
public final boolean f6238f;
/* renamed from: g, reason: collision with root package name */
public final C0329o f6239g;
public final boolean h;
public final boolean i;
/* renamed from: j, reason: collision with root package name */
public final C0329o f6240j;
/* renamed from: k, reason: collision with root package name */
public final C0329o f6241k;
/* renamed from: l, reason: collision with root package name */
public final ProxySelector f6242l;
/* renamed from: m, reason: collision with root package name */
public final C0329o f6243m;
/* renamed from: n, reason: collision with root package name */
public final SocketFactory f6244n;
/* renamed from: o, reason: collision with root package name */
public final SSLSocketFactory f6245o;
public final X509TrustManager p;
/* renamed from: q, reason: collision with root package name */
public final List f6246q;
/* renamed from: r, reason: collision with root package name */
public final List f6247r;
/* renamed from: s, reason: collision with root package name */
public final q3.c f6248s;
/* renamed from: t, reason: collision with root package name */
public final C0322h f6249t;
/* renamed from: u, reason: collision with root package name */
public final AbstractC0105a f6250u;
/* renamed from: v, reason: collision with root package name */
public final int f6251v;
/* renamed from: w, reason: collision with root package name */
public final int f6252w;
/* renamed from: x, reason: collision with root package name */
public final int f6253x;
/* renamed from: y, reason: collision with root package name */
public final h3.d f6254y;
/* renamed from: z, reason: collision with root package name */
public static final List f6232z = f3.c.k(G.HTTP_2, G.HTTP_1_1);
/* renamed from: A, reason: collision with root package name */
public static final List f6231A = f3.c.k(C0326l.f6370e, C0326l.f6371f);
/* JADX WARN: Removed duplicated region for block: B:11:0x00ef */
/* JADX WARN: Removed duplicated region for block: B:53:0x0188 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public F(e3.E r5) {
/*
Method dump skipped, instructions count: 416
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: e3.F.<init>(e3.E):void");
}
public final Object clone() {
return super.clone();
}
public F() {
this(new E());
}
}

View File

@@ -0,0 +1,24 @@
package e3;
/* loaded from: classes3.dex */
public enum G {
HTTP_1_0("http/1.0"),
HTTP_1_1("http/1.1"),
SPDY_3("spdy/3.1"),
HTTP_2("h2"),
H2_PRIOR_KNOWLEDGE("h2_prior_knowledge"),
QUIC("quic");
/* renamed from: a, reason: collision with root package name */
public final String f6261a;
G(String str) {
this.f6261a = str;
}
@Override // java.lang.Enum
public final String toString() {
return this.f6261a;
}
}

View File

@@ -0,0 +1,138 @@
package e3;
import a.AbstractC0105a;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
/* loaded from: classes3.dex */
public final class H {
/* renamed from: a, reason: collision with root package name */
public w f6262a;
/* renamed from: d, reason: collision with root package name */
public M f6265d;
/* renamed from: e, reason: collision with root package name */
public Map f6266e = new LinkedHashMap();
/* renamed from: b, reason: collision with root package name */
public String f6263b = "GET";
/* renamed from: c, reason: collision with root package name */
public C0333t f6264c = new C0333t();
public final I a() {
Map unmodifiableMap;
w wVar = this.f6262a;
if (wVar == null) {
throw new IllegalStateException("url == null");
}
String str = this.f6263b;
C0334u d4 = this.f6264c.d();
M m4 = this.f6265d;
Map map = this.f6266e;
byte[] bArr = f3.c.f6469a;
Intrinsics.checkNotNullParameter(map, "<this>");
if (map.isEmpty()) {
unmodifiableMap = MapsKt.emptyMap();
} else {
unmodifiableMap = Collections.unmodifiableMap(new LinkedHashMap(map));
Intrinsics.checkNotNullExpressionValue(unmodifiableMap, "{\n Collections.unmodi…(LinkedHashMap(this))\n }");
}
return new I(wVar, str, d4, m4, unmodifiableMap);
}
public final void b(C0317c cacheControl) {
Intrinsics.checkNotNullParameter(cacheControl, "cacheControl");
String c0317c = cacheControl.toString();
if (c0317c.length() == 0) {
e("Cache-Control");
} else {
c("Cache-Control", c0317c);
}
}
public final void c(String name, String value) {
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(value, "value");
C0333t c0333t = this.f6264c;
c0333t.getClass();
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(value, "value");
AbstractC0105a.g(name);
AbstractC0105a.h(value, name);
c0333t.e(name);
c0333t.b(name, value);
}
public final void d(String method, M m4) {
Intrinsics.checkNotNullParameter(method, "method");
if (method.length() <= 0) {
throw new IllegalArgumentException("method.isEmpty() == true");
}
if (m4 == null) {
Intrinsics.checkNotNullParameter(method, "method");
if (Intrinsics.areEqual(method, "POST") || Intrinsics.areEqual(method, "PUT") || Intrinsics.areEqual(method, "PATCH") || Intrinsics.areEqual(method, "PROPPATCH") || Intrinsics.areEqual(method, "REPORT")) {
throw new IllegalArgumentException(C.w.o("method ", method, " must have a request body.").toString());
}
} else if (!m3.l.R(method)) {
throw new IllegalArgumentException(C.w.o("method ", method, " must not have a request body.").toString());
}
this.f6263b = method;
this.f6265d = m4;
}
public final void e(String name) {
Intrinsics.checkNotNullParameter(name, "name");
this.f6264c.e(name);
}
public final void f(Class type, Object obj) {
Intrinsics.checkNotNullParameter(type, "type");
if (obj == null) {
this.f6266e.remove(type);
return;
}
if (this.f6266e.isEmpty()) {
this.f6266e = new LinkedHashMap();
}
Map map = this.f6266e;
Object cast = type.cast(obj);
Intrinsics.checkNotNull(cast);
map.put(type, cast);
}
public final void g(String url) {
boolean startsWith;
boolean startsWith2;
Intrinsics.checkNotNullParameter(url, "url");
startsWith = StringsKt__StringsJVMKt.startsWith(url, "ws:", true);
if (startsWith) {
StringBuilder sb = new StringBuilder("http:");
String substring = url.substring(3);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
sb.append(substring);
url = sb.toString();
} else {
startsWith2 = StringsKt__StringsJVMKt.startsWith(url, "wss:", true);
if (startsWith2) {
StringBuilder sb2 = new StringBuilder("https:");
String substring2 = url.substring(4);
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
sb2.append(substring2);
url = sb2.toString();
}
}
Intrinsics.checkNotNullParameter(url, "<this>");
C0335v c0335v = new C0335v();
c0335v.d(null, url);
w url2 = c0335v.a();
Intrinsics.checkNotNullParameter(url2, "url");
this.f6262a = url2;
}
}

View File

@@ -0,0 +1,111 @@
package e3;
import a.AbstractC0106b;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.Pair;
import kotlin.collections.CollectionsKt;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class I {
/* renamed from: a, reason: collision with root package name */
public final w f6267a;
/* renamed from: b, reason: collision with root package name */
public final String f6268b;
/* renamed from: c, reason: collision with root package name */
public final C0334u f6269c;
/* renamed from: d, reason: collision with root package name */
public final M f6270d;
/* renamed from: e, reason: collision with root package name */
public final Map f6271e;
/* renamed from: f, reason: collision with root package name */
public C0317c f6272f;
public I(w url, String method, C0334u headers, M m4, Map tags) {
Intrinsics.checkNotNullParameter(url, "url");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(tags, "tags");
this.f6267a = url;
this.f6268b = method;
this.f6269c = headers;
this.f6270d = m4;
this.f6271e = tags;
}
public final C0317c a() {
C0317c c0317c = this.f6272f;
if (c0317c != null) {
return c0317c;
}
C0317c c0317c2 = C0317c.f6330n;
C0317c A3 = AbstractC0106b.A(this.f6269c);
this.f6272f = A3;
return A3;
}
public final String b(String name) {
Intrinsics.checkNotNullParameter(name, "name");
return this.f6269c.a(name);
}
/* JADX WARN: Type inference failed for: r0v0, types: [e3.H, java.lang.Object] */
public final H c() {
Intrinsics.checkNotNullParameter(this, "request");
?? obj = new Object();
obj.f6266e = new LinkedHashMap();
obj.f6262a = this.f6267a;
obj.f6263b = this.f6268b;
obj.f6265d = this.f6270d;
Map map = this.f6271e;
obj.f6266e = map.isEmpty() ? new LinkedHashMap() : MapsKt.toMutableMap(map);
obj.f6264c = this.f6269c.c();
return obj;
}
public final String toString() {
StringBuilder sb = new StringBuilder("Request{method=");
sb.append(this.f6268b);
sb.append(", url=");
sb.append(this.f6267a);
C0334u c0334u = this.f6269c;
if (c0334u.size() != 0) {
sb.append(", headers=[");
int i = 0;
for (Object obj : c0334u) {
int i4 = i + 1;
if (i < 0) {
CollectionsKt.throwIndexOverflow();
}
Pair pair = (Pair) obj;
String str = (String) pair.component1();
String str2 = (String) pair.component2();
if (i > 0) {
sb.append(", ");
}
sb.append(str);
sb.append(':');
sb.append(str2);
i = i4;
}
sb.append(']');
}
Map map = this.f6271e;
if (!map.isEmpty()) {
sb.append(", tags=");
sb.append(map);
}
sb.append('}');
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
return sb2;
}
}

View File

@@ -0,0 +1,17 @@
package e3;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: e3.b, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public interface InterfaceC0316b {
/* renamed from: a, reason: collision with root package name */
public static final C0329o f6329a = new Object();
/* JADX WARN: Type inference failed for: r0v0, types: [e3.o, java.lang.Object] */
static {
C0329o defaultDns = C0329o.f6388c;
Intrinsics.checkNotNullParameter(defaultDns, "defaultDns");
}
}

View File

@@ -0,0 +1,6 @@
package e3;
/* renamed from: e3.d, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public interface InterfaceC0318d {
}

View File

@@ -0,0 +1,6 @@
package e3;
/* renamed from: e3.e, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public interface InterfaceC0319e extends Cloneable {
}

View File

@@ -0,0 +1,11 @@
package e3;
import java.io.IOException;
/* renamed from: e3.f, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public interface InterfaceC0320f {
void onFailure(InterfaceC0319e interfaceC0319e, IOException iOException);
void onResponse(InterfaceC0319e interfaceC0319e, O o4);
}

View File

@@ -0,0 +1,72 @@
package e3;
import java.io.File;
import java.io.FileInputStream;
import java.util.logging.Logger;
import kotlin.io.CloseableKt;
import kotlin.jvm.internal.Intrinsics;
import r3.C0572d;
import r3.C0579k;
import r3.InterfaceC0577i;
/* loaded from: classes3.dex */
public final class J extends M {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f6273a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ A f6274b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ Object f6275c;
public /* synthetic */ J(A a2, Object obj, int i) {
this.f6273a = i;
this.f6274b = a2;
this.f6275c = obj;
}
@Override // e3.M
public final long contentLength() {
switch (this.f6273a) {
case 0:
return ((File) this.f6275c).length();
default:
return ((C0579k) this.f6275c).d();
}
}
@Override // e3.M
public final A contentType() {
switch (this.f6273a) {
case 0:
return this.f6274b;
default:
return this.f6274b;
}
}
@Override // e3.M
public final void writeTo(InterfaceC0577i sink) {
Object obj = this.f6275c;
int i = this.f6273a;
Intrinsics.checkNotNullParameter(sink, "sink");
switch (i) {
case 0:
Logger logger = r3.w.f8315a;
File file = (File) obj;
Intrinsics.checkNotNullParameter(file, "<this>");
C0572d c0572d = new C0572d(new FileInputStream(file), r3.K.f8261d);
try {
sink.D(c0572d);
CloseableKt.closeFinally(c0572d, null);
return;
} finally {
}
default:
sink.F((C0579k) obj);
return;
}
}
}

View File

@@ -0,0 +1,43 @@
package e3;
import kotlin.jvm.internal.Intrinsics;
import r3.InterfaceC0577i;
/* loaded from: classes3.dex */
public final class K extends M {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ A f6276a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ int f6277b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ byte[] f6278c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ int f6279d;
public K(A a2, byte[] bArr, int i, int i4) {
this.f6276a = a2;
this.f6277b = i;
this.f6278c = bArr;
this.f6279d = i4;
}
@Override // e3.M
public final long contentLength() {
return this.f6277b;
}
@Override // e3.M
public final A contentType() {
return this.f6276a;
}
@Override // e3.M
public final void writeTo(InterfaceC0577i sink) {
Intrinsics.checkNotNullParameter(sink, "sink");
sink.L(this.f6279d, this.f6277b, this.f6278c);
}
}

View File

@@ -0,0 +1,56 @@
package e3;
import java.nio.charset.Charset;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.Charsets;
/* loaded from: classes3.dex */
public final class L {
public static K a(A a2, byte[] bArr, int i, int i4) {
Intrinsics.checkNotNullParameter(bArr, "<this>");
long length = bArr.length;
long j4 = i;
long j5 = i4;
byte[] bArr2 = f3.c.f6469a;
if ((j4 | j5) < 0 || j4 > length || length - j4 < j5) {
throw new ArrayIndexOutOfBoundsException();
}
return new K(a2, bArr, i4, i);
}
public static K b(String str, A a2) {
Intrinsics.checkNotNullParameter(str, "<this>");
Charset charset = Charsets.UTF_8;
if (a2 != null) {
Pattern pattern = A.f6197d;
Charset a4 = a2.a(null);
if (a4 == null) {
String str2 = a2 + "; charset=utf-8";
Intrinsics.checkNotNullParameter(str2, "<this>");
try {
a2 = z.a(str2);
} catch (IllegalArgumentException unused) {
a2 = null;
}
} else {
charset = a4;
}
}
byte[] bytes = str.getBytes(charset);
Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
return a(a2, bytes, 0, bytes.length);
}
public static /* synthetic */ K c(L l4, byte[] bArr, A a2, int i, int i4) {
if ((i4 & 1) != 0) {
a2 = null;
}
if ((i4 & 2) != 0) {
i = 0;
}
int length = bArr.length;
l4.getClass();
return a(a2, bArr, i, length);
}
}

View File

@@ -0,0 +1,149 @@
package e3;
import java.io.File;
import kotlin.Deprecated;
import kotlin.DeprecationLevel;
import kotlin.ReplaceWith;
import kotlin.jvm.JvmName;
import kotlin.jvm.JvmOverloads;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.Intrinsics;
import r3.C0579k;
import r3.InterfaceC0577i;
/* loaded from: classes3.dex */
public abstract class M {
public static final L Companion = new Object();
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'file' argument first to fix Java", replaceWith = @ReplaceWith(expression = "file.asRequestBody(contentType)", imports = {"okhttp3.RequestBody.Companion.asRequestBody"}))
@JvmStatic
public static final M create(A a2, File file) {
Companion.getClass();
Intrinsics.checkNotNullParameter(file, "file");
Intrinsics.checkNotNullParameter(file, "<this>");
return new J(a2, file, 0);
}
public abstract long contentLength();
public abstract A contentType();
public boolean isDuplex() {
return false;
}
public boolean isOneShot() {
return false;
}
public abstract void writeTo(InterfaceC0577i interfaceC0577i);
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toRequestBody(contentType)", imports = {"okhttp3.RequestBody.Companion.toRequestBody"}))
@JvmStatic
public static final M create(A a2, String content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
return L.b(content, a2);
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toRequestBody(contentType)", imports = {"okhttp3.RequestBody.Companion.toRequestBody"}))
@JvmStatic
public static final M create(A a2, C0579k content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
Intrinsics.checkNotNullParameter(content, "<this>");
return new J(a2, content, 1);
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toRequestBody(contentType, offset, byteCount)", imports = {"okhttp3.RequestBody.Companion.toRequestBody"}))
@JvmStatic
@JvmOverloads
public static final M create(A a2, byte[] content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
int length = content.length;
Intrinsics.checkNotNullParameter(content, "content");
return L.a(a2, content, 0, length);
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toRequestBody(contentType, offset, byteCount)", imports = {"okhttp3.RequestBody.Companion.toRequestBody"}))
@JvmStatic
@JvmOverloads
public static final M create(A a2, byte[] content, int i) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
int length = content.length;
Intrinsics.checkNotNullParameter(content, "content");
return L.a(a2, content, i, length);
}
@JvmStatic
@JvmName(name = "create")
public static final M create(String str, A a2) {
Companion.getClass();
return L.b(str, a2);
}
@JvmStatic
@JvmOverloads
@JvmName(name = "create")
public static final M create(byte[] bArr) {
L l4 = Companion;
l4.getClass();
Intrinsics.checkNotNullParameter(bArr, "<this>");
return L.c(l4, bArr, null, 0, 7);
}
@JvmStatic
@JvmOverloads
@JvmName(name = "create")
public static final M create(byte[] bArr, A a2) {
L l4 = Companion;
l4.getClass();
Intrinsics.checkNotNullParameter(bArr, "<this>");
return L.c(l4, bArr, a2, 0, 6);
}
@JvmStatic
@JvmOverloads
@JvmName(name = "create")
public static final M create(byte[] bArr, A a2, int i) {
L l4 = Companion;
l4.getClass();
Intrinsics.checkNotNullParameter(bArr, "<this>");
return L.c(l4, bArr, a2, i, 4);
}
@JvmStatic
@JvmOverloads
@JvmName(name = "create")
public static final M create(byte[] bArr, A a2, int i, int i4) {
Companion.getClass();
return L.a(a2, bArr, i, i4);
}
@JvmStatic
@JvmName(name = "create")
public static final M create(C0579k c0579k, A a2) {
Companion.getClass();
Intrinsics.checkNotNullParameter(c0579k, "<this>");
return new J(a2, c0579k, 1);
}
@JvmStatic
@JvmName(name = "create")
public static final M create(File file, A a2) {
Companion.getClass();
Intrinsics.checkNotNullParameter(file, "<this>");
return new J(a2, file, 0);
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toRequestBody(contentType, offset, byteCount)", imports = {"okhttp3.RequestBody.Companion.toRequestBody"}))
@JvmStatic
@JvmOverloads
public static final M create(A a2, byte[] content, int i, int i4) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
return L.a(a2, content, i, i4);
}
}

View File

@@ -0,0 +1,84 @@
package e3;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class N {
/* renamed from: a, reason: collision with root package name */
public I f6280a;
/* renamed from: b, reason: collision with root package name */
public G f6281b;
/* renamed from: d, reason: collision with root package name */
public String f6283d;
/* renamed from: e, reason: collision with root package name */
public C0332s f6284e;
/* renamed from: g, reason: collision with root package name */
public T f6286g;
public O h;
public O i;
/* renamed from: j, reason: collision with root package name */
public O f6287j;
/* renamed from: k, reason: collision with root package name */
public long f6288k;
/* renamed from: l, reason: collision with root package name */
public long f6289l;
/* renamed from: m, reason: collision with root package name */
public i3.e f6290m;
/* renamed from: c, reason: collision with root package name */
public int f6282c = -1;
/* renamed from: f, reason: collision with root package name */
public C0333t f6285f = new C0333t();
public static void b(O o4, String str) {
if (o4 != null) {
if (o4.f6297g != null) {
throw new IllegalArgumentException(str.concat(".body != null").toString());
}
if (o4.h != null) {
throw new IllegalArgumentException(str.concat(".networkResponse != null").toString());
}
if (o4.i != null) {
throw new IllegalArgumentException(str.concat(".cacheResponse != null").toString());
}
if (o4.f6298j != null) {
throw new IllegalArgumentException(str.concat(".priorResponse != null").toString());
}
}
}
public final O a() {
int i = this.f6282c;
if (i < 0) {
throw new IllegalStateException(("code < 0: " + this.f6282c).toString());
}
I i4 = this.f6280a;
if (i4 == null) {
throw new IllegalStateException("request == null");
}
G g4 = this.f6281b;
if (g4 == null) {
throw new IllegalStateException("protocol == null");
}
String str = this.f6283d;
if (str != null) {
return new O(i4, g4, str, i, this.f6284e, this.f6285f.d(), this.f6286g, this.h, this.i, this.f6287j, this.f6288k, this.f6289l, this.f6290m);
}
throw new IllegalStateException("message == null");
}
public final void c(C0334u headers) {
Intrinsics.checkNotNullParameter(headers, "headers");
this.f6285f = headers.c();
}
}

View File

@@ -0,0 +1,114 @@
package e3;
import java.io.Closeable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class O implements Closeable {
/* renamed from: a, reason: collision with root package name */
public final I f6291a;
/* renamed from: b, reason: collision with root package name */
public final G f6292b;
/* renamed from: c, reason: collision with root package name */
public final String f6293c;
/* renamed from: d, reason: collision with root package name */
public final int f6294d;
/* renamed from: e, reason: collision with root package name */
public final C0332s f6295e;
/* renamed from: f, reason: collision with root package name */
public final C0334u f6296f;
/* renamed from: g, reason: collision with root package name */
public final T f6297g;
public final O h;
public final O i;
/* renamed from: j, reason: collision with root package name */
public final O f6298j;
/* renamed from: k, reason: collision with root package name */
public final long f6299k;
/* renamed from: l, reason: collision with root package name */
public final long f6300l;
/* renamed from: m, reason: collision with root package name */
public final i3.e f6301m;
/* renamed from: n, reason: collision with root package name */
public C0317c f6302n;
public O(I request, G protocol, String message, int i, C0332s c0332s, C0334u headers, T t2, O o4, O o5, O o6, long j4, long j5, i3.e eVar) {
Intrinsics.checkNotNullParameter(request, "request");
Intrinsics.checkNotNullParameter(protocol, "protocol");
Intrinsics.checkNotNullParameter(message, "message");
Intrinsics.checkNotNullParameter(headers, "headers");
this.f6291a = request;
this.f6292b = protocol;
this.f6293c = message;
this.f6294d = i;
this.f6295e = c0332s;
this.f6296f = headers;
this.f6297g = t2;
this.h = o4;
this.i = o5;
this.f6298j = o6;
this.f6299k = j4;
this.f6300l = j5;
this.f6301m = eVar;
}
public static String d(O o4, String name) {
o4.getClass();
Intrinsics.checkNotNullParameter(name, "name");
String a2 = o4.f6296f.a(name);
if (a2 == null) {
return null;
}
return a2;
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public final void close() {
T t2 = this.f6297g;
if (t2 == null) {
throw new IllegalStateException("response is not eligible for a body and must not be closed");
}
t2.close();
}
public final boolean e() {
int i = this.f6294d;
return 200 <= i && i < 300;
}
/* JADX WARN: Type inference failed for: r0v0, types: [e3.N, java.lang.Object] */
public final N s() {
Intrinsics.checkNotNullParameter(this, "response");
?? obj = new Object();
obj.f6280a = this.f6291a;
obj.f6281b = this.f6292b;
obj.f6282c = this.f6294d;
obj.f6283d = this.f6293c;
obj.f6284e = this.f6295e;
obj.f6285f = this.f6296f.c();
obj.f6286g = this.f6297g;
obj.h = this.h;
obj.i = this.i;
obj.f6287j = this.f6298j;
obj.f6288k = this.f6299k;
obj.f6289l = this.f6300l;
obj.f6290m = this.f6301m;
return obj;
}
public final String toString() {
return "Response{protocol=" + this.f6292b + ", code=" + this.f6294d + ", message=" + this.f6293c + ", url=" + this.f6291a.f6267a + '}';
}
}

View File

@@ -0,0 +1,63 @@
package e3;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.nio.charset.Charset;
import kotlin.Unit;
import kotlin.jvm.internal.Intrinsics;
import r3.InterfaceC0578j;
/* loaded from: classes3.dex */
public final class P extends Reader {
/* renamed from: a, reason: collision with root package name */
public final InterfaceC0578j f6303a;
/* renamed from: b, reason: collision with root package name */
public final Charset f6304b;
/* renamed from: c, reason: collision with root package name */
public boolean f6305c;
/* renamed from: d, reason: collision with root package name */
public InputStreamReader f6306d;
public P(InterfaceC0578j source, Charset charset) {
Intrinsics.checkNotNullParameter(source, "source");
Intrinsics.checkNotNullParameter(charset, "charset");
this.f6303a = source;
this.f6304b = charset;
}
@Override // java.io.Reader, java.io.Closeable, java.lang.AutoCloseable
public final void close() {
Unit unit;
this.f6305c = true;
InputStreamReader inputStreamReader = this.f6306d;
if (inputStreamReader != null) {
inputStreamReader.close();
unit = Unit.INSTANCE;
} else {
unit = null;
}
if (unit == null) {
this.f6303a.close();
}
}
@Override // java.io.Reader
public final int read(char[] cbuf, int i, int i4) {
Intrinsics.checkNotNullParameter(cbuf, "cbuf");
if (this.f6305c) {
throw new IOException("Stream closed");
}
InputStreamReader inputStreamReader = this.f6306d;
if (inputStreamReader == null) {
InterfaceC0578j interfaceC0578j = this.f6303a;
inputStreamReader = new InputStreamReader(interfaceC0578j.X(), f3.c.r(interfaceC0578j, this.f6304b));
this.f6306d = inputStreamReader;
}
return inputStreamReader.read(cbuf, i, i4);
}
}

View File

@@ -0,0 +1,75 @@
package e3;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import r3.InterfaceC0578j;
/* loaded from: classes3.dex */
public final class Q extends T {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f6307a = 0;
/* renamed from: b, reason: collision with root package name */
public final long f6308b;
/* renamed from: c, reason: collision with root package name */
public final Object f6309c;
/* renamed from: d, reason: collision with root package name */
public final InterfaceC0578j f6310d;
public Q(A a2, long j4, InterfaceC0578j interfaceC0578j) {
this.f6309c = a2;
this.f6308b = j4;
this.f6310d = interfaceC0578j;
}
@Override // e3.T
public final long contentLength() {
switch (this.f6307a) {
case 0:
return this.f6308b;
default:
return this.f6308b;
}
}
@Override // e3.T
public final A contentType() {
Object obj = this.f6309c;
switch (this.f6307a) {
case 0:
return (A) obj;
default:
String str = (String) obj;
if (str == null) {
return null;
}
Pattern pattern = A.f6197d;
Intrinsics.checkNotNullParameter(str, "<this>");
try {
return z.a(str);
} catch (IllegalArgumentException unused) {
return null;
}
}
}
@Override // e3.T
public final InterfaceC0578j source() {
switch (this.f6307a) {
case 0:
return this.f6310d;
default:
return (r3.C) this.f6310d;
}
}
public Q(String str, long j4, r3.C source) {
Intrinsics.checkNotNullParameter(source, "source");
this.f6309c = str;
this.f6308b = j4;
this.f6310d = source;
}
}

View File

@@ -0,0 +1,69 @@
package e3;
import java.nio.charset.Charset;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.Charsets;
import r3.InterfaceC0578j;
/* loaded from: classes3.dex */
public final class S {
public static Q a(A a2, long j4, InterfaceC0578j interfaceC0578j) {
Intrinsics.checkNotNullParameter(interfaceC0578j, "<this>");
return new Q(a2, j4, interfaceC0578j);
}
/* JADX WARN: Type inference failed for: r3v1, types: [r3.j, java.lang.Object, r3.h] */
public static Q b(String string, A a2) {
Intrinsics.checkNotNullParameter(string, "<this>");
Charset charset = Charsets.UTF_8;
if (a2 != null) {
Pattern pattern = A.f6197d;
Charset a4 = a2.a(null);
if (a4 == null) {
String str = a2 + "; charset=utf-8";
Intrinsics.checkNotNullParameter(str, "<this>");
try {
a2 = z.a(str);
} catch (IllegalArgumentException unused) {
a2 = null;
}
} else {
charset = a4;
}
}
?? obj = new Object();
Intrinsics.checkNotNullParameter(string, "string");
Intrinsics.checkNotNullParameter(charset, "charset");
int length = string.length();
Intrinsics.checkNotNullParameter(string, "string");
Intrinsics.checkNotNullParameter(charset, "charset");
if (length < 0) {
throw new IllegalArgumentException(C.w.k("endIndex < beginIndex: ", length, 0, " < ").toString());
}
if (length > string.length()) {
StringBuilder t2 = C.w.t(length, "endIndex > string.length: ", " > ");
t2.append(string.length());
throw new IllegalArgumentException(t2.toString().toString());
}
if (Intrinsics.areEqual(charset, Charsets.UTF_8)) {
obj.p0(string, 0, length);
} else {
String substring = string.substring(0, length);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
byte[] bytes = substring.getBytes(charset);
Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
obj.i0(bytes, 0, bytes.length);
}
return a(a2, obj.f8284b, obj);
}
/* JADX WARN: Type inference failed for: r0v1, types: [r3.j, java.lang.Object, r3.h] */
public static Q c(byte[] source, A a2) {
Intrinsics.checkNotNullParameter(source, "<this>");
?? obj = new Object();
Intrinsics.checkNotNullParameter(source, "source");
obj.i0(source, 0, source.length);
return a(a2, source.length, obj);
}
}

View File

@@ -0,0 +1,172 @@
package e3;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.nio.charset.Charset;
import kotlin.Deprecated;
import kotlin.DeprecationLevel;
import kotlin.ReplaceWith;
import kotlin.io.CloseableKt;
import kotlin.jvm.JvmName;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.Charsets;
import r3.C0579k;
import r3.InterfaceC0578j;
/* loaded from: classes3.dex */
public abstract class T implements Closeable {
public static final S Companion = new Object();
private Reader reader;
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.asResponseBody(contentType, contentLength)", imports = {"okhttp3.ResponseBody.Companion.asResponseBody"}))
@JvmStatic
public static final T create(A a2, long j4, InterfaceC0578j content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
return S.a(a2, j4, content);
}
public final InputStream byteStream() {
return source().X();
}
public final C0579k byteString() throws IOException {
long contentLength = contentLength();
if (contentLength > 2147483647L) {
throw new IOException(C.w.l("Cannot buffer entire body for content length: ", contentLength));
}
InterfaceC0578j source = source();
try {
C0579k g4 = source.g();
CloseableKt.closeFinally(source, null);
int d4 = g4.d();
if (contentLength == -1 || contentLength == d4) {
return g4;
}
throw new IOException("Content-Length (" + contentLength + ") and stream length (" + d4 + ") disagree");
} finally {
}
}
public final byte[] bytes() throws IOException {
long contentLength = contentLength();
if (contentLength > 2147483647L) {
throw new IOException(C.w.l("Cannot buffer entire body for content length: ", contentLength));
}
InterfaceC0578j source = source();
try {
byte[] w3 = source.w();
CloseableKt.closeFinally(source, null);
int length = w3.length;
if (contentLength == -1 || contentLength == length) {
return w3;
}
throw new IOException("Content-Length (" + contentLength + ") and stream length (" + length + ") disagree");
} finally {
}
}
public final Reader charStream() {
Charset charset;
Reader reader = this.reader;
if (reader == null) {
InterfaceC0578j source = source();
A contentType = contentType();
if (contentType == null || (charset = contentType.a(Charsets.UTF_8)) == null) {
charset = Charsets.UTF_8;
}
reader = new P(source, charset);
this.reader = reader;
}
return reader;
}
@Override // java.io.Closeable, java.lang.AutoCloseable
public void close() {
f3.c.c(source());
}
public abstract long contentLength();
public abstract A contentType();
public abstract InterfaceC0578j source();
public final String string() throws IOException {
Charset charset;
InterfaceC0578j source = source();
try {
A contentType = contentType();
if (contentType == null || (charset = contentType.a(Charsets.UTF_8)) == null) {
charset = Charsets.UTF_8;
}
String W3 = source.W(f3.c.r(source, charset));
CloseableKt.closeFinally(source, null);
return W3;
} finally {
}
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toResponseBody(contentType)", imports = {"okhttp3.ResponseBody.Companion.toResponseBody"}))
@JvmStatic
public static final T create(A a2, String content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
return S.b(content, a2);
}
/* JADX WARN: Type inference failed for: r0v3, types: [r3.j, java.lang.Object, r3.h] */
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toResponseBody(contentType)", imports = {"okhttp3.ResponseBody.Companion.toResponseBody"}))
@JvmStatic
public static final T create(A a2, C0579k content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
Intrinsics.checkNotNullParameter(content, "<this>");
?? obj = new Object();
obj.h0(content);
return S.a(a2, content.d(), obj);
}
@Deprecated(level = DeprecationLevel.WARNING, message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = @ReplaceWith(expression = "content.toResponseBody(contentType)", imports = {"okhttp3.ResponseBody.Companion.toResponseBody"}))
@JvmStatic
public static final T create(A a2, byte[] content) {
Companion.getClass();
Intrinsics.checkNotNullParameter(content, "content");
return S.c(content, a2);
}
@JvmStatic
@JvmName(name = "create")
public static final T create(String str, A a2) {
Companion.getClass();
return S.b(str, a2);
}
@JvmStatic
@JvmName(name = "create")
public static final T create(InterfaceC0578j interfaceC0578j, A a2, long j4) {
Companion.getClass();
return S.a(a2, j4, interfaceC0578j);
}
@JvmStatic
@JvmName(name = "create")
public static final T create(byte[] bArr, A a2) {
Companion.getClass();
return S.c(bArr, a2);
}
/* JADX WARN: Type inference failed for: r0v2, types: [r3.j, java.lang.Object, r3.h] */
@JvmStatic
@JvmName(name = "create")
public static final T create(C0579k c0579k, A a2) {
Companion.getClass();
Intrinsics.checkNotNullParameter(c0579k, "<this>");
?? obj = new Object();
obj.h0(c0579k);
return S.a(a2, c0579k.d(), obj);
}
}

View File

@@ -0,0 +1,43 @@
package e3;
import java.net.InetSocketAddress;
import java.net.Proxy;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes3.dex */
public final class U {
/* renamed from: a, reason: collision with root package name */
public final C0315a f6311a;
/* renamed from: b, reason: collision with root package name */
public final Proxy f6312b;
/* renamed from: c, reason: collision with root package name */
public final InetSocketAddress f6313c;
public U(C0315a address, Proxy proxy, InetSocketAddress socketAddress) {
Intrinsics.checkNotNullParameter(address, "address");
Intrinsics.checkNotNullParameter(proxy, "proxy");
Intrinsics.checkNotNullParameter(socketAddress, "socketAddress");
this.f6311a = address;
this.f6312b = proxy;
this.f6313c = socketAddress;
}
public final boolean equals(Object obj) {
if (!(obj instanceof U)) {
return false;
}
U u3 = (U) obj;
return Intrinsics.areEqual(u3.f6311a, this.f6311a) && Intrinsics.areEqual(u3.f6312b, this.f6312b) && Intrinsics.areEqual(u3.f6313c, this.f6313c);
}
public final int hashCode() {
return this.f6313c.hashCode() + ((this.f6312b.hashCode() + ((this.f6311a.hashCode() + 527) * 31)) * 31);
}
public final String toString() {
return "Route{" + this.f6313c + '}';
}
}

View File

@@ -0,0 +1,18 @@
package e3;
/* loaded from: classes3.dex */
public enum V {
TLS_1_3("TLSv1.3"),
TLS_1_2("TLSv1.2"),
TLS_1_1("TLSv1.1"),
TLS_1_0("TLSv1"),
SSL_3_0("SSLv3");
/* renamed from: a, reason: collision with root package name */
public final String f6320a;
V(String str) {
this.f6320a = str;
}
}

View File

@@ -0,0 +1,76 @@
package e3;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import kotlin.jvm.internal.Intrinsics;
import r3.C0576h;
import r3.InterfaceC0577i;
/* loaded from: classes3.dex */
public final class r extends M {
/* renamed from: c, reason: collision with root package name */
public static final A f6396c;
/* renamed from: a, reason: collision with root package name */
public final List f6397a;
/* renamed from: b, reason: collision with root package name */
public final List f6398b;
static {
Pattern pattern = A.f6197d;
f6396c = z.a("application/x-www-form-urlencoded");
}
public r(ArrayList encodedNames, ArrayList encodedValues) {
Intrinsics.checkNotNullParameter(encodedNames, "encodedNames");
Intrinsics.checkNotNullParameter(encodedValues, "encodedValues");
this.f6397a = f3.c.w(encodedNames);
this.f6398b = f3.c.w(encodedValues);
}
/* JADX WARN: Multi-variable type inference failed */
public final long a(InterfaceC0577i interfaceC0577i, boolean z3) {
C0576h c0576h;
if (z3) {
c0576h = new Object();
} else {
Intrinsics.checkNotNull(interfaceC0577i);
c0576h = interfaceC0577i.a();
}
List list = this.f6397a;
int size = list.size();
for (int i = 0; i < size; i++) {
if (i > 0) {
c0576h.j0(38);
}
c0576h.o0((String) list.get(i));
c0576h.j0(61);
c0576h.o0((String) this.f6398b.get(i));
}
if (!z3) {
return 0L;
}
long j4 = c0576h.f8284b;
c0576h.d();
return j4;
}
@Override // e3.M
public final long contentLength() {
return a(null, true);
}
@Override // e3.M
public final A contentType() {
return f6396c;
}
@Override // e3.M
public final void writeTo(InterfaceC0577i sink) {
Intrinsics.checkNotNullParameter(sink, "sink");
a(sink, false);
}
}

View File

@@ -0,0 +1,222 @@
package e3;
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.Regex;
import kotlin.text.StringsKt__StringsKt;
/* loaded from: classes3.dex */
public final class w {
/* renamed from: k, reason: collision with root package name */
public static final char[] f6412k = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
/* renamed from: a, reason: collision with root package name */
public final String f6413a;
/* renamed from: b, reason: collision with root package name */
public final String f6414b;
/* renamed from: c, reason: collision with root package name */
public final String f6415c;
/* renamed from: d, reason: collision with root package name */
public final String f6416d;
/* renamed from: e, reason: collision with root package name */
public final int f6417e;
/* renamed from: f, reason: collision with root package name */
public final ArrayList f6418f;
/* renamed from: g, reason: collision with root package name */
public final ArrayList f6419g;
public final String h;
public final String i;
/* renamed from: j, reason: collision with root package name */
public final boolean f6420j;
public w(String scheme, String username, String password, String host, int i, ArrayList pathSegments, ArrayList arrayList, String str, String url) {
Intrinsics.checkNotNullParameter(scheme, "scheme");
Intrinsics.checkNotNullParameter(username, "username");
Intrinsics.checkNotNullParameter(password, "password");
Intrinsics.checkNotNullParameter(host, "host");
Intrinsics.checkNotNullParameter(pathSegments, "pathSegments");
Intrinsics.checkNotNullParameter(url, "url");
this.f6413a = scheme;
this.f6414b = username;
this.f6415c = password;
this.f6416d = host;
this.f6417e = i;
this.f6418f = pathSegments;
this.f6419g = arrayList;
this.h = str;
this.i = url;
this.f6420j = Intrinsics.areEqual(scheme, "https");
}
public final String a() {
int indexOf$default;
int indexOf$default2;
if (this.f6415c.length() == 0) {
return "";
}
int length = this.f6413a.length() + 3;
String str = this.i;
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) str, ':', length, false, 4, (Object) null);
indexOf$default2 = StringsKt__StringsKt.indexOf$default((CharSequence) str, '@', 0, false, 6, (Object) null);
String substring = str.substring(indexOf$default + 1, indexOf$default2);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public final String b() {
int indexOf$default;
int length = this.f6413a.length() + 3;
String str = this.i;
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) str, '/', length, false, 4, (Object) null);
String substring = str.substring(indexOf$default, f3.c.f(str, indexOf$default, str.length(), "?#"));
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public final ArrayList c() {
int indexOf$default;
int length = this.f6413a.length() + 3;
String str = this.i;
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) str, '/', length, false, 4, (Object) null);
int f2 = f3.c.f(str, indexOf$default, str.length(), "?#");
ArrayList arrayList = new ArrayList();
while (indexOf$default < f2) {
int i = indexOf$default + 1;
int e4 = f3.c.e(str, '/', i, f2);
String substring = str.substring(i, e4);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
arrayList.add(substring);
indexOf$default = e4;
}
return arrayList;
}
public final String d() {
int indexOf$default;
if (this.f6419g == null) {
return null;
}
String str = this.i;
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) str, '?', 0, false, 6, (Object) null);
int i = indexOf$default + 1;
String substring = str.substring(i, f3.c.e(str, '#', i, str.length()));
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public final String e() {
if (this.f6414b.length() == 0) {
return "";
}
int length = this.f6413a.length() + 3;
String str = this.i;
String substring = str.substring(length, f3.c.f(str, length, str.length(), ":@"));
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
public final boolean equals(Object obj) {
return (obj instanceof w) && Intrinsics.areEqual(((w) obj).i, this.i);
}
public final C0335v f(String link) {
Intrinsics.checkNotNullParameter(link, "link");
try {
C0335v c0335v = new C0335v();
c0335v.d(this, link);
return c0335v;
} catch (IllegalArgumentException unused) {
return null;
}
}
public final String g() {
C0335v f2 = f("/...");
Intrinsics.checkNotNull(f2);
f2.getClass();
Intrinsics.checkNotNullParameter("", ServicePaths.AvisaLoginService.queryUsername);
f2.f6406b = C0329o.b(0, 0, 251, "", " \"':;<=>@[]^`{}|/\\?#");
Intrinsics.checkNotNullParameter("", ServicePaths.AvisaLoginService.queryPassword);
f2.f6407c = C0329o.b(0, 0, 251, "", " \"':;<=>@[]^`{}|/\\?#");
return f2.a().i;
}
public final URI h() {
int indexOf$default;
String substring;
C0335v c0335v = new C0335v();
String scheme = this.f6413a;
c0335v.f6405a = scheme;
String e4 = e();
Intrinsics.checkNotNullParameter(e4, "<set-?>");
c0335v.f6406b = e4;
String a2 = a();
Intrinsics.checkNotNullParameter(a2, "<set-?>");
c0335v.f6407c = a2;
c0335v.f6408d = this.f6416d;
Intrinsics.checkNotNullParameter(scheme, "scheme");
int i = Intrinsics.areEqual(scheme, "http") ? 80 : Intrinsics.areEqual(scheme, "https") ? 443 : -1;
int i4 = this.f6417e;
c0335v.f6409e = i4 != i ? i4 : -1;
ArrayList arrayList = c0335v.f6410f;
arrayList.clear();
arrayList.addAll(c());
c0335v.c(d());
if (this.h == null) {
substring = null;
} else {
String str = this.i;
indexOf$default = StringsKt__StringsKt.indexOf$default((CharSequence) str, '#', 0, false, 6, (Object) null);
substring = str.substring(indexOf$default + 1);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
}
c0335v.h = substring;
String str2 = c0335v.f6408d;
c0335v.f6408d = str2 != null ? new Regex("[\"<>^`{|}]").replace(str2, "") : null;
int size = arrayList.size();
for (int i5 = 0; i5 < size; i5++) {
arrayList.set(i5, C0329o.b(0, 0, 227, (String) arrayList.get(i5), "[]"));
}
ArrayList arrayList2 = c0335v.f6411g;
if (arrayList2 != null) {
int size2 = arrayList2.size();
for (int i6 = 0; i6 < size2; i6++) {
String str3 = (String) arrayList2.get(i6);
arrayList2.set(i6, str3 != null ? C0329o.b(0, 0, 195, str3, "\\^`{|}") : null);
}
}
String str4 = c0335v.h;
c0335v.h = str4 != null ? C0329o.b(0, 0, 163, str4, " \"#<>\\^`{|}") : null;
String c0335v2 = c0335v.toString();
try {
return new URI(c0335v2);
} catch (URISyntaxException e5) {
try {
URI create = URI.create(new Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]").replace(c0335v2, ""));
Intrinsics.checkNotNullExpressionValue(create, "{\n // Unlikely edge…Unexpected!\n }\n }");
return create;
} catch (Exception unused) {
throw new RuntimeException(e5);
}
}
}
public final int hashCode() {
return this.i.hashCode();
}
public final String toString() {
return this.i;
}
}

View File

@@ -0,0 +1,5 @@
package e3;
/* loaded from: classes3.dex */
public interface x {
}

View File

@@ -0,0 +1,6 @@
package e3;
/* loaded from: classes3.dex */
public interface y {
O intercept(x xVar);
}

View File

@@ -0,0 +1,67 @@
package e3;
import java.util.ArrayList;
import java.util.Locale;
import java.util.regex.Matcher;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
import kotlin.text.Typography;
/* loaded from: classes3.dex */
public abstract class z {
public static A a(String str) {
boolean startsWith$default;
boolean endsWith$default;
Intrinsics.checkNotNullParameter(str, "<this>");
Matcher matcher = A.f6197d.matcher(str);
if (!matcher.lookingAt()) {
throw new IllegalArgumentException(("No subtype found for: \"" + str + Typography.quote).toString());
}
String group = matcher.group(1);
Intrinsics.checkNotNullExpressionValue(group, "typeSubtype.group(1)");
Locale US = Locale.US;
Intrinsics.checkNotNullExpressionValue(US, "US");
String lowerCase = group.toLowerCase(US);
Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(locale)");
String group2 = matcher.group(2);
Intrinsics.checkNotNullExpressionValue(group2, "typeSubtype.group(2)");
Intrinsics.checkNotNullExpressionValue(US, "US");
Intrinsics.checkNotNullExpressionValue(group2.toLowerCase(US), "this as java.lang.String).toLowerCase(locale)");
ArrayList arrayList = new ArrayList();
Matcher matcher2 = A.f6198e.matcher(str);
int end = matcher.end();
while (end < str.length()) {
matcher2.region(end, str.length());
if (!matcher2.lookingAt()) {
StringBuilder sb = new StringBuilder("Parameter is not formatted correctly: \"");
String substring = str.substring(end);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
sb.append(substring);
sb.append("\" for: \"");
throw new IllegalArgumentException(com.google.android.gms.measurement.internal.a.n(sb, str, Typography.quote).toString());
}
String group3 = matcher2.group(1);
if (group3 == null) {
end = matcher2.end();
} else {
String group4 = matcher2.group(2);
if (group4 == null) {
group4 = matcher2.group(3);
} else {
startsWith$default = StringsKt__StringsJVMKt.startsWith$default(group4, "'", false, 2, null);
if (startsWith$default) {
endsWith$default = StringsKt__StringsJVMKt.endsWith$default(group4, "'", false, 2, null);
if (endsWith$default && group4.length() > 2) {
group4 = group4.substring(1, group4.length() - 1);
Intrinsics.checkNotNullExpressionValue(group4, "this as java.lang.String…ing(startIndex, endIndex)");
}
}
}
arrayList.add(group3);
arrayList.add(group4);
end = matcher2.end();
}
}
return new A(str, lowerCase, (String[]) arrayList.toArray(new String[0]));
}
}