react-dom
Advanced tools
Comparing version 16.7.0-alpha.0 to 16.7.0-alpha.1
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-server.browser.production.min.js | ||
@@ -10,41 +10,37 @@ * | ||
'use strict';var n=require("object-assign"),q=require("react");function aa(a,b,d,c,k,e,g,l){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var G=[d,c,k,e,g,l],C=0;a=Error(b.replace(/%s/g,function(){return G[C++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function r(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)} | ||
var t="function"===typeof Symbol&&Symbol.for,x=t?Symbol.for("react.portal"):60106,y=t?Symbol.for("react.fragment"):60107,z=t?Symbol.for("react.strict_mode"):60108,B=t?Symbol.for("react.profiler"):60114,D=t?Symbol.for("react.provider"):60109,E=t?Symbol.for("react.context"):60110,F=t?Symbol.for("react.concurrent_mode"):60111,ba=t?Symbol.for("react.forward_ref"):60112,ca=t?Symbol.for("react.suspense"):60113,da=t?Symbol.for("react.memo"):60115,ea=t?Symbol.for("react.lazy"):60116; | ||
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 F:return"ConcurrentMode";case y:return"Fragment";case x:return"Portal";case B:return"Profiler";case z:return"StrictMode";case ca:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case E:return"Context.Consumer";case D:return"Context.Provider";case ba:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef"); | ||
case da:return H(a.type);case ea:if(a=1===a._status?a._result:null)return H(a)}return null} | ||
var fa=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,ja={},ka={}; | ||
function la(a){if(ia.call(ka,a))return!0;if(ia.call(ja,a))return!1;if(ha.test(a))return ka[a]=!0;ja[a]=!0;return!1}function ma(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}} | ||
function na(a,b,d,c){if(null===b||"undefined"===typeof b||ma(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function I(a,b,d,c,k){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=k;this.mustUseProperty=d;this.propertyName=a;this.type=b}var J={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){J[a]=new I(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];J[b]=new I(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){J[a]=new I(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){J[a]=new I(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()} | ||
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(K, | ||
L);J[b]=new I(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});J.tabIndex=new I("tabIndex",1,!1,"tabindex",null);var oa=/["'&<>]/; | ||
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=oa.exec(a);if(b){var d="",c,k=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}k!==c&&(d+=a.substring(k,c));k=c+1;d+=b}a=k!==c?d+a.substring(k,c):d}return a}var N=null,O=null,P=null,Q=!1,R=!1,S=null,T=0;function U(){null===N?r("298"):void 0;return N} | ||
function pa(){return{memoizedState:null,queue:null,next:null}}function V(){null===P?null===O?(Q=!1,O=P=pa()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=pa()):(Q=!0,P=P.next);return P}function qa(a,b,d,c){for(;R;)R=!1,T+=1,P=null,d=a(b,c);O=N=null;T=0;P=S=null;return d}function ra(a,b){return"function"===typeof b?b(a):b} | ||
function sa(a,b,d){N=U();P=V();if(Q){var c=P.queue;b=c.dispatch;if(null!==S&&(d=S.get(c),void 0!==d)){S.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a===ra?"function"===typeof b&&(b=b()):void 0!==d&&null!==d&&(b=a(b,d));P.memoizedState=b;a=P.queue={last:null,dispatch:null};a=a.dispatch=ta.bind(null,N,a);return[P.memoizedState,a]} | ||
function ta(a,b,d){25>T?void 0:r("300");if(a===N)if(R=!0,a={action:d,next:null},null===S&&(S=new Map),d=S.get(b),void 0===d)S.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function W(){} | ||
var ua={readContext:function(a){return a._currentValue},useContext:function(a){U();return a._currentValue},useMemo:function(a,b){N=U();P=V();b=void 0!==b&&null!==b?b:[a];if(null!==P&&null!==P.memoizedState){var d=P.memoizedState,c=d[1];a:{for(var k=0;k<b.length;k++){var e=b[k],g=c[k];if((e!==g||0===e&&1/e!==1/g)&&(e===e||g===g)){c=!1;break a}}c=!0}if(c)return d[0]}a=a();P.memoizedState=[a,b];return a},useReducer:sa,useRef:function(a){N=U();P=V();var b=P.memoizedState;return null===b?(a={current:a}, | ||
P.memoizedState=a):b},useState:function(a){return sa(ra,a)},useMutationEffect:function(){},useLayoutEffect:function(){},useImperativeMethods:W,useCallback:W,useEffect:W},va={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function wa(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"}} | ||
var xa={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},ya=n({menuitem:!0},xa),X={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,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},za=["Webkit","ms","Moz","O"];Object.keys(X).forEach(function(a){za.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);X[b]=X[a]})}); | ||
var Aa=/([A-Z])/g,Ba=/^ms-/,Y=q.Children.toArray,Ca=fa.ReactCurrentOwner,Da={listing:!0,pre:!0,textarea:!0},Ea=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Fa={},Z={};function Ga(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Ha={};function Ia(a,b){var d=a.contextType;if("object"===typeof d&&null!==d)return d._currentValue;if(a=a.contextTypes){d={};for(var c in a)d[c]=b[c];b=d}else b=Ha;return b} | ||
var Ja=Object.prototype.hasOwnProperty,Ka={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function La(a,b){void 0===a&&r("152",H(b)||"Component")} | ||
function Ma(a,b){function d(c,d){var k=Ia(d,b),e=[],g=!1,h={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===e)return null},enqueueReplaceState:function(a,b){g=!0;e=[b]},enqueueSetState:function(a,b){if(null===e)return null;e.push(b)}},f=void 0;if(d.prototype&&d.prototype.isReactComponent){if(f=new d(c.props,k,h),"function"===typeof d.getDerivedStateFromProps){var w=d.getDerivedStateFromProps.call(null,c.props,f.state);null!=w&&(f.state=n({},f.state,w))}}else if(N={},f=d(c.props, | ||
k,h),f=qa(d,c.props,f,k),null==f||null==f.render){a=f;La(a,d);return}f.props=c.props;f.context=k;f.updater=h;h=f.state;void 0===h&&(f.state=h=null);if("function"===typeof f.UNSAFE_componentWillMount||"function"===typeof f.componentWillMount)if("function"===typeof f.componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&f.componentWillMount(),"function"===typeof f.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&f.UNSAFE_componentWillMount(),e.length){h=e;var u= | ||
g;e=null;g=!1;if(u&&1===h.length)f.state=h[0];else{w=u?h[0]:f.state;var m=!0;for(u=u?1:0;u<h.length;u++){var p=h[u];p="function"===typeof p?p.call(f,w,c.props,k):p;null!=p&&(m?(m=!1,w=n({},w,p)):n(w,p))}f.state=w}}else e=null;a=f.render();La(a,d);c=void 0;if("function"===typeof f.getChildContext&&(k=d.childContextTypes,"object"===typeof k)){c=f.getChildContext();for(var A in c)A in k?void 0:r("108",H(d)||"Unknown",A)}c&&(b=n({},b,c))}for(;q.isValidElement(a);){var c=a,k=c.type;if("function"!==typeof k)break; | ||
d(c,k)}return{child:a,context:b}} | ||
var Na=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==y?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:Y(b)):b=Y(b);this.stack=[{type:null,domNamespace:va.html,children:b,childIndex:0,context:Ha,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.pushProvider=function(a){var b= | ||
++this.contextIndex,c=a.type._context,k=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=k;c._currentValue=a.props.value};a.prototype.popProvider=function(){var a=this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d._currentValue=c};a.prototype.read=function(a){if(this.exhausted)return null;Ca.currentDispatcher=ua;try{for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0; | ||
break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var k=c.footer;b+=k;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===D&&this.popProvider(c.type)}else{var e=c.children[c.childIndex++];b+=this.render(e,c.context,c.domNamespace)}}return b}finally{Ca.currentDispatcher=null}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""=== | ||
c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=!0;return M(c)}d=Ma(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===x?r("257"):void 0;r("258",b.toString())}a=Y(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case z:case F:case B:case y:return a= | ||
Y(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case ca:r("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ba:N={};var e=b.render(a.props,a.ref);e=qa(b.render,a.props,e,a.ref);e=Y(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case da:return a=[q.createElement(b.type,n({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}), | ||
"";case D:return b=Y(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case E:return b=Y(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),"";case ea:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===va.html&&wa(b);Fa.hasOwnProperty(b)||(Ea.test(b)?void 0:r("65",b),Fa[b]=!0);var e=a.props; | ||
if("input"===b)e=n({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 g=e.value;if(null==g){g=e.defaultValue;var l=e.children;null!=l&&(null!=g?r("92"):void 0,Array.isArray(l)&&(1>=l.length?void 0:r("93"),l=l[0]),g=""+l);null==g&&(g="")}e=n({},e,{value:void 0,children:""+g})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=n({},e,{value:void 0}); | ||
else if("option"===b){l=this.currentSelectValue;var G=Ga(e.children);if(null!=l){var C=null!=e.value?e.value+"":G;g=!1;if(Array.isArray(l))for(var h=0;h<l.length;h++){if(""+l[h]===C){g=!0;break}}else g=""+l===C;e=n({selected:void 0,children:void 0},e,{selected:g,children:G})}}if(g=e)ya[b]&&(null!=g.children||null!=g.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=g.dangerouslySetInnerHTML&&(null!=g.children?r("60"):void 0,"object"===typeof g.dangerouslySetInnerHTML&&"__html"in g.dangerouslySetInnerHTML? | ||
void 0:r("61")),null!=g.style&&"object"!==typeof g.style?r("62",""):void 0;g=e;l=this.makeStaticMarkup;G=1===this.stack.length;C="<"+a.type;for(v in g)if(Ja.call(g,v)){var f=g[v];if(null!=f){if("style"===v){h=void 0;var w="",u="";for(h in f)if(f.hasOwnProperty(h)){var m=0===h.indexOf("--"),p=f[h];if(null!=p){var A=h;if(Z.hasOwnProperty(A))A=Z[A];else{var Ra=A.replace(Aa,"-$1").toLowerCase().replace(Ba,"-ms-");A=Z[A]=Ra}w+=u+A+":";u=h;m=null==p||"boolean"===typeof p||""===p?"":m||"number"!==typeof p|| | ||
0===p||X.hasOwnProperty(u)&&X[u]?(""+p).trim():p+"px";w+=m;u=";"}}f=w||null}h=null;b:if(m=b,p=g,-1===m.indexOf("-"))m="string"===typeof p.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m=!1;break b;default:m=!0}if(m)Ka.hasOwnProperty(v)||(h=v,h=la(h)&&null!=f?h+"="+('"'+M(f)+'"'):"");else{m=v;h=f;f=J.hasOwnProperty(m)?J[m]:null;if(p="style"!==m)p=null!==f?0=== | ||
f.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;p||na(m,h,f,!1)?h="":null!==f?(m=f.attributeName,f=f.type,h=3===f||4===f&&!0===h?m+'=""':m+"="+('"'+M(h)+'"')):h=la(m)?m+"="+('"'+M(h)+'"'):""}h&&(C+=" "+h)}}l||G&&(C+=' data-reactroot=""');var v=C;g="";xa.hasOwnProperty(b)?v+="/>":(v+=">",g="</"+a.type+">");a:{l=e.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;break a}}else if(l=e.children,"string"===typeof l||"number"===typeof l){l=M(l);break a}l=null}null!= | ||
l?(e=[],Da[b]&&"\n"===l.charAt(0)&&(v+="\n"),v+=l):e=Y(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?wa(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:g});this.previousWasTextNode=!1;return v};return a}(),Oa={renderToString:function(a){return(new Na(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Na(a,!0)).read(Infinity)},renderToNodeStream:function(){r("207")}, | ||
renderToStaticNodeStream:function(){r("208")},version:"16.7.0-alpha.0"},Pa={default:Oa},Qa=Pa&&Oa||Pa;module.exports=Qa.default||Qa; | ||
'use strict';var p=require("object-assign"),q=require("react");function aa(a,b,e,c,g,d,h,f){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var B=[e,c,g,d,h,f],A=0;a=Error(b.replace(/%s/g,function(){return B[A++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function u(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)} | ||
var w="function"===typeof Symbol&&Symbol.for,y=w?Symbol.for("react.portal"):60106,z=w?Symbol.for("react.fragment"):60107,C=w?Symbol.for("react.strict_mode"):60108,D=w?Symbol.for("react.profiler"):60114,E=w?Symbol.for("react.provider"):60109,F=w?Symbol.for("react.context"):60110,G=w?Symbol.for("react.concurrent_mode"):60111,H=w?Symbol.for("react.forward_ref"):60112,I=w?Symbol.for("react.suspense"):60113,J=w?Symbol.for("react.memo"):60115,L=w?Symbol.for("react.lazy"):60116; | ||
function M(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 G:return"ConcurrentMode";case z:return"Fragment";case y:return"Portal";case D:return"Profiler";case C:return"StrictMode";case I:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case F:return"Context.Consumer";case E:return"Context.Provider";case H:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef"); | ||
case J:return M(a.type);case L:if(a=1===a._status?a._result:null)return M(a)}return null}var ba=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ca={};function N(a,b){for(var e=a._threadCount;e<=b;e++)a[e]=a._currentValue2,a._threadCount=e+1}function da(a,b,e){var c=a.contextType;if("object"===typeof c&&null!==c)return N(c,e),c[e];if(a=a.contextTypes){e={};for(var g in a)e[g]=b[g];b=e}else b=ca;return b}for(var O=new Uint16Array(16),P=0;15>P;P++)O[P]=P+1;O[15]=0; | ||
var ea=/^[: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]*$/,fa=Object.prototype.hasOwnProperty,ha={},ia={}; | ||
function ja(a){if(fa.call(ia,a))return!0;if(fa.call(ha,a))return!1;if(ea.test(a))return ia[a]=!0;ha[a]=!0;return!1}function ka(a,b,e,c){if(null!==e&&0===e.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==e)return!e.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}} | ||
function la(a,b,e,c){if(null===b||"undefined"===typeof b||ka(a,b,e,c))return!0;if(c)return!1;if(null!==e)switch(e.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 Q(a,b,e,c,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=g;this.mustUseProperty=e;this.propertyName=a;this.type=b}var R={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){R[a]=new Q(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];R[b]=new Q(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){R[a]=new Q(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){R[a]=new Q(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){R[a]=new Q(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){R[a]=new Q(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){R[a]=new Q(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){R[a]=new Q(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){R[a]=new Q(a,5,!1,a.toLowerCase(),null)});var S=/[\-:]([a-z])/g;function T(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=a.replace(S, | ||
T);R[b]=new Q(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(S,T);R[b]=new Q(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(S,T);R[b]=new Q(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});R.tabIndex=new Q("tabIndex",1,!1,"tabindex",null);var ma=/["'&<>]/; | ||
function U(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ma.exec(a);if(b){var e="",c,g=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}g!==c&&(e+=a.substring(g,c));g=c+1;e+=b}a=g!==c?e+a.substring(g,c):e}return a}var na=!1;function oa(a,b,e,c){for(;na;)na=!1,e=a(b,c);return e} | ||
var V=0,pa={readContext:function(a){var b=V;N(a,b);return a[b]}},qa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ra(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"}} | ||
var sa={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},ta=p({menuitem:!0},sa),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,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},ua=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(a){ua.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);W[b]=W[a]})}); | ||
var va=/([A-Z])/g,wa=/^ms-/,X=q.Children.toArray,Y=ba.ReactCurrentOwner,xa={listing:!0,pre:!0,textarea:!0},ya=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,za={},Z={};function Aa(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Ba=Object.prototype.hasOwnProperty,Ca={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Da(a,b){void 0===a&&u("152",M(b)||"Component")} | ||
function Ea(a,b,e){function c(g,c){var d=da(c,b,e),f=[],h=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},k=void 0;if(c.prototype&&c.prototype.isReactComponent){if(k=new c(g.props,d,l),"function"===typeof c.getDerivedStateFromProps){var r=c.getDerivedStateFromProps.call(null,g.props,k.state);null!=r&&(k.state=p({},k.state,r))}}else if(k=c(g.props, | ||
d,l),k=oa(c,g.props,k,d),null==k||null==k.render){a=k;Da(a,c);return}k.props=g.props;k.context=d;k.updater=l;l=k.state;void 0===l&&(k.state=l=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),f.length){l=f;var m= | ||
h;f=null;h=!1;if(m&&1===l.length)k.state=l[0];else{r=m?l[0]:k.state;var t=!0;for(m=m?1:0;m<l.length;m++){var v=l[m];v="function"===typeof v?v.call(k,r,g.props,d):v;null!=v&&(t?(t=!1,r=p({},r,v)):p(r,v))}k.state=r}}else f=null;a=k.render();Da(a,c);g=void 0;if("function"===typeof k.getChildContext&&(d=c.childContextTypes,"object"===typeof d)){g=k.getChildContext();for(var K in g)K in d?void 0:u("108",M(c)||"Unknown",K)}g&&(b=p({},b,g))}for(;q.isValidElement(a);){var g=a,d=g.type;if("function"!==typeof d)break; | ||
c(g,d)}return{child:a,context:b}} | ||
var Fa=function(){function a(b,e){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==z?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:X(b)):b=X(b);b={type:null,domNamespace:qa.html,children:b,childIndex:0,context:ca,footer:""};var c=O[0];if(0===c){var g=O;c=g.length;var d=2*c;65536>=d?void 0:u("304");var h=new Uint16Array(d);h.set(g);O=h;O[0]=c+1;for(g=c;g<d-1;g++)O[g]=g+1;O[d-1]=0}else O[0]=O[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=e;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;var a=this.threadID;O[a]=O[0];O[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,g=this.threadID;N(c,g);var d=c[g];this.contextStack[b]=c;this.contextValueStack[b]=d;c[g]=a.props.value};a.prototype.popProvider=function(){var a= | ||
this.contextIndex,e=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;e[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=V;V=this.threadID;var c=Y.currentDispatcher;Y.currentDispatcher=pa;try{for(var g=[""],d=!1;g[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;O[h]=O[0];O[0]=h;break}var f=this.stack[this.stack.length-1];if(d||f.childIndex>=f.children.length){var B= | ||
f.footer;""!==B&&(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===E)this.popProvider(f.type);else if(f.type===I){this.suspenseDepth--;var A=g.pop();if(d){d=!1;var n=f.fallbackFrame;n?void 0:u("303");this.stack.push(n);continue}else g[this.suspenseDepth]+=A}g[this.suspenseDepth]+=B}else{var l=f.children[f.childIndex++],k="";try{k+=this.render(l,f.context,f.domNamespace)}catch(r){throw r; | ||
}finally{}g.length<=this.suspenseDepth&&g.push("");g[this.suspenseDepth]+=k}}return g[0]}finally{Y.currentDispatcher=c,V=b}};a.prototype.render=function(a,e,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return U(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+U(c);this.previousWasTextNode=!0;return U(c)}e=Ea(a,e,this.threadID);a=e.child;e=e.context;if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof; | ||
b===y?u("257"):void 0;u("258",b.toString())}a=X(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:e,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,e,c);switch(b){case C:case G:case D:case z:return a=X(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:e,footer:""}),"";case I:u("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case H:var d=b.render(a.props,a.ref);d=oa(b.render,a.props,d,a.ref); | ||
d=X(d);this.stack.push({type:null,domNamespace:c,children:d,childIndex:0,context:e,footer:""});return"";case J:return a=[q.createElement(b.type,p({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:e,footer:""}),"";case E:return b=X(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:e,footer:""},this.pushProvider(a),this.stack.push(c),"";case F:b=a.type;d=a.props;var h=this.threadID;N(b,h);b=X(d.children(b[h]));this.stack.push({type:a, | ||
domNamespace:c,children:b,childIndex:0,context:e,footer:""});return"";case L:u("295")}u("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,e,c){var b=a.type.toLowerCase();c===qa.html&&ra(b);za.hasOwnProperty(b)||(ya.test(b)?void 0:u("65",b),za[b]=!0);var d=a.props;if("input"===b)d=p({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===b){var h=d.value;if(null==h){h= | ||
d.defaultValue;var f=d.children;null!=f&&(null!=h?u("92"):void 0,Array.isArray(f)&&(1>=f.length?void 0:u("93"),f=f[0]),h=""+f);null==h&&(h="")}d=p({},d,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=p({},d,{value:void 0});else if("option"===b){f=this.currentSelectValue;var B=Aa(d.children);if(null!=f){var A=null!=d.value?d.value+"":B;h=!1;if(Array.isArray(f))for(var n=0;n<f.length;n++){if(""+f[n]===A){h=!0;break}}else h=""+f===A;d= | ||
p({selected:void 0,children:void 0},d,{selected:h,children:B})}}if(h=d)ta[b]&&(null!=h.children||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=d;f=this.makeStaticMarkup;B=1===this.stack.length;A="<"+a.type;for(x in h)if(Ba.call(h,x)){var l=h[x];if(null!=l){if("style"=== | ||
x){n=void 0;var k="",r="";for(n in l)if(l.hasOwnProperty(n)){var m=0===n.indexOf("--"),t=l[n];if(null!=t){var v=n;if(Z.hasOwnProperty(v))v=Z[v];else{var K=v.replace(va,"-$1").toLowerCase().replace(wa,"-ms-");v=Z[v]=K}k+=r+v+":";r=n;m=null==t||"boolean"===typeof t||""===t?"":m||"number"!==typeof t||0===t||W.hasOwnProperty(r)&&W[r]?(""+t).trim():t+"px";k+=m;r=";"}}l=k||null}n=null;b:if(m=b,t=h,-1===m.indexOf("-"))m="string"===typeof t.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m= | ||
!1;break b;default:m=!0}if(m)Ca.hasOwnProperty(x)||(n=x,n=ja(n)&&null!=l?n+"="+('"'+U(l)+'"'):"");else{m=x;n=l;l=R.hasOwnProperty(m)?R[m]:null;if(t="style"!==m)t=null!==l?0===l.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;t||la(m,n,l,!1)?n="":null!==l?(m=l.attributeName,l=l.type,n=3===l||4===l&&!0===n?m+'=""':m+"="+('"'+U(n)+'"')):n=ja(m)?m+"="+('"'+U(n)+'"'):""}n&&(A+=" "+n)}}f||B&&(A+=' data-reactroot=""');var x=A;h="";sa.hasOwnProperty(b)?x+="/>":(x+=">",h="</"+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=U(f);break a}f=null}null!=f?(d=[],xa[b]&&"\n"===f.charAt(0)&&(x+="\n"),x+=f):d=X(d.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ra(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:d,childIndex:0,context:e,footer:h});this.previousWasTextNode= | ||
!1;return x};return a}(),Ga={renderToString:function(a){a=new Fa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Fa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){u("207")},renderToStaticNodeStream:function(){u("208")},version:"16.7.0-alpha.1"},Ha={default:Ga},Ia=Ha&&Ga||Ha;module.exports=Ia.default||Ia; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-server.node.production.min.js | ||
@@ -10,43 +10,39 @@ * | ||
'use strict';var n=require("object-assign"),q=require("react"),aa=require("stream");function ba(a,b,d,c,g,e,h,l){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var G=[d,c,g,e,h,l],C=0;a=Error(b.replace(/%s/g,function(){return G[C++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function r(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);ba(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)} | ||
var t="function"===typeof Symbol&&Symbol.for,x=t?Symbol.for("react.portal"):60106,y=t?Symbol.for("react.fragment"):60107,z=t?Symbol.for("react.strict_mode"):60108,B=t?Symbol.for("react.profiler"):60114,D=t?Symbol.for("react.provider"):60109,E=t?Symbol.for("react.context"):60110,ca=t?Symbol.for("react.concurrent_mode"):60111,da=t?Symbol.for("react.forward_ref"):60112,ea=t?Symbol.for("react.suspense"):60113,fa=t?Symbol.for("react.memo"):60115,ha=t?Symbol.for("react.lazy"):60116; | ||
function F(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 ca:return"ConcurrentMode";case y:return"Fragment";case x:return"Portal";case B:return"Profiler";case z:return"StrictMode";case ea:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case E:return"Context.Consumer";case D:return"Context.Provider";case da:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef"); | ||
case fa:return F(a.type);case ha:if(a=1===a._status?a._result:null)return F(a)}return null} | ||
var ia=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ja=/^[: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]*$/,ka=Object.prototype.hasOwnProperty,la={},ma={}; | ||
function na(a){if(ka.call(ma,a))return!0;if(ka.call(la,a))return!1;if(ja.test(a))return ma[a]=!0;la[a]=!0;return!1}function oa(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}} | ||
function pa(a,b,d,c){if(null===b||"undefined"===typeof b||oa(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function H(a,b,d,c,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=g;this.mustUseProperty=d;this.propertyName=a;this.type=b}var I={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){I[a]=new H(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];I[b]=new H(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){I[a]=new H(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){I[a]=new H(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){I[a]=new H(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){I[a]=new H(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){I[a]=new H(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){I[a]=new H(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){I[a]=new H(a,5,!1,a.toLowerCase(),null)});var J=/[\-:]([a-z])/g;function K(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=a.replace(J, | ||
K);I[b]=new H(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(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});I.tabIndex=new H("tabIndex",1,!1,"tabindex",null);var qa=/["'&<>]/; | ||
function L(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=qa.exec(a);if(b){var d="",c,g=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}g!==c&&(d+=a.substring(g,c));g=c+1;d+=b}a=g!==c?d+a.substring(g,c):d}return a}var M=null,N=null,O=null,P=!1,Q=!1,R=null,S=0;function T(){null===M?r("298"):void 0;return M} | ||
function ra(){return{memoizedState:null,queue:null,next:null}}function U(){null===O?null===N?(P=!1,N=O=ra()):(P=!0,O=N):null===O.next?(P=!1,O=O.next=ra()):(P=!0,O=O.next);return O}function sa(a,b,d,c){for(;Q;)Q=!1,S+=1,O=null,d=a(b,c);N=M=null;S=0;O=R=null;return d}function ta(a,b){return"function"===typeof b?b(a):b} | ||
function ua(a,b,d){M=T();O=U();if(P){var c=O.queue;b=c.dispatch;if(null!==R&&(d=R.get(c),void 0!==d)){R.delete(c);c=O.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);O.memoizedState=c;return[c,b]}return[O.memoizedState,b]}a===ta?"function"===typeof b&&(b=b()):void 0!==d&&null!==d&&(b=a(b,d));O.memoizedState=b;a=O.queue={last:null,dispatch:null};a=a.dispatch=va.bind(null,M,a);return[O.memoizedState,a]} | ||
function va(a,b,d){25>S?void 0:r("300");if(a===M)if(Q=!0,a={action:d,next:null},null===R&&(R=new Map),d=R.get(b),void 0===d)R.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function V(){} | ||
var wa={readContext:function(a){return a._currentValue},useContext:function(a){T();return a._currentValue},useMemo:function(a,b){M=T();O=U();b=void 0!==b&&null!==b?b:[a];if(null!==O&&null!==O.memoizedState){var d=O.memoizedState,c=d[1];a:{for(var g=0;g<b.length;g++){var e=b[g],h=c[g];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();O.memoizedState=[a,b];return a},useReducer:ua,useRef:function(a){M=T();O=U();var b=O.memoizedState;return null===b?(a={current:a}, | ||
O.memoizedState=a):b},useState:function(a){return ua(ta,a)},useMutationEffect:function(){},useLayoutEffect:function(){},useImperativeMethods:V,useCallback:V,useEffect:V},xa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ya(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"}} | ||
var za={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},Aa=n({menuitem:!0},za),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,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},Ba=["Webkit","ms","Moz","O"];Object.keys(W).forEach(function(a){Ba.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);W[b]=W[a]})}); | ||
var Ca=/([A-Z])/g,Da=/^ms-/,X=q.Children.toArray,Ea=ia.ReactCurrentOwner,Fa={listing:!0,pre:!0,textarea:!0},Ga=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ha={},Y={};function Ia(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Ja={};function Ka(a,b){var d=a.contextType;if("object"===typeof d&&null!==d)return d._currentValue;if(a=a.contextTypes){d={};for(var c in a)d[c]=b[c];b=d}else b=Ja;return b} | ||
var La=Object.prototype.hasOwnProperty,Ma={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Na(a,b){void 0===a&&r("152",F(b)||"Component")} | ||
function Oa(a,b){function d(c,d){var g=Ka(d,b),e=[],h=!1,k={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===e)return null},enqueueReplaceState:function(a,b){h=!0;e=[b]},enqueueSetState:function(a,b){if(null===e)return null;e.push(b)}},f=void 0;if(d.prototype&&d.prototype.isReactComponent){if(f=new d(c.props,g,k),"function"===typeof d.getDerivedStateFromProps){var w=d.getDerivedStateFromProps.call(null,c.props,f.state);null!=w&&(f.state=n({},f.state,w))}}else if(M={},f=d(c.props, | ||
g,k),f=sa(d,c.props,f,g),null==f||null==f.render){a=f;Na(a,d);return}f.props=c.props;f.context=g;f.updater=k;k=f.state;void 0===k&&(f.state=k=null);if("function"===typeof f.UNSAFE_componentWillMount||"function"===typeof f.componentWillMount)if("function"===typeof f.componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&f.componentWillMount(),"function"===typeof f.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&f.UNSAFE_componentWillMount(),e.length){k=e;var u= | ||
h;e=null;h=!1;if(u&&1===k.length)f.state=k[0];else{w=u?k[0]:f.state;var m=!0;for(u=u?1:0;u<k.length;u++){var p=k[u];p="function"===typeof p?p.call(f,w,c.props,g):p;null!=p&&(m?(m=!1,w=n({},w,p)):n(w,p))}f.state=w}}else e=null;a=f.render();Na(a,d);c=void 0;if("function"===typeof f.getChildContext&&(g=d.childContextTypes,"object"===typeof g)){c=f.getChildContext();for(var A in c)A in g?void 0:r("108",F(d)||"Unknown",A)}c&&(b=n({},b,c))}for(;q.isValidElement(a);){var c=a,g=c.type;if("function"!==typeof g)break; | ||
d(c,g)}return{child:a,context:b}} | ||
var Z=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==y?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:X(b)):b=X(b);this.stack=[{type:null,domNamespace:xa.html,children:b,childIndex:0,context:Ja,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.pushProvider=function(a){var b= | ||
++this.contextIndex,c=a.type._context,g=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=g;c._currentValue=a.props.value};a.prototype.popProvider=function(){var a=this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d._currentValue=c};a.prototype.read=function(a){if(this.exhausted)return null;Ea.currentDispatcher=wa;try{for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0; | ||
break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var g=c.footer;b+=g;""!==g&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===D&&this.popProvider(c.type)}else{var e=c.children[c.childIndex++];b+=this.render(e,c.context,c.domNamespace)}}return b}finally{Ea.currentDispatcher=null}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""=== | ||
c)return"";if(this.makeStaticMarkup)return L(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+L(c);this.previousWasTextNode=!0;return L(c)}d=Oa(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===x?r("257"):void 0;r("258",b.toString())}a=X(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case z:case ca:case B:case y:return a= | ||
X(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case ea:r("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case da:M={};var e=b.render(a.props,a.ref);e=sa(b.render,a.props,e,a.ref);e=X(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case fa:return a=[q.createElement(b.type,n({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}), | ||
"";case D:return b=X(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case E:return b=X(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),"";case ha:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===xa.html&&ya(b);Ha.hasOwnProperty(b)||(Ga.test(b)?void 0:r("65",b),Ha[b]=!0);var e=a.props; | ||
if("input"===b)e=n({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 l=e.children;null!=l&&(null!=h?r("92"):void 0,Array.isArray(l)&&(1>=l.length?void 0:r("93"),l=l[0]),h=""+l);null==h&&(h="")}e=n({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=n({},e,{value:void 0}); | ||
else if("option"===b){l=this.currentSelectValue;var G=Ia(e.children);if(null!=l){var C=null!=e.value?e.value+"":G;h=!1;if(Array.isArray(l))for(var k=0;k<l.length;k++){if(""+l[k]===C){h=!0;break}}else h=""+l===C;e=n({selected:void 0,children:void 0},e,{selected:h,children:G})}}if(h=e)Aa[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML? | ||
void 0:r("61")),null!=h.style&&"object"!==typeof h.style?r("62",""):void 0;h=e;l=this.makeStaticMarkup;G=1===this.stack.length;C="<"+a.type;for(v in h)if(La.call(h,v)){var f=h[v];if(null!=f){if("style"===v){k=void 0;var w="",u="";for(k in f)if(f.hasOwnProperty(k)){var m=0===k.indexOf("--"),p=f[k];if(null!=p){var A=k;if(Y.hasOwnProperty(A))A=Y[A];else{var Ta=A.replace(Ca,"-$1").toLowerCase().replace(Da,"-ms-");A=Y[A]=Ta}w+=u+A+":";u=k;m=null==p||"boolean"===typeof p||""===p?"":m||"number"!==typeof p|| | ||
0===p||W.hasOwnProperty(u)&&W[u]?(""+p).trim():p+"px";w+=m;u=";"}}f=w||null}k=null;b:if(m=b,p=h,-1===m.indexOf("-"))m="string"===typeof p.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m=!1;break b;default:m=!0}if(m)Ma.hasOwnProperty(v)||(k=v,k=na(k)&&null!=f?k+"="+('"'+L(f)+'"'):"");else{m=v;k=f;f=I.hasOwnProperty(m)?I[m]:null;if(p="style"!==m)p=null!==f?0=== | ||
f.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;p||pa(m,k,f,!1)?k="":null!==f?(m=f.attributeName,f=f.type,k=3===f||4===f&&!0===k?m+'=""':m+"="+('"'+L(k)+'"')):k=na(m)?m+"="+('"'+L(k)+'"'):""}k&&(C+=" "+k)}}l||G&&(C+=' data-reactroot=""');var v=C;h="";za.hasOwnProperty(b)?v+="/>":(v+=">",h="</"+a.type+">");a:{l=e.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;break a}}else if(l=e.children,"string"===typeof l||"number"===typeof l){l=L(l);break a}l=null}null!= | ||
l?(e=[],Fa[b]&&"\n"===l.charAt(0)&&(v+="\n"),v+=l):e=X(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ya(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 v};return a}(); | ||
function Pa(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)} | ||
var Qa=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var g=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");g=!g||"object"!==typeof g&&"function"!==typeof g?this:g;g.partialRenderer=new Z(d,c);return g}Pa(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(aa.Readable),Ra={renderToString:function(a){return(new Z(a, | ||
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Z(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new Qa(a,!1)},renderToStaticNodeStream:function(a){return new Qa(a,!0)},version:"16.7.0-alpha.0"},Sa={default:Ra},Ua=Sa&&Ra||Sa;module.exports=Ua.default||Ua; | ||
'use strict';var p=require("object-assign"),q=require("react"),aa=require("stream");function ba(a,b,f,c,e,d,h,g){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var B=[f,c,e,d,h,g],A=0;a=Error(b.replace(/%s/g,function(){return B[A++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} | ||
function u(a){for(var b=arguments.length-1,f="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)f+="&args[]="+encodeURIComponent(arguments[c+1]);ba(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",f)} | ||
var w="function"===typeof Symbol&&Symbol.for,y=w?Symbol.for("react.portal"):60106,z=w?Symbol.for("react.fragment"):60107,C=w?Symbol.for("react.strict_mode"):60108,D=w?Symbol.for("react.profiler"):60114,E=w?Symbol.for("react.provider"):60109,F=w?Symbol.for("react.context"):60110,G=w?Symbol.for("react.concurrent_mode"):60111,H=w?Symbol.for("react.forward_ref"):60112,I=w?Symbol.for("react.suspense"):60113,J=w?Symbol.for("react.memo"):60115,ca=w?Symbol.for("react.lazy"):60116; | ||
function L(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 G:return"ConcurrentMode";case z:return"Fragment";case y:return"Portal";case D:return"Profiler";case C:return"StrictMode";case I:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case F:return"Context.Consumer";case E:return"Context.Provider";case H:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef"); | ||
case J:return L(a.type);case ca:if(a=1===a._status?a._result:null)return L(a)}return null}var da=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ea={};function M(a,b){for(var f=a._threadCount;f<=b;f++)a[f]=a._currentValue2,a._threadCount=f+1}function fa(a,b,f){var c=a.contextType;if("object"===typeof c&&null!==c)return M(c,f),c[f];if(a=a.contextTypes){f={};for(var e in a)f[e]=b[e];b=f}else b=ea;return b}for(var N=new Uint16Array(16),O=0;15>O;O++)N[O]=O+1;N[15]=0; | ||
var ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,ja={},ka={}; | ||
function la(a){if(ia.call(ka,a))return!0;if(ia.call(ja,a))return!1;if(ha.test(a))return ka[a]=!0;ja[a]=!0;return!1}function ma(a,b,f,c){if(null!==f&&0===f.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==f)return!f.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}} | ||
function na(a,b,f,c){if(null===b||"undefined"===typeof b||ma(a,b,f,c))return!0;if(c)return!1;if(null!==f)switch(f.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 P(a,b,f,c,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=e;this.mustUseProperty=f;this.propertyName=a;this.type=b}var Q={}; | ||
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){Q[a]=new P(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];Q[b]=new P(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){Q[a]=new P(a,2,!1,a.toLowerCase(),null)}); | ||
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){Q[a]=new P(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){Q[a]=new P(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){Q[a]=new P(a,3,!0,a,null)}); | ||
["capture","download"].forEach(function(a){Q[a]=new P(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){Q[a]=new P(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){Q[a]=new P(a,5,!1,a.toLowerCase(),null)});var R=/[\-:]([a-z])/g;function S(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=a.replace(R, | ||
S);Q[b]=new P(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(R,S);Q[b]=new P(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(R,S);Q[b]=new P(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});Q.tabIndex=new P("tabIndex",1,!1,"tabindex",null);var oa=/["'&<>]/; | ||
function T(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=oa.exec(a);if(b){var f="",c,e=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}e!==c&&(f+=a.substring(e,c));e=c+1;f+=b}a=e!==c?f+a.substring(e,c):f}return a}var pa=!1;function qa(a,b,f,c){for(;pa;)pa=!1,f=a(b,c);return f} | ||
var U=0,ra={readContext:function(a){var b=U;M(a,b);return a[b]}},sa={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ta(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"}} | ||
var ua={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},va=p({menuitem:!0},ua),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,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},wa=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(a){wa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);V[b]=V[a]})}); | ||
var xa=/([A-Z])/g,ya=/^ms-/,W=q.Children.toArray,X=da.ReactCurrentOwner,za={listing:!0,pre:!0,textarea:!0},Aa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ba={},Y={};function Ca(a){if(void 0===a||null===a)return a;var b="";q.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Da=Object.prototype.hasOwnProperty,Ea={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Fa(a,b){void 0===a&&u("152",L(b)||"Component")} | ||
function Ga(a,b,f){function c(e,c){var d=fa(c,b,f),g=[],h=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===g)return null},enqueueReplaceState:function(a,b){h=!0;g=[b]},enqueueSetState:function(a,b){if(null===g)return null;g.push(b)}},k=void 0;if(c.prototype&&c.prototype.isReactComponent){if(k=new c(e.props,d,l),"function"===typeof c.getDerivedStateFromProps){var r=c.getDerivedStateFromProps.call(null,e.props,k.state);null!=r&&(k.state=p({},k.state,r))}}else if(k=c(e.props, | ||
d,l),k=qa(c,e.props,k,d),null==k||null==k.render){a=k;Fa(a,c);return}k.props=e.props;k.context=d;k.updater=l;l=k.state;void 0===l&&(k.state=l=null);if("function"===typeof k.UNSAFE_componentWillMount||"function"===typeof k.componentWillMount)if("function"===typeof k.componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&&k.componentWillMount(),"function"===typeof k.UNSAFE_componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&&k.UNSAFE_componentWillMount(),g.length){l=g;var m= | ||
h;g=null;h=!1;if(m&&1===l.length)k.state=l[0];else{r=m?l[0]:k.state;var t=!0;for(m=m?1:0;m<l.length;m++){var v=l[m];v="function"===typeof v?v.call(k,r,e.props,d):v;null!=v&&(t?(t=!1,r=p({},r,v)):p(r,v))}k.state=r}}else g=null;a=k.render();Fa(a,c);e=void 0;if("function"===typeof k.getChildContext&&(d=c.childContextTypes,"object"===typeof d)){e=k.getChildContext();for(var K in e)K in d?void 0:u("108",L(c)||"Unknown",K)}e&&(b=p({},b,e))}for(;q.isValidElement(a);){var e=a,d=e.type;if("function"!==typeof d)break; | ||
c(e,d)}return{child:a,context:b}} | ||
var Z=function(){function a(b,f){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==z?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:W(b)):b=W(b);b={type:null,domNamespace:sa.html,children:b,childIndex:0,context:ea,footer:""};var c=N[0];if(0===c){var e=N;c=e.length;var d=2*c;65536>=d?void 0:u("304");var h=new Uint16Array(d);h.set(e);N=h;N[0]=c+1;for(e=c;e<d-1;e++)N[e]=e+1;N[d-1]=0}else N[0]=N[c];this.threadID=c;this.stack=[b];this.exhausted= | ||
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=f;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;var a=this.threadID;N[a]=N[0];N[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,e=this.threadID;M(c,e);var d=c[e];this.contextStack[b]=c;this.contextValueStack[b]=d;c[e]=a.props.value};a.prototype.popProvider=function(){var a= | ||
this.contextIndex,f=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;f[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=U;U=this.threadID;var c=X.currentDispatcher;X.currentDispatcher=ra;try{for(var e=[""],d=!1;e[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;N[h]=N[0];N[0]=h;break}var g=this.stack[this.stack.length-1];if(d||g.childIndex>=g.children.length){var B= | ||
g.footer;""!==B&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===E)this.popProvider(g.type);else if(g.type===I){this.suspenseDepth--;var A=e.pop();if(d){d=!1;var n=g.fallbackFrame;n?void 0:u("303");this.stack.push(n);continue}else e[this.suspenseDepth]+=A}e[this.suspenseDepth]+=B}else{var l=g.children[g.childIndex++],k="";try{k+=this.render(l,g.context,g.domNamespace)}catch(r){throw r; | ||
}finally{}e.length<=this.suspenseDepth&&e.push("");e[this.suspenseDepth]+=k}}return e[0]}finally{X.currentDispatcher=c,U=b}};a.prototype.render=function(a,f,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return T(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+T(c);this.previousWasTextNode=!0;return T(c)}f=Ga(a,f,this.threadID);a=f.child;f=f.context;if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof; | ||
b===y?u("257"):void 0;u("258",b.toString())}a=W(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,f,c);switch(b){case C:case G:case D:case z:return a=W(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""}),"";case I:u("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case H:var d=b.render(a.props,a.ref);d=qa(b.render,a.props,d,a.ref); | ||
d=W(d);this.stack.push({type:null,domNamespace:c,children:d,childIndex:0,context:f,footer:""});return"";case J:return a=[q.createElement(b.type,p({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""}),"";case E:return b=W(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:f,footer:""},this.pushProvider(a),this.stack.push(c),"";case F:b=a.type;d=a.props;var h=this.threadID;M(b,h);b=W(d.children(b[h]));this.stack.push({type:a, | ||
domNamespace:c,children:b,childIndex:0,context:f,footer:""});return"";case ca:u("295")}u("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,f,c){var b=a.type.toLowerCase();c===sa.html&&ta(b);Ba.hasOwnProperty(b)||(Aa.test(b)?void 0:u("65",b),Ba[b]=!0);var d=a.props;if("input"===b)d=p({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===b){var h=d.value;if(null==h){h= | ||
d.defaultValue;var g=d.children;null!=g&&(null!=h?u("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:u("93"),g=g[0]),h=""+g);null==h&&(h="")}d=p({},d,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=p({},d,{value:void 0});else if("option"===b){g=this.currentSelectValue;var B=Ca(d.children);if(null!=g){var A=null!=d.value?d.value+"":B;h=!1;if(Array.isArray(g))for(var n=0;n<g.length;n++){if(""+g[n]===A){h=!0;break}}else h=""+g===A;d= | ||
p({selected:void 0,children:void 0},d,{selected:h,children:B})}}if(h=d)va[b]&&(null!=h.children||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=d;g=this.makeStaticMarkup;B=1===this.stack.length;A="<"+a.type;for(x in h)if(Da.call(h,x)){var l=h[x];if(null!=l){if("style"=== | ||
x){n=void 0;var k="",r="";for(n in l)if(l.hasOwnProperty(n)){var m=0===n.indexOf("--"),t=l[n];if(null!=t){var v=n;if(Y.hasOwnProperty(v))v=Y[v];else{var K=v.replace(xa,"-$1").toLowerCase().replace(ya,"-ms-");v=Y[v]=K}k+=r+v+":";r=n;m=null==t||"boolean"===typeof t||""===t?"":m||"number"!==typeof t||0===t||V.hasOwnProperty(r)&&V[r]?(""+t).trim():t+"px";k+=m;r=";"}}l=k||null}n=null;b:if(m=b,t=h,-1===m.indexOf("-"))m="string"===typeof t.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m= | ||
!1;break b;default:m=!0}if(m)Ea.hasOwnProperty(x)||(n=x,n=la(n)&&null!=l?n+"="+('"'+T(l)+'"'):"");else{m=x;n=l;l=Q.hasOwnProperty(m)?Q[m]:null;if(t="style"!==m)t=null!==l?0===l.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;t||na(m,n,l,!1)?n="":null!==l?(m=l.attributeName,l=l.type,n=3===l||4===l&&!0===n?m+'=""':m+"="+('"'+T(n)+'"')):n=la(m)?m+"="+('"'+T(n)+'"'):""}n&&(A+=" "+n)}}g||B&&(A+=' data-reactroot=""');var x=A;h="";ua.hasOwnProperty(b)?x+="/>":(x+=">",h="</"+a.type+ | ||
">");a:{g=d.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=d.children,"string"===typeof g||"number"===typeof g){g=T(g);break a}g=null}null!=g?(d=[],za[b]&&"\n"===g.charAt(0)&&(x+="\n"),x+=g):d=W(d.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ta(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:d,childIndex:0,context:f,footer:h});this.previousWasTextNode= | ||
!1;return x};return a}();function Ha(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)} | ||
var Ia=function(a){function b(f,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var e=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");e=!e||"object"!==typeof e&&"function"!==typeof e?this:e;e.partialRenderer=new Z(f,c);return e}Ha(b,a);b.prototype._destroy=function(){this.partialRenderer.destroy()};b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.destroy(c)}};return b}(aa.Readable), | ||
Ja={renderToString:function(a){a=new Z(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Z(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(a){return new Ia(a,!1)},renderToStaticNodeStream:function(a){return new Ia(a,!0)},version:"16.7.0-alpha.1"},Ka={default:Ja},La=Ka&&Ja||Ka;module.exports=La.default||La; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-test-utils.development.js | ||
@@ -93,49 +93,10 @@ * | ||
if (typeof console !== 'undefined') { | ||
var _args$map = args.map(function (item) { | ||
var argsWithFormat = args.map(function (item) { | ||
return '' + item; | ||
}), | ||
a = _args$map[0], | ||
b = _args$map[1], | ||
c = _args$map[2], | ||
d = _args$map[3], | ||
e = _args$map[4], | ||
f = _args$map[5], | ||
g = _args$map[6], | ||
h = _args$map[7]; | ||
}); | ||
argsWithFormat.unshift('Warning: ' + format); | ||
var message = 'Warning: ' + format; | ||
// We intentionally don't use spread (or .apply) because it breaks IE9: | ||
// https://github.com/facebook/react/issues/13610 | ||
switch (args.length) { | ||
case 0: | ||
console.error(message); | ||
break; | ||
case 1: | ||
console.error(message, a); | ||
break; | ||
case 2: | ||
console.error(message, a, b); | ||
break; | ||
case 3: | ||
console.error(message, a, b, c); | ||
break; | ||
case 4: | ||
console.error(message, a, b, c, d); | ||
break; | ||
case 5: | ||
console.error(message, a, b, c, d, e); | ||
break; | ||
case 6: | ||
console.error(message, a, b, c, d, e, f); | ||
break; | ||
case 7: | ||
console.error(message, a, b, c, d, e, f, g); | ||
break; | ||
case 8: | ||
console.error(message, a, b, c, d, e, f, g, h); | ||
break; | ||
default: | ||
throw new Error('warningWithoutStack() currently supports at most 8 arguments.'); | ||
} | ||
// We intentionally don't use spread (or .apply) directly because it | ||
// breaks IE9: https://github.com/facebook/react/issues/13610 | ||
Function.prototype.apply.call(console.error, console, argsWithFormat); | ||
} | ||
@@ -147,6 +108,6 @@ try { | ||
var argIndex = 0; | ||
var _message = 'Warning: ' + format.replace(/%s/g, function () { | ||
var message = 'Warning: ' + format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
}); | ||
throw new Error(_message); | ||
throw new Error(message); | ||
} catch (x) {} | ||
@@ -1219,3 +1180,3 @@ }; | ||
enqueueStateRestore(domNode); | ||
runEventsInBatch(event, true); | ||
runEventsInBatch(event); | ||
}); | ||
@@ -1222,0 +1183,0 @@ restoreStateIfNeeded(); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-test-utils.production.min.js | ||
@@ -28,3 +28,3 @@ * | ||
a.length+") for componentType:"+b);return a[0]},mockComponent:function(a,b){b=b||a.mockTagName||"div";a.prototype.render.mockImplementation(function(){return l.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{}}; | ||
function da(a){return function(b,c){l.isValidElement(b)?p("228"):void 0;W.isCompositeComponent(b)?p("229"):void 0;var e=P[a],d=new U;d.target=b;d.type=a.toLowerCase();var k=O(b),f=new w(e,k,d,b);f.persist();g(f,c);e.phasedRegistrationNames?Q(f):R(f);m.unstable_batchedUpdates(function(){S(b);ba(f,!0)});aa()}}W.Simulate={};var X=void 0;for(X in P)W.Simulate[X]=da(X); | ||
function da(a){return function(b,c){l.isValidElement(b)?p("228"):void 0;W.isCompositeComponent(b)?p("229"):void 0;var e=P[a],d=new U;d.target=b;d.type=a.toLowerCase();var k=O(b),f=new w(e,k,d,b);f.persist();g(f,c);e.phasedRegistrationNames?Q(f):R(f);m.unstable_batchedUpdates(function(){S(b);ba(f)});aa()}}W.Simulate={};var X=void 0;for(X in P)W.Simulate[X]=da(X); | ||
function ea(a,b){return function(c,e){var d=new U(a);g(d,e);W.isDOMComponent(c)?(c=K(c),d.target=c,T(b,d)):c.tagName&&(d.target=c,T(b,d))}} | ||
@@ -31,0 +31,0 @@ [["abort","abort"],[G,"animationEnd"],[H,"animationIteration"],[I,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit","dragExit"], |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -153,49 +153,10 @@ * | ||
if (typeof console !== 'undefined') { | ||
var _args$map = args.map(function (item) { | ||
var argsWithFormat = args.map(function (item) { | ||
return '' + item; | ||
}), | ||
a = _args$map[0], | ||
b = _args$map[1], | ||
c = _args$map[2], | ||
d = _args$map[3], | ||
e = _args$map[4], | ||
f = _args$map[5], | ||
g = _args$map[6], | ||
h = _args$map[7]; | ||
}); | ||
argsWithFormat.unshift('Warning: ' + format); | ||
var message = 'Warning: ' + format; | ||
// We intentionally don't use spread (or .apply) because it breaks IE9: | ||
// https://github.com/facebook/react/issues/13610 | ||
switch (args.length) { | ||
case 0: | ||
console.error(message); | ||
break; | ||
case 1: | ||
console.error(message, a); | ||
break; | ||
case 2: | ||
console.error(message, a, b); | ||
break; | ||
case 3: | ||
console.error(message, a, b, c); | ||
break; | ||
case 4: | ||
console.error(message, a, b, c, d); | ||
break; | ||
case 5: | ||
console.error(message, a, b, c, d, e); | ||
break; | ||
case 6: | ||
console.error(message, a, b, c, d, e, f); | ||
break; | ||
case 7: | ||
console.error(message, a, b, c, d, e, f, g); | ||
break; | ||
case 8: | ||
console.error(message, a, b, c, d, e, f, g, h); | ||
break; | ||
default: | ||
throw new Error('warningWithoutStack() currently supports at most 8 arguments.'); | ||
} | ||
// We intentionally don't use spread (or .apply) directly because it | ||
// breaks IE9: https://github.com/facebook/react/issues/13610 | ||
Function.prototype.apply.call(console.error, console, argsWithFormat); | ||
} | ||
@@ -207,6 +168,6 @@ try { | ||
var argIndex = 0; | ||
var _message = 'Warning: ' + format.replace(/%s/g, function () { | ||
var message = 'Warning: ' + format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
}); | ||
throw new Error(_message); | ||
throw new Error(message); | ||
} catch (x) {} | ||
@@ -213,0 +174,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -3,0 +3,0 @@ * |
{ | ||
"name": "react-dom", | ||
"version": "16.7.0-alpha.0", | ||
"version": "16.7.0-alpha.1", | ||
"description": "React package for working with the DOM.", | ||
@@ -19,6 +19,6 @@ "main": "index.js", | ||
"prop-types": "^15.6.2", | ||
"scheduler": "^0.11.0-alpha.0" | ||
"scheduler": "^0.12.0-alpha.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.0.0 || 16.7.0-alpha.0" | ||
"react": "^16.0.0 || 16.7.0-alpha.1" | ||
}, | ||
@@ -25,0 +25,0 @@ "files": [ |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-server.browser.production.min.js | ||
@@ -9,35 +9,33 @@ * | ||
*/ | ||
'use strict';(function(u,A){"object"===typeof exports&&"undefined"!==typeof module?module.exports=A(require("react")):"function"===typeof define&&define.amd?define(["react"],A):u.ReactDOMServer=A(u.React)})(this,function(u){function A(a,b,d,c,m,f,h,qa){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var e=[d,c,m,f,h,qa],l=0;a=Error(b.replace(/%s/g,function(){return e[l++]})); | ||
a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function r(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);A(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}function E(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 Q:return"ConcurrentMode";case H:return"Fragment";case R:return"Portal";case S:return"Profiler";case T:return"StrictMode";case U:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case V:return"Context.Consumer";case I:return"Context.Provider";case W:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case X:return E(a.type);case Y:if(a=1===a._status?a._result:null)return E(a)}return null}function Z(a){if(aa.call(ba,a))return!0; | ||
if(aa.call(ca,a))return!1;if(ra.test(a))return ba[a]=!0;ca[a]=!0;return!1}function sa(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function ta(a,b,d,c){if(null===b||"undefined"===typeof b||sa(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b); | ||
case 6:return isNaN(b)||1>b}return!1}function q(a,b,d,c,m){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=m;this.mustUseProperty=d;this.propertyName=a;this.type=b}function B(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ua.exec(a);if(b){var d="",c,m=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}m!== | ||
c&&(d+=a.substring(m,c));m=c+1;d+=b}a=m!==c?d+a.substring(m,c):d}return a}function F(){null===v?r("298"):void 0;return v}function da(){return{memoizedState:null,queue:null,next:null}}function J(){null===e?null===G?(C=!1,G=e=da()):(C=!0,e=G):null===e.next?(C=!1,e=e.next=da()):(C=!0,e=e.next);return e}function ea(a,b,d,c){for(;K;)K=!1,L+=1,e=null,d=a(b,c);G=v=null;L=0;e=w=null;return d}function fa(a,b){return"function"===typeof b?b(a):b}function ha(a,b,d){v=F();e=J();if(C){var c=e.queue;b=c.dispatch; | ||
if(null!==w&&(d=w.get(c),void 0!==d)){w.delete(c);c=e.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);e.memoizedState=c;return[c,b]}return[e.memoizedState,b]}a===fa?"function"===typeof b&&(b=b()):void 0!==d&&null!==d&&(b=a(b,d));e.memoizedState=b;a=e.queue={last:null,dispatch:null};a=a.dispatch=va.bind(null,v,a);return[e.memoizedState,a]}function va(a,b,d){25>L?void 0:r("300");if(a===v)if(K=!0,a={action:d,next:null},null===w&&(w=new Map),d=w.get(b),void 0===d)w.set(b,a);else{for(b=d;null!== | ||
b.next;)b=b.next;b.next=a}}function M(){}function ia(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 wa(a){if(void 0===a||null===a)return a;var b="";u.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function xa(a,b){var d=a.contextType;if("object"===typeof d&&null!==d)return d._currentValue;if(a=a.contextTypes){d={};for(var c in a)d[c]=b[c];b=d}else b=ja;return b}function ka(a, | ||
b){void 0===a&&r("152",E(b)||"Component")}function ya(a,b){function d(c,d){var m=xa(d,b),f=[],h=!1,k={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},g=void 0;if(d.prototype&&d.prototype.isReactComponent){if(g=new d(c.props,m,k),"function"===typeof d.getDerivedStateFromProps){var e=d.getDerivedStateFromProps.call(null,c.props,g.state);null!=e&&(g.state= | ||
y({},g.state,e))}}else if(v={},g=d(c.props,m,k),g=ea(d,c.props,g,m),null==g||null==g.render){a=g;ka(a,d);return}g.props=c.props;g.context=m;g.updater=k;k=g.state;void 0===k&&(g.state=k=null);if("function"===typeof g.UNSAFE_componentWillMount||"function"===typeof g.componentWillMount)if("function"===typeof g.componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&g.UNSAFE_componentWillMount(), | ||
f.length){k=f;var l=h;f=null;h=!1;if(l&&1===k.length)g.state=k[0];else{e=l?k[0]:g.state;var n=!0;for(l=l?1:0;l<k.length;l++){var p=k[l];p="function"===typeof p?p.call(g,e,c.props,m):p;null!=p&&(n?(n=!1,e=y({},e,p)):y(e,p))}g.state=e}}else f=null;a=g.render();ka(a,d);c=void 0;if("function"===typeof g.getChildContext&&(m=d.childContextTypes,"object"===typeof m)){c=g.getChildContext();for(var t in c)t in m?void 0:r("108",E(d)||"Unknown",t)}c&&(b=y({},b,c))}for(;u.isValidElement(a);){var c=a,m=c.type; | ||
if("function"!==typeof m)break;d(c,m)}return{child:a,context:b}}var y=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,l="function"===typeof Symbol&&Symbol.for,R=l?Symbol.for("react.portal"):60106,H=l?Symbol.for("react.fragment"):60107,T=l?Symbol.for("react.strict_mode"):60108,S=l?Symbol.for("react.profiler"):60114,I=l?Symbol.for("react.provider"):60109,V=l?Symbol.for("react.context"):60110,Q=l?Symbol.for("react.concurrent_mode"):60111,W=l?Symbol.for("react.forward_ref"):60112,U=l?Symbol.for("react.suspense"): | ||
60113,X=l?Symbol.for("react.memo"):60115,Y=l?Symbol.for("react.lazy"):60116;l=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var ra=/^[: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]*$/,aa=Object.prototype.hasOwnProperty, | ||
ca={},ba={},t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){t[a]=new q(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];t[b]=new q(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){t[a]=new q(a,2,!1,a.toLowerCase(),null)});["autoReverse", | ||
"externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){t[a]=new q(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){t[a]=new q(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){t[a]=new q(a,3,!0,a,null)});["capture","download"].forEach(function(a){t[a]= | ||
new q(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){t[a]=new q(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){t[a]=new q(a,5,!1,a.toLowerCase(),null)});var N=/[\-:]([a-z])/g,O=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= | ||
a.replace(N,O);t[b]=new q(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(N,O);t[b]=new q(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(N,O);t[b]=new q(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});t.tabIndex=new q("tabIndex",1,!1,"tabindex",null);var ua=/["'&<>]/,v=null,G=null,e=null,C=!1,K=!1,w=null,L=0,za={readContext:function(a, | ||
b){return a._currentValue},useContext:function(a,b){F();return a._currentValue},useMemo:function(a,b){v=F();e=J();b=void 0!==b&&null!==b?b:[a];if(null!==e&&null!==e.memoizedState){var d=e.memoizedState,c=d[1];a:{for(var m=0;m<b.length;m++){var f=b[m],h=c[m];if((f!==h||0===f&&1/f!==1/h)&&(f===f||h===h)){c=!1;break a}}c=!0}if(c)return d[0]}a=a();e.memoizedState=[a,b];return a},useReducer:ha,useRef:function(a){v=F();e=J();var b=e.memoizedState;return null===b?(a={current:a},e.memoizedState=a):b},useState:function(a){return ha(fa, | ||
a)},useMutationEffect:function(a,b){},useLayoutEffect:function(a,b){},useImperativeMethods:M,useCallback:M,useEffect:M},la={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},Aa=y({menuitem:!0},la),D={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,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},Ba=["Webkit","ms","Moz","O"];Object.keys(D).forEach(function(a){Ba.forEach(function(b){b=b+a.charAt(0).toUpperCase()+ | ||
a.substring(1);D[b]=D[a]})});var Ca=/([A-Z])/g,Da=/^ms-/,z=u.Children.toArray,ma=l.ReactCurrentOwner,Ea={listing:!0,pre:!0,textarea:!0},Fa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,na={},P={},ja={},Ga=Object.prototype.hasOwnProperty,Ha={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},oa=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");u.isValidElement(b)?b.type!==H?b=[b]:(b=b.props.children, | ||
b=u.isValidElement(b)?[b]:z(b)):b=z(b);this.stack=[{type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:ja,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,m=c._currentValue;this.contextStack[b]=c;this.contextValueStack[b]=m;c._currentValue=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]=null;this.contextIndex--;b._currentValue=c};a.prototype.read=function(a){if(this.exhausted)return null;ma.currentDispatcher=za;try{for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var m=c.footer;b+=m;""!==m&&(this.previousWasTextNode=!1); | ||
this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===I&&this.popProvider(c.type)}else{var f=c.children[c.childIndex++];b+=this.render(f,c.context,c.domNamespace)}}return b}finally{ma.currentDispatcher=null}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return B(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+B(c);this.previousWasTextNode=!0; | ||
return B(c)}d=ya(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!u.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===R?r("257"):void 0;r("258",b.toString())}a=z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case T:case Q:case S:case H:return a=z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}), | ||
"";case U:r("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case W:v={};var f=b.render(a.props,a.ref);f=ea(b.render,a.props,f,a.ref);f=z(f);this.stack.push({type:null,domNamespace:c,children:f,childIndex:0,context:d,footer:""});return"";case X:return a=[u.createElement(b.type,y({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case I:return b=z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}, | ||
this.pushProvider(a),this.stack.push(c),"";case V:return b=z(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),"";case Y:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&ia(b);na.hasOwnProperty(b)||(Fa.test(b)?void 0:r("65",b),na[b]=!0);var f=a.props;if("input"===b)f=y({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!= | ||
f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var h=f.value;if(null==h){h=f.defaultValue;var e=f.children;null!=e&&(null!=h?r("92"):void 0,Array.isArray(e)&&(1>=e.length?void 0:r("93"),e=e[0]),h=""+e);null==h&&(h="")}f=y({},f,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=y({},f,{value:void 0});else if("option"===b){e=this.currentSelectValue;var l=wa(f.children);if(null!= | ||
e){var q=null!=f.value?f.value+"":l;h=!1;if(Array.isArray(e))for(var k=0;k<e.length;k++){if(""+e[k]===q){h=!0;break}}else h=""+e===q;f=y({selected:void 0,children:void 0},f,{selected:h,children:l})}}if(h=f)Aa[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:r("61")),null!=h.style&&"object"!==typeof h.style?r("62",""): | ||
void 0;h=f;e=this.makeStaticMarkup;l=1===this.stack.length;q="<"+a.type;for(x in h)if(Ga.call(h,x)){var g=h[x];if(null!=g){if("style"===x){k=void 0;var u="",v="";for(k in g)if(g.hasOwnProperty(k)){var n=0===k.indexOf("--"),p=g[k];if(null!=p){var w=k;if(P.hasOwnProperty(w))w=P[w];else{var A=w.replace(Ca,"-$1").toLowerCase().replace(Da,"-ms-");w=P[w]=A}u+=v+w+":";v=k;n=null==p||"boolean"===typeof p||""===p?"":n||"number"!==typeof p||0===p||D.hasOwnProperty(v)&&D[v]?(""+p).trim():p+"px";u+=n;v=";"}}g= | ||
u||null}k=null;b:if(n=b,p=h,-1===n.indexOf("-"))n="string"===typeof p.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=!0}if(n)Ha.hasOwnProperty(x)||(k=x,k=Z(k)&&null!=g?k+"="+('"'+B(g)+'"'):"");else{n=x;k=g;g=t.hasOwnProperty(n)?t[n]:null;if(p="style"!==n)p=null!==g?0===g.type:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]? | ||
!1:!0;p||ta(n,k,g,!1)?k="":null!==g?(n=g.attributeName,g=g.type,k=3===g||4===g&&!0===k?n+'=""':n+"="+('"'+B(k)+'"')):k=Z(n)?n+"="+('"'+B(k)+'"'):""}k&&(q+=" "+k)}}e||l&&(q+=' data-reactroot=""');var x=q;h="";la.hasOwnProperty(b)?x+="/>":(x+=">",h="</"+a.type+">");a:{e=f.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=f.children,"string"===typeof e||"number"===typeof e){e=B(e);break a}e=null}null!=e?(f=[],Ea[b]&&"\n"===e.charAt(0)&&(x+="\n"),x+=e):f=z(f.children); | ||
a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ia(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:f,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return x};return a}();l={renderToString:function(a){return(new oa(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new oa(a,!0)).read(Infinity)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")}, | ||
version:"16.7.0-alpha.0"};var pa={default:l};l=pa&&l||pa;return l.default||l}); | ||
'use strict';(function(u,C){"object"===typeof exports&&"undefined"!==typeof module?module.exports=C(require("react")):"function"===typeof define&&define.amd?define(["react"],C):u.ReactDOMServer=C(u.React)})(this,function(u){function C(a,b,f,c,g,d,h,e){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[f,c,g,d,h,e],ja=0;a=Error(b.replace(/%s/g,function(){return k[ja++]})); | ||
a.name="Invariant Violation"}a.framesToPop=1;throw a;}}function v(a){for(var b=arguments.length-1,f="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)f+="&args[]="+encodeURIComponent(arguments[c+1]);C(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",f)}function E(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 O:return"ConcurrentMode";case H:return"Fragment";case P:return"Portal";case Q:return"Profiler";case R:return"StrictMode";case I:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case S:return"Context.Consumer";case J:return"Context.Provider";case T:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case U:return E(a.type);case V:if(a=1===a._status?a._result:null)return E(a)}return null}function F(a,b){for(var f=a._threadCount;f<= | ||
b;f++)a[f]=a._currentValue2,a._threadCount=f+1}function ka(a,b,f){var c=a.contextType;if("object"===typeof c&&null!==c)return F(c,f),c[f];if(a=a.contextTypes){f={};for(var g in a)f[g]=b[g];b=f}else b=W;return b}function X(a){if(Y.call(Z,a))return!0;if(Y.call(aa,a))return!1;if(la.test(a))return Z[a]=!0;aa[a]=!0;return!1}function ma(a,b,f,c){if(null!==f&&0===f.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==f)return!f.acceptsBooleans;a=a.toLowerCase().slice(0, | ||
5);return"data-"!==a&&"aria-"!==a;default:return!1}}function na(a,b,f,c){if(null===b||"undefined"===typeof b||ma(a,b,f,c))return!0;if(c)return!1;if(null!==f)switch(f.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 t(a,b,f,c,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=g;this.mustUseProperty=f;this.propertyName=a;this.type=b}function B(a){if("boolean"===typeof a||"number"===typeof a)return""+ | ||
a;a=""+a;var b=oa.exec(a);if(b){var f="",c,g=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}g!==c&&(f+=a.substring(g,c));g=c+1;f+=b}a=g!==c?f+a.substring(g,c):f}return a}function ba(a,b,f,c){for(;ca;)ca=!1,f=a(b,c);return f}function da(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 pa(a){if(void 0===a||null===a)return a;var b="";u.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function ea(a,b){void 0===a&&v("152",E(b)||"Component")}function qa(a,b,f){function c(g,c){var d=ka(c,b,f),e=[],h=!1,m={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===e)return null},enqueueReplaceState:function(a,b){h=!0;e=[b]},enqueueSetState:function(a,b){if(null===e)return null;e.push(b)}},l=void 0;if(c.prototype&&c.prototype.isReactComponent){if(l=new c(g.props, | ||
d,m),"function"===typeof c.getDerivedStateFromProps){var k=c.getDerivedStateFromProps.call(null,g.props,l.state);null!=k&&(l.state=y({},l.state,k))}}else if(l=c(g.props,d,m),l=ba(c,g.props,l,d),null==l||null==l.render){a=l;ea(a,c);return}l.props=g.props;l.context=d;l.updater=m;m=l.state;void 0===m&&(l.state=m=null);if("function"===typeof l.UNSAFE_componentWillMount||"function"===typeof l.componentWillMount)if("function"===typeof l.componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&& | ||
l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&"function"!==typeof c.getDerivedStateFromProps&&l.UNSAFE_componentWillMount(),e.length){m=e;var n=h;e=null;h=!1;if(n&&1===m.length)l.state=m[0];else{k=n?m[0]:l.state;var q=!0;for(n=n?1:0;n<m.length;n++){var r=m[n];r="function"===typeof r?r.call(l,k,g.props,d):r;null!=r&&(q?(q=!1,k=y({},k,r)):y(k,r))}l.state=k}}else e=null;a=l.render();ea(a,c);g=void 0;if("function"===typeof l.getChildContext&&(d=c.childContextTypes,"object"=== | ||
typeof d)){g=l.getChildContext();for(var t in g)t in d?void 0:v("108",E(c)||"Unknown",t)}g&&(b=y({},b,g))}for(;u.isValidElement(a);){var g=a,d=g.type;if("function"!==typeof d)break;c(g,d)}return{child:a,context:b}}var y=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,k="function"===typeof Symbol&&Symbol.for,P=k?Symbol.for("react.portal"):60106,H=k?Symbol.for("react.fragment"):60107,R=k?Symbol.for("react.strict_mode"):60108,Q=k?Symbol.for("react.profiler"):60114,J=k?Symbol.for("react.provider"): | ||
60109,S=k?Symbol.for("react.context"):60110,O=k?Symbol.for("react.concurrent_mode"):60111,T=k?Symbol.for("react.forward_ref"):60112,I=k?Symbol.for("react.suspense"):60113,U=k?Symbol.for("react.memo"):60115,V=k?Symbol.for("react.lazy"):60116;k=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;for(var W={},q=new Uint16Array(16),z=0;15>z;z++)q[z]=z+1;q[15]=0;var la=/^[: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]*$/, | ||
Y=Object.prototype.hasOwnProperty,aa={},Z={},r={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){r[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];r[b]=new t(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){r[a]=new t(a,2,!1, | ||
a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){r[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){r[a]=new t(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){r[a]=new t(a,3,!0,a,null)});["capture", | ||
"download"].forEach(function(a){r[a]=new t(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){r[a]=new t(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){r[a]=new t(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g,L=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= | ||
a.replace(K,L);r[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(K,L);r[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(K,L);r[b]=new t(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});r.tabIndex=new t("tabIndex",1,!1,"tabindex",null);var oa=/["'&<>]/,ca=!1,G=0,sa={readContext:function(a,b){b=G;F(a,b);return a[b]}}, | ||
fa={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},ta=y({menuitem:!0},fa),D={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,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},ua=["Webkit","ms","Moz","O"];Object.keys(D).forEach(function(a){ua.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);D[b]=D[a]})});var va=/([A-Z])/g,wa=/^ms-/,A=u.Children.toArray,M=k.ReactCurrentOwner,xa={listing:!0,pre:!0, | ||
textarea:!0},ya=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ha={},N={},za=Object.prototype.hasOwnProperty,Aa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ia=function(){function a(b,f){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");u.isValidElement(b)?b.type!==H?b=[b]:(b=b.props.children,b=u.isValidElement(b)?[b]:A(b)):b=A(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:W, | ||
footer:""};var c=q[0];if(0===c){var g=q;c=g.length;var d=2*c;65536>=d?void 0:v("304");var h=new Uint16Array(d);h.set(g);q=h;q[0]=c+1;for(g=c;g<d-1;g++)q[g]=g+1;q[d-1]=0}else q[0]=q[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=f;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,g=this.threadID;F(c,g);var d=c[g];this.contextStack[b]=c;this.contextValueStack[b]=d;c[g]=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]=null;this.contextIndex--;b[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=G;G=this.threadID;var c=M.currentDispatcher; | ||
M.currentDispatcher=sa;try{for(var g=[""],d=!1;g[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;q[h]=q[0];q[0]=h;break}var e=this.stack[this.stack.length-1];if(d||e.childIndex>=e.children.length){var k=e.footer;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===e.type)this.currentSelectValue=null;else if(null!=e.type&&null!=e.type.type&&e.type.type.$$typeof===J)this.popProvider(e.type);else if(e.type===I){this.suspenseDepth--;var r=g.pop();if(d){d= | ||
!1;var p=e.fallbackFrame;p?void 0:v("303");this.stack.push(p);continue}else g[this.suspenseDepth]+=r}g[this.suspenseDepth]+=k}else{var m=e.children[e.childIndex++],l="";try{l+=this.render(m,e.context,e.domNamespace)}catch(ra){throw ra;}finally{}g.length<=this.suspenseDepth&&g.push("");g[this.suspenseDepth]+=l}}return g[0]}finally{M.currentDispatcher=c,G=b}};a.prototype.render=function(a,f,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return B(c); | ||
if(this.previousWasTextNode)return"\x3c!-- --\x3e"+B(c);this.previousWasTextNode=!0;return B(c)}f=qa(a,f,this.threadID);a=f.child;f=f.context;if(null===a||!1===a)return"";if(!u.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===P?v("257"):void 0;v("258",b.toString())}a=A(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,f,c);switch(b){case R:case O:case Q:case H:return a=A(a.props.children), | ||
this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""}),"";case I:v("294")}if("object"===typeof b&&null!==b)switch(b.$$typeof){case T:var d=b.render(a.props,a.ref);d=ba(b.render,a.props,d,a.ref);d=A(d);this.stack.push({type:null,domNamespace:c,children:d,childIndex:0,context:f,footer:""});return"";case U:return a=[u.createElement(b.type,y({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:f,footer:""}),"";case J:return b= | ||
A(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:f,footer:""},this.pushProvider(a),this.stack.push(c),"";case S:b=a.type;d=a.props;var h=this.threadID;F(b,h);b=A(d.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:f,footer:""});return"";case V:v("295")}v("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,f,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&da(b);ha.hasOwnProperty(b)||(ya.test(b)?void 0:v("65", | ||
b),ha[b]=!0);var d=a.props;if("input"===b)d=y({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===b){var h=d.value;if(null==h){h=d.defaultValue;var e=d.children;null!=e&&(null!=h?v("92"):void 0,Array.isArray(e)&&(1>=e.length?void 0:v("93"),e=e[0]),h=""+e);null==h&&(h="")}d=y({},d,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=d.value?d.value: | ||
d.defaultValue,d=y({},d,{value:void 0});else if("option"===b){e=this.currentSelectValue;var k=pa(d.children);if(null!=e){var q=null!=d.value?d.value+"":k;h=!1;if(Array.isArray(e))for(var p=0;p<e.length;p++){if(""+e[p]===q){h=!0;break}}else h=""+e===q;d=y({selected:void 0,children:void 0},d,{selected:h,children:k})}}if(h=d)ta[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?v("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?v("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&& | ||
"__html"in h.dangerouslySetInnerHTML?void 0:v("61")),null!=h.style&&"object"!==typeof h.style?v("62",""):void 0;h=d;e=this.makeStaticMarkup;k=1===this.stack.length;q="<"+a.type;for(x in h)if(za.call(h,x)){var m=h[x];if(null!=m){if("style"===x){p=void 0;var l="",t="";for(p in m)if(m.hasOwnProperty(p)){var n=0===p.indexOf("--"),w=m[p];if(null!=w){var u=p;if(N.hasOwnProperty(u))u=N[u];else{var z=u.replace(va,"-$1").toLowerCase().replace(wa,"-ms-");u=N[u]=z}l+=t+u+":";t=p;n=null==w||"boolean"===typeof w|| | ||
""===w?"":n||"number"!==typeof w||0===w||D.hasOwnProperty(t)&&D[t]?(""+w).trim():w+"px";l+=n;t=";"}}m=l||null}p=null;b:if(n=b,w=h,-1===n.indexOf("-"))n="string"===typeof w.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=!0}if(n)Aa.hasOwnProperty(x)||(p=x,p=X(p)&&null!=m?p+"="+('"'+B(m)+'"'):"");else{n=x;p=m;m=r.hasOwnProperty(n)?r[n]:null; | ||
if(w="style"!==n)w=null!==m?0===m.type:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?!1:!0;w||na(n,p,m,!1)?p="":null!==m?(n=m.attributeName,m=m.type,p=3===m||4===m&&!0===p?n+'=""':n+"="+('"'+B(p)+'"')):p=X(n)?n+"="+('"'+B(p)+'"'):""}p&&(q+=" "+p)}}e||k&&(q+=' data-reactroot=""');var x=q;h="";fa.hasOwnProperty(b)?x+="/>":(x+=">",h="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e= | ||
B(e);break a}e=null}null!=e?(d=[],xa[b]&&"\n"===e.charAt(0)&&(x+="\n"),x+=e):d=A(d.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?da(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:d,childIndex:0,context:f,footer:h});this.previousWasTextNode=!1;return x};return a}();k={renderToString:function(a){a=new ia(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a= | ||
new ia(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){v("207")},renderToStaticNodeStream:function(){v("208")},version:"16.7.0-alpha.1"};k=(z={default:k},k)||z;return k.default||k}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-test-utils.development.js | ||
@@ -93,49 +93,10 @@ * | ||
if (typeof console !== 'undefined') { | ||
var _args$map = args.map(function (item) { | ||
var argsWithFormat = args.map(function (item) { | ||
return '' + item; | ||
}), | ||
a = _args$map[0], | ||
b = _args$map[1], | ||
c = _args$map[2], | ||
d = _args$map[3], | ||
e = _args$map[4], | ||
f = _args$map[5], | ||
g = _args$map[6], | ||
h = _args$map[7]; | ||
}); | ||
argsWithFormat.unshift('Warning: ' + format); | ||
var message = 'Warning: ' + format; | ||
// We intentionally don't use spread (or .apply) because it breaks IE9: | ||
// https://github.com/facebook/react/issues/13610 | ||
switch (args.length) { | ||
case 0: | ||
console.error(message); | ||
break; | ||
case 1: | ||
console.error(message, a); | ||
break; | ||
case 2: | ||
console.error(message, a, b); | ||
break; | ||
case 3: | ||
console.error(message, a, b, c); | ||
break; | ||
case 4: | ||
console.error(message, a, b, c, d); | ||
break; | ||
case 5: | ||
console.error(message, a, b, c, d, e); | ||
break; | ||
case 6: | ||
console.error(message, a, b, c, d, e, f); | ||
break; | ||
case 7: | ||
console.error(message, a, b, c, d, e, f, g); | ||
break; | ||
case 8: | ||
console.error(message, a, b, c, d, e, f, g, h); | ||
break; | ||
default: | ||
throw new Error('warningWithoutStack() currently supports at most 8 arguments.'); | ||
} | ||
// We intentionally don't use spread (or .apply) directly because it | ||
// breaks IE9: https://github.com/facebook/react/issues/13610 | ||
Function.prototype.apply.call(console.error, console, argsWithFormat); | ||
} | ||
@@ -147,6 +108,6 @@ try { | ||
var argIndex = 0; | ||
var _message = 'Warning: ' + format.replace(/%s/g, function () { | ||
var message = 'Warning: ' + format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
}); | ||
throw new Error(_message); | ||
throw new Error(message); | ||
} catch (x) {} | ||
@@ -1219,3 +1180,3 @@ }; | ||
enqueueStateRestore(domNode); | ||
runEventsInBatch(event, true); | ||
runEventsInBatch(event); | ||
}); | ||
@@ -1222,0 +1183,0 @@ restoreStateIfNeeded(); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-test-utils.production.min.js | ||
@@ -15,15 +15,15 @@ * | ||
b;return c}function y(a){if(z[a])return z[a];if(!r[a])return a;var b=r[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in D)return z[a]=b[c];return a}function E(a){}function M(a,b){if(!a)return[];a=J(a);if(!a)return[];for(var c=a,e=[];;){if(5===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 q(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;k("286",b,a)}}function N(a){return function(b,c){l.isValidElement(b)?k("228"):void 0;f.isCompositeComponent(b)?k("229"):void 0;var e=F[a],d=new E;d.target=b;d.type=a.toLowerCase();var m=O(b),g=new t(e,m,d,b);g.persist();u(g,c);e.phasedRegistrationNames?P(g):Q(g);n.unstable_batchedUpdates(function(){R(b);S(g,!0)});T()}} | ||
function U(a,b){return function(c,e){var d=new E(a);u(d,e);f.isDOMComponent(c)?(c=V(c),d.target=c,G(b,d)):c.tagName&&(d.target=c,G(b,d))}}var u=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=v)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation(): | ||
"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=v)},persist:function(){this.isPersistent=v},isPersistent:w,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=w;this._dispatchInstances=this._dispatchListeners=null}});t.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null, | ||
timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};t.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,e=function(){};e.prototype=c.prototype;e=new e;u(e,b.prototype);b.prototype=e;b.prototype.constructor=b;b.Interface=u({},c.Interface,a);b.extend=c.extend;C(b);return b};C(t);var m=!("undefined"===typeof window||!window.document||!window.document.createElement),r={animationend:x("Animation","AnimationEnd"),animationiteration:x("Animation", | ||
"AnimationIteration"),animationstart:x("Animation","AnimationStart"),transitionend:x("Transition","TransitionEnd")},z={},D={};m&&(D=document.createElement("div").style,"AnimationEvent"in window||(delete r.animationend.animation,delete r.animationiteration.animation,delete r.animationstart.animation),"TransitionEvent"in window||delete r.transitionend.transition);m=y("animationend");var W=y("animationiteration"),X=y("animationstart"),Y=y("transitionend"),V=n.findDOMNode,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, | ||
O=p[0],F=p[4],P=p[5],Q=p[6],R=p[7],T=p[8],G=p[9],S=p[10],f={renderIntoDocument:function(a){var b=document.createElement("div");return n.render(a,b)},isElement:function(a){return l.isValidElement(a)},isElementOfType:function(a,b){return l.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&&l.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return f.isDOMComponent(a)?!1:null!=a&&"function"=== | ||
typeof a.render&&"function"===typeof a.setState},isCompositeComponentWithType:function(a,b){return f.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){q(a,"findAllInRenderedTree");return a?M(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){q(a,"scryRenderedDOMComponentsWithClass");return f.findAllInRenderedTree(a,function(a){if(f.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d= | ||
c.split(/\s+/);Array.isArray(b)||(void 0===b?k("11"):void 0,b=b.split(/\s+/));return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){q(a,"findRenderedDOMComponentWithClass");a=f.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){q(a,"scryRenderedDOMComponentsWithTag");return f.findAllInRenderedTree(a, | ||
function(a){return f.isDOMComponent(a)&&a.tagName.toUpperCase()===b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){q(a,"findRenderedDOMComponentWithTag");a=f.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){q(a,"scryRenderedComponentsWithType");return f.findAllInRenderedTree(a,function(a){return f.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a, | ||
b){q(a,"findRenderedComponentWithType");a=f.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 l.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{}};(function(){f.Simulate={};var a=void 0; | ||
for(a in F)f.Simulate[a]=N(a)})();[["abort","abort"],[m,"animationEnd"],[W,"animationIteration"],[X,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter", | ||
"dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["dragstart","dragStart"],["drag","drag"],["drop","drop"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["focus","focus"],["input","input"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["loadstart","loadStart"],["loadstart","loadStart"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["mousedown", | ||
"mouseDown"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["playing","playing"],["progress","progress"],["ratechange","rateChange"],["scroll","scroll"],["seeked","seeked"],["seeking","seeking"],["selectionchange","selectionChange"],["stalled","stalled"],["suspend","suspend"],["textInput","textInput"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchcancel","touchCancel"],["touchend","touchEnd"], | ||
["touchmove","touchMove"],["touchstart","touchStart"],[Y,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b=a[1];f.SimulateNative[b]=U(b,a[0])});m=(m={default:f},f)||m;return m.default||m}); | ||
!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;k("286",b,a)}}function N(a){return function(b,c){l.isValidElement(b)?k("228"):void 0;f.isCompositeComponent(b)?k("229"):void 0;var e=F[a],d=new E;d.target=b;d.type=a.toLowerCase();var m=O(b),g=new t(e,m,d,b);g.persist();u(g,c);e.phasedRegistrationNames?P(g):Q(g);n.unstable_batchedUpdates(function(){R(b);S(g)});T()}}function U(a, | ||
b){return function(c,e){var d=new E(a);u(d,e);f.isDOMComponent(c)?(c=V(c),d.target=c,G(b,d)):c.tagName&&(d.target=c,G(b,d))}}var u=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign;u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=v)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!== | ||
typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=v)},persist:function(){this.isPersistent=v},isPersistent:w,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=w;this._dispatchInstances=this._dispatchListeners=null}});t.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp|| | ||
Date.now()},defaultPrevented:null,isTrusted:null};t.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,e=function(){};e.prototype=c.prototype;e=new e;u(e,b.prototype);b.prototype=e;b.prototype.constructor=b;b.Interface=u({},c.Interface,a);b.extend=c.extend;C(b);return b};C(t);var m=!("undefined"===typeof window||!window.document||!window.document.createElement),r={animationend:x("Animation","AnimationEnd"),animationiteration:x("Animation","AnimationIteration"),animationstart:x("Animation", | ||
"AnimationStart"),transitionend:x("Transition","TransitionEnd")},z={},D={};m&&(D=document.createElement("div").style,"AnimationEvent"in window||(delete r.animationend.animation,delete r.animationiteration.animation,delete r.animationstart.animation),"TransitionEvent"in window||delete r.transitionend.transition);m=y("animationend");var W=y("animationiteration"),X=y("animationstart"),Y=y("transitionend"),V=n.findDOMNode,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,O=p[0],F=p[4],P=p[5], | ||
Q=p[6],R=p[7],T=p[8],G=p[9],S=p[10],f={renderIntoDocument:function(a){var b=document.createElement("div");return n.render(a,b)},isElement:function(a){return l.isValidElement(a)},isElementOfType:function(a,b){return l.isValidElement(a)&&a.type===b},isDOMComponent:function(a){return!(!a||1!==a.nodeType||!a.tagName)},isDOMComponentElement:function(a){return!!(a&&l.isValidElement(a)&&a.tagName)},isCompositeComponent:function(a){return f.isDOMComponent(a)?!1:null!=a&&"function"===typeof a.render&&"function"=== | ||
typeof a.setState},isCompositeComponentWithType:function(a,b){return f.isCompositeComponent(a)?a._reactInternalFiber.type===b:!1},findAllInRenderedTree:function(a,b){q(a,"findAllInRenderedTree");return a?M(a._reactInternalFiber,b):[]},scryRenderedDOMComponentsWithClass:function(a,b){q(a,"scryRenderedDOMComponentsWithClass");return f.findAllInRenderedTree(a,function(a){if(f.isDOMComponent(a)){var c=a.className;"string"!==typeof c&&(c=a.getAttribute("class")||"");var d=c.split(/\s+/);Array.isArray(b)|| | ||
(void 0===b?k("11"):void 0,b=b.split(/\s+/));return b.every(function(a){return-1!==d.indexOf(a)})}return!1})},findRenderedDOMComponentWithClass:function(a,b){q(a,"findRenderedDOMComponentWithClass");a=f.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){q(a,"scryRenderedDOMComponentsWithTag");return f.findAllInRenderedTree(a,function(a){return f.isDOMComponent(a)&& | ||
a.tagName.toUpperCase()===b.toUpperCase()})},findRenderedDOMComponentWithTag:function(a,b){q(a,"findRenderedDOMComponentWithTag");a=f.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){q(a,"scryRenderedComponentsWithType");return f.findAllInRenderedTree(a,function(a){return f.isCompositeComponentWithType(a,b)})},findRenderedComponentWithType:function(a,b){q(a, | ||
"findRenderedComponentWithType");a=f.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 l.createElement(b,null,this.props.children)});return this},nativeTouchData:function(a,b){return{touches:[{pageX:a,pageY:b}]}},Simulate:null,SimulateNative:{}};(function(){f.Simulate={};var a=void 0;for(a in F)f.Simulate[a]= | ||
N(a)})();[["abort","abort"],[m,"animationEnd"],[W,"animationIteration"],[X,"animationStart"],["blur","blur"],["canplaythrough","canPlayThrough"],["canplay","canPlay"],["cancel","cancel"],["change","change"],["click","click"],["close","close"],["compositionend","compositionEnd"],["compositionstart","compositionStart"],["compositionupdate","compositionUpdate"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragenter","dragEnter"],["dragexit", | ||
"dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["dragstart","dragStart"],["drag","drag"],["drop","drop"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["focus","focus"],["input","input"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["loadstart","loadStart"],["loadstart","loadStart"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["mousedown","mouseDown"],["mousemove", | ||
"mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["playing","playing"],["progress","progress"],["ratechange","rateChange"],["scroll","scroll"],["seeked","seeked"],["seeking","seeking"],["selectionchange","selectionChange"],["stalled","stalled"],["suspend","suspend"],["textInput","textInput"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchmove","touchMove"], | ||
["touchstart","touchStart"],[Y,"transitionEnd"],["volumechange","volumeChange"],["waiting","waiting"],["wheel","wheel"]].forEach(function(a){var b=a[1];f.SimulateNative[b]=U(b,a[0])});m=(m={default:f},f)||m;return m.default||m}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -150,49 +150,10 @@ * | ||
if (typeof console !== 'undefined') { | ||
var _args$map = args.map(function (item) { | ||
var argsWithFormat = args.map(function (item) { | ||
return '' + item; | ||
}), | ||
a = _args$map[0], | ||
b = _args$map[1], | ||
c = _args$map[2], | ||
d = _args$map[3], | ||
e = _args$map[4], | ||
f = _args$map[5], | ||
g = _args$map[6], | ||
h = _args$map[7]; | ||
}); | ||
argsWithFormat.unshift('Warning: ' + format); | ||
var message = 'Warning: ' + format; | ||
// We intentionally don't use spread (or .apply) because it breaks IE9: | ||
// https://github.com/facebook/react/issues/13610 | ||
switch (args.length) { | ||
case 0: | ||
console.error(message); | ||
break; | ||
case 1: | ||
console.error(message, a); | ||
break; | ||
case 2: | ||
console.error(message, a, b); | ||
break; | ||
case 3: | ||
console.error(message, a, b, c); | ||
break; | ||
case 4: | ||
console.error(message, a, b, c, d); | ||
break; | ||
case 5: | ||
console.error(message, a, b, c, d, e); | ||
break; | ||
case 6: | ||
console.error(message, a, b, c, d, e, f); | ||
break; | ||
case 7: | ||
console.error(message, a, b, c, d, e, f, g); | ||
break; | ||
case 8: | ||
console.error(message, a, b, c, d, e, f, g, h); | ||
break; | ||
default: | ||
throw new Error('warningWithoutStack() currently supports at most 8 arguments.'); | ||
} | ||
// We intentionally don't use spread (or .apply) directly because it | ||
// breaks IE9: https://github.com/facebook/react/issues/13610 | ||
Function.prototype.apply.call(console.error, console, argsWithFormat); | ||
} | ||
@@ -204,6 +165,6 @@ try { | ||
var argIndex = 0; | ||
var _message = 'Warning: ' + format.replace(/%s/g, function () { | ||
var message = 'Warning: ' + format.replace(/%s/g, function () { | ||
return args[argIndex++]; | ||
}); | ||
throw new Error(_message); | ||
throw new Error(message); | ||
} catch (x) {} | ||
@@ -210,0 +171,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.7.0-alpha.0 | ||
/** @license React v16.7.0-alpha.1 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -3,0 +3,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2560706
53127
+ Addedscheduler@0.12.0(transitive)
- Removedscheduler@0.11.3(transitive)
Updatedscheduler@^0.12.0-alpha.1