package q2;

/* loaded from: classes.dex */
public abstract class h {

    /* loaded from: classes.dex */
    public static final class a extends h {

        /* renamed from: a, reason: collision with root package name */
        private final String f33294a;

        /* renamed from: b, reason: collision with root package name */
        private final k0 f33295b;

        public a(String str, k0 k0Var, i iVar) {
            super(null);
            this.f33294a = str;
            this.f33295b = k0Var;
        }

        @Override // q2.h
        public i a() {
            return null;
        }

        @Override // q2.h
        public k0 b() {
            return this.f33295b;
        }

        public final String c() {
            return this.f33294a;
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof a)) {
                return false;
            }
            a aVar = (a) obj;
            if (!kotlin.jvm.internal.t.b(this.f33294a, aVar.f33294a) || !kotlin.jvm.internal.t.b(b(), aVar.b())) {
                return false;
            }
            a();
            aVar.a();
            return kotlin.jvm.internal.t.b(null, null);
        }

        public int hashCode() {
            int hashCode = this.f33294a.hashCode() * 31;
            k0 b10 = b();
            int hashCode2 = b10 != null ? b10.hashCode() : 0;
            a();
            return ((hashCode + hashCode2) * 31) + 0;
        }

        public String toString() {
            return "LinkAnnotation.Clickable(tag=" + this.f33294a + ')';
        }
    }

    /* loaded from: classes.dex */
    public static final class b extends h {

        /* renamed from: a, reason: collision with root package name */
        private final String f33296a;

        /* renamed from: b, reason: collision with root package name */
        private final k0 f33297b;

        public /* synthetic */ b(String str, k0 k0Var, i iVar, int i10, kotlin.jvm.internal.k kVar) {
            this(str, (i10 & 2) != 0 ? null : k0Var, (i10 & 4) != 0 ? null : iVar);
        }

        @Override // q2.h
        public i a() {
            return null;
        }

        @Override // q2.h
        public k0 b() {
            return this.f33297b;
        }

        public final String c() {
            return this.f33296a;
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof b)) {
                return false;
            }
            b bVar = (b) obj;
            if (!kotlin.jvm.internal.t.b(this.f33296a, bVar.f33296a) || !kotlin.jvm.internal.t.b(b(), bVar.b())) {
                return false;
            }
            a();
            bVar.a();
            return kotlin.jvm.internal.t.b(null, null);
        }

        public int hashCode() {
            int hashCode = this.f33296a.hashCode() * 31;
            k0 b10 = b();
            int hashCode2 = b10 != null ? b10.hashCode() : 0;
            a();
            return ((hashCode + hashCode2) * 31) + 0;
        }

        public String toString() {
            return "LinkAnnotation.Url(url=" + this.f33296a + ')';
        }

        public b(String str, k0 k0Var, i iVar) {
            super(null);
            this.f33296a = str;
            this.f33297b = k0Var;
        }
    }

    private h() {
    }

    public /* synthetic */ h(kotlin.jvm.internal.k kVar) {
        this();
    }

    public abstract i a();

    public abstract k0 b();
}
