package com.ironsource; import java.util.List; import java.util.Map; import kotlin.collections.CollectionsKt__CollectionsKt; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; import org.json.JSONObject; /* loaded from: classes2.dex */ public final class m6 { private final b a; private final Map b; public static final class a extends Lambda implements Function1 { public static final a a = new a(); public a() { super(1); } @Override // kotlin.jvm.functions.Function1 /* renamed from: a, reason: merged with bridge method [inline-methods] */ public final b invoke(JSONObject it) { Intrinsics.checkNotNullParameter(it, "it"); return new b(it); } } public static final class b { private final Integer a; private final Boolean b; private final Boolean c; private final float d; private final List e; public b(JSONObject features) { Intrinsics.checkNotNullParameter(features, "features"); this.a = features.has(o6.a) ? Integer.valueOf(features.optInt(o6.a)) : null; this.b = features.has(o6.b) ? Boolean.valueOf(features.optBoolean(o6.b)) : null; this.c = features.has("isLoadWhileShow") ? Boolean.valueOf(features.optBoolean("isLoadWhileShow")) : null; this.d = features.has(o6.d) ? features.optInt(o6.d) / 100.0f : 0.15f; List b = features.has(o6.e) ? hj.b(features.getJSONArray(o6.e)) : CollectionsKt__CollectionsKt.listOf((Object[]) new String[]{com.ironsource.mediationsdk.l.a, com.ironsource.mediationsdk.l.d}); Intrinsics.checkNotNullExpressionValue(b, "BANNER_CONFIGURATIONS_AD…ZE_LEADERBOARD)\n }"); this.e = b; } public final List a() { return this.e; } public final Integer b() { return this.a; } public final float c() { return this.d; } public final Boolean d() { return this.b; } public final Boolean e() { return this.c; } } public m6(JSONObject bannerConfigurations) { Intrinsics.checkNotNullParameter(bannerConfigurations, "bannerConfigurations"); this.a = new b(bannerConfigurations); this.b = new r2(bannerConfigurations).a(a.a); } public final Map a() { return this.b; } public final b b() { return this.a; } }