正在查看: OVO v3.139.0 应用的 EmailAddressVerificationFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 EmailAddressVerificationFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package ovo.id.onboarding.auth.presentation.fragment;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.appcompat.app.AppCompatActivity;
import androidx.compose.foundation.layout.LayoutWeightElement;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.platform.ComposeView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.HasDefaultViewModelProviderFactory;
import androidx.lifecycle.ViewModelKt;
import androidx.lifecycle.ViewModelLazy;
import androidx.lifecycle.ViewModelProvider;
import androidx.lifecycle.ViewModelStore;
import androidx.lifecycle.ViewModelStoreOwner;
import androidx.navigation.a;
import com.orhanobut.hawk.Hawk;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import o.i.Alignment;
import o.i.Arrangement;
import o.i.Composer;
import o.i.Function110;
import o.i.Function23;
import o.i.Function31;
import o.i.a0c;
import o.i.a3a;
import o.i.aac;
import o.i.aba;
import o.i.ae4;
import o.i.aj8;
import o.i.akb;
import o.i.ay1;
import o.i.b1f;
import o.i.b22;
import o.i.b52;
import o.i.b5c;
import o.i.b7;
import o.i.be4;
import o.i.bx1;
import o.i.c22;
import o.i.c27;
import o.i.c5f;
import o.i.ce4;
import o.i.ch0;
import o.i.cu;
import o.i.d9c;
import o.i.de4;
import o.i.dx1;
import o.i.e9f;
import o.i.ee4;
import o.i.efc;
import o.i.ehc;
import o.i.f10;
import o.i.f76;
import o.i.fbf;
import o.i.fe4;
import o.i.fma;
import o.i.fxa;
import o.i.ge4;
import o.i.gfc;
import o.i.gle;
import o.i.goh;
import o.i.gr1;
import o.i.h2c;
import o.i.hc;
import o.i.he4;
import o.i.hv;
import o.i.ie4;
import o.i.im8;
import o.i.je4;
import o.i.jg2;
import o.i.jgc;
import o.i.jm2;
import o.i.jo3;
import o.i.jq9;
import o.i.jqe;
import o.i.jt7;
import o.i.k9g;
import o.i.keb;
import o.i.km2;
import o.i.kq9;
import o.i.ksd;
import o.i.ku1;
import o.i.lc2;
import o.i.lg2;
import o.i.lh0;
import o.i.lj0;
import o.i.lm2;
import o.i.lwe;
import o.i.m1e;
import o.i.me3;
import o.i.me4;
import o.i.mg4;
import o.i.mgc;
import o.i.mm2;
import o.i.mm3;
import o.i.mwe;
import o.i.n8b;
import o.i.nca;
import o.i.ne;
import o.i.ne4;
import o.i.ngg;
import o.i.nic;
import o.i.oc0;
import o.i.oe4;
import o.i.oid;
import o.i.oye;
import o.i.p1g;
import o.i.p2d;
import o.i.p4f;
import o.i.p56;
import o.i.pe4;
import o.i.pgc;
import o.i.phb;
import o.i.pw5;
import o.i.q0f;
import o.i.q87;
import o.i.qge;
import o.i.r2c;
import o.i.r9c;
import o.i.rda;
import o.i.rig;
import o.i.rm9;
import o.i.rrc;
import o.i.s23;
import o.i.sc2;
import o.i.sd5;
import o.i.sh2;
import o.i.sid;
import o.i.t72;
import o.i.td2;
import o.i.td5;
import o.i.teb;
import o.i.tf8;
import o.i.tid;
import o.i.tpe;
import o.i.u5g;
import o.i.ua8;
import o.i.uc5;
import o.i.uh;
import o.i.uk2;
import o.i.us;
import o.i.v11;
import o.i.v42;
import o.i.v84;
import o.i.vk7;
import o.i.vuc;
import o.i.vx0;
import o.i.w02;
import o.i.wp6;
import o.i.wtd;
import o.i.wu4;
import o.i.wy4;
import o.i.x9f;
import o.i.xh;
import o.i.xh9;
import o.i.xr8;
import o.i.yd5;
import o.i.yfc;
import o.i.yp8;
import o.i.yz;
import o.i.z20;
import o.i.z8;
import o.i.zd4;
import o.i.ze7;
import o.i.zf2;
import o.i.zfc;
import o.i.zs5;
import o.i.zu5;
import o.i.zx1;
import o.i.zy8;
import ovo.id.analytics.AnalyticType;
import ovo.id.base.BaseFragment;
import ovo.id.onboarding.auth.data.entity.response.ActionResponse;
import ovo.id.onboarding.auth.data.entity.response.SelfChangePhoneNumberErrorResponse;
import ovo.id.onboarding.auth.domain.entity.AccountReference;
import ovo.id.onboarding.auth.domain.entity.SelfChangeOtpReference;
import ovo.id.onboarding.auth.domain.entity.SelfChangePhoneNumber;
import ovo.id.onboarding.auth.presentation.fragment.k;
import ovo.id.ravier.widgets.LineSeparatorType;
import ovo.id.user.helpcenter.presentation.activity.HelpCenterActivity;
import ovo.id.utils.constant.UpgradeLandingType;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lovo/id/onboarding/auth/presentation/fragment/EmailAddressVerificationFragment;", "Lovo/id/base/BaseFragment;", "<init>", "()V", "auth-ui_release"}, k = 1, mv = {1, 8, 0})
public final class EmailAddressVerificationFragment extends BaseFragment {
public static final int f1755u = 0;
public ViewModelProvider.Factory e;
public sid f;
public akb g;
public String h;
public String i;
public String j;
public AccountReference k;
public SelfChangeOtpReference l;
public final ViewModelLazy m;
public final ViewModelLazy n;
public final oye f1756o;
public final oye p;
public final oye q;
public final oye r;
public final oye s;
public final g f1757t;
public static final class a extends ua8 implements Function23<Composer, Integer, p1g> {
public final int c;
public a(int i) {
super(2);
this.c = i;
}
public final Object invoke(Object obj, Object obj2) {
((Number) obj2).intValue();
int e = jo3.e(this.c | 1);
EmailAddressVerificationFragment.this.Z((Composer) obj, e);
return p1g.a;
}
}
public static final class a0 extends ua8 implements zu5<p1g> {
public a0() {
super(0);
}
public final Object invoke() {
xh g = wtd.a.g("Coba Lagi", "Email Verification");
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
emailAddressVerificationFragment.n0(g);
EmailAddressVerificationFragment.e0(emailAddressVerificationFragment);
return p1g.a;
}
}
@s23(c = "ovo.id.onboarding.auth.presentation.fragment.EmailAddressVerificationFragment$EmailAddressVerificationScreen$1$1$1", f = "EmailAddressVerificationFragment.kt", l = {336}, m = "invokeSuspend")
public static final class b extends lwe implements Function23<phb, td2<? super p1g>, Object> {
public int b;
public Object c;
public static final class a extends ua8 implements Function110<aba, p1g> {
public final EmailAddressVerificationFragment b;
public a(EmailAddressVerificationFragment emailAddressVerificationFragment) {
super(1);
this.b = emailAddressVerificationFragment;
}
public final Object invoke(Object obj) {
long j = ((aba) obj).a;
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment emailAddressVerificationFragment = this.b;
emailAddressVerificationFragment.getClass();
fma fmaVar = oc0.c;
if (fmaVar == null) {
vk7.m("ovoCoreConfig");
throw null;
}
if (!vk7.a(fmaVar.d, "production")) {
fma fmaVar2 = oc0.c;
if (fmaVar2 == null) {
vk7.m("ovoCoreConfig");
throw null;
}
String str = vk7.a(fmaVar2.d, "staging") ? "stg" : "dev";
String str2 = emailAddressVerificationFragment.j;
if (str2 == null) {
vk7.m("onBoardingType");
throw null;
}
String str3 = vk7.a(str2, "SELF_CHANGE_PHONE_NUMBER") ? "VERIFICATION_PHONE" : "VERIFICATION";
String str4 = emailAddressVerificationFragment.i;
if (str4 == null) {
vk7.m("emailVerificationRefId");
throw null;
}
String str5 = emailAddressVerificationFragment.h;
if (str5 == null) {
vk7.m("emailAddress");
throw null;
}
Intent intent = new Intent("android.intent.action.VIEW", Uri.parse(cu.d(a3a.b("https://web.byte-stack.net/app/verification?env=", str, "&type=", str3, "&otp_ref_id="), str4, "&otp=", str5)));
AppCompatActivity Q = emailAddressVerificationFragment.Q();
Object obj2 = lc2.a;
Q.startActivity(intent, null);
}
return p1g.a;
}
}
public b(td2<? super b> td2Var) {
super(2, td2Var);
}
public final td2<p1g> create(Object obj, td2<?> td2Var) {
b bVar = EmailAddressVerificationFragment.this.new b(td2Var);
bVar.c = obj;
return bVar;
}
public final Object invoke(Object obj, Object obj2) {
return create((phb) obj, (td2) obj2).invokeSuspend(p1g.a);
}
public final Object invokeSuspend(Object obj) {
jg2 jg2Var = jg2.COROUTINE_SUSPENDED;
int i = this.b;
if (i == 0) {
p2d.b(obj);
phb phbVar = (phb) this.c;
a aVar = new a(EmailAddressVerificationFragment.this);
this.b = 1;
if (b1f.d(phbVar, aVar, (Function31) null, (Function110) null, this, 14) == jg2Var) {
return jg2Var;
}
} else {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
p2d.b(obj);
}
return p1g.a;
}
}
public static final class b0 extends ua8 implements zu5<p1g> {
public b0() {
super(0);
}
public final Object invoke() {
xh g = wtd.a.g("Lihat Settings", "Email Verification");
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment.this.n0(g);
return p1g.a;
}
}
public static final class c extends ua8 implements zu5<p1g> {
public c() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
String str = emailAddressVerificationFragment.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (vk7.a(str, "SELF_CHANGE_PHONE_NUMBER")) {
emailAddressVerificationFragment.n0(wtd.a.j(wtd.a, "Button Click", "Saya Udah Verifikasi Email", "Email Verification", 8));
}
String str2 = emailAddressVerificationFragment.j;
if (str2 == null) {
vk7.m("onBoardingType");
throw null;
}
String str3 = vk7.a(str2, "CREATION") ? "event/registration/email/sent/continue" : vk7.a(str2, "LOGIN") ? "event/login/email/sent/continue" : null;
if (str3 != null) {
FragmentActivity requireActivity = emailAddressVerificationFragment.requireActivity();
vk7.e(requireActivity, "requireActivity()");
uh.b(requireActivity, AnalyticType.LEANPLUM_EVENT, str3, (Map) null);
}
emailAddressVerificationFragment.o0(true);
return p1g.a;
}
}
public static final class c0 extends ua8 implements zu5<p1g> {
public c0() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment.e0(EmailAddressVerificationFragment.this);
return p1g.a;
}
}
public static final class d extends ua8 implements Function23<Composer, Integer, p1g> {
public final int c;
public d(int i) {
super(2);
this.c = i;
}
public final Object invoke(Object obj, Object obj2) {
((Number) obj2).intValue();
int e = jo3.e(this.c | 1);
EmailAddressVerificationFragment.this.c0((Composer) obj, e);
return p1g.a;
}
}
public static final class d0 extends ua8 implements zu5<p1g> {
public d0() {
super(0);
}
public final Object invoke() {
xh g = wtd.a.g("Coba Lagi", "Email Verification");
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
emailAddressVerificationFragment.n0(g);
emailAddressVerificationFragment.o0(true);
return p1g.a;
}
}
public static final class e extends ua8 implements Function110<Integer, p1g> {
public final hv c;
public e(hv hvVar) {
super(1);
this.c = hvVar;
}
public final Object invoke(Object obj) {
int intValue = ((Number) obj).intValue();
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
String string = emailAddressVerificationFragment.requireContext().getString(r9c.resend_action_span);
vk7.e(string, "requireContext().getStri…tring.resend_action_span)");
hv hvVar = this.c;
boolean z = false;
int R = jqe.R(hvVar.a, string, 0, false, 6);
String string2 = emailAddressVerificationFragment.requireContext().getString(r9c.change_email_action_span);
vk7.e(string2, "requireContext().getStri…change_email_action_span)");
int R2 = jqe.R(hvVar.a, string2, 0, false, 6);
if (R <= intValue && intValue <= string.length() + R) {
wu4.b(hvVar, intValue, new zd4(emailAddressVerificationFragment));
} else {
if (R2 <= intValue && intValue <= string2.length() + R2) {
z = true;
}
if (z) {
wu4.b(hvVar, intValue, new ae4(emailAddressVerificationFragment));
}
}
return p1g.a;
}
}
public static final class e0 extends ua8 implements zu5<p1g> {
public e0() {
super(0);
}
public final Object invoke() {
xh g = wtd.a.g("Lihat Settings", "Email Verification");
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment.this.n0(g);
return p1g.a;
}
}
public static final class f extends ua8 implements Function23<Composer, Integer, p1g> {
public final int c;
public f(int i) {
super(2);
this.c = i;
}
public final Object invoke(Object obj, Object obj2) {
((Number) obj2).intValue();
int e = jo3.e(this.c | 1);
EmailAddressVerificationFragment.this.d0((Composer) obj, e);
return p1g.a;
}
}
public static final class f0 extends ua8 implements zu5<p1g> {
public f0() {
super(0);
}
public final Object invoke() {
int i = EmailAddressVerificationFragment.f1755u;
EmailAddressVerificationFragment.this.o0(true);
return p1g.a;
}
}
public static final class g extends nca {
public g() {
super(true);
}
public final void d() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
String str = emailAddressVerificationFragment.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (!vk7.a(str, "SELF_CHANGE_PHONE_NUMBER")) {
com.google.android.material.bottomsheet.b bVar = (zfc) emailAddressVerificationFragment.s.getValue();
if (bVar != null) {
bVar.show();
return;
}
return;
}
f(false);
FragmentActivity activity = emailAddressVerificationFragment.getActivity();
if (activity != null) {
activity.onBackPressed();
}
}
}
public static final class g0 extends ua8 implements zu5<ViewModelStore> {
public final Fragment b;
public g0(Fragment fragment) {
super(0);
this.b = fragment;
}
public final Object invoke() {
return ksd.c(this.b, "requireActivity().viewModelStore");
}
}
public static final class h extends ua8 implements zu5<zfc> {
public h() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
Context context = emailAddressVerificationFragment.getContext();
if (context == null) {
return null;
}
zfc zfcVar = new zfc(context);
zfcVar.o(Integer.valueOf(r2c.rima_inline_alert));
zfcVar.x(context.getString(aac.ovo_back_pressed_caution_title));
zfcVar.k(context.getString(aac.ovo_back_pressed_caution_desc));
String string = context.getString(aac.ovo_back_pressed_cancel);
vk7.e(string, "getString(CommonUiString….ovo_back_pressed_cancel)");
zfcVar.s(string, ovo.id.onboarding.auth.presentation.fragment.f.b);
String string2 = context.getString(aac.ovo_back_pressed_confirm);
vk7.e(string2, "getString(CommonUiString…ovo_back_pressed_confirm)");
zfcVar.v(string2, new ovo.id.onboarding.auth.presentation.fragment.g(emailAddressVerificationFragment));
return zfcVar;
}
}
public static final class h0 extends ua8 implements zu5<sh2> {
public final Fragment b;
public h0(Fragment fragment) {
super(0);
this.b = fragment;
}
public final Object invoke() {
return mg4.b(this.b, "requireActivity().defaultViewModelCreationExtras");
}
}
public static final class i extends ua8 implements zu5<String> {
public i() {
super(0);
}
public final Object invoke() {
akb akbVar = EmailAddressVerificationFragment.this.g;
if (akbVar != null) {
String e = akbVar.b(vuc.a(me3.class)).e();
return e == null ? "" : e;
}
vk7.m("preferenceManager");
throw null;
}
}
public static final class i0 extends ua8 implements zu5<ViewModelProvider.Factory> {
public final Fragment b;
public i0(Fragment fragment) {
super(0);
this.b = fragment;
}
public final Object invoke() {
return ne.b(this.b, "requireActivity().defaultViewModelProviderFactory");
}
}
public static final class j extends ua8 implements zu5<zfc> {
public j() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
zfc zfcVar = new zfc(emailAddressVerificationFragment.Q());
zfcVar.o(Integer.valueOf(r2c.rima_inline_alert));
zfcVar.x(emailAddressVerificationFragment.getString(r9c.email_verification_failed_title));
zfcVar.k(emailAddressVerificationFragment.getString(r9c.email_verification_failed_desc));
String string = emailAddressVerificationFragment.getString(aac.ovo_action_oke);
vk7.e(string, "getString(CommonUiStringResources.ovo_action_oke)");
zfcVar.s(string, ovo.id.onboarding.auth.presentation.fragment.h.b);
return zfcVar;
}
}
public static final class j0 extends ua8 implements zu5<Fragment> {
public final Fragment b;
public j0(Fragment fragment) {
super(0);
this.b = fragment;
}
public final Object invoke() {
return this.b;
}
}
public static final class k extends ua8 implements zu5<zfc> {
public k() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
zfc zfcVar = new zfc(emailAddressVerificationFragment.Q());
zfcVar.o(Integer.valueOf(h2c.img_inline_general_error_message));
zfcVar.x(emailAddressVerificationFragment.getString(aac.ovo_general_error_title));
zfcVar.k(emailAddressVerificationFragment.getString(d9c.general_error_desc));
String string = emailAddressVerificationFragment.getString(aac.ovo_back);
vk7.e(string, "getString(CommonUiStringResources.ovo_back)");
zfcVar.s(string, ovo.id.onboarding.auth.presentation.fragment.i.b);
return zfcVar;
}
}
public static final class k0 extends ua8 implements zu5<ViewModelStoreOwner> {
public final zu5 b;
public k0(j0 j0Var) {
super(0);
this.b = j0Var;
}
public final Object invoke() {
return (ViewModelStoreOwner) this.b.invoke();
}
}
public static final class l extends ua8 implements zu5<zfc> {
public l() {
super(0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = EmailAddressVerificationFragment.this;
zfc zfcVar = new zfc(emailAddressVerificationFragment.Q());
zfcVar.o(Integer.valueOf(h2c.img_inline_general_error_message));
zfcVar.x(emailAddressVerificationFragment.getString(aac.ovo_general_error_title));
zfcVar.k(emailAddressVerificationFragment.getString(aac.ovo_error_failed_to_process_desc));
return zfcVar;
}
}
public static final class l0 extends ua8 implements zu5<ViewModelStore> {
public final aj8 b;
public l0(aj8 aj8Var) {
super(0);
this.b = aj8Var;
}
public final Object invoke() {
return zs5.a(this.b).getViewModelStore();
}
}
public class m extends pw5 implements zu5<p1g> {
public m(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "showNoInternetDialogAndApplyValidateEmailOnRetryButton", "showNoInternetDialogAndApplyValidateEmailOnRetryButton()V", 0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.m0();
return p1g.a;
}
}
public static final class m0 extends ua8 implements zu5<sh2> {
public final aj8 b;
public m0(aj8 aj8Var) {
super(0);
this.b = aj8Var;
}
public final Object invoke() {
HasDefaultViewModelProviderFactory a = zs5.a(this.b);
HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = a instanceof HasDefaultViewModelProviderFactory ? a : null;
return hasDefaultViewModelProviderFactory != null ? hasDefaultViewModelProviderFactory.getDefaultViewModelCreationExtras() : sh2.a.INSTANCE;
}
}
public class n extends pw5 implements zu5<p1g> {
public n(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "showNoInternetDialogAndApplyResendEmailOnRetryButton", "showNoInternetDialogAndApplyResendEmailOnRetryButton()V", 0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.l0();
return p1g.a;
}
}
public static final class n0 extends ua8 implements zu5<ViewModelProvider.Factory> {
public n0() {
super(0);
}
public final Object invoke() {
ViewModelProvider.Factory factory = EmailAddressVerificationFragment.this.e;
if (factory != null) {
return factory;
}
vk7.m("factory");
throw null;
}
}
public class o extends pw5 implements zu5<p1g> {
public o(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "startDataCollectionWorker", "startDataCollectionWorker()V", 0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.h0().n.setValue((Object) null);
return p1g.a;
}
}
public class p extends pw5 implements Function110<HashMap<String, String>, p1g> {
public p(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "logSuccessEmailVerified", "logSuccessEmailVerified(Ljava/util/HashMap;)V", 0);
}
public final Object invoke(Object obj) {
HashMap hashMap = (HashMap) obj;
vk7.f(hashMap, "p0");
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
Context context = emailAddressVerificationFragment.getContext();
if (context != null) {
uh.b(context, AnalyticType.APPSFLYER, "af_complete_registration", hashMap);
String str = emailAddressVerificationFragment.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
String str2 = vk7.a(str, "CREATION") ? "event/registration/email/success" : vk7.a(str, "LOGIN") ? "event/login/email/success" : null;
if (str2 != null) {
FragmentActivity requireActivity = emailAddressVerificationFragment.requireActivity();
vk7.e(requireActivity, "requireActivity()");
uh.b(requireActivity, AnalyticType.LEANPLUM_EVENT, str2, (Map) null);
}
}
return p1g.a;
}
}
public class q extends pw5 implements Function110<jq9, p1g> {
public q(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "navigateTo", "navigateTo(Lovo/id/base/utils/NavigationScreen;)V", 0);
}
public final Object invoke(Object obj) {
jq9 jq9Var = (jq9) obj;
vk7.f(jq9Var, "p0");
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.i0(jq9Var);
return p1g.a;
}
}
public class r extends pw5 implements Function110<Integer, p1g> {
public r(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "setLoading", "setLoading(I)V", 0);
}
public final Object invoke(Object obj) {
int intValue = ((Number) obj).intValue();
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
if (intValue == 0) {
emailAddressVerificationFragment.X();
} else {
emailAddressVerificationFragment.I();
}
return p1g.a;
}
}
public class s extends pw5 implements Function110<zu5<? extends p1g>, p1g> {
public s(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "successfulInlineLoadingDialog", "successfulInlineLoadingDialog(Lkotlin/jvm/functions/Function0;)V", 0);
}
public final Object invoke(Object obj) {
((EmailAddressVerificationFragment) ((v11) this).receiver).Y((zu5) obj);
return p1g.a;
}
}
public class t extends pw5 implements Function110<fxa<? extends SelfChangePhoneNumberErrorResponse, ? extends String>, p1g> {
public t(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "showErrorBottomSheetDialog", "showErrorBottomSheetDialog(Lkotlin/Pair;)V", 0);
}
public final Object invoke(Object obj) {
Context context;
List<ActionResponse> actions;
Boolean closeable;
fxa fxaVar = (fxa) obj;
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
FragmentActivity activity = emailAddressVerificationFragment.getActivity();
if (activity != null) {
z8.e(activity);
}
if (fxaVar != null && (context = emailAddressVerificationFragment.getContext()) != null) {
?? zfcVar = new zfc(context, zx1.b.a);
SelfChangePhoneNumberErrorResponse selfChangePhoneNumberErrorResponse = (SelfChangePhoneNumberErrorResponse) fxaVar.a;
zfcVar.x(selfChangePhoneNumberErrorResponse != null ? selfChangePhoneNumberErrorResponse.getTitle() : null);
zfcVar.k(selfChangePhoneNumberErrorResponse != null ? selfChangePhoneNumberErrorResponse.getDescription() : null);
zfcVar.p(selfChangePhoneNumberErrorResponse != null ? selfChangePhoneNumberErrorResponse.getImageName() : null);
zfcVar.setCancelable((selfChangePhoneNumberErrorResponse == null || (closeable = selfChangePhoneNumberErrorResponse.getCloseable()) == null) ? true : closeable.booleanValue());
if (selfChangePhoneNumberErrorResponse != null && (actions = selfChangePhoneNumberErrorResponse.getActions()) != null) {
List<ActionResponse> list = actions;
ArrayList arrayList = new ArrayList(ku1.V(list, 10));
for (ActionResponse actionResponse : list) {
String type = actionResponse.getType();
if (vk7.a(type, "PRIMARY")) {
String title = actionResponse.getTitle();
zfcVar.s(title != null ? title : "", new ce4(emailAddressVerificationFragment, fxaVar, actionResponse, zfcVar));
} else if (vk7.a(type, "SECONDARY")) {
String title2 = actionResponse.getTitle();
zfcVar.v(title2 != null ? title2 : "", new de4(zfcVar));
} else {
String title3 = actionResponse.getTitle();
zfcVar.m(title3 != null ? title3 : "", new ee4(zfcVar));
}
arrayList.add(zfcVar);
}
}
zfcVar.show();
}
return p1g.a;
}
}
public class u extends pw5 implements Function110<zu5<? extends p1g>, p1g> {
public u(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "showGeneralBottomSheetAndSetRetryDialog", "showGeneralBottomSheetAndSetRetryDialog(Lkotlin/jvm/functions/Function0;)V", 0);
}
public final Object invoke(Object obj) {
zu5 zu5Var = (zu5) obj;
vk7.f(zu5Var, "p0");
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.getClass();
emailAddressVerificationFragment.n0(wtd.a.d("Email Verification"));
?? r1 = (zfc) emailAddressVerificationFragment.q.getValue();
String string = emailAddressVerificationFragment.getString(aac.ovo_msg_try_again);
vk7.e(string, "getString(CommonUiString…ources.ovo_msg_try_again)");
r1.s(string, new fe4(emailAddressVerificationFragment, zu5Var));
r1.show();
return p1g.a;
}
}
public class v extends pw5 implements Function110<xh, p1g> {
public v(Object obj) {
super(1, obj, EmailAddressVerificationFragment.class, "trackAnalytics", "trackAnalytics(Lovo/id/analytics/AnalyticPayload;)V", 0);
}
public final Object invoke(Object obj) {
xh xhVar = (xh) obj;
vk7.f(xhVar, "p0");
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.n0(xhVar);
return p1g.a;
}
}
public class w extends pw5 implements zu5<p1g> {
public w(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "showGeneralErrorMessageBottomDialog", "showGeneralErrorMessageBottomDialog()V", 0);
}
public final Object invoke() {
((zfc) ((EmailAddressVerificationFragment) ((v11) this).receiver).p.getValue()).show();
return p1g.a;
}
}
public class x extends pw5 implements zu5<p1g> {
public x(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "showEmailVerificationFailedBottomDialog", "showEmailVerificationFailedBottomDialog()V", 0);
}
public final Object invoke() {
((zfc) ((EmailAddressVerificationFragment) ((v11) this).receiver).r.getValue()).show();
return p1g.a;
}
}
public class y extends pw5 implements zu5<p1g> {
public y(Object obj) {
super(0, obj, EmailAddressVerificationFragment.class, "showCloudFlareErrorDialog", "showCloudFlareErrorDialog()V", 0);
}
public final Object invoke() {
EmailAddressVerificationFragment emailAddressVerificationFragment = (EmailAddressVerificationFragment) ((v11) this).receiver;
int i = EmailAddressVerificationFragment.f1755u;
emailAddressVerificationFragment.getClass();
emailAddressVerificationFragment.n0(wtd.a.b("Email Verification"));
rda h0 = emailAddressVerificationFragment.h0();
h0.f1176o.setValue(new be4(emailAddressVerificationFragment));
return p1g.a;
}
}
public static final class z extends ua8 implements Function23<Composer, Integer, p1g> {
public z() {
super(2);
}
public final Object invoke(Object obj, Object obj2) {
Composer composer = (Composer) obj;
if ((((Number) obj2).intValue() & 11) == 2 && composer.j()) {
composer.F();
} else {
nic.a(false, c22.b(composer, -1090125792, new ovo.id.onboarding.auth.presentation.fragment.j(EmailAddressVerificationFragment.this)), composer, 48, 1);
}
return p1g.a;
}
}
public EmailAddressVerificationFragment() {
n0 n0Var = new n0();
aj8 a2 = im8.a(yp8.NONE, new k0(new j0(this)));
this.m = zs5.b(this, vuc.a(me4.class), new l0(a2), new m0(a2), n0Var);
this.n = zs5.b(this, vuc.a(rda.class), new g0(this), new h0(this), new i0(this));
this.f1756o = im8.b(new i());
this.p = im8.b(new k());
this.q = im8.b(new l());
this.r = im8.b(new j());
this.s = im8.b(new h());
this.f1757t = new g();
}
public static final void e0(EmailAddressVerificationFragment emailAddressVerificationFragment) {
SelfChangeOtpReference otp;
Context context = emailAddressVerificationFragment.getContext();
if (context != null) {
if (!sc2.a(context)) {
emailAddressVerificationFragment.l0();
return;
}
String str = emailAddressVerificationFragment.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
boolean z3 = false;
if (!str.equals("SELF_CHANGE_PHONE_NUMBER")) {
me4 f02 = emailAddressVerificationFragment.f0();
String str2 = (String) emailAddressVerificationFragment.f1756o.getValue();
String str3 = emailAddressVerificationFragment.h;
if (str3 == null) {
vk7.m("emailAddress");
throw null;
}
f02.getClass();
vk7.f(str2, "deviceId");
((ch0) f02).c.setValue(0);
ze7.m(ViewModelKt.getViewModelScope(f02), (zf2) null, (lg2) null, new ne4(f02, str2, "VERIFICATION", str3, null), 3);
return;
}
SelfChangePhoneNumber selfChangePhoneNumber = emailAddressVerificationFragment.f0().f834u;
if (selfChangePhoneNumber != null && (otp = selfChangePhoneNumber.getOtp()) != null && otp.getRetryRemaining() == 1) {
z3 = true;
}
if (z3) {
emailAddressVerificationFragment.n0(wtd.a.j(wtd.a, "Bottom Sheet Load", "Last Chance Request Email OTP", "Email Verification", 8));
emailAddressVerificationFragment.h0().A(new ge4(emailAddressVerificationFragment), new he4(emailAddressVerificationFragment));
return;
}
me4 f03 = emailAddressVerificationFragment.f0();
AccountReference accountReference = emailAddressVerificationFragment.k;
if (accountReference != null) {
f03.y(accountReference);
} else {
vk7.m("accountReference");
throw null;
}
}
}
public final void T() {
uk2 uk2Var = q0f.a;
if (uk2Var == null) {
vk7.m("authComponent");
throw null;
}
mm2 mm2Var = new mm2(uk2Var);
km2 km2Var = new km2(uk2Var);
lm2 lm2Var = new lm2(uk2Var);
pe4 pe4Var = new pe4(mm2Var, p56.a(km2Var, lm2Var), t72.a(km2Var, lm2Var), new wp6(km2Var, lm2Var, 1), new f76(km2Var, lm2Var, 1), lm2Var);
goh a2 = goh.a(v84.a(new jm2(uk2Var)));
this.e = new rig(c27.g(me4.class, pe4Var));
this.f = uk2Var.F();
this.g = uk2Var.H();
vk7.f(mm3.a(a2), "featureFlag");
im8.b(q87.a.b);
vk7.f(mm3.a(a2), "featureFlag");
vk7.f(mm3.a(a2), "featureFlag");
}
public final void Z(Composer composer, int i2) {
b52 h2 = composer.h(1267740656);
String o2 = o.i.b0.o(r9c.resend_link_description, new Object[]{o.i.b0.o(aac.ovo_resend_count_down_span, new Object[]{jt7.l(f0().f836w, 30, h2, 56).getValue()}, h2)}, h2);
h2.u(395334169);
mgc mgcVar = (mgc) h2.C(w02.a);
h2.X(false);
x9f.b(o2, xh9.a(androidx.compose.foundation.layout.g.g(Modifier.a.b, pgc.k, pgc.h), "text_resend"), 0L, 0L, (sd5) null, (yd5) null, (uc5) null, 0L, (c5f) null, new p4f(3), 0L, 0, false, 0, 0, (Function110) null, fbf.b(16777214, yfc.C, 0L, 0L, 0L, (teb) null, mgcVar.b, (uc5) null, (yd5) null, (xr8) null), h2, 0, 0, 65020);
rrc b02 = h2.b0();
if (b02 == null) {
return;
}
b02.d = new a(i2);
}
public final void c0(Composer composer, int i2) {
int i3;
b52 h2 = composer.h(-1834687213);
int i4 = r9c.email_verification_desc_compose;
Object[] objArr = new Object[1];
String str = this.h;
if (str == null) {
vk7.m("emailAddress");
throw null;
}
objArr[0] = str;
hv a2 = wu4.a(o.i.b0.o(i4, objArr, h2), new qge(0L, 0L, yd5.i, (sd5) null, (td5) null, (uc5) null, (String) null, 0L, (lh0) null, (e9f) null, (zy8) null, 0L, (c5f) null, (m1e) null, (keb) null, 65531));
rm9 l2 = jt7.l(f0().f836w, 30, h2, 56);
Modifier.a aVar = Modifier.a.b;
Modifier a3 = xh9.a(androidx.compose.foundation.a.c(androidx.compose.foundation.layout.h.f(aVar), yfc.G), "column_email_address_verification");
Arrangement.k kVar = Arrangement.c;
lj0.a aVar2 = Alignment.a.m;
dx1 a4 = bx1.a(kVar, aVar2, h2, 0);
int i5 = h2.P;
n8b T = h2.T();
Modifier d2 = androidx.compose.ui.c.d(h2, a3);
v42.c0.getClass();
tf8.a aVar3 = v42.a.b;
f10 f10Var = h2.a;
if (!(f10Var instanceof f10)) {
hc.o();
throw null;
}
h2.A();
if (h2.O) {
h2.q(aVar3);
} else {
h2.n();
}
v42.a.d dVar = v42.a.f;
u5g.a(h2, a4, dVar);
v42.a.f fVar = v42.a.e;
u5g.a(h2, T, fVar);
v42.a.a aVar4 = v42.a.i;
if (h2.O || !vk7.a(h2.v(), Integer.valueOf(i5))) {
us.b(i5, h2, i5, aVar4);
}
v42.a.e eVar = v42.a.c;
u5g.a(h2, d2, eVar);
Modifier h3 = androidx.compose.foundation.layout.h.h(aVar);
if (!(((double) 1.0f) > 0.0d)) {
throw new IllegalArgumentException(yz.a("invalid weight ", 1.0f, "; must be greater than zero").toString());
}
Modifier a5 = xh9.a(h3.j(new LayoutWeightElement(1.0f > Float.MAX_VALUE ? Float.MAX_VALUE : 1.0f, true)), "column_common_layout");
dx1 a6 = bx1.a(kVar, Alignment.a.n, h2, 48);
int i6 = h2.P;
n8b T2 = h2.T();
Modifier d3 = androidx.compose.ui.c.d(h2, a5);
if (!(f10Var instanceof f10)) {
hc.o();
throw null;
}
h2.A();
if (h2.O) {
h2.q(aVar3);
} else {
h2.n();
}
u5g.a(h2, a6, dVar);
u5g.a(h2, T2, fVar);
if (h2.O || !vk7.a(h2.v(), Integer.valueOf(i6))) {
us.b(i6, h2, i6, aVar4);
}
u5g.a(h2, d3, eVar);
jgc.a(xh9.a(mwe.a(aVar, p1g.a, new b(null)), "common_layout_email_verification_sent"), new ay1.a(Integer.valueOf(h2c.img_inline_verification_link_sent), new tpe.b(r9c.email_verification), new tpe.a(a2), 504), null, null, null, h2, 64, 28);
ehc.a(null, LineSeparatorType.SOLID, h2, 48, 1);
if (vk7.a(l2.getValue(), "0")) {
h2.u(183175748);
d0(h2, 8);
i3 = 0;
h2.X(false);
} else {
i3 = 0;
h2.u(183175820);
Z(h2, 8);
h2.X(false);
}
h2.X(true);
dx1 a7 = bx1.a(kVar, aVar2, h2, i3);
int i7 = h2.P;
n8b T3 = h2.T();
Modifier d4 = androidx.compose.ui.c.d(h2, aVar);
if (!(f10Var instanceof f10)) {
hc.o();
throw null;
}
h2.A();
if (h2.O) {
h2.q(aVar3);
} else {
h2.n();
}
u5g.a(h2, a7, dVar);
u5g.a(h2, T3, fVar);
if (h2.O || !vk7.a(h2.v(), Integer.valueOf(i7))) {
us.b(i7, h2, i7, aVar4);
}
u5g.a(h2, d4, eVar);
efc.a(o.i.b0.n(r9c.verify_email_address, h2), gfc.b.a, new c(), xh9.a(androidx.compose.foundation.layout.g.f(aVar, pgc.h), "button_email_verification"), false, null, h2, 0, 48);
rrc c2 = o.i.m.c(h2, true, true);
if (c2 == null) {
return;
}
c2.d = new d(i2);
}
public final void d0(Composer composer, int i2) {
String n2;
b52 h2 = composer.h(-1884209099);
String str = this.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (vk7.a(str, "SELF_CHANGE_PHONE_NUMBER")) {
h2.u(1129828472);
n2 = o.i.b0.n(r9c.resend_action_span_compose, h2);
h2.X(false);
} else {
h2.u(1129828553);
n2 = o.i.b0.n(r9c.resend_or_change_email_span_compose, h2);
h2.X(false);
}
hv a2 = wu4.a(o.i.b0.o(r9c.resend_link_description, new Object[]{n2}, h2), new qge(yfc.g, 0L, (yd5) null, (sd5) null, (td5) null, (uc5) null, (String) null, 0L, (lh0) null, (e9f) null, (zy8) null, 0L, (c5f) null, (m1e) null, (keb) null, 65534));
h2.u(395334169);
mgc mgcVar = (mgc) h2.C(w02.a);
h2.X(false);
gr1.a(a2, xh9.a(androidx.compose.foundation.layout.g.g(Modifier.a.b, pgc.k, pgc.h), "clickable_text_resend"), fbf.b(16777214, yfc.C, 0L, 0L, 0L, (teb) null, mgcVar.b, (uc5) null, (yd5) null, (xr8) null), false, 0, 0, (Function110) null, new e(a2), h2, 0, 120);
rrc b02 = h2.b0();
if (b02 == null) {
return;
}
b02.d = new f(i2);
}
public final me4 f0() {
return (me4) this.m.getValue();
}
public final rda h0() {
return (rda) this.n.getValue();
}
public final void i0(jq9 jq9Var) {
androidx.navigation.e c2;
fxa fxaVar;
int i2 = jq9Var.a;
int i3 = b5c.action_emailAddressVerificationFragment_to_mainActivity;
fxa[] fxaVarArr = jq9Var.b;
if (i2 == i3) {
String str = this.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (!vk7.a(str, "VERIFICATION_EXTERNAL")) {
String str2 = this.j;
if (str2 == null) {
vk7.m("onBoardingType");
throw null;
}
if (!vk7.a(str2, "VERIFICATION_EXTERNAL_UNLOCK")) {
Object obj = (fxaVarArr == null || (fxaVar = (fxa) z20.A(fxaVarArr)) == null) ? null : fxaVar.b;
Boolean bool = obj instanceof Boolean ? (Boolean) obj : null;
boolean booleanValue = bool != null ? bool.booleanValue() : false;
akb akbVar = this.g;
if (akbVar == null) {
vk7.m("preferenceManager");
throw null;
}
akbVar.b(vuc.a(k9g.class)).getClass();
k9g.p(true);
a.b bVar = new a.b(67141632);
int i4 = b5c.action_emailAddressVerificationFragment_to_mainActivity;
EmailAddressVerificationFragment emailAddressVerificationFragment = kq9.a(this) ? this : null;
if (emailAddressVerificationFragment == null || (c2 = wy4.c(emailAddressVerificationFragment)) == null) {
return;
}
Bundle bundle = new Bundle();
bundle.putBoolean("isNewlyJoined", booleanValue);
c2.p(i4, bundle, (androidx.navigation.o) null, bVar);
return;
}
}
Intent intent = new Intent();
Boolean bool2 = Boolean.TRUE;
String str3 = this.j;
if (str3 == null) {
vk7.m("onBoardingType");
throw null;
}
Boolean bool3 = vk7.a(str3, "VERIFICATION_EXTERNAL") ? bool2 : null;
intent.putExtra("isUnlock", bool3 != null ? bool3.booleanValue() : false);
requireActivity().setResult(-1, intent);
requireActivity().finish();
return;
}
int i5 = b5c.action_emailAddressVerificationFragment_to_phoneNumberFormFragment;
if (i2 == i5) {
kq9.b(new b7(i5), this);
return;
}
if (i2 == b5c.action_emailAddressVerificationFragment_to_emailAddressFormFragment) {
String str4 = this.j;
if (str4 == null) {
vk7.m("onBoardingType");
throw null;
}
AccountReference accountReference = this.k;
if (accountReference != null) {
kq9.b(new ie4(str4, accountReference), this);
return;
} else {
vk7.m("accountReference");
throw null;
}
}
if (i2 == 111) {
AppCompatActivity S = S();
akb akbVar2 = this.g;
if (akbVar2 == null) {
vk7.m("preferenceManager");
throw null;
}
akbVar2.b(vuc.a(gle.class)).getClass();
Hawk.put("is_newly_joined", Boolean.TRUE);
sid sidVar = this.f;
if (sidVar == null) {
vk7.m("screenRouter");
throw null;
}
Context requireContext = requireContext();
vk7.e(requireContext, "requireContext()");
q0f.u(S, sidVar.c(requireContext, new oid.s((String) null, "registration", (UpgradeLandingType) null, 5)), false, 6);
return;
}
if (i2 == 10011) {
FragmentActivity requireActivity = requireActivity();
requireActivity.setResult(0);
requireActivity.finish();
requireActivity.overridePendingTransition(a0c.ovo_slide_in_right, a0c.ovo_slide_out_left);
return;
}
if (i2 == 10012) {
sid sidVar2 = this.f;
if (sidVar2 == null) {
vk7.m("screenRouter");
throw null;
}
Context requireContext2 = requireContext();
vk7.e(requireContext2, "requireContext()");
tid.e(sidVar2, requireContext2, (Intent) null);
return;
}
if (i2 == 105) {
AppCompatActivity S2 = S();
Context requireContext3 = requireContext();
vk7.e(requireContext3, "requireContext()");
q0f.u(S2, z8.c(requireContext3, HelpCenterActivity.class, fxaVarArr), false, 6);
return;
}
if (i2 == b5c.action_emailAddressVerificationFragment_to_newPhoneNumberFormFragment) {
AccountReference accountReference2 = this.k;
if (accountReference2 != null) {
kq9.b(new je4(accountReference2), this);
} else {
vk7.m("accountReference");
throw null;
}
}
}
public final void l0() {
String str = this.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (!vk7.a(str, "SELF_CHANGE_PHONE_NUMBER")) {
h0().z(new c0(), null);
} else {
n0(wtd.a.h("Email Verification"));
h0().z(new a0(), new b0());
}
}
public final void m0() {
String str = this.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (!vk7.a(str, "SELF_CHANGE_PHONE_NUMBER")) {
h0().z(new f0(), null);
} else {
n0(wtd.a.h("Email Verification"));
h0().z(new d0(), new e0());
}
}
public final void n0(xh xhVar) {
Context context = getContext();
if (context != null) {
uh.a(context, xhVar);
}
}
public final void o0(boolean z3) {
Context context = getContext();
if (context != null) {
if (!sc2.a(context)) {
m0();
return;
}
String str = this.j;
if (str == null) {
vk7.m("onBoardingType");
throw null;
}
if (str.equals("SELF_CHANGE_PHONE_NUMBER")) {
me4 f02 = f0();
AccountReference accountReference = this.k;
if (accountReference != null) {
f02.A(accountReference);
return;
} else {
vk7.m("accountReference");
throw null;
}
}
me4 f03 = f0();
AccountReference accountReference2 = this.k;
if (accountReference2 == null) {
vk7.m("accountReference");
throw null;
}
f03.getClass();
((ch0) f03).c.setValue(0);
ze7.m(ViewModelKt.getViewModelScope(f03), (zf2) null, (lg2) null, new oe4(f03, accountReference2, z3, null), 3);
}
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
requireActivity().R().a(this, this.f1757t);
me4 f02 = f0();
vx0.t(this, new fxa(((ch0) f02).l, new q(this)));
vx0.t(this, new fxa(((ch0) f02).i, new r(this)));
vx0.t(this, new fxa(f02.y, new s(this)));
vx0.t(this, new fxa(f02.C, new t(this)));
vx0.t(this, new fxa(f02.E, new u(this)));
vx0.t(this, new fxa(f02.A, new v(this)));
vx0.u(this, new fxa(f02.G, new w(this)));
vx0.u(this, new fxa(f02.H, new x(this)));
vx0.u(this, new fxa(f02.I, new y(this)));
vx0.u(this, new fxa(f02.J, new m(this)));
vx0.u(this, new fxa(f02.K, new n(this)));
vx0.u(this, new fxa(f02.M, new o(this)));
vx0.t(this, new fxa(f02.L, new p(this)));
}
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
vk7.f(layoutInflater, "inflater");
Context requireContext = requireContext();
vk7.e(requireContext, "requireContext()");
ComposeView composeView = new ComposeView(requireContext, (AttributeSet) null, 6, 0);
composeView.setViewCompositionStrategy(ngg.c.b);
z zVar = new z();
Object obj = c22.a;
composeView.setContent(new b22(-53902350, zVar, true));
return composeView;
}
public final void onPause() {
super/*androidx.fragment.app.Fragment*/.onPause();
f0().s = true;
}
public final void onResume() {
super/*androidx.fragment.app.Fragment*/.onResume();
if (f0().s) {
o0(false);
}
}
public final void onViewCreated(View view, Bundle bundle) {
String str;
vk7.f(view, "view");
super/*androidx.fragment.app.Fragment*/.onViewCreated(view, bundle);
Bundle arguments = getArguments();
if (arguments != null) {
ovo.id.onboarding.auth.presentation.fragment.k a2 = k.a.a(arguments);
this.j = a2.a;
this.h = a2.b;
this.k = a2.c;
SelfChangeOtpReference selfChangeOtpReference = a2.e;
this.l = selfChangeOtpReference;
String str2 = a2.d;
if (str2 != null) {
fma fmaVar = oc0.c;
if (fmaVar == null) {
vk7.m("ovoCoreConfig");
throw null;
}
if (!vk7.a(fmaVar.d, "production")) {
this.i = str2;
}
}
me4 f02 = f0();
f02.getClass();
f02.f834u = new SelfChangePhoneNumber(selfChangeOtpReference, "", "", "");
me4 f03 = f0();
SelfChangeOtpReference selfChangeOtpReference2 = this.l;
f03.z(selfChangeOtpReference2 != null ? selfChangeOtpReference2.getCooldownPeriod() : 30);
rda h02 = h0();
h02.x(8, 1);
String str3 = this.j;
if (str3 == null) {
vk7.m("onBoardingType");
throw null;
}
if (str3.equals("SELF_CHANGE_PHONE_NUMBER")) {
n0(wtd.a.j(wtd.a, "Page Load", null, "Email Verification", 10));
h02.w(true);
} else {
h02.w(false);
}
} else {
FragmentActivity activity = getActivity();
if (activity != null) {
activity.onBackPressed();
p1g p1gVar = p1g.a;
}
}
String str4 = this.j;
if (str4 == null) {
vk7.m("onBoardingType");
throw null;
}
int hashCode = str4.hashCode();
if (hashCode == -1691918625) {
if (str4.equals("CREATION")) {
str = "state/registration/email/sent";
}
str = null;
} else if (hashCode != -1370576362) {
if (hashCode == 72611657 && str4.equals("LOGIN")) {
str = "state/login/email/sent";
}
str = null;
} else {
if (str4.equals("SELF_CHANGE_PHONE_NUMBER")) {
str = "state/change_number/email_verification";
}
str = null;
}
if (str != null) {
FragmentActivity requireActivity = requireActivity();
vk7.e(requireActivity, "requireActivity()");
uh.b(requireActivity, AnalyticType.LEANPLUM_STATE, str, (Map) null);
}
}
}