decord/source/6991_getInviteURL.js
2026-07-20 16:05:17 +00:00

28 lines
689 B
JavaScript

// Module ID: 6991
// Function ID: 55911
// Name: getInviteURL
// Dependencies: []
// Exports: default
// Module 6991 (getInviteURL)
const _module = require(dependencyMap[0]);
const result = _module.fileFinishedImporting("modules/instant_invite/getInviteURL.tsx");
export default function getInviteURL() {
let str = arg0;
let flag = arg1;
if (arg0 === undefined) {
str = "";
}
if (flag === undefined) {
flag = true;
}
let str2 = "";
const combined = "/" + str;
if (flag) {
const _location = location;
const _HermesInternal = HermesInternal;
str2 = "" + location.protocol + "//";
}
return "" + str2 + window.GLOBAL_ENV.INVITE_HOST + combined;
};