33 lines
2.1 KiB
TypeScript
33 lines
2.1 KiB
TypeScript
/* Metro module 1239; source: utils/ComponentDispatchUtils.tsx; dependencies: [661, 1240, 3, 1241, 2] */
|
|
function _fun13906(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13906, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1366:6, offset: 0x00df7a3e, size: 260 bytes, params: 8, frame: 20
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = (require(661) /* metro dependency 661: Constants */).ComponentActionsKeyed;
|
|
let value = importDefault(3) /* metro dependency 3: Logger */;
|
|
value = new value('ComponentDispatchUtils');
|
|
const ComponentDispatcher = (require(1241) /* metro dependency 1241: ComponentDispatchUtils */).ComponentDispatcher;
|
|
const componentDispatcher = new ComponentDispatcher({'maxListeners': 100, 'enableDevtools': false,
|
|
logger: {warn: warn_13907}, devtoolsReporter: devtoolsReporter});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/ComponentDispatchUtils.tsx');
|
|
exports.ComponentDispatcher = ComponentDispatcher;
|
|
exports.ComponentDispatch = componentDispatcher;
|
|
}
|
|
|
|
function warn_13907(a0, a1) { // fn#13907, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1366:257, offset: 0x00df7b42, size: 58 bytes, params: 3, frame: 16
|
|
const value = copyRestArgs(1, undefined);
|
|
const binding = env0_3;
|
|
const warn = binding.warn;
|
|
const items2 = [a0];
|
|
arraySpread(items2, value, 1, a0);
|
|
return apply(warn, items2, binding, a0);
|
|
}
|
|
|
|
function devtoolsReporter(a0, a1, a2) { // fn#13908, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1366:300, offset: 0x00df7b7c, size: 140 bytes, params: 4, frame: 15
|
|
const value = a0;
|
|
const Object = global.Object;
|
|
(importAll(1240) /* metro dependency 1240: DevtoolsExtension */).reportEvent({type: 'ComponentDispatch',
|
|
description: Object.values(ComponentActionsKeyed).find(_fun13909) ?? value, data: {actionData: a1,
|
|
fullActionName: value}, durationMs: a2});
|
|
}
|
|
|