what-the-bank/sources/com/google/android/gms/internal/gtm/zzff.java

784 lines
31 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.gtm;
import android.content.Context;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.adapter.internal.CommonCode;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class zzff {
private final String zzaec;
private int zzaka;
private final com.google.android.gms.tagmanager.zzcm zzamx;
private final com.google.android.gms.tagmanager.zzcd zzanh;
private final zznm zzaov;
private final zzfl zzaow;
private final zzok zzaox;
private final zzok zzaoy;
private final Set<String> zzaoz;
private zzkz zzapa;
private zzee zzapb;
private final zzfj zzapc;
private final Context zzrm;
private static final byte[] $$a = {94, -44, 14, -83};
private static final int $$b = 208;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int a = 1;
private static int d = 2015661646;
public zzff(Context context, String str, zznm zznmVar, zznu zznuVar, com.google.android.gms.tagmanager.zzcm zzcmVar, com.google.android.gms.tagmanager.zzcd zzcdVar) {
zzfl zzflVar = new zzfl();
this.zzaow = zzflVar;
zzok zzokVar = new zzok(new HashMap(50));
this.zzaox = zzokVar;
zzok zzokVar2 = new zzok(new HashMap(10));
this.zzaoy = zzokVar2;
this.zzaoz = new HashSet();
zzfg zzfgVar = new zzfg(this);
this.zzapc = zzfgVar;
Preconditions.checkNotNull(zznmVar, "Internal Error: Container resource cannot be null");
Preconditions.checkNotNull(zznuVar, "Internal Error: Runtime resource cannot be null");
Preconditions.checkNotEmpty(str, "Internal Error: ContainerId cannot be empty");
Preconditions.checkNotNull(zzcmVar);
Preconditions.checkNotNull(zzcdVar);
this.zzrm = context;
this.zzaec = str;
this.zzaov = zznmVar;
this.zzamx = zzcmVar;
this.zzanh = zzcdVar;
Object[] objArr = new Object[1];
c((ViewConfiguration.getScrollBarSize() >> 8) + 1, -TextUtils.indexOf((CharSequence) "", '0'), (ViewConfiguration.getScrollBarSize() >> 8) + CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, new char[]{0}, true, objArr);
zzflVar.zza(((String) objArr[0]).intern(), new zzof(new zzhy()));
zzflVar.zza("12", new zzof(new zzhz()));
zzflVar.zza("18", new zzof(new zzia()));
zzflVar.zza("19", new zzof(new zzib()));
zzflVar.zza("20", new zzof(new zzic()));
zzflVar.zza("21", new zzof(new zzid()));
zzflVar.zza("23", new zzof(new zzie()));
zzflVar.zza("24", new zzof(new zzif()));
zzflVar.zza("27", new zzof(new zzig()));
zzflVar.zza("28", new zzof(new zzih()));
zzflVar.zza("29", new zzof(new zzii()));
zzflVar.zza("30", new zzof(new zzij()));
zzflVar.zza("32", new zzof(new zzik()));
zzflVar.zza("33", new zzof(new zzik()));
zzflVar.zza("34", new zzof(new zzil()));
zzflVar.zza("35", new zzof(new zzil()));
zzflVar.zza("39", new zzof(new zzim()));
zzflVar.zza("40", new zzof(new zzin()));
Object[] objArr2 = new Object[1];
c(1 - ExpandableListView.getPackedPositionType(0L), 1 - (ViewConfiguration.getTouchSlop() >> 8), 153 - View.MeasureSpec.getSize(0), new char[]{0}, true, objArr2);
zzflVar.zza(((String) objArr2[0]).intern(), new zzof(new zzjk()));
zzflVar.zza("10", new zzof(new zzjl()));
zzflVar.zza("25", new zzof(new zzjm()));
zzflVar.zza("26", new zzof(new zzjn()));
zzflVar.zza("37", new zzof(new zzjo()));
Object[] objArr3 = new Object[1];
c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1, View.MeasureSpec.getSize(0) + 1, 155 - TextUtils.getOffsetAfter("", 0), new char[]{0}, true, objArr3);
zzflVar.zza(((String) objArr3[0]).intern(), new zzof(new zzio()));
zzflVar.zza("3", new zzof(new zzip()));
zzflVar.zza("4", new zzof(new zziq()));
zzflVar.zza("5", new zzof(new zzir()));
zzflVar.zza("6", new zzof(new zzis()));
zzflVar.zza("7", new zzof(new zzit()));
zzflVar.zza("8", new zzof(new zziu()));
zzflVar.zza("9", new zzof(new zzir()));
zzflVar.zza("13", new zzof(new zziv()));
zzflVar.zza("47", new zzof(new zziw()));
zzflVar.zza("15", new zzof(new zzix()));
zzflVar.zza("48", new zzof(new zziy(this)));
zziz zzizVar = new zziz();
zzflVar.zza("16", new zzof(zzizVar));
zzflVar.zza("17", new zzof(zzizVar));
zzflVar.zza("22", new zzof(new zzjb()));
zzflVar.zza("45", new zzof(new zzjc()));
zzflVar.zza("46", new zzof(new zzjd()));
zzflVar.zza("36", new zzof(new zzje()));
zzflVar.zza("43", new zzof(new zzjf()));
zzflVar.zza("38", new zzof(new zzjg()));
zzflVar.zza("44", new zzof(new zzjh()));
zzflVar.zza("41", new zzof(new zzji()));
zzflVar.zza("42", new zzof(new zzjj()));
zza(zza.CONTAINS, new zzlw());
zza(zza.ENDS_WITH, new zzlx());
zza(zza.EQUALS, new zzly());
zza(zza.GREATER_EQUALS, new zzlz());
zza(zza.GREATER_THAN, new zzma());
zza(zza.LESS_EQUALS, new zzmb());
zza(zza.LESS_THAN, new zzmc());
zza(zza.REGEX, new zzme());
zza(zza.STARTS_WITH, new zzmf());
zzokVar.zzc("advertiserId", new zzof(new zzkp(context)));
zzokVar.zzc("advertiserTrackingEnabled", new zzof(new zzkq(context)));
zzokVar.zzc("adwordsClickReferrer", new zzof(new zzkr(context, zzfgVar)));
zzokVar.zzc("applicationId", new zzof(new zzks(context)));
zzokVar.zzc("applicationName", new zzof(new zzkt(context)));
zzokVar.zzc("applicationVersion", new zzof(new zzku(context)));
zzokVar.zzc("applicationVersionName", new zzof(new zzkv(context)));
zzokVar.zzc("arbitraryPixieMacro", new zzof(new zzkm(1, zzflVar)));
zzokVar.zzc("carrier", new zzof(new zzkw(context)));
zzokVar.zzc("constant", new zzof(new zzje()));
zzokVar.zzc("containerId", new zzof(new zzkx(new zzom(str))));
zzokVar.zzc("containerVersion", new zzof(new zzkx(new zzom(zznmVar.getVersion()))));
zzfg zzfgVar2 = null;
zzokVar.zzc("customMacro", new zzof(new zzkk(new zzfi(this, zzfgVar2))));
zzokVar.zzc("deviceBrand", new zzof(new zzla()));
zzokVar.zzc("deviceId", new zzof(new zzlb(context)));
zzokVar.zzc("deviceModel", new zzof(new zzlc()));
zzokVar.zzc("deviceName", new zzof(new zzld()));
zzokVar.zzc("encode", new zzof(new zzle()));
zzokVar.zzc("encrypt", new zzof(new zzlf()));
zzokVar.zzc("event", new zzof(new zzky()));
zzokVar.zzc("eventParameters", new zzof(new zzlg(zzfgVar)));
zzokVar.zzc("version", new zzof(new zzlh()));
zzokVar.zzc("hashcode", new zzof(new zzli()));
zzokVar.zzc("installReferrer", new zzof(new zzlj(context)));
zzokVar.zzc("join", new zzof(new zzlk()));
zzokVar.zzc("language", new zzof(new zzll()));
zzokVar.zzc("locale", new zzof(new zzlm()));
zzokVar.zzc("adWordsUniqueId", new zzof(new zzlo(context)));
zzokVar.zzc("osVersion", new zzof(new zzlp()));
zzokVar.zzc("platform", new zzof(new zzlq()));
zzokVar.zzc("random", new zzof(new zzlr()));
zzokVar.zzc("regexGroup", new zzof(new zzls()));
zzokVar.zzc(CommonCode.MapKey.HAS_RESOLUTION, new zzof(new zzlu(context)));
zzokVar.zzc("runtimeVersion", new zzof(new zzlt()));
zzokVar.zzc("sdkVersion", new zzof(new zzlv()));
this.zzapa = new zzkz();
zzokVar.zzc("currentTime", new zzof(this.zzapa));
zzokVar.zzc("userProperty", new zzof(new zzln(context, zzfgVar)));
zzokVar.zzc("arbitraryPixel", new zzof(new zzmi(zzec.zzp(context))));
zzokVar.zzc("customTag", new zzof(new zzkk(new zzfh(this, zzfgVar2))));
zzokVar.zzc("universalAnalytics", new zzof(new zzmj(context, zzfgVar)));
zzokVar.zzc("queueRequest", new zzof(new zzmg(zzec.zzp(context))));
zzokVar.zzc("sendMeasurement", new zzof(new zzmh(zzcmVar, zzfgVar)));
zzokVar.zzc("arbitraryPixieTag", new zzof(new zzkm(0, zzflVar)));
zzokVar.zzc("suppressPassthrough", new zzof(new zzko(context, zzfgVar)));
zzokVar2.zzc("decodeURI", new zzof(new zzkf()));
zzokVar2.zzc("decodeURIComponent", new zzof(new zzkg()));
zzokVar2.zzc("encodeURI", new zzof(new zzkh()));
zzokVar2.zzc("encodeURIComponent", new zzof(new zzki()));
zzokVar2.zzc("log", new zzof(new zzkn()));
zzokVar2.zzc("isArray", new zzof(new zzkj()));
int i = 2 % 2;
for (zzgy zzgyVar : zznuVar.zzmb()) {
zzgyVar.zza(this.zzaow);
this.zzaow.zza(zzgyVar.getName(), new zzof(zzgyVar));
int i2 = a + 81;
e = i2 % 128;
int i3 = i2 % 2;
}
zzok zzokVar3 = new zzok(new HashMap(1));
zzokVar3.zzc("mobile", this.zzaox);
zzokVar3.zzc("common", this.zzaoy);
this.zzaow.zza("gtmUtils", zzokVar3);
zzok zzokVar4 = new zzok(new HashMap(this.zzaox.value()));
zzokVar4.zzmi();
zzok zzokVar5 = new zzok(new HashMap(this.zzaoy.value()));
zzokVar5.zzmi();
if (!(!this.zzaow.has("main"))) {
int i4 = e + 75;
a = i4 % 128;
int i5 = i4 % 2;
if (this.zzaow.zzca("main") instanceof zzof) {
ArrayList arrayList = new ArrayList();
arrayList.add(zzokVar3);
zzoo.zza(this.zzaow, new zzol("main", arrayList));
}
}
this.zzaox.zzc("base", zzokVar4);
this.zzaoy.zzc("base", zzokVar5);
zzokVar3.zzmi();
this.zzaox.zzmi();
this.zzaoy.zzmi();
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void f(int r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 7
int r7 = 76 - r7
int r6 = r6 * 2
int r0 = r6 + 1
int r5 = r5 * 4
int r5 = 4 - r5
byte[] r1 = com.google.android.gms.internal.gtm.zzff.$$a
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L17
r4 = r7
r3 = r2
r7 = r5
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r1[r5]
L29:
int r5 = r5 + 1
int r7 = r7 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzff.f(int, int, byte, java.lang.Object[]):void");
}
private static void c(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
int i5 = $10 + 39;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 3 / 3;
}
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(d)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getTouchSlop() >> 8), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 7, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
f(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (AndroidCharacter.getMirror('0') - '0'));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
f(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i2 > 0) {
int i8 = $11 + 23;
$10 = i8 % 128;
int i9 = i8 % 2;
zui.a = i2;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i10 = $10 + 49;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
int i11 = $10 + 3;
$11 = i11 % 128;
if (i11 % 2 == 0) {
int i12 = 2 / 5;
}
while (zui.d < i) {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 342, KeyEvent.normalizeMetaState(0) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
f(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
public final zzoa<?> zzbx(String str) {
int i = 2 % 2;
int i2 = e + 69;
a = i2 % 128;
int i3 = i2 % 2;
if (!this.zzaoz.contains(str)) {
int i4 = a + 99;
e = i4 % 128;
if (i4 % 2 != 0) {
this.zzaka = 1;
} else {
this.zzaka = 0;
}
return zzby(str);
}
String obj = this.zzaoz.toString();
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 77 + String.valueOf(obj).length());
sb.append("Macro cycle detected. Current macro reference: ");
sb.append(str);
sb.append(". Previous macro references: ");
sb.append(obj);
throw new IllegalStateException(sb.toString());
}
/* JADX WARN: Removed duplicated region for block: B:108:0x030e A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:94:0x02da A[Catch: IllegalStateException -> 0x0318, TRY_ENTER, TRY_LEAVE, TryCatch #1 {IllegalStateException -> 0x0318, blocks: (B:82:0x0299, B:115:0x02c0, B:94:0x02da, B:109:0x030e, B:88:0x02c7), top: B:81:0x0299 }] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zzb(com.google.android.gms.internal.gtm.zzee r15) {
/*
Method dump skipped, instructions count: 967
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzff.zzb(com.google.android.gms.internal.gtm.zzee):void");
}
private final void zza(zza zzaVar, zzgz zzgzVar) {
int i = 2 % 2;
this.zzaox.zzc(zzgw.zza(zzaVar), new zzof(zzgzVar));
int i2 = a + 29;
e = i2 % 128;
int i3 = i2 % 2;
}
public final void dispatch() {
int i = 2 % 2;
int i2 = e + 43;
a = i2 % 128;
int i3 = i2 % 2;
zzec.zzp(this.zzrm).dispatch();
int i4 = a + 43;
e = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 73 / 0;
}
}
private final Map<String, zzoa<?>> zzh(Map<String, zznx> map) {
int i = 2 % 2;
HashMap hashMap = new HashMap();
Iterator<Map.Entry<String, zznx>> it = map.entrySet().iterator();
while (it.hasNext()) {
int i2 = e + 75;
a = i2 % 128;
if (i2 % 2 == 0) {
Map.Entry<String, zznx> next = it.next();
hashMap.put(next.getKey(), zza(next.getValue()));
throw null;
}
Map.Entry<String, zznx> next2 = it.next();
hashMap.put(next2.getKey(), zza(next2.getValue()));
int i3 = e + 61;
a = i3 % 128;
int i4 = i3 % 2;
}
return hashMap;
}
private final zzoa<?> zza(zznx zznxVar) {
int intValue;
int i = 2 % 2;
switch (zznxVar.getType()) {
case 1:
try {
return new zzoe(Double.valueOf(Double.parseDouble((String) zznxVar.getValue())));
} catch (NumberFormatException unused) {
return new zzom((String) zznxVar.getValue());
}
case 2:
List list = (List) zznxVar.getValue();
ArrayList arrayList = new ArrayList(list.size());
Iterator it = list.iterator();
while (it.hasNext()) {
int i2 = e + 21;
a = i2 % 128;
if (i2 % 2 == 0) {
arrayList.add(zza((zznx) it.next()));
Object obj = null;
obj.hashCode();
throw null;
}
arrayList.add(zza((zznx) it.next()));
}
return new zzoh(arrayList);
case 3:
Map map = (Map) zznxVar.getValue();
HashMap hashMap = new HashMap(map.size());
for (Map.Entry entry : map.entrySet()) {
hashMap.put(zzha.zzd(zza((zznx) entry.getKey())), zza((zznx) entry.getValue()));
}
return new zzok(hashMap);
case 4:
zzoa<?> zzby = zzby((String) zznxVar.getValue());
if (!(zzby instanceof zzom) || zznxVar.zzmd().isEmpty()) {
return zzby;
}
int i3 = a + 91;
e = i3 % 128;
int i4 = i3 % 2;
String value = ((zzom) zzby).value();
Iterator<Integer> it2 = zznxVar.zzmd().iterator();
while (it2.hasNext()) {
int i5 = e + 53;
a = i5 % 128;
if (i5 % 2 == 0) {
intValue = it2.next().intValue();
if (intValue != 114) {
StringBuilder sb = new StringBuilder(39);
sb.append("Unsupported Value Escaping: ");
sb.append(intValue);
zzev.zzav(sb.toString());
} else {
value = zzbz(value);
}
} else {
intValue = it2.next().intValue();
if (intValue != 12) {
StringBuilder sb2 = new StringBuilder(39);
sb2.append("Unsupported Value Escaping: ");
sb2.append(intValue);
zzev.zzav(sb2.toString());
} else {
value = zzbz(value);
}
}
}
return new zzom(value);
case 5:
return new zzom((String) zznxVar.getValue());
case 6:
return new zzoe(Double.valueOf(((Integer) zznxVar.getValue()).doubleValue()));
case 7:
StringBuilder sb3 = new StringBuilder();
Iterator it3 = ((List) zznxVar.getValue()).iterator();
while (!(!it3.hasNext())) {
sb3.append(zzha.zzd(zza((zznx) it3.next())));
}
return new zzom(sb3.toString());
case 8:
return new zzod((Boolean) zznxVar.getValue());
default:
int type = zznxVar.getType();
StringBuilder sb4 = new StringBuilder(52);
sb4.append("Attempting to expand unknown Value type ");
sb4.append(type);
sb4.append(".");
throw new IllegalStateException(sb4.toString());
}
}
private final zzoa<?> zzby(String str) {
int i = 2 % 2;
this.zzaka++;
String zzjg = zzjg();
StringBuilder sb = new StringBuilder(String.valueOf(zzjg).length() + 31 + String.valueOf(str).length());
sb.append(zzjg);
sb.append("Beginning to evaluate variable ");
sb.append(str);
zzev.zzab(sb.toString());
if (!(!this.zzaoz.contains(str))) {
this.zzaka--;
String obj = this.zzaoz.toString();
StringBuilder sb2 = new StringBuilder(String.valueOf(str).length() + 77 + String.valueOf(obj).length());
sb2.append("Macro cycle detected. Current macro reference: ");
sb2.append(str);
sb2.append(". Previous macro references: ");
sb2.append(obj);
throw new IllegalStateException(sb2.toString());
}
int i2 = e + 37;
a = i2 % 128;
int i3 = i2 % 2;
this.zzaoz.add(str);
zzno zzck = this.zzaov.zzck(str);
if (zzck == null) {
this.zzaka--;
this.zzaoz.remove(str);
String zzjg2 = zzjg();
StringBuilder sb3 = new StringBuilder(String.valueOf(zzjg2).length() + 36 + String.valueOf(str).length());
sb3.append(zzjg2);
sb3.append("Attempting to resolve unknown macro ");
sb3.append(str);
throw new IllegalStateException(sb3.toString());
}
zzoa<?> zzi = zzi(zzh(zzck.zzlu()));
String zzjg3 = zzjg();
StringBuilder sb4 = new StringBuilder(String.valueOf(zzjg3).length() + 25 + String.valueOf(str).length());
sb4.append(zzjg3);
sb4.append("Done evaluating variable ");
sb4.append(str);
zzev.zzab(sb4.toString());
this.zzaka--;
this.zzaoz.remove(str);
int i4 = e + 101;
a = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 76 / 0;
}
return zzi;
}
private final zzoa<?> zza(zzno zznoVar) {
int i = 2 % 2;
int i2 = a + 73;
e = i2 % 128;
try {
if (i2 % 2 != 0) {
this.zzaoz.clear();
boolean z = zzi(zzh(zznoVar.zzlu())) instanceof zzod;
Object obj = null;
obj.hashCode();
throw null;
}
this.zzaoz.clear();
zzoa<?> zzi = zzi(zzh(zznoVar.zzlu()));
if (!(zzi instanceof zzod)) {
zzea.zza("Predicate must return a boolean value", this.zzrm);
zzi = new zzod(false);
int i3 = a + 15;
e = i3 % 128;
int i4 = i3 % 2;
}
return zzi;
} catch (IllegalStateException unused) {
zzev.zzav("Error evaluating predicate.");
return zzog.zzaul;
}
}
private final zzoa zzi(Map<String, zzoa<?>> map) {
zzol zzd;
String substring;
zzoa<?> value;
int i = 2 % 2;
int i2 = a + 111;
e = i2 % 128;
int i3 = i2 % 2;
if (map == null) {
zzea.zza("executeFunctionCall: cannot access the function parameters.", this.zzrm);
return zzog.zzaum;
}
zzoa<?> zzoaVar = map.get(zzb.FUNCTION.toString());
if (!(zzoaVar instanceof zzom)) {
int i4 = e + 69;
a = i4 % 128;
int i5 = i4 % 2;
zzea.zza("No function id in properties", this.zzrm);
return zzog.zzaum;
}
String value2 = ((zzom) zzoaVar).value();
Object obj = null;
if (this.zzaow.has(value2)) {
HashMap hashMap = new HashMap();
for (Map.Entry<String, zzoa<?>> entry : map.entrySet()) {
int i6 = e + 45;
a = i6 % 128;
int i7 = i6 % 2;
if (entry.getKey().startsWith("vtp_")) {
int i8 = e + 39;
a = i8 % 128;
if (i8 % 2 == 0) {
substring = entry.getKey().substring(3);
value = entry.getValue();
} else {
substring = entry.getKey().substring(4);
value = entry.getValue();
}
hashMap.put(substring, value);
}
}
ArrayList arrayList = new ArrayList();
arrayList.add(new zzok(hashMap));
zzd = new zzol(value2, arrayList);
} else {
String zzcc = zzgw.zzcc(value2);
if (zzcc == null || !this.zzaox.zzcn(zzcc)) {
StringBuilder sb = new StringBuilder(String.valueOf(value2).length() + 30);
sb.append("functionId '");
sb.append(value2);
sb.append("' is not supported");
zzea.zza(sb.toString(), this.zzrm);
return zzog.zzaum;
}
int i9 = e + 39;
a = i9 % 128;
if (i9 % 2 == 0) {
zzd(value2, map);
obj.hashCode();
throw null;
}
zzd = zzd(value2, map);
}
if (zzd == null) {
zzea.zza("Internal error: failed to convert function to a valid statement", this.zzrm);
return zzog.zzaum;
}
String valueOf = String.valueOf(zzd.zzmj());
zzev.zzab(valueOf.length() != 0 ? "Executing: ".concat(valueOf) : new String("Executing: "));
zzoa zza = zzoo.zza(this.zzaow, zzd);
if (!(zza instanceof zzog)) {
return zza;
}
int i10 = a + 3;
e = i10 % 128;
if (i10 % 2 == 0) {
zzog zzogVar = (zzog) zza;
return zzogVar.zzmh() ? zzogVar.value() : zza;
}
((zzog) zza).zzmh();
obj.hashCode();
throw null;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r4v6, types: [com.google.android.gms.internal.gtm.zzol] */
/* JADX WARN: Type inference failed for: r4v8 */
/* JADX WARN: Type inference failed for: r4v9 */
private final zzol zzd(String str, Map<String, zzoa<?>> map) {
int i = 2 % 2;
int i2 = a + 39;
e = i2 % 128;
try {
if (i2 % 2 != 0) {
zzol zza = zzgw.zza(str, map, this.zzaow);
int i3 = 3 / 0;
str = zza;
} else {
str = zzgw.zza(str, map, this.zzaow);
}
return str;
} catch (RuntimeException e2) {
String message = e2.getMessage();
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 30 + String.valueOf(message).length());
sb.append("Incorrect keys for function ");
sb.append(str);
sb.append(". ");
sb.append(message);
zzev.zzav(sb.toString());
return null;
}
}
private static String zzbz(String str) {
int i = 2 % 2;
int i2 = e + 37;
a = i2 % 128;
try {
if (i2 % 2 != 0) {
return URLEncoder.encode(str, "UTF-8").replaceAll("\\+", "%20");
}
URLEncoder.encode(str, "UTF-8").replaceAll("\\+", "%20");
throw null;
} catch (UnsupportedEncodingException e2) {
zzev.zza("Escape URI: unsupported encoding", e2);
return str;
}
}
private final String zzjg() {
int i = 2 % 2;
if (this.zzaka <= 1) {
int i2 = e + 19;
a = i2 % 128;
int i3 = i2 % 2;
return "";
}
StringBuilder sb = new StringBuilder();
sb.append(Integer.toString(this.zzaka));
int i4 = 2;
while (i4 < this.zzaka) {
sb.append(' ');
i4++;
int i5 = a + 9;
e = i5 % 128;
int i6 = i5 % 2;
}
sb.append(": ");
return sb.toString();
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ zzee zza(zzff zzffVar) {
int i = 2 % 2;
int i2 = e + 17;
a = i2 % 128;
int i3 = i2 % 2;
zzee zzeeVar = zzffVar.zzapb;
if (i3 == 0) {
int i4 = 77 / 0;
}
return zzeeVar;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ com.google.android.gms.tagmanager.zzcd zzb(zzff zzffVar) {
int i = 2 % 2;
int i2 = a;
int i3 = i2 + 125;
e = i3 % 128;
int i4 = i3 % 2;
com.google.android.gms.tagmanager.zzcd zzcdVar = zzffVar.zzanh;
int i5 = i2 + 111;
e = i5 % 128;
int i6 = i5 % 2;
return zzcdVar;
}
}