Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../assets/js/integrat.../divi
File: formselector.es5.js
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
[0] Fix | Delete
// shim for using process in browser
[1] Fix | Delete
[2] Fix | Delete
var process = module.exports = {};
[3] Fix | Delete
[4] Fix | Delete
process.nextTick = (function () {
[5] Fix | Delete
var canSetImmediate = typeof window !== 'undefined'
[6] Fix | Delete
&& window.setImmediate;
[7] Fix | Delete
var canPost = typeof window !== 'undefined'
[8] Fix | Delete
&& window.postMessage && window.addEventListener
[9] Fix | Delete
;
[10] Fix | Delete
[11] Fix | Delete
if (canSetImmediate) {
[12] Fix | Delete
return function (f) { return window.setImmediate(f) };
[13] Fix | Delete
}
[14] Fix | Delete
[15] Fix | Delete
if (canPost) {
[16] Fix | Delete
var queue = [];
[17] Fix | Delete
window.addEventListener('message', function (ev) {
[18] Fix | Delete
var source = ev.source;
[19] Fix | Delete
if ((source === window || source === null) && ev.data === 'process-tick') {
[20] Fix | Delete
ev.stopPropagation();
[21] Fix | Delete
if (queue.length > 0) {
[22] Fix | Delete
var fn = queue.shift();
[23] Fix | Delete
fn();
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
}, true);
[27] Fix | Delete
[28] Fix | Delete
return function nextTick(fn) {
[29] Fix | Delete
queue.push(fn);
[30] Fix | Delete
window.postMessage('process-tick', '*');
[31] Fix | Delete
};
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
return function nextTick(fn) {
[35] Fix | Delete
setTimeout(fn, 0);
[36] Fix | Delete
};
[37] Fix | Delete
})();
[38] Fix | Delete
[39] Fix | Delete
process.title = 'browser';
[40] Fix | Delete
process.browser = true;
[41] Fix | Delete
process.env = {};
[42] Fix | Delete
process.argv = [];
[43] Fix | Delete
[44] Fix | Delete
function noop() {}
[45] Fix | Delete
[46] Fix | Delete
process.on = noop;
[47] Fix | Delete
process.addListener = noop;
[48] Fix | Delete
process.once = noop;
[49] Fix | Delete
process.off = noop;
[50] Fix | Delete
process.removeListener = noop;
[51] Fix | Delete
process.removeAllListeners = noop;
[52] Fix | Delete
process.emit = noop;
[53] Fix | Delete
[54] Fix | Delete
process.binding = function (name) {
[55] Fix | Delete
throw new Error('process.binding is not supported');
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
// TODO(shtylman)
[59] Fix | Delete
process.cwd = function () { return '/' };
[60] Fix | Delete
process.chdir = function (dir) {
[61] Fix | Delete
throw new Error('process.chdir is not supported');
[62] Fix | Delete
};
[63] Fix | Delete
[64] Fix | Delete
},{}],2:[function(require,module,exports){
[65] Fix | Delete
/*
[66] Fix | Delete
object-assign
[67] Fix | Delete
(c) Sindre Sorhus
[68] Fix | Delete
@license MIT
[69] Fix | Delete
*/
[70] Fix | Delete
[71] Fix | Delete
'use strict';
[72] Fix | Delete
/* eslint-disable no-unused-vars */
[73] Fix | Delete
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
[74] Fix | Delete
var hasOwnProperty = Object.prototype.hasOwnProperty;
[75] Fix | Delete
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
[76] Fix | Delete
[77] Fix | Delete
function toObject(val) {
[78] Fix | Delete
if (val === null || val === undefined) {
[79] Fix | Delete
throw new TypeError('Object.assign cannot be called with null or undefined');
[80] Fix | Delete
}
[81] Fix | Delete
[82] Fix | Delete
return Object(val);
[83] Fix | Delete
}
[84] Fix | Delete
[85] Fix | Delete
function shouldUseNative() {
[86] Fix | Delete
try {
[87] Fix | Delete
if (!Object.assign) {
[88] Fix | Delete
return false;
[89] Fix | Delete
}
[90] Fix | Delete
[91] Fix | Delete
// Detect buggy property enumeration order in older V8 versions.
[92] Fix | Delete
[93] Fix | Delete
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
[94] Fix | Delete
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
[95] Fix | Delete
test1[5] = 'de';
[96] Fix | Delete
if (Object.getOwnPropertyNames(test1)[0] === '5') {
[97] Fix | Delete
return false;
[98] Fix | Delete
}
[99] Fix | Delete
[100] Fix | Delete
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
[101] Fix | Delete
var test2 = {};
[102] Fix | Delete
for (var i = 0; i < 10; i++) {
[103] Fix | Delete
test2['_' + String.fromCharCode(i)] = i;
[104] Fix | Delete
}
[105] Fix | Delete
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
[106] Fix | Delete
return test2[n];
[107] Fix | Delete
});
[108] Fix | Delete
if (order2.join('') !== '0123456789') {
[109] Fix | Delete
return false;
[110] Fix | Delete
}
[111] Fix | Delete
[112] Fix | Delete
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
[113] Fix | Delete
var test3 = {};
[114] Fix | Delete
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
[115] Fix | Delete
test3[letter] = letter;
[116] Fix | Delete
});
[117] Fix | Delete
if (Object.keys(Object.assign({}, test3)).join('') !==
[118] Fix | Delete
'abcdefghijklmnopqrst') {
[119] Fix | Delete
return false;
[120] Fix | Delete
}
[121] Fix | Delete
[122] Fix | Delete
return true;
[123] Fix | Delete
} catch (err) {
[124] Fix | Delete
// We don't expect any of the above to throw, but better to be safe.
[125] Fix | Delete
return false;
[126] Fix | Delete
}
[127] Fix | Delete
}
[128] Fix | Delete
[129] Fix | Delete
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
[130] Fix | Delete
var from;
[131] Fix | Delete
var to = toObject(target);
[132] Fix | Delete
var symbols;
[133] Fix | Delete
[134] Fix | Delete
for (var s = 1; s < arguments.length; s++) {
[135] Fix | Delete
from = Object(arguments[s]);
[136] Fix | Delete
[137] Fix | Delete
for (var key in from) {
[138] Fix | Delete
if (hasOwnProperty.call(from, key)) {
[139] Fix | Delete
to[key] = from[key];
[140] Fix | Delete
}
[141] Fix | Delete
}
[142] Fix | Delete
[143] Fix | Delete
if (getOwnPropertySymbols) {
[144] Fix | Delete
symbols = getOwnPropertySymbols(from);
[145] Fix | Delete
for (var i = 0; i < symbols.length; i++) {
[146] Fix | Delete
if (propIsEnumerable.call(from, symbols[i])) {
[147] Fix | Delete
to[symbols[i]] = from[symbols[i]];
[148] Fix | Delete
}
[149] Fix | Delete
}
[150] Fix | Delete
}
[151] Fix | Delete
}
[152] Fix | Delete
[153] Fix | Delete
return to;
[154] Fix | Delete
};
[155] Fix | Delete
[156] Fix | Delete
},{}],3:[function(require,module,exports){
[157] Fix | Delete
(function (process){
[158] Fix | Delete
/**
[159] Fix | Delete
* Copyright (c) 2013-present, Facebook, Inc.
[160] Fix | Delete
*
[161] Fix | Delete
* This source code is licensed under the MIT license found in the
[162] Fix | Delete
* LICENSE file in the root directory of this source tree.
[163] Fix | Delete
*/
[164] Fix | Delete
[165] Fix | Delete
'use strict';
[166] Fix | Delete
[167] Fix | Delete
var printWarning = function() {};
[168] Fix | Delete
[169] Fix | Delete
if (process.env.NODE_ENV !== 'production') {
[170] Fix | Delete
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
[171] Fix | Delete
var loggedTypeFailures = {};
[172] Fix | Delete
var has = require('./lib/has');
[173] Fix | Delete
[174] Fix | Delete
printWarning = function(text) {
[175] Fix | Delete
var message = 'Warning: ' + text;
[176] Fix | Delete
if (typeof console !== 'undefined') {
[177] Fix | Delete
console.error(message);
[178] Fix | Delete
}
[179] Fix | Delete
try {
[180] Fix | Delete
// --- Welcome to debugging React ---
[181] Fix | Delete
// This error was thrown as a convenience so that you can use this stack
[182] Fix | Delete
// to find the callsite that caused this warning to fire.
[183] Fix | Delete
throw new Error(message);
[184] Fix | Delete
} catch (x) { /**/ }
[185] Fix | Delete
};
[186] Fix | Delete
}
[187] Fix | Delete
[188] Fix | Delete
/**
[189] Fix | Delete
* Assert that the values match with the type specs.
[190] Fix | Delete
* Error messages are memorized and will only be shown once.
[191] Fix | Delete
*
[192] Fix | Delete
* @param {object} typeSpecs Map of name to a ReactPropType
[193] Fix | Delete
* @param {object} values Runtime values that need to be type-checked
[194] Fix | Delete
* @param {string} location e.g. "prop", "context", "child context"
[195] Fix | Delete
* @param {string} componentName Name of the component for error messages.
[196] Fix | Delete
* @param {?Function} getStack Returns the component stack.
[197] Fix | Delete
* @private
[198] Fix | Delete
*/
[199] Fix | Delete
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
[200] Fix | Delete
if (process.env.NODE_ENV !== 'production') {
[201] Fix | Delete
for (var typeSpecName in typeSpecs) {
[202] Fix | Delete
if (has(typeSpecs, typeSpecName)) {
[203] Fix | Delete
var error;
[204] Fix | Delete
// Prop type validation may throw. In case they do, we don't want to
[205] Fix | Delete
// fail the render phase where it didn't fail before. So we log it.
[206] Fix | Delete
// After these have been cleaned up, we'll let them throw.
[207] Fix | Delete
try {
[208] Fix | Delete
// This is intentionally an invariant that gets caught. It's the same
[209] Fix | Delete
// behavior as without this statement except with a better message.
[210] Fix | Delete
if (typeof typeSpecs[typeSpecName] !== 'function') {
[211] Fix | Delete
var err = Error(
[212] Fix | Delete
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
[213] Fix | Delete
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
[214] Fix | Delete
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
[215] Fix | Delete
);
[216] Fix | Delete
err.name = 'Invariant Violation';
[217] Fix | Delete
throw err;
[218] Fix | Delete
}
[219] Fix | Delete
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
[220] Fix | Delete
} catch (ex) {
[221] Fix | Delete
error = ex;
[222] Fix | Delete
}
[223] Fix | Delete
if (error && !(error instanceof Error)) {
[224] Fix | Delete
printWarning(
[225] Fix | Delete
(componentName || 'React class') + ': type specification of ' +
[226] Fix | Delete
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
[227] Fix | Delete
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
[228] Fix | Delete
'You may have forgotten to pass an argument to the type checker ' +
[229] Fix | Delete
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
[230] Fix | Delete
'shape all require an argument).'
[231] Fix | Delete
);
[232] Fix | Delete
}
[233] Fix | Delete
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
[234] Fix | Delete
// Only monitor this failure once because there tends to be a lot of the
[235] Fix | Delete
// same error.
[236] Fix | Delete
loggedTypeFailures[error.message] = true;
[237] Fix | Delete
[238] Fix | Delete
var stack = getStack ? getStack() : '';
[239] Fix | Delete
[240] Fix | Delete
printWarning(
[241] Fix | Delete
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
[242] Fix | Delete
);
[243] Fix | Delete
}
[244] Fix | Delete
}
[245] Fix | Delete
}
[246] Fix | Delete
}
[247] Fix | Delete
}
[248] Fix | Delete
[249] Fix | Delete
/**
[250] Fix | Delete
* Resets warning cache when testing.
[251] Fix | Delete
*
[252] Fix | Delete
* @private
[253] Fix | Delete
*/
[254] Fix | Delete
checkPropTypes.resetWarningCache = function() {
[255] Fix | Delete
if (process.env.NODE_ENV !== 'production') {
[256] Fix | Delete
loggedTypeFailures = {};
[257] Fix | Delete
}
[258] Fix | Delete
}
[259] Fix | Delete
[260] Fix | Delete
module.exports = checkPropTypes;
[261] Fix | Delete
[262] Fix | Delete
}).call(this,require("hmr7eR"))
[263] Fix | Delete
},{"./lib/ReactPropTypesSecret":7,"./lib/has":8,"hmr7eR":1}],4:[function(require,module,exports){
[264] Fix | Delete
/**
[265] Fix | Delete
* Copyright (c) 2013-present, Facebook, Inc.
[266] Fix | Delete
*
[267] Fix | Delete
* This source code is licensed under the MIT license found in the
[268] Fix | Delete
* LICENSE file in the root directory of this source tree.
[269] Fix | Delete
*/
[270] Fix | Delete
[271] Fix | Delete
'use strict';
[272] Fix | Delete
[273] Fix | Delete
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
[274] Fix | Delete
[275] Fix | Delete
function emptyFunction() {}
[276] Fix | Delete
function emptyFunctionWithReset() {}
[277] Fix | Delete
emptyFunctionWithReset.resetWarningCache = emptyFunction;
[278] Fix | Delete
[279] Fix | Delete
module.exports = function() {
[280] Fix | Delete
function shim(props, propName, componentName, location, propFullName, secret) {
[281] Fix | Delete
if (secret === ReactPropTypesSecret) {
[282] Fix | Delete
// It is still safe when called from React.
[283] Fix | Delete
return;
[284] Fix | Delete
}
[285] Fix | Delete
var err = new Error(
[286] Fix | Delete
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
[287] Fix | Delete
'Use PropTypes.checkPropTypes() to call them. ' +
[288] Fix | Delete
'Read more at http://fb.me/use-check-prop-types'
[289] Fix | Delete
);
[290] Fix | Delete
err.name = 'Invariant Violation';
[291] Fix | Delete
throw err;
[292] Fix | Delete
};
[293] Fix | Delete
shim.isRequired = shim;
[294] Fix | Delete
function getShim() {
[295] Fix | Delete
return shim;
[296] Fix | Delete
};
[297] Fix | Delete
// Important!
[298] Fix | Delete
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
[299] Fix | Delete
var ReactPropTypes = {
[300] Fix | Delete
array: shim,
[301] Fix | Delete
bigint: shim,
[302] Fix | Delete
bool: shim,
[303] Fix | Delete
func: shim,
[304] Fix | Delete
number: shim,
[305] Fix | Delete
object: shim,
[306] Fix | Delete
string: shim,
[307] Fix | Delete
symbol: shim,
[308] Fix | Delete
[309] Fix | Delete
any: shim,
[310] Fix | Delete
arrayOf: getShim,
[311] Fix | Delete
element: shim,
[312] Fix | Delete
elementType: shim,
[313] Fix | Delete
instanceOf: getShim,
[314] Fix | Delete
node: shim,
[315] Fix | Delete
objectOf: getShim,
[316] Fix | Delete
oneOf: getShim,
[317] Fix | Delete
oneOfType: getShim,
[318] Fix | Delete
shape: getShim,
[319] Fix | Delete
exact: getShim,
[320] Fix | Delete
[321] Fix | Delete
checkPropTypes: emptyFunctionWithReset,
[322] Fix | Delete
resetWarningCache: emptyFunction
[323] Fix | Delete
};
[324] Fix | Delete
[325] Fix | Delete
ReactPropTypes.PropTypes = ReactPropTypes;
[326] Fix | Delete
[327] Fix | Delete
return ReactPropTypes;
[328] Fix | Delete
};
[329] Fix | Delete
[330] Fix | Delete
},{"./lib/ReactPropTypesSecret":7}],5:[function(require,module,exports){
[331] Fix | Delete
(function (process){
[332] Fix | Delete
/**
[333] Fix | Delete
* Copyright (c) 2013-present, Facebook, Inc.
[334] Fix | Delete
*
[335] Fix | Delete
* This source code is licensed under the MIT license found in the
[336] Fix | Delete
* LICENSE file in the root directory of this source tree.
[337] Fix | Delete
*/
[338] Fix | Delete
[339] Fix | Delete
'use strict';
[340] Fix | Delete
[341] Fix | Delete
var ReactIs = require('react-is');
[342] Fix | Delete
var assign = require('object-assign');
[343] Fix | Delete
[344] Fix | Delete
var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');
[345] Fix | Delete
var has = require('./lib/has');
[346] Fix | Delete
var checkPropTypes = require('./checkPropTypes');
[347] Fix | Delete
[348] Fix | Delete
var printWarning = function() {};
[349] Fix | Delete
[350] Fix | Delete
if (process.env.NODE_ENV !== 'production') {
[351] Fix | Delete
printWarning = function(text) {
[352] Fix | Delete
var message = 'Warning: ' + text;
[353] Fix | Delete
if (typeof console !== 'undefined') {
[354] Fix | Delete
console.error(message);
[355] Fix | Delete
}
[356] Fix | Delete
try {
[357] Fix | Delete
// --- Welcome to debugging React ---
[358] Fix | Delete
// This error was thrown as a convenience so that you can use this stack
[359] Fix | Delete
// to find the callsite that caused this warning to fire.
[360] Fix | Delete
throw new Error(message);
[361] Fix | Delete
} catch (x) {}
[362] Fix | Delete
};
[363] Fix | Delete
}
[364] Fix | Delete
[365] Fix | Delete
function emptyFunctionThatReturnsNull() {
[366] Fix | Delete
return null;
[367] Fix | Delete
}
[368] Fix | Delete
[369] Fix | Delete
module.exports = function(isValidElement, throwOnDirectAccess) {
[370] Fix | Delete
/* global Symbol */
[371] Fix | Delete
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
[372] Fix | Delete
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
[373] Fix | Delete
[374] Fix | Delete
/**
[375] Fix | Delete
* Returns the iterator method function contained on the iterable object.
[376] Fix | Delete
*
[377] Fix | Delete
* Be sure to invoke the function with the iterable as context:
[378] Fix | Delete
*
[379] Fix | Delete
* var iteratorFn = getIteratorFn(myIterable);
[380] Fix | Delete
* if (iteratorFn) {
[381] Fix | Delete
* var iterator = iteratorFn.call(myIterable);
[382] Fix | Delete
* ...
[383] Fix | Delete
* }
[384] Fix | Delete
*
[385] Fix | Delete
* @param {?object} maybeIterable
[386] Fix | Delete
* @return {?function}
[387] Fix | Delete
*/
[388] Fix | Delete
function getIteratorFn(maybeIterable) {
[389] Fix | Delete
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
[390] Fix | Delete
if (typeof iteratorFn === 'function') {
[391] Fix | Delete
return iteratorFn;
[392] Fix | Delete
}
[393] Fix | Delete
}
[394] Fix | Delete
[395] Fix | Delete
/**
[396] Fix | Delete
* Collection of methods that allow declaration and validation of props that are
[397] Fix | Delete
* supplied to React components. Example usage:
[398] Fix | Delete
*
[399] Fix | Delete
* var Props = require('ReactPropTypes');
[400] Fix | Delete
* var MyArticle = React.createClass({
[401] Fix | Delete
* propTypes: {
[402] Fix | Delete
* // An optional string prop named "description".
[403] Fix | Delete
* description: Props.string,
[404] Fix | Delete
*
[405] Fix | Delete
* // A required enum prop named "category".
[406] Fix | Delete
* category: Props.oneOf(['News','Photos']).isRequired,
[407] Fix | Delete
*
[408] Fix | Delete
* // A prop named "dialog" that requires an instance of Dialog.
[409] Fix | Delete
* dialog: Props.instanceOf(Dialog).isRequired
[410] Fix | Delete
* },
[411] Fix | Delete
* render: function() { ... }
[412] Fix | Delete
* });
[413] Fix | Delete
*
[414] Fix | Delete
* A more formal specification of how these methods are used:
[415] Fix | Delete
*
[416] Fix | Delete
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
[417] Fix | Delete
* decl := ReactPropTypes.{type}(.isRequired)?
[418] Fix | Delete
*
[419] Fix | Delete
* Each and every declaration produces a function with the same signature. This
[420] Fix | Delete
* allows the creation of custom validation functions. For example:
[421] Fix | Delete
*
[422] Fix | Delete
* var MyLink = React.createClass({
[423] Fix | Delete
* propTypes: {
[424] Fix | Delete
* // An optional string or URI prop named "href".
[425] Fix | Delete
* href: function(props, propName, componentName) {
[426] Fix | Delete
* var propValue = props[propName];
[427] Fix | Delete
* if (propValue != null && typeof propValue !== 'string' &&
[428] Fix | Delete
* !(propValue instanceof URI)) {
[429] Fix | Delete
* return new Error(
[430] Fix | Delete
* 'Expected a string or an URI for ' + propName + ' in ' +
[431] Fix | Delete
* componentName
[432] Fix | Delete
* );
[433] Fix | Delete
* }
[434] Fix | Delete
* }
[435] Fix | Delete
* },
[436] Fix | Delete
* render: function() {...}
[437] Fix | Delete
* });
[438] Fix | Delete
*
[439] Fix | Delete
* @internal
[440] Fix | Delete
*/
[441] Fix | Delete
[442] Fix | Delete
var ANONYMOUS = '<<anonymous>>';
[443] Fix | Delete
[444] Fix | Delete
// Important!
[445] Fix | Delete
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
[446] Fix | Delete
var ReactPropTypes = {
[447] Fix | Delete
array: createPrimitiveTypeChecker('array'),
[448] Fix | Delete
bigint: createPrimitiveTypeChecker('bigint'),
[449] Fix | Delete
bool: createPrimitiveTypeChecker('boolean'),
[450] Fix | Delete
func: createPrimitiveTypeChecker('function'),
[451] Fix | Delete
number: createPrimitiveTypeChecker('number'),
[452] Fix | Delete
object: createPrimitiveTypeChecker('object'),
[453] Fix | Delete
string: createPrimitiveTypeChecker('string'),
[454] Fix | Delete
symbol: createPrimitiveTypeChecker('symbol'),
[455] Fix | Delete
[456] Fix | Delete
any: createAnyTypeChecker(),
[457] Fix | Delete
arrayOf: createArrayOfTypeChecker,
[458] Fix | Delete
element: createElementTypeChecker(),
[459] Fix | Delete
elementType: createElementTypeTypeChecker(),
[460] Fix | Delete
instanceOf: createInstanceTypeChecker,
[461] Fix | Delete
node: createNodeChecker(),
[462] Fix | Delete
objectOf: createObjectOfTypeChecker,
[463] Fix | Delete
oneOf: createEnumTypeChecker,
[464] Fix | Delete
oneOfType: createUnionTypeChecker,
[465] Fix | Delete
shape: createShapeTypeChecker,
[466] Fix | Delete
exact: createStrictShapeTypeChecker,
[467] Fix | Delete
};
[468] Fix | Delete
[469] Fix | Delete
/**
[470] Fix | Delete
* inlined Object.is polyfill to avoid requiring consumers ship their own
[471] Fix | Delete
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
[472] Fix | Delete
*/
[473] Fix | Delete
/*eslint-disable no-self-compare*/
[474] Fix | Delete
function is(x, y) {
[475] Fix | Delete
// SameValue algorithm
[476] Fix | Delete
if (x === y) {
[477] Fix | Delete
// Steps 1-5, 7-10
[478] Fix | Delete
// Steps 6.b-6.e: +0 != -0
[479] Fix | Delete
return x !== 0 || 1 / x === 1 / y;
[480] Fix | Delete
} else {
[481] Fix | Delete
// Step 6.a: NaN == NaN
[482] Fix | Delete
return x !== x && y !== y;
[483] Fix | Delete
}
[484] Fix | Delete
}
[485] Fix | Delete
/*eslint-enable no-self-compare*/
[486] Fix | Delete
[487] Fix | Delete
/**
[488] Fix | Delete
* We use an Error-like object for backward compatibility as people may call
[489] Fix | Delete
* PropTypes directly and inspect their output. However, we don't use real
[490] Fix | Delete
* Errors anymore. We don't inspect their stack anyway, and creating them
[491] Fix | Delete
* is prohibitively expensive if they are created too often, such as what
[492] Fix | Delete
* happens in oneOfType() for any type before the one that matched.
[493] Fix | Delete
*/
[494] Fix | Delete
function PropTypeError(message, data) {
[495] Fix | Delete
this.message = message;
[496] Fix | Delete
this.data = data && typeof data === 'object' ? data: {};
[497] Fix | Delete
this.stack = '';
[498] Fix | Delete
}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function