45 lines
1.8 KiB
React
45 lines
1.8 KiB
React
/* Metro module 39; source: unknown; dependencies: [40, 41] */
|
|
function _fun1274(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:64:6, offset: 0x00c56d53, size: 73 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = normalizeColor;
|
|
}
|
|
|
|
function normalizeColor(a0) { // fn#1275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:64:98, offset: 0x00c56d9c, size: 113 bytes, params: 2, frame: 14
|
|
let value = typeof a0;
|
|
if (value !== 'object') {
|
|
if (value === 'string') {
|
|
value = environment;
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
if (value === 'number') {
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
} else {
|
|
if (a0 == null) {
|
|
if (value === 'string') {
|
|
value = environment;
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
if (value === 'number') {
|
|
value = environment;
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
return undefined;
|
|
}
|
|
var value3 = (require(40) /* metro dependency 40 */).normalizeColorObject(a0);
|
|
if (value3 != null) {
|
|
return value3;
|
|
}
|
|
if (value === 'string') {
|
|
value = environment;
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
if (value === 'number') {
|
|
return (importDefault(41) /* metro dependency 41 */)(a0);
|
|
}
|
|
}
|
|
}
|
|
|