2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 116
|
|
|
|
|
// Function ID: 1621
|
|
|
|
|
// Name: codegenNativeCommands
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [117]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 116 (codegenNativeCommands)
|
2026-07-23 10:11:24 +00:00
|
|
|
const require = arg1;
|
|
|
|
|
const dependencyMap = arg6;
|
2026-07-20 16:05:17 +00:00
|
|
|
arg5.default = function codegenNativeCommands(supportedCommands) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = {};
|
2026-07-20 16:05:17 +00:00
|
|
|
supportedCommands = supportedCommands.supportedCommands;
|
|
|
|
|
const item = supportedCommands.forEach((arg0) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
|
|
|
|
closure_0[arg0] = (nodeFromPublicInstance) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
const length = arguments.length;
|
|
|
|
|
let num = 0;
|
|
|
|
|
if (length > 1) {
|
|
|
|
|
num = length - 1;
|
|
|
|
|
}
|
|
|
|
|
const array = new Array(num);
|
|
|
|
|
for (let num2 = 1; num2 < length; num2 = num2 + 1) {
|
|
|
|
|
array[num2 - 1] = arguments[num2];
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = obj(outer2_1[0]);
|
|
|
|
|
obj.dispatchCommand(nodeFromPublicInstance, closure_0, array);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
return obj;
|
|
|
|
|
};
|