80 lines
4.8 KiB
TypeScript
80 lines
4.8 KiB
TypeScript
/* Metro module 15948; source: modules/connections/GuildRoleConnectionsConfigurationStore.tsx; dependencies: [6, 7, 15, 17, 18, 1867, 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 GuildStore from '../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun123248(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:6, offset: 0x02585830, size: 311 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Map = global.Map;
|
|
let map = new Map();
|
|
const Store = (Flux).Store;
|
|
_fun123252(Store).displayName = 'GuildRoleConnectionsConfigurationStore';
|
|
map = new map(importDefault(694) /* metro dependency 694: Dispatcher */,
|
|
{GUILD_ROLE_CONNECTIONS_CONFIGURATIONS_FETCH_SUCCESS: GUILD_ROLE_CONNECTIONS_CONFIGURATIONS_FETCH_SUCCESS_123256});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/connections/GuildRoleConnectionsConfigurationStore.tsx');
|
|
exports.default = map;
|
|
function _isNativeReflectConstruct_123249() { // fn#123249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:158, offset: 0x02585967, 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_123249_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun123252(a0) { // fn#123252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:367, offset: 0x025859c9, size: 99 bytes, params: 2, frame: 16
|
|
const GuildRoleConnectionsConfigurationStore2 = GuildRoleConnectionsConfigurationStore;
|
|
Inherits(GuildRoleConnectionsConfigurationStore2, a0);
|
|
return CreateClass(GuildRoleConnectionsConfigurationStore2, [{key: 'initialize', value: function() {
|
|
this.waitFor(GuildStore);
|
|
}}, {key: 'getGuildRoleConnectionsConfiguration', value: value_123255}]);
|
|
function GuildRoleConnectionsConfigurationStore() { // fn#123253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:379, offset: 0x00e3db8d, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_0(this, GuildRoleConnectionsConfigurationStore);
|
|
const value3 = env1_3(GuildRoleConnectionsConfigurationStore);
|
|
return env1_2(this, _isNativeReflectConstruct_123249() ? global.Reflect.construct(value3, arguments,
|
|
env1_3(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_123255(a0) { // fn#123255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:866, offset: 0x02585a2c, size: 22 bytes, params: 2, frame: 11
|
|
return env1_6.get(a0);
|
|
}
|
|
|
|
}
|
|
|
|
function GUILD_ROLE_CONNECTIONS_CONFIGURATIONS_FETCH_SUCCESS_123256({roleId, roleConnectionConfigurations}) { // fn#123256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16156:1042, offset: 0x02585a42, size: 37 bytes, params: 2, frame: 13
|
|
env0_6.set(roleId, roleConnectionConfigurations);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun123248, 15948, [6, 7, 15, 17, 18, 1867, 566, 694,
|
|
2]) /* metro module 15948, dependencies: [6, 7, 15, 17, 18, 1867, 566, 694, 2] */;
|