package com.discord.widgets.search; import com.discord.utilities.view.extensions.ViewExtensions; import com.google.android.material.textfield.TextInputLayout; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: WidgetSearch.kt */ public final class WidgetSearch$configureSearchInput$5 extends o implements Function1 { public final /* synthetic */ WidgetSearch this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetSearch$configureSearchInput$5(WidgetSearch widgetSearch) { super(1); this.this$0 = widgetSearch; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(String str) { invoke(str); return Unit.a; } public final void invoke(String str) { TextInputLayout textInputLayout = WidgetSearch.access$getBinding$p(this.this$0).f1855c; m.checkNotNullExpressionValue(textInputLayout, "binding.widgetSearchInput"); ViewExtensions.setText(textInputLayout, str); TextInputLayout textInputLayout2 = WidgetSearch.access$getBinding$p(this.this$0).f1855c; m.checkNotNullExpressionValue(textInputLayout2, "binding.widgetSearchInput"); ViewExtensions.setSelectionEnd(textInputLayout2); } }