Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,31 @@
|
||||
/* Metro module 8099; source: modules/activities/getShelfItemData.tsx; dependencies: [4234, 2] */
|
||||
function _fun64950(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#64950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8284:6, offset: 0x01bba9d2, size: 104 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const applicationStore = importDefault(4234) /* metro dependency 4234: ApplicationStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/getShelfItemData.tsx');
|
||||
exports.default = function(a0) {
|
||||
var r2;
|
||||
var applicationId = a0.applicationId;
|
||||
var env0_0 = applicationId;
|
||||
var activityConfigs = a0.activityConfigs;
|
||||
var applications = a0.applications;
|
||||
var value = null;
|
||||
r2 = value == applications ? undefined : applications.find(_fun64952);
|
||||
r2 = value == r2 ? ApplicationStore.getApplication(applicationId) : r2;
|
||||
var value6 = activityConfigs.find(_fun64953);
|
||||
return value == value6 || value == r2 ? value : {activity: value6, application: r2};
|
||||
};
|
||||
}
|
||||
|
||||
function getShelfItemData({applicationId, activityConfigs, applications}) { // fn#64951, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8284:189, offset: 0x01bbaa3a, size: 125 bytes, params: 2, frame: 16
|
||||
let r2 = applications?.find(function({id}) {
|
||||
return id === applicationId;
|
||||
});
|
||||
r2 = r2 ?? ApplicationStore.getApplication(applicationId);
|
||||
const value6 = activityConfigs.find(function({application_id}) {
|
||||
return application_id === applicationId;
|
||||
});
|
||||
return value6 == null || r2 == null ? null : {activity: value6, application: r2};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user