react-rails 2.4.5 → 2.4.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cda1e3195b0f783b36713deb6688010e94823f8d582e9e3e0589bf3048ecce7
4
- data.tar.gz: d997b158a3785b20e154382ed54de7a2c18b6486b5109e1a8392d399579f90d3
3
+ metadata.gz: 3e4d61d022de9fac39a80f339ccf4fb255d0ca526bc1da5fee014c5b4dd25208
4
+ data.tar.gz: 83c460eb6ca191638f7150819550c82f170598d40906208e8a1d47d680f90432
5
5
  SHA512:
6
- metadata.gz: 4875d0236291a42bc58e355b31da559226814df39bb0b9bbb4850c68c6ff9e7417037f8bea385d81e98e575cd0bea4db55c2d97702cc05e9d79a903fce9480ba
7
- data.tar.gz: 27d0d5e45daf3b842c5dd3343690dbe225b3ea83bd4972f41c109018cfceacdc1d9a13956e4324370e113edd3a6e5c86bae7fadf9515f9aa45f561f1ee68324c
6
+ metadata.gz: bc7058277cefe8185b4ea3f51888188dedda6db0e5c6905455e267995f8dffef2c35feaac63f368db2d6f3131c78a69935bd1cf9ff4d3ca362099493e39fdc45
7
+ data.tar.gz: b64e381fa26984f7aca3a9c09091d9d140c822f26f00738991c88541791698f5b194333812840c55c90491c326ad1e5c37b68fb473d276e3e8d1211eedff48eb
@@ -264,7 +264,7 @@
264
264
  /* 3 */
