package dev.librecybernetics.data.alphabet;
import dev.librecybernetics.data.FnBijection;
import dev.librecybernetics.data.Bijection.;
import java.io.Serializable;
import java.lang.invoke.SerializedLambda;
import scala.MatchError;
import scala.runtime.BoxesRunTime;
import scala.runtime.ModuleSerializationProxy;
public final class RFC4648$ implements Serializable {
public static final RFC4648$ MODULE$ = new RFC4648$();
private RFC4648$() {
}
private Object writeReplace() {
return new ModuleSerializationProxy(RFC4648$.class);
}
public FnBijection<Object, Object> base16Lowercase() {
return .MODULE$.apply((x$1) -> {
return base16Lowercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base16Lowercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base16Uppercase() {
return .MODULE$.apply((x$1) -> {
return base16Uppercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base16Uppercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base32HexLowercase() {
return .MODULE$.apply((x$1) -> {
return base32HexLowercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base32HexLowercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base32HexUppercase() {
return .MODULE$.apply((x$1) -> {
return base32HexUppercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base32HexUppercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base32Lowercase() {
return .MODULE$.apply((x$1) -> {
return base32Lowercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base32Lowercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base32Uppercase() {
return .MODULE$.apply((x$1) -> {
return base32Uppercase$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base32Uppercase$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base64() {
return .MODULE$.apply((x$1) -> {
return base64$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base64$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
public FnBijection<Object, Object> base64URLSafe() {
return .MODULE$.apply((x$1) -> {
return base64URLSafe$$anonfun$1(BoxesRunTime.unboxToByte(x$1));
}, (x$1) -> {
return base64URLSafe$$anonfun$2(BoxesRunTime.unboxToChar(x$1));
});
}
// $FF: synthetic method
private static final char base16Lowercase$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 9) {
return (char)(x$1 + 48);
} else if (10 <= x$1 && x$1 <= 15) {
return (char)(x$1 + 87);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base16Lowercase$$anonfun$2(final char x$1) {
if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 - 48);
} else if ('a' <= x$1 && x$1 <= 'f') {
return (byte)(x$1 - 87);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base16Uppercase$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 9) {
return (char)(x$1 + 48);
} else if (10 <= x$1 && x$1 <= 15) {
return (char)(x$1 + 55);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base16Uppercase$$anonfun$2(final char x$1) {
if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 - 48);
} else if ('A' <= x$1 && x$1 <= 'F') {
return (byte)(x$1 - 55);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base32HexLowercase$$anonfun$1(final byte x$1) {
if (10 <= x$1 && x$1 <= 31) {
return (char)(x$1 + 87);
} else if (0 <= x$1 && x$1 <= 9) {
return (char)(x$1 + 48);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base32HexLowercase$$anonfun$2(final char x$1) {
if ('a' <= x$1 && x$1 <= 'v') {
return (byte)(x$1 - 87);
} else if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 - 48);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base32HexUppercase$$anonfun$1(final byte x$1) {
if (10 <= x$1 && x$1 <= 31) {
return (char)(x$1 + 55);
} else if (0 <= x$1 && x$1 <= 9) {
return (char)(x$1 + 48);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base32HexUppercase$$anonfun$2(final char x$1) {
if ('A' <= x$1 && x$1 <= 'V') {
return (byte)(x$1 - 55);
} else if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 - 48);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base32Lowercase$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 25) {
return (char)(x$1 + 97);
} else if (26 <= x$1 && x$1 <= 31) {
return (char)(x$1 + 24);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base32Lowercase$$anonfun$2(final char x$1) {
if ('a' <= x$1 && x$1 <= 'z') {
return (byte)(x$1 - 97);
} else if ('2' <= x$1 && x$1 <= '7') {
return (byte)(x$1 - 24);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base32Uppercase$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 25) {
return (char)(x$1 + 65);
} else if (26 <= x$1 && x$1 <= 31) {
return (char)(x$1 + 24);
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base32Uppercase$$anonfun$2(final char x$1) {
if ('A' <= x$1 && x$1 <= 'Z') {
return (byte)(x$1 - 65);
} else if ('2' <= x$1 && x$1 <= '7') {
return (byte)(x$1 - 24);
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base64$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 25) {
return (char)(x$1 + 65);
} else if (26 <= x$1 && x$1 <= 51) {
return (char)(x$1 + 71);
} else if (52 <= x$1 && x$1 <= 61) {
return (char)(x$1 - 4);
} else if (62 == x$1) {
return '+';
} else if (63 == x$1) {
return '/';
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base64$$anonfun$2(final char x$1) {
if ('A' <= x$1 && x$1 <= 'Z') {
return (byte)(x$1 - 65);
} else if ('a' <= x$1 && x$1 <= 'z') {
return (byte)(x$1 - 71);
} else if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 + 4);
} else if ('+' == x$1) {
return 62;
} else if ('/' == x$1) {
return 63;
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static final char base64URLSafe$$anonfun$1(final byte x$1) {
if (0 <= x$1 && x$1 <= 25) {
return (char)(x$1 + 65);
} else if (26 <= x$1 && x$1 <= 51) {
return (char)(x$1 + 71);
} else if (52 <= x$1 && x$1 <= 61) {
return (char)(x$1 - 4);
} else if (62 == x$1) {
return '-';
} else if (63 == x$1) {
return '_';
} else {
throw new MatchError(BoxesRunTime.boxToByte(x$1));
}
}
// $FF: synthetic method
private static final byte base64URLSafe$$anonfun$2(final char x$1) {
if ('A' <= x$1 && x$1 <= 'Z') {
return (byte)(x$1 - 65);
} else if ('a' <= x$1 && x$1 <= 'z') {
return (byte)(x$1 - 71);
} else if ('0' <= x$1 && x$1 <= '9') {
return (byte)(x$1 + 4);
} else if ('-' == x$1) {
return 62;
} else if ('_' == x$1) {
return 63;
} else {
throw new MatchError(BoxesRunTime.boxToCharacter(x$1));
}
}
// $FF: synthetic method
private static Object $deserializeLambda$(SerializedLambda var0) {
return Class.lambdaDeserialize<invokedynamic>(var0);
}
}