react-dom 16.1.2 → 16.2.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.
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-server.node.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -9,6 +9,8 @@
9
9
 
10
10
  'use strict';
11
11
 
12
+
13
+
12
14
  if (process.env.NODE_ENV !== "production") {
13
15
  (function() {
14
16
  'use strict';
@@ -399,7 +401,7 @@ injection.injectDOMPropertyConfig(SVGDOMPropertyConfig);
399
401
 
400
402
  // TODO: this is special because it gets imported during build.
401
403
 
402
- var ReactVersion = '16.1.2';
404
+ var ReactVersion = '16.2.0';
403
405
 
404
406
  var describeComponentFrame = function (name, source, ownerName) {
405
407
  return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
@@ -407,9 +409,19 @@ var describeComponentFrame = function (name, source, ownerName) {
407
409
 
408
410
  var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
409
411
 
410
-
412
+ var ReactCurrentOwner = ReactInternals.ReactCurrentOwner;
411
413
  var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
412
414
 
415
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
416
+ // nor polyfill, then a plain number is used for performance.
417
+ var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
418
+
419
+
420
+
421
+
422
+
423
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
424
+
413
425
  // code copied and modified from escape-html
414
426
  /**
415
427
  * Module variables.
@@ -419,9 +431,9 @@ var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
419
431
  var matchHtmlRegExp = /["'&<>]/;
420
432
 
421
433
  /**
422
- * Escape special characters in the given string of html.
434
+ * Escapes special characters and HTML entities in a given html string.
423
435
  *
424
- * @param {string} string The string to escape for inserting into HTML
436
+ * @param {string} string HTML string to escape for later insertion
425
437
  * @return {string}
426
438
  * @public
427
439
  */
@@ -483,7 +495,7 @@ function escapeHtml(string) {
483
495
  * @param {*} text Text value to escape.
484
496
  * @return {string} An escaped string.
485
497
  */
486
- function escapeTextContentForBrowser(text) {
498
+ function escapeTextForBrowser(text) {
487
499
  if (typeof text === 'boolean' || typeof text === 'number') {
488
500
  // this shortcircuit helps perf for types that we know will never have
489
501
  // special characters, especially given that this function is used often
@@ -500,7 +512,7 @@ function escapeTextContentForBrowser(text) {
500
512
  * @return {string} An escaped string.
501
513
  */
502
514
  function quoteAttributeValueForBrowser(value) {
503
- return '"' + escapeTextContentForBrowser(value) + '"';
515
+ return '"' + escapeTextForBrowser(value) + '"';
504
516
  }
505
517
 
506
518
  // isAttributeNameSafe() is currently duplicated in DOMPropertyOperations.
@@ -567,7 +579,7 @@ function createMarkupForProperty(name, value) {
567
579
  } else if (typeof value !== 'boolean' || shouldAttributeAcceptBooleanValue(name)) {
568
580
  return attributeName + '=' + quoteAttributeValueForBrowser(value);
569
581
  }
570
- } else if (shouldSetAttribute(name, value) && isAttributeNameSafe(name)) {
582
+ } else if (shouldSetAttribute(name, value)) {
571
583
  if (value == null) {
572
584
  return '';
573
585
  }
@@ -1090,7 +1102,7 @@ function validateProperties$1(type, props) {
1090
1102
  /**
1091
1103
  * Ordered list of injected plugins.
1092
1104
  */
1093
- var plugins = [];
1105
+
1094
1106
 
1095
1107
  /**
1096
1108
  * Mapping from event name to dispatch config
@@ -1634,36 +1646,46 @@ function getStackAddendum$3() {
1634
1646
  {
1635
1647
  var warnedProperties$1 = {};
1636
1648
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1637
- var EVENT_NAME_REGEX = /^on[A-Z]/;
1649
+ var EVENT_NAME_REGEX = /^on./;
1650
+ var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
1638
1651
  var rARIA$1 = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
1639
1652
  var rARIACamel$1 = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
1640
1653
 
1641
- var validateProperty$1 = function (tagName, name, value) {
1654
+ var validateProperty$1 = function (tagName, name, value, canUseEventSystem) {
1642
1655
  if (hasOwnProperty$1.call(warnedProperties$1, name) && warnedProperties$1[name]) {
1643
1656
  return true;
1644
1657
  }
1645
1658
 
1646
- if (registrationNameModules.hasOwnProperty(name)) {
1647
- return true;
1648
- }
1649
-
1650
- if (plugins.length === 0 && EVENT_NAME_REGEX.test(name)) {
1651
- // If no event plugins have been injected, we might be in a server environment.
1652
- // Don't check events in this case.
1653
- return true;
1654
- }
1655
-
1656
1659
  var lowerCasedName = name.toLowerCase();
1657
- var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;
1658
-
1659
- if (registrationName != null) {
1660
- warning(false, 'Invalid event handler property `%s`. Did you mean `%s`?%s', name, registrationName, getStackAddendum$3());
1660
+ if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
1661
+ warning(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
1661
1662
  warnedProperties$1[name] = true;
1662
1663
  return true;
1663
1664
  }
1664
1665
 
1665
- if (lowerCasedName.indexOf('on') === 0 && lowerCasedName.length > 2) {
1666
- warning(false, 'Unknown event handler property `%s`. It will be ignored.%s', name, getStackAddendum$3());
1666
+ // We can't rely on the event system being injected on the server.
1667
+ if (canUseEventSystem) {
1668
+ if (registrationNameModules.hasOwnProperty(name)) {
1669
+ return true;
1670
+ }
1671
+ var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;
1672
+ if (registrationName != null) {
1673
+ warning(false, 'Invalid event handler property `%s`. Did you mean `%s`?%s', name, registrationName, getStackAddendum$3());
1674
+ warnedProperties$1[name] = true;
1675
+ return true;
1676
+ }
1677
+ if (EVENT_NAME_REGEX.test(name)) {
1678
+ warning(false, 'Unknown event handler property `%s`. It will be ignored.%s', name, getStackAddendum$3());
1679
+ warnedProperties$1[name] = true;
1680
+ return true;
1681
+ }
1682
+ } else if (EVENT_NAME_REGEX.test(name)) {
1683
+ // If no event plugins have been injected, we are in a server environment.
1684
+ // So we can't tell if the event name is correct for sure, but we can filter
1685
+ // out known bad ones like `onclick`. We can't suggest a specific replacement though.
1686
+ if (INVALID_EVENT_NAME_REGEX.test(name)) {
1687
+ warning(false, 'Invalid event handler property `%s`. ' + 'React events use the camelCase naming convention, for example `onClick`.%s', name, getStackAddendum$3());
1688
+ }
1667
1689
  warnedProperties$1[name] = true;
1668
1690
  return true;
1669
1691
  }
@@ -1673,12 +1695,6 @@ function getStackAddendum$3() {
1673
1695
  return true;
1674
1696
  }
1675
1697
 
1676
- if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
1677
- warning(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
1678
- warnedProperties$1[name] = true;
1679
- return true;
1680
- }
1681
-
1682
1698
  if (lowerCasedName === 'innerhtml') {
1683
1699
  warning(false, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.');
1684
1700
  warnedProperties$1[name] = true;
@@ -1747,10 +1763,10 @@ function getStackAddendum$3() {
1747
1763
  };
1748
1764
  }
1749
1765
 
1750
- var warnUnknownProperties = function (type, props) {
1766
+ var warnUnknownProperties = function (type, props, canUseEventSystem) {
1751
1767
  var unknownProps = [];
1752
1768
  for (var key in props) {
1753
- var isValid = validateProperty$1(type, key, props[key]);
1769
+ var isValid = validateProperty$1(type, key, props[key], canUseEventSystem);
1754
1770
  if (!isValid) {
1755
1771
  unknownProps.push(key);
1756
1772
  }
@@ -1766,17 +1782,15 @@ var warnUnknownProperties = function (type, props) {
1766
1782
  }
1767
1783
  };
1768
1784
 
1769
- function validateProperties$2(type, props) {
1785
+ function validateProperties$2(type, props, canUseEventSystem) {
1770
1786
  if (isCustomComponent(type, props)) {
1771
1787
  return;
1772
1788
  }
1773
- warnUnknownProperties(type, props);
1789
+ warnUnknownProperties(type, props, canUseEventSystem);
1774
1790
  }
1775
1791
 
1776
1792
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1777
1793
 
1778
- var REACT_FRAGMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
1779
-
1780
1794
  // Based on reading the React.Children implementation. TODO: type this somewhere?
1781
1795
 
1782
1796
  var toArray = React.Children.toArray;
@@ -1787,7 +1801,7 @@ var getStackAddendum = emptyFunction.thatReturns('');
1787
1801
  var validatePropertiesInDevelopment = function (type, props) {
1788
1802
  validateProperties(type, props);
1789
1803
  validateProperties$1(type, props);
1790
- validateProperties$2(type, props);
1804
+ validateProperties$2(type, props, /* canUseEventSystem */false);
1791
1805
  };
1792
1806
 
1793
1807
  var describeStackFrame = function (element) {
@@ -1919,7 +1933,7 @@ function getNonChildrenInnerMarkup(props) {
1919
1933
  } else {
1920
1934
  var content = props.children;
1921
1935
  if (typeof content === 'string' || typeof content === 'number') {
1922
- return escapeTextContentForBrowser(content);
1936
+ return escapeTextForBrowser(content);
1923
1937
  }
1924
1938
  }
1925
1939
  return null;
@@ -2146,10 +2160,13 @@ function resolve(child, context) {
2146
2160
  var childContext;
2147
2161
  if (typeof inst.getChildContext === 'function') {
2148
2162
  var childContextTypes = Component.childContextTypes;
2149
- !(typeof childContextTypes === 'object') ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', getComponentName(Component) || 'Unknown') : void 0;
2150
- childContext = inst.getChildContext();
2151
- for (var contextKey in childContext) {
2152
- !(contextKey in childContextTypes) ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', getComponentName(Component) || 'Unknown', contextKey) : void 0;
2163
+ if (typeof childContextTypes === 'object') {
2164
+ childContext = inst.getChildContext();
2165
+ for (var contextKey in childContext) {
2166
+ !(contextKey in childContextTypes) ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', getComponentName(Component) || 'Unknown', contextKey) : void 0;
2167
+ }
2168
+ } else {
2169
+ warning(false, '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', getComponentName(Component) || 'Unknown');
2153
2170
  }
2154
2171
  }
2155
2172
  if (childContext) {
@@ -2159,7 +2176,7 @@ function resolve(child, context) {
2159
2176
  return { child: child, context: context };
2160
2177
  }
2161
2178
 
2162
- var ReactDOMServerRenderer$1 = function () {
2179
+ var ReactDOMServerRenderer = function () {
2163
2180
  function ReactDOMServerRenderer(children, makeStaticMarkup) {
2164
2181
  _classCallCheck(this, ReactDOMServerRenderer);
2165
2182
 
@@ -2230,13 +2247,13 @@ var ReactDOMServerRenderer$1 = function () {
2230
2247
  return '';
2231
2248
  }
2232
2249
  if (this.makeStaticMarkup) {
2233
- return escapeTextContentForBrowser(text);
2250
+ return escapeTextForBrowser(text);
2234
2251
  }
2235
2252
  if (this.previousWasTextNode) {
2236
- return '<!-- -->' + escapeTextContentForBrowser(text);
2253
+ return '<!-- -->' + escapeTextForBrowser(text);
2237
2254
  }
2238
2255
  this.previousWasTextNode = true;
2239
- return escapeTextContentForBrowser(text);
2256
+ return escapeTextForBrowser(text);
2240
2257
  } else {
2241
2258
  var nextChild;
2242
2259
 
@@ -2480,7 +2497,7 @@ var ReactDOMServerRenderer$1 = function () {
2480
2497
  * See https://reactjs.org/docs/react-dom-server.html#rendertostring
2481
2498
  */
2482
2499
  function renderToString(element) {
2483
- var renderer = new ReactDOMServerRenderer$1(element, false);
2500
+ var renderer = new ReactDOMServerRenderer(element, false);
2484
2501
  var markup = renderer.read(Infinity);
2485
2502
  return markup;
2486
2503
  }
@@ -2491,7 +2508,7 @@ function renderToString(element) {
2491
2508
  * See https://reactjs.org/docs/react-dom-server.html#rendertostaticmarkup
2492
2509
  */
2493
2510
  function renderToStaticMarkup(element) {
2494
- var renderer = new ReactDOMServerRenderer$1(element, true);
2511
+ var renderer = new ReactDOMServerRenderer(element, true);
2495
2512
  var markup = renderer.read(Infinity);
2496
2513
  return markup;
2497
2514
  }
@@ -2515,7 +2532,7 @@ var ReactMarkupReadableStream = function (_Readable) {
2515
2532
  // features like highWaterMark in the future.
2516
2533
 
2517
2534
 
2518
- _this.partialRenderer = new ReactDOMServerRenderer$1(element, makeStaticMarkup);
2535
+ _this.partialRenderer = new ReactDOMServerRenderer(element, makeStaticMarkup);
2519
2536
  return _this;
2520
2537
  }
2521
2538
 
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-server.node.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -6,7 +6,8 @@
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';var k=require("object-assign"),n=require("react"),aa=require("fbjs/lib/emptyFunction"),t=require("fbjs/lib/emptyObject"),ba=require("fbjs/lib/hyphenateStyleName"),ca=require("fbjs/lib/memoizeStringOnly"),da=require("stream");
9
+
10
+ 'use strict';var k=require("object-assign"),r=require("react"),aa=require("fbjs/lib/emptyFunction"),t=require("fbjs/lib/emptyObject"),ba=require("fbjs/lib/hyphenateStyleName"),ca=require("fbjs/lib/memoizeStringOnly"),da=require("stream");
10
11
  function w(a){for(var b=arguments.length-1,g="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)g+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
11
12
  var x={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0};function z(a,b){return(a&b)===b}
12
13
  var B={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(a){var b=B,g=a.Properties||{},c=a.DOMAttributeNamespaces||{},h=a.DOMAttributeNames||{};a=a.DOMMutationMethods||{};for(var f in g){C.hasOwnProperty(f)?w("48",f):void 0;var e=f.toLowerCase(),d=g[f];e={attributeName:e,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:z(d,b.MUST_USE_PROPERTY),
@@ -18,26 +19,26 @@ selected:G|H,size:J,start:I,span:J,spellCheck:L,style:0,tabIndex:0,itemScope:H,a
18
19
  b)}}},M=F.HAS_STRING_BOOLEAN_VALUE,N={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},O={Properties:{autoReverse:M,externalResourcesRequired:M,preserveAlpha:M},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:N.xlink,xlinkArcrole:N.xlink,xlinkHref:N.xlink,xlinkRole:N.xlink,xlinkShow:N.xlink,xlinkTitle:N.xlink,xlinkType:N.xlink,xmlBase:N.xml,xmlLang:N.xml,
19
20
  xmlSpace:N.xml}},ha=/[\-\:]([a-z])/g;function ia(a){return a[1].toUpperCase()}
20
21
  "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 x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(a){var b=a.replace(ha,
21
- ia);O.Properties[b]=0;O.DOMAttributeNames[b]=a});F.injectDOMPropertyConfig(fa);F.injectDOMPropertyConfig(O);var ja=/["'&<>]/;
22
- function P(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ja.exec(a);if(b){var g="",c,h=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="\x26quot;";break;case 38:b="\x26amp;";break;case 39:b="\x26#x27;";break;case 60:b="\x26lt;";break;case 62:b="\x26gt;";break;default:continue}h!==c&&(g+=a.substring(h,c));h=c+1;g+=b}a=h!==c?g+a.substring(h,c):g}return a}
23
- var ka=/^[: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]*$/,Q={},R={};function S(a){if(R.hasOwnProperty(a))return!0;if(Q.hasOwnProperty(a))return!1;if(ka.test(a))return R[a]=!0;Q[a]=!0;return!1}
24
- function la(a,b){var g=E(a);if(g){if(null==b||g.hasBooleanValue&&!b||g.hasNumericValue&&isNaN(b)||g.hasPositiveNumericValue&&1>b||g.hasOverloadedBooleanValue&&!1===b)return"";var c=g.attributeName;if(g.hasBooleanValue||g.hasOverloadedBooleanValue&&!0===b)return c+'\x3d""';if("boolean"!==typeof b||D(a))return c+"\x3d"+('"'+P(b)+'"')}else if(ea(a,b)&&S(a))return null==b?"":a+"\x3d"+('"'+P(b)+'"');return null}var T={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
22
+ ia);O.Properties[b]=0;O.DOMAttributeNames[b]=a});F.injectDOMPropertyConfig(fa);F.injectDOMPropertyConfig(O);var P="function"===typeof Symbol&&Symbol["for"]?Symbol["for"]("react.fragment"):60107,ja=/["'&<>]/;
23
+ function Q(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ja.exec(a);if(b){var g="",c,h=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="\x26quot;";break;case 38:b="\x26amp;";break;case 39:b="\x26#x27;";break;case 60:b="\x26lt;";break;case 62:b="\x26gt;";break;default:continue}h!==c&&(g+=a.substring(h,c));h=c+1;g+=b}a=h!==c?g+a.substring(h,c):g}return a}
24
+ var ka=/^[: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]*$/,R={},S={};function la(a){if(S.hasOwnProperty(a))return!0;if(R.hasOwnProperty(a))return!1;if(ka.test(a))return S[a]=!0;R[a]=!0;return!1}
25
+ function ma(a,b){var g=E(a);if(g){if(null==b||g.hasBooleanValue&&!b||g.hasNumericValue&&isNaN(b)||g.hasPositiveNumericValue&&1>b||g.hasOverloadedBooleanValue&&!1===b)return"";var c=g.attributeName;if(g.hasBooleanValue||g.hasOverloadedBooleanValue&&!0===b)return c+'\x3d""';if("boolean"!==typeof b||D(a))return c+"\x3d"+('"'+Q(b)+'"')}else if(ea(a,b))return null==b?"":a+"\x3d"+('"'+Q(b)+'"');return null}var T={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
25
26
  function U(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"}}
26
- var ma={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},na=k({menuitem:!0},ma),V={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
27
- fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oa=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(a){oa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);V[b]=V[a]})});
28
- var pa="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment")||60107,W=n.Children.toArray,qa=aa.thatReturns(""),ra={listing:!0,pre:!0,textarea:!0};function X(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var sa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ta={},ua=ca(function(a){return ba(a)});function va(a){var b="";n.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}
29
- function wa(a,b){if(a=a.contextTypes){var g={},c;for(c in a)g[c]=b[c];b=g}else b=t;return b}var xa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ya(a,b){void 0===a&&w("152",X(b)||"Component")}
30
- function za(a,b){for(;n.isValidElement(a);){var g=a,c=g.type;if("function"!==typeof c)break;a=wa(c,b);var h=[],f=!1,e={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===h)return null},enqueueReplaceState:function(a,b){f=!0;h=[b]},enqueueSetState:function(a,b){if(null===h)return null;h.push(b)}};if(c.prototype&&c.prototype.isReactComponent)var d=new c(g.props,a,e);else if(d=c(g.props,a,e),null==d||null==d.render){a=d;ya(a,c);continue}d.props=g.props;d.context=a;d.updater=e;e=d.state;
31
- void 0===e&&(d.state=e=null);if(d.componentWillMount)if(d.componentWillMount(),h.length){e=h;var p=f;h=null;f=!1;if(p&&1===e.length)d.state=e[0];else{var q=p?e[0]:d.state,l=!0;for(p=p?1:0;p<e.length;p++){var m=e[p];if(m="function"===typeof m?m.call(d,q,g.props,a):m)l?(l=!1,q=k({},q,m)):k(q,m)}d.state=q}}else h=null;a=d.render();ya(a,c);if("function"===typeof d.getChildContext){g=c.childContextTypes;"object"!==typeof g?w("107",X(c)||"Unknown"):void 0;var A=d.getChildContext();for(var y in A)y in g?
32
- void 0:w("108",X(c)||"Unknown",y)}A&&(b=k({},b,A))}return{child:a,context:b}}
33
- var Y=function(){function a(b,g){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");n.isValidElement(b)?b.type!==pa?b=[b]:(b=b.props.children,b=n.isValidElement(b)?[b]:W(b)):b=W(b);this.stack=[{domNamespace:T.html,children:b,childIndex:0,context:t,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=g}a.prototype.read=function(a){if(this.exhausted)return null;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=
34
- !0;break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var h=c.footer;b+=h;""!==h&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.tag&&(this.currentSelectValue=null)}else h=c.children[c.childIndex++],b+=this.render(h,c.context,c.domNamespace)}return b};a.prototype.render=function(a,g,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return P(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+P(c);this.previousWasTextNode=
35
- !0;return P(c)}g=za(a,g);a=g.child;g=g.context;if(null===a||!1===a)return"";if(n.isValidElement(a))return a.type===pa?(a=W(a.props.children),this.stack.push({domNamespace:c,children:a,childIndex:0,context:g,footer:""}),""):this.renderDOM(a,g,c);a=W(a);this.stack.push({domNamespace:c,children:a,childIndex:0,context:g,footer:""});return""};a.prototype.renderDOM=function(a,g,c){var b=a.type.toLowerCase();c===T.html&&U(b);ta.hasOwnProperty(b)||(sa.test(b)?void 0:w("65",b),ta[b]=!0);var f=a.props;if("input"===
27
+ var V={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},na=k({menuitem:!0},V),W={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
28
+ fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oa=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(a){oa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);W[b]=W[a]})});var X=r.Children.toArray,pa=aa.thatReturns(""),qa={listing:!0,pre:!0,textarea:!0};
29
+ function ra(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var sa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ta={},ua=ca(function(a){return ba(a)});function va(a){var b="";r.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}function wa(a,b){if(a=a.contextTypes){var g={},c;for(c in a)g[c]=b[c];b=g}else b=t;return b}var xa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};
30
+ function ya(a,b){void 0===a&&w("152",ra(b)||"Component")}
31
+ function za(a,b){for(;r.isValidElement(a);){var g=a,c=g.type;if("function"!==typeof c)break;a=wa(c,b);var h=[],f=!1,e={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===h)return null},enqueueReplaceState:function(a,b){f=!0;h=[b]},enqueueSetState:function(a,b){if(null===h)return null;h.push(b)}};if(c.prototype&&c.prototype.isReactComponent)var d=new c(g.props,a,e);else if(d=c(g.props,a,e),null==d||null==d.render){a=d;ya(a,c);continue}d.props=g.props;d.context=a;d.updater=e;e=d.state;
32
+ void 0===e&&(d.state=e=null);if(d.componentWillMount)if(d.componentWillMount(),h.length){e=h;var n=f;h=null;f=!1;if(n&&1===e.length)d.state=e[0];else{var p=n?e[0]:d.state,l=!0;for(n=n?1:0;n<e.length;n++){var m=e[n];if(m="function"===typeof m?m.call(d,p,g.props,a):m)l?(l=!1,p=k({},p,m)):k(p,m)}d.state=p}}else h=null;a=d.render();ya(a,c);if("function"===typeof d.getChildContext&&(g=c.childContextTypes,"object"===typeof g)){var A=d.getChildContext();for(var y in A)y in g?void 0:w("108",ra(c)||"Unknown",
33
+ y)}A&&(b=k({},b,A))}return{child:a,context:b}}
34
+ var Y=function(){function a(b,g){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");r.isValidElement(b)?b.type!==P?b=[b]:(b=b.props.children,b=r.isValidElement(b)?[b]:X(b)):b=X(b);this.stack=[{domNamespace:T.html,children:b,childIndex:0,context:t,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=g}a.prototype.read=function(a){if(this.exhausted)return null;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=
35
+ !0;break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var h=c.footer;b+=h;""!==h&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.tag&&(this.currentSelectValue=null)}else h=c.children[c.childIndex++],b+=this.render(h,c.context,c.domNamespace)}return b};a.prototype.render=function(a,g,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return Q(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+Q(c);this.previousWasTextNode=
36
+ !0;return Q(c)}g=za(a,g);a=g.child;g=g.context;if(null===a||!1===a)return"";if(r.isValidElement(a))return a.type===P?(a=X(a.props.children),this.stack.push({domNamespace:c,children:a,childIndex:0,context:g,footer:""}),""):this.renderDOM(a,g,c);a=X(a);this.stack.push({domNamespace:c,children:a,childIndex:0,context:g,footer:""});return""};a.prototype.renderDOM=function(a,g,c){var b=a.type.toLowerCase();c===T.html&&U(b);ta.hasOwnProperty(b)||(sa.test(b)?void 0:w("65",b),ta[b]=!0);var f=a.props;if("input"===
36
37
  b)f=k({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var e=f.value;if(null==e){e=f.defaultValue;var d=f.children;null!=d&&(null!=e?w("92"):void 0,Array.isArray(d)&&(1>=d.length?void 0:w("93"),d=d[0]),e=""+d);null==e&&(e="")}f=k({},f,{value:void 0,children:""+e})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=k({},f,{value:void 0});
37
- else if("option"===b){d=this.currentSelectValue;var p=va(f.children);if(null!=d){var q=null!=f.value?f.value+"":p;e=!1;if(Array.isArray(d))for(var l=0;l<d.length;l++){if(""+d[l]===q){e=!0;break}}else e=""+d===q;f=k({selected:void 0,children:void 0},f,{selected:e,children:p})}}if(e=f)na[b]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?w("137",b,qa()):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?w("60"):void 0,"object"===typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML?
38
- void 0:w("61")),null!=e.style&&"object"!==typeof e.style?w("62",qa()):void 0;e=f;d=this.makeStaticMarkup;p=1===this.stack.length;q="\x3c"+a.type;for(r in e)if(e.hasOwnProperty(r)){var m=e[r];if(null!=m){if("style"===r){l=void 0;var A="",y="";for(l in m)if(m.hasOwnProperty(l)){var u=0===l.indexOf("--"),v=m[l];null!=v&&(A+=y+ua(l)+":",y=l,u=null==v||"boolean"===typeof v||""===v?"":u||"number"!==typeof v||0===v||V.hasOwnProperty(y)&&V[y]?(""+v).trim():v+"px",A+=u,y=";")}m=A||null}l=null;b:if(u=b,v=e,
39
- -1===u.indexOf("-"))u="string"===typeof v.is;else switch(u){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":u=!1;break b;default:u=!0}u?xa.hasOwnProperty(r)||(l=r,l=S(l)&&null!=m?l+"\x3d"+('"'+P(m)+'"'):""):l=la(r,m);l&&(q+=" "+l)}}d||p&&(q+=' data-reactroot\x3d""');var r=q;e="";ma.hasOwnProperty(b)?r+="/\x3e":(r+="\x3e",e="\x3c/"+a.type+"\x3e");a:{d=f.dangerouslySetInnerHTML;if(null!=
40
- d){if(null!=d.__html){d=d.__html;break a}}else if(d=f.children,"string"===typeof d||"number"===typeof d){d=P(d);break a}d=null}null!=d?(f=[],ra[b]&&"\n"===d.charAt(0)&&(r+="\n"),r+=d):f=W(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?U(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,tag:b,children:f,childIndex:0,context:g,footer:e});this.previousWasTextNode=!1;return r};return a}();
38
+ else if("option"===b){d=this.currentSelectValue;var n=va(f.children);if(null!=d){var p=null!=f.value?f.value+"":n;e=!1;if(Array.isArray(d))for(var l=0;l<d.length;l++){if(""+d[l]===p){e=!0;break}}else e=""+d===p;f=k({selected:void 0,children:void 0},f,{selected:e,children:n})}}if(e=f)na[b]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?w("137",b,pa()):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?w("60"):void 0,"object"===typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML?
39
+ void 0:w("61")),null!=e.style&&"object"!==typeof e.style?w("62",pa()):void 0;e=f;d=this.makeStaticMarkup;n=1===this.stack.length;p="\x3c"+a.type;for(q in e)if(e.hasOwnProperty(q)){var m=e[q];if(null!=m){if("style"===q){l=void 0;var A="",y="";for(l in m)if(m.hasOwnProperty(l)){var u=0===l.indexOf("--"),v=m[l];null!=v&&(A+=y+ua(l)+":",y=l,u=null==v||"boolean"===typeof v||""===v?"":u||"number"!==typeof v||0===v||W.hasOwnProperty(y)&&W[y]?(""+v).trim():v+"px",A+=u,y=";")}m=A||null}l=null;b:if(u=b,v=e,
40
+ -1===u.indexOf("-"))u="string"===typeof v.is;else switch(u){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":u=!1;break b;default:u=!0}u?xa.hasOwnProperty(q)||(l=q,l=la(l)&&null!=m?l+"\x3d"+('"'+Q(m)+'"'):""):l=ma(q,m);l&&(p+=" "+l)}}d||n&&(p+=' data-reactroot\x3d""');var q=p;e="";V.hasOwnProperty(b)?q+="/\x3e":(q+="\x3e",e="\x3c/"+a.type+"\x3e");a:{d=f.dangerouslySetInnerHTML;if(null!=
41
+ d){if(null!=d.__html){d=d.__html;break a}}else if(d=f.children,"string"===typeof d||"number"===typeof d){d=Q(d);break a}d=null}null!=d?(f=[],qa[b]&&"\n"===d.charAt(0)&&(q+="\n"),q+=d):f=X(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?U(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,tag:b,children:f,childIndex:0,context:g,footer:e});this.previousWasTextNode=!1;return q};return a}();
41
42
  function Aa(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}
42
43
  var Ba=function(a){function b(g,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var h=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");h=!h||"object"!==typeof h&&"function"!==typeof h?this:h;h.partialRenderer=new Y(g,c);return h}Aa(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(da.Readable),Ca={renderToString:function(a){return(new Y(a,
43
- !1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Y(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new Ba(a,!1)},renderToStaticNodeStream:function(a){return new Ba(a,!0)},version:"16.1.2"},Da=Object.freeze({default:Ca}),Z=Da&&Ca||Da;module.exports=Z["default"]?Z["default"]:Z;
44
+ !1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Y(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new Ba(a,!1)},renderToStaticNodeStream:function(a){return new Ba(a,!0)},version:"16.2.0"},Da=Object.freeze({default:Ca}),Z=Da&&Ca||Da;module.exports=Z["default"]?Z["default"]:Z;
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -9,6 +9,8 @@
9
9
 
10
10
  'use strict';
11
11
 
12
+
13
+
12
14
  if (process.env.NODE_ENV !== "production") {
13
15
  (function() {
14
16
  'use strict';
@@ -49,6 +51,11 @@ function get(key) {
49
51
  return key._reactInternalFiber;
50
52
  }
51
53
 
54
+ var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
+
56
+ var ReactCurrentOwner = ReactInternals.ReactCurrentOwner;
57
+ var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
58
+
52
59
  // Before we know whether it is functional or class
53
60
  var FunctionalComponent = 1;
54
61
  var ClassComponent = 2;
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -6,6 +6,7 @@
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
+
9
10
  'use strict';var f=require("object-assign"),h=require("react"),m=require("react-dom"),n=require("fbjs/lib/emptyFunction"),p=require("fbjs/lib/ExecutionEnvironment");
10
11
  function q(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
11
12
  function r(a){var b=a;if(a.alternate)for(;b["return"];)b=b["return"];else{if(0!==(b.effectTag&2))return 1;for(;b["return"];)if(b=b["return"],0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function t(a){2!==r(a)?q("188"):void 0}
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-unstable-native-dependencies.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -9,6 +9,8 @@
9
9
 
10
10
  'use strict';
11
11
 
12
+
13
+
12
14
  if (process.env.NODE_ENV !== "production") {
13
15
  (function() {
14
16
  'use strict';
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.2
1
+ /** @license React v16.2.0
2
2
  * react-dom-unstable-native-dependencies.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -6,6 +6,7 @@
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
+
9
10
  'use strict';var h=require("react-dom"),k=require("object-assign"),l=require("fbjs/lib/emptyFunction");
10
11
  function n(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,f=0;f<b;f++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[f+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}var p=null,q=null,t=null;
11
12
  function u(a){return"topMouseUp"===a||"topTouchEnd"===a||"topTouchCancel"===a}function v(a){return"topMouseMove"===a||"topTouchMove"===a}function w(a){return"topMouseDown"===a||"topTouchStart"===a}function x(a){var b=a._dispatchListeners,c=a._dispatchInstances;Array.isArray(b)?n("103"):void 0;a.currentTarget=b?t(c):null;b=b?b(a):null;a.currentTarget=null;a._dispatchListeners=null;a._dispatchInstances=null;return b}function y(a){do a=a["return"];while(a&&5!==a.tag);return a?a:null}