decord/beta/source/modules/instant_invite/getInviteURL.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

29 lines
681 B
TypeScript

// Module ID: 8038
// Function ID: 8039
// Name: getInviteURL
// Dependencies: [2]
// Exports: default
// Module 8038 (getInviteURL)
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/instant_invite/getInviteURL.tsx");
export default function getInviteURL() {
let str = arg0;
if (arg0 === undefined) {
str = "";
}
let flag = arg1;
if (arg1 === 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;
};