react-dom 16.10.0 → 16.12.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.
Files changed (42) hide show
  1. package/build-info.json +4 -4
  2. package/cjs/react-dom-server.browser.development.js +122 -177
  3. package/cjs/react-dom-server.browser.production.min.js +29 -29
  4. package/cjs/react-dom-server.node.development.js +116 -167
  5. package/cjs/react-dom-server.node.production.min.js +17 -17
  6. package/cjs/react-dom-test-utils.development.js +55 -91
  7. package/cjs/react-dom-test-utils.production.min.js +9 -9
  8. package/cjs/react-dom-unstable-fizz.browser.development.js +9 -5
  9. package/cjs/react-dom-unstable-fizz.browser.production.min.js +3 -3
  10. package/cjs/react-dom-unstable-fizz.node.development.js +23 -10
  11. package/cjs/react-dom-unstable-fizz.node.production.min.js +4 -3
  12. package/cjs/react-dom-unstable-flight-client.development.js +357 -0
  13. package/cjs/react-dom-unstable-flight-client.production.min.js +16 -0
  14. package/cjs/react-dom-unstable-flight-server.browser.development.js +392 -0
  15. package/cjs/react-dom-unstable-flight-server.browser.production.min.js +16 -0
  16. package/cjs/react-dom-unstable-flight-server.node.development.js +415 -0
  17. package/cjs/react-dom-unstable-flight-server.node.production.min.js +16 -0
  18. package/cjs/react-dom-unstable-native-dependencies.development.js +28 -48
  19. package/cjs/react-dom-unstable-native-dependencies.production.min.js +15 -15
  20. package/cjs/react-dom.development.js +1912 -2046
  21. package/cjs/react-dom.production.min.js +266 -269
  22. package/cjs/react-dom.profiling.min.js +252 -255
  23. package/package.json +8 -3
  24. package/umd/react-dom-server.browser.development.js +122 -177
  25. package/umd/react-dom-server.browser.production.min.js +36 -36
  26. package/umd/react-dom-test-utils.development.js +55 -91
  27. package/umd/react-dom-test-utils.production.min.js +9 -9
  28. package/umd/react-dom-unstable-fizz.browser.development.js +9 -5
  29. package/umd/react-dom-unstable-fizz.browser.production.min.js +3 -3
  30. package/umd/react-dom-unstable-flight-client.development.js +357 -0
  31. package/umd/react-dom-unstable-flight-client.production.min.js +14 -0
  32. package/umd/react-dom-unstable-flight-server.browser.development.js +390 -0
  33. package/umd/react-dom-unstable-flight-server.browser.production.min.js +14 -0
  34. package/umd/react-dom-unstable-native-dependencies.development.js +28 -48
  35. package/umd/react-dom-unstable-native-dependencies.production.min.js +22 -22
  36. package/umd/react-dom.development.js +1916 -2050
  37. package/umd/react-dom.production.min.js +230 -232
  38. package/umd/react-dom.profiling.min.js +237 -239
  39. package/unstable-flight-client.js +7 -0
  40. package/unstable-flight-server.browser.js +7 -0
  41. package/unstable-flight-server.js +3 -0
  42. package/unstable-flight-server.node.js +7 -0
