package com.revenuecat.purchases.paywalls.components.properties;

import androidx.compose.runtime.Immutable;
import com.revenuecat.purchases.InternalRevenueCatAPI;
import com.revenuecat.purchases.utils.serializers.URLSerializer;
import g5.a;
import i5.g;
import j5.b;
import java.net.URL;
import k5.P;
import k5.a0;
import k5.k0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;
import w4.t;

/* JADX INFO: loaded from: classes3.dex */
@Immutable
@InternalRevenueCatAPI
public final class ImageUrls {
    public static final Companion Companion = new Companion(null);
    private final int height;
    private final URL original;
    private final URL webp;
    private final URL webpLowRes;
    private final int width;

    public static final class Companion {
        public /* synthetic */ Companion(h hVar) {
            this();
        }

        public final a serializer() {
            return ImageUrls$$serializer.INSTANCE;
        }

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ ImageUrls(int i6, URL url, URL url2, URL url3, t tVar, t tVar2, a0 a0Var, h hVar) {
        this(i6, url, url2, url3, tVar, tVar2, a0Var);
    }

    public static /* synthetic */ void getOriginal$annotations() {
    }

    public static /* synthetic */ void getWebp$annotations() {
    }

    public static /* synthetic */ void getWebpLowRes$annotations() {
    }

    public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(ImageUrls imageUrls, b bVar, g gVar) {
        URLSerializer uRLSerializer = URLSerializer.INSTANCE;
        bVar.z(gVar, 0, uRLSerializer, imageUrls.original);
        bVar.z(gVar, 1, uRLSerializer, imageUrls.webp);
        bVar.z(gVar, 2, uRLSerializer, imageUrls.webpLowRes);
        k0 k0Var = k0.f20066a;
        bVar.z(gVar, 3, k0Var, new t(imageUrls.width));
        bVar.z(gVar, 4, k0Var, new t(imageUrls.height));
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ImageUrls)) {
            return false;
        }
        ImageUrls imageUrls = (ImageUrls) obj;
        return o.c(this.original, imageUrls.original) && o.c(this.webp, imageUrls.webp) && o.c(this.webpLowRes, imageUrls.webpLowRes) && this.width == imageUrls.width && this.height == imageUrls.height;
    }

    /* JADX INFO: renamed from: getHeight-pVg5ArA, reason: not valid java name */
    public final /* synthetic */ int m619getHeightpVg5ArA() {
        return this.height;
    }

    public final /* synthetic */ URL getOriginal() {
        return this.original;
    }

    public final /* synthetic */ URL getWebp() {
        return this.webp;
    }

    public final /* synthetic */ URL getWebpLowRes() {
        return this.webpLowRes;
    }

    /* JADX INFO: renamed from: getWidth-pVg5ArA, reason: not valid java name */
    public final /* synthetic */ int m620getWidthpVg5ArA() {
        return this.width;
    }

    public int hashCode() {
        return ((((this.webpLowRes.hashCode() + ((this.webp.hashCode() + (this.original.hashCode() * 31)) * 31)) * 31) + this.width) * 31) + this.height;
    }

    public String toString() {
        return "ImageUrls(original=" + this.original + ", webp=" + this.webp + ", webpLowRes=" + this.webpLowRes + ", width=" + ((Object) t.a(this.width)) + ", height=" + ((Object) t.a(this.height)) + ')';
    }

    public /* synthetic */ ImageUrls(URL url, URL url2, URL url3, int i6, int i7, h hVar) {
        this(url, url2, url3, i6, i7);
    }

    private ImageUrls(int i6, URL url, URL url2, URL url3, t tVar, t tVar2, a0 a0Var) {
        if (31 != (i6 & 31)) {
            P.h(i6, 31, ImageUrls$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.original = url;
        this.webp = url2;
        this.webpLowRes = url3;
        this.width = tVar.f25484a;
        this.height = tVar2.f25484a;
    }

    private ImageUrls(URL original, URL webp, URL webpLowRes, int i6, int i7) {
        o.h(original, "original");
        o.h(webp, "webp");
        o.h(webpLowRes, "webpLowRes");
        this.original = original;
        this.webp = webp;
        this.webpLowRes = webpLowRes;
        this.width = i6;
        this.height = i7;
    }
}
