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,187 @@
package F;
import android.graphics.Color;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
/* loaded from: classes.dex */
public final class a {
/* renamed from: a, reason: collision with root package name */
public final float f468a;
/* renamed from: b, reason: collision with root package name */
public final float f469b;
/* renamed from: c, reason: collision with root package name */
public final float f470c;
/* renamed from: d, reason: collision with root package name */
public final float f471d;
/* renamed from: e, reason: collision with root package name */
public final float f472e;
/* renamed from: f, reason: collision with root package name */
public final float f473f;
public a(float f2, float f4, float f5, float f6, float f7, float f8) {
this.f468a = f2;
this.f469b = f4;
this.f470c = f5;
this.f471d = f6;
this.f472e = f7;
this.f473f = f8;
}
public static a a(int i) {
r rVar = r.f506k;
float e4 = b.e(Color.red(i));
float e5 = b.e(Color.green(i));
float e6 = b.e(Color.blue(i));
float[][] fArr = b.f477d;
float[] fArr2 = fArr[0];
float f2 = (fArr2[2] * e6) + (fArr2[1] * e5) + (fArr2[0] * e4);
float[] fArr3 = fArr[1];
float f4 = (fArr3[2] * e6) + (fArr3[1] * e5) + (fArr3[0] * e4);
float[] fArr4 = fArr[2];
float f5 = (e6 * fArr4[2]) + (e5 * fArr4[1]) + (e4 * fArr4[0]);
float[][] fArr5 = b.f474a;
float[] fArr6 = fArr5[0];
float f6 = (fArr6[2] * f5) + (fArr6[1] * f4) + (fArr6[0] * f2);
float[] fArr7 = fArr5[1];
float f7 = (fArr7[2] * f5) + (fArr7[1] * f4) + (fArr7[0] * f2);
float[] fArr8 = fArr5[2];
float f8 = (f5 * fArr8[2]) + (f4 * fArr8[1]) + (f2 * fArr8[0]);
float[] fArr9 = rVar.f513g;
float f9 = fArr9[0] * f6;
float f10 = fArr9[1] * f7;
float f11 = fArr9[2] * f8;
float abs = Math.abs(f9);
float f12 = rVar.h;
float pow = (float) Math.pow((abs * f12) / 100.0d, 0.42d);
float pow2 = (float) Math.pow((Math.abs(f10) * f12) / 100.0d, 0.42d);
float pow3 = (float) Math.pow((Math.abs(f11) * f12) / 100.0d, 0.42d);
float signum = ((Math.signum(f9) * 400.0f) * pow) / (pow + 27.13f);
float signum2 = ((Math.signum(f10) * 400.0f) * pow2) / (pow2 + 27.13f);
float signum3 = ((Math.signum(f11) * 400.0f) * pow3) / (pow3 + 27.13f);
double d4 = signum3;
float f13 = ((float) (((signum2 * (-12.0d)) + (signum * 11.0d)) + d4)) / 11.0f;
float f14 = ((float) ((signum + signum2) - (d4 * 2.0d))) / 9.0f;
float f15 = signum2 * 20.0f;
float f16 = ((21.0f * signum3) + ((signum * 20.0f) + f15)) / 20.0f;
float f17 = (((signum * 40.0f) + f15) + signum3) / 20.0f;
float atan2 = (((float) Math.atan2(f14, f13)) * 180.0f) / 3.1415927f;
if (atan2 < BitmapDescriptorFactory.HUE_RED) {
atan2 += 360.0f;
} else if (atan2 >= 360.0f) {
atan2 -= 360.0f;
}
float f18 = atan2;
float f19 = (3.1415927f * f18) / 180.0f;
float f20 = f17 * rVar.f508b;
float f21 = rVar.f507a;
float f22 = rVar.f510d;
float pow4 = ((float) Math.pow(f20 / f21, rVar.f514j * f22)) * 100.0f;
Math.sqrt(pow4 / 100.0f);
float f23 = f21 + 4.0f;
float pow5 = ((float) Math.pow(1.64d - Math.pow(0.29d, rVar.f512f), 0.73d)) * ((float) Math.pow((((((((float) (Math.cos((((((double) f18) < 20.14d ? f18 + 360.0f : f18) * 3.141592653589793d) / 180.0d) + 2.0d) + 3.8d)) * 0.25f) * 3846.1538f) * rVar.f511e) * rVar.f509c) * ((float) Math.sqrt((f14 * f14) + (f13 * f13)))) / (f16 + 0.305f), 0.9d)) * ((float) Math.sqrt(pow4 / 100.0d));
float f24 = rVar.i * pow5;
Math.sqrt((r3 * f22) / f23);
float f25 = (1.7f * pow4) / ((0.007f * pow4) + 1.0f);
float log = ((float) Math.log((f24 * 0.0228f) + 1.0f)) * 43.85965f;
double d5 = f19;
return new a(f18, pow5, pow4, f25, log * ((float) Math.cos(d5)), log * ((float) Math.sin(d5)));
}
public static a b(float f2, float f4, float f5) {
r rVar = r.f506k;
float f6 = rVar.f510d;
Math.sqrt(f2 / 100.0d);
float f7 = rVar.f507a + 4.0f;
float f8 = rVar.i * f4;
Math.sqrt(((f4 / ((float) Math.sqrt(r1))) * rVar.f510d) / f7);
float f9 = (1.7f * f2) / ((0.007f * f2) + 1.0f);
float log = ((float) Math.log((f8 * 0.0228d) + 1.0d)) * 43.85965f;
double d4 = (3.1415927f * f5) / 180.0f;
return new a(f5, f4, f2, f9, log * ((float) Math.cos(d4)), log * ((float) Math.sin(d4)));
}
public final int c(r rVar) {
float f2;
float f4 = this.f469b;
double d4 = f4;
float f5 = this.f470c;
if (d4 != FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
double d5 = f5;
if (d5 != FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
f2 = f4 / ((float) Math.sqrt(d5 / 100.0d));
float pow = (float) Math.pow(f2 / Math.pow(1.64d - Math.pow(0.29d, rVar.f512f), 0.73d), 1.1111111111111112d);
double d6 = (this.f468a * 3.1415927f) / 180.0f;
float cos = ((float) (Math.cos(2.0d + d6) + 3.8d)) * 0.25f;
float pow2 = rVar.f507a * ((float) Math.pow(f5 / 100.0d, (1.0d / rVar.f510d) / rVar.f514j));
float f6 = cos * 3846.1538f * rVar.f511e * rVar.f509c;
float f7 = pow2 / rVar.f508b;
float sin = (float) Math.sin(d6);
float cos2 = (float) Math.cos(d6);
float f8 = (((0.305f + f7) * 23.0f) * pow) / (((pow * 108.0f) * sin) + (((11.0f * pow) * cos2) + (f6 * 23.0f)));
float f9 = cos2 * f8;
float f10 = f8 * sin;
float f11 = f7 * 460.0f;
float f12 = ((288.0f * f10) + ((451.0f * f9) + f11)) / 1403.0f;
float f13 = ((f11 - (891.0f * f9)) - (261.0f * f10)) / 1403.0f;
float f14 = ((f11 - (f9 * 220.0f)) - (f10 * 6300.0f)) / 1403.0f;
float max = (float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f12) * 27.13d) / (400.0d - Math.abs(f12)));
float signum = Math.signum(f12);
float f15 = 100.0f / rVar.h;
float pow3 = signum * f15 * ((float) Math.pow(max, 2.380952380952381d));
float signum2 = Math.signum(f13) * f15 * ((float) Math.pow((float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f13) * 27.13d) / (400.0d - Math.abs(f13))), 2.380952380952381d));
float signum3 = Math.signum(f14) * f15 * ((float) Math.pow((float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f14) * 27.13d) / (400.0d - Math.abs(f14))), 2.380952380952381d));
float[] fArr = rVar.f513g;
float f16 = pow3 / fArr[0];
float f17 = signum2 / fArr[1];
float f18 = signum3 / fArr[2];
float[][] fArr2 = b.f475b;
float[] fArr3 = fArr2[0];
float f19 = (fArr3[2] * f18) + (fArr3[1] * f17) + (fArr3[0] * f16);
float[] fArr4 = fArr2[1];
float f20 = (fArr4[2] * f18) + (fArr4[1] * f17) + (fArr4[0] * f16);
float[] fArr5 = fArr2[2];
return G.a.a(f19, f20, (f18 * fArr5[2]) + (f17 * fArr5[1]) + (f16 * fArr5[0]));
}
}
f2 = BitmapDescriptorFactory.HUE_RED;
float pow4 = (float) Math.pow(f2 / Math.pow(1.64d - Math.pow(0.29d, rVar.f512f), 0.73d), 1.1111111111111112d);
double d62 = (this.f468a * 3.1415927f) / 180.0f;
float cos3 = ((float) (Math.cos(2.0d + d62) + 3.8d)) * 0.25f;
float pow22 = rVar.f507a * ((float) Math.pow(f5 / 100.0d, (1.0d / rVar.f510d) / rVar.f514j));
float f62 = cos3 * 3846.1538f * rVar.f511e * rVar.f509c;
float f72 = pow22 / rVar.f508b;
float sin2 = (float) Math.sin(d62);
float cos22 = (float) Math.cos(d62);
float f82 = (((0.305f + f72) * 23.0f) * pow4) / (((pow4 * 108.0f) * sin2) + (((11.0f * pow4) * cos22) + (f62 * 23.0f)));
float f92 = cos22 * f82;
float f102 = f82 * sin2;
float f112 = f72 * 460.0f;
float f122 = ((288.0f * f102) + ((451.0f * f92) + f112)) / 1403.0f;
float f132 = ((f112 - (891.0f * f92)) - (261.0f * f102)) / 1403.0f;
float f142 = ((f112 - (f92 * 220.0f)) - (f102 * 6300.0f)) / 1403.0f;
float max2 = (float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f122) * 27.13d) / (400.0d - Math.abs(f122)));
float signum4 = Math.signum(f122);
float f152 = 100.0f / rVar.h;
float pow32 = signum4 * f152 * ((float) Math.pow(max2, 2.380952380952381d));
float signum22 = Math.signum(f132) * f152 * ((float) Math.pow((float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f132) * 27.13d) / (400.0d - Math.abs(f132))), 2.380952380952381d));
float signum32 = Math.signum(f142) * f152 * ((float) Math.pow((float) Math.max(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, (Math.abs(f142) * 27.13d) / (400.0d - Math.abs(f142))), 2.380952380952381d));
float[] fArr6 = rVar.f513g;
float f162 = pow32 / fArr6[0];
float f172 = signum22 / fArr6[1];
float f182 = signum32 / fArr6[2];
float[][] fArr22 = b.f475b;
float[] fArr32 = fArr22[0];
float f192 = (fArr32[2] * f182) + (fArr32[1] * f172) + (fArr32[0] * f162);
float[] fArr42 = fArr22[1];
float f202 = (fArr42[2] * f182) + (fArr42[1] * f172) + (fArr42[0] * f162);
float[] fArr52 = fArr22[2];
return G.a.a(f192, f202, (f182 * fArr52[2]) + (f172 * fArr52[1]) + (f162 * fArr52[0]));
}
}

