decord/alpha/source/modules/soundboard/getSoundboardSoundURL.tsx

25 lines
852 B
TypeScript

// Module ID: 14761
// Function ID: 14762
// Name: getSoundboardSoundURL
// Dependencies: [1074, 2]
// Exports: default
// Module 14761 (getSoundboardSoundURL)
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/soundboard/getSoundboardSoundURL.tsx");
export default function getSoundboardSoundURL(arg0) {
if ("development" !== window.GLOBAL_ENV.PROJECT_ENV) {
const _HermesInternal2 = HermesInternal;
let combined = "https://" + tmp + Endpoints.SOUNDBOARD_SOUND(arg0);
} else {
const _location = location;
const _window = window;
const _HermesInternal = HermesInternal;
combined = "" + location.protocol + window.GLOBAL_ENV.API_ENDPOINT + Endpoints.SOUNDBOARD_SOUND(arg0);
}
return combined;
};