package com.discord.widgets.chat.input; import com.discord.widgets.chat.input.ChatInputViewModel; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: WidgetChatInput.kt */ public final class WidgetChatInput$configureUI$1 extends o implements Function0 { public final /* synthetic */ ChatInputViewModel.ViewState $viewState; public final /* synthetic */ WidgetChatInput this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetChatInput$configureUI$1(WidgetChatInput widgetChatInput, ChatInputViewModel.ViewState viewState) { super(0); this.this$0 = widgetChatInput; this.$viewState = viewState; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { WidgetChatInputTruncatedHint access$getChatInputTruncatedHint$p = WidgetChatInput.access$getChatInputTruncatedHint$p(this.this$0); if (access$getChatInputTruncatedHint$p != null) { WidgetChatInput widgetChatInput = this.this$0; access$getChatInputTruncatedHint$p.setHint(WidgetChatInput.access$getHint(widgetChatInput, widgetChatInput.requireContext(), ((ChatInputViewModel.ViewState.Loaded) this.$viewState).getChannel(), ((ChatInputViewModel.ViewState.Loaded) this.$viewState).isBlocked(), ((ChatInputViewModel.ViewState.Loaded) this.$viewState).getAbleToSendMessage())); } WidgetChatInput.access$configureSendListeners(this.this$0, (ChatInputViewModel.ViewState.Loaded) this.$viewState); } }