Edit File by line
/home/barbar84/www/wp-inclu.../js/dist
File: components.js
[55500] Fix | Delete
module.exports = $preventExtensions
[55501] Fix | Delete
? function IsExtensible(obj) {
[55502] Fix | Delete
return !isPrimitive(obj) && $isExtensible(obj);
[55503] Fix | Delete
}
[55504] Fix | Delete
: function IsExtensible(obj) {
[55505] Fix | Delete
return !isPrimitive(obj);
[55506] Fix | Delete
};
[55507] Fix | Delete
[55508] Fix | Delete
[55509] Fix | Delete
/***/ }),
[55510] Fix | Delete
[55511] Fix | Delete
/***/ "rQy3":
[55512] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[55513] Fix | Delete
[55514] Fix | Delete
"use strict";
[55515] Fix | Delete
[55516] Fix | Delete
[55517] Fix | Delete
var has = __webpack_require__("oNNP");
[55518] Fix | Delete
var RequireObjectCoercible = __webpack_require__("25kQ");
[55519] Fix | Delete
var callBound = __webpack_require__("VF6F");
[55520] Fix | Delete
[55521] Fix | Delete
var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
[55522] Fix | Delete
[55523] Fix | Delete
module.exports = function values(O) {
[55524] Fix | Delete
var obj = RequireObjectCoercible(O);
[55525] Fix | Delete
var vals = [];
[55526] Fix | Delete
for (var key in obj) {
[55527] Fix | Delete
if (has(obj, key) && $isEnumerable(obj, key)) {
[55528] Fix | Delete
vals.push(obj[key]);
[55529] Fix | Delete
}
[55530] Fix | Delete
}
[55531] Fix | Delete
return vals;
[55532] Fix | Delete
};
[55533] Fix | Delete
[55534] Fix | Delete
[55535] Fix | Delete
/***/ }),
[55536] Fix | Delete
[55537] Fix | Delete
/***/ "rePB":
[55538] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[55539] Fix | Delete
[55540] Fix | Delete
"use strict";
[55541] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
[55542] Fix | Delete
function _defineProperty(obj, key, value) {
[55543] Fix | Delete
if (key in obj) {
[55544] Fix | Delete
Object.defineProperty(obj, key, {
[55545] Fix | Delete
value: value,
[55546] Fix | Delete
enumerable: true,
[55547] Fix | Delete
configurable: true,
[55548] Fix | Delete
writable: true
[55549] Fix | Delete
});
[55550] Fix | Delete
} else {
[55551] Fix | Delete
obj[key] = value;
[55552] Fix | Delete
}
[55553] Fix | Delete
[55554] Fix | Delete
return obj;
[55555] Fix | Delete
}
[55556] Fix | Delete
[55557] Fix | Delete
/***/ }),
[55558] Fix | Delete
[55559] Fix | Delete
/***/ "rl8x":
[55560] Fix | Delete
/***/ (function(module, exports) {
[55561] Fix | Delete
[55562] Fix | Delete
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
[55563] Fix | Delete
[55564] Fix | Delete
/***/ }),
[55565] Fix | Delete
[55566] Fix | Delete
/***/ "roOW":
[55567] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[55568] Fix | Delete
[55569] Fix | Delete
"use strict";
[55570] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createEvent; });
[55571] Fix | Delete
/* harmony import */ var _getDocument_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("Ccil");
[55572] Fix | Delete
[55573] Fix | Delete
[55574] Fix | Delete
/**
[55575] Fix | Delete
* Creates an `Event` in a way that also works on IE 11.
[55576] Fix | Delete
*
[55577] Fix | Delete
* @example
[55578] Fix | Delete
* import { createEvent } from "reakit-utils";
[55579] Fix | Delete
*
[55580] Fix | Delete
* const el = document.getElementById("id");
[55581] Fix | Delete
* el.dispatchEvent(createEvent(el, "blur", { bubbles: false }));
[55582] Fix | Delete
*/
[55583] Fix | Delete
[55584] Fix | Delete
function createEvent(element, type, eventInit) {
[55585] Fix | Delete
if (typeof Event === "function") {
[55586] Fix | Delete
return new Event(type, eventInit);
[55587] Fix | Delete
} // IE 11 doesn't support Event constructors
[55588] Fix | Delete
[55589] Fix | Delete
[55590] Fix | Delete
var event = Object(_getDocument_js__WEBPACK_IMPORTED_MODULE_0__[/* getDocument */ "a"])(element).createEvent("Event");
[55591] Fix | Delete
event.initEvent(type, eventInit === null || eventInit === void 0 ? void 0 : eventInit.bubbles, eventInit === null || eventInit === void 0 ? void 0 : eventInit.cancelable);
[55592] Fix | Delete
return event;
[55593] Fix | Delete
}
[55594] Fix | Delete
[55595] Fix | Delete
[55596] Fix | Delete
[55597] Fix | Delete
[55598] Fix | Delete
/***/ }),
[55599] Fix | Delete
[55600] Fix | Delete
/***/ "s2kj":
[55601] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[55602] Fix | Delete
[55603] Fix | Delete
"use strict";
[55604] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isPortalEvent; });
[55605] Fix | Delete
/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("iOKE");
[55606] Fix | Delete
[55607] Fix | Delete
[55608] Fix | Delete
/**
[55609] Fix | Delete
* Returns `true` if `event` has been fired within a React Portal element.
[55610] Fix | Delete
*/
[55611] Fix | Delete
[55612] Fix | Delete
function isPortalEvent(event) {
[55613] Fix | Delete
return !Object(_contains_js__WEBPACK_IMPORTED_MODULE_0__[/* contains */ "a"])(event.currentTarget, event.target);
[55614] Fix | Delete
}
[55615] Fix | Delete
[55616] Fix | Delete
[55617] Fix | Delete
[55618] Fix | Delete
[55619] Fix | Delete
/***/ }),
[55620] Fix | Delete
[55621] Fix | Delete
/***/ "s4An":
[55622] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[55623] Fix | Delete
[55624] Fix | Delete
"use strict";
[55625] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _setPrototypeOf; });
[55626] Fix | Delete
function _setPrototypeOf(o, p) {
[55627] Fix | Delete
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
[55628] Fix | Delete
o.__proto__ = p;
[55629] Fix | Delete
return o;
[55630] Fix | Delete
};
[55631] Fix | Delete
[55632] Fix | Delete
return _setPrototypeOf(o, p);
[55633] Fix | Delete
}
[55634] Fix | Delete
[55635] Fix | Delete
/***/ }),
[55636] Fix | Delete
[55637] Fix | Delete
/***/ "sA9S":
[55638] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[55639] Fix | Delete
[55640] Fix | Delete
"use strict";
[55641] Fix | Delete
[55642] Fix | Delete
[55643] Fix | Delete
var GetIntrinsic = __webpack_require__("AM7I");
[55644] Fix | Delete
[55645] Fix | Delete
var $Object = GetIntrinsic('%Object%');
[55646] Fix | Delete
[55647] Fix | Delete
var RequireObjectCoercible = __webpack_require__("S0jC");
[55648] Fix | Delete
[55649] Fix | Delete
// https://ecma-international.org/ecma-262/6.0/#sec-toobject
[55650] Fix | Delete
[55651] Fix | Delete
module.exports = function ToObject(value) {
[55652] Fix | Delete
RequireObjectCoercible(value);
[55653] Fix | Delete
return $Object(value);
[55654] Fix | Delete
};
[55655] Fix | Delete
[55656] Fix | Delete
[55657] Fix | Delete
/***/ }),
[55658] Fix | Delete
[55659] Fix | Delete
/***/ "sDMB":
[55660] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[55661] Fix | Delete
[55662] Fix | Delete
"use strict";
[55663] Fix | Delete
[55664] Fix | Delete
[55665] Fix | Delete
Object.defineProperty(exports, "__esModule", {
[55666] Fix | Delete
value: true
[55667] Fix | Delete
});
[55668] Fix | Delete
[55669] Fix | Delete
var _propTypes = __webpack_require__("17x9");
[55670] Fix | Delete
[55671] Fix | Delete
var _propTypes2 = _interopRequireDefault(_propTypes);
[55672] Fix | Delete
[55673] Fix | Delete
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
[55674] Fix | Delete
[55675] Fix | Delete
exports['default'] = _propTypes2['default'].shape({
[55676] Fix | Delete
getState: _propTypes2['default'].func,
[55677] Fix | Delete
setState: _propTypes2['default'].func,
[55678] Fix | Delete
subscribe: _propTypes2['default'].func
[55679] Fix | Delete
});
[55680] Fix | Delete
[55681] Fix | Delete
/***/ }),
[55682] Fix | Delete
[55683] Fix | Delete
/***/ "sEfC":
[55684] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[55685] Fix | Delete
[55686] Fix | Delete
var isObject = __webpack_require__("GoyQ"),
[55687] Fix | Delete
now = __webpack_require__("QIyF"),
[55688] Fix | Delete
toNumber = __webpack_require__("tLB3");
[55689] Fix | Delete
[55690] Fix | Delete
/** Error message constants. */
[55691] Fix | Delete
var FUNC_ERROR_TEXT = 'Expected a function';
[55692] Fix | Delete
[55693] Fix | Delete
/* Built-in method references for those with the same name as other `lodash` methods. */
[55694] Fix | Delete
var nativeMax = Math.max,
[55695] Fix | Delete
nativeMin = Math.min;
[55696] Fix | Delete
[55697] Fix | Delete
/**
[55698] Fix | Delete
* Creates a debounced function that delays invoking `func` until after `wait`
[55699] Fix | Delete
* milliseconds have elapsed since the last time the debounced function was
[55700] Fix | Delete
* invoked. The debounced function comes with a `cancel` method to cancel
[55701] Fix | Delete
* delayed `func` invocations and a `flush` method to immediately invoke them.
[55702] Fix | Delete
* Provide `options` to indicate whether `func` should be invoked on the
[55703] Fix | Delete
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
[55704] Fix | Delete
* with the last arguments provided to the debounced function. Subsequent
[55705] Fix | Delete
* calls to the debounced function return the result of the last `func`
[55706] Fix | Delete
* invocation.
[55707] Fix | Delete
*
[55708] Fix | Delete
* **Note:** If `leading` and `trailing` options are `true`, `func` is
[55709] Fix | Delete
* invoked on the trailing edge of the timeout only if the debounced function
[55710] Fix | Delete
* is invoked more than once during the `wait` timeout.
[55711] Fix | Delete
*
[55712] Fix | Delete
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
[55713] Fix | Delete
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
[55714] Fix | Delete
*
[55715] Fix | Delete
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
[55716] Fix | Delete
* for details over the differences between `_.debounce` and `_.throttle`.
[55717] Fix | Delete
*
[55718] Fix | Delete
* @static
[55719] Fix | Delete
* @memberOf _
[55720] Fix | Delete
* @since 0.1.0
[55721] Fix | Delete
* @category Function
[55722] Fix | Delete
* @param {Function} func The function to debounce.
[55723] Fix | Delete
* @param {number} [wait=0] The number of milliseconds to delay.
[55724] Fix | Delete
* @param {Object} [options={}] The options object.
[55725] Fix | Delete
* @param {boolean} [options.leading=false]
[55726] Fix | Delete
* Specify invoking on the leading edge of the timeout.
[55727] Fix | Delete
* @param {number} [options.maxWait]
[55728] Fix | Delete
* The maximum time `func` is allowed to be delayed before it's invoked.
[55729] Fix | Delete
* @param {boolean} [options.trailing=true]
[55730] Fix | Delete
* Specify invoking on the trailing edge of the timeout.
[55731] Fix | Delete
* @returns {Function} Returns the new debounced function.
[55732] Fix | Delete
* @example
[55733] Fix | Delete
*
[55734] Fix | Delete
* // Avoid costly calculations while the window size is in flux.
[55735] Fix | Delete
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
[55736] Fix | Delete
*
[55737] Fix | Delete
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
[55738] Fix | Delete
* jQuery(element).on('click', _.debounce(sendMail, 300, {
[55739] Fix | Delete
* 'leading': true,
[55740] Fix | Delete
* 'trailing': false
[55741] Fix | Delete
* }));
[55742] Fix | Delete
*
[55743] Fix | Delete
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
[55744] Fix | Delete
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
[55745] Fix | Delete
* var source = new EventSource('/stream');
[55746] Fix | Delete
* jQuery(source).on('message', debounced);
[55747] Fix | Delete
*
[55748] Fix | Delete
* // Cancel the trailing debounced invocation.
[55749] Fix | Delete
* jQuery(window).on('popstate', debounced.cancel);
[55750] Fix | Delete
*/
[55751] Fix | Delete
function debounce(func, wait, options) {
[55752] Fix | Delete
var lastArgs,
[55753] Fix | Delete
lastThis,
[55754] Fix | Delete
maxWait,
[55755] Fix | Delete
result,
[55756] Fix | Delete
timerId,
[55757] Fix | Delete
lastCallTime,
[55758] Fix | Delete
lastInvokeTime = 0,
[55759] Fix | Delete
leading = false,
[55760] Fix | Delete
maxing = false,
[55761] Fix | Delete
trailing = true;
[55762] Fix | Delete
[55763] Fix | Delete
if (typeof func != 'function') {
[55764] Fix | Delete
throw new TypeError(FUNC_ERROR_TEXT);
[55765] Fix | Delete
}
[55766] Fix | Delete
wait = toNumber(wait) || 0;
[55767] Fix | Delete
if (isObject(options)) {
[55768] Fix | Delete
leading = !!options.leading;
[55769] Fix | Delete
maxing = 'maxWait' in options;
[55770] Fix | Delete
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
[55771] Fix | Delete
trailing = 'trailing' in options ? !!options.trailing : trailing;
[55772] Fix | Delete
}
[55773] Fix | Delete
[55774] Fix | Delete
function invokeFunc(time) {
[55775] Fix | Delete
var args = lastArgs,
[55776] Fix | Delete
thisArg = lastThis;
[55777] Fix | Delete
[55778] Fix | Delete
lastArgs = lastThis = undefined;
[55779] Fix | Delete
lastInvokeTime = time;
[55780] Fix | Delete
result = func.apply(thisArg, args);
[55781] Fix | Delete
return result;
[55782] Fix | Delete
}
[55783] Fix | Delete
[55784] Fix | Delete
function leadingEdge(time) {
[55785] Fix | Delete
// Reset any `maxWait` timer.
[55786] Fix | Delete
lastInvokeTime = time;
[55787] Fix | Delete
// Start the timer for the trailing edge.
[55788] Fix | Delete
timerId = setTimeout(timerExpired, wait);
[55789] Fix | Delete
// Invoke the leading edge.
[55790] Fix | Delete
return leading ? invokeFunc(time) : result;
[55791] Fix | Delete
}
[55792] Fix | Delete
[55793] Fix | Delete
function remainingWait(time) {
[55794] Fix | Delete
var timeSinceLastCall = time - lastCallTime,
[55795] Fix | Delete
timeSinceLastInvoke = time - lastInvokeTime,
[55796] Fix | Delete
timeWaiting = wait - timeSinceLastCall;
[55797] Fix | Delete
[55798] Fix | Delete
return maxing
[55799] Fix | Delete
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
[55800] Fix | Delete
: timeWaiting;
[55801] Fix | Delete
}
[55802] Fix | Delete
[55803] Fix | Delete
function shouldInvoke(time) {
[55804] Fix | Delete
var timeSinceLastCall = time - lastCallTime,
[55805] Fix | Delete
timeSinceLastInvoke = time - lastInvokeTime;
[55806] Fix | Delete
[55807] Fix | Delete
// Either this is the first call, activity has stopped and we're at the
[55808] Fix | Delete
// trailing edge, the system time has gone backwards and we're treating
[55809] Fix | Delete
// it as the trailing edge, or we've hit the `maxWait` limit.
[55810] Fix | Delete
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
[55811] Fix | Delete
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
[55812] Fix | Delete
}
[55813] Fix | Delete
[55814] Fix | Delete
function timerExpired() {
[55815] Fix | Delete
var time = now();
[55816] Fix | Delete
if (shouldInvoke(time)) {
[55817] Fix | Delete
return trailingEdge(time);
[55818] Fix | Delete
}
[55819] Fix | Delete
// Restart the timer.
[55820] Fix | Delete
timerId = setTimeout(timerExpired, remainingWait(time));
[55821] Fix | Delete
}
[55822] Fix | Delete
[55823] Fix | Delete
function trailingEdge(time) {
[55824] Fix | Delete
timerId = undefined;
[55825] Fix | Delete
[55826] Fix | Delete
// Only invoke if we have `lastArgs` which means `func` has been
[55827] Fix | Delete
// debounced at least once.
[55828] Fix | Delete
if (trailing && lastArgs) {
[55829] Fix | Delete
return invokeFunc(time);
[55830] Fix | Delete
}
[55831] Fix | Delete
lastArgs = lastThis = undefined;
[55832] Fix | Delete
return result;
[55833] Fix | Delete
}
[55834] Fix | Delete
[55835] Fix | Delete
function cancel() {
[55836] Fix | Delete
if (timerId !== undefined) {
[55837] Fix | Delete
clearTimeout(timerId);
[55838] Fix | Delete
}
[55839] Fix | Delete
lastInvokeTime = 0;
[55840] Fix | Delete
lastArgs = lastCallTime = lastThis = timerId = undefined;
[55841] Fix | Delete
}
[55842] Fix | Delete
[55843] Fix | Delete
function flush() {
[55844] Fix | Delete
return timerId === undefined ? result : trailingEdge(now());
[55845] Fix | Delete
}
[55846] Fix | Delete
[55847] Fix | Delete
function debounced() {
[55848] Fix | Delete
var time = now(),
[55849] Fix | Delete
isInvoking = shouldInvoke(time);
[55850] Fix | Delete
[55851] Fix | Delete
lastArgs = arguments;
[55852] Fix | Delete
lastThis = this;
[55853] Fix | Delete
lastCallTime = time;
[55854] Fix | Delete
[55855] Fix | Delete
if (isInvoking) {
[55856] Fix | Delete
if (timerId === undefined) {
[55857] Fix | Delete
return leadingEdge(lastCallTime);
[55858] Fix | Delete
}
[55859] Fix | Delete
if (maxing) {
[55860] Fix | Delete
// Handle invocations in a tight loop.
[55861] Fix | Delete
clearTimeout(timerId);
[55862] Fix | Delete
timerId = setTimeout(timerExpired, wait);
[55863] Fix | Delete
return invokeFunc(lastCallTime);
[55864] Fix | Delete
}
[55865] Fix | Delete
}
[55866] Fix | Delete
if (timerId === undefined) {
[55867] Fix | Delete
timerId = setTimeout(timerExpired, wait);
[55868] Fix | Delete
}
[55869] Fix | Delete
return result;
[55870] Fix | Delete
}
[55871] Fix | Delete
debounced.cancel = cancel;
[55872] Fix | Delete
debounced.flush = flush;
[55873] Fix | Delete
return debounced;
[55874] Fix | Delete
}
[55875] Fix | Delete
[55876] Fix | Delete
module.exports = debounce;
[55877] Fix | Delete
[55878] Fix | Delete
[55879] Fix | Delete
/***/ }),
[55880] Fix | Delete
[55881] Fix | Delete
/***/ "sYn3":
[55882] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[55883] Fix | Delete
[55884] Fix | Delete
"use strict";
[55885] Fix | Delete
[55886] Fix | Delete
[55887] Fix | Delete
var keysShim;
[55888] Fix | Delete
if (!Object.keys) {
[55889] Fix | Delete
// modified from https://github.com/es-shims/es5-shim
[55890] Fix | Delete
var has = Object.prototype.hasOwnProperty;
[55891] Fix | Delete
var toStr = Object.prototype.toString;
[55892] Fix | Delete
var isArgs = __webpack_require__("1KsK"); // eslint-disable-line global-require
[55893] Fix | Delete
var isEnumerable = Object.prototype.propertyIsEnumerable;
[55894] Fix | Delete
var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
[55895] Fix | Delete
var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');
[55896] Fix | Delete
var dontEnums = [
[55897] Fix | Delete
'toString',
[55898] Fix | Delete
'toLocaleString',
[55899] Fix | Delete
'valueOf',
[55900] Fix | Delete
'hasOwnProperty',
[55901] Fix | Delete
'isPrototypeOf',
[55902] Fix | Delete
'propertyIsEnumerable',
[55903] Fix | Delete
'constructor'
[55904] Fix | Delete
];
[55905] Fix | Delete
var equalsConstructorPrototype = function (o) {
[55906] Fix | Delete
var ctor = o.constructor;
[55907] Fix | Delete
return ctor && ctor.prototype === o;
[55908] Fix | Delete
};
[55909] Fix | Delete
var excludedKeys = {
[55910] Fix | Delete
$applicationCache: true,
[55911] Fix | Delete
$console: true,
[55912] Fix | Delete
$external: true,
[55913] Fix | Delete
$frame: true,
[55914] Fix | Delete
$frameElement: true,
[55915] Fix | Delete
$frames: true,
[55916] Fix | Delete
$innerHeight: true,
[55917] Fix | Delete
$innerWidth: true,
[55918] Fix | Delete
$onmozfullscreenchange: true,
[55919] Fix | Delete
$onmozfullscreenerror: true,
[55920] Fix | Delete
$outerHeight: true,
[55921] Fix | Delete
$outerWidth: true,
[55922] Fix | Delete
$pageXOffset: true,
[55923] Fix | Delete
$pageYOffset: true,
[55924] Fix | Delete
$parent: true,
[55925] Fix | Delete
$scrollLeft: true,
[55926] Fix | Delete
$scrollTop: true,
[55927] Fix | Delete
$scrollX: true,
[55928] Fix | Delete
$scrollY: true,
[55929] Fix | Delete
$self: true,
[55930] Fix | Delete
$webkitIndexedDB: true,
[55931] Fix | Delete
$webkitStorageInfo: true,
[55932] Fix | Delete
$window: true
[55933] Fix | Delete
};
[55934] Fix | Delete
var hasAutomationEqualityBug = (function () {
[55935] Fix | Delete
/* global window */
[55936] Fix | Delete
if (typeof window === 'undefined') { return false; }
[55937] Fix | Delete
for (var k in window) {
[55938] Fix | Delete
try {
[55939] Fix | Delete
if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
[55940] Fix | Delete
try {
[55941] Fix | Delete
equalsConstructorPrototype(window[k]);
[55942] Fix | Delete
} catch (e) {
[55943] Fix | Delete
return true;
[55944] Fix | Delete
}
[55945] Fix | Delete
}
[55946] Fix | Delete
} catch (e) {
[55947] Fix | Delete
return true;
[55948] Fix | Delete
}
[55949] Fix | Delete
}
[55950] Fix | Delete
return false;
[55951] Fix | Delete
}());
[55952] Fix | Delete
var equalsConstructorPrototypeIfNotBuggy = function (o) {
[55953] Fix | Delete
/* global window */
[55954] Fix | Delete
if (typeof window === 'undefined' || !hasAutomationEqualityBug) {
[55955] Fix | Delete
return equalsConstructorPrototype(o);
[55956] Fix | Delete
}
[55957] Fix | Delete
try {
[55958] Fix | Delete
return equalsConstructorPrototype(o);
[55959] Fix | Delete
} catch (e) {
[55960] Fix | Delete
return false;
[55961] Fix | Delete
}
[55962] Fix | Delete
};
[55963] Fix | Delete
[55964] Fix | Delete
keysShim = function keys(object) {
[55965] Fix | Delete
var isObject = object !== null && typeof object === 'object';
[55966] Fix | Delete
var isFunction = toStr.call(object) === '[object Function]';
[55967] Fix | Delete
var isArguments = isArgs(object);
[55968] Fix | Delete
var isString = isObject && toStr.call(object) === '[object String]';
[55969] Fix | Delete
var theKeys = [];
[55970] Fix | Delete
[55971] Fix | Delete
if (!isObject && !isFunction && !isArguments) {
[55972] Fix | Delete
throw new TypeError('Object.keys called on a non-object');
[55973] Fix | Delete
}
[55974] Fix | Delete
[55975] Fix | Delete
var skipProto = hasProtoEnumBug && isFunction;
[55976] Fix | Delete
if (isString && object.length > 0 && !has.call(object, 0)) {
[55977] Fix | Delete
for (var i = 0; i < object.length; ++i) {
[55978] Fix | Delete
theKeys.push(String(i));
[55979] Fix | Delete
}
[55980] Fix | Delete
}
[55981] Fix | Delete
[55982] Fix | Delete
if (isArguments && object.length > 0) {
[55983] Fix | Delete
for (var j = 0; j < object.length; ++j) {
[55984] Fix | Delete
theKeys.push(String(j));
[55985] Fix | Delete
}
[55986] Fix | Delete
} else {
[55987] Fix | Delete
for (var name in object) {
[55988] Fix | Delete
if (!(skipProto && name === 'prototype') && has.call(object, name)) {
[55989] Fix | Delete
theKeys.push(String(name));
[55990] Fix | Delete
}
[55991] Fix | Delete
}
[55992] Fix | Delete
}
[55993] Fix | Delete
[55994] Fix | Delete
if (hasDontEnumBug) {
[55995] Fix | Delete
var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
[55996] Fix | Delete
[55997] Fix | Delete
for (var k = 0; k < dontEnums.length; ++k) {
[55998] Fix | Delete
if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
[55999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function