// Metro module 5804 (f5805). import BaseCollectiblesItemRecord from "./BaseCollectiblesItemRecord"; import { CollectiblesItemType } from "../../../_bundle/Module1901"; import { $callWithNewTarget } from "../../../_hermes/prelude"; const r14 = { FromLoop: "fromLoop", FromStart: "fromStart" }; class ProfileEffectRecord extends BaseCollectiblesItemRecord { type = CollectiblesItemType.PROFILE_EFFECT; constructor(a0) { super(a0); this.title = a0.title; this.description = a0.description; this.accessibilityLabel = a0.accessibilityLabel; this.reducedMotionSrc = a0.reducedMotionSrc; this.thumbnailPreviewSrc = a0.thumbnailPreviewSrc; this.effects = a0.effects; this.animationType = a0.animationType; this.staticFrameSrc = a0.staticFrameSrc; } static fromServer(a0) { const r2 = { ...Reflect.get(Object.getPrototypeOf(ProfileEffectRecord), "fromServer", this).call(this, a0), ...a0 }; const prototypeOf = Object.getPrototypeOf(ProfileEffectRecord); const r20 = Object.create(ProfileEffectRecord.prototype); const r22 = $callWithNewTarget(prototypeOf, r20, ProfileEffectRecord, r2); const r23 = r22 instanceof Object ? r22 : r20; r23.type = CollectiblesItemType.PROFILE_EFFECT; r23.title = r2.title; r23.description = r2.description; r23.accessibilityLabel = r2.accessibilityLabel; r23.reducedMotionSrc = r2.reducedMotionSrc; r23.thumbnailPreviewSrc = r2.thumbnailPreviewSrc; r23.effects = r2.effects; r23.animationType = r2.animationType; r23.staticFrameSrc = r2.staticFrameSrc; return r23; } } export default ProfileEffectRecord; export { r14 as RestartMethod }; export function isProfileEffectRecord(a0) { return a0 instanceof ProfileEffectRecord; }