Files
discord-decomp/sources/modules/guild_automod/GuildAutomodActionActionCreators.native.tsx
T
2026-07-27 16:20:00 +03:00

55 lines
3.5 KiB
TypeScript

/* Metro module 11453; source: modules/guild_automod/GuildAutomodActionActionCreators.native.tsx; dependencies: [31, 11454, 33, 5080, 11458, 1962, 4496, 11461, 2] */
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});
importAll(31) /* metro dependency 31 */;
const constantsModule = require(11454) /* metro dependency 11454: Constants */;
const env0_3 = constantsModule.AutomodActionType;
const env0_4 = constantsModule.SUBMIT_FEEDBACK_MODAL_KEY;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).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;
const value = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
value.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);
}