decord/source/modules/frames/FramesActionCreators.native.tsx

99 lines
2.7 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 10482
// Function ID: 10483
2026-07-20 16:05:17 +00:00
// Name: _launchFrameOnNative
2026-08-05 07:35:12 +00:00
// Dependencies: [5, 4271, 10483, 10484, 2]
2026-07-23 10:11:24 +00:00
2026-08-05 07:35:12 +00:00
// Module 10482 (_launchFrameOnNative)
2026-07-23 10:11:24 +00:00
import asyncGeneratorStep from "asyncGeneratorStep";
2026-07-29 08:29:29 +00:00
import updateVoiceState from "updateVoiceState";
2026-07-23 10:11:24 +00:00
import merged from "_launchFrame";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
function _launchFrameOnNative() {
const self = this;
const tmp = callback((arg0) => {
let closure_0 = arg0;
let c2 = 0;
let c3 = 0;
return (function*(arg0) {
if (c3 === 2) {
c3 = 3;
HermesBuiltin.throwTypeError();
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw arg1;
} else if (arg0 === 2) {
let obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
2026-08-05 07:35:12 +00:00
return { value: "T", done: null };
2026-07-29 08:29:29 +00:00
}
} else {
try {
c3 = 2;
if (0 === table) {
if (arg0 === 1) {
c3 = 3;
throw arg1;
} else if (arg0 === 2) {
c3 = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
let c1 = 0;
let obj1 = outer1_1(table[3]);
table = 1;
c3 = 1;
obj1 = { value: null, done: false };
obj1[0] = obj1.launchFrame(closure_0);
return obj1;
}
} else if (arg0 === 1) {
c3 = 3;
throw arg1;
} else if (arg0 === 2) {
c3 = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
(function closeVoicePanel() {
if (currentClientInVoiceChannel.isCurrentClientInVoiceChannel()) {
callback(table[2])();
}
})();
c3 = 3;
2026-08-05 07:35:12 +00:00
return { value: "T", done: null };
2026-07-29 08:29:29 +00:00
}
} catch (tmp10) {
c3 = tmp;
throw tmp10;
}
}
})();
});
const _launchFrameOnNative = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
2026-07-25 08:10:48 +00:00
}
2026-07-29 08:29:29 +00:00
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let obj = {};
obj.launchFrame = function launchFrameOnNative() {
const self = this;
const apply = _launchFrameOnNative.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
const result = require("closeVoicePanels").fileFinishedImporting("modules/frames/FramesActionCreators.native.tsx");
2026-07-20 16:05:17 +00:00
export default obj;