init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
function _arrayLikeToArray(r, a) {
|
||||
(null == a || a > r.length) && (a = r.length);
|
||||
for (var e = 0, n = new Array(a); e < a; e++) n[e] = r[e];
|
||||
return n;
|
||||
}
|
||||
|
||||
module.exports = _arrayLikeToArray;
|
||||
@@ -0,0 +1,7 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||
|
||||
function _arrayWithoutHoles(r) {
|
||||
if (Array.isArray(r)) return arrayLikeToArray(r);
|
||||
}
|
||||
|
||||
module.exports = _arrayWithoutHoles;
|
||||
@@ -0,0 +1,26 @@
|
||||
function asyncGeneratorStep(n, e, r, t, o, a, c) {
|
||||
try {
|
||||
var i = n[a](c), u = i.value;
|
||||
} catch (n) {
|
||||
return void r(n);
|
||||
}
|
||||
i.done ? e(u) : Promise.resolve(u).then(t, o);
|
||||
}
|
||||
|
||||
function _asyncToGenerator(n) {
|
||||
return function() {
|
||||
var e = this, r = arguments;
|
||||
return new Promise(function(t, o) {
|
||||
var a = n.apply(e, r);
|
||||
function c(n) {
|
||||
asyncGeneratorStep(a, t, o, c, i, "next", n);
|
||||
}
|
||||
function i(n) {
|
||||
asyncGeneratorStep(a, t, o, c, i, "throw", n);
|
||||
}
|
||||
c(void 0);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _asyncToGenerator;
|
||||
10
wx05cb767e6530b48f/@babel/runtime/helpers/defineProperty.js
Normal file
10
wx05cb767e6530b48f/@babel/runtime/helpers/defineProperty.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function _defineProperty(e, r, n) {
|
||||
return r in e ? Object.defineProperty(e, r, {
|
||||
value: n,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0
|
||||
}) : e[r] = n, e;
|
||||
}
|
||||
|
||||
module.exports = _defineProperty;
|
||||
@@ -0,0 +1,7 @@
|
||||
function _interopRequireDefault(e) {
|
||||
return e && e.__esModule ? e : {
|
||||
default: e
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = _interopRequireDefault;
|
||||
@@ -0,0 +1,5 @@
|
||||
function _iterableToArray(r) {
|
||||
if ("undefined" != typeof Symbol && Symbol.iterator in Object(r)) return Array.from(r);
|
||||
}
|
||||
|
||||
module.exports = _iterableToArray;
|
||||
@@ -0,0 +1,5 @@
|
||||
function _nonIterableSpread() {
|
||||
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
|
||||
module.exports = _nonIterableSpread;
|
||||
@@ -0,0 +1,7 @@
|
||||
var arrayWithoutHoles = require("./arrayWithoutHoles"), iterableToArray = require("./iterableToArray"), unsupportedIterableToArray = require("./unsupportedIterableToArray"), nonIterableSpread = require("./nonIterableSpread");
|
||||
|
||||
function _toConsumableArray(r) {
|
||||
return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();
|
||||
}
|
||||
|
||||
module.exports = _toConsumableArray;
|
||||
9
wx05cb767e6530b48f/@babel/runtime/helpers/typeof.js
Normal file
9
wx05cb767e6530b48f/@babel/runtime/helpers/typeof.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function _typeof(o) {
|
||||
return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? module.exports = _typeof = function(o) {
|
||||
return typeof o;
|
||||
} : module.exports = _typeof = function(o) {
|
||||
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
||||
}, _typeof(o);
|
||||
}
|
||||
|
||||
module.exports = _typeof;
|
||||
@@ -0,0 +1,11 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||
|
||||
function _unsupportedIterableToArray(r, e) {
|
||||
if (r) {
|
||||
if ("string" == typeof r) return arrayLikeToArray(r, e);
|
||||
var t = Object.prototype.toString.call(r).slice(8, -1);
|
||||
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, e) : void 0;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _unsupportedIterableToArray;
|
||||
Reference in New Issue
Block a user