react-dom 16.8.1 → 16.8.2

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 (34) hide show
  1. package/build-info.json +6 -6
  2. package/cjs/react-dom-server.browser.development.js +55 -34
  3. package/cjs/react-dom-server.browser.production.min.js +3 -3
  4. package/cjs/react-dom-server.node.development.js +55 -34
  5. package/cjs/react-dom-server.node.production.min.js +3 -3
  6. package/cjs/react-dom-test-utils.development.js +2 -2
  7. package/cjs/react-dom-test-utils.production.min.js +1 -1
  8. package/cjs/react-dom-unstable-fire.development.js +464 -139
  9. package/cjs/react-dom-unstable-fire.production.min.js +252 -251
  10. package/cjs/react-dom-unstable-fire.profiling.min.js +175 -173
  11. package/cjs/react-dom-unstable-fizz.browser.development.js +1 -1
  12. package/cjs/react-dom-unstable-fizz.browser.production.min.js +1 -1
  13. package/cjs/react-dom-unstable-fizz.node.development.js +1 -1
  14. package/cjs/react-dom-unstable-fizz.node.production.min.js +1 -1
  15. package/cjs/react-dom-unstable-native-dependencies.development.js +2 -2
  16. package/cjs/react-dom-unstable-native-dependencies.production.min.js +1 -1
  17. package/cjs/react-dom.development.js +464 -139
  18. package/cjs/react-dom.production.min.js +252 -251
  19. package/cjs/react-dom.profiling.min.js +175 -173
  20. package/package.json +2 -2
  21. package/umd/react-dom-server.browser.development.js +55 -34
  22. package/umd/react-dom-server.browser.production.min.js +20 -20
  23. package/umd/react-dom-test-utils.development.js +2 -2
  24. package/umd/react-dom-test-utils.production.min.js +1 -1
  25. package/umd/react-dom-unstable-fire.development.js +472 -139
  26. package/umd/react-dom-unstable-fire.production.min.js +208 -207
  27. package/umd/react-dom-unstable-fire.profiling.min.js +208 -208
  28. package/umd/react-dom-unstable-fizz.browser.development.js +1 -1
  29. package/umd/react-dom-unstable-fizz.browser.production.min.js +1 -1
  30. package/umd/react-dom-unstable-native-dependencies.development.js +2 -2
  31. package/umd/react-dom-unstable-native-dependencies.production.min.js +1 -1
  32. package/umd/react-dom.development.js +472 -139
  33. package/umd/react-dom.production.min.js +208 -207
  34. package/umd/react-dom.profiling.min.js +208 -208
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "16.8.1",
3
+ "version": "16.8.2",
4
4
  "description": "React package for working with the DOM.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "loose-envify": "^1.1.0",
21
21
  "object-assign": "^4.1.1",
22
22
  "prop-types": "^15.6.2",
