Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97
以下内容为反编译后的 AdConfig.java 源代码,内容仅作参考
package com.inmobi.commons.core.configs;
import android.graphics.Color;
import android.text.TextUtils;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import com.google.android.exoplayer2.upstream.cache.CacheDataSink;
import com.google.android.exoplayer2.util.MimeTypes;
import com.inmobi.ads.controllers.a;
import com.inmobi.commons.utils.json.Constructor;
import com.inmobi.media.b6;
import com.inmobi.media.d4;
import com.inmobi.media.i2;
import com.inmobi.media.s4;
import com.inmobi.media.w5;
import com.inmobi.media.y9;
import com.inmobi.media.z9;
import com.inmobi.unification.sdk.model.Initialization.TimeoutConfigurations;
import com.mbridge.msdk.foundation.entity.CampaignUnit;
import com.my.target.common.NavigationType;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt__CollectionsKt;
import kotlin.collections.MapsKt__MapsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsKt;
import org.json.JSONObject;
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0088\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010%\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\r\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u001d\b\u0007\u0018\u0000 m2\u00020\u0001:\u0014nopqrstuvwxyz{|}~\u007f\u0080\u0001B\u0011\u0012\b\u0010k\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\bl\u0010<J\u000f\u0010\u0003\u001a\u00020\u0002H\u0016¢\u0006\u0004\b\u0003\u0010\u0004J\u000f\u0010\u0006\u001a\u00020\u0005H\u0016¢\u0006\u0004\b\u0006\u0010\u0007J\u000f\u0010\t\u001a\u00020\bH\u0016¢\u0006\u0004\b\t\u0010\nJ\r\u0010\f\u001a\u00020\u000b¢\u0006\u0004\b\f\u0010\rJ\u0015\u0010\u0010\u001a\u00020\u000f2\u0006\u0010\u000e\u001a\u00020\u0002¢\u0006\u0004\b\u0010\u0010\u0011J\r\u0010\u0013\u001a\u00020\u0012¢\u0006\u0004\b\u0013\u0010\u0014J\r\u0010\u0016\u001a\u00020\u0015¢\u0006\u0004\b\u0016\u0010\u0017J\r\u0010\u0019\u001a\u00020\u0018¢\u0006\u0004\b\u0019\u0010\u001aJ\r\u0010\u001b\u001a\u00020\b¢\u0006\u0004\b\u001b\u0010\nR\u0016\u0010\u001c\u001a\u00020\u00188\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u001dR\"\u0010\u001f\u001a\u00020\u001e8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u001f\u0010 \u001a\u0004\b!\u0010\"\"\u0004\b#\u0010$R\"\u0010&\u001a\u00020%8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b&\u0010'\u001a\u0004\b(\u0010)\"\u0004\b*\u0010+R\"\u0010,\u001a\u00020\u000b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b,\u0010-\u001a\u0004\b.\u0010\r\"\u0004\b/\u00100R\"\u00102\u001a\u0002018\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b2\u00103\u001a\u0004\b4\u00105\"\u0004\b6\u00107R\"\u00108\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b8\u00109\u001a\u0004\b:\u0010\u0004\"\u0004\b;\u0010<R\"\u0010=\u001a\u00020\u000b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b=\u0010-\u001a\u0004\b>\u0010\r\"\u0004\b?\u00100R\"\u0010@\u001a\u00020\u000b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b@\u0010-\u001a\u0004\bA\u0010\r\"\u0004\bB\u00100R\"\u0010D\u001a\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u000f0C8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bD\u0010ER\"\u0010G\u001a\u00020F8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\bG\u0010H\u001a\u0004\bI\u0010J\"\u0004\bK\u0010LR\u0016\u0010M\u001a\u00020\u00158\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bM\u0010NR\"\u0010P\u001a\u00020O8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\bP\u0010Q\u001a\u0004\bR\u0010S\"\u0004\bT\u0010UR\u0016\u0010V\u001a\u00020\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bV\u0010WR\u0016\u0010X\u001a\u00020\u00128\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bX\u0010YR\u0016\u0010Z\u001a\u00020\u000b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bZ\u0010-R\u001e\u0010\\\u001a\n [*\u0004\u0018\u00010\u00020\u00028\u0002@\u0003X\u0083\u0004¢\u0006\u0006\n\u0004\b\\\u00109R\"\u0010^\u001a\u00020]8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b^\u0010_\u001a\u0004\b`\u0010a\"\u0004\bb\u0010cR\"\u0010e\u001a\u00020d8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\be\u0010f\u001a\u0004\bg\u0010h\"\u0004\bi\u0010j¨\u0006\u0081\u0001"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig;", "Lcom/inmobi/commons/core/configs/Config;", "", "getType", "()Ljava/lang/String;", "Lorg/json/JSONObject;", "toJson", "()Lorg/json/JSONObject;", "", "isValid", "()Z", "", "getMaxPoolSize", "()I", "adType", "Lcom/inmobi/commons/core/configs/AdConfig$CacheConfig;", "getCacheConfig", "(Ljava/lang/String;)Lcom/inmobi/commons/core/configs/AdConfig$CacheConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "getImaiConfig", "()Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "getMraidConfig", "()Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "getAssetCacheConfig", "()Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "isCCTEnabled", "assetCache", "Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "rendering", "Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "getRendering", "()Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "setRendering", "(Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "audio", "Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "getAudio", "()Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "setAudio", "(Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;)V", "defaultRefreshInterval", "I", "getDefaultRefreshInterval", "setDefaultRefreshInterval", "(I)V", "Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "timeouts", "Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "getTimeouts", "()Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;", "setTimeouts", "(Lcom/inmobi/unification/sdk/model/Initialization/TimeoutConfigurations;)V", "url", "Ljava/lang/String;", "getUrl", "setUrl", "(Ljava/lang/String;)V", "minimumRefreshInterval", "getMinimumRefreshInterval", "setMinimumRefreshInterval", "fetchTimeout", "getFetchTimeout", "setFetchTimeout", "", "cache", "Ljava/util/Map;", "Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "viewability", "Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "getViewability", "()Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "setViewability", "(Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;)V", "mraid", "Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "contextualData", "Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "getContextualData", "()Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "setContextualData", "(Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;)V", "cctEnabled", "Z", "imai", "Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "maxPoolSize", "kotlin.jvm.PlatformType", "TAG", "Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "adQuality", "Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "getAdQuality", "()Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "setAdQuality", "(Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;)V", "Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "vastVideo", "Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "getVastVideo", "()Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "setVastVideo", "(Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;)V", "accountId", "<init>", "Companion", "AdQualityConfig", "AssetCacheConfig", "AudioConfig", "AudioViewabilityConfig", "BannerImpressionTypeConfig", "BitRateConfig", "CacheConfig", "a", "ContextualDataConfig", "ImaiConfig", "InterstitialImpressionTypeConfig", "MraidConfig", "OmidConfig", "RenderingConfig", "SaveContent", "VastVideoConfig", "VideoViewabilityConfig", "ViewabilityConfig", "WebViewabilityConfig", "media_release"}, k = 1, mv = {1, 5, 1})
public final class AdConfig extends Config {
public static final String ALLOWED_CONTENT_TYPE = "allowedContentType";
public static final a Companion = new a();
public static final boolean DEFAULT_AD_QUALITY_KILL_SWITCH = true;
public static final int DEFAULT_AD_QUALITY_MAX_IMAGE_SIZE = 153600;
public static final int DEFAULT_AD_QUALITY_MAX_RETRIES = 3;
public static final int DEFAULT_AD_QUALITY_RESIZE_PERCENTAGE = 100;
public static final int DEFAULT_AD_QUALITY_RETRY_INTERVAL = 5000;
public static final String DEFAULT_AD_SERVER_URL = "https://ads.inmobi.com/sdk";
public static final boolean DEFAULT_CCT_ENABLED = false;
public static final int DEFAULT_CONTEXTUAL_DATA_EXPIRY_TIME = 86400;
public static final int DEFAULT_CONTEXTUAL_DATA_MAX_RECORDS = 1;
private static final List<String> DEFAULT_CONTEXTUAL_DATA_SKIP_FIELDS;
public static final int DEFAULT_FETCH_TIMEOUT = 60;
public static final int DEFAULT_MAX_POOL_SIZE = 10;
public static final int DEFAULT_MINIMUM_AUDIO_REFRESH_INTERVAL = 20;
public static final int DEFAULT_MINIMUM_REFRESH_INTERVAL = 20;
public static final int DEFAULT_MIN_VOLUME_AUDIO_REQUEST = 30;
public static final short DEFAULT_NETWORK_LOAD_LIMIT = 50;
public static final int DEFAULT_REFRESH_INTERVAL = 60;
public static final int DEFAULT_TOUCH_RESET_TIME = 4;
public static final String GESTURE_LIST = "gestures";
public static final int MIN_IMPRESSION_POLL_INTERVAL_MILLIS = 50;
public static final int MIN_VISIBILITY_THROTTLE_INTERVAL_MILLIS = 50;
public static final byte NETWORK_LOAD_LIMIT_DISABLED = -1;
public static final String RENDER_TIMEOUT_MAP = "renderTimeoutMap";
public static final String SKIP_FIELDS = "skipFields";
@s4
private final String TAG;
private AdQualityConfig adQuality;
private AssetCacheConfig assetCache;
private AudioConfig audio;
private Map<String, CacheConfig> cache;
private boolean cctEnabled;
private ContextualDataConfig contextualData;
private int defaultRefreshInterval;
private int fetchTimeout;
private ImaiConfig imai;
private int maxPoolSize;
private int minimumRefreshInterval;
private MraidConfig mraid;
private RenderingConfig rendering;
private TimeoutConfigurations timeouts;
private String url;
private VastVideoConfig vastVideo;
private ViewabilityConfig viewability;
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0014\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u001b\u0010\u001cJ\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\u0017\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u0002H\u0007¢\u0006\u0004\b\u0007\u0010\bJ\u0017\u0010\u000b\u001a\u00020\u00062\u0006\u0010\n\u001a\u00020\tH\u0007¢\u0006\u0004\b\u000b\u0010\fR\u001c\u0010\r\u001a\u00020\t8\u0006@\u0006X\u0086D¢\u0006\f\n\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R$\u0010\u0012\u001a\u00020\t2\u0006\u0010\u0011\u001a\u00020\t8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0012\u0010\u000e\u001a\u0004\b\u0013\u0010\u0010R$\u0010\u0014\u001a\u00020\t2\u0006\u0010\u0011\u001a\u00020\t8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0014\u0010\u000e\u001a\u0004\b\u0015\u0010\u0010R$\u0010\u0016\u001a\u00020\t2\u0006\u0010\u0011\u001a\u00020\t8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0016\u0010\u000e\u001a\u0004\b\u0017\u0010\u0010R$\u0010\u0018\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u00028\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0018\u0010\u0019\u001a\u0004\b\u001a\u0010\u0004¨\u0006\u001d"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AdQualityConfig;", "", "", "isValid", "()Z", "enable", "", "setEnableAdQuality", "(Z)V", "", "size", "setMaxImageSize", "(I)V", "resizedPercentage", "I", "getResizedPercentage", "()I", "<set-?>", "maxRetries", "getMaxRetries", "retryInterval", "getRetryInterval", "maxImageSize", "getMaxImageSize", "enabled", "Z", "getEnabled", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AdQualityConfig {
private boolean enabled = true;
private int maxRetries = 3;
private int retryInterval = 5000;
private int maxImageSize = AdConfig.DEFAULT_AD_QUALITY_MAX_IMAGE_SIZE;
private final int resizedPercentage = 100;
public final boolean getEnabled() {
return this.enabled;
}
public final int getMaxImageSize() {
return this.maxImageSize;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getResizedPercentage() {
return this.resizedPercentage;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final boolean isValid() {
return this.maxRetries >= 0 && this.retryInterval >= 0 && this.maxImageSize >= 1 && this.resizedPercentage <= 100;
}
@VisibleForTesting(otherwise = 2)
public final void setEnableAdQuality(boolean z) {
this.enabled = z;
}
@VisibleForTesting(otherwise = 2)
public final void setMaxImageSize(int i) {
this.maxImageSize = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0015\u0010\u0016J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0005\u001a\u00020\u0002¢\u0006\u0004\b\u0005\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0002¢\u0006\u0004\b\u0006\u0010\u0004J\r\u0010\b\u001a\u00020\u0007¢\u0006\u0004\b\b\u0010\tJ\r\u0010\n\u001a\u00020\u0007¢\u0006\u0004\b\n\u0010\tJ\r\u0010\f\u001a\u00020\u000b¢\u0006\u0004\b\f\u0010\rR\u0016\u0010\u000e\u001a\u00020\u00078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000e\u0010\u000fR\u0016\u0010\u0010\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0016\u0010\u0012\u001a\u00020\u00078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u000fR\u0016\u0010\u0013\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0011R\u0016\u0010\u0014\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0014\u0010\u0011¨\u0006\u0017"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AssetCacheConfig;", "", "", "getMaxRetries", "()I", "getRetryInterval", "getMaxCachedAssets", "", "getTimeToLive", "()J", "getMaxCacheSize", "", "isValid", "()Z", "timeToLive", "J", "retryInterval", "I", "maxCacheSize", "maxCachedAssets", "maxRetries", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AssetCacheConfig {
private int maxRetries = 3;
private int retryInterval = 1;
private int maxCachedAssets = 10;
private long maxCacheSize = 104857600;
private long timeToLive = CrashConfig.DEFAULT_EVENT_TTL_SEC;
public final long getMaxCacheSize() {
return this.maxCacheSize;
}
public final int getMaxCachedAssets() {
return this.maxCachedAssets;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final long getTimeToLive() {
return this.timeToLive;
}
public final boolean isValid() {
return getRetryInterval() >= 0 && getMaxCachedAssets() <= 20 && getMaxCachedAssets() >= 0 && getTimeToLive() >= 0 && getMaxCacheSize() >= 0 && getMaxRetries() >= 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0014\u0010\u0015J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004R*\u0010\u0006\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00028\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u0006\u0010\u0007\u001a\u0004\b\u0006\u0010\u0004\"\u0004\b\b\u0010\tR*\u0010\u000b\u001a\u00020\n2\u0006\u0010\u0005\u001a\u00020\n8\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u000b\u0010\f\u001a\u0004\b\r\u0010\u000e\"\u0004\b\u000f\u0010\u0010R*\u0010\u0011\u001a\u00020\n2\u0006\u0010\u0005\u001a\u00020\n8\u0006@GX\u0086\u000e¢\u0006\u0012\n\u0004\b\u0011\u0010\f\u001a\u0004\b\u0012\u0010\u000e\"\u0004\b\u0013\u0010\u0010¨\u0006\u0016"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AudioConfig;", "", "", "isValid", "()Z", "<set-?>", "isAudioEnabled", "Z", "setAudioEnabled", "(Z)V", "", "minDeviceVolume", "I", "getMinDeviceVolume", "()I", "setMinDeviceVolume", "(I)V", "minRefreshInterval", "getMinRefreshInterval", "setMinRefreshInterval", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AudioConfig {
private boolean isAudioEnabled = true;
private int minDeviceVolume = 30;
private int minRefreshInterval = 20;
public final int getMinDeviceVolume() {
return this.minDeviceVolume;
}
public final int getMinRefreshInterval() {
return this.minRefreshInterval;
}
public final boolean isAudioEnabled() {
return this.isAudioEnabled;
}
public final boolean isValid() {
return this.minDeviceVolume > 0 && this.minRefreshInterval > 0;
}
@VisibleForTesting(otherwise = 2)
public final void setAudioEnabled(boolean z) {
this.isAudioEnabled = z;
}
@VisibleForTesting(otherwise = 2)
public final void setMinDeviceVolume(int i) {
this.minDeviceVolume = i;
}
@VisibleForTesting(otherwise = 2)
public final void setMinRefreshInterval(int i) {
this.minRefreshInterval = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0013\u0010\u0014R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\n\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\"\u0010\u0010\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0010\u0010\u000b\u001a\u0004\b\u0011\u0010\r\"\u0004\b\u0012\u0010\u000f¨\u0006\u0015"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "", "impressionMinTimeViewed", "I", "getImpressionMinTimeViewed", "()I", "setImpressionMinTimeViewed", "(I)V", "impressionMinPercentageViewed", "getImpressionMinPercentageViewed", "setImpressionMinPercentageViewed", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class AudioViewabilityConfig {
private byte impressionType = 1;
private int impressionMinPercentageViewed = 90;
private int impressionMinTimeViewed = 2000;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setImpressionType(byte b2) {
this.impressionType = b2;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\t\u0010\nR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class BannerImpressionTypeConfig {
private byte impressionType;
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionType(byte b2) {
this.impressionType = b2;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\f\u0010\rJ\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007R\u0016\u0010\b\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\b\u0010\tR\u0016\u0010\n\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\n\u0010\u000b¨\u0006\u000e"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "", "", "isBitRateMandatory", "()Z", "", "getHeaderTimeout", "()I", "bitrate_mandatory", "Z", "headerTimeout", "I", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class BitRateConfig {
private boolean bitrate_mandatory;
private int headerTimeout = 2000;
public final int getHeaderTimeout() {
return this.headerTimeout;
}
public final boolean isBitRateMandatory() {
return this.bitrate_mandatory;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\f\u0010\rJ\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004R\"\u0010\u0006\u001a\u00020\u00058\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0006\u0010\u0007\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000b¨\u0006\u000e"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$CacheConfig;", "", "", "isValid", "()Z", "", "timeToLive", "J", "getTimeToLive", "()J", "setTimeToLive", "(J)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class CacheConfig {
private long timeToLive = 3300;
public final long getTimeToLive() {
return this.timeToLive;
}
public final boolean isValid() {
return this.timeToLive >= 0;
}
public final void setTimeToLive(long j) {
this.timeToLive = j;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0013\u0010\u0014J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004R0\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00060\u00052\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\u00058\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\b\u0010\t\u001a\u0004\b\n\u0010\u000bR$\u0010\r\u001a\u00020\f2\u0006\u0010\u0007\u001a\u00020\f8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\r\u0010\u000e\u001a\u0004\b\u000f\u0010\u0010R$\u0010\u0011\u001a\u00020\f2\u0006\u0010\u0007\u001a\u00020\f8\u0006@BX\u0086\u000e¢\u0006\f\n\u0004\b\u0011\u0010\u000e\u001a\u0004\b\u0012\u0010\u0010¨\u0006\u0015"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ContextualDataConfig;", "", "", "isValid", "()Z", "", "", "<set-?>", AdConfig.SKIP_FIELDS, "Ljava/util/List;", "getSkipFields", "()Ljava/util/List;", "", "expiryTime", "I", "getExpiryTime", "()I", "maxAdRecords", "getMaxAdRecords", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ContextualDataConfig {
private int maxAdRecords = 1;
private List<String> skipFields = AdConfig.Companion.b();
private int expiryTime = 86400;
public final int getExpiryTime() {
return this.expiryTime;
}
public final int getMaxAdRecords() {
return this.maxAdRecords;
}
public final List<String> getSkipFields() {
return this.skipFields;
}
public final boolean isValid() {
return this.maxAdRecords >= 0 && this.expiryTime >= 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\r\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0017\u0010\u0018J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0005\u001a\u00020\u0002¢\u0006\u0004\b\u0005\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0002¢\u0006\u0004\b\u0006\u0010\u0004J\r\u0010\u0007\u001a\u00020\u0002¢\u0006\u0004\b\u0007\u0010\u0004J\r\u0010\b\u001a\u00020\u0002¢\u0006\u0004\b\b\u0010\u0004J\r\u0010\n\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000bJ\r\u0010\r\u001a\u00020\f¢\u0006\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u0016\u0010\u0011\u001a\u00020\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0013\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0010R\u0016\u0010\u0014\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0014\u0010\u0010R\u0016\u0010\u0015\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0010R\u0016\u0010\u0016\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0016\u0010\u0010¨\u0006\u0019"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ImaiConfig;", "", "", "getMaxRetries", "()I", "getPingInterval", "getPingTimeout", "getMaxDbEvents", "getMaxEventBatch", "", "getPingCacheExpiry", "()J", "", "isValid", "()Z", "maxRetries", "I", "pingCacheExpiry", "J", "pingInterval", "maxEventBatch", "pingTimeout", "maxDbEvents", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ImaiConfig {
private int maxRetries = 3;
private int pingInterval = 60;
private int pingTimeout = 120;
private int maxDbEvents = 500;
private int maxEventBatch = 10;
private long pingCacheExpiry = 10800;
public final int getMaxDbEvents() {
return this.maxDbEvents;
}
public final int getMaxEventBatch() {
return this.maxEventBatch;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final long getPingCacheExpiry() {
return this.pingCacheExpiry;
}
public final int getPingInterval() {
return this.pingInterval;
}
public final int getPingTimeout() {
return this.pingTimeout;
}
public final boolean isValid() {
return getMaxDbEvents() >= 0 && getMaxEventBatch() >= 0 && getMaxRetries() >= 0 && getPingInterval() >= 0 && getPingTimeout() > 0 && getPingCacheExpiry() > 0;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u0005\n\u0002\b\t\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\t\u0010\nR\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "", "", "impressionType", "B", "getImpressionType", "()B", "setImpressionType", "(B)V", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class InterstitialImpressionTypeConfig {
private byte impressionType = 1;
public final byte getImpressionType() {
return this.impressionType;
}
public final void setImpressionType(byte b2) {
this.impressionType = b2;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0016\u0010\u0017J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\r\u0010\b\u001a\u00020\u0005¢\u0006\u0004\b\b\u0010\u0007J\u000f\u0010\n\u001a\u0004\u0018\u00010\t¢\u0006\u0004\b\n\u0010\u000bJ\r\u0010\r\u001a\u00020\f¢\u0006\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u0016\u0010\u0011\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0011\u0010\u0012R\u0018\u0010\u0013\u001a\u0004\u0018\u00010\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u0016\u0010\u0015\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0010¨\u0006\u0018"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$MraidConfig;", "", "", "getExpiry", "()J", "", "getMaxRetries", "()I", "getRetryInterval", "", "getUrl", "()Ljava/lang/String;", "", "isValid", "()Z", "maxRetries", "I", "expiry", "J", "url", "Ljava/lang/String;", "retryInterval", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class MraidConfig {
private long expiry = 432000;
private int maxRetries = 3;
private int retryInterval = 60;
private String url = "https://i.l.inmobicdn.net/sdk/sdk/1057/android/mraid.js";
public final long getExpiry() {
return this.expiry;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final String getUrl() {
return this.url;
}
public final boolean isValid() {
return getExpiry() >= 0 && getRetryInterval() >= 0 && getMaxRetries() >= 0 && !d4.a(this.url);
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0015\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b \u0010!J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\r\u0010\t\u001a\u00020\b¢\u0006\u0004\b\t\u0010\nJ\r\u0010\u000b\u001a\u00020\b¢\u0006\u0004\b\u000b\u0010\nJ\u000f\u0010\f\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b\f\u0010\u0004J\r\u0010\u000e\u001a\u00020\r¢\u0006\u0004\b\u000e\u0010\u000fJ\r\u0010\u0010\u001a\u00020\u0005¢\u0006\u0004\b\u0010\u0010\u0007J\r\u0010\u0011\u001a\u00020\r¢\u0006\u0004\b\u0011\u0010\u000fR\u0016\u0010\u0012\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u0013R\u0016\u0010\u0014\u001a\u00020\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0014\u0010\u0015R\u0016\u0010\u0016\u001a\u00020\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0016\u0010\u0015R\"\u0010\u0017\u001a\u00020\r8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0017\u0010\u0018\u001a\u0004\b\u0019\u0010\u000f\"\u0004\b\u001a\u0010\u001bR\u0018\u0010\u001c\u001a\u0004\u0018\u00010\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u001dR\u0016\u0010\u001e\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001e\u0010\u001dR\u0016\u0010\u001f\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001f\u0010\u0013¨\u0006\""}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "", "", "getPartnerKey", "()Ljava/lang/String;", "", "getExpiry", "()J", "", "getMaxRetries", "()I", "getRetryInterval", "getUrl", "", "isOmidEnabled", "()Z", "getWebViewRetainTime", "isValid", "expiry", "J", "maxRetries", "I", "retryInterval", "omidEnabled", "Z", "getOmidEnabled", "setOmidEnabled", "(Z)V", "url", "Ljava/lang/String;", "partnerKey", "webViewRetainTime", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class OmidConfig {
private long expiry = 432000;
private int maxRetries = 3;
private int retryInterval = 60;
private String partnerKey = "Inmobi";
private String url = "https://i.l.inmobicdn.net/sdk/sdk/OMID/omsdk-v1.3.17.js";
private boolean omidEnabled = true;
private long webViewRetainTime = 1000;
public final long getExpiry() {
return this.expiry;
}
public final int getMaxRetries() {
return this.maxRetries;
}
public final boolean getOmidEnabled() {
return this.omidEnabled;
}
public final String getPartnerKey() {
return this.partnerKey;
}
public final int getRetryInterval() {
return this.retryInterval;
}
public final String getUrl() {
return this.url;
}
public final long getWebViewRetainTime() {
return this.webViewRetainTime;
}
public final boolean isOmidEnabled() {
return this.omidEnabled;
}
public final boolean isValid() {
boolean z;
CharSequence trim;
if (getMaxRetries() < 0 || getRetryInterval() < 0) {
return false;
}
String url = getUrl();
if (url != null) {
trim = StringsKt__StringsKt.trim((CharSequence) url);
String obj = trim.toString();
if (obj != null && i2.a(obj)) {
z = true;
return z && !TextUtils.isEmpty(getPartnerKey());
}
}
z = false;
if (z) {
return false;
}
}
public final void setOmidEnabled(boolean z) {
this.omidEnabled = z;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010 \n\u0002\b\u000f\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0010!\n\u0002\b\u0007\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b<\u0010=J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0005\u001a\u00020\u0002¢\u0006\u0004\b\u0005\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0002¢\u0006\u0004\b\u0006\u0010\u0004J\r\u0010\u0007\u001a\u00020\u0002¢\u0006\u0004\b\u0007\u0010\u0004J\r\u0010\b\u001a\u00020\u0002¢\u0006\u0004\b\b\u0010\u0004J\r\u0010\n\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000bJ\r\u0010\r\u001a\u00020\f¢\u0006\u0004\b\r\u0010\u000eJ\r\u0010\u000f\u001a\u00020\u0002¢\u0006\u0004\b\u000f\u0010\u0004J\r\u0010\u0010\u001a\u00020\u0002¢\u0006\u0004\b\u0010\u0010\u0004J\r\u0010\u0012\u001a\u00020\u0011¢\u0006\u0004\b\u0012\u0010\u0013J\r\u0010\u0014\u001a\u00020\f¢\u0006\u0004\b\u0014\u0010\u000eJ\r\u0010\u0015\u001a\u00020\t¢\u0006\u0004\b\u0015\u0010\u000bJ\r\u0010\u0016\u001a\u00020\f¢\u0006\u0004\b\u0016\u0010\u000eJ\r\u0010\u0017\u001a\u00020\u0002¢\u0006\u0004\b\u0017\u0010\u0004J\r\u0010\u0018\u001a\u00020\u0002¢\u0006\u0004\b\u0018\u0010\u0004J\r\u0010\u0019\u001a\u00020\u0002¢\u0006\u0004\b\u0019\u0010\u0004J\u0013\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u00020\u001a¢\u0006\u0004\b\u001b\u0010\u001cJ\r\u0010\u001d\u001a\u00020\t¢\u0006\u0004\b\u001d\u0010\u000bR\u0016\u0010\u001e\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001e\u0010\u001fR\u0016\u0010 \u001a\u00020\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b \u0010!R\u0016\u0010\"\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\"\u0010\u001fR\u0016\u0010#\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b#\u0010\u001fR\u0016\u0010$\u001a\u00020\u00118\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b$\u0010%R\u0016\u0010&\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b&\u0010\u001fR\u0016\u0010'\u001a\u00020\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b'\u0010(R\u0016\u0010\u0015\u001a\u00020\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010!R\u0016\u0010)\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b)\u0010\u001fR$\u0010+\u001a\u0004\u0018\u00010*8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b+\u0010,\u001a\u0004\b-\u0010.\"\u0004\b/\u00100R\u0016\u00101\u001a\u00020\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b1\u0010(R\u0016\u00102\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b2\u0010\u001fR\"\u00103\u001a\u00020\t8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b3\u0010!\u001a\u0004\b4\u0010\u000b\"\u0004\b5\u00106R\u001c\u00108\u001a\b\u0012\u0004\u0012\u00020\u0002078\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b8\u00109R\u0016\u0010:\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b:\u0010\u001fR\u0016\u0010;\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b;\u0010\u001f¨\u0006>"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$RenderingConfig;", "", "", "getPicWidth", "()I", "getPicHeight", "getPicQuality", "parseColor", "getWebviewBackgroundColor", "", "getAutoRedirectionEnforcement", "()Z", "", "getUserTouchResetTime", "()J", "getMaxVibrationDuration", "getMaxVibrationPatternLength", "Lcom/inmobi/commons/core/configs/AdConfig$SaveContent;", "getSaveContent", "()Lcom/inmobi/commons/core/configs/AdConfig$SaveContent;", "getSaveContentMaxSize", "shouldRenderPopup", "getDelayedRedirection", "getBannerNetworkLoadsLimit", "getAudioNetworkLoadsLimit", "getOtherNetworkLoadsLimit", "", "getSupportedGestures", "()Ljava/util/List;", "isValid", "bannerNetworkLoadsLimit", "I", "autoRedirectionEnforcement", "Z", "picHeight", "picQuality", "savecontent", "Lcom/inmobi/commons/core/configs/AdConfig$SaveContent;", "maxVibrationPatternLength", "delayedRedirection", "J", "maxVibrationDuration", "", "webviewBackground", "Ljava/lang/String;", "getWebviewBackground", "()Ljava/lang/String;", "setWebviewBackground", "(Ljava/lang/String;)V", "userTouchResetTime", "otherNetworkLoadsLimit", "enablePubMuteControl", "getEnablePubMuteControl", "setEnablePubMuteControl", "(Z)V", "", AdConfig.GESTURE_LIST, "Ljava/util/List;", "picWidth", "audioNetworkLoadsLimit", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class RenderingConfig {
private boolean enablePubMuteControl;
private List<Integer> gestures;
private boolean shouldRenderPopup;
private int picWidth = 320;
private int picHeight = 480;
private int picQuality = 100;
private String webviewBackground = "#00000000";
private boolean autoRedirectionEnforcement = true;
private long userTouchResetTime = 4;
private int maxVibrationDuration = 5;
private int maxVibrationPatternLength = 20;
private long delayedRedirection = 5;
private SaveContent savecontent = new SaveContent();
private int bannerNetworkLoadsLimit = 50;
private int audioNetworkLoadsLimit = 50;
private int otherNetworkLoadsLimit = -1;
public RenderingConfig() {
List<Integer> mutableListOf;
mutableListOf = CollectionsKt__CollectionsKt.mutableListOf(0, 1, 2, 3, 4, 5);
this.gestures = mutableListOf;
}
public final int getAudioNetworkLoadsLimit() {
return this.audioNetworkLoadsLimit;
}
public final boolean getAutoRedirectionEnforcement() {
return this.autoRedirectionEnforcement;
}
public final int getBannerNetworkLoadsLimit() {
return this.bannerNetworkLoadsLimit;
}
public final long getDelayedRedirection() {
return this.delayedRedirection;
}
public final boolean getEnablePubMuteControl() {
return this.enablePubMuteControl;
}
public final int getMaxVibrationDuration() {
return this.maxVibrationDuration;
}
public final int getMaxVibrationPatternLength() {
return this.maxVibrationPatternLength;
}
public final int getOtherNetworkLoadsLimit() {
return this.otherNetworkLoadsLimit;
}
public final int getPicHeight() {
return this.picHeight;
}
public final int getPicQuality() {
return this.picQuality;
}
public final int getPicWidth() {
return this.picWidth;
}
public final SaveContent getSaveContent() {
return this.savecontent;
}
public final long getSaveContentMaxSize() {
return this.savecontent.getMaxSaveSize();
}
public final List<Integer> getSupportedGestures() {
return this.gestures;
}
public final long getUserTouchResetTime() {
return this.userTouchResetTime * 1000;
}
public final String getWebviewBackground() {
return this.webviewBackground;
}
public final int getWebviewBackgroundColor() {
try {
return parseColor();
} catch (IllegalArgumentException unused) {
a.b bVar = com.inmobi.ads.controllers.a.f3258J;
com.inmobi.ads.controllers.a.l();
return Color.parseColor("#00000000");
}
}
public final boolean isValid() {
String str;
CharSequence trim;
if (getPicHeight() >= 0 && getPicWidth() >= 0 && getPicQuality() >= 0 && getMaxVibrationDuration() >= 0 && getMaxVibrationPatternLength() >= 0 && getSaveContentMaxSize() >= 0 && (str = this.webviewBackground) != null) {
trim = StringsKt__StringsKt.trim((CharSequence) str);
String obj = trim.toString();
if (!(obj != null && obj.length() == 0) && getDelayedRedirection() > 0 && getUserTouchResetTime() >= 0 && !getSupportedGestures().isEmpty()) {
try {
parseColor();
return true;
} catch (IllegalArgumentException unused) {
a.b bVar = com.inmobi.ads.controllers.a.f3258J;
com.inmobi.ads.controllers.a.l();
}
}
}
return false;
}
public final int parseColor() throws IllegalArgumentException {
return Color.parseColor(this.webviewBackground);
}
public final void setEnablePubMuteControl(boolean z) {
this.enablePubMuteControl = z;
}
public final void setWebviewBackground(String str) {
this.webviewBackground = str;
}
public final boolean shouldRenderPopup() {
return this.shouldRenderPopup;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010!\n\u0002\b\u0007\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000e\u0010\u000fJ\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\u0013\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0004\b\u0007\u0010\bR\u001c\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u00060\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\n\u0010\u000bR\u0016\u0010\f\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\f\u0010\r¨\u0006\u0010"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$SaveContent;", "", "", "getMaxSaveSize", "()J", "", "", "getAllowedContentType", "()Ljava/util/List;", "", AdConfig.ALLOWED_CONTENT_TYPE, "Ljava/util/List;", "maxSaveSize", "J", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class SaveContent {
private List<String> allowedContentType;
private long maxSaveSize = CacheDataSink.DEFAULT_FRAGMENT_SIZE;
public SaveContent() {
List<String> mutableListOf;
mutableListOf = CollectionsKt__CollectionsKt.mutableListOf("video/mp4");
this.allowedContentType = mutableListOf;
}
public final List<String> getAllowedContentType() {
return this.allowedContentType;
}
public final long getMaxSaveSize() {
return this.maxSaveSize;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u000e\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u001c\u0010\u001dJ\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0005¢\u0006\u0004\b\u0006\u0010\u0007J\r\u0010\b\u001a\u00020\u0005¢\u0006\u0004\b\b\u0010\u0007J\u0013\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\n0\t¢\u0006\u0004\b\u000b\u0010\fJ\r\u0010\u000e\u001a\u00020\r¢\u0006\u0004\b\u000e\u0010\u000fJ\r\u0010\u0011\u001a\u00020\u0010¢\u0006\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0013\u001a\u00020\r8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u0016\u0010\u0015\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0015\u0010\u0016R\u0016\u0010\u0017\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R\u001c\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\n0\t8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0019\u0010\u001aR\u0016\u0010\u001b\u001a\u00020\u00058\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001b\u0010\u0018¨\u0006\u001e"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$VastVideoConfig;", "", "", "getMaxWrapperLimit", "()I", "", "getOptimalVastVideoSize", "()J", "getVastMaxAssetSize", "", "", "getAllowedContentType", "()Ljava/util/List;", "Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "getBitRate", "()Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "", "isValid", "()Z", "bitRate", "Lcom/inmobi/commons/core/configs/AdConfig$BitRateConfig;", "maxWrapperLimit", "I", "optimalVastVideoSize", "J", AdConfig.ALLOWED_CONTENT_TYPE, "Ljava/util/List;", "vastMaxAssetSize", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class VastVideoConfig {
private List<String> allowedContentType;
private int maxWrapperLimit = 3;
private long optimalVastVideoSize = 3145728;
private long vastMaxAssetSize = 31457280;
private BitRateConfig bitRate = new BitRateConfig();
public VastVideoConfig() {
List<String> mutableListOf;
mutableListOf = CollectionsKt__CollectionsKt.mutableListOf("video/mp4", MimeTypes.IMAGE_JPEG, "image/jpg", "image/gif", "image/png");
this.allowedContentType = mutableListOf;
}
public final List<String> getAllowedContentType() {
return this.allowedContentType;
}
public final BitRateConfig getBitRate() {
return this.bitRate;
}
public final int getMaxWrapperLimit() {
return this.maxWrapperLimit;
}
public final long getOptimalVastVideoSize() {
return this.optimalVastVideoSize;
}
public final long getVastMaxAssetSize() {
return this.vastMaxAssetSize;
}
public final boolean isValid() {
return getOptimalVastVideoSize() <= 31457280 && getOptimalVastVideoSize() > 0 && getMaxWrapperLimit() >= 0 && getVastMaxAssetSize() > 0 && getVastMaxAssetSize() <= 31457280;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u000f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000f\u0010\u0010R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\t\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\u0004\u001a\u0004\b\n\u0010\u0006\"\u0004\b\u000b\u0010\bR\"\u0010\f\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010\u0004\u001a\u0004\b\r\u0010\u0006\"\u0004\b\u000e\u0010\b¨\u0006\u0011"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "", "", "impressionMinTimeViewed", "I", "getImpressionMinTimeViewed", "()I", "setImpressionMinTimeViewed", "(I)V", "impressionMinPercentageViewed", "getImpressionMinPercentageViewed", "setImpressionMinPercentageViewed", "videoMinPercentagePlay", "getVideoMinPercentagePlay", "setVideoMinPercentagePlay", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class VideoViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 2000;
private int videoMinPercentagePlay = 50;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getVideoMinPercentagePlay() {
return this.videoMinPercentagePlay;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setVideoMinPercentagePlay(int i) {
this.videoMinPercentagePlay = i;
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0002\b\n\n\u0002\u0010\u0005\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b9\u0010:J\r\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0003\u0010\u0004J\r\u0010\u0005\u001a\u00020\u0002¢\u0006\u0004\b\u0005\u0010\u0004J\r\u0010\u0006\u001a\u00020\u0002¢\u0006\u0004\b\u0006\u0010\u0004J\r\u0010\u0007\u001a\u00020\u0002¢\u0006\u0004\b\u0007\u0010\u0004J\r\u0010\b\u001a\u00020\u0002¢\u0006\u0004\b\b\u0010\u0004J\u0015\u0010\u000b\u001a\u00020\n2\u0006\u0010\t\u001a\u00020\u0002¢\u0006\u0004\b\u000b\u0010\fJ\r\u0010\r\u001a\u00020\u0002¢\u0006\u0004\b\r\u0010\u0004J\r\u0010\u000e\u001a\u00020\u0002¢\u0006\u0004\b\u000e\u0010\u0004J\r\u0010\u000f\u001a\u00020\u0002¢\u0006\u0004\b\u000f\u0010\u0004J\r\u0010\u0010\u001a\u00020\u0002¢\u0006\u0004\b\u0010\u0010\u0004J\r\u0010\u0011\u001a\u00020\u0002¢\u0006\u0004\b\u0011\u0010\u0004J\r\u0010\u0012\u001a\u00020\u0002¢\u0006\u0004\b\u0012\u0010\u0004J\r\u0010\u0013\u001a\u00020\u0002¢\u0006\u0004\b\u0013\u0010\u0004J\r\u0010\u0014\u001a\u00020\u0002¢\u0006\u0004\b\u0014\u0010\u0004J\r\u0010\u0016\u001a\u00020\u0015¢\u0006\u0004\b\u0016\u0010\u0017J\r\u0010\u0018\u001a\u00020\u0015¢\u0006\u0004\b\u0018\u0010\u0017J\r\u0010\u0019\u001a\u00020\u0015¢\u0006\u0004\b\u0019\u0010\u0017J\r\u0010\u001b\u001a\u00020\u001a¢\u0006\u0004\b\u001b\u0010\u001cR\u0016\u0010\u001e\u001a\u00020\u001d8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001e\u0010\u001fR\u0016\u0010 \u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b \u0010!R\u0016\u0010#\u001a\u00020\"8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b#\u0010$R\"\u0010&\u001a\u00020%8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b&\u0010'\u001a\u0004\b(\u0010)\"\u0004\b*\u0010+R\u0016\u0010,\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b,\u0010!R\u0016\u0010.\u001a\u00020-8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b.\u0010/R\u0016\u00101\u001a\u0002008\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b1\u00102R\u0016\u00104\u001a\u0002038\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b4\u00105R\u0016\u00106\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b6\u0010!R\u0016\u00107\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b7\u0010!R\u0016\u00108\u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b8\u0010!¨\u0006;"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$ViewabilityConfig;", "", "", "getImpressionMinPercentageViewed", "()I", "getImpressionMinTimeViewed", "getDisplayMinPercentageAnimate", "getVideoImpressionMinPercentageViewed", "getVideoImpressionMinTimeViewed", "videoImpressionMinTimeViewed", "", "setVideoImpressionMinTimeViewed", "(I)V", "getVideoMinPercentagePlay", "getVisibilityThrottleMillis", "getImpressionPollIntervalMillis", "getWebImpressionMinPercentageViewed", "getWebImpressionMinTimeViewed", "getWebVisibilityThrottleMillis", "getAudioImpressionMinPercentageViewed", "getAudioImpressionMinTimeViewed", "", "getBannerImpressionType", "()B", "getAudioImpressionType", "getInterstitialImpressionType", "", "isValid", "()Z", "Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", NavigationType.WEB, "Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", "visibilityThrottleMillis", "I", "Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "audio", "Lcom/inmobi/commons/core/configs/AdConfig$AudioViewabilityConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "omidConfig", "Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "getOmidConfig", "()Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;", "setOmidConfig", "(Lcom/inmobi/commons/core/configs/AdConfig$OmidConfig;)V", "displayMinPercentageAnimate", "Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "banner", "Lcom/inmobi/commons/core/configs/AdConfig$BannerImpressionTypeConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "int", "Lcom/inmobi/commons/core/configs/AdConfig$InterstitialImpressionTypeConfig;", "Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "video", "Lcom/inmobi/commons/core/configs/AdConfig$VideoViewabilityConfig;", "impressionPollIntervalMillis", "impressionMinPercentageViewed", "impressionMinTimeViewed", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class ViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 1000;
private int visibilityThrottleMillis = 100;
private int impressionPollIntervalMillis = 250;
private int displayMinPercentageAnimate = 67;
private VideoViewabilityConfig video = new VideoViewabilityConfig();
private AudioViewabilityConfig audio = new AudioViewabilityConfig();
private WebViewabilityConfig web = new WebViewabilityConfig();
private OmidConfig omidConfig = new OmidConfig();
private BannerImpressionTypeConfig banner = new BannerImpressionTypeConfig();
private InterstitialImpressionTypeConfig f1int = new InterstitialImpressionTypeConfig();
public final int getAudioImpressionMinPercentageViewed() {
return this.audio.getImpressionMinPercentageViewed();
}
public final int getAudioImpressionMinTimeViewed() {
return this.audio.getImpressionMinTimeViewed();
}
public final byte getAudioImpressionType() {
return this.audio.getImpressionType();
}
public final byte getBannerImpressionType() {
return this.banner.getImpressionType();
}
public final int getDisplayMinPercentageAnimate() {
return this.displayMinPercentageAnimate;
}
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getImpressionPollIntervalMillis() {
return this.impressionPollIntervalMillis;
}
public final byte getInterstitialImpressionType() {
return this.f1int.getImpressionType();
}
public final OmidConfig getOmidConfig() {
return this.omidConfig;
}
public final int getVideoImpressionMinPercentageViewed() {
return this.video.getImpressionMinPercentageViewed();
}
public final int getVideoImpressionMinTimeViewed() {
return this.video.getImpressionMinTimeViewed();
}
public final int getVideoMinPercentagePlay() {
return this.video.getVideoMinPercentagePlay();
}
public final int getVisibilityThrottleMillis() {
return this.visibilityThrottleMillis;
}
public final int getWebImpressionMinPercentageViewed() {
return this.web.getImpressionMinPercentageViewed();
}
public final int getWebImpressionMinTimeViewed() {
return this.web.getImpressionMinTimeViewed();
}
public final int getWebVisibilityThrottleMillis() {
return this.web.getImpressionPollIntervalMillis();
}
public final boolean isValid() {
return getImpressionMinPercentageViewed() > 0 && getImpressionMinPercentageViewed() <= 100 && getImpressionMinTimeViewed() >= 0 && getDisplayMinPercentageAnimate() > 0 && getDisplayMinPercentageAnimate() <= 100 && getVideoImpressionMinPercentageViewed() > 0 && getVideoImpressionMinPercentageViewed() <= 100 && getWebImpressionMinPercentageViewed() > 0 && getWebImpressionMinPercentageViewed() <= 100 && getWebVisibilityThrottleMillis() > 0 && getWebImpressionMinTimeViewed() >= 0 && getVideoImpressionMinTimeViewed() >= 0 && getVideoMinPercentagePlay() > 0 && getVideoMinPercentagePlay() <= 100 && getVisibilityThrottleMillis() >= 50 && getVisibilityThrottleMillis() * 5 <= getImpressionMinTimeViewed() && getImpressionPollIntervalMillis() >= 50 && getImpressionPollIntervalMillis() * 4 <= getImpressionMinTimeViewed() && this.omidConfig.isValid();
}
public final void setOmidConfig(OmidConfig omidConfig) {
Intrinsics.checkNotNullParameter(omidConfig, "<set-?>");
this.omidConfig = omidConfig;
}
public final void setVideoImpressionMinTimeViewed(int i) {
this.video.setImpressionMinTimeViewed(i);
}
}
@Keep
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u000f\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u000f\u0010\u0010R\"\u0010\u0003\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\bR\"\u0010\t\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\t\u0010\u0004\u001a\u0004\b\n\u0010\u0006\"\u0004\b\u000b\u0010\bR\"\u0010\f\u001a\u00020\u00028\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\f\u0010\u0004\u001a\u0004\b\r\u0010\u0006\"\u0004\b\u000e\u0010\b¨\u0006\u0011"}, d2 = {"Lcom/inmobi/commons/core/configs/AdConfig$WebViewabilityConfig;", "", "", "impressionMinTimeViewed", "I", "getImpressionMinTimeViewed", "()I", "setImpressionMinTimeViewed", "(I)V", "impressionPollIntervalMillis", "getImpressionPollIntervalMillis", "setImpressionPollIntervalMillis", "impressionMinPercentageViewed", "getImpressionMinPercentageViewed", "setImpressionMinPercentageViewed", "<init>", "()V", "media_release"}, k = 1, mv = {1, 5, 1})
public static final class WebViewabilityConfig {
private int impressionMinPercentageViewed = 50;
private int impressionMinTimeViewed = 1000;
private int impressionPollIntervalMillis = 1000;
public final int getImpressionMinPercentageViewed() {
return this.impressionMinPercentageViewed;
}
public final int getImpressionMinTimeViewed() {
return this.impressionMinTimeViewed;
}
public final int getImpressionPollIntervalMillis() {
return this.impressionPollIntervalMillis;
}
public final void setImpressionMinPercentageViewed(int i) {
this.impressionMinPercentageViewed = i;
}
public final void setImpressionMinTimeViewed(int i) {
this.impressionMinTimeViewed = i;
}
public final void setImpressionPollIntervalMillis(int i) {
this.impressionPollIntervalMillis = i;
}
}
public static final class a {
public static final class C0330a implements Constructor<Map<String, ? extends CacheConfig>> {
@Override
public Map<String, ? extends CacheConfig> construct() {
return new LinkedHashMap();
}
}
public static final class b implements Constructor<List<? extends String>> {
@Override
public List<? extends String> construct() {
return new ArrayList();
}
}
public static final class c implements Constructor<List<? extends String>> {
@Override
public List<? extends String> construct() {
return new ArrayList();
}
}
public static final class d implements Constructor<List<? extends Integer>> {
@Override
public List<? extends Integer> construct() {
return new ArrayList();
}
}
public static final class e implements Constructor<List<? extends String>> {
@Override
public List<? extends String> construct() {
return new ArrayList();
}
}
public static final class f implements Constructor<Map<String, ? extends TimeoutConfigurations.RenderTimeoutByType>> {
@Override
public Map<String, ? extends TimeoutConfigurations.RenderTimeoutByType> construct() {
return new LinkedHashMap();
}
}
@NonNull
public final com.inmobi.commons.utils.json.a<AdConfig> a() {
return new com.inmobi.commons.utils.json.a().a(new z9("cache", AdConfig.class), (y9<?>) new b6(new C0330a(), CacheConfig.class)).a(new z9(AdConfig.ALLOWED_CONTENT_TYPE, SaveContent.class), (y9<?>) new w5(new b(), String.class)).a(new z9(AdConfig.ALLOWED_CONTENT_TYPE, VastVideoConfig.class), (y9<?>) new w5(new c(), String.class)).a(new z9(AdConfig.GESTURE_LIST, RenderingConfig.class), (y9<?>) new w5(new d(), Integer.TYPE)).a(new z9(AdConfig.SKIP_FIELDS, ContextualDataConfig.class), (y9<?>) new w5(new e(), String.class)).a(new z9(AdConfig.RENDER_TIMEOUT_MAP, TimeoutConfigurations.class), (y9<?>) new b6(new f(), TimeoutConfigurations.RenderTimeoutByType.class));
}
public final List<String> b() {
return AdConfig.DEFAULT_CONTEXTUAL_DATA_SKIP_FIELDS;
}
}
static {
List<String> emptyList;
emptyList = CollectionsKt__CollectionsKt.emptyList();
DEFAULT_CONTEXTUAL_DATA_SKIP_FIELDS = emptyList;
}
public AdConfig(String str) {
super(str);
Map<String, CacheConfig> mutableMapOf;
this.TAG = "AdConfig";
this.maxPoolSize = 10;
this.url = DEFAULT_AD_SERVER_URL;
this.minimumRefreshInterval = 20;
this.defaultRefreshInterval = 60;
this.fetchTimeout = 60;
this.timeouts = TimeoutConfigurations.Companion.a();
this.imai = new ImaiConfig();
this.rendering = new RenderingConfig();
this.mraid = new MraidConfig();
this.viewability = new ViewabilityConfig();
this.vastVideo = new VastVideoConfig();
this.assetCache = new AssetCacheConfig();
this.contextualData = new ContextualDataConfig();
this.adQuality = new AdQualityConfig();
this.audio = new AudioConfig();
mutableMapOf = MapsKt__MapsKt.mutableMapOf(TuplesKt.to(TtmlNode.RUBY_BASE, new CacheConfig()), TuplesKt.to("banner", new CacheConfig()), TuplesKt.to("audio", new CacheConfig()), TuplesKt.to("int", new CacheConfig()), TuplesKt.to("native", new CacheConfig()));
this.cache = mutableMapOf;
}
public final AdQualityConfig getAdQuality() {
return this.adQuality;
}
public final AssetCacheConfig getAssetCacheConfig() {
return this.assetCache;
}
public final AudioConfig getAudio() {
return this.audio;
}
public final CacheConfig getCacheConfig(String adType) {
Intrinsics.checkNotNullParameter(adType, "adType");
CacheConfig cacheConfig = this.cache.get(adType);
if (cacheConfig == null) {
CacheConfig cacheConfig2 = this.cache.get(TtmlNode.RUBY_BASE);
return cacheConfig2 == null ? new CacheConfig() : cacheConfig2;
}
return cacheConfig;
}
public final ContextualDataConfig getContextualData() {
return this.contextualData;
}
public final int getDefaultRefreshInterval() {
return this.defaultRefreshInterval;
}
public final int getFetchTimeout() {
return this.fetchTimeout;
}
public final ImaiConfig getImaiConfig() {
return this.imai;
}
public final int getMaxPoolSize() {
return this.maxPoolSize;
}
public final int getMinimumRefreshInterval() {
return this.minimumRefreshInterval;
}
public final MraidConfig getMraidConfig() {
return this.mraid;
}
public final RenderingConfig getRendering() {
return this.rendering;
}
public final TimeoutConfigurations getTimeouts() {
return this.timeouts;
}
@Override
public String getType() {
return CampaignUnit.JSON_KEY_ADS;
}
public final String getUrl() {
return this.url;
}
public final VastVideoConfig getVastVideo() {
return this.vastVideo;
}
public final ViewabilityConfig getViewability() {
return this.viewability;
}
public final boolean isCCTEnabled() {
return this.cctEnabled;
}
@Override
public boolean isValid() {
int i;
int i2;
if (this.maxPoolSize <= 0 || d4.a(this.url) || (i = this.minimumRefreshInterval) < 0 || (i2 = this.defaultRefreshInterval) < 0 || i > i2 || this.fetchTimeout <= 0) {
return false;
}
for (Map.Entry<String, CacheConfig> entry : this.cache.entrySet()) {
if (!entry.getValue().isValid()) {
return false;
}
}
this.timeouts.h();
return this.contextualData.isValid() && this.adQuality.isValid() && this.imai.isValid() && this.mraid.isValid() && this.timeouts.g() && this.rendering.isValid() && this.vastVideo.isValid() && this.assetCache.isValid() && this.viewability.isValid() && this.audio.isValid();
}
public final void setAdQuality(AdQualityConfig adQualityConfig) {
Intrinsics.checkNotNullParameter(adQualityConfig, "<set-?>");
this.adQuality = adQualityConfig;
}
public final void setAudio(AudioConfig audioConfig) {
Intrinsics.checkNotNullParameter(audioConfig, "<set-?>");
this.audio = audioConfig;
}
public final void setContextualData(ContextualDataConfig contextualDataConfig) {
Intrinsics.checkNotNullParameter(contextualDataConfig, "<set-?>");
this.contextualData = contextualDataConfig;
}
public final void setDefaultRefreshInterval(int i) {
this.defaultRefreshInterval = i;
}
public final void setFetchTimeout(int i) {
this.fetchTimeout = i;
}
public final void setMinimumRefreshInterval(int i) {
this.minimumRefreshInterval = i;
}
public final void setRendering(RenderingConfig renderingConfig) {
Intrinsics.checkNotNullParameter(renderingConfig, "<set-?>");
this.rendering = renderingConfig;
}
public final void setTimeouts(TimeoutConfigurations timeoutConfigurations) {
Intrinsics.checkNotNullParameter(timeoutConfigurations, "<set-?>");
this.timeouts = timeoutConfigurations;
}
public final void setUrl(String str) {
Intrinsics.checkNotNullParameter(str, "<set-?>");
this.url = str;
}
public final void setVastVideo(VastVideoConfig vastVideoConfig) {
Intrinsics.checkNotNullParameter(vastVideoConfig, "<set-?>");
this.vastVideo = vastVideoConfig;
}
public final void setViewability(ViewabilityConfig viewabilityConfig) {
Intrinsics.checkNotNullParameter(viewabilityConfig, "<set-?>");
this.viewability = viewabilityConfig;
}
@Override
public JSONObject toJson() {
JSONObject a2 = Companion.a().a((com.inmobi.commons.utils.json.a<AdConfig>) this);
if (a2 == null) {
String TAG = this.TAG;
Intrinsics.checkNotNullExpressionValue(TAG, "TAG");
return new JSONObject();
}
return a2;
}
}