58 lines
4.0 KiB
TypeScript
58 lines
4.0 KiB
TypeScript
/* Metro module 11453; source: modules/guild_automod/GuildAutomodActionActionCreators.native.tsx; dependencies: [31, 11454, 33, 5080, 11458, 1962, 4496, 11461, 2] */
|
|
import AlertActionCreators from '../../actions/native/AlertActionCreators.tsx'; /* Metro dependency 4496 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactModule from '../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as ConstantsModule from './Constants.tsx'; /* Metro dependency 11454 */
|
|
|
|
function _fun87691(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:6, offset: 0x01fc8236, size: 226 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_automod/GuildAutomodActionActionCreators.native.tsx');
|
|
exports.getPromiseableActionHandlers = function() {
|
|
return {[AutomodActionType.BLOCK_MESSAGE]: null, [AutomodActionType.FLAG_TO_CHANNEL]: null,
|
|
[AutomodActionType.USER_COMMUNICATION_DISABLED]: null};
|
|
};
|
|
exports.openSubmitFeedback = openSubmitFeedback;
|
|
exports.openRaidResolveModal = function() {
|
|
};
|
|
exports.openConfirmRemoveMentionRaid = function() {
|
|
};
|
|
exports.openAutomodProfileQuarantineAlert = openAutomodProfileQuarantineAlert;
|
|
function openSubmitFeedback(a0, a1, a2, a3) { // fn#87693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:465, offset: 0x01fc8346, size: 131 bytes, params: 5, frame: 18
|
|
const defaultImport = importDefault(dependencyMap[3]);
|
|
defaultImport.pushLazy(require(dependencyMap[5])(dependencyMap[4], dependencyMap.paths), {onCloseModal: function() {
|
|
importDefault(dependencyMap[3]).popWithKey(SUBMIT_FEEDBACK_MODAL_KEY);
|
|
}, automodDecision: {messageId: a0, messageContent: a1, decisionId: a2, channel: a3}}, SUBMIT_FEEDBACK_MODAL_KEY);
|
|
}
|
|
|
|
function openAutomodProfileQuarantineAlert(a0) { // fn#87697, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:824, offset: 0x01fc83f3, size: 61 bytes, params: 2, frame: 13
|
|
const env0_0 = a0;
|
|
AlertActionCreators.openLazy({importer: importer_87698});
|
|
function openAutomodProfileQuarantineAlertImporter() { // fn#87698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:897, owner: openAutomodProfileQuarantineAlert.importer, offset: 0x01fc8430, size: 64 bytes, params: 1, frame: 13
|
|
var environment;
|
|
let value = environment.__proto__;
|
|
value = require(dependencyMap[5]);
|
|
value = value(dependencyMap[7], dependencyMap.paths);
|
|
return value.then(function({default: env0_0}) {
|
|
return _fun87700;
|
|
});
|
|
function _fun87699({default: env0_0}) { // fn#87699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:929, offset: 0x01fc8470, size: 23 bytes, params: 2, frame: 2
|
|
return _fun87700;
|
|
function _fun87700(a0) { // fn#87700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11639:944, offset: 0x01fc8487, size: 52 bytes, params: 2, frame: 14
|
|
return ((Component) => <Component {...a0} {...{['guildId']: env2_0}} />)(env0_0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun87691, 11453, [31, 11454, 33, 5080, 11458, 1962, 4496, 11461,
|
|
2]) /* metro module 11453, dependencies: [31, 11454, 33, 5080, 11458, 1962, 4496, 11461, 2] */;
|