/* Metro module 13089; source: modules/collectibles/CollectiblesMarketingManager.native.tsx; dependencies: [6, 7, 15, 17, 18, 4649, 5120, 5185, 694, 4561, 2] */ function _fun100018(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#100018, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:6, offset: 0x021dbe30, size: 246 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(6) /* metro dependency 6 */; const env0_4 = importDefault(7) /* metro dependency 7 */; const env0_5 = importDefault(15) /* metro dependency 15 */; const env0_6 = importDefault(17) /* metro dependency 17 */; const env0_7 = importDefault(18) /* metro dependency 18 */; const devSettingsStore = importDefault(4649) /* metro dependency 4649: DevSettingsStore */; let value = importDefault(4561) /* metro dependency 4561: LifecycleManager */; value = _fun100022(value); value = new value(); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/collectibles/CollectiblesMarketingManager.native.tsx'); exports.default = value; } function _isNativeReflectConstruct_100019() { // fn#100019, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:158, offset: 0x021dbf26, size: 98 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_100019_isNativeReflectConstruct = function() { return !!result; })(); } function _fun100022(a0) { // fn#100022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:361, offset: 0x021dbf88, size: 97 bytes, params: 2, frame: 16 const closure = CollectiblesMarketingManager; env0_7(closure, a0); return env0_4(closure, [{key: '_initialize', value: value_100025}, {key: '_terminate', value: value_100026}]); } function CollectiblesMarketingManager(a0) { // fn#100023, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:373, offset: 0x021dbfe9, size: 141 bytes, params: 2, frame: 19 var environment; var r0; var Reflect; let value = copyRestArgs(0, undefined); let value2 = environment.__proto__; let binding = env1_3; binding(this, CollectiblesMarketingManager); const items2 = []; arraySpread(items2, value, 0, items2); value = env1_6(CollectiblesMarketingManager); binding = env1_5; if (_isNativeReflectConstruct_100019()) { Reflect = global.Reflect; value = Reflect.construct(value, items2, env1_6(this).constructor); r0 = value; } else { value = value.apply(this, items2); r0 = value; } value = binding(this, r0); value.handlePostConnectionOpen = function() { var value2 = DevSettingsStore.get('shop_include_unpublished'); var moduleValue = require(dependencyMap[6]); var fetchCollectiblesMarketings = moduleValue.fetchCollectiblesMarketings; var CollectiblesMarketingReleaseType = require(dependencyMap[7]).CollectiblesMarketingReleaseType; Reflect.apply(fetchCollectiblesMarketings, moduleValue, [{release: value2 ? CollectiblesMarketingReleaseType.BETA : CollectiblesMarketingReleaseType.PROD}]); }; return value; } function value_100025() { // fn#100025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:957, offset: 0x021dc0e2, size: 52 bytes, params: 1, frame: 14 let value = environment.__proto__; value = importDefault(694) /* metro dependency 694: Dispatcher */; value.subscribe('POST_CONNECTION_OPEN', this.handlePostConnectionOpen); } function value_100026() { // fn#100026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13279:1066, offset: 0x021dc116, size: 52 bytes, params: 1, frame: 14 let value = environment.__proto__; value = importDefault(694) /* metro dependency 694: Dispatcher */; value.unsubscribe('POST_CONNECTION_OPEN', this.handlePostConnectionOpen); }