Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,50 @@
|
||||
/* Metro module 12379; source: modules/guild_limited_access/native/GuildLimitedAccessInfoAlert.tsx; dependencies: [31, 1867, 12380, 661, 33, 4501, 6597, 697, 1244, 4596, 1305, 4573, 2] */
|
||||
function _fun94327(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12565:6, offset: 0x02113f3c, size: 331 bytes, params: 8, frame: 23
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const env0_4 = (require(12380) /* metro dependency 12380: GuildLimitedAccessConstants */).GUILD_LIMITED_ACCESS_HC_LINK;
|
||||
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
||||
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 = {};
|
||||
const textStyles = importDefault(6597) /* metro dependency 6597: TextStyles */;
|
||||
const PRIMARY_BOLD = Fonts.PRIMARY_BOLD;
|
||||
const MOBILE_TEXT_HEADING_PRIMARY = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_TEXT_HEADING_PRIMARY;
|
||||
copyDataProperties(object, textStyles(PRIMARY_BOLD, MOBILE_TEXT_HEADING_PRIMARY, 24), undefined);
|
||||
object['textAlign'] = 'center';
|
||||
object['marginVertical'] = 12;
|
||||
const env0_7 = Reflect.apply(createStyles, value, [{header: object, text: {'textAlign': 'center',
|
||||
'marginVertical': 8}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_limited_access/native/GuildLimitedAccessInfoAlert.tsx');
|
||||
exports.default = _default_94328;
|
||||
}
|
||||
|
||||
function _default_94328({guildId, onClose}) { // fn#94328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12565:393, offset: 0x02114087, size: 385 bytes, params: 2, frame: 23
|
||||
const styles = useStyles();
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const format = intl.format;
|
||||
const ZqkXsC = (require(1244) /* metro dependency 1244: indexNative */).t.ZqkXsC;
|
||||
const value2 = Reflect.apply(format, intl, [ZqkXsC, {helpdeskArticle: GUILD_LIMITED_ACCESS_HC_LINK}]);
|
||||
const guild = GuildStore.getGuild(guildId);
|
||||
const r8 = guild == null ? value2 : intl.format((require(1244) /* metro dependency 1244: indexNative */).t.jn0Xyx,
|
||||
{guildName: guild.name, helpdeskArticle: GUILD_LIMITED_ACCESS_HC_LINK});
|
||||
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
const legacyText = <LegacyText style={styles.header}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.kJwpBW)}</LegacyText>;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
return (
|
||||
<Alert onClose={onClose}>
|
||||
{legacyText}
|
||||
<Text style={styles.text} variant="text-md/medium">
|
||||
{r8}
|
||||
</Text>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user