Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,45 @@
|
||||
/* Metro module 16231; source: i18n/native/i18nMessagesProvider.tsx; dependencies: [27, 477, 16232, 1282, 1244, 2] */
|
||||
function _fun125546(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16439:6, offset: 0x025dc2e8, size: 167 bytes, params: 8, frame: 18
|
||||
var i18nManager;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const NativeModules = (require(27) /* metro dependency 27 */).NativeModules;
|
||||
let value = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (value.isAndroid()) {
|
||||
value = importDefault(16232) /* metro dependency 16232: NativeI18nModule */;
|
||||
} else {
|
||||
i18nManager = NativeModules.i18nManager;
|
||||
}
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('i18n/native/i18nMessagesProvider.tsx');
|
||||
exports.default = function() {
|
||||
var Promise = global.Promise;
|
||||
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
var value2 = new Promise(_fun125548);
|
||||
return value2 instanceof Object ? value2 : value;
|
||||
};
|
||||
}
|
||||
|
||||
function newIntlMessagesProvider() { // fn#125547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16439:244, offset: 0x025dc38f, size: 39 bytes, params: 1, frame: 11
|
||||
const Promise = global.Promise;
|
||||
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
const promise = new Promise(_fun125548);
|
||||
return promise instanceof Object ? promise : value;
|
||||
}
|
||||
|
||||
function _fun125548(a0) { // fn#125548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16439:299, offset: 0x025dc3b6, size: 38 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
env1_2.keysRequest(_fun125549);
|
||||
}
|
||||
|
||||
function _fun125549(a0) { // fn#125549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16439:318, offset: 0x025dc3dc, size: 58 bytes, params: 2, frame: 11
|
||||
env2_2.valuesResult(a0.map(_fun125550));
|
||||
env0_0(true);
|
||||
}
|
||||
|
||||
function _fun125550(a0) { // fn#125550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16439:335, offset: 0x025dc416, size: 108 bytes, params: 2, frame: 15
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
const property = (require(1244) /* metro dependency 1244: indexNative */).t[(require(1282) /* metro dependency 1282 */).runtimeHashMessageKey(a0)];
|
||||
return property == null ? '' : (require(1244) /* metro dependency 1244: indexNative */).intl.reserialize(property);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/* Metro module 15578; source: i18n/native/index.tsx; dependencies: [15579, 15627, 2] */
|
||||
function _fun119400(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15775:6, offset: 0x02508a6e, size: 75 bytes, params: 8, frame: 14
|
||||
(require(15579) /* metro dependency 15579: i18n */).setUpdateRules(importDefault(15627) /* metro dependency 15627: updateRules */);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('i18n/native/index.tsx');
|
||||
}
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
/* Metro module 15627; source: i18n/native/updateRules.tsx; dependencies: [31, 661, 33, 3875, 3860, 697, 3853, 3855, 1305, 2] */
|
||||
function _fun119684(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:6, offset: 0x02515927, size: 235 bytes, params: 8, frame: 19
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const closure = I18nLink;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
||||
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
||||
object2 = {};
|
||||
const PRIMARY_SEMIBOLD = Fonts.PRIMARY_SEMIBOLD;
|
||||
object2.strong = {fontFamily: PRIMARY_SEMIBOLD};
|
||||
object2.italic = {fontStyle: 'italic'};
|
||||
object2.underline = {textDecorationLine: 'underline'};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('i18n/native/updateRules.tsx');
|
||||
exports.default = updateRules_119688;
|
||||
exports.I18nLink = closure;
|
||||
}
|
||||
|
||||
function I18nLink({node, output, state}) { // fn#119685, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:250, offset: 0x02515a12, size: 334 bytes, params: 2, frame: 22
|
||||
var property;
|
||||
const object2 = {};
|
||||
const binding = env0_3;
|
||||
const useContext = binding.useContext;
|
||||
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
|
||||
const alwaysShowLinkDecorations = Reflect.apply(useContext, binding,
|
||||
[AccessibilityPreferencesContext]).alwaysShowLinkDecorations;
|
||||
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
|
||||
const useToken = useTokenModule.useToken;
|
||||
const TEXT_LINK = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_LINK;
|
||||
const value3 = env0_3.useMemo(_fun119686, [Reflect.apply(useToken, useTokenModule, [TEXT_LINK]),
|
||||
alwaysShowLinkDecorations]);
|
||||
if (node.context != null) {
|
||||
property = node.context[node.target];
|
||||
if (property) {
|
||||
if (property.onClick) {
|
||||
object2.onClick = property.onClick;
|
||||
} else {
|
||||
object2.onClick = property;
|
||||
}
|
||||
} else {
|
||||
object2.onClick = property;
|
||||
}
|
||||
}
|
||||
if (object2.onClick == null) {
|
||||
object2.onClick = onClick_119687;
|
||||
}
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText
|
||||
accessible
|
||||
accessibilityRole="link"
|
||||
onPress={object2.onClick}
|
||||
style={value3}
|
||||
>
|
||||
{output(node.content, state)}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function updateRules_119688(a0) { // fn#119688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:870, offset: 0x02515bcd, size: 176 bytes, params: 2, frame: 14
|
||||
let object2 = {};
|
||||
copyDataProperties(object2, a0.paragraph, undefined);
|
||||
let closure = updateRules_119688React;
|
||||
object2['react'] = closure;
|
||||
a0.paragraph = object2;
|
||||
object2 = {};
|
||||
copyDataProperties(object2, a0.strong, closure);
|
||||
closure = updateRules_119688React_119690;
|
||||
object2['react'] = closure;
|
||||
a0.strong = object2;
|
||||
object2 = {};
|
||||
copyDataProperties(object2, a0.em, closure);
|
||||
closure = updateRules_119688React_119691;
|
||||
object2['react'] = closure;
|
||||
a0.em = object2;
|
||||
object2 = {};
|
||||
copyDataProperties(object2, a0.u, closure);
|
||||
closure = updateRules_119688React_119692;
|
||||
object2['react'] = closure;
|
||||
a0.u = object2;
|
||||
object2 = {};
|
||||
copyDataProperties(object2, a0.link, closure);
|
||||
object2['react'] = updateRules_119688React_119693;
|
||||
a0.link = object2;
|
||||
return a0;
|
||||
}
|
||||
|
||||
function _fun119686() { // fn#119686, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:444, offset: 0x02515b60, size: 35 bytes, params: 1, frame: 3
|
||||
return {color: env0_2, textDecorationLine: alwaysShowLinkDecorations ? 'underline' : 'none'};
|
||||
}
|
||||
|
||||
function I18nLinkOnClick() { // fn#119687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:634, owner: I18nLink.onClick, offset: 0x02515b83, size: 74 bytes, params: 1, frame: 14
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(3853) /* metro dependency 3853: Linking */;
|
||||
const openURL = value.openURL;
|
||||
const defaultImport = importDefault(3855) /* metro dependency 3855 */;
|
||||
return Reflect.apply(openURL, value, [defaultImport.sanitizeUrl(node.target)]);
|
||||
}
|
||||
|
||||
function updateRules_119688React(a0, a1, a2) { // fn#119689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:935, owner: updateRules_119688.react, offset: 0x02515c7d, size: 75 bytes, params: 4, frame: 17
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText key={a2.key}>
|
||||
{a1(a0.content, a2)}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function updateRules_119688React_119690(a0, a1, a2) { // fn#119690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:1042, owner: updateRules_119688.react, offset: 0x02515cc8, size: 89 bytes, params: 4, frame: 17
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText style={env1_5.strong} key={a2.key}>
|
||||
{a1(a0.content, a2)}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function updateRules_119688React_119691(a0, a1, a2) { // fn#119691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:1156, owner: updateRules_119688.react, offset: 0x02515d21, size: 89 bytes, params: 4, frame: 17
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText style={env1_5.italic} key={a2.key}>
|
||||
{a1(a0.content, a2)}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function updateRules_119688React_119692(a0, a1, a2) { // fn#119692, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:1268, owner: updateRules_119688.react, offset: 0x02515d7a, size: 89 bytes, params: 4, frame: 17
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText style={env1_5.underline} key={a2.key}>
|
||||
{a1(a0.content, a2)}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function updateRules_119688React_119693(a0, a1, a2) { // fn#119693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15835:1389, owner: updateRules_119688.react, offset: 0x02515dd3, size: 52 bytes, params: 4, frame: 15
|
||||
return (
|
||||
<I18nLink
|
||||
node={a0}
|
||||
output={a1}
|
||||
state={a2}
|
||||
key={a2.key}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user