package com.applovin.impl; import com.applovin.impl.sdk.utils.CollectionUtils; import com.applovin.impl.sdk.utils.JsonUtils; import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.json.JSONObject; /* loaded from: classes.dex */ public abstract class eq { private static final List f = Arrays.asList(MimeTypes.VIDEO_MP4, "video/webm", MimeTypes.VIDEO_H263, "video/x-matroska"); private final com.applovin.impl.sdk.j a; private final JSONObject c; private final JSONObject d; protected List b = new ArrayList(); private final long e = System.currentTimeMillis(); public List a() { return this.b; } public JSONObject b() { return this.c; } public long c() { return this.e; } public JSONObject e() { return this.d; } public eq(JSONObject jSONObject, JSONObject jSONObject2, com.applovin.impl.sdk.j jVar) { this.a = jVar; this.c = jSONObject; this.d = jSONObject2; } public int d() { return this.b.size(); } public List f() { List explode = CollectionUtils.explode(JsonUtils.getString(this.c, "vast_preferred_video_types", null)); return !explode.isEmpty() ? explode : f; } public int g() { return yp.a(JsonUtils.getInt(this.c, "video_completion_percent", -1)); } }