EMOTIBOT v3.0.0版本的 MD5 值为:e78ae62c08f0ada6738206eeb97d2940
以下内容为反编译后的 sn2.java 源代码,内容仅作参考
package p.a.y.e.a.s.e.net;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.TextUtils;
import com.google.android.material.datepicker.UtcDates;
import java.io.ByteArrayOutputStream;
import java.io.ObjectOutputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;
import java.util.concurrent.CopyOnWriteArrayList;
public abstract class sn2 {
public static final String lite_else = Locale.getDefault().getLanguage().toLowerCase();
private static String lite_goto = null;
public static final DateFormat lite_long;
private static String lite_this;
private static long lite_void;
private List<pn2> lite_byte;
private final Map<String, Object> lite_case;
private vn2 lite_char;
private String lite_do;
private String lite_for;
private String lite_if;
private String lite_int;
private String lite_new;
private String lite_try;
static {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
lite_long = simpleDateFormat;
simpleDateFormat.setTimeZone(TimeZone.getTimeZone(UtcDates.UTC));
lite_this = co2.lite_do(5) + ye2.lite_final;
lite_void = 0L;
}
public sn2() {
this.lite_do = lite_goto;
this.lite_if = null;
this.lite_for = null;
this.lite_int = null;
this.lite_new = null;
this.lite_try = null;
this.lite_byte = new CopyOnWriteArrayList();
this.lite_case = new HashMap();
this.lite_char = null;
}
public sn2(Bundle bundle) {
this.lite_do = lite_goto;
this.lite_if = null;
this.lite_for = null;
this.lite_int = null;
this.lite_new = null;
this.lite_try = null;
this.lite_byte = new CopyOnWriteArrayList();
this.lite_case = new HashMap();
this.lite_char = null;
this.lite_for = bundle.getString("ext_to");
this.lite_int = bundle.getString("ext_from");
this.lite_new = bundle.getString("ext_chid");
this.lite_if = bundle.getString("ext_pkt_id");
Parcelable[] parcelableArray = bundle.getParcelableArray("ext_exts");
if (parcelableArray != null) {
this.lite_byte = new ArrayList(parcelableArray.length);
for (Parcelable parcelable : parcelableArray) {
pn2 lite_for = pn2.lite_for((Bundle) parcelable);
if (lite_for != null) {
this.lite_byte.add(lite_for);
}
}
}
Bundle bundle2 = bundle.getBundle("ext_ERROR");
if (bundle2 != null) {
this.lite_char = new vn2(bundle2);
}
}
public static synchronized String lite_goto() {
String sb;
synchronized (sn2.class) {
StringBuilder sb2 = new StringBuilder();
sb2.append(lite_this);
long j = lite_void;
lite_void = 1 + j;
sb2.append(Long.toString(j));
sb = sb2.toString();
}
return sb;
}
public static String lite_while() {
return lite_else;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
sn2 sn2Var = (sn2) obj;
vn2 vn2Var = this.lite_char;
if (vn2Var == null ? sn2Var.lite_char != null : !vn2Var.equals(sn2Var.lite_char)) {
return false;
}
String str = this.lite_int;
if (str == null ? sn2Var.lite_int != null : !str.equals(sn2Var.lite_int)) {
return false;
}
if (!this.lite_byte.equals(sn2Var.lite_byte)) {
return false;
}
String str2 = this.lite_if;
if (str2 == null ? sn2Var.lite_if != null : !str2.equals(sn2Var.lite_if)) {
return false;
}
String str3 = this.lite_new;
if (str3 == null ? sn2Var.lite_new != null : !str3.equals(sn2Var.lite_new)) {
return false;
}
Map<String, Object> map = this.lite_case;
if (map == null ? sn2Var.lite_case != null : !map.equals(sn2Var.lite_case)) {
return false;
}
String str4 = this.lite_for;
if (str4 == null ? sn2Var.lite_for != null : !str4.equals(sn2Var.lite_for)) {
return false;
}
String str5 = this.lite_do;
String str6 = sn2Var.lite_do;
if (str5 != null) {
if (str5.equals(str6)) {
return true;
}
} else if (str6 == null) {
return true;
}
return false;
}
public int hashCode() {
String str = this.lite_do;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.lite_if;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.lite_for;
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.lite_int;
int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31;
String str5 = this.lite_new;
int hashCode5 = (this.lite_case.hashCode() + ((this.lite_byte.hashCode() + ((hashCode4 + (str5 != null ? str5.hashCode() : 0)) * 31)) * 31)) * 31;
vn2 vn2Var = this.lite_char;
return hashCode5 + (vn2Var != null ? vn2Var.hashCode() : 0);
}
public String lite_break() {
return this.lite_for;
}
public synchronized Collection<pn2> lite_byte() {
if (this.lite_byte == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(new ArrayList(this.lite_byte));
}
public void lite_case(pn2 pn2Var) {
this.lite_byte.add(pn2Var);
}
public void lite_catch(String str) {
this.lite_new = str;
}
public void lite_char(vn2 vn2Var) {
this.lite_char = vn2Var;
}
public String lite_class() {
return this.lite_int;
}
public void lite_const(String str) {
this.lite_for = str;
}
public Bundle lite_do() {
Bundle bundle = new Bundle();
if (!TextUtils.isEmpty(this.lite_do)) {
bundle.putString("ext_ns", this.lite_do);
}
if (!TextUtils.isEmpty(this.lite_int)) {
bundle.putString("ext_from", this.lite_int);
}
if (!TextUtils.isEmpty(this.lite_for)) {
bundle.putString("ext_to", this.lite_for);
}
if (!TextUtils.isEmpty(this.lite_if)) {
bundle.putString("ext_pkt_id", this.lite_if);
}
if (!TextUtils.isEmpty(this.lite_new)) {
bundle.putString("ext_chid", this.lite_new);
}
vn2 vn2Var = this.lite_char;
if (vn2Var != null) {
bundle.putBundle("ext_ERROR", vn2Var.lite_do());
}
List<pn2> list = this.lite_byte;
if (list != null) {
Bundle[] bundleArr = new Bundle[list.size()];
int i = 0;
Iterator<pn2> it = this.lite_byte.iterator();
while (it.hasNext()) {
Bundle lite_do = it.next().lite_do();
if (lite_do != null) {
bundleArr[i] = lite_do;
i++;
}
}
bundle.putParcelableArray("ext_exts", bundleArr);
}
return bundle;
}
public synchronized Collection<String> lite_else() {
if (this.lite_case == null) {
return Collections.emptySet();
}
return Collections.unmodifiableSet(new HashSet(this.lite_case.keySet()));
}
public String lite_final() {
return this.lite_try;
}
public void lite_float(String str) {
this.lite_int = str;
}
public pn2 lite_for(String str, String str2) {
for (pn2 pn2Var : this.lite_byte) {
if (str2 == null || str2.equals(pn2Var.lite_char())) {
if (str.equals(pn2Var.lite_int())) {
return pn2Var;
}
}
}
return null;
}
public pn2 lite_if(String str) {
return lite_for(str, null);
}
public vn2 lite_int() {
return this.lite_char;
}
public String lite_long() {
if ("ID_NOT_AVAILABLE".equals(this.lite_if)) {
return null;
}
if (this.lite_if == null) {
this.lite_if = lite_goto();
}
return this.lite_if;
}
public synchronized Object lite_new(String str) {
Map<String, Object> map = this.lite_case;
if (map == null) {
return null;
}
return map.get(str);
}
public synchronized String lite_short() {
StringBuilder sb;
ByteArrayOutputStream byteArrayOutputStream;
ObjectOutputStream objectOutputStream;
Exception e;
String str;
sb = new StringBuilder();
Iterator<pn2> it = lite_byte().iterator();
while (it.hasNext()) {
sb.append(it.next().d());
}
Map<String, Object> map = this.lite_case;
if (map != null && !map.isEmpty()) {
sb.append("<properties xmlns=\"http://www.jivesoftware.com/xmlns/xmpp/properties\">");
for (String str2 : lite_else()) {
Object lite_new = lite_new(str2);
sb.append("<property>");
sb.append("<name>");
sb.append(co2.lite_if(str2));
sb.append("</name>");
sb.append("<value type=\"");
if (lite_new instanceof Integer) {
sb.append("integer\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Long) {
sb.append("long\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Float) {
sb.append("float\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Double) {
sb.append("double\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof Boolean) {
sb.append("boolean\">");
sb.append(lite_new);
str = "</value>";
} else if (lite_new instanceof String) {
sb.append("string\">");
sb.append(co2.lite_if((String) lite_new));
str = "</value>";
} else {
ObjectOutputStream objectOutputStream2 = null;
try {
byteArrayOutputStream = new ByteArrayOutputStream();
try {
objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);
try {
try {
objectOutputStream.writeObject(lite_new);
sb.append("java-object\">");
sb.append(co2.lite_int(byteArrayOutputStream.toByteArray()));
sb.append("</value>");
try {
objectOutputStream.close();
} catch (Exception unused) {
}
} catch (Throwable th) {
th = th;
objectOutputStream2 = objectOutputStream;
if (objectOutputStream2 != null) {
try {
objectOutputStream2.close();
} catch (Exception unused2) {
}
}
if (byteArrayOutputStream == null) {
throw th;
}
try {
byteArrayOutputStream.close();
throw th;
} catch (Exception unused3) {
throw th;
}
}
} catch (Exception e2) {
e = e2;
e.printStackTrace();
if (objectOutputStream != null) {
try {
objectOutputStream.close();
} catch (Exception unused4) {
}
}
if (byteArrayOutputStream == null) {
sb.append("</property>");
}
byteArrayOutputStream.close();
}
} catch (Exception e3) {
e = e3;
objectOutputStream = null;
e = e;
e.printStackTrace();
if (objectOutputStream != null) {
}
if (byteArrayOutputStream == null) {
}
byteArrayOutputStream.close();
} catch (Throwable th2) {
th = th2;
}
} catch (Exception e4) {
e = e4;
byteArrayOutputStream = null;
objectOutputStream = null;
} catch (Throwable th3) {
th = th3;
byteArrayOutputStream = null;
}
try {
byteArrayOutputStream.close();
} catch (Exception unused5) {
}
}
sb.append(str);
sb.append("</property>");
}
sb.append("</properties>");
}
return sb.toString();
}
public void lite_super(String str) {
this.lite_try = str;
}
public String lite_this() {
return this.lite_new;
}
public String lite_throw() {
return this.lite_do;
}
public abstract String lite_try();
public void lite_void(String str) {
this.lite_if = str;
}
}