Projekt

Obecné

Profil

Stáhnout (19 KB) Statistiky
| Větev: | Revize:
1
(function (global, factory) {
2
	typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
	typeof define === 'function' && define.amd ? define(factory) :
4
	(global = global || self, global.hoistNonReactStatics = factory());
5
}(this, (function () { 'use strict';
6

    
7
	function unwrapExports (x) {
8
		return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
9
	}
10

    
11
	function createCommonjsModule(fn, module) {
12
		return module = { exports: {} }, fn(module, module.exports), module.exports;
13
	}
14

    
15
	var reactIs_production_min = createCommonjsModule(function (module, exports) {
16
	Object.defineProperty(exports,"__esModule",{value:!0});
17
	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?Symbol.for("react.suspense_list"):
18
	60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(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 z(a){return y(a)===m}
19
	exports.typeOf=y;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;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;
20
	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===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h};
21
	exports.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p};
22
	});
23

    
24
	unwrapExports(reactIs_production_min);
25
	var reactIs_production_min_1 = reactIs_production_min.typeOf;
26
	var reactIs_production_min_2 = reactIs_production_min.AsyncMode;
27
	var reactIs_production_min_3 = reactIs_production_min.ConcurrentMode;
28
	var reactIs_production_min_4 = reactIs_production_min.ContextConsumer;
29
	var reactIs_production_min_5 = reactIs_production_min.ContextProvider;
30
	var reactIs_production_min_6 = reactIs_production_min.Element;
31
	var reactIs_production_min_7 = reactIs_production_min.ForwardRef;
32
	var reactIs_production_min_8 = reactIs_production_min.Fragment;
33
	var reactIs_production_min_9 = reactIs_production_min.Lazy;
34
	var reactIs_production_min_10 = reactIs_production_min.Memo;
35
	var reactIs_production_min_11 = reactIs_production_min.Portal;
36
	var reactIs_production_min_12 = reactIs_production_min.Profiler;
37
	var reactIs_production_min_13 = reactIs_production_min.StrictMode;
38
	var reactIs_production_min_14 = reactIs_production_min.Suspense;
39
	var reactIs_production_min_15 = reactIs_production_min.isValidElementType;
40
	var reactIs_production_min_16 = reactIs_production_min.isAsyncMode;
41
	var reactIs_production_min_17 = reactIs_production_min.isConcurrentMode;
42
	var reactIs_production_min_18 = reactIs_production_min.isContextConsumer;
43
	var reactIs_production_min_19 = reactIs_production_min.isContextProvider;
44
	var reactIs_production_min_20 = reactIs_production_min.isElement;
45
	var reactIs_production_min_21 = reactIs_production_min.isForwardRef;
46
	var reactIs_production_min_22 = reactIs_production_min.isFragment;
47
	var reactIs_production_min_23 = reactIs_production_min.isLazy;
48
	var reactIs_production_min_24 = reactIs_production_min.isMemo;
49
	var reactIs_production_min_25 = reactIs_production_min.isPortal;
50
	var reactIs_production_min_26 = reactIs_production_min.isProfiler;
51
	var reactIs_production_min_27 = reactIs_production_min.isStrictMode;
52
	var reactIs_production_min_28 = reactIs_production_min.isSuspense;
53

    
54
	var reactIs_development = createCommonjsModule(function (module, exports) {
55

    
56

    
57

    
58
	if (process.env.NODE_ENV !== "production") {
59
	  (function() {
60

    
61
	Object.defineProperty(exports, '__esModule', { value: true });
62

    
63
	// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
64
	// nor polyfill, then a plain number is used for performance.
65
	var hasSymbol = typeof Symbol === 'function' && Symbol.for;
66
	var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
67
	var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
68
	var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
69
	var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
70
	var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
71
	var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
72
	var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
73
	// (unstable) APIs that have been removed. Can we remove the symbols?
74

    
75
	var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
76
	var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
77
	var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
78
	var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
79
	var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
80
	var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
81
	var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
82
	var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
83
	var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
84
	var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
85

    
86
	function isValidElementType(type) {
87
	  return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
88
	  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);
89
	}
90

    
91
	/**
92
	 * Forked from fbjs/warning:
93
	 * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
94
	 *
95
	 * Only change is we use console.warn instead of console.error,
96
	 * and do nothing when 'console' is not supported.
97
	 * This really simplifies the code.
98
	 * ---
99
	 * Similar to invariant but only logs a warning if the condition is not met.
100
	 * This can be used to log issues in development environments in critical
101
	 * paths. Removing the logging code for production environments will keep the
102
	 * same logic and follow the same code paths.
103
	 */
104
	var lowPriorityWarningWithoutStack = function () {};
105

    
106
	{
107
	  var printWarning = function (format) {
108
	    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
109
	      args[_key - 1] = arguments[_key];
110
	    }
111

    
112
	    var argIndex = 0;
113
	    var message = 'Warning: ' + format.replace(/%s/g, function () {
114
	      return args[argIndex++];
115
	    });
116

    
117
	    if (typeof console !== 'undefined') {
118
	      console.warn(message);
119
	    }
120

    
121
	    try {
122
	      // --- Welcome to debugging React ---
123
	      // This error was thrown as a convenience so that you can use this stack
124
	      // to find the callsite that caused this warning to fire.
125
	      throw new Error(message);
126
	    } catch (x) {}
127
	  };
128

    
129
	  lowPriorityWarningWithoutStack = function (condition, format) {
130
	    if (format === undefined) {
131
	      throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
132
	    }
133

    
134
	    if (!condition) {
135
	      for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
136
	        args[_key2 - 2] = arguments[_key2];
137
	      }
138

    
139
	      printWarning.apply(void 0, [format].concat(args));
140
	    }
141
	  };
142
	}
143

    
144
	var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;
145

    
146
	function typeOf(object) {
147
	  if (typeof object === 'object' && object !== null) {
148
	    var $$typeof = object.$$typeof;
149

    
150
	    switch ($$typeof) {
151
	      case REACT_ELEMENT_TYPE:
152
	        var type = object.type;
153

    
154
	        switch (type) {
155
	          case REACT_ASYNC_MODE_TYPE:
156
	          case REACT_CONCURRENT_MODE_TYPE:
157
	          case REACT_FRAGMENT_TYPE:
158
	          case REACT_PROFILER_TYPE:
159
	          case REACT_STRICT_MODE_TYPE:
160
	          case REACT_SUSPENSE_TYPE:
161
	            return type;
162

    
163
	          default:
164
	            var $$typeofType = type && type.$$typeof;
165

    
166
	            switch ($$typeofType) {
167
	              case REACT_CONTEXT_TYPE:
168
	              case REACT_FORWARD_REF_TYPE:
169
	              case REACT_LAZY_TYPE:
170
	              case REACT_MEMO_TYPE:
171
	              case REACT_PROVIDER_TYPE:
172
	                return $$typeofType;
173

    
174
	              default:
175
	                return $$typeof;
176
	            }
177

    
178
	        }
179

    
180
	      case REACT_PORTAL_TYPE:
181
	        return $$typeof;
182
	    }
183
	  }
184

    
185
	  return undefined;
186
	} // AsyncMode is deprecated along with isAsyncMode
187

    
188
	var AsyncMode = REACT_ASYNC_MODE_TYPE;
189
	var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
190
	var ContextConsumer = REACT_CONTEXT_TYPE;
191
	var ContextProvider = REACT_PROVIDER_TYPE;
192
	var Element = REACT_ELEMENT_TYPE;
193
	var ForwardRef = REACT_FORWARD_REF_TYPE;
194
	var Fragment = REACT_FRAGMENT_TYPE;
195
	var Lazy = REACT_LAZY_TYPE;
196
	var Memo = REACT_MEMO_TYPE;
197
	var Portal = REACT_PORTAL_TYPE;
198
	var Profiler = REACT_PROFILER_TYPE;
199
	var StrictMode = REACT_STRICT_MODE_TYPE;
200
	var Suspense = REACT_SUSPENSE_TYPE;
201
	var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
202

    
203
	function isAsyncMode(object) {
204
	  {
205
	    if (!hasWarnedAboutDeprecatedIsAsyncMode) {
206
	      hasWarnedAboutDeprecatedIsAsyncMode = true;
207
	      lowPriorityWarningWithoutStack$1(false, '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.');
208
	    }
209
	  }
210

    
211
	  return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
212
	}
213
	function isConcurrentMode(object) {
214
	  return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
215
	}
216
	function isContextConsumer(object) {
217
	  return typeOf(object) === REACT_CONTEXT_TYPE;
218
	}
219
	function isContextProvider(object) {
220
	  return typeOf(object) === REACT_PROVIDER_TYPE;
221
	}
222
	function isElement(object) {
223
	  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
224
	}
225
	function isForwardRef(object) {
226
	  return typeOf(object) === REACT_FORWARD_REF_TYPE;
227
	}
228
	function isFragment(object) {
229
	  return typeOf(object) === REACT_FRAGMENT_TYPE;
230
	}
231
	function isLazy(object) {
232
	  return typeOf(object) === REACT_LAZY_TYPE;
233
	}
234
	function isMemo(object) {
235
	  return typeOf(object) === REACT_MEMO_TYPE;
236
	}
237
	function isPortal(object) {
238
	  return typeOf(object) === REACT_PORTAL_TYPE;
239
	}
240
	function isProfiler(object) {
241
	  return typeOf(object) === REACT_PROFILER_TYPE;
242
	}
243
	function isStrictMode(object) {
244
	  return typeOf(object) === REACT_STRICT_MODE_TYPE;
245
	}
246
	function isSuspense(object) {
247
	  return typeOf(object) === REACT_SUSPENSE_TYPE;
248
	}
249

    
250
	exports.typeOf = typeOf;
251
	exports.AsyncMode = AsyncMode;
252
	exports.ConcurrentMode = ConcurrentMode;
253
	exports.ContextConsumer = ContextConsumer;
254
	exports.ContextProvider = ContextProvider;
255
	exports.Element = Element;
256
	exports.ForwardRef = ForwardRef;
257
	exports.Fragment = Fragment;
258
	exports.Lazy = Lazy;
259
	exports.Memo = Memo;
260
	exports.Portal = Portal;
261
	exports.Profiler = Profiler;
262
	exports.StrictMode = StrictMode;
263
	exports.Suspense = Suspense;
264
	exports.isValidElementType = isValidElementType;
265
	exports.isAsyncMode = isAsyncMode;
266
	exports.isConcurrentMode = isConcurrentMode;
267
	exports.isContextConsumer = isContextConsumer;
268
	exports.isContextProvider = isContextProvider;
269
	exports.isElement = isElement;
270
	exports.isForwardRef = isForwardRef;
271
	exports.isFragment = isFragment;
272
	exports.isLazy = isLazy;
273
	exports.isMemo = isMemo;
274
	exports.isPortal = isPortal;
275
	exports.isProfiler = isProfiler;
276
	exports.isStrictMode = isStrictMode;
277
	exports.isSuspense = isSuspense;
278
	  })();
279
	}
280
	});
281

    
282
	unwrapExports(reactIs_development);
283
	var reactIs_development_1 = reactIs_development.typeOf;
284
	var reactIs_development_2 = reactIs_development.AsyncMode;
285
	var reactIs_development_3 = reactIs_development.ConcurrentMode;
286
	var reactIs_development_4 = reactIs_development.ContextConsumer;
287
	var reactIs_development_5 = reactIs_development.ContextProvider;
288
	var reactIs_development_6 = reactIs_development.Element;
289
	var reactIs_development_7 = reactIs_development.ForwardRef;
290
	var reactIs_development_8 = reactIs_development.Fragment;
291
	var reactIs_development_9 = reactIs_development.Lazy;
292
	var reactIs_development_10 = reactIs_development.Memo;
293
	var reactIs_development_11 = reactIs_development.Portal;
294
	var reactIs_development_12 = reactIs_development.Profiler;
295
	var reactIs_development_13 = reactIs_development.StrictMode;
296
	var reactIs_development_14 = reactIs_development.Suspense;
297
	var reactIs_development_15 = reactIs_development.isValidElementType;
298
	var reactIs_development_16 = reactIs_development.isAsyncMode;
299
	var reactIs_development_17 = reactIs_development.isConcurrentMode;
300
	var reactIs_development_18 = reactIs_development.isContextConsumer;
301
	var reactIs_development_19 = reactIs_development.isContextProvider;
302
	var reactIs_development_20 = reactIs_development.isElement;
303
	var reactIs_development_21 = reactIs_development.isForwardRef;
304
	var reactIs_development_22 = reactIs_development.isFragment;
305
	var reactIs_development_23 = reactIs_development.isLazy;
306
	var reactIs_development_24 = reactIs_development.isMemo;
307
	var reactIs_development_25 = reactIs_development.isPortal;
308
	var reactIs_development_26 = reactIs_development.isProfiler;
309
	var reactIs_development_27 = reactIs_development.isStrictMode;
310
	var reactIs_development_28 = reactIs_development.isSuspense;
311

    
312
	var reactIs = createCommonjsModule(function (module) {
313

    
314
	if (process.env.NODE_ENV === 'production') {
315
	  module.exports = reactIs_production_min;
316
	} else {
317
	  module.exports = reactIs_development;
318
	}
319
	});
320
	var reactIs_1 = reactIs.typeOf;
321
	var reactIs_2 = reactIs.AsyncMode;
322
	var reactIs_3 = reactIs.ConcurrentMode;
323
	var reactIs_4 = reactIs.ContextConsumer;
324
	var reactIs_5 = reactIs.ContextProvider;
325
	var reactIs_6 = reactIs.Element;
