24 lines
1.9 KiB
TypeScript
24 lines
1.9 KiB
TypeScript
/* Metro module 12574; source: modules/virtual_currency/hooks/useVirtualCurrencyEnabled.tsx; dependencies: [12575, 2] */
|
|
import VirtualCurrencyRolloutExperiment from '../experiments/VirtualCurrencyRolloutExperiment.tsx'; /* Metro dependency 12575 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun96332(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12764:6, offset: 0x0215aef5, size: 112 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/virtual_currency/hooks/useVirtualCurrencyEnabled.tsx');
|
|
exports.isVirtualCurrencyEnabled = isVirtualCurrencyEnabled_96333;
|
|
exports.useVirtualCurrencyEnabled = useVirtualCurrencyEnabled;
|
|
function isVirtualCurrencyEnabled_96333(a0) { // fn#96333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12764:213, offset: 0x0215af65, size: 51 bytes, params: 2, frame: 12
|
|
const getConfig = VirtualCurrencyRolloutExperiment.getConfig;
|
|
return {enabled: Reflect.apply(getConfig, VirtualCurrencyRolloutExperiment, [a0]).enabled};
|
|
}
|
|
|
|
function useVirtualCurrencyEnabled(a0) { // fn#96334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12764:285, offset: 0x0215af98, size: 51 bytes, params: 2, frame: 12
|
|
const useConfig = VirtualCurrencyRolloutExperiment.useConfig;
|
|
return {enabled: Reflect.apply(useConfig, VirtualCurrencyRolloutExperiment, [a0]).enabled};
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun96332, 12574, [12575, 2]) /* metro module 12574, dependencies: [12575, 2] */;
|