1 | var _Object$keys = require("core-js/library/fn/object/keys.js");
|
2 | var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js");
|
3 | var _Object$getOwnPropertyDescriptor = require("core-js/library/fn/object/get-own-property-descriptor.js");
|
4 | var _Object$getOwnPropertyDescriptors = require("core-js/library/fn/object/get-own-property-descriptors.js");
|
5 | var _Object$defineProperties = require("core-js/library/fn/object/define-properties.js");
|
6 | var _Object$defineProperty = require("core-js/library/fn/object/define-property.js");
|
7 | var defineProperty = require("./defineProperty.js");
|
8 | function ownKeys(e, r) {
|
9 | var t = _Object$keys(e);
|
10 | if (_Object$getOwnPropertySymbols) {
|
11 | var o = _Object$getOwnPropertySymbols(e);
|
12 | r && (o = o.filter(function (r) {
|
13 | return _Object$getOwnPropertyDescriptor(e, r).enumerable;
|
14 | })), t.push.apply(t, o);
|
15 | }
|
16 | return t;
|
17 | }
|
18 | function _objectSpread2(e) {
|
19 | for (var r = 1; r < arguments.length; r++) {
|
20 | var t = null != arguments[r] ? arguments[r] : {};
|
21 | r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
22 | defineProperty(e, r, t[r]);
|
23 | }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
24 | _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r));
|
25 | });
|
26 | }
|
27 | return e;
|
28 | }
|
29 | module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports; |
\ | No newline at end of file |