"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEntityThumbnailUrl = void 0;
// stop gap so we don't need to keep propagating
// use of the deprecated thumbnailUrl property
const getEntityThumbnailUrl = (entity) => {
    var _a;
    return ((_a = entity.links) === null || _a === void 0 ? void 0 : _a.thumbnail) || entity.thumbnailUrl;
};
exports.getEntityThumbnailUrl = getEntityThumbnailUrl;
//# sourceMappingURL=getEntityThumbnailUrl.js.map