Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,39 @@
|
||||
/* Metro module 9087; source: actions/native/CreateChannelModalActionCreators.tsx; dependencies: [1383, 1379, 4601, 5080, 9083, 1962, 2] */
|
||||
function _fun71014(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9272:6, offset: 0x01d1235e, size: 168 bytes, params: 8, frame: 19
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(1383) /* metro dependency 1383: ChannelRecord */).CREATEABLE_NON_VOCAL_CHANNEL_NAME_TYPES;
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
object2 = {CREATE_CHANNEL_MODAL_KEY: 'CREATE_CHANNEL_MODAL_KEY', open: open_71015, close: close_71017};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/native/CreateChannelModalActionCreators.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function open_71015(a0, a1, a2, a3) { // fn#71015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9272:215, offset: 0x01d12406, size: 179 bytes, params: 5, frame: 23
|
||||
var value5;
|
||||
var defaultImport;
|
||||
if (a1 != null) {
|
||||
value5 = undefined;
|
||||
defaultImport = importDefault(dependencyMap[3]);
|
||||
defaultImport.pushLazy(require(dependencyMap[5])(dependencyMap[4], dependencyMap.paths),
|
||||
{channelType: a0 ?? value5,
|
||||
guildId: a1, categoryId: a2 ?? value5, cloneChannelId: a3 ?? value5, onChannelCreated: onChannelCreated},
|
||||
'CREATE_CHANNEL_MODAL_KEY');
|
||||
}
|
||||
}
|
||||
|
||||
function close_71017() { // fn#71017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9272:511, offset: 0x01d1252c, size: 42 bytes, params: 1, frame: 12
|
||||
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).popWithKey('CREATE_CHANNEL_MODAL_KEY');
|
||||
}
|
||||
|
||||
function onChannelCreated(a0, a1) { // fn#71016, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9272:397, owner: open_71015.onChannelCreated, offset: 0x01d124b9, size: 115 bytes, params: 3, frame: 14
|
||||
env0_0.close();
|
||||
const value = environment.__proto__;
|
||||
const channel = ChannelStore.getChannel(a0);
|
||||
if (a1 != null && channel != null && CREATEABLE_NON_VOCAL_CHANNEL_NAME_TYPES.has(channel.type)) {
|
||||
(require(4601) /* metro dependency 4601: transitionToChannel */).transitionToChannel(a0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user