Files
discord-decomp/sources/components_native/calls/stream/StreamFullAlert.tsx
T
2026-07-27 16:20:00 +03:00

47 lines
2.8 KiB
TypeScript

/* Metro module 16190; source: components_native/calls/stream/StreamFullAlert.tsx; dependencies: [31, 27, 33, 9235, 1244, 4596, 4573, 16191, 2] */
function _fun125092(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16398:6, offset: 0x025cdb23, size: 207 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 env0_3 = (require(27) /* metro dependency 27 */).Image;
const value = require(33) /* metro dependency 33 */;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
({image: {'alignSelf': 'center', 'marginTop': 32}}).body = {marginTop: 16};
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/calls/stream/StreamFullAlert.tsx');
exports.default = StreamFullAlert;
}
function StreamFullAlert(a0) { // fn#125093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16398:217, offset: 0x025cdbf2, size: 444 bytes, params: 2, frame: 26
const value2 = undefined;
const avErrorModule = require(9235) /* metro dependency 9235: AVError */;
const getErrorInfo = avErrorModule.getErrorInfo;
const AVError = avErrorModule.AVError;
const STREAM_FULL = AVError.STREAM_FULL;
const value3 = Reflect.apply(getErrorInfo, avErrorModule, [STREAM_FULL]);
const errorCode = value3 == null ? value2 : value3.errorCode;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const value4 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.ejOT95,
{errorCode: errorCode});
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
const defaultImportProps = {...a0};
let string = intl.string;
const GzjdO5 = (require(1244) /* metro dependency 1244: indexNative */).t.GzjdO5;
defaultImportProps['title'] = Reflect.apply(string, intl, [GzjdO5]);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const binding = env0_6;
const body = binding.body;
string = intl.string;
const VVZDBL = (require(1244) /* metro dependency 1244: indexNative */).t.VVZDBL;
const items2 = [<Text variant="text-md/normal" style={body}>{Reflect.apply(string, intl, [VVZDBL])}</Text>];
items2[1] = <Text variant="text-md/normal" selectable color="text-muted" style={binding.body}>{value4}</Text>;
items2[2] = <Image source={importDefault(16191) /* metro dependency 16191 */} style={binding.image} />;
return (
<Alert {...defaultImportProps}>
{items2}
</Alert>
);
}