65 lines
2.6 KiB
React
65 lines
2.6 KiB
React
/* Metro module 4781; source: unknown; dependencies: [4731] */
|
|
function _fun41323(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#41323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4959:6, offset: 0x0111bdd6, size: 127 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const getImageWidth_41325 = function(a0) {
|
|
if (8 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
var value = a0.getUint16(6, true);
|
|
return {value: value, description: '' + value + 'px'};
|
|
};
|
|
const getImageHeight_41326 = function(a0) {
|
|
if (10 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
var value = a0.getUint16(8, true);
|
|
return {value: value, description: '' + value + 'px'};
|
|
};
|
|
const getGlobalColorMap = function(a0) {
|
|
if (11 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
var value = a0.getUint8(10);
|
|
value = (128 & value) >>> 7;
|
|
return {value: value, description: value !== 1 ? 'No' : 'Yes'};
|
|
};
|
|
const getColorResolution = function(a0) {
|
|
if (11 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
var value = a0.getUint8(10);
|
|
value = 1 + ((112 & value) >>> 4);
|
|
return {value: value, description: '' + value + ' ' + (value !== 1 ? 'bits' : 'bit')};
|
|
};
|
|
const getBitDepth_41329 = function(a0) {
|
|
if (11 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
var value = a0.getUint8(10);
|
|
value = 1 + (7 & value);
|
|
return {value: value, description: '' + value + ' ' + (value !== 1 ? 'bits' : 'bit')};
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = {read: function(a0) {
|
|
var object = {};
|
|
object['GIF Version'] = getGifVersion(a0);
|
|
object['Image Width'] = getImageWidth_41325(a0);
|
|
object['Image Height'] = getImageHeight_41326(a0);
|
|
object['Global Color Map'] = getGlobalColorMap(a0);
|
|
object['Bits Per Pixel'] = getBitDepth_41329(a0);
|
|
object['Color Resolution Depth'] = getColorResolution(a0);
|
|
return object;
|
|
}};
|
|
}
|
|
|
|
function getGifVersion(a0) { // fn#41324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4959:345, offset: 0x0111be55, size: 72 bytes, params: 2, frame: 14
|
|
if (6 > a0.byteLength) {
|
|
return undefined;
|
|
}
|
|
let value = require(4731) /* metro dependency 4731 */;
|
|
value = value.getStringFromDataView(a0, 3, 3);
|
|
return {value: value, description: value};
|
|
}
|
|
|