30 lines
1.9 KiB
TypeScript
30 lines
1.9 KiB
TypeScript
/* Metro module 8873; source: modules/blocked_domains/BlockedDomainStore.tsx; dependencies: [6, 7, 661, 1873, 683, 2] */
|
|
function _fun69162(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69162, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9058:6, offset: 0x01c6bcf4, size: 160 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 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
|
const value = _fun69163();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/blocked_domains/BlockedDomainStore.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _fun69163() { // fn#69163, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9058:143, offset: 0x01c6bd94, size: 62 bytes, params: 1, frame: 15
|
|
return env0_4(BlockedDomainStore, null, [{key: 'isBlockedDomain', value: value_69165}]);
|
|
}
|
|
|
|
function value_69165(a0) { // fn#69165, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9058:258, offset: 0x01c6bdd2, size: 143 bytes, params: 2, frame: 16
|
|
var defaultImport;
|
|
const isLibdiscoreInitialized2 = (require(1873) /* metro dependency 1873: shimNative */).isLibdiscoreInitialized();
|
|
const value2 = null;
|
|
const r0 = isLibdiscoreInitialized2 ? (require(1873) /* metro dependency 1873: shimNative */).isBlockedDomain(a0) : value2;
|
|
if (r0 !== '' && value2 !== r0) {
|
|
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
|
defaultImport.track(AnalyticEvents.LINK_SECURITY_CHECK_BLOCKED, {blocked_domain: r0});
|
|
}
|
|
return r0;
|
|
}
|
|
|