24 lines
834 B
TypeScript
24 lines
834 B
TypeScript
// Module ID: 11547
|
|
// Function ID: 11548
|
|
// Name: getPreviewVideoAssetUrl
|
|
// Dependencies: [676, 2]
|
|
// Exports: default
|
|
|
|
// Module 11547 (getPreviewVideoAssetUrl)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 676 */;
|
|
|
|
const Endpoints = ME.Endpoints;
|
|
const result = set.fileFinishedImporting("modules/activities/utils/getPreviewVideoAssetUrl.tsx");
|
|
|
|
export default function getPreviewVideoAssetUrl(closure_7, banner_asset_id) {
|
|
if (null != CDN_HOST) {
|
|
const _HermesInternal2 = HermesInternal;
|
|
let combined = "https://" + CDN_HOST + "/app-assets/" + closure_7 + "/store/" + banner_asset_id + ".mp4";
|
|
} else {
|
|
const _location = location;
|
|
const _HermesInternal = HermesInternal;
|
|
combined = "" + location.protocol + tmp + Endpoints.STORE_ASSET(closure_7, banner_asset_id, "mp4");
|
|
}
|
|
return combined;
|
|
};
|