UNPKG

69 kBJavaScriptView Raw
1/** @license React v16.9.0-rc.0
2 * react-art.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */
9
10'use strict';var aa=require("object-assign"),ba=require("react"),ca=require("art/core/transform"),da=require("art/modes/current"),n=require("scheduler");var ea=require("art/modes/fast-noSideEffects");
11function p(b){for(var a=b.message,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d]);b.message="Minified React error #"+a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ";return b}var u=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;u.hasOwnProperty("ReactCurrentDispatcher")||(u.ReactCurrentDispatcher={current:null});
12u.hasOwnProperty("ReactCurrentBatchConfig")||(u.ReactCurrentBatchConfig={suspense:null});
13var z="function"===typeof Symbol&&Symbol.for,fa=z?Symbol.for("react.element"):60103,ha=z?Symbol.for("react.portal"):60106,ia=z?Symbol.for("react.fragment"):60107,ja=z?Symbol.for("react.strict_mode"):60108,ka=z?Symbol.for("react.profiler"):60114,la=z?Symbol.for("react.provider"):60109,ma=z?Symbol.for("react.context"):60110,na=z?Symbol.for("react.concurrent_mode"):60111,oa=z?Symbol.for("react.forward_ref"):60112,pa=z?Symbol.for("react.suspense"):60113,ra=z?Symbol.for("react.suspense_list"):60120,sa=
14z?Symbol.for("react.memo"):60115,ta=z?Symbol.for("react.lazy"):60116;z&&Symbol.for("react.fundamental");z&&Symbol.for("react.responder");var ua="function"===typeof Symbol&&Symbol.iterator;function va(b){if(null===b||"object"!==typeof b)return null;b=ua&&b[ua]||b["@@iterator"];return"function"===typeof b?b:null}
15function wa(b){if(null==b)return null;if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b;switch(b){case ia:return"Fragment";case ha:return"Portal";case ka:return"Profiler";case ja:return"StrictMode";case pa:return"Suspense";case ra:return"SuspenseList"}if("object"===typeof b)switch(b.$$typeof){case ma:return"Context.Consumer";case la:return"Context.Provider";case oa:var a=b.render;a=a.displayName||a.name||"";return b.displayName||(""!==a?"ForwardRef("+a+")":
16"ForwardRef");case sa:return wa(b.type);case ta:if(b=1===b._status?b._result:null)return wa(b)}return null}function xa(b){var a=b;if(b.alternate)for(;a.return;)a=a.return;else{if(0!==(a.effectTag&2))return 1;for(;a.return;)if(a=a.return,0!==(a.effectTag&2))return 1}return 3===a.tag?2:3}function ya(b){if(2!==xa(b))throw p(Error(188));}
17function za(b){var a=b.alternate;if(!a){a=xa(b);if(3===a)throw p(Error(188));return 1===a?null:b}for(var c=b,d=a;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return ya(e),b;if(f===d)return ya(e),a;f=f.sibling}throw p(Error(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
18c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw p(Error(189));}}if(c.alternate!==d)throw p(Error(190));}if(3!==c.tag)throw p(Error(188));return c.stateNode.current===c?b:a}function Aa(b){b=za(b);if(!b)return null;for(var a=b;;){if(5===a.tag||6===a.tag)return a;if(a.child)a.child.return=a,a=a.child;else{if(a===b)break;for(;!a.sibling;){if(!a.return||a.return===b)return null;a=a.return}a.sibling.return=a.return;a=a.sibling}}return null}
19var Ba={CLIPPING_RECTANGLE:"ClippingRectangle",GROUP:"Group",SHAPE:"Shape",TEXT:"Text"},Ca={onClick:"click",onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseUp:"mouseup",onMouseDown:"mousedown"};function Da(b){return b?"string"===typeof b?b:b.length?b.join(""):"":""}function Ea(){throw p(Error(305));}var Fa=new ca,Ga={},Ha={};function Ia(b){return function(a){var c=b._listeners[a.type];c&&("function"===typeof c?c.call(b,a):c.handleEvent&&c.handleEvent(a))}}
20function Ja(b){if(b._subscriptions)for(var a in b._subscriptions)b._subscriptions[a]();b._subscriptions=null;b._listeners=null}function Ka(b,a){La(b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});b.width=a.width;b.height=a.height}function Ma(b,a){La(b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});b.width=a.width;b.height=a.height}
21function La(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};var d=null!=a.scaleX?a.scaleX:null!=a.scale?a.scale:1;var e=null!=a.scaleY?a.scaleY:null!=a.scale?a.scale:1;Fa.transformTo(1,0,0,1,0,0).move(a.x||0,a.y||0).rotate(a.rotation||0,a.originX,a.originY).scale(d,e,a.originX,a.originY);null!=a.transform&&Fa.transform(a.transform);b.xx===Fa.xx&&b.yx===Fa.yx&&b.xy===Fa.xy&&b.yy===Fa.yy&&b.x===Fa.x&&b.y===Fa.y||b.transformTo(Fa);a.cursor===c.cursor&&a.title===c.title||b.indicate(a.cursor,
22a.title);b.blend&&a.opacity!==c.opacity&&b.blend(null==a.opacity?1:a.opacity);a.visible!==c.visible&&(null==a.visible||a.visible?b.show():b.hide());for(var f in Ca)c=b,d=Ca[f],e=a[f],c._listeners||(c._listeners={},c._subscriptions={}),(c._listeners[d]=e)?c._subscriptions[d]||(c._subscriptions[d]=c.subscribe(d,Ia(c),c)):c._subscriptions[d]&&(c._subscriptions[d](),delete c._subscriptions[d])}
23function Na(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};La(b,a,c);c.fill!==a.fill&&(a.fill&&a.fill.applyFill?a.fill.applyFill(b):b.fill(a.fill));c.stroke===a.stroke&&c.strokeWidth===a.strokeWidth&&c.strokeCap===a.strokeCap&&c.strokeJoin===a.strokeJoin&&c.strokeDash===a.strokeDash||b.stroke(a.stroke,a.strokeWidth,a.strokeCap,a.strokeJoin,a.strokeDash)}
24function Oa(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Na(b,a,c);var d=a.d||Da(a.children),e=b._prevDelta;if(d!==b._prevPath||d.delta!==e||c.height!==a.height||c.width!==a.width)b.draw(d,a.width,a.height),b._prevDelta=d.delta,b._prevPath=d}
25function Pa(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Na(b,a,c);var d=a.children,e;if(!(e=b._currentString!==d)){e=a.font;var f=c.font;e=e===f?!0:"string"===typeof f||"string"===typeof e?!1:f.fontSize===e.fontSize&&f.fontStyle===e.fontStyle&&f.fontVariant===e.fontVariant&&f.fontWeight===e.fontWeight&&f.fontFamily===e.fontFamily;e=!e}if(e||a.alignment!==c.alignment||a.path!==c.path)b.draw(d,a.font,a.alignment,a.path),b._currentString=d}
26function Qa(b,a){if("string"===typeof a)throw p(Error(216));a.inject(b)}var Ra=setTimeout,Sa=clearTimeout;function Ta(b,a){return"string"===typeof a.children||"number"===typeof a.children}var Ua=/^(.*)[\\\/]/;
27function Va(b){var a="";do{a:switch(b.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=b._debugOwner,e=b._debugSource,f=wa(b.type);c=null;d&&(c=wa(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Ua,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n in "+(d||"Unknown")+f}a+=c;b=b.return}while(b);return a}new Set;var Wa=[],Xa=-1;function A(b){0>Xa||(b.current=Wa[Xa],Wa[Xa]=null,Xa--)}function B(b,a){Xa++;Wa[Xa]=b.current;b.current=a}
28var Ya={},C={current:Ya},D={current:!1},Za=Ya;function $a(b,a){var c=b.type.contextTypes;if(!c)return Ya;var d=b.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===a)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=a[f];d&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=a,b.__reactInternalMemoizedMaskedChildContext=e);return e}function E(b){b=b.childContextTypes;return null!==b&&void 0!==b}function ab(b){A(D,b);A(C,b)}
29function bb(b){A(D,b);A(C,b)}function cb(b,a,c){if(C.current!==Ya)throw p(Error(168));B(C,a,b);B(D,c,b)}function db(b,a,c){var d=b.stateNode;b=a.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw p(Error(108),wa(a)||"Unknown",e);return aa({},c,d)}function eb(b){var a=b.stateNode;a=a&&a.__reactInternalMemoizedMergedChildContext||Ya;Za=C.current;B(C,a,b);B(D,D.current,b);return!0}
30function fb(b,a,c){var d=b.stateNode;if(!d)throw p(Error(169));c?(a=db(b,a,Za),d.__reactInternalMemoizedMergedChildContext=a,A(D,b),A(C,b),B(C,a,b)):A(D,b);B(D,c,b)}
31var gb=n.unstable_runWithPriority,hb=n.unstable_scheduleCallback,ib=n.unstable_cancelCallback,jb=n.unstable_shouldYield,kb=n.unstable_requestPaint,lb=n.unstable_now,mb=n.unstable_getCurrentPriorityLevel,nb=n.unstable_ImmediatePriority,ob=n.unstable_UserBlockingPriority,pb=n.unstable_NormalPriority,qb=n.unstable_LowPriority,rb=n.unstable_IdlePriority,sb={},tb=void 0!==kb?kb:function(){},ub=null,vb=null,wb=!1,xb=lb(),F=1E4>xb?lb:function(){return lb()-xb};
32function yb(){switch(mb()){case nb:return 99;case ob:return 98;case pb:return 97;case qb:return 96;case rb:return 95;default:throw p(Error(332));}}function zb(b){switch(b){case 99:return nb;case 98:return ob;case 97:return pb;case 96:return qb;case 95:return rb;default:throw p(Error(332));}}function Ab(b,a){b=zb(b);return gb(b,a)}function Bb(b,a,c){b=zb(b);return hb(b,a,c)}function Cb(b){null===ub?(ub=[b],vb=hb(nb,Db)):ub.push(b);return sb}function Eb(){null!==vb&&ib(vb);Db()}
33function Db(){if(!wb&&null!==ub){wb=!0;var b=0;try{var a=ub;Ab(99,function(){for(;b<a.length;b++){var c=a[b];do c=c(!0);while(null!==c)}});ub=null}catch(c){throw null!==ub&&(ub=ub.slice(b+1)),hb(nb,Eb),c;}finally{wb=!1}}}function Fb(b,a){if(1073741823===a)return 99;if(1===a)return 95;b=10*(1073741821-a)-10*(1073741821-b);return 0>=b?99:250>=b?98:5250>=b?97:95}function Gb(b,a){return b===a&&(0!==b||1/b===1/a)||b!==b&&a!==a}var Hb=Object.prototype.hasOwnProperty;
34function Ib(b,a){if(Gb(b,a))return!0;if("object"!==typeof b||null===b||"object"!==typeof a||null===a)return!1;var c=Object.keys(b),d=Object.keys(a);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Hb.call(a,c[d])||!Gb(b[c[d]],a[c[d]]))return!1;return!0}function G(b,a){if(b&&b.defaultProps){a=aa({},a);b=b.defaultProps;for(var c in b)void 0===a[c]&&(a[c]=b[c])}return a}
35function Jb(b){var a=b._result;switch(b._status){case 1:return a;case 2:throw a;case 0:throw a;default:b._status=0;a=b._ctor;a=a();a.then(function(a){0===b._status&&(a=a.default,b._status=1,b._result=a)},function(a){0===b._status&&(b._status=2,b._result=a)});switch(b._status){case 1:return b._result;case 2:throw b._result;}b._result=a;throw a;}}var Kb={current:null},Lb=null,Nb=null,Ob=null;function Pb(){Ob=Nb=Lb=null}
36function Qb(b,a){var c=b.type._context;B(Kb,c._currentValue2,b);c._currentValue2=a}function Rb(b){var a=Kb.current;A(Kb,b);b.type._context._currentValue2=a}function Sb(b,a){for(;null!==b;){var c=b.alternate;if(b.childExpirationTime<a)b.childExpirationTime=a,null!==c&&c.childExpirationTime<a&&(c.childExpirationTime=a);else if(null!==c&&c.childExpirationTime<a)c.childExpirationTime=a;else break;b=b.return}}
37function Tb(b,a){Lb=b;Ob=Nb=null;b=b.dependencies;null!==b&&null!==b.firstContext&&(b.expirationTime>=a&&(Ub=!0),b.firstContext=null)}function H(b,a){if(Ob!==b&&!1!==a&&0!==a){if("number"!==typeof a||1073741823===a)Ob=b,a=1073741823;a={context:b,observedBits:a,next:null};if(null===Nb){if(null===Lb)throw p(Error(308));Nb=a;Lb.dependencies={expirationTime:0,firstContext:a,responders:null}}else Nb=Nb.next=a}return b._currentValue2}var Vb=!1;
38function Wb(b){return{baseState:b,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xb(b){return{baseState:b.baseState,firstUpdate:b.firstUpdate,lastUpdate:b.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}
39function Yb(b,a){return{expirationTime:b,suspenseConfig:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Zb(b,a){null===b.lastUpdate?b.firstUpdate=b.lastUpdate=a:(b.lastUpdate.next=a,b.lastUpdate=a)}
40function $b(b,a){var c=b.alternate;if(null===c){var d=b.updateQueue;var e=null;null===d&&(d=b.updateQueue=Wb(b.memoizedState))}else d=b.updateQueue,e=c.updateQueue,null===d?null===e?(d=b.updateQueue=Wb(b.memoizedState),e=c.updateQueue=Wb(c.memoizedState)):d=b.updateQueue=Xb(e):null===e&&(e=c.updateQueue=Xb(d));null===e||d===e?Zb(d,a):null===d.lastUpdate||null===e.lastUpdate?(Zb(d,a),Zb(e,a)):(Zb(d,a),e.lastUpdate=a)}
41function ac(b,a){var c=b.updateQueue;c=null===c?b.updateQueue=Wb(b.memoizedState):bc(b,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=a:(c.lastCapturedUpdate.next=a,c.lastCapturedUpdate=a)}function bc(b,a){var c=b.alternate;null!==c&&a===c.updateQueue&&(a=b.updateQueue=Xb(a));return a}
42function cc(b,a,c,d,e,f){switch(c.tag){case 1:return b=c.payload,"function"===typeof b?b.call(f,d,e):b;case 3:b.effectTag=b.effectTag&-2049|64;case 0:b=c.payload;e="function"===typeof b?b.call(f,d,e):b;if(null===e||void 0===e)break;return aa({},d,e);case 2:Vb=!0}return d}
43function dc(b,a,c,d,e){Vb=!1;a=bc(b,a);for(var f=a.baseState,g=null,h=0,k=a.firstUpdate,l=f;null!==k;){var m=k.expirationTime;m<e?(null===g&&(g=k,f=l),h<m&&(h=m)):(ec(m,k.suspenseConfig),l=cc(b,a,k,l,c,d),null!==k.callback&&(b.effectTag|=32,k.nextEffect=null,null===a.lastEffect?a.firstEffect=a.lastEffect=k:(a.lastEffect.nextEffect=k,a.lastEffect=k)));k=k.next}m=null;for(k=a.firstCapturedUpdate;null!==k;){var x=k.expirationTime;x<e?(null===m&&(m=k,null===g&&(f=l)),h<x&&(h=x)):(l=cc(b,a,k,l,c,d),null!==
44k.callback&&(b.effectTag|=32,k.nextEffect=null,null===a.lastCapturedEffect?a.firstCapturedEffect=a.lastCapturedEffect=k:(a.lastCapturedEffect.nextEffect=k,a.lastCapturedEffect=k)));k=k.next}null===g&&(a.lastUpdate=null);null===m?a.lastCapturedUpdate=null:b.effectTag|=32;null===g&&null===m&&(f=l);a.baseState=f;a.firstUpdate=g;a.firstCapturedUpdate=m;b.expirationTime=h;b.memoizedState=l}
45function fc(b,a,c){null!==a.firstCapturedUpdate&&(null!==a.lastUpdate&&(a.lastUpdate.next=a.firstCapturedUpdate,a.lastUpdate=a.lastCapturedUpdate),a.firstCapturedUpdate=a.lastCapturedUpdate=null);gc(a.firstEffect,c);a.firstEffect=a.lastEffect=null;gc(a.firstCapturedEffect,c);a.firstCapturedEffect=a.lastCapturedEffect=null}function gc(b,a){for(;null!==b;){var c=b.callback;if(null!==c){b.callback=null;var d=a;if("function"!==typeof c)throw p(Error(191),c);c.call(d)}b=b.nextEffect}}
46var hc=u.ReactCurrentBatchConfig,ic=(new ba.Component).refs;function jc(b,a,c,d){a=b.memoizedState;c=c(d,a);c=null===c||void 0===c?a:aa({},a,c);b.memoizedState=c;d=b.updateQueue;null!==d&&0===b.expirationTime&&(d.baseState=c)}
47var nc={isMounted:function(b){return(b=b._reactInternalFiber)?2===xa(b):!1},enqueueSetState:function(b,a,c){b=b._reactInternalFiber;var d=kc(),e=hc.suspense;d=lc(d,b,e);e=Yb(d,e);e.payload=a;void 0!==c&&null!==c&&(e.callback=c);$b(b,e);mc(b,d)},enqueueReplaceState:function(b,a,c){b=b._reactInternalFiber;var d=kc(),e=hc.suspense;d=lc(d,b,e);e=Yb(d,e);e.tag=1;e.payload=a;void 0!==c&&null!==c&&(e.callback=c);$b(b,e);mc(b,d)},enqueueForceUpdate:function(b,a){b=b._reactInternalFiber;var c=kc(),d=hc.suspense;
48c=lc(c,b,d);d=Yb(c,d);d.tag=2;void 0!==a&&null!==a&&(d.callback=a);$b(b,d);mc(b,c)}};function oc(b,a,c,d,e,f,g){b=b.stateNode;return"function"===typeof b.shouldComponentUpdate?b.shouldComponentUpdate(d,f,g):a.prototype&&a.prototype.isPureReactComponent?!Ib(c,d)||!Ib(e,f):!0}
49function pc(b,a,c){var d=!1,e=Ya;var f=a.contextType;"object"===typeof f&&null!==f?f=H(f):(e=E(a)?Za:C.current,d=a.contextTypes,f=(d=null!==d&&void 0!==d)?$a(b,e):Ya);a=new a(c,f);b.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;a.updater=nc;b.stateNode=a;a._reactInternalFiber=b;d&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=e,b.__reactInternalMemoizedMaskedChildContext=f);return a}
50function qc(b,a,c,d){b=a.state;"function"===typeof a.componentWillReceiveProps&&a.componentWillReceiveProps(c,d);"function"===typeof a.UNSAFE_componentWillReceiveProps&&a.UNSAFE_componentWillReceiveProps(c,d);a.state!==b&&nc.enqueueReplaceState(a,a.state,null)}
51function rc(b,a,c,d){var e=b.stateNode;e.props=c;e.state=b.memoizedState;e.refs=ic;var f=a.contextType;"object"===typeof f&&null!==f?e.context=H(f):(f=E(a)?Za:C.current,e.context=$a(b,f));f=b.updateQueue;null!==f&&(dc(b,f,c,e,d),e.state=b.memoizedState);f=a.getDerivedStateFromProps;"function"===typeof f&&(jc(b,a,f,c),e.state=b.memoizedState);"function"===typeof a.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==
52typeof e.componentWillMount||(a=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),a!==e.state&&nc.enqueueReplaceState(e,e.state,null),f=b.updateQueue,null!==f&&(dc(b,f,c,e,d),e.state=b.memoizedState));"function"===typeof e.componentDidMount&&(b.effectTag|=4)}var sc=Array.isArray;
53function tc(b,a,c){b=c.ref;if(null!==b&&"function"!==typeof b&&"object"!==typeof b){if(c._owner){c=c._owner;var d=void 0;if(c){if(1!==c.tag)throw p(Error(309));d=c.stateNode}if(!d)throw p(Error(147),b);var e=""+b;if(null!==a&&null!==a.ref&&"function"===typeof a.ref&&a.ref._stringRef===e)return a.ref;a=function(a){var b=d.refs;b===ic&&(b=d.refs={});null===a?delete b[e]:b[e]=a};a._stringRef=e;return a}if("string"!==typeof b)throw p(Error(284));if(!c._owner)throw p(Error(290),b);}return b}
54function uc(b,a){if("textarea"!==b.type)throw p(Error(31),"[object Object]"===Object.prototype.toString.call(a)?"object with keys {"+Object.keys(a).join(", ")+"}":a,"");}
55function vc(b){function a(a,c){if(b){var d=a.lastEffect;null!==d?(d.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!b)return null;for(;null!==d;)a(c,d),d=d.sibling;return null}function d(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,c){a=xc(a,b,c);a.index=0;a.sibling=null;return a}function f(a,c,d){a.index=d;if(!b)return c;d=a.alternate;if(null!==d)return d=d.index,d<c?(a.effectTag=
562,c):d;a.effectTag=2;return c}function g(a){b&&null===a.alternate&&(a.effectTag=2);return a}function h(a,b,c,d){if(null===b||6!==b.tag)return b=yc(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props,d),d.ref=tc(a,b,c),d.return=a,d;d=zc(c.type,c.key,c.props,null,a.mode,d);d.ref=tc(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==
57c.implementation)return b=Ac(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Bc(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function x(a,b,c){if("string"===typeof b||"number"===typeof b)return b=yc(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case fa:return c=zc(b.type,b.key,b.props,null,a.mode,c),c.ref=tc(a,null,b),c.return=a,c;case ha:return b=Ac(b,a.mode,c),b.return=a,b}if(sc(b)||
58va(b))return b=Bc(b,a.mode,c,null),b.return=a,b;uc(a,b)}return null}function w(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case fa:return c.key===e?c.type===ia?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case ha:return c.key===e?l(a,b,c,d):null}if(sc(c)||va(c))return null!==e?null:m(a,b,c,d,null);uc(a,c)}return null}function t(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=
59a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case fa:return a=a.get(null===d.key?c:d.key)||null,d.type===ia?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case ha:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(sc(d)||va(d))return a=a.get(c)||null,m(b,a,d,e,null);uc(b,d)}return null}function M(e,g,h,k){for(var l=null,y=null,q=g,v=g=0,m=null;null!==q&&v<h.length;v++){q.index>v?(m=q,q=null):m=q.sibling;var r=w(e,q,h[v],k);if(null===r){null===q&&(q=m);break}b&&
60q&&null===r.alternate&&a(e,q);g=f(r,g,v);null===y?l=r:y.sibling=r;y=r;q=m}if(v===h.length)return c(e,q),l;if(null===q){for(;v<h.length;v++)q=x(e,h[v],k),null!==q&&(g=f(q,g,v),null===y?l=q:y.sibling=q,y=q);return l}for(q=d(e,q);v<h.length;v++)m=t(q,e,v,h[v],k),null!==m&&(b&&null!==m.alternate&&q.delete(null===m.key?v:m.key),g=f(m,g,v),null===y?l=m:y.sibling=m,y=m);b&&q.forEach(function(b){return a(e,b)});return l}function N(e,g,h,k){var l=va(h);if("function"!==typeof l)throw p(Error(150));h=l.call(h);
61if(null==h)throw p(Error(151));for(var q=l=null,m=g,v=g=0,y=null,r=h.next();null!==m&&!r.done;v++,r=h.next()){m.index>v?(y=m,m=null):y=m.sibling;var qa=w(e,m,r.value,k);if(null===qa){null===m&&(m=y);break}b&&m&&null===qa.alternate&&a(e,m);g=f(qa,g,v);null===q?l=qa:q.sibling=qa;q=qa;m=y}if(r.done)return c(e,m),l;if(null===m){for(;!r.done;v++,r=h.next())r=x(e,r.value,k),null!==r&&(g=f(r,g,v),null===q?l=r:q.sibling=r,q=r);return l}for(m=d(e,m);!r.done;v++,r=h.next())r=t(m,e,v,r.value,k),null!==r&&(b&&
62null!==r.alternate&&m.delete(null===r.key?v:r.key),g=f(r,g,v),null===q?l=r:q.sibling=r,q=r);b&&m.forEach(function(b){return a(e,b)});return l}return function(b,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ia&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case fa:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){if(7===k.tag?f.type===ia:k.elementType===f.type){c(b,k.sibling);d=e(k,f.type===ia?f.props.children:f.props,h);d.ref=tc(b,k,f);d.return=
63b;b=d;break a}c(b,k);break}else a(b,k);k=k.sibling}f.type===ia?(d=Bc(f.props.children,b.mode,h,f.key),d.return=b,b=d):(h=zc(f.type,f.key,f.props,null,b.mode,h),h.ref=tc(b,d,f),h.return=b,b=h)}return g(b);case ha:a:{for(k=f.key;null!==d;){if(d.key===k){if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(b,d.sibling);d=e(d,f.children||[],h);d.return=b;b=d;break a}c(b,d);break}else a(b,d);d=d.sibling}d=Ac(f,b.mode,h);d.return=b;b=d}return g(b)}if("string"===
64typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(b,d.sibling),d=e(d,f,h),d.return=b,b=d):(c(b,d),d=yc(f,b.mode,h),d.return=b,b=d),g(b);if(sc(f))return M(b,d,f,h);if(va(f))return N(b,d,f,h);l&&uc(b,f);if("undefined"===typeof f&&!k)switch(b.tag){case 1:case 0:throw b=b.type,p(Error(152),b.displayName||b.name||"Component");}return c(b,d)}}var Cc=vc(!0),Dc=vc(!1),Ec={},I={current:Ec},Fc={current:Ec},Gc={current:Ec};function Hc(b){if(b===Ec)throw p(Error(174));return b}
65function Ic(b,a){B(Gc,a,b);B(Fc,b,b);B(I,Ec,b);A(I,b);B(I,Ga,b)}function Jc(b){A(I,b);A(Fc,b);A(Gc,b)}function Kc(b){Hc(Gc.current);Hc(I.current)!==Ga&&(B(Fc,b,b),B(I,Ga,b))}function Lc(b){Fc.current===b&&(A(I,b),A(Fc,b))}var Mc=1,Nc=1,Oc=2,J={current:0};
66function Pc(b){for(var a=b;null!==a;){if(13===a.tag){if(null!==a.memoizedState)return a}else if(19===a.tag&&void 0!==a.memoizedProps.revealOrder){if(0!==(a.effectTag&64))return a}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break;for(;null===a.sibling;){if(null===a.return||a.return===b)return null;a=a.return}a.sibling.return=a.return;a=a.sibling}return null}function Qc(b,a){return{responder:b,props:a}}
67var Rc=0,Sc=2,Tc=4,Uc=8,Vc=16,Wc=32,Xc=64,Yc=128,Zc=u.ReactCurrentDispatcher,$c=0,ad=null,K=null,L=null,bd=null,O=null,cd=null,dd=0,P=null,ed=0,fd=!1,gd=null,hd=0;function Q(){throw p(Error(321));}function id(b,a){if(null===a)return!1;for(var c=0;c<a.length&&c<b.length;c++)if(!Gb(b[c],a[c]))return!1;return!0}
68function jd(b,a,c,d,e,f){$c=f;ad=a;L=null!==b?b.memoizedState:null;Zc.current=null===L?kd:ld;a=c(d,e);if(fd){do fd=!1,hd+=1,L=null!==b?b.memoizedState:null,cd=bd,P=O=K=null,Zc.current=ld,a=c(d,e);while(fd);gd=null;hd=0}Zc.current=md;b=ad;b.memoizedState=bd;b.expirationTime=dd;b.updateQueue=P;b.effectTag|=ed;b=null!==K&&null!==K.next;$c=0;cd=O=bd=L=K=ad=null;dd=0;P=null;ed=0;if(b)throw p(Error(300));return a}function nd(){Zc.current=md;$c=0;cd=O=bd=L=K=ad=null;dd=0;P=null;ed=0;fd=!1;gd=null;hd=0}
69function od(){var b={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};null===O?bd=O=b:O=O.next=b;return O}function pd(){if(null!==cd)O=cd,cd=O.next,K=L,L=null!==K?K.next:null;else{if(null===L)throw p(Error(310));K=L;var b={memoizedState:K.memoizedState,baseState:K.baseState,queue:K.queue,baseUpdate:K.baseUpdate,next:null};O=null===O?bd=b:O.next=b;L=K.next}return O}function qd(b,a){return"function"===typeof a?a(b):a}
70function rd(b){var a=pd(),c=a.queue;if(null===c)throw p(Error(311));c.lastRenderedReducer=b;if(0<hd){var d=c.dispatch;if(null!==gd){var e=gd.get(c);if(void 0!==e){gd.delete(c);var f=a.memoizedState;do f=b(f,e.action),e=e.next;while(null!==e);Gb(f,a.memoizedState)||(Ub=!0);a.memoizedState=f;a.baseUpdate===c.last&&(a.baseState=f);c.lastRenderedState=f;return[f,d]}}return[a.memoizedState,d]}d=c.last;var g=a.baseUpdate;f=a.baseState;null!==g?(null!==d&&(d.next=null),d=g.next):d=null!==d?d.next:null;if(null!==
71d){var h=e=null,k=d,l=!1;do{var m=k.expirationTime;m<$c?(l||(l=!0,h=g,e=f),m>dd&&(dd=m)):(ec(m,k.suspenseConfig),f=k.eagerReducer===b?k.eagerState:b(f,k.action));g=k;k=k.next}while(null!==k&&k!==d);l||(h=g,e=f);Gb(f,a.memoizedState)||(Ub=!0);a.memoizedState=f;a.baseUpdate=h;a.baseState=e;c.lastRenderedState=f}return[a.memoizedState,c.dispatch]}
72function sd(b,a,c,d){b={tag:b,create:a,destroy:c,deps:d,next:null};null===P?(P={lastEffect:null},P.lastEffect=b.next=b):(a=P.lastEffect,null===a?P.lastEffect=b.next=b:(c=a.next,a.next=b,b.next=c,P.lastEffect=b));return b}function td(b,a,c,d){var e=od();ed|=b;e.memoizedState=sd(a,c,void 0,void 0===d?null:d)}
73function ud(b,a,c,d){var e=pd();d=void 0===d?null:d;var f=void 0;if(null!==K){var g=K.memoizedState;f=g.destroy;if(null!==d&&id(d,g.deps)){sd(Rc,c,f,d);return}}ed|=b;e.memoizedState=sd(a,c,f,d)}function vd(b,a){if("function"===typeof a)return b=b(),a(b),function(){a(null)};if(null!==a&&void 0!==a)return b=b(),a.current=b,function(){a.current=null}}function wd(){}
74function xd(b,a,c){if(!(25>hd))throw p(Error(301));var d=b.alternate;if(b===ad||null!==d&&d===ad)if(fd=!0,b={expirationTime:$c,suspenseConfig:null,action:c,eagerReducer:null,eagerState:null,next:null},null===gd&&(gd=new Map),c=gd.get(a),void 0===c)gd.set(a,b);else{for(a=c;null!==a.next;)a=a.next;a.next=b}else{var e=kc(),f=hc.suspense;e=lc(e,b,f);f={expirationTime:e,suspenseConfig:f,action:c,eagerReducer:null,eagerState:null,next:null};var g=a.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&
75(f.next=h);g.next=f}a.last=f;if(0===b.expirationTime&&(null===d||0===d.expirationTime)&&(d=a.lastRenderedReducer,null!==d))try{var k=a.lastRenderedState,l=d(k,c);f.eagerReducer=d;f.eagerState=l;if(Gb(l,k))return}catch(m){}finally{}mc(b,e)}}
76var md={readContext:H,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q},kd={readContext:H,useCallback:function(b,a){od().memoizedState=[b,void 0===a?null:a];return b},useContext:H,useEffect:function(b,a){return td(516,Yc|Xc,b,a)},useImperativeHandle:function(b,a,c){c=null!==c&&void 0!==c?c.concat([b]):null;return td(4,Tc|Wc,vd.bind(null,a,b),c)},useLayoutEffect:function(b,a){return td(4,Tc|Wc,b,
77a)},useMemo:function(b,a){var c=od();a=void 0===a?null:a;b=b();c.memoizedState=[b,a];return b},useReducer:function(b,a,c){var d=od();a=void 0!==c?c(a):a;d.memoizedState=d.baseState=a;b=d.queue={last:null,dispatch:null,lastRenderedReducer:b,lastRenderedState:a};b=b.dispatch=xd.bind(null,ad,b);return[d.memoizedState,b]},useRef:function(b){var a=od();b={current:b};return a.memoizedState=b},useState:function(b){var a=od();"function"===typeof b&&(b=b());a.memoizedState=a.baseState=b;b=a.queue={last:null,
78dispatch:null,lastRenderedReducer:qd,lastRenderedState:b};b=b.dispatch=xd.bind(null,ad,b);return[a.memoizedState,b]},useDebugValue:wd,useResponder:Qc},ld={readContext:H,useCallback:function(b,a){var c=pd();a=void 0===a?null:a;var d=c.memoizedState;if(null!==d&&null!==a&&id(a,d[1]))return d[0];c.memoizedState=[b,a];return b},useContext:H,useEffect:function(b,a){return ud(516,Yc|Xc,b,a)},useImperativeHandle:function(b,a,c){c=null!==c&&void 0!==c?c.concat([b]):null;return ud(4,Tc|Wc,vd.bind(null,a,b),
79c)},useLayoutEffect:function(b,a){return ud(4,Tc|Wc,b,a)},useMemo:function(b,a){var c=pd();a=void 0===a?null:a;var d=c.memoizedState;if(null!==d&&null!==a&&id(a,d[1]))return d[0];b=b();c.memoizedState=[b,a];return b},useReducer:rd,useRef:function(){return pd().memoizedState},useState:function(b){return rd(qd,b)},useDebugValue:wd,useResponder:Qc},yd=null,zd=null,Ad=!1;
80function Bd(b,a){switch(b.tag){case 5:return a=Ea(a,b.type,b.pendingProps),null!==a?(b.stateNode=a,!0):!1;case 6:return a=Ea(a,b.pendingProps),null!==a?(b.stateNode=a,!0):!1;case 13:return!1;default:return!1}}
81function Cd(b){if(Ad){var a=zd;if(a){var c=a;if(!Bd(b,a)){a=Ea(c);if(!a||!Bd(b,a)){b.effectTag|=2;Ad=!1;yd=b;return}var d=yd,e=R(5,null,null,0);e.elementType="DELETED";e.type="DELETED";e.stateNode=c;e.return=d;e.effectTag=8;null!==d.lastEffect?(d.lastEffect.nextEffect=e,d.lastEffect=e):d.firstEffect=d.lastEffect=e}yd=b;zd=Ea(a)}else b.effectTag|=2,Ad=!1,yd=b}}var Dd=u.ReactCurrentOwner,Ub=!1;function S(b,a,c,d){a.child=null===b?Dc(a,null,c,d):Cc(a,b.child,c,d)}
82function Ed(b,a,c,d,e){c=c.render;var f=a.ref;Tb(a,e);d=jd(b,a,c,d,f,e);if(null!==b&&!Ub)return a.updateQueue=b.updateQueue,a.effectTag&=-517,b.expirationTime<=e&&(b.expirationTime=0),Fd(b,a,e);a.effectTag|=1;S(b,a,d,e);return a.child}
83function Gd(b,a,c,d,e,f){if(null===b){var g=c.type;if("function"===typeof g&&!Hd(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return a.tag=15,a.type=g,Id(b,a,g,d,e,f);b=zc(c.type,null,d,null,a.mode,f);b.ref=a.ref;b.return=a;return a.child=b}g=b.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Ib,c(e,d)&&b.ref===a.ref))return Fd(b,a,f);a.effectTag|=1;b=xc(g,d,f);b.ref=a.ref;b.return=a;return a.child=b}
84function Id(b,a,c,d,e,f){return null!==b&&Ib(b.memoizedProps,d)&&b.ref===a.ref&&(Ub=!1,e<f)?Fd(b,a,f):Jd(b,a,c,d,f)}function Kd(b,a){var c=a.ref;if(null===b&&null!==c||null!==b&&b.ref!==c)a.effectTag|=128}function Jd(b,a,c,d,e){var f=E(c)?Za:C.current;f=$a(a,f);Tb(a,e);c=jd(b,a,c,d,f,e);if(null!==b&&!Ub)return a.updateQueue=b.updateQueue,a.effectTag&=-517,b.expirationTime<=e&&(b.expirationTime=0),Fd(b,a,e);a.effectTag|=1;S(b,a,c,e);return a.child}
85function Ld(b,a,c,d,e){if(E(c)){var f=!0;eb(a)}else f=!1;Tb(a,e);if(null===a.stateNode)null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2),pc(a,c,d,e),rc(a,c,d,e),d=!0;else if(null===b){var g=a.stateNode,h=a.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=H(l):(l=E(c)?Za:C.current,l=$a(a,l));var m=c.getDerivedStateFromProps,x="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
86"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&qc(a,g,d,l);Vb=!1;var w=a.memoizedState;k=g.state=w;var t=a.updateQueue;null!==t&&(dc(a,t,d,g,e),k=a.memoizedState);h!==d||w!==k||D.current||Vb?("function"===typeof m&&(jc(a,c,m,d),k=a.memoizedState),(h=Vb||oc(a,c,h,d,w,k,l))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&
87g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(a.effectTag|=4)):("function"===typeof g.componentDidMount&&(a.effectTag|=4),a.memoizedProps=d,a.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(a.effectTag|=4),d=!1)}else g=a.stateNode,h=a.memoizedProps,g.props=a.type===a.elementType?h:G(a.type,h),k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l=H(l):(l=E(c)?Za:C.current,l=$a(a,l)),m=c.getDerivedStateFromProps,(x="function"===
88typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&qc(a,g,d,l),Vb=!1,k=a.memoizedState,w=g.state=k,t=a.updateQueue,null!==t&&(dc(a,t,d,g,e),w=a.memoizedState),h!==d||k!==w||D.current||Vb?("function"===typeof m&&(jc(a,c,m,d),w=a.memoizedState),(m=Vb||oc(a,c,h,d,k,w,l))?(x||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===
89typeof g.componentWillUpdate&&g.componentWillUpdate(d,w,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,w,l)),"function"===typeof g.componentDidUpdate&&(a.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(a.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===b.memoizedProps&&k===b.memoizedState||(a.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===b.memoizedProps&&k===b.memoizedState||(a.effectTag|=256),a.memoizedProps=d,a.memoizedState=
90w),g.props=d,g.state=w,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===b.memoizedProps&&k===b.memoizedState||(a.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===b.memoizedProps&&k===b.memoizedState||(a.effectTag|=256),d=!1);return Md(b,a,c,d,f,e)}
91function Md(b,a,c,d,e,f){Kd(b,a);var g=0!==(a.effectTag&64);if(!d&&!g)return e&&fb(a,c,!1),Fd(b,a,f);d=a.stateNode;Dd.current=a;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();a.effectTag|=1;null!==b&&g?(a.child=Cc(a,b.child,null,f),a.child=Cc(a,null,h,f)):S(b,a,h,f);a.memoizedState=d.state;e&&fb(a,c,!0);return a.child}function Nd(b){var a=b.stateNode;a.pendingContext?cb(b,a.pendingContext,a.pendingContext!==a.context):a.context&&cb(b,a.context,!1);Ic(b,a.containerInfo)}
92var Rd={};
93function Sd(b,a,c){var d=a.mode,e=a.pendingProps,f=J.current,g=null,h=!1,k;(k=0!==(a.effectTag&64))||(k=0!==(f&Oc)&&(null===b||null!==b.memoizedState));k?(g=Rd,h=!0,a.effectTag&=-65):null!==b&&null===b.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=Nc);f&=Mc;B(J,f,a);if(null===b)if(h){e=e.fallback;b=Bc(null,d,0,null);b.return=a;if(0===(a.mode&2))for(h=null!==a.memoizedState?a.child.child:a.child,b.child=h;null!==h;)h.return=b,h=h.sibling;c=Bc(e,d,c,null);c.return=a;b.sibling=
94c;d=b}else d=c=Dc(a,null,e.children,c);else{if(null!==b.memoizedState)if(f=b.child,d=f.sibling,h){e=e.fallback;c=xc(f,f.pendingProps,0);c.return=a;if(0===(a.mode&2)&&(h=null!==a.memoizedState?a.child.child:a.child,h!==f.child))for(c.child=h;null!==h;)h.return=c,h=h.sibling;e=xc(d,e,d.expirationTime);e.return=a;c.sibling=e;d=c;c.childExpirationTime=0;c=e}else d=c=Cc(a,f.child,e.children,c);else if(f=b.child,h){h=e.fallback;e=Bc(null,d,0,null);e.return=a;e.child=f;null!==f&&(f.return=e);if(0===(a.mode&
952))for(f=null!==a.memoizedState?a.child.child:a.child,e.child=f;null!==f;)f.return=e,f=f.sibling;c=Bc(h,d,c,null);c.return=a;e.sibling=c;c.effectTag|=2;d=e;e.childExpirationTime=0}else c=d=Cc(a,f,e.children,c);a.stateNode=b.stateNode}a.memoizedState=g;a.child=d;return c}function Td(b,a,c,d,e){var f=b.memoizedState;null===f?b.memoizedState={isBackwards:a,rendering:null,last:d,tail:c,tailExpiration:0,tailMode:e}:(f.isBackwards=a,f.rendering=null,f.last=d,f.tail=c,f.tailExpiration=0,f.tailMode=e)}
96function Ud(b,a,c){var d=a.pendingProps,e=d.revealOrder,f=d.tail;S(b,a,d.children,c);d=J.current;if(0!==(d&Oc))d=d&Mc|Oc,a.effectTag|=64;else{if(null!==b&&0!==(b.effectTag&64))a:for(b=a.child;null!==b;){if(13===b.tag){if(null!==b.memoizedState){b.expirationTime<c&&(b.expirationTime=c);var g=b.alternate;null!==g&&g.expirationTime<c&&(g.expirationTime=c);Sb(b.return,c)}}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===
97a)break a;b=b.return}b.sibling.return=b.return;b=b.sibling}d&=Mc}B(J,d,a);if(0===(a.mode&2))a.memoizedState=null;else switch(e){case "forwards":c=a.child;for(e=null;null!==c;)d=c.alternate,null!==d&&null===Pc(d)&&(e=c),c=c.sibling;c=e;null===c?(e=a.child,a.child=null):(e=c.sibling,c.sibling=null);Td(a,!1,e,c,f);break;case "backwards":c=null;e=a.child;for(a.child=null;null!==e;){d=e.alternate;if(null!==d&&null===Pc(d)){a.child=e;break}d=e.sibling;e.sibling=c;c=e;e=d}Td(a,!0,c,null,f);break;case "together":Td(a,
98!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Fd(b,a,c){null!==b&&(a.dependencies=b.dependencies);if(a.childExpirationTime<c)return null;if(null!==b&&a.child!==b.child)throw p(Error(153));if(null!==a.child){b=a.child;c=xc(b,b.pendingProps,b.expirationTime);a.child=c;for(c.return=a;null!==b.sibling;)b=b.sibling,c=c.sibling=xc(b,b.pendingProps,b.expirationTime),c.return=a;c.sibling=null}return a.child}var Vd=void 0,Wd=void 0,Xd=void 0,Yd=void 0;
99Vd=function(b,a){for(var c=a.child;null!==c;){if(5===c.tag||6===c.tag)Qa(b,c.stateNode);else if(20===c.tag)Qa(b,c.stateNode.instance);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===a)break;for(;null===c.sibling;){if(null===c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Wd=function(){};Xd=function(b,a,c,d){b.memoizedProps!==d&&(Hc(I.current),a.updateQueue=Ha)&&(a.effectTag|=4)};Yd=function(b,a,c,d){c!==d&&(a.effectTag|=4)};
100function Zd(b,a){switch(b.tailMode){case "hidden":a=b.tail;for(var c=null;null!==a;)null!==a.alternate&&(c=a),a=a.sibling;null===c?b.tail=null:c.sibling=null;break;case "collapsed":c=b.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?a||null===b.tail?b.tail=null:b.tail.sibling=null:d.sibling=null}}
101function $d(b){switch(b.tag){case 1:E(b.type)&&ab(b);var a=b.effectTag;return a&2048?(b.effectTag=a&-2049|64,b):null;case 3:Jc(b);bb(b);a=b.effectTag;if(0!==(a&64))throw p(Error(285));b.effectTag=a&-2049|64;return b;case 5:return Lc(b),null;case 13:return A(J,b),a=b.effectTag,a&2048?(b.effectTag=a&-2049|64,b):null;case 18:return null;case 19:return A(J,b),null;case 4:return Jc(b),null;case 10:return Rb(b),null;default:return null}}function ae(b,a){return{value:b,source:a,stack:Va(a)}}
102var be="function"===typeof WeakSet?WeakSet:Set;function ce(b,a){var c=a.source,d=a.stack;null===d&&null!==c&&(d=Va(c));null!==c&&wa(c.type);a=a.value;null!==b&&1===b.tag&&wa(b.type);try{console.error(a)}catch(e){setTimeout(function(){throw e;})}}function de(b,a){try{a.props=b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(c){ee(b,c)}}function fe(b){var a=b.ref;if(null!==a)if("function"===typeof a)try{a(null)}catch(c){ee(b,c)}else a.current=null}
103function ge(b,a,c){c=c.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if((d.tag&b)!==Rc){var e=d.destroy;d.destroy=void 0;void 0!==e&&e()}(d.tag&a)!==Rc&&(e=d.create,d.destroy=e());d=d.next}while(d!==c)}}
104function he(b,a){"function"===typeof ie&&ie(b);switch(b.tag){case 0:case 11:case 14:case 15:var c=b.updateQueue;if(null!==c&&(c=c.lastEffect,null!==c)){var d=c.next;Ab(97<a?97:a,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){ee(g,h)}}a=a.next}while(a!==d)})}break;case 1:fe(b);a=b.stateNode;"function"===typeof a.componentWillUnmount&&de(b,a);break;case 5:fe(b);break;case 4:je(b,a)}}
105function ke(b,a){for(var c=b;;)if(he(c,a),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}}function le(b){return 5===b.tag||3===b.tag||4===b.tag}
106function me(b){a:{for(var a=b.return;null!==a;){if(le(a)){var c=a;break a}a=a.return}throw p(Error(160));}a=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:a=a.containerInfo;d=!0;break;case 4:a=a.containerInfo;d=!0;break;default:throw p(Error(161));}c.effectTag&16&&(c.effectTag&=-17);a:b:for(c=b;;){for(;null===c.sibling;){if(null===c.return||le(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;if(null===
107c.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;;){var f=5===e.tag||6===e.tag;if(f||20===e.tag)if(f=f?e.stateNode:e.stateNode.instance,c)if(d){var g=c;if(f===g)throw p(Error(218));f.injectBefore(g)}else{g=c;if(f===g)throw p(Error(218));f.injectBefore(g)}else g=a,f.parentNode===g&&f.eject(),f.inject(g);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||
108e.return===b)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}
109function je(b,a){for(var c=b,d=!1,e=void 0;;){if(!d){d=c.return;a:for(;;){if(null===d)throw p(Error(160));switch(d.tag){case 5:e=!1;break a;case 3:e=!0;break a;case 4:e=!0;break a}d=d.return}d=!0}if(5===c.tag||6===c.tag)if(ke(c,a),e){var f=c.stateNode;Ja(f);f.eject()}else f=c.stateNode,Ja(f),f.eject();else if(20===c.tag)f=c.stateNode.instance,ke(c,a),Ja(f),f.eject();else if(4===c.tag){if(null!==c.child){e=!0;c.child.return=c;c=c.child;continue}}else if(he(c,a),null!==c.child){c.child.return=c;c=c.child;
110continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;4===c.tag&&(d=!1)}c.sibling.return=c.return;c=c.sibling}}
111function ne(b,a){switch(a.tag){case 0:case 11:case 14:case 15:ge(Tc,Uc,a);break;case 1:break;case 5:var c=a.stateNode;if(null!=c){var d=a.memoizedProps;b=null!==b?b.memoizedProps:d;var e=a.updateQueue;a.updateQueue=null;null!==e&&c._applyProps(c,d,b)}break;case 6:if(null===a.stateNode)throw p(Error(162));break;case 3:break;case 12:break;case 13:c=a;null===a.memoizedState?d=!1:(d=!0,c=a.child,oe=F());if(null!==c)a:for(b=c;;){if(5===b.tag)e=b.stateNode,d?e.hide():(e=b.memoizedProps,(null==e.visible||
112e.visible)&&b.stateNode.show());else if(6!==b.tag)if(13===b.tag&&null!==b.memoizedState){e=b.child.sibling;e.return=b;b=e;continue}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===c)break a;for(;null===b.sibling;){if(null===b.return||b.return===c)break a;b=b.return}b.sibling.return=b.return;b=b.sibling}pe(a);break;case 19:pe(a);break;case 17:break;case 20:break;default:throw p(Error(163));}}
113function pe(b){var a=b.updateQueue;if(null!==a){b.updateQueue=null;var c=b.stateNode;null===c&&(c=b.stateNode=new be);a.forEach(function(a){var d=qe.bind(null,b,a);c.has(a)||(c.add(a),a.then(d,d))})}}var re="function"===typeof WeakMap?WeakMap:Map;function se(b,a,c){c=Yb(c,null);c.tag=3;c.payload={element:null};var d=a.value;c.callback=function(){te||(te=!0,ue=d);ce(b,a)};return c}
114function ve(b,a,c){c=Yb(c,null);c.tag=3;var d=b.type.getDerivedStateFromError;if("function"===typeof d){var e=a.value;c.payload=function(){ce(b,a);return d(e)}}var f=b.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===we?we=new Set([this]):we.add(this),ce(b,a));var c=a.stack;this.componentDidCatch(a.value,{componentStack:null!==c?c:""})});return c}
115var xe=Math.ceil,ye=u.ReactCurrentDispatcher,ze=u.ReactCurrentOwner,T=0,Ae=8,Be=16,Ce=32,De=0,Ee=1,Fe=2,Ge=3,He=4,U=T,Ie=null,V=null,W=0,X=De,Je=1073741823,Ke=1073741823,Le=null,Me=!1,oe=0,Ne=500,Y=null,te=!1,ue=null,we=null,Oe=!1,Pe=null,Qe=90,Re=0,Se=null,Te=0,Ue=null,Ve=0;function kc(){return(U&(Be|Ce))!==T?1073741821-(F()/10|0):0!==Ve?Ve:Ve=1073741821-(F()/10|0)}
116function lc(b,a,c){a=a.mode;if(0===(a&2))return 1073741823;var d=yb();if(0===(a&4))return 99===d?1073741823:1073741822;if((U&Be)!==T)return W;if(null!==c)b=1073741821-25*(((1073741821-b+(c.timeoutMs|0||5E3)/10)/25|0)+1);else switch(d){case 99:b=1073741823;break;case 98:b=1073741821-10*(((1073741821-b+15)/10|0)+1);break;case 97:case 96:b=1073741821-25*(((1073741821-b+500)/25|0)+1);break;case 95:b=1;break;default:throw p(Error(326));}null!==Ie&&b===W&&--b;return b}
117function mc(b,a){if(50<Te)throw Te=0,Ue=null,p(Error(185));b=We(b,a);if(null!==b){b.pingTime=0;var c=yb();if(1073741823===a)if((U&Ae)!==T&&(U&(Be|Ce))===T)for(var d=Z(b,1073741823,!0);null!==d;)d=d(!0);else Xe(b,99,1073741823),U===T&&Eb();else Xe(b,c,a);(U&4)===T||98!==c&&99!==c||(null===Se?Se=new Map([[b,a]]):(c=Se.get(b),(void 0===c||c>a)&&Se.set(b,a)))}}
118function We(b,a){b.expirationTime<a&&(b.expirationTime=a);var c=b.alternate;null!==c&&c.expirationTime<a&&(c.expirationTime=a);var d=b.return,e=null;if(null===d&&3===b.tag)e=b.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<a&&(d.childExpirationTime=a);null!==c&&c.childExpirationTime<a&&(c.childExpirationTime=a);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(a>e.firstPendingTime&&(e.firstPendingTime=a),b=e.lastPendingTime,0===b||a<b)&&(e.lastPendingTime=
119a);return e}function Xe(b,a,c){if(b.callbackExpirationTime<c){var d=b.callbackNode;null!==d&&d!==sb&&ib(d);b.callbackExpirationTime=c;1073741823===c?b.callbackNode=Cb(Ye.bind(null,b,Z.bind(null,b,c))):(d=null,1!==c&&(d={timeout:10*(1073741821-c)-F()}),b.callbackNode=Bb(a,Ye.bind(null,b,Z.bind(null,b,c)),d))}}function Ye(b,a,c){var d=b.callbackNode,e=null;try{return e=a(c),null!==e?Ye.bind(null,b,e):null}finally{null===e&&d===b.callbackNode&&(b.callbackNode=null,b.callbackExpirationTime=0)}}
120function Ze(b,a){var c=b.firstBatch;return null!==c&&c._defer&&c._expirationTime>=a?(Bb(97,function(){c._onComplete();return null}),!0):!1}
121function $e(b,a){b.finishedWork=null;b.finishedExpirationTime=0;var c=b.timeoutHandle;-1!==c&&(b.timeoutHandle=-1,Sa(c));if(null!==V)for(c=V.return;null!==c;){var d=c;switch(d.tag){case 1:var e=d.type.childContextTypes;null!==e&&void 0!==e&&ab(d);break;case 3:Jc(d);bb(d);break;case 5:Lc(d);break;case 4:Jc(d);break;case 13:A(J,d);break;case 19:A(J,d);break;case 10:Rb(d)}c=c.return}Ie=b;V=xc(b.current,null,a);W=a;X=De;Ke=Je=1073741823;Le=null;Me=!1}
122function Z(b,a,c){if((U&(Be|Ce))!==T)throw p(Error(327));if(b.firstPendingTime<a)return null;if(c&&b.finishedExpirationTime===a)return af.bind(null,b);bf();if(b!==Ie||a!==W)$e(b,a);else if(X===Ge)if(Me)$e(b,a);else{var d=b.lastPendingTime;if(d<a)return Z.bind(null,b,d)}if(null!==V){d=U;U|=Be;var e=ye.current;null===e&&(e=md);ye.current=md;if(c){if(1073741823!==a){var f=kc();if(f<a)return U=d,Pb(),ye.current=e,Z.bind(null,b,f)}}else Ve=0;do try{if(c)for(;null!==V;)V=cf(V);else for(;null!==V&&!jb();)V=
123cf(V);break}catch(M){Pb();nd();f=V;if(null===f||null===f.return)throw $e(b,a),U=d,M;a:{var g=b,h=f.return,k=f,l=M,m=W;k.effectTag|=1024;k.firstEffect=k.lastEffect=null;if(null!==l&&"object"===typeof l&&"function"===typeof l.then){var x=l,w=0!==(J.current&Nc);l=h;do{var t;if(t=13===l.tag)null!==l.memoizedState?t=!1:(t=l.memoizedProps,t=void 0===t.fallback?!1:!0!==t.unstable_avoidThisFallback?!0:w?!1:!0);if(t){h=l.updateQueue;null===h?(h=new Set,h.add(x),l.updateQueue=h):h.add(x);if(0===(l.mode&2)){l.effectTag|=
12464;k.effectTag&=-1957;1===k.tag&&(null===k.alternate?k.tag=17:(m=Yb(1073741823,null),m.tag=2,$b(k,m)));k.expirationTime=1073741823;break a}k=g;g=m;w=k.pingCache;null===w?(w=k.pingCache=new re,h=new Set,w.set(x,h)):(h=w.get(x),void 0===h&&(h=new Set,w.set(x,h)));h.has(g)||(h.add(g),k=df.bind(null,k,x,g),x.then(k,k));l.effectTag|=2048;l.expirationTime=m;break a}l=l.return}while(null!==l);l=Error((wa(k.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+
125Va(k))}X!==He&&(X=Ee);l=ae(l,k);k=h;do{switch(k.tag){case 3:k.effectTag|=2048;k.expirationTime=m;m=se(k,l,m);ac(k,m);break a;case 1:if(x=l,g=k.type,h=k.stateNode,0===(k.effectTag&64)&&("function"===typeof g.getDerivedStateFromError||null!==h&&"function"===typeof h.componentDidCatch&&(null===we||!we.has(h)))){k.effectTag|=2048;k.expirationTime=m;m=ve(k,x,m);ac(k,m);break a}}k=k.return}while(null!==k)}V=ef(f)}while(1);U=d;Pb();ye.current=e;if(null!==V)return Z.bind(null,b,a)}b.finishedWork=b.current.alternate;
126b.finishedExpirationTime=a;if(Ze(b,a))return null;Ie=null;switch(X){case De:throw p(Error(328));case Ee:return d=b.lastPendingTime,d<a?Z.bind(null,b,d):c?af.bind(null,b):($e(b,a),Cb(Z.bind(null,b,a)),null);case Fe:if(1073741823===Je&&!c&&(c=oe+Ne-F(),10<c)){if(Me)return $e(b,a),Z.bind(null,b,a);d=b.lastPendingTime;if(d<a)return Z.bind(null,b,d);b.timeoutHandle=Ra(af.bind(null,b),c);return null}return af.bind(null,b);case Ge:if(!c){if(Me)return $e(b,a),Z.bind(null,b,a);c=b.lastPendingTime;if(c<a)return Z.bind(null,
127b,c);1073741823!==Ke?c=10*(1073741821-Ke)-F():1073741823===Je?c=0:(c=10*(1073741821-Je)-5E3,d=F(),a=10*(1073741821-a)-d,c=d-c,0>c&&(c=0),c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>c?4320:1960*xe(c/1960))-c,a<c&&(c=a));if(10<c)return b.timeoutHandle=Ra(af.bind(null,b),c),null}return af.bind(null,b);case He:return!c&&1073741823!==Je&&null!==Le&&(d=Je,e=Le,a=e.busyMinDurationMs|0,0>=a?a=0:(c=e.busyDelayMs|0,d=F()-(10*(1073741821-d)-(e.timeoutMs|0||5E3)),a=d<=c?0:c+a-d),10<a)?(b.timeoutHandle=
128Ra(af.bind(null,b),a),null):af.bind(null,b);default:throw p(Error(329));}}function ec(b,a){b<Je&&1<b&&(Je=b);null!==a&&b<Ke&&1<b&&(Ke=b,Le=a)}function cf(b){var a=ff(b.alternate,b,W);b.memoizedProps=b.pendingProps;null===a&&(a=ef(b));ze.current=null;return a}
129function ef(b){V=b;do{var a=V.alternate;b=V.return;if(0===(V.effectTag&1024)){a:{var c=a;a=V;var d=W,e=a.pendingProps;switch(a.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:E(a.type)&&ab(a);break;case 3:Jc(a);bb(a);d=a.stateNode;d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===c||null===c.child)a.effectTag&=-3;Wd(a);break;case 5:Lc(a);d=Hc(Gc.current);var f=a.type;if(null!==c&&null!=a.stateNode)Xd(c,a,f,e,d),c.ref!==a.ref&&(a.effectTag|=128);else if(e){Hc(I.current);
130c=f;d=e;e=void 0;switch(c){case Ba.CLIPPING_RECTANGLE:e=da.ClippingRectangle();e._applyProps=Ka;break;case Ba.GROUP:e=da.Group();e._applyProps=Ma;break;case Ba.SHAPE:e=da.Shape();e._applyProps=Oa;break;case Ba.TEXT:e=da.Text(d.children,d.font,d.alignment,d.path),e._applyProps=Pa}if(!e)throw p(Error(217),c);e._applyProps(e,d);c=e;Vd(c,a,!1,!1);a.stateNode=c;null!==a.ref&&(a.effectTag|=128)}else if(null===a.stateNode)throw p(Error(166));break;case 6:if(c&&null!=a.stateNode)Yd(c,a,c.memoizedProps,e);
131else{if("string"!==typeof e&&null===a.stateNode)throw p(Error(166));Hc(Gc.current);Hc(I.current);a.stateNode=e}break;case 11:break;case 13:A(J,a);e=a.memoizedState;if(0!==(a.effectTag&64)){a.expirationTime=d;break a}d=null!==e;e=!1;if(null!==c&&(f=c.memoizedState,e=null!==f,!d&&null!==f&&(f=c.child.sibling,null!==f))){var g=a.firstEffect;null!==g?(a.firstEffect=f,f.nextEffect=g):(a.firstEffect=a.lastEffect=f,f.nextEffect=null);f.effectTag=8}if(d&&!e&&0!==(a.mode&2))if(null===c&&!0!==a.memoizedProps.unstable_avoidThisFallback||
1320!==(J.current&Nc))X===De&&(X=Fe);else if(X===De||X===Fe)X=Ge;if(d||e)a.effectTag|=4;break;case 7:break;case 8:break;case 12:break;case 4:Jc(a);Wd(a);break;case 10:Rb(a);break;case 9:break;case 14:break;case 17:E(a.type)&&ab(a);break;case 18:break;case 19:A(J,a);e=a.memoizedState;if(null===e)break;f=0!==(a.effectTag&64);g=e.rendering;if(null===g)if(f)Zd(e,!1);else{if(X!==De||null!==c&&0!==(c.effectTag&64))for(c=a.child;null!==c;){g=Pc(c);if(null!==g){a.effectTag|=64;Zd(e,!1);c=g.updateQueue;null!==
133c&&(a.updateQueue=c,a.effectTag|=4);a.firstEffect=a.lastEffect=null;c=d;for(d=a.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,g=e.alternate,null===g?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=g.childExpirationTime,e.expirationTime=g.expirationTime,e.child=g.child,e.memoizedProps=g.memoizedProps,e.memoizedState=g.memoizedState,e.updateQueue=
134g.updateQueue,f=g.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;B(J,J.current&Mc|Oc,a);a=a.child;break a}c=c.sibling}}else{if(!f)if(c=Pc(g),null!==c){if(a.effectTag|=64,f=!0,Zd(e,!0),null===e.tail&&"hidden"===e.tailMode){c=c.updateQueue;null!==c&&(a.updateQueue=c,a.effectTag|=4);a=a.lastEffect=e.lastEffect;null!==a&&(a.nextEffect=null);break}}else F()>e.tailExpiration&&1<d&&(a.effectTag|=64,f=!0,Zd(e,!1),
135a.expirationTime=a.childExpirationTime=d-1);e.isBackwards?(g.sibling=a.child,a.child=g):(c=e.last,null!==c?c.sibling=g:a.child=g,e.last=g)}if(null!==e.tail){0===e.tailExpiration&&(e.tailExpiration=F()+500);c=e.tail;e.rendering=c;e.tail=c.sibling;e.lastEffect=a.lastEffect;c.sibling=null;d=J.current;d=f?d&Mc|Oc:d&Mc;B(J,d,a);a=c;break a}break;case 20:break;default:throw p(Error(156));}a=null}c=V;if(1===W||1!==c.childExpirationTime){d=0;for(e=c.child;null!==e;)f=e.expirationTime,g=e.childExpirationTime,
136f>d&&(d=f),g>d&&(d=g),e=e.sibling;c.childExpirationTime=d}if(null!==a)return a;null!==b&&0===(b.effectTag&1024)&&(null===b.firstEffect&&(b.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==b.lastEffect&&(b.lastEffect.nextEffect=V.firstEffect),b.lastEffect=V.lastEffect),1<V.effectTag&&(null!==b.lastEffect?b.lastEffect.nextEffect=V:b.firstEffect=V,b.lastEffect=V))}else{a=$d(V,W);if(null!==a)return a.effectTag&=1023,a;null!==b&&(b.firstEffect=b.lastEffect=null,b.effectTag|=1024)}a=V.sibling;if(null!==
137a)return a;V=b}while(null!==V);X===De&&(X=He);return null}function af(b){var a=yb();Ab(99,gf.bind(null,b,a));null!==Pe&&Bb(97,function(){bf();return null});return null}
138function gf(b,a){bf();if((U&(Be|Ce))!==T)throw p(Error(327));var c=b.finishedWork,d=b.finishedExpirationTime;if(null===c)return null;b.finishedWork=null;b.finishedExpirationTime=0;if(c===b.current)throw p(Error(177));b.callbackNode=null;b.callbackExpirationTime=0;var e=c.expirationTime,f=c.childExpirationTime;e=f>e?f:e;b.firstPendingTime=e;e<b.lastPendingTime&&(b.lastPendingTime=e);b===Ie&&(V=Ie=null,W=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;
139if(null!==e){f=U;U|=Ce;ze.current=null;Y=e;do try{for(;null!==Y;){if(0!==(Y.effectTag&256)){var g=Y.alternate,h=Y;switch(h.tag){case 0:case 11:case 15:ge(Sc,Rc,h);break;case 1:if(h.effectTag&256&&null!==g){var k=g.memoizedProps,l=g.memoizedState,m=h.stateNode,x=m.getSnapshotBeforeUpdate(h.elementType===h.type?k:G(h.type,k),l);m.__reactInternalSnapshotBeforeUpdate=x}break;case 3:case 5:case 6:case 4:case 17:break;default:throw p(Error(163));}}Y=Y.nextEffect}}catch(r){if(null===Y)throw p(Error(330));
140ee(Y,r);Y=Y.nextEffect}while(null!==Y);Y=e;do try{for(g=a;null!==Y;){var w=Y.effectTag;if(w&128){var t=Y.alternate;if(null!==t){var M=t.ref;null!==M&&("function"===typeof M?M(null):M.current=null)}}switch(w&14){case 2:me(Y);Y.effectTag&=-3;break;case 6:me(Y);Y.effectTag&=-3;ne(Y.alternate,Y);break;case 4:ne(Y.alternate,Y);break;case 8:k=Y;je(k,g);k.return=null;k.child=null;k.memoizedState=null;k.updateQueue=null;k.dependencies=null;var N=k.alternate;null!==N&&(N.return=null,N.child=null,N.memoizedState=
141null,N.updateQueue=null,N.dependencies=null)}Y=Y.nextEffect}}catch(r){if(null===Y)throw p(Error(330));ee(Y,r);Y=Y.nextEffect}while(null!==Y);b.current=c;Y=e;do try{for(w=d;null!==Y;){var y=Y.effectTag;if(y&36){var q=Y.alternate;t=Y;M=w;switch(t.tag){case 0:case 11:case 15:ge(Vc,Wc,t);break;case 1:var v=t.stateNode;if(t.effectTag&4)if(null===q)v.componentDidMount();else{var qa=t.elementType===t.type?q.memoizedProps:G(t.type,q.memoizedProps);v.componentDidUpdate(qa,q.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var Od=
142t.updateQueue;null!==Od&&fc(t,Od,v,M);break;case 3:var Pd=t.updateQueue;if(null!==Pd){N=null;if(null!==t.child)switch(t.child.tag){case 5:N=t.child.stateNode;break;case 1:N=t.child.stateNode}fc(t,Pd,N,M)}break;case 5:break;case 6:break;case 4:break;case 12:break;case 13:case 19:case 17:case 20:break;default:throw p(Error(163));}}if(y&128){var Mb=Y.ref;if(null!==Mb){var Qd=Y.stateNode;switch(Y.tag){case 5:var wc=Qd;break;default:wc=Qd}"function"===typeof Mb?Mb(wc):Mb.current=wc}}y&512&&(Oe=!0);Y=Y.nextEffect}}catch(r){if(null===
143Y)throw p(Error(330));ee(Y,r);Y=Y.nextEffect}while(null!==Y);Y=null;tb();U=f}else b.current=c;if(Oe)Oe=!1,Pe=b,Re=d,Qe=a;else for(Y=e;null!==Y;)a=Y.nextEffect,Y.nextEffect=null,Y=a;a=b.firstPendingTime;0!==a?(y=kc(),y=Fb(y,a),Xe(b,y,a)):we=null;"function"===typeof hf&&hf(c.stateNode,d);1073741823===a?b===Ue?Te++:(Te=0,Ue=b):Te=0;if(te)throw te=!1,b=ue,ue=null,b;if((U&Ae)!==T)return null;Eb();return null}
144function bf(){if(null===Pe)return!1;var b=Pe,a=Re,c=Qe;Pe=null;Re=0;Qe=90;return Ab(97<c?97:c,jf.bind(null,b,a))}function jf(b){if((U&(Be|Ce))!==T)throw p(Error(331));var a=U;U|=Ce;for(b=b.current.firstEffect;null!==b;){try{var c=b;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:ge(Yc,Rc,c),ge(Rc,Xc,c)}}catch(d){if(null===b)throw p(Error(330));ee(b,d)}c=b.nextEffect;b.nextEffect=null;b=c}U=a;Eb();return!0}
145function kf(b,a,c){a=ae(c,a);a=se(b,a,1073741823);$b(b,a);b=We(b,1073741823);null!==b&&Xe(b,99,1073741823)}function ee(b,a){if(3===b.tag)kf(b,b,a);else for(var c=b.return;null!==c;){if(3===c.tag){kf(c,b,a);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===we||!we.has(d))){b=ae(a,b);b=ve(c,b,1073741823);$b(c,b);c=We(c,1073741823);null!==c&&Xe(c,99,1073741823);break}}c=c.return}}
146function df(b,a,c){var d=b.pingCache;null!==d&&d.delete(a);Ie===b&&W===c?X===Ge||X===Fe&&1073741823===Je&&F()-oe<Ne?$e(b,W):Me=!0:b.lastPendingTime<c||(a=b.pingTime,0!==a&&a<c||(b.pingTime=c,b.finishedExpirationTime===c&&(b.finishedExpirationTime=0,b.finishedWork=null),a=kc(),a=Fb(a,c),Xe(b,a,c)))}function qe(b,a){var c=b.stateNode;null!==c&&c.delete(a);c=kc();a=lc(c,b,null);c=Fb(c,a);b=We(b,a);null!==b&&Xe(b,c,a)}var ff=void 0;
147ff=function(b,a,c){var d=a.expirationTime;if(null!==b)if(b.memoizedProps!==a.pendingProps||D.current)Ub=!0;else{if(d<c){Ub=!1;switch(a.tag){case 3:Nd(a);break;case 5:Kc(a);break;case 1:E(a.type)&&eb(a);break;case 4:Ic(a,a.stateNode.containerInfo);break;case 10:Qb(a,a.memoizedProps.value);break;case 13:if(null!==a.memoizedState){d=a.child.childExpirationTime;if(0!==d&&d>=c)return Sd(b,a,c);B(J,J.current&Mc,a);a=Fd(b,a,c);return null!==a?a.sibling:null}B(J,J.current&Mc,a);break;case 19:d=a.childExpirationTime>=
148c;if(0!==(b.effectTag&64)){if(d)return Ud(b,a,c);a.effectTag|=64}var e=a.memoizedState;null!==e&&(e.rendering=null,e.tail=null);B(J,J.current,a);if(!d)return null}return Fd(b,a,c)}}else Ub=!1;a.expirationTime=0;switch(a.tag){case 2:d=a.type;null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2);b=a.pendingProps;e=$a(a,C.current);Tb(a,c);e=jd(null,a,d,b,e,c);a.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){a.tag=1;nd();if(E(d)){var f=!0;eb(a)}else f=
149!1;a.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&jc(a,d,g,b);e.updater=nc;a.stateNode=e;e._reactInternalFiber=a;rc(a,d,b,c);a=Md(null,a,d,!0,f,c)}else a.tag=0,S(null,a,e,c),a=a.child;return a;case 16:e=a.elementType;null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2);b=a.pendingProps;e=Jb(e);a.type=e;f=a.tag=lf(e);b=G(e,b);switch(f){case 0:a=Jd(null,a,e,b,c);break;case 1:a=Ld(null,a,e,b,c);break;case 11:a=Ed(null,a,e,
150b,c);break;case 14:a=Gd(null,a,e,G(e.type,b),d,c);break;default:throw p(Error(306),e,"");}return a;case 0:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),Jd(b,a,d,e,c);case 1:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),Ld(b,a,d,e,c);case 3:Nd(a);d=a.updateQueue;if(null===d)throw p(Error(282));e=a.memoizedState;e=null!==e?e.element:null;dc(a,d,a.pendingProps,null,c);d=a.memoizedState.element;d===e?a=Fd(b,a,c):(S(b,a,d,c),a=a.child);return a;case 5:return Kc(a),null===
151b&&Cd(a),d=a.type,e=a.pendingProps,f=null!==b?b.memoizedProps:null,g=e.children,Ta(d,e)?g=null:null!==f&&Ta(d,f)&&(a.effectTag|=16),Kd(b,a),S(b,a,g,c),a.child;case 6:return null===b&&Cd(a),null;case 13:return Sd(b,a,c);case 4:return Ic(a,a.stateNode.containerInfo),d=a.pendingProps,null===b?a.child=Cc(a,null,d,c):S(b,a,d,c),a.child;case 11:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),Ed(b,a,d,e,c);case 7:return S(b,a,a.pendingProps,c),a.child;case 8:return S(b,a,a.pendingProps.children,
152c),a.child;case 12:return S(b,a,a.pendingProps.children,c),a.child;case 10:a:{d=a.type._context;e=a.pendingProps;g=a.memoizedProps;f=e.value;Qb(a,f);if(null!==g){var h=g.value;f=Gb(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!D.current){a=Fd(b,a,c);break a}}else for(h=a.child,null!==h&&(h.return=a);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==
153(l.observedBits&f)){1===h.tag&&(l=Yb(c,null),l.tag=2,$b(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);Sb(h.return,c);k.expirationTime<c&&(k.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===a.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===a){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}}S(b,a,e.children,c);a=a.child}return a;case 9:return e=a.type,f=a.pendingProps,
154d=f.children,Tb(a,c),e=H(e,f.unstable_observedBits),d=d(e),a.effectTag|=1,S(b,a,d,c),a.child;case 14:return e=a.type,f=G(e,a.pendingProps),f=G(e.type,f),Gd(b,a,e,f,d,c);case 15:return Id(b,a,a.type,a.pendingProps,d,c);case 17:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2),a.tag=1,E(d)?(b=!0,eb(a)):b=!1,Tb(a,c),pc(a,d,e,c),rc(a,d,e,c),Md(null,a,d,!0,b,c);case 19:return Ud(b,a,c)}throw p(Error(156));};var hf=null,ie=null;
155function mf(b){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled||!a.supportsFiber)return!0;try{var c=a.inject(b);hf=function(b){try{a.onCommitFiberRoot(c,b,void 0,64===(b.current.effectTag&64))}catch(e){}};ie=function(b){try{a.onCommitFiberUnmount(c,b)}catch(e){}}}catch(d){}return!0}
156function nf(b,a,c,d){this.tag=b;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=a;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function R(b,a,c,d){return new nf(b,a,c,d)}
157function Hd(b){b=b.prototype;return!(!b||!b.isReactComponent)}function lf(b){if("function"===typeof b)return Hd(b)?1:0;if(void 0!==b&&null!==b){b=b.$$typeof;if(b===oa)return 11;if(b===sa)return 14}return 2}
158function xc(b,a){var c=b.alternate;null===c?(c=R(b.tag,a,b.key,b.mode),c.elementType=b.elementType,c.type=b.type,c.stateNode=b.stateNode,c.alternate=b,b.alternate=c):(c.pendingProps=a,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=b.childExpirationTime;c.expirationTime=b.expirationTime;c.child=b.child;c.memoizedProps=b.memoizedProps;c.memoizedState=b.memoizedState;c.updateQueue=b.updateQueue;a=b.dependencies;c.dependencies=null===a?null:{expirationTime:a.expirationTime,
159firstContext:a.firstContext,responders:a.responders};c.sibling=b.sibling;c.index=b.index;c.ref=b.ref;return c}
160function zc(b,a,c,d,e,f){var g=2;d=b;if("function"===typeof b)Hd(b)&&(g=1);else if("string"===typeof b)g=5;else a:switch(b){case ia:return Bc(c.children,e,f,a);case na:g=8;e|=7;break;case ja:g=8;e|=1;break;case ka:return b=R(12,c,a,e|8),b.elementType=ka,b.type=ka,b.expirationTime=f,b;case pa:return b=R(13,c,a,e),b.type=pa,b.elementType=pa,b.expirationTime=f,b;case ra:return b=R(19,c,a,e),b.elementType=ra,b.expirationTime=f,b;default:if("object"===typeof b&&null!==b)switch(b.$$typeof){case la:g=10;
161break a;case ma:g=9;break a;case oa:g=11;break a;case sa:g=14;break a;case ta:g=16;d=null;break a}throw p(Error(130),null==b?b:typeof b,"");}a=R(g,c,a,e);a.elementType=b;a.type=d;a.expirationTime=f;return a}function Bc(b,a,c,d){b=R(7,b,d,a);b.expirationTime=c;return b}function yc(b,a,c){b=R(6,b,null,a);b.expirationTime=c;return b}
162function Ac(b,a,c){a=R(4,null!==b.children?b.children:[],b.key,a);a.expirationTime=c;a.stateNode={containerInfo:b.containerInfo,pendingChildren:null,implementation:b.implementation};return a}
163function of(b,a,c){this.tag=a;this.current=null;this.containerInfo=b;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=this.firstBatch=null;this.pingTime=this.lastPendingTime=this.firstPendingTime=this.callbackExpirationTime=0}
164function pf(b,a,c,d){var e=a.current,f=kc(),g=hc.suspense;e=lc(f,e,g);f=a.current;a:if(c){c=c._reactInternalFiber;b:{if(2!==xa(c)||1!==c.tag)throw p(Error(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(E(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw p(Error(171));}if(1===c.tag){var k=c.type;if(E(k)){c=db(c,k,h);break a}}c=h}else c=Ya;null===a.context?a.context=c:a.pendingContext=c;a=d;g=Yb(e,g);g.payload={element:b};
165a=void 0===a?null:a;null!==a&&(g.callback=a);$b(f,g);mc(f,e);return e}var qf=aa||function(b){for(var a=1;a<arguments.length;a++){var c=arguments[a],d;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(b[d]=c[d])}return b};function rf(b,a){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?b:a}
166function sf(b,a){if("function"!==typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);b.prototype=Object.create(a&&a.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}});a&&(Object.setPrototypeOf?Object.setPrototypeOf(b,a):b.__proto__=a)}function tf(b,a){if(!(b instanceof a))throw new TypeError("Cannot call a class as a function");}da.setCurrent(ea);
167var uf=Array.prototype.slice,vf=function(){function b(a,c,d,e,f){tf(this,b);this._args=uf.call(arguments)}b.prototype.applyFill=function(a){a.fillLinear.apply(a,this._args)};return b}(),wf=function(){function b(a,c,d,e,f,g,h){tf(this,b);this._args=uf.call(arguments)}b.prototype.applyFill=function(a){a.fillRadial.apply(a,this._args)};return b}(),xf=function(){function b(a,c,d,e,f){tf(this,b);this._args=uf.call(arguments)}b.prototype.applyFill=function(a){a.fillImage.apply(a,this._args)};return b}(),
168yf=function(b){function a(){tf(this,a);return rf(this,b.apply(this,arguments))}sf(a,b);a.prototype.componentDidMount=function(){var a=this.props;this._surface=da.Surface(+a.width,+a.height,this._tagRef);a=new of(this._surface,0,!1);var b=R(3,null,null,0);a.current=b;this._mountNode=b.stateNode=a;pf(this.props.children,this._mountNode,this)};a.prototype.componentDidUpdate=function(a){var b=this.props;b.height===a.height&&b.width===a.width||this._surface.resize(+b.width,+b.height);pf(this.props.children,
169this._mountNode,this);this._surface.render&&this._surface.render()};a.prototype.componentWillUnmount=function(){pf(null,this._mountNode,this)};a.prototype.render=function(){var a=this,b=this.props;return ba.createElement(da.Surface.tagName,{ref:function(b){return a._tagRef=b},accessKey:b.accessKey,className:b.className,draggable:b.draggable,role:b.role,style:b.style,tabIndex:b.tabIndex,title:b.title})};return a}(ba.Component),zf=function(b){function a(c){tf(this,a);var d=rf(this,b.call(this,c));["height",
170"width","x","y"].forEach(function(a){Object.defineProperty(d,a,{get:function(){return this._text?this._text[a]:void 0}})});return d}sf(a,b);a.prototype.render=function(){var a=this;return ba.createElement(Ba.TEXT,qf({},this.props,{ref:function(b){return a._text=b}}),Da(this.props.children))};return a}(ba.Component);
171(function(b){var a=b.findFiberByHostInstance;return mf(aa({},b,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:u.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Aa(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(b){return a?a(b):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:function(){return null},bundleType:0,
172version:"16.9.0-rc.0",rendererPackageName:"react-art"});module.exports={ClippingRectangle:Ba.CLIPPING_RECTANGLE,Group:Ba.GROUP,Shape:Ba.SHAPE,Path:da.Path,LinearGradient:vf,Pattern:xf,RadialGradient:wf,Surface:yf,Text:zf,Transform:ca};