GT2/GT2-iOS/node_modules/react-test-renderer/cjs/react-test-renderer.product...

115 lines
45 KiB
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
/** @license React v16.2.0
* react-test-renderer.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';var n=require("object-assign"),da=require("react"),F=require("fbjs/lib/emptyObject"),ha=require("fbjs/lib/shallowEqual");
function K(a){for(var b=arguments.length-1,d="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)d+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}var ia=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
function ja(a){a=a.type;return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}function ka(a){var b=a;if(a.alternate)for(;b["return"];)b=b["return"];else{if(0!==(b.effectTag&2))return 1;for(;b["return"];)if(b=b["return"],0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function la(a){return(a=a._reactInternalFiber)?2===ka(a):!1}function ma(a){2!==ka(a)?K("188"):void 0}
function na(a){var b=a.alternate;if(!b)return b=ka(a),3===b?K("188"):void 0,1===b?null:a;for(var d=a,c=b;;){var e=d["return"],p=e?e.alternate:null;if(!e||!p)break;if(e.child===p.child){for(var k=e.child;k;){if(k===d)return ma(e),a;if(k===c)return ma(e),b;k=k.sibling}K("188")}if(d["return"]!==c["return"])d=e,c=p;else{k=!1;for(var g=e.child;g;){if(g===d){k=!0;d=e;c=p;break}if(g===c){k=!0;c=e;d=p;break}g=g.sibling}if(!k){for(g=p.child;g;){if(g===d){k=!0;d=p;c=e;break}if(g===c){k=!0;c=p;d=e;break}g=g.sibling}k?
void 0:K("189")}}d.alternate!==c?K("190"):void 0}3!==d.tag?K("188"):void 0;return d.stateNode.current===d?a:b}function oa(a){a=na(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}
function pa(a){a=na(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child&&4!==b.tag)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}var sa=[],L=-1;function M(a){0>L||(a.current=sa[L],sa[L]=null,L--)}function N(a,b){L++;sa[L]=a.current;a.current=b}new Set;var O={current:F},Q={current:!1},ta=F;function ua(a){return va(a)?ta:O.current}
function wa(a,b){var d=a.type.contextTypes;if(!d)return F;var c=a.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===b)return c.__reactInternalMemoizedMaskedChildContext;var e={},p;for(p in d)e[p]=b[p];c&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function va(a){return 2===a.tag&&null!=a.type.childContextTypes}function xa(a){va(a)&&(M(Q,a),M(O,a))}
function ya(a,b,d){null!=O.cursor?K("168"):void 0;N(O,b,a);N(Q,d,a)}function za(a,b){var d=a.stateNode,c=a.type.childContextTypes;if("function"!==typeof d.getChildContext)return b;d=d.getChildContext();for(var e in d)e in c?void 0:K("108",ja(a)||"Unknown",e);return n({},b,d)}function Aa(a){if(!va(a))return!1;var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||F;ta=O.current;N(O,b,a);N(Q,Q.current,a);return!0}
function Ba(a,b){var d=a.stateNode;d?void 0:K("169");if(b){var c=za(a,ta);d.__reactInternalMemoizedMergedChildContext=c;M(Q,a);M(O,a);N(O,c,a)}else M(Q,a);N(Q,b,a)}
function X(a,b,d){this.tag=a;this.key=b;this.stateNode=this.type=null;this.sibling=this.child=this["return"]=null;this.index=0;this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null;this.internalContextTag=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.expirationTime=0;this.alternate=null}
function Ca(a,b,d){var c=a.alternate;null===c?(c=new X(a.tag,a.key,a.internalContextTag),c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.expirationTime=d;c.pendingProps=b;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}
function Da(a,b,d){var c=void 0,e=a.type,p=a.key;"function"===typeof e?(c=e.prototype&&e.prototype.isReactComponent?new X(2,p,b):new X(0,p,b),c.type=e,c.pendingProps=a.props):"string"===typeof e?(c=new X(5,p,b),c.type=e,c.pendingProps=a.props):"object"===typeof e&&null!==e&&"number"===typeof e.tag?(c=e,c.pendingProps=a.props):K("130",null==e?e:typeof e,"");c.expirationTime=d;return c}function Ea(a,b,d,c){b=new X(10,c,b);b.pendingProps=a;b.expirationTime=d;return b}
function Fa(a,b,d){b=new X(6,null,b);b.pendingProps=a;b.expirationTime=d;return b}function Ga(a,b,d){b=new X(7,a.key,b);b.type=a.handler;b.pendingProps=a;b.expirationTime=d;return b}function Ha(a,b,d){a=new X(9,null,b);a.expirationTime=d;return a}function Ia(a,b,d){b=new X(4,a.key,b);b.pendingProps=a.children||[];b.expirationTime=d;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}var Oa=null,Pa=null;
function Qa(a){return function(b){try{return a(b)}catch(d){}}}function Ra(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var d=b.inject(a);Oa=Qa(function(a){return b.onCommitFiberRoot(d,a)});Pa=Qa(function(a){return b.onCommitFiberUnmount(d,a)})}catch(c){}return!0}function Sa(a){"function"===typeof Oa&&Oa(a)}function Ta(a){"function"===typeof Pa&&Pa(a)}
function Ua(a){return{baseState:a,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function Va(a,b){null===a.last?a.first=a.last=b:(a.last.next=b,a.last=b);if(0===a.expirationTime||a.expirationTime>b.expirationTime)a.expirationTime=b.expirationTime}
function Wa(a,b){var d=a.alternate,c=a.updateQueue;null===c&&(c=a.updateQueue=Ua(null));null!==d?(a=d.updateQueue,null===a&&(a=d.updateQueue=Ua(null))):a=null;a=a!==c?a:null;null===a?Va(c,b):null===c.last||null===a.last?(Va(c,b),Va(a,b)):(Va(c,b),a.last=b)}function Xa(a,b,d,c){a=a.partialState;return"function"===typeof a?a.call(b,d,c):a}
function gb(a,b,d,c,e,p){null!==a&&a.updateQueue===d&&(d=b.updateQueue={baseState:d.baseState,expirationTime:d.expirationTime,first:d.first,last:d.last,isInitialized:d.isInitialized,callbackList:null,hasForceUpdate:!1});d.expirationTime=0;d.isInitialized?a=d.baseState:(a=d.baseState=b.memoizedState,d.isInitialized=!0);for(var k=!0,g=d.first,l=!1;null!==g;){var u=g.expirationTime;if(u>p){var A=d.expirationTime;if(0===A||A>u)d.expirationTime=u;l||(l=!0,d.baseState=a)}else{l||(d.first=g.next,null===
d.first&&(d.last=null));if(g.isReplace)a=Xa(g,c,a,e),k=!0;else if(u=Xa(g,c,a,e))a=k?n({},a,u):n(a,u),k=!1;g.isForced&&(d.hasForceUpdate=!0);null!==g.callback&&(u=d.callbackList,null===u&&(u=d.callbackList=[]),u.push(g))}g=g.next}null!==d.callbackList?b.effectTag|=32:null!==d.first||d.hasForceUpdate||(b.updateQueue=null);l||(d.baseState=a);return a}
function hb(a,b){var d=a.callbackList;if(null!==d)for(a.callbackList=null,a=0;a<d.length;a++){var c=d[a],e=c.callback;c.callback=null;"function"!==typeof e?K("191",e):void 0;e.call(b)}}
function ib(a,b,d,c){function e(a,b){b.updater=p;a.stateNode=b;b._reactInternalFiber=a}var p={isMounted:la,enqueueSetState:function(d,c,e){d=d._reactInternalFiber;e=void 0===e?null:e;var k=b(d);Wa(d,{expirationTime:k,partialState:c,callback:e,isReplace:!1,isForced:!1,nextCallback:null,next:null});a(d,k)},enqueueReplaceState:function(d,c,e){d=d._reactInternalFiber;e=void 0===e?null:e;var g=b(d);Wa(d,{expirationTime:g,partialState:c,callback:e,isReplace:!0,isForced:!1,nextCallback:null,next:null});
a(d,g)},enqueueForceUpdate:function(d,c){d=d._reactInternalFiber;c=void 0===c?null:c;var e=b(d);Wa(d,{expirationTime:e,partialState:null,callback:c,isReplace:!1,isForced:!0,nextCallback:null,next:null});a(d,e)}};return{adoptClassInstance:e,constructClassInstance:function(a,b){var d=a.type,c=ua(a),g=2===a.tag&&null!=a.type.contextTypes,k=g?wa(a,c):F;b=new d(b,k);e(a,b);g&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=c,a.__reactInternalMemoizedMaskedChildContext=k);return b},mountClassInstance:function(a,
b){var d=a.alternate,c=a.stateNode,e=c.state||null,g=a.pendingProps;g?void 0:K("158");var k=ua(a);c.props=g;c.state=a.memoizedState=e;c.refs=F;c.context=wa(a,k);null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent&&(a.internalContextTag|=1);"function"===typeof c.componentWillMount&&(e=c.state,c.componentWillMount(),e!==c.state&&p.enqueueReplaceState(c,c.state,null),e=a.updateQueue,null!==e&&(c.state=gb(d,a,e,c,g,b)));"function"===typeof c.componentDidMount&&(a.effectTag|=
4)},updateClassInstance:function(a,b,e){var g=b.stateNode;g.props=b.memoizedProps;g.state=b.memoizedState;var k=b.memoizedProps,l=b.pendingProps;l||(l=k,null==l?K("159"):void 0);var w=g.context,x=ua(b);x=wa(b,x);"function"!==typeof g.componentWillReceiveProps||k===l&&w===x||(w=g.state,g.componentWillReceiveProps(l,x),g.state!==w&&p.enqueueReplaceState(g,g.state,null));w=b.memoizedState;e=null!==b.updateQueue?gb(a,b,b.updateQueue,g,l,e):w;if(!(k!==l||w!==e||Q.current||null!==b.updateQueue&&b.updateQueue.hasForceUpdate))return"function"!==
typeof g.componentDidUpdate||k===a.memoizedProps&&w===a.memoizedState||(b.effectTag|=4),!1;var B=l;if(null===k||null!==b.updateQueue&&b.updateQueue.hasForceUpdate)B=!0;else{var D=b.stateNode,G=b.type;B="function"===typeof D.shouldComponentUpdate?D.shouldComponentUpdate(B,e,x):G.prototype&&G.prototype.isPureReactComponent?!ha(k,B)||!ha(w,e):!0}B?("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(l,e,x),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4)):("function"!==typeof g.componentDidUpdate||
k===a.memoizedProps&&w===a.memoizedState||(b.effectTag|=4),d(b,l),c(b,e));g.props=l;g.state=e;g.context=x;return B}}}var jb="function"===typeof Symbol&&Symbol["for"],kb=jb?Symbol["for"]("react.element"):60103,lb=jb?Symbol["for"]("react.call"):60104,mb=jb?Symbol["for"]("react.return"):60105,nb=jb?Symbol["for"]("react.portal"):60106,Y=jb?Symbol["for"]("react.fragment"):60107,ob="function"===typeof Symbol&&Symbol.iterator;
function pb(a){if(null===a||"undefined"===typeof a)return null;a=ob&&a[ob]||a["@@iterator"];return"function"===typeof a?a:null}var qb=Array.isArray;
function rb(a,b){var d=b.ref;if(null!==d&&"function"!==typeof d){if(b._owner){b=b._owner;var c=void 0;b&&(2!==b.tag?K("110"):void 0,c=b.stateNode);c?void 0:K("147",d);var e=""+d;if(null!==a&&null!==a.ref&&a.ref._stringRef===e)return a.ref;a=function(a){var b=c.refs===F?c.refs={}:c.refs;null===a?delete b[e]:b[e]=a};a._stringRef=e;return a}"string"!==typeof d?K("148"):void 0;b._owner?void 0:K("149",d)}return d}
function sb(a,b){"textarea"!==a.type&&K("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}
function tb(a){function b(b,t){if(a){var f=b.lastEffect;null!==f?(f.nextEffect=t,b.lastEffect=t):b.firstEffect=b.lastEffect=t;t.nextEffect=null;t.effectTag=8}}function d(d,t){if(!a)return null;for(;null!==t;)b(d,t),t=t.sibling;return null}function c(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,f){a=Ca(a,b,f);a.index=0;a.sibling=null;return a}function p(b,t,f){b.index=f;if(!a)return t;f=b.alternate;if(null!==f)return f=f.index,f<t?(b.effectTag=
2,t):f;b.effectTag=2;return t}function k(b){a&&null===b.alternate&&(b.effectTag=2);return b}function g(a,b,f,h){if(null===b||6!==b.tag)return b=Fa(f,a.internalContextTag,h),b["return"]=a,b;b=e(b,f,h);b["return"]=a;return b}function l(a,b,f,h){if(null!==b&&b.type===f.type)return h=e(b,f.props,h),h.ref=rb(b,f),h["return"]=a,h;h=Da(f,a.internalContextTag,h);h.ref=rb(b,f);h["return"]=a;return h}function u(a,b,f,h){if(null===b||7!==b.tag)return b=Ga(f,a.internalContextTag,h),b["return"]=a,b;b=e(b,f,h);
b["return"]=a;return b}function A(a,b,f,h){if(null===b||9!==b.tag)return b=Ha(f,a.internalContextTag,h),b.type=f.value,b["return"]=a,b;b=e(b,null,h);b.type=f.value;b["return"]=a;return b}function y(a,b,f,h){if(null===b||4!==b.tag||b.stateNode.containerInfo!==f.containerInfo||b.stateNode.implementation!==f.implementation)return b=Ia(f,a.internalContextTag,h),b["return"]=a,b;b=e(b,f.children||[],h);b["return"]=a;return b}function w(a,b,f,h,d){if(null===b||10!==b.tag)return b=Ea(f,a.internalContextTag,
h,d),b["return"]=a,b;b=e(b,f,h);b["return"]=a;return b}function x(a,b,f){if("string"===typeof b||"number"===typeof b)return b=Fa(""+b,a.internalContextTag,f),b["return"]=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case kb:if(b.type===Y)return b=Ea(b.props.children,a.internalContextTag,f,b.key),b["return"]=a,b;f=Da(b,a.internalContextTag,f);f.ref=rb(null,b);f["return"]=a;return f;case lb:return b=Ga(b,a.internalContextTag,f),b["return"]=a,b;case mb:return f=Ha(b,a.internalContextTag,f),
f.type=b.value,f["return"]=a,f;case nb:return b=Ia(b,a.internalContextTag,f),b["return"]=a,b}if(qb(b)||pb(b))return b=Ea(b,a.internalContextTag,f,null),b["return"]=a,b;sb(a,b)}return null}function B(a,b,f,h){var d=null!==b?b.key:null;if("string"===typeof f||"number"===typeof f)return null!==d?null:g(a,b,""+f,h);if("object"===typeof f&&null!==f){switch(f.$$typeof){case kb:return f.key===d?f.type===Y?w(a,b,f.props.children,h,d):l(a,b,f,h):null;case lb:return f.key===d?u(a,b,f,h):null;case mb:return null===
d?A(a,b,f,h):null;case nb:return f.key===d?y(a,b,f,h):null}if(qb(f)||pb(f))return null!==d?null:w(a,b,f,h,null);sb(a,f)}return null}function D(a,b,f,h,d){if("string"===typeof h||"number"===typeof h)return a=a.get(f)||null,g(b,a,""+h,d);if("object"===typeof h&&null!==h){switch(h.$$typeof){case kb:return a=a.get(null===h.key?f:h.key)||null,h.type===Y?w(b,a,h.props.children,d,h.key):l(b,a,h,d);case lb:return a=a.get(null===h.key?f:h.key)||null,u(b,a,h,d);case mb:return a=a.get(f)||null,A(b,a,h,d);case nb:return a=
a.get(null===h.key?f:h.key)||null,y(b,a,h,d)}if(qb(h)||pb(h))return a=a.get(f)||null,w(b,a,h,d,null);sb(b,h)}return null}function G(e,t,f,h){for(var g=null,r=null,q=t,m=t=0,k=null;null!==q&&m<f.length;m++){q.index>m?(k=q,q=null):k=q.sibling;var l=B(e,q,f[m],h);if(null===l){null===q&&(q=k);break}a&&q&&null===l.alternate&&b(e,q);t=p(l,t,m);null===r?g=l:r.sibling=l;r=l;q=k}if(m===f.length)return d(e,q),g;if(null===q){for(;m<f.length;m++)if(q=x(e,f[m],h))t=p(q,t,m),null===r?g=q:r.sibling=q,r=q;return g}for(q=
c(e,q);m<f.length;m++)if(k=D(q,e,m,f[m],h)){if(a&&null!==k.alternate)q["delete"](null===k.key?m:k.key);t=p(k,t,m);null===r?g=k:r.sibling=k;r=k}a&&q.forEach(function(a){return b(e,a)});return g}function H(e,t,f,h){var g=pb(f);"function"!==typeof g?K("150"):void 0;f=g.call(f);null==f?K("151"):void 0;for(var r=g=null,q=t,m=t=0,k=null,l=f.next();null!==q&&!l.done;m++,l=f.next()){q.index>m?(k=q,q=null):k=q.sibling;var E=B(e,q,l.value,h);if(null===E){q||(q=k);break}a&&q&&null===E.alternate&&b(e,q);t=p(E,
t,m);null===r?g=E:r.sibling=E;r=E;q=k}if(l.done)return d(e,q),g;if(null===q){for(;!l.done;m++,l=f.next())l=x(e,l.value,h),null!==l&&(t=p(l,t,m),null===r?g=l:r.sibling=l,r=l);return g}for(q=c(e,q);!l.done;m++,l=f.next())if(l=D(q,e,m,l.value,h),null!==l){if(a&&null!==l.alternate)q["delete"](null===l.key?m:l.key);t=p(l,t,m);null===r?g=l:r.sibling=l;r=l}a&&q.forEach(function(a){return b(e,a)});return g}return function(a,c,f,h){"object"===typeof f&&null!==f&&f.type===Y&&null===f.key&&(f=f.props.children);
var g="object"===typeof f&&null!==f;if(g)switch(f.$$typeof){case kb:a:{var r=f.key;for(g=c;null!==g;){if(g.key===r)if(10===g.tag?f.type===Y:g.type===f.type){d(a,g.sibling);c=e(g,f.type===Y?f.props.children:f.props,h);c.ref=rb(g,f);c["return"]=a;a=c;break a}else{d(a,g);break}else b(a,g);g=g.sibling}f.type===Y?(c=Ea(f.props.children,a.internalContextTag,h,f.key),c["return"]=a,a=c):(h=Da(f,a.internalContextTag,h),h.ref=rb(c,f),h["return"]=a,a=h)}return k(a);case lb:a:{for(g=f.key;null!==c;){if(c.key===
g)if(7===c.tag){d(a,c.sibling);c=e(c,f,h);c["return"]=a;a=c;break a}else{d(a,c);break}else b(a,c);c=c.sibling}c=Ga(f,a.internalContextTag,h);c["return"]=a;a=c}return k(a);case mb:a:{if(null!==c)if(9===c.tag){d(a,c.sibling);c=e(c,null,h);c.type=f.value;c["return"]=a;a=c;break a}else d(a,c);c=Ha(f,a.internalContextTag,h);c.type=f.value;c["return"]=a;a=c}return k(a);case nb:a:{for(g=f.key;null!==c;){if(c.key===g)if(4===c.tag&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===
f.implementation){d(a,c.sibling);c=e(c,f.children||[],h);c["return"]=a;a=c;break a}else{d(a,c);break}else b(a,c);c=c.sibling}c=Ia(f,a.internalContextTag,h);c["return"]=a;a=c}return k(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==c&&6===c.tag?(d(a,c.sibling),c=e(c,f,h)):(d(a,c),c=Fa(f,a.internalContextTag,h)),c["return"]=a,a=c,k(a);if(qb(f))return G(a,c,f,h);if(pb(f))return H(a,c,f,h);g&&sb(a,f);if("undefined"===typeof f)switch(a.tag){case 2:case 1:h=a.type,K("152",h.displayName||
h.name||"Component")}return d(a,c)}}var ub=tb(!0),vb=tb(!1);
function wb(a,b,d,c,e){function p(a,b,f){var c=b.expirationTime;b.child=null===a?vb(b,null,f,c):ub(b,a.child,f,c)}function k(a,b){var f=b.ref;null===f||a&&a.ref===f||(b.effectTag|=128)}function g(a,b,f,c){k(a,b);if(!f)return c&&Ba(b,!1),u(a,b);f=b.stateNode;ia.current=b;var h=f.render();b.effectTag|=1;p(a,b,h);b.memoizedState=f.state;b.memoizedProps=f.props;c&&Ba(b,!0);return b.child}function l(a){var b=a.stateNode;b.pendingContext?ya(a,b.pendingContext,b.pendingContext!==b.context):b.context&&ya(a,
b.context,!1);D(a,b.containerInfo)}function u(a,b){null!==a&&b.child!==a.child?K("153"):void 0;if(null!==b.child){a=b.child;var f=Ca(a,a.pendingProps,a.expirationTime);b.child=f;for(f["return"]=b;null!==a.sibling;)a=a.sibling,f=f.sibling=Ca(a,a.pendingProps,a.expirationTime),f["return"]=b;f.sibling=null}return b.child}function A(a,b){switch(b.tag){case 3:l(b);break;case 2:Aa(b);break;case 4:D(b,b.stateNode.containerInfo)}return null}var y=a.shouldSetTextContent,w=a.useSyncScheduling,x=a.shouldDeprioritizeSubtree,
B=b.pushHostContext,D=b.pushHostContainer,G=d.enterHydrationState,H=d.resetHydrationState,E=d.tryToClaimNextHydratableInstance;a=ib(c,e,function(a,b){a.memoizedProps=b},function(a,b){a.memoizedState=b});var t=a.adoptClassInstance,f=a.constructClassInstance,h=a.mountClassInstance,ca=a.updateClassInstance;return{beginWork:function(a,b,c){if(0===b.expirationTime||b.expirationTime>c)return A(a,b);switch(b.tag){case 0:null!==a?K("155"):void 0;var d=b.type,e=b.pendingProps,r=ua(b);r=wa(b,r);d=d(e,r);b.effectTag|=
1;"object"===typeof d&&null!==d&&"function"===typeof d.render?(b.tag=2,e=Aa(b),t(b,d),h(b,c),b=g(a,b,!0,e)):(b.tag=1,p(a,b,d),b.memoizedProps=e,b=b.child);return b;case 1:a:{e=b.type;c=b.pendingProps;d=b.memoizedProps;if(Q.current)null===c&&(c=d);else if(null===c||d===c){b=u(a,b);break a}d=ua(b);d=wa(b,d);e=e(c,d);b.effectTag|=1;p(a,b,e);b.memoizedProps=c;b=b.child}return b;case 2:return e=Aa(b),d=void 0,null===a?b.stateNode?K("153"):(f(b,b.pendingProps),h(b,c),d=!0):d=ca(a,b,c),g(a,b,d,e);case 3:return l(b),
e=b.updateQueue,null!==e?(d=b.memoizedState,e=gb(a,b,e,null,null,c),d===e?(H(),b=u(a,b)):(d=e.element,r=b.stateNode,(null===a||null===a.child)&&r.hydrate&&G(b)?(b.effectTag|=2,b.child=vb(b,null,d,c)):(H(),p(a,b,d)),b.memoizedState=e,b=b.child)):(H(),b=u(a,b)),b;case 5:B(b);null===a&&E(b);e=b.type;var m=b.memoizedProps;d=b.pendingProps;null===d&&(d=m,null===d?K("154"):void 0);r=null!==a?a.memoizedProps:null;Q.current||null!==d&&m!==d?(m=d.children,y(e,d)?m=null:r&&y(e,r)&&(b.effectTag|=16),k(a,b),
2147483647!==c&&!w&&x(e,d)?(b.expirationTime=2147483647,b=null):(p(a,b,m),b.memoizedProps=d,b=b.child)):b=u(a,b);return b;case 6:return null===a&&E(b),a=b.pendingProps,null===a&&(a=b.memoizedProps),b.memoizedProps=a,null;case 8:b.tag=7;case 7:e=b.pendingProps;if(Q.current)null===e&&(e=a&&a.memoizedProps,null===e?K("154"):void 0);else if(null===e||b.memoizedProps===e)e=b.memoizedProps;d=e.children;b.stateNode=null===a?vb(b,b.stateNode,d,c):ub(b,b.stateNode,d,c);b.memoizedProps=e;return b.stateNode;
case 9:return null;case 4:a:{D(b,b.stateNode.containerInfo);e=b.pendingProps;if(Q.current)null===e&&(e=a&&a.memoizedProps,null==e?K("154"):void 0);else if(null===e||b.memoizedProps===e){b=u(a,b);break a}null===a?b.child=ub(b,null,e,c):p(a,b,e);b.memoizedProps=e;b=b.child}return b;case 10:a:{c=b.pendingProps;if(Q.current)null===c&&(c=b.memoizedProps);else if(null===c||b.memoizedProps===c){b=u(a,b);break a}p(a,b,c);b.memoizedProps=c;b=b.child}return b;default:K("156")}},beginFailedWork:function(b,a,
c){switch(a.tag){case 2:Aa(a);break;case 3:l(a);break;default:K("157")}a.effectTag|=64;null===b?a.child=null:a.child!==b.child&&(a.child=b.child);if(0===a.expirationTime||a.expirationTime>c)return A(b,a);a.firstEffect=null;a.lastEffect=null;a.child=null===b?vb(a,null,null,c):ub(a,b.child,null,c);2===a.tag&&(b=a.stateNode,a.memoizedProps=b.props,a.memoizedState=b.state);return a.child}}}
function xb(a,b,d){function c(a){a.effectTag|=4}var e=a.createInstance,p=a.createTextInstance,k=a.appendInitialChild,g=a.finalizeInitialChildren,l=a.prepareUpdate,u=a.persistence,A=b.getRootHostContainer,y=b.popHostContext,w=b.getHostContext,x=b.popHostContainer,B=d.prepareToHydrateHostInstance,D=d.prepareToHydrateHostTextInstance,G=d.popHydrationState,H=void 0,E=void 0,t=void 0;a.mutation?(H=function(){},E=function(a,b,d){(b.updateQueue=d)&&c(b)},t=function(a,b,d,e){d!==e&&c(b)}):u?K("235"):K("236");
return{completeWork:function(a,b,d){var f=b.pendingProps;if(null===f)f=b.memoizedProps;else if(2147483647!==b.expirationTime||2147483647===d)b.pendingProps=null;switch(b.tag){case 1:return null;case 2:return xa(b),null;case 3:x(b);M(Q,b);M(O,b);f=b.stateNode;f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);if(null===a||null===a.child)G(b),b.effectTag&=-3;H(b);return null;case 5:y(b);d=A();var h=b.type;if(null!==a&&null!=b.stateNode){var m=a.memoizedProps,u=b.stateNode,ca=w();u=
l(u,h,m,f,d,ca);E(a,b,u,h,m,f,d);a.ref!==b.ref&&(b.effectTag|=128)}else{if(!f)return null===b.stateNode?K("166"):void 0,null;a=w();if(G(b))B(b,d,a)&&c(b);else{a=e(h,f,d,a,b);a:for(m=b.child;null!==m;){if(5===m.tag||6===m.tag)k(a,m.stateNode);else if(4!==m.tag&&null!==m.child){m.child["return"]=m;m=m.child;continue}if(m===b)break;for(;null===m.sibling;){if(null===m["return"]||m["return"]===b)break a;m=m["return"]}m.sibling["return"]=m["return"];m=m.sibling}g(a,h,f,d)&&c(b);b.stateNode=a}null!==b.ref&&
(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)t(a,b,a.memoizedProps,f);else{if("string"!==typeof f)return null===b.stateNode?K("166"):void 0,null;a=A();d=w();G(b)?D(b)&&c(b):b.stateNode=p(f,a,d,b)}return null;case 7:(f=b.memoizedProps)?void 0:K("165");b.tag=8;h=[];a:for((m=b.stateNode)&&(m["return"]=b);null!==m;){if(5===m.tag||6===m.tag||4===m.tag)K("247");else if(9===m.tag)h.push(m.type);else if(null!==m.child){m.child["return"]=m;m=m.child;continue}for(;null===m.sibling;){if(null===
m["return"]||m["return"]===b)break a;m=m["return"]}m.sibling["return"]=m["return"];m=m.sibling}m=f.handler;f=m(f.props,h);b.child=ub(b,null!==a?a.child:null,f,d);return b.child;case 8:return b.tag=7,null;case 9:return null;case 10:return null;case 4:return x(b),H(b),null;case 0:K("167");default:K("156")}}}}
function yb(a,b){function d(a){var c=a.ref;if(null!==c)try{c(null)}catch(h){b(a,h)}}function c(a){"function"===typeof Ta&&Ta(a);switch(a.tag){case 2:d(a);var c=a.stateNode;if("function"===typeof c.componentWillUnmount)try{c.props=a.memoizedProps,c.state=a.memoizedState,c.componentWillUnmount()}catch(h){b(a,h)}break;case 5:d(a);break;case 7:e(a.stateNode);break;case 4:l&&k(a)}}function e(b){for(var a=b;;)if(c(a),null===a.child||l&&4===a.tag){if(a===b)break;for(;null===a.sibling;){if(null===a["return"]||
a["return"]===b)return;a=a["return"]}a.sibling["return"]=a["return"];a=a.sibling}else a.child["return"]=a,a=a.child}function p(a){return 5===a.tag||3===a.tag||4===a.tag}function k(a){for(var b=a,d=!1,g=void 0,l=void 0;;){if(!d){d=b["return"];a:for(;;){null===d?K("160"):void 0;switch(d.tag){case 5:g=d.stateNode;l=!1;break a;case 3:g=d.stateNode.containerInfo;l=!0;break a;case 4:g=d.stateNode.containerInfo;l=!0;break a}d=d["return"]}d=!0}if(5===b.tag||6===b.tag)e(b),l?E(g,b.stateNode):H(g,b.stateNode);
else if(4===b.tag?g=b.stateNode.containerInfo:c(b),null!==b.child){b.child["return"]=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||b["return"]===a)return;b=b["return"];4===b.tag&&(d=!1)}b.sibling["return"]=b["return"];b=b.sibling}}var g=a.getPublicInstance,l=a.mutation;a=a.persistence;l||(a?K("235"):K("236"));var u=l.commitMount,A=l.commitUpdate,y=l.resetTextContent,w=l.commitTextUpdate,x=l.appendChild,B=l.appendChildToContainer,D=l.insertBefore,G=l.insertInContainerBefore,
H=l.removeChild,E=l.removeChildFromContainer;return{commitResetTextContent:function(b){y(b.stateNode)},commitPlacement:function(b){a:{for(var a=b["return"];null!==a;){if(p(a)){var c=a;break a}a=a["return"]}K("160");c=void 0}var d=a=void 0;switch(c.tag){case 5:a=c.stateNode;d=!1;break;case 3:a=c.stateNode.containerInfo;d=!0;break;case 4:a=c.stateNode.containerInfo;d=!0;break;default:K("161")}c.effectTag&16&&(y(a),c.effectTag&=-17);a:b:for(c=b;;){for(;null===c.sibling;){if(null===c["return"]||p(c["return"])){c=
null;break a}c=c["return"]}c.sibling["return"]=c["return"];for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child["return"]=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=b;;){if(5===e.tag||6===e.tag)c?d?G(a,e.stateNode,c):D(a,e.stateNode,c):d?B(a,e.stateNode):x(a,e.stateNode);else if(4!==e.tag&&null!==e.child){e.child["return"]=e;e=e.child;continue}if(e===b)break;for(;null===e.sibling;){if(null===e["return"]||e["return"]===
b)return;e=e["return"]}e.sibling["return"]=e["return"];e=e.sibling}},commitDeletion:function(b){k(b);b["return"]=null;b.child=null;b.alternate&&(b.alternate.child=null,b.alternate["return"]=null)},commitWork:function(b,a){switch(a.tag){case 2:break;case 5:var c=a.stateNode;if(null!=c){var d=a.memoizedProps;b=null!==b?b.memoizedProps:d;var e=a.type,f=a.updateQueue;a.updateQueue=null;null!==f&&A(c,f,e,b,d,a)}break;case 6:null===a.stateNode?K("162"):void 0;c=a.memoizedProps;w(a.stateNode,null!==b?b.memoizedProps:
c,c);break;case 3:break;default:K("163")}},commitLifeCycles:function(b,a){switch(a.tag){case 2:var c=a.stateNode;if(a.effectTag&4)if(null===b)c.props=a.memoizedProps,c.state=a.memoizedState,c.componentDidMount();else{var d=b.memoizedProps;b=b.memoizedState;c.props=a.memoizedProps;c.state=a.memoizedState;c.componentDidUpdate(d,b)}a=a.updateQueue;null!==a&&hb(a,c);break;case 3:c=a.updateQueue;null!==c&&hb(c,null!==a.child?a.child.stateNode:null);break;case 5:c=a.stateNode;null===b&&a.effectTag&4&&u(c,
a.type,a.memoizedProps,a);break;case 6:break;case 4:break;default:K("163")}},commitAttachRef:function(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:b(g(c));break;default:b(c)}}},commitDetachRef:function(a){a=a.ref;null!==a&&a(null)}}}var zb={};
function Ab(a){function b(a){a===zb?K("174"):void 0;return a}var d=a.getChildHostContext,c=a.getRootHostContext,e={current:zb},p={current:zb},k={current:zb};return{getHostContext:function(){return b(e.current)},getRootHostContainer:function(){return b(k.current)},popHostContainer:function(a){M(e,a);M(p,a);M(k,a)},popHostContext:function(a){p.current===a&&(M(e,a),M(p,a))},pushHostContainer:function(a,b){N(k,b,a);b=c(b);N(p,a,a);N(e,b,a)},pushHostContext:function(a){var c=b(k.current),g=b(e.current);
c=d(g,a.type,c);g!==c&&(N(p,a,a),N(e,c,a))},resetHostContainer:function(){e.current=zb;k.current=zb}}}
function Bb(a){function b(a,b){var c=new X(5,null,0);c.type="DELETED";c.stateNode=b;c["return"]=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function d(a,b){switch(a.tag){case 5:return b=p(b,a.type,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;case 6:return b=k(b,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;default:return!1}}function c(a){for(a=a["return"];null!==a&&5!==a.tag&&3!==a.tag;)a=a["return"];y=a}var e=a.shouldSetTextContent;
a=a.hydration;if(!a)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){K("175")},prepareToHydrateHostTextInstance:function(){K("176")},popHydrationState:function(){return!1}};var p=a.canHydrateInstance,k=a.canHydrateTextInstance,g=a.getNextHydratableSibling,l=a.getFirstHydratableChild,u=a.hydrateInstance,A=a.hydrateTextInstance,y=null,w=null,x=!1;return{enterHydrationState:function(a){w=
l(a.stateNode.containerInfo);y=a;return x=!0},resetHydrationState:function(){w=y=null;x=!1},tryToClaimNextHydratableInstance:function(a){if(x){var c=w;if(c){if(!d(a,c)){c=g(c);if(!c||!d(a,c)){a.effectTag|=2;x=!1;y=a;return}b(y,w)}y=a;w=l(c)}else a.effectTag|=2,x=!1,y=a}},prepareToHydrateHostInstance:function(a,b,c){b=u(a.stateNode,a.type,a.memoizedProps,b,c,a);a.updateQueue=b;return null!==b?!0:!1},prepareToHydrateHostTextInstance:function(a){return A(a.stateNode,a.memoizedProps,a)},popHydrationState:function(a){if(a!==
y)return!1;if(!x)return c(a),x=!0,!1;var d=a.type;if(5!==a.tag||"head"!==d&&"body"!==d&&!e(d,a.memoizedProps))for(d=w;d;)b(a,d),d=g(d);c(a);w=y?g(a.stateNode):null;return!0}}}
function Cb(a){function b(a){Ja=S=!0;var b=a.stateNode;b.current===a?K("177"):void 0;b.isReadyForCommit=!1;ia.current=null;if(1<a.effectTag)if(null!==a.lastEffect){a.lastEffect.nextEffect=a;var c=a.firstEffect}else c=a;else c=a.firstEffect;fc();for(v=c;null!==v;){var d=!1,e=void 0;try{for(;null!==v;){var f=v.effectTag;f&16&&gc(v);if(f&128){var ea=v.alternate;null!==ea&&hc(ea)}switch(f&-242){case 2:Eb(v);v.effectTag&=-3;break;case 6:Eb(v);v.effectTag&=-3;Fb(v.alternate,v);break;case 4:Fb(v.alternate,
v);break;case 8:Za=!0,ic(v),Za=!1}v=v.nextEffect}}catch($a){d=!0,e=$a}d&&(null===v?K("178"):void 0,g(v,e),null!==v&&(v=v.nextEffect))}jc();b.current=a;for(v=c;null!==v;){c=!1;d=void 0;try{for(;null!==v;){var k=v.effectTag;k&36&&kc(v.alternate,v);k&128&&lc(v);if(k&64)switch(e=v,f=void 0,null!==J&&(f=J.get(e),J["delete"](e),null==f&&null!==e.alternate&&(e=e.alternate,f=J.get(e),J["delete"](e))),null==f?K("184"):void 0,e.tag){case 2:e.stateNode.componentDidCatch(f.error,{componentStack:f.componentStack});
break;case 3:null===P&&(P=f.error);break;default:K("157")}var h=v.nextEffect;v.nextEffect=null;v=h}}catch($a){c=!0,d=$a}c&&(null===v?K("178"):void 0,g(v,d),null!==v&&(v=v.nextEffect))}S=Ja=!1;"function"===typeof Sa&&Sa(a.stateNode);R&&(R.forEach(B),R=null);null!==P&&(a=P,P=null,ca(a));b=b.current.expirationTime;0===b&&(Z=J=null);return b}function d(a){for(;;){var b=mc(a.alternate,a,C),c=a["return"],d=a.sibling;var e=a;if(2147483647===C||2147483647!==e.expirationTime){if(2!==e.tag&&3!==e.tag)var f=
0;else f=e.updateQueue,f=null===f?0:f.expirationTime;for(var g=e.child;null!==g;)0!==g.expirationTime&&(0===f||f>g.expirationTime)&&(f=g.expirationTime),g=g.sibling;e.expirationTime=f}if(null!==b)return b;null!==c&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a));if(null!==d)return d;if(null!==
c)a=c;else{a.stateNode.isReadyForCommit=!0;break}}return null}function c(a){var b=Zb(a.alternate,a,C);null===b&&(b=d(a));ia.current=null;return b}function e(a){var b=nc(a.alternate,a,C);null===b&&(b=d(a));ia.current=null;return b}function p(a){if(null!==J){if(!(0===C||C>a))if(C<=ab)for(;null!==z;)z=l(z)?e(z):c(z);else for(;null!==z&&!h();)z=l(z)?e(z):c(z)}else if(!(0===C||C>a))if(C<=ab)for(;null!==z;)z=c(z);else for(;null!==z&&!h();)z=c(z)}function k(a,b){S?K("243"):void 0;S=!0;a.isReadyForCommit=
!1;if(a!==aa||b!==C||null===z){for(;-1<L;)sa[L]=null,L--;ta=F;O.current=F;Q.current=!1;Yb();aa=a;C=b;z=Ca(aa.current,null,b)}var c=!1,d=null;try{p(b)}catch(Ya){c=!0,d=Ya}for(;c;){if(qa){P=d;break}var f=z;if(null===f)qa=!0;else{var k=g(f,d);null===k?K("183"):void 0;if(!qa){try{c=k;d=b;for(k=c;null!==f;){switch(f.tag){case 2:xa(f);break;case 5:Xb(f);break;case 3:m(f);break;case 4:m(f)}if(f===k||f.alternate===k)break;f=f["return"]}z=e(c);p(d)}catch(Ya){c=!0;d=Ya;continue}break}}}b=P;qa=S=!1;P=null;null!==
b&&ca(b);return a.isReadyForCommit?a.current.alternate:null}function g(a,b){var c=ia.current=null,d=!1,e=!1,f=null;if(3===a.tag)c=a,u(a)&&(qa=!0);else for(var g=a["return"];null!==g&&null===c;){2===g.tag?"function"===typeof g.stateNode.componentDidCatch&&(d=!0,f=ja(g),c=g,e=!0):3===g.tag&&(c=g);if(u(g)){if(Za||null!==R&&(R.has(g)||null!==g.alternate&&R.has(g.alternate)))return null;c=null;e=!1}g=g["return"]}if(null!==c){null===Z&&(Z=new Set);Z.add(c);var k="";g=a;do{a:switch(g.tag){case 0:case 1:case 2:case 5:var h=
g._debugOwner,l=g._debugSource;var m=ja(g);var ea=null;h&&(ea=ja(h));h=l;m="\n in "+(m||"Unknown")+(h?" (at "+h.fileName.replace(/^.*[\\\/]/,"")+":"+h.lineNumber+")":ea?" (created by "+ea+")":"");break a;default:m=""}k+=m;g=g["return"]}while(g);g=k;a=ja(a);null===J&&(J=new Map);b={componentName:a,componentStack:g,error:b,errorBoundary:d?c.stateNode:null,errorBoundaryFound:d,errorBoundaryName:f,willRetry:e};J.set(c,b);try{var p=b.error;p&&p.suppressReactErrorLogging||console.error(p)}catch(bb){bb&&
bb.suppressReactErrorLogging||console.error(bb)}Ja?(null===R&&(R=new Set),R.add(c)):B(c);return c}null===P&&(P=b);return null}function l(a){return null!==J&&(J.has(a)||null!==a.alternate&&J.has(a.alternate))}function u(a){return null!==Z&&(Z.has(a)||null!==a.alternate&&Z.has(a.alternate))}function A(){return 20*(((D()+100)/20|0)+1)}function y(a){return 0!==T?T:S?Ja?1:C:!oc||a.internalContextTag&1?A():1}function w(a,b){return x(a,b,!1)}function x(a,b){for(;null!==a;){if(0===a.expirationTime||a.expirationTime>
b)a.expirationTime=b;null!==a.alternate&&(0===a.alternate.expirationTime||a.alternate.expirationTime>b)&&(a.alternate.expirationTime=b);if(null===a["return"])if(3===a.tag){var c=a.stateNode;!S&&c===aa&&b<C&&(z=aa=null,C=0);var d=c,e=b;Ka>pc&&K("185");if(null===d.nextScheduledRoot)d.remainingExpirationTime=e,null===I?(ba=I=d,d.nextScheduledRoot=d):(I=I.nextScheduledRoot=d,I.nextScheduledRoot=ba);else{var g=d.remainingExpirationTime;if(0===g||e<g)d.remainingExpirationTime=e}fa||(U?La&&(V=d,W=1,f(V,
W)):1===e?t(1,null):G(e));!S&&c===aa&&b<C&&(z=aa=null,C=0)}else break;a=a["return"]}}function B(a){x(a,1,!0)}function D(){return ab=((cb()-Gb)/10|0)+2}function G(a){if(0!==Ma){if(a>Ma)return;qc(db)}var b=cb()-Gb;Ma=a;db=rc(E,{timeout:10*(a-2)-b})}function H(){var a=0,b=null;if(null!==I)for(var c=I,d=ba;null!==d;){var e=d.remainingExpirationTime;if(0===e){null===c||null===I?K("244"):void 0;if(d===d.nextScheduledRoot){ba=I=d.nextScheduledRoot=null;break}else if(d===ba)ba=e=d.nextScheduledRoot,I.nextScheduledRoot=
e,d.nextScheduledRoot=null;else if(d===I){I=c;I.nextScheduledRoot=ba;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===I)break;c=d;d=d.nextScheduledRoot}}c=V;null!==c&&c===b?Ka++:Ka=0;V=b;W=a}function E(a){t(0,a)}function t(a,b){ra=b;for(H();null!==V&&0!==W&&(0===a||W<=a)&&!eb;)f(V,W),H();null!==ra&&(Ma=0,db=-1);0!==W&&G(W);ra=null;eb=!1;Ka=0;if(Na)throw a=fb,fb=null,Na=!1,a;}function f(a,c){fa?
K("245"):void 0;fa=!0;if(c<=D()){var d=a.finishedWork;null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=k(a,c),null!==d&&(a.remainingExpirationTime=b(d)))}else d=a.finishedWork,null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=k(a,c),null!==d&&(h()?a.finishedWork=d:a.remainingExpirationTime=b(d)));fa=!1}function h(){return null===ra||ra.timeRemaining()>sc?!1:eb=!0}function ca(a){null===V?K("246"):void 0;V.remainingExpirationTime=
0;Na||(Na=!0,fb=a)}var r=Ab(a),q=Bb(a),m=r.popHostContainer,Xb=r.popHostContext,Yb=r.resetHostContainer,Db=wb(a,r,q,w,y),Zb=Db.beginWork,nc=Db.beginFailedWork,mc=xb(a,r,q).completeWork;r=yb(a,g);var gc=r.commitResetTextContent,Eb=r.commitPlacement,ic=r.commitDeletion,Fb=r.commitWork,kc=r.commitLifeCycles,lc=r.commitAttachRef,hc=r.commitDetachRef,cb=a.now,rc=a.scheduleDeferredCallback,qc=a.cancelDeferredCallback,oc=a.useSyncScheduling,fc=a.prepareForCommit,jc=a.resetAfterCommit,Gb=cb(),ab=2,T=0,S=
!1,z=null,aa=null,C=0,v=null,J=null,Z=null,R=null,P=null,qa=!1,Ja=!1,Za=!1,ba=null,I=null,Ma=0,db=-1,fa=!1,V=null,W=0,eb=!1,Na=!1,fb=null,ra=null,U=!1,La=!1,pc=1E3,Ka=0,sc=1;return{computeAsyncExpiration:A,computeExpirationForFiber:y,scheduleWork:w,batchedUpdates:function(a,b){var c=U;U=!0;try{return a(b)}finally{(U=c)||fa||t(1,null)}},unbatchedUpdates:function(a){if(U&&!La){La=!0;try{return a()}finally{La=!1}}return a()},flushSync:function(a){var b=U;U=!0;try{a:{var c=T;T=1;try{var d=a();break a}finally{T=
c}d=void 0}return d}finally{U=b,fa?K("187"):void 0,t(1,null)}},deferredUpdates:function(a){var b=T;T=A();try{return a()}finally{T=b}}}}
function Hb(a){function b(a){a=oa(a);return null===a?null:a.stateNode}var d=a.getPublicInstance;a=Cb(a);var c=a.computeAsyncExpiration,e=a.computeExpirationForFiber,p=a.scheduleWork;return{createContainer:function(a,b){var c=new X(3,null,0);a={current:c,containerInfo:a,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:b,nextScheduledRoot:null};return c.stateNode=a},updateContainer:function(a,b,d,u){var g=b.current;if(d){d=
d._reactInternalFiber;var k;b:{2===ka(d)&&2===d.tag?void 0:K("170");for(k=d;3!==k.tag;){if(va(k)){k=k.stateNode.__reactInternalMemoizedMergedChildContext;break b}(k=k["return"])?void 0:K("171")}k=k.stateNode.context}d=va(d)?za(d,k):k}else d=F;null===b.context?b.context=d:b.pendingContext=d;b=u;b=void 0===b?null:b;u=null!=a&&null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent?c():e(g);Wa(g,{expirationTime:u,partialState:{element:a},callback:b,isReplace:!1,isForced:!1,
nextCallback:null,next:null});p(g,u)},batchedUpdates:a.batchedUpdates,unbatchedUpdates:a.unbatchedUpdates,deferredUpdates:a.deferredUpdates,flushSync:a.flushSync,getPublicRootInstance:function(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return d(a.child.stateNode);default:return a.child.stateNode}},findHostInstance:b,findHostInstanceWithNoPortals:function(a){a=pa(a);return null===a?null:a.stateNode},injectIntoDevTools:function(a){var c=a.findFiberByHostInstance;return Ra(n({},
a,{findHostInstanceByFiber:function(a){return b(a)},findFiberByHostInstance:function(a){return c?c(a):null}}))}}}var Ib=Object.freeze({default:Hb}),Jb=Ib&&Hb||Ib,Kb=Jb["default"]?Jb["default"]:Jb,Lb=null,Mb=null;function Nb(a){if(a=null(a)){K("194");var b=null(a.stateNode);null.restoreControlledState(a.stateNode,a.type,b)}}
var Ob=!1,Pb=function(){function a(a,d){for(var b=0;b<d.length;b++){var e=d[b];e.enumerable=e.enumerable||!1;e.configurable=!0;"value"in e&&(e.writable=!0);Object.defineProperty(a,e.key,e)}}return function(b,d,c){d&&a(b.prototype,d);c&&a(b,c);return b}}(),Qb={};function Rb(a){switch(a.tag){case "INSTANCE":var b=a.rootContainerInstance.createNodeMock;return b({type:a.type,props:a.props});default:return a}}
function Sb(a,b){var d=a.children.indexOf(b);-1!==d&&a.children.splice(d,1);a.children.push(b)}function Tb(a,b,d){var c=a.children.indexOf(b);-1!==c&&a.children.splice(c,1);d=a.children.indexOf(d);a.children.splice(d,0,b)}function Ub(a,b){b=a.children.indexOf(b);a.children.splice(b,1)}
var Vb=Kb({getRootHostContext:function(){return F},getChildHostContext:function(){return F},prepareForCommit:function(){},resetAfterCommit:function(){},createInstance:function(a,b,d){return{type:a,props:b,children:[],rootContainerInstance:d,tag:"INSTANCE"}},appendInitialChild:function(a,b){var d=a.children.indexOf(b);-1!==d&&a.children.splice(d,1);a.children.push(b)},finalizeInitialChildren:function(){return!1},prepareUpdate:function(){return Qb},shouldSetTextContent:function(){return!1},shouldDeprioritizeSubtree:function(){return!1},
createTextInstance:function(a){return{text:a,tag:"TEXT"}},scheduleDeferredCallback:function(a){return setTimeout(a,0,{timeRemaining:Infinity})},cancelDeferredCallback:function(a){clearTimeout(a)},useSyncScheduling:!0,getPublicInstance:Rb,now:function(){return 0},mutation:{commitUpdate:function(a,b,d,c,e){a.type=d;a.props=e},commitMount:function(){},commitTextUpdate:function(a,b,d){a.text=d},resetTextContent:function(){},appendChild:Sb,appendChildToContainer:Sb,insertBefore:Tb,insertInContainerBefore:Tb,
removeChild:Ub,removeChildFromContainer:Ub}}),Wb={createNodeMock:function(){return null}};
function $b(a){switch(a.tag){case "TEXT":return a.text;case "INSTANCE":var b=a.props,d=["children"],c={},e;for(e in b)0<=d.indexOf(e)||Object.prototype.hasOwnProperty.call(b,e)&&(c[e]=b[e]);b=null;a.children&&a.children.length&&(b=a.children.map($b));a={type:a.type,props:c,children:b};Object.defineProperty(a,"$$typeof",{value:Symbol["for"]("react.test.json")});return a;default:throw Error("Unexpected node type in toJSON: "+a.tag);}}
function ac(a){for(var b=[];null!=a;)b.push(a),a=a.sibling;b=b.map(bc);return b.length?b:null}
function bc(a){if(null==a)return null;switch(a.tag){case 3:return bc(a.child);case 2:var b=a.type,d=n({},a.memoizedProps),c=a.child;return{nodeType:"component",type:b,props:d,instance:a.stateNode,rendered:c&&c.sibling?ac(a.child):bc(a.child)};case 1:return b=a.type,d=n({},a.memoizedProps),c=a.child,{nodeType:"component",type:b,props:d,instance:null,rendered:c&&c.sibling?ac(a.child):bc(a.child)};case 5:return{nodeType:"host",type:a.type,props:n({},a.memoizedProps),instance:null,rendered:ac(a.child)};
case 6:return a.stateNode.text;default:K("214",a.tag)}}var cc=new WeakMap;function dc(a){var b=cc.get(a);void 0===b&&null!==a.alternate&&(b=cc.get(a.alternate));void 0===b&&(b=new ec(a),cc.set(a,b));return b}
var tc=new Set([1,2,5]),ec=function(){function a(b){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");tc.has(b.tag)?void 0:K("225",b.tag);this._fiber=b}a.prototype._currentFiber=function(){var a=na(this._fiber);null===a?K("224"):void 0;return a};a.prototype.find=function(a){return uc(this.findAll(a,{deep:!1}),"matching custom predicate: "+a.toString())};a.prototype.findByType=function(a){return uc(this.findAllByType(a,{deep:!1}),'with node type: "'+(a.displayName||a.name)+
'"')};a.prototype.findByProps=function(a){return uc(this.findAllByProps(a,{deep:!1}),"with props: "+JSON.stringify(a))};a.prototype.findAll=function(a){return vc(this,a,1<arguments.length&&void 0!==arguments[1]?arguments[1]:null)};a.prototype.findAllByType=function(a){return vc(this,function(b){return b.type===a},1<arguments.length&&void 0!==arguments[1]?arguments[1]:null)};a.prototype.findAllByProps=function(a){return vc(this,function(b){var c;if(c=b.props)a:{for(var d in a)if(b.props[d]!==a[d]){c=
!1;break a}c=!0}return c},1<arguments.length&&void 0!==arguments[1]?arguments[1]:null)};Pb(a,[{key:"instance",get:function(){return 5===this._fiber.tag?Rb(this._fiber.stateNode):this._fiber.stateNode}},{key:"type",get:function(){return this._fiber.type}},{key:"props",get:function(){return this._currentFiber().memoizedProps}},{key:"parent",get:function(){var a=this._fiber["return"];return null===a||3===a.tag?null:dc(a)}},{key:"children",get:function(){var a=[],d=this._currentFiber(),c=d;if(null===
c.child)return a;c.child["return"]=c;c=c.child;a:for(;;){var e=!1;switch(c.tag){case 1:case 2:case 5:a.push(dc(c));break;case 6:a.push(""+c.memoizedProps);break;case 10:e=!0;break;default:K("226",c.tag)}if(e&&null!==c.child)c.child["return"]=c,c=c.child;else{for(;null===c.sibling;){if(c["return"]===d)break a;c=c["return"]}c.sibling["return"]=c["return"];c=c.sibling}}return a}}]);return a}();
function vc(a,b,d){var c=d?d.deep:!0,e=[];if(b(a)&&(e.push(a),!c))return e;c=!0;var p=!1,k=void 0;try{for(var g=a.children[Symbol.iterator](),l;!(c=(l=g.next()).done);c=!0){var u=l.value;"string"!==typeof u&&e.push.apply(e,vc(u,b,d))}}catch(A){p=!0,k=A}finally{try{if(!c&&g["return"])g["return"]()}finally{if(p)throw k;}}return e}function uc(a,b){if(1===a.length)return a[0];throw Error((0===a.length?"No instances found ":"Expected 1 but found "+a.length+" instances ")+b);}
var wc={create:function(a,b){var d=Wb.createNodeMock;b&&"function"===typeof b.createNodeMock&&(d=b.createNodeMock);var c={children:[],createNodeMock:d,tag:"CONTAINER"},e=Vb.createContainer(c,!1);null==e?K("215"):void 0;Vb.updateContainer(a,e,null,null);a={root:void 0,toJSON:function(){return null==e||null==e.current||null==c||0===c.children.length?null:1===c.children.length?$b(c.children[0]):c.children.map($b)},toTree:function(){return null==e||null==e.current?null:bc(e.current)},update:function(a){null!=
e&&null!=e.current&&Vb.updateContainer(a,e,null,null)},unmount:function(){null!=e&&null!=e.current&&(Vb.updateContainer(null,e,null),e=c=null)},getInstance:function(){return null==e||null==e.current?null:Vb.getPublicRootInstance(e)}};Object.defineProperty(a,"root",{configurable:!0,enumerable:!0,get:function(){if(null===e||null===e.current.child)throw Error("Can't access .root on unmounted test renderer");return dc(e.current.child)}});return a},unstable_batchedUpdates:function(a,b){if(Ob)return a(b);
Ob=!0;try{return a(b)}finally{if(Ob=!1,Lb&&(b=Lb,a=Mb,Mb=Lb=null,Nb(b),a))for(b=0;b<a.length;b++)Nb(a[b])}}},xc=Object.freeze({default:wc}),yc=xc&&wc||xc;module.exports=yc["default"]?yc["default"]:yc;