Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,51 @@
|
||||
/* Metro module 10662; source: modules/activities/native/IgnoreThermalStateAlert.tsx; dependencies: [31, 33, 4501, 4596, 1244, 7860, 4573, 2] */
|
||||
function _fun81998(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10848:6, offset: 0x01ee6a12, size: 207 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.jsxs;
|
||||
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({text: {'marginTop': 16,
|
||||
'lineHeight': 20, 'textAlign': 'center'}, header: {textAlign: 'center'}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/native/IgnoreThermalStateAlert.tsx');
|
||||
exports.IgnoreThermalStateAlert = IgnoreThermalStateAlert;
|
||||
}
|
||||
|
||||
function IgnoreThermalStateAlert(a0) { // fn#81999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10848:351, offset: 0x01ee6ae1, size: 434 bytes, params: 2, frame: 25
|
||||
const env0_0 = a0.onConfirm;
|
||||
let value = Object.create(null);
|
||||
value.onConfirm = 0;
|
||||
const value2 = copyDataProperties({}, a0, value, undefined);
|
||||
const styles = useStyles();
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const defaultImportProps = {...value2};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
defaultImportProps['cancelText'] = Reflect.apply(string, intl,
|
||||
[(require(1244) /* metro dependency 1244: indexNative */).t['1fRDnT']]);
|
||||
defaultImportProps['onCancel'] = IgnoreThermalStateAlertOnCancel;
|
||||
defaultImportProps['confirmText'] = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.oEAioF);
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
value = <Text style={styles.header} variant="heading-lg/extrabold" color="mobile-text-heading-primary">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.v5X4fZ)}</Text>;
|
||||
string = intl.string;
|
||||
const VOgTjy = (require(1244) /* metro dependency 1244: indexNative */).t.VOgTjy;
|
||||
return (
|
||||
<Alert {...defaultImportProps}>
|
||||
{value}
|
||||
<Text style={styles.text} variant="text-md/medium">
|
||||
{Reflect.apply(string, intl, [VOgTjy])}
|
||||
</Text>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
function IgnoreThermalStateAlertOnCancel() { // fn#82000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10848:498, owner: IgnoreThermalStateAlert.onCancel, offset: 0x01ee6c93, size: 60 bytes, params: 1, frame: 11
|
||||
if (onConfirm != null) {
|
||||
onConfirm();
|
||||
}
|
||||
const value = environment.__proto__;
|
||||
(require(7860) /* metro dependency 7860: EmbeddedActivitiesActionCreators */).disregardSeriousThermalState();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user