2026-10-12 06:59:38 +00:00
|
|
|
// Module ID: 8694
|
|
|
|
|
// Function ID: 8695
|
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-10-12 06:59:38 +00:00
|
|
|
// Module 8694 (getInviteURL)
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.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 + "//";
|
|
|
|
|
}
|
2026-10-03 08:58:59 +00:00
|
|
|
return "" + str2 + INVITE_HOST + combined;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|