Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,58 @@
|
||||
/* Metro module 1358; source: modules/experiments/apex/ApexExperiment.tsx; dependencies: [57, 1226, 1220, 1359, 490, 1360, 566, 2] */
|
||||
function _fun15575(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15575, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1485:6, offset: 0x00e3656b, size: 198 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const closure = getUnitId;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(57) /* metro dependency 57 */;
|
||||
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
|
||||
const apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/experiments/apex/ApexExperiment.tsx');
|
||||
exports.default = function(a0) {
|
||||
return importDefault(dependencyMap[3])(a0, ApexExperimentStore, getUnitId, useUnitId);
|
||||
};
|
||||
const ApexExperiment = (require(1359) /* metro dependency 1359: ApexExperiment */).ApexExperiment;
|
||||
exports.ApexExperiment = ApexExperiment;
|
||||
exports.getUnitId = closure;
|
||||
}
|
||||
|
||||
function getUnitId(a0, a1) { // fn#15576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1485:126, offset: 0x00e36631, size: 165 bytes, params: 3, frame: 12
|
||||
var moduleValue;
|
||||
if (a0 === 'guild') {
|
||||
return a1.guildId;
|
||||
}
|
||||
if (a0 === 'user') {
|
||||
return AuthenticationStore.getId();
|
||||
}
|
||||
if (a0 === 'installation') {
|
||||
moduleValue = require(490) /* metro dependency 490: FingerprintUtils */;
|
||||
return moduleValue.maybeExtractId(AuthenticationStore.getInstallationForTracking()) ?? '';
|
||||
}
|
||||
(require(1360) /* metro dependency 1360: GlobalUtils */).assertNever(a0);
|
||||
}
|
||||
|
||||
function useUnitId(a0, a1) { // fn#15577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1485:351, offset: 0x00e366d6, size: 203 bytes, params: 3, frame: 17
|
||||
var value;
|
||||
const fluxModule = require(566) /* metro dependency 566: flux */;
|
||||
const useStateFromStoresArray = fluxModule.useStateFromStoresArray;
|
||||
const value3 = env0_3(Reflect.apply(useStateFromStoresArray, fluxModule, [[AuthenticationStore], function() {
|
||||
var items = [AuthenticationStore.getId()];
|
||||
items[1] = AuthenticationStore.getInstallationForTracking();
|
||||
return items;
|
||||
}]), 2);
|
||||
const property = value3[0];
|
||||
const property2 = value3[1];
|
||||
if (a0 === 'guild') {
|
||||
return a1.guildId;
|
||||
}
|
||||
if (a0 === 'user') {
|
||||
return property;
|
||||
}
|
||||
if (a0 === 'installation') {
|
||||
value = require(490) /* metro dependency 490: FingerprintUtils */;
|
||||
value = value.maybeExtractId(property2);
|
||||
return value ?? '';
|
||||
}
|
||||
(require(1360) /* metro dependency 1360: GlobalUtils */).assertNever(a0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user