216 lines
24 KiB
Java
216 lines
24 KiB
Java
package com.discord.widgets.servers;
|
|
|
|
import android.view.View;
|
|
import android.widget.FrameLayout;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.ScrollView;
|
|
import android.widget.TextView;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
|
import c.a.i.e3;
|
|
import c.a.i.f3;
|
|
import c.a.i.g3;
|
|
import c.a.i.h3;
|
|
import c.a.i.i3;
|
|
import c.a.i.j3;
|
|
import c.a.i.s5;
|
|
import c0.z.d.k;
|
|
import c0.z.d.m;
|
|
import com.discord.R;
|
|
import com.discord.databinding.WidgetServerSettingsOverviewBinding;
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
import com.discord.views.CheckedSetting;
|
|
import com.facebook.drawee.view.SimpleDraweeView;
|
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
|
import com.google.android.material.textfield.TextInputLayout;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetServerSettingsOverview.kt */
|
|
public final /* synthetic */ class WidgetServerSettingsOverview$binding$2 extends k implements Function1<View, WidgetServerSettingsOverviewBinding> {
|
|
public static final WidgetServerSettingsOverview$binding$2 INSTANCE = new WidgetServerSettingsOverview$binding$2();
|
|
|
|
public WidgetServerSettingsOverview$binding$2() {
|
|
super(1, WidgetServerSettingsOverviewBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetServerSettingsOverviewBinding;", 0);
|
|
}
|
|
|
|
public final WidgetServerSettingsOverviewBinding invoke(View view) {
|
|
m.checkNotNullParameter(view, "p1");
|
|
int i = R.id.afk;
|
|
View findViewById = view.findViewById(R.id.afk);
|
|
if (findViewById != null) {
|
|
int i2 = R.id.afk_channel;
|
|
TextView textView = (TextView) findViewById.findViewById(R.id.afk_channel);
|
|
if (textView != null) {
|
|
i2 = R.id.afk_channel_wrap;
|
|
LinearLayout linearLayout = (LinearLayout) findViewById.findViewById(R.id.afk_channel_wrap);
|
|
if (linearLayout != null) {
|
|
i2 = R.id.afk_timeout;
|
|
TextView textView2 = (TextView) findViewById.findViewById(R.id.afk_timeout);
|
|
if (textView2 != null) {
|
|
i2 = R.id.afk_timeout_wrap;
|
|
LinearLayout linearLayout2 = (LinearLayout) findViewById.findViewById(R.id.afk_timeout_wrap);
|
|
if (linearLayout2 != null) {
|
|
s5 s5Var = new s5((LinearLayout) findViewById, textView, linearLayout, textView2, linearLayout2);
|
|
i = R.id.header;
|
|
View findViewById2 = view.findViewById(R.id.header);
|
|
if (findViewById2 != null) {
|
|
int i3 = R.id.icon_label;
|
|
TextView textView3 = (TextView) findViewById2.findViewById(R.id.icon_label);
|
|
if (textView3 != null) {
|
|
i3 = R.id.overview_name;
|
|
TextInputLayout textInputLayout = (TextInputLayout) findViewById2.findViewById(R.id.overview_name);
|
|
if (textInputLayout != null) {
|
|
i3 = R.id.server_settings_overview_icon;
|
|
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) findViewById2.findViewById(R.id.server_settings_overview_icon);
|
|
if (simpleDraweeView != null) {
|
|
ConstraintLayout constraintLayout = (ConstraintLayout) findViewById2;
|
|
i3 = R.id.server_settings_overview_icon_remove;
|
|
TextView textView4 = (TextView) findViewById2.findViewById(R.id.server_settings_overview_icon_remove);
|
|
if (textView4 != null) {
|
|
i3 = R.id.server_settings_overview_icon_text;
|
|
TextView textView5 = (TextView) findViewById2.findViewById(R.id.server_settings_overview_icon_text);
|
|
if (textView5 != null) {
|
|
e3 e3Var = new e3(constraintLayout, textView3, textInputLayout, simpleDraweeView, constraintLayout, textView4, textView5);
|
|
i = R.id.notifications;
|
|
View findViewById3 = view.findViewById(R.id.notifications);
|
|
if (findViewById3 != null) {
|
|
int i4 = R.id.server_settings_overview_notification_all;
|
|
CheckedSetting checkedSetting = (CheckedSetting) findViewById3.findViewById(R.id.server_settings_overview_notification_all);
|
|
if (checkedSetting != null) {
|
|
i4 = R.id.server_settings_overview_notification_only_mentions;
|
|
CheckedSetting checkedSetting2 = (CheckedSetting) findViewById3.findViewById(R.id.server_settings_overview_notification_only_mentions);
|
|
if (checkedSetting2 != null) {
|
|
f3 f3Var = new f3((LinearLayout) findViewById3, checkedSetting, checkedSetting2);
|
|
View findViewById4 = view.findViewById(R.id.region_help);
|
|
if (findViewById4 != null) {
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) findViewById4.findViewById(R.id.guild_region_help);
|
|
if (linkifiedTextView != null) {
|
|
LinearLayout linearLayout3 = (LinearLayout) findViewById4;
|
|
g3 g3Var = new g3(linearLayout3, linkifiedTextView, linearLayout3);
|
|
FloatingActionButton floatingActionButton = (FloatingActionButton) view.findViewById(R.id.save);
|
|
if (floatingActionButton != null) {
|
|
ScrollView scrollView = (ScrollView) view.findViewById(R.id.server_settings_overview_scroll);
|
|
if (scrollView != null) {
|
|
View findViewById5 = view.findViewById(R.id.systemChannel);
|
|
if (findViewById5 != null) {
|
|
int i5 = R.id.system_channel;
|
|
TextView textView6 = (TextView) findViewById5.findViewById(R.id.system_channel);
|
|
if (textView6 != null) {
|
|
i5 = R.id.system_channel_boost;
|
|
CheckedSetting checkedSetting3 = (CheckedSetting) findViewById5.findViewById(R.id.system_channel_boost);
|
|
if (checkedSetting3 != null) {
|
|
i5 = R.id.system_channel_join;
|
|
CheckedSetting checkedSetting4 = (CheckedSetting) findViewById5.findViewById(R.id.system_channel_join);
|
|
if (checkedSetting4 != null) {
|
|
i5 = R.id.system_channel_join_replies;
|
|
CheckedSetting checkedSetting5 = (CheckedSetting) findViewById5.findViewById(R.id.system_channel_join_replies);
|
|
if (checkedSetting5 != null) {
|
|
LinearLayout linearLayout4 = (LinearLayout) findViewById5;
|
|
h3 h3Var = new h3(linearLayout4, textView6, checkedSetting3, checkedSetting4, checkedSetting5, linearLayout4);
|
|
View findViewById6 = view.findViewById(R.id.uploadBanner);
|
|
if (findViewById6 != null) {
|
|
int i6 = R.id.server_settings_overview_upload_banner_container;
|
|
FrameLayout frameLayout = (FrameLayout) findViewById6.findViewById(R.id.server_settings_overview_upload_banner_container);
|
|
if (frameLayout != null) {
|
|
i6 = R.id.server_settings_overview_upload_banner_remove;
|
|
TextView textView7 = (TextView) findViewById6.findViewById(R.id.server_settings_overview_upload_banner_remove);
|
|
if (textView7 != null) {
|
|
i6 = R.id.upload_banner;
|
|
SimpleDraweeView simpleDraweeView2 = (SimpleDraweeView) findViewById6.findViewById(R.id.upload_banner);
|
|
if (simpleDraweeView2 != null) {
|
|
i6 = R.id.upload_banner_fab;
|
|
FloatingActionButton floatingActionButton2 = (FloatingActionButton) findViewById6.findViewById(R.id.upload_banner_fab);
|
|
if (floatingActionButton2 != null) {
|
|
i6 = R.id.upload_banner_learn_more;
|
|
LinkifiedTextView linkifiedTextView2 = (LinkifiedTextView) findViewById6.findViewById(R.id.upload_banner_learn_more);
|
|
if (linkifiedTextView2 != null) {
|
|
i6 = R.id.upload_banner_nitro_tier;
|
|
TextView textView8 = (TextView) findViewById6.findViewById(R.id.upload_banner_nitro_tier);
|
|
if (textView8 != null) {
|
|
i6 = R.id.upload_banner_unlock;
|
|
TextView textView9 = (TextView) findViewById6.findViewById(R.id.upload_banner_unlock);
|
|
if (textView9 != null) {
|
|
i3 i3Var = new i3((LinearLayout) findViewById6, frameLayout, textView7, simpleDraweeView2, floatingActionButton2, linkifiedTextView2, textView8, textView9);
|
|
View findViewById7 = view.findViewById(R.id.uploadSplash);
|
|
if (findViewById7 != null) {
|
|
int i7 = R.id.server_settings_overview_upload_splash_container;
|
|
FrameLayout frameLayout2 = (FrameLayout) findViewById7.findViewById(R.id.server_settings_overview_upload_splash_container);
|
|
if (frameLayout2 != null) {
|
|
i7 = R.id.server_settings_overview_upload_splash_fab;
|
|
FloatingActionButton floatingActionButton3 = (FloatingActionButton) findViewById7.findViewById(R.id.server_settings_overview_upload_splash_fab);
|
|
if (floatingActionButton3 != null) {
|
|
i7 = R.id.server_settings_overview_upload_splash_remove;
|
|
TextView textView10 = (TextView) findViewById7.findViewById(R.id.server_settings_overview_upload_splash_remove);
|
|
if (textView10 != null) {
|
|
i7 = R.id.upload_splash;
|
|
SimpleDraweeView simpleDraweeView3 = (SimpleDraweeView) findViewById7.findViewById(R.id.upload_splash);
|
|
if (simpleDraweeView3 != null) {
|
|
i7 = R.id.upload_splash_learn_more;
|
|
LinkifiedTextView linkifiedTextView3 = (LinkifiedTextView) findViewById7.findViewById(R.id.upload_splash_learn_more);
|
|
if (linkifiedTextView3 != null) {
|
|
i7 = R.id.upload_splash_nitro_tier;
|
|
TextView textView11 = (TextView) findViewById7.findViewById(R.id.upload_splash_nitro_tier);
|
|
if (textView11 != null) {
|
|
i7 = R.id.upload_splash_unlock;
|
|
TextView textView12 = (TextView) findViewById7.findViewById(R.id.upload_splash_unlock);
|
|
if (textView12 != null) {
|
|
return new WidgetServerSettingsOverviewBinding((CoordinatorLayout) view, s5Var, e3Var, f3Var, g3Var, floatingActionButton, scrollView, h3Var, i3Var, new j3((LinearLayout) findViewById7, frameLayout2, floatingActionButton3, textView10, simpleDraweeView3, linkifiedTextView3, textView11, textView12));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById7.getResources().getResourceName(i7)));
|
|
}
|
|
i = R.id.uploadSplash;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById6.getResources().getResourceName(i6)));
|
|
}
|
|
i = R.id.uploadBanner;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById5.getResources().getResourceName(i5)));
|
|
}
|
|
i = R.id.systemChannel;
|
|
} else {
|
|
i = R.id.server_settings_overview_scroll;
|
|
}
|
|
} else {
|
|
i = R.id.save;
|
|
}
|
|
} else {
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById4.getResources().getResourceName(R.id.guild_region_help)));
|
|
}
|
|
} else {
|
|
i = R.id.region_help;
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById3.getResources().getResourceName(i4)));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById2.getResources().getResourceName(i3)));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
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)));
|
|
}
|
|
}
|