57 lines
2.6 KiB
TypeScript
57 lines
2.6 KiB
TypeScript
/* Metro module 6870; source: modules/spotify/SpotifyProtocolStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */
|
|
function _fun54393(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#54393, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7048:6, offset: 0x013649d8, size: 267 bytes, params: 8, frame: 18
|
|
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 Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
|
let value = _fun54397(Store);
|
|
value.displayName = 'SpotifyProtocolStore';
|
|
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{SPOTIFY_SET_PROTOCOL_REGISTERED: function(a0) {
|
|
env0_5 = a0.isRegistered;
|
|
}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/spotify/SpotifyProtocolStore.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_54394() { // fn#54394, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7048:148, offset: 0x01364ae3, 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_54394_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun54397(a0) { // fn#54397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7048:356, offset: 0x01364b41, size: 68 bytes, params: 2, frame: 15
|
|
const closure = SpotifyProtocolStore;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'isProtocolRegistered', value: value_54399}]);
|
|
}
|
|
|