1 line
26 KiB
JavaScript
1 line
26 KiB
JavaScript
"use strict";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(void 0).React=t()}(0,function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,d="function"==typeof Symbol&&Symbol.iterator,y="@@iterator";function v(e){if(null===e||"object"!=typeof e)return null;var t=d&&e[d]||e[y];return"function"==typeof t?t:null}var m=!0,h=!0,b=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var w=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var i in n=Object(arguments[a]))g.call(n,i)&&(o[i]=n[i]);if(b){r=b(n);for(var u=0;u<r.length;u++)_.call(n,r[u])&&(o[r[u]]=n[r[u]])}}return o},k=function(){};function S(e,t,n,r,o,a,i,u){if(k(t),!e){var l=void 0;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,u],f=0;(l=new Error(t.replace(/%s/g,function(){return c[f++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}k=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")};var C=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,a="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[t].concat(r))}},j=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(void 0===t)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(r.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var a=r.map(function(e){return""+e});a.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,a)}try{var i=0,u="Warning: "+t.replace(/%s/g,function(){return r[i++]});throw new Error(u)}catch(e){}}},O={};function x(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;O[o]||(j(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),O[o]=!0)}var P={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){x(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){x(e,"replaceState")},enqueueSetState:function(e,t,n,r){x(e,"setState")}},R={};function E(e,t,n){this.props=e,this.context=t,this.refs=R,this.updater=n||P}Object.freeze(R),E.prototype.isReactComponent={},E.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&S(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var T={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},$=function(e,t){Object.defineProperty(E.prototype,e,{get:function(){C(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var W in T)T.hasOwnProperty(W)&&$(W,T[W]);function I(){}function A(e,t,n){this.props=e,this.context=t,this.refs=R,this.updater=n||P}I.prototype=E.prototype;var F=A.prototype=new I;F.constructor=A,w(F,E.prototype),F.isPureReactComponent=!0;var D=1,q=2,N=3,M=4,z=5,U=-1,L=250,V=5e3,B=1e4,Y=1073741823,H=null,J=!1,X=!1,G=N,K=-1,Q=-1,Z=!1,ee=!1,te="object"==typeof performance&&"function"==typeof performance.now;function ne(){if(!Z){var e=H.expirationTime;ee?fe():ee=!0,ce(ae,e)}}function re(){var e=H,t=H.next;if(H===t)H=null,t=null;else{var n=H.previous;H=n.next=t,t.previous=n}e.next=e.previous=null;var r,o=e.callback,a=e.expirationTime,i=e.priorityLevel,u=G,l=Q;G=i,Q=a;try{r=o()}finally{G=u,Q=l}if("function"==typeof r){var c={callback:r,priorityLevel:i,expirationTime:a,next:null,previous:null};if(null===H)H=c.next=c.previous=c;else{var f=null,s=H;do{if(s.expirationTime>=a){f=s;break}s=s.next}while(s!==H);null===f?f=H:f===H&&(H=c,ne());var p=f.previous;p.next=f.previous=c,c.next=f,c.previous=p}}}function oe(){if(-1===K&&null!==H&&H.priorityLevel===D){Z=!0;try{do{re()}while(null!==H&&H.priorityLevel===D)}finally{Z=!1,null!==H?ne():ee=!1}}}function ae(e){if(!h||!X){Z=!0;var t=J;J=e;try{if(e)for(;!(null===H||h&&X);){var n=ie();if(!(H.expirationTime<=n))break;do{re()}while(null!==H&&H.expirationTime<=n&&(!h||!X))}else if(null!==H)do{if(h&&X)break;re()}while(null!==H&&!se())}finally{Z=!1,J=t,null!==H?ne():ee=!1,oe()}}}var ie,ue,le,ce,fe,se,pe=Date,de="function"==typeof setTimeout?setTimeout:void 0,ye="function"==typeof clearTimeout?clearTimeout:void 0,ve="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,me="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0,he=function(e){ue=ve(function(t){ye(le),e(t)}),le=de(function(){me(ue),e(ie())},100)};if(te){var be=performance;ie=function(){return be.now()}}else ie=function(){return pe.now()};var ge=null;if("undefined"!=typeof window?ge=window:"undefined"!=typeof global&&(ge=global),ge&&ge._schedMock){var _e=ge._schedMock;ce=_e[0],fe=_e[1],se=_e[2],ie=_e[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var we=null,ke=function(e){if(null!==we)try{we(e)}finally{we=null}};ce=function(e,t){null!==we?setTimeout(ce,0,e):(we=e,setTimeout(ke,0,!1))},fe=function(){we=null},se=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof ve&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof me&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var Se=null,Ce=!1,je=-1,Oe=!1,xe=!1,Pe=0,Re=33,Ee=33;se=function(){return Pe<=ie()};var Te=new MessageChannel,$e=Te.port2;Te.port1.onmessage=function(e){Ce=!1;var t=Se,n=je;Se=null,je=-1;var r=ie(),o=!1;if(Pe-r<=0){if(!(-1!==n&&n<=r))return Oe||(Oe=!0,he(We)),Se=t,void(je=n);o=!0}if(null!==t){xe=!0;try{t(o)}finally{xe=!1}}};var We=function e(t){if(null!==Se){he(e);var n=t-Pe+Ee;n<Ee&&Re<Ee?(n<8&&(n=8),Ee=n<Re?Re:n):Re=n,Pe=t+Ee,Ce||(Ce=!0,$e.postMessage(void 0))}else Oe=!1};ce=function(e,t){Se=e,je=t,xe||t<0?$e.postMessage(void 0):Oe||(Oe=!0,he(We))},fe=function(){Se=null,Ce=!1,je=-1}}var Ie=0,Ae=0,Fe=0,De=null,qe=null;m&&(De={current:new Set},qe={current:null});var Ne=null;function Me(e){var t=!1,n=null;if(Ne.forEach(function(r){try{r.onInteractionTraced(e)}catch(e){t||(t=!0,n=e)}}),t)throw n}function ze(e){var t=!1,n=null;if(Ne.forEach(function(r){try{r.onInteractionScheduledWorkCompleted(e)}catch(e){t||(t=!0,n=e)}}),t)throw n}function Ue(e,t){var n=!1,r=null;if(Ne.forEach(function(o){try{o.onWorkScheduled(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function Le(e,t){var n=!1,r=null;if(Ne.forEach(function(o){try{o.onWorkStarted(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function Ve(e,t){var n=!1,r=null;if(Ne.forEach(function(o){try{o.onWorkStopped(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function Be(e,t){var n=!1,r=null;if(Ne.forEach(function(o){try{o.onWorkCanceled(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}m&&(Ne=new Set);var Ye={current:null,currentDispatcher:null},He=/^(.*)[\\\/]/,Je=1;function Xe(e){if(null==e)return null;if("number"==typeof e.tag&&j(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"ConcurrentMode";case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case f:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case u:return"Context.Consumer";case i:return"Context.Provider";case c:return y=e,v=e.render,m="ForwardRef",h=v.displayName||v.name||"",y.displayName||(""!==h?m+"("+h+")":m);case s:return Xe(e.type);case p:var t=(d=e)._status===Je?d._result:null;if(t)return Xe(t)}var d,y,v,m,h;return null}var Ge={},Ke=null;function Qe(e){Ke=e}Ge.getCurrentStack=null,Ge.getStackAddendum=function(){var e="";if(Ke){var t=Xe(Ke.type),n=Ke._owner;e+=function(e,t,n){var r="";if(t){var o=t.fileName,a=o.replace(He,"");if(/^index\./.test(a)){var i=o.match(He);if(i){var u=i[1];u&&(a=u.replace(He,"")+"/"+a)}}r=" (at "+a+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(t,Ke._source,n&&Xe(n.type))}var r=Ge.getCurrentStack;return r&&(e+=r()||""),e};var Ze={ReactCurrentOwner:Ye,assign:w};w(Ze,{Scheduler:{unstable_cancelCallback:function(e){var t=e.next;if(null!==t){if(t===e)H=null;else{e===H&&(H=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},unstable_shouldYield:function(){return!J&&(null!==H&&H.expirationTime<Q||se())},unstable_now:ie,unstable_scheduleCallback:function(e,t){var n,r=-1!==K?K:ie();if("object"==typeof t&&null!==t&&"number"==typeof t.timeout)n=r+t.timeout;else switch(G){case D:n=r+U;break;case q:n=r+L;break;case z:n=r+Y;break;case M:n=r+B;break;case N:default:n=r+V}var o={callback:e,priorityLevel:G,expirationTime:n,next:null,previous:null};if(null===H)H=o.next=o.previous=o,ne();else{var a=null,i=H;do{if(i.expirationTime>n){a=i;break}i=i.next}while(i!==H);null===a?a=H:a===H&&(H=o,ne());var u=a.previous;u.next=a.previous=o,o.next=a,o.previous=u}return o},unstable_runWithPriority:function(e,t){switch(e){case D:case q:case N:case M:case z:break;default:e=N}var n=G,r=K;G=e,K=ie();try{return t()}finally{G=n,K=r,oe()}},unstable_wrapCallback:function(e){var t=G;return function(){var n=G,r=K;G=t,K=ie();try{return e.apply(this,arguments)}finally{G=n,K=r,oe()}}},unstable_getFirstCallbackNode:function(){return H},unstable_pauseExecution:function(){X=!0},unstable_continueExecution:function(){X=!1,null!==H&&ne()},unstable_getCurrentPriorityLevel:function(){return G}},SchedulerTracing:{__interactionsRef:De,__subscriberRef:qe,unstable_clear:function(e){if(!m)return e();var t=De.current;De.current=new Set;try{return e()}finally{De.current=t}},unstable_getCurrent:function(){return m?De.current:null},unstable_getThreadID:function(){return++Fe},unstable_subscribe:function(e){m&&(Ne.add(e),1===Ne.size&&(qe.current={onInteractionScheduledWorkCompleted:ze,onInteractionTraced:Me,onWorkCanceled:Be,onWorkScheduled:Ue,onWorkStarted:Le,onWorkStopped:Ve}))},unstable_trace:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ie;if(!m)return n();var o={__count:1,id:Ae++,name:e,timestamp:t},a=De.current,i=new Set(a);i.add(o),De.current=i;var u=qe.current,l=void 0;try{null!==u&&u.onInteractionTraced(o)}finally{try{null!==u&&u.onWorkStarted(i,r)}finally{try{l=n()}finally{De.current=a;try{null!==u&&u.onWorkStopped(i,r)}finally{o.__count--,null!==u&&0===o.__count&&u.onInteractionScheduledWorkCompleted(o)}}}}return l},unstable_unsubscribe:function(e){m&&(Ne.delete(e),0===Ne.size&&(qe.current=null))},unstable_wrap:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie;if(!m)return e;var n=De.current,r=qe.current;null!==r&&r.onWorkScheduled(n,t),n.forEach(function(e){e.__count++});var o=!1;function a(){var a=De.current;De.current=n,r=qe.current;try{var i=void 0;try{null!==r&&r.onWorkStarted(n,t)}finally{try{i=e.apply(void 0,arguments)}finally{De.current=a,null!==r&&r.onWorkStopped(n,t)}}return i}finally{o||(o=!0,n.forEach(function(e){e.__count--,null!==r&&0===e.__count&&r.onInteractionScheduledWorkCompleted(e)}))}}return a.cancel=function(){r=qe.current;try{null!==r&&r.onWorkCanceled(n,t)}finally{n.forEach(function(e){e.__count--,r&&0===e.__count&&r.onInteractionScheduledWorkCompleted(e)})}},a}}}),w(Ze,{ReactDebugCurrentFrame:Ge,ReactComponentTreeHook:{}});var et=function(e,t){if(!e){for(var n=Ze.ReactDebugCurrentFrame.getStackAddendum(),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];j.apply(void 0,[!1,t+"%s"].concat(o,[n]))}},tt=Object.prototype.hasOwnProperty,nt={key:!0,ref:!0,__self:!0,__source:!0},rt=void 0,ot=void 0;function at(e){if(tt.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function it(e){if(tt.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}var ut=function(e,n,r,o,a,i,u){var l={$$typeof:t,type:e,key:n,ref:r,props:u,_owner:i,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function lt(e,t,n){var r=void 0,o={},a=null,i=null,u=null,l=null;if(null!=t)for(r in at(t)&&(i=t.ref),it(t)&&(a=""+t.key),u=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)tt.call(t,r)&&!nt.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(c>1){for(var f=Array(c),s=0;s<c;s++)f[s]=arguments[s+2];Object.freeze&&Object.freeze(f),o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}if(a||i){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){rt||(rt=!0,j(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,d),i&&function(e,t){var n=function(){ot||(ot=!0,j(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,d)}return ut(e,a,i,u,l,Ye.current,o)}function ct(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var ft=".",st=":";var pt=!1,dt=/\/+/g;function yt(e){return(""+e).replace(dt,"$&/")}var vt=10,mt=[];function ht(e,t,n,r){if(mt.length){var o=mt.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function bt(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,mt.length<vt&&mt.push(e)}function gt(e,r,o){return null==e?0:function e(r,o,a,i){var u=typeof r;"undefined"!==u&&"boolean"!==u||(r=null);var l=!1;if(null===r)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(r.$$typeof){case t:case n:l=!0}}if(l)return a(i,r,""===o?ft+_t(r,0):o),1;var c=void 0,f=0,s=""===o?ft:o+st;if(Array.isArray(r))for(var p=0;p<r.length;p++)f+=e(c=r[p],s+_t(c,p),a,i);else{var d=v(r);if("function"==typeof d){d===r.entries&&(pt||et(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),pt=!0);for(var y=d.call(r),m=void 0,h=0;!(m=y.next()).done;)f+=e(c=m.value,s+_t(c,h++),a,i)}else if("object"===u){var b;b=" If you meant to render a collection of children, use an array instead."+Ge.getStackAddendum();var g=""+r;S(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(r).join(", ")+"}":g,b)}}return f}(e,"",r,o)}function _t(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function wt(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function kt(e,t,n){var r,o,a=e.result,i=e.keyPrefix,u=e.func,l=e.context,c=u.call(l,t,e.count++);Array.isArray(c)?St(c,a,n,function(e){return e}):null!=c&&(ct(c)&&(r=c,o=i+(!c.key||t&&t.key===c.key?"":yt(c.key)+"/")+n,c=ut(r.type,o,r.ref,r._self,r._source,r._owner,r.props)),a.push(c))}function St(e,t,n,r,o){var a="";null!=n&&(a=yt(n)+"/");var i=ht(t,a,r,o);gt(e,kt,i),bt(i)}function Ct(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===a||e===o||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===s||e.$$typeof===i||e.$$typeof===u||e.$$typeof===c)}var jt=function(){},Ot="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",xt={};jt=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}};var Pt=function(e,t,n,r,o){for(var a in e)if(e.hasOwnProperty(a)){var i;try{if("function"!=typeof e[a]){var u=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw u.name="Invariant Violation",u}i=e[a](t,a,r,n,null,Ot)}catch(e){i=e}if(!i||i instanceof Error||jt((r||"React class")+": type specification of "+n+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in xt)){xt[i.message]=!0;var l=o?o():"";jt("Failed "+n+" type: "+i.message+(null!=l?l:""))}}},Rt=void 0;function Et(){if(Ye.current){var e=Xe(Ye.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Rt=!1;var Tt={};function $t(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Et();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Tt[n]){Tt[n]=!0;var r="";e&&e._owner&&e._owner!==Ye.current&&(r=" It was passed a child from "+Xe(e._owner.type)+"."),Qe(e),et(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',n,r),Qe(null)}}}function Wt(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];ct(r)&&$t(r,t)}else if(ct(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a=o.call(e),i=void 0;!(i=a.next()).done;)ct(i.value)&&$t(i.value,t)}}function It(e){var t=e.type;if(null!==t&&void 0!==t&&"string"!=typeof t){var n=Xe(t),r=void 0;if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==c&&t.$$typeof!==s)return;r=t.propTypes}r?(Qe(e),Pt(r,e.props,"prop",n,Ge.getStackAddendum),Qe(null)):void 0===t.PropTypes||Rt||(Rt=!0,j(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")),"function"==typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||j(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}}function At(e,n,o){var a=Ct(e);if(!a){var i="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u=function(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}(n);i+=u||Et();var l=void 0;null===e?l="null":Array.isArray(e)?l="array":void 0!==e&&e.$$typeof===t?(l="<"+(Xe(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,et(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,i)}var c=lt.apply(this,arguments);if(null==c)return c;if(a)for(var f=2;f<arguments.length;f++)Wt(arguments[f],e);return e===r?function(e){Qe(e);for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){et(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r);break}}null!==e.ref&&et(!1,"Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null)}(c):It(c),c}var Ft={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return St(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;var r=ht(null,null,t,n);gt(e,wt,r),bt(r)},count:function(e){return gt(e,function(){return null},null)},toArray:function(e){var t=[];return St(e,t,null,function(e){return e}),t},only:function(e){return ct(e)||S(!1,"React.Children.only expected to receive a single React element child."),e}},createRef:function(){var e={current:null};return Object.seal(e),e},Component:E,PureComponent:A,createContext:function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&j(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};n.Provider={$$typeof:i,_context:n};var r=!1,o=!1,a={$$typeof:u,_context:n,_calculateChangedBits:n._calculateChangedBits};return Object.defineProperties(a,{Provider:{get:function(){return o||(o=!0,et(!1,"Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){return r||(r=!0,et(!1,"Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),n.Consumer}}}),n.Consumer=a,n._currentRenderer=null,n._currentRenderer2=null,n},forwardRef:function(e){return null!=e&&e.$$typeof===s?j(!1,"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?j(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&j(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&j(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:c,render:e}},lazy:function(e){var t={$$typeof:p,_ctor:e,_status:-1,_result:null},n=void 0,r=void 0;return Object.defineProperties(t,{defaultProps:{configurable:!0,get:function(){return n},set:function(e){et(!1,"React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(t,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){et(!1,"React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(t,"propTypes",{enumerable:!0})}}}),t},memo:function(e,t){return Ct(e)||j(!1,"memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),{$$typeof:s,type:e,compare:void 0===t?null:t}},Fragment:r,StrictMode:o,Suspense:f,createElement:At,cloneElement:function(e,t,n){for(var r=function(e,t,n){(null===e||void 0===e)&&S(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var r=void 0,o=w({},e.props),a=e.key,i=e.ref,u=e._self,l=e._source,c=e._owner;if(null!=t){at(t)&&(i=t.ref,c=Ye.current),it(t)&&(a=""+t.key);var f=void 0;for(r in e.type&&e.type.defaultProps&&(f=e.type.defaultProps),t)tt.call(t,r)&&!nt.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==f?o[r]=f[r]:o[r]=t[r])}var s=arguments.length-2;if(1===s)o.children=n;else if(s>1){for(var p=Array(s),d=0;d<s;d++)p[d]=arguments[d+2];o.children=p}return ut(e.type,a,i,u,l,c,o)}.apply(this,arguments),o=2;o<arguments.length;o++)Wt(arguments[o],r.type);return It(r),r},createFactory:function(e){var t=At.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return C(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},isValidElement:ct,version:"16.7.0",unstable_ConcurrentMode:l,unstable_Profiler:a,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ze};var Dt=Object.freeze({default:Ft}),qt=Dt&&Ft||Dt;return qt.default||qt}); |