整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 p5.java 源代码,内容仅作参考
package armadillo;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.os.Handler;
import android.os.Looper;
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RenderScript;
import android.renderscript.ScriptIntrinsicBlur;
import android.util.AndroidRuntimeException;
import android.util.Base64;
import android.view.View;
import android.widget.ImageView;
import armadillo.Model.App;
import armadillo.Model.AppInfo;
import armadillo.Model.AppSign;
import armadillo.Model.CheckInfo;
import armadillo.Model.CodeInfo;
import armadillo.Model.LoginInfo;
import armadillo.Model.QueryInfo;
import armadillo.Model.TrialInfo;
import armadillo.Ui.RoundImageView;
import armadillo.eo;
import armadillo.ko;
import armadillo.no;
import armadillo.p5;
import com.bumptech.glide.load.Key;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
public class p5 {
public static ko a;
public static class a implements sn {
public final b4 a;
public a(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), LoginInfo.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.a.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class b implements sn {
public final b4 a;
public b(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), a4.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.b.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class c implements sn {
public final b4 a;
public c(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), a4.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.c.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class d implements sn {
public final b4 a;
public d(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), LoginInfo.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.d.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class e implements sn {
public final b4 a;
public e(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
String a;
if (b4Var == null || (a = p5.a(poVar)) == null) {
return;
}
b4Var.a((a4) new ph().a(a, CheckInfo.class));
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.e.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class f implements sn {
public final b4 a;
public final no b;
public f(b4 b4Var, no noVar) {
this.a = b4Var;
this.b = noVar;
}
public static void a() {
System.exit(0);
throw new AndroidRuntimeException();
}
public static void a(b4 b4Var, po poVar, no noVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), AppInfo.class));
}
System.out.println(p5.a(poVar));
z3.a = (App) new ph().a(p5.a(noVar, poVar, "Apps"), App.class);
z3.b = (AppSign) new ph().a(p5.a(noVar, poVar, "AppsSign"), AppSign.class);
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
final no noVar = this.b;
handler.post(new Runnable() {
@Override
public final void run() {
p5.f.a(b4.this, poVar, noVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
iOException.printStackTrace();
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
p5.f.a();
throw null;
}
});
}
}
public static class g implements sn {
public final b4 a;
public g(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), CodeInfo.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.g.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class h implements sn {
public final b4 a;
public h(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
if (p5.a(poVar) != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), LoginInfo.class));
} else {
y5.b().a();
}
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.h.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class i implements sn {
public final b4 a;
public i(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
String a = p5.a(poVar);
if (a != null) {
b4Var.a((a4) new ph().a(a, TrialInfo.class));
} else {
y5.b().a();
}
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.i.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class j implements sn {
public final b4 a;
public j(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), QueryInfo.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.j.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class k implements sn {
public final b4 a;
public k(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
String a;
if (b4Var == null || (a = p5.a(poVar)) == null) {
return;
}
b4Var.a((a4) new ph().a(a, CheckInfo.class));
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.k.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class l implements sn {
public final b4 a;
public l(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
String a;
if (b4Var == null || (a = p5.a(poVar)) == null) {
return;
}
b4Var.a((a4) new ph().a(a, CheckInfo.class));
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.l.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
public static class m implements sn {
public final View a;
public m(View view) {
this.a = view;
}
public static void a(View view, Bitmap bitmap) {
if (view instanceof RoundImageView) {
RoundImageView roundImageView = (RoundImageView) view;
roundImageView.setImageBitmap(bitmap);
roundImageView.b();
} else if (view instanceof ImageView) {
((ImageView) view).setImageBitmap(bitmap);
} else if (view instanceof View) {
Context context = view.getContext();
Bitmap createBitmap = Bitmap.createBitmap(bitmap);
RenderScript create = RenderScript.create(context);
ScriptIntrinsicBlur create2 = ScriptIntrinsicBlur.create(create, Element.U8_4(create));
Allocation createFromBitmap = Allocation.createFromBitmap(create, bitmap);
Allocation createFromBitmap2 = Allocation.createFromBitmap(create, createBitmap);
create2.setRadius(25.0f);
create2.setInput(createFromBitmap);
create2.forEach(createFromBitmap2);
createFromBitmap2.copyTo(createBitmap);
create.destroy();
view.setBackground(new BitmapDrawable(createBitmap));
}
}
@Override
public void a(rn rnVar, po poVar) {
final Bitmap decodeStream = BitmapFactory.decodeStream(poVar.h.j().h());
Handler handler = new Handler(Looper.getMainLooper());
final View view = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.m.a(view, decodeStream);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
}
}
public static class n implements sn {
public final b4 a;
public n(b4 b4Var) {
this.a = b4Var;
}
public static void a(b4 b4Var, po poVar) {
if (b4Var != null) {
b4Var.a((a4) new ph().a(p5.a(poVar), a4.class));
}
}
@Override
public void a(rn rnVar, final po poVar) {
Handler handler = new Handler(Looper.getMainLooper());
final b4 b4Var = this.a;
handler.post(new Runnable() {
@Override
public final void run() {
p5.n.a(b4.this, poVar);
}
});
}
@Override
public void a(rn rnVar, IOException iOException) {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public final void run() {
throw new AndroidRuntimeException();
}
});
}
});
}
}
static {
ko.b bVar = new ko.b(new ko(new ko.b()));
bVar.w = true;
bVar.x = xo.a("timeout", 60L, TimeUnit.SECONDS);
bVar.y = xo.a("timeout", 60L, TimeUnit.SECONDS);
bVar.z = xo.a("timeout", 60L, TimeUnit.SECONDS);
a = new ko(bVar);
}
public static no a(HashMap<String, String> hashMap) {
eo.a aVar = new eo.a();
aVar.a("Appkey", q5.a.getProperty("Appkey"));
aVar.a("Ver", q5.a.getProperty("Ver"));
for (Map.Entry<String, String> entry : hashMap.entrySet()) {
aVar.a(entry.getKey(), entry.getValue());
}
no.a aVar2 = new no.a();
aVar2.a(com.baidu.mobads.sdk.internal.an.b, new eo(aVar.a, aVar.b));
aVar2.a("http://dzp2.dzpgrw.cn:8080/Auth/Verify");
return aVar2.a();
}
public static String a(no noVar, po poVar, String str) {
byte[] decode = Base64.decode(poVar.g.a(str).getBytes(), 2);
if (decode == null) {
return null;
}
try {
return new String(decode, Key.STRING_CHARSET_NAME);
} catch (UnsupportedEncodingException e2) {
e2.printStackTrace();
return null;
}
}
public static String a(po poVar) {
byte[] decode = Base64.decode(poVar.g.a("Result").getBytes(), 2);
if (decode == null) {
return null;
}
try {
return new String(decode, Key.STRING_CHARSET_NAME);
} catch (UnsupportedEncodingException e2) {
e2.printStackTrace();
return null;
}
}
public static void a(View view, String str) {
ko koVar = a;
no.a aVar = new no.a();
aVar.a(str);
((mo) koVar.a(aVar.a())).a(new m(view));
}
public static void a(Armadillo.b4<AppInfo> b4Var) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_GetSoftInfo");
no a2 = a(hashMap);
((mo) a.a(a2)).a(new f(b4Var, a2));
}
public static void a(Armadillo.b4<CodeInfo> b4Var, String str) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_GetCode");
hashMap.put("Mac", str);
((mo) a.a(a(hashMap))).a(new g(b4Var));
}
public static void a(Armadillo.b4<LoginInfo> b4Var, String str, String str2) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_Verify");
hashMap.put("Mac", str2);
hashMap.put("Code", str);
((mo) a.a(a(hashMap))).a(new h(b4Var));
}
public static void a(Armadillo.b4<CheckInfo> b4Var, String str, String str2, String str3) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Check");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("Token", str2);
hashMap.put("Mac", str3);
((mo) a.a(a(hashMap))).a(new e(b4Var));
}
public static void a(Armadillo.b4<CheckInfo> b4Var, String str, boolean z, String str2, String str3) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_Check");
hashMap.put("Mac", str2);
hashMap.put("Token", str);
hashMap.put("Code", str3);
hashMap.put("Type", z ? "formal" : "trial");
((mo) a.a(a(hashMap))).a(new k(b4Var));
}
public static void b(Armadillo.b4<QueryInfo> b4Var, String str) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_Query");
hashMap.put("Code", str);
((mo) a.a(a(hashMap))).a(new j(b4Var));
}
public static void b(Armadillo.b4<LoginInfo> b4Var, String str, String str2) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Pay");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("ReCard", str2);
((mo) a.a(a(hashMap))).a(new d(b4Var));
}
public static void b(Armadillo.b4<LoginInfo> b4Var, String str, String str2, String str3) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Login");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("PassWord", str2);
hashMap.put("Mac", str3);
((mo) a.a(a(hashMap))).a(new a(b4Var));
}
public static void c(Armadillo.b4<TrialInfo> b4Var, String str) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_Trial");
hashMap.put("Mac", str);
((mo) a.a(a(hashMap))).a(new i(b4Var));
}
public static void c(Armadillo.b4<a4> b4Var, String str, String str2) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Query");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("ReCard", str2);
((mo) a.a(a(hashMap))).a(new c(b4Var));
}
public static void c(Armadillo.b4<a4> b4Var, String str, String str2, String str3) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Register");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("PassWord", str2);
hashMap.put("Email", str3);
((mo) a.a(a(hashMap))).a(new n(b4Var));
}
public static void d(Armadillo.b4<a4> b4Var, String str, String str2) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_User_Unbind");
try {
hashMap.put("UserName", URLEncoder.encode(str, Key.STRING_CHARSET_NAME));
} catch (UnsupportedEncodingException unused) {
}
hashMap.put("PassWord", str2);
((mo) a.a(a(hashMap))).a(new b(b4Var));
}
public static void d(Armadillo.b4<CheckInfo> b4Var, String str, String str2, String str3) {
HashMap hashMap = new HashMap();
hashMap.put("Api", "PanGolin_PointCheck");
hashMap.put("Mac", str2);
hashMap.put("Token", str);
hashMap.put("Code", str3);
((mo) a.a(a(hashMap))).a(new l(b4Var));
}
}