@@ -1,4 +1,4 @@
1
- /** @license React v16.10.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-server.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -6,40 +6,40 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- 'use strict';(function(n,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p(require("react")):"function"===typeof define&&define.amd?define(["react"],p):n.ReactDOMServer=p(n.React)})(this,function(n){function p(a){for(var b=a.message,c="https://reactjs.org/docs/error-decoder.html?invariant="+b,d=1;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d]);a.message="Minified React error #"+b+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ";
10
- return a}function ta(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(c){0===a._status&&(c=c.default,a._status=1,a._result=c)},function(c){0===a._status&&(a._status=2,a._result=c)})}}function H(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case L:return"Fragment";case W:return"Portal";case X:return"Profiler";case Y:return"StrictMode";case M:return"Suspense";case Z:return"SuspenseList"}if("object"===
11
- typeof a)switch(a.$$typeof){case aa:return"Context.Consumer";case N:return"Context.Provider";case ba:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case ca:return H(a.type);case da:if(a=1===a._status?a._result:null)return H(a)}return null}function D(a,b){for(var c=a._threadCount|0;c<=b;c++)a[c]=a._currentValue2,a._threadCount=c+1}function ua(a,b,c,d){if(d&&(d=a.contextType,"object"===typeof d&&null!==d))return D(d,c),d[c];if(a=a.contextTypes){c=
9
+ 'use strict';(function(n,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p(require("react")):"function"===typeof define&&define.amd?define(["react"],p):n.ReactDOMServer=p(n.React)})(this,function(n){function p(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
10
+ function ta(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(c){0===a._status&&(c=c.default,a._status=1,a._result=c)},function(c){0===a._status&&(a._status=2,a._result=c)})}}function I(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case L:return"Fragment";case W:return"Portal";case X:return"Profiler";case Y:return"StrictMode";case M:return"Suspense";case Z:return"SuspenseList"}if("object"===
11
+ typeof a)switch(a.$$typeof){case aa:return"Context.Consumer";case N:return"Context.Provider";case ba:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case ca:return I(a.type);case da:if(a=1===a._status?a._result:null)return I(a)}return null}function E(a,b){for(var c=a._threadCount|0;c<=b;c++)a[c]=a._currentValue2,a._threadCount=c+1}function ua(a,b,c,d){if(d&&(d=a.contextType,"object"===typeof d&&null!==d))return E(d,c),d[c];if(a=a.contextTypes){c=
12
12
  {};for(var g in a)c[g]=b[g];b=c}else b=ea;return b}function fa(a){if(ha.call(ia,a))return!0;if(ha.call(ja,a))return!1;if(va.test(a))return ia[a]=!0;ja[a]=!0;return!1}function wa(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function xa(a,b,c,d){if(null===b||"undefined"===typeof b||wa(a,b,c,d))return!0;if(d)return!1;
13
- if(null!==c)switch(c.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 k(a,b,c,d,g,l){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=g;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=l}function C(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,g=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;
13
+ if(null!==c)switch(c.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 l(a,b,c,d,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=g;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=h}function C(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,g=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;
14
14
  case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}g!==d&&(c+=a.substring(g,d));g=d+1;c+=b}a=g!==d?c+a.substring(g,d):c}return a}function za(a,b){var c=m.hasOwnProperty(a)?m[a]:null;var d;if(d="style"!==a)d=null!==c?0===c.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(d||xa(a,b,c,!1))return"";if(null!==c){a=c.attributeName;d=c.type;if(3===d||4===d&&!0===b)return a+'=""';c.sanitizeURL&&(b=""+b);return a+"="+('"'+
15
- C(b)+'"')}return fa(a)?a+"="+('"'+C(b)+'"'):""}function Aa(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function I(){if(null===v)throw p(Error(321));return v}function ka(){if(0<J)throw p(Error(312));return{memoizedState:null,queue:null,next:null}}function O(){null===e?null===K?(E=!1,K=e=ka()):(E=!0,e=K):null===e.next?(E=!1,e=e.next=ka()):(E=!0,e=e.next);return e}function la(a,b,c,d){for(;P;)P=!1,J+=1,e=null,c=a(b,d);K=v=null;J=0;e=u=null;return c}function ma(a,b){return"function"===typeof b?
16
- b(a):b}function na(a,b,c){v=I();e=O();if(E){var d=e.queue;b=d.dispatch;if(null!==u&&(c=u.get(d),void 0!==c)){u.delete(d);d=e.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);e.memoizedState=d;return[d,b]}return[e.memoizedState,b]}a=a===ma?"function"===typeof b?b():b:void 0!==c?c(b):b;e.memoizedState=a;a=e.queue={last:null,dispatch:null};a=a.dispatch=Ba.bind(null,v,a);return[e.memoizedState,a]}function Ba(a,b,c){if(!(25>J))throw p(Error(301));if(a===v)if(P=!0,a={action:c,next:null},null===
17
- u&&(u=new Map),c=u.get(b),void 0===c)u.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Q(){}function oa(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"}}function Ca(a){if(void 0===a||null===a)return a;var b="";n.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function pa(a,b){if(void 0===a)throw p(Error(152),H(b)||"Component");}function Da(a,b,c){function d(d,l){var f=
18
- l.prototype&&l.prototype.isReactComponent,g=ua(l,b,c,f),r=[],z=!1,e={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===r)return null},enqueueReplaceState:function(a,c){z=!0;r=[c]},enqueueSetState:function(a,c){if(null===r)return null;r.push(c)}};if(f){if(f=new l(d.props,g,e),"function"===typeof l.getDerivedStateFromProps){var h=l.getDerivedStateFromProps.call(null,d.props,f.state);null!=h&&(f.state=x({},f.state,h))}}else if(v={},f=l(d.props,g,e),f=la(l,d.props,f,g),null==f||
19
- null==f.render){a=f;pa(a,l);return}f.props=d.props;f.context=g;f.updater=e;e=f.state;void 0===e&&(f.state=e=null);if("function"===typeof f.UNSAFE_componentWillMount||"function"===typeof f.componentWillMount)if("function"===typeof f.componentWillMount&&"function"!==typeof l.getDerivedStateFromProps&&f.componentWillMount(),"function"===typeof f.UNSAFE_componentWillMount&&"function"!==typeof l.getDerivedStateFromProps&&f.UNSAFE_componentWillMount(),r.length){e=r;var m=z;r=null;z=!1;if(m&&1===e.length)f.state=
20
- e[0];else{h=m?e[0]:f.state;var q=!0;for(m=m?1:0;m<e.length;m++){var t=e[m];t="function"===typeof t?t.call(f,h,d.props,g):t;null!=t&&(q?(q=!1,h=x({},h,t)):x(h,t))}f.state=h}}else r=null;a=f.render();pa(a,l);if("function"===typeof f.getChildContext&&(d=l.childContextTypes,"object"===typeof d)){var k=f.getChildContext();for(var n in k)if(!(n in d))throw p(Error(108),H(l)||"Unknown",n);}k&&(b=x({},b,k))}for(;n.isValidElement(a);){var g=a,l=g.type;if("function"!==typeof l)break;d(g,l)}return{child:a,context:b}}
21
- var x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,h="function"===typeof Symbol&&Symbol.for,W=h?Symbol.for("react.portal"):60106,L=h?Symbol.for("react.fragment"):60107,Y=h?Symbol.for("react.strict_mode"):60108,X=h?Symbol.for("react.profiler"):60114,N=h?Symbol.for("react.provider"):60109,aa=h?Symbol.for("react.context"):60110,Ea=h?Symbol.for("react.concurrent_mode"):60111,ba=h?Symbol.for("react.forward_ref"):60112,M=h?Symbol.for("react.suspense"):60113,Z=h?Symbol.for("react.suspense_list"):
22
- 60120,ca=h?Symbol.for("react.memo"):60115,da=h?Symbol.for("react.lazy"):60116,Fa=h?Symbol.for("react.fundamental"):60117,Ga=h?Symbol.for("react.scope"):60119;h=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;h.hasOwnProperty("ReactCurrentDispatcher")||(h.ReactCurrentDispatcher={current:null});h.hasOwnProperty("ReactCurrentBatchConfig")||(h.ReactCurrentBatchConfig={suspense:null});for(var ea={},q=new Uint16Array(16),A=0;15>A;A++)q[A]=A+1;q[15]=0;var va=/^[: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]*$/,
23
- ha=Object.prototype.hasOwnProperty,ja={},ia={},m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){m[a]=new k(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];m[b]=new k(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){m[a]=new k(a,
24
- 2,!1,a.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){m[a]=new k(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){m[a]=new k(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){m[a]=
25
- new k(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){m[a]=new k(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){m[a]=new k(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){m[a]=new k(a,5,!1,a.toLowerCase(),null,!1)});var S=/[\-:]([a-z])/g,T=function(a){return a[1].toUpperCase()};"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=
26
- a.replace(S,T);m[b]=new k(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(S,T);m[b]=new k(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(S,T);m[b]=new k(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){m[a]=new k(a,1,!1,a.toLowerCase(),null,!1)});m.xlinkHref=new k("xlinkHref",1,!1,"xlink:href",
27
- "http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){m[a]=new k(a,1,!1,a.toLowerCase(),null,!0)});var ya=/["'&<>]/,Ha="function"===typeof Object.is?Object.is:Aa,v=null,K=null,e=null,E=!1,P=!1,u=null,J=0,F=0,Ia={readContext:function(a,b){b=F;D(a,b);return a[b]},useContext:function(a,b){I();b=F;D(a,b);return a[b]},useMemo:function(a,b){v=I();e=O();b=void 0===b?null:b;if(null!==e){var c=e.memoizedState;if(null!==c&&null!==b){a:{var d=c[1];if(null===d)d=!1;else{for(var g=
28
- 0;g<d.length&&g<b.length;g++)if(!Ha(b[g],d[g])){d=!1;break a}d=!0}}if(d)return c[0]}}a=a();e.memoizedState=[a,b];return a},useReducer:na,useRef:function(a){v=I();e=O();var b=e.memoizedState;return null===b?(a={current:a},e.memoizedState=a):b},useState:function(a){return na(ma,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:Q,useEffect:Q,useDebugValue:Q,useResponder:function(a,b){return{props:b,responder:a}}},qa={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,
29
- img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ja=x({menuitem:!0},qa),G={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,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,
30
- 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},Ka=["Webkit","ms","Moz","O"];Object.keys(G).forEach(function(a){Ka.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);G[b]=G[a]})});var La=/([A-Z])/g,Ma=/^ms-/,B=n.Children.toArray,U=h.ReactCurrentDispatcher,Na={listing:!0,pre:!0,textarea:!0},Oa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
31
- ra={},V={},Pa=Object.prototype.hasOwnProperty,Qa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},sa=function(){function a(a,b){n.isValidElement(a)?a.type!==L?a=[a]:(a=a.props.children,a=n.isValidElement(a)?[a]:B(a)):a=B(a);a={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:a,childIndex:0,context:ea,footer:""};var c=q[0];if(0===c){var d=q;c=d.length;var r=2*c;if(!(65536>=r))throw p(Error(304));var z=new Uint16Array(r);z.set(d);
32
- q=z;q[0]=c+1;for(d=c;d<r-1;d++)q[d]=d+1;q[r-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[a];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=b;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}var b=a.prototype;b.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;q[a]=q[0];q[0]=a}};b.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,l=this.threadID;
33
- D(c,l);var r=c[l];this.contextStack[b]=c;this.contextValueStack[b]=r;c[l]=a.props.value};b.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};b.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};b.read=function(a){if(this.exhausted)return null;var b=F;F=this.threadID;var c=U.current;
34
- U.current=Ia;try{for(var l=[""],r=!1;l[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var z=this.threadID;q[z]=q[0];q[0]=z;break}var f=this.stack[this.stack.length-1];if(r||f.childIndex>=f.children.length){var e=f.footer;""!==e&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===f.type)this.currentSelectValue=null;else if(null!=f.type&&null!=f.type.type&&f.type.type.$$typeof===N)this.popProvider(f.type);else if(f.type===M){this.suspenseDepth--;var h=l.pop();if(r){r=!1;var m=f.fallbackFrame;
35
- if(!m)throw p(Error(303));this.stack.push(m);l[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else l[this.suspenseDepth]+=h}l[this.suspenseDepth]+=e}else{var k=f.children[f.childIndex++],n="";try{n+=this.render(k,f.context,f.domNamespace)}catch(R){if(null!=R&&"function"===typeof R.then)throw p(Error(294));throw R;}finally{}l.length<=this.suspenseDepth&&l.push("");l[this.suspenseDepth]+=n}}return l[0]}finally{U.current=c,F=b}};b.render=function(a,b,g){if("string"===typeof a||"number"===typeof a){g=
36
- ""+a;if(""===g)return"";if(this.makeStaticMarkup)return C(g);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+C(g);this.previousWasTextNode=!0;return C(g)}b=Da(a,b,this.threadID);a=b.child;b=b.context;if(null===a||!1===a)return"";if(!n.isValidElement(a)){if(null!=a&&null!=a.$$typeof){g=a.$$typeof;if(g===W)throw p(Error(257));throw p(Error(258),g.toString());}a=B(a);this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""});return""}var c=a.type;if("string"===typeof c)return this.renderDOM(a,
37
- b,g);switch(c){case Y:case Ea:case X:case Z:case L:return a=B(a.props.children),this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case M:throw p(Error(294));}if("object"===typeof c&&null!==c)switch(c.$$typeof){case ba:v={};var d=c.render(a.props,a.ref);d=la(c.render,a.props,d,a.ref);d=B(d);this.stack.push({type:null,domNamespace:g,children:d,childIndex:0,context:b,footer:""});return"";case ca:return a=[n.createElement(c.type,x({ref:a.ref},a.props))],this.stack.push({type:null,
38
- domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case N:return c=B(a.props.children),g={type:a,domNamespace:g,children:c,childIndex:0,context:b,footer:""},this.pushProvider(a),this.stack.push(g),"";case aa:c=a.type;d=a.props;var e=this.threadID;D(c,e);c=B(d.children(c[e]));this.stack.push({type:a,domNamespace:g,children:c,childIndex:0,context:b,footer:""});return"";case Fa:throw p(Error(338));case da:switch(c=a.type,ta(c),c._status){case 1:return a=[n.createElement(c._result,x({ref:a.ref},
39
- a.props))],this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case 2:throw c._result;default:throw p(Error(295));}case Ga:throw p(Error(343));}throw p(Error(130),null==c?c:typeof c,"");};b.renderDOM=function(a,b,g){var c=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===g&&oa(c);if(!ra.hasOwnProperty(c)){if(!Oa.test(c))throw p(Error(65),c);ra[c]=!0}var d=a.props;if("input"===c)d=x({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?
40
- d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===c){var e=d.value;if(null==e){e=d.defaultValue;var f=d.children;if(null!=f){if(null!=e)throw p(Error(92));if(Array.isArray(f)){if(!(1>=f.length))throw p(Error(93));f=f[0]}e=""+f}null==e&&(e="")}d=x({},d,{value:void 0,children:""+e})}else if("select"===c)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=x({},d,{value:void 0});else if("option"===c){f=this.currentSelectValue;var h=Ca(d.children);
41
- if(null!=f){var m=null!=d.value?d.value+"":h;e=!1;if(Array.isArray(f))for(var k=0;k<f.length;k++){if(""+f[k]===m){e=!0;break}}else e=""+f===m;d=x({selected:void 0,children:void 0},d,{selected:e,children:h})}}if(e=d){if(Ja[c]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw p(Error(137),c,"");if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw p(Error(60));if(!("object"===typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML))throw p(Error(61));}if(null!=e.style&&
42
- "object"!==typeof e.style)throw p(Error(62),"");}e=d;f=this.makeStaticMarkup;h=1===this.stack.length;m="<"+a.type;for(w in e)if(Pa.call(e,w)){var n=e[w];if(null!=n){if("style"===w){k=void 0;var q="",v="";for(k in n)if(n.hasOwnProperty(k)){var y=0===k.indexOf("--"),t=n[k];if(null!=t){if(y)var u=k;else if(u=k,V.hasOwnProperty(u))u=V[u];else{var A=u.replace(La,"-$1").toLowerCase().replace(Ma,"-ms-");u=V[u]=A}q+=v+u+":";v=k;y=null==t||"boolean"===typeof t||""===t?"":y||"number"!==typeof t||0===t||G.hasOwnProperty(v)&&
43
- G[v]?(""+t).trim():t+"px";q+=y;v=";"}}n=q||null}k=null;b:if(y=c,t=e,-1===y.indexOf("-"))y="string"===typeof t.is;else switch(y){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":y=!1;break b;default:y=!0}y?Qa.hasOwnProperty(w)||(k=w,k=fa(k)&&null!=n?k+"="+('"'+C(n)+'"'):""):k=za(w,n);k&&(m+=" "+k)}}f||h&&(m+=' data-reactroot=""');var w=m;e="";qa.hasOwnProperty(c)?w+="/>":(w+=">",
44
- e="</"+a.type+">");a:{f=d.dangerouslySetInnerHTML;if(null!=f){if(null!=f.__html){f=f.__html;break a}}else if(f=d.children,"string"===typeof f||"number"===typeof f){f=C(f);break a}f=null}null!=f?(d=[],Na[c]&&"\n"===f.charAt(0)&&(w+="\n"),w+=f):d=B(d.children);a=a.type;g=null==g||"http://www.w3.org/1999/xhtml"===g?oa(a):"http://www.w3.org/2000/svg"===g&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":g;this.stack.push({domNamespace:g,type:c,children:d,childIndex:0,context:b,footer:e});this.previousWasTextNode=
45
- !1;return w};return a}();h={renderToString:function(a){a=new sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw p(Error(207));},renderToStaticNodeStream:function(){throw p(Error(208));},version:"16.10.0"};h=(A={default:h},h)||A;return h.default||h});
15
+ C(b)+'"')}return fa(a)?a+"="+('"'+C(b)+'"'):""}function Aa(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function A(){if(null===u)throw Error(p(321));return u}function ka(){if(0<J)throw Error(p(312));return{memoizedState:null,queue:null,next:null}}function O(){null===e?null===K?(F=!1,K=e=ka()):(F=!0,e=K):null===e.next?(F=!1,e=e.next=ka()):(F=!0,e=e.next);return e}function la(a,b,c,d){for(;P;)P=!1,J+=1,e=null,c=a(b,d);K=u=null;J=0;e=t=null;return c}function ma(a,b){return"function"===typeof b?
16
+ b(a):b}function na(a,b,c){u=A();e=O();if(F){var d=e.queue;b=d.dispatch;if(null!==t&&(c=t.get(d),void 0!==c)){t.delete(d);d=e.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);e.memoizedState=d;return[d,b]}return[e.memoizedState,b]}a=a===ma?"function"===typeof b?b():b:void 0!==c?c(b):b;e.memoizedState=a;a=e.queue={last:null,dispatch:null};a=a.dispatch=Ba.bind(null,u,a);return[e.memoizedState,a]}function Ba(a,b,c){if(!(25>J))throw Error(p(301));if(a===u)if(P=!0,a={action:c,next:null},null===
17
+ t&&(t=new Map),c=t.get(b),void 0===c)t.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Q(){}function oa(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"}}function Ca(a){if(void 0===a||null===a)return a;var b="";n.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function pa(a,b){if(void 0===a)throw Error(p(152,I(b)||"Component"));}function Da(a,b,c){function d(d,h){var f=
18
+ h.prototype&&h.prototype.isReactComponent,g=ua(h,b,c,f),v=[],z=!1,e={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===v)return null},enqueueReplaceState:function(a,c){z=!0;v=[c]},enqueueSetState:function(a,c){if(null===v)return null;v.push(c)}};if(f){if(f=new h(d.props,g,e),"function"===typeof h.getDerivedStateFromProps){var k=h.getDerivedStateFromProps.call(null,d.props,f.state);null!=k&&(f.state=x({},f.state,k))}}else if(u={},f=h(d.props,g,e),f=la(h,d.props,f,g),null==f||
19
+ null==f.render){a=f;pa(a,h);return}f.props=d.props;f.context=g;f.updater=e;e=f.state;void 0===e&&(f.state=e=null);if("function"===typeof f.UNSAFE_componentWillMount||"function"===typeof f.componentWillMount)if("function"===typeof f.componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&f.componentWillMount(),"function"===typeof f.UNSAFE_componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&f.UNSAFE_componentWillMount(),v.length){e=v;var m=z;v=null;z=!1;if(m&&1===e.length)f.state=
20
+ e[0];else{k=m?e[0]:f.state;var q=!0;for(m=m?1:0;m<e.length;m++){var r=e[m];r="function"===typeof r?r.call(f,k,d.props,g):r;null!=r&&(q?(q=!1,k=x({},k,r)):x(k,r))}f.state=k}}else v=null;a=f.render();pa(a,h);if("function"===typeof f.getChildContext&&(d=h.childContextTypes,"object"===typeof d)){var l=f.getChildContext();for(var n in l)if(!(n in d))throw Error(p(108,I(h)||"Unknown",n));}l&&(b=x({},b,l))}for(;n.isValidElement(a);){var g=a,h=g.type;if("function"!==typeof h)break;d(g,h)}return{child:a,context:b}}
21
+ var x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,k="function"===typeof Symbol&&Symbol.for,W=k?Symbol.for("react.portal"):60106,L=k?Symbol.for("react.fragment"):60107,Y=k?Symbol.for("react.strict_mode"):60108,X=k?Symbol.for("react.profiler"):60114,N=k?Symbol.for("react.provider"):60109,aa=k?Symbol.for("react.context"):60110,Ea=k?Symbol.for("react.concurrent_mode"):60111,ba=k?Symbol.for("react.forward_ref"):60112,M=k?Symbol.for("react.suspense"):60113,Z=k?Symbol.for("react.suspense_list"):
22
+ 60120,ca=k?Symbol.for("react.memo"):60115,da=k?Symbol.for("react.lazy"):60116,Fa=k?Symbol.for("react.fundamental"):60117,Ga=k?Symbol.for("react.scope"):60119;k=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null});k.hasOwnProperty("ReactCurrentBatchConfig")||(k.ReactCurrentBatchConfig={suspense:null});for(var ea={},q=new Uint16Array(16),D=0;15>D;D++)q[D]=D+1;q[15]=0;var va=/^[: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]*$/,
23
+ ha=Object.prototype.hasOwnProperty,ja={},ia={},m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){m[a]=new l(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];m[b]=new l(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){m[a]=new l(a,
24
+ 2,!1,a.toLowerCase(),null,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){m[a]=new l(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){m[a]=new l(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){m[a]=
25
+ new l(a,3,!0,a,null,!1)});["capture","download"].forEach(function(a){m[a]=new l(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){m[a]=new l(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){m[a]=new l(a,5,!1,a.toLowerCase(),null,!1)});var S=/[\-:]([a-z])/g,T=function(a){return a[1].toUpperCase()};"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=
26
+ a.replace(S,T);m[b]=new l(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(S,T);m[b]=new l(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(S,T);m[b]=new l(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){m[a]=new l(a,1,!1,a.toLowerCase(),null,!1)});m.xlinkHref=new l("xlinkHref",1,!1,"xlink:href",
27
+ "http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){m[a]=new l(a,1,!1,a.toLowerCase(),null,!0)});var ya=/["'&<>]/,Ha="function"===typeof Object.is?Object.is:Aa,u=null,K=null,e=null,F=!1,P=!1,t=null,J=0,G=0,Ia={readContext:function(a,b){b=G;E(a,b);return a[b]},useContext:function(a,b){A();b=G;E(a,b);return a[b]},useMemo:function(a,b){u=A();e=O();b=void 0===b?null:b;if(null!==e){var c=e.memoizedState;if(null!==c&&null!==b){a:{var d=c[1];if(null===d)d=!1;else{for(var g=
28
+ 0;g<d.length&&g<b.length;g++)if(!Ha(b[g],d[g])){d=!1;break a}d=!0}}if(d)return c[0]}}a=a();e.memoizedState=[a,b];return a},useReducer:na,useRef:function(a){u=A();e=O();var b=e.memoizedState;return null===b?(a={current:a},e.memoizedState=a):b},useState:function(a){return na(ma,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:Q,useEffect:Q,useDebugValue:Q,useResponder:function(a,b){return{props:b,responder:a}},useDeferredValue:function(a,b){A();return a},useTransition:function(a){A();
29
+ return[function(a){a()},!1]}},qa={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},Ja=x({menuitem:!0},qa),H={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,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,
30
+ gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,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},Ka=["Webkit","ms","Moz","O"];Object.keys(H).forEach(function(a){Ka.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);H[b]=H[a]})});var La=/([A-Z])/g,Ma=/^ms-/,B=n.Children.toArray,U=k.ReactCurrentDispatcher,
31
+ Na={listing:!0,pre:!0,textarea:!0},Oa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ra={},V={},Pa=Object.prototype.hasOwnProperty,Qa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},sa=function(){function a(a,b){n.isValidElement(a)?a.type!==L?a=[a]:(a=a.props.children,a=n.isValidElement(a)?[a]:B(a)):a=B(a);a={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:a,childIndex:0,context:ea,footer:""};var c=q[0];if(0===c){var h=q;c=h.length;var d=
32
+ 2*c;if(!(65536>=d))throw Error(p(304));var z=new Uint16Array(d);z.set(h);q=z;q[0]=c+1;for(h=c;h<d-1;h++)q[h]=h+1;q[d-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[a];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=b;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}var b=a.prototype;b.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;q[a]=q[0];q[0]=a}};b.pushProvider=
33
+ function(a){var b=++this.contextIndex,c=a.type._context,h=this.threadID;E(c,h);var v=c[h];this.contextStack[b]=c;this.contextValueStack[b]=v;c[h]=a.props.value};b.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};b.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};b.read=function(a){if(this.exhausted)return null;
34
+ var b=G;G=this.threadID;var c=U.current;U.current=Ia;try{for(var h=[""],v=!1;h[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var z=this.threadID;q[z]=q[0];q[0]=z;break}var f=this.stack[this.stack.length-1];if(v||f.childIndex>=f.children.length){var e=f.footer;""!==e&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===f.type)this.currentSelectValue=null;else if(null!=f.type&&null!=f.type.type&&f.type.type.$$typeof===N)this.popProvider(f.type);else if(f.type===M){this.suspenseDepth--;
35
+ var k=h.pop();if(v){v=!1;var m=f.fallbackFrame;if(!m)throw Error(p(303));this.stack.push(m);h[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else h[this.suspenseDepth]+=k}h[this.suspenseDepth]+=e}else{var l=f.children[f.childIndex++],n="";try{n+=this.render(l,f.context,f.domNamespace)}catch(R){if(null!=R&&"function"===typeof R.then)throw Error(p(294));throw R;}finally{}h.length<=this.suspenseDepth&&h.push("");h[this.suspenseDepth]+=n}}return h[0]}finally{U.current=c,G=b}};b.render=function(a,b,g){if("string"===
36
+ typeof a||"number"===typeof a){g=""+a;if(""===g)return"";if(this.makeStaticMarkup)return C(g);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+C(g);this.previousWasTextNode=!0;return C(g)}b=Da(a,b,this.threadID);a=b.child;b=b.context;if(null===a||!1===a)return"";if(!n.isValidElement(a)){if(null!=a&&null!=a.$$typeof){g=a.$$typeof;if(g===W)throw Error(p(257));throw Error(p(258,g.toString()));}a=B(a);this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""});return""}var c=
37
+ a.type;if("string"===typeof c)return this.renderDOM(a,b,g);switch(c){case Y:case Ea:case X:case Z:case L:return a=B(a.props.children),this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case M:throw Error(p(294));}if("object"===typeof c&&null!==c)switch(c.$$typeof){case ba:u={};var d=c.render(a.props,a.ref);d=la(c.render,a.props,d,a.ref);d=B(d);this.stack.push({type:null,domNamespace:g,children:d,childIndex:0,context:b,footer:""});return"";case ca:return a=[n.createElement(c.type,
38
+ x({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case N:return c=B(a.props.children),g={type:a,domNamespace:g,children:c,childIndex:0,context:b,footer:""},this.pushProvider(a),this.stack.push(g),"";case aa:c=a.type;d=a.props;var e=this.threadID;E(c,e);c=B(d.children(c[e]));this.stack.push({type:a,domNamespace:g,children:c,childIndex:0,context:b,footer:""});return"";case Fa:throw Error(p(338));case da:switch(c=a.type,ta(c),c._status){case 1:return a=
39
+ [n.createElement(c._result,x({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:g,children:a,childIndex:0,context:b,footer:""}),"";case 2:throw c._result;default:throw Error(p(295));}case Ga:throw Error(p(343));}throw Error(p(130,null==c?c:typeof c,""));};b.renderDOM=function(a,b,g){var c=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===g&&oa(c);if(!ra.hasOwnProperty(c)){if(!Oa.test(c))throw Error(p(65,c));ra[c]=!0}var d=a.props;if("input"===c)d=x({type:void 0},d,{defaultChecked:void 0,
40
+ defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===c){var e=d.value;if(null==e){e=d.defaultValue;var f=d.children;if(null!=f){if(null!=e)throw Error(p(92));if(Array.isArray(f)){if(!(1>=f.length))throw Error(p(93));f=f[0]}e=""+f}null==e&&(e="")}d=x({},d,{value:void 0,children:""+e})}else if("select"===c)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=x({},d,{value:void 0});else if("option"===c){f=this.currentSelectValue;
41
+ var k=Ca(d.children);if(null!=f){var m=null!=d.value?d.value+"":k;e=!1;if(Array.isArray(f))for(var l=0;l<f.length;l++){if(""+f[l]===m){e=!0;break}}else e=""+f===m;d=x({selected:void 0,children:void 0},d,{selected:e,children:k})}}if(e=d){if(Ja[c]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(p(137,c,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(p(60));if(!("object"===typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML))throw Error(p(61));
42
+ }if(null!=e.style&&"object"!==typeof e.style)throw Error(p(62,""));}e=d;f=this.makeStaticMarkup;k=1===this.stack.length;m="<"+a.type;for(w in e)if(Pa.call(e,w)){var n=e[w];if(null!=n){if("style"===w){l=void 0;var q="",u="";for(l in n)if(n.hasOwnProperty(l)){var y=0===l.indexOf("--"),r=n[l];if(null!=r){if(y)var t=l;else if(t=l,V.hasOwnProperty(t))t=V[t];else{var A=t.replace(La,"-$1").toLowerCase().replace(Ma,"-ms-");t=V[t]=A}q+=u+t+":";u=l;y=null==r||"boolean"===typeof r||""===r?"":y||"number"!==typeof r||
43
+ 0===r||H.hasOwnProperty(u)&&H[u]?(""+r).trim():r+"px";q+=y;u=";"}}n=q||null}l=null;b:if(y=c,r=e,-1===y.indexOf("-"))y="string"===typeof r.is;else switch(y){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":y=!1;break b;default:y=!0}y?Qa.hasOwnProperty(w)||(l=w,l=fa(l)&&null!=n?l+"="+('"'+C(n)+'"'):""):l=za(w,n);l&&(m+=" "+l)}}f||k&&(m+=' data-reactroot=""');var w=m;e="";qa.hasOwnProperty(c)?
44
+ w+="/>":(w+=">",e="</"+a.type+">");a:{f=d.dangerouslySetInnerHTML;if(null!=f){if(null!=f.__html){f=f.__html;break a}}else if(f=d.children,"string"===typeof f||"number"===typeof f){f=C(f);break a}f=null}null!=f?(d=[],Na[c]&&"\n"===f.charAt(0)&&(w+="\n"),w+=f):d=B(d.children);a=a.type;g=null==g||"http://www.w3.org/1999/xhtml"===g?oa(a):"http://www.w3.org/2000/svg"===g&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":g;this.stack.push({domNamespace:g,type:c,children:d,childIndex:0,context:b,footer:e});
45
+ this.previousWasTextNode=!1;return w};return a}();k={renderToString:function(a){a=new sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(p(207));},renderToStaticNodeStream:function(){throw Error(p(208));},version:"16.12.0"};k=(D={default:k},k)||D;return k.default||k});
@@ -1,4 +1,4 @@
1
- /** @license React v16.10.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -19,16 +19,8 @@ var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
19
19
  var _assign = ReactInternals.assign;
20
20
 
21
21
  // Do not require this module directly! Use normal `invariant` calls with
22
- // template literal strings. The messages will be converted to ReactError during
23
- // build, and in production they will be minified.
24
-
25
- // Do not require this module directly! Use normal `invariant` calls with
26
- // template literal strings. The messages will be converted to ReactError during
27
- // build, and in production they will be minified.
28
- function ReactError(error) {
29
- error.name = 'Invariant Violation';
30
- return error;
31
- }
22
+ // template literal strings. The messages will be replaced with error codes
23
+ // during build.
32
24
 
33
25
  /**
34
26
  * Use invariant() to assert state which your program assumes to be true.
@@ -180,12 +172,8 @@ var Hydrating =
180
172
 
181
173
  // Union of all host effects
182
174
 
183
- // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
184
-
185
- // In some cases, StrictMode should also double-render lifecycles.
186
- // This can be confusing for tests though,
187
- // And it can be bad for performance in production.
188
- // This feature flag can be used to control the behavior:
175
+ // Helps identify side effects in render-phase lifecycle hooks and setState
176
+ // reducers by double invoking them in Strict Mode.
189
177
 
190
178
  // To preserve the "Pause on caught exceptions" behavior of the debugger, we
191
179
  // replay the begin phase of a failed component inside invokeGuardedCallback.
@@ -196,9 +184,8 @@ var Hydrating =
196
184
 
197
185
  // Trace which interactions trigger each commit.
198
186
 
199
- // Only used in www builds.
187
+ // SSR experiments
200
188
 
201
- // TODO: true? Here it might just be false.
202
189
 
203
190
  // Only used in www builds.
204
191
 
@@ -213,9 +200,6 @@ var Hydrating =
213
200
  // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
214
201
 
215
202
 
216
- // See https://github.com/react-native-community/discussions-and-proposals/issues/72 for more information
217
- // This is a flag so we can fix warnings in RN core before turning it on
218
-
219
203
  // Experimental React Flare event system and event components support.
220
204
 
221
205
  // Experimental Host Component support.
@@ -225,15 +209,11 @@ var Hydrating =
225
209
  // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
226
210
 
227
211
  // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
228
- // Till then, we warn about the missing mock, but still fallback to a sync mode compatible version
212
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
229
213
 
230
214
  // For tests, we flush suspense fallbacks in an act scope;
231
215
  // *except* in some of our own tests, where we test incremental loading states.
232
216
 
233
- // Changes priority of some events like mousemove to user-blocking priority,
234
- // but without making them discrete. The flag exists in case it causes
235
- // starvation problems.
236
-
237
217
  // Add a callback property to suspense to notify which promises are currently
238
218
  // in the update queue. This allows reporting and tracing of what is causing
239
219
  // the user to see a loading state.
@@ -244,6 +224,12 @@ var Hydrating =
244
224
  // from React.createElement to React.jsx
245
225
  // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
246
226
 
227
+
228
+
229
+
230
+
231
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
232
+
247
233
  var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
248
234
  function getNearestMountedFiber(fiber) {
249
235
  var node = fiber;
@@ -288,13 +274,11 @@ function getNearestMountedFiber(fiber) {
288
274
 
289
275
 
290
276
  function assertIsMounted(fiber) {
291
- (function () {
292
- if (!(getNearestMountedFiber(fiber) === fiber)) {
293
- {
294
- throw ReactError(Error("Unable to find node on an unmounted component."));
295
- }
277
+ if (!(getNearestMountedFiber(fiber) === fiber)) {
278
+ {
279
+ throw Error("Unable to find node on an unmounted component.");
296
280
  }
297
- })();
281
+ }
298
282
  }
299
283
 
300
284
  function findCurrentFiberUsingSlowPath(fiber) {
@@ -304,13 +288,11 @@ function findCurrentFiberUsingSlowPath(fiber) {
304
288
  // If there is no alternate, then we only need to check if it is mounted.
305
289
  var nearestMounted = getNearestMountedFiber(fiber);
306
290
 
307
- (function () {
308
- if (!(nearestMounted !== null)) {
309
- {
310
- throw ReactError(Error("Unable to find node on an unmounted component."));
311
- }
291
+ if (!(nearestMounted !== null)) {
292
+ {
293
+ throw Error("Unable to find node on an unmounted component.");
312
294
  }
313
- })();
295
+ }
314
296
 
315
297
  if (nearestMounted !== fiber) {
316
298
  return null;
@@ -375,13 +357,11 @@ function findCurrentFiberUsingSlowPath(fiber) {
375
357
  // way this could possibly happen is if this was unmounted, if at all.
376
358
 
377
359
 
378
- (function () {
360
+ {
379
361
  {
380
- {
381
- throw ReactError(Error("Unable to find node on an unmounted component."));
382
- }
362
+ throw Error("Unable to find node on an unmounted component.");
383
363
  }
384
- })();
364
+ }
385
365
  }
386
366
 
387
367
  if (a.return !== b.return) {
@@ -440,34 +420,28 @@ function findCurrentFiberUsingSlowPath(fiber) {
440
420
  _child = _child.sibling;
441
421
  }
442
422
 
443
- (function () {
444
- if (!didFindChild) {
445
- {
446
- throw ReactError(Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."));
447
- }
423
+ if (!didFindChild) {
424
+ {
425
+ throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
448
426
  }
449
- })();
427
+ }
450
428
  }
451
429
  }
452
430
 
453
- (function () {
454
- if (!(a.alternate === b)) {
455
- {
456
- throw ReactError(Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."));
457
- }
431
+ if (!(a.alternate === b)) {
432
+ {
433
+ throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
458
434
  }
459
- })();
435
+ }
460
436
  } // If the root is not a host container, we're in a disconnected tree. I.e.
461
437
  // unmounted.
462
438
 
463
439
 
464
- (function () {
465
- if (!(a.tag === HostRoot)) {
466
- {
467
- throw ReactError(Error("Unable to find node on an unmounted component."));
468
- }
440
+ if (!(a.tag === HostRoot)) {
441
+ {
442
+ throw Error("Unable to find node on an unmounted component.");
469
443
  }
470
- })();
444
+ }
471
445
 
472
446
  if (a.stateNode.current === a) {
473
447
  // We've determined that A is the current branch.
@@ -740,13 +714,11 @@ function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {
740
714
  function releasePooledEvent(event) {
741
715
  var EventConstructor = this;
742
716
 
743
- (function () {
744
- if (!(event instanceof EventConstructor)) {
745
- {
746
- throw ReactError(Error("Trying to release an event instance into a pool of a different type."));
747
- }
717
+ if (!(event instanceof EventConstructor)) {
718
+ {
719
+ throw Error("Trying to release an event instance into a pool of a different type.");
748
720
  }
749
- })();
721
+ }
750
722
 
751
723
  event.destructor();
752
724
 
@@ -1341,13 +1313,11 @@ function validateClassInstance(inst, methodName) {
1341
1313
  received = stringified;
1342
1314
  }
1343
1315
 
1344
- (function () {
1316
+ {
1345
1317
  {
1346
- {
1347
- throw ReactError(Error(methodName + "(...): the first argument must be a React class instance. Instead received: " + received + "."));
1348
- }
1318
+ throw Error(methodName + "(...): the first argument must be a React class instance. Instead received: " + received + ".");
1349
1319
  }
1350
- })();
1320
+ }
1351
1321
  }
1352
1322
  /**
1353
1323
  * Utilities for making it easy to test React components.
@@ -1430,13 +1400,11 @@ var ReactTestUtils = {
1430
1400
  var classList = className.split(/\s+/);
1431
1401
 
1432
1402
  if (!Array.isArray(classNames)) {
1433
- (function () {
1434
- if (!(classNames !== undefined)) {
1435
- {
1436
- throw ReactError(Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument."));
1437
- }
1403
+ if (!(classNames !== undefined)) {
1404
+ {
1405
+ throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
1438
1406
  }
1439
- })();
1407
+ }
1440
1408
 
1441
1409
  classNames = classNames.split(/\s+/);
1442
1410
  }
@@ -1572,21 +1540,17 @@ var ReactTestUtils = {
1572
1540
 
1573
1541
  function makeSimulator(eventType) {
1574
1542
  return function (domNode, eventData) {
1575
- (function () {
1576
- if (!!React.isValidElement(domNode)) {
1577
- {
1578
- throw ReactError(Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering."));
1579
- }
1543
+ if (!!React.isValidElement(domNode)) {
1544
+ {
1545
+ throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
1580
1546
  }
1581
- })();
1547
+ }
1582
1548
 
1583
- (function () {
1584
- if (!!ReactTestUtils.isCompositeComponent(domNode)) {
1585
- {
1586
- throw ReactError(Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead."));
1587
- }
1549
+ if (!!ReactTestUtils.isCompositeComponent(domNode)) {
1550
+ {
1551
+ throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
1588
1552
  }
1589
- })();
1553
+ }
1590
1554
 
1591
1555
  var dispatchConfig = eventNameDispatchConfigs[eventType];
1592
1556
  var fakeNativeEvent = new Event();
@@ -1,4 +1,4 @@
1
- /** @license React v16.10.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -6,13 +6,13 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- 'use strict';(function(k,m){"object"===typeof exports&&"undefined"!==typeof module?module.exports=m(require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["react","react-dom"],m):k.ReactTestUtils=m(k.React,k.ReactDOM)})(this,function(k,m){function l(a){for(var b=a.message,c="https://reactjs.org/docs/error-decoder.html?invariant="+b,e=1;e<arguments.length;e++)c+="&args[]="+encodeURIComponent(arguments[e]);a.message="Minified React error #"+b+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ";
10
- return a}function F(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function G(a){if(F(a)!==a)throw l(Error(188));}function P(a){var b=a.alternate;if(!b){b=F(a);if(null===b)throw l(Error(188));return b!==a?null:a}for(var c=a,e=b;;){var d=c.return;if(null===d)break;var h=d.alternate;if(null===h){e=d.return;if(null!==e){c=e;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===c)return G(d),
11
- a;if(h===e)return G(d),b;h=h.sibling}throw l(Error(188));}if(c.return!==e.return)c=d,e=h;else{for(var f=!1,g=d.child;g;){if(g===c){f=!0;c=d;e=h;break}if(g===e){f=!0;e=d;c=h;break}g=g.sibling}if(!f){for(g=h.child;g;){if(g===c){f=!0;c=h;e=d;break}if(g===e){f=!0;e=h;c=d;break}g=g.sibling}if(!f)throw l(Error(189));}}if(c.alternate!==e)throw l(Error(190));}if(3!==c.tag)throw l(Error(188));return c.stateNode.current===c?a:b}function u(){return!0}function v(){return!1}function q(a,b,c,e){this.dispatchConfig=
12
- a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var d in a)a.hasOwnProperty(d)&&((b=a[d])?this[d]=b(c):"target"===d?this.target=e:this[d]=c[d]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?u:v;this.isPropagationStopped=v;return this}function Q(a,b,c,e){if(this.eventPool.length){var d=this.eventPool.pop();this.call(d,a,b,c,e);return d}return new this(a,b,c,e)}function R(a){if(!(a instanceof this))throw l(Error(279));a.destructor();
13
- 10>this.eventPool.length&&this.eventPool.push(a)}function H(a){a.eventPool=[];a.getPooled=Q;a.release=R}function w(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function x(a){if(A[a])return A[a];if(!p[a])return a;var b=p[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in I)return A[a]=b[c];return a}function J(a){try{B(),S(function(){B()?J(a):a()})}catch(b){a(b)}}function K(a){}function T(a,b){if(!a)return[];a=P(a);if(!a)return[];for(var c=a,e=[];;){if(5===
14
- c.tag||6===c.tag||1===c.tag||0===c.tag){var d=c.stateNode;b(d)&&e.push(d)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return e;for(;!c.sibling;){if(!c.return||c.return===a)return e;c=c.return}c.sibling.return=c.return;c=c.sibling}}}function n(a,b){if(a&&!a._reactInternalFiber){var c=""+a;a=Array.isArray(a)?"an array":a&&1===a.nodeType&&a.tagName?"a DOM node":"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c;throw l(Error(286),b,a);}}function U(a){return function(b,
15
- c){if(k.isValidElement(b))throw l(Error(228));if(g.isCompositeComponent(b))throw l(Error(229));var e=L[a],d=new K;d.target=b;d.type=a.toLowerCase();var h=V(b),f=new q(e,h,d,b);f.persist();r(f,c);e.phasedRegistrationNames?W(f):X(f);m.unstable_batchedUpdates(function(){Y(b);Z(f)});aa()}}function ba(a,b){return function(c,e){var d=new K(a);r(d,e);g.isDOMComponent(c)?(c=ca(c),d.target=c,M(b,1,d)):c.tagName&&(d.target=c,M(b,1,d))}}var r=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,f=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
9
+ 'use strict';(function(k,m){"object"===typeof exports&&"undefined"!==typeof module?module.exports=m(require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["react","react-dom"],m):k.ReactTestUtils=m(k.React,k.ReactDOM)})(this,function(k,m){function l(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
10
+ function F(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function G(a){if(F(a)!==a)throw Error(l(188));}function P(a){var b=a.alternate;if(!b){b=F(a);if(null===b)throw Error(l(188));return b!==a?null:a}for(var c=a,e=b;;){var d=c.return;if(null===d)break;var h=d.alternate;if(null===h){e=d.return;if(null!==e){c=e;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===c)return G(d),a;if(h===
11
+ e)return G(d),b;h=h.sibling}throw Error(l(188));}if(c.return!==e.return)c=d,e=h;else{for(var f=!1,g=d.child;g;){if(g===c){f=!0;c=d;e=h;break}if(g===e){f=!0;e=d;c=h;break}g=g.sibling}if(!f){for(g=h.child;g;){if(g===c){f=!0;c=h;e=d;break}if(g===e){f=!0;e=h;c=d;break}g=g.sibling}if(!f)throw Error(l(189));}}if(c.alternate!==e)throw Error(l(190));}if(3!==c.tag)throw Error(l(188));return c.stateNode.current===c?a:b}function u(){return!0}function v(){return!1}function q(a,b,c,e){this.dispatchConfig=a;this._targetInst=
12
+ b;this.nativeEvent=c;a=this.constructor.Interface;for(var d in a)a.hasOwnProperty(d)&&((b=a[d])?this[d]=b(c):"target"===d?this.target=e:this[d]=c[d]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?u:v;this.isPropagationStopped=v;return this}function Q(a,b,c,e){if(this.eventPool.length){var d=this.eventPool.pop();this.call(d,a,b,c,e);return d}return new this(a,b,c,e)}function R(a){if(!(a instanceof this))throw Error(l(279));a.destructor();10>this.eventPool.length&&
13
+ this.eventPool.push(a)}function H(a){a.eventPool=[];a.getPooled=Q;a.release=R}function w(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function x(a){if(A[a])return A[a];if(!p[a])return a;var b=p[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in I)return A[a]=b[c];return a}function J(a){try{B(),S(function(){B()?J(a):a()})}catch(b){a(b)}}function K(a){}function T(a,b){if(!a)return[];a=P(a);if(!a)return[];for(var c=a,e=[];;){if(5===c.tag||6===c.tag||
14
+ 1===c.tag||0===c.tag){var d=c.stateNode;b(d)&&e.push(d)}if(c.child)c.child.return=c,c=c.child;else{if(c===a)return e;for(;!c.sibling;){if(!c.return||c.return===a)return e;c=c.return}c.sibling.return=c.return;c=c.sibling}}}function n(a,b){if(a&&!a._reactInternalFiber){var c=""+a;a=Array.isArray(a)?"an array":a&&1===a.nodeType&&a.tagName?"a DOM node":"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c;throw Error(l(286,b,a));}}function U(a){return function(b,c){if(k.isValidElement(b))throw Error(l(228));
15
+ if(g.isCompositeComponent(b))throw Error(l(229));var e=L[a],d=new K;d.target=b;d.type=a.toLowerCase();var h=V(b),f=new q(e,h,d,b);f.persist();r(f,c);e.phasedRegistrationNames?W(f):X(f);m.unstable_batchedUpdates(function(){Y(b);Z(f)});aa()}}function ba(a,b){return function(c,e){var d=new K(a);r(d,e);g.isDOMComponent(c)?(c=ca(c),d.target=c,M(b,1,d)):c.tagName&&(d.target=c,M(b,1,d))}}var r=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,f=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
16
16
  f.hasOwnProperty("ReactCurrentDispatcher")||(f.ReactCurrentDispatcher={current:null});f.hasOwnProperty("ReactCurrentBatchConfig")||(f.ReactCurrentBatchConfig={suspense:null});r(q.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=u)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&
17
17
  (a.cancelBubble=!0),this.isPropagationStopped=u)},persist:function(){this.isPersistent=u},isPersistent:v,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=v;this._dispatchInstances=this._dispatchListeners=null}});q.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||
18
18
  Date.now()},defaultPrevented:null,isTrusted:null};q.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,e=function(){};e.prototype=c.prototype;e=new e;r(e,b.prototype);b.prototype=e;b.prototype.constructor=b;b.Interface=r({},c.Interface,a);b.extend=c.extend;H(b);return b};H(q);var C=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),p={animationend:w("Animation","AnimationEnd"),animationiteration:w("Animation",
@@ -20,7 +20,7 @@ Date.now()},defaultPrevented:null,isTrusted:null};q.extend=function(a){function
20
20
  7);var t=(module&&module[y])("timers").setImmediate}catch(a){t=function(a){var b=new MessageChannel;b.port1.onmessage=a;b.port2.postMessage(void 0)}}var S=t;t=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_flushAllWithoutAsserting;y=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events;var ha=y[11],D=y[12],ia=m.unstable_batchedUpdates,E=f.IsSomeRendererActing,N="function"===typeof t,B=t||function(){for(var a=!1;ha();)a=!0;return a},z=0,O=!1,ca=m.findDOMNode;f=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events;
21
21
  var V=f[0],L=f[4],W=f[5],X=f[6],Y=f[7],aa=f[8],M=f[9],Z=f[10],g={renderIntoDocument:function(a){var b=document.createElement("div");return m.render(a,b)},isElement:function(a){return k.isValidElement(a)},isElementOfType:function(a,b){return k.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&&k.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return g.isDOMComponent(a)?!1:null!=a&&"function"===
22
22
  typeof a.render&&"function"===typeof a.setState},isCompositeComponentWithType:function(a,b){return g.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){n(a,"findAllInRenderedTree");return a?T(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){n(a,"scryRenderedDOMComponentsWithClass");return g.findAllInRenderedTree(a,function(a){if(g.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d=
23
- c.split(/\s+/);if(!Array.isArray(b)){if(void 0===b)throw l(Error(11));b=b.split(/\s+/)}return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){n(a,"findRenderedDOMComponentWithClass");a=g.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a,b){n(a,"scryRenderedDOMComponentsWithTag");return g.findAllInRenderedTree(a,
23
+ c.split(/\s+/);if(!Array.isArray(b)){if(void 0===b)throw Error(l(11));b=b.split(/\s+/)}return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){n(a,"findRenderedDOMComponentWithClass");a=g.scryRenderedDOMComponentsWithClass(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for class:"+b);return a[0]},scryRenderedDOMComponentsWithTag:function(a,b){n(a,"scryRenderedDOMComponentsWithTag");return g.findAllInRenderedTree(a,
24
24
  function(a){return g.isDOMComponent(a)&&a.tagName.toUpperCase()===b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){n(a,"findRenderedDOMComponentWithTag");a=g.scryRenderedDOMComponentsWithTag(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for tag:"+b);return a[0]},scryRenderedComponentsWithType:function(a,b){n(a,"scryRenderedComponentsWithType");return g.findAllInRenderedTree(a,function(a){return g.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a,
25
25
  b){n(a,"findRenderedComponentWithType");a=g.scryRenderedComponentsWithType(a,b);if(1!==a.length)throw Error("Did not find exactly one match (found: "+a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return k.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{},act:function(a){function b(){z--;E.current=
26
26
  c;D.current=e}!1===O&&(O=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected."));z++;var c=E.current;var e=D.current;E.current=!0;D.current=!0;try{var d=ia(a)}catch(h){throw b(),h;}if(null!==d&&"object"===typeof d&&"function"===typeof d.then)return{then:function(a,e){d.then(function(){1<z||!0===N&&!0===c?(b(),a()):J(function(c){b();c?e(c):a()})},function(a){b();e(a)})}};try{1!==z||!1!==N&&!1!==c||B(),b()}catch(h){throw b(),h;}return{then:function(a){a()}}}};
@@ -1,4 +1,4 @@
1
- /** @license React v16.10.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -24,6 +24,7 @@ function flushBuffered(destination) {// WHATWG Streams do not yet have a way to
24
24
 
25
25
  function writeChunk(destination, buffer) {
26
26
  destination.enqueue(buffer);
27
+ return destination.desiredSize > 0;
27
28
  }
28
29
 
29
30
  function close(destination) {
@@ -34,7 +35,7 @@ function convertStringToBuffer(content) {
34
35
  return textEncoder.encode(content);
35
36
  }
36
37
 
37
- function formatChunk(type, props) {
38
+ function formatChunkAsString(type, props) {
38
39
  var str = '<' + type + '>';
39
40
 
40
41
  if (typeof props.children === 'string') {
@@ -42,7 +43,10 @@ function formatChunk(type, props) {
42
43
  }
43
44
 
44
45
  str += '</' + type + '>';
45
- return convertStringToBuffer(str);
46
+ return str;
47
+ }
48
+ function formatChunk(type, props) {
49
+ return convertStringToBuffer(formatChunkAsString(type, props));
46
50
  }
47
51
 
48
52
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
@@ -112,7 +116,7 @@ function startWork(request) {
112
116
  return performWork(request);
113
117
  });
114
118
  }
115
- function startFlowing(request, desiredBytes) {
119
+ function startFlowing(request) {
116
120
  request.flowing = false;
117
121
  flushCompletedChunks(request);
118
122
  }
@@ -128,7 +132,7 @@ function renderToReadableStream(children) {
128
132
  startWork(request);
129
133
  },
130
134
  pull: function (controller) {
131
- startFlowing(request, controller.desiredSize);
135
+ startFlowing(request);
132
136
  },
133
137
  cancel: function (reason) {}
134
138
  });
@@ -1,4 +1,4 @@
1
- /** @license React v16.10.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -6,5 +6,5 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- 'use strict';(function(g,e){"object"===typeof exports&&"undefined"!==typeof module?module.exports=e():"function"===typeof define&&define.amd?define(e):g.ReactDOMFizzServer=e()})(this,function(){function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return k.encode(a+("</"+b+">"))}function e(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}var k=new TextEncoder,l="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):
10
- 60103,d={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var f=a.children;a.children=null;if(!f||f.$$typeof===l){var d=f.type;f=f.props;"string"===typeof d&&(a.completedChunks.push(g(d,f)),a.flowing&&e(a))}},pull:function(a){a=c;a.flowing=!1;e(a)},cancel:function(a){}})}},h={default:d};d=h&&d||h;return d.default||d});
9
+ 'use strict';(function(g,e){"object"===typeof exports&&"undefined"!==typeof module?module.exports=e():"function"===typeof define&&define.amd?define(e):g.ReactDOMFizzServer=e()})(this,function(){function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return a+("</"+b+">")}function e(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}var k=new TextEncoder,l="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):
10
+ 60103,d={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var f=a.children;a.children=null;if(!f||f.$$typeof===l){var d=f.type;f=f.props;"string"===typeof d&&(a.completedChunks.push(k.encode(g(d,f))),a.flowing&&e(a))}},pull:function(a){a=c;a.flowing=!1;e(a)},cancel:function(a){}})}},h={default:d};d=h&&d||h;return d.default||d});