decord/source/modules/app_startup/native/executeHeadlessTask.tsx

98 lines
2.7 KiB
TypeScript
Raw Normal View History

// Module ID: 17931
// Function ID: 17932
2026-07-20 16:05:17 +00:00
// Name: _executeHeadlessTask
// Dependencies: [5, 17, 502, 17231, 1074, 3, 1232, 7757, 15, 9, 13670, 1242, 1250, 17351, 4447, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 17931 (_executeHeadlessTask)
2026-08-24 06:08:38 +00:00
import closure_4 from "asyncGeneratorStep" /* 5 */;
import { AppState } from "get ActivityIndicator" /* 17 */;
import closure_6 from "fetchFingerprint" /* 502 */;
import linkFromAppsFlyer from "linkFromAppsFlyer" /* 17231 */;
import { AnalyticEvents } from "ME" /* 1074 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-20 16:05:17 +00:00
function _executeHeadlessTask() {
2026-07-29 08:29:29 +00:00
const self = this;
const tmp = callback((arg0, arg1, arg2) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
closure_1 = arg1;
closure_2 = arg2;
c11 = 0;
c12 = 0;
c9 = 0;
2026-07-29 08:29:29 +00:00
return (function*(arg0, arg1, arg2) {
if (c12 === 2) {
c12 = 3;
HermesBuiltin.throwTypeError();
} else if (tmp11 === 3) {
if (arg0 === 1) {
throw arg1;
} else if (arg0 === 2) {
let obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
return { value: "HermesInternal", done: null };
}
2026-07-29 08:29:29 +00:00
} else {
try {
2026-07-29 08:29:29 +00:00
if (arg0 === 1) {
c12 = 3;
2026-07-29 08:29:29 +00:00
throw arg1;
} else {
if (arg0 !== 2) {
c9 = 0;
c12 = 3;
}
c9 = 0;
c12 = 3;
obj = { value: null, done: true };
2026-07-29 08:29:29 +00:00
obj[0] = arg1;
return obj;
}
} catch (tmp12) {
closure_10 = tmp12;
if (tmp4 === c9) {
c12 = tmp3;
throw tmp12;
} else if (tmp2 === tmp14) {
c11 = tmp2;
} else if (tmp === tmp14) {
c11 = tmp;
} else if (tmp3 === tmp14) {
c11 = tmp9;
} else if (tmp5 === tmp14) {
c11 = tmp8;
} else if (tmp9 === tmp14) {
c11 = tmp7;
} else {
c11 = tmp6;
2026-07-29 08:29:29 +00:00
}
}
}
})();
});
2026-08-24 06:08:38 +00:00
closure_10 = tmp;
2026-07-29 08:29:29 +00:00
const apply = tmp.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-08-24 06:08:38 +00:00
({ initHeadlessTask: error, applicationReady: closure_8 } = linkFromAppsFlyer);
const result = require("set").fileFinishedImporting("modules/app_startup/native/executeHeadlessTask.tsx");
2026-07-20 16:05:17 +00:00
export default function executeHeadlessTask() {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _executeHeadlessTask.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
};