197 lines
13 KiB
JavaScript
197 lines
13 KiB
JavaScript
/* Metro module 4755; source: unknown; dependencies: [57, 4754, 4756] */
|
|
import Module00057 from './module-00057.js'; /* Metro dependency 57 */
|
|
import Module04754 from './module-04754.js'; /* Metro dependency 4754 */
|
|
import * as Module04756Module from './module-04756.js'; /* Metro dependency 4756 */
|
|
|
|
function _fun41047(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#41047, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:6, offset: 0x01113aa7, size: 1603 bytes, params: 8, frame: 20
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {34852: 'SpectralSensitivity', 34855: 'ISOSpeedRatings', 34858: 'TimeZoneOffset', 34859: 'SelfTimerMode',
|
|
34865: 'StandardOutputSensitivity', 34866: 'RecommendedExposureIndex', 34867: 'ISOSpeed',
|
|
34868: 'ISOSpeedLatitudeyyy', 34869: 'ISOSpeedLatitudezzz', 36867: 'DateTimeOriginal',
|
|
36868: 'DateTimeDigitized', 36873: 'GooglePlusUploadCode', 36880: 'OffsetTime', 36881: 'OffsetTimeOriginal',
|
|
36882: 'OffsetTimeDigitized', 37122: 'CompressedBitsPerPixel', 37379: 'BrightnessValue',
|
|
37380: 'ExposureBiasValue', 37393: 'ImageNumber', 37395: 'ImageHistory', 37520: 'SubSecTime',
|
|
37521: 'SubSecTimeOriginal', 37522: 'SubSecTimeDigitized', 37724: 'ImageSourceData', 40962: 'PixelXDimension',
|
|
40963: 'PixelYDimension', 40964: 'RelatedSoundFile', 40965: 'Interoperability IFD Pointer',
|
|
41483: 'FlashEnergy', 41486: 'FocalPlaneXResolution', 41487: 'FocalPlaneYResolution', 41493: 'ExposureIndex',
|
|
42016: 'ImageUniqueID', 42032: 'CameraOwnerName', 42033: 'BodySerialNumber', 42035: 'LensMake',
|
|
42036: 'LensModel', 42037: 'LensSerialNumber', 42081: 'SourceImageNumberOfCompositeImage',
|
|
42082: 'SourceExposureTimesOfCompositeImage', 42240: 'Gamma', 59932: 'Padding', 59933: 'OffsetSchema',
|
|
65000: 'OwnerName', 65001: 'SerialNumber', 65002: 'Lens', 65100: 'RawFile', 65101: 'Converter',
|
|
65102: 'WhiteBalance', 65105: 'Exposure', 65106: 'Shadows', 65107: 'Brightness', 65108: 'Contrast',
|
|
65109: 'Saturation', 65110: 'Sharpness', 65111: 'Smoothness', 65112: 'MoireFilter'};
|
|
const ExposureTime = (Module04754).ExposureTime;
|
|
object[33434] = {name: 'ExposureTime', description: ExposureTime};
|
|
const FNumber = (Module04754).FNumber;
|
|
object[33437] = {name: 'FNumber', description: FNumber};
|
|
const ExposureProgram = (Module04754).ExposureProgram;
|
|
object[34850] = {name: 'ExposureProgram', description: ExposureProgram};
|
|
object[34856] = {name: 'OECF', description: function() {
|
|
return '[Raw OECF table data]';
|
|
}};
|
|
object[34864] = {name: 'SensitivityType', description: function(a0) {
|
|
return ({1: 'Standard Output Sensitivity', 2: 'Recommended Exposure Index', 3: 'ISO Speed',
|
|
4: 'Standard Output Sensitivity and Recommended Exposure Index',
|
|
5: 'Standard Output Sensitivity and ISO Speed',
|
|
6: 'Recommended Exposure Index and ISO Speed',
|
|
7: 'Standard Output Sensitivity, Recommended Exposure Index and ISO Speed'})[a0] || 'Unknown';
|
|
}};
|
|
object[36864] = {name: 'ExifVersion', description: description_41050};
|
|
const ComponentsConfiguration = (Module04754).ComponentsConfiguration;
|
|
object[37121] = {name: 'ComponentsConfiguration', description: ComponentsConfiguration};
|
|
const ShutterSpeedValue = (Module04754).ShutterSpeedValue;
|
|
object[37377] = {name: 'ShutterSpeedValue', description: ShutterSpeedValue};
|
|
const ApertureValue = (Module04754).ApertureValue;
|
|
object[37378] = {name: 'ApertureValue', description: ApertureValue};
|
|
object[37381] = {name: 'MaxApertureValue', description: function(a0) {
|
|
var Math = global.Math;
|
|
var Math2 = global.Math;
|
|
var value = Math2.sqrt(2);
|
|
value = Math.pow(value, a0[0] / a0[1]);
|
|
return value.toFixed(2);
|
|
}};
|
|
object[37382] = {name: 'SubjectDistance', description: function(a0) {
|
|
return a0[0] / a0[1] + ' m';
|
|
}};
|
|
const MeteringMode = (Module04754).MeteringMode;
|
|
object[37383] = {name: 'MeteringMode', description: MeteringMode};
|
|
const LightSource = (Module04754).LightSource;
|
|
object[37384] = {name: 'LightSource', description: LightSource};
|
|
object[37385] = {name: 'Flash', description: description_41053};
|
|
const FocalLength = (Module04754).FocalLength;
|
|
object[37386] = {name: 'FocalLength', description: FocalLength};
|
|
object[37394] = {name: 'SecurityClassification', description: function(a0) {
|
|
return ({'C': 'Confidential', 'R': 'Restricted', 'S': 'Secret', 'T': 'Top Secret',
|
|
'U': 'Unclassified'})[a0] || 'Unknown';
|
|
}};
|
|
object[37396] = {name: 'SubjectArea', description: description_41055};
|
|
object[37500] = {name: 'MakerNote', description: function() {
|
|
return '[Raw maker note data]';
|
|
}};
|
|
const getEncodedString = (Module04756Module).getEncodedString;
|
|
object[37510] = {name: 'UserComment', description: getEncodedString};
|
|
object[37888] = {name: 'AmbientTemperature', description: function(a0) {
|
|
return a0[0] / a0[1] + ' °C';
|
|
}};
|
|
object[37889] = {name: 'Humidity', description: function(a0) {
|
|
return a0[0] / a0[1] + ' %';
|
|
}};
|
|
object[37890] = {name: 'Pressure', description: function(a0) {
|
|
return a0[0] / a0[1] + ' hPa';
|
|
}};
|
|
object[37891] = {name: 'WaterDepth', description: function(a0) {
|
|
return a0[0] / a0[1] + ' m';
|
|
}};
|
|
object[37892] = {name: 'Acceleration', description: function(a0) {
|
|
return a0[0] / a0[1] + ' mGal';
|
|
}};
|
|
object[37893] = {name: 'CameraElevationAngle', description: function(a0) {
|
|
return a0[0] / a0[1] + ' °';
|
|
}};
|
|
object[40960] = {name: 'FlashpixVersion', description: function(a0) {
|
|
return a0.map(_fun41064).join('');
|
|
}};
|
|
const ColorSpace = (Module04754).ColorSpace;
|
|
object[40961] = {name: 'ColorSpace', description: ColorSpace};
|
|
object[41484] = {name: 'SpatialFrequencyResponse', description: function() {
|
|
return '[Raw SFR table data]';
|
|
}};
|
|
const FocalPlaneResolutionUnit = (Module04754).FocalPlaneResolutionUnit;
|
|
object[41488] = {name: 'FocalPlaneResolutionUnit', description: FocalPlaneResolutionUnit};
|
|
object[41492] = {name: 'SubjectLocation', description: description_41066};
|
|
object[41495] = {name: 'SensingMethod', description: function(a0) {
|
|
return a0 === 1 ? 'Undefined' : a0 === 2 ? 'One-chip color area sensor' : a0 === 3 ? 'Two-chip color area sensor' : a0 === 4 ? 'Three-chip color area sensor' : a0 === 5 ? 'Color sequential area sensor' : a0 === 7 ? 'Trilinear sensor' : a0 !== 8 ? 'Unknown' : 'Color sequential linear sensor';
|
|
}};
|
|
object[41728] = {name: 'FileSource', description: function(a0) {
|
|
return a0 !== 3 ? 'Unknown' : 'DSC';
|
|
}};
|
|
object[41729] = {name: 'SceneType', description: function(a0) {
|
|
return a0 !== 1 ? 'Unknown' : 'A directly photographed image';
|
|
}};
|
|
object[41730] = {name: 'CFAPattern', description: function() {
|
|
return '[Raw CFA pattern table data]';
|
|
}};
|
|
const CustomRendered = (Module04754).CustomRendered;
|
|
object[41985] = {name: 'CustomRendered', description: CustomRendered};
|
|
const ExposureMode = (Module04754).ExposureMode;
|
|
object[41986] = {name: 'ExposureMode', description: ExposureMode};
|
|
const WhiteBalance = (Module04754).WhiteBalance;
|
|
object[41987] = {name: 'WhiteBalance', description: WhiteBalance};
|
|
object[41988] = {name: 'DigitalZoomRatio', description: function(a0) {
|
|
return a0[0] === 0 ? 'Digital zoom was not used' : String(a0[0] / a0[1]);
|
|
}};
|
|
const FocalLengthIn35mmFilm = (Module04754).FocalLengthIn35mmFilm;
|
|
object[41989] = {name: 'FocalLengthIn35mmFilm', description: FocalLengthIn35mmFilm};
|
|
const SceneCaptureType = (Module04754).SceneCaptureType;
|
|
object[41990] = {name: 'SceneCaptureType', description: SceneCaptureType};
|
|
object[41991] = {name: 'GainControl', description: function(a0) {
|
|
return a0 === 0 ? 'None' : a0 === 1 ? 'Low gain up' : a0 === 2 ? 'High gain up' : a0 === 3 ? 'Low gain down' : a0 !== 4 ? 'Unknown' : 'High gain down';
|
|
}};
|
|
const Contrast = (Module04754).Contrast;
|
|
object[41992] = {name: 'Contrast', description: Contrast};
|
|
const Saturation = (Module04754).Saturation;
|
|
object[41993] = {name: 'Saturation', description: Saturation};
|
|
const Sharpness = (Module04754).Sharpness;
|
|
object[41994] = {name: 'Sharpness', description: Sharpness};
|
|
object[41995] = {name: 'DeviceSettingDescription', description: function() {
|
|
return '[Raw device settings table data]';
|
|
}};
|
|
object[41996] = {name: 'SubjectDistanceRange', description: function(a0) {
|
|
return a0 === 1 ? 'Macro' : a0 === 2 ? 'Close view' : a0 !== 3 ? 'Unknown' : 'Distant view';
|
|
}};
|
|
object[42034] = {name: 'LensSpecification', description: description_41075};
|
|
object[42080] = {name: 'CompositeImage', description: function(a0) {
|
|
return ({1: 'Not a Composite Image', 2: 'General Composite Image',
|
|
3: 'Composite Image Captured While Shooting'})[a0] || 'Unknown';
|
|
}};
|
|
exports.default = object;
|
|
function description_41050(a0) { // fn#41050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:1044, offset: 0x01114110, size: 41 bytes, params: 2, frame: 11
|
|
return (Module04756Module).getStringValue(a0);
|
|
}
|
|
|
|
function description_41063(a0) { // fn#41063, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:4563, offset: 0x01114481, size: 36 bytes, params: 2, frame: 11
|
|
return a0.map(function(a0) {
|
|
var String = global.String;
|
|
return String.fromCharCode(a0);
|
|
}).join('');
|
|
}
|
|
|
|
function description_41066(a0) { // fn#41066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:5136, offset: 0x011144ad, size: 68 bytes, params: 2, frame: 15
|
|
const value = Module00057(a0, 2);
|
|
return 'X: ' + value[0] + ', Y: ' + value[1];
|
|
}
|
|
|
|
}
|
|
|
|
function description_41053(a0) { // fn#41053, offset: 0x01114159, size: 399 bytes, params: 2, frame: 24
|
|
return a0 === 0 ? 'Flash did not fire' : a0 === 1 ? 'Flash fired' : a0 === 5 ? 'Strobe return light not detected' : a0 === 7 ? 'Strobe return light detected' : a0 === 9 ? 'Flash fired, compulsory flash mode' : a0 === 13 ? 'Flash fired, compulsory flash mode, return light not detected' : a0 === 15 ? 'Flash fired, compulsory flash mode, return light detected' : a0 === 16 ? 'Flash did not fire, compulsory flash mode' : a0 === 24 ? 'Flash did not fire, auto mode' : a0 === 25 ? 'Flash fired, auto mode' : a0 === 29 ? 'Flash fired, auto mode, return light not detected' : a0 === 31 ? 'Flash fired, auto mode, return light detected' : a0 === 32 ? 'No flash function' : a0 === 65 ? 'Flash fired, red-eye reduction mode' : a0 === 69 ? 'Flash fired, red-eye reduction mode, return light not detected' : a0 === 71 ? 'Flash fired, red-eye reduction mode, return light detected' : a0 === 73 ? 'Flash fired, compulsory flash mode, red-eye reduction mode' : a0 === 77 ? 'Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected' : a0 === 79 ? 'Flash fired, compulsory flash mode, red-eye reduction mode, return light detected' : a0 === 89 ? 'Flash fired, auto mode, red-eye reduction mode' : a0 === 93 ? 'Flash fired, auto mode, return light not detected, red-eye reduction mode' : a0 !== 95 ? 'Unknown' : 'Flash fired, auto mode, return light detected, red-eye reduction mode';
|
|
}
|
|
|
|
function description_41055(a0) { // fn#41055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:3496, offset: 0x01114306, size: 211 bytes, params: 2, frame: 26
|
|
return a0.length === 2 ? 'Location; X: ' + a0[0] + ', Y: ' + a0[1] : a0.length === 3 ? 'Circle; X: ' + a0[0] + ', Y: ' + a0[1] + ', diameter: ' + a0[2] : a0.length !== 4 ? 'Unknown' : 'Rectangle; X: ' + a0[0] + ', Y: ' + a0[1] + ', width: ' + a0[2] + ', height: ' + a0[3];
|
|
}
|
|
|
|
function _fun41064(a0) { // fn#41064, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:4601, offset: 0x011075bf, size: 24 bytes, params: 2, frame: 11
|
|
const String = global.String;
|
|
return String.fromCharCode(a0);
|
|
}
|
|
|
|
function description_41075(a0) { // fn#41075, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4933:7027, offset: 0x01114653, size: 273 bytes, params: 2, frame: 23
|
|
let parseFloat = global.parseFloat;
|
|
let value = a0[0][0] / a0[0][1];
|
|
value = value.toFixed(5);
|
|
value = parseFloat(value);
|
|
parseFloat = global.parseFloat;
|
|
const value2 = a0[1][0] / a0[1][1];
|
|
value = '' + value + '-' + parseFloat(value2.toFixed(5)) + ' mm';
|
|
if (a0[3][1] === 0) {
|
|
return '' + value + ' f/?';
|
|
}
|
|
const value4 = 1 / (a0[2][1] / a0[2][1] / (a0[3][0] / a0[3][1]));
|
|
return '' + value + ' f/' + global.parseFloat(value4.toFixed(5));
|
|
}
|
|
|
|
global.__d(_fun41047, 4755, [57, 4754, 4756]) /* metro module 4755, dependencies: [57, 4754, 4756] */;
|