lj.java 1.48 KB
import com.google.android.gms.internal.zzak.zza;
import com.google.android.gms.tagmanager.zzbo;
import com.google.android.gms.tagmanager.zzdl;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

final class lj
{
  static String a(String paramString)
    throws UnsupportedEncodingException
  {
    return URLEncoder.encode(paramString, "UTF-8").replaceAll("\\+", "%20");
  }
  
  private static ke<zzak.zza> a(ke<zzak.zza> paramke)
  {
    try
    {
      ke localke = new ke(zzdl.zzR(a(zzdl.zze((zzak.zza)paramke.a))), paramke.b);
      return localke;
    }
    catch (UnsupportedEncodingException localUnsupportedEncodingException)
    {
      zzbo.zzb("Escape URI: unsupported encoding", localUnsupportedEncodingException);
    }
    return paramke;
  }
  
  static ke<zzak.zza> a(ke<zzak.zza> paramke, int... paramVarArgs)
  {
    int j = paramVarArgs.length;
    int i = 0;
    if (i < j)
    {
      int k = paramVarArgs[i];
      if (!(zzdl.zzj((zzak.zza)paramke.a) instanceof String)) {
        zzbo.e("Escaping can only be applied to strings.");
      }
      for (;;)
      {
        i += 1;
        break;
        switch (k)
        {
        default: 
          zzbo.e(39 + "Unsupported Value Escaping: " + k);
          break;
        case 12: 
          paramke = a(paramke);
        }
      }
    }
    return paramke;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/lj.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */