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
set: function (_currentValue2) {
[2500] Fix | Delete
context._currentValue2 = _currentValue2;
[2501] Fix | Delete
}
[2502] Fix | Delete
},
[2503] Fix | Delete
_threadCount: {
[2504] Fix | Delete
get: function () {
[2505] Fix | Delete
return context._threadCount;
[2506] Fix | Delete
},
[2507] Fix | Delete
set: function (_threadCount) {
[2508] Fix | Delete
context._threadCount = _threadCount;
[2509] Fix | Delete
}
[2510] Fix | Delete
},
[2511] Fix | Delete
Consumer: {
[2512] Fix | Delete
get: function () {
[2513] Fix | Delete
if (!hasWarnedAboutUsingNestedContextConsumers) {
[2514] Fix | Delete
hasWarnedAboutUsingNestedContextConsumers = true;
[2515] Fix | Delete
[2516] Fix | Delete
error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
[2517] Fix | Delete
}
[2518] Fix | Delete
[2519] Fix | Delete
return context.Consumer;
[2520] Fix | Delete
}
[2521] Fix | Delete
},
[2522] Fix | Delete
displayName: {
[2523] Fix | Delete
get: function () {
[2524] Fix | Delete
return context.displayName;
[2525] Fix | Delete
},
[2526] Fix | Delete
set: function (displayName) {
[2527] Fix | Delete
if (!hasWarnedAboutDisplayNameOnConsumer) {
[2528] Fix | Delete
warn('Setting `displayName` on Context.Consumer has no effect. ' + "You should set it directly on the context with Context.displayName = '%s'.", displayName);
[2529] Fix | Delete
[2530] Fix | Delete
hasWarnedAboutDisplayNameOnConsumer = true;
[2531] Fix | Delete
}
[2532] Fix | Delete
}
[2533] Fix | Delete
}
[2534] Fix | Delete
}); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
[2535] Fix | Delete
[2536] Fix | Delete
context.Consumer = Consumer;
[2537] Fix | Delete
}
[2538] Fix | Delete
[2539] Fix | Delete
{
[2540] Fix | Delete
context._currentRenderer = null;
[2541] Fix | Delete
context._currentRenderer2 = null;
[2542] Fix | Delete
}
[2543] Fix | Delete
[2544] Fix | Delete
return context;
[2545] Fix | Delete
}
[2546] Fix | Delete
[2547] Fix | Delete
var Uninitialized = -1;
[2548] Fix | Delete
var Pending = 0;
[2549] Fix | Delete
var Resolved = 1;
[2550] Fix | Delete
var Rejected = 2;
[2551] Fix | Delete
[2552] Fix | Delete
function lazyInitializer(payload) {
[2553] Fix | Delete
if (payload._status === Uninitialized) {
[2554] Fix | Delete
var ctor = payload._result;
[2555] Fix | Delete
var thenable = ctor(); // Transition to the next state.
[2556] Fix | Delete
// This might throw either because it's missing or throws. If so, we treat it
[2557] Fix | Delete
// as still uninitialized and try again next time. Which is the same as what
[2558] Fix | Delete
// happens if the ctor or any wrappers processing the ctor throws. This might
[2559] Fix | Delete
// end up fixing it if the resolution was a concurrency bug.
[2560] Fix | Delete
[2561] Fix | Delete
thenable.then(function (moduleObject) {
[2562] Fix | Delete
if (payload._status === Pending || payload._status === Uninitialized) {
[2563] Fix | Delete
// Transition to the next state.
[2564] Fix | Delete
var resolved = payload;
[2565] Fix | Delete
resolved._status = Resolved;
[2566] Fix | Delete
resolved._result = moduleObject;
[2567] Fix | Delete
}
[2568] Fix | Delete
}, function (error) {
[2569] Fix | Delete
if (payload._status === Pending || payload._status === Uninitialized) {
[2570] Fix | Delete
// Transition to the next state.
[2571] Fix | Delete
var rejected = payload;
[2572] Fix | Delete
rejected._status = Rejected;
[2573] Fix | Delete
rejected._result = error;
[2574] Fix | Delete
}
[2575] Fix | Delete
});
[2576] Fix | Delete
[2577] Fix | Delete
if (payload._status === Uninitialized) {
[2578] Fix | Delete
// In case, we're still uninitialized, then we're waiting for the thenable
[2579] Fix | Delete
// to resolve. Set it as pending in the meantime.
[2580] Fix | Delete
var pending = payload;
[2581] Fix | Delete
pending._status = Pending;
[2582] Fix | Delete
pending._result = thenable;
[2583] Fix | Delete
}
[2584] Fix | Delete
}
[2585] Fix | Delete
[2586] Fix | Delete
if (payload._status === Resolved) {
[2587] Fix | Delete
var moduleObject = payload._result;
[2588] Fix | Delete
[2589] Fix | Delete
{
[2590] Fix | Delete
if (moduleObject === undefined) {
[2591] Fix | Delete
error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
[2592] Fix | Delete
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
[2593] Fix | Delete
}
[2594] Fix | Delete
}
[2595] Fix | Delete
[2596] Fix | Delete
{
[2597] Fix | Delete
if (!('default' in moduleObject)) {
[2598] Fix | Delete
error('lazy: Expected the result of a dynamic imp' + 'ort() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
[2599] Fix | Delete
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
[2600] Fix | Delete
}
[2601] Fix | Delete
}
[2602] Fix | Delete
[2603] Fix | Delete
return moduleObject.default;
[2604] Fix | Delete
} else {
[2605] Fix | Delete
throw payload._result;
[2606] Fix | Delete
}
[2607] Fix | Delete
}
[2608] Fix | Delete
[2609] Fix | Delete
function lazy(ctor) {
[2610] Fix | Delete
var payload = {
[2611] Fix | Delete
// We use these fields to store the result.
[2612] Fix | Delete
_status: Uninitialized,
[2613] Fix | Delete
_result: ctor
[2614] Fix | Delete
};
[2615] Fix | Delete
var lazyType = {
[2616] Fix | Delete
$$typeof: REACT_LAZY_TYPE,
[2617] Fix | Delete
_payload: payload,
[2618] Fix | Delete
_init: lazyInitializer
[2619] Fix | Delete
};
[2620] Fix | Delete
[2621] Fix | Delete
{
[2622] Fix | Delete
// In production, this would just set it on the object.
[2623] Fix | Delete
var defaultProps;
[2624] Fix | Delete
var propTypes; // $FlowFixMe
[2625] Fix | Delete
[2626] Fix | Delete
Object.defineProperties(lazyType, {
[2627] Fix | Delete
defaultProps: {
[2628] Fix | Delete
configurable: true,
[2629] Fix | Delete
get: function () {
[2630] Fix | Delete
return defaultProps;
[2631] Fix | Delete
},
[2632] Fix | Delete
set: function (newDefaultProps) {
[2633] Fix | Delete
error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
[2634] Fix | Delete
[2635] Fix | Delete
defaultProps = newDefaultProps; // Match production behavior more closely:
[2636] Fix | Delete
// $FlowFixMe
[2637] Fix | Delete
[2638] Fix | Delete
Object.defineProperty(lazyType, 'defaultProps', {
[2639] Fix | Delete
enumerable: true
[2640] Fix | Delete
});
[2641] Fix | Delete
}
[2642] Fix | Delete
},
[2643] Fix | Delete
propTypes: {
[2644] Fix | Delete
configurable: true,
[2645] Fix | Delete
get: function () {
[2646] Fix | Delete
return propTypes;
[2647] Fix | Delete
},
[2648] Fix | Delete
set: function (newPropTypes) {
[2649] Fix | Delete
error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
[2650] Fix | Delete
[2651] Fix | Delete
propTypes = newPropTypes; // Match production behavior more closely:
[2652] Fix | Delete
// $FlowFixMe
[2653] Fix | Delete
[2654] Fix | Delete
Object.defineProperty(lazyType, 'propTypes', {
[2655] Fix | Delete
enumerable: true
[2656] Fix | Delete
});
[2657] Fix | Delete
}
[2658] Fix | Delete
}
[2659] Fix | Delete
});
[2660] Fix | Delete
}
[2661] Fix | Delete
[2662] Fix | Delete
return lazyType;
[2663] Fix | Delete
}
[2664] Fix | Delete
[2665] Fix | Delete
function forwardRef(render) {
[2666] Fix | Delete
{
[2667] Fix | Delete
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
[2668] Fix | Delete
error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
[2669] Fix | Delete
} else if (typeof render !== 'function') {
[2670] Fix | Delete
error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
[2671] Fix | Delete
} else {
[2672] Fix | Delete
if (render.length !== 0 && render.length !== 2) {
[2673] Fix | Delete
error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.');
[2674] Fix | Delete
}
[2675] Fix | Delete
}
[2676] Fix | Delete
[2677] Fix | Delete
if (render != null) {
[2678] Fix | Delete
if (render.defaultProps != null || render.propTypes != null) {
[2679] Fix | Delete
error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?');
[2680] Fix | Delete
}
[2681] Fix | Delete
}
[2682] Fix | Delete
}
[2683] Fix | Delete
[2684] Fix | Delete
var elementType = {
[2685] Fix | Delete
$$typeof: REACT_FORWARD_REF_TYPE,
[2686] Fix | Delete
render: render
[2687] Fix | Delete
};
[2688] Fix | Delete
[2689] Fix | Delete
{
[2690] Fix | Delete
var ownName;
[2691] Fix | Delete
Object.defineProperty(elementType, 'displayName', {
[2692] Fix | Delete
enumerable: false,
[2693] Fix | Delete
configurable: true,
[2694] Fix | Delete
get: function () {
[2695] Fix | Delete
return ownName;
[2696] Fix | Delete
},
[2697] Fix | Delete
set: function (name) {
[2698] Fix | Delete
ownName = name; // The inner component shouldn't inherit this display name in most cases,
[2699] Fix | Delete
// because the component may be used elsewhere.
[2700] Fix | Delete
// But it's nice for anonymous functions to inherit the name,
[2701] Fix | Delete
// so that our component-stack generation logic will display their frames.
[2702] Fix | Delete
// An anonymous function generally suggests a pattern like:
[2703] Fix | Delete
// React.forwardRef((props, ref) => {...});
[2704] Fix | Delete
// This kind of inner function is not used elsewhere so the side effect is okay.
[2705] Fix | Delete
[2706] Fix | Delete
if (!render.name && !render.displayName) {
[2707] Fix | Delete
render.displayName = name;
[2708] Fix | Delete
}
[2709] Fix | Delete
}
[2710] Fix | Delete
});
[2711] Fix | Delete
}
[2712] Fix | Delete
[2713] Fix | Delete
return elementType;
[2714] Fix | Delete
}
[2715] Fix | Delete
[2716] Fix | Delete
var REACT_MODULE_REFERENCE;
[2717] Fix | Delete
[2718] Fix | Delete
{
[2719] Fix | Delete
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
[2720] Fix | Delete
}
[2721] Fix | Delete
[2722] Fix | Delete
function isValidElementType(type) {
[2723] Fix | Delete
if (typeof type === 'string' || typeof type === 'function') {
[2724] Fix | Delete
return true;
[2725] Fix | Delete
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
[2726] Fix | Delete
[2727] Fix | Delete
[2728] Fix | Delete
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
[2729] Fix | Delete
return true;
[2730] Fix | Delete
}
[2731] Fix | Delete
[2732] Fix | Delete
if (typeof type === 'object' && type !== null) {
[2733] Fix | Delete
if (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 || // This needs to include all possible module reference object
[2734] Fix | Delete
// types supported by any Flight configuration anywhere since
[2735] Fix | Delete
// we don't know which Flight build this will end up being used
[2736] Fix | Delete
// with.
[2737] Fix | Delete
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
[2738] Fix | Delete
return true;
[2739] Fix | Delete
}
[2740] Fix | Delete
}
[2741] Fix | Delete
[2742] Fix | Delete
return false;
[2743] Fix | Delete
}
[2744] Fix | Delete
[2745] Fix | Delete
function memo(type, compare) {
[2746] Fix | Delete
{
[2747] Fix | Delete
if (!isValidElementType(type)) {
[2748] Fix | Delete
error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
[2749] Fix | Delete
}
[2750] Fix | Delete
}
[2751] Fix | Delete
[2752] Fix | Delete
var elementType = {
[2753] Fix | Delete
$$typeof: REACT_MEMO_TYPE,
[2754] Fix | Delete
type: type,
[2755] Fix | Delete
compare: compare === undefined ? null : compare
[2756] Fix | Delete
};
[2757] Fix | Delete
[2758] Fix | Delete
{
[2759] Fix | Delete
var ownName;
[2760] Fix | Delete
Object.defineProperty(elementType, 'displayName', {
[2761] Fix | Delete
enumerable: false,
[2762] Fix | Delete
configurable: true,
[2763] Fix | Delete
get: function () {
[2764] Fix | Delete
return ownName;
[2765] Fix | Delete
},
[2766] Fix | Delete
set: function (name) {
[2767] Fix | Delete
ownName = name; // The inner component shouldn't inherit this display name in most cases,
[2768] Fix | Delete
// because the component may be used elsewhere.
[2769] Fix | Delete
// But it's nice for anonymous functions to inherit the name,
[2770] Fix | Delete
// so that our component-stack generation logic will display their frames.
[2771] Fix | Delete
// An anonymous function generally suggests a pattern like:
[2772] Fix | Delete
// React.memo((props) => {...});
[2773] Fix | Delete
// This kind of inner function is not used elsewhere so the side effect is okay.
[2774] Fix | Delete
[2775] Fix | Delete
if (!type.name && !type.displayName) {
[2776] Fix | Delete
type.displayName = name;
[2777] Fix | Delete
}
[2778] Fix | Delete
}
[2779] Fix | Delete
});
[2780] Fix | Delete
}
[2781] Fix | Delete
[2782] Fix | Delete
return elementType;
[2783] Fix | Delete
}
[2784] Fix | Delete
[2785] Fix | Delete
function resolveDispatcher() {
[2786] Fix | Delete
var dispatcher = ReactCurrentDispatcher.current;
[2787] Fix | Delete
[2788] Fix | Delete
{
[2789] Fix | Delete
if (dispatcher === null) {
[2790] Fix | Delete
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
[2791] Fix | Delete
}
[2792] Fix | Delete
} // Will result in a null access error if accessed outside render phase. We
[2793] Fix | Delete
// intentionally don't throw our own error because this is in a hot path.
[2794] Fix | Delete
// Also helps ensure this is inlined.
[2795] Fix | Delete
[2796] Fix | Delete
[2797] Fix | Delete
return dispatcher;
[2798] Fix | Delete
}
[2799] Fix | Delete
function useContext(Context) {
[2800] Fix | Delete
var dispatcher = resolveDispatcher();
[2801] Fix | Delete
[2802] Fix | Delete
{
[2803] Fix | Delete
// TODO: add a more generic warning for invalid values.
[2804] Fix | Delete
if (Context._context !== undefined) {
[2805] Fix | Delete
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
[2806] Fix | Delete
// and nobody should be using this in existing code.
[2807] Fix | Delete
[2808] Fix | Delete
if (realContext.Consumer === Context) {
[2809] Fix | Delete
error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
[2810] Fix | Delete
} else if (realContext.Provider === Context) {
[2811] Fix | Delete
error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
[2812] Fix | Delete
}
[2813] Fix | Delete
}
[2814] Fix | Delete
}
[2815] Fix | Delete
[2816] Fix | Delete
return dispatcher.useContext(Context);
[2817] Fix | Delete
}
[2818] Fix | Delete
function useState(initialState) {
[2819] Fix | Delete
var dispatcher = resolveDispatcher();
[2820] Fix | Delete
return dispatcher.useState(initialState);
[2821] Fix | Delete
}
[2822] Fix | Delete
function useReducer(reducer, initialArg, init) {
[2823] Fix | Delete
var dispatcher = resolveDispatcher();
[2824] Fix | Delete
return dispatcher.useReducer(reducer, initialArg, init);
[2825] Fix | Delete
}
[2826] Fix | Delete
function useRef(initialValue) {
[2827] Fix | Delete
var dispatcher = resolveDispatcher();
[2828] Fix | Delete
return dispatcher.useRef(initialValue);
[2829] Fix | Delete
}
[2830] Fix | Delete
function useEffect(create, deps) {
[2831] Fix | Delete
var dispatcher = resolveDispatcher();
[2832] Fix | Delete
return dispatcher.useEffect(create, deps);
[2833] Fix | Delete
}
[2834] Fix | Delete
function useInsertionEffect(create, deps) {
[2835] Fix | Delete
var dispatcher = resolveDispatcher();
[2836] Fix | Delete
return dispatcher.useInsertionEffect(create, deps);
[2837] Fix | Delete
}
[2838] Fix | Delete
function useLayoutEffect(create, deps) {
[2839] Fix | Delete
var dispatcher = resolveDispatcher();
[2840] Fix | Delete
return dispatcher.useLayoutEffect(create, deps);
[2841] Fix | Delete
}
[2842] Fix | Delete
function useCallback(callback, deps) {
[2843] Fix | Delete
var dispatcher = resolveDispatcher();
[2844] Fix | Delete
return dispatcher.useCallback(callback, deps);
[2845] Fix | Delete
}
[2846] Fix | Delete
function useMemo(create, deps) {
[2847] Fix | Delete
var dispatcher = resolveDispatcher();
[2848] Fix | Delete
return dispatcher.useMemo(create, deps);
[2849] Fix | Delete
}
[2850] Fix | Delete
function useImperativeHandle(ref, create, deps) {
[2851] Fix | Delete
var dispatcher = resolveDispatcher();
[2852] Fix | Delete
return dispatcher.useImperativeHandle(ref, create, deps);
[2853] Fix | Delete
}
[2854] Fix | Delete
function useDebugValue(value, formatterFn) {
[2855] Fix | Delete
{
[2856] Fix | Delete
var dispatcher = resolveDispatcher();
[2857] Fix | Delete
return dispatcher.useDebugValue(value, formatterFn);
[2858] Fix | Delete
}
[2859] Fix | Delete
}
[2860] Fix | Delete
function useTransition() {
[2861] Fix | Delete
var dispatcher = resolveDispatcher();
[2862] Fix | Delete
return dispatcher.useTransition();
[2863] Fix | Delete
}
[2864] Fix | Delete
function useDeferredValue(value) {
[2865] Fix | Delete
var dispatcher = resolveDispatcher();
[2866] Fix | Delete
return dispatcher.useDeferredValue(value);
[2867] Fix | Delete
}
[2868] Fix | Delete
function useId() {
[2869] Fix | Delete
var dispatcher = resolveDispatcher();
[2870] Fix | Delete
return dispatcher.useId();
[2871] Fix | Delete
}
[2872] Fix | Delete
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
[2873] Fix | Delete
var dispatcher = resolveDispatcher();
[2874] Fix | Delete
return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
[2875] Fix | Delete
}
[2876] Fix | Delete
[2877] Fix | Delete
// Helpers to patch console.logs to avoid logging during side-effect free
[2878] Fix | Delete
// replaying on render function. This currently only patches the object
[2879] Fix | Delete
// lazily which won't cover if the log function was extracted eagerly.
[2880] Fix | Delete
// We could also eagerly patch the method.
[2881] Fix | Delete
var disabledDepth = 0;
[2882] Fix | Delete
var prevLog;
[2883] Fix | Delete
var prevInfo;
[2884] Fix | Delete
var prevWarn;
[2885] Fix | Delete
var prevError;
[2886] Fix | Delete
var prevGroup;
[2887] Fix | Delete
var prevGroupCollapsed;
[2888] Fix | Delete
var prevGroupEnd;
[2889] Fix | Delete
[2890] Fix | Delete
function disabledLog() {}
[2891] Fix | Delete
[2892] Fix | Delete
disabledLog.__reactDisabledLog = true;
[2893] Fix | Delete
function disableLogs() {
[2894] Fix | Delete
{
[2895] Fix | Delete
if (disabledDepth === 0) {
[2896] Fix | Delete
/* eslint-disable react-internal/no-production-logging */
[2897] Fix | Delete
prevLog = console.log;
[2898] Fix | Delete
prevInfo = console.info;
[2899] Fix | Delete
prevWarn = console.warn;
[2900] Fix | Delete
prevError = console.error;
[2901] Fix | Delete
prevGroup = console.group;
[2902] Fix | Delete
prevGroupCollapsed = console.groupCollapsed;
[2903] Fix | Delete
prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099
[2904] Fix | Delete
[2905] Fix | Delete
var props = {
[2906] Fix | Delete
configurable: true,
[2907] Fix | Delete
enumerable: true,
[2908] Fix | Delete
value: disabledLog,
[2909] Fix | Delete
writable: true
[2910] Fix | Delete
}; // $FlowFixMe Flow thinks console is immutable.
[2911] Fix | Delete
[2912] Fix | Delete
Object.defineProperties(console, {
[2913] Fix | Delete
info: props,
[2914] Fix | Delete
log: props,
[2915] Fix | Delete
warn: props,
[2916] Fix | Delete
error: props,
[2917] Fix | Delete
group: props,
[2918] Fix | Delete
groupCollapsed: props,
[2919] Fix | Delete
groupEnd: props
[2920] Fix | Delete
});
[2921] Fix | Delete
/* eslint-enable react-internal/no-production-logging */
[2922] Fix | Delete
}
[2923] Fix | Delete
[2924] Fix | Delete
disabledDepth++;
[2925] Fix | Delete
}
[2926] Fix | Delete
}
[2927] Fix | Delete
function reenableLogs() {
[2928] Fix | Delete
{
[2929] Fix | Delete
disabledDepth--;
[2930] Fix | Delete
[2931] Fix | Delete
if (disabledDepth === 0) {
[2932] Fix | Delete
/* eslint-disable react-internal/no-production-logging */
[2933] Fix | Delete
var props = {
[2934] Fix | Delete
configurable: true,
[2935] Fix | Delete
enumerable: true,
[2936] Fix | Delete
writable: true
[2937] Fix | Delete
}; // $FlowFixMe Flow thinks console is immutable.
[2938] Fix | Delete
[2939] Fix | Delete
Object.defineProperties(console, {
[2940] Fix | Delete
log: assign({}, props, {
[2941] Fix | Delete
value: prevLog
[2942] Fix | Delete
}),
[2943] Fix | Delete
info: assign({}, props, {
[2944] Fix | Delete
value: prevInfo
[2945] Fix | Delete
}),
[2946] Fix | Delete
warn: assign({}, props, {
[2947] Fix | Delete
value: prevWarn
[2948] Fix | Delete
}),
[2949] Fix | Delete
error: assign({}, props, {
[2950] Fix | Delete
value: prevError
[2951] Fix | Delete
}),
[2952] Fix | Delete
group: assign({}, props, {
[2953] Fix | Delete
value: prevGroup
[2954] Fix | Delete
}),
[2955] Fix | Delete
groupCollapsed: assign({}, props, {
[2956] Fix | Delete
value: prevGroupCollapsed
[2957] Fix | Delete
}),
[2958] Fix | Delete
groupEnd: assign({}, props, {
[2959] Fix | Delete
value: prevGroupEnd
[2960] Fix | Delete
})
[2961] Fix | Delete
});
[2962] Fix | Delete
/* eslint-enable react-internal/no-production-logging */
[2963] Fix | Delete
}
[2964] Fix | Delete
[2965] Fix | Delete
if (disabledDepth < 0) {
[2966] Fix | Delete
error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
[2967] Fix | Delete
}
[2968] Fix | Delete
}
[2969] Fix | Delete
}
[2970] Fix | Delete
[2971] Fix | Delete
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
[2972] Fix | Delete
var prefix;
[2973] Fix | Delete
function describeBuiltInComponentFrame(name, source, ownerFn) {
[2974] Fix | Delete
{
[2975] Fix | Delete
if (prefix === undefined) {
[2976] Fix | Delete
// Extract the VM specific prefix used by each line.
[2977] Fix | Delete
try {
[2978] Fix | Delete
throw Error();
[2979] Fix | Delete
} catch (x) {
[2980] Fix | Delete
var match = x.stack.trim().match(/\n( *(at )?)/);
[2981] Fix | Delete
prefix = match && match[1] || '';
[2982] Fix | Delete
}
[2983] Fix | Delete
} // We use the prefix to ensure our stacks line up with native stack frames.
[2984] Fix | Delete
[2985] Fix | Delete
[2986] Fix | Delete
return '\n' + prefix + name;
[2987] Fix | Delete
}
[2988] Fix | Delete
}
[2989] Fix | Delete
var reentry = false;
[2990] Fix | Delete
var componentFrameCache;
[2991] Fix | Delete
[2992] Fix | Delete
{
[2993] Fix | Delete
var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
[2994] Fix | Delete
componentFrameCache = new PossiblyWeakMap();
[2995] Fix | Delete
}
[2996] Fix | Delete
[2997] Fix | Delete
function describeNativeComponentFrame(fn, construct) {
[2998] Fix | Delete
// If something asked for a stack inside a fake render, it should get ignored.
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function