Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
[4500] Fix | Delete
if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) {
[4501] Fix | Delete
displayText = shortcut;
[4502] Fix | Delete
}
[4503] Fix | Delete
[4504] Fix | Delete
if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) {
[4505] Fix | Delete
displayText = shortcut.display;
[4506] Fix | Delete
ariaLabel = shortcut.ariaLabel;
[4507] Fix | Delete
}
[4508] Fix | Delete
[4509] Fix | Delete
return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
[4510] Fix | Delete
className: className,
[4511] Fix | Delete
"aria-label": ariaLabel
[4512] Fix | Delete
}, displayText);
[4513] Fix | Delete
}
[4514] Fix | Delete
[4515] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (Shortcut);
[4516] Fix | Delete
[4517] Fix | Delete
[4518] Fix | Delete
/***/ }),
[4519] Fix | Delete
[4520] Fix | Delete
/***/ "D3zA":
[4521] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4522] Fix | Delete
[4523] Fix | Delete
"use strict";
[4524] Fix | Delete
[4525] Fix | Delete
[4526] Fix | Delete
var implementation = __webpack_require__("aI7X");
[4527] Fix | Delete
[4528] Fix | Delete
module.exports = Function.prototype.bind || implementation;
[4529] Fix | Delete
[4530] Fix | Delete
[4531] Fix | Delete
/***/ }),
[4532] Fix | Delete
[4533] Fix | Delete
/***/ "DHWS":
[4534] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4535] Fix | Delete
[4536] Fix | Delete
"use strict";
[4537] Fix | Delete
[4538] Fix | Delete
[4539] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[4540] Fix | Delete
value: true
[4541] Fix | Delete
});
[4542] Fix | Delete
[4543] Fix | Delete
var _react = __webpack_require__("cDcd");
[4544] Fix | Delete
[4545] Fix | Delete
var _react2 = _interopRequireDefault(_react);
[4546] Fix | Delete
[4547] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[4548] Fix | Delete
[4549] Fix | Delete
var ChevronDown = function () {
[4550] Fix | Delete
function ChevronDown(props) {
[4551] Fix | Delete
return _react2['default'].createElement(
[4552] Fix | Delete
'svg',
[4553] Fix | Delete
props,
[4554] Fix | Delete
_react2['default'].createElement('path', {
[4555] Fix | Delete
d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z'
[4556] Fix | Delete
})
[4557] Fix | Delete
);
[4558] Fix | Delete
}
[4559] Fix | Delete
[4560] Fix | Delete
return ChevronDown;
[4561] Fix | Delete
}();
[4562] Fix | Delete
[4563] Fix | Delete
ChevronDown.defaultProps = {
[4564] Fix | Delete
viewBox: '0 0 1000 1000'
[4565] Fix | Delete
};
[4566] Fix | Delete
exports['default'] = ChevronDown;
[4567] Fix | Delete
[4568] Fix | Delete
/***/ }),
[4569] Fix | Delete
[4570] Fix | Delete
/***/ "DSFK":
[4571] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[4572] Fix | Delete
[4573] Fix | Delete
"use strict";
[4574] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
[4575] Fix | Delete
function _arrayWithHoles(arr) {
[4576] Fix | Delete
if (Array.isArray(arr)) return arr;
[4577] Fix | Delete
}
[4578] Fix | Delete
[4579] Fix | Delete
/***/ }),
[4580] Fix | Delete
[4581] Fix | Delete
/***/ "DciD":
[4582] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4583] Fix | Delete
[4584] Fix | Delete
"use strict";
[4585] Fix | Delete
[4586] Fix | Delete
[4587] Fix | Delete
function noop() {
[4588] Fix | Delete
return null;
[4589] Fix | Delete
}
[4590] Fix | Delete
[4591] Fix | Delete
noop.isRequired = noop;
[4592] Fix | Delete
[4593] Fix | Delete
function noopThunk() {
[4594] Fix | Delete
return noop;
[4595] Fix | Delete
}
[4596] Fix | Delete
[4597] Fix | Delete
module.exports = {
[4598] Fix | Delete
and: noopThunk,
[4599] Fix | Delete
between: noopThunk,
[4600] Fix | Delete
booleanSome: noopThunk,
[4601] Fix | Delete
childrenHavePropXorChildren: noopThunk,
[4602] Fix | Delete
childrenOf: noopThunk,
[4603] Fix | Delete
childrenOfType: noopThunk,
[4604] Fix | Delete
childrenSequenceOf: noopThunk,
[4605] Fix | Delete
componentWithName: noopThunk,
[4606] Fix | Delete
disallowedIf: noopThunk,
[4607] Fix | Delete
elementType: noopThunk,
[4608] Fix | Delete
empty: noopThunk,
[4609] Fix | Delete
explicitNull: noopThunk,
[4610] Fix | Delete
forbidExtraProps: Object,
[4611] Fix | Delete
integer: noopThunk,
[4612] Fix | Delete
keysOf: noopThunk,
[4613] Fix | Delete
mutuallyExclusiveProps: noopThunk,
[4614] Fix | Delete
mutuallyExclusiveTrueProps: noopThunk,
[4615] Fix | Delete
nChildren: noopThunk,
[4616] Fix | Delete
nonNegativeInteger: noop,
[4617] Fix | Delete
nonNegativeNumber: noopThunk,
[4618] Fix | Delete
numericString: noopThunk,
[4619] Fix | Delete
object: noopThunk,
[4620] Fix | Delete
or: noopThunk,
[4621] Fix | Delete
predicate: noopThunk,
[4622] Fix | Delete
range: noopThunk,
[4623] Fix | Delete
ref: noopThunk,
[4624] Fix | Delete
requiredBy: noopThunk,
[4625] Fix | Delete
restrictedProp: noopThunk,
[4626] Fix | Delete
sequenceOf: noopThunk,
[4627] Fix | Delete
shape: noopThunk,
[4628] Fix | Delete
stringEndsWith: noopThunk,
[4629] Fix | Delete
stringStartsWith: noopThunk,
[4630] Fix | Delete
uniqueArray: noopThunk,
[4631] Fix | Delete
uniqueArrayOf: noopThunk,
[4632] Fix | Delete
valuesOf: noopThunk,
[4633] Fix | Delete
withShape: noopThunk
[4634] Fix | Delete
};
[4635] Fix | Delete
[4636] Fix | Delete
[4637] Fix | Delete
/***/ }),
[4638] Fix | Delete
[4639] Fix | Delete
/***/ "DmXP":
[4640] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4641] Fix | Delete
[4642] Fix | Delete
"use strict";
[4643] Fix | Delete
[4644] Fix | Delete
[4645] Fix | Delete
var getDay = Date.prototype.getDay;
[4646] Fix | Delete
var tryDateObject = function tryDateGetDayCall(value) {
[4647] Fix | Delete
try {
[4648] Fix | Delete
getDay.call(value);
[4649] Fix | Delete
return true;
[4650] Fix | Delete
} catch (e) {
[4651] Fix | Delete
return false;
[4652] Fix | Delete
}
[4653] Fix | Delete
};
[4654] Fix | Delete
[4655] Fix | Delete
var toStr = Object.prototype.toString;
[4656] Fix | Delete
var dateClass = '[object Date]';
[4657] Fix | Delete
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
[4658] Fix | Delete
[4659] Fix | Delete
module.exports = function isDateObject(value) {
[4660] Fix | Delete
if (typeof value !== 'object' || value === null) {
[4661] Fix | Delete
return false;
[4662] Fix | Delete
}
[4663] Fix | Delete
return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
[4664] Fix | Delete
};
[4665] Fix | Delete
[4666] Fix | Delete
[4667] Fix | Delete
/***/ }),
[4668] Fix | Delete
[4669] Fix | Delete
/***/ "DvWQ":
[4670] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4671] Fix | Delete
[4672] Fix | Delete
"use strict";
[4673] Fix | Delete
[4674] Fix | Delete
[4675] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[4676] Fix | Delete
[4677] Fix | Delete
var $TypeError = GetIntrinsic('%TypeError%');
[4678] Fix | Delete
[4679] Fix | Delete
var DefineOwnProperty = __webpack_require__("wTIp");
[4680] Fix | Delete
[4681] Fix | Delete
var FromPropertyDescriptor = __webpack_require__("zYbv");
[4682] Fix | Delete
var OrdinaryGetOwnProperty = __webpack_require__("kgBv");
[4683] Fix | Delete
var IsDataDescriptor = __webpack_require__("CGNl");
[4684] Fix | Delete
var IsExtensible = __webpack_require__("rDFq");
[4685] Fix | Delete
var IsPropertyKey = __webpack_require__("i10q");
[4686] Fix | Delete
var SameValue = __webpack_require__("HI8u");
[4687] Fix | Delete
var Type = __webpack_require__("V1cy");
[4688] Fix | Delete
[4689] Fix | Delete
// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
[4690] Fix | Delete
[4691] Fix | Delete
module.exports = function CreateDataProperty(O, P, V) {
[4692] Fix | Delete
if (Type(O) !== 'Object') {
[4693] Fix | Delete
throw new $TypeError('Assertion failed: Type(O) is not Object');
[4694] Fix | Delete
}
[4695] Fix | Delete
if (!IsPropertyKey(P)) {
[4696] Fix | Delete
throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
[4697] Fix | Delete
}
[4698] Fix | Delete
var oldDesc = OrdinaryGetOwnProperty(O, P);
[4699] Fix | Delete
var extensible = !oldDesc || IsExtensible(O);
[4700] Fix | Delete
var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
[4701] Fix | Delete
if (immutable || !extensible) {
[4702] Fix | Delete
return false;
[4703] Fix | Delete
}
[4704] Fix | Delete
return DefineOwnProperty(
[4705] Fix | Delete
IsDataDescriptor,
[4706] Fix | Delete
SameValue,
[4707] Fix | Delete
FromPropertyDescriptor,
[4708] Fix | Delete
O,
[4709] Fix | Delete
P,
[4710] Fix | Delete
{
[4711] Fix | Delete
'[[Configurable]]': true,
[4712] Fix | Delete
'[[Enumerable]]': true,
[4713] Fix | Delete
'[[Value]]': V,
[4714] Fix | Delete
'[[Writable]]': true
[4715] Fix | Delete
}
[4716] Fix | Delete
);
[4717] Fix | Delete
};
[4718] Fix | Delete
[4719] Fix | Delete
[4720] Fix | Delete
/***/ }),
[4721] Fix | Delete
[4722] Fix | Delete
/***/ "DzJC":
[4723] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4724] Fix | Delete
[4725] Fix | Delete
var debounce = __webpack_require__("sEfC"),
[4726] Fix | Delete
isObject = __webpack_require__("GoyQ");
[4727] Fix | Delete
[4728] Fix | Delete
/** Error message constants. */
[4729] Fix | Delete
var FUNC_ERROR_TEXT = 'Expected a function';
[4730] Fix | Delete
[4731] Fix | Delete
/**
[4732] Fix | Delete
* Creates a throttled function that only invokes `func` at most once per
[4733] Fix | Delete
* every `wait` milliseconds. The throttled function comes with a `cancel`
[4734] Fix | Delete
* method to cancel delayed `func` invocations and a `flush` method to
[4735] Fix | Delete
* immediately invoke them. Provide `options` to indicate whether `func`
[4736] Fix | Delete
* should be invoked on the leading and/or trailing edge of the `wait`
[4737] Fix | Delete
* timeout. The `func` is invoked with the last arguments provided to the
[4738] Fix | Delete
* throttled function. Subsequent calls to the throttled function return the
[4739] Fix | Delete
* result of the last `func` invocation.
[4740] Fix | Delete
*
[4741] Fix | Delete
* **Note:** If `leading` and `trailing` options are `true`, `func` is
[4742] Fix | Delete
* invoked on the trailing edge of the timeout only if the throttled function
[4743] Fix | Delete
* is invoked more than once during the `wait` timeout.
[4744] Fix | Delete
*
[4745] Fix | Delete
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
[4746] Fix | Delete
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
[4747] Fix | Delete
*
[4748] Fix | Delete
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
[4749] Fix | Delete
* for details over the differences between `_.throttle` and `_.debounce`.
[4750] Fix | Delete
*
[4751] Fix | Delete
* @static
[4752] Fix | Delete
* @memberOf _
[4753] Fix | Delete
* @since 0.1.0
[4754] Fix | Delete
* @category Function
[4755] Fix | Delete
* @param {Function} func The function to throttle.
[4756] Fix | Delete
* @param {number} [wait=0] The number of milliseconds to throttle invocations to.
[4757] Fix | Delete
* @param {Object} [options={}] The options object.
[4758] Fix | Delete
* @param {boolean} [options.leading=true]
[4759] Fix | Delete
* Specify invoking on the leading edge of the timeout.
[4760] Fix | Delete
* @param {boolean} [options.trailing=true]
[4761] Fix | Delete
* Specify invoking on the trailing edge of the timeout.
[4762] Fix | Delete
* @returns {Function} Returns the new throttled function.
[4763] Fix | Delete
* @example
[4764] Fix | Delete
*
[4765] Fix | Delete
* // Avoid excessively updating the position while scrolling.
[4766] Fix | Delete
* jQuery(window).on('scroll', _.throttle(updatePosition, 100));
[4767] Fix | Delete
*
[4768] Fix | Delete
* // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
[4769] Fix | Delete
* var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
[4770] Fix | Delete
* jQuery(element).on('click', throttled);
[4771] Fix | Delete
*
[4772] Fix | Delete
* // Cancel the trailing throttled invocation.
[4773] Fix | Delete
* jQuery(window).on('popstate', throttled.cancel);
[4774] Fix | Delete
*/
[4775] Fix | Delete
function throttle(func, wait, options) {
[4776] Fix | Delete
var leading = true,
[4777] Fix | Delete
trailing = true;
[4778] Fix | Delete
[4779] Fix | Delete
if (typeof func != 'function') {
[4780] Fix | Delete
throw new TypeError(FUNC_ERROR_TEXT);
[4781] Fix | Delete
}
[4782] Fix | Delete
if (isObject(options)) {
[4783] Fix | Delete
leading = 'leading' in options ? !!options.leading : leading;
[4784] Fix | Delete
trailing = 'trailing' in options ? !!options.trailing : trailing;
[4785] Fix | Delete
}
[4786] Fix | Delete
return debounce(func, wait, {
[4787] Fix | Delete
'leading': leading,
[4788] Fix | Delete
'maxWait': wait,
[4789] Fix | Delete
'trailing': trailing
[4790] Fix | Delete
});
[4791] Fix | Delete
}
[4792] Fix | Delete
[4793] Fix | Delete
module.exports = throttle;
[4794] Fix | Delete
[4795] Fix | Delete
[4796] Fix | Delete
/***/ }),
[4797] Fix | Delete
[4798] Fix | Delete
/***/ "EXo9":
[4799] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4800] Fix | Delete
[4801] Fix | Delete
"use strict";
[4802] Fix | Delete
[4803] Fix | Delete
[4804] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[4805] Fix | Delete
[4806] Fix | Delete
var callBind = __webpack_require__("hZ2/");
[4807] Fix | Delete
[4808] Fix | Delete
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
[4809] Fix | Delete
[4810] Fix | Delete
module.exports = function callBoundIntrinsic(name, allowMissing) {
[4811] Fix | Delete
var intrinsic = GetIntrinsic(name, !!allowMissing);
[4812] Fix | Delete
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
[4813] Fix | Delete
return callBind(intrinsic);
[4814] Fix | Delete
}
[4815] Fix | Delete
return intrinsic;
[4816] Fix | Delete
};
[4817] Fix | Delete
[4818] Fix | Delete
[4819] Fix | Delete
/***/ }),
[4820] Fix | Delete
[4821] Fix | Delete
/***/ "ExA7":
[4822] Fix | Delete
/***/ (function(module, exports) {
[4823] Fix | Delete
[4824] Fix | Delete
/**
[4825] Fix | Delete
* Checks if `value` is object-like. A value is object-like if it's not `null`
[4826] Fix | Delete
* and has a `typeof` result of "object".
[4827] Fix | Delete
*
[4828] Fix | Delete
* @static
[4829] Fix | Delete
* @memberOf _
[4830] Fix | Delete
* @since 4.0.0
[4831] Fix | Delete
* @category Lang
[4832] Fix | Delete
* @param {*} value The value to check.
[4833] Fix | Delete
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
[4834] Fix | Delete
* @example
[4835] Fix | Delete
*
[4836] Fix | Delete
* _.isObjectLike({});
[4837] Fix | Delete
* // => true
[4838] Fix | Delete
*
[4839] Fix | Delete
* _.isObjectLike([1, 2, 3]);
[4840] Fix | Delete
* // => true
[4841] Fix | Delete
*
[4842] Fix | Delete
* _.isObjectLike(_.noop);
[4843] Fix | Delete
* // => false
[4844] Fix | Delete
*
[4845] Fix | Delete
* _.isObjectLike(null);
[4846] Fix | Delete
* // => false
[4847] Fix | Delete
*/
[4848] Fix | Delete
function isObjectLike(value) {
[4849] Fix | Delete
return value != null && typeof value == 'object';
[4850] Fix | Delete
}
[4851] Fix | Delete
[4852] Fix | Delete
module.exports = isObjectLike;
[4853] Fix | Delete
[4854] Fix | Delete
[4855] Fix | Delete
/***/ }),
[4856] Fix | Delete
[4857] Fix | Delete
/***/ "F7ZS":
[4858] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4859] Fix | Delete
[4860] Fix | Delete
"use strict";
[4861] Fix | Delete
[4862] Fix | Delete
[4863] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[4864] Fix | Delete
value: true
[4865] Fix | Delete
});
[4866] Fix | Delete
exports['default'] = getCalendarMonthWeeks;
[4867] Fix | Delete
[4868] Fix | Delete
var _moment = __webpack_require__("wy2R");
[4869] Fix | Delete
[4870] Fix | Delete
var _moment2 = _interopRequireDefault(_moment);
[4871] Fix | Delete
[4872] Fix | Delete
var _constants = __webpack_require__("Fv1B");
[4873] Fix | Delete
[4874] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[4875] Fix | Delete
[4876] Fix | Delete
function getCalendarMonthWeeks(month, enableOutsideDays) {
[4877] Fix | Delete
var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek();
[4878] Fix | Delete
[4879] Fix | Delete
if (!_moment2['default'].isMoment(month) || !month.isValid()) {
[4880] Fix | Delete
throw new TypeError('`month` must be a valid moment object');
[4881] Fix | Delete
}
[4882] Fix | Delete
if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) {
[4883] Fix | Delete
throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6');
[4884] Fix | Delete
}
[4885] Fix | Delete
[4886] Fix | Delete
// set utc offset to get correct dates in future (when timezone changes)
[4887] Fix | Delete
var firstOfMonth = month.clone().startOf('month').hour(12);
[4888] Fix | Delete
var lastOfMonth = month.clone().endOf('month').hour(12);
[4889] Fix | Delete
[4890] Fix | Delete
// calculate the exact first and last days to fill the entire matrix
[4891] Fix | Delete
// (considering days outside month)
[4892] Fix | Delete
var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7;
[4893] Fix | Delete
var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7;
[4894] Fix | Delete
var firstDay = firstOfMonth.clone().subtract(prevDays, 'day');
[4895] Fix | Delete
var lastDay = lastOfMonth.clone().add(nextDays, 'day');
[4896] Fix | Delete
[4897] Fix | Delete
var totalDays = lastDay.diff(firstDay, 'days') + 1;
[4898] Fix | Delete
[4899] Fix | Delete
var currentDay = firstDay.clone();
[4900] Fix | Delete
var weeksInMonth = [];
[4901] Fix | Delete
[4902] Fix | Delete
for (var i = 0; i < totalDays; i += 1) {
[4903] Fix | Delete
if (i % 7 === 0) {
[4904] Fix | Delete
weeksInMonth.push([]);
[4905] Fix | Delete
}
[4906] Fix | Delete
[4907] Fix | Delete
var day = null;
[4908] Fix | Delete
if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) {
[4909] Fix | Delete
day = currentDay.clone();
[4910] Fix | Delete
}
[4911] Fix | Delete
[4912] Fix | Delete
weeksInMonth[weeksInMonth.length - 1].push(day);
[4913] Fix | Delete
[4914] Fix | Delete
currentDay.add(1, 'day');
[4915] Fix | Delete
}
[4916] Fix | Delete
[4917] Fix | Delete
return weeksInMonth;
[4918] Fix | Delete
}
[4919] Fix | Delete
[4920] Fix | Delete
/***/ }),
[4921] Fix | Delete
[4922] Fix | Delete
/***/ "Ff2n":
[4923] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[4924] Fix | Delete
[4925] Fix | Delete
"use strict";
[4926] Fix | Delete
[4927] Fix | Delete
// EXPORTS
[4928] Fix | Delete
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _objectWithoutProperties; });
[4929] Fix | Delete
[4930] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
[4931] Fix | Delete
function _objectWithoutPropertiesLoose(source, excluded) {
[4932] Fix | Delete
if (source == null) return {};
[4933] Fix | Delete
var target = {};
[4934] Fix | Delete
var sourceKeys = Object.keys(source);
[4935] Fix | Delete
var key, i;
[4936] Fix | Delete
[4937] Fix | Delete
for (i = 0; i < sourceKeys.length; i++) {
[4938] Fix | Delete
key = sourceKeys[i];
[4939] Fix | Delete
if (excluded.indexOf(key) >= 0) continue;
[4940] Fix | Delete
target[key] = source[key];
[4941] Fix | Delete
}
[4942] Fix | Delete
[4943] Fix | Delete
return target;
[4944] Fix | Delete
}
[4945] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
[4946] Fix | Delete
[4947] Fix | Delete
function _objectWithoutProperties(source, excluded) {
[4948] Fix | Delete
if (source == null) return {};
[4949] Fix | Delete
var target = _objectWithoutPropertiesLoose(source, excluded);
[4950] Fix | Delete
var key, i;
[4951] Fix | Delete
[4952] Fix | Delete
if (Object.getOwnPropertySymbols) {
[4953] Fix | Delete
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
[4954] Fix | Delete
[4955] Fix | Delete
for (i = 0; i < sourceSymbolKeys.length; i++) {
[4956] Fix | Delete
key = sourceSymbolKeys[i];
[4957] Fix | Delete
if (excluded.indexOf(key) >= 0) continue;
[4958] Fix | Delete
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
[4959] Fix | Delete
target[key] = source[key];
[4960] Fix | Delete
}
[4961] Fix | Delete
}
[4962] Fix | Delete
[4963] Fix | Delete
return target;
[4964] Fix | Delete
}
[4965] Fix | Delete
[4966] Fix | Delete
/***/ }),
[4967] Fix | Delete
[4968] Fix | Delete
/***/ "FpZJ":
[4969] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[4970] Fix | Delete
[4971] Fix | Delete
"use strict";
[4972] Fix | Delete
[4973] Fix | Delete
[4974] Fix | Delete
/* eslint complexity: [2, 18], max-statements: [2, 33] */
[4975] Fix | Delete
module.exports = function hasSymbols() {
[4976] Fix | Delete
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
[4977] Fix | Delete
if (typeof Symbol.iterator === 'symbol') { return true; }
[4978] Fix | Delete
[4979] Fix | Delete
var obj = {};
[4980] Fix | Delete
var sym = Symbol('test');
[4981] Fix | Delete
var symObj = Object(sym);
[4982] Fix | Delete
if (typeof sym === 'string') { return false; }
[4983] Fix | Delete
[4984] Fix | Delete
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
[4985] Fix | Delete
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
[4986] Fix | Delete
[4987] Fix | Delete
// temp disabled per https://github.com/ljharb/object.assign/issues/17
[4988] Fix | Delete
// if (sym instanceof Symbol) { return false; }
[4989] Fix | Delete
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
[4990] Fix | Delete
// if (!(symObj instanceof Symbol)) { return false; }
[4991] Fix | Delete
[4992] Fix | Delete
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
[4993] Fix | Delete
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
[4994] Fix | Delete
[4995] Fix | Delete
var symVal = 42;
[4996] Fix | Delete
obj[sym] = symVal;
[4997] Fix | Delete
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
[4998] Fix | Delete
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
[4999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function