package ඓ.ඓ.K.㿎;

import java.io.IOException;
import ᨨ.AbstractC1473;
import ᨨ.AbstractC1481;
import ᨨ.AbstractC1483;
import ᨨ.C1486;
import ᨨ.C1492;
import 㿎.AbstractC2651;
import 㿎.C2628;

/* renamed from: ඓ.ඓ.K.㿎.㴹  reason: contains not printable characters */
/* compiled from: IndiaProgressRequestBody */
public class C0703 extends AbstractC2651 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public C0704 f3710;

    /* renamed from: ῲ  reason: contains not printable characters */
    public AbstractC0698 f3711;

    /* renamed from: K  reason: contains not printable characters */
    public AbstractC2651 f3712;

    /* renamed from: ඓ.ඓ.K.㿎.㴹$K  reason: contains not printable characters */
    /* compiled from: IndiaProgressRequestBody */
    public final class C0704 extends AbstractC1481 {

        /* renamed from: ʬ  reason: contains not printable characters */
        public long f3713 = 0;

        public C0704(AbstractC1473 r2) {
            super(r2);
        }

        @Override // ᨨ.AbstractC1481, ᨨ.AbstractC1473
        /* renamed from: K  reason: contains not printable characters */
        public void m2132(C1492 r8, long j) throws IOException {
            this.f5510.m3692(r8, j);
            this.f3713 += j;
            double contentLength = (double) ((this.f3713 * 100) / C0703.this.contentLength());
            C0703 r82 = C0703.this;
            AbstractC0698 r0 = r82.f3711;
            if (r0 != null) {
                r0.m2101(r82.contentLength(), this.f3713, contentLength);
            }
        }
    }

    @Override // 㿎.AbstractC2651
    public long contentLength() {
        try {
            return this.f3712.contentLength();
        } catch (IOException e) {
            e.printStackTrace();
            return -1;
        }
    }

    @Override // 㿎.AbstractC2651
    public C2628 contentType() {
        return this.f3712.contentType();
    }

    @Override // 㿎.AbstractC2651
    public void writeTo(AbstractC1483 r2) throws IOException {
        this.f3710 = new C0704(r2);
        AbstractC1483 r22 = C1486.m3737(this.f3710);
        this.f3712.writeTo(r22);
        r22.flush();
    }
}
