Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/* Metro module 12079; source: actions/DefaultRouteActionCreators.tsx; dependencies: [3785, 661, 3974, 3987, 694, 2] */
|
||||
function _fun92815(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#92815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12265:6, offset: 0x0209a172, size: 164 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const lurkingStore = importDefault(3785) /* metro dependency 3785: LurkingStore */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).Routes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/DefaultRouteActionCreators.tsx');
|
||||
exports.saveLastRoute = saveLastRoute;
|
||||
exports.saveLastNonVoiceRoute = saveLastNonVoiceRoute;
|
||||
}
|
||||
|
||||
function isLurkingGuildRoute(a0) { // fn#92816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12265:123, offset: 0x0209a216, size: 150 bytes, params: 2, frame: 19
|
||||
const value2 = undefined;
|
||||
const matchPathCompatModule = require(3974) /* metro dependency 3974: matchPathCompat */;
|
||||
const matchPath = matchPathCompatModule.matchPath;
|
||||
const CHANNEL = Routes.CHANNEL;
|
||||
const RouteParam = (require(3987) /* metro dependency 3987: RouteUtils */).RouteParam;
|
||||
let guildId = RouteParam.guildId;
|
||||
const value3 = Reflect.apply(matchPath, matchPathCompatModule, [a0, {path: Reflect.apply(CHANNEL, Routes,
|
||||
[Reflect.apply(guildId, RouteParam, [])])}]);
|
||||
guildId = value3 == null || value3.params == null ? value2 : value3.params.guildId;
|
||||
return !(guildId == null || !LurkingStore.isLurking(guildId));
|
||||
}
|
||||
|
||||
function saveLastRoute(a0) { // fn#92817, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12265:400, offset: 0x0209a2ac, size: 69 bytes, params: 2, frame: 14
|
||||
if (!isLurkingGuildRoute(a0)) {
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'SAVE_LAST_ROUTE', path: a0});
|
||||
}
|
||||
}
|
||||
|
||||
function saveLastNonVoiceRoute(a0) { // fn#92818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12265:525, offset: 0x0209a2f1, size: 69 bytes, params: 2, frame: 14
|
||||
if (!isLurkingGuildRoute(a0)) {
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'SAVE_LAST_NON_VOICE_ROUTE',
|
||||
path: a0});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user