// Module ID: 7190 // Function ID: 7191 // Name: _copy // Dependencies: [5, 7191, 2] // Exports: copy, getString // Module 7190 (_copy) import useClipboardDefault from "useClipboard" /* 7191 */; import closure_2 from "asyncGeneratorStep" /* 5 */; function _copy() { const self = this; const tmp = callback((arg0, arg1) => { closure_0 = arg0; closure_1 = arg1; c3 = 0; c2 = 0; return (function*(arg0, arg1) { if (c2 === 2) { c2 = 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 { return { value: "HermesInternal", done: null }; } } else { try { c2 = 2; if (0 === c3) { if (arg0 === 1) { c2 = 3; throw arg1; } else if (arg0 === 2) { c2 = 3; obj = { value: null, done: true }; obj[0] = arg1; return obj; } else { obj1 = callback(table[1]); obj1.setString(callback); if (table != null) { table(); } c3 = 1; c2 = 1; obj1 = { value: null, done: false }; obj1[0] = Promise.resolve(); return obj1; } } else if (arg0 === 1) { c2 = 3; throw arg1; } else if (arg0 === 2) { c2 = 3; obj = { value: null, done: true }; obj[0] = arg1; return obj; } else { c2 = 3; return { value: "HermesInternal", done: null }; } } catch (tmp13) { c2 = tmp; throw tmp13; } } })(); }); closure_3 = tmp; const apply = tmp.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } return applyArgumentsResult; } const result = require("set").fileFinishedImporting("utils/ClipboardUtils.native.tsx"); export const SUPPORTS_COPY = true; export const copy = function copy() { const self = this; const apply = _copy.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } return applyArgumentsResult; }; export const getString = function getString() { return useClipboardDefault.getString(); };