Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,57 @@
|
||||
/* Metro module 7762; source: unknown; dependencies: [27, 7763] */
|
||||
function _fun62138(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7940:6, offset: 0x01b582f9, size: 144 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).processColor;
|
||||
const env0_3 = RegExp('^url\\(#(.+)\\)$', '');
|
||||
object = {type: 2};
|
||||
object = {type: 3};
|
||||
object = {type: 4};
|
||||
exports.default = extractBrush;
|
||||
}
|
||||
|
||||
function extractBrush(a0) { // fn#62139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7940:181, offset: 0x01b58389, size: 292 bytes, params: 2, frame: 17
|
||||
var r0;
|
||||
var value;
|
||||
var console;
|
||||
var warn;
|
||||
if (a0 === 'none') {
|
||||
return null;
|
||||
}
|
||||
if (a0 === 'currentColor') {
|
||||
return env0_4;
|
||||
}
|
||||
if (a0 === 'context-fill') {
|
||||
return env0_5;
|
||||
}
|
||||
if (a0 === 'context-stroke') {
|
||||
return env0_6;
|
||||
}
|
||||
const r2 = typeof a0 === 'string' && a0.match(env0_3);
|
||||
if (r2) {
|
||||
return {type: 1, brushRef: r2[1]};
|
||||
}
|
||||
const value3 = typeof processColor((require(7763) /* metro dependency 7763 */).convertPercentageColor(a0));
|
||||
if (value3 === 'number') {
|
||||
r0 = {type: 0, payload: value};
|
||||
} else if (value3 !== 'object') {
|
||||
console = global.console;
|
||||
warn = console.warn;
|
||||
value = global.String(a0);
|
||||
Reflect.apply(warn, console, ['"' + value + '" is not a valid color or brush']);
|
||||
value = null;
|
||||
r0 = value;
|
||||
} else if (value !== null) {
|
||||
r0 = {type: 0, payload: value};
|
||||
} else {
|
||||
console = global.console;
|
||||
warn = console.warn;
|
||||
value = global.String(a0);
|
||||
Reflect.apply(warn, console, ['"' + value + '" is not a valid color or brush']);
|
||||
value = null;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user