Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.ContextWrapper;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import androidx.fragment.app.K;
|
||||
import androidx.lifecycle.y0;
|
||||
import dagger.hilt.android.flags.FragmentGetContextFix;
|
||||
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
|
||||
import dagger.hilt.android.internal.managers.FragmentComponentManager;
|
||||
import dagger.hilt.internal.GeneratedComponentManagerHolder;
|
||||
import dagger.hilt.internal.Preconditions;
|
||||
import dagger.hilt.internal.UnsafeCasts;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class Hilt_NewIssueFragment extends K implements GeneratedComponentManagerHolder {
|
||||
private ContextWrapper componentContext;
|
||||
private volatile FragmentComponentManager componentManager;
|
||||
private final Object componentManagerLock;
|
||||
private boolean disableGetContextFix;
|
||||
private boolean injected;
|
||||
|
||||
public Hilt_NewIssueFragment() {
|
||||
this.componentManagerLock = new Object();
|
||||
this.injected = false;
|
||||
}
|
||||
|
||||
private void initializeComponentContext() {
|
||||
if (this.componentContext == null) {
|
||||
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
|
||||
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
|
||||
}
|
||||
}
|
||||
|
||||
public FragmentComponentManager createComponentManager() {
|
||||
return new FragmentComponentManager(this);
|
||||
}
|
||||
|
||||
@Override // dagger.hilt.internal.GeneratedComponentManager
|
||||
public final Object generatedComponent() {
|
||||
return componentManager().generatedComponent();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public Context getContext() {
|
||||
if (super.getContext() == null && !this.disableGetContextFix) {
|
||||
return null;
|
||||
}
|
||||
initializeComponentContext();
|
||||
return this.componentContext;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
|
||||
public y0 getDefaultViewModelProviderFactory() {
|
||||
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
|
||||
}
|
||||
|
||||
public void inject() {
|
||||
if (this.injected) {
|
||||
return;
|
||||
}
|
||||
this.injected = true;
|
||||
((NewIssueFragment_GeneratedInjector) generatedComponent()).injectNewIssueFragment((NewIssueFragment) UnsafeCasts.unsafeCast(this));
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
initializeComponentContext();
|
||||
inject();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
|
||||
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
|
||||
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
|
||||
}
|
||||
|
||||
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
|
||||
public final FragmentComponentManager componentManager() {
|
||||
if (this.componentManager == null) {
|
||||
synchronized (this.componentManagerLock) {
|
||||
try {
|
||||
if (this.componentManager == null) {
|
||||
this.componentManager = createComponentManager();
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
return this.componentManager;
|
||||
}
|
||||
|
||||
public Hilt_NewIssueFragment(int i) {
|
||||
super(i);
|
||||
this.componentManagerLock = new Object();
|
||||
this.injected = false;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
ContextWrapper contextWrapper = this.componentContext;
|
||||
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
|
||||
initializeComponentContext();
|
||||
inject();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,243 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.net.Uri;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0007\u0003\u0004\u0005\u0006\u0007\b\tB\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0007\n\u000b\f\r\u000e\u000f\u0010¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "", "()V", "AskForCameraPermission", "EditPicture", "NavigateUp", "PickImageFromCamera", "PickImageFromGallery", "PickPicture", "RegularNavigation", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$AskForCameraPermission;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$EditPicture;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$NavigateUp;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickImageFromCamera;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickImageFromGallery;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickPicture;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$RegularNavigation;", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class NavigateTo {
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$AskForCameraPermission;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class AskForCameraPermission extends NavigateTo {
|
||||
public static final AskForCameraPermission INSTANCE = new AskForCameraPermission();
|
||||
|
||||
private AskForCameraPermission() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof AskForCameraPermission);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return -72677138;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AskForCameraPermission";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$EditPicture;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "position", "", "pictureContent", "", "(ILjava/lang/String;)V", "getPictureContent", "()Ljava/lang/String;", "getPosition", "()I", "component1", "component2", "copy", "equals", "", "other", "", "hashCode", "toString", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class EditPicture extends NavigateTo {
|
||||
private final String pictureContent;
|
||||
private final int position;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public EditPicture(int i, String pictureContent) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(pictureContent, "pictureContent");
|
||||
this.position = i;
|
||||
this.pictureContent = pictureContent;
|
||||
}
|
||||
|
||||
public static /* synthetic */ EditPicture copy$default(EditPicture editPicture, int i, String str, int i4, Object obj) {
|
||||
if ((i4 & 1) != 0) {
|
||||
i = editPicture.position;
|
||||
}
|
||||
if ((i4 & 2) != 0) {
|
||||
str = editPicture.pictureContent;
|
||||
}
|
||||
return editPicture.copy(i, str);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final int getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
/* renamed from: component2, reason: from getter */
|
||||
public final String getPictureContent() {
|
||||
return this.pictureContent;
|
||||
}
|
||||
|
||||
public final EditPicture copy(int position, String pictureContent) {
|
||||
Intrinsics.checkNotNullParameter(pictureContent, "pictureContent");
|
||||
return new EditPicture(position, pictureContent);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof EditPicture)) {
|
||||
return false;
|
||||
}
|
||||
EditPicture editPicture = (EditPicture) other;
|
||||
return this.position == editPicture.position && Intrinsics.areEqual(this.pictureContent, editPicture.pictureContent);
|
||||
}
|
||||
|
||||
public final String getPictureContent() {
|
||||
return this.pictureContent;
|
||||
}
|
||||
|
||||
public final int getPosition() {
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.pictureContent.hashCode() + (Integer.hashCode(this.position) * 31);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("EditPicture(position=");
|
||||
sb.append(this.position);
|
||||
sb.append(", pictureContent=");
|
||||
return com.google.android.gms.measurement.internal.a.n(sb, this.pictureContent, ')');
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$NavigateUp;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class NavigateUp extends NavigateTo {
|
||||
public static final NavigateUp INSTANCE = new NavigateUp();
|
||||
|
||||
private NavigateUp() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof NavigateUp);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 1764021590;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "NavigateUp";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickImageFromCamera;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "imageUri", "Landroid/net/Uri;", "(Landroid/net/Uri;)V", "getImageUri", "()Landroid/net/Uri;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class PickImageFromCamera extends NavigateTo {
|
||||
private final Uri imageUri;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public PickImageFromCamera(Uri imageUri) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(imageUri, "imageUri");
|
||||
this.imageUri = imageUri;
|
||||
}
|
||||
|
||||
public static /* synthetic */ PickImageFromCamera copy$default(PickImageFromCamera pickImageFromCamera, Uri uri, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
uri = pickImageFromCamera.imageUri;
|
||||
}
|
||||
return pickImageFromCamera.copy(uri);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final Uri getImageUri() {
|
||||
return this.imageUri;
|
||||
}
|
||||
|
||||
public final PickImageFromCamera copy(Uri imageUri) {
|
||||
Intrinsics.checkNotNullParameter(imageUri, "imageUri");
|
||||
return new PickImageFromCamera(imageUri);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof PickImageFromCamera) && Intrinsics.areEqual(this.imageUri, ((PickImageFromCamera) other).imageUri);
|
||||
}
|
||||
|
||||
public final Uri getImageUri() {
|
||||
return this.imageUri;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.imageUri.hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PickImageFromCamera(imageUri=" + this.imageUri + ')';
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickImageFromGallery;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class PickImageFromGallery extends NavigateTo {
|
||||
public static final PickImageFromGallery INSTANCE = new PickImageFromGallery();
|
||||
|
||||
private PickImageFromGallery() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof PickImageFromGallery);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 1944391448;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PickImageFromGallery";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$PickPicture;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class PickPicture extends NavigateTo {
|
||||
public static final PickPicture INSTANCE = new PickPicture();
|
||||
|
||||
private PickPicture() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof PickPicture);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return -1572336269;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PickPicture";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo$RegularNavigation;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NavigateTo;", "navigation", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "(Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;)V", "getNavigation", "()Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class RegularNavigation extends NavigateTo {
|
||||
private final Navigation navigation;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public RegularNavigation(Navigation navigation) {
|
||||
super(null);
|
||||
Intrinsics.checkNotNullParameter(navigation, "navigation");
|
||||
this.navigation = navigation;
|
||||
}
|
||||
|
||||
public final Navigation getNavigation() {
|
||||
return this.navigation;
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ NavigateTo(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private NavigateTo() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.utils.Status;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class NewIssueFragment$bindViewModel$10$WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[Status.values().length];
|
||||
try {
|
||||
iArr[Status.SUCCESS.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.ERROR.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.LOADING.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.utils.Status;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class NewIssueFragment$bindViewModel$11$WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[Status.values().length];
|
||||
try {
|
||||
iArr[Status.LOADING.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.SUCCESS.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.ERROR.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.utils.Status;
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class NewIssueFragment$bindViewModel$12$WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[Status.values().length];
|
||||
try {
|
||||
iArr[Status.LOADING.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.SUCCESS.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[Status.ERROR.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,653 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.text.Editable;
|
||||
import android.text.TextWatcher;
|
||||
import android.util.Base64;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.ListAdapter;
|
||||
import androidx.fragment.app.C0146f0;
|
||||
import androidx.fragment.app.K;
|
||||
import androidx.lifecycle.C0;
|
||||
import androidx.lifecycle.D0;
|
||||
import androidx.lifecycle.InterfaceC0200v;
|
||||
import androidx.lifecycle.J;
|
||||
import androidx.lifecycle.q0;
|
||||
import androidx.lifecycle.y0;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import com.adif.elcanomovil.commonNavGraph.extensions.NavigationExtensionsKt;
|
||||
import com.adif.elcanomovil.commonViews.data.InfoHeaderData;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStation;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory;
|
||||
import com.adif.elcanomovil.uiAvisa.R;
|
||||
import com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewAction;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.BottomSheetCategoriesBinding;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.FragmentAvisaNewBinding;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.PictureBottomSheetBinding;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.PopupFullscreenPictureBinding;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.BottomSheetListView;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.FullScreenPicturePopupWindow;
|
||||
import com.adif.elcanomovil.uiAvisa.utils.ui.PictureGridView;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import d.AbstractC0294c;
|
||||
import dagger.hilt.android.AndroidEntryPoint;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.LazyKt;
|
||||
import kotlin.LazyThreadSafetyMode;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.collections.CollectionsKt__IterablesKt;
|
||||
import kotlin.comparisons.ComparisonsKt;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Reflection;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
|
||||
import l0.C0435a;
|
||||
|
||||
@Metadata(d1 = {"\u0000l\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\b\n\u0002\u0010\u000b\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\b\u0005\b\u0007\u0018\u0000 >2\u00020\u0001:\u0001>B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J!\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0016¢\u0006\u0004\b\t\u0010\nJ)\u0010\u0010\u001a\u00020\b2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000b2\b\u0010\u000f\u001a\u0004\u0018\u00010\u000eH\u0017¢\u0006\u0004\b\u0010\u0010\u0011J\u000f\u0010\u0012\u001a\u00020\bH\u0002¢\u0006\u0004\b\u0012\u0010\u0003J\u001f\u0010\u0016\u001a\u00020\b2\u0006\u0010\u0013\u001a\u00020\u000b2\u0006\u0010\u0015\u001a\u00020\u0014H\u0002¢\u0006\u0004\b\u0016\u0010\u0017J\u000f\u0010\u0018\u001a\u00020\bH\u0002¢\u0006\u0004\b\u0018\u0010\u0003J\u000f\u0010\u0019\u001a\u00020\bH\u0002¢\u0006\u0004\b\u0019\u0010\u0003J\u0017\u0010\u001b\u001a\u00020\b2\u0006\u0010\u001a\u001a\u00020\u0014H\u0002¢\u0006\u0004\b\u001b\u0010\u001cJ\u0017\u0010\u001f\u001a\u00020\b2\u0006\u0010\u001e\u001a\u00020\u001dH\u0002¢\u0006\u0004\b\u001f\u0010 J\u0017\u0010\"\u001a\u00020\b2\u0006\u0010!\u001a\u00020\u000bH\u0002¢\u0006\u0004\b\"\u0010#J\u000f\u0010$\u001a\u00020\bH\u0002¢\u0006\u0004\b$\u0010\u0003J\u000f\u0010%\u001a\u00020\bH\u0002¢\u0006\u0004\b%\u0010\u0003J\u0017\u0010(\u001a\u00020\b2\u0006\u0010'\u001a\u00020&H\u0002¢\u0006\u0004\b(\u0010)J\u0017\u0010,\u001a\u00020\b2\u0006\u0010+\u001a\u00020*H\u0002¢\u0006\u0004\b,\u0010-J\u0017\u0010/\u001a\u00020\b2\u0006\u0010.\u001a\u00020*H\u0002¢\u0006\u0004\b/\u0010-R\u0016\u00101\u001a\u0002008\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b1\u00102R\u001b\u00108\u001a\u0002038BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b4\u00105\u001a\u0004\b6\u00107R.\u0010<\u001a\u001c\u0012\u0018\u0012\u0016\u0012\u0004\u0012\u00020\u0014 ;*\n\u0012\u0004\u0012\u00020\u0014\u0018\u00010:0:098\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b<\u0010=¨\u0006?"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "", "requestCode", "resultCode", "Landroid/content/Intent;", Constants.ScionAnalytics.MessageType.DATA_MESSAGE, "onActivityResult", "(IILandroid/content/Intent;)V", "bindViewModel", "position", "", "pictureContent", "editPicture", "(ILjava/lang/String;)V", "promptCategoriesDialog", "promptStationsDialog", "stationId", "requestCategories", "(Ljava/lang/String;)V", "", "isChecked", "createIssue", "(Z)V", "value", "showProgress", "(I)V", "promptPickPictureDialog", "selectImageInAlbum", "Landroid/net/Uri;", "photoURI", "takePhoto", "(Landroid/net/Uri;)V", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;", "_action", "creationInfoDialogDismissed", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;)V", "action", "handlePreMandatoryUpdateAlertResult", "Lcom/adif/elcanomovil/uiAvisa/databinding/FragmentAvisaNewBinding;", "binding", "Lcom/adif/elcanomovil/uiAvisa/databinding/FragmentAvisaNewBinding;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewModel;", "viewModel", "Ld/c;", "", "kotlin.jvm.PlatformType", "requestCameraPermissions", "Ld/c;", "Companion", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@AndroidEntryPoint
|
||||
@SourceDebugExtension({"SMAP\nNewIssueFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NewIssueFragment.kt\ncom/adif/elcanomovil/uiAvisa/components/create/NewIssueFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,378:1\n106#2,15:379\n1045#3:394\n1549#3:395\n1620#3,3:396\n1045#3:399\n1549#3:400\n1620#3,3:401\n*S KotlinDebug\n*F\n+ 1 NewIssueFragment.kt\ncom/adif/elcanomovil/uiAvisa/components/create/NewIssueFragment\n*L\n45#1:379,15\n276#1:394\n280#1:395\n280#1:396,3\n298#1:399\n304#1:400\n304#1:401,3\n*E\n"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueFragment extends Hilt_NewIssueFragment {
|
||||
private static final int REQUEST_SELECT_IMAGE_IN_ALBUM = 101;
|
||||
private static final int REQUEST_TAKE_PHOTO = 100;
|
||||
private FragmentAvisaNewBinding binding;
|
||||
private final AbstractC0294c requestCameraPermissions;
|
||||
|
||||
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
|
||||
private final Lazy viewModel;
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public /* synthetic */ class WhenMappings {
|
||||
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[AlertAction.Style.values().length];
|
||||
try {
|
||||
iArr[AlertAction.Style.POSITIVE.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError unused) {
|
||||
}
|
||||
try {
|
||||
iArr[AlertAction.Style.NEGATIVE.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError unused2) {
|
||||
}
|
||||
try {
|
||||
iArr[AlertAction.Style.NEUTRAL.ordinal()] = 3;
|
||||
} catch (NoSuchFieldError unused3) {
|
||||
}
|
||||
$EnumSwitchMapping$0 = iArr;
|
||||
}
|
||||
}
|
||||
|
||||
public NewIssueFragment() {
|
||||
super(R.layout.fragment_avisa_new);
|
||||
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$special$$inlined$viewModels$default$1
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final K invoke() {
|
||||
return K.this;
|
||||
}
|
||||
};
|
||||
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$special$$inlined$viewModels$default$2
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final D0 invoke() {
|
||||
return (D0) Function0.this.invoke();
|
||||
}
|
||||
});
|
||||
final Function0 function02 = null;
|
||||
this.viewModel = m3.d.n(this, Reflection.getOrCreateKotlinClass(NewIssueViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$special$$inlined$viewModels$default$3
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final C0 invoke() {
|
||||
return ((D0) Lazy.this.getValue()).getViewModelStore();
|
||||
}
|
||||
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$special$$inlined$viewModels$default$4
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final l0.c invoke() {
|
||||
l0.c cVar;
|
||||
Function0 function03 = Function0.this;
|
||||
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
|
||||
return cVar;
|
||||
}
|
||||
D0 d02 = (D0) lazy.getValue();
|
||||
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
|
||||
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
|
||||
}
|
||||
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$special$$inlined$viewModels$default$5
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
{
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final y0 invoke() {
|
||||
y0 defaultViewModelProviderFactory;
|
||||
D0 d02 = (D0) lazy.getValue();
|
||||
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
|
||||
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
|
||||
return defaultViewModelProviderFactory;
|
||||
}
|
||||
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
|
||||
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
|
||||
return defaultViewModelProviderFactory2;
|
||||
}
|
||||
});
|
||||
AbstractC0294c registerForActivityResult = registerForActivityResult(new C0146f0(1), new I2.k(this, 9));
|
||||
Intrinsics.checkNotNullExpressionValue(registerForActivityResult, "registerForActivityResult(...)");
|
||||
this.requestCameraPermissions = registerForActivityResult;
|
||||
}
|
||||
|
||||
private final void bindViewModel() {
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = this.binding;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
final int i = 0;
|
||||
fragmentAvisaNewBinding.createIssueButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiAvisa.components.create.c
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4833b;
|
||||
|
||||
{
|
||||
this.f4833b = this;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i4 = i;
|
||||
NewIssueFragment newIssueFragment = this.f4833b;
|
||||
switch (i4) {
|
||||
case 0:
|
||||
NewIssueFragment.bindViewModel$lambda$1(newIssueFragment, view);
|
||||
return;
|
||||
case 1:
|
||||
NewIssueFragment.bindViewModel$lambda$2(newIssueFragment, view);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.bindViewModel$lambda$3(newIssueFragment, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding2 = this.binding;
|
||||
if (fragmentAvisaNewBinding2 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding2 = null;
|
||||
}
|
||||
final int i4 = 1;
|
||||
fragmentAvisaNewBinding2.createIssueStation.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiAvisa.components.create.c
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4833b;
|
||||
|
||||
{
|
||||
this.f4833b = this;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i42 = i4;
|
||||
NewIssueFragment newIssueFragment = this.f4833b;
|
||||
switch (i42) {
|
||||
case 0:
|
||||
NewIssueFragment.bindViewModel$lambda$1(newIssueFragment, view);
|
||||
return;
|
||||
case 1:
|
||||
NewIssueFragment.bindViewModel$lambda$2(newIssueFragment, view);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.bindViewModel$lambda$3(newIssueFragment, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding3 = this.binding;
|
||||
if (fragmentAvisaNewBinding3 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding3 = null;
|
||||
}
|
||||
final int i5 = 2;
|
||||
fragmentAvisaNewBinding3.createIssueCategory.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiAvisa.components.create.c
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4833b;
|
||||
|
||||
{
|
||||
this.f4833b = this;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i42 = i5;
|
||||
NewIssueFragment newIssueFragment = this.f4833b;
|
||||
switch (i42) {
|
||||
case 0:
|
||||
NewIssueFragment.bindViewModel$lambda$1(newIssueFragment, view);
|
||||
return;
|
||||
case 1:
|
||||
NewIssueFragment.bindViewModel$lambda$2(newIssueFragment, view);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.bindViewModel$lambda$3(newIssueFragment, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding4 = this.binding;
|
||||
if (fragmentAvisaNewBinding4 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding4 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding4.createIssueSwitch.setOnCheckedChangeListener(new O1.a(this, 1));
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding5 = this.binding;
|
||||
if (fragmentAvisaNewBinding5 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding5 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding5.createIssueDescription.addTextChangedListener(new TextWatcher() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$bindViewModel$5
|
||||
@Override // android.text.TextWatcher
|
||||
public void afterTextChanged(Editable p02) {
|
||||
}
|
||||
|
||||
@Override // android.text.TextWatcher
|
||||
public void beforeTextChanged(CharSequence p02, int p12, int p22, int p3) {
|
||||
}
|
||||
|
||||
@Override // android.text.TextWatcher
|
||||
public void onTextChanged(CharSequence p02, int p12, int p22, int p3) {
|
||||
NewIssueViewModel viewModel;
|
||||
viewModel = NewIssueFragment.this.getViewModel();
|
||||
viewModel.setIssueDescription(String.valueOf(p02));
|
||||
}
|
||||
});
|
||||
J viewLifecycleOwner = getViewLifecycleOwner();
|
||||
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
|
||||
BuildersKt__Builders_commonKt.launch$default(q0.h(viewLifecycleOwner), null, null, new i(this, null), 3, null);
|
||||
getViewModel().selectedCategory().e(getViewLifecycleOwner(), new l(0, new d(this, 4)));
|
||||
getViewModel().selectedStation().e(getViewLifecycleOwner(), new l(0, new d(this, 5)));
|
||||
getViewModel().canContinue().e(getViewLifecycleOwner(), new l(0, new d(this, 6)));
|
||||
getViewModel().getListCategories().e(getViewLifecycleOwner(), new l(0, new d(this, 0)));
|
||||
getViewModel().getAvisaStationList().e(getViewLifecycleOwner(), new l(0, new d(this, 1)));
|
||||
getViewModel().getResultCreateIncidence().e(getViewLifecycleOwner(), new l(0, new d(this, 2)));
|
||||
getViewModel().bitmap().e(getViewLifecycleOwner(), new l(0, new d(this, 3)));
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding6 = this.binding;
|
||||
if (fragmentAvisaNewBinding6 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding6 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding6.createIssueGrid.setCallback(new PictureGridView.OnPictureGridInteractionListener() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$bindViewModel$14
|
||||
@Override // com.adif.elcanomovil.uiAvisa.utils.ui.PictureGridView.OnPictureGridInteractionListener
|
||||
public void onPictureInteraction(Bitmap bitmap) {
|
||||
PictureGridView.OnPictureGridInteractionListener.DefaultImpls.onPictureInteraction(this, bitmap);
|
||||
}
|
||||
|
||||
@Override // com.adif.elcanomovil.uiAvisa.utils.ui.PictureGridView.OnPictureGridInteractionListener
|
||||
public void onPictureInteraction(int position) {
|
||||
NewIssueViewModel viewModel;
|
||||
viewModel = NewIssueFragment.this.getViewModel();
|
||||
viewModel.pictureGridInteraction(position);
|
||||
}
|
||||
});
|
||||
J viewLifecycleOwner2 = getViewLifecycleOwner();
|
||||
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner2, "getViewLifecycleOwner(...)");
|
||||
BuildersKt__Builders_commonKt.launch$default(q0.h(viewLifecycleOwner2), null, null, new f(this, null), 3, null);
|
||||
}
|
||||
|
||||
public static final void bindViewModel$lambda$1(NewIssueFragment this$0, View view) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
this$0.getViewModel().onViewAction(NewIssueViewAction.CreateIncidence.INSTANCE);
|
||||
}
|
||||
|
||||
public static final void bindViewModel$lambda$2(NewIssueFragment this$0, View view) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
this$0.promptStationsDialog();
|
||||
}
|
||||
|
||||
public static final void bindViewModel$lambda$3(NewIssueFragment this$0, View view) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
this$0.promptCategoriesDialog();
|
||||
}
|
||||
|
||||
public static final void bindViewModel$lambda$4(NewIssueFragment this$0, CompoundButton compoundButton, boolean z3) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
this$0.getViewModel().onViewAction(new NewIssueViewAction.SetNotificationsEnabled(z3));
|
||||
}
|
||||
|
||||
private final void createIssue(boolean isChecked) {
|
||||
showProgress(0);
|
||||
getViewModel().createIssue(isChecked);
|
||||
}
|
||||
|
||||
public final void creationInfoDialogDismissed(AlertAction.Style _action) {
|
||||
getViewModel().onViewAction(NewIssueViewAction.CreationInfoDialogDismissed.INSTANCE);
|
||||
}
|
||||
|
||||
public final void editPicture(int position, String pictureContent) {
|
||||
Context requireContext = requireContext();
|
||||
Intrinsics.checkNotNullExpressionValue(requireContext, "requireContext(...)");
|
||||
Intrinsics.checkNotNullParameter(pictureContent, "base64String");
|
||||
byte[] decode = Base64.decode(pictureContent, 0);
|
||||
Bitmap decodeByteArray = BitmapFactory.decodeByteArray(decode, 0, decode.length);
|
||||
Intrinsics.checkNotNullExpressionValue(decodeByteArray, "decodeByteArray(...)");
|
||||
PopupFullscreenPictureBinding inflate = PopupFullscreenPictureBinding.inflate(getLayoutInflater());
|
||||
Intrinsics.checkNotNullExpressionValue(inflate, "inflate(...)");
|
||||
new FullScreenPicturePopupWindow(requireContext, decodeByteArray, position, true, inflate, -1, -1, new FullScreenPicturePopupWindow.OnFullScreenPicturePopupListener() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$editPicture$pw$1
|
||||
@Override // com.adif.elcanomovil.uiAvisa.utils.ui.FullScreenPicturePopupWindow.OnFullScreenPicturePopupListener
|
||||
public void onDeleteEvent(int position2) {
|
||||
NewIssueViewModel viewModel;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding;
|
||||
viewModel = NewIssueFragment.this.getViewModel();
|
||||
viewModel.removePicture(position2);
|
||||
fragmentAvisaNewBinding = NewIssueFragment.this.binding;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
fragmentAvisaNewBinding.createIssueGrid.deleteImage(position2);
|
||||
}
|
||||
}).showAtLocation(getView(), 17, 0, 0);
|
||||
}
|
||||
|
||||
public final NewIssueViewModel getViewModel() {
|
||||
return (NewIssueViewModel) this.viewModel.getValue();
|
||||
}
|
||||
|
||||
public final void handlePreMandatoryUpdateAlertResult(AlertAction.Style action) {
|
||||
if (WhenMappings.$EnumSwitchMapping$0[action.ordinal()] != 1) {
|
||||
return;
|
||||
}
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = this.binding;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
createIssue(fragmentAvisaNewBinding.createIssueSwitch.isChecked());
|
||||
}
|
||||
|
||||
private final void promptCategoriesDialog() {
|
||||
int collectionSizeOrDefault;
|
||||
Context context = getContext();
|
||||
if (context == null) {
|
||||
return;
|
||||
}
|
||||
o2.e eVar = new o2.e(context);
|
||||
BottomSheetCategoriesBinding inflate = BottomSheetCategoriesBinding.inflate(getLayoutInflater());
|
||||
Intrinsics.checkNotNullExpressionValue(inflate, "inflate(...)");
|
||||
List sortedWith = CollectionsKt.sortedWith(getViewModel().categories(), new Comparator() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$promptCategoriesDialog$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
return ComparisonsKt.compareValues(((AvisaStationCategory) t2).getTitle(), ((AvisaStationCategory) t4).getTitle());
|
||||
}
|
||||
});
|
||||
BottomSheetListView bottomSheetListView = inflate.listViewBtmSheet;
|
||||
int i = R.layout.item_station_category_list;
|
||||
int i4 = R.id.stationCategoryTitle;
|
||||
List list = sortedWith;
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10);
|
||||
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = list.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(((AvisaStationCategory) it.next()).getTitle());
|
||||
}
|
||||
bottomSheetListView.setAdapter((ListAdapter) new ArrayAdapter(context, i, i4, arrayList));
|
||||
inflate.listViewBtmSheet.setOnItemClickListener(new a(this, sortedWith, eVar, 0));
|
||||
eVar.setContentView(inflate.getRoot());
|
||||
eVar.show();
|
||||
}
|
||||
|
||||
public static final void promptCategoriesDialog$lambda$7(NewIssueFragment this$0, List list, o2.e dialog, AdapterView adapterView, View view, int i, long j4) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
Intrinsics.checkNotNullParameter(list, "$list");
|
||||
Intrinsics.checkNotNullParameter(dialog, "$dialog");
|
||||
this$0.getViewModel().setCategory((AvisaStationCategory) list.get(i));
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = this$0.binding;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
fragmentAvisaNewBinding.categoryButton.setTextColor(this$0.getResources().getColor(R.color.white));
|
||||
dialog.dismiss();
|
||||
}
|
||||
|
||||
public final void promptPickPictureDialog() {
|
||||
Context context = getContext();
|
||||
if (context != null) {
|
||||
final o2.e eVar = new o2.e(context);
|
||||
PictureBottomSheetBinding inflate = PictureBottomSheetBinding.inflate(getLayoutInflater());
|
||||
Intrinsics.checkNotNullExpressionValue(inflate, "inflate(...)");
|
||||
final int i = 0;
|
||||
inflate.bottomSheetGallery.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiAvisa.components.create.b
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4830b;
|
||||
|
||||
{
|
||||
this.f4830b = this;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
switch (i) {
|
||||
case 0:
|
||||
NewIssueFragment.promptPickPictureDialog$lambda$13$lambda$11(this.f4830b, eVar, view);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.promptPickPictureDialog$lambda$13$lambda$12(this.f4830b, eVar, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
final int i4 = 1;
|
||||
inflate.bottomSheetCamera.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiAvisa.components.create.b
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4830b;
|
||||
|
||||
{
|
||||
this.f4830b = this;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
switch (i4) {
|
||||
case 0:
|
||||
NewIssueFragment.promptPickPictureDialog$lambda$13$lambda$11(this.f4830b, eVar, view);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.promptPickPictureDialog$lambda$13$lambda$12(this.f4830b, eVar, view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
eVar.setContentView(inflate.getRoot());
|
||||
eVar.show();
|
||||
}
|
||||
}
|
||||
|
||||
public static final void promptPickPictureDialog$lambda$13$lambda$11(NewIssueFragment this$0, o2.e dialog, View view) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
Intrinsics.checkNotNullParameter(dialog, "$dialog");
|
||||
this$0.getViewModel().onViewAction(NewIssueViewAction.PickImageFromGalleryViewAction.INSTANCE);
|
||||
dialog.dismiss();
|
||||
}
|
||||
|
||||
public static final void promptPickPictureDialog$lambda$13$lambda$12(NewIssueFragment this$0, o2.e dialog, View view) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
Intrinsics.checkNotNullParameter(dialog, "$dialog");
|
||||
this$0.getViewModel().onViewAction(NewIssueViewAction.PickImageFromCameraViewAction.INSTANCE);
|
||||
dialog.dismiss();
|
||||
}
|
||||
|
||||
private final void promptStationsDialog() {
|
||||
int collectionSizeOrDefault;
|
||||
Context context = getContext();
|
||||
if (context == null) {
|
||||
return;
|
||||
}
|
||||
o2.e eVar = new o2.e(context);
|
||||
BottomSheetCategoriesBinding inflate = BottomSheetCategoriesBinding.inflate(getLayoutInflater());
|
||||
Intrinsics.checkNotNullExpressionValue(inflate, "inflate(...)");
|
||||
List sortedWith = CollectionsKt.sortedWith(getViewModel().avisaStations(), new Comparator() { // from class: com.adif.elcanomovil.uiAvisa.components.create.NewIssueFragment$promptStationsDialog$$inlined$sortedBy$1
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // java.util.Comparator
|
||||
public final int compare(T t2, T t4) {
|
||||
return ComparisonsKt.compareValues(((AvisaStation) t2).getName(), ((AvisaStation) t4).getName());
|
||||
}
|
||||
});
|
||||
BottomSheetListView bottomSheetListView = inflate.listViewBtmSheet;
|
||||
int i = R.layout.item_stations_list;
|
||||
int i4 = R.id.stationOptionTitle;
|
||||
List list = sortedWith;
|
||||
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10);
|
||||
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
|
||||
Iterator it = list.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(((AvisaStation) it.next()).getName());
|
||||
}
|
||||
bottomSheetListView.setAdapter((ListAdapter) new ArrayAdapter(context, i, i4, arrayList));
|
||||
inflate.listViewBtmSheet.setOnItemClickListener(new a(this, sortedWith, eVar, 1));
|
||||
eVar.setContentView(inflate.getRoot());
|
||||
eVar.show();
|
||||
}
|
||||
|
||||
public static final void promptStationsDialog$lambda$10(NewIssueFragment this$0, List list, o2.e dialog, AdapterView adapterView, View view, int i, long j4) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
Intrinsics.checkNotNullParameter(list, "$list");
|
||||
Intrinsics.checkNotNullParameter(dialog, "$dialog");
|
||||
this$0.getViewModel().setStation((AvisaStation) list.get(i));
|
||||
dialog.dismiss();
|
||||
}
|
||||
|
||||
public static final void requestCameraPermissions$lambda$0(NewIssueFragment this$0, Map permissions) {
|
||||
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
||||
Intrinsics.checkNotNullParameter(permissions, "permissions");
|
||||
if (Intrinsics.areEqual(permissions.get("android.permission.CAMERA"), Boolean.TRUE)) {
|
||||
this$0.getViewModel().onViewAction(NewIssueViewAction.CameraPermissionGranted.INSTANCE);
|
||||
}
|
||||
}
|
||||
|
||||
public final void requestCategories(String stationId) {
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = this.binding;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding2 = null;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
fragmentAvisaNewBinding.createIssueCategory.setEnabled(false);
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding3 = this.binding;
|
||||
if (fragmentAvisaNewBinding3 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
} else {
|
||||
fragmentAvisaNewBinding2 = fragmentAvisaNewBinding3;
|
||||
}
|
||||
fragmentAvisaNewBinding2.categoryButton.setEnabled(false);
|
||||
getViewModel().fetchCategories(stationId);
|
||||
}
|
||||
|
||||
public final void selectImageInAlbum() {
|
||||
Intent intent = new Intent("android.intent.action.GET_CONTENT");
|
||||
intent.setType("image/*");
|
||||
startActivityForResult(intent, 101);
|
||||
}
|
||||
|
||||
public final void showProgress(int value) {
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = this.binding;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
fragmentAvisaNewBinding.loadingViewContainer.setVisibility(value);
|
||||
}
|
||||
|
||||
public final void takePhoto(Uri photoURI) {
|
||||
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
|
||||
intent.putExtra("output", photoURI);
|
||||
startActivityForResult(intent, 100);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.K
|
||||
@Deprecated(message = "Deprecated in Java")
|
||||
public void onActivityResult(int requestCode, int resultCode, Intent r4) {
|
||||
if (resultCode == -1) {
|
||||
if (requestCode == 100) {
|
||||
getViewModel().onViewAction(NewIssueViewAction.CameraPictureTaken.INSTANCE);
|
||||
} else {
|
||||
if (requestCode != 101) {
|
||||
return;
|
||||
}
|
||||
getViewModel().addBitmapFrom(r4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v10, types: [kotlin.jvm.internal.FunctionReferenceImpl, kotlin.jvm.functions.Function1] */
|
||||
/* JADX WARN: Type inference failed for: r0v9, types: [kotlin.jvm.internal.FunctionReferenceImpl, kotlin.jvm.functions.Function1] */
|
||||
@Override // androidx.fragment.app.K
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
Intrinsics.checkNotNullParameter(view, "view");
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
FragmentAvisaNewBinding bind = FragmentAvisaNewBinding.bind(view);
|
||||
Intrinsics.checkNotNullExpressionValue(bind, "bind(...)");
|
||||
this.binding = bind;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding = null;
|
||||
if (bind == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
bind = null;
|
||||
}
|
||||
bind.headerAvisaIssue.updateHeaderInfo(new InfoHeaderData(getString(R.string.avisa_new_issue_screen_title), Integer.valueOf(R.drawable.ic_arrow_back), null, 4, null));
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding2 = this.binding;
|
||||
if (fragmentAvisaNewBinding2 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding2 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding2.headerAvisaIssue.setOnBackActionListener(new d(this, 7));
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding3 = this.binding;
|
||||
if (fragmentAvisaNewBinding3 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
} else {
|
||||
fragmentAvisaNewBinding = fragmentAvisaNewBinding3;
|
||||
}
|
||||
fragmentAvisaNewBinding.headerAvisaIssue.setOnCloseActionListener(new d(this, 8));
|
||||
bindViewModel();
|
||||
NavigationExtensionsKt.onDestinationResult(NavigationExtensionsKt.findRootNavController(this), NewIssueViewModelKt.AVISA_CREATE_ISSUE, this, new FunctionReferenceImpl(1, this, NewIssueFragment.class, "creationInfoDialogDismissed", "creationInfoDialogDismissed(Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;)V", 0));
|
||||
NavigationExtensionsKt.onDestinationResult(NavigationExtensionsKt.findRootNavController(this), NewIssueViewModelKt.AVISA_PRE_CREATE_ISSUE, this, new FunctionReferenceImpl(1, this, NewIssueFragment.class, "handlePreMandatoryUpdateAlertResult", "handlePreMandatoryUpdateAlertResult(Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;)V", 0));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.MainNavigationDirections;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.Filters;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.StationObservationArg;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import o0.F;
|
||||
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\u0018\u0000 \u00042\u00020\u0001:\u0002\u0005\u0004B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueFragmentDirections;", "", "<init>", "()V", "Companion", "com/adif/elcanomovil/uiAvisa/components/create/m", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueFragmentDirections {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
|
||||
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0011\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0013\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J=\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0006\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\u00072\u0006\u0010\u000b\u001a\u00020\n2\u0006\u0010\r\u001a\u00020\f¢\u0006\u0004\b\u000f\u0010\u0010J=\u0010\u0011\u001a\u00020\u000e2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0006\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\u00072\u0006\u0010\u000b\u001a\u00020\n2\u0006\u0010\r\u001a\u00020\f¢\u0006\u0004\b\u0011\u0010\u0010J#\u0010\u0015\u001a\u00020\u000e2\u0006\u0010\u0012\u001a\u00020\u00072\f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00070\u0013¢\u0006\u0004\b\u0015\u0010\u0016J\u001d\u0010\u0018\u001a\u00020\u000e2\u0006\u0010\u0012\u001a\u00020\u00072\u0006\u0010\u0014\u001a\u00020\u0017¢\u0006\u0004\b\u0018\u0010\u0019J\u0015\u0010\u001b\u001a\u00020\u000e2\u0006\u0010\u001a\u001a\u00020\u0007¢\u0006\u0004\b\u001b\u0010\u001cJ\u001d\u0010\u001e\u001a\u00020\u000e2\u0006\u0010\u0012\u001a\u00020\u00072\u0006\u0010\u0014\u001a\u00020\u001d¢\u0006\u0004\b\u001e\u0010\u001fJ\u0099\u0001\u0010-\u001a\u00020\u000e2\b\u0010 \u001a\u0004\u0018\u00010\u00072\b\u0010!\u001a\u0004\u0018\u00010\u00072\b\u0010\"\u001a\u0004\u0018\u00010\u00072\b\u0010#\u001a\u0004\u0018\u00010\u00072\u0006\u0010$\u001a\u00020\u00042\u000e\u0010%\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00132\b\u0010&\u001a\u0004\u0018\u00010\u00072\u000e\u0010'\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00132\b\u0010(\u001a\u0004\u0018\u00010\u00072\b\u0010)\u001a\u0004\u0018\u00010\u00072\b\u0010*\u001a\u0004\u0018\u00010\u00072\b\u0010+\u001a\u0004\u0018\u00010\u00072\b\u0010,\u001a\u0004\u0018\u00010\u0007¢\u0006\u0004\b-\u0010.J\u0015\u0010/\u001a\u00020\u000e2\u0006\u0010\u0012\u001a\u00020\u0007¢\u0006\u0004\b/\u0010\u001c¨\u00060"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueFragmentDirections$Companion;", "", "<init>", "()V", "", "blockOnback", "isCancelable", "", "title", "message", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;", "actions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertType;", "type", "Lo0/F;", "actionGlobalAlertDialog", "(ZZLjava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertType;)Lo0/F;", "toAlertDialog", "key", "", "values", "toSelectableBottomSheet", "(Ljava/lang/String;[Ljava/lang/String;)Lo0/F;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/StationObservationArg;", "toStationObservationsBottomSheet", "(Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/StationObservationArg;)Lo0/F;", "observation", "toTrainObservationBottomSheet", "(Ljava/lang/String;)Lo0/F;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/Filters;", "toFilterListBottomSheet", "(Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/Filters;)Lo0/F;", "logo", AppMeasurementSdk.ConditionalUserProperty.NAME, "phone", "description", "accessible", "paymentWay", "offer", "correspondences", "web", FirebaseAnalytics.Param.LOCATION, "accessibleLabel", "openingHours", "playStore", "toStationsAlertDialog", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lo0/F;", "toSelectStationFragment", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final F actionGlobalAlertDialog(boolean blockOnback, boolean isCancelable, String title, String message, AlertActions actions, AlertType type) {
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
Intrinsics.checkNotNullParameter(actions, "actions");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return new m(blockOnback, isCancelable, title, message, actions, type);
|
||||
}
|
||||
|
||||
public final F toAlertDialog(boolean blockOnback, boolean isCancelable, String title, String message, AlertActions actions, AlertType type) {
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
Intrinsics.checkNotNullParameter(actions, "actions");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
return MainNavigationDirections.INSTANCE.toAlertDialog(blockOnback, isCancelable, title, message, actions, type);
|
||||
}
|
||||
|
||||
public final F toFilterListBottomSheet(String key, Filters values) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
Intrinsics.checkNotNullParameter(values, "values");
|
||||
return MainNavigationDirections.INSTANCE.toFilterListBottomSheet(key, values);
|
||||
}
|
||||
|
||||
public final F toSelectStationFragment(String key) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
return MainNavigationDirections.INSTANCE.toSelectStationFragment(key);
|
||||
}
|
||||
|
||||
public final F toSelectableBottomSheet(String key, String[] values) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
Intrinsics.checkNotNullParameter(values, "values");
|
||||
return MainNavigationDirections.INSTANCE.toSelectableBottomSheet(key, values);
|
||||
}
|
||||
|
||||
public final F toStationObservationsBottomSheet(String key, StationObservationArg values) {
|
||||
Intrinsics.checkNotNullParameter(key, "key");
|
||||
Intrinsics.checkNotNullParameter(values, "values");
|
||||
return MainNavigationDirections.INSTANCE.toStationObservationsBottomSheet(key, values);
|
||||
}
|
||||
|
||||
public final F toStationsAlertDialog(String logo, String name, String phone, String description, boolean accessible, String[] paymentWay, String offer, String[] correspondences, String web, String location, String accessibleLabel, String openingHours, String playStore) {
|
||||
return MainNavigationDirections.INSTANCE.toStationsAlertDialog(logo, name, phone, description, accessible, paymentWay, offer, correspondences, web, location, accessibleLabel, openingHours, playStore);
|
||||
}
|
||||
|
||||
public final F toTrainObservationBottomSheet(String observation) {
|
||||
Intrinsics.checkNotNullParameter(observation, "observation");
|
||||
return MainNavigationDirections.INSTANCE.toTrainObservationBottomSheet(observation);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
private NewIssueFragmentDirections() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.android.components.FragmentComponent;
|
||||
import dagger.hilt.codegen.OriginatingElement;
|
||||
import dagger.hilt.internal.GeneratedEntryPoint;
|
||||
|
||||
@OriginatingElement(topLevelClass = NewIssueFragment.class)
|
||||
@GeneratedEntryPoint
|
||||
@InstallIn({FragmentComponent.class})
|
||||
/* loaded from: classes.dex */
|
||||
public interface NewIssueFragment_GeneratedInjector {
|
||||
void injectNewIssueFragment(NewIssueFragment newIssueFragment);
|
||||
}
|
||||
@@ -0,0 +1,194 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0007\u0003\u0004\u0005\u0006\u0007\b\tB\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0007\n\u000b\f\r\u000e\u000f\u0010¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "", "()V", "CameraPermissionGranted", "CameraPictureTaken", "CreateIncidence", "CreationInfoDialogDismissed", "PickImageFromCameraViewAction", "PickImageFromGalleryViewAction", "SetNotificationsEnabled", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CameraPermissionGranted;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CameraPictureTaken;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CreateIncidence;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CreationInfoDialogDismissed;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$PickImageFromCameraViewAction;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$PickImageFromGalleryViewAction;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$SetNotificationsEnabled;", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class NewIssueViewAction {
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CameraPermissionGranted;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class CameraPermissionGranted extends NewIssueViewAction {
|
||||
public static final CameraPermissionGranted INSTANCE = new CameraPermissionGranted();
|
||||
|
||||
private CameraPermissionGranted() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof CameraPermissionGranted);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 917204357;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CameraPermissionGranted";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CameraPictureTaken;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class CameraPictureTaken extends NewIssueViewAction {
|
||||
public static final CameraPictureTaken INSTANCE = new CameraPictureTaken();
|
||||
|
||||
private CameraPictureTaken() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof CameraPictureTaken);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 1397942064;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CameraPictureTaken";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CreateIncidence;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class CreateIncidence extends NewIssueViewAction {
|
||||
public static final CreateIncidence INSTANCE = new CreateIncidence();
|
||||
|
||||
private CreateIncidence() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof CreateIncidence);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return 1248443494;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CreateIncidence";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$CreationInfoDialogDismissed;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class CreationInfoDialogDismissed extends NewIssueViewAction {
|
||||
public static final CreationInfoDialogDismissed INSTANCE = new CreationInfoDialogDismissed();
|
||||
|
||||
private CreationInfoDialogDismissed() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof CreationInfoDialogDismissed);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return -16518766;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "CreationInfoDialogDismissed";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$PickImageFromCameraViewAction;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class PickImageFromCameraViewAction extends NewIssueViewAction {
|
||||
public static final PickImageFromCameraViewAction INSTANCE = new PickImageFromCameraViewAction();
|
||||
|
||||
private PickImageFromCameraViewAction() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof PickImageFromCameraViewAction);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return -126888798;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PickImageFromCameraViewAction";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\n\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0013\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\u0007\u001a\u00020\bHÖ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001¨\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$PickImageFromGalleryViewAction;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "()V", "equals", "", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class PickImageFromGalleryViewAction extends NewIssueViewAction {
|
||||
public static final PickImageFromGalleryViewAction INSTANCE = new PickImageFromGalleryViewAction();
|
||||
|
||||
private PickImageFromGalleryViewAction() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return this == other || (other instanceof PickImageFromGalleryViewAction);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return -1137005557;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PickImageFromGalleryViewAction";
|
||||
}
|
||||
}
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\u00032\b\u0010\n\u001a\u0004\u0018\u00010\u000bHÖ\u0003J\t\u0010\f\u001a\u00020\rHÖ\u0001J\t\u0010\u000e\u001a\u00020\u000fHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction$SetNotificationsEnabled;", "Lcom/adif/elcanomovil/uiAvisa/components/create/NewIssueViewAction;", "enabled", "", "(Z)V", "getEnabled", "()Z", "component1", "copy", "equals", "other", "", "hashCode", "", "toString", "", "ui-avisa_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final /* data */ class SetNotificationsEnabled extends NewIssueViewAction {
|
||||
private final boolean enabled;
|
||||
|
||||
public SetNotificationsEnabled(boolean z3) {
|
||||
super(null);
|
||||
this.enabled = z3;
|
||||
}
|
||||
|
||||
public static /* synthetic */ SetNotificationsEnabled copy$default(SetNotificationsEnabled setNotificationsEnabled, boolean z3, int i, Object obj) {
|
||||
if ((i & 1) != 0) {
|
||||
z3 = setNotificationsEnabled.enabled;
|
||||
}
|
||||
return setNotificationsEnabled.copy(z3);
|
||||
}
|
||||
|
||||
/* renamed from: component1, reason: from getter */
|
||||
public final boolean getEnabled() {
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public final SetNotificationsEnabled copy(boolean enabled) {
|
||||
return new SetNotificationsEnabled(enabled);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
return (other instanceof SetNotificationsEnabled) && this.enabled == ((SetNotificationsEnabled) other).enabled;
|
||||
}
|
||||
|
||||
public final boolean getEnabled() {
|
||||
return this.enabled;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Boolean.hashCode(this.enabled);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "SetNotificationsEnabled(enabled=" + this.enabled + ')';
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ NewIssueViewAction(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
private NewIssueViewAction() {
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0080T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0001X\u0080T¢\u0006\u0002\n\u0000\"\u000e\u0010\u0003\u001a\u00020\u0001X\u0080T¢\u0006\u0002\n\u0000¨\u0006\u0004"}, d2 = {"AVISA_CREATE_ISSUE", "", "AVISA_CREATE_ISSUE_WITHOUT_ACTION", "AVISA_PRE_CREATE_ISSUE", "ui-avisa_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueViewModelKt {
|
||||
public static final String AVISA_CREATE_ISSUE = "create_avisa_issue";
|
||||
public static final String AVISA_CREATE_ISSUE_WITHOUT_ACTION = "create_avisa_issue_without_issue";
|
||||
public static final String AVISA_PRE_CREATE_ISSUE = "pre_create_avisa_issue";
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.content.Context;
|
||||
import c1.C0283c;
|
||||
import c1.C0284d;
|
||||
import com.adif.elcanomovil.domain.usecases.avisa.incidence.CreateIncidenceUseCase;
|
||||
import com.adif.elcanomovil.domain.usecases.avisa.station.GetAvisaStationCategoriesUseCase;
|
||||
import com.adif.elcanomovil.domain.usecases.avisa.station.GetAvisaStationsUseCase;
|
||||
import d1.InterfaceC0307a;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
import javax.inject.Provider;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.qualifiers.ApplicationContext"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueViewModel_Factory implements Factory<NewIssueViewModel> {
|
||||
private final Provider<InterfaceC0307a> appDispatcherProvider;
|
||||
private final Provider<Context> contextProvider;
|
||||
private final Provider<CreateIncidenceUseCase> createIncidenceUseCaseProvider;
|
||||
private final Provider<d1.e> fileUtilsProvider;
|
||||
private final Provider<GetAvisaStationCategoriesUseCase> getAvisaStationCategoriesUseCaseProvider;
|
||||
private final Provider<GetAvisaStationsUseCase> getStationsUseCaseProvider;
|
||||
private final Provider<C0283c> notificationsPermissionRequesterProvider;
|
||||
private final Provider<C0284d> permissionHelperProvider;
|
||||
|
||||
public NewIssueViewModel_Factory(Provider<CreateIncidenceUseCase> provider, Provider<GetAvisaStationsUseCase> provider2, Provider<GetAvisaStationCategoriesUseCase> provider3, Provider<Context> provider4, Provider<C0284d> provider5, Provider<InterfaceC0307a> provider6, Provider<d1.e> provider7, Provider<C0283c> provider8) {
|
||||
this.createIncidenceUseCaseProvider = provider;
|
||||
this.getStationsUseCaseProvider = provider2;
|
||||
this.getAvisaStationCategoriesUseCaseProvider = provider3;
|
||||
this.contextProvider = provider4;
|
||||
this.permissionHelperProvider = provider5;
|
||||
this.appDispatcherProvider = provider6;
|
||||
this.fileUtilsProvider = provider7;
|
||||
this.notificationsPermissionRequesterProvider = provider8;
|
||||
}
|
||||
|
||||
public static NewIssueViewModel_Factory create(Provider<CreateIncidenceUseCase> provider, Provider<GetAvisaStationsUseCase> provider2, Provider<GetAvisaStationCategoriesUseCase> provider3, Provider<Context> provider4, Provider<C0284d> provider5, Provider<InterfaceC0307a> provider6, Provider<d1.e> provider7, Provider<C0283c> provider8) {
|
||||
return new NewIssueViewModel_Factory(provider, provider2, provider3, provider4, provider5, provider6, provider7, provider8);
|
||||
}
|
||||
|
||||
public static NewIssueViewModel newInstance(CreateIncidenceUseCase createIncidenceUseCase, GetAvisaStationsUseCase getAvisaStationsUseCase, GetAvisaStationCategoriesUseCase getAvisaStationCategoriesUseCase, Context context, C0284d c0284d, InterfaceC0307a interfaceC0307a, d1.e eVar, C0283c c0283c) {
|
||||
return new NewIssueViewModel(createIncidenceUseCase, getAvisaStationsUseCase, getAvisaStationCategoriesUseCase, context, c0284d, interfaceC0307a, eVar, c0283c);
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public NewIssueViewModel get() {
|
||||
return newInstance(this.createIncidenceUseCaseProvider.get(), this.getStationsUseCaseProvider.get(), this.getAvisaStationCategoriesUseCaseProvider.get(), this.contextProvider.get(), this.permissionHelperProvider.get(), this.appDispatcherProvider.get(), this.fileUtilsProvider.get(), this.notificationsPermissionRequesterProvider.get());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import androidx.lifecycle.w0;
|
||||
import dagger.Binds;
|
||||
import dagger.Module;
|
||||
import dagger.Provides;
|
||||
import dagger.hilt.InstallIn;
|
||||
import dagger.hilt.android.components.ActivityRetainedComponent;
|
||||
import dagger.hilt.android.components.ViewModelComponent;
|
||||
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
|
||||
import dagger.hilt.codegen.OriginatingElement;
|
||||
import dagger.multibindings.IntoMap;
|
||||
import dagger.multibindings.IntoSet;
|
||||
import dagger.multibindings.StringKey;
|
||||
|
||||
@OriginatingElement(topLevelClass = NewIssueViewModel.class)
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueViewModel_HiltModules {
|
||||
|
||||
@Module
|
||||
@InstallIn({ViewModelComponent.class})
|
||||
/* loaded from: classes.dex */
|
||||
public static abstract class BindsModule {
|
||||
private BindsModule() {
|
||||
}
|
||||
|
||||
@Binds
|
||||
@StringKey("com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel")
|
||||
@HiltViewModelMap
|
||||
@IntoMap
|
||||
public abstract w0 binds(NewIssueViewModel newIssueViewModel);
|
||||
}
|
||||
|
||||
@Module
|
||||
@InstallIn({ActivityRetainedComponent.class})
|
||||
/* loaded from: classes.dex */
|
||||
public static final class KeyModule {
|
||||
private KeyModule() {
|
||||
}
|
||||
|
||||
@Provides
|
||||
@HiltViewModelMap.KeySet
|
||||
@IntoSet
|
||||
public static String provide() {
|
||||
return "com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel";
|
||||
}
|
||||
}
|
||||
|
||||
private NewIssueViewModel_HiltModules() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel_HiltModules;
|
||||
import dagger.internal.DaggerGenerated;
|
||||
import dagger.internal.Factory;
|
||||
import dagger.internal.Preconditions;
|
||||
import dagger.internal.QualifierMetadata;
|
||||
import dagger.internal.ScopeMetadata;
|
||||
|
||||
@ScopeMetadata
|
||||
@DaggerGenerated
|
||||
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
|
||||
/* loaded from: classes.dex */
|
||||
public final class NewIssueViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
|
||||
public static NewIssueViewModel_HiltModules_KeyModule_ProvideFactory create() {
|
||||
return z.f4876a;
|
||||
}
|
||||
|
||||
public static String provide() {
|
||||
return (String) Preconditions.checkNotNullFromProvides(NewIssueViewModel_HiltModules.KeyModule.provide());
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public String get() {
|
||||
return provide();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class a implements AdapterView.OnItemClickListener {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f4825a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4826b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ List f4827c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ o2.e f4828d;
|
||||
|
||||
public /* synthetic */ a(NewIssueFragment newIssueFragment, List list, o2.e eVar, int i) {
|
||||
this.f4825a = i;
|
||||
this.f4826b = newIssueFragment;
|
||||
this.f4827c = list;
|
||||
this.f4828d = eVar;
|
||||
}
|
||||
|
||||
@Override // android.widget.AdapterView.OnItemClickListener
|
||||
public final void onItemClick(AdapterView adapterView, View view, int i, long j4) {
|
||||
switch (this.f4825a) {
|
||||
case 0:
|
||||
NewIssueFragment.promptCategoriesDialog$lambda$7(this.f4826b, this.f4827c, this.f4828d, adapterView, view, i, j4);
|
||||
return;
|
||||
default:
|
||||
NewIssueFragment.promptStationsDialog$lambda$10(this.f4826b, this.f4827c, this.f4828d, adapterView, view, i, j4);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import com.adif.elcanomovil.commonViews.ButtonsEvents;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStation;
|
||||
import com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory;
|
||||
import com.adif.elcanomovil.domain.entities.utils.AsyncResult;
|
||||
import com.adif.elcanomovil.uiAvisa.databinding.FragmentAvisaNewBinding;
|
||||
import java.util.List;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class d extends Lambda implements Function1 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f4834a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4835b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public /* synthetic */ d(NewIssueFragment newIssueFragment, int i) {
|
||||
super(1);
|
||||
this.f4834a = i;
|
||||
this.f4835b = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding2;
|
||||
NewIssueViewModel viewModel;
|
||||
NewIssueViewModel viewModel2;
|
||||
NewIssueViewModel viewModel3;
|
||||
NewIssueViewModel viewModel4;
|
||||
NewIssueViewModel viewModel5;
|
||||
NewIssueViewModel viewModel6;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding3;
|
||||
Unit unit;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding4;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding5;
|
||||
Unit unit2;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding6;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding7;
|
||||
Unit unit3;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding8;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding9;
|
||||
switch (this.f4834a) {
|
||||
case 0:
|
||||
AsyncResult asyncResult = (AsyncResult) obj;
|
||||
int i = NewIssueFragment$bindViewModel$10$WhenMappings.$EnumSwitchMapping$0[asyncResult.getStatus().ordinal()];
|
||||
NewIssueFragment newIssueFragment = this.f4835b;
|
||||
if (i == 1) {
|
||||
fragmentAvisaNewBinding = newIssueFragment.binding;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding10 = null;
|
||||
if (fragmentAvisaNewBinding == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding = null;
|
||||
}
|
||||
fragmentAvisaNewBinding.createIssueCategory.setEnabled(true);
|
||||
fragmentAvisaNewBinding2 = newIssueFragment.binding;
|
||||
if (fragmentAvisaNewBinding2 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
} else {
|
||||
fragmentAvisaNewBinding10 = fragmentAvisaNewBinding2;
|
||||
}
|
||||
fragmentAvisaNewBinding10.categoryButton.setEnabled(true);
|
||||
List<AvisaStationCategory> list = (List) asyncResult.getData();
|
||||
if (list != null) {
|
||||
viewModel = newIssueFragment.getViewModel();
|
||||
viewModel.setCategories(list);
|
||||
}
|
||||
} else if (i == 2) {
|
||||
viewModel2 = newIssueFragment.getViewModel();
|
||||
viewModel2.showErrorDialog();
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 1:
|
||||
if (NewIssueFragment$bindViewModel$11$WhenMappings.$EnumSwitchMapping$0[((AsyncResult) obj).getStatus().ordinal()] == 3) {
|
||||
viewModel3 = this.f4835b.getViewModel();
|
||||
viewModel3.showErrorDialog();
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 2:
|
||||
AsyncResult asyncResult2 = (AsyncResult) obj;
|
||||
if (asyncResult2 != null) {
|
||||
int i4 = NewIssueFragment$bindViewModel$12$WhenMappings.$EnumSwitchMapping$0[asyncResult2.getStatus().ordinal()];
|
||||
if (i4 != 1) {
|
||||
NewIssueFragment newIssueFragment2 = this.f4835b;
|
||||
if (i4 == 2) {
|
||||
newIssueFragment2.showProgress(8);
|
||||
System.out.println((Object) "issue created");
|
||||
viewModel4 = newIssueFragment2.getViewModel();
|
||||
viewModel4.issueCreated();
|
||||
} else if (i4 != 3) {
|
||||
System.out.println((Object) "Unknown error");
|
||||
viewModel6 = newIssueFragment2.getViewModel();
|
||||
viewModel6.showErrorDialog();
|
||||
} else {
|
||||
newIssueFragment2.showProgress(8);
|
||||
System.out.println(asyncResult2.getThrowable());
|
||||
viewModel5 = newIssueFragment2.getViewModel();
|
||||
viewModel5.showErrorDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 3:
|
||||
List<Bitmap> list2 = (List) obj;
|
||||
if (list2 != null) {
|
||||
fragmentAvisaNewBinding3 = this.f4835b.binding;
|
||||
if (fragmentAvisaNewBinding3 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding3 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding3.createIssueGrid.setImages(list2);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 4:
|
||||
AvisaStationCategory avisaStationCategory = (AvisaStationCategory) obj;
|
||||
NewIssueFragment newIssueFragment3 = this.f4835b;
|
||||
if (avisaStationCategory != null) {
|
||||
fragmentAvisaNewBinding5 = newIssueFragment3.binding;
|
||||
if (fragmentAvisaNewBinding5 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding5 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding5.createIssueCategory.setText(avisaStationCategory.getTitle());
|
||||
unit = Unit.INSTANCE;
|
||||
} else {
|
||||
unit = null;
|
||||
}
|
||||
if (unit == null) {
|
||||
fragmentAvisaNewBinding4 = newIssueFragment3.binding;
|
||||
if (fragmentAvisaNewBinding4 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding4 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding4.createIssueCategory.setText((CharSequence) null);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 5:
|
||||
AvisaStation avisaStation = (AvisaStation) obj;
|
||||
NewIssueFragment newIssueFragment4 = this.f4835b;
|
||||
if (avisaStation != null) {
|
||||
fragmentAvisaNewBinding7 = newIssueFragment4.binding;
|
||||
if (fragmentAvisaNewBinding7 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding7 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding7.createIssueStation.setText(avisaStation.getName());
|
||||
newIssueFragment4.requestCategories(avisaStation.getStId());
|
||||
unit2 = Unit.INSTANCE;
|
||||
} else {
|
||||
unit2 = null;
|
||||
}
|
||||
if (unit2 == null) {
|
||||
fragmentAvisaNewBinding6 = newIssueFragment4.binding;
|
||||
if (fragmentAvisaNewBinding6 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding6 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding6.createIssueStation.setText((CharSequence) null);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 6:
|
||||
Boolean bool = (Boolean) obj;
|
||||
NewIssueFragment newIssueFragment5 = this.f4835b;
|
||||
FragmentAvisaNewBinding fragmentAvisaNewBinding11 = null;
|
||||
if (bool != null) {
|
||||
boolean booleanValue = bool.booleanValue();
|
||||
fragmentAvisaNewBinding9 = newIssueFragment5.binding;
|
||||
if (fragmentAvisaNewBinding9 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
fragmentAvisaNewBinding9 = null;
|
||||
}
|
||||
fragmentAvisaNewBinding9.createIssueButton.setEnabled(booleanValue);
|
||||
unit3 = Unit.INSTANCE;
|
||||
} else {
|
||||
unit3 = null;
|
||||
}
|
||||
if (unit3 == null) {
|
||||
fragmentAvisaNewBinding8 = newIssueFragment5.binding;
|
||||
if (fragmentAvisaNewBinding8 == null) {
|
||||
Intrinsics.throwUninitializedPropertyAccessException("binding");
|
||||
} else {
|
||||
fragmentAvisaNewBinding11 = fragmentAvisaNewBinding8;
|
||||
}
|
||||
fragmentAvisaNewBinding11.createIssueButton.setEnabled(false);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
case 7:
|
||||
ButtonsEvents it = (ButtonsEvents) obj;
|
||||
Intrinsics.checkNotNullParameter(it, "it");
|
||||
this.f4835b.requireActivity().onBackPressed();
|
||||
return Unit.INSTANCE;
|
||||
default:
|
||||
ButtonsEvents it2 = (ButtonsEvents) obj;
|
||||
Intrinsics.checkNotNullParameter(it2, "it");
|
||||
this.f4835b.requireActivity().onBackPressed();
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class e extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4836a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4837b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public e(NewIssueFragment newIssueFragment, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4837b = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new e(this.f4837b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((e) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
NewIssueViewModel viewModel;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4836a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueFragment newIssueFragment = this.f4837b;
|
||||
viewModel = newIssueFragment.getViewModel();
|
||||
Flow<Integer> messages = viewModel.getMessages();
|
||||
C1.b bVar = new C1.b(newIssueFragment, 7);
|
||||
this.f4836a = 1;
|
||||
if (messages.collect(bVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import androidx.lifecycle.C;
|
||||
import androidx.lifecycle.q0;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class f extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4838a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4839b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public f(NewIssueFragment newIssueFragment, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4839b = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new f(this.f4839b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((f) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4838a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueFragment newIssueFragment = this.f4839b;
|
||||
C lifecycle = newIssueFragment.getLifecycle();
|
||||
Intrinsics.checkNotNullExpressionValue(lifecycle, "<get-lifecycle>(...)");
|
||||
e eVar = new e(newIssueFragment, null);
|
||||
this.f4838a = 1;
|
||||
if (q0.l(lifecycle, eVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import a.AbstractC0106b;
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
|
||||
import com.adif.elcanomovil.uiAvisa.components.create.NavigateTo;
|
||||
import d.AbstractC0294c;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import kotlin.TuplesKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.flow.FlowCollector;
|
||||
import o0.AbstractC0544v;
|
||||
import o0.C0522B;
|
||||
import o0.C0523C;
|
||||
import o0.D;
|
||||
import o0.E;
|
||||
import o0.H;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class g implements FlowCollector {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4840a;
|
||||
|
||||
public g(NewIssueFragment newIssueFragment) {
|
||||
this.f4840a = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlinx.coroutines.flow.FlowCollector
|
||||
public final Object emit(Object obj, Continuation continuation) {
|
||||
Intent intent;
|
||||
AbstractC0294c abstractC0294c;
|
||||
NavigateTo navigateTo = (NavigateTo) obj;
|
||||
boolean z3 = navigateTo instanceof NavigateTo.RegularNavigation;
|
||||
NewIssueFragment newIssueFragment = this.f4840a;
|
||||
if (z3) {
|
||||
new NavigationHandler(newIssueFragment).invoke2(((NavigateTo.RegularNavigation) navigateTo).getNavigation());
|
||||
} else if (navigateTo instanceof NavigateTo.EditPicture) {
|
||||
NavigateTo.EditPicture editPicture = (NavigateTo.EditPicture) navigateTo;
|
||||
newIssueFragment.editPicture(editPicture.getPosition(), editPicture.getPictureContent());
|
||||
} else if (Intrinsics.areEqual(navigateTo, NavigateTo.PickPicture.INSTANCE)) {
|
||||
newIssueFragment.promptPickPictureDialog();
|
||||
} else if (navigateTo instanceof NavigateTo.PickImageFromCamera) {
|
||||
newIssueFragment.takePhoto(((NavigateTo.PickImageFromCamera) navigateTo).getImageUri());
|
||||
} else if (Intrinsics.areEqual(navigateTo, NavigateTo.PickImageFromGallery.INSTANCE)) {
|
||||
newIssueFragment.selectImageInAlbum();
|
||||
} else if (Intrinsics.areEqual(navigateTo, NavigateTo.AskForCameraPermission.INSTANCE)) {
|
||||
abstractC0294c = newIssueFragment.requestCameraPermissions;
|
||||
abstractC0294c.a(new String[]{"android.permission.CAMERA"});
|
||||
} else if (Intrinsics.areEqual(navigateTo, NavigateTo.NavigateUp.INSTANCE)) {
|
||||
AbstractC0544v n4 = m3.l.n(newIssueFragment);
|
||||
if (n4.h() == 1) {
|
||||
Activity activity = n4.f8049b;
|
||||
Bundle extras = (activity == null || (intent = activity.getIntent()) == null) ? null : intent.getExtras();
|
||||
if ((extras != null ? extras.getIntArray("android-support-nav:controller:deepLinkIds") : null) == null) {
|
||||
E g4 = n4.g();
|
||||
Intrinsics.checkNotNull(g4);
|
||||
int i = g4.h;
|
||||
H h = g4.f7921b;
|
||||
while (true) {
|
||||
if (h == null) {
|
||||
break;
|
||||
}
|
||||
if (h.f7932l != i) {
|
||||
Bundle bundle = new Bundle();
|
||||
if (activity != null) {
|
||||
Intrinsics.checkNotNull(activity);
|
||||
if (activity.getIntent() != null) {
|
||||
Intrinsics.checkNotNull(activity);
|
||||
if (activity.getIntent().getData() != null) {
|
||||
Intrinsics.checkNotNull(activity);
|
||||
bundle.putParcelable("android-support-nav:controller:deepLinkIntent", activity.getIntent());
|
||||
H h4 = n4.f8050c;
|
||||
Intrinsics.checkNotNull(h4);
|
||||
Intrinsics.checkNotNull(activity);
|
||||
Intent intent2 = activity.getIntent();
|
||||
Intrinsics.checkNotNullExpressionValue(intent2, "activity!!.intent");
|
||||
D g5 = h4.g(new C0523C(intent2));
|
||||
if (g5 != null) {
|
||||
bundle.putAll(g5.f7914a.b(g5.f7915b));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
A.j jVar = new A.j(n4);
|
||||
int i4 = h.h;
|
||||
ArrayList arrayList = (ArrayList) jVar.f29c;
|
||||
arrayList.clear();
|
||||
arrayList.add(new C0522B(i4, null));
|
||||
if (((H) jVar.f30d) != null) {
|
||||
jVar.r();
|
||||
}
|
||||
((Intent) jVar.f28b).putExtra("android-support-nav:controller:deepLinkExtras", bundle);
|
||||
jVar.b().b();
|
||||
if (activity != null) {
|
||||
activity.finish();
|
||||
}
|
||||
} else {
|
||||
i = h.h;
|
||||
h = h.f7921b;
|
||||
}
|
||||
}
|
||||
} else if (n4.f8053f) {
|
||||
Intrinsics.checkNotNull(activity);
|
||||
Intent intent3 = activity.getIntent();
|
||||
Bundle extras2 = intent3.getExtras();
|
||||
Intrinsics.checkNotNull(extras2);
|
||||
int[] intArray = extras2.getIntArray("android-support-nav:controller:deepLinkIds");
|
||||
Intrinsics.checkNotNull(intArray);
|
||||
List<Integer> mutableList = ArraysKt.toMutableList(intArray);
|
||||
ArrayList parcelableArrayList = extras2.getParcelableArrayList("android-support-nav:controller:deepLinkArgs");
|
||||
int intValue = ((Number) CollectionsKt.removeLast(mutableList)).intValue();
|
||||
if (parcelableArrayList != null) {
|
||||
}
|
||||
if (!mutableList.isEmpty()) {
|
||||
E e4 = AbstractC0544v.e(n4.i(), intValue);
|
||||
if (e4 instanceof H) {
|
||||
int i5 = H.f7930n;
|
||||
intValue = AbstractC0106b.h((H) e4).h;
|
||||
}
|
||||
E g6 = n4.g();
|
||||
if (g6 != null && intValue == g6.h) {
|
||||
A.j jVar2 = new A.j(n4);
|
||||
Bundle b4 = AbstractC0106b.b(TuplesKt.to("android-support-nav:controller:deepLinkIntent", intent3));
|
||||
Bundle bundle2 = extras2.getBundle("android-support-nav:controller:deepLinkExtras");
|
||||
if (bundle2 != null) {
|
||||
b4.putAll(bundle2);
|
||||
}
|
||||
((Intent) jVar2.f28b).putExtra("android-support-nav:controller:deepLinkExtras", b4);
|
||||
int i6 = 0;
|
||||
for (Object obj2 : mutableList) {
|
||||
int i7 = i6 + 1;
|
||||
if (i6 < 0) {
|
||||
CollectionsKt.throwIndexOverflow();
|
||||
}
|
||||
((ArrayList) jVar2.f29c).add(new C0522B(((Number) obj2).intValue(), parcelableArrayList != null ? (Bundle) parcelableArrayList.get(i6) : null));
|
||||
if (((H) jVar2.f30d) != null) {
|
||||
jVar2.r();
|
||||
}
|
||||
i6 = i7;
|
||||
}
|
||||
jVar2.b().b();
|
||||
activity.finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
n4.q();
|
||||
}
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4841a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4842b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public h(NewIssueFragment newIssueFragment, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4842b = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new h(this.f4842b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((h) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
NewIssueViewModel viewModel;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4841a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueFragment newIssueFragment = this.f4842b;
|
||||
viewModel = newIssueFragment.getViewModel();
|
||||
Flow<NavigateTo> navigation = viewModel.getNavigation();
|
||||
g gVar = new g(newIssueFragment);
|
||||
this.f4841a = 1;
|
||||
if (navigation.collect(gVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import androidx.lifecycle.J;
|
||||
import androidx.lifecycle.q0;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class i extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4843a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueFragment f4844b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public i(NewIssueFragment newIssueFragment, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4844b = newIssueFragment;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new i(this.f4844b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((i) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4843a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueFragment newIssueFragment = this.f4844b;
|
||||
J viewLifecycleOwner = newIssueFragment.getViewLifecycleOwner();
|
||||
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
|
||||
h hVar = new h(newIssueFragment, null);
|
||||
this.f4843a = 1;
|
||||
Object l4 = q0.l(viewLifecycleOwner.getLifecycle(), hVar, this);
|
||||
if (l4 != IntrinsicsKt.getCOROUTINE_SUSPENDED()) {
|
||||
l4 = Unit.INSTANCE;
|
||||
}
|
||||
if (l4 == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class j extends FunctionReferenceImpl implements Function1 {
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
AlertAction.Style p02 = (AlertAction.Style) obj;
|
||||
Intrinsics.checkNotNullParameter(p02, "p0");
|
||||
((NewIssueFragment) this.receiver).creationInfoDialogDismissed(p02);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.FunctionReferenceImpl;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class k extends FunctionReferenceImpl implements Function1 {
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
AlertAction.Style p02 = (AlertAction.Style) obj;
|
||||
Intrinsics.checkNotNullParameter(p02, "p0");
|
||||
((NewIssueFragment) this.receiver).handlePreMandatoryUpdateAlertResult(p02);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import androidx.lifecycle.Y;
|
||||
import kotlin.Function;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.FunctionAdapter;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class l implements Y, FunctionAdapter {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f4845a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Lambda f4846b;
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
public l(int i, Function1 function) {
|
||||
this.f4845a = i;
|
||||
switch (i) {
|
||||
case 1:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
case 2:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
case 3:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
case 4:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
case 5:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
case 6:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
default:
|
||||
Intrinsics.checkNotNullParameter(function, "function");
|
||||
this.f4846b = (Lambda) function;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
switch (this.f4845a) {
|
||||
case 0:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
case 1:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
case 2:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
case 3:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
case 4:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
case 5:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
default:
|
||||
if (!(obj instanceof Y) || !(obj instanceof FunctionAdapter)) {
|
||||
return false;
|
||||
}
|
||||
return Intrinsics.areEqual(this.f4846b, ((FunctionAdapter) obj).getFunctionDelegate());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.internal.FunctionAdapter
|
||||
public final Function getFunctionDelegate() {
|
||||
switch (this.f4845a) {
|
||||
case 0:
|
||||
return this.f4846b;
|
||||
case 1:
|
||||
return this.f4846b;
|
||||
case 2:
|
||||
return this.f4846b;
|
||||
case 3:
|
||||
return this.f4846b;
|
||||
case 4:
|
||||
return this.f4846b;
|
||||
case 5:
|
||||
return this.f4846b;
|
||||
default:
|
||||
return this.f4846b;
|
||||
}
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
switch (this.f4845a) {
|
||||
case 0:
|
||||
return this.f4846b.hashCode();
|
||||
case 1:
|
||||
return this.f4846b.hashCode();
|
||||
case 2:
|
||||
return this.f4846b.hashCode();
|
||||
case 3:
|
||||
return this.f4846b.hashCode();
|
||||
case 4:
|
||||
return this.f4846b.hashCode();
|
||||
case 5:
|
||||
return this.f4846b.hashCode();
|
||||
default:
|
||||
return this.f4846b.hashCode();
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v2, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v3, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v4, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v5, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v6, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
/* JADX WARN: Type inference failed for: r1v7, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
|
||||
@Override // androidx.lifecycle.Y
|
||||
public final /* synthetic */ void onChanged(Object obj) {
|
||||
switch (this.f4845a) {
|
||||
case 0:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
case 1:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
case 2:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
case 3:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
case 4:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
case 5:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
default:
|
||||
this.f4846b.invoke(obj);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import com.adif.elcanomovil.commonNavGraph.R;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
|
||||
import java.io.Serializable;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import o0.F;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class m implements F {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final boolean f4847a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final boolean f4848b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final String f4849c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final String f4850d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final AlertActions f4851e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public final AlertType f4852f;
|
||||
|
||||
/* renamed from: g, reason: collision with root package name */
|
||||
public final int f4853g;
|
||||
|
||||
public m(boolean z3, boolean z4, String title, String message, AlertActions actions, AlertType type) {
|
||||
Intrinsics.checkNotNullParameter(title, "title");
|
||||
Intrinsics.checkNotNullParameter(message, "message");
|
||||
Intrinsics.checkNotNullParameter(actions, "actions");
|
||||
Intrinsics.checkNotNullParameter(type, "type");
|
||||
this.f4847a = z3;
|
||||
this.f4848b = z4;
|
||||
this.f4849c = title;
|
||||
this.f4850d = message;
|
||||
this.f4851e = actions;
|
||||
this.f4852f = type;
|
||||
this.f4853g = R.id.action_global_alertDialog;
|
||||
}
|
||||
|
||||
public final boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof m)) {
|
||||
return false;
|
||||
}
|
||||
m mVar = (m) obj;
|
||||
return this.f4847a == mVar.f4847a && this.f4848b == mVar.f4848b && Intrinsics.areEqual(this.f4849c, mVar.f4849c) && Intrinsics.areEqual(this.f4850d, mVar.f4850d) && Intrinsics.areEqual(this.f4851e, mVar.f4851e) && this.f4852f == mVar.f4852f;
|
||||
}
|
||||
|
||||
@Override // o0.F
|
||||
public final int getActionId() {
|
||||
return this.f4853g;
|
||||
}
|
||||
|
||||
@Override // o0.F
|
||||
public final Bundle getArguments() {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putBoolean("blockOnback", this.f4847a);
|
||||
bundle.putBoolean("isCancelable", this.f4848b);
|
||||
bundle.putString("title", this.f4849c);
|
||||
bundle.putString("message", this.f4850d);
|
||||
boolean isAssignableFrom = Parcelable.class.isAssignableFrom(AlertActions.class);
|
||||
Serializable serializable = this.f4851e;
|
||||
if (isAssignableFrom) {
|
||||
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type android.os.Parcelable");
|
||||
bundle.putParcelable("actions", (Parcelable) serializable);
|
||||
} else {
|
||||
if (!Serializable.class.isAssignableFrom(AlertActions.class)) {
|
||||
throw new UnsupportedOperationException(AlertActions.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
|
||||
}
|
||||
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type java.io.Serializable");
|
||||
bundle.putSerializable("actions", serializable);
|
||||
}
|
||||
boolean isAssignableFrom2 = Parcelable.class.isAssignableFrom(AlertType.class);
|
||||
Serializable serializable2 = this.f4852f;
|
||||
if (isAssignableFrom2) {
|
||||
Intrinsics.checkNotNull(serializable2, "null cannot be cast to non-null type android.os.Parcelable");
|
||||
bundle.putParcelable("type", (Parcelable) serializable2);
|
||||
return bundle;
|
||||
}
|
||||
if (!Serializable.class.isAssignableFrom(AlertType.class)) {
|
||||
throw new UnsupportedOperationException(AlertType.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
|
||||
}
|
||||
Intrinsics.checkNotNull(serializable2, "null cannot be cast to non-null type java.io.Serializable");
|
||||
bundle.putSerializable("type", serializable2);
|
||||
return bundle;
|
||||
}
|
||||
|
||||
public final int hashCode() {
|
||||
return this.f4852f.hashCode() + ((this.f4851e.hashCode() + com.google.android.gms.measurement.internal.a.d(this.f4850d, com.google.android.gms.measurement.internal.a.d(this.f4849c, C.w.c(Boolean.hashCode(this.f4847a) * 31, 31, this.f4848b), 31), 31)) * 31);
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return "ActionGlobalAlertDialog(blockOnback=" + this.f4847a + ", isCancelable=" + this.f4848b + ", title=" + this.f4849c + ", message=" + this.f4850d + ", actions=" + this.f4851e + ", type=" + this.f4852f + ')';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.media.MediaScannerConnection;
|
||||
import android.net.Uri;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class n implements MediaScannerConnection.OnScanCompletedListener {
|
||||
@Override // android.media.MediaScannerConnection.OnScanCompletedListener
|
||||
public final void onScanCompleted(String str, Uri uri) {
|
||||
NewIssueViewModel.galleryAddPic$lambda$8(str, uri);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import androidx.lifecycle.W;
|
||||
import com.adif.elcanomovil.domain.entities.utils.AsyncResult;
|
||||
import com.adif.elcanomovil.domain.entities.utils.Status;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.TypeIntrinsics;
|
||||
import kotlinx.coroutines.flow.FlowCollector;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class o implements FlowCollector {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f4854a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4855b;
|
||||
|
||||
public /* synthetic */ o(NewIssueViewModel newIssueViewModel, int i) {
|
||||
this.f4854a = i;
|
||||
this.f4855b = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlinx.coroutines.flow.FlowCollector
|
||||
public final Object emit(Object obj, Continuation continuation) {
|
||||
W w3;
|
||||
W w4;
|
||||
W w5;
|
||||
switch (this.f4854a) {
|
||||
case 0:
|
||||
w3 = this.f4855b._resultCreateIncidence;
|
||||
w3.k((AsyncResult) obj);
|
||||
return Unit.INSTANCE;
|
||||
case 1:
|
||||
w4 = this.f4855b._listCategories;
|
||||
w4.k((AsyncResult) obj);
|
||||
return Unit.INSTANCE;
|
||||
default:
|
||||
AsyncResult asyncResult = (AsyncResult) obj;
|
||||
NewIssueViewModel newIssueViewModel = this.f4855b;
|
||||
w5 = newIssueViewModel._avisaStationList;
|
||||
w5.k(asyncResult);
|
||||
if (asyncResult.getStatus() == Status.SUCCESS) {
|
||||
Object data = asyncResult.getData();
|
||||
Intrinsics.checkNotNull(data, "null cannot be cast to non-null type kotlin.collections.MutableList<com.adif.elcanomovil.domain.entities.avisa.AvisaStation>");
|
||||
newIssueViewModel.avistaStations = TypeIntrinsics.asMutableList(data);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.avisa.incidence.IncidenceNotificationType;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class p extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4856a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4857b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ IncidenceNotificationType f4858c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public p(NewIssueViewModel newIssueViewModel, IncidenceNotificationType incidenceNotificationType, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4857b = newIssueViewModel;
|
||||
this.f4858c = incidenceNotificationType;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new p(this.f4857b, this.f4858c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((p) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:13:0x007e, code lost:
|
||||
|
||||
if (((kotlinx.coroutines.flow.Flow) r12).collect(r11, r10) == r0) goto L15;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:14:0x0080, code lost:
|
||||
|
||||
return r0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:16:0x006d, code lost:
|
||||
|
||||
if (r12 == r0) goto L15;
|
||||
*/
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object invokeSuspend(java.lang.Object r12) {
|
||||
/*
|
||||
r11 = this;
|
||||
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||||
int r1 = r11.f4856a
|
||||
com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel r2 = r11.f4857b
|
||||
r3 = 2
|
||||
r4 = 1
|
||||
if (r1 == 0) goto L21
|
||||
if (r1 == r4) goto L1c
|
||||
if (r1 != r3) goto L14
|
||||
kotlin.ResultKt.throwOnFailure(r12)
|
||||
goto L81
|
||||
L14:
|
||||
java.lang.IllegalStateException r11 = new java.lang.IllegalStateException
|
||||
java.lang.String r12 = "call to 'resume' before 'invoke' with coroutine"
|
||||
r11.<init>(r12)
|
||||
throw r11
|
||||
L1c:
|
||||
kotlin.ResultKt.throwOnFailure(r12)
|
||||
r10 = r11
|
||||
goto L70
|
||||
L21:
|
||||
kotlin.ResultKt.throwOnFailure(r12)
|
||||
r12 = r4
|
||||
com.adif.elcanomovil.domain.usecases.avisa.incidence.CreateIncidenceUseCase r4 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getCreateIncidenceUseCase$p(r2)
|
||||
androidx.lifecycle.X r1 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getSelectedCategory$p(r2)
|
||||
java.lang.Object r1 = r1.d()
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNull(r1)
|
||||
com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory r1 = (com.adif.elcanomovil.domain.entities.avisa.AvisaStationCategory) r1
|
||||
java.lang.String r5 = r1.getCatId()
|
||||
java.lang.StringBuilder r1 = new java.lang.StringBuilder
|
||||
r1.<init>()
|
||||
java.lang.String r6 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getIssueDescription$p(r2)
|
||||
r1.append(r6)
|
||||
r6 = 10
|
||||
r1.append(r6)
|
||||
java.lang.String r6 = r1.toString()
|
||||
androidx.lifecycle.X r1 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getSelectedStation$p(r2)
|
||||
java.lang.Object r1 = r1.d()
|
||||
kotlin.jvm.internal.Intrinsics.checkNotNull(r1)
|
||||
com.adif.elcanomovil.domain.entities.avisa.AvisaStation r1 = (com.adif.elcanomovil.domain.entities.avisa.AvisaStation) r1
|
||||
java.lang.String r8 = r1.getStId()
|
||||
java.util.List r9 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getPictures$p(r2)
|
||||
r11.f4856a = r12
|
||||
com.adif.elcanomovil.domain.entities.avisa.incidence.IncidenceNotificationType r7 = r11.f4858c
|
||||
r10 = r11
|
||||
java.lang.Object r12 = r4.invoke(r5, r6, r7, r8, r9, r10)
|
||||
if (r12 != r0) goto L70
|
||||
goto L80
|
||||
L70:
|
||||
kotlinx.coroutines.flow.Flow r12 = (kotlinx.coroutines.flow.Flow) r12
|
||||
com.adif.elcanomovil.uiAvisa.components.create.o r11 = new com.adif.elcanomovil.uiAvisa.components.create.o
|
||||
r1 = 0
|
||||
r11.<init>(r2, r1)
|
||||
r10.f4856a = r3
|
||||
java.lang.Object r11 = r12.collect(r11, r10)
|
||||
if (r11 != r0) goto L81
|
||||
L80:
|
||||
return r0
|
||||
L81:
|
||||
kotlin.Unit r11 = kotlin.Unit.INSTANCE
|
||||
return r11
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.uiAvisa.components.create.p.invokeSuspend(java.lang.Object):java.lang.Object");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.domain.entities.avisa.incidence.IncidenceNotificationType;
|
||||
import d1.InterfaceC0307a;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.BuildersKt;
|
||||
import kotlinx.coroutines.CoroutineDispatcher;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class q extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4859a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f4860b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4861c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public q(boolean z3, NewIssueViewModel newIssueViewModel, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4860b = z3;
|
||||
this.f4861c = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new q(this.f4860b, this.f4861c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((q) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
InterfaceC0307a interfaceC0307a;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4859a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
IncidenceNotificationType incidenceNotificationType = this.f4860b ? IncidenceNotificationType.NOTIFICATION_TYPE_PUSH_NOTIFICATION : IncidenceNotificationType.NOT_USED;
|
||||
NewIssueViewModel newIssueViewModel = this.f4861c;
|
||||
interfaceC0307a = newIssueViewModel.appDispatcher;
|
||||
((d1.d) interfaceC0307a).getClass();
|
||||
CoroutineDispatcher io = Dispatchers.getIO();
|
||||
p pVar = new p(newIssueViewModel, incidenceNotificationType, null);
|
||||
this.f4859a = 1;
|
||||
if (BuildersKt.withContext(io, pVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class r extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4862a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4863b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ String f4864c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public r(NewIssueViewModel newIssueViewModel, String str, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4863b = newIssueViewModel;
|
||||
this.f4864c = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new r(this.f4863b, this.f4864c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((r) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:13:0x0040, code lost:
|
||||
|
||||
if (((kotlinx.coroutines.flow.Flow) r6).collect(r1, r5) == r0) goto L15;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:14:0x0042, code lost:
|
||||
|
||||
return r0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:16:0x002f, code lost:
|
||||
|
||||
if (r6 == r0) goto L15;
|
||||
*/
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object invokeSuspend(java.lang.Object r6) {
|
||||
/*
|
||||
r5 = this;
|
||||
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||||
int r1 = r5.f4862a
|
||||
com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel r2 = r5.f4863b
|
||||
r3 = 2
|
||||
r4 = 1
|
||||
if (r1 == 0) goto L20
|
||||
if (r1 == r4) goto L1c
|
||||
if (r1 != r3) goto L14
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
goto L43
|
||||
L14:
|
||||
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
||||
java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
|
||||
r5.<init>(r6)
|
||||
throw r5
|
||||
L1c:
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
goto L32
|
||||
L20:
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
com.adif.elcanomovil.domain.usecases.avisa.station.GetAvisaStationCategoriesUseCase r6 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getGetAvisaStationCategoriesUseCase$p(r2)
|
||||
r5.f4862a = r4
|
||||
java.lang.String r1 = r5.f4864c
|
||||
java.lang.Object r6 = r6.invoke(r1, r5)
|
||||
if (r6 != r0) goto L32
|
||||
goto L42
|
||||
L32:
|
||||
kotlinx.coroutines.flow.Flow r6 = (kotlinx.coroutines.flow.Flow) r6
|
||||
com.adif.elcanomovil.uiAvisa.components.create.o r1 = new com.adif.elcanomovil.uiAvisa.components.create.o
|
||||
r4 = 1
|
||||
r1.<init>(r2, r4)
|
||||
r5.f4862a = r3
|
||||
java.lang.Object r5 = r6.collect(r1, r5)
|
||||
if (r5 != r0) goto L43
|
||||
L42:
|
||||
return r0
|
||||
L43:
|
||||
kotlin.Unit r5 = kotlin.Unit.INSTANCE
|
||||
return r5
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.uiAvisa.components.create.r.invokeSuspend(java.lang.Object):java.lang.Object");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import d1.InterfaceC0307a;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.BuildersKt;
|
||||
import kotlinx.coroutines.CoroutineDispatcher;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class s extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4865a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4866b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ String f4867c;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public s(NewIssueViewModel newIssueViewModel, String str, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4866b = newIssueViewModel;
|
||||
this.f4867c = str;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new s(this.f4866b, this.f4867c, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((s) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
InterfaceC0307a interfaceC0307a;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4865a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueViewModel newIssueViewModel = this.f4866b;
|
||||
interfaceC0307a = newIssueViewModel.appDispatcher;
|
||||
((d1.d) interfaceC0307a).getClass();
|
||||
CoroutineDispatcher io = Dispatchers.getIO();
|
||||
r rVar = new r(newIssueViewModel, this.f4867c, null);
|
||||
this.f4865a = 1;
|
||||
if (BuildersKt.withContext(io, rVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class t extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4868a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4869b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public t(NewIssueViewModel newIssueViewModel, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4869b = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new t(this.f4869b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((t) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:13:0x003e, code lost:
|
||||
|
||||
if (((kotlinx.coroutines.flow.Flow) r6).collect(r1, r5) == r0) goto L15;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:14:0x0040, code lost:
|
||||
|
||||
return r0;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:16:0x002d, code lost:
|
||||
|
||||
if (r6 == r0) goto L15;
|
||||
*/
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.lang.Object invokeSuspend(java.lang.Object r6) {
|
||||
/*
|
||||
r5 = this;
|
||||
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
||||
int r1 = r5.f4868a
|
||||
com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel r2 = r5.f4869b
|
||||
r3 = 2
|
||||
r4 = 1
|
||||
if (r1 == 0) goto L20
|
||||
if (r1 == r4) goto L1c
|
||||
if (r1 != r3) goto L14
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
goto L41
|
||||
L14:
|
||||
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
||||
java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
|
||||
r5.<init>(r6)
|
||||
throw r5
|
||||
L1c:
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
goto L30
|
||||
L20:
|
||||
kotlin.ResultKt.throwOnFailure(r6)
|
||||
com.adif.elcanomovil.domain.usecases.avisa.station.GetAvisaStationsUseCase r6 = com.adif.elcanomovil.uiAvisa.components.create.NewIssueViewModel.access$getGetStationsUseCase$p(r2)
|
||||
r5.f4868a = r4
|
||||
java.lang.Object r6 = r6.invoke(r5)
|
||||
if (r6 != r0) goto L30
|
||||
goto L40
|
||||
L30:
|
||||
kotlinx.coroutines.flow.Flow r6 = (kotlinx.coroutines.flow.Flow) r6
|
||||
com.adif.elcanomovil.uiAvisa.components.create.o r1 = new com.adif.elcanomovil.uiAvisa.components.create.o
|
||||
r4 = 2
|
||||
r1.<init>(r2, r4)
|
||||
r5.f4868a = r3
|
||||
java.lang.Object r5 = r6.collect(r1, r5)
|
||||
if (r5 != r0) goto L41
|
||||
L40:
|
||||
return r0
|
||||
L41:
|
||||
kotlin.Unit r5 = kotlin.Unit.INSTANCE
|
||||
return r5
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.uiAvisa.components.create.t.invokeSuspend(java.lang.Object):java.lang.Object");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import d1.InterfaceC0307a;
|
||||
import kotlin.ResultKt;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.coroutines.intrinsics.IntrinsicsKt;
|
||||
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.BuildersKt;
|
||||
import kotlinx.coroutines.CoroutineDispatcher;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
import kotlinx.coroutines.Dispatchers;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class u extends SuspendLambda implements Function2 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public int f4870a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4871b;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public u(NewIssueViewModel newIssueViewModel, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.f4871b = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Continuation create(Object obj, Continuation continuation) {
|
||||
return new u(this.f4871b, continuation);
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(Object obj, Object obj2) {
|
||||
return ((u) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
||||
}
|
||||
|
||||
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
InterfaceC0307a interfaceC0307a;
|
||||
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
|
||||
int i = this.f4870a;
|
||||
if (i == 0) {
|
||||
ResultKt.throwOnFailure(obj);
|
||||
NewIssueViewModel newIssueViewModel = this.f4871b;
|
||||
interfaceC0307a = newIssueViewModel.appDispatcher;
|
||||
((d1.d) interfaceC0307a).getClass();
|
||||
CoroutineDispatcher io = Dispatchers.getIO();
|
||||
t tVar = new t(newIssueViewModel, null);
|
||||
this.f4870a = 1;
|
||||
if (BuildersKt.withContext(io, tVar, this) == coroutine_suspended) {
|
||||
return coroutine_suspended;
|
||||
}
|
||||
} else {
|
||||
if (i != 1) {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
ResultKt.throwOnFailure(obj);
|
||||
}
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
|
||||
import com.adif.elcanomovil.uiAvisa.R;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class v extends Lambda implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4872a;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public v(NewIssueViewModel newIssueViewModel) {
|
||||
super(0);
|
||||
this.f4872a = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
Context context;
|
||||
Context context2;
|
||||
NewIssueViewModel newIssueViewModel = this.f4872a;
|
||||
context = newIssueViewModel.context;
|
||||
String string = context.getString(R.string.dialog_action_accept);
|
||||
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
|
||||
AlertAction alertAction = new AlertAction(string, AlertAction.Style.POSITIVE);
|
||||
context2 = newIssueViewModel.context;
|
||||
String string2 = context2.getString(R.string.create_issue_confirmation_negative);
|
||||
Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
|
||||
return new AlertActions(NewIssueViewModelKt.AVISA_PRE_CREATE_ISSUE, alertAction, new AlertAction(string2, AlertAction.Style.NEGATIVE));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
|
||||
import com.adif.elcanomovil.uiAvisa.R;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class w extends Lambda implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4873a;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public w(NewIssueViewModel newIssueViewModel) {
|
||||
super(0);
|
||||
this.f4873a = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
Context context;
|
||||
context = this.f4873a.context;
|
||||
String string = context.getString(R.string.stations_avisa_dialog_positive_return);
|
||||
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
|
||||
return new AlertActions(NewIssueViewModelKt.AVISA_CREATE_ISSUE, new AlertAction(string, AlertAction.Style.POSITIVE));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import android.content.Context;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
|
||||
import com.adif.elcanomovil.uiAvisa.R;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class x extends Lambda implements Function0 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4874a;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public x(NewIssueViewModel newIssueViewModel) {
|
||||
super(0);
|
||||
this.f4874a = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
public final Object invoke() {
|
||||
Context context;
|
||||
context = this.f4874a.context;
|
||||
String string = context.getString(R.string.create_issue_confirmation_positive);
|
||||
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
|
||||
return new AlertActions(NewIssueViewModelKt.AVISA_CREATE_ISSUE_WITHOUT_ACTION, new AlertAction(string, AlertAction.Style.POSITIVE));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
import com.adif.elcanomovil.uiAvisa.components.create.NavigateTo;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Lambda;
|
||||
import kotlinx.coroutines.channels.Channel;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class y extends Lambda implements Function1 {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ NewIssueViewModel f4875a;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public y(NewIssueViewModel newIssueViewModel) {
|
||||
super(1);
|
||||
this.f4875a = newIssueViewModel;
|
||||
}
|
||||
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public final Object invoke(Object obj) {
|
||||
Channel channel;
|
||||
((Boolean) obj).booleanValue();
|
||||
channel = this.f4875a._navigation;
|
||||
channel.mo1630trySendJP2dKIU(NavigateTo.NavigateUp.INSTANCE);
|
||||
return Unit.INSTANCE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.adif.elcanomovil.uiAvisa.components.create;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class z {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public static final NewIssueViewModel_HiltModules_KeyModule_ProvideFactory f4876a = new NewIssueViewModel_HiltModules_KeyModule_ProvideFactory();
|
||||
}
|
||||
Reference in New Issue
Block a user