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

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../assets/js/integrat.../divi
File: formselector.es5.js
if (process.env.NODE_ENV !== "production") {
[1000] Fix | Delete
(function() {
[1001] Fix | Delete
'use strict';
[1002] Fix | Delete
[1003] Fix | Delete
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
[1004] Fix | Delete
// nor polyfill, then a plain number is used for performance.
[1005] Fix | Delete
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
[1006] Fix | Delete
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
[1007] Fix | Delete
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
[1008] Fix | Delete
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
[1009] Fix | Delete
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
[1010] Fix | Delete
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
[1011] Fix | Delete
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
[1012] Fix | Delete
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
[1013] Fix | Delete
// (unstable) APIs that have been removed. Can we remove the symbols?
[1014] Fix | Delete
[1015] Fix | Delete
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
[1016] Fix | Delete
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
[1017] Fix | Delete
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
[1018] Fix | Delete
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
[1019] Fix | Delete
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
[1020] Fix | Delete
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
[1021] Fix | Delete
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
[1022] Fix | Delete
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
[1023] Fix | Delete
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
[1024] Fix | Delete
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
[1025] Fix | Delete
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
[1026] Fix | Delete
[1027] Fix | Delete
function isValidElementType(type) {
[1028] Fix | Delete
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
[1029] Fix | Delete
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
[1030] Fix | Delete
}
[1031] Fix | Delete
[1032] Fix | Delete
function typeOf(object) {
[1033] Fix | Delete
if (typeof object === 'object' && object !== null) {
[1034] Fix | Delete
var $$typeof = object.$$typeof;
[1035] Fix | Delete
[1036] Fix | Delete
switch ($$typeof) {
[1037] Fix | Delete
case REACT_ELEMENT_TYPE:
[1038] Fix | Delete
var type = object.type;
[1039] Fix | Delete
[1040] Fix | Delete
switch (type) {
[1041] Fix | Delete
case REACT_ASYNC_MODE_TYPE:
[1042] Fix | Delete
case REACT_CONCURRENT_MODE_TYPE:
[1043] Fix | Delete
case REACT_FRAGMENT_TYPE:
[1044] Fix | Delete
case REACT_PROFILER_TYPE:
[1045] Fix | Delete
case REACT_STRICT_MODE_TYPE:
[1046] Fix | Delete
case REACT_SUSPENSE_TYPE:
[1047] Fix | Delete
return type;
[1048] Fix | Delete
[1049] Fix | Delete
default:
[1050] Fix | Delete
var $$typeofType = type && type.$$typeof;
[1051] Fix | Delete
[1052] Fix | Delete
switch ($$typeofType) {
[1053] Fix | Delete
case REACT_CONTEXT_TYPE:
[1054] Fix | Delete
case REACT_FORWARD_REF_TYPE:
[1055] Fix | Delete
case REACT_LAZY_TYPE:
[1056] Fix | Delete
case REACT_MEMO_TYPE:
[1057] Fix | Delete
case REACT_PROVIDER_TYPE:
[1058] Fix | Delete
return $$typeofType;
[1059] Fix | Delete
[1060] Fix | Delete
default:
[1061] Fix | Delete
return $$typeof;
[1062] Fix | Delete
}
[1063] Fix | Delete
[1064] Fix | Delete
}
[1065] Fix | Delete
[1066] Fix | Delete
case REACT_PORTAL_TYPE:
[1067] Fix | Delete
return $$typeof;
[1068] Fix | Delete
}
[1069] Fix | Delete
}
[1070] Fix | Delete
[1071] Fix | Delete
return undefined;
[1072] Fix | Delete
} // AsyncMode is deprecated along with isAsyncMode
[1073] Fix | Delete
[1074] Fix | Delete
var AsyncMode = REACT_ASYNC_MODE_TYPE;
[1075] Fix | Delete
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
[1076] Fix | Delete
var ContextConsumer = REACT_CONTEXT_TYPE;
[1077] Fix | Delete
var ContextProvider = REACT_PROVIDER_TYPE;
[1078] Fix | Delete
var Element = REACT_ELEMENT_TYPE;
[1079] Fix | Delete
var ForwardRef = REACT_FORWARD_REF_TYPE;
[1080] Fix | Delete
var Fragment = REACT_FRAGMENT_TYPE;
[1081] Fix | Delete
var Lazy = REACT_LAZY_TYPE;
[1082] Fix | Delete
var Memo = REACT_MEMO_TYPE;
[1083] Fix | Delete
var Portal = REACT_PORTAL_TYPE;
[1084] Fix | Delete
var Profiler = REACT_PROFILER_TYPE;
[1085] Fix | Delete
var StrictMode = REACT_STRICT_MODE_TYPE;
[1086] Fix | Delete
var Suspense = REACT_SUSPENSE_TYPE;
[1087] Fix | Delete
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
[1088] Fix | Delete
[1089] Fix | Delete
function isAsyncMode(object) {
[1090] Fix | Delete
{
[1091] Fix | Delete
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
[1092] Fix | Delete
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
[1093] Fix | Delete
[1094] Fix | Delete
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
[1095] Fix | Delete
}
[1096] Fix | Delete
}
[1097] Fix | Delete
[1098] Fix | Delete
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
[1099] Fix | Delete
}
[1100] Fix | Delete
function isConcurrentMode(object) {
[1101] Fix | Delete
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
[1102] Fix | Delete
}
[1103] Fix | Delete
function isContextConsumer(object) {
[1104] Fix | Delete
return typeOf(object) === REACT_CONTEXT_TYPE;
[1105] Fix | Delete
}
[1106] Fix | Delete
function isContextProvider(object) {
[1107] Fix | Delete
return typeOf(object) === REACT_PROVIDER_TYPE;
[1108] Fix | Delete
}
[1109] Fix | Delete
function isElement(object) {
[1110] Fix | Delete
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
[1111] Fix | Delete
}
[1112] Fix | Delete
function isForwardRef(object) {
[1113] Fix | Delete
return typeOf(object) === REACT_FORWARD_REF_TYPE;
[1114] Fix | Delete
}
[1115] Fix | Delete
function isFragment(object) {
[1116] Fix | Delete
return typeOf(object) === REACT_FRAGMENT_TYPE;
[1117] Fix | Delete
}
[1118] Fix | Delete
function isLazy(object) {
[1119] Fix | Delete
return typeOf(object) === REACT_LAZY_TYPE;
[1120] Fix | Delete
}
[1121] Fix | Delete
function isMemo(object) {
[1122] Fix | Delete
return typeOf(object) === REACT_MEMO_TYPE;
[1123] Fix | Delete
}
[1124] Fix | Delete
function isPortal(object) {
[1125] Fix | Delete
return typeOf(object) === REACT_PORTAL_TYPE;
[1126] Fix | Delete
}
[1127] Fix | Delete
function isProfiler(object) {
[1128] Fix | Delete
return typeOf(object) === REACT_PROFILER_TYPE;
[1129] Fix | Delete
}
[1130] Fix | Delete
function isStrictMode(object) {
[1131] Fix | Delete
return typeOf(object) === REACT_STRICT_MODE_TYPE;
[1132] Fix | Delete
}
[1133] Fix | Delete
function isSuspense(object) {
[1134] Fix | Delete
return typeOf(object) === REACT_SUSPENSE_TYPE;
[1135] Fix | Delete
}
[1136] Fix | Delete
[1137] Fix | Delete
exports.AsyncMode = AsyncMode;
[1138] Fix | Delete
exports.ConcurrentMode = ConcurrentMode;
[1139] Fix | Delete
exports.ContextConsumer = ContextConsumer;
[1140] Fix | Delete
exports.ContextProvider = ContextProvider;
[1141] Fix | Delete
exports.Element = Element;
[1142] Fix | Delete
exports.ForwardRef = ForwardRef;
[1143] Fix | Delete
exports.Fragment = Fragment;
[1144] Fix | Delete
exports.Lazy = Lazy;
[1145] Fix | Delete
exports.Memo = Memo;
[1146] Fix | Delete
exports.Portal = Portal;
[1147] Fix | Delete
exports.Profiler = Profiler;
[1148] Fix | Delete
exports.StrictMode = StrictMode;
[1149] Fix | Delete
exports.Suspense = Suspense;
[1150] Fix | Delete
exports.isAsyncMode = isAsyncMode;
[1151] Fix | Delete
exports.isConcurrentMode = isConcurrentMode;
[1152] Fix | Delete
exports.isContextConsumer = isContextConsumer;
[1153] Fix | Delete
exports.isContextProvider = isContextProvider;
[1154] Fix | Delete
exports.isElement = isElement;
[1155] Fix | Delete
exports.isForwardRef = isForwardRef;
[1156] Fix | Delete
exports.isFragment = isFragment;
[1157] Fix | Delete
exports.isLazy = isLazy;
[1158] Fix | Delete
exports.isMemo = isMemo;
[1159] Fix | Delete
exports.isPortal = isPortal;
[1160] Fix | Delete
exports.isProfiler = isProfiler;
[1161] Fix | Delete
exports.isStrictMode = isStrictMode;
[1162] Fix | Delete
exports.isSuspense = isSuspense;
[1163] Fix | Delete
exports.isValidElementType = isValidElementType;
[1164] Fix | Delete
exports.typeOf = typeOf;
[1165] Fix | Delete
})();
[1166] Fix | Delete
}
[1167] Fix | Delete
[1168] Fix | Delete
}).call(this,require("hmr7eR"))
[1169] Fix | Delete
},{"hmr7eR":1}],10:[function(require,module,exports){
[1170] Fix | Delete
/** @license React v16.13.1
[1171] Fix | Delete
* react-is.production.min.js
[1172] Fix | Delete
*
[1173] Fix | Delete
* Copyright (c) Facebook, Inc. and its affiliates.
[1174] Fix | Delete
*
[1175] Fix | Delete
* This source code is licensed under the MIT license found in the
[1176] Fix | Delete
* LICENSE file in the root directory of this source tree.
[1177] Fix | Delete
*/
[1178] Fix | Delete
[1179] Fix | Delete
'use strict';var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
[1180] Fix | Delete
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
[1181] Fix | Delete
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
[1182] Fix | Delete
exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
[1183] Fix | Delete
exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
[1184] Fix | Delete
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
[1185] Fix | Delete
[1186] Fix | Delete
},{}],11:[function(require,module,exports){
[1187] Fix | Delete
(function (process){
[1188] Fix | Delete
'use strict';
[1189] Fix | Delete
[1190] Fix | Delete
if (process.env.NODE_ENV === 'production') {
[1191] Fix | Delete
module.exports = require('./cjs/react-is.production.min.js');
[1192] Fix | Delete
} else {
[1193] Fix | Delete
module.exports = require('./cjs/react-is.development.js');
[1194] Fix | Delete
}
[1195] Fix | Delete
[1196] Fix | Delete
}).call(this,require("hmr7eR"))
[1197] Fix | Delete
},{"./cjs/react-is.development.js":9,"./cjs/react-is.production.min.js":10,"hmr7eR":1}],12:[function(require,module,exports){
[1198] Fix | Delete
(function (process){
[1199] Fix | Delete
/**
[1200] Fix | Delete
* @license React
[1201] Fix | Delete
* react.development.js
[1202] Fix | Delete
*
[1203] Fix | Delete
* Copyright (c) Facebook, Inc. and its affiliates.
[1204] Fix | Delete
*
[1205] Fix | Delete
* This source code is licensed under the MIT license found in the
[1206] Fix | Delete
* LICENSE file in the root directory of this source tree.
[1207] Fix | Delete
*/
[1208] Fix | Delete
[1209] Fix | Delete
'use strict';
[1210] Fix | Delete
[1211] Fix | Delete
if (process.env.NODE_ENV !== "production") {
[1212] Fix | Delete
(function() {
[1213] Fix | Delete
[1214] Fix | Delete
'use strict';
[1215] Fix | Delete
[1216] Fix | Delete
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
[1217] Fix | Delete
if (
[1218] Fix | Delete
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
[1219] Fix | Delete
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
[1220] Fix | Delete
'function'
[1221] Fix | Delete
) {
[1222] Fix | Delete
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
[1223] Fix | Delete
}
[1224] Fix | Delete
var ReactVersion = '18.2.0';
[1225] Fix | Delete
[1226] Fix | Delete
// ATTENTION
[1227] Fix | Delete
// When adding new symbols to this file,
[1228] Fix | Delete
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
[1229] Fix | Delete
// The Symbol used to tag the ReactElement-like types.
[1230] Fix | Delete
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
[1231] Fix | Delete
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
[1232] Fix | Delete
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
[1233] Fix | Delete
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
[1234] Fix | Delete
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
[1235] Fix | Delete
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
[1236] Fix | Delete
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
[1237] Fix | Delete
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
[1238] Fix | Delete
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
[1239] Fix | Delete
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
[1240] Fix | Delete
var REACT_MEMO_TYPE = Symbol.for('react.memo');
[1241] Fix | Delete
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
[1242] Fix | Delete
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
[1243] Fix | Delete
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
[1244] Fix | Delete
var FAUX_ITERATOR_SYMBOL = '@@iterator';
[1245] Fix | Delete
function getIteratorFn(maybeIterable) {
[1246] Fix | Delete
if (maybeIterable === null || typeof maybeIterable !== 'object') {
[1247] Fix | Delete
return null;
[1248] Fix | Delete
}
[1249] Fix | Delete
[1250] Fix | Delete
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
[1251] Fix | Delete
[1252] Fix | Delete
if (typeof maybeIterator === 'function') {
[1253] Fix | Delete
return maybeIterator;
[1254] Fix | Delete
}
[1255] Fix | Delete
[1256] Fix | Delete
return null;
[1257] Fix | Delete
}
[1258] Fix | Delete
[1259] Fix | Delete
/**
[1260] Fix | Delete
* Keeps track of the current dispatcher.
[1261] Fix | Delete
*/
[1262] Fix | Delete
var ReactCurrentDispatcher = {
[1263] Fix | Delete
/**
[1264] Fix | Delete
* @internal
[1265] Fix | Delete
* @type {ReactComponent}
[1266] Fix | Delete
*/
[1267] Fix | Delete
current: null
[1268] Fix | Delete
};
[1269] Fix | Delete
[1270] Fix | Delete
/**
[1271] Fix | Delete
* Keeps track of the current batch's configuration such as how long an update
[1272] Fix | Delete
* should suspend for if it needs to.
[1273] Fix | Delete
*/
[1274] Fix | Delete
var ReactCurrentBatchConfig = {
[1275] Fix | Delete
transition: null
[1276] Fix | Delete
};
[1277] Fix | Delete
[1278] Fix | Delete
var ReactCurrentActQueue = {
[1279] Fix | Delete
current: null,
[1280] Fix | Delete
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
[1281] Fix | Delete
isBatchingLegacy: false,
[1282] Fix | Delete
didScheduleLegacyUpdate: false
[1283] Fix | Delete
};
[1284] Fix | Delete
[1285] Fix | Delete
/**
[1286] Fix | Delete
* Keeps track of the current owner.
[1287] Fix | Delete
*
[1288] Fix | Delete
* The current owner is the component who should own any components that are
[1289] Fix | Delete
* currently being constructed.
[1290] Fix | Delete
*/
[1291] Fix | Delete
var ReactCurrentOwner = {
[1292] Fix | Delete
/**
[1293] Fix | Delete
* @internal
[1294] Fix | Delete
* @type {ReactComponent}
[1295] Fix | Delete
*/
[1296] Fix | Delete
current: null
[1297] Fix | Delete
};
[1298] Fix | Delete
[1299] Fix | Delete
var ReactDebugCurrentFrame = {};
[1300] Fix | Delete
var currentExtraStackFrame = null;
[1301] Fix | Delete
function setExtraStackFrame(stack) {
[1302] Fix | Delete
{
[1303] Fix | Delete
currentExtraStackFrame = stack;
[1304] Fix | Delete
}
[1305] Fix | Delete
}
[1306] Fix | Delete
[1307] Fix | Delete
{
[1308] Fix | Delete
ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {
[1309] Fix | Delete
{
[1310] Fix | Delete
currentExtraStackFrame = stack;
[1311] Fix | Delete
}
[1312] Fix | Delete
}; // Stack implementation injected by the current renderer.
[1313] Fix | Delete
[1314] Fix | Delete
[1315] Fix | Delete
ReactDebugCurrentFrame.getCurrentStack = null;
[1316] Fix | Delete
[1317] Fix | Delete
ReactDebugCurrentFrame.getStackAddendum = function () {
[1318] Fix | Delete
var stack = ''; // Add an extra top frame while an element is being validated
[1319] Fix | Delete
[1320] Fix | Delete
if (currentExtraStackFrame) {
[1321] Fix | Delete
stack += currentExtraStackFrame;
[1322] Fix | Delete
} // Delegate to the injected renderer-specific implementation
[1323] Fix | Delete
[1324] Fix | Delete
[1325] Fix | Delete
var impl = ReactDebugCurrentFrame.getCurrentStack;
[1326] Fix | Delete
[1327] Fix | Delete
if (impl) {
[1328] Fix | Delete
stack += impl() || '';
[1329] Fix | Delete
}
[1330] Fix | Delete
[1331] Fix | Delete
return stack;
[1332] Fix | Delete
};
[1333] Fix | Delete
}
[1334] Fix | Delete
[1335] Fix | Delete
// -----------------------------------------------------------------------------
[1336] Fix | Delete
[1337] Fix | Delete
var enableScopeAPI = false; // Experimental Create Event Handle API.
[1338] Fix | Delete
var enableCacheElement = false;
[1339] Fix | Delete
var enableTransitionTracing = false; // No known bugs, but needs performance testing
[1340] Fix | Delete
[1341] Fix | Delete
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
[1342] Fix | Delete
// stuff. Intended to enable React core members to more easily debug scheduling
[1343] Fix | Delete
// issues in DEV builds.
[1344] Fix | Delete
[1345] Fix | Delete
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
[1346] Fix | Delete
[1347] Fix | Delete
var ReactSharedInternals = {
[1348] Fix | Delete
ReactCurrentDispatcher: ReactCurrentDispatcher,
[1349] Fix | Delete
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
[1350] Fix | Delete
ReactCurrentOwner: ReactCurrentOwner
[1351] Fix | Delete
};
[1352] Fix | Delete
[1353] Fix | Delete
{
[1354] Fix | Delete
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
[1355] Fix | Delete
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
[1356] Fix | Delete
}
[1357] Fix | Delete
[1358] Fix | Delete
// by calls to these methods by a Babel plugin.
[1359] Fix | Delete
//
[1360] Fix | Delete
// In PROD (or in packages without access to React internals),
[1361] Fix | Delete
// they are left as they are instead.
[1362] Fix | Delete
[1363] Fix | Delete
function warn(format) {
[1364] Fix | Delete
{
[1365] Fix | Delete
{
[1366] Fix | Delete
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
[1367] Fix | Delete
args[_key - 1] = arguments[_key];
[1368] Fix | Delete
}
[1369] Fix | Delete
[1370] Fix | Delete
printWarning('warn', format, args);
[1371] Fix | Delete
}
[1372] Fix | Delete
}
[1373] Fix | Delete
}
[1374] Fix | Delete
function error(format) {
[1375] Fix | Delete
{
[1376] Fix | Delete
{
[1377] Fix | Delete
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
[1378] Fix | Delete
args[_key2 - 1] = arguments[_key2];
[1379] Fix | Delete
}
[1380] Fix | Delete
[1381] Fix | Delete
printWarning('error', format, args);
[1382] Fix | Delete
}
[1383] Fix | Delete
}
[1384] Fix | Delete
}
[1385] Fix | Delete
[1386] Fix | Delete
function printWarning(level, format, args) {
[1387] Fix | Delete
// When changing this logic, you might want to also
[1388] Fix | Delete
// update consoleWithStackDev.www.js as well.
[1389] Fix | Delete
{
[1390] Fix | Delete
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
[1391] Fix | Delete
var stack = ReactDebugCurrentFrame.getStackAddendum();
[1392] Fix | Delete
[1393] Fix | Delete
if (stack !== '') {
[1394] Fix | Delete
format += '%s';
[1395] Fix | Delete
args = args.concat([stack]);
[1396] Fix | Delete
} // eslint-disable-next-line react-internal/safe-string-coercion
[1397] Fix | Delete
[1398] Fix | Delete
[1399] Fix | Delete
var argsWithFormat = args.map(function (item) {
[1400] Fix | Delete
return String(item);
[1401] Fix | Delete
}); // Careful: RN currently depends on this prefix
[1402] Fix | Delete
[1403] Fix | Delete
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
[1404] Fix | Delete
// breaks IE9: https://github.com/facebook/react/issues/13610
[1405] Fix | Delete
// eslint-disable-next-line react-internal/no-production-logging
[1406] Fix | Delete
[1407] Fix | Delete
Function.prototype.apply.call(console[level], console, argsWithFormat);
[1408] Fix | Delete
}
[1409] Fix | Delete
}
[1410] Fix | Delete
[1411] Fix | Delete
var didWarnStateUpdateForUnmountedComponent = {};
[1412] Fix | Delete
[1413] Fix | Delete
function warnNoop(publicInstance, callerName) {
[1414] Fix | Delete
{
[1415] Fix | Delete
var _constructor = publicInstance.constructor;
[1416] Fix | Delete
var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
[1417] Fix | Delete
var warningKey = componentName + "." + callerName;
[1418] Fix | Delete
[1419] Fix | Delete
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
[1420] Fix | Delete
return;
[1421] Fix | Delete
}
[1422] Fix | Delete
[1423] Fix | Delete
error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
[1424] Fix | Delete
[1425] Fix | Delete
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
[1426] Fix | Delete
}
[1427] Fix | Delete
}
[1428] Fix | Delete
/**
[1429] Fix | Delete
* This is the abstract API for an update queue.
[1430] Fix | Delete
*/
[1431] Fix | Delete
[1432] Fix | Delete
[1433] Fix | Delete
var ReactNoopUpdateQueue = {
[1434] Fix | Delete
/**
[1435] Fix | Delete
* Checks whether or not this composite component is mounted.
[1436] Fix | Delete
* @param {ReactClass} publicInstance The instance we want to test.
[1437] Fix | Delete
* @return {boolean} True if mounted, false otherwise.
[1438] Fix | Delete
* @protected
[1439] Fix | Delete
* @final
[1440] Fix | Delete
*/
[1441] Fix | Delete
isMounted: function (publicInstance) {
[1442] Fix | Delete
return false;
[1443] Fix | Delete
},
[1444] Fix | Delete
[1445] Fix | Delete
/**
[1446] Fix | Delete
* Forces an update. This should only be invoked when it is known with
[1447] Fix | Delete
* certainty that we are **not** in a DOM transaction.
[1448] Fix | Delete
*
[1449] Fix | Delete
* You may want to call this when you know that some deeper aspect of the
[1450] Fix | Delete
* component's state has changed but `setState` was not called.
[1451] Fix | Delete
*
[1452] Fix | Delete
* This will not invoke `shouldComponentUpdate`, but it will invoke
[1453] Fix | Delete
* `componentWillUpdate` and `componentDidUpdate`.
[1454] Fix | Delete
*
[1455] Fix | Delete
* @param {ReactClass} publicInstance The instance that should rerender.
[1456] Fix | Delete
* @param {?function} callback Called after component is updated.
[1457] Fix | Delete
* @param {?string} callerName name of the calling function in the public API.
[1458] Fix | Delete
* @internal
[1459] Fix | Delete
*/
[1460] Fix | Delete
enqueueForceUpdate: function (publicInstance, callback, callerName) {
[1461] Fix | Delete
warnNoop(publicInstance, 'forceUpdate');
[1462] Fix | Delete
},
[1463] Fix | Delete
[1464] Fix | Delete
/**
[1465] Fix | Delete
* Replaces all of the state. Always use this or `setState` to mutate state.
[1466] Fix | Delete
* You should treat `this.state` as immutable.
[1467] Fix | Delete
*
[1468] Fix | Delete
* There is no guarantee that `this.state` will be immediately updated, so
[1469] Fix | Delete
* accessing `this.state` after calling this method may return the old value.
[1470] Fix | Delete
*
[1471] Fix | Delete
* @param {ReactClass} publicInstance The instance that should rerender.
[1472] Fix | Delete
* @param {object} completeState Next state.
[1473] Fix | Delete
* @param {?function} callback Called after component is updated.
[1474] Fix | Delete
* @param {?string} callerName name of the calling function in the public API.
[1475] Fix | Delete
* @internal
[1476] Fix | Delete
*/
[1477] Fix | Delete
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
[1478] Fix | Delete
warnNoop(publicInstance, 'replaceState');
[1479] Fix | Delete
},
[1480] Fix | Delete
[1481] Fix | Delete
/**
[1482] Fix | Delete
* Sets a subset of the state. This only exists because _pendingState is
[1483] Fix | Delete
* internal. This provides a merging strategy that is not available to deep
[1484] Fix | Delete
* properties which is confusing. TODO: Expose pendingState or don't use it
[1485] Fix | Delete
* during the merge.
[1486] Fix | Delete
*
[1487] Fix | Delete
* @param {ReactClass} publicInstance The instance that should rerender.
[1488] Fix | Delete
* @param {object} partialState Next partial state to be merged with state.
[1489] Fix | Delete
* @param {?function} callback Called after component is updated.
[1490] Fix | Delete
* @param {?string} Name of the calling function in the public API.
[1491] Fix | Delete
* @internal
[1492] Fix | Delete
*/
[1493] Fix | Delete
enqueueSetState: function (publicInstance, partialState, callback, callerName) {
[1494] Fix | Delete
warnNoop(publicInstance, 'setState');
[1495] Fix | Delete
}
[1496] Fix | Delete
};
[1497] Fix | Delete
[1498] Fix | Delete
var assign = Object.assign;
[1499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function