aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/regenerator.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/runtime/helpers/regenerator.js')
-rw-r--r--node_modules/@babel/runtime/helpers/regenerator.js89
1 files changed, 89 insertions, 0 deletions
diff --git a/node_modules/@babel/runtime/helpers/regenerator.js b/node_modules/@babel/runtime/helpers/regenerator.js
new file mode 100644
index 0000000..0cf8710
--- /dev/null
+++ b/node_modules/@babel/runtime/helpers/regenerator.js
@@ -0,0 +1,89 @@
+var regeneratorDefine = require("./regeneratorDefine.js");
+function _regenerator() {
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
+ var e,
+ t,
+ r = "function" == typeof Symbol ? Symbol : {},
+ n = r.iterator || "@@iterator",
+ o = r.toStringTag || "@@toStringTag";
+ function i(r, n, o, i) {
+ var c = n && n.prototype instanceof Generator ? n : Generator,
+ u = Object.create(c.prototype);
+ return regeneratorDefine(u, "_invoke", function (r, n, o) {
+ var i,
+ c,
+ u,
+ f = 0,
+ p = o || [],
+ y = !1,
+ G = {
+ p: 0,
+ n: 0,
+ v: e,
+ a: d,
+ f: d.bind(e, 4),
+ d: function d(t, r) {
+ return i = t, c = 0, u = e, G.n = r, a;
+ }
+ };
+ function d(r, n) {
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
+ var o,
+ i = p[t],
+ d = G.p,
+ l = i[2];
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
+ }
+ if (o || r > 1) return a;
+ throw y = !0, n;
+ }
+ return function (o, p, l) {
+ if (f > 1) throw TypeError("Generator is already running");
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
+ try {
+ if (f = 2, i) {
+ if (c || (o = "next"), t = i[o]) {
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
+ if (!t.done) return t;
+ u = t.value, c < 2 && (c = 0);
+ } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
+ i = e;
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
+ } catch (t) {
+ i = e, c = 1, u = t;
+ } finally {
+ f = 1;
+ }
+ }
+ return {
+ value: t,
+ done: y
+ };
+ };
+ }(r, o, i), !0), u;
+ }
+ var a = {};
+ function Generator() {}
+ function GeneratorFunction() {}
+ function GeneratorFunctionPrototype() {}
+ t = Object.getPrototypeOf;
+ var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () {
+ return this;
+ }), t),
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
+ function f(e) {
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
+ }
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () {
+ return this;
+ }), regeneratorDefine(u, "toString", function () {
+ return "[object Generator]";
+ }), (module.exports = _regenerator = function _regenerator() {
+ return {
+ w: i,
+ m: f
+ };
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
+}
+module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage