- 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
185 lines
7.2 KiB
Java
185 lines
7.2 KiB
Java
package com.ironsource;
|
|
|
|
import android.text.TextUtils;
|
|
import com.ironsource.environment.ContextProvider;
|
|
import com.ironsource.h7;
|
|
import com.ironsource.mediationsdk.IronSource;
|
|
import com.ironsource.mediationsdk.IronSourceSegment;
|
|
import com.ironsource.mediationsdk.ads.nativead.internal.InternalNativeAdListener;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.BaseAdAdapter;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.listener.AdapterAdListener;
|
|
import com.ironsource.mediationsdk.adunit.adapter.utility.AdInfo;
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import com.ironsource.mediationsdk.model.NetworkSettings;
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import com.ironsource.mediationsdk.utils.IronSourceConstants;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.UUID;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import kotlin.jvm.internal.StringCompanionObject;
|
|
import org.json.JSONObject;
|
|
|
|
@SourceDebugExtension({"SMAP\nNativeAdManager.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NativeAdManager.kt\ncom/ironsource/mediationsdk/adunit/manager/NativeAdManager\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,176:1\n1#2:177\n*E\n"})
|
|
/* loaded from: classes2.dex */
|
|
public final class sl extends h7<wl, AdapterAdListener> implements j2 {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public sl(List<? extends NetworkSettings> list, jl configs, String str, lj publisherDataHolder, IronSourceSegment ironSourceSegment) {
|
|
super(new tl(str, list, configs), publisherDataHolder, ironSourceSegment);
|
|
Intrinsics.checkNotNullParameter(configs, "configs");
|
|
Intrinsics.checkNotNullParameter(publisherDataHolder, "publisherDataHolder");
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public void G() {
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public boolean H() {
|
|
return false;
|
|
}
|
|
|
|
public final void M() {
|
|
ut utVar;
|
|
int intValue;
|
|
sk skVar;
|
|
IronLog.INTERNAL.verbose();
|
|
try {
|
|
wl wlVar = (wl) this.a.d();
|
|
if (wlVar != null) {
|
|
Integer r = wlVar.r();
|
|
if (r == null) {
|
|
intValue = this.C.a(this.o.b());
|
|
} else {
|
|
Intrinsics.checkNotNullExpressionValue(r, "it.sessionDepth ?: sessi…epth(mManagerData.adUnit)");
|
|
intValue = r.intValue();
|
|
}
|
|
x1 x1Var = this.s;
|
|
if (x1Var != null && (skVar = x1Var.g) != null) {
|
|
skVar.a(intValue);
|
|
}
|
|
wlVar.P();
|
|
this.a.a(null);
|
|
this.a.b(null);
|
|
}
|
|
this.i = null;
|
|
a(h7.f.NONE);
|
|
} catch (Throwable th) {
|
|
i9.d().a(th);
|
|
String str = "destroyNativeAd - exception = " + th.getLocalizedMessage();
|
|
IronLog.INTERNAL.error(b(str));
|
|
x1 x1Var2 = this.s;
|
|
if (x1Var2 == null || (utVar = x1Var2.k) == null) {
|
|
return;
|
|
}
|
|
utVar.f(str);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.h7, com.ironsource.w1
|
|
public Map<String, Object> a(u1 event) {
|
|
Intrinsics.checkNotNullParameter(event, "event");
|
|
Map<String, Object> data = super.a(event);
|
|
Placement placement = this.i;
|
|
if (placement != null) {
|
|
Intrinsics.checkNotNullExpressionValue(data, "data");
|
|
data.put("placement", placement.getPlacementName());
|
|
}
|
|
UUID uuid = this.w;
|
|
if (uuid != null) {
|
|
Intrinsics.checkNotNullExpressionValue(data, "data");
|
|
data.put("objectId", uuid);
|
|
}
|
|
Intrinsics.checkNotNullExpressionValue(data, "data");
|
|
return data;
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public void a(k7<?> k7Var, AdInfo adInfo) {
|
|
if (k7Var instanceof wl) {
|
|
wl wlVar = (wl) k7Var;
|
|
this.t.a(wlVar.Q(), wlVar.R(), adInfo);
|
|
}
|
|
}
|
|
|
|
public final void a(InternalNativeAdListener nativeAdListener) {
|
|
Intrinsics.checkNotNullParameter(nativeAdListener, "nativeAdListener");
|
|
a(new rl(nativeAdListener));
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public void a(IronSourceError ironSourceError) {
|
|
this.t.a(ironSourceError);
|
|
}
|
|
|
|
public final void a(Placement placement) {
|
|
String format;
|
|
int b;
|
|
IronLog.INTERNAL.verbose("placement = " + placement);
|
|
if (placement == null || TextUtils.isEmpty(placement.getPlacementName())) {
|
|
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
|
Object[] objArr = new Object[1];
|
|
objArr[0] = placement == null ? "placement is null" : "placement name is empty";
|
|
format = String.format("can't load native ad - %s", Arrays.copyOf(objArr, 1));
|
|
Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)");
|
|
b = t1.b(this.o.b());
|
|
} else if (this.E.b(ContextProvider.getInstance().getApplicationContext(), placement, this.o.b())) {
|
|
StringCompanionObject stringCompanionObject2 = StringCompanionObject.INSTANCE;
|
|
format = String.format("placement %s is capped", Arrays.copyOf(new Object[]{placement.getPlacementName()}, 1));
|
|
Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)");
|
|
b = t1.f(this.o.b());
|
|
} else {
|
|
format = null;
|
|
b = 510;
|
|
}
|
|
if (TextUtils.isEmpty(format)) {
|
|
this.i = placement;
|
|
A();
|
|
} else {
|
|
IronLog.API.error(b(format));
|
|
a(b, format, false);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
/* renamed from: b, reason: merged with bridge method [inline-methods] */
|
|
public wl a(NetworkSettings providerSettings, BaseAdAdapter<?, AdapterAdListener> adapter, int i, String currentAuctionId, f5 item) {
|
|
Intrinsics.checkNotNullParameter(providerSettings, "providerSettings");
|
|
Intrinsics.checkNotNullParameter(adapter, "adapter");
|
|
Intrinsics.checkNotNullParameter(currentAuctionId, "currentAuctionId");
|
|
Intrinsics.checkNotNullParameter(item, "item");
|
|
return new wl(this, new i1(IronSource.AD_UNIT.NATIVE_AD, this.o.p(), i, this.g, currentAuctionId, this.e, this.f, providerSettings, this.o.o()), adapter, this.i, item, this);
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public JSONObject b(NetworkSettings providerSettings) {
|
|
Intrinsics.checkNotNullParameter(providerSettings, "providerSettings");
|
|
JSONObject nativeAdSettings = providerSettings.getNativeAdSettings();
|
|
Intrinsics.checkNotNullExpressionValue(nativeAdSettings, "providerSettings.nativeAdSettings");
|
|
return nativeAdSettings;
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public e2 g() {
|
|
return new ua();
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public String l() {
|
|
return "NA";
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public String o() {
|
|
return IronSourceConstants.OPW_NT_MANAGER_NAME;
|
|
}
|
|
|
|
@Override // com.ironsource.h7
|
|
public boolean v() {
|
|
return false;
|
|
}
|
|
}
|