initial commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._interop_require_default = _interop_require_default;
|
||||
function _interop_require_default(obj) {
|
||||
return obj && obj.__esModule ? obj : { default: obj };
|
||||
}
|
||||
Generated
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
|
||||
function _getRequireWildcardCache(nodeInterop) {
|
||||
if (typeof WeakMap !== "function") return null;
|
||||
|
||||
var cacheBabelInterop = new WeakMap();
|
||||
var cacheNodeInterop = new WeakMap();
|
||||
|
||||
return (_getRequireWildcardCache = function(nodeInterop) {
|
||||
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
||||
})(nodeInterop);
|
||||
}
|
||||
exports._ = exports._interop_require_wildcard = _interop_require_wildcard;
|
||||
function _interop_require_wildcard(obj, nodeInterop) {
|
||||
if (!nodeInterop && obj && obj.__esModule) return obj;
|
||||
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return { default: obj };
|
||||
|
||||
var cache = _getRequireWildcardCache(nodeInterop);
|
||||
|
||||
if (cache && cache.has(obj)) return cache.get(obj);
|
||||
|
||||
var newObj = { __proto__: null };
|
||||
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
|
||||
for (var key in obj) {
|
||||
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
||||
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
||||
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
||||
else newObj[key] = obj[key];
|
||||
}
|
||||
}
|
||||
|
||||
newObj.default = obj;
|
||||
|
||||
if (cache) cache.set(obj, newObj);
|
||||
|
||||
return newObj;
|
||||
}
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
exports._ = exports._tagged_template_literal_loose = _tagged_template_literal_loose;
|
||||
function _tagged_template_literal_loose(strings, raw) {
|
||||
if (!raw) raw = strings.slice(0);
|
||||
|
||||
strings.raw = raw;
|
||||
|
||||
return strings;
|
||||
}
|
||||
Reference in New Issue
Block a user