72 lines
3.5 KiB
TypeScript
72 lines
3.5 KiB
TypeScript
/* Metro module 4400; source: stores/HookErrorStore.tsx; dependencies: [6, 7, 15, 17, 18, 661, 566, 694, 2] */
|
|
function _fun37386(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#37386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:6, offset: 0x010a418c, size: 309 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
const env0_5 = (require(661) /* metro dependency 661: Constants */).MediaEngineHookTypes;
|
|
let env0_6 = {};
|
|
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
let value = _fun37390(Store);
|
|
value.displayName = 'HookErrorStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{MEDIA_ENGINE_SET_GO_LIVE_SOURCE: function() {
|
|
env0_6 = {};
|
|
}, MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING: MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING,
|
|
MEDIA_ENGINE_SOUNDSHARE_FAILED: MEDIA_ENGINE_SOUNDSHARE_FAILED});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('stores/HookErrorStore.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_37387() { // fn#37387, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:179, offset: 0x010a42c1, size: 94 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_37387_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun37390(a0) { // fn#37390, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:387, offset: 0x010a431f, size: 68 bytes, params: 2, frame: 15
|
|
const closure = HookErrorStore;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'getHookError', value: value_37392}]);
|
|
}
|
|
|
|
function MEDIA_ENGINE_SOUNDSHARE_TRANSMITTING() { // fn#37394, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:893, offset: 0x010a4370, size: 25 bytes, params: 1, frame: 2
|
|
const binding = env0_6;
|
|
const SOUND = MediaEngineHookTypes.SOUND;
|
|
delete binding[SOUND];
|
|
}
|
|
|
|
function MEDIA_ENGINE_SOUNDSHARE_FAILED({errorMessage, errorCode}) { // fn#37395, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4572:983, offset: 0x010a4389, size: 52 bytes, params: 2, frame: 5
|
|
const binding = env0_6;
|
|
const SOUND = MediaEngineHookTypes.SOUND;
|
|
binding[SOUND] = {errorMessage: errorMessage, errorCode: errorCode};
|
|
}
|
|
|