package com.vungle.warren.model; import android.content.ContentValues; import com.unity3d.services.core.request.metrics.AdOperationMetric; import com.vungle.warren.AdConfig; import java.lang.reflect.Type; import java.util.List; import java.util.Map; /* loaded from: classes2.dex */ public class d implements g8.c { /* renamed from: f, reason: collision with root package name */ static final Type f8340f = new c().e(); /* renamed from: g, reason: collision with root package name */ static final Type f8341g = new C0124d().e(); /* renamed from: a, reason: collision with root package name */ private z4.e f8342a = new z4.f().b(); /* renamed from: b, reason: collision with root package name */ private Type f8343b = new a().e(); /* renamed from: c, reason: collision with root package name */ private Type f8344c = new b().e(); /* renamed from: d, reason: collision with root package name */ private Type f8345d = new e().e(); /* renamed from: e, reason: collision with root package name */ private final Type f8346e = new f().e(); class a extends f5.a { a() { } } class b extends f5.a { b() { } } class c extends f5.a { c() { } } /* renamed from: com.vungle.warren.model.d$d, reason: collision with other inner class name */ class C0124d extends f5.a { C0124d() { } } class e extends f5.a { e() { } } class f extends f5.a { f() { } } @Override // g8.c public String b() { return "advertisement"; } @Override // g8.c /* renamed from: d, reason: merged with bridge method [inline-methods] */ public com.vungle.warren.model.c c(ContentValues contentValues) { com.vungle.warren.model.c cVar = new com.vungle.warren.model.c(); cVar.f8314c = contentValues.getAsString("item_id"); cVar.f8313b = contentValues.getAsInteger("ad_type").intValue(); cVar.f8316e = contentValues.getAsLong("expire_time").longValue(); cVar.f8319h = contentValues.getAsInteger("delay").intValue(); cVar.f8321j = contentValues.getAsInteger("show_close_delay").intValue(); cVar.f8322k = contentValues.getAsInteger("show_close_incentivized").intValue(); cVar.f8323l = contentValues.getAsInteger("countdown").intValue(); cVar.f8325n = contentValues.getAsInteger("video_width").intValue(); cVar.f8326o = contentValues.getAsInteger("video_height").intValue(); cVar.f8334w = contentValues.getAsInteger("retry_count").intValue(); cVar.I = g8.b.a(contentValues, "requires_non_market_install"); cVar.f8315d = contentValues.getAsString("app_id"); cVar.f8320i = contentValues.getAsString("campaign"); cVar.f8324m = contentValues.getAsString("video_url"); cVar.f8327p = contentValues.getAsString("md5"); cVar.f8328q = contentValues.getAsString("postroll_bundle_url"); cVar.f8331t = contentValues.getAsString("cta_destination_url"); cVar.f8332u = contentValues.getAsString("cta_url"); cVar.f8335x = contentValues.getAsString("ad_token"); cVar.f8336y = contentValues.getAsString("video_identifier"); cVar.f8337z = contentValues.getAsString("template_url"); cVar.E = contentValues.getAsString("TEMPLATE_ID"); cVar.F = contentValues.getAsString("TEMPLATE_TYPE"); cVar.J = contentValues.getAsString("ad_market_id"); cVar.K = contentValues.getAsString("bid_token"); cVar.M = contentValues.getAsInteger(AdOperationMetric.INIT_STATE).intValue(); cVar.N = contentValues.getAsString("placement_id"); cVar.f8329r = g8.b.a(contentValues, "cta_overlay_enabled"); cVar.f8330s = g8.b.a(contentValues, "cta_click_area"); cVar.f8333v = (AdConfig) this.f8342a.i(contentValues.getAsString("ad_config"), AdConfig.class); cVar.f8317f = (List) this.f8342a.j(contentValues.getAsString("checkpoints"), f8340f); cVar.f8318g = (Map) this.f8342a.j(contentValues.getAsString("dynamic_events_and_urls"), f8341g); cVar.A = (Map) this.f8342a.j(contentValues.getAsString("template_settings"), this.f8344c); cVar.B = (Map) this.f8342a.j(contentValues.getAsString("mraid_files"), this.f8344c); cVar.C = (Map) this.f8342a.j(contentValues.getAsString("cacheable_assets"), this.f8345d); cVar.O = contentValues.getAsLong("tt_download").longValue(); cVar.Q = contentValues.getAsLong("asset_download_timestamp").longValue(); cVar.V = contentValues.getAsLong("asset_download_duration").longValue(); cVar.W = contentValues.getAsLong("ad_request_start_time").longValue(); cVar.G = g8.b.a(contentValues, "column_enable_om_sdk"); cVar.V((List) this.f8342a.j(contentValues.getAsString("column_notifications"), this.f8346e)); cVar.H = contentValues.getAsString("column_om_sdk_extra_vast"); cVar.X = contentValues.getAsLong("column_request_timestamp").longValue(); cVar.Y = contentValues.getAsBoolean("column_click_coordinates_enabled").booleanValue(); cVar.Z = g8.b.a(contentValues, "column_assets_fully_downloaded"); cVar.P = contentValues.getAsString("column_deep_link"); cVar.L = contentValues.getAsBoolean("column_header_bidding").booleanValue(); return cVar; } @Override // g8.c /* renamed from: e, reason: merged with bridge method [inline-methods] */ public ContentValues a(com.vungle.warren.model.c cVar) { ContentValues contentValues = new ContentValues(); contentValues.put("item_id", cVar.f8314c); contentValues.put("ad_type", Integer.valueOf(cVar.f())); contentValues.put("expire_time", Long.valueOf(cVar.f8316e)); contentValues.put("delay", Integer.valueOf(cVar.f8319h)); contentValues.put("show_close_delay", Integer.valueOf(cVar.f8321j)); contentValues.put("show_close_incentivized", Integer.valueOf(cVar.f8322k)); contentValues.put("countdown", Integer.valueOf(cVar.f8323l)); contentValues.put("video_width", Integer.valueOf(cVar.f8325n)); contentValues.put("video_height", Integer.valueOf(cVar.f8326o)); contentValues.put("cta_overlay_enabled", Boolean.valueOf(cVar.f8329r)); contentValues.put("cta_click_area", Boolean.valueOf(cVar.f8330s)); contentValues.put("retry_count", Integer.valueOf(cVar.f8334w)); contentValues.put("requires_non_market_install", Boolean.valueOf(cVar.I)); contentValues.put("app_id", cVar.f8315d); contentValues.put("campaign", cVar.f8320i); contentValues.put("video_url", cVar.f8324m); contentValues.put("md5", cVar.f8327p); contentValues.put("postroll_bundle_url", cVar.f8328q); contentValues.put("cta_destination_url", cVar.f8331t); contentValues.put("cta_url", cVar.f8332u); contentValues.put("ad_token", cVar.f8335x); contentValues.put("video_identifier", cVar.f8336y); contentValues.put("template_url", cVar.f8337z); contentValues.put("TEMPLATE_ID", cVar.E); contentValues.put("TEMPLATE_TYPE", cVar.F); contentValues.put("ad_market_id", cVar.J); contentValues.put("bid_token", cVar.K); contentValues.put(AdOperationMetric.INIT_STATE, Integer.valueOf(cVar.M)); contentValues.put("placement_id", cVar.N); contentValues.put("ad_config", this.f8342a.s(cVar.f8333v)); contentValues.put("checkpoints", this.f8342a.t(cVar.f8317f, f8340f)); contentValues.put("dynamic_events_and_urls", this.f8342a.t(cVar.f8318g, f8341g)); contentValues.put("template_settings", this.f8342a.t(cVar.A, this.f8344c)); contentValues.put("mraid_files", this.f8342a.t(cVar.B, this.f8344c)); contentValues.put("cacheable_assets", this.f8342a.t(cVar.C, this.f8345d)); contentValues.put("column_notifications", this.f8342a.t(cVar.G(), this.f8346e)); contentValues.put("tt_download", Long.valueOf(cVar.O)); contentValues.put("asset_download_timestamp", Long.valueOf(cVar.Q)); contentValues.put("asset_download_duration", Long.valueOf(cVar.V)); contentValues.put("ad_request_start_time", Long.valueOf(cVar.W)); contentValues.put("column_enable_om_sdk", Boolean.valueOf(cVar.G)); contentValues.put("column_om_sdk_extra_vast", cVar.H); contentValues.put("column_request_timestamp", Long.valueOf(cVar.X)); contentValues.put("column_click_coordinates_enabled", Boolean.valueOf(cVar.Y)); contentValues.put("column_assets_fully_downloaded", Boolean.valueOf(cVar.Z)); contentValues.put("column_deep_link", cVar.P); contentValues.put("column_header_bidding", Boolean.valueOf(cVar.L)); return contentValues; } }