23
- "scheduler": "^0.13.1"
23
+ "scheduler": "^0.13.2"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.0.0"
@@ -1,4 +1,4 @@
1
- /** @license React v16.8.1
1
+ /** @license React v16.8.2
2
2
  * react-dom-server.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -62,7 +62,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
62
62
 
63
63
  // TODO: this is special because it gets imported during build.
64
64
 
65
- var ReactVersion = '16.8.1';
65
+ var ReactVersion = '16.8.2';
66
66
 
67
67
  var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
68
68
 
@@ -846,12 +846,15 @@ var capitalize = function (token) {
846
846
  attributeName, 'http://www.w3.org/XML/1998/namespace');
847
847
  });
848
848
 
849
- // Special case: this attribute exists both in HTML and SVG.
850
- // Its "tabindex" attribute name is case-sensitive in SVG so we can't just use
851
- // its React `tabIndex` name, like we do for attributes that exist only in HTML.
852
- properties.tabIndex = new PropertyInfoRecord('tabIndex', STRING, false, // mustUseProperty
853
- 'tabindex', // attributeName
854
- null);
849
+ // These attribute exists both in HTML and SVG.
850
+ // The attribute name is case-sensitive in SVG so we can't just use
851
+ // the React name like we do for attributes that exist only in HTML.
852
+ ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
853
+ properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
854
+ attributeName.toLowerCase(), // attributeName
855
+ null);
856
+ } // attributeNamespace
857
+ );
855
858
 
856
859
  // code copied and modified from escape-html
857
860
  /**
@@ -3335,7 +3338,25 @@ var ReactDOMServerRenderer = function () {
3335
3338
  case REACT_SUSPENSE_TYPE:
3336
3339
  {
3337
3340
  if (enableSuspenseServerRenderer) {
3338
- var fallbackChildren = toArray(nextChild.props.fallback);
3341
+ var fallback = nextChild.props.fallback;
3342
+ if (fallback === undefined) {
3343
+ // If there is no fallback, then this just behaves as a fragment.
3344
+ var _nextChildren3 = toArray(nextChild.props.children);
3345
+ var _frame3 = {
3346
+ type: null,
3347
+ domNamespace: parentNamespace,
3348
+ children: _nextChildren3,
3349
+ childIndex: 0,
3350
+ context: context,
3351
+ footer: ''
3352
+ };
3353
+ {
3354
+ _frame3.debugElementStack = [];
3355
+ }
3356
+ this.stack.push(_frame3);
3357
+ return '';
3358
+ }
3359
+ var fallbackChildren = toArray(fallback);
3339
3360
  var _nextChildren2 = toArray(nextChild.props.children);
3340
3361
  var _fallbackFrame2 = {
3341
3362
  type: null,
@@ -3353,7 +3374,7 @@ var ReactDOMServerRenderer = function () {
3353
3374
  children: _nextChildren2,
3354
3375
  childIndex: 0,
3355
3376
  context: context,
3356
- footer: ''
3377
+ footer: '<!--/$-->'
3357
3378
  };
3358
3379
  {
3359
3380
  _frame2.debugElementStack = [];
@@ -3361,7 +3382,7 @@ var ReactDOMServerRenderer = function () {
3361
3382
  }
3362
3383
  this.stack.push(_frame2);
3363
3384
  this.suspenseDepth++;
3364
- return '';
3385
+ return '<!--$-->';
3365
3386
  } else {
3366
3387
  invariant(false, 'ReactDOMServer does not yet support Suspense.');
3367
3388
  }
@@ -3375,64 +3396,64 @@ var ReactDOMServerRenderer = function () {
3375
3396
  case REACT_FORWARD_REF_TYPE:
3376
3397
  {
3377
3398
  var element = nextChild;
3378
- var _nextChildren3 = void 0;
3399
+ var _nextChildren4 = void 0;
3379
3400
  var componentIdentity = {};
3380
3401
  prepareToUseHooks(componentIdentity);
3381
- _nextChildren3 = elementType.render(element.props, element.ref);
3382
- _nextChildren3 = finishHooks(elementType.render, element.props, _nextChildren3, element.ref);
3383
- _nextChildren3 = toArray(_nextChildren3);
3384
- var _frame3 = {
3402
+ _nextChildren4 = elementType.render(element.props, element.ref);
3403
+ _nextChildren4 = finishHooks(elementType.render, element.props, _nextChildren4, element.ref);
3404
+ _nextChildren4 = toArray(_nextChildren4);
3405
+ var _frame4 = {
3385
3406
  type: null,
3386
3407
  domNamespace: parentNamespace,
3387
- children: _nextChildren3,
3408
+ children: _nextChildren4,
3388
3409
  childIndex: 0,
3389
3410
  context: context,
3390
3411
  footer: ''
3391
3412
  };
3392
3413
  {
3393
- _frame3.debugElementStack = [];
3414
+ _frame4.debugElementStack = [];
3394
3415
  }
3395
- this.stack.push(_frame3);
3416
+ this.stack.push(_frame4);
3396
3417
  return '';
3397
3418
  }
3398
3419
  case REACT_MEMO_TYPE:
3399
3420
  {
3400
3421
  var _element = nextChild;
3401
- var _nextChildren4 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
3402
- var _frame4 = {
3422
+ var _nextChildren5 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
3423
+ var _frame5 = {
3403
3424
  type: null,
3404
3425
  domNamespace: parentNamespace,
3405
- children: _nextChildren4,
3426
+ children: _nextChildren5,
3406
3427
  childIndex: 0,
3407
3428
  context: context,
3408
3429
  footer: ''
3409
3430
  };
3410
3431
  {
3411
- _frame4.debugElementStack = [];
3432
+ _frame5.debugElementStack = [];
3412
3433
  }
3413
- this.stack.push(_frame4);
3434
+ this.stack.push(_frame5);
3414
3435
  return '';
3415
3436
  }
3416
3437
  case REACT_PROVIDER_TYPE:
3417
3438
  {
3418
3439
  var provider = nextChild;
3419
3440
  var nextProps = provider.props;
3420
- var _nextChildren5 = toArray(nextProps.children);
3421
- var _frame5 = {
3441
+ var _nextChildren6 = toArray(nextProps.children);
3442
+ var _frame6 = {
3422
3443
  type: provider,
3423
3444
  domNamespace: parentNamespace,
3424
- children: _nextChildren5,
3445
+ children: _nextChildren6,
3425
3446
  childIndex: 0,
3426
3447
  context: context,
3427
3448
  footer: ''
3428
3449
  };
3429
3450
  {
3430
- _frame5.debugElementStack = [];
3451
+ _frame6.debugElementStack = [];
3431
3452
  }
3432
3453
 
3433
3454
  this.pushProvider(provider);
3434
3455
 
3435
- this.stack.push(_frame5);
3456
+ this.stack.push(_frame6);
3436
3457
  return '';
3437
3458
  }
3438
3459
  case REACT_CONTEXT_TYPE:
@@ -3465,19 +3486,19 @@ var ReactDOMServerRenderer = function () {
3465
3486
  validateContextBounds(reactContext, threadID);
3466
3487
  var nextValue = reactContext[threadID];
3467
3488
 
3468
- var _nextChildren6 = toArray(_nextProps.children(nextValue));
3469
- var _frame6 = {
3489
+ var _nextChildren7 = toArray(_nextProps.children(nextValue));
3490
+ var _frame7 = {
3470
3491
  type: nextChild,
3471
3492
  domNamespace: parentNamespace,
3472
- children: _nextChildren6,
3493
+ children: _nextChildren7,
3473
3494
  childIndex: 0,
3474
3495
  context: context,
3475
3496
  footer: ''
3476
3497
  };
3477
3498
  {
3478
- _frame6.debugElementStack = [];
3499
+ _frame7.debugElementStack = [];
3479
3500
  }
3480
- this.stack.push(_frame6);
3501
+ this.stack.push(_frame7);
3481
3502
  return '';
3482
3503
  }
3483
3504
  case REACT_LAZY_TYPE:
@@ -1,4 +1,4 @@
1
- /** @license React v16.8.1
1
+ /** @license React v16.8.2
2
2
  * react-dom-server.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -22,22 +22,22 @@ f.getDerivedStateFromProps.call(null,c.props,l.state);null!=k&&(l.state=z({},l.s
22
22
  ia=Object.prototype.hasOwnProperty,ka={},ja={},w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){w[a]=new t(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];w[b]=new t(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){w[a]=new t(a,2,!1,
23
23
  a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){w[a]=new t(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){w[a]=new t(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){w[a]=new t(a,3,!0,a,null)});["capture",
24
24
  "download"].forEach(function(a){w[a]=new t(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){w[a]=new t(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){w[a]=new t(a,5,!1,a.toLowerCase(),null)});var T=/[\-:]([a-z])/g,U=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=
25
- a.replace(T,U);w[b]=new t(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(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});w.tabIndex=new t("tabIndex",1,!1,"tabindex",null);var ya=/["'&<>]/,x=null,M=null,k=null,G=!1,R=!1,A=null,L=0,H=0,Da={readContext:function(a,
26
- b){b=H;F(a,b);return a[b]},useContext:function(a,b){K();b=H;F(a,b);return a[b]},useMemo:function(a,b){x=K();k=Q();b=void 0===b?null:b;if(null!==k){var d=k.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();k.memoizedState=[a,b];return a},useReducer:oa,useRef:function(a){x=K();k=Q();var b=k.memoizedState;return null===b?(a={current:a},
27
- k.memoizedState=a):b},useState:function(a){return oa(na,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:S,useEffect:S,useDebugValue:S},ra={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},Ea=z({menuitem:!0},ra),I={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,
28
- 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,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},Fa=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(a){Fa.forEach(function(b){b=
29
- b+a.charAt(0).toUpperCase()+a.substring(1);I[b]=I[a]})});var Ga=/([A-Z])/g,Ha=/^ms-/,B=v.Children.toArray,V=p.ReactCurrentDispatcher,Ia={listing:!0,pre:!0,textarea:!0},Ja=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sa={},W={},Ka=Object.prototype.hasOwnProperty,La={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ta=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");v.isValidElement(b)?b.type!==
30
- N?b=[b]:(b=b.props.children,b=v.isValidElement(b)?[b]:B(b)):b=B(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:fa,footer:""};var c=q[0];if(0===c){var f=q;c=f.length;var e=2*c;65536>=e?void 0:u("304");var h=new Uint16Array(e);h.set(f);q=h;q[0]=c+1;for(f=c;f<e-1;f++)q[f]=f+1;q[e-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=
31
- -1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;var a=this.threadID;q[a]=q[0];q[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=
32
- null;this.contextIndex--;b[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=H;H=this.threadID;var c=V.current;V.current=Da;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;q[h]=q[0];q[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var k=g.footer;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&
33
- null!=g.type.type&&g.type.type.$$typeof===P)this.popProvider(g.type);else if(g.type===O){this.suspenseDepth--;var p=f.pop();if(e){e=!1;var r=g.fallbackFrame;r?void 0:u("303");this.stack.push(r);continue}else f[this.suspenseDepth]+=p}f[this.suspenseDepth]+=k}else{var m=g.children[g.childIndex++],l="";try{l+=this.render(m,g.context,g.domNamespace)}catch(Ca){throw Ca;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=l}}return f[0]}finally{V.current=c,H=b}};a.prototype.render=
34
- function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return C(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+C(c);this.previousWasTextNode=!0;return C(c)}d=Ba(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!v.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===Y?u("257"):void 0;u("258",b.toString())}a=B(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});
35
- return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case aa:case X:case Z:case N:return a=B(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case O:u("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ca:x={};var e=b.render(a.props,a.ref);e=ma(b.render,a.props,e,a.ref);e=B(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case da:return a=[v.createElement(b.type,
36
- z({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case P:return b=B(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ba:b=a.type;e=a.props;var h=this.threadID;F(b,h);b=B(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ea:u("295")}u("130",null==b?b:typeof b,"")};a.prototype.renderDOM=
37
- function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&pa(b);sa.hasOwnProperty(b)||(Ja.test(b)?void 0:u("65",b),sa[b]=!0);var e=a.props;if("input"===b)e=z({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?u("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:u("93"),g=g[0]),
38
- h=""+g);null==h&&(h="")}e=z({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=z({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var k=Aa(e.children);if(null!=g){var p=null!=e.value?e.value+"":k;h=!1;if(Array.isArray(g))for(var r=0;r<g.length;r++){if(""+g[r]===p){h=!0;break}}else h=""+g===p;e=z({selected:void 0,children:void 0},e,{selected:h,children:k})}}if(h=e)Ea[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?
39
- u("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?u("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:u("61")),null!=h.style&&"object"!==typeof h.style?u("62",""):void 0;h=e;g=this.makeStaticMarkup;k=1===this.stack.length;p="<"+a.type;for(y in h)if(Ka.call(h,y)){var m=h[y];if(null!=m){if("style"===y){r=void 0;var l="",q="";for(r in m)if(m.hasOwnProperty(r)){var n=0===r.indexOf("--"),t=m[r];if(null!=t){var v=r;if(W.hasOwnProperty(v))v=
40
- W[v];else{var x=v.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");v=W[v]=x}l+=q+v+":";q=r;n=null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||I.hasOwnProperty(q)&&I[q]?(""+t).trim():t+"px";l+=n;q=";"}}m=l||null}r=null;b:if(n=b,t=h,-1===n.indexOf("-"))n="string"===typeof t.is;else switch(n){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":n=!1;break b;default:n=
41
- !0}if(n)La.hasOwnProperty(y)||(r=y,r=ha(r)&&null!=m?r+"="+('"'+C(m)+'"'):"");else{n=y;r=m;m=w.hasOwnProperty(n)?w[n]:null;if(t="style"!==n)t=null!==m?0===m.type:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?!1:!0;t||xa(n,r,m,!1)?r="":null!==m?(n=m.attributeName,m=m.type,r=3===m||4===m&&!0===r?n+'=""':n+"="+('"'+C(r)+'"')):r=ha(n)?n+"="+('"'+C(r)+'"'):""}r&&(p+=" "+r)}}g||k&&(p+=' data-reactroot=""');var y=p;h="";ra.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;
42
- if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=C(g);break a}g=null}null!=g?(e=[],Ia[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=B(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?pa(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return y};return a}();p={renderToString:function(a){a=
43
- new ta(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new ta(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){u("207")},renderToStaticNodeStream:function(){u("208")},version:"16.8.1"};p=(D={default:p},p)||D;return p.default||p});
25
+ a.replace(T,U);w[b]=new t(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(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(T,U);w[b]=new t(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});["tabIndex","crossOrigin"].forEach(function(a){w[a]=new t(a,1,!1,a.toLowerCase(),null)});var ya=/["'&<>]/,x=null,M=null,k=null,
26
+ G=!1,R=!1,A=null,L=0,H=0,Da={readContext:function(a,b){b=H;F(a,b);return a[b]},useContext:function(a,b){K();b=H;F(a,b);return a[b]},useMemo:function(a,b){x=K();k=Q();b=void 0===b?null:b;if(null!==k){var d=k.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();k.memoizedState=[a,b];return a},useReducer:oa,useRef:function(a){x=K();k=
27
+ Q();var b=k.memoizedState;return null===b?(a={current:a},k.memoizedState=a):b},useState:function(a){return oa(na,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:S,useEffect:S,useDebugValue:S},ra={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},Ea=z({menuitem:!0},ra),I={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,
28
+ 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,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},
29
+ Fa=["Webkit","ms","Moz","O"];Object.keys(I).forEach(function(a){Fa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);I[b]=I[a]})});var Ga=/([A-Z])/g,Ha=/^ms-/,B=v.Children.toArray,V=p.ReactCurrentDispatcher,Ia={listing:!0,pre:!0,textarea:!0},Ja=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,sa={},W={},Ka=Object.prototype.hasOwnProperty,La={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ta=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");
30
+ v.isValidElement(b)?b.type!==N?b=[b]:(b=b.props.children,b=v.isValidElement(b)?[b]:B(b)):b=B(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:fa,footer:""};var c=q[0];if(0===c){var f=q;c=f.length;var e=2*c;65536>=e?void 0:u("304");var h=new Uint16Array(e);h.set(f);q=h;q[0]=c+1;for(f=c;f<e-1;f++)q[f]=f+1;q[e-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;
31
+ this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;var a=this.threadID;q[a]=q[0];q[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=
32
+ null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=H;H=this.threadID;var c=V.current;V.current=Da;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;q[h]=q[0];q[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var k=g.footer;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=
33
+ null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===P)this.popProvider(g.type);else if(g.type===O){this.suspenseDepth--;var p=f.pop();if(e){e=!1;var r=g.fallbackFrame;r?void 0:u("303");this.stack.push(r);continue}else f[this.suspenseDepth]+=p}f[this.suspenseDepth]+=k}else{var m=g.children[g.childIndex++],l="";try{l+=this.render(m,g.context,g.domNamespace)}catch(Ca){throw Ca;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=l}}return f[0]}finally{V.current=
34
+ c,H=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return C(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+C(c);this.previousWasTextNode=!0;return C(c)}d=Ba(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!v.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===Y?u("257"):void 0;u("258",b.toString())}a=B(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,
35
+ context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case aa:case X:case Z:case N:return a=B(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case O:u("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ca:x={};var e=b.render(a.props,a.ref);e=ma(b.render,a.props,e,a.ref);e=B(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case da:return a=
36
+ [v.createElement(b.type,z({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case P:return b=B(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ba:b=a.type;e=a.props;var h=this.threadID;F(b,h);b=B(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ea:u("295")}u("130",null==b?b:typeof b,
37
+ "")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&pa(b);sa.hasOwnProperty(b)||(Ja.test(b)?void 0:u("65",b),sa[b]=!0);var e=a.props;if("input"===b)e=z({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?u("92"):void 0,Array.isArray(g)&&(1>=g.length?
38
+ void 0:u("93"),g=g[0]),h=""+g);null==h&&(h="")}e=z({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=z({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var k=Aa(e.children);if(null!=g){var p=null!=e.value?e.value+"":k;h=!1;if(Array.isArray(g))for(var r=0;r<g.length;r++){if(""+g[r]===p){h=!0;break}}else h=""+g===p;e=z({selected:void 0,children:void 0},e,{selected:h,children:k})}}if(h=e)Ea[b]&&(null!=h.children||
39
+ null!=h.dangerouslySetInnerHTML?u("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?u("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:u("61")),null!=h.style&&"object"!==typeof h.style?u("62",""):void 0;h=e;g=this.makeStaticMarkup;k=1===this.stack.length;p="<"+a.type;for(y in h)if(Ka.call(h,y)){var m=h[y];if(null!=m){if("style"===y){r=void 0;var l="",q="";for(r in m)if(m.hasOwnProperty(r)){var n=0===r.indexOf("--"),t=m[r];if(null!=
40
+ t){var v=r;if(W.hasOwnProperty(v))v=W[v];else{var x=v.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");v=W[v]=x}l+=q+v+":";q=r;n=null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||I.hasOwnProperty(q)&&I[q]?(""+t).trim():t+"px";l+=n;q=";"}}m=l||null}r=null;b:if(n=b,t=h,-1===n.indexOf("-"))n="string"===typeof t.is;else switch(n){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":n=
41
+ !1;break b;default:n=!0}if(n)La.hasOwnProperty(y)||(r=y,r=ha(r)&&null!=m?r+"="+('"'+C(m)+'"'):"");else{n=y;r=m;m=w.hasOwnProperty(n)?w[n]:null;if(t="style"!==n)t=null!==m?0===m.type:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?!1:!0;t||xa(n,r,m,!1)?r="":null!==m?(n=m.attributeName,m=m.type,r=3===m||4===m&&!0===r?n+'=""':n+"="+('"'+C(r)+'"')):r=ha(n)?n+"="+('"'+C(r)+'"'):""}r&&(p+=" "+r)}}g||k&&(p+=' data-reactroot=""');var y=p;h="";ra.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+
42
+ ">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=C(g);break a}g=null}null!=g?(e=[],Ia[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=B(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?pa(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:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=
43
+ !1;return y};return a}();p={renderToString:function(a){a=new ta(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new ta(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){u("207")},renderToStaticNodeStream:function(){u("208")},version:"16.8.2"};p=(D={default:p},p)||D;return p.default||p});
@@ -1,4 +1,4 @@
1
- /** @license React v16.8.1
1
+ /** @license React v16.8.2
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1222,7 +1222,7 @@ function makeSimulator(eventType) {
1222
1222
 
1223
1223
  ReactDOM.unstable_batchedUpdates(function () {
1224
1224
  // Normally extractEvent enqueues a state restore, but we'll just always
1225
- // do that since we we're by-passing it here.
1225
+ // do that since we're by-passing it here.
1226
1226
  enqueueStateRestore(domNode);
1227
1227
  runEventsInBatch(event);
1228
1228
  });
@@ -1,4 +1,4 @@
1
- /** @license React v16.8.1
1
+ /** @license React v16.8.2
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.