package com.ss.android.ugc.aweme.staticimage;

import X.M12;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.Objects;

public final class StaticImageVideoContext implements Serializable {
    public final int duration;
    public final int imageHeight;
    public String imagePath;
    public final int imageWidth;
    public final boolean isFromAvatarChanging;
    public final boolean isFromBackgroundChanging;
    public final boolean isFromShoot;
    public String uploadFrameImagePath;

    static {
        Covode.recordClassIndex(115511);
    }

    public static /* synthetic */ StaticImageVideoContext copy$default(StaticImageVideoContext staticImageVideoContext, String str, boolean z, int i, boolean z2, boolean z3, int i2, int i3, String str2, int i4, Object obj) {
        if ((i4 & 1) != 0) {
            str = staticImageVideoContext.imagePath;
        }
        if ((i4 & 2) != 0) {
            z = staticImageVideoContext.isFromShoot;
        }
        if ((i4 & 4) != 0) {
            i = staticImageVideoContext.duration;
        }
        if ((i4 & 8) != 0) {
            z2 = staticImageVideoContext.isFromAvatarChanging;
        }
        if ((i4 & 16) != 0) {
            z3 = staticImageVideoContext.isFromBackgroundChanging;
        }
        if ((i4 & 32) != 0) {
            i2 = staticImageVideoContext.imageWidth;
        }
        if ((i4 & 64) != 0) {
            i3 = staticImageVideoContext.imageHeight;
        }
        if ((i4 & 128) != 0) {
            str2 = staticImageVideoContext.uploadFrameImagePath;
        }
        return staticImageVideoContext.copy(str, z, i, z2, z3, i2, i3, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.imagePath, Boolean.valueOf(this.isFromShoot), Integer.valueOf(this.duration), Boolean.valueOf(this.isFromAvatarChanging), Boolean.valueOf(this.isFromBackgroundChanging), Integer.valueOf(this.imageWidth), Integer.valueOf(this.imageHeight), this.uploadFrameImagePath};
    }

    public final StaticImageVideoContext copy(String str, boolean z, int i, boolean z2, boolean z3, int i2, int i3, String str2) {
        String str3 = str;
        M12.LIZ(str3);
        return new StaticImageVideoContext(str3, z, i, z2, z3, i2, i3, str2);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof StaticImageVideoContext)) {
            return false;
        }
        return M12.LIZ(((StaticImageVideoContext) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("StaticImageVideoContext:%s,%s,%s,%s,%s,%s,%s,%s", getObjects());
    }

    public final int getDuration() {
        return this.duration;
    }

    public final int getImageHeight() {
        return this.imageHeight;
    }

    public final String getImagePath() {
        return this.imagePath;
    }

    public final int getImageWidth() {
        return this.imageWidth;
    }

    public final String getUploadFrameImagePath() {
        return this.uploadFrameImagePath;
    }

    public final boolean isFromAvatarChanging() {
        return this.isFromAvatarChanging;
    }

    public final boolean isFromBackgroundChanging() {
        return this.isFromBackgroundChanging;
    }

    public final boolean isFromShoot() {
        return this.isFromShoot;
    }

    public final void setUploadFrameImagePath(String str) {
        this.uploadFrameImagePath = str;
    }

    public final void setImagePath(String str) {
        M12.LIZ(str);
        this.imagePath = str;
    }

    public StaticImageVideoContext(String str, boolean z, int i, boolean z2, boolean z3, int i2, int i3, String str2) {
        M12.LIZ(str);
        this.imagePath = str;
        this.isFromShoot = z;
        this.duration = i;
        this.isFromAvatarChanging = z2;
        this.isFromBackgroundChanging = z3;
        this.imageWidth = i2;
        this.imageHeight = i3;
        this.uploadFrameImagePath = str2;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ StaticImageVideoContext(java.lang.String r10, boolean r11, int r12, boolean r13, boolean r14, int r15, int r16, java.lang.String r17, int r18, X.AnonymousClass2HN r19) {
        /*
            r9 = this;
            r2 = r18
            r4 = r13
            r3 = r12
            r5 = r14
            r6 = r15
            r8 = r17
            r7 = r16
            r0 = r2 & 4
            if (r0 == 0) goto L_0x0012
            r0 = 10000(0x2710, float:1.4013E-41)
            r3 = 10000(0x2710, float:1.4013E-41)
        L_0x0012:
            r1 = r2 & 8
            r0 = 0
            if (r1 == 0) goto L_0x0018
            r4 = 0
        L_0x0018:
            r0 = r2 & 16
            if (r0 == 0) goto L_0x001d
            r5 = 0
        L_0x001d:
            r0 = r2 & 32
            if (r0 == 0) goto L_0x0025
            r0 = 720(0x2d0, float:1.009E-42)
            r6 = 720(0x2d0, float:1.009E-42)
        L_0x0025:
            r0 = r2 & 64
            if (r0 == 0) goto L_0x002d
            r0 = 1080(0x438, float:1.513E-42)
            r7 = 1080(0x438, float:1.513E-42)
        L_0x002d:
            r0 = r2 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x0032
            r8 = 0
        L_0x0032:
            r0 = r9
            r1 = r10
            r2 = r11
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.staticimage.StaticImageVideoContext.<init>(java.lang.String, boolean, int, boolean, boolean, int, int, java.lang.String, int, X.2HN):void");
    }
}
