what-the-bank/sources/com/scb/phone/view/fragment/transferandpay/cardlessatm/CardlessSuccessfulRequestFr...

814 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.transferandpay.cardlessatm;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatButton;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.fragment.app.FragmentActivity;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.findus.FindUsActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.custom.transferandpay.CustomCardlessWithdrawCodeItem;
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPayItem;
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPaySource;
import com.scb.phone.view.fragment.transferandpay.ContextualAdsFragment;
import com.scb.phone.view.fragment.transferandpay.cardlessatm.CardlessSuccessfulRequestFragment;
import java.util.List;
import java.util.Locale;
import o.AbstractC13163fSk;
import o.AbstractC13482fbE;
import o.AbstractC14961gcz;
import o.C0375Fe;
import o.C10454eEo;
import o.C10457eEr;
import o.C1168Xb;
import o.C1189Xo;
import o.C1191Xp;
import o.C11975epV;
import o.C12883fK;
import o.C12914fKz;
import o.C13417fZt;
import o.C14866gag;
import o.C14957gcv;
import o.C6455cTf;
import o.C7191cjd;
import o.Dhq;
import o.Hft;
import o.InterfaceC13170fSr;
import o.InterfaceC13391fZD;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC15577gud;
import o.InterfaceC6643cYu;
import o.XY;
import o.ZI;
import o.fFY;
import o.fRR;
import o.fSJ;
import o.fSQ;
import o.gjJ;
import o.guQ;
import o.mro;
import o.qeC;
/* loaded from: classes5.dex */
public final class CardlessSuccessfulRequestFragment extends Hilt_CardlessSuccessfulRequestFragment implements InterfaceC6643cYu {
public static final RVV c = new RVV(0);
@InterfaceC13391fZD
public C6455cTf cardlessATMSuccesfulRequestPresenter;
@InterfaceC13391fZD
public C11975epV cardlessScreenshotHelper;
private C7191cjd d;
private fSJ g;
public static final /* synthetic */ void a(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment, Throwable th) {
guQ.a(th, "onSaveScreenshotError", new Object[0]);
if (cardlessSuccessfulRequestFragment.isDetached() || cardlessSuccessfulRequestFragment.getActivity() == null) {
return;
}
C12914fKz.e(new Object[]{cardlessSuccessfulRequestFragment.requireActivity(), Integer.valueOf(R.id.root_view), Integer.valueOf(R.drawable.ic_error_white_24dp), cardlessSuccessfulRequestFragment.getString(R.string.saved_slip_error), Integer.valueOf(R.color.f2852131099792)}, 1259223802, -1259223796, R.id.root_view);
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r1v12, types: [android.os.Parcelable] */
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
XY xy;
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
C6455cTf c6455cTf = this.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
c6455cTf.e((C6455cTf) this);
Bundle arguments = getArguments();
if (arguments != null) {
C14957gcv.c(arguments, "");
if (Build.VERSION.SDK_INT >= 33) {
xy = (Parcelable) arguments.getParcelable("com.scb.phone.EXTRA_CARDLESS_ATM_SUCCESFUL_REQUEST", XY.class);
} else {
?? parcelable = arguments.getParcelable("com.scb.phone.EXTRA_CARDLESS_ATM_SUCCESFUL_REQUEST");
xy = parcelable instanceof XY ? parcelable : null;
}
r7 = (XY) xy;
}
c6455cTf.d = r7;
if (r7 != null) {
ZI.IeS ieS = new ZI.IeS(r7) { // from class: o.cTe
private XY d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6455cTf.b(this.d, (InterfaceC6643cYu) obj);
}
{
this.d = r1;
}
};
if (c6455cTf.f != null) {
ieS.e(c6455cTf.f);
}
}
if (c6455cTf.c.c.a().r.i) {
c6455cTf.c.c(new C6455cTf.HBt(c6455cTf), C6455cTf.IeS.c, new Hft.RVV("SLIP_SUCCESSFUL", "CARDLESS"));
}
C7191cjd c7191cjd = this.d;
C14957gcv.e(c7191cjd);
AppCompatButton appCompatButton = c7191cjd.c;
C14957gcv.c(appCompatButton, "");
C10454eEo.d(appCompatButton, new Sts(this));
AppCompatButton appCompatButton2 = c7191cjd.b;
C14957gcv.c(appCompatButton2, "");
C10454eEo.d(appCompatButton2, new IeS(this));
AppCompatButton appCompatButton3 = c7191cjd.e;
C14957gcv.c(appCompatButton3, "");
C10454eEo.d(appCompatButton3, new HBt(this));
TextView textView = c7191cjd.h;
C14957gcv.c(textView, "");
C10454eEo.d(textView, new LWm(this));
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private CardlessSuccessfulRequestFragment a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C6455cTf c6455cTf = this.a.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
final XY xy = c6455cTf.d;
if (xy != null) {
ZI.IeS ieS = new ZI.IeS(xy) { // from class: o.cTc
private XY b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6455cTf.d(this.b, (InterfaceC6643cYu) obj);
}
{
this.b = xy;
}
};
if (c6455cTf.f != 0) {
ieS.e(c6455cTf.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(0);
this.a = cardlessSuccessfulRequestFragment;
}
}
/* loaded from: classes5.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private CardlessSuccessfulRequestFragment e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C6455cTf c6455cTf = this.e.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.cTb
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6643cYu) obj).d();
}
};
if (c6455cTf.f != 0) {
ieS.e(c6455cTf.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(0);
this.e = cardlessSuccessfulRequestFragment;
}
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private CardlessSuccessfulRequestFragment e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
FindUsActivity.d(this.e.requireContext(), true);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(0);
this.e = cardlessSuccessfulRequestFragment;
}
}
/* loaded from: classes5.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private CardlessSuccessfulRequestFragment e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
final C6455cTf c6455cTf = this.e.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
ZI.IeS ieS = new ZI.IeS(c6455cTf) { // from class: o.cTi
private C6455cTf d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6455cTf.c(this.d, (InterfaceC6643cYu) obj);
}
{
this.d = c6455cTf;
}
};
if (c6455cTf.f != 0) {
ieS.e(c6455cTf.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(0);
this.e = cardlessSuccessfulRequestFragment;
}
}
@Override // o.InterfaceC6643cYu
public final void e(XY xy) {
C14957gcv.e(xy, "");
C7191cjd c7191cjd = this.d;
C14957gcv.e(c7191cjd);
Dhq dhq = c7191cjd.d;
dhq.b.setText(xy.f8445o);
CustomTransferAndPayItem customTransferAndPayItem = dhq.e;
String string = getString(R.string.mobile_no);
C14957gcv.c((Object) string, "");
Locale locale = Locale.getDefault();
C14957gcv.c(locale, "");
String upperCase = string.toUpperCase(locale);
C14957gcv.c((Object) upperCase, "");
customTransferAndPayItem.setText(upperCase);
customTransferAndPayItem.setValue(xy.j);
CustomTransferAndPaySource customTransferAndPaySource = dhq.c;
customTransferAndPaySource.setSourceName(xy.a);
customTransferAndPaySource.setAccountNumber(xy.d);
customTransferAndPaySource.setAvatar(xy.e, R.drawable.logo_scb_new);
customTransferAndPaySource.setAccountBalance(xy.i);
CustomTransferAndPayItem customTransferAndPayItem2 = dhq.a;
String string2 = getString(R.string.cardless_atm_amount);
C14957gcv.c((Object) string2, "");
Locale locale2 = Locale.getDefault();
C14957gcv.c(locale2, "");
String upperCase2 = string2.toUpperCase(locale2);
C14957gcv.c((Object) upperCase2, "");
customTransferAndPayItem2.setText(upperCase2);
customTransferAndPayItem2.setValue(xy.c);
C1168Xb c1168Xb = xy.b;
if (c1168Xb != null) {
C14957gcv.c(c1168Xb, "");
customTransferAndPayItem2.amountInfo.setVisibility(0);
customTransferAndPayItem2.amountInfo.setValuesAligned(c1168Xb, true);
customTransferAndPayItem2.mBottomSpace.setVisibility(8);
}
customTransferAndPayItem2.mDividerView.setVisibility(8);
CustomCardlessWithdrawCodeItem customCardlessWithdrawCodeItem = dhq.d;
String string3 = getString(R.string.cardless_atm_withdraw_code);
C14957gcv.c((Object) string3, "");
Locale locale3 = Locale.getDefault();
C14957gcv.c(locale3, "");
String upperCase3 = string3.toUpperCase(locale3);
C14957gcv.c((Object) upperCase3, "");
customCardlessWithdrawCodeItem.setText(upperCase3);
customCardlessWithdrawCodeItem.setWithdrawCode(xy.h);
String string4 = getString(R.string.cardless_atm_withdraw_expire);
String str = xy.g;
StringBuilder sb = new StringBuilder();
sb.append(string4);
sb.append(str);
customCardlessWithdrawCodeItem.setDateExpire(sb.toString());
}
@Override // androidx.fragment.app.Fragment
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(i, strArr, iArr);
fFY.e(this, i, iArr);
}
public final void a(XY xy) {
if (isDetached() || getContext() == null) {
return;
}
final C11975epV c11975epV = this.cardlessScreenshotHelper;
if (c11975epV == null) {
C14957gcv.a("");
c11975epV = null;
}
final C1191Xp c1191Xp = new C1191Xp();
c1191Xp.h = xy;
c1191Xp.p = C1189Xo.h().e("com.scb.phone.CARDLESS_REQESTER_FUNCTION");
C14957gcv.c(c1191Xp, "");
final Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(c1191Xp, "");
C14957gcv.e(requireContext, "");
AbstractC13163fSk subscribeOn = AbstractC13163fSk.create(new InterfaceC13170fSr(c1191Xp, c11975epV, requireContext) { // from class: o.epX
private C11975epV a;
private C1191Xp b;
private Context c;
private boolean d = true;
private boolean e = true;
@Override // o.InterfaceC13170fSr
public final void b(InterfaceC13168fSp interfaceC13168fSp) {
C11975epV.a(this.b, this.d, this.a, this.c, this.e, interfaceC13168fSp);
}
{
this.b = c1191Xp;
this.a = c11975epV;
this.c = requireContext;
}
}).observeOn(fRR.e()).subscribeOn(C13417fZt.b());
C14957gcv.c(subscribeOn, "");
final tOB tob = new tOB(this);
fSQ fsq = new fSQ(tob) { // from class: o.fFW
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
CardlessSuccessfulRequestFragment.c(this.d, obj);
}
{
this.d = tob;
}
};
final saX sax = new saX(this);
this.g = subscribeOn.subscribe(fsq, new fSQ(sax) { // from class: o.fFX
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
CardlessSuccessfulRequestFragment.e(this.b, obj);
}
{
this.b = sax;
}
});
}
/* loaded from: classes5.dex */
static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private CardlessSuccessfulRequestFragment a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment = this.a;
C14957gcv.c((Object) th2, "");
CardlessSuccessfulRequestFragment.a(cardlessSuccessfulRequestFragment, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(1);
this.a = cardlessSuccessfulRequestFragment;
}
}
/* loaded from: classes5.dex */
static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<Uri, C14866gag> {
private CardlessSuccessfulRequestFragment e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Uri uri) {
Uri uri2 = uri;
CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment = this.e;
C14957gcv.c(uri2, "");
CardlessSuccessfulRequestFragment.ayy_(cardlessSuccessfulRequestFragment, uri2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
tOB(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
super(1);
this.e = cardlessSuccessfulRequestFragment;
}
}
public final void e(final InterfaceC15577gud interfaceC15577gud) {
C14957gcv.e(interfaceC15577gud, "");
guQ.b("onShowRationale", new Object[0]);
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(getContext()).c(R.string.permission_storage_title).d(R.string.permission_storage).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.fFT
private InterfaceC15577gud c;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.b(this.c);
}
{
this.c = interfaceC15577gud;
}
}), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.fFU
private InterfaceC15577gud b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.a(this.b);
}
{
this.b = interfaceC15577gud;
}
}})).show();
}
public static void h() {
guQ.b("onPermissionDeniedAndroid13", new Object[0]);
}
public static void j() {
guQ.b("onNeverAskAgainAndroid13", new Object[0]);
}
@Override // o.InterfaceC6643cYu
public final void d() {
CustomDialog b = CustomDialog.b(getContext());
String string = getString(R.string.confirm_cancel);
if (gjJ.a(string)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
}
String string2 = getString(R.string.confirm_cancel_cardless_withdraw);
if (gjJ.a(string2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(string2);
}
((CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.confirm, new DialogInterface.OnClickListener(this) { // from class: o.fFV
private CardlessSuccessfulRequestFragment d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.c(this.d);
}
{
this.d = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.fGa
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.ayw_(dialogInterface);
}
}})).show();
}
public static void g() {
guQ.b("onPermissionDenied", new Object[0]);
}
public static void i() {
guQ.b("onNeverAskAgain", new Object[0]);
}
@Override // o.InterfaceC6643cYu
public final void b() {
FragmentActivity activity = getActivity();
if (activity != null) {
C10457eEr.aqd_(this, new Intent("com.scb.phone/BROADCAST_SHOW_CANCEL_CARDLESS_CONFIRMATION_SNACK_BAR"));
activity.finish();
}
}
@Override // o.InterfaceC6643cYu
public final void c() {
CustomDialog b = CustomDialog.b(requireContext());
String string = getString(R.string.confirm_exit);
if (gjJ.a(string)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
}
String string2 = getString(R.string.confirm_exit_cardless_withdraw);
if (gjJ.a(string2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(string2);
}
((CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.confirm, new DialogInterface.OnClickListener(this) { // from class: o.fFR
private CardlessSuccessfulRequestFragment d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.b(this.d);
}
{
this.d = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.fFS
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
CardlessSuccessfulRequestFragment.ayx_(dialogInterface);
}
}})).show();
}
@Override // o.InterfaceC6643cYu
public final void e(List<C0375Fe> list) {
C14957gcv.e(list, "");
C7191cjd c7191cjd = this.d;
C14957gcv.e(c7191cjd);
FrameLayout frameLayout = c7191cjd.a;
C14957gcv.c(frameLayout, "");
FrameLayout frameLayout2 = frameLayout;
C14957gcv.e(frameLayout2, "");
frameLayout2.setVisibility(0);
AbstractC13482fbE a = getChildFragmentManager().a();
ContextualAdsFragment.IeS ieS = ContextualAdsFragment.d;
a.b(R.id.fragment_contextual_ads, ContextualAdsFragment.IeS.a("CARDLESS", list, "ADS_TRANSFER_TYPE", null, false), null, 2);
a.b();
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
super.onDestroy();
this.d = null;
fSJ fsj = this.g;
if (fsj != null) {
fsj.dispose();
}
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
public static /* synthetic */ void b(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
C14957gcv.e(cardlessSuccessfulRequestFragment, "");
cardlessSuccessfulRequestFragment.V();
if (HomeActivity.r() || cardlessSuccessfulRequestFragment.getActivity() == null) {
return;
}
cardlessSuccessfulRequestFragment.requireActivity().finishAffinity();
}
public static /* synthetic */ void b(InterfaceC15577gud interfaceC15577gud) {
C14957gcv.e(interfaceC15577gud, "");
interfaceC15577gud.c();
}
public static /* synthetic */ void c(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment) {
C14957gcv.e(cardlessSuccessfulRequestFragment, "");
C6455cTf c6455cTf = cardlessSuccessfulRequestFragment.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
if (c6455cTf.f != 0) {
c6455cTf.f.y();
}
XY xy = c6455cTf.d;
if (xy != null) {
String str = xy.f;
C14957gcv.c((Object) str, "");
c6455cTf.b.b(new C12883fK(str));
mro mroVar = c6455cTf.b;
mroVar.d(mroVar.i, new C6455cTf.LWm(c6455cTf));
}
}
public static /* synthetic */ void a(InterfaceC15577gud interfaceC15577gud) {
C14957gcv.e(interfaceC15577gud, "");
interfaceC15577gud.e();
}
public static /* synthetic */ void ayw_(DialogInterface dialogInterface) {
C14957gcv.e(dialogInterface, "");
dialogInterface.dismiss();
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
public static /* synthetic */ void ayx_(DialogInterface dialogInterface) {
C14957gcv.e(dialogInterface, "");
dialogInterface.dismiss();
}
public static /* synthetic */ void c(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
public static final /* synthetic */ void ayy_(CardlessSuccessfulRequestFragment cardlessSuccessfulRequestFragment, Uri uri) {
String obj = uri.toString();
C14957gcv.c((Object) obj, "");
if (obj.length() == 0 || cardlessSuccessfulRequestFragment.getActivity() == null) {
return;
}
C6455cTf c6455cTf = cardlessSuccessfulRequestFragment.cardlessATMSuccesfulRequestPresenter;
if (c6455cTf == null) {
C14957gcv.a("");
c6455cTf = null;
}
c6455cTf.e = true;
C12914fKz.e(new Object[]{cardlessSuccessfulRequestFragment.requireActivity(), Integer.valueOf(R.id.root_view), Integer.valueOf(R.drawable.ic_check_circle_white_24dp), cardlessSuccessfulRequestFragment.getString(R.string.saved_cardless_request), Integer.valueOf(R.color.f13832131100891)}, 1259223802, -1259223796, R.id.root_view);
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559485, viewGroup, false);
int i = R.id.additional_recycler_view;
RecyclerView recyclerView = (RecyclerView) qeC.e(inflate, R.id.additional_recycler_view);
if (recyclerView != null) {
i = R.id.bill_payment_layout;
RelativeLayout relativeLayout = (RelativeLayout) qeC.e(inflate, R.id.bill_payment_layout);
if (relativeLayout != null) {
i = R.id.button_cancel_request;
AppCompatButton appCompatButton = (AppCompatButton) qeC.e(inflate, R.id.button_cancel_request);
if (appCompatButton != null) {
i = R.id.button_find_atm;
AppCompatButton appCompatButton2 = (AppCompatButton) qeC.e(inflate, R.id.button_find_atm);
if (appCompatButton2 != null) {
i = R.id.button_save_request;
AppCompatButton appCompatButton3 = (AppCompatButton) qeC.e(inflate, R.id.button_save_request);
if (appCompatButton3 != null) {
i = R.id.buttons_container;
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.buttons_container);
if (linearLayout != null) {
i = R.id.content;
RelativeLayout relativeLayout2 = (RelativeLayout) qeC.e(inflate, R.id.content);
if (relativeLayout2 != null) {
i = R.id.end_slip;
ImageView imageView = (ImageView) qeC.e(inflate, R.id.end_slip);
if (imageView != null) {
i = R.id.fragment_contextual_ads;
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.fragment_contextual_ads);
if (frameLayout != null) {
i = R.id.layout_cm_cardless_success;
View e = qeC.e(inflate, R.id.layout_cm_cardless_success);
if (e != null) {
int i2 = R.id.bill_layout;
LinearLayout linearLayout2 = (LinearLayout) qeC.e(e, R.id.bill_layout);
if (linearLayout2 != null) {
i2 = R.id.cardless_amount;
CustomTransferAndPayItem customTransferAndPayItem = (CustomTransferAndPayItem) qeC.e(e, R.id.cardless_amount);
if (customTransferAndPayItem != null) {
i2 = R.id.cardless_source;
CustomTransferAndPaySource customTransferAndPaySource = (CustomTransferAndPaySource) qeC.e(e, R.id.cardless_source);
if (customTransferAndPaySource != null) {
i2 = R.id.divider_view;
View e2 = qeC.e(e, R.id.divider_view);
if (e2 != null) {
i2 = R.id.frame;
RelativeLayout relativeLayout3 = (RelativeLayout) qeC.e(e, R.id.frame);
if (relativeLayout3 != null) {
i2 = R.id.mobile_no;
CustomTransferAndPayItem customTransferAndPayItem2 = (CustomTransferAndPayItem) qeC.e(e, R.id.mobile_no);
if (customTransferAndPayItem2 != null) {
i2 = R.id.success_icon;
AppCompatImageView appCompatImageView = (AppCompatImageView) qeC.e(e, R.id.success_icon);
if (appCompatImageView != null) {
i2 = R.id.successful_request;
TextView textView = (TextView) qeC.e(e, R.id.successful_request);
if (textView != null) {
i2 = R.id.textview_date;
TextView textView2 = (TextView) qeC.e(e, R.id.textview_date);
if (textView2 != null) {
i2 = R.id.textview_use_withdraw_code;
TextView textView3 = (TextView) qeC.e(e, R.id.textview_use_withdraw_code);
if (textView3 != null) {
CustomCardlessWithdrawCodeItem customCardlessWithdrawCodeItem = (CustomCardlessWithdrawCodeItem) qeC.e(e, R.id.withdraw_code);
if (customCardlessWithdrawCodeItem != null) {
Dhq dhq = new Dhq((RelativeLayout) e, linearLayout2, customTransferAndPayItem, customTransferAndPaySource, e2, relativeLayout3, customTransferAndPayItem2, appCompatImageView, textView, textView2, textView3, customCardlessWithdrawCodeItem);
RelativeLayout relativeLayout4 = (RelativeLayout) qeC.e(inflate, R.id.layout_slip);
if (relativeLayout4 != null) {
View e3 = qeC.e(inflate, R.id.line_black);
if (e3 != null) {
View e4 = qeC.e(inflate, R.id.line_view);
if (e4 != null) {
TextView textView4 = (TextView) qeC.e(inflate, R.id.return_button);
if (textView4 != null) {
RelativeLayout relativeLayout5 = (RelativeLayout) inflate;
TextView textView5 = (TextView) qeC.e(inflate, R.id.textview_previous_withdraw_code);
if (textView5 != null) {
C7191cjd c7191cjd = new C7191cjd(relativeLayout5, recyclerView, relativeLayout, appCompatButton, appCompatButton2, appCompatButton3, linearLayout, relativeLayout2, imageView, frameLayout, dhq, relativeLayout4, e3, e4, textView4, relativeLayout5, textView5);
this.d = c7191cjd;
C14957gcv.e(c7191cjd);
RelativeLayout relativeLayout6 = c7191cjd.i;
C14957gcv.c(relativeLayout6, "");
return relativeLayout6;
}
i = R.id.textview_previous_withdraw_code;
} else {
i = R.id.return_button;
}
} else {
i = R.id.line_view;
}
} else {
i = R.id.line_black;
}
} else {
i = R.id.layout_slip;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
i2 = R.id.withdraw_code;
throw new NullPointerException("Missing required view with ID: ".concat(e.getResources().getResourceName(i2)));
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(e.getResources().getResourceName(i2)));
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
@Override // o.InterfaceC6643cYu
public final void a() {
V();
if (HomeActivity.r() || getActivity() == null) {
return;
}
requireActivity().finishAffinity();
}
@Override // o.InterfaceC6643cYu
public final void c(XY xy) {
C14957gcv.e(xy, "");
if (getActivity() != null) {
if (BaseActivity.P()) {
fFY.c(this, xy);
return;
}
}
fFY.a(this, xy);
}
}