23 lines
1.2 KiB
TypeScript
23 lines
1.2 KiB
TypeScript
/* Metro module 7147; source: modules/instant_invite/getInviteURL.tsx; dependencies: [2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun57173(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57173, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7325:6, offset: 0x013de67b, size: 85 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/instant_invite/getInviteURL.tsx');
|
|
exports.default = function() {
|
|
var r3;
|
|
var r5;
|
|
var value = a0;
|
|
var value2 = a1;
|
|
r3 = value !== undefined ? value : '';
|
|
r5 = !(value2 !== undefined) || value2;
|
|
var INVITE_HOST = global.window.GLOBAL_ENV.INVITE_HOST;
|
|
value = '/' + r3;
|
|
var value3 = '';
|
|
return value3 + (r5 ? value3 + global.location.protocol + '//' : value3) + INVITE_HOST + value;
|
|
};
|
|
}
|
|
|
|
global.__d(_fun57173, 7147, [2]) /* metro module 7147, dependencies: [2] */;
|