- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
55 lines
2.4 KiB
Java
55 lines
2.4 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.gi;
|
|
import com.ironsource.oe;
|
|
import com.unity3d.mediation.LevelPlay;
|
|
import java.util.Map;
|
|
import kotlin.Result;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
@SourceDebugExtension({"SMAP\nPlacementCappingServiceConfig.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlacementCappingServiceConfig.kt\ncom/unity3d/mediation/internal/PlacementCappingServiceConfig\n+ 2 _Maps.kt\nkotlin/collections/MapsKt___MapsKt\n*L\n1#1,65:1\n215#2,2:66\n*S KotlinDebug\n*F\n+ 1 PlacementCappingServiceConfig.kt\ncom/unity3d/mediation/internal/PlacementCappingServiceConfig\n*L\n16#1:66,2\n*E\n"})
|
|
/* loaded from: classes2.dex */
|
|
public final class eo {
|
|
private final ok a;
|
|
private final Map<String, gi.d> b;
|
|
|
|
public eo(ok tools, Map<String, gi.d> interstitialPlacements) {
|
|
Intrinsics.checkNotNullParameter(tools, "tools");
|
|
Intrinsics.checkNotNullParameter(interstitialPlacements, "interstitialPlacements");
|
|
this.a = tools;
|
|
this.b = interstitialPlacements;
|
|
}
|
|
|
|
private final void a(Object obj, String str, LevelPlay.AdFormat adFormat, h8 h8Var) {
|
|
Throwable m4062exceptionOrNullimpl = Result.m4062exceptionOrNullimpl(obj);
|
|
if (m4062exceptionOrNullimpl != null) {
|
|
int a = new c8().a(h8Var);
|
|
ok okVar = this.a;
|
|
okVar.a(str, okVar.a(adFormat), a, m4062exceptionOrNullimpl.getMessage());
|
|
}
|
|
}
|
|
|
|
public final void a(oe.a cappingService) {
|
|
Intrinsics.checkNotNullParameter(cappingService, "cappingService");
|
|
LevelPlay.AdFormat adFormat = LevelPlay.AdFormat.INTERSTITIAL;
|
|
for (Map.Entry<String, gi.d> entry : this.b.entrySet()) {
|
|
String key = entry.getKey();
|
|
gi.d value = entry.getValue();
|
|
b8 a = value.a();
|
|
if (a != null) {
|
|
h8 h8Var = h8.ShowCount;
|
|
a(cappingService.a(key, adFormat, h8Var, new y7(a.a(), a.b(), a.c())), key, adFormat, h8Var);
|
|
}
|
|
tn d = value.d();
|
|
if (d != null) {
|
|
h8 h8Var2 = h8.Pacing;
|
|
a(cappingService.a(key, adFormat, h8Var2, new y7(d.a(), d.b(), g8.Second)), key, adFormat, h8Var2);
|
|
}
|
|
h8 h8Var3 = h8.Delivery;
|
|
aa b = value.b();
|
|
a(cappingService.a(key, adFormat, h8Var3, new y7(b != null ? Boolean.valueOf(b.a()) : null, null, null, 6, null)), key, adFormat, h8Var3);
|
|
}
|
|
}
|
|
}
|