Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,46 @@
|
||||
/* Metro module 8803; source: modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx; dependencies: [8804, 661, 33, 683, 4496, 8805, 1962, 2] */
|
||||
function _fun68843(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:6, offset: 0x01c5ed40, size: 167 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(8804) /* metro dependency 8804: Constants */).ACCEPT_FRIEND_REQUEST_CONFIRMATION_MODAL_ID;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx');
|
||||
exports.openAcceptFriendRequestConfirmModal = openAcceptFriendRequestConfirmModal;
|
||||
}
|
||||
|
||||
function openAcceptFriendRequestConfirmModal({onConfirm, onCancel}) { // fn#68844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:335, offset: 0x01c5ede7, size: 120 bytes, params: 2, frame: 18
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const OPEN_MODAL = AnalyticEvents.OPEN_MODAL;
|
||||
Reflect.apply(track, defaultImport, [OPEN_MODAL, {type: ACCEPT_FRIEND_REQUEST_CONFIRMATION_MODAL_ID}]);
|
||||
const alertActionCreators = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
|
||||
alertActionCreators.openLazy({importer: importer_68845});
|
||||
}
|
||||
|
||||
function openAcceptFriendRequestConfirmModalImporter() { // fn#68845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:470, owner: openAcceptFriendRequestConfirmModal.importer, offset: 0x01c5ee5f, size: 64 bytes, params: 1, frame: 13
|
||||
var environment;
|
||||
let value = environment.__proto__;
|
||||
value = require(dependencyMap[6]);
|
||||
value = value(dependencyMap[5], dependencyMap.paths);
|
||||
return value.then(function({default: env0_0}) {
|
||||
return _fun68847;
|
||||
});
|
||||
}
|
||||
|
||||
function _fun68846({default: env0_0}) { // fn#68846, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:502, offset: 0x01c5ee9f, size: 23 bytes, params: 2, frame: 2
|
||||
return _fun68847;
|
||||
}
|
||||
|
||||
function _fun68847(a0) { // fn#68847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:517, offset: 0x01c5eeb6, size: 77 bytes, params: 2, frame: 14
|
||||
return ((Component) => <Component {...a0} {...{['onCancel']: onCancel_68848}} {...{['onConfirm']: onConfirm}} />)(a0);
|
||||
}
|
||||
|
||||
function onCancel_68848() { // fn#68848, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8988:539, offset: 0x01c5ef03, size: 44 bytes, params: 1, frame: 10
|
||||
env0_0.onClose();
|
||||
if (onCancel != null) {
|
||||
onCancel();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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