33 lines
2.1 KiB
TypeScript
33 lines
2.1 KiB
TypeScript
/* Metro module 14621; source: modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx; dependencies: [8259, 1244, 2256, 2] */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as GuildPowerupsConstantsModule from '../constants/GuildPowerupsConstants.tsx'; /* Metro dependency 8259 */
|
|
|
|
function _fun110546(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14818:6, offset: 0x0237cb40, size: 124 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx');
|
|
exports.getGuildPowerupsBoostInfoText = getGuildPowerupsBoostInfoText;
|
|
function getGuildPowerupsBoostInfoText(a0, a1) { // fn#110547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14818:250, offset: 0x0237cbbc, size: 263 bytes, params: 3, frame: 17
|
|
const intl = (IndexNativeModule).intl;
|
|
const AVAILABLE = BoostInfoType.AVAILABLE;
|
|
if (AVAILABLE === a1) {
|
|
return intl.formatToPlainString((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */).BdRXZA,
|
|
{boostCount: a0});
|
|
}
|
|
const SPENT = BoostInfoType.SPENT;
|
|
if (SPENT === a1) {
|
|
return intl.formatToPlainString((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */).xvgIVG,
|
|
{boostCount: a0});
|
|
}
|
|
const TOTAL = BoostInfoType.TOTAL;
|
|
if (TOTAL === a1) {
|
|
return intl.string((importDefault(2256) /* metro dependency 2256: GuildPowerupsMessages */)['/F7Z2y']);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun110546, 14621, [8259, 1244, 2256, 2]) /* metro module 14621, dependencies: [8259, 1244, 2256, 2] */;
|