Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,128 @@
package com.sistemasolton.itranvias.home.presentation.utils;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: compiled from: UtilsState.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B=\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\b\b\u0002\u0010\t\u001a\u00020\u0003¢\u0006\u0004\b\n\u0010\u000bJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0006HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\bHÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J?\u0010\u0016\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\b\b\u0002\u0010\t\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0017\u001a\u00020\u00032\b\u0010\u0018\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0019\u001a\u00020\u001aHÖ\u0001J\t\u0010\u001b\u001a\u00020\u0006HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\fR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\\u0006\u001c"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/utils/UtilsState;", "", "isLoading", "", "isError", "errorMessage", "", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "isLoadingLanguageChange", "<init>", "(ZZLjava/lang/String;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Z)V", "()Z", "getErrorMessage", "()Ljava/lang/String;", "getInfoDto", "()Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "component1", "component2", "component3", "component4", "component5", "copy", "equals", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final /* data */ class UtilsState {
public static final int $stable = 8;
private final String errorMessage;
private final InfoDto infoDto;
private final boolean isError;
private final boolean isLoading;
private final boolean isLoadingLanguageChange;
public UtilsState() {
this(false, false, null, null, false, 31, null);
}
public static /* synthetic */ UtilsState copy$default(UtilsState utilsState, boolean z, boolean z2, String str, InfoDto infoDto, boolean z3, int i, Object obj) {
if ((i & 1) != 0) {
z = utilsState.isLoading;
}
if ((i & 2) != 0) {
z2 = utilsState.isError;
}
boolean z4 = z2;
if ((i & 4) != 0) {
str = utilsState.errorMessage;
}
String str2 = str;
if ((i & 8) != 0) {
infoDto = utilsState.infoDto;
}
InfoDto infoDto2 = infoDto;
if ((i & 16) != 0) {
z3 = utilsState.isLoadingLanguageChange;
}
return utilsState.copy(z, z4, str2, infoDto2, z3);
}
/* JADX INFO: renamed from: component1, reason: from getter */
public final boolean getIsLoading() {
return this.isLoading;
}
/* JADX INFO: renamed from: component2, reason: from getter */
public final boolean getIsError() {
return this.isError;
}
/* JADX INFO: renamed from: component3, reason: from getter */
public final String getErrorMessage() {
return this.errorMessage;
}
/* JADX INFO: renamed from: component4, reason: from getter */
public final InfoDto getInfoDto() {
return this.infoDto;
}
/* JADX INFO: renamed from: component5, reason: from getter */
public final boolean getIsLoadingLanguageChange() {
return this.isLoadingLanguageChange;
}
public final UtilsState copy(boolean isLoading, boolean isError, String errorMessage, InfoDto infoDto, boolean isLoadingLanguageChange) {
return new UtilsState(isLoading, isError, errorMessage, infoDto, isLoadingLanguageChange);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof UtilsState)) {
return false;
}
UtilsState utilsState = (UtilsState) other;
return this.isLoading == utilsState.isLoading && this.isError == utilsState.isError && Intrinsics.areEqual(this.errorMessage, utilsState.errorMessage) && Intrinsics.areEqual(this.infoDto, utilsState.infoDto) && this.isLoadingLanguageChange == utilsState.isLoadingLanguageChange;
}
public int hashCode() {
int iHashCode = ((Boolean.hashCode(this.isLoading) * 31) + Boolean.hashCode(this.isError)) * 31;
String str = this.errorMessage;
int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
InfoDto infoDto = this.infoDto;
return ((iHashCode2 + (infoDto != null ? infoDto.hashCode() : 0)) * 31) + Boolean.hashCode(this.isLoadingLanguageChange);
}
public String toString() {
return "UtilsState(isLoading=" + this.isLoading + ", isError=" + this.isError + ", errorMessage=" + this.errorMessage + ", infoDto=" + this.infoDto + ", isLoadingLanguageChange=" + this.isLoadingLanguageChange + ")";
}
public UtilsState(boolean z, boolean z2, String str, InfoDto infoDto, boolean z3) {
this.isLoading = z;
this.isError = z2;
this.errorMessage = str;
this.infoDto = infoDto;
this.isLoadingLanguageChange = z3;
}
public /* synthetic */ UtilsState(boolean z, boolean z2, String str, InfoDto infoDto, boolean z3, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? false : z, (i & 2) != 0 ? false : z2, (i & 4) != 0 ? null : str, (i & 8) != 0 ? null : infoDto, (i & 16) != 0 ? false : z3);
}
public final boolean isLoading() {
return this.isLoading;
}
public final boolean isError() {
return this.isError;
}
public final String getErrorMessage() {
return this.errorMessage;
}
public final InfoDto getInfoDto() {
return this.infoDto;
}
public final boolean isLoadingLanguageChange() {
return this.isLoadingLanguageChange;
}
}