decord/source/__polyfill/06xxx/module_6854.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

38 lines
843 B
JavaScript

// Module ID: 6854
// Function ID: 6855
// Dependencies: [17]
// Exports: applyRelationProp, getTVProps
// Module 6854
import _mod17 from "module_17" /* 17 */;
const Platform = _mod17.Platform;
export const getTVProps = function getTVProps(focusable) {
if (Platform.isTV) {
let flag = focusable.focusable;
if (flag == null) {
flag = focusable.isTVSelectable;
}
if (flag == null) {
flag = true;
}
const obj2 = { isTVSelectable: flag };
let obj = obj2;
} else {
obj = {};
}
return obj;
};
export const applyRelationProp = function applyRelationProp(arg0, arg1, arg2) {
if (arg2) {
const _Array = Array;
if (Array.isArray(arg2)) {
const items = [];
HermesBuiltin.arraySpread(arg2, 0);
HermesBuiltin.apply(items, arg0);
} else {
tmp4(arg2);
}
}
};