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

import androidx.compose.runtime.Immutable;
import androidx.compose.runtime.Stable;
import com.revenuecat.purchases.InternalRevenueCatAPI;
import g5.a;
import i5.g;
import j5.b;
import k5.P;
import k5.a0;
import kotlin.jvm.internal.h;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
@Stable
@InternalRevenueCatAPI
public interface CornerRadiuses {
    public static final Companion Companion = Companion.$$INSTANCE;

    public static final class Companion {
        static final /* synthetic */ Companion $$INSTANCE = new Companion();

        private Companion() {
        }

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

    @Immutable
    public static final class Dp implements CornerRadiuses {
        public static final Companion Companion = new Companion(null);

        /* JADX INFO: renamed from: default, reason: not valid java name */
        private static final Dp f4default;
        private static final Dp zero;
        private final double bottomLeading;
        private final double bottomTrailing;
        private final double topLeading;
        private final double topTrailing;

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

            public final /* synthetic */ Dp getDefault() {
                return Dp.f4default;
            }

            public final /* synthetic */ Dp getZero() {
                return Dp.zero;
            }

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

            private Companion() {
            }
        }

        static {
            Dp dp = new Dp(0.0d, 0.0d, 0.0d, 0.0d);
            zero = dp;
            f4default = dp;
        }

        public Dp(double d6, double d7, double d8, double d9) {
            this.topLeading = d6;
            this.topTrailing = d7;
            this.bottomLeading = d8;
            this.bottomTrailing = d9;
        }

        public static /* synthetic */ Dp copy$default(Dp dp, double d6, double d7, double d8, double d9, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                d6 = dp.topLeading;
            }
            double d10 = d6;
            if ((i6 & 2) != 0) {
                d7 = dp.topTrailing;
            }
            double d11 = d7;
            if ((i6 & 4) != 0) {
                d8 = dp.bottomLeading;
            }
            return dp.copy(d10, d11, d8, (i6 & 8) != 0 ? dp.bottomTrailing : d9);
        }

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

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

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

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

        public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(Dp dp, b bVar, g gVar) {
            bVar.r(gVar, 0, dp.topLeading);
            bVar.r(gVar, 1, dp.topTrailing);
            bVar.r(gVar, 2, dp.bottomLeading);
            bVar.r(gVar, 3, dp.bottomTrailing);
        }

        public final Dp copy(double d6, double d7, double d8, double d9) {
            return new Dp(d6, d7, d8, d9);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof Dp)) {
                return false;
            }
            Dp dp = (Dp) obj;
            return Double.compare(this.topLeading, dp.topLeading) == 0 && Double.compare(this.topTrailing, dp.topTrailing) == 0 && Double.compare(this.bottomLeading, dp.bottomLeading) == 0 && Double.compare(this.bottomTrailing, dp.bottomTrailing) == 0;
        }

        public final /* synthetic */ double getBottomLeading() {
            return this.bottomLeading;
        }

        public final /* synthetic */ double getBottomTrailing() {
            return this.bottomTrailing;
        }

        public final /* synthetic */ double getTopLeading() {
            return this.topLeading;
        }

        public final /* synthetic */ double getTopTrailing() {
            return this.topTrailing;
        }

        public int hashCode() {
            return Double.hashCode(this.bottomTrailing) + ((Double.hashCode(this.bottomLeading) + ((Double.hashCode(this.topTrailing) + (Double.hashCode(this.topLeading) * 31)) * 31)) * 31);
        }

        public String toString() {
            return "Dp(topLeading=" + this.topLeading + ", topTrailing=" + this.topTrailing + ", bottomLeading=" + this.bottomLeading + ", bottomTrailing=" + this.bottomTrailing + ')';
        }

        @InterfaceC3141c
        public /* synthetic */ Dp(int i6, double d6, double d7, double d8, double d9, a0 a0Var) {
            if (15 != (i6 & 15)) {
                P.h(i6, 15, CornerRadiuses$Dp$$serializer.INSTANCE.getDescriptor());
                throw null;
            }
            this.topLeading = d6;
            this.topTrailing = d7;
            this.bottomLeading = d8;
            this.bottomTrailing = d9;
        }

        public Dp(double d6) {
            this(d6, d6, d6, d6);
        }
    }

    @Immutable
    public static final class Percentage implements CornerRadiuses {
        public static final Companion Companion = new Companion(null);
        private final int bottomLeading;
        private final int bottomTrailing;
        private final int topLeading;
        private final int topTrailing;

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

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

            private Companion() {
            }
        }

        public Percentage(int i6, int i7, int i8, int i9) {
            this.topLeading = i6;
            this.topTrailing = i7;
            this.bottomLeading = i8;
            this.bottomTrailing = i9;
        }

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

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

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

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

        public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(Percentage percentage, b bVar, g gVar) {
            bVar.w(0, percentage.topLeading, gVar);
            bVar.w(1, percentage.topTrailing, gVar);
            bVar.w(2, percentage.bottomLeading, gVar);
            bVar.w(3, percentage.bottomTrailing, gVar);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof Percentage)) {
                return false;
            }
            Percentage percentage = (Percentage) obj;
            return this.topLeading == percentage.topLeading && this.topTrailing == percentage.topTrailing && this.bottomLeading == percentage.bottomLeading && this.bottomTrailing == percentage.bottomTrailing;
        }

        public final /* synthetic */ int getBottomLeading() {
            return this.bottomLeading;
        }

        public final /* synthetic */ int getBottomTrailing() {
            return this.bottomTrailing;
        }

        public final /* synthetic */ int getTopLeading() {
            return this.topLeading;
        }

        public final /* synthetic */ int getTopTrailing() {
            return this.topTrailing;
        }

        public int hashCode() {
            return (((((this.topLeading * 31) + this.topTrailing) * 31) + this.bottomLeading) * 31) + this.bottomTrailing;
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("Percentage(topLeading=");
            sb.append(this.topLeading);
            sb.append(", topTrailing=");
            sb.append(this.topTrailing);
            sb.append(", bottomLeading=");
            sb.append(this.bottomLeading);
            sb.append(", bottomTrailing=");
            return com.google.android.recaptcha.internal.a.m(sb, this.bottomTrailing, ')');
        }

        @InterfaceC3141c
        public /* synthetic */ Percentage(int i6, int i7, int i8, int i9, int i10, a0 a0Var) {
            if (15 != (i6 & 15)) {
                P.h(i6, 15, CornerRadiuses$Percentage$$serializer.INSTANCE.getDescriptor());
                throw null;
            }
            this.topLeading = i7;
            this.topTrailing = i8;
            this.bottomLeading = i9;
            this.bottomTrailing = i10;
        }

        public Percentage(int i6) {
            this(i6, i6, i6, i6);
        }
    }
}