265
265
  /***/ (function(module, exports, __webpack_require__) {
266
266
 
267
- /** @license React v16.3.2
267
+ /** @license React v16.4.1
268
268
  * react.production.min.js
269
269
  *
270
270
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -273,19 +273,19 @@
273
273
  * LICENSE file in the root directory of this source tree.
274
274
  */
275
275
 
276
- 'use strict';var m=__webpack_require__(4),n=__webpack_require__(5),p=__webpack_require__(6),q=__webpack_require__(7),r="function"===typeof Symbol&&Symbol["for"],t=r?Symbol["for"]("react.element"):60103,u=r?Symbol["for"]("react.portal"):60106,v=r?Symbol["for"]("react.fragment"):60107,w=r?Symbol["for"]("react.strict_mode"):60108,x=r?Symbol["for"]("react.provider"):60109,y=r?Symbol["for"]("react.context"):60110,z=r?Symbol["for"]("react.async_mode"):60111,A=r?Symbol["for"]("react.forward_ref"):
277
- 60112,B="function"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=arguments.length-1,e="http://reactjs.org/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);n(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};
278
- function E(a,b,e){this.props=a;this.context=b;this.refs=p;this.updater=e||D}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?C("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=p;this.updater=e||D}var H=G.prototype=new F;
279
- H.constructor=G;m(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J=Object.prototype.hasOwnProperty,K={key:!0,ref:!0,__self:!0,__source:!0};
280
- function L(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)J.call(b,c)&&!K.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var k=Array(f),l=0;l<f;l++)k[l]=arguments[l+2];d.children=k}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:t,type:a,key:g,ref:h,props:d,_owner:I.current}}
281
- function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===t}function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var N=/\/+/g,O=[];function P(a,b,e,c){if(O.length){var d=O.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function Q(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>O.length&&O.push(a)}
282
- function R(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case t:case u:g=!0}}if(g)return e(c,a,""===b?"."+S(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+S(d,h);g+=R(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=B&&a[B]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),
283
- h=0;!(d=a.next()).done;)d=d.value,f=b+S(d,h++),g+=R(d,f,e,c);else"object"===d&&(e=""+a,C("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function S(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function T(a,b){a.func.call(a.context,b,a.count++)}
284
- function U(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,e,q.thatReturnsArgument):null!=a&&(M(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(N,"$\x26/")+"/")+e,a={$$typeof:t,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function V(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(N,"$\x26/")+"/");b=P(b,g,c,d);null==a||R(a,"",U,b);Q(b)}
285
- var W={Children:{map:function(a,b,e){if(null==a)return a;var c=[];V(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=P(null,null,b,e);null==a||R(a,"",T,b);Q(b)},count:function(a){return null==a?0:R(a,"",q.thatReturnsNull,null)},toArray:function(a){var b=[];V(a,b,null,q.thatReturnsArgument);return b},only:function(a){M(a)?void 0:C("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:y,
286
- _calculateChangedBits:b,_defaultValue:a,_currentValue:a,_changedBits:0,Provider:null,Consumer:null};a.Provider={$$typeof:x,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:A,render:a}},Fragment:v,StrictMode:w,unstable_AsyncMode:z,createElement:L,cloneElement:function(a,b,e){null===a||void 0===a?C("267",a):void 0;var c=void 0,d=m({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,f=I.current);void 0!==b.key&&(g=""+b.key);var k=void 0;a.type&&a.type.defaultProps&&
287
- (k=a.type.defaultProps);for(c in b)J.call(b,c)&&!K.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==k?k[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){k=Array(c);for(var l=0;l<c;l++)k[l]=arguments[l+2];d.children=k}return{$$typeof:t,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=L.bind(null,a);b.type=a;return b},isValidElement:M,version:"16.3.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:m}},X=Object.freeze({default:W}),
288
- Y=X&&W||X;module.exports=Y["default"]?Y["default"]:Y;
276
+ 'use strict';var k=__webpack_require__(4),n=__webpack_require__(5),p=__webpack_require__(6),q=__webpack_require__(7),r="function"===typeof Symbol&&Symbol.for,t=r?Symbol.for("react.element"):60103,u=r?Symbol.for("react.portal"):60106,v=r?Symbol.for("react.fragment"):60107,w=r?Symbol.for("react.strict_mode"):60108,x=r?Symbol.for("react.profiler"):60114,y=r?Symbol.for("react.provider"):60109,z=r?Symbol.for("react.context"):60110,A=r?Symbol.for("react.async_mode"):60111,B=
277
+ r?Symbol.for("react.forward_ref"):60112;r&&Symbol.for("react.timeout");var C="function"===typeof Symbol&&Symbol.iterator;function D(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);n(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}
278
+ var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function F(a,b,e){this.props=a;this.context=b;this.refs=p;this.updater=e||E}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?D("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function G(){}
279
+ G.prototype=F.prototype;function H(a,b,e){this.props=a;this.context=b;this.refs=p;this.updater=e||E}var I=H.prototype=new G;I.constructor=H;k(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
280
+ function M(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,c)&&!L.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:t,type:a,key:g,ref:h,props:d,_owner:J.current}}
281
+ function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===t}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,e,c){if(P.length){var d=P.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
282
+ function S(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case t:case u:g=!0}}if(g)return e(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+T(d,h);g+=S(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=C&&a[C]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),
283
+ h=0;!(d=a.next()).done;)d=d.value,f=b+T(d,h++),g+=S(d,f,e,c);else"object"===d&&(e=""+a,D("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function U(a,b){a.func.call(a.context,b,a.count++)}
284
+ function V(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,q.thatReturnsArgument):null!=a&&(N(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e,a={$$typeof:t,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function W(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(O,"$&/")+"/");b=Q(b,g,c,d);null==a||S(a,"",V,b);R(b)}
285
+ var X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=Q(null,null,b,e);null==a||S(a,"",U,b);R(b)},count:function(a){return null==a?0:S(a,"",q.thatReturnsNull,null)},toArray:function(a){var b=[];W(a,b,null,q.thatReturnsArgument);return b},only:function(a){N(a)?void 0:D("143");return a}},createRef:function(){return{current:null}},Component:F,PureComponent:H,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:z,
286
+ _calculateChangedBits:b,_defaultValue:a,_currentValue:a,_currentValue2:a,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null};a.Provider={$$typeof:y,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:B,render:a}},Fragment:v,StrictMode:w,unstable_AsyncMode:A,unstable_Profiler:x,createElement:M,cloneElement:function(a,b,e){null===a||void 0===a?D("267",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,f=J.current);void 0!==
287
+ b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)K.call(b,c)&&!L.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:t,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.4.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:J,
288
+ assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default?Z.default:Z;
289
289
 
290
290
 
291
291
  /***/ }),
@@ -511,7 +511,7 @@
511
511
  /* 8 */
512
512
  /***/ (function(module, exports, __webpack_require__) {
513
513
 
514
- /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.3.2
514
+ /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.4.1
515
515
  * react.development.js
516
516
  *
517
517
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -537,22 +537,22 @@
537
537
 
538
538
  // TODO: this is special because it gets imported during build.
539
539
 
540
- var ReactVersion = '16.3.2';
540
+ var ReactVersion = '16.4.1';
541
541
 
542
542
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
543
543
  // nor polyfill, then a plain number is used for performance.
544
- var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
545
-
546
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol['for']('react.element') : 0xeac7;
547
- var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
548
- var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
549
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
550
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
551
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol['for']('react.strict_mode') : 0xeacc;
552
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol['for']('react.provider') : 0xeacd;
553
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol['for']('react.context') : 0xeace;
554
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol['for']('react.async_mode') : 0xeacf;
555
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
544
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
545
+
546
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
547
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
548
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
549
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
550
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
551
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
552
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
553
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
554
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
555
+ var REACT_TIMEOUT_TYPE = hasSymbol ? Symbol.for('react.timeout') : 0xead1;
556
556
 
557
557
  var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
558
558
  var FAUX_ITERATOR_SYMBOL = '@@iterator';
@@ -571,6 +571,38 @@
571
571
  // Relying on the `invariant()` implementation lets us
572
572
  // have preserve the format and params in the www builds.
573
573
 
574
+ // Exports ReactDOM.createRoot
575
+
576
+
577
+ // Experimental error-boundary API that can recover from errors within a single
578
+ // render phase
579
+
580
+ // Suspense
581
+ var enableSuspense = false;
582
+ // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
583
+
584
+
585
+ // In some cases, StrictMode should also double-render lifecycles.
586
+ // This can be confusing for tests though,
587
+ // And it can be bad for performance in production.
588
+ // This feature flag can be used to control the behavior:
589
+
590
+
591
+ // To preserve the "Pause on caught exceptions" behavior of the debugger, we
592
+ // replay the begin phase of a failed component inside invokeGuardedCallback.
593
+
594
+
595
+ // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
596
+
597
+
598
+ // Warn about legacy context API
599
+
600
+
601
+ // Gather advanced timing metrics for Profiler subtrees.
602
+
603
+
604
+ // Only used in www builds.
605
+
574
606
  /**
575
607
  * Forked from fbjs/warning:
576
608
  * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
@@ -1365,7 +1397,7 @@
1365
1397
  /**
1366
1398
  * Iterates through children that are typically specified as `props.children`.
1367
1399
  *
1368
- * See https://reactjs.org/docs/react-api.html#react.children.foreach
1400
+ * See https://reactjs.org/docs/react-api.html#reactchildrenforeach
1369
1401
  *
1370
1402
  * The provided forEachFunc(child, index) will be called for each
1371
1403
  * leaf child.
@@ -1417,7 +1449,7 @@
1417
1449
  /**
1418
1450
  * Maps children that are typically specified as `props.children`.
1419
1451
  *
1420
- * See https://reactjs.org/docs/react-api.html#react.children.map
1452
+ * See https://reactjs.org/docs/react-api.html#reactchildrenmap
1421
1453
  *
1422
1454
  * The provided mapFunction(child, key, index) will be called for each
1423
1455
  * leaf child.
@@ -1440,12 +1472,12 @@
1440
1472
  * Count the number of children that are typically specified as
1441
1473
  * `props.children`.
1442
1474
  *
1443
- * See https://reactjs.org/docs/react-api.html#react.children.count
1475
+ * See https://reactjs.org/docs/react-api.html#reactchildrencount
1444
1476
  *
1445
1477
  * @param {?*} children Children tree container.
1446
1478
  * @return {number} The number of children.
1447
1479
  */
1448
- function countChildren(children, context) {
1480
+ function countChildren(children) {
1449
1481
  return traverseAllChildren(children, emptyFunction.thatReturnsNull, null);
1450
1482
  }
1451
1483
 
@@ -1453,7 +1485,7 @@
1453
1485
  * Flatten a children object (typically specified as `props.children`) and
1454
1486
  * return an array with appropriately re-keyed children.
1455
1487
  *
1456
- * See https://reactjs.org/docs/react-api.html#react.children.toarray
1488
+ * See https://reactjs.org/docs/react-api.html#reactchildrentoarray
1457
1489
  */
1458
1490
  function toArray(children) {
1459
1491
  var result = [];
@@ -1465,7 +1497,7 @@
1465
1497
  * Returns the first child in a collection of children and verifies that there
1466
1498
  * is only one child in the collection.
1467
1499
  *
1468
- * See https://reactjs.org/docs/react-api.html#react.children.only
1500
+ * See https://reactjs.org/docs/react-api.html#reactchildrenonly
1469
1501
  *
1470
1502
  * The current implementation of this function assumes that a single child gets
1471
1503
  * passed without a wrapper, but the purpose of this helper function is to
@@ -1494,7 +1526,14 @@
1494
1526
  _calculateChangedBits: calculateChangedBits,
1495
1527
  _defaultValue: defaultValue,
1496
1528
  _currentValue: defaultValue,
1529
+ // As a workaround to support multiple concurrent renderers, we categorize
1530
+ // some renderers as primary and others as secondary. We only expect
1531
+ // there to be two concurrent renderers at most: React Native (primary) and
1532
+ // Fabric (secondary); React DOM (primary) and React ART (secondary).
1533
+ // Secondary renderers store their context values on separate fields.
1534
+ _currentValue2: defaultValue,
1497
1535
  _changedBits: 0,
1536
+ _changedBits2: 0,
1498
1537
  // These are circular
1499
1538
  Provider: null,
1500
1539
  Consumer: null
@@ -1508,6 +1547,7 @@
1508
1547
 
1509
1548
  {
1510
1549
  context._currentRenderer = null;
1550
+ context._currentRenderer2 = null;
1511
1551
  }
1512
1552
 
1513
1553
  return context;
@@ -1516,6 +1556,10 @@
1516
1556
  function forwardRef(render) {
1517
1557
  {
1518
1558
  !(typeof render === 'function') ? warning(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render) : void 0;
1559
+
1560
+ if (render != null) {
1561
+ !(render.defaultProps == null && render.propTypes == null) ? warning(false, 'forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?') : void 0;
1562
+ }
1519
1563
  }
1520
1564
 
1521
1565
  return {
@@ -1531,7 +1575,7 @@
1531
1575
  function isValidElementType(type) {
1532
1576
  return typeof type === 'string' || typeof type === 'function' ||
1533
1577
  // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1534
- type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
1578
+ type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_TIMEOUT_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
1535
1579
  }
1536
1580
 
1537
1581
  function getComponentName(fiber) {
@@ -1544,14 +1588,22 @@
1544
1588
  return type;
1545
1589
  }
1546
1590
  switch (type) {
1591
+ case REACT_ASYNC_MODE_TYPE:
1592
+ return 'AsyncMode';
1593
+ case REACT_CONTEXT_TYPE:
1594
+ return 'Context.Consumer';
1547
1595
  case REACT_FRAGMENT_TYPE:
1548
1596
  return 'ReactFragment';
1549
1597
  case REACT_PORTAL_TYPE:
1550
1598
  return 'ReactPortal';
1551
- case REACT_CALL_TYPE:
1552
- return 'ReactCall';
1553
- case REACT_RETURN_TYPE:
1554
- return 'ReactReturn';
1599
+ case REACT_PROFILER_TYPE:
1600
+ return 'Profiler(' + fiber.pendingProps.id + ')';
1601
+ case REACT_PROVIDER_TYPE:
1602
+ return 'Context.Provider';
1603
+ case REACT_STRICT_MODE_TYPE:
1604
+ return 'StrictMode';
1605
+ case REACT_TIMEOUT_TYPE:
1606
+ return 'Timeout';
1555
1607
  }
1556
1608
  if (typeof type === 'object' && type !== null) {
1557
1609
  switch (type.$$typeof) {
@@ -1588,10 +1640,16 @@
1588
1640
  return '#text';
1589
1641
  } else if (typeof element.type === 'string') {
1590
1642
  return element.type;
1591
- } else if (element.type === REACT_FRAGMENT_TYPE) {
1643
+ }
1644
+
1645
+ var type = element.type;
1646
+ if (type === REACT_FRAGMENT_TYPE) {
1592
1647
  return 'React.Fragment';
1648
+ } else if (typeof type === 'object' && type !== null && type.$$typeof === REACT_FORWARD_REF_TYPE) {
1649
+ var functionName = type.render.displayName || type.render.name || '';
1650
+ return functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef';
1593
1651
  } else {
1594
- return element.type.displayName || element.type.name || 'Unknown';
1652
+ return type.displayName || type.name || 'Unknown';
1595
1653
  }
1596
1654
  };
1597
1655
 
@@ -1735,22 +1793,31 @@
1735
1793
  * @param {ReactElement} element
1736
1794
  */
1737
1795
  function validatePropTypes(element) {
1738
- var componentClass = element.type;
1739
- if (typeof componentClass !== 'function') {
1796
+ var type = element.type;
1797
+ var name = void 0,
1798
+ propTypes = void 0;
1799
+ if (typeof type === 'function') {
1800
+ // Class or functional component
1801
+ name = type.displayName || type.name;
1802
+ propTypes = type.propTypes;
1803
+ } else if (typeof type === 'object' && type !== null && type.$$typeof === REACT_FORWARD_REF_TYPE) {
1804
+ // ForwardRef
1805
+ var functionName = type.render.displayName || type.render.name || '';
1806
+ name = functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef';
1807
+ propTypes = type.propTypes;
1808
+ } else {
1740
1809
  return;
1741
1810
  }
1742
- var name = componentClass.displayName || componentClass.name;
1743
- var propTypes = componentClass.propTypes;
1744
1811
  if (propTypes) {
1745
1812
  currentlyValidatingElement = element;
1746
1813
  checkPropTypes(propTypes, element.props, 'prop', name, getStackAddendum);
1747
1814
  currentlyValidatingElement = null;
1748
- } else if (componentClass.PropTypes !== undefined && !propTypesMisspellWarningShown) {
1815
+ } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
1749
1816
  propTypesMisspellWarningShown = true;
1750
1817
  warning(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
1751
1818
  }
1752
- if (typeof componentClass.getDefaultProps === 'function') {
1753
- !componentClass.getDefaultProps.isReactClassApproved ? warning(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
1819
+ if (typeof type.getDefaultProps === 'function') {
1820
+ !type.getDefaultProps.isReactClassApproved ? warning(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
1754
1821
  }
1755
1822
  }
1756
1823
 
@@ -1885,6 +1952,7 @@
1885
1952
  Fragment: REACT_FRAGMENT_TYPE,
1886
1953
  StrictMode: REACT_STRICT_MODE_TYPE,
1887
1954
  unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
1955
+ unstable_Profiler: REACT_PROFILER_TYPE,
1888
1956
 
1889
1957
  createElement: createElementWithValidation,
1890
1958
  cloneElement: cloneElementWithValidation,
@@ -1900,6 +1968,10 @@
1900
1968
  }
1901
1969
  };
1902
1970
 
1971
+ if (enableSuspense) {
1972
+ React.Timeout = REACT_TIMEOUT_TYPE;
1973
+ }
1974
+
1903
1975
  {
1904
1976
  _assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
1905
1977
  // These should not be included in production.
@@ -1920,7 +1992,7 @@
1920
1992
 
1921
1993
  // TODO: decide on the top-level export form.
1922
1994
  // This is hacky but makes it work with both Rollup and Jest.
1923
- var react = React$3['default'] ? React$3['default'] : React$3;
1995
+ var react = React$3.default ? React$3.default : React$3;
1924
1996
 
1925
1997
  module.exports = react;
1926
1998
  })();
@@ -3920,7 +3992,7 @@
3920
3992
  /* 31 */
3921
3993
  /***/ (function(module, exports, __webpack_require__) {
3922
3994
 
3923
- /** @license React v16.3.2
3995
+ /** @license React v16.4.1
3924
3996
  * react-dom-server.browser.production.min.js
3925
3997
  *
3926
3998
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -3929,38 +4001,38 @@
3929
4001
  * LICENSE file in the root directory of this source tree.
3930
4002
  */
3931
4003
 
3932
- 'use strict';var p=__webpack_require__(5),q=__webpack_require__(4),t=__webpack_require__(1),w=__webpack_require__(7),x=__webpack_require__(6),y=__webpack_require__(21),z=__webpack_require__(32);
3933
- function A(a){for(var b=arguments.length-1,d="http://reactjs.org/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)d+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);p(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}
3934
- var C="function"===typeof Symbol&&Symbol["for"],aa=C?Symbol["for"]("react.call"):60104,ba=C?Symbol["for"]("react.return"):60105,ca=C?Symbol["for"]("react.portal"):60106,E=C?Symbol["for"]("react.fragment"):60107,da=C?Symbol["for"]("react.strict_mode"):60108,F=C?Symbol["for"]("react.provider"):60109,ea=C?Symbol["for"]("react.context"):60110,fa=C?Symbol["for"]("react.async_mode"):60111,ha=C?Symbol["for"]("react.forward_ref"):60112,ia=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
3935
- G={},H={};function ja(a){if(H.hasOwnProperty(a))return!0;if(G.hasOwnProperty(a))return!1;if(ia.test(a))return H[a]=!0;G[a]=!0;return!1}function ka(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
3936
- function la(a,b,d,c){if(null===b||"undefined"===typeof b||ka(a,b,d,c))return!0;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function I(a,b,d,c,k){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=k;this.mustUseProperty=d;this.propertyName=a;this.type=b}var J={};
4004
+ 'use strict';var p=__webpack_require__(5),r=__webpack_require__(4),t=__webpack_require__(1),w=__webpack_require__(7),x=__webpack_require__(6),y=__webpack_require__(21),z=__webpack_require__(32);
4005
+ function A(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);p(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}
4006
+ var C="function"===typeof Symbol&&Symbol.for,aa=C?Symbol.for("react.portal"):60106,E=C?Symbol.for("react.fragment"):60107,ba=C?Symbol.for("react.strict_mode"):60108,ca=C?Symbol.for("react.profiler"):60114,F=C?Symbol.for("react.provider"):60109,da=C?Symbol.for("react.context"):60110,ea=C?Symbol.for("react.async_mode"):60111,fa=C?Symbol.for("react.forward_ref"):60112,ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
4007
+ G={},H={};function ia(a){if(H.hasOwnProperty(a))return!0;if(G.hasOwnProperty(a))return!1;if(ha.test(a))return H[a]=!0;G[a]=!0;return!1}function ja(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
4008
+ function ka(a,b,d,c){if(null===b||"undefined"===typeof b||ja(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function I(a,b,d,c,k){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=k;this.mustUseProperty=d;this.propertyName=a;this.type=b}var J={};
3937
4009
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null)});
3938
4010
  ["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(a){J[a]=new I(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){J[a]=new I(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a.toLowerCase(),null)});
3939
4011
  ["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a.toLowerCase(),null)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a.toLowerCase(),null)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()}
3940
4012
  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(K,
3941
- L);J[b]=new I(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});J.tabIndex=new I("tabIndex",1,!1,"tabindex",null);var ma=/["'&<>]/;
3942
- function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ma.exec(a);if(b){var d="",c,k=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="\x26quot;";break;case 38:b="\x26amp;";break;case 39:b="\x26#x27;";break;case 60:b="\x26lt;";break;case 62:b="\x26gt;";break;default:continue}k!==c&&(d+=a.substring(k,c));k=c+1;d+=b}a=k!==c?d+a.substring(k,c):d}return a}var N={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
4013
+ L);J[b]=new I(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});J.tabIndex=new I("tabIndex",1,!1,"tabindex",null);var la=/["'&<>]/;
4014
+ function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=la.exec(a);if(b){var d="",c,k=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}k!==c&&(d+=a.substring(k,c));k=c+1;d+=b}a=k!==c?d+a.substring(k,c):d}return a}var N={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
3943
4015
  function O(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}
3944
- var P={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},na=q({menuitem:!0},P),Q={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
3945
- fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oa=["Webkit","ms","Moz","O"];Object.keys(Q).forEach(function(a){oa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Q[b]=Q[a]})});var R=t.Children.toArray,S=w.thatReturns("");w.thatReturns("");var pa={listing:!0,pre:!0,textarea:!0};
3946
- function T(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var qa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,U={},ra=z(function(a){return y(a)});function sa(a){var b="";t.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}function ta(a,b){if(a=a.contextTypes){var d={},c;for(c in a)d[c]=b[c];b=d}else b=x;return b}var ua={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};
4016
+ var P={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ma=r({menuitem:!0},P),Q={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
4017
+ fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},na=["Webkit","ms","Moz","O"];Object.keys(Q).forEach(function(a){na.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Q[b]=Q[a]})});var R=t.Children.toArray,S=w.thatReturns("");w.thatReturns("");var oa={listing:!0,pre:!0,textarea:!0};
4018
+ function T(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var pa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,U={},qa=z(function(a){return y(a)});function ra(a){var b="";t.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}function sa(a,b){if(a=a.contextTypes){var d={},c;for(c in a)d[c]=b[c];b=d}else b=x;return b}var ta={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};
3947
4019
  function V(a,b){void 0===a&&A("152",T(b)||"Component")}
3948
- function va(a,b){function d(c,k){var d=ta(k,b),f=[],h=!1,g={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},e=void 0;if(k.prototype&&k.prototype.isReactComponent){if(e=new k(c.props,d,g),"function"===typeof k.getDerivedStateFromProps){var v=k.getDerivedStateFromProps.call(null,c.props,e.state);null!=v&&(e.state=q({},e.state,v))}}else if(e=k(c.props,
4020
+ function ua(a,b){function d(c,k){var d=sa(k,b),f=[],h=!1,g={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},e=void 0;if(k.prototype&&k.prototype.isReactComponent){if(e=new k(c.props,d,g),"function"===typeof k.getDerivedStateFromProps){var v=k.getDerivedStateFromProps.call(null,c.props,e.state);null!=v&&(e.state=r({},e.state,v))}}else if(e=k(c.props,
3949
4021
  d,g),null==e||null==e.render){a=e;V(a,k);return}e.props=c.props;e.context=d;e.updater=g;g=e.state;void 0===g&&(e.state=g=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof k.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof k.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var u=h;f=null;h=!1;if(u&&
3950
- 1===g.length)e.state=g[0];else{v=u?g[0]:e.state;var m=!0;for(u=u?1:0;u<g.length;u++){var n=g[u];n="function"===typeof n?n.call(e,v,c.props,d):n;null!=n&&(m?(m=!1,v=q({},v,n)):q(v,n))}e.state=v}}else f=null;a=e.render();V(a,k);c=void 0;if("function"===typeof e.getChildContext&&(d=k.childContextTypes,"object"===typeof d)){c=e.getChildContext();for(var r in c)r in d?void 0:A("108",T(k)||"Unknown",r)}c&&(b=q({},b,c))}for(;t.isValidElement(a);){var c=a,k=c.type;if("function"!==typeof k)break;d(c,k)}return{child:a,
4022
+ 1===g.length)e.state=g[0];else{v=u?g[0]:e.state;var m=!0;for(u=u?1:0;u<g.length;u++){var n=g[u];n="function"===typeof n?n.call(e,v,c.props,d):n;null!=n&&(m?(m=!1,v=r({},v,n)):r(v,n))}e.state=v}}else f=null;a=e.render();V(a,k);c=void 0;if("function"===typeof e.getChildContext&&(d=k.childContextTypes,"object"===typeof d)){c=e.getChildContext();for(var q in c)q in d?void 0:A("108",T(k)||"Unknown",q)}c&&(b=r({},b,c))}for(;t.isValidElement(a);){var c=a,k=c.type;if("function"!==typeof k)break;d(c,k)}return{child:a,
3951
4023
  context:b}}
3952
- var W=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");t.isValidElement(b)?b.type!==E?b=[b]:(b=b.props.children,b=t.isValidElement(b)?[b]:R(b)):b=R(b);this.stack=[{type:null,domNamespace:N.html,children:b,childIndex:0,context:x,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.providerStack=[];this.providerIndex=-1}a.prototype.pushProvider=function(a){this.providerIndex+=1;
3953
- this.providerStack[this.providerIndex]=a;a.type._context._currentValue=a.props.value};a.prototype.popProvider=function(a){this.providerStack[this.providerIndex]=null;--this.providerIndex;a=a.type._context;a._currentValue=0>this.providerIndex?a._defaultValue:this.providerStack[this.providerIndex].props.value};a.prototype.read=function(a){if(this.exhausted)return null;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var k=
3954
- c.footer;b+=k;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===F&&this.popProvider(c.type)}else k=c.children[c.childIndex++],b+=this.render(k,c.context,c.domNamespace)}return b};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=
3955
- !0;return M(c)}d=va(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!t.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===ca?A("257"):void 0;A("258",b.toString())}a=R(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case da:case fa:case E:return a=R(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),
3956
- "";case aa:case ba:A("259")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ha:return a=R(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case F:return b=R(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ea:return b=R(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),
3957
- ""}A("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===N.html&&O(b);U.hasOwnProperty(b)||(qa.test(b)?void 0:A("65",b),U[b]=!0);var f=a.props;if("input"===b)f=q({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var h=f.value;if(null==h){h=f.defaultValue;var l=f.children;null!=l&&(null!=h?A("92"):void 0,Array.isArray(l)&&(1>=
3958
- l.length?void 0:A("93"),l=l[0]),h=""+l);null==h&&(h="")}f=q({},f,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=q({},f,{value:void 0});else if("option"===b){l=this.currentSelectValue;var D=sa(f.children);if(null!=l){var B=null!=f.value?f.value+"":D;h=!1;if(Array.isArray(l))for(var g=0;g<l.length;g++){if(""+l[g]===B){h=!0;break}}else h=""+l===B;f=q({selected:void 0,children:void 0},f,{selected:h,children:D})}}if(h=f)na[b]&&(null!=h.children||
3959
- null!=h.dangerouslySetInnerHTML?A("137",b,S()):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?A("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:A("61")),null!=h.style&&"object"!==typeof h.style?A("62",S()):void 0;h=f;l=this.makeStaticMarkup;D=1===this.stack.length;B="\x3c"+a.type;for(r in h)if(h.hasOwnProperty(r)){var e=h[r];if(null!=e){if("style"===r){g=void 0;var v="",u="";for(g in e)if(e.hasOwnProperty(g)){var m=0===g.indexOf("--"),
3960
- n=e[g];null!=n&&(v+=u+ra(g)+":",u=g,m=null==n||"boolean"===typeof n||""===n?"":m||"number"!==typeof n||0===n||Q.hasOwnProperty(u)&&Q[u]?(""+n).trim():n+"px",v+=m,u=";")}e=v||null}g=null;b:if(m=b,n=h,-1===m.indexOf("-"))m="string"===typeof n.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m=!1;break b;default:m=!0}if(m)ua.hasOwnProperty(r)||(g=r,g=ja(g)&&null!=
3961
- e?g+"\x3d"+('"'+M(e)+'"'):"");else{m=r;g=e;e=J.hasOwnProperty(m)?J[m]:null;if(n="style"!==m)n=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;n||la(m,g,e,!1)?g="":null!==e?(m=e.attributeName,e=e.type,g=3===e||4===e&&!0===g?m+'\x3d""':m+"\x3d"+('"'+M(g)+'"')):g=m+"\x3d"+('"'+M(g)+'"')}g&&(B+=" "+g)}}l||D&&(B+=' data-reactroot\x3d""');var r=B;h="";P.hasOwnProperty(b)?r+="/\x3e":(r+="\x3e",h="\x3c/"+a.type+"\x3e");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=
3962
- l.__html){l=l.__html;break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=M(l);break a}l=null}null!=l?(f=[],pa[b]&&"\n"===l.charAt(0)&&(r+="\n"),r+=l):f=R(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?O(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:f,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return r};return a}(),X={renderToString:function(a){return(new W(a,
3963
- !1)).read(Infinity)},renderToStaticMarkup:function(a){return(new W(a,!0)).read(Infinity)},renderToNodeStream:function(){A("207")},renderToStaticNodeStream:function(){A("208")},version:"16.3.2"},Y=Object.freeze({default:X}),Z=Y&&X||Y;module.exports=Z["default"]?Z["default"]:Z;
4024
+ var W=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");t.isValidElement(b)?b.type!==E?b=[b]:(b=b.props.children,b=t.isValidElement(b)?[b]:R(b)):b=R(b);this.stack=[{type:null,domNamespace:N.html,children:b,childIndex:0,context:x,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.pushProvider=function(a){var b=
4025
+ ++this.contextIndex,c=a.type._context,k=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=k;c._currentValue=a.props.value};a.prototype.popProvider=function(){var a=this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d._currentValue=c};a.prototype.read=function(a){if(this.exhausted)return null;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;break}var c=this.stack[this.stack.length-
4026
+ 1];if(c.childIndex>=c.children.length){var k=c.footer;b+=k;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===F&&this.popProvider(c.type)}else k=c.children[c.childIndex++],b+=this.render(k,c.context,c.domNamespace)}return b};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+
4027
+ M(c);this.previousWasTextNode=!0;return M(c)}d=ua(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!t.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===aa?A("257"):void 0;A("258",b.toString())}a=R(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case ba:case ea:case ca:case E:return a=R(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,
4028
+ childIndex:0,context:d,footer:""}),""}if("object"===typeof b&&null!==b)switch(b.$$typeof){case fa:return a=R(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case F:return b=R(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case da:return b=R(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,
4029
+ footer:""}),""}A("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===N.html&&O(b);U.hasOwnProperty(b)||(pa.test(b)?void 0:A("65",b),U[b]=!0);var f=a.props;if("input"===b)f=r({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var h=f.value;if(null==h){h=f.defaultValue;var l=f.children;null!=l&&(null!=h?A("92"):void 0,Array.isArray(l)&&
4030
+ (1>=l.length?void 0:A("93"),l=l[0]),h=""+l);null==h&&(h="")}f=r({},f,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=r({},f,{value:void 0});else if("option"===b){l=this.currentSelectValue;var D=ra(f.children);if(null!=l){var B=null!=f.value?f.value+"":D;h=!1;if(Array.isArray(l))for(var g=0;g<l.length;g++){if(""+l[g]===B){h=!0;break}}else h=""+l===B;f=r({selected:void 0,children:void 0},f,{selected:h,children:D})}}if(h=f)ma[b]&&(null!=
4031
+ h.children||null!=h.dangerouslySetInnerHTML?A("137",b,S()):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?A("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:A("61")),null!=h.style&&"object"!==typeof h.style?A("62",S()):void 0;h=f;l=this.makeStaticMarkup;D=1===this.stack.length;B="<"+a.type;for(q in h)if(h.hasOwnProperty(q)){var e=h[q];if(null!=e){if("style"===q){g=void 0;var v="",u="";for(g in e)if(e.hasOwnProperty(g)){var m=0===g.indexOf("--"),
4032
+ n=e[g];null!=n&&(v+=u+qa(g)+":",u=g,m=null==n||"boolean"===typeof n||""===n?"":m||"number"!==typeof n||0===n||Q.hasOwnProperty(u)&&Q[u]?(""+n).trim():n+"px",v+=m,u=";")}e=v||null}g=null;b:if(m=b,n=h,-1===m.indexOf("-"))m="string"===typeof n.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m=!1;break b;default:m=!0}if(m)ta.hasOwnProperty(q)||(g=q,g=ia(g)&&null!=
4033
+ e?g+"="+('"'+M(e)+'"'):"");else{m=q;g=e;e=J.hasOwnProperty(m)?J[m]:null;if(n="style"!==m)n=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;n||ka(m,g,e,!1)?g="":null!==e?(m=e.attributeName,e=e.type,g=3===e||4===e&&!0===g?m+'=""':m+"="+('"'+M(g)+'"')):g=m+"="+('"'+M(g)+'"')}g&&(B+=" "+g)}}l||D&&(B+=' data-reactroot=""');var q=B;h="";P.hasOwnProperty(b)?q+="/>":(q+=">",h="</"+a.type+">");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;
4034
+ break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=M(l);break a}l=null}null!=l?(f=[],oa[b]&&"\n"===l.charAt(0)&&(q+="\n"),q+=l):f=R(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?O(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:f,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return q};return a}(),X={renderToString:function(a){return(new W(a,!1)).read(Infinity)},
4035
+ renderToStaticMarkup:function(a){return(new W(a,!0)).read(Infinity)},renderToNodeStream:function(){A("207")},renderToStaticNodeStream:function(){A("208")},version:"16.4.1"},Y={default:X},Z=Y&&X||Y;module.exports=Z.default?Z.default:Z;
3964
4036
 
3965
4037
 
3966
4038
  /***/ }),
@@ -3999,7 +4071,7 @@
3999
4071
  /* 33 */
4000
4072
  /***/ (function(module, exports, __webpack_require__) {
4001
4073
 
4002
- /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.3.2
4074
+ /* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.4.1
4003
4075
  * react-dom-server.browser.development.js
4004
4076
  *
4005
4077
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -4032,7 +4104,7 @@
4032
4104
 
4033
4105
  // TODO: this is special because it gets imported during build.
4034
4106
 
4035
- var ReactVersion = '16.3.2';
4107
+ var ReactVersion = '16.4.1';
4036
4108
 
4037
4109
  /**
4038
4110
  * Forked from fbjs/warning:
@@ -4099,15 +4171,11 @@
4099
4171
  // Exports ReactDOM.createRoot
4100
4172
 
4101
4173
 
4102
- // Mutating mode (React DOM, React ART, React Native):
4103
-
4104
- // Experimental noop mode (currently unused):
4105
-
4106
- // Experimental persistent mode (Fabric):
4107
-
4108
4174
  // Experimental error-boundary API that can recover from errors within a single
4109
4175
  // render phase
4110
4176
 
4177
+ // Suspense
4178
+
4111
4179
  // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
4112
4180
 
4113
4181
 
@@ -4124,24 +4192,27 @@
4124
4192
  // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
4125
4193
  var warnAboutDeprecatedLifecycles = false;
4126
4194
 
4195
+ // Warn about legacy context API
4196
+
4197
+
4198
+ // Gather advanced timing metrics for Profiler subtrees.
4127
4199
 
4128
4200
 
4129
4201
  // Only used in www builds.
4130
4202
 
4131
4203
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
4132
4204
  // nor polyfill, then a plain number is used for performance.
4133
- var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
4205
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
4134
4206
 
4135
4207
 
4136
- var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
4137
- var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
4138
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
4139
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
4140
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol['for']('react.strict_mode') : 0xeacc;
4141
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol['for']('react.provider') : 0xeacd;
4142
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol['for']('react.context') : 0xeace;
4143
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol['for']('react.async_mode') : 0xeacf;
4144
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
4208
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
4209
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
4210
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
4211
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
4212
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
4213
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
4214
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
4215
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
4145
4216
 
4146
4217
  // A reserved attribute.
4147
4218
  // It is handled by React separately and shouldn't be written to the DOM.
@@ -4253,6 +4324,9 @@
4253
4324
  if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
4254
4325
  return true;
4255
4326
  }
4327
+ if (isCustomComponentTag) {
4328
+ return false;
4329
+ }
4256
4330
  if (propertyInfo !== null) {
4257
4331
  switch (propertyInfo.type) {
4258
4332
  case BOOLEAN:
@@ -4295,7 +4369,8 @@
4295
4369
  properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
4296
4370
  name, // attributeName
4297
4371
  null);
4298
- });
4372
+ } // attributeNamespace
4373
+ );
4299
4374
 
4300
4375
  // A few React string attributes have a different name.
4301
4376
  // This is a mapping from React prop names to the attribute names.
@@ -4306,7 +4381,8 @@
4306
4381
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
4307
4382
  attributeName, // attributeName
4308
4383
  null);
4309
- });
4384
+ } // attributeNamespace
4385
+ );
4310
4386
 
4311
4387
  // These are "enumerated" HTML attributes that accept "true" and "false".
4312
4388
  // In React, we let users pass `true` and `false` even though technically
@@ -4315,7 +4391,8 @@
4315
4391
  properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
4316
4392
  name.toLowerCase(), // attributeName
4317
4393
  null);
4318
- });
4394
+ } // attributeNamespace
4395
+ );
4319
4396
 
4320
4397
  // These are "enumerated" SVG attributes that accept "true" and "false".
4321
4398
  // In React, we let users pass `true` and `false` even though technically
@@ -4325,7 +4402,8 @@
4325
4402
  properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
4326
4403
  name, // attributeName
4327
4404
  null);
4328
- });
4405
+ } // attributeNamespace
4406
+ );
4329
4407
 
4330
4408
  // These are HTML boolean attributes.
4331
4409
  ['allowFullScreen', 'async',
@@ -4337,7 +4415,8 @@
4337
4415
  properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
4338
4416
  name.toLowerCase(), // attributeName
4339
4417
  null);
4340
- });
4418
+ } // attributeNamespace
4419
+ );
4341
4420
 
4342
4421
  // These are the few React props that we set as DOM properties
4343
4422
  // rather than attributes. These are all booleans.
@@ -4348,7 +4427,8 @@
4348
4427
  properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
4349
4428
  name.toLowerCase(), // attributeName
4350
4429
  null);
4351
- });
4430
+ } // attributeNamespace
4431
+ );
4352
4432
 
4353
4433
  // These are HTML attributes that are "overloaded booleans": they behave like
4354
4434
  // booleans, but can also accept a string value.
@@ -4356,21 +4436,24 @@
4356
4436
  properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
4357
4437
  name.toLowerCase(), // attributeName
4358
4438
  null);
4359
- });
4439
+ } // attributeNamespace
4440
+ );
4360
4441
 
4361
4442
  // These are HTML attributes that must be positive numbers.
4362
4443
  ['cols', 'rows', 'size', 'span'].forEach(function (name) {
4363
4444
  properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
4364
4445
  name.toLowerCase(), // attributeName
4365
4446
  null);
4366
- });
4447
+ } // attributeNamespace
4448
+ );
4367
4449
 
4368
4450
  // These are HTML attributes that must be numbers.
4369
4451
  ['rowSpan', 'start'].forEach(function (name) {
4370
4452
  properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
4371
4453
  name.toLowerCase(), // attributeName
4372
4454
  null);
4373
- });
4455
+ } // attributeNamespace
4456
+ );
4374
4457
 
4375
4458
  var CAMELIZE = /[\-\:]([a-z])/g;
4376
4459
  var capitalize = function (token) {
@@ -4386,7 +4469,8 @@
4386
4469
  var name = attributeName.replace(CAMELIZE, capitalize);
4387
4470
  properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
4388
4471
  attributeName, null);
4389
- });
4472
+ } // attributeNamespace
4473
+ );
4390
4474
 
4391
4475
  // String SVG attributes with the xlink namespace.
4392
4476
  ['xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
@@ -4654,6 +4738,7 @@
4654
4738
  source: true,
4655
4739
  track: true,
4656
4740
  wbr: true
4741
+ // NOTE: menuitem's close tag should be omitted, but that causes problems.
4657
4742
  };
4658
4743
 
4659
4744
  // For HTML, certain tags cannot have children. This has the same purpose as
@@ -5137,7 +5222,7 @@
5137
5222
  checked: 'checked',
5138
5223
  children: 'children',
5139
5224
  cite: 'cite',
5140
- 'class': 'className',
5225
+ class: 'className',
5141
5226
  classid: 'classID',
5142
5227
  classname: 'className',
5143
5228
  cols: 'cols',
@@ -5152,7 +5237,7 @@
5152
5237
  dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
5153
5238
  data: 'data',
5154
5239
  datetime: 'dateTime',
5155
- 'default': 'default',
5240
+ default: 'default',
5156
5241
  defaultchecked: 'defaultChecked',
5157
5242
  defaultvalue: 'defaultValue',
5158
5243
  defer: 'defer',
@@ -5161,7 +5246,7 @@
5161
5246
  download: 'download',
5162
5247
  draggable: 'draggable',
5163
5248
  enctype: 'encType',
5164
- 'for': 'htmlFor',
5249
+ for: 'htmlFor',
5165
5250
  form: 'form',
5166
5251
  formmethod: 'formMethod',
5167
5252
  formaction: 'formAction',
@@ -5379,7 +5464,7 @@
5379
5464
  imagerendering: 'imageRendering',
5380
5465
  'image-rendering': 'imageRendering',
5381
5466
  in2: 'in2',
5382
- 'in': 'in',
5467
+ in: 'in',
5383
5468
  inlist: 'inlist',
5384
5469
  intercept: 'intercept',
5385
5470
  k1: 'k1',
@@ -5519,7 +5604,7 @@
5519
5604
  'text-rendering': 'textRendering',
5520
5605
  to: 'to',
5521
5606
  transform: 'transform',
5522
- 'typeof': 'typeof',
5607
+ typeof: 'typeof',
5523
5608
  u1: 'u1',
5524
5609
  u2: 'u2',
5525
5610
  underlineposition: 'underlinePosition',
@@ -6219,6 +6304,8 @@
6219
6304
  }
6220
6305
 
6221
6306
  var ReactDOMServerRenderer = function () {
6307
+ // DEV-only
6308
+
6222
6309
  function ReactDOMServerRenderer(children, makeStaticMarkup) {
6223
6310
  _classCallCheck(this, ReactDOMServerRenderer);
6224
6311
 
@@ -6244,33 +6331,65 @@
6244
6331
  this.makeStaticMarkup = makeStaticMarkup;
6245
6332
 
6246
6333
  // Context (new API)
6247
- this.providerStack = []; // Stack of provider objects
6248
- this.providerIndex = -1;
6334
+ this.contextIndex = -1;
6335
+ this.contextStack = [];
6336
+ this.contextValueStack = [];
6337
+ {
6338
+ this.contextProviderStack = [];
6339
+ }
6249
6340
  }
6341
+
6342
+ /**
6343
+ * Note: We use just two stacks regardless of how many context providers you have.
6344
+ * Providers are always popped in the reverse order to how they were pushed
6345
+ * so we always know on the way down which provider you'll encounter next on the way up.
6346
+ * On the way down, we push the current provider, and its context value *before*
6347
+ * we mutated it, onto the stacks. Therefore, on the way up, we always know which
6348
+ * provider needs to be "restored" to which value.
6349
+ * https://github.com/facebook/react/pull/12985#issuecomment-396301248
6350
+ */
6351
+
6250
6352
  // TODO: type this more strictly:
6251
6353
 
6252
6354
 
6253
6355
  ReactDOMServerRenderer.prototype.pushProvider = function pushProvider(provider) {
6254
- this.providerIndex += 1;
6255
- this.providerStack[this.providerIndex] = provider;
6356
+ var index = ++this.contextIndex;
6256
6357
  var context = provider.type._context;
6358
+ var previousValue = context._currentValue;
6359
+
6360
+ // Remember which value to restore this context to on our way up.
6361
+ this.contextStack[index] = context;
6362
+ this.contextValueStack[index] = previousValue;
6363
+ {
6364
+ // Only used for push/pop mismatch warnings.
6365
+ this.contextProviderStack[index] = provider;
6366
+ }
6367
+
6368
+ // Mutate the current value.
6257
6369
  context._currentValue = provider.props.value;
6258
6370
  };
6259
6371
 
6260
6372
  ReactDOMServerRenderer.prototype.popProvider = function popProvider(provider) {
6373
+ var index = this.contextIndex;
6261
6374
  {
6262
- !(this.providerIndex > -1 && provider === this.providerStack[this.providerIndex]) ? warning(false, 'Unexpected pop.') : void 0;
6375
+ !(index > -1 && provider === this.contextProviderStack[index]) ? warning(false, 'Unexpected pop.') : void 0;
6263
6376
  }
6264
- this.providerStack[this.providerIndex] = null;
6265
- this.providerIndex -= 1;
6266
- var context = provider.type._context;
6267
- if (this.providerIndex < 0) {
6268
- context._currentValue = context._defaultValue;
6269
- } else {
6270
- // We assume this type is correct because of the index check above.
6271
- var previousProvider = this.providerStack[this.providerIndex];
6272
- context._currentValue = previousProvider.props.value;
6377
+
6378
+ var context = this.contextStack[index];
6379
+ var previousValue = this.contextValueStack[index];
6380
+
6381
+ // "Hide" these null assignments from Flow by using `any`
6382
+ // because conceptually they are deletions--as long as we
6383
+ // promise to never access values beyond `this.contextIndex`.
6384
+ this.contextStack[index] = null;
6385
+ this.contextValueStack[index] = null;
6386
+ {
6387
+ this.contextProviderStack[index] = null;
6273
6388
  }
6389
+ this.contextIndex--;
6390
+
6391
+ // Restore to the previous value we stored as we were walking down.
6392
+ context._currentValue = previousValue;
6274
6393
  };
6275
6394
 
6276
6395
  ReactDOMServerRenderer.prototype.read = function read(bytes) {
@@ -6371,6 +6490,7 @@
6371
6490
  switch (elementType) {
6372
6491
  case REACT_STRICT_MODE_TYPE:
6373
6492
  case REACT_ASYNC_MODE_TYPE:
6493
+ case REACT_PROFILER_TYPE:
6374
6494
  case REACT_FRAGMENT_TYPE:
6375
6495
  {
6376
6496
  var _nextChildren = toArray(nextChild.props.children);
@@ -6388,9 +6508,6 @@
6388
6508
  this.stack.push(_frame);
6389
6509
  return '';
6390
6510
  }
6391
- case REACT_CALL_TYPE:
6392
- case REACT_RETURN_TYPE:
6393
- invariant(false, 'The experimental Call and Return types are not currently supported by the server renderer.');
6394
6511
  // eslint-disable-next-line-no-fallthrough
6395
6512
  default:
6396
6513
  break;
@@ -6566,9 +6683,11 @@
6566
6683
  }
6567
6684
  var isArray = Array.isArray(props[propName]);
6568
6685
  if (props.multiple && !isArray) {
6569
- warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '');
6686
+ warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '' // getDeclarationErrorAddendum(),
6687
+ );
6570
6688
  } else if (!props.multiple && isArray) {
6571
- warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '');
6689
+ warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '' // getDeclarationErrorAddendum(),
6690
+ );
6572
6691
  }
6573
6692
  }
6574
6693
 
@@ -6716,7 +6835,7 @@
6716
6835
 
6717
6836
  // TODO: decide on the top-level export form.
6718
6837
  // This is hacky but makes it work with both Rollup and Jest
6719
- var server_browser = ReactDOMServer['default'] ? ReactDOMServer['default'] : ReactDOMServer;
6838
+ var server_browser = ReactDOMServer.default ? ReactDOMServer.default : ReactDOMServer;
6720
6839
 
6721
6840
  module.exports = server_browser;
6722
6841
  })();