Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,55 @@
|
||||
/* Metro module 12245; source: modules/premium/fractional/native/NitroCreditEducationActionSheet.tsx; dependencies: [27, 661, 33, 4501, 697, 6275, 7684, 4573, 6766, 1244, 1948, 2] */
|
||||
function _fun93685(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93685, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12431:6, offset: 0x020bf0b2, size: 348 bytes, params: 8, frame: 22
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).HelpdeskArticles;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_5 = value.jsx;
|
||||
const env0_6 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const object = {'flexDirection': 'row', 'backgroundColor': null, 'justifyContent': 'center', 'borderRadius': null,
|
||||
'marginBottom': 12};
|
||||
const BACKGROUND_MOD_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_SUBTLE;
|
||||
object.backgroundColor = BACKGROUND_MOD_SUBTLE;
|
||||
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
|
||||
const env0_7 = Reflect.apply(createStyles, value, [{container: {'marginTop': 32, 'marginHorizontal': 30},
|
||||
aboutContainer: object, warningIcon: {margin: 16}, aboutTextContainer: {'justifyContent': 'center', 'flex': 1,
|
||||
'marginRight': 30}, helpdeskText: {'textAlign': 'center', 'marginBottom': 24}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/fractional/native/NitroCreditEducationActionSheet.tsx');
|
||||
exports.default = NitroCreditEducationActionSheet;
|
||||
}
|
||||
|
||||
function NitroCreditEducationActionSheet({aboutText}) { // fn#93686, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12431:651, offset: 0x020bf20e, size: 394 bytes, params: 2, frame: 27
|
||||
const styles = useStyles();
|
||||
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
|
||||
const CircleErrorIcon = (require(7684) /* metro dependency 7684: CircleErrorIcon */).CircleErrorIcon;
|
||||
const circleErrorIcon = <CircleErrorIcon size="lg" style={styles.warningIcon} />;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const view = <View style={styles.aboutContainer}>{circleErrorIcon}<View style={styles.aboutTextContainer}><Text variant="text-sm/medium" color="always-white">{aboutText}</Text></View></View>;
|
||||
const TextWithIOSLinkWorkaround = (require(6766) /* metro dependency 6766: TextWithIOSLinkWorkaround */).TextWithIOSLinkWorkaround;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const format = intl.format;
|
||||
const bg3jBj = (require(1244) /* metro dependency 1244: indexNative */).t.bg3jBj;
|
||||
const defaultImport = importDefault(1948) /* metro dependency 1948: HelpdeskUtils */;
|
||||
const getArticleURL = defaultImport.getArticleURL;
|
||||
const FRACTIONAL_PREMIUM_ABOUT = HelpdeskArticles.FRACTIONAL_PREMIUM_ABOUT;
|
||||
return (
|
||||
<BottomSheet>
|
||||
<View style={styles.container}>
|
||||
{view}
|
||||
<TextWithIOSLinkWorkaround
|
||||
variant="text-sm/medium"
|
||||
color="always-white"
|
||||
style={styles.helpdeskText}
|
||||
>
|
||||
{Reflect.apply(format, intl, [bg3jBj, {helpCenterLink: Reflect.apply(getArticleURL, defaultImport,
|
||||
[FRACTIONAL_PREMIUM_ABOUT])}])}
|
||||
</TextWithIOSLinkWorkaround>
|
||||
</View>
|
||||
</BottomSheet>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user