decord/beta/source/utils/ClipboardUtils.native.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

78 lines
2 KiB
TypeScript

// Module ID: 7466
// Function ID: 7467
// Name: ClipboardUtils
// Dependencies: [5, 7467, 2]
// Exports: copy, getString
// Module 7466 (ClipboardUtils)
import _modDef7467 from "module_7467" /* 7467 */;
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
let closure_3 = async function _copy(arg0, value) {
if (c2 === 2) {
c2 = 3;
throw new TypeError("Generator functions may not be called on executing generators");
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw value;
} else if (arg0 === 2) {
const obj3 = { value, done: true };
return obj3;
} else {
return { value: "HermesInternal", done: null };
}
} else {
try {
c2 = 2;
if (0 === c3) {
if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj4 = { value, done: true };
return obj4;
} else {
_modDef7467.setString(closure_0);
if (dependencyMap != null) {
dependencyMap();
}
c3 = 1;
c2 = 1;
const obj5 = { value: Promise.resolve(), done: false };
return obj5;
}
} else if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj = { value, done: true };
return obj;
} else {
c2 = 3;
return { value: "HermesInternal", done: null };
}
} catch (tmp13) {
c2 = tmp;
throw tmp13;
}
}
};
const size = fn(2);
const result = size.fileFinishedImporting("utils/ClipboardUtils.native.tsx");
export const SUPPORTS_COPY = true;
export const copy = function copy() {
const self = this;
const apply = closure_3.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};
export const getString = function getString() {
return _modDef7467.getString();
};