View File

@@ -0,0 +1,212 @@
package F;
import B0.G;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.graphics.Shader;
import android.graphics.Typeface;
import android.os.Handler;
import android.os.Looper;
import android.util.AttributeSet;
import android.util.Base64;
import android.util.Log;
import android.util.TypedValue;
import android.util.Xml;
import com.google.firebase.messaging.ServiceStarter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public abstract class b {
/* renamed from: a, reason: collision with root package name */
public static final float[][] f474a = {new float[]{0.401288f, 0.650173f, -0.051461f}, new float[]{-0.250268f, 1.204414f, 0.045854f}, new float[]{-0.002079f, 0.048952f, 0.953127f}};
/* renamed from: b, reason: collision with root package name */
public static final float[][] f475b = {new float[]{1.8620678f, -1.0112547f, 0.14918678f}, new float[]{0.38752654f, 0.62144744f, -0.00897398f}, new float[]{-0.0158415f, -0.03412294f, 1.0499644f}};
/* renamed from: c, reason: collision with root package name */
public static final float[] f476c = {95.047f, 100.0f, 108.883f};
/* renamed from: d, reason: collision with root package name */
public static final float[][] f477d = {new float[]{0.41233894f, 0.35762063f, 0.18051042f}, new float[]{0.2126f, 0.7152f, 0.0722f}, new float[]{0.01932141f, 0.11916382f, 0.9503448f}};
public static G b(TypedArray typedArray, XmlPullParser xmlPullParser, Resources.Theme theme, String str, int i) {
G g4;
if (xmlPullParser.getAttributeValue("http://schemas.android.com/apk/res/android", str) != null) {
TypedValue typedValue = new TypedValue();
typedArray.getValue(i, typedValue);
int i4 = typedValue.type;
if (i4 >= 28 && i4 <= 31) {
return new G((Shader) null, (ColorStateList) null, typedValue.data);
}
try {
g4 = G.c(typedArray.getResources(), typedArray.getResourceId(i, 0), theme);
} catch (Exception e4) {
Log.e("ComplexColorCompat", "Failed to inflate ComplexColor.", e4);
g4 = null;
}
if (g4 != null) {
return g4;
}
}
return new G((Shader) null, (ColorStateList) null, 0);
}
public static boolean c(XmlPullParser xmlPullParser, String str) {
return xmlPullParser.getAttributeValue("http://schemas.android.com/apk/res/android", str) != null;
}
public static int d(float f2) {
if (f2 < 1.0f) {
return -16777216;
}
if (f2 > 99.0f) {
return -1;
}
float f4 = (f2 + 16.0f) / 116.0f;
float f5 = f2 > 8.0f ? f4 * f4 * f4 : f2 / 903.2963f;
float f6 = f4 * f4 * f4;
boolean z3 = f6 > 0.008856452f;
float f7 = z3 ? f6 : ((f4 * 116.0f) - 16.0f) / 903.2963f;
if (!z3) {
f6 = ((f4 * 116.0f) - 16.0f) / 903.2963f;
}
float[] fArr = f476c;
return G.a.a(f7 * fArr[0], f5 * fArr[1], f6 * fArr[2]);
}
public static float e(int i) {
float f2 = i / 255.0f;
return (f2 <= 0.04045f ? f2 / 12.92f : (float) Math.pow((f2 + 0.055f) / 1.055f, 2.4000000953674316d)) * 100.0f;
}
public static TypedArray f(Resources resources, Resources.Theme theme, AttributeSet attributeSet, int[] iArr) {
return theme == null ? resources.obtainAttributes(attributeSet, iArr) : theme.obtainStyledAttributes(attributeSet, iArr, 0, 0);
}
public static e i(XmlResourceParser xmlResourceParser, Resources resources) {
int next;
do {
next = xmlResourceParser.next();
if (next == 2) {
break;
}
} while (next != 1);
if (next != 2) {
throw new XmlPullParserException("No start tag found");
}
xmlResourceParser.require(2, null, "font-family");
if (!xmlResourceParser.getName().equals("font-family")) {
k(xmlResourceParser);
return null;
}
TypedArray obtainAttributes = resources.obtainAttributes(Xml.asAttributeSet(xmlResourceParser), B.a.f82b);
String string = obtainAttributes.getString(0);
String string2 = obtainAttributes.getString(4);
String string3 = obtainAttributes.getString(5);
int resourceId = obtainAttributes.getResourceId(1, 0);
int integer = obtainAttributes.getInteger(2, 1);
int integer2 = obtainAttributes.getInteger(3, ServiceStarter.ERROR_UNKNOWN);
String string4 = obtainAttributes.getString(6);
obtainAttributes.recycle();
if (string != null && string2 != null && string3 != null) {
while (xmlResourceParser.next() != 3) {
k(xmlResourceParser);
}
return new h(new I0.b(string, string2, string3, j(resources, resourceId)), integer, integer2, string4);
}
ArrayList arrayList = new ArrayList();
while (xmlResourceParser.next() != 3) {
if (xmlResourceParser.getEventType() == 2) {
if (xmlResourceParser.getName().equals("font")) {
TypedArray obtainAttributes2 = resources.obtainAttributes(Xml.asAttributeSet(xmlResourceParser), B.a.f83c);
int i = obtainAttributes2.getInt(obtainAttributes2.hasValue(8) ? 8 : 1, 400);
boolean z3 = 1 == obtainAttributes2.getInt(obtainAttributes2.hasValue(6) ? 6 : 2, 0);
int i4 = obtainAttributes2.hasValue(9) ? 9 : 3;
String string5 = obtainAttributes2.getString(obtainAttributes2.hasValue(7) ? 7 : 4);
int i5 = obtainAttributes2.getInt(i4, 0);
int i6 = obtainAttributes2.hasValue(5) ? 5 : 0;
int resourceId2 = obtainAttributes2.getResourceId(i6, 0);
String string6 = obtainAttributes2.getString(i6);
obtainAttributes2.recycle();
while (xmlResourceParser.next() != 3) {
k(xmlResourceParser);
}
arrayList.add(new g(string6, i, string5, i5, resourceId2, z3));
} else {
k(xmlResourceParser);
}
}
}
if (arrayList.isEmpty()) {
return null;
}
return new f((g[]) arrayList.toArray(new g[0]));
}
public static List j(Resources resources, int i) {
if (i == 0) {
return Collections.EMPTY_LIST;
}
TypedArray obtainTypedArray = resources.obtainTypedArray(i);
try {
if (obtainTypedArray.length() == 0) {
return Collections.EMPTY_LIST;
}
ArrayList arrayList = new ArrayList();
if (d.a(obtainTypedArray, 0) == 1) {
for (int i4 = 0; i4 < obtainTypedArray.length(); i4++) {
int resourceId = obtainTypedArray.getResourceId(i4, 0);
if (resourceId != 0) {
String[] stringArray = resources.getStringArray(resourceId);
ArrayList arrayList2 = new ArrayList();
for (String str : stringArray) {
arrayList2.add(Base64.decode(str, 0));
}
arrayList.add(arrayList2);
}
}
} else {
String[] stringArray2 = resources.getStringArray(i);
ArrayList arrayList3 = new ArrayList();
for (String str2 : stringArray2) {
arrayList3.add(Base64.decode(str2, 0));
}
arrayList.add(arrayList3);
}
return arrayList;
} finally {
obtainTypedArray.recycle();
}
}
public static void k(XmlResourceParser xmlResourceParser) {
int i = 1;
while (i > 0) {
int next = xmlResourceParser.next();
if (next == 2) {
i++;
} else if (next == 3) {
i--;
}
}
}
public static float l() {
return ((float) Math.pow((50.0f + 16.0d) / 116.0d, 3.0d)) * 100.0f;
}
public void a(int i) {
new Handler(Looper.getMainLooper()).post(new o(i, 0, this));
}
public abstract void g(int i);
public abstract void h(Typeface typeface);
}

