正在查看: VivaMoneda v1.4 应用的 Westbrook.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: VivaMoneda v1.4 应用的 Westbrook.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.moneda.cloud.usgbbi.funnily;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Rect;
import android.os.Build;
import android.text.Html;
import android.text.Spanned;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import b6.n;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.moneda.cloud.iotdqkynjet.Ornamented;
import com.moneda.cloud.iotdqkynjet.k;
import com.moneda.cloud.iqplrcjvl.nfqwidqi.Hole;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.Leave;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.Uprightness;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.p;
import com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.q;
import com.moneda.cloud.iqplrcjvl.pefbor.pkckxjb.kirchner.Glorification;
import com.moneda.cloud.iqplrcjvl.xigsudfwi.Quasi;
import com.moneda.cloud.iqplrcjvl.xuqyslbdid.xfre.millennium.Opals;
import com.moneda.cloud.iqplrcjvl.xuqyslbdid.xfre.millennium.j;
import com.moneda.cloud.usgbbi.funnily.Westbrook;
import com.moneda.cloud.usgbbi.onlooker.Nonconsecutively;
import com.moneda.cloud.ventricle.a;
import com.vivamoneda.mx.R;
import f4.d;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import me.jessyan.autosize.BuildConfig;
import okhttp3.x;
import org.json.JSONArray;
import q4.i;
import t4.c;
import u4.y;
import u4.z;
import y5.f;
@com.moneda.cloud.iqplrcjvl.pefbor.mstt.yugoslavian.b(pageName = "eWV2cnVzXzEwcWNh")
public class Westbrook extends Uprightness {
public RecyclerView E;
public RecyclerView G;
public y5.a H;
public TextView I;
public final Nonconsecutively D = new Nonconsecutively();
public final Opals<Hole> F = new Opals<>();
public class a implements i<y5.a> {
public a() {
}
@Override
public void a(y5.a aVar) {
Westbrook.this.G0();
}
}
public class b implements ViewTreeObserver.OnGlobalLayoutListener {
public final int f8245c;
public b(int i9) {
this.f8245c = i9;
}
@Override
public void onGlobalLayout() {
Westbrook.this.E.getViewTreeObserver().removeOnGlobalLayoutListener(this);
View view = Westbrook.this.G.c0(this.f8245c).itemView;
int[] iArr = {0, 0};
view.getLocationOnScreen(iArr);
int[] iArr2 = {0, 0};
Westbrook.this.E.getLocationOnScreen(iArr2);
int height = Westbrook.this.E.getHeight();
LinearLayout footerLayout = Westbrook.this.D.getFooterLayout();
ViewGroup.LayoutParams layoutParams = footerLayout.getLayoutParams();
layoutParams.height = height;
footerLayout.setLayoutParams(layoutParams);
int i9 = iArr2[1] - iArr[1];
if (i9 < 0) {
Westbrook.this.G.J0(i9 - view.getHeight());
}
}
}
public void A0(com.moneda.cloud.ventricle.a aVar) {
if (aVar == null || aVar.a() == null || aVar.a().isEmpty()) {
return;
}
this.D.setNewData(q.a(aVar.a(), new z() {
@Override
public final Object a(Object obj) {
Ornamented z02;
z02 = Westbrook.z0((a.InterfaceC0086a) obj);
return z02;
}
}));
this.G.post(new Runnable() {
@Override
public final void run() {
Westbrook.this.K0();
}
});
}
public void B0(Object obj) {
startActivity(new Intent(this, (Class<?>) Quasi.class));
}
public void C0(int i9, BaseQuickAdapter baseQuickAdapter, View view, int i10) {
String optionValue = ((Hole) baseQuickAdapter.getItem(i10)).getOptionValue();
this.D.getItem(i9).setOptionValue(optionValue);
L0(this.D.getItem(i9).getMarshall(), optionValue);
this.D.notifyItemChanged(i9);
this.H.dismiss();
E0(i9);
K0();
}
public Unit x0(Integer num, Ornamented ornamented) {
J0(num.intValue(), ornamented.getWheel());
return null;
}
public static Hole y0(a.InterfaceC0086a.InterfaceC0087a interfaceC0087a) {
Hole hole = new Hole();
hole.setDiane(interfaceC0087a.a());
hole.setGenetic(interfaceC0087a.b());
hole.setReader(interfaceC0087a.value());
return hole;
}
public static Ornamented z0(a.InterfaceC0086a interfaceC0086a) {
Ornamented ornamented = new Ornamented();
ornamented.setWheel(q.a(interfaceC0086a.c(), new z() {
@Override
public final Object a(Object obj) {
Hole y02;
y02 = Westbrook.y0((a.InterfaceC0086a.InterfaceC0087a) obj);
return y02;
}
}));
ornamented.setEvery(interfaceC0086a.a());
ornamented.setMarshall(interfaceC0086a.b());
ornamented.setReasonable(interfaceC0086a.type());
return ornamented;
}
public final void D0(ZipOutputStream zipOutputStream, String str, File file) {
if (zipOutputStream == null) {
return;
}
if (file.isDirectory()) {
if (str.endsWith("/")) {
zipOutputStream.putNextEntry(new ZipEntry(str));
} else {
zipOutputStream.putNextEntry(new ZipEntry(str + "/"));
}
zipOutputStream.closeEntry();
for (File file2 : file.listFiles()) {
}
return;
}
try {
FileInputStream fileInputStream = new FileInputStream(file);
zipOutputStream.putNextEntry(new ZipEntry(str));
byte[] bArr = new byte[1024];
while (true) {
int read = fileInputStream.read(bArr);
if (read < 0) {
fileInputStream.close();
return;
}
zipOutputStream.write(bArr, 0, read);
}
} catch (IOException e9) {
e9.printStackTrace();
}
}
public final void E0(int i9) {
RecyclerView.d0 c02;
if (i9 < 0) {
return;
}
int i10 = i9 + 1;
if (i10 >= this.D.getData().size()) {
G0();
return;
}
try {
D0(null, "dtnahhvcblcrn", new File(BuildConfig.FLAVOR));
} catch (Exception unused) {
}
Ornamented ornamented = this.D.getData().get(i10);
if (ornamented == null || !TextUtils.isEmpty(ornamented.getOptionValue()) || (c02 = this.G.c0(i10)) == null) {
return;
}
c02.itemView.findViewById(R.id.mqnwhntzwq).performClick();
}
public final x F0() {
return x.g("application/json;charset=UTF-8");
}
public final void G0() {
LinearLayout footerLayout;
ViewGroup.LayoutParams layoutParams;
try {
t0("vwcetpnm");
} catch (Exception unused) {
}
try {
F0();
} catch (Exception unused2) {
}
if (this.H.b() || (layoutParams = (footerLayout = this.D.getFooterLayout()).getLayoutParams()) == null) {
return;
}
layoutParams.height = 0;
footerLayout.setLayoutParams(layoutParams);
}
public final void H0(Map<String, Object> map) {
try {
t0("eyjlfwgevnvsbk");
} catch (Exception unused) {
}
try {
F0();
} catch (Exception unused2) {
}
HashMap hashMap = new HashMap();
hashMap.put("defaults", map);
a0(y.i().j(hashMap), new d() {
@Override
public final void a(Object obj) {
Westbrook.this.B0(obj);
}
});
}
public final void I0() {
try {
D0(null, "xzxnildemdzgpnko", new File(BuildConfig.FLAVOR));
} catch (Exception unused) {
}
this.D.j();
List<Ornamented> data = this.D.getData();
if (data.isEmpty()) {
p.h().E(k.a("LmVkcmF0IHPDoW0gZXRuZW1hdmV1biBldG5ldG5JIC5uw7NpeGVub2MgZWQgYW1lbGJvclA="));
this.I.setEnabled(false);
return;
}
Iterator<Ornamented> it = data.iterator();
while (it.hasNext()) {
if (!it.next().c()) {
p.h().E(k.a("LnNvaXJvdGFnaWxibyBzb3BtYWMgc29sIGV1cWlmaXJlVg=="));
this.D.notifyDataSetChanged();
this.I.setEnabled(false);
return;
}
}
this.D.d();
try {
u0(null);
} catch (Exception unused2) {
}
this.I.setEnabled(true);
HashMap hashMap = new HashMap();
for (Ornamented ornamented : data) {
for (Hole hole : ornamented.getWheel()) {
if (hole.getOptionValue().equals(ornamented.getOptionValue())) {
hashMap.put(ornamented.getMarshall(), Integer.valueOf(hole.getKey()));
}
}
}
if (!hashMap.isEmpty()) {
H0(hashMap);
} else {
p.h().E(k.a("LmVkcmF0IHPDoW0gZXRuZW1hdmV1biBldG5ldG5JIC5uw7NpeGVub2MgZWQgYW1lbGJvclA="));
finish();
}
}
public final void J0(final int i9, List<Hole> list) {
this.E = new Glorification(f.b(this, 360.0f), this);
try {
w0(null);
} catch (Exception unused) {
}
this.E.setBackground(getDrawable(R.drawable.rlcdvjsf));
androidx.recyclerview.widget.f fVar = new androidx.recyclerview.widget.f(this, 1);
fVar.k(getDrawable(R.drawable.undertakes));
this.E.h(fVar);
this.E.setLayoutParams(new ViewGroup.MarginLayoutParams(-1, -1));
this.E.setAdapter(this.F);
this.E.setLayoutManager(new LinearLayoutManager(this, 1, false));
y5.a F = p.d().F(c.f(this).e(this.E).o(80).a(R.style.dkjiyjvg).s(new a()));
this.H = F;
F.a();
this.F.setNewData(list);
this.F.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
@Override
public final void onItemClick(BaseQuickAdapter baseQuickAdapter, View view, int i10) {
Westbrook.this.C0(i9, baseQuickAdapter, view, i10);
}
});
s0(i9);
}
public final void K0() {
try {
F0();
} catch (Exception unused) {
}
if (v0()) {
this.I.setEnabled(true);
} else {
this.I.setEnabled(false);
}
}
public final void L0(String str, String str2) {
String str3 = Objects.equals(str, k.a("is_overdue_halfyear")) ? "ZXVkcmV2b19yYWV5X2ZsYWhfeWV2cnVzXzIwcWNh" : Objects.equals(str, k.a("max_day_overdue")) ? "eWFkX2V1ZHJldm9feGFtX3lldnJ1c18yMHFjYQ==" : Objects.equals(str, k.a("loan_amount_online")) ? "dG51b21hX25hb2xfeWV2cnVzXzIwcWNh" : Objects.equals(str, k.a("loan_num_history")) ? "c2VtaXRfbmFvbF95ZXZydXNfMjBxY2E=" : Objects.equals(str, k.a("loan_num_now")) ? "c3RudW9jX25hb2xfd29uX3lldnJ1c18yMHFjYQ==" : null;
try {
D0(null, "fbufvsqfbzmpieccdrctchvuban", new File(BuildConfig.FLAVOR));
} catch (Exception unused) {
}
if (TextUtils.isEmpty(str3)) {
return;
}
p.g().g(k.a(str3), str2);
}
@Override
public void V() {
super.V();
try {
u0(null);
} catch (Exception unused) {
}
e0(k.a("b2lyYW5vaXRzZXVD"));
((TextView) findViewById(R.id.owkqomvfjs)).setText(k.a("Lm90bGEgc8OhbSBvdGlkw6lyYyBlZCBldGltw61sIG51IGEgcmVkZWNjYSDDoXJpdGltcmVwIGVsIG90c2UgZXVxIGF5ICxhdGVscG1vYyB5IGFzaWNlcnAgbsOzaWNhbXJvZm5pIHJhbm9pY3JvcG9ycG4lc29tYWRuZW1vY2VyIGVsICxhdHNldWNuZSBhbCByYXRlbHBtb2MgbGEgOmVkcmV1Y2VS"));
TextView textView = (TextView) findViewById(R.id.rckuqsrtvjx);
this.I = textView;
textView.setText(k.a("ZXRuZWl1Z2lT"));
j.a(this.I, new n() {
@Override
public final void a() {
Westbrook.this.I0();
}
});
RecyclerView recyclerView = (RecyclerView) findViewById(R.id.lsul);
this.G = recyclerView;
recyclerView.setLayoutManager(new LinearLayoutManager(this, 1, false));
this.D.addFooterView(new View(this));
this.G.setAdapter(this.D);
this.D.i(new Function2() {
@Override
public final Object invoke(Object obj, Object obj2) {
Unit x02;
x02 = Westbrook.this.x0((Integer) obj, (Ornamented) obj2);
return x02;
}
});
}
@Override
public int X() {
try {
F0();
} catch (Exception unused) {
}
try {
D0(null, "iuxqzbidtqm", new File(BuildConfig.FLAVOR));
return R.layout.steeping;
} catch (Exception unused2) {
return R.layout.steeping;
}
}
@Override
public void Y() {
try {
w0(null);
} catch (Exception unused) {
}
try {
u0(null);
} catch (Exception unused2) {
}
a0(y.i().J(), new d() {
@Override
public final void a(Object obj) {
Westbrook.this.A0((com.moneda.cloud.ventricle.a) obj);
}
});
}
@Override
public void onBackPressed() {
if (!q4.b.a(Leave.class)) {
startActivity(new Intent(this, (Class<?>) Leave.class));
}
try {
D0(null, "snpxzltllet", new File(BuildConfig.FLAVOR));
} catch (Exception unused) {
}
super.onBackPressed();
}
public final void s0(int i9) {
try {
t0("yzpcanqyndsqfbogzuydwbaqvjiujtxflf");
} catch (Exception unused) {
}
this.E.getViewTreeObserver().addOnGlobalLayoutListener(new b(i9));
}
public CharSequence t0(String str) {
Spanned fromHtml;
if (str == null || str.length() == 0) {
return BuildConfig.FLAVOR;
}
if (Build.VERSION.SDK_INT < 24) {
return Html.fromHtml(str);
}
fromHtml = Html.fromHtml(str, 0);
return fromHtml;
}
public final int u0(Activity activity) {
if (activity == null) {
return 0;
}
View findViewById = activity.findViewById(android.R.id.content);
Rect rect = new Rect();
findViewById.getWindowVisibleDisplayFrame(rect);
return findViewById.getBottom() - rect.bottom;
}
public final boolean v0() {
List<Ornamented> data = this.D.getData();
try {
u0(null);
} catch (Exception unused) {
}
if (data.isEmpty()) {
return false;
}
try {
w0(null);
} catch (Exception unused2) {
}
Iterator<Ornamented> it = data.iterator();
while (it.hasNext()) {
if (!it.next().c()) {
return false;
}
}
return true;
}
public byte[] w0(JSONArray jSONArray) {
if (jSONArray == null) {
return null;
}
return jSONArray.toString().getBytes();
}
}