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

65 lines
3.5 KiB
TypeScript

/* Metro module 16190; source: components_native/calls/stream/StreamFullAlert.tsx; dependencies: [31, 27, 33, 9235, 1244, 4596, 4573, 16191, 2] */
import Alert from '../../common/Alert.tsx'; /* Metro dependency 4596 */
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 ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as AVErrorModule from '../../../modules/errors/av_errors/AVError.tsx'; /* Metro dependency 9235 */
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});
ReactModule;
({image: {'alignSelf': 'center', 'marginTop': 32}}).body = {marginTop: 16};
(FileImportTrackerModule).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 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 = (IndexNativeModule).intl;
const value4 = intl.formatToPlainString((IndexNativeModule).t.ejOT95,
{errorCode: errorCode});
const defaultImportProps = {...a0};
let string = intl.string;
const GzjdO5 = (IndexNativeModule).t.GzjdO5;
defaultImportProps['title'] = Reflect.apply(string, intl, [GzjdO5]);
const Text = (TextModule).Text;
const binding = env0_6;
const body = binding.body;
string = intl.string;
const VVZDBL = (IndexNativeModule).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>
);
}
}
global.__d(_fun125092, 16190, [31, 27, 33, 9235, 1244, 4596, 4573, 16191,
2]) /* metro module 16190, dependencies: [31, 27, 33, 9235, 1244, 4596, 4573, 16191, 2] */;