/* Metro module 8972; source: modules/phone/PhoneStore.tsx; dependencies: [6, 7, 15, 17, 18, 3837, 566, 694, 2] */ function _fun69949(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69949, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:6, offset: 0x01ce9b49, size: 330 bytes, params: 8, frame: 20 const closure = CONNECTION_OPEN_69953; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_1 = importDefault(6) /* metro dependency 6 */; const env0_2 = importDefault(7) /* metro dependency 7 */; const env0_3 = importDefault(15) /* metro dependency 15 */; const env0_4 = importDefault(17) /* metro dependency 17 */; const env0_5 = importDefault(18) /* metro dependency 18 */; let value = require(3837) /* metro dependency 3837: CountryCodeUtils */; const getDefaultCountryCode = value.getDefaultCountryCode; const env0_7 = value.getCountryCodeByAlpha2; const env0_8 = getDefaultCountryCode(); const DeviceSettingsStore = (importDefault(566) /* metro dependency 566: flux */).DeviceSettingsStore; value = _fun69954(DeviceSettingsStore); value.displayName = 'PhoneStore'; value.persistKey = 'PhoneStore'; value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {PHONE_SET_COUNTRY_CODE: function(a0) { env0_0 = a0.countryCode; }, CONNECTION_OPEN: closure, SET_LOCATION_METADATA: closure}); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/phone/PhoneStore.tsx'); exports.default = value; } function _isNativeReflectConstruct_69950() { // fn#69950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:213, offset: 0x01ce9c93, 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_69950_isNativeReflectConstruct = function() { return !!result; })(); } function CONNECTION_OPEN_69953({countryCode}) { // fn#69953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:416, offset: 0x01ce9cf5, size: 49 bytes, params: 2, frame: 13 var value3; if (countryCode != null) { if (getCountryCodeByAlpha2(countryCode) == null) { value3 = getDefaultCountryCode(); } } } function _fun69954(a0) { // fn#69954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:514, offset: 0x01ce9d26, size: 122 bytes, params: 2, frame: 16 const closure = PhoneStore; env0_5(closure, a0); return env0_2(closure, [{key: 'initialize', value: value_69956}, {key: 'getUserAgnosticState', value: value_69957}, {key: 'getCountryCode', value: value_69958}]); } function PhoneStore() { // fn#69955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:526, offset: 0x01ce9da0, size: 113 bytes, params: 1, frame: 20 const value = environment.__proto__; env1_1(this, PhoneStore); const value3 = env1_4(PhoneStore); return env1_3(this, _isNativeReflectConstruct_69950() ? global.Reflect.construct(value3, arguments, env1_4(this).constructor) : value3.apply(this, arguments)); } function value_69956(a0) { // fn#69956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:794, offset: 0x01ce9e11, size: 26 bytes, params: 2, frame: 2 var selectedCountryCode; var value; if (a0 != null) { selectedCountryCode = a0.selectedCountryCode; value = environment.__proto__; } } function value_69957() { // fn#69957, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:877, offset: 0x01ce9e2b, size: 16 bytes, params: 1, frame: 2 return {selectedCountryCode: env1_0}; } function value_69958() { // fn#69958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9157:948, offset: 0x01ce9e3b, size: 25 bytes, params: 1, frame: 3 return env1_0 ?? env1_8; }