79 lines
4.3 KiB
TypeScript
79 lines
4.3 KiB
TypeScript
/* Metro module 12535; source: modules/ads/AdPersonalizationStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 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 Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun95795(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#95795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12725:6, offset: 0x0214f1b8, size: 278 bytes, params: 8, frame: 19
|
|
const closure = function() {
|
|
env0_5 = false;
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Store = (Flux).Store;
|
|
let value = _fun95800(Store);
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{AD_PERSONALIZATION_TOGGLES_RESTRICTED: AD_PERSONALIZATION_TOGGLES_RESTRICTED, CONNECTION_OPEN: closure,
|
|
LOGOUT: closure});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/ads/AdPersonalizationStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_95796() { // fn#95796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12725:148, offset: 0x0214f2ce, 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_95796_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun95800(a0) { // fn#95800, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12725:378, offset: 0x0214f330, size: 74 bytes, params: 2, frame: 15
|
|
const AdPersonalizationStore2 = AdPersonalizationStore;
|
|
Inherits(AdPersonalizationStore2, a0);
|
|
return CreateClass(AdPersonalizationStore2, [{key: 'isTogglesDisabled', value: value_95802}]);
|
|
function AdPersonalizationStore() { // fn#95801, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12725:390, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, AdPersonalizationStore);
|
|
const value3 = env1_3(AdPersonalizationStore);
|
|
return env1_2(this, _isNativeReflectConstruct_95796() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_95802() { // fn#95802, offset: 0x00e40571, size: 9 bytes, params: 1, frame: 1
|
|
return env1_5;
|
|
}
|
|
|
|
}
|
|
|
|
function AD_PERSONALIZATION_TOGGLES_RESTRICTED({disabled}) { // fn#95803, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12725:820, offset: 0x0214f37a, size: 31 bytes, params: 2, frame: 3
|
|
const r1 = disabled != null && disabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun95795, 12535, [6, 7, 15, 17, 18, 566, 694,
|
|
2]) /* metro module 12535, dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */;
|