package com.revenuecat.purchases.ui.revenuecatui.components.properties;

import G0.InterfaceC0262j;
import androidx.compose.runtime.internal.StabilityInferred;
import com.google.android.recaptcha.internal.a;
import com.revenuecat.purchases.paywalls.components.properties.ThemeImageUrls;
import com.revenuecat.purchases.paywalls.components.properties.ThemeVideoUrls;
import kotlin.jvm.internal.o;
import u0.AbstractC2959b;

/* JADX INFO: loaded from: classes3.dex */
public interface BackgroundStyle {

    public static final class Color implements BackgroundStyle {
        private final ColorStyle color;

        private /* synthetic */ Color(ColorStyle colorStyle) {
            this.color = colorStyle;
        }

        /* JADX INFO: renamed from: box-impl, reason: not valid java name */
        public static final /* synthetic */ Color m703boximpl(ColorStyle colorStyle) {
            return new Color(colorStyle);
        }

        /* JADX INFO: renamed from: constructor-impl, reason: not valid java name */
        public static ColorStyle m704constructorimpl(ColorStyle color) {
            o.h(color, "color");
            return color;
        }

        /* JADX INFO: renamed from: equals-impl, reason: not valid java name */
        public static boolean m705equalsimpl(ColorStyle colorStyle, Object obj) {
            return (obj instanceof Color) && o.c(colorStyle, ((Color) obj).m709unboximpl());
        }

        /* JADX INFO: renamed from: equals-impl0, reason: not valid java name */
        public static final boolean m706equalsimpl0(ColorStyle colorStyle, ColorStyle colorStyle2) {
            return o.c(colorStyle, colorStyle2);
        }

        /* JADX INFO: renamed from: hashCode-impl, reason: not valid java name */
        public static int m707hashCodeimpl(ColorStyle colorStyle) {
            return colorStyle.hashCode();
        }

        /* JADX INFO: renamed from: toString-impl, reason: not valid java name */
        public static String m708toStringimpl(ColorStyle colorStyle) {
            return "Color(color=" + colorStyle + ')';
        }

        public boolean equals(Object obj) {
            return m705equalsimpl(this.color, obj);
        }

        public final /* synthetic */ ColorStyle getColor() {
            return this.color;
        }

        public int hashCode() {
            return m707hashCodeimpl(this.color);
        }

        public String toString() {
            return m708toStringimpl(this.color);
        }

        /* JADX INFO: renamed from: unbox-impl, reason: not valid java name */
        public final /* synthetic */ ColorStyle m709unboximpl() {
            return this.color;
        }
    }

    @StabilityInferred(parameters = 0)
    public static final class Image implements BackgroundStyle {
        public static final int $stable = 8;
        private final ColorStyle colorOverlay;
        private final InterfaceC0262j contentScale;
        private final AbstractC2959b painter;

        public Image(AbstractC2959b painter, InterfaceC0262j contentScale, ColorStyle colorStyle) {
            o.h(painter, "painter");
            o.h(contentScale, "contentScale");
            this.painter = painter;
            this.contentScale = contentScale;
            this.colorOverlay = colorStyle;
        }

        public static /* synthetic */ Image copy$default(Image image, AbstractC2959b abstractC2959b, InterfaceC0262j interfaceC0262j, ColorStyle colorStyle, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                abstractC2959b = image.painter;
            }
            if ((i6 & 2) != 0) {
                interfaceC0262j = image.contentScale;
            }
            if ((i6 & 4) != 0) {
                colorStyle = image.colorOverlay;
            }
            return image.copy(abstractC2959b, interfaceC0262j, colorStyle);
        }

        public final AbstractC2959b component1() {
            return this.painter;
        }

        public final InterfaceC0262j component2() {
            return this.contentScale;
        }

        public final ColorStyle component3() {
            return this.colorOverlay;
        }

        public final Image copy(AbstractC2959b painter, InterfaceC0262j contentScale, ColorStyle colorStyle) {
            o.h(painter, "painter");
            o.h(contentScale, "contentScale");
            return new Image(painter, contentScale, colorStyle);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof Image)) {
                return false;
            }
            Image image = (Image) obj;
            return o.c(this.painter, image.painter) && o.c(this.contentScale, image.contentScale) && o.c(this.colorOverlay, image.colorOverlay);
        }

        public final /* synthetic */ ColorStyle getColorOverlay() {
            return this.colorOverlay;
        }

        public final /* synthetic */ InterfaceC0262j getContentScale() {
            return this.contentScale;
        }

        public final /* synthetic */ AbstractC2959b getPainter() {
            return this.painter;
        }

        public int hashCode() {
            int iHashCode = (this.contentScale.hashCode() + (this.painter.hashCode() * 31)) * 31;
            ColorStyle colorStyle = this.colorOverlay;
            return iHashCode + (colorStyle == null ? 0 : colorStyle.hashCode());
        }

        public String toString() {
            return "Image(painter=" + this.painter + ", contentScale=" + this.contentScale + ", colorOverlay=" + this.colorOverlay + ')';
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class Video implements BackgroundStyle {
        public static final int $stable = 0;
        private final ColorStyles colorOverlay;
        private final InterfaceC0262j contentScale;
        private final ThemeImageUrls fallbackImage;
        private final boolean loop;
        private final boolean muteAudio;
        private final ThemeVideoUrls sources;

        public Video(ThemeVideoUrls sources, ThemeImageUrls fallbackImage, boolean z6, boolean z7, InterfaceC0262j contentScale, ColorStyles colorStyles) {
            o.h(sources, "sources");
            o.h(fallbackImage, "fallbackImage");
            o.h(contentScale, "contentScale");
            this.sources = sources;
            this.fallbackImage = fallbackImage;
            this.loop = z6;
            this.muteAudio = z7;
            this.contentScale = contentScale;
            this.colorOverlay = colorStyles;
        }

        public static /* synthetic */ Video copy$default(Video video, ThemeVideoUrls themeVideoUrls, ThemeImageUrls themeImageUrls, boolean z6, boolean z7, InterfaceC0262j interfaceC0262j, ColorStyles colorStyles, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                themeVideoUrls = video.sources;
            }
            if ((i6 & 2) != 0) {
                themeImageUrls = video.fallbackImage;
            }
            if ((i6 & 4) != 0) {
                z6 = video.loop;
            }
            if ((i6 & 8) != 0) {
                z7 = video.muteAudio;
            }
            if ((i6 & 16) != 0) {
                interfaceC0262j = video.contentScale;
            }
            if ((i6 & 32) != 0) {
                colorStyles = video.colorOverlay;
            }
            InterfaceC0262j interfaceC0262j2 = interfaceC0262j;
            ColorStyles colorStyles2 = colorStyles;
            return video.copy(themeVideoUrls, themeImageUrls, z6, z7, interfaceC0262j2, colorStyles2);
        }

        public final ThemeVideoUrls component1() {
            return this.sources;
        }

        public final ThemeImageUrls component2() {
            return this.fallbackImage;
        }

        public final boolean component3() {
            return this.loop;
        }

        public final boolean component4() {
            return this.muteAudio;
        }

        public final InterfaceC0262j component5() {
            return this.contentScale;
        }

        public final ColorStyles component6() {
            return this.colorOverlay;
        }

        public final Video copy(ThemeVideoUrls sources, ThemeImageUrls fallbackImage, boolean z6, boolean z7, InterfaceC0262j contentScale, ColorStyles colorStyles) {
            o.h(sources, "sources");
            o.h(fallbackImage, "fallbackImage");
            o.h(contentScale, "contentScale");
            return new Video(sources, fallbackImage, z6, z7, contentScale, colorStyles);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof Video)) {
                return false;
            }
            Video video = (Video) obj;
            return o.c(this.sources, video.sources) && o.c(this.fallbackImage, video.fallbackImage) && this.loop == video.loop && this.muteAudio == video.muteAudio && o.c(this.contentScale, video.contentScale) && o.c(this.colorOverlay, video.colorOverlay);
        }

        public final /* synthetic */ ColorStyles getColorOverlay() {
            return this.colorOverlay;
        }

        public final /* synthetic */ InterfaceC0262j getContentScale() {
            return this.contentScale;
        }

        public final /* synthetic */ ThemeImageUrls getFallbackImage() {
            return this.fallbackImage;
        }

        public final /* synthetic */ boolean getLoop() {
            return this.loop;
        }

        public final /* synthetic */ boolean getMuteAudio() {
            return this.muteAudio;
        }

        public final /* synthetic */ ThemeVideoUrls getSources() {
            return this.sources;
        }

        public int hashCode() {
            int iHashCode = (this.contentScale.hashCode() + a.f(a.f((this.fallbackImage.hashCode() + (this.sources.hashCode() * 31)) * 31, 31, this.loop), 31, this.muteAudio)) * 31;
            ColorStyles colorStyles = this.colorOverlay;
            return iHashCode + (colorStyles == null ? 0 : colorStyles.hashCode());
        }

        public String toString() {
            return "Video(sources=" + this.sources + ", fallbackImage=" + this.fallbackImage + ", loop=" + this.loop + ", muteAudio=" + this.muteAudio + ", contentScale=" + this.contentScale + ", colorOverlay=" + this.colorOverlay + ')';
        }
    }
}