View File

@@ -0,0 +1,64 @@
package F;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;
import android.util.AttributeSet;
import android.util.Xml;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public abstract class c {
/* renamed from: a, reason: collision with root package name */
public static final ThreadLocal f478a = new ThreadLocal();
public static ColorStateList a(Resources resources, XmlResourceParser xmlResourceParser, Resources.Theme theme) {
int next;
AttributeSet asAttributeSet = Xml.asAttributeSet(xmlResourceParser);
do {
next = xmlResourceParser.next();
if (next == 2) {
break;
}
} while (next != 1);
if (next == 2) {
return b(resources, xmlResourceParser, asAttributeSet, theme);
}
throw new XmlPullParserException("No start tag found");
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:156:0x02d9 */
/* JADX WARN: Removed duplicated region for block: B:159:0x00a3 */
/* JADX WARN: Removed duplicated region for block: B:39:0x009e */
/* JADX WARN: Removed duplicated region for block: B:47:0x00d7 */
/* JADX WARN: Removed duplicated region for block: B:77:0x02ec */
/* JADX WARN: Removed duplicated region for block: B:84:0x02ff */
/* JADX WARN: Removed duplicated region for block: B:92:0x0136 */
/* JADX WARN: Type inference failed for: r0v0 */
/* JADX WARN: Type inference failed for: r0v2, types: [android.content.res.Resources] */
/* JADX WARN: Type inference failed for: r0v4 */
/* JADX WARN: Type inference failed for: r0v46 */
/* JADX WARN: Type inference failed for: r0v5 */
/* JADX WARN: Type inference failed for: r1v23, types: [java.lang.Object[], java.lang.Object] */
/* JADX WARN: Type inference failed for: r4v2 */
/* JADX WARN: Type inference failed for: r4v3, types: [int, boolean] */
/* JADX WARN: Type inference failed for: r4v4 */
/* JADX WARN: Type inference failed for: r4v5 */
/* JADX WARN: Type inference failed for: r4v9 */
/* JADX WARN: Type inference failed for: r9v18 */
/* JADX WARN: Type inference failed for: r9v19 */
/* JADX WARN: Type inference failed for: r9v5, types: [android.content.res.TypedArray] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static android.content.res.ColorStateList b(android.content.res.Resources r36, android.content.res.XmlResourceParser r37, android.util.AttributeSet r38, android.content.res.Resources.Theme r39) {
/*
Method dump skipped, instructions count: 870
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: F.c.b(android.content.res.Resources, android.content.res.XmlResourceParser, android.util.AttributeSet, android.content.res.Resources$Theme):android.content.res.ColorStateList");
}
}

View File

@@ -0,0 +1,10 @@
package F;
import android.content.res.TypedArray;
/* loaded from: classes.dex */
public abstract class d {
public static int a(TypedArray typedArray, int i) {
return typedArray.getType(i);
}
}

View File

@@ -0,0 +1,5 @@
package F;
/* loaded from: classes.dex */
public interface e {
}

View File

@@ -0,0 +1,12 @@
package F;
/* loaded from: classes.dex */
public final class f implements e {
/* renamed from: a, reason: collision with root package name */
public final g[] f479a;
public f(g[] gVarArr) {
this.f479a = gVarArr;
}
}

View File

@@ -0,0 +1,28 @@
package F;
/* loaded from: classes.dex */
public final class g {
/* renamed from: a, reason: collision with root package name */
public final int f480a;
/* renamed from: b, reason: collision with root package name */
public final boolean f481b;
/* renamed from: c, reason: collision with root package name */
public final String f482c;
/* renamed from: d, reason: collision with root package name */
public final int f483d;
/* renamed from: e, reason: collision with root package name */
public final int f484e;
public g(String str, int i, String str2, int i4, int i5, boolean z3) {
this.f480a = i;
this.f481b = z3;
this.f482c = str2;
this.f483d = i4;
this.f484e = i5;
}
}

View File

@@ -0,0 +1,24 @@
package F;
/* loaded from: classes.dex */
public final class h implements e {
/* renamed from: a, reason: collision with root package name */
public final I0.b f485a;
/* renamed from: b, reason: collision with root package name */
public final int f486b;
/* renamed from: c, reason: collision with root package name */
public final int f487c;
/* renamed from: d, reason: collision with root package name */
public final String f488d;
public h(I0.b bVar, int i, int i4, String str) {
this.f485a = bVar;
this.f487c = i;
this.f486b = i4;
this.f488d = str;
}
}

View File

@@ -0,0 +1,732 @@
package F;
import O.C0079u;
import O.D0;
import O.InterfaceC0080v;
import O.J;
import O.X;
import O.h0;
import O.t0;
import O.u0;
import O.v0;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.os.Build;
import android.os.Handler;
import android.text.Editable;
import android.text.Spannable;
import android.text.SpannableString;
import android.util.SparseIntArray;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageView;
import androidx.cardview.widget.CardView;
import androidx.recyclerview.widget.C0234o0;
import androidx.recyclerview.widget.I0;
import androidx.recyclerview.widget.O0;
import androidx.recyclerview.widget.R0;
import androidx.recyclerview.widget.S0;
import androidx.viewpager.widget.ViewPager;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import d0.t;
import d0.v;
import f0.C0337a;
import f0.C0346j;
import g.LayoutInflaterFactory2C0351E;
import g.u;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.util.WeakHashMap;
import k.AbstractC0405b;
import k.InterfaceC0404a;
import kotlin.collections.ArraysKt;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.channels.Channel;
import u.AbstractC0629f;
import u.C0630g;
import w0.InterfaceC0647c;
import w0.InterfaceC0648d;
/* loaded from: classes.dex */
public final class i implements InterfaceC0080v, Q0.h, d0.m, InterfaceC0404a, InterfaceC0648d {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f489a;
/* renamed from: b, reason: collision with root package name */
public Object f490b;
/* renamed from: c, reason: collision with root package name */
public Object f491c;
public /* synthetic */ i(int i, Object obj, Object obj2) {
this.f489a = i;
this.f490b = obj;
this.f491c = obj2;
}
public static String m(Class cls) {
int modifiers = cls.getModifiers();
if (Modifier.isInterface(modifiers)) {
return "Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: ".concat(cls.getName());
}
if (Modifier.isAbstract(modifiers)) {
return "Abstract classes can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Class name: ".concat(cls.getName());
}
return null;
}
public static S0.f p(S0.j jVar, Throwable th) {
if (th instanceof S0.m) {
jVar.f1476B.getClass();
S0.c cVar = W0.d.f1886a;
jVar.f1476B.getClass();
} else {
jVar.f1476B.getClass();
S0.c cVar2 = W0.d.f1886a;
}
return new S0.f(null, jVar, th);
}
public static int u(int i, int i4) {
int i5 = 0;
int i6 = 0;
for (int i7 = 0; i7 < i; i7++) {
i5++;
if (i5 == i4) {
i6++;
i5 = 0;
} else if (i5 > i4) {
i6++;
i5 = 1;
}
}
return i5 + 1 > i4 ? i6 + 1 : i6;
}
public static boolean w(S0.j jVar, Bitmap.Config config) {
if (config == Bitmap.Config.HARDWARE) {
if (jVar.f1487m) {
U0.b bVar = jVar.f1479c;
if (bVar instanceof U0.a) {
ImageView imageView = ((U0.a) bVar).f1775b;
if (!imageView.isAttachedToWindow() || imageView.isHardwareAccelerated()) {
}
}
}
return false;
}
return true;
}
public void A(int i, int i4) {
int[] iArr = (int[]) this.f490b;
if (iArr == null || i >= iArr.length) {
return;
}
int i5 = i + i4;
o(i5);
int[] iArr2 = (int[]) this.f490b;
System.arraycopy(iArr2, i5, iArr2, i, (iArr2.length - i) - i4);
int[] iArr3 = (int[]) this.f490b;
Arrays.fill(iArr3, iArr3.length - i4, iArr3.length, -1);
ArrayList arrayList = (ArrayList) this.f491c;
if (arrayList == null) {
return;
}
for (int size = arrayList.size() - 1; size >= 0; size--) {
O0 o02 = (O0) ((ArrayList) this.f491c).get(size);
int i6 = o02.f3611a;
if (i6 >= i) {
if (i6 < i5) {
((ArrayList) this.f491c).remove(size);
} else {
o02.f3611a = i6 - i4;
}
}
}
}
public void B(L.f fVar) {
int i = fVar.f1031b;
Handler handler = (Handler) this.f491c;
A.a aVar = (A.a) this.f490b;
if (i != 0) {
handler.post(new H0.p(i, 1, aVar));
} else {
handler.post(new L.a(0, aVar, fVar.f1030a));
}
}
public S0.o C(S0.j jVar, T0.h hVar) {
Bitmap.Config config;
Bitmap.Config config2 = ((jVar.h.isEmpty() || ArraysKt.contains(W0.f.f1887a, jVar.f1482f)) && ((config = jVar.f1482f) != Bitmap.Config.HARDWARE || w(jVar, config))) ? jVar.f1482f : Bitmap.Config.ARGB_8888;
S0.b bVar = ((W0.j) this.f491c).f1902d ? jVar.f1491r : S0.b.f1444d;
m3.l lVar = hVar.f1643a;
T0.b bVar2 = T0.b.f1632a;
return new S0.o(jVar.f1477a, config2, null, hVar, (Intrinsics.areEqual(lVar, bVar2) || Intrinsics.areEqual(hVar.f1644b, bVar2)) ? T0.g.f1639b : jVar.f1498y, W0.d.a(jVar), jVar.f1488n && jVar.h.isEmpty() && config2 != Bitmap.Config.ALPHA_8, jVar.f1489o, jVar.f1481e, jVar.f1484j, jVar.f1485k, jVar.f1499z, jVar.p, jVar.f1490q, bVar);
}
public C0079u D(I0 i02, int i) {
S0 s02;
C0079u c0079u;
s.j jVar = (s.j) this.f490b;
int d4 = jVar.d(i02);
if (d4 >= 0 && (s02 = (S0) jVar.i(d4)) != null) {
int i4 = s02.f3727a;
if ((i4 & i) != 0) {
int i5 = i4 & (~i);
s02.f3727a = i5;
if (i == 4) {
c0079u = s02.f3728b;
} else {
if (i != 8) {
throw new IllegalArgumentException("Must provide flag PRE or POST");
}
c0079u = s02.f3729c;
}
if ((i5 & 12) == 0) {
jVar.g(d4);
s02.f3727a = 0;
s02.f3728b = null;
s02.f3729c = null;
S0.f3726d.c(s02);
}
return c0079u;
}
}
return null;
}
public void E(I0 i02) {
S0 s02 = (S0) ((s.j) this.f490b).get(i02);
if (s02 == null) {
return;
}
s02.f3727a &= -2;
}
public void F(I0 i02) {
s.g gVar = (s.g) this.f491c;
int g4 = gVar.g() - 1;
while (true) {
if (g4 < 0) {
break;
}
if (i02 == gVar.h(g4)) {
Object[] objArr = gVar.f8346c;
Object obj = objArr[g4];
Object obj2 = s.h.f8348a;
if (obj != obj2) {
objArr[g4] = obj2;
gVar.f8344a = true;
}
} else {
g4--;
}
}
S0 s02 = (S0) ((s.j) this.f490b).remove(i02);
if (s02 != null) {
s02.f3727a = 0;
s02.f3728b = null;
s02.f3729c = null;
S0.f3726d.c(s02);
}
}
public void G(int i, int i4, int i5, int i6) {
CardView cardView = (CardView) this.f491c;
cardView.f2512d.set(i, i4, i5, i6);
Rect rect = cardView.f2511c;
CardView.a(cardView, i + rect.left, i4 + rect.top, i5 + rect.right, i6 + rect.bottom);
}
@Override // Q0.h
public boolean a(Q0.b bVar) {
return ((Q0.f) this.f491c).remove(bVar) != null;
}
@Override // Q0.h
public Q0.c b(Q0.b bVar) {
Q0.e eVar = (Q0.e) ((Q0.f) this.f491c).get(bVar);
if (eVar != null) {
return new Q0.c(eVar.f1360a, eVar.f1361b);
}
return null;
}
@Override // Q0.h
public void c(int i) {
Q0.f fVar = (Q0.f) this.f491c;
if (i >= 40) {
fVar.evictAll();
} else {
if (10 > i || i >= 20) {
return;
}
fVar.trimToSize(fVar.size() / 2);
}
}
@Override // d0.m
public Object d() {
return (v) this.f490b;
}
@Override // k.InterfaceC0404a
public boolean e(AbstractC0405b abstractC0405b, MenuItem menuItem) {
return ((InterfaceC0404a) this.f490b).e(abstractC0405b, menuItem);
}
@Override // k.InterfaceC0404a
public boolean f(AbstractC0405b abstractC0405b, l.m mVar) {
ViewGroup viewGroup = ((LayoutInflaterFactory2C0351E) this.f491c).f6495A;
WeakHashMap weakHashMap = X.f1226a;
J.c(viewGroup);
return ((InterfaceC0404a) this.f490b).f(abstractC0405b, mVar);
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v4, types: [java.lang.Object, x2.p] */
@Override // O.InterfaceC0080v
public D0 g(View view, D0 d02) {
switch (this.f489a) {
case 1:
D0 f2 = X.f(view, d02);
if (f2.f1207a.m()) {
return f2;
}
int b4 = f2.b();
Rect rect = (Rect) this.f490b;
rect.left = b4;
rect.top = f2.d();
rect.right = f2.c();
rect.bottom = f2.a();
ViewPager viewPager = (ViewPager) this.f491c;
int childCount = viewPager.getChildCount();
for (int i = 0; i < childCount; i++) {
D0 b5 = X.b(viewPager.getChildAt(i), f2);
rect.left = Math.min(b5.b(), rect.left);
rect.top = Math.min(b5.d(), rect.top);
rect.right = Math.min(b5.c(), rect.right);
rect.bottom = Math.min(b5.a(), rect.bottom);
}
int i4 = rect.left;
int i5 = rect.top;
int i6 = rect.right;
int i7 = rect.bottom;
v0 u0Var = Build.VERSION.SDK_INT >= 30 ? new u0(f2) : new t0(f2);
u0Var.f(G.c.b(i4, i5, i6, i7));
return u0Var.b();
default:
?? obj = new Object();
x2.p pVar = (x2.p) this.f491c;
obj.f8969a = pVar.f8969a;
obj.f8970b = pVar.f8970b;
obj.f8971c = pVar.f8971c;
obj.f8972d = pVar.f8972d;
return ((x2.o) this.f490b).c(view, d02, obj);
}
}
@Override // Q0.h
public void h(Q0.b bVar, Bitmap bitmap, Map map) {
int r4 = m3.d.r(bitmap);
Q0.f fVar = (Q0.f) this.f491c;
if (r4 <= fVar.maxSize()) {
fVar.put(bVar, new Q0.e(bitmap, map, r4));
} else {
fVar.remove(bVar);
((Q0.i) this.f490b).e(bVar, bitmap, map, r4);
}
}
@Override // k.InterfaceC0404a
public boolean i(AbstractC0405b abstractC0405b, l.m mVar) {
return ((InterfaceC0404a) this.f490b).i(abstractC0405b, mVar);
}
/* JADX WARN: Type inference failed for: r3v1, types: [g.l, java.lang.Object] */
@Override // k.InterfaceC0404a
public void j(AbstractC0405b abstractC0405b) {
((InterfaceC0404a) this.f490b).j(abstractC0405b);
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = (LayoutInflaterFactory2C0351E) this.f491c;
if (layoutInflaterFactory2C0351E.f6538w != null) {
layoutInflaterFactory2C0351E.f6528l.getDecorView().removeCallbacks(layoutInflaterFactory2C0351E.f6539x);
}
if (layoutInflaterFactory2C0351E.f6537v != null) {
h0 h0Var = layoutInflaterFactory2C0351E.f6540y;
if (h0Var != null) {
h0Var.b();
}
h0 a2 = X.a(layoutInflaterFactory2C0351E.f6537v);
a2.a(BitmapDescriptorFactory.HUE_RED);
layoutInflaterFactory2C0351E.f6540y = a2;
a2.d(new u(this, 2));
}
layoutInflaterFactory2C0351E.f6530n.onSupportActionModeFinished(layoutInflaterFactory2C0351E.f6536u);
layoutInflaterFactory2C0351E.f6536u = null;
ViewGroup viewGroup = layoutInflaterFactory2C0351E.f6495A;
WeakHashMap weakHashMap = X.f1226a;
J.c(viewGroup);
layoutInflaterFactory2C0351E.J();
}
@Override // d0.m
public boolean k(CharSequence charSequence, int i, int i4, t tVar) {
if ((tVar.f6157c & 4) > 0) {
return true;
}
if (((v) this.f490b) == null) {
this.f490b = new v(charSequence instanceof Spannable ? (Spannable) charSequence : new SpannableString(charSequence));
}
((E2.e) this.f491c).getClass();
((v) this.f490b).setSpan(new d0.u(tVar), i, i4, 33);
return true;
}
public void l(I0 i02, C0079u c0079u) {
s.j jVar = (s.j) this.f490b;
S0 s02 = (S0) jVar.get(i02);
if (s02 == null) {
s02 = S0.a();
jVar.put(i02, s02);
}
s02.f3729c = c0079u;
s02.f3727a |= 8;
}
public void n() {
int[] iArr = (int[]) this.f490b;
if (iArr != null) {
Arrays.fill(iArr, -1);
}
this.f491c = null;
}
public void o(int i) {
int[] iArr = (int[]) this.f490b;
if (iArr == null) {
int[] iArr2 = new int[Math.max(i, 10) + 1];
this.f490b = iArr2;
Arrays.fill(iArr2, -1);
} else if (i >= iArr.length) {
int length = iArr.length;
while (length <= i) {
length *= 2;
}
int[] iArr3 = new int[length];
this.f490b = iArr3;
System.arraycopy(iArr, 0, iArr3, 0, iArr.length);
int[] iArr4 = (int[]) this.f490b;
Arrays.fill(iArr4, iArr.length, iArr4.length, -1);
}
}
public View q(int i, int i4, int i5, int i6) {
View u3;
C0234o0 c0234o0 = (C0234o0) this.f490b;
int d4 = c0234o0.d();
int c4 = c0234o0.c();
int i7 = i4 > i ? 1 : -1;
View view = null;
while (i != i4) {
switch (c0234o0.f3862a) {
case 0:
u3 = c0234o0.f3863b.u(i);
break;
default:
u3 = c0234o0.f3863b.u(i);
break;
}
int b4 = c0234o0.b(u3);
int a2 = c0234o0.a(u3);
R0 r02 = (R0) this.f491c;
r02.f3638b = d4;
r02.f3639c = c4;
r02.f3640d = b4;
r02.f3641e = a2;
if (i5 != 0) {
r02.f3637a = i5;
if (r02.a()) {
return u3;
}
}
if (i6 != 0) {
r02.f3637a = i6;
if (r02.a()) {
view = u3;
}
}
i += i7;
}
return view;
}
/* JADX WARN: Removed duplicated region for block: B:15:0x008a A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:16:0x008b */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public S2.p r(X2.a r9) {
/*
Method dump skipped, instructions count: 335
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: F.i.r(X2.a):S2.p");
}
@Override // w0.InterfaceC0648d
public void s(InterfaceC0647c statement) {
Intrinsics.checkNotNullParameter(statement, "statement");
Intrinsics.checkNotNullParameter(statement, "statement");
Object[] objArr = (Object[]) this.f491c;
if (objArr == null) {
return;
}
int length = objArr.length;
int i = 0;
while (i < length) {
Object obj = objArr[i];
i++;
if (obj == null) {
statement.t(i);
} else if (obj instanceof byte[]) {
statement.N(i, (byte[]) obj);
} else if (obj instanceof Float) {
statement.v(i, ((Number) obj).floatValue());
} else if (obj instanceof Double) {
statement.v(i, ((Number) obj).doubleValue());
} else if (obj instanceof Long) {
statement.I(i, ((Number) obj).longValue());
} else if (obj instanceof Integer) {
statement.I(i, ((Number) obj).intValue());
} else if (obj instanceof Short) {
statement.I(i, ((Number) obj).shortValue());
} else if (obj instanceof Byte) {
statement.I(i, ((Number) obj).byteValue());
} else if (obj instanceof String) {
statement.k(i, (String) obj);
} else {
if (!(obj instanceof Boolean)) {
throw new IllegalArgumentException("Cannot bind " + obj + " at index " + i + " Supported types: Null, ByteArray, Float, Double, Long, Int, Short, Byte, String");
}
statement.I(i, ((Boolean) obj).booleanValue() ? 1L : 0L);
}
}
}
/* JADX WARN: Removed duplicated region for block: B:10:0x003f */
/* JADX WARN: Removed duplicated region for block: B:12:0x0047 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public com.google.android.datatransport.cct.CctBackendFactory t(java.lang.String r15) {
/*
Method dump skipped, instructions count: 278
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: F.i.t(java.lang.String):com.google.android.datatransport.cct.CctBackendFactory");
}
public String toString() {
switch (this.f489a) {
case 3:
return "Bounds{lower=" + ((G.c) this.f490b) + " upper=" + ((G.c) this.f491c) + "}";
case 6:
return ((Map) this.f490b).toString();
case 19:
String str = "[ ";
if (((C0630g) this.f490b) != null) {
for (int i = 0; i < 9; i++) {
StringBuilder a2 = AbstractC0629f.a(str);
a2.append(((C0630g) this.f490b).h[i]);
a2.append(" ");
str = a2.toString();
}
}
return str + "] " + ((C0630g) this.f490b);
default:
return super.toString();
}
}
public void v() {
((SparseIntArray) this.f490b).clear();
}
@Override // w0.InterfaceC0648d
public String x() {
return (String) this.f490b;
}
public boolean y(View view) {
C0234o0 c0234o0 = (C0234o0) this.f490b;
int d4 = c0234o0.d();
int c4 = c0234o0.c();
int b4 = c0234o0.b(view);
int a2 = c0234o0.a(view);
R0 r02 = (R0) this.f491c;
r02.f3638b = d4;
r02.f3639c = c4;
r02.f3640d = b4;
r02.f3641e = a2;
r02.f3637a = 24579;
return r02.a();
}
public void z(int i, int i4) {
int[] iArr = (int[]) this.f490b;
if (iArr == null || i >= iArr.length) {
return;
}
int i5 = i + i4;
o(i5);
int[] iArr2 = (int[]) this.f490b;
System.arraycopy(iArr2, i, iArr2, i5, (iArr2.length - i) - i4);
Arrays.fill((int[]) this.f490b, i, i5, -1);
ArrayList arrayList = (ArrayList) this.f491c;
if (arrayList == null) {
return;
}
for (int size = arrayList.size() - 1; size >= 0; size--) {
O0 o02 = (O0) ((ArrayList) this.f491c).get(size);
int i6 = o02.f3611a;
if (i6 >= i) {
o02.f3611a = i6 + i4;
}
}
}
public /* synthetic */ i(Object obj, int i) {
this.f489a = i;
this.f491c = obj;
}
public i(String query, Object[] objArr) {
this.f489a = 20;
Intrinsics.checkNotNullParameter(query, "query");
this.f490b = query;
this.f491c = objArr;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public i(String query) {
this(query, (Object[]) null);
this.f489a = 20;
Intrinsics.checkNotNullParameter(query, "query");
}
public i(int i, Q0.i iVar) {
this.f489a = 4;
this.f490b = iVar;
this.f491c = new Q0.f(i, this);
}
public i(Context context) {
this.f489a = 7;
this.f491c = null;
this.f490b = context;
}
public i(String[] tables, Channel channel) {
this.f489a = 13;
this.f491c = channel;
this.f489a = 13;
Intrinsics.checkNotNullParameter(tables, "tables");
this.f490b = tables;
}
/* JADX WARN: Type inference failed for: r2v1, types: [java.lang.Object, androidx.recyclerview.widget.R0] */
public i(C0234o0 c0234o0) {
this.f489a = 11;
this.f490b = c0234o0;
?? obj = new Object();
obj.f3637a = 0;
this.f491c = obj;
}
public i(ArrayList arrayList, ArrayList arrayList2) {
this.f489a = 0;
int size = arrayList.size();
this.f490b = new int[size];
this.f491c = new float[size];
for (int i = 0; i < size; i++) {
((int[]) this.f490b)[i] = ((Integer) arrayList.get(i)).intValue();
((float[]) this.f491c)[i] = ((Float) arrayList2.get(i)).floatValue();
}
}
public i(int i, int i4) {
this.f489a = 0;
this.f490b = new int[]{i, i4};
this.f491c = new float[]{BitmapDescriptorFactory.HUE_RED, 1.0f};
}
public i(int i, int i4, int i5) {
this.f489a = 0;
this.f490b = new int[]{i, i4, i5};
this.f491c = new float[]{BitmapDescriptorFactory.HUE_RED, 0.5f, 1.0f};
}
/* JADX WARN: Type inference failed for: r1v2, types: [android.text.Editable$Factory, f0.a] */
public i(EditText editText) {
this.f489a = 15;
this.f490b = editText;
C0346j c0346j = new C0346j(editText);
this.f491c = c0346j;
editText.addTextChangedListener(c0346j);
if (C0337a.f6446b == null) {
synchronized (C0337a.f6445a) {
try {
if (C0337a.f6446b == null) {
?? factory = new Editable.Factory();
try {
C0337a.f6447c = Class.forName("android.text.DynamicLayout$ChangeWatcher", false, C0337a.class.getClassLoader());
} catch (Throwable unused) {
}
C0337a.f6446b = factory;
}
} finally {
}
}
}
editText.setEditableFactory(C0337a.f6446b);
}
public i(ViewPager viewPager) {
this.f489a = 1;
this.f491c = viewPager;
this.f490b = new Rect();
}
public i(int i) {
this.f489a = i;
switch (i) {
case 10:
return;
case 11:
default:
this.f490b = new SparseIntArray();
this.f491c = new SparseIntArray();
return;
case 12:
this.f490b = new s.j(0);
this.f491c = new s.g();
return;
}
}
public i(LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E, InterfaceC0404a interfaceC0404a) {
this.f489a = 16;
this.f491c = layoutInflaterFactory2C0351E;
this.f490b = interfaceC0404a;
}
}

View File

@@ -0,0 +1,15 @@
package F;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
/* loaded from: classes.dex */
public abstract class j {
public static Drawable a(Resources resources, int i, Resources.Theme theme) {
return resources.getDrawable(i, theme);
}
public static Drawable b(Resources resources, int i, int i4, Resources.Theme theme) {
return resources.getDrawableForDensity(i, i4, theme);
}
}

View File

@@ -0,0 +1,15 @@
package F;
import android.content.res.ColorStateList;
import android.content.res.Resources;
/* loaded from: classes.dex */
public abstract class k {
public static int a(Resources resources, int i, Resources.Theme theme) {
return resources.getColor(i, theme);
}
public static ColorStateList b(Resources resources, int i, Resources.Theme theme) {
return resources.getColorStateList(i, theme);
}
}

View File

@@ -0,0 +1,24 @@
package F;
import android.content.res.ColorStateList;
import android.content.res.Configuration;
import android.content.res.Resources;
/* loaded from: classes.dex */
public final class l {
/* renamed from: a, reason: collision with root package name */
public final ColorStateList f492a;
/* renamed from: b, reason: collision with root package name */
public final Configuration f493b;
/* renamed from: c, reason: collision with root package name */
public final int f494c;
public l(ColorStateList colorStateList, Configuration configuration, Resources.Theme theme) {
this.f492a = colorStateList;
this.f493b = configuration;
this.f494c = theme == null ? 0 : theme.hashCode();
}
}

View File

@@ -0,0 +1,36 @@
package F;
import android.content.res.Resources;
import java.util.Objects;
/* loaded from: classes.dex */
public final class m {
/* renamed from: a, reason: collision with root package name */
public final Resources f495a;
/* renamed from: b, reason: collision with root package name */
public final Resources.Theme f496b;
public m(Resources resources, Resources.Theme theme) {
this.f495a = resources;
this.f496b = theme;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj != null && m.class == obj.getClass()) {
m mVar = (m) obj;
if (this.f495a.equals(mVar.f495a) && Objects.equals(this.f496b, mVar.f496b)) {
return true;
}
}
return false;
}
public final int hashCode() {
return Objects.hash(this.f495a, this.f496b);
}
}

View File

@@ -0,0 +1,116 @@
package F;
import O.C0072m;
import android.app.job.JobParameters;
import android.content.Context;
import android.graphics.Typeface;
import android.os.Looper;
import android.util.Log;
import androidx.profileinstaller.ProfileInstallerInitializer;
import androidx.room.B;
import com.adif.elcanomovil.commonNavGraph.arguments.ChildDirections;
import com.adif.elcanomovil.domain.entities.CirculationType;
import com.adif.elcanomovil.domain.entities.StationServiceType;
import com.adif.elcanomovil.uiDepartures.databinding.FragmentDeparturesBinding;
import com.adif.elcanomovil.uiStations.databinding.FragmentStationsBinding;
import com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService;
import g.ExecutorC0369p;
import g.RunnableC0366m;
import i0.AbstractC0392m;
import java.util.Random;
import kotlin.jvm.internal.Intrinsics;
import o0.AbstractC0544v;
import s0.AbstractC0587f;
/* loaded from: classes.dex */
public final /* synthetic */ class n implements Runnable {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f497a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ Object f498b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ Object f499c;
public /* synthetic */ n(int i, Object obj, Object obj2) {
this.f497a = i;
this.f498b = obj;
this.f499c = obj2;
}
@Override // java.lang.Runnable
public final void run() {
int i = 1;
Object obj = this.f499c;
Object obj2 = this.f498b;
switch (this.f497a) {
case 0:
((b) obj2).h((Typeface) obj);
return;
case 1:
Runnable command = (Runnable) obj2;
Intrinsics.checkNotNullParameter(command, "$command");
B this$0 = (B) obj;
Intrinsics.checkNotNullParameter(this$0, "this$0");
try {
command.run();
return;
} finally {
this$0.a();
}
case 2:
b.o this$02 = (b.o) obj2;
Intrinsics.checkNotNullParameter(this$02, "this$0");
b.B dispatcher = (b.B) obj;
Intrinsics.checkNotNullParameter(dispatcher, "$dispatcher");
this$02.getLifecycle().a(new C0072m(1, dispatcher, this$02));
return;
case 3:
int i4 = JobInfoSchedulerService.f5510a;
((JobInfoSchedulerService) obj2).jobFinished((JobParameters) obj, false);
return;
case 4:
AbstractC0544v navController = (AbstractC0544v) obj2;
Intrinsics.checkNotNullParameter(navController, "$navController");
ChildDirections directions = (ChildDirections) obj;
Intrinsics.checkNotNullParameter(directions, "$directions");
navController.n(directions.getDeeplinkRequest());
return;
case 5:
FragmentDeparturesBinding binding = (FragmentDeparturesBinding) obj2;
Intrinsics.checkNotNullParameter(binding, "$binding");
CirculationType it = (CirculationType) obj;
Intrinsics.checkNotNullParameter(it, "$it");
binding.pager.b(it.getTabPosition());
return;
case 6:
FragmentStationsBinding binding2 = (FragmentStationsBinding) obj2;
Intrinsics.checkNotNullParameter(binding2, "$binding");
StationServiceType it2 = (StationServiceType) obj;
Intrinsics.checkNotNullParameter(it2, "$it");
binding2.pager.b(it2.getIndex());
return;
case 7:
Runnable runnable = (Runnable) obj;
ExecutorC0369p executorC0369p = (ExecutorC0369p) obj2;
executorC0369p.getClass();
try {
runnable.run();
return;
} finally {
executorC0369p.a();
}
case 8:
AbstractC0392m violation = (AbstractC0392m) obj;
Intrinsics.checkNotNullParameter(violation, "$violation");
Log.e("FragmentStrictMode", "Policy violation with PENALTY_DEATH in " + ((String) obj2), violation);
throw violation;
default:
((ProfileInstallerInitializer) obj2).getClass();
AbstractC0587f.a(Looper.getMainLooper()).postDelayed(new RunnableC0366m((Context) obj, i), new Random().nextInt(Math.max(1000, 1)) + 5000);
return;
}
}
}

View File

@@ -0,0 +1,40 @@
package F;
import android.view.View;
import com.google.android.material.sidesheet.SideSheetBehavior;
/* loaded from: classes.dex */
public final /* synthetic */ class o implements Runnable {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f500a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ int f501b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ Object f502c;
public /* synthetic */ o(int i, int i4, Object obj) {
this.f500a = i4;
this.f502c = obj;
this.f501b = i;
}
@Override // java.lang.Runnable
public final void run() {
switch (this.f500a) {
case 0:
((b) this.f502c).g(this.f501b);
return;
default:
SideSheetBehavior sideSheetBehavior = (SideSheetBehavior) this.f502c;
View view = (View) sideSheetBehavior.p.get();
if (view != null) {
sideSheetBehavior.y(view, this.f501b, false);
return;
}
return;
}
}
}

View File

@@ -0,0 +1,10 @@
package F;
import android.content.res.Resources;
/* loaded from: classes.dex */
public abstract class p {
public static void a(Resources.Theme theme) {
theme.rebase();
}
}

View File

@@ -0,0 +1,40 @@
package F;
import android.content.Context;
import android.graphics.Typeface;
import android.util.TypedValue;
import java.util.WeakHashMap;
/* loaded from: classes.dex */
public abstract class q {
/* renamed from: a, reason: collision with root package name */
public static final ThreadLocal f503a = new ThreadLocal();
/* renamed from: b, reason: collision with root package name */
public static final WeakHashMap f504b = new WeakHashMap(0);
/* renamed from: c, reason: collision with root package name */
public static final Object f505c = new Object();
public static Typeface a(Context context, int i) {
if (context.isRestricted()) {
return null;
}
return b(context, i, new TypedValue(), 0, null, false, false);
}
/* JADX WARN: Removed duplicated region for block: B:39:0x00ba */
/* JADX WARN: Removed duplicated region for block: B:8:0x00bf A[ADDED_TO_REGION] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static android.graphics.Typeface b(android.content.Context r12, int r13, android.util.TypedValue r14, int r15, F.b r16, boolean r17, boolean r18) {
/*
Method dump skipped, instructions count: 270
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: F.q.b(android.content.Context, int, android.util.TypedValue, int, F.b, boolean, boolean):android.graphics.Typeface");
}
}

View File

@@ -0,0 +1,91 @@
package F;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
/* loaded from: classes.dex */
public final class r {
/* renamed from: k, reason: collision with root package name */
public static final r f506k;
/* renamed from: a, reason: collision with root package name */
public final float f507a;
/* renamed from: b, reason: collision with root package name */
public final float f508b;
/* renamed from: c, reason: collision with root package name */
public final float f509c;
/* renamed from: d, reason: collision with root package name */
public final float f510d;
/* renamed from: e, reason: collision with root package name */
public final float f511e;
/* renamed from: f, reason: collision with root package name */
public final float f512f;
/* renamed from: g, reason: collision with root package name */
public final float[] f513g;
public final float h;
public final float i;
/* renamed from: j, reason: collision with root package name */
public final float f514j;
static {
float[] fArr = b.f476c;
float l4 = (float) ((b.l() * 63.66197723675813d) / 100.0d);
float[][] fArr2 = b.f474a;
float f2 = fArr[0];
float[] fArr3 = fArr2[0];
float f4 = fArr3[0] * f2;
float f5 = fArr[1];
float f6 = (fArr3[1] * f5) + f4;
float f7 = fArr[2];
float f8 = (fArr3[2] * f7) + f6;
float[] fArr4 = fArr2[1];
float f9 = (fArr4[2] * f7) + (fArr4[1] * f5) + (fArr4[0] * f2);
float[] fArr5 = fArr2[2];
float f10 = (f7 * fArr5[2]) + (f5 * fArr5[1]) + (f2 * fArr5[0]);
float f11 = ((double) 1.0f) >= 0.9d ? 0.69f : 0.655f;
float exp = (1.0f - (((float) Math.exp(((-l4) - 42.0f) / 92.0f)) * 0.2777778f)) * 1.0f;
double d4 = exp;
if (d4 > 1.0d) {
exp = 1.0f;
} else if (d4 < FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE) {
exp = BitmapDescriptorFactory.HUE_RED;
}
float f12 = 1.0f / ((5.0f * l4) + 1.0f);
float f13 = f12 * f12 * f12 * f12;
float f14 = 1.0f - f13;
float cbrt = (0.1f * f14 * f14 * ((float) Math.cbrt(l4 * 5.0d))) + (f13 * l4);
float l5 = b.l() / fArr[1];
double d5 = l5;
float sqrt = ((float) Math.sqrt(d5)) + 1.48f;
float pow = 0.725f / ((float) Math.pow(d5, 0.2d));
float[] fArr6 = {(float) Math.pow(((r9[0] * cbrt) * f8) / 100.0d, 0.42d), (float) Math.pow(((r9[1] * cbrt) * f9) / 100.0d, 0.42d), (float) Math.pow(((r9[2] * cbrt) * f10) / 100.0d, 0.42d)};
float f15 = fArr6[0];
float f16 = (f15 * 400.0f) / (f15 + 27.13f);
float f17 = fArr6[1];
float f18 = (f17 * 400.0f) / (f17 + 27.13f);
float f19 = fArr6[2];
float[] fArr7 = {f16, f18, (400.0f * f19) / (f19 + 27.13f)};
f506k = new r(l5, ((fArr7[2] * 0.05f) + (fArr7[0] * 2.0f) + fArr7[1]) * pow, pow, pow, f11, 1.0f, new float[]{(((100.0f / f8) * exp) + 1.0f) - exp, (((100.0f / f9) * exp) + 1.0f) - exp, (((100.0f / f10) * exp) + 1.0f) - exp}, cbrt, (float) Math.pow(cbrt, 0.25d), sqrt);
}
public r(float f2, float f4, float f5, float f6, float f7, float f8, float[] fArr, float f9, float f10, float f11) {
this.f512f = f2;
this.f507a = f4;
this.f508b = f5;
this.f509c = f6;
this.f510d = f7;
this.f511e = f8;
this.f513g = fArr;
this.h = f9;
this.i = f10;
this.f514j = f11;
}
}