75 lines
4.3 KiB
TypeScript
75 lines
4.3 KiB
TypeScript
/* Metro module 15671; source: modules/blocked_domains/BlockedDomainManager.tsx; dependencies: [6, 7, 15, 17, 18, 1873, 4860, 2] */
|
|
import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import AutomaticLifecycleManager from '../../lib/AutomaticLifecycleManager.tsx'; /* Metro dependency 4860 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ShimNativeModule from '../../external/discord_common/js/packages/libdiscore/js_shim/js/shim.native.tsx'; /* Metro dependency 1873 */
|
|
|
|
function _fun120200(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15879:6, offset: 0x025245d7, size: 226 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = AutomaticLifecycleManager;
|
|
value = _fun120204(value);
|
|
value = new value();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/blocked_domains/BlockedDomainManager.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_120201() { // fn#120201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15879:148, offset: 0x025246b9, 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_120201_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun120204(a0) { // fn#120204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15879:347, offset: 0x0252471b, size: 72 bytes, params: 2, frame: 15
|
|
const BlockedDomainManager2 = BlockedDomainManager;
|
|
Inherits(BlockedDomainManager2, a0);
|
|
return CreateClass(BlockedDomainManager2, [{key: '_initialize', value: value_120206}]);
|
|
function BlockedDomainManager() { // fn#120205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15879:359, offset: 0x00c7f278, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_2(this, BlockedDomainManager);
|
|
const value3 = env1_5(BlockedDomainManager);
|
|
return env1_4(this, _isNativeReflectConstruct_120201() ? global.Reflect.construct(value3, arguments,
|
|
env1_5(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_120206() { // fn#120206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15879:678, offset: 0x02524763, size: 115 bytes, params: 1, frame: 16
|
|
const value = environment.__proto__;
|
|
if (ShimNativeModule.isLibdiscoreInitialized()) {
|
|
ShimNativeModule.startFetchingBlockedDomains('https:' + global.window.GLOBAL_ENV.WEBAPP_ENDPOINT + '/bad-hash-delta');
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun120200, 15671, [6, 7, 15, 17, 18, 1873, 4860,
|
|
2]) /* metro module 15671, dependencies: [6, 7, 15, 17, 18, 1873, 4860, 2] */;
|