42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
|
package com.google.android.gms.internal.firebase_ml;
|
||
|
|
||
|
import java.io.UnsupportedEncodingException;
|
||
|
import java.net.URLDecoder;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzie {
|
||
|
private static final zzif zzaah = new zzig("-_.*", true);
|
||
|
private static final zzif zzaai = new zzig("-_.!~*'()@:$&,;=", false);
|
||
|
private static final zzif zzaaj = new zzig("-_.!~*'()@:$&,;=+/?", false);
|
||
|
private static final zzif zzaak = new zzig("-_.!~*'():$&,;=", false);
|
||
|
private static final zzif zzaal = new zzig("-_.!~*'()@:$,;/?:", false);
|
||
|
|
||
|
public static String zzaq(String str) {
|
||
|
return zzaah.zzaw(str);
|
||
|
}
|
||
|
|
||
|
public static String zzar(String str) {
|
||
|
try {
|
||
|
return URLDecoder.decode(str, "UTF-8");
|
||
|
} catch (UnsupportedEncodingException e) {
|
||
|
throw new RuntimeException(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static String zzas(String str) {
|
||
|
return zzaai.zzaw(str);
|
||
|
}
|
||
|
|
||
|
public static String zzat(String str) {
|
||
|
return zzaaj.zzaw(str);
|
||
|
}
|
||
|
|
||
|
public static String zzau(String str) {
|
||
|
return zzaak.zzaw(str);
|
||
|
}
|
||
|
|
||
|
public static String zzav(String str) {
|
||
|
return zzaal.zzaw(str);
|
||
|
}
|
||
|
}
|