48 lines
2.9 KiB
TypeScript
48 lines
2.9 KiB
TypeScript
/* Metro module 8806; source: modules/user_profile/native/UserProfileConfirmVideoUnstableConnection.tsx; dependencies: [31, 33, 4500, 1244, 4500, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
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 AlertModalNativeModule from '../../../design/components/AlertModal/native/AlertModal.native.tsx'; /* Metro dependency 4500 */
|
|
|
|
function _fun68853(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8991:6, offset: 0x01c5f297, size: 140 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/native/UserProfileConfirmVideoUnstableConnection.tsx');
|
|
exports.default = UserProfileConfirmVideoUnstableConnection;
|
|
function UserProfileConfirmVideoUnstableConnection({onConfirm}) { // fn#68854, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8991:248, offset: 0x01c5f323, size: 374 bytes, params: 2, frame: 27
|
|
const AlertModal = (AlertModalNativeModule).AlertModal;
|
|
const object = {};
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
object.title = Reflect.apply(string, intl, [(require(1244) /* metro dependency 1244: indexNative */).t.m2Hyj0]);
|
|
string = intl.string;
|
|
const EhaK6B = (require(1244) /* metro dependency 1244: indexNative */).t.EhaK6B;
|
|
object.content = Reflect.apply(string, intl, [EhaK6B]);
|
|
const AlertActions = (AlertModalNativeModule).AlertActions;
|
|
const AlertActionButton = (AlertModalNativeModule).AlertActionButton;
|
|
string = intl.string;
|
|
const ND1my3 = (require(1244) /* metro dependency 1244: indexNative */).t.ND1my3;
|
|
object.actions = (
|
|
<AlertActions>
|
|
<AlertActionButton
|
|
text={Reflect.apply(string, intl, [ND1my3])}
|
|
onPress={onConfirm}
|
|
key="confirm"
|
|
/>
|
|
<AlertActionButton
|
|
variant="secondary"
|
|
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.jEqEhy)}
|
|
key="cancel"
|
|
/>
|
|
</AlertActions>
|
|
);
|
|
return <AlertModal {...object} />;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun68853, 8806, [31, 33, 4500, 1244, 4500,
|
|
2]) /* metro module 8806, dependencies: [31, 33, 4500, 1244, 4500, 2] */;
|