/* Metro module 14316; source: modules/parent_tools/ParentalConsentStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */ import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */ import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */ import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */ import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */ import Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun108366(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108366, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:6, offset: 0x0231e6be, size: 309 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const PersistedStore = (Flux).PersistedStore; let value = _fun108370(PersistedStore); value.displayName = 'ParentalConsentStore'; value.persistKey = 'ParentalConsentStore'; value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {GUARDIAN_CONNECT_REQUIRED: GUARDIAN_CONNECT_REQUIRED, GUARDIAN_CONNECT_CLEARED: GUARDIAN_CONNECT_CLEARED, NUF_COMPLETE: NUF_COMPLETE_108377}); (FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/ParentalConsentStore.tsx'); exports.default = value; function _isNativeReflectConstruct_108367() { // fn#108367, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:148, offset: 0x0231e7f3, 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_108367_isNativeReflectConstruct = function() { return !!result; })(); } function _fun108370(a0) { // fn#108370, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:356, offset: 0x0231e855, size: 124 bytes, params: 2, frame: 16 const ParentalConsentStore2 = ParentalConsentStore; Inherits(ParentalConsentStore2, a0); return CreateClass(ParentalConsentStore2, [{key: 'initialize', value: function(a0) { var r1; var value = undefined; r1 = a0 == null ? value : a0.shouldShowGuardianConnect; env1_5 = r1 != null && r1; return value; }}, {key: 'getShouldShowGuardianConnect', value: value_108373}, {key: 'getState', value: value_108374}]); function ParentalConsentStore() { // fn#108371, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:368, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_0(this, ParentalConsentStore); const value3 = env1_3(ParentalConsentStore); return env1_2(this, _isNativeReflectConstruct_108367() ? global.Reflect.construct(value3, arguments, env1_3(this).constructor) : value3.apply(this, arguments)); } function value_108373() { // fn#108373, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1 return env1_5; } function value_108374() { // fn#108374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:850, offset: 0x0231e8fa, size: 16 bytes, params: 1, frame: 2 return {shouldShowGuardianConnect: env1_5}; } } function GUARDIAN_CONNECT_REQUIRED({shouldShowGuardianConnect}) { // fn#108375, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:1046, offset: 0x0231e90a, size: 40 bytes, params: 2, frame: 10 result = shouldShowGuardianConnect === true; env0_6.persist(); } function GUARDIAN_CONNECT_CLEARED() { // fn#108376, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:1163, offset: 0x0231e932, size: 27 bytes, params: 1, frame: 9 env0_6.persist(); } function NUF_COMPLETE_108377() { // fn#108377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14513:1234, offset: 0x0231e932, size: 27 bytes, params: 1, frame: 9 env0_6.persist(); } } global.__d(_fun108366, 14316, [6, 7, 15, 17, 18, 566, 694, 2]) /* metro module 14316, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;