decord/source/modules/coded_links/MessageCodedLinkManager.tsx

95 lines
4.5 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16166
// Function ID: 125268
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-27 11:26:19 +00:00
// Dependencies: [7, 6, 15, 17, 18, 5, 5687, 4116, 4115, 4120, 16167, 6636, 7630, 11183, 16174, 5078, 2]
2026-07-20 16:05:17 +00:00
2026-07-27 11:26:19 +00:00
// Module 16166 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import AutomaticLifecycleManager from "AutomaticLifecycleManager";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import asyncGeneratorStep from "asyncGeneratorStep";
import closure_9 from "_createForOfIteratorHelperLoose";
import closure_10 from "_isNativeReflectConstruct";
import tmp2 from "AutomaticLifecycleManager";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
function resolveMessageCodedLinks(content) {
2026-07-25 08:10:48 +00:00
const arr = importDefault(4115)(content.content);
2026-07-20 16:05:17 +00:00
let tmp = null != arr;
if (tmp) {
tmp = 0 !== arr.length;
}
if (tmp) {
const item = arr.forEach((arg0) => {
let code;
let type;
({ type, code } = arg0);
2026-07-23 10:11:24 +00:00
if (outer1_0(outer1_2[9]).CodedLinkType.INVITE === type) {
2026-07-20 16:05:17 +00:00
// CreateGeneratorClosureLongIndex (0x67)
2026-07-23 10:11:24 +00:00
const result = outer1_0(outer1_2[10]).queueMessageLinkFetch(outer1_8(tmp));
const obj3 = outer1_0(outer1_2[10]);
} else if (outer1_0(outer1_2[9]).CodedLinkType.TEMPLATE === type) {
2026-07-20 16:05:17 +00:00
// CreateGeneratorClosureLongIndex (0x67)
2026-07-23 10:11:24 +00:00
const result1 = outer1_0(outer1_2[10]).queueMessageLinkFetch(outer1_8(tmp8));
const obj2 = outer1_0(outer1_2[10]);
} else if (outer1_0(outer1_2[9]).CodedLinkType.BUILD_OVERRIDE !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.MANUAL_BUILD_OVERRIDE !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.EVENT !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.CHANNEL_LINK !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.ACTIVITY_BOOKMARK !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.EMBEDDED_ACTIVITY_INVITE !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.GUILD_PRODUCT !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.SERVER_SHOP !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.SOCIAL_LAYER_STOREFRONT !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.SOCIAL_LAYER_STOREFRONT_APP !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.QUESTS_EMBED !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.APP_DIRECTORY_STOREFRONT !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.APP_OAUTH2_LINK !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.COLLECTIBLES_SHOP !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.EXPERIMENT !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.GAME_PROFILE !== type) {
if (outer1_0(outer1_2[9]).CodedLinkType.APP_DIRECTORY_PROFILE === type) {
const embedApplication = outer1_0(outer1_2[13]).getEmbedApplication(code);
const obj = outer1_0(outer1_2[13]);
2026-07-20 16:05:17 +00:00
} else {
const _Error = Error;
const _HermesInternal = HermesInternal;
throw Error("Unknown coded link type: " + type);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
});
}
}
tmp2 = new tmp2();
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/coded_links/MessageCodedLinkManager.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;