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

import X0.AbstractC0808v;
import androidx.compose.runtime.internal.StabilityInferred;
import com.revenuecat.purchases.paywalls.DownloadedFontFamily;
import kotlin.jvm.internal.o;

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

    @StabilityInferred(parameters = 1)
    public static final class Asset implements FontSpec {
        public static final int $stable = 0;
        private final AbstractC0808v fontFamily;

        public Asset(AbstractC0808v fontFamily) {
            o.h(fontFamily, "fontFamily");
            this.fontFamily = fontFamily;
        }

        public static /* synthetic */ Asset copy$default(Asset asset, AbstractC0808v abstractC0808v, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                abstractC0808v = asset.fontFamily;
            }
            return asset.copy(abstractC0808v);
        }

        public final AbstractC0808v component1() {
            return this.fontFamily;
        }

        public final Asset copy(AbstractC0808v fontFamily) {
            o.h(fontFamily, "fontFamily");
            return new Asset(fontFamily);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Asset) && o.c(this.fontFamily, ((Asset) obj).fontFamily);
        }

        public final /* synthetic */ AbstractC0808v getFontFamily() {
            return this.fontFamily;
        }

        public int hashCode() {
            return this.fontFamily.hashCode();
        }

        public String toString() {
            return "Asset(fontFamily=" + this.fontFamily + ')';
        }
    }

    @StabilityInferred(parameters = 0)
    public static final class Downloaded implements FontSpec {
        public static final int $stable = 8;
        private final DownloadedFontFamily downloadedFontFamily;

        public Downloaded(DownloadedFontFamily downloadedFontFamily) {
            o.h(downloadedFontFamily, "downloadedFontFamily");
            this.downloadedFontFamily = downloadedFontFamily;
        }

        public static /* synthetic */ Downloaded copy$default(Downloaded downloaded, DownloadedFontFamily downloadedFontFamily, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                downloadedFontFamily = downloaded.downloadedFontFamily;
            }
            return downloaded.copy(downloadedFontFamily);
        }

        public final DownloadedFontFamily component1() {
            return this.downloadedFontFamily;
        }

        public final Downloaded copy(DownloadedFontFamily downloadedFontFamily) {
            o.h(downloadedFontFamily, "downloadedFontFamily");
            return new Downloaded(downloadedFontFamily);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Downloaded) && o.c(this.downloadedFontFamily, ((Downloaded) obj).downloadedFontFamily);
        }

        public final /* synthetic */ DownloadedFontFamily getDownloadedFontFamily() {
            return this.downloadedFontFamily;
        }

        public int hashCode() {
            return this.downloadedFontFamily.hashCode();
        }

        public String toString() {
            return "Downloaded(downloadedFontFamily=" + this.downloadedFontFamily + ')';
        }
    }

    public interface Generic extends FontSpec {

        @StabilityInferred(parameters = 1)
        public static final class Monospace implements Generic {
            public static final int $stable = 0;
            public static final Monospace INSTANCE = new Monospace();

            private Monospace() {
            }
        }

        @StabilityInferred(parameters = 1)
        public static final class SansSerif implements Generic {
            public static final int $stable = 0;
            public static final SansSerif INSTANCE = new SansSerif();

            private SansSerif() {
            }
        }

        @StabilityInferred(parameters = 1)
        public static final class Serif implements Generic {
            public static final int $stable = 0;
            public static final Serif INSTANCE = new Serif();

            private Serif() {
            }
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class Google implements FontSpec {
        public static final int $stable = 0;
        private final String name;

        public Google(String name) {
            o.h(name, "name");
            this.name = name;
        }

        public static /* synthetic */ Google copy$default(Google google, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                str = google.name;
            }
            return google.copy(str);
        }

        public final String component1() {
            return this.name;
        }

        public final Google copy(String name) {
            o.h(name, "name");
            return new Google(name);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Google) && o.c(this.name, ((Google) obj).name);
        }

        public final /* synthetic */ String getName() {
            return this.name;
        }

        public int hashCode() {
            return this.name.hashCode();
        }

        public String toString() {
            return Z0.o.r(new StringBuilder("Google(name="), this.name, ')');
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class Resource implements FontSpec {
        public static final int $stable = 0;
        private final AbstractC0808v fontFamily;

        public Resource(AbstractC0808v fontFamily) {
            o.h(fontFamily, "fontFamily");
            this.fontFamily = fontFamily;
        }

        public static /* synthetic */ Resource copy$default(Resource resource, AbstractC0808v abstractC0808v, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                abstractC0808v = resource.fontFamily;
            }
            return resource.copy(abstractC0808v);
        }

        public final AbstractC0808v component1() {
            return this.fontFamily;
        }

        public final Resource copy(AbstractC0808v fontFamily) {
            o.h(fontFamily, "fontFamily");
            return new Resource(fontFamily);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof Resource) && o.c(this.fontFamily, ((Resource) obj).fontFamily);
        }

        public final /* synthetic */ AbstractC0808v getFontFamily() {
            return this.fontFamily;
        }

        public int hashCode() {
            return this.fontFamily.hashCode();
        }

        public String toString() {
            return "Resource(fontFamily=" + this.fontFamily + ')';
        }
    }

    @StabilityInferred(parameters = 1)
    public static final class System implements FontSpec {
        public static final int $stable = 0;
        private final String name;

        public System(String name) {
            o.h(name, "name");
            this.name = name;
        }

        public static /* synthetic */ System copy$default(System system, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                str = system.name;
            }
            return system.copy(str);
        }

        public final String component1() {
            return this.name;
        }

        public final System copy(String name) {
            o.h(name, "name");
            return new System(name);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof System) && o.c(this.name, ((System) obj).name);
        }

        public final /* synthetic */ String getName() {
            return this.name;
        }

        public int hashCode() {
            return this.name.hashCode();
        }

        public String toString() {
            return Z0.o.r(new StringBuilder("System(name="), this.name, ')');
        }
    }
}
