67 lines
2.8 KiB
TypeScript
67 lines
2.8 KiB
TypeScript
/* Metro module 8058; source: modules/interactions/SkemaUtils.tsx; dependencies: [57, 2] */
|
|
import Module00057 from '../../by-id/module-00057.js'; /* Metro dependency 57 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun63953(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8236:6, offset: 0x01b97190, size: 121 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/interactions/SkemaUtils.tsx');
|
|
exports.getFirstSkemaError = function(a0) {
|
|
return getFirstSkemaFieldError(a0, undefined);
|
|
};
|
|
function getFirstSkemaFieldError(a0, a1) { // fn#63954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8236:118, offset: 0x01b97209, size: 173 bytes, params: 3, frame: 23
|
|
var r8;
|
|
var Array;
|
|
var value5;
|
|
var property2;
|
|
var value6;
|
|
const value = a1;
|
|
let property = a0[env0_1];
|
|
if (property != null) {
|
|
Array = global.Array;
|
|
reducibleJoin2: while (true) {
|
|
if (Array.isArray(property)) {
|
|
return property[0];
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
}
|
|
const Object = global.Object;
|
|
const value3 = Object.entries(a0);
|
|
let length = value3.length;
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
r8 = value4;
|
|
reducibleLoop3: while (true) {
|
|
property = value3[r8];
|
|
value5 = Module00057(property, 2);
|
|
property = value5[value4];
|
|
property2 = value5[1];
|
|
if (property !== env0_1) {
|
|
reducibleJoin6: while (true) {
|
|
if (property2 == null) {
|
|
break reducibleJoin6;
|
|
}
|
|
if (typeof property2 === 'object') {
|
|
break reducibleLoop3;
|
|
}
|
|
break reducibleJoin6;
|
|
}
|
|
}
|
|
value6 = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1;
|
|
length = value3.length;
|
|
if (!(value6 < length)) {
|
|
return null;
|
|
}
|
|
r8 = value6;
|
|
continue reducibleLoop3;
|
|
}
|
|
return getFirstSkemaFieldError(property2, value ?? property);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63953, 8058, [57, 2]) /* metro module 8058, dependencies: [57, 2] */;
|