package com.google.android.gms.internal.ads;

import android.os.Bundle;
import android.text.TextUtils;
import java.util.ArrayList;

/* JADX INFO: loaded from: classes2.dex */
public final class u61 implements m61 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final boolean f17091a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final boolean f17092b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f17093c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final boolean f17094d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f17095e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final boolean f17096f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final String f17097g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final String f17098h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final String f17099i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final ArrayList f17100j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final String f17101k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final String f17102l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final String f17103m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final boolean f17104n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final String f17105o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final long f17106p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final boolean f17107q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final String f17108r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final int f17109s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final String f17110t;

    public u61(boolean z10, boolean z11, String str, boolean z12, boolean z13, boolean z14, String str2, ArrayList arrayList, String str3, String str4, String str5, boolean z15, String str6, long j10, boolean z16, String str7, int i10, String str8, String str9, String str10) {
        this.f17091a = z10;
        this.f17092b = z11;
        this.f17093c = str;
        this.f17094d = z12;
        this.f17095e = z13;
        this.f17096f = z14;
        this.f17097g = str2;
        this.f17098h = str8;
        this.f17100j = arrayList;
        this.f17101k = str3;
        this.f17102l = str4;
        this.f17103m = str5;
        this.f17104n = z15;
        this.f17105o = str6;
        this.f17106p = j10;
        this.f17107q = z16;
        this.f17108r = str7;
        this.f17109s = i10;
        this.f17110t = str10;
        this.f17099i = str9;
    }

    @Override // com.google.android.gms.internal.ads.m61
    public final void zza(Object obj) {
        String str;
        Bundle bundle = ((zd0) obj).f19235a;
        bundle.putBoolean("cog", this.f17091a);
        bundle.putBoolean("coh", this.f17092b);
        bundle.putString("gl", this.f17093c);
        bundle.putBoolean("simulator", this.f17094d);
        bundle.putBoolean("is_latchsky", this.f17095e);
        bundle.putInt("build_api_level", this.f17109s);
        tn tnVar = ao.f8972mc;
        n7.y yVar = n7.y.f31093e;
        if (!((Boolean) yVar.f31096c.b(tnVar)).booleanValue()) {
            bundle.putBoolean("is_sidewinder", this.f17096f);
        }
        bundle.putString("hl", this.f17097g);
        tn tnVar2 = ao.He;
        yn ynVar = yVar.f31096c;
        if (((Boolean) ynVar.b(tnVar2)).booleanValue() || ((Boolean) ynVar.b(ao.Ie)).booleanValue()) {
            bundle.putString("dlc", this.f17098h);
        }
        ArrayList<String> arrayList = this.f17100j;
        if (!arrayList.isEmpty()) {
            bundle.putStringArrayList("hl_list", arrayList);
        }
        String str2 = this.f17099i;
        if (str2 != null) {
            bundle.putString("dgl", str2);
        }
        bundle.putString("mv", this.f17101k);
        bundle.putString("submodel", this.f17105o);
        Bundle bundleA = mb1.a(bundle, "device");
        bundle.putBundle("device", bundleA);
        bundleA.putString("build", this.f17103m);
        bundleA.putLong("remaining_data_partition_space", this.f17106p);
        Bundle bundleA2 = mb1.a(bundleA, "browser");
        bundleA.putBundle("browser", bundleA2);
        bundleA2.putBoolean("is_browser_custom_tabs_capable", this.f17104n);
        String str3 = this.f17102l;
        if (!TextUtils.isEmpty(str3)) {
            Bundle bundleA3 = mb1.a(bundleA, "play_store");
            bundleA.putBundle("play_store", bundleA3);
            bundleA3.putString("package_version", str3);
        }
        if (((Boolean) ynVar.b(ao.Cc)).booleanValue()) {
            bundle.putBoolean("is_bstar", this.f17107q);
        }
        String str4 = this.f17108r;
        if (!TextUtils.isEmpty(str4)) {
            bundle.putString("v_unity", str4);
        }
        if (((Boolean) ynVar.b(ao.f9139wc)).booleanValue()) {
            mb1.zzd(bundle, "gotmt_l", true, ((Boolean) ynVar.b(ao.f9089tc)).booleanValue());
            mb1.zzd(bundle, "gotmt_i", true, ((Boolean) ynVar.b(ao.f9072sc)).booleanValue());
        }
        if (!((Boolean) ynVar.b(ao.f9159xf)).booleanValue() || (str = this.f17110t) == null) {
            return;
        }
        bundle.putString("sdk_i_s", str);
    }

    @Override // com.google.android.gms.internal.ads.m61
    public final /* bridge */ /* synthetic */ void zzb(Object obj) {
        Bundle bundle = ((zd0) obj).f19236b;
        bundle.putBoolean("simulator", this.f17094d);
        bundle.putInt("build_api_level", this.f17109s);
        ArrayList<String> arrayList = this.f17100j;
        if (!arrayList.isEmpty()) {
            bundle.putStringArrayList("hl_list", arrayList);
        }
        bundle.putString("submodel", this.f17105o);
    }
}
