52 lines
3.5 KiB
TypeScript
52 lines
3.5 KiB
TypeScript
/* Metro module 7636; source: modules/billing/native/UnsupportedFeatureModal.tsx; dependencies: [31, 27, 33, 5280, 5282, 5080, 4573, 1244, 2] */
|
|
import ModalActionCreators from '../../../actions/ModalActionCreators.tsx'; /* Metro dependency 5080 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
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 IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
|
|
import * as NavigatorNativeModule from '../../../design/components/Navigator/native/Navigator.native.tsx'; /* Metro dependency 5280 */
|
|
|
|
function _fun61154(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:6, offset: 0x0171c108, size: 157 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/billing/native/UnsupportedFeatureModal.tsx');
|
|
exports.default = UnsupportedFeatureModal;
|
|
function UnsupportedFeatureModal({title, onDismiss}) { // fn#61155, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:227, offset: 0x0171c1a5, size: 135 bytes, params: 2, frame: 19
|
|
const Navigator = (NavigatorNativeModule).Navigator;
|
|
const object2 = {title: title};
|
|
object2.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(_fun61156);
|
|
object2.render = render_61157;
|
|
return <Navigator initialRouteName="Unsupported" screens={{Unsupported: object2}} />;
|
|
function _fun61156() { // fn#61156, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:413, offset: 0x0171c22c, size: 58 bytes, params: 1, frame: 12
|
|
const value = environment.__proto__;
|
|
(ModalActionCreators).pop();
|
|
if (onDismiss != null) {
|
|
onDismiss();
|
|
}
|
|
}
|
|
|
|
function UnsupportedFeatureModalRender() { // fn#61157, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7814:455, owner: UnsupportedFeatureModal.render, offset: 0x0171c266, size: 143 bytes, params: 1, frame: 20
|
|
const Text = (TextModule).Text;
|
|
const intl = (IndexNativeModule).intl;
|
|
const string = intl.string;
|
|
const I22zuX = (IndexNativeModule).t.I22zuX;
|
|
return (
|
|
<View style={{'flex': 1, 'alignItems': 'center', 'justifyContent': 'center', 'padding': 24}}>
|
|
<Text variant="text-lg/normal" color="text-default">
|
|
{Reflect.apply(string, intl, [I22zuX])}
|
|
</Text>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun61154, 7636, [31, 27, 33, 5280, 5282, 5080, 4573, 1244,
|
|
2]) /* metro module 7636, dependencies: [31, 27, 33, 5280, 5282, 5080, 4573, 1244, 2] */;
|