161 lines
362 KiB
JavaScript
161 lines
362 KiB
JavaScript
var rF=Object.create;var{getPrototypeOf:nF,defineProperty:RB,getOwnPropertyNames:tF}=Object;var eF=Object.prototype.hasOwnProperty;var k8=(c,Q1,h1)=>{h1=c!=null?rF(nF(c)):{};let $1=Q1||!c||!c.__esModule?RB(h1,"default",{value:c,enumerable:!0}):h1;for(let q of tF(c))if(!eF.call($1,q))RB($1,q,{get:()=>c[q],enumerable:!0});return $1};var m7=(c,Q1)=>()=>(Q1||c((Q1={exports:{}}).exports,Q1),Q1.exports);var EZ=m7((ZL,QG)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c="18.3.1",Q1=Symbol.for("react.element"),h1=Symbol.for("react.portal"),$1=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),F4=Symbol.for("react.profiler"),F0=Symbol.for("react.provider"),J0=Symbol.for("react.context"),K1=Symbol.for("react.forward_ref"),Y0=Symbol.for("react.suspense"),V0=Symbol.for("react.suspense_list"),a=Symbol.for("react.memo"),S0=Symbol.for("react.lazy"),d1=Symbol.for("react.offscreen"),L4=Symbol.iterator,m4="@@iterator";function F1(U){if(U===null||typeof U!=="object")return null;var M=L4&&U[L4]||U[m4];if(typeof M==="function")return M;return null}var z0={current:null},H1={transition:null},H0={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},G1={current:null},b0={},J4=null;function Y4(U){J4=U}b0.setExtraStackFrame=function(U){J4=U},b0.getCurrentStack=null,b0.getStackAddendum=function(){var U="";if(J4)U+=J4;var M=b0.getCurrentStack;if(M)U+=M()||"";return U};var z4=!1,l0=!1,N1=!1,q1=!1,k0=!1,C0={ReactCurrentDispatcher:z0,ReactCurrentBatchConfig:H1,ReactCurrentOwner:G1};C0.ReactDebugCurrentFrame=b0,C0.ReactCurrentActQueue=H0;function P1(U){{for(var M=arguments.length,w=new Array(M>1?M-1:0),S=1;S<M;S++)w[S-1]=arguments[S];R0("warn",U,w)}}function O0(U){{for(var M=arguments.length,w=new Array(M>1?M-1:0),S=1;S<M;S++)w[S-1]=arguments[S];R0("error",U,w)}}function R0(U,M,w){{var S=C0.ReactDebugCurrentFrame,f=S.getStackAddendum();if(f!=="")M+="%s",w=w.concat([f]);var B0=w.map(function(e){return String(e)});B0.unshift("Warning: "+M),Function.prototype.apply.call(console[U],console,B0)}}var G8={};function c4(U,M){{var w=U.constructor,S=w&&(w.displayName||w.name)||"ReactClass",f=S+"."+M;if(G8[f])return;O0("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.",M,S),G8[f]=!0}}var A8={isMounted:function(U){return!1},enqueueForceUpdate:function(U,M,w){c4(U,"forceUpdate")},enqueueReplaceState:function(U,M,w,S){c4(U,"replaceState")},enqueueSetState:function(U,M,w,S){c4(U,"setState")}},r0=Object.assign,R4={};Object.freeze(R4);function x1(U,M,w){this.props=U,this.context=M,this.refs=R4,this.updater=w||A8}x1.prototype.isReactComponent={},x1.prototype.setState=function(U,M){if(typeof U!=="object"&&typeof U!=="function"&&U!=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,U,M,"setState")},x1.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};{var T4={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)."]},F8=function(U,M){Object.defineProperty(x1.prototype,U,{get:function(){P1("%s(...) is deprecated in plain JavaScript React classes. %s",M[0],M[1]);return}})};for(var J8 in T4)if(T4.hasOwnProperty(J8))F8(J8,T4[J8])}function j1(){}j1.prototype=x1.prototype;function g1(U,M,w){this.props=U,this.context=M,this.refs=R4,this.updater=w||A8}var p0=g1.prototype=new j1;p0.constructor=g1,r0(p0,x1.prototype),p0.isPureReactComponent=!0;function r1(){var U={current:null};return Object.seal(U),U}var i4=Array.isArray;function L1(U){return i4(U)}function w4(U){{var M=typeof Symbol==="function"&&Symbol.toStringTag,w=M&&U[Symbol.toStringTag]||U.constructor.name||"Object";return w}}function I4(U){try{return D1(U),!1}catch(M){return!0}}function D1(U){return""+U}function M1(U){if(I4(U))return O0("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",w4(U)),D1(U)}function N4(U,M,w){var S=U.displayName;if(S)return S;var f=M.displayName||M.name||"";return f!==""?w+"("+f+")":w}function l4(U){return U.displayName||"Context"}function U1(U){if(U==null)return null;if(typeof U.tag==="number")O0("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;switch(U){case $1:return"Fragment";case h1:return"Portal";case F4:return"Profiler";case q:return"StrictMode";case Y0:return"Suspense";case V0:return"SuspenseList"}if(typeof U==="object")switch(U.$$typeof){case J0:var M=U;return l4(M)+".Consumer";case F0:var w=U;return l4(w._context)+".Provider";case K1:return N4(U,U.render,"ForwardRef");case a:var S=U.displayName||null;if(S!==null)return S;return U1(U.type)||"Memo";case S0:{var f=U,B0=f._payload,e=f._init;try{return U1(e(B0))}catch(_0){return null}}}return null}var p4=Object.prototype.hasOwnProperty,V4={key:!0,ref:!0,__self:!0,__source:!0},W4,K4,k1;k1={};function o4(U){if(p4.call(U,"ref")){var M=Object.getOwnPropertyDescriptor(U,"ref").get;if(M&&M.isReactWarning)return!1}return U.ref!==void 0}function y1(U){if(p4.call(U,"key")){var M=Object.getOwnPropertyDescriptor(U,"key").get;if(M&&M.isReactWarning)return!1}return U.key!==void 0}function E1(U,M){var w=function(){if(!W4)W4=!0,O0("%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)",M)};w.isReactWarning=!0,Object.defineProperty(U,"key",{get:w,configurable:!0})}function Y8(U,M){var w=function(){if(!K4)K4=!0,O0("%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)",M)};w.isReactWarning=!0,Object.defineProperty(U,"ref",{get:w,configurable:!0})}function z8(U){if(typeof U.ref==="string"&&G1.current&&U.__self&&G1.current.stateNode!==U.__self){var M=U1(G1.current.type);if(!k1[M])O0('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',M,U.ref),k1[M]=!0}}var W8=function(U,M,w,S,f,B0,e){var _0={$$typeof:Q1,type:U,key:M,ref:w,props:e,_owner:B0};if(_0._store={},Object.defineProperty(_0._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_0,"_self",{configurable:!1,enumerable:!1,writable:!1,value:S}),Object.defineProperty(_0,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze)Object.freeze(_0.props),Object.freeze(_0);return _0};function C1(U,M,w){var S,f={},B0=null,e=null,_0=null,x0=null;if(M!=null){if(o4(M))e=M.ref,z8(M);if(y1(M))M1(M.key),B0=""+M.key;_0=M.__self===void 0?null:M.__self,x0=M.__source===void 0?null:M.__source;for(S in M)if(p4.call(M,S)&&!V4.hasOwnProperty(S))f[S]=M[S]}var n0=arguments.length-2;if(n0===1)f.children=w;else if(n0>1){var Y1=Array(n0);for(var z1=0;z1<n0;z1++)Y1[z1]=arguments[z1+2];if(Object.freeze)Object.freeze(Y1);f.children=Y1}if(U&&U.defaultProps){var O1=U.defaultProps;for(S in O1)if(f[S]===void 0)f[S]=O1[S]}if(B0||e){var V1=typeof U==="function"?U.displayName||U.name||"Unknown":U;if(B0)E1(f,V1);if(e)Y8(f,V1)}return W8(U,B0,e,_0,x0,G1.current,f)}function i(U,M){var w=W8(U.type,M,U.ref,U._self,U._source,U._owner,U.props);return w}function Q0(U,M,w){if(U===null||U===void 0)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+U+".");var S,f=r0({},U.props),B0=U.key,e=U.ref,_0=U._self,x0=U._source,n0=U._owner;if(M!=null){if(o4(M))e=M.ref,n0=G1.current;if(y1(M))M1(M.key),B0=""+M.key;var Y1;if(U.type&&U.type.defaultProps)Y1=U.type.defaultProps;for(S in M)if(p4.call(M,S)&&!V4.hasOwnProperty(S))if(M[S]===void 0&&Y1!==void 0)f[S]=Y1[S];else f[S]=M[S]}var z1=arguments.length-2;if(z1===1)f.children=w;else if(z1>1){var O1=Array(z1);for(var V1=0;V1<z1;V1++)O1[V1]=arguments[V1+2];f.children=O1}return W8(U.type,B0,e,_0,x0,n0,f)}function K0(U){return typeof U==="object"&&U!==null&&U.$$typeof===Q1}var f0=".",s0=":";function R1(U){var M=/[=:]/g,w={"=":"=0",":":"=2"},S=U.replace(M,function(f){return w[f]});return"$"+S}var J1=!1,n1=/\/+/g;function T0(U){return U.replace(n1,"$&/")}function v0(U,M){if(typeof U==="object"&&U!==null&&U.key!=null)return M1(U.key),R1(""+U.key);return M.toString(36)}function K8(U,M,w,S,f){var B0=typeof U;if(B0==="undefined"||B0==="boolean")U=null;var e=!1;if(U===null)e=!0;else switch(B0){case"string":case"number":e=!0;break;case"object":switch(U.$$typeof){case Q1:case h1:e=!0}}if(e){var _0=U,x0=f(_0),n0=S===""?f0+v0(_0,0):S;if(L1(x0)){var Y1="";if(n0!=null)Y1=T0(n0)+"/";K8(x0,M,Y1,"",function(WG){return WG})}else if(x0!=null){if(K0(x0)){if(x0.key&&(!_0||_0.key!==x0.key))M1(x0.key);x0=i(x0,w+(x0.key&&(!_0||_0.key!==x0.key)?T0(""+x0.key)+"/":"")+n0)}M.push(x0)}return 1}var z1,O1,V1=0,c0=S===""?f0:S+s0;if(L1(U))for(var H9=0;H9<U.length;H9++)z1=U[H9],O1=c0+v0(z1,H9),V1+=K8(z1,M,w,O1,f);else{var a9=F1(U);if(typeof a9==="function"){var J6=U;if(a9===J6.entries){if(!J1)P1("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");J1=!0}var zG=a9.call(J6),K5,Y6=0;while(!(K5=zG.next()).done)z1=K5.value,O1=c0+v0(z1,Y6++),V1+=K8(z1,M,w,O1,f)}else if(B0==="object"){var z6=String(U);throw new Error("Objects are not valid as a React child (found: "+(z6==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":z6)+"). If you meant to render a collection of children, use an array instead.")}}return V1}function s4(U,M,w){if(U==null)return U;var S=[],f=0;return K8(U,S,"","",function(B0){return M.call(w,B0,f++)}),S}function q0(U){var M=0;return s4(U,function(){M++}),M}function h4(U,M,w){s4(U,function(){M.apply(this,arguments)},w)}function w0(U){return s4(U,function(M){return M})||[]}function L8(U){if(!K0(U))throw new Error("React.Children.only expected to receive a single React element child.");return U}function R8(U){var M={$$typeof:J0,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};M.Provider={$$typeof:F0,_context:M};var w=!1,S=!1,f=!1;{var B0={$$typeof:J0,_context:M};Object.defineProperties(B0,{Provider:{get:function(){if(!S)S=!0,O0("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");return M.Provider},set:function(e){M.Provider=e}},_currentValue:{get:function(){return M._currentValue},set:function(e){M._currentValue=e}},_currentValue2:{get:function(){return M._currentValue2},set:function(e){M._currentValue2=e}},_threadCount:{get:function(){return M._threadCount},set:function(e){M._threadCount=e}},Consumer:{get:function(){if(!w)w=!0,O0("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");return M.Consumer}},displayName:{get:function(){return M.displayName},set:function(e){if(!f)P1("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),f=!0}}}),M.Consumer=B0}return M._currentRenderer=null,M._currentRenderer2=null,M}var x4=-1,P=0,C=1,E=2;function T(U){if(U._status===x4){var M=U._result,w=M();if(w.then(function(B0){if(U._status===P||U._status===x4){var e=U;e._status=C,e._result=B0}},function(B0){if(U._status===P||U._status===x4){var e=U;e._status=E,e._result=B0}}),U._status===x4){var S=U;S._status=P,S._result=w}}if(U._status===C){var f=U._result;if(f===void 0)O0(`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?`,f);if(!("default"in f))O0(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
||
|
||
Your code should look like:
|
||
const MyComponent = lazy(() => import('./MyComponent'))`,f);return f.default}else throw U._result}function k(U){var M={_status:x4,_result:U},w={$$typeof:S0,_payload:M,_init:T};{var S,f;Object.defineProperties(w,{defaultProps:{configurable:!0,get:function(){return S},set:function(B0){O0("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."),S=B0,Object.defineProperty(w,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return f},set:function(B0){O0("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."),f=B0,Object.defineProperty(w,"propTypes",{enumerable:!0})}}})}return w}function H(U){{if(U!=null&&U.$$typeof===a)O0("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");else if(typeof U!=="function")O0("forwardRef requires a render function but was given %s.",U===null?"null":typeof U);else if(U.length!==0&&U.length!==2)O0("forwardRef render functions accept exactly two parameters: props and ref. %s",U.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined.");if(U!=null){if(U.defaultProps!=null||U.propTypes!=null)O0("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")}}var M={$$typeof:K1,render:U};{var w;Object.defineProperty(M,"displayName",{enumerable:!1,configurable:!0,get:function(){return w},set:function(S){if(w=S,!U.name&&!U.displayName)U.displayName=S}})}return M}var A=Symbol.for("react.module.reference");function D(U){if(typeof U==="string"||typeof U==="function")return!0;if(U===$1||U===F4||k0||U===q||U===Y0||U===V0||q1||U===d1||z4||l0||N1)return!0;if(typeof U==="object"&&U!==null){if(U.$$typeof===S0||U.$$typeof===a||U.$$typeof===F0||U.$$typeof===J0||U.$$typeof===K1||U.$$typeof===A||U.getModuleId!==void 0)return!0}return!1}function y(U,M){if(!D(U))O0("memo: The first argument must be a component. Instead received: %s",U===null?"null":typeof U);var w={$$typeof:a,type:U,compare:M===void 0?null:M};{var S;Object.defineProperty(w,"displayName",{enumerable:!1,configurable:!0,get:function(){return S},set:function(f){if(S=f,!U.name&&!U.displayName)U.displayName=f}})}return w}function v(){var U=z0.current;if(U===null)O0(`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.`);return U}function X0(U){var M=v();if(U._context!==void 0){var w=U._context;if(w.Consumer===U)O0("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");else if(w.Provider===U)O0("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return M.useContext(U)}function u(U){var M=v();return M.useState(U)}function g(U,M,w){var S=v();return S.useReducer(U,M,w)}function t(U){var M=v();return M.useRef(U)}function r(U,M){var w=v();return w.useEffect(U,M)}function M0(U,M){var w=v();return w.useInsertionEffect(U,M)}function A1(U,M){var w=v();return w.useLayoutEffect(U,M)}function a4(U,M){var w=v();return w.useCallback(U,M)}function C8(U,M){var w=v();return w.useMemo(U,M)}function t1(U,M,w){var S=v();return S.useImperativeHandle(U,M,w)}function C5(U,M){{var w=v();return w.useDebugValue(U,M)}}function l7(){var U=v();return U.useTransition()}function T8(U){var M=v();return M.useDeferredValue(U)}function h0(){var U=v();return U.useId()}function K9(U,M,w){var S=v();return S.useSyncExternalStore(U,M,w)}var T5=0,p7,o7,s7,a7,r7,n7,t7;function vZ(){}vZ.__reactDisabledLog=!0;function GG(){{if(T5===0){p7=console.log,o7=console.info,s7=console.warn,a7=console.error,r7=console.group,n7=console.groupCollapsed,t7=console.groupEnd;var U={configurable:!0,enumerable:!0,value:vZ,writable:!0};Object.defineProperties(console,{info:U,log:U,warn:U,error:U,group:U,groupCollapsed:U,groupEnd:U})}T5++}}function e7(){{if(T5--,T5===0){var U={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:r0({},U,{value:p7}),info:r0({},U,{value:o7}),warn:r0({},U,{value:s7}),error:r0({},U,{value:a7}),group:r0({},U,{value:r7}),groupCollapsed:r0({},U,{value:n7}),groupEnd:r0({},U,{value:t7})})}if(T5<0)O0("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U9=C0.ReactCurrentDispatcher,w8;function h5(U,M,w){{if(w8===void 0)try{throw Error()}catch(f){var S=f.stack.trim().match(/\n( *(at )?)/);w8=S&&S[1]||""}return`
|
||
`+w8+U}}var x5=!1,i9;{var Z6=typeof WeakMap==="function"?WeakMap:Map;i9=new Z6}function dZ(U,M){if(!U||x5)return"";{var w=i9.get(U);if(w!==void 0)return w}var S;x5=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B0;B0=U9.current,U9.current=null,GG();try{if(M){var e=function(){throw Error()};if(Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(c0){S=c0}Reflect.construct(U,[],e)}else{try{e.call()}catch(c0){S=c0}U.call(e.prototype)}}else{try{throw Error()}catch(c0){S=c0}U()}}catch(c0){if(c0&&S&&typeof c0.stack==="string"){var _0=c0.stack.split(`
|
||
`),x0=S.stack.split(`
|
||
`),n0=_0.length-1,Y1=x0.length-1;while(n0>=1&&Y1>=0&&_0[n0]!==x0[Y1])Y1--;for(;n0>=1&&Y1>=0;n0--,Y1--)if(_0[n0]!==x0[Y1]){if(n0!==1||Y1!==1)do if(n0--,Y1--,Y1<0||_0[n0]!==x0[Y1]){var z1=`
|
||
`+_0[n0].replace(" at new "," at ");if(U.displayName&&z1.includes("<anonymous>"))z1=z1.replace("<anonymous>",U.displayName);if(typeof U==="function")i9.set(U,z1);return z1}while(n0>=1&&Y1>=0);break}}}finally{x5=!1,U9.current=B0,e7(),Error.prepareStackTrace=f}var O1=U?U.displayName||U.name:"",V1=O1?h5(O1):"";if(typeof U==="function")i9.set(U,V1);return V1}function X6(U,M,w){return dZ(U,!1)}function JG(U){var M=U.prototype;return!!(M&&M.isReactComponent)}function g5(U,M,w){if(U==null)return"";if(typeof U==="function")return dZ(U,JG(U));if(typeof U==="string")return h5(U);switch(U){case Y0:return h5("Suspense");case V0:return h5("SuspenseList")}if(typeof U==="object")switch(U.$$typeof){case K1:return X6(U.render);case a:return g5(U.type,M,w);case S0:{var S=U,f=S._payload,B0=S._init;try{return g5(B0(f),M,w)}catch(e){}}}return""}var yZ={},Q6=C0.ReactDebugCurrentFrame;function l9(U){if(U){var M=U._owner,w=g5(U.type,U._source,M?M.type:null);Q6.setExtraStackFrame(w)}else Q6.setExtraStackFrame(null)}function mZ(U,M,w,S,f){{var B0=Function.call.bind(p4);for(var e in U)if(B0(U,e)){var _0=void 0;try{if(typeof U[e]!=="function"){var x0=Error((S||"React class")+": "+w+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof U[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x0.name="Invariant Violation",x0}_0=U[e](M,e,S,w,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(n0){_0=n0}if(_0&&!(_0 instanceof Error))l9(f),O0("%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).",S||"React class",w,e,typeof _0),l9(null);if(_0 instanceof Error&&!(_0.message in yZ))yZ[_0.message]=!0,l9(f),O0("Failed %s type: %s",w,_0.message),l9(null)}}}function d0(U){if(U){var M=U._owner,w=g5(U.type,U._source,M?M.type:null);Y4(w)}else Y4(null)}var cZ=!1;function G6(){if(G1.current){var U=U1(G1.current.type);if(U)return`
|
||
|
||
Check the render method of \``+U+"`."}return""}function I0(U){if(U!==void 0){var M=U.fileName.replace(/^.*[\\\/]/,""),w=U.lineNumber;return`
|
||
|
||
Check your code at `+M+":"+w+"."}return""}function iZ(U){if(U!==null&&U!==void 0)return I0(U.__source);return""}var S4={};function B9(U){var M=G6();if(!M){var w=typeof U==="string"?U:U.displayName||U.name;if(w)M=`
|
||
|
||
Check the top-level render call using <`+w+">."}return M}function E5(U,M){if(!U._store||U._store.validated||U.key!=null)return;U._store.validated=!0;var w=B9(M);if(S4[w])return;S4[w]=!0;var S="";if(U&&U._owner&&U._owner!==G1.current)S=" It was passed a child from "+U1(U._owner.type)+".";d0(U),O0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',w,S),d0(null)}function lZ(U,M){if(typeof U!=="object")return;if(L1(U))for(var w=0;w<U.length;w++){var S=U[w];if(K0(S))E5(S,M)}else if(K0(U)){if(U._store)U._store.validated=!0}else if(U){var f=F1(U);if(typeof f==="function"){if(f!==U.entries){var B0=f.call(U),e;while(!(e=B0.next()).done)if(K0(e.value))E5(e.value,M)}}}}function e1(U){{var M=U.type;if(M===null||M===void 0||typeof M==="string")return;var w;if(typeof M==="function")w=M.propTypes;else if(typeof M==="object"&&(M.$$typeof===K1||M.$$typeof===a))w=M.propTypes;else return;if(w){var S=U1(M);mZ(w,U.props,"prop",S,U)}else if(M.PropTypes!==void 0&&!cZ){cZ=!0;var f=U1(M);O0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}if(typeof M.getDefaultProps==="function"&&!M.getDefaultProps.isReactClassApproved)O0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function w1(U){{var M=Object.keys(U.props);for(var w=0;w<M.length;w++){var S=M[w];if(S!=="children"&&S!=="key"){d0(U),O0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S),d0(null);break}}if(U.ref!==null)d0(U),O0("Invalid attribute `ref` supplied to `React.Fragment`."),d0(null)}}function pZ(U,M,w){var S=D(U);if(!S){var f="";if(U===void 0||typeof U==="object"&&U!==null&&Object.keys(U).length===0)f+=" 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 B0=iZ(M);if(B0)f+=B0;else f+=G6();var e;if(U===null)e="null";else if(L1(U))e="array";else if(U!==void 0&&U.$$typeof===Q1)e="<"+(U1(U.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?";else e=typeof U;O0("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",e,f)}var _0=C1.apply(this,arguments);if(_0==null)return _0;if(S)for(var x0=2;x0<arguments.length;x0++)lZ(arguments[x0],U);if(U===$1)w1(_0);else e1(_0);return _0}var U8=!1;function r4(U){var M=pZ.bind(null,U);M.type=U;{if(!U8)U8=!0,P1("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");Object.defineProperty(M,"type",{enumerable:!1,get:function(){return P1("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:U}),U}})}return M}function o8(U,M,w){var S=Q0.apply(this,arguments);for(var f=2;f<arguments.length;f++)lZ(arguments[f],S.type);return e1(S),S}function YG(U,M){var w=H1.transition;H1.transition={};var S=H1.transition;H1.transition._updatedFibers=new Set;try{U()}finally{if(H1.transition=w,w===null&&S._updatedFibers){var f=S._updatedFibers.size;if(f>10)P1("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.");S._updatedFibers.clear()}}}var p9=!1,$9=null;function oZ(U){if($9===null)try{var M=("require"+Math.random()).slice(0,7),w=QG&&QG[M];$9=w.call(QG,"timers").setImmediate}catch(S){$9=function(f){if(p9===!1){if(p9=!0,typeof MessageChannel==="undefined")O0("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 B0=new MessageChannel;B0.port1.onmessage=f,B0.port2.postMessage(void 0)}}return $9(U)}var f5=0,sZ=!1;function aZ(U){{var M=f5;if(f5++,H0.current===null)H0.current=[];var w=H0.isBatchingLegacy,S;try{if(H0.isBatchingLegacy=!0,S=U(),!w&&H0.didScheduleLegacyUpdate){var f=H0.current;if(f!==null)H0.didScheduleLegacyUpdate=!1,s9(f)}}catch(O1){throw W5(M),O1}finally{H0.isBatchingLegacy=w}if(S!==null&&typeof S==="object"&&typeof S.then==="function"){var B0=S,e=!1,_0={then:function(O1,V1){e=!0,B0.then(function(c0){if(W5(M),f5===0)o9(c0,O1,V1);else O1(c0)},function(c0){W5(M),V1(c0)})}};if(!sZ&&typeof Promise!=="undefined")Promise.resolve().then(function(){}).then(function(){if(!e)sZ=!0,O0("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);")});return _0}else{var x0=S;if(W5(M),f5===0){var n0=H0.current;if(n0!==null)s9(n0),H0.current=null;var Y1={then:function(O1,V1){if(H0.current===null)H0.current=[],o9(x0,O1,V1);else O1(x0)}};return Y1}else{var z1={then:function(O1,V1){O1(x0)}};return z1}}}}function W5(U){{if(U!==f5-1)O0("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");f5=U}}function o9(U,M,w){{var S=H0.current;if(S!==null)try{s9(S),oZ(function(){if(S.length===0)H0.current=null,M(U);else o9(U,M,w)})}catch(f){w(f)}else M(U)}}var u5=!1;function s9(U){if(!u5){u5=!0;var M=0;try{for(;M<U.length;M++){var w=U[M];do w=w(!0);while(w!==null)}U.length=0}catch(S){throw U=U.slice(M+1),S}finally{u5=!1}}}var rZ=pZ,nZ=o8,tZ=r4,eZ={map:s4,forEach:h4,count:q0,toArray:w0,only:L8};if(ZL.Children=eZ,ZL.Component=x1,ZL.Fragment=$1,ZL.Profiler=F4,ZL.PureComponent=g1,ZL.StrictMode=q,ZL.Suspense=Y0,ZL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C0,ZL.act=aZ,ZL.cloneElement=nZ,ZL.createContext=R8,ZL.createElement=rZ,ZL.createFactory=tZ,ZL.createRef=r1,ZL.forwardRef=H,ZL.isValidElement=K0,ZL.lazy=k,ZL.memo=y,ZL.startTransition=YG,ZL.unstable_act=aZ,ZL.useCallback=a4,ZL.useContext=X0,ZL.useDebugValue=C5,ZL.useDeferredValue=T8,ZL.useEffect=r,ZL.useId=h0,ZL.useImperativeHandle=t1,ZL.useInsertionEffect=M0,ZL.useLayoutEffect=A1,ZL.useMemo=C8,ZL.useReducer=g,ZL.useRef=t,ZL.useState=u,ZL.useSyncExternalStore=K9,ZL.useTransition=l7,ZL.version=c,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var wB=m7((XL)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c=!1,Q1=!1,h1=5;function $1(i,Q0){var K0=i.length;i.push(Q0),F0(i,Q0,K0)}function q(i){return i.length===0?null:i[0]}function F4(i){if(i.length===0)return null;var Q0=i[0],K0=i.pop();if(K0!==Q0)i[0]=K0,J0(i,K0,0);return Q0}function F0(i,Q0,K0){var f0=K0;while(f0>0){var s0=f0-1>>>1,R1=i[s0];if(K1(R1,Q0)>0)i[s0]=Q0,i[f0]=R1,f0=s0;else return}}function J0(i,Q0,K0){var f0=K0,s0=i.length,R1=s0>>>1;while(f0<R1){var J1=(f0+1)*2-1,n1=i[J1],T0=J1+1,v0=i[T0];if(K1(n1,Q0)<0)if(T0<s0&&K1(v0,n1)<0)i[f0]=v0,i[T0]=Q0,f0=T0;else i[f0]=n1,i[J1]=Q0,f0=J1;else if(T0<s0&&K1(v0,Q0)<0)i[f0]=v0,i[T0]=Q0,f0=T0;else return}}function K1(i,Q0){var K0=i.sortIndex-Q0.sortIndex;return K0!==0?K0:i.id-Q0.id}var Y0=1,V0=2,a=3,S0=4,d1=5;function L4(i,Q0){}var m4=typeof performance==="object"&&typeof performance.now==="function";if(m4){var F1=performance;XL.unstable_now=function(){return F1.now()}}else{var z0=Date,H1=z0.now();XL.unstable_now=function(){return z0.now()-H1}}var H0=1073741823,G1=-1,b0=250,J4=5000,Y4=1e4,z4=H0,l0=[],N1=[],q1=1,k0=null,C0=a,P1=!1,O0=!1,R0=!1,G8=typeof setTimeout==="function"?setTimeout:null,c4=typeof clearTimeout==="function"?clearTimeout:null,A8=typeof setImmediate!=="undefined"?setImmediate:null,r0=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function R4(i){var Q0=q(N1);while(Q0!==null){if(Q0.callback===null)F4(N1);else if(Q0.startTime<=i)F4(N1),Q0.sortIndex=Q0.expirationTime,$1(l0,Q0);else return;Q0=q(N1)}}function x1(i){if(R0=!1,R4(i),!O0)if(q(l0)!==null)O0=!0,E1(T4);else{var Q0=q(N1);if(Q0!==null)Y8(x1,Q0.startTime-i)}}function T4(i,Q0){if(O0=!1,R0)R0=!1,z8();P1=!0;var K0=C0;try{if(Q1)try{return F8(i,Q0)}catch(s0){if(k0!==null){var f0=XL.unstable_now();L4(k0,f0),k0.isQueued=!1}throw s0}else return F8(i,Q0)}finally{k0=null,C0=K0,P1=!1}}function F8(i,Q0){var K0=Q0;R4(K0),k0=q(l0);while(k0!==null&&!c){if(k0.expirationTime>K0&&(!i||p4()))break;var f0=k0.callback;if(typeof f0==="function"){k0.callback=null,C0=k0.priorityLevel;var s0=k0.expirationTime<=K0,R1=f0(s0);if(K0=XL.unstable_now(),typeof R1==="function")k0.callback=R1;else if(k0===q(l0))F4(l0);R4(K0)}else F4(l0);k0=q(l0)}if(k0!==null)return!0;else{var J1=q(N1);if(J1!==null)Y8(x1,J1.startTime-K0);return!1}}function J8(i,Q0){switch(i){case Y0:case V0:case a:case S0:case d1:break;default:i=a}var K0=C0;C0=i;try{return Q0()}finally{C0=K0}}function j1(i){var Q0;switch(C0){case Y0:case V0:case a:Q0=a;break;default:Q0=C0;break}var K0=C0;C0=Q0;try{return i()}finally{C0=K0}}function g1(i){var Q0=C0;return function(){var K0=C0;C0=Q0;try{return i.apply(this,arguments)}finally{C0=K0}}}function p0(i,Q0,K0){var f0=XL.unstable_now(),s0;if(typeof K0==="object"&&K0!==null){var R1=K0.delay;if(typeof R1==="number"&&R1>0)s0=f0+R1;else s0=f0}else s0=f0;var J1;switch(i){case Y0:J1=G1;break;case V0:J1=b0;break;case d1:J1=z4;break;case S0:J1=Y4;break;case a:default:J1=J4;break}var n1=s0+J1,T0={id:q1++,callback:Q0,priorityLevel:i,startTime:s0,expirationTime:n1,sortIndex:-1};if(s0>f0){if(T0.sortIndex=s0,$1(N1,T0),q(l0)===null&&T0===q(N1)){if(R0)z8();else R0=!0;Y8(x1,s0-f0)}}else if(T0.sortIndex=n1,$1(l0,T0),!O0&&!P1)O0=!0,E1(T4);return T0}function r1(){}function i4(){if(!O0&&!P1)O0=!0,E1(T4)}function L1(){return q(l0)}function w4(i){i.callback=null}function I4(){return C0}var D1=!1,M1=null,N4=-1,l4=h1,U1=-1;function p4(){var i=XL.unstable_now()-U1;if(i<l4)return!1;return!0}function V4(){}function W4(i){if(i<0||i>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(i>0)l4=Math.floor(1000/i);else l4=h1}var K4=function(){if(M1!==null){var i=XL.unstable_now();U1=i;var Q0=!0,K0=!0;try{K0=M1(Q0,i)}finally{if(K0)k1();else D1=!1,M1=null}}else D1=!1},k1;if(typeof A8==="function")k1=function(){A8(K4)};else if(typeof MessageChannel!=="undefined"){var o4=new MessageChannel,y1=o4.port2;o4.port1.onmessage=K4,k1=function(){y1.postMessage(null)}}else k1=function(){G8(K4,0)};function E1(i){if(M1=i,!D1)D1=!0,k1()}function Y8(i,Q0){N4=G8(function(){i(XL.unstable_now())},Q0)}function z8(){c4(N4),N4=-1}var W8=V4,C1=null;if(XL.unstable_IdlePriority=d1,XL.unstable_ImmediatePriority=Y0,XL.unstable_LowPriority=S0,XL.unstable_NormalPriority=a,XL.unstable_Profiling=C1,XL.unstable_UserBlockingPriority=V0,XL.unstable_cancelCallback=w4,XL.unstable_continueExecution=i4,XL.unstable_forceFrameRate=W4,XL.unstable_getCurrentPriorityLevel=I4,XL.unstable_getFirstCallbackNode=L1,XL.unstable_next=j1,XL.unstable_pauseExecution=r1,XL.unstable_requestPaint=W8,XL.unstable_runWithPriority=J8,XL.unstable_scheduleCallback=p0,XL.unstable_shouldYield=p4,XL.unstable_wrapCallback=g1,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var IB=m7((QL)=>{var fZ=k8(EZ(),1),X1=k8(wB(),1);(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var c=fZ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q1=!1;function h1(Z){Q1=Z}function $1(Z){if(!Q1){for(var X=arguments.length,Q=new Array(X>1?X-1:0),G=1;G<X;G++)Q[G-1]=arguments[G];F4("warn",Z,Q)}}function q(Z){if(!Q1){for(var X=arguments.length,Q=new Array(X>1?X-1:0),G=1;G<X;G++)Q[G-1]=arguments[G];F4("error",Z,Q)}}function F4(Z,X,Q){{var G=c.ReactDebugCurrentFrame,J=G.getStackAddendum();if(J!=="")X+="%s",Q=Q.concat([J]);var Y=Q.map(function(z){return String(z)});Y.unshift("Warning: "+X),Function.prototype.apply.call(console[Z],console,Y)}}var F0=0,J0=1,K1=2,Y0=3,V0=4,a=5,S0=6,d1=7,L4=8,m4=9,F1=10,z0=11,H1=12,H0=13,G1=14,b0=15,J4=16,Y4=17,z4=18,l0=19,N1=21,q1=22,k0=23,C0=24,P1=25,O0=!0,R0=!1,G8=!1,c4=!1,A8=!1,r0=!0,R4=!1,x1=!0,T4=!0,F8=!0,J8=!0,j1=new Set,g1={},p0={};function r1(Z,X){i4(Z,X),i4(Z+"Capture",X)}function i4(Z,X){if(g1[Z])q("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z);g1[Z]=X;{var Q=Z.toLowerCase();if(p0[Q]=Z,Z==="onDoubleClick")p0.ondblclick=Z}for(var G=0;G<X.length;G++)j1.add(X[G])}var L1=typeof window!=="undefined"&&typeof window.document!=="undefined"&&typeof window.document.createElement!=="undefined",w4=Object.prototype.hasOwnProperty;function I4(Z){{var X=typeof Symbol==="function"&&Symbol.toStringTag,Q=X&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Q}}function D1(Z){try{return M1(Z),!1}catch(X){return!0}}function M1(Z){return""+Z}function N4(Z,X){if(D1(Z))return q("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",X,I4(Z)),M1(Z)}function l4(Z){if(D1(Z))return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",I4(Z)),M1(Z)}function U1(Z,X){if(D1(Z))return q("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",X,I4(Z)),M1(Z)}function p4(Z,X){if(D1(Z))return q("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",X,I4(Z)),M1(Z)}function V4(Z){if(D1(Z))return q("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",I4(Z)),M1(Z)}function W4(Z){if(D1(Z))return q("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.",I4(Z)),M1(Z)}var K4=0,k1=1,o4=2,y1=3,E1=4,Y8=5,z8=6,W8=":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",C1=W8+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i=new RegExp("^["+W8+"]["+C1+"]*$"),Q0={},K0={};function f0(Z){if(w4.call(K0,Z))return!0;if(w4.call(Q0,Z))return!1;if(i.test(Z))return K0[Z]=!0,!0;return Q0[Z]=!0,q("Invalid attribute name: `%s`",Z),!1}function s0(Z,X,Q){if(X!==null)return X.type===K4;if(Q)return!1;if(Z.length>2&&(Z[0]==="o"||Z[0]==="O")&&(Z[1]==="n"||Z[1]==="N"))return!0;return!1}function R1(Z,X,Q,G){if(Q!==null&&Q.type===K4)return!1;switch(typeof X){case"function":case"symbol":return!0;case"boolean":{if(G)return!1;if(Q!==null)return!Q.acceptsBooleans;else{var J=Z.toLowerCase().slice(0,5);return J!=="data-"&&J!=="aria-"}}default:return!1}}function J1(Z,X,Q,G){if(X===null||typeof X==="undefined")return!0;if(R1(Z,X,Q,G))return!0;if(G)return!1;if(Q!==null)switch(Q.type){case y1:return!X;case E1:return X===!1;case Y8:return isNaN(X);case z8:return isNaN(X)||X<1}return!1}function n1(Z){return v0.hasOwnProperty(Z)?v0[Z]:null}function T0(Z,X,Q,G,J,Y,z){this.acceptsBooleans=X===o4||X===y1||X===E1,this.attributeName=G,this.attributeNamespace=J,this.mustUseProperty=Q,this.propertyName=Z,this.type=X,this.sanitizeURL=Y,this.removeEmptyString=z}var v0={},K8=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];K8.forEach(function(Z){v0[Z]=new T0(Z,K4,!1,Z,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(Z){var X=Z[0],Q=Z[1];v0[X]=new T0(X,k1,!1,Q,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(Z){v0[Z]=new T0(Z,o4,!1,Z.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(Z){v0[Z]=new T0(Z,o4,!1,Z,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(Z){v0[Z]=new T0(Z,y1,!1,Z.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(Z){v0[Z]=new T0(Z,y1,!0,Z,null,!1,!1)}),["capture","download"].forEach(function(Z){v0[Z]=new T0(Z,E1,!1,Z,null,!1,!1)}),["cols","rows","size","span"].forEach(function(Z){v0[Z]=new T0(Z,z8,!1,Z,null,!1,!1)}),["rowSpan","start"].forEach(function(Z){v0[Z]=new T0(Z,Y8,!1,Z.toLowerCase(),null,!1,!1)});var s4=/[\-\:]([a-z])/g,q0=function(Z){return Z[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(Z){var X=Z.replace(s4,q0);v0[X]=new T0(X,k1,!1,Z,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(Z){var X=Z.replace(s4,q0);v0[X]=new T0(X,k1,!1,Z,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(Z){var X=Z.replace(s4,q0);v0[X]=new T0(X,k1,!1,Z,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(Z){v0[Z]=new T0(Z,k1,!1,Z.toLowerCase(),null,!1,!1)});var h4="xlinkHref";v0[h4]=new T0("xlinkHref",k1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(Z){v0[Z]=new T0(Z,k1,!1,Z.toLowerCase(),null,!0,!0)});var w0=/^[\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,L8=!1;function R8(Z){if(!L8&&w0.test(Z))L8=!0,q("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(Z))}function x4(Z,X,Q,G){if(G.mustUseProperty){var J=G.propertyName;return Z[J]}else{if(N4(Q,X),G.sanitizeURL)R8(""+Q);var Y=G.attributeName,z=null;if(G.type===E1){if(Z.hasAttribute(Y)){var W=Z.getAttribute(Y);if(W==="")return!0;if(J1(X,Q,G,!1))return W;if(W===""+Q)return Q;return W}}else if(Z.hasAttribute(Y)){if(J1(X,Q,G,!1))return Z.getAttribute(Y);if(G.type===y1)return Q;z=Z.getAttribute(Y)}if(J1(X,Q,G,!1))return z===null?Q:z;else if(z===""+Q)return Q;else return z}}function P(Z,X,Q,G){{if(!f0(X))return;if(!Z.hasAttribute(X))return Q===void 0?void 0:null;var J=Z.getAttribute(X);if(N4(Q,X),J===""+Q)return Q;return J}}function C(Z,X,Q,G){var J=n1(X);if(s0(X,J,G))return;if(J1(X,Q,J,G))Q=null;if(G||J===null){if(f0(X)){var Y=X;if(Q===null)Z.removeAttribute(Y);else N4(Q,X),Z.setAttribute(Y,""+Q)}return}var z=J.mustUseProperty;if(z){var W=J.propertyName;if(Q===null){var K=J.type;Z[W]=K===y1?!1:""}else Z[W]=Q;return}var{attributeName:B,attributeNamespace:$}=J;if(Q===null)Z.removeAttribute(B);else{var _=J.type,O;if(_===y1||_===E1&&Q===!0)O="";else if(N4(Q,B),O=""+Q,J.sanitizeURL)R8(O.toString());if($)Z.setAttributeNS($,B,O);else Z.setAttribute(B,O)}}var E=Symbol.for("react.element"),T=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),y=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),X0=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),t=Symbol.for("react.lazy"),r=Symbol.for("react.scope"),M0=Symbol.for("react.debug_trace_mode"),A1=Symbol.for("react.offscreen"),a4=Symbol.for("react.legacy_hidden"),C8=Symbol.for("react.cache"),t1=Symbol.for("react.tracing_marker"),C5=Symbol.iterator,l7="@@iterator";function T8(Z){if(Z===null||typeof Z!=="object")return null;var X=C5&&Z[C5]||Z[l7];if(typeof X==="function")return X;return null}var h0=Object.assign,K9=0,T5,p7,o7,s7,a7,r7,n7;function t7(){}t7.__reactDisabledLog=!0;function vZ(){{if(K9===0){T5=console.log,p7=console.info,o7=console.warn,s7=console.error,a7=console.group,r7=console.groupCollapsed,n7=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:t7,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}K9++}}function GG(){{if(K9--,K9===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:h0({},Z,{value:T5}),info:h0({},Z,{value:p7}),warn:h0({},Z,{value:o7}),error:h0({},Z,{value:s7}),group:h0({},Z,{value:a7}),groupCollapsed:h0({},Z,{value:r7}),groupEnd:h0({},Z,{value:n7})})}if(K9<0)q("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var e7=c.ReactCurrentDispatcher,U9;function w8(Z,X,Q){{if(U9===void 0)try{throw Error()}catch(J){var G=J.stack.trim().match(/\n( *(at )?)/);U9=G&&G[1]||""}return`
|
||
`+U9+Z}}var h5=!1,x5;{var i9=typeof WeakMap==="function"?WeakMap:Map;x5=new i9}function Z6(Z,X){if(!Z||h5)return"";{var Q=x5.get(Z);if(Q!==void 0)return Q}var G;h5=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Y;Y=e7.current,e7.current=null,vZ();try{if(X){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(N){G=N}Reflect.construct(Z,[],z)}else{try{z.call()}catch(N){G=N}Z.call(z.prototype)}}else{try{throw Error()}catch(N){G=N}Z()}}catch(N){if(N&&G&&typeof N.stack==="string"){var W=N.stack.split(`
|
||
`),K=G.stack.split(`
|
||
`),B=W.length-1,$=K.length-1;while(B>=1&&$>=0&&W[B]!==K[$])$--;for(;B>=1&&$>=0;B--,$--)if(W[B]!==K[$]){if(B!==1||$!==1)do if(B--,$--,$<0||W[B]!==K[$]){var _=`
|
||
`+W[B].replace(" at new "," at ");if(Z.displayName&&_.includes("<anonymous>"))_=_.replace("<anonymous>",Z.displayName);if(typeof Z==="function")x5.set(Z,_);return _}while(B>=1&&$>=0);break}}}finally{h5=!1,e7.current=Y,GG(),Error.prepareStackTrace=J}var O=Z?Z.displayName||Z.name:"",I=O?w8(O):"";if(typeof Z==="function")x5.set(Z,I);return I}function dZ(Z,X,Q){return Z6(Z,!0)}function X6(Z,X,Q){return Z6(Z,!1)}function JG(Z){var X=Z.prototype;return!!(X&&X.isReactComponent)}function g5(Z,X,Q){if(Z==null)return"";if(typeof Z==="function")return Z6(Z,JG(Z));if(typeof Z==="string")return w8(Z);switch(Z){case X0:return w8("Suspense");case u:return w8("SuspenseList")}if(typeof Z==="object")switch(Z.$$typeof){case v:return X6(Z.render);case g:return g5(Z.type,X,Q);case t:{var G=Z,J=G._payload,Y=G._init;try{return g5(Y(J),X,Q)}catch(z){}}}return""}function yZ(Z){var X=Z._debugOwner?Z._debugOwner.type:null,Q=Z._debugSource;switch(Z.tag){case a:return w8(Z.type);case J4:return w8("Lazy");case H0:return w8("Suspense");case l0:return w8("SuspenseList");case F0:case K1:case b0:return X6(Z.type);case z0:return X6(Z.type.render);case J0:return dZ(Z.type);default:return""}}function Q6(Z){try{var X="",Q=Z;do X+=yZ(Q),Q=Q.return;while(Q);return X}catch(G){return`
|
||
Error generating stack: `+G.message+`
|
||
`+G.stack}}function l9(Z,X,Q){var G=Z.displayName;if(G)return G;var J=X.displayName||X.name||"";return J!==""?Q+"("+J+")":Q}function mZ(Z){return Z.displayName||"Context"}function d0(Z){if(Z==null)return null;if(typeof Z.tag==="number")q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case k:return"Fragment";case T:return"Portal";case A:return"Profiler";case H:return"StrictMode";case X0:return"Suspense";case u:return"SuspenseList"}if(typeof Z==="object")switch(Z.$$typeof){case y:var X=Z;return mZ(X)+".Consumer";case D:var Q=Z;return mZ(Q._context)+".Provider";case v:return l9(Z,Z.render,"ForwardRef");case g:var G=Z.displayName||null;if(G!==null)return G;return d0(Z.type)||"Memo";case t:{var J=Z,Y=J._payload,z=J._init;try{return d0(z(Y))}catch(W){return null}}}return null}function cZ(Z,X,Q){var G=X.displayName||X.name||"";return Z.displayName||(G!==""?Q+"("+G+")":Q)}function G6(Z){return Z.displayName||"Context"}function I0(Z){var{tag:X,type:Q}=Z;switch(X){case C0:return"Cache";case m4:var G=Q;return G6(G)+".Consumer";case F1:var J=Q;return G6(J._context)+".Provider";case z4:return"DehydratedFragment";case z0:return cZ(Q,Q.render,"ForwardRef");case d1:return"Fragment";case a:return Q;case V0:return"Portal";case Y0:return"Root";case S0:return"Text";case J4:return d0(Q);case L4:if(Q===H)return"StrictMode";return"Mode";case q1:return"Offscreen";case H1:return"Profiler";case N1:return"Scope";case H0:return"Suspense";case l0:return"SuspenseList";case P1:return"TracingMarker";case J0:case F0:case Y4:case K1:case G1:case b0:if(typeof Q==="function")return Q.displayName||Q.name||null;if(typeof Q==="string")return Q;break}return null}var iZ=c.ReactDebugCurrentFrame,S4=null,B9=!1;function E5(){{if(S4===null)return null;var Z=S4._debugOwner;if(Z!==null&&typeof Z!=="undefined")return I0(Z)}return null}function lZ(){{if(S4===null)return"";return Q6(S4)}}function e1(){iZ.getCurrentStack=null,S4=null,B9=!1}function w1(Z){iZ.getCurrentStack=Z===null?null:lZ,S4=Z,B9=!1}function pZ(){return S4}function U8(Z){B9=Z}function r4(Z){return""+Z}function o8(Z){switch(typeof Z){case"boolean":case"number":case"string":case"undefined":return Z;case"object":return W4(Z),Z;default:return""}}var YG={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function p9(Z,X){{if(!(YG[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null))q("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`.");if(!(X.onChange||X.readOnly||X.disabled||X.checked==null))q("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 $9(Z){var{type:X,nodeName:Q}=Z;return Q&&Q.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function oZ(Z){return Z._valueTracker}function f5(Z){Z._valueTracker=null}function sZ(Z){var X="";if(!Z)return X;if($9(Z))X=Z.checked?"true":"false";else X=Z.value;return X}function aZ(Z){var X=$9(Z)?"checked":"value",Q=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);W4(Z[X]);var G=""+Z[X];if(Z.hasOwnProperty(X)||typeof Q==="undefined"||typeof Q.get!=="function"||typeof Q.set!=="function")return;var{get:J,set:Y}=Q;Object.defineProperty(Z,X,{configurable:!0,get:function(){return J.call(this)},set:function(W){W4(W),G=""+W,Y.call(this,W)}}),Object.defineProperty(Z,X,{enumerable:Q.enumerable});var z={getValue:function(){return G},setValue:function(W){W4(W),G=""+W},stopTracking:function(){f5(Z),delete Z[X]}};return z}function W5(Z){if(oZ(Z))return;Z._valueTracker=aZ(Z)}function o9(Z){if(!Z)return!1;var X=oZ(Z);if(!X)return!0;var Q=X.getValue(),G=sZ(Z);if(G!==Q)return X.setValue(G),!0;return!1}function u5(Z){if(Z=Z||(typeof document!=="undefined"?document:void 0),typeof Z==="undefined")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}var s9=!1,rZ=!1,nZ=!1,tZ=!1;function eZ(Z){var X=Z.type==="checkbox"||Z.type==="radio";return X?Z.checked!=null:Z.value!=null}function U(Z,X){var Q=Z,G=X.checked,J=h0({},X,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:G!=null?G:Q._wrapperState.initialChecked});return J}function M(Z,X){{if(p9("input",X),X.checked!==void 0&&X.defaultChecked!==void 0&&!rZ)q("%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",E5()||"A component",X.type),rZ=!0;if(X.value!==void 0&&X.defaultValue!==void 0&&!s9)q("%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",E5()||"A component",X.type),s9=!0}var Q=Z,G=X.defaultValue==null?"":X.defaultValue;Q._wrapperState={initialChecked:X.checked!=null?X.checked:X.defaultChecked,initialValue:o8(X.value!=null?X.value:G),controlled:eZ(X)}}function w(Z,X){var Q=Z,G=X.checked;if(G!=null)C(Q,"checked",G,!1)}function S(Z,X){var Q=Z;{var G=eZ(X);if(!Q._wrapperState.controlled&&G&&!tZ)q("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"),tZ=!0;if(Q._wrapperState.controlled&&!G&&!nZ)q("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"),nZ=!0}w(Z,X);var J=o8(X.value),Y=X.type;if(J!=null){if(Y==="number"){if(J===0&&Q.value===""||Q.value!=J)Q.value=r4(J)}else if(Q.value!==r4(J))Q.value=r4(J)}else if(Y==="submit"||Y==="reset"){Q.removeAttribute("value");return}if(X.hasOwnProperty("value"))_0(Q,X.type,J);else if(X.hasOwnProperty("defaultValue"))_0(Q,X.type,o8(X.defaultValue));if(X.checked==null&&X.defaultChecked!=null)Q.defaultChecked=!!X.defaultChecked}function f(Z,X,Q){var G=Z;if(X.hasOwnProperty("value")||X.hasOwnProperty("defaultValue")){var J=X.type,Y=J==="submit"||J==="reset";if(Y&&(X.value===void 0||X.value===null))return;var z=r4(G._wrapperState.initialValue);if(!Q){if(z!==G.value)G.value=z}G.defaultValue=z}var W=G.name;if(W!=="")G.name="";if(G.defaultChecked=!G.defaultChecked,G.defaultChecked=!!G._wrapperState.initialChecked,W!=="")G.name=W}function B0(Z,X){var Q=Z;S(Q,X),e(Q,X)}function e(Z,X){var Q=X.name;if(X.type==="radio"&&Q!=null){var G=Z;while(G.parentNode)G=G.parentNode;N4(Q,"name");var J=G.querySelectorAll("input[name="+JSON.stringify(""+Q)+'][type="radio"]');for(var Y=0;Y<J.length;Y++){var z=J[Y];if(z===Z||z.form!==Z.form)continue;var W=dX(z);if(!W)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");o9(z),S(z,W)}}}function _0(Z,X,Q){if(X!=="number"||u5(Z.ownerDocument)!==Z){if(Q==null)Z.defaultValue=r4(Z._wrapperState.initialValue);else if(Z.defaultValue!==r4(Q))Z.defaultValue=r4(Q)}}var x0=!1,n0=!1,Y1=!1;function z1(Z,X){{if(X.value==null){if(typeof X.children==="object"&&X.children!==null)fZ.Children.forEach(X.children,function(Q){if(Q==null)return;if(typeof Q==="string"||typeof Q==="number")return;if(!n0)n0=!0,q("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")});else if(X.dangerouslySetInnerHTML!=null){if(!Y1)Y1=!0,q("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")}}if(X.selected!=null&&!x0)q("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),x0=!0}}function O1(Z,X){if(X.value!=null)Z.setAttribute("value",r4(o8(X.value)))}var V1=Array.isArray;function c0(Z){return V1(Z)}var H9=!1;function a9(){var Z=E5();if(Z)return`
|
||
|
||
Check the render method of \``+Z+"`.";return""}var J6=["value","defaultValue"];function zG(Z){{p9("select",Z);for(var X=0;X<J6.length;X++){var Q=J6[X];if(Z[Q]==null)continue;var G=c0(Z[Q]);if(Z.multiple&&!G)q("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,a9());else if(!Z.multiple&&G)q("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,a9())}}}function K5(Z,X,Q,G){var J=Z.options;if(X){var Y=Q,z={};for(var W=0;W<Y.length;W++)z["$"+Y[W]]=!0;for(var K=0;K<J.length;K++){var B=z.hasOwnProperty("$"+J[K].value);if(J[K].selected!==B)J[K].selected=B;if(B&&G)J[K].defaultSelected=!0}}else{var $=r4(o8(Q)),_=null;for(var O=0;O<J.length;O++){if(J[O].value===$){if(J[O].selected=!0,G)J[O].defaultSelected=!0;return}if(_===null&&!J[O].disabled)_=J[O]}if(_!==null)_.selected=!0}}function Y6(Z,X){return h0({},X,{value:void 0})}function z6(Z,X){var Q=Z;if(zG(X),Q._wrapperState={wasMultiple:!!X.multiple},X.value!==void 0&&X.defaultValue!==void 0&&!H9)q("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"),H9=!0}function WG(Z,X){var Q=Z;Q.multiple=!!X.multiple;var G=X.value;if(G!=null)K5(Q,!!X.multiple,G,!1);else if(X.defaultValue!=null)K5(Q,!!X.multiple,X.defaultValue,!0)}function kB(Z,X){var Q=Z,G=Q._wrapperState.wasMultiple;Q._wrapperState.wasMultiple=!!X.multiple;var J=X.value;if(J!=null)K5(Q,!!X.multiple,J,!1);else if(G!==!!X.multiple)if(X.defaultValue!=null)K5(Q,!!X.multiple,X.defaultValue,!0);else K5(Q,!!X.multiple,X.multiple?[]:"",!1)}function CB(Z,X){var Q=Z,G=X.value;if(G!=null)K5(Q,!!X.multiple,G,!1)}var Hz=!1;function KG(Z,X){var Q=Z;if(X.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var G=h0({},X,{value:void 0,defaultValue:void 0,children:r4(Q._wrapperState.initialValue)});return G}function qz(Z,X){var Q=Z;if(p9("textarea",X),X.value!==void 0&&X.defaultValue!==void 0&&!Hz)q("%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",E5()||"A component"),Hz=!0;var G=X.value;if(G==null){var{children:J,defaultValue:Y}=X;if(J!=null){q("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(Y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(c0(J)){if(J.length>1)throw new Error("<textarea> can only have at most one child.");J=J[0]}Y=J}}if(Y==null)Y="";G=Y}Q._wrapperState={initialValue:o8(G)}}function Mz(Z,X){var Q=Z,G=o8(X.value),J=o8(X.defaultValue);if(G!=null){var Y=r4(G);if(Y!==Q.value)Q.value=Y;if(X.defaultValue==null&&Q.defaultValue!==Y)Q.defaultValue=Y}if(J!=null)Q.defaultValue=r4(J)}function Oz(Z,X){var Q=Z,G=Q.textContent;if(G===Q._wrapperState.initialValue){if(G!==""&&G!==null)Q.value=G}}function TB(Z,X){Mz(Z,X)}var U5="http://www.w3.org/1999/xhtml",hB="http://www.w3.org/1998/Math/MathML",UG="http://www.w3.org/2000/svg";function BG(Z){switch(Z){case"svg":return UG;case"math":return hB;default:return U5}}function $G(Z,X){if(Z==null||Z===U5)return BG(X);if(Z===UG&&X==="foreignObject")return U5;return Z}var xB=function(Z){if(typeof MSApp!=="undefined"&&MSApp.execUnsafeLocalFunction)return function(X,Q,G,J){MSApp.execUnsafeLocalFunction(function(){return Z(X,Q,G,J)})};else return Z},ZX,_z=xB(function(Z,X){if(Z.namespaceURI===UG){if(!("innerHTML"in Z)){ZX=ZX||document.createElement("div"),ZX.innerHTML="<svg>"+X.valueOf().toString()+"</svg>";var Q=ZX.firstChild;while(Z.firstChild)Z.removeChild(Z.firstChild);while(Q.firstChild)Z.appendChild(Q.firstChild);return}}Z.innerHTML=X}),n4=1,B5=3,f1=8,$5=9,HG=11,XX=function(Z,X){if(X){var Q=Z.firstChild;if(Q&&Q===Z.lastChild&&Q.nodeType===B5){Q.nodeValue=X;return}}Z.textContent=X},gB={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"]},W6={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 EB(Z,X){return Z+X.charAt(0).toUpperCase()+X.substring(1)}var fB=["Webkit","ms","Moz","O"];Object.keys(W6).forEach(function(Z){fB.forEach(function(X){W6[EB(X,Z)]=W6[Z]})});function qG(Z,X,Q){var G=X==null||typeof X==="boolean"||X==="";if(G)return"";if(!Q&&typeof X==="number"&&X!==0&&!(W6.hasOwnProperty(Z)&&W6[Z]))return X+"px";return p4(X,Z),(""+X).trim()}var uB=/([A-Z])/g,vB=/^ms-/;function dB(Z){return Z.replace(uB,"-$1").toLowerCase().replace(vB,"-ms-")}var Pz=function(){};{var yB=/^(?:webkit|moz|o)[A-Z]/,mB=/^-ms-/,cB=/-(.)/g,Az=/;\s*$/,r9={},MG={},Fz=!1,Lz=!1,iB=function(Z){return Z.replace(cB,function(X,Q){return Q.toUpperCase()})},lB=function(Z){if(r9.hasOwnProperty(Z)&&r9[Z])return;r9[Z]=!0,q("Unsupported style property %s. Did you mean %s?",Z,iB(Z.replace(mB,"ms-")))},pB=function(Z){if(r9.hasOwnProperty(Z)&&r9[Z])return;r9[Z]=!0,q("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))},oB=function(Z,X){if(MG.hasOwnProperty(X)&&MG[X])return;MG[X]=!0,q(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,X.replace(Az,""))},sB=function(Z,X){if(Fz)return;Fz=!0,q("`NaN` is an invalid value for the `%s` css style property.",Z)},aB=function(Z,X){if(Lz)return;Lz=!0,q("`Infinity` is an invalid value for the `%s` css style property.",Z)};Pz=function(Z,X){if(Z.indexOf("-")>-1)lB(Z);else if(yB.test(Z))pB(Z);else if(Az.test(X))oB(Z,X);if(typeof X==="number"){if(isNaN(X))sB(Z,X);else if(!isFinite(X))aB(Z,X)}}}var rB=Pz;function nB(Z){{var X="",Q="";for(var G in Z){if(!Z.hasOwnProperty(G))continue;var J=Z[G];if(J!=null){var Y=G.indexOf("--")===0;X+=Q+(Y?G:dB(G))+":",X+=qG(G,J,Y),Q=";"}}return X||null}}function Rz(Z,X){var Q=Z.style;for(var G in X){if(!X.hasOwnProperty(G))continue;var J=G.indexOf("--")===0;if(!J)rB(G,X[G]);var Y=qG(G,X[G],J);if(G==="float")G="cssFloat";if(J)Q.setProperty(G,Y);else Q[G]=Y}}function tB(Z){return Z==null||typeof Z==="boolean"||Z===""}function wz(Z){var X={};for(var Q in Z){var G=gB[Q]||[Q];for(var J=0;J<G.length;J++)X[G[J]]=Q}return X}function eB(Z,X){{if(!X)return;var Q=wz(Z),G=wz(X),J={};for(var Y in Q){var z=Q[Y],W=G[Y];if(W&&z!==W){var K=z+","+W;if(J[K])continue;J[K]=!0,q("%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.",tB(Z[z])?"Removing":"Updating",z,W)}}}}var Z$={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},X$=h0({menuitem:!0},Z$),Q$="__html";function OG(Z,X){if(!X)return;if(X$[Z]){if(X.children!=null||X.dangerouslySetInnerHTML!=null)throw new Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.")}if(X.dangerouslySetInnerHTML!=null){if(X.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof X.dangerouslySetInnerHTML!=="object"||!(Q$ in X.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(!X.suppressContentEditableWarning&&X.contentEditable&&X.children!=null)q("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.");if(X.style!=null&&typeof X.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 q9(Z,X){if(Z.indexOf("-")===-1)return typeof X.is==="string";switch(Z){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 QX={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"},Iz={"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},n9={},G$=new RegExp("^(aria)-["+C1+"]*$"),J$=new RegExp("^(aria)[A-Z]["+C1+"]*$");function Y$(Z,X){{if(w4.call(n9,X)&&n9[X])return!0;if(J$.test(X)){var Q="aria-"+X.slice(4).toLowerCase(),G=Iz.hasOwnProperty(Q)?Q:null;if(G==null)return q("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),n9[X]=!0,!0;if(X!==G)return q("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,G),n9[X]=!0,!0}if(G$.test(X)){var J=X.toLowerCase(),Y=Iz.hasOwnProperty(J)?J:null;if(Y==null)return n9[X]=!0,!1;if(X!==Y)return q("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Y),n9[X]=!0,!0}}return!0}function z$(Z,X){{var Q=[];for(var G in X){var J=Y$(Z,G);if(!J)Q.push(G)}var Y=Q.map(function(z){return"`"+z+"`"}).join(", ");if(Q.length===1)q("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Y,Z);else if(Q.length>1)q("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Y,Z)}}function W$(Z,X){if(q9(Z,X))return;z$(Z,X)}var Nz=!1;function K$(Z,X){{if(Z!=="input"&&Z!=="textarea"&&Z!=="select")return;if(X!=null&&X.value===null&&!Nz)if(Nz=!0,Z==="select"&&X.multiple)q("`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.",Z);else q("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z)}}var Vz=function(){};{var g4={},Sz=/^on./,U$=/^on[^A-Z]/,B$=new RegExp("^(aria)-["+C1+"]*$"),$$=new RegExp("^(aria)[A-Z]["+C1+"]*$");Vz=function(Z,X,Q,G){if(w4.call(g4,X)&&g4[X])return!0;var J=X.toLowerCase();if(J==="onfocusin"||J==="onfocusout")return q("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."),g4[X]=!0,!0;if(G!=null){var{registrationNameDependencies:Y,possibleRegistrationNames:z}=G;if(Y.hasOwnProperty(X))return!0;var W=z.hasOwnProperty(J)?z[J]:null;if(W!=null)return q("Invalid event handler property `%s`. Did you mean `%s`?",X,W),g4[X]=!0,!0;if(Sz.test(X))return q("Unknown event handler property `%s`. It will be ignored.",X),g4[X]=!0,!0}else if(Sz.test(X)){if(U$.test(X))q("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X);return g4[X]=!0,!0}if(B$.test(X)||$$.test(X))return!0;if(J==="innerhtml")return q("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),g4[X]=!0,!0;if(J==="aria")return q("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),g4[X]=!0,!0;if(J==="is"&&Q!==null&&Q!==void 0&&typeof Q!=="string")return q("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Q),g4[X]=!0,!0;if(typeof Q==="number"&&isNaN(Q))return q("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),g4[X]=!0,!0;var K=n1(X),B=K!==null&&K.type===K4;if(QX.hasOwnProperty(J)){var $=QX[J];if($!==X)return q("Invalid DOM property `%s`. Did you mean `%s`?",X,$),g4[X]=!0,!0}else if(!B&&X!==J)return q("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.",X,J),g4[X]=!0,!0;if(typeof Q==="boolean"&&R1(X,Q,K,!1)){if(Q)q('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()}.',Q,X,X,Q,X);else q('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.',Q,X,X,Q,X,X,X);return g4[X]=!0,!0}if(B)return!0;if(R1(X,Q,K,!1))return g4[X]=!0,!1;if((Q==="false"||Q==="true")&&K!==null&&K.type===y1)return q("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Q,X,Q==="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".',X,Q),g4[X]=!0,!0;return!0}}var H$=function(Z,X,Q){{var G=[];for(var J in X){var Y=Vz(Z,J,X[J],Q);if(!Y)G.push(J)}var z=G.map(function(W){return"`"+W+"`"}).join(", ");if(G.length===1)q("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 ",z,Z);else if(G.length>1)q("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 ",z,Z)}};function q$(Z,X,Q){if(q9(Z,X))return;H$(Z,X,Q)}var bz=1,_G=2,K6=4,M$=bz|_G|K6,U6=null;function O$(Z){if(U6!==null)q("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.");U6=Z}function _$(){if(U6===null)q("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.");U6=null}function P$(Z){return Z===U6}function PG(Z){var X=Z.target||Z.srcElement||window;if(X.correspondingUseElement)X=X.correspondingUseElement;return X.nodeType===B5?X.parentNode:X}var AG=null,t9=null,e9=null;function jz(Z){var X=p5(Z);if(!X)return;if(typeof AG!=="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 Q=X.stateNode;if(Q){var G=dX(Q);AG(X.stateNode,X.type,G)}}function A$(Z){AG=Z}function Dz(Z){if(t9)if(e9)e9.push(Z);else e9=[Z];else t9=Z}function F$(){return t9!==null||e9!==null}function kz(){if(!t9)return;var Z=t9,X=e9;if(t9=null,e9=null,jz(Z),X)for(var Q=0;Q<X.length;Q++)jz(X[Q])}var Cz=function(Z,X){return Z(X)},Tz=function(){},FG=!1;function L$(){var Z=F$();if(Z)Tz(),kz()}function hz(Z,X,Q){if(FG)return Z(X,Q);FG=!0;try{return Cz(Z,X,Q)}finally{FG=!1,L$()}}function R$(Z,X,Q){Cz=Z,Tz=Q}function w$(Z){return Z==="button"||Z==="input"||Z==="select"||Z==="textarea"}function I$(Z,X,Q){switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(Q.disabled&&w$(X));default:return!1}}function B6(Z,X){var Q=Z.stateNode;if(Q===null)return null;var G=dX(Q);if(G===null)return null;var J=G[X];if(I$(X,Z.type,G))return null;if(J&&typeof J!=="function")throw new Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof J+"` type.");return J}var LG=!1;if(L1)try{var $6={};Object.defineProperty($6,"passive",{get:function(){LG=!0}}),window.addEventListener("test",$6,$6),window.removeEventListener("test",$6,$6)}catch(Z){LG=!1}function xz(Z,X,Q,G,J,Y,z,W,K){var B=Array.prototype.slice.call(arguments,3);try{X.apply(Q,B)}catch($){this.onError($)}}var gz=xz;if(typeof window!=="undefined"&&typeof window.dispatchEvent==="function"&&typeof document!=="undefined"&&typeof document.createEvent==="function"){var RG=document.createElement("react");gz=function Z(X,Q,G,J,Y,z,W,K,B){if(typeof document==="undefined"||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 $=document.createEvent("Event"),_=!1,O=!0,I=window.event,N=Object.getOwnPropertyDescriptor(window,"event");function V(){if(RG.removeEventListener(b,G0,!1),typeof window.event!=="undefined"&&window.hasOwnProperty("event"))window.event=I}var m=Array.prototype.slice.call(arguments,3);function G0(){_=!0,V(),Q.apply(G,m),O=!1}var Z0,j0=!1,D0=!1;function F(L){if(Z0=L.error,j0=!0,Z0===null&&L.colno===0&&L.lineno===0)D0=!0;if(L.defaultPrevented){if(Z0!=null&&typeof Z0==="object")try{Z0._suppressLogging=!0}catch(x){}}}var b="react-"+(X?X:"invokeguardedcallback");if(window.addEventListener("error",F),RG.addEventListener(b,G0,!1),$.initEvent(b,!1,!1),RG.dispatchEvent($),N)Object.defineProperty(window,"event",N);if(_&&O){if(!j0)Z0=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.`);else if(D0)Z0=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.");this.onError(Z0)}if(window.removeEventListener("error",F),!_)return V(),xz.apply(this,arguments)}}var N$=gz,Z7=!1,GX=null,JX=!1,wG=null,V$={onError:function(Z){Z7=!0,GX=Z}};function IG(Z,X,Q,G,J,Y,z,W,K){Z7=!1,GX=null,N$.apply(V$,arguments)}function S$(Z,X,Q,G,J,Y,z,W,K){if(IG.apply(this,arguments),Z7){var B=NG();if(!JX)JX=!0,wG=B}}function b$(){if(JX){var Z=wG;throw JX=!1,wG=null,Z}}function j$(){return Z7}function NG(){if(Z7){var Z=GX;return Z7=!1,GX=null,Z}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 X7(Z){return Z._reactInternals}function D$(Z){return Z._reactInternals!==void 0}function k$(Z,X){Z._reactInternals=X}var U0=0,Q7=1,u1=2,u0=4,M9=16,H6=32,VG=64,i0=128,H5=256,v5=512,O9=1024,h8=2048,q5=4096,_9=8192,YX=16384,C$=h8|u0|VG|v5|O9|YX,T$=32767,q6=32768,E4=65536,SG=131072,Ez=1048576,bG=2097152,P9=4194304,jG=8388608,M5=16777216,zX=33554432,DG=u0|O9|0,kG=u1|u0|M9|H6|v5|q5|_9,M6=u0|VG|v5|_9,G7=h8|M9,O5=P9|jG|bG,h$=c.ReactCurrentOwner;function A9(Z){var X=Z,Q=Z;if(!Z.alternate){var G=X;do{if(X=G,(X.flags&(u1|q5))!==U0)Q=X.return;G=X.return}while(G)}else while(X.return)X=X.return;if(X.tag===Y0)return Q;return null}function fz(Z){if(Z.tag===H0){var X=Z.memoizedState;if(X===null){var Q=Z.alternate;if(Q!==null)X=Q.memoizedState}if(X!==null)return X.dehydrated}return null}function uz(Z){return Z.tag===Y0?Z.stateNode.containerInfo:null}function x$(Z){return A9(Z)===Z}function g$(Z){{var X=h$.current;if(X!==null&&X.tag===J0){var Q=X,G=Q.stateNode;if(!G._warnedAboutRefsInRender)q("%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.",I0(Q)||"A component");G._warnedAboutRefsInRender=!0}}var J=X7(Z);if(!J)return!1;return A9(J)===J}function vz(Z){if(A9(Z)!==Z)throw new Error("Unable to find node on an unmounted component.")}function dz(Z){var X=Z.alternate;if(!X){var Q=A9(Z);if(Q===null)throw new Error("Unable to find node on an unmounted component.");if(Q!==Z)return null;return Z}var G=Z,J=X;while(!0){var Y=G.return;if(Y===null)break;var z=Y.alternate;if(z===null){var W=Y.return;if(W!==null){G=J=W;continue}break}if(Y.child===z.child){var K=Y.child;while(K){if(K===G)return vz(Y),Z;if(K===J)return vz(Y),X;K=K.sibling}throw new Error("Unable to find node on an unmounted component.")}if(G.return!==J.return)G=Y,J=z;else{var B=!1,$=Y.child;while($){if($===G){B=!0,G=Y,J=z;break}if($===J){B=!0,J=Y,G=z;break}$=$.sibling}if(!B){$=z.child;while($){if($===G){B=!0,G=z,J=Y;break}if($===J){B=!0,J=z,G=Y;break}$=$.sibling}if(!B)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(G.alternate!==J)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(G.tag!==Y0)throw new Error("Unable to find node on an unmounted component.");if(G.stateNode.current===G)return Z;return X}function yz(Z){var X=dz(Z);return X!==null?mz(X):null}function mz(Z){if(Z.tag===a||Z.tag===S0)return Z;var X=Z.child;while(X!==null){var Q=mz(X);if(Q!==null)return Q;X=X.sibling}return null}function E$(Z){var X=dz(Z);return X!==null?cz(X):null}function cz(Z){if(Z.tag===a||Z.tag===S0)return Z;var X=Z.child;while(X!==null){if(X.tag!==V0){var Q=cz(X);if(Q!==null)return Q}X=X.sibling}return null}var iz=X1.unstable_scheduleCallback,f$=X1.unstable_cancelCallback,u$=X1.unstable_shouldYield,v$=X1.unstable_requestPaint,Z4=X1.unstable_now,d$=X1.unstable_getCurrentPriorityLevel,WX=X1.unstable_ImmediatePriority,CG=X1.unstable_UserBlockingPriority,F9=X1.unstable_NormalPriority,y$=X1.unstable_LowPriority,TG=X1.unstable_IdlePriority,m$=X1.unstable_yieldValue,c$=X1.unstable_setDisableYieldValue,L9=null,U4=null,p=null,s8=!1,x8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined";function i$(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.supportsFiber)return q("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{if(T4)Z=h0({},Z,{getLaneLabelMap:r$,injectProfilingHooks:a$});L9=X.inject(Z),U4=X}catch(Q){q("React instrumentation encountered an error: %s.",Q)}if(X.checkDCE)return!0;else return!1}function l$(Z,X){if(U4&&typeof U4.onScheduleFiberRoot==="function")try{U4.onScheduleFiberRoot(L9,Z,X)}catch(Q){if(!s8)s8=!0,q("React instrumentation encountered an error: %s",Q)}}function p$(Z,X){if(U4&&typeof U4.onCommitFiberRoot==="function")try{var Q=(Z.current.flags&i0)===i0;if(F8){var G;switch(X){case H8:G=WX;break;case P5:G=CG;break;case A5:G=F9;break;case OX:G=TG;break;default:G=F9;break}U4.onCommitFiberRoot(L9,Z,G,Q)}else U4.onCommitFiberRoot(L9,Z,void 0,Q)}catch(J){if(!s8)s8=!0,q("React instrumentation encountered an error: %s",J)}}function o$(Z){if(U4&&typeof U4.onPostCommitFiberRoot==="function")try{U4.onPostCommitFiberRoot(L9,Z)}catch(X){if(!s8)s8=!0,q("React instrumentation encountered an error: %s",X)}}function s$(Z){if(U4&&typeof U4.onCommitFiberUnmount==="function")try{U4.onCommitFiberUnmount(L9,Z)}catch(X){if(!s8)s8=!0,q("React instrumentation encountered an error: %s",X)}}function X4(Z){{if(typeof m$==="function")c$(Z),h1(Z);if(U4&&typeof U4.setStrictMode==="function")try{U4.setStrictMode(L9,Z)}catch(X){if(!s8)s8=!0,q("React instrumentation encountered an error: %s",X)}}}function a$(Z){p=Z}function r$(){{var Z=new Map,X=1;for(var Q=0;Q<xG;Q++){var G=_H(X);Z.set(X,G),X*=2}return Z}}function n$(Z){if(p!==null&&typeof p.markCommitStarted==="function")p.markCommitStarted(Z)}function lz(){if(p!==null&&typeof p.markCommitStopped==="function")p.markCommitStopped()}function O6(Z){if(p!==null&&typeof p.markComponentRenderStarted==="function")p.markComponentRenderStarted(Z)}function J7(){if(p!==null&&typeof p.markComponentRenderStopped==="function")p.markComponentRenderStopped()}function t$(Z){if(p!==null&&typeof p.markComponentPassiveEffectMountStarted==="function")p.markComponentPassiveEffectMountStarted(Z)}function e$(){if(p!==null&&typeof p.markComponentPassiveEffectMountStopped==="function")p.markComponentPassiveEffectMountStopped()}function ZH(Z){if(p!==null&&typeof p.markComponentPassiveEffectUnmountStarted==="function")p.markComponentPassiveEffectUnmountStarted(Z)}function XH(){if(p!==null&&typeof p.markComponentPassiveEffectUnmountStopped==="function")p.markComponentPassiveEffectUnmountStopped()}function QH(Z){if(p!==null&&typeof p.markComponentLayoutEffectMountStarted==="function")p.markComponentLayoutEffectMountStarted(Z)}function GH(){if(p!==null&&typeof p.markComponentLayoutEffectMountStopped==="function")p.markComponentLayoutEffectMountStopped()}function pz(Z){if(p!==null&&typeof p.markComponentLayoutEffectUnmountStarted==="function")p.markComponentLayoutEffectUnmountStarted(Z)}function oz(){if(p!==null&&typeof p.markComponentLayoutEffectUnmountStopped==="function")p.markComponentLayoutEffectUnmountStopped()}function JH(Z,X,Q){if(p!==null&&typeof p.markComponentErrored==="function")p.markComponentErrored(Z,X,Q)}function YH(Z,X,Q){if(p!==null&&typeof p.markComponentSuspended==="function")p.markComponentSuspended(Z,X,Q)}function zH(Z){if(p!==null&&typeof p.markLayoutEffectsStarted==="function")p.markLayoutEffectsStarted(Z)}function WH(){if(p!==null&&typeof p.markLayoutEffectsStopped==="function")p.markLayoutEffectsStopped()}function KH(Z){if(p!==null&&typeof p.markPassiveEffectsStarted==="function")p.markPassiveEffectsStarted(Z)}function UH(){if(p!==null&&typeof p.markPassiveEffectsStopped==="function")p.markPassiveEffectsStopped()}function sz(Z){if(p!==null&&typeof p.markRenderStarted==="function")p.markRenderStarted(Z)}function BH(){if(p!==null&&typeof p.markRenderYielded==="function")p.markRenderYielded()}function az(){if(p!==null&&typeof p.markRenderStopped==="function")p.markRenderStopped()}function $H(Z){if(p!==null&&typeof p.markRenderScheduled==="function")p.markRenderScheduled(Z)}function HH(Z,X){if(p!==null&&typeof p.markForceUpdateScheduled==="function")p.markForceUpdateScheduled(Z,X)}function hG(Z,X){if(p!==null&&typeof p.markStateUpdateScheduled==="function")p.markStateUpdateScheduled(Z,X)}var W0=0,g0=1,t0=2,S1=8,a8=16,rz=Math.clz32?Math.clz32:OH,qH=Math.log,MH=Math.LN2;function OH(Z){var X=Z>>>0;if(X===0)return 32;return 31-(qH(X)/MH|0)|0}var xG=31,h=0,Q4=0,P0=1,Y7=2,_5=4,R9=8,r8=16,_6=32,z7=4194240,P6=64,gG=128,EG=256,fG=512,uG=1024,vG=2048,dG=4096,yG=8192,mG=16384,cG=32768,iG=65536,lG=131072,pG=262144,oG=524288,sG=1048576,aG=2097152,KX=130023424,W7=4194304,rG=8388608,nG=16777216,tG=33554432,eG=67108864,nz=W7,A6=134217728,tz=268435455,F6=268435456,w9=536870912,B8=1073741824;function _H(Z){{if(Z&P0)return"Sync";if(Z&Y7)return"InputContinuousHydration";if(Z&_5)return"InputContinuous";if(Z&R9)return"DefaultHydration";if(Z&r8)return"Default";if(Z&_6)return"TransitionHydration";if(Z&z7)return"Transition";if(Z&KX)return"Retry";if(Z&A6)return"SelectiveHydration";if(Z&F6)return"IdleHydration";if(Z&w9)return"Idle";if(Z&B8)return"Offscreen"}}var B1=-1,UX=P6,BX=W7;function L6(Z){switch(I9(Z)){case P0:return P0;case Y7:return Y7;case _5:return _5;case R9:return R9;case r8:return r8;case _6:return _6;case P6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:return Z&z7;case W7:case rG:case nG:case tG:case eG:return Z&KX;case A6:return A6;case F6:return F6;case w9:return w9;case B8:return B8;default:return q("Should have found matching lanes. This is a bug in React."),Z}}function $X(Z,X){var Q=Z.pendingLanes;if(Q===h)return h;var G=h,J=Z.suspendedLanes,Y=Z.pingedLanes,z=Q&tz;if(z!==h){var W=z&~J;if(W!==h)G=L6(W);else{var K=z&Y;if(K!==h)G=L6(K)}}else{var B=Q&~J;if(B!==h)G=L6(B);else if(Y!==h)G=L6(Y)}if(G===h)return h;if(X!==h&&X!==G&&(X&J)===h){var $=I9(G),_=I9(X);if($>=_||$===r8&&(_&z7)!==h)return X}if((G&_5)!==h)G|=Q&r8;var O=Z.entangledLanes;if(O!==h){var I=Z.entanglements,N=G&O;while(N>0){var V=N9(N),m=1<<V;G|=I[V],N&=~m}}return G}function PH(Z,X){var Q=Z.eventTimes,G=B1;while(X>0){var J=N9(X),Y=1<<J,z=Q[J];if(z>G)G=z;X&=~Y}return G}function AH(Z,X){switch(Z){case P0:case Y7:case _5:return X+250;case R9:case r8:case _6:case P6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:return X+5000;case W7:case rG:case nG:case tG:case eG:return B1;case A6:case F6:case w9:case B8:return B1;default:return q("Should have found matching lanes. This is a bug in React."),B1}}function FH(Z,X){var{pendingLanes:Q,suspendedLanes:G,pingedLanes:J,expirationTimes:Y}=Z,z=Q;while(z>0){var W=N9(z),K=1<<W,B=Y[W];if(B===B1){if((K&G)===h||(K&J)!==h)Y[W]=AH(K,X)}else if(B<=X)Z.expiredLanes|=K;z&=~K}}function LH(Z){return L6(Z.pendingLanes)}function ZJ(Z){var X=Z.pendingLanes&~B8;if(X!==h)return X;if(X&B8)return B8;return h}function RH(Z){return(Z&P0)!==h}function XJ(Z){return(Z&tz)!==h}function ez(Z){return(Z&KX)===Z}function wH(Z){var X=P0|_5|r8;return(Z&X)===h}function IH(Z){return(Z&z7)===Z}function HX(Z,X){var Q=Y7|_5|R9|r8;return(X&Q)!==h}function NH(Z,X){return(X&Z.expiredLanes)!==h}function ZW(Z){return(Z&z7)!==h}function XW(){var Z=UX;if(UX<<=1,(UX&z7)===h)UX=P6;return Z}function VH(){var Z=BX;if(BX<<=1,(BX&KX)===h)BX=W7;return Z}function I9(Z){return Z&-Z}function R6(Z){return I9(Z)}function N9(Z){return 31-rz(Z)}function QJ(Z){return N9(Z)}function $8(Z,X){return(Z&X)!==h}function K7(Z,X){return(Z&X)===X}function N0(Z,X){return Z|X}function qX(Z,X){return Z&~X}function QW(Z,X){return Z&X}function MX(Z){return Z}function SH(Z,X){return Z!==Q4&&Z<X?Z:X}function GJ(Z){var X=[];for(var Q=0;Q<xG;Q++)X.push(Z);return X}function w6(Z,X,Q){if(Z.pendingLanes|=X,X!==w9)Z.suspendedLanes=h,Z.pingedLanes=h;var G=Z.eventTimes,J=QJ(X);G[J]=Q}function bH(Z,X){Z.suspendedLanes|=X,Z.pingedLanes&=~X;var Q=Z.expirationTimes,G=X;while(G>0){var J=N9(G),Y=1<<J;Q[J]=B1,G&=~Y}}function GW(Z,X,Q){Z.pingedLanes|=Z.suspendedLanes&X}function jH(Z,X){var Q=Z.pendingLanes&~X;Z.pendingLanes=X,Z.suspendedLanes=h,Z.pingedLanes=h,Z.expiredLanes&=X,Z.mutableReadLanes&=X,Z.entangledLanes&=X;var{entanglements:G,eventTimes:J,expirationTimes:Y}=Z,z=Q;while(z>0){var W=N9(z),K=1<<W;G[W]=h,J[W]=B1,Y[W]=B1,z&=~K}}function JJ(Z,X){var Q=Z.entangledLanes|=X,G=Z.entanglements,J=Q;while(J){var Y=N9(J),z=1<<Y;if(z&X|G[Y]&X)G[Y]|=X;J&=~z}}function DH(Z,X){var Q=I9(X),G;switch(Q){case _5:G=Y7;break;case r8:G=R9;break;case P6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:case W7:case rG:case nG:case tG:case eG:G=_6;break;case w9:G=F6;break;default:G=Q4;break}if((G&(Z.suspendedLanes|X))!==Q4)return Q4;return G}function JW(Z,X,Q){if(!x8)return;var G=Z.pendingUpdatersLaneMap;while(Q>0){var J=QJ(Q),Y=1<<J,z=G[J];z.add(X),Q&=~Y}}function YW(Z,X){if(!x8)return;var{pendingUpdatersLaneMap:Q,memoizedUpdaters:G}=Z;while(X>0){var J=QJ(X),Y=1<<J,z=Q[J];if(z.size>0)z.forEach(function(W){var K=W.alternate;if(K===null||!G.has(K))G.add(W)}),z.clear();X&=~Y}}function zW(Z,X){return null}var H8=P0,P5=_5,A5=r8,OX=w9,I6=Q4;function g8(){return I6}function G4(Z){I6=Z}function kH(Z,X){var Q=I6;try{return I6=Z,X()}finally{I6=Q}}function CH(Z,X){return Z!==0&&Z<X?Z:X}function TH(Z,X){return Z===0||Z>X?Z:X}function YJ(Z,X){return Z!==0&&Z<X}function WW(Z){var X=I9(Z);if(!YJ(H8,X))return H8;if(!YJ(P5,X))return P5;if(XJ(X))return A5;return OX}function _X(Z){var X=Z.current.memoizedState;return X.isDehydrated}var KW;function hH(Z){KW=Z}function xH(Z){KW(Z)}var zJ;function gH(Z){zJ=Z}var UW;function EH(Z){UW=Z}var BW;function fH(Z){BW=Z}var $W;function uH(Z){$W=Z}var WJ=!1,PX=[],d5=null,y5=null,m5=null,N6=new Map,V6=new Map,c5=[],vH=["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 dH(Z){return vH.indexOf(Z)>-1}function yH(Z,X,Q,G,J){return{blockedOn:Z,domEventName:X,eventSystemFlags:Q,nativeEvent:J,targetContainers:[G]}}function HW(Z,X){switch(Z){case"focusin":case"focusout":d5=null;break;case"dragenter":case"dragleave":y5=null;break;case"mouseover":case"mouseout":m5=null;break;case"pointerover":case"pointerout":{var Q=X.pointerId;N6.delete(Q);break}case"gotpointercapture":case"lostpointercapture":{var G=X.pointerId;V6.delete(G);break}}}function S6(Z,X,Q,G,J,Y){if(Z===null||Z.nativeEvent!==Y){var z=yH(X,Q,G,J,Y);if(X!==null){var W=p5(X);if(W!==null)zJ(W)}return z}Z.eventSystemFlags|=G;var K=Z.targetContainers;if(J!==null&&K.indexOf(J)===-1)K.push(J);return Z}function mH(Z,X,Q,G,J){switch(X){case"focusin":{var Y=J;return d5=S6(d5,Z,X,Q,G,Y),!0}case"dragenter":{var z=J;return y5=S6(y5,Z,X,Q,G,z),!0}case"mouseover":{var W=J;return m5=S6(m5,Z,X,Q,G,W),!0}case"pointerover":{var K=J,B=K.pointerId;return N6.set(B,S6(N6.get(B)||null,Z,X,Q,G,K)),!0}case"gotpointercapture":{var $=J,_=$.pointerId;return V6.set(_,S6(V6.get(_)||null,Z,X,Q,G,$)),!0}}return!1}function qW(Z){var X=b9(Z.target);if(X!==null){var Q=A9(X);if(Q!==null){var G=Q.tag;if(G===H0){var J=fz(Q);if(J!==null){Z.blockedOn=J,$W(Z.priority,function(){UW(Q)});return}}else if(G===Y0){var Y=Q.stateNode;if(_X(Y)){Z.blockedOn=uz(Q);return}}}}Z.blockedOn=null}function cH(Z){var X=BW(),Q={blockedOn:null,target:Z,priority:X},G=0;for(;G<c5.length;G++)if(!YJ(X,c5[G].priority))break;if(c5.splice(G,0,Q),G===0)qW(Q)}function AX(Z){if(Z.blockedOn!==null)return!1;var X=Z.targetContainers;while(X.length>0){var Q=X[0],G=BJ(Z.domEventName,Z.eventSystemFlags,Q,Z.nativeEvent);if(G===null){var J=Z.nativeEvent,Y=new J.constructor(J.type,J);O$(Y),J.target.dispatchEvent(Y),_$()}else{var z=p5(G);if(z!==null)zJ(z);return Z.blockedOn=G,!1}X.shift()}return!0}function MW(Z,X,Q){if(AX(Z))Q.delete(X)}function iH(){if(WJ=!1,d5!==null&&AX(d5))d5=null;if(y5!==null&&AX(y5))y5=null;if(m5!==null&&AX(m5))m5=null;N6.forEach(MW),V6.forEach(MW)}function b6(Z,X){if(Z.blockedOn===X){if(Z.blockedOn=null,!WJ)WJ=!0,X1.unstable_scheduleCallback(X1.unstable_NormalPriority,iH)}}function j6(Z){if(PX.length>0){b6(PX[0],Z);for(var X=1;X<PX.length;X++){var Q=PX[X];if(Q.blockedOn===Z)Q.blockedOn=null}}if(d5!==null)b6(d5,Z);if(y5!==null)b6(y5,Z);if(m5!==null)b6(m5,Z);var G=function(W){return b6(W,Z)};N6.forEach(G),V6.forEach(G);for(var J=0;J<c5.length;J++){var Y=c5[J];if(Y.blockedOn===Z)Y.blockedOn=null}while(c5.length>0){var z=c5[0];if(z.blockedOn!==null)break;else if(qW(z),z.blockedOn===null)c5.shift()}}var U7=c.ReactCurrentBatchConfig,KJ=!0;function OW(Z){KJ=!!Z}function lH(){return KJ}function pH(Z,X,Q){var G=_W(X),J;switch(G){case H8:J=oH;break;case P5:J=sH;break;case A5:default:J=UJ;break}return J.bind(null,X,Q,Z)}function oH(Z,X,Q,G){var J=g8(),Y=U7.transition;U7.transition=null;try{G4(H8),UJ(Z,X,Q,G)}finally{G4(J),U7.transition=Y}}function sH(Z,X,Q,G){var J=g8(),Y=U7.transition;U7.transition=null;try{G4(P5),UJ(Z,X,Q,G)}finally{G4(J),U7.transition=Y}}function UJ(Z,X,Q,G){if(!KJ)return;aH(Z,X,Q,G)}function aH(Z,X,Q,G){var J=BJ(Z,X,Q,G);if(J===null){NJ(Z,X,G,FX,Q),HW(Z,G);return}if(mH(J,Z,X,Q,G)){G.stopPropagation();return}if(HW(Z,G),X&K6&&dH(Z)){while(J!==null){var Y=p5(J);if(Y!==null)xH(Y);var z=BJ(Z,X,Q,G);if(z===null)NJ(Z,X,G,FX,Q);if(z===J)break;J=z}if(J!==null)G.stopPropagation();return}NJ(Z,X,G,null,Q)}var FX=null;function BJ(Z,X,Q,G){FX=null;var J=PG(G),Y=b9(J);if(Y!==null){var z=A9(Y);if(z===null)Y=null;else{var W=z.tag;if(W===H0){var K=fz(z);if(K!==null)return K;Y=null}else if(W===Y0){var B=z.stateNode;if(_X(B))return uz(z);Y=null}else if(z!==Y)Y=null}}return FX=Y,null}function _W(Z){switch(Z){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 H8;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 P5;case"message":{var X=d$();switch(X){case WX:return H8;case CG:return P5;case F9:case y$:return A5;case TG:return OX;default:return A5}}default:return A5}}function rH(Z,X,Q){return Z.addEventListener(X,Q,!1),Q}function nH(Z,X,Q){return Z.addEventListener(X,Q,!0),Q}function tH(Z,X,Q,G){return Z.addEventListener(X,Q,{capture:!0,passive:G}),Q}function eH(Z,X,Q,G){return Z.addEventListener(X,Q,{passive:G}),Q}var D6=null,$J=null,k6=null;function Zq(Z){return D6=Z,$J=AW(),!0}function Xq(){D6=null,$J=null,k6=null}function PW(){if(k6)return k6;var Z,X=$J,Q=X.length,G,J=AW(),Y=J.length;for(Z=0;Z<Q;Z++)if(X[Z]!==J[Z])break;var z=Q-Z;for(G=1;G<=z;G++)if(X[Q-G]!==J[Y-G])break;var W=G>1?1-G:void 0;return k6=J.slice(Z,W),k6}function AW(){if("value"in D6)return D6.value;return D6.textContent}function LX(Z){var X,Q=Z.keyCode;if("charCode"in Z){if(X=Z.charCode,X===0&&Q===13)X=13}else X=Q;if(X===10)X=13;if(X>=32||X===13)return X;return 0}function RX(){return!0}function FW(){return!1}function q8(Z){function X(Q,G,J,Y,z){this._reactName=Q,this._targetInst=J,this.type=G,this.nativeEvent=Y,this.target=z,this.currentTarget=null;for(var W in Z){if(!Z.hasOwnProperty(W))continue;var K=Z[W];if(K)this[W]=K(Y);else this[W]=Y[W]}var B=Y.defaultPrevented!=null?Y.defaultPrevented:Y.returnValue===!1;if(B)this.isDefaultPrevented=RX;else this.isDefaultPrevented=FW;return this.isPropagationStopped=FW,this}return h0(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;if(!Q)return;if(Q.preventDefault)Q.preventDefault();else if(typeof Q.returnValue!=="unknown")Q.returnValue=!1;this.isDefaultPrevented=RX},stopPropagation:function(){var Q=this.nativeEvent;if(!Q)return;if(Q.stopPropagation)Q.stopPropagation();else if(typeof Q.cancelBubble!=="unknown")Q.cancelBubble=!0;this.isPropagationStopped=RX},persist:function(){},isPersistent:RX}),X}var B7={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},HJ=q8(B7),C6=h0({},B7,{view:0,detail:0}),Qq=q8(C6),qJ,MJ,T6;function Gq(Z){if(Z!==T6){if(T6&&Z.type==="mousemove")qJ=Z.screenX-T6.screenX,MJ=Z.screenY-T6.screenY;else qJ=0,MJ=0;T6=Z}}var wX=h0({},C6,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_J,button:0,buttons:0,relatedTarget:function(Z){if(Z.relatedTarget===void 0)return Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement;return Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return Gq(Z),qJ},movementY:function(Z){if("movementY"in Z)return Z.movementY;return MJ}}),LW=q8(wX),Jq=h0({},wX,{dataTransfer:0}),Yq=q8(Jq),zq=h0({},C6,{relatedTarget:0}),OJ=q8(zq),Wq=h0({},B7,{animationName:0,elapsedTime:0,pseudoElement:0}),Kq=q8(Wq),Uq=h0({},B7,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),Bq=q8(Uq),$q=h0({},B7,{data:0}),RW=q8($q),Hq=RW,qq={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mq={"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 Oq(Z){if(Z.key){var X=qq[Z.key]||Z.key;if(X!=="Unidentified")return X}if(Z.type==="keypress"){var Q=LX(Z);return Q===13?"Enter":String.fromCharCode(Q)}if(Z.type==="keydown"||Z.type==="keyup")return Mq[Z.keyCode]||"Unidentified";return""}var _q={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pq(Z){var X=this,Q=X.nativeEvent;if(Q.getModifierState)return Q.getModifierState(Z);var G=_q[Z];return G?!!Q[G]:!1}function _J(Z){return Pq}var Aq=h0({},C6,{key:Oq,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_J,charCode:function(Z){if(Z.type==="keypress")return LX(Z);return 0},keyCode:function(Z){if(Z.type==="keydown"||Z.type==="keyup")return Z.keyCode;return 0},which:function(Z){if(Z.type==="keypress")return LX(Z);if(Z.type==="keydown"||Z.type==="keyup")return Z.keyCode;return 0}}),Fq=q8(Aq),Lq=h0({},wX,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wW=q8(Lq),Rq=h0({},C6,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_J}),wq=q8(Rq),Iq=h0({},B7,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nq=q8(Iq),Vq=h0({},wX,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),Sq=q8(Vq),bq=[9,13,27,32],IW=229,PJ=L1&&"CompositionEvent"in window,h6=null;if(L1&&"documentMode"in document)h6=document.documentMode;var jq=L1&&"TextEvent"in window&&!h6,NW=L1&&(!PJ||h6&&h6>8&&h6<=11),VW=32,SW=String.fromCharCode(VW);function Dq(){r1("onBeforeInput",["compositionend","keypress","textInput","paste"]),r1("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),r1("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),r1("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var bW=!1;function kq(Z){return(Z.ctrlKey||Z.altKey||Z.metaKey)&&!(Z.ctrlKey&&Z.altKey)}function Cq(Z){switch(Z){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Tq(Z,X){return Z==="keydown"&&X.keyCode===IW}function jW(Z,X){switch(Z){case"keyup":return bq.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==IW;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function DW(Z){var X=Z.detail;if(typeof X==="object"&&"data"in X)return X.data;return null}function kW(Z){return Z.locale==="ko"}var $7=!1;function hq(Z,X,Q,G,J){var Y,z;if(PJ)Y=Cq(X);else if(!$7){if(Tq(X,G))Y="onCompositionStart"}else if(jW(X,G))Y="onCompositionEnd";if(!Y)return null;if(NW&&!kW(G)){if(!$7&&Y==="onCompositionStart")$7=Zq(J);else if(Y==="onCompositionEnd"){if($7)z=PW()}}var W=bX(Q,Y);if(W.length>0){var K=new RW(Y,X,null,G,J);if(Z.push({event:K,listeners:W}),z)K.data=z;else{var B=DW(G);if(B!==null)K.data=B}}}function xq(Z,X){switch(Z){case"compositionend":return DW(X);case"keypress":var Q=X.which;if(Q!==VW)return null;return bW=!0,SW;case"textInput":var G=X.data;if(G===SW&&bW)return null;return G;default:return null}}function gq(Z,X){if($7){if(Z==="compositionend"||!PJ&&jW(Z,X)){var Q=PW();return Xq(),$7=!1,Q}return null}switch(Z){case"paste":return null;case"keypress":if(!kq(X)){if(X.char&&X.char.length>1)return X.char;else if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return NW&&!kW(X)?null:X.data;default:return null}}function Eq(Z,X,Q,G,J){var Y;if(jq)Y=xq(X,G);else Y=gq(X,G);if(!Y)return null;var z=bX(Q,"onBeforeInput");if(z.length>0){var W=new Hq("onBeforeInput","beforeinput",null,G,J);Z.push({event:W,listeners:z}),W.data=Y}}function fq(Z,X,Q,G,J,Y,z){hq(Z,X,Q,G,J),Eq(Z,X,Q,G,J)}var uq={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 CW(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();if(X==="input")return!!uq[Z.type];if(X==="textarea")return!0;return!1}function vq(Z){if(!L1)return!1;var X="on"+Z,Q=X in document;if(!Q){var G=document.createElement("div");G.setAttribute(X,"return;"),Q=typeof G[X]==="function"}return Q}function dq(){r1("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function TW(Z,X,Q,G){Dz(G);var J=bX(X,"onChange");if(J.length>0){var Y=new HJ("onChange","change",null,Q,G);Z.push({event:Y,listeners:J})}}var x6=null,g6=null;function yq(Z){var X=Z.nodeName&&Z.nodeName.toLowerCase();return X==="select"||X==="input"&&Z.type==="file"}function mq(Z){var X=[];TW(X,g6,Z,PG(Z)),hz(cq,X)}function cq(Z){rW(Z,0)}function IX(Z){var X=P7(Z);if(o9(X))return Z}function iq(Z,X){if(Z==="change")return X}var hW=!1;if(L1)hW=vq("input")&&(!document.documentMode||document.documentMode>9);function lq(Z,X){x6=Z,g6=X,x6.attachEvent("onpropertychange",gW)}function xW(){if(!x6)return;x6.detachEvent("onpropertychange",gW),x6=null,g6=null}function gW(Z){if(Z.propertyName!=="value")return;if(IX(g6))mq(Z)}function pq(Z,X,Q){if(Z==="focusin")xW(),lq(X,Q);else if(Z==="focusout")xW()}function oq(Z,X){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return IX(g6)}function sq(Z){var X=Z.nodeName;return X&&X.toLowerCase()==="input"&&(Z.type==="checkbox"||Z.type==="radio")}function aq(Z,X){if(Z==="click")return IX(X)}function rq(Z,X){if(Z==="input"||Z==="change")return IX(X)}function nq(Z){var X=Z._wrapperState;if(!X||!X.controlled||Z.type!=="number")return;_0(Z,"number",Z.value)}function tq(Z,X,Q,G,J,Y,z){var W=Q?P7(Q):window,K,B;if(yq(W))K=iq;else if(CW(W))if(hW)K=rq;else K=oq,B=pq;else if(sq(W))K=aq;if(K){var $=K(X,Q);if($){TW(Z,$,G,J);return}}if(B)B(X,W,Q);if(X==="focusout")nq(W)}function eq(){i4("onMouseEnter",["mouseout","mouseover"]),i4("onMouseLeave",["mouseout","mouseover"]),i4("onPointerEnter",["pointerout","pointerover"]),i4("onPointerLeave",["pointerout","pointerover"])}function ZM(Z,X,Q,G,J,Y,z){var W=X==="mouseover"||X==="pointerover",K=X==="mouseout"||X==="pointerout";if(W&&!P$(G)){var B=G.relatedTarget||G.fromElement;if(B){if(b9(B)||r6(B))return}}if(!K&&!W)return;var $;if(J.window===J)$=J;else{var _=J.ownerDocument;if(_)$=_.defaultView||_.parentWindow;else $=window}var O,I;if(K){var N=G.relatedTarget||G.toElement;if(O=Q,I=N?b9(N):null,I!==null){var V=A9(I);if(I!==V||I.tag!==a&&I.tag!==S0)I=null}}else O=null,I=Q;if(O===I)return;var m=LW,G0="onMouseLeave",Z0="onMouseEnter",j0="mouse";if(X==="pointerout"||X==="pointerover")m=wW,G0="onPointerLeave",Z0="onPointerEnter",j0="pointer";var D0=O==null?$:P7(O),F=I==null?$:P7(I),b=new m(G0,j0+"leave",O,G,J);b.target=D0,b.relatedTarget=F;var L=null,x=b9(J);if(x===Q){var s=new m(Z0,j0+"enter",I,G,J);s.target=F,s.relatedTarget=D0,L=s}NM(Z,b,L,O,I)}function XM(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}var M8=typeof Object.is==="function"?Object.is:XM;function E6(Z,X){if(M8(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Q=Object.keys(Z),G=Object.keys(X);if(Q.length!==G.length)return!1;for(var J=0;J<Q.length;J++){var Y=Q[J];if(!w4.call(X,Y)||!M8(Z[Y],X[Y]))return!1}return!0}function EW(Z){while(Z&&Z.firstChild)Z=Z.firstChild;return Z}function QM(Z){while(Z){if(Z.nextSibling)return Z.nextSibling;Z=Z.parentNode}}function fW(Z,X){var Q=EW(Z),G=0,J=0;while(Q){if(Q.nodeType===B5){if(J=G+Q.textContent.length,G<=X&&J>=X)return{node:Q,offset:X-G};G=J}Q=EW(QM(Q))}}function GM(Z){var X=Z.ownerDocument,Q=X&&X.defaultView||window,G=Q.getSelection&&Q.getSelection();if(!G||G.rangeCount===0)return null;var{anchorNode:J,anchorOffset:Y,focusNode:z,focusOffset:W}=G;try{J.nodeType,z.nodeType}catch(K){return null}return JM(Z,J,Y,z,W)}function JM(Z,X,Q,G,J){var Y=0,z=-1,W=-1,K=0,B=0,$=Z,_=null;Z:while(!0){var O=null;while(!0){if($===X&&(Q===0||$.nodeType===B5))z=Y+Q;if($===G&&(J===0||$.nodeType===B5))W=Y+J;if($.nodeType===B5)Y+=$.nodeValue.length;if((O=$.firstChild)===null)break;_=$,$=O}while(!0){if($===Z)break Z;if(_===X&&++K===Q)z=Y;if(_===G&&++B===J)W=Y;if((O=$.nextSibling)!==null)break;$=_,_=$.parentNode}$=O}if(z===-1||W===-1)return null;return{start:z,end:W}}function YM(Z,X){var Q=Z.ownerDocument||document,G=Q&&Q.defaultView||window;if(!G.getSelection)return;var J=G.getSelection(),Y=Z.textContent.length,z=Math.min(X.start,Y),W=X.end===void 0?z:Math.min(X.end,Y);if(!J.extend&&z>W){var K=W;W=z,z=K}var B=fW(Z,z),$=fW(Z,W);if(B&&$){if(J.rangeCount===1&&J.anchorNode===B.node&&J.anchorOffset===B.offset&&J.focusNode===$.node&&J.focusOffset===$.offset)return;var _=Q.createRange();if(_.setStart(B.node,B.offset),J.removeAllRanges(),z>W)J.addRange(_),J.extend($.node,$.offset);else _.setEnd($.node,$.offset),J.addRange(_)}}function uW(Z){return Z&&Z.nodeType===B5}function vW(Z,X){if(!Z||!X)return!1;else if(Z===X)return!0;else if(uW(Z))return!1;else if(uW(X))return vW(Z,X.parentNode);else if("contains"in Z)return Z.contains(X);else if(Z.compareDocumentPosition)return!!(Z.compareDocumentPosition(X)&16);else return!1}function zM(Z){return Z&&Z.ownerDocument&&vW(Z.ownerDocument.documentElement,Z)}function WM(Z){try{return typeof Z.contentWindow.location.href==="string"}catch(X){return!1}}function dW(){var Z=window,X=u5();while(X instanceof Z.HTMLIFrameElement){if(WM(X))Z=X.contentWindow;else return X;X=u5(Z.document)}return X}function AJ(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function KM(){var Z=dW();return{focusedElem:Z,selectionRange:AJ(Z)?BM(Z):null}}function UM(Z){var X=dW(),Q=Z.focusedElem,G=Z.selectionRange;if(X!==Q&&zM(Q)){if(G!==null&&AJ(Q))$M(Q,G);var J=[],Y=Q;while(Y=Y.parentNode)if(Y.nodeType===n4)J.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});if(typeof Q.focus==="function")Q.focus();for(var z=0;z<J.length;z++){var W=J[z];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}}function BM(Z){var X;if("selectionStart"in Z)X={start:Z.selectionStart,end:Z.selectionEnd};else X=GM(Z);return X||{start:0,end:0}}function $M(Z,X){var{start:Q,end:G}=X;if(G===void 0)G=Q;if("selectionStart"in Z)Z.selectionStart=Q,Z.selectionEnd=Math.min(G,Z.value.length);else YM(Z,X)}var HM=L1&&"documentMode"in document&&document.documentMode<=11;function qM(){r1("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var H7=null,FJ=null,f6=null,LJ=!1;function MM(Z){if("selectionStart"in Z&&AJ(Z))return{start:Z.selectionStart,end:Z.selectionEnd};else{var X=Z.ownerDocument&&Z.ownerDocument.defaultView||window,Q=X.getSelection();return{anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}}}function OM(Z){return Z.window===Z?Z.document:Z.nodeType===$5?Z:Z.ownerDocument}function yW(Z,X,Q){var G=OM(Q);if(LJ||H7==null||H7!==u5(G))return;var J=MM(H7);if(!f6||!E6(f6,J)){f6=J;var Y=bX(FJ,"onSelect");if(Y.length>0){var z=new HJ("onSelect","select",null,X,Q);Z.push({event:z,listeners:Y}),z.target=H7}}}function _M(Z,X,Q,G,J,Y,z){var W=Q?P7(Q):window;switch(X){case"focusin":if(CW(W)||W.contentEditable==="true")H7=W,FJ=Q,f6=null;break;case"focusout":H7=null,FJ=null,f6=null;break;case"mousedown":LJ=!0;break;case"contextmenu":case"mouseup":case"dragend":LJ=!1,yW(Z,G,J);break;case"selectionchange":if(HM)break;case"keydown":case"keyup":yW(Z,G,J)}}function NX(Z,X){var Q={};return Q[Z.toLowerCase()]=X.toLowerCase(),Q["Webkit"+Z]="webkit"+X,Q["Moz"+Z]="moz"+X,Q}var q7={animationend:NX("Animation","AnimationEnd"),animationiteration:NX("Animation","AnimationIteration"),animationstart:NX("Animation","AnimationStart"),transitionend:NX("Transition","TransitionEnd")},RJ={},mW={};if(L1){if(mW=document.createElement("div").style,!("AnimationEvent"in window))delete q7.animationend.animation,delete q7.animationiteration.animation,delete q7.animationstart.animation;if(!("TransitionEvent"in window))delete q7.transitionend.transition}function VX(Z){if(RJ[Z])return RJ[Z];else if(!q7[Z])return Z;var X=q7[Z];for(var Q in X)if(X.hasOwnProperty(Q)&&Q in mW)return RJ[Z]=X[Q];return Z}var cW=VX("animationend"),iW=VX("animationiteration"),lW=VX("animationstart"),pW=VX("transitionend"),oW=new Map,sW=["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 i5(Z,X){oW.set(Z,X),r1(X,[Z])}function PM(){for(var Z=0;Z<sW.length;Z++){var X=sW[Z],Q=X.toLowerCase(),G=X[0].toUpperCase()+X.slice(1);i5(Q,"on"+G)}i5(cW,"onAnimationEnd"),i5(iW,"onAnimationIteration"),i5(lW,"onAnimationStart"),i5("dblclick","onDoubleClick"),i5("focusin","onFocus"),i5("focusout","onBlur"),i5(pW,"onTransitionEnd")}function AM(Z,X,Q,G,J,Y,z){var W=oW.get(X);if(W===void 0)return;var K=HJ,B=X;switch(X){case"keypress":if(LX(G)===0)return;case"keydown":case"keyup":K=Fq;break;case"focusin":B="focus",K=OJ;break;case"focusout":B="blur",K=OJ;break;case"beforeblur":case"afterblur":K=OJ;break;case"click":if(G.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=LW;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=Yq;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=wq;break;case cW:case iW:case lW:K=Kq;break;case pW:K=Nq;break;case"scroll":K=Qq;break;case"wheel":K=Sq;break;case"copy":case"cut":case"paste":K=Bq;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=wW;break}var $=(Y&K6)!==0;{var _=!$&&X==="scroll",O=wM(Q,W,G.type,$,_);if(O.length>0){var I=new K(W,B,null,G,J);Z.push({event:I,listeners:O})}}}PM(),eq(),dq(),qM(),Dq();function FM(Z,X,Q,G,J,Y,z){AM(Z,X,Q,G,J,Y);var W=(Y&M$)===0;if(W)ZM(Z,X,Q,G,J),tq(Z,X,Q,G,J),_M(Z,X,Q,G,J),fq(Z,X,Q,G,J)}var u6=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],wJ=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(u6));function aW(Z,X,Q){var G=Z.type||"unknown-event";Z.currentTarget=Q,S$(G,X,void 0,Z),Z.currentTarget=null}function LM(Z,X,Q){var G;if(Q)for(var J=X.length-1;J>=0;J--){var Y=X[J],z=Y.instance,W=Y.currentTarget,K=Y.listener;if(z!==G&&Z.isPropagationStopped())return;aW(Z,K,W),G=z}else for(var B=0;B<X.length;B++){var $=X[B],_=$.instance,O=$.currentTarget,I=$.listener;if(_!==G&&Z.isPropagationStopped())return;aW(Z,I,O),G=_}}function rW(Z,X){var Q=(X&K6)!==0;for(var G=0;G<Z.length;G++){var J=Z[G],Y=J.event,z=J.listeners;LM(Y,z,Q)}b$()}function RM(Z,X,Q,G,J){var Y=PG(Q),z=[];FM(z,Z,G,Q,Y,X),rW(z,X)}function _1(Z,X){if(!wJ.has(Z))q('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var Q=!1,G=nO(X),J=VM(Z,Q);if(!G.has(J))nW(X,Z,_G,Q),G.add(J)}function IJ(Z,X,Q){if(wJ.has(Z)&&!X)q('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var G=0;if(X)G|=K6;nW(Q,Z,G,X)}var SX="_reactListening"+Math.random().toString(36).slice(2);function v6(Z){if(!Z[SX]){Z[SX]=!0,j1.forEach(function(Q){if(Q!=="selectionchange"){if(!wJ.has(Q))IJ(Q,!1,Z);IJ(Q,!0,Z)}});var X=Z.nodeType===$5?Z:Z.ownerDocument;if(X!==null){if(!X[SX])X[SX]=!0,IJ("selectionchange",!1,X)}}}function nW(Z,X,Q,G,J){var Y=pH(Z,X,Q),z=void 0;if(LG){if(X==="touchstart"||X==="touchmove"||X==="wheel")z=!0}Z=Z;var W;if(G)if(z!==void 0)W=tH(Z,X,Y,z);else W=nH(Z,X,Y);else if(z!==void 0)W=eH(Z,X,Y,z);else W=rH(Z,X,Y)}function tW(Z,X){return Z===X||Z.nodeType===f1&&Z.parentNode===X}function NJ(Z,X,Q,G,J){var Y=G;if((X&bz)===0&&(X&_G)===0){var z=J;if(G!==null){var W=G;Z:while(!0){if(W===null)return;var K=W.tag;if(K===Y0||K===V0){var B=W.stateNode.containerInfo;if(tW(B,z))break;if(K===V0){var $=W.return;while($!==null){var _=$.tag;if(_===Y0||_===V0){var O=$.stateNode.containerInfo;if(tW(O,z))return}$=$.return}}while(B!==null){var I=b9(B);if(I===null)return;var N=I.tag;if(N===a||N===S0){W=Y=I;continue Z}B=B.parentNode}}W=W.return}}}hz(function(){return RM(Z,X,Q,Y)})}function d6(Z,X,Q){return{instance:Z,listener:X,currentTarget:Q}}function wM(Z,X,Q,G,J,Y){var z=X!==null?X+"Capture":null,W=G?z:X,K=[],B=Z,$=null;while(B!==null){var _=B,O=_.stateNode,I=_.tag;if(I===a&&O!==null){if($=O,W!==null){var N=B6(B,W);if(N!=null)K.push(d6(B,N,$))}}if(J)break;B=B.return}return K}function bX(Z,X){var Q=X+"Capture",G=[],J=Z;while(J!==null){var Y=J,z=Y.stateNode,W=Y.tag;if(W===a&&z!==null){var K=z,B=B6(J,Q);if(B!=null)G.unshift(d6(J,B,K));var $=B6(J,X);if($!=null)G.push(d6(J,$,K))}J=J.return}return G}function M7(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==a);if(Z)return Z;return null}function IM(Z,X){var Q=Z,G=X,J=0;for(var Y=Q;Y;Y=M7(Y))J++;var z=0;for(var W=G;W;W=M7(W))z++;while(J-z>0)Q=M7(Q),J--;while(z-J>0)G=M7(G),z--;var K=J;while(K--){if(Q===G||G!==null&&Q===G.alternate)return Q;Q=M7(Q),G=M7(G)}return null}function eW(Z,X,Q,G,J){var Y=X._reactName,z=[],W=Q;while(W!==null){if(W===G)break;var K=W,B=K.alternate,$=K.stateNode,_=K.tag;if(B!==null&&B===G)break;if(_===a&&$!==null){var O=$;if(J){var I=B6(W,Y);if(I!=null)z.unshift(d6(W,I,O))}else if(!J){var N=B6(W,Y);if(N!=null)z.push(d6(W,N,O))}}W=W.return}if(z.length!==0)Z.push({event:X,listeners:z})}function NM(Z,X,Q,G,J){var Y=G&&J?IM(G,J):null;if(G!==null)eW(Z,X,G,Y,!1);if(J!==null&&Q!==null)eW(Z,Q,J,Y,!0)}function VM(Z,X){return Z+"__"+(X?"capture":"bubble")}var t4=!1,y6="dangerouslySetInnerHTML",jX="suppressContentEditableWarning",l5="suppressHydrationWarning",ZK="autoFocus",V9="children",S9="style",DX="__html",VJ,kX,m6,XK,CX,QK,GK;VJ={dialog:!0,webview:!0},kX=function(Z,X){W$(Z,X),K$(Z,X),q$(Z,X,{registrationNameDependencies:g1,possibleRegistrationNames:p0})},QK=L1&&!document.documentMode,m6=function(Z,X,Q){if(t4)return;var G=TX(Q),J=TX(X);if(J===G)return;t4=!0,q("Prop `%s` did not match. Server: %s Client: %s",Z,JSON.stringify(J),JSON.stringify(G))},XK=function(Z){if(t4)return;t4=!0;var X=[];Z.forEach(function(Q){X.push(Q)}),q("Extra attributes from the server: %s",X)},CX=function(Z,X){if(X===!1)q("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.",Z,Z,Z);else q("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)},GK=function(Z,X){var Q=Z.namespaceURI===U5?Z.ownerDocument.createElement(Z.tagName):Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName);return Q.innerHTML=X,Q.innerHTML};var SM=/\r\n?/g,bM=/\u0000|\uFFFD/g;function TX(Z){V4(Z);var X=typeof Z==="string"?Z:""+Z;return X.replace(SM,`
|
||
`).replace(bM,"")}function hX(Z,X,Q,G){var J=TX(X),Y=TX(Z);if(Y===J)return;if(G){if(!t4)t4=!0,q('Text content did not match. Server: "%s" Client: "%s"',Y,J)}if(Q&&O0)throw new Error("Text content does not match server-rendered HTML.")}function JK(Z){return Z.nodeType===$5?Z:Z.ownerDocument}function jM(){}function xX(Z){Z.onclick=jM}function DM(Z,X,Q,G,J){for(var Y in G){if(!G.hasOwnProperty(Y))continue;var z=G[Y];if(Y===S9){if(z)Object.freeze(z);Rz(X,z)}else if(Y===y6){var W=z?z[DX]:void 0;if(W!=null)_z(X,W)}else if(Y===V9){if(typeof z==="string"){var K=Z!=="textarea"||z!=="";if(K)XX(X,z)}else if(typeof z==="number")XX(X,""+z)}else if(Y===jX||Y===l5);else if(Y===ZK);else if(g1.hasOwnProperty(Y)){if(z!=null){if(typeof z!=="function")CX(Y,z);if(Y==="onScroll")_1("scroll",X)}}else if(z!=null)C(X,Y,z,J)}}function kM(Z,X,Q,G){for(var J=0;J<X.length;J+=2){var Y=X[J],z=X[J+1];if(Y===S9)Rz(Z,z);else if(Y===y6)_z(Z,z);else if(Y===V9)XX(Z,z);else C(Z,Y,z,G)}}function CM(Z,X,Q,G){var J,Y=JK(Q),z,W=G;if(W===U5)W=BG(Z);if(W===U5){if(J=q9(Z,X),!J&&Z!==Z.toLowerCase())q("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z);if(Z==="script"){var K=Y.createElement("div");K.innerHTML="<script></script>";var B=K.firstChild;z=K.removeChild(B)}else if(typeof X.is==="string")z=Y.createElement(Z,{is:X.is});else if(z=Y.createElement(Z),Z==="select"){var $=z;if(X.multiple)$.multiple=!0;else if(X.size)$.size=X.size}}else z=Y.createElementNS(W,Z);if(W===U5){if(!J&&Object.prototype.toString.call(z)==="[object HTMLUnknownElement]"&&!w4.call(VJ,Z))VJ[Z]=!0,q("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",Z)}return z}function TM(Z,X){return JK(X).createTextNode(Z)}function hM(Z,X,Q,G){var J=q9(X,Q);kX(X,Q);var Y;switch(X){case"dialog":_1("cancel",Z),_1("close",Z),Y=Q;break;case"iframe":case"object":case"embed":_1("load",Z),Y=Q;break;case"video":case"audio":for(var z=0;z<u6.length;z++)_1(u6[z],Z);Y=Q;break;case"source":_1("error",Z),Y=Q;break;case"img":case"image":case"link":_1("error",Z),_1("load",Z),Y=Q;break;case"details":_1("toggle",Z),Y=Q;break;case"input":M(Z,Q),Y=U(Z,Q),_1("invalid",Z);break;case"option":z1(Z,Q),Y=Q;break;case"select":z6(Z,Q),Y=Y6(Z,Q),_1("invalid",Z);break;case"textarea":qz(Z,Q),Y=KG(Z,Q),_1("invalid",Z);break;default:Y=Q}switch(OG(X,Y),DM(X,Z,G,Y,J),X){case"input":W5(Z),f(Z,Q,!1);break;case"textarea":W5(Z),Oz(Z);break;case"option":O1(Z,Q);break;case"select":WG(Z,Q);break;default:if(typeof Y.onClick==="function")xX(Z);break}}function xM(Z,X,Q,G,J){kX(X,G);var Y=null,z,W;switch(X){case"input":z=U(Z,Q),W=U(Z,G),Y=[];break;case"select":z=Y6(Z,Q),W=Y6(Z,G),Y=[];break;case"textarea":z=KG(Z,Q),W=KG(Z,G),Y=[];break;default:if(z=Q,W=G,typeof z.onClick!=="function"&&typeof W.onClick==="function")xX(Z);break}OG(X,W);var K,B,$=null;for(K in z){if(W.hasOwnProperty(K)||!z.hasOwnProperty(K)||z[K]==null)continue;if(K===S9){var _=z[K];for(B in _)if(_.hasOwnProperty(B)){if(!$)$={};$[B]=""}}else if(K===y6||K===V9);else if(K===jX||K===l5);else if(K===ZK);else if(g1.hasOwnProperty(K)){if(!Y)Y=[]}else(Y=Y||[]).push(K,null)}for(K in W){var O=W[K],I=z!=null?z[K]:void 0;if(!W.hasOwnProperty(K)||O===I||O==null&&I==null)continue;if(K===S9){if(O)Object.freeze(O);if(I){for(B in I)if(I.hasOwnProperty(B)&&(!O||!O.hasOwnProperty(B))){if(!$)$={};$[B]=""}for(B in O)if(O.hasOwnProperty(B)&&I[B]!==O[B]){if(!$)$={};$[B]=O[B]}}else{if(!$){if(!Y)Y=[];Y.push(K,$)}$=O}}else if(K===y6){var N=O?O[DX]:void 0,V=I?I[DX]:void 0;if(N!=null){if(V!==N)(Y=Y||[]).push(K,N)}}else if(K===V9){if(typeof O==="string"||typeof O==="number")(Y=Y||[]).push(K,""+O)}else if(K===jX||K===l5);else if(g1.hasOwnProperty(K)){if(O!=null){if(typeof O!=="function")CX(K,O);if(K==="onScroll")_1("scroll",Z)}if(!Y&&I!==O)Y=[]}else(Y=Y||[]).push(K,O)}if($)eB($,W[S9]),(Y=Y||[]).push(S9,$);return Y}function gM(Z,X,Q,G,J){if(Q==="input"&&J.type==="radio"&&J.name!=null)w(Z,J);var Y=q9(Q,G),z=q9(Q,J);switch(kM(Z,X,Y,z),Q){case"input":S(Z,J);break;case"textarea":Mz(Z,J);break;case"select":kB(Z,J);break}}function EM(Z){{var X=Z.toLowerCase();if(!QX.hasOwnProperty(X))return null;return QX[X]||null}}function fM(Z,X,Q,G,J,Y,z){var W,K;switch(W=q9(X,Q),kX(X,Q),X){case"dialog":_1("cancel",Z),_1("close",Z);break;case"iframe":case"object":case"embed":_1("load",Z);break;case"video":case"audio":for(var B=0;B<u6.length;B++)_1(u6[B],Z);break;case"source":_1("error",Z);break;case"img":case"image":case"link":_1("error",Z),_1("load",Z);break;case"details":_1("toggle",Z);break;case"input":M(Z,Q),_1("invalid",Z);break;case"option":z1(Z,Q);break;case"select":z6(Z,Q),_1("invalid",Z);break;case"textarea":qz(Z,Q),_1("invalid",Z);break}OG(X,Q);{K=new Set;var $=Z.attributes;for(var _=0;_<$.length;_++){var O=$[_].name.toLowerCase();switch(O){case"value":break;case"checked":break;case"selected":break;default:K.add($[_].name)}}}var I=null;for(var N in Q){if(!Q.hasOwnProperty(N))continue;var V=Q[N];if(N===V9){if(typeof V==="string"){if(Z.textContent!==V){if(Q[l5]!==!0)hX(Z.textContent,V,Y,z);I=[V9,V]}}else if(typeof V==="number"){if(Z.textContent!==""+V){if(Q[l5]!==!0)hX(Z.textContent,V,Y,z);I=[V9,""+V]}}}else if(g1.hasOwnProperty(N)){if(V!=null){if(typeof V!=="function")CX(N,V);if(N==="onScroll")_1("scroll",Z)}}else if(z&&!0&&typeof W==="boolean"){var m=void 0,G0=W&&R4?null:n1(N);if(Q[l5]===!0);else if(N===jX||N===l5||N==="value"||N==="checked"||N==="selected");else if(N===y6){var Z0=Z.innerHTML,j0=V?V[DX]:void 0;if(j0!=null){var D0=GK(Z,j0);if(D0!==Z0)m6(N,Z0,D0)}}else if(N===S9){if(K.delete(N),QK){var F=nB(V);if(m=Z.getAttribute("style"),F!==m)m6(N,m,F)}}else if(W&&!R4){if(K.delete(N.toLowerCase()),m=P(Z,N,V),V!==m)m6(N,m,V)}else if(!s0(N,G0,W)&&!J1(N,V,G0,W)){var b=!1;if(G0!==null)K.delete(G0.attributeName),m=x4(Z,N,V,G0);else{var L=G;if(L===U5)L=BG(X);if(L===U5)K.delete(N.toLowerCase());else{var x=EM(N);if(x!==null&&x!==N)b=!0,K.delete(x);K.delete(N)}m=P(Z,N,V)}var s=R4;if(!s&&V!==m&&!b)m6(N,m,V)}}}if(z){if(K.size>0&&Q[l5]!==!0)XK(K)}switch(X){case"input":W5(Z),f(Z,Q,!0);break;case"textarea":W5(Z),Oz(Z);break;case"select":case"option":break;default:if(typeof Q.onClick==="function")xX(Z);break}return I}function uM(Z,X,Q){var G=Z.nodeValue!==X;return G}function SJ(Z,X){{if(t4)return;t4=!0,q("Did not expect server HTML to contain a <%s> in <%s>.",X.nodeName.toLowerCase(),Z.nodeName.toLowerCase())}}function bJ(Z,X){{if(t4)return;t4=!0,q('Did not expect server HTML to contain the text node "%s" in <%s>.',X.nodeValue,Z.nodeName.toLowerCase())}}function jJ(Z,X,Q){{if(t4)return;t4=!0,q("Expected server HTML to contain a matching <%s> in <%s>.",X,Z.nodeName.toLowerCase())}}function DJ(Z,X){{if(X==="")return;if(t4)return;t4=!0,q('Expected server HTML to contain a matching text node for "%s" in <%s>.',X,Z.nodeName.toLowerCase())}}function vM(Z,X,Q){switch(X){case"input":B0(Z,Q);return;case"textarea":TB(Z,Q);return;case"select":CB(Z,Q);return}}var c6=function(){},i6=function(){};{var dM=["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"],YK=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],yM=YK.concat(["button"]),mM=["dd","dt","li","option","optgroup","p","rp","rt"],zK={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};i6=function(Z,X){var Q=h0({},Z||zK),G={tag:X};if(YK.indexOf(X)!==-1)Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null;if(yM.indexOf(X)!==-1)Q.pTagInButtonScope=null;if(dM.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p")Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null;if(Q.current=G,X==="form")Q.formTag=G;if(X==="a")Q.aTagInScope=G;if(X==="button")Q.buttonTagInScope=G;if(X==="nobr")Q.nobrTagInScope=G;if(X==="p")Q.pTagInButtonScope=G;if(X==="li")Q.listItemTagAutoclosing=G;if(X==="dd"||X==="dt")Q.dlItemTagAutoclosing=G;return Q};var cM=function(Z,X){switch(X){case"select":return Z==="option"||Z==="optgroup"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return mM.indexOf(X)===-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 X==null}return!0},iM=function(Z,X){switch(Z){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 X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null},WK={};c6=function(Z,X,Q){Q=Q||zK;var G=Q.current,J=G&&G.tag;if(X!=null){if(Z!=null)q("validateDOMNesting: when childText is passed, childTag should be null");Z="#text"}var Y=cM(Z,J)?null:G,z=Y?null:iM(Z,Q),W=Y||z;if(!W)return;var K=W.tag,B=!!Y+"|"+Z+"|"+K;if(WK[B])return;WK[B]=!0;var $=Z,_="";if(Z==="#text")if(/\S/.test(X))$="Text nodes";else $="Whitespace text nodes",_=" Make sure you don't have any extra whitespace between tags on each line of your source code.";else $="<"+Z+">";if(Y){var O="";if(K==="table"&&Z==="tr")O+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.";q("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",$,K,_,O)}else q("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",$,K)}}var gX="suppressHydrationWarning",EX="$",fX="/$",l6="$?",p6="$!",lM="style",kJ=null,CJ=null;function pM(Z){var X,Q,G=Z.nodeType;switch(G){case $5:case HG:{X=G===$5?"#document":"#fragment";var J=Z.documentElement;Q=J?J.namespaceURI:$G(null,"");break}default:{var Y=G===f1?Z.parentNode:Z,z=Y.namespaceURI||null;X=Y.tagName,Q=$G(z,X);break}}{var W=X.toLowerCase(),K=i6(null,W);return{namespace:Q,ancestorInfo:K}}}function oM(Z,X,Q){{var G=Z,J=$G(G.namespace,X),Y=i6(G.ancestorInfo,X);return{namespace:J,ancestorInfo:Y}}}function TJ(Z){return Z}function sM(Z){kJ=lH(),CJ=KM();var X=null;return OW(!1),X}function aM(Z){UM(CJ),OW(kJ),kJ=null,CJ=null}function rM(Z,X,Q,G,J){var Y;{var z=G;if(c6(Z,null,z.ancestorInfo),typeof X.children==="string"||typeof X.children==="number"){var W=""+X.children,K=i6(z.ancestorInfo,Z);c6(null,W,K)}Y=z.namespace}var B=CM(Z,X,Q,Y);return a6(J,B),dJ(B,X),B}function nM(Z,X){Z.appendChild(X)}function tM(Z,X,Q,G,J){switch(hM(Z,X,Q,G),X){case"button":case"input":case"select":case"textarea":return!!Q.autoFocus;case"img":return!0;default:return!1}}function eM(Z,X,Q,G,J,Y){{var z=Y;if(typeof G.children!==typeof Q.children&&(typeof G.children==="string"||typeof G.children==="number")){var W=""+G.children,K=i6(z.ancestorInfo,X);c6(null,W,K)}}return xM(Z,X,Q,G)}function hJ(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function ZO(Z,X,Q,G){{var J=Q;c6(null,Z,J.ancestorInfo)}var Y=TM(Z,X);return a6(G,Y),Y}function XO(){var Z=window.event;if(Z===void 0)return A5;return _W(Z.type)}var xJ=typeof setTimeout==="function"?setTimeout:void 0,QO=typeof clearTimeout==="function"?clearTimeout:void 0,gJ=-1,KK=typeof Promise==="function"?Promise:void 0,GO=typeof queueMicrotask==="function"?queueMicrotask:typeof KK!=="undefined"?function(Z){return KK.resolve(null).then(Z).catch(JO)}:xJ;function JO(Z){setTimeout(function(){throw Z})}function YO(Z,X,Q,G){switch(X){case"button":case"input":case"select":case"textarea":if(Q.autoFocus)Z.focus();return;case"img":{if(Q.src)Z.src=Q.src;return}}}function zO(Z,X,Q,G,J,Y){gM(Z,X,Q,G,J),dJ(Z,J)}function UK(Z){XX(Z,"")}function WO(Z,X,Q){Z.nodeValue=Q}function KO(Z,X){Z.appendChild(X)}function UO(Z,X){var Q;if(Z.nodeType===f1)Q=Z.parentNode,Q.insertBefore(X,Z);else Q=Z,Q.appendChild(X);var G=Z._reactRootContainer;if((G===null||G===void 0)&&Q.onclick===null)xX(Q)}function BO(Z,X,Q){Z.insertBefore(X,Q)}function $O(Z,X,Q){if(Z.nodeType===f1)Z.parentNode.insertBefore(X,Q);else Z.insertBefore(X,Q)}function HO(Z,X){Z.removeChild(X)}function qO(Z,X){if(Z.nodeType===f1)Z.parentNode.removeChild(X);else Z.removeChild(X)}function EJ(Z,X){var Q=X,G=0;do{var J=Q.nextSibling;if(Z.removeChild(Q),J&&J.nodeType===f1){var Y=J.data;if(Y===fX)if(G===0){Z.removeChild(J),j6(X);return}else G--;else if(Y===EX||Y===l6||Y===p6)G++}Q=J}while(Q);j6(X)}function MO(Z,X){if(Z.nodeType===f1)EJ(Z.parentNode,X);else if(Z.nodeType===n4)EJ(Z,X);j6(Z)}function OO(Z){Z=Z;var X=Z.style;if(typeof X.setProperty==="function")X.setProperty("display","none","important");else X.display="none"}function _O(Z){Z.nodeValue=""}function PO(Z,X){Z=Z;var Q=X[lM],G=Q!==void 0&&Q!==null&&Q.hasOwnProperty("display")?Q.display:null;Z.style.display=qG("display",G)}function AO(Z,X){Z.nodeValue=X}function FO(Z){if(Z.nodeType===n4)Z.textContent="";else if(Z.nodeType===$5){if(Z.documentElement)Z.removeChild(Z.documentElement)}}function LO(Z,X,Q){if(Z.nodeType!==n4||X.toLowerCase()!==Z.nodeName.toLowerCase())return null;return Z}function RO(Z,X){if(X===""||Z.nodeType!==B5)return null;return Z}function wO(Z){if(Z.nodeType!==f1)return null;return Z}function BK(Z){return Z.data===l6}function fJ(Z){return Z.data===p6}function IO(Z){var X=Z.nextSibling&&Z.nextSibling.dataset,Q,G,J;if(X)Q=X.dgst,G=X.msg,J=X.stck;return{message:G,digest:Q,stack:J}}function NO(Z,X){Z._reactRetry=X}function uX(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===n4||X===B5)break;if(X===f1){var Q=Z.data;if(Q===EX||Q===p6||Q===l6)break;if(Q===fX)return null}}return Z}function o6(Z){return uX(Z.nextSibling)}function VO(Z){return uX(Z.firstChild)}function SO(Z){return uX(Z.firstChild)}function bO(Z){return uX(Z.nextSibling)}function jO(Z,X,Q,G,J,Y,z){a6(Y,Z),dJ(Z,Q);var W;{var K=J;W=K.namespace}var B=(Y.mode&g0)!==W0;return fM(Z,X,Q,W,G,B,z)}function DO(Z,X,Q,G){a6(Q,Z);var J=(Q.mode&g0)!==W0;return uM(Z,X)}function kO(Z,X){a6(X,Z)}function CO(Z){var X=Z.nextSibling,Q=0;while(X){if(X.nodeType===f1){var G=X.data;if(G===fX)if(Q===0)return o6(X);else Q--;else if(G===EX||G===p6||G===l6)Q++}X=X.nextSibling}return null}function $K(Z){var X=Z.previousSibling,Q=0;while(X){if(X.nodeType===f1){var G=X.data;if(G===EX||G===p6||G===l6)if(Q===0)return X;else Q--;else if(G===fX)Q++}X=X.previousSibling}return null}function TO(Z){j6(Z)}function hO(Z){j6(Z)}function xO(Z){return Z!=="head"&&Z!=="body"}function gO(Z,X,Q,G){var J=!0;hX(X.nodeValue,Q,G,J)}function EO(Z,X,Q,G,J,Y){if(X[gX]!==!0){var z=!0;hX(G.nodeValue,J,Y,z)}}function fO(Z,X){if(X.nodeType===n4)SJ(Z,X);else if(X.nodeType===f1);else bJ(Z,X)}function uO(Z,X){{var Q=Z.parentNode;if(Q!==null)if(X.nodeType===n4)SJ(Q,X);else if(X.nodeType===f1);else bJ(Q,X)}}function vO(Z,X,Q,G,J){if(J||X[gX]!==!0)if(G.nodeType===n4)SJ(Q,G);else if(G.nodeType===f1);else bJ(Q,G)}function dO(Z,X,Q){jJ(Z,X)}function yO(Z,X){DJ(Z,X)}function mO(Z,X,Q){{var G=Z.parentNode;if(G!==null)jJ(G,X)}}function cO(Z,X){{var Q=Z.parentNode;if(Q!==null)DJ(Q,X)}}function iO(Z,X,Q,G,J,Y){if(Y||X[gX]!==!0)jJ(Q,G)}function lO(Z,X,Q,G,J){if(J||X[gX]!==!0)DJ(Q,G)}function pO(Z){q("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",Z.nodeName.toLowerCase())}function oO(Z){v6(Z)}var O7=Math.random().toString(36).slice(2),_7="__reactFiber$"+O7,uJ="__reactProps$"+O7,s6="__reactContainer$"+O7,vJ="__reactEvents$"+O7,sO="__reactListeners$"+O7,aO="__reactHandles$"+O7;function rO(Z){delete Z[_7],delete Z[uJ],delete Z[vJ],delete Z[sO],delete Z[aO]}function a6(Z,X){X[_7]=Z}function vX(Z,X){X[s6]=Z}function HK(Z){Z[s6]=null}function r6(Z){return!!Z[s6]}function b9(Z){var X=Z[_7];if(X)return X;var Q=Z.parentNode;while(Q){if(X=Q[s6]||Q[_7],X){var G=X.alternate;if(X.child!==null||G!==null&&G.child!==null){var J=$K(Z);while(J!==null){var Y=J[_7];if(Y)return Y;J=$K(J)}}return X}Z=Q,Q=Z.parentNode}return null}function p5(Z){var X=Z[_7]||Z[s6];if(X)if(X.tag===a||X.tag===S0||X.tag===H0||X.tag===Y0)return X;else return null;return null}function P7(Z){if(Z.tag===a||Z.tag===S0)return Z.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function dX(Z){return Z[uJ]||null}function dJ(Z,X){Z[uJ]=X}function nO(Z){var X=Z[vJ];if(X===void 0)X=Z[vJ]=new Set;return X}var qK={},MK=c.ReactDebugCurrentFrame;function yX(Z){if(Z){var X=Z._owner,Q=g5(Z.type,Z._source,X?X.type:null);MK.setExtraStackFrame(Q)}else MK.setExtraStackFrame(null)}function E8(Z,X,Q,G,J){{var Y=Function.call.bind(w4);for(var z in Z)if(Y(Z,z)){var W=void 0;try{if(typeof Z[z]!=="function"){var K=Error((G||"React class")+": "+Q+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}W=Z[z](X,z,G,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){W=B}if(W&&!(W instanceof Error))yX(J),q("%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).",G||"React class",Q,z,typeof W),yX(null);if(W instanceof Error&&!(W.message in qK))qK[W.message]=!0,yX(J),q("Failed %s type: %s",Q,W.message),yX(null)}}}var yJ=[],mX;mX=[];var F5=-1;function o5(Z){return{current:Z}}function b4(Z,X){if(F5<0){q("Unexpected pop.");return}if(X!==mX[F5])q("Unexpected Fiber popped.");Z.current=yJ[F5],yJ[F5]=null,mX[F5]=null,F5--}function j4(Z,X,Q){F5++,yJ[F5]=Z.current,mX[F5]=Q,Z.current=X}var OK={},O8={};Object.freeze(O8);var L5=o5(O8),n8=o5(!1),mJ=O8;function A7(Z,X,Q){{if(Q&&t8(X))return mJ;return L5.current}}function _K(Z,X,Q){{var G=Z.stateNode;G.__reactInternalMemoizedUnmaskedChildContext=X,G.__reactInternalMemoizedMaskedChildContext=Q}}function F7(Z,X){{var Q=Z.type,G=Q.contextTypes;if(!G)return O8;var J=Z.stateNode;if(J&&J.__reactInternalMemoizedUnmaskedChildContext===X)return J.__reactInternalMemoizedMaskedChildContext;var Y={};for(var z in G)Y[z]=X[z];{var W=I0(Z)||"Unknown";E8(G,Y,"context",W)}if(J)_K(Z,X,Y);return Y}}function cX(){return n8.current}function t8(Z){{var X=Z.childContextTypes;return X!==null&&X!==void 0}}function iX(Z){b4(n8,Z),b4(L5,Z)}function cJ(Z){b4(n8,Z),b4(L5,Z)}function PK(Z,X,Q){{if(L5.current!==O8)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");j4(L5,X,Z),j4(n8,Q,Z)}}function AK(Z,X,Q){{var G=Z.stateNode,J=X.childContextTypes;if(typeof G.getChildContext!=="function"){{var Y=I0(Z)||"Unknown";if(!OK[Y])OK[Y]=!0,q("%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.",Y,Y)}return Q}var z=G.getChildContext();for(var W in z)if(!(W in J))throw new Error((I0(Z)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var K=I0(Z)||"Unknown";E8(J,z,"child context",K)}return h0({},Q,z)}}function lX(Z){{var X=Z.stateNode,Q=X&&X.__reactInternalMemoizedMergedChildContext||O8;return mJ=L5.current,j4(L5,Q,Z),j4(n8,n8.current,Z),!0}}function FK(Z,X,Q){{var G=Z.stateNode;if(!G)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(Q){var J=AK(Z,X,mJ);G.__reactInternalMemoizedMergedChildContext=J,b4(n8,Z),b4(L5,Z),j4(L5,J,Z),j4(n8,Q,Z)}else b4(n8,Z),j4(n8,Q,Z)}}function tO(Z){{if(!x$(Z)||Z.tag!==J0)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 X=Z;do{switch(X.tag){case Y0:return X.stateNode.context;case J0:{var Q=X.type;if(t8(Q))return X.stateNode.__reactInternalMemoizedMergedChildContext;break}}X=X.return}while(X!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var s5=0,pX=1,R5=null,iJ=!1,lJ=!1;function LK(Z){if(R5===null)R5=[Z];else R5.push(Z)}function eO(Z){iJ=!0,LK(Z)}function RK(){if(iJ)a5()}function a5(){if(!lJ&&R5!==null){lJ=!0;var Z=0,X=g8();try{var Q=!0,G=R5;G4(H8);for(;Z<G.length;Z++){var J=G[Z];do J=J(Q);while(J!==null)}R5=null,iJ=!1}catch(Y){if(R5!==null)R5=R5.slice(Z+1);throw iz(WX,a5),Y}finally{G4(X),lJ=!1}}return null}var L7=[],R7=0,oX=null,sX=0,I8=[],N8=0,j9=null,w5=1,I5="";function Z_(Z){return k9(),(Z.flags&Ez)!==U0}function X_(Z){return k9(),sX}function Q_(){var Z=I5,X=w5,Q=X&~G_(X);return Q.toString(32)+Z}function D9(Z,X){k9(),L7[R7++]=sX,L7[R7++]=oX,oX=Z,sX=X}function wK(Z,X,Q){k9(),I8[N8++]=w5,I8[N8++]=I5,I8[N8++]=j9,j9=Z;var G=w5,J=I5,Y=aX(G)-1,z=G&~(1<<Y),W=Q+1,K=aX(X)+Y;if(K>30){var B=Y-Y%5,$=(1<<B)-1,_=(z&$).toString(32),O=z>>B,I=Y-B,N=aX(X)+I,V=W<<I,m=V|O,G0=_+J;w5=1<<N|m,I5=G0}else{var Z0=W<<Y,j0=Z0|z,D0=J;w5=1<<K|j0,I5=D0}}function pJ(Z){k9();var X=Z.return;if(X!==null){var Q=1,G=0;D9(Z,Q),wK(Z,Q,G)}}function aX(Z){return 32-rz(Z)}function G_(Z){return 1<<aX(Z)-1}function oJ(Z){while(Z===oX)oX=L7[--R7],L7[R7]=null,sX=L7[--R7],L7[R7]=null;while(Z===j9)j9=I8[--N8],I8[N8]=null,I5=I8[--N8],I8[N8]=null,w5=I8[--N8],I8[N8]=null}function J_(){if(k9(),j9!==null)return{id:w5,overflow:I5};else return null}function Y_(Z,X){k9(),I8[N8++]=w5,I8[N8++]=I5,I8[N8++]=j9,w5=X.id,I5=X.overflow,j9=Z}function k9(){if(!$4())q("Expected to be hydrating. This is a bug in React. Please file an issue.")}var B4=null,V8=null,f8=!1,C9=!1,r5=null;function z_(){if(f8)q("We should not be hydrating here. This is a bug in React. Please file a bug.")}function IK(){C9=!0}function W_(){return C9}function K_(Z){var X=Z.stateNode.containerInfo;return V8=SO(X),B4=Z,f8=!0,r5=null,C9=!1,!0}function U_(Z,X,Q){if(V8=bO(X),B4=Z,f8=!0,r5=null,C9=!1,Q!==null)Y_(Z,Q);return!0}function NK(Z,X){switch(Z.tag){case Y0:{fO(Z.stateNode.containerInfo,X);break}case a:{var Q=(Z.mode&g0)!==W0;vO(Z.type,Z.memoizedProps,Z.stateNode,X,Q);break}case H0:{var G=Z.memoizedState;if(G.dehydrated!==null)uO(G.dehydrated,X);break}}}function VK(Z,X){NK(Z,X);var Q=PF();Q.stateNode=X,Q.return=Z;var G=Z.deletions;if(G===null)Z.deletions=[Q],Z.flags|=M9;else G.push(Q)}function sJ(Z,X){{if(C9)return;switch(Z.tag){case Y0:{var Q=Z.stateNode.containerInfo;switch(X.tag){case a:var{type:G,pendingProps:J}=X;dO(Q,G);break;case S0:var Y=X.pendingProps;yO(Q,Y);break}break}case a:{var{type:z,memoizedProps:W,stateNode:K}=Z;switch(X.tag){case a:{var{type:B,pendingProps:$}=X,_=(Z.mode&g0)!==W0;iO(z,W,K,B,$,_);break}case S0:{var O=X.pendingProps,I=(Z.mode&g0)!==W0;lO(z,W,K,O,I);break}}break}case H0:{var N=Z.memoizedState,V=N.dehydrated;if(V!==null)switch(X.tag){case a:var{type:m,pendingProps:G0}=X;mO(V,m);break;case S0:var Z0=X.pendingProps;cO(V,Z0);break}break}default:return}}}function SK(Z,X){X.flags=X.flags&~q5|u1,sJ(Z,X)}function bK(Z,X){switch(Z.tag){case a:{var{type:Q,pendingProps:G}=Z,J=LO(X,Q);if(J!==null)return Z.stateNode=J,B4=Z,V8=VO(J),!0;return!1}case S0:{var Y=Z.pendingProps,z=RO(X,Y);if(z!==null)return Z.stateNode=z,B4=Z,V8=null,!0;return!1}case H0:{var W=wO(X);if(W!==null){var K={dehydrated:W,treeContext:J_(),retryLane:B8};Z.memoizedState=K;var B=AF(W);return B.return=Z,Z.child=B,B4=Z,V8=null,!0}return!1}default:return!1}}function aJ(Z){return(Z.mode&g0)!==W0&&(Z.flags&i0)===U0}function rJ(Z){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function nJ(Z){if(!f8)return;var X=V8;if(!X){if(aJ(Z))sJ(B4,Z),rJ();SK(B4,Z),f8=!1,B4=Z;return}var Q=X;if(!bK(Z,X)){if(aJ(Z))sJ(B4,Z),rJ();X=o6(Q);var G=B4;if(!X||!bK(Z,X)){SK(B4,Z),f8=!1,B4=Z;return}VK(G,Q)}}function B_(Z,X,Q){var G=Z.stateNode,J=!C9,Y=jO(G,Z.type,Z.memoizedProps,X,Q,Z,J);if(Z.updateQueue=Y,Y!==null)return!0;return!1}function $_(Z){var{stateNode:X,memoizedProps:Q}=Z,G=DO(X,Q,Z);if(G){var J=B4;if(J!==null)switch(J.tag){case Y0:{var Y=J.stateNode.containerInfo,z=(J.mode&g0)!==W0;gO(Y,X,Q,z);break}case a:{var{type:W,memoizedProps:K,stateNode:B}=J,$=(J.mode&g0)!==W0;EO(W,K,B,X,Q,$);break}}}return G}function H_(Z){var X=Z.memoizedState,Q=X!==null?X.dehydrated:null;if(!Q)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");kO(Q,Z)}function q_(Z){var X=Z.memoizedState,Q=X!==null?X.dehydrated:null;if(!Q)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 CO(Q)}function jK(Z){var X=Z.return;while(X!==null&&X.tag!==a&&X.tag!==Y0&&X.tag!==H0)X=X.return;B4=X}function rX(Z){if(Z!==B4)return!1;if(!f8)return jK(Z),f8=!0,!1;if(Z.tag!==Y0&&(Z.tag!==a||xO(Z.type)&&!hJ(Z.type,Z.memoizedProps))){var X=V8;if(X)if(aJ(Z))DK(Z),rJ();else while(X)VK(Z,X),X=o6(X)}if(jK(Z),Z.tag===H0)V8=q_(Z);else V8=B4?o6(Z.stateNode):null;return!0}function M_(){return f8&&V8!==null}function DK(Z){var X=V8;while(X)NK(Z,X),X=o6(X)}function w7(){B4=null,V8=null,f8=!1,C9=!1}function kK(){if(r5!==null)NU(r5),r5=null}function $4(){return f8}function tJ(Z){if(r5===null)r5=[Z];else r5.push(Z)}var O_=c.ReactCurrentBatchConfig,__=null;function P_(){return O_.transition}var u8={recordUnsafeLifecycleWarnings:function(Z,X){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(Z,X){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var A_=function(Z){var X=null,Q=Z;while(Q!==null){if(Q.mode&S1)X=Q;Q=Q.return}return X},T9=function(Z){var X=[];return Z.forEach(function(Q){X.push(Q)}),X.sort().join(", ")},n6=[],t6=[],e6=[],ZZ=[],XZ=[],QZ=[],h9=new Set;u8.recordUnsafeLifecycleWarnings=function(Z,X){if(h9.has(Z.type))return;if(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0)n6.push(Z);if(Z.mode&S1&&typeof X.UNSAFE_componentWillMount==="function")t6.push(Z);if(typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0)e6.push(Z);if(Z.mode&S1&&typeof X.UNSAFE_componentWillReceiveProps==="function")ZZ.push(Z);if(typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0)XZ.push(Z);if(Z.mode&S1&&typeof X.UNSAFE_componentWillUpdate==="function")QZ.push(Z)},u8.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;if(n6.length>0)n6.forEach(function(O){Z.add(I0(O)||"Component"),h9.add(O.type)}),n6=[];var X=new Set;if(t6.length>0)t6.forEach(function(O){X.add(I0(O)||"Component"),h9.add(O.type)}),t6=[];var Q=new Set;if(e6.length>0)e6.forEach(function(O){Q.add(I0(O)||"Component"),h9.add(O.type)}),e6=[];var G=new Set;if(ZZ.length>0)ZZ.forEach(function(O){G.add(I0(O)||"Component"),h9.add(O.type)}),ZZ=[];var J=new Set;if(XZ.length>0)XZ.forEach(function(O){J.add(I0(O)||"Component"),h9.add(O.type)}),XZ=[];var Y=new Set;if(QZ.length>0)QZ.forEach(function(O){Y.add(I0(O)||"Component"),h9.add(O.type)}),QZ=[];if(X.size>0){var z=T9(X);q(`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`,z)}if(G.size>0){var W=T9(G);q(`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`,W)}if(Y.size>0){var K=T9(Y);q(`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`,K)}if(Z.size>0){var B=T9(Z);$1(`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`,B)}if(Q.size>0){var $=T9(Q);$1(`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`,$)}if(J.size>0){var _=T9(J);$1(`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`,_)}};var nX=new Map,CK=new Set;u8.recordLegacyContextWarning=function(Z,X){var Q=A_(Z);if(Q===null){q("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(CK.has(Z.type))return;var G=nX.get(Q);if(Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function"){if(G===void 0)G=[],nX.set(Q,G);G.push(Z)}},u8.flushLegacyContextWarning=function(){nX.forEach(function(Z,X){if(Z.length===0)return;var Q=Z[0],G=new Set;Z.forEach(function(Y){G.add(I0(Y)||"Component"),CK.add(Y.type)});var J=T9(G);try{w1(Q),q(`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`,J)}finally{e1()}})},u8.discardPendingWarnings=function(){n6=[],t6=[],e6=[],ZZ=[],XZ=[],QZ=[],nX=new Map}}var eJ,ZY,XY,QY,GY,TK=function(Z,X){};eJ=!1,ZY=!1,XY={},QY={},GY={},TK=function(Z,X){if(Z===null||typeof Z!=="object")return;if(!Z._store||Z._store.validated||Z.key!=null)return;if(typeof Z._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.");Z._store.validated=!0;var Q=I0(X)||"Component";if(QY[Q])return;QY[Q]=!0,q('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.')};function F_(Z){return Z.prototype&&Z.prototype.isReactComponent}function GZ(Z,X,Q){var G=Q.ref;if(G!==null&&typeof G!=="function"&&typeof G!=="object"){if((Z.mode&S1||x1)&&!(Q._owner&&Q._self&&Q._owner.stateNode!==Q._self)&&!(Q._owner&&Q._owner.tag!==J0)&&!(typeof Q.type==="function"&&!F_(Q.type))&&Q._owner){var J=I0(Z)||"Component";if(!XY[J])q('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',J,G),XY[J]=!0}if(Q._owner){var Y=Q._owner,z;if(Y){var W=Y;if(W.tag!==J0)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");z=W.stateNode}if(!z)throw new Error("Missing owner for string ref "+G+". This error is likely caused by a bug in React. Please file an issue.");var K=z;U1(G,"ref");var B=""+G;if(X!==null&&X.ref!==null&&typeof X.ref==="function"&&X.ref._stringRef===B)return X.ref;var $=function(_){var O=K.refs;if(_===null)delete O[B];else O[B]=_};return $._stringRef=B,$}else{if(typeof G!=="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!Q._owner)throw new Error("Element ref was specified as a string ("+G+`) 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 G}function tX(Z,X){var Q=Object.prototype.toString.call(X);throw new Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}function eX(Z){{var X=I0(Z)||"Component";if(GY[X])return;GY[X]=!0,q("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 hK(Z){var{_payload:X,_init:Q}=Z;return Q(X)}function xK(Z){function X(F,b){if(!Z)return;var L=F.deletions;if(L===null)F.deletions=[b],F.flags|=M9;else L.push(b)}function Q(F,b){if(!Z)return null;var L=b;while(L!==null)X(F,L),L=L.sibling;return null}function G(F,b){var L=new Map,x=b;while(x!==null){if(x.key!==null)L.set(x.key,x);else L.set(x.index,x);x=x.sibling}return L}function J(F,b){var L=m9(F,b);return L.index=0,L.sibling=null,L}function Y(F,b,L){if(F.index=L,!Z)return F.flags|=Ez,b;var x=F.alternate;if(x!==null){var s=x.index;if(s<b)return F.flags|=u1,b;else return s}else return F.flags|=u1,b}function z(F){if(Z&&F.alternate===null)F.flags|=u1;return F}function W(F,b,L,x){if(b===null||b.tag!==S0){var s=Zz(L,F.mode,x);return s.return=F,s}else{var l=J(b,L);return l.return=F,l}}function K(F,b,L,x){var s=L.type;if(s===k)return $(F,b,L.props.children,x,L.key);if(b!==null){if(b.elementType===s||dU(b,L)||typeof s==="object"&&s!==null&&s.$$typeof===t&&hK(s)===b.type){var l=J(b,L.props);return l.ref=GZ(F,b,L),l.return=F,l._debugSource=L._source,l._debugOwner=L._owner,l}}var $0=e3(L,F.mode,x);return $0.ref=GZ(F,b,L),$0.return=F,$0}function B(F,b,L,x){if(b===null||b.tag!==V0||b.stateNode.containerInfo!==L.containerInfo||b.stateNode.implementation!==L.implementation){var s=Xz(L,F.mode,x);return s.return=F,s}else{var l=J(b,L.children||[]);return l.return=F,l}}function $(F,b,L,x,s){if(b===null||b.tag!==d1){var l=W9(L,F.mode,x,s);return l.return=F,l}else{var $0=J(b,L);return $0.return=F,$0}}function _(F,b,L){if(typeof b==="string"&&b!==""||typeof b==="number"){var x=Zz(""+b,F.mode,L);return x.return=F,x}if(typeof b==="object"&&b!==null){switch(b.$$typeof){case E:{var s=e3(b,F.mode,L);return s.ref=GZ(F,null,b),s.return=F,s}case T:{var l=Xz(b,F.mode,L);return l.return=F,l}case t:{var{_payload:$0,_init:L0}=b;return _(F,L0($0),L)}}if(c0(b)||T8(b)){var Z1=W9(b,F.mode,L,null);return Z1.return=F,Z1}tX(F,b)}if(typeof b==="function")eX(F);return null}function O(F,b,L,x){var s=b!==null?b.key:null;if(typeof L==="string"&&L!==""||typeof L==="number"){if(s!==null)return null;return W(F,b,""+L,x)}if(typeof L==="object"&&L!==null){switch(L.$$typeof){case E:if(L.key===s)return K(F,b,L,x);else return null;case T:if(L.key===s)return B(F,b,L,x);else return null;case t:{var{_payload:l,_init:$0}=L;return O(F,b,$0(l),x)}}if(c0(L)||T8(L)){if(s!==null)return null;return $(F,b,L,x,null)}tX(F,L)}if(typeof L==="function")eX(F);return null}function I(F,b,L,x,s){if(typeof x==="string"&&x!==""||typeof x==="number"){var l=F.get(L)||null;return W(b,l,""+x,s)}if(typeof x==="object"&&x!==null){switch(x.$$typeof){case E:{var $0=F.get(x.key===null?L:x.key)||null;return K(b,$0,x,s)}case T:{var L0=F.get(x.key===null?L:x.key)||null;return B(b,L0,x,s)}case t:var{_payload:Z1,_init:y0}=x;return I(F,b,L,y0(Z1),s)}if(c0(x)||T8(x)){var T1=F.get(L)||null;return $(b,T1,x,s,null)}tX(b,x)}if(typeof x==="function")eX(b);return null}function N(F,b,L){{if(typeof F!=="object"||F===null)return b;switch(F.$$typeof){case E:case T:TK(F,L);var x=F.key;if(typeof x!=="string")break;if(b===null){b=new Set,b.add(x);break}if(!b.has(x)){b.add(x);break}q("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.",x);break;case t:var{_payload:s,_init:l}=F;N(l(s),b,L);break}}return b}function V(F,b,L,x){{var s=null;for(var l=0;l<L.length;l++){var $0=L[l];s=N($0,s,F)}}var L0=null,Z1=null,y0=b,T1=0,m0=0,b1=null;for(;y0!==null&&m0<L.length;m0++){if(y0.index>m0)b1=y0,y0=null;else b1=y0.sibling;var k4=O(F,y0,L[m0],x);if(k4===null){if(y0===null)y0=b1;break}if(Z){if(y0&&k4.alternate===null)X(F,y0)}if(T1=Y(k4,T1,m0),Z1===null)L0=k4;else Z1.sibling=k4;Z1=k4,y0=b1}if(m0===L.length){if(Q(F,y0),$4()){var A4=m0;D9(F,A4)}return L0}if(y0===null){for(;m0<L.length;m0++){var P8=_(F,L[m0],x);if(P8===null)continue;if(T1=Y(P8,T1,m0),Z1===null)L0=P8;else Z1.sibling=P8;Z1=P8}if($4()){var d4=m0;D9(F,d4)}return L0}var y4=G(F,y0);for(;m0<L.length;m0++){var C4=I(y4,F,m0,L[m0],x);if(C4!==null){if(Z){if(C4.alternate!==null)y4.delete(C4.key===null?m0:C4.key)}if(T1=Y(C4,T1,m0),Z1===null)L0=C4;else Z1.sibling=C4;Z1=C4}}if(Z)y4.forEach(function(y7){return X(F,y7)});if($4()){var k5=m0;D9(F,k5)}return L0}function m(F,b,L,x){var s=T8(L);if(typeof s!=="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{if(typeof Symbol==="function"&&L[Symbol.toStringTag]==="Generator"){if(!ZY)q("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.");ZY=!0}if(L.entries===s){if(!eJ)q("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");eJ=!0}var l=s.call(L);if(l){var $0=null,L0=l.next();for(;!L0.done;L0=l.next()){var Z1=L0.value;$0=N(Z1,$0,F)}}}var y0=s.call(L);if(y0==null)throw new Error("An iterable object provided no iterator.");var T1=null,m0=null,b1=b,k4=0,A4=0,P8=null,d4=y0.next();for(;b1!==null&&!d4.done;A4++,d4=y0.next()){if(b1.index>A4)P8=b1,b1=null;else P8=b1.sibling;var y4=O(F,b1,d4.value,x);if(y4===null){if(b1===null)b1=P8;break}if(Z){if(b1&&y4.alternate===null)X(F,b1)}if(k4=Y(y4,k4,A4),m0===null)T1=y4;else m0.sibling=y4;m0=y4,b1=P8}if(d4.done){if(Q(F,b1),$4()){var C4=A4;D9(F,C4)}return T1}if(b1===null){for(;!d4.done;A4++,d4=y0.next()){var k5=_(F,d4.value,x);if(k5===null)continue;if(k4=Y(k5,k4,A4),m0===null)T1=k5;else m0.sibling=k5;m0=k5}if($4()){var y7=A4;D9(F,y7)}return T1}var gZ=G(F,b1);for(;!d4.done;A4++,d4=y0.next()){var z5=I(gZ,F,A4,d4.value,x);if(z5!==null){if(Z){if(z5.alternate!==null)gZ.delete(z5.key===null?A4:z5.key)}if(k4=Y(z5,k4,A4),m0===null)T1=z5;else m0.sibling=z5;m0=z5}}if(Z)gZ.forEach(function(aF){return X(F,aF)});if($4()){var sF=A4;D9(F,sF)}return T1}function G0(F,b,L,x){if(b!==null&&b.tag===S0){Q(F,b.sibling);var s=J(b,L);return s.return=F,s}Q(F,b);var l=Zz(L,F.mode,x);return l.return=F,l}function Z0(F,b,L,x){var s=L.key,l=b;while(l!==null){if(l.key===s){var $0=L.type;if($0===k){if(l.tag===d1){Q(F,l.sibling);var L0=J(l,L.props.children);return L0.return=F,L0._debugSource=L._source,L0._debugOwner=L._owner,L0}}else if(l.elementType===$0||dU(l,L)||typeof $0==="object"&&$0!==null&&$0.$$typeof===t&&hK($0)===l.type){Q(F,l.sibling);var Z1=J(l,L.props);return Z1.ref=GZ(F,l,L),Z1.return=F,Z1._debugSource=L._source,Z1._debugOwner=L._owner,Z1}Q(F,l);break}else X(F,l);l=l.sibling}if(L.type===k){var y0=W9(L.props.children,F.mode,x,L.key);return y0.return=F,y0}else{var T1=e3(L,F.mode,x);return T1.ref=GZ(F,b,L),T1.return=F,T1}}function j0(F,b,L,x){var s=L.key,l=b;while(l!==null){if(l.key===s)if(l.tag===V0&&l.stateNode.containerInfo===L.containerInfo&&l.stateNode.implementation===L.implementation){Q(F,l.sibling);var $0=J(l,L.children||[]);return $0.return=F,$0}else{Q(F,l);break}else X(F,l);l=l.sibling}var L0=Xz(L,F.mode,x);return L0.return=F,L0}function D0(F,b,L,x){var s=typeof L==="object"&&L!==null&&L.type===k&&L.key===null;if(s)L=L.props.children;if(typeof L==="object"&&L!==null){switch(L.$$typeof){case E:return z(Z0(F,b,L,x));case T:return z(j0(F,b,L,x));case t:var{_payload:l,_init:$0}=L;return D0(F,b,$0(l),x)}if(c0(L))return V(F,b,L,x);if(T8(L))return m(F,b,L,x);tX(F,L)}if(typeof L==="string"&&L!==""||typeof L==="number")return z(G0(F,b,""+L,x));if(typeof L==="function")eX(F);return Q(F,b)}return D0}var I7=xK(!0),gK=xK(!1);function L_(Z,X){if(Z!==null&&X.child!==Z.child)throw new Error("Resuming work not yet implemented.");if(X.child===null)return;var Q=X.child,G=m9(Q,Q.pendingProps);X.child=G,G.return=X;while(Q.sibling!==null)Q=Q.sibling,G=G.sibling=m9(Q,Q.pendingProps),G.return=X;G.sibling=null}function R_(Z,X){var Q=Z.child;while(Q!==null)HF(Q,X),Q=Q.sibling}var JY=o5(null),YY;YY={};var ZQ=null,N7=null,zY=null,XQ=!1;function QQ(){ZQ=null,N7=null,zY=null,XQ=!1}function EK(){XQ=!0}function fK(){XQ=!1}function uK(Z,X,Q){{j4(JY,X._currentValue,Z),X._currentValue=Q;{if(X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==YY)q("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");X._currentRenderer=YY}}}function WY(Z,X){var Q=JY.current;b4(JY,X),Z._currentValue=Q}function KY(Z,X,Q){var G=Z;while(G!==null){var J=G.alternate;if(!K7(G.childLanes,X)){if(G.childLanes=N0(G.childLanes,X),J!==null)J.childLanes=N0(J.childLanes,X)}else if(J!==null&&!K7(J.childLanes,X))J.childLanes=N0(J.childLanes,X);if(G===Q)break;G=G.return}if(G!==Q)q("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 w_(Z,X,Q){I_(Z,X,Q)}function I_(Z,X,Q){var G=Z.child;if(G!==null)G.return=Z;while(G!==null){var J=void 0,Y=G.dependencies;if(Y!==null){J=G.child;var z=Y.firstContext;while(z!==null){if(z.context===X){if(G.tag===J0){var W=R6(Q),K=N5(B1,W);K.tag=JQ;var B=G.updateQueue;if(B===null);else{var $=B.shared,_=$.pending;if(_===null)K.next=K;else K.next=_.next,_.next=K;$.pending=K}}G.lanes=N0(G.lanes,Q);var O=G.alternate;if(O!==null)O.lanes=N0(O.lanes,Q);KY(G.return,Q,Z),Y.lanes=N0(Y.lanes,Q);break}z=z.next}}else if(G.tag===F1)J=G.type===Z.type?null:G.child;else if(G.tag===z4){var I=G.return;if(I===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");I.lanes=N0(I.lanes,Q);var N=I.alternate;if(N!==null)N.lanes=N0(N.lanes,Q);KY(I,Q,Z),J=G.sibling}else J=G.child;if(J!==null)J.return=G;else{J=G;while(J!==null){if(J===Z){J=null;break}var V=J.sibling;if(V!==null){V.return=J.return,J=V;break}J=J.return}}G=J}}function V7(Z,X){ZQ=Z,N7=null,zY=null;var Q=Z.dependencies;if(Q!==null){var G=Q.firstContext;if(G!==null){if($8(Q.lanes,X))AZ();Q.firstContext=null}}}function v1(Z){if(XQ)q("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 X=Z._currentValue;if(zY===Z);else{var Q={context:Z,memoizedValue:X,next:null};if(N7===null){if(ZQ===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().");N7=Q,ZQ.dependencies={lanes:h,firstContext:Q}}else N7=N7.next=Q}return X}var x9=null;function UY(Z){if(x9===null)x9=[Z];else x9.push(Z)}function N_(){if(x9!==null){for(var Z=0;Z<x9.length;Z++){var X=x9[Z],Q=X.interleaved;if(Q!==null){X.interleaved=null;var G=Q.next,J=X.pending;if(J!==null){var Y=J.next;J.next=G,Q.next=Y}X.pending=Q}}x9=null}}function vK(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;return X.interleaved=Q,GQ(Z,G)}function V_(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;X.interleaved=Q}function S_(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;return X.interleaved=Q,GQ(Z,G)}function e4(Z,X){return GQ(Z,X)}var b_=GQ;function GQ(Z,X){Z.lanes=N0(Z.lanes,X);var Q=Z.alternate;if(Q!==null)Q.lanes=N0(Q.lanes,X);if(Q===null&&(Z.flags&(u1|q5))!==U0)EU(Z);var G=Z,J=Z.return;while(J!==null){if(J.childLanes=N0(J.childLanes,X),Q=J.alternate,Q!==null)Q.childLanes=N0(Q.childLanes,X);else if((J.flags&(u1|q5))!==U0)EU(Z);G=J,J=J.return}if(G.tag===Y0){var Y=G.stateNode;return Y}else return null}var dK=0,yK=1,JQ=2,BY=3,YQ=!1,$Y,zQ;$Y=!1,zQ=null;function HY(Z){var X={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:h},effects:null};Z.updateQueue=X}function mK(Z,X){var Q=X.updateQueue,G=Z.updateQueue;if(Q===G){var J={baseState:G.baseState,firstBaseUpdate:G.firstBaseUpdate,lastBaseUpdate:G.lastBaseUpdate,shared:G.shared,effects:G.effects};X.updateQueue=J}}function N5(Z,X){var Q={eventTime:Z,lane:X,tag:dK,payload:null,callback:null,next:null};return Q}function n5(Z,X,Q){var G=Z.updateQueue;if(G===null)return null;var J=G.shared;if(zQ===J&&!$Y)q("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."),$Y=!0;if(DA()){var Y=J.pending;if(Y===null)X.next=X;else X.next=Y.next,Y.next=X;return J.pending=X,b_(Z,Q)}else return S_(Z,J,X,Q)}function WQ(Z,X,Q){var G=X.updateQueue;if(G===null)return;var J=G.shared;if(ZW(Q)){var Y=J.lanes;Y=QW(Y,Z.pendingLanes);var z=N0(Y,Q);J.lanes=z,JJ(Z,z)}}function qY(Z,X){var{updateQueue:Q,alternate:G}=Z;if(G!==null){var J=G.updateQueue;if(Q===J){var Y=null,z=null,W=Q.firstBaseUpdate;if(W!==null){var K=W;do{var B={eventTime:K.eventTime,lane:K.lane,tag:K.tag,payload:K.payload,callback:K.callback,next:null};if(z===null)Y=z=B;else z.next=B,z=B;K=K.next}while(K!==null);if(z===null)Y=z=X;else z.next=X,z=X}else Y=z=X;Q={baseState:J.baseState,firstBaseUpdate:Y,lastBaseUpdate:z,shared:J.shared,effects:J.effects},Z.updateQueue=Q;return}}var $=Q.lastBaseUpdate;if($===null)Q.firstBaseUpdate=X;else $.next=X;Q.lastBaseUpdate=X}function j_(Z,X,Q,G,J,Y){switch(Q.tag){case yK:{var z=Q.payload;if(typeof z==="function"){EK();var W=z.call(Y,G,J);{if(Z.mode&S1){X4(!0);try{z.call(Y,G,J)}finally{X4(!1)}}fK()}return W}return z}case BY:Z.flags=Z.flags&~E4|i0;case dK:{var K=Q.payload,B;if(typeof K==="function"){EK(),B=K.call(Y,G,J);{if(Z.mode&S1){X4(!0);try{K.call(Y,G,J)}finally{X4(!1)}}fK()}}else B=K;if(B===null||B===void 0)return G;return h0({},G,B)}case JQ:return YQ=!0,G}return G}function KQ(Z,X,Q,G){var J=Z.updateQueue;YQ=!1,zQ=J.shared;var{firstBaseUpdate:Y,lastBaseUpdate:z}=J,W=J.shared.pending;if(W!==null){J.shared.pending=null;var K=W,B=K.next;if(K.next=null,z===null)Y=B;else z.next=B;z=K;var $=Z.alternate;if($!==null){var _=$.updateQueue,O=_.lastBaseUpdate;if(O!==z){if(O===null)_.firstBaseUpdate=B;else O.next=B;_.lastBaseUpdate=K}}}if(Y!==null){var I=J.baseState,N=h,V=null,m=null,G0=null,Z0=Y;do{var{lane:j0,eventTime:D0}=Z0;if(!K7(G,j0)){var F={eventTime:D0,lane:j0,tag:Z0.tag,payload:Z0.payload,callback:Z0.callback,next:null};if(G0===null)m=G0=F,V=I;else G0=G0.next=F;N=N0(N,j0)}else{if(G0!==null){var b={eventTime:D0,lane:Q4,tag:Z0.tag,payload:Z0.payload,callback:Z0.callback,next:null};G0=G0.next=b}I=j_(Z,J,Z0,I,X,Q);var L=Z0.callback;if(L!==null&&Z0.lane!==Q4){Z.flags|=VG;var x=J.effects;if(x===null)J.effects=[Z0];else x.push(Z0)}}if(Z0=Z0.next,Z0===null)if(W=J.shared.pending,W===null)break;else{var s=W,l=s.next;s.next=null,Z0=l,J.lastBaseUpdate=s,J.shared.pending=null}}while(!0);if(G0===null)V=I;J.baseState=V,J.firstBaseUpdate=m,J.lastBaseUpdate=G0;var $0=J.shared.interleaved;if($0!==null){var L0=$0;do N=N0(N,L0.lane),L0=L0.next;while(L0!==$0)}else if(Y===null)J.shared.lanes=h;kZ(N),Z.lanes=N,Z.memoizedState=I}zQ=null}function D_(Z,X){if(typeof Z!=="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+Z));Z.call(X)}function cK(){YQ=!1}function UQ(){return YQ}function iK(Z,X,Q){var G=X.effects;if(X.effects=null,G!==null)for(var J=0;J<G.length;J++){var Y=G[J],z=Y.callback;if(z!==null)Y.callback=null,D_(z,Q)}}var JZ={},t5=o5(JZ),YZ=o5(JZ),BQ=o5(JZ);function $Q(Z){if(Z===JZ)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return Z}function lK(){var Z=$Q(BQ.current);return Z}function MY(Z,X){j4(BQ,X,Z),j4(YZ,Z,Z),j4(t5,JZ,Z);var Q=pM(X);b4(t5,Z),j4(t5,Q,Z)}function S7(Z){b4(t5,Z),b4(YZ,Z),b4(BQ,Z)}function OY(){var Z=$Q(t5.current);return Z}function pK(Z){var X=$Q(BQ.current),Q=$Q(t5.current),G=oM(Q,Z.type);if(Q===G)return;j4(YZ,Z,Z),j4(t5,G,Z)}function _Y(Z){if(YZ.current!==Z)return;b4(t5,Z),b4(YZ,Z)}var k_=0,oK=1,sK=1,zZ=2,v8=o5(k_);function PY(Z,X){return(Z&X)!==0}function b7(Z){return Z&oK}function AY(Z,X){return Z&oK|X}function C_(Z,X){return Z|X}function e5(Z,X){j4(v8,X,Z)}function j7(Z){b4(v8,Z)}function T_(Z,X){var Q=Z.memoizedState;if(Q!==null){if(Q.dehydrated!==null)return!0;return!1}var G=Z.memoizedProps;return!0}function HQ(Z){var X=Z;while(X!==null){if(X.tag===H0){var Q=X.memoizedState;if(Q!==null){var G=Q.dehydrated;if(G===null||BK(G)||fJ(G))return X}}else if(X.tag===l0&&X.memoizedProps.revealOrder!==void 0){var J=(X.flags&i0)!==U0;if(J)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)return null;while(X.sibling===null){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}var Z8=0,m1=1,e8=2,c1=4,H4=8,FY=[];function LY(){for(var Z=0;Z<FY.length;Z++){var X=FY[Z];X._workInProgressVersionPrimary=null}FY.length=0}function h_(Z,X){var Q=X._getVersion,G=Q(X._source);if(Z.mutableSourceEagerHydrationData==null)Z.mutableSourceEagerHydrationData=[X,G];else Z.mutableSourceEagerHydrationData.push(X,G)}var{ReactCurrentDispatcher:o,ReactCurrentBatchConfig:WZ}=c,RY,D7;RY=new Set;var g9=h,e0=null,i1=null,l1=null,qQ=!1,KZ=!1,UZ=0,x_=0,g_=25,j=null,S8=null,Z9=-1,wY=!1;function o0(){{var Z=j;if(S8===null)S8=[Z];else S8.push(Z)}}function d(){{var Z=j;if(S8!==null){if(Z9++,S8[Z9]!==Z)E_(Z)}}}function k7(Z){if(Z!==void 0&&Z!==null&&!c0(Z))q("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",j,typeof Z)}function E_(Z){{var X=I0(e0);if(!RY.has(X)){if(RY.add(X),S8!==null){var Q="",G=30;for(var J=0;J<=Z9;J++){var Y=S8[J],z=J===Z9?Z:Y,W=J+1+". "+Y;while(W.length<G)W+=" ";W+=z+`
|
||
`,Q+=W}q(`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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`,X,Q)}}}}function D4(){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 IY(Z,X){if(wY)return!1;if(X===null)return q("%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.",j),!1;if(Z.length!==X.length)q(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
||
|
||
Previous: %s
|
||
Incoming: %s`,j,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Q=0;Q<X.length&&Q<Z.length;Q++){if(M8(Z[Q],X[Q]))continue;return!1}return!0}function C7(Z,X,Q,G,J,Y){if(g9=Y,e0=X,S8=Z!==null?Z._debugHookTypes:null,Z9=-1,wY=Z!==null&&Z.type!==X.type,X.memoizedState=null,X.updateQueue=null,X.lanes=h,Z!==null&&Z.memoizedState!==null)o.current=_2;else if(S8!==null)o.current=O2;else o.current=M2;var z=Q(G,J);if(KZ){var W=0;do{if(KZ=!1,UZ=0,W>=g_)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");W+=1,wY=!1,i1=null,l1=null,X.updateQueue=null,Z9=-1,o.current=P2,z=Q(G,J)}while(KZ)}o.current=jQ,X._debugHookTypes=S8;var K=i1!==null&&i1.next!==null;if(g9=h,e0=null,i1=null,l1=null,j=null,S8=null,Z9=-1,Z!==null&&(Z.flags&O5)!==(X.flags&O5)&&(Z.mode&g0)!==W0)q("Internal React error: Expected static flag was missing. Please notify the React team.");if(qQ=!1,K)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return z}function T7(){var Z=UZ!==0;return UZ=0,Z}function aK(Z,X,Q){if(X.updateQueue=Z.updateQueue,(X.mode&a8)!==W0)X.flags&=~(zX|M5|h8|u0);else X.flags&=~(h8|u0);Z.lanes=qX(Z.lanes,Q)}function rK(){if(o.current=jQ,qQ){var Z=e0.memoizedState;while(Z!==null){var X=Z.queue;if(X!==null)X.pending=null;Z=Z.next}qQ=!1}g9=h,e0=null,i1=null,l1=null,S8=null,Z9=-1,j=null,U2=!1,KZ=!1,UZ=0}function Z5(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};if(l1===null)e0.memoizedState=l1=Z;else l1=l1.next=Z;return l1}function b8(){var Z;if(i1===null){var X=e0.alternate;if(X!==null)Z=X.memoizedState;else Z=null}else Z=i1.next;var Q;if(l1===null)Q=e0.memoizedState;else Q=l1.next;if(Q!==null)l1=Q,Q=l1.next,i1=Z;else{if(Z===null)throw new Error("Rendered more hooks than during the previous render.");i1=Z;var G={memoizedState:i1.memoizedState,baseState:i1.baseState,baseQueue:i1.baseQueue,queue:i1.queue,next:null};if(l1===null)e0.memoizedState=l1=G;else l1=l1.next=G}return l1}function nK(){return{lastEffect:null,stores:null}}function NY(Z,X){return typeof X==="function"?X(Z):X}function VY(Z,X,Q){var G=Z5(),J;if(Q!==void 0)J=Q(X);else J=X;G.memoizedState=G.baseState=J;var Y={pending:null,interleaved:null,lanes:h,dispatch:null,lastRenderedReducer:Z,lastRenderedState:J};G.queue=Y;var z=Y.dispatch=v_.bind(null,e0,Y);return[G.memoizedState,z]}function SY(Z,X,Q){var G=b8(),J=G.queue;if(J===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");J.lastRenderedReducer=Z;var Y=i1,z=Y.baseQueue,W=J.pending;if(W!==null){if(z!==null){var K=z.next,B=W.next;z.next=B,W.next=K}if(Y.baseQueue!==z)q("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.");Y.baseQueue=z=W,J.pending=null}if(z!==null){var $=z.next,_=Y.baseState,O=null,I=null,N=null,V=$;do{var m=V.lane;if(!K7(g9,m)){var G0={lane:m,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};if(N===null)I=N=G0,O=_;else N=N.next=G0;e0.lanes=N0(e0.lanes,m),kZ(m)}else{if(N!==null){var Z0={lane:Q4,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};N=N.next=Z0}if(V.hasEagerState)_=V.eagerState;else{var j0=V.action;_=Z(_,j0)}}V=V.next}while(V!==null&&V!==$);if(N===null)O=_;else N.next=I;if(!M8(_,G.memoizedState))AZ();G.memoizedState=_,G.baseState=O,G.baseQueue=N,J.lastRenderedState=_}var D0=J.interleaved;if(D0!==null){var F=D0;do{var b=F.lane;e0.lanes=N0(e0.lanes,b),kZ(b),F=F.next}while(F!==D0)}else if(z===null)J.lanes=h;var L=J.dispatch;return[G.memoizedState,L]}function bY(Z,X,Q){var G=b8(),J=G.queue;if(J===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");J.lastRenderedReducer=Z;var{dispatch:Y,pending:z}=J,W=G.memoizedState;if(z!==null){J.pending=null;var K=z.next,B=K;do{var $=B.action;W=Z(W,$),B=B.next}while(B!==K);if(!M8(W,G.memoizedState))AZ();if(G.memoizedState=W,G.baseQueue===null)G.baseState=W;J.lastRenderedState=W}return[W,Y]}function jY(Z,X,Q){return}function MQ(Z,X,Q){return}function DY(Z,X,Q){var G=e0,J=Z5(),Y,z=$4();if(z){if(Q===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");if(Y=Q(),!D7){if(Y!==Q())q("The result of getServerSnapshot should be cached to avoid an infinite loop"),D7=!0}}else{if(Y=X(),!D7){var W=X();if(!M8(Y,W))q("The result of getSnapshot should be cached to avoid an infinite loop"),D7=!0}var K=oQ();if(K===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!HX(K,g9))tK(G,X,Y)}J.memoizedState=Y;var B={value:Y,getSnapshot:X};return J.queue=B,FQ(Z2.bind(null,G,B,Z),[Z]),G.flags|=h8,BZ(m1|H4,eK.bind(null,G,B,Y,X),void 0,null),Y}function OQ(Z,X,Q){var G=e0,J=b8(),Y=X();if(!D7){var z=X();if(!M8(Y,z))q("The result of getSnapshot should be cached to avoid an infinite loop"),D7=!0}var W=J.memoizedState,K=!M8(W,Y);if(K)J.memoizedState=Y,AZ();var B=J.queue;if(HZ(Z2.bind(null,G,B,Z),[Z]),B.getSnapshot!==X||K||l1!==null&&l1.memoizedState.tag&m1){G.flags|=h8,BZ(m1|H4,eK.bind(null,G,B,Y,X),void 0,null);var $=oQ();if($===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!HX($,g9))tK(G,X,Y)}return Y}function tK(Z,X,Q){Z.flags|=YX;var G={getSnapshot:X,value:Q},J=e0.updateQueue;if(J===null)J=nK(),e0.updateQueue=J,J.stores=[G];else{var Y=J.stores;if(Y===null)J.stores=[G];else Y.push(G)}}function eK(Z,X,Q,G){if(X.value=Q,X.getSnapshot=G,X2(X))Q2(Z)}function Z2(Z,X,Q){var G=function(){if(X2(X))Q2(Z)};return Q(G)}function X2(Z){var{getSnapshot:X,value:Q}=Z;try{var G=X();return!M8(Q,G)}catch(J){return!0}}function Q2(Z){var X=e4(Z,P0);if(X!==null)a1(X,Z,P0,B1)}function _Q(Z){var X=Z5();if(typeof Z==="function")Z=Z();X.memoizedState=X.baseState=Z;var Q={pending:null,interleaved:null,lanes:h,dispatch:null,lastRenderedReducer:NY,lastRenderedState:Z};X.queue=Q;var G=Q.dispatch=d_.bind(null,e0,Q);return[X.memoizedState,G]}function kY(Z){return SY(NY)}function CY(Z){return bY(NY)}function BZ(Z,X,Q,G){var J={tag:Z,create:X,destroy:Q,deps:G,next:null},Y=e0.updateQueue;if(Y===null)Y=nK(),e0.updateQueue=Y,Y.lastEffect=J.next=J;else{var z=Y.lastEffect;if(z===null)Y.lastEffect=J.next=J;else{var W=z.next;z.next=J,J.next=W,Y.lastEffect=J}}return J}function TY(Z){var X=Z5();{var Q={current:Z};return X.memoizedState=Q,Q}}function PQ(Z){var X=b8();return X.memoizedState}function $Z(Z,X,Q,G){var J=Z5(),Y=G===void 0?null:G;e0.flags|=Z,J.memoizedState=BZ(m1|X,Q,void 0,Y)}function AQ(Z,X,Q,G){var J=b8(),Y=G===void 0?null:G,z=void 0;if(i1!==null){var W=i1.memoizedState;if(z=W.destroy,Y!==null){var K=W.deps;if(IY(Y,K)){J.memoizedState=BZ(X,Q,z,Y);return}}}e0.flags|=Z,J.memoizedState=BZ(m1|X,Q,z,Y)}function FQ(Z,X){if((e0.mode&a8)!==W0)return $Z(zX|h8|jG,H4,Z,X);else return $Z(h8|jG,H4,Z,X)}function HZ(Z,X){return AQ(h8,H4,Z,X)}function hY(Z,X){return $Z(u0,e8,Z,X)}function LQ(Z,X){return AQ(u0,e8,Z,X)}function xY(Z,X){var Q=u0;if(Q|=P9,(e0.mode&a8)!==W0)Q|=M5;return $Z(Q,c1,Z,X)}function RQ(Z,X){return AQ(u0,c1,Z,X)}function G2(Z,X){if(typeof X==="function"){var Q=X,G=Z();return Q(G),function(){Q(null)}}else if(X!==null&&X!==void 0){var J=X;if(!J.hasOwnProperty("current"))q("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(J).join(", ")+"}");var Y=Z();return J.current=Y,function(){J.current=null}}}function gY(Z,X,Q){if(typeof X!=="function")q("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null");var G=Q!==null&&Q!==void 0?Q.concat([Z]):null,J=u0;if(J|=P9,(e0.mode&a8)!==W0)J|=M5;return $Z(J,c1,G2.bind(null,X,Z),G)}function wQ(Z,X,Q){if(typeof X!=="function")q("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null");var G=Q!==null&&Q!==void 0?Q.concat([Z]):null;return AQ(u0,c1,G2.bind(null,X,Z),G)}function IQ(Z,X){}var NQ=IQ;function EY(Z,X){var Q=Z5(),G=X===void 0?null:X;return Q.memoizedState=[Z,G],Z}function VQ(Z,X){var Q=b8(),G=X===void 0?null:X,J=Q.memoizedState;if(J!==null){if(G!==null){var Y=J[1];if(IY(G,Y))return J[0]}}return Q.memoizedState=[Z,G],Z}function fY(Z,X){var Q=Z5(),G=X===void 0?null:X,J=Z();return Q.memoizedState=[J,G],J}function SQ(Z,X){var Q=b8(),G=X===void 0?null:X,J=Q.memoizedState;if(J!==null){if(G!==null){var Y=J[1];if(IY(G,Y))return J[0]}}var z=Z();return Q.memoizedState=[z,G],z}function uY(Z){var X=Z5();return X.memoizedState=Z,Z}function J2(Z){var X=b8(),Q=i1,G=Q.memoizedState;return z2(X,G,Z)}function Y2(Z){var X=b8();if(i1===null)return X.memoizedState=Z,Z;else{var Q=i1.memoizedState;return z2(X,Q,Z)}}function z2(Z,X,Q){var G=!wH(g9);if(G){if(!M8(Q,X)){var J=XW();e0.lanes=N0(e0.lanes,J),kZ(J),Z.baseState=!0}return X}else{if(Z.baseState)Z.baseState=!1,AZ();return Z.memoizedState=Q,Q}}function f_(Z,X,Q){var G=g8();G4(CH(G,P5)),Z(!0);var J=WZ.transition;WZ.transition={};var Y=WZ.transition;WZ.transition._updatedFibers=new Set;try{Z(!1),X()}finally{if(G4(G),WZ.transition=J,J===null&&Y._updatedFibers){var z=Y._updatedFibers.size;if(z>10)$1("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.");Y._updatedFibers.clear()}}}function vY(){var Z=_Q(!1),X=Z[0],Q=Z[1],G=f_.bind(null,Q),J=Z5();return J.memoizedState=G,[X,G]}function W2(){var Z=kY(),X=Z[0],Q=b8(),G=Q.memoizedState;return[X,G]}function K2(){var Z=CY(),X=Z[0],Q=b8(),G=Q.memoizedState;return[X,G]}var U2=!1;function u_(){return U2}function dY(){var Z=Z5(),X=oQ(),Q=X.identifierPrefix,G;if($4()){var J=Q_();G=":"+Q+"R"+J;var Y=UZ++;if(Y>0)G+="H"+Y.toString(32);G+=":"}else{var z=x_++;G=":"+Q+"r"+z.toString(32)+":"}return Z.memoizedState=G,G}function bQ(){var Z=b8(),X=Z.memoizedState;return X}function v_(Z,X,Q){if(typeof arguments[3]==="function")q("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 G=Y9(Z),J={lane:G,action:Q,hasEagerState:!1,eagerState:null,next:null};if(B2(Z))$2(X,J);else{var Y=vK(Z,X,J,G);if(Y!==null){var z=v4();a1(Y,Z,G,z),H2(Y,X,G)}}q2(Z,G)}function d_(Z,X,Q){if(typeof arguments[3]==="function")q("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 G=Y9(Z),J={lane:G,action:Q,hasEagerState:!1,eagerState:null,next:null};if(B2(Z))$2(X,J);else{var Y=Z.alternate;if(Z.lanes===h&&(Y===null||Y.lanes===h)){var z=X.lastRenderedReducer;if(z!==null){var W;W=o.current,o.current=d8;try{var K=X.lastRenderedState,B=z(K,Q);if(J.hasEagerState=!0,J.eagerState=B,M8(B,K)){V_(Z,X,J,G);return}}catch(O){}finally{o.current=W}}}var $=vK(Z,X,J,G);if($!==null){var _=v4();a1($,Z,G,_),H2($,X,G)}}q2(Z,G)}function B2(Z){var X=Z.alternate;return Z===e0||X!==null&&X===e0}function $2(Z,X){KZ=qQ=!0;var Q=Z.pending;if(Q===null)X.next=X;else X.next=Q.next,Q.next=X;Z.pending=X}function H2(Z,X,Q){if(ZW(Q)){var G=X.lanes;G=QW(G,Z.pendingLanes);var J=N0(G,Q);X.lanes=J,JJ(Z,J)}}function q2(Z,X,Q){hG(Z,X)}var jQ={readContext:v1,useCallback:D4,useContext:D4,useEffect:D4,useImperativeHandle:D4,useInsertionEffect:D4,useLayoutEffect:D4,useMemo:D4,useReducer:D4,useRef:D4,useState:D4,useDebugValue:D4,useDeferredValue:D4,useTransition:D4,useMutableSource:D4,useSyncExternalStore:D4,useId:D4,unstable_isNewReconciler:R0},M2=null,O2=null,_2=null,P2=null,X5=null,d8=null,DQ=null;{var yY=function(){q("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().")},A0=function(){q("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")};M2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return j="useCallback",o0(),k7(X),EY(Z,X)},useContext:function(Z){return j="useContext",o0(),v1(Z)},useEffect:function(Z,X){return j="useEffect",o0(),k7(X),FQ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",o0(),k7(Q),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",o0(),k7(X),hY(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",o0(),k7(X),xY(Z,X)},useMemo:function(Z,X){j="useMemo",o0(),k7(X);var Q=o.current;o.current=X5;try{return fY(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",o0();var G=o.current;o.current=X5;try{return VY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",o0(),TY(Z)},useState:function(Z){j="useState",o0();var X=o.current;o.current=X5;try{return _Q(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",o0(),IQ()},useDeferredValue:function(Z){return j="useDeferredValue",o0(),uY(Z)},useTransition:function(){return j="useTransition",o0(),vY()},useMutableSource:function(Z,X,Q){return j="useMutableSource",o0(),jY()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",o0(),DY(Z,X,Q)},useId:function(){return j="useId",o0(),dY()},unstable_isNewReconciler:R0},O2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return j="useCallback",d(),EY(Z,X)},useContext:function(Z){return j="useContext",d(),v1(Z)},useEffect:function(Z,X){return j="useEffect",d(),FQ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",d(),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",d(),hY(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",d(),xY(Z,X)},useMemo:function(Z,X){j="useMemo",d();var Q=o.current;o.current=X5;try{return fY(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",d();var G=o.current;o.current=X5;try{return VY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",d(),TY(Z)},useState:function(Z){j="useState",d();var X=o.current;o.current=X5;try{return _Q(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",d(),IQ()},useDeferredValue:function(Z){return j="useDeferredValue",d(),uY(Z)},useTransition:function(){return j="useTransition",d(),vY()},useMutableSource:function(Z,X,Q){return j="useMutableSource",d(),jY()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",d(),DY(Z,X,Q)},useId:function(){return j="useId",d(),dY()},unstable_isNewReconciler:R0},_2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return j="useCallback",d(),VQ(Z,X)},useContext:function(Z){return j="useContext",d(),v1(Z)},useEffect:function(Z,X){return j="useEffect",d(),HZ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",d(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",d(),LQ(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",d(),RQ(Z,X)},useMemo:function(Z,X){j="useMemo",d();var Q=o.current;o.current=d8;try{return SQ(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",d();var G=o.current;o.current=d8;try{return SY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",d(),PQ()},useState:function(Z){j="useState",d();var X=o.current;o.current=d8;try{return kY(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",d(),NQ()},useDeferredValue:function(Z){return j="useDeferredValue",d(),J2(Z)},useTransition:function(){return j="useTransition",d(),W2()},useMutableSource:function(Z,X,Q){return j="useMutableSource",d(),MQ()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",d(),OQ(Z,X)},useId:function(){return j="useId",d(),bQ()},unstable_isNewReconciler:R0},P2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return j="useCallback",d(),VQ(Z,X)},useContext:function(Z){return j="useContext",d(),v1(Z)},useEffect:function(Z,X){return j="useEffect",d(),HZ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",d(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",d(),LQ(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",d(),RQ(Z,X)},useMemo:function(Z,X){j="useMemo",d();var Q=o.current;o.current=DQ;try{return SQ(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",d();var G=o.current;o.current=DQ;try{return bY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",d(),PQ()},useState:function(Z){j="useState",d();var X=o.current;o.current=DQ;try{return CY(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",d(),NQ()},useDeferredValue:function(Z){return j="useDeferredValue",d(),Y2(Z)},useTransition:function(){return j="useTransition",d(),K2()},useMutableSource:function(Z,X,Q){return j="useMutableSource",d(),MQ()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",d(),OQ(Z,X)},useId:function(){return j="useId",d(),bQ()},unstable_isNewReconciler:R0},X5={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return j="useCallback",A0(),o0(),EY(Z,X)},useContext:function(Z){return j="useContext",A0(),o0(),v1(Z)},useEffect:function(Z,X){return j="useEffect",A0(),o0(),FQ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",A0(),o0(),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",A0(),o0(),hY(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",A0(),o0(),xY(Z,X)},useMemo:function(Z,X){j="useMemo",A0(),o0();var Q=o.current;o.current=X5;try{return fY(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",A0(),o0();var G=o.current;o.current=X5;try{return VY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",A0(),o0(),TY(Z)},useState:function(Z){j="useState",A0(),o0();var X=o.current;o.current=X5;try{return _Q(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",A0(),o0(),IQ()},useDeferredValue:function(Z){return j="useDeferredValue",A0(),o0(),uY(Z)},useTransition:function(){return j="useTransition",A0(),o0(),vY()},useMutableSource:function(Z,X,Q){return j="useMutableSource",A0(),o0(),jY()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",A0(),o0(),DY(Z,X,Q)},useId:function(){return j="useId",A0(),o0(),dY()},unstable_isNewReconciler:R0},d8={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return j="useCallback",A0(),d(),VQ(Z,X)},useContext:function(Z){return j="useContext",A0(),d(),v1(Z)},useEffect:function(Z,X){return j="useEffect",A0(),d(),HZ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",A0(),d(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",A0(),d(),LQ(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",A0(),d(),RQ(Z,X)},useMemo:function(Z,X){j="useMemo",A0(),d();var Q=o.current;o.current=d8;try{return SQ(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",A0(),d();var G=o.current;o.current=d8;try{return SY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",A0(),d(),PQ()},useState:function(Z){j="useState",A0(),d();var X=o.current;o.current=d8;try{return kY(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",A0(),d(),NQ()},useDeferredValue:function(Z){return j="useDeferredValue",A0(),d(),J2(Z)},useTransition:function(){return j="useTransition",A0(),d(),W2()},useMutableSource:function(Z,X,Q){return j="useMutableSource",A0(),d(),MQ()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",A0(),d(),OQ(Z,X)},useId:function(){return j="useId",A0(),d(),bQ()},unstable_isNewReconciler:R0},DQ={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return j="useCallback",A0(),d(),VQ(Z,X)},useContext:function(Z){return j="useContext",A0(),d(),v1(Z)},useEffect:function(Z,X){return j="useEffect",A0(),d(),HZ(Z,X)},useImperativeHandle:function(Z,X,Q){return j="useImperativeHandle",A0(),d(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return j="useInsertionEffect",A0(),d(),LQ(Z,X)},useLayoutEffect:function(Z,X){return j="useLayoutEffect",A0(),d(),RQ(Z,X)},useMemo:function(Z,X){j="useMemo",A0(),d();var Q=o.current;o.current=d8;try{return SQ(Z,X)}finally{o.current=Q}},useReducer:function(Z,X,Q){j="useReducer",A0(),d();var G=o.current;o.current=d8;try{return bY(Z,X,Q)}finally{o.current=G}},useRef:function(Z){return j="useRef",A0(),d(),PQ()},useState:function(Z){j="useState",A0(),d();var X=o.current;o.current=d8;try{return CY(Z)}finally{o.current=X}},useDebugValue:function(Z,X){return j="useDebugValue",A0(),d(),NQ()},useDeferredValue:function(Z){return j="useDeferredValue",A0(),d(),Y2(Z)},useTransition:function(){return j="useTransition",A0(),d(),K2()},useMutableSource:function(Z,X,Q){return j="useMutableSource",A0(),d(),MQ()},useSyncExternalStore:function(Z,X,Q){return j="useSyncExternalStore",A0(),d(),OQ(Z,X)},useId:function(){return j="useId",A0(),d(),bQ()},unstable_isNewReconciler:R0}}var X9=X1.unstable_now,A2=0,kQ=-1,qZ=-1,CQ=-1,mY=!1,TQ=!1;function F2(){return mY}function y_(){TQ=!0}function m_(){mY=!1,TQ=!1}function c_(){mY=TQ,TQ=!1}function L2(){return A2}function R2(){A2=X9()}function cY(Z){if(qZ=X9(),Z.actualStartTime<0)Z.actualStartTime=X9()}function w2(Z){qZ=-1}function hQ(Z,X){if(qZ>=0){var Q=X9()-qZ;if(Z.actualDuration+=Q,X)Z.selfBaseDuration=Q;qZ=-1}}function Q5(Z){if(kQ>=0){var X=X9()-kQ;kQ=-1;var Q=Z.return;while(Q!==null){switch(Q.tag){case Y0:var G=Q.stateNode;G.effectDuration+=X;return;case H1:var J=Q.stateNode;J.effectDuration+=X;return}Q=Q.return}}}function iY(Z){if(CQ>=0){var X=X9()-CQ;CQ=-1;var Q=Z.return;while(Q!==null){switch(Q.tag){case Y0:var G=Q.stateNode;if(G!==null)G.passiveEffectDuration+=X;return;case H1:var J=Q.stateNode;if(J!==null)J.passiveEffectDuration+=X;return}Q=Q.return}}}function G5(){kQ=X9()}function lY(){CQ=X9()}function pY(Z){var X=Z.child;while(X)Z.actualDuration+=X.actualDuration,X=X.sibling}function y8(Z,X){if(Z&&Z.defaultProps){var Q=h0({},X),G=Z.defaultProps;for(var J in G)if(Q[J]===void 0)Q[J]=G[J];return Q}return X}var oY={},sY,aY,rY,nY,tY,I2,xQ,eY,Z3,X3,MZ;{sY=new Set,aY=new Set,rY=new Set,nY=new Set,eY=new Set,tY=new Set,Z3=new Set,X3=new Set,MZ=new Set;var N2=new Set;xQ=function(Z,X){if(Z===null||typeof Z==="function")return;var Q=X+"_"+Z;if(!N2.has(Q))N2.add(Q),q("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",X,Z)},I2=function(Z,X){if(X===void 0){var Q=d0(Z)||"Component";if(!tY.has(Q))tY.add(Q),q("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Q)}},Object.defineProperty(oY,"_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(oY)}function Q3(Z,X,Q,G){var J=Z.memoizedState,Y=Q(G,J);{if(Z.mode&S1){X4(!0);try{Y=Q(G,J)}finally{X4(!1)}}I2(X,Y)}var z=Y===null||Y===void 0?J:h0({},J,Y);if(Z.memoizedState=z,Z.lanes===h){var W=Z.updateQueue;W.baseState=z}}var G3={isMounted:g$,enqueueSetState:function(Z,X,Q){var G=X7(Z),J=v4(),Y=Y9(G),z=N5(J,Y);if(z.payload=X,Q!==void 0&&Q!==null)xQ(Q,"setState"),z.callback=Q;var W=n5(G,z,Y);if(W!==null)a1(W,G,Y,J),WQ(W,G,Y);hG(G,Y)},enqueueReplaceState:function(Z,X,Q){var G=X7(Z),J=v4(),Y=Y9(G),z=N5(J,Y);if(z.tag=yK,z.payload=X,Q!==void 0&&Q!==null)xQ(Q,"replaceState"),z.callback=Q;var W=n5(G,z,Y);if(W!==null)a1(W,G,Y,J),WQ(W,G,Y);hG(G,Y)},enqueueForceUpdate:function(Z,X){var Q=X7(Z),G=v4(),J=Y9(Q),Y=N5(G,J);if(Y.tag=JQ,X!==void 0&&X!==null)xQ(X,"forceUpdate"),Y.callback=X;var z=n5(Q,Y,J);if(z!==null)a1(z,Q,J,G),WQ(z,Q,J);HH(Q,J)}};function V2(Z,X,Q,G,J,Y,z){var W=Z.stateNode;if(typeof W.shouldComponentUpdate==="function"){var K=W.shouldComponentUpdate(G,Y,z);{if(Z.mode&S1){X4(!0);try{K=W.shouldComponentUpdate(G,Y,z)}finally{X4(!1)}}if(K===void 0)q("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",d0(X)||"Component")}return K}if(X.prototype&&X.prototype.isPureReactComponent)return!E6(Q,G)||!E6(J,Y);return!0}function i_(Z,X,Q){var G=Z.stateNode;{var J=d0(X)||"Component",Y=G.render;if(!Y)if(X.prototype&&typeof X.prototype.render==="function")q("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",J);else q("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",J);if(G.getInitialState&&!G.getInitialState.isReactClassApproved&&!G.state)q("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?",J);if(G.getDefaultProps&&!G.getDefaultProps.isReactClassApproved)q("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.",J);if(G.propTypes)q("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",J);if(G.contextType)q("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",J);{if(X.childContextTypes&&!MZ.has(X)&&(Z.mode&S1)===W0)MZ.add(X),q(`%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`,J);if(X.contextTypes&&!MZ.has(X)&&(Z.mode&S1)===W0)MZ.add(X),q(`%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`,J);if(G.contextTypes)q("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",J);if(X.contextType&&X.contextTypes&&!Z3.has(X))Z3.add(X),q("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",J)}if(typeof G.componentShouldUpdate==="function")q("%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.",J);if(X.prototype&&X.prototype.isPureReactComponent&&typeof G.shouldComponentUpdate!=="undefined")q("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",d0(X)||"A pure component");if(typeof G.componentDidUnmount==="function")q("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",J);if(typeof G.componentDidReceiveProps==="function")q("%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().",J);if(typeof G.componentWillRecieveProps==="function")q("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",J);if(typeof G.UNSAFE_componentWillRecieveProps==="function")q("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",J);var z=G.props!==Q;if(G.props!==void 0&&z)q("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",J,J);if(G.defaultProps)q("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",J,J);if(typeof G.getSnapshotBeforeUpdate==="function"&&typeof G.componentDidUpdate!=="function"&&!rY.has(X))rY.add(X),q("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",d0(X));if(typeof G.getDerivedStateFromProps==="function")q("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J);if(typeof G.getDerivedStateFromError==="function")q("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J);if(typeof X.getSnapshotBeforeUpdate==="function")q("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",J);var W=G.state;if(W&&(typeof W!=="object"||c0(W)))q("%s.state: must be set to an object or null",J);if(typeof G.getChildContext==="function"&&typeof X.childContextTypes!=="object")q("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",J)}}function S2(Z,X){X.updater=G3,Z.stateNode=X,k$(X,Z),X._reactInternalInstance=oY}function b2(Z,X,Q){var G=!1,J=O8,Y=O8,z=X.contextType;if("contextType"in X){var W=z===null||z!==void 0&&z.$$typeof===y&&z._context===void 0;if(!W&&!X3.has(X)){X3.add(X);var K="";if(z===void 0)K=" 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.";else if(typeof z!=="object")K=" However, it is set to a "+typeof z+".";else if(z.$$typeof===D)K=" Did you accidentally pass the Context.Provider instead?";else if(z._context!==void 0)K=" Did you accidentally pass the Context.Consumer instead?";else K=" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.";q("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",d0(X)||"Component",K)}}if(typeof z==="object"&&z!==null)Y=v1(z);else{J=A7(Z,X,!0);var B=X.contextTypes;G=B!==null&&B!==void 0,Y=G?F7(Z,J):O8}var $=new X(Q,Y);if(Z.mode&S1){X4(!0);try{$=new X(Q,Y)}finally{X4(!1)}}var _=Z.memoizedState=$.state!==null&&$.state!==void 0?$.state:null;S2(Z,$);{if(typeof X.getDerivedStateFromProps==="function"&&_===null){var O=d0(X)||"Component";if(!aY.has(O))aY.add(O),q("`%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.",O,$.state===null?"null":"undefined",O)}if(typeof X.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"){var I=null,N=null,V=null;if(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0)I="componentWillMount";else if(typeof $.UNSAFE_componentWillMount==="function")I="UNSAFE_componentWillMount";if(typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0)N="componentWillReceiveProps";else if(typeof $.UNSAFE_componentWillReceiveProps==="function")N="UNSAFE_componentWillReceiveProps";if(typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0)V="componentWillUpdate";else if(typeof $.UNSAFE_componentWillUpdate==="function")V="UNSAFE_componentWillUpdate";if(I!==null||N!==null||V!==null){var m=d0(X)||"Component",G0=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";if(!nY.has(m))nY.add(m),q(`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`,m,G0,I!==null?`
|
||
`+I:"",N!==null?`
|
||
`+N:"",V!==null?`
|
||
`+V:"")}}}if(G)_K(Z,J,Y);return $}function l_(Z,X){var Q=X.state;if(typeof X.componentWillMount==="function")X.componentWillMount();if(typeof X.UNSAFE_componentWillMount==="function")X.UNSAFE_componentWillMount();if(Q!==X.state)q("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",I0(Z)||"Component"),G3.enqueueReplaceState(X,X.state,null)}function j2(Z,X,Q,G){var J=X.state;if(typeof X.componentWillReceiveProps==="function")X.componentWillReceiveProps(Q,G);if(typeof X.UNSAFE_componentWillReceiveProps==="function")X.UNSAFE_componentWillReceiveProps(Q,G);if(X.state!==J){{var Y=I0(Z)||"Component";if(!sY.has(Y))sY.add(Y),q("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Y)}G3.enqueueReplaceState(X,X.state,null)}}function J3(Z,X,Q,G){i_(Z,X,Q);var J=Z.stateNode;J.props=Q,J.state=Z.memoizedState,J.refs={},HY(Z);var Y=X.contextType;if(typeof Y==="object"&&Y!==null)J.context=v1(Y);else{var z=A7(Z,X,!0);J.context=F7(Z,z)}{if(J.state===Q){var W=d0(X)||"Component";if(!eY.has(W))eY.add(W),q("%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.",W)}if(Z.mode&S1)u8.recordLegacyContextWarning(Z,J);u8.recordUnsafeLifecycleWarnings(Z,J)}J.state=Z.memoizedState;var K=X.getDerivedStateFromProps;if(typeof K==="function")Q3(Z,X,K,Q),J.state=Z.memoizedState;if(typeof X.getDerivedStateFromProps!=="function"&&typeof J.getSnapshotBeforeUpdate!=="function"&&(typeof J.UNSAFE_componentWillMount==="function"||typeof J.componentWillMount==="function"))l_(Z,J),KQ(Z,Q,J,G),J.state=Z.memoizedState;if(typeof J.componentDidMount==="function"){var B=u0;if(B|=P9,(Z.mode&a8)!==W0)B|=M5;Z.flags|=B}}function p_(Z,X,Q,G){var{stateNode:J,memoizedProps:Y}=Z;J.props=Y;var z=J.context,W=X.contextType,K=O8;if(typeof W==="object"&&W!==null)K=v1(W);else{var B=A7(Z,X,!0);K=F7(Z,B)}var $=X.getDerivedStateFromProps,_=typeof $==="function"||typeof J.getSnapshotBeforeUpdate==="function";if(!_&&(typeof J.UNSAFE_componentWillReceiveProps==="function"||typeof J.componentWillReceiveProps==="function")){if(Y!==Q||z!==K)j2(Z,J,Q,K)}cK();var O=Z.memoizedState,I=J.state=O;if(KQ(Z,Q,J,G),I=Z.memoizedState,Y===Q&&O===I&&!cX()&&!UQ()){if(typeof J.componentDidMount==="function"){var N=u0;if(N|=P9,(Z.mode&a8)!==W0)N|=M5;Z.flags|=N}return!1}if(typeof $==="function")Q3(Z,X,$,Q),I=Z.memoizedState;var V=UQ()||V2(Z,X,Y,Q,O,I,K);if(V){if(!_&&(typeof J.UNSAFE_componentWillMount==="function"||typeof J.componentWillMount==="function")){if(typeof J.componentWillMount==="function")J.componentWillMount();if(typeof J.UNSAFE_componentWillMount==="function")J.UNSAFE_componentWillMount()}if(typeof J.componentDidMount==="function"){var m=u0;if(m|=P9,(Z.mode&a8)!==W0)m|=M5;Z.flags|=m}}else{if(typeof J.componentDidMount==="function"){var G0=u0;if(G0|=P9,(Z.mode&a8)!==W0)G0|=M5;Z.flags|=G0}Z.memoizedProps=Q,Z.memoizedState=I}return J.props=Q,J.state=I,J.context=K,V}function o_(Z,X,Q,G,J){var Y=X.stateNode;mK(Z,X);var z=X.memoizedProps,W=X.type===X.elementType?z:y8(X.type,z);Y.props=W;var K=X.pendingProps,B=Y.context,$=Q.contextType,_=O8;if(typeof $==="object"&&$!==null)_=v1($);else{var O=A7(X,Q,!0);_=F7(X,O)}var I=Q.getDerivedStateFromProps,N=typeof I==="function"||typeof Y.getSnapshotBeforeUpdate==="function";if(!N&&(typeof Y.UNSAFE_componentWillReceiveProps==="function"||typeof Y.componentWillReceiveProps==="function")){if(z!==K||B!==_)j2(X,Y,G,_)}cK();var V=X.memoizedState,m=Y.state=V;if(KQ(X,G,Y,J),m=X.memoizedState,z===K&&V===m&&!cX()&&!UQ()&&!G8){if(typeof Y.componentDidUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=u0}if(typeof Y.getSnapshotBeforeUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=O9}return!1}if(typeof I==="function")Q3(X,Q,I,G),m=X.memoizedState;var G0=UQ()||V2(X,Q,W,G,V,m,_)||G8;if(G0){if(!N&&(typeof Y.UNSAFE_componentWillUpdate==="function"||typeof Y.componentWillUpdate==="function")){if(typeof Y.componentWillUpdate==="function")Y.componentWillUpdate(G,m,_);if(typeof Y.UNSAFE_componentWillUpdate==="function")Y.UNSAFE_componentWillUpdate(G,m,_)}if(typeof Y.componentDidUpdate==="function")X.flags|=u0;if(typeof Y.getSnapshotBeforeUpdate==="function")X.flags|=O9}else{if(typeof Y.componentDidUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=u0}if(typeof Y.getSnapshotBeforeUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=O9}X.memoizedProps=G,X.memoizedState=m}return Y.props=G,Y.state=m,Y.context=_,G0}function E9(Z,X){return{value:Z,source:X,stack:Q6(X),digest:null}}function Y3(Z,X,Q){return{value:Z,source:null,stack:Q!=null?Q:null,digest:X!=null?X:null}}function s_(Z,X){return!0}function z3(Z,X){try{var Q=s_(Z,X);if(Q===!1)return;var{value:G,source:J,stack:Y}=X,z=Y!==null?Y:"";if(G!=null&&G._suppressLogging){if(Z.tag===J0)return;console.error(G)}var W=J?I0(J):null,K=W?"The above error occurred in the <"+W+"> component:":"The above error occurred in one of your React components:",B;if(Z.tag===Y0)B=`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 $=I0(Z)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+$+".")}var _=K+`
|
||
`+z+`
|
||
|
||
`+(""+B);console.error(_)}catch(O){setTimeout(function(){throw O})}}var a_=typeof WeakMap==="function"?WeakMap:Map;function D2(Z,X,Q){var G=N5(B1,Q);G.tag=BY,G.payload={element:null};var J=X.value;return G.callback=function(){pA(J),z3(Z,X)},G}function W3(Z,X,Q){var G=N5(B1,Q);G.tag=BY;var J=Z.type.getDerivedStateFromError;if(typeof J==="function"){var Y=X.value;G.payload=function(){return J(Y)},G.callback=function(){yU(Z),z3(Z,X)}}var z=Z.stateNode;if(z!==null&&typeof z.componentDidCatch==="function")G.callback=function W(){if(yU(Z),z3(Z,X),typeof J!=="function")iA(this);var{value:K,stack:B}=X;if(this.componentDidCatch(K,{componentStack:B!==null?B:""}),typeof J!=="function"){if(!$8(Z.lanes,P0))q("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",I0(Z)||"Unknown")}};return G}function k2(Z,X,Q){var G=Z.pingCache,J;if(G===null)G=Z.pingCache=new a_,J=new Set,G.set(X,J);else if(J=G.get(X),J===void 0)J=new Set,G.set(X,J);if(!J.has(Q)){J.add(Q);var Y=oA.bind(null,Z,X,Q);if(x8)CZ(Z,Q);X.then(Y,Y)}}function r_(Z,X,Q,G){var J=Z.updateQueue;if(J===null){var Y=new Set;Y.add(Q),Z.updateQueue=Y}else J.add(Q)}function n_(Z,X){var Q=Z.tag;if((Z.mode&g0)===W0&&(Q===F0||Q===z0||Q===b0)){var G=Z.alternate;if(G)Z.updateQueue=G.updateQueue,Z.memoizedState=G.memoizedState,Z.lanes=G.lanes;else Z.updateQueue=null,Z.memoizedState=null}}function C2(Z){var X=Z;do{if(X.tag===H0&&T_(X))return X;X=X.return}while(X!==null);return null}function T2(Z,X,Q,G,J){if((Z.mode&g0)===W0){if(Z===X)Z.flags|=E4;else{if(Z.flags|=i0,Q.flags|=SG,Q.flags&=~(C$|q6),Q.tag===J0){var Y=Q.alternate;if(Y===null)Q.tag=Y4;else{var z=N5(B1,P0);z.tag=JQ,n5(Q,z,P0)}}Q.lanes=N0(Q.lanes,P0)}return Z}return Z.flags|=E4,Z.lanes=J,Z}function t_(Z,X,Q,G,J){if(Q.flags|=q6,x8)CZ(Z,J);if(G!==null&&typeof G==="object"&&typeof G.then==="function"){var Y=G;if(n_(Q),$4()&&Q.mode&g0)IK();var z=C2(X);if(z!==null){if(z.flags&=~H5,T2(z,X,Q,Z,J),z.mode&g0)k2(Z,Y,J);r_(z,Z,Y);return}else{if(!RH(J)){k2(Z,Y,J),y3();return}var W=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.");G=W}}else if($4()&&Q.mode&g0){IK();var K=C2(X);if(K!==null){if((K.flags&E4)===U0)K.flags|=H5;T2(K,X,Q,Z,J),tJ(E9(G,Q));return}}G=E9(G,Q),EA(G);var B=X;do{switch(B.tag){case Y0:{var $=G;B.flags|=E4;var _=R6(J);B.lanes=N0(B.lanes,_);var O=D2(B,$,_);qY(B,O);return}case J0:var I=G,N=B.type,V=B.stateNode;if((B.flags&i0)===U0&&(typeof N.getDerivedStateFromError==="function"||V!==null&&typeof V.componentDidCatch==="function"&&!TU(V))){B.flags|=E4;var m=R6(J);B.lanes=N0(B.lanes,m);var G0=W3(B,I,m);qY(B,G0);return}break}B=B.return}while(B!==null)}function e_(){return null}var OZ=c.ReactCurrentOwner,m8=!1,K3,_Z,U3,B3,$3,f9,H3,gQ,PZ;K3={},_Z={},U3={},B3={},$3={},f9=!1,H3={},gQ={},PZ={};function f4(Z,X,Q,G){if(Z===null)X.child=gK(X,null,Q,G);else X.child=I7(X,Z.child,Q,G)}function ZP(Z,X,Q,G){X.child=I7(X,Z.child,null,G),X.child=I7(X,null,Q,G)}function h2(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=Q.propTypes;if(Y)E8(Y,G,"prop",d0(Q))}var z=Q.render,W=X.ref,K,B;V7(X,J),O6(X);{if(OZ.current=X,U8(!0),K=C7(Z,X,z,G,W,J),B=T7(),X.mode&S1){X4(!0);try{K=C7(Z,X,z,G,W,J),B=T7()}finally{X4(!1)}}U8(!1)}if(J7(),Z!==null&&!m8)return aK(Z,X,J),V5(Z,X,J);if($4()&&B)pJ(X);return X.flags|=Q7,f4(Z,X,K,J),X.child}function x2(Z,X,Q,G,J){if(Z===null){var Y=Q.type;if(BF(Y)&&Q.compare===null&&Q.defaultProps===void 0){var z=Y;return z=d7(Y),X.tag=b0,X.type=z,O3(X,Y),g2(Z,X,z,G,J)}{var W=Y.propTypes;if(W)E8(W,G,"prop",d0(Y));if(Q.defaultProps!==void 0){var K=d0(Y)||"Unknown";if(!PZ[K])q("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",K),PZ[K]=!0}}var B=t3(Q.type,null,G,X,X.mode,J);return B.ref=X.ref,B.return=X,X.child=B,B}{var $=Q.type,_=$.propTypes;if(_)E8(_,G,"prop",d0($))}var O=Z.child,I=R3(Z,J);if(!I){var N=O.memoizedProps,V=Q.compare;if(V=V!==null?V:E6,V(N,G)&&Z.ref===X.ref)return V5(Z,X,J)}X.flags|=Q7;var m=m9(O,G);return m.ref=X.ref,m.return=X,X.child=m,m}function g2(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=X.elementType;if(Y.$$typeof===t){var z=Y,W=z._payload,K=z._init;try{Y=K(W)}catch(_){Y=null}var B=Y&&Y.propTypes;if(B)E8(B,G,"prop",d0(Y))}}if(Z!==null){var $=Z.memoizedProps;if(E6($,G)&&Z.ref===X.ref&&X.type===Z.type){if(m8=!1,X.pendingProps=G=$,!R3(Z,J))return X.lanes=Z.lanes,V5(Z,X,J);else if((Z.flags&SG)!==U0)m8=!0}}return q3(Z,X,Q,G,J)}function E2(Z,X,Q){var G=X.pendingProps,J=G.children,Y=Z!==null?Z.memoizedState:null;if(G.mode==="hidden"||c4)if((X.mode&g0)===W0){var z={baseLanes:h,cachePool:null,transitions:null};X.memoizedState=z,sQ(X,Q)}else if(!$8(Q,B8)){var W=null,K;if(Y!==null){var B=Y.baseLanes;K=N0(B,Q)}else K=Q;X.lanes=X.childLanes=MX(B8);var $={baseLanes:K,cachePool:W,transitions:null};return X.memoizedState=$,X.updateQueue=null,sQ(X,K),null}else{var _={baseLanes:h,cachePool:null,transitions:null};X.memoizedState=_;var O=Y!==null?Y.baseLanes:Q;sQ(X,O)}else{var I;if(Y!==null)I=N0(Y.baseLanes,Q),X.memoizedState=null;else I=Q;sQ(X,I)}return f4(Z,X,J,Q),X.child}function XP(Z,X,Q){var G=X.pendingProps;return f4(Z,X,G,Q),X.child}function QP(Z,X,Q){var G=X.pendingProps.children;return f4(Z,X,G,Q),X.child}function GP(Z,X,Q){{X.flags|=u0;{var G=X.stateNode;G.effectDuration=0,G.passiveEffectDuration=0}}var J=X.pendingProps,Y=J.children;return f4(Z,X,Y,Q),X.child}function f2(Z,X){var Q=X.ref;if(Z===null&&Q!==null||Z!==null&&Z.ref!==Q)X.flags|=v5,X.flags|=bG}function q3(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=Q.propTypes;if(Y)E8(Y,G,"prop",d0(Q))}var z;{var W=A7(X,Q,!0);z=F7(X,W)}var K,B;V7(X,J),O6(X);{if(OZ.current=X,U8(!0),K=C7(Z,X,Q,G,z,J),B=T7(),X.mode&S1){X4(!0);try{K=C7(Z,X,Q,G,z,J),B=T7()}finally{X4(!1)}}U8(!1)}if(J7(),Z!==null&&!m8)return aK(Z,X,J),V5(Z,X,J);if($4()&&B)pJ(X);return X.flags|=Q7,f4(Z,X,K,J),X.child}function u2(Z,X,Q,G,J){{switch(VF(X)){case!1:{var{stateNode:Y,type:z}=X,W=new z(X.memoizedProps,Y.context),K=W.state;Y.updater.enqueueSetState(Y,K,null);break}case!0:{X.flags|=i0,X.flags|=E4;var B=new Error("Simulated error coming from DevTools"),$=R6(J);X.lanes=N0(X.lanes,$);var _=W3(X,E9(B,X),$);qY(X,_);break}}if(X.type!==X.elementType){var O=Q.propTypes;if(O)E8(O,G,"prop",d0(Q))}}var I;if(t8(Q))I=!0,lX(X);else I=!1;V7(X,J);var N=X.stateNode,V;if(N===null)fQ(Z,X),b2(X,Q,G),J3(X,Q,G,J),V=!0;else if(Z===null)V=p_(X,Q,G,J);else V=o_(Z,X,Q,G,J);var m=M3(Z,X,Q,V,I,J);{var G0=X.stateNode;if(V&&G0.props!==G){if(!f9)q("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",I0(X)||"a component");f9=!0}}return m}function M3(Z,X,Q,G,J,Y){f2(Z,X);var z=(X.flags&i0)!==U0;if(!G&&!z){if(J)FK(X,Q,!1);return V5(Z,X,Y)}var W=X.stateNode;OZ.current=X;var K;if(z&&typeof Q.getDerivedStateFromError!=="function")K=null,w2();else{O6(X);{if(U8(!0),K=W.render(),X.mode&S1){X4(!0);try{W.render()}finally{X4(!1)}}U8(!1)}J7()}if(X.flags|=Q7,Z!==null&&z)ZP(Z,X,K,Y);else f4(Z,X,K,Y);if(X.memoizedState=W.state,J)FK(X,Q,!0);return X.child}function v2(Z){var X=Z.stateNode;if(X.pendingContext)PK(Z,X.pendingContext,X.pendingContext!==X.context);else if(X.context)PK(Z,X.context,!1);MY(Z,X.containerInfo)}function JP(Z,X,Q){if(v2(X),Z===null)throw new Error("Should have a current fiber. This is a bug in React.");var{pendingProps:G,memoizedState:J}=X,Y=J.element;mK(Z,X),KQ(X,G,null,Q);var{memoizedState:z,stateNode:W}=X,K=z.element;if(J.isDehydrated){var B={element:K,isDehydrated:!1,cache:z.cache,pendingSuspenseBoundaries:z.pendingSuspenseBoundaries,transitions:z.transitions},$=X.updateQueue;if($.baseState=B,X.memoizedState=B,X.flags&H5){var _=E9(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."),X);return d2(Z,X,K,Q,_)}else if(K!==Y){var O=E9(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X);return d2(Z,X,K,Q,O)}else{K_(X);var I=gK(X,null,K,Q);X.child=I;var N=I;while(N)N.flags=N.flags&~u1|q5,N=N.sibling}}else{if(w7(),K===Y)return V5(Z,X,Q);f4(Z,X,K,Q)}return X.child}function d2(Z,X,Q,G,J){return w7(),tJ(J),X.flags|=H5,f4(Z,X,Q,G),X.child}function YP(Z,X,Q){if(pK(X),Z===null)nJ(X);var{type:G,pendingProps:J}=X,Y=Z!==null?Z.memoizedProps:null,z=J.children,W=hJ(G,J);if(W)z=null;else if(Y!==null&&hJ(G,Y))X.flags|=H6;return f2(Z,X),f4(Z,X,z,Q),X.child}function zP(Z,X){if(Z===null)nJ(X);return null}function WP(Z,X,Q,G){fQ(Z,X);var J=X.pendingProps,Y=Q,z=Y._payload,W=Y._init,K=W(z);X.type=K;var B=X.tag=$F(K),$=y8(K,J),_;switch(B){case F0:return O3(X,K),X.type=K=d7(K),_=q3(null,X,K,$,G),_;case J0:return X.type=K=p3(K),_=u2(null,X,K,$,G),_;case z0:return X.type=K=o3(K),_=h2(null,X,K,$,G),_;case G1:{if(X.type!==X.elementType){var O=K.propTypes;if(O)E8(O,$,"prop",d0(K))}return _=x2(null,X,K,y8(K.type,$),G),_}}var I="";if(K!==null&&typeof K==="object"&&K.$$typeof===t)I=" Did you wrap a component in React.lazy() more than once?";throw new Error("Element type is invalid. Received a promise that resolves to: "+K+". "+("Lazy element type must resolve to a class or function."+I))}function KP(Z,X,Q,G,J){fQ(Z,X),X.tag=J0;var Y;if(t8(Q))Y=!0,lX(X);else Y=!1;return V7(X,J),b2(X,Q,G),J3(X,Q,G,J),M3(null,X,Q,!0,Y,J)}function UP(Z,X,Q,G){fQ(Z,X);var J=X.pendingProps,Y;{var z=A7(X,Q,!1);Y=F7(X,z)}V7(X,G);var W,K;O6(X);{if(Q.prototype&&typeof Q.prototype.render==="function"){var B=d0(Q)||"Unknown";if(!K3[B])q("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.",B,B),K3[B]=!0}if(X.mode&S1)u8.recordLegacyContextWarning(X,null);U8(!0),OZ.current=X,W=C7(null,X,Q,J,Y,G),K=T7(),U8(!1)}if(J7(),X.flags|=Q7,typeof W==="object"&&W!==null&&typeof W.render==="function"&&W.$$typeof===void 0){var $=d0(Q)||"Unknown";if(!_Z[$])q("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.",$,$,$),_Z[$]=!0}if(typeof W==="object"&&W!==null&&typeof W.render==="function"&&W.$$typeof===void 0){{var _=d0(Q)||"Unknown";if(!_Z[_])q("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.",_,_,_),_Z[_]=!0}X.tag=J0,X.memoizedState=null,X.updateQueue=null;var O=!1;if(t8(Q))O=!0,lX(X);else O=!1;return X.memoizedState=W.state!==null&&W.state!==void 0?W.state:null,HY(X),S2(X,W),J3(X,Q,J,G),M3(null,X,Q,!0,O,G)}else{if(X.tag=F0,X.mode&S1){X4(!0);try{W=C7(null,X,Q,J,Y,G),K=T7()}finally{X4(!1)}}if($4()&&K)pJ(X);return f4(null,X,W,G),O3(X,Q),X.child}}function O3(Z,X){{if(X){if(X.childContextTypes)q("%s(...): childContextTypes cannot be defined on a function component.",X.displayName||X.name||"Component")}if(Z.ref!==null){var Q="",G=E5();if(G)Q+=`
|
||
|
||
Check the render method of \``+G+"`.";var J=G||"",Y=Z._debugSource;if(Y)J=Y.fileName+":"+Y.lineNumber;if(!$3[J])$3[J]=!0,q("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",Q)}if(X.defaultProps!==void 0){var z=d0(X)||"Unknown";if(!PZ[z])q("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",z),PZ[z]=!0}if(typeof X.getDerivedStateFromProps==="function"){var W=d0(X)||"Unknown";if(!B3[W])q("%s: Function components do not support getDerivedStateFromProps.",W),B3[W]=!0}if(typeof X.contextType==="object"&&X.contextType!==null){var K=d0(X)||"Unknown";if(!U3[K])q("%s: Function components do not support contextType.",K),U3[K]=!0}}}var _3={dehydrated:null,treeContext:null,retryLane:Q4};function P3(Z){return{baseLanes:Z,cachePool:e_(),transitions:null}}function BP(Z,X){var Q=null;return{baseLanes:N0(Z.baseLanes,X),cachePool:Q,transitions:Z.transitions}}function $P(Z,X,Q,G){if(X!==null){var J=X.memoizedState;if(J===null)return!1}return PY(Z,zZ)}function HP(Z,X){return qX(Z.childLanes,X)}function y2(Z,X,Q){var G=X.pendingProps;if(SF(X))X.flags|=i0;var J=v8.current,Y=!1,z=(X.flags&i0)!==U0;if(z||$P(J,Z))Y=!0,X.flags&=~i0;else if(Z===null||Z.memoizedState!==null)J=C_(J,sK);if(J=b7(J),e5(X,J),Z===null){nJ(X);var W=X.memoizedState;if(W!==null){var K=W.dehydrated;if(K!==null)return PP(X,K)}var{children:B,fallback:$}=G;if(Y){var _=qP(X,B,$,Q),O=X.child;return O.memoizedState=P3(Q),X.memoizedState=_3,_}else return A3(X,B)}else{var I=Z.memoizedState;if(I!==null){var N=I.dehydrated;if(N!==null)return AP(Z,X,z,G,N,I,Q)}if(Y){var{fallback:V,children:m}=G,G0=OP(Z,X,m,V,Q),Z0=X.child,j0=Z.child.memoizedState;return Z0.memoizedState=j0===null?P3(Q):BP(j0,Q),Z0.childLanes=HP(Z,Q),X.memoizedState=_3,G0}else{var D0=G.children,F=MP(Z,X,D0,Q);return X.memoizedState=null,F}}}function A3(Z,X,Q){var G=Z.mode,J={mode:"visible",children:X},Y=F3(J,G);return Y.return=Z,Z.child=Y,Y}function qP(Z,X,Q,G){var{mode:J,child:Y}=Z,z={mode:"hidden",children:X},W,K;if((J&g0)===W0&&Y!==null){if(W=Y,W.childLanes=h,W.pendingProps=z,Z.mode&t0)W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=0,W.treeBaseDuration=0;K=W9(Q,J,G,null)}else W=F3(z,J),K=W9(Q,J,G,null);return W.return=Z,K.return=Z,W.sibling=K,Z.child=W,K}function F3(Z,X,Q){return cU(Z,X,h,null)}function m2(Z,X){return m9(Z,X)}function MP(Z,X,Q,G){var J=Z.child,Y=J.sibling,z=m2(J,{mode:"visible",children:Q});if((X.mode&g0)===W0)z.lanes=G;if(z.return=X,z.sibling=null,Y!==null){var W=X.deletions;if(W===null)X.deletions=[Y],X.flags|=M9;else W.push(Y)}return X.child=z,z}function OP(Z,X,Q,G,J){var Y=X.mode,z=Z.child,W=z.sibling,K={mode:"hidden",children:Q},B;if((Y&g0)===W0&&X.child!==z){var $=X.child;if(B=$,B.childLanes=h,B.pendingProps=K,X.mode&t0)B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=z.selfBaseDuration,B.treeBaseDuration=z.treeBaseDuration;X.deletions=null}else B=m2(z,K),B.subtreeFlags=z.subtreeFlags&O5;var _;if(W!==null)_=m9(W,G);else _=W9(G,Y,J,null),_.flags|=u1;return _.return=X,B.return=X,B.sibling=_,X.child=B,_}function EQ(Z,X,Q,G){if(G!==null)tJ(G);I7(X,Z.child,null,Q);var J=X.pendingProps,Y=J.children,z=A3(X,Y);return z.flags|=u1,X.memoizedState=null,z}function _P(Z,X,Q,G,J){var Y=X.mode,z={mode:"visible",children:Q},W=F3(z,Y),K=W9(G,Y,J,null);if(K.flags|=u1,W.return=X,K.return=X,W.sibling=K,X.child=W,(X.mode&g0)!==W0)I7(X,Z.child,null,J);return K}function PP(Z,X,Q){if((Z.mode&g0)===W0)q("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."),Z.lanes=MX(P0);else if(fJ(X))Z.lanes=MX(R9);else Z.lanes=MX(B8);return null}function AP(Z,X,Q,G,J,Y,z){if(!Q){if(z_(),(X.mode&g0)===W0)return EQ(Z,X,z,null);if(fJ(J)){var W,K,B;{var $=IO(J);W=$.digest,K=$.message,B=$.stack}var _;if(K)_=new Error(K);else _=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var O=Y3(_,W,B);return EQ(Z,X,z,O)}var I=$8(z,Z.childLanes);if(m8||I){var N=oQ();if(N!==null){var V=DH(N,z);if(V!==Q4&&V!==Y.retryLane){Y.retryLane=V;var m=B1;e4(Z,V),a1(N,Z,V,m)}}y3();var G0=Y3(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 EQ(Z,X,z,G0)}else if(BK(J)){X.flags|=i0,X.child=Z.child;var Z0=sA.bind(null,Z);return NO(J,Z0),null}else{U_(X,J,Y.treeContext);var j0=G.children,D0=A3(X,j0);return D0.flags|=q5,D0}}else if(X.flags&H5){X.flags&=~H5;var F=Y3(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return EQ(Z,X,z,F)}else if(X.memoizedState!==null)return X.child=Z.child,X.flags|=i0,null;else{var{children:b,fallback:L}=G,x=_P(Z,X,b,L,z),s=X.child;return s.memoizedState=P3(z),X.memoizedState=_3,x}}function c2(Z,X,Q){Z.lanes=N0(Z.lanes,X);var G=Z.alternate;if(G!==null)G.lanes=N0(G.lanes,X);KY(Z.return,X,Q)}function FP(Z,X,Q){var G=X;while(G!==null){if(G.tag===H0){var J=G.memoizedState;if(J!==null)c2(G,Q,Z)}else if(G.tag===l0)c2(G,Q,Z);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===Z)return;while(G.sibling===null){if(G.return===null||G.return===Z)return;G=G.return}G.sibling.return=G.return,G=G.sibling}}function LP(Z){var X=Z,Q=null;while(X!==null){var G=X.alternate;if(G!==null&&HQ(G)===null)Q=X;X=X.sibling}return Q}function RP(Z){if(Z!==void 0&&Z!=="forwards"&&Z!=="backwards"&&Z!=="together"&&!H3[Z])if(H3[Z]=!0,typeof Z==="string")switch(Z.toLowerCase()){case"together":case"forwards":case"backwards":{q('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',Z,Z.toLowerCase());break}case"forward":case"backward":{q('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',Z,Z.toLowerCase());break}default:q('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',Z);break}else q('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',Z)}function wP(Z,X){if(Z!==void 0&&!gQ[Z]){if(Z!=="collapsed"&&Z!=="hidden")gQ[Z]=!0,q('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',Z);else if(X!=="forwards"&&X!=="backwards")gQ[Z]=!0,q('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Z)}}function i2(Z,X){{var Q=c0(Z),G=!Q&&typeof T8(Z)==="function";if(Q||G){var J=Q?"array":"iterable";return q("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>",J,X,J),!1}}return!0}function IP(Z,X){if((X==="forwards"||X==="backwards")&&Z!==void 0&&Z!==null&&Z!==!1)if(c0(Z)){for(var Q=0;Q<Z.length;Q++)if(!i2(Z[Q],Q))return}else{var G=T8(Z);if(typeof G==="function"){var J=G.call(Z);if(J){var Y=J.next(),z=0;for(;!Y.done;Y=J.next()){if(!i2(Y.value,z))return;z++}}}else q('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?',X)}}function L3(Z,X,Q,G,J){var Y=Z.memoizedState;if(Y===null)Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:G,tail:Q,tailMode:J};else Y.isBackwards=X,Y.rendering=null,Y.renderingStartTime=0,Y.last=G,Y.tail=Q,Y.tailMode=J}function l2(Z,X,Q){var G=X.pendingProps,J=G.revealOrder,Y=G.tail,z=G.children;RP(J),wP(Y,J),IP(z,J),f4(Z,X,z,Q);var W=v8.current,K=PY(W,zZ);if(K)W=AY(W,zZ),X.flags|=i0;else{var B=Z!==null&&(Z.flags&i0)!==U0;if(B)FP(X,X.child,Q);W=b7(W)}if(e5(X,W),(X.mode&g0)===W0)X.memoizedState=null;else switch(J){case"forwards":{var $=LP(X.child),_;if($===null)_=X.child,X.child=null;else _=$.sibling,$.sibling=null;L3(X,!1,_,$,Y);break}case"backwards":{var O=null,I=X.child;X.child=null;while(I!==null){var N=I.alternate;if(N!==null&&HQ(N)===null){X.child=I;break}var V=I.sibling;I.sibling=O,O=I,I=V}L3(X,!0,O,null,Y);break}case"together":{L3(X,!1,null,null,void 0);break}default:X.memoizedState=null}return X.child}function NP(Z,X,Q){MY(X,X.stateNode.containerInfo);var G=X.pendingProps;if(Z===null)X.child=I7(X,null,G,Q);else f4(Z,X,G,Q);return X.child}var p2=!1;function VP(Z,X,Q){var G=X.type,J=G._context,Y=X.pendingProps,z=X.memoizedProps,W=Y.value;{if(!("value"in Y)){if(!p2)p2=!0,q("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")}var K=X.type.propTypes;if(K)E8(K,Y,"prop","Context.Provider")}if(uK(X,J,W),z!==null){var B=z.value;if(M8(B,W)){if(z.children===Y.children&&!cX())return V5(Z,X,Q)}else w_(X,J,Q)}var $=Y.children;return f4(Z,X,$,Q),X.child}var o2=!1;function SP(Z,X,Q){var G=X.type;if(G._context===void 0){if(G!==G.Consumer){if(!o2)o2=!0,q("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")}}else G=G._context;var J=X.pendingProps,Y=J.children;if(typeof Y!=="function")q("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.");V7(X,Q);var z=v1(G);O6(X);var W;return OZ.current=X,U8(!0),W=Y(z),U8(!1),J7(),X.flags|=Q7,f4(Z,X,W,Q),X.child}function AZ(){m8=!0}function fQ(Z,X){if((X.mode&g0)===W0){if(Z!==null)Z.alternate=null,X.alternate=null,X.flags|=u1}}function V5(Z,X,Q){if(Z!==null)X.dependencies=Z.dependencies;if(w2(),kZ(X.lanes),!$8(Q,X.childLanes))return null;return L_(Z,X),X.child}function bP(Z,X,Q){{var G=X.return;if(G===null)throw new Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,Q.index=X.index,Q.sibling=X.sibling,Q.return=X.return,Q.ref=X.ref,X===G.child)G.child=Q;else{var J=G.child;if(J===null)throw new Error("Expected parent to have a child.");while(J.sibling!==X)if(J=J.sibling,J===null)throw new Error("Expected to find the previous sibling.");J.sibling=Q}var Y=G.deletions;if(Y===null)G.deletions=[Z],G.flags|=M9;else Y.push(Z);return Q.flags|=u1,Q}}function R3(Z,X){var Q=Z.lanes;if($8(Q,X))return!0;return!1}function jP(Z,X,Q){switch(X.tag){case Y0:v2(X);var G=X.stateNode;w7();break;case a:pK(X);break;case J0:{var J=X.type;if(t8(J))lX(X);break}case V0:MY(X,X.stateNode.containerInfo);break;case F1:{var Y=X.memoizedProps.value,z=X.type._context;uK(X,z,Y);break}case H1:{var W=$8(Q,X.childLanes);if(W)X.flags|=u0;{var K=X.stateNode;K.effectDuration=0,K.passiveEffectDuration=0}}break;case H0:{var B=X.memoizedState;if(B!==null){if(B.dehydrated!==null)return e5(X,b7(v8.current)),X.flags|=i0,null;var $=X.child,_=$.childLanes;if($8(Q,_))return y2(Z,X,Q);else{e5(X,b7(v8.current));var O=V5(Z,X,Q);if(O!==null)return O.sibling;else return null}}else e5(X,b7(v8.current));break}case l0:{var I=(Z.flags&i0)!==U0,N=$8(Q,X.childLanes);if(I){if(N)return l2(Z,X,Q);X.flags|=i0}var V=X.memoizedState;if(V!==null)V.rendering=null,V.tail=null,V.lastEffect=null;if(e5(X,v8.current),N)break;else return null}case q1:case k0:return X.lanes=h,E2(Z,X,Q)}return V5(Z,X,Q)}function s2(Z,X,Q){if(X._debugNeedsRemount&&Z!==null)return bP(Z,X,t3(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes));if(Z!==null){var G=Z.memoizedProps,J=X.pendingProps;if(G!==J||cX()||X.type!==Z.type)m8=!0;else{var Y=R3(Z,Q);if(!Y&&(X.flags&i0)===U0)return m8=!1,jP(Z,X,Q);if((Z.flags&SG)!==U0)m8=!0;else m8=!1}}else if(m8=!1,$4()&&Z_(X)){var z=X.index,W=X_();wK(X,W,z)}switch(X.lanes=h,X.tag){case K1:return UP(Z,X,X.type,Q);case J4:{var K=X.elementType;return WP(Z,X,K,Q)}case F0:{var{type:B,pendingProps:$}=X,_=X.elementType===B?$:y8(B,$);return q3(Z,X,B,_,Q)}case J0:{var{type:O,pendingProps:I}=X,N=X.elementType===O?I:y8(O,I);return u2(Z,X,O,N,Q)}case Y0:return JP(Z,X,Q);case a:return YP(Z,X,Q);case S0:return zP(Z,X);case H0:return y2(Z,X,Q);case V0:return NP(Z,X,Q);case z0:{var{type:V,pendingProps:m}=X,G0=X.elementType===V?m:y8(V,m);return h2(Z,X,V,G0,Q)}case d1:return XP(Z,X,Q);case L4:return QP(Z,X,Q);case H1:return GP(Z,X,Q);case F1:return VP(Z,X,Q);case m4:return SP(Z,X,Q);case G1:{var{type:Z0,pendingProps:j0}=X,D0=y8(Z0,j0);if(X.type!==X.elementType){var F=Z0.propTypes;if(F)E8(F,D0,"prop",d0(Z0))}return D0=y8(Z0.type,D0),x2(Z,X,Z0,D0,Q)}case b0:return g2(Z,X,X.type,X.pendingProps,Q);case Y4:{var{type:b,pendingProps:L}=X,x=X.elementType===b?L:y8(b,L);return KP(Z,X,b,x,Q)}case l0:return l2(Z,X,Q);case N1:break;case q1:return E2(Z,X,Q)}throw new Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function h7(Z){Z.flags|=u0}function a2(Z){Z.flags|=v5,Z.flags|=bG}var r2,w3,n2,t2;r2=function(Z,X,Q,G){var J=X.child;while(J!==null){if(J.tag===a||J.tag===S0)nM(Z,J.stateNode);else if(J.tag===V0);else if(J.child!==null){J.child.return=J,J=J.child;continue}if(J===X)return;while(J.sibling===null){if(J.return===null||J.return===X)return;J=J.return}J.sibling.return=J.return,J=J.sibling}},w3=function(Z,X){},n2=function(Z,X,Q,G,J){var Y=Z.memoizedProps;if(Y===G)return;var z=X.stateNode,W=OY(),K=eM(z,Q,Y,G,J,W);if(X.updateQueue=K,K)h7(X)},t2=function(Z,X,Q,G){if(Q!==G)h7(X)};function FZ(Z,X){if($4())return;switch(Z.tailMode){case"hidden":{var Q=Z.tail,G=null;while(Q!==null){if(Q.alternate!==null)G=Q;Q=Q.sibling}if(G===null)Z.tail=null;else G.sibling=null;break}case"collapsed":{var J=Z.tail,Y=null;while(J!==null){if(J.alternate!==null)Y=J;J=J.sibling}if(Y===null)if(!X&&Z.tail!==null)Z.tail.sibling=null;else Z.tail=null;else Y.sibling=null;break}}}function q4(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Q=h,G=U0;if(!X){if((Z.mode&t0)!==W0){var{actualDuration:J,selfBaseDuration:Y,child:z}=Z;while(z!==null)Q=N0(Q,N0(z.lanes,z.childLanes)),G|=z.subtreeFlags,G|=z.flags,J+=z.actualDuration,Y+=z.treeBaseDuration,z=z.sibling;Z.actualDuration=J,Z.treeBaseDuration=Y}else{var W=Z.child;while(W!==null)Q=N0(Q,N0(W.lanes,W.childLanes)),G|=W.subtreeFlags,G|=W.flags,W.return=Z,W=W.sibling}Z.subtreeFlags|=G}else{if((Z.mode&t0)!==W0){var{selfBaseDuration:K,child:B}=Z;while(B!==null)Q=N0(Q,N0(B.lanes,B.childLanes)),G|=B.subtreeFlags&O5,G|=B.flags&O5,K+=B.treeBaseDuration,B=B.sibling;Z.treeBaseDuration=K}else{var $=Z.child;while($!==null)Q=N0(Q,N0($.lanes,$.childLanes)),G|=$.subtreeFlags&O5,G|=$.flags&O5,$.return=Z,$=$.sibling}Z.subtreeFlags|=G}return Z.childLanes=Q,X}function DP(Z,X,Q){if(M_()&&(X.mode&g0)!==W0&&(X.flags&i0)===U0)return DK(X),w7(),X.flags|=H5|q6|E4,!1;var G=rX(X);if(Q!==null&&Q.dehydrated!==null)if(Z===null){if(!G)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(H_(X),q4(X),(X.mode&t0)!==W0){var J=Q!==null;if(J){var Y=X.child;if(Y!==null)X.treeBaseDuration-=Y.treeBaseDuration}}return!1}else{if(w7(),(X.flags&i0)===U0)X.memoizedState=null;if(X.flags|=u0,q4(X),(X.mode&t0)!==W0){var z=Q!==null;if(z){var W=X.child;if(W!==null)X.treeBaseDuration-=W.treeBaseDuration}}return!1}else return kK(),!0}function e2(Z,X,Q){var G=X.pendingProps;switch(oJ(X),X.tag){case K1:case J4:case b0:case F0:case z0:case d1:case L4:case H1:case m4:case G1:return q4(X),null;case J0:{var J=X.type;if(t8(J))iX(X);return q4(X),null}case Y0:{var Y=X.stateNode;if(S7(X),cJ(X),LY(),Y.pendingContext)Y.context=Y.pendingContext,Y.pendingContext=null;if(Z===null||Z.child===null){var z=rX(X);if(z)h7(X);else if(Z!==null){var W=Z.memoizedState;if(!W.isDehydrated||(X.flags&H5)!==U0)X.flags|=O9,kK()}}return w3(Z,X),q4(X),null}case a:{_Y(X);var K=lK(),B=X.type;if(Z!==null&&X.stateNode!=null){if(n2(Z,X,B,G,K),Z.ref!==X.ref)a2(X)}else{if(!G){if(X.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 q4(X),null}var $=OY(),_=rX(X);if(_){if(B_(X,K,$))h7(X)}else{var O=rM(B,G,K,$,X);if(r2(O,X,!1,!1),X.stateNode=O,tM(O,B,G,K))h7(X)}if(X.ref!==null)a2(X)}return q4(X),null}case S0:{var I=G;if(Z&&X.stateNode!=null){var N=Z.memoizedProps;t2(Z,X,N,I)}else{if(typeof I!=="string"){if(X.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 V=lK(),m=OY(),G0=rX(X);if(G0){if($_(X))h7(X)}else X.stateNode=ZO(I,V,m,X)}return q4(X),null}case H0:{j7(X);var Z0=X.memoizedState;if(Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){var j0=DP(Z,X,Z0);if(!j0)if(X.flags&E4)return X;else return null}if((X.flags&i0)!==U0){if(X.lanes=Q,(X.mode&t0)!==W0)pY(X);return X}var D0=Z0!==null,F=Z!==null&&Z.memoizedState!==null;if(D0!==F){if(D0){var b=X.child;if(b.flags|=_9,(X.mode&g0)!==W0){var L=Z===null&&(X.memoizedProps.unstable_avoidThisFallback!==!0||!A8);if(L||PY(v8.current,sK))gA();else y3()}}}var x=X.updateQueue;if(x!==null)X.flags|=u0;if(q4(X),(X.mode&t0)!==W0){if(D0){var s=X.child;if(s!==null)X.treeBaseDuration-=s.treeBaseDuration}}return null}case V0:if(S7(X),w3(Z,X),Z===null)oO(X.stateNode.containerInfo);return q4(X),null;case F1:var l=X.type._context;return WY(l,X),q4(X),null;case Y4:{var $0=X.type;if(t8($0))iX(X);return q4(X),null}case l0:{j7(X);var L0=X.memoizedState;if(L0===null)return q4(X),null;var Z1=(X.flags&i0)!==U0,y0=L0.rendering;if(y0===null)if(!Z1){var T1=fA()&&(Z===null||(Z.flags&i0)===U0);if(!T1){var m0=X.child;while(m0!==null){var b1=HQ(m0);if(b1!==null){Z1=!0,X.flags|=i0,FZ(L0,!1);var k4=b1.updateQueue;if(k4!==null)X.updateQueue=k4,X.flags|=u0;return X.subtreeFlags=U0,R_(X,Q),e5(X,AY(v8.current,zZ)),X.child}m0=m0.sibling}}if(L0.tail!==null&&Z4()>RU())X.flags|=i0,Z1=!0,FZ(L0,!1),X.lanes=nz}else FZ(L0,!1);else{if(!Z1){var A4=HQ(y0);if(A4!==null){X.flags|=i0,Z1=!0;var P8=A4.updateQueue;if(P8!==null)X.updateQueue=P8,X.flags|=u0;if(FZ(L0,!0),L0.tail===null&&L0.tailMode==="hidden"&&!y0.alternate&&!$4())return q4(X),null}else if(Z4()*2-L0.renderingStartTime>RU()&&Q!==B8)X.flags|=i0,Z1=!0,FZ(L0,!1),X.lanes=nz}if(L0.isBackwards)y0.sibling=X.child,X.child=y0;else{var d4=L0.last;if(d4!==null)d4.sibling=y0;else X.child=y0;L0.last=y0}}if(L0.tail!==null){var y4=L0.tail;L0.rendering=y4,L0.tail=y4.sibling,L0.renderingStartTime=Z4(),y4.sibling=null;var C4=v8.current;if(Z1)C4=AY(C4,zZ);else C4=b7(C4);return e5(X,C4),y4}return q4(X),null}case N1:break;case q1:case k0:{d3(X);var k5=X.memoizedState,y7=k5!==null;if(Z!==null){var gZ=Z.memoizedState,z5=gZ!==null;if(z5!==y7&&!c4)X.flags|=_9}if(!y7||(X.mode&g0)===W0)q4(X);else if($8(Y5,B8)){if(q4(X),X.subtreeFlags&(u1|u0))X.flags|=_9}return null}case C0:return null;case P1:return null}throw new Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function kP(Z,X,Q){switch(oJ(X),X.tag){case J0:{var G=X.type;if(t8(G))iX(X);var J=X.flags;if(J&E4){if(X.flags=J&~E4|i0,(X.mode&t0)!==W0)pY(X);return X}return null}case Y0:{var Y=X.stateNode;S7(X),cJ(X),LY();var z=X.flags;if((z&E4)!==U0&&(z&i0)===U0)return X.flags=z&~E4|i0,X;return null}case a:return _Y(X),null;case H0:{j7(X);var W=X.memoizedState;if(W!==null&&W.dehydrated!==null){if(X.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");w7()}var K=X.flags;if(K&E4){if(X.flags=K&~E4|i0,(X.mode&t0)!==W0)pY(X);return X}return null}case l0:return j7(X),null;case V0:return S7(X),null;case F1:var B=X.type._context;return WY(B,X),null;case q1:case k0:return d3(X),null;case C0:return null;default:return null}}function ZU(Z,X,Q){switch(oJ(X),X.tag){case J0:{var G=X.type.childContextTypes;if(G!==null&&G!==void 0)iX(X);break}case Y0:{var J=X.stateNode;S7(X),cJ(X),LY();break}case a:{_Y(X);break}case V0:S7(X);break;case H0:j7(X);break;case l0:j7(X);break;case F1:var Y=X.type._context;WY(Y,X);break;case q1:case k0:d3(X);break}}var XU=null;XU=new Set;var uQ=!1,M4=!1,CP=typeof WeakSet==="function"?WeakSet:Set,n=null,x7=null,g7=null;function TP(Z){IG(null,function(){throw Z}),NG()}var hP=function(Z,X){if(X.props=Z.memoizedProps,X.state=Z.memoizedState,Z.mode&t0)try{G5(),X.componentWillUnmount()}finally{Q5(Z)}else X.componentWillUnmount()};function QU(Z,X){try{Q9(c1,Z)}catch(Q){W1(Z,X,Q)}}function I3(Z,X,Q){try{hP(Z,Q)}catch(G){W1(Z,X,G)}}function xP(Z,X,Q){try{Q.componentDidMount()}catch(G){W1(Z,X,G)}}function GU(Z,X){try{zU(Z)}catch(Q){W1(Z,X,Q)}}function E7(Z,X){var Q=Z.ref;if(Q!==null)if(typeof Q==="function"){var G;try{if(F8&&J8&&Z.mode&t0)try{G5(),G=Q(null)}finally{Q5(Z)}else G=Q(null)}catch(J){W1(Z,X,J)}if(typeof G==="function")q("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",I0(Z))}else Q.current=null}function vQ(Z,X,Q){try{Q()}catch(G){W1(Z,X,G)}}var JU=null,YU=!1;function gP(Z,X){JU=sM(Z.containerInfo),n=X,EP();var Q=YU;return YU=!1,JU=null,Q}function EP(){while(n!==null){var Z=n,X=Z.child;if((Z.subtreeFlags&DG)!==U0&&X!==null)X.return=Z,n=X;else fP()}}function fP(){while(n!==null){var Z=n;w1(Z);try{uP(Z)}catch(Q){W1(Z,Z.return,Q)}e1();var X=Z.sibling;if(X!==null){X.return=Z.return,n=X;return}n=Z.return}}function uP(Z){var{alternate:X,flags:Q}=Z;if((Q&O9)!==U0){switch(w1(Z),Z.tag){case F0:case z0:case b0:break;case J0:{if(X!==null){var{memoizedProps:G,memoizedState:J}=X,Y=Z.stateNode;if(Z.type===Z.elementType&&!f9){if(Y.props!==Z.memoizedProps)q("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.",I0(Z)||"instance");if(Y.state!==Z.memoizedState)q("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.",I0(Z)||"instance")}var z=Y.getSnapshotBeforeUpdate(Z.elementType===Z.type?G:y8(Z.type,G),J);{var W=XU;if(z===void 0&&!W.has(Z.type))W.add(Z.type),q("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",I0(Z))}Y.__reactInternalSnapshotBeforeUpdate=z}break}case Y0:{{var K=Z.stateNode;FO(K.containerInfo)}break}case a:case S0:case V0:case Y4: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.")}e1()}}function c8(Z,X,Q){var G=X.updateQueue,J=G!==null?G.lastEffect:null;if(J!==null){var Y=J.next,z=Y;do{if((z.tag&Z)===Z){var W=z.destroy;if(z.destroy=void 0,W!==void 0){if((Z&H4)!==Z8)ZH(X);else if((Z&c1)!==Z8)pz(X);if((Z&e8)!==Z8)TZ(!0);if(vQ(X,Q,W),(Z&e8)!==Z8)TZ(!1);if((Z&H4)!==Z8)XH();else if((Z&c1)!==Z8)oz()}}z=z.next}while(z!==Y)}}function Q9(Z,X){var Q=X.updateQueue,G=Q!==null?Q.lastEffect:null;if(G!==null){var J=G.next,Y=J;do{if((Y.tag&Z)===Z){if((Z&H4)!==Z8)t$(X);else if((Z&c1)!==Z8)QH(X);var z=Y.create;if((Z&e8)!==Z8)TZ(!0);if(Y.destroy=z(),(Z&e8)!==Z8)TZ(!1);if((Z&H4)!==Z8)e$();else if((Z&c1)!==Z8)GH();{var W=Y.destroy;if(W!==void 0&&typeof W!=="function"){var K=void 0;if((Y.tag&c1)!==U0)K="useLayoutEffect";else if((Y.tag&e8)!==U0)K="useInsertionEffect";else K="useEffect";var B=void 0;if(W===null)B=" You returned null. If your effect does not require clean up, return undefined (or nothing).";else if(typeof W.then==="function")B=`
|
||
|
||
It looks like you wrote `+K+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
||
|
||
`+K+`(() => {
|
||
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`;else B=" You returned: "+W;q("%s must not return anything besides a function, which is used for clean-up.%s",K,B)}}}Y=Y.next}while(Y!==J)}}function vP(Z,X){if((X.flags&u0)!==U0)switch(X.tag){case H1:{var Q=X.stateNode.passiveEffectDuration,G=X.memoizedProps,J=G.id,Y=G.onPostCommit,z=L2(),W=X.alternate===null?"mount":"update";if(F2())W="nested-update";if(typeof Y==="function")Y(J,W,Q,z);var K=X.return;Z:while(K!==null){switch(K.tag){case Y0:var B=K.stateNode;B.passiveEffectDuration+=Q;break Z;case H1:var $=K.stateNode;$.passiveEffectDuration+=Q;break Z}K=K.return}break}}}function dP(Z,X,Q,G){if((Q.flags&M6)!==U0)switch(Q.tag){case F0:case z0:case b0:{if(!M4)if(Q.mode&t0)try{G5(),Q9(c1|m1,Q)}finally{Q5(Q)}else Q9(c1|m1,Q);break}case J0:{var J=Q.stateNode;if(Q.flags&u0){if(!M4)if(X===null){if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)q("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.",I0(Q)||"instance");if(J.state!==Q.memoizedState)q("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.",I0(Q)||"instance")}if(Q.mode&t0)try{G5(),J.componentDidMount()}finally{Q5(Q)}else J.componentDidMount()}else{var Y=Q.elementType===Q.type?X.memoizedProps:y8(Q.type,X.memoizedProps),z=X.memoizedState;if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)q("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.",I0(Q)||"instance");if(J.state!==Q.memoizedState)q("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.",I0(Q)||"instance")}if(Q.mode&t0)try{G5(),J.componentDidUpdate(Y,z,J.__reactInternalSnapshotBeforeUpdate)}finally{Q5(Q)}else J.componentDidUpdate(Y,z,J.__reactInternalSnapshotBeforeUpdate)}}var W=Q.updateQueue;if(W!==null){if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)q("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.",I0(Q)||"instance");if(J.state!==Q.memoizedState)q("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.",I0(Q)||"instance")}iK(Q,W,J)}break}case Y0:{var K=Q.updateQueue;if(K!==null){var B=null;if(Q.child!==null)switch(Q.child.tag){case a:B=TJ(Q.child.stateNode);break;case J0:B=Q.child.stateNode;break}iK(Q,K,B)}break}case a:{var $=Q.stateNode;if(X===null&&Q.flags&u0){var{type:_,memoizedProps:O}=Q;YO($,_,O)}break}case S0:break;case V0:break;case H1:{{var I=Q.memoizedProps,N=I.onCommit,V=I.onRender,m=Q.stateNode.effectDuration,G0=L2(),Z0=X===null?"mount":"update";if(F2())Z0="nested-update";if(typeof V==="function")V(Q.memoizedProps.id,Z0,Q.actualDuration,Q.treeBaseDuration,Q.actualStartTime,G0);{if(typeof N==="function")N(Q.memoizedProps.id,Z0,m,G0);mA(Q);var j0=Q.return;Z:while(j0!==null){switch(j0.tag){case Y0:var D0=j0.stateNode;D0.effectDuration+=m;break Z;case H1:var F=j0.stateNode;F.effectDuration+=m;break Z}j0=j0.return}}}break}case H0:{sP(Z,Q);break}case l0:case Y4:case N1:case q1:case k0:case P1: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.")}if(!M4){if(Q.flags&v5)zU(Q)}}function yP(Z){switch(Z.tag){case F0:case z0:case b0:{if(Z.mode&t0)try{G5(),QU(Z,Z.return)}finally{Q5(Z)}else QU(Z,Z.return);break}case J0:{var X=Z.stateNode;if(typeof X.componentDidMount==="function")xP(Z,Z.return,X);GU(Z,Z.return);break}case a:{GU(Z,Z.return);break}}}function mP(Z,X){var Q=null;{var G=Z;while(!0){if(G.tag===a){if(Q===null){Q=G;try{var J=G.stateNode;if(X)OO(J);else PO(G.stateNode,G.memoizedProps)}catch(z){W1(Z,Z.return,z)}}}else if(G.tag===S0){if(Q===null)try{var Y=G.stateNode;if(X)_O(Y);else AO(Y,G.memoizedProps)}catch(z){W1(Z,Z.return,z)}}else if((G.tag===q1||G.tag===k0)&&G.memoizedState!==null&&G!==Z);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===Z)return;while(G.sibling===null){if(G.return===null||G.return===Z)return;if(Q===G)Q=null;G=G.return}if(Q===G)Q=null;G.sibling.return=G.return,G=G.sibling}}}function zU(Z){var X=Z.ref;if(X!==null){var Q=Z.stateNode,G;switch(Z.tag){case a:G=TJ(Q);break;default:G=Q}if(typeof X==="function"){var J;if(Z.mode&t0)try{G5(),J=X(G)}finally{Q5(Z)}else J=X(G);if(typeof J==="function")q("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",I0(Z))}else{if(!X.hasOwnProperty("current"))q("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",I0(Z));X.current=G}}}function cP(Z){var X=Z.alternate;if(X!==null)X.return=null;Z.return=null}function WU(Z){var X=Z.alternate;if(X!==null)Z.alternate=null,WU(X);{if(Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===a){var Q=Z.stateNode;if(Q!==null)rO(Q)}Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}}function iP(Z){var X=Z.return;while(X!==null){if(KU(X))return X;X=X.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 KU(Z){return Z.tag===a||Z.tag===Y0||Z.tag===V0}function UU(Z){var X=Z;Z:while(!0){while(X.sibling===null){if(X.return===null||KU(X.return))return null;X=X.return}X.sibling.return=X.return,X=X.sibling;while(X.tag!==a&&X.tag!==S0&&X.tag!==z4){if(X.flags&u1)continue Z;if(X.child===null||X.tag===V0)continue Z;else X.child.return=X,X=X.child}if(!(X.flags&u1))return X.stateNode}}function lP(Z){var X=iP(Z);switch(X.tag){case a:{var Q=X.stateNode;if(X.flags&H6)UK(Q),X.flags&=~H6;var G=UU(Z);V3(Z,G,Q);break}case Y0:case V0:{var J=X.stateNode.containerInfo,Y=UU(Z);N3(Z,Y,J);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function N3(Z,X,Q){var G=Z.tag,J=G===a||G===S0;if(J){var Y=Z.stateNode;if(X)$O(Q,Y,X);else UO(Q,Y)}else if(G===V0);else{var z=Z.child;if(z!==null){N3(z,X,Q);var W=z.sibling;while(W!==null)N3(W,X,Q),W=W.sibling}}}function V3(Z,X,Q){var G=Z.tag,J=G===a||G===S0;if(J){var Y=Z.stateNode;if(X)BO(Q,Y,X);else KO(Q,Y)}else if(G===V0);else{var z=Z.child;if(z!==null){V3(z,X,Q);var W=z.sibling;while(W!==null)V3(W,X,Q),W=W.sibling}}}var O4=null,i8=!1;function pP(Z,X,Q){{var G=X;Z:while(G!==null){switch(G.tag){case a:{O4=G.stateNode,i8=!1;break Z}case Y0:{O4=G.stateNode.containerInfo,i8=!0;break Z}case V0:{O4=G.stateNode.containerInfo,i8=!0;break Z}}G=G.return}if(O4===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");BU(Z,X,Q),O4=null,i8=!1}cP(Q)}function G9(Z,X,Q){var G=Q.child;while(G!==null)BU(Z,X,G),G=G.sibling}function BU(Z,X,Q){switch(s$(Q),Q.tag){case a:if(!M4)E7(Q,X);case S0:{{var G=O4,J=i8;if(O4=null,G9(Z,X,Q),O4=G,i8=J,O4!==null)if(i8)qO(O4,Q.stateNode);else HO(O4,Q.stateNode)}return}case z4:{if(O4!==null)if(i8)MO(O4,Q.stateNode);else EJ(O4,Q.stateNode);return}case V0:{{var Y=O4,z=i8;O4=Q.stateNode.containerInfo,i8=!0,G9(Z,X,Q),O4=Y,i8=z}return}case F0:case z0:case G1:case b0:{if(!M4){var W=Q.updateQueue;if(W!==null){var K=W.lastEffect;if(K!==null){var B=K.next,$=B;do{var _=$,O=_.destroy,I=_.tag;if(O!==void 0){if((I&e8)!==Z8)vQ(Q,X,O);else if((I&c1)!==Z8){if(pz(Q),Q.mode&t0)G5(),vQ(Q,X,O),Q5(Q);else vQ(Q,X,O);oz()}}$=$.next}while($!==B)}}}G9(Z,X,Q);return}case J0:{if(!M4){E7(Q,X);var N=Q.stateNode;if(typeof N.componentWillUnmount==="function")I3(Q,X,N)}G9(Z,X,Q);return}case N1:{G9(Z,X,Q);return}case q1:{if(Q.mode&g0){var V=M4;M4=V||Q.memoizedState!==null,G9(Z,X,Q),M4=V}else G9(Z,X,Q);break}default:{G9(Z,X,Q);return}}}function oP(Z){var X=Z.memoizedState}function sP(Z,X){var Q=X.memoizedState;if(Q===null){var G=X.alternate;if(G!==null){var J=G.memoizedState;if(J!==null){var Y=J.dehydrated;if(Y!==null)hO(Y)}}}}function $U(Z){var X=Z.updateQueue;if(X!==null){Z.updateQueue=null;var Q=Z.stateNode;if(Q===null)Q=Z.stateNode=new CP;X.forEach(function(G){var J=aA.bind(null,Z,G);if(!Q.has(G)){if(Q.add(G),x8)if(x7!==null&&g7!==null)CZ(g7,x7);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");G.then(J,J)}})}}function aP(Z,X,Q){x7=Q,g7=Z,w1(X),HU(X,Z),w1(X),x7=null,g7=null}function l8(Z,X,Q){var G=X.deletions;if(G!==null)for(var J=0;J<G.length;J++){var Y=G[J];try{pP(Z,X,Y)}catch(K){W1(Y,X,K)}}var z=pZ();if(X.subtreeFlags&kG){var W=X.child;while(W!==null)w1(W),HU(W,Z),W=W.sibling}w1(z)}function HU(Z,X,Q){var{alternate:G,flags:J}=Z;switch(Z.tag){case F0:case z0:case G1:case b0:{if(l8(X,Z),J5(Z),J&u0){try{c8(e8|m1,Z,Z.return),Q9(e8|m1,Z)}catch($0){W1(Z,Z.return,$0)}if(Z.mode&t0){try{G5(),c8(c1|m1,Z,Z.return)}catch($0){W1(Z,Z.return,$0)}Q5(Z)}else try{c8(c1|m1,Z,Z.return)}catch($0){W1(Z,Z.return,$0)}}return}case J0:{if(l8(X,Z),J5(Z),J&v5){if(G!==null)E7(G,G.return)}return}case a:{if(l8(X,Z),J5(Z),J&v5){if(G!==null)E7(G,G.return)}{if(Z.flags&H6){var Y=Z.stateNode;try{UK(Y)}catch($0){W1(Z,Z.return,$0)}}if(J&u0){var z=Z.stateNode;if(z!=null){var W=Z.memoizedProps,K=G!==null?G.memoizedProps:W,B=Z.type,$=Z.updateQueue;if(Z.updateQueue=null,$!==null)try{zO(z,$,B,K,W,Z)}catch($0){W1(Z,Z.return,$0)}}}}return}case S0:{if(l8(X,Z),J5(Z),J&u0){if(Z.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{stateNode:_,memoizedProps:O}=Z,I=G!==null?G.memoizedProps:O;try{WO(_,I,O)}catch($0){W1(Z,Z.return,$0)}}return}case Y0:{if(l8(X,Z),J5(Z),J&u0){if(G!==null){var N=G.memoizedState;if(N.isDehydrated)try{TO(X.containerInfo)}catch($0){W1(Z,Z.return,$0)}}}return}case V0:{l8(X,Z),J5(Z);return}case H0:{l8(X,Z),J5(Z);var V=Z.child;if(V.flags&_9){var{stateNode:m,memoizedState:G0}=V,Z0=G0!==null;if(m.isHidden=Z0,Z0){var j0=V.alternate!==null&&V.alternate.memoizedState!==null;if(!j0)xA()}}if(J&u0){try{oP(Z)}catch($0){W1(Z,Z.return,$0)}$U(Z)}return}case q1:{var D0=G!==null&&G.memoizedState!==null;if(Z.mode&g0){var F=M4;M4=F||D0,l8(X,Z),M4=F}else l8(X,Z);if(J5(Z),J&_9){var{stateNode:b,memoizedState:L}=Z,x=L!==null,s=Z;if(b.isHidden=x,x){if(!D0){if((s.mode&g0)!==W0){n=s;var l=s.child;while(l!==null)n=l,nP(l),l=l.sibling}}}mP(s,x)}return}case l0:{if(l8(X,Z),J5(Z),J&u0)$U(Z);return}case N1:return;default:{l8(X,Z),J5(Z);return}}}function J5(Z){var X=Z.flags;if(X&u1){try{lP(Z)}catch(Q){W1(Z,Z.return,Q)}Z.flags&=~u1}if(X&q5)Z.flags&=~q5}function rP(Z,X,Q){x7=Q,g7=X,n=Z,qU(Z,X,Q),x7=null,g7=null}function qU(Z,X,Q){var G=(Z.mode&g0)!==W0;while(n!==null){var J=n,Y=J.child;if(J.tag===q1&&G){var z=J.memoizedState!==null,W=z||uQ;if(W){S3(Z,X,Q);continue}else{var K=J.alternate,B=K!==null&&K.memoizedState!==null,$=B||M4,_=uQ,O=M4;if(uQ=W,M4=$,M4&&!O)n=J,tP(J);var I=Y;while(I!==null)n=I,qU(I,X,Q),I=I.sibling;n=J,uQ=_,M4=O,S3(Z,X,Q);continue}}if((J.subtreeFlags&M6)!==U0&&Y!==null)Y.return=J,n=Y;else S3(Z,X,Q)}}function S3(Z,X,Q){while(n!==null){var G=n;if((G.flags&M6)!==U0){var J=G.alternate;w1(G);try{dP(X,J,G,Q)}catch(z){W1(G,G.return,z)}e1()}if(G===Z){n=null;return}var Y=G.sibling;if(Y!==null){Y.return=G.return,n=Y;return}n=G.return}}function nP(Z){while(n!==null){var X=n,Q=X.child;switch(X.tag){case F0:case z0:case G1:case b0:{if(X.mode&t0)try{G5(),c8(c1,X,X.return)}finally{Q5(X)}else c8(c1,X,X.return);break}case J0:{E7(X,X.return);var G=X.stateNode;if(typeof G.componentWillUnmount==="function")I3(X,X.return,G);break}case a:{E7(X,X.return);break}case q1:{var J=X.memoizedState!==null;if(J){MU(Z);continue}break}}if(Q!==null)Q.return=X,n=Q;else MU(Z)}}function MU(Z){while(n!==null){var X=n;if(X===Z){n=null;return}var Q=X.sibling;if(Q!==null){Q.return=X.return,n=Q;return}n=X.return}}function tP(Z){while(n!==null){var X=n,Q=X.child;if(X.tag===q1){var G=X.memoizedState!==null;if(G){OU(Z);continue}}if(Q!==null)Q.return=X,n=Q;else OU(Z)}}function OU(Z){while(n!==null){var X=n;w1(X);try{yP(X)}catch(G){W1(X,X.return,G)}if(e1(),X===Z){n=null;return}var Q=X.sibling;if(Q!==null){Q.return=X.return,n=Q;return}n=X.return}}function eP(Z,X,Q,G){n=X,ZA(X,Z,Q,G)}function ZA(Z,X,Q,G){while(n!==null){var J=n,Y=J.child;if((J.subtreeFlags&G7)!==U0&&Y!==null)Y.return=J,n=Y;else XA(Z,X,Q,G)}}function XA(Z,X,Q,G){while(n!==null){var J=n;if((J.flags&h8)!==U0){w1(J);try{QA(X,J,Q,G)}catch(z){W1(J,J.return,z)}e1()}if(J===Z){n=null;return}var Y=J.sibling;if(Y!==null){Y.return=J.return,n=Y;return}n=J.return}}function QA(Z,X,Q,G){switch(X.tag){case F0:case z0:case b0:{if(X.mode&t0){lY();try{Q9(H4|m1,X)}finally{iY(X)}}else Q9(H4|m1,X);break}}}function GA(Z){n=Z,JA()}function JA(){while(n!==null){var Z=n,X=Z.child;if((n.flags&M9)!==U0){var Q=Z.deletions;if(Q!==null){for(var G=0;G<Q.length;G++){var J=Q[G];n=J,WA(J,Z)}{var Y=Z.alternate;if(Y!==null){var z=Y.child;if(z!==null){Y.child=null;do{var W=z.sibling;z.sibling=null,z=W}while(z!==null)}}}n=Z}}if((Z.subtreeFlags&G7)!==U0&&X!==null)X.return=Z,n=X;else YA()}}function YA(){while(n!==null){var Z=n;if((Z.flags&h8)!==U0)w1(Z),zA(Z),e1();var X=Z.sibling;if(X!==null){X.return=Z.return,n=X;return}n=Z.return}}function zA(Z){switch(Z.tag){case F0:case z0:case b0:{if(Z.mode&t0)lY(),c8(H4|m1,Z,Z.return),iY(Z);else c8(H4|m1,Z,Z.return);break}}}function WA(Z,X){while(n!==null){var Q=n;w1(Q),UA(Q,X),e1();var G=Q.child;if(G!==null)G.return=Q,n=G;else KA(Z)}}function KA(Z){while(n!==null){var X=n,Q=X.sibling,G=X.return;if(WU(X),X===Z){n=null;return}if(Q!==null){Q.return=G,n=Q;return}n=G}}function UA(Z,X){switch(Z.tag){case F0:case z0:case b0:{if(Z.mode&t0)lY(),c8(H4,Z,X),iY(Z);else c8(H4,Z,X);break}}}function BA(Z){switch(Z.tag){case F0:case z0:case b0:{try{Q9(c1|m1,Z)}catch(Q){W1(Z,Z.return,Q)}break}case J0:{var X=Z.stateNode;try{X.componentDidMount()}catch(Q){W1(Z,Z.return,Q)}break}}}function $A(Z){switch(Z.tag){case F0:case z0:case b0:{try{Q9(H4|m1,Z)}catch(X){W1(Z,Z.return,X)}break}}}function HA(Z){switch(Z.tag){case F0:case z0:case b0:{try{c8(c1|m1,Z,Z.return)}catch(Q){W1(Z,Z.return,Q)}break}case J0:{var X=Z.stateNode;if(typeof X.componentWillUnmount==="function")I3(Z,Z.return,X);break}}}function qA(Z){switch(Z.tag){case F0:case z0:case b0:try{c8(H4|m1,Z,Z.return)}catch(X){W1(Z,Z.return,X)}}}var MA=0,OA=1,_A=2,PA=3,AA=4;if(typeof Symbol==="function"&&Symbol.for){var LZ=Symbol.for;MA=LZ("selector.component"),OA=LZ("selector.has_pseudo_class"),_A=LZ("selector.role"),PA=LZ("selector.test_id"),AA=LZ("selector.text")}var FA=[];function LA(){FA.forEach(function(Z){return Z()})}var RA=c.ReactCurrentActQueue;function wA(Z){{var X=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,Q=typeof jest!=="undefined";return Q&&X!==!1}}function _U(){{var Z=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;if(!Z&&RA.current!==null)q("The current testing environment is not configured to support act(...)");return Z}}var IA=Math.ceil,b3=c.ReactCurrentDispatcher,j3=c.ReactCurrentOwner,_4=c.ReactCurrentBatchConfig,p8=c.ReactCurrentActQueue,p1=0,PU=1,P4=2,j8=4,S5=0,RZ=1,u9=2,dQ=3,wZ=4,AU=5,D3=6,E0=p1,u4=null,I1=null,o1=h,Y5=h,k3=o5(h),s1=S5,IZ=null,C3=h,yQ=h,NZ=h,mQ=h,VZ=null,X8=null,T3=0,FU=500,LU=1/0,NA=500,b5=null;function SZ(){LU=Z4()+NA}function RU(){return LU}var cQ=!1,h3=null,f7=null,v9=!1,J9=null,bZ=h,x3=[],g3=null,VA=50,jZ=0,E3=null,f3=!1,iQ=!1,SA=50,u7=0,lQ=null,DZ=B1,pQ=h,wU=!1;function oQ(){return u4}function v4(){if((E0&(P4|j8))!==p1)return Z4();if(DZ!==B1)return DZ;return DZ=Z4(),DZ}function Y9(Z){var X=Z.mode;if((X&g0)===W0)return P0;else if((E0&P4)!==p1&&o1!==h)return R6(o1);var Q=P_()!==__;if(Q){if(_4.transition!==null){var G=_4.transition;if(!G._updatedFibers)G._updatedFibers=new Set;G._updatedFibers.add(Z)}if(pQ===Q4)pQ=XW();return pQ}var J=g8();if(J!==Q4)return J;var Y=XO();return Y}function bA(Z){var X=Z.mode;if((X&g0)===W0)return P0;return VH()}function a1(Z,X,Q,G){if(nA(),wU)q("useInsertionEffect must not schedule updates.");if(f3)iQ=!0;if(w6(Z,Q,G),(E0&P4)!==h&&Z===u4)ZF(X);else{if(x8)JW(Z,X,Q);if(XF(X),Z===u4){if((E0&P4)===p1)NZ=N0(NZ,Q);if(s1===wZ)z9(Z,o1)}if(Q8(Z,G),Q===P0&&E0===p1&&(X.mode&g0)===W0&&!p8.isBatchingLegacy)SZ(),RK()}}function jA(Z,X,Q){var G=Z.current;G.lanes=X,w6(Z,X,Q),Q8(Z,Q)}function DA(Z){return(E0&P4)!==p1}function Q8(Z,X){var Q=Z.callbackNode;FH(Z,X);var G=$X(Z,Z===u4?o1:h);if(G===h){if(Q!==null)uU(Q);Z.callbackNode=null,Z.callbackPriority=Q4;return}var J=I9(G),Y=Z.callbackPriority;if(Y===J&&!(p8.current!==null&&Q!==i3)){if(Q==null&&Y!==P0)q("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}if(Q!=null)uU(Q);var z;if(J===P0){if(Z.tag===s5){if(p8.isBatchingLegacy!==null)p8.didScheduleLegacyUpdate=!0;eO(VU.bind(null,Z))}else LK(VU.bind(null,Z));if(p8.current!==null)p8.current.push(a5);else GO(function(){if((E0&(P4|j8))===p1)a5()});z=null}else{var W;switch(WW(G)){case H8:W=WX;break;case P5:W=CG;break;case A5:W=F9;break;case OX:W=TG;break;default:W=F9;break}z=l3(W,IU.bind(null,Z))}Z.callbackPriority=J,Z.callbackNode=z}function IU(Z,X){if(m_(),DZ=B1,pQ=h,(E0&(P4|j8))!==p1)throw new Error("Should not already be working.");var Q=Z.callbackNode,G=D5();if(G){if(Z.callbackNode!==Q)return null}var J=$X(Z,Z===u4?o1:h);if(J===h)return null;var Y=!HX(Z,J)&&!NH(Z,J)&&!X,z=Y?vA(Z,J):aQ(Z,J);if(z!==S5){if(z===u9){var W=ZJ(Z);if(W!==h)J=W,z=u3(Z,W)}if(z===RZ){var K=IZ;throw d9(Z,h),z9(Z,J),Q8(Z,Z4()),K}if(z===D3)z9(Z,J);else{var B=!HX(Z,J),$=Z.current.alternate;if(B&&!CA($)){if(z=aQ(Z,J),z===u9){var _=ZJ(Z);if(_!==h)J=_,z=u3(Z,_)}if(z===RZ){var O=IZ;throw d9(Z,h),z9(Z,J),Q8(Z,Z4()),O}}Z.finishedWork=$,Z.finishedLanes=J,kA(Z,z,J)}}if(Q8(Z,Z4()),Z.callbackNode===Q)return IU.bind(null,Z);return null}function u3(Z,X){var Q=VZ;if(_X(Z)){var G=d9(Z,X);G.flags|=H5,pO(Z.containerInfo)}var J=aQ(Z,X);if(J!==u9){var Y=X8;if(X8=Q,Y!==null)NU(Y)}return J}function NU(Z){if(X8===null)X8=Z;else X8.push.apply(X8,Z)}function kA(Z,X,Q){switch(X){case S5:case RZ:throw new Error("Root did not complete. This is a bug in React.");case u9:{y9(Z,X8,b5);break}case dQ:{if(z9(Z,Q),ez(Q)&&!vU()){var G=T3+FU-Z4();if(G>10){var J=$X(Z,h);if(J!==h)break;var Y=Z.suspendedLanes;if(!K7(Y,Q)){var z=v4();GW(Z,Y);break}Z.timeoutHandle=xJ(y9.bind(null,Z,X8,b5),G);break}}y9(Z,X8,b5);break}case wZ:{if(z9(Z,Q),IH(Q))break;if(!vU()){var W=PH(Z,Q),K=W,B=Z4()-K,$=rA(B)-B;if($>10){Z.timeoutHandle=xJ(y9.bind(null,Z,X8,b5),$);break}}y9(Z,X8,b5);break}case AU:{y9(Z,X8,b5);break}default:throw new Error("Unknown root exit status.")}}function CA(Z){var X=Z;while(!0){if(X.flags&YX){var Q=X.updateQueue;if(Q!==null){var G=Q.stores;if(G!==null)for(var J=0;J<G.length;J++){var Y=G[J],z=Y.getSnapshot,W=Y.value;try{if(!M8(z(),W))return!1}catch(B){return!1}}}}var K=X.child;if(X.subtreeFlags&YX&&K!==null){K.return=X,X=K;continue}if(X===Z)return!0;while(X.sibling===null){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}return!0}function z9(Z,X){X=qX(X,mQ),X=qX(X,NZ),bH(Z,X)}function VU(Z){if(c_(),(E0&(P4|j8))!==p1)throw new Error("Should not already be working.");D5();var X=$X(Z,h);if(!$8(X,P0))return Q8(Z,Z4()),null;var Q=aQ(Z,X);if(Z.tag!==s5&&Q===u9){var G=ZJ(Z);if(G!==h)X=G,Q=u3(Z,G)}if(Q===RZ){var J=IZ;throw d9(Z,h),z9(Z,X),Q8(Z,Z4()),J}if(Q===D3)throw new Error("Root did not complete. This is a bug in React.");var Y=Z.current.alternate;return Z.finishedWork=Y,Z.finishedLanes=X,y9(Z,X8,b5),Q8(Z,Z4()),null}function TA(Z,X){if(X!==h){if(JJ(Z,N0(X,P0)),Q8(Z,Z4()),(E0&(P4|j8))===p1)SZ(),a5()}}function v3(Z,X){var Q=E0;E0|=PU;try{return Z(X)}finally{if(E0=Q,E0===p1&&!p8.isBatchingLegacy)SZ(),RK()}}function hA(Z,X,Q,G,J){var Y=g8(),z=_4.transition;try{return _4.transition=null,G4(H8),Z(X,Q,G,J)}finally{if(G4(Y),_4.transition=z,E0===p1)SZ()}}function j5(Z){if(J9!==null&&J9.tag===s5&&(E0&(P4|j8))===p1)D5();var X=E0;E0|=PU;var Q=_4.transition,G=g8();try{if(_4.transition=null,G4(H8),Z)return Z();else return}finally{if(G4(G),_4.transition=Q,E0=X,(E0&(P4|j8))===p1)a5()}}function SU(){return(E0&(P4|j8))!==p1}function sQ(Z,X){j4(k3,Y5,Z),Y5=N0(Y5,X),C3=N0(C3,X)}function d3(Z){Y5=k3.current,b4(k3,Z)}function d9(Z,X){Z.finishedWork=null,Z.finishedLanes=h;var Q=Z.timeoutHandle;if(Q!==gJ)Z.timeoutHandle=gJ,QO(Q);if(I1!==null){var G=I1.return;while(G!==null){var J=G.alternate;ZU(J,G),G=G.return}}u4=Z;var Y=m9(Z.current,null);return I1=Y,o1=Y5=C3=X,s1=S5,IZ=null,yQ=h,NZ=h,mQ=h,VZ=null,X8=null,N_(),u8.discardPendingWarnings(),Y}function bU(Z,X){do{var Q=I1;try{if(QQ(),rK(),e1(),j3.current=null,Q===null||Q.return===null){s1=RZ,IZ=X,I1=null;return}if(F8&&Q.mode&t0)hQ(Q,!0);if(T4)if(J7(),X!==null&&typeof X==="object"&&typeof X.then==="function"){var G=X;YH(Q,G,o1)}else JH(Q,X,o1);t_(Z,Q.return,Q,X,o1),CU(Q)}catch(J){if(X=J,I1===Q&&Q!==null)Q=Q.return,I1=Q;else Q=I1;continue}return}while(!0)}function jU(){var Z=b3.current;if(b3.current=jQ,Z===null)return jQ;else return Z}function DU(Z){b3.current=Z}function xA(){T3=Z4()}function kZ(Z){yQ=N0(Z,yQ)}function gA(){if(s1===S5)s1=dQ}function y3(){if(s1===S5||s1===dQ||s1===u9)s1=wZ;if(u4!==null&&(XJ(yQ)||XJ(NZ)))z9(u4,o1)}function EA(Z){if(s1!==wZ)s1=u9;if(VZ===null)VZ=[Z];else VZ.push(Z)}function fA(){return s1===S5}function aQ(Z,X){var Q=E0;E0|=P4;var G=jU();if(u4!==Z||o1!==X){if(x8){var J=Z.memoizedUpdaters;if(J.size>0)CZ(Z,o1),J.clear();YW(Z,X)}b5=zW(),d9(Z,X)}sz(X);do try{uA();break}catch(Y){bU(Z,Y)}while(!0);if(QQ(),E0=Q,DU(G),I1!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return az(),u4=null,o1=h,s1}function uA(){while(I1!==null)kU(I1)}function vA(Z,X){var Q=E0;E0|=P4;var G=jU();if(u4!==Z||o1!==X){if(x8){var J=Z.memoizedUpdaters;if(J.size>0)CZ(Z,o1),J.clear();YW(Z,X)}b5=zW(),SZ(),d9(Z,X)}sz(X);do try{dA();break}catch(Y){bU(Z,Y)}while(!0);if(QQ(),DU(G),E0=Q,I1!==null)return BH(),S5;else return az(),u4=null,o1=h,s1}function dA(){while(I1!==null&&!u$())kU(I1)}function kU(Z){var X=Z.alternate;w1(Z);var Q;if((Z.mode&t0)!==W0)cY(Z),Q=m3(X,Z,Y5),hQ(Z,!0);else Q=m3(X,Z,Y5);if(e1(),Z.memoizedProps=Z.pendingProps,Q===null)CU(Z);else I1=Q;j3.current=null}function CU(Z){var X=Z;do{var{alternate:Q,return:G}=X;if((X.flags&q6)===U0){w1(X);var J=void 0;if((X.mode&t0)===W0)J=e2(Q,X,Y5);else cY(X),J=e2(Q,X,Y5),hQ(X,!1);if(e1(),J!==null){I1=J;return}}else{var Y=kP(Q,X);if(Y!==null){Y.flags&=T$,I1=Y;return}if((X.mode&t0)!==W0){hQ(X,!1);var{actualDuration:z,child:W}=X;while(W!==null)z+=W.actualDuration,W=W.sibling;X.actualDuration=z}if(G!==null)G.flags|=q6,G.subtreeFlags=U0,G.deletions=null;else{s1=D3,I1=null;return}}var K=X.sibling;if(K!==null){I1=K;return}X=G,I1=X}while(X!==null);if(s1===S5)s1=AU}function y9(Z,X,Q){var G=g8(),J=_4.transition;try{_4.transition=null,G4(H8),yA(Z,X,Q,G)}finally{_4.transition=J,G4(G)}return null}function yA(Z,X,Q,G){do D5();while(J9!==null);if(tA(),(E0&(P4|j8))!==p1)throw new Error("Should not already be working.");var{finishedWork:J,finishedLanes:Y}=Z;if(n$(Y),J===null)return lz(),null;else if(Y===h)q("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(Z.finishedWork=null,Z.finishedLanes=h,J===Z.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.");Z.callbackNode=null,Z.callbackPriority=Q4;var z=N0(J.lanes,J.childLanes);if(jH(Z,z),Z===u4)u4=null,I1=null,o1=h;if((J.subtreeFlags&G7)!==U0||(J.flags&G7)!==U0){if(!v9)v9=!0,g3=Q,l3(F9,function(){return D5(),null})}var W=(J.subtreeFlags&(DG|kG|M6|G7))!==U0,K=(J.flags&(DG|kG|M6|G7))!==U0;if(W||K){var B=_4.transition;_4.transition=null;var $=g8();G4(H8);var _=E0;E0|=j8,j3.current=null;var O=gP(Z,J);R2(),aP(Z,J,Y),aM(Z.containerInfo),Z.current=J,zH(Y),rP(J,Z,Y),WH(),v$(),E0=_,G4($),_4.transition=B}else Z.current=J,R2();var I=v9;if(v9)v9=!1,J9=Z,bZ=Y;else u7=0,lQ=null;if(z=Z.pendingLanes,z===h)f7=null;if(!I)gU(Z.current,!1);if(p$(J.stateNode,G),x8)Z.memoizedUpdaters.clear();if(LA(),Q8(Z,Z4()),X!==null){var N=Z.onRecoverableError;for(var V=0;V<X.length;V++){var m=X[V],G0=m.stack,Z0=m.digest;N(m.value,{componentStack:G0,digest:Z0})}}if(cQ){cQ=!1;var j0=h3;throw h3=null,j0}if($8(bZ,P0)&&Z.tag!==s5)D5();if(z=Z.pendingLanes,$8(z,P0))if(y_(),Z===E3)jZ++;else jZ=0,E3=Z;else jZ=0;return a5(),lz(),null}function D5(){if(J9!==null){var Z=WW(bZ),X=TH(A5,Z),Q=_4.transition,G=g8();try{return _4.transition=null,G4(X),cA()}finally{G4(G),_4.transition=Q}}return!1}function mA(Z){if(x3.push(Z),!v9)v9=!0,l3(F9,function(){return D5(),null})}function cA(){if(J9===null)return!1;var Z=g3;g3=null;var X=J9,Q=bZ;if(J9=null,bZ=h,(E0&(P4|j8))!==p1)throw new Error("Cannot flush passive effects while already rendering.");f3=!0,iQ=!1,KH(Q);var G=E0;E0|=j8,GA(X.current),eP(X,X.current,Q,Z);{var J=x3;x3=[];for(var Y=0;Y<J.length;Y++){var z=J[Y];vP(X,z)}}UH(),gU(X.current,!0),E0=G,a5();{if(iQ)if(X===lQ)u7++;else u7=0,lQ=X;else u7=0;f3=!1,iQ=!1}o$(X);{var W=X.current.stateNode;W.effectDuration=0,W.passiveEffectDuration=0}return!0}function TU(Z){return f7!==null&&f7.has(Z)}function iA(Z){if(f7===null)f7=new Set([Z]);else f7.add(Z)}function lA(Z){if(!cQ)cQ=!0,h3=Z}var pA=lA;function hU(Z,X,Q){var G=E9(Q,X),J=D2(Z,G,P0),Y=n5(Z,J,P0),z=v4();if(Y!==null)w6(Y,P0,z),Q8(Y,z)}function W1(Z,X,Q){if(TP(Q),TZ(!1),Z.tag===Y0){hU(Z,Z,Q);return}var G=null;G=X;while(G!==null){if(G.tag===Y0){hU(G,Z,Q);return}else if(G.tag===J0){var{type:J,stateNode:Y}=G;if(typeof J.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&!TU(Y)){var z=E9(Q,Z),W=W3(G,z,P0),K=n5(G,W,P0),B=v4();if(K!==null)w6(K,P0,B),Q8(K,B);return}}G=G.return}q(`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`,Q)}function oA(Z,X,Q){var G=Z.pingCache;if(G!==null)G.delete(X);var J=v4();if(GW(Z,Q),QF(Z),u4===Z&&K7(o1,Q))if(s1===wZ||s1===dQ&&ez(o1)&&Z4()-T3<FU)d9(Z,h);else mQ=N0(mQ,Q);Q8(Z,J)}function xU(Z,X){if(X===Q4)X=bA(Z);var Q=v4(),G=e4(Z,X);if(G!==null)w6(G,X,Q),Q8(G,Q)}function sA(Z){var X=Z.memoizedState,Q=Q4;if(X!==null)Q=X.retryLane;xU(Z,Q)}function aA(Z,X){var Q=Q4,G;switch(Z.tag){case H0:G=Z.stateNode;var J=Z.memoizedState;if(J!==null)Q=J.retryLane;break;case l0:G=Z.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}if(G!==null)G.delete(X);xU(Z,Q)}function rA(Z){return Z<120?120:Z<480?480:Z<1080?1080:Z<1920?1920:Z<3000?3000:Z<4320?4320:IA(Z/1960)*1960}function nA(){if(jZ>VA)throw jZ=0,E3=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.");if(u7>SA)u7=0,lQ=null,q("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 tA(){u8.flushLegacyContextWarning(),u8.flushPendingUnsafeLifecycleWarnings()}function gU(Z,X){{if(w1(Z),rQ(Z,M5,HA),X)rQ(Z,zX,qA);if(rQ(Z,M5,BA),X)rQ(Z,zX,$A);e1()}}function rQ(Z,X,Q){{var G=Z,J=null;while(G!==null){var Y=G.subtreeFlags&X;if(G!==J&&G.child!==null&&Y!==U0)G=G.child;else{if((G.flags&X)!==U0)Q(G);if(G.sibling!==null)G=G.sibling;else G=J=G.return}}}}var nQ=null;function EU(Z){{if((E0&P4)!==p1)return;if(!(Z.mode&g0))return;var X=Z.tag;if(X!==K1&&X!==Y0&&X!==J0&&X!==F0&&X!==z0&&X!==G1&&X!==b0)return;var Q=I0(Z)||"ReactComponent";if(nQ!==null){if(nQ.has(Q))return;nQ.add(Q)}else nQ=new Set([Q]);var G=S4;try{w1(Z),q("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{if(G)w1(Z);else e1()}}}var m3;{var eA=null;m3=function(Z,X,Q){var G=iU(eA,X);try{return s2(Z,X,Q)}catch(Y){if(W_()||Y!==null&&typeof Y==="object"&&typeof Y.then==="function")throw Y;if(QQ(),rK(),ZU(Z,X),iU(X,G),X.mode&t0)cY(X);if(IG(null,s2,null,Z,X,Q),j$()){var J=NG();if(typeof J==="object"&&J!==null&&J._suppressLogging&&typeof Y==="object"&&Y!==null&&!Y._suppressLogging)Y._suppressLogging=!0}throw Y}}}var fU=!1,c3;c3=new Set;function ZF(Z){if(B9&&!u_())switch(Z.tag){case F0:case z0:case b0:{var X=I1&&I0(I1)||"Unknown",Q=X;if(!c3.has(Q)){c3.add(Q);var G=I0(Z)||"Unknown";q("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",G,X,X)}break}case J0:{if(!fU)q("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),fU=!0;break}}}function CZ(Z,X){if(x8){var Q=Z.memoizedUpdaters;Q.forEach(function(G){JW(Z,G,X)})}}var i3={};function l3(Z,X){{var Q=p8.current;if(Q!==null)return Q.push(X),i3;else return iz(Z,X)}}function uU(Z){if(Z===i3)return;return f$(Z)}function vU(){return p8.current!==null}function XF(Z){{if(Z.mode&g0){if(!_U())return}else{if(!wA())return;if(E0!==p1)return;if(Z.tag!==F0&&Z.tag!==z0&&Z.tag!==b0)return}if(p8.current===null){var X=S4;try{w1(Z),q(`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`,I0(Z))}finally{if(X)w1(Z);else e1()}}}}function QF(Z){if(Z.tag!==s5&&_U()&&p8.current===null)q(`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 TZ(Z){wU=Z}var D8=null,v7=null,GF=function(Z){D8=Z};function d7(Z){{if(D8===null)return Z;var X=D8(Z);if(X===void 0)return Z;return X.current}}function p3(Z){return d7(Z)}function o3(Z){{if(D8===null)return Z;var X=D8(Z);if(X===void 0){if(Z!==null&&Z!==void 0&&typeof Z.render==="function"){var Q=d7(Z.render);if(Z.render!==Q){var G={$$typeof:v,render:Q};if(Z.displayName!==void 0)G.displayName=Z.displayName;return G}}return Z}return X.current}}function dU(Z,X){{if(D8===null)return!1;var Q=Z.elementType,G=X.type,J=!1,Y=typeof G==="object"&&G!==null?G.$$typeof:null;switch(Z.tag){case J0:{if(typeof G==="function")J=!0;break}case F0:{if(typeof G==="function")J=!0;else if(Y===t)J=!0;break}case z0:{if(Y===v)J=!0;else if(Y===t)J=!0;break}case G1:case b0:{if(Y===g)J=!0;else if(Y===t)J=!0;break}default:return!1}if(J){var z=D8(Q);if(z!==void 0&&z===D8(G))return!0}return!1}}function yU(Z){{if(D8===null)return;if(typeof WeakSet!=="function")return;if(v7===null)v7=new WeakSet;v7.add(Z)}}var JF=function(Z,X){{if(D8===null)return;var{staleFamilies:Q,updatedFamilies:G}=X;D5(),j5(function(){s3(Z.current,G,Q)})}},YF=function(Z,X){{if(Z.context!==O8)return;D5(),j5(function(){hZ(X,Z,null,null)})}};function s3(Z,X,Q){{var{alternate:G,child:J,sibling:Y,tag:z,type:W}=Z,K=null;switch(z){case F0:case b0:case J0:K=W;break;case z0:K=W.render;break}if(D8===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,$=!1;if(K!==null){var _=D8(K);if(_!==void 0){if(Q.has(_))$=!0;else if(X.has(_))if(z===J0)$=!0;else B=!0}}if(v7!==null){if(v7.has(Z)||G!==null&&v7.has(G))$=!0}if($)Z._debugNeedsRemount=!0;if($||B){var O=e4(Z,P0);if(O!==null)a1(O,Z,P0,B1)}if(J!==null&&!$)s3(J,X,Q);if(Y!==null)s3(Y,X,Q)}}var zF=function(Z,X){{var Q=new Set,G=new Set(X.map(function(J){return J.current}));return a3(Z.current,G,Q),Q}};function a3(Z,X,Q){{var{child:G,sibling:J,tag:Y,type:z}=Z,W=null;switch(Y){case F0:case b0:case J0:W=z;break;case z0:W=z.render;break}var K=!1;if(W!==null){if(X.has(W))K=!0}if(K)WF(Z,Q);else if(G!==null)a3(G,X,Q);if(J!==null)a3(J,X,Q)}}function WF(Z,X){{var Q=KF(Z,X);if(Q)return;var G=Z;while(!0){switch(G.tag){case a:X.add(G.stateNode);return;case V0:X.add(G.stateNode.containerInfo);return;case Y0:X.add(G.stateNode.containerInfo);return}if(G.return===null)throw new Error("Expected to reach root first.");G=G.return}}}function KF(Z,X){{var Q=Z,G=!1;while(!0){if(Q.tag===a)G=!0,X.add(Q.stateNode);else if(Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===Z)return G;while(Q.sibling===null){if(Q.return===null||Q.return===Z)return G;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}}return!1}var r3;{r3=!1;try{var mU=Object.preventExtensions({});}catch(Z){r3=!0}}function UF(Z,X,Q,G){if(this.tag=Z,this.key=Q,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=X,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=G,this.flags=U0,this.subtreeFlags=U0,this.deletions=null,this.lanes=h,this.childLanes=h,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,!r3&&typeof Object.preventExtensions==="function")Object.preventExtensions(this)}var _8=function(Z,X,Q,G){return new UF(Z,X,Q,G)};function n3(Z){var X=Z.prototype;return!!(X&&X.isReactComponent)}function BF(Z){return typeof Z==="function"&&!n3(Z)&&Z.defaultProps===void 0}function $F(Z){if(typeof Z==="function")return n3(Z)?J0:F0;else if(Z!==void 0&&Z!==null){var X=Z.$$typeof;if(X===v)return z0;if(X===g)return G1}return K1}function m9(Z,X){var Q=Z.alternate;if(Q===null)Q=_8(Z.tag,X,Z.key,Z.mode),Q.elementType=Z.elementType,Q.type=Z.type,Q.stateNode=Z.stateNode,Q._debugSource=Z._debugSource,Q._debugOwner=Z._debugOwner,Q._debugHookTypes=Z._debugHookTypes,Q.alternate=Z,Z.alternate=Q;else Q.pendingProps=X,Q.type=Z.type,Q.flags=U0,Q.subtreeFlags=U0,Q.deletions=null,Q.actualDuration=0,Q.actualStartTime=-1;Q.flags=Z.flags&O5,Q.childLanes=Z.childLanes,Q.lanes=Z.lanes,Q.child=Z.child,Q.memoizedProps=Z.memoizedProps,Q.memoizedState=Z.memoizedState,Q.updateQueue=Z.updateQueue;var G=Z.dependencies;switch(Q.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},Q.sibling=Z.sibling,Q.index=Z.index,Q.ref=Z.ref,Q.selfBaseDuration=Z.selfBaseDuration,Q.treeBaseDuration=Z.treeBaseDuration,Q._debugNeedsRemount=Z._debugNeedsRemount,Q.tag){case K1:case F0:case b0:Q.type=d7(Z.type);break;case J0:Q.type=p3(Z.type);break;case z0:Q.type=o3(Z.type);break}return Q}function HF(Z,X){Z.flags&=O5|u1;var Q=Z.alternate;if(Q===null)Z.childLanes=h,Z.lanes=X,Z.child=null,Z.subtreeFlags=U0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0;else{Z.childLanes=Q.childLanes,Z.lanes=Q.lanes,Z.child=Q.child,Z.subtreeFlags=U0,Z.deletions=null,Z.memoizedProps=Q.memoizedProps,Z.memoizedState=Q.memoizedState,Z.updateQueue=Q.updateQueue,Z.type=Q.type;var G=Q.dependencies;Z.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},Z.selfBaseDuration=Q.selfBaseDuration,Z.treeBaseDuration=Q.treeBaseDuration}return Z}function qF(Z,X,Q){var G;if(Z===pX){if(G=g0,X===!0)G|=S1,G|=a8}else G=W0;if(x8)G|=t0;return _8(Y0,null,null,G)}function t3(Z,X,Q,G,J,Y){var z=K1,W=Z;if(typeof Z==="function")if(n3(Z))z=J0,W=p3(W);else W=d7(W);else if(typeof Z==="string")z=a;else Z:switch(Z){case k:return W9(Q.children,J,Y,X);case H:if(z=L4,J|=S1,(J&g0)!==W0)J|=a8;break;case A:return MF(Q,J,Y,X);case X0:return OF(Q,J,Y,X);case u:return _F(Q,J,Y,X);case A1:return cU(Q,J,Y,X);case a4:case r:case C8:case t1:case M0:default:{if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case D:z=F1;break Z;case y:z=m4;break Z;case v:z=z0,W=o3(W);break Z;case g:z=G1;break Z;case t:z=J4,W=null;break Z}var K="";{if(Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)K+=" 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 B=G?I0(G):null;if(B)K+=`
|
||
|
||
Check the render method of \``+B+"`."}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(Z==null?Z:typeof Z)+"."+K))}}var $=_8(z,Q,X,J);return $.elementType=Z,$.type=W,$.lanes=Y,$._debugOwner=G,$}function e3(Z,X,Q){var G=null;G=Z._owner;var{type:J,key:Y,props:z}=Z,W=t3(J,Y,z,G,X,Q);return W._debugSource=Z._source,W._debugOwner=Z._owner,W}function W9(Z,X,Q,G){var J=_8(d1,Z,G,X);return J.lanes=Q,J}function MF(Z,X,Q,G){if(typeof Z.id!=="string")q('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id);var J=_8(H1,Z,G,X|t0);return J.elementType=A,J.lanes=Q,J.stateNode={effectDuration:0,passiveEffectDuration:0},J}function OF(Z,X,Q,G){var J=_8(H0,Z,G,X);return J.elementType=X0,J.lanes=Q,J}function _F(Z,X,Q,G){var J=_8(l0,Z,G,X);return J.elementType=u,J.lanes=Q,J}function cU(Z,X,Q,G){var J=_8(q1,Z,G,X);J.elementType=A1,J.lanes=Q;var Y={isHidden:!1};return J.stateNode=Y,J}function Zz(Z,X,Q){var G=_8(S0,Z,null,X);return G.lanes=Q,G}function PF(){var Z=_8(a,null,null,W0);return Z.elementType="DELETED",Z}function AF(Z){var X=_8(z4,null,null,W0);return X.stateNode=Z,X}function Xz(Z,X,Q){var G=Z.children!==null?Z.children:[],J=_8(V0,G,Z.key,X);return J.lanes=Q,J.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},J}function iU(Z,X){if(Z===null)Z=_8(K1,null,null,W0);return Z.tag=X.tag,Z.key=X.key,Z.elementType=X.elementType,Z.type=X.type,Z.stateNode=X.stateNode,Z.return=X.return,Z.child=X.child,Z.sibling=X.sibling,Z.index=X.index,Z.ref=X.ref,Z.pendingProps=X.pendingProps,Z.memoizedProps=X.memoizedProps,Z.updateQueue=X.updateQueue,Z.memoizedState=X.memoizedState,Z.dependencies=X.dependencies,Z.mode=X.mode,Z.flags=X.flags,Z.subtreeFlags=X.subtreeFlags,Z.deletions=X.deletions,Z.lanes=X.lanes,Z.childLanes=X.childLanes,Z.alternate=X.alternate,Z.actualDuration=X.actualDuration,Z.actualStartTime=X.actualStartTime,Z.selfBaseDuration=X.selfBaseDuration,Z.treeBaseDuration=X.treeBaseDuration,Z._debugSource=X._debugSource,Z._debugOwner=X._debugOwner,Z._debugNeedsRemount=X._debugNeedsRemount,Z._debugHookTypes=X._debugHookTypes,Z}function FF(Z,X,Q,G,J){this.tag=X,this.containerInfo=Z,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=gJ,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Q4,this.eventTimes=GJ(h),this.expirationTimes=GJ(B1),this.pendingLanes=h,this.suspendedLanes=h,this.pingedLanes=h,this.expiredLanes=h,this.mutableReadLanes=h,this.finishedLanes=h,this.entangledLanes=h,this.entanglements=GJ(h),this.identifierPrefix=G,this.onRecoverableError=J,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;var Y=this.pendingUpdatersLaneMap=[];for(var z=0;z<xG;z++)Y.push(new Set)}switch(X){case pX:this._debugRootType=Q?"hydrateRoot()":"createRoot()";break;case s5:this._debugRootType=Q?"hydrate()":"render()";break}}function lU(Z,X,Q,G,J,Y,z,W,K,B){var $=new FF(Z,X,Q,W,K),_=qF(X,Y);$.current=_,_.stateNode=$;{var O={element:G,isDehydrated:Q,cache:null,transitions:null,pendingSuspenseBoundaries:null};_.memoizedState=O}return HY(_),$}var Qz="18.3.1";function LF(Z,X,Q){var G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return l4(G),{$$typeof:T,key:G==null?null:""+G,children:Z,containerInfo:X,implementation:Q}}var Gz,Jz;Gz=!1,Jz={};function pU(Z){if(!Z)return O8;var X=X7(Z),Q=tO(X);if(X.tag===J0){var G=X.type;if(t8(G))return AK(X,G,Q)}return Q}function RF(Z,X){{var Q=X7(Z);if(Q===void 0)if(typeof Z.render==="function")throw new Error("Unable to find node on an unmounted component.");else{var G=Object.keys(Z).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+G)}var J=yz(Q);if(J===null)return null;if(J.mode&S1){var Y=I0(Q)||"Component";if(!Jz[Y]){Jz[Y]=!0;var z=S4;try{if(w1(J),Q.mode&S1)q("%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",X,X,Y);else q("%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",X,X,Y)}finally{if(z)w1(z);else e1()}}}return J.stateNode}}function oU(Z,X,Q,G,J,Y,z,W){var K=!1,B=null;return lU(Z,X,K,B,Q,G,J,Y,z)}function sU(Z,X,Q,G,J,Y,z,W,K,B){var $=!0,_=lU(Q,G,$,Z,J,Y,z,W,K);_.context=pU(null);var O=_.current,I=v4(),N=Y9(O),V=N5(I,N);return V.callback=X!==void 0&&X!==null?X:null,n5(O,V,N),jA(_,N,I),_}function hZ(Z,X,Q,G){l$(X,Z);var J=X.current,Y=v4(),z=Y9(J);$H(z);var W=pU(Q);if(X.context===null)X.context=W;else X.pendingContext=W;if(B9&&S4!==null&&!Gz)Gz=!0,q(`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.`,I0(S4)||"Unknown");var K=N5(Y,z);if(K.payload={element:Z},G=G===void 0?null:G,G!==null){if(typeof G!=="function")q("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",G);K.callback=G}var B=n5(J,K,z);if(B!==null)a1(B,J,z,Y),WQ(B,J,z);return z}function tQ(Z){var X=Z.current;if(!X.child)return null;switch(X.child.tag){case a:return TJ(X.child.stateNode);default:return X.child.stateNode}}function wF(Z){switch(Z.tag){case Y0:{var X=Z.stateNode;if(_X(X)){var Q=LH(X);TA(X,Q)}break}case H0:{j5(function(){var J=e4(Z,P0);if(J!==null){var Y=v4();a1(J,Z,P0,Y)}});var G=P0;Yz(Z,G);break}}}function aU(Z,X){var Q=Z.memoizedState;if(Q!==null&&Q.dehydrated!==null)Q.retryLane=SH(Q.retryLane,X)}function Yz(Z,X){aU(Z,X);var Q=Z.alternate;if(Q)aU(Q,X)}function IF(Z){if(Z.tag!==H0)return;var X=A6,Q=e4(Z,X);if(Q!==null){var G=v4();a1(Q,Z,X,G)}Yz(Z,X)}function NF(Z){if(Z.tag!==H0)return;var X=Y9(Z),Q=e4(Z,X);if(Q!==null){var G=v4();a1(Q,Z,X,G)}Yz(Z,X)}function rU(Z){var X=E$(Z);if(X===null)return null;return X.stateNode}var nU=function(Z){return null};function VF(Z){return nU(Z)}var tU=function(Z){return!1};function SF(Z){return tU(Z)}var eU=null,ZB=null,XB=null,QB=null,GB=null,JB=null,YB=null,zB=null,WB=null;{var KB=function(Z,X,Q){var G=X[Q],J=c0(Z)?Z.slice():h0({},Z);if(Q+1===X.length){if(c0(J))J.splice(G,1);else delete J[G];return J}return J[G]=KB(Z[G],X,Q+1),J},UB=function(Z,X){return KB(Z,X,0)},BB=function(Z,X,Q,G){var J=X[G],Y=c0(Z)?Z.slice():h0({},Z);if(G+1===X.length){var z=Q[G];if(Y[z]=Y[J],c0(Y))Y.splice(J,1);else delete Y[J]}else Y[J]=BB(Z[J],X,Q,G+1);return Y},$B=function(Z,X,Q){if(X.length!==Q.length){$1("copyWithRename() expects paths of the same length");return}else for(var G=0;G<Q.length-1;G++)if(X[G]!==Q[G]){$1("copyWithRename() expects paths to be the same except for the deepest key");return}return BB(Z,X,Q,0)},HB=function(Z,X,Q,G){if(Q>=X.length)return G;var J=X[Q],Y=c0(Z)?Z.slice():h0({},Z);return Y[J]=HB(Z[J],X,Q+1,G),Y},qB=function(Z,X,Q){return HB(Z,X,0,Q)},zz=function(Z,X){var Q=Z.memoizedState;while(Q!==null&&X>0)Q=Q.next,X--;return Q};eU=function(Z,X,Q,G){var J=zz(Z,X);if(J!==null){var Y=qB(J.memoizedState,Q,G);J.memoizedState=Y,J.baseState=Y,Z.memoizedProps=h0({},Z.memoizedProps);var z=e4(Z,P0);if(z!==null)a1(z,Z,P0,B1)}},ZB=function(Z,X,Q){var G=zz(Z,X);if(G!==null){var J=UB(G.memoizedState,Q);G.memoizedState=J,G.baseState=J,Z.memoizedProps=h0({},Z.memoizedProps);var Y=e4(Z,P0);if(Y!==null)a1(Y,Z,P0,B1)}},XB=function(Z,X,Q,G){var J=zz(Z,X);if(J!==null){var Y=$B(J.memoizedState,Q,G);J.memoizedState=Y,J.baseState=Y,Z.memoizedProps=h0({},Z.memoizedProps);var z=e4(Z,P0);if(z!==null)a1(z,Z,P0,B1)}},QB=function(Z,X,Q){if(Z.pendingProps=qB(Z.memoizedProps,X,Q),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var G=e4(Z,P0);if(G!==null)a1(G,Z,P0,B1)},GB=function(Z,X){if(Z.pendingProps=UB(Z.memoizedProps,X),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var Q=e4(Z,P0);if(Q!==null)a1(Q,Z,P0,B1)},JB=function(Z,X,Q){if(Z.pendingProps=$B(Z.memoizedProps,X,Q),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var G=e4(Z,P0);if(G!==null)a1(G,Z,P0,B1)},YB=function(Z){var X=e4(Z,P0);if(X!==null)a1(X,Z,P0,B1)},zB=function(Z){nU=Z},WB=function(Z){tU=Z}}function bF(Z){var X=yz(Z);if(X===null)return null;return X.stateNode}function jF(Z){return null}function DF(){return S4}function kF(Z){var X=Z.findFiberByHostInstance,Q=c.ReactCurrentDispatcher;return i$({bundleType:Z.bundleType,version:Z.version,rendererPackageName:Z.rendererPackageName,rendererConfig:Z.rendererConfig,overrideHookState:eU,overrideHookStateDeletePath:ZB,overrideHookStateRenamePath:XB,overrideProps:QB,overridePropsDeletePath:GB,overridePropsRenamePath:JB,setErrorHandler:zB,setSuspenseHandler:WB,scheduleUpdate:YB,currentDispatcherRef:Q,findHostInstanceByFiber:bF,findFiberByHostInstance:X||jF,findHostInstancesForRefresh:zF,scheduleRefresh:JF,scheduleRoot:YF,setRefreshHandler:GF,getCurrentFiber:DF,reconcilerVersion:Qz})}var MB=typeof reportError==="function"?reportError:function(Z){console.error(Z)};function Wz(Z){this._internalRoot=Z}eQ.prototype.render=Wz.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw new Error("Cannot update an unmounted root.");{if(typeof arguments[1]==="function")q("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");else if(ZG(arguments[1]))q("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.");else if(typeof arguments[1]!=="undefined")q("You passed a second argument to root.render(...) but it only accepts one argument.");var Q=X.containerInfo;if(Q.nodeType!==f1){var G=rU(X.current);if(G){if(G.parentNode!==Q)q("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.")}}}hZ(Z,X,null,null)},eQ.prototype.unmount=Wz.prototype.unmount=function(){if(typeof arguments[0]==="function")q("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var Z=this._internalRoot;if(Z!==null){this._internalRoot=null;var X=Z.containerInfo;if(SU())q("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.");j5(function(){hZ(null,Z,null,null)}),HK(X)}};function CF(Z,X){if(!ZG(Z))throw new Error("createRoot(...): Target container is not a DOM element.");OB(Z);var Q=!1,G=!1,J="",Y=MB,z=null;if(X!==null&&X!==void 0){if(X.hydrate)$1("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.");else if(typeof X==="object"&&X!==null&&X.$$typeof===E)q(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
||
|
||
let root = createRoot(domContainer);
|
||
root.render(<App />);`);if(X.unstable_strictMode===!0)Q=!0;if(X.identifierPrefix!==void 0)J=X.identifierPrefix;if(X.onRecoverableError!==void 0)Y=X.onRecoverableError;if(X.transitionCallbacks!==void 0)z=X.transitionCallbacks}var W=oU(Z,pX,null,Q,G,J,Y);vX(W.current,Z);var K=Z.nodeType===f1?Z.parentNode:Z;return v6(K),new Wz(W)}function eQ(Z){this._internalRoot=Z}function TF(Z){if(Z)cH(Z)}eQ.prototype.unstable_scheduleHydration=TF;function hF(Z,X,Q){if(!ZG(Z))throw new Error("hydrateRoot(...): Target container is not a DOM element.");if(OB(Z),X===void 0)q("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=Q!=null?Q:null,J=Q!=null&&Q.hydratedSources||null,Y=!1,z=!1,W="",K=MB;if(Q!==null&&Q!==void 0){if(Q.unstable_strictMode===!0)Y=!0;if(Q.identifierPrefix!==void 0)W=Q.identifierPrefix;if(Q.onRecoverableError!==void 0)K=Q.onRecoverableError}var B=sU(X,null,Z,pX,G,Y,z,W,K);if(vX(B.current,Z),v6(Z),J)for(var $=0;$<J.length;$++){var _=J[$];h_(B,_)}return new eQ(B)}function ZG(Z){return!!(Z&&(Z.nodeType===n4||Z.nodeType===$5||Z.nodeType===HG||!r0))}function xZ(Z){return!!(Z&&(Z.nodeType===n4||Z.nodeType===$5||Z.nodeType===HG||Z.nodeType===f1&&Z.nodeValue===" react-mount-point-unstable "))}function OB(Z){{if(Z.nodeType===n4&&Z.tagName&&Z.tagName.toUpperCase()==="BODY")q("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.");if(r6(Z))if(Z._reactRootContainer)q("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");else q("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 xF=c.ReactCurrentOwner,_B;_B=function(Z){if(Z._reactRootContainer&&Z.nodeType!==f1){var X=rU(Z._reactRootContainer.current);if(X){if(X.parentNode!==Z)q("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 Q=!!Z._reactRootContainer,G=Kz(Z),J=!!(G&&p5(G));if(J&&!Q)q("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.");if(Z.nodeType===n4&&Z.tagName&&Z.tagName.toUpperCase()==="BODY")q("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 Kz(Z){if(!Z)return null;if(Z.nodeType===$5)return Z.documentElement;else return Z.firstChild}function PB(){}function gF(Z,X,Q,G,J){if(J){if(typeof G==="function"){var Y=G;G=function(){var O=tQ(z);Y.call(O)}}var z=sU(X,G,Z,s5,null,!1,!1,"",PB);Z._reactRootContainer=z,vX(z.current,Z);var W=Z.nodeType===f1?Z.parentNode:Z;return v6(W),j5(),z}else{var K;while(K=Z.lastChild)Z.removeChild(K);if(typeof G==="function"){var B=G;G=function(){var O=tQ($);B.call(O)}}var $=oU(Z,s5,null,!1,!1,"",PB);Z._reactRootContainer=$,vX($.current,Z);var _=Z.nodeType===f1?Z.parentNode:Z;return v6(_),j5(function(){hZ(X,$,Q,G)}),$}}function EF(Z,X){if(Z!==null&&typeof Z!=="function")q("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",X,Z)}function XG(Z,X,Q,G,J){_B(Q),EF(J===void 0?null:J,"render");var Y=Q._reactRootContainer,z;if(!Y)z=gF(Q,X,Z,J,G);else{if(z=Y,typeof J==="function"){var W=J;J=function(){var K=tQ(z);W.call(K)}}hZ(X,z,Z,J)}return tQ(z)}var AB=!1;function fF(Z){{if(!AB)AB=!0,q("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 X=xF.current;if(X!==null&&X.stateNode!==null){var Q=X.stateNode._warnedAboutRefsInRender;if(!Q)q("%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.",d0(X.type)||"A component");X.stateNode._warnedAboutRefsInRender=!0}}if(Z==null)return null;if(Z.nodeType===n4)return Z;return RF(Z,"findDOMNode")}function uF(Z,X,Q){if(q("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"),!xZ(X))throw new Error("Target container is not a DOM element.");{var G=r6(X)&&X._reactRootContainer===void 0;if(G)q("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 XG(null,Z,X,!0,Q)}function vF(Z,X,Q){if(q("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"),!xZ(X))throw new Error("Target container is not a DOM element.");{var G=r6(X)&&X._reactRootContainer===void 0;if(G)q("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 XG(null,Z,X,!1,Q)}function dF(Z,X,Q,G){if(q("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"),!xZ(Q))throw new Error("Target container is not a DOM element.");if(Z==null||!D$(Z))throw new Error("parentComponent must be a valid React Component");return XG(Z,X,Q,!1,G)}var FB=!1;function yF(Z){if(!FB)FB=!0,q("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");if(!xZ(Z))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var X=r6(Z)&&Z._reactRootContainer===void 0;if(X)q("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(Z._reactRootContainer){{var Q=Kz(Z),G=Q&&!p5(Q);if(G)q("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return j5(function(){XG(null,null,Z,!1,function(){Z._reactRootContainer=null,HK(Z)})}),!0}else{{var J=Kz(Z),Y=!!(J&&p5(J)),z=Z.nodeType===n4&&xZ(Z.parentNode)&&!!Z.parentNode._reactRootContainer;if(Y)q("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",z?"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}}if(hH(wF),gH(IF),EH(NF),fH(g8),uH(kH),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")q("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");A$(vM),R$(v3,hA,j5);function mF(Z,X){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ZG(X))throw new Error("Target container is not a DOM element.");return LF(Z,X,null,Q)}function cF(Z,X,Q,G){return dF(Z,X,Q,G)}var Uz={usingClientEntryPoint:!1,Events:[p5,P7,dX,Dz,kz,v3]};function iF(Z,X){if(!Uz.usingClientEntryPoint)q('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return CF(Z,X)}function lF(Z,X,Q){if(!Uz.usingClientEntryPoint)q('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return hF(Z,X,Q)}function pF(Z){if(SU())q("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.");return j5(Z)}var oF=kF({findFiberByHostInstance:b9,bundleType:1,version:Qz,rendererPackageName:"react-dom"});if(!oF&&L1&&window.top===window.self){if(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1){var LB=window.location.protocol;if(/^(https?|file):$/.test(LB))console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(LB==="file:"?`
|
||
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}}if(QL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uz,QL.createPortal=mF,QL.createRoot=iF,QL.findDOMNode=fF,QL.flushSync=pF,QL.hydrate=uF,QL.hydrateRoot=lF,QL.render=vF,QL.unmountComponentAtNode=yF,QL.unstable_batchedUpdates=v3,QL.unstable_renderSubtreeIntoContainer=cF,QL.version=Qz,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var VB=m7((VR,NB)=>{var GL=k8(IB(),1);NB.exports=GL});var SB=m7((JL)=>{var i7=k8(VB(),1);c7=i7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,JL.createRoot=function(c,Q1){c7.usingClientEntryPoint=!0;try{return i7.createRoot(c,Q1)}finally{c7.usingClientEntryPoint=!1}},JL.hydrateRoot=function(c,Q1,h1){c7.usingClientEntryPoint=!0;try{return i7.hydrateRoot(c,Q1,h1)}finally{c7.usingClientEntryPoint=!1}};var c7});var uZ=m7((YL)=>{var Bz=k8(EZ(),1);(function(){var c=Symbol.for("react.element"),Q1=Symbol.for("react.portal"),h1=Symbol.for("react.fragment"),$1=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),F4=Symbol.for("react.provider"),F0=Symbol.for("react.context"),J0=Symbol.for("react.forward_ref"),K1=Symbol.for("react.suspense"),Y0=Symbol.for("react.suspense_list"),V0=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),S0=Symbol.for("react.offscreen"),d1=Symbol.iterator,L4="@@iterator";function m4(H){if(H===null||typeof H!=="object")return null;var A=d1&&H[d1]||H[L4];if(typeof A==="function")return A;return null}var F1=Bz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function z0(H){{for(var A=arguments.length,D=new Array(A>1?A-1:0),y=1;y<A;y++)D[y-1]=arguments[y];H1("error",H,D)}}function H1(H,A,D){{var y=F1.ReactDebugCurrentFrame,v=y.getStackAddendum();if(v!=="")A+="%s",D=D.concat([v]);var X0=D.map(function(u){return String(u)});X0.unshift("Warning: "+A),Function.prototype.apply.call(console[H],console,X0)}}var H0=!1,G1=!1,b0=!1,J4=!1,Y4=!1,z4;z4=Symbol.for("react.module.reference");function l0(H){if(typeof H==="string"||typeof H==="function")return!0;if(H===h1||H===q||Y4||H===$1||H===K1||H===Y0||J4||H===S0||H0||G1||b0)return!0;if(typeof H==="object"&&H!==null){if(H.$$typeof===a||H.$$typeof===V0||H.$$typeof===F4||H.$$typeof===F0||H.$$typeof===J0||H.$$typeof===z4||H.getModuleId!==void 0)return!0}return!1}function N1(H,A,D){var y=H.displayName;if(y)return y;var v=A.displayName||A.name||"";return v!==""?D+"("+v+")":D}function q1(H){return H.displayName||"Context"}function k0(H){if(H==null)return null;if(typeof H.tag==="number")z0("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof H==="function")return H.displayName||H.name||null;if(typeof H==="string")return H;switch(H){case h1:return"Fragment";case Q1:return"Portal";case q:return"Profiler";case $1:return"StrictMode";case K1:return"Suspense";case Y0:return"SuspenseList"}if(typeof H==="object")switch(H.$$typeof){case F0:var A=H;return q1(A)+".Consumer";case F4:var D=H;return q1(D._context)+".Provider";case J0:return N1(H,H.render,"ForwardRef");case V0:var y=H.displayName||null;if(y!==null)return y;return k0(H.type)||"Memo";case a:{var v=H,X0=v._payload,u=v._init;try{return k0(u(X0))}catch(g){return null}}}return null}var C0=Object.assign,P1=0,O0,R0,G8,c4,A8,r0,R4;function x1(){}x1.__reactDisabledLog=!0;function T4(){{if(P1===0){O0=console.log,R0=console.info,G8=console.warn,c4=console.error,A8=console.group,r0=console.groupCollapsed,R4=console.groupEnd;var H={configurable:!0,enumerable:!0,value:x1,writable:!0};Object.defineProperties(console,{info:H,log:H,warn:H,error:H,group:H,groupCollapsed:H,groupEnd:H})}P1++}}function F8(){{if(P1--,P1===0){var H={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C0({},H,{value:O0}),info:C0({},H,{value:R0}),warn:C0({},H,{value:G8}),error:C0({},H,{value:c4}),group:C0({},H,{value:A8}),groupCollapsed:C0({},H,{value:r0}),groupEnd:C0({},H,{value:R4})})}if(P1<0)z0("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J8=F1.ReactCurrentDispatcher,j1;function g1(H,A,D){{if(j1===void 0)try{throw Error()}catch(v){var y=v.stack.trim().match(/\n( *(at )?)/);j1=y&&y[1]||""}return`
|
||
`+j1+H}}var p0=!1,r1;{var i4=typeof WeakMap==="function"?WeakMap:Map;r1=new i4}function L1(H,A){if(!H||p0)return"";{var D=r1.get(H);if(D!==void 0)return D}var y;p0=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var X0;X0=J8.current,J8.current=null,T4();try{if(A){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(t1){y=t1}Reflect.construct(H,[],u)}else{try{u.call()}catch(t1){y=t1}H.call(u.prototype)}}else{try{throw Error()}catch(t1){y=t1}H()}}catch(t1){if(t1&&y&&typeof t1.stack==="string"){var g=t1.stack.split(`
|
||
`),t=y.stack.split(`
|
||
`),r=g.length-1,M0=t.length-1;while(r>=1&&M0>=0&&g[r]!==t[M0])M0--;for(;r>=1&&M0>=0;r--,M0--)if(g[r]!==t[M0]){if(r!==1||M0!==1)do if(r--,M0--,M0<0||g[r]!==t[M0]){var A1=`
|
||
`+g[r].replace(" at new "," at ");if(H.displayName&&A1.includes("<anonymous>"))A1=A1.replace("<anonymous>",H.displayName);if(typeof H==="function")r1.set(H,A1);return A1}while(r>=1&&M0>=0);break}}}finally{p0=!1,J8.current=X0,F8(),Error.prepareStackTrace=v}var a4=H?H.displayName||H.name:"",C8=a4?g1(a4):"";if(typeof H==="function")r1.set(H,C8);return C8}function w4(H,A,D){return L1(H,!1)}function I4(H){var A=H.prototype;return!!(A&&A.isReactComponent)}function D1(H,A,D){if(H==null)return"";if(typeof H==="function")return L1(H,I4(H));if(typeof H==="string")return g1(H);switch(H){case K1:return g1("Suspense");case Y0:return g1("SuspenseList")}if(typeof H==="object")switch(H.$$typeof){case J0:return w4(H.render);case V0:return D1(H.type,A,D);case a:{var y=H,v=y._payload,X0=y._init;try{return D1(X0(v),A,D)}catch(u){}}}return""}var M1=Object.prototype.hasOwnProperty,N4={},l4=F1.ReactDebugCurrentFrame;function U1(H){if(H){var A=H._owner,D=D1(H.type,H._source,A?A.type:null);l4.setExtraStackFrame(D)}else l4.setExtraStackFrame(null)}function p4(H,A,D,y,v){{var X0=Function.call.bind(M1);for(var u in H)if(X0(H,u)){var g=void 0;try{if(typeof H[u]!=="function"){var t=Error((y||"React class")+": "+D+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof H[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw t.name="Invariant Violation",t}g=H[u](A,u,y,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(r){g=r}if(g&&!(g instanceof Error))U1(v),z0("%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).",y||"React class",D,u,typeof g),U1(null);if(g instanceof Error&&!(g.message in N4))N4[g.message]=!0,U1(v),z0("Failed %s type: %s",D,g.message),U1(null)}}}var V4=Array.isArray;function W4(H){return V4(H)}function K4(H){{var A=typeof Symbol==="function"&&Symbol.toStringTag,D=A&&H[Symbol.toStringTag]||H.constructor.name||"Object";return D}}function k1(H){try{return o4(H),!1}catch(A){return!0}}function o4(H){return""+H}function y1(H){if(k1(H))return z0("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",K4(H)),o4(H)}var E1=F1.ReactCurrentOwner,Y8={key:!0,ref:!0,__self:!0,__source:!0},z8,W8,C1;C1={};function i(H){if(M1.call(H,"ref")){var A=Object.getOwnPropertyDescriptor(H,"ref").get;if(A&&A.isReactWarning)return!1}return H.ref!==void 0}function Q0(H){if(M1.call(H,"key")){var A=Object.getOwnPropertyDescriptor(H,"key").get;if(A&&A.isReactWarning)return!1}return H.key!==void 0}function K0(H,A){if(typeof H.ref==="string"&&E1.current&&A&&E1.current.stateNode!==A){var D=k0(E1.current.type);if(!C1[D])z0('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',k0(E1.current.type),H.ref),C1[D]=!0}}function f0(H,A){{var D=function(){if(!z8)z8=!0,z0("%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)",A)};D.isReactWarning=!0,Object.defineProperty(H,"key",{get:D,configurable:!0})}}function s0(H,A){{var D=function(){if(!W8)W8=!0,z0("%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)",A)};D.isReactWarning=!0,Object.defineProperty(H,"ref",{get:D,configurable:!0})}}var R1=function(H,A,D,y,v,X0,u){var g={$$typeof:c,type:H,key:A,ref:D,props:u,_owner:X0};if(g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze)Object.freeze(g.props),Object.freeze(g);return g};function J1(H,A,D,y,v){{var X0,u={},g=null,t=null;if(D!==void 0)y1(D),g=""+D;if(Q0(A))y1(A.key),g=""+A.key;if(i(A))t=A.ref,K0(A,v);for(X0 in A)if(M1.call(A,X0)&&!Y8.hasOwnProperty(X0))u[X0]=A[X0];if(H&&H.defaultProps){var r=H.defaultProps;for(X0 in r)if(u[X0]===void 0)u[X0]=r[X0]}if(g||t){var M0=typeof H==="function"?H.displayName||H.name||"Unknown":H;if(g)f0(u,M0);if(t)s0(u,M0)}return R1(H,g,t,v,y,E1.current,u)}}var{ReactCurrentOwner:n1,ReactDebugCurrentFrame:T0}=F1;function v0(H){if(H){var A=H._owner,D=D1(H.type,H._source,A?A.type:null);T0.setExtraStackFrame(D)}else T0.setExtraStackFrame(null)}var K8=!1;function s4(H){return typeof H==="object"&&H!==null&&H.$$typeof===c}function q0(){{if(n1.current){var H=k0(n1.current.type);if(H)return`
|
||
|
||
Check the render method of \``+H+"`."}return""}}function h4(H){{if(H!==void 0){var A=H.fileName.replace(/^.*[\\\/]/,""),D=H.lineNumber;return`
|
||
|
||
Check your code at `+A+":"+D+"."}return""}}var w0={};function L8(H){{var A=q0();if(!A){var D=typeof H==="string"?H:H.displayName||H.name;if(D)A=`
|
||
|
||
Check the top-level render call using <`+D+">."}return A}}function R8(H,A){{if(!H._store||H._store.validated||H.key!=null)return;H._store.validated=!0;var D=L8(A);if(w0[D])return;w0[D]=!0;var y="";if(H&&H._owner&&H._owner!==n1.current)y=" It was passed a child from "+k0(H._owner.type)+".";v0(H),z0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,y),v0(null)}}function x4(H,A){{if(typeof H!=="object")return;if(W4(H))for(var D=0;D<H.length;D++){var y=H[D];if(s4(y))R8(y,A)}else if(s4(H)){if(H._store)H._store.validated=!0}else if(H){var v=m4(H);if(typeof v==="function"){if(v!==H.entries){var X0=v.call(H),u;while(!(u=X0.next()).done)if(s4(u.value))R8(u.value,A)}}}}}function P(H){{var A=H.type;if(A===null||A===void 0||typeof A==="string")return;var D;if(typeof A==="function")D=A.propTypes;else if(typeof A==="object"&&(A.$$typeof===J0||A.$$typeof===V0))D=A.propTypes;else return;if(D){var y=k0(A);p4(D,H.props,"prop",y,H)}else if(A.PropTypes!==void 0&&!K8){K8=!0;var v=k0(A);z0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}if(typeof A.getDefaultProps==="function"&&!A.getDefaultProps.isReactClassApproved)z0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function C(H){{var A=Object.keys(H.props);for(var D=0;D<A.length;D++){var y=A[D];if(y!=="children"&&y!=="key"){v0(H),z0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y),v0(null);break}}if(H.ref!==null)v0(H),z0("Invalid attribute `ref` supplied to `React.Fragment`."),v0(null)}}var E={};function T(H,A,D,y,v,X0){{var u=l0(H);if(!u){var g="";if(H===void 0||typeof H==="object"&&H!==null&&Object.keys(H).length===0)g+=" 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 t=h4(v);if(t)g+=t;else g+=q0();var r;if(H===null)r="null";else if(W4(H))r="array";else if(H!==void 0&&H.$$typeof===c)r="<"+(k0(H.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?";else r=typeof H;z0("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",r,g)}var M0=J1(H,A,D,v,X0);if(M0==null)return M0;if(u){var A1=A.children;if(A1!==void 0)if(y)if(W4(A1)){for(var a4=0;a4<A1.length;a4++)x4(A1[a4],H);if(Object.freeze)Object.freeze(A1)}else z0("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 x4(A1,H)}if(M1.call(A,"key")){var C8=k0(H),t1=Object.keys(A).filter(function(T8){return T8!=="key"}),C5=t1.length>0?"{key: someKey, "+t1.join(": ..., ")+": ...}":"{key: someKey}";if(!E[C8+C5]){var l7=t1.length>0?"{"+t1.join(": ..., ")+": ...}":"{}";z0(`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} />`,C5,C8,l7,C8),E[C8+C5]=!0}}if(H===h1)C(M0);else P(M0);return M0}}var k=T;YL.Fragment=h1,YL.jsxDEV=k})()});var jB=k8(EZ(),1),DB=k8(SB(),1);var a0=k8(EZ(),1),R=k8(uZ(),1);function zL(){let[c,Q1]=a0.useState(null),[h1,$1]=a0.useState("Ready to authenticate"),[q,F4]=a0.useState("info"),[F0,J0]=a0.useState(null),[K1,Y0]=a0.useState(!1),[V0,a]=a0.useState(!0),[S0,d1]=a0.useState([]),[L4,m4]=a0.useState(!1),[F1,z0]=a0.useState(0),[H1,H0]=a0.useState(!0),[G1,b0]=a0.useState(null),[J4,Y4]=a0.useState([]),[z4,l0]=a0.useState(!1),[N1,q1]=a0.useState(0),[k0,C0]=a0.useState(!0),[P1,O0]=a0.useState(null),[R0,G8]=a0.useState({});async function c4(P){if(!P||R0[P])return R0[P]||null;try{let C=await w4(P);if(C)return G8((E)=>({...E,[P]:{name:C.name||`user:${P.slice(0,8)}`,display_name:C.display_name,picture:C.picture,about:C.about}})),C}catch(C){console.log("Error fetching profile for",P.slice(0,8),":",C)}return null}async function A8(P){let E=[...new Set(P.map((T)=>T.author).filter(Boolean))].map((T)=>c4(T));await Promise.allSettled(E)}let[r0,R4]=a0.useState({welcome:!0,exportMine:!1,exportAll:!1,exportSpecific:!1,importEvents:!1,eventsLog:!1,allEventsLog:!1}),x1=a0.useRef(null),T4=a0.useRef(null),[F8,J8]=a0.useState(16);a0.useEffect(()=>{function P(){if(x1.current){let C=x1.current.offsetHeight||0;J8(Math.max(0,Math.round(C/2)))}}return P(),window.addEventListener("resize",P),()=>window.removeEventListener("resize",P)},[]),a0.useEffect(()=>{let P=window.matchMedia("(prefers-color-scheme: dark)");Y0(P.matches);let C=(E)=>{Y0(E.matches)};return P.addEventListener("change",C),()=>{P.removeEventListener("change",C)}},[]),a0.useEffect(()=>{(async()=>{await g1(),a(!1)})()},[]),a0.useEffect(()=>{if(c?.pubkey)I4(c.pubkey)},[c?.pubkey]),a0.useEffect(()=>{if(c?.pubkey){if(W4(!0),c.permission==="admin")K4(!0)}},[c?.pubkey,c?.permission]);function j1(){try{return window.location.protocol.replace("http","ws")+"//"+window.location.host}catch(P){return"ws://localhost:3333"}}async function g1(){try{let C=await(await fetch("/api/auth/status")).json();if(C.authenticated&&C.pubkey)try{let T=await(await fetch(`/api/permissions/${C.pubkey}`)).json();if(T&&T.permission){let k={pubkey:C.pubkey,permission:T.permission};Q1(k),p0(`Already authenticated as: ${C.pubkey.slice(0,16)}...`,"success"),I4(C.pubkey)}}catch(E){}}catch(P){}}function p0(P,C="info"){$1(P),F4(C)}function r1(){switch(q){case"success":return"mt-5 mb-5 p-3 rounded "+q0("bg-green-100 text-green-800","bg-green-900 text-green-100");case"error":return"mt-5 mb-5 p-3 rounded "+q0("bg-red-100 text-red-800","bg-red-900 text-red-100");case"info":default:return"mt-5 mb-5 p-3 rounded "+q0("bg-cyan-100 text-cyan-800","bg-cyan-900 text-cyan-100")}}async function i4(){try{return(await(await fetch("/api/auth/challenge")).json()).challenge}catch(P){throw p0("Failed to get authentication challenge: "+P.message,"error"),P}}async function L1(){if(!window.nostr){p0("No Nostr extension found. Please install a NIP-07 compatible extension like nos2x or Alby.","error");return}try{p0("Connecting to extension...","info");let P=await window.nostr.getPublicKey(),C=await i4(),E={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",j1()],["challenge",C]],content:""},T=await window.nostr.signEvent(E);await D1(T)}catch(P){p0("Extension login failed: "+P.message,"error")}}async function w4(P,C=4000){return new Promise((E)=>{let T=!1,k=[],H,A=!1;try{H=new WebSocket(j1())}catch(X0){E(null);return}let D="profile-"+Math.random().toString(36).slice(2),y=setTimeout(()=>{if(H&&H.readyState===1)try{H.close()}catch(X0){}if(!T)T=!0,E(null)},C),v=()=>{if(!A&&H&&H.readyState===1)try{let X0=["REQ",D,{kinds:[0],authors:[P]}];H.send(JSON.stringify(X0)),A=!0}catch(X0){}};H.onopen=()=>{v()},H.onmessage=async(X0)=>{try{let u=JSON.parse(X0.data),g=u[0];if(g==="AUTH"){let t=u[1];if(!window.nostr){if(clearTimeout(y),!T)T=!0,E(null);return}try{let r={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",j1()],["challenge",t]],content:""},A1=["AUTH",await window.nostr.signEvent(r)];H.send(JSON.stringify(A1))}catch(r){if(clearTimeout(y),!T)T=!0,E(null)}}else if(g==="EVENT"&&u[1]===D){let t=u[2];if(t&&t.kind===0&&t.content)k.push(t)}else if(g==="EOSE"&&u[1]===D){try{H.send(JSON.stringify(["CLOSE",D]))}catch(t){}try{H.close()}catch(t){}if(clearTimeout(y),!T)if(T=!0,k.length){let t=k.reduce((r,M0)=>r.created_at>M0.created_at?r:M0);try{let r=JSON.parse(t.content);E(r||null)}catch(r){E(null)}}else E(null)}else if(g==="CLOSED"&&u[1]===D){if((u[2]||"").includes("auth-required")&&!A)return;if(clearTimeout(y),!T)if(T=!0,k.length){let r=k.reduce((M0,A1)=>M0.created_at>A1.created_at?M0:A1);try{let M0=JSON.parse(r.content);E(M0||null)}catch(M0){E(null)}}else E(null)}else if(g==="OK"&&u[1]&&u[1].length===64&&!A)v()}catch(u){}},H.onerror=()=>{try{H.close()}catch(X0){}if(clearTimeout(y),!T)T=!0,E(null)},H.onclose=()=>{if(clearTimeout(y),!T)if(T=!0,k.length){let X0=k.reduce((u,g)=>u.created_at>g.created_at?u:g);try{let u=JSON.parse(X0.content);E(u||null)}catch(u){E(null)}}else E(null)}})}async function I4(P){try{let C={name:`user:${P.slice(0,8)}`,about:"No profile data available"};J0(C);let E=null;try{E=await w4(P)}catch(T){}if(E){let T=typeof E==="string"?JSON.parse(E):E;return J0({name:T.name||C.name,display_name:T.display_name,picture:T.picture,banner:T.banner,about:T.about||C.about}),T}if(window.nostr&&window.nostr.getPublicKey)try{if(window.nostr.getUserMetadata){let T=await window.nostr.getUserMetadata();if(T)try{let k=typeof T==="string"?JSON.parse(T):T;return J0({name:k.name||C.name,display_name:k.display_name,picture:k.picture,banner:k.banner,about:k.about||C.about}),k}catch(k){console.log("Error parsing user metadata:",k)}}}catch(T){console.log("Could not get profile from extension:",T)}return C}catch(C){return console.error("Error handling profile data:",C),null}}async function D1(P){try{let E=await(await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(P)})).json();if(E.success){Q1(E.pubkey),p0("Successfully authenticated as: "+E.pubkey.slice(0,16)+"...","success");let k=await(await fetch(`/api/permissions/${E.pubkey}`)).json();if(k&&k.permission)Q1({pubkey:E.pubkey,permission:k.permission}),await I4(E.pubkey)}else p0("Authentication failed: "+E.error,"error")}catch(C){p0("Authentication request failed: "+C.message,"error")}}async function M1(){try{await fetch("/api/auth/logout",{method:"POST"})}catch(P){}Q1(null),J0(null),d1([]),z0(0),H0(!0),b0(null),Y4([]),q1(0),C0(!0),O0(null),p0("Logged out","info")}async function N4(P=!1,C=50,E=1e4){if(!c?.pubkey)return;if(L4)return;if(!P&&!H1)return;return console.log("DEBUG: fetchEventsFromRelay called, reset:",P,"offset:",F1),m4(!0),new Promise((T)=>{let k=!1,H=[],A,D=!1;try{A=new WebSocket(j1())}catch(u){console.error("Failed to create WebSocket:",u),m4(!1),T();return}let y="events-"+Math.random().toString(36).slice(2),v=setTimeout(()=>{if(A&&A.readyState===1)try{A.close()}catch(u){}if(!k)k=!0,console.log("DEBUG: WebSocket timeout, received events:",H.length),U1(H,P),T()},E),X0=()=>{if(!D&&A&&A.readyState===1)try{let u=["REQ",y,{authors:[c.pubkey]}];console.log("DEBUG: Sending WebSocket request:",u),A.send(JSON.stringify(u)),D=!0}catch(u){console.error("Failed to send WebSocket request:",u)}};A.onopen=()=>{X0()},A.onmessage=async(u)=>{try{let g=JSON.parse(u.data),t=g[0];if(console.log("DEBUG: WebSocket message:",t,g.length>2?"with event":""),t==="AUTH"){let r=g[1];if(!window.nostr){if(console.error("Authentication required but no Nostr extension found"),clearTimeout(v),!k)k=!0,U1(H,P),T();return}try{let M0={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",j1()],["challenge",r]],content:""},a4=["AUTH",await window.nostr.signEvent(M0)];A.send(JSON.stringify(a4))}catch(M0){if(console.error("Failed to authenticate:",M0),clearTimeout(v),!k)k=!0,U1(H,P),T()}}else if(t==="EVENT"&&g[1]===y){let r=g[2];if(r){let M0={id:r.id,kind:r.kind,created_at:r.created_at,content:r.content||"",raw_json:JSON.stringify(r)};H.push(M0)}}else if(t==="EOSE"&&g[1]===y){try{A.send(JSON.stringify(["CLOSE",y]))}catch(r){}try{A.close()}catch(r){}if(clearTimeout(v),!k)k=!0,console.log("DEBUG: EOSE received, processing events:",H.length),U1(H,P),T()}else if(t==="CLOSED"&&g[1]===y){let r=g[2]||"";if(console.log("DEBUG: Subscription closed:",r),r.includes("auth-required")&&!D)return;if(clearTimeout(v),!k)k=!0,U1(H,P),T()}else if(t==="OK"&&g[1]&&g[1].length===64&&!D)X0()}catch(g){console.error("Error parsing WebSocket message:",g)}},A.onerror=(u)=>{console.error("WebSocket error:",u);try{A.close()}catch(g){}if(clearTimeout(v),!k)k=!0,U1(H,P),T()},A.onclose=()=>{if(clearTimeout(v),!k)k=!0,console.log("DEBUG: WebSocket closed, processing events:",H.length),U1(H,P),T()}})}function l4(P){let C=P.filter((k)=>k.kind===5),E=new Set;C.forEach((k)=>{try{let H=JSON.parse(k.raw_json);if(H.tags)H.tags.forEach((A)=>{if(A[0]==="e"&&A[1])E.add(A[1])})}catch(H){console.error("Error parsing delete event:",H)}});let T=P.filter((k)=>{if(k.kind===5)return!0;return!E.has(k.id)});return console.log("DEBUG: Filtered events - original:",P.length,"filtered:",T.length,"deleted IDs:",E.size),T}function U1(P,C){try{let T=l4(P).sort((D,y)=>y.created_at-D.created_at),k=C?0:F1,H=50,A=T.slice(k,k+50);if(console.log("DEBUG: Processing events - total:",T.length,"paginated:",A.length,"offset:",k),C)d1(A),z0(A.length);else d1((D)=>[...D,...A]),z0((D)=>D+A.length);H0(k+A.length<T.length),console.log("DEBUG: Events updated, displayed count:",A.length,"has more:",k+A.length<T.length)}catch(E){console.error("Error processing events response:",E)}finally{m4(!1)}}async function p4(P=!1,C=50,E=1e4){if(!c?.pubkey||c.permission!=="admin")return;if(z4)return;if(!P&&!k0)return;return console.log("DEBUG: fetchAllEventsFromRelay called, reset:",P,"offset:",N1),l0(!0),new Promise((T)=>{let k=!1,H=[],A,D=!1;try{A=new WebSocket(j1())}catch(u){console.error("Failed to create WebSocket:",u),l0(!1),T();return}let y="allevents-"+Math.random().toString(36).slice(2),v=setTimeout(()=>{if(A&&A.readyState===1)try{A.close()}catch(u){}if(!k)k=!0,console.log("DEBUG: WebSocket timeout, received all events:",H.length),V4(H,P),T()},E),X0=()=>{if(!D&&A&&A.readyState===1)try{let u=["REQ",y,{}];console.log("DEBUG: Sending WebSocket request for all events:",u),A.send(JSON.stringify(u)),D=!0}catch(u){console.error("Failed to send WebSocket request:",u)}};A.onopen=()=>{X0()},A.onmessage=async(u)=>{try{let g=JSON.parse(u.data),t=g[0];if(console.log("DEBUG: WebSocket message:",t,g.length>2?"with event":""),t==="AUTH"){let r=g[1];if(!window.nostr){if(console.error("Authentication required but no Nostr extension found"),clearTimeout(v),!k)k=!0,V4(H,P),T();return}try{let M0={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",j1()],["challenge",r]],content:""},a4=["AUTH",await window.nostr.signEvent(M0)];A.send(JSON.stringify(a4))}catch(M0){if(console.error("Failed to authenticate:",M0),clearTimeout(v),!k)k=!0,V4(H,P),T()}}else if(t==="EVENT"&&g[1]===y){let r=g[2];if(r){let M0={id:r.id,kind:r.kind,created_at:r.created_at,content:r.content||"",author:r.pubkey||"",raw_json:JSON.stringify(r)};H.push(M0)}}else if(t==="EOSE"&&g[1]===y){try{A.send(JSON.stringify(["CLOSE",y]))}catch(r){}try{A.close()}catch(r){}if(clearTimeout(v),!k)k=!0,console.log("DEBUG: EOSE received, processing all events:",H.length),V4(H,P),T()}else if(t==="CLOSED"&&g[1]===y){let r=g[2]||"";if(console.log("DEBUG: All events subscription closed:",r),r.includes("auth-required")&&!D)return;if(clearTimeout(v),!k)k=!0,V4(H,P),T()}else if(t==="OK"&&g[1]&&g[1].length===64&&!D)X0()}catch(g){console.error("Error parsing WebSocket message:",g)}},A.onerror=(u)=>{console.error("WebSocket error:",u);try{A.close()}catch(g){}if(clearTimeout(v),!k)k=!0,V4(H,P),T()},A.onclose=()=>{if(clearTimeout(v),!k)k=!0,console.log("DEBUG: WebSocket closed, processing all events:",H.length),V4(H,P),T()}})}function V4(P,C){try{let T=l4(P).sort((D,y)=>y.created_at-D.created_at),k=C?0:N1,H=50,A=T.slice(k,k+50);if(console.log("DEBUG: Processing all events - total:",T.length,"paginated:",A.length,"offset:",k),C)Y4(A),q1(A.length);else Y4((D)=>[...D,...A]),q1((D)=>D+A.length);C0(k+A.length<T.length),A8(A),console.log("DEBUG: All events updated, displayed count:",A.length,"has more:",k+A.length<T.length)}catch(E){console.error("Error processing all events response:",E)}finally{l0(!1)}}async function W4(P=!1){if(await N4(P),c?.pubkey)await c4(c.pubkey)}async function K4(P=!1){await p4(P)}function k1(P){b0((C)=>C===P?null:P)}function o4(P){O0((C)=>C===P?null:P)}function y1(P){try{navigator.clipboard.writeText(P)}catch(C){let E=document.createElement("textarea");E.value=P,document.body.appendChild(E),E.select(),document.execCommand("copy"),document.body.removeChild(E)}}function E1(P,C=100){if(!P||P.length<=C)return P;return P.substring(0,C)+"..."}function Y8(P){return new Date(P*1000).toLocaleString()}async function z8(P,C,E=null){if(!c?.pubkey){p0("Must be logged in to delete events","error");return}if(!window.nostr){p0("Nostr extension not found","error");return}try{let T=JSON.parse(C),k=T.pubkey===c.pubkey,H=c.permission==="admin";if(!k&&!H){p0("You can only delete your own events","error");return}let A={kind:5,created_at:Math.floor(Date.now()/1000),tags:[["e",T.id],["k",T.kind.toString()]],content:k?"Deleted by author":"Deleted by admin"},D=await window.nostr.signEvent(A);if(await W8(D),p0("Delete event published successfully","success"),k)W4(!0);if(H)K4(!0)}catch(T){p0("Failed to delete event: "+T.message,"error")}}async function W8(P,C=5000){return new Promise((E,T)=>{let k=!1,H,A=!1;try{H=new WebSocket(j1())}catch(v){T(new Error("Failed to create WebSocket connection"));return}let D=setTimeout(()=>{if(console.log("DEBUG: Timeout occurred - eventSent:",A,"resolved:",k,"ws.readyState:",H?.readyState),H&&H.readyState===1)try{H.close()}catch(v){}if(!k)k=!0,T(new Error("Timeout publishing event - no status received"))},C),y=()=>{if(!A&&H&&H.readyState===1)try{let v=["EVENT",P];console.log("DEBUG: Sending event to relay:",P.id,"kind:",P.kind),H.send(JSON.stringify(v)),A=!0}catch(v){if(clearTimeout(D),!k)k=!0,T(new Error("Failed to send event: "+v.message))}};H.onopen=()=>{y()},H.onmessage=async(v)=>{try{let X0=JSON.parse(v.data),u=X0[0];if(console.log("DEBUG: publishEventToRelay received message:",X0),u==="AUTH"){let g=X0[1];if(!window.nostr){if(clearTimeout(D),!k)k=!0,T(new Error("Authentication required but no Nostr extension found"));return}try{let t={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",j1()],["challenge",g]],content:""},M0=["AUTH",await window.nostr.signEvent(t)];H.send(JSON.stringify(M0))}catch(t){if(clearTimeout(D),!k)k=!0,T(new Error("Failed to authenticate: "+t.message))}}else if(u==="OK"){let g=X0[1],t=X0[2],r=X0[3]||"";if(console.log("DEBUG: OK message - eventId:",g,"expected:",P.id,"match:",g===P.id),g===P.id){clearTimeout(D);try{H.close()}catch(M0){}if(!k)if(k=!0,t)E();else{if(r.includes("auth-required")&&!A)return;T(new Error("Event rejected: "+r))}}else if(g&&g.length===64)if(!A)console.log("DEBUG: Received OK for AUTH, sending original event"),y();else console.log("DEBUG: Received OK for different event:",g,"but we sent:",P.id)}}catch(X0){}},H.onerror=(v)=>{clearTimeout(D);try{H.close()}catch(X0){}if(!k)k=!0,T(new Error("WebSocket error"))},H.onclose=()=>{if(clearTimeout(D),!k)k=!0,T(new Error("WebSocket connection closed"))}})}function C1(P){R4((C)=>({...C,[P]:!C[P]}))}function i(){try{T4?.current?.click()}catch(P){}}async function Q0(P){let C=P?.target?.files&&P.target.files[0];if(!C)return;try{p0("Uploading import file...","info");let E=new FormData;E.append("file",C);let T=await fetch("/api/import",{method:"POST",body:E});if(T.ok)p0("Import started. Processing will continue in the background.","success");else{let k=await T.text();p0("Import failed: "+k,"error")}}catch(E){p0("Import failed: "+(E?.message||String(E)),"error")}finally{if(P&&P.target)P.target.value=""}}let[K0,f0]=a0.useState([{value:""}]);function s0(P){if(!P)return!1;let C=String(P).trim();return/^[0-9a-fA-F]{64}$/.test(C)}function R1(P){return String(P||"").trim()}function J1(){f0((P)=>[...P,{value:""}])}function n1(P){f0((C)=>C.filter((E,T)=>T!==P))}function T0(P,C){let E=R1(C);f0((T)=>T.map((k,H)=>H===P?{value:E}:k))}function v0(){return K0.map((P)=>R1(P.value)).filter((P)=>P.length>0&&s0(P))}function K8(){if(!K0||K0.length===0)return!1;return K0.every((P)=>{let C=R1(P.value);return C.length===64&&s0(C)})}function s4(){let P=v0();if(!P.length)return;let C=P.map((E)=>`pubkey=${encodeURIComponent(E)}`).join("&");try{window.location.href=`/api/export?${C}`}catch(E){}}function q0(P,C){return K1?C:P}function h4(){return q0("bg-gray-200","bg-gray-800")}function w0(){return q0("text-gray-700","text-gray-300")}function L8(){return q0("bg-gray-100","bg-gray-700")}function R8(){return q0("text-gray-500","text-gray-300")}function x4(){return q0("hover:text-gray-800","hover:text-gray-100")}if(V0)return null;return R.jsxDEV("div",{className:`min-h-screen ${q0("bg-gray-100","bg-gray-900")}`,children:c?.permission?R.jsxDEV(R.Fragment,{children:[R.jsxDEV("div",{className:`sticky top-0 left-0 w-full ${q0("bg-gray-100","bg-gray-900")} z-50 h-16 flex items-center overflow-hidden`,children:R.jsxDEV("div",{className:"flex items-center h-full w-full box-border",children:[R.jsxDEV("div",{className:"relative overflow-hidden flex flex-grow items-center justify-start h-full",children:[F0?.banner&&R.jsxDEV("div",{className:"absolute inset-0 opacity-70 bg-cover bg-center",style:{backgroundImage:`url(${F0.banner})`}},void 0,!1,void 0,this),R.jsxDEV("div",{className:"relative z-10 p-2 flex items-center h-full",children:[F0?.picture&&R.jsxDEV("img",{src:F0.picture,alt:"User Avatar",className:`w-16 h-16 rounded-full object-cover border-2 ${q0("border-white","border-gray-600")} mr-2 shadow box-border`},void 0,!1,void 0,this),R.jsxDEV("div",{className:w0(),children:[R.jsxDEV("div",{className:"font-bold text-base block",children:[F0?.display_name||F0?.name||c.pubkey.slice(0,8),F0?.name&&F0?.display_name&&` (${F0.name})`]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"font-bold text-lg text-left",children:c.permission==="admin"?"Admin Dashboard":"Subscriber Dashboard"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"flex items-center justify-end shrink-0 h-full",children:R.jsxDEV("button",{className:`bg-transparent ${R8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${x4()}`,onClick:M1,children:"✕"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex-grow overflow-y-auto p-4",children:[R.jsxDEV("input",{type:"file",ref:T4,onChange:Q0,accept:".json,.jsonl,text/plain,application/x-ndjson,application/json",style:{display:"none"}},void 0,!1,void 0,this),R.jsxDEV("div",{className:`m-2 p-2 w-full ${h4()} rounded-lg`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("welcome"),children:[R.jsxDEV("span",{children:"Welcome"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.welcome?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.welcome&&R.jsxDEV("div",{className:"p-2",children:R.jsxDEV("p",{className:w0(),children:"here you can configure all the things"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("exportMine"),children:[R.jsxDEV("span",{children:"Export My Events"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.exportMine?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.exportMine&&R.jsxDEV("div",{className:"w-full flex items-center justify-end p-2 bg-gray-900 rounded-lg mt-2",children:[R.jsxDEV("div",{className:"pr-2 m-2 w-full",children:R.jsxDEV("p",{className:`text-sm w-full ${w0()}`,children:"Download your own events as line-delimited JSON (JSONL/NDJSON). Only events you authored will be included."},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${L8()} ${R8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${x4()}`,onClick:()=>{window.location.href="/api/export/mine"},"aria-label":"Download my events as JSONL",title:"Download my events",children:"⤓"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),c.permission==="admin"&&R.jsxDEV(R.Fragment,{children:[R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("exportAll"),children:[R.jsxDEV("span",{children:"Export All Events (admin)"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.exportAll?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.exportAll&&R.jsxDEV("div",{className:"flex items-center justify-between p-2 m-4 bg-gray-900 round mt-2",children:[R.jsxDEV("div",{className:"pr-2 w-full",children:R.jsxDEV("p",{className:`text-sm ${w0()}`,children:"Download all stored events as line-delimited JSON (JSONL/NDJSON). This may take a while on large databases."},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${L8()} ${R8()} border-0 text-2xl cursor-pointer flex m-2 items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${x4()}`,onClick:()=>{window.location.href="/api/export"},"aria-label":"Download all events as JSONL",title:"Download all events",children:"⤓"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("exportSpecific"),children:[R.jsxDEV("span",{children:"Export Specific Pubkeys (admin)"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.exportSpecific?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.exportSpecific&&R.jsxDEV("div",{className:"w-full flex items-start justify-between gap-4 m-2 p-2 bg-gray-900 rounded-lg mt-2",children:R.jsxDEV("div",{className:"flex-1 pr-2 w-full",children:[R.jsxDEV("p",{className:`text-sm ${w0()}`,children:"Enter one or more author pubkeys (64-character hex). Only valid entries will be exported."},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex flex-col items-end gap-2 self-end justify-end p-2",children:R.jsxDEV("button",{className:`${L8()} ${w0()} text-base p-4 rounded m-2 ${q0("hover:bg-gray-200","hover:bg-gray-600")}`,onClick:J1,title:"Add another pubkey",type:"button",children:"+ Add"},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex flex-col items-end gap-2 min-w-[320px] justify-end p-2",children:R.jsxDEV("div",{className:"gap-2 justify-end",children:K0.map((P,C)=>{let E=(P?.value||"").trim(),T=E.length===0?!0:s0(E);return R.jsxDEV("div",{className:"flex items-center gap-2 ",children:[R.jsxDEV("input",{type:"text",inputMode:"text",autoComplete:"off",spellCheck:"false",className:`flex-1 text-sm px-2 py-1 border rounded outline-none ${T?q0("border-gray-300 bg-white text-gray-900 focus:ring-2 focus:ring-blue-200","border-gray-600 bg-gray-700 text-gray-100 focus:ring-2 focus:ring-blue-500"):q0("border-red-500 bg-red-50 text-red-800","border-red-700 bg-red-900 text-red-200")}`,placeholder:"e.g., 64-hex pubkey",value:E,onChange:(k)=>T0(C,k.target.value)},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${L8()} ${w0()} px-2 py-1 rounded ${q0("hover:bg-gray-200","hover:bg-gray-600")}`,onClick:()=>n1(C),title:"Remove this pubkey",type:"button",children:"✕"},void 0,!1,void 0,this)]},C,!0,void 0,this)})},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex justify-end items-end gap-2 self-end",children:R.jsxDEV("button",{className:`${q0("bg-blue-600","bg-blue-500")} text-white px-3 py-1 rounded disabled:opacity-50 disabled:cursor-not-allowed ${K8()?q0("hover:bg-blue-700","hover:bg-blue-600"):""}`,onClick:s4,disabled:!K8(),title:K8()?"Download events for specified pubkeys":"Enter a valid 64-character hex pubkey in every field",type:"button",children:"Export"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("importEvents"),children:[R.jsxDEV("span",{children:"Import Events (admin)"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.importEvents?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.importEvents&&R.jsxDEV("div",{className:"flex items-center justify-between p-2 bg-gray-900 rounded-lg mt-2",children:[R.jsxDEV("div",{className:"pr-2 w-full",children:R.jsxDEV("p",{className:`text-sm ${w0()}`,children:"Upload events in line-delimited JSON (JSONL/NDJSON) to import into the database."},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${L8()} ${R8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${x4()}`,onClick:i,"aria-label":"Import events from JSONL",title:"Import events",children:"↥"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("eventsLog"),children:[R.jsxDEV("span",{children:"My Events Log"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.eventsLog?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.eventsLog&&R.jsxDEV("div",{className:"p-2 bg-gray-900 rounded-lg mt-2",children:[R.jsxDEV("div",{className:"mb-4",children:R.jsxDEV("p",{className:`text-sm ${w0()}`,children:"View all your events in reverse chronological order. Click on any event to view its raw JSON."},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("div",{className:"block",style:{position:"relative"},children:S0.length===0&&!L4?R.jsxDEV("div",{className:`text-center py-4 ${w0()}`,children:"No events found"},void 0,!1,void 0,this):R.jsxDEV("div",{className:"space-y-2",children:[S0.map((P)=>R.jsxDEV("div",{className:`border rounded p-3 ${q0("border-gray-300 bg-white","border-gray-600 bg-gray-800")}`,children:[R.jsxDEV("div",{className:"cursor-pointer",onClick:()=>k1(P.id),children:[R.jsxDEV("div",{className:"flex items-center justify-between w-full",children:[R.jsxDEV("div",{className:"flex items-center gap-6 w-full",children:[R.jsxDEV("div",{className:"flex items-center gap-3 min-w-0",children:[c?.pubkey&&R0[c.pubkey]&&R.jsxDEV(R.Fragment,{children:[R0[c.pubkey].picture&&R.jsxDEV("img",{src:R0[c.pubkey].picture,alt:R0[c.pubkey].display_name||R0[c.pubkey].name||"User avatar",className:`w-8 h-8 rounded-full object-cover border h-16 ${q0("border-gray-300","border-gray-600")}`,onError:(C)=>{C.currentTarget.style.display="none"}},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex flex-col flex-grow w-full",children:[R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:R0[c.pubkey].display_name||R0[c.pubkey].name||`${c.pubkey.slice(0,8)}...`},void 0,!1,void 0,this),R0[c.pubkey].display_name&&R0[c.pubkey].name&&R.jsxDEV("span",{className:`text-xs ${w0()} opacity-70`,children:R0[c.pubkey].name},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),c?.pubkey&&!R0[c.pubkey]&&R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:`${c.pubkey.slice(0,8)}...`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"flex items-center gap-3",children:[R.jsxDEV("span",{className:`font-mono text-sm px-2 py-1 rounded ${q0("bg-blue-100 text-blue-800","bg-blue-900 text-blue-200")}`,children:["Kind ",P.kind]},void 0,!0,void 0,this),R.jsxDEV("span",{className:`text-sm ${w0()}`,children:Y8(P.created_at)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"flex items-center gap-2 ml-auto",children:[R.jsxDEV("div",{className:`text-lg rounded p-16 m-16 ${q0("text-gray-700","text-gray-300")}`,children:G1===P.id?"▼":" "},void 0,!1,void 0,this),R.jsxDEV("button",{className:"bg-red-600 hover:bg-red-700 text-white text-xs px-1 py-1 rounded flex items-center",onClick:(C)=>{C.stopPropagation(),z8(P.id,P.raw_json)},title:"Delete this event",children:"\uD83D\uDDD1️"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.content&&R.jsxDEV("div",{className:`mt-2 text-sm ${w0()}`,children:E1(P.content)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),G1===P.id&&R.jsxDEV("div",{className:"mt-3 border-t pt-3",children:[R.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:"Raw JSON:"},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${q0("bg-green-600 hover:bg-green-700","bg-green-500 hover:bg-green-600")} text-white text-xs px-2 py-1 rounded`,onClick:(C)=>{C.stopPropagation(),y1(P.raw_json)},title:"Copy minified JSON",children:"Copy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("pre",{className:`text-xs p-2 rounded overflow-auto max-h-40 break-all whitespace-pre-wrap ${h4()} ${w0()}`,children:JSON.stringify(JSON.parse(P.raw_json),null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},P.id,!0,void 0,this)),L4&&R.jsxDEV("div",{className:`text-center py-4 ${w0()}`,children:R.jsxDEV("div",{className:"text-sm",children:"Loading more events..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),!L4&&H1&&R.jsxDEV("div",{className:"text-center py-4",children:R.jsxDEV("button",{className:`${q0("bg-blue-600 hover:bg-blue-700","bg-blue-500 hover:bg-blue-600")} text-white px-4 py-2 rounded`,onClick:()=>W4(!1),children:"Load More"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),c.permission==="admin"&&R.jsxDEV("div",{className:`m-2 p-2 ${h4()} rounded-lg w-full`,children:[R.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${w0()} ${q0("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>C1("allEventsLog"),children:[R.jsxDEV("span",{children:"All Events Log (admin)"},void 0,!1,void 0,this),R.jsxDEV("span",{className:"text-xl",children:r0.allEventsLog?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.allEventsLog&&R.jsxDEV("div",{className:"p-2 bg-gray-900 rounded-lg mt-2 w-full",children:[R.jsxDEV("div",{className:"mb-4",children:R.jsxDEV("p",{className:`text-sm ${w0()}`,children:"View all events from all users in reverse chronological order. Click on any event to view its raw JSON."},void 0,!1,void 0,this)},void 0,!1,void 0,this),R.jsxDEV("div",{className:"block",style:{position:"relative"},children:J4.length===0&&!z4?R.jsxDEV("div",{className:`text-center py-4 ${w0()}`,children:"No events found"},void 0,!1,void 0,this):R.jsxDEV("div",{className:"space-y-2",children:[J4.map((P)=>R.jsxDEV("div",{className:`border rounded p-3 ${q0("border-gray-300 bg-white","border-gray-600 bg-gray-800")}`,children:[R.jsxDEV("div",{className:"cursor-pointer",onClick:()=>o4(P.id),children:[R.jsxDEV("div",{className:"flex items-center justify-between w-full",children:[R.jsxDEV("div",{className:"flex items-center gap-6 w-full",children:[R.jsxDEV("div",{className:"flex items-center gap-3 min-w-0",children:[P.author&&R0[P.author]&&R.jsxDEV(R.Fragment,{children:[R0[P.author].picture&&R.jsxDEV("img",{src:R0[P.author].picture,alt:R0[P.author].display_name||R0[P.author].name||"User avatar",className:`w-8 h-8 rounded-full object-cover border h-16 ${q0("border-gray-300","border-gray-600")}`,onError:(C)=>{C.currentTarget.style.display="none"}},void 0,!1,void 0,this),R.jsxDEV("div",{className:"flex flex-col flex-grow w-full",children:[R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:R0[P.author].display_name||R0[P.author].name||`${P.author.slice(0,8)}...`},void 0,!1,void 0,this),R0[P.author].display_name&&R0[P.author].name&&R.jsxDEV("span",{className:`text-xs ${w0()} opacity-70`,children:R0[P.author].name},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.author&&!R0[P.author]&&R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:`${P.author.slice(0,8)}...`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"flex items-center gap-3",children:[R.jsxDEV("span",{className:`font-mono text-sm px-2 py-1 rounded ${q0("bg-blue-100 text-blue-800","bg-blue-900 text-blue-200")}`,children:["Kind ",P.kind]},void 0,!0,void 0,this),R.jsxDEV("span",{className:`text-sm ${w0()}`,children:Y8(P.created_at)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:"justify-end ml-auto rounded-full h-16 w-16 flex items-center justify-center",children:[R.jsxDEV("div",{className:`text-white text-xs px-4 py-4 rounded flex flex-grow items-center ${q0("text-gray-700","text-gray-300")}`,children:P1===P.id?"▼":" "},void 0,!1,void 0,this),R.jsxDEV("button",{className:"bg-red-600 hover:bg-red-700 text-white text-xs px-1 py-1 rounded flex items-center",onClick:(C)=>{C.stopPropagation(),z8(P.id,P.raw_json,P.author)},title:"Delete this event",children:"\uD83D\uDDD1️"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P.content&&R.jsxDEV("div",{className:`mt-2 text-sm ${w0()}`,children:E1(P.content)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P1===P.id&&R.jsxDEV("div",{className:"mt-3 border-t pt-3",children:[R.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[R.jsxDEV("span",{className:`text-sm font-medium ${w0()}`,children:"Raw JSON:"},void 0,!1,void 0,this),R.jsxDEV("button",{className:`${q0("bg-green-600 hover:bg-green-700","bg-green-500 hover:bg-green-600")} text-white text-xs px-2 py-1 rounded`,onClick:(C)=>{C.stopPropagation(),y1(P.raw_json)},title:"Copy minified JSON",children:"Copy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("pre",{className:`text-xs p-2 rounded overflow-auto max-h-40 break-all whitespace-pre-wrap ${h4()} ${w0()}`,children:JSON.stringify(JSON.parse(P.raw_json),null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},P.id,!0,void 0,this)),z4&&R.jsxDEV("div",{className:`text-center py-4 ${w0()}`,children:R.jsxDEV("div",{className:"text-sm",children:"Loading more events..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),!z4&&k0&&R.jsxDEV("div",{className:"text-center py-4",children:R.jsxDEV("button",{className:`${q0("bg-blue-600 hover:bg-blue-700","bg-blue-500 hover:bg-blue-600")} text-white px-4 py-2 rounded`,onClick:()=>K4(!1),children:"Load More"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("div",{className:`flex-grow ${q0("bg-gray-100","bg-gray-900")}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):R.jsxDEV("div",{className:"w-full h-full flex items-center justify-center",children:R.jsxDEV("div",{className:q0("bg-gray-100","bg-gray-900"),style:{width:"800px",maxWidth:"100%",boxSizing:"border-box",padding:`${F8}px`},children:[R.jsxDEV("div",{className:"flex items-center gap-3 mb-3",children:[R.jsxDEV("img",{src:"/orly.png",alt:"Orly logo",className:"object-contain",style:{width:"4rem",height:"4rem"},onError:(P)=>{P.currentTarget.onerror=null,P.currentTarget.src="/docs/orly.png"}},void 0,!1,void 0,this),R.jsxDEV("h1",{ref:x1,className:`text-2xl font-bold p-2 ${w0()}`,children:"ORLY\uD83E\uDD89 Dashboard Login"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),R.jsxDEV("p",{className:`mb-4 ${w0()}`,children:"Authenticate to this Nostr relay using your browser extension."},void 0,!1,void 0,this),R.jsxDEV("div",{className:r1(),children:h1},void 0,!1,void 0,this),R.jsxDEV("div",{className:"mb-5",children:R.jsxDEV("button",{className:`${q0("bg-blue-600","bg-blue-500")} text-white px-5 py-3 rounded ${q0("hover:bg-blue-700","hover:bg-blue-600")}`,onClick:L1,children:"Login with Browser Extension (NIP-07)"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var bB=zL;var $z=k8(uZ(),1),WL=DB.createRoot(document.getElementById("root"));WL.render($z.jsxDEV(jB.default.StrictMode,{children:$z.jsxDEV(bB,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|