decord/source/modules/instant_invite/getInviteURL.tsx

28 lines
653 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 7112
// Function ID: 7113
2026-07-20 16:05:17 +00:00
// Name: getInviteURL
2026-07-23 10:11:24 +00:00
// Dependencies: [2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 7112 (getInviteURL)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/instant_invite/getInviteURL.tsx");
2026-07-20 16:05:17 +00:00
export default function getInviteURL() {
let str = arg0;
if (arg0 === undefined) {
str = "";
}
2026-07-29 08:29:29 +00:00
let flag = arg1;
if (arg1 === undefined) {
2026-07-20 16:05:17 +00:00
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;
};