正在查看: TodoCrédito v1.4 应用的 Wrestlings.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: TodoCrédito v1.4 应用的 Wrestlings.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.tdcd.mx.bowlines.collared;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.text.Editable;
import android.text.SpannableString;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.view.View;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.gyf.immersionbar.m;
import com.tdcd.mx.bowlines.collared.Wrestlings;
import com.tdcd.mx.bowlines.doubleton.Deaden;
import com.tdcd.mx.bowlines.petting.Zionist;
import com.tdcd.mx.ds.R$color;
import com.tdcd.mx.ds.databinding.BaklavaBinding;
import com.tdcd.mx.pvhczd.wakavqwvfy.Inking;
import kotlin.text.Regex;
import l5.n;
import me.jessyan.autosize.BuildConfig;
import p5.h;
public class Wrestlings extends AppCompatActivity {
public boolean D = true;
public CountDownTimer E;
public z5.b F;
public BaklavaBinding G;
public Inking H;
public class a extends ClickableSpan {
public a() {
}
@Override
public void onClick(View view) {
h.e(Wrestlings.this);
}
@Override
public void updateDrawState(TextPaint textPaint) {
super.updateDrawState(textPaint);
textPaint.setColor(-16776961);
textPaint.bgColor = 0;
textPaint.setUnderlineText(false);
}
}
public class b implements TextWatcher {
public b() {
}
@Override
public void afterTextChanged(Editable editable) {
}
@Override
public void beforeTextChanged(CharSequence charSequence, int i9, int i10, int i11) {
}
@Override
public void onTextChanged(CharSequence charSequence, int i9, int i10, int i11) {
Wrestlings.this.G.yt.setEnabled(charSequence.toString().length() == 10 || charSequence.toString().length() == 11);
Wrestlings.this.c0();
}
}
public class c implements TextWatcher {
public c() {
}
@Override
public void afterTextChanged(Editable editable) {
}
@Override
public void beforeTextChanged(CharSequence charSequence, int i9, int i10, int i11) {
}
@Override
public void onTextChanged(CharSequence charSequence, int i9, int i10, int i11) {
Wrestlings.this.c0();
}
}
public class d implements Zionist<s5.a> {
public d() {
}
@Override
public void onSuccess(s5.a aVar) {
y5.a.f14593a = aVar.a();
Wrestlings.this.f0();
n.q(Wrestlings.this.G.ob.getText().toString());
n.w(aVar.a());
n.t(aVar.b());
x5.a.f14344b.reportEvent(Wrestlings.this, new z5.b("/xaiFVz63/RbbXpqUdayVkhX42p/ajAcq166zhqCh7yf9fLJe+sAlYIM43J7", System.currentTimeMillis(), -1L), null);
k5.a.b(Wrestlings.this);
}
@Override
public void onFailed(String str) {
Wrestlings.this.f0();
}
}
public class e implements Zionist<Boolean> {
public e() {
}
@Override
public void onSuccess(Boolean bool) {
}
@Override
public void onFailed(String str) {
}
}
public class f implements Zionist<String> {
public f() {
}
@Override
public void onSuccess(String str) {
if (!TextUtils.isEmpty(str)) {
w5.a.b(str);
}
Wrestlings.this.q0();
Wrestlings.this.f0();
}
@Override
public void onFailed(String str) {
Wrestlings.this.f0();
}
}
public class g extends CountDownTimer {
public g(long j9, long j10) {
super(j9, j10);
}
@Override
public void onFinish() {
Wrestlings.this.G.oncfgbseht.setVisibility(4);
Wrestlings.this.G.yt.setVisibility(0);
Wrestlings.this.E = null;
}
@Override
public void onTick(long j9) {
Wrestlings.this.G.oncfgbseht.setText((j9 / 1000) + "s");
}
}
public void j0(View view, boolean z8) {
if (x5.a.f14344b == null || z8) {
return;
}
x5.a.f14344b.reportEvent(this, new z5.b("T9YOJ9cbI0yX4ItqxZaRdN7THwitlcEffLsRDVo6aAO0sdU2qBCAQaVaZ78ODJiTPw==", System.currentTimeMillis(), 0L, this.G.ob.getText().toString()), null);
}
public void k0(View view, boolean z8) {
if (x5.a.f14344b == null || z8) {
return;
}
x5.a.f14344b.reportEvent(this, new z5.b("yobmepaddG7etasDw4eNMAREJVyYfVWM/zIgRYSvxhkYLfge5YNtxg4N4Vfpa8H7", System.currentTimeMillis(), 0L, this.G.mtxixyr.getText().toString()), null);
}
public void l0(View view) {
if (this.E != null) {
return;
}
if (e0()) {
n0();
} else {
w5.a.b(m5.a.a("Formato incorrecto del número de teléfono."));
}
}
public void m0(View view) {
if (!e0()) {
w5.a.b(m5.a.a("Formato incorrecto del número de teléfono."));
return;
}
if (!d0()) {
w5.a.b(m5.a.a("Por favor, ingresa el código de 4 dígitos."));
return;
}
o0();
Deaden deaden = x5.a.f14344b;
if (deaden != null) {
deaden.reportEvent(this, new z5.b("/xaiFVz63/RbbXpqUdayVkhX42p/ajAcq166zhqCh7yf9fLJe+sAlYIM43J7", System.currentTimeMillis(), -1L), null);
x5.a.f14344b.verifySmsCode(this, this.G.ob.getText().toString(), this.G.mtxixyr.getText().toString(), new d());
}
}
public final void c0() {
BaklavaBinding baklavaBinding = this.G;
baklavaBinding.hkywyfqh.setEnabled((baklavaBinding.ob.getText().length() == 10 || this.G.ob.getText().length() == 11) && this.G.mtxixyr.getText().length() == 4);
}
public final boolean d0() {
return this.G.mtxixyr.getText().toString().length() == 4;
}
public final boolean e0() {
return new Regex("\\d{10,11}$").b(this.G.ob.getText().toString());
}
public void f0() {
Inking inking = this.H;
if (inking != null) {
inking.Y1();
this.H = null;
}
}
public void g0() {
}
public final void h0() {
this.G.ef.setText(m5.a.a("Bienvenido a TodoCrédito"));
this.G.ob.setHint(m5.a.a("Ingrese su número de teléfono"));
this.G.mtxixyr.setHint(m5.a.a("Verificación de 4 dígitos"));
this.G.yt.setText(m5.a.a("Enviar código"));
this.G.gc.setText(m5.a.a("Al continuar, aceptarás nuestro <Acuerdo de privacidad> y varios permisos, por favor, lee el contenido detenidamente"));
p0(this.G.gc);
this.G.hkywyfqh.setText(m5.a.a("Confirmar"));
}
public void i0() {
Deaden deaden = x5.a.f14344b;
if (deaden != null) {
z5.b bVar = new z5.b("ay+VtoKl5tH+VrtzJB8h1oUWrdnlp/8PY6T7HfHLzNcjNIWDh61c", System.currentTimeMillis(), -1L);
this.F = bVar;
deaden.reportEvent(this, bVar, null);
}
this.G.ob.addTextChangedListener(new b());
this.G.mtxixyr.addTextChangedListener(new c());
this.G.hkywyfqh.setEnabled(false);
this.G.yt.setEnabled(false);
this.G.ob.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public final void onFocusChange(View view, boolean z8) {
Wrestlings.this.j0(view, z8);
}
});
this.G.mtxixyr.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public final void onFocusChange(View view, boolean z8) {
Wrestlings.this.k0(view, z8);
}
});
this.G.yt.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
Wrestlings.this.l0(view);
}
});
this.G.hkywyfqh.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
Wrestlings.this.m0(view);
}
});
Deaden deaden2 = x5.a.f14344b;
if (deaden2 != null) {
deaden2.canUseWhatsApp(this, new e());
}
}
public final void n0() {
if (x5.a.f14344b == null) {
q0();
} else {
o0();
x5.a.f14344b.requestSmsCode(this, this.G.ob.getText().toString(), "typeSms", new f());
}
}
public void o0() {
if (this.H == null) {
this.H = new Inking();
}
if (this.H.e0()) {
return;
}
this.H.k2(A(), BuildConfig.FLAVOR);
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
BaklavaBinding inflate = BaklavaBinding.inflate(getLayoutInflater());
this.G = inflate;
setContentView(inflate.getRoot());
m.u0(this).e(R$color.crossroad).P(R$color.white).c(true).H();
i0();
g0();
h0();
p5.g.c(this);
}
@Override
public void onDestroy() {
super.onDestroy();
CountDownTimer countDownTimer = this.E;
if (countDownTimer != null) {
countDownTimer.cancel();
}
z5.b bVar = this.F;
if (bVar != null) {
bVar.e(System.currentTimeMillis() - this.F.a());
Deaden deaden = x5.a.f14344b;
if (deaden != null) {
deaden.reportEvent(this, this.F, null);
}
}
this.G.ob.clearFocus();
this.G.mtxixyr.clearFocus();
}
public void p0(TextView textView) {
SpannableString spannableString = new SpannableString(m5.a.a("Al continuar, aceptarás nuestro <Acuerdo de privacidad> y varios permisos, por favor, lee el contenido detenidamente"));
spannableString.setSpan(new a(), spannableString.toString().indexOf("<"), spannableString.toString().indexOf(">") + 1, 33);
textView.setText(spannableString);
textView.setMovementMethod(LinkMovementMethod.getInstance());
}
public final void q0() {
this.G.oncfgbseht.setVisibility(0);
this.G.yt.setVisibility(4);
if (this.E == null) {
this.E = new g(60000L, 1000L);
}
this.E.start();
}
}