/* Metro module 9997; source: modules/game_profile/GameProfileReviewUtils.tsx; dependencies: [4269, 1244, 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 GameDetectionTypesModule from '../game_detection/GameDetectionTypes.tsx'; /* Metro dependency 4269 */ function _fun78149(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:6, offset: 0x01e1d126, size: 122 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/game_profile/GameProfileReviewUtils.tsx'); exports.getSteamReviewScoreDescriptionColor = getSteamReviewScoreDescriptionColor; exports.getSteamReviewScoreDescriptionIntl = getSteamReviewScoreDescriptionIntl; exports.canShowLocalizedSteamReview = function(a0) { var r0; r0 = a0 != null && a0.localizedRating != null && a0.localizedRatingCount != null; r0 = r0 && a0.ratingCount != null && a0.localizedRatingCount >= 200 && a0.ratingCount >= 2000; return r0; }; function getSteamReviewScoreDescriptionColor(a0) { // fn#78150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:211, offset: 0x01e1d1a0, size: 398 bytes, params: 2, frame: 14 const SteamReviewScoreDescription = (GameDetectionTypesModule).SteamReviewScoreDescription; const NO_USER_REVIEWS = SteamReviewScoreDescription.NO_USER_REVIEWS; if (NO_USER_REVIEWS !== a0) { var OVERWHELMINGLY_POSITIVE = SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE; if (OVERWHELMINGLY_POSITIVE === a0) { return 'steam-review-text-positive'; } var VERY_POSITIVE = SteamReviewScoreDescription.VERY_POSITIVE; if (VERY_POSITIVE === a0) { return 'steam-review-text-positive'; } var POSITIVE = SteamReviewScoreDescription.POSITIVE; if (POSITIVE === a0) { return 'steam-review-text-positive'; } var MOSTLY_POSITIVE = SteamReviewScoreDescription.MOSTLY_POSITIVE; if (MOSTLY_POSITIVE === a0) { return 'steam-review-text-positive'; } var MIXED = SteamReviewScoreDescription.MIXED; if (MIXED === a0) { return 'steam-review-text-mixed'; } var MOSTLY_NEGATIVE = SteamReviewScoreDescription.MOSTLY_NEGATIVE; if (MOSTLY_NEGATIVE === a0) { return 'steam-review-text-negative'; } var NEGATIVE = SteamReviewScoreDescription.NEGATIVE; if (NEGATIVE === a0) { return 'steam-review-text-negative'; } var VERY_NEGATIVE = SteamReviewScoreDescription.VERY_NEGATIVE; if (VERY_NEGATIVE === a0) { return 'steam-review-text-negative'; } var OVERWHELMINGLY_NEGATIVE = SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE; if (OVERWHELMINGLY_NEGATIVE === a0) { return 'steam-review-text-negative'; } } return 'text-subtle'; } function getSteamReviewScoreDescriptionIntl(a0) { // fn#78151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:1016, offset: 0x01e1d32e, size: 958 bytes, params: 2, frame: 15 const intl = (IndexNativeModule).intl; const t = (IndexNativeModule).t; const SteamReviewScoreDescription = (GameDetectionTypesModule).SteamReviewScoreDescription; const NO_USER_REVIEWS = SteamReviewScoreDescription.NO_USER_REVIEWS; if (NO_USER_REVIEWS === a0) { return intl.string(t.CLMt8J); } const OVERWHELMINGLY_POSITIVE = SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE; if (OVERWHELMINGLY_POSITIVE === a0) { return intl.string(t['75sx1S']); } const VERY_POSITIVE = SteamReviewScoreDescription.VERY_POSITIVE; if (VERY_POSITIVE === a0) { return intl.string(t['EkOVg+']); } const POSITIVE = SteamReviewScoreDescription.POSITIVE; if (POSITIVE === a0) { return intl.string(t.ZUkFtr); } const MOSTLY_POSITIVE = SteamReviewScoreDescription.MOSTLY_POSITIVE; if (MOSTLY_POSITIVE === a0) { return intl.string(t.M7Z09a); } const MIXED = SteamReviewScoreDescription.MIXED; if (MIXED === a0) { return intl.string(t.c8yuHR); } const MOSTLY_NEGATIVE = SteamReviewScoreDescription.MOSTLY_NEGATIVE; if (MOSTLY_NEGATIVE === a0) { return intl.string(t.H0MSjG); } const NEGATIVE = SteamReviewScoreDescription.NEGATIVE; if (NEGATIVE === a0) { return intl.string(t.vpLrgz); } const VERY_NEGATIVE = SteamReviewScoreDescription.VERY_NEGATIVE; if (VERY_NEGATIVE === a0) { return intl.string(t['5spYuX']); } const OVERWHELMINGLY_NEGATIVE = SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE; if (OVERWHELMINGLY_NEGATIVE === a0) { return intl.string(t.A8uk5J); } return null; } } global.__d(_fun78149, 9997, [4269, 1244, 2]) /* metro module 9997, dependencies: [4269, 1244, 2] */;