- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
121 lines
3.9 KiB
Java
121 lines
3.9 KiB
Java
package com.ironsource;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.collections.CollectionsKt__IterablesKt;
|
|
import kotlin.collections.IntIterator;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import kotlin.ranges.IntRange;
|
|
import kotlin.ranges.RangesKt___RangesKt;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONObject;
|
|
|
|
@SourceDebugExtension({"SMAP\nApplicationEvents.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ApplicationEvents.kt\ncom/unity3d/sdk/internal/init/response/configurations/application/ApplicationEvents\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,51:1\n1#2:52\n1549#3:53\n1620#3,3:54\n*S KotlinDebug\n*F\n+ 1 ApplicationEvents.kt\ncom/unity3d/sdk/internal/init/response/configurations/application/ApplicationEvents\n*L\n48#1:53\n48#1:54,3\n*E\n"})
|
|
/* loaded from: classes2.dex */
|
|
public final class z3 {
|
|
private final boolean a;
|
|
private final boolean b;
|
|
private final boolean c;
|
|
private final int d;
|
|
private final String e;
|
|
private final String f;
|
|
private final int g;
|
|
private final int h;
|
|
private final int i;
|
|
private final List<Integer> j;
|
|
private final List<Integer> k;
|
|
private final List<Integer> l;
|
|
private final List<Integer> m;
|
|
|
|
public z3(JSONObject applicationEvents) {
|
|
Intrinsics.checkNotNullParameter(applicationEvents, "applicationEvents");
|
|
this.a = applicationEvents.optBoolean(b4.a, false);
|
|
this.b = applicationEvents.optBoolean(b4.b, false);
|
|
this.c = applicationEvents.optBoolean(b4.c, false);
|
|
this.d = applicationEvents.optInt(b4.d, -1);
|
|
String optString = applicationEvents.optString(b4.e);
|
|
Intrinsics.checkNotNullExpressionValue(optString, "applicationEvents.optStr…(SERVER_EVENTS_URL_FIELD)");
|
|
this.e = optString;
|
|
String optString2 = applicationEvents.optString(b4.f);
|
|
Intrinsics.checkNotNullExpressionValue(optString2, "applicationEvents.optString(SERVER_EVENTS_TYPE)");
|
|
this.f = optString2;
|
|
this.g = applicationEvents.optInt(b4.g, -1);
|
|
this.h = applicationEvents.optInt(b4.h, -1);
|
|
this.i = applicationEvents.optInt(b4.i, 5000);
|
|
this.j = a(applicationEvents, b4.j);
|
|
this.k = a(applicationEvents, b4.k);
|
|
this.l = a(applicationEvents, b4.l);
|
|
this.m = a(applicationEvents, b4.m);
|
|
}
|
|
|
|
private final List<Integer> a(JSONObject jSONObject, String str) {
|
|
IntRange until;
|
|
JSONArray optJSONArray = jSONObject.optJSONArray(str);
|
|
if (optJSONArray == null) {
|
|
return CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
until = RangesKt___RangesKt.until(0, optJSONArray.length());
|
|
ArrayList arrayList = new ArrayList(CollectionsKt__IterablesKt.collectionSizeOrDefault(until, 10));
|
|
Iterator it = until.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(Integer.valueOf(optJSONArray.getInt(((IntIterator) it).nextInt())));
|
|
}
|
|
return arrayList;
|
|
}
|
|
|
|
public final int a() {
|
|
return this.g;
|
|
}
|
|
|
|
public final boolean b() {
|
|
return this.c;
|
|
}
|
|
|
|
public final int c() {
|
|
return this.d;
|
|
}
|
|
|
|
public final String d() {
|
|
return this.f;
|
|
}
|
|
|
|
public final int e() {
|
|
return this.i;
|
|
}
|
|
|
|
public final int f() {
|
|
return this.h;
|
|
}
|
|
|
|
public final List<Integer> g() {
|
|
return this.m;
|
|
}
|
|
|
|
public final List<Integer> h() {
|
|
return this.k;
|
|
}
|
|
|
|
public final List<Integer> i() {
|
|
return this.j;
|
|
}
|
|
|
|
public final boolean j() {
|
|
return this.b;
|
|
}
|
|
|
|
public final boolean k() {
|
|
return this.a;
|
|
}
|
|
|
|
public final String l() {
|
|
return this.e;
|
|
}
|
|
|
|
public final List<Integer> m() {
|
|
return this.l;
|
|
}
|
|
}
|