39 lines
2.6 KiB
JavaScript
39 lines
2.6 KiB
JavaScript
/* Metro module 1115; source: unknown; dependencies: [826] */
|
|
import * as Module00826Module from './module-00826.js'; /* Metro dependency 826 */
|
|
|
|
function _fun12480(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12480, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1242:6, offset: 0x00dccbc8, size: 100 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.statsigIntegration = (require(826) /* metro dependency 826 */).defineIntegration(function({featureFlagClient}) {
|
|
return {name: 'Statsig', setup: _fun12482, processEvent: _fun12484};
|
|
});
|
|
function _fun12481({featureFlagClient}) { // fn#12481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1242:124, offset: 0x00dccc2c, size: 51 bytes, params: 2, frame: 3
|
|
return {name: 'Statsig', setup: function(a0) {
|
|
featureFlagClient.on('gate_evaluation', _fun12483);
|
|
}, processEvent: processEvent_12484};
|
|
function setup_12482(a0) { // fn#12482, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1242:190, offset: 0x00dccc5f, size: 36 bytes, params: 2, frame: 13
|
|
featureFlagClient.on('gate_evaluation', _fun12483);
|
|
function _fun12483(a0) { // fn#12483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1242:232, offset: 0x00dccc83, size: 106 bytes, params: 2, frame: 18
|
|
let value = environment.__proto__.__proto__;
|
|
value = require(826) /* metro dependency 826 */;
|
|
value._INTERNAL_insertFlagToScope(a0.gate.name, a0.gate.value);
|
|
value = require(826) /* metro dependency 826 */;
|
|
value._INTERNAL_addFeatureFlagToActiveSpan(a0.gate.name, a0.gate.value);
|
|
}
|
|
|
|
}
|
|
|
|
function processEvent_12484(a0, a1, a2) { // fn#12484, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1242:394, offset: 0x00dcc701, size: 40 bytes, params: 4, frame: 11
|
|
const value = environment.__proto__;
|
|
return (Module00826Module)._INTERNAL_copyFlagsFromScopeToEvent(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun12480, 1115, [826]) /* metro module 1115, dependencies: [826] */;
|