package com.applovin.impl; import com.applovin.mediation.MaxAdFormat; import java.util.Map; import org.json.JSONObject; /* loaded from: classes.dex */ public abstract class ne extends ge { public ne(int i, Map map, JSONObject jSONObject, JSONObject jSONObject2, com.applovin.impl.mediation.g gVar, com.applovin.impl.sdk.j jVar) { super(i, map, jSONObject, jSONObject2, gVar, jVar); } public int n0() { sj sjVar; MaxAdFormat format = getFormat(); if (format == MaxAdFormat.BANNER) { sjVar = sj.K1; } else if (format == MaxAdFormat.MREC) { sjVar = sj.M1; } else if (format == MaxAdFormat.LEADER) { sjVar = sj.O1; } else { sjVar = format == MaxAdFormat.NATIVE ? sj.Q1 : null; } if (sjVar != null) { return a("viewability_min_width", ((Integer) this.a.a(sjVar)).intValue()); } return 0; } public int j0() { sj sjVar; MaxAdFormat format = getFormat(); if (format == MaxAdFormat.BANNER) { sjVar = sj.L1; } else if (format == MaxAdFormat.MREC) { sjVar = sj.N1; } else if (format == MaxAdFormat.LEADER) { sjVar = sj.P1; } else { sjVar = format == MaxAdFormat.NATIVE ? sj.R1 : null; } if (sjVar != null) { return a("viewability_min_height", ((Integer) this.a.a(sjVar)).intValue()); } return 0; } public float h0() { return b("viewability_min_alpha", ((Float) this.a.a(sj.S1)).floatValue() / 100.0f); } public int i0() { return a("viewability_min_pixels", -1); } public float k0() { return b("viewability_min_percentage_dp", -1.0f); } public float l0() { return b("viewability_min_percentage_pixels", -1.0f); } public boolean o0() { return i0() >= 0 || k0() >= 0.0f || l0() >= 0.0f; } public long m0() { return a("viewability_timer_min_visible_ms", ((Long) this.a.a(sj.T1)).longValue()); } }