discord-jadx/app/src/main/java/com/discord/widgets/auth/WidgetAgeVerify$configureBi...

43 lines
1.8 KiB
Java

package com.discord.widgets.auth;
import android.view.View;
import androidx.fragment.app.FragmentManager;
import c.a.a.k;
import c.a.k.b;
import c0.z.d.m;
import c0.z.d.o;
import com.discord.R;
import com.discord.utilities.birthday.BirthdayHelper;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetAgeVerify.kt */
public final class WidgetAgeVerify$configureBirthdayInput$1 extends o implements Function1<View, Unit> {
public final /* synthetic */ Long $timeOfBirth;
public final /* synthetic */ WidgetAgeVerify this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetAgeVerify$configureBirthdayInput$1(WidgetAgeVerify widgetAgeVerify, Long l) {
super(1);
this.this$0 = widgetAgeVerify;
this.$timeOfBirth = l;
}
/* 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(View view) {
invoke(view);
return Unit.a;
}
public final void invoke(View view) {
m.checkNotNullParameter(view, "it");
k.a aVar = k.j;
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
CharSequence k = b.k(this.this$0, R.string.age_gate_date_of_birth, new Object[0], null, 4);
Long l = this.$timeOfBirth;
aVar.a(parentFragmentManager, k, l != null ? l.longValue() : BirthdayHelper.INSTANCE.defaultInputAge(), BirthdayHelper.INSTANCE.getMaxDateOfBirth()).k = new WidgetAgeVerify$configureBirthdayInput$1$$special$$inlined$apply$lambda$1(this);
}
}