73 lines
3.9 KiB
TypeScript
73 lines
3.9 KiB
TypeScript
/* Metro module 4290; source: stores/BitRateStore.tsx; dependencies: [6, 7, 15, 17, 18, 4291, 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 */
|
|
import * as ConstantsModule from '../external/discord_common/js/packages/media-engine/Constants.tsx'; /* Metro dependency 4291 */
|
|
|
|
function _fun36345(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#36345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4462:6, offset: 0x01089cb2, size: 281 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let env0_5 = (ConstantsModule).DEFAULT_VOICE_BITRATE;
|
|
const Store = (Flux).Store;
|
|
let value = _fun36349(Store);
|
|
value.displayName = 'BitRateStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {SET_CHANNEL_BITRATE: function(a0) {
|
|
env0_5 = a0.bitrate;
|
|
}});
|
|
(FileImportTrackerModule).fileFinishedImporting('stores/BitRateStore.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_36346() { // fn#36346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4462:148, offset: 0x01089dcb, 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_36346_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun36349(a0) { // fn#36349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4462:383, offset: 0x01089e29, size: 68 bytes, params: 2, frame: 15
|
|
const BitRateStore2 = BitRateStore;
|
|
Inherits(BitRateStore2, a0);
|
|
return CreateClass(BitRateStore2, [{key: 'bitrate', get: function() {
|
|
return DEFAULT_VOICE_BITRATE;
|
|
}}]);
|
|
function BitRateStore() { // fn#36350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4462:395, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, BitRateStore);
|
|
const value3 = env1_3(BitRateStore);
|
|
return env1_2(this, _isNativeReflectConstruct_36346() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun36345, 4290, [6, 7, 15, 17, 18, 4291, 566, 694,
|
|
2]) /* metro module 4290, dependencies: [6, 7, 15, 17, 18, 4291, 566, 694, 2] */;
|