40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package o;
|
|
|
|
import com.google.zxing.NotFoundException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class CRq extends rua {
|
|
private final int[] a = new int[4];
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
@Override // o.rua
|
|
public final int b(C17416wdP c17416wdP, int[] iArr, StringBuilder sb) throws NotFoundException {
|
|
int[] iArr2 = this.a;
|
|
iArr2[0] = 0;
|
|
iArr2[1] = 0;
|
|
iArr2[2] = 0;
|
|
iArr2[3] = 0;
|
|
int i = c17416wdP.d;
|
|
int i2 = iArr[1];
|
|
for (int i3 = 0; i3 < 4 && i2 < i; i3++) {
|
|
sb.append((char) (e(c17416wdP, iArr2, i2, c) + 48));
|
|
for (int i4 : iArr2) {
|
|
i2 += i4;
|
|
}
|
|
}
|
|
int i5 = d(c17416wdP, i2, true, e)[1];
|
|
for (int i6 = 0; i6 < 4 && i5 < i; i6++) {
|
|
sb.append((char) (e(c17416wdP, iArr2, i5, c) + 48));
|
|
for (int i7 : iArr2) {
|
|
i5 += i7;
|
|
}
|
|
}
|
|
return i5;
|
|
}
|
|
|
|
@Override // o.rua
|
|
final PTS d() {
|
|
return PTS.EAN_8;
|
|
}
|
|
}
|