Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,52 @@
|
||||
/* Metro module 8833; source: modules/activity_status/native/ApplicationStreamActivityStatus.tsx; dependencies: [31, 33, 1244, 8834, 8835, 8837, 2] */
|
||||
function _fun68996(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9018:6, offset: 0x01c64233, size: 157 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.Fragment;
|
||||
const env0_5 = value.jsxs;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activity_status/native/ApplicationStreamActivityStatus.tsx');
|
||||
exports.default = ApplicationStreamActivityStatus;
|
||||
}
|
||||
|
||||
function ApplicationStreamActivityStatus({game, iconStyle, textStyle, maxFontSizeMultiplier, hideIcon, hideText}) { // fn#68997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9018:254, offset: 0x01c642d0, size: 394 bytes, params: 2, frame: 26
|
||||
var r7;
|
||||
var r9;
|
||||
var value4;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
var jsxRuntimeEnv0_4Binding;
|
||||
var items2;
|
||||
hideIcon = !(hideIcon === undefined) && hideIcon;
|
||||
hideText = !(hideText === undefined) && hideText;
|
||||
if (hideIcon) {
|
||||
if (hideText) {
|
||||
return null;
|
||||
}
|
||||
value4 = null;
|
||||
r7 = (value4 == game ? undefined : game.name) === '' ? value4 : value4 == game ? undefined : game.name;
|
||||
r9 = value4 != r7 ? intl.format((require(1244) /* metro dependency 1244: indexNative */).t['0wJXSh'],
|
||||
{name: r7}) : intl.string((require(1244) /* metro dependency 1244: indexNative */).t.eXan7B);
|
||||
jsxRuntimeEnv0_4Binding = jsxRuntimeEnv0_4;
|
||||
r7 = !hideIcon && ((Component) => <Component icon={(require(8835) /* metro dependency 8835: TvIcon */).TvIcon} style={iconStyle} />)(importDefault(8834) /* metro dependency 8834: ActivityStatusIcon */);
|
||||
items2 = [r7];
|
||||
items2[1] = !hideText && ((Component) => <Component style={textStyle} maxFontSizeMultiplier={maxFontSizeMultiplier}>{r9}</Component>)(importDefault(8837) /* metro dependency 8837: ActivityStatusText */);
|
||||
return (
|
||||
<>
|
||||
{items2}
|
||||
</>
|
||||
);
|
||||
}
|
||||
value4 = null;
|
||||
r7 = (value4 == game ? undefined : game.name) === '' ? value4 : value4 == game ? undefined : game.name;
|
||||
return (
|
||||
<>
|
||||
{!hideIcon && ((Component) => <Component icon={(require(8835) /* metro dependency 8835: TvIcon */).TvIcon} style={iconStyle} />)(importDefault(8834) /* metro dependency 8834: ActivityStatusIcon */)}
|
||||
{!hideText && ((Component) => <Component style={textStyle} maxFontSizeMultiplier={maxFontSizeMultiplier}>{value4 != r7 ? intl.format((require(1244) /* metro dependency 1244: indexNative */).t['0wJXSh'],
|
||||
{name: r7}) : intl.string((require(1244) /* metro dependency 1244: indexNative */).t.eXan7B)}</Component>)(importDefault(8837) /* metro dependency 8837: ActivityStatusText */)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user