decord/source/704_baseGet.js

41 lines
783 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 704
2026-07-23 10:11:24 +00:00
// Function ID: 8712
2026-07-20 16:05:17 +00:00
// Name: baseGet
2026-07-23 10:11:24 +00:00
// Dependencies: [705, 702]
2026-07-20 16:05:17 +00:00
// Module 704 (baseGet)
export default function baseGet(arg0, arg1) {
2026-07-23 10:11:24 +00:00
const arr = require(705) /* castPath */(arg1, arg0);
2026-07-20 16:05:17 +00:00
let tmp = arg0;
let num = 0;
if (null != arg0) {
let tmp2 = arg0;
let num3 = 0;
tmp = arg0;
num = 0;
if (0 < length) {
const sum = tmp5 + 1;
2026-07-23 10:11:24 +00:00
const tmp7 = tmp2[require(undefined, 702) /* toKey */(undefined, arr[+num3])];
2026-07-20 16:05:17 +00:00
tmp = tmp7;
num = sum;
2026-07-23 10:11:24 +00:00
while (null != tmp7) {
2026-07-20 16:05:17 +00:00
tmp2 = tmp7;
num3 = sum;
tmp = tmp7;
num = sum;
if (sum >= length) {
break;
}
}
}
}
let tmp8;
if (num) {
if (num == length) {
tmp8 = tmp;
}
}
return tmp8;
};