(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?factory(exports):typeof define==='function'&&define.amd?define(['exports'],factory):(global=global||self,factory(global.React={}));}(this,(function(exports){'use strict';var ReactVersion='18.2.0';var REACT_ELEMENT_TYPE=Symbol.for('react.element');var REACT_PORTAL_TYPE=Symbol.for('react.portal');var REACT_FRAGMENT_TYPE=Symbol.for('react.fragment');var REACT_STRICT_MODE_TYPE=Symbol.for('react.strict_mode');var REACT_PROFILER_TYPE=Symbol.for('react.profiler');var REACT_PROVIDER_TYPE=Symbol.for('react.provider');var REACT_CONTEXT_TYPE=Symbol.for('react.context');var REACT_FORWARD_REF_TYPE=Symbol.for('react.forward_ref');var REACT_SUSPENSE_TYPE=Symbol.for('react.suspense');var REACT_SUSPENSE_LIST_TYPE=Symbol.for('react.suspense_list');var REACT_MEMO_TYPE=Symbol.for('react.memo');var REACT_LAZY_TYPE=Symbol.for('react.lazy');var REACT_OFFSCREEN_TYPE=Symbol.for('react.offscreen');var MAYBE_ITERATOR_SYMBOL=Symbol.iterator;var FAUX_ITERATOR_SYMBOL='@@iterator';function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!=='object'){return null;} var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];if(typeof maybeIterator==='function'){return maybeIterator;} return null;} var ReactCurrentDispatcher={current:null};var ReactCurrentBatchConfig={transition:null};var ReactCurrentActQueue={current:null,isBatchingLegacy:false,didScheduleLegacyUpdate:false};var ReactCurrentOwner={current:null};var ReactDebugCurrentFrame={};var currentExtraStackFrame=null;function setExtraStackFrame(stack){{currentExtraStackFrame=stack;}} {ReactDebugCurrentFrame.setExtraStackFrame=function(stack){{currentExtraStackFrame=stack;}};ReactDebugCurrentFrame.getCurrentStack=null;ReactDebugCurrentFrame.getStackAddendum=function(){var stack='';if(currentExtraStackFrame){stack+=currentExtraStackFrame;} var impl=ReactDebugCurrentFrame.getCurrentStack;if(impl){stack+=impl()||'';} return stack;};} var enableScopeAPI=false;var enableCacheElement=false;var enableTransitionTracing=false;var enableLegacyHidden=false;var enableDebugTracing=false;var ReactSharedInternals={ReactCurrentDispatcher:ReactCurrentDispatcher,ReactCurrentBatchConfig:ReactCurrentBatchConfig,ReactCurrentOwner:ReactCurrentOwner};{ReactSharedInternals.ReactDebugCurrentFrame=ReactDebugCurrentFrame;ReactSharedInternals.ReactCurrentActQueue=ReactCurrentActQueue;} function warn(format){{{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',format,args);}}} function error(format){{{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',format,args);}}} function printWarning(level,format,args){{var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame;var stack=ReactDebugCurrentFrame.getStackAddendum();if(stack!==''){format+='%s';args=args.concat([stack]);} var argsWithFormat=args.map(function(item){return String(item);});argsWithFormat.unshift('Warning: '+format);Function.prototype.apply.call(console[level],console,argsWithFormat);}} var didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){{var _constructor=publicInstance.constructor;var componentName=_constructor&&(_constructor.displayName||_constructor.name)||'ReactClass';var 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]=true;}} var ReactNoopUpdateQueue={isMounted:function(publicInstance){return false;},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');}};var assign=Object.assign;var 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 new 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).']};var 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]);return undefined;}});};for(var fnName in deprecatedAPIs){if(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=true;function createRef(){var refObject={current:null};{Object.seal(refObject);} return refObject;} var isArrayImpl=Array.isArray;function isArray(a){return isArrayImpl(a);} function typeName(value){{var hasToStringTag=typeof Symbol==='function'&&Symbol.toStringTag;var type=hasToStringTag&&value[Symbol.toStringTag]||value.constructor.name||'Object';return type;}} function willCoercionThrow(value){{try{testStringCoercion(value);return false;}catch(e){return true;}}} function testStringCoercion(value){return ''+value;} function checkKeyStringCoercion(value){{if(willCoercionThrow(value)){error('The provided key is an unsupported type %s.'+' This value must be coerced to a string before before using it here.',typeName(value));return testStringCoercion(value);}}} function getWrappedName(outerType,innerType,wrapperName){var displayName=outerType.displayName;if(displayName){return displayName;} var functionName=innerType.displayName||innerType.name||'';return functionName!==''?wrapperName+"("+functionName+")":wrapperName;} function getContextName(type){return type.displayName||'Context';} function getComponentNameFromType(type){if(type==null){return null;} {if(typeof type.tag==='number'){error('Received an unexpected object in getComponentNameFromType(). '+'This is likely a bug in React. Please file an issue.');}} if(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:var context=type;return getContextName(context)+'.Consumer';case REACT_PROVIDER_TYPE:var provider=type;return getContextName(provider._context)+'.Provider';case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,'ForwardRef');case REACT_MEMO_TYPE:var outerName=type.displayName||null;if(outerName!==null){return outerName;} return getComponentNameFromType(type.type)||'Memo';case REACT_LAZY_TYPE:{var lazyComponent=type;var payload=lazyComponent._payload;var init=lazyComponent._init;try{return getComponentNameFromType(init(payload));}catch(x){return null;}}}} return null;} var hasOwnProperty=Object.prototype.hasOwnProperty;var RESERVED_PROPS={key:true,ref:true,__self:true,__source:true};var specialPropKeyWarningShown,specialPropRefWarningShown,didWarnAboutStringRefs;{didWarnAboutStringRefs={};} function hasValidRef(config){{if(hasOwnProperty.call(config,'ref')){var getter=Object.getOwnPropertyDescriptor(config,'ref').get;if(getter&&getter.isReactWarning){return false;}}} return config.ref!==undefined;} function hasValidKey(config){{if(hasOwnProperty.call(config,'key')){var getter=Object.getOwnPropertyDescriptor(config,'key').get;if(getter&&getter.isReactWarning){return false;}}} return config.key!==undefined;} function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){{if(!specialPropKeyWarningShown){specialPropKeyWarningShown=true;error('%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://reactjs.org/link/special-props)',displayName);}}};warnAboutAccessingKey.isReactWarning=true;Object.defineProperty(props,'key',{get:warnAboutAccessingKey,configurable:true});} function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){{if(!specialPropRefWarningShown){specialPropRefWarningShown=true;error('%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://reactjs.org/link/special-props)',displayName);}}};warnAboutAccessingRef.isReactWarning=true;Object.defineProperty(props,'ref',{get:warnAboutAccessingRef,configurable:true});} function warnIfStringRefCannotBeAutoConverted(config){{if(typeof config.ref==='string'&&ReactCurrentOwner.current&&config.__self&&ReactCurrentOwner.current.stateNode!==config.__self){var componentName=getComponentNameFromType(ReactCurrentOwner.current.type);if(!didWarnAboutStringRefs[componentName]){error('Component "%s" contains the string ref "%s". '+'Support for string refs will be removed in a future major release. '+'This case cannot be automatically converted to an arrow function. '+'We ask you to manually fix this case by using useRef() or createRef() instead. '+'Learn more about using refs safely here: '+'https://reactjs.org/link/strict-mode-string-ref',componentName,config.ref);didWarnAboutStringRefs[componentName]=true;}}}} var ReactElement=function(type,key,ref,self,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:ref,props:props,_owner:owner};{element._store={};Object.defineProperty(element._store,'validated',{configurable:false,enumerable:false,writable:true,value:false});Object.defineProperty(element,'_self',{configurable:false,enumerable:false,writable:false,value:self});Object.defineProperty(element,'_source',{configurable:false,enumerable:false,writable:false,value:source});if(Object.freeze){Object.freeze(element.props);Object.freeze(element);}} return element;};function createElement(type,config,children){var propName;var props={};var key=null;var ref=null;var self=null;var source=null;if(config!=null){if(hasValidRef(config)){ref=config.ref;{warnIfStringRefCannotBeAutoConverted(config);}} if(hasValidKey(config)){{checkKeyStringCoercion(config.key);} key=''+config.key;} self=config.__self===undefined?null:config.__self;source=config.__source===undefined?null:config.__source;for(propName in config){if(hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)){props[propName]=config[propName];}}} var childrenLength=arguments.length-2;if(childrenLength===1){props.children=children;}else if(childrenLength>1){var childArray=Array(childrenLength);for(var i=0;i1){var childArray=Array(childrenLength);for(var i=0;i is not supported and will be removed in '+'a future major release. Did you mean to render instead?');} return context.Provider;},set:function(_Provider){context.Provider=_Provider;}},_currentValue:{get:function(){return context._currentValue;},set:function(_currentValue){context._currentValue=_currentValue;}},_currentValue2:{get:function(){return context._currentValue2;},set:function(_currentValue2){context._currentValue2=_currentValue2;}},_threadCount:{get:function(){return context._threadCount;},set:function(_threadCount){context._threadCount=_threadCount;}},Consumer:{get:function(){if(!hasWarnedAboutUsingNestedContextConsumers){hasWarnedAboutUsingNestedContextConsumers=true;error('Rendering is not supported and will be removed in '+'a future major release. Did you mean to render instead?');} return context.Consumer;}},displayName:{get:function(){return context.displayName;},set:function(displayName){if(!hasWarnedAboutDisplayNameOnConsumer){warn('Setting `displayName` on Context.Consumer has no effect. '+"You should set it directly on the context with Context.displayName = '%s'.",displayName);hasWarnedAboutDisplayNameOnConsumer=true;}}}});context.Consumer=Consumer;} {context._currentRenderer=null;context._currentRenderer2=null;} return context;} var Uninitialized=-1;var Pending=0;var Resolved=1;var Rejected=2;function lazyInitializer(payload){if(payload._status===Uninitialized){var ctor=payload._result;var thenable=ctor();thenable.then(function(moduleObject){if(payload._status===Pending||payload._status===Uninitialized){var resolved=payload;resolved._status=Resolved;resolved._result=moduleObject;}},function(error){if(payload._status===Pending||payload._status===Uninitialized){var rejected=payload;rejected._status=Rejected;rejected._result=error;}});if(payload._status===Uninitialized){var pending=payload;pending._status=Pending;pending._result=thenable;}} if(payload._status===Resolved){var moduleObject=payload._result;{if(moduleObject===undefined){error('lazy: Expected the result of a dynamic imp'+'ort() call. '+'Instead received: %s\n\nYour code should look like: \n '+ 'const MyComponent = lazy(() => imp'+"ort('./MyComponent'))\n\n"+'Did you accidentally put curly braces around the import?',moduleObject);}} {if(!('default'in moduleObject)){error('lazy: Expected the result of a dynamic imp'+'ort() call. '+'Instead received: %s\n\nYour code should look like: \n '+ 'const MyComponent = lazy(() => imp'+"ort('./MyComponent'))",moduleObject);}} return moduleObject.default;}else{throw payload._result;}} function lazy(ctor){var payload={_status:Uninitialized,_result:ctor};var lazyType={$$typeof:REACT_LAZY_TYPE,_payload:payload,_init:lazyInitializer};{var defaultProps;var propTypes;Object.defineProperties(lazyType,{defaultProps:{configurable:true,get:function(){return defaultProps;},set:function(newDefaultProps){error('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.');defaultProps=newDefaultProps;Object.defineProperty(lazyType,'defaultProps',{enumerable:true});}},propTypes:{configurable:true,get:function(){return propTypes;},set:function(newPropTypes){error('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.');propTypes=newPropTypes;Object.defineProperty(lazyType,'propTypes',{enumerable:true});}}});} return lazyType;} function forwardRef(render){{if(render!=null&&render.$$typeof===REACT_MEMO_TYPE){error('forwardRef requires a render function but received a `memo` '+'component. Instead of forwardRef(memo(...)), use '+'memo(forwardRef(...)).');}else if(typeof render!=='function'){error('forwardRef requires a render function but was given %s.',render===null?'null':typeof render);}else{if(render.length!==0&&render.length!==2){error('forwardRef render functions accept exactly two parameters: props and ref. %s',render.length===1?'Did you forget to use the ref parameter?':'Any additional parameter will be undefined.');}} if(render!=null){if(render.defaultProps!=null||render.propTypes!=null){error('forwardRef render functions do not support propTypes or defaultProps. '+'Did you accidentally pass a React component?');}}} var elementType={$$typeof:REACT_FORWARD_REF_TYPE,render:render};{var ownName;Object.defineProperty(elementType,'displayName',{enumerable:false,configurable:true,get:function(){return ownName;},set:function(name){ownName=name;if(!render.name&&!render.displayName){render.displayName=name;}}});} return elementType;} var REACT_MODULE_REFERENCE;{REACT_MODULE_REFERENCE=Symbol.for('react.module.reference');} function isValidElementType(type){if(typeof type==='string'||typeof type==='function'){return true;} if(type===REACT_FRAGMENT_TYPE||type===REACT_PROFILER_TYPE||enableDebugTracing||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing){return true;} if(typeof type==='object'&&type!==null){if(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_MODULE_REFERENCE||type.getModuleId!==undefined){return true;}} return false;} function memo(type,compare){{if(!isValidElementType(type)){error('memo: The first argument must be a component. Instead '+'received: %s',type===null?'null':typeof type);}} var elementType={$$typeof:REACT_MEMO_TYPE,type:type,compare:compare===undefined?null:compare};{var ownName;Object.defineProperty(elementType,'displayName',{enumerable:false,configurable:true,get:function(){return ownName;},set:function(name){ownName=name;if(!type.name&&!type.displayName){type.displayName=name;}}});} return elementType;} function resolveDispatcher(){var dispatcher=ReactCurrentDispatcher.current;{if(dispatcher===null){error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for'+' one of the following reasons:\n'+'1. You might have mismatching versions of React and the renderer (such as React DOM)\n'+'2. You might be breaking the Rules of Hooks\n'+'3. You might have more than one copy of React in the same app\n'+'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');}} return dispatcher;} function useContext(Context){var dispatcher=resolveDispatcher();{if(Context._context!==undefined){var realContext=Context._context;if(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?');}else if(realContext.Provider===Context){error('Calling useContext(Context.Provider) is not supported. '+'Did you mean to call useContext(Context) instead?');}}} return dispatcher.useContext(Context);} 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 useRef(initialValue){var dispatcher=resolveDispatcher();return dispatcher.useRef(initialValue);} function useEffect(create,deps){var dispatcher=resolveDispatcher();return dispatcher.useEffect(create,deps);} function useInsertionEffect(create,deps){var dispatcher=resolveDispatcher();return dispatcher.useInsertionEffect(create,deps);} function useLayoutEffect(create,deps){var dispatcher=resolveDispatcher();return dispatcher.useLayoutEffect(create,deps);} function useCallback(callback,deps){var dispatcher=resolveDispatcher();return dispatcher.useCallback(callback,deps);} function useMemo(create,deps){var dispatcher=resolveDispatcher();return dispatcher.useMemo(create,deps);} function useImperativeHandle(ref,create,deps){var dispatcher=resolveDispatcher();return dispatcher.useImperativeHandle(ref,create,deps);} function useDebugValue(value,formatterFn){{var dispatcher=resolveDispatcher();return dispatcher.useDebugValue(value,formatterFn);}} function useTransition(){var dispatcher=resolveDispatcher();return dispatcher.useTransition();} function useDeferredValue(value){var dispatcher=resolveDispatcher();return dispatcher.useDeferredValue(value);} function useId(){var dispatcher=resolveDispatcher();return dispatcher.useId();} function useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot){var dispatcher=resolveDispatcher();return dispatcher.useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot);} var disabledDepth=0;var prevLog;var prevInfo;var prevWarn;var prevError;var prevGroup;var prevGroupCollapsed;var prevGroupEnd;function disabledLog(){} disabledLog.__reactDisabledLog=true;function disableLogs(){{if(disabledDepth===0){prevLog=console.log;prevInfo=console.info;prevWarn=console.warn;prevError=console.error;prevGroup=console.group;prevGroupCollapsed=console.groupCollapsed;prevGroupEnd=console.groupEnd;var props={configurable:true,enumerable:true,value:disabledLog,writable:true};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props});} disabledDepth++;}} function reenableLogs(){{disabledDepth--;if(disabledDepth===0){var props={configurable:true,enumerable:true,writable:true};Object.defineProperties(console,{log:assign({},props,{value:prevLog}),info:assign({},props,{value:prevInfo}),warn:assign({},props,{value:prevWarn}),error:assign({},props,{value:prevError}),group:assign({},props,{value:prevGroup}),groupCollapsed:assign({},props,{value:prevGroupCollapsed}),groupEnd:assign({},props,{value:prevGroupEnd})});} if(disabledDepth<0){error('disabledDepth fell below zero. '+'This is a bug in React. Please file an issue.');}}} var ReactCurrentDispatcher$1=ReactSharedInternals.ReactCurrentDispatcher;var prefix;function describeBuiltInComponentFrame(name,source,ownerFn){{if(prefix===undefined){try{throw Error();}catch(x){var match=x.stack.trim().match(/\n( *(at )?)/);prefix=match&&match[1]||'';}} return '\n'+prefix+name;}} var reentry=false;var componentFrameCache;{var PossiblyWeakMap=typeof WeakMap==='function'?WeakMap:Map;componentFrameCache=new PossiblyWeakMap();} function describeNativeComponentFrame(fn,construct){if(!fn||reentry){return '';} {var frame=componentFrameCache.get(fn);if(frame!==undefined){return frame;}} var control;reentry=true;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=undefined;var previousDispatcher;{previousDispatcher=ReactCurrentDispatcher$1.current;ReactCurrentDispatcher$1.current=null;disableLogs();} try{if(construct){var Fake=function(){throw Error();};Object.defineProperty(Fake.prototype,'props',{set:function(){throw Error();}});if(typeof Reflect==='object'&&Reflect.construct){try{Reflect.construct(Fake,[]);}catch(x){control=x;} Reflect.construct(fn,[],Fake);}else{try{Fake.call();}catch(x){control=x;} fn.call(Fake.prototype);}}else{try{throw Error();}catch(x){control=x;} fn();}}catch(sample){if(sample&&control&&typeof sample.stack==='string'){var sampleLines=sample.stack.split('\n');var controlLines=control.stack.split('\n');var s=sampleLines.length-1;var c=controlLines.length-1;while(s>=1&&c>=0&&sampleLines[s]!==controlLines[c]){c--;} for(;s>=1&&c>=0;s--,c--){if(sampleLines[s]!==controlLines[c]){if(s!==1||c!==1){do{s--;c--;if(c<0||sampleLines[s]!==controlLines[c]){var _frame='\n'+sampleLines[s].replace(' at new ',' at ');if(fn.displayName&&_frame.includes('')){_frame=_frame.replace('',fn.displayName);} {if(typeof fn==='function'){componentFrameCache.set(fn,_frame);}} return _frame;}}while(s>=1&&c>=0);} break;}}}}finally{reentry=false;{ReactCurrentDispatcher$1.current=previousDispatcher;reenableLogs();} Error.prepareStackTrace=previousPrepareStackTrace;} var name=fn?fn.displayName||fn.name:'';var syntheticFrame=name?describeBuiltInComponentFrame(name):'';{if(typeof fn==='function'){componentFrameCache.set(fn,syntheticFrame);}} return syntheticFrame;} function describeFunctionComponentFrame(fn,source,ownerFn){{return describeNativeComponentFrame(fn,false);}} function shouldConstruct(Component){var prototype=Component.prototype;return!!(prototype&&prototype.isReactComponent);} function describeUnknownElementTypeFrameInDEV(type,source,ownerFn){if(type==null){return '';} if(typeof type==='function'){{return describeNativeComponentFrame(type,shouldConstruct(type));}} if(typeof type==='string'){return describeBuiltInComponentFrame(type);} switch(type){case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame('Suspense');case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame('SuspenseList');} if(typeof type==='object'){switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeFunctionComponentFrame(type.render);case REACT_MEMO_TYPE:return describeUnknownElementTypeFrameInDEV(type.type,source,ownerFn);case REACT_LAZY_TYPE:{var lazyComponent=type;var payload=lazyComponent._payload;var init=lazyComponent._init;try{return describeUnknownElementTypeFrameInDEV(init(payload),source,ownerFn);}catch(x){}}}} return '';} var loggedTypeFailures={};var ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function setCurrentlyValidatingElement(element){{if(element){var owner=element._owner;var stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);ReactDebugCurrentFrame$1.setExtraStackFrame(stack);}else{ReactDebugCurrentFrame$1.setExtraStackFrame(null);}}} function checkPropTypes(typeSpecs,values,location,componentName,element){{var has=Function.call.bind(hasOwnProperty);for(var typeSpecName in typeSpecs){if(has(typeSpecs,typeSpecName)){var error$1=void 0;try{if(typeof typeSpecs[typeSpecName]!=='function'){var err=Error((componentName||'React class')+': '+location+' type `'+typeSpecName+'` is invalid; '+'it must be a function, usually from the `prop-types` package, but received `'+typeof typeSpecs[typeSpecName]+'`.'+'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');err.name='Invariant Violation';throw err;} error$1=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');}catch(ex){error$1=ex;} if(error$1&&!(error$1 instanceof Error)){setCurrentlyValidatingElement(element);error('%s: type specification of %s'+' `%s` is invalid; the type checker '+'function must return `null` or an `Error` but returned a %s. '+'You may have forgotten to pass an argument to the type checker '+'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and '+'shape all require an argument).',componentName||'React class',location,typeSpecName,typeof error$1);setCurrentlyValidatingElement(null);} if(error$1 instanceof Error&&!(error$1.message in loggedTypeFailures)){loggedTypeFailures[error$1.message]=true;setCurrentlyValidatingElement(element);error('Failed %s type: %s',location,error$1.message);setCurrentlyValidatingElement(null);}}}}} function setCurrentlyValidatingElement$1(element){{if(element){var owner=element._owner;var stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);setExtraStackFrame(stack);}else{setExtraStackFrame(null);}}} var propTypesMisspellWarningShown;{propTypesMisspellWarningShown=false;} function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentNameFromType(ReactCurrentOwner.current.type);if(name){return '\n\nCheck the render method of `'+name+'`.';}} return '';} function getSourceInfoErrorAddendum(source){if(source!==undefined){var fileName=source.fileName.replace(/^.*[\\\/]/,'');var lineNumber=source.lineNumber;return '\n\nCheck your code at '+fileName+':'+lineNumber+'.';} return '';} function getSourceInfoErrorAddendumForProps(elementProps){if(elementProps!==null&&elementProps!==undefined){return getSourceInfoErrorAddendum(elementProps.__source);} return '';} var ownerHasKeyUseWarning={};function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName=typeof parentType==='string'?parentType:parentType.displayName||parentType.name;if(parentName){info="\n\nCheck the top-level render call using <"+parentName+">.";}} return info;} function validateExplicitKey(element,parentType){if(!element._store||element._store.validated||element.key!=null){return;} element._store.validated=true;var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(ownerHasKeyUseWarning[currentComponentErrorInfo]){return;} ownerHasKeyUseWarning[currentComponentErrorInfo]=true;var childOwner='';if(element&&element._owner&&element._owner!==ReactCurrentOwner.current){childOwner=" It was passed a child from "+getComponentNameFromType(element._owner.type)+".";} {setCurrentlyValidatingElement$1(element);error('Each child in a list should have a unique "key" prop.'+'%s%s See https://reactjs.org/link/warning-keys for more information.',currentComponentErrorInfo,childOwner);setCurrentlyValidatingElement$1(null);}} function validateChildKeys(node,parentType){if(typeof node!=='object'){return;} if(isArray(node)){for(var i=0;i";info=' Did you accidentally export a JSX literal instead of a component?';}else{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=createElement.apply(this,arguments);if(element==null){return element;} if(validType){for(var i=2;i0){var parentIndex=index-1>>>1;var parent=heap[parentIndex];if(compare(parent,node)>0){heap[parentIndex]=node;heap[index]=parent;index=parentIndex;}else{return;}}} function siftDown(heap,node,i){var index=i;var length=heap.length;var halfLength=length>>>1;while(indexcurrentTime&&(!hasTimeRemaining||shouldYieldToHost())){break;} var callback=currentTask.callback;if(typeof callback==='function'){currentTask.callback=null;currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime;var continuationCallback=callback(didUserCallbackTimeout);currentTime=getCurrentTime();if(typeof continuationCallback==='function'){currentTask.callback=continuationCallback;}else{if(currentTask===peek(taskQueue)){pop(taskQueue);}} advanceTimers(currentTime);}else{pop(taskQueue);} currentTask=peek(taskQueue);} if(currentTask!==null){return true;}else{var firstTimer=peek(timerQueue);if(firstTimer!==null){requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime);} return false;}} function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority;} var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler();}finally{currentPriorityLevel=previousPriorityLevel;}} function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break;} var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler();}finally{currentPriorityLevel=previousPriorityLevel;}} function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments);}finally{currentPriorityLevel=previousPriorityLevel;}};} function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=getCurrentTime();var startTime;if(typeof options==='object'&&options!==null){var delay=options.delay;if(typeof delay==='number'&&delay>0){startTime=currentTime+delay;}else{startTime=currentTime;}}else{startTime=currentTime;} var timeout;switch(priorityLevel){case ImmediatePriority:timeout=IMMEDIATE_PRIORITY_TIMEOUT;break;case UserBlockingPriority:timeout=USER_BLOCKING_PRIORITY_TIMEOUT;break;case IdlePriority:timeout=IDLE_PRIORITY_TIMEOUT;break;case LowPriority:timeout=LOW_PRIORITY_TIMEOUT;break;case NormalPriority:default:timeout=NORMAL_PRIORITY_TIMEOUT;break;} var expirationTime=startTime+timeout;var newTask={id:taskIdCounter++,callback:callback,priorityLevel:priorityLevel,startTime:startTime,expirationTime:expirationTime,sortIndex:-1};if(startTime>currentTime){newTask.sortIndex=startTime;push(timerQueue,newTask);if(peek(taskQueue)===null&&newTask===peek(timerQueue)){if(isHostTimeoutScheduled){cancelHostTimeout();}else{isHostTimeoutScheduled=true;} requestHostTimeout(handleTimeout,startTime-currentTime);}}else{newTask.sortIndex=expirationTime;push(taskQueue,newTask);if(!isHostCallbackScheduled&&!isPerformingWork){isHostCallbackScheduled=true;requestHostCallback(flushWork);}} return newTask;} function unstable_pauseExecution(){} function unstable_continueExecution(){if(!isHostCallbackScheduled&&!isPerformingWork){isHostCallbackScheduled=true;requestHostCallback(flushWork);}} function unstable_getFirstCallbackNode(){return peek(taskQueue);} function unstable_cancelCallback(task){task.callback=null;} function unstable_getCurrentPriorityLevel(){return currentPriorityLevel;} var isMessageLoopRunning=false;var scheduledHostCallback=null;var taskTimeoutID=-1;var frameInterval=frameYieldMs;var startTime=-1;function shouldYieldToHost(){var timeElapsed=getCurrentTime()-startTime;if(timeElapsed125){console['error']('forceFrameRate takes a positive int between 0 and 125, '+'forcing frame rates higher than 125 fps is not supported');return;} if(fps>0){frameInterval=Math.floor(1000/fps);}else{frameInterval=frameYieldMs;}} var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=getCurrentTime();startTime=currentTime;var hasTimeRemaining=true;var hasMoreWork=true;try{hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime);}finally{if(hasMoreWork){schedulePerformWorkUntilDeadline();}else{isMessageLoopRunning=false;scheduledHostCallback=null;}}}else{isMessageLoopRunning=false;}};var schedulePerformWorkUntilDeadline;if(typeof localSetImmediate==='function'){schedulePerformWorkUntilDeadline=function(){localSetImmediate(performWorkUntilDeadline);};}else if(typeof MessageChannel!=='undefined'){var channel=new MessageChannel();var port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline;schedulePerformWorkUntilDeadline=function(){port.postMessage(null);};}else{schedulePerformWorkUntilDeadline=function(){localSetTimeout(performWorkUntilDeadline,0);};} function requestHostCallback(callback){scheduledHostCallback=callback;if(!isMessageLoopRunning){isMessageLoopRunning=true;schedulePerformWorkUntilDeadline();}} function requestHostTimeout(callback,ms){taskTimeoutID=localSetTimeout(function(){callback(getCurrentTime());},ms);} function cancelHostTimeout(){localClearTimeout(taskTimeoutID);taskTimeoutID=-1;} var unstable_requestPaint=requestPaint;var unstable_Profiling=null;var Scheduler=Object.freeze({__proto__:null,unstable_ImmediatePriority:ImmediatePriority,unstable_UserBlockingPriority:UserBlockingPriority,unstable_NormalPriority:NormalPriority,unstable_IdlePriority:IdlePriority,unstable_LowPriority:LowPriority,unstable_runWithPriority:unstable_runWithPriority,unstable_next:unstable_next,unstable_scheduleCallback:unstable_scheduleCallback,unstable_cancelCallback:unstable_cancelCallback,unstable_wrapCallback:unstable_wrapCallback,unstable_getCurrentPriorityLevel:unstable_getCurrentPriorityLevel,unstable_shouldYield:shouldYieldToHost,unstable_requestPaint:unstable_requestPaint,unstable_continueExecution:unstable_continueExecution,unstable_pauseExecution:unstable_pauseExecution,unstable_getFirstCallbackNode:unstable_getFirstCallbackNode,get unstable_now(){return getCurrentTime;},unstable_forceFrameRate:forceFrameRate,unstable_Profiling:unstable_Profiling});var ReactSharedInternals$1={ReactCurrentDispatcher:ReactCurrentDispatcher,ReactCurrentOwner:ReactCurrentOwner,ReactCurrentBatchConfig:ReactCurrentBatchConfig,Scheduler:Scheduler};{ReactSharedInternals$1.ReactCurrentActQueue=ReactCurrentActQueue;ReactSharedInternals$1.ReactDebugCurrentFrame=ReactDebugCurrentFrame;} function startTransition(scope,options){var prevTransition=ReactCurrentBatchConfig.transition;ReactCurrentBatchConfig.transition={};var currentTransition=ReactCurrentBatchConfig.transition;{ReactCurrentBatchConfig.transition._updatedFibers=new Set();} try{scope();}finally{ReactCurrentBatchConfig.transition=prevTransition;{if(prevTransition===null&¤tTransition._updatedFibers){var updatedFibersCount=currentTransition._updatedFibers.size;if(updatedFibersCount>10){warn('Detected a large number of updates inside startTransition. '+'If this is due to a subscription please re-write it to use React provided hooks. '+'Otherwise concurrent mode guarantees are off the table.');} currentTransition._updatedFibers.clear();}}}} var didWarnAboutMessageChannel=false;var enqueueTaskImpl=null;function enqueueTask(task){if(enqueueTaskImpl===null){try{var requireString=('require'+Math.random()).slice(0,7);var nodeRequire=module&&module[requireString];enqueueTaskImpl=nodeRequire.call(module,'timers').setImmediate;}catch(_err){enqueueTaskImpl=function(callback){{if(didWarnAboutMessageChannel===false){didWarnAboutMessageChannel=true;if(typeof MessageChannel==='undefined'){error('This browser does not have a MessageChannel implementation, '+'so enqueuing tasks via await act(async () => ...) will fail. '+'Please file an issue at https://github.com/facebook/react/issues '+'if you encounter this warning.');}}} var channel=new MessageChannel();channel.port1.onmessage=callback;channel.port2.postMessage(undefined);};}} return enqueueTaskImpl(task);} var actScopeDepth=0;var didWarnNoAwaitAct=false;function act(callback){{var prevActScopeDepth=actScopeDepth;actScopeDepth++;if(ReactCurrentActQueue.current===null){ReactCurrentActQueue.current=[];} var prevIsBatchingLegacy=ReactCurrentActQueue.isBatchingLegacy;var result;try{ReactCurrentActQueue.isBatchingLegacy=true;result=callback();if(!prevIsBatchingLegacy&&ReactCurrentActQueue.didScheduleLegacyUpdate){var queue=ReactCurrentActQueue.current;if(queue!==null){ReactCurrentActQueue.didScheduleLegacyUpdate=false;flushActQueue(queue);}}}catch(error){popActScope(prevActScopeDepth);throw error;}finally{ReactCurrentActQueue.isBatchingLegacy=prevIsBatchingLegacy;} if(result!==null&&typeof result==='object'&&typeof result.then==='function'){var thenableResult=result;var wasAwaited=false;var thenable={then:function(resolve,reject){wasAwaited=true;thenableResult.then(function(returnValue){popActScope(prevActScopeDepth);if(actScopeDepth===0){recursivelyFlushAsyncActWork(returnValue,resolve,reject);}else{resolve(returnValue);}},function(error){popActScope(prevActScopeDepth);reject(error);});}};{if(!didWarnNoAwaitAct&&typeof Promise!=='undefined'){Promise.resolve().then(function(){}).then(function(){if(!wasAwaited){didWarnNoAwaitAct=true;error('You called act(async () => ...) without await. '+'This could lead to unexpected testing behaviour, '+'interleaving multiple act calls and mixing their '+'scopes. '+'You should - await act(async () => ...);');}});}} return thenable;}else{var returnValue=result;popActScope(prevActScopeDepth);if(actScopeDepth===0){var _queue=ReactCurrentActQueue.current;if(_queue!==null){flushActQueue(_queue);ReactCurrentActQueue.current=null;} var _thenable={then:function(resolve,reject){if(ReactCurrentActQueue.current===null){ReactCurrentActQueue.current=[];recursivelyFlushAsyncActWork(returnValue,resolve,reject);}else{resolve(returnValue);}}};return _thenable;}else{var _thenable2={then:function(resolve,reject){resolve(returnValue);}};return _thenable2;}}}} function popActScope(prevActScopeDepth){{if(prevActScopeDepth!==actScopeDepth-1){error('You seem to have overlapping act() calls, this is not supported. '+'Be sure to await previous act() calls before making a new one. ');} actScopeDepth=prevActScopeDepth;}} function recursivelyFlushAsyncActWork(returnValue,resolve,reject){{var queue=ReactCurrentActQueue.current;if(queue!==null){try{flushActQueue(queue);enqueueTask(function(){if(queue.length===0){ReactCurrentActQueue.current=null;resolve(returnValue);}else{recursivelyFlushAsyncActWork(returnValue,resolve,reject);}});}catch(error){reject(error);}}else{resolve(returnValue);}}} var isFlushing=false;function flushActQueue(queue){{if(!isFlushing){isFlushing=true;var i=0;try{for(;i