react 16.0.0-beta.5 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -26
- package/cjs/react.development.js +38 -46
- package/cjs/react.production.min.js +23 -1
- package/package.json +5 -6
- package/umd/react.development.js +81 -102
- package/umd/react.production.min.js +22 -4
- package/PATENTS +0 -33
package/LICENSE
CHANGED
|
@@ -1,31 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
For React software
|
|
1
|
+
MIT License
|
|
4
2
|
|
|
5
3
|
Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
-
All rights reserved.
|
|
7
|
-
|
|
8
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
9
|
-
are permitted provided that the following conditions are met:
|
|
10
|
-
|
|
11
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
12
|
-
list of conditions and the following disclaimer.
|
|
13
4
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
prior written permission.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
21
14
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
30
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
31
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/cjs/react.development.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/** @license React v16.0.0
|
|
2
|
+
* react.development.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
1
9
|
'use strict';
|
|
2
10
|
|
|
3
11
|
|
|
@@ -15,11 +23,9 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
15
23
|
|
|
16
24
|
/**
|
|
17
25
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
18
|
-
* All rights reserved.
|
|
19
26
|
*
|
|
20
|
-
* This source code is licensed under the
|
|
21
|
-
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
29
|
*
|
|
24
30
|
* @providesModule reactProdInvariant
|
|
25
31
|
*
|
|
@@ -63,7 +69,7 @@ var ReactNoopUpdateQueue = {
|
|
|
63
69
|
*
|
|
64
70
|
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
65
71
|
* @param {?function} callback Called after component is updated.
|
|
66
|
-
* @param {?string}
|
|
72
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
67
73
|
* @internal
|
|
68
74
|
*/
|
|
69
75
|
enqueueForceUpdate: function (publicInstance, callback, callerName) {
|
|
@@ -80,7 +86,7 @@ var ReactNoopUpdateQueue = {
|
|
|
80
86
|
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
81
87
|
* @param {object} completeState Next state.
|
|
82
88
|
* @param {?function} callback Called after component is updated.
|
|
83
|
-
* @param {?string}
|
|
89
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
84
90
|
* @internal
|
|
85
91
|
*/
|
|
86
92
|
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
|
|
@@ -107,12 +113,10 @@ var ReactNoopUpdateQueue = {
|
|
|
107
113
|
var ReactNoopUpdateQueue_1 = ReactNoopUpdateQueue;
|
|
108
114
|
|
|
109
115
|
/**
|
|
110
|
-
* Copyright 2014-
|
|
111
|
-
* All rights reserved.
|
|
116
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
112
117
|
*
|
|
113
|
-
* This source code is licensed under the
|
|
114
|
-
* LICENSE file in the root directory of this source tree.
|
|
115
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
118
|
+
* This source code is licensed under the MIT license found in the
|
|
119
|
+
* LICENSE file in the root directory of this source tree.
|
|
116
120
|
*
|
|
117
121
|
* @providesModule lowPriorityWarning
|
|
118
122
|
*/
|
|
@@ -304,12 +308,10 @@ var ReactBaseClasses = {
|
|
|
304
308
|
};
|
|
305
309
|
|
|
306
310
|
/**
|
|
307
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
308
|
-
* All rights reserved.
|
|
311
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
309
312
|
*
|
|
310
|
-
* This source code is licensed under the
|
|
311
|
-
* LICENSE file in the root directory of this source tree.
|
|
312
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
313
|
+
* This source code is licensed under the MIT license found in the
|
|
314
|
+
* LICENSE file in the root directory of this source tree.
|
|
313
315
|
*
|
|
314
316
|
* @providesModule ReactCurrentOwner
|
|
315
317
|
*
|
|
@@ -656,12 +658,10 @@ ReactElement.isValidElement = function (object) {
|
|
|
656
658
|
var ReactElement_1 = ReactElement;
|
|
657
659
|
|
|
658
660
|
/**
|
|
659
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
660
|
-
* All rights reserved.
|
|
661
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
661
662
|
*
|
|
662
|
-
* This source code is licensed under the
|
|
663
|
-
* LICENSE file in the root directory of this source tree.
|
|
664
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
663
|
+
* This source code is licensed under the MIT license found in the
|
|
664
|
+
* LICENSE file in the root directory of this source tree.
|
|
665
665
|
*
|
|
666
666
|
* @providesModule ReactDebugCurrentFrame
|
|
667
667
|
*
|
|
@@ -992,17 +992,15 @@ var ReactChildren = {
|
|
|
992
992
|
var ReactChildren_1 = ReactChildren;
|
|
993
993
|
|
|
994
994
|
/**
|
|
995
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
996
|
-
* All rights reserved.
|
|
995
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
997
996
|
*
|
|
998
|
-
* This source code is licensed under the
|
|
999
|
-
* LICENSE file in the root directory of this source tree.
|
|
1000
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
997
|
+
* This source code is licensed under the MIT license found in the
|
|
998
|
+
* LICENSE file in the root directory of this source tree.
|
|
1001
999
|
*
|
|
1002
1000
|
* @providesModule ReactVersion
|
|
1003
1001
|
*/
|
|
1004
1002
|
|
|
1005
|
-
var ReactVersion = '16.0.0
|
|
1003
|
+
var ReactVersion = '16.0.0';
|
|
1006
1004
|
|
|
1007
1005
|
/**
|
|
1008
1006
|
* Returns the first child in a collection of children and verifies that there
|
|
@@ -1026,12 +1024,10 @@ function onlyChild(children) {
|
|
|
1026
1024
|
var onlyChild_1 = onlyChild;
|
|
1027
1025
|
|
|
1028
1026
|
/**
|
|
1029
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
1030
|
-
* All rights reserved.
|
|
1027
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
1031
1028
|
*
|
|
1032
|
-
* This source code is licensed under the
|
|
1033
|
-
* LICENSE file in the root directory of this source tree.
|
|
1034
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1029
|
+
* This source code is licensed under the MIT license found in the
|
|
1030
|
+
* LICENSE file in the root directory of this source tree.
|
|
1035
1031
|
*
|
|
1036
1032
|
*
|
|
1037
1033
|
* @providesModule describeComponentFrame
|
|
@@ -1042,12 +1038,10 @@ var describeComponentFrame$1 = function (name, source, ownerName) {
|
|
|
1042
1038
|
};
|
|
1043
1039
|
|
|
1044
1040
|
/**
|
|
1045
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1046
|
-
* All rights reserved.
|
|
1041
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1047
1042
|
*
|
|
1048
|
-
* This source code is licensed under the
|
|
1049
|
-
* LICENSE file in the root directory of this source tree.
|
|
1050
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1043
|
+
* This source code is licensed under the MIT license found in the
|
|
1044
|
+
* LICENSE file in the root directory of this source tree.
|
|
1051
1045
|
*
|
|
1052
1046
|
* @providesModule getComponentName
|
|
1053
1047
|
*
|
|
@@ -1185,7 +1179,9 @@ function validateExplicitKey(element, parentType) {
|
|
|
1185
1179
|
}
|
|
1186
1180
|
|
|
1187
1181
|
currentlyValidatingElement = element;
|
|
1188
|
-
|
|
1182
|
+
{
|
|
1183
|
+
warning$3(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.%s', currentComponentErrorInfo, childOwner, getStackAddendum$1());
|
|
1184
|
+
}
|
|
1189
1185
|
currentlyValidatingElement = null;
|
|
1190
1186
|
}
|
|
1191
1187
|
|
|
@@ -1244,13 +1240,7 @@ function validatePropTypes(element) {
|
|
|
1244
1240
|
return;
|
|
1245
1241
|
}
|
|
1246
1242
|
var name = componentClass.displayName || componentClass.name;
|
|
1247
|
-
|
|
1248
|
-
// ReactNative `View.propTypes` have been deprecated in favor of `ViewPropTypes`.
|
|
1249
|
-
// In their place a temporary getter has been added with a deprecated warning message.
|
|
1250
|
-
// Avoid triggering that warning during validation using the temporary workaround,
|
|
1251
|
-
// __propTypesSecretDontUseThesePlease.
|
|
1252
|
-
// TODO (bvaughn) Revert this particular change any time after April 1 ReactNative tag.
|
|
1253
|
-
var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease === 'object' ? componentClass.__propTypesSecretDontUseThesePlease : componentClass.propTypes;
|
|
1243
|
+
var propTypes = componentClass.propTypes;
|
|
1254
1244
|
|
|
1255
1245
|
if (propTypes) {
|
|
1256
1246
|
currentlyValidatingElement = element;
|
|
@@ -1686,7 +1676,9 @@ var React = {
|
|
|
1686
1676
|
version: ReactVersion,
|
|
1687
1677
|
|
|
1688
1678
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
|
|
1689
|
-
ReactCurrentOwner: ReactCurrentOwner_1
|
|
1679
|
+
ReactCurrentOwner: ReactCurrentOwner_1,
|
|
1680
|
+
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
1681
|
+
assign: objectAssign$1
|
|
1690
1682
|
}
|
|
1691
1683
|
};
|
|
1692
1684
|
|
|
@@ -1 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
|
+
React v16.0.0
|
|
3
|
+
react.production.min.js
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
+
|
|
7
|
+
This source code is licensed under the MIT license found in the
|
|
8
|
+
LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
'use strict';var f=require("object-assign"),p=require("fbjs/lib/emptyObject");require("fbjs/lib/invariant");var r=require("fbjs/lib/emptyFunction");
|
|
11
|
+
function t(a){for(var b=arguments.length-1,d="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,e=0;e<b;e++)d+="\x26args[]\x3d"+encodeURIComponent(arguments[e+1]);b=Error(d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
|
|
12
|
+
var u={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function v(a,b,d){this.props=a;this.context=b;this.refs=p;this.updater=d||u}v.prototype.isReactComponent={};v.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?t("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
|
13
|
+
function w(a,b,d){this.props=a;this.context=b;this.refs=p;this.updater=d||u}function x(){}x.prototype=v.prototype;var y=w.prototype=new x;y.constructor=w;f(y,v.prototype);y.isPureReactComponent=!0;function z(a,b,d){this.props=a;this.context=b;this.refs=p;this.updater=d||u}var A=z.prototype=new x;A.constructor=z;f(A,v.prototype);A.unstable_isAsyncReactComponent=!0;A.render=function(){return this.props.children};
|
|
14
|
+
var B={Component:v,PureComponent:w,AsyncComponent:z},C={current:null},D=Object.prototype.hasOwnProperty,E="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,F={key:!0,ref:!0,__self:!0,__source:!0};function G(a,b,d,e,c,g,k){return{$$typeof:E,type:a,key:b,ref:d,props:k,_owner:g}}
|
|
15
|
+
G.createElement=function(a,b,d){var e,c={},g=null,k=null,m=null,q=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),m=void 0===b.__self?null:b.__self,q=void 0===b.__source?null:b.__source,b)D.call(b,e)&&!F.hasOwnProperty(e)&&(c[e]=b[e]);var l=arguments.length-2;if(1===l)c.children=d;else if(1<l){for(var h=Array(l),n=0;n<l;n++)h[n]=arguments[n+2];c.children=h}if(a&&a.defaultProps)for(e in l=a.defaultProps,l)void 0===c[e]&&(c[e]=l[e]);return G(a,g,k,m,q,C.current,c)};
|
|
16
|
+
G.createFactory=function(a){var b=G.createElement.bind(null,a);b.type=a;return b};G.cloneAndReplaceKey=function(a,b){return G(a.type,b,a.ref,a._self,a._source,a._owner,a.props)};
|
|
17
|
+
G.cloneElement=function(a,b,d){var e=f({},a.props),c=a.key,g=a.ref,k=a._self,m=a._source,q=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,q=C.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(h in b)D.call(b,h)&&!F.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==l?l[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=d;else if(1<h){l=Array(h);for(var n=0;n<h;n++)l[n]=arguments[n+2];e.children=l}return G(a.type,c,g,k,m,q,e)};
|
|
18
|
+
G.isValidElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===E};var H="function"===typeof Symbol&&Symbol.iterator,I="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103;function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var J=/\/+/g,K=[];
|
|
19
|
+
function L(a,b,d,e){if(K.length){var c=K.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=e;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:e,count:0}}function M(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>K.length&&K.push(a)}
|
|
20
|
+
function N(a,b,d,e){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;if(null===a||"string"===c||"number"===c||"object"===c&&a.$$typeof===I)return d(e,a,""===b?"."+O(a,0):b),1;var g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var m=b+O(c,k);g+=N(c,m,d,e)}else if(m=H&&a[H]||a["@@iterator"],"function"===typeof m)for(a=m.call(a),k=0;!(c=a.next()).done;)c=c.value,m=b+O(c,k++),g+=N(c,m,d,e);else"object"===c&&(d=""+a,t("31","[object Object]"===d?"object with keys {"+
|
|
21
|
+
Object.keys(a).join(", ")+"}":d,""));return g}function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function P(a,b){a.func.call(a.context,b,a.count++)}function Q(a,b,d){var e=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?R(a,e,d,r.thatReturnsArgument):null!=a&&(G.isValidElement(a)&&(a=G.cloneAndReplaceKey(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(J,"$\x26/")+"/")+d)),e.push(a))}
|
|
22
|
+
function R(a,b,d,e,c){var g="";null!=d&&(g=(""+d).replace(J,"$\x26/")+"/");b=L(b,g,e,c);null==a||N(a,"",Q,b);M(b)}var S={forEach:function(a,b,d){if(null==a)return a;b=L(null,null,b,d);null==a||N(a,"",P,b);M(b)},map:function(a,b,d){if(null==a)return a;var e=[];R(a,e,null,b,d);return e},count:function(a){return null==a?0:N(a,"",r.thatReturnsNull,null)},toArray:function(a){var b=[];R(a,b,null,r.thatReturnsArgument);return b}};
|
|
23
|
+
module.exports={Children:{map:S.map,forEach:S.forEach,count:S.count,toArray:S.toArray,only:function(a){G.isValidElement(a)?void 0:t("143");return a}},Component:B.Component,PureComponent:B.PureComponent,unstable_AsyncComponent:B.AsyncComponent,createElement:G.createElement,cloneElement:G.cloneElement,isValidElement:G.isValidElement,createFactory:G.createFactory,version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:C,assign:f}};
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react",
|
|
3
3
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
4
|
-
"version": "16.0.0-beta.5",
|
|
5
4
|
"keywords": [
|
|
6
5
|
"react"
|
|
7
6
|
],
|
|
7
|
+
"version": "16.0.0",
|
|
8
8
|
"homepage": "https://facebook.github.io/react/",
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "MIT",
|
|
11
11
|
"files": [
|
|
12
12
|
"LICENSE",
|
|
13
|
-
"PATENTS",
|
|
14
13
|
"README.md",
|
|
15
14
|
"index.js",
|
|
16
15
|
"cjs/",
|
|
@@ -22,10 +21,10 @@
|
|
|
22
21
|
"node": ">=0.10.0"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
|
-
"fbjs": "^0.8.
|
|
24
|
+
"fbjs": "^0.8.16",
|
|
26
25
|
"loose-envify": "^1.1.0",
|
|
27
|
-
"object-assign": "^4.1.
|
|
28
|
-
"prop-types": "^15.
|
|
26
|
+
"object-assign": "^4.1.1",
|
|
27
|
+
"prop-types": "^15.6.0"
|
|
29
28
|
},
|
|
30
29
|
"browserify": {
|
|
31
30
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* react.development.js
|
|
1
|
+
/** @license React v16.0.0
|
|
2
|
+
* react.development.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
3
8
|
*/
|
|
4
9
|
|
|
5
10
|
(function (global, factory) {
|
|
@@ -100,11 +105,9 @@ var index = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
100
105
|
|
|
101
106
|
/**
|
|
102
107
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
103
|
-
* All rights reserved.
|
|
104
108
|
*
|
|
105
|
-
* This source code is licensed under the
|
|
106
|
-
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
109
|
+
* This source code is licensed under the MIT license found in the
|
|
110
|
+
* LICENSE file in the root directory of this source tree.
|
|
108
111
|
*
|
|
109
112
|
* @providesModule reactProdInvariant
|
|
110
113
|
*
|
|
@@ -112,11 +115,9 @@ var index = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
112
115
|
|
|
113
116
|
/**
|
|
114
117
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
115
|
-
* All rights reserved.
|
|
116
118
|
*
|
|
117
|
-
* This source code is licensed under the
|
|
118
|
-
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
119
|
+
* This source code is licensed under the MIT license found in the
|
|
120
|
+
* LICENSE file in the root directory of this source tree.
|
|
120
121
|
*
|
|
121
122
|
*
|
|
122
123
|
*/
|
|
@@ -157,45 +158,43 @@ var emptyFunction_1 = emptyFunction;
|
|
|
157
158
|
var warning$1 = emptyFunction_1;
|
|
158
159
|
|
|
159
160
|
{
|
|
160
|
-
|
|
161
|
-
var
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
var argIndex = 0;
|
|
167
|
-
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
168
|
-
return args[argIndex++];
|
|
169
|
-
});
|
|
170
|
-
if (typeof console !== 'undefined') {
|
|
171
|
-
console.error(message);
|
|
172
|
-
}
|
|
173
|
-
try {
|
|
174
|
-
// --- Welcome to debugging React ---
|
|
175
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
176
|
-
// to find the callsite that caused this warning to fire.
|
|
177
|
-
throw new Error(message);
|
|
178
|
-
} catch (x) {}
|
|
179
|
-
};
|
|
161
|
+
var printWarning = function printWarning(format) {
|
|
162
|
+
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
163
|
+
args[_key - 1] = arguments[_key];
|
|
164
|
+
}
|
|
180
165
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
166
|
+
var argIndex = 0;
|
|
167
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
168
|
+
return args[argIndex++];
|
|
169
|
+
});
|
|
170
|
+
if (typeof console !== 'undefined') {
|
|
171
|
+
console.error(message);
|
|
172
|
+
}
|
|
173
|
+
try {
|
|
174
|
+
// --- Welcome to debugging React ---
|
|
175
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
176
|
+
// to find the callsite that caused this warning to fire.
|
|
177
|
+
throw new Error(message);
|
|
178
|
+
} catch (x) {}
|
|
179
|
+
};
|
|
185
180
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
warning$1 = function warning(condition, format) {
|
|
182
|
+
if (format === undefined) {
|
|
183
|
+
throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
|
|
184
|
+
}
|
|
189
185
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
186
|
+
if (format.indexOf('Failed Composite propType: ') === 0) {
|
|
187
|
+
return; // Ignore CompositeComponent proptype check.
|
|
188
|
+
}
|
|
194
189
|
|
|
195
|
-
|
|
190
|
+
if (!condition) {
|
|
191
|
+
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
192
|
+
args[_key2 - 2] = arguments[_key2];
|
|
196
193
|
}
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
|
|
195
|
+
printWarning.apply(undefined, [format].concat(args));
|
|
196
|
+
}
|
|
197
|
+
};
|
|
199
198
|
}
|
|
200
199
|
|
|
201
200
|
var warning_1 = warning$1;
|
|
@@ -238,7 +237,7 @@ var ReactNoopUpdateQueue = {
|
|
|
238
237
|
*
|
|
239
238
|
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
240
239
|
* @param {?function} callback Called after component is updated.
|
|
241
|
-
* @param {?string}
|
|
240
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
242
241
|
* @internal
|
|
243
242
|
*/
|
|
244
243
|
enqueueForceUpdate: function (publicInstance, callback, callerName) {
|
|
@@ -255,7 +254,7 @@ var ReactNoopUpdateQueue = {
|
|
|
255
254
|
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
256
255
|
* @param {object} completeState Next state.
|
|
257
256
|
* @param {?function} callback Called after component is updated.
|
|
258
|
-
* @param {?string}
|
|
257
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
259
258
|
* @internal
|
|
260
259
|
*/
|
|
261
260
|
enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
|
|
@@ -283,11 +282,9 @@ var ReactNoopUpdateQueue_1 = ReactNoopUpdateQueue;
|
|
|
283
282
|
|
|
284
283
|
/**
|
|
285
284
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
286
|
-
* All rights reserved.
|
|
287
285
|
*
|
|
288
|
-
* This source code is licensed under the
|
|
289
|
-
* LICENSE file in the root directory of this source tree.
|
|
290
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
286
|
+
* This source code is licensed under the MIT license found in the
|
|
287
|
+
* LICENSE file in the root directory of this source tree.
|
|
291
288
|
*
|
|
292
289
|
*/
|
|
293
290
|
|
|
@@ -301,11 +298,9 @@ var emptyObject_1 = emptyObject;
|
|
|
301
298
|
|
|
302
299
|
/**
|
|
303
300
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
304
|
-
* All rights reserved.
|
|
305
301
|
*
|
|
306
|
-
* This source code is licensed under the
|
|
307
|
-
* LICENSE file in the root directory of this source tree.
|
|
308
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
302
|
+
* This source code is licensed under the MIT license found in the
|
|
303
|
+
* LICENSE file in the root directory of this source tree.
|
|
309
304
|
*
|
|
310
305
|
*/
|
|
311
306
|
|
|
@@ -354,12 +349,10 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
354
349
|
var invariant_1 = invariant;
|
|
355
350
|
|
|
356
351
|
/**
|
|
357
|
-
* Copyright 2014-
|
|
358
|
-
* All rights reserved.
|
|
352
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
359
353
|
*
|
|
360
|
-
* This source code is licensed under the
|
|
361
|
-
* LICENSE file in the root directory of this source tree.
|
|
362
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
354
|
+
* This source code is licensed under the MIT license found in the
|
|
355
|
+
* LICENSE file in the root directory of this source tree.
|
|
363
356
|
*
|
|
364
357
|
* @providesModule lowPriorityWarning
|
|
365
358
|
*/
|
|
@@ -381,7 +374,7 @@ var invariant_1 = invariant;
|
|
|
381
374
|
var lowPriorityWarning = function () {};
|
|
382
375
|
|
|
383
376
|
{
|
|
384
|
-
var printWarning = function (format) {
|
|
377
|
+
var printWarning$1 = function (format) {
|
|
385
378
|
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
386
379
|
args[_key - 1] = arguments[_key];
|
|
387
380
|
}
|
|
@@ -410,7 +403,7 @@ var lowPriorityWarning = function () {};
|
|
|
410
403
|
args[_key2 - 2] = arguments[_key2];
|
|
411
404
|
}
|
|
412
405
|
|
|
413
|
-
printWarning.apply(undefined, [format].concat(args));
|
|
406
|
+
printWarning$1.apply(undefined, [format].concat(args));
|
|
414
407
|
}
|
|
415
408
|
};
|
|
416
409
|
}
|
|
@@ -551,12 +544,10 @@ var ReactBaseClasses = {
|
|
|
551
544
|
};
|
|
552
545
|
|
|
553
546
|
/**
|
|
554
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
555
|
-
* All rights reserved.
|
|
547
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
556
548
|
*
|
|
557
|
-
* This source code is licensed under the
|
|
558
|
-
* LICENSE file in the root directory of this source tree.
|
|
559
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
549
|
+
* This source code is licensed under the MIT license found in the
|
|
550
|
+
* LICENSE file in the root directory of this source tree.
|
|
560
551
|
*
|
|
561
552
|
* @providesModule ReactCurrentOwner
|
|
562
553
|
*
|
|
@@ -903,12 +894,10 @@ ReactElement.isValidElement = function (object) {
|
|
|
903
894
|
var ReactElement_1 = ReactElement;
|
|
904
895
|
|
|
905
896
|
/**
|
|
906
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
907
|
-
* All rights reserved.
|
|
897
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
908
898
|
*
|
|
909
|
-
* This source code is licensed under the
|
|
910
|
-
* LICENSE file in the root directory of this source tree.
|
|
911
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
899
|
+
* This source code is licensed under the MIT license found in the
|
|
900
|
+
* LICENSE file in the root directory of this source tree.
|
|
912
901
|
*
|
|
913
902
|
* @providesModule ReactDebugCurrentFrame
|
|
914
903
|
*
|
|
@@ -1239,17 +1228,15 @@ var ReactChildren = {
|
|
|
1239
1228
|
var ReactChildren_1 = ReactChildren;
|
|
1240
1229
|
|
|
1241
1230
|
/**
|
|
1242
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1243
|
-
* All rights reserved.
|
|
1231
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1244
1232
|
*
|
|
1245
|
-
* This source code is licensed under the
|
|
1246
|
-
* LICENSE file in the root directory of this source tree.
|
|
1247
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1233
|
+
* This source code is licensed under the MIT license found in the
|
|
1234
|
+
* LICENSE file in the root directory of this source tree.
|
|
1248
1235
|
*
|
|
1249
1236
|
* @providesModule ReactVersion
|
|
1250
1237
|
*/
|
|
1251
1238
|
|
|
1252
|
-
var ReactVersion = '16.0.0
|
|
1239
|
+
var ReactVersion = '16.0.0';
|
|
1253
1240
|
|
|
1254
1241
|
/**
|
|
1255
1242
|
* Returns the first child in a collection of children and verifies that there
|
|
@@ -1273,12 +1260,10 @@ function onlyChild(children) {
|
|
|
1273
1260
|
var onlyChild_1 = onlyChild;
|
|
1274
1261
|
|
|
1275
1262
|
/**
|
|
1276
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1277
|
-
* All rights reserved.
|
|
1263
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1278
1264
|
*
|
|
1279
|
-
* This source code is licensed under the
|
|
1280
|
-
* LICENSE file in the root directory of this source tree.
|
|
1281
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1265
|
+
* This source code is licensed under the MIT license found in the
|
|
1266
|
+
* LICENSE file in the root directory of this source tree.
|
|
1282
1267
|
*/
|
|
1283
1268
|
|
|
1284
1269
|
var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
@@ -1314,7 +1299,7 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
1314
1299
|
try {
|
|
1315
1300
|
// This is intentionally an invariant that gets caught. It's the same
|
|
1316
1301
|
// behavior as without this statement except with a better message.
|
|
1317
|
-
invariant$2(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + '
|
|
1302
|
+
invariant$2(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);
|
|
1318
1303
|
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
1319
1304
|
} catch (ex) {
|
|
1320
1305
|
error = ex;
|
|
@@ -1337,12 +1322,10 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
1337
1322
|
var checkPropTypes_1 = checkPropTypes$1;
|
|
1338
1323
|
|
|
1339
1324
|
/**
|
|
1340
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
1341
|
-
* All rights reserved.
|
|
1325
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
1342
1326
|
*
|
|
1343
|
-
* This source code is licensed under the
|
|
1344
|
-
* LICENSE file in the root directory of this source tree.
|
|
1345
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1327
|
+
* This source code is licensed under the MIT license found in the
|
|
1328
|
+
* LICENSE file in the root directory of this source tree.
|
|
1346
1329
|
*
|
|
1347
1330
|
*
|
|
1348
1331
|
* @providesModule describeComponentFrame
|
|
@@ -1353,12 +1336,10 @@ var describeComponentFrame$1 = function (name, source, ownerName) {
|
|
|
1353
1336
|
};
|
|
1354
1337
|
|
|
1355
1338
|
/**
|
|
1356
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1357
|
-
* All rights reserved.
|
|
1339
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1358
1340
|
*
|
|
1359
|
-
* This source code is licensed under the
|
|
1360
|
-
* LICENSE file in the root directory of this source tree.
|
|
1361
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1341
|
+
* This source code is licensed under the MIT license found in the
|
|
1342
|
+
* LICENSE file in the root directory of this source tree.
|
|
1362
1343
|
*
|
|
1363
1344
|
* @providesModule getComponentName
|
|
1364
1345
|
*
|
|
@@ -1496,7 +1477,9 @@ function validateExplicitKey(element, parentType) {
|
|
|
1496
1477
|
}
|
|
1497
1478
|
|
|
1498
1479
|
currentlyValidatingElement = element;
|
|
1499
|
-
|
|
1480
|
+
{
|
|
1481
|
+
warning$4(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.%s', currentComponentErrorInfo, childOwner, getStackAddendum$1());
|
|
1482
|
+
}
|
|
1500
1483
|
currentlyValidatingElement = null;
|
|
1501
1484
|
}
|
|
1502
1485
|
|
|
@@ -1555,13 +1538,7 @@ function validatePropTypes(element) {
|
|
|
1555
1538
|
return;
|
|
1556
1539
|
}
|
|
1557
1540
|
var name = componentClass.displayName || componentClass.name;
|
|
1558
|
-
|
|
1559
|
-
// ReactNative `View.propTypes` have been deprecated in favor of `ViewPropTypes`.
|
|
1560
|
-
// In their place a temporary getter has been added with a deprecated warning message.
|
|
1561
|
-
// Avoid triggering that warning during validation using the temporary workaround,
|
|
1562
|
-
// __propTypesSecretDontUseThesePlease.
|
|
1563
|
-
// TODO (bvaughn) Revert this particular change any time after April 1 ReactNative tag.
|
|
1564
|
-
var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease === 'object' ? componentClass.__propTypesSecretDontUseThesePlease : componentClass.propTypes;
|
|
1541
|
+
var propTypes = componentClass.propTypes;
|
|
1565
1542
|
|
|
1566
1543
|
if (propTypes) {
|
|
1567
1544
|
currentlyValidatingElement = element;
|
|
@@ -1997,7 +1974,9 @@ var React = {
|
|
|
1997
1974
|
version: ReactVersion,
|
|
1998
1975
|
|
|
1999
1976
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
|
|
2000
|
-
ReactCurrentOwner: ReactCurrentOwner_1
|
|
1977
|
+
ReactCurrentOwner: ReactCurrentOwner_1,
|
|
1978
|
+
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
1979
|
+
assign: index
|
|
2001
1980
|
}
|
|
2002
1981
|
};
|
|
2003
1982
|
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/*
|
|
2
|
+
React v16.0.0
|
|
3
|
+
react.production.min.js
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
+
|
|
7
|
+
This source code is licensed under the MIT license found in the
|
|
8
|
+
LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
'use strict';function y(){function q(){}function n(a,b,c,d,e,f,g){return{$$typeof:J,type:a,key:b,ref:c,props:g,_owner:f}}function z(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=
|
|
11
|
+
1;throw b;}function r(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}function C(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}function D(){}function E(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}function v(a){return function(){return a}}function R(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function K(a,b,c,d){if(w.length){var e=w.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=
|
|
12
|
+
0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}function L(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>w.length&&w.push(a)}function u(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;if(null===a||"string"===e||"number"===e||"object"===e&&a.$$typeof===S)return c(d,a,""===b?"."+F(a,0):b),1;var f=0;b=""===b?".":b+":";if(Array.isArray(a))for(var g=0;g<a.length;g++){e=a[g];var h=b+F(e,g);f+=u(e,h,c,d)}else if(h=M&&a[M]||a["@@iterator"],"function"===
|
|
13
|
+
typeof h)for(a=h.call(a),g=0;!(e=a.next()).done;)e=e.value,h=b+F(e,g++),f+=u(e,h,c,d);else"object"===e&&(c=""+a,z("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return f}function F(a,b){return"object"===typeof a&&null!==a&&null!=a.key?R(a.key):b.toString(36)}function T(a,b){a.func.call(a.context,b,a.count++)}function U(a,b,c){var d=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?G(a,d,c,H.thatReturnsArgument):null!=a&&(t.isValidElement(a)&&
|
|
14
|
+
(a=t.cloneAndReplaceKey(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(N,"$\x26/")+"/")+c)),d.push(a))}function G(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(N,"$\x26/")+"/");b=K(b,f,d,e);null==a||u(a,"",U,b);L(b)}var O=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,x=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=
|
|
15
|
+
a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)V.call(f,
|
|
16
|
+
g)&&(c[g]=f[g]);if(O){d=O(f);for(var h=0;h<d.length;h++)W.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?z("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
|
17
|
+
D.prototype=r.prototype;var k=C.prototype=new D;k.constructor=C;x(k,r.prototype);k.isPureReactComponent=!0;k=E.prototype=new D;k.constructor=E;x(k,r.prototype);k.unstable_isAsyncReactComponent=!0;k.render=function(){return this.props.children};var I={current:null},P=Object.prototype.hasOwnProperty,J="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,Q={key:!0,ref:!0,__self:!0,__source:!0};n.createElement=function(a,b,c){var d,e={},f=null,g=null,h=null,k=null;if(null!=
|
|
18
|
+
b)for(d in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),h=void 0===b.__self?null:b.__self,k=void 0===b.__source?null:b.__source,b)P.call(b,d)&&!Q.hasOwnProperty(d)&&(e[d]=b[d]);var m=arguments.length-2;if(1===m)e.children=c;else if(1<m){for(var l=Array(m),p=0;p<m;p++)l[p]=arguments[p+2];e.children=l}if(a&&a.defaultProps)for(d in m=a.defaultProps,m)void 0===e[d]&&(e[d]=m[d]);return n(a,f,g,h,k,I.current,e)};n.createFactory=function(a){var b=n.createElement.bind(null,a);b.type=a;return b};
|
|
19
|
+
n.cloneAndReplaceKey=function(a,b){return n(a.type,b,a.ref,a._self,a._source,a._owner,a.props)};n.cloneElement=function(a,b,c){var d=x({},a.props),e=a.key,f=a.ref,g=a._self,h=a._source,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=I.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var m=a.type.defaultProps;for(l in b)P.call(b,l)&&!Q.hasOwnProperty(l)&&(d[l]=void 0===b[l]&&void 0!==m?m[l]:b[l])}var l=arguments.length-2;if(1===l)d.children=c;else if(1<l){m=Array(l);for(var p=
|
|
20
|
+
0;p<l;p++)m[p]=arguments[p+2];d.children=m}return n(a.type,e,f,g,h,k,d)};n.isValidElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===J};var t=n;q.thatReturns=v;q.thatReturnsFalse=v(!1);q.thatReturnsTrue=v(!0);q.thatReturnsNull=v(null);q.thatReturnsThis=function(){return this};q.thatReturnsArgument=function(a){return a};var H=q,M="function"===typeof Symbol&&Symbol.iterator,S="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,N=/\/+/g,w=[];return{Children:{map:function(a,
|
|
21
|
+
b,c){if(null==a)return a;var d=[];G(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=K(null,null,b,c);null==a||u(a,"",T,b);L(b)},count:function(a){return null==a?0:u(a,"",H.thatReturnsNull,null)},toArray:function(a){var b=[];G(a,b,null,H.thatReturnsArgument);return b},only:function(a){t.isValidElement(a)?void 0:z("143");return a}},Component:r,PureComponent:C,unstable_AsyncComponent:E,createElement:t.createElement,cloneElement:t.cloneElement,isValidElement:t.isValidElement,createFactory:t.createFactory,
|
|
22
|
+
version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:x}}}"object"===typeof exports&&"undefined"!==typeof module?module.exports=y():"function"===typeof define&&define.amd?define(y):this.React=y();
|
package/PATENTS
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
Additional Grant of Patent Rights Version 2
|
|
2
|
-
|
|
3
|
-
"Software" means the React software distributed by Facebook, Inc.
|
|
4
|
-
|
|
5
|
-
Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
|
|
6
|
-
("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
|
|
7
|
-
(subject to the termination provision below) license under any Necessary
|
|
8
|
-
Claims, to make, have made, use, sell, offer to sell, import, and otherwise
|
|
9
|
-
transfer the Software. For avoidance of doubt, no license is granted under
|
|
10
|
-
Facebook's rights in any patent claims that are infringed by (i) modifications
|
|
11
|
-
to the Software made by you or any third party or (ii) the Software in
|
|
12
|
-
combination with any software or other technology.
|
|
13
|
-
|
|
14
|
-
The license granted hereunder will terminate, automatically and without notice,
|
|
15
|
-
if you (or any of your subsidiaries, corporate affiliates or agents) initiate
|
|
16
|
-
directly or indirectly, or take a direct financial interest in, any Patent
|
|
17
|
-
Assertion: (i) against Facebook or any of its subsidiaries or corporate
|
|
18
|
-
affiliates, (ii) against any party if such Patent Assertion arises in whole or
|
|
19
|
-
in part from any software, technology, product or service of Facebook or any of
|
|
20
|
-
its subsidiaries or corporate affiliates, or (iii) against any party relating
|
|
21
|
-
to the Software. Notwithstanding the foregoing, if Facebook or any of its
|
|
22
|
-
subsidiaries or corporate affiliates files a lawsuit alleging patent
|
|
23
|
-
infringement against you in the first instance, and you respond by filing a
|
|
24
|
-
patent infringement counterclaim in that lawsuit against that party that is
|
|
25
|
-
unrelated to the Software, the license granted hereunder will not terminate
|
|
26
|
-
under section (i) of this paragraph due to such counterclaim.
|
|
27
|
-
|
|
28
|
-
A "Necessary Claim" is a claim of a patent owned by Facebook that is
|
|
29
|
-
necessarily infringed by the Software standing alone.
|
|
30
|
-
|
|
31
|
-
A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
|
|
32
|
-
or contributory infringement or inducement to infringe any patent, including a
|
|
33
|
-
cross-claim or counterclaim.
|