Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/* Metro module 8764; source: modules/markup/BioMarkupUtils.tsx; dependencies: [6623, 6624, 4599, 1393, 6713, 6622, 3855, 22, 2] */
|
||||
function _fun68582(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8949:6, offset: 0x01c55088, size: 416 bytes, params: 8, frame: 23
|
||||
const closure = getOrParseBioAST;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importDefault(6623) /* metro dependency 6623: combineMarkupRules */;
|
||||
const PROFILE_BIO_RULES = (importDefault(6624) /* metro dependency 6624: MarkupRules */).PROFILE_BIO_RULES;
|
||||
items = [PROFILE_BIO_RULES];
|
||||
items[1] = (importDefault(4599) /* metro dependency 4599: MarkupReactRulesNative */)({'enableBuildOverrides': false,
|
||||
'mustConfirmExternalLink': true});
|
||||
value = value(items);
|
||||
const value5 = new (importDefault(1393) /* metro dependency 1393 */)({max: 2000});
|
||||
const markupParserModule = importAll(6713) /* metro dependency 6713: MarkupParser */;
|
||||
let reactParserFor = markupParserModule.reactParserFor;
|
||||
const value8 = Reflect.apply(reactParserFor, markupParserModule, [value]);
|
||||
const env0_4 = (importDefault(6622) /* metro dependency 6622: MarkupUtils */).astParserFor(value);
|
||||
const value10 = markupParserModule;
|
||||
reactParserFor = value10.reactParserFor;
|
||||
const combineMarkupRules = importDefault(6623) /* metro dependency 6623: combineMarkupRules */;
|
||||
value = (importDefault(22) /* metro dependency 22 */).omit(value, ['link', 'url', 'autolink', 'customEmoji',
|
||||
'emoji', 'commandMention']);
|
||||
value = Reflect.apply(reactParserFor, value10, [combineMarkupRules([value, {emoji: {react: function() {
|
||||
return null;
|
||||
}}}])]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/markup/BioMarkupUtils.tsx');
|
||||
exports.parseBioReact = value8;
|
||||
exports.getOrParseBioAST = closure;
|
||||
exports.parseBioReactWithCachedAST = parseBioReactWithCachedAST;
|
||||
exports.parseBioReactWithoutScrolling = value;
|
||||
}
|
||||
|
||||
function getOrParseBioAST(a0) { // fn#68583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8949:277, offset: 0x01c55228, size: 60 bytes, params: 2, frame: 15
|
||||
var r0;
|
||||
var value3;
|
||||
const value2 = env0_3.get(a0);
|
||||
if (value2 != null) {
|
||||
r0 = value2;
|
||||
} else {
|
||||
value3 = env0_4(a0, true);
|
||||
env0_3.set(a0, value3);
|
||||
r0 = value3;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function parseBioReactWithCachedAST(a0) { // fn#68585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8949:659, offset: 0x01c55264, size: 109 bytes, params: 2, frame: 17
|
||||
if (a0.trim().length === 0) {
|
||||
return null;
|
||||
}
|
||||
const orParseBioAST = getOrParseBioAST(a0);
|
||||
const defaultImport = importDefault(3855) /* metro dependency 3855 */;
|
||||
const reactFor = defaultImport.reactFor;
|
||||
const defaultImport2 = defaultImport;
|
||||
return Reflect.apply(reactFor, defaultImport, [defaultImport2.ruleOutput(env0_2, 'react')])(orParseBioAST);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user