what-the-bank/sources/com/scb/phone/view/fragment/cardmanagement/DeejungPlanErrorFragment.java

134 lines
5.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.cardmanagement;
import android.os.Bundle;
import android.util.Base64;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatButton;
import com.scb.phone.R;
import java.nio.charset.StandardCharsets;
import o.C14957gcv;
import o.C2921ani;
import o.InterfaceC13391fZD;
import o.NxN;
import o.qeC;
/* loaded from: classes5.dex */
public final class DeejungPlanErrorFragment extends Hilt_DeejungPlanErrorFragment {
public static final Sts c;
private static int h = 1;
private static int i;
private static byte j;
private NxN d;
@InterfaceC13391fZD
public C2921ani presenter;
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public static DeejungPlanErrorFragment b(String str, String str2, String str3, String str4, String str5, boolean z) {
DeejungPlanErrorFragment deejungPlanErrorFragment = new DeejungPlanErrorFragment();
Bundle bundle = new Bundle();
bundle.putString("DeejungPlanErrorFragment.EXTRA_ERROR_TITLE", str);
bundle.putString("DeejungPlanErrorFragment.EXTRA_ERROR_DESCRIPTION", str2);
bundle.putString("DeejungPlanErrorFragment.EXTRA_LOAN_ID", str3);
bundle.putString("DeejungPlanErrorFragment.EXTRA_INSTALLMENT_TYPE", str4);
bundle.putString("DeejungPlanErrorFragment.EXTRA_SOURCE_SYSTEM", str5);
bundle.putBoolean("com.scb.phone.view.fragment.card_management.KEY_IS_FROM_DEEJUNG_INSTALLMENT", z);
deejungPlanErrorFragment.setArguments(bundle);
return deejungPlanErrorFragment;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private void m(String str, Object[] objArr) {
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
for (int i2 = 0; i2 < decode.length; i2++) {
bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ j);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
View inflate = getLayoutInflater().inflate(R.layout.2131559549, viewGroup, false);
int i2 = R.id.btn_deejung_review;
AppCompatButton appCompatButton = (AppCompatButton) qeC.e(inflate, R.id.btn_deejung_review);
if (appCompatButton != null) {
i2 = R.id.txv_plan_error_body;
TextView textView = (TextView) qeC.e(inflate, R.id.txv_plan_error_body);
if (textView != null) {
i2 = R.id.txv_plan_error_header;
TextView textView2 = (TextView) qeC.e(inflate, R.id.txv_plan_error_header);
if (textView2 != null) {
NxN nxN = new NxN((LinearLayout) inflate, appCompatButton, textView, textView2);
this.d = nxN;
C14957gcv.e(nxN);
LinearLayout linearLayout = nxN.b;
C14957gcv.c(linearLayout, "");
return linearLayout;
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2)));
}
/* JADX WARN: Code restructure failed: missing block: B:21:0x0098, code lost:
if (o.C14957gcv.b((java.lang.Object) r5, (java.lang.Object) "EFFECTIVE_RATE") != false) goto L38;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x00b2, code lost:
r13 = o.C15715hv.tOB.see_full_installment_plan;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x009f, code lost:
if (o.C14957gcv.b((java.lang.Object) r5, (java.lang.Object) "EFFECTIVE_RATE") != false) goto L38;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x00b0, code lost:
if ((!(r4 == null || o.gdZ.d((java.lang.CharSequence) r4))) != false) goto L38;
*/
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:18:0x0084 */
/* JADX WARN: Type inference failed for: r1v6, types: [android.text.SpannableString, android.text.Spannable] */
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onViewCreated(android.view.View r12, android.os.Bundle r13) {
/*
Method dump skipped, instructions count: 271
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.DeejungPlanErrorFragment.onViewCreated(android.view.View, android.os.Bundle):void");
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
this.d = null;
super.onDestroyView();
}
static void d() {
j = (byte) 6;
}
static {
d();
c = new Sts((byte) 0);
}
}