what-the-bank/sources/o/C1152Wug.java

178 lines
7.2 KiB
Java

package o;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.Wug, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1152Wug extends TypeAdapter implements HJa {
private InterfaceC15734iCu c;
private Gson d;
private PYE e;
public C1152Wug(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.d = gson;
this.c = interfaceC15734iCu;
this.e = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
Wdj wdj = (Wdj) obj;
Gson gson = this.d;
PYE pye = this.e;
jsonWriter.beginObject();
if (wdj != wdj.b) {
pye.c(jsonWriter, 477);
String str = wdj.b;
DTh.b(gson, String.class, str).write(jsonWriter, str);
}
if (wdj != wdj.d) {
pye.c(jsonWriter, 532);
String str2 = wdj.d;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
}
if (wdj != wdj.a) {
pye.c(jsonWriter, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384);
String str3 = wdj.a;
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
}
if (wdj != wdj.c) {
pye.c(jsonWriter, 295);
String str4 = wdj.c;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
}
if (wdj != wdj.h) {
pye.c(jsonWriter, 463);
String str5 = wdj.h;
DTh.b(gson, String.class, str5).write(jsonWriter, str5);
}
if (wdj != wdj.j) {
pye.c(jsonWriter, 353);
String str6 = wdj.j;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
}
if (wdj != wdj.i) {
pye.c(jsonWriter, 619);
String str7 = wdj.i;
DTh.b(gson, String.class, str7).write(jsonWriter, str7);
}
if (wdj != wdj.f) {
pye.c(jsonWriter, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256);
String str8 = wdj.f;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
}
if (wdj != wdj.g) {
pye.c(jsonWriter, 218);
String str9 = wdj.g;
DTh.b(gson, String.class, str9).write(jsonWriter, str9);
}
if (wdj != wdj.f8433o) {
pye.c(jsonWriter, 416);
String str10 = wdj.f8433o;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
}
wdj.c(gson, jsonWriter, pye);
jsonWriter.endObject();
}
@Override // com.google.gson.TypeAdapter
/* renamed from: read */
public final Object read2(JsonReader jsonReader) throws IOException {
if (jsonReader.peek() == JsonToken.NULL) {
jsonReader.skipValue();
return null;
}
Wdj wdj = new Wdj();
Gson gson = this.d;
InterfaceC15734iCu interfaceC15734iCu = this.c;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
if (e != 210) {
if (e != 369) {
if (e != 387) {
if (e != 416) {
if (e != 566) {
if (e != 649) {
if (e != 652) {
if (e != 665) {
if (e != 507) {
if (e != 508) {
wdj.e(gson, jsonReader, e);
} else if (z) {
wdj.d = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.d = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.j = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.j = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.b = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.b = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.c = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.c = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.f8433o = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.f8433o = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.i = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.i = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.h = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.h = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.g = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.g = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.a = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.a = null;
jsonReader.nextNull();
}
} else if (z) {
wdj.f = (String) gson.getAdapter(String.class).read2(jsonReader);
} else {
wdj.f = null;
jsonReader.nextNull();
}
}
jsonReader.endObject();
return wdj;
}
}