37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
// Metro module 5459 (f5460).
|
|
const asyncGeneratorStep = function asyncGeneratorStep(a0, a1, a2, a3, a4, a5, a6) {
|
|
let r9, value;
|
|
try {
|
|
const r8 = a0[a5](a6);
|
|
r9 = r8;
|
|
value = r8.value;
|
|
} catch ($e) {
|
|
a2($e);
|
|
return void 0;
|
|
}
|
|
if (r9.done) {
|
|
a1(value);
|
|
} else {
|
|
Promise.resolve(value).then(a3, a4);
|
|
}
|
|
};
|
|
module.exports = function _asyncToGenerator(c14859_0) {
|
|
return function() {
|
|
const _this = this;
|
|
let c25469_1 = arguments;
|
|
return new Promise(function(resolve, reject) {
|
|
let _this2, _throw2;
|
|
const _next2 = function _next(a0) {
|
|
asyncGeneratorStep(_this2, resolve, reject, _next2, _throw2, "next", a0);
|
|
};
|
|
_throw2 = function _throw(a0) {
|
|
asyncGeneratorStep(_this2, resolve, reject, _next2, _throw2, "throw", a0);
|
|
};
|
|
_this2 = c14859_0.apply(_this, c25469_1);
|
|
asyncGeneratorStep(_this2, resolve, reject, _next2, _throw2, "next", void 0);
|
|
});
|
|
};
|
|
};
|
|
module.exports.__esModule = true;
|
|
module.exports.default = module.exports;
|