mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-06 15:38:53 -05:00
204 lines
354 KiB
JavaScript
204 lines
354 KiB
JavaScript
(function(){"use strict";var ch={exports:{}},Ic={exports:{}},Wo={exports:{}};Wo.exports;var fh;function kS(){return fh||(fh=1,function(_,D){/**
|
|
* @license React
|
|
* react.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var se="18.3.1",ve=Symbol.for("react.element"),te=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),Ae=Symbol.for("react.profiler"),ne=Symbol.for("react.provider"),$=Symbol.for("react.context"),Ie=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),Oe=Symbol.for("react.offscreen"),At=Symbol.iterator,Mt="@@iterator";function he(s){if(s===null||typeof s!="object")return null;var v=At&&s[At]||s[Mt];return typeof v=="function"?v:null}var oe={current:null},et={transition:null},ae={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},tt={current:null},ee={},Ke=null;function He(s){Ke=s}ee.setExtraStackFrame=function(s){Ke=s},ee.getCurrentStack=null,ee.getStackAddendum=function(){var s="";Ke&&(s+=Ke);var v=ee.getCurrentStack;return v&&(s+=v()||""),s};var Ct=!1,Je=!1,ge=!1,Re=!1,Et=!1,nt={ReactCurrentDispatcher:oe,ReactCurrentBatchConfig:et,ReactCurrentOwner:tt};nt.ReactDebugCurrentFrame=ee,nt.ReactCurrentActQueue=ae;function Lt(s){{for(var v=arguments.length,C=new Array(v>1?v-1:0),T=1;T<v;T++)C[T-1]=arguments[T];jt("warn",s,C)}}function Me(s){{for(var v=arguments.length,C=new Array(v>1?v-1:0),T=1;T<v;T++)C[T-1]=arguments[T];jt("error",s,C)}}function jt(s,v,C){{var T=nt.ReactDebugCurrentFrame,U=T.getStackAddendum();U!==""&&(v+="%s",C=C.concat([U]));var ue=C.map(function(I){return String(I)});ue.unshift("Warning: "+v),Function.prototype.apply.call(console[s],console,ue)}}var Kn={};function un(s,v){{var C=s.constructor,T=C&&(C.displayName||C.name)||"ReactClass",U=T+"."+v;if(Kn[U])return;Me("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.",v,T),Kn[U]=!0}}var Pn={isMounted:function(s){return!1},enqueueForceUpdate:function(s,v,C){un(s,"forceUpdate")},enqueueReplaceState:function(s,v,C,T){un(s,"replaceState")},enqueueSetState:function(s,v,C,T){un(s,"setState")}},Pt=Object.assign,Nn={};Object.freeze(Nn);function Jt(s,v,C){this.props=s,this.context=v,this.refs=Nn,this.updater=C||Pn}Jt.prototype.isReactComponent={},Jt.prototype.setState=function(s,v){if(typeof s!="object"&&typeof s!="function"&&s!=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,s,v,"setState")},Jt.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Yn={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)."]},Jn=function(s,v){Object.defineProperty(Jt.prototype,s,{get:function(){Lt("%s(...) is deprecated in plain JavaScript React classes. %s",v[0],v[1])}})};for(var Wt in Yn)Yn.hasOwnProperty(Wt)&&Jn(Wt,Yn[Wt])}function N(){}N.prototype=Jt.prototype;function De(s,v,C){this.props=s,this.context=v,this.refs=Nn,this.updater=C||Pn}var xe=De.prototype=new N;xe.constructor=De,Pt(xe,Jt.prototype),xe.isPureReactComponent=!0;function me(){var s={current:null};return Object.seal(s),s}var Ye=Array.isArray;function ct(s){return Ye(s)}function kt(s){{var v=typeof Symbol=="function"&&Symbol.toStringTag,C=v&&s[Symbol.toStringTag]||s.constructor.name||"Object";return C}}function at(s){try{return L(s),!1}catch{return!0}}function L(s){return""+s}function J(s){if(at(s))return Me("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kt(s)),L(s)}function z(s,v,C){var T=s.displayName;if(T)return T;var U=v.displayName||v.name||"";return U!==""?C+"("+U+")":C}function ie(s){return s.displayName||"Context"}function W(s){if(s==null)return null;if(typeof s.tag=="number"&&Me("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case pe:return"Fragment";case te:return"Portal";case Ae:return"Profiler";case d:return"StrictMode";case H:return"Suspense";case Te:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case $:var v=s;return ie(v)+".Consumer";case ne:var C=s;return ie(C._context)+".Provider";case Ie:return z(s,s.render,"ForwardRef");case G:var T=s.displayName||null;return T!==null?T:W(s.type)||"Memo";case Le:{var U=s,ue=U._payload,I=U._init;try{return W(I(ue))}catch{return null}}}return null}var fe=Object.prototype.hasOwnProperty,je={key:!0,ref:!0,__self:!0,__source:!0},ke,Ze,lt;lt={};function xt(s){if(fe.call(s,"ref")){var v=Object.getOwnPropertyDescriptor(s,"ref").get;if(v&&v.isReactWarning)return!1}return s.ref!==void 0}function ft(s){if(fe.call(s,"key")){var v=Object.getOwnPropertyDescriptor(s,"key").get;if(v&&v.isReactWarning)return!1}return s.key!==void 0}function Bt(s,v){var C=function(){ke||(ke=!0,Me("%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)",v))};C.isReactWarning=!0,Object.defineProperty(s,"key",{get:C,configurable:!0})}function mn(s,v){var C=function(){Ze||(Ze=!0,Me("%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)",v))};C.isReactWarning=!0,Object.defineProperty(s,"ref",{get:C,configurable:!0})}function A(s){if(typeof s.ref=="string"&&tt.current&&s.__self&&tt.current.stateNode!==s.__self){var v=W(tt.current.type);lt[v]||(Me('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',v,s.ref),lt[v]=!0)}}var K=function(s,v,C,T,U,ue,I){var Ce={$$typeof:ve,type:s,key:v,ref:C,props:I,_owner:ue};return Ce._store={},Object.defineProperty(Ce._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ce,"_self",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.defineProperty(Ce,"_source",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.freeze&&(Object.freeze(Ce.props),Object.freeze(Ce)),Ce};function ye(s,v,C){var T,U={},ue=null,I=null,Ce=null,Ge=null;if(v!=null){xt(v)&&(I=v.ref,A(v)),ft(v)&&(J(v.key),ue=""+v.key),Ce=v.__self===void 0?null:v.__self,Ge=v.__source===void 0?null:v.__source;for(T in v)fe.call(v,T)&&!je.hasOwnProperty(T)&&(U[T]=v[T])}var yt=arguments.length-2;if(yt===1)U.children=C;else if(yt>1){for(var Dt=Array(yt),_t=0;_t<yt;_t++)Dt[_t]=arguments[_t+2];Object.freeze&&Object.freeze(Dt),U.children=Dt}if(s&&s.defaultProps){var Fe=s.defaultProps;for(T in Fe)U[T]===void 0&&(U[T]=Fe[T])}if(ue||I){var Vt=typeof s=="function"?s.displayName||s.name||"Unknown":s;ue&&Bt(U,Vt),I&&mn(U,Vt)}return K(s,ue,I,Ce,Ge,tt.current,U)}function rt(s,v){var C=K(s.type,v,s.ref,s._self,s._source,s._owner,s.props);return C}function Tt(s,v,C){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var T,U=Pt({},s.props),ue=s.key,I=s.ref,Ce=s._self,Ge=s._source,yt=s._owner;if(v!=null){xt(v)&&(I=v.ref,yt=tt.current),ft(v)&&(J(v.key),ue=""+v.key);var Dt;s.type&&s.type.defaultProps&&(Dt=s.type.defaultProps);for(T in v)fe.call(v,T)&&!je.hasOwnProperty(T)&&(v[T]===void 0&&Dt!==void 0?U[T]=Dt[T]:U[T]=v[T])}var _t=arguments.length-2;if(_t===1)U.children=C;else if(_t>1){for(var Fe=Array(_t),Vt=0;Vt<_t;Vt++)Fe[Vt]=arguments[Vt+2];U.children=Fe}return K(s.type,ue,I,Ce,Ge,yt,U)}function ht(s){return typeof s=="object"&&s!==null&&s.$$typeof===ve}var qe=".",sn=":";function dt(s){var v=/[=:]/g,C={"=":"=0",":":"=2"},T=s.replace(v,function(U){return C[U]});return"$"+T}var mt=!1,wt=/\/+/g;function Tr(s){return s.replace(wt,"$&/")}function ga(s,v){return typeof s=="object"&&s!==null&&s.key!=null?(J(s.key),dt(""+s.key)):v.toString(36)}function ba(s,v,C,T,U){var ue=typeof s;(ue==="undefined"||ue==="boolean")&&(s=null);var I=!1;if(s===null)I=!0;else switch(ue){case"string":case"number":I=!0;break;case"object":switch(s.$$typeof){case ve:case te:I=!0}}if(I){var Ce=s,Ge=U(Ce),yt=T===""?qe+ga(Ce,0):T;if(ct(Ge)){var Dt="";yt!=null&&(Dt=Tr(yt)+"/"),ba(Ge,v,Dt,"",function(uf){return uf})}else Ge!=null&&(ht(Ge)&&(Ge.key&&(!Ce||Ce.key!==Ge.key)&&J(Ge.key),Ge=rt(Ge,C+(Ge.key&&(!Ce||Ce.key!==Ge.key)?Tr(""+Ge.key)+"/":"")+yt)),v.push(Ge));return 1}var _t,Fe,Vt=0,Xt=T===""?qe:T+sn;if(ct(s))for(var ui=0;ui<s.length;ui++)_t=s[ui],Fe=Xt+ga(_t,ui),Vt+=ba(_t,v,C,Fe,U);else{var sl=he(s);if(typeof sl=="function"){var ar=s;sl===ar.entries&&(mt||Lt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mt=!0);for(var cl=sl.call(ar),fl,lf=0;!(fl=cl.next()).done;)_t=fl.value,Fe=Xt+ga(_t,lf++),Vt+=ba(_t,v,C,Fe,U)}else if(ue==="object"){var Iu=String(s);throw new Error("Objects are not valid as a React child (found: "+(Iu==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Iu)+"). If you meant to render a collection of children, use an array instead.")}}return Vt}function Rr(s,v,C){if(s==null)return s;var T=[],U=0;return ba(s,T,"","",function(ue){return v.call(C,ue,U++)}),T}function Vi(s){var v=0;return Rr(s,function(){v++}),v}function Bi(s,v,C){Rr(s,function(){v.apply(this,arguments)},C)}function Zr(s){return Rr(s,function(v){return v})||[]}function $i(s){if(!ht(s))throw new Error("React.Children.only expected to receive a single React element child.");return s}function Pi(s){var v={$$typeof:$,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};v.Provider={$$typeof:ne,_context:v};var C=!1,T=!1,U=!1;{var ue={$$typeof:$,_context:v};Object.defineProperties(ue,{Provider:{get:function(){return T||(T=!0,Me("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),v.Provider},set:function(I){v.Provider=I}},_currentValue:{get:function(){return v._currentValue},set:function(I){v._currentValue=I}},_currentValue2:{get:function(){return v._currentValue2},set:function(I){v._currentValue2=I}},_threadCount:{get:function(){return v._threadCount},set:function(I){v._threadCount=I}},Consumer:{get:function(){return C||(C=!0,Me("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),v.Consumer}},displayName:{get:function(){return v.displayName},set:function(I){U||(Lt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",I),U=!0)}}}),v.Consumer=ue}return v._currentRenderer=null,v._currentRenderer2=null,v}var Sa=-1,Zn=0,ea=1,Fa=2;function ei(s){if(s._status===Sa){var v=s._result,C=v();if(C.then(function(ue){if(s._status===Zn||s._status===Sa){var I=s;I._status=ea,I._result=ue}},function(ue){if(s._status===Zn||s._status===Sa){var I=s;I._status=Fa,I._result=ue}}),s._status===Sa){var T=s;T._status=Zn,T._result=C}}if(s._status===ea){var U=s._result;return U===void 0&&Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
|
|
Your code should look like:
|
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
|
|
Did you accidentally put curly braces around the import?`,U),"default"in U||Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
|
|
Your code should look like:
|
|
const MyComponent = lazy(() => import('./MyComponent'))`,U),U.default}else throw s._result}function ti(s){var v={_status:Sa,_result:s},C={$$typeof:Le,_payload:v,_init:ei};{var T,U;Object.defineProperties(C,{defaultProps:{configurable:!0,get:function(){return T},set:function(ue){Me("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."),T=ue,Object.defineProperty(C,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return U},set:function(ue){Me("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."),U=ue,Object.defineProperty(C,"propTypes",{enumerable:!0})}}})}return C}function ni(s){s!=null&&s.$$typeof===G?Me("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Me("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Me("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Me("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var v={$$typeof:Ie,render:s};{var C;Object.defineProperty(v,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(T){C=T,!s.name&&!s.displayName&&(s.displayName=T)}})}return v}var p;p=Symbol.for("react.module.reference");function O(s){return!!(typeof s=="string"||typeof s=="function"||s===pe||s===Ae||Et||s===d||s===H||s===Te||Re||s===Oe||Ct||Je||ge||typeof s=="object"&&s!==null&&(s.$$typeof===Le||s.$$typeof===G||s.$$typeof===ne||s.$$typeof===$||s.$$typeof===Ie||s.$$typeof===p||s.getModuleId!==void 0))}function V(s,v){O(s)||Me("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var C={$$typeof:G,type:s,compare:v===void 0?null:v};{var T;Object.defineProperty(C,"displayName",{enumerable:!1,configurable:!0,get:function(){return T},set:function(U){T=U,!s.name&&!s.displayName&&(s.displayName=U)}})}return C}function Q(){var s=oe.current;return s===null&&Me(`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:
|
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
2. You might be breaking the Rules of Hooks
|
|
3. You might have more than one copy of React in the same app
|
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function $e(s){var v=Q();if(s._context!==void 0){var C=s._context;C.Consumer===s?Me("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?"):C.Provider===s&&Me("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return v.useContext(s)}function _e(s){var v=Q();return v.useState(s)}function Pe(s,v,C){var T=Q();return T.useReducer(s,v,C)}function ze(s){var v=Q();return v.useRef(s)}function Qt(s,v){var C=Q();return C.useEffect(s,v)}function Nt(s,v){var C=Q();return C.useInsertionEffect(s,v)}function zt(s,v){var C=Q();return C.useLayoutEffect(s,v)}function wn(s,v){var C=Q();return C.useCallback(s,v)}function Ca(s,v){var C=Q();return C.useMemo(s,v)}function Ea(s,v,C){var T=Q();return T.useImperativeHandle(s,v,C)}function Ht(s,v){{var C=Q();return C.useDebugValue(s,v)}}function Ne(){var s=Q();return s.useTransition()}function er(s){var v=Q();return v.useDeferredValue(s)}function Yi(){var s=Q();return s.useId()}function Vu(s,v,C){var T=Q();return T.useSyncExternalStore(s,v,C)}var xr=0,Xo,Io,Ko,Jo,Zo,Bu,$u;function qi(){}qi.__reactDisabledLog=!0;function el(){{if(xr===0){Xo=console.log,Io=console.info,Ko=console.warn,Jo=console.error,Zo=console.group,Bu=console.groupCollapsed,$u=console.groupEnd;var s={configurable:!0,enumerable:!0,value:qi,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}xr++}}function Va(){{if(xr--,xr===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pt({},s,{value:Xo}),info:Pt({},s,{value:Io}),warn:Pt({},s,{value:Ko}),error:Pt({},s,{value:Jo}),group:Pt({},s,{value:Zo}),groupCollapsed:Pt({},s,{value:Bu}),groupEnd:Pt({},s,{value:$u})})}xr<0&&Me("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ai=nt.ReactCurrentDispatcher,wr;function Gi(s,v,C){{if(wr===void 0)try{throw Error()}catch(U){var T=U.stack.trim().match(/\n( *(at )?)/);wr=T&&T[1]||""}return`
|
|
`+wr+s}}var ri=!1,Wi;{var tl=typeof WeakMap=="function"?WeakMap:Map;Wi=new tl}function Pu(s,v){if(!s||ri)return"";{var C=Wi.get(s);if(C!==void 0)return C}var T;ri=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ue;ue=ai.current,ai.current=null,el();try{if(v){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(Xt){T=Xt}Reflect.construct(s,[],I)}else{try{I.call()}catch(Xt){T=Xt}s.call(I.prototype)}}else{try{throw Error()}catch(Xt){T=Xt}s()}}catch(Xt){if(Xt&&T&&typeof Xt.stack=="string"){for(var Ce=Xt.stack.split(`
|
|
`),Ge=T.stack.split(`
|
|
`),yt=Ce.length-1,Dt=Ge.length-1;yt>=1&&Dt>=0&&Ce[yt]!==Ge[Dt];)Dt--;for(;yt>=1&&Dt>=0;yt--,Dt--)if(Ce[yt]!==Ge[Dt]){if(yt!==1||Dt!==1)do if(yt--,Dt--,Dt<0||Ce[yt]!==Ge[Dt]){var _t=`
|
|
`+Ce[yt].replace(" at new "," at ");return s.displayName&&_t.includes("<anonymous>")&&(_t=_t.replace("<anonymous>",s.displayName)),typeof s=="function"&&Wi.set(s,_t),_t}while(yt>=1&&Dt>=0);break}}}finally{ri=!1,ai.current=ue,Va(),Error.prepareStackTrace=U}var Fe=s?s.displayName||s.name:"",Vt=Fe?Gi(Fe):"";return typeof s=="function"&&Wi.set(s,Vt),Vt}function nl(s,v,C){return Pu(s,!1)}function tf(s){var v=s.prototype;return!!(v&&v.isReactComponent)}function ii(s,v,C){if(s==null)return"";if(typeof s=="function")return Pu(s,tf(s));if(typeof s=="string")return Gi(s);switch(s){case H:return Gi("Suspense");case Te:return Gi("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case Ie:return nl(s.render);case G:return ii(s.type,v,C);case Le:{var T=s,U=T._payload,ue=T._init;try{return ii(ue(U),v,C)}catch{}}}return""}var Yu={},al=nt.ReactDebugCurrentFrame;function ut(s){if(s){var v=s._owner,C=ii(s.type,s._source,v?v.type:null);al.setExtraStackFrame(C)}else al.setExtraStackFrame(null)}function nf(s,v,C,T,U){{var ue=Function.call.bind(fe);for(var I in s)if(ue(s,I)){var Ce=void 0;try{if(typeof s[I]!="function"){var Ge=Error((T||"React class")+": "+C+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ge.name="Invariant Violation",Ge}Ce=s[I](v,I,T,C,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(yt){Ce=yt}Ce&&!(Ce instanceof Error)&&(ut(U),Me("%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).",T||"React class",C,I,typeof Ce),ut(null)),Ce instanceof Error&&!(Ce.message in Yu)&&(Yu[Ce.message]=!0,ut(U),Me("Failed %s type: %s",C,Ce.message),ut(null))}}}function tr(s){if(s){var v=s._owner,C=ii(s.type,s._source,v?v.type:null);He(C)}else He(null)}var we;we=!1;function rl(){if(tt.current){var s=W(tt.current.type);if(s)return`
|
|
|
|
Check the render method of \``+s+"`."}return""}function Un(s){if(s!==void 0){var v=s.fileName.replace(/^.*[\\\/]/,""),C=s.lineNumber;return`
|
|
|
|
Check your code at `+v+":"+C+"."}return""}function oi(s){return s!=null?Un(s.__source):""}var Dr={};function af(s){var v=rl();if(!v){var C=typeof s=="string"?s:s.displayName||s.name;C&&(v=`
|
|
|
|
Check the top-level render call using <`+C+">.")}return v}function cn(s,v){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var C=af(v);if(!Dr[C]){Dr[C]=!0;var T="";s&&s._owner&&s._owner!==tt.current&&(T=" It was passed a child from "+W(s._owner.type)+"."),tr(s),Me('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',C,T),tr(null)}}}function Ft(s,v){if(typeof s=="object"){if(ct(s))for(var C=0;C<s.length;C++){var T=s[C];ht(T)&&cn(T,v)}else if(ht(s))s._store&&(s._store.validated=!0);else if(s){var U=he(s);if(typeof U=="function"&&U!==s.entries)for(var ue=U.call(s),I;!(I=ue.next()).done;)ht(I.value)&&cn(I.value,v)}}}function qu(s){{var v=s.type;if(v==null||typeof v=="string")return;var C;if(typeof v=="function")C=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===Ie||v.$$typeof===G))C=v.propTypes;else return;if(C){var T=W(v);nf(C,s.props,"prop",T,s)}else if(v.PropTypes!==void 0&&!we){we=!0;var U=W(v);Me("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",U||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&Me("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ua(s){{for(var v=Object.keys(s.props),C=0;C<v.length;C++){var T=v[C];if(T!=="children"&&T!=="key"){tr(s),Me("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",T),tr(null);break}}s.ref!==null&&(tr(s),Me("Invalid attribute `ref` supplied to `React.Fragment`."),tr(null))}}function An(s,v,C){var T=O(s);if(!T){var U="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(U+=" 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 ue=oi(v);ue?U+=ue:U+=rl();var I;s===null?I="null":ct(s)?I="array":s!==void 0&&s.$$typeof===ve?(I="<"+(W(s.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):I=typeof s,Me("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",I,U)}var Ce=ye.apply(this,arguments);if(Ce==null)return Ce;if(T)for(var Ge=2;Ge<arguments.length;Ge++)Ft(arguments[Ge],s);return s===pe?ua(Ce):qu(Ce),Ce}var Ta=!1;function rf(s){var v=An.bind(null,s);return v.type=s,Ta||(Ta=!0,Lt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(v,"type",{enumerable:!1,get:function(){return Lt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),v}function il(s,v,C){for(var T=Tt.apply(this,arguments),U=2;U<arguments.length;U++)Ft(arguments[U],T.type);return qu(T),T}function Gu(s,v){var C=et.transition;et.transition={};var T=et.transition;et.transition._updatedFibers=new Set;try{s()}finally{if(et.transition=C,C===null&&T._updatedFibers){var U=T._updatedFibers.size;U>10&&Lt("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."),T._updatedFibers.clear()}}}var ol=!1,Qi=null;function of(s){if(Qi===null)try{var v=("require"+Math.random()).slice(0,7),C=_&&_[v];Qi=C.call(_,"timers").setImmediate}catch{Qi=function(U){ol===!1&&(ol=!0,typeof MessageChannel>"u"&&Me("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 ue=new MessageChannel;ue.port1.onmessage=U,ue.port2.postMessage(void 0)}}return Qi(s)}var _r=0,li=!1;function ll(s){{var v=_r;_r++,ae.current===null&&(ae.current=[]);var C=ae.isBatchingLegacy,T;try{if(ae.isBatchingLegacy=!0,T=s(),!C&&ae.didScheduleLegacyUpdate){var U=ae.current;U!==null&&(ae.didScheduleLegacyUpdate=!1,Ki(U))}}catch(Fe){throw nr(v),Fe}finally{ae.isBatchingLegacy=C}if(T!==null&&typeof T=="object"&&typeof T.then=="function"){var ue=T,I=!1,Ce={then:function(Fe,Vt){I=!0,ue.then(function(Xt){nr(v),_r===0?Xi(Xt,Fe,Vt):Fe(Xt)},function(Xt){nr(v),Vt(Xt)})}};return!li&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){I||(li=!0,Me("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 () => ...);"))}),Ce}else{var Ge=T;if(nr(v),_r===0){var yt=ae.current;yt!==null&&(Ki(yt),ae.current=null);var Dt={then:function(Fe,Vt){ae.current===null?(ae.current=[],Xi(Ge,Fe,Vt)):Fe(Ge)}};return Dt}else{var _t={then:function(Fe,Vt){Fe(Ge)}};return _t}}}}function nr(s){s!==_r-1&&Me("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),_r=s}function Xi(s,v,C){{var T=ae.current;if(T!==null)try{Ki(T),of(function(){T.length===0?(ae.current=null,v(s)):Xi(s,v,C)})}catch(U){C(U)}else v(s)}}var Ii=!1;function Ki(s){if(!Ii){Ii=!0;var v=0;try{for(;v<s.length;v++){var C=s[v];do C=C(!0);while(C!==null)}s.length=0}catch(T){throw s=s.slice(v+1),T}finally{Ii=!1}}}var Wu=An,Qu=il,ul=rf,Xu={map:Rr,forEach:Bi,count:Vi,toArray:Zr,only:$i};D.Children=Xu,D.Component=Jt,D.Fragment=pe,D.Profiler=Ae,D.PureComponent=De,D.StrictMode=d,D.Suspense=H,D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nt,D.act=ll,D.cloneElement=Qu,D.createContext=Pi,D.createElement=Wu,D.createFactory=ul,D.createRef=me,D.forwardRef=ni,D.isValidElement=ht,D.lazy=ti,D.memo=V,D.startTransition=Gu,D.unstable_act=ll,D.useCallback=wn,D.useContext=$e,D.useDebugValue=Ht,D.useDeferredValue=er,D.useEffect=Qt,D.useId=Yi,D.useImperativeHandle=Ea,D.useInsertionEffect=Nt,D.useLayoutEffect=zt,D.useMemo=Ca,D.useReducer=Pe,D.useRef=ze,D.useState=_e,D.useSyncExternalStore=Vu,D.useTransition=Ne,D.version=se,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(Wo,Wo.exports)),Wo.exports}var dh;function Kc(){return dh||(dh=1,Ic.exports=kS()),Ic.exports}var Qo={},vh;function NS(){if(vh)return Qo;vh=1;/**
|
|
* @license React
|
|
* react-jsx-runtime.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/return function(){var _=Kc(),D=Symbol.for("react.element"),se=Symbol.for("react.portal"),ve=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),pe=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),Ae=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),Ie=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),Te=Symbol.for("react.lazy"),G=Symbol.for("react.offscreen"),Le=Symbol.iterator,Oe="@@iterator";function At(p){if(p===null||typeof p!="object")return null;var O=Le&&p[Le]||p[Oe];return typeof O=="function"?O:null}var Mt=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function he(p){{for(var O=arguments.length,V=new Array(O>1?O-1:0),Q=1;Q<O;Q++)V[Q-1]=arguments[Q];oe("error",p,V)}}function oe(p,O,V){{var Q=Mt.ReactDebugCurrentFrame,$e=Q.getStackAddendum();$e!==""&&(O+="%s",V=V.concat([$e]));var _e=V.map(function(Pe){return String(Pe)});_e.unshift("Warning: "+O),Function.prototype.apply.call(console[p],console,_e)}}var et=!1,ae=!1,tt=!1,ee=!1,Ke=!1,He;He=Symbol.for("react.module.reference");function Ct(p){return!!(typeof p=="string"||typeof p=="function"||p===ve||p===pe||Ke||p===te||p===$||p===Ie||ee||p===G||et||ae||tt||typeof p=="object"&&p!==null&&(p.$$typeof===Te||p.$$typeof===H||p.$$typeof===d||p.$$typeof===Ae||p.$$typeof===ne||p.$$typeof===He||p.getModuleId!==void 0))}function Je(p,O,V){var Q=p.displayName;if(Q)return Q;var $e=O.displayName||O.name||"";return $e!==""?V+"("+$e+")":V}function ge(p){return p.displayName||"Context"}function Re(p){if(p==null)return null;if(typeof p.tag=="number"&&he("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case ve:return"Fragment";case se:return"Portal";case pe:return"Profiler";case te:return"StrictMode";case $:return"Suspense";case Ie:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case Ae:var O=p;return ge(O)+".Consumer";case d:var V=p;return ge(V._context)+".Provider";case ne:return Je(p,p.render,"ForwardRef");case H:var Q=p.displayName||null;return Q!==null?Q:Re(p.type)||"Memo";case Te:{var $e=p,_e=$e._payload,Pe=$e._init;try{return Re(Pe(_e))}catch{return null}}}return null}var Et=Object.assign,nt=0,Lt,Me,jt,Kn,un,Pn,Pt;function Nn(){}Nn.__reactDisabledLog=!0;function Jt(){{if(nt===0){Lt=console.log,Me=console.info,jt=console.warn,Kn=console.error,un=console.group,Pn=console.groupCollapsed,Pt=console.groupEnd;var p={configurable:!0,enumerable:!0,value:Nn,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}nt++}}function Yn(){{if(nt--,nt===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Et({},p,{value:Lt}),info:Et({},p,{value:Me}),warn:Et({},p,{value:jt}),error:Et({},p,{value:Kn}),group:Et({},p,{value:un}),groupCollapsed:Et({},p,{value:Pn}),groupEnd:Et({},p,{value:Pt})})}nt<0&&he("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Jn=Mt.ReactCurrentDispatcher,Wt;function N(p,O,V){{if(Wt===void 0)try{throw Error()}catch($e){var Q=$e.stack.trim().match(/\n( *(at )?)/);Wt=Q&&Q[1]||""}return`
|
|
`+Wt+p}}var De=!1,xe;{var me=typeof WeakMap=="function"?WeakMap:Map;xe=new me}function Ye(p,O){if(!p||De)return"";{var V=xe.get(p);if(V!==void 0)return V}var Q;De=!0;var $e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _e;_e=Jn.current,Jn.current=null,Jt();try{if(O){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(Ht){Q=Ht}Reflect.construct(p,[],Pe)}else{try{Pe.call()}catch(Ht){Q=Ht}p.call(Pe.prototype)}}else{try{throw Error()}catch(Ht){Q=Ht}p()}}catch(Ht){if(Ht&&Q&&typeof Ht.stack=="string"){for(var ze=Ht.stack.split(`
|
|
`),Qt=Q.stack.split(`
|
|
`),Nt=ze.length-1,zt=Qt.length-1;Nt>=1&&zt>=0&&ze[Nt]!==Qt[zt];)zt--;for(;Nt>=1&&zt>=0;Nt--,zt--)if(ze[Nt]!==Qt[zt]){if(Nt!==1||zt!==1)do if(Nt--,zt--,zt<0||ze[Nt]!==Qt[zt]){var wn=`
|
|
`+ze[Nt].replace(" at new "," at ");return p.displayName&&wn.includes("<anonymous>")&&(wn=wn.replace("<anonymous>",p.displayName)),typeof p=="function"&&xe.set(p,wn),wn}while(Nt>=1&&zt>=0);break}}}finally{De=!1,Jn.current=_e,Yn(),Error.prepareStackTrace=$e}var Ca=p?p.displayName||p.name:"",Ea=Ca?N(Ca):"";return typeof p=="function"&&xe.set(p,Ea),Ea}function ct(p,O,V){return Ye(p,!1)}function kt(p){var O=p.prototype;return!!(O&&O.isReactComponent)}function at(p,O,V){if(p==null)return"";if(typeof p=="function")return Ye(p,kt(p));if(typeof p=="string")return N(p);switch(p){case $:return N("Suspense");case Ie:return N("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case ne:return ct(p.render);case H:return at(p.type,O,V);case Te:{var Q=p,$e=Q._payload,_e=Q._init;try{return at(_e($e),O,V)}catch{}}}return""}var L=Object.prototype.hasOwnProperty,J={},z=Mt.ReactDebugCurrentFrame;function ie(p){if(p){var O=p._owner,V=at(p.type,p._source,O?O.type:null);z.setExtraStackFrame(V)}else z.setExtraStackFrame(null)}function W(p,O,V,Q,$e){{var _e=Function.call.bind(L);for(var Pe in p)if(_e(p,Pe)){var ze=void 0;try{if(typeof p[Pe]!="function"){var Qt=Error((Q||"React class")+": "+V+" type `"+Pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[Pe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Qt.name="Invariant Violation",Qt}ze=p[Pe](O,Pe,Q,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){ze=Nt}ze&&!(ze instanceof Error)&&(ie($e),he("%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).",Q||"React class",V,Pe,typeof ze),ie(null)),ze instanceof Error&&!(ze.message in J)&&(J[ze.message]=!0,ie($e),he("Failed %s type: %s",V,ze.message),ie(null))}}}var fe=Array.isArray;function je(p){return fe(p)}function ke(p){{var O=typeof Symbol=="function"&&Symbol.toStringTag,V=O&&p[Symbol.toStringTag]||p.constructor.name||"Object";return V}}function Ze(p){try{return lt(p),!1}catch{return!0}}function lt(p){return""+p}function xt(p){if(Ze(p))return he("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ke(p)),lt(p)}var ft=Mt.ReactCurrentOwner,Bt={key:!0,ref:!0,__self:!0,__source:!0},mn,A;function K(p){if(L.call(p,"ref")){var O=Object.getOwnPropertyDescriptor(p,"ref").get;if(O&&O.isReactWarning)return!1}return p.ref!==void 0}function ye(p){if(L.call(p,"key")){var O=Object.getOwnPropertyDescriptor(p,"key").get;if(O&&O.isReactWarning)return!1}return p.key!==void 0}function rt(p,O){typeof p.ref=="string"&&ft.current}function Tt(p,O){{var V=function(){mn||(mn=!0,he("%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)",O))};V.isReactWarning=!0,Object.defineProperty(p,"key",{get:V,configurable:!0})}}function ht(p,O){{var V=function(){A||(A=!0,he("%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)",O))};V.isReactWarning=!0,Object.defineProperty(p,"ref",{get:V,configurable:!0})}}var qe=function(p,O,V,Q,$e,_e,Pe){var ze={$$typeof:D,type:p,key:O,ref:V,props:Pe,_owner:_e};return ze._store={},Object.defineProperty(ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Q}),Object.defineProperty(ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$e}),Object.freeze&&(Object.freeze(ze.props),Object.freeze(ze)),ze};function sn(p,O,V,Q,$e){{var _e,Pe={},ze=null,Qt=null;V!==void 0&&(xt(V),ze=""+V),ye(O)&&(xt(O.key),ze=""+O.key),K(O)&&(Qt=O.ref,rt(O,$e));for(_e in O)L.call(O,_e)&&!Bt.hasOwnProperty(_e)&&(Pe[_e]=O[_e]);if(p&&p.defaultProps){var Nt=p.defaultProps;for(_e in Nt)Pe[_e]===void 0&&(Pe[_e]=Nt[_e])}if(ze||Qt){var zt=typeof p=="function"?p.displayName||p.name||"Unknown":p;ze&&Tt(Pe,zt),Qt&&ht(Pe,zt)}return qe(p,ze,Qt,$e,Q,ft.current,Pe)}}var dt=Mt.ReactCurrentOwner,mt=Mt.ReactDebugCurrentFrame;function wt(p){if(p){var O=p._owner,V=at(p.type,p._source,O?O.type:null);mt.setExtraStackFrame(V)}else mt.setExtraStackFrame(null)}var Tr;Tr=!1;function ga(p){return typeof p=="object"&&p!==null&&p.$$typeof===D}function ba(){{if(dt.current){var p=Re(dt.current.type);if(p)return`
|
|
|
|
Check the render method of \``+p+"`."}return""}}function Rr(p){return""}var Vi={};function Bi(p){{var O=ba();if(!O){var V=typeof p=="string"?p:p.displayName||p.name;V&&(O=`
|
|
|
|
Check the top-level render call using <`+V+">.")}return O}}function Zr(p,O){{if(!p._store||p._store.validated||p.key!=null)return;p._store.validated=!0;var V=Bi(O);if(Vi[V])return;Vi[V]=!0;var Q="";p&&p._owner&&p._owner!==dt.current&&(Q=" It was passed a child from "+Re(p._owner.type)+"."),wt(p),he('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,Q),wt(null)}}function $i(p,O){{if(typeof p!="object")return;if(je(p))for(var V=0;V<p.length;V++){var Q=p[V];ga(Q)&&Zr(Q,O)}else if(ga(p))p._store&&(p._store.validated=!0);else if(p){var $e=At(p);if(typeof $e=="function"&&$e!==p.entries)for(var _e=$e.call(p),Pe;!(Pe=_e.next()).done;)ga(Pe.value)&&Zr(Pe.value,O)}}}function Pi(p){{var O=p.type;if(O==null||typeof O=="string")return;var V;if(typeof O=="function")V=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===ne||O.$$typeof===H))V=O.propTypes;else return;if(V){var Q=Re(O);W(V,p.props,"prop",Q,p)}else if(O.PropTypes!==void 0&&!Tr){Tr=!0;var $e=Re(O);he("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$e||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&he("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Sa(p){{for(var O=Object.keys(p.props),V=0;V<O.length;V++){var Q=O[V];if(Q!=="children"&&Q!=="key"){wt(p),he("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Q),wt(null);break}}p.ref!==null&&(wt(p),he("Invalid attribute `ref` supplied to `React.Fragment`."),wt(null))}}var Zn={};function ea(p,O,V,Q,$e,_e){{var Pe=Ct(p);if(!Pe){var ze="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(ze+=" 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 Qt=Rr();Qt?ze+=Qt:ze+=ba();var Nt;p===null?Nt="null":je(p)?Nt="array":p!==void 0&&p.$$typeof===D?(Nt="<"+(Re(p.type)||"Unknown")+" />",ze=" Did you accidentally export a JSX literal instead of a component?"):Nt=typeof p,he("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Nt,ze)}var zt=sn(p,O,V,$e,_e);if(zt==null)return zt;if(Pe){var wn=O.children;if(wn!==void 0)if(Q)if(je(wn)){for(var Ca=0;Ca<wn.length;Ca++)$i(wn[Ca],p);Object.freeze&&Object.freeze(wn)}else he("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $i(wn,p)}if(L.call(O,"key")){var Ea=Re(p),Ht=Object.keys(O).filter(function(Yi){return Yi!=="key"}),Ne=Ht.length>0?"{key: someKey, "+Ht.join(": ..., ")+": ...}":"{key: someKey}";if(!Zn[Ea+Ne]){var er=Ht.length>0?"{"+Ht.join(": ..., ")+": ...}":"{}";he(`A props object containing a "key" prop is being spread into JSX:
|
|
let props = %s;
|
|
<%s {...props} />
|
|
React keys must be passed directly to JSX without using spread:
|
|
let props = %s;
|
|
<%s key={someKey} {...props} />`,Ne,Ea,er,Ea),Zn[Ea+Ne]=!0}}return p===ve?Sa(zt):Pi(zt),zt}}function Fa(p,O,V){return ea(p,O,V,!0)}function ei(p,O,V){return ea(p,O,V,!1)}var ti=ei,ni=Fa;Qo.Fragment=ve,Qo.jsx=ti,Qo.jsxs=ni}(),Qo}ch.exports=NS();var h=ch.exports,ph={exports:{}},Jc={exports:{}},Zc={},hh;function US(){return hh||(hh=1,function(_){/**
|
|
* @license React
|
|
* scheduler.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var D=!1,se=5;function ve(A,K){var ye=A.length;A.push(K),d(A,K,ye)}function te(A){return A.length===0?null:A[0]}function pe(A){if(A.length===0)return null;var K=A[0],ye=A.pop();return ye!==K&&(A[0]=ye,Ae(A,ye,0)),K}function d(A,K,ye){for(var rt=ye;rt>0;){var Tt=rt-1>>>1,ht=A[Tt];if(ne(ht,K)>0)A[Tt]=K,A[rt]=ht,rt=Tt;else return}}function Ae(A,K,ye){for(var rt=ye,Tt=A.length,ht=Tt>>>1;rt<ht;){var qe=(rt+1)*2-1,sn=A[qe],dt=qe+1,mt=A[dt];if(ne(sn,K)<0)dt<Tt&&ne(mt,sn)<0?(A[rt]=mt,A[dt]=K,rt=dt):(A[rt]=sn,A[qe]=K,rt=qe);else if(dt<Tt&&ne(mt,K)<0)A[rt]=mt,A[dt]=K,rt=dt;else return}}function ne(A,K){var ye=A.sortIndex-K.sortIndex;return ye!==0?ye:A.id-K.id}var $=1,Ie=2,H=3,Te=4,G=5;function Le(A,K){}var Oe=typeof performance=="object"&&typeof performance.now=="function";if(Oe){var At=performance;_.unstable_now=function(){return At.now()}}else{var Mt=Date,he=Mt.now();_.unstable_now=function(){return Mt.now()-he}}var oe=1073741823,et=-1,ae=250,tt=5e3,ee=1e4,Ke=oe,He=[],Ct=[],Je=1,ge=null,Re=H,Et=!1,nt=!1,Lt=!1,Me=typeof setTimeout=="function"?setTimeout:null,jt=typeof clearTimeout=="function"?clearTimeout:null,Kn=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function un(A){for(var K=te(Ct);K!==null;){if(K.callback===null)pe(Ct);else if(K.startTime<=A)pe(Ct),K.sortIndex=K.expirationTime,ve(He,K);else return;K=te(Ct)}}function Pn(A){if(Lt=!1,un(A),!nt)if(te(He)!==null)nt=!0,lt(Pt);else{var K=te(Ct);K!==null&&xt(Pn,K.startTime-A)}}function Pt(A,K){nt=!1,Lt&&(Lt=!1,ft()),Et=!0;var ye=Re;try{var rt;if(!D)return Nn(A,K)}finally{ge=null,Re=ye,Et=!1}}function Nn(A,K){var ye=K;for(un(ye),ge=te(He);ge!==null&&!(ge.expirationTime>ye&&(!A||z()));){var rt=ge.callback;if(typeof rt=="function"){ge.callback=null,Re=ge.priorityLevel;var Tt=ge.expirationTime<=ye,ht=rt(Tt);ye=_.unstable_now(),typeof ht=="function"?ge.callback=ht:ge===te(He)&&pe(He),un(ye)}else pe(He);ge=te(He)}if(ge!==null)return!0;var qe=te(Ct);return qe!==null&&xt(Pn,qe.startTime-ye),!1}function Jt(A,K){switch(A){case $:case Ie:case H:case Te:case G:break;default:A=H}var ye=Re;Re=A;try{return K()}finally{Re=ye}}function Yn(A){var K;switch(Re){case $:case Ie:case H:K=H;break;default:K=Re;break}var ye=Re;Re=K;try{return A()}finally{Re=ye}}function Jn(A){var K=Re;return function(){var ye=Re;Re=K;try{return A.apply(this,arguments)}finally{Re=ye}}}function Wt(A,K,ye){var rt=_.unstable_now(),Tt;if(typeof ye=="object"&&ye!==null){var ht=ye.delay;typeof ht=="number"&&ht>0?Tt=rt+ht:Tt=rt}else Tt=rt;var qe;switch(A){case $:qe=et;break;case Ie:qe=ae;break;case G:qe=Ke;break;case Te:qe=ee;break;case H:default:qe=tt;break}var sn=Tt+qe,dt={id:Je++,callback:K,priorityLevel:A,startTime:Tt,expirationTime:sn,sortIndex:-1};return Tt>rt?(dt.sortIndex=Tt,ve(Ct,dt),te(He)===null&&dt===te(Ct)&&(Lt?ft():Lt=!0,xt(Pn,Tt-rt))):(dt.sortIndex=sn,ve(He,dt),!nt&&!Et&&(nt=!0,lt(Pt))),dt}function N(){}function De(){!nt&&!Et&&(nt=!0,lt(Pt))}function xe(){return te(He)}function me(A){A.callback=null}function Ye(){return Re}var ct=!1,kt=null,at=-1,L=se,J=-1;function z(){var A=_.unstable_now()-J;return!(A<L)}function ie(){}function W(A){if(A<0||A>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}A>0?L=Math.floor(1e3/A):L=se}var fe=function(){if(kt!==null){var A=_.unstable_now();J=A;var K=!0,ye=!0;try{ye=kt(K,A)}finally{ye?je():(ct=!1,kt=null)}}else ct=!1},je;if(typeof Kn=="function")je=function(){Kn(fe)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Ze=ke.port2;ke.port1.onmessage=fe,je=function(){Ze.postMessage(null)}}else je=function(){Me(fe,0)};function lt(A){kt=A,ct||(ct=!0,je())}function xt(A,K){at=Me(function(){A(_.unstable_now())},K)}function ft(){jt(at),at=-1}var Bt=ie,mn=null;_.unstable_IdlePriority=G,_.unstable_ImmediatePriority=$,_.unstable_LowPriority=Te,_.unstable_NormalPriority=H,_.unstable_Profiling=mn,_.unstable_UserBlockingPriority=Ie,_.unstable_cancelCallback=me,_.unstable_continueExecution=De,_.unstable_forceFrameRate=W,_.unstable_getCurrentPriorityLevel=Ye,_.unstable_getFirstCallbackNode=xe,_.unstable_next=Yn,_.unstable_pauseExecution=N,_.unstable_requestPaint=Bt,_.unstable_runWithPriority=Jt,_.unstable_scheduleCallback=Wt,_.unstable_shouldYield=z,_.unstable_wrapCallback=Jn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(Zc)),Zc}var mh;function AS(){return mh||(mh=1,Jc.exports=US()),Jc.exports}var $n={},yh;function jS(){if(yh)return $n;yh=1;/**
|
|
* @license React
|
|
* react-dom.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var _=Kc(),D=AS(),se=_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ve=!1;function te(e){ve=e}function pe(e){if(!ve){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];Ae("warn",e,n)}}function d(e){if(!ve){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];Ae("error",e,n)}}function Ae(e,t,n){{var a=se.ReactDebugCurrentFrame,r=a.getStackAddendum();r!==""&&(t+="%s",n=n.concat([r]));var i=n.map(function(o){return String(o)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}var ne=0,$=1,Ie=2,H=3,Te=4,G=5,Le=6,Oe=7,At=8,Mt=9,he=10,oe=11,et=12,ae=13,tt=14,ee=15,Ke=16,He=17,Ct=18,Je=19,ge=21,Re=22,Et=23,nt=24,Lt=25,Me=!0,jt=!1,Kn=!1,un=!1,Pn=!1,Pt=!0,Nn=!0,Jt=!0,Yn=!0,Jn=new Set,Wt={},N={};function De(e,t){xe(e,t),xe(e+"Capture",t)}function xe(e,t){Wt[e]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Wt[e]=t;{var n=e.toLowerCase();N[n]=e,e==="onDoubleClick"&&(N.ondblclick=e)}for(var a=0;a<t.length;a++)Jn.add(t[a])}var me=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ye=Object.prototype.hasOwnProperty;function ct(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function kt(e){try{return at(e),!1}catch{return!0}}function at(e){return""+e}function L(e,t){if(kt(e))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,ct(e)),at(e)}function J(e){if(kt(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ct(e)),at(e)}function z(e,t){if(kt(e))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,ct(e)),at(e)}function ie(e,t){if(kt(e))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,ct(e)),at(e)}function W(e){if(kt(e))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",ct(e)),at(e)}function fe(e){if(kt(e))return d("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",ct(e)),at(e)}var je=0,ke=1,Ze=2,lt=3,xt=4,ft=5,Bt=6,mn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",A=mn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",K=new RegExp("^["+mn+"]["+A+"]*$"),ye={},rt={};function Tt(e){return Ye.call(rt,e)?!0:Ye.call(ye,e)?!1:K.test(e)?(rt[e]=!0,!0):(ye[e]=!0,d("Invalid attribute name: `%s`",e),!1)}function ht(e,t,n){return t!==null?t.type===je:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function qe(e,t,n,a){if(n!==null&&n.type===je)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function sn(e,t,n,a){if(t===null||typeof t>"u"||qe(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case lt:return!t;case xt:return t===!1;case ft:return isNaN(t);case Bt:return isNaN(t)||t<1}return!1}function dt(e){return wt.hasOwnProperty(e)?wt[e]:null}function mt(e,t,n,a,r,i,o){this.acceptsBooleans=t===Ze||t===lt||t===xt,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var wt={},Tr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Tr.forEach(function(e){wt[e]=new mt(e,je,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];wt[t]=new mt(t,ke,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new mt(e,Ze,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new mt(e,Ze,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){wt[e]=new mt(e,lt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new mt(e,lt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){wt[e]=new mt(e,xt,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){wt[e]=new mt(e,Bt,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){wt[e]=new mt(e,ft,!1,e.toLowerCase(),null,!1,!1)});var ga=/[\-\:]([a-z])/g,ba=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ga,ba);wt[t]=new mt(t,ke,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ga,ba);wt[t]=new mt(t,ke,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ga,ba);wt[t]=new mt(t,ke,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new mt(e,ke,!1,e.toLowerCase(),null,!1,!1)});var Rr="xlinkHref";wt[Rr]=new mt("xlinkHref",ke,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){wt[e]=new mt(e,ke,!1,e.toLowerCase(),null,!0,!0)});var Vi=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Bi=!1;function Zr(e){!Bi&&Vi.test(e)&&(Bi=!0,d("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function $i(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{L(n,t),a.sanitizeURL&&Zr(""+n);var i=a.attributeName,o=null;if(a.type===xt){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:sn(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(sn(t,n,a,!1))return e.getAttribute(i);if(a.type===lt)return n;o=e.getAttribute(i)}return sn(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function Pi(e,t,n,a){{if(!Tt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return L(n,t),r===""+n?n:r}}function Sa(e,t,n,a){var r=dt(t);if(!ht(t,r,a)){if(sn(t,n,r,a)&&(n=null),a||r===null){if(Tt(t)){var i=t;n===null?e.removeAttribute(i):(L(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var l=r.propertyName;if(n===null){var u=r.type;e[l]=u===lt?!1:""}else e[l]=n;return}var c=r.attributeName,f=r.attributeNamespace;if(n===null)e.removeAttribute(c);else{var y=r.type,m;y===lt||y===xt&&n===!0?m="":(L(n,c),m=""+n,r.sanitizeURL&&Zr(m.toString())),f?e.setAttributeNS(f,c,m):e.setAttribute(c,m)}}}var Zn=Symbol.for("react.element"),ea=Symbol.for("react.portal"),Fa=Symbol.for("react.fragment"),ei=Symbol.for("react.strict_mode"),ti=Symbol.for("react.profiler"),ni=Symbol.for("react.provider"),p=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),Pe=Symbol.for("react.scope"),ze=Symbol.for("react.debug_trace_mode"),Qt=Symbol.for("react.offscreen"),Nt=Symbol.for("react.legacy_hidden"),zt=Symbol.for("react.cache"),wn=Symbol.for("react.tracing_marker"),Ca=Symbol.iterator,Ea="@@iterator";function Ht(e){if(e===null||typeof e!="object")return null;var t=Ca&&e[Ca]||e[Ea];return typeof t=="function"?t:null}var Ne=Object.assign,er=0,Yi,Vu,xr,Xo,Io,Ko,Jo;function Zo(){}Zo.__reactDisabledLog=!0;function Bu(){{if(er===0){Yi=console.log,Vu=console.info,xr=console.warn,Xo=console.error,Io=console.group,Ko=console.groupCollapsed,Jo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Zo,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}er++}}function $u(){{if(er--,er===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:Yi}),info:Ne({},e,{value:Vu}),warn:Ne({},e,{value:xr}),error:Ne({},e,{value:Xo}),group:Ne({},e,{value:Io}),groupCollapsed:Ne({},e,{value:Ko}),groupEnd:Ne({},e,{value:Jo})})}er<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qi=se.ReactCurrentDispatcher,el;function Va(e,t,n){{if(el===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);el=a&&a[1]||""}return`
|
|
`+el+e}}var ai=!1,wr;{var Gi=typeof WeakMap=="function"?WeakMap:Map;wr=new Gi}function ri(e,t){if(!e||ai)return"";{var n=wr.get(e);if(n!==void 0)return n}var a;ai=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=qi.current,qi.current=null,Bu();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(E){a=E}Reflect.construct(e,[],o)}else{try{o.call()}catch(E){a=E}e.call(o.prototype)}}else{try{throw Error()}catch(E){a=E}e()}}catch(E){if(E&&a&&typeof E.stack=="string"){for(var l=E.stack.split(`
|
|
`),u=a.stack.split(`
|
|
`),c=l.length-1,f=u.length-1;c>=1&&f>=0&&l[c]!==u[f];)f--;for(;c>=1&&f>=0;c--,f--)if(l[c]!==u[f]){if(c!==1||f!==1)do if(c--,f--,f<0||l[c]!==u[f]){var y=`
|
|
`+l[c].replace(" at new "," at ");return e.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",e.displayName)),typeof e=="function"&&wr.set(e,y),y}while(c>=1&&f>=0);break}}}finally{ai=!1,qi.current=i,$u(),Error.prepareStackTrace=r}var m=e?e.displayName||e.name:"",S=m?Va(m):"";return typeof e=="function"&&wr.set(e,S),S}function Wi(e,t,n){return ri(e,!0)}function tl(e,t,n){return ri(e,!1)}function Pu(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function nl(e,t,n){if(e==null)return"";if(typeof e=="function")return ri(e,Pu(e));if(typeof e=="string")return Va(e);switch(e){case V:return Va("Suspense");case Q:return Va("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case O:return tl(e.render);case $e:return nl(e.type,t,n);case _e:{var a=e,r=a._payload,i=a._init;try{return nl(i(r),t,n)}catch{}}}return""}function tf(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case G:return Va(e.type);case Ke:return Va("Lazy");case ae:return Va("Suspense");case Je:return Va("SuspenseList");case ne:case Ie:case ee:return tl(e.type);case oe:return tl(e.type.render);case $:return Wi(e.type);default:return""}}function ii(e){try{var t="",n=e;do t+=tf(n),n=n.return;while(n);return t}catch(a){return`
|
|
Error generating stack: `+a.message+`
|
|
`+a.stack}}function Yu(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function al(e){return e.displayName||"Context"}function ut(e){if(e==null)return null;if(typeof e.tag=="number"&&d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fa:return"Fragment";case ea:return"Portal";case ti:return"Profiler";case ei:return"StrictMode";case V:return"Suspense";case Q:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p:var t=e;return al(t)+".Consumer";case ni:var n=e;return al(n._context)+".Provider";case O:return Yu(e,e.render,"ForwardRef");case $e:var a=e.displayName||null;return a!==null?a:ut(e.type)||"Memo";case _e:{var r=e,i=r._payload,o=r._init;try{return ut(o(i))}catch{return null}}}return null}function nf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function tr(e){return e.displayName||"Context"}function we(e){var t=e.tag,n=e.type;switch(t){case nt:return"Cache";case Mt:var a=n;return tr(a)+".Consumer";case he:var r=n;return tr(r._context)+".Provider";case Ct:return"DehydratedFragment";case oe:return nf(n,n.render,"ForwardRef");case Oe:return"Fragment";case G:return n;case Te:return"Portal";case H:return"Root";case Le:return"Text";case Ke:return ut(n);case At:return n===ei?"StrictMode":"Mode";case Re:return"Offscreen";case et:return"Profiler";case ge:return"Scope";case ae:return"Suspense";case Je:return"SuspenseList";case Lt:return"TracingMarker";case $:case ne:case He:case Ie:case tt:case ee:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var rl=se.ReactDebugCurrentFrame,Un=null,oi=!1;function Dr(){{if(Un===null)return null;var e=Un._debugOwner;if(e!==null&&typeof e<"u")return we(e)}return null}function af(){return Un===null?"":ii(Un)}function cn(){rl.getCurrentStack=null,Un=null,oi=!1}function Ft(e){rl.getCurrentStack=e===null?null:af,Un=e,oi=!1}function qu(){return Un}function ua(e){oi=e}function An(e){return""+e}function Ta(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return fe(e),e;default:return""}}var rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function il(e,t){rf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||d("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||d("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`.")}function Gu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ol(e){return e._valueTracker}function Qi(e){e._valueTracker=null}function of(e){var t="";return e&&(Gu(e)?t=e.checked?"true":"false":t=e.value),t}function _r(e){var t=Gu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);fe(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){fe(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){fe(l),a=""+l},stopTracking:function(){Qi(e),delete e[t]}};return o}}function li(e){ol(e)||(e._valueTracker=_r(e))}function ll(e){if(!e)return!1;var t=ol(e);if(!t)return!0;var n=t.getValue(),a=of(e);return a!==n?(t.setValue(a),!0):!1}function nr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Xi=!1,Ii=!1,Ki=!1,Wu=!1;function Qu(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ul(e,t){var n=e,a=t.checked,r=Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Xu(e,t){il("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Ii&&(d("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Dr()||"A component",t.type),Ii=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Xi&&(d("%s contains an input of type %s with both value and defaultValue props. Input 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 input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Dr()||"A component",t.type),Xi=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ta(t.value!=null?t.value:a),controlled:Qu(t)}}function s(e,t){var n=e,a=t.checked;a!=null&&Sa(n,"checked",a,!1)}function v(e,t){var n=e;{var a=Qu(t);!n._wrapperState.controlled&&a&&!Wu&&(d("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Wu=!0),n._wrapperState.controlled&&!a&&!Ki&&(d("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Ki=!0)}s(e,t);var r=Ta(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=An(r)):n.value!==An(r)&&(n.value=An(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?ue(n,t.type,r):t.hasOwnProperty("defaultValue")&&ue(n,t.type,Ta(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function C(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=An(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var l=a.name;l!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,l!==""&&(a.name=l)}function T(e,t){var n=e;v(n,t),U(n,t)}function U(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;L(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<r.length;i++){var o=r[i];if(!(o===e||o.form!==e.form)){var l=js(o);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ll(o),v(o,l)}}}}function ue(e,t,n){(t!=="number"||nr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=An(e._wrapperState.initialValue):e.defaultValue!==An(n)&&(e.defaultValue=An(n)))}var I=!1,Ce=!1,Ge=!1;function yt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?_.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||Ce||(Ce=!0,d("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ge||(Ge=!0,d("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!I&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),I=!0)}function Dt(e,t){t.value!=null&&e.setAttribute("value",An(Ta(t.value)))}var _t=Array.isArray;function Fe(e){return _t(e)}var Vt;Vt=!1;function Xt(){var e=Dr();return e?`
|
|
|
|
Check the render method of \``+e+"`.":""}var ui=["value","defaultValue"];function sl(e){{il("select",e);for(var t=0;t<ui.length;t++){var n=ui[t];if(e[n]!=null){var a=Fe(e[n]);e.multiple&&!a?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Xt()):!e.multiple&&a&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Xt())}}}}function ar(e,t,n,a){var r=e.options;if(t){for(var i=n,o={},l=0;l<i.length;l++)o["$"+i[l]]=!0;for(var u=0;u<r.length;u++){var c=o.hasOwnProperty("$"+r[u].value);r[u].selected!==c&&(r[u].selected=c),c&&a&&(r[u].defaultSelected=!0)}}else{for(var f=An(Ta(n)),y=null,m=0;m<r.length;m++){if(r[m].value===f){r[m].selected=!0,a&&(r[m].defaultSelected=!0);return}y===null&&!r[m].disabled&&(y=r[m])}y!==null&&(y.selected=!0)}}function cl(e,t){return Ne({},t,{value:void 0})}function fl(e,t){var n=e;sl(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Vt&&(d("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://reactjs.org/link/controlled-components"),Vt=!0)}function lf(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;a!=null?ar(n,!!t.multiple,a,!1):t.defaultValue!=null&&ar(n,!!t.multiple,t.defaultValue,!0)}function Iu(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;r!=null?ar(n,!!t.multiple,r,!1):a!==!!t.multiple&&(t.defaultValue!=null?ar(n,!!t.multiple,t.defaultValue,!0):ar(n,!!t.multiple,t.multiple?[]:"",!1))}function uf(e,t){var n=e,a=t.value;a!=null&&ar(n,!!t.multiple,a,!1)}var Rh=!1;function sf(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=Ne({},t,{value:void 0,defaultValue:void 0,children:An(n._wrapperState.initialValue)});return a}function xh(e,t){var n=e;il("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Rh&&(d("%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://reactjs.org/link/controlled-components",Dr()||"A component"),Rh=!0);var a=t.value;if(a==null){var r=t.children,i=t.defaultValue;if(r!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Fe(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}}i==null&&(i=""),a=i}n._wrapperState={initialValue:Ta(a)}}function wh(e,t){var n=e,a=Ta(t.value),r=Ta(t.defaultValue);if(a!=null){var i=An(a);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}r!=null&&(n.defaultValue=An(r))}function Dh(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&a!==""&&a!==null&&(n.value=a)}function qS(e,t){wh(e,t)}var rr="http://www.w3.org/1999/xhtml",GS="http://www.w3.org/1998/Math/MathML",cf="http://www.w3.org/2000/svg";function ff(e){switch(e){case"svg":return cf;case"math":return GS;default:return rr}}function df(e,t){return e==null||e===rr?ff(t):e===cf&&t==="foreignObject"?rr:e}var WS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e},Ku,_h=WS(function(e,t){if(e.namespaceURI===cf&&!("innerHTML"in e)){Ku=Ku||document.createElement("div"),Ku.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Ku.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),qn=1,ir=3,It=8,or=9,vf=11,Ju=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===ir){n.nodeValue=t;return}}e.textContent=t},QS={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},dl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function XS(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var IS=["Webkit","ms","Moz","O"];Object.keys(dl).forEach(function(e){IS.forEach(function(t){dl[XS(t,e)]=dl[e]})});function pf(e,t,n){var a=t==null||typeof t=="boolean"||t==="";return a?"":!n&&typeof t=="number"&&t!==0&&!(dl.hasOwnProperty(e)&&dl[e])?t+"px":(ie(t,e),(""+t).trim())}var KS=/([A-Z])/g,JS=/^ms-/;function ZS(e){return e.replace(KS,"-$1").toLowerCase().replace(JS,"-ms-")}var Oh=function(){};{var eC=/^(?:webkit|moz|o)[A-Z]/,tC=/^-ms-/,nC=/-(.)/g,Mh=/;\s*$/,Ji={},hf={},Lh=!1,kh=!1,aC=function(e){return e.replace(nC,function(t,n){return n.toUpperCase()})},rC=function(e){Ji.hasOwnProperty(e)&&Ji[e]||(Ji[e]=!0,d("Unsupported style property %s. Did you mean %s?",e,aC(e.replace(tC,"ms-"))))},iC=function(e){Ji.hasOwnProperty(e)&&Ji[e]||(Ji[e]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},oC=function(e,t){hf.hasOwnProperty(t)&&hf[t]||(hf[t]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Mh,"")))},lC=function(e,t){Lh||(Lh=!0,d("`NaN` is an invalid value for the `%s` css style property.",e))},uC=function(e,t){kh||(kh=!0,d("`Infinity` is an invalid value for the `%s` css style property.",e))};Oh=function(e,t){e.indexOf("-")>-1?rC(e):eC.test(e)?iC(e):Mh.test(t)&&oC(e,t),typeof t=="number"&&(isNaN(t)?lC(e,t):isFinite(t)||uC(e,t))}}var sC=Oh;function cC(e){{var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(r!=null){var i=a.indexOf("--")===0;t+=n+(i?a:ZS(a))+":",t+=pf(a,r,i),n=";"}}return t||null}}function Nh(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0;r||sC(a,t[a]);var i=pf(a,t[a],r);a==="float"&&(a="cssFloat"),r?n.setProperty(a,i):n[a]=i}}function fC(e){return e==null||typeof e=="boolean"||e===""}function Uh(e){var t={};for(var n in e)for(var a=QS[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}function dC(e,t){{if(!t)return;var n=Uh(e),a=Uh(t),r={};for(var i in n){var o=n[i],l=a[i];if(l&&o!==l){var u=o+","+l;if(r[u])continue;r[u]=!0,d("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",fC(e[o])?"Removing":"Updating",o,l)}}}}var vC={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},pC=Ne({menuitem:!0},vC),hC="__html";function mf(e,t){if(t){if(pC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(hC in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&d("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function si(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ah={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Zi={},mC=new RegExp("^(aria)-["+A+"]*$"),yC=new RegExp("^(aria)[A-Z]["+A+"]*$");function gC(e,t){{if(Ye.call(Zi,t)&&Zi[t])return!0;if(yC.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Ah.hasOwnProperty(n)?n:null;if(a==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Zi[t]=!0,!0;if(t!==a)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Zi[t]=!0,!0}if(mC.test(t)){var r=t.toLowerCase(),i=Ah.hasOwnProperty(r)?r:null;if(i==null)return Zi[t]=!0,!1;if(t!==i)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),Zi[t]=!0,!0}}return!0}function bC(e,t){{var n=[];for(var a in t){var r=gC(e,a);r||n.push(a)}var i=n.map(function(o){return"`"+o+"`"}).join(", ");n.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}}function SC(e,t){si(e,t)||bC(e,t)}var jh=!1;function CC(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!jh&&(jh=!0,e==="select"&&t.multiple?d("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var zh=function(){};{var jn={},Hh=/^on./,EC=/^on[^A-Z]/,TC=new RegExp("^(aria)-["+A+"]*$"),RC=new RegExp("^(aria)[A-Z]["+A+"]*$");zh=function(e,t,n,a){if(Ye.call(jn,t)&&jn[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return d("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),jn[t]=!0,!0;if(a!=null){var i=a.registrationNameDependencies,o=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var l=o.hasOwnProperty(r)?o[r]:null;if(l!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",t,l),jn[t]=!0,!0;if(Hh.test(t))return d("Unknown event handler property `%s`. It will be ignored.",t),jn[t]=!0,!0}else if(Hh.test(t))return EC.test(t)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),jn[t]=!0,!0;if(TC.test(t)||RC.test(t))return!0;if(r==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jn[t]=!0,!0;if(r==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jn[t]=!0,!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),jn[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),jn[t]=!0,!0;var u=dt(t),c=u!==null&&u.type===je;if(Zu.hasOwnProperty(r)){var f=Zu[r];if(f!==t)return d("Invalid DOM property `%s`. Did you mean `%s`?",t,f),jn[t]=!0,!0}else if(!c&&t!==r)return d("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),jn[t]=!0,!0;return typeof n=="boolean"&&qe(t,n,u,!1)?(n?d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):d('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),jn[t]=!0,!0):c?!0:qe(t,n,u,!1)?(jn[t]=!0,!1):((n==="false"||n==="true")&&u!==null&&u.type===lt&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),jn[t]=!0),!0)}}var xC=function(e,t,n){{var a=[];for(var r in t){var i=zh(e,r,t[r],n);i||a.push(r)}var o=a.map(function(l){return"`"+l+"`"}).join(", ");a.length===1?d("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e):a.length>1&&d("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e)}};function wC(e,t,n){si(e,t)||xC(e,t,n)}var Fh=1,yf=2,vl=4,DC=Fh|yf|vl,pl=null;function _C(e){pl!==null&&d("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),pl=e}function OC(){pl===null&&d("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),pl=null}function MC(e){return e===pl}function gf(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ir?t.parentNode:t}var bf=null,eo=null,to=null;function Vh(e){var t=zr(e);if(t){if(typeof bf!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var a=js(n);bf(t.stateNode,t.type,a)}}}function LC(e){bf=e}function Bh(e){eo?to?to.push(e):to=[e]:eo=e}function kC(){return eo!==null||to!==null}function $h(){if(eo){var e=eo,t=to;if(eo=null,to=null,Vh(e),t)for(var n=0;n<t.length;n++)Vh(t[n])}}var Ph=function(e,t){return e(t)},Yh=function(){},Sf=!1;function NC(){var e=kC();e&&(Yh(),$h())}function qh(e,t,n){if(Sf)return e(t,n);Sf=!0;try{return Ph(e,t,n)}finally{Sf=!1,NC()}}function UC(e,t,n){Ph=e,Yh=n}function AC(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function jC(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&AC(t));default:return!1}}function hl(e,t){var n=e.stateNode;if(n===null)return null;var a=js(n);if(a===null)return null;var r=a[t];if(jC(t,e.type,a))return null;if(r&&typeof r!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}var Cf=!1;if(me)try{var ml={};Object.defineProperty(ml,"passive",{get:function(){Cf=!0}}),window.addEventListener("test",ml,ml),window.removeEventListener("test",ml,ml)}catch{Cf=!1}function Gh(e,t,n,a,r,i,o,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(f){this.onError(f)}}var Wh=Gh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ef=document.createElement("react");Wh=function(t,n,a,r,i,o,l,u,c){if(typeof document>"u"||document===null)throw new 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 f=document.createEvent("Event"),y=!1,m=!0,S=window.event,E=Object.getOwnPropertyDescriptor(window,"event");function R(){Ef.removeEventListener(x,re,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=S)}var F=Array.prototype.slice.call(arguments,3);function re(){y=!0,R(),n.apply(a,F),m=!1}var Z,Xe=!1,Ve=!1;function g(b){if(Z=b.error,Xe=!0,Z===null&&b.colno===0&&b.lineno===0&&(Ve=!0),b.defaultPrevented&&Z!=null&&typeof Z=="object")try{Z._suppressLogging=!0}catch{}}var x="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",g),Ef.addEventListener(x,re,!1),f.initEvent(x,!1,!1),Ef.dispatchEvent(f),E&&Object.defineProperty(window,"event",E),y&&m&&(Xe?Ve&&(Z=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Z=new Error(`An error was thrown inside one of your components, but React doesn'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's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Z)),window.removeEventListener("error",g),!y)return R(),Gh.apply(this,arguments)}}var zC=Wh,no=!1,es=null,ts=!1,Tf=null,HC={onError:function(e){no=!0,es=e}};function Rf(e,t,n,a,r,i,o,l,u){no=!1,es=null,zC.apply(HC,arguments)}function FC(e,t,n,a,r,i,o,l,u){if(Rf.apply(this,arguments),no){var c=xf();ts||(ts=!0,Tf=c)}}function VC(){if(ts){var e=Tf;throw ts=!1,Tf=null,e}}function BC(){return no}function xf(){if(no){var e=es;return no=!1,es=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ao(e){return e._reactInternals}function $C(e){return e._reactInternals!==void 0}function PC(e,t){e._reactInternals=t}var ce=0,ro=1,fn=2,st=4,ci=16,ns=32,Qh=64,vt=128,fi=256,di=512,io=1024,Or=2048,vi=4096,pi=8192,wf=16384,YC=32767,as=32768,Ra=65536,Df=131072,Xh=1048576,_f=2097152,hi=4194304,Of=8388608,Mr=16777216,Mf=33554432,Lf=st|io|0,kf=fn|st|ci|ns|di|vi|pi,yl=st|Qh|di|pi,oo=Or|ci,lr=hi|Of|_f,qC=se.ReactCurrentOwner;function mi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(fn|vi))!==ce&&(n=t.return),a=t.return;while(a)}return t.tag===H?n:null}function Ih(e){if(e.tag===ae){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function Kh(e){return e.tag===H?e.stateNode.containerInfo:null}function GC(e){return mi(e)===e}function WC(e){{var t=qC.current;if(t!==null&&t.tag===$){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||d("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",we(n)||"A component"),a._warnedAboutRefsInRender=!0}}var r=ao(e);return r?mi(r)===r:!1}function Jh(e){if(mi(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Zh(e){var t=e.alternate;if(!t){var n=mi(e);if(n===null)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var a=e,r=t;;){var i=a.return;if(i===null)break;var o=i.alternate;if(o===null){var l=i.return;if(l!==null){a=r=l;continue}break}if(i.child===o.child){for(var u=i.child;u;){if(u===a)return Jh(i),e;if(u===r)return Jh(i),t;u=u.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=i,r=o;else{for(var c=!1,f=i.child;f;){if(f===a){c=!0,a=i,r=o;break}if(f===r){c=!0,r=i,a=o;break}f=f.sibling}if(!c){for(f=o.child;f;){if(f===a){c=!0,a=o,r=i;break}if(f===r){c=!0,r=o,a=i;break}f=f.sibling}if(!c)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==H)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function em(e){var t=Zh(e);return t!==null?tm(t):null}function tm(e){if(e.tag===G||e.tag===Le)return e;for(var t=e.child;t!==null;){var n=tm(t);if(n!==null)return n;t=t.sibling}return null}function QC(e){var t=Zh(e);return t!==null?nm(t):null}function nm(e){if(e.tag===G||e.tag===Le)return e;for(var t=e.child;t!==null;){if(t.tag!==Te){var n=nm(t);if(n!==null)return n}t=t.sibling}return null}var am=D.unstable_scheduleCallback,XC=D.unstable_cancelCallback,IC=D.unstable_shouldYield,KC=D.unstable_requestPaint,dn=D.unstable_now,JC=D.unstable_getCurrentPriorityLevel,rs=D.unstable_ImmediatePriority,Nf=D.unstable_UserBlockingPriority,yi=D.unstable_NormalPriority,ZC=D.unstable_LowPriority,Uf=D.unstable_IdlePriority,e0=D.unstable_yieldValue,t0=D.unstable_setDisableYieldValue,lo=null,Dn=null,P=null,Ba=!1,xa=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function n0(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return d("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Nn&&(e=Ne({},e,{getLaneLabelMap:u0,injectProfilingHooks:l0})),lo=t.inject(e),Dn=t}catch(n){d("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function a0(e,t){if(Dn&&typeof Dn.onScheduleFiberRoot=="function")try{Dn.onScheduleFiberRoot(lo,e,t)}catch(n){Ba||(Ba=!0,d("React instrumentation encountered an error: %s",n))}}function r0(e,t){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{var n=(e.current.flags&vt)===vt;if(Jt){var a;switch(t){case na:a=rs;break;case sr:a=Nf;break;case cr:a=yi;break;case fs:a=Uf;break;default:a=yi;break}Dn.onCommitFiberRoot(lo,e,a,n)}}catch(r){Ba||(Ba=!0,d("React instrumentation encountered an error: %s",r))}}function i0(e){if(Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(lo,e)}catch(t){Ba||(Ba=!0,d("React instrumentation encountered an error: %s",t))}}function o0(e){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(lo,e)}catch(t){Ba||(Ba=!0,d("React instrumentation encountered an error: %s",t))}}function vn(e){if(typeof e0=="function"&&(t0(e),te(e)),Dn&&typeof Dn.setStrictMode=="function")try{Dn.setStrictMode(lo,e)}catch(t){Ba||(Ba=!0,d("React instrumentation encountered an error: %s",t))}}function l0(e){P=e}function u0(){{for(var e=new Map,t=1,n=0;n<jf;n++){var a=_0(t);e.set(t,a),t*=2}return e}}function s0(e){P!==null&&typeof P.markCommitStarted=="function"&&P.markCommitStarted(e)}function rm(){P!==null&&typeof P.markCommitStopped=="function"&&P.markCommitStopped()}function gl(e){P!==null&&typeof P.markComponentRenderStarted=="function"&&P.markComponentRenderStarted(e)}function uo(){P!==null&&typeof P.markComponentRenderStopped=="function"&&P.markComponentRenderStopped()}function c0(e){P!==null&&typeof P.markComponentPassiveEffectMountStarted=="function"&&P.markComponentPassiveEffectMountStarted(e)}function f0(){P!==null&&typeof P.markComponentPassiveEffectMountStopped=="function"&&P.markComponentPassiveEffectMountStopped()}function d0(e){P!==null&&typeof P.markComponentPassiveEffectUnmountStarted=="function"&&P.markComponentPassiveEffectUnmountStarted(e)}function v0(){P!==null&&typeof P.markComponentPassiveEffectUnmountStopped=="function"&&P.markComponentPassiveEffectUnmountStopped()}function p0(e){P!==null&&typeof P.markComponentLayoutEffectMountStarted=="function"&&P.markComponentLayoutEffectMountStarted(e)}function h0(){P!==null&&typeof P.markComponentLayoutEffectMountStopped=="function"&&P.markComponentLayoutEffectMountStopped()}function im(e){P!==null&&typeof P.markComponentLayoutEffectUnmountStarted=="function"&&P.markComponentLayoutEffectUnmountStarted(e)}function om(){P!==null&&typeof P.markComponentLayoutEffectUnmountStopped=="function"&&P.markComponentLayoutEffectUnmountStopped()}function m0(e,t,n){P!==null&&typeof P.markComponentErrored=="function"&&P.markComponentErrored(e,t,n)}function y0(e,t,n){P!==null&&typeof P.markComponentSuspended=="function"&&P.markComponentSuspended(e,t,n)}function g0(e){P!==null&&typeof P.markLayoutEffectsStarted=="function"&&P.markLayoutEffectsStarted(e)}function b0(){P!==null&&typeof P.markLayoutEffectsStopped=="function"&&P.markLayoutEffectsStopped()}function S0(e){P!==null&&typeof P.markPassiveEffectsStarted=="function"&&P.markPassiveEffectsStarted(e)}function C0(){P!==null&&typeof P.markPassiveEffectsStopped=="function"&&P.markPassiveEffectsStopped()}function lm(e){P!==null&&typeof P.markRenderStarted=="function"&&P.markRenderStarted(e)}function E0(){P!==null&&typeof P.markRenderYielded=="function"&&P.markRenderYielded()}function um(){P!==null&&typeof P.markRenderStopped=="function"&&P.markRenderStopped()}function T0(e){P!==null&&typeof P.markRenderScheduled=="function"&&P.markRenderScheduled(e)}function R0(e,t){P!==null&&typeof P.markForceUpdateScheduled=="function"&&P.markForceUpdateScheduled(e,t)}function Af(e,t){P!==null&&typeof P.markStateUpdateScheduled=="function"&&P.markStateUpdateScheduled(e,t)}var le=0,We=1,gt=2,Yt=8,$a=16,sm=Math.clz32?Math.clz32:D0,x0=Math.log,w0=Math.LN2;function D0(e){var t=e>>>0;return t===0?32:31-(x0(t)/w0|0)|0}var jf=31,M=0,pn=0,be=1,so=2,ur=4,gi=8,Pa=16,bl=32,co=4194240,Sl=64,zf=128,Hf=256,Ff=512,Vf=1024,Bf=2048,$f=4096,Pf=8192,Yf=16384,qf=32768,Gf=65536,Wf=131072,Qf=262144,Xf=524288,If=1048576,Kf=2097152,is=130023424,fo=4194304,Jf=8388608,Zf=16777216,ed=33554432,td=67108864,cm=fo,Cl=134217728,fm=268435455,El=268435456,bi=536870912,sa=1073741824;function _0(e){{if(e&be)return"Sync";if(e&so)return"InputContinuousHydration";if(e&ur)return"InputContinuous";if(e&gi)return"DefaultHydration";if(e&Pa)return"Default";if(e&bl)return"TransitionHydration";if(e&co)return"Transition";if(e&is)return"Retry";if(e&Cl)return"SelectiveHydration";if(e&El)return"IdleHydration";if(e&bi)return"Idle";if(e&sa)return"Offscreen"}}var Ot=-1,os=Sl,ls=fo;function Tl(e){switch(Si(e)){case be:return be;case so:return so;case ur:return ur;case gi:return gi;case Pa:return Pa;case bl:return bl;case Sl:case zf:case Hf:case Ff:case Vf:case Bf:case $f:case Pf:case Yf:case qf:case Gf:case Wf:case Qf:case Xf:case If:case Kf:return e&co;case fo:case Jf:case Zf:case ed:case td:return e&is;case Cl:return Cl;case El:return El;case bi:return bi;case sa:return sa;default:return d("Should have found matching lanes. This is a bug in React."),e}}function us(e,t){var n=e.pendingLanes;if(n===M)return M;var a=M,r=e.suspendedLanes,i=e.pingedLanes,o=n&fm;if(o!==M){var l=o&~r;if(l!==M)a=Tl(l);else{var u=o&i;u!==M&&(a=Tl(u))}}else{var c=n&~r;c!==M?a=Tl(c):i!==M&&(a=Tl(i))}if(a===M)return M;if(t!==M&&t!==a&&(t&r)===M){var f=Si(a),y=Si(t);if(f>=y||f===Pa&&(y&co)!==M)return t}(a&ur)!==M&&(a|=n&Pa);var m=e.entangledLanes;if(m!==M)for(var S=e.entanglements,E=a&m;E>0;){var R=Ci(E),F=1<<R;a|=S[R],E&=~F}return a}function O0(e,t){for(var n=e.eventTimes,a=Ot;t>0;){var r=Ci(t),i=1<<r,o=n[r];o>a&&(a=o),t&=~i}return a}function M0(e,t){switch(e){case be:case so:case ur:return t+250;case gi:case Pa:case bl:case Sl:case zf:case Hf:case Ff:case Vf:case Bf:case $f:case Pf:case Yf:case qf:case Gf:case Wf:case Qf:case Xf:case If:case Kf:return t+5e3;case fo:case Jf:case Zf:case ed:case td:return Ot;case Cl:case El:case bi:case sa:return Ot;default:return d("Should have found matching lanes. This is a bug in React."),Ot}}function L0(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=n;o>0;){var l=Ci(o),u=1<<l,c=i[l];c===Ot?((u&a)===M||(u&r)!==M)&&(i[l]=M0(u,t)):c<=t&&(e.expiredLanes|=u),o&=~u}}function k0(e){return Tl(e.pendingLanes)}function nd(e){var t=e.pendingLanes&-1073741825;return t!==M?t:t&sa?sa:M}function N0(e){return(e&be)!==M}function ad(e){return(e&fm)!==M}function dm(e){return(e&is)===e}function U0(e){var t=be|ur|Pa;return(e&t)===M}function A0(e){return(e&co)===e}function ss(e,t){var n=so|ur|gi|Pa;return(t&n)!==M}function j0(e,t){return(t&e.expiredLanes)!==M}function vm(e){return(e&co)!==M}function pm(){var e=os;return os<<=1,(os&co)===M&&(os=Sl),e}function z0(){var e=ls;return ls<<=1,(ls&is)===M&&(ls=fo),e}function Si(e){return e&-e}function Rl(e){return Si(e)}function Ci(e){return 31-sm(e)}function rd(e){return Ci(e)}function ta(e,t){return(e&t)!==M}function vo(e,t){return(e&t)===t}function Ue(e,t){return e|t}function cs(e,t){return e&~t}function hm(e,t){return e&t}function r_(e){return e}function H0(e,t){return e!==pn&&e<t?e:t}function id(e){for(var t=[],n=0;n<jf;n++)t.push(e);return t}function xl(e,t,n){e.pendingLanes|=t,t!==bi&&(e.suspendedLanes=M,e.pingedLanes=M);var a=e.eventTimes,r=rd(t);a[r]=n}function F0(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=Ci(a),i=1<<r;n[r]=Ot,a&=~i}}function mm(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function V0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=M,e.pingedLanes=M,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,i=e.expirationTimes,o=n;o>0;){var l=Ci(o),u=1<<l;a[l]=M,r[l]=Ot,i[l]=Ot,o&=~u}}function od(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var i=Ci(r),o=1<<i;o&t|a[i]&t&&(a[i]|=t),r&=~o}}function B0(e,t){var n=Si(t),a;switch(n){case ur:a=so;break;case Pa:a=gi;break;case Sl:case zf:case Hf:case Ff:case Vf:case Bf:case $f:case Pf:case Yf:case qf:case Gf:case Wf:case Qf:case Xf:case If:case Kf:case fo:case Jf:case Zf:case ed:case td:a=bl;break;case bi:a=El;break;default:a=pn;break}return(a&(e.suspendedLanes|t))!==pn?pn:a}function ym(e,t,n){if(xa)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=rd(n),i=1<<r,o=a[r];o.add(t),n&=~i}}function gm(e,t){if(xa)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=rd(t),i=1<<r,o=n[r];o.size>0&&(o.forEach(function(l){var u=l.alternate;(u===null||!a.has(u))&&a.add(l)}),o.clear()),t&=~i}}function bm(e,t){return null}var na=be,sr=ur,cr=Pa,fs=bi,wl=pn;function wa(){return wl}function hn(e){wl=e}function $0(e,t){var n=wl;try{return wl=e,t()}finally{wl=n}}function P0(e,t){return e!==0&&e<t?e:t}function Y0(e,t){return e>t?e:t}function ld(e,t){return e!==0&&e<t}function Sm(e){var t=Si(e);return ld(na,t)?ld(sr,t)?ad(t)?cr:fs:sr:na}function ds(e){var t=e.current.memoizedState;return t.isDehydrated}var Cm;function q0(e){Cm=e}function G0(e){Cm(e)}var ud;function W0(e){ud=e}var Em;function Q0(e){Em=e}var Tm;function X0(e){Tm=e}var Rm;function I0(e){Rm=e}var sd=!1,vs=[],Lr=null,kr=null,Nr=null,Dl=new Map,_l=new Map,Ur=[],K0=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function J0(e){return K0.indexOf(e)>-1}function Z0(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}function xm(e,t){switch(e){case"focusin":case"focusout":Lr=null;break;case"dragenter":case"dragleave":kr=null;break;case"mouseover":case"mouseout":Nr=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Dl.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;_l.delete(a);break}}}function Ol(e,t,n,a,r,i){if(e===null||e.nativeEvent!==i){var o=Z0(t,n,a,r,i);if(t!==null){var l=zr(t);l!==null&&ud(l)}return o}e.eventSystemFlags|=a;var u=e.targetContainers;return r!==null&&u.indexOf(r)===-1&&u.push(r),e}function eE(e,t,n,a,r){switch(t){case"focusin":{var i=r;return Lr=Ol(Lr,e,t,n,a,i),!0}case"dragenter":{var o=r;return kr=Ol(kr,e,t,n,a,o),!0}case"mouseover":{var l=r;return Nr=Ol(Nr,e,t,n,a,l),!0}case"pointerover":{var u=r,c=u.pointerId;return Dl.set(c,Ol(Dl.get(c)||null,e,t,n,a,u)),!0}case"gotpointercapture":{var f=r,y=f.pointerId;return _l.set(y,Ol(_l.get(y)||null,e,t,n,a,f)),!0}}return!1}function wm(e){var t=Ri(e.target);if(t!==null){var n=mi(t);if(n!==null){var a=n.tag;if(a===ae){var r=Ih(n);if(r!==null){e.blockedOn=r,Rm(e.priority,function(){Em(n)});return}}else if(a===H){var i=n.stateNode;if(ds(i)){e.blockedOn=Kh(n);return}}}}e.blockedOn=null}function tE(e){for(var t=Tm(),n={blockedOn:null,target:e,priority:t},a=0;a<Ur.length&&ld(t,Ur[a].priority);a++);Ur.splice(a,0,n),a===0&&wm(n)}function ps(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],a=dd(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(a===null){var r=e.nativeEvent,i=new r.constructor(r.type,r);_C(i),r.target.dispatchEvent(i),OC()}else{var o=zr(a);return o!==null&&ud(o),e.blockedOn=a,!1}t.shift()}return!0}function Dm(e,t,n){ps(e)&&n.delete(t)}function nE(){sd=!1,Lr!==null&&ps(Lr)&&(Lr=null),kr!==null&&ps(kr)&&(kr=null),Nr!==null&&ps(Nr)&&(Nr=null),Dl.forEach(Dm),_l.forEach(Dm)}function Ml(e,t){e.blockedOn===t&&(e.blockedOn=null,sd||(sd=!0,D.unstable_scheduleCallback(D.unstable_NormalPriority,nE)))}function Ll(e){if(vs.length>0){Ml(vs[0],e);for(var t=1;t<vs.length;t++){var n=vs[t];n.blockedOn===e&&(n.blockedOn=null)}}Lr!==null&&Ml(Lr,e),kr!==null&&Ml(kr,e),Nr!==null&&Ml(Nr,e);var a=function(l){return Ml(l,e)};Dl.forEach(a),_l.forEach(a);for(var r=0;r<Ur.length;r++){var i=Ur[r];i.blockedOn===e&&(i.blockedOn=null)}for(;Ur.length>0;){var o=Ur[0];if(o.blockedOn!==null)break;wm(o),o.blockedOn===null&&Ur.shift()}}var po=se.ReactCurrentBatchConfig,cd=!0;function _m(e){cd=!!e}function aE(){return cd}function rE(e,t,n){var a=Om(t),r;switch(a){case na:r=iE;break;case sr:r=oE;break;case cr:default:r=fd;break}return r.bind(null,t,n,e)}function iE(e,t,n,a){var r=wa(),i=po.transition;po.transition=null;try{hn(na),fd(e,t,n,a)}finally{hn(r),po.transition=i}}function oE(e,t,n,a){var r=wa(),i=po.transition;po.transition=null;try{hn(sr),fd(e,t,n,a)}finally{hn(r),po.transition=i}}function fd(e,t,n,a){cd&&lE(e,t,n,a)}function lE(e,t,n,a){var r=dd(e,t,n,a);if(r===null){wd(e,t,a,hs,n),xm(e,a);return}if(eE(r,e,t,n,a)){a.stopPropagation();return}if(xm(e,a),t&vl&&J0(e)){for(;r!==null;){var i=zr(r);i!==null&&G0(i);var o=dd(e,t,n,a);if(o===null&&wd(e,t,a,hs,n),o===r)break;r=o}r!==null&&a.stopPropagation();return}wd(e,t,a,null,n)}var hs=null;function dd(e,t,n,a){hs=null;var r=gf(a),i=Ri(r);if(i!==null){var o=mi(i);if(o===null)i=null;else{var l=o.tag;if(l===ae){var u=Ih(o);if(u!==null)return u;i=null}else if(l===H){var c=o.stateNode;if(ds(c))return Kh(o);i=null}else o!==i&&(i=null)}}return hs=i,null}function Om(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return na;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return sr;case"message":{var t=JC();switch(t){case rs:return na;case Nf:return sr;case yi:case ZC:return cr;case Uf:return fs;default:return cr}}default:return cr}}function uE(e,t,n){return e.addEventListener(t,n,!1),n}function sE(e,t,n){return e.addEventListener(t,n,!0),n}function cE(e,t,n,a){return e.addEventListener(t,n,{capture:!0,passive:a}),n}function fE(e,t,n,a){return e.addEventListener(t,n,{passive:a}),n}var kl=null,vd=null,Nl=null;function dE(e){return kl=e,vd=Lm(),!0}function vE(){kl=null,vd=null,Nl=null}function Mm(){if(Nl)return Nl;var e,t=vd,n=t.length,a,r=Lm(),i=r.length;for(e=0;e<n&&t[e]===r[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===r[i-a];a++);var l=a>1?1-a:void 0;return Nl=r.slice(e,l),Nl}function Lm(){return"value"in kl?kl.value:kl.textContent}function ms(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function ys(){return!0}function km(){return!1}function aa(e){function t(n,a,r,i,o){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l];u?this[l]=u(i):this[l]=i[l]}var c=i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1;return c?this.isDefaultPrevented=ys:this.isDefaultPrevented=km,this.isPropagationStopped=km,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ys)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ys)},persist:function(){},isPersistent:ys}),t}var ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pd=aa(ho),Ul=Ne({},ho,{view:0,detail:0}),pE=aa(Ul),hd,md,Al;function hE(e){e!==Al&&(Al&&e.type==="mousemove"?(hd=e.screenX-Al.screenX,md=e.screenY-Al.screenY):(hd=0,md=0),Al=e)}var gs=Ne({},Ul,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(hE(e),hd)},movementY:function(e){return"movementY"in e?e.movementY:md}}),Nm=aa(gs),mE=Ne({},gs,{dataTransfer:0}),yE=aa(mE),gE=Ne({},Ul,{relatedTarget:0}),yd=aa(gE),bE=Ne({},ho,{animationName:0,elapsedTime:0,pseudoElement:0}),SE=aa(bE),CE=Ne({},ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),EE=aa(CE),TE=Ne({},ho,{data:0}),Um=aa(TE),RE=Um,xE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wE={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function DE(e){if(e.key){var t=xE[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=ms(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?wE[e.keyCode]||"Unidentified":""}var _E={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function OE(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=_E[e];return a?!!n[a]:!1}function gd(e){return OE}var ME=Ne({},Ul,{key:DE,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gd,charCode:function(e){return e.type==="keypress"?ms(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ms(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),LE=aa(ME),kE=Ne({},gs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Am=aa(kE),NE=Ne({},Ul,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gd}),UE=aa(NE),AE=Ne({},ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),jE=aa(AE),zE=Ne({},gs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),HE=aa(zE),FE=[9,13,27,32],jm=229,bd=me&&"CompositionEvent"in window,jl=null;me&&"documentMode"in document&&(jl=document.documentMode);var VE=me&&"TextEvent"in window&&!jl,zm=me&&(!bd||jl&&jl>8&&jl<=11),Hm=32,Fm=String.fromCharCode(Hm);function BE(){De("onBeforeInput",["compositionend","keypress","textInput","paste"]),De("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),De("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),De("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Vm=!1;function $E(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function PE(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function YE(e,t){return e==="keydown"&&t.keyCode===jm}function Bm(e,t){switch(e){case"keyup":return FE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==jm;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $m(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Pm(e){return e.locale==="ko"}var mo=!1;function qE(e,t,n,a,r){var i,o;if(bd?i=PE(t):mo?Bm(t,a)&&(i="onCompositionEnd"):YE(t,a)&&(i="onCompositionStart"),!i)return null;zm&&!Pm(a)&&(!mo&&i==="onCompositionStart"?mo=dE(r):i==="onCompositionEnd"&&mo&&(o=Mm()));var l=Ts(n,i);if(l.length>0){var u=new Um(i,t,null,a,r);if(e.push({event:u,listeners:l}),o)u.data=o;else{var c=$m(a);c!==null&&(u.data=c)}}}function GE(e,t){switch(e){case"compositionend":return $m(t);case"keypress":var n=t.which;return n!==Hm?null:(Vm=!0,Fm);case"textInput":var a=t.data;return a===Fm&&Vm?null:a;default:return null}}function WE(e,t){if(mo){if(e==="compositionend"||!bd&&Bm(e,t)){var n=Mm();return vE(),mo=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!$E(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zm&&!Pm(t)?null:t.data;default:return null}}function QE(e,t,n,a,r){var i;if(VE?i=GE(t,a):i=WE(t,a),!i)return null;var o=Ts(n,"onBeforeInput");if(o.length>0){var l=new RE("onBeforeInput","beforeinput",null,a,r);e.push({event:l,listeners:o}),l.data=i}}function XE(e,t,n,a,r,i,o){qE(e,t,n,a,r),QE(e,t,n,a,r)}var IE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ym(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!IE[e.type]:t==="textarea"}/**
|
|
* Checks if an event is supported in the current execution environment.
|
|
*
|
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
* `reset`, `load`, `error`, and `select`.
|
|
*
|
|
* Borrows from Modernizr.
|
|
*
|
|
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
* @return {boolean} True if the event is supported.
|
|
* @internal
|
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
*/function KE(e){if(!me)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n=typeof a[t]=="function"}return n}function JE(){De("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function qm(e,t,n,a){Bh(a);var r=Ts(t,"onChange");if(r.length>0){var i=new pd("onChange","change",null,n,a);e.push({event:i,listeners:r})}}var zl=null,Hl=null;function ZE(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function eT(e){var t=[];qm(t,Hl,e,gf(e)),qh(tT,t)}function tT(e){sy(e,0)}function bs(e){var t=Eo(e);if(ll(t))return e}function nT(e,t){if(e==="change")return t}var Gm=!1;me&&(Gm=KE("input")&&(!document.documentMode||document.documentMode>9));function aT(e,t){zl=e,Hl=t,zl.attachEvent("onpropertychange",Qm)}function Wm(){zl&&(zl.detachEvent("onpropertychange",Qm),zl=null,Hl=null)}function Qm(e){e.propertyName==="value"&&bs(Hl)&&eT(e)}function rT(e,t,n){e==="focusin"?(Wm(),aT(t,n)):e==="focusout"&&Wm()}function iT(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bs(Hl)}function oT(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function lT(e,t){if(e==="click")return bs(t)}function uT(e,t){if(e==="input"||e==="change")return bs(t)}function sT(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ue(e,"number",e.value)}function cT(e,t,n,a,r,i,o){var l=n?Eo(n):window,u,c;if(ZE(l)?u=nT:Ym(l)?Gm?u=uT:(u=iT,c=rT):oT(l)&&(u=lT),u){var f=u(t,n);if(f){qm(e,f,a,r);return}}c&&c(t,l,n),t==="focusout"&&sT(l)}function fT(){xe("onMouseEnter",["mouseout","mouseover"]),xe("onMouseLeave",["mouseout","mouseover"]),xe("onPointerEnter",["pointerout","pointerover"]),xe("onPointerLeave",["pointerout","pointerover"])}function dT(e,t,n,a,r,i,o){var l=t==="mouseover"||t==="pointerover",u=t==="mouseout"||t==="pointerout";if(l&&!MC(a)){var c=a.relatedTarget||a.fromElement;if(c&&(Ri(c)||Zl(c)))return}if(!(!u&&!l)){var f;if(r.window===r)f=r;else{var y=r.ownerDocument;y?f=y.defaultView||y.parentWindow:f=window}var m,S;if(u){var E=a.relatedTarget||a.toElement;if(m=n,S=E?Ri(E):null,S!==null){var R=mi(S);(S!==R||S.tag!==G&&S.tag!==Le)&&(S=null)}}else m=null,S=n;if(m!==S){var F=Nm,re="onMouseLeave",Z="onMouseEnter",Xe="mouse";(t==="pointerout"||t==="pointerover")&&(F=Am,re="onPointerLeave",Z="onPointerEnter",Xe="pointer");var Ve=m==null?f:Eo(m),g=S==null?f:Eo(S),x=new F(re,Xe+"leave",m,a,r);x.target=Ve,x.relatedTarget=g;var b=null,k=Ri(r);if(k===n){var q=new F(Z,Xe+"enter",S,a,r);q.target=g,q.relatedTarget=Ve,b=q}jT(e,x,b,m,S)}}}function vT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ra=typeof Object.is=="function"?Object.is:vT;function Fl(e,t){if(ra(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var i=n[r];if(!Ye.call(t,i)||!ra(e[i],t[i]))return!1}return!0}function Xm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pT(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Im(e,t){for(var n=Xm(e),a=0,r=0;n;){if(n.nodeType===ir){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Xm(pT(n))}}function hT(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||a.rangeCount===0)return null;var r=a.anchorNode,i=a.anchorOffset,o=a.focusNode,l=a.focusOffset;try{r.nodeType,o.nodeType}catch{return null}return mT(e,r,i,o,l)}function mT(e,t,n,a,r){var i=0,o=-1,l=-1,u=0,c=0,f=e,y=null;e:for(;;){for(var m=null;f===t&&(n===0||f.nodeType===ir)&&(o=i+n),f===a&&(r===0||f.nodeType===ir)&&(l=i+r),f.nodeType===ir&&(i+=f.nodeValue.length),(m=f.firstChild)!==null;)y=f,f=m;for(;;){if(f===e)break e;if(y===t&&++u===n&&(o=i),y===a&&++c===r&&(l=i),(m=f.nextSibling)!==null)break;f=y,y=f.parentNode}f=m}return o===-1||l===-1?null:{start:o,end:l}}function yT(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),i=e.textContent.length,o=Math.min(t.start,i),l=t.end===void 0?o:Math.min(t.end,i);if(!r.extend&&o>l){var u=l;l=o,o=u}var c=Im(e,o),f=Im(e,l);if(c&&f){if(r.rangeCount===1&&r.anchorNode===c.node&&r.anchorOffset===c.offset&&r.focusNode===f.node&&r.focusOffset===f.offset)return;var y=n.createRange();y.setStart(c.node,c.offset),r.removeAllRanges(),o>l?(r.addRange(y),r.extend(f.node,f.offset)):(y.setEnd(f.node,f.offset),r.addRange(y))}}}function Km(e){return e&&e.nodeType===ir}function Jm(e,t){return!e||!t?!1:e===t?!0:Km(e)?!1:Km(t)?Jm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function gT(e){return e&&e.ownerDocument&&Jm(e.ownerDocument.documentElement,e)}function bT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Zm(){for(var e=window,t=nr();t instanceof e.HTMLIFrameElement;){if(bT(t))e=t.contentWindow;else return t;t=nr(e.document)}return t}function Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ST(){var e=Zm();return{focusedElem:e,selectionRange:Sd(e)?ET(e):null}}function CT(e){var t=Zm(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&gT(n)){a!==null&&Sd(n)&&TT(n,a);for(var r=[],i=n;i=i.parentNode;)i.nodeType===qn&&r.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var o=0;o<r.length;o++){var l=r[o];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function ET(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=hT(e),t||{start:0,end:0}}function TT(e,t){var n=t.start,a=t.end;a===void 0&&(a=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):yT(e,t)}var RT=me&&"documentMode"in document&&document.documentMode<=11;function xT(){De("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var yo=null,Cd=null,Vl=null,Ed=!1;function wT(e){if("selectionStart"in e&&Sd(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function DT(e){return e.window===e?e.document:e.nodeType===or?e:e.ownerDocument}function ey(e,t,n){var a=DT(n);if(!(Ed||yo==null||yo!==nr(a))){var r=wT(yo);if(!Vl||!Fl(Vl,r)){Vl=r;var i=Ts(Cd,"onSelect");if(i.length>0){var o=new pd("onSelect","select",null,t,n);e.push({event:o,listeners:i}),o.target=yo}}}}function _T(e,t,n,a,r,i,o){var l=n?Eo(n):window;switch(t){case"focusin":(Ym(l)||l.contentEditable==="true")&&(yo=l,Cd=n,Vl=null);break;case"focusout":yo=null,Cd=null,Vl=null;break;case"mousedown":Ed=!0;break;case"contextmenu":case"mouseup":case"dragend":Ed=!1,ey(e,a,r);break;case"selectionchange":if(RT)break;case"keydown":case"keyup":ey(e,a,r)}}function Ss(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var go={animationend:Ss("Animation","AnimationEnd"),animationiteration:Ss("Animation","AnimationIteration"),animationstart:Ss("Animation","AnimationStart"),transitionend:Ss("Transition","TransitionEnd")},Td={},ty={};me&&(ty=document.createElement("div").style,"AnimationEvent"in window||(delete go.animationend.animation,delete go.animationiteration.animation,delete go.animationstart.animation),"TransitionEvent"in window||delete go.transitionend.transition);function Cs(e){if(Td[e])return Td[e];if(!go[e])return e;var t=go[e];for(var n in t)if(t.hasOwnProperty(n)&&n in ty)return Td[e]=t[n];return e}var ny=Cs("animationend"),ay=Cs("animationiteration"),ry=Cs("animationstart"),iy=Cs("transitionend"),oy=new Map,ly=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Ar(e,t){oy.set(e,t),De(t,[e])}function OT(){for(var e=0;e<ly.length;e++){var t=ly[e],n=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Ar(n,"on"+a)}Ar(ny,"onAnimationEnd"),Ar(ay,"onAnimationIteration"),Ar(ry,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(iy,"onTransitionEnd")}function MT(e,t,n,a,r,i,o){var l=oy.get(t);if(l!==void 0){var u=pd,c=t;switch(t){case"keypress":if(ms(a)===0)return;case"keydown":case"keyup":u=LE;break;case"focusin":c="focus",u=yd;break;case"focusout":c="blur",u=yd;break;case"beforeblur":case"afterblur":u=yd;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=Nm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=yE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=UE;break;case ny:case ay:case ry:u=SE;break;case iy:u=jE;break;case"scroll":u=pE;break;case"wheel":u=HE;break;case"copy":case"cut":case"paste":u=EE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Am;break}var f=(i&vl)!==0;{var y=!f&&t==="scroll",m=UT(n,l,a.type,f,y);if(m.length>0){var S=new u(l,c,null,a,r);e.push({event:S,listeners:m})}}}}OT(),fT(),JE(),xT(),BE();function LT(e,t,n,a,r,i,o){MT(e,t,n,a,r,i);var l=(i&DC)===0;l&&(dT(e,t,n,a,r),cT(e,t,n,a,r),_T(e,t,n,a,r),XE(e,t,n,a,r))}var Bl=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Rd=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Bl));function uy(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,FC(a,t,void 0,e),e.currentTarget=null}function kT(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var i=t[r],o=i.instance,l=i.currentTarget,u=i.listener;if(o!==a&&e.isPropagationStopped())return;uy(e,u,l),a=o}else for(var c=0;c<t.length;c++){var f=t[c],y=f.instance,m=f.currentTarget,S=f.listener;if(y!==a&&e.isPropagationStopped())return;uy(e,S,m),a=y}}function sy(e,t){for(var n=(t&vl)!==0,a=0;a<e.length;a++){var r=e[a],i=r.event,o=r.listeners;kT(i,o,n)}VC()}function NT(e,t,n,a,r){var i=gf(n),o=[];LT(o,e,a,n,i,t),sy(o,t)}function Ut(e,t){Rd.has(e)||d('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=!1,a=sx(t),r=zT(e);a.has(r)||(cy(t,e,yf,n),a.add(r))}function xd(e,t,n){Rd.has(e)&&!t&&d('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=vl),cy(n,e,a,t)}var Es="_reactListening"+Math.random().toString(36).slice(2);function $l(e){if(!e[Es]){e[Es]=!0,Jn.forEach(function(n){n!=="selectionchange"&&(Rd.has(n)||xd(n,!1,e),xd(n,!0,e))});var t=e.nodeType===or?e:e.ownerDocument;t!==null&&(t[Es]||(t[Es]=!0,xd("selectionchange",!1,t)))}}function cy(e,t,n,a,r){var i=rE(e,t,n),o=void 0;Cf&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(o=!0),e=e,a?o!==void 0?cE(e,t,i,o):sE(e,t,i):o!==void 0?fE(e,t,i,o):uE(e,t,i)}function fy(e,t){return e===t||e.nodeType===It&&e.parentNode===t}function wd(e,t,n,a,r){var i=a;if(!(t&Fh)&&!(t&yf)){var o=r;if(a!==null){var l=a;e:for(;;){if(l===null)return;var u=l.tag;if(u===H||u===Te){var c=l.stateNode.containerInfo;if(fy(c,o))break;if(u===Te)for(var f=l.return;f!==null;){var y=f.tag;if(y===H||y===Te){var m=f.stateNode.containerInfo;if(fy(m,o))return}f=f.return}for(;c!==null;){var S=Ri(c);if(S===null)return;var E=S.tag;if(E===G||E===Le){l=i=S;continue e}c=c.parentNode}}l=l.return}}}qh(function(){return NT(e,t,n,i)})}function Pl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function UT(e,t,n,a,r,i){for(var o=t!==null?t+"Capture":null,l=a?o:t,u=[],c=e,f=null;c!==null;){var y=c,m=y.stateNode,S=y.tag;if(S===G&&m!==null&&(f=m,l!==null)){var E=hl(c,l);E!=null&&u.push(Pl(c,E,f))}if(r)break;c=c.return}return u}function Ts(e,t){for(var n=t+"Capture",a=[],r=e;r!==null;){var i=r,o=i.stateNode,l=i.tag;if(l===G&&o!==null){var u=o,c=hl(r,n);c!=null&&a.unshift(Pl(r,c,u));var f=hl(r,t);f!=null&&a.push(Pl(r,f,u))}r=r.return}return a}function bo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==G);return e||null}function AT(e,t){for(var n=e,a=t,r=0,i=n;i;i=bo(i))r++;for(var o=0,l=a;l;l=bo(l))o++;for(;r-o>0;)n=bo(n),r--;for(;o-r>0;)a=bo(a),o--;for(var u=r;u--;){if(n===a||a!==null&&n===a.alternate)return n;n=bo(n),a=bo(a)}return null}function dy(e,t,n,a,r){for(var i=t._reactName,o=[],l=n;l!==null&&l!==a;){var u=l,c=u.alternate,f=u.stateNode,y=u.tag;if(c!==null&&c===a)break;if(y===G&&f!==null){var m=f;if(r){var S=hl(l,i);S!=null&&o.unshift(Pl(l,S,m))}else if(!r){var E=hl(l,i);E!=null&&o.push(Pl(l,E,m))}}l=l.return}o.length!==0&&e.push({event:t,listeners:o})}function jT(e,t,n,a,r){var i=a&&r?AT(a,r):null;a!==null&&dy(e,t,a,i,!1),r!==null&&n!==null&&dy(e,n,r,i,!0)}function zT(e,t){return e+"__bubble"}var Gn=!1,Yl="dangerouslySetInnerHTML",Rs="suppressContentEditableWarning",jr="suppressHydrationWarning",vy="autoFocus",Ei="children",Ti="style",xs="__html",Dd,ws,ql,py,Ds,hy,my;Dd={dialog:!0,webview:!0},ws=function(e,t){SC(e,t),CC(e,t),wC(e,t,{registrationNameDependencies:Wt,possibleRegistrationNames:N})},hy=me&&!document.documentMode,ql=function(e,t,n){if(!Gn){var a=_s(n),r=_s(t);r!==a&&(Gn=!0,d("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},py=function(e){if(!Gn){Gn=!0;var t=[];e.forEach(function(n){t.push(n)}),d("Extra attributes from the server: %s",t)}},Ds=function(e,t){t===!1?d("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.",e,e,e):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},my=function(e,t){var n=e.namespaceURI===rr?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var HT=/\r\n?/g,FT=/\u0000|\uFFFD/g;function _s(e){W(e);var t=typeof e=="string"?e:""+e;return t.replace(HT,`
|
|
`).replace(FT,"")}function Os(e,t,n,a){var r=_s(t),i=_s(e);if(i!==r&&(a&&(Gn||(Gn=!0,d('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&Me))throw new Error("Text content does not match server-rendered HTML.")}function yy(e){return e.nodeType===or?e:e.ownerDocument}function VT(){}function Ms(e){e.onclick=VT}function BT(e,t,n,a,r){for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];if(i===Ti)o&&Object.freeze(o),Nh(t,o);else if(i===Yl){var l=o?o[xs]:void 0;l!=null&&_h(t,l)}else if(i===Ei)if(typeof o=="string"){var u=e!=="textarea"||o!=="";u&&Ju(t,o)}else typeof o=="number"&&Ju(t,""+o);else i===Rs||i===jr||i===vy||(Wt.hasOwnProperty(i)?o!=null&&(typeof o!="function"&&Ds(i,o),i==="onScroll"&&Ut("scroll",t)):o!=null&&Sa(t,i,o,r))}}function $T(e,t,n,a){for(var r=0;r<t.length;r+=2){var i=t[r],o=t[r+1];i===Ti?Nh(e,o):i===Yl?_h(e,o):i===Ei?Ju(e,o):Sa(e,i,o,a)}}function PT(e,t,n,a){var r,i=yy(n),o,l=a;if(l===rr&&(l=ff(e)),l===rr){if(r=si(e,t),!r&&e!==e.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var u=i.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;o=u.removeChild(c)}else if(typeof t.is=="string")o=i.createElement(e,{is:t.is});else if(o=i.createElement(e),e==="select"){var f=o;t.multiple?f.multiple=!0:t.size&&(f.size=t.size)}}else o=i.createElementNS(l,e);return l===rr&&!r&&Object.prototype.toString.call(o)==="[object HTMLUnknownElement]"&&!Ye.call(Dd,e)&&(Dd[e]=!0,d("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}function YT(e,t){return yy(t).createTextNode(e)}function qT(e,t,n,a){var r=si(t,n);ws(t,n);var i;switch(t){case"dialog":Ut("cancel",e),Ut("close",e),i=n;break;case"iframe":case"object":case"embed":Ut("load",e),i=n;break;case"video":case"audio":for(var o=0;o<Bl.length;o++)Ut(Bl[o],e);i=n;break;case"source":Ut("error",e),i=n;break;case"img":case"image":case"link":Ut("error",e),Ut("load",e),i=n;break;case"details":Ut("toggle",e),i=n;break;case"input":Xu(e,n),i=ul(e,n),Ut("invalid",e);break;case"option":yt(e,n),i=n;break;case"select":fl(e,n),i=cl(e,n),Ut("invalid",e);break;case"textarea":xh(e,n),i=sf(e,n),Ut("invalid",e);break;default:i=n}switch(mf(t,i),BT(t,e,a,i,r),t){case"input":li(e),C(e,n,!1);break;case"textarea":li(e),Dh(e);break;case"option":Dt(e,n);break;case"select":lf(e,n);break;default:typeof i.onClick=="function"&&Ms(e);break}}function GT(e,t,n,a,r){ws(t,a);var i=null,o,l;switch(t){case"input":o=ul(e,n),l=ul(e,a),i=[];break;case"select":o=cl(e,n),l=cl(e,a),i=[];break;case"textarea":o=sf(e,n),l=sf(e,a),i=[];break;default:o=n,l=a,typeof o.onClick!="function"&&typeof l.onClick=="function"&&Ms(e);break}mf(t,l);var u,c,f=null;for(u in o)if(!(l.hasOwnProperty(u)||!o.hasOwnProperty(u)||o[u]==null))if(u===Ti){var y=o[u];for(c in y)y.hasOwnProperty(c)&&(f||(f={}),f[c]="")}else u===Yl||u===Ei||u===Rs||u===jr||u===vy||(Wt.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in l){var m=l[u],S=o!=null?o[u]:void 0;if(!(!l.hasOwnProperty(u)||m===S||m==null&&S==null))if(u===Ti)if(m&&Object.freeze(m),S){for(c in S)S.hasOwnProperty(c)&&(!m||!m.hasOwnProperty(c))&&(f||(f={}),f[c]="");for(c in m)m.hasOwnProperty(c)&&S[c]!==m[c]&&(f||(f={}),f[c]=m[c])}else f||(i||(i=[]),i.push(u,f)),f=m;else if(u===Yl){var E=m?m[xs]:void 0,R=S?S[xs]:void 0;E!=null&&R!==E&&(i=i||[]).push(u,E)}else u===Ei?(typeof m=="string"||typeof m=="number")&&(i=i||[]).push(u,""+m):u===Rs||u===jr||(Wt.hasOwnProperty(u)?(m!=null&&(typeof m!="function"&&Ds(u,m),u==="onScroll"&&Ut("scroll",e)),!i&&S!==m&&(i=[])):(i=i||[]).push(u,m))}return f&&(dC(f,l[Ti]),(i=i||[]).push(Ti,f)),i}function WT(e,t,n,a,r){n==="input"&&r.type==="radio"&&r.name!=null&&s(e,r);var i=si(n,a),o=si(n,r);switch($T(e,t,i,o),n){case"input":v(e,r);break;case"textarea":wh(e,r);break;case"select":Iu(e,r);break}}function QT(e){{var t=e.toLowerCase();return Zu.hasOwnProperty(t)&&Zu[t]||null}}function XT(e,t,n,a,r,i,o){var l,u;switch(l=si(t,n),ws(t,n),t){case"dialog":Ut("cancel",e),Ut("close",e);break;case"iframe":case"object":case"embed":Ut("load",e);break;case"video":case"audio":for(var c=0;c<Bl.length;c++)Ut(Bl[c],e);break;case"source":Ut("error",e);break;case"img":case"image":case"link":Ut("error",e),Ut("load",e);break;case"details":Ut("toggle",e);break;case"input":Xu(e,n),Ut("invalid",e);break;case"option":yt(e,n);break;case"select":fl(e,n),Ut("invalid",e);break;case"textarea":xh(e,n),Ut("invalid",e);break}mf(t,n);{u=new Set;for(var f=e.attributes,y=0;y<f.length;y++){var m=f[y].name.toLowerCase();switch(m){case"value":break;case"checked":break;case"selected":break;default:u.add(f[y].name)}}}var S=null;for(var E in n)if(n.hasOwnProperty(E)){var R=n[E];if(E===Ei)typeof R=="string"?e.textContent!==R&&(n[jr]!==!0&&Os(e.textContent,R,i,o),S=[Ei,R]):typeof R=="number"&&e.textContent!==""+R&&(n[jr]!==!0&&Os(e.textContent,R,i,o),S=[Ei,""+R]);else if(Wt.hasOwnProperty(E))R!=null&&(typeof R!="function"&&Ds(E,R),E==="onScroll"&&Ut("scroll",e));else if(o&&typeof l=="boolean"){var F=void 0,re=dt(E);if(n[jr]!==!0){if(!(E===Rs||E===jr||E==="value"||E==="checked"||E==="selected")){if(E===Yl){var Z=e.innerHTML,Xe=R?R[xs]:void 0;if(Xe!=null){var Ve=my(e,Xe);Ve!==Z&&ql(E,Z,Ve)}}else if(E===Ti){if(u.delete(E),hy){var g=cC(R);F=e.getAttribute("style"),g!==F&&ql(E,F,g)}}else if(l)u.delete(E.toLowerCase()),F=Pi(e,E,R),R!==F&&ql(E,F,R);else if(!ht(E,re,l)&&!sn(E,R,re,l)){var x=!1;if(re!==null)u.delete(re.attributeName),F=$i(e,E,R,re);else{var b=a;if(b===rr&&(b=ff(t)),b===rr)u.delete(E.toLowerCase());else{var k=QT(E);k!==null&&k!==E&&(x=!0,u.delete(k)),u.delete(E)}F=Pi(e,E,R)}var q=Pn;!q&&R!==F&&!x&&ql(E,F,R)}}}}}switch(o&&u.size>0&&n[jr]!==!0&&py(u),t){case"input":li(e),C(e,n,!0);break;case"textarea":li(e),Dh(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&Ms(e);break}return S}function IT(e,t,n){var a=e.nodeValue!==t;return a}function _d(e,t){{if(Gn)return;Gn=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Od(e,t){{if(Gn)return;Gn=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Md(e,t,n){{if(Gn)return;Gn=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Ld(e,t){{if(t===""||Gn)return;Gn=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function KT(e,t,n){switch(t){case"input":T(e,n);return;case"textarea":qS(e,n);return;case"select":uf(e,n);return}}var Gl=function(){},Wl=function(){};{var JT=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],gy=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],ZT=gy.concat(["button"]),eR=["dd","dt","li","option","optgroup","p","rp","rt"],by={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Wl=function(e,t){var n=Ne({},e||by),a={tag:t};return gy.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),ZT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),JT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),n};var tR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return eR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},nR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Sy={};Gl=function(e,t,n){n=n||by;var a=n.current,r=a&&a.tag;t!=null&&(e!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=tR(e,r)?null:a,o=i?null:nR(e,n),l=i||o;if(l){var u=l.tag,c=!!i+"|"+e+"|"+u;if(!Sy[c]){Sy[c]=!0;var f=e,y="";if(e==="#text"?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",y=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",i){var m="";u==="table"&&e==="tr"&&(m+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",f,u,y,m)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",f,u)}}}}var Ls="suppressHydrationWarning",ks="$",Ns="/$",Ql="$?",Xl="$!",aR="style",kd=null,Nd=null;function rR(e){var t,n,a=e.nodeType;switch(a){case or:case vf:{t=a===or?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:df(null,"");break}default:{var i=a===It?e.parentNode:e,o=i.namespaceURI||null;t=i.tagName,n=df(o,t);break}}{var l=t.toLowerCase(),u=Wl(null,l);return{namespace:n,ancestorInfo:u}}}function iR(e,t,n){{var a=e,r=df(a.namespace,t),i=Wl(a.ancestorInfo,t);return{namespace:r,ancestorInfo:i}}}function i_(e){return e}function oR(e){kd=aE(),Nd=ST();var t=null;return _m(!1),t}function lR(e){CT(Nd),_m(kd),kd=null,Nd=null}function uR(e,t,n,a,r){var i;{var o=a;if(Gl(e,null,o.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var l=""+t.children,u=Wl(o.ancestorInfo,e);Gl(null,l,u)}i=o.namespace}var c=PT(e,t,n,i);return Jl(r,c),Bd(c,t),c}function sR(e,t){e.appendChild(t)}function cR(e,t,n,a,r){switch(qT(e,t,n,a),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}function fR(e,t,n,a,r,i){{var o=i;if(typeof a.children!=typeof n.children&&(typeof a.children=="string"||typeof a.children=="number")){var l=""+a.children,u=Wl(o.ancestorInfo,t);Gl(null,l,u)}}return GT(e,t,n,a)}function Ud(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function dR(e,t,n,a){{var r=n;Gl(null,e,r.ancestorInfo)}var i=YT(e,t);return Jl(a,i),i}function vR(){var e=window.event;return e===void 0?cr:Om(e.type)}var Ad=typeof setTimeout=="function"?setTimeout:void 0,pR=typeof clearTimeout=="function"?clearTimeout:void 0,jd=-1,Cy=typeof Promise=="function"?Promise:void 0,hR=typeof queueMicrotask=="function"?queueMicrotask:typeof Cy<"u"?function(e){return Cy.resolve(null).then(e).catch(mR)}:Ad;function mR(e){setTimeout(function(){throw e})}function yR(e,t,n,a){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":{n.src&&(e.src=n.src);return}}}function gR(e,t,n,a,r,i){WT(e,t,n,a,r),Bd(e,r)}function Ey(e){Ju(e,"")}function bR(e,t,n){e.nodeValue=n}function SR(e,t){e.appendChild(t)}function CR(e,t){var n;e.nodeType===It?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var a=e._reactRootContainer;a==null&&n.onclick===null&&Ms(n)}function ER(e,t,n){e.insertBefore(t,n)}function TR(e,t,n){e.nodeType===It?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function RR(e,t){e.removeChild(t)}function xR(e,t){e.nodeType===It?e.parentNode.removeChild(t):e.removeChild(t)}function zd(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===It){var i=r.data;if(i===Ns)if(a===0){e.removeChild(r),Ll(t);return}else a--;else(i===ks||i===Ql||i===Xl)&&a++}n=r}while(n);Ll(t)}function wR(e,t){e.nodeType===It?zd(e.parentNode,t):e.nodeType===qn&&zd(e,t),Ll(e)}function DR(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function _R(e){e.nodeValue=""}function OR(e,t){e=e;var n=t[aR],a=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=pf("display",a)}function MR(e,t){e.nodeValue=t}function LR(e){e.nodeType===qn?e.textContent="":e.nodeType===or&&e.documentElement&&e.removeChild(e.documentElement)}function kR(e,t,n){return e.nodeType!==qn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function NR(e,t){return t===""||e.nodeType!==ir?null:e}function UR(e){return e.nodeType!==It?null:e}function Ty(e){return e.data===Ql}function Hd(e){return e.data===Xl}function AR(e){var t=e.nextSibling&&e.nextSibling.dataset,n,a,r;return t&&(n=t.dgst,a=t.msg,r=t.stck),{message:a,digest:n,stack:r}}function jR(e,t){e._reactRetry=t}function Us(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===qn||t===ir)break;if(t===It){var n=e.data;if(n===ks||n===Xl||n===Ql)break;if(n===Ns)return null}}return e}function Il(e){return Us(e.nextSibling)}function zR(e){return Us(e.firstChild)}function HR(e){return Us(e.firstChild)}function FR(e){return Us(e.nextSibling)}function VR(e,t,n,a,r,i,o){Jl(i,e),Bd(e,n);var l;{var u=r;l=u.namespace}var c=(i.mode&We)!==le;return XT(e,t,n,l,a,c,o)}function BR(e,t,n,a){return Jl(n,e),n.mode&We,IT(e,t)}function $R(e,t){Jl(t,e)}function PR(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===It){var a=t.data;if(a===Ns){if(n===0)return Il(t);n--}else(a===ks||a===Xl||a===Ql)&&n++}t=t.nextSibling}return null}function Ry(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===It){var a=t.data;if(a===ks||a===Xl||a===Ql){if(n===0)return t;n--}else a===Ns&&n++}t=t.previousSibling}return null}function YR(e){Ll(e)}function qR(e){Ll(e)}function GR(e){return e!=="head"&&e!=="body"}function WR(e,t,n,a){var r=!0;Os(t.nodeValue,n,a,r)}function QR(e,t,n,a,r,i){if(t[Ls]!==!0){var o=!0;Os(a.nodeValue,r,i,o)}}function XR(e,t){t.nodeType===qn?_d(e,t):t.nodeType===It||Od(e,t)}function IR(e,t){{var n=e.parentNode;n!==null&&(t.nodeType===qn?_d(n,t):t.nodeType===It||Od(n,t))}}function KR(e,t,n,a,r){(r||t[Ls]!==!0)&&(a.nodeType===qn?_d(n,a):a.nodeType===It||Od(n,a))}function JR(e,t,n){Md(e,t)}function ZR(e,t){Ld(e,t)}function ex(e,t,n){{var a=e.parentNode;a!==null&&Md(a,t)}}function tx(e,t){{var n=e.parentNode;n!==null&&Ld(n,t)}}function nx(e,t,n,a,r,i){(i||t[Ls]!==!0)&&Md(n,a)}function ax(e,t,n,a,r){(r||t[Ls]!==!0)&&Ld(n,a)}function rx(e){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function ix(e){$l(e)}var So=Math.random().toString(36).slice(2),Co="__reactFiber$"+So,Fd="__reactProps$"+So,Kl="__reactContainer$"+So,Vd="__reactEvents$"+So,ox="__reactListeners$"+So,lx="__reactHandles$"+So;function ux(e){delete e[Co],delete e[Fd],delete e[Vd],delete e[ox],delete e[lx]}function Jl(e,t){t[Co]=e}function As(e,t){t[Kl]=e}function xy(e){e[Kl]=null}function Zl(e){return!!e[Kl]}function Ri(e){var t=e[Co];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kl]||n[Co],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var r=Ry(e);r!==null;){var i=r[Co];if(i)return i;r=Ry(r)}return t}e=n,n=e.parentNode}return null}function zr(e){var t=e[Co]||e[Kl];return t&&(t.tag===G||t.tag===Le||t.tag===ae||t.tag===H)?t:null}function Eo(e){if(e.tag===G||e.tag===Le)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function js(e){return e[Fd]||null}function Bd(e,t){e[Fd]=t}function sx(e){var t=e[Vd];return t===void 0&&(t=e[Vd]=new Set),t}var wy={},Dy=se.ReactDebugCurrentFrame;function zs(e){if(e){var t=e._owner,n=nl(e.type,e._source,t?t.type:null);Dy.setExtraStackFrame(n)}else Dy.setExtraStackFrame(null)}function Da(e,t,n,a,r){{var i=Function.call.bind(Ye);for(var o in e)if(i(e,o)){var l=void 0;try{if(typeof e[o]!="function"){var u=Error((a||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}l=e[o](t,o,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){l=c}l&&!(l instanceof Error)&&(zs(r),d("%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).",a||"React class",n,o,typeof l),zs(null)),l instanceof Error&&!(l.message in wy)&&(wy[l.message]=!0,zs(r),d("Failed %s type: %s",n,l.message),zs(null))}}}var $d=[],Hs;Hs=[];var fr=-1;function Hr(e){return{current:e}}function _n(e,t){if(fr<0){d("Unexpected pop.");return}t!==Hs[fr]&&d("Unexpected Fiber popped."),e.current=$d[fr],$d[fr]=null,Hs[fr]=null,fr--}function On(e,t,n){fr++,$d[fr]=e.current,Hs[fr]=n,e.current=t}var Pd;Pd={};var ia={};Object.freeze(ia);var dr=Hr(ia),Ya=Hr(!1),Yd=ia;function To(e,t,n){return n&&qa(t)?Yd:dr.current}function _y(e,t,n){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}}function Ro(e,t){{var n=e.type,a=n.contextTypes;if(!a)return ia;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={};for(var o in a)i[o]=t[o];{var l=we(e)||"Unknown";Da(a,i,"context",l)}return r&&_y(e,t,i),i}}function Fs(){return Ya.current}function qa(e){{var t=e.childContextTypes;return t!=null}}function Vs(e){_n(Ya,e),_n(dr,e)}function qd(e){_n(Ya,e),_n(dr,e)}function Oy(e,t,n){{if(dr.current!==ia)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");On(dr,t,e),On(Ya,n,e)}}function My(e,t,n){{var a=e.stateNode,r=t.childContextTypes;if(typeof a.getChildContext!="function"){{var i=we(e)||"Unknown";Pd[i]||(Pd[i]=!0,d("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i))}return n}var o=a.getChildContext();for(var l in o)if(!(l in r))throw new Error((we(e)||"Unknown")+'.getChildContext(): key "'+l+'" is not defined in childContextTypes.');{var u=we(e)||"Unknown";Da(r,o,"child context",u)}return Ne({},n,o)}}function Bs(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ia;return Yd=dr.current,On(dr,n,e),On(Ya,Ya.current,e),!0}}function Ly(e,t,n){{var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var r=My(e,t,Yd);a.__reactInternalMemoizedMergedChildContext=r,_n(Ya,e),_n(dr,e),On(dr,r,e),On(Ya,n,e)}else _n(Ya,e),On(Ya,n,e)}}function cx(e){{if(!GC(e)||e.tag!==$)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case H:return t.stateNode.context;case $:{var n=t.type;if(qa(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Fr=0,$s=1,vr=null,Gd=!1,Wd=!1;function ky(e){vr===null?vr=[e]:vr.push(e)}function fx(e){Gd=!0,ky(e)}function Ny(){Gd&&Vr()}function Vr(){if(!Wd&&vr!==null){Wd=!0;var e=0,t=wa();try{var n=!0,a=vr;for(hn(na);e<a.length;e++){var r=a[e];do r=r(n);while(r!==null)}vr=null,Gd=!1}catch(i){throw vr!==null&&(vr=vr.slice(e+1)),am(rs,Vr),i}finally{hn(t),Wd=!1}}return null}var xo=[],wo=0,Ps=null,Ys=0,ca=[],fa=0,xi=null,pr=1,hr="";function dx(e){return Di(),(e.flags&Xh)!==ce}function vx(e){return Di(),Ys}function px(){var e=hr,t=pr,n=t&~hx(t);return n.toString(32)+e}function wi(e,t){Di(),xo[wo++]=Ys,xo[wo++]=Ps,Ps=e,Ys=t}function Uy(e,t,n){Di(),ca[fa++]=pr,ca[fa++]=hr,ca[fa++]=xi,xi=e;var a=pr,r=hr,i=qs(a)-1,o=a&~(1<<i),l=n+1,u=qs(t)+i;if(u>30){var c=i-i%5,f=(1<<c)-1,y=(o&f).toString(32),m=o>>c,S=i-c,E=qs(t)+S,R=l<<S,F=R|m,re=y+r;pr=1<<E|F,hr=re}else{var Z=l<<i,Xe=Z|o,Ve=r;pr=1<<u|Xe,hr=Ve}}function Qd(e){Di();var t=e.return;if(t!==null){var n=1,a=0;wi(e,n),Uy(e,n,a)}}function qs(e){return 32-sm(e)}function hx(e){return 1<<qs(e)-1}function Xd(e){for(;e===Ps;)Ps=xo[--wo],xo[wo]=null,Ys=xo[--wo],xo[wo]=null;for(;e===xi;)xi=ca[--fa],ca[fa]=null,hr=ca[--fa],ca[fa]=null,pr=ca[--fa],ca[fa]=null}function mx(){return Di(),xi!==null?{id:pr,overflow:hr}:null}function yx(e,t){Di(),ca[fa++]=pr,ca[fa++]=hr,ca[fa++]=xi,pr=t.id,hr=t.overflow,xi=e}function Di(){gn()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var yn=null,da=null,_a=!1,_i=!1,Br=null;function gx(){_a&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ay(){_i=!0}function bx(){return _i}function Sx(e){var t=e.stateNode.containerInfo;return da=HR(t),yn=e,_a=!0,Br=null,_i=!1,!0}function Cx(e,t,n){return da=FR(t),yn=e,_a=!0,Br=null,_i=!1,n!==null&&yx(e,n),!0}function jy(e,t){switch(e.tag){case H:{XR(e.stateNode.containerInfo,t);break}case G:{var n=(e.mode&We)!==le;KR(e.type,e.memoizedProps,e.stateNode,t,n);break}case ae:{var a=e.memoizedState;a.dehydrated!==null&&IR(a.dehydrated,t);break}}}function zy(e,t){jy(e,t);var n=xD();n.stateNode=t,n.return=e;var a=e.deletions;a===null?(e.deletions=[n],e.flags|=ci):a.push(n)}function Id(e,t){{if(_i)return;switch(e.tag){case H:{var n=e.stateNode.containerInfo;switch(t.tag){case G:var a=t.type;t.pendingProps,JR(n,a);break;case Le:var r=t.pendingProps;ZR(n,r);break}break}case G:{var i=e.type,o=e.memoizedProps,l=e.stateNode;switch(t.tag){case G:{var u=t.type,c=t.pendingProps,f=(e.mode&We)!==le;nx(i,o,l,u,c,f);break}case Le:{var y=t.pendingProps,m=(e.mode&We)!==le;ax(i,o,l,y,m);break}}break}case ae:{var S=e.memoizedState,E=S.dehydrated;if(E!==null)switch(t.tag){case G:var R=t.type;t.pendingProps,ex(E,R);break;case Le:var F=t.pendingProps;tx(E,F);break}break}default:return}}}function Hy(e,t){t.flags=t.flags&-4097|fn,Id(e,t)}function Fy(e,t){switch(e.tag){case G:{var n=e.type;e.pendingProps;var a=kR(t,n);return a!==null?(e.stateNode=a,yn=e,da=zR(a),!0):!1}case Le:{var r=e.pendingProps,i=NR(t,r);return i!==null?(e.stateNode=i,yn=e,da=null,!0):!1}case ae:{var o=UR(t);if(o!==null){var l={dehydrated:o,treeContext:mx(),retryLane:sa};e.memoizedState=l;var u=wD(o);return u.return=e,e.child=u,yn=e,da=null,!0}return!1}default:return!1}}function Kd(e){return(e.mode&We)!==le&&(e.flags&vt)===ce}function Jd(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Zd(e){if(_a){var t=da;if(!t){Kd(e)&&(Id(yn,e),Jd()),Hy(yn,e),_a=!1,yn=e;return}var n=t;if(!Fy(e,t)){Kd(e)&&(Id(yn,e),Jd()),t=Il(n);var a=yn;if(!t||!Fy(e,t)){Hy(yn,e),_a=!1,yn=e;return}zy(a,n)}}}function Ex(e,t,n){var a=e.stateNode,r=!_i,i=VR(a,e.type,e.memoizedProps,t,n,e,r);return e.updateQueue=i,i!==null}function Tx(e){var t=e.stateNode,n=e.memoizedProps,a=BR(t,n,e);if(a){var r=yn;if(r!==null)switch(r.tag){case H:{var i=r.stateNode.containerInfo,o=(r.mode&We)!==le;WR(i,t,n,o);break}case G:{var l=r.type,u=r.memoizedProps,c=r.stateNode,f=(r.mode&We)!==le;QR(l,u,c,t,n,f);break}}}return a}function Rx(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$R(n,e)}function xx(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return PR(n)}function Vy(e){for(var t=e.return;t!==null&&t.tag!==G&&t.tag!==H&&t.tag!==ae;)t=t.return;yn=t}function Gs(e){if(e!==yn)return!1;if(!_a)return Vy(e),_a=!0,!1;if(e.tag!==H&&(e.tag!==G||GR(e.type)&&!Ud(e.type,e.memoizedProps))){var t=da;if(t)if(Kd(e))By(e),Jd();else for(;t;)zy(e,t),t=Il(t)}return Vy(e),e.tag===ae?da=xx(e):da=yn?Il(e.stateNode):null,!0}function wx(){return _a&&da!==null}function By(e){for(var t=da;t;)jy(e,t),t=Il(t)}function Do(){yn=null,da=null,_a=!1,_i=!1}function $y(){Br!==null&&(Ab(Br),Br=null)}function gn(){return _a}function ev(e){Br===null?Br=[e]:Br.push(e)}var Dx=se.ReactCurrentBatchConfig,_x=null;function Ox(){return Dx.transition}var Oa={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Mx=function(e){for(var t=null,n=e;n!==null;)n.mode&Yt&&(t=n),n=n.return;return t},Oi=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},eu=[],tu=[],nu=[],au=[],ru=[],iu=[],Mi=new Set;Oa.recordUnsafeLifecycleWarnings=function(e,t){Mi.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&eu.push(e),e.mode&Yt&&typeof t.UNSAFE_componentWillMount=="function"&&tu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&nu.push(e),e.mode&Yt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&au.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ru.push(e),e.mode&Yt&&typeof t.UNSAFE_componentWillUpdate=="function"&&iu.push(e))},Oa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;eu.length>0&&(eu.forEach(function(m){e.add(we(m)||"Component"),Mi.add(m.type)}),eu=[]);var t=new Set;tu.length>0&&(tu.forEach(function(m){t.add(we(m)||"Component"),Mi.add(m.type)}),tu=[]);var n=new Set;nu.length>0&&(nu.forEach(function(m){n.add(we(m)||"Component"),Mi.add(m.type)}),nu=[]);var a=new Set;au.length>0&&(au.forEach(function(m){a.add(we(m)||"Component"),Mi.add(m.type)}),au=[]);var r=new Set;ru.length>0&&(ru.forEach(function(m){r.add(we(m)||"Component"),Mi.add(m.type)}),ru=[]);var i=new Set;if(iu.length>0&&(iu.forEach(function(m){i.add(we(m)||"Component"),Mi.add(m.type)}),iu=[]),t.size>0){var o=Oi(t);d(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
|
|
Please update the following components: %s`,o)}if(a.size>0){var l=Oi(a);d(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
|
|
Please update the following components: %s`,l)}if(i.size>0){var u=Oi(i);d(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
|
|
Please update the following components: %s`,u)}if(e.size>0){var c=Oi(e);pe(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,c)}if(n.size>0){var f=Oi(n);pe(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,f)}if(r.size>0){var y=Oi(r);pe(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,y)}};var Ws=new Map,Py=new Set;Oa.recordLegacyContextWarning=function(e,t){var n=Mx(e);if(n===null){d("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(!Py.has(e.type)){var a=Ws.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Ws.set(n,a)),a.push(e))}},Oa.flushLegacyContextWarning=function(){Ws.forEach(function(e,t){if(e.length!==0){var n=e[0],a=new Set;e.forEach(function(i){a.add(we(i)||"Component"),Py.add(i.type)});var r=Oi(a);try{Ft(n),d(`Legacy context API has been detected within a strict-mode tree.
|
|
|
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
|
|
Please update the following components: %s
|
|
|
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)}finally{cn()}}})},Oa.discardPendingWarnings=function(){eu=[],tu=[],nu=[],au=[],ru=[],iu=[],Ws=new Map}}var tv,nv,av,rv,iv,Yy=function(e,t){};tv=!1,nv=!1,av={},rv={},iv={},Yy=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=we(t)||"Component";rv[n]||(rv[n]=!0,d('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Lx(e){return e.prototype&&e.prototype.isReactComponent}function ou(e,t,n){var a=n.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&Yt||Pt)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)&&!(n._owner&&n._owner.tag!==$)&&!(typeof n.type=="function"&&!Lx(n.type))&&n._owner){var r=we(e)||"Component";av[r]||(d('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r,a),av[r]=!0)}if(n._owner){var i=n._owner,o;if(i){var l=i;if(l.tag!==$)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");o=l.stateNode}if(!o)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var u=o;z(a,"ref");var c=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===c)return t.ref;var f=function(y){var m=u.refs;y===null?delete m[c]:m[c]=y};return f._stringRef=c,f}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
|
|
1. You may be adding a ref to a function component
|
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
3. You have multiple copies of React loaded
|
|
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Qs(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Xs(e){{var t=we(e)||"Component";if(iv[t])return;iv[t]=!0,d("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 qy(e){var t=e._payload,n=e._init;return n(t)}function Gy(e){function t(g,x){if(e){var b=g.deletions;b===null?(g.deletions=[x],g.flags|=ci):b.push(x)}}function n(g,x){if(!e)return null;for(var b=x;b!==null;)t(g,b),b=b.sibling;return null}function a(g,x){for(var b=new Map,k=x;k!==null;)k.key!==null?b.set(k.key,k):b.set(k.index,k),k=k.sibling;return b}function r(g,x){var b=Fi(g,x);return b.index=0,b.sibling=null,b}function i(g,x,b){if(g.index=b,!e)return g.flags|=Xh,x;var k=g.alternate;if(k!==null){var q=k.index;return q<x?(g.flags|=fn,x):q}else return g.flags|=fn,x}function o(g){return e&&g.alternate===null&&(g.flags|=fn),g}function l(g,x,b,k){if(x===null||x.tag!==Le){var q=eh(b,g.mode,k);return q.return=g,q}else{var B=r(x,b);return B.return=g,B}}function u(g,x,b,k){var q=b.type;if(q===Fa)return f(g,x,b.props.children,k,b.key);if(x!==null&&(x.elementType===q||Kb(x,b)||typeof q=="object"&&q!==null&&q.$$typeof===_e&&qy(q)===x.type)){var B=r(x,b.props);return B.ref=ou(g,x,b),B.return=g,B._debugSource=b._source,B._debugOwner=b._owner,B}var de=Zp(b,g.mode,k);return de.ref=ou(g,x,b),de.return=g,de}function c(g,x,b,k){if(x===null||x.tag!==Te||x.stateNode.containerInfo!==b.containerInfo||x.stateNode.implementation!==b.implementation){var q=th(b,g.mode,k);return q.return=g,q}else{var B=r(x,b.children||[]);return B.return=g,B}}function f(g,x,b,k,q){if(x===null||x.tag!==Oe){var B=Jr(b,g.mode,k,q);return B.return=g,B}else{var de=r(x,b);return de.return=g,de}}function y(g,x,b){if(typeof x=="string"&&x!==""||typeof x=="number"){var k=eh(""+x,g.mode,b);return k.return=g,k}if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Zn:{var q=Zp(x,g.mode,b);return q.ref=ou(g,null,x),q.return=g,q}case ea:{var B=th(x,g.mode,b);return B.return=g,B}case _e:{var de=x._payload,Ee=x._init;return y(g,Ee(de),b)}}if(Fe(x)||Ht(x)){var St=Jr(x,g.mode,b,null);return St.return=g,St}Qs(g,x)}return typeof x=="function"&&Xs(g),null}function m(g,x,b,k){var q=x!==null?x.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return q!==null?null:l(g,x,""+b,k);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Zn:return b.key===q?u(g,x,b,k):null;case ea:return b.key===q?c(g,x,b,k):null;case _e:{var B=b._payload,de=b._init;return m(g,x,de(B),k)}}if(Fe(b)||Ht(b))return q!==null?null:f(g,x,b,k,null);Qs(g,b)}return typeof b=="function"&&Xs(g),null}function S(g,x,b,k,q){if(typeof k=="string"&&k!==""||typeof k=="number"){var B=g.get(b)||null;return l(x,B,""+k,q)}if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Zn:{var de=g.get(k.key===null?b:k.key)||null;return u(x,de,k,q)}case ea:{var Ee=g.get(k.key===null?b:k.key)||null;return c(x,Ee,k,q)}case _e:var St=k._payload,it=k._init;return S(g,x,b,it(St),q)}if(Fe(k)||Ht(k)){var Gt=g.get(b)||null;return f(x,Gt,k,q,null)}Qs(x,k)}return typeof k=="function"&&Xs(x),null}function E(g,x,b){{if(typeof g!="object"||g===null)return x;switch(g.$$typeof){case Zn:case ea:Yy(g,b);var k=g.key;if(typeof k!="string")break;if(x===null){x=new Set,x.add(k);break}if(!x.has(k)){x.add(k);break}d("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",k);break;case _e:var q=g._payload,B=g._init;E(B(q),x,b);break}}return x}function R(g,x,b,k){for(var q=null,B=0;B<b.length;B++){var de=b[B];q=E(de,q,g)}for(var Ee=null,St=null,it=x,Gt=0,ot=0,qt=null;it!==null&&ot<b.length;ot++){it.index>ot?(qt=it,it=null):qt=it.sibling;var Ln=m(g,it,b[ot],k);if(Ln===null){it===null&&(it=qt);break}e&&it&&Ln.alternate===null&&t(g,it),Gt=i(Ln,Gt,ot),St===null?Ee=Ln:St.sibling=Ln,St=Ln,it=qt}if(ot===b.length){if(n(g,it),gn()){var xn=ot;wi(g,xn)}return Ee}if(it===null){for(;ot<b.length;ot++){var la=y(g,b[ot],k);la!==null&&(Gt=i(la,Gt,ot),St===null?Ee=la:St.sibling=la,St=la)}if(gn()){var Vn=ot;wi(g,Vn)}return Ee}for(var Bn=a(g,it);ot<b.length;ot++){var kn=S(Bn,g,ot,b[ot],k);kn!==null&&(e&&kn.alternate!==null&&Bn.delete(kn.key===null?ot:kn.key),Gt=i(kn,Gt,ot),St===null?Ee=kn:St.sibling=kn,St=kn)}if(e&&Bn.forEach(function(Go){return t(g,Go)}),gn()){var Er=ot;wi(g,Er)}return Ee}function F(g,x,b,k){var q=Ht(b);if(typeof q!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&b[Symbol.toStringTag]==="Generator"&&(nv||d("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),nv=!0),b.entries===q&&(tv||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tv=!0);var B=q.call(b);if(B)for(var de=null,Ee=B.next();!Ee.done;Ee=B.next()){var St=Ee.value;de=E(St,de,g)}}var it=q.call(b);if(it==null)throw new Error("An iterable object provided no iterator.");for(var Gt=null,ot=null,qt=x,Ln=0,xn=0,la=null,Vn=it.next();qt!==null&&!Vn.done;xn++,Vn=it.next()){qt.index>xn?(la=qt,qt=null):la=qt.sibling;var Bn=m(g,qt,Vn.value,k);if(Bn===null){qt===null&&(qt=la);break}e&&qt&&Bn.alternate===null&&t(g,qt),Ln=i(Bn,Ln,xn),ot===null?Gt=Bn:ot.sibling=Bn,ot=Bn,qt=la}if(Vn.done){if(n(g,qt),gn()){var kn=xn;wi(g,kn)}return Gt}if(qt===null){for(;!Vn.done;xn++,Vn=it.next()){var Er=y(g,Vn.value,k);Er!==null&&(Ln=i(Er,Ln,xn),ot===null?Gt=Er:ot.sibling=Er,ot=Er)}if(gn()){var Go=xn;wi(g,Go)}return Gt}for(var Hu=a(g,qt);!Vn.done;xn++,Vn=it.next()){var Za=S(Hu,g,xn,Vn.value,k);Za!==null&&(e&&Za.alternate!==null&&Hu.delete(Za.key===null?xn:Za.key),Ln=i(Za,Ln,xn),ot===null?Gt=Za:ot.sibling=Za,ot=Za)}if(e&&Hu.forEach(function(a_){return t(g,a_)}),gn()){var n_=xn;wi(g,n_)}return Gt}function re(g,x,b,k){if(x!==null&&x.tag===Le){n(g,x.sibling);var q=r(x,b);return q.return=g,q}n(g,x);var B=eh(b,g.mode,k);return B.return=g,B}function Z(g,x,b,k){for(var q=b.key,B=x;B!==null;){if(B.key===q){var de=b.type;if(de===Fa){if(B.tag===Oe){n(g,B.sibling);var Ee=r(B,b.props.children);return Ee.return=g,Ee._debugSource=b._source,Ee._debugOwner=b._owner,Ee}}else if(B.elementType===de||Kb(B,b)||typeof de=="object"&&de!==null&&de.$$typeof===_e&&qy(de)===B.type){n(g,B.sibling);var St=r(B,b.props);return St.ref=ou(g,B,b),St.return=g,St._debugSource=b._source,St._debugOwner=b._owner,St}n(g,B);break}else t(g,B);B=B.sibling}if(b.type===Fa){var it=Jr(b.props.children,g.mode,k,b.key);return it.return=g,it}else{var Gt=Zp(b,g.mode,k);return Gt.ref=ou(g,x,b),Gt.return=g,Gt}}function Xe(g,x,b,k){for(var q=b.key,B=x;B!==null;){if(B.key===q)if(B.tag===Te&&B.stateNode.containerInfo===b.containerInfo&&B.stateNode.implementation===b.implementation){n(g,B.sibling);var de=r(B,b.children||[]);return de.return=g,de}else{n(g,B);break}else t(g,B);B=B.sibling}var Ee=th(b,g.mode,k);return Ee.return=g,Ee}function Ve(g,x,b,k){var q=typeof b=="object"&&b!==null&&b.type===Fa&&b.key===null;if(q&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Zn:return o(Z(g,x,b,k));case ea:return o(Xe(g,x,b,k));case _e:var B=b._payload,de=b._init;return Ve(g,x,de(B),k)}if(Fe(b))return R(g,x,b,k);if(Ht(b))return F(g,x,b,k);Qs(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"?o(re(g,x,""+b,k)):(typeof b=="function"&&Xs(g),n(g,x))}return Ve}var _o=Gy(!0),Wy=Gy(!1);function kx(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,a=Fi(n,n.pendingProps);for(t.child=a,a.return=t;n.sibling!==null;)n=n.sibling,a=a.sibling=Fi(n,n.pendingProps),a.return=t;a.sibling=null}}function Nx(e,t){for(var n=e.child;n!==null;)SD(n,t),n=n.sibling}var ov=Hr(null),lv;lv={};var Is=null,Oo=null,uv=null,Ks=!1;function Js(){Is=null,Oo=null,uv=null,Ks=!1}function Qy(){Ks=!0}function Xy(){Ks=!1}function Iy(e,t,n){On(ov,t._currentValue,e),t._currentValue=n,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==lv&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=lv}function sv(e,t){var n=ov.current;_n(ov,t),e._currentValue=n}function cv(e,t,n){for(var a=e;a!==null;){var r=a.alternate;if(vo(a.childLanes,t)?r!==null&&!vo(r.childLanes,t)&&(r.childLanes=Ue(r.childLanes,t)):(a.childLanes=Ue(a.childLanes,t),r!==null&&(r.childLanes=Ue(r.childLanes,t))),a===n)break;a=a.return}a!==n&&d("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Ux(e,t,n){Ax(e,t,n)}function Ax(e,t,n){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var r=void 0,i=a.dependencies;if(i!==null){r=a.child;for(var o=i.firstContext;o!==null;){if(o.context===t){if(a.tag===$){var l=Rl(n),u=mr(Ot,l);u.tag=ec;var c=a.updateQueue;if(c!==null){var f=c.shared,y=f.pending;y===null?u.next=u:(u.next=y.next,y.next=u),f.pending=u}}a.lanes=Ue(a.lanes,n);var m=a.alternate;m!==null&&(m.lanes=Ue(m.lanes,n)),cv(a.return,n,e),i.lanes=Ue(i.lanes,n);break}o=o.next}}else if(a.tag===he)r=a.type===e.type?null:a.child;else if(a.tag===Ct){var S=a.return;if(S===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes=Ue(S.lanes,n);var E=S.alternate;E!==null&&(E.lanes=Ue(E.lanes,n)),cv(S,n,e),r=a.sibling}else r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===e){r=null;break}var R=r.sibling;if(R!==null){R.return=r.return,r=R;break}r=r.return}a=r}}function Mo(e,t){Is=e,Oo=null,uv=null;var n=e.dependencies;if(n!==null){var a=n.firstContext;a!==null&&(ta(n.lanes,t)&&Cu(),n.firstContext=null)}}function Kt(e){Ks&&d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(uv!==e){var n={context:e,memoizedValue:t,next:null};if(Oo===null){if(Is===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Oo=n,Is.dependencies={lanes:M,firstContext:n}}else Oo=Oo.next=n}return t}var Li=null;function fv(e){Li===null?Li=[e]:Li.push(e)}function jx(){if(Li!==null){for(var e=0;e<Li.length;e++){var t=Li[e],n=t.interleaved;if(n!==null){t.interleaved=null;var a=n.next,r=t.pending;if(r!==null){var i=r.next;r.next=a,n.next=i}t.pending=n}}Li=null}}function Ky(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,fv(t)):(n.next=r.next,r.next=n),t.interleaved=n,Zs(e,a)}function zx(e,t,n,a){var r=t.interleaved;r===null?(n.next=n,fv(t)):(n.next=r.next,r.next=n),t.interleaved=n}function Hx(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,fv(t)):(n.next=r.next,r.next=n),t.interleaved=n,Zs(e,a)}function Wn(e,t){return Zs(e,t)}var Fx=Zs;function Zs(e,t){e.lanes=Ue(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Ue(n.lanes,t)),n===null&&(e.flags&(fn|vi))!==ce&&Wb(e);for(var a=e,r=e.return;r!==null;)r.childLanes=Ue(r.childLanes,t),n=r.alternate,n!==null?n.childLanes=Ue(n.childLanes,t):(r.flags&(fn|vi))!==ce&&Wb(e),a=r,r=r.return;if(a.tag===H){var i=a.stateNode;return i}else return null}var Jy=0,Zy=1,ec=2,dv=3,tc=!1,vv,nc;vv=!1,nc=null;function pv(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:M},effects:null};e.updateQueue=t}function eg(e,t){var n=t.updateQueue,a=e.updateQueue;if(n===a){var r={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=r}}function mr(e,t){var n={eventTime:e,lane:t,tag:Jy,payload:null,callback:null,next:null};return n}function $r(e,t,n){var a=e.updateQueue;if(a===null)return null;var r=a.shared;if(nc===r&&!vv&&(d("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),vv=!0),zw()){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Fx(e,n)}else return Hx(e,r,t,n)}function ac(e,t,n){var a=t.updateQueue;if(a!==null){var r=a.shared;if(vm(n)){var i=r.lanes;i=hm(i,e.pendingLanes);var o=Ue(i,n);r.lanes=o,od(e,o)}}}function hv(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null){var r=a.updateQueue;if(n===r){var i=null,o=null,l=n.firstBaseUpdate;if(l!==null){var u=l;do{var c={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};o===null?i=o=c:(o.next=c,o=c),u=u.next}while(u!==null);o===null?i=o=t:(o.next=t,o=t)}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}}var f=n.lastBaseUpdate;f===null?n.firstBaseUpdate=t:f.next=t,n.lastBaseUpdate=t}function Vx(e,t,n,a,r,i){switch(n.tag){case Zy:{var o=n.payload;if(typeof o=="function"){Qy();var l=o.call(i,a,r);{if(e.mode&Yt){vn(!0);try{o.call(i,a,r)}finally{vn(!1)}}Xy()}return l}return o}case dv:e.flags=e.flags&-65537|vt;case Jy:{var u=n.payload,c;if(typeof u=="function"){Qy(),c=u.call(i,a,r);{if(e.mode&Yt){vn(!0);try{u.call(i,a,r)}finally{vn(!1)}}Xy()}}else c=u;return c==null?a:Ne({},a,c)}case ec:return tc=!0,a}return a}function rc(e,t,n,a){var r=e.updateQueue;tc=!1,nc=r.shared;var i=r.firstBaseUpdate,o=r.lastBaseUpdate,l=r.shared.pending;if(l!==null){r.shared.pending=null;var u=l,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var f=e.alternate;if(f!==null){var y=f.updateQueue,m=y.lastBaseUpdate;m!==o&&(m===null?y.firstBaseUpdate=c:m.next=c,y.lastBaseUpdate=u)}}if(i!==null){var S=r.baseState,E=M,R=null,F=null,re=null,Z=i;do{var Xe=Z.lane,Ve=Z.eventTime;if(vo(a,Xe)){if(re!==null){var x={eventTime:Ve,lane:pn,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};re=re.next=x}S=Vx(e,r,Z,S,t,n);var b=Z.callback;if(b!==null&&Z.lane!==pn){e.flags|=Qh;var k=r.effects;k===null?r.effects=[Z]:k.push(Z)}}else{var g={eventTime:Ve,lane:Xe,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};re===null?(F=re=g,R=S):re=re.next=g,E=Ue(E,Xe)}if(Z=Z.next,Z===null){if(l=r.shared.pending,l===null)break;var q=l,B=q.next;q.next=null,Z=B,r.lastBaseUpdate=q,r.shared.pending=null}}while(!0);re===null&&(R=S),r.baseState=R,r.firstBaseUpdate=F,r.lastBaseUpdate=re;var de=r.shared.interleaved;if(de!==null){var Ee=de;do E=Ue(E,Ee.lane),Ee=Ee.next;while(Ee!==de)}else i===null&&(r.shared.lanes=M);Nu(E),e.lanes=E,e.memoizedState=S}nc=null}function Bx(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function tg(){tc=!1}function ic(){return tc}function ng(e,t,n){var a=t.effects;if(t.effects=null,a!==null)for(var r=0;r<a.length;r++){var i=a[r],o=i.callback;o!==null&&(i.callback=null,Bx(o,n))}}var lu={},Pr=Hr(lu),uu=Hr(lu),oc=Hr(lu);function lc(e){if(e===lu)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function ag(){var e=lc(oc.current);return e}function mv(e,t){On(oc,t,e),On(uu,e,e),On(Pr,lu,e);var n=rR(t);_n(Pr,e),On(Pr,n,e)}function Lo(e){_n(Pr,e),_n(uu,e),_n(oc,e)}function yv(){var e=lc(Pr.current);return e}function rg(e){lc(oc.current);var t=lc(Pr.current),n=iR(t,e.type);t!==n&&(On(uu,e,e),On(Pr,n,e))}function gv(e){uu.current===e&&(_n(Pr,e),_n(uu,e))}var $x=0,ig=1,og=1,su=2,Ma=Hr($x);function bv(e,t){return(e&t)!==0}function ko(e){return e&ig}function Sv(e,t){return e&ig|t}function Px(e,t){return e|t}function Yr(e,t){On(Ma,t,e)}function No(e){_n(Ma,e)}function Yx(e,t){var n=e.memoizedState;return n!==null?n.dehydrated!==null:(e.memoizedProps,!0)}function uc(e){for(var t=e;t!==null;){if(t.tag===ae){var n=t.memoizedState;if(n!==null){var a=n.dehydrated;if(a===null||Ty(a)||Hd(a))return t}}else if(t.tag===Je&&t.memoizedProps.revealOrder!==void 0){var r=(t.flags&vt)!==ce;if(r)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qn=0,Zt=1,Ga=2,en=4,bn=8,Cv=[];function Ev(){for(var e=0;e<Cv.length;e++){var t=Cv[e];t._workInProgressVersionPrimary=null}Cv.length=0}function qx(e,t){var n=t._getVersion,a=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var Y=se.ReactCurrentDispatcher,cu=se.ReactCurrentBatchConfig,Tv,Uo;Tv=new Set;var ki=M,bt=null,tn=null,nn=null,sc=!1,fu=!1,du=0,Gx=0,Wx=25,w=null,va=null,qr=-1,Rv=!1;function pt(){{var e=w;va===null?va=[e]:va.push(e)}}function j(){{var e=w;va!==null&&(qr++,va[qr]!==e&&Qx(e))}}function Ao(e){e!=null&&!Fe(e)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w,typeof e)}function Qx(e){{var t=we(bt);if(!Tv.has(t)&&(Tv.add(t),va!==null)){for(var n="",a=30,r=0;r<=qr;r++){for(var i=va[r],o=r===qr?e:i,l=r+1+". "+i;l.length<a;)l+=" ";l+=o+`
|
|
`,n+=l}d(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
|
|
Previous render Next render
|
|
------------------------------------------------------
|
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`,t,n)}}}function Mn(){throw new 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:
|
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
2. You might be breaking the Rules of Hooks
|
|
3. You might have more than one copy of React in the same app
|
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function xv(e,t){if(Rv)return!1;if(t===null)return d("%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.",w),!1;e.length!==t.length&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
|
|
Previous: %s
|
|
Incoming: %s`,w,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!ra(e[n],t[n]))return!1;return!0}function jo(e,t,n,a,r,i){ki=i,bt=t,va=e!==null?e._debugHookTypes:null,qr=-1,Rv=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=M,e!==null&&e.memoizedState!==null?Y.current=_g:va!==null?Y.current=Dg:Y.current=wg;var o=n(a,r);if(fu){var l=0;do{if(fu=!1,du=0,l>=Wx)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,Rv=!1,tn=null,nn=null,t.updateQueue=null,qr=-1,Y.current=Og,o=n(a,r)}while(fu)}Y.current=Ec,t._debugHookTypes=va;var u=tn!==null&&tn.next!==null;if(ki=M,bt=null,tn=null,nn=null,w=null,va=null,qr=-1,e!==null&&(e.flags&lr)!==(t.flags&lr)&&(e.mode&We)!==le&&d("Internal React error: Expected static flag was missing. Please notify the React team."),sc=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o}function zo(){var e=du!==0;return du=0,e}function lg(e,t,n){t.updateQueue=e.updateQueue,(t.mode&$a)!==le?t.flags&=-50333701:t.flags&=-2053,e.lanes=cs(e.lanes,n)}function ug(){if(Y.current=Ec,sc){for(var e=bt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}sc=!1}ki=M,bt=null,tn=null,nn=null,va=null,qr=-1,w=null,Cg=!1,fu=!1,du=0}function Wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nn===null?bt.memoizedState=nn=e:nn=nn.next=e,nn}function pa(){var e;if(tn===null){var t=bt.alternate;t!==null?e=t.memoizedState:e=null}else e=tn.next;var n;if(nn===null?n=bt.memoizedState:n=nn.next,n!==null)nn=n,n=nn.next,tn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");tn=e;var a={memoizedState:tn.memoizedState,baseState:tn.baseState,baseQueue:tn.baseQueue,queue:tn.queue,next:null};nn===null?bt.memoizedState=nn=a:nn=nn.next=a}return nn}function sg(){return{lastEffect:null,stores:null}}function wv(e,t){return typeof t=="function"?t(e):t}function Dv(e,t,n){var a=Wa(),r;n!==void 0?r=n(t):r=t,a.memoizedState=a.baseState=r;var i={pending:null,interleaved:null,lanes:M,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=i;var o=i.dispatch=Jx.bind(null,bt,i);return[a.memoizedState,o]}function _v(e,t,n){var a=pa(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=tn,o=i.baseQueue,l=r.pending;if(l!==null){if(o!==null){var u=o.next,c=l.next;o.next=c,l.next=u}i.baseQueue!==o&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=o=l,r.pending=null}if(o!==null){var f=o.next,y=i.baseState,m=null,S=null,E=null,R=f;do{var F=R.lane;if(vo(ki,F)){if(E!==null){var Z={lane:pn,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null};E=E.next=Z}if(R.hasEagerState)y=R.eagerState;else{var Xe=R.action;y=e(y,Xe)}}else{var re={lane:F,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null};E===null?(S=E=re,m=y):E=E.next=re,bt.lanes=Ue(bt.lanes,F),Nu(F)}R=R.next}while(R!==null&&R!==f);E===null?m=y:E.next=S,ra(y,a.memoizedState)||Cu(),a.memoizedState=y,a.baseState=m,a.baseQueue=E,r.lastRenderedState=y}var Ve=r.interleaved;if(Ve!==null){var g=Ve;do{var x=g.lane;bt.lanes=Ue(bt.lanes,x),Nu(x),g=g.next}while(g!==Ve)}else o===null&&(r.lanes=M);var b=r.dispatch;return[a.memoizedState,b]}function Ov(e,t,n){var a=pa(),r=a.queue;if(r===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,l=a.memoizedState;if(o!==null){r.pending=null;var u=o.next,c=u;do{var f=c.action;l=e(l,f),c=c.next}while(c!==u);ra(l,a.memoizedState)||Cu(),a.memoizedState=l,a.baseQueue===null&&(a.baseState=l),r.lastRenderedState=l}return[l,i]}function o_(e,t,n){}function l_(e,t,n){}function Mv(e,t,n){var a=bt,r=Wa(),i,o=gn();if(o){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=n(),Uo||i!==n()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),Uo=!0)}else{if(i=t(),!Uo){var l=t();ra(i,l)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Uo=!0)}var u=Bc();if(u===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ss(u,ki)||cg(a,t,i)}r.memoizedState=i;var c={value:i,getSnapshot:t};return r.queue=c,pc(dg.bind(null,a,c,e),[e]),a.flags|=Or,vu(Zt|bn,fg.bind(null,a,c,i,t),void 0,null),i}function cc(e,t,n){var a=bt,r=pa(),i=t();if(!Uo){var o=t();ra(i,o)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Uo=!0)}var l=r.memoizedState,u=!ra(l,i);u&&(r.memoizedState=i,Cu());var c=r.queue;if(hu(dg.bind(null,a,c,e),[e]),c.getSnapshot!==t||u||nn!==null&&nn.memoizedState.tag&Zt){a.flags|=Or,vu(Zt|bn,fg.bind(null,a,c,i,t),void 0,null);var f=Bc();if(f===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ss(f,ki)||cg(a,t,i)}return i}function cg(e,t,n){e.flags|=wf;var a={getSnapshot:t,value:n},r=bt.updateQueue;if(r===null)r=sg(),bt.updateQueue=r,r.stores=[a];else{var i=r.stores;i===null?r.stores=[a]:i.push(a)}}function fg(e,t,n,a){t.value=n,t.getSnapshot=a,vg(t)&&pg(e)}function dg(e,t,n){var a=function(){vg(t)&&pg(e)};return n(a)}function vg(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!ra(n,a)}catch{return!0}}function pg(e){var t=Wn(e,be);t!==null&&ln(t,e,be,Ot)}function fc(e){var t=Wa();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:M,dispatch:null,lastRenderedReducer:wv,lastRenderedState:e};t.queue=n;var a=n.dispatch=Zx.bind(null,bt,n);return[t.memoizedState,a]}function Lv(e){return _v(wv)}function kv(e){return Ov(wv)}function vu(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},i=bt.updateQueue;if(i===null)i=sg(),bt.updateQueue=i,i.lastEffect=r.next=r;else{var o=i.lastEffect;if(o===null)i.lastEffect=r.next=r;else{var l=o.next;o.next=r,r.next=l,i.lastEffect=r}}return r}function Nv(e){var t=Wa();{var n={current:e};return t.memoizedState=n,n}}function dc(e){var t=pa();return t.memoizedState}function pu(e,t,n,a){var r=Wa(),i=a===void 0?null:a;bt.flags|=e,r.memoizedState=vu(Zt|t,n,void 0,i)}function vc(e,t,n,a){var r=pa(),i=a===void 0?null:a,o=void 0;if(tn!==null){var l=tn.memoizedState;if(o=l.destroy,i!==null){var u=l.deps;if(xv(i,u)){r.memoizedState=vu(t,n,o,i);return}}}bt.flags|=e,r.memoizedState=vu(Zt|t,n,o,i)}function pc(e,t){return(bt.mode&$a)!==le?pu(Mf|Or|Of,bn,e,t):pu(Or|Of,bn,e,t)}function hu(e,t){return vc(Or,bn,e,t)}function Uv(e,t){return pu(st,Ga,e,t)}function hc(e,t){return vc(st,Ga,e,t)}function Av(e,t){var n=st;return n|=hi,(bt.mode&$a)!==le&&(n|=Mr),pu(n,en,e,t)}function mc(e,t){return vc(st,en,e,t)}function hg(e,t){if(typeof t=="function"){var n=t,a=e();return n(a),function(){n(null)}}else if(t!=null){var r=t;r.hasOwnProperty("current")||d("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}");var i=e();return r.current=i,function(){r.current=null}}}function jv(e,t,n){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null,r=st;return r|=hi,(bt.mode&$a)!==le&&(r|=Mr),pu(r,en,hg.bind(null,t,e),a)}function yc(e,t,n){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=n!=null?n.concat([e]):null;return vc(st,en,hg.bind(null,t,e),a)}function Xx(e,t){}var gc=Xx;function zv(e,t){var n=Wa(),a=t===void 0?null:t;return n.memoizedState=[e,a],e}function bc(e,t){var n=pa(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(xv(a,i))return r[0]}return n.memoizedState=[e,a],e}function Hv(e,t){var n=Wa(),a=t===void 0?null:t,r=e();return n.memoizedState=[r,a],r}function Sc(e,t){var n=pa(),a=t===void 0?null:t,r=n.memoizedState;if(r!==null&&a!==null){var i=r[1];if(xv(a,i))return r[0]}var o=e();return n.memoizedState=[o,a],o}function Fv(e){var t=Wa();return t.memoizedState=e,e}function mg(e){var t=pa(),n=tn,a=n.memoizedState;return gg(t,a,e)}function yg(e){var t=pa();if(tn===null)return t.memoizedState=e,e;var n=tn.memoizedState;return gg(t,n,e)}function gg(e,t,n){var a=!U0(ki);if(a){if(!ra(n,t)){var r=pm();bt.lanes=Ue(bt.lanes,r),Nu(r),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Cu()),e.memoizedState=n,n}function Ix(e,t,n){var a=wa();hn(P0(a,sr)),e(!0);var r=cu.transition;cu.transition={};var i=cu.transition;cu.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(hn(a),cu.transition=r,r===null&&i._updatedFibers){var o=i._updatedFibers.size;o>10&&pe("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."),i._updatedFibers.clear()}}}function Vv(){var e=fc(!1),t=e[0],n=e[1],a=Ix.bind(null,n),r=Wa();return r.memoizedState=a,[t,a]}function bg(){var e=Lv(),t=e[0],n=pa(),a=n.memoizedState;return[t,a]}function Sg(){var e=kv(),t=e[0],n=pa(),a=n.memoizedState;return[t,a]}var Cg=!1;function Kx(){return Cg}function Bv(){var e=Wa(),t=Bc(),n=t.identifierPrefix,a;if(gn()){var r=px();a=":"+n+"R"+r;var i=du++;i>0&&(a+="H"+i.toString(32)),a+=":"}else{var o=Gx++;a=":"+n+"r"+o.toString(32)+":"}return e.memoizedState=a,a}function Cc(){var e=pa(),t=e.memoizedState;return t}function Jx(e,t,n){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=Ir(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Eg(e))Tg(t,r);else{var i=Ky(e,t,r,a);if(i!==null){var o=Fn();ln(i,e,a,o),Rg(i,t,a)}}xg(e,a)}function Zx(e,t,n){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=Ir(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Eg(e))Tg(t,r);else{var i=e.alternate;if(e.lanes===M&&(i===null||i.lanes===M)){var o=t.lastRenderedReducer;if(o!==null){var l;l=Y.current,Y.current=La;try{var u=t.lastRenderedState,c=o(u,n);if(r.hasEagerState=!0,r.eagerState=c,ra(c,u)){zx(e,t,r,a);return}}catch{}finally{Y.current=l}}}var f=Ky(e,t,r,a);if(f!==null){var y=Fn();ln(f,e,a,y),Rg(f,t,a)}}xg(e,a)}function Eg(e){var t=e.alternate;return e===bt||t!==null&&t===bt}function Tg(e,t){fu=sc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rg(e,t,n){if(vm(n)){var a=t.lanes;a=hm(a,e.pendingLanes);var r=Ue(a,n);t.lanes=r,od(e,r)}}function xg(e,t,n){Af(e,t)}var Ec={readContext:Kt,useCallback:Mn,useContext:Mn,useEffect:Mn,useImperativeHandle:Mn,useInsertionEffect:Mn,useLayoutEffect:Mn,useMemo:Mn,useReducer:Mn,useRef:Mn,useState:Mn,useDebugValue:Mn,useDeferredValue:Mn,useTransition:Mn,useMutableSource:Mn,useSyncExternalStore:Mn,useId:Mn,unstable_isNewReconciler:jt},wg=null,Dg=null,_g=null,Og=null,Qa=null,La=null,Tc=null;{var $v=function(){d("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Se=function(){d("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};wg={readContext:function(e){return Kt(e)},useCallback:function(e,t){return w="useCallback",pt(),Ao(t),zv(e,t)},useContext:function(e){return w="useContext",pt(),Kt(e)},useEffect:function(e,t){return w="useEffect",pt(),Ao(t),pc(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",pt(),Ao(n),jv(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",pt(),Ao(t),Uv(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",pt(),Ao(t),Av(e,t)},useMemo:function(e,t){w="useMemo",pt(),Ao(t);var n=Y.current;Y.current=Qa;try{return Hv(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",pt();var a=Y.current;Y.current=Qa;try{return Dv(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",pt(),Nv(e)},useState:function(e){w="useState",pt();var t=Y.current;Y.current=Qa;try{return fc(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",pt(),void 0},useDeferredValue:function(e){return w="useDeferredValue",pt(),Fv(e)},useTransition:function(){return w="useTransition",pt(),Vv()},useMutableSource:function(e,t,n){return w="useMutableSource",pt(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",pt(),Mv(e,t,n)},useId:function(){return w="useId",pt(),Bv()},unstable_isNewReconciler:jt},Dg={readContext:function(e){return Kt(e)},useCallback:function(e,t){return w="useCallback",j(),zv(e,t)},useContext:function(e){return w="useContext",j(),Kt(e)},useEffect:function(e,t){return w="useEffect",j(),pc(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",j(),jv(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",j(),Uv(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",j(),Av(e,t)},useMemo:function(e,t){w="useMemo",j();var n=Y.current;Y.current=Qa;try{return Hv(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",j();var a=Y.current;Y.current=Qa;try{return Dv(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",j(),Nv(e)},useState:function(e){w="useState",j();var t=Y.current;Y.current=Qa;try{return fc(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",j(),void 0},useDeferredValue:function(e){return w="useDeferredValue",j(),Fv(e)},useTransition:function(){return w="useTransition",j(),Vv()},useMutableSource:function(e,t,n){return w="useMutableSource",j(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",j(),Mv(e,t,n)},useId:function(){return w="useId",j(),Bv()},unstable_isNewReconciler:jt},_g={readContext:function(e){return Kt(e)},useCallback:function(e,t){return w="useCallback",j(),bc(e,t)},useContext:function(e){return w="useContext",j(),Kt(e)},useEffect:function(e,t){return w="useEffect",j(),hu(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",j(),yc(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",j(),hc(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",j(),mc(e,t)},useMemo:function(e,t){w="useMemo",j();var n=Y.current;Y.current=La;try{return Sc(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",j();var a=Y.current;Y.current=La;try{return _v(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",j(),dc()},useState:function(e){w="useState",j();var t=Y.current;Y.current=La;try{return Lv(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",j(),gc()},useDeferredValue:function(e){return w="useDeferredValue",j(),mg(e)},useTransition:function(){return w="useTransition",j(),bg()},useMutableSource:function(e,t,n){return w="useMutableSource",j(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",j(),cc(e,t)},useId:function(){return w="useId",j(),Cc()},unstable_isNewReconciler:jt},Og={readContext:function(e){return Kt(e)},useCallback:function(e,t){return w="useCallback",j(),bc(e,t)},useContext:function(e){return w="useContext",j(),Kt(e)},useEffect:function(e,t){return w="useEffect",j(),hu(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",j(),yc(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",j(),hc(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",j(),mc(e,t)},useMemo:function(e,t){w="useMemo",j();var n=Y.current;Y.current=Tc;try{return Sc(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",j();var a=Y.current;Y.current=Tc;try{return Ov(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",j(),dc()},useState:function(e){w="useState",j();var t=Y.current;Y.current=Tc;try{return kv(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",j(),gc()},useDeferredValue:function(e){return w="useDeferredValue",j(),yg(e)},useTransition:function(){return w="useTransition",j(),Sg()},useMutableSource:function(e,t,n){return w="useMutableSource",j(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",j(),cc(e,t)},useId:function(){return w="useId",j(),Cc()},unstable_isNewReconciler:jt},Qa={readContext:function(e){return $v(),Kt(e)},useCallback:function(e,t){return w="useCallback",Se(),pt(),zv(e,t)},useContext:function(e){return w="useContext",Se(),pt(),Kt(e)},useEffect:function(e,t){return w="useEffect",Se(),pt(),pc(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",Se(),pt(),jv(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",Se(),pt(),Uv(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",Se(),pt(),Av(e,t)},useMemo:function(e,t){w="useMemo",Se(),pt();var n=Y.current;Y.current=Qa;try{return Hv(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",Se(),pt();var a=Y.current;Y.current=Qa;try{return Dv(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",Se(),pt(),Nv(e)},useState:function(e){w="useState",Se(),pt();var t=Y.current;Y.current=Qa;try{return fc(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",Se(),pt(),void 0},useDeferredValue:function(e){return w="useDeferredValue",Se(),pt(),Fv(e)},useTransition:function(){return w="useTransition",Se(),pt(),Vv()},useMutableSource:function(e,t,n){return w="useMutableSource",Se(),pt(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",Se(),pt(),Mv(e,t,n)},useId:function(){return w="useId",Se(),pt(),Bv()},unstable_isNewReconciler:jt},La={readContext:function(e){return $v(),Kt(e)},useCallback:function(e,t){return w="useCallback",Se(),j(),bc(e,t)},useContext:function(e){return w="useContext",Se(),j(),Kt(e)},useEffect:function(e,t){return w="useEffect",Se(),j(),hu(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",Se(),j(),yc(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",Se(),j(),hc(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",Se(),j(),mc(e,t)},useMemo:function(e,t){w="useMemo",Se(),j();var n=Y.current;Y.current=La;try{return Sc(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",Se(),j();var a=Y.current;Y.current=La;try{return _v(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",Se(),j(),dc()},useState:function(e){w="useState",Se(),j();var t=Y.current;Y.current=La;try{return Lv(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",Se(),j(),gc()},useDeferredValue:function(e){return w="useDeferredValue",Se(),j(),mg(e)},useTransition:function(){return w="useTransition",Se(),j(),bg()},useMutableSource:function(e,t,n){return w="useMutableSource",Se(),j(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",Se(),j(),cc(e,t)},useId:function(){return w="useId",Se(),j(),Cc()},unstable_isNewReconciler:jt},Tc={readContext:function(e){return $v(),Kt(e)},useCallback:function(e,t){return w="useCallback",Se(),j(),bc(e,t)},useContext:function(e){return w="useContext",Se(),j(),Kt(e)},useEffect:function(e,t){return w="useEffect",Se(),j(),hu(e,t)},useImperativeHandle:function(e,t,n){return w="useImperativeHandle",Se(),j(),yc(e,t,n)},useInsertionEffect:function(e,t){return w="useInsertionEffect",Se(),j(),hc(e,t)},useLayoutEffect:function(e,t){return w="useLayoutEffect",Se(),j(),mc(e,t)},useMemo:function(e,t){w="useMemo",Se(),j();var n=Y.current;Y.current=La;try{return Sc(e,t)}finally{Y.current=n}},useReducer:function(e,t,n){w="useReducer",Se(),j();var a=Y.current;Y.current=La;try{return Ov(e,t,n)}finally{Y.current=a}},useRef:function(e){return w="useRef",Se(),j(),dc()},useState:function(e){w="useState",Se(),j();var t=Y.current;Y.current=La;try{return kv(e)}finally{Y.current=t}},useDebugValue:function(e,t){return w="useDebugValue",Se(),j(),gc()},useDeferredValue:function(e){return w="useDeferredValue",Se(),j(),yg(e)},useTransition:function(){return w="useTransition",Se(),j(),Sg()},useMutableSource:function(e,t,n){return w="useMutableSource",Se(),j(),void 0},useSyncExternalStore:function(e,t,n){return w="useSyncExternalStore",Se(),j(),cc(e,t)},useId:function(){return w="useId",Se(),j(),Cc()},unstable_isNewReconciler:jt}}var Gr=D.unstable_now,Mg=0,Rc=-1,mu=-1,xc=-1,Pv=!1,wc=!1;function Lg(){return Pv}function e1(){wc=!0}function t1(){Pv=!1,wc=!1}function n1(){Pv=wc,wc=!1}function kg(){return Mg}function Ng(){Mg=Gr()}function Yv(e){mu=Gr(),e.actualStartTime<0&&(e.actualStartTime=Gr())}function Ug(e){mu=-1}function Dc(e,t){if(mu>=0){var n=Gr()-mu;e.actualDuration+=n,t&&(e.selfBaseDuration=n),mu=-1}}function Xa(e){if(Rc>=0){var t=Gr()-Rc;Rc=-1;for(var n=e.return;n!==null;){switch(n.tag){case H:var a=n.stateNode;a.effectDuration+=t;return;case et:var r=n.stateNode;r.effectDuration+=t;return}n=n.return}}}function qv(e){if(xc>=0){var t=Gr()-xc;xc=-1;for(var n=e.return;n!==null;){switch(n.tag){case H:var a=n.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case et:var r=n.stateNode;r!==null&&(r.passiveEffectDuration+=t);return}n=n.return}}}function Ia(){Rc=Gr()}function Gv(){xc=Gr()}function Wv(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ka(e,t){if(e&&e.defaultProps){var n=Ne({},t),a=e.defaultProps;for(var r in a)n[r]===void 0&&(n[r]=a[r]);return n}return t}var Qv={},Xv,Iv,Kv,Jv,Zv,Ag,_c,ep,tp,np,yu;{Xv=new Set,Iv=new Set,Kv=new Set,Jv=new Set,ep=new Set,Zv=new Set,tp=new Set,np=new Set,yu=new Set;var jg=new Set;_c=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;jg.has(n)||(jg.add(n),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Ag=function(e,t){if(t===void 0){var n=ut(e)||"Component";Zv.has(n)||(Zv.add(n),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Qv,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Qv)}function ap(e,t,n,a){var r=e.memoizedState,i=n(a,r);{if(e.mode&Yt){vn(!0);try{i=n(a,r)}finally{vn(!1)}}Ag(t,i)}var o=i==null?r:Ne({},r,i);if(e.memoizedState=o,e.lanes===M){var l=e.updateQueue;l.baseState=o}}var rp={isMounted:WC,enqueueSetState:function(e,t,n){var a=ao(e),r=Fn(),i=Ir(a),o=mr(r,i);o.payload=t,n!=null&&(_c(n,"setState"),o.callback=n);var l=$r(a,o,i);l!==null&&(ln(l,a,i,r),ac(l,a,i)),Af(a,i)},enqueueReplaceState:function(e,t,n){var a=ao(e),r=Fn(),i=Ir(a),o=mr(r,i);o.tag=Zy,o.payload=t,n!=null&&(_c(n,"replaceState"),o.callback=n);var l=$r(a,o,i);l!==null&&(ln(l,a,i,r),ac(l,a,i)),Af(a,i)},enqueueForceUpdate:function(e,t){var n=ao(e),a=Fn(),r=Ir(n),i=mr(a,r);i.tag=ec,t!=null&&(_c(t,"forceUpdate"),i.callback=t);var o=$r(n,i,r);o!==null&&(ln(o,n,r,a),ac(o,n,r)),R0(n,r)}};function zg(e,t,n,a,r,i,o){var l=e.stateNode;if(typeof l.shouldComponentUpdate=="function"){var u=l.shouldComponentUpdate(a,i,o);{if(e.mode&Yt){vn(!0);try{u=l.shouldComponentUpdate(a,i,o)}finally{vn(!1)}}u===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ut(t)||"Component")}return u}return t.prototype&&t.prototype.isPureReactComponent?!Fl(n,a)||!Fl(r,i):!0}function a1(e,t,n){var a=e.stateNode;{var r=ut(t)||"Component",i=a.render;i||(t.prototype&&typeof t.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",r)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&d("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&d("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),a.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),t.childContextTypes&&!yu.has(t)&&(e.mode&Yt)===le&&(yu.add(t),d(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
|
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),t.contextTypes&&!yu.has(t)&&(e.mode&Yt)===le&&(yu.add(t),d(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
|
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,r)),a.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!tp.has(t)&&(tp.add(t),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),typeof a.componentShouldUpdate=="function"&&d("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ut(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof a.componentDidReceiveProps=="function"&&d("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof a.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof a.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var o=a.props!==n;a.props!==void 0&&o&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&d("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!Kv.has(t)&&(Kv.add(t),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ut(t))),typeof a.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof a.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof t.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var l=a.state;l&&(typeof l!="object"||Fe(l))&&d("%s.state: must be set to an object or null",r),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}}function Hg(e,t){t.updater=rp,e.stateNode=t,PC(t,e),t._reactInternalInstance=Qv}function Fg(e,t,n){var a=!1,r=ia,i=ia,o=t.contextType;if("contextType"in t){var l=o===null||o!==void 0&&o.$$typeof===p&&o._context===void 0;if(!l&&!np.has(t)){np.add(t);var u="";o===void 0?u=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof o!="object"?u=" However, it is set to a "+typeof o+".":o.$$typeof===ni?u=" Did you accidentally pass the Context.Provider instead?":o._context!==void 0?u=" Did you accidentally pass the Context.Consumer instead?":u=" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ut(t)||"Component",u)}}if(typeof o=="object"&&o!==null)i=Kt(o);else{r=To(e,t,!0);var c=t.contextTypes;a=c!=null,i=a?Ro(e,r):ia}var f=new t(n,i);if(e.mode&Yt){vn(!0);try{f=new t(n,i)}finally{vn(!1)}}var y=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null;Hg(e,f);{if(typeof t.getDerivedStateFromProps=="function"&&y===null){var m=ut(t)||"Component";Iv.has(m)||(Iv.add(m),d("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",m,f.state===null?"null":"undefined",m))}if(typeof t.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var S=null,E=null,R=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?E="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(E="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),S!==null||E!==null||R!==null){var F=ut(t)||"Component",re=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Jv.has(F)||(Jv.add(F),d(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
|
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
|
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
https://reactjs.org/link/unsafe-component-lifecycles`,F,re,S!==null?`
|
|
`+S:"",E!==null?`
|
|
`+E:"",R!==null?`
|
|
`+R:""))}}}return a&&_y(e,r,i),f}function r1(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",we(e)||"Component"),rp.enqueueReplaceState(t,t.state,null))}function Vg(e,t,n,a){var r=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){{var i=we(e)||"Component";Xv.has(i)||(Xv.add(i),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}rp.enqueueReplaceState(t,t.state,null)}}function ip(e,t,n,a){a1(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},pv(e);var i=t.contextType;if(typeof i=="object"&&i!==null)r.context=Kt(i);else{var o=To(e,t,!0);r.context=Ro(e,o)}{if(r.state===n){var l=ut(t)||"Component";ep.has(l)||(ep.add(l),d("%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.",l))}e.mode&Yt&&Oa.recordLegacyContextWarning(e,r),Oa.recordUnsafeLifecycleWarnings(e,r)}r.state=e.memoizedState;var u=t.getDerivedStateFromProps;if(typeof u=="function"&&(ap(e,t,u,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(r1(e,r),rc(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"){var c=st;c|=hi,(e.mode&$a)!==le&&(c|=Mr),e.flags|=c}}function i1(e,t,n,a){var r=e.stateNode,i=e.memoizedProps;r.props=i;var o=r.context,l=t.contextType,u=ia;if(typeof l=="object"&&l!==null)u=Kt(l);else{var c=To(e,t,!0);u=Ro(e,c)}var f=t.getDerivedStateFromProps,y=typeof f=="function"||typeof r.getSnapshotBeforeUpdate=="function";!y&&(typeof r.UNSAFE_componentWillReceiveProps=="function"||typeof r.componentWillReceiveProps=="function")&&(i!==n||o!==u)&&Vg(e,r,n,u),tg();var m=e.memoizedState,S=r.state=m;if(rc(e,n,r,a),S=e.memoizedState,i===n&&m===S&&!Fs()&&!ic()){if(typeof r.componentDidMount=="function"){var E=st;E|=hi,(e.mode&$a)!==le&&(E|=Mr),e.flags|=E}return!1}typeof f=="function"&&(ap(e,t,f,n),S=e.memoizedState);var R=ic()||zg(e,t,i,n,m,S,u);if(R){if(!y&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"){var F=st;F|=hi,(e.mode&$a)!==le&&(F|=Mr),e.flags|=F}}else{if(typeof r.componentDidMount=="function"){var re=st;re|=hi,(e.mode&$a)!==le&&(re|=Mr),e.flags|=re}e.memoizedProps=n,e.memoizedState=S}return r.props=n,r.state=S,r.context=u,R}function o1(e,t,n,a,r){var i=t.stateNode;eg(e,t);var o=t.memoizedProps,l=t.type===t.elementType?o:ka(t.type,o);i.props=l;var u=t.pendingProps,c=i.context,f=n.contextType,y=ia;if(typeof f=="object"&&f!==null)y=Kt(f);else{var m=To(t,n,!0);y=Ro(t,m)}var S=n.getDerivedStateFromProps,E=typeof S=="function"||typeof i.getSnapshotBeforeUpdate=="function";!E&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(o!==u||c!==y)&&Vg(t,i,a,y),tg();var R=t.memoizedState,F=i.state=R;if(rc(t,a,i,r),F=t.memoizedState,o===u&&R===F&&!Fs()&&!ic())return typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||R!==e.memoizedState)&&(t.flags|=st),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||R!==e.memoizedState)&&(t.flags|=io),!1;typeof S=="function"&&(ap(t,n,S,a),F=t.memoizedState);var re=ic()||zg(t,n,l,a,R,F,y)||Kn;return re?(!E&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,F,y),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,F,y)),typeof i.componentDidUpdate=="function"&&(t.flags|=st),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=io)):(typeof i.componentDidUpdate=="function"&&(o!==e.memoizedProps||R!==e.memoizedState)&&(t.flags|=st),typeof i.getSnapshotBeforeUpdate=="function"&&(o!==e.memoizedProps||R!==e.memoizedState)&&(t.flags|=io),t.memoizedProps=a,t.memoizedState=F),i.props=a,i.state=F,i.context=y,re}function Ni(e,t){return{value:e,source:t,stack:ii(t),digest:null}}function op(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function l1(e,t){return!0}function lp(e,t){try{var n=l1(e,t);if(n===!1)return;var a=t.value,r=t.source,i=t.stack,o=i!==null?i:"";if(a!=null&&a._suppressLogging){if(e.tag===$)return;console.error(a)}var l=r?we(r):null,u=l?"The above error occurred in the <"+l+"> component:":"The above error occurred in one of your React components:",c;if(e.tag===H)c=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var f=we(e)||"Anonymous";c="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+f+".")}var y=u+`
|
|
`+o+`
|
|
|
|
`+(""+c);console.error(y)}catch(m){setTimeout(function(){throw m})}}var u1=typeof WeakMap=="function"?WeakMap:Map;function Bg(e,t,n){var a=mr(Ot,n);a.tag=dv,a.payload={element:null};var r=t.value;return a.callback=function(){eD(r),lp(e,t)},a}function up(e,t,n){var a=mr(Ot,n);a.tag=dv;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){Jb(e),lp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(a.callback=function(){Jb(e),lp(e,t),typeof r!="function"&&Jw(this);var u=t.value,c=t.stack;this.componentDidCatch(u,{componentStack:c!==null?c:""}),typeof r!="function"&&(ta(e.lanes,be)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",we(e)||"Unknown"))}),a}function $g(e,t,n){var a=e.pingCache,r;if(a===null?(a=e.pingCache=new u1,r=new Set,a.set(t,r)):(r=a.get(t),r===void 0&&(r=new Set,a.set(t,r))),!r.has(n)){r.add(n);var i=tD.bind(null,e,t,n);xa&&Uu(e,n),t.then(i,i)}}function s1(e,t,n,a){var r=e.updateQueue;if(r===null){var i=new Set;i.add(n),e.updateQueue=i}else r.add(n)}function c1(e,t){var n=e.tag;if((e.mode&We)===le&&(n===ne||n===oe||n===ee)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function Pg(e){var t=e;do{if(t.tag===ae&&Yx(t))return t;t=t.return}while(t!==null);return null}function Yg(e,t,n,a,r){if((e.mode&We)===le){if(e===t)e.flags|=Ra;else{if(e.flags|=vt,n.flags|=Df,n.flags&=-52805,n.tag===$){var i=n.alternate;if(i===null)n.tag=He;else{var o=mr(Ot,be);o.tag=ec,$r(n,o,be)}}n.lanes=Ue(n.lanes,be)}return e}return e.flags|=Ra,e.lanes=r,e}function f1(e,t,n,a,r){if(n.flags|=as,xa&&Uu(e,r),a!==null&&typeof a=="object"&&typeof a.then=="function"){var i=a;c1(n),gn()&&n.mode&We&&Ay();var o=Pg(t);if(o!==null){o.flags&=-257,Yg(o,t,n,e,r),o.mode&We&&$g(e,i,r),s1(o,e,i);return}else{if(!N0(r)){$g(e,i,r),Bp();return}var l=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=l}}else if(gn()&&n.mode&We){Ay();var u=Pg(t);if(u!==null){(u.flags&Ra)===ce&&(u.flags|=fi),Yg(u,t,n,e,r),ev(Ni(a,n));return}}a=Ni(a,n),Yw(a);var c=t;do{switch(c.tag){case H:{var f=a;c.flags|=Ra;var y=Rl(r);c.lanes=Ue(c.lanes,y);var m=Bg(c,f,y);hv(c,m);return}case $:var S=a,E=c.type,R=c.stateNode;if((c.flags&vt)===ce&&(typeof E.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&!Pb(R))){c.flags|=Ra;var F=Rl(r);c.lanes=Ue(c.lanes,F);var re=up(c,S,F);hv(c,re);return}break}c=c.return}while(c!==null)}function d1(){return null}var gu=se.ReactCurrentOwner,Na=!1,sp,bu,cp,fp,dp,Ui,vp,Oc,Su;sp={},bu={},cp={},fp={},dp={},Ui=!1,vp={},Oc={},Su={};function zn(e,t,n,a){e===null?t.child=Wy(t,null,n,a):t.child=_o(t,e.child,n,a)}function v1(e,t,n,a){t.child=_o(t,e.child,null,a),t.child=_o(t,null,n,a)}function qg(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Da(i,a,"prop",ut(n))}var o=n.render,l=t.ref,u,c;Mo(t,r),gl(t);{if(gu.current=t,ua(!0),u=jo(e,t,o,a,l,r),c=zo(),t.mode&Yt){vn(!0);try{u=jo(e,t,o,a,l,r),c=zo()}finally{vn(!1)}}ua(!1)}return uo(),e!==null&&!Na?(lg(e,t,r),yr(e,t,r)):(gn()&&c&&Qd(t),t.flags|=ro,zn(e,t,u,r),t.child)}function Gg(e,t,n,a,r){if(e===null){var i=n.type;if(gD(i)&&n.compare===null&&n.defaultProps===void 0){var o=i;return o=qo(i),t.tag=ee,t.type=o,mp(t,i),Wg(e,t,o,a,r)}{var l=i.propTypes;if(l&&Da(l,a,"prop",ut(i)),n.defaultProps!==void 0){var u=ut(i)||"Unknown";Su[u]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Su[u]=!0)}}var c=Jp(n.type,null,a,t,t.mode,r);return c.ref=t.ref,c.return=t,t.child=c,c}{var f=n.type,y=f.propTypes;y&&Da(y,a,"prop",ut(f))}var m=e.child,S=Ep(e,r);if(!S){var E=m.memoizedProps,R=n.compare;if(R=R!==null?R:Fl,R(E,a)&&e.ref===t.ref)return yr(e,t,r)}t.flags|=ro;var F=Fi(m,a);return F.ref=t.ref,F.return=t,t.child=F,F}function Wg(e,t,n,a,r){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===_e){var o=i,l=o._payload,u=o._init;try{i=u(l)}catch{i=null}var c=i&&i.propTypes;c&&Da(c,a,"prop",ut(i))}}if(e!==null){var f=e.memoizedProps;if(Fl(f,a)&&e.ref===t.ref&&t.type===e.type)if(Na=!1,t.pendingProps=a=f,Ep(e,r))(e.flags&Df)!==ce&&(Na=!0);else return t.lanes=e.lanes,yr(e,t,r)}return pp(e,t,n,a,r)}function Qg(e,t,n){var a=t.pendingProps,r=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"||un)if((t.mode&We)===le){var o={baseLanes:M,cachePool:null,transitions:null};t.memoizedState=o,$c(t,n)}else if(ta(n,sa)){var y={baseLanes:M,cachePool:null,transitions:null};t.memoizedState=y;var m=i!==null?i.baseLanes:n;$c(t,m)}else{var l=null,u;if(i!==null){var c=i.baseLanes;u=Ue(c,n)}else u=n;t.lanes=t.childLanes=sa;var f={baseLanes:u,cachePool:l,transitions:null};return t.memoizedState=f,t.updateQueue=null,$c(t,u),null}else{var S;i!==null?(S=Ue(i.baseLanes,n),t.memoizedState=null):S=n,$c(t,S)}return zn(e,t,r,n),t.child}function p1(e,t,n){var a=t.pendingProps;return zn(e,t,a,n),t.child}function h1(e,t,n){var a=t.pendingProps.children;return zn(e,t,a,n),t.child}function m1(e,t,n){{t.flags|=st;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var r=t.pendingProps,i=r.children;return zn(e,t,i,n),t.child}function Xg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=di,t.flags|=_f)}function pp(e,t,n,a,r){if(t.type!==t.elementType){var i=n.propTypes;i&&Da(i,a,"prop",ut(n))}var o;{var l=To(t,n,!0);o=Ro(t,l)}var u,c;Mo(t,r),gl(t);{if(gu.current=t,ua(!0),u=jo(e,t,n,a,o,r),c=zo(),t.mode&Yt){vn(!0);try{u=jo(e,t,n,a,o,r),c=zo()}finally{vn(!1)}}ua(!1)}return uo(),e!==null&&!Na?(lg(e,t,r),yr(e,t,r)):(gn()&&c&&Qd(t),t.flags|=ro,zn(e,t,u,r),t.child)}function Ig(e,t,n,a,r){{switch(ND(t)){case!1:{var i=t.stateNode,o=t.type,l=new o(t.memoizedProps,i.context),u=l.state;i.updater.enqueueSetState(i,u,null);break}case!0:{t.flags|=vt,t.flags|=Ra;var c=new Error("Simulated error coming from DevTools"),f=Rl(r);t.lanes=Ue(t.lanes,f);var y=up(t,Ni(c,t),f);hv(t,y);break}}if(t.type!==t.elementType){var m=n.propTypes;m&&Da(m,a,"prop",ut(n))}}var S;qa(n)?(S=!0,Bs(t)):S=!1,Mo(t,r);var E=t.stateNode,R;E===null?(Lc(e,t),Fg(t,n,a),ip(t,n,a,r),R=!0):e===null?R=i1(t,n,a,r):R=o1(e,t,n,a,r);var F=hp(e,t,n,R,S,r);{var re=t.stateNode;R&&re.props!==a&&(Ui||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",we(t)||"a component"),Ui=!0)}return F}function hp(e,t,n,a,r,i){Xg(e,t);var o=(t.flags&vt)!==ce;if(!a&&!o)return r&&Ly(t,n,!1),yr(e,t,i);var l=t.stateNode;gu.current=t;var u;if(o&&typeof n.getDerivedStateFromError!="function")u=null,Ug();else{gl(t);{if(ua(!0),u=l.render(),t.mode&Yt){vn(!0);try{l.render()}finally{vn(!1)}}ua(!1)}uo()}return t.flags|=ro,e!==null&&o?v1(e,t,u,i):zn(e,t,u,i),t.memoizedState=l.state,r&&Ly(t,n,!0),t.child}function Kg(e){var t=e.stateNode;t.pendingContext?Oy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Oy(e,t.context,!1),mv(e,t.containerInfo)}function y1(e,t,n){if(Kg(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,r=t.memoizedState,i=r.element;eg(e,t),rc(t,a,null,n);var o=t.memoizedState;t.stateNode;var l=o.element;if(r.isDehydrated){var u={element:l,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},c=t.updateQueue;if(c.baseState=u,t.memoizedState=u,t.flags&fi){var f=Ni(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Jg(e,t,l,n,f)}else if(l!==i){var y=Ni(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Jg(e,t,l,n,y)}else{Sx(t);var m=Wy(t,null,l,n);t.child=m;for(var S=m;S;)S.flags=S.flags&-3|vi,S=S.sibling}}else{if(Do(),l===i)return yr(e,t,n);zn(e,t,l,n)}return t.child}function Jg(e,t,n,a,r){return Do(),ev(r),t.flags|=fi,zn(e,t,n,a),t.child}function g1(e,t,n){rg(t),e===null&&Zd(t);var a=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,o=r.children,l=Ud(a,r);return l?o=null:i!==null&&Ud(a,i)&&(t.flags|=ns),Xg(e,t),zn(e,t,o,n),t.child}function b1(e,t){return e===null&&Zd(t),null}function S1(e,t,n,a){Lc(e,t);var r=t.pendingProps,i=n,o=i._payload,l=i._init,u=l(o);t.type=u;var c=t.tag=bD(u),f=ka(u,r),y;switch(c){case ne:return mp(t,u),t.type=u=qo(u),y=pp(null,t,u,f,a),y;case $:return t.type=u=Gp(u),y=Ig(null,t,u,f,a),y;case oe:return t.type=u=Wp(u),y=qg(null,t,u,f,a),y;case tt:{if(t.type!==t.elementType){var m=u.propTypes;m&&Da(m,f,"prop",ut(u))}return y=Gg(null,t,u,ka(u.type,f),a),y}}var S="";throw u!==null&&typeof u=="object"&&u.$$typeof===_e&&(S=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+u+". "+("Lazy element type must resolve to a class or function."+S))}function C1(e,t,n,a,r){Lc(e,t),t.tag=$;var i;return qa(n)?(i=!0,Bs(t)):i=!1,Mo(t,r),Fg(t,n,a),ip(t,n,a,r),hp(null,t,n,!0,i,r)}function E1(e,t,n,a){Lc(e,t);var r=t.pendingProps,i;{var o=To(t,n,!1);i=Ro(t,o)}Mo(t,a);var l,u;gl(t);{if(n.prototype&&typeof n.prototype.render=="function"){var c=ut(n)||"Unknown";sp[c]||(d("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",c,c),sp[c]=!0)}t.mode&Yt&&Oa.recordLegacyContextWarning(t,null),ua(!0),gu.current=t,l=jo(null,t,n,r,i,a),u=zo(),ua(!1)}if(uo(),t.flags|=ro,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0){var f=ut(n)||"Unknown";bu[f]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",f,f,f),bu[f]=!0)}if(typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0){{var y=ut(n)||"Unknown";bu[y]||(d("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",y,y,y),bu[y]=!0)}t.tag=$,t.memoizedState=null,t.updateQueue=null;var m=!1;return qa(n)?(m=!0,Bs(t)):m=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,pv(t),Hg(t,l),ip(t,n,r,a),hp(null,t,n,!0,m,a)}else{if(t.tag=ne,t.mode&Yt){vn(!0);try{l=jo(null,t,n,r,i,a),u=zo()}finally{vn(!1)}}return gn()&&u&&Qd(t),zn(null,t,l,a),mp(t,n),t.child}}function mp(e,t){{if(t&&t.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",a=Dr();a&&(n+=`
|
|
|
|
Check the render method of \``+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),dp[r]||(dp[r]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(t.defaultProps!==void 0){var o=ut(t)||"Unknown";Su[o]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),Su[o]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var l=ut(t)||"Unknown";fp[l]||(d("%s: Function components do not support getDerivedStateFromProps.",l),fp[l]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=ut(t)||"Unknown";cp[u]||(d("%s: Function components do not support contextType.",u),cp[u]=!0)}}}var yp={dehydrated:null,treeContext:null,retryLane:pn};function gp(e){return{baseLanes:e,cachePool:d1(),transitions:null}}function T1(e,t){var n=null;return{baseLanes:Ue(e.baseLanes,t),cachePool:n,transitions:e.transitions}}function R1(e,t,n,a){if(t!==null){var r=t.memoizedState;if(r===null)return!1}return bv(e,su)}function x1(e,t){return cs(e.childLanes,t)}function Zg(e,t,n){var a=t.pendingProps;UD(t)&&(t.flags|=vt);var r=Ma.current,i=!1,o=(t.flags&vt)!==ce;if(o||R1(r,e)?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(r=Px(r,og)),r=ko(r),Yr(t,r),e===null){Zd(t);var l=t.memoizedState;if(l!==null){var u=l.dehydrated;if(u!==null)return M1(t,u)}var c=a.children,f=a.fallback;if(i){var y=w1(t,c,f,n),m=t.child;return m.memoizedState=gp(n),t.memoizedState=yp,y}else return bp(t,c)}else{var S=e.memoizedState;if(S!==null){var E=S.dehydrated;if(E!==null)return L1(e,t,o,a,E,S,n)}if(i){var R=a.fallback,F=a.children,re=_1(e,t,F,R,n),Z=t.child,Xe=e.child.memoizedState;return Z.memoizedState=Xe===null?gp(n):T1(Xe,n),Z.childLanes=x1(e,n),t.memoizedState=yp,re}else{var Ve=a.children,g=D1(e,t,Ve,n);return t.memoizedState=null,g}}}function bp(e,t,n){var a=e.mode,r={mode:"visible",children:t},i=Sp(r,a);return i.return=e,e.child=i,i}function w1(e,t,n,a){var r=e.mode,i=e.child,o={mode:"hidden",children:t},l,u;return(r&We)===le&&i!==null?(l=i,l.childLanes=M,l.pendingProps=o,e.mode>&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0),u=Jr(n,r,a,null)):(l=Sp(o,r),u=Jr(n,r,a,null)),l.return=e,u.return=e,l.sibling=u,e.child=l,u}function Sp(e,t,n){return eS(e,t,M,null)}function eb(e,t){return Fi(e,t)}function D1(e,t,n,a){var r=e.child,i=r.sibling,o=eb(r,{mode:"visible",children:n});if((t.mode&We)===le&&(o.lanes=a),o.return=t,o.sibling=null,i!==null){var l=t.deletions;l===null?(t.deletions=[i],t.flags|=ci):l.push(i)}return t.child=o,o}function _1(e,t,n,a,r){var i=t.mode,o=e.child,l=o.sibling,u={mode:"hidden",children:n},c;if((i&We)===le&&t.child!==o){var f=t.child;c=f,c.childLanes=M,c.pendingProps=u,t.mode>&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=o.selfBaseDuration,c.treeBaseDuration=o.treeBaseDuration),t.deletions=null}else c=eb(o,u),c.subtreeFlags=o.subtreeFlags&lr;var y;return l!==null?y=Fi(l,a):(y=Jr(a,i,r,null),y.flags|=fn),y.return=t,c.return=t,c.sibling=y,t.child=c,y}function Mc(e,t,n,a){a!==null&&ev(a),_o(t,e.child,null,n);var r=t.pendingProps,i=r.children,o=bp(t,i);return o.flags|=fn,t.memoizedState=null,o}function O1(e,t,n,a,r){var i=t.mode,o={mode:"visible",children:n},l=Sp(o,i),u=Jr(a,i,r,null);return u.flags|=fn,l.return=t,u.return=t,l.sibling=u,t.child=l,(t.mode&We)!==le&&_o(t,e.child,null,r),u}function M1(e,t,n){return(e.mode&We)===le?(d("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=be):Hd(t)?e.lanes=gi:e.lanes=sa,null}function L1(e,t,n,a,r,i,o){if(n)if(t.flags&fi){t.flags&=-257;var g=op(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Mc(e,t,o,g)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=vt,null;var x=a.children,b=a.fallback,k=O1(e,t,x,b,o),q=t.child;return q.memoizedState=gp(o),t.memoizedState=yp,k}else{if(gx(),(t.mode&We)===le)return Mc(e,t,o,null);if(Hd(r)){var l,u,c;{var f=AR(r);l=f.digest,u=f.message,c=f.stack}var y;u?y=new Error(u):y=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var m=op(y,l,c);return Mc(e,t,o,m)}var S=ta(o,e.childLanes);if(Na||S){var E=Bc();if(E!==null){var R=B0(E,o);if(R!==pn&&R!==i.retryLane){i.retryLane=R;var F=Ot;Wn(e,R),ln(E,e,R,F)}}Bp();var re=op(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Mc(e,t,o,re)}else if(Ty(r)){t.flags|=vt,t.child=e.child;var Z=nD.bind(null,e);return jR(r,Z),null}else{Cx(t,r,i.treeContext);var Xe=a.children,Ve=bp(t,Xe);return Ve.flags|=vi,Ve}}}function tb(e,t,n){e.lanes=Ue(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ue(a.lanes,t)),cv(e.return,t,n)}function k1(e,t,n){for(var a=t;a!==null;){if(a.tag===ae){var r=a.memoizedState;r!==null&&tb(a,n,e)}else if(a.tag===Je)tb(a,n,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function N1(e){for(var t=e,n=null;t!==null;){var a=t.alternate;a!==null&&uc(a)===null&&(n=t),t=t.sibling}return n}function U1(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!vp[e])if(vp[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function A1(e,t){e!==void 0&&!Oc[e]&&(e!=="collapsed"&&e!=="hidden"?(Oc[e]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Oc[e]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function nb(e,t){{var n=Fe(e),a=!n&&typeof Ht(e)=="function";if(n||a){var r=n?"array":"iterable";return d("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1}}return!0}function j1(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Fe(e)){for(var n=0;n<e.length;n++)if(!nb(e[n],n))return}else{var a=Ht(e);if(typeof a=="function"){var r=a.call(e);if(r)for(var i=r.next(),o=0;!i.done;i=r.next()){if(!nb(i.value,o))return;o++}}else d('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Cp(e,t,n,a,r){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=n,i.tailMode=r)}function ab(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,o=a.children;U1(r),A1(i,r),j1(o,r),zn(e,t,o,n);var l=Ma.current,u=bv(l,su);if(u)l=Sv(l,su),t.flags|=vt;else{var c=e!==null&&(e.flags&vt)!==ce;c&&k1(t,t.child,n),l=ko(l)}if(Yr(t,l),(t.mode&We)===le)t.memoizedState=null;else switch(r){case"forwards":{var f=N1(t.child),y;f===null?(y=t.child,t.child=null):(y=f.sibling,f.sibling=null),Cp(t,!1,y,f,i);break}case"backwards":{var m=null,S=t.child;for(t.child=null;S!==null;){var E=S.alternate;if(E!==null&&uc(E)===null){t.child=S;break}var R=S.sibling;S.sibling=m,m=S,S=R}Cp(t,!0,m,null,i);break}case"together":{Cp(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function z1(e,t,n){mv(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=_o(t,null,a,n):zn(e,t,a,n),t.child}var rb=!1;function H1(e,t,n){var a=t.type,r=a._context,i=t.pendingProps,o=t.memoizedProps,l=i.value;{"value"in i||rb||(rb=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var u=t.type.propTypes;u&&Da(u,i,"prop","Context.Provider")}if(Iy(t,r,l),o!==null){var c=o.value;if(ra(c,l)){if(o.children===i.children&&!Fs())return yr(e,t,n)}else Ux(t,r,n)}var f=i.children;return zn(e,t,f,n),t.child}var ib=!1;function F1(e,t,n){var a=t.type;a._context===void 0?a!==a.Consumer&&(ib||(ib=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var r=t.pendingProps,i=r.children;typeof i!="function"&&d("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Mo(t,n);var o=Kt(a);gl(t);var l;return gu.current=t,ua(!0),l=i(o),ua(!1),uo(),t.flags|=ro,zn(e,t,l,n),t.child}function Cu(){Na=!0}function Lc(e,t){(t.mode&We)===le&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=fn)}function yr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Ug(),Nu(t.lanes),ta(n,t.childLanes)?(kx(e,t),t.child):null}function V1(e,t,n){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===a.child)a.child=n;else{var r=a.child;if(r===null)throw new Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw new Error("Expected to find the previous sibling.");r.sibling=n}var i=a.deletions;return i===null?(a.deletions=[e],a.flags|=ci):i.push(e),n.flags|=fn,n}}function Ep(e,t){var n=e.lanes;return!!ta(n,t)}function B1(e,t,n){switch(t.tag){case H:Kg(t),t.stateNode,Do();break;case G:rg(t);break;case $:{var a=t.type;qa(a)&&Bs(t);break}case Te:mv(t,t.stateNode.containerInfo);break;case he:{var r=t.memoizedProps.value,i=t.type._context;Iy(t,i,r);break}case et:{var o=ta(n,t.childLanes);o&&(t.flags|=st);{var l=t.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}}break;case ae:{var u=t.memoizedState;if(u!==null){if(u.dehydrated!==null)return Yr(t,ko(Ma.current)),t.flags|=vt,null;var c=t.child,f=c.childLanes;if(ta(n,f))return Zg(e,t,n);Yr(t,ko(Ma.current));var y=yr(e,t,n);return y!==null?y.sibling:null}else Yr(t,ko(Ma.current));break}case Je:{var m=(e.flags&vt)!==ce,S=ta(n,t.childLanes);if(m){if(S)return ab(e,t,n);t.flags|=vt}var E=t.memoizedState;if(E!==null&&(E.rendering=null,E.tail=null,E.lastEffect=null),Yr(t,Ma.current),S)break;return null}case Re:case Et:return t.lanes=M,Qg(e,t,n)}return yr(e,t,n)}function ob(e,t,n){if(t._debugNeedsRemount&&e!==null)return V1(e,t,Jp(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,r=t.pendingProps;if(a!==r||Fs()||t.type!==e.type)Na=!0;else{var i=Ep(e,n);if(!i&&(t.flags&vt)===ce)return Na=!1,B1(e,t,n);(e.flags&Df)!==ce?Na=!0:Na=!1}}else if(Na=!1,gn()&&dx(t)){var o=t.index,l=vx();Uy(t,l,o)}switch(t.lanes=M,t.tag){case Ie:return E1(e,t,t.type,n);case Ke:{var u=t.elementType;return S1(e,t,u,n)}case ne:{var c=t.type,f=t.pendingProps,y=t.elementType===c?f:ka(c,f);return pp(e,t,c,y,n)}case $:{var m=t.type,S=t.pendingProps,E=t.elementType===m?S:ka(m,S);return Ig(e,t,m,E,n)}case H:return y1(e,t,n);case G:return g1(e,t,n);case Le:return b1(e,t);case ae:return Zg(e,t,n);case Te:return z1(e,t,n);case oe:{var R=t.type,F=t.pendingProps,re=t.elementType===R?F:ka(R,F);return qg(e,t,R,re,n)}case Oe:return p1(e,t,n);case At:return h1(e,t,n);case et:return m1(e,t,n);case he:return H1(e,t,n);case Mt:return F1(e,t,n);case tt:{var Z=t.type,Xe=t.pendingProps,Ve=ka(Z,Xe);if(t.type!==t.elementType){var g=Z.propTypes;g&&Da(g,Ve,"prop",ut(Z))}return Ve=ka(Z.type,Ve),Gg(e,t,Z,Ve,n)}case ee:return Wg(e,t,t.type,t.pendingProps,n);case He:{var x=t.type,b=t.pendingProps,k=t.elementType===x?b:ka(x,b);return C1(e,t,x,k,n)}case Je:return ab(e,t,n);case ge:break;case Re:return Qg(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ho(e){e.flags|=st}function lb(e){e.flags|=di,e.flags|=_f}var ub,Tp,sb,cb;ub=function(e,t,n,a){for(var r=t.child;r!==null;){if(r.tag===G||r.tag===Le)sR(e,r.stateNode);else if(r.tag!==Te){if(r.child!==null){r.child.return=r,r=r.child;continue}}if(r===t)return;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Tp=function(e,t){},sb=function(e,t,n,a,r){var i=e.memoizedProps;if(i!==a){var o=t.stateNode,l=yv(),u=fR(o,n,i,a,r,l);t.updateQueue=u,u&&Ho(t)}},cb=function(e,t,n,a){n!==a&&Ho(t)};function Eu(e,t){if(!gn())switch(e.tailMode){case"hidden":{for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e.tail=null:a.sibling=null;break}case"collapsed":{for(var r=e.tail,i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:i.sibling=null;break}}}function Sn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=M,a=ce;if(t){if((e.mode>)!==le){for(var u=e.selfBaseDuration,c=e.child;c!==null;)n=Ue(n,Ue(c.lanes,c.childLanes)),a|=c.subtreeFlags&lr,a|=c.flags&lr,u+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=u}else for(var f=e.child;f!==null;)n=Ue(n,Ue(f.lanes,f.childLanes)),a|=f.subtreeFlags&lr,a|=f.flags&lr,f.return=e,f=f.sibling;e.subtreeFlags|=a}else{if((e.mode>)!==le){for(var r=e.actualDuration,i=e.selfBaseDuration,o=e.child;o!==null;)n=Ue(n,Ue(o.lanes,o.childLanes)),a|=o.subtreeFlags,a|=o.flags,r+=o.actualDuration,i+=o.treeBaseDuration,o=o.sibling;e.actualDuration=r,e.treeBaseDuration=i}else for(var l=e.child;l!==null;)n=Ue(n,Ue(l.lanes,l.childLanes)),a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function $1(e,t,n){if(wx()&&(t.mode&We)!==le&&(t.flags&vt)===ce)return By(t),Do(),t.flags|=fi|as|Ra,!1;var a=Gs(t);if(n!==null&&n.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Rx(t),Sn(t),(t.mode>)!==le){var r=n!==null;if(r){var i=t.child;i!==null&&(t.treeBaseDuration-=i.treeBaseDuration)}}return!1}else{if(Do(),(t.flags&vt)===ce&&(t.memoizedState=null),t.flags|=st,Sn(t),(t.mode>)!==le){var o=n!==null;if(o){var l=t.child;l!==null&&(t.treeBaseDuration-=l.treeBaseDuration)}}return!1}else return $y(),!0}function fb(e,t,n){var a=t.pendingProps;switch(Xd(t),t.tag){case Ie:case Ke:case ee:case ne:case oe:case Oe:case At:case et:case Mt:case tt:return Sn(t),null;case $:{var r=t.type;return qa(r)&&Vs(t),Sn(t),null}case H:{var i=t.stateNode;if(Lo(t),qd(t),Ev(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var o=Gs(t);if(o)Ho(t);else if(e!==null){var l=e.memoizedState;(!l.isDehydrated||(t.flags&fi)!==ce)&&(t.flags|=io,$y())}}return Tp(e,t),Sn(t),null}case G:{gv(t);var u=ag(),c=t.type;if(e!==null&&t.stateNode!=null)sb(e,t,c,a,u),e.ref!==t.ref&&lb(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Sn(t),null}var f=yv(),y=Gs(t);if(y)Ex(t,u,f)&&Ho(t);else{var m=uR(c,a,u,f,t);ub(m,t,!1,!1),t.stateNode=m,cR(m,c,a,u)&&Ho(t)}t.ref!==null&&lb(t)}return Sn(t),null}case Le:{var S=a;if(e&&t.stateNode!=null){var E=e.memoizedProps;cb(e,t,E,S)}else{if(typeof S!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var R=ag(),F=yv(),re=Gs(t);re?Tx(t)&&Ho(t):t.stateNode=dR(S,R,F,t)}return Sn(t),null}case ae:{No(t);var Z=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Xe=$1(e,t,Z);if(!Xe)return t.flags&Ra?t:null}if((t.flags&vt)!==ce)return t.lanes=n,(t.mode>)!==le&&Wv(t),t;var Ve=Z!==null,g=e!==null&&e.memoizedState!==null;if(Ve!==g&&Ve){var x=t.child;if(x.flags|=pi,(t.mode&We)!==le){var b=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);b||bv(Ma.current,og)?Pw():Bp()}}var k=t.updateQueue;if(k!==null&&(t.flags|=st),Sn(t),(t.mode>)!==le&&Ve){var q=t.child;q!==null&&(t.treeBaseDuration-=q.treeBaseDuration)}return null}case Te:return Lo(t),Tp(e,t),e===null&&ix(t.stateNode.containerInfo),Sn(t),null;case he:var B=t.type._context;return sv(B,t),Sn(t),null;case He:{var de=t.type;return qa(de)&&Vs(t),Sn(t),null}case Je:{No(t);var Ee=t.memoizedState;if(Ee===null)return Sn(t),null;var St=(t.flags&vt)!==ce,it=Ee.rendering;if(it===null)if(St)Eu(Ee,!1);else{var Gt=qw()&&(e===null||(e.flags&vt)===ce);if(!Gt)for(var ot=t.child;ot!==null;){var qt=uc(ot);if(qt!==null){St=!0,t.flags|=vt,Eu(Ee,!1);var Ln=qt.updateQueue;return Ln!==null&&(t.updateQueue=Ln,t.flags|=st),t.subtreeFlags=ce,Nx(t,n),Yr(t,Sv(Ma.current,su)),t.child}ot=ot.sibling}Ee.tail!==null&&dn()>kb()&&(t.flags|=vt,St=!0,Eu(Ee,!1),t.lanes=cm)}else{if(!St){var xn=uc(it);if(xn!==null){t.flags|=vt,St=!0;var la=xn.updateQueue;if(la!==null&&(t.updateQueue=la,t.flags|=st),Eu(Ee,!0),Ee.tail===null&&Ee.tailMode==="hidden"&&!it.alternate&&!gn())return Sn(t),null}else dn()*2-Ee.renderingStartTime>kb()&&n!==sa&&(t.flags|=vt,St=!0,Eu(Ee,!1),t.lanes=cm)}if(Ee.isBackwards)it.sibling=t.child,t.child=it;else{var Vn=Ee.last;Vn!==null?Vn.sibling=it:t.child=it,Ee.last=it}}if(Ee.tail!==null){var Bn=Ee.tail;Ee.rendering=Bn,Ee.tail=Bn.sibling,Ee.renderingStartTime=dn(),Bn.sibling=null;var kn=Ma.current;return St?kn=Sv(kn,su):kn=ko(kn),Yr(t,kn),Bn}return Sn(t),null}case ge:break;case Re:case Et:{Vp(t);var Er=t.memoizedState,Go=Er!==null;if(e!==null){var Hu=e.memoizedState,Za=Hu!==null;Za!==Go&&(t.flags|=pi)}return!Go||(t.mode&We)===le?Sn(t):ta(Ja,sa)&&(Sn(t),t.subtreeFlags&(fn|st)&&(t.flags|=pi)),null}case nt:return null;case Lt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function P1(e,t,n){switch(Xd(t),t.tag){case $:{var a=t.type;qa(a)&&Vs(t);var r=t.flags;return r&Ra?(t.flags=r&-65537|vt,(t.mode>)!==le&&Wv(t),t):null}case H:{t.stateNode,Lo(t),qd(t),Ev();var i=t.flags;return(i&Ra)!==ce&&(i&vt)===ce?(t.flags=i&-65537|vt,t):null}case G:return gv(t),null;case ae:{No(t);var o=t.memoizedState;if(o!==null&&o.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Do()}var l=t.flags;return l&Ra?(t.flags=l&-65537|vt,(t.mode>)!==le&&Wv(t),t):null}case Je:return No(t),null;case Te:return Lo(t),null;case he:var u=t.type._context;return sv(u,t),null;case Re:case Et:return Vp(t),null;case nt:return null;default:return null}}function db(e,t,n){switch(Xd(t),t.tag){case $:{var a=t.type.childContextTypes;a!=null&&Vs(t);break}case H:{t.stateNode,Lo(t),qd(t),Ev();break}case G:{gv(t);break}case Te:Lo(t);break;case ae:No(t);break;case Je:No(t);break;case he:var r=t.type._context;sv(r,t);break;case Re:case Et:Vp(t);break}}var vb=null;vb=new Set;var kc=!1,Cn=!1,Y1=typeof WeakSet=="function"?WeakSet:Set,X=null,Fo=null,Vo=null;function q1(e){Rf(null,function(){throw e}),xf()}var G1=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode>)try{Ia(),t.componentWillUnmount()}finally{Xa(e)}else t.componentWillUnmount()};function pb(e,t){try{Wr(en,e)}catch(n){Rt(e,t,n)}}function Rp(e,t,n){try{G1(e,n)}catch(a){Rt(e,t,a)}}function W1(e,t,n){try{n.componentDidMount()}catch(a){Rt(e,t,a)}}function hb(e,t){try{yb(e)}catch(n){Rt(e,t,n)}}function Bo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function"){var a;try{if(Jt&&Yn&&e.mode>)try{Ia(),a=n(null)}finally{Xa(e)}else a=n(null)}catch(r){Rt(e,t,r)}typeof a=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",we(e))}else n.current=null}function Nc(e,t,n){try{n()}catch(a){Rt(e,t,a)}}var mb=!1;function Q1(e,t){oR(e.containerInfo),X=t,X1();var n=mb;return mb=!1,n}function X1(){for(;X!==null;){var e=X,t=e.child;(e.subtreeFlags&Lf)!==ce&&t!==null?(t.return=e,X=t):I1()}}function I1(){for(;X!==null;){var e=X;Ft(e);try{K1(e)}catch(n){Rt(e,e.return,n)}cn();var t=e.sibling;if(t!==null){t.return=e.return,X=t;return}X=e.return}}function K1(e){var t=e.alternate,n=e.flags;if((n&io)!==ce){switch(Ft(e),e.tag){case ne:case oe:case ee:break;case $:{if(t!==null){var a=t.memoizedProps,r=t.memoizedState,i=e.stateNode;e.type===e.elementType&&!Ui&&(i.props!==e.memoizedProps&&d("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.",we(e)||"instance"),i.state!==e.memoizedState&&d("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.state`. Please file an issue.",we(e)||"instance"));var o=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:ka(e.type,a),r);{var l=vb;o===void 0&&!l.has(e.type)&&(l.add(e.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",we(e)))}i.__reactInternalSnapshotBeforeUpdate=o}break}case H:{{var u=e.stateNode;LR(u.containerInfo)}break}case G:case Le:case Te:case He:break;default:throw new 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.")}cn()}}function Ua(e,t,n){var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var i=r.next,o=i;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&((e&bn)!==Qn?d0(t):(e&en)!==Qn&&im(t),(e&Ga)!==Qn&&Au(!0),Nc(t,n,l),(e&Ga)!==Qn&&Au(!1),(e&bn)!==Qn?v0():(e&en)!==Qn&&om())}o=o.next}while(o!==i)}}function Wr(e,t){var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next,i=r;do{if((i.tag&e)===e){(e&bn)!==Qn?c0(t):(e&en)!==Qn&&p0(t);var o=i.create;(e&Ga)!==Qn&&Au(!0),i.destroy=o(),(e&Ga)!==Qn&&Au(!1),(e&bn)!==Qn?f0():(e&en)!==Qn&&h0();{var l=i.destroy;if(l!==void 0&&typeof l!="function"){var u=void 0;(i.tag&en)!==ce?u="useLayoutEffect":(i.tag&Ga)!==ce?u="useInsertionEffect":u="useEffect";var c=void 0;l===null?c=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof l.then=="function"?c=`
|
|
|
|
It looks like you wrote `+u+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
|
|
`+u+`(() => {
|
|
async function fetchData() {
|
|
// You can await here
|
|
const response = await MyAPI.getData(someId);
|
|
// ...
|
|
}
|
|
fetchData();
|
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
|
|
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:c=" You returned: "+l,d("%s must not return anything besides a function, which is used for clean-up.%s",u,c)}}}i=i.next}while(i!==r)}}function J1(e,t){if((t.flags&st)!==ce)switch(t.tag){case et:{var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,i=a.onPostCommit,o=kg(),l=t.alternate===null?"mount":"update";Lg()&&(l="nested-update"),typeof i=="function"&&i(r,l,n,o);var u=t.return;e:for(;u!==null;){switch(u.tag){case H:var c=u.stateNode;c.passiveEffectDuration+=n;break e;case et:var f=u.stateNode;f.passiveEffectDuration+=n;break e}u=u.return}break}}}function Z1(e,t,n,a){if((n.flags&yl)!==ce)switch(n.tag){case ne:case oe:case ee:{if(!Cn)if(n.mode>)try{Ia(),Wr(en|Zt,n)}finally{Xa(n)}else Wr(en|Zt,n);break}case $:{var r=n.stateNode;if(n.flags&st&&!Cn)if(t===null)if(n.type===n.elementType&&!Ui&&(r.props!==n.memoizedProps&&d("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.",we(n)||"instance"),r.state!==n.memoizedState&&d("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.state`. Please file an issue.",we(n)||"instance")),n.mode>)try{Ia(),r.componentDidMount()}finally{Xa(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:ka(n.type,t.memoizedProps),o=t.memoizedState;if(n.type===n.elementType&&!Ui&&(r.props!==n.memoizedProps&&d("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.",we(n)||"instance"),r.state!==n.memoizedState&&d("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.state`. Please file an issue.",we(n)||"instance")),n.mode>)try{Ia(),r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}finally{Xa(n)}else r.componentDidUpdate(i,o,r.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;l!==null&&(n.type===n.elementType&&!Ui&&(r.props!==n.memoizedProps&&d("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.",we(n)||"instance"),r.state!==n.memoizedState&&d("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.state`. Please file an issue.",we(n)||"instance")),ng(n,l,r));break}case H:{var u=n.updateQueue;if(u!==null){var c=null;if(n.child!==null)switch(n.child.tag){case G:c=n.child.stateNode;break;case $:c=n.child.stateNode;break}ng(n,u,c)}break}case G:{var f=n.stateNode;if(t===null&&n.flags&st){var y=n.type,m=n.memoizedProps;yR(f,y,m)}break}case Le:break;case Te:break;case et:{{var S=n.memoizedProps,E=S.onCommit,R=S.onRender,F=n.stateNode.effectDuration,re=kg(),Z=t===null?"mount":"update";Lg()&&(Z="nested-update"),typeof R=="function"&&R(n.memoizedProps.id,Z,n.actualDuration,n.treeBaseDuration,n.actualStartTime,re);{typeof E=="function"&&E(n.memoizedProps.id,Z,F,re),Iw(n);var Xe=n.return;e:for(;Xe!==null;){switch(Xe.tag){case H:var Ve=Xe.stateNode;Ve.effectDuration+=F;break e;case et:var g=Xe.stateNode;g.effectDuration+=F;break e}Xe=Xe.return}}}break}case ae:{lw(e,n);break}case Je:case He:case ge:case Re:case Et:case Lt:break;default:throw new 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.")}Cn||n.flags&di&&yb(n)}function ew(e){switch(e.tag){case ne:case oe:case ee:{if(e.mode>)try{Ia(),pb(e,e.return)}finally{Xa(e)}else pb(e,e.return);break}case $:{var t=e.stateNode;typeof t.componentDidMount=="function"&&W1(e,e.return,t),hb(e,e.return);break}case G:{hb(e,e.return);break}}}function tw(e,t){for(var n=null,a=e;;){if(a.tag===G){if(n===null){n=a;try{var r=a.stateNode;t?DR(r):OR(a.stateNode,a.memoizedProps)}catch(o){Rt(e,e.return,o)}}}else if(a.tag===Le){if(n===null)try{var i=a.stateNode;t?_R(i):MR(i,a.memoizedProps)}catch(o){Rt(e,e.return,o)}}else if(!((a.tag===Re||a.tag===Et)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;n===a&&(n=null),a=a.return}n===a&&(n=null),a.sibling.return=a.return,a=a.sibling}}function yb(e){var t=e.ref;if(t!==null){var n=e.stateNode,a;switch(e.tag){case G:a=n;break;default:a=n}if(typeof t=="function"){var r;if(e.mode>)try{Ia(),r=t(a)}finally{Xa(e)}else r=t(a);typeof r=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",we(e))}else t.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",we(e)),t.current=a}}function nw(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function gb(e){var t=e.alternate;t!==null&&(e.alternate=null,gb(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===G){var n=e.stateNode;n!==null&&ux(n)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function aw(e){for(var t=e.return;t!==null;){if(bb(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function bb(e){return e.tag===G||e.tag===H||e.tag===Te}function Sb(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||bb(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==G&&t.tag!==Le&&t.tag!==Ct;){if(t.flags&fn||t.child===null||t.tag===Te)continue e;t.child.return=t,t=t.child}if(!(t.flags&fn))return t.stateNode}}function rw(e){var t=aw(e);switch(t.tag){case G:{var n=t.stateNode;t.flags&ns&&(Ey(n),t.flags&=-33);var a=Sb(e);wp(e,a,n);break}case H:case Te:{var r=t.stateNode.containerInfo,i=Sb(e);xp(e,i,r);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function xp(e,t,n){var a=e.tag,r=a===G||a===Le;if(r){var i=e.stateNode;t?TR(n,i,t):CR(n,i)}else if(a!==Te){var o=e.child;if(o!==null){xp(o,t,n);for(var l=o.sibling;l!==null;)xp(l,t,n),l=l.sibling}}}function wp(e,t,n){var a=e.tag,r=a===G||a===Le;if(r){var i=e.stateNode;t?ER(n,i,t):SR(n,i)}else if(a!==Te){var o=e.child;if(o!==null){wp(o,t,n);for(var l=o.sibling;l!==null;)wp(l,t,n),l=l.sibling}}}var En=null,Aa=!1;function iw(e,t,n){{var a=t;e:for(;a!==null;){switch(a.tag){case G:{En=a.stateNode,Aa=!1;break e}case H:{En=a.stateNode.containerInfo,Aa=!0;break e}case Te:{En=a.stateNode.containerInfo,Aa=!0;break e}}a=a.return}if(En===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Cb(e,t,n),En=null,Aa=!1}nw(n)}function Qr(e,t,n){for(var a=n.child;a!==null;)Cb(e,t,a),a=a.sibling}function Cb(e,t,n){switch(o0(n),n.tag){case G:Cn||Bo(n,t);case Le:{{var a=En,r=Aa;En=null,Qr(e,t,n),En=a,Aa=r,En!==null&&(Aa?xR(En,n.stateNode):RR(En,n.stateNode))}return}case Ct:{En!==null&&(Aa?wR(En,n.stateNode):zd(En,n.stateNode));return}case Te:{{var i=En,o=Aa;En=n.stateNode.containerInfo,Aa=!0,Qr(e,t,n),En=i,Aa=o}return}case ne:case oe:case tt:case ee:{if(!Cn){var l=n.updateQueue;if(l!==null){var u=l.lastEffect;if(u!==null){var c=u.next,f=c;do{var y=f,m=y.destroy,S=y.tag;m!==void 0&&((S&Ga)!==Qn?Nc(n,t,m):(S&en)!==Qn&&(im(n),n.mode>?(Ia(),Nc(n,t,m),Xa(n)):Nc(n,t,m),om())),f=f.next}while(f!==c)}}}Qr(e,t,n);return}case $:{if(!Cn){Bo(n,t);var E=n.stateNode;typeof E.componentWillUnmount=="function"&&Rp(n,t,E)}Qr(e,t,n);return}case ge:{Qr(e,t,n);return}case Re:{if(n.mode&We){var R=Cn;Cn=R||n.memoizedState!==null,Qr(e,t,n),Cn=R}else Qr(e,t,n);break}default:{Qr(e,t,n);return}}}function ow(e){e.memoizedState}function lw(e,t){var n=t.memoizedState;if(n===null){var a=t.alternate;if(a!==null){var r=a.memoizedState;if(r!==null){var i=r.dehydrated;i!==null&&qR(i)}}}}function Eb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Y1),t.forEach(function(a){var r=aD.bind(null,e,a);if(!n.has(a)){if(n.add(a),xa)if(Fo!==null&&Vo!==null)Uu(Vo,Fo);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(r,r)}})}}function uw(e,t,n){Fo=n,Vo=e,Ft(t),Tb(t,e),Ft(t),Fo=null,Vo=null}function ja(e,t,n){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r];try{iw(e,t,i)}catch(u){Rt(i,t,u)}}var o=qu();if(t.subtreeFlags&kf)for(var l=t.child;l!==null;)Ft(l),Tb(l,e),l=l.sibling;Ft(o)}function Tb(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case ne:case oe:case tt:case ee:{if(ja(t,e),Ka(e),r&st){try{Ua(Ga|Zt,e,e.return),Wr(Ga|Zt,e)}catch(de){Rt(e,e.return,de)}if(e.mode>){try{Ia(),Ua(en|Zt,e,e.return)}catch(de){Rt(e,e.return,de)}Xa(e)}else try{Ua(en|Zt,e,e.return)}catch(de){Rt(e,e.return,de)}}return}case $:{ja(t,e),Ka(e),r&di&&a!==null&&Bo(a,a.return);return}case G:{ja(t,e),Ka(e),r&di&&a!==null&&Bo(a,a.return);{if(e.flags&ns){var i=e.stateNode;try{Ey(i)}catch(de){Rt(e,e.return,de)}}if(r&st){var o=e.stateNode;if(o!=null){var l=e.memoizedProps,u=a!==null?a.memoizedProps:l,c=e.type,f=e.updateQueue;if(e.updateQueue=null,f!==null)try{gR(o,f,c,u,l,e)}catch(de){Rt(e,e.return,de)}}}}return}case Le:{if(ja(t,e),Ka(e),r&st){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,m=e.memoizedProps,S=a!==null?a.memoizedProps:m;try{bR(y,S,m)}catch(de){Rt(e,e.return,de)}}return}case H:{if(ja(t,e),Ka(e),r&st&&a!==null){var E=a.memoizedState;if(E.isDehydrated)try{YR(t.containerInfo)}catch(de){Rt(e,e.return,de)}}return}case Te:{ja(t,e),Ka(e);return}case ae:{ja(t,e),Ka(e);var R=e.child;if(R.flags&pi){var F=R.stateNode,re=R.memoizedState,Z=re!==null;if(F.isHidden=Z,Z){var Xe=R.alternate!==null&&R.alternate.memoizedState!==null;Xe||$w()}}if(r&st){try{ow(e)}catch(de){Rt(e,e.return,de)}Eb(e)}return}case Re:{var Ve=a!==null&&a.memoizedState!==null;if(e.mode&We){var g=Cn;Cn=g||Ve,ja(t,e),Cn=g}else ja(t,e);if(Ka(e),r&pi){var x=e.stateNode,b=e.memoizedState,k=b!==null,q=e;if(x.isHidden=k,k&&!Ve&&(q.mode&We)!==le){X=q;for(var B=q.child;B!==null;)X=B,cw(B),B=B.sibling}tw(q,k)}return}case Je:{ja(t,e),Ka(e),r&st&&Eb(e);return}case ge:return;default:{ja(t,e),Ka(e);return}}}function Ka(e){var t=e.flags;if(t&fn){try{rw(e)}catch(n){Rt(e,e.return,n)}e.flags&=-3}t&vi&&(e.flags&=-4097)}function sw(e,t,n){Fo=n,Vo=t,X=e,Rb(e,t,n),Fo=null,Vo=null}function Rb(e,t,n){for(var a=(e.mode&We)!==le;X!==null;){var r=X,i=r.child;if(r.tag===Re&&a){var o=r.memoizedState!==null,l=o||kc;if(l){Dp(e,t,n);continue}else{var u=r.alternate,c=u!==null&&u.memoizedState!==null,f=c||Cn,y=kc,m=Cn;kc=l,Cn=f,Cn&&!m&&(X=r,fw(r));for(var S=i;S!==null;)X=S,Rb(S,t,n),S=S.sibling;X=r,kc=y,Cn=m,Dp(e,t,n);continue}}(r.subtreeFlags&yl)!==ce&&i!==null?(i.return=r,X=i):Dp(e,t,n)}}function Dp(e,t,n){for(;X!==null;){var a=X;if((a.flags&yl)!==ce){var r=a.alternate;Ft(a);try{Z1(t,r,a,n)}catch(o){Rt(a,a.return,o)}cn()}if(a===e){X=null;return}var i=a.sibling;if(i!==null){i.return=a.return,X=i;return}X=a.return}}function cw(e){for(;X!==null;){var t=X,n=t.child;switch(t.tag){case ne:case oe:case tt:case ee:{if(t.mode>)try{Ia(),Ua(en,t,t.return)}finally{Xa(t)}else Ua(en,t,t.return);break}case $:{Bo(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Rp(t,t.return,a);break}case G:{Bo(t,t.return);break}case Re:{var r=t.memoizedState!==null;if(r){xb(e);continue}break}}n!==null?(n.return=t,X=n):xb(e)}}function xb(e){for(;X!==null;){var t=X;if(t===e){X=null;return}var n=t.sibling;if(n!==null){n.return=t.return,X=n;return}X=t.return}}function fw(e){for(;X!==null;){var t=X,n=t.child;if(t.tag===Re){var a=t.memoizedState!==null;if(a){wb(e);continue}}n!==null?(n.return=t,X=n):wb(e)}}function wb(e){for(;X!==null;){var t=X;Ft(t);try{ew(t)}catch(a){Rt(t,t.return,a)}if(cn(),t===e){X=null;return}var n=t.sibling;if(n!==null){n.return=t.return,X=n;return}X=t.return}}function dw(e,t,n,a){X=t,vw(t,e,n,a)}function vw(e,t,n,a){for(;X!==null;){var r=X,i=r.child;(r.subtreeFlags&oo)!==ce&&i!==null?(i.return=r,X=i):pw(e,t,n,a)}}function pw(e,t,n,a){for(;X!==null;){var r=X;if((r.flags&Or)!==ce){Ft(r);try{hw(t,r,n,a)}catch(o){Rt(r,r.return,o)}cn()}if(r===e){X=null;return}var i=r.sibling;if(i!==null){i.return=r.return,X=i;return}X=r.return}}function hw(e,t,n,a){switch(t.tag){case ne:case oe:case ee:{if(t.mode>){Gv();try{Wr(bn|Zt,t)}finally{qv(t)}}else Wr(bn|Zt,t);break}}}function mw(e){X=e,yw()}function yw(){for(;X!==null;){var e=X,t=e.child;if((X.flags&ci)!==ce){var n=e.deletions;if(n!==null){for(var a=0;a<n.length;a++){var r=n[a];X=r,Sw(r,e)}{var i=e.alternate;if(i!==null){var o=i.child;if(o!==null){i.child=null;do{var l=o.sibling;o.sibling=null,o=l}while(o!==null)}}}X=e}}(e.subtreeFlags&oo)!==ce&&t!==null?(t.return=e,X=t):gw()}}function gw(){for(;X!==null;){var e=X;(e.flags&Or)!==ce&&(Ft(e),bw(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,X=t;return}X=e.return}}function bw(e){switch(e.tag){case ne:case oe:case ee:{e.mode>?(Gv(),Ua(bn|Zt,e,e.return),qv(e)):Ua(bn|Zt,e,e.return);break}}}function Sw(e,t){for(;X!==null;){var n=X;Ft(n),Ew(n,t),cn();var a=n.child;a!==null?(a.return=n,X=a):Cw(e)}}function Cw(e){for(;X!==null;){var t=X,n=t.sibling,a=t.return;if(gb(t),t===e){X=null;return}if(n!==null){n.return=a,X=n;return}X=a}}function Ew(e,t){switch(e.tag){case ne:case oe:case ee:{e.mode>?(Gv(),Ua(bn,e,t),qv(e)):Ua(bn,e,t);break}}}function Tw(e){switch(e.tag){case ne:case oe:case ee:{try{Wr(en|Zt,e)}catch(n){Rt(e,e.return,n)}break}case $:{var t=e.stateNode;try{t.componentDidMount()}catch(n){Rt(e,e.return,n)}break}}}function Rw(e){switch(e.tag){case ne:case oe:case ee:{try{Wr(bn|Zt,e)}catch(t){Rt(e,e.return,t)}break}}}function xw(e){switch(e.tag){case ne:case oe:case ee:{try{Ua(en|Zt,e,e.return)}catch(n){Rt(e,e.return,n)}break}case $:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Rp(e,e.return,t);break}}}function ww(e){switch(e.tag){case ne:case oe:case ee:try{Ua(bn|Zt,e,e.return)}catch(t){Rt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Tu=Symbol.for;Tu("selector.component"),Tu("selector.has_pseudo_class"),Tu("selector.role"),Tu("selector.test_id"),Tu("selector.text")}var Dw=[];function _w(){Dw.forEach(function(e){return e()})}var Ow=se.ReactCurrentActQueue;function Mw(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,n=typeof jest<"u";return n&&t!==!1}}function Db(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Ow.current!==null&&d("The current testing environment is not configured to support act(...)"),e}}var Lw=Math.ceil,_p=se.ReactCurrentDispatcher,Op=se.ReactCurrentOwner,Tn=se.ReactCurrentBatchConfig,za=se.ReactCurrentActQueue,an=0,_b=1,Rn=2,ha=4,gr=0,Ru=1,Ai=2,Uc=3,xu=4,Ob=5,Mp=6,Qe=an,Hn=null,$t=null,rn=M,Ja=M,Lp=Hr(M),on=gr,wu=null,Ac=M,Du=M,jc=M,_u=null,Xn=null,kp=0,Mb=500,Lb=1/0,kw=500,br=null;function Ou(){Lb=dn()+kw}function kb(){return Lb}var zc=!1,Np=null,$o=null,ji=!1,Xr=null,Mu=M,Up=[],Ap=null,Nw=50,Lu=0,jp=null,zp=!1,Hc=!1,Uw=50,Po=0,Fc=null,ku=Ot,Vc=M,Nb=!1;function Bc(){return Hn}function Fn(){return(Qe&(Rn|ha))!==an?dn():(ku!==Ot||(ku=dn()),ku)}function Ir(e){var t=e.mode;if((t&We)===le)return be;if((Qe&Rn)!==an&&rn!==M)return Rl(rn);var n=Ox()!==_x;if(n){if(Tn.transition!==null){var a=Tn.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return Vc===pn&&(Vc=pm()),Vc}var r=wa();if(r!==pn)return r;var i=vR();return i}function Aw(e){var t=e.mode;return(t&We)===le?be:z0()}function ln(e,t,n,a){iD(),Nb&&d("useInsertionEffect must not schedule updates."),zp&&(Hc=!0),xl(e,n,a),(Qe&Rn)!==M&&e===Hn?uD(t):(xa&&ym(e,t,n),sD(t),e===Hn&&((Qe&Rn)===an&&(Du=Ue(Du,n)),on===xu&&Kr(e,rn)),In(e,a),n===be&&Qe===an&&(t.mode&We)===le&&!za.isBatchingLegacy&&(Ou(),Ny()))}function jw(e,t,n){var a=e.current;a.lanes=t,xl(e,t,n),In(e,n)}function zw(e){return(Qe&Rn)!==an}function In(e,t){var n=e.callbackNode;L0(e,t);var a=us(e,e===Hn?rn:M);if(a===M){n!==null&&Xb(n),e.callbackNode=null,e.callbackPriority=pn;return}var r=Si(a),i=e.callbackPriority;if(i===r&&!(za.current!==null&&n!==Yp)){n==null&&i!==be&&d("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}n!=null&&Xb(n);var o;if(r===be)e.tag===Fr?(za.isBatchingLegacy!==null&&(za.didScheduleLegacyUpdate=!0),fx(jb.bind(null,e))):ky(jb.bind(null,e)),za.current!==null?za.current.push(Vr):hR(function(){(Qe&(Rn|ha))===an&&Vr()}),o=null;else{var l;switch(Sm(a)){case na:l=rs;break;case sr:l=Nf;break;case cr:l=yi;break;case fs:l=Uf;break;default:l=yi;break}o=qp(l,Ub.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}function Ub(e,t){if(t1(),ku=Ot,Vc=M,(Qe&(Rn|ha))!==an)throw new Error("Should not already be working.");var n=e.callbackNode,a=Cr();if(a&&e.callbackNode!==n)return null;var r=us(e,e===Hn?rn:M);if(r===M)return null;var i=!ss(e,r)&&!j0(e,r)&&!t,o=i?Ww(e,r):Pc(e,r);if(o!==gr){if(o===Ai){var l=nd(e);l!==M&&(r=l,o=Hp(e,l))}if(o===Ru){var u=wu;throw zi(e,M),Kr(e,r),In(e,dn()),u}if(o===Mp)Kr(e,r);else{var c=!ss(e,r),f=e.current.alternate;if(c&&!Fw(f)){if(o=Pc(e,r),o===Ai){var y=nd(e);y!==M&&(r=y,o=Hp(e,y))}if(o===Ru){var m=wu;throw zi(e,M),Kr(e,r),In(e,dn()),m}}e.finishedWork=f,e.finishedLanes=r,Hw(e,o,r)}}return In(e,dn()),e.callbackNode===n?Ub.bind(null,e):null}function Hp(e,t){var n=_u;if(ds(e)){var a=zi(e,t);a.flags|=fi,rx(e.containerInfo)}var r=Pc(e,t);if(r!==Ai){var i=Xn;Xn=n,i!==null&&Ab(i)}return r}function Ab(e){Xn===null?Xn=e:Xn.push.apply(Xn,e)}function Hw(e,t,n){switch(t){case gr:case Ru:throw new Error("Root did not complete. This is a bug in React.");case Ai:{Hi(e,Xn,br);break}case Uc:{if(Kr(e,n),dm(n)&&!Ib()){var a=kp+Mb-dn();if(a>10){var r=us(e,M);if(r!==M)break;var i=e.suspendedLanes;if(!vo(i,n)){Fn(),mm(e,i);break}e.timeoutHandle=Ad(Hi.bind(null,e,Xn,br),a);break}}Hi(e,Xn,br);break}case xu:{if(Kr(e,n),A0(n))break;if(!Ib()){var o=O0(e,n),l=o,u=dn()-l,c=rD(u)-u;if(c>10){e.timeoutHandle=Ad(Hi.bind(null,e,Xn,br),c);break}}Hi(e,Xn,br);break}case Ob:{Hi(e,Xn,br);break}default:throw new Error("Unknown root exit status.")}}function Fw(e){for(var t=e;;){if(t.flags&wf){var n=t.updateQueue;if(n!==null){var a=n.stores;if(a!==null)for(var r=0;r<a.length;r++){var i=a[r],o=i.getSnapshot,l=i.value;try{if(!ra(o(),l))return!1}catch{return!1}}}}var u=t.child;if(t.subtreeFlags&wf&&u!==null){u.return=t,t=u;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Kr(e,t){t=cs(t,jc),t=cs(t,Du),F0(e,t)}function jb(e){if(n1(),(Qe&(Rn|ha))!==an)throw new Error("Should not already be working.");Cr();var t=us(e,M);if(!ta(t,be))return In(e,dn()),null;var n=Pc(e,t);if(e.tag!==Fr&&n===Ai){var a=nd(e);a!==M&&(t=a,n=Hp(e,a))}if(n===Ru){var r=wu;throw zi(e,M),Kr(e,t),In(e,dn()),r}if(n===Mp)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,Hi(e,Xn,br),In(e,dn()),null}function Vw(e,t){t!==M&&(od(e,Ue(t,be)),In(e,dn()),(Qe&(Rn|ha))===an&&(Ou(),Vr()))}function Fp(e,t){var n=Qe;Qe|=_b;try{return e(t)}finally{Qe=n,Qe===an&&!za.isBatchingLegacy&&(Ou(),Ny())}}function Bw(e,t,n,a,r){var i=wa(),o=Tn.transition;try{return Tn.transition=null,hn(na),e(t,n,a,r)}finally{hn(i),Tn.transition=o,Qe===an&&Ou()}}function Sr(e){Xr!==null&&Xr.tag===Fr&&(Qe&(Rn|ha))===an&&Cr();var t=Qe;Qe|=_b;var n=Tn.transition,a=wa();try{return Tn.transition=null,hn(na),e?e():void 0}finally{hn(a),Tn.transition=n,Qe=t,(Qe&(Rn|ha))===an&&Vr()}}function zb(){return(Qe&(Rn|ha))!==an}function $c(e,t){On(Lp,Ja,e),Ja=Ue(Ja,t)}function Vp(e){Ja=Lp.current,_n(Lp,e)}function zi(e,t){e.finishedWork=null,e.finishedLanes=M;var n=e.timeoutHandle;if(n!==jd&&(e.timeoutHandle=jd,pR(n)),$t!==null)for(var a=$t.return;a!==null;){var r=a.alternate;db(r,a),a=a.return}Hn=e;var i=Fi(e.current,null);return $t=i,rn=Ja=t,on=gr,wu=null,Ac=M,Du=M,jc=M,_u=null,Xn=null,jx(),Oa.discardPendingWarnings(),i}function Hb(e,t){do{var n=$t;try{if(Js(),ug(),cn(),Op.current=null,n===null||n.return===null){on=Ru,wu=t,$t=null;return}if(Jt&&n.mode>&&Dc(n,!0),Nn)if(uo(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;y0(n,a,rn)}else m0(n,t,rn);f1(e,n.return,n,t,rn),$b(n)}catch(r){t=r,$t===n&&n!==null?(n=n.return,$t=n):n=$t;continue}return}while(!0)}function Fb(){var e=_p.current;return _p.current=Ec,e===null?Ec:e}function Vb(e){_p.current=e}function $w(){kp=dn()}function Nu(e){Ac=Ue(e,Ac)}function Pw(){on===gr&&(on=Uc)}function Bp(){(on===gr||on===Uc||on===Ai)&&(on=xu),Hn!==null&&(ad(Ac)||ad(Du))&&Kr(Hn,rn)}function Yw(e){on!==xu&&(on=Ai),_u===null?_u=[e]:_u.push(e)}function qw(){return on===gr}function Pc(e,t){var n=Qe;Qe|=Rn;var a=Fb();if(Hn!==e||rn!==t){if(xa){var r=e.memoizedUpdaters;r.size>0&&(Uu(e,rn),r.clear()),gm(e,t)}br=bm(),zi(e,t)}lm(t);do try{Gw();break}catch(i){Hb(e,i)}while(!0);if(Js(),Qe=n,Vb(a),$t!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return um(),Hn=null,rn=M,on}function Gw(){for(;$t!==null;)Bb($t)}function Ww(e,t){var n=Qe;Qe|=Rn;var a=Fb();if(Hn!==e||rn!==t){if(xa){var r=e.memoizedUpdaters;r.size>0&&(Uu(e,rn),r.clear()),gm(e,t)}br=bm(),Ou(),zi(e,t)}lm(t);do try{Qw();break}catch(i){Hb(e,i)}while(!0);return Js(),Vb(a),Qe=n,$t!==null?(E0(),gr):(um(),Hn=null,rn=M,on)}function Qw(){for(;$t!==null&&!IC();)Bb($t)}function Bb(e){var t=e.alternate;Ft(e);var n;(e.mode>)!==le?(Yv(e),n=$p(t,e,Ja),Dc(e,!0)):n=$p(t,e,Ja),cn(),e.memoizedProps=e.pendingProps,n===null?$b(e):$t=n,Op.current=null}function $b(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&as)===ce){Ft(t);var r=void 0;if((t.mode>)===le?r=fb(n,t,Ja):(Yv(t),r=fb(n,t,Ja),Dc(t,!1)),cn(),r!==null){$t=r;return}}else{var i=P1(n,t);if(i!==null){i.flags&=YC,$t=i;return}if((t.mode>)!==le){Dc(t,!1);for(var o=t.actualDuration,l=t.child;l!==null;)o+=l.actualDuration,l=l.sibling;t.actualDuration=o}if(a!==null)a.flags|=as,a.subtreeFlags=ce,a.deletions=null;else{on=Mp,$t=null;return}}var u=t.sibling;if(u!==null){$t=u;return}t=a,$t=t}while(t!==null);on===gr&&(on=Ob)}function Hi(e,t,n){var a=wa(),r=Tn.transition;try{Tn.transition=null,hn(na),Xw(e,t,n,a)}finally{Tn.transition=r,hn(a)}return null}function Xw(e,t,n,a){do Cr();while(Xr!==null);if(oD(),(Qe&(Rn|ha))!==an)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(s0(i),r===null)return rm(),null;if(i===M&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=M,r===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=pn;var o=Ue(r.lanes,r.childLanes);V0(e,o),e===Hn&&(Hn=null,$t=null,rn=M),((r.subtreeFlags&oo)!==ce||(r.flags&oo)!==ce)&&(ji||(ji=!0,Ap=n,qp(yi,function(){return Cr(),null})));var l=(r.subtreeFlags&(Lf|kf|yl|oo))!==ce,u=(r.flags&(Lf|kf|yl|oo))!==ce;if(l||u){var c=Tn.transition;Tn.transition=null;var f=wa();hn(na);var y=Qe;Qe|=ha,Op.current=null,Q1(e,r),Ng(),uw(e,r,i),lR(e.containerInfo),e.current=r,g0(i),sw(r,e,i),b0(),KC(),Qe=y,hn(f),Tn.transition=c}else e.current=r,Ng();var m=ji;if(ji?(ji=!1,Xr=e,Mu=i):(Po=0,Fc=null),o=e.pendingLanes,o===M&&($o=null),m||Gb(e.current,!1),r0(r.stateNode,a),xa&&e.memoizedUpdaters.clear(),_w(),In(e,dn()),t!==null)for(var S=e.onRecoverableError,E=0;E<t.length;E++){var R=t[E],F=R.stack,re=R.digest;S(R.value,{componentStack:F,digest:re})}if(zc){zc=!1;var Z=Np;throw Np=null,Z}return ta(Mu,be)&&e.tag!==Fr&&Cr(),o=e.pendingLanes,ta(o,be)?(e1(),e===jp?Lu++:(Lu=0,jp=e)):Lu=0,Vr(),rm(),null}function Cr(){if(Xr!==null){var e=Sm(Mu),t=Y0(cr,e),n=Tn.transition,a=wa();try{return Tn.transition=null,hn(t),Kw()}finally{hn(a),Tn.transition=n}}return!1}function Iw(e){Up.push(e),ji||(ji=!0,qp(yi,function(){return Cr(),null}))}function Kw(){if(Xr===null)return!1;var e=Ap;Ap=null;var t=Xr,n=Mu;if(Xr=null,Mu=M,(Qe&(Rn|ha))!==an)throw new Error("Cannot flush passive effects while already rendering.");zp=!0,Hc=!1,S0(n);var a=Qe;Qe|=ha,mw(t.current),dw(t,t.current,n,e);{var r=Up;Up=[];for(var i=0;i<r.length;i++){var o=r[i];J1(t,o)}}C0(),Gb(t.current,!0),Qe=a,Vr(),Hc?t===Fc?Po++:(Po=0,Fc=t):Po=0,zp=!1,Hc=!1,i0(t);{var l=t.current.stateNode;l.effectDuration=0,l.passiveEffectDuration=0}return!0}function Pb(e){return $o!==null&&$o.has(e)}function Jw(e){$o===null?$o=new Set([e]):$o.add(e)}function Zw(e){zc||(zc=!0,Np=e)}var eD=Zw;function Yb(e,t,n){var a=Ni(n,t),r=Bg(e,a,be),i=$r(e,r,be),o=Fn();i!==null&&(xl(i,be,o),In(i,o))}function Rt(e,t,n){if(q1(n),Au(!1),e.tag===H){Yb(e,e,n);return}var a=null;for(a=t;a!==null;){if(a.tag===H){Yb(a,e,n);return}else if(a.tag===$){var r=a.type,i=a.stateNode;if(typeof r.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&!Pb(i)){var o=Ni(n,e),l=up(a,o,be),u=$r(a,l,be),c=Fn();u!==null&&(xl(u,be,c),In(u,c));return}}a=a.return}d(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
|
|
Error message:
|
|
|
|
%s`,n)}function tD(e,t,n){var a=e.pingCache;a!==null&&a.delete(t);var r=Fn();mm(e,n),cD(e),Hn===e&&vo(rn,n)&&(on===xu||on===Uc&&dm(rn)&&dn()-kp<Mb?zi(e,M):jc=Ue(jc,n)),In(e,r)}function qb(e,t){t===pn&&(t=Aw(e));var n=Fn(),a=Wn(e,t);a!==null&&(xl(a,t,n),In(a,n))}function nD(e){var t=e.memoizedState,n=pn;t!==null&&(n=t.retryLane),qb(e,n)}function aD(e,t){var n=pn,a;switch(e.tag){case ae:a=e.stateNode;var r=e.memoizedState;r!==null&&(n=r.retryLane);break;case Je:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),qb(e,n)}function rD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Lw(e/1960)*1960}function iD(){if(Lu>Nw)throw Lu=0,jp=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Po>Uw&&(Po=0,Fc=null,d("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function oD(){Oa.flushLegacyContextWarning(),Oa.flushPendingUnsafeLifecycleWarnings()}function Gb(e,t){Ft(e),Yc(e,Mr,xw),t&&Yc(e,Mf,ww),Yc(e,Mr,Tw),t&&Yc(e,Mf,Rw),cn()}function Yc(e,t,n){for(var a=e,r=null;a!==null;){var i=a.subtreeFlags&t;a!==r&&a.child!==null&&i!==ce?a=a.child:((a.flags&t)!==ce&&n(a),a.sibling!==null?a=a.sibling:a=r=a.return)}}var qc=null;function Wb(e){{if((Qe&Rn)!==an||!(e.mode&We))return;var t=e.tag;if(t!==Ie&&t!==H&&t!==$&&t!==ne&&t!==oe&&t!==tt&&t!==ee)return;var n=we(e)||"ReactComponent";if(qc!==null){if(qc.has(n))return;qc.add(n)}else qc=new Set([n]);var a=Un;try{Ft(e),d("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?Ft(e):cn()}}}var $p;{var lD=null;$p=function(e,t,n){var a=tS(lD,t);try{return ob(e,t,n)}catch(i){if(bx()||i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(Js(),ug(),db(e,t),tS(t,a),t.mode>&&Yv(t),Rf(null,ob,null,e,t,n),BC()){var r=xf();typeof r=="object"&&r!==null&&r._suppressLogging&&typeof i=="object"&&i!==null&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}}}var Qb=!1,Pp;Pp=new Set;function uD(e){if(oi&&!Kx())switch(e.tag){case ne:case oe:case ee:{var t=$t&&we($t)||"Unknown",n=t;if(!Pp.has(n)){Pp.add(n);var a=we(e)||"Unknown";d("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case $:{Qb||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Qb=!0);break}}}function Uu(e,t){if(xa){var n=e.memoizedUpdaters;n.forEach(function(a){ym(e,a,t)})}}var Yp={};function qp(e,t){{var n=za.current;return n!==null?(n.push(t),Yp):am(e,t)}}function Xb(e){if(e!==Yp)return XC(e)}function Ib(){return za.current!==null}function sD(e){{if(e.mode&We){if(!Db())return}else if(!Mw()||Qe!==an||e.tag!==ne&&e.tag!==oe&&e.tag!==ee)return;if(za.current===null){var t=Un;try{Ft(e),d(`An update to %s inside a test was not wrapped in act(...).
|
|
|
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
|
|
act(() => {
|
|
/* fire events that update state */
|
|
});
|
|
/* assert on the output */
|
|
|
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,we(e))}finally{t?Ft(e):cn()}}}}function cD(e){e.tag!==Fr&&Db()&&za.current===null&&d(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
|
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
|
|
act(() => {
|
|
/* finish loading suspended data */
|
|
});
|
|
/* assert on the output */
|
|
|
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Au(e){Nb=e}var ma=null,Yo=null,fD=function(e){ma=e};function qo(e){{if(ma===null)return e;var t=ma(e);return t===void 0?e:t.current}}function Gp(e){return qo(e)}function Wp(e){{if(ma===null)return e;var t=ma(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=qo(e.render);if(e.render!==n){var a={$$typeof:O,render:n};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function Kb(e,t){{if(ma===null)return!1;var n=e.elementType,a=t.type,r=!1,i=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case $:{typeof a=="function"&&(r=!0);break}case ne:{(typeof a=="function"||i===_e)&&(r=!0);break}case oe:{(i===O||i===_e)&&(r=!0);break}case tt:case ee:{(i===$e||i===_e)&&(r=!0);break}default:return!1}if(r){var o=ma(n);if(o!==void 0&&o===ma(a))return!0}return!1}}function Jb(e){{if(ma===null||typeof WeakSet!="function")return;Yo===null&&(Yo=new WeakSet),Yo.add(e)}}var dD=function(e,t){{if(ma===null)return;var n=t.staleFamilies,a=t.updatedFamilies;Cr(),Sr(function(){Qp(e.current,a,n)})}},vD=function(e,t){{if(e.context!==ia)return;Cr(),Sr(function(){ju(t,e,null,null)})}};function Qp(e,t,n){{var a=e.alternate,r=e.child,i=e.sibling,o=e.tag,l=e.type,u=null;switch(o){case ne:case ee:case $:u=l;break;case oe:u=l.render;break}if(ma===null)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,f=!1;if(u!==null){var y=ma(u);y!==void 0&&(n.has(y)?f=!0:t.has(y)&&(o===$?f=!0:c=!0))}if(Yo!==null&&(Yo.has(e)||a!==null&&Yo.has(a))&&(f=!0),f&&(e._debugNeedsRemount=!0),f||c){var m=Wn(e,be);m!==null&&ln(m,e,be,Ot)}r!==null&&!f&&Qp(r,t,n),i!==null&&Qp(i,t,n)}}var pD=function(e,t){{var n=new Set,a=new Set(t.map(function(r){return r.current}));return Xp(e.current,a,n),n}};function Xp(e,t,n){{var a=e.child,r=e.sibling,i=e.tag,o=e.type,l=null;switch(i){case ne:case ee:case $:l=o;break;case oe:l=o.render;break}var u=!1;l!==null&&t.has(l)&&(u=!0),u?hD(e,n):a!==null&&Xp(a,t,n),r!==null&&Xp(r,t,n)}}function hD(e,t){{var n=mD(e,t);if(n)return;for(var a=e;;){switch(a.tag){case G:t.add(a.stateNode);return;case Te:t.add(a.stateNode.containerInfo);return;case H:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function mD(e,t){for(var n=e,a=!1;;){if(n.tag===G)a=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;n.sibling===null;){if(n.return===null||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var Ip;{Ip=!1;try{var Zb=Object.preventExtensions({})}catch{Ip=!0}}function yD(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=ce,this.subtreeFlags=ce,this.deletions=null,this.lanes=M,this.childLanes=M,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Ip&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var oa=function(e,t,n,a){return new yD(e,t,n,a)};function Kp(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function gD(e){return typeof e=="function"&&!Kp(e)&&e.defaultProps===void 0}function bD(e){if(typeof e=="function")return Kp(e)?$:ne;if(e!=null){var t=e.$$typeof;if(t===O)return oe;if(t===$e)return tt}return Ie}function Fi(e,t){var n=e.alternate;n===null?(n=oa(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=ce,n.subtreeFlags=ce,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&lr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var a=e.dependencies;switch(n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case Ie:case ne:case ee:n.type=qo(e.type);break;case $:n.type=Gp(e.type);break;case oe:n.type=Wp(e.type);break}return n}function SD(e,t){e.flags&=lr|fn;var n=e.alternate;if(n===null)e.childLanes=M,e.lanes=t,e.child=null,e.subtreeFlags=ce,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=ce,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var a=n.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function CD(e,t,n){var a;return e===$s?(a=We,t===!0&&(a|=Yt,a|=$a)):a=le,xa&&(a|=gt),oa(H,null,null,a)}function Jp(e,t,n,a,r,i){var o=Ie,l=e;if(typeof e=="function")Kp(e)?(o=$,l=Gp(l)):l=qo(l);else if(typeof e=="string")o=G;else e:switch(e){case Fa:return Jr(n.children,r,i,t);case ei:o=At,r|=Yt,(r&We)!==le&&(r|=$a);break;case ti:return ED(n,r,i,t);case V:return TD(n,r,i,t);case Q:return RD(n,r,i,t);case Qt:return eS(n,r,i,t);case Nt:case Pe:case zt:case wn:case ze:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ni:o=he;break e;case p:o=Mt;break e;case O:o=oe,l=Wp(l);break e;case $e:o=tt;break e;case _e:o=Ke,l=null;break e}var u="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 c=a?we(a):null;c&&(u+=`
|
|
|
|
Check the render method of \``+c+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+u))}}var f=oa(o,n,t,r);return f.elementType=e,f.type=l,f.lanes=i,f._debugOwner=a,f}function Zp(e,t,n){var a=null;a=e._owner;var r=e.type,i=e.key,o=e.props,l=Jp(r,i,o,a,t,n);return l._debugSource=e._source,l._debugOwner=e._owner,l}function Jr(e,t,n,a){var r=oa(Oe,e,a,t);return r.lanes=n,r}function ED(e,t,n,a){typeof e.id!="string"&&d('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=oa(et,e,a,t|gt);return r.elementType=ti,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}function TD(e,t,n,a){var r=oa(ae,e,a,t);return r.elementType=V,r.lanes=n,r}function RD(e,t,n,a){var r=oa(Je,e,a,t);return r.elementType=Q,r.lanes=n,r}function eS(e,t,n,a){var r=oa(Re,e,a,t);r.elementType=Qt,r.lanes=n;var i={isHidden:!1};return r.stateNode=i,r}function eh(e,t,n){var a=oa(Le,e,null,t);return a.lanes=n,a}function xD(){var e=oa(G,null,null,le);return e.elementType="DELETED",e}function wD(e){var t=oa(Ct,null,null,le);return t.stateNode=e,t}function th(e,t,n){var a=e.children!==null?e.children:[],r=oa(Te,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function tS(e,t){return e===null&&(e=oa(Ie,null,null,le)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function DD(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=jd,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=pn,this.eventTimes=id(M),this.expirationTimes=id(Ot),this.pendingLanes=M,this.suspendedLanes=M,this.pingedLanes=M,this.expiredLanes=M,this.mutableReadLanes=M,this.finishedLanes=M,this.entangledLanes=M,this.entanglements=id(M),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],o=0;o<jf;o++)i.push(new Set)}switch(t){case $s:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case Fr:this._debugRootType=n?"hydrate()":"render()";break}}function nS(e,t,n,a,r,i,o,l,u,c){var f=new DD(e,t,n,l,u),y=CD(t,i);f.current=y,y.stateNode=f;{var m={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};y.memoizedState=m}return pv(y),f}var nh="18.3.1";function _D(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return J(a),{$$typeof:ea,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var ah,rh;ah=!1,rh={};function aS(e){if(!e)return ia;var t=ao(e),n=cx(t);if(t.tag===$){var a=t.type;if(qa(a))return My(t,a,n)}return n}function OD(e,t){{var n=ao(e);if(n===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=em(n);if(r===null)return null;if(r.mode&Yt){var i=we(n)||"Component";if(!rh[i]){rh[i]=!0;var o=Un;try{Ft(r),n.mode&Yt?d("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):d("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{o?Ft(o):cn()}}}return r.stateNode}}function rS(e,t,n,a,r,i,o,l){var u=!1,c=null;return nS(e,t,u,c,n,a,r,i,o)}function iS(e,t,n,a,r,i,o,l,u,c){var f=!0,y=nS(n,a,f,e,r,i,o,l,u);y.context=aS(null);var m=y.current,S=Fn(),E=Ir(m),R=mr(S,E);return R.callback=t??null,$r(m,R,E),jw(y,E,S),y}function ju(e,t,n,a){a0(t,e);var r=t.current,i=Fn(),o=Ir(r);T0(o);var l=aS(n);t.context===null?t.context=l:t.pendingContext=l,oi&&Un!==null&&!ah&&(ah=!0,d(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
|
|
Check the render method of %s.`,we(Un)||"Unknown"));var u=mr(i,o);u.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),u.callback=a);var c=$r(r,u,o);return c!==null&&(ln(c,r,o,i),ac(c,r,o)),o}function Gc(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case G:return t.child.stateNode;default:return t.child.stateNode}}function MD(e){switch(e.tag){case H:{var t=e.stateNode;if(ds(t)){var n=k0(t);Vw(t,n)}break}case ae:{Sr(function(){var r=Wn(e,be);if(r!==null){var i=Fn();ln(r,e,be,i)}});var a=be;ih(e,a);break}}}function oS(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=H0(n.retryLane,t))}function ih(e,t){oS(e,t);var n=e.alternate;n&&oS(n,t)}function LD(e){if(e.tag===ae){var t=Cl,n=Wn(e,t);if(n!==null){var a=Fn();ln(n,e,t,a)}ih(e,t)}}function kD(e){if(e.tag===ae){var t=Ir(e),n=Wn(e,t);if(n!==null){var a=Fn();ln(n,e,t,a)}ih(e,t)}}function lS(e){var t=QC(e);return t===null?null:t.stateNode}var uS=function(e){return null};function ND(e){return uS(e)}var sS=function(e){return!1};function UD(e){return sS(e)}var cS=null,fS=null,dS=null,vS=null,pS=null,hS=null,mS=null,yS=null,gS=null;{var bS=function(e,t,n){var a=t[n],r=Fe(e)?e.slice():Ne({},e);return n+1===t.length?(Fe(r)?r.splice(a,1):delete r[a],r):(r[a]=bS(e[a],t,n+1),r)},SS=function(e,t){return bS(e,t,0)},CS=function(e,t,n,a){var r=t[a],i=Fe(e)?e.slice():Ne({},e);if(a+1===t.length){var o=n[a];i[o]=i[r],Fe(i)?i.splice(r,1):delete i[r]}else i[r]=CS(e[r],t,n,a+1);return i},ES=function(e,t,n){if(t.length!==n.length){pe("copyWithRename() expects paths of the same length");return}else for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){pe("copyWithRename() expects paths to be the same except for the deepest key");return}return CS(e,t,n,0)},TS=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],i=Fe(e)?e.slice():Ne({},e);return i[r]=TS(e[r],t,n+1,a),i},RS=function(e,t,n){return TS(e,t,0,n)},oh=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};cS=function(e,t,n,a){var r=oh(e,t);if(r!==null){var i=RS(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Ne({},e.memoizedProps);var o=Wn(e,be);o!==null&&ln(o,e,be,Ot)}},fS=function(e,t,n){var a=oh(e,t);if(a!==null){var r=SS(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=Ne({},e.memoizedProps);var i=Wn(e,be);i!==null&&ln(i,e,be,Ot)}},dS=function(e,t,n,a){var r=oh(e,t);if(r!==null){var i=ES(r.memoizedState,n,a);r.memoizedState=i,r.baseState=i,e.memoizedProps=Ne({},e.memoizedProps);var o=Wn(e,be);o!==null&&ln(o,e,be,Ot)}},vS=function(e,t,n){e.pendingProps=RS(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Wn(e,be);a!==null&&ln(a,e,be,Ot)},pS=function(e,t){e.pendingProps=SS(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Wn(e,be);n!==null&&ln(n,e,be,Ot)},hS=function(e,t,n){e.pendingProps=ES(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Wn(e,be);a!==null&&ln(a,e,be,Ot)},mS=function(e){var t=Wn(e,be);t!==null&&ln(t,e,be,Ot)},yS=function(e){uS=e},gS=function(e){sS=e}}function AD(e){var t=em(e);return t===null?null:t.stateNode}function jD(e){return null}function zD(){return Un}function HD(e){var t=e.findFiberByHostInstance,n=se.ReactCurrentDispatcher;return n0({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:cS,overrideHookStateDeletePath:fS,overrideHookStateRenamePath:dS,overrideProps:vS,overridePropsDeletePath:pS,overridePropsRenamePath:hS,setErrorHandler:yS,setSuspenseHandler:gS,scheduleUpdate:mS,currentDispatcherRef:n,findHostInstanceByFiber:AD,findFiberByHostInstance:t||jD,findHostInstancesForRefresh:pD,scheduleRefresh:dD,scheduleRoot:vD,setRefreshHandler:fD,getCurrentFiber:zD,reconcilerVersion:nh})}var xS=typeof reportError=="function"?reportError:function(e){console.error(e)};function lh(e){this._internalRoot=e}Wc.prototype.render=lh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?d("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Qc(arguments[1])?d("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&d("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==It){var a=lS(t.current);a&&a.parentNode!==n&&d("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}ju(e,t,null,null)},Wc.prototype.unmount=lh.prototype.unmount=function(){typeof arguments[0]=="function"&&d("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zb()&&d("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Sr(function(){ju(null,e,null,null)}),xy(t)}};function FD(e,t){if(!Qc(e))throw new Error("createRoot(...): Target container is not a DOM element.");wS(e);var n=!1,a=!1,r="",i=xS;t!=null&&(t.hydrate?pe("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Zn&&d(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
|
|
let root = createRoot(domContainer);
|
|
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var o=rS(e,$s,null,n,a,r,i);As(o.current,e);var l=e.nodeType===It?e.parentNode:e;return $l(l),new lh(o)}function Wc(e){this._internalRoot=e}function VD(e){e&&tE(e)}Wc.prototype.unstable_scheduleHydration=VD;function BD(e,t,n){if(!Qc(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");wS(e),t===void 0&&d("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=n??null,r=n!=null&&n.hydratedSources||null,i=!1,o=!1,l="",u=xS;n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(u=n.onRecoverableError));var c=iS(t,null,e,$s,a,i,o,l,u);if(As(c.current,e),$l(e),r)for(var f=0;f<r.length;f++){var y=r[f];qx(c,y)}return new Wc(c)}function Qc(e){return!!(e&&(e.nodeType===qn||e.nodeType===or||e.nodeType===vf))}function zu(e){return!!(e&&(e.nodeType===qn||e.nodeType===or||e.nodeType===vf||e.nodeType===It&&e.nodeValue===" react-mount-point-unstable "))}function wS(e){e.nodeType===qn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Zl(e)&&(e._reactRootContainer?d("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):d("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var $D=se.ReactCurrentOwner,DS;DS=function(e){if(e._reactRootContainer&&e.nodeType!==It){var t=lS(e._reactRootContainer.current);t&&t.parentNode!==e&&d("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=uh(e),r=!!(a&&zr(a));r&&!n&&d("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===qn&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function uh(e){return e?e.nodeType===or?e.documentElement:e.firstChild:null}function _S(){}function PD(e,t,n,a,r){if(r){if(typeof a=="function"){var i=a;a=function(){var m=Gc(o);i.call(m)}}var o=iS(t,a,e,Fr,null,!1,!1,"",_S);e._reactRootContainer=o,As(o.current,e);var l=e.nodeType===It?e.parentNode:e;return $l(l),Sr(),o}else{for(var u;u=e.lastChild;)e.removeChild(u);if(typeof a=="function"){var c=a;a=function(){var m=Gc(f);c.call(m)}}var f=rS(e,Fr,null,!1,!1,"",_S);e._reactRootContainer=f,As(f.current,e);var y=e.nodeType===It?e.parentNode:e;return $l(y),Sr(function(){ju(t,f,n,a)}),f}}function YD(e,t){e!==null&&typeof e!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Xc(e,t,n,a,r){DS(n),YD(r===void 0?null:r,"render");var i=n._reactRootContainer,o;if(!i)o=PD(n,t,e,r,a);else{if(o=i,typeof r=="function"){var l=r;r=function(){var u=Gc(o);l.call(u)}}ju(t,o,e,r)}return Gc(o)}var OS=!1;function qD(e){{OS||(OS=!0,d("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=$D.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||d("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ut(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===qn?e:OD(e,"findDOMNode")}function GD(e,t,n){if(d("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!zu(t))throw new Error("Target container is not a DOM element.");{var a=Zl(t)&&t._reactRootContainer===void 0;a&&d("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Xc(null,e,t,!0,n)}function WD(e,t,n){if(d("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!zu(t))throw new Error("Target container is not a DOM element.");{var a=Zl(t)&&t._reactRootContainer===void 0;a&&d("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Xc(null,e,t,!1,n)}function QD(e,t,n,a){if(d("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!zu(n))throw new Error("Target container is not a DOM element.");if(e==null||!$C(e))throw new Error("parentComponent must be a valid React Component");return Xc(e,t,n,!1,a)}var MS=!1;function XD(e){if(MS||(MS=!0,d("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!zu(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Zl(e)&&e._reactRootContainer===void 0;t&&d("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=uh(e),a=n&&!zr(n);a&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Sr(function(){Xc(null,null,e,!1,function(){e._reactRootContainer=null,xy(e)})}),!0}else{{var r=uh(e),i=!!(r&&zr(r)),o=e.nodeType===qn&&zu(e.parentNode)&&!!e.parentNode._reactRootContainer;i&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}q0(MD),W0(LD),Q0(kD),X0(wa),I0($0),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&d("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),LC(KT),UC(Fp,Bw,Sr);function ID(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Qc(t))throw new Error("Target container is not a DOM element.");return _D(e,t,null,n)}function KD(e,t,n,a){return QD(e,t,n,a)}var sh={usingClientEntryPoint:!1,Events:[zr,Eo,js,Bh,$h,Fp]};function JD(e,t){return sh.usingClientEntryPoint||d('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),FD(e,t)}function ZD(e,t,n){return sh.usingClientEntryPoint||d('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),BD(e,t,n)}function e_(e){return zb()&&d("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Sr(e)}var t_=HD({findFiberByHostInstance:Ri,bundleType:1,version:nh,rendererPackageName:"react-dom"});if(!t_&&me&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var LS=window.location.protocol;/^(https?|file):$/.test(LS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(LS==="file:"?`
|
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}$n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sh,$n.createPortal=ID,$n.createRoot=JD,$n.findDOMNode=qD,$n.flushSync=e_,$n.hydrate=GD,$n.hydrateRoot=ZD,$n.render=WD,$n.unmountComponentAtNode=XD,$n.unstable_batchedUpdates=Fp,$n.unstable_renderSubtreeIntoContainer=KD,$n.version=nh,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),$n}ph.exports=jS();var zS=ph.exports,gh,bh=zS;{var Sh=bh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;gh=function(_,D){Sh.usingClientEntryPoint=!0;try{return bh.createRoot(_,D)}finally{Sh.usingClientEntryPoint=!1}}}var Be=Kc();const ya=_=>{if(isNaN(_))return"00:00:00.000";const D=Math.floor(_/3600),se=Math.floor(_%3600/60),ve=Math.floor(_%60),te=Math.round(_%1*1e3),pe=String(D).padStart(2,"0"),d=String(se).padStart(2,"0"),Ae=String(ve).padStart(2,"0"),ne=String(te).padStart(3,"0");return`${pe}:${d}:${Ae}.${ne}`},Ha=_=>ya(_),HS=_=>ya(_),FS=({videoRef:_,currentTime:D,duration:se,isPlaying:ve,isMuted:te=!1,onPlayPause:pe,onSeek:d,onToggleMute:Ae})=>{var G;const ne=Be.useRef(null),$=typeof window<"u"&&((G=window.MEDIA_DATA)==null?void 0:G.videoUrl)||"https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",Ie=se>0?D/se*100:0,H=Le=>{if(ne.current){const Oe=ne.current.getBoundingClientRect(),At=(Le.clientX-Oe.left)/Oe.width;d(se*At)}},Te=()=>{_.current&&(document.fullscreenElement?document.exitFullscreen():_.current.requestFullscreen())};return h.jsxs("div",{className:"video-player-container",children:[h.jsxs("video",{ref:_,preload:"auto",crossOrigin:"anonymous",onClick:pe,children:[h.jsx("source",{src:$,type:"video/mp4"}),h.jsx("p",{children:"Your browser doesn't support HTML5 video."})]}),h.jsx("div",{className:`play-pause-indicator ${ve?"pause-icon":"play-icon"}`}),h.jsxs("div",{className:"video-controls",children:[h.jsxs("div",{className:"video-time-display",children:[h.jsx("span",{className:"video-current-time",children:Ha(D)}),h.jsxs("span",{className:"video-duration",children:["/ ",Ha(se)]})]}),h.jsxs("div",{ref:ne,className:"video-progress",onClick:H,children:[h.jsx("div",{className:"video-progress-fill",style:{width:`${Ie}%`}}),h.jsx("div",{className:"video-scrubber",style:{left:`${Ie}%`}})]}),h.jsxs("div",{className:"video-controls-buttons",children:[Ae&&h.jsx("button",{className:"mute-button","aria-label":te?"Unmute":"Mute",onClick:Ae,"data-tooltip":te?"Unmute":"Mute",children:te?h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"}),h.jsx("path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"}),h.jsx("path",{d:"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"}),h.jsx("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),h.jsx("line",{x1:"8",y1:"23",x2:"16",y2:"23"})]}):h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),h.jsx("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"})]})}),h.jsx("button",{className:"fullscreen-button","aria-label":"Fullscreen",onClick:Te,"data-tooltip":"Toggle fullscreen",children:h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:h.jsx("path",{fillRule:"evenodd",d:"M3 4a1 1 0 011-1h4a1 1 0 010 2H6.414l2.293 2.293a1 1 0 01-1.414 1.414L5 6.414V8a1 1 0 01-2 0V4zm9 1a1 1 0 010-2h4a1 1 0 011 1v4a1 1 0 01-2 0V6.414l-2.293 2.293a1 1 0 11-1.414-1.414L13.586 5H12zm-9 7a1 1 0 012 0v1.586l2.293-2.293a1 1 0 011.414 1.414L6.414 15H8a1 1 0 010 2H4a1 1 0 01-1-1v-4zm13-1a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 010-2h1.586l-2.293-2.293a1 1 0 011.414-1.414L15 13.586V12a1 1 0 011-1z",clipRule:"evenodd"})})})]})]})]})},ef=(_,D)=>{const se=Math.min(Math.max(_/(D||1),0),1),ve=210,te=40+Math.floor(se*20),pe=85+Math.floor(se*8);return`hsl(${ve}, ${te}%, ${pe}%)`},Ch=async(_,D)=>new Promise(se=>{const ve=document.createElement("canvas");ve.width=10,ve.height=10;const te=ve.getContext("2d");if(te){const d=ef(D,_.duration);te.fillStyle=d,te.fillRect(0,0,ve.width,ve.height)}const pe=ve.toDataURL("image/png",.5);se(pe)}),Fu=({isOpen:_,onClose:D,title:se,children:ve,actions:te})=>{if(Be.useEffect(()=>{const d=Ae=>{Ae.key==="Escape"&&_&&D()};return document.addEventListener("keydown",d),_&&(document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",d),document.body.style.overflow=""}},[_,D]),!_)return null;const pe=d=>{d.target===d.currentTarget&&D()};return h.jsx("div",{className:"modal-overlay",onClick:pe,children:h.jsxs("div",{className:"modal-container",onClick:d=>d.stopPropagation(),children:[h.jsxs("div",{className:"modal-header",children:[h.jsx("h2",{className:"modal-title",children:se}),h.jsx("button",{className:"modal-close-button",onClick:D,"aria-label":"Close modal",children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),h.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),h.jsx("div",{className:"modal-content",children:ve}),te&&h.jsx("div",{className:"modal-actions",children:te})]})})},Eh=async(_,D)=>new Promise(se=>{setTimeout(()=>{se({msg:"Video is processing for trim",url_redirect:`http://localhost/api/v1/media/${_}?great-job=done`})},1500)}),VS=({currentTime:_,duration:D,thumbnails:se,trimStart:ve,trimEnd:te,splitPoints:pe,zoomLevel:d,clipSegments:Ae,onTrimStartChange:ne,onTrimEndChange:$,onZoomChange:Ie,onSeek:H,videoRef:Te,onSave:G,onSaveACopy:Le})=>{const Oe=Be.useRef(null),At=Be.useRef(null),Mt=Be.useRef(null),[he,oe]=Be.useState(null),[et,ae]=Be.useState(!1),[tt,ee]=Be.useState({x:0,y:0}),[Ke,He]=Be.useState(0),[Ct,Je]=Be.useState(!1),ge=Be.useRef(null),[Re,Et]=Be.useState(!1),[nt,Lt]=Be.useState(!1),[Me,jt]=Be.useState(!1),[Kn,un]=Be.useState(!1),[Pn,Pt]=Be.useState(""),[Nn,Jt]=Be.useState(""),Yn=D>0?_/D*100:0,Jn=D>0?ve/D*100:0,Wt=D>0?te/D*100:0,N=async()=>{Et(!1),jt(!0);try{const L=Ae.map(ie=>({startTime:ya(ie.startTime),endTime:ya(ie.endTime)})),z=await Eh("YjGJafibO",{segments:L,saveAsCopy:!1});jt(!1),Pt(z.msg),Jt(z.url_redirect),un(!0)}catch(L){console.error("Error processing video:",L),jt(!1)}},De=async()=>{Lt(!1),jt(!0);try{const L=Ae.map(ie=>({startTime:ya(ie.startTime),endTime:ya(ie.endTime)})),z=await Eh("YjGJafibO",{segments:L,saveAsCopy:!0});jt(!1),Pt(z.msg),Jt(z.url_redirect),un(!0)}catch(L){console.error("Error processing video:",L),jt(!1)}};Be.useEffect(()=>{if(ge.current&&Oe.current&&d>1){const L=ge.current.clientWidth,J=Oe.current.clientWidth,z=_/D*J,ie=Math.max(0,z-L/2);ge.current.scrollTo({left:ie,behavior:"smooth"});const W=Oe.current.getBoundingClientRect();ge.current.getBoundingClientRect();const je=W.left-ge.current.scrollLeft+Yn/100*W.width;(he!==null||et)&&(ee({x:je,y:W.top-10}),He(_))}},[_,d,D,he,et,Yn]),Be.useEffect(()=>{const L=J=>{const z=J.target;Ct&&!z.closest(".zoom-dropdown-container")&&Je(!1)};return document.addEventListener("mousedown",L),()=>{document.removeEventListener("mousedown",L)}},[Ct]),Be.useEffect(()=>{const L=At.current,J=Mt.current,z=Oe.current;if(!L||!J||!z)return;const ie=W=>fe=>{fe.preventDefault();const je=z.getBoundingClientRect(),ke=lt=>{const xt=je.width,Bt=Math.max(0,Math.min(1,(lt.clientX-je.left)/xt))*D;W?Bt<te&&ne(Bt):Bt>ve&&$(Bt)},Ze=()=>{document.removeEventListener("mousemove",ke),document.removeEventListener("mouseup",Ze)};document.addEventListener("mousemove",ke),document.addEventListener("mouseup",Ze)};return L.addEventListener("mousedown",ie(!0)),J.addEventListener("mousedown",ie(!1)),()=>{L.removeEventListener("mousedown",ie(!0)),J.removeEventListener("mousedown",ie(!1))}},[D,ve,te,ne,$]);const xe=()=>{const L=se.length||10;return Array.from({length:L}).map((J,z)=>{const ie=D/L,W=z*ie,fe=W+ie,je=(W+fe)/2,ke=ef(je,D);return h.jsx("div",{className:"timeline-thumbnail",style:{width:`${100/L}%`,backgroundColor:ke}},z)})},me=()=>pe.map((L,J)=>{const z=L/D*100;return h.jsx("div",{className:"split-point",style:{left:`${z}%`}},J)}),Ye=L=>{if(!Oe.current||!ge.current)return;const J=Oe.current.getBoundingClientRect();let z;if(d>1){const W=ge.current.scrollLeft,fe=Oe.current.clientWidth;z=(L.clientX-J.left+W)/fe}else z=(L.clientX-J.left)/J.width;const ie=z*D;if(L.target===Oe.current||L.target.classList.contains("timeline-thumbnail")){oe(null),H(ie),He(ie);let W;if(d>1){const je=J.left-ge.current.scrollLeft,ke=ie/D;W=je+ke*J.width}else W=L.clientX;ee({x:W,y:J.top-10}),ae(!0);const fe=je=>{const ke=je.target;!ke.closest(".empty-space-tooltip")&&!ke.closest(".timeline")&&(ae(!1),document.removeEventListener("mousedown",fe))};document.addEventListener("mousedown",fe)}},ct=(L,J)=>z=>{if(z.preventDefault(),z.stopPropagation(),!Oe.current)return;const ie=Oe.current.getBoundingClientRect(),W=ie.width,fe=Ae.find(ft=>ft.id===L);if(!fe)return;const je=fe.startTime,ke=fe.endTime;document.body.style.cursor="ew-resize";const Ze=document.createElement("div");Ze.style.position="fixed",Ze.style.top="0",Ze.style.left="0",Ze.style.width="100vw",Ze.style.height="100vh",Ze.style.zIndex="1000",Ze.style.cursor="ew-resize",document.body.appendChild(Ze);const lt=ft=>{const mn=Math.max(0,Math.min(1,(ft.clientX-ie.left)/W))*D,A=Ae.filter(ht=>ht.id!==L);let K=je,ye=ke;if(J){K=Math.min(mn,ke-.5);const qe=A.filter(dt=>dt.endTime<=je).sort((dt,mt)=>mt.endTime-dt.endTime)[0];qe&&K<qe.endTime&&(K=qe.endTime),qe&&Math.abs(K-qe.endTime)<.3&&(K=qe.endTime)}else{ye=Math.max(mn,je+.5);const qe=A.filter(dt=>dt.startTime>=ke).sort((dt,mt)=>dt.startTime-mt.startTime)[0];qe&&ye>qe.startTime&&(ye=qe.startTime),qe&&Math.abs(ye-qe.startTime)<.3&&(ye=qe.startTime)}const rt=Ae.map(ht=>ht.id===L?{...ht,startTime:K,endTime:ye}:ht),Tt=new CustomEvent("update-segments",{detail:{segments:rt}});document.dispatchEvent(Tt)},xt=()=>{document.removeEventListener("mousemove",lt),document.removeEventListener("mouseup",xt),document.body.style.cursor="",document.body.removeChild(Ze)};document.addEventListener("mousemove",lt),document.addEventListener("mouseup",xt)},kt=L=>J=>{if(J.target.classList.contains("clip-segment-handle"))return;J.preventDefault(),J.stopPropagation(),console.log("Segment clicked:",L),oe(L);const z=Ae.find(ft=>ft.id===L);if(!z)return;const W=J.currentTarget.getBoundingClientRect(),fe=(J.clientX-W.left)/W.width,je=z.startTime+fe*(z.endTime-z.startTime),ke=Math.max(z.startTime,Math.min(z.endTime,je));He(ke),H(ke);const Ze=J.clientX,lt=W.top-10;if(ee({x:Ze,y:lt}),d>1&&Oe.current&&ge.current){Oe.current.getBoundingClientRect();const ft=Oe.current.clientWidth,Bt=ge.current.clientWidth,mn=ke/D*ft,A=Math.max(0,mn-Bt/2);ge.current.scrollTo({left:A,behavior:"smooth"}),setTimeout(()=>{if(Oe.current&&ge.current){const K=Oe.current.getBoundingClientRect(),rt=ke/D*ft-ge.current.scrollLeft+K.left;ee({x:rt,y:lt})}},300)}const xt=ft=>{const Bt=ft.target;!Bt.closest(".segment-tooltip")&&!Bt.closest(".clip-segment")&&(oe(null),document.removeEventListener("mousedown",xt))};document.addEventListener("mousedown",xt)},at=()=>Ae.map((L,J)=>{const z=L.startTime/D*100,ie=(L.endTime-L.startTime)/D*100,W=ef((L.startTime+L.endTime)/2,D);return h.jsxs("div",{className:`clip-segment ${he===L.id?"selected":""}`,style:{left:`${z}%`,width:`${ie}%`,backgroundColor:W,borderWidth:"2px",borderStyle:"solid",borderColor:"rgba(0, 0, 0, 0.5)"},onClick:kt(L.id),children:[h.jsxs("div",{className:"clip-segment-info",children:[h.jsxs("div",{className:"clip-segment-name",children:["Segment ",J+1]}),h.jsxs("div",{className:"clip-segment-time",children:[Ha(L.startTime)," - ",Ha(L.endTime)]}),h.jsxs("div",{className:"clip-segment-duration",children:["Duration: ",Ha(L.endTime-L.startTime)]})]}),h.jsx("div",{className:"clip-segment-handle left",title:"Resize segment start",onMouseDown:fe=>{fe.stopPropagation(),ct(L.id,!0)(fe)}}),h.jsx("div",{className:"clip-segment-handle right",title:"Resize segment end",onMouseDown:fe=>{fe.stopPropagation(),ct(L.id,!1)(fe)}})]},L.id)});return h.jsxs("div",{className:"timeline-container-card",children:[h.jsxs("div",{className:"timeline-header",children:[h.jsx("div",{className:"timeline-title",children:h.jsx("span",{className:"timeline-title-text",children:"Timeline"})}),h.jsxs("div",{className:"current-time",children:["Current: ",h.jsx("span",{className:"time-code",children:ya(_)})]}),h.jsxs("div",{className:"duration-time",children:["Total: ",h.jsx("span",{children:Ha(D)})]})]}),h.jsx("div",{ref:ge,className:"timeline-scroll-container",style:{overflow:d>1?"auto":"hidden"},children:h.jsxs("div",{ref:Oe,className:"timeline-container",onClick:Ye,style:{width:`${d===1?"100%":`${d*100}%`}`},children:[h.jsx("div",{className:"timeline-marker",style:{left:`${Yn}%`}}),Ae.length===0&&h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"trim-line-marker",style:{left:`${Jn}%`},children:h.jsx("div",{ref:At,className:"trim-handle left"})}),h.jsx("div",{className:"trim-line-marker",style:{left:`${Wt}%`},children:h.jsx("div",{ref:Mt,className:"trim-handle right"})})]}),at(),me(),xe(),he!==null&&h.jsxs("div",{className:"segment-tooltip",style:{position:"fixed",left:`${tt.x}px`,top:`${tt.y}px`,transform:"translate(-50%, -100%)"},children:[h.jsx("div",{className:"tooltip-time",children:Ha(Ke)}),h.jsxs("div",{className:"tooltip-actions",children:[h.jsx("button",{className:"tooltip-action-btn delete","data-tooltip":"Delete segment",onClick:L=>{L.stopPropagation();const J=new CustomEvent("delete-segment",{detail:{segmentId:he}});document.dispatchEvent(J),oe(null)},children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("path",{d:"M3 6h18"}),h.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),h.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),h.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}),h.jsx("button",{className:"tooltip-action-btn scissors","data-tooltip":"Split segment at current position",onClick:L=>{L.stopPropagation();const J=new CustomEvent("split-segment",{detail:{segmentId:he,time:Ke}});document.dispatchEvent(J),oe(null)},children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("circle",{cx:"6",cy:"6",r:"3"}),h.jsx("circle",{cx:"6",cy:"18",r:"3"}),h.jsx("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),h.jsx("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),h.jsx("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})]})}),h.jsx("button",{className:"tooltip-action-btn set-in","data-tooltip":"Set start point at current position",onClick:L=>{if(L.stopPropagation(),Ae.find(z=>z.id===he)){const z=Ae.map(W=>W.id===he?{...W,startTime:Ke<W.endTime-.5?Ke:W.endTime-.5}:W),ie=new CustomEvent("update-segments",{detail:{segments:z}});document.dispatchEvent(ie)}oe(null)},children:h.jsx("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("g",{transform:"translate(50, 80) scale(0.95) rotate(35, 192, 256)",children:h.jsx("path",{d:"M91.826 467.2V317.966c-8.248 5.841-16.558 10.57-24.918 14.153C35.098 345.752-.014 322.222 0 288c.008-18.616 10.897-32.203 29.092-40 28.286-12.122 64.329-78.648 77.323-107.534 7.956-17.857 25.479-28.453 43.845-28.464l.001-.002h171.526c11.812 0 21.897 8.596 23.703 20.269 7.25 46.837 38.483 61.76 38.315 123.731-.007 2.724.195 13.254.195 16 0 50.654-22.122 81.574-71.263 72.6-9.297 18.597-39.486 30.738-62.315 16.45-21.177 24.645-53.896 22.639-70.944 6.299V467.2c0 24.15-20.201 44.8-43.826 44.8-23.283 0-43.826-21.35-43.826-44.8zM112 72V24c0-13.255 10.745-24 24-24h192c13.255 0 24 10.745 24 24v48c0 13.255-10.745 24-24 24H136c-13.255 0-24-10.745-24-24zm212-24c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z"})})})}),h.jsx("button",{className:"tooltip-action-btn set-out","data-tooltip":"Set end point at current position",onClick:L=>{if(L.stopPropagation(),Ae.find(z=>z.id===he)){const z=Ae.map(W=>W.id===he?{...W,endTime:Ke>W.startTime+.5?Ke:W.startTime+.5}:W),ie=new CustomEvent("update-segments",{detail:{segments:z}});document.dispatchEvent(ie)}oe(null)},children:h.jsx("svg",{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("g",{transform:"translate(50, 80) scale(0.95) rotate(-45,172, 256)",children:h.jsx("path",{d:"M91.826 467.2V317.966c-8.248 5.841-16.558 10.57-24.918 14.153C35.098 345.752-.014 322.222 0 288c.008-18.616 10.897-32.203 29.092-40 28.286-12.122 64.329-78.648 77.323-107.534 7.956-17.857 25.479-28.453 43.845-28.464l.001-.002h171.526c11.812 0 21.897 8.596 23.703 20.269 7.25 46.837 38.483 61.76 38.315 123.731-.007 2.724.195 13.254.195 16 0 50.654-22.122 81.574-71.263 72.6-9.297 18.597-39.486 30.738-62.315 16.45-21.177 24.645-53.896 22.639-70.944 6.299V467.2c0 24.15-20.201 44.8-43.826 44.8-23.283 0-43.826-21.35-43.826-44.8zM112 72V24c0-13.255 10.745-24 24-24h192c13.255 0 24 10.745 24 24v48c0 13.255-10.745 24-24 24H136c-13.255 0-24-10.745-24-24zm212-24c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z"})})})})]})]}),et&&h.jsxs("div",{className:"empty-space-tooltip",style:{position:"fixed",left:`${tt.x}px`,top:`${tt.y}px`,transform:"translate(-50%, -100%)"},children:[h.jsx("div",{className:"tooltip-time",children:Ha(Ke)}),h.jsx("div",{className:"tooltip-actions",children:h.jsxs("button",{className:"tooltip-action-btn new-segment","data-tooltip":"Create new 30-second segment",onClick:async L=>{L.stopPropagation();const J=Ke,z=Math.min(D,Ke+30),ie={id:Date.now(),name:"segment",startTime:J,endTime:z,thumbnail:""},W=[...Ae,ie],fe=new CustomEvent("update-segments",{detail:{segments:W}});document.dispatchEvent(fe),ae(!1)},children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),h.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),h.jsx("line",{x1:"8",y1:"12",x2:"16",y2:"12"})]}),h.jsx("span",{className:"tooltip-btn-text",children:"New 30s Segment"})]})})]})]})}),h.jsxs("div",{className:"timeline-controls",children:[h.jsxs("div",{className:"time-navigation",children:[h.jsx("div",{className:"time-nav-label",children:"Go to Time:"}),h.jsx("input",{type:"text",className:"time-input",placeholder:"00:00:00.000","data-tooltip":"Enter time in format: hh:mm:ss.ms",onKeyDown:L=>{if(L.key==="Enter"){const J=L.currentTarget.value;try{const z=J.split(":");let ie=0,W=0,fe=0,je=0;if(z.length===3){ie=parseInt(z[0]),W=parseInt(z[1]);const Ze=z[2].split(".");fe=parseInt(Ze[0]),Ze.length>1&&(je=parseInt(Ze[1].padEnd(3,"0").substring(0,3)))}else if(z.length===2){W=parseInt(z[0]);const Ze=z[1].split(".");fe=parseInt(Ze[0]),Ze.length>1&&(je=parseInt(Ze[1].padEnd(3,"0").substring(0,3)))}const ke=ie*3600+W*60+fe+je/1e3;if(!isNaN(ke)&&ke>=0&&ke<=D){H(ke);const Ze=lt=>{const xt=Ae.find(ft=>lt>=ft.startTime&<<=ft.endTime);if(Oe.current&&ge.current){const ft=Oe.current.getBoundingClientRect();let Bt;if(d>1)Bt=ft.left-ge.current.scrollLeft+lt/D*ft.width;else{const mn=lt/D;Bt=ft.left+ft.width*mn}ee({x:Bt,y:ft.top-10}),He(lt),xt?(oe(xt.id),ae(!1)):(oe(null),ae(!0))}};setTimeout(()=>Ze(ke),10)}}catch(z){console.error("Invalid time format:",z)}}}}),h.jsx("div",{className:"time-button-group",children:(()=>{const L=()=>{const J=Ae.find(z=>_>=z.startTime&&_<=z.endTime);if(Oe.current&&ge.current){const z=Oe.current.getBoundingClientRect();let ie;if(d>1)ie=z.left-ge.current.scrollLeft+_/D*z.width;else{const W=_/D;ie=z.left+z.width*W}ee({x:ie,y:z.top-10}),He(_),J?(oe(J.id),ae(!1)):(oe(null),ae(!0))}};return h.jsxs(h.Fragment,{children:[h.jsx("button",{className:"time-button",onClick:()=>{H(_-.01),setTimeout(L,10)},"data-tooltip":"Move back 10ms",children:"-10ms"}),h.jsx("button",{className:"time-button",onClick:()=>{H(_-.001),setTimeout(L,10)},"data-tooltip":"Move back 1ms",children:"-1ms"}),h.jsx("button",{className:"time-button",onClick:()=>{H(_+.001),setTimeout(L,10)},"data-tooltip":"Move forward 1ms",children:"+1ms"}),h.jsx("button",{className:"time-button",onClick:()=>{H(_+.01),setTimeout(L,10)},"data-tooltip":"Move forward 10ms",children:"+10ms"})]})})()})]}),h.jsxs("div",{className:"controls-right",children:[h.jsxs("div",{className:"zoom-dropdown-container",children:[h.jsxs("button",{className:"zoom-button","data-tooltip":"Select zoom level",onClick:()=>Je(!Ct),children:["Zoom ",d,"x",h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:h.jsx("polyline",{points:"6 9 12 15 18 9"})})]}),Ct&&h.jsx("div",{className:"zoom-dropdown",style:{position:"absolute",top:"100%",left:0,zIndex:1e3},children:[1,2,4,8,16,32,64,128,256,512,1024,2048,4096].map(L=>h.jsxs("div",{className:`zoom-option ${d===L?"selected":""}`,onClick:()=>{Ie(L),Je(!1)},children:[d===L&&h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:h.jsx("polyline",{points:"20 6 9 17 4 12"})}),"Zoom ",L,"x"]},L))})]}),G&&h.jsx("button",{onClick:()=>Et(!0),className:"save-button","data-tooltip":"Save changes",children:"Save"}),Le&&h.jsx("button",{onClick:()=>Lt(!0),className:"save-copy-button","data-tooltip":"Save as a new copy",children:"Save as Copy"}),h.jsxs(Fu,{isOpen:Re,onClose:()=>Et(!1),title:"Save Changes",actions:h.jsxs(h.Fragment,{children:[h.jsx("button",{className:"modal-button modal-button-secondary",onClick:()=>Et(!1),children:"Cancel"}),h.jsx("button",{className:"modal-button modal-button-primary",onClick:N,children:"Confirm Save"})]}),children:[h.jsx("p",{className:"modal-message",children:"You're about to save these changes and replace the original video. This action cannot be undone."}),h.jsx("p",{className:"modal-message",children:"The original video will be replaced with this trimmed version."})]}),h.jsxs(Fu,{isOpen:nt,onClose:()=>Lt(!1),title:"Save As New Copy",actions:h.jsxs(h.Fragment,{children:[h.jsx("button",{className:"modal-button modal-button-secondary",onClick:()=>Lt(!1),children:"Cancel"}),h.jsx("button",{className:"modal-button modal-button-primary",onClick:De,children:"Confirm Save As Copy"})]}),children:[h.jsx("p",{className:"modal-message",children:"You're about to save these changes as a new copy. Your original video will remain unchanged."}),h.jsx("p",{className:"modal-message",children:"A new copy of the video will be created with your trimmed segments."})]}),h.jsxs(Fu,{isOpen:Me,onClose:()=>{},title:"Processing Video",children:[h.jsx("div",{className:"modal-spinner",children:h.jsx("div",{className:"spinner"})}),h.jsx("p",{className:"modal-message text-center",children:"Please wait while your video is being processed..."})]}),h.jsxs(Fu,{isOpen:Kn,onClose:()=>un(!1),title:"Video Processed Successfully",children:[h.jsx("div",{className:"modal-success-icon",children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),h.jsx("polyline",{points:"22 4 12 14.01 9 11.01"})]})}),h.jsx("p",{className:"modal-message text-center",children:Pn}),h.jsxs("div",{className:"modal-choices",children:[h.jsxs("button",{className:"modal-choice-button",onClick:()=>{un(!1),window.location.reload()},children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("path",{d:"M3 2v6h6"}),h.jsx("path",{d:"M3 13a9 9 0 1 0 3-7.7L3 8"})]}),"Trim Another Video"]}),Nn&&h.jsxs("a",{href:Nn,className:"modal-choice-button",children:[h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:h.jsx("polygon",{points:"5 3 19 12 5 21 5 3"})}),"View Processed Video"]})]})]})]})]})]})},BS=({onSplit:_,onReset:D,onUndo:se,onRedo:ve,onPreview:te,onPlay:pe,canUndo:d,canRedo:Ae,isPreviewMode:ne=!1,isPlaying:$=!1})=>h.jsx("div",{className:"editing-tools-container",children:h.jsxs("div",{className:"flex-container",children:[h.jsx("div",{className:"button-group preview-group",children:h.jsx("button",{className:"button preview-button",onClick:te,"data-tooltip":ne?"Pause preview playback":"Play only segments (skips gaps between segments)",children:ne?h.jsxs(h.Fragment,{children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("circle",{cx:"12",cy:"12",r:"10"}),h.jsx("line",{x1:"10",y1:"15",x2:"10",y2:"9"}),h.jsx("line",{x1:"14",y1:"15",x2:"14",y2:"9"})]}),"Pause Preview"]}):h.jsxs(h.Fragment,{children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("circle",{cx:"12",cy:"12",r:"10"}),h.jsx("polygon",{points:"10 8 16 12 10 16 10 8"})]}),"Play Preview"]})})}),h.jsx("div",{className:"button-group center-play",children:h.jsx("button",{className:"button play-button",onClick:pe,"data-tooltip":$?"Pause video":"Play full video",children:$?h.jsxs(h.Fragment,{children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("circle",{cx:"12",cy:"12",r:"10"}),h.jsx("line",{x1:"10",y1:"15",x2:"10",y2:"9"}),h.jsx("line",{x1:"14",y1:"15",x2:"14",y2:"9"})]}),"Pause"]}):h.jsxs(h.Fragment,{children:[h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("circle",{cx:"12",cy:"12",r:"10"}),h.jsx("polygon",{points:"10 8 16 12 10 16 10 8"})]}),"Play"]})})}),h.jsxs("div",{className:"button-group secondary",children:[h.jsx("button",{className:"button","aria-label":"Undo","data-tooltip":"Undo last action",disabled:!d,onClick:se,children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("path",{d:"M9 14 4 9l5-5"}),h.jsx("path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11"})]})}),h.jsx("button",{className:"button","aria-label":"Redo","data-tooltip":"Redo last undone action",disabled:!Ae,onClick:ve,children:h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("path",{d:"m15 14 5-5-5-5"}),h.jsx("path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5v0A5.5 5.5 0 0 0 9.5 20H13"})]})}),h.jsx("div",{className:"divider"}),h.jsxs("button",{className:"button",onClick:D,"data-tooltip":"Reset to full video",children:[h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:h.jsx("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})}),"Reset"]})]})]})}),$S=({segments:_})=>{const D=[..._].sort((te,pe)=>te.startTime-pe.startTime),se=te=>{const pe=new CustomEvent("delete-segment",{detail:{segmentId:te}});document.dispatchEvent(pe)},ve=te=>`segment-default-color segment-color-${te%8+1}`;return h.jsxs("div",{className:"clip-segments-container",children:[h.jsx("h3",{className:"clip-segments-title",children:"Clip Segments"}),D.map((te,pe)=>h.jsxs("div",{className:`segment-item ${ve(pe)}`,children:[h.jsxs("div",{className:"segment-content",children:[h.jsx("div",{className:"segment-thumbnail",style:{backgroundImage:`url(${te.thumbnail})`}}),h.jsxs("div",{className:"segment-info",children:[h.jsxs("div",{className:"segment-title",children:["Segment ",pe+1]}),h.jsxs("div",{className:"segment-time",children:[Ha(te.startTime)," - ",Ha(te.endTime)]}),h.jsxs("div",{className:"segment-duration",children:["Duration: ",HS(te.endTime-te.startTime)]})]})]}),h.jsx("div",{className:"segment-actions",children:h.jsx("button",{className:"delete-button","aria-label":"Delete Segment","data-tooltip":"Delete this segment",onClick:()=>se(te.id),children:h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:h.jsx("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"})})})})]},te.id)),D.length===0&&h.jsx("div",{className:"empty-message",children:"No segments created yet. Use the split button to create segments."})]})},PS=()=>{const _=Be.useRef(null),[D,se]=Be.useState(0),[ve,te]=Be.useState(0),[pe,d]=Be.useState(!1),[Ae,ne]=Be.useState(!1),[$,Ie]=Be.useState(!1),[H,Te]=Be.useState(0),[G,Le]=Be.useState([]),[Oe,At]=Be.useState(0),[Mt,he]=Be.useState(0),[oe,et]=Be.useState([]),[ae,tt]=Be.useState(1),[ee,Ke]=Be.useState([]),[He,Ct]=Be.useState([]),[Je,ge]=Be.useState(-1);Be.useEffect(()=>{const N=_.current;if(!N)return;const De=()=>{te(N.duration),he(N.duration),(async()=>{const at=await Ch(N,N.duration/2),L={id:1,name:"segment",startTime:0,endTime:N.duration,thumbnail:at},J={trimStart:0,trimEnd:N.duration,splitPoints:[],clipSegments:[L]};Ct([J]),ge(0),Ke([L]);const z=6,ie=N.duration/z,W=[];for(let fe=0;fe<z;fe++){const je=ie*fe+ie/2,ke=await Ch(N,je);W.push(ke)}Le(W)})()},xe=()=>{se(N.currentTime)},me=()=>{$||d(!0)},Ye=()=>{$||d(!1)},ct=()=>{d(!1),N.currentTime=Oe};return N.addEventListener("loadedmetadata",De),N.addEventListener("timeupdate",xe),N.addEventListener("play",me),N.addEventListener("pause",Ye),N.addEventListener("ended",ct),()=>{N.removeEventListener("loadedmetadata",De),N.removeEventListener("timeupdate",xe),N.removeEventListener("play",me),N.removeEventListener("pause",Ye),N.removeEventListener("ended",ct)}},[$]);const Re=()=>{const N=_.current;N&&(pe?N.pause():(N.currentTime>=Mt&&(N.currentTime=Oe),N.play()))},Et=N=>{const De=_.current;De&&(De.currentTime=N,se(N))},nt=()=>{const N={trimStart:Oe,trimEnd:Mt,splitPoints:[...oe],clipSegments:[...ee]};if(Je<He.length-1){const De=He.slice(0,Je+1);Ct([...De,N])}else Ct([...He,N]);ge(Je+1)};return Be.useEffect(()=>{const N=me=>{me.detail&&me.detail.segments&&(Ke(me.detail.segments),nt())},De=async me=>{const Ye=me;if(Ye.detail&&typeof Ye.detail.time=="number"&&typeof Ye.detail.segmentId=="number"){const ct=Ye.detail.time,kt=Ye.detail.segmentId;Et(ct);const at=ee.find(W=>W.id===kt);if(!at||ct<=at.startTime||ct>=at.endTime)return;const L=[...ee],J=L.findIndex(W=>W.id===kt);if(J===-1)return;L.splice(J,1);const z={id:Date.now(),name:`${at.name}-A`,startTime:at.startTime,endTime:ct,thumbnail:""},ie={id:Date.now()+1,name:`${at.name}-B`,startTime:ct,endTime:at.endTime,thumbnail:""};L.push(z,ie),L.sort((W,fe)=>W.startTime-fe.startTime),Ke(L),nt()}},xe=async me=>{const Ye=me;if(Ye.detail&&typeof Ye.detail.segmentId=="number"){const ct=Ye.detail.segmentId,kt=ee.filter(at=>at.id!==ct);if(kt.length!==ee.length){if(kt.length===0&&_.current){const at={id:Date.now(),name:"segment",startTime:0,endTime:_.current.duration,thumbnail:""};At(0),he(_.current.duration),et([]),Ke([at])}else Ke(kt);nt()}}};return document.addEventListener("update-segments",N),document.addEventListener("split-segment",De),document.addEventListener("delete-segment",xe),()=>{document.removeEventListener("update-segments",N),document.removeEventListener("split-segment",De),document.removeEventListener("delete-segment",xe)}},[ee,ve]),Be.useEffect(()=>{if(!$||!_.current)return;const N=[...ee].sort((xe,me)=>xe.startTime-me.startTime),De=()=>{if(!$||!_.current)return;const xe=N[H];if(xe&&_.current.currentTime>=xe.endTime)if(H<N.length-1){const me=N[H+1];_.current.currentTime=me.startTime,Te(H+1)}else Ie(!1),_.current.pause()};return _.current.addEventListener("timeupdate",De),()=>{_.current&&_.current.removeEventListener("timeupdate",De)}},[$,H,ee]),{videoRef:_,currentTime:D,duration:ve,isPlaying:pe,isPreviewMode:$,thumbnails:G,trimStart:Oe,trimEnd:Mt,splitPoints:oe,zoomLevel:ae,clipSegments:ee,historyPosition:Je,history:He,isMuted:Ae,playPauseVideo:Re,seekVideo:Et,handleTrimStartChange:N=>{At(N),nt()},handleTrimEndChange:N=>{he(N),nt()},handleSplit:async()=>{if(_.current&&!oe.includes(D)){const N=[...oe,D].sort((me,Ye)=>me-Ye);et(N);const De=[];let xe=0;for(let me=0;me<=N.length;me++){const Ye=me<N.length?N[me]:ve;xe<Ye&&(De.push({id:Date.now()+me,name:`Segment ${me+1}`,startTime:xe,endTime:Ye,thumbnail:""}),xe=Ye)}Ke(De),nt()}},handleReset:async()=>{if(At(0),he(ve),et([]),!_.current)return;const N={id:Date.now(),name:"segment",startTime:0,endTime:ve,thumbnail:""};Ke([N]),nt()},handleUndo:()=>{if(Je>0){const N=He[Je-1];At(N.trimStart),he(N.trimEnd),et(N.splitPoints),Ke(N.clipSegments),ge(Je-1)}},handleRedo:()=>{if(Je<He.length-1){const N=He[Je+1];At(N.trimStart),he(N.trimEnd),et(N.splitPoints),Ke(N.clipSegments),ge(Je+1)}},handlePreview:()=>{const N=_.current;if(!N||ee.length===0)return;if($){Ie(!1),pe||N.pause();return}pe&&N.pause();const xe=[...ee].sort((me,Ye)=>me.startTime-Ye.startTime);Te(0),Ie(!0),N.currentTime=xe[0].startTime,N.play()},handlePlay:()=>{const N=_.current;if(N){if($){Ie(!1),d(!1),N.pause();return}pe?(N.pause(),d(!1)):(N.play().catch(De=>console.error("Error playing video:",De)),d(!0))}},handleZoomChange:N=>{tt(N)},toggleMute:()=>{const N=_.current;N&&(N.muted=!N.muted,ne(!Ae))},handleSave:()=>{const De={type:"save",segments:[...ee].sort((xe,me)=>xe.startTime-me.startTime).map(xe=>({startTime:ya(xe.startTime),endTime:ya(xe.endTime)}))};alert(JSON.stringify(De,null,2)),console.log("Save data:",De)},handleSaveACopy:()=>{const De={type:"save_as_a_copy",segments:[...ee].sort((xe,me)=>xe.startTime-me.startTime).map(xe=>({startTime:ya(xe.startTime),endTime:ya(xe.endTime)}))};alert(JSON.stringify(De,null,2)),console.log("Save as copy data:",De)}}},YS=()=>{const{videoRef:_,currentTime:D,duration:se,isPlaying:ve,isPreviewMode:te,isMuted:pe,thumbnails:d,trimStart:Ae,trimEnd:ne,splitPoints:$,zoomLevel:Ie,clipSegments:H,historyPosition:Te,history:G,playPauseVideo:Le,seekVideo:Oe,handleTrimStartChange:At,handleTrimEndChange:Mt,handleSplit:he,handleReset:oe,handleUndo:et,handleRedo:ae,handlePreview:tt,handlePlay:ee,handleZoomChange:Ke,toggleMute:He,handleSave:Ct,handleSaveACopy:Je}=PS();return h.jsx("div",{className:"bg-background min-h-screen",children:h.jsxs("div",{className:"container mx-auto px-4 py-6 max-w-6xl",children:[h.jsx(FS,{videoRef:_,currentTime:D,duration:se,isPlaying:ve,isMuted:pe,onPlayPause:Le,onSeek:Oe,onToggleMute:He}),h.jsx(BS,{onSplit:he,onReset:oe,onUndo:et,onRedo:ae,onPreview:tt,onPlay:ee,isPreviewMode:te,isPlaying:ve,canUndo:Te>0,canRedo:Te<G.length-1}),h.jsx(VS,{currentTime:D,duration:se,thumbnails:d,trimStart:Ae,trimEnd:ne,splitPoints:$,zoomLevel:Ie,clipSegments:H,onTrimStartChange:At,onTrimEndChange:Mt,onZoomChange:Ke,onSeek:Oe,videoRef:_,onSave:Ct,onSaveACopy:Je}),h.jsx($S,{segments:H})]})})};typeof window<"u"&&(window.MEDIA_DATA={videoUrl:""});const Th=()=>{const _=document.getElementById("video-editor-trim-root");_&&gh(_).render(h.jsx(YS,{}))};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Th):Th()})();
|
|
//# sourceMappingURL=video-editor.js.map
|