Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
+53
@@ -0,0 +1,53 @@
|
||||
/* Metro module 13965; source: modules/cache/CacheActionCreators.tsx; dependencies: [5, 1379, 4885, 694, 2] */
|
||||
function _fun105998(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14162:6, offset: 0x022ca29a, size: 176 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_3 = (require(1379) /* metro dependency 1379: ChannelStore */).ChannelLoader;
|
||||
const cacheStore = importDefault(4885) /* metro dependency 4885: CacheStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/CacheActionCreators.tsx');
|
||||
exports.writeCaches = function() {
|
||||
return _writeCaches.apply(this, arguments);
|
||||
};
|
||||
exports.clearCaches = clearCaches;
|
||||
}
|
||||
|
||||
function _writeCaches() { // fn#105999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14162:140, offset: 0x022ca34a, size: 50 bytes, params: 1, frame: 14
|
||||
return env0_2(_fun106001).apply(this, arguments);
|
||||
}
|
||||
|
||||
function clearCaches() { // fn#106003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14162:541, offset: 0x022ca440, size: 51 bytes, params: 1, frame: 12
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({'type': 'CLEAR_CACHES',
|
||||
'reason': 'Requested by user', 'preventWritingCachesAgainThisSession': true, 'resetSocket': true});
|
||||
}
|
||||
|
||||
async function _fun106001() { // fn#106001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14162:187, offset: 0x022ca390, size: 176 bytes, params: 1, frame: 17
|
||||
var items2;
|
||||
var Promise;
|
||||
let value = a0;
|
||||
if (true) {
|
||||
var r6 = value !== undefined ? value : false;
|
||||
await undefined;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
var binding = env2_4;
|
||||
if (binding.canWriteCaches(r6)) {
|
||||
binding = env2_3;
|
||||
await binding.loadAllMissingChannels();
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
items2 = [];
|
||||
binding = env2_0;
|
||||
value = binding(env2_1[3]);
|
||||
value.dispatch({type: 'WRITE_CACHES', promisesToWaitOn: items2});
|
||||
Promise = global.Promise;
|
||||
await Promise.all(items2);
|
||||
value = undefined;
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+137
@@ -0,0 +1,137 @@
|
||||
/* Metro module 15673; source: modules/cache/CacheManager.native.tsx; dependencies: [6, 7, 15, 17, 18, 4257, 4885, 3, 672, 5238, 13965, 477, 676, 4860, 2] */
|
||||
function _fun120218(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:6, offset: 0x02524c6c, size: 339 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_5 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_6 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
||||
const gatewayConnectionStore = importDefault(4257) /* metro dependency 4257: GatewayConnectionStore */;
|
||||
const cacheStore = importDefault(4885) /* metro dependency 4885: CacheStore */;
|
||||
let value = importDefault(3) /* metro dependency 3: Logger */;
|
||||
value = new value('CacheStore');
|
||||
const Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis;
|
||||
const MINUTE = Millis.MINUTE;
|
||||
const env0_11 = 15 * MINUTE;
|
||||
value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
|
||||
value = _fun120222(value);
|
||||
value = new value();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/CacheManager.native.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_120219() { // fn#120219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:168, offset: 0x02524dbf, size: 98 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_120219_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun120222(a0) { // fn#120222, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:427, offset: 0x02524e21, size: 149 bytes, params: 2, frame: 16
|
||||
const closure = CacheManager;
|
||||
env0_7(closure, a0);
|
||||
return env0_4(closure, [{key: 'handleConnectionOpen', value: value_120226}, {key: 'handleConnectionClose',
|
||||
value: function() {
|
||||
return false;
|
||||
}}, {key: 'handleAppStateUpdate', value: value_120229}, {key: 'handleWindowFocus', value: value_120230}]);
|
||||
}
|
||||
|
||||
function CacheManager(a0) { // fn#120223, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:439, offset: 0x02524eb6, size: 188 bytes, params: 2, frame: 20
|
||||
var r0;
|
||||
var Reflect;
|
||||
let value = copyRestArgs(0, undefined);
|
||||
let binding = env1_3;
|
||||
binding(this, CacheManager);
|
||||
const items = [];
|
||||
arraySpread(items, value, 0, items);
|
||||
value = env1_6(CacheManager);
|
||||
binding = env1_5;
|
||||
if (_isNativeReflectConstruct_120219()) {
|
||||
Reflect = global.Reflect;
|
||||
value = Reflect.construct(value, items, env1_6(this).constructor);
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.apply(this, items);
|
||||
r0 = value;
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.actions = {POST_CONNECTION_OPEN: value.handleConnectionOpen, CONNECTION_CLOSED: value.handleConnectionClose,
|
||||
APP_STATE_UPDATE: APP_STATE_UPDATE_120224, WINDOW_FOCUS: WINDOW_FOCUS_120225};
|
||||
return value;
|
||||
}
|
||||
|
||||
function value_120226() { // fn#120226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:921, offset: 0x02524f89, size: 56 bytes, params: 1, frame: 12
|
||||
var environment;
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(5238) /* metro dependency 5238: KvCacheVersion */;
|
||||
value = value.doesDatabaseVersionMatchJsConstants();
|
||||
value.then(_fun120227);
|
||||
}
|
||||
|
||||
function value_120229({state}) { // fn#120229, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:1110, offset: 0x02524fee, size: 144 bytes, params: 2, frame: 15
|
||||
const value = environment.__proto__;
|
||||
const isAndroid2 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid();
|
||||
const AppStates = (require(676) /* metro dependency 676: ConstantsIOS */).AppStates;
|
||||
let r1 = isAndroid2 ? AppStates.BACKGROUND : AppStates.INACTIVE;
|
||||
r1 = r1 === state && GatewayConnectionStore.isConnected();
|
||||
if (r1) {
|
||||
(require(13965) /* metro dependency 13965: CacheActionCreators */).writeCaches();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function value_120230(a0) { // fn#120230, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:1298, offset: 0x0252507e, size: 136 bytes, params: 2, frame: 12
|
||||
var value;
|
||||
var value2;
|
||||
if (!a0.focused) {
|
||||
value = global.Date.now();
|
||||
value2 = environment.__proto__;
|
||||
value -= CacheStore.lastWriteTime;
|
||||
if (value > env1_11) {
|
||||
env1_10.verbose('Writing cache from window unfocus');
|
||||
(require(13965) /* metro dependency 13965: CacheActionCreators */).writeCaches();
|
||||
} else {
|
||||
env1_10.verbose('Not writing cache from window unfocus');
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function CacheManagerWINDOW_FOCUS(a0) { // fn#120225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:817, owner: CacheManager.WINDOW_FOCUS, offset: 0x02524f72, size: 23 bytes, params: 2, frame: 11
|
||||
return env0_0.handleWindowFocus(a0);
|
||||
}
|
||||
|
||||
function _fun120227(a0) { // fn#120227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15881:984, offset: 0x02524fc1, size: 45 bytes, params: 2, frame: 11
|
||||
var value;
|
||||
if (!a0) {
|
||||
value = environment.__proto__.__proto__;
|
||||
value = require(13965) /* metro dependency 13965: CacheActionCreators */;
|
||||
value.writeCaches();
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1576
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,37 @@
|
||||
/* Metro module 12832; source: modules/cache/ClientStateStoreStorage.native.tsx; dependencies: [27, 477, 479, 2] */
|
||||
function _fun97893(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13022:6, offset: 0x02195d82, size: 124 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).NativeModules;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/ClientStateStoreStorage.native.tsx');
|
||||
exports.setClientState = setClientState;
|
||||
}
|
||||
|
||||
function setClientState(a0) { // fn#97894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13022:219, offset: 0x02195dfe, size: 145 bytes, params: 2, frame: 17
|
||||
var r4;
|
||||
var DCDFastConnectManager;
|
||||
var setClientState;
|
||||
var value4;
|
||||
var defaultImport;
|
||||
let value = a0;
|
||||
const value3 = undefined;
|
||||
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
defaultImport = importDefault(479) /* metro dependency 479: NativeFastConnectModule */;
|
||||
setClientState = defaultImport.setClientState;
|
||||
if (value == null) {
|
||||
r4 = value3;
|
||||
} else {
|
||||
value = value.toString();
|
||||
r4 = value;
|
||||
}
|
||||
Reflect.apply(setClientState, defaultImport, [r4 ?? value3, value3]);
|
||||
} else {
|
||||
DCDFastConnectManager = NativeModules.DCDFastConnectManager;
|
||||
value4 = null;
|
||||
DCDFastConnectManager.setClientState(value4 != value ? value : value4, value4);
|
||||
}
|
||||
return value3;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/* Metro module 16158; source: modules/cache/NotificationLoadMessagesExperiment.tsx; dependencies: [1854, 2] */
|
||||
function _fun124898(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16366:6, offset: 0x025c6bd5, size: 267 bytes, params: 8, frame: 20
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = require(1854) /* metro dependency 1854: apex */;
|
||||
value = value.createApexExperiment({'name': '2026-03-notification-load-messages', 'kind': 'user',
|
||||
defaultConfig: {'enabled': false, 'limit': 1, 'cooldownMs': 0, 'debounceMs': 0},
|
||||
variations: {[1]: {'enabled': true, 'limit': 1, 'cooldownMs': 60000, 'debounceMs': 3000}, [2]: {'enabled': true,
|
||||
'limit': 25, 'cooldownMs': 60000, 'debounceMs': 3000}, [3]: {'enabled': true, 'limit': 10, 'cooldownMs': 60000,
|
||||
'debounceMs': 3000}, [4]: {'enabled': true, 'limit': 25, 'cooldownMs': 0, 'debounceMs': 3000},
|
||||
[5]: {'enabled': true, 'limit': 10, 'cooldownMs': 0, 'debounceMs': 3000}, [6]: {'enabled': true, 'limit': 25,
|
||||
'cooldownMs': 0, 'debounceMs': 0}, [7]: {'enabled': true, 'limit': 10, 'cooldownMs': 0, 'debounceMs': 0}}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/NotificationLoadMessagesExperiment.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
+223
@@ -0,0 +1,223 @@
|
||||
/* Metro module 1931; source: modules/cache/deserializeChannels.tsx; dependencies: [57, 483, 2] */
|
||||
function _fun21352(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#21352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2058:6, offset: 0x00eee5fa, size: 159 bytes, params: 8, frame: 18
|
||||
const _arrayLikeToArray_21355 = function(a0, a1) {
|
||||
var r0;
|
||||
var r1;
|
||||
var r2;
|
||||
var value3;
|
||||
var length;
|
||||
var value5;
|
||||
var value = undefined;
|
||||
var value2 = value == null;
|
||||
reducibleJoin2: while (true) {
|
||||
if (value2) {
|
||||
r0 = value2;
|
||||
break reducibleJoin2;
|
||||
}
|
||||
value3 = value > a0.length;
|
||||
r0 = value3;
|
||||
break reducibleJoin2;
|
||||
}
|
||||
reducibleJoin4: while (true) {
|
||||
if (r0) {
|
||||
length = a0.length;
|
||||
r1 = length;
|
||||
break reducibleJoin4;
|
||||
}
|
||||
r1 = value;
|
||||
break reducibleJoin4;
|
||||
}
|
||||
value = (0, global.Array)(r1);
|
||||
var value4 = 0;
|
||||
if (value4 < r1) {
|
||||
r2 = value4;
|
||||
reducibleLoop5: while (true) {
|
||||
value[r2] = a0[r2];
|
||||
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value5 < r1) {
|
||||
r2 = value5;
|
||||
continue reducibleLoop5;
|
||||
}
|
||||
break reducibleLoop5;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
};
|
||||
const closure = deserializeChannels;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/deserializeChannels.tsx');
|
||||
exports.default = closure;
|
||||
exports.deserializeChannelEntries = deserializeChannelEntries;
|
||||
exports.deserializeChannel = deserializeChannel;
|
||||
}
|
||||
|
||||
function _createForOfIteratorHelperLoose_21353(a0, a1) { // fn#21353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2058:110, offset: 0x00eee699, size: 370 bytes, params: 3, frame: 20
|
||||
var r6;
|
||||
var r9;
|
||||
var r5;
|
||||
var value3;
|
||||
var regexp;
|
||||
const env0_0 = a0;
|
||||
const Symbol = global.Symbol;
|
||||
let value = typeof Symbol !== 'undefined';
|
||||
let r1 = value && a0[global.Symbol.iterator];
|
||||
r1 = !r1 ? a0['@@iterator'] : r1;
|
||||
if (r1) {
|
||||
value = r1.call(a0);
|
||||
return value.next.bind(value);
|
||||
}
|
||||
const Array = global.Array;
|
||||
if (Array.isArray(a0)) {
|
||||
if (r1) {
|
||||
}
|
||||
return _fun21354;
|
||||
}
|
||||
value = undefined;
|
||||
if (a0) {
|
||||
if (typeof a0 === 'string') {
|
||||
value = _arrayLikeToArray_21355(a0, value);
|
||||
r5 = value;
|
||||
} else {
|
||||
value3 = ({}).toString.call(a0).slice(8, -1);
|
||||
r6 = value3 === 'Object' && a0.constructor;
|
||||
r9 = r6 ? a0.constructor.name : value3;
|
||||
if (r9 === 'Map') {
|
||||
r6 = global.Array.from(a0);
|
||||
} else if (r9 === 'Set') {
|
||||
r6 = global.Array.from(a0);
|
||||
} else if (r9 === 'Arguments') {
|
||||
value = _arrayLikeToArray_21355(a0, value);
|
||||
r6 = value;
|
||||
} else {
|
||||
regexp = RegExp('^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$', '');
|
||||
if (regexp.test(r9)) {
|
||||
value = _arrayLikeToArray_21355(a0, value);
|
||||
r6 = value;
|
||||
} else {
|
||||
r6 = value;
|
||||
}
|
||||
}
|
||||
r5 = r6;
|
||||
}
|
||||
} else {
|
||||
r5 = value;
|
||||
}
|
||||
if (r5) {
|
||||
if (r5) {
|
||||
}
|
||||
return _fun21354;
|
||||
}
|
||||
const TypeError = global.TypeError;
|
||||
throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
|
||||
}
|
||||
|
||||
function deserializeChannels(a0) { // fn#21356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2058:1020, offset: 0x00eee80b, size: 170 bytes, params: 2, frame: 26
|
||||
var r2;
|
||||
var r8;
|
||||
var value4;
|
||||
var permissionOverwrites_;
|
||||
var properties;
|
||||
var properties2;
|
||||
var properties3;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var property;
|
||||
var moduleValue;
|
||||
var deserialize;
|
||||
var allow;
|
||||
var moduleValue2;
|
||||
var deny;
|
||||
var value5;
|
||||
const value2 = _createForOfIteratorHelperLoose_21353(a0);
|
||||
const value3 = value2();
|
||||
let done = value3.done;
|
||||
if (!done) {
|
||||
r2 = value3;
|
||||
while (true) {
|
||||
value4 = r2.value;
|
||||
permissionOverwrites_ = value4.permissionOverwrites_;
|
||||
if (permissionOverwrites_ != null) {
|
||||
properties = Object.keys(permissionOverwrites_);
|
||||
properties2 = 0;
|
||||
properties3 = properties.length;
|
||||
if (properties === undefined) {
|
||||
break;
|
||||
}
|
||||
for (r8 = properties2; true; r8 = propertyName2) {
|
||||
propertyName = properties[r8];
|
||||
propertyName2 = r8 + 1;
|
||||
if (propertyName === undefined) {
|
||||
break;
|
||||
}
|
||||
property = permissionOverwrites_[propertyName];
|
||||
moduleValue = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
||||
deserialize = moduleValue.deserialize;
|
||||
allow = property.allow;
|
||||
property.allow = Reflect.apply(deserialize, moduleValue, [allow]);
|
||||
moduleValue2 = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
||||
deserialize = moduleValue2.deserialize;
|
||||
deny = property.deny;
|
||||
property.deny = Reflect.apply(deserialize, moduleValue2, [deny]);
|
||||
}
|
||||
}
|
||||
value5 = value2();
|
||||
done = value5.done;
|
||||
if (done) {
|
||||
break;
|
||||
}
|
||||
r2 = value5;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function deserializeChannelEntries(a0) { // fn#21357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2058:1397, offset: 0x00eee8b5, size: 86 bytes, params: 2, frame: 18
|
||||
var r2;
|
||||
var value4;
|
||||
var value5;
|
||||
var value6;
|
||||
const value2 = _createForOfIteratorHelperLoose_21353(a0);
|
||||
const value3 = value2();
|
||||
let done = value3.done;
|
||||
if (!done) {
|
||||
for (r2 = value3; true; r2 = value6) {
|
||||
value4 = r2.value;
|
||||
value5 = env0_2(value4, 2);
|
||||
value5[0];
|
||||
deserializeChannels(value5[1]);
|
||||
value6 = value2();
|
||||
done = value6.done;
|
||||
if (done) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function deserializeChannel(a0) { // fn#21358, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2058:1576, offset: 0x00eee90b, size: 126 bytes, params: 2, frame: 24
|
||||
var propertyName;
|
||||
var property;
|
||||
var moduleValue;
|
||||
var deserialize;
|
||||
var allow;
|
||||
var moduleValue2;
|
||||
var deny;
|
||||
const permissionOverwrites_ = a0.permissionOverwrites_;
|
||||
if (permissionOverwrites_ != null) {
|
||||
for (propertyName in permissionOverwrites_) {
|
||||
property = permissionOverwrites_[propertyName];
|
||||
moduleValue = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
||||
deserialize = moduleValue.deserialize;
|
||||
allow = property.allow;
|
||||
property.allow = Reflect.apply(deserialize, moduleValue, [allow]);
|
||||
moduleValue2 = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
||||
deserialize = moduleValue2.deserialize;
|
||||
deny = property.deny;
|
||||
property.deny = Reflect.apply(deserialize, moduleValue2, [deny]);
|
||||
}
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/* Metro module 5231; source: modules/cache/isCacheEnabled.native.tsx; dependencies: [2] */
|
||||
function _fun46374(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5409:6, offset: 0x011a689c, size: 85 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/isCacheEnabled.native.tsx');
|
||||
exports.isCacheEnabled = function() {
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/* Metro module 5247; source: modules/cache/trackCacheSkipped.native.tsx; dependencies: [661, 683, 4884, 2] */
|
||||
function _fun46692(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46692, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5425:6, offset: 0x011ad3ec, size: 122 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/cache/trackCacheSkipped.native.tsx');
|
||||
exports.default = trackCacheSkipped;
|
||||
}
|
||||
|
||||
function trackCacheSkipped(a0, a1) { // fn#46693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5425:207, offset: 0x011ad466, size: 133 bytes, params: 3, frame: 18
|
||||
const value2 = undefined;
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const CACHE_STORE_CACHE_SKIPPED = AnalyticEvents.CACHE_STORE_CACHE_SKIPPED;
|
||||
const object2 = {};
|
||||
object2.load_id = (require(4884) /* metro dependency 4884: TTIAnalyticsUtils */).currentLoadId();
|
||||
object2.reason = a0;
|
||||
object2.error_message = a1 == null ? value2 : a1.message;
|
||||
object2.error_stack = a1 == null ? value2 : a1.stack;
|
||||
Reflect.apply(track, defaultImport, [CACHE_STORE_CACHE_SKIPPED, object2]);
|
||||
return value2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user