decord/alpha/source/utils/ClipboardUtils.native.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

78 lines
2 KiB
TypeScript

// Module ID: 6796
// Function ID: 6797
// Name: ClipboardUtils
// Dependencies: [5, 6797, 2]
// Exports: copy, getString
// Module 6796 (ClipboardUtils)
import _modDef6797 from "module_6797" /* 6797 */;
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 {
_modDef6797.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 _modDef6797.getString();
};