import * as base from "./base";
/** @public */
export class Uber extends base.Model {
    constructor(style) {
        super();
        this.style = style;
    }
    isValidUber(isTV, isVision) {
        function isDefinedNonNullNonEmpty(object) {
            return object !== undefined && object !== null && Object.keys(object).length !== 0;
        }
        return (isDefinedNonNullNonEmpty(this.artwork) ||
            isDefinedNonNullNonEmpty(this.compactArtwork) ||
            isDefinedNonNullNonEmpty(this.video) ||
            isDefinedNonNullNonEmpty(this.compactVideo) ||
            ((isTV || isVision) && isDefinedNonNullNonEmpty(this.iconArtwork)));
    }
}
//# sourceMappingURL=uber.js.map