正在查看: Uptodown App Store v6.80 应用的 x.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Uptodown App Store v6.80 应用的 x.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package X3;
import com.inmobi.cmp.data.storage.SharedStorage;
import com.inmobi.cmp.model.ChoiceError;
import java.util.List;
import java.util.Locale;
public final class x implements w {
public final Locale a;
public final W3.a b;
public final SharedStorage c;
public final W3.b d;
public Z3.j e;
public final String f;
public V3.r g;
public V3.e h;
public V3.i i;
public V3.n j;
public class a {
public static final int[] a;
static {
int[] iArr = new int[ChoiceError.values().length];
iArr[ChoiceError.NETWORK_FILE_NOT_FOUND_ERROR.ordinal()] = 1;
a = iArr;
}
}
public static final class b extends kotlin.coroutines.jvm.internal.d {
public Object a;
public Object b;
public int d;
public b(V2.d dVar) {
super(dVar);
}
public final Object invokeSuspend(Object obj) {
this.b = obj;
this.d |= Integer.MIN_VALUE;
return x.this.c(this);
}
}
public static final class c extends kotlin.coroutines.jvm.internal.d {
public Object a;
public Object b;
public int d;
public c(V2.d dVar) {
super(dVar);
}
public final Object invokeSuspend(Object obj) {
this.b = obj;
this.d |= Integer.MIN_VALUE;
return x.this.a(this);
}
}
public x(Locale locale, W3.a aVar, SharedStorage sharedStorage, W3.b bVar, Z3.j jVar) {
kotlin.jvm.internal.m.e(locale, "appLocale");
kotlin.jvm.internal.m.e(aVar, "networkUtil");
kotlin.jvm.internal.m.e(sharedStorage, "shareStorage");
kotlin.jvm.internal.m.e(bVar, "requestApi");
kotlin.jvm.internal.m.e(jVar, "resolver");
this.a = locale;
this.b = aVar;
this.c = sharedStorage;
this.d = bVar;
this.e = jVar;
this.f = "tcfv2/translations/";
this.h = new V3.e(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, -1, 262143);
this.i = new V3.i(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 32767);
this.j = new V3.n(null, null, null, null, null, null, null, null, null, null, 1023);
}
@Override
public java.lang.Object a(V2.d r13) {
throw new UnsupportedOperationException("Method not decompiled: X3.x.a(V2.d):java.lang.Object");
}
@Override
public void b(C3.f fVar) {
kotlin.jvm.internal.m.e(fVar, "portalConfig");
this.h = fVar.d;
this.i = fVar.e;
this.j = fVar.f;
}
public final java.lang.Object c(V2.d r61) {
throw new UnsupportedOperationException("Method not decompiled: X3.x.c(V2.d):java.lang.Object");
}
@Override
public V3.m d() {
String str;
k();
if (this.h.X.length() == 0) {
V3.r rVar = this.g;
if (rVar == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar = null;
}
str = rVar.a.X;
} else {
str = this.h.X;
}
return new V3.m(str, i());
}
@Override
public V3.h e() {
String str;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
String str8;
String str9;
String str10;
k();
V3.r rVar = null;
if (this.h.r.length() == 0) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
str = rVar2.a.r;
} else {
str = this.h.r;
}
if (this.h.G.length() == 0) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
str2 = rVar3.a.G;
} else {
str2 = this.h.G;
}
if (this.h.K.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
str3 = rVar4.a.K;
} else {
str3 = this.h.K;
}
if (this.h.L.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str4 = rVar5.a.L;
} else {
str4 = this.h.L;
}
if (this.h.M.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar6 = null;
}
str5 = rVar6.a.M;
} else {
str5 = this.h.M;
}
if (this.i.b.length() == 0) {
V3.r rVar7 = this.g;
if (rVar7 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar7 = null;
}
str6 = rVar7.c.b;
} else {
str6 = this.i.b;
}
if (this.h.Q.length() == 0) {
V3.r rVar8 = this.g;
if (rVar8 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar8 = null;
}
str7 = rVar8.a.Q;
} else {
str7 = this.h.Q;
}
if (this.h.q.length() == 0) {
V3.r rVar9 = this.g;
if (rVar9 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar9 = null;
}
str8 = rVar9.a.q;
} else {
str8 = this.h.q;
}
if (this.i.d.length() == 0) {
V3.r rVar10 = this.g;
if (rVar10 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar10 = null;
}
str9 = rVar10.c.d;
} else {
str9 = this.i.d;
}
if (this.i.e.length() == 0) {
V3.r rVar11 = this.g;
if (rVar11 == null) {
kotlin.jvm.internal.m.u("translationsText");
} else {
rVar = rVar11;
}
str10 = rVar.c.e;
} else {
str10 = this.i.e;
}
return new V3.h(str, str2, str3, str4, str5, str6, str7, str8, str9, str10, i());
}
@Override
public V3.j f() {
String str;
String O;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
String str8;
String str9;
String str10;
String str11;
String str12;
String str13;
String str14;
k();
if (this.h.a.length() == 0) {
V3.r rVar = this.g;
if (rVar == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar = null;
}
str = rVar.a.a;
} else {
str = this.h.a;
}
if (this.i.o.isEmpty()) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
O = S2.o.O(rVar2.c.o, " ", (CharSequence) null, (CharSequence) null, 0, (CharSequence) null, (d3.l) null, 62, (Object) null);
} else {
O = S2.o.O(this.i.o, " ", (CharSequence) null, (CharSequence) null, 0, (CharSequence) null, (d3.l) null, 62, (Object) null);
}
if (this.h.r.length() == 0) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
str2 = rVar3.a.r;
} else {
str2 = this.h.r;
}
if (this.h.Q.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
str3 = rVar4.a.Q;
} else {
str3 = this.h.Q;
}
if (this.i.f.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str4 = rVar5.c.f;
} else {
str4 = this.i.f;
}
if (this.h.o.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar6 = null;
}
str5 = rVar6.a.o;
} else {
str5 = this.h.o;
}
if (this.h.c.length() == 0) {
V3.r rVar7 = this.g;
if (rVar7 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar7 = null;
}
str6 = rVar7.a.c;
} else {
str6 = this.h.c;
}
if (this.h.p.length() == 0) {
V3.r rVar8 = this.g;
if (rVar8 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar8 = null;
}
str7 = rVar8.a.p;
} else {
str7 = this.h.p;
}
if (this.h.A.length() == 0) {
V3.r rVar9 = this.g;
if (rVar9 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar9 = null;
}
str8 = rVar9.a.A;
} else {
str8 = this.h.A;
}
if (this.h.q.length() == 0) {
V3.r rVar10 = this.g;
if (rVar10 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar10 = null;
}
str9 = rVar10.a.q;
} else {
str9 = this.h.q;
}
if (this.i.i.length() == 0) {
V3.r rVar11 = this.g;
if (rVar11 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar11 = null;
}
str10 = rVar11.c.i;
} else {
str10 = this.i.i;
}
if (this.i.j.length() == 0) {
V3.r rVar12 = this.g;
if (rVar12 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar12 = null;
}
str11 = rVar12.c.j;
} else {
str11 = this.i.j;
}
if (this.i.k.length() == 0) {
V3.r rVar13 = this.g;
if (rVar13 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar13 = null;
}
str12 = rVar13.c.k;
} else {
str12 = this.i.k;
}
if (this.i.l.length() == 0) {
V3.r rVar14 = this.g;
if (rVar14 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar14 = null;
}
str13 = rVar14.c.l;
} else {
str13 = this.i.l;
}
String i = i();
String str15 = str13;
if (this.h.B.length() == 0) {
V3.r rVar15 = this.g;
if (rVar15 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar15 = null;
}
str14 = rVar15.a.B;
} else {
str14 = this.h.B;
}
return new V3.j(str, O, str2, str3, str4, str5, str6, str7, str8, str9, str10, str11, str12, str15, i, str14);
}
@Override
public V3.k g() {
String str;
String upperCase;
String upperCase2;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
String str8;
String str9;
String str10;
String str11;
String str12;
k();
V3.r rVar = null;
if (this.h.Q.length() == 0) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
str = rVar2.a.Q;
} else {
str = this.h.Q;
}
String str13 = str;
if (this.h.r.length() == 0) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
upperCase = rVar3.a.r.toUpperCase(this.a);
kotlin.jvm.internal.m.d(upperCase, "this as java.lang.String).toUpperCase(locale)");
} else {
upperCase = this.h.r.toUpperCase(this.a);
kotlin.jvm.internal.m.d(upperCase, "this as java.lang.String).toUpperCase(locale)");
}
String str14 = upperCase;
if (this.h.s.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
upperCase2 = rVar4.a.s.toUpperCase(this.a);
kotlin.jvm.internal.m.d(upperCase2, "this as java.lang.String).toUpperCase(locale)");
} else {
upperCase2 = this.h.s.toUpperCase(this.a);
kotlin.jvm.internal.m.d(upperCase2, "this as java.lang.String).toUpperCase(locale)");
}
String str15 = upperCase2;
if (this.h.u.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str2 = rVar5.a.u;
} else {
str2 = this.h.u;
}
String str16 = str2;
if (this.h.t.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar6 = null;
}
str3 = rVar6.a.t;
} else {
str3 = this.h.t;
}
String str17 = str3;
if (this.h.v.length() == 0) {
V3.r rVar7 = this.g;
if (rVar7 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar7 = null;
}
str4 = rVar7.a.v;
} else {
str4 = this.h.v;
}
String str18 = str4;
if (this.h.E.length() == 0) {
V3.r rVar8 = this.g;
if (rVar8 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar8 = null;
}
str5 = rVar8.a.E;
} else {
str5 = this.h.E;
}
String str19 = str5;
if (this.h.R.length() == 0) {
V3.r rVar9 = this.g;
if (rVar9 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar9 = null;
}
str6 = rVar9.a.R;
} else {
str6 = this.h.R;
}
String str20 = str6;
if (this.h.S.length() == 0) {
V3.r rVar10 = this.g;
if (rVar10 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar10 = null;
}
str7 = rVar10.a.S;
} else {
str7 = this.h.S;
}
String str21 = str7;
if (this.h.T.length() == 0) {
V3.r rVar11 = this.g;
if (rVar11 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar11 = null;
}
str8 = rVar11.a.T;
} else {
str8 = this.h.T;
}
String str22 = str8;
if (this.h.U.length() == 0) {
V3.r rVar12 = this.g;
if (rVar12 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar12 = null;
}
str9 = rVar12.a.U;
} else {
str9 = this.h.U;
}
String str23 = str9;
if (this.h.V.length() == 0) {
V3.r rVar13 = this.g;
if (rVar13 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar13 = null;
}
str10 = rVar13.a.V;
} else {
str10 = this.h.V;
}
String str24 = str10;
if (this.h.W.length() == 0) {
V3.r rVar14 = this.g;
if (rVar14 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar14 = null;
}
str11 = rVar14.a.W;
} else {
str11 = this.h.W;
}
String str25 = str11;
if (this.h.X.length() == 0) {
V3.r rVar15 = this.g;
if (rVar15 == null) {
kotlin.jvm.internal.m.u("translationsText");
} else {
rVar = rVar15;
}
str12 = rVar.a.X;
} else {
str12 = this.h.X;
}
return new V3.k(str13, str14, str15, str16, str17, str18, str19, str20, str21, str22, str12, str23, str24, str25, i());
}
@Override
public V3.q h() {
String str;
String str2;
String str3;
String str4;
String str5;
k();
V3.r rVar = null;
if (this.h.Q.length() == 0) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
str = rVar2.a.Q;
} else {
str = this.h.Q;
}
if (this.h.A.length() == 0) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
str2 = rVar3.a.A;
} else {
str2 = this.h.A;
}
if (this.h.c.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
str3 = rVar4.a.c;
} else {
str3 = this.h.c;
}
if (this.i.b.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str4 = rVar5.c.b;
} else {
str4 = this.i.b;
}
if (this.i.l.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
} else {
rVar = rVar6;
}
str5 = rVar.c.l;
} else {
str5 = this.i.l;
}
return new V3.q(str, str2, str3, str4, str5, i());
}
public final String i() {
if (this.h.w.length() != 0) {
return this.h.w;
}
V3.r rVar = this.g;
if (rVar == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar = null;
}
return rVar.a.w;
}
public final String j() {
String j = this.c.j(a4.a.PORTAL_CHOICE_LANG);
kotlin.jvm.internal.m.e(j, "key");
int[] a2 = E2.b.a(26);
int length = a2.length;
int i = 0;
while (true) {
if (i >= length) {
j = this.a.getLanguage();
break;
}
int i2 = a2[i];
i++;
if (m3.m.p(z3.a.b(i2), j, true) && !m3.m.p(j, "autoDetectedLanguage", true)) {
break;
}
}
StringBuilder a3 = A2.a.a("https://cmp.inmobi.com/");
a3.append(this.f);
kotlin.jvm.internal.m.d(j, "language");
String lowerCase = j.toLowerCase(this.a);
kotlin.jvm.internal.m.d(lowerCase, "this as java.lang.String).toLowerCase(locale)");
a3.append(lowerCase);
a3.append(".json");
return a3.toString();
}
public final void k() {
if (this.g == null) {
String j = this.c.j(a4.a.TRANSLATIONS_TEXT);
this.g = j.length() > 0 ? (V3.r) this.e.a(j) : new V3.r(null, null, null, 7);
}
}
@Override
public V3.a b() {
String str;
List list;
String str2;
String str3;
String str4;
V3.r rVar = null;
if (this.j.c.length() == 0) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
str = rVar2.b.c;
} else {
str = this.j.c;
}
if (this.j.d.isEmpty()) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
list = rVar3.b.d;
} else {
list = this.j.d;
}
if (this.j.g.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
str2 = rVar4.b.g;
} else {
str2 = this.j.g;
}
if (this.j.h.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str3 = rVar5.b.h;
} else {
str3 = this.j.h;
}
if (this.j.f.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
} else {
rVar = rVar6;
}
str4 = rVar.b.f;
} else {
str4 = this.j.f;
}
return new V3.a(str, list, str2, str3, str4, i());
}
@Override
public V3.g c() {
throw new UnsupportedOperationException("Method not decompiled: X3.x.c():V3.g");
}
@Override
public V3.l a() {
String str;
String str2;
String str3;
String str4;
String str5;
String str6;
k();
V3.r rVar = null;
if (this.i.f.length() == 0) {
V3.r rVar2 = this.g;
if (rVar2 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar2 = null;
}
str = rVar2.c.f;
} else {
str = this.i.f;
}
if (this.h.D.length() == 0) {
V3.r rVar3 = this.g;
if (rVar3 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar3 = null;
}
str2 = rVar3.a.D;
} else {
str2 = this.h.D;
}
if (this.i.b.length() == 0) {
V3.r rVar4 = this.g;
if (rVar4 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar4 = null;
}
str3 = rVar4.c.b;
} else {
str3 = this.i.b;
}
if (this.h.q.length() == 0) {
V3.r rVar5 = this.g;
if (rVar5 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar5 = null;
}
str4 = rVar5.a.q;
} else {
str4 = this.h.q;
}
if (this.i.d.length() == 0) {
V3.r rVar6 = this.g;
if (rVar6 == null) {
kotlin.jvm.internal.m.u("translationsText");
rVar6 = null;
}
str5 = rVar6.c.d;
} else {
str5 = this.i.d;
}
if (this.i.e.length() == 0) {
V3.r rVar7 = this.g;
if (rVar7 == null) {
kotlin.jvm.internal.m.u("translationsText");
} else {
rVar = rVar7;
}
str6 = rVar.c.e;
} else {
str6 = this.i.e;
}
return new V3.l(str, str2, str3, str4, str5, str6, i());
}
}