2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import androidx.fragment.app.FragmentManager;
|
|
|
|
import c.a.a.k;
|
2021-08-11 06:37:47 +00:00
|
|
|
import c.a.k.b;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
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");
|
2021-08-09 22:51:56 +00:00
|
|
|
CharSequence k = b.k(this.this$0, R.string.age_gate_date_of_birth, new Object[0], null, 4);
|
2021-08-03 07:33:18 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|