@babel/runtime-corejs2
Advanced tools
Comparing version 7.22.6 to 8.0.0-alpha.0
@@ -1,6 +0,4 @@ | ||
var _Object$keys = require("core-js/library/fn/object/keys.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { | ||
var desc = {}; | ||
_Object$keys(descriptor).forEach(function (key) { | ||
Object.keys(descriptor).forEach(function (key) { | ||
desc[key] = descriptor[key]; | ||
@@ -21,3 +19,3 @@ }); | ||
if (desc.initializer === void 0) { | ||
_Object$defineProperty(target, property, desc); | ||
Object.defineProperty(target, property, desc); | ||
desc = null; | ||
@@ -27,2 +25,2 @@ } | ||
} | ||
module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _applyDecoratedDescriptor, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,34 +0,23 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$for = require("core-js/library/fn/symbol/for.js"); | ||
var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js"); | ||
var _Object$setPrototypeOf = require("core-js/library/fn/object/set-prototype-of.js"); | ||
var _Array$from = require("core-js/library/fn/array/from.js"); | ||
var _Object$assign = require("core-js/library/fn/object/assign.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { | ||
return { | ||
getMetadata: function getMetadata(key) { | ||
getMetadata: function (key) { | ||
old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 !== metadataForKey) if (1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
var pub = metadataForKey.public; | ||
if (void 0 !== pub) return pub[property]; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey["private"]; | ||
var priv = metadataForKey.private; | ||
if (void 0 !== priv) return priv.get(property); | ||
} else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; | ||
}, | ||
setMetadata: function setMetadata(key, value) { | ||
setMetadata: function (key, value) { | ||
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; | ||
var pub = metadataForKey.public; | ||
void 0 === pub && (pub = metadataForKey.public = {}), pub[property] = value; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey.priv; | ||
void 0 === priv && (priv = metadataForKey["private"] = new _Map()), priv.set(property, value); | ||
void 0 === priv && (priv = metadataForKey.private = new Map()), priv.set(property, value); | ||
} else metadataForKey.constructor = value; | ||
@@ -39,4 +28,4 @@ } | ||
function old_convertMetadataMapToFinal(obj, metadataMap) { | ||
var parentMetadataMap = obj[_Symbol.metadata || _Symbol$for("Symbol.metadata")], | ||
metadataKeys = _Object$getOwnPropertySymbols(metadataMap); | ||
var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")], | ||
metadataKeys = Object.getOwnPropertySymbols(metadataMap); | ||
if (0 !== metadataKeys.length) { | ||
@@ -47,14 +36,14 @@ for (var i = 0; i < metadataKeys.length; i++) { | ||
parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, | ||
pub = metaForKey["public"], | ||
parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; | ||
pub && parentPub && _Object$setPrototypeOf(pub, parentPub); | ||
var priv = metaForKey["private"]; | ||
pub = metaForKey.public, | ||
parentPub = parentMetaForKey ? parentMetaForKey.public : null; | ||
pub && parentPub && Object.setPrototypeOf(pub, parentPub); | ||
var priv = metaForKey.private; | ||
if (priv) { | ||
var privArr = _Array$from(priv.values()), | ||
parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; | ||
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; | ||
var privArr = Array.from(priv.values()), | ||
parentPriv = parentMetaForKey ? parentMetaForKey.private : null; | ||
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey.private = privArr; | ||
} | ||
parentMetaForKey && _Object$setPrototypeOf(metaForKey, parentMetaForKey); | ||
parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); | ||
} | ||
parentMetadataMap && _Object$setPrototypeOf(metadataMap, parentMetadataMap), obj[_Symbol.metadata || _Symbol$for("Symbol.metadata")] = metadataMap; | ||
parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap; | ||
} | ||
@@ -97,3 +86,3 @@ } | ||
if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { | ||
metadataKind = 2, metadataName = _Symbol(name); | ||
metadataKind = 2, metadataName = Symbol(name); | ||
var access = {}; | ||
@@ -109,3 +98,3 @@ 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { | ||
try { | ||
return dec(value, _Object$assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); | ||
return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); | ||
} finally { | ||
@@ -119,3 +108,3 @@ decoratorFinishedRef.v = !0; | ||
function old_assertMetadataKey(key) { | ||
if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); | ||
if ("symbol" != typeof key) throw new TypeError("Metadata keys must be symbols, received: " + key); | ||
} | ||
@@ -126,3 +115,3 @@ function old_assertCallable(fn, hint) { | ||
function old_assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -157,3 +146,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -172,7 +161,7 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === initializer) initializer = function initializer(instance, init) { | ||
if (void 0 === initializer) initializer = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof initializer) { | ||
var ownInitializers = initializer; | ||
initializer = function initializer(instance, init) { | ||
initializer = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
@@ -183,3 +172,3 @@ return value; | ||
var originalInitializer = initializer; | ||
initializer = function initializer(instance, init) { | ||
initializer = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
@@ -196,8 +185,8 @@ }; | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -234,3 +223,3 @@ metadataMap, | ||
try { | ||
var ctx = _Object$assign({ | ||
var ctx = Object.assign({ | ||
kind: "class", | ||
@@ -257,2 +246,2 @@ name: name, | ||
} | ||
module.exports = applyDecs, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = applyDecs, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,1 @@ | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
function applyDecs2203Factory() { | ||
@@ -37,4 +32,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -44,11 +39,11 @@ decoratorFinishedRef = { | ||
}; | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function () { | ||
return this[name]; | ||
}, set = function set(v) { | ||
}, set = function (v) { | ||
this[name] = v; | ||
}) : 2 === kind ? get = function get() { | ||
}) : 2 === kind ? get = function () { | ||
return desc.value; | ||
} : (1 !== kind && 3 !== kind || (get = function get() { | ||
} : (1 !== kind && 3 !== kind || (get = function () { | ||
return desc.get.call(this); | ||
}), 1 !== kind && 4 !== kind || (set = function set(v) { | ||
}), 1 !== kind && 4 !== kind || (set = function (v) { | ||
desc.set.call(this, v); | ||
@@ -73,3 +68,3 @@ })), ctx.access = get && set ? { | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -100,3 +95,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -115,8 +110,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -126,4 +121,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -139,3 +134,3 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
@@ -151,5 +146,5 @@ function pushInitializers(ret, initializers) { | ||
return function (ret, Class, decInfos) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -199,2 +194,2 @@ initializers, | ||
} | ||
module.exports = applyDecs2203, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = applyDecs2203, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,1 @@ | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
function applyDecs2203RFactory() { | ||
@@ -37,4 +32,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -44,11 +39,11 @@ decoratorFinishedRef = { | ||
}; | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function () { | ||
return this[name]; | ||
}, set = function set(v) { | ||
}, set = function (v) { | ||
this[name] = v; | ||
}) : 2 === kind ? get = function get() { | ||
}) : 2 === kind ? get = function () { | ||
return desc.value; | ||
} : (1 !== kind && 3 !== kind || (get = function get() { | ||
} : (1 !== kind && 3 !== kind || (get = function () { | ||
return desc.get.call(this); | ||
}), 1 !== kind && 4 !== kind || (set = function set(v) { | ||
}), 1 !== kind && 4 !== kind || (set = function (v) { | ||
desc.set.call(this, v); | ||
@@ -73,3 +68,3 @@ })), ctx.access = get && set ? { | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -100,3 +95,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -115,8 +110,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -126,4 +121,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -139,8 +134,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos) { | ||
for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -200,4 +195,4 @@ initializers, | ||
function applyDecs2203R(targetClass, memberDecs, classDecs) { | ||
return (module.exports = applyDecs2203R = applyDecs2203RFactory(), module.exports.__esModule = true, module.exports["default"] = module.exports)(targetClass, memberDecs, classDecs); | ||
return (module.exports = applyDecs2203R = applyDecs2203RFactory(), module.exports.__esModule = true, module.exports.default = module.exports)(targetClass, memberDecs, classDecs); | ||
} | ||
module.exports = applyDecs2203R, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = applyDecs2203R, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,1 @@ | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
var checkInRHS = require("./checkInRHS.js"); | ||
@@ -41,4 +36,4 @@ function applyDecs2301Factory() { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -49,3 +44,3 @@ decoratorFinishedRef = { | ||
if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { | ||
if (2 === kind) get = function get(target) { | ||
if (2 === kind) get = function (target) { | ||
return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; | ||
@@ -64,5 +59,5 @@ };else { | ||
} | ||
} else get = function get(target) { | ||
} else get = function (target) { | ||
return target[name]; | ||
}, 0 === kind && (set = function set(target, v) { | ||
}, 0 === kind && (set = function (target, v) { | ||
target[name] = v; | ||
@@ -94,3 +89,3 @@ }); | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -129,3 +124,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -144,8 +139,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -155,4 +150,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -168,8 +163,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos, instanceBrand) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -182,3 +177,3 @@ initializers, | ||
hasPrivateBrand = instanceBrand; | ||
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { | ||
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function (_) { | ||
return checkInRHS(_) === Class; | ||
@@ -233,4 +228,4 @@ }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { | ||
function applyDecs2301(targetClass, memberDecs, classDecs, instanceBrand) { | ||
return (module.exports = applyDecs2301 = applyDecs2301Factory(), module.exports.__esModule = true, module.exports["default"] = module.exports)(targetClass, memberDecs, classDecs, instanceBrand); | ||
return (module.exports = applyDecs2301 = applyDecs2301Factory(), module.exports.__esModule = true, module.exports.default = module.exports)(targetClass, memberDecs, classDecs, instanceBrand); | ||
} | ||
module.exports = applyDecs2301, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = applyDecs2301, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,1 @@ | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
var checkInRHS = require("./checkInRHS.js"); | ||
@@ -38,4 +33,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -46,3 +41,3 @@ decoratorFinishedRef = { | ||
if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { | ||
if (2 === kind) get = function get(target) { | ||
if (2 === kind) get = function (target) { | ||
return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; | ||
@@ -61,5 +56,5 @@ };else { | ||
} | ||
} else get = function get(target) { | ||
} else get = function (target) { | ||
return target[name]; | ||
}, 0 === kind && (set = function set(target, v) { | ||
}, 0 === kind && (set = function (target, v) { | ||
target[name] = v; | ||
@@ -94,3 +89,3 @@ }); | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -122,3 +117,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
decs = decInfo[0]; | ||
decoratorsHaveThis || _Array$isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { | ||
decoratorsHaveThis || Array.isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { | ||
get: curryThis1(decInfo[3]), | ||
@@ -132,3 +127,3 @@ set: curryThis2(decInfo[4]) | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -145,8 +140,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -156,4 +151,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -169,8 +164,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos, instanceBrand) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -184,3 +179,3 @@ initializers, | ||
hasPrivateBrand = instanceBrand; | ||
if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { | ||
if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function (_) { | ||
return checkInRHS(_) === Class; | ||
@@ -234,2 +229,2 @@ }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { | ||
} | ||
module.exports = applyDecs2305, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = applyDecs2305, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _arrayLikeToArray(arr, len) { | ||
} | ||
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,4 @@ | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
function _arrayWithHoles(arr) { | ||
if (_Array$isArray(arr)) return arr; | ||
if (Array.isArray(arr)) return arr; | ||
} | ||
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,5 @@ | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var arrayLikeToArray = require("./arrayLikeToArray.js"); | ||
function _arrayWithoutHoles(arr) { | ||
if (_Array$isArray(arr)) return arrayLikeToArray(arr); | ||
if (Array.isArray(arr)) return arrayLikeToArray(arr); | ||
} | ||
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ function _assertThisInitialized(self) { | ||
} | ||
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,3 +0,1 @@ | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var OverloadYield = require("./OverloadYield.js"); | ||
@@ -11,3 +9,3 @@ function AsyncGenerator(gen) { | ||
overloaded = value instanceof OverloadYield; | ||
_Promise.resolve(overloaded ? value.v : value).then(function (arg) { | ||
Promise.resolve(overloaded ? value.v : value).then(function (arg) { | ||
if (overloaded) { | ||
@@ -46,3 +44,3 @@ var nextKey = "return" === key ? "return" : "next"; | ||
this._invoke = function (key, arg) { | ||
return new _Promise(function (resolve, reject) { | ||
return new Promise(function (resolve, reject) { | ||
var request = { | ||
@@ -57,13 +55,13 @@ key: key, | ||
}); | ||
}, "function" != typeof gen["return"] && (this["return"] = void 0); | ||
}, "function" != typeof gen.return && (this.return = void 0); | ||
} | ||
AsyncGenerator.prototype["function" == typeof _Symbol && _Symbol.asyncIterator || "@@asyncIterator"] = function () { | ||
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { | ||
return this; | ||
}, AsyncGenerator.prototype.next = function (arg) { | ||
return this._invoke("next", arg); | ||
}, AsyncGenerator.prototype["throw"] = function (arg) { | ||
}, AsyncGenerator.prototype.throw = function (arg) { | ||
return this._invoke("throw", arg); | ||
}, AsyncGenerator.prototype["return"] = function (arg) { | ||
}, AsyncGenerator.prototype.return = function (arg) { | ||
return this._invoke("return", arg); | ||
}; | ||
module.exports = AsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = AsyncGenerator, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,4 +0,1 @@ | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
var OverloadYield = require("./OverloadYield.js"); | ||
@@ -9,3 +6,3 @@ function _asyncGeneratorDelegate(inner) { | ||
function pump(key, value) { | ||
return waiting = !0, value = new _Promise(function (resolve) { | ||
return waiting = !0, value = new Promise(function (resolve) { | ||
resolve(inner[key](value)); | ||
@@ -17,13 +14,13 @@ }), { | ||
} | ||
return iter["undefined" != typeof _Symbol && _Symbol$iterator || "@@iterator"] = function () { | ||
return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { | ||
return this; | ||
}, iter.next = function (value) { | ||
return waiting ? (waiting = !1, value) : pump("next", value); | ||
}, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { | ||
}, "function" == typeof inner.throw && (iter.throw = function (value) { | ||
if (waiting) throw waiting = !1, value; | ||
return pump("throw", value); | ||
}), "function" == typeof inner["return"] && (iter["return"] = function (value) { | ||
}), "function" == typeof inner.return && (iter.return = function (value) { | ||
return waiting ? (waiting = !1, value) : pump("return", value); | ||
}), iter; | ||
} | ||
module.exports = _asyncGeneratorDelegate, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _asyncGeneratorDelegate, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,4 +0,1 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
function _asyncIterator(iterable) { | ||
@@ -9,3 +6,3 @@ var method, | ||
retry = 2; | ||
for ("undefined" != typeof _Symbol && (async = _Symbol.asyncIterator, sync = _Symbol$iterator); retry--;) { | ||
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { | ||
if (async && null != (method = iterable[async])) return method.call(iterable); | ||
@@ -19,5 +16,5 @@ if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); | ||
function AsyncFromSyncIteratorContinuation(r) { | ||
if (Object(r) !== r) return _Promise.reject(new TypeError(r + " is not an object.")); | ||
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); | ||
var done = r.done; | ||
return _Promise.resolve(r.value).then(function (value) { | ||
return Promise.resolve(r.value).then(function (value) { | ||
return { | ||
@@ -29,3 +26,3 @@ value: value, | ||
} | ||
return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { | ||
return AsyncFromSyncIterator = function (s) { | ||
this.s = s, this.n = s.next; | ||
@@ -35,8 +32,8 @@ }, AsyncFromSyncIterator.prototype = { | ||
n: null, | ||
next: function next() { | ||
next: function () { | ||
return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); | ||
}, | ||
"return": function _return(value) { | ||
var ret = this.s["return"]; | ||
return void 0 === ret ? _Promise.resolve({ | ||
return: function (value) { | ||
var ret = this.s.return; | ||
return void 0 === ret ? Promise.resolve({ | ||
value: value, | ||
@@ -46,8 +43,8 @@ done: !0 | ||
}, | ||
"throw": function _throw(value) { | ||
var thr = this.s["return"]; | ||
return void 0 === thr ? _Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); | ||
throw: function (value) { | ||
var thr = this.s.return; | ||
return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); | ||
} | ||
}, new AsyncFromSyncIterator(s); | ||
} | ||
module.exports = _asyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _asyncIterator, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | ||
@@ -13,3 +12,3 @@ try { | ||
} else { | ||
_Promise.resolve(value).then(_next, _throw); | ||
Promise.resolve(value).then(_next, _throw); | ||
} | ||
@@ -21,3 +20,3 @@ } | ||
args = arguments; | ||
return new _Promise(function (resolve, reject) { | ||
return new Promise(function (resolve, reject) { | ||
var gen = fn.apply(self, args); | ||
@@ -34,2 +33,2 @@ function _next(value) { | ||
} | ||
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -5,2 +5,2 @@ var OverloadYield = require("./OverloadYield.js"); | ||
} | ||
module.exports = _awaitAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _awaitAsyncGenerator, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,5 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
function _checkInRHS(value) { | ||
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); | ||
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? typeof value : "null")); | ||
return value; | ||
} | ||
module.exports = _checkInRHS, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _checkInRHS, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _checkPrivateRedeclaration(obj, privateCollection) { | ||
} | ||
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _checkPrivateRedeclaration, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -18,2 +18,2 @@ function _classApplyDescriptorDestructureSet(receiver, descriptor) { | ||
} | ||
module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classApplyDescriptorDestructureSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ function _classApplyDescriptorGet(receiver, descriptor) { | ||
} | ||
module.exports = _classApplyDescriptorGet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classApplyDescriptorGet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -11,2 +11,2 @@ function _classApplyDescriptorSet(receiver, descriptor, value) { | ||
} | ||
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _classCallCheck(instance, Constructor) { | ||
} | ||
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _classCheckPrivateStaticAccess(receiver, classConstructor) { | ||
} | ||
module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classCheckPrivateStaticAccess, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { | ||
} | ||
module.exports = _classCheckPrivateStaticFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classCheckPrivateStaticFieldDescriptor, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ function _classExtractFieldDescriptor(receiver, privateMap, action) { | ||
} | ||
module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports.default = module.exports; |
function _classNameTDZError(name) { | ||
throw new ReferenceError("Class \"" + name + "\" cannot be referenced in computed property keys."); | ||
} | ||
module.exports = _classNameTDZError, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classNameTDZError, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); | ||
} | ||
module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); | ||
} | ||
module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); | ||
} | ||
module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldInitSpec, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ function _classPrivateFieldBase(receiver, privateKey) { | ||
} | ||
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -5,2 +5,2 @@ var id = 0; | ||
} | ||
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldKey, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); | ||
} | ||
module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { | ||
} | ||
module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateMethodGet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ var checkPrivateRedeclaration = require("./checkPrivateRedeclaration.js"); | ||
} | ||
module.exports = _classPrivateMethodInitSpec, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classPrivateMethodInitSpec, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -9,2 +9,2 @@ var classApplyDescriptorDestructureSet = require("./classApplyDescriptorDestructureSet.js"); | ||
} | ||
module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classStaticPrivateFieldDestructureSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -9,2 +9,2 @@ var classApplyDescriptorGet = require("./classApplyDescriptorGet.js"); | ||
} | ||
module.exports = _classStaticPrivateFieldSpecGet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classStaticPrivateFieldSpecGet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -10,2 +10,2 @@ var classApplyDescriptorSet = require("./classApplyDescriptorSet.js"); | ||
} | ||
module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classStaticPrivateFieldSpecSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js"); | ||
} | ||
module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classStaticPrivateMethodGet, module.exports.__esModule = true, module.exports.default = module.exports; |
function _classStaticPrivateMethodSet() { | ||
throw new TypeError("attempted to set read only static private field"); | ||
} | ||
module.exports = _classStaticPrivateMethodSet, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _classStaticPrivateMethodSet, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Reflect$construct = require("core-js/library/fn/reflect/construct.js"); | ||
var setPrototypeOf = require("./setPrototypeOf.js"); | ||
@@ -6,3 +5,3 @@ var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); | ||
if (isNativeReflectConstruct()) { | ||
module.exports = _construct = _Reflect$construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports.default = module.exports; | ||
} else { | ||
@@ -16,6 +15,6 @@ module.exports = _construct = function _construct(Parent, args, Class) { | ||
return instance; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
} | ||
return _construct.apply(null, arguments); | ||
} | ||
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _construct, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var toPropertyKey = require("./toPropertyKey.js"); | ||
@@ -9,3 +8,3 @@ function _defineProperties(target, props) { | ||
if ("value" in descriptor) descriptor.writable = true; | ||
_Object$defineProperty(target, toPropertyKey(descriptor.key), descriptor); | ||
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | ||
} | ||
@@ -16,3 +15,3 @@ } | ||
if (staticProps) _defineProperties(Constructor, staticProps); | ||
_Object$defineProperty(Constructor, "prototype", { | ||
Object.defineProperty(Constructor, "prototype", { | ||
writable: false | ||
@@ -22,2 +21,2 @@ }); | ||
} | ||
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _createClass, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,15 +0,12 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); | ||
function _createForOfIteratorHelper(o, allowArrayLike) { | ||
var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (!it) { | ||
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
var i = 0; | ||
var F = function F() {}; | ||
var F = function () {}; | ||
return { | ||
s: F, | ||
n: function n() { | ||
n: function () { | ||
if (i >= o.length) return { | ||
@@ -23,4 +20,4 @@ done: true | ||
}, | ||
e: function e(_e) { | ||
throw _e; | ||
e: function (e) { | ||
throw e; | ||
}, | ||
@@ -36,6 +33,6 @@ f: F | ||
return { | ||
s: function s() { | ||
s: function () { | ||
it = it.call(o); | ||
}, | ||
n: function n() { | ||
n: function () { | ||
var step = it.next(); | ||
@@ -45,9 +42,9 @@ normalCompletion = step.done; | ||
}, | ||
e: function e(_e2) { | ||
e: function (e) { | ||
didErr = true; | ||
err = _e2; | ||
err = e; | ||
}, | ||
f: function f() { | ||
f: function () { | ||
try { | ||
if (!normalCompletion && it["return"] != null) it["return"](); | ||
if (!normalCompletion && it.return != null) it.return(); | ||
} finally { | ||
@@ -59,2 +56,2 @@ if (didErr) throw err; | ||
} | ||
module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _createForOfIteratorHelper, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,6 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) return (it = it.call(o)).next.bind(it); | ||
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
@@ -23,2 +20,2 @@ var i = 0; | ||
} | ||
module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Reflect$construct = require("core-js/library/fn/reflect/construct.js"); | ||
var getPrototypeOf = require("./getPrototypeOf.js"); | ||
@@ -12,3 +11,3 @@ var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); | ||
var NewTarget = getPrototypeOf(this).constructor; | ||
result = _Reflect$construct(Super, arguments, NewTarget); | ||
result = Reflect.construct(Super, arguments, NewTarget); | ||
} else { | ||
@@ -20,2 +19,2 @@ result = Super.apply(this, arguments); | ||
} | ||
module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _createSuper, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,4 +0,1 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Symbol$toStringTag = require("core-js/library/fn/symbol/to-string-tag.js"); | ||
var _Object$assign = require("core-js/library/fn/object/assign.js"); | ||
var toArray = require("./toArray.js"); | ||
@@ -21,3 +18,3 @@ var toPropertyKey = require("./toPropertyKey.js"); | ||
function _getDecoratorsApi() { | ||
_getDecoratorsApi = function _getDecoratorsApi() { | ||
_getDecoratorsApi = function () { | ||
return api; | ||
@@ -27,3 +24,3 @@ }; | ||
elementsDefinitionOrder: [["method"], ["field"]], | ||
initializeInstanceElements: function initializeInstanceElements(O, elements) { | ||
initializeInstanceElements: function (O, elements) { | ||
["method", "field"].forEach(function (kind) { | ||
@@ -37,3 +34,3 @@ elements.forEach(function (element) { | ||
}, | ||
initializeClassElements: function initializeClassElements(F, elements) { | ||
initializeClassElements: function (F, elements) { | ||
var proto = F.prototype; | ||
@@ -50,3 +47,3 @@ ["method", "field"].forEach(function (kind) { | ||
}, | ||
defineClassElement: function defineClassElement(receiver, element) { | ||
defineClassElement: function (receiver, element) { | ||
var descriptor = element.descriptor; | ||
@@ -62,9 +59,9 @@ if (element.kind === "field") { | ||
} | ||
_Object$defineProperty(receiver, element.key, descriptor); | ||
Object.defineProperty(receiver, element.key, descriptor); | ||
}, | ||
decorateClass: function decorateClass(elements, decorators) { | ||
decorateClass: function (elements, decorators) { | ||
var newElements = []; | ||
var finishers = []; | ||
var placements = { | ||
"static": [], | ||
static: [], | ||
prototype: [], | ||
@@ -94,3 +91,3 @@ own: [] | ||
}, | ||
addElementPlacement: function addElementPlacement(element, placements, silent) { | ||
addElementPlacement: function (element, placements, silent) { | ||
var keys = placements[element.placement]; | ||
@@ -102,3 +99,3 @@ if (!silent && keys.indexOf(element.key) !== -1) { | ||
}, | ||
decorateElement: function decorateElement(element, placements) { | ||
decorateElement: function (element, placements) { | ||
var extras = []; | ||
@@ -130,3 +127,3 @@ var finishers = []; | ||
}, | ||
decorateConstructor: function decorateConstructor(elements, decorators) { | ||
decorateConstructor: function (elements, decorators) { | ||
var finishers = []; | ||
@@ -155,3 +152,3 @@ for (var i = decorators.length - 1; i >= 0; i--) { | ||
}, | ||
fromElementDescriptor: function fromElementDescriptor(element) { | ||
fromElementDescriptor: function (element) { | ||
var obj = { | ||
@@ -167,7 +164,7 @@ kind: element.kind, | ||
}; | ||
_Object$defineProperty(obj, _Symbol$toStringTag, desc); | ||
Object.defineProperty(obj, Symbol.toStringTag, desc); | ||
if (element.kind === "field") obj.initializer = element.initializer; | ||
return obj; | ||
}, | ||
toElementDescriptors: function toElementDescriptors(elementObjects) { | ||
toElementDescriptors: function (elementObjects) { | ||
if (elementObjects === undefined) return; | ||
@@ -181,3 +178,3 @@ return toArray(elementObjects).map(function (elementObject) { | ||
}, | ||
toElementDescriptor: function toElementDescriptor(elementObject) { | ||
toElementDescriptor: function (elementObject) { | ||
var kind = String(elementObject.kind); | ||
@@ -198,3 +195,3 @@ if (kind !== "method" && kind !== "field") { | ||
placement: placement, | ||
descriptor: _Object$assign({}, descriptor) | ||
descriptor: Object.assign({}, descriptor) | ||
}; | ||
@@ -211,3 +208,3 @@ if (kind !== "field") { | ||
}, | ||
toElementFinisherExtras: function toElementFinisherExtras(elementObject) { | ||
toElementFinisherExtras: function (elementObject) { | ||
var element = this.toElementDescriptor(elementObject); | ||
@@ -222,3 +219,3 @@ var finisher = _optionalCallableProperty(elementObject, "finisher"); | ||
}, | ||
fromClassDescriptor: function fromClassDescriptor(elements) { | ||
fromClassDescriptor: function (elements) { | ||
var obj = { | ||
@@ -232,6 +229,6 @@ kind: "class", | ||
}; | ||
_Object$defineProperty(obj, _Symbol$toStringTag, desc); | ||
Object.defineProperty(obj, Symbol.toStringTag, desc); | ||
return obj; | ||
}, | ||
toClassDescriptor: function toClassDescriptor(obj) { | ||
toClassDescriptor: function (obj) { | ||
var kind = String(obj.kind); | ||
@@ -253,3 +250,3 @@ if (kind !== "class") { | ||
}, | ||
runClassFinishers: function runClassFinishers(constructor, finishers) { | ||
runClassFinishers: function (constructor, finishers) { | ||
for (var i = 0; i < finishers.length; i++) { | ||
@@ -266,3 +263,3 @@ var newConstructor = (0, finishers[i])(constructor); | ||
}, | ||
disallowProperty: function disallowProperty(obj, name, objectType) { | ||
disallowProperty: function (obj, name, objectType) { | ||
if (obj[name] !== undefined) { | ||
@@ -307,3 +304,3 @@ throw new TypeError(objectType + " can't have a ." + name + " property."); | ||
key: key, | ||
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", | ||
placement: def.static ? "static" : def.kind === "field" ? "own" : "prototype", | ||
descriptor: descriptor | ||
@@ -324,3 +321,3 @@ }; | ||
var newElements = []; | ||
var isSameElement = function isSameElement(other) { | ||
var isSameElement = function (other) { | ||
return other.kind === "method" && other.key === element.key && other.placement === element.placement; | ||
@@ -365,2 +362,2 @@ }; | ||
} | ||
module.exports = _decorate, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _decorate, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,11 +0,8 @@ | ||
var _Object$getOwnPropertyNames = require("core-js/library/fn/object/get-own-property-names.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
function _defaults(obj, defaults) { | ||
var keys = _Object$getOwnPropertyNames(defaults); | ||
var keys = Object.getOwnPropertyNames(defaults); | ||
for (var i = 0; i < keys.length; i++) { | ||
var key = keys[i]; | ||
var value = _Object$getOwnPropertyDescriptor(defaults, key); | ||
var value = Object.getOwnPropertyDescriptor(defaults, key); | ||
if (value && value.configurable && obj[key] === undefined) { | ||
_Object$defineProperty(obj, key, value); | ||
Object.defineProperty(obj, key, value); | ||
} | ||
@@ -15,2 +12,2 @@ } | ||
} | ||
module.exports = _defaults, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _defaults, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
function _defineAccessor(type, obj, key, fn) { | ||
@@ -7,4 +6,4 @@ var desc = { | ||
}; | ||
return desc[type] = fn, _Object$defineProperty(obj, key, desc); | ||
return desc[type] = fn, Object.defineProperty(obj, key, desc); | ||
} | ||
module.exports = _defineAccessor, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _defineAccessor, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,3 +0,1 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js"); | ||
function _defineEnumerableProperties(obj, descs) { | ||
@@ -8,6 +6,6 @@ for (var key in descs) { | ||
if ("value" in desc) desc.writable = true; | ||
_Object$defineProperty(obj, key, desc); | ||
Object.defineProperty(obj, key, desc); | ||
} | ||
if (_Object$getOwnPropertySymbols) { | ||
var objectSymbols = _Object$getOwnPropertySymbols(descs); | ||
if (Object.getOwnPropertySymbols) { | ||
var objectSymbols = Object.getOwnPropertySymbols(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
@@ -18,3 +16,3 @@ var sym = objectSymbols[i]; | ||
if ("value" in desc) desc.writable = true; | ||
_Object$defineProperty(obj, sym, desc); | ||
Object.defineProperty(obj, sym, desc); | ||
} | ||
@@ -24,2 +22,2 @@ } | ||
} | ||
module.exports = _defineEnumerableProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _defineEnumerableProperties, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var toPropertyKey = require("./toPropertyKey.js"); | ||
@@ -6,3 +5,3 @@ function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
_Object$defineProperty(obj, key, { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
@@ -18,2 +17,2 @@ enumerable: true, | ||
} | ||
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _defineProperty, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,7 +0,5 @@ | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
function dispose_SuppressedError(suppressed, error) { | ||
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(suppressed, error) { | ||
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function (suppressed, error) { | ||
this.suppressed = suppressed, this.error = error, this.stack = new Error().stack; | ||
}, dispose_SuppressedError.prototype = _Object$create(Error.prototype, { | ||
}, dispose_SuppressedError.prototype = Object.create(Error.prototype, { | ||
constructor: { | ||
@@ -19,3 +17,3 @@ value: dispose_SuppressedError, | ||
p = r.d.call(r.v); | ||
if (r.a) return _Promise.resolve(p).then(next, err); | ||
if (r.a) return Promise.resolve(p).then(next, err); | ||
} catch (e) { | ||
@@ -31,2 +29,2 @@ return err(e); | ||
} | ||
module.exports = _dispose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _dispose, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,4 @@ | ||
import _Object$keys from "core-js/library/fn/object/keys.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { | ||
var desc = {}; | ||
_Object$keys(descriptor).forEach(function (key) { | ||
Object.keys(descriptor).forEach(function (key) { | ||
desc[key] = descriptor[key]; | ||
@@ -21,3 +19,3 @@ }); | ||
if (desc.initializer === void 0) { | ||
_Object$defineProperty(target, property, desc); | ||
Object.defineProperty(target, property, desc); | ||
desc = null; | ||
@@ -24,0 +22,0 @@ } |
@@ -1,34 +0,23 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Map from "core-js/library/fn/map.js"; | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$for from "core-js/library/fn/symbol/for.js"; | ||
import _Object$getOwnPropertySymbols from "core-js/library/fn/object/get-own-property-symbols.js"; | ||
import _Object$setPrototypeOf from "core-js/library/fn/object/set-prototype-of.js"; | ||
import _Array$from from "core-js/library/fn/array/from.js"; | ||
import _Object$assign from "core-js/library/fn/object/assign.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { | ||
return { | ||
getMetadata: function getMetadata(key) { | ||
getMetadata: function (key) { | ||
old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 !== metadataForKey) if (1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
var pub = metadataForKey.public; | ||
if (void 0 !== pub) return pub[property]; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey["private"]; | ||
var priv = metadataForKey.private; | ||
if (void 0 !== priv) return priv.get(property); | ||
} else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor; | ||
}, | ||
setMetadata: function setMetadata(key, value) { | ||
setMetadata: function (key, value) { | ||
old_assertNotFinished(decoratorFinishedRef, "setMetadata"), old_assertMetadataKey(key); | ||
var metadataForKey = metadataMap[key]; | ||
if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) { | ||
var pub = metadataForKey["public"]; | ||
void 0 === pub && (pub = metadataForKey["public"] = {}), pub[property] = value; | ||
var pub = metadataForKey.public; | ||
void 0 === pub && (pub = metadataForKey.public = {}), pub[property] = value; | ||
} else if (2 === kind) { | ||
var priv = metadataForKey.priv; | ||
void 0 === priv && (priv = metadataForKey["private"] = new _Map()), priv.set(property, value); | ||
void 0 === priv && (priv = metadataForKey.private = new Map()), priv.set(property, value); | ||
} else metadataForKey.constructor = value; | ||
@@ -39,4 +28,4 @@ } | ||
function old_convertMetadataMapToFinal(obj, metadataMap) { | ||
var parentMetadataMap = obj[_Symbol.metadata || _Symbol$for("Symbol.metadata")], | ||
metadataKeys = _Object$getOwnPropertySymbols(metadataMap); | ||
var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")], | ||
metadataKeys = Object.getOwnPropertySymbols(metadataMap); | ||
if (0 !== metadataKeys.length) { | ||
@@ -47,14 +36,14 @@ for (var i = 0; i < metadataKeys.length; i++) { | ||
parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null, | ||
pub = metaForKey["public"], | ||
parentPub = parentMetaForKey ? parentMetaForKey["public"] : null; | ||
pub && parentPub && _Object$setPrototypeOf(pub, parentPub); | ||
var priv = metaForKey["private"]; | ||
pub = metaForKey.public, | ||
parentPub = parentMetaForKey ? parentMetaForKey.public : null; | ||
pub && parentPub && Object.setPrototypeOf(pub, parentPub); | ||
var priv = metaForKey.private; | ||
if (priv) { | ||
var privArr = _Array$from(priv.values()), | ||
parentPriv = parentMetaForKey ? parentMetaForKey["private"] : null; | ||
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey["private"] = privArr; | ||
var privArr = Array.from(priv.values()), | ||
parentPriv = parentMetaForKey ? parentMetaForKey.private : null; | ||
parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey.private = privArr; | ||
} | ||
parentMetaForKey && _Object$setPrototypeOf(metaForKey, parentMetaForKey); | ||
parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey); | ||
} | ||
parentMetadataMap && _Object$setPrototypeOf(metadataMap, parentMetadataMap), obj[_Symbol.metadata || _Symbol$for("Symbol.metadata")] = metadataMap; | ||
parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap; | ||
} | ||
@@ -97,3 +86,3 @@ } | ||
if (0 !== kind && (ctx.addInitializer = old_createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) { | ||
metadataKind = 2, metadataName = _Symbol(name); | ||
metadataKind = 2, metadataName = Symbol(name); | ||
var access = {}; | ||
@@ -109,3 +98,3 @@ 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () { | ||
try { | ||
return dec(value, _Object$assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); | ||
return dec(value, Object.assign(ctx, old_createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef))); | ||
} finally { | ||
@@ -119,3 +108,3 @@ decoratorFinishedRef.v = !0; | ||
function old_assertMetadataKey(key) { | ||
if ("symbol" != _typeof(key)) throw new TypeError("Metadata keys must be symbols, received: " + key); | ||
if ("symbol" != typeof key) throw new TypeError("Metadata keys must be symbols, received: " + key); | ||
} | ||
@@ -126,3 +115,3 @@ function old_assertCallable(fn, hint) { | ||
function old_assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -157,3 +146,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -172,7 +161,7 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === initializer) initializer = function initializer(instance, init) { | ||
if (void 0 === initializer) initializer = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof initializer) { | ||
var ownInitializers = initializer; | ||
initializer = function initializer(instance, init) { | ||
initializer = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
@@ -183,3 +172,3 @@ return value; | ||
var originalInitializer = initializer; | ||
initializer = function initializer(instance, init) { | ||
initializer = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
@@ -196,8 +185,8 @@ }; | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function old_applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -234,3 +223,3 @@ metadataMap, | ||
try { | ||
var ctx = _Object$assign({ | ||
var ctx = Object.assign({ | ||
kind: "class", | ||
@@ -237,0 +226,0 @@ name: name, |
@@ -1,6 +0,1 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Map from "core-js/library/fn/map.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
function applyDecs2203Factory() { | ||
@@ -37,4 +32,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -44,11 +39,11 @@ decoratorFinishedRef = { | ||
}; | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function () { | ||
return this[name]; | ||
}, set = function set(v) { | ||
}, set = function (v) { | ||
this[name] = v; | ||
}) : 2 === kind ? get = function get() { | ||
}) : 2 === kind ? get = function () { | ||
return desc.value; | ||
} : (1 !== kind && 3 !== kind || (get = function get() { | ||
} : (1 !== kind && 3 !== kind || (get = function () { | ||
return desc.get.call(this); | ||
}), 1 !== kind && 4 !== kind || (set = function set(v) { | ||
}), 1 !== kind && 4 !== kind || (set = function (v) { | ||
desc.set.call(this, v); | ||
@@ -73,3 +68,3 @@ })), ctx.access = get && set ? { | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -100,3 +95,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -115,8 +110,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -126,4 +121,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -139,3 +134,3 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
@@ -151,5 +146,5 @@ function pushInitializers(ret, initializers) { | ||
return function (ret, Class, decInfos) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -156,0 +151,0 @@ initializers, |
@@ -1,6 +0,1 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Map from "core-js/library/fn/map.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
function applyDecs2203RFactory() { | ||
@@ -37,4 +32,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -44,11 +39,11 @@ decoratorFinishedRef = { | ||
}; | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() { | ||
0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function () { | ||
return this[name]; | ||
}, set = function set(v) { | ||
}, set = function (v) { | ||
this[name] = v; | ||
}) : 2 === kind ? get = function get() { | ||
}) : 2 === kind ? get = function () { | ||
return desc.value; | ||
} : (1 !== kind && 3 !== kind || (get = function get() { | ||
} : (1 !== kind && 3 !== kind || (get = function () { | ||
return desc.get.call(this); | ||
}), 1 !== kind && 4 !== kind || (set = function set(v) { | ||
}), 1 !== kind && 4 !== kind || (set = function (v) { | ||
desc.set.call(this, v); | ||
@@ -73,3 +68,3 @@ })), ctx.access = get && set ? { | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -100,3 +95,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -115,8 +110,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -126,4 +121,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -139,8 +134,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos) { | ||
for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -147,0 +142,0 @@ initializers, |
@@ -1,6 +0,1 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Map from "core-js/library/fn/map.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import checkInRHS from "./checkInRHS.js"; | ||
@@ -41,4 +36,4 @@ function applyDecs2301Factory() { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -49,3 +44,3 @@ decoratorFinishedRef = { | ||
if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { | ||
if (2 === kind) get = function get(target) { | ||
if (2 === kind) get = function (target) { | ||
return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; | ||
@@ -64,5 +59,5 @@ };else { | ||
} | ||
} else get = function get(target) { | ||
} else get = function (target) { | ||
return target[name]; | ||
}, 0 === kind && (set = function set(target, v) { | ||
}, 0 === kind && (set = function (target, v) { | ||
target[name] = v; | ||
@@ -94,3 +89,3 @@ }); | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -129,3 +124,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -144,8 +139,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -155,4 +150,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -168,8 +163,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos, instanceBrand) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -182,3 +177,3 @@ initializers, | ||
hasPrivateBrand = instanceBrand; | ||
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { | ||
if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function (_) { | ||
return checkInRHS(_) === Class; | ||
@@ -185,0 +180,0 @@ }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
@@ -1,6 +0,1 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Map from "core-js/library/fn/map.js"; | ||
import checkInRHS from "./checkInRHS.js"; | ||
@@ -38,4 +33,4 @@ function createAddInitializerMethod(initializers, decoratorFinishedRef) { | ||
name: isPrivate ? "#" + name : name, | ||
"static": isStatic, | ||
"private": isPrivate | ||
static: isStatic, | ||
private: isPrivate | ||
}, | ||
@@ -46,3 +41,3 @@ decoratorFinishedRef = { | ||
if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate || 0 !== kind && 2 !== kind) { | ||
if (2 === kind) get = function get(target) { | ||
if (2 === kind) get = function (target) { | ||
return assertInstanceIfPrivate(hasPrivateBrand, target), desc.value; | ||
@@ -61,5 +56,5 @@ };else { | ||
} | ||
} else get = function get(target) { | ||
} else get = function (target) { | ||
return target[name]; | ||
}, 0 === kind && (set = function set(target, v) { | ||
}, 0 === kind && (set = function (target, v) { | ||
target[name] = v; | ||
@@ -94,3 +89,3 @@ }); | ||
function assertValidReturnValue(kind, value) { | ||
var type = _typeof(value); | ||
var type = typeof value; | ||
if (1 === kind) { | ||
@@ -122,3 +117,3 @@ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); | ||
decs = decInfo[0]; | ||
decoratorsHaveThis || _Array$isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { | ||
decoratorsHaveThis || Array.isArray(decs) || (decs = [decs]), isPrivate ? desc = 0 === kind || 1 === kind ? { | ||
get: curryThis1(decInfo[3]), | ||
@@ -132,3 +127,3 @@ set: curryThis2(decInfo[4]) | ||
value: decInfo[3] | ||
} : 0 !== kind && (desc = _Object$getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
} : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = { | ||
get: desc.get, | ||
@@ -145,8 +140,8 @@ set: desc.set | ||
if (0 === kind || 1 === kind) { | ||
if (void 0 === init) init = function init(instance, _init) { | ||
return _init; | ||
if (void 0 === init) init = function (instance, init) { | ||
return init; | ||
};else if ("function" != typeof init) { | ||
var ownInitializers = init; | ||
init = function init(instance, _init2) { | ||
for (var value = _init2, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); | ||
init = function (instance, init) { | ||
for (var value = init, i = ownInitializers.length - 1; i >= 0; i--) value = ownInitializers[i].call(instance, value); | ||
return value; | ||
@@ -156,4 +151,4 @@ }; | ||
var originalInitializer = init; | ||
init = function init(instance, _init3) { | ||
return originalInitializer.call(instance, _init3); | ||
init = function (instance, init) { | ||
return originalInitializer.call(instance, init); | ||
}; | ||
@@ -169,8 +164,8 @@ } | ||
return value.call(instance, args); | ||
}) : _Object$defineProperty(base, name, desc)); | ||
}) : Object.defineProperty(base, name, desc)); | ||
} | ||
function applyMemberDecs(Class, decInfos, instanceBrand) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new _Map(), existingStaticNonFields = new _Map(), i = 0; i < decInfos.length; i++) { | ||
for (var protoInitializers, staticInitializers, staticBrand, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) { | ||
var decInfo = decInfos[i]; | ||
if (_Array$isArray(decInfo)) { | ||
if (Array.isArray(decInfo)) { | ||
var base, | ||
@@ -184,3 +179,3 @@ initializers, | ||
hasPrivateBrand = instanceBrand; | ||
if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function staticBrand(_) { | ||
if (kind &= 7, isStatic ? (base = Class, 0 !== kind && (initializers = staticInitializers = staticInitializers || []), isPrivate && !staticBrand && (staticBrand = function (_) { | ||
return checkInRHS(_) === Class; | ||
@@ -187,0 +182,0 @@ }), hasPrivateBrand = staticBrand) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) { |
@@ -1,4 +0,3 @@ | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
export default function _arrayWithHoles(arr) { | ||
if (_Array$isArray(arr)) return arr; | ||
if (Array.isArray(arr)) return arr; | ||
} |
@@ -1,5 +0,4 @@ | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import arrayLikeToArray from "./arrayLikeToArray.js"; | ||
export default function _arrayWithoutHoles(arr) { | ||
if (_Array$isArray(arr)) return arrayLikeToArray(arr); | ||
if (Array.isArray(arr)) return arrayLikeToArray(arr); | ||
} |
@@ -1,3 +0,1 @@ | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import OverloadYield from "./OverloadYield.js"; | ||
@@ -11,3 +9,3 @@ export default function AsyncGenerator(gen) { | ||
overloaded = value instanceof OverloadYield; | ||
_Promise.resolve(overloaded ? value.v : value).then(function (arg) { | ||
Promise.resolve(overloaded ? value.v : value).then(function (arg) { | ||
if (overloaded) { | ||
@@ -46,3 +44,3 @@ var nextKey = "return" === key ? "return" : "next"; | ||
this._invoke = function (key, arg) { | ||
return new _Promise(function (resolve, reject) { | ||
return new Promise(function (resolve, reject) { | ||
var request = { | ||
@@ -57,12 +55,12 @@ key: key, | ||
}); | ||
}, "function" != typeof gen["return"] && (this["return"] = void 0); | ||
}, "function" != typeof gen.return && (this.return = void 0); | ||
} | ||
AsyncGenerator.prototype["function" == typeof _Symbol && _Symbol.asyncIterator || "@@asyncIterator"] = function () { | ||
AsyncGenerator.prototype["function" == typeof Symbol && Symbol.asyncIterator || "@@asyncIterator"] = function () { | ||
return this; | ||
}, AsyncGenerator.prototype.next = function (arg) { | ||
return this._invoke("next", arg); | ||
}, AsyncGenerator.prototype["throw"] = function (arg) { | ||
}, AsyncGenerator.prototype.throw = function (arg) { | ||
return this._invoke("throw", arg); | ||
}, AsyncGenerator.prototype["return"] = function (arg) { | ||
}, AsyncGenerator.prototype.return = function (arg) { | ||
return this._invoke("return", arg); | ||
}; |
@@ -1,4 +0,1 @@ | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
import OverloadYield from "./OverloadYield.js"; | ||
@@ -9,3 +6,3 @@ export default function _asyncGeneratorDelegate(inner) { | ||
function pump(key, value) { | ||
return waiting = !0, value = new _Promise(function (resolve) { | ||
return waiting = !0, value = new Promise(function (resolve) { | ||
resolve(inner[key](value)); | ||
@@ -17,12 +14,12 @@ }), { | ||
} | ||
return iter["undefined" != typeof _Symbol && _Symbol$iterator || "@@iterator"] = function () { | ||
return iter["undefined" != typeof Symbol && Symbol.iterator || "@@iterator"] = function () { | ||
return this; | ||
}, iter.next = function (value) { | ||
return waiting ? (waiting = !1, value) : pump("next", value); | ||
}, "function" == typeof inner["throw"] && (iter["throw"] = function (value) { | ||
}, "function" == typeof inner.throw && (iter.throw = function (value) { | ||
if (waiting) throw waiting = !1, value; | ||
return pump("throw", value); | ||
}), "function" == typeof inner["return"] && (iter["return"] = function (value) { | ||
}), "function" == typeof inner.return && (iter.return = function (value) { | ||
return waiting ? (waiting = !1, value) : pump("return", value); | ||
}), iter; | ||
} |
@@ -1,4 +0,1 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
export default function _asyncIterator(iterable) { | ||
@@ -9,3 +6,3 @@ var method, | ||
retry = 2; | ||
for ("undefined" != typeof _Symbol && (async = _Symbol.asyncIterator, sync = _Symbol$iterator); retry--;) { | ||
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { | ||
if (async && null != (method = iterable[async])) return method.call(iterable); | ||
@@ -19,5 +16,5 @@ if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); | ||
function AsyncFromSyncIteratorContinuation(r) { | ||
if (Object(r) !== r) return _Promise.reject(new TypeError(r + " is not an object.")); | ||
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); | ||
var done = r.done; | ||
return _Promise.resolve(r.value).then(function (value) { | ||
return Promise.resolve(r.value).then(function (value) { | ||
return { | ||
@@ -29,3 +26,3 @@ value: value, | ||
} | ||
return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { | ||
return AsyncFromSyncIterator = function (s) { | ||
this.s = s, this.n = s.next; | ||
@@ -35,8 +32,8 @@ }, AsyncFromSyncIterator.prototype = { | ||
n: null, | ||
next: function next() { | ||
next: function () { | ||
return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); | ||
}, | ||
"return": function _return(value) { | ||
var ret = this.s["return"]; | ||
return void 0 === ret ? _Promise.resolve({ | ||
return: function (value) { | ||
var ret = this.s.return; | ||
return void 0 === ret ? Promise.resolve({ | ||
value: value, | ||
@@ -46,7 +43,7 @@ done: !0 | ||
}, | ||
"throw": function _throw(value) { | ||
var thr = this.s["return"]; | ||
return void 0 === thr ? _Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); | ||
throw: function (value) { | ||
var thr = this.s.return; | ||
return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); | ||
} | ||
}, new AsyncFromSyncIterator(s); | ||
} |
@@ -1,2 +0,1 @@ | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | ||
@@ -13,3 +12,3 @@ try { | ||
} else { | ||
_Promise.resolve(value).then(_next, _throw); | ||
Promise.resolve(value).then(_next, _throw); | ||
} | ||
@@ -21,3 +20,3 @@ } | ||
args = arguments; | ||
return new _Promise(function (resolve, reject) { | ||
return new Promise(function (resolve, reject) { | ||
var gen = fn.apply(self, args); | ||
@@ -24,0 +23,0 @@ function _next(value) { |
@@ -1,5 +0,4 @@ | ||
import _typeof from "./typeof.js"; | ||
export default function _checkInRHS(value) { | ||
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? _typeof(value) : "null")); | ||
if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? typeof value : "null")); | ||
return value; | ||
} |
@@ -1,2 +0,1 @@ | ||
import _Reflect$construct from "core-js/library/fn/reflect/construct.js"; | ||
import setPrototypeOf from "./setPrototypeOf.js"; | ||
@@ -6,3 +5,3 @@ import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; | ||
if (isNativeReflectConstruct()) { | ||
_construct = _Reflect$construct.bind(); | ||
_construct = Reflect.construct.bind(); | ||
} else { | ||
@@ -9,0 +8,0 @@ _construct = function _construct(Parent, args, Class) { |
@@ -1,2 +0,1 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import toPropertyKey from "./toPropertyKey.js"; | ||
@@ -9,3 +8,3 @@ function _defineProperties(target, props) { | ||
if ("value" in descriptor) descriptor.writable = true; | ||
_Object$defineProperty(target, toPropertyKey(descriptor.key), descriptor); | ||
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); | ||
} | ||
@@ -16,3 +15,3 @@ } | ||
if (staticProps) _defineProperties(Constructor, staticProps); | ||
_Object$defineProperty(Constructor, "prototype", { | ||
Object.defineProperty(Constructor, "prototype", { | ||
writable: false | ||
@@ -19,0 +18,0 @@ }); |
@@ -1,15 +0,12 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; | ||
export default function _createForOfIteratorHelper(o, allowArrayLike) { | ||
var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (!it) { | ||
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
var i = 0; | ||
var F = function F() {}; | ||
var F = function () {}; | ||
return { | ||
s: F, | ||
n: function n() { | ||
n: function () { | ||
if (i >= o.length) return { | ||
@@ -23,4 +20,4 @@ done: true | ||
}, | ||
e: function e(_e) { | ||
throw _e; | ||
e: function (e) { | ||
throw e; | ||
}, | ||
@@ -36,6 +33,6 @@ f: F | ||
return { | ||
s: function s() { | ||
s: function () { | ||
it = it.call(o); | ||
}, | ||
n: function n() { | ||
n: function () { | ||
var step = it.next(); | ||
@@ -45,9 +42,9 @@ normalCompletion = step.done; | ||
}, | ||
e: function e(_e2) { | ||
e: function (e) { | ||
didErr = true; | ||
err = _e2; | ||
err = e; | ||
}, | ||
f: function f() { | ||
f: function () { | ||
try { | ||
if (!normalCompletion && it["return"] != null) it["return"](); | ||
if (!normalCompletion && it.return != null) it.return(); | ||
} finally { | ||
@@ -54,0 +51,0 @@ if (didErr) throw err; |
@@ -1,9 +0,6 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; | ||
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof _Symbol !== "undefined" && o[_Symbol$iterator] || o["@@iterator"]; | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) return (it = it.call(o)).next.bind(it); | ||
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
@@ -10,0 +7,0 @@ var i = 0; |
@@ -1,2 +0,1 @@ | ||
import _Reflect$construct from "core-js/library/fn/reflect/construct.js"; | ||
import getPrototypeOf from "./getPrototypeOf.js"; | ||
@@ -12,3 +11,3 @@ import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; | ||
var NewTarget = getPrototypeOf(this).constructor; | ||
result = _Reflect$construct(Super, arguments, NewTarget); | ||
result = Reflect.construct(Super, arguments, NewTarget); | ||
} else { | ||
@@ -15,0 +14,0 @@ result = Super.apply(this, arguments); |
@@ -1,4 +0,1 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Symbol$toStringTag from "core-js/library/fn/symbol/to-string-tag.js"; | ||
import _Object$assign from "core-js/library/fn/object/assign.js"; | ||
import toArray from "./toArray.js"; | ||
@@ -21,3 +18,3 @@ import toPropertyKey from "./toPropertyKey.js"; | ||
function _getDecoratorsApi() { | ||
_getDecoratorsApi = function _getDecoratorsApi() { | ||
_getDecoratorsApi = function () { | ||
return api; | ||
@@ -27,3 +24,3 @@ }; | ||
elementsDefinitionOrder: [["method"], ["field"]], | ||
initializeInstanceElements: function initializeInstanceElements(O, elements) { | ||
initializeInstanceElements: function (O, elements) { | ||
["method", "field"].forEach(function (kind) { | ||
@@ -37,3 +34,3 @@ elements.forEach(function (element) { | ||
}, | ||
initializeClassElements: function initializeClassElements(F, elements) { | ||
initializeClassElements: function (F, elements) { | ||
var proto = F.prototype; | ||
@@ -50,3 +47,3 @@ ["method", "field"].forEach(function (kind) { | ||
}, | ||
defineClassElement: function defineClassElement(receiver, element) { | ||
defineClassElement: function (receiver, element) { | ||
var descriptor = element.descriptor; | ||
@@ -62,9 +59,9 @@ if (element.kind === "field") { | ||
} | ||
_Object$defineProperty(receiver, element.key, descriptor); | ||
Object.defineProperty(receiver, element.key, descriptor); | ||
}, | ||
decorateClass: function decorateClass(elements, decorators) { | ||
decorateClass: function (elements, decorators) { | ||
var newElements = []; | ||
var finishers = []; | ||
var placements = { | ||
"static": [], | ||
static: [], | ||
prototype: [], | ||
@@ -94,3 +91,3 @@ own: [] | ||
}, | ||
addElementPlacement: function addElementPlacement(element, placements, silent) { | ||
addElementPlacement: function (element, placements, silent) { | ||
var keys = placements[element.placement]; | ||
@@ -102,3 +99,3 @@ if (!silent && keys.indexOf(element.key) !== -1) { | ||
}, | ||
decorateElement: function decorateElement(element, placements) { | ||
decorateElement: function (element, placements) { | ||
var extras = []; | ||
@@ -130,3 +127,3 @@ var finishers = []; | ||
}, | ||
decorateConstructor: function decorateConstructor(elements, decorators) { | ||
decorateConstructor: function (elements, decorators) { | ||
var finishers = []; | ||
@@ -155,3 +152,3 @@ for (var i = decorators.length - 1; i >= 0; i--) { | ||
}, | ||
fromElementDescriptor: function fromElementDescriptor(element) { | ||
fromElementDescriptor: function (element) { | ||
var obj = { | ||
@@ -167,7 +164,7 @@ kind: element.kind, | ||
}; | ||
_Object$defineProperty(obj, _Symbol$toStringTag, desc); | ||
Object.defineProperty(obj, Symbol.toStringTag, desc); | ||
if (element.kind === "field") obj.initializer = element.initializer; | ||
return obj; | ||
}, | ||
toElementDescriptors: function toElementDescriptors(elementObjects) { | ||
toElementDescriptors: function (elementObjects) { | ||
if (elementObjects === undefined) return; | ||
@@ -181,3 +178,3 @@ return toArray(elementObjects).map(function (elementObject) { | ||
}, | ||
toElementDescriptor: function toElementDescriptor(elementObject) { | ||
toElementDescriptor: function (elementObject) { | ||
var kind = String(elementObject.kind); | ||
@@ -198,3 +195,3 @@ if (kind !== "method" && kind !== "field") { | ||
placement: placement, | ||
descriptor: _Object$assign({}, descriptor) | ||
descriptor: Object.assign({}, descriptor) | ||
}; | ||
@@ -211,3 +208,3 @@ if (kind !== "field") { | ||
}, | ||
toElementFinisherExtras: function toElementFinisherExtras(elementObject) { | ||
toElementFinisherExtras: function (elementObject) { | ||
var element = this.toElementDescriptor(elementObject); | ||
@@ -222,3 +219,3 @@ var finisher = _optionalCallableProperty(elementObject, "finisher"); | ||
}, | ||
fromClassDescriptor: function fromClassDescriptor(elements) { | ||
fromClassDescriptor: function (elements) { | ||
var obj = { | ||
@@ -232,6 +229,6 @@ kind: "class", | ||
}; | ||
_Object$defineProperty(obj, _Symbol$toStringTag, desc); | ||
Object.defineProperty(obj, Symbol.toStringTag, desc); | ||
return obj; | ||
}, | ||
toClassDescriptor: function toClassDescriptor(obj) { | ||
toClassDescriptor: function (obj) { | ||
var kind = String(obj.kind); | ||
@@ -253,3 +250,3 @@ if (kind !== "class") { | ||
}, | ||
runClassFinishers: function runClassFinishers(constructor, finishers) { | ||
runClassFinishers: function (constructor, finishers) { | ||
for (var i = 0; i < finishers.length; i++) { | ||
@@ -266,3 +263,3 @@ var newConstructor = (0, finishers[i])(constructor); | ||
}, | ||
disallowProperty: function disallowProperty(obj, name, objectType) { | ||
disallowProperty: function (obj, name, objectType) { | ||
if (obj[name] !== undefined) { | ||
@@ -307,3 +304,3 @@ throw new TypeError(objectType + " can't have a ." + name + " property."); | ||
key: key, | ||
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", | ||
placement: def.static ? "static" : def.kind === "field" ? "own" : "prototype", | ||
descriptor: descriptor | ||
@@ -324,3 +321,3 @@ }; | ||
var newElements = []; | ||
var isSameElement = function isSameElement(other) { | ||
var isSameElement = function (other) { | ||
return other.kind === "method" && other.key === element.key && other.placement === element.placement; | ||
@@ -327,0 +324,0 @@ }; |
@@ -1,11 +0,8 @@ | ||
import _Object$getOwnPropertyNames from "core-js/library/fn/object/get-own-property-names.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
export default function _defaults(obj, defaults) { | ||
var keys = _Object$getOwnPropertyNames(defaults); | ||
var keys = Object.getOwnPropertyNames(defaults); | ||
for (var i = 0; i < keys.length; i++) { | ||
var key = keys[i]; | ||
var value = _Object$getOwnPropertyDescriptor(defaults, key); | ||
var value = Object.getOwnPropertyDescriptor(defaults, key); | ||
if (value && value.configurable && obj[key] === undefined) { | ||
_Object$defineProperty(obj, key, value); | ||
Object.defineProperty(obj, key, value); | ||
} | ||
@@ -12,0 +9,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
export default function _defineAccessor(type, obj, key, fn) { | ||
@@ -7,3 +6,3 @@ var desc = { | ||
}; | ||
return desc[type] = fn, _Object$defineProperty(obj, key, desc); | ||
return desc[type] = fn, Object.defineProperty(obj, key, desc); | ||
} |
@@ -1,3 +0,1 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Object$getOwnPropertySymbols from "core-js/library/fn/object/get-own-property-symbols.js"; | ||
export default function _defineEnumerableProperties(obj, descs) { | ||
@@ -8,6 +6,6 @@ for (var key in descs) { | ||
if ("value" in desc) desc.writable = true; | ||
_Object$defineProperty(obj, key, desc); | ||
Object.defineProperty(obj, key, desc); | ||
} | ||
if (_Object$getOwnPropertySymbols) { | ||
var objectSymbols = _Object$getOwnPropertySymbols(descs); | ||
if (Object.getOwnPropertySymbols) { | ||
var objectSymbols = Object.getOwnPropertySymbols(descs); | ||
for (var i = 0; i < objectSymbols.length; i++) { | ||
@@ -18,3 +16,3 @@ var sym = objectSymbols[i]; | ||
if ("value" in desc) desc.writable = true; | ||
_Object$defineProperty(obj, sym, desc); | ||
Object.defineProperty(obj, sym, desc); | ||
} | ||
@@ -21,0 +19,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import toPropertyKey from "./toPropertyKey.js"; | ||
@@ -6,3 +5,3 @@ export default function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
_Object$defineProperty(obj, key, { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
@@ -9,0 +8,0 @@ enumerable: true, |
@@ -1,7 +0,5 @@ | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
function dispose_SuppressedError(suppressed, error) { | ||
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function dispose_SuppressedError(suppressed, error) { | ||
return "undefined" != typeof SuppressedError ? dispose_SuppressedError = SuppressedError : (dispose_SuppressedError = function (suppressed, error) { | ||
this.suppressed = suppressed, this.error = error, this.stack = new Error().stack; | ||
}, dispose_SuppressedError.prototype = _Object$create(Error.prototype, { | ||
}, dispose_SuppressedError.prototype = Object.create(Error.prototype, { | ||
constructor: { | ||
@@ -19,3 +17,3 @@ value: dispose_SuppressedError, | ||
p = r.d.call(r.v); | ||
if (r.a) return _Promise.resolve(p).then(next, err); | ||
if (r.a) return Promise.resolve(p).then(next, err); | ||
} catch (e) { | ||
@@ -22,0 +20,0 @@ return err(e); |
@@ -1,4 +0,3 @@ | ||
import _Object$assign from "core-js/library/fn/object/assign.js"; | ||
export default function _extends() { | ||
_extends = _Object$assign ? _Object$assign.bind() : function (target) { | ||
_extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -5,0 +4,0 @@ var source = arguments[i]; |
@@ -1,7 +0,5 @@ | ||
import _Reflect$get from "core-js/library/fn/reflect/get.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import superPropBase from "./superPropBase.js"; | ||
export default function _get() { | ||
if (typeof Reflect !== "undefined" && _Reflect$get) { | ||
_get = _Reflect$get.bind(); | ||
if (typeof Reflect !== "undefined" && Reflect.get) { | ||
_get = Reflect.get.bind(); | ||
} else { | ||
@@ -11,3 +9,3 @@ _get = function _get(target, property, receiver) { | ||
if (!base) return; | ||
var desc = _Object$getOwnPropertyDescriptor(base, property); | ||
var desc = Object.getOwnPropertyDescriptor(base, property); | ||
if (desc.get) { | ||
@@ -14,0 +12,0 @@ return desc.get.call(arguments.length < 3 ? target : receiver); |
@@ -1,8 +0,6 @@ | ||
import _Object$setPrototypeOf from "core-js/library/fn/object/set-prototype-of.js"; | ||
import _Object$getPrototypeOf from "core-js/library/fn/object/get-prototype-of.js"; | ||
export default function _getPrototypeOf(o) { | ||
_getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
return o.__proto__ || _Object$getPrototypeOf(o); | ||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
return o.__proto__ || Object.getPrototypeOf(o); | ||
}; | ||
return _getPrototypeOf(o); | ||
} |
@@ -1,3 +0,1 @@ | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import setPrototypeOf from "./setPrototypeOf.js"; | ||
@@ -8,3 +6,3 @@ export default function _inherits(subClass, superClass) { | ||
} | ||
subClass.prototype = _Object$create(superClass && superClass.prototype, { | ||
subClass.prototype = Object.create(superClass && superClass.prototype, { | ||
constructor: { | ||
@@ -16,3 +14,3 @@ value: subClass, | ||
}); | ||
_Object$defineProperty(subClass, "prototype", { | ||
Object.defineProperty(subClass, "prototype", { | ||
writable: false | ||
@@ -19,0 +17,0 @@ }); |
@@ -1,7 +0,6 @@ | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import setPrototypeOf from "./setPrototypeOf.js"; | ||
export default function _inheritsLoose(subClass, superClass) { | ||
subClass.prototype = _Object$create(superClass.prototype); | ||
subClass.prototype = Object.create(superClass.prototype); | ||
subClass.prototype.constructor = subClass; | ||
setPrototypeOf(subClass, superClass); | ||
} |
@@ -1,5 +0,4 @@ | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
export default function _initializerDefineProperty(target, property, descriptor, context) { | ||
if (!descriptor) return; | ||
_Object$defineProperty(target, property, { | ||
Object.defineProperty(target, property, { | ||
enumerable: descriptor.enumerable, | ||
@@ -6,0 +5,0 @@ configurable: descriptor.configurable, |
@@ -1,6 +0,4 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$hasInstance from "core-js/library/fn/symbol/has-instance.js"; | ||
export default function _instanceof(left, right) { | ||
if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) { | ||
return !!right[_Symbol$hasInstance](left); | ||
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { | ||
return !!right[Symbol.hasInstance](left); | ||
} else { | ||
@@ -7,0 +5,0 @@ return left instanceof right; |
export default function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
"default": obj | ||
default: obj | ||
}; | ||
} |
@@ -1,10 +0,6 @@ | ||
import _typeof from "./typeof.js"; | ||
import _WeakMap from "core-js/library/fn/weak-map.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
function _getRequireWildcardCache(nodeInterop) { | ||
if (typeof _WeakMap !== "function") return null; | ||
var cacheBabelInterop = new _WeakMap(); | ||
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = 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; | ||
@@ -17,5 +13,5 @@ })(nodeInterop); | ||
} | ||
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | ||
if (obj === null || typeof obj !== "object" && typeof obj !== "function") { | ||
return { | ||
"default": obj | ||
default: obj | ||
}; | ||
@@ -28,8 +24,8 @@ } | ||
var newObj = {}; | ||
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | ||
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; | ||
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; | ||
if (desc && (desc.get || desc.set)) { | ||
_Object$defineProperty(newObj, key, desc); | ||
Object.defineProperty(newObj, key, desc); | ||
} else { | ||
@@ -40,3 +36,3 @@ newObj[key] = obj[key]; | ||
} | ||
newObj["default"] = obj; | ||
newObj.default = obj; | ||
if (cache) { | ||
@@ -43,0 +39,0 @@ cache.set(obj, newObj); |
@@ -1,8 +0,7 @@ | ||
import _Reflect$construct from "core-js/library/fn/reflect/construct.js"; | ||
export default function _isNativeReflectConstruct() { | ||
if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | ||
if (_Reflect$construct.sham) return false; | ||
if (typeof Reflect === "undefined" || !Reflect.construct) return false; | ||
if (Reflect.construct.sham) return false; | ||
if (typeof Proxy === "function") return true; | ||
try { | ||
Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | ||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | ||
return true; | ||
@@ -9,0 +8,0 @@ } catch (e) { |
@@ -1,6 +0,3 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
import _Array$from from "core-js/library/fn/array/from.js"; | ||
export default function _iterableToArray(iter) { | ||
if (typeof _Symbol !== "undefined" && iter[_Symbol$iterator] != null || iter["@@iterator"] != null) return _Array$from(iter); | ||
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); | ||
} |
@@ -1,5 +0,3 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
export default function _iterableToArrayLimit(arr, i) { | ||
var _i = null == arr ? null : "undefined" != typeof _Symbol && arr[_Symbol$iterator] || arr["@@iterator"]; | ||
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; | ||
if (null != _i) { | ||
@@ -22,3 +20,3 @@ var _s, | ||
try { | ||
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; | ||
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; | ||
} finally { | ||
@@ -25,0 +23,0 @@ if (_d) throw _e; |
@@ -1,5 +0,3 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
export default function _iterableToArrayLimitLoose(arr, i) { | ||
var _i = arr && ("undefined" != typeof _Symbol && arr[_Symbol$iterator] || arr["@@iterator"]); | ||
var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); | ||
if (null != _i) { | ||
@@ -6,0 +4,0 @@ var _s, |
@@ -1,6 +0,4 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$for from "core-js/library/fn/symbol/for.js"; | ||
var REACT_ELEMENT_TYPE; | ||
export default function _createRawReactElement(type, props, key, children) { | ||
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof _Symbol && _Symbol$for && _Symbol$for("react.element") || 60103); | ||
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103); | ||
var defaultProps = type && type.defaultProps, | ||
@@ -7,0 +5,0 @@ childrenLength = arguments.length - 3; |
@@ -1,5 +0,4 @@ | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import arrayLikeToArray from "./arrayLikeToArray.js"; | ||
export default function _maybeArrayLike(next, arr, i) { | ||
if (arr && !_Array$isArray(arr) && typeof arr.length === "number") { | ||
if (arr && !Array.isArray(arr) && typeof arr.length === "number") { | ||
var len = arr.length; | ||
@@ -6,0 +5,0 @@ return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); |
@@ -1,14 +0,8 @@ | ||
import _Object$keys from "core-js/library/fn/object/keys.js"; | ||
import _Object$getOwnPropertySymbols from "core-js/library/fn/object/get-own-property-symbols.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$getOwnPropertyDescriptors from "core-js/library/fn/object/get-own-property-descriptors.js"; | ||
import _Object$defineProperties from "core-js/library/fn/object/define-properties.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import defineProperty from "./defineProperty.js"; | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = _Object$keys(object); | ||
if (_Object$getOwnPropertySymbols) { | ||
var symbols = _Object$getOwnPropertySymbols(object); | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
enumerableOnly && (symbols = symbols.filter(function (sym) { | ||
return _Object$getOwnPropertyDescriptor(object, sym).enumerable; | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
})), keys.push.apply(keys, symbols); | ||
@@ -23,4 +17,4 @@ } | ||
defineProperty(target, key, source[key]); | ||
}) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
@@ -27,0 +21,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import _Object$getOwnPropertySymbols from "core-js/library/fn/object/get-own-property-symbols.js"; | ||
import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js"; | ||
@@ -7,4 +6,4 @@ export default function _objectWithoutProperties(source, excluded) { | ||
var key, i; | ||
if (_Object$getOwnPropertySymbols) { | ||
var sourceSymbolKeys = _Object$getOwnPropertySymbols(source); | ||
if (Object.getOwnPropertySymbols) { | ||
var sourceSymbolKeys = Object.getOwnPropertySymbols(source); | ||
for (i = 0; i < sourceSymbolKeys.length; i++) { | ||
@@ -11,0 +10,0 @@ key = sourceSymbolKeys[i]; |
@@ -1,6 +0,5 @@ | ||
import _Object$keys from "core-js/library/fn/object/keys.js"; | ||
export default function _objectWithoutPropertiesLoose(source, excluded) { | ||
if (source == null) return {}; | ||
var target = {}; | ||
var sourceKeys = _Object$keys(source); | ||
var sourceKeys = Object.keys(source); | ||
var key, i; | ||
@@ -7,0 +6,0 @@ for (i = 0; i < sourceKeys.length; i++) { |
@@ -1,5 +0,4 @@ | ||
import _typeof from "./typeof.js"; | ||
import assertThisInitialized from "./assertThisInitialized.js"; | ||
export default function _possibleConstructorReturn(self, call) { | ||
if (call && (_typeof(call) === "object" || typeof call === "function")) { | ||
if (call && (typeof call === "object" || typeof call === "function")) { | ||
return call; | ||
@@ -6,0 +5,0 @@ } else if (call !== void 0) { |
@@ -1,11 +0,4 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import _Object$getPrototypeOf from "core-js/library/fn/object/get-prototype-of.js"; | ||
import _Object$setPrototypeOf from "core-js/library/fn/object/set-prototype-of.js"; | ||
import _Promise from "core-js/library/fn/promise.js"; | ||
export default function _regeneratorRuntime() { | ||
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
_regeneratorRuntime = function _regeneratorRuntime() { | ||
_regeneratorRuntime = function () { | ||
return exports; | ||
@@ -16,6 +9,6 @@ }; | ||
hasOwn = Op.hasOwnProperty, | ||
defineProperty = _Object$defineProperty || function (obj, key, desc) { | ||
defineProperty = Object.defineProperty || function (obj, key, desc) { | ||
obj[key] = desc.value; | ||
}, | ||
$Symbol = "function" == typeof _Symbol ? _Symbol : {}, | ||
$Symbol = "function" == typeof Symbol ? Symbol : {}, | ||
iteratorSymbol = $Symbol.iterator || "@@iterator", | ||
@@ -25,3 +18,3 @@ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", | ||
function define(obj, key, value) { | ||
return _Object$defineProperty(obj, key, { | ||
return Object.defineProperty(obj, key, { | ||
value: value, | ||
@@ -36,3 +29,3 @@ enumerable: !0, | ||
} catch (err) { | ||
define = function define(obj, key, value) { | ||
define = function (obj, key, value) { | ||
return obj[key] = value; | ||
@@ -43,3 +36,3 @@ }; | ||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, | ||
generator = _Object$create(protoGenerator.prototype), | ||
generator = Object.create(protoGenerator.prototype), | ||
context = new Context(tryLocsList || []); | ||
@@ -72,6 +65,6 @@ return defineProperty(generator, "_invoke", { | ||
}); | ||
var getProto = _Object$getPrototypeOf, | ||
var getProto = Object.getPrototypeOf, | ||
NativeIteratorPrototype = getProto && getProto(getProto(values([]))); | ||
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); | ||
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); | ||
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); | ||
function defineIteratorMethods(prototype) { | ||
@@ -90,3 +83,3 @@ ["next", "throw", "return"].forEach(function (method) { | ||
value = result.value; | ||
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { | ||
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { | ||
invoke("next", value, resolve, reject); | ||
@@ -105,3 +98,3 @@ }, function (err) { | ||
defineProperty(this, "_invoke", { | ||
value: function value(method, arg) { | ||
value: function (method, arg) { | ||
function callInvokeWithMethodAndArg() { | ||
@@ -153,3 +146,3 @@ return new PromiseImpl(function (resolve, reject) { | ||
method = delegate.iterator[methodName]; | ||
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; | ||
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; | ||
var record = tryCatch(method, delegate.iterator, context.arg); | ||
@@ -209,3 +202,3 @@ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; | ||
}, exports.mark = function (genFun) { | ||
return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; | ||
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; | ||
}, exports.awrap = function (arg) { | ||
@@ -218,3 +211,3 @@ return { | ||
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { | ||
void 0 === PromiseImpl && (PromiseImpl = _Promise); | ||
void 0 === PromiseImpl && (PromiseImpl = Promise); | ||
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); | ||
@@ -241,6 +234,6 @@ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { | ||
constructor: Context, | ||
reset: function reset(skipTempReset) { | ||
reset: function (skipTempReset) { | ||
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); | ||
}, | ||
stop: function stop() { | ||
stop: function () { | ||
this.done = !0; | ||
@@ -251,3 +244,3 @@ var rootRecord = this.tryEntries[0].completion; | ||
}, | ||
dispatchException: function dispatchException(exception) { | ||
dispatchException: function (exception) { | ||
if (this.done) throw exception; | ||
@@ -277,3 +270,3 @@ var context = this; | ||
}, | ||
abrupt: function abrupt(type, arg) { | ||
abrupt: function (type, arg) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -290,7 +283,7 @@ var entry = this.tryEntries[i]; | ||
}, | ||
complete: function complete(record, afterLoc) { | ||
complete: function (record, afterLoc) { | ||
if ("throw" === record.type) throw record.arg; | ||
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; | ||
}, | ||
finish: function finish(finallyLoc) { | ||
finish: function (finallyLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -301,3 +294,3 @@ var entry = this.tryEntries[i]; | ||
}, | ||
"catch": function _catch(tryLoc) { | ||
catch: function (tryLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -316,3 +309,3 @@ var entry = this.tryEntries[i]; | ||
}, | ||
delegateYield: function delegateYield(iterable, resultName, nextLoc) { | ||
delegateYield: function (iterable, resultName, nextLoc) { | ||
return this.delegate = { | ||
@@ -319,0 +312,0 @@ iterator: values(iterable), |
@@ -1,9 +0,6 @@ | ||
import _Reflect$set from "core-js/library/fn/reflect/set.js"; | ||
import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js"; | ||
import _Object$defineProperty from "core-js/library/fn/object/define-property.js"; | ||
import superPropBase from "./superPropBase.js"; | ||
import defineProperty from "./defineProperty.js"; | ||
function set(target, property, value, receiver) { | ||
if (typeof Reflect !== "undefined" && _Reflect$set) { | ||
set = _Reflect$set; | ||
if (typeof Reflect !== "undefined" && Reflect.set) { | ||
set = Reflect.set; | ||
} else { | ||
@@ -14,3 +11,3 @@ set = function set(target, property, value, receiver) { | ||
if (base) { | ||
desc = _Object$getOwnPropertyDescriptor(base, property); | ||
desc = Object.getOwnPropertyDescriptor(base, property); | ||
if (desc.set) { | ||
@@ -23,3 +20,3 @@ desc.set.call(receiver, value); | ||
} | ||
desc = _Object$getOwnPropertyDescriptor(receiver, property); | ||
desc = Object.getOwnPropertyDescriptor(receiver, property); | ||
if (desc) { | ||
@@ -30,3 +27,3 @@ if (!desc.writable) { | ||
desc.value = value; | ||
_Object$defineProperty(receiver, property, desc); | ||
Object.defineProperty(receiver, property, desc); | ||
} else { | ||
@@ -33,0 +30,0 @@ defineProperty(receiver, property, value); |
@@ -1,4 +0,3 @@ | ||
import _Object$setPrototypeOf from "core-js/library/fn/object/set-prototype-of.js"; | ||
export default function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = _Object$setPrototypeOf ? _Object$setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
@@ -5,0 +4,0 @@ return o; |
@@ -1,3 +0,1 @@ | ||
import _Object$freeze from "core-js/library/fn/object/freeze.js"; | ||
import _Object$defineProperties from "core-js/library/fn/object/define-properties.js"; | ||
export default function _taggedTemplateLiteral(strings, raw) { | ||
@@ -7,7 +5,7 @@ if (!raw) { | ||
} | ||
return _Object$freeze(_Object$defineProperties(strings, { | ||
return Object.freeze(Object.defineProperties(strings, { | ||
raw: { | ||
value: _Object$freeze(raw) | ||
value: Object.freeze(raw) | ||
} | ||
})); | ||
} |
@@ -1,9 +0,7 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Symbol$toPrimitive from "core-js/library/fn/symbol/to-primitive.js"; | ||
export default function _toPrimitive(input, hint) { | ||
if (_typeof(input) !== "object" || input === null) return input; | ||
var prim = input[_Symbol$toPrimitive]; | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (_typeof(res) !== "object") return res; | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
@@ -10,0 +8,0 @@ } |
@@ -1,6 +0,5 @@ | ||
import _typeof from "./typeof.js"; | ||
import toPrimitive from "./toPrimitive.js"; | ||
export default function _toPropertyKey(arg) { | ||
var key = toPrimitive(arg, "string"); | ||
return _typeof(key) === "symbol" ? key : String(key); | ||
return typeof key === "symbol" ? key : String(key); | ||
} |
@@ -1,11 +0,9 @@ | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$iterator from "core-js/library/fn/symbol/iterator.js"; | ||
export default function _typeof(obj) { | ||
"@babel/helpers - typeof"; | ||
return _typeof = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function (obj) { | ||
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | ||
return typeof obj; | ||
} : function (obj) { | ||
return obj && "function" == typeof _Symbol && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | ||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}, _typeof(obj); | ||
} |
@@ -1,2 +0,1 @@ | ||
import _Array$from from "core-js/library/fn/array/from.js"; | ||
import arrayLikeToArray from "./arrayLikeToArray.js"; | ||
@@ -8,4 +7,4 @@ export default function _unsupportedIterableToArray(o, minLen) { | ||
if (n === "Object" && o.constructor) n = o.constructor.name; | ||
if (n === "Map" || n === "Set") return _Array$from(o); | ||
if (n === "Map" || n === "Set") return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | ||
} |
@@ -1,9 +0,6 @@ | ||
import _typeof from "./typeof.js"; | ||
import _Symbol from "core-js/library/fn/symbol/index.js"; | ||
import _Symbol$for from "core-js/library/fn/symbol/for.js"; | ||
export default function _using(stack, value, isAwait) { | ||
if (null == value) return value; | ||
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")]; | ||
if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); | ||
if ("object" != typeof value) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")]; | ||
if (null == dispose && (dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); | ||
return stack.push({ | ||
@@ -10,0 +7,0 @@ v: value, |
@@ -1,3 +0,1 @@ | ||
import _Map from "core-js/library/fn/map.js"; | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import getPrototypeOf from "./getPrototypeOf.js"; | ||
@@ -8,3 +6,3 @@ import setPrototypeOf from "./setPrototypeOf.js"; | ||
export default function _wrapNativeSuper(Class) { | ||
var _cache = typeof _Map === "function" ? new _Map() : undefined; | ||
var _cache = typeof Map === "function" ? new Map() : undefined; | ||
_wrapNativeSuper = function _wrapNativeSuper(Class) { | ||
@@ -22,3 +20,3 @@ if (Class === null || !isNativeFunction(Class)) return Class; | ||
} | ||
Wrapper.prototype = _Object$create(Class.prototype, { | ||
Wrapper.prototype = Object.create(Class.prototype, { | ||
constructor: { | ||
@@ -25,0 +23,0 @@ value: Wrapper, |
@@ -1,15 +0,9 @@ | ||
import _typeof from "./typeof.js"; | ||
import _WeakMap from "core-js/library/fn/weak-map.js"; | ||
import _Object$keys from "core-js/library/fn/object/keys.js"; | ||
import _Object$create from "core-js/library/fn/object/create.js"; | ||
import _Symbol$replace from "core-js/library/fn/symbol/replace.js"; | ||
import _Array$isArray from "core-js/library/fn/array/is-array.js"; | ||
import setPrototypeOf from "./setPrototypeOf.js"; | ||
import inherits from "./inherits.js"; | ||
export default function _wrapRegExp() { | ||
_wrapRegExp = function _wrapRegExp(re, groups) { | ||
_wrapRegExp = function (re, groups) { | ||
return new BabelRegExp(re, void 0, groups); | ||
}; | ||
var _super = RegExp.prototype, | ||
_groups = new _WeakMap(); | ||
_groups = new WeakMap(); | ||
function BabelRegExp(re, flags, groups) { | ||
@@ -21,3 +15,3 @@ var _this = new RegExp(re, flags); | ||
var g = _groups.get(re); | ||
return _Object$keys(g).reduce(function (groups, name) { | ||
return Object.keys(g).reduce(function (groups, name) { | ||
var i = g[name]; | ||
@@ -29,3 +23,3 @@ if ("number" == typeof i) groups[name] = result[i];else { | ||
return groups; | ||
}, _Object$create(null)); | ||
}, Object.create(null)); | ||
} | ||
@@ -40,8 +34,8 @@ return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { | ||
return result; | ||
}, BabelRegExp.prototype[_Symbol$replace] = function (str, substitution) { | ||
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { | ||
if ("string" == typeof substitution) { | ||
var groups = _groups.get(this); | ||
return _super[_Symbol$replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { | ||
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { | ||
var group = groups[name]; | ||
return "$" + (_Array$isArray(group) ? group.join("$") : group); | ||
return "$" + (Array.isArray(group) ? group.join("$") : group); | ||
})); | ||
@@ -51,9 +45,9 @@ } | ||
var _this = this; | ||
return _super[_Symbol$replace].call(this, str, function () { | ||
return _super[Symbol.replace].call(this, str, function () { | ||
var args = arguments; | ||
return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); | ||
return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); | ||
}); | ||
} | ||
return _super[_Symbol$replace].call(this, str, substitution); | ||
return _super[Symbol.replace].call(this, str, substitution); | ||
}, _wrapRegExp.apply(this, arguments); | ||
} |
@@ -1,4 +0,3 @@ | ||
var _Object$assign = require("core-js/library/fn/object/assign.js"); | ||
function _extends() { | ||
module.exports = _extends = _Object$assign ? _Object$assign.bind() : function (target) { | ||
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
@@ -13,5 +12,5 @@ var source = arguments[i]; | ||
return target; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
return _extends.apply(this, arguments); | ||
} | ||
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _extends, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,7 +0,5 @@ | ||
var _Reflect$get = require("core-js/library/fn/reflect/get.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var superPropBase = require("./superPropBase.js"); | ||
function _get() { | ||
if (typeof Reflect !== "undefined" && _Reflect$get) { | ||
module.exports = _get = _Reflect$get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
if (typeof Reflect !== "undefined" && Reflect.get) { | ||
module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports.default = module.exports; | ||
} else { | ||
@@ -11,3 +9,3 @@ module.exports = _get = function _get(target, property, receiver) { | ||
if (!base) return; | ||
var desc = _Object$getOwnPropertyDescriptor(base, property); | ||
var desc = Object.getOwnPropertyDescriptor(base, property); | ||
if (desc.get) { | ||
@@ -17,6 +15,6 @@ return desc.get.call(arguments.length < 3 ? target : receiver); | ||
return desc.value; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
} | ||
return _get.apply(this, arguments); | ||
} | ||
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _get, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,7 @@ | ||
var _Object$setPrototypeOf = require("core-js/library/fn/object/set-prototype-of.js"); | ||
var _Object$getPrototypeOf = require("core-js/library/fn/object/get-prototype-of.js"); | ||
function _getPrototypeOf(o) { | ||
module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
return o.__proto__ || _Object$getPrototypeOf(o); | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
return o.__proto__ || Object.getPrototypeOf(o); | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
return _getPrototypeOf(o); | ||
} | ||
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports.default = module.exports; |
function _identity(x) { | ||
return x; | ||
} | ||
module.exports = _identity, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _identity, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,3 +0,1 @@ | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var setPrototypeOf = require("./setPrototypeOf.js"); | ||
@@ -8,3 +6,3 @@ function _inherits(subClass, superClass) { | ||
} | ||
subClass.prototype = _Object$create(superClass && superClass.prototype, { | ||
subClass.prototype = Object.create(superClass && superClass.prototype, { | ||
constructor: { | ||
@@ -16,3 +14,3 @@ value: subClass, | ||
}); | ||
_Object$defineProperty(subClass, "prototype", { | ||
Object.defineProperty(subClass, "prototype", { | ||
writable: false | ||
@@ -22,2 +20,2 @@ }); | ||
} | ||
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _inherits, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,8 +0,7 @@ | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var setPrototypeOf = require("./setPrototypeOf.js"); | ||
function _inheritsLoose(subClass, superClass) { | ||
subClass.prototype = _Object$create(superClass.prototype); | ||
subClass.prototype = Object.create(superClass.prototype); | ||
subClass.prototype.constructor = subClass; | ||
setPrototypeOf(subClass, superClass); | ||
} | ||
module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,4 @@ | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
function _initializerDefineProperty(target, property, descriptor, context) { | ||
if (!descriptor) return; | ||
_Object$defineProperty(target, property, { | ||
Object.defineProperty(target, property, { | ||
enumerable: descriptor.enumerable, | ||
@@ -11,2 +10,2 @@ configurable: descriptor.configurable, | ||
} | ||
module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _initializerDefineProperty, module.exports.__esModule = true, module.exports.default = module.exports; |
function _initializerWarningHelper(descriptor, context) { | ||
throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); | ||
} | ||
module.exports = _initializerWarningHelper, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _initializerWarningHelper, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,4 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$hasInstance = require("core-js/library/fn/symbol/has-instance.js"); | ||
function _instanceof(left, right) { | ||
if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) { | ||
return !!right[_Symbol$hasInstance](left); | ||
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { | ||
return !!right[Symbol.hasInstance](left); | ||
} else { | ||
@@ -10,2 +8,2 @@ return left instanceof right; | ||
} | ||
module.exports = _instanceof, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _instanceof, module.exports.__esModule = true, module.exports.default = module.exports; |
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { | ||
"default": obj | ||
default: obj | ||
}; | ||
} | ||
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,10 +0,6 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var _WeakMap = require("core-js/library/fn/weak-map.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
function _getRequireWildcardCache(nodeInterop) { | ||
if (typeof _WeakMap !== "function") return null; | ||
var cacheBabelInterop = new _WeakMap(); | ||
var cacheNodeInterop = new _WeakMap(); | ||
return (_getRequireWildcardCache = 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; | ||
@@ -17,5 +13,5 @@ })(nodeInterop); | ||
} | ||
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { | ||
if (obj === null || typeof obj !== "object" && typeof obj !== "function") { | ||
return { | ||
"default": obj | ||
default: obj | ||
}; | ||
@@ -28,8 +24,8 @@ } | ||
var newObj = {}; | ||
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; | ||
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; | ||
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; | ||
if (desc && (desc.get || desc.set)) { | ||
_Object$defineProperty(newObj, key, desc); | ||
Object.defineProperty(newObj, key, desc); | ||
} else { | ||
@@ -40,3 +36,3 @@ newObj[key] = obj[key]; | ||
} | ||
newObj["default"] = obj; | ||
newObj.default = obj; | ||
if (cache) { | ||
@@ -47,2 +43,2 @@ cache.set(obj, newObj); | ||
} | ||
module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports.default = module.exports; |
function _isNativeFunction(fn) { | ||
return Function.toString.call(fn).indexOf("[native code]") !== -1; | ||
} | ||
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,8 +0,7 @@ | ||
var _Reflect$construct = require("core-js/library/fn/reflect/construct.js"); | ||
function _isNativeReflectConstruct() { | ||
if (typeof Reflect === "undefined" || !_Reflect$construct) return false; | ||
if (_Reflect$construct.sham) return false; | ||
if (typeof Reflect === "undefined" || !Reflect.construct) return false; | ||
if (Reflect.construct.sham) return false; | ||
if (typeof Proxy === "function") return true; | ||
try { | ||
Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); | ||
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); | ||
return true; | ||
@@ -13,2 +12,2 @@ } catch (e) { | ||
} | ||
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,7 +0,4 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
var _Array$from = require("core-js/library/fn/array/from.js"); | ||
function _iterableToArray(iter) { | ||
if (typeof _Symbol !== "undefined" && iter[_Symbol$iterator] != null || iter["@@iterator"] != null) return _Array$from(iter); | ||
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); | ||
} | ||
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,3 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
function _iterableToArrayLimit(arr, i) { | ||
var _i = null == arr ? null : "undefined" != typeof _Symbol && arr[_Symbol$iterator] || arr["@@iterator"]; | ||
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; | ||
if (null != _i) { | ||
@@ -22,3 +20,3 @@ var _s, | ||
try { | ||
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; | ||
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; | ||
} finally { | ||
@@ -31,2 +29,2 @@ if (_d) throw _e; | ||
} | ||
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,3 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
function _iterableToArrayLimitLoose(arr, i) { | ||
var _i = arr && ("undefined" != typeof _Symbol && arr[_Symbol$iterator] || arr["@@iterator"]); | ||
var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]); | ||
if (null != _i) { | ||
@@ -12,2 +10,2 @@ var _s, | ||
} | ||
module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,4 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$for = require("core-js/library/fn/symbol/for.js"); | ||
var REACT_ELEMENT_TYPE; | ||
function _createRawReactElement(type, props, key, children) { | ||
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof _Symbol && _Symbol$for && _Symbol$for("react.element") || 60103); | ||
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103); | ||
var defaultProps = type && type.defaultProps, | ||
@@ -24,2 +22,2 @@ childrenLength = arguments.length - 3; | ||
} | ||
module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _createRawReactElement, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,4 @@ | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var arrayLikeToArray = require("./arrayLikeToArray.js"); | ||
function _maybeArrayLike(next, arr, i) { | ||
if (arr && !_Array$isArray(arr) && typeof arr.length === "number") { | ||
if (arr && !Array.isArray(arr) && typeof arr.length === "number") { | ||
var len = arr.length; | ||
@@ -10,2 +9,2 @@ return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); | ||
} | ||
module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ function _newArrowCheck(innerThis, boundThis) { | ||
} | ||
module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _newArrowCheck, module.exports.__esModule = true, module.exports.default = module.exports; |
function _nonIterableRest() { | ||
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports.default = module.exports; |
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, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports.default = module.exports; |
function _objectDestructuringEmpty(obj) { | ||
if (obj == null) throw new TypeError("Cannot destructure " + obj); | ||
} | ||
module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _objectDestructuringEmpty, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,14 +0,8 @@ | ||
var _Object$keys = require("core-js/library/fn/object/keys.js"); | ||
var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$getOwnPropertyDescriptors = require("core-js/library/fn/object/get-own-property-descriptors.js"); | ||
var _Object$defineProperties = require("core-js/library/fn/object/define-properties.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var defineProperty = require("./defineProperty.js"); | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = _Object$keys(object); | ||
if (_Object$getOwnPropertySymbols) { | ||
var symbols = _Object$getOwnPropertySymbols(object); | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
enumerableOnly && (symbols = symbols.filter(function (sym) { | ||
return _Object$getOwnPropertyDescriptor(object, sym).enumerable; | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
})), keys.push.apply(keys, symbols); | ||
@@ -23,4 +17,4 @@ } | ||
defineProperty(target, key, source[key]); | ||
}) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { | ||
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); | ||
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
@@ -30,2 +24,2 @@ } | ||
} | ||
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js"); | ||
var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js"); | ||
@@ -7,4 +6,4 @@ function _objectWithoutProperties(source, excluded) { | ||
var key, i; | ||
if (_Object$getOwnPropertySymbols) { | ||
var sourceSymbolKeys = _Object$getOwnPropertySymbols(source); | ||
if (Object.getOwnPropertySymbols) { | ||
var sourceSymbolKeys = Object.getOwnPropertySymbols(source); | ||
for (i = 0; i < sourceSymbolKeys.length; i++) { | ||
@@ -19,2 +18,2 @@ key = sourceSymbolKeys[i]; | ||
} | ||
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,6 +0,5 @@ | ||
var _Object$keys = require("core-js/library/fn/object/keys.js"); | ||
function _objectWithoutPropertiesLoose(source, excluded) { | ||
if (source == null) return {}; | ||
var target = {}; | ||
var sourceKeys = _Object$keys(source); | ||
var sourceKeys = Object.keys(source); | ||
var key, i; | ||
@@ -14,2 +13,2 @@ for (i = 0; i < sourceKeys.length; i++) { | ||
} | ||
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
function _OverloadYield(value, kind) { | ||
this.v = value, this.k = kind; | ||
} | ||
module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _OverloadYield, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,5 +0,4 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var assertThisInitialized = require("./assertThisInitialized.js"); | ||
function _possibleConstructorReturn(self, call) { | ||
if (call && (_typeof(call) === "object" || typeof call === "function")) { | ||
if (call && (typeof call === "object" || typeof call === "function")) { | ||
return call; | ||
@@ -11,2 +10,2 @@ } else if (call !== void 0) { | ||
} | ||
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports.default = module.exports; |
function _readOnlyError(name) { | ||
throw new TypeError("\"" + name + "\" is read-only"); | ||
} | ||
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _readOnlyError, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,20 +0,13 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var _Object$getPrototypeOf = require("core-js/library/fn/object/get-prototype-of.js"); | ||
var _Object$setPrototypeOf = require("core-js/library/fn/object/set-prototype-of.js"); | ||
var _Promise = require("core-js/library/fn/promise.js"); | ||
function _regeneratorRuntime() { | ||
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | ||
module.exports = _regeneratorRuntime = function () { | ||
return exports; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
var exports = {}, | ||
Op = Object.prototype, | ||
hasOwn = Op.hasOwnProperty, | ||
defineProperty = _Object$defineProperty || function (obj, key, desc) { | ||
defineProperty = Object.defineProperty || function (obj, key, desc) { | ||
obj[key] = desc.value; | ||
}, | ||
$Symbol = "function" == typeof _Symbol ? _Symbol : {}, | ||
$Symbol = "function" == typeof Symbol ? Symbol : {}, | ||
iteratorSymbol = $Symbol.iterator || "@@iterator", | ||
@@ -24,3 +17,3 @@ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", | ||
function define(obj, key, value) { | ||
return _Object$defineProperty(obj, key, { | ||
return Object.defineProperty(obj, key, { | ||
value: value, | ||
@@ -35,3 +28,3 @@ enumerable: !0, | ||
} catch (err) { | ||
define = function define(obj, key, value) { | ||
define = function (obj, key, value) { | ||
return obj[key] = value; | ||
@@ -42,3 +35,3 @@ }; | ||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, | ||
generator = _Object$create(protoGenerator.prototype), | ||
generator = Object.create(protoGenerator.prototype), | ||
context = new Context(tryLocsList || []); | ||
@@ -71,6 +64,6 @@ return defineProperty(generator, "_invoke", { | ||
}); | ||
var getProto = _Object$getPrototypeOf, | ||
var getProto = Object.getPrototypeOf, | ||
NativeIteratorPrototype = getProto && getProto(getProto(values([]))); | ||
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); | ||
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); | ||
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); | ||
function defineIteratorMethods(prototype) { | ||
@@ -89,3 +82,3 @@ ["next", "throw", "return"].forEach(function (method) { | ||
value = result.value; | ||
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { | ||
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { | ||
invoke("next", value, resolve, reject); | ||
@@ -104,3 +97,3 @@ }, function (err) { | ||
defineProperty(this, "_invoke", { | ||
value: function value(method, arg) { | ||
value: function (method, arg) { | ||
function callInvokeWithMethodAndArg() { | ||
@@ -152,3 +145,3 @@ return new PromiseImpl(function (resolve, reject) { | ||
method = delegate.iterator[methodName]; | ||
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; | ||
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; | ||
var record = tryCatch(method, delegate.iterator, context.arg); | ||
@@ -208,3 +201,3 @@ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; | ||
}, exports.mark = function (genFun) { | ||
return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; | ||
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; | ||
}, exports.awrap = function (arg) { | ||
@@ -217,3 +210,3 @@ return { | ||
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { | ||
void 0 === PromiseImpl && (PromiseImpl = _Promise); | ||
void 0 === PromiseImpl && (PromiseImpl = Promise); | ||
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); | ||
@@ -240,6 +233,6 @@ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { | ||
constructor: Context, | ||
reset: function reset(skipTempReset) { | ||
reset: function (skipTempReset) { | ||
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); | ||
}, | ||
stop: function stop() { | ||
stop: function () { | ||
this.done = !0; | ||
@@ -250,3 +243,3 @@ var rootRecord = this.tryEntries[0].completion; | ||
}, | ||
dispatchException: function dispatchException(exception) { | ||
dispatchException: function (exception) { | ||
if (this.done) throw exception; | ||
@@ -276,3 +269,3 @@ var context = this; | ||
}, | ||
abrupt: function abrupt(type, arg) { | ||
abrupt: function (type, arg) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -289,7 +282,7 @@ var entry = this.tryEntries[i]; | ||
}, | ||
complete: function complete(record, afterLoc) { | ||
complete: function (record, afterLoc) { | ||
if ("throw" === record.type) throw record.arg; | ||
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; | ||
}, | ||
finish: function finish(finallyLoc) { | ||
finish: function (finallyLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -300,3 +293,3 @@ var entry = this.tryEntries[i]; | ||
}, | ||
"catch": function _catch(tryLoc) { | ||
catch: function (tryLoc) { | ||
for (var i = this.tryEntries.length - 1; i >= 0; --i) { | ||
@@ -315,3 +308,3 @@ var entry = this.tryEntries[i]; | ||
}, | ||
delegateYield: function delegateYield(iterable, resultName, nextLoc) { | ||
delegateYield: function (iterable, resultName, nextLoc) { | ||
return this.delegate = { | ||
@@ -325,2 +318,2 @@ iterator: values(iterable), | ||
} | ||
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,6 @@ | ||
var _Reflect$set = require("core-js/library/fn/reflect/set.js"); | ||
var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js"); | ||
var _Object$defineProperty = require("core-js/library/fn/object/define-property.js"); | ||
var superPropBase = require("./superPropBase.js"); | ||
var defineProperty = require("./defineProperty.js"); | ||
function set(target, property, value, receiver) { | ||
if (typeof Reflect !== "undefined" && _Reflect$set) { | ||
set = _Reflect$set; | ||
if (typeof Reflect !== "undefined" && Reflect.set) { | ||
set = Reflect.set; | ||
} else { | ||
@@ -14,3 +11,3 @@ set = function set(target, property, value, receiver) { | ||
if (base) { | ||
desc = _Object$getOwnPropertyDescriptor(base, property); | ||
desc = Object.getOwnPropertyDescriptor(base, property); | ||
if (desc.set) { | ||
@@ -23,3 +20,3 @@ desc.set.call(receiver, value); | ||
} | ||
desc = _Object$getOwnPropertyDescriptor(receiver, property); | ||
desc = Object.getOwnPropertyDescriptor(receiver, property); | ||
if (desc) { | ||
@@ -30,3 +27,3 @@ if (!desc.writable) { | ||
desc.value = value; | ||
_Object$defineProperty(receiver, property, desc); | ||
Object.defineProperty(receiver, property, desc); | ||
} else { | ||
@@ -47,2 +44,2 @@ defineProperty(receiver, property, value); | ||
} | ||
module.exports = _set, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _set, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,8 @@ | ||
var _Object$setPrototypeOf = require("core-js/library/fn/object/set-prototype-of.js"); | ||
function _setPrototypeOf(o, p) { | ||
module.exports = _setPrototypeOf = _Object$setPrototypeOf ? _Object$setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
return _setPrototypeOf(o, p); | ||
} | ||
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ function _skipFirstGeneratorNext(fn) { | ||
} | ||
module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _skipFirstGeneratorNext, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ var arrayWithHoles = require("./arrayWithHoles.js"); | ||
} | ||
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ var arrayWithHoles = require("./arrayWithHoles.js"); | ||
} | ||
module.exports = _slicedToArrayLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _slicedToArrayLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -9,2 +9,2 @@ var getPrototypeOf = require("./getPrototypeOf.js"); | ||
} | ||
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _superPropBase, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,3 +0,1 @@ | ||
var _Object$freeze = require("core-js/library/fn/object/freeze.js"); | ||
var _Object$defineProperties = require("core-js/library/fn/object/define-properties.js"); | ||
function _taggedTemplateLiteral(strings, raw) { | ||
@@ -7,8 +5,8 @@ if (!raw) { | ||
} | ||
return _Object$freeze(_Object$defineProperties(strings, { | ||
return Object.freeze(Object.defineProperties(strings, { | ||
raw: { | ||
value: _Object$freeze(raw) | ||
value: Object.freeze(raw) | ||
} | ||
})); | ||
} | ||
module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ function _taggedTemplateLiteralLoose(strings, raw) { | ||
} | ||
module.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports.default = module.exports; |
function _tdzError(name) { | ||
throw new ReferenceError(name + " is not defined - temporal dead zone"); | ||
} | ||
module.exports = _tdzError, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _tdzError, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -6,2 +6,2 @@ var temporalUndefined = require("./temporalUndefined.js"); | ||
} | ||
module.exports = _temporalRef, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _temporalRef, module.exports.__esModule = true, module.exports.default = module.exports; |
function _temporalUndefined() {} | ||
module.exports = _temporalUndefined, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _temporalUndefined, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ var arrayWithHoles = require("./arrayWithHoles.js"); | ||
} | ||
module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _toArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -8,2 +8,2 @@ var arrayWithoutHoles = require("./arrayWithoutHoles.js"); | ||
} | ||
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,7 @@ | ||
var _Symbol$toPrimitive = require("core-js/library/fn/symbol/to-primitive.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
function _toPrimitive(input, hint) { | ||
if (_typeof(input) !== "object" || input === null) return input; | ||
var prim = input[_Symbol$toPrimitive]; | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (_typeof(res) !== "object") return res; | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
@@ -13,2 +11,2 @@ } | ||
} | ||
module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _toPrimitive, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,7 +0,6 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var toPrimitive = require("./toPrimitive.js"); | ||
function _toPropertyKey(arg) { | ||
var key = toPrimitive(arg, "string"); | ||
return _typeof(key) === "symbol" ? key : String(key); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,12 +0,10 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$iterator = require("core-js/library/fn/symbol/iterator.js"); | ||
function _typeof(obj) { | ||
"@babel/helpers - typeof"; | ||
return (module.exports = _typeof = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function (obj) { | ||
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { | ||
return typeof obj; | ||
} : function (obj) { | ||
return obj && "function" == typeof _Symbol && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); | ||
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports), _typeof(obj); | ||
} | ||
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _typeof, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,2 +0,1 @@ | ||
var _Array$from = require("core-js/library/fn/array/from.js"); | ||
var arrayLikeToArray = require("./arrayLikeToArray.js"); | ||
@@ -8,5 +7,5 @@ function _unsupportedIterableToArray(o, minLen) { | ||
if (n === "Object" && o.constructor) n = o.constructor.name; | ||
if (n === "Map" || n === "Set") return _Array$from(o); | ||
if (n === "Map" || n === "Set") return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); | ||
} | ||
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,9 +0,6 @@ | ||
var _Symbol = require("core-js/library/fn/symbol/index.js"); | ||
var _Symbol$for = require("core-js/library/fn/symbol/for.js"); | ||
var _typeof = require("./typeof.js")["default"]; | ||
function _using(stack, value, isAwait) { | ||
if (null == value) return value; | ||
if ("object" != _typeof(value)) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[_Symbol.asyncDispose || _Symbol$for("Symbol.asyncDispose")]; | ||
if (null == dispose && (dispose = value[_Symbol.dispose || _Symbol$for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); | ||
if ("object" != typeof value) throw new TypeError("using declarations can only be used with objects, null, or undefined."); | ||
if (isAwait) var dispose = value[Symbol.asyncDispose || Symbol.for("Symbol.asyncDispose")]; | ||
if (null == dispose && (dispose = value[Symbol.dispose || Symbol.for("Symbol.dispose")]), "function" != typeof dispose) throw new TypeError("Property [Symbol.dispose] is not a function."); | ||
return stack.push({ | ||
@@ -15,2 +12,2 @@ v: value, | ||
} | ||
module.exports = _using, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _using, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -7,2 +7,2 @@ var AsyncGenerator = require("./AsyncGenerator.js"); | ||
} | ||
module.exports = _wrapAsyncGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _wrapAsyncGenerator, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,3 +0,1 @@ | ||
var _Map = require("core-js/library/fn/map.js"); | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var getPrototypeOf = require("./getPrototypeOf.js"); | ||
@@ -8,3 +6,3 @@ var setPrototypeOf = require("./setPrototypeOf.js"); | ||
function _wrapNativeSuper(Class) { | ||
var _cache = typeof _Map === "function" ? new _Map() : undefined; | ||
var _cache = typeof Map === "function" ? new Map() : undefined; | ||
module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { | ||
@@ -22,3 +20,3 @@ if (Class === null || !isNativeFunction(Class)) return Class; | ||
} | ||
Wrapper.prototype = _Object$create(Class.prototype, { | ||
Wrapper.prototype = Object.create(Class.prototype, { | ||
constructor: { | ||
@@ -32,5 +30,5 @@ value: Wrapper, | ||
return setPrototypeOf(Wrapper, Class); | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
return _wrapNativeSuper(Class); | ||
} | ||
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports.default = module.exports; |
@@ -1,15 +0,9 @@ | ||
var _typeof = require("./typeof.js")["default"]; | ||
var _WeakMap = require("core-js/library/fn/weak-map.js"); | ||
var _Object$keys = require("core-js/library/fn/object/keys.js"); | ||
var _Object$create = require("core-js/library/fn/object/create.js"); | ||
var _Symbol$replace = require("core-js/library/fn/symbol/replace.js"); | ||
var _Array$isArray = require("core-js/library/fn/array/is-array.js"); | ||
var setPrototypeOf = require("./setPrototypeOf.js"); | ||
var inherits = require("./inherits.js"); | ||
function _wrapRegExp() { | ||
module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { | ||
module.exports = _wrapRegExp = function (re, groups) { | ||
return new BabelRegExp(re, void 0, groups); | ||
}, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
}, module.exports.__esModule = true, module.exports.default = module.exports; | ||
var _super = RegExp.prototype, | ||
_groups = new _WeakMap(); | ||
_groups = new WeakMap(); | ||
function BabelRegExp(re, flags, groups) { | ||
@@ -21,3 +15,3 @@ var _this = new RegExp(re, flags); | ||
var g = _groups.get(re); | ||
return _Object$keys(g).reduce(function (groups, name) { | ||
return Object.keys(g).reduce(function (groups, name) { | ||
var i = g[name]; | ||
@@ -29,3 +23,3 @@ if ("number" == typeof i) groups[name] = result[i];else { | ||
return groups; | ||
}, _Object$create(null)); | ||
}, Object.create(null)); | ||
} | ||
@@ -40,8 +34,8 @@ return inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) { | ||
return result; | ||
}, BabelRegExp.prototype[_Symbol$replace] = function (str, substitution) { | ||
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { | ||
if ("string" == typeof substitution) { | ||
var groups = _groups.get(this); | ||
return _super[_Symbol$replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { | ||
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { | ||
var group = groups[name]; | ||
return "$" + (_Array$isArray(group) ? group.join("$") : group); | ||
return "$" + (Array.isArray(group) ? group.join("$") : group); | ||
})); | ||
@@ -51,10 +45,10 @@ } | ||
var _this = this; | ||
return _super[_Symbol$replace].call(this, str, function () { | ||
return _super[Symbol.replace].call(this, str, function () { | ||
var args = arguments; | ||
return "object" != _typeof(args[args.length - 1]) && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); | ||
return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args); | ||
}); | ||
} | ||
return _super[_Symbol$replace].call(this, str, substitution); | ||
return _super[Symbol.replace].call(this, str, substitution); | ||
}, _wrapRegExp.apply(this, arguments); | ||
} | ||
module.exports = _wrapRegExp, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _wrapRegExp, module.exports.__esModule = true, module.exports.default = module.exports; |
function _writeOnlyError(name) { | ||
throw new TypeError("\"" + name + "\" is write-only"); | ||
} | ||
module.exports = _writeOnlyError, module.exports.__esModule = true, module.exports["default"] = module.exports; | ||
module.exports = _writeOnlyError, module.exports.__esModule = true, module.exports.default = module.exports; |
{ | ||
"name": "@babel/runtime-corejs2", | ||
"version": "7.22.6", | ||
"version": "8.0.0-alpha.0", | ||
"description": "babel's modular runtime helpers with core-js@2 polyfilling", | ||
@@ -210,11 +210,2 @@ "license": "MIT", | ||
"./helpers/esm/wrapRegExp": "./helpers/esm/wrapRegExp.js", | ||
"./helpers/AwaitValue": [ | ||
{ | ||
"node": "./helpers/AwaitValue.js", | ||
"import": "./helpers/esm/AwaitValue.js", | ||
"default": "./helpers/AwaitValue.js" | ||
}, | ||
"./helpers/AwaitValue.js" | ||
], | ||
"./helpers/esm/AwaitValue": "./helpers/esm/AwaitValue.js", | ||
"./helpers/wrapAsyncGenerator": [ | ||
@@ -292,11 +283,2 @@ { | ||
"./helpers/esm/extends": "./helpers/esm/extends.js", | ||
"./helpers/objectSpread": [ | ||
{ | ||
"node": "./helpers/objectSpread.js", | ||
"import": "./helpers/esm/objectSpread.js", | ||
"default": "./helpers/objectSpread.js" | ||
}, | ||
"./helpers/objectSpread.js" | ||
], | ||
"./helpers/esm/objectSpread": "./helpers/esm/objectSpread.js", | ||
"./helpers/inherits": [ | ||
@@ -932,11 +914,2 @@ { | ||
"./helpers/esm/classPrivateMethodInitSpec": "./helpers/esm/classPrivateMethodInitSpec.js", | ||
"./helpers/classPrivateMethodSet": [ | ||
{ | ||
"node": "./helpers/classPrivateMethodSet.js", | ||
"import": "./helpers/esm/classPrivateMethodSet.js", | ||
"default": "./helpers/classPrivateMethodSet.js" | ||
}, | ||
"./helpers/classPrivateMethodSet.js" | ||
], | ||
"./helpers/esm/classPrivateMethodSet": "./helpers/esm/classPrivateMethodSet.js", | ||
"./helpers/identity": [ | ||
@@ -1053,5 +1026,5 @@ { | ||
"engines": { | ||
"node": ">=6.9.0" | ||
"node": "^16.20.0 || ^18.16.0 || >=20.0.0" | ||
}, | ||
"type": "commonjs" | ||
"type": "module" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
287936
298
5499
1