This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+172
View File
@@ -0,0 +1,172 @@
// Metro module 968 (f969).
function $mk67394($env) {
return function resume(a0, a1) {
const r1 = $env;
let env23925 = {
$parent: $env
};
env23925[0] = a0;
try {
const r8 = r1[0][a0](a1);
env23925[1] = r8;
const value = r8.value;
env23925[2] = value;
const r11 = $env.$parent;
const r16 = value instanceof (0, r11[0])(r11[1][0]);
env23925[3] = r16;
Promise.resolve(r16 ? value.v : value).then(function(result) {
let value;
L6: {
const r0 = env23925[3];
value = result;
if (r0) {
const r3 = env23925[0] === "return" ? "return" : "next";
if (env23925[2].k && !result.done) {
value = env23925.$parent[0][r3](result).value;
break L6;
}
(0, env23925.$parent[3])(r3, result);
return void 0;
}
}
const r18 = env23925[1].done ? "return" : "normal";
const r19 = env23925.$parent;
if (r18 === "return") {
r19[1].resolve({
value,
done: true
});
} else if (r18 === "throw") {
r19[1].reject(value);
} else {
r19[1].resolve({
value,
done: false
});
}
const next = r19[1].next;
r19[1] = next;
if (next) {
(0, r19[3])(next.key, r19[1].arg);
} else {
r19[2] = null;
}
}, $mk101531(r1));
} catch ($e) {
(0, r1[4])("throw", $e);
}
};
}
function $mk67395($env) {
return function settle(a0, a1) {
const r1 = $env;
if (a0 === "return") {
r1[1].resolve({
value: a1,
done: true
});
} else if (a0 === "throw") {
r1[1].reject(a1);
} else {
r1[1].resolve({
value: a1,
done: false
});
}
const next = r1[1].next;
r1[1] = next;
if (next) {
(0, r1[3])(next.key, r1[1].arg);
} else {
r1[2] = null;
}
};
}
function $mk67396($env) {
return function(a0, a1) {
let env23926 = {
$parent: $env
};
env23926[0] = a0;
env23926[1] = a1;
return new Promise(function(a0, a1) {
const key = env23926[0];
const arg = env23926[1];
const next = {
key,
arg,
resolve: a0,
reject: a1,
next: null
};
const r9 = env23926.$parent;
const r3 = r9[2];
if (r3) {
r3.next = next;
r9[2] = next;
} else {
r9[2] = next;
r9[1] = next;
(0, r9[3])(key, arg);
}
});
};
}
function $mk101531($env) {
return function(a0) {
(0, $env[3])("throw", a0);
};
}
let env797 = {};
const AsyncGenerator = function AsyncGenerator(a0) {
let env12597;
const r3 = env12597 = {
$parent: env797
};
env12597[0] = a0;
env12597[3] = $mk67394(r3);
env12597[4] = $mk67395(r3);
this._invoke = $mk67396(r3);
if (typeof a0.return !== "function") {
this.return = void 0;
}
};
const prototype = AsyncGenerator.prototype;
const Symbol2 = globalThis.Symbol;
prototype[(typeof Symbol2 === "function" ? Symbol.asyncIterator : typeof Symbol2 === "function") || "@@asyncIterator"] = function() {
return this;
};
AsyncGenerator.prototype.next = function(a0) {
return this._invoke("next", a0);
};
AsyncGenerator.prototype.throw = function(a0) {
return this._invoke("throw", a0);
};
AsyncGenerator.prototype.return = function(a0) {
return this._invoke("return", a0);
};
module.exports = function _wrapAsyncGenerator(c12598_0) {
return function() {
const r3 = env797;
const r11 = c12598_0.apply(this, arguments);
let env23927;
const r13 = {
__proto__: AsyncGenerator.prototype
};
const r14 = env23927 = {
$parent: r3
};
env23927[0] = r11;
env23927[1] = void 0;
env23927[2] = void 0;
env23927[3] = $mk67394(r14);
env23927[4] = $mk67395(r14);
r13._invoke = $mk67396(r14);
if (typeof r11.return !== "function") {
r13.return = void 0;
}
return r13;
};
};
module.exports.__esModule = true;
module.exports.default = module.exports;