326
	var reactIs_7 = reactIs.ForwardRef;
327
	var reactIs_8 = reactIs.Fragment;
328
	var reactIs_9 = reactIs.Lazy;
329
	var reactIs_10 = reactIs.Memo;
330
	var reactIs_11 = reactIs.Portal;
331
	var reactIs_12 = reactIs.Profiler;
332
	var reactIs_13 = reactIs.StrictMode;
333
	var reactIs_14 = reactIs.Suspense;
334
	var reactIs_15 = reactIs.isValidElementType;
335
	var reactIs_16 = reactIs.isAsyncMode;
336
	var reactIs_17 = reactIs.isConcurrentMode;
337
	var reactIs_18 = reactIs.isContextConsumer;
338
	var reactIs_19 = reactIs.isContextProvider;
339
	var reactIs_20 = reactIs.isElement;
340
	var reactIs_21 = reactIs.isForwardRef;
341
	var reactIs_22 = reactIs.isFragment;
342
	var reactIs_23 = reactIs.isLazy;
343
	var reactIs_24 = reactIs.isMemo;
344
	var reactIs_25 = reactIs.isPortal;
345
	var reactIs_26 = reactIs.isProfiler;
346
	var reactIs_27 = reactIs.isStrictMode;
347
	var reactIs_28 = reactIs.isSuspense;
348

    
349
	/**
350
	 * Copyright 2015, Yahoo! Inc.
351
	 * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
352
	 */
353
	var REACT_STATICS = {
354
	  childContextTypes: true,
355
	  contextType: true,
356
	  contextTypes: true,
357
	  defaultProps: true,
358
	  displayName: true,
359
	  getDefaultProps: true,
360
	  getDerivedStateFromError: true,
361
	  getDerivedStateFromProps: true,
362
	  mixins: true,
363
	  propTypes: true,
364
	  type: true
365
	};
366
	var KNOWN_STATICS = {
367
	  name: true,
368
	  length: true,
369
	  prototype: true,
370
	  caller: true,
371
	  callee: true,
372
	  arguments: true,
373
	  arity: true
374
	};
375
	var FORWARD_REF_STATICS = {
376
	  '$$typeof': true,
377
	  render: true,
378
	  defaultProps: true,
379
	  displayName: true,
380
	  propTypes: true
381
	};
382
	var MEMO_STATICS = {
383
	  '$$typeof': true,
384
	  compare: true,
385
	  defaultProps: true,
386
	  displayName: true,
387
	  propTypes: true,
388
	  type: true
389
	};
390
	var TYPE_STATICS = {};
391
	TYPE_STATICS[reactIs_7] = FORWARD_REF_STATICS;
392
	TYPE_STATICS[reactIs_10] = MEMO_STATICS;
393

    
394
	function getStatics(component) {
395
	  // React v16.11 and below
396
	  if (reactIs_24(component)) {
397
	    return MEMO_STATICS;
398
	  } // React v16.12 and above
399

    
400

    
401
	  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
402
	}
403

    
404
	var defineProperty = Object.defineProperty;
405
	var getOwnPropertyNames = Object.getOwnPropertyNames;
406
	var getOwnPropertySymbols = Object.getOwnPropertySymbols;
407
	var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
408
	var getPrototypeOf = Object.getPrototypeOf;
409
	var objectPrototype = Object.prototype;
410
	function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
411
	  if (typeof sourceComponent !== 'string') {
412
	    // don't hoist over string (html) components
413
	    if (objectPrototype) {
414
	      var inheritedComponent = getPrototypeOf(sourceComponent);
415

    
416
	      if (inheritedComponent && inheritedComponent !== objectPrototype) {
417
	        hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
418
	      }
419
	    }
420

    
421
	    var keys = getOwnPropertyNames(sourceComponent);
422

    
423
	    if (getOwnPropertySymbols) {
424
	      keys = keys.concat(getOwnPropertySymbols(sourceComponent));
425
	    }
426

    
427
	    var targetStatics = getStatics(targetComponent);
428
	    var sourceStatics = getStatics(sourceComponent);
429

    
430
	    for (var i = 0; i < keys.length; ++i) {
431
	      var key = keys[i];
432

    
433
	      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
434
	        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
435

    
436
	        try {
437
	          // Avoid failures from read-only properties
438
	          defineProperty(targetComponent, key, descriptor);
439
	        } catch (e) {}
440
	      }
441
	    }
442
	  }
443

    
444
	  return targetComponent;
445
	}
446

    
447
	return hoistNonReactStatics;
448

    
449
})));
(2-2/3)