/* Metro module 1239; source: utils/ComponentDispatchUtils.tsx; dependencies: [661, 1240, 3, 1241, 2] */ import Logger from '../modules/debug/Logger.tsx'; /* Metro dependency 3 */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */ import * as ComponentDispatchUtilsModule from '../external/discord_common/js/shared/utils/ComponentDispatchUtils.tsx'; /* Metro dependency 1241 */ 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}); let value = Logger; value = new value('ComponentDispatchUtils'); const ComponentDispatcher = (ComponentDispatchUtilsModule).ComponentDispatcher; const componentDispatcher = new ComponentDispatcher({'maxListeners': 100, 'enableDevtools': false, logger: {warn: warn_13907}, devtoolsReporter: devtoolsReporter}); (FileImportTrackerModule).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}); function _fun13909(a0) { // fn#13909, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1366:376, offset: 0x00df5119, size: 23 bytes, params: 2, frame: 11 return env0_0.startsWith(a0); } } } global.__d(_fun13906, 1239, [661, 1240, 3, 1241, 2]) /* metro module 1239, dependencies: [661, 1240, 3, 1241, 2] */;