YourPorn v1.2.4版本的 MD5 值为:25af0cc492747d0d721ef41054943bde
以下内容为反编译后的 Cfinally.java 源代码,内容仅作参考
package a3;
import a8.Cclass;
import a8.Cthrow;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.RectF;
import android.util.Log;
import android.util.TypedValue;
import android.view.ViewGroup;
import androidx.cardview.widget.CardView;
import androidx.constraintlayout.core.motion.utils.TypedValues;
import androidx.exifinterface.media.ExifInterface;
import b6.Cgoto;
import b8.Cimport;
import com.airbnb.lottie.Cthis;
import com.caoliu.lib_http.BaseResp;
import com.caoliu.lib_resource.R;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.PlaybackException;
import com.google.android.exoplayer2.source.rtsp.SessionDescription;
import com.google.common.collect.c0;
import com.google.common.collect.h;
import com.google.common.collect.q0;
import com.google.gson.internal.Cfinal;
import h8.Cbreak;
import java.net.IDN;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.concurrent.CancellationException;
import java.util.logging.Logger;
import k8.Cdefault;
import k8.Cextends;
import k8.Cinterface;
import k8.Cpackage;
import k8.Cprotected;
import k8.Cpublic;
import k8.Cstatic;
import k8.Csuper;
import k8.Csynchronized;
import k8.Ctransient;
import k8.k;
import k8.q;
import k8.w;
import k8.z;
import okio.Buffer;
import org.aspectj.runtime.reflect.SignatureImpl;
import p007default.Cnew;
import p021private.Cabstract;
import p7.Cconst;
import p7.Cgoto;
import r8.Ccontinue;
import r8.Cif;
import r8.Cnative;
import r8.Cprivate;
import r8.Cpublic;
import s2.Ctry;
import s8.Celse;
import t7.Ccase;
import t7.Ctry;
import w4.Cdo;
import x3.Cfor;
public class Cfinally implements Ctry, Cgoto, Cfinal, Cdo, Cabstract, Cif, r8.Cfinal {
public static String f30break = "1597214545806372864";
public static String f31catch = "1597214545806372864";
public static String f32class = "1597214666895929344";
public static String f33const = "1597214822861123584";
public static final Cfor f34default;
public static boolean f35else = false;
public static String f37final = "";
public static final Cfor f38finally;
public static Class f39goto = null;
public static String f40import = "https://www.ikb66.com";
public static String f41native = "";
public static final Cfor f42package;
public static String f44public = "";
public static String f45return = "";
public static long f46static = 5000;
public static String f47super = "";
public static String f48switch = "https://b.com/front/";
public static boolean f49this = false;
public static String f50throw = "";
public static final Cfor f51throws;
public static String f52while = "";
public static final Cfor f36extends = new Cfor("NULL", 3);
public static final Cfinally f43private = new Cfinally();
static {
int i10 = 3;
f51throws = new Cfor("REMOVED_TASK", i10);
f34default = new Cfor("CLOSED_EMPTY", i10);
int i11 = 3;
f38finally = new Cfor("UNDEFINED", i11);
f42package = new Cfor("REUSABLE_CLAIMED", i11);
}
public Cfinally() {
}
public static final g8.Cfor A(Class cls) {
i.Cdo.m2667class(cls, "<this>");
return Cimport.m615do(cls);
}
public static Object B(Iterable iterable) {
Object next;
if (iterable instanceof List) {
List list = (List) iterable;
if (!list.isEmpty()) {
return list.get(list.size() - 1);
}
throw new NoSuchElementException();
}
Iterator it = iterable.iterator();
do {
next = it.next();
} while (it.hasNext());
return next;
}
public static Object C(Iterable iterable, Object obj) {
Object obj2 = null;
if (iterable instanceof Collection) {
if (((Collection) iterable).isEmpty()) {
return null;
}
if (iterable instanceof List) {
return ((List) iterable).get(r1.size() - 1);
}
}
Iterator it = iterable.iterator();
}
public static final int D(int i10, int i11, int i12) {
if (i12 > 0) {
return i10 >= i11 ? i11 : i11 - O(O(i11, i12) - O(i10, i12), i12);
}
if (i12 >= 0) {
throw new IllegalArgumentException("Step is zero.");
}
if (i10 <= i11) {
return i11;
}
int i13 = -i12;
return i11 + O(O(i10, i13) - O(i11, i13), i13);
}
public static int E(int[] iArr, int i10, boolean z9) {
int[] iArr2 = iArr;
int i11 = 0;
for (int i12 : iArr2) {
i11 += i12;
}
int length = iArr2.length;
int i13 = 0;
int i14 = 0;
int i15 = 0;
while (true) {
int i16 = length - 1;
if (i13 >= i16) {
return i14;
}
int i17 = 1 << i13;
i15 |= i17;
int i18 = 1;
while (i18 < iArr2[i13]) {
int i19 = i11 - i18;
int i20 = length - i13;
int i21 = i20 - 2;
int g10 = g(i19 - 1, i21);
if (z9 && i15 == 0) {
int i22 = i20 - 1;
if (i19 - i22 >= i22) {
g10 -= g(i19 - i20, i21);
}
}
if (i20 - 1 > 1) {
int i23 = 0;
for (int i24 = i19 - i21; i24 > i10; i24--) {
i23 += g((i19 - i24) - 1, i20 - 3);
}
g10 -= (i16 - i13) * i23;
} else if (i19 > i10) {
g10--;
}
i14 += g10;
i18++;
i15 &= ~i17;
iArr2 = iArr;
}
i11 -= i18;
i13++;
iArr2 = iArr;
}
}
public static boolean F(Comparator comparator, Iterable iterable) {
Object comparator2;
Objects.requireNonNull(comparator);
Objects.requireNonNull(iterable);
if (iterable instanceof SortedSet) {
comparator2 = ((SortedSet) iterable).comparator();
if (comparator2 == null) {
comparator2 = c0.natural();
}
} else {
if (!(iterable instanceof q0)) {
return false;
}
comparator2 = ((q0) iterable).comparator();
}
return comparator.equals(comparator2);
}
public static final void G(String str) {
i.Cdo.m2667class(str, "name");
if (str.length() > 0) {
int length = str.length();
for (int i10 = 0; i10 < length; i10++) {
char charAt = str.charAt(i10);
if (!('!' <= charAt && charAt < 127)) {
StringBuilder m178throw = android.support.v4.media.Cif.m178throw("Unexpected char 0x");
m178throw.append(a(charAt));
m178throw.append(" at ");
m178throw.append(i10);
m178throw.append(" in header name: ");
m178throw.append(str);
throw new IllegalArgumentException(m178throw.toString().toString());
}
}
return;
}
throw new IllegalArgumentException("name is empty".toString());
}
public static final void H(String str, String str2) {
i.Cdo.m2667class(str, "value");
int length = str.length();
for (int i10 = 0; i10 < length; i10++) {
char charAt = str.charAt(i10);
boolean z9 = true;
if (charAt != '\t') {
if (!(' ' <= charAt && charAt < 127)) {
z9 = false;
}
}
if (!z9) {
StringBuilder m178throw = android.support.v4.media.Cif.m178throw("Unexpected char 0x");
m178throw.append(a(charAt));
m178throw.append(" at ");
m178throw.append(i10);
m178throw.append(" in ");
m178throw.append(str2);
m178throw.append(" value");
m178throw.append(Celse.m3724const(str2) ? "" : android.support.v4.media.Cif.m176super(": ", str));
throw new IllegalArgumentException(m178throw.toString().toString());
}
}
}
public static final int I(String str, String str2, int i10) {
int length = str.length();
while (i10 < length) {
if (i8.Cimport.L0(str2, str.charAt(i10), false, 2)) {
return i10;
}
i10++;
}
return str.length();
}
public static final boolean J(int i10) {
return i10 == 1 || i10 == 2;
}
public static boolean K(byte[] bArr, int i10, int i11) {
int min = Math.min(i11, bArr.length);
for (int max = Math.max(i10, 0); max < min; max++) {
if (bArr[max] == 1) {
return false;
}
}
return true;
}
public static boolean L(byte[][] bArr, int i10, int i11, int i12) {
int min = Math.min(i12, bArr.length);
for (int max = Math.max(i11, 0); max < min; max++) {
if (bArr[max][i10] == 1) {
return false;
}
}
return true;
}
public static final boolean M(char c4) {
return Character.isWhitespace(c4) || Character.isSpaceChar(c4);
}
public static k N(Cdefault cdefault, Ccase ccase, Cextends cextends, Cthrow cthrow, int i10, Object obj) {
k wVar;
if ((i10 & 1) != 0) {
ccase = t7.Cgoto.INSTANCE;
}
Cextends cextends2 = (i10 & 2) != 0 ? Cextends.DEFAULT : null;
Ccase m3012do = Cpublic.m3012do(cdefault.getCoroutineContext(), ccase, true);
Cstatic cstatic = Ctransient.f7496do;
if (m3012do != cstatic && m3012do.get(Ctry.Cdo.f9187else) == null) {
m3012do = m3012do.plus(cstatic);
}
if (cextends2.isLazy()) {
wVar = new q(m3012do, cthrow);
} else {
wVar = new w(m3012do, true);
}
cextends2.invoke(cthrow, wVar, wVar);
return wVar;
}
public static final int O(int i10, int i11) {
int i12 = i10 % i11;
return i12 >= 0 ? i12 : i12 + i11;
}
public static final long P(long j2, long j10) {
long j11 = j2 % j10;
return j11 >= 0 ? j11 : j11 + j10;
}
public static List Q(p000abstract.Cfor cfor, Cthis cthis, Cabstract cabstract) {
return p021private.Cthrow.m3282do(cfor, cthis, 1.0f, cabstract, false);
}
public static p007default.Cdo R(p000abstract.Cfor cfor, Cthis cthis) {
return new p007default.Cdo(Q(cfor, cthis, f43private), 0);
}
public static p007default.Cif S(p000abstract.Cfor cfor, Cthis cthis) {
return T(cfor, cthis, true);
}
public static p007default.Cif T(p000abstract.Cfor cfor, Cthis cthis, boolean z9) {
return new p007default.Cif(p021private.Cthrow.m3282do(cfor, cthis, z9 ? p006continue.Celse.m2122for() : 1.0f, Cpackage.f7476return, false));
}
public static Cnew U(p000abstract.Cfor cfor, Cthis cthis) {
return new Cnew(Q(cfor, cthis, i.Cdo.f6731final), 0);
}
public static p007default.Cfor V(p000abstract.Cfor cfor, Cthis cthis) {
return new p007default.Cfor(p021private.Cthrow.m3282do(cfor, cthis, p006continue.Celse.m2122for(), com.google.gson.internal.Cthis.f4734else, true), 1);
}
public static final Object W(Object obj, t7.Cnew cnew) {
if (obj instanceof Csuper) {
return p7.Cgoto.m3224constructorimpl(k(((Csuper) obj).f7487do));
}
return p7.Cgoto.m3224constructorimpl(obj);
}
public static final void X(Object[] objArr, int i10) {
i.Cdo.m2667class(objArr, "<this>");
objArr[i10] = null;
}
public static final void Y(Object[] objArr, int i10, int i11) {
i.Cdo.m2667class(objArr, "<this>");
while (i10 < i11) {
X(objArr, i10);
i10++;
}
}
public static final void Z(Cprotected cprotected, t7.Cnew cnew, boolean z9) {
boolean f10;
Object mo2902case = cprotected.mo2902case();
Throwable mo2909for = cprotected.mo2909for(mo2902case);
Object m3224constructorimpl = p7.Cgoto.m3224constructorimpl(mo2909for != null ? k(mo2909for) : cprotected.mo2914new(mo2902case));
if (z9) {
o8.Cfor cfor = (o8.Cfor) cnew;
t7.Cnew<T> cnew2 = cfor.f7966catch;
Object obj = cfor.f7968const;
Ccase context = cnew2.getContext();
Object m3184if = o8.Cthrow.m3184if(context, obj);
k8.c0<?> m3013for = m3184if != o8.Cthrow.f7988do ? Cpublic.m3013for(cnew2, context, m3184if) : null;
try {
cfor.f7966catch.resumeWith(m3224constructorimpl);
if (m3013for != null) {
if (!f10) {
return;
}
}
return;
} finally {
if (m3013for == null || m3013for.f()) {
o8.Cthrow.m3183do(context, m3184if);
}
}
}
cnew.resumeWith(m3224constructorimpl);
}
public static final String a(char c4) {
e(16);
String num = Integer.toString(c4, 16);
i.Cdo.m2666catch(num, "toString(this, checkRadix(radix))");
if (num.length() >= 2) {
return num;
}
return '0' + num;
}
public static final void a0(t7.Cnew cnew, Object obj, Cclass cclass) {
boolean z9;
if (cnew instanceof o8.Cfor) {
o8.Cfor cfor = (o8.Cfor) cnew;
Object r02 = r0(obj, cclass);
if (cfor.f7965break.isDispatchNeeded(cfor.getContext())) {
cfor.f7967class = r02;
cfor.f7484this = 1;
cfor.f7965break.dispatch(cfor.getContext(), cfor);
return;
}
z zVar = z.f7498do;
Csynchronized m3027do = z.m3027do();
if (m3027do.m3023while()) {
cfor.f7967class = r02;
cfor.f7484this = 1;
m3027do.m3021super(cfor);
return;
}
m3027do.m3022throw(true);
try {
k kVar = (k) cfor.getContext().get(k.Cif.f7455else);
if (kVar == null || kVar.isActive()) {
z9 = false;
} else {
CancellationException mo2934do = kVar.mo2934do();
if (r02 instanceof k8.Cthrow) {
((k8.Cthrow) r02).f7494if.invoke(mo2934do);
}
cfor.resumeWith(p7.Cgoto.m3224constructorimpl(k(mo2934do)));
z9 = true;
}
if (!z9) {
t7.Cnew<T> cnew2 = cfor.f7966catch;
Object obj2 = cfor.f7968const;
Ccase context = cnew2.getContext();
Object m3184if = o8.Cthrow.m3184if(context, obj2);
k8.c0<?> m3013for = m3184if != o8.Cthrow.f7988do ? Cpublic.m3013for(cnew2, context, m3184if) : null;
try {
cfor.f7966catch.resumeWith(obj);
if (m3013for == null || m3013for.f()) {
o8.Cthrow.m3183do(context, m3184if);
}
} catch (Throwable th) {
if (m3013for == null || m3013for.f()) {
o8.Cthrow.m3183do(context, m3184if);
}
throw th;
}
}
do {
} while (m3027do.m3020import());
} finally {
try {
return;
} finally {
}
}
return;
}
cnew.resumeWith(obj);
}
public static void b(Object obj, Object obj2) {
if (obj != null) {
if (obj2 != null) {
return;
}
String valueOf = String.valueOf(obj);
throw new NullPointerException(android.support.v4.media.Cif.m169goto(valueOf.length() + 26, "null value in entry: ", valueOf, "=null"));
}
String valueOf2 = String.valueOf(obj2);
StringBuilder sb = new StringBuilder(valueOf2.length() + 24);
sb.append("null key in entry: null=");
sb.append(valueOf2);
throw new NullPointerException(sb.toString());
}
public static int c(int i10, String str) {
if (i10 >= 0) {
return i10;
}
StringBuilder sb = new StringBuilder(str.length() + 40);
sb.append(str);
sb.append(" cannot be negative but was: ");
sb.append(i10);
throw new IllegalArgumentException(sb.toString());
}
public static int c0(int i10) {
return 1 << (32 - Integer.numberOfLeadingZeros(i10 - 1));
}
public static final void m28continue(Appendable appendable, Object obj, Cclass cclass) {
if (cclass != null) {
appendable.append((CharSequence) cclass.invoke(obj));
return;
}
if (obj == null ? true : obj instanceof CharSequence) {
appendable.append((CharSequence) obj);
} else if (obj instanceof Character) {
appendable.append(((Character) obj).charValue());
} else {
appendable.append(String.valueOf(obj));
}
}
public static final void d(int i10) {
if (!(i10 >= 1)) {
throw new IllegalArgumentException(i.Cdo.m2663abstract("Expected positive parallelism level, but got ", Integer.valueOf(i10)).toString());
}
}
public static final h8.Celse d0(Cthrow cthrow) {
return new Cbreak(cthrow);
}
public static final int e(int i10) {
if (new f8.Cnew(2, 36).m2416if(i10)) {
return i10;
}
StringBuilder m140class = android.support.v4.media.Cdo.m140class("radix ", i10, " was not in valid range ");
m140class.append(new f8.Cnew(2, 36));
throw new IllegalArgumentException(m140class.toString());
}
public static void e0(List list, g3.Cfinal cfinal, int i10, int i11) {
int size = list.size();
while (true) {
size--;
if (size <= i11) {
break;
} else if (cfinal.apply(list.get(size))) {
list.remove(size);
}
}
while (true) {
i11--;
if (i11 < i10) {
return;
} else {
list.remove(i11);
}
}
}
public static final void m29extends(Context context, int i10, int i11, CardView cardView) {
Number valueOf;
float f10 = i11;
float f11 = i10 / f10;
Resources resources = context.getResources();
int i12 = R.dimen.dp_160;
if (f10 > resources.getDimension(i12)) {
valueOf = Float.valueOf(context.getResources().getDimension(i12));
} else {
Resources resources2 = context.getResources();
int i13 = R.dimen.dp_50;
if (f10 < resources2.getDimension(i13)) {
valueOf = Float.valueOf(context.getResources().getDimension(i13));
} else {
valueOf = Integer.valueOf(i11);
}
}
float floatValue = valueOf.floatValue() * f11;
if (floatValue > context.getResources().getDimension(i12)) {
floatValue = context.getResources().getDimension(i12);
valueOf = Float.valueOf(floatValue / f11);
}
if (i.Cdo.m2687try(valueOf, 0)) {
valueOf = Float.valueOf(context.getResources().getDimension(i12));
floatValue = context.getResources().getDimension(i12);
}
ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams();
layoutParams.width = (int) floatValue;
layoutParams.height = valueOf.intValue();
cardView.setLayoutParams(layoutParams);
}
public static final void f(String str, Cprivate cprivate) {
if (cprivate != null) {
if (cprivate.f8702final == null) {
if (cprivate.f8708super == null) {
if (!(cprivate.f8710throw == null)) {
throw new IllegalArgumentException(android.support.v4.media.Cif.m176super(str, ".priorResponse != null").toString());
}
return;
}
throw new IllegalArgumentException(android.support.v4.media.Cif.m176super(str, ".cacheResponse != null").toString());
}
throw new IllegalArgumentException(android.support.v4.media.Cif.m176super(str, ".networkResponse != null").toString());
}
}
public static void f0(Cthrow cthrow, Object obj, t7.Cnew cnew, Cclass cclass, int i10) {
try {
a0(Cpackage.h(Cpackage.m2989native(cthrow, obj, cnew)), p7.Cgoto.m3224constructorimpl(Cconst.f8029do), null);
} catch (Throwable th) {
m(cnew, th);
throw null;
}
}
public static int g(int i10, int i11) {
int i12 = i10 - i11;
if (i12 > i11) {
i12 = i11;
i11 = i12;
}
int i13 = 1;
int i14 = 1;
while (i10 > i11) {
i13 *= i10;
if (i14 <= i12) {
i13 /= i14;
i14++;
}
i10--;
}
while (i14 <= i12) {
i13 /= i14;
i14++;
}
return i13;
}
public static final Object g0(o8.Cfinal cfinal, Object obj, Cthrow cthrow) {
Object csuper;
Object m2963volatile;
try {
b8.Cpublic.m619for(cthrow, 2);
csuper = cthrow.invoke(obj, cfinal);
} catch (Throwable th) {
csuper = new Csuper(th, false, 2);
}
u7.Cdo cdo = u7.Cdo.COROUTINE_SUSPENDED;
if (csuper == cdo || (m2963volatile = cfinal.m2963volatile(csuper)) == b.Cdo.f1001class) {
return cdo;
}
if (!(m2963volatile instanceof Csuper)) {
return b.Cdo.m576extends(m2963volatile);
}
throw ((Csuper) m2963volatile).f7487do;
}
public static final Cpublic.Cdo h(Cpublic.Cdo cdo, String str, String str2) {
cdo.f8726do.add(str);
cdo.f8726do.add(i8.Cimport.j1(str2).toString());
return cdo;
}
public static final Cprivate h0(Cprivate cprivate) {
r8.Cabstract cabstract = Celse.f8992try;
r8.Cfinally cfinally = cprivate.f8701else;
r8.Cextends cextends = cprivate.f8703goto;
int i10 = cprivate.f8697break;
String str = cprivate.f8709this;
Cnative cnative = cprivate.f8698catch;
Cpublic.Cdo m3645for = cprivate.f8699class.m3645for();
Cprivate cprivate2 = cprivate.f8702final;
Cprivate cprivate3 = cprivate.f8708super;
Cprivate cprivate4 = cprivate.f8710throw;
long j2 = cprivate.f8711while;
long j10 = cprivate.f8704import;
v8.Cfor cfor = cprivate.f8705native;
s8.Cdo cdo = new s8.Cdo(cprivate.f8700const.mo2660for(), cprivate.f8700const.mo2661if());
if (!(i10 >= 0)) {
throw new IllegalStateException(android.support.v4.media.Cif.m162catch("code < 0: ", i10).toString());
}
if (cfinally == null) {
throw new IllegalStateException("request == null".toString());
}
if (cextends == null) {
throw new IllegalStateException("protocol == null".toString());
}
if (str != null) {
return new Cprivate(cfinally, cextends, str, i10, cnative, m3645for.m3653new(), cdo, cprivate2, cprivate3, cprivate4, j2, j10, cfor);
}
throw new IllegalStateException("message == null".toString());
}
public static final Object[] i(Object[] objArr, int i10) {
i.Cdo.m2667class(objArr, "<this>");
Object[] copyOf = Arrays.copyOf(objArr, i10);
i.Cdo.m2666catch(copyOf, "copyOf(this, newSize)");
return copyOf;
}
public static final long i0(String str, long j2, long j10, long j11) {
Long l3;
boolean z9;
int i10;
boolean z10;
String j02 = j0(str);
if (j02 == null) {
return j2;
}
e(10);
int length = j02.length();
if (length != 0) {
char charAt = j02.charAt(0);
int m2682super = i.Cdo.m2682super(charAt, 48);
long j12 = C.TIME_UNSET;
if (m2682super >= 0) {
z9 = false;
i10 = 0;
} else if (length != 1) {
if (charAt == '-') {
j12 = Long.MIN_VALUE;
} else {
z9 = charAt != '+';
}
i10 = 1;
}
long j13 = 0;
long j14 = -256204778801521550L;
while (i10 < length) {
int digit = Character.digit((int) j02.charAt(i10), 10);
if (digit >= 0) {
if (j13 >= j14) {
z10 = z9;
} else if (j14 == -256204778801521550L) {
z10 = z9;
j14 = j12 / 10;
if (j13 < j14) {
}
}
long j15 = j13 * 10;
long j16 = digit;
if (j15 >= j12 + j16) {
j13 = j15 - j16;
i10++;
z9 = z10;
}
}
}
l3 = z9 ? Long.valueOf(j13) : Long.valueOf(-j13);
if (l3 == null) {
long longValue = l3.longValue();
if (j10 <= longValue && longValue <= j11) {
return longValue;
}
throw new IllegalStateException(("System property '" + str + "' should be in range " + j10 + ".." + j11 + ", but is '" + longValue + '\'').toString());
}
throw new IllegalStateException(("System property '" + str + "' has unrecognized value '" + j02 + '\'').toString());
}
l3 = null;
if (l3 == null) {
}
}
public static final Object[] m30implements(int i10) {
if (i10 >= 0) {
return new Object[i10];
}
throw new IllegalArgumentException("capacity must be non-negative.".toString());
}
public static float m31import(float f10) {
return f10 <= 0.04045f ? f10 / 12.92f : (float) Math.pow((f10 + 0.055f) / 1.055f, 2.4000000953674316d);
}
public static final String m32instanceof(Object obj, Object obj2) {
i.Cdo.m2667class(obj, TypedValues.TransitionType.S_FROM);
i.Cdo.m2667class(obj2, "until");
return "Random range is empty: [" + obj + ", " + obj2 + ").";
}
public static final Object j(Cthrow cthrow, t7.Cnew cnew) {
o8.Cfinal cfinal = new o8.Cfinal(cnew.getContext(), cnew);
return g0(cfinal, cfinal, cthrow);
}
public static final String j0(String str) {
int i10 = o8.Csuper.f7987do;
try {
return System.getProperty(str);
} catch (SecurityException unused) {
return null;
}
}
public static final Object k(Throwable th) {
i.Cdo.m2667class(th, "exception");
return new Cgoto.Cif(th);
}
public static final boolean k0(String str, boolean z9) {
String j02 = j0(str);
return j02 == null ? z9 : Boolean.parseBoolean(j02);
}
public static final Object l(BaseResp baseResp) {
i.Cdo.m2667class(baseResp, "<this>");
if (baseResp.getCode() == 0) {
return baseResp.getData();
}
throw new t0.Cdo(baseResp.getCode(), baseResp.getMsg());
}
public static int l0(String str, int i10, int i11, int i12, int i13, Object obj) {
if ((i13 & 4) != 0) {
i11 = 1;
}
if ((i13 & 8) != 0) {
i12 = Integer.MAX_VALUE;
}
return (int) i0(str, i10, i11, i12);
}
public static final void m(t7.Cnew cnew, Throwable th) {
cnew.resumeWith(p7.Cgoto.m3224constructorimpl(k(th)));
throw th;
}
public static long m0(String str, long j2, long j10, long j11, int i10, Object obj) {
if ((i10 & 4) != 0) {
j10 = 1;
}
long j12 = j10;
if ((i10 & 8) != 0) {
j11 = Long.MAX_VALUE;
}
return i0(str, j2, j12, j11);
}
public static int n(Context context, float f10) {
return (int) ((f10 * context.getApplicationContext().getResources().getDisplayMetrics().scaledDensity) + 0.5f);
}
public static final void n0(Object obj) {
if (obj instanceof Cgoto.Cif) {
throw ((Cgoto.Cif) obj).exception;
}
}
public static final void o(Ccase ccase) {
int i10 = k.f7454do;
k kVar = (k) ccase.get(k.Cif.f7455else);
if (kVar != null && !kVar.isActive()) {
throw kVar.mo2934do();
}
}
public static Object[] o0(Iterable iterable) {
Collection m1690if;
if (iterable instanceof Collection) {
m1690if = (Collection) iterable;
} else {
m1690if = com.google.common.collect.k.m1690if(iterable.iterator());
}
return m1690if.toArray();
}
public static final boolean p(char c4, char c10, boolean z9) {
if (c4 == c10) {
return true;
}
if (!z9) {
return false;
}
char upperCase = Character.toUpperCase(c4);
char upperCase2 = Character.toUpperCase(c10);
return upperCase == upperCase2 || Character.toLowerCase(upperCase) == Character.toLowerCase(upperCase2);
}
public static Object[] p0(Iterable iterable, Object[] objArr) {
Collection m1690if;
if (iterable instanceof Collection) {
m1690if = (Collection) iterable;
} else {
m1690if = com.google.common.collect.k.m1690if(iterable.iterator());
}
return m1690if.toArray(objArr);
}
public static int q(float f10, int i10, int i11) {
if (i10 == i11) {
return i10;
}
float f11 = ((i10 >> 24) & 255) / 255.0f;
float f12 = ((i11 >> 24) & 255) / 255.0f;
float m31import = m31import(((i10 >> 16) & 255) / 255.0f);
float m31import2 = m31import(((i10 >> 8) & 255) / 255.0f);
float m31import3 = m31import((i10 & 255) / 255.0f);
float m31import4 = m31import(((i11 >> 16) & 255) / 255.0f);
float m31import5 = m31import(((i11 >> 8) & 255) / 255.0f);
float m31import6 = m31import((i11 & 255) / 255.0f);
float m158try = android.support.v4.media.Cdo.m158try(f12, f11, f10, f11);
float m158try2 = android.support.v4.media.Cdo.m158try(m31import4, m31import, f10, m31import);
float m158try3 = android.support.v4.media.Cdo.m158try(m31import5, m31import2, f10, m31import2);
float m158try4 = android.support.v4.media.Cdo.m158try(m31import6, m31import3, f10, m31import3);
float m33return = m33return(m158try2) * 255.0f;
float m33return2 = m33return(m158try3) * 255.0f;
return Math.round(m33return(m158try4) * 255.0f) | (Math.round(m33return) << 16) | (Math.round(m158try * 255.0f) << 24) | (Math.round(m33return2) << 8);
}
public static final String q0(String str) {
byte[] m3740if;
i.Cdo.m2667class(str, "<this>");
int i10 = 0;
int i11 = -1;
if (i8.Cimport.M0(str, SignatureImpl.INNER_SEP, false, 2)) {
if (i8.Cfinal.K0(str, "[", false, 2) && i8.Cfinal.B0(str, "]", false, 2)) {
m3740if = s8.Cif.m3740if(str, 1, str.length() - 1);
} else {
m3740if = s8.Cif.m3740if(str, 0, str.length());
}
if (m3740if == null) {
return null;
}
InetAddress byAddress = InetAddress.getByAddress(m3740if);
byte[] address = byAddress.getAddress();
if (address.length == 16) {
i8.Cgoto cgoto = s8.Cif.f8997do;
int i12 = 0;
int i13 = 0;
while (i12 < address.length) {
int i14 = i12;
while (i14 < 16 && address[i14] == 0 && address[i14 + 1] == 0) {
i14 += 2;
}
int i15 = i14 - i12;
if (i15 > i13 && i15 >= 4) {
i11 = i12;
i13 = i15;
}
i12 = i14 + 2;
}
Buffer buffer = new Buffer();
while (i10 < address.length) {
if (i10 == i11) {
buffer.writeByte(58);
i10 += i13;
if (i10 == 16) {
buffer.writeByte(58);
}
} else {
if (i10 > 0) {
buffer.writeByte(58);
}
byte b10 = address[i10];
byte[] bArr = Celse.f8988do;
buffer.writeHexadecimalUnsignedLong(((b10 & ExifInterface.MARKER) << 8) | (address[i10 + 1] & ExifInterface.MARKER));
i10 += 2;
}
}
return buffer.readUtf8();
}
if (address.length == 4) {
return byAddress.getHostAddress();
}
throw new AssertionError("Invalid IPv6 address: '" + str + '\'');
}
try {
String ascii = IDN.toASCII(str);
i.Cdo.m2666catch(ascii, "toASCII(host)");
Locale locale = Locale.US;
i.Cdo.m2666catch(locale, "US");
String lowerCase = ascii.toLowerCase(locale);
i.Cdo.m2666catch(lowerCase, "this as java.lang.String).toLowerCase(locale)");
if (lowerCase.length() == 0) {
return null;
}
i8.Cgoto cgoto2 = s8.Cif.f8997do;
int length = lowerCase.length();
for (int i16 = 0; i16 < length; i16++) {
char charAt = lowerCase.charAt(i16);
if (i.Cdo.m2682super(charAt, 31) > 0 && i.Cdo.m2682super(charAt, 127) < 0 && i8.Cimport.S0(" #%/:?@[\\]", charAt, 0, false, 6) == -1) {
}
i10 = 1;
break;
}
if (i10 != 0) {
return null;
}
return lowerCase;
} catch (IllegalArgumentException unused) {
return null;
}
}
public static final int r(int i10) {
return 31 - Integer.numberOfLeadingZeros(i10);
}
public static final Object r0(Object obj, Cclass cclass) {
Throwable m3227exceptionOrNullimpl = p7.Cgoto.m3227exceptionOrNullimpl(obj);
if (m3227exceptionOrNullimpl == null) {
return cclass != null ? new k8.Cthrow(obj, cclass) : obj;
}
return new Csuper(m3227exceptionOrNullimpl, false, 2);
}
public static float m33return(float f10) {
return f10 <= 0.0031308f ? f10 * 12.92f : (float) ((Math.pow(f10, 0.4166666567325592d) * 1.0549999475479126d) - 0.054999999701976776d);
}
public static final String s(long j2) {
String str;
if (j2 <= -999500000) {
str = ((j2 - 500000000) / 1000000000) + " s ";
} else if (j2 <= -999500) {
str = ((j2 - 500000) / PlaybackException.CUSTOM_ERROR_CODE_BASE) + " ms";
} else if (j2 <= 0) {
str = ((j2 - 500) / 1000) + " µs";
} else if (j2 < 999500) {
str = ((j2 + 500) / 1000) + " µs";
} else if (j2 < 999500000) {
str = ((j2 + 500000) / PlaybackException.CUSTOM_ERROR_CODE_BASE) + " ms";
} else {
str = ((j2 + 500000000) / 1000000000) + " s ";
}
String format = String.format("%6s", Arrays.copyOf(new Object[]{str}, 1));
i.Cdo.m2666catch(format, "format(format, *args)");
return format;
}
public static String s0(Iterable iterable) {
Iterator it = iterable.iterator();
StringBuilder m114import = p000abstract.Cnew.m114import('[');
boolean z9 = true;
while (it.hasNext()) {
if (!z9) {
m114import.append(", ");
}
z9 = false;
m114import.append(it.next());
}
m114import.append(']');
return m114import.toString();
}
public static final void m34static(Logger logger, u8.Cdo cdo, u8.Cnew cnew, String str) {
StringBuilder sb = new StringBuilder();
sb.append(cnew.f9403if);
sb.append(' ');
String format = String.format("%-22s", Arrays.copyOf(new Object[]{str}, 1));
i.Cdo.m2666catch(format, "format(format, *args)");
sb.append(format);
sb.append(": ");
sb.append(cdo.f9394do);
logger.fine(sb.toString());
}
public static void m35synchronized(Ccase ccase, CancellationException cancellationException, int i10, Object obj) {
k kVar = (k) ccase.get(k.Cif.f7455else);
if (kVar == null) {
return;
}
kVar.mo2932catch(null);
}
public static String t(int i10) {
String m162catch;
int i11 = i10 % 60;
int i12 = i10 / 60;
StringBuilder sb = new StringBuilder();
if (i11 >= 10) {
sb.append(i11);
sb.append("");
} else {
sb.append(SessionDescription.SUPPORTED_SDP_VERSION);
sb.append(i11);
}
String sb2 = sb.toString();
if (i12 > 0) {
int i13 = i12 % 60;
int i14 = i12 / 60;
StringBuilder sb3 = new StringBuilder();
if (i13 >= 10) {
sb3.append(i13);
sb3.append("");
} else {
sb3.append(SessionDescription.SUPPORTED_SDP_VERSION);
sb3.append(i13);
}
String sb4 = sb3.toString();
if (i14 > 0) {
StringBuilder sb5 = new StringBuilder();
if (i14 >= 10) {
m162catch = i14 + "";
} else {
m162catch = android.support.v4.media.Cif.m162catch(SessionDescription.SUPPORTED_SDP_VERSION, i14);
}
sb5.append(m162catch);
sb5.append(SignatureImpl.INNER_SEP);
sb5.append(sb4);
sb5.append(SignatureImpl.INNER_SEP);
sb5.append(sb2);
return sb5.toString();
}
return android.support.v4.media.Cdo.m156this(sb4, SignatureImpl.INNER_SEP, sb2);
}
return android.support.v4.media.Cif.m176super("00:", sb2);
}
public static RectF t0(float[] fArr) {
RectF rectF = new RectF(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY);
for (int i10 = 1; i10 < fArr.length; i10 += 2) {
float round = Math.round(fArr[i10 - 1] * 10.0f) / 10.0f;
float round2 = Math.round(fArr[i10] * 10.0f) / 10.0f;
float f10 = rectF.left;
if (round < f10) {
f10 = round;
}
rectF.left = f10;
float f11 = rectF.top;
if (round2 < f11) {
f11 = round2;
}
rectF.top = f11;
float f12 = rectF.right;
if (round <= f12) {
round = f12;
}
rectF.right = round;
float f13 = rectF.bottom;
if (round2 <= f13) {
round2 = f13;
}
rectF.bottom = round2;
}
rectF.sort();
return rectF;
}
public static int m36transient(o4.Cif cif, boolean z9) {
int i10;
int i11;
if (z9) {
i10 = cif.f7912for;
} else {
i10 = cif.f7913if;
}
if (z9) {
i11 = cif.f7913if;
} else {
i11 = cif.f7912for;
}
byte[][] bArr = cif.f7911do;
int i12 = 0;
for (int i13 = 0; i13 < i10; i13++) {
byte b10 = -1;
int i14 = 0;
for (int i15 = 0; i15 < i11; i15++) {
byte b11 = z9 ? bArr[i13][i15] : bArr[i15][i13];
if (b11 == b10) {
i14++;
} else {
if (i14 >= 5) {
i12 += (i14 - 5) + 3;
}
b10 = b11;
i14 = 1;
}
}
if (i14 >= 5) {
i12 = (i14 - 5) + 3 + i12;
}
}
return i12;
}
public static float[] u(RectF rectF) {
return new float[]{rectF.centerX(), rectF.centerY()};
}
public static final Object u0(Ccase ccase, Cthrow cthrow, t7.Cnew cnew) {
Ccase context = cnew.getContext();
Ccase plus = !k8.Cpublic.m3014if(ccase) ? context.plus(ccase) : k8.Cpublic.m3012do(context, ccase, false);
o(plus);
if (plus == context) {
o8.Cfinal cfinal = new o8.Cfinal(plus, cnew);
return g0(cfinal, cfinal, cthrow);
}
Ctry.Cdo cdo = Ctry.Cdo.f9187else;
if (i.Cdo.m2687try(plus.get(cdo), context.get(cdo))) {
k8.c0 c0Var = new k8.c0(plus, cnew);
Object m3184if = o8.Cthrow.m3184if(plus, null);
try {
return g0(c0Var, c0Var, cthrow);
} finally {
o8.Cthrow.m3183do(plus, m3184if);
}
}
Cinterface cinterface = new Cinterface(plus, cnew);
f0(cthrow, cinterface, cinterface, null, 4);
return cinterface.f();
}
public static float[] v(RectF rectF) {
float f10 = rectF.left;
float f11 = rectF.top;
float f12 = rectF.right;
float f13 = rectF.bottom;
return new float[]{f10, f11, f12, f11, f12, f13, f10, f13};
}
public static final int w(int i10) {
Resources system = Resources.getSystem();
i.Cdo.m2666catch(system, "Resources.getSystem()");
return (int) TypedValue.applyDimension(1, i10, system.getDisplayMetrics());
}
public static Object x(Iterable iterable, Object obj) {
return h.m1678new(iterable.iterator(), null);
}
public static final Class y(g8.Cfor cfor) {
i.Cdo.m2667class(cfor, "<this>");
Class<?> mo614if = ((b8.Cfor) cfor).mo614if();
i.Cdo.m2664break(mo614if, "null cannot be cast to non-null type java.lang.Class<T of kotlin.jvm.JvmClassMappingKt.<get-java>>");
return mo614if;
}
public static final Class z(g8.Cfor cfor) {
i.Cdo.m2667class(cfor, "<this>");
Class<?> mo614if = ((b8.Cfor) cfor).mo614if();
if (!mo614if.isPrimitive()) {
return mo614if;
}
String name = mo614if.getName();
switch (name.hashCode()) {
case -1325958191:
return !name.equals("double") ? mo614if : Double.class;
case 104431:
return !name.equals("int") ? mo614if : Integer.class;
case 3039496:
return !name.equals("byte") ? mo614if : Byte.class;
case 3052374:
return !name.equals("char") ? mo614if : Character.class;
case 3327612:
return !name.equals("long") ? mo614if : Long.class;
case 3625364:
return !name.equals("void") ? mo614if : Void.class;
case 64711720:
return !name.equals(TypedValues.Custom.S_BOOLEAN) ? mo614if : Boolean.class;
case 97526364:
return !name.equals(TypedValues.Custom.S_FLOAT) ? mo614if : Float.class;
case 109413500:
return !name.equals("short") ? mo614if : Short.class;
default:
return mo614if;
}
}
@Override
public void mo37abstract(String str, Object... objArr) {
}
@Override
public void mo38break(String str, Object... objArr) {
}
@Override
public void mo39case(String str, Object... objArr) {
}
@Override
public void mo40default(String str, Object... objArr) {
}
@Override
public void mo41do() {
}
@Override
public r8.Cfinally mo42else(Ccontinue ccontinue, Cprivate cprivate) {
return null;
}
@Override
public Object mo43final(p000abstract.Cfor cfor, float f10) {
boolean z9 = cfor.mo88class() == 1;
if (z9) {
cfor.mo90do();
}
double mo94goto = cfor.mo94goto();
double mo94goto2 = cfor.mo94goto();
double mo94goto3 = cfor.mo94goto();
double mo94goto4 = cfor.mo88class() == 7 ? cfor.mo94goto() : 1.0d;
if (z9) {
cfor.mo93for();
}
if (mo94goto <= 1.0d && mo94goto2 <= 1.0d && mo94goto3 <= 1.0d) {
mo94goto *= 255.0d;
mo94goto2 *= 255.0d;
mo94goto3 *= 255.0d;
if (mo94goto4 <= 1.0d) {
mo94goto4 *= 255.0d;
}
}
return Integer.valueOf(Color.argb((int) mo94goto4, (int) mo94goto, (int) mo94goto2, (int) mo94goto3));
}
@Override
public void mo44finally(String str, Object... objArr) {
}
@Override
public void mo45for(String str, Object... objArr) {
}
@Override
public void mo46if(long j2) {
Log.e("录制状态回调", "录制时长:" + j2);
}
@Override
public void mo47interface(String str, Object... objArr) {
}
@Override
public void mo48native(String str, Object... objArr) {
}
@Override
public List mo49new(String str) {
i.Cdo.m2667class(str, "hostname");
try {
InetAddress[] allByName = InetAddress.getAllByName(str);
i.Cdo.m2666catch(allByName, "getAllByName(hostname)");
return q7.Celse.b0(allByName);
} catch (NullPointerException e10) {
UnknownHostException unknownHostException = new UnknownHostException(android.support.v4.media.Cif.m176super("Broken system behaviour for dns lookup of ", str));
unknownHostException.initCause(e10);
throw unknownHostException;
}
}
@Override
public void mo50package(String str, Object... objArr) {
}
@Override
public void mo51private(String str, Object... objArr) {
}
@Override
public void mo52protected(String str, Object... objArr) {
}
@Override
public void mo53strictfp(String str, Object... objArr) {
}
@Override
public void mo54super(String str, Object... objArr) {
}
@Override
public void mo55this(String str, Object... objArr) {
}
@Override
public void mo56throw() {
}
@Override
public void mo57throws(String str, Object... objArr) {
}
@Override
public void mo58try(String str, Object... objArr) {
}
@Override
public void mo59volatile(String str, Object... objArr) {
}
@Override
public Object mo60while() {
return new TreeMap();
}
public Cfinally(com.google.gson.internal.Cnew cnew) {
}
}