2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
2021-08-13 06:23:11 +00:00
|
|
|
import c.a.i.a0;
|
2021-08-20 05:39:29 +00:00
|
|
|
import c.a.i.b0;
|
2021-08-11 06:37:47 +00:00
|
|
|
import c.a.i.z;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.app.AppViewFlipper;
|
|
|
|
import com.discord.databinding.WidgetAgeVerifyBinding;
|
|
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
|
|
import com.discord.views.LoadingButton;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import com.google.android.material.textfield.TextInputLayout;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetAgeVerify.kt */
|
|
|
|
public final /* synthetic */ class WidgetAgeVerify$binding$2 extends k implements Function1<View, WidgetAgeVerifyBinding> {
|
|
|
|
public static final WidgetAgeVerify$binding$2 INSTANCE = new WidgetAgeVerify$binding$2();
|
|
|
|
|
|
|
|
public WidgetAgeVerify$binding$2() {
|
|
|
|
super(1, WidgetAgeVerifyBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAgeVerifyBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetAgeVerifyBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.age_verify_view_flipper;
|
|
|
|
AppViewFlipper appViewFlipper = (AppViewFlipper) view.findViewById(R.id.age_verify_view_flipper);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (appViewFlipper != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.confirm;
|
|
|
|
View findViewById = view.findViewById(R.id.confirm);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (findViewById != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
int i2 = R.id.age_verify_confirm_back_button;
|
|
|
|
MaterialButton materialButton = (MaterialButton) findViewById.findViewById(R.id.age_verify_confirm_back_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i2 = R.id.age_verify_confirm_button;
|
|
|
|
LoadingButton loadingButton = (LoadingButton) findViewById.findViewById(R.id.age_verify_confirm_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (loadingButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i2 = R.id.age_verify_confirm_description;
|
|
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) findViewById.findViewById(R.id.age_verify_confirm_description);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i2 = R.id.age_verify_confirm_title;
|
|
|
|
TextView textView = (TextView) findViewById.findViewById(R.id.age_verify_confirm_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-20 05:39:29 +00:00
|
|
|
a0 a0Var = new a0((ConstraintLayout) findViewById, materialButton, loadingButton, linkifiedTextView, textView);
|
2021-08-09 22:51:56 +00:00
|
|
|
View findViewById2 = view.findViewById(R.id.underage);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (findViewById2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
int i3 = R.id.age_verify_return_to_login_button;
|
|
|
|
MaterialButton materialButton2 = (MaterialButton) findViewById2.findViewById(R.id.age_verify_return_to_login_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i3 = R.id.age_verify_underage_description;
|
|
|
|
LinkifiedTextView linkifiedTextView2 = (LinkifiedTextView) findViewById2.findViewById(R.id.age_verify_underage_description);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i3 = R.id.age_verify_underage_title;
|
|
|
|
TextView textView2 = (TextView) findViewById2.findViewById(R.id.age_verify_underage_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i3 = R.id.underage_warning;
|
|
|
|
TextView textView3 = (TextView) findViewById2.findViewById(R.id.underage_warning);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView3 != null) {
|
2021-08-20 05:39:29 +00:00
|
|
|
b0 b0Var = new b0((ConstraintLayout) findViewById2, materialButton2, linkifiedTextView2, textView2, textView3);
|
2021-08-09 22:51:56 +00:00
|
|
|
View findViewById3 = view.findViewById(R.id.verify);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (findViewById3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
int i4 = R.id.age_verify_description;
|
|
|
|
LinkifiedTextView linkifiedTextView3 = (LinkifiedTextView) findViewById3.findViewById(R.id.age_verify_description);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i4 = R.id.age_verify_input_wrapper;
|
|
|
|
TextInputLayout textInputLayout = (TextInputLayout) findViewById3.findViewById(R.id.age_verify_input_wrapper);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textInputLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i4 = R.id.age_verify_next_button;
|
|
|
|
LoadingButton loadingButton2 = (LoadingButton) findViewById3.findViewById(R.id.age_verify_next_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (loadingButton2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i4 = R.id.age_verify_title;
|
|
|
|
TextView textView4 = (TextView) findViewById3.findViewById(R.id.age_verify_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView4 != null) {
|
2021-08-20 05:39:29 +00:00
|
|
|
return new WidgetAgeVerifyBinding((CoordinatorLayout) view, appViewFlipper, a0Var, b0Var, new z((ConstraintLayout) findViewById3, linkifiedTextView3, textInputLayout, loadingButton2, textView4));
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById3.getResources().getResourceName(i4)));
|
|
|
|
}
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.verify;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById2.getResources().getResourceName(i3)));
|
|
|
|
}
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.underage;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById.getResources().getResourceName(i2)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|