import{__commonJS,__export,__toESM,require_memoizerific}from"./chunk-ZEU7PDD3.js";varrequire_object_assign=__commonJS({"../../node_modules/object-assign/index.js"(exports,module){"use strict";vargetOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty3=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;functiontoObject(val){if(val==null)thrownewTypeError("Object.assign cannot be called with null or undefined");returnObject(val)}functionshouldUseNative(){try{if(!Object.assign)return!1;vartest1=newString("abc");if(test1[5]="de",Object.getOwnPropertyNames(test1)[0]==="5")return!1;for(vartest2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;varorder2=Object.getOwnPropertyNames(test2).map(function(n){returntest2[n]});if(order2.join("")!=="0123456789")return!1;vartest3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),Object.keys(Object.assign({},test3)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}module.exports=shouldUseNative()?Object.assign:function(target,source){for(varfrom2,to=toObject(target),symbols,s=1;s<arguments.length;s++){from2=Object(arguments[s]);for(varkeyinfrom2)hasOwnProperty3.call(from2,key)&&(to[key]=from2[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from2);for(vari=0;i<symbols.length;i++)propIsEnumerable.call(from2,symbols[i])&&(to[symbols[i]]=from2[symbols[i]])}}returnto}}});varrequire_ReactPropTypesSecret=__commonJS({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports,module){"use strict";varReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret}});varrequire_has=__commonJS({"../../node_modules/prop-types/lib/has.js"(exports,module){module.exports=Function.call.bind(Object.prototype.hasOwnProperty)}});varrequire_checkPropTypes=__commonJS({"../../node_modules/prop-types/checkPropTypes.js"(exports,module){"use strict";varprintWarning=function(){};ReactPropTypesSecret=require_ReactPropTypesSecret(),loggedTypeFailures={},has=require_has(),printWarning=function(text){varmessage="Warning: "+text;typeofconsole<"u"&&console.error(message);try{thrownewError(message)}catch{}};varReactPropTypesSecret,loggedTypeFailures,has;functioncheckPropTypes(typeSpecs,values,location,componentName,getStack){for(vartypeSpecNameintypeSpecs)if(has(typeSpecs,typeSpecName)){varerror;try{if(typeoftypeSpecs[typeSpecName]!="function"){varerr=Error((componentName||"React class")+": "+location+" type `"+typeSpecName+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeoftypeSpecs[typeSpecName]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throwerr.name="Invariant Violation",err}error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(error&&!(errorinstanceofError)&&printWarning((componentName||"React class")+": type specification of "+location+" `"+typeSpecName+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeoferror+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),errorinstanceofError&&!(error.messageinloggedTypeFailures)){loggedTypeFailures[error.message]=!0;varstack=getStack?getStack():"";printWarning("Failed "+location+" type: "+error.message+(stack??""))}}}checkPropTypes.resetWarningCache=function(){loggedTypeFailures={}};module.exports=checkPropTypes}});varrequire_react_development=__commonJS({"../../node_modules/react/cjs/react.development.js"(exports){"use strict";(function(){"use strict";var_assign=require_object_assign(),checkPropTypes=require_checkPropTypes(),ReactVersion="16.14.0",hasSymbol=typeofSymbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for
in`+(name||"Unknown")+sourceInfo}var Resolved=1;function refineResolvedLazyComponent(lazyComponent){return lazyComponent._status===Resolved?lazyComponent._result:null}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_BLOCK_TYPE:return getComponentName(type.render);case REACT_LAZY_TYPE:{var thenable=type,resolvedThenable=refineResolvedLazyComponent(thenable);if(resolvedThenable)return getComponentName(resolvedThenable);break}}return null}var ReactDebugCurrentFrame={},currentlyValidatingElement=null;function setCurrentlyValidatingElement(element){currentlyValidatingElement=element}ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFrame.getStackAddendum=function(){var stack="";if(currentlyValidatingElement){var name=getComponentName(currentlyValidatingElement.type),owner=currentlyValidatingElement._owner;stack+=describeComponentFrame(name,currentlyValidatingElement._source,owner&&getComponentName(owner.type))}var impl=ReactDebugCurrentFrame.getCurrentStack;return impl&&(stack+=impl()||""),stack};var IsSomeRendererActing={current:!1},ReactSharedInternals={ReactCurrentDispatcher,ReactCurrentBatchConfig,ReactCurrentOwner,IsSomeRendererActing,assign:_assign};_assign(ReactSharedInternals,{ReactDebugCurrentFrame,ReactComponentTreeHook:{}});function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(`
in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format2.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}var didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){{var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;if(didWarnStateUpdateForUnmountedComponent[warningKey])return;error("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.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0}}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},emptyObject={};Object.freeze(emptyObject);function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){if(!(typeof partialState=="object"||typeof partialState=="function"||partialState==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};{var deprecatedAPIs={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)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){warn("%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;pureComponentPrototype.constructor=PureComponent,_assign(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;function createRef(){var refObject={current:null};return Object.seal(refObject),refObject}var hasOwnProperty3=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0},specialPropKeyWarningShown,specialPropRefWarningShown,didWarnAboutStringRefs;didWarnAboutStringRefs={};function hasValidRef(config){if(hasOwnProperty3.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return config.ref!==void 0}function hasValidKey(config){if(hasOwnProperty3.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return config.key!==void 0}function defineKeyPropWarningGetter(props,displayName){var
Seehttps://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return dispatcher}function useContext3(Context,unstable_observedBits){var dispatcher=resolveDispatcher();if(unstable_observedBits!==void 0&&error("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",unstable_observedBits,typeof unstable_observedBits=="number"&&Array.isArray(arguments[2])?`
Didyoucallarray.map(useContext)?CallingHooksinsidealoopisnotsupported.Learnmoreathttps://fb.me/rules-of-hooks`:""),Context._context!==void 0){var realContext=Context._context;realContext.Consumer===Context?error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):realContext.Provider===Context&&error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return dispatcher.useContext(Context,unstable_observedBits)}function useState(initialState){var dispatcher=resolveDispatcher();return dispatcher.useState(initialState)}function useReducer(reducer,initialArg,init){var dispatcher=resolveDispatcher();return dispatcher.useReducer(reducer,initialArg,init)}function useRef2(initialValue){var dispatcher=resolveDispatcher();return dispatcher.useRef(initialValue)}function useEffect(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useEffect(create3,deps)}function useLayoutEffect2(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useLayoutEffect(create3,deps)}function useCallback(callback,deps){var dispatcher=resolveDispatcher();return dispatcher.useCallback(callback,deps)}function useMemo(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useMemo(create3,deps)}function useImperativeHandle(ref,create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useImperativeHandle(ref,create3,deps)}function useDebugValue(value,formatterFn){{var dispatcher=resolveDispatcher();return dispatcher.useDebugValue(value,formatterFn)}}var propTypesMisspellWarningShown;propTypesMisspellWarningShown=!1;function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentName(ReactCurrentOwner.current.type);if(name)return`
Checkthetop-levelrendercallusing<`+parentName+">.")}return info}function validateExplicitKey(element,parentType){if(!(!element._store||element._store.validated||element.key!=null)){element._store.validated=!0;var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentName(element._owner.type)+"."),setCurrentlyValidatingElement(element),error('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',currentComponentErrorInfo,childOwner),setCurrentlyValidatingElement(null)}}}function validateChildKeys(node2,parentType){if(typeof node2=="object"){if(Array.isArray(node2))for(var i=0;i<node2.length;i++){var child=node2[i];isValidElement(child)&&validateExplicitKey(child,parentType)}else if(isValidElement(node2))node2._store&&(node2._store.validated=!0);else if(node2){var iteratorFn=getIteratorFn(node2);if(typeof iteratorFn=="function"&&iteratorFn!==node2.entries)for(var iterator=iteratorFn.call(node2),step;!(step=iterator.next()).done;)isValidElement(step.value)&&validateExplicitKey(step.value,parentType)}}}function validatePropTypes(element){{var type=element.type;if(type==null||typeof type=="string")return;var name=getComponentName(type),propTypes;if(typeof type=="function")propTypes=type.propTypes;else if(typeof type=="object"&&(type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_MEMO_TYPE))propTypes=type.propTypes;else return;propTypes?(setCurrentlyValidatingElement(element),checkPropTypes(propTypes,element.props,"prop",name,ReactDebugCurrentFrame.getStackAddendum),setCurrentlyValidatingElement(null)):type.PropTypes!==void 0&&!propTypesMisspellWarningShown&&(propTypesMisspellWarningShown=!0,error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",name||"Unknown")),typeof type.getDefaultProps=="function"&&!type.getDefaultProps.isReactClassApproved&&error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function validateFragmentProps(fragment){{setCurrentlyValidatingElement(fragment);for(var keys=Object.keys(fragment.props),i=0;i<keys.length;i++){var key=keys[i];if(key!=="children"&&key!=="key"){error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",key);break}}fragment.ref!==null&&error("Invalid attribute `ref` supplied to `React.Fragment`."),setCurrentlyValidatingElement(null)}}function createElementWithValidation(type,props,children){var validType=isValidElementType(type);if(!validType){var info="";(type===void 0||typeof type=="object"&&type!==null&&Object.keys(type).length===0)&&(info+=" 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 sourceInfo=getSourceInfoErrorAddendumForProps(props);sourceInfo?info+=sourceInfo:info+=getDeclarationErrorAddendum();var typeString;type===null?typeString="null":Array.isArray(type)?typeString="array":type!==void 0&&type.$$typeof===REACT_ELEMENT_TYPE?(typeString="<"+(getComponentName(type.type)||"Unknown")+" />",info=" Did you accidentally export a JSX literal instead of a component?"):typeString=typeof type,error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",typeString,info)}var element=createElement2.apply(this,arguments);if(element==null)return element;if(validType)for(var i=2;i<arguments.length;i++)validateChildKeys(arguments[i],type);return type===REACT_FRAGMENT_TYPE?validateFragmentProps(element):validatePropTypes(element),element}var didWarnAboutDeprecatedCreateFactory=!1;function createFactoryWithValidation(type){var validatedFactory=createElementWithValidation.bind(null,type);retur
in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format2.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}if(!React3)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error2){this.onError(error2)}};if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fakeNode=document.createElement("react"),invokeGuardedCallbackDev=function(name,func,context,a,b,c,d,e,f){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var evt=document.createEvent("Event"),didError=!0,windowEvent=window.event,windowEventDescriptor=Object.getOwnPropertyDescriptor(window,"event"),funcArgs=Array.prototype.slice.call(arguments,3);function callCallback2(){fakeNode.removeEventListener(evtType,callCallback2,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=windowEvent),func.apply(context,funcArgs),didError=!1}var error2,didSetError=!1,isCrossOriginError=!1;function handleWindowError(event){if(error2=event.error,didSetError=!0,error2===null&&event.colno===0&&event.lineno===0&&(isCrossOriginError=!0),event.defaultPrevented&&error2!=null&&typeof error2=="object")try{error2._suppressLogging=!0}catch{}}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",handleWindowError),fakeNode.addEventListener(evtType,callCallback2,!1),evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),windowEventDescriptor&&Object.defineProperty(window,"event",windowEventDescriptor),didError&&(didSetError?isCrossOriginError&&(error2=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error2=new Error(`Anerrorwasthrowninsideoneofyourcomponents,butReactdoesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It'spossiblethatthesedon'tworkinyourbrowser.Trytriggeringtheerrorinproductionmode,orswitchingtoamodernbrowser.IfyoususpectthatthisisactuallyanissuewithReact,pleasefileanissue.`),this.onError(error2)),window.removeEventListener("error",handleWindowError)};invokeGuardedCallbackImpl=invokeGuardedCallbackDev}var invokeGuardedCallbackImpl$1=invokeGuardedCallbackImpl,hasError=!1,caughtError=null,hasRethrowError=!1,rethrowError=null,reporter={onError:function(error2){hasError=!0,caughtError=error2}};function invokeGuardedCallback(name,func,context,a,b,c,d,e,f){hasError=!1,caughtError=null,invokeGuardedCallbackImpl$1.apply(reporter,arguments)}function invokeGuardedCallbackAndCatchFirstError(name,func,context,a,b,c,d,e,f){if(invokeGuardedCallback.apply(this,arguments),hasError){var error2=clearCaughtError();hasRethrowError||(hasRethrowError=!0,rethrowError=error2)}}function rethrowCaughtError(){if(hasRethrowError){var error2=rethrowError;throw hasRethrowError=!1,rethrowError=null,error2}}function hasCau
constMyComponent=lazy(()=>import('./MyComponent'))`,moduleObject),lazyComponent._status=Resolved,lazyComponent._result=defaultExport}},function(error2){lazyComponent._status===Pending&&(lazyComponent._status=Rejected,lazyComponent._result=error2)})}}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_BLOCK_TYPE:return getComponentName(type.render);case REACT_LAZY_TYPE:{var thenable=type,resolvedThenable=refineResolvedLazyComponent(thenable);if(resolvedThenable)return getComponentName(resolvedThenable);break}}return null}var ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function describeFiber(fiber){switch(fiber.tag){case HostRoot:case HostPortal:case HostText:case Fragment2:case ContextProvider:case ContextConsumer:return"";default:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber.type),ownerName=null;return owner&&(ownerName=getComponentName(owner.type)),describeComponentFrame(name,source,ownerName)}}function getStackByFiberInDevAndProd(workInProgress2){var info="",node2=workInProgress2;do info+=describeFiber(node2),node2=node2.return;while(node2);return info}var current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentName(owner.type)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame$1.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame$1.getCurrentStack=getCurrentFiberStackInDev,current=fiber,isRendering=!1}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"object":case"string":case"undefined":return value;default:return""}}var ReactDebugCurrentFrame$2=null,ReactControlledValuePropTypes={checkPropTypes:null};{ReactDebugCurrentFrame$2=ReactSharedInternals.ReactDebugCurrentFrame;var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props){c
Checktherendermethodof\``+ownerName+"`.":""}varvaluePropNames=["value","defaultValue"];functioncheckSelectPropTypes(props){{ReactControlledValuePropTypes.checkPropTypes("select",props);for(vari=0;i<valuePropNames.length;i++){varpropName=valuePropNames[i];if(props[propName]!=null){varisArray2=Array.isArray(props[propName]);props.multiple&&!isArray2?error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum()):!props.multiple&&isArray2&&error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}functionupdateOptions(node2,multiple,propValue,setDefaultSelected){varoptions=node2.options;if(multiple){for(varselectedValues=propValue,selectedValue={},i=0;i<selectedValues.length;i++)selectedValue["$"+selectedValues[i]]=!0;for(var_i=0;_i<options.length;_i++){varselected=selectedValue.hasOwnProperty("$"+options[_i].value);options[_i].selected!==selected&&(options[_i].selected=selected),selected&&setDefaultSelected&&(options[_i].defaultSelected=!0)}}else{for(var_selectedValue=toString(getToStringValue(propValue)),defaultSelected=null,_i2=0;_i2<options.length;_i2++){if(options[_i2].value===_selectedValue){options[_i2].selected=!0,setDefaultSelected&&(options[_i2].defaultSelected=!0);return}defaultSelected===null&&!options[_i2].disabled&&(defaultSelected=options[_i2])}defaultSelected!==null&&(defaultSelected.selected=!0)}}functiongetHostProps$2(element,props){return_assign({},props,{value:void0})}functioninitWrapperState$1(element,props){varnode2=element;checkSelectPropTypes(props),node2._wrapperState={wasMultiple:!!props.multiple},props.value!==void0&&props.defaultValue!==void0&&!didWarnValueDefaultValue$1&&(error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValueDefaultValue$1=!0)}functionpostMountWrapper$2(element,props){varnode2=element;node2.multiple=!!props.multiple;varvalue=props.value;value!=null?updateOptions(node2,!!props.multiple,value,!1):props.defaultValue!=null&&updateOptions(node2,!!props.multiple,props.defaultValue,!0)}functionpostUpdateWrapper(element,props){varnode2=element,wasMultiple=node2._wrapperState.wasMultiple;node2._wrapperState.wasMultiple=!!props.multiple;varvalue=props.value;value!=null?updateOptions(node2,!!props.multiple,value,!1):wasMultiple!==!!props.multiple&&(props.defaultValue!=null?updateOptions(node2,!!props.multiple,props.defaultValue,!0):updateOptions(node2,!!props.multiple,props.multiple?[]:"",!1))}functionrestoreControlledState$1(element,props){varnode2=element,value=props.value;value!=null&&updateOptions(node2,!!props.multiple,value,!1)}vardidWarnValDefaultVal=!1;functiongetHostProps$3(element,props){varnode2=element;if(props.dangerouslySetInnerHTML!=null)throwError("`dangerouslySetInnerHTML` does not make sense on <textarea>.");varhostProps=_assign({},props,{value:void0,defaultValue:void0,children:toString(node2._wrapperState.initialValue)});returnhostProps}functioninitWrapperState$2(element,props){varnode2=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props),props.value!==void0&&props.defaultValue!==void0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);varinitialValue=props.value;if(initialValue==null){varchildren=props.children,defaultValue=props.defaultValue;if(children!=null){error("Usethe`defaultValue`or`value`propsinsteadofsettingchildrenon
`).replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,error('Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,error("Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach(function(name){names.push(name)}),error("Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){listener===!1?error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",registrationName,registrationName,registrationName):error("Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener)},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE$1?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML}}function ensureListeningTo(rootContainerElement,registrationName){var isDocumentOrFragment=rootContainerElement.nodeType===DOCUMENT_NODE||rootContainerElement.nodeType===DOCUMENT_FRAGMENT_NODE,doc=isDocumentOrFragment?rootContainerElement:rootContainerElement.ownerDocument;legacyListenToEvent(registrationName,doc)}function getOwnerDocumentFromRootContainer(rootContainerElement){return rootContainerElement.nodeType===DOCUMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument}function noop(){}function trapClickOnNonInteractiveElement(node2){node2.onclick=noop}function setInitialDOMProperties(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if(propKey===STYLE)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML$1]:void 0;nextHtml!=null&&setInnerHTML(domElement,nextHtml)}else if(propKey===CHILDREN)if(typeof nextProp=="string"){var canSetTextContent=tag!=="textarea"||nextProp!=="";canSetTextContent&&setTextContent(domElement,nextProp)}else typeof nextProp=="number"&&setTextContent(domElement,""+nextProp);else propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?nextProp!=null&&(typeof nextProp!="function"&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):nextProp!=null&&setValueForProperty(domElement,propKey,nextProp,isCustomComponentTag))}}function updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];propKey===STYLE?setValueForStyles(domElement,propValue):propKey===DANGEROUSLY_SET_INNER_HTML?setInnerHTML(domElement,propValue):propKey===CHILDREN?setTextContent(domElement,propValue):setValueForProperty(domElement,propKey,propValue,isCustomComponentTag)}}function createElement2(type,props,rootContainerElement,parentNamespace){var isCustomComponentTag,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerEle
Pleaseupdatethefollowingcomponents:%s`,sortedNames)}if(UNSAFE_componentWillReceivePropsUniqueNames.size>0){var _sortedNames=setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames);error(`UsingUNSAFE_componentWillReceivePropsinstrictmodeisnotrecommendedandmayindicatebugsinyourcode.Seehttps://fb.me/react-unsafe-component-lifecycles for details.
Pleaseupdatethefollowingcomponents:%s`,_sortedNames)}if(UNSAFE_componentWillUpdateUniqueNames.size>0){var _sortedNames2=setToSortedString(UNSAFE_componentWillUpdateUniqueNames);error(`UsingUNSAFE_componentWillUpdateinstrictmodeisnotrecommendedandmayindicatebugsinyourcode.Seehttps://fb.me/react-unsafe-component-lifecycles for details.
Pleaseupdatethefollowingcomponents:%s`,_sortedNames2)}if(componentWillMountUniqueNames.size>0){var _sortedNames3=setToSortedString(componentWillMountUniqueNames);warn(`componentWillMounthasbeenrenamed,andisnotrecommendedforuse.Seehttps://fb.me/react-unsafe-component-lifecycles for details.
*RenamecomponentWillMounttoUNSAFE_componentWillMounttosuppressthiswarninginnon-strictmode.InReact17.x,onlytheUNSAFE_namewillwork.Torenamealldeprecatedlifecyclestotheirnewnames,youcanrun\`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Pleaseupdatethefollowingcomponents:%s`,_sortedNames3)}if(componentWillReceivePropsUniqueNames.size>0){var _sortedNames4=setToSortedString(componentWillReceivePropsUniqueNames);warn(`componentWillReceivePropshasbeenrenamed,andisnotrecommendedforuse.Seehttps://fb.me/react-unsafe-component-lifecycles for details.
*RenamecomponentWillReceivePropstoUNSAFE_componentWillReceivePropstosuppressthiswarninginnon-strictmode.InReact17.x,onlytheUNSAFE_namewillwork.Torenamealldeprecatedlifecyclestotheirnewnames,youcanrun\`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Pleaseupdatethefollowingcomponents:%s`,_sortedNames4)}if(componentWillUpdateUniqueNames.size>0){var _sortedNames5=setToSortedString(componentWillUpdateUniqueNames);warn(`componentWillUpdatehasbeenrenamed,andisnotrecommendedforuse.Seehttps://fb.me/react-unsafe-component-lifecycles for details.
*RenamecomponentWillUpdatetoUNSAFE_componentWillUpdatetosuppressthiswarninginnon-strictmode.InReact17.x,onlytheUNSAFE_namewillwork.Torenamealldeprecatedlifecyclestotheirnewnames,youcanrun\`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Pleaseupdatethefollowingcomponents:%s`,_sortedNames5)}};var pendingLegacyContextWarning=new Map,didWarnAboutLegacyContext=new Set;ReactStrictModeWarnings.recordLegacyContextWarning=function(fiber,instance){var strictRoot=findStrictRoot(fiber);if(strictRoot===null){error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!didWarnAboutLegacyContext.has(fiber.type)){var warningsForRoot=pendingLegacyContextWarning.get(strictRoot);(fiber.type.contextTypes!=null||fiber.type.childContextTypes!=null||instance!==null&&typeof instance.getChildContext=="function")&&(warningsForRoot===void 0&&(warningsForRoot=[],pendingLegacyContextWarning.set(strictRoot,warningsForRoot)),warningsForRoot.push(fiber))}},ReactStrictModeWarnings.flushLegacyContextWarning=function(){pendingLegacyContextWarning.forEach(function(fiberArray,strictRoot){if(fiberArray.length!==0){var firstFiber=fiberArray[0],uniqueNames=new Set;fiberArray.forEach(function(fiber){uniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutLegacyContext.add(fiber.type)});var sortedNames=setToSortedString(uniqueNames),firstComponentStack=getStackByFiberInDevAndProd(firstFiber);error(`LegacycontextAPIhasbeendetectedwithinastrict-modetree.
`+foundWillUpdateName:""))}}}return isLegacyContextConsumer&&cacheContext(workInProgress2,unmaskedContext,context),instance}function callComponentWillMount(workInProgress2,instance){startPhaseTimer(workInProgress2,"componentWillMount");var oldState=instance.state;typeof instance.componentWillMount=="function"&&instance.componentWillMount(),typeof instance.UNSAFE_componentWillMount=="function"&&instance.UNSAFE_componentWillMount(),stopPhaseTimer(),oldState!==instance.state&&(error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",getComponentName(workInProgress2.type)||"Component"),classComponentUpdater.enqueueReplaceState(instance,instance.state,null))}function callComponentWillReceiveProps(workInProgress2,instance,newProps,nextContext){var oldState=instance.state;if(startPhaseTimer(workInProgress2,"componentWillReceiveProps"),typeof instance.componentWillReceiveProps=="function"&&instance.componentWillReceiveProps(newProps,nextContext),typeof instance.UNSAFE_componentWillReceiveProps=="function"&&instance.UNSAFE_componentWillReceiveProps(newProps,nextContext),stopPhaseTimer(),instance.state!==oldState){{var componentName=getComponentName(workInProgress2.type)||"Component";didWarnAboutStateAssignmentForComponent.has(componentName)||(didWarnAboutStateAssignmentForComponent.add(componentName),error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",componentName))}classComponentUpdater.enqueueReplaceState(instance,instance.state,null)}}function mountClassInstance(workInProgress2,ctor,newProps,renderExpirationTime2){checkClassInstance(workInProgress2,ctor,newProps);var instance=workInProgress2.stateNode;instance.props=newProps,instance.state=workInProgress2.memoizedState,instance.refs=emptyRefsObject,initializeUpdateQueue(workInProgress2);var contextType=ctor.contextType;if(typeof contextType=="object"&&contextType!==null)instance.context=readContext(contextType);else{var unmaskedContext=getUnmaskedContext(workInProgress2,ctor,!0);instance.context=getMaskedContext(workInProgress2,unmaskedContext)}{if(instance.state===newProps){var componentName=getComponentName(ctor)||"Component";didWarnAboutDirectlyAssigningPropsToState.has(componentName)||(didWarnAboutDirectlyAssigningPropsToState.add(componentName),error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",componentName))}workInProgress2.mode&StrictMode&&ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress2,instance),ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress2,instance)}processUpdateQueue(workInProgress2,newProps,instance,renderExpirationTime2),instance.state=workInProgress2.memoizedState;var getDerivedStateFromProps=ctor.getDerivedStateFromProps;typeof getDerivedStateFromProps=="function"&&(applyDerivedStateFromProps(workInProgress2,ctor,getDerivedStateFromProps,newProps),instance.state=workInProgress2.memoizedState),typeof ctor.getDerivedStateFromProps!="function"&&typeof instance.getSnapshotBeforeUpdate!="function"&&(typeof instance.UNSAFE_componentWillMount=="function"||typeof instance.componentWillMount=="function")&&(callComponentWillMount(workInProgress2,instance),processUpdateQueue(workInProgress2,newProps,instance,renderExpirationTime2),instance.state=workInProgress2.memoizedState),typeof instance.componentDidMount=="function"&&(workInProgress2.effectTag|=Update)}function resumeMountClassInstance(workInProgress2,ctor,newProps,renderExpirationTime2){var instance=workInProgress2.stateNode,oldProps=workInProgress2.memoizedProps;instance.props=oldProps;var oldContext=instance.context,contextType=ctor.contextType,nextContext=emptyContextObject;if(typeof contextType=="object"&&contextType!==null)nextContext=readContext(contextType);else{var nextLegacyUnmaskedContext=getUnmaskedContext(workInProgress2,ctor,!0);nextContext=getMaskedCont
Seehttps://fb.me/react-refs-must-have-owner for more information.`)}}return mixedRef}function throwOnInvalidObjectType(returnFiber,newChild){if(returnFiber.type!=="textarea"){var addendum="";throw addendum=" If you meant to render a collection of children, use an array instead."+getCurrentFiberStackInDev(),Error("Objects are not valid as a React child (found: "+(Object.prototype.toString.call(newChild)==="[object Object]"?"object with keys {"+Object.keys(newChild).join(", ")+"}":newChild)+")."+addendum)}}function warnOnFunctionType(){{var currentComponentErrorInfo="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+getCurrentFiberStackInDev();if(ownerHasFunctionTypeWarning[currentComponentErrorInfo])return;ownerHasFunctionTypeWarning[currentComponentErrorInfo]=!0,error("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function ChildReconciler(shouldTrackSideEffects){function deleteChild(returnFiber,childToDelete){if(shouldTrackSideEffects){var last=returnFiber.lastEffect;last!==null?(last.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete,childToDelete.nextEffect=null,childToDelete.effectTag=Deletion}}function deleteRemainingChildren(returnFiber,currentFirstChild){if(!shouldTrackSideEffects)return null;for(var childToDelete=currentFirstChild;childToDelete!==null;)deleteChild(returnFiber,childToDelete),childToDelete=childToDelete.sibling;return null}function mapRemainingChildren(returnFiber,currentFirstChild){for(var existingChildren=new Map,existingChild=currentFirstChild;existingChild!==null;)existingChild.key!==null?existingChildren.set(existingChild.key,existingChild):existingChildren.set(existingChild.index,existingChild),existingChild=existingChild.sibling;return existingChildren}function useFiber(fiber,pendingProps){var clone=createWorkInProgress(fiber,pendingProps);return clone.index=0,clone.sibling=null,clone}function placeChild(newFiber,lastPlacedIndex,newIndex){if(newFiber.index=newIndex,!shouldTrackSideEffects)return lastPlacedIndex;var current2=newFiber.alternate;if(current2!==null){var oldIndex=current2.index;return oldIndex<lastPlacedIndex?(newFiber.effectTag=Placement,lastPlacedIndex):oldIndex}else return newFiber.effectTag=Placement,lastPlacedIndex}function placeSingleChild(newFiber){return shouldTrackSideEffects&&newFiber.alternate===null&&(newFiber.effectTag=Placement),newFiber}function updateTextNode(returnFiber,current2,textContent,expirationTime){if(current2===null||current2.tag!==HostText){var created=createFiberFromText(textContent,returnFiber.mode,expirationTime);return created.return=returnFiber,created}else{var existing=useFiber(current2,textContent);return existing.return=returnFiber,existing}}function updateElement(returnFiber,current2,element,expirationTime){if(current2!==null&&(current2.elementType===element.type||isCompatibleFamilyForHotReloading(current2,element))){var existing=useFiber(current2,element.props);return existing.ref=coerceRef(returnFiber,current2,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}var created=createFiberFromElement(element,returnFiber.mode,expirationTime);return created.ref=coerceRef(returnFiber,current2,element),created.return=returnFiber,created}function updatePortal(returnFiber,current2,portal,expirationTime){if(current2===null||current2.tag!==HostPortal||current2.stateNode.containerInfo!==portal.containerInfo||current2.stateNode.implementation!==portal.implementation){var created=createFiberFromPortal(portal,returnFiber.mode,expirationTime);return created.return=returnFiber,created}else{var existing=useFiber(current2,portal.children||[]);return existing.return=returnFiber,existing}}function updateFragment2(returnFiber,current2,fragment,expirati
Seehttps://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`)}function areHookInputsEqual(nextDeps,prevDeps){if(ignorePreviousDependencies)return!1;if(prevDeps===null)return error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",currentHookNameInDev),!1;nextDeps.length!==prevDeps.length&&error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous:%s
Incoming:%s`,currentHookNameInDev,"["+prevDeps.join(", ")+"]","["+nextDeps.join(", ")+"]");for(var i=0;i<prevDeps.length&&i<nextDeps.length;i++)if(!objectIs(nextDeps[i],prevDeps[i]))return!1;return!0}function renderWithHooks(current2,workInProgress2,Component,props,secondArg,nextRenderExpirationTime){renderExpirationTime=nextRenderExpirationTime,currentlyRenderingFiber$1=workInProgress2,hookTypesDev=current2!==null?current2._debugHookTypes:null,hookTypesUpdateIndexDev=-1,ignorePreviousDependencies=current2!==null&¤t2.type!==workInProgress2.type,workInProgress2.memoizedState=null,workInProgress2.updateQueue=null,workInProgress2.expirationTime=NoWork,current2!==null&¤t2.memoizedState!==null?ReactCurrentDispatcher.current=HooksDispatcherOnUpdateInDEV:hookTypesDev!==null?ReactCurrentDispatcher.current=HooksDispatcherOnMountWithHookTypesInDEV:ReactCurrentDispatcher.current=HooksDispatcherOnMountInDEV;var children=Component(props,secondArg);if(workInProgress2.expirationTime===renderExpirationTime){var numberOfReRenders=0;do{if(workInProgress2.expirationTime=NoWork,!(numberOfReRenders<RE_RENDER_LIMIT))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");numberOfReRenders+=1,ignorePreviousDependencies=!1,currentHook=null,workInProgressHook=null,workInProgress2.updateQueue=null,hookTypesUpdateIndexDev=-1,ReactCurrentDispatcher.current=HooksDispatcherOnRerenderInDEV,children=Component(props,secondArg)}while(workInProgress2.expirationTime===renderExpirationTime)}ReactCurrentDispatcher.current=ContextOnlyDispatcher,workInProgress2._debugHookTypes=hookTypesDev;var didRenderTooFewHooks=currentHook!==null&¤tHook.next!==null;if(renderExpirationTime=NoWork,currentlyRenderingFiber$1=null,currentHook=null,workInProgressHook=null,currentHookNameInDev=null,hookTypesDev=null,hookTypesUpdateIndexDev=-1,didScheduleRenderPhaseUpdate=!1,didRenderTooFewHooks)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return children}function bailoutHooks(current2,workInProgress2,expirationTime){workInProgress2.updateQueue=current2.updateQueue,workInProgress2.effectTag&=~(Passive|Update),current2.expirationTime<=expirationTime&&(current2.expirationTime=NoWork)}function resetHooksAfterThrow(){if(ReactCurrentDispatcher.current=ContextOnlyDispatcher,didScheduleRenderPhaseUpdate)for(var hook=currentlyRenderingFiber$1.memoizedState;hook!==null;){var queue=hook.queue;queue!==null&&(queue.pending=null),hook=hook.next}renderExpirationTime=NoWork,currentlyRenderingFiber$1=null,currentHook=null,workInProgressHook=null,hookTypesDev=null,hookTypesUpdateIndexDev=-1,currentHookNameInDev=null,didScheduleRenderPhaseUpdate=!1}function mountWorkInProgressHook(){var hook={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return workInProgressHook===null?currentlyRenderingFiber$1.memoizedState=workInProgressHook=hook:workInProgressHook=workInProgressHook.next=hook,workInProgressHook}function updateWorkInProgressHook(){var nextCurrentHook;if(currentHook===null){var current2=currentlyRenderingFiber$1.alternate;current2!==null?nextCurrentHook=current2.memoizedState:nextCurrentHook=null}else nextCurrentHook=currentHook.next;var nextWorkInProgressHook;if(workInProgressHook===null?nextWorkInProgressHook=currentlyRenderingFiber$1.memoizedState:nextWorkInProgressHook=workInProgressHook.next,nextWorkInProgressHook!==null)workInProgressHook=nextWorkInProgressHook,nextWorkInProgressHook=workInProgressHook.next,currentHook=nextCurrentHook;else{if(nextCurrentHook===null)throw Error("Rendered more hooks than during the previous render.");currentHook=nextCurrentHook;var newHook={memoizedState:currentHook.memoizedState,baseState:currentHook.baseState,baseQueue:currentHook.baseQueue,queue:currentHook.queue,next:null};workInProgressHook===null?currentlyRenderingFiber$1.memoizedState=workInProgressHook=newHook:workInProgressHook=workInProgressHook.next=newHook}return workInProgressHook}function createFunctionComponentUpdateQueue(){return{lastEffect:n
Checktherendermethodof\``+ownerName+"`.");varwarningKey=ownerName||workInProgress2._debugID||"",debugSource=workInProgress2._debugSource;debugSource&&(warningKey=debugSource.fileName+":"+debugSource.lineNumber),didWarnAboutFunctionRefs[warningKey]||(didWarnAboutFunctionRefs[warningKey]=!0,error("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",info))}if(typeofComponent.getDerivedStateFromProps=="function"){var_componentName2=getComponentName(Component)||"Unknown";didWarnAboutGetDerivedStateOnFunctionComponent[_componentName2]||(error("%s: Function components do not support getDerivedStateFromProps.",_componentName2),didWarnAboutGetDerivedStateOnFunctionComponent[_componentName2]=!0)}if(typeofComponent.contextType=="object"&&Component.contextType!==null){var_componentName3=getComponentName(Component)||"Unknown";didWarnAboutContextTypeOnFunctionComponent[_componentName3]||(error("%s: Function components do not support contextType.",_componentName3),didWarnAboutContextTypeOnFunctionComponent[_componentName3]=!0)}}}varSUSPENDED_MARKER={dehydrated:null,retryTime:NoWork};functionshouldRemainOnFallback(suspenseContext,current2,workInProgress2){returnhasSuspenseContext(suspenseContext,ForceSuspenseFallback)&&(current2===null||current2.memoizedState!==null)}functionupdateSuspenseComponent(current2,workInProgress2,renderExpirationTime2){varmode=workInProgress2.mode,nextProps=workInProgress2.pendingProps;shouldSuspend(workInProgress2)&&(workInProgress2.effectTag|=DidCapture);varsuspenseContext=suspenseStackCursor.current,nextDidTimeout=!1,didSuspend=(workInProgress2.effectTag&DidCapture)!==NoEffect;if(didSuspend||shouldRemainOnFallback(suspenseContext,current2)?(nextDidTimeout=!0,workInProgress2.effectTag&=~DidCapture):(current2===null||current2.memoizedState!==null)&&nextProps.fallback!==void0&&nextProps.unstable_avoidThisFallback!==!0&&(suspenseContext=addSubtreeSuspenseContext(suspenseContext,InvisibleParentSuspenseContext)),suspenseContext=setDefaultShallowSuspenseContext(suspenseContext),pushSuspenseContext(workInProgress2,suspenseContext),current2===null)if(nextProps.fallback!==void0&&tryToClaimNextHydratableInstance(workInProgress2),nextDidTimeout){varnextFallbackChildren=nextProps.fallback,primaryChildFragment=createFiberFromFragment(null,mode,NoWork,null);if(primaryChildFragment.return=workInProgress2,(workInProgress2.mode&BlockingMode)===NoMode){varprogressedState=workInProgress2.memoizedState,progressedPrimaryChild=progressedState!==null?workInProgress2.child.child:workInProgress2.child;primaryChildFragment.child=progressedPrimaryChild;for(varprogressedChild=progressedPrimaryChild;progressedChild!==null;)progressedChild.return=primaryChildFragment,progressedChild=progressedChild.sibling}varfallbackChildFragment=createFiberFromFragment(nextFallbackChildren,mode,renderExpirationTime2,null);returnfallbackChildFragment.return=workInProgress2,primaryChildFragment.sibling=fallbackChildFragment,workInProgress2.memoizedState=SUSPENDED_MARKER,workInProgress2.child=primaryChildFragment,fallbackChildFragment}else{varnextPrimaryChildren=nextProps.children;returnworkInProgress2.memoizedState=null,workInProgress2.child=mountChildFibers(workInProgress2,null,nextPrimaryChildren,renderExpirationTime2)}else{varprevState=current2.memoizedState;if(prevState!==null){varcurrentPrimaryChildFragment=current2.child,currentFallbackChildFragment=currentPrimaryChildFragment.sibling;if(nextDidTimeout){var_nextFallbackChildren2=nextProps.fallback,_primaryChildFragment2=createWorkInProgress(currentPrimaryChildFragment,currentPrimaryChildFragment.pendingProps);if(_primaryChildFragment2.return=workInProgress2,(workInProgress2.mode&BlockingMode)===NoMode){var_progressedState=workInProgress2.memoizedState,_progressedPrimaryChild=_progressedState!==null?workInProgress2.child.child:workInProgress2.child;if(_progressedPrimaryChild!==currentPrimaryChildFragment.child){_primaryChildFragment2.child=_progressedPrimaryChild;for(var_progressedChild2=_progresse
Visithttps://fb.me/react-error-boundaries to learn more about error boundaries.`;var combinedMessage=""+componentNameMessage+componentStack+`
`+(""+errorBoundaryMessage);console.error(combinedMessage)}}var didWarnAboutUndefinedSnapshotBeforeUpdate=null;didWarnAboutUndefinedSnapshotBeforeUpdate=new Set;var PossiblyWeakSet=typeof WeakSet=="function"?WeakSet:Set;function logError(boundary,errorInfo){var source=errorInfo.source,stack=errorInfo.stack;stack===null&&source!==null&&(stack=getStackByFiberInDevAndProd(source));var capturedError={componentName:source!==null?getComponentName(source.type):null,componentStack:stack!==null?stack:"",error:errorInfo.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};boundary!==null&&boundary.tag===ClassComponent&&(capturedError.errorBoundary=boundary.stateNode,capturedError.errorBoundaryName=getComponentName(boundary.type),capturedError.errorBoundaryFound=!0,capturedError.willRetry=!0);try{logCapturedError(capturedError)}catch(e){setTimeout(function(){throw e})}}var callComponentWillUnmountWithTimer=function(current2,instance){startPhaseTimer(current2,"componentWillUnmount"),instance.props=current2.memoizedProps,instance.state=current2.memoizedState,instance.componentWillUnmount(),stopPhaseTimer()};function safelyCallComponentWillUnmount(current2,instance){if(invokeGuardedCallback(null,callComponentWillUnmountWithTimer,null,current2,instance),hasCaughtError()){var unmountError=clearCaughtError();captureCommitPhaseError(current2,unmountError)}}function safelyDetachRef(current2){var ref=current2.ref;if(ref!==null)if(typeof ref=="function"){if(invokeGuardedCallback(null,ref,null,null),hasCaughtError()){var refError=clearCaughtError();captureCommitPhaseError(current2,refError)}}else ref.current=null}function safelyCallDestroy(current2,destroy){if(invokeGuardedCallback(null,destroy,null),hasCaughtError()){var error2=clearCaughtError();captureCommitPhaseError(current2,error2)}}function commitBeforeMutationLifeCycles(current2,finishedWork){switch(finishedWork.tag){case FunctionComponent:case ForwardRef:case SimpleMemoComponent:case Block:return;case ClassComponent:{if(finishedWork.effectTag&Snapshot&¤t2!==null){var prevProps=current2.memoizedProps,prevState=current2.memoizedState;startPhaseTimer(finishedWork,"getSnapshotBeforeUpdate");var instance=finishedWork.stateNode;finishedWork.type===finishedWork.elementType&&!didWarnAboutReassigningProps&&(instance.props!==finishedWork.memoizedProps&&error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance"),instance.state!==finishedWork.memoizedState&&error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance"));var snapshot=instance.getSnapshotBeforeUpdate(finishedWork.elementType===finishedWork.type?prevProps:resolveDefaultProps(finishedWork.type,prevProps),prevState);{var didWarnSet=didWarnAboutUndefinedSnapshotBeforeUpdate;snapshot===void 0&&!didWarnSet.has(finishedWork.type)&&(didWarnSet.add(finishedWork.type),error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",getComponentName(finishedWork.type)))}instance.__reactInternalSnapshotBeforeUpdate=snapshot,stopPhaseTimer()}return}case HostRoot:case HostComponent:case HostText:case HostPortal:case IncompleteClassComponent:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function commitHookEffectListUnmount(tag,finishedWork){var updateQueue=finishedWork.updateQueue,lastEffect=updateQueue!==null?updateQueue.lastEffect:null;if(lastEffect!==null){var firstEffect=lastEffect.next,effect=firstEffect;do{if((effect.tag&tag)===tag){var destroy=effect.destroy;effect.destroy=void 0,destroy!==void 0&&destroy()}effect=effect.next}while(effect!==firstEffect)}}function commitHookEffec
},[someId]);// Or [] if effect doesn't need props or state
LearnmoreaboutdatafetchingwithHooks:https://fb.me/react-hooks-data-fetching`:addendum=" You returned: "+destroy,error("An effect function must not return anything besides a function, which is used for clean-up.%s%s",addendum,getStackByFiberInDevAndProd(finishedWork))}}}effect=effect.next}while(effect!==firstEffect)}}function commitPassiveHookEffects(finishedWork){if((finishedWork.effectTag&Passive)!==NoEffect)switch(finishedWork.tag){case FunctionComponent:case ForwardRef:case SimpleMemoComponent:case Block:{commitHookEffectListUnmount(Passive$1|HasEffect,finishedWork),commitHookEffectListMount(Passive$1|HasEffect,finishedWork);break}}}function commitLifeCycles(finishedRoot,current2,finishedWork,committedExpirationTime){switch(finishedWork.tag){case FunctionComponent:case ForwardRef:case SimpleMemoComponent:case Block:{commitHookEffectListMount(Layout|HasEffect,finishedWork);return}case ClassComponent:{var instance=finishedWork.stateNode;if(finishedWork.effectTag&Update)if(current2===null)startPhaseTimer(finishedWork,"componentDidMount"),finishedWork.type===finishedWork.elementType&&!didWarnAboutReassigningProps&&(instance.props!==finishedWork.memoizedProps&&error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance"),instance.state!==finishedWork.memoizedState&&error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance")),instance.componentDidMount(),stopPhaseTimer();else{var prevProps=finishedWork.elementType===finishedWork.type?current2.memoizedProps:resolveDefaultProps(finishedWork.type,current2.memoizedProps),prevState=current2.memoizedState;startPhaseTimer(finishedWork,"componentDidUpdate"),finishedWork.type===finishedWork.elementType&&!didWarnAboutReassigningProps&&(instance.props!==finishedWork.memoizedProps&&error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance"),instance.state!==finishedWork.memoizedState&&error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance")),instance.componentDidUpdate(prevProps,prevState,instance.__reactInternalSnapshotBeforeUpdate),stopPhaseTimer()}var updateQueue=finishedWork.updateQueue;updateQueue!==null&&(finishedWork.type===finishedWork.elementType&&!didWarnAboutReassigningProps&&(instance.props!==finishedWork.memoizedProps&&error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance"),instance.state!==finishedWork.memoizedState&&error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",getComponentName(finishedWork.type)||"instance")),commitUpdateQueue(finishedWork,updateQueue,instance));return}case HostRoot:{var _updateQueue=finishedWork.updateQueue;if(_updateQueue!==null){var _instance=null;if(finishedWork.child!==null)switch(finishedWork.child.tag){case HostComponent:_instance=finishedWork.child.stateNode;break;case ClassComponent:_instance=finishedWork.child.stateNode;break}commitUpdateQueue(finishedWork,_updateQueue,_instance)}return}case HostComponent:{var _instance2=finishedWork.stateNode;if(current2===null&&finishedWork.effectTag&Update){var type=finishedWork.type,props
Thisensuresthatyou'retestingthebehaviortheuserwouldseeinthebrowser.Learnmoreathttps://fb.me/react-wrap-tests-with-act%s`,getComponentName(fiber.type),getStackByFiberInDevAndProd(fiber))}function warnIfNotCurrentlyActingUpdatesInDEV(fiber){executionContext===NoContext&&IsSomeRendererActing.current===!1&&IsThisRendererActing.current===!1&&error(`An update to %s inside a test was not wrapped in act(...).
Thisensuresthatyou'retestingthebehaviortheuserwouldseeinthebrowser.Learnmoreathttps://fb.me/react-wrap-tests-with-act%s`,getComponentName(fiber.type),getStackByFiberInDevAndProd(fiber))}var warnIfNotCurrentlyActingUpdatesInDev=warnIfNotCurrentlyActingUpdatesInDEV,didWarnAboutUnmockedScheduler=!1;function warnIfUnmockedScheduler(fiber){didWarnAboutUnmockedScheduler===!1&&Scheduler.unstable_flushAllWithoutAsserting===void 0&&(fiber.mode&BlockingMode||fiber.mode&ConcurrentMode)&&(didWarnAboutUnmockedScheduler=!0,error(`In Concurrent or Sync modes, the "scheduler" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest:
Formoreinfo,visithttps://fb.me/react-mock-scheduler`))}function computeThreadID(root2,expirationTime){return expirationTime*1e3+root2.interactionThreadID}function markSpawnedWork(expirationTime){spawnedWorkDuringRender===null?spawnedWorkDuringRender=[expirationTime]:spawnedWorkDuringRender.push(expirationTime)}function scheduleInteractions(root2,expirationTime,interactions){if(interactions.size>0){var pendingInteractionMap=root2.pendingInteractionMap,pendingInteractions=pendingInteractionMap.get(expirationTime);pendingInteractions!=null?interactions.forEach(function(interaction){pendingInteractions.has(interaction)||interaction.__count++,pendingInteractions.add(interaction)}):(pendingInteractionMap.set(expirationTime,new Set(interactions)),interactions.forEach(function(interaction){interaction.__count++}));var subscriber=tracing.__subscriberRef.current;if(subscriber!==null){var threadID=computeThreadID(root2,expirationTime);subscriber.onWorkScheduled(interactions,threadID)}}}function schedulePendingInteractions(root2,expirationTime){scheduleInteractions(root2,expirationTime,tracing.__interactionsRef.current)}function startWorkOnPendingInteractions(root2,expirationTime){var interactions=new Set;if(root2.pendingInteractionMap.forEach(function(scheduledInteractions,scheduledExpirationTime){scheduledExpirationTime>=expirationTime&&scheduledInteractions.forEach(function(interaction){return interactions.add(interaction)})}),root2.memoizedInteractions=interactions,interactions.size>0){var subscriber=tracing.__subscriberRef.current;if(subscriber!==null){var threadID=computeThreadID(root2,expirationTime);try{subscriber.onWorkStarted(interactions,threadID)}catch(error2){scheduleCallback(ImmediatePriority,function(){throw error2})}}}}function finishPendingInteractions(root2,committedExpirationTime){var earliestRemainingTimeAfterCommit=root2.firstPendingTime,subscriber;try{if(subscriber=tracing.__subscriberRef.current,subscriber!==null&&root2.memoizedInteractions.size>0){var threadID=computeThreadID(root2,committedExpirationTime);subscriber.onWorkStopped(root2.memoizedInteractions,threadID)}}catch(error2){scheduleCallback(ImmediatePriority,function(){throw error2})}finally{var pendingInteractionMap=root2.pendingInteractionMap;pendingInteractionMap.forEach(function(scheduledInteractions,scheduledExpirationTime){scheduledExpirationTime>earliestRemainingTimeAfterCommit&&(pendingInteractionMap.delete(scheduledExpirationTime),scheduledInteractions.forEach(function(interaction){if(interaction.__count--,subscriber!==null&&interaction.__count===0)try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error2){scheduleCallback(ImmediatePriority,function(){throw error2})}}))})}}var onScheduleFiberRoot=null,onCommitFiberRoot=null,onCommitFiberUnmount=null,hasLoggedError=!1,isDevToolsPresent=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function injectInternals(internals){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var hook=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(hook.isDisabled)return!0;if(!hook.supportsFiber)return error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var rendererID=hook.inject(internals);typeof hook.onScheduleFiberRoot=="function"&&(onScheduleFiberRoot=function(root2,children){try{hook.onScheduleFiberRoot(rendererID,root2,children)}catch(err){hasLoggedError||(hasLoggedError=!0,error("React instrumentation encountered an error: %s",err))}}),onCommitFiberRoot=function(root2,expirationTime){try{var didError=(root2.current.effectTag&DidCapture)===DidCapture;if(enableProfilerTimer){var currentTime=getCurrentTime(),priorityLevel=inferPriorityFromExpirationTime(currentTime,expirationTime);hook.onCommitFiberRoot(rendererID,root2,priorityLevel,didError)}else hook.onCommitFiberRoot(rendererID,root2,void 0,didError)}catch(err){hasLoggedError||(hasLoggedError=!0,error("React instrumentation encountered an error: %s",err))}},onCommitFiberUnmount=function(fiber){try{hook.onCommitFiberUnmount(rende
Checktherendermethodof\``+ownerName+"`.")}throwError("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(type==null?type:typeoftype)+"."+info)}}returnfiber=createFiber(fiberTag,pendingProps,key,mode),fiber.elementType=type,fiber.type=resolvedType,fiber.expirationTime=expirationTime,fiber}functioncreateFiberFromElement(element,mode,expirationTime){varowner=null;owner=element._owner;vartype=element.type,key=element.key,pendingProps=element.props,fiber=createFiberFromTypeAndProps(type,key,pendingProps,owner,mode,expirationTime);returnfiber._debugSource=element._source,fiber._debugOwner=element._owner,fiber}functioncreateFiberFromFragment(elements,mode,expirationTime,key){varfiber=createFiber(Fragment2,elements,key,mode);returnfiber.expirationTime=expirationTime,fiber}functioncreateFiberFromProfiler(pendingProps,mode,expirationTime,key){(typeofpendingProps.id!="string"||typeofpendingProps.onRender!="function")&&error('Profiler must specify an "id" string and "onRender" function as props');varfiber=createFiber(Profiler,pendingProps,key,mode|ProfileMode);returnfiber.elementType=REACT_PROFILER_TYPE,fiber.type=REACT_PROFILER_TYPE,fiber.expirationTime=expirationTime,fiber}functioncreateFiberFromSuspense(pendingProps,mode,expirationTime,key){varfiber=createFiber(SuspenseComponent,pendingProps,key,mode);returnfiber.type=REACT_SUSPENSE_TYPE,fiber.elementType=REACT_SUSPENSE_TYPE,fiber.expirationTime=expirationTime,fiber}functioncreateFiberFromSuspenseList(pendingProps,mode,expirationTime,key){varfiber=createFiber(SuspenseListComponent,pendingProps,key,mode);returnfiber.type=REACT_SUSPENSE_LIST_TYPE,fiber.elementType=REACT_SUSPENSE_LIST_TYPE,fiber.expirationTime=expirationTime,fiber}functioncreateFiberFromText(content,mode,expirationTime){varfiber=createFiber(HostText,content,null,mode);returnfiber.expirationTime=expirationTime,fiber}functioncreateFiberFromHostInstanceForDeletion(){varfiber=createFiber(HostComponent,null,null,NoMode);returnfiber.elementType="DELETED",fiber.type="DELETED",fiber}functioncreateFiberFromPortal(portal,mode,expirationTime){varpendingProps=portal.children!==null?portal.children:[],fiber=createFiber(HostPortal,pendingProps,portal.key,mode);returnfiber.expirationTime=expirationTime,fiber.stateNode={containerInfo:portal.containerInfo,pendingChildren:null,implementation:portal.implementation},fiber}functionassignFiberPropertiesInDEV(target,source){returntarget===null&&(target=createFiber(IndeterminateComponent,null,null,NoMode)),target.tag=source.tag,target.key=source.key,target.elementType=source.elementType,target.type=source.type,target.stateNode=source.stateNode,target.return=source.return,target.child=source.child,target.sibling=source.sibling,target.index=source.index,target.ref=source.ref,target.pendingProps=source.pendingProps,target.memoizedProps=source.memoizedProps,target.updateQueue=source.updateQueue,target.memoizedState=source.memoizedState,target.dependencies=source.dependencies,target.mode=source.mode,target.effectTag=source.effectTag,target.nextEffect=source.nextEffect,target.firstEffect=source.firstEffect,target.lastEffect=source.lastEffect,target.expirationTime=source.expirationTime,target.childExpirationTime=source.childExpirationTime,target.alternate=source.alternate,target.actualDuration=source.actualDuration,target.actualStartTime=source.actualStartTime,target.selfBaseDuration=source.selfBaseDuration,target.treeBaseDuration=source.treeBaseDuration,target._debugID=source._debugID,target._debugSource=source._debugSource,target._debugOwner=source._debugOwner,target._debugIsCurrentlyTiming=source._debugIsCurrentlyTiming,target._debugNeedsRemount=source._debugNeedsRemount,target._debugHookTypes=source._debugHookTypes,target}functionFiberRootNode(containerInfo,tag,hydrate2){this.tag=tag,this.current=null,this.containerInfo=containerInfo,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=NoWork,this.finishedWork=null,this.timeoutHandle=noTimeout,this.context=n
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFaceexpectsanameofafont-family.
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`Theanimationshorthandonlytakes8arguments.Seethespecificationformoreinformation:http://mdn.io/animation
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,UNDEFINED_AS_OBJECT_KEY_ERROR="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(property){return property.charCodeAt(1)===45},isProcessableValue=function(value){return value!=null&&typeof value!="boolean"},processStyleName=memoize(function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(key,value){switch(key){case"animation":case"animationName":if(typeof value=="string")return value.replace(animationRegex,function(match2,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1})}return unitlessKeys[key]!==1&&!isCustomProperty(key)&&typeof value=="number"&&value!==0?value+"px":value};contentValuePattern=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,contentValues=["normal","none","initial","inherit","unset"],oldProcessStyleValue=processStyleValue,msPattern=/^-ms-/,hyphenPattern=/-(.)/g,hyphenatedCache={},processStyleValue=function(key,value){if(key==="content"&&(typeof value!="string"||contentValues.indexOf(value)===-1&&!contentValuePattern.test(value)&&(value.charAt(0)!==value.charAt(value.length-1)||value.charAt(0)!=='"'&&value.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+value+"\"'`");var processed=oldProcessStyleValue(key,value);return processed!==""&&!isCustomProperty(key)&&key.indexOf("-")!==-1&&hyphenatedCache[key]===void 0&&(hyphenatedCache[key]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+key.replace(msPattern,"ms-").replace(hyphenPattern,function(str,_char){return _char.toUpperCase()})+"?")),processed};var contentValuePattern,contentValues,oldProcessStyleValue,msPattern,hyphenPattern,hyphenatedCache,noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation(mergedProps,registered,interpolation){if(interpolation==null)return"";if(interpolation.__emotion_styles!==void 0){if(interpolation.toString()==="NO_COMPONENT_SELECTOR")throw new Error(noComponentSelectorMessage);return interpolation}switch(typeof interpolation){case"boolean":return"";case"object":{if(interpolation.anim===1)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(interpolation.styles!==void 0){var next2=interpolation.next;if(next2!==void 0)for(;next2!==void 0;)cursor={name:next2.name,styles:next2.styles,next:cursor},next2=next2.next;var styles=interpolation.styles+";";return interpolation.map!==void 0&&(styles+=interpolation.map),styles}return createStringFromObject(mergedProps,registered,interpolation)}case"function":{if(mergedProps!==void 0){var previousCursor=cursor,result=interpolation(mergedProps);return cursor=previousCursor,handleInterpolation(mergedProps,registered,result)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var matched=[],replaced=interpolation.replace(animationRegex,function(match2,p1,p2){var fakeVarName="animation"+matched.length;return matched.push("const "+fakeVarName+" = keyframes`"+p2.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+fakeVarName+"}"});matched.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[
`)+`
Youshouldwrapitwith\`css\` like this:
`+("css`"+replaced+"`"));break}if(registered==null)return interpolation;var cached=registered[interpolation];return cached!==void 0?cached:interpolation}function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i<obj.length;i++)string+=handleInterpolation(mergedProps,registered,obj[i])+";";else for(var _key in obj){var value=obj[_key];if(typeof value!="object")registered!=null&®istered[value]!==void 0?string+=_key+"{"+registered[value]+"}":isProcessableValue(value)&&(string+=processStyleName(_key)+":"+processStyleValue(_key,value)+";");else{if(_key==="NO_COMPONENT_SELECTOR")throw new Error(noComponentSelectorMessage);if(Array.isArray(value)&&typeof value[0]=="string"&&(registered==null||registered[value[0]]===void 0))for(var _i=0;_i<value.length;_i++)isProcessableValue(value[_i])&&(string+=processStyleName(_key)+":"+processStyleValue(_key,value[_i])+";");else{var interpolated=handleInterpolation(mergedProps,registered,value);switch(_key){case"animation":case"animationName":{string+=processStyleName(_key)+":"+interpolated+";";break}default:_key==="undefined"&&console.error(UNDEFINED_AS_OBJECT_KEY_ERROR),string+=_key+"{"+interpolated+"}"}}}}return string}var labelPattern=/label:\s*([^\s;\n{]+)\s*(;|$)/g,sourceMapPattern;sourceMapPattern=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var cursor,serializeStyles=function(args,registered,mergedProps){if(args.length===1&&typeof args[0]=="object"&&args[0]!==null&&args[0].styles!==void 0)return args[0];var stringMode=!0,styles="";cursor=void 0;var strings=args[0];strings==null||strings.raw===void 0?(stringMode=!1,styles+=handleInterpolation(mergedProps,registered,strings)):(strings[0]===void 0&&console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR),styles+=strings[0]);for(var i=1;i<args.length;i++)styles+=handleInterpolation(mergedProps,registered,args[i]),stringMode&&(strings[i]===void 0&&console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR),styles+=strings[i]);var sourceMap;styles=styles.replace(sourceMapPattern,function(match3){return sourceMap=match3,""}),labelPattern.lastIndex=0;for(var identifierName="",match2;(match2=labelPattern.exec(styles))!==null;)identifierName+="-"+match2[1];var name=murmur2(styles)+identifierName;return{name,styles,map:sourceMap,next:cursor,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}},hasOwnProperty={}.hasOwnProperty,EmotionCacheContext=React2.createContext(typeof HTMLElement<"u"?createCache({key:"css"}):null);EmotionCacheContext.displayName="EmotionCacheContext";var CacheProvider=EmotionCacheContext.Provider,withEmotionCache=function(func){return(0,import_react.forwardRef)(function(props,ref){var cache=(0,import_react.useContext)(EmotionCacheContext);return func(props,cache,ref)})},ThemeContext=React2.createContext({});ThemeContext.displayName="EmotionThemeContext";var useTheme=function(){return React2.useContext(ThemeContext)},getTheme=function(outerTheme,theme3){if(typeof theme3=="function"){var mergedTheme=theme3(outerTheme);if(mergedTheme==null||typeof mergedTheme!="object"||Array.isArray(mergedTheme))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return mergedTheme}if(theme3==null||typeof theme3!="object"||Array.isArray(theme3))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return _extends22({},outerTheme,theme3)},createCacheWithTheme=weakMemoize(function(outerTheme){return weakMemoize(function(theme3){return getTheme(outerTheme,theme3)})}),ThemeProvider=function(props){var theme3=React2.useContext(ThemeContext);return props.theme!==theme3&&(theme3=createCacheWithTheme(theme3)(props.theme)),React2.createElement(ThemeContext.Provider,{value:theme3},props.children)};function withTheme(Component){var componentName=Component.displayName||Component.name||"Component",render=function(props,ref){var theme
`),i=0;i<lines.length;i++){var functionName=getFunctionNameFromStackTraceLine(lines[i]);if(functionName){if(internalReactFunctionNames.has(functionName))break;if(/^[A-Z]/.test(functionName))return sanitizeIdentifier(functionName)}}},typePropName="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",labelPropName="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",createEmotionProps=function(type,props){if(typeof props.css=="string"&&props.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+props.css+"`");var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&(newProps[key]=props[key]);if(newProps[typePropName]=type,props.css&&(typeof props.css!="object"||typeof props.css.name!="string"||props.css.name.indexOf("-")===-1)){var label=getLabelFromStackTrace(new Error().stack);label&&(newProps[labelPropName]=label)}return newProps},Insertion=function(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;return registerStyles(cache,serialized,isStringTag),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(cache,serialized,isStringTag)}),null},Emotion=withEmotionCache(function(props,cache,ref){var cssProp=props.css;typeof cssProp=="string"&&cache.registered[cssProp]!==void 0&&(cssProp=cache.registered[cssProp]);var WrappedComponent=props[typePropName],registeredStyles=[cssProp],className="";typeof props.className=="string"?className=getRegisteredStyles(cache.registered,registeredStyles,props.className):props.className!=null&&(className=props.className+" ");var serialized=serializeStyles(registeredStyles,void 0,React2.useContext(ThemeContext));if(serialized.name.indexOf("-")===-1){var labelFromStack=props[labelPropName];labelFromStack&&(serialized=serializeStyles([serialized,"label:"+labelFromStack+";"]))}className+=cache.key+"-"+serialized.name;var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&key!=="css"&&key!==typePropName&&key!==labelPropName&&(newProps[key]=props[key]);return newProps.ref=ref,newProps.className=className,React2.createElement(React2.Fragment,null,React2.createElement(Insertion,{cache,serialized,isStringTag:typeof WrappedComponent=="string"}),React2.createElement(WrappedComponent,newProps))});Emotion.displayName="EmotionCssPropInternal";var Emotion$1=Emotion;__toESM2(require_hoist_non_react_statics_cjs());var pkg={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",defa
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Insertion5=function(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;return registerStyles(cache,serialized,isStringTag),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(cache,serialized,isStringTag)}),null},createStyled=function createStyled2(tag,options){if(tag===void 0)throw new Error(`You are trying to create a styled element with an undefined component.