Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,58 @@
|
||||
/* Metro module 8805; source: modules/people/strangers/native/AcceptRequestConfirmationModal.tsx; dependencies: [31, 27, 33, 4501, 697, 4596, 1244, 4647, 4573, 2] */
|
||||
function _fun68850(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68850, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8990:6, offset: 0x01c5efc3, size: 251 bytes, params: 8, frame: 22
|
||||
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 */).View;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_4 = value.jsx;
|
||||
const env0_5 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
|
||||
const env0_6 = Reflect.apply(createStyles, value, [{bodyText: {'textAlign': 'center', 'alignItems': 'center',
|
||||
gap: PX_8}, text: {textAlign: 'center'}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/people/strangers/native/AcceptRequestConfirmationModal.tsx');
|
||||
exports.default = AcceptRequestConfirmationModal;
|
||||
}
|
||||
|
||||
function AcceptRequestConfirmationModal({onCancel, onConfirm}) { // fn#68851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8990:277, offset: 0x01c5f0be, size: 425 bytes, params: 2, frame: 26
|
||||
const styles = useStyles();
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const object2 = {};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const MMlhsr = (require(1244) /* metro dependency 1244: indexNative */).t.MMlhsr;
|
||||
object2.confirmText = Reflect.apply(string, intl, [MMlhsr]);
|
||||
object2.cancelText = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC']);
|
||||
object2.onConfirm = onConfirm;
|
||||
object2.onCancel = onCancel;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
let text = styles.text;
|
||||
const text2 = <Text variant="heading-lg/bold" color="text-strong" style={text}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.eJzSDT)}</Text>;
|
||||
text = styles.text;
|
||||
string = intl.string;
|
||||
const GB4jUw = (require(1244) /* metro dependency 1244: indexNative */).t.GB4jUw;
|
||||
return (
|
||||
<Alert {...object2}>
|
||||
<View style={styles.bodyText}>
|
||||
{text2}
|
||||
<Text
|
||||
variant="text-md/medium"
|
||||
color="text-subtle"
|
||||
style={text}
|
||||
>
|
||||
{Reflect.apply(string, intl, [GB4jUw])}
|
||||
</Text>
|
||||
</View>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
function AcceptRequestConfirmationModalOnConfirm() { // fn#68852, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8990:483, owner: AcceptRequestConfirmationModal.onConfirm, offset: 0x01c5f267, size: 48 bytes, params: 1, frame: 12
|
||||
onConfirm();
|
||||
const value = environment.__proto__;
|
||||
(importDefault(4647) /* metro dependency 4647: AlertActionCreators */).close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user