// Module ID: 10089 // Function ID: 10090 // Name: _pickDirectory // Dependencies: [5, 17, 10085] // Exports: pickDirectory // Module 10089 (_pickDirectory) import asyncGeneratorStep from "asyncGeneratorStep"; import { Platform } from "get ActivityIndicator"; const require = arg1; function _pickDirectory() { const self = this; const tmp = callback((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 { return { value: "T", done: null }; } } 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 { obj = { mode: "open" }; const merged = Object.assign(callback); const NativeDocumentPicker = callback(table[2]).NativeDocumentPicker; table = 3; const obj1 = { value: null, done: true }; obj1[0] = NativeDocumentPicker.pickDirectory(obj); return obj1; } } catch (tmp9) { table = tmp; throw tmp9; } } })(); }); const _pickDirectory = tmp; const apply = tmp.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } return applyArgumentsResult; } export const pickDirectory = function pickDirectory(arg0) { const self = this; const apply = _pickDirectory.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } return applyArgumentsResult; };