decord/source/components_native/calls/stream/StreamFullAlert.tsx
2026-08-06 08:05:19 +00:00

41 lines
1.8 KiB
TypeScript

// Module ID: 16836
// Function ID: 16837
// Name: StreamFullAlert
// Dependencies: [19, 17, 21, 9092, 1236, 4713, 4281, 16837, 2]
// Exports: default
// Module 16836 (StreamFullAlert)
import "noop";
import { Image } from "get ActivityIndicator";
import jsxProd from "jsxProd";
let c4;
let c5;
const require = arg1;
({ jsx: c4, jsxs: c5 } = jsxProd);
let closure_6 = { image: { alignSelf: "center", marginTop: 32 }, body: { marginTop: 16 } };
const result = require("jsxProd").fileFinishedImporting("components_native/calls/stream/StreamFullAlert.tsx");
export default function StreamFullAlert(arg0) {
let obj = require(9092) /* mapped */;
const errorInfo = obj.getErrorInfo(require(9092) /* mapped */.AVError.STREAM_FULL);
let errorCode;
if (errorInfo != null) {
errorCode = errorInfo.errorCode;
}
const intl = tmp(1236).intl;
obj = {};
const formatToPlainStringResult = intl.formatToPlainString(require(1236) /* getSystemLocale */.t.ejOT95, { errorCode });
const merged = Object.assign(arg0);
const intl2 = tmp(1236).intl;
obj.title = intl2.string(require(1236) /* getSystemLocale */.t.GzjdO5);
obj = { variant: "text-md/normal", style: closure_6.body, children: null };
const intl3 = tmp(1236).intl;
obj[2] = intl3.string(require(1236) /* getSystemLocale */.t.VVZDBL);
const items = [callback(require(4281) /* Text */.Text, obj), callback(require(4281) /* Text */.Text, { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult }), ];
const obj1 = { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult };
const tmp6 = importDefault(4713);
items[2] = callback(Image, { source: importDefault(16837), style: closure_6.image });
obj.children = items;
return callback2(tmp6, obj);
};