33 lines
2.3 KiB
TypeScript
33 lines
2.3 KiB
TypeScript
/* Metro module 6522; source: actions/native/BoostingActionCreators.tsx; dependencies: [5080, 6523, 1962, 2] */
|
|
function _fun51267(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51267, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6700:6, offset: 0x0122d5cf, size: 123 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/native/BoostingActionCreators.tsx');
|
|
exports.openApplyBoostModal = openApplyBoostModal;
|
|
exports.openTransferModal = openTransferModal;
|
|
exports.closeApplyBoostModal = closeApplyBoostModal;
|
|
}
|
|
|
|
function openApplyBoostModal(a0) { // fn#51268, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6700:231, offset: 0x0122d64a, size: 88 bytes, params: 2, frame: 16
|
|
const defaultImport = importDefault(dependencyMap[0]);
|
|
const pushLazy = defaultImport.pushLazy;
|
|
let value = require(dependencyMap[2]);
|
|
value = value(dependencyMap[1], dependencyMap.paths);
|
|
Reflect.apply(pushLazy, defaultImport, [value, {guildId: a0}, 'PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY']);
|
|
}
|
|
|
|
function openTransferModal({guildBoostSlots, guildId, intent, onResult}) { // fn#51269, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6700:338, offset: 0x0122d6a2, size: 126 bytes, params: 2, frame: 20
|
|
const defaultImport = importDefault(dependencyMap[0]);
|
|
const pushLazy = defaultImport.pushLazy;
|
|
let value = require(dependencyMap[2]);
|
|
value = value(dependencyMap[1], dependencyMap.paths);
|
|
Reflect.apply(pushLazy, defaultImport, [value, {guildId: guildId, guildBoostSlots: guildBoostSlots, intent: intent,
|
|
onResult: onResult}, 'PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY']);
|
|
}
|
|
|
|
function closeApplyBoostModal() { // fn#51270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6700:532, offset: 0x0122d720, size: 43 bytes, params: 1, frame: 12
|
|
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).popWithKey('PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY');
|
|
}
|
|
|