69 lines
3.1 KiB
TypeScript
69 lines
3.1 KiB
TypeScript
/* Metro module 9421; source: modules/game_console/native/beginConsoleTransfer.tsx; dependencies: [5, 661, 9422, 9429, 4080, 9430, 1962, 480, 9433, 2] */
|
|
function _fun73345(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:6, offset: 0x01d69aec, size: 204 bytes, params: 8, frame: 20
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
|
const PlatformTypes = (require(661) /* metro dependency 661: Constants */).PlatformTypes;
|
|
const Set = global.Set;
|
|
const PLAYSTATION = PlatformTypes.PLAYSTATION;
|
|
const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING;
|
|
const set = new Set([PLAYSTATION, PLAYSTATION_STAGING]);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_console/native/beginConsoleTransfer.tsx');
|
|
exports.beginConsoleTransfer = function() {
|
|
return _beginConsoleTransfer.apply(this, arguments);
|
|
};
|
|
}
|
|
|
|
function _beginConsoleTransfer() { // fn#73346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:179, offset: 0x01d69bb8, size: 50 bytes, params: 1, frame: 14
|
|
return env0_3(_fun73348).apply(this, arguments);
|
|
}
|
|
|
|
function* _fun73348(a0, a1) { // fn#73348, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:244, offset: 0x01d69bf5, size: 325 bytes, params: 3, frame: 23
|
|
var value3;
|
|
var value4;
|
|
var property;
|
|
var binding2;
|
|
var value7;
|
|
var openLazy;
|
|
var value8;
|
|
var object2;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_4;
|
|
if (binding.has(a1)) {
|
|
binding = env2_0;
|
|
value3 = binding(env2_2[2]);
|
|
yield value3.fetchDevices(a1);
|
|
value4 = undefined;
|
|
if (false) {
|
|
return value4;
|
|
}
|
|
if (value4.length !== 1) {
|
|
binding = env2_1;
|
|
binding2 = env2_2;
|
|
value7 = binding(binding2[4]);
|
|
openLazy = value7.openLazy;
|
|
binding = env2_0;
|
|
value = binding(binding2[6]);
|
|
value = value(binding2[5], binding2.paths);
|
|
value8 = 'GameConsoleDeviceListActionSheet' + a0.id;
|
|
object2 = {channel: a0, platform: a1};
|
|
object2.impressionName = binding(binding2[7]).ImpressionNames.GAME_CONSOLE_DEVICE_LIST;
|
|
return Reflect.apply(openLazy, value7, [value, value8, object2]);
|
|
}
|
|
property = value4[0];
|
|
binding = env2_0;
|
|
value = binding(env2_2[3]);
|
|
yield value.transferToPlaystationWithAlert(a1, property, a0);
|
|
value = undefined;
|
|
if (false) {
|
|
return value;
|
|
}
|
|
} else {
|
|
env2_1(env2_2[8])(a0);
|
|
}
|
|
}
|
|
}
|
|
|