// Module ID: 14393 // Function ID: 14394 // Name: App // Dependencies: [19, 17, 14394, 502, 9086, 13686, 13695, 13715, 10665, 13995, 14395, 14396, 14397, 7644, 4224, 4552, 14398, 6943, 14399, 14400, 21, 14401, 1896, 14434, 4961, 14440, 14441, 14442, 14443, 7756, 14453, 7760, 14454, 14457, 10708, 14528, 9515, 9568, 8271, 14536, 14538, 14542, 14544, 14545, 14546, 14547, 4701, 14548, 1115, 5160, 12782, 504, 6593, 14550, 9, 13668, 13637, 14552, 11533, 14554, 15940, 2] // Exports: default // Module 14393 (App) import serializeDefault from "serialize" /* 9 */; import setLevelsDefault from "setLevels" /* 11533 */; import GestureWrapperDefault from "GestureWrapper" /* 14554 */; import getAuthComponentDefault from "getAuthComponent" /* 15940 */; import closure_3 from "noop" /* 19 */; import { NativeModules } from "get ActivityIndicator" /* 17 */; import closure_5 from "checkForNewerBuild" /* 14394 */; import closure_6 from "fetchFingerprint" /* 502 */; import nativeEventEmitter from "nativeEventEmitter" /* 9086 */; import updateState from "updateState" /* 13686 */; import showReviewRequestModal from "showReviewRequestModal" /* 13695 */; import set from "set" /* 13715 */; import createEmptyPromotionsByType from "createEmptyPromotionsByType" /* 10665 */; import bitrate from "bitrate" /* 13995 */; import handleTokenUpdated from "handleTokenUpdated" /* 14395 */; import handleUpdateVADPermission from "handleUpdateVADPermission" /* 14396 */; import getModalState from "getModalState" /* 14397 */; import appDatabaseManager from "appDatabaseManager" /* 7644 */; import reset from "reset" /* 4224 */; import maybeApplyNoTextColorForLightCustomTheme from "maybeApplyNoTextColorForLightCustomTheme" /* 4552 */; import initialize from "initialize" /* 14398 */; import handleSetLocationMetadata from "handleSetLocationMetadata" /* 6943 */; import "map"; import ApexExperiment from "ApexExperiment" /* 14400 */; import { jsx } from "jsxProd" /* 21 */; const require = arg1; if (global.__DEV__) { require("reactNativeCorePlugins"); } let result = set.fileFinishedImporting("components_native/App.tsx"); export default function App() { const renderApp = serializeDefault.renderApp; renderApp.record(); const effect = React.useEffect(() => { callback(14434).init(); let obj = callback(14434); const tmp = callback; callback(4961).initialize(); let obj2 = callback(4961); callback(14440).initialize(); let obj3 = callback(14440); callback(14441).initialize(); let obj4 = callback(14441); callback(14442).initialize(); let obj5 = callback(14442); callback(14443).initialize(); let obj6 = callback(14443); callback(7756).initialize(); let obj7 = callback(7756); callback(14453).initialize(); let obj8 = callback(14453); callback(7760).init(); let obj9 = callback(7760); callback(14454).init(); let obj10 = callback(14454); callback(14457).init(); let obj11 = callback(14457); callback(10708).initialize(); let obj12 = callback(10708); callback(14528).initialize(); let obj13 = callback(14528); callback(9515).initialize(); let obj14 = callback(9515); callback(9568).initialize(); let obj15 = callback(9568); callback(8271).initialize(); const obj16 = callback(8271); callback(14536).initialize(); const obj17 = callback(14536); callback(14538).initialize(); const obj18 = callback(14538); callback(14542).initialize(); closure_5.ensureInitialized(); const obj19 = callback(14542); callback(14544).initialize(); const obj20 = callback(14544); callback(14545).initialize(); const obj21 = callback(14545); callback(14546).initialize(); const obj22 = callback(14546); callback(14547).initialize(); const obj23 = callback(14547); callback(4701).initialize(); const obj24 = callback(4701); callback(14548).initialize(); const obj25 = callback(14548); const tmp29 = shouldUseAltGateway; if (obj26.isIOS()) { tmp(5160).initialize(); const tmpResult = tmp(5160); } obj26 = shouldUseAltGateway(1115); const result = tmp29(12782).initializeRouteManagerIfNeeded(); return () => { callback2(14442).terminate(); const obj = callback2(14442); callback2(4961).terminate(); const obj2 = callback2(4961); callback2(10708).terminate(); const obj3 = callback2(10708); callback2(14528).terminate(); const obj4 = callback2(14528); callback(12782).cleanupRouteManager(); const obj5 = callback(12782); callback2(14548).terminate(); const obj6 = callback2(14548); callback2(14536).terminate(); const obj7 = callback2(14536); callback2(8271).terminate(); const obj8 = callback2(8271); callback2(14457).terminate(); const obj9 = callback2(14457); callback2(14440).terminate(); const obj10 = callback2(14440); callback2(14542).terminate(); const obj11 = callback2(14542); callback2(14544).terminate(); const obj12 = callback2(14544); callback2(14545).terminate(); const obj13 = callback2(14545); callback2(14547).terminate(); const obj14 = callback2(14547); callback2(4701).terminate(); const obj15 = callback2(4701); callback2(14453).terminate(); }; }, []); let shouldUseAltGateway; let obj = shouldUseAltGateway(504); const items = [closure_6]; const stateFromStores = obj.useStateFromStores(items, () => closure_6.isAuthenticated()); shouldUseAltGateway = stateFromStores; const items1 = [stateFromStores]; const effect1 = React.useEffect(() => { if (shouldUseAltGateway) { const token = closure_1_6.getToken(); if (null == token) { const _Error = Error; error = new Error("Authenticated without a token"); throw error; } else { closure_1_1(closure_1_2[52]).startSession(token); const obj = closure_1_1(closure_1_2[52]); closure_1_1(closure_1_2[53]).initialize(); const obj2 = closure_1_1(closure_1_2[53]); if (obj3.isAndroid()) { const NativePermissionManager = closure_1_4.NativePermissionManager; const notificationAuthorization = NativePermissionManager.requestNotificationAuthorization(); } return () => { callback(table[53]).terminate(); }; } } }, items1); const effect2 = React.useEffect(() => { callback(9).wasAuthenticated = closure_6.isAuthenticated(); }, []); shouldUseAltGateway = undefined; const isChannelMetadataObfuscationEnabled = shouldUseAltGateway(13668).useIsChannelMetadataObfuscationEnabled("App"); shouldUseAltGateway = isChannelMetadataObfuscationEnabled; const items2 = [isChannelMetadataObfuscationEnabled]; const effect3 = React.useEffect(() => { const result = closure_1_1(closure_1_2[56]).setUseChannelObfuscation(shouldUseAltGateway); }, items2); shouldUseAltGateway = undefined; let obj2 = shouldUseAltGateway(13668); shouldUseAltGateway = shouldUseAltGateway(14552).useShouldUseAltGateway("App"); const items3 = [shouldUseAltGateway]; const effect4 = React.useEffect(() => { closure_1_1(closure_1_2[56]).setUseAltGateway(shouldUseAltGateway); }, items3); const effect5 = React.useEffect(() => { const renderAppEffect = callback(9).renderAppEffect; return renderAppEffect.record(); }, []); obj = { profile: null, children: null }; let obj3 = shouldUseAltGateway(14552); obj[0] = shouldUseAltGateway(11533).Profiles.App; obj = { appEntryKey: "main", children: null }; const tmp11 = setLevelsDefault; obj[1] = jsx(getAuthComponentDefault, {}); obj[1] = jsx(GestureWrapperDefault, { appEntryKey: "main", children: null }); return {null}; };