decord/source/10062_releaseLongTermAccess.js

116 lines
3 KiB
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 10062
// Function ID: 10063
2026-07-29 08:29:29 +00:00
// Name: releaseLongTermAccess
2026-08-05 07:35:12 +00:00
// Dependencies: [5, 10054]
2026-07-29 08:29:29 +00:00
// Exports: releaseLongTermAccess, releaseSecureAccess
2026-08-05 07:35:12 +00:00
// Module 10062 (releaseLongTermAccess)
2026-07-29 08:29:29 +00:00
import importDefaultResult from "asyncGeneratorStep";
let closure_0 = arg1;
closure_0 = importDefaultResult((arg0) => {
let closure_0 = arg0;
let c1 = 0;
return (function*(arg0) {
if (table === 2) {
table = 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 {
table = 2;
if (arg0 === 1) {
table = 3;
throw arg1;
} else if (arg0 === 2) {
table = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
const NativeDocumentPicker = callback(table[1]).NativeDocumentPicker;
table = 3;
obj = { value: null, done: true };
obj[0] = NativeDocumentPicker.releaseLongTermAccess(callback);
return obj;
}
} catch (tmp7) {
table = tmp;
throw tmp7;
}
}
})();
});
closure_0 = importDefaultResult((arg0) => {
let closure_0 = arg0;
let c1 = 0;
return (function*(arg0) {
if (table === 2) {
table = 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 {
table = 2;
if (arg0 === 1) {
table = 3;
throw arg1;
} else if (arg0 === 2) {
table = 3;
obj = { value: null, done: true };
obj[0] = arg1;
return obj;
} else {
const NativeDocumentPicker = callback(table[1]).NativeDocumentPicker;
table = 3;
obj = { value: null, done: true };
obj[0] = NativeDocumentPicker.releaseSecureAccess(callback);
return obj;
}
} catch (tmp7) {
table = tmp;
throw tmp7;
}
}
})();
});
export const releaseLongTermAccess = function releaseLongTermAccess(closure_0) {
const self = this;
const apply = closure_0.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};
export const releaseSecureAccess = function releaseSecureAccess(closure_0) {
const self = this;
const apply = closure_0.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};