2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
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.databinding.WidgetAuthAgeGatedBinding;
|
|
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetAuthAgeGated.kt */
|
|
|
|
public final /* synthetic */ class WidgetAuthAgeGated$binding$2 extends k implements Function1<View, WidgetAuthAgeGatedBinding> {
|
|
|
|
public static final WidgetAuthAgeGated$binding$2 INSTANCE = new WidgetAuthAgeGated$binding$2();
|
|
|
|
|
|
|
|
public WidgetAuthAgeGated$binding$2() {
|
|
|
|
super(1, WidgetAuthAgeGatedBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAuthAgeGatedBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetAuthAgeGatedBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.auth_register_container;
|
|
|
|
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.auth_register_container);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_underage_button;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.auth_register_underage_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_underage_description;
|
|
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.auth_register_underage_description);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView != null) {
|
|
|
|
return new WidgetAuthAgeGatedBinding((CoordinatorLayout) view, linearLayout, materialButton, linkifiedTextView);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|