Files
2026-07-28 01:06:53 +03:00

30 lines
1.9 KiB
TypeScript

/* Metro module 1582; source: utils/native/ClientInfoUtils.tsx; dependencies: [27, 477, 657, 2] */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as PlatformUtilsModule from '../PlatformUtils.tsx'; /* Metro dependency 477 */
function _fun17598(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1709:6, offset: 0x00e70e30, size: 133 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('utils/native/ClientInfoUtils.tsx');
exports.getConstants = getConstants_17599;
exports.getBuildNumberLabel = function() {
var value = '5867';
return ['0', '123456', '1234567890'].includes(value) ? 'dev (' + value + ')' : value;
};
function getConstants_17599() { // fn#17599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1709:201, offset: 0x00e70eb5, size: 151 bytes, params: 1, frame: 13
if (PlatformUtilsModule.isAndroid()) {
if ((importDefault(657) /* metro dependency 657: NativeClientInfoModule */) === null) {
throw new global.Error('Turbo module RTNClientInfoManager is undefined for Android');
}
return (importDefault(657) /* metro dependency 657: NativeClientInfoModule */).getConstants();
}
const InfoDictionaryManager = NativeModules.InfoDictionaryManager;
return InfoDictionaryManager.getConstants();
}
}
global.__d(_fun17598, 1582, [27, 477, 657, 2]) /* metro module 1582, dependencies: [27, 477, 657, 2] */;