- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
249 lines
9.0 KiB
Java
249 lines
9.0 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.environment.ContextProvider;
|
|
import com.ironsource.mediationsdk.IronSourceBannerLayout;
|
|
import com.ironsource.mediationsdk.adunit.adapter.utility.AdData;
|
|
import com.ironsource.mediationsdk.model.NetworkSettings;
|
|
import com.ironsource.mediationsdk.utils.IronSourceUtils;
|
|
import com.ironsource.s1;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.collections.CollectionsKt__IterablesKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class f6 extends s1 {
|
|
public static final a A = new a(null);
|
|
private final c6 u;
|
|
private final boolean v;
|
|
private final r1 w;
|
|
private final n6 x;
|
|
private final String y;
|
|
private final String z;
|
|
|
|
@SourceDebugExtension({"SMAP\nBannerAdUnitData.kt\nKotlin\n*S Kotlin\n*F\n+ 1 BannerAdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/BannerAdUnitData$Companion\n+ 2 AdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/AdUnitData$Companion\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,77:1\n47#2,10:78\n57#2,5:92\n1549#3:88\n1620#3,3:89\n*S KotlinDebug\n*F\n+ 1 BannerAdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/BannerAdUnitData$Companion\n*L\n66#1:78,10\n66#1:92,5\n66#1:88\n66#1:89,3\n*E\n"})
|
|
public static final class a {
|
|
private a() {
|
|
}
|
|
|
|
public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public final f6 a(c6 adProperties, ak akVar, boolean z) {
|
|
List<rm> emptyList;
|
|
cr d;
|
|
Intrinsics.checkNotNullParameter(adProperties, "adProperties");
|
|
s1.a aVar = s1.s;
|
|
m8 c = (akVar == null || (d = akVar.d()) == null) ? null : d.c();
|
|
n6 c2 = c != null ? c.c() : null;
|
|
if (c2 == null) {
|
|
throw new IllegalStateException("Error getting " + adProperties.a() + " configurations");
|
|
}
|
|
if (akVar == null || (emptyList = akVar.b(adProperties.c(), adProperties.b())) == null) {
|
|
emptyList = CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
String userIdForNetworks = IronSourceUtils.getUserIdForNetworks();
|
|
ArrayList arrayList = new ArrayList(CollectionsKt__IterablesKt.collectionSizeOrDefault(emptyList, 10));
|
|
Iterator<T> it = emptyList.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(((rm) it.next()).f());
|
|
}
|
|
lj b = lj.b();
|
|
Intrinsics.checkNotNullExpressionValue(b, "getInstance()");
|
|
return new f6(adProperties, z, new r1(userIdForNetworks, arrayList, b), c2);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public f6(com.ironsource.c6 r25, boolean r26, com.ironsource.r1 r27, com.ironsource.n6 r28) {
|
|
/*
|
|
r24 = this;
|
|
r11 = r24
|
|
r14 = r25
|
|
r15 = r27
|
|
r13 = r28
|
|
r0 = r24
|
|
r1 = r25
|
|
r2 = r26
|
|
java.lang.String r3 = "adProperties"
|
|
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r14, r3)
|
|
java.lang.String r3 = "adUnitCommonData"
|
|
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r15, r3)
|
|
java.lang.String r3 = "configs"
|
|
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r13, r3)
|
|
java.lang.String r3 = r27.f()
|
|
java.util.List r4 = r27.d()
|
|
com.ironsource.lj r5 = r27.e()
|
|
com.ironsource.h5 r7 = r28.d()
|
|
r6 = r7
|
|
java.lang.String r8 = "configs.bannerAuctionSettings"
|
|
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r7, r8)
|
|
int r7 = r28.a()
|
|
long r8 = r28.b()
|
|
r10 = 1000(0x3e8, float:1.401E-42)
|
|
long r10 = (long) r10
|
|
long r8 = r8 / r10
|
|
int r8 = (int) r8
|
|
boolean r9 = r28.c()
|
|
int r10 = r28.g()
|
|
com.ironsource.g2 r16 = new com.ironsource.g2
|
|
r12 = r16
|
|
com.ironsource.g2$a r17 = com.ironsource.g2.a.MANUAL_WITH_AUTOMATIC_RELOAD
|
|
com.ironsource.h5 r11 = r28.d()
|
|
long r18 = r11.j()
|
|
com.ironsource.h5 r11 = r28.d()
|
|
long r20 = r11.b()
|
|
int r11 = r28.i()
|
|
long r13 = (long) r11
|
|
r22 = 1000(0x3e8, double:4.94E-321)
|
|
long r22 = r22 * r13
|
|
r16.<init>(r17, r18, r20, r22)
|
|
boolean r13 = r28.e()
|
|
r11 = r28
|
|
long r16 = r28.f()
|
|
r14 = r16
|
|
boolean r16 = r28.m()
|
|
boolean r17 = r28.o()
|
|
boolean r18 = r28.n()
|
|
r19 = -1
|
|
r11 = r19
|
|
r19 = 0
|
|
r20 = 131072(0x20000, float:1.83671E-40)
|
|
r21 = 0
|
|
r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r16, r17, r18, r19, r20, r21)
|
|
r0.u = r1
|
|
r1 = r26
|
|
r0.v = r1
|
|
r1 = r27
|
|
r0.w = r1
|
|
r1 = r28
|
|
r0.x = r1
|
|
java.lang.String r1 = "BN"
|
|
r0.y = r1
|
|
java.lang.String r1 = "MADU_BN"
|
|
r0.z = r1
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.f6.<init>(com.ironsource.c6, boolean, com.ironsource.r1, com.ironsource.n6):void");
|
|
}
|
|
|
|
public static /* synthetic */ f6 a(f6 f6Var, c6 c6Var, boolean z, r1 r1Var, n6 n6Var, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
c6Var = f6Var.b();
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z = f6Var.v();
|
|
}
|
|
if ((i & 4) != 0) {
|
|
r1Var = f6Var.w;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
n6Var = f6Var.x;
|
|
}
|
|
return f6Var.a(c6Var, z, r1Var, n6Var);
|
|
}
|
|
|
|
public final n6 A() {
|
|
return this.x;
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
/* renamed from: B, reason: merged with bridge method [inline-methods] */
|
|
public c6 b() {
|
|
return this.u;
|
|
}
|
|
|
|
public final r1 C() {
|
|
return this.w;
|
|
}
|
|
|
|
public final n6 D() {
|
|
return this.x;
|
|
}
|
|
|
|
public final f6 a(c6 adProperties, boolean z, r1 adUnitCommonData, n6 configs) {
|
|
Intrinsics.checkNotNullParameter(adProperties, "adProperties");
|
|
Intrinsics.checkNotNullParameter(adUnitCommonData, "adUnitCommonData");
|
|
Intrinsics.checkNotNullParameter(configs, "configs");
|
|
return new f6(adProperties, z, adUnitCommonData, configs);
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
public AdData a(NetworkSettings providerSettings) {
|
|
Intrinsics.checkNotNullParameter(providerSettings, "providerSettings");
|
|
AdData createAdDataForNetworkAdapter = AdData.createAdDataForNetworkAdapter(b(providerSettings), b().a(), s(), new IronSourceBannerLayout(ContextProvider.getInstance().getCurrentActiveActivity(), new h1().b(b().g())));
|
|
Intrinsics.checkNotNullExpressionValue(createAdDataForNetworkAdapter, "createAdDataForNetworkAd…ze(adProperties.adSize)))");
|
|
return createAdDataForNetworkAdapter;
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
public JSONObject b(NetworkSettings providerSettings) {
|
|
Intrinsics.checkNotNullParameter(providerSettings, "providerSettings");
|
|
JSONObject bannerSettings = providerSettings.getBannerSettings();
|
|
Intrinsics.checkNotNullExpressionValue(bannerSettings, "providerSettings.bannerSettings");
|
|
return bannerSettings;
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
public String c() {
|
|
return this.y;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof f6)) {
|
|
return false;
|
|
}
|
|
f6 f6Var = (f6) obj;
|
|
return Intrinsics.areEqual(b(), f6Var.b()) && v() == f6Var.v() && Intrinsics.areEqual(this.w, f6Var.w) && Intrinsics.areEqual(this.x, f6Var.x);
|
|
}
|
|
|
|
public int hashCode() {
|
|
int hashCode = b().hashCode() * 31;
|
|
boolean v = v();
|
|
int i = v;
|
|
if (v) {
|
|
i = 1;
|
|
}
|
|
return ((((hashCode + i) * 31) + this.w.hashCode()) * 31) + this.x.hashCode();
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
public String k() {
|
|
return this.z;
|
|
}
|
|
|
|
public String toString() {
|
|
return "BannerAdUnitData(adProperties=" + b() + ", isPublisherLoad=" + v() + ", adUnitCommonData=" + this.w + ", configs=" + this.x + ')';
|
|
}
|
|
|
|
@Override // com.ironsource.s1
|
|
public boolean v() {
|
|
return this.v;
|
|
}
|
|
|
|
public final c6 x() {
|
|
return b();
|
|
}
|
|
|
|
public final boolean y() {
|
|
return v();
|
|
}
|
|
|
|
public final r1 z() {
|
|
return this.w;
|
|
}
|
|
}
|