Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
24 lines
849 B
TypeScript
24 lines
849 B
TypeScript
// Module ID: 12062
|
|
// Function ID: 12063
|
|
// Name: getPreviewVideoAssetUrl
|
|
// Dependencies: [1074, 2]
|
|
// Exports: default
|
|
|
|
// Module 12062 (getPreviewVideoAssetUrl)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const Endpoints = Constants.Endpoints;
|
|
const result = size.fileFinishedImporting("modules/activities/utils/getPreviewVideoAssetUrl.tsx");
|
|
|
|
export default function getPreviewVideoAssetUrl(arg0, banner_asset_id) {
|
|
if (null != CDN_HOST) {
|
|
const _HermesInternal2 = HermesInternal;
|
|
let combined = "https://" + CDN_HOST + "/app-assets/" + arg0 + "/store/" + banner_asset_id + ".mp4";
|
|
} else {
|
|
const _location = location;
|
|
const _HermesInternal = HermesInternal;
|
|
combined = "" + location.protocol + tmp + Endpoints.STORE_ASSET(arg0, banner_asset_id, "mp4");
|
|
}
|
|
return combined;
|
|
};
|