content: package okhttp3;
  
  import java.net.Proxy;
  import java.net.ProxySelector;
  import java.util.List;
  import java.util.Objects;
  import javax.net.SocketFactory;
  import javax.net.ssl.HostnameVerifier;
  import javax.net.ssl.SSLSocketFactory;
  import kotlin.Deprecated;
  import kotlin.DeprecationLevel;
  import kotlin.Metadata;
  import kotlin.ReplaceWith;
  import kotlin.jvm.internal.Intrinsics;
  import okhttp3.HttpUrl;
  import okhttp3.internal.Util;
  
  @Metadata(bv = {1, 0, 3}, d1 = {"\u0000h\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u000f\u0018\u00002\u00020\u0001By\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\r\u0012\b\u0010\u000e\u001a\u0004\u0018\u00010\u000f\u0012\u0006\u0010\u0010\u001a\u00020\u0011\u0012\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013\u0012\f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00160\u0015\u0012\f\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00180\u0015\u0012\u0006\u0010\u0019\u001a\u00020\u001a¢\u0006\u0002\u0010\u001bJ\u000f\u0010\u000e\u001a\u0004\u0018\u00010\u000fH\u0007¢\u0006\u0002\b(J\u0013\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00180\u0015H\u0007¢\u0006\u0002\b)J\r\u0010\u0006\u001a\u00020\u0007H\u0007¢\u0006\u0002\b*J\u0013\u0010+\u001a\u00020,2\b\u0010-\u001a\u0004\u0018\u00010\u0001H\u0002J\u0015\u0010.\u001a\u00020,2\u0006\u0010/\u001a\u00020\u0000H\u0000¢\u0006\u0002\b0J\b\u00101\u001a\u00020\u0005H\u0016J\u000f\u0010\f\u001a\u0004\u0018\u00010\rH\u0007¢\u0006\u0002\b2J\u0013\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00160\u0015H\u0007¢\u0006\u0002\b3J\u000f\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u0007¢\u0006\u0002\b4J\r\u0010\u0010\u001a\u00020\u0011H\u0007¢\u0006\u0002\b5J\r\u0010\u0019\u001a\u00020\u001aH\u0007¢\u0006\u0002\b6J\r\u0010\b\u001a\u00020\tH\u0007¢\u0006\u0002\b7J\u000f\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0007¢\u0006\u0002\b8J\b\u00109\u001a\u00020\u0003H\u0016J\r\u0010%\u001a\u00020&H\u0007¢\u0006\u0002\b:R\u0015\u0010\u000e\u001a\u0004\u0018\u00010\u000f8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u001cR\u0019\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00180\u00158G¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u001dR\u0013\u0010\u0006\u001a\u00020\u00078\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u001eR\u0015\u0010\f\u001a\u0004\u0018\u00010\r8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u001fR\u0019\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00160\u00158G¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u001dR\u0015\u0010\u0012\u001a\u0004\u0018\u00010\u00138\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010 R\u0013\u0010\u0010\u001a\u00020\u00118\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010!R\u0013\u0010\u0019\u001a\u00020\u001a8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\"R\u0013\u0010\b\u001a\u00020\t8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010#R\u0015\u0010\n\u001a\u0004\u0018\u00010\u000b8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010$R\u0013\u0010%\u001a\u00020&8G¢\u0006\b\n\u0000\u001a\u0004\b%\u0010'¨\u0006;"}, d2 = {"Lokhttp3/Address;", "", "uriHost", "", "uriPort", "", "dns", "Lokhttp3/Dns;", "socketFactory", "Ljavax/net/SocketFactory;", "sslSocketFactory", "Ljavax/net/ssl/SSLSocketFactory;", "hostnameVerifier", "Ljavax/net/ssl/HostnameVerifier;", "certificatePinner", "Lokhttp3/CertificatePinner;", "proxyAuthenticator", "Lokhttp3/Authenticator;", "proxy", "Ljava/net/Proxy;", "protocols", "", "Lokhttp3/Protocol;", "connectionSpecs", "Lokhttp3/ConnectionSpec;", "proxySelector", "Ljava/net/ProxySelector;", "(Ljava/lang/String;ILokhttp3/Dns;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lokhttp3/CertificatePinner;Lokhttp3/Authenticator;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V", "()Lokhttp3/CertificatePinner;", "()Ljava/util/List;", "()Lokhttp3/Dns;", "()Ljavax/net/ssl/HostnameVerifier;", "()Ljava/net/Proxy;", "()Lokhttp3/Authenticator;", "()Ljava/net/ProxySelector;", "()Ljavax/net/SocketFactory;", "()Ljavax/net/ssl/SSLSocketFactory;", "url", "Lokhttp3/HttpUrl;", "()Lokhttp3/HttpUrl;", "-deprecated_certificatePinner", "-deprecated_connectionSpecs", "-deprecated_dns", "equals", "", "other", "equalsNonHost", "that", "equalsNonHost$okhttp", "hashCode", "-deprecated_hostnameVerifier", "-deprecated_protocols", "-deprecated_proxy", "-deprecated_proxyAuthenticator", "-deprecated_proxySelector", "-deprecated_socketFactory", "-deprecated_sslSocketFactory", "toString", "-deprecated_url", "okhttp"}, k = 1, mv = {1, 4, 0})
  /* compiled from: Address.kt */
  public final class Address {
      private final CertificatePinner certificatePinner;
      private final List<ConnectionSpec> connectionSpecs;
      private final Dns dns;
      private final HostnameVerifier hostnameVerifier;
      private final List<Protocol> protocols;
      private final Proxy proxy;
      private final Authenticator proxyAuthenticator;
      private final ProxySelector proxySelector;
      private final SocketFactory socketFactory;
      private final SSLSocketFactory sslSocketFactory;
      private final HttpUrl url;
  
      public Address(String uriHost, int uriPort, Dns dns2, SocketFactory socketFactory2, SSLSocketFactory sslSocketFactory2, HostnameVerifier hostnameVerifier2, CertificatePinner certificatePinner2, Authenticator proxyAuthenticator2, Proxy proxy2, List<? extends Protocol> protocols2, List<ConnectionSpec> connectionSpecs2, ProxySelector proxySelector2) {
          Intrinsics.checkNotNullParameter(uriHost, "uriHost");
          Intrinsics.checkNotNullParameter(dns2, "dns");
          Intrinsics.checkNotNullParameter(socketFactory2, "socketFactory");
          Intrinsics.checkNotNullParameter(proxyAuthenticator2, "proxyAuthenticator");
          Intrinsics.checkNotNullParameter(protocols2, "protocols");
          Intrinsics.checkNotNullParameter(connectionSpecs2, "connectionSpecs");
          Intrinsics.checkNotNullParameter(proxySelector2, "proxySelector");
          this.dns = dns2;
          this.socketFactory = socketFactory2;
          this.sslSocketFactory = sslSocketFactory2;
          this.hostnameVerifier = hostnameVerifier2;
          this.certificatePinner = certificatePinner2;
          this.proxyAuthenticator = proxyAuthenticator2;
          this.proxy = proxy2;
          this.proxySelector = proxySelector2;
          this.url = new HttpUrl.Builder().scheme(sslSocketFactory2 != null ? "https" : "http").host(uriHost).port(uriPort).build();
          this.protocols = Util.toImmutableList(protocols2);
          this.connectionSpecs = Util.toImmutableList(connectionSpecs2);
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "certificatePinner", imports = {}))
      /* renamed from: -deprecated_certificatePinner  reason: not valid java name */
      public final CertificatePinner m1590deprecated_certificatePinner() {
          return this.certificatePinner;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "connectionSpecs", imports = {}))
      /* renamed from: -deprecated_connectionSpecs  reason: not valid java name */
      public final List<ConnectionSpec> m1591deprecated_connectionSpecs() {
          return this.connectionSpecs;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "dns", imports = {}))
      /* renamed from: -deprecated_dns  reason: not valid java name */
      public final Dns m1592deprecated_dns() {
          return this.dns;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "hostnameVerifier", imports = {}))
      /* renamed from: -deprecated_hostnameVerifier  reason: not valid java name */
      public final HostnameVerifier m1593deprecated_hostnameVerifier() {
          return this.hostnameVerifier;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "protocols", imports = {}))
      /* renamed from: -deprecated_protocols  reason: not valid java name */
      public final List<Protocol> m1594deprecated_protocols() {
          return this.protocols;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "proxy", imports = {}))
      /* renamed from: -deprecated_proxy  reason: not valid java name */
      public final Proxy m1595deprecated_proxy() {
          return this.proxy;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "proxyAuthenticator", imports = {}))
      /* renamed from: -deprecated_proxyAuthenticator  reason: not valid java name */
      public final Authenticator m1596deprecated_proxyAuthenticator() {
          return this.proxyAuthenticator;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "proxySelector", imports = {}))
      /* renamed from: -deprecated_proxySelector  reason: not valid java name */
      public final ProxySelector m1597deprecated_proxySelector() {
          return this.proxySelector;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "socketFactory", imports = {}))
      /* renamed from: -deprecated_socketFactory  reason: not valid java name */
      public final SocketFactory m1598deprecated_socketFactory() {
          return this.socketFactory;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "sslSocketFactory", imports = {}))
      /* renamed from: -deprecated_sslSocketFactory  reason: not valid java name */
      public final SSLSocketFactory m1599deprecated_sslSocketFactory() {
          return this.sslSocketFactory;
      }
  
      @Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "url", imports = {}))
      /* renamed from: -deprecated_url  reason: not valid java name */
      public final HttpUrl m1600deprecated_url() {
          return this.url;
      }
  
      public final CertificatePinner certificatePinner() {
          return this.certificatePinner;
      }
  
      public final List<ConnectionSpec> connectionSpecs() {
          return this.connectionSpecs;
      }
  
      public final Dns dns() {
          return this.dns;
      }
  
      public boolean equals(Object other) {
          return (other instanceof Address) && Intrinsics.areEqual((Object) this.url, (Object) ((Address) other).url) && equalsNonHost$okhttp((Address) other);
      }
  
      public final boolean equalsNonHost$okhttp(Address that) {
          Intrinsics.checkNotNullParameter(that, "that");
          return Intrinsics.areEqual((Object) this.dns, (Object) that.dns) && Intrinsics.areEqual((Object) this.proxyAuthenticator, (Object) that.proxyAuthenticator) && Intrinsics.areEqual((Object) this.protocols, (Object) that.protocols) && Intrinsics.areEqual((Object) this.connectionSpecs, (Object) that.connectionSpecs) && Intrinsics.areEqual((Object) this.proxySelector, (Object) that.proxySelector) && Intrinsics.areEqual((Object) this.proxy, (Object) that.proxy) && Intrinsics.areEqual((Object) this.sslSocketFactory, (Object) that.sslSocketFactory) && Intrinsics.areEqual((Object) this.hostnameVerifier, (Object) that.hostnameVerifier) && Intrinsics.areEqual((Object) this.certificatePinner, (Object) that.certificatePinner) && this.url.port() == that.url.port();
      }
  
      public int hashCode() {
          return (((((((((((((((((((17 * 31) + this.url.hashCode()) * 31) + this.dns.hashCode()) * 31) + this.proxyAuthenticator.hashCode()) * 31) + this.protocols.hashCode()) * 31) + this.connectionSpecs.hashCode()) * 31) + this.proxySelector.hashCode()) * 31) + Objects.hashCode(this.proxy)) * 31) + Objects.hashCode(this.sslSocketFactory)) * 31) + Objects.hashCode(this.hostnameVerifier)) * 31) + Objects.hashCode(this.certificatePinner);
      }
  
      public final HostnameVerifier hostnameVerifier() {
          return this.hostnameVerifier;
      }
  
      public final List<Protocol> protocols() {
          return this.protocols;
      }
  
      public final Proxy proxy() {
          return this.proxy;
      }
  
      public final Authenticator proxyAuthenticator() {
          return this.proxyAuthenticator;
      }
  
      public final ProxySelector proxySelector() {
          return this.proxySelector;
      }
  
      public final SocketFactory socketFactory() {
          return this.socketFactory;
      }
  
      public final SSLSocketFactory sslSocketFactory() {
          return this.sslSocketFactory;
      }
  
      public String toString() {
          Object obj;
          StringBuilder sb;
          StringBuilder append = new StringBuilder().append("Address{").append(this.url.host()).append(':').append(this.url.port()).append(", ");
          if (this.proxy != null) {
              sb = new StringBuilder().append("proxy=");
              obj = this.proxy;
          } else {
              sb = new StringBuilder().append("proxySelector=");
              obj = this.proxySelector;
          }
          return append.append(sb.append(obj).toString()).append("}").toString();
      }
  
      public final HttpUrl url() {
          return this.url;
      }
  }
  