2021-06-27 20:44:35 +00:00
|
|
|
package defpackage;
|
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
import androidx.lifecycle.ViewModelStore;
|
|
|
|
import androidx.lifecycle.ViewModelStoreOwner;
|
2021-11-08 18:25:28 +00:00
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
2021-06-27 20:44:35 +00:00
|
|
|
/* compiled from: kotlin-style lambda group */
|
|
|
|
/* renamed from: k reason: default package */
|
2022-03-02 20:59:20 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-12-21 23:37:30 +00:00
|
|
|
public final class k extends o implements Function0<ViewModelStore> {
|
2021-12-17 22:03:14 +00:00
|
|
|
public final /* synthetic */ int j;
|
|
|
|
public final /* synthetic */ Object k;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
2021-11-08 18:25:28 +00:00
|
|
|
public k(int i, Object obj) {
|
2021-12-21 23:37:30 +00:00
|
|
|
super(0);
|
2021-12-17 22:03:14 +00:00
|
|
|
this.j = i;
|
|
|
|
this.k = obj;
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
@Override // kotlin.jvm.functions.Function0
|
2022-03-02 20:59:20 +00:00
|
|
|
public final ViewModelStore invoke() {
|
2021-12-17 22:03:14 +00:00
|
|
|
int i = this.j;
|
2021-06-27 20:44:35 +00:00
|
|
|
if (i == 0) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore;
|
2021-06-27 20:44:35 +00:00
|
|
|
} else if (i == 1) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore2 = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore2, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore2;
|
|
|
|
} else if (i == 2) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore3 = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore3, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore3;
|
|
|
|
} else if (i == 3) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore4 = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore4, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore4;
|
|
|
|
} else if (i == 4) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore5 = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore5, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore5;
|
|
|
|
} else if (i == 5) {
|
2022-03-02 20:59:20 +00:00
|
|
|
ViewModelStore viewModelStore6 = ((ViewModelStoreOwner) ((Function0) this.k).invoke()).getViewModelStore();
|
2021-12-21 23:37:30 +00:00
|
|
|
m.checkNotNullExpressionValue(viewModelStore6, "ownerProducer().viewModelStore");
|
|
|
|
return viewModelStore6;
|
2021-06-27 20:44:35 +00:00
|
|
|
} else {
|
|
|
|
throw null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|