package com.google.android.exoplayer2; import android.net.Uri; import com.google.android.exoplayer2.MediaItem; import com.google.android.exoplayer2.util.Util; /* loaded from: classes2.dex */ public final class Timeline$Window { public long defaultPositionUs; public long durationUs; public long elapsedRealtimeEpochOffsetMs; public int firstPeriodIndex; public boolean isDynamic; public boolean isPlaceholder; public boolean isSeekable; public int lastPeriodIndex; public MediaItem.LiveConfiguration liveConfiguration; public Object manifest; public long positionInFirstPeriodUs; public long presentationStartTimeMs; public long windowStartTimeMs; public static final Object SINGLE_WINDOW_UID = new Object(); public static final Object FAKE_WINDOW_UID = new Object(); public static final MediaItem EMPTY_MEDIA_ITEM = new MediaItem.Builder().setMediaId("com.google.android.exoplayer2.Timeline").setUri(Uri.EMPTY).build(); public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0(); public Object uid = SINGLE_WINDOW_UID; public MediaItem mediaItem = EMPTY_MEDIA_ITEM; public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !Timeline$Window.class.equals(obj.getClass())) { return false; } Timeline$Window timeline$Window = (Timeline$Window) obj; return Util.areEqual(this.uid, timeline$Window.uid) && Util.areEqual(this.mediaItem, timeline$Window.mediaItem) && Util.areEqual(this.manifest, timeline$Window.manifest) && Util.areEqual(this.liveConfiguration, timeline$Window.liveConfiguration) && this.presentationStartTimeMs == timeline$Window.presentationStartTimeMs && this.windowStartTimeMs == timeline$Window.windowStartTimeMs && this.elapsedRealtimeEpochOffsetMs == timeline$Window.elapsedRealtimeEpochOffsetMs && this.isSeekable == timeline$Window.isSeekable && this.isDynamic == timeline$Window.isDynamic && this.isPlaceholder == timeline$Window.isPlaceholder && this.defaultPositionUs == timeline$Window.defaultPositionUs && this.durationUs == timeline$Window.durationUs && this.firstPeriodIndex == timeline$Window.firstPeriodIndex && this.lastPeriodIndex == timeline$Window.lastPeriodIndex && this.positionInFirstPeriodUs == timeline$Window.positionInFirstPeriodUs; } public int hashCode() { int hashCode = (((217 + this.uid.hashCode()) * 31) + this.mediaItem.hashCode()) * 31; Object obj = this.manifest; int hashCode2 = (hashCode + (obj == null ? 0 : obj.hashCode())) * 31; MediaItem.LiveConfiguration liveConfiguration = this.liveConfiguration; int hashCode3 = (hashCode2 + (liveConfiguration != null ? liveConfiguration.hashCode() : 0)) * 31; long j = this.presentationStartTimeMs; int i = (hashCode3 + ((int) (j ^ (j >>> 32)))) * 31; long j2 = this.windowStartTimeMs; int i2 = (i + ((int) (j2 ^ (j2 >>> 32)))) * 31; long j3 = this.elapsedRealtimeEpochOffsetMs; int i3 = (((((((i2 + ((int) (j3 ^ (j3 >>> 32)))) * 31) + (this.isSeekable ? 1 : 0)) * 31) + (this.isDynamic ? 1 : 0)) * 31) + (this.isPlaceholder ? 1 : 0)) * 31; long j4 = this.defaultPositionUs; int i4 = (i3 + ((int) (j4 ^ (j4 >>> 32)))) * 31; long j5 = this.durationUs; int i5 = (((((i4 + ((int) (j5 ^ (j5 >>> 32)))) * 31) + this.firstPeriodIndex) * 31) + this.lastPeriodIndex) * 31; long j6 = this.positionInFirstPeriodUs; return i5 + ((int) (j6 ^ (j6 >>> 32))); } }