65 lines
3.9 KiB
JavaScript
65 lines
3.9 KiB
JavaScript
/* Metro module 1179; source: unknown; dependencies: [1180, 1009] */
|
|
import * as Module01009Module from './module-01009.js'; /* Metro dependency 1009 */
|
|
import * as PrimitiveToStringModule from './module-01180-PrimitiveToString.js'; /* Metro dependency 1180 */
|
|
|
|
function _fun13108(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13108, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:6, offset: 0x00de19b3, size: 78 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.INTEGRATION_NAME = 'PrimitiveTagIntegration';
|
|
exports.primitiveTagIntegration = function() {
|
|
return {name: 'PrimitiveTagIntegration', setup: _fun13110, afterAllSetup: _fun13113};
|
|
};
|
|
function primitiveTagIntegration() { // fn#13109, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:171, offset: 0x00de1a01, size: 36 bytes, params: 1, frame: 3
|
|
return {name: 'PrimitiveTagIntegration', setup: function(a0) {
|
|
a0.on('beforeSendEvent', _fun13111);
|
|
}, afterAllSetup: function() {
|
|
if (require(dependencyMap[1]).NATIVE.enableNative) {
|
|
require(dependencyMap[1]).NATIVE._setPrimitiveProcessor(_fun13114);
|
|
}
|
|
}};
|
|
function primitiveTagIntegrationSetup(a0) { // fn#13110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:226, owner: primitiveTagIntegration.setup, offset: 0x00de1a25, size: 32 bytes, params: 2, frame: 13
|
|
a0.on('beforeSendEvent', function(a0) {
|
|
var env0_0 = a0;
|
|
if (a0.tags) {
|
|
global.Object.keys(a0.tags).forEach(_fun13112);
|
|
}
|
|
});
|
|
function _fun13111(a0) { // fn#13111, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:268, offset: 0x00de1a45, size: 61 bytes, params: 2, frame: 12
|
|
var Object;
|
|
const env0_0 = a0;
|
|
if (a0.tags) {
|
|
Object = global.Object;
|
|
Object.keys(a0.tags).forEach(_fun13112);
|
|
}
|
|
function _fun13112(a0) { // fn#13112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:317, offset: 0x00de1a82, size: 67 bytes, params: 2, frame: 14
|
|
const binding = env0_0;
|
|
const tags = binding.tags;
|
|
let value = environment.__proto__.__proto__.__proto__;
|
|
value = require(1180) /* metro dependency 1180 */;
|
|
const PrimitiveToString = value.PrimitiveToString;
|
|
tags[a0] = Reflect.apply(PrimitiveToString, value, [binding.tags[a0]]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function primitiveTagIntegrationAfterAllSetup() { // fn#13113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:397, owner: primitiveTagIntegration.afterAllSetup, offset: 0x00de1ac5, size: 83 bytes, params: 1, frame: 13
|
|
const NATIVE = (Module01009Module).NATIVE;
|
|
if (NATIVE.enableNative) {
|
|
NATIVE._setPrimitiveProcessor(_fun13114);
|
|
}
|
|
function _fun13114(a0) { // fn#13114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1306:490, offset: 0x00de1b18, size: 40 bytes, params: 2, frame: 11
|
|
const value = environment.__proto__.__proto__;
|
|
return (PrimitiveToStringModule).PrimitiveToString(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun13108, 1179, [1180, 1009]) /* metro module 1179, dependencies: [1180, 1009] */;
|