package com.applovin.impl; import com.applovin.impl.sdk.utils.JsonUtils; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONObject; /* loaded from: classes.dex */ public class k4 extends j4 { @Override // com.applovin.impl.j4 public String toString() { return "ConsentFlowState{id=" + b() + "type=" + c() + "isInitialState=" + d() + "title=" + g() + "message=" + f() + "actions=" + e() + "}"; } public k4(JSONObject jSONObject, com.applovin.impl.sdk.j jVar) { super(jSONObject, jVar); } public String g() { return b("title"); } public String f() { return b("message"); } public List e() { l4 a; JSONArray jSONArray = JsonUtils.getJSONArray(this.b, "transitions", null); ArrayList arrayList = new ArrayList(); for (int i = 0; i < jSONArray.length(); i++) { JSONObject jSONObject = JsonUtils.getJSONObject(jSONArray, i, (JSONObject) null); if (jSONObject != null && (a = l4.a(jSONObject, this.a)) != null) { arrayList.add(a); } } return arrayList; } }