/* Metro module 16198; source: modules/safety_flows/openSafetyFlow.native.tsx; dependencies: [5, 1373, 661, 16199, 16200, 5080, 16201, 1962, 16205, 2] */ function _fun125191(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125191, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16406:6, offset: 0x025d0bd8, size: 167 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(5) /* metro dependency 5 */; const userRequiredActionStore = importDefault(1373) /* metro dependency 1373: UserRequiredActionStore */; const env0_5 = (require(661) /* metro dependency 661: Constants */).UserRequiredActions; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_flows/openSafetyFlow.native.tsx'); exports.openSafetyFlow = function() { return _openSafetyFlow.apply(this, arguments); }; } function _openSafetyFlow() { // fn#125192, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16406:146, offset: 0x025d0c7f, size: 50 bytes, params: 1, frame: 14 return env0_3(_fun125194).apply(this, arguments); } async function _fun125194() { // fn#125194, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16406:199, offset: 0x025d0cc5, size: 551 bytes, params: 1, frame: 25 var r1; var r7; var r6; var object2; var binding; var getAction; var REQUIRE_SAFETY_FLOWS; var binding2; var property; var value5; var getCurrentTask; var value6; var value7; var value8; var value9; var task_type; var binding3; var value10; var TaskType; var AGE_VERIFICATION; var value11; var binding4; var value12; var TASK_TYPE_TO_SCREENS; var value13; var binding5; var value14; var SafetyFlowScreens; var UPDATE_APP; var binding6; var value15; var OVERVIEW; var binding7; var value16; var binding8; var value17; var pushLazy; var value18; var paths; var value19; var value20; var SAFETY_FLOWS_MODAL_KEY; var error; var binding9; var value21; var ERROR; let value = a0; if (true) { reducibleJoin3: while (true) { if (value !== undefined) { r1 = value; break reducibleJoin3; } r1 = {}; break reducibleJoin3; } var requiredAction = r1.requiredAction; await undefined; if (false) { return undefined; } reducibleJoin7: while (true) { if (requiredAction != null) { r7 = requiredAction; break reducibleJoin7; } value = environment.__proto__.__proto__; binding = env2_4; getAction = binding.getAction; value = Reflect.apply(getAction, binding, []); r7 = value; break reducibleJoin7; } reduciblePort83: while (true) { exceptionLanding82: while (true) { value = environment.__proto__.__proto__; REQUIRE_SAFETY_FLOWS = env2_5.REQUIRE_SAFETY_FLOWS; if (r7 !== REQUIRE_SAFETY_FLOWS) { break reduciblePort83; } try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding2 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding2[4]; } catch (error) { break exceptionLanding82; } try { value5 = binding(property); } catch (error) { break exceptionLanding82; } try { getCurrentTask = value5.getCurrentTask; } catch (error) { break exceptionLanding82; } try { value6 = Reflect.apply(getCurrentTask, value5, []); } catch (error) { break exceptionLanding82; } await value6; try { value7 = undefined; value8 = false; } catch (error) { break exceptionLanding82; } if (value8) { return value7; } try { value9 = value7 == null; } catch (error) { break exceptionLanding82; } if (value9) { return undefined; } try { task_type = value7.task_type; } catch (error) { break exceptionLanding82; } try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding3 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding3[3]; } catch (error) { break exceptionLanding82; } try { value10 = binding(property); } catch (error) { break exceptionLanding82; } try { TaskType = value10.TaskType; } catch (error) { break exceptionLanding82; } try { AGE_VERIFICATION = TaskType.AGE_VERIFICATION; } catch (error) { break exceptionLanding82; } try { value11 = task_type === AGE_VERIFICATION; } catch (error) { break exceptionLanding82; } if (value11) { try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding7 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding7[3]; } catch (error) { break exceptionLanding82; } try { value16 = binding(property); } catch (error) { break exceptionLanding82; } try { SafetyFlowScreens = value16.SafetyFlowScreens; } catch (error) { break exceptionLanding82; } try { AGE_VERIFICATION = SafetyFlowScreens.AGE_VERIFICATION; } catch (error) { break exceptionLanding82; } r6 = AGE_VERIFICATION; } else { try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding4 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding4[3]; } catch (error) { break exceptionLanding82; } try { value12 = binding(property); } catch (error) { break exceptionLanding82; } try { TASK_TYPE_TO_SCREENS = value12.TASK_TYPE_TO_SCREENS; } catch (error) { break exceptionLanding82; } try { task_type = value7.task_type; } catch (error) { break exceptionLanding82; } try { property = TASK_TYPE_TO_SCREENS[task_type]; } catch (error) { break exceptionLanding82; } try { value13 = property != null; } catch (error) { break exceptionLanding82; } if (value13) { try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding6 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding6[3]; } catch (error) { break exceptionLanding82; } try { value15 = binding(property); } catch (error) { break exceptionLanding82; } try { SafetyFlowScreens = value15.SafetyFlowScreens; } catch (error) { break exceptionLanding82; } try { OVERVIEW = SafetyFlowScreens.OVERVIEW; } catch (error) { break exceptionLanding82; } r6 = OVERVIEW; } else { try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { binding5 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding5[3]; } catch (error) { break exceptionLanding82; } try { value14 = binding(property); } catch (error) { break exceptionLanding82; } try { SafetyFlowScreens = value14.SafetyFlowScreens; } catch (error) { break exceptionLanding82; } try { UPDATE_APP = SafetyFlowScreens.UPDATE_APP; } catch (error) { break exceptionLanding82; } r6 = UPDATE_APP; } } try { binding = env2_1; } catch (error) { break exceptionLanding82; } try { binding8 = env2_2; } catch (error) { break exceptionLanding82; } try { property = binding8[5]; } catch (error) { break exceptionLanding82; } try { value17 = binding(property); } catch (error) { break exceptionLanding82; } try { pushLazy = value17.pushLazy; } catch (error) { break exceptionLanding82; } try { binding = env2_0; } catch (error) { break exceptionLanding82; } try { property = binding8[7]; } catch (error) { break exceptionLanding82; } try { value18 = binding(property); } catch (error) { break exceptionLanding82; } try { property = binding8[6]; } catch (error) { break exceptionLanding82; } try { paths = binding8.paths; } catch (error) { break exceptionLanding82; } try { value19 = value18(property, paths); } catch (error) { break exceptionLanding82; } try { object2 = {}; } catch (error) { break exceptionLanding82; } try { object2.task = value7; } catch (error) { break exceptionLanding82; } try { object2.initialScreen = r6; } catch (error) { break exceptionLanding82; } try { property = binding8[8]; } catch (error) { break exceptionLanding82; } try { value20 = binding(property); } catch (error) { break exceptionLanding82; } try { SAFETY_FLOWS_MODAL_KEY = value20.SAFETY_FLOWS_MODAL_KEY; } catch (error) { break exceptionLanding82; } try { Reflect.apply(pushLazy, value17, [value19, object2, SAFETY_FLOWS_MODAL_KEY]); } catch (error) { break exceptionLanding82; } break reduciblePort83; } binding = env2_1; binding9 = env2_2; value21 = binding(binding9[5]); pushLazy = value21.pushLazy; binding = env2_0; value = binding(binding9[7]); property = binding9[6]; paths = binding9.paths; value = value(property, paths); object2 = {task: null}; SafetyFlowScreens = binding(binding9[3]).SafetyFlowScreens; ERROR = SafetyFlowScreens.ERROR; object2.initialScreen = ERROR; SAFETY_FLOWS_MODAL_KEY = binding(binding9[8]).SAFETY_FLOWS_MODAL_KEY; Reflect.apply(pushLazy, value21, [value, object2, SAFETY_FLOWS_MODAL_KEY]); break reduciblePort83; } } }