var T3=Object.create;var{getPrototypeOf:w3,defineProperty:Y5,getOwnPropertyNames:R3}=Object;var $3=Object.prototype.hasOwnProperty;var Xu=(E,A,J)=>{J=E!=null?T3(w3(E)):{};let V=A||!E||!E.__esModule?Y5(J,"default",{value:E,enumerable:!0}):J;for(let X of R3(E))if(!$3.call(V,X))Y5(V,X,{get:()=>E[X],enumerable:!0});return V};var j1=(E,A)=>()=>(A||E((A={exports:{}}).exports,A),A.exports);var j4=(E,A)=>{for(var J in A)Y5(E,J,{get:A[J],enumerable:!0,configurable:!0,set:(V)=>A[J]=()=>V})};var yu=j1((I3,qV)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var E="18.3.1",A=Symbol.for("react.element"),J=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),M=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),Gu=Symbol.iterator,f="@@iterator";function h(v){if(v===null||typeof v!=="object")return null;var S=Gu&&v[Gu]||v[f];if(typeof S==="function")return S;return null}var b={current:null},d={transition:null},i={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Au={current:null},p={},Ku=null;function wu(v){Ku=v}p.setExtraStackFrame=function(v){Ku=v},p.getCurrentStack=null,p.getStackAddendum=function(){var v="";if(Ku)v+=Ku;var S=p.getCurrentStack;if(S)v+=S()||"";return v};var pu=!1,Fu=!1,V0=!1,X0=!1,bu=!1,xu={ReactCurrentDispatcher:b,ReactCurrentBatchConfig:d,ReactCurrentOwner:Au};xu.ReactDebugCurrentFrame=p,xu.ReactCurrentActQueue=i;function M0(v){{for(var S=arguments.length,F=new Array(S>1?S-1:0),x=1;x<S;x++)F[x-1]=arguments[x];T0("warn",v,F)}}function Lu(v){{for(var S=arguments.length,F=new Array(S>1?S-1:0),x=1;x<S;x++)F[x-1]=arguments[x];T0("error",v,F)}}function T0(v,S,F){{var x=xu.ReactDebugCurrentFrame,n=x.getStackAddendum();if(n!=="")S+="%s",F=F.concat([n]);var Hu=F.map(function(Ju){return String(Ju)});Hu.unshift("Warning: "+S),Function.prototype.apply.call(console[v],console,Hu)}}var bO={};function RO(v,S){{var F=v.constructor,x=F&&(F.displayName||F.name)||"ReactClass",n=x+"."+S;if(bO[n])return;Lu("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.",S,x),bO[n]=!0}}var YD={isMounted:function(v){return!1},enqueueForceUpdate:function(v,S,F){RO(v,"forceUpdate")},enqueueReplaceState:function(v,S,F,x){RO(v,"replaceState")},enqueueSetState:function(v,S,F,x){RO(v,"setState")}},n0=Object.assign,BO={};Object.freeze(BO);function d0(v,S,F){this.props=v,this.context=S,this.refs=BO,this.updater=F||YD}d0.prototype.isReactComponent={},d0.prototype.setState=function(v,S){if(typeof v!=="object"&&typeof v!=="function"&&v!=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,v,S,"setState")},d0.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};{var $O={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)."]},UO=function(v,S){Object.defineProperty(d0.prototype,v,{get:function(){M0("%s(...) is deprecated in plain JavaScript React classes. %s",S[0],S[1]);return}})};for(var xO in $O)if($O.hasOwnProperty(xO))UO(xO,$O[xO])}function jD(){}jD.prototype=d0.prototype;function p0(v,S,F){this.props=v,this.context=S,this.refs=BO,this.updater=F||YD}var pO=p0.prototype=new jD;pO.constructor=p0,n0(pO,d0.prototype),pO.isPureReactComponent=!0;function vO(){var v={current:null};return Object.seal(v),v}var BD=Array.isArray;function I0(v){return BD(v)}function sO(v){{var S=typeof Symbol==="function"&&Symbol.toStringTag,F=S&&v[Symbol.toStringTag]||v.constructor.name||"Object";return F}}function UD(v){try{return P0(v),!1}catch(S){return!0}}function P0(v){return""+v}function S0(v){if(UD(v))return Lu("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sO(v)),P0(v)}function hO(v,S,F){var x=v.displayName;if(x)return x;var n=S.displayName||S.name||"";return n!==""?F+"("+n+")":F}function FD(v){return v.displayName||"Context"}function s0(v){if(v==null)return null;if(typeof v.tag==="number")Lu("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof v==="function")return v.displayName||v.name||null;if(typeof v==="string")return v;switch(v){case V:return"Fragment";case J:return"Portal";case H:return"Profiler";case X:return"StrictMode";case w:return"Suspense";case j:return"SuspenseList"}if(typeof v==="object")switch(v.$$typeof){case M:var S=v;return FD(S)+".Consumer";case K:var F=v;return FD(F._context)+".Provider";case z:return hO(v,v.render,"ForwardRef");case P:var x=v.displayName||null;if(x!==null)return x;return s0(v.type)||"Memo";case m:{var n=v,Hu=n._payload,Ju=n._init;try{return s0(Ju(Hu))}catch(qu){return null}}}return null}var vD=Object.prototype.hasOwnProperty,sE={key:!0,ref:!0,__self:!0,__source:!0},rO,aO,C0;C0={};function HD(v){if(vD.call(v,"ref")){var S=Object.getOwnPropertyDescriptor(v,"ref").get;if(S&&S.isReactWarning)return!1}return v.ref!==void 0}function HO(v){if(vD.call(v,"key")){var S=Object.getOwnPropertyDescriptor(v,"key").get;if(S&&S.isReactWarning)return!1}return v.key!==void 0}function OO(v,S){var F=function(){if(!rO)rO=!0,Lu("%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)",S)};F.isReactWarning=!0,Object.defineProperty(v,"key",{get:F,configurable:!0})}function tD(v,S){var F=function(){if(!aO)aO=!0,Lu("%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)",S)};F.isReactWarning=!0,Object.defineProperty(v,"ref",{get:F,configurable:!0})}function oD(v){if(typeof v.ref==="string"&&Au.current&&v.__self&&Au.current.stateNode!==v.__self){var S=s0(Au.current.type);if(!C0[S])Lu('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',S,v.ref),C0[S]=!0}}var ND=function(v,S,F,x,n,Hu,Ju){var qu={$$typeof:A,type:v,key:S,ref:F,props:Ju,_owner:Hu};if(qu._store={},Object.defineProperty(qu._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(qu,"_self",{configurable:!1,enumerable:!1,writable:!1,value:x}),Object.defineProperty(qu,"_source",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.freeze)Object.freeze(qu.props),Object.freeze(qu);return qu};function tO(v,S,F){var x,n={},Hu=null,Ju=null,qu=null,hu=null;if(S!=null){if(HD(S))Ju=S.ref,oD(S);if(HO(S))S0(S.key),Hu=""+S.key;qu=S.__self===void 0?null:S.__self,hu=S.__source===void 0?null:S.__source;for(x in S)if(vD.call(S,x)&&!sE.hasOwnProperty(x))n[x]=S[x]}var eu=arguments.length-2;if(eu===1)n.children=F;else if(eu>1){var J0=Array(eu);for(var Z0=0;Z0<eu;Z0++)J0[Z0]=arguments[Z0+2];if(Object.freeze)Object.freeze(J0);n.children=J0}if(v&&v.defaultProps){var v0=v.defaultProps;for(x in v0)if(n[x]===void 0)n[x]=v0[x]}if(Hu||Ju){var w0=typeof v==="function"?v.displayName||v.name||"Unknown":v;if(Hu)OO(n,w0);if(Ju)tD(n,w0)}return ND(v,Hu,Ju,qu,hu,Au.current,n)}function e(v,S){var F=ND(v.type,S,v.ref,v._self,v._source,v._owner,v.props);return F}function Yu(v,S,F){if(v===null||v===void 0)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+v+".");var x,n=n0({},v.props),Hu=v.key,Ju=v.ref,qu=v._self,hu=v._source,eu=v._owner;if(S!=null){if(HD(S))Ju=S.ref,eu=Au.current;if(HO(S))S0(S.key),Hu=""+S.key;var J0;if(v.type&&v.type.defaultProps)J0=v.type.defaultProps;for(x in S)if(vD.call(S,x)&&!sE.hasOwnProperty(x))if(S[x]===void 0&&J0!==void 0)n[x]=J0[x];else n[x]=S[x]}var Z0=arguments.length-2;if(Z0===1)n.children=F;else if(Z0>1){var v0=Array(Z0);for(var w0=0;w0<Z0;w0++)v0[w0]=arguments[w0+2];n.children=v0}return ND(v.type,Hu,Ju,qu,hu,eu,n)}function Tu(v){return typeof v==="object"&&v!==null&&v.$$typeof===A}var tu=".",A0=":";function b0(v){var S=/[=:]/g,F={"=":"=0",":":"=2"},x=v.replace(S,function(n){return F[n]});return"$"+x}var B0=!1,WO=/\/+/g;function lu(v){return v.replace(WO,"$&/")}function su(v,S){if(typeof v==="object"&&v!==null&&v.key!=null)return S0(v.key),b0(""+v.key);return S.toString(36)}function LE(v,S,F,x,n){var Hu=typeof v;if(Hu==="undefined"||Hu==="boolean")v=null;var Ju=!1;if(v===null)Ju=!0;else switch(Hu){case"string":case"number":Ju=!0;break;case"object":switch(v.$$typeof){case A:case J:Ju=!0}}if(Ju){var qu=v,hu=n(qu),eu=x===""?tu+su(qu,0):x;if(I0(hu)){var J0="";if(eu!=null)J0=lu(eu)+"/";LE(hu,S,J0,"",function(Q9){return Q9})}else if(hu!=null){if(Tu(hu)){if(hu.key&&(!qu||qu.key!==hu.key))S0(hu.key);hu=e(hu,F+(hu.key&&(!qu||qu.key!==hu.key)?lu(""+hu.key)+"/":"")+eu)}S.push(hu)}return 1}var Z0,v0,w0=0,ru=x===""?tu:x+A0;if(I0(v))for(var l1=0;l1<v.length;l1++)Z0=v[l1],v0=ru+su(Z0,l1),w0+=LE(Z0,S,F,v0,n);else{var NG=h(v);if(typeof NG==="function"){var GA=v;if(NG===GA.entries){if(!B0)M0("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");B0=!0}var Z9=NG.call(GA),wE,AA=0;while(!(wE=Z9.next()).done)Z0=wE.value,v0=ru+su(Z0,AA++),w0+=LE(Z0,S,F,v0,n)}else if(Hu==="object"){var JA=String(v);throw new Error("Objects are not valid as a React child (found: "+(JA==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":JA)+"). If you meant to render a collection of children, use an array instead.")}}return w0}function WD(v,S,F){if(v==null)return v;var x=[],n=0;return LE(v,x,"","",function(Hu){return S.call(F,Hu,n++)}),x}function rE(v){var S=0;return WD(v,function(){S++}),S}function n8(v,S,F){WD(v,function(){S.apply(this,arguments)},F)}function TG(v){return WD(v,function(S){return S})||[]}function wG(v){if(!Tu(v))throw new Error("React.Children.only expected to receive a single React element child.");return v}function x1(v){var S={$$typeof:M,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};S.Provider={$$typeof:K,_context:S};var F=!1,x=!1,n=!1;{var Hu={$$typeof:M,_context:S};Object.defineProperties(Hu,{Provider:{get:function(){if(!x)x=!0,Lu("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 S.Provider},set:function(Ju){S.Provider=Ju}},_currentValue:{get:function(){return S._currentValue},set:function(Ju){S._currentValue=Ju}},_currentValue2:{get:function(){return S._currentValue2},set:function(Ju){S._currentValue2=Ju}},_threadCount:{get:function(){return S._threadCount},set:function(Ju){S._threadCount=Ju}},Consumer:{get:function(){if(!F)F=!0,Lu("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 S.Consumer}},displayName:{get:function(){return S.displayName},set:function(Ju){if(!n)M0("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ju),n=!0}}}),S.Consumer=Hu}return S._currentRenderer=null,S._currentRenderer2=null,S}var eD=-1,aE=0,tE=1,gD=2;function KD(v){if(v._status===eD){var S=v._result,F=S();if(F.then(function(Hu){if(v._status===aE||v._status===eD){var Ju=v;Ju._status=tE,Ju._result=Hu}},function(Hu){if(v._status===aE||v._status===eD){var Ju=v;Ju._status=gD,Ju._result=Hu}}),v._status===eD){var x=v;x._status=aE,x._result=F}}if(v._status===tE){var n=v._result;if(n===void 0)Lu(`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?`,n);if(!("default"in n))Lu(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,n);return n.default}else throw v._result}function uE(v){var S={_status:eD,_result:v},F={$$typeof:m,_payload:S,_init:KD};{var x,n;Object.defineProperties(F,{defaultProps:{configurable:!0,get:function(){return x},set:function(Hu){Lu("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."),x=Hu,Object.defineProperty(F,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(Hu){Lu("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."),n=Hu,Object.defineProperty(F,"propTypes",{enumerable:!0})}}})}return F}function h1(v){{if(v!=null&&v.$$typeof===P)Lu("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");else if(typeof v!=="function")Lu("forwardRef requires a render function but was given %s.",v===null?"null":typeof v);else if(v.length!==0&&v.length!==2)Lu("forwardRef render functions accept exactly two parameters: props and ref. %s",v.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined.");if(v!=null){if(v.defaultProps!=null||v.propTypes!=null)Lu("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")}}var S={$$typeof:z,render:v};{var F;Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(x){if(F=x,!v.name&&!v.displayName)v.displayName=x}})}return S}var k1=Symbol.for("react.module.reference");function oE(v){if(typeof v==="string"||typeof v==="function")return!0;if(v===V||v===H||bu||v===X||v===w||v===j||X0||v===t||pu||Fu||V0)return!0;if(typeof v==="object"&&v!==null){if(v.$$typeof===m||v.$$typeof===P||v.$$typeof===K||v.$$typeof===M||v.$$typeof===z||v.$$typeof===k1||v.getModuleId!==void 0)return!0}return!1}function L(v,S){if(!oE(v))Lu("memo: The first argument must be a component. Instead received: %s",v===null?"null":typeof v);var F={$$typeof:P,type:v,compare:S===void 0?null:S};{var x;Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return x},set:function(n){if(x=n,!v.name&&!v.displayName)v.displayName=n}})}return F}function _(){var v=b.current;if(v===null)Lu(`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 v}function s(v){var S=_();if(v._context!==void 0){var F=v._context;if(F.Consumer===v)Lu("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(F.Provider===v)Lu("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return S.useContext(v)}function Uu(v){var S=_();return S.useState(v)}function gu(v,S,F){var x=_();return x.useReducer(v,S,F)}function Ru(v){var S=_();return S.useRef(v)}function Cu(v,S){var F=_();return F.useEffect(v,S)}function Nu(v,S){var F=_();return F.useInsertionEffect(v,S)}function F0(v,S){var F=_();return F.useLayoutEffect(v,S)}function U0(v,S){var F=_();return F.useCallback(v,S)}function K0(v,S){var F=_();return F.useMemo(v,S)}function KO(v,S,F){var x=_();return x.useImperativeHandle(v,S,F)}function fD(v,S){{var F=_();return F.useDebugValue(v,S)}}function PD(){var v=_();return v.useTransition()}function q0(v){var S=_();return S.useDeferredValue(v)}function ju(){var v=_();return v.useId()}function zE(v,S,F){var x=_();return x.useSyncExternalStore(v,S,F)}var OE=0,d8,p8,s8,r8,a8,t8,o8;function OZ(){}OZ.__reactDisabledLog=!0;function G9(){{if(OE===0){d8=console.log,p8=console.info,s8=console.warn,r8=console.error,a8=console.group,t8=console.groupCollapsed,o8=console.groupEnd;var v={configurable:!0,enumerable:!0,value:OZ,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}OE++}}function e8(){{if(OE--,OE===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:n0({},v,{value:d8}),info:n0({},v,{value:p8}),warn:n0({},v,{value:s8}),error:n0({},v,{value:r8}),group:n0({},v,{value:a8}),groupCollapsed:n0({},v,{value:t8}),groupEnd:n0({},v,{value:o8})})}if(OE<0)Lu("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var _1=xu.ReactCurrentDispatcher,qD;function eE(v,S,F){{if(qD===void 0)try{throw Error()}catch(n){var x=n.stack.trim().match(/\n( *(at )?)/);qD=x&&x[1]||""}return`
`+qD+v}}var u1=!1,RG;{var uA=typeof WeakMap==="function"?WeakMap:Map;RG=new uA}function DZ(v,S){if(!v||u1)return"";{var F=RG.get(v);if(F!==void 0)return F}var x;u1=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Hu;Hu=_1.current,_1.current=null,G9();try{if(S){var Ju=function(){throw Error()};if(Object.defineProperty(Ju.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(Ju,[])}catch(ru){x=ru}Reflect.construct(v,[],Ju)}else{try{Ju.call()}catch(ru){x=ru}v.call(Ju.prototype)}}else{try{throw Error()}catch(ru){x=ru}v()}}catch(ru){if(ru&&x&&typeof ru.stack==="string"){var qu=ru.stack.split(`
`),hu=x.stack.split(`
`),eu=qu.length-1,J0=hu.length-1;while(eu>=1&&J0>=0&&qu[eu]!==hu[J0])J0--;for(;eu>=1&&J0>=0;eu--,J0--)if(qu[eu]!==hu[J0]){if(eu!==1||J0!==1)do if(eu--,J0--,J0<0||qu[eu]!==hu[J0]){var Z0=`
`+qu[eu].replace(" at new "," at ");if(v.displayName&&Z0.includes("<anonymous>"))Z0=Z0.replace("<anonymous>",v.displayName);if(typeof v==="function")RG.set(v,Z0);return Z0}while(eu>=1&&J0>=0);break}}}finally{u1=!1,_1.current=Hu,e8(),Error.prepareStackTrace=n}var v0=v?v.displayName||v.name:"",w0=v0?eE(v0):"";if(typeof v==="function")RG.set(v,w0);return w0}function OA(v,S,F){return DZ(v,!1)}function A9(v){var S=v.prototype;return!!(S&&S.isReactComponent)}function O1(v,S,F){if(v==null)return"";if(typeof v==="function")return DZ(v,A9(v));if(typeof v==="string")return eE(v);switch(v){case w:return eE("Suspense");case j:return eE("SuspenseList")}if(typeof v==="object")switch(v.$$typeof){case z:return OA(v.render);case P:return O1(v.type,S,F);case m:{var x=v,n=x._payload,Hu=x._init;try{return O1(Hu(n),S,F)}catch(Ju){}}}return""}var EZ={},DA=xu.ReactDebugCurrentFrame;function $G(v){if(v){var S=v._owner,F=O1(v.type,v._source,S?S.type:null);DA.setExtraStackFrame(F)}else DA.setExtraStackFrame(null)}function GZ(v,S,F,x,n){{var Hu=Function.call.bind(vD);for(var Ju in v)if(Hu(v,Ju)){var qu=void 0;try{if(typeof v[Ju]!=="function"){var hu=Error((x||"React class")+": "+F+" type `"+Ju+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[Ju]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw hu.name="Invariant Violation",hu}qu=v[Ju](S,Ju,x,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(eu){qu=eu}if(qu&&!(qu instanceof Error))$G(n),Lu("%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).",x||"React class",F,Ju,typeof qu),$G(null);if(qu instanceof Error&&!(qu.message in EZ))EZ[qu.message]=!0,$G(n),Lu("Failed %s type: %s",F,qu.message),$G(null)}}}function iu(v){if(v){var S=v._owner,F=O1(v.type,v._source,S?S.type:null);wu(F)}else wu(null)}var AZ=!1;function EA(){if(Au.current){var v=s0(Au.current.type);if(v)return`
Check the render method of \``+v+"`."}return""}function $u(v){if(v!==void 0){var S=v.fileName.replace(/^.*[\\\/]/,""),F=v.lineNumber;return`
Check your code at `+S+":"+F+"."}return""}function JZ(v){if(v!==null&&v!==void 0)return $u(v.__source);return""}var qO={};function y1(v){var S=EA();if(!S){var F=typeof v==="string"?v:v.displayName||v.name;if(F)S=`
Check the top-level render call using <`+F+">."}return S}function D1(v,S){if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var F=y1(S);if(qO[F])return;qO[F]=!0;var x="";if(v&&v._owner&&v._owner!==Au.current)x=" It was passed a child from "+s0(v._owner.type)+".";iu(v),Lu('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',F,x),iu(null)}function ZZ(v,S){if(typeof v!=="object")return;if(I0(v))for(var F=0;F<v.length;F++){var x=v[F];if(Tu(x))D1(x,S)}else if(Tu(v)){if(v._store)v._store.validated=!0}else if(v){var n=h(v);if(typeof n==="function"){if(n!==v.entries){var Hu=n.call(v),Ju;while(!(Ju=Hu.next()).done)if(Tu(Ju.value))D1(Ju.value,S)}}}}function r0(v){{var S=v.type;if(S===null||S===void 0||typeof S==="string")return;var F;if(typeof S==="function")F=S.propTypes;else if(typeof S==="object"&&(S.$$typeof===z||S.$$typeof===P))F=S.propTypes;else return;if(F){var x=s0(S);GZ(F,v.props,"prop",x,v)}else if(S.PropTypes!==void 0&&!AZ){AZ=!0;var n=s0(S);Lu("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")}if(typeof S.getDefaultProps==="function"&&!S.getDefaultProps.isReactClassApproved)Lu("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function L0(v){{var S=Object.keys(v.props);for(var F=0;F<S.length;F++){var x=S[F];if(x!=="children"&&x!=="key"){iu(v),Lu("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x),iu(null);break}}if(v.ref!==null)iu(v),Lu("Invalid attribute `ref` supplied to `React.Fragment`."),iu(null)}}function QZ(v,S,F){var x=oE(v);if(!x){var n="";if(v===void 0||typeof v==="object"&&v!==null&&Object.keys(v).length===0)n+=" 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 Hu=JZ(S);if(Hu)n+=Hu;else n+=EA();var Ju;if(v===null)Ju="null";else if(I0(v))Ju="array";else if(v!==void 0&&v.$$typeof===A)Ju="<"+(s0(v.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?";else Ju=typeof v;Lu("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ju,n)}var qu=tO.apply(this,arguments);if(qu==null)return qu;if(x)for(var hu=2;hu<arguments.length;hu++)ZZ(arguments[hu],v);if(v===V)L0(qu);else r0(qu);return qu}var oO=!1;function kO(v){var S=QZ.bind(null,v);S.type=v;{if(!oO)oO=!0,M0("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");Object.defineProperty(S,"type",{enumerable:!1,get:function(){return M0("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:v}),v}})}return S}function DE(v,S,F){var x=Yu.apply(this,arguments);for(var n=2;n<arguments.length;n++)ZZ(arguments[n],x.type);return r0(x),x}function J9(v,S){var F=d.transition;d.transition={};var x=d.transition;d.transition._updatedFibers=new Set;try{v()}finally{if(d.transition=F,F===null&&x._updatedFibers){var n=x._updatedFibers.size;if(n>10)M0("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.");x._updatedFibers.clear()}}}var IG=!1,m1=null;function VZ(v){if(m1===null)try{var S=("require"+Math.random()).slice(0,7),F=qV&&qV[S];m1=F.call(qV,"timers").setImmediate}catch(x){m1=function(n){if(IG===!1){if(IG=!0,typeof MessageChannel==="undefined")Lu("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 Hu=new MessageChannel;Hu.port1.onmessage=n,Hu.port2.postMessage(void 0)}}return m1(v)}var E1=0,XZ=!1;function YZ(v){{var S=E1;if(E1++,i.current===null)i.current=[];var F=i.isBatchingLegacy,x;try{if(i.isBatchingLegacy=!0,x=v(),!F&&i.didScheduleLegacyUpdate){var n=i.current;if(n!==null)i.didScheduleLegacyUpdate=!1,FG(n)}}catch(v0){throw TE(S),v0}finally{i.isBatchingLegacy=F}if(x!==null&&typeof x==="object"&&typeof x.then==="function"){var Hu=x,Ju=!1,qu={then:function(v0,w0){Ju=!0,Hu.then(function(ru){if(TE(S),E1===0)jG(ru,v0,w0);else v0(ru)},function(ru){TE(S),w0(ru)})}};if(!XZ&&typeof Promise!=="undefined")Promise.resolve().then(function(){}).then(function(){if(!Ju)XZ=!0,Lu("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 qu}else{var hu=x;if(TE(S),E1===0){var eu=i.current;if(eu!==null)FG(eu),i.current=null;var J0={then:function(v0,w0){if(i.current===null)i.current=[],jG(hu,v0,w0);else v0(hu)}};return J0}else{var Z0={then:function(v0,w0){v0(hu)}};return Z0}}}}function TE(v){{if(v!==E1-1)Lu("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");E1=v}}function jG(v,S,F){{var x=i.current;if(x!==null)try{FG(x),VZ(function(){if(x.length===0)i.current=null,S(v);else jG(v,S,F)})}catch(n){F(n)}else S(v)}}var G1=!1;function FG(v){if(!G1){G1=!0;var S=0;try{for(;S<v.length;S++){var F=v[S];do F=F(!0);while(F!==null)}v.length=0}catch(x){throw v=v.slice(S+1),x}finally{G1=!1}}}var BZ=QZ,UZ=DE,vZ=kO,HZ={map:WD,forEach:n8,count:rE,toArray:TG,only:wG};if(I3.Children=HZ,I3.Component=d0,I3.Fragment=V,I3.Profiler=H,I3.PureComponent=p0,I3.StrictMode=X,I3.Suspense=w,I3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xu,I3.act=YZ,I3.cloneElement=UZ,I3.createContext=x1,I3.createElement=BZ,I3.createFactory=vZ,I3.createRef=vO,I3.forwardRef=h1,I3.isValidElement=Tu,I3.lazy=uE,I3.memo=L,I3.startTransition=J9,I3.unstable_act=YZ,I3.useCallback=U0,I3.useContext=s,I3.useDebugValue=fD,I3.useDeferredValue=q0,I3.useEffect=Cu,I3.useId=ju,I3.useImperativeHandle=KO,I3.useInsertionEffect=Nu,I3.useLayoutEffect=F0,I3.useMemo=K0,I3.useReducer=gu,I3.useRef=Ru,I3.useState=Uu,I3.useSyncExternalStore=zE,I3.useTransition=PD,I3.version=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var F4=j1((j3)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var E=!1,A=!1,J=5;function V(e,Yu){var Tu=e.length;e.push(Yu),K(e,Yu,Tu)}function X(e){return e.length===0?null:e[0]}function H(e){if(e.length===0)return null;var Yu=e[0],Tu=e.pop();if(Tu!==Yu)e[0]=Tu,M(e,Tu,0);return Yu}function K(e,Yu,Tu){var tu=Tu;while(tu>0){var A0=tu-1>>>1,b0=e[A0];if(z(b0,Yu)>0)e[A0]=Yu,e[tu]=b0,tu=A0;else return}}function M(e,Yu,Tu){var tu=Tu,A0=e.length,b0=A0>>>1;while(tu<b0){var B0=(tu+1)*2-1,WO=e[B0],lu=B0+1,su=e[lu];if(z(WO,Yu)<0)if(lu<A0&&z(su,WO)<0)e[tu]=su,e[lu]=Yu,tu=lu;else e[tu]=WO,e[B0]=Yu,tu=B0;else if(lu<A0&&z(su,Yu)<0)e[tu]=su,e[lu]=Yu,tu=lu;else return}}function z(e,Yu){var Tu=e.sortIndex-Yu.sortIndex;return Tu!==0?Tu:e.id-Yu.id}var w=1,j=2,P=3,m=4,t=5;function Gu(e,Yu){}var f=typeof performance==="object"&&typeof performance.now==="function";if(f){var h=performance;j3.unstable_now=function(){return h.now()}}else{var b=Date,d=b.now();j3.unstable_now=function(){return b.now()-d}}var i=1073741823,Au=-1,p=250,Ku=5000,wu=1e4,pu=i,Fu=[],V0=[],X0=1,bu=null,xu=P,M0=!1,Lu=!1,T0=!1,bO=typeof setTimeout==="function"?setTimeout:null,RO=typeof clearTimeout==="function"?clearTimeout:null,YD=typeof setImmediate!=="undefined"?setImmediate:null,n0=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function BO(e){var Yu=X(V0);while(Yu!==null){if(Yu.callback===null)H(V0);else if(Yu.startTime<=e)H(V0),Yu.sortIndex=Yu.expirationTime,V(Fu,Yu);else return;Yu=X(V0)}}function d0(e){if(T0=!1,BO(e),!Lu)if(X(Fu)!==null)Lu=!0,OO($O);else{var Yu=X(V0);if(Yu!==null)tD(d0,Yu.startTime-e)}}function $O(e,Yu){if(Lu=!1,T0)T0=!1,oD();M0=!0;var Tu=xu;try{if(A)try{return UO(e,Yu)}catch(A0){if(bu!==null){var tu=j3.unstable_now();Gu(bu,tu),bu.isQueued=!1}throw A0}else return UO(e,Yu)}finally{bu=null,xu=Tu,M0=!1}}function UO(e,Yu){var Tu=Yu;BO(Tu),bu=X(Fu);while(bu!==null&&!E){if(bu.expirationTime>Tu&&(!e||vD()))break;var tu=bu.callback;if(typeof tu==="function"){bu.callback=null,xu=bu.priorityLevel;var A0=bu.expirationTime<=Tu,b0=tu(A0);if(Tu=j3.unstable_now(),typeof b0==="function")bu.callback=b0;else if(bu===X(Fu))H(Fu);BO(Tu)}else H(Fu);bu=X(Fu)}if(bu!==null)return!0;else{var B0=X(V0);if(B0!==null)tD(d0,B0.startTime-Tu);return!1}}function xO(e,Yu){switch(e){case w:case j:case P:case m:case t:break;default:e=P}var Tu=xu;xu=e;try{return Yu()}finally{xu=Tu}}function jD(e){var Yu;switch(xu){case w:case j:case P:Yu=P;break;default:Yu=xu;break}var Tu=xu;xu=Yu;try{return e()}finally{xu=Tu}}function p0(e){var Yu=xu;return function(){var Tu=xu;xu=Yu;try{return e.apply(this,arguments)}finally{xu=Tu}}}function pO(e,Yu,Tu){var tu=j3.unstable_now(),A0;if(typeof Tu==="object"&&Tu!==null){var b0=Tu.delay;if(typeof b0==="number"&&b0>0)A0=tu+b0;else A0=tu}else A0=tu;var B0;switch(e){case w:B0=Au;break;case j:B0=p;break;case t:B0=pu;break;case m:B0=wu;break;case P:default:B0=Ku;break}var WO=A0+B0,lu={id:X0++,callback:Yu,priorityLevel:e,startTime:A0,expirationTime:WO,sortIndex:-1};if(A0>tu){if(lu.sortIndex=A0,V(V0,lu),X(Fu)===null&&lu===X(V0)){if(T0)oD();else T0=!0;tD(d0,A0-tu)}}else if(lu.sortIndex=WO,V(Fu,lu),!Lu&&!M0)Lu=!0,OO($O);return lu}function vO(){}function BD(){if(!Lu&&!M0)Lu=!0,OO($O)}function I0(){return X(Fu)}function sO(e){e.callback=null}function UD(){return xu}var P0=!1,S0=null,hO=-1,FD=J,s0=-1;function vD(){var e=j3.unstable_now()-s0;if(e<FD)return!1;return!0}function sE(){}function rO(e){if(e<0||e>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(e>0)FD=Math.floor(1000/e);else FD=J}var aO=function(){if(S0!==null){var e=j3.unstable_now();s0=e;var Yu=!0,Tu=!0;try{Tu=S0(Yu,e)}finally{if(Tu)C0();else P0=!1,S0=null}}else P0=!1},C0;if(typeof YD==="function")C0=function(){YD(aO)};else if(typeof MessageChannel!=="undefined"){var HD=new MessageChannel,HO=HD.port2;HD.port1.onmessage=aO,C0=function(){HO.postMessage(null)}}else C0=function(){bO(aO,0)};function OO(e){if(S0=e,!P0)P0=!0,C0()}function tD(e,Yu){hO=bO(function(){e(j3.unstable_now())},Yu)}function oD(){RO(hO),hO=-1}var ND=sE,tO=null;if(j3.unstable_IdlePriority=t,j3.unstable_ImmediatePriority=w,j3.unstable_LowPriority=m,j3.unstable_NormalPriority=P,j3.unstable_Profiling=tO,j3.unstable_UserBlockingPriority=j,j3.unstable_cancelCallback=sO,j3.unstable_continueExecution=BD,j3.unstable_forceFrameRate=rO,j3.unstable_getCurrentPriorityLevel=UD,j3.unstable_getFirstCallbackNode=I0,j3.unstable_next=jD,j3.unstable_pauseExecution=vO,j3.unstable_requestPaint=ND,j3.unstable_runWithPriority=xO,j3.unstable_scheduleCallback=pO,j3.unstable_shouldYield=vD,j3.unstable_wrapCallback=p0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var N4=j1((F3)=>{var xJ=Xu(yu(),1),E0=Xu(F4(),1);(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var E=xJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=!1;function J(u){A=u}function V(u){if(!A){for(var O=arguments.length,D=new Array(O>1?O-1:0),G=1;G<O;G++)D[G-1]=arguments[G];H("warn",u,D)}}function X(u){if(!A){for(var O=arguments.length,D=new Array(O>1?O-1:0),G=1;G<O;G++)D[G-1]=arguments[G];H("error",u,D)}}function H(u,O,D){{var G=E.ReactDebugCurrentFrame,Z=G.getStackAddendum();if(Z!=="")O+="%s",D=D.concat([Z]);var Q=D.map(function(Y){return String(Y)});Q.unshift("Warning: "+O),Function.prototype.apply.call(console[u],console,Q)}}var K=0,M=1,z=2,w=3,j=4,P=5,m=6,t=7,Gu=8,f=9,h=10,b=11,d=12,i=13,Au=14,p=15,Ku=16,wu=17,pu=18,Fu=19,V0=21,X0=22,bu=23,xu=24,M0=25,Lu=!0,T0=!1,bO=!1,RO=!1,YD=!1,n0=!0,BO=!1,d0=!0,$O=!0,UO=!0,xO=!0,jD=new Set,p0={},pO={};function vO(u,O){BD(u,O),BD(u+"Capture",O)}function BD(u,O){if(p0[u])X("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",u);p0[u]=O;{var D=u.toLowerCase();if(pO[D]=u,u==="onDoubleClick")pO.ondblclick=u}for(var G=0;G<O.length;G++)jD.add(O[G])}var I0=typeof window!=="undefined"&&typeof window.document!=="undefined"&&typeof window.document.createElement!=="undefined",sO=Object.prototype.hasOwnProperty;function UD(u){{var O=typeof Symbol==="function"&&Symbol.toStringTag,D=O&&u[Symbol.toStringTag]||u.constructor.name||"Object";return D}}function P0(u){try{return S0(u),!1}catch(O){return!0}}function S0(u){return""+u}function hO(u,O){if(P0(u))return X("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",O,UD(u)),S0(u)}function FD(u){if(P0(u))return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",UD(u)),S0(u)}function s0(u,O){if(P0(u))return X("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",O,UD(u)),S0(u)}function vD(u,O){if(P0(u))return X("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",O,UD(u)),S0(u)}function sE(u){if(P0(u))return X("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",UD(u)),S0(u)}function rO(u){if(P0(u))return X("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.",UD(u)),S0(u)}var aO=0,C0=1,HD=2,HO=3,OO=4,tD=5,oD=6,ND=":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",tO=ND+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",e=new RegExp("^["+ND+"]["+tO+"]*$"),Yu={},Tu={};function tu(u){if(sO.call(Tu,u))return!0;if(sO.call(Yu,u))return!1;if(e.test(u))return Tu[u]=!0,!0;return Yu[u]=!0,X("Invalid attribute name: `%s`",u),!1}function A0(u,O,D){if(O!==null)return O.type===aO;if(D)return!1;if(u.length>2&&(u[0]==="o"||u[0]==="O")&&(u[1]==="n"||u[1]==="N"))return!0;return!1}function b0(u,O,D,G){if(D!==null&&D.type===aO)return!1;switch(typeof O){case"function":case"symbol":return!0;case"boolean":{if(G)return!1;if(D!==null)return!D.acceptsBooleans;else{var Z=u.toLowerCase().slice(0,5);return Z!=="data-"&&Z!=="aria-"}}default:return!1}}function B0(u,O,D,G){if(O===null||typeof O==="undefined")return!0;if(b0(u,O,D,G))return!0;if(G)return!1;if(D!==null)switch(D.type){case HO:return!O;case OO:return O===!1;case tD:return isNaN(O);case oD:return isNaN(O)||O<1}return!1}function WO(u){return su.hasOwnProperty(u)?su[u]:null}function lu(u,O,D,G,Z,Q,Y){this.acceptsBooleans=O===HD||O===HO||O===OO,this.attributeName=G,this.attributeNamespace=Z,this.mustUseProperty=D,this.propertyName=u,this.type=O,this.sanitizeURL=Q,this.removeEmptyString=Y}var su={},LE=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];LE.forEach(function(u){su[u]=new lu(u,aO,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var O=u[0],D=u[1];su[O]=new lu(O,C0,!1,D,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){su[u]=new lu(u,HD,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){su[u]=new lu(u,HD,!1,u,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(u){su[u]=new lu(u,HO,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){su[u]=new lu(u,HO,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){su[u]=new lu(u,OO,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){su[u]=new lu(u,oD,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){su[u]=new lu(u,tD,!1,u.toLowerCase(),null,!1,!1)});var WD=/[\-\:]([a-z])/g,rE=function(u){return u[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(u){var O=u.replace(WD,rE);su[O]=new lu(O,C0,!1,u,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(u){var O=u.replace(WD,rE);su[O]=new lu(O,C0,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var O=u.replace(WD,rE);su[O]=new lu(O,C0,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){su[u]=new lu(u,C0,!1,u.toLowerCase(),null,!1,!1)});var n8="xlinkHref";su[n8]=new lu("xlinkHref",C0,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){su[u]=new lu(u,C0,!1,u.toLowerCase(),null,!0,!0)});var TG=/^[\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,wG=!1;function x1(u){if(!wG&&TG.test(u))wG=!0,X("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(u))}function eD(u,O,D,G){if(G.mustUseProperty){var Z=G.propertyName;return u[Z]}else{if(hO(D,O),G.sanitizeURL)x1(""+D);var Q=G.attributeName,Y=null;if(G.type===OO){if(u.hasAttribute(Q)){var B=u.getAttribute(Q);if(B==="")return!0;if(B0(O,D,G,!1))return B;if(B===""+D)return D;return B}}else if(u.hasAttribute(Q)){if(B0(O,D,G,!1))return u.getAttribute(Q);if(G.type===HO)return D;Y=u.getAttribute(Q)}if(B0(O,D,G,!1))return Y===null?D:Y;else if(Y===""+D)return D;else return Y}}function aE(u,O,D,G){{if(!tu(O))return;if(!u.hasAttribute(O))return D===void 0?void 0:null;var Z=u.getAttribute(O);if(hO(D,O),Z===""+D)return D;return Z}}function tE(u,O,D,G){var Z=WO(O);if(A0(O,Z,G))return;if(B0(O,D,Z,G))D=null;if(G||Z===null){if(tu(O)){var Q=O;if(D===null)u.removeAttribute(Q);else hO(D,O),u.setAttribute(Q,""+D)}return}var Y=Z.mustUseProperty;if(Y){var B=Z.propertyName;if(D===null){var U=Z.type;u[B]=U===HO?!1:""}else u[B]=D;return}var{attributeName:W,attributeNamespace:q}=Z;if(D===null)u.removeAttribute(W);else{var R=Z.type,T;if(R===HO||R===OO&&D===!0)T="";else if(hO(D,W),T=""+D,Z.sanitizeURL)x1(T.toString());if(q)u.setAttributeNS(q,W,T);else u.setAttribute(W,T)}}var gD=Symbol.for("react.element"),KD=Symbol.for("react.portal"),uE=Symbol.for("react.fragment"),h1=Symbol.for("react.strict_mode"),k1=Symbol.for("react.profiler"),oE=Symbol.for("react.provider"),L=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),Uu=Symbol.for("react.suspense_list"),gu=Symbol.for("react.memo"),Ru=Symbol.for("react.lazy"),Cu=Symbol.for("react.scope"),Nu=Symbol.for("react.debug_trace_mode"),F0=Symbol.for("react.offscreen"),U0=Symbol.for("react.legacy_hidden"),K0=Symbol.for("react.cache"),KO=Symbol.for("react.tracing_marker"),fD=Symbol.iterator,PD="@@iterator";function q0(u){if(u===null||typeof u!=="object")return null;var O=fD&&u[fD]||u[PD];if(typeof O==="function")return O;return null}var ju=Object.assign,zE=0,OE,d8,p8,s8,r8,a8,t8;function o8(){}o8.__reactDisabledLog=!0;function OZ(){{if(zE===0){OE=console.log,d8=console.info,p8=console.warn,s8=console.error,r8=console.group,a8=console.groupCollapsed,t8=console.groupEnd;var u={configurable:!0,enumerable:!0,value:o8,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}zE++}}function G9(){{if(zE--,zE===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ju({},u,{value:OE}),info:ju({},u,{value:d8}),warn:ju({},u,{value:p8}),error:ju({},u,{value:s8}),group:ju({},u,{value:r8}),groupCollapsed:ju({},u,{value:a8}),groupEnd:ju({},u,{value:t8})})}if(zE<0)X("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var e8=E.ReactCurrentDispatcher,_1;function qD(u,O,D){{if(_1===void 0)try{throw Error()}catch(Z){var G=Z.stack.trim().match(/\n( *(at )?)/);_1=G&&G[1]||""}return`
`+_1+u}}var eE=!1,u1;{var RG=typeof WeakMap==="function"?WeakMap:Map;u1=new RG}function uA(u,O){if(!u||eE)return"";{var D=u1.get(u);if(D!==void 0)return D}var G;eE=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Q;Q=e8.current,e8.current=null,OZ();try{if(O){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(g){G=g}Reflect.construct(u,[],Y)}else{try{Y.call()}catch(g){G=g}u.call(Y.prototype)}}else{try{throw Error()}catch(g){G=g}u()}}catch(g){if(g&&G&&typeof g.stack==="string"){var B=g.stack.split(`
`),U=G.stack.split(`
`),W=B.length-1,q=U.length-1;while(W>=1&&q>=0&&B[W]!==U[q])q--;for(;W>=1&&q>=0;W--,q--)if(B[W]!==U[q]){if(W!==1||q!==1)do if(W--,q--,q<0||B[W]!==U[q]){var R=`
`+B[W].replace(" at new "," at ");if(u.displayName&&R.includes("<anonymous>"))R=R.replace("<anonymous>",u.displayName);if(typeof u==="function")u1.set(u,R);return R}while(W>=1&&q>=0);break}}}finally{eE=!1,e8.current=Q,G9(),Error.prepareStackTrace=Z}var T=u?u.displayName||u.name:"",N=T?qD(T):"";if(typeof u==="function")u1.set(u,N);return N}function DZ(u,O,D){return uA(u,!0)}function OA(u,O,D){return uA(u,!1)}function A9(u){var O=u.prototype;return!!(O&&O.isReactComponent)}function O1(u,O,D){if(u==null)return"";if(typeof u==="function")return uA(u,A9(u));if(typeof u==="string")return qD(u);switch(u){case s:return qD("Suspense");case Uu:return qD("SuspenseList")}if(typeof u==="object")switch(u.$$typeof){case _:return OA(u.render);case gu:return O1(u.type,O,D);case Ru:{var G=u,Z=G._payload,Q=G._init;try{return O1(Q(Z),O,D)}catch(Y){}}}return""}function EZ(u){var O=u._debugOwner?u._debugOwner.type:null,D=u._debugSource;switch(u.tag){case P:return qD(u.type);case Ku:return qD("Lazy");case i:return qD("Suspense");case Fu:return qD("SuspenseList");case K:case z:case p:return OA(u.type);case b:return OA(u.type.render);case M:return DZ(u.type);default:return""}}function DA(u){try{var O="",D=u;do O+=EZ(D),D=D.return;while(D);return O}catch(G){return`
Error generating stack: `+G.message+`
`+G.stack}}function $G(u,O,D){var G=u.displayName;if(G)return G;var Z=O.displayName||O.name||"";return Z!==""?D+"("+Z+")":D}function GZ(u){return u.displayName||"Context"}function iu(u){if(u==null)return null;if(typeof u.tag==="number")X("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 uE:return"Fragment";case KD:return"Portal";case k1:return"Profiler";case h1:return"StrictMode";case s:return"Suspense";case Uu:return"SuspenseList"}if(typeof u==="object")switch(u.$$typeof){case L:var O=u;return GZ(O)+".Consumer";case oE:var D=u;return GZ(D._context)+".Provider";case _:return $G(u,u.render,"ForwardRef");case gu:var G=u.displayName||null;if(G!==null)return G;return iu(u.type)||"Memo";case Ru:{var Z=u,Q=Z._payload,Y=Z._init;try{return iu(Y(Q))}catch(B){return null}}}return null}function AZ(u,O,D){var G=O.displayName||O.name||"";return u.displayName||(G!==""?D+"("+G+")":D)}function EA(u){return u.displayName||"Context"}function $u(u){var{tag:O,type:D}=u;switch(O){case xu:return"Cache";case f:var G=D;return EA(G)+".Consumer";case h:var Z=D;return EA(Z._context)+".Provider";case pu:return"DehydratedFragment";case b:return AZ(D,D.render,"ForwardRef");case t:return"Fragment";case P:return D;case j:return"Portal";case w:return"Root";case m:return"Text";case Ku:return iu(D);case Gu:if(D===h1)return"StrictMode";return"Mode";case X0:return"Offscreen";case d:return"Profiler";case V0:return"Scope";case i:return"Suspense";case Fu:return"SuspenseList";case M0:return"TracingMarker";case M:case K:case wu:case z:case Au:case p:if(typeof D==="function")return D.displayName||D.name||null;if(typeof D==="string")return D;break}return null}var JZ=E.ReactDebugCurrentFrame,qO=null,y1=!1;function D1(){{if(qO===null)return null;var u=qO._debugOwner;if(u!==null&&typeof u!=="undefined")return $u(u)}return null}function ZZ(){{if(qO===null)return"";return DA(qO)}}function r0(){JZ.getCurrentStack=null,qO=null,y1=!1}function L0(u){JZ.getCurrentStack=u===null?null:ZZ,qO=u,y1=!1}function QZ(){return qO}function oO(u){y1=u}function kO(u){return""+u}function DE(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return rO(u),u;default:return""}}var J9={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function IG(u,O){{if(!(J9[O.type]||O.onChange||O.onInput||O.readOnly||O.disabled||O.value==null))X("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(!(O.onChange||O.readOnly||O.disabled||O.checked==null))X("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 m1(u){var{type:O,nodeName:D}=u;return D&&D.toLowerCase()==="input"&&(O==="checkbox"||O==="radio")}function VZ(u){return u._valueTracker}function E1(u){u._valueTracker=null}function XZ(u){var O="";if(!u)return O;if(m1(u))O=u.checked?"true":"false";else O=u.value;return O}function YZ(u){var O=m1(u)?"checked":"value",D=Object.getOwnPropertyDescriptor(u.constructor.prototype,O);rO(u[O]);var G=""+u[O];if(u.hasOwnProperty(O)||typeof D==="undefined"||typeof D.get!=="function"||typeof D.set!=="function")return;var{get:Z,set:Q}=D;Object.defineProperty(u,O,{configurable:!0,get:function(){return Z.call(this)},set:function(B){rO(B),G=""+B,Q.call(this,B)}}),Object.defineProperty(u,O,{enumerable:D.enumerable});var Y={getValue:function(){return G},setValue:function(B){rO(B),G=""+B},stopTracking:function(){E1(u),delete u[O]}};return Y}function TE(u){if(VZ(u))return;u._valueTracker=YZ(u)}function jG(u){if(!u)return!1;var O=VZ(u);if(!O)return!0;var D=O.getValue(),G=XZ(u);if(G!==D)return O.setValue(G),!0;return!1}function G1(u){if(u=u||(typeof document!=="undefined"?document:void 0),typeof u==="undefined")return null;try{return u.activeElement||u.body}catch(O){return u.body}}var FG=!1,BZ=!1,UZ=!1,vZ=!1;function HZ(u){var O=u.type==="checkbox"||u.type==="radio";return O?u.checked!=null:u.value!=null}function v(u,O){var D=u,G=O.checked,Z=ju({},O,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:G!=null?G:D._wrapperState.initialChecked});return Z}function S(u,O){{if(IG("input",O),O.checked!==void 0&&O.defaultChecked!==void 0&&!BZ)X("%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",D1()||"A component",O.type),BZ=!0;if(O.value!==void 0&&O.defaultValue!==void 0&&!FG)X("%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",D1()||"A component",O.type),FG=!0}var D=u,G=O.defaultValue==null?"":O.defaultValue;D._wrapperState={initialChecked:O.checked!=null?O.checked:O.defaultChecked,initialValue:DE(O.value!=null?O.value:G),controlled:HZ(O)}}function F(u,O){var D=u,G=O.checked;if(G!=null)tE(D,"checked",G,!1)}function x(u,O){var D=u;{var G=HZ(O);if(!D._wrapperState.controlled&&G&&!vZ)X("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"),vZ=!0;if(D._wrapperState.controlled&&!G&&!UZ)X("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"),UZ=!0}F(u,O);var Z=DE(O.value),Q=O.type;if(Z!=null){if(Q==="number"){if(Z===0&&D.value===""||D.value!=Z)D.value=kO(Z)}else if(D.value!==kO(Z))D.value=kO(Z)}else if(Q==="submit"||Q==="reset"){D.removeAttribute("value");return}if(O.hasOwnProperty("value"))qu(D,O.type,Z);else if(O.hasOwnProperty("defaultValue"))qu(D,O.type,DE(O.defaultValue));if(O.checked==null&&O.defaultChecked!=null)D.defaultChecked=!!O.defaultChecked}function n(u,O,D){var G=u;if(O.hasOwnProperty("value")||O.hasOwnProperty("defaultValue")){var Z=O.type,Q=Z==="submit"||Z==="reset";if(Q&&(O.value===void 0||O.value===null))return;var Y=kO(G._wrapperState.initialValue);if(!D){if(Y!==G.value)G.value=Y}G.defaultValue=Y}var B=G.name;if(B!=="")G.name="";if(G.defaultChecked=!G.defaultChecked,G.defaultChecked=!!G._wrapperState.initialChecked,B!=="")G.name=B}function Hu(u,O){var D=u;x(D,O),Ju(D,O)}function Ju(u,O){var D=O.name;if(O.type==="radio"&&D!=null){var G=u;while(G.parentNode)G=G.parentNode;hO(D,"name");var Z=G.querySelectorAll("input[name="+JSON.stringify(""+D)+'][type="radio"]');for(var Q=0;Q<Z.length;Q++){var Y=Z[Q];if(Y===u||Y.form!==u.form)continue;var B=DQ(Y);if(!B)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");jG(Y),x(Y,B)}}}function qu(u,O,D){if(O!=="number"||G1(u.ownerDocument)!==u){if(D==null)u.defaultValue=kO(u._wrapperState.initialValue);else if(u.defaultValue!==kO(D))u.defaultValue=kO(D)}}var hu=!1,eu=!1,J0=!1;function Z0(u,O){{if(O.value==null){if(typeof O.children==="object"&&O.children!==null)xJ.Children.forEach(O.children,function(D){if(D==null)return;if(typeof D==="string"||typeof D==="number")return;if(!eu)eu=!0,X("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")});else if(O.dangerouslySetInnerHTML!=null){if(!J0)J0=!0,X("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")}}if(O.selected!=null&&!hu)X("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),hu=!0}}function v0(u,O){if(O.value!=null)u.setAttribute("value",kO(DE(O.value)))}var w0=Array.isArray;function ru(u){return w0(u)}var l1=!1;function NG(){var u=D1();if(u)return`
Check the render method of \``+u+"`.";return""}var GA=["value","defaultValue"];function Z9(u){{IG("select",u);for(var O=0;O<GA.length;O++){var D=GA[O];if(u[D]==null)continue;var G=ru(u[D]);if(u.multiple&&!G)X("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",D,NG());else if(!u.multiple&&G)X("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",D,NG())}}}function wE(u,O,D,G){var Z=u.options;if(O){var Q=D,Y={};for(var B=0;B<Q.length;B++)Y["$"+Q[B]]=!0;for(var U=0;U<Z.length;U++){var W=Y.hasOwnProperty("$"+Z[U].value);if(Z[U].selected!==W)Z[U].selected=W;if(W&&G)Z[U].defaultSelected=!0}}else{var q=kO(DE(D)),R=null;for(var T=0;T<Z.length;T++){if(Z[T].value===q){if(Z[T].selected=!0,G)Z[T].defaultSelected=!0;return}if(R===null&&!Z[T].disabled)R=Z[T]}if(R!==null)R.selected=!0}}function AA(u,O){return ju({},O,{value:void 0})}function JA(u,O){var D=u;if(Z9(O),D._wrapperState={wasMultiple:!!O.multiple},O.value!==void 0&&O.defaultValue!==void 0&&!l1)X("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"),l1=!0}function Q9(u,O){var D=u;D.multiple=!!O.multiple;var G=O.value;if(G!=null)wE(D,!!O.multiple,G,!1);else if(O.defaultValue!=null)wE(D,!!O.multiple,O.defaultValue,!0)}function Eq(u,O){var D=u,G=D._wrapperState.wasMultiple;D._wrapperState.wasMultiple=!!O.multiple;var Z=O.value;if(Z!=null)wE(D,!!O.multiple,Z,!1);else if(G!==!!O.multiple)if(O.defaultValue!=null)wE(D,!!O.multiple,O.defaultValue,!0);else wE(D,!!O.multiple,O.multiple?[]:"",!1)}function Gq(u,O){var D=u,G=O.value;if(G!=null)wE(D,!!O.multiple,G,!1)}var M7=!1;function V9(u,O){var D=u;if(O.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var G=ju({},O,{value:void 0,defaultValue:void 0,children:kO(D._wrapperState.initialValue)});return G}function S7(u,O){var D=u;if(IG("textarea",O),O.value!==void 0&&O.defaultValue!==void 0&&!M7)X("%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",D1()||"A component"),M7=!0;var G=O.value;if(G==null){var{children:Z,defaultValue:Q}=O;if(Z!=null){X("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(Q!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ru(Z)){if(Z.length>1)throw new Error("<textarea> can only have at most one child.");Z=Z[0]}Q=Z}}if(Q==null)Q="";G=Q}D._wrapperState={initialValue:DE(G)}}function L7(u,O){var D=u,G=DE(O.value),Z=DE(O.defaultValue);if(G!=null){var Q=kO(G);if(Q!==D.value)D.value=Q;if(O.defaultValue==null&&D.defaultValue!==Q)D.defaultValue=Q}if(Z!=null)D.defaultValue=kO(Z)}function z7(u,O){var D=u,G=D.textContent;if(G===D._wrapperState.initialValue){if(G!==""&&G!==null)D.value=G}}function Aq(u,O){L7(u,O)}var RE="http://www.w3.org/1999/xhtml",Jq="http://www.w3.org/1998/Math/MathML",X9="http://www.w3.org/2000/svg";function Y9(u){switch(u){case"svg":return X9;case"math":return Jq;default:return RE}}function B9(u,O){if(u==null||u===RE)return Y9(O);if(u===X9&&O==="foreignObject")return RE;return u}var Zq=function(u){if(typeof MSApp!=="undefined"&&MSApp.execUnsafeLocalFunction)return function(O,D,G,Z){MSApp.execUnsafeLocalFunction(function(){return u(O,D,G,Z)})};else return u},WZ,T7=Zq(function(u,O){if(u.namespaceURI===X9){if(!("innerHTML"in u)){WZ=WZ||document.createElement("div"),WZ.innerHTML="<svg>"+O.valueOf().toString()+"</svg>";var D=WZ.firstChild;while(u.firstChild)u.removeChild(u.firstChild);while(D.firstChild)u.appendChild(D.firstChild);return}}u.innerHTML=O}),_O=1,$E=3,N0=8,IE=9,U9=11,KZ=function(u,O){if(O){var D=u.firstChild;if(D&&D===u.lastChild&&D.nodeType===$E){D.nodeValue=O;return}}u.textContent=O},Qq={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"]},ZA={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 Vq(u,O){return u+O.charAt(0).toUpperCase()+O.substring(1)}var Xq=["Webkit","ms","Moz","O"];Object.keys(ZA).forEach(function(u){Xq.forEach(function(O){ZA[Vq(O,u)]=ZA[u]})});function v9(u,O,D){var G=O==null||typeof O==="boolean"||O==="";if(G)return"";if(!D&&typeof O==="number"&&O!==0&&!(ZA.hasOwnProperty(u)&&ZA[u]))return O+"px";return vD(O,u),(""+O).trim()}var Yq=/([A-Z])/g,Bq=/^ms-/;function Uq(u){return u.replace(Yq,"-$1").toLowerCase().replace(Bq,"-ms-")}var w7=function(){};{var vq=/^(?:webkit|moz|o)[A-Z]/,Hq=/^-ms-/,Wq=/-(.)/g,R7=/;\s*$/,gG={},H9={},$7=!1,I7=!1,Kq=function(u){return u.replace(Wq,function(O,D){return D.toUpperCase()})},qq=function(u){if(gG.hasOwnProperty(u)&&gG[u])return;gG[u]=!0,X("Unsupported style property %s. Did you mean %s?",u,Kq(u.replace(Hq,"ms-")))},Mq=function(u){if(gG.hasOwnProperty(u)&&gG[u])return;gG[u]=!0,X("Unsupported vendor-prefixed style property %s. Did you mean %s?",u,u.charAt(0).toUpperCase()+u.slice(1))},Sq=function(u,O){if(H9.hasOwnProperty(O)&&H9[O])return;H9[O]=!0,X(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,u,O.replace(R7,""))},Lq=function(u,O){if($7)return;$7=!0,X("`NaN` is an invalid value for the `%s` css style property.",u)},zq=function(u,O){if(I7)return;I7=!0,X("`Infinity` is an invalid value for the `%s` css style property.",u)};w7=function(u,O){if(u.indexOf("-")>-1)qq(u);else if(vq.test(u))Mq(u);else if(R7.test(O))Sq(u,O);if(typeof O==="number"){if(isNaN(O))Lq(u,O);else if(!isFinite(O))zq(u,O)}}}var Tq=w7;function wq(u){{var O="",D="";for(var G in u){if(!u.hasOwnProperty(G))continue;var Z=u[G];if(Z!=null){var Q=G.indexOf("--")===0;O+=D+(Q?G:Uq(G))+":",O+=v9(G,Z,Q),D=";"}}return O||null}}function j7(u,O){var D=u.style;for(var G in O){if(!O.hasOwnProperty(G))continue;var Z=G.indexOf("--")===0;if(!Z)Tq(G,O[G]);var Q=v9(G,O[G],Z);if(G==="float")G="cssFloat";if(Z)D.setProperty(G,Q);else D[G]=Q}}function Rq(u){return u==null||typeof u==="boolean"||u===""}function F7(u){var O={};for(var D in u){var G=Qq[D]||[D];for(var Z=0;Z<G.length;Z++)O[G[Z]]=D}return O}function $q(u,O){{if(!O)return;var D=F7(u),G=F7(O),Z={};for(var Q in D){var Y=D[Q],B=G[Q];if(B&&Y!==B){var U=Y+","+B;if(Z[U])continue;Z[U]=!0,X("%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.",Rq(u[Y])?"Removing":"Updating",Y,B)}}}}var Iq={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},jq=ju({menuitem:!0},Iq),Fq="__html";function W9(u,O){if(!O)return;if(jq[u]){if(O.children!=null||O.dangerouslySetInnerHTML!=null)throw new Error(u+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.")}if(O.dangerouslySetInnerHTML!=null){if(O.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof O.dangerouslySetInnerHTML!=="object"||!(Fq in O.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(!O.suppressContentEditableWarning&&O.contentEditable&&O.children!=null)X("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(O.style!=null&&typeof O.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 c1(u,O){if(u.indexOf("-")===-1)return typeof O.is==="string";switch(u){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 qZ={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"},N7={"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},fG={},Nq=new RegExp("^(aria)-["+tO+"]*$"),gq=new RegExp("^(aria)[A-Z]["+tO+"]*$");function fq(u,O){{if(sO.call(fG,O)&&fG[O])return!0;if(gq.test(O)){var D="aria-"+O.slice(4).toLowerCase(),G=N7.hasOwnProperty(D)?D:null;if(G==null)return X("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",O),fG[O]=!0,!0;if(O!==G)return X("Invalid ARIA attribute `%s`. Did you mean `%s`?",O,G),fG[O]=!0,!0}if(Nq.test(O)){var Z=O.toLowerCase(),Q=N7.hasOwnProperty(Z)?Z:null;if(Q==null)return fG[O]=!0,!1;if(O!==Q)return X("Unknown ARIA attribute `%s`. Did you mean `%s`?",O,Q),fG[O]=!0,!0}}return!0}function Pq(u,O){{var D=[];for(var G in O){var Z=fq(u,G);if(!Z)D.push(G)}var Q=D.map(function(Y){return"`"+Y+"`"}).join(", ");if(D.length===1)X("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Q,u);else if(D.length>1)X("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Q,u)}}function Cq(u,O){if(c1(u,O))return;Pq(u,O)}var g7=!1;function bq(u,O){{if(u!=="input"&&u!=="textarea"&&u!=="select")return;if(O!=null&&O.value===null&&!g7)if(g7=!0,u==="select"&&O.multiple)X("`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.",u);else X("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",u)}}var f7=function(){};{var IO={},P7=/^on./,xq=/^on[^A-Z]/,hq=new RegExp("^(aria)-["+tO+"]*$"),kq=new RegExp("^(aria)[A-Z]["+tO+"]*$");f7=function(u,O,D,G){if(sO.call(IO,O)&&IO[O])return!0;var Z=O.toLowerCase();if(Z==="onfocusin"||Z==="onfocusout")return X("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."),IO[O]=!0,!0;if(G!=null){var{registrationNameDependencies:Q,possibleRegistrationNames:Y}=G;if(Q.hasOwnProperty(O))return!0;var B=Y.hasOwnProperty(Z)?Y[Z]:null;if(B!=null)return X("Invalid event handler property `%s`. Did you mean `%s`?",O,B),IO[O]=!0,!0;if(P7.test(O))return X("Unknown event handler property `%s`. It will be ignored.",O),IO[O]=!0,!0}else if(P7.test(O)){if(xq.test(O))X("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",O);return IO[O]=!0,!0}if(hq.test(O)||kq.test(O))return!0;if(Z==="innerhtml")return X("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),IO[O]=!0,!0;if(Z==="aria")return X("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),IO[O]=!0,!0;if(Z==="is"&&D!==null&&D!==void 0&&typeof D!=="string")return X("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof D),IO[O]=!0,!0;if(typeof D==="number"&&isNaN(D))return X("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",O),IO[O]=!0,!0;var U=WO(O),W=U!==null&&U.type===aO;if(qZ.hasOwnProperty(Z)){var q=qZ[Z];if(q!==O)return X("Invalid DOM property `%s`. Did you mean `%s`?",O,q),IO[O]=!0,!0}else if(!W&&O!==Z)return X("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.",O,Z),IO[O]=!0,!0;if(typeof D==="boolean"&&b0(O,D,U,!1)){if(D)X('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()}.',D,O,O,D,O);else X('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.',D,O,O,D,O,O,O);return IO[O]=!0,!0}if(W)return!0;if(b0(O,D,U,!1))return IO[O]=!0,!1;if((D==="false"||D==="true")&&U!==null&&U.type===HO)return X("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",D,O,D==="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".',O,D),IO[O]=!0,!0;return!0}}var _q=function(u,O,D){{var G=[];for(var Z in O){var Q=f7(u,Z,O[Z],D);if(!Q)G.push(Z)}var Y=G.map(function(B){return"`"+B+"`"}).join(", ");if(G.length===1)X("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 ",Y,u);else if(G.length>1)X("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 ",Y,u)}};function yq(u,O,D){if(c1(u,O))return;_q(u,O,D)}var C7=1,K9=2,QA=4,mq=C7|K9|QA,VA=null;function lq(u){if(VA!==null)X("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.");VA=u}function cq(){if(VA===null)X("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.");VA=null}function iq(u){return u===VA}function q9(u){var O=u.target||u.srcElement||window;if(O.correspondingUseElement)O=O.correspondingUseElement;return O.nodeType===$E?O.parentNode:O}var M9=null,PG=null,CG=null;function b7(u){var O=B1(u);if(!O)return;if(typeof M9!=="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 D=O.stateNode;if(D){var G=DQ(D);M9(O.stateNode,O.type,G)}}function nq(u){M9=u}function x7(u){if(PG)if(CG)CG.push(u);else CG=[u];else PG=u}function dq(){return PG!==null||CG!==null}function h7(){if(!PG)return;var u=PG,O=CG;if(PG=null,CG=null,b7(u),O)for(var D=0;D<O.length;D++)b7(O[D])}var k7=function(u,O){return u(O)},_7=function(){},S9=!1;function pq(){var u=dq();if(u)_7(),h7()}function y7(u,O,D){if(S9)return u(O,D);S9=!0;try{return k7(u,O,D)}finally{S9=!1,pq()}}function sq(u,O,D){k7=u,_7=D}function rq(u){return u==="button"||u==="input"||u==="select"||u==="textarea"}function aq(u,O,D){switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(D.disabled&&rq(O));default:return!1}}function XA(u,O){var D=u.stateNode;if(D===null)return null;var G=DQ(D);if(G===null)return null;var Z=G[O];if(aq(O,u.type,G))return null;if(Z&&typeof Z!=="function")throw new Error("Expected `"+O+"` listener to be a function, instead got a value of `"+typeof Z+"` type.");return Z}var L9=!1;if(I0)try{var YA={};Object.defineProperty(YA,"passive",{get:function(){L9=!0}}),window.addEventListener("test",YA,YA),window.removeEventListener("test",YA,YA)}catch(u){L9=!1}function m7(u,O,D,G,Z,Q,Y,B,U){var W=Array.prototype.slice.call(arguments,3);try{O.apply(D,W)}catch(q){this.onError(q)}}var l7=m7;if(typeof window!=="undefined"&&typeof window.dispatchEvent==="function"&&typeof document!=="undefined"&&typeof document.createEvent==="function"){var z9=document.createElement("react");l7=function u(O,D,G,Z,Q,Y,B,U,W){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 q=document.createEvent("Event"),R=!1,T=!0,N=window.event,g=Object.getOwnPropertyDescriptor(window,"event");function C(){if(z9.removeEventListener(k,Qu,!1),typeof window.event!=="undefined"&&window.hasOwnProperty("event"))window.event=N}var a=Array.prototype.slice.call(arguments,3);function Qu(){R=!0,C(),D.apply(G,a),T=!1}var Zu,fu=!1,Pu=!1;function $(I){if(Zu=I.error,fu=!0,Zu===null&&I.colno===0&&I.lineno===0)Pu=!0;if(I.defaultPrevented){if(Zu!=null&&typeof Zu==="object")try{Zu._suppressLogging=!0}catch(c){}}}var k="react-"+(O?O:"invokeguardedcallback");if(window.addEventListener("error",$),z9.addEventListener(k,Qu,!1),q.initEvent(k,!1,!1),z9.dispatchEvent(q),g)Object.defineProperty(window,"event",g);if(R&&T){if(!fu)Zu=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(Pu)Zu=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(Zu)}if(window.removeEventListener("error",$),!R)return C(),m7.apply(this,arguments)}}var tq=l7,bG=!1,MZ=null,SZ=!1,T9=null,oq={onError:function(u){bG=!0,MZ=u}};function w9(u,O,D,G,Z,Q,Y,B,U){bG=!1,MZ=null,tq.apply(oq,arguments)}function eq(u,O,D,G,Z,Q,Y,B,U){if(w9.apply(this,arguments),bG){var W=R9();if(!SZ)SZ=!0,T9=W}}function uM(){if(SZ){var u=T9;throw SZ=!1,T9=null,u}}function OM(){return bG}function R9(){if(bG){var u=MZ;return bG=!1,MZ=null,u}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 xG(u){return u._reactInternals}function DM(u){return u._reactInternals!==void 0}function EM(u,O){u._reactInternals=O}var vu=0,hG=1,g0=2,cu=4,i1=16,BA=32,$9=64,au=128,jE=256,A1=512,n1=1024,CD=2048,FE=4096,d1=8192,LZ=16384,GM=CD|cu|$9|A1|n1|LZ,AM=32767,UA=32768,jO=65536,I9=131072,c7=1048576,j9=2097152,p1=4194304,F9=8388608,NE=16777216,zZ=33554432,N9=cu|n1|0,g9=g0|cu|i1|BA|A1|FE|d1,vA=cu|$9|A1|d1,kG=CD|i1,gE=p1|F9|j9,JM=E.ReactCurrentOwner;function s1(u){var O=u,D=u;if(!u.alternate){var G=O;do{if(O=G,(O.flags&(g0|FE))!==vu)D=O.return;G=O.return}while(G)}else while(O.return)O=O.return;if(O.tag===w)return D;return null}function i7(u){if(u.tag===i){var O=u.memoizedState;if(O===null){var D=u.alternate;if(D!==null)O=D.memoizedState}if(O!==null)return O.dehydrated}return null}function n7(u){return u.tag===w?u.stateNode.containerInfo:null}function ZM(u){return s1(u)===u}function QM(u){{var O=JM.current;if(O!==null&&O.tag===M){var D=O,G=D.stateNode;if(!G._warnedAboutRefsInRender)X("%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.",$u(D)||"A component");G._warnedAboutRefsInRender=!0}}var Z=xG(u);if(!Z)return!1;return s1(Z)===Z}function d7(u){if(s1(u)!==u)throw new Error("Unable to find node on an unmounted component.")}function p7(u){var O=u.alternate;if(!O){var D=s1(u);if(D===null)throw new Error("Unable to find node on an unmounted component.");if(D!==u)return null;return u}var G=u,Z=O;while(!0){var Q=G.return;if(Q===null)break;var Y=Q.alternate;if(Y===null){var B=Q.return;if(B!==null){G=Z=B;continue}break}if(Q.child===Y.child){var U=Q.child;while(U){if(U===G)return d7(Q),u;if(U===Z)return d7(Q),O;U=U.sibling}throw new Error("Unable to find node on an unmounted component.")}if(G.return!==Z.return)G=Q,Z=Y;else{var W=!1,q=Q.child;while(q){if(q===G){W=!0,G=Q,Z=Y;break}if(q===Z){W=!0,Z=Q,G=Y;break}q=q.sibling}if(!W){q=Y.child;while(q){if(q===G){W=!0,G=Y,Z=Q;break}if(q===Z){W=!0,Z=Y,G=Q;break}q=q.sibling}if(!W)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!==Z)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!==w)throw new Error("Unable to find node on an unmounted component.");if(G.stateNode.current===G)return u;return O}function s7(u){var O=p7(u);return O!==null?r7(O):null}function r7(u){if(u.tag===P||u.tag===m)return u;var O=u.child;while(O!==null){var D=r7(O);if(D!==null)return D;O=O.sibling}return null}function VM(u){var O=p7(u);return O!==null?a7(O):null}function a7(u){if(u.tag===P||u.tag===m)return u;var O=u.child;while(O!==null){if(O.tag!==j){var D=a7(O);if(D!==null)return D}O=O.sibling}return null}var t7=E0.unstable_scheduleCallback,XM=E0.unstable_cancelCallback,YM=E0.unstable_shouldYield,BM=E0.unstable_requestPaint,a0=E0.unstable_now,UM=E0.unstable_getCurrentPriorityLevel,TZ=E0.unstable_ImmediatePriority,f9=E0.unstable_UserBlockingPriority,r1=E0.unstable_NormalPriority,vM=E0.unstable_LowPriority,P9=E0.unstable_IdlePriority,HM=E0.unstable_yieldValue,WM=E0.unstable_setDisableYieldValue,a1=null,DO=null,uu=null,EE=!1,bD=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined";function KM(u){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined")return!1;var O=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(O.isDisabled)return!0;if(!O.supportsFiber)return X("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($O)u=ju({},u,{getLaneLabelMap:TM,injectProfilingHooks:zM});a1=O.inject(u),DO=O}catch(D){X("React instrumentation encountered an error: %s.",D)}if(O.checkDCE)return!0;else return!1}function qM(u,O){if(DO&&typeof DO.onScheduleFiberRoot==="function")try{DO.onScheduleFiberRoot(a1,u,O)}catch(D){if(!EE)EE=!0,X("React instrumentation encountered an error: %s",D)}}function MM(u,O){if(DO&&typeof DO.onCommitFiberRoot==="function")try{var D=(u.current.flags&au)===au;if(UO){var G;switch(O){case OD:G=TZ;break;case PE:G=f9;break;case CE:G=r1;break;case gZ:G=P9;break;default:G=r1;break}DO.onCommitFiberRoot(a1,u,G,D)}else DO.onCommitFiberRoot(a1,u,void 0,D)}catch(Z){if(!EE)EE=!0,X("React instrumentation encountered an error: %s",Z)}}function SM(u){if(DO&&typeof DO.onPostCommitFiberRoot==="function")try{DO.onPostCommitFiberRoot(a1,u)}catch(O){if(!EE)EE=!0,X("React instrumentation encountered an error: %s",O)}}function LM(u){if(DO&&typeof DO.onCommitFiberUnmount==="function")try{DO.onCommitFiberUnmount(a1,u)}catch(O){if(!EE)EE=!0,X("React instrumentation encountered an error: %s",O)}}function t0(u){{if(typeof HM==="function")WM(u),J(u);if(DO&&typeof DO.setStrictMode==="function")try{DO.setStrictMode(a1,u)}catch(O){if(!EE)EE=!0,X("React instrumentation encountered an error: %s",O)}}}function zM(u){uu=u}function TM(){{var u=new Map,O=1;for(var D=0;D<b9;D++){var G=cM(O);u.set(O,G),O*=2}return u}}function wM(u){if(uu!==null&&typeof uu.markCommitStarted==="function")uu.markCommitStarted(u)}function o7(){if(uu!==null&&typeof uu.markCommitStopped==="function")uu.markCommitStopped()}function HA(u){if(uu!==null&&typeof uu.markComponentRenderStarted==="function")uu.markComponentRenderStarted(u)}function _G(){if(uu!==null&&typeof uu.markComponentRenderStopped==="function")uu.markComponentRenderStopped()}function RM(u){if(uu!==null&&typeof uu.markComponentPassiveEffectMountStarted==="function")uu.markComponentPassiveEffectMountStarted(u)}function $M(){if(uu!==null&&typeof uu.markComponentPassiveEffectMountStopped==="function")uu.markComponentPassiveEffectMountStopped()}function IM(u){if(uu!==null&&typeof uu.markComponentPassiveEffectUnmountStarted==="function")uu.markComponentPassiveEffectUnmountStarted(u)}function jM(){if(uu!==null&&typeof uu.markComponentPassiveEffectUnmountStopped==="function")uu.markComponentPassiveEffectUnmountStopped()}function FM(u){if(uu!==null&&typeof uu.markComponentLayoutEffectMountStarted==="function")uu.markComponentLayoutEffectMountStarted(u)}function NM(){if(uu!==null&&typeof uu.markComponentLayoutEffectMountStopped==="function")uu.markComponentLayoutEffectMountStopped()}function e7(u){if(uu!==null&&typeof uu.markComponentLayoutEffectUnmountStarted==="function")uu.markComponentLayoutEffectUnmountStarted(u)}function uU(){if(uu!==null&&typeof uu.markComponentLayoutEffectUnmountStopped==="function")uu.markComponentLayoutEffectUnmountStopped()}function gM(u,O,D){if(uu!==null&&typeof uu.markComponentErrored==="function")uu.markComponentErrored(u,O,D)}function fM(u,O,D){if(uu!==null&&typeof uu.markComponentSuspended==="function")uu.markComponentSuspended(u,O,D)}function PM(u){if(uu!==null&&typeof uu.markLayoutEffectsStarted==="function")uu.markLayoutEffectsStarted(u)}function CM(){if(uu!==null&&typeof uu.markLayoutEffectsStopped==="function")uu.markLayoutEffectsStopped()}function bM(u){if(uu!==null&&typeof uu.markPassiveEffectsStarted==="function")uu.markPassiveEffectsStarted(u)}function xM(){if(uu!==null&&typeof uu.markPassiveEffectsStopped==="function")uu.markPassiveEffectsStopped()}function OU(u){if(uu!==null&&typeof uu.markRenderStarted==="function")uu.markRenderStarted(u)}function hM(){if(uu!==null&&typeof uu.markRenderYielded==="function")uu.markRenderYielded()}function DU(){if(uu!==null&&typeof uu.markRenderStopped==="function")uu.markRenderStopped()}function kM(u){if(uu!==null&&typeof uu.markRenderScheduled==="function")uu.markRenderScheduled(u)}function _M(u,O){if(uu!==null&&typeof uu.markForceUpdateScheduled==="function")uu.markForceUpdateScheduled(u,O)}function C9(u,O){if(uu!==null&&typeof uu.markStateUpdateScheduled==="function")uu.markStateUpdateScheduled(u,O)}var Bu=0,ku=1,u0=2,R0=8,GE=16,EU=Math.clz32?Math.clz32:lM,yM=Math.log,mM=Math.LN2;function lM(u){var O=u>>>0;if(O===0)return 32;return 31-(yM(O)/mM|0)|0}var b9=31,l=0,o0=0,Mu=1,yG=2,fE=4,t1=8,AE=16,WA=32,mG=4194240,KA=64,x9=128,h9=256,k9=512,_9=1024,y9=2048,m9=4096,l9=8192,c9=16384,i9=32768,n9=65536,d9=131072,p9=262144,s9=524288,r9=1048576,a9=2097152,wZ=130023424,lG=4194304,t9=8388608,o9=16777216,e9=33554432,uX=67108864,GU=lG,qA=134217728,AU=268435455,MA=268435456,o1=536870912,eO=1073741824;function cM(u){{if(u&Mu)return"Sync";if(u&yG)return"InputContinuousHydration";if(u&fE)return"InputContinuous";if(u&t1)return"DefaultHydration";if(u&AE)return"Default";if(u&WA)return"TransitionHydration";if(u&mG)return"Transition";if(u&wZ)return"Retry";if(u&qA)return"SelectiveHydration";if(u&MA)return"IdleHydration";if(u&o1)return"Idle";if(u&eO)return"Offscreen"}}var Y0=-1,RZ=KA,$Z=lG;function SA(u){switch(e1(u)){case Mu:return Mu;case yG:return yG;case fE:return fE;case t1:return t1;case AE:return AE;case WA:return WA;case KA:case x9:case h9:case k9:case _9:case y9:case m9:case l9:case c9:case i9:case n9:case d9:case p9:case s9:case r9:case a9:return u&mG;case lG:case t9:case o9:case e9:case uX:return u&wZ;case qA:return qA;case MA:return MA;case o1:return o1;case eO:return eO;default:return X("Should have found matching lanes. This is a bug in React."),u}}function IZ(u,O){var D=u.pendingLanes;if(D===l)return l;var G=l,Z=u.suspendedLanes,Q=u.pingedLanes,Y=D&AU;if(Y!==l){var B=Y&~Z;if(B!==l)G=SA(B);else{var U=Y&Q;if(U!==l)G=SA(U)}}else{var W=D&~Z;if(W!==l)G=SA(W);else if(Q!==l)G=SA(Q)}if(G===l)return l;if(O!==l&&O!==G&&(O&Z)===l){var q=e1(G),R=e1(O);if(q>=R||q===AE&&(R&mG)!==l)return O}if((G&fE)!==l)G|=D&AE;var T=u.entangledLanes;if(T!==l){var N=u.entanglements,g=G&T;while(g>0){var C=uG(g),a=1<<C;G|=N[C],g&=~a}}return G}function iM(u,O){var D=u.eventTimes,G=Y0;while(O>0){var Z=uG(O),Q=1<<Z,Y=D[Z];if(Y>G)G=Y;O&=~Q}return G}function nM(u,O){switch(u){case Mu:case yG:case fE:return O+250;case t1:case AE:case WA:case KA:case x9:case h9:case k9:case _9:case y9:case m9:case l9:case c9:case i9:case n9:case d9:case p9:case s9:case r9:case a9:return O+5000;case lG:case t9:case o9:case e9:case uX:return Y0;case qA:case MA:case o1:case eO:return Y0;default:return X("Should have found matching lanes. This is a bug in React."),Y0}}function dM(u,O){var{pendingLanes:D,suspendedLanes:G,pingedLanes:Z,expirationTimes:Q}=u,Y=D;while(Y>0){var B=uG(Y),U=1<<B,W=Q[B];if(W===Y0){if((U&G)===l||(U&Z)!==l)Q[B]=nM(U,O)}else if(W<=O)u.expiredLanes|=U;Y&=~U}}function pM(u){return SA(u.pendingLanes)}function OX(u){var O=u.pendingLanes&~eO;if(O!==l)return O;if(O&eO)return eO;return l}function sM(u){return(u&Mu)!==l}function DX(u){return(u&AU)!==l}function JU(u){return(u&wZ)===u}function rM(u){var O=Mu|fE|AE;return(u&O)===l}function aM(u){return(u&mG)===u}function jZ(u,O){var D=yG|fE|t1|AE;return(O&D)!==l}function tM(u,O){return(O&u.expiredLanes)!==l}function ZU(u){return(u&mG)!==l}function QU(){var u=RZ;if(RZ<<=1,(RZ&mG)===l)RZ=KA;return u}function oM(){var u=$Z;if($Z<<=1,($Z&wZ)===l)$Z=lG;return u}function e1(u){return u&-u}function LA(u){return e1(u)}function uG(u){return 31-EU(u)}function EX(u){return uG(u)}function uD(u,O){return(u&O)!==l}function cG(u,O){return(u&O)===O}function Iu(u,O){return u|O}function FZ(u,O){return u&~O}function VU(u,O){return u&O}function NZ(u){return u}function eM(u,O){return u!==o0&&u<O?u:O}function GX(u){var O=[];for(var D=0;D<b9;D++)O.push(u);return O}function zA(u,O,D){if(u.pendingLanes|=O,O!==o1)u.suspendedLanes=l,u.pingedLanes=l;var G=u.eventTimes,Z=EX(O);G[Z]=D}function uS(u,O){u.suspendedLanes|=O,u.pingedLanes&=~O;var D=u.expirationTimes,G=O;while(G>0){var Z=uG(G),Q=1<<Z;D[Z]=Y0,G&=~Q}}function XU(u,O,D){u.pingedLanes|=u.suspendedLanes&O}function OS(u,O){var D=u.pendingLanes&~O;u.pendingLanes=O,u.suspendedLanes=l,u.pingedLanes=l,u.expiredLanes&=O,u.mutableReadLanes&=O,u.entangledLanes&=O;var{entanglements:G,eventTimes:Z,expirationTimes:Q}=u,Y=D;while(Y>0){var B=uG(Y),U=1<<B;G[B]=l,Z[B]=Y0,Q[B]=Y0,Y&=~U}}function AX(u,O){var D=u.entangledLanes|=O,G=u.entanglements,Z=D;while(Z){var Q=uG(Z),Y=1<<Q;if(Y&O|G[Q]&O)G[Q]|=O;Z&=~Y}}function DS(u,O){var D=e1(O),G;switch(D){case fE:G=yG;break;case AE:G=t1;break;case KA:case x9:case h9:case k9:case _9:case y9:case m9:case l9:case c9:case i9:case n9:case d9:case p9:case s9:case r9:case a9:case lG:case t9:case o9:case e9:case uX:G=WA;break;case o1:G=MA;break;default:G=o0;break}if((G&(u.suspendedLanes|O))!==o0)return o0;return G}function YU(u,O,D){if(!bD)return;var G=u.pendingUpdatersLaneMap;while(D>0){var Z=EX(D),Q=1<<Z,Y=G[Z];Y.add(O),D&=~Q}}function BU(u,O){if(!bD)return;var{pendingUpdatersLaneMap:D,memoizedUpdaters:G}=u;while(O>0){var Z=EX(O),Q=1<<Z,Y=D[Z];if(Y.size>0)Y.forEach(function(B){var U=B.alternate;if(U===null||!G.has(U))G.add(B)}),Y.clear();O&=~Q}}function UU(u,O){return null}var OD=Mu,PE=fE,CE=AE,gZ=o1,TA=o0;function xD(){return TA}function e0(u){TA=u}function ES(u,O){var D=TA;try{return TA=u,O()}finally{TA=D}}function GS(u,O){return u!==0&&u<O?u:O}function AS(u,O){return u===0||u>O?u:O}function JX(u,O){return u!==0&&u<O}function vU(u){var O=e1(u);if(!JX(OD,O))return OD;if(!JX(PE,O))return PE;if(DX(O))return CE;return gZ}function fZ(u){var O=u.current.memoizedState;return O.isDehydrated}var HU;function JS(u){HU=u}function ZS(u){HU(u)}var ZX;function QS(u){ZX=u}var WU;function VS(u){WU=u}var KU;function XS(u){KU=u}var qU;function YS(u){qU=u}var QX=!1,PZ=[],J1=null,Z1=null,Q1=null,wA=new Map,RA=new Map,V1=[],BS=["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 US(u){return BS.indexOf(u)>-1}function vS(u,O,D,G,Z){return{blockedOn:u,domEventName:O,eventSystemFlags:D,nativeEvent:Z,targetContainers:[G]}}function MU(u,O){switch(u){case"focusin":case"focusout":J1=null;break;case"dragenter":case"dragleave":Z1=null;break;case"mouseover":case"mouseout":Q1=null;break;case"pointerover":case"pointerout":{var D=O.pointerId;wA.delete(D);break}case"gotpointercapture":case"lostpointercapture":{var G=O.pointerId;RA.delete(G);break}}}function $A(u,O,D,G,Z,Q){if(u===null||u.nativeEvent!==Q){var Y=vS(O,D,G,Z,Q);if(O!==null){var B=B1(O);if(B!==null)ZX(B)}return Y}u.eventSystemFlags|=G;var U=u.targetContainers;if(Z!==null&&U.indexOf(Z)===-1)U.push(Z);return u}function HS(u,O,D,G,Z){switch(O){case"focusin":{var Q=Z;return J1=$A(J1,u,O,D,G,Q),!0}case"dragenter":{var Y=Z;return Z1=$A(Z1,u,O,D,G,Y),!0}case"mouseover":{var B=Z;return Q1=$A(Q1,u,O,D,G,B),!0}case"pointerover":{var U=Z,W=U.pointerId;return wA.set(W,$A(wA.get(W)||null,u,O,D,G,U)),!0}case"gotpointercapture":{var q=Z,R=q.pointerId;return RA.set(R,$A(RA.get(R)||null,u,O,D,G,q)),!0}}return!1}function SU(u){var O=EG(u.target);if(O!==null){var D=s1(O);if(D!==null){var G=D.tag;if(G===i){var Z=i7(D);if(Z!==null){u.blockedOn=Z,qU(u.priority,function(){WU(D)});return}}else if(G===w){var Q=D.stateNode;if(fZ(Q)){u.blockedOn=n7(D);return}}}}u.blockedOn=null}function WS(u){var O=KU(),D={blockedOn:null,target:u,priority:O},G=0;for(;G<V1.length;G++)if(!JX(O,V1[G].priority))break;if(V1.splice(G,0,D),G===0)SU(D)}function CZ(u){if(u.blockedOn!==null)return!1;var O=u.targetContainers;while(O.length>0){var D=O[0],G=YX(u.domEventName,u.eventSystemFlags,D,u.nativeEvent);if(G===null){var Z=u.nativeEvent,Q=new Z.constructor(Z.type,Z);lq(Q),Z.target.dispatchEvent(Q),cq()}else{var Y=B1(G);if(Y!==null)ZX(Y);return u.blockedOn=G,!1}O.shift()}return!0}function LU(u,O,D){if(CZ(u))D.delete(O)}function KS(){if(QX=!1,J1!==null&&CZ(J1))J1=null;if(Z1!==null&&CZ(Z1))Z1=null;if(Q1!==null&&CZ(Q1))Q1=null;wA.forEach(LU),RA.forEach(LU)}function IA(u,O){if(u.blockedOn===O){if(u.blockedOn=null,!QX)QX=!0,E0.unstable_scheduleCallback(E0.unstable_NormalPriority,KS)}}function jA(u){if(PZ.length>0){IA(PZ[0],u);for(var O=1;O<PZ.length;O++){var D=PZ[O];if(D.blockedOn===u)D.blockedOn=null}}if(J1!==null)IA(J1,u);if(Z1!==null)IA(Z1,u);if(Q1!==null)IA(Q1,u);var G=function(B){return IA(B,u)};wA.forEach(G),RA.forEach(G);for(var Z=0;Z<V1.length;Z++){var Q=V1[Z];if(Q.blockedOn===u)Q.blockedOn=null}while(V1.length>0){var Y=V1[0];if(Y.blockedOn!==null)break;else if(SU(Y),Y.blockedOn===null)V1.shift()}}var iG=E.ReactCurrentBatchConfig,VX=!0;function zU(u){VX=!!u}function qS(){return VX}function MS(u,O,D){var G=TU(O),Z;switch(G){case OD:Z=SS;break;case PE:Z=LS;break;case CE:default:Z=XX;break}return Z.bind(null,O,D,u)}function SS(u,O,D,G){var Z=xD(),Q=iG.transition;iG.transition=null;try{e0(OD),XX(u,O,D,G)}finally{e0(Z),iG.transition=Q}}function LS(u,O,D,G){var Z=xD(),Q=iG.transition;iG.transition=null;try{e0(PE),XX(u,O,D,G)}finally{e0(Z),iG.transition=Q}}function XX(u,O,D,G){if(!VX)return;zS(u,O,D,G)}function zS(u,O,D,G){var Z=YX(u,O,D,G);if(Z===null){RX(u,O,G,bZ,D),MU(u,G);return}if(HS(Z,u,O,D,G)){G.stopPropagation();return}if(MU(u,G),O&QA&&US(u)){while(Z!==null){var Q=B1(Z);if(Q!==null)ZS(Q);var Y=YX(u,O,D,G);if(Y===null)RX(u,O,G,bZ,D);if(Y===Z)break;Z=Y}if(Z!==null)G.stopPropagation();return}RX(u,O,G,null,D)}var bZ=null;function YX(u,O,D,G){bZ=null;var Z=q9(G),Q=EG(Z);if(Q!==null){var Y=s1(Q);if(Y===null)Q=null;else{var B=Y.tag;if(B===i){var U=i7(Y);if(U!==null)return U;Q=null}else if(B===w){var W=Y.stateNode;if(fZ(W))return n7(Y);Q=null}else if(Y!==Q)Q=null}}return bZ=Q,null}function TU(u){switch(u){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 OD;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 PE;case"message":{var O=UM();switch(O){case TZ:return OD;case f9:return PE;case r1:case vM:return CE;case P9:return gZ;default:return CE}}default:return CE}}function TS(u,O,D){return u.addEventListener(O,D,!1),D}function wS(u,O,D){return u.addEventListener(O,D,!0),D}function RS(u,O,D,G){return u.addEventListener(O,D,{capture:!0,passive:G}),D}function $S(u,O,D,G){return u.addEventListener(O,D,{passive:G}),D}var FA=null,BX=null,NA=null;function IS(u){return FA=u,BX=RU(),!0}function jS(){FA=null,BX=null,NA=null}function wU(){if(NA)return NA;var u,O=BX,D=O.length,G,Z=RU(),Q=Z.length;for(u=0;u<D;u++)if(O[u]!==Z[u])break;var Y=D-u;for(G=1;G<=Y;G++)if(O[D-G]!==Z[Q-G])break;var B=G>1?1-G:void 0;return NA=Z.slice(u,B),NA}function RU(){if("value"in FA)return FA.value;return FA.textContent}function xZ(u){var O,D=u.keyCode;if("charCode"in u){if(O=u.charCode,O===0&&D===13)O=13}else O=D;if(O===10)O=13;if(O>=32||O===13)return O;return 0}function hZ(){return!0}function $U(){return!1}function DD(u){function O(D,G,Z,Q,Y){this._reactName=D,this._targetInst=Z,this.type=G,this.nativeEvent=Q,this.target=Y,this.currentTarget=null;for(var B in u){if(!u.hasOwnProperty(B))continue;var U=u[B];if(U)this[B]=U(Q);else this[B]=Q[B]}var W=Q.defaultPrevented!=null?Q.defaultPrevented:Q.returnValue===!1;if(W)this.isDefaultPrevented=hZ;else this.isDefaultPrevented=$U;return this.isPropagationStopped=$U,this}return ju(O.prototype,{preventDefault:function(){this.defaultPrevented=!0;var D=this.nativeEvent;if(!D)return;if(D.preventDefault)D.preventDefault();else if(typeof D.returnValue!=="unknown")D.returnValue=!1;this.isDefaultPrevented=hZ},stopPropagation:function(){var D=this.nativeEvent;if(!D)return;if(D.stopPropagation)D.stopPropagation();else if(typeof D.cancelBubble!=="unknown")D.cancelBubble=!0;this.isPropagationStopped=hZ},persist:function(){},isPersistent:hZ}),O}var nG={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},UX=DD(nG),gA=ju({},nG,{view:0,detail:0}),FS=DD(gA),vX,HX,fA;function NS(u){if(u!==fA){if(fA&&u.type==="mousemove")vX=u.screenX-fA.screenX,HX=u.screenY-fA.screenY;else vX=0,HX=0;fA=u}}var kZ=ju({},gA,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:KX,button:0,buttons:0,relatedTarget:function(u){if(u.relatedTarget===void 0)return u.fromElement===u.srcElement?u.toElement:u.fromElement;return u.relatedTarget},movementX:function(u){if("movementX"in u)return u.movementX;return NS(u),vX},movementY:function(u){if("movementY"in u)return u.movementY;return HX}}),IU=DD(kZ),gS=ju({},kZ,{dataTransfer:0}),fS=DD(gS),PS=ju({},gA,{relatedTarget:0}),WX=DD(PS),CS=ju({},nG,{animationName:0,elapsedTime:0,pseudoElement:0}),bS=DD(CS),xS=ju({},nG,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),hS=DD(xS),kS=ju({},nG,{data:0}),jU=DD(kS),_S=jU,yS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mS={"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 lS(u){if(u.key){var O=yS[u.key]||u.key;if(O!=="Unidentified")return O}if(u.type==="keypress"){var D=xZ(u);return D===13?"Enter":String.fromCharCode(D)}if(u.type==="keydown"||u.type==="keyup")return mS[u.keyCode]||"Unidentified";return""}var cS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iS(u){var O=this,D=O.nativeEvent;if(D.getModifierState)return D.getModifierState(u);var G=cS[u];return G?!!D[G]:!1}function KX(u){return iS}var nS=ju({},gA,{key:lS,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:KX,charCode:function(u){if(u.type==="keypress")return xZ(u);return 0},keyCode:function(u){if(u.type==="keydown"||u.type==="keyup")return u.keyCode;return 0},which:function(u){if(u.type==="keypress")return xZ(u);if(u.type==="keydown"||u.type==="keyup")return u.keyCode;return 0}}),dS=DD(nS),pS=ju({},kZ,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),FU=DD(pS),sS=ju({},gA,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:KX}),rS=DD(sS),aS=ju({},nG,{propertyName:0,elapsedTime:0,pseudoElement:0}),tS=DD(aS),oS=ju({},kZ,{deltaX:function(u){return"deltaX"in u?u.deltaX:("wheelDeltaX"in u)?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:("wheelDeltaY"in u)?-u.wheelDeltaY:("wheelDelta"in u)?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),eS=DD(oS),uL=[9,13,27,32],NU=229,qX=I0&&"CompositionEvent"in window,PA=null;if(I0&&"documentMode"in document)PA=document.documentMode;var OL=I0&&"TextEvent"in window&&!PA,gU=I0&&(!qX||PA&&PA>8&&PA<=11),fU=32,PU=String.fromCharCode(fU);function DL(){vO("onBeforeInput",["compositionend","keypress","textInput","paste"]),vO("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),vO("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),vO("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var CU=!1;function EL(u){return(u.ctrlKey||u.altKey||u.metaKey)&&!(u.ctrlKey&&u.altKey)}function GL(u){switch(u){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function AL(u,O){return u==="keydown"&&O.keyCode===NU}function bU(u,O){switch(u){case"keyup":return uL.indexOf(O.keyCode)!==-1;case"keydown":return O.keyCode!==NU;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xU(u){var O=u.detail;if(typeof O==="object"&&"data"in O)return O.data;return null}function hU(u){return u.locale==="ko"}var dG=!1;function JL(u,O,D,G,Z){var Q,Y;if(qX)Q=GL(O);else if(!dG){if(AL(O,G))Q="onCompositionStart"}else if(bU(O,G))Q="onCompositionEnd";if(!Q)return null;if(gU&&!hU(G)){if(!dG&&Q==="onCompositionStart")dG=IS(Z);else if(Q==="onCompositionEnd"){if(dG)Y=wU()}}var B=cZ(D,Q);if(B.length>0){var U=new jU(Q,O,null,G,Z);if(u.push({event:U,listeners:B}),Y)U.data=Y;else{var W=xU(G);if(W!==null)U.data=W}}}function ZL(u,O){switch(u){case"compositionend":return xU(O);case"keypress":var D=O.which;if(D!==fU)return null;return CU=!0,PU;case"textInput":var G=O.data;if(G===PU&&CU)return null;return G;default:return null}}function QL(u,O){if(dG){if(u==="compositionend"||!qX&&bU(u,O)){var D=wU();return jS(),dG=!1,D}return null}switch(u){case"paste":return null;case"keypress":if(!EL(O)){if(O.char&&O.char.length>1)return O.char;else if(O.which)return String.fromCharCode(O.which)}return null;case"compositionend":return gU&&!hU(O)?null:O.data;default:return null}}function VL(u,O,D,G,Z){var Q;if(OL)Q=ZL(O,G);else Q=QL(O,G);if(!Q)return null;var Y=cZ(D,"onBeforeInput");if(Y.length>0){var B=new _S("onBeforeInput","beforeinput",null,G,Z);u.push({event:B,listeners:Y}),B.data=Q}}function XL(u,O,D,G,Z,Q,Y){JL(u,O,D,G,Z),VL(u,O,D,G,Z)}var YL={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 kU(u){var O=u&&u.nodeName&&u.nodeName.toLowerCase();if(O==="input")return!!YL[u.type];if(O==="textarea")return!0;return!1}function BL(u){if(!I0)return!1;var O="on"+u,D=O in document;if(!D){var G=document.createElement("div");G.setAttribute(O,"return;"),D=typeof G[O]==="function"}return D}function UL(){vO("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function _U(u,O,D,G){x7(G);var Z=cZ(O,"onChange");if(Z.length>0){var Q=new UX("onChange","change",null,D,G);u.push({event:Q,listeners:Z})}}var CA=null,bA=null;function vL(u){var O=u.nodeName&&u.nodeName.toLowerCase();return O==="select"||O==="input"&&u.type==="file"}function HL(u){var O=[];_U(O,bA,u,q9(u)),y7(WL,O)}function WL(u){E2(u,0)}function _Z(u){var O=oG(u);if(jG(O))return u}function KL(u,O){if(u==="change")return O}var yU=!1;if(I0)yU=BL("input")&&(!document.documentMode||document.documentMode>9);function qL(u,O){CA=u,bA=O,CA.attachEvent("onpropertychange",lU)}function mU(){if(!CA)return;CA.detachEvent("onpropertychange",lU),CA=null,bA=null}function lU(u){if(u.propertyName!=="value")return;if(_Z(bA))HL(u)}function ML(u,O,D){if(u==="focusin")mU(),qL(O,D);else if(u==="focusout")mU()}function SL(u,O){if(u==="selectionchange"||u==="keyup"||u==="keydown")return _Z(bA)}function LL(u){var O=u.nodeName;return O&&O.toLowerCase()==="input"&&(u.type==="checkbox"||u.type==="radio")}function zL(u,O){if(u==="click")return _Z(O)}function TL(u,O){if(u==="input"||u==="change")return _Z(O)}function wL(u){var O=u._wrapperState;if(!O||!O.controlled||u.type!=="number")return;qu(u,"number",u.value)}function RL(u,O,D,G,Z,Q,Y){var B=D?oG(D):window,U,W;if(vL(B))U=KL;else if(kU(B))if(yU)U=TL;else U=SL,W=ML;else if(LL(B))U=zL;if(U){var q=U(O,D);if(q){_U(u,q,G,Z);return}}if(W)W(O,B,D);if(O==="focusout")wL(B)}function $L(){BD("onMouseEnter",["mouseout","mouseover"]),BD("onMouseLeave",["mouseout","mouseover"]),BD("onPointerEnter",["pointerout","pointerover"]),BD("onPointerLeave",["pointerout","pointerover"])}function IL(u,O,D,G,Z,Q,Y){var B=O==="mouseover"||O==="pointerover",U=O==="mouseout"||O==="pointerout";if(B&&!iq(G)){var W=G.relatedTarget||G.fromElement;if(W){if(EG(W)||aA(W))return}}if(!U&&!B)return;var q;if(Z.window===Z)q=Z;else{var R=Z.ownerDocument;if(R)q=R.defaultView||R.parentWindow;else q=window}var T,N;if(U){var g=G.relatedTarget||G.toElement;if(T=D,N=g?EG(g):null,N!==null){var C=s1(N);if(N!==C||N.tag!==P&&N.tag!==m)N=null}}else T=null,N=D;if(T===N)return;var a=IU,Qu="onMouseLeave",Zu="onMouseEnter",fu="mouse";if(O==="pointerout"||O==="pointerover")a=FU,Qu="onPointerLeave",Zu="onPointerEnter",fu="pointer";var Pu=T==null?q:oG(T),$=N==null?q:oG(N),k=new a(Qu,fu+"leave",T,G,Z);k.target=Pu,k.relatedTarget=$;var I=null,c=EG(Z);if(c===D){var Du=new a(Zu,fu+"enter",N,G,Z);Du.target=$,Du.relatedTarget=Pu,I=Du}tL(u,k,I,T,N)}function jL(u,O){return u===O&&(u!==0||1/u===1/O)||u!==u&&O!==O}var ED=typeof Object.is==="function"?Object.is:jL;function xA(u,O){if(ED(u,O))return!0;if(typeof u!=="object"||u===null||typeof O!=="object"||O===null)return!1;var D=Object.keys(u),G=Object.keys(O);if(D.length!==G.length)return!1;for(var Z=0;Z<D.length;Z++){var Q=D[Z];if(!sO.call(O,Q)||!ED(u[Q],O[Q]))return!1}return!0}function cU(u){while(u&&u.firstChild)u=u.firstChild;return u}function FL(u){while(u){if(u.nextSibling)return u.nextSibling;u=u.parentNode}}function iU(u,O){var D=cU(u),G=0,Z=0;while(D){if(D.nodeType===$E){if(Z=G+D.textContent.length,G<=O&&Z>=O)return{node:D,offset:O-G};G=Z}D=cU(FL(D))}}function NL(u){var O=u.ownerDocument,D=O&&O.defaultView||window,G=D.getSelection&&D.getSelection();if(!G||G.rangeCount===0)return null;var{anchorNode:Z,anchorOffset:Q,focusNode:Y,focusOffset:B}=G;try{Z.nodeType,Y.nodeType}catch(U){return null}return gL(u,Z,Q,Y,B)}function gL(u,O,D,G,Z){var Q=0,Y=-1,B=-1,U=0,W=0,q=u,R=null;u:while(!0){var T=null;while(!0){if(q===O&&(D===0||q.nodeType===$E))Y=Q+D;if(q===G&&(Z===0||q.nodeType===$E))B=Q+Z;if(q.nodeType===$E)Q+=q.nodeValue.length;if((T=q.firstChild)===null)break;R=q,q=T}while(!0){if(q===u)break u;if(R===O&&++U===D)Y=Q;if(R===G&&++W===Z)B=Q;if((T=q.nextSibling)!==null)break;q=R,R=q.parentNode}q=T}if(Y===-1||B===-1)return null;return{start:Y,end:B}}function fL(u,O){var D=u.ownerDocument||document,G=D&&D.defaultView||window;if(!G.getSelection)return;var Z=G.getSelection(),Q=u.textContent.length,Y=Math.min(O.start,Q),B=O.end===void 0?Y:Math.min(O.end,Q);if(!Z.extend&&Y>B){var U=B;B=Y,Y=U}var W=iU(u,Y),q=iU(u,B);if(W&&q){if(Z.rangeCount===1&&Z.anchorNode===W.node&&Z.anchorOffset===W.offset&&Z.focusNode===q.node&&Z.focusOffset===q.offset)return;var R=D.createRange();if(R.setStart(W.node,W.offset),Z.removeAllRanges(),Y>B)Z.addRange(R),Z.extend(q.node,q.offset);else R.setEnd(q.node,q.offset),Z.addRange(R)}}function nU(u){return u&&u.nodeType===$E}function dU(u,O){if(!u||!O)return!1;else if(u===O)return!0;else if(nU(u))return!1;else if(nU(O))return dU(u,O.parentNode);else if("contains"in u)return u.contains(O);else if(u.compareDocumentPosition)return!!(u.compareDocumentPosition(O)&16);else return!1}function PL(u){return u&&u.ownerDocument&&dU(u.ownerDocument.documentElement,u)}function CL(u){try{return typeof u.contentWindow.location.href==="string"}catch(O){return!1}}function pU(){var u=window,O=G1();while(O instanceof u.HTMLIFrameElement){if(CL(O))u=O.contentWindow;else return O;O=G1(u.document)}return O}function MX(u){var O=u&&u.nodeName&&u.nodeName.toLowerCase();return O&&(O==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||O==="textarea"||u.contentEditable==="true")}function bL(){var u=pU();return{focusedElem:u,selectionRange:MX(u)?hL(u):null}}function xL(u){var O=pU(),D=u.focusedElem,G=u.selectionRange;if(O!==D&&PL(D)){if(G!==null&&MX(D))kL(D,G);var Z=[],Q=D;while(Q=Q.parentNode)if(Q.nodeType===_O)Z.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});if(typeof D.focus==="function")D.focus();for(var Y=0;Y<Z.length;Y++){var B=Z[Y];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}}function hL(u){var O;if("selectionStart"in u)O={start:u.selectionStart,end:u.selectionEnd};else O=NL(u);return O||{start:0,end:0}}function kL(u,O){var{start:D,end:G}=O;if(G===void 0)G=D;if("selectionStart"in u)u.selectionStart=D,u.selectionEnd=Math.min(G,u.value.length);else fL(u,O)}var _L=I0&&"documentMode"in document&&document.documentMode<=11;function yL(){vO("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var pG=null,SX=null,hA=null,LX=!1;function mL(u){if("selectionStart"in u&&MX(u))return{start:u.selectionStart,end:u.selectionEnd};else{var O=u.ownerDocument&&u.ownerDocument.defaultView||window,D=O.getSelection();return{anchorNode:D.anchorNode,anchorOffset:D.anchorOffset,focusNode:D.focusNode,focusOffset:D.focusOffset}}}function lL(u){return u.window===u?u.document:u.nodeType===IE?u:u.ownerDocument}function sU(u,O,D){var G=lL(D);if(LX||pG==null||pG!==G1(G))return;var Z=mL(pG);if(!hA||!xA(hA,Z)){hA=Z;var Q=cZ(SX,"onSelect");if(Q.length>0){var Y=new UX("onSelect","select",null,O,D);u.push({event:Y,listeners:Q}),Y.target=pG}}}function cL(u,O,D,G,Z,Q,Y){var B=D?oG(D):window;switch(O){case"focusin":if(kU(B)||B.contentEditable==="true")pG=B,SX=D,hA=null;break;case"focusout":pG=null,SX=null,hA=null;break;case"mousedown":LX=!0;break;case"contextmenu":case"mouseup":case"dragend":LX=!1,sU(u,G,Z);break;case"selectionchange":if(_L)break;case"keydown":case"keyup":sU(u,G,Z)}}function yZ(u,O){var D={};return D[u.toLowerCase()]=O.toLowerCase(),D["Webkit"+u]="webkit"+O,D["Moz"+u]="moz"+O,D}var sG={animationend:yZ("Animation","AnimationEnd"),animationiteration:yZ("Animation","AnimationIteration"),animationstart:yZ("Animation","AnimationStart"),transitionend:yZ("Transition","TransitionEnd")},zX={},rU={};if(I0){if(rU=document.createElement("div").style,!("AnimationEvent"in window))delete sG.animationend.animation,delete sG.animationiteration.animation,delete sG.animationstart.animation;if(!("TransitionEvent"in window))delete sG.transitionend.transition}function mZ(u){if(zX[u])return zX[u];else if(!sG[u])return u;var O=sG[u];for(var D in O)if(O.hasOwnProperty(D)&&D in rU)return zX[u]=O[D];return u}var aU=mZ("animationend"),tU=mZ("animationiteration"),oU=mZ("animationstart"),eU=mZ("transitionend"),u2=new Map,O2=["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 X1(u,O){u2.set(u,O),vO(O,[u])}function iL(){for(var u=0;u<O2.length;u++){var O=O2[u],D=O.toLowerCase(),G=O[0].toUpperCase()+O.slice(1);X1(D,"on"+G)}X1(aU,"onAnimationEnd"),X1(tU,"onAnimationIteration"),X1(oU,"onAnimationStart"),X1("dblclick","onDoubleClick"),X1("focusin","onFocus"),X1("focusout","onBlur"),X1(eU,"onTransitionEnd")}function nL(u,O,D,G,Z,Q,Y){var B=u2.get(O);if(B===void 0)return;var U=UX,W=O;switch(O){case"keypress":if(xZ(G)===0)return;case"keydown":case"keyup":U=dS;break;case"focusin":W="focus",U=WX;break;case"focusout":W="blur",U=WX;break;case"beforeblur":case"afterblur":U=WX;break;case"click":if(G.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=IU;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=fS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=rS;break;case aU:case tU:case oU:U=bS;break;case eU:U=tS;break;case"scroll":U=FS;break;case"wheel":U=eS;break;case"copy":case"cut":case"paste":U=hS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=FU;break}var q=(Q&QA)!==0;{var R=!q&&O==="scroll",T=rL(D,B,G.type,q,R);if(T.length>0){var N=new U(B,W,null,G,Z);u.push({event:N,listeners:T})}}}iL(),$L(),UL(),yL(),DL();function dL(u,O,D,G,Z,Q,Y){nL(u,O,D,G,Z,Q);var B=(Q&mq)===0;if(B)IL(u,O,D,G,Z),RL(u,O,D,G,Z),cL(u,O,D,G,Z),XL(u,O,D,G,Z)}var kA=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],TX=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(kA));function D2(u,O,D){var G=u.type||"unknown-event";u.currentTarget=D,eq(G,O,void 0,u),u.currentTarget=null}function pL(u,O,D){var G;if(D)for(var Z=O.length-1;Z>=0;Z--){var Q=O[Z],Y=Q.instance,B=Q.currentTarget,U=Q.listener;if(Y!==G&&u.isPropagationStopped())return;D2(u,U,B),G=Y}else for(var W=0;W<O.length;W++){var q=O[W],R=q.instance,T=q.currentTarget,N=q.listener;if(R!==G&&u.isPropagationStopped())return;D2(u,N,T),G=R}}function E2(u,O){var D=(O&QA)!==0;for(var G=0;G<u.length;G++){var Z=u[G],Q=Z.event,Y=Z.listeners;pL(Q,Y,D)}uM()}function sL(u,O,D,G,Z){var Q=q9(D),Y=[];dL(Y,u,G,D,Q,O),E2(Y,O)}function H0(u,O){if(!TX.has(u))X('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',u);var D=!1,G=wT(O),Z=oL(u,D);if(!G.has(Z))G2(O,u,K9,D),G.add(Z)}function wX(u,O,D){if(TX.has(u)&&!O)X('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',u);var G=0;if(O)G|=QA;G2(D,u,G,O)}var lZ="_reactListening"+Math.random().toString(36).slice(2);function _A(u){if(!u[lZ]){u[lZ]=!0,jD.forEach(function(D){if(D!=="selectionchange"){if(!TX.has(D))wX(D,!1,u);wX(D,!0,u)}});var O=u.nodeType===IE?u:u.ownerDocument;if(O!==null){if(!O[lZ])O[lZ]=!0,wX("selectionchange",!1,O)}}}function G2(u,O,D,G,Z){var Q=MS(u,O,D),Y=void 0;if(L9){if(O==="touchstart"||O==="touchmove"||O==="wheel")Y=!0}u=u;var B;if(G)if(Y!==void 0)B=RS(u,O,Q,Y);else B=wS(u,O,Q);else if(Y!==void 0)B=$S(u,O,Q,Y);else B=TS(u,O,Q)}function A2(u,O){return u===O||u.nodeType===N0&&u.parentNode===O}function RX(u,O,D,G,Z){var Q=G;if((O&C7)===0&&(O&K9)===0){var Y=Z;if(G!==null){var B=G;u:while(!0){if(B===null)return;var U=B.tag;if(U===w||U===j){var W=B.stateNode.containerInfo;if(A2(W,Y))break;if(U===j){var q=B.return;while(q!==null){var R=q.tag;if(R===w||R===j){var T=q.stateNode.containerInfo;if(A2(T,Y))return}q=q.return}}while(W!==null){var N=EG(W);if(N===null)return;var g=N.tag;if(g===P||g===m){B=Q=N;continue u}W=W.parentNode}}B=B.return}}}y7(function(){return sL(u,O,D,Q)})}function yA(u,O,D){return{instance:u,listener:O,currentTarget:D}}function rL(u,O,D,G,Z,Q){var Y=O!==null?O+"Capture":null,B=G?Y:O,U=[],W=u,q=null;while(W!==null){var R=W,T=R.stateNode,N=R.tag;if(N===P&&T!==null){if(q=T,B!==null){var g=XA(W,B);if(g!=null)U.push(yA(W,g,q))}}if(Z)break;W=W.return}return U}function cZ(u,O){var D=O+"Capture",G=[],Z=u;while(Z!==null){var Q=Z,Y=Q.stateNode,B=Q.tag;if(B===P&&Y!==null){var U=Y,W=XA(Z,D);if(W!=null)G.unshift(yA(Z,W,U));var q=XA(Z,O);if(q!=null)G.push(yA(Z,q,U))}Z=Z.return}return G}function rG(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==P);if(u)return u;return null}function aL(u,O){var D=u,G=O,Z=0;for(var Q=D;Q;Q=rG(Q))Z++;var Y=0;for(var B=G;B;B=rG(B))Y++;while(Z-Y>0)D=rG(D),Z--;while(Y-Z>0)G=rG(G),Y--;var U=Z;while(U--){if(D===G||G!==null&&D===G.alternate)return D;D=rG(D),G=rG(G)}return null}function J2(u,O,D,G,Z){var Q=O._reactName,Y=[],B=D;while(B!==null){if(B===G)break;var U=B,W=U.alternate,q=U.stateNode,R=U.tag;if(W!==null&&W===G)break;if(R===P&&q!==null){var T=q;if(Z){var N=XA(B,Q);if(N!=null)Y.unshift(yA(B,N,T))}else if(!Z){var g=XA(B,Q);if(g!=null)Y.push(yA(B,g,T))}}B=B.return}if(Y.length!==0)u.push({event:O,listeners:Y})}function tL(u,O,D,G,Z){var Q=G&&Z?aL(G,Z):null;if(G!==null)J2(u,O,G,Q,!1);if(Z!==null&&D!==null)J2(u,D,Z,Q,!0)}function oL(u,O){return u+"__"+(O?"capture":"bubble")}var yO=!1,mA="dangerouslySetInnerHTML",iZ="suppressContentEditableWarning",Y1="suppressHydrationWarning",Z2="autoFocus",OG="children",DG="style",nZ="__html",$X,dZ,lA,Q2,pZ,V2,X2;$X={dialog:!0,webview:!0},dZ=function(u,O){Cq(u,O),bq(u,O),yq(u,O,{registrationNameDependencies:p0,possibleRegistrationNames:pO})},V2=I0&&!document.documentMode,lA=function(u,O,D){if(yO)return;var G=sZ(D),Z=sZ(O);if(Z===G)return;yO=!0,X("Prop `%s` did not match. Server: %s Client: %s",u,JSON.stringify(Z),JSON.stringify(G))},Q2=function(u){if(yO)return;yO=!0;var O=[];u.forEach(function(D){O.push(D)}),X("Extra attributes from the server: %s",O)},pZ=function(u,O){if(O===!1)X("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.",u,u,u);else X("Expected `%s` listener to be a function, instead got a value of `%s` type.",u,typeof O)},X2=function(u,O){var D=u.namespaceURI===RE?u.ownerDocument.createElement(u.tagName):u.ownerDocument.createElementNS(u.namespaceURI,u.tagName);return D.innerHTML=O,D.innerHTML};var eL=/\r\n?/g,uz=/\u0000|\uFFFD/g;function sZ(u){sE(u);var O=typeof u==="string"?u:""+u;return O.replace(eL,`
`).replace(uz,"")}function rZ(u,O,D,G){var Z=sZ(O),Q=sZ(u);if(Q===Z)return;if(G){if(!yO)yO=!0,X('Text content did not match. Server: "%s" Client: "%s"',Q,Z)}if(D&&Lu)throw new Error("Text content does not match server-rendered HTML.")}function Y2(u){return u.nodeType===IE?u:u.ownerDocument}function Oz(){}function aZ(u){u.onclick=Oz}function Dz(u,O,D,G,Z){for(var Q in G){if(!G.hasOwnProperty(Q))continue;var Y=G[Q];if(Q===DG){if(Y)Object.freeze(Y);j7(O,Y)}else if(Q===mA){var B=Y?Y[nZ]:void 0;if(B!=null)T7(O,B)}else if(Q===OG){if(typeof Y==="string"){var U=u!=="textarea"||Y!=="";if(U)KZ(O,Y)}else if(typeof Y==="number")KZ(O,""+Y)}else if(Q===iZ||Q===Y1);else if(Q===Z2);else if(p0.hasOwnProperty(Q)){if(Y!=null){if(typeof Y!=="function")pZ(Q,Y);if(Q==="onScroll")H0("scroll",O)}}else if(Y!=null)tE(O,Q,Y,Z)}}function Ez(u,O,D,G){for(var Z=0;Z<O.length;Z+=2){var Q=O[Z],Y=O[Z+1];if(Q===DG)j7(u,Y);else if(Q===mA)T7(u,Y);else if(Q===OG)KZ(u,Y);else tE(u,Q,Y,G)}}function Gz(u,O,D,G){var Z,Q=Y2(D),Y,B=G;if(B===RE)B=Y9(u);if(B===RE){if(Z=c1(u,O),!Z&&u!==u.toLowerCase())X("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",u);if(u==="script"){var U=Q.createElement("div");U.innerHTML="<script></script>";var W=U.firstChild;Y=U.removeChild(W)}else if(typeof O.is==="string")Y=Q.createElement(u,{is:O.is});else if(Y=Q.createElement(u),u==="select"){var q=Y;if(O.multiple)q.multiple=!0;else if(O.size)q.size=O.size}}else Y=Q.createElementNS(B,u);if(B===RE){if(!Z&&Object.prototype.toString.call(Y)==="[object HTMLUnknownElement]"&&!sO.call($X,u))$X[u]=!0,X("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",u)}return Y}function Az(u,O){return Y2(O).createTextNode(u)}function Jz(u,O,D,G){var Z=c1(O,D);dZ(O,D);var Q;switch(O){case"dialog":H0("cancel",u),H0("close",u),Q=D;break;case"iframe":case"object":case"embed":H0("load",u),Q=D;break;case"video":case"audio":for(var Y=0;Y<kA.length;Y++)H0(kA[Y],u);Q=D;break;case"source":H0("error",u),Q=D;break;case"img":case"image":case"link":H0("error",u),H0("load",u),Q=D;break;case"details":H0("toggle",u),Q=D;break;case"input":S(u,D),Q=v(u,D),H0("invalid",u);break;case"option":Z0(u,D),Q=D;break;case"select":JA(u,D),Q=AA(u,D),H0("invalid",u);break;case"textarea":S7(u,D),Q=V9(u,D),H0("invalid",u);break;default:Q=D}switch(W9(O,Q),Dz(O,u,G,Q,Z),O){case"input":TE(u),n(u,D,!1);break;case"textarea":TE(u),z7(u);break;case"option":v0(u,D);break;case"select":Q9(u,D);break;default:if(typeof Q.onClick==="function")aZ(u);break}}function Zz(u,O,D,G,Z){dZ(O,G);var Q=null,Y,B;switch(O){case"input":Y=v(u,D),B=v(u,G),Q=[];break;case"select":Y=AA(u,D),B=AA(u,G),Q=[];break;case"textarea":Y=V9(u,D),B=V9(u,G),Q=[];break;default:if(Y=D,B=G,typeof Y.onClick!=="function"&&typeof B.onClick==="function")aZ(u);break}W9(O,B);var U,W,q=null;for(U in Y){if(B.hasOwnProperty(U)||!Y.hasOwnProperty(U)||Y[U]==null)continue;if(U===DG){var R=Y[U];for(W in R)if(R.hasOwnProperty(W)){if(!q)q={};q[W]=""}}else if(U===mA||U===OG);else if(U===iZ||U===Y1);else if(U===Z2);else if(p0.hasOwnProperty(U)){if(!Q)Q=[]}else(Q=Q||[]).push(U,null)}for(U in B){var T=B[U],N=Y!=null?Y[U]:void 0;if(!B.hasOwnProperty(U)||T===N||T==null&&N==null)continue;if(U===DG){if(T)Object.freeze(T);if(N){for(W in N)if(N.hasOwnProperty(W)&&(!T||!T.hasOwnProperty(W))){if(!q)q={};q[W]=""}for(W in T)if(T.hasOwnProperty(W)&&N[W]!==T[W]){if(!q)q={};q[W]=T[W]}}else{if(!q){if(!Q)Q=[];Q.push(U,q)}q=T}}else if(U===mA){var g=T?T[nZ]:void 0,C=N?N[nZ]:void 0;if(g!=null){if(C!==g)(Q=Q||[]).push(U,g)}}else if(U===OG){if(typeof T==="string"||typeof T==="number")(Q=Q||[]).push(U,""+T)}else if(U===iZ||U===Y1);else if(p0.hasOwnProperty(U)){if(T!=null){if(typeof T!=="function")pZ(U,T);if(U==="onScroll")H0("scroll",u)}if(!Q&&N!==T)Q=[]}else(Q=Q||[]).push(U,T)}if(q)$q(q,B[DG]),(Q=Q||[]).push(DG,q);return Q}function Qz(u,O,D,G,Z){if(D==="input"&&Z.type==="radio"&&Z.name!=null)F(u,Z);var Q=c1(D,G),Y=c1(D,Z);switch(Ez(u,O,Q,Y),D){case"input":x(u,Z);break;case"textarea":L7(u,Z);break;case"select":Eq(u,Z);break}}function Vz(u){{var O=u.toLowerCase();if(!qZ.hasOwnProperty(O))return null;return qZ[O]||null}}function Xz(u,O,D,G,Z,Q,Y){var B,U;switch(B=c1(O,D),dZ(O,D),O){case"dialog":H0("cancel",u),H0("close",u);break;case"iframe":case"object":case"embed":H0("load",u);break;case"video":case"audio":for(var W=0;W<kA.length;W++)H0(kA[W],u);break;case"source":H0("error",u);break;case"img":case"image":case"link":H0("error",u),H0("load",u);break;case"details":H0("toggle",u);break;case"input":S(u,D),H0("invalid",u);break;case"option":Z0(u,D);break;case"select":JA(u,D),H0("invalid",u);break;case"textarea":S7(u,D),H0("invalid",u);break}W9(O,D);{U=new Set;var q=u.attributes;for(var R=0;R<q.length;R++){var T=q[R].name.toLowerCase();switch(T){case"value":break;case"checked":break;case"selected":break;default:U.add(q[R].name)}}}var N=null;for(var g in D){if(!D.hasOwnProperty(g))continue;var C=D[g];if(g===OG){if(typeof C==="string"){if(u.textContent!==C){if(D[Y1]!==!0)rZ(u.textContent,C,Q,Y);N=[OG,C]}}else if(typeof C==="number"){if(u.textContent!==""+C){if(D[Y1]!==!0)rZ(u.textContent,C,Q,Y);N=[OG,""+C]}}}else if(p0.hasOwnProperty(g)){if(C!=null){if(typeof C!=="function")pZ(g,C);if(g==="onScroll")H0("scroll",u)}}else if(Y&&!0&&typeof B==="boolean"){var a=void 0,Qu=B&&BO?null:WO(g);if(D[Y1]===!0);else if(g===iZ||g===Y1||g==="value"||g==="checked"||g==="selected");else if(g===mA){var Zu=u.innerHTML,fu=C?C[nZ]:void 0;if(fu!=null){var Pu=X2(u,fu);if(Pu!==Zu)lA(g,Zu,Pu)}}else if(g===DG){if(U.delete(g),V2){var $=wq(C);if(a=u.getAttribute("style"),$!==a)lA(g,a,$)}}else if(B&&!BO){if(U.delete(g.toLowerCase()),a=aE(u,g,C),C!==a)lA(g,a,C)}else if(!A0(g,Qu,B)&&!B0(g,C,Qu,B)){var k=!1;if(Qu!==null)U.delete(Qu.attributeName),a=eD(u,g,C,Qu);else{var I=G;if(I===RE)I=Y9(O);if(I===RE)U.delete(g.toLowerCase());else{var c=Vz(g);if(c!==null&&c!==g)k=!0,U.delete(c);U.delete(g)}a=aE(u,g,C)}var Du=BO;if(!Du&&C!==a&&!k)lA(g,a,C)}}}if(Y){if(U.size>0&&D[Y1]!==!0)Q2(U)}switch(O){case"input":TE(u),n(u,D,!0);break;case"textarea":TE(u),z7(u);break;case"select":case"option":break;default:if(typeof D.onClick==="function")aZ(u);break}return N}function Yz(u,O,D){var G=u.nodeValue!==O;return G}function IX(u,O){{if(yO)return;yO=!0,X("Did not expect server HTML to contain a <%s> in <%s>.",O.nodeName.toLowerCase(),u.nodeName.toLowerCase())}}function jX(u,O){{if(yO)return;yO=!0,X('Did not expect server HTML to contain the text node "%s" in <%s>.',O.nodeValue,u.nodeName.toLowerCase())}}function FX(u,O,D){{if(yO)return;yO=!0,X("Expected server HTML to contain a matching <%s> in <%s>.",O,u.nodeName.toLowerCase())}}function NX(u,O){{if(O==="")return;if(yO)return;yO=!0,X('Expected server HTML to contain a matching text node for "%s" in <%s>.',O,u.nodeName.toLowerCase())}}function Bz(u,O,D){switch(O){case"input":Hu(u,D);return;case"textarea":Aq(u,D);return;case"select":Gq(u,D);return}}var cA=function(){},iA=function(){};{var Uz=["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"],B2=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],vz=B2.concat(["button"]),Hz=["dd","dt","li","option","optgroup","p","rp","rt"],U2={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};iA=function(u,O){var D=ju({},u||U2),G={tag:O};if(B2.indexOf(O)!==-1)D.aTagInScope=null,D.buttonTagInScope=null,D.nobrTagInScope=null;if(vz.indexOf(O)!==-1)D.pTagInButtonScope=null;if(Uz.indexOf(O)!==-1&&O!=="address"&&O!=="div"&&O!=="p")D.listItemTagAutoclosing=null,D.dlItemTagAutoclosing=null;if(D.current=G,O==="form")D.formTag=G;if(O==="a")D.aTagInScope=G;if(O==="button")D.buttonTagInScope=G;if(O==="nobr")D.nobrTagInScope=G;if(O==="p")D.pTagInButtonScope=G;if(O==="li")D.listItemTagAutoclosing=G;if(O==="dd"||O==="dt")D.dlItemTagAutoclosing=G;return D};var Wz=function(u,O){switch(O){case"select":return u==="option"||u==="optgroup"||u==="#text";case"optgroup":return u==="option"||u==="#text";case"option":return u==="#text";case"tr":return u==="th"||u==="td"||u==="style"||u==="script"||u==="template";case"tbody":case"thead":case"tfoot":return u==="tr"||u==="style"||u==="script"||u==="template";case"colgroup":return u==="col"||u==="template";case"table":return u==="caption"||u==="colgroup"||u==="tbody"||u==="tfoot"||u==="thead"||u==="style"||u==="script"||u==="template";case"head":return u==="base"||u==="basefont"||u==="bgsound"||u==="link"||u==="meta"||u==="title"||u==="noscript"||u==="noframes"||u==="style"||u==="script"||u==="template";case"html":return u==="head"||u==="body"||u==="frameset";case"frameset":return u==="frame";case"#document":return u==="html"}switch(u){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return O!=="h1"&&O!=="h2"&&O!=="h3"&&O!=="h4"&&O!=="h5"&&O!=="h6";case"rp":case"rt":return Hz.indexOf(O)===-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 O==null}return!0},Kz=function(u,O){switch(u){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 O.pTagInButtonScope;case"form":return O.formTag||O.pTagInButtonScope;case"li":return O.listItemTagAutoclosing;case"dd":case"dt":return O.dlItemTagAutoclosing;case"button":return O.buttonTagInScope;case"a":return O.aTagInScope;case"nobr":return O.nobrTagInScope}return null},v2={};cA=function(u,O,D){D=D||U2;var G=D.current,Z=G&&G.tag;if(O!=null){if(u!=null)X("validateDOMNesting: when childText is passed, childTag should be null");u="#text"}var Q=Wz(u,Z)?null:G,Y=Q?null:Kz(u,D),B=Q||Y;if(!B)return;var U=B.tag,W=!!Q+"|"+u+"|"+U;if(v2[W])return;v2[W]=!0;var q=u,R="";if(u==="#text")if(/\S/.test(O))q="Text nodes";else q="Whitespace text nodes",R=" Make sure you don't have any extra whitespace between tags on each line of your source code.";else q="<"+u+">";if(Q){var T="";if(U==="table"&&u==="tr")T+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.";X("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",q,U,R,T)}else X("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",q,U)}}var tZ="suppressHydrationWarning",oZ="$",eZ="/$",nA="$?",dA="$!",qz="style",gX=null,fX=null;function Mz(u){var O,D,G=u.nodeType;switch(G){case IE:case U9:{O=G===IE?"#document":"#fragment";var Z=u.documentElement;D=Z?Z.namespaceURI:B9(null,"");break}default:{var Q=G===N0?u.parentNode:u,Y=Q.namespaceURI||null;O=Q.tagName,D=B9(Y,O);break}}{var B=O.toLowerCase(),U=iA(null,B);return{namespace:D,ancestorInfo:U}}}function Sz(u,O,D){{var G=u,Z=B9(G.namespace,O),Q=iA(G.ancestorInfo,O);return{namespace:Z,ancestorInfo:Q}}}function PX(u){return u}function Lz(u){gX=qS(),fX=bL();var O=null;return zU(!1),O}function zz(u){xL(fX),zU(gX),gX=null,fX=null}function Tz(u,O,D,G,Z){var Q;{var Y=G;if(cA(u,null,Y.ancestorInfo),typeof O.children==="string"||typeof O.children==="number"){var B=""+O.children,U=iA(Y.ancestorInfo,u);cA(null,B,U)}Q=Y.namespace}var W=Gz(u,O,D,Q);return rA(Z,W),mX(W,O),W}function wz(u,O){u.appendChild(O)}function Rz(u,O,D,G,Z){switch(Jz(u,O,D,G),O){case"button":case"input":case"select":case"textarea":return!!D.autoFocus;case"img":return!0;default:return!1}}function $z(u,O,D,G,Z,Q){{var Y=Q;if(typeof G.children!==typeof D.children&&(typeof G.children==="string"||typeof G.children==="number")){var B=""+G.children,U=iA(Y.ancestorInfo,O);cA(null,B,U)}}return Zz(u,O,D,G)}function CX(u,O){return u==="textarea"||u==="noscript"||typeof O.children==="string"||typeof O.children==="number"||typeof O.dangerouslySetInnerHTML==="object"&&O.dangerouslySetInnerHTML!==null&&O.dangerouslySetInnerHTML.__html!=null}function Iz(u,O,D,G){{var Z=D;cA(null,u,Z.ancestorInfo)}var Q=Az(u,O);return rA(G,Q),Q}function jz(){var u=window.event;if(u===void 0)return CE;return TU(u.type)}var bX=typeof setTimeout==="function"?setTimeout:void 0,Fz=typeof clearTimeout==="function"?clearTimeout:void 0,xX=-1,H2=typeof Promise==="function"?Promise:void 0,Nz=typeof queueMicrotask==="function"?queueMicrotask:typeof H2!=="undefined"?function(u){return H2.resolve(null).then(u).catch(gz)}:bX;function gz(u){setTimeout(function(){throw u})}function fz(u,O,D,G){switch(O){case"button":case"input":case"select":case"textarea":if(D.autoFocus)u.focus();return;case"img":{if(D.src)u.src=D.src;return}}}function Pz(u,O,D,G,Z,Q){Qz(u,O,D,G,Z),mX(u,Z)}function W2(u){KZ(u,"")}function Cz(u,O,D){u.nodeValue=D}function bz(u,O){u.appendChild(O)}function xz(u,O){var D;if(u.nodeType===N0)D=u.parentNode,D.insertBefore(O,u);else D=u,D.appendChild(O);var G=u._reactRootContainer;if((G===null||G===void 0)&&D.onclick===null)aZ(D)}function hz(u,O,D){u.insertBefore(O,D)}function kz(u,O,D){if(u.nodeType===N0)u.parentNode.insertBefore(O,D);else u.insertBefore(O,D)}function _z(u,O){u.removeChild(O)}function yz(u,O){if(u.nodeType===N0)u.parentNode.removeChild(O);else u.removeChild(O)}function hX(u,O){var D=O,G=0;do{var Z=D.nextSibling;if(u.removeChild(D),Z&&Z.nodeType===N0){var Q=Z.data;if(Q===eZ)if(G===0){u.removeChild(Z),jA(O);return}else G--;else if(Q===oZ||Q===nA||Q===dA)G++}D=Z}while(D);jA(O)}function mz(u,O){if(u.nodeType===N0)hX(u.parentNode,O);else if(u.nodeType===_O)hX(u,O);jA(u)}function lz(u){u=u;var O=u.style;if(typeof O.setProperty==="function")O.setProperty("display","none","important");else O.display="none"}function cz(u){u.nodeValue=""}function iz(u,O){u=u;var D=O[qz],G=D!==void 0&&D!==null&&D.hasOwnProperty("display")?D.display:null;u.style.display=v9("display",G)}function nz(u,O){u.nodeValue=O}function dz(u){if(u.nodeType===_O)u.textContent="";else if(u.nodeType===IE){if(u.documentElement)u.removeChild(u.documentElement)}}function pz(u,O,D){if(u.nodeType!==_O||O.toLowerCase()!==u.nodeName.toLowerCase())return null;return u}function sz(u,O){if(O===""||u.nodeType!==$E)return null;return u}function rz(u){if(u.nodeType!==N0)return null;return u}function K2(u){return u.data===nA}function kX(u){return u.data===dA}function az(u){var O=u.nextSibling&&u.nextSibling.dataset,D,G,Z;if(O)D=O.dgst,G=O.msg,Z=O.stck;return{message:G,digest:D,stack:Z}}function tz(u,O){u._reactRetry=O}function uQ(u){for(;u!=null;u=u.nextSibling){var O=u.nodeType;if(O===_O||O===$E)break;if(O===N0){var D=u.data;if(D===oZ||D===dA||D===nA)break;if(D===eZ)return null}}return u}function pA(u){return uQ(u.nextSibling)}function oz(u){return uQ(u.firstChild)}function ez(u){return uQ(u.firstChild)}function uT(u){return uQ(u.nextSibling)}function OT(u,O,D,G,Z,Q,Y){rA(Q,u),mX(u,D);var B;{var U=Z;B=U.namespace}var W=(Q.mode&ku)!==Bu;return Xz(u,O,D,B,G,W,Y)}function DT(u,O,D,G){rA(D,u);var Z=(D.mode&ku)!==Bu;return Yz(u,O)}function ET(u,O){rA(O,u)}function GT(u){var O=u.nextSibling,D=0;while(O){if(O.nodeType===N0){var G=O.data;if(G===eZ)if(D===0)return pA(O);else D--;else if(G===oZ||G===dA||G===nA)D++}O=O.nextSibling}return null}function q2(u){var O=u.previousSibling,D=0;while(O){if(O.nodeType===N0){var G=O.data;if(G===oZ||G===dA||G===nA)if(D===0)return O;else D--;else if(G===eZ)D++}O=O.previousSibling}return null}function AT(u){jA(u)}function JT(u){jA(u)}function ZT(u){return u!=="head"&&u!=="body"}function QT(u,O,D,G){var Z=!0;rZ(O.nodeValue,D,G,Z)}function VT(u,O,D,G,Z,Q){if(O[tZ]!==!0){var Y=!0;rZ(G.nodeValue,Z,Q,Y)}}function XT(u,O){if(O.nodeType===_O)IX(u,O);else if(O.nodeType===N0);else jX(u,O)}function YT(u,O){{var D=u.parentNode;if(D!==null)if(O.nodeType===_O)IX(D,O);else if(O.nodeType===N0);else jX(D,O)}}function BT(u,O,D,G,Z){if(Z||O[tZ]!==!0)if(G.nodeType===_O)IX(D,G);else if(G.nodeType===N0);else jX(D,G)}function UT(u,O,D){FX(u,O)}function vT(u,O){NX(u,O)}function HT(u,O,D){{var G=u.parentNode;if(G!==null)FX(G,O)}}function WT(u,O){{var D=u.parentNode;if(D!==null)NX(D,O)}}function KT(u,O,D,G,Z,Q){if(Q||O[tZ]!==!0)FX(D,G)}function qT(u,O,D,G,Z){if(Z||O[tZ]!==!0)NX(D,G)}function MT(u){X("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",u.nodeName.toLowerCase())}function ST(u){_A(u)}var aG=Math.random().toString(36).slice(2),tG="__reactFiber$"+aG,_X="__reactProps$"+aG,sA="__reactContainer$"+aG,yX="__reactEvents$"+aG,LT="__reactListeners$"+aG,zT="__reactHandles$"+aG;function TT(u){delete u[tG],delete u[_X],delete u[yX],delete u[LT],delete u[zT]}function rA(u,O){O[tG]=u}function OQ(u,O){O[sA]=u}function M2(u){u[sA]=null}function aA(u){return!!u[sA]}function EG(u){var O=u[tG];if(O)return O;var D=u.parentNode;while(D){if(O=D[sA]||D[tG],O){var G=O.alternate;if(O.child!==null||G!==null&&G.child!==null){var Z=q2(u);while(Z!==null){var Q=Z[tG];if(Q)return Q;Z=q2(Z)}}return O}u=D,D=u.parentNode}return null}function B1(u){var O=u[tG]||u[sA];if(O)if(O.tag===P||O.tag===m||O.tag===i||O.tag===w)return O;else return null;return null}function oG(u){if(u.tag===P||u.tag===m)return u.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function DQ(u){return u[_X]||null}function mX(u,O){u[_X]=O}function wT(u){var O=u[yX];if(O===void 0)O=u[yX]=new Set;return O}var S2={},L2=E.ReactDebugCurrentFrame;function EQ(u){if(u){var O=u._owner,D=O1(u.type,u._source,O?O.type:null);L2.setExtraStackFrame(D)}else L2.setExtraStackFrame(null)}function hD(u,O,D,G,Z){{var Q=Function.call.bind(sO);for(var Y in u)if(Q(u,Y)){var B=void 0;try{if(typeof u[Y]!=="function"){var U=Error((G||"React class")+": "+D+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw U.name="Invariant Violation",U}B=u[Y](O,Y,G,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(W){B=W}if(B&&!(B instanceof Error))EQ(Z),X("%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",D,Y,typeof B),EQ(null);if(B instanceof Error&&!(B.message in S2))S2[B.message]=!0,EQ(Z),X("Failed %s type: %s",D,B.message),EQ(null)}}}var lX=[],GQ;GQ=[];var bE=-1;function U1(u){return{current:u}}function MO(u,O){if(bE<0){X("Unexpected pop.");return}if(O!==GQ[bE])X("Unexpected Fiber popped.");u.current=lX[bE],lX[bE]=null,GQ[bE]=null,bE--}function SO(u,O,D){bE++,lX[bE]=u.current,GQ[bE]=D,u.current=O}var z2={},GD={};Object.freeze(GD);var xE=U1(GD),JE=U1(!1),cX=GD;function eG(u,O,D){{if(D&&ZE(O))return cX;return xE.current}}function T2(u,O,D){{var G=u.stateNode;G.__reactInternalMemoizedUnmaskedChildContext=O,G.__reactInternalMemoizedMaskedChildContext=D}}function u8(u,O){{var D=u.type,G=D.contextTypes;if(!G)return GD;var Z=u.stateNode;if(Z&&Z.__reactInternalMemoizedUnmaskedChildContext===O)return Z.__reactInternalMemoizedMaskedChildContext;var Q={};for(var Y in G)Q[Y]=O[Y];{var B=$u(u)||"Unknown";hD(G,Q,"context",B)}if(Z)T2(u,O,Q);return Q}}function AQ(){return JE.current}function ZE(u){{var O=u.childContextTypes;return O!==null&&O!==void 0}}function JQ(u){MO(JE,u),MO(xE,u)}function iX(u){MO(JE,u),MO(xE,u)}function w2(u,O,D){{if(xE.current!==GD)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");SO(xE,O,u),SO(JE,D,u)}}function R2(u,O,D){{var G=u.stateNode,Z=O.childContextTypes;if(typeof G.getChildContext!=="function"){{var Q=$u(u)||"Unknown";if(!z2[Q])z2[Q]=!0,X("%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.",Q,Q)}return D}var Y=G.getChildContext();for(var B in Y)if(!(B in Z))throw new Error(($u(u)||"Unknown")+'.getChildContext(): key "'+B+'" is not defined in childContextTypes.');{var U=$u(u)||"Unknown";hD(Z,Y,"child context",U)}return ju({},D,Y)}}function ZQ(u){{var O=u.stateNode,D=O&&O.__reactInternalMemoizedMergedChildContext||GD;return cX=xE.current,SO(xE,D,u),SO(JE,JE.current,u),!0}}function $2(u,O,D){{var G=u.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(D){var Z=R2(u,O,cX);G.__reactInternalMemoizedMergedChildContext=Z,MO(JE,u),MO(xE,u),SO(xE,Z,u),SO(JE,D,u)}else MO(JE,u),SO(JE,D,u)}}function RT(u){{if(!ZM(u)||u.tag!==M)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 O=u;do{switch(O.tag){case w:return O.stateNode.context;case M:{var D=O.type;if(ZE(D))return O.stateNode.__reactInternalMemoizedMergedChildContext;break}}O=O.return}while(O!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var v1=0,QQ=1,hE=null,nX=!1,dX=!1;function I2(u){if(hE===null)hE=[u];else hE.push(u)}function $T(u){nX=!0,I2(u)}function j2(){if(nX)H1()}function H1(){if(!dX&&hE!==null){dX=!0;var u=0,O=xD();try{var D=!0,G=hE;e0(OD);for(;u<G.length;u++){var Z=G[u];do Z=Z(D);while(Z!==null)}hE=null,nX=!1}catch(Q){if(hE!==null)hE=hE.slice(u+1);throw t7(TZ,H1),Q}finally{e0(O),dX=!1}}return null}var O8=[],D8=0,VQ=null,XQ=0,MD=[],SD=0,GG=null,kE=1,_E="";function IT(u){return JG(),(u.flags&c7)!==vu}function jT(u){return JG(),XQ}function FT(){var u=_E,O=kE,D=O&~NT(O);return D.toString(32)+u}function AG(u,O){JG(),O8[D8++]=XQ,O8[D8++]=VQ,VQ=u,XQ=O}function F2(u,O,D){JG(),MD[SD++]=kE,MD[SD++]=_E,MD[SD++]=GG,GG=u;var G=kE,Z=_E,Q=YQ(G)-1,Y=G&~(1<<Q),B=D+1,U=YQ(O)+Q;if(U>30){var W=Q-Q%5,q=(1<<W)-1,R=(Y&q).toString(32),T=Y>>W,N=Q-W,g=YQ(O)+N,C=B<<N,a=C|T,Qu=R+Z;kE=1<<g|a,_E=Qu}else{var Zu=B<<Q,fu=Zu|Y,Pu=Z;kE=1<<U|fu,_E=Pu}}function pX(u){JG();var O=u.return;if(O!==null){var D=1,G=0;AG(u,D),F2(u,D,G)}}function YQ(u){return 32-EU(u)}function NT(u){return 1<<YQ(u)-1}function sX(u){while(u===VQ)VQ=O8[--D8],O8[D8]=null,XQ=O8[--D8],O8[D8]=null;while(u===GG)GG=MD[--SD],MD[SD]=null,_E=MD[--SD],MD[SD]=null,kE=MD[--SD],MD[SD]=null}function gT(){if(JG(),GG!==null)return{id:kE,overflow:_E};else return null}function fT(u,O){JG(),MD[SD++]=kE,MD[SD++]=_E,MD[SD++]=GG,kE=O.id,_E=O.overflow,GG=u}function JG(){if(!GO())X("Expected to be hydrating. This is a bug in React. Please file an issue.")}var EO=null,LD=null,kD=!1,ZG=!1,W1=null;function PT(){if(kD)X("We should not be hydrating here. This is a bug in React. Please file a bug.")}function N2(){ZG=!0}function CT(){return ZG}function bT(u){var O=u.stateNode.containerInfo;return LD=ez(O),EO=u,kD=!0,W1=null,ZG=!1,!0}function xT(u,O,D){if(LD=uT(O),EO=u,kD=!0,W1=null,ZG=!1,D!==null)fT(u,D);return!0}function g2(u,O){switch(u.tag){case w:{XT(u.stateNode.containerInfo,O);break}case P:{var D=(u.mode&ku)!==Bu;BT(u.type,u.memoizedProps,u.stateNode,O,D);break}case i:{var G=u.memoizedState;if(G.dehydrated!==null)YT(G.dehydrated,O);break}}}function f2(u,O){g2(u,O);var D=i$();D.stateNode=O,D.return=u;var G=u.deletions;if(G===null)u.deletions=[D],u.flags|=i1;else G.push(D)}function rX(u,O){{if(ZG)return;switch(u.tag){case w:{var D=u.stateNode.containerInfo;switch(O.tag){case P:var{type:G,pendingProps:Z}=O;UT(D,G);break;case m:var Q=O.pendingProps;vT(D,Q);break}break}case P:{var{type:Y,memoizedProps:B,stateNode:U}=u;switch(O.tag){case P:{var{type:W,pendingProps:q}=O,R=(u.mode&ku)!==Bu;KT(Y,B,U,W,q,R);break}case m:{var T=O.pendingProps,N=(u.mode&ku)!==Bu;qT(Y,B,U,T,N);break}}break}case i:{var g=u.memoizedState,C=g.dehydrated;if(C!==null)switch(O.tag){case P:var{type:a,pendingProps:Qu}=O;HT(C,a);break;case m:var Zu=O.pendingProps;WT(C,Zu);break}break}default:return}}}function P2(u,O){O.flags=O.flags&~FE|g0,rX(u,O)}function C2(u,O){switch(u.tag){case P:{var{type:D,pendingProps:G}=u,Z=pz(O,D);if(Z!==null)return u.stateNode=Z,EO=u,LD=oz(Z),!0;return!1}case m:{var Q=u.pendingProps,Y=sz(O,Q);if(Y!==null)return u.stateNode=Y,EO=u,LD=null,!0;return!1}case i:{var B=rz(O);if(B!==null){var U={dehydrated:B,treeContext:gT(),retryLane:eO};u.memoizedState=U;var W=n$(B);return W.return=u,u.child=W,EO=u,LD=null,!0}return!1}default:return!1}}function aX(u){return(u.mode&ku)!==Bu&&(u.flags&au)===vu}function tX(u){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function oX(u){if(!kD)return;var O=LD;if(!O){if(aX(u))rX(EO,u),tX();P2(EO,u),kD=!1,EO=u;return}var D=O;if(!C2(u,O)){if(aX(u))rX(EO,u),tX();O=pA(D);var G=EO;if(!O||!C2(u,O)){P2(EO,u),kD=!1,EO=u;return}f2(G,D)}}function hT(u,O,D){var G=u.stateNode,Z=!ZG,Q=OT(G,u.type,u.memoizedProps,O,D,u,Z);if(u.updateQueue=Q,Q!==null)return!0;return!1}function kT(u){var{stateNode:O,memoizedProps:D}=u,G=DT(O,D,u);if(G){var Z=EO;if(Z!==null)switch(Z.tag){case w:{var Q=Z.stateNode.containerInfo,Y=(Z.mode&ku)!==Bu;QT(Q,O,D,Y);break}case P:{var{type:B,memoizedProps:U,stateNode:W}=Z,q=(Z.mode&ku)!==Bu;VT(B,U,W,O,D,q);break}}}return G}function _T(u){var O=u.memoizedState,D=O!==null?O.dehydrated:null;if(!D)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");ET(D,u)}function yT(u){var O=u.memoizedState,D=O!==null?O.dehydrated:null;if(!D)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 GT(D)}function b2(u){var O=u.return;while(O!==null&&O.tag!==P&&O.tag!==w&&O.tag!==i)O=O.return;EO=O}function BQ(u){if(u!==EO)return!1;if(!kD)return b2(u),kD=!0,!1;if(u.tag!==w&&(u.tag!==P||ZT(u.type)&&!CX(u.type,u.memoizedProps))){var O=LD;if(O)if(aX(u))x2(u),tX();else while(O)f2(u,O),O=pA(O)}if(b2(u),u.tag===i)LD=yT(u);else LD=EO?pA(u.stateNode):null;return!0}function mT(){return kD&&LD!==null}function x2(u){var O=LD;while(O)g2(u,O),O=pA(O)}function E8(){EO=null,LD=null,kD=!1,ZG=!1}function h2(){if(W1!==null)gv(W1),W1=null}function GO(){return kD}function eX(u){if(W1===null)W1=[u];else W1.push(u)}var lT=E.ReactCurrentBatchConfig,cT=null;function iT(){return lT.transition}var _D={recordUnsafeLifecycleWarnings:function(u,O){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(u,O){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var nT=function(u){var O=null,D=u;while(D!==null){if(D.mode&R0)O=D;D=D.return}return O},QG=function(u){var O=[];return u.forEach(function(D){O.push(D)}),O.sort().join(", ")},tA=[],oA=[],eA=[],uJ=[],OJ=[],DJ=[],VG=new Set;_D.recordUnsafeLifecycleWarnings=function(u,O){if(VG.has(u.type))return;if(typeof O.componentWillMount==="function"&&O.componentWillMount.__suppressDeprecationWarning!==!0)tA.push(u);if(u.mode&R0&&typeof O.UNSAFE_componentWillMount==="function")oA.push(u);if(typeof O.componentWillReceiveProps==="function"&&O.componentWillReceiveProps.__suppressDeprecationWarning!==!0)eA.push(u);if(u.mode&R0&&typeof O.UNSAFE_componentWillReceiveProps==="function")uJ.push(u);if(typeof O.componentWillUpdate==="function"&&O.componentWillUpdate.__suppressDeprecationWarning!==!0)OJ.push(u);if(u.mode&R0&&typeof O.UNSAFE_componentWillUpdate==="function")DJ.push(u)},_D.flushPendingUnsafeLifecycleWarnings=function(){var u=new Set;if(tA.length>0)tA.forEach(function(T){u.add($u(T)||"Component"),VG.add(T.type)}),tA=[];var O=new Set;if(oA.length>0)oA.forEach(function(T){O.add($u(T)||"Component"),VG.add(T.type)}),oA=[];var D=new Set;if(eA.length>0)eA.forEach(function(T){D.add($u(T)||"Component"),VG.add(T.type)}),eA=[];var G=new Set;if(uJ.length>0)uJ.forEach(function(T){G.add($u(T)||"Component"),VG.add(T.type)}),uJ=[];var Z=new Set;if(OJ.length>0)OJ.forEach(function(T){Z.add($u(T)||"Component"),VG.add(T.type)}),OJ=[];var Q=new Set;if(DJ.length>0)DJ.forEach(function(T){Q.add($u(T)||"Component"),VG.add(T.type)}),DJ=[];if(O.size>0){var Y=QG(O);X(`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`,Y)}if(G.size>0){var B=QG(G);X(`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`,B)}if(Q.size>0){var U=QG(Q);X(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
Please update the following components: %s`,U)}if(u.size>0){var W=QG(u);V(`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`,W)}if(D.size>0){var q=QG(D);V(`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`,q)}if(Z.size>0){var R=QG(Z);V(`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`,R)}};var UQ=new Map,k2=new Set;_D.recordLegacyContextWarning=function(u,O){var D=nT(u);if(D===null){X("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(k2.has(u.type))return;var G=UQ.get(D);if(u.type.contextTypes!=null||u.type.childContextTypes!=null||O!==null&&typeof O.getChildContext==="function"){if(G===void 0)G=[],UQ.set(D,G);G.push(u)}},_D.flushLegacyContextWarning=function(){UQ.forEach(function(u,O){if(u.length===0)return;var D=u[0],G=new Set;u.forEach(function(Q){G.add($u(Q)||"Component"),k2.add(Q.type)});var Z=QG(G);try{L0(D),X(`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`,Z)}finally{r0()}})},_D.discardPendingWarnings=function(){tA=[],oA=[],eA=[],uJ=[],OJ=[],DJ=[],UQ=new Map}}var uY,OY,DY,EY,GY,_2=function(u,O){};uY=!1,OY=!1,DY={},EY={},GY={},_2=function(u,O){if(u===null||typeof u!=="object")return;if(!u._store||u._store.validated||u.key!=null)return;if(typeof u._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.");u._store.validated=!0;var D=$u(O)||"Component";if(EY[D])return;EY[D]=!0,X('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.')};function dT(u){return u.prototype&&u.prototype.isReactComponent}function EJ(u,O,D){var G=D.ref;if(G!==null&&typeof G!=="function"&&typeof G!=="object"){if((u.mode&R0||d0)&&!(D._owner&&D._self&&D._owner.stateNode!==D._self)&&!(D._owner&&D._owner.tag!==M)&&!(typeof D.type==="function"&&!dT(D.type))&&D._owner){var Z=$u(u)||"Component";if(!DY[Z])X('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',Z,G),DY[Z]=!0}if(D._owner){var Q=D._owner,Y;if(Q){var B=Q;if(B.tag!==M)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");Y=B.stateNode}if(!Y)throw new Error("Missing owner for string ref "+G+". This error is likely caused by a bug in React. Please file an issue.");var U=Y;s0(G,"ref");var W=""+G;if(O!==null&&O.ref!==null&&typeof O.ref==="function"&&O.ref._stringRef===W)return O.ref;var q=function(R){var T=U.refs;if(R===null)delete T[W];else T[W]=R};return q._stringRef=W,q}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(!D._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 vQ(u,O){var D=Object.prototype.toString.call(O);throw new Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.")}function HQ(u){{var O=$u(u)||"Component";if(GY[O])return;GY[O]=!0,X("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 y2(u){var{_payload:O,_init:D}=u;return D(O)}function m2(u){function O($,k){if(!u)return;var I=$.deletions;if(I===null)$.deletions=[k],$.flags|=i1;else I.push(k)}function D($,k){if(!u)return null;var I=k;while(I!==null)O($,I),I=I.sibling;return null}function G($,k){var I=new Map,c=k;while(c!==null){if(c.key!==null)I.set(c.key,c);else I.set(c.index,c);c=c.sibling}return I}function Z($,k){var I=qG($,k);return I.index=0,I.sibling=null,I}function Q($,k,I){if($.index=I,!u)return $.flags|=c7,k;var c=$.alternate;if(c!==null){var Du=c.index;if(Du<k)return $.flags|=g0,k;else return Du}else return $.flags|=g0,k}function Y($){if(u&&$.alternate===null)$.flags|=g0;return $}function B($,k,I,c){if(k===null||k.tag!==m){var Du=O5(I,$.mode,c);return Du.return=$,Du}else{var o=Z(k,I);return o.return=$,o}}function U($,k,I,c){var Du=I.type;if(Du===uE)return q($,k,I.props.children,c,I.key);if(k!==null){if(k.elementType===Du||pv(k,I)||typeof Du==="object"&&Du!==null&&Du.$$typeof===Ru&&y2(Du)===k.type){var o=Z(k,I.props);return o.ref=EJ($,k,I),o.return=$,o._debugSource=I._source,o._debugOwner=I._owner,o}}var Wu=u5(I,$.mode,c);return Wu.ref=EJ($,k,I),Wu.return=$,Wu}function W($,k,I,c){if(k===null||k.tag!==j||k.stateNode.containerInfo!==I.containerInfo||k.stateNode.implementation!==I.implementation){var Du=D5(I,$.mode,c);return Du.return=$,Du}else{var o=Z(k,I.children||[]);return o.return=$,o}}function q($,k,I,c,Du){if(k===null||k.tag!==t){var o=I1(I,$.mode,c,Du);return o.return=$,o}else{var Wu=Z(k,I);return Wu.return=$,Wu}}function R($,k,I){if(typeof k==="string"&&k!==""||typeof k==="number"){var c=O5(""+k,$.mode,I);return c.return=$,c}if(typeof k==="object"&&k!==null){switch(k.$$typeof){case gD:{var Du=u5(k,$.mode,I);return Du.ref=EJ($,null,k),Du.return=$,Du}case KD:{var o=D5(k,$.mode,I);return o.return=$,o}case Ru:{var{_payload:Wu,_init:zu}=k;return R($,zu(Wu),I)}}if(ru(k)||q0(k)){var D0=I1(k,$.mode,I,null);return D0.return=$,D0}vQ($,k)}if(typeof k==="function")HQ($);return null}function T($,k,I,c){var Du=k!==null?k.key:null;if(typeof I==="string"&&I!==""||typeof I==="number"){if(Du!==null)return null;return B($,k,""+I,c)}if(typeof I==="object"&&I!==null){switch(I.$$typeof){case gD:if(I.key===Du)return U($,k,I,c);else return null;case KD:if(I.key===Du)return W($,k,I,c);else return null;case Ru:{var{_payload:o,_init:Wu}=I;return T($,k,Wu(o),c)}}if(ru(I)||q0(I)){if(Du!==null)return null;return q($,k,I,c,null)}vQ($,I)}if(typeof I==="function")HQ($);return null}function N($,k,I,c,Du){if(typeof c==="string"&&c!==""||typeof c==="number"){var o=$.get(I)||null;return B(k,o,""+c,Du)}if(typeof c==="object"&&c!==null){switch(c.$$typeof){case gD:{var Wu=$.get(c.key===null?I:c.key)||null;return U(k,Wu,c,Du)}case KD:{var zu=$.get(c.key===null?I:c.key)||null;return W(k,zu,c,Du)}case Ru:var{_payload:D0,_init:nu}=c;return N($,k,I,nu(D0),Du)}if(ru(c)||q0(c)){var j0=$.get(I)||null;return q(k,j0,c,Du,null)}vQ(k,c)}if(typeof c==="function")HQ(k);return null}function g($,k,I){{if(typeof $!=="object"||$===null)return k;switch($.$$typeof){case gD:case KD:_2($,I);var c=$.key;if(typeof c!=="string")break;if(k===null){k=new Set,k.add(c);break}if(!k.has(c)){k.add(c);break}X("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.",c);break;case Ru:var{_payload:Du,_init:o}=$;g(o(Du),k,I);break}}return k}function C($,k,I,c){{var Du=null;for(var o=0;o<I.length;o++){var Wu=I[o];Du=g(Wu,Du,$)}}var zu=null,D0=null,nu=k,j0=0,du=0,$0=null;for(;nu!==null&&du<I.length;du++){if(nu.index>du)$0=nu,nu=null;else $0=nu.sibling;var zO=T($,nu,I[du],c);if(zO===null){if(nu===null)nu=$0;break}if(u){if(nu&&zO.alternate===null)O($,nu)}if(j0=Q(zO,j0,du),D0===null)zu=zO;else D0.sibling=zO;D0=zO,nu=$0}if(du===I.length){if(D($,nu),GO()){var YO=du;AG($,YO)}return zu}if(nu===null){for(;du<I.length;du++){var JD=R($,I[du],c);if(JD===null)continue;if(j0=Q(JD,j0,du),D0===null)zu=JD;else D0.sibling=JD;D0=JD}if(GO()){var fO=du;AG($,fO)}return zu}var PO=G($,nu);for(;du<I.length;du++){var TO=N(PO,$,du,I[du],c);if(TO!==null){if(u){if(TO.alternate!==null)PO.delete(TO.key===null?du:TO.key)}if(j0=Q(TO,j0,du),D0===null)zu=TO;else D0.sibling=TO;D0=TO}}if(u)PO.forEach(function(z8){return O($,z8)});if(GO()){var dE=du;AG($,dE)}return zu}function a($,k,I,c){var Du=q0(I);if(typeof Du!=="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"&&I[Symbol.toStringTag]==="Generator"){if(!OY)X("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.");OY=!0}if(I.entries===Du){if(!uY)X("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");uY=!0}var o=Du.call(I);if(o){var Wu=null,zu=o.next();for(;!zu.done;zu=o.next()){var D0=zu.value;Wu=g(D0,Wu,$)}}}var nu=Du.call(I);if(nu==null)throw new Error("An iterable object provided no iterator.");var j0=null,du=null,$0=k,zO=0,YO=0,JD=null,fO=nu.next();for(;$0!==null&&!fO.done;YO++,fO=nu.next()){if($0.index>YO)JD=$0,$0=null;else JD=$0.sibling;var PO=T($,$0,fO.value,c);if(PO===null){if($0===null)$0=JD;break}if(u){if($0&&PO.alternate===null)O($,$0)}if(zO=Q(PO,zO,YO),du===null)j0=PO;else du.sibling=PO;du=PO,$0=JD}if(fO.done){if(D($,$0),GO()){var TO=YO;AG($,TO)}return j0}if($0===null){for(;!fO.done;YO++,fO=nu.next()){var dE=R($,fO.value,c);if(dE===null)continue;if(zO=Q(dE,zO,YO),du===null)j0=dE;else du.sibling=dE;du=dE}if(GO()){var z8=YO;AG($,z8)}return j0}var bJ=G($,$0);for(;!fO.done;YO++,fO=nu.next()){var HE=N(bJ,$,YO,fO.value,c);if(HE!==null){if(u){if(HE.alternate!==null)bJ.delete(HE.key===null?YO:HE.key)}if(zO=Q(HE,zO,YO),du===null)j0=HE;else du.sibling=HE;du=HE}}if(u)bJ.forEach(function(z3){return O($,z3)});if(GO()){var L3=YO;AG($,L3)}return j0}function Qu($,k,I,c){if(k!==null&&k.tag===m){D($,k.sibling);var Du=Z(k,I);return Du.return=$,Du}D($,k);var o=O5(I,$.mode,c);return o.return=$,o}function Zu($,k,I,c){var Du=I.key,o=k;while(o!==null){if(o.key===Du){var Wu=I.type;if(Wu===uE){if(o.tag===t){D($,o.sibling);var zu=Z(o,I.props.children);return zu.return=$,zu._debugSource=I._source,zu._debugOwner=I._owner,zu}}else if(o.elementType===Wu||pv(o,I)||typeof Wu==="object"&&Wu!==null&&Wu.$$typeof===Ru&&y2(Wu)===o.type){D($,o.sibling);var D0=Z(o,I.props);return D0.ref=EJ($,o,I),D0.return=$,D0._debugSource=I._source,D0._debugOwner=I._owner,D0}D($,o);break}else O($,o);o=o.sibling}if(I.type===uE){var nu=I1(I.props.children,$.mode,c,I.key);return nu.return=$,nu}else{var j0=u5(I,$.mode,c);return j0.ref=EJ($,k,I),j0.return=$,j0}}function fu($,k,I,c){var Du=I.key,o=k;while(o!==null){if(o.key===Du)if(o.tag===j&&o.stateNode.containerInfo===I.containerInfo&&o.stateNode.implementation===I.implementation){D($,o.sibling);var Wu=Z(o,I.children||[]);return Wu.return=$,Wu}else{D($,o);break}else O($,o);o=o.sibling}var zu=D5(I,$.mode,c);return zu.return=$,zu}function Pu($,k,I,c){var Du=typeof I==="object"&&I!==null&&I.type===uE&&I.key===null;if(Du)I=I.props.children;if(typeof I==="object"&&I!==null){switch(I.$$typeof){case gD:return Y(Zu($,k,I,c));case KD:return Y(fu($,k,I,c));case Ru:var{_payload:o,_init:Wu}=I;return Pu($,k,Wu(o),c)}if(ru(I))return C($,k,I,c);if(q0(I))return a($,k,I,c);vQ($,I)}if(typeof I==="string"&&I!==""||typeof I==="number")return Y(Qu($,k,""+I,c));if(typeof I==="function")HQ($);return D($,k)}return Pu}var G8=m2(!0),l2=m2(!1);function pT(u,O){if(u!==null&&O.child!==u.child)throw new Error("Resuming work not yet implemented.");if(O.child===null)return;var D=O.child,G=qG(D,D.pendingProps);O.child=G,G.return=O;while(D.sibling!==null)D=D.sibling,G=G.sibling=qG(D,D.pendingProps),G.return=O;G.sibling=null}function sT(u,O){var D=u.child;while(D!==null)_$(D,O),D=D.sibling}var AY=U1(null),JY;JY={};var WQ=null,A8=null,ZY=null,KQ=!1;function qQ(){WQ=null,A8=null,ZY=null,KQ=!1}function c2(){KQ=!0}function i2(){KQ=!1}function n2(u,O,D){{SO(AY,O._currentValue,u),O._currentValue=D;{if(O._currentRenderer!==void 0&&O._currentRenderer!==null&&O._currentRenderer!==JY)X("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");O._currentRenderer=JY}}}function QY(u,O){var D=AY.current;MO(AY,O),u._currentValue=D}function VY(u,O,D){var G=u;while(G!==null){var Z=G.alternate;if(!cG(G.childLanes,O)){if(G.childLanes=Iu(G.childLanes,O),Z!==null)Z.childLanes=Iu(Z.childLanes,O)}else if(Z!==null&&!cG(Z.childLanes,O))Z.childLanes=Iu(Z.childLanes,O);if(G===D)break;G=G.return}if(G!==D)X("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 rT(u,O,D){aT(u,O,D)}function aT(u,O,D){var G=u.child;if(G!==null)G.return=u;while(G!==null){var Z=void 0,Q=G.dependencies;if(Q!==null){Z=G.child;var Y=Q.firstContext;while(Y!==null){if(Y.context===O){if(G.tag===M){var B=LA(D),U=yE(Y0,B);U.tag=SQ;var W=G.updateQueue;if(W===null);else{var q=W.shared,R=q.pending;if(R===null)U.next=U;else U.next=R.next,R.next=U;q.pending=U}}G.lanes=Iu(G.lanes,D);var T=G.alternate;if(T!==null)T.lanes=Iu(T.lanes,D);VY(G.return,D,u),Q.lanes=Iu(Q.lanes,D);break}Y=Y.next}}else if(G.tag===h)Z=G.type===u.type?null:G.child;else if(G.tag===pu){var N=G.return;if(N===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");N.lanes=Iu(N.lanes,D);var g=N.alternate;if(g!==null)g.lanes=Iu(g.lanes,D);VY(N,D,u),Z=G.sibling}else Z=G.child;if(Z!==null)Z.return=G;else{Z=G;while(Z!==null){if(Z===u){Z=null;break}var C=Z.sibling;if(C!==null){C.return=Z.return,Z=C;break}Z=Z.return}}G=Z}}function J8(u,O){WQ=u,A8=null,ZY=null;var D=u.dependencies;if(D!==null){var G=D.firstContext;if(G!==null){if(uD(D.lanes,O))qJ();D.firstContext=null}}}function f0(u){if(KQ)X("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 O=u._currentValue;if(ZY===u);else{var D={context:u,memoizedValue:O,next:null};if(A8===null){if(WQ===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().");A8=D,WQ.dependencies={lanes:l,firstContext:D}}else A8=A8.next=D}return O}var XG=null;function XY(u){if(XG===null)XG=[u];else XG.push(u)}function tT(){if(XG!==null){for(var u=0;u<XG.length;u++){var O=XG[u],D=O.interleaved;if(D!==null){O.interleaved=null;var G=D.next,Z=O.pending;if(Z!==null){var Q=Z.next;Z.next=G,D.next=Q}O.pending=D}}XG=null}}function d2(u,O,D,G){var Z=O.interleaved;if(Z===null)D.next=D,XY(O);else D.next=Z.next,Z.next=D;return O.interleaved=D,MQ(u,G)}function oT(u,O,D,G){var Z=O.interleaved;if(Z===null)D.next=D,XY(O);else D.next=Z.next,Z.next=D;O.interleaved=D}function eT(u,O,D,G){var Z=O.interleaved;if(Z===null)D.next=D,XY(O);else D.next=Z.next,Z.next=D;return O.interleaved=D,MQ(u,G)}function mO(u,O){return MQ(u,O)}var uw=MQ;function MQ(u,O){u.lanes=Iu(u.lanes,O);var D=u.alternate;if(D!==null)D.lanes=Iu(D.lanes,O);if(D===null&&(u.flags&(g0|FE))!==vu)cv(u);var G=u,Z=u.return;while(Z!==null){if(Z.childLanes=Iu(Z.childLanes,O),D=Z.alternate,D!==null)D.childLanes=Iu(D.childLanes,O);else if((Z.flags&(g0|FE))!==vu)cv(u);G=Z,Z=Z.return}if(G.tag===w){var Q=G.stateNode;return Q}else return null}var p2=0,s2=1,SQ=2,YY=3,LQ=!1,BY,zQ;BY=!1,zQ=null;function UY(u){var O={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:l},effects:null};u.updateQueue=O}function r2(u,O){var D=O.updateQueue,G=u.updateQueue;if(D===G){var Z={baseState:G.baseState,firstBaseUpdate:G.firstBaseUpdate,lastBaseUpdate:G.lastBaseUpdate,shared:G.shared,effects:G.effects};O.updateQueue=Z}}function yE(u,O){var D={eventTime:u,lane:O,tag:p2,payload:null,callback:null,next:null};return D}function K1(u,O,D){var G=u.updateQueue;if(G===null)return null;var Z=G.shared;if(zQ===Z&&!BY)X("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."),BY=!0;if(D$()){var Q=Z.pending;if(Q===null)O.next=O;else O.next=Q.next,Q.next=O;return Z.pending=O,uw(u,D)}else return eT(u,Z,O,D)}function TQ(u,O,D){var G=O.updateQueue;if(G===null)return;var Z=G.shared;if(ZU(D)){var Q=Z.lanes;Q=VU(Q,u.pendingLanes);var Y=Iu(Q,D);Z.lanes=Y,AX(u,Y)}}function vY(u,O){var{updateQueue:D,alternate:G}=u;if(G!==null){var Z=G.updateQueue;if(D===Z){var Q=null,Y=null,B=D.firstBaseUpdate;if(B!==null){var U=B;do{var W={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};if(Y===null)Q=Y=W;else Y.next=W,Y=W;U=U.next}while(U!==null);if(Y===null)Q=Y=O;else Y.next=O,Y=O}else Q=Y=O;D={baseState:Z.baseState,firstBaseUpdate:Q,lastBaseUpdate:Y,shared:Z.shared,effects:Z.effects},u.updateQueue=D;return}}var q=D.lastBaseUpdate;if(q===null)D.firstBaseUpdate=O;else q.next=O;D.lastBaseUpdate=O}function Ow(u,O,D,G,Z,Q){switch(D.tag){case s2:{var Y=D.payload;if(typeof Y==="function"){c2();var B=Y.call(Q,G,Z);{if(u.mode&R0){t0(!0);try{Y.call(Q,G,Z)}finally{t0(!1)}}i2()}return B}return Y}case YY:u.flags=u.flags&~jO|au;case p2:{var U=D.payload,W;if(typeof U==="function"){c2(),W=U.call(Q,G,Z);{if(u.mode&R0){t0(!0);try{U.call(Q,G,Z)}finally{t0(!1)}}i2()}}else W=U;if(W===null||W===void 0)return G;return ju({},G,W)}case SQ:return LQ=!0,G}return G}function wQ(u,O,D,G){var Z=u.updateQueue;LQ=!1,zQ=Z.shared;var{firstBaseUpdate:Q,lastBaseUpdate:Y}=Z,B=Z.shared.pending;if(B!==null){Z.shared.pending=null;var U=B,W=U.next;if(U.next=null,Y===null)Q=W;else Y.next=W;Y=U;var q=u.alternate;if(q!==null){var R=q.updateQueue,T=R.lastBaseUpdate;if(T!==Y){if(T===null)R.firstBaseUpdate=W;else T.next=W;R.lastBaseUpdate=U}}}if(Q!==null){var N=Z.baseState,g=l,C=null,a=null,Qu=null,Zu=Q;do{var{lane:fu,eventTime:Pu}=Zu;if(!cG(G,fu)){var $={eventTime:Pu,lane:fu,tag:Zu.tag,payload:Zu.payload,callback:Zu.callback,next:null};if(Qu===null)a=Qu=$,C=N;else Qu=Qu.next=$;g=Iu(g,fu)}else{if(Qu!==null){var k={eventTime:Pu,lane:o0,tag:Zu.tag,payload:Zu.payload,callback:Zu.callback,next:null};Qu=Qu.next=k}N=Ow(u,Z,Zu,N,O,D);var I=Zu.callback;if(I!==null&&Zu.lane!==o0){u.flags|=$9;var c=Z.effects;if(c===null)Z.effects=[Zu];else c.push(Zu)}}if(Zu=Zu.next,Zu===null)if(B=Z.shared.pending,B===null)break;else{var Du=B,o=Du.next;Du.next=null,Zu=o,Z.lastBaseUpdate=Du,Z.shared.pending=null}}while(!0);if(Qu===null)C=N;Z.baseState=C,Z.firstBaseUpdate=a,Z.lastBaseUpdate=Qu;var Wu=Z.shared.interleaved;if(Wu!==null){var zu=Wu;do g=Iu(g,zu.lane),zu=zu.next;while(zu!==Wu)}else if(Q===null)Z.shared.lanes=l;NJ(g),u.lanes=g,u.memoizedState=N}zQ=null}function Dw(u,O){if(typeof u!=="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+u));u.call(O)}function a2(){LQ=!1}function RQ(){return LQ}function t2(u,O,D){var G=O.effects;if(O.effects=null,G!==null)for(var Z=0;Z<G.length;Z++){var Q=G[Z],Y=Q.callback;if(Y!==null)Q.callback=null,Dw(Y,D)}}var GJ={},q1=U1(GJ),AJ=U1(GJ),$Q=U1(GJ);function IQ(u){if(u===GJ)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return u}function o2(){var u=IQ($Q.current);return u}function HY(u,O){SO($Q,O,u),SO(AJ,u,u),SO(q1,GJ,u);var D=Mz(O);MO(q1,u),SO(q1,D,u)}function Z8(u){MO(q1,u),MO(AJ,u),MO($Q,u)}function WY(){var u=IQ(q1.current);return u}function e2(u){var O=IQ($Q.current),D=IQ(q1.current),G=Sz(D,u.type);if(D===G)return;SO(AJ,u,u),SO(q1,G,u)}function KY(u){if(AJ.current!==u)return;MO(q1,u),MO(AJ,u)}var Ew=0,u6=1,O6=1,JJ=2,yD=U1(Ew);function qY(u,O){return(u&O)!==0}function Q8(u){return u&u6}function MY(u,O){return u&u6|O}function Gw(u,O){return u|O}function M1(u,O){SO(yD,O,u)}function V8(u){MO(yD,u)}function Aw(u,O){var D=u.memoizedState;if(D!==null){if(D.dehydrated!==null)return!0;return!1}var G=u.memoizedProps;return!0}function jQ(u){var O=u;while(O!==null){if(O.tag===i){var D=O.memoizedState;if(D!==null){var G=D.dehydrated;if(G===null||K2(G)||kX(G))return O}}else if(O.tag===Fu&&O.memoizedProps.revealOrder!==void 0){var Z=(O.flags&au)!==vu;if(Z)return O}else if(O.child!==null){O.child.return=O,O=O.child;continue}if(O===u)return null;while(O.sibling===null){if(O.return===null||O.return===u)return null;O=O.return}O.sibling.return=O.return,O=O.sibling}return null}var lO=0,x0=1,QE=2,h0=4,AO=8,SY=[];function LY(){for(var u=0;u<SY.length;u++){var O=SY[u];O._workInProgressVersionPrimary=null}SY.length=0}function Jw(u,O){var D=O._getVersion,G=D(O._source);if(u.mutableSourceEagerHydrationData==null)u.mutableSourceEagerHydrationData=[O,G];else u.mutableSourceEagerHydrationData.push(O,G)}var{ReactCurrentDispatcher:Ou,ReactCurrentBatchConfig:ZJ}=E,zY,X8;zY=new Set;var YG=l,O0=null,k0=null,_0=null,FQ=!1,QJ=!1,VJ=0,Zw=0,Qw=25,y=null,zD=null,S1=-1,TY=!1;function ou(){{var u=y;if(zD===null)zD=[u];else zD.push(u)}}function r(){{var u=y;if(zD!==null){if(S1++,zD[S1]!==u)Vw(u)}}}function Y8(u){if(u!==void 0&&u!==null&&!ru(u))X("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",y,typeof u)}function Vw(u){{var O=$u(O0);if(!zY.has(O)){if(zY.add(O),zD!==null){var D="",G=30;for(var Z=0;Z<=S1;Z++){var Q=zD[Z],Y=Z===S1?u:Q,B=Z+1+". "+Q;while(B.length<G)B+=" ";B+=Y+`
`,D+=B}X(`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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,O,D)}}}}function LO(){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 wY(u,O){if(TY)return!1;if(O===null)return X("%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.",y),!1;if(u.length!==O.length)X(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
Incoming: %s`,y,"["+O.join(", ")+"]","["+u.join(", ")+"]");for(var D=0;D<O.length&&D<u.length;D++){if(ED(u[D],O[D]))continue;return!1}return!0}function B8(u,O,D,G,Z,Q){if(YG=Q,O0=O,zD=u!==null?u._debugHookTypes:null,S1=-1,TY=u!==null&&u.type!==O.type,O.memoizedState=null,O.updateQueue=null,O.lanes=l,u!==null&&u.memoizedState!==null)Ou.current=T6;else if(zD!==null)Ou.current=z6;else Ou.current=L6;var Y=D(G,Z);if(QJ){var B=0;do{if(QJ=!1,VJ=0,B>=Qw)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");B+=1,TY=!1,k0=null,_0=null,O.updateQueue=null,S1=-1,Ou.current=w6,Y=D(G,Z)}while(QJ)}Ou.current=iQ,O._debugHookTypes=zD;var U=k0!==null&&k0.next!==null;if(YG=l,O0=null,k0=null,_0=null,y=null,zD=null,S1=-1,u!==null&&(u.flags&gE)!==(O.flags&gE)&&(u.mode&ku)!==Bu)X("Internal React error: Expected static flag was missing. Please notify the React team.");if(FQ=!1,U)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return Y}function U8(){var u=VJ!==0;return VJ=0,u}function D6(u,O,D){if(O.updateQueue=u.updateQueue,(O.mode&GE)!==Bu)O.flags&=~(zZ|NE|CD|cu);else O.flags&=~(CD|cu);u.lanes=FZ(u.lanes,D)}function E6(){if(Ou.current=iQ,FQ){var u=O0.memoizedState;while(u!==null){var O=u.queue;if(O!==null)O.pending=null;u=u.next}FQ=!1}YG=l,O0=null,k0=null,_0=null,zD=null,S1=-1,y=null,W6=!1,QJ=!1,VJ=0}function VE(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};if(_0===null)O0.memoizedState=_0=u;else _0=_0.next=u;return _0}function TD(){var u;if(k0===null){var O=O0.alternate;if(O!==null)u=O.memoizedState;else u=null}else u=k0.next;var D;if(_0===null)D=O0.memoizedState;else D=_0.next;if(D!==null)_0=D,D=_0.next,k0=u;else{if(u===null)throw new Error("Rendered more hooks than during the previous render.");k0=u;var G={memoizedState:k0.memoizedState,baseState:k0.baseState,baseQueue:k0.baseQueue,queue:k0.queue,next:null};if(_0===null)O0.memoizedState=_0=G;else _0=_0.next=G}return _0}function G6(){return{lastEffect:null,stores:null}}function RY(u,O){return typeof O==="function"?O(u):O}function $Y(u,O,D){var G=VE(),Z;if(D!==void 0)Z=D(O);else Z=O;G.memoizedState=G.baseState=Z;var Q={pending:null,interleaved:null,lanes:l,dispatch:null,lastRenderedReducer:u,lastRenderedState:Z};G.queue=Q;var Y=Q.dispatch=Bw.bind(null,O0,Q);return[G.memoizedState,Y]}function IY(u,O,D){var G=TD(),Z=G.queue;if(Z===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");Z.lastRenderedReducer=u;var Q=k0,Y=Q.baseQueue,B=Z.pending;if(B!==null){if(Y!==null){var U=Y.next,W=B.next;Y.next=W,B.next=U}if(Q.baseQueue!==Y)X("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.");Q.baseQueue=Y=B,Z.pending=null}if(Y!==null){var q=Y.next,R=Q.baseState,T=null,N=null,g=null,C=q;do{var a=C.lane;if(!cG(YG,a)){var Qu={lane:a,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null};if(g===null)N=g=Qu,T=R;else g=g.next=Qu;O0.lanes=Iu(O0.lanes,a),NJ(a)}else{if(g!==null){var Zu={lane:o0,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null};g=g.next=Zu}if(C.hasEagerState)R=C.eagerState;else{var fu=C.action;R=u(R,fu)}}C=C.next}while(C!==null&&C!==q);if(g===null)T=R;else g.next=N;if(!ED(R,G.memoizedState))qJ();G.memoizedState=R,G.baseState=T,G.baseQueue=g,Z.lastRenderedState=R}var Pu=Z.interleaved;if(Pu!==null){var $=Pu;do{var k=$.lane;O0.lanes=Iu(O0.lanes,k),NJ(k),$=$.next}while($!==Pu)}else if(Y===null)Z.lanes=l;var I=Z.dispatch;return[G.memoizedState,I]}function jY(u,O,D){var G=TD(),Z=G.queue;if(Z===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");Z.lastRenderedReducer=u;var{dispatch:Q,pending:Y}=Z,B=G.memoizedState;if(Y!==null){Z.pending=null;var U=Y.next,W=U;do{var q=W.action;B=u(B,q),W=W.next}while(W!==U);if(!ED(B,G.memoizedState))qJ();if(G.memoizedState=B,G.baseQueue===null)G.baseState=B;Z.lastRenderedState=B}return[B,Q]}function FY(u,O,D){return}function NQ(u,O,D){return}function NY(u,O,D){var G=O0,Z=VE(),Q,Y=GO();if(Y){if(D===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");if(Q=D(),!X8){if(Q!==D())X("The result of getServerSnapshot should be cached to avoid an infinite loop"),X8=!0}}else{if(Q=O(),!X8){var B=O();if(!ED(Q,B))X("The result of getSnapshot should be cached to avoid an infinite loop"),X8=!0}var U=VV();if(U===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!jZ(U,YG))A6(G,O,Q)}Z.memoizedState=Q;var W={value:Q,getSnapshot:O};return Z.queue=W,bQ(Z6.bind(null,G,W,u),[u]),G.flags|=CD,XJ(x0|AO,J6.bind(null,G,W,Q,O),void 0,null),Q}function gQ(u,O,D){var G=O0,Z=TD(),Q=O();if(!X8){var Y=O();if(!ED(Q,Y))X("The result of getSnapshot should be cached to avoid an infinite loop"),X8=!0}var B=Z.memoizedState,U=!ED(B,Q);if(U)Z.memoizedState=Q,qJ();var W=Z.queue;if(BJ(Z6.bind(null,G,W,u),[u]),W.getSnapshot!==O||U||_0!==null&&_0.memoizedState.tag&x0){G.flags|=CD,XJ(x0|AO,J6.bind(null,G,W,Q,O),void 0,null);var q=VV();if(q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!jZ(q,YG))A6(G,O,Q)}return Q}function A6(u,O,D){u.flags|=LZ;var G={getSnapshot:O,value:D},Z=O0.updateQueue;if(Z===null)Z=G6(),O0.updateQueue=Z,Z.stores=[G];else{var Q=Z.stores;if(Q===null)Z.stores=[G];else Q.push(G)}}function J6(u,O,D,G){if(O.value=D,O.getSnapshot=G,Q6(O))V6(u)}function Z6(u,O,D){var G=function(){if(Q6(O))V6(u)};return D(G)}function Q6(u){var{getSnapshot:O,value:D}=u;try{var G=O();return!ED(D,G)}catch(Z){return!0}}function V6(u){var O=mO(u,Mu);if(O!==null)c0(O,u,Mu,Y0)}function fQ(u){var O=VE();if(typeof u==="function")u=u();O.memoizedState=O.baseState=u;var D={pending:null,interleaved:null,lanes:l,dispatch:null,lastRenderedReducer:RY,lastRenderedState:u};O.queue=D;var G=D.dispatch=Uw.bind(null,O0,D);return[O.memoizedState,G]}function gY(u){return IY(RY)}function fY(u){return jY(RY)}function XJ(u,O,D,G){var Z={tag:u,create:O,destroy:D,deps:G,next:null},Q=O0.updateQueue;if(Q===null)Q=G6(),O0.updateQueue=Q,Q.lastEffect=Z.next=Z;else{var Y=Q.lastEffect;if(Y===null)Q.lastEffect=Z.next=Z;else{var B=Y.next;Y.next=Z,Z.next=B,Q.lastEffect=Z}}return Z}function PY(u){var O=VE();{var D={current:u};return O.memoizedState=D,D}}function PQ(u){var O=TD();return O.memoizedState}function YJ(u,O,D,G){var Z=VE(),Q=G===void 0?null:G;O0.flags|=u,Z.memoizedState=XJ(x0|O,D,void 0,Q)}function CQ(u,O,D,G){var Z=TD(),Q=G===void 0?null:G,Y=void 0;if(k0!==null){var B=k0.memoizedState;if(Y=B.destroy,Q!==null){var U=B.deps;if(wY(Q,U)){Z.memoizedState=XJ(O,D,Y,Q);return}}}O0.flags|=u,Z.memoizedState=XJ(x0|O,D,Y,Q)}function bQ(u,O){if((O0.mode&GE)!==Bu)return YJ(zZ|CD|F9,AO,u,O);else return YJ(CD|F9,AO,u,O)}function BJ(u,O){return CQ(CD,AO,u,O)}function CY(u,O){return YJ(cu,QE,u,O)}function xQ(u,O){return CQ(cu,QE,u,O)}function bY(u,O){var D=cu;if(D|=p1,(O0.mode&GE)!==Bu)D|=NE;return YJ(D,h0,u,O)}function hQ(u,O){return CQ(cu,h0,u,O)}function X6(u,O){if(typeof O==="function"){var D=O,G=u();return D(G),function(){D(null)}}else if(O!==null&&O!==void 0){var Z=O;if(!Z.hasOwnProperty("current"))X("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Z).join(", ")+"}");var Q=u();return Z.current=Q,function(){Z.current=null}}}function xY(u,O,D){if(typeof O!=="function")X("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",O!==null?typeof O:"null");var G=D!==null&&D!==void 0?D.concat([u]):null,Z=cu;if(Z|=p1,(O0.mode&GE)!==Bu)Z|=NE;return YJ(Z,h0,X6.bind(null,O,u),G)}function kQ(u,O,D){if(typeof O!=="function")X("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",O!==null?typeof O:"null");var G=D!==null&&D!==void 0?D.concat([u]):null;return CQ(cu,h0,X6.bind(null,O,u),G)}function _Q(u,O){}var yQ=_Q;function hY(u,O){var D=VE(),G=O===void 0?null:O;return D.memoizedState=[u,G],u}function mQ(u,O){var D=TD(),G=O===void 0?null:O,Z=D.memoizedState;if(Z!==null){if(G!==null){var Q=Z[1];if(wY(G,Q))return Z[0]}}return D.memoizedState=[u,G],u}function kY(u,O){var D=VE(),G=O===void 0?null:O,Z=u();return D.memoizedState=[Z,G],Z}function lQ(u,O){var D=TD(),G=O===void 0?null:O,Z=D.memoizedState;if(Z!==null){if(G!==null){var Q=Z[1];if(wY(G,Q))return Z[0]}}var Y=u();return D.memoizedState=[Y,G],Y}function _Y(u){var O=VE();return O.memoizedState=u,u}function Y6(u){var O=TD(),D=k0,G=D.memoizedState;return U6(O,G,u)}function B6(u){var O=TD();if(k0===null)return O.memoizedState=u,u;else{var D=k0.memoizedState;return U6(O,D,u)}}function U6(u,O,D){var G=!rM(YG);if(G){if(!ED(D,O)){var Z=QU();O0.lanes=Iu(O0.lanes,Z),NJ(Z),u.baseState=!0}return O}else{if(u.baseState)u.baseState=!1,qJ();return u.memoizedState=D,D}}function Xw(u,O,D){var G=xD();e0(GS(G,PE)),u(!0);var Z=ZJ.transition;ZJ.transition={};var Q=ZJ.transition;ZJ.transition._updatedFibers=new Set;try{u(!1),O()}finally{if(e0(G),ZJ.transition=Z,Z===null&&Q._updatedFibers){var Y=Q._updatedFibers.size;if(Y>10)V("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.");Q._updatedFibers.clear()}}}function yY(){var u=fQ(!1),O=u[0],D=u[1],G=Xw.bind(null,D),Z=VE();return Z.memoizedState=G,[O,G]}function v6(){var u=gY(),O=u[0],D=TD(),G=D.memoizedState;return[O,G]}function H6(){var u=fY(),O=u[0],D=TD(),G=D.memoizedState;return[O,G]}var W6=!1;function Yw(){return W6}function mY(){var u=VE(),O=VV(),D=O.identifierPrefix,G;if(GO()){var Z=FT();G=":"+D+"R"+Z;var Q=VJ++;if(Q>0)G+="H"+Q.toString(32);G+=":"}else{var Y=Zw++;G=":"+D+"r"+Y.toString(32)+":"}return u.memoizedState=G,G}function cQ(){var u=TD(),O=u.memoizedState;return O}function Bw(u,O,D){if(typeof arguments[3]==="function")X("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=R1(u),Z={lane:G,action:D,hasEagerState:!1,eagerState:null,next:null};if(K6(u))q6(O,Z);else{var Q=d2(u,O,Z,G);if(Q!==null){var Y=gO();c0(Q,u,G,Y),M6(Q,O,G)}}S6(u,G)}function Uw(u,O,D){if(typeof arguments[3]==="function")X("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=R1(u),Z={lane:G,action:D,hasEagerState:!1,eagerState:null,next:null};if(K6(u))q6(O,Z);else{var Q=u.alternate;if(u.lanes===l&&(Q===null||Q.lanes===l)){var Y=O.lastRenderedReducer;if(Y!==null){var B;B=Ou.current,Ou.current=mD;try{var U=O.lastRenderedState,W=Y(U,D);if(Z.hasEagerState=!0,Z.eagerState=W,ED(W,U)){oT(u,O,Z,G);return}}catch(T){}finally{Ou.current=B}}}var q=d2(u,O,Z,G);if(q!==null){var R=gO();c0(q,u,G,R),M6(q,O,G)}}S6(u,G)}function K6(u){var O=u.alternate;return u===O0||O!==null&&O===O0}function q6(u,O){QJ=FQ=!0;var D=u.pending;if(D===null)O.next=O;else O.next=D.next,D.next=O;u.pending=O}function M6(u,O,D){if(ZU(D)){var G=O.lanes;G=VU(G,u.pendingLanes);var Z=Iu(G,D);O.lanes=Z,AX(u,Z)}}function S6(u,O,D){C9(u,O)}var iQ={readContext:f0,useCallback:LO,useContext:LO,useEffect:LO,useImperativeHandle:LO,useInsertionEffect:LO,useLayoutEffect:LO,useMemo:LO,useReducer:LO,useRef:LO,useState:LO,useDebugValue:LO,useDeferredValue:LO,useTransition:LO,useMutableSource:LO,useSyncExternalStore:LO,useId:LO,unstable_isNewReconciler:T0},L6=null,z6=null,T6=null,w6=null,XE=null,mD=null,nQ=null;{var lY=function(){X("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().")},Su=function(){X("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")};L6={readContext:function(u){return f0(u)},useCallback:function(u,O){return y="useCallback",ou(),Y8(O),hY(u,O)},useContext:function(u){return y="useContext",ou(),f0(u)},useEffect:function(u,O){return y="useEffect",ou(),Y8(O),bQ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",ou(),Y8(D),xY(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",ou(),Y8(O),CY(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",ou(),Y8(O),bY(u,O)},useMemo:function(u,O){y="useMemo",ou(),Y8(O);var D=Ou.current;Ou.current=XE;try{return kY(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",ou();var G=Ou.current;Ou.current=XE;try{return $Y(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",ou(),PY(u)},useState:function(u){y="useState",ou();var O=Ou.current;Ou.current=XE;try{return fQ(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",ou(),_Q()},useDeferredValue:function(u){return y="useDeferredValue",ou(),_Y(u)},useTransition:function(){return y="useTransition",ou(),yY()},useMutableSource:function(u,O,D){return y="useMutableSource",ou(),FY()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",ou(),NY(u,O,D)},useId:function(){return y="useId",ou(),mY()},unstable_isNewReconciler:T0},z6={readContext:function(u){return f0(u)},useCallback:function(u,O){return y="useCallback",r(),hY(u,O)},useContext:function(u){return y="useContext",r(),f0(u)},useEffect:function(u,O){return y="useEffect",r(),bQ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",r(),xY(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",r(),CY(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",r(),bY(u,O)},useMemo:function(u,O){y="useMemo",r();var D=Ou.current;Ou.current=XE;try{return kY(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",r();var G=Ou.current;Ou.current=XE;try{return $Y(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",r(),PY(u)},useState:function(u){y="useState",r();var O=Ou.current;Ou.current=XE;try{return fQ(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",r(),_Q()},useDeferredValue:function(u){return y="useDeferredValue",r(),_Y(u)},useTransition:function(){return y="useTransition",r(),yY()},useMutableSource:function(u,O,D){return y="useMutableSource",r(),FY()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",r(),NY(u,O,D)},useId:function(){return y="useId",r(),mY()},unstable_isNewReconciler:T0},T6={readContext:function(u){return f0(u)},useCallback:function(u,O){return y="useCallback",r(),mQ(u,O)},useContext:function(u){return y="useContext",r(),f0(u)},useEffect:function(u,O){return y="useEffect",r(),BJ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",r(),kQ(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",r(),xQ(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",r(),hQ(u,O)},useMemo:function(u,O){y="useMemo",r();var D=Ou.current;Ou.current=mD;try{return lQ(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",r();var G=Ou.current;Ou.current=mD;try{return IY(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",r(),PQ()},useState:function(u){y="useState",r();var O=Ou.current;Ou.current=mD;try{return gY(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",r(),yQ()},useDeferredValue:function(u){return y="useDeferredValue",r(),Y6(u)},useTransition:function(){return y="useTransition",r(),v6()},useMutableSource:function(u,O,D){return y="useMutableSource",r(),NQ()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",r(),gQ(u,O)},useId:function(){return y="useId",r(),cQ()},unstable_isNewReconciler:T0},w6={readContext:function(u){return f0(u)},useCallback:function(u,O){return y="useCallback",r(),mQ(u,O)},useContext:function(u){return y="useContext",r(),f0(u)},useEffect:function(u,O){return y="useEffect",r(),BJ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",r(),kQ(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",r(),xQ(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",r(),hQ(u,O)},useMemo:function(u,O){y="useMemo",r();var D=Ou.current;Ou.current=nQ;try{return lQ(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",r();var G=Ou.current;Ou.current=nQ;try{return jY(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",r(),PQ()},useState:function(u){y="useState",r();var O=Ou.current;Ou.current=nQ;try{return fY(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",r(),yQ()},useDeferredValue:function(u){return y="useDeferredValue",r(),B6(u)},useTransition:function(){return y="useTransition",r(),H6()},useMutableSource:function(u,O,D){return y="useMutableSource",r(),NQ()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",r(),gQ(u,O)},useId:function(){return y="useId",r(),cQ()},unstable_isNewReconciler:T0},XE={readContext:function(u){return lY(),f0(u)},useCallback:function(u,O){return y="useCallback",Su(),ou(),hY(u,O)},useContext:function(u){return y="useContext",Su(),ou(),f0(u)},useEffect:function(u,O){return y="useEffect",Su(),ou(),bQ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",Su(),ou(),xY(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",Su(),ou(),CY(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",Su(),ou(),bY(u,O)},useMemo:function(u,O){y="useMemo",Su(),ou();var D=Ou.current;Ou.current=XE;try{return kY(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",Su(),ou();var G=Ou.current;Ou.current=XE;try{return $Y(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",Su(),ou(),PY(u)},useState:function(u){y="useState",Su(),ou();var O=Ou.current;Ou.current=XE;try{return fQ(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",Su(),ou(),_Q()},useDeferredValue:function(u){return y="useDeferredValue",Su(),ou(),_Y(u)},useTransition:function(){return y="useTransition",Su(),ou(),yY()},useMutableSource:function(u,O,D){return y="useMutableSource",Su(),ou(),FY()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",Su(),ou(),NY(u,O,D)},useId:function(){return y="useId",Su(),ou(),mY()},unstable_isNewReconciler:T0},mD={readContext:function(u){return lY(),f0(u)},useCallback:function(u,O){return y="useCallback",Su(),r(),mQ(u,O)},useContext:function(u){return y="useContext",Su(),r(),f0(u)},useEffect:function(u,O){return y="useEffect",Su(),r(),BJ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",Su(),r(),kQ(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",Su(),r(),xQ(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",Su(),r(),hQ(u,O)},useMemo:function(u,O){y="useMemo",Su(),r();var D=Ou.current;Ou.current=mD;try{return lQ(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",Su(),r();var G=Ou.current;Ou.current=mD;try{return IY(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",Su(),r(),PQ()},useState:function(u){y="useState",Su(),r();var O=Ou.current;Ou.current=mD;try{return gY(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",Su(),r(),yQ()},useDeferredValue:function(u){return y="useDeferredValue",Su(),r(),Y6(u)},useTransition:function(){return y="useTransition",Su(),r(),v6()},useMutableSource:function(u,O,D){return y="useMutableSource",Su(),r(),NQ()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",Su(),r(),gQ(u,O)},useId:function(){return y="useId",Su(),r(),cQ()},unstable_isNewReconciler:T0},nQ={readContext:function(u){return lY(),f0(u)},useCallback:function(u,O){return y="useCallback",Su(),r(),mQ(u,O)},useContext:function(u){return y="useContext",Su(),r(),f0(u)},useEffect:function(u,O){return y="useEffect",Su(),r(),BJ(u,O)},useImperativeHandle:function(u,O,D){return y="useImperativeHandle",Su(),r(),kQ(u,O,D)},useInsertionEffect:function(u,O){return y="useInsertionEffect",Su(),r(),xQ(u,O)},useLayoutEffect:function(u,O){return y="useLayoutEffect",Su(),r(),hQ(u,O)},useMemo:function(u,O){y="useMemo",Su(),r();var D=Ou.current;Ou.current=mD;try{return lQ(u,O)}finally{Ou.current=D}},useReducer:function(u,O,D){y="useReducer",Su(),r();var G=Ou.current;Ou.current=mD;try{return jY(u,O,D)}finally{Ou.current=G}},useRef:function(u){return y="useRef",Su(),r(),PQ()},useState:function(u){y="useState",Su(),r();var O=Ou.current;Ou.current=mD;try{return fY(u)}finally{Ou.current=O}},useDebugValue:function(u,O){return y="useDebugValue",Su(),r(),yQ()},useDeferredValue:function(u){return y="useDeferredValue",Su(),r(),B6(u)},useTransition:function(){return y="useTransition",Su(),r(),H6()},useMutableSource:function(u,O,D){return y="useMutableSource",Su(),r(),NQ()},useSyncExternalStore:function(u,O,D){return y="useSyncExternalStore",Su(),r(),gQ(u,O)},useId:function(){return y="useId",Su(),r(),cQ()},unstable_isNewReconciler:T0}}var L1=E0.unstable_now,R6=0,dQ=-1,UJ=-1,pQ=-1,cY=!1,sQ=!1;function $6(){return cY}function vw(){sQ=!0}function Hw(){cY=!1,sQ=!1}function Ww(){cY=sQ,sQ=!1}function I6(){return R6}function j6(){R6=L1()}function iY(u){if(UJ=L1(),u.actualStartTime<0)u.actualStartTime=L1()}function F6(u){UJ=-1}function rQ(u,O){if(UJ>=0){var D=L1()-UJ;if(u.actualDuration+=D,O)u.selfBaseDuration=D;UJ=-1}}function YE(u){if(dQ>=0){var O=L1()-dQ;dQ=-1;var D=u.return;while(D!==null){switch(D.tag){case w:var G=D.stateNode;G.effectDuration+=O;return;case d:var Z=D.stateNode;Z.effectDuration+=O;return}D=D.return}}}function nY(u){if(pQ>=0){var O=L1()-pQ;pQ=-1;var D=u.return;while(D!==null){switch(D.tag){case w:var G=D.stateNode;if(G!==null)G.passiveEffectDuration+=O;return;case d:var Z=D.stateNode;if(Z!==null)Z.passiveEffectDuration+=O;return}D=D.return}}}function BE(){dQ=L1()}function dY(){pQ=L1()}function pY(u){var O=u.child;while(O)u.actualDuration+=O.actualDuration,O=O.sibling}function lD(u,O){if(u&&u.defaultProps){var D=ju({},O),G=u.defaultProps;for(var Z in G)if(D[Z]===void 0)D[Z]=G[Z];return D}return O}var sY={},rY,aY,tY,oY,eY,N6,aQ,uB,OB,DB,vJ;{rY=new Set,aY=new Set,tY=new Set,oY=new Set,uB=new Set,eY=new Set,OB=new Set,DB=new Set,vJ=new Set;var g6=new Set;aQ=function(u,O){if(u===null||typeof u==="function")return;var D=O+"_"+u;if(!g6.has(D))g6.add(D),X("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",O,u)},N6=function(u,O){if(O===void 0){var D=iu(u)||"Component";if(!eY.has(D))eY.add(D),X("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",D)}},Object.defineProperty(sY,"_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(sY)}function EB(u,O,D,G){var Z=u.memoizedState,Q=D(G,Z);{if(u.mode&R0){t0(!0);try{Q=D(G,Z)}finally{t0(!1)}}N6(O,Q)}var Y=Q===null||Q===void 0?Z:ju({},Z,Q);if(u.memoizedState=Y,u.lanes===l){var B=u.updateQueue;B.baseState=Y}}var GB={isMounted:QM,enqueueSetState:function(u,O,D){var G=xG(u),Z=gO(),Q=R1(G),Y=yE(Z,Q);if(Y.payload=O,D!==void 0&&D!==null)aQ(D,"setState"),Y.callback=D;var B=K1(G,Y,Q);if(B!==null)c0(B,G,Q,Z),TQ(B,G,Q);C9(G,Q)},enqueueReplaceState:function(u,O,D){var G=xG(u),Z=gO(),Q=R1(G),Y=yE(Z,Q);if(Y.tag=s2,Y.payload=O,D!==void 0&&D!==null)aQ(D,"replaceState"),Y.callback=D;var B=K1(G,Y,Q);if(B!==null)c0(B,G,Q,Z),TQ(B,G,Q);C9(G,Q)},enqueueForceUpdate:function(u,O){var D=xG(u),G=gO(),Z=R1(D),Q=yE(G,Z);if(Q.tag=SQ,O!==void 0&&O!==null)aQ(O,"forceUpdate"),Q.callback=O;var Y=K1(D,Q,Z);if(Y!==null)c0(Y,D,Z,G),TQ(Y,D,Z);_M(D,Z)}};function f6(u,O,D,G,Z,Q,Y){var B=u.stateNode;if(typeof B.shouldComponentUpdate==="function"){var U=B.shouldComponentUpdate(G,Q,Y);{if(u.mode&R0){t0(!0);try{U=B.shouldComponentUpdate(G,Q,Y)}finally{t0(!1)}}if(U===void 0)X("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",iu(O)||"Component")}return U}if(O.prototype&&O.prototype.isPureReactComponent)return!xA(D,G)||!xA(Z,Q);return!0}function Kw(u,O,D){var G=u.stateNode;{var Z=iu(O)||"Component",Q=G.render;if(!Q)if(O.prototype&&typeof O.prototype.render==="function")X("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",Z);else X("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",Z);if(G.getInitialState&&!G.getInitialState.isReactClassApproved&&!G.state)X("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?",Z);if(G.getDefaultProps&&!G.getDefaultProps.isReactClassApproved)X("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.",Z);if(G.propTypes)X("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",Z);if(G.contextType)X("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",Z);{if(O.childContextTypes&&!vJ.has(O)&&(u.mode&R0)===Bu)vJ.add(O),X(`%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`,Z);if(O.contextTypes&&!vJ.has(O)&&(u.mode&R0)===Bu)vJ.add(O),X(`%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`,Z);if(G.contextTypes)X("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",Z);if(O.contextType&&O.contextTypes&&!OB.has(O))OB.add(O),X("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",Z)}if(typeof G.componentShouldUpdate==="function")X("%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.",Z);if(O.prototype&&O.prototype.isPureReactComponent&&typeof G.shouldComponentUpdate!=="undefined")X("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",iu(O)||"A pure component");if(typeof G.componentDidUnmount==="function")X("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",Z);if(typeof G.componentDidReceiveProps==="function")X("%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().",Z);if(typeof G.componentWillRecieveProps==="function")X("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Z);if(typeof G.UNSAFE_componentWillRecieveProps==="function")X("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",Z);var Y=G.props!==D;if(G.props!==void 0&&Y)X("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",Z,Z);if(G.defaultProps)X("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",Z,Z);if(typeof G.getSnapshotBeforeUpdate==="function"&&typeof G.componentDidUpdate!=="function"&&!tY.has(O))tY.add(O),X("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",iu(O));if(typeof G.getDerivedStateFromProps==="function")X("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Z);if(typeof G.getDerivedStateFromError==="function")X("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Z);if(typeof O.getSnapshotBeforeUpdate==="function")X("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Z);var B=G.state;if(B&&(typeof B!=="object"||ru(B)))X("%s.state: must be set to an object or null",Z);if(typeof G.getChildContext==="function"&&typeof O.childContextTypes!=="object")X("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Z)}}function P6(u,O){O.updater=GB,u.stateNode=O,EM(O,u),O._reactInternalInstance=sY}function C6(u,O,D){var G=!1,Z=GD,Q=GD,Y=O.contextType;if("contextType"in O){var B=Y===null||Y!==void 0&&Y.$$typeof===L&&Y._context===void 0;if(!B&&!DB.has(O)){DB.add(O);var U="";if(Y===void 0)U=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.";else if(typeof Y!=="object")U=" However, it is set to a "+typeof Y+".";else if(Y.$$typeof===oE)U=" Did you accidentally pass the Context.Provider instead?";else if(Y._context!==void 0)U=" Did you accidentally pass the Context.Consumer instead?";else U=" However, it is set to an object with keys {"+Object.keys(Y).join(", ")+"}.";X("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",iu(O)||"Component",U)}}if(typeof Y==="object"&&Y!==null)Q=f0(Y);else{Z=eG(u,O,!0);var W=O.contextTypes;G=W!==null&&W!==void 0,Q=G?u8(u,Z):GD}var q=new O(D,Q);if(u.mode&R0){t0(!0);try{q=new O(D,Q)}finally{t0(!1)}}var R=u.memoizedState=q.state!==null&&q.state!==void 0?q.state:null;P6(u,q);{if(typeof O.getDerivedStateFromProps==="function"&&R===null){var T=iu(O)||"Component";if(!aY.has(T))aY.add(T),X("`%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.",T,q.state===null?"null":"undefined",T)}if(typeof O.getDerivedStateFromProps==="function"||typeof q.getSnapshotBeforeUpdate==="function"){var N=null,g=null,C=null;if(typeof q.componentWillMount==="function"&&q.componentWillMount.__suppressDeprecationWarning!==!0)N="componentWillMount";else if(typeof q.UNSAFE_componentWillMount==="function")N="UNSAFE_componentWillMount";if(typeof q.componentWillReceiveProps==="function"&&q.componentWillReceiveProps.__suppressDeprecationWarning!==!0)g="componentWillReceiveProps";else if(typeof q.UNSAFE_componentWillReceiveProps==="function")g="UNSAFE_componentWillReceiveProps";if(typeof q.componentWillUpdate==="function"&&q.componentWillUpdate.__suppressDeprecationWarning!==!0)C="componentWillUpdate";else if(typeof q.UNSAFE_componentWillUpdate==="function")C="UNSAFE_componentWillUpdate";if(N!==null||g!==null||C!==null){var a=iu(O)||"Component",Qu=typeof O.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";if(!oY.has(a))oY.add(a),X(`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`,a,Qu,N!==null?`
`+N:"",g!==null?`
`+g:"",C!==null?`
`+C:"")}}}if(G)T2(u,Z,Q);return q}function qw(u,O){var D=O.state;if(typeof O.componentWillMount==="function")O.componentWillMount();if(typeof O.UNSAFE_componentWillMount==="function")O.UNSAFE_componentWillMount();if(D!==O.state)X("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$u(u)||"Component"),GB.enqueueReplaceState(O,O.state,null)}function b6(u,O,D,G){var Z=O.state;if(typeof O.componentWillReceiveProps==="function")O.componentWillReceiveProps(D,G);if(typeof O.UNSAFE_componentWillReceiveProps==="function")O.UNSAFE_componentWillReceiveProps(D,G);if(O.state!==Z){{var Q=$u(u)||"Component";if(!rY.has(Q))rY.add(Q),X("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Q)}GB.enqueueReplaceState(O,O.state,null)}}function AB(u,O,D,G){Kw(u,O,D);var Z=u.stateNode;Z.props=D,Z.state=u.memoizedState,Z.refs={},UY(u);var Q=O.contextType;if(typeof Q==="object"&&Q!==null)Z.context=f0(Q);else{var Y=eG(u,O,!0);Z.context=u8(u,Y)}{if(Z.state===D){var B=iu(O)||"Component";if(!uB.has(B))uB.add(B),X("%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.",B)}if(u.mode&R0)_D.recordLegacyContextWarning(u,Z);_D.recordUnsafeLifecycleWarnings(u,Z)}Z.state=u.memoizedState;var U=O.getDerivedStateFromProps;if(typeof U==="function")EB(u,O,U,D),Z.state=u.memoizedState;if(typeof O.getDerivedStateFromProps!=="function"&&typeof Z.getSnapshotBeforeUpdate!=="function"&&(typeof Z.UNSAFE_componentWillMount==="function"||typeof Z.componentWillMount==="function"))qw(u,Z),wQ(u,D,Z,G),Z.state=u.memoizedState;if(typeof Z.componentDidMount==="function"){var W=cu;if(W|=p1,(u.mode&GE)!==Bu)W|=NE;u.flags|=W}}function Mw(u,O,D,G){var{stateNode:Z,memoizedProps:Q}=u;Z.props=Q;var Y=Z.context,B=O.contextType,U=GD;if(typeof B==="object"&&B!==null)U=f0(B);else{var W=eG(u,O,!0);U=u8(u,W)}var q=O.getDerivedStateFromProps,R=typeof q==="function"||typeof Z.getSnapshotBeforeUpdate==="function";if(!R&&(typeof Z.UNSAFE_componentWillReceiveProps==="function"||typeof Z.componentWillReceiveProps==="function")){if(Q!==D||Y!==U)b6(u,Z,D,U)}a2();var T=u.memoizedState,N=Z.state=T;if(wQ(u,D,Z,G),N=u.memoizedState,Q===D&&T===N&&!AQ()&&!RQ()){if(typeof Z.componentDidMount==="function"){var g=cu;if(g|=p1,(u.mode&GE)!==Bu)g|=NE;u.flags|=g}return!1}if(typeof q==="function")EB(u,O,q,D),N=u.memoizedState;var C=RQ()||f6(u,O,Q,D,T,N,U);if(C){if(!R&&(typeof Z.UNSAFE_componentWillMount==="function"||typeof Z.componentWillMount==="function")){if(typeof Z.componentWillMount==="function")Z.componentWillMount();if(typeof Z.UNSAFE_componentWillMount==="function")Z.UNSAFE_componentWillMount()}if(typeof Z.componentDidMount==="function"){var a=cu;if(a|=p1,(u.mode&GE)!==Bu)a|=NE;u.flags|=a}}else{if(typeof Z.componentDidMount==="function"){var Qu=cu;if(Qu|=p1,(u.mode&GE)!==Bu)Qu|=NE;u.flags|=Qu}u.memoizedProps=D,u.memoizedState=N}return Z.props=D,Z.state=N,Z.context=U,C}function Sw(u,O,D,G,Z){var Q=O.stateNode;r2(u,O);var Y=O.memoizedProps,B=O.type===O.elementType?Y:lD(O.type,Y);Q.props=B;var U=O.pendingProps,W=Q.context,q=D.contextType,R=GD;if(typeof q==="object"&&q!==null)R=f0(q);else{var T=eG(O,D,!0);R=u8(O,T)}var N=D.getDerivedStateFromProps,g=typeof N==="function"||typeof Q.getSnapshotBeforeUpdate==="function";if(!g&&(typeof Q.UNSAFE_componentWillReceiveProps==="function"||typeof Q.componentWillReceiveProps==="function")){if(Y!==U||W!==R)b6(O,Q,G,R)}a2();var C=O.memoizedState,a=Q.state=C;if(wQ(O,G,Q,Z),a=O.memoizedState,Y===U&&C===a&&!AQ()&&!RQ()&&!bO){if(typeof Q.componentDidUpdate==="function"){if(Y!==u.memoizedProps||C!==u.memoizedState)O.flags|=cu}if(typeof Q.getSnapshotBeforeUpdate==="function"){if(Y!==u.memoizedProps||C!==u.memoizedState)O.flags|=n1}return!1}if(typeof N==="function")EB(O,D,N,G),a=O.memoizedState;var Qu=RQ()||f6(O,D,B,G,C,a,R)||bO;if(Qu){if(!g&&(typeof Q.UNSAFE_componentWillUpdate==="function"||typeof Q.componentWillUpdate==="function")){if(typeof Q.componentWillUpdate==="function")Q.componentWillUpdate(G,a,R);if(typeof Q.UNSAFE_componentWillUpdate==="function")Q.UNSAFE_componentWillUpdate(G,a,R)}if(typeof Q.componentDidUpdate==="function")O.flags|=cu;if(typeof Q.getSnapshotBeforeUpdate==="function")O.flags|=n1}else{if(typeof Q.componentDidUpdate==="function"){if(Y!==u.memoizedProps||C!==u.memoizedState)O.flags|=cu}if(typeof Q.getSnapshotBeforeUpdate==="function"){if(Y!==u.memoizedProps||C!==u.memoizedState)O.flags|=n1}O.memoizedProps=G,O.memoizedState=a}return Q.props=G,Q.state=a,Q.context=R,Qu}function BG(u,O){return{value:u,source:O,stack:DA(O),digest:null}}function JB(u,O,D){return{value:u,source:null,stack:D!=null?D:null,digest:O!=null?O:null}}function Lw(u,O){return!0}function ZB(u,O){try{var D=Lw(u,O);if(D===!1)return;var{value:G,source:Z,stack:Q}=O,Y=Q!==null?Q:"";if(G!=null&&G._suppressLogging){if(u.tag===M)return;console.error(G)}var B=Z?$u(Z):null,U=B?"The above error occurred in the <"+B+"> component:":"The above error occurred in one of your React components:",W;if(u.tag===w)W=`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 q=$u(u)||"Anonymous";W="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+q+".")}var R=U+`
`+Y+`
`+(""+W);console.error(R)}catch(T){setTimeout(function(){throw T})}}var zw=typeof WeakMap==="function"?WeakMap:Map;function x6(u,O,D){var G=yE(Y0,D);G.tag=YY,G.payload={element:null};var Z=O.value;return G.callback=function(){M$(Z),ZB(u,O)},G}function QB(u,O,D){var G=yE(Y0,D);G.tag=YY;var Z=u.type.getDerivedStateFromError;if(typeof Z==="function"){var Q=O.value;G.payload=function(){return Z(Q)},G.callback=function(){sv(u),ZB(u,O)}}var Y=u.stateNode;if(Y!==null&&typeof Y.componentDidCatch==="function")G.callback=function B(){if(sv(u),ZB(u,O),typeof Z!=="function")K$(this);var{value:U,stack:W}=O;if(this.componentDidCatch(U,{componentStack:W!==null?W:""}),typeof Z!=="function"){if(!uD(u.lanes,Mu))X("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",$u(u)||"Unknown")}};return G}function h6(u,O,D){var G=u.pingCache,Z;if(G===null)G=u.pingCache=new zw,Z=new Set,G.set(O,Z);else if(Z=G.get(O),Z===void 0)Z=new Set,G.set(O,Z);if(!Z.has(D)){Z.add(D);var Q=S$.bind(null,u,O,D);if(bD)gJ(u,D);O.then(Q,Q)}}function Tw(u,O,D,G){var Z=u.updateQueue;if(Z===null){var Q=new Set;Q.add(D),u.updateQueue=Q}else Z.add(D)}function ww(u,O){var D=u.tag;if((u.mode&ku)===Bu&&(D===K||D===b||D===p)){var G=u.alternate;if(G)u.updateQueue=G.updateQueue,u.memoizedState=G.memoizedState,u.lanes=G.lanes;else u.updateQueue=null,u.memoizedState=null}}function k6(u){var O=u;do{if(O.tag===i&&Aw(O))return O;O=O.return}while(O!==null);return null}function _6(u,O,D,G,Z){if((u.mode&ku)===Bu){if(u===O)u.flags|=jO;else{if(u.flags|=au,D.flags|=I9,D.flags&=~(GM|UA),D.tag===M){var Q=D.alternate;if(Q===null)D.tag=wu;else{var Y=yE(Y0,Mu);Y.tag=SQ,K1(D,Y,Mu)}}D.lanes=Iu(D.lanes,Mu)}return u}return u.flags|=jO,u.lanes=Z,u}function Rw(u,O,D,G,Z){if(D.flags|=UA,bD)gJ(u,Z);if(G!==null&&typeof G==="object"&&typeof G.then==="function"){var Q=G;if(ww(D),GO()&&D.mode&ku)N2();var Y=k6(O);if(Y!==null){if(Y.flags&=~jE,_6(Y,O,D,u,Z),Y.mode&ku)h6(u,Q,Z);Tw(Y,u,Q);return}else{if(!sM(Z)){h6(u,Q,Z),lB();return}var B=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=B}}else if(GO()&&D.mode&ku){N2();var U=k6(O);if(U!==null){if((U.flags&jO)===vu)U.flags|=jE;_6(U,O,D,u,Z),eX(BG(G,D));return}}G=BG(G,D),V$(G);var W=O;do{switch(W.tag){case w:{var q=G;W.flags|=jO;var R=LA(Z);W.lanes=Iu(W.lanes,R);var T=x6(W,q,R);vY(W,T);return}case M:var N=G,g=W.type,C=W.stateNode;if((W.flags&au)===vu&&(typeof g.getDerivedStateFromError==="function"||C!==null&&typeof C.componentDidCatch==="function"&&!_v(C))){W.flags|=jO;var a=LA(Z);W.lanes=Iu(W.lanes,a);var Qu=QB(W,N,a);vY(W,Qu);return}break}W=W.return}while(W!==null)}function $w(){return null}var HJ=E.ReactCurrentOwner,cD=!1,VB,WJ,XB,YB,BB,UG,UB,tQ,KJ;VB={},WJ={},XB={},YB={},BB={},UG=!1,UB={},tQ={},KJ={};function FO(u,O,D,G){if(u===null)O.child=l2(O,null,D,G);else O.child=G8(O,u.child,D,G)}function Iw(u,O,D,G){O.child=G8(O,u.child,null,G),O.child=G8(O,null,D,G)}function y6(u,O,D,G,Z){if(O.type!==O.elementType){var Q=D.propTypes;if(Q)hD(Q,G,"prop",iu(D))}var Y=D.render,B=O.ref,U,W;J8(O,Z),HA(O);{if(HJ.current=O,oO(!0),U=B8(u,O,Y,G,B,Z),W=U8(),O.mode&R0){t0(!0);try{U=B8(u,O,Y,G,B,Z),W=U8()}finally{t0(!1)}}oO(!1)}if(_G(),u!==null&&!cD)return D6(u,O,Z),mE(u,O,Z);if(GO()&&W)pX(O);return O.flags|=hG,FO(u,O,U,Z),O.child}function m6(u,O,D,G,Z){if(u===null){var Q=D.type;if(h$(Q)&&D.compare===null&&D.defaultProps===void 0){var Y=Q;return Y=L8(Q),O.tag=p,O.type=Y,WB(O,Q),l6(u,O,Y,G,Z)}{var B=Q.propTypes;if(B)hD(B,G,"prop",iu(Q));if(D.defaultProps!==void 0){var U=iu(Q)||"Unknown";if(!KJ[U])X("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",U),KJ[U]=!0}}var W=eB(D.type,null,G,O,O.mode,Z);return W.ref=O.ref,W.return=O,O.child=W,W}{var q=D.type,R=q.propTypes;if(R)hD(R,G,"prop",iu(q))}var T=u.child,N=zB(u,Z);if(!N){var g=T.memoizedProps,C=D.compare;if(C=C!==null?C:xA,C(g,G)&&u.ref===O.ref)return mE(u,O,Z)}O.flags|=hG;var a=qG(T,G);return a.ref=O.ref,a.return=O,O.child=a,a}function l6(u,O,D,G,Z){if(O.type!==O.elementType){var Q=O.elementType;if(Q.$$typeof===Ru){var Y=Q,B=Y._payload,U=Y._init;try{Q=U(B)}catch(R){Q=null}var W=Q&&Q.propTypes;if(W)hD(W,G,"prop",iu(Q))}}if(u!==null){var q=u.memoizedProps;if(xA(q,G)&&u.ref===O.ref&&O.type===u.type){if(cD=!1,O.pendingProps=G=q,!zB(u,Z))return O.lanes=u.lanes,mE(u,O,Z);else if((u.flags&I9)!==vu)cD=!0}}return vB(u,O,D,G,Z)}function c6(u,O,D){var G=O.pendingProps,Z=G.children,Q=u!==null?u.memoizedState:null;if(G.mode==="hidden"||RO)if((O.mode&ku)===Bu){var Y={baseLanes:l,cachePool:null,transitions:null};O.memoizedState=Y,XV(O,D)}else if(!uD(D,eO)){var B=null,U;if(Q!==null){var W=Q.baseLanes;U=Iu(W,D)}else U=D;O.lanes=O.childLanes=NZ(eO);var q={baseLanes:U,cachePool:B,transitions:null};return O.memoizedState=q,O.updateQueue=null,XV(O,U),null}else{var R={baseLanes:l,cachePool:null,transitions:null};O.memoizedState=R;var T=Q!==null?Q.baseLanes:D;XV(O,T)}else{var N;if(Q!==null)N=Iu(Q.baseLanes,D),O.memoizedState=null;else N=D;XV(O,N)}return FO(u,O,Z,D),O.child}function jw(u,O,D){var G=O.pendingProps;return FO(u,O,G,D),O.child}function Fw(u,O,D){var G=O.pendingProps.children;return FO(u,O,G,D),O.child}function Nw(u,O,D){{O.flags|=cu;{var G=O.stateNode;G.effectDuration=0,G.passiveEffectDuration=0}}var Z=O.pendingProps,Q=Z.children;return FO(u,O,Q,D),O.child}function i6(u,O){var D=O.ref;if(u===null&&D!==null||u!==null&&u.ref!==D)O.flags|=A1,O.flags|=j9}function vB(u,O,D,G,Z){if(O.type!==O.elementType){var Q=D.propTypes;if(Q)hD(Q,G,"prop",iu(D))}var Y;{var B=eG(O,D,!0);Y=u8(O,B)}var U,W;J8(O,Z),HA(O);{if(HJ.current=O,oO(!0),U=B8(u,O,D,G,Y,Z),W=U8(),O.mode&R0){t0(!0);try{U=B8(u,O,D,G,Y,Z),W=U8()}finally{t0(!1)}}oO(!1)}if(_G(),u!==null&&!cD)return D6(u,O,Z),mE(u,O,Z);if(GO()&&W)pX(O);return O.flags|=hG,FO(u,O,U,Z),O.child}function n6(u,O,D,G,Z){{switch(o$(O)){case!1:{var{stateNode:Q,type:Y}=O,B=new Y(O.memoizedProps,Q.context),U=B.state;Q.updater.enqueueSetState(Q,U,null);break}case!0:{O.flags|=au,O.flags|=jO;var W=new Error("Simulated error coming from DevTools"),q=LA(Z);O.lanes=Iu(O.lanes,q);var R=QB(O,BG(W,O),q);vY(O,R);break}}if(O.type!==O.elementType){var T=D.propTypes;if(T)hD(T,G,"prop",iu(D))}}var N;if(ZE(D))N=!0,ZQ(O);else N=!1;J8(O,Z);var g=O.stateNode,C;if(g===null)eQ(u,O),C6(O,D,G),AB(O,D,G,Z),C=!0;else if(u===null)C=Mw(O,D,G,Z);else C=Sw(u,O,D,G,Z);var a=HB(u,O,D,C,N,Z);{var Qu=O.stateNode;if(C&&Qu.props!==G){if(!UG)X("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",$u(O)||"a component");UG=!0}}return a}function HB(u,O,D,G,Z,Q){i6(u,O);var Y=(O.flags&au)!==vu;if(!G&&!Y){if(Z)$2(O,D,!1);return mE(u,O,Q)}var B=O.stateNode;HJ.current=O;var U;if(Y&&typeof D.getDerivedStateFromError!=="function")U=null,F6();else{HA(O);{if(oO(!0),U=B.render(),O.mode&R0){t0(!0);try{B.render()}finally{t0(!1)}}oO(!1)}_G()}if(O.flags|=hG,u!==null&&Y)Iw(u,O,U,Q);else FO(u,O,U,Q);if(O.memoizedState=B.state,Z)$2(O,D,!0);return O.child}function d6(u){var O=u.stateNode;if(O.pendingContext)w2(u,O.pendingContext,O.pendingContext!==O.context);else if(O.context)w2(u,O.context,!1);HY(u,O.containerInfo)}function gw(u,O,D){if(d6(O),u===null)throw new Error("Should have a current fiber. This is a bug in React.");var{pendingProps:G,memoizedState:Z}=O,Q=Z.element;r2(u,O),wQ(O,G,null,D);var{memoizedState:Y,stateNode:B}=O,U=Y.element;if(Z.isDehydrated){var W={element:U,isDehydrated:!1,cache:Y.cache,pendingSuspenseBoundaries:Y.pendingSuspenseBoundaries,transitions:Y.transitions},q=O.updateQueue;if(q.baseState=W,O.memoizedState=W,O.flags&jE){var R=BG(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."),O);return p6(u,O,U,D,R)}else if(U!==Q){var T=BG(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),O);return p6(u,O,U,D,T)}else{bT(O);var N=l2(O,null,U,D);O.child=N;var g=N;while(g)g.flags=g.flags&~g0|FE,g=g.sibling}}else{if(E8(),U===Q)return mE(u,O,D);FO(u,O,U,D)}return O.child}function p6(u,O,D,G,Z){return E8(),eX(Z),O.flags|=jE,FO(u,O,D,G),O.child}function fw(u,O,D){if(e2(O),u===null)oX(O);var{type:G,pendingProps:Z}=O,Q=u!==null?u.memoizedProps:null,Y=Z.children,B=CX(G,Z);if(B)Y=null;else if(Q!==null&&CX(G,Q))O.flags|=BA;return i6(u,O),FO(u,O,Y,D),O.child}function Pw(u,O){if(u===null)oX(O);return null}function Cw(u,O,D,G){eQ(u,O);var Z=O.pendingProps,Q=D,Y=Q._payload,B=Q._init,U=B(Y);O.type=U;var W=O.tag=k$(U),q=lD(U,Z),R;switch(W){case K:return WB(O,U),O.type=U=L8(U),R=vB(null,O,U,q,G),R;case M:return O.type=U=pB(U),R=n6(null,O,U,q,G),R;case b:return O.type=U=sB(U),R=y6(null,O,U,q,G),R;case Au:{if(O.type!==O.elementType){var T=U.propTypes;if(T)hD(T,q,"prop",iu(U))}return R=m6(null,O,U,lD(U.type,q),G),R}}var N="";if(U!==null&&typeof U==="object"&&U.$$typeof===Ru)N=" Did you wrap a component in React.lazy() more than once?";throw new Error("Element type is invalid. Received a promise that resolves to: "+U+". "+("Lazy element type must resolve to a class or function."+N))}function bw(u,O,D,G,Z){eQ(u,O),O.tag=M;var Q;if(ZE(D))Q=!0,ZQ(O);else Q=!1;return J8(O,Z),C6(O,D,G),AB(O,D,G,Z),HB(null,O,D,!0,Q,Z)}function xw(u,O,D,G){eQ(u,O);var Z=O.pendingProps,Q;{var Y=eG(O,D,!1);Q=u8(O,Y)}J8(O,G);var B,U;HA(O);{if(D.prototype&&typeof D.prototype.render==="function"){var W=iu(D)||"Unknown";if(!VB[W])X("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.",W,W),VB[W]=!0}if(O.mode&R0)_D.recordLegacyContextWarning(O,null);oO(!0),HJ.current=O,B=B8(null,O,D,Z,Q,G),U=U8(),oO(!1)}if(_G(),O.flags|=hG,typeof B==="object"&&B!==null&&typeof B.render==="function"&&B.$$typeof===void 0){var q=iu(D)||"Unknown";if(!WJ[q])X("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.",q,q,q),WJ[q]=!0}if(typeof B==="object"&&B!==null&&typeof B.render==="function"&&B.$$typeof===void 0){{var R=iu(D)||"Unknown";if(!WJ[R])X("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.",R,R,R),WJ[R]=!0}O.tag=M,O.memoizedState=null,O.updateQueue=null;var T=!1;if(ZE(D))T=!0,ZQ(O);else T=!1;return O.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,UY(O),P6(O,B),AB(O,D,Z,G),HB(null,O,D,!0,T,G)}else{if(O.tag=K,O.mode&R0){t0(!0);try{B=B8(null,O,D,Z,Q,G),U=U8()}finally{t0(!1)}}if(GO()&&U)pX(O);return FO(null,O,B,G),WB(O,D),O.child}}function WB(u,O){{if(O){if(O.childContextTypes)X("%s(...): childContextTypes cannot be defined on a function component.",O.displayName||O.name||"Component")}if(u.ref!==null){var D="",G=D1();if(G)D+=`
Check the render method of \``+G+"`.";var Z=G||"",Q=u._debugSource;if(Q)Z=Q.fileName+":"+Q.lineNumber;if(!BB[Z])BB[Z]=!0,X("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",D)}if(O.defaultProps!==void 0){var Y=iu(O)||"Unknown";if(!KJ[Y])X("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",Y),KJ[Y]=!0}if(typeof O.getDerivedStateFromProps==="function"){var B=iu(O)||"Unknown";if(!YB[B])X("%s: Function components do not support getDerivedStateFromProps.",B),YB[B]=!0}if(typeof O.contextType==="object"&&O.contextType!==null){var U=iu(O)||"Unknown";if(!XB[U])X("%s: Function components do not support contextType.",U),XB[U]=!0}}}var KB={dehydrated:null,treeContext:null,retryLane:o0};function qB(u){return{baseLanes:u,cachePool:$w(),transitions:null}}function hw(u,O){var D=null;return{baseLanes:Iu(u.baseLanes,O),cachePool:D,transitions:u.transitions}}function kw(u,O,D,G){if(O!==null){var Z=O.memoizedState;if(Z===null)return!1}return qY(u,JJ)}function _w(u,O){return FZ(u.childLanes,O)}function s6(u,O,D){var G=O.pendingProps;if(e$(O))O.flags|=au;var Z=yD.current,Q=!1,Y=(O.flags&au)!==vu;if(Y||kw(Z,u))Q=!0,O.flags&=~au;else if(u===null||u.memoizedState!==null)Z=Gw(Z,O6);if(Z=Q8(Z),M1(O,Z),u===null){oX(O);var B=O.memoizedState;if(B!==null){var U=B.dehydrated;if(U!==null)return iw(O,U)}var{children:W,fallback:q}=G;if(Q){var R=yw(O,W,q,D),T=O.child;return T.memoizedState=qB(D),O.memoizedState=KB,R}else return MB(O,W)}else{var N=u.memoizedState;if(N!==null){var g=N.dehydrated;if(g!==null)return nw(u,O,Y,G,g,N,D)}if(Q){var{fallback:C,children:a}=G,Qu=lw(u,O,a,C,D),Zu=O.child,fu=u.child.memoizedState;return Zu.memoizedState=fu===null?qB(D):hw(fu,D),Zu.childLanes=_w(u,D),O.memoizedState=KB,Qu}else{var Pu=G.children,$=mw(u,O,Pu,D);return O.memoizedState=null,$}}}function MB(u,O,D){var G=u.mode,Z={mode:"visible",children:O},Q=SB(Z,G);return Q.return=u,u.child=Q,Q}function yw(u,O,D,G){var{mode:Z,child:Q}=u,Y={mode:"hidden",children:O},B,U;if((Z&ku)===Bu&&Q!==null){if(B=Q,B.childLanes=l,B.pendingProps=Y,u.mode&u0)B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=0,B.treeBaseDuration=0;U=I1(D,Z,G,null)}else B=SB(Y,Z),U=I1(D,Z,G,null);return B.return=u,U.return=u,B.sibling=U,u.child=B,U}function SB(u,O,D){return av(u,O,l,null)}function r6(u,O){return qG(u,O)}function mw(u,O,D,G){var Z=u.child,Q=Z.sibling,Y=r6(Z,{mode:"visible",children:D});if((O.mode&ku)===Bu)Y.lanes=G;if(Y.return=O,Y.sibling=null,Q!==null){var B=O.deletions;if(B===null)O.deletions=[Q],O.flags|=i1;else B.push(Q)}return O.child=Y,Y}function lw(u,O,D,G,Z){var Q=O.mode,Y=u.child,B=Y.sibling,U={mode:"hidden",children:D},W;if((Q&ku)===Bu&&O.child!==Y){var q=O.child;if(W=q,W.childLanes=l,W.pendingProps=U,O.mode&u0)W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=Y.selfBaseDuration,W.treeBaseDuration=Y.treeBaseDuration;O.deletions=null}else W=r6(Y,U),W.subtreeFlags=Y.subtreeFlags≧var R;if(B!==null)R=qG(B,G);else R=I1(G,Q,Z,null),R.flags|=g0;return R.return=O,W.return=O,W.sibling=R,O.child=W,R}function oQ(u,O,D,G){if(G!==null)eX(G);G8(O,u.child,null,D);var Z=O.pendingProps,Q=Z.children,Y=MB(O,Q);return Y.flags|=g0,O.memoizedState=null,Y}function cw(u,O,D,G,Z){var Q=O.mode,Y={mode:"visible",children:D},B=SB(Y,Q),U=I1(G,Q,Z,null);if(U.flags|=g0,B.return=O,U.return=O,B.sibling=U,O.child=B,(O.mode&ku)!==Bu)G8(O,u.child,null,Z);return U}function iw(u,O,D){if((u.mode&ku)===Bu)X("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."),u.lanes=NZ(Mu);else if(kX(O))u.lanes=NZ(t1);else u.lanes=NZ(eO);return null}function nw(u,O,D,G,Z,Q,Y){if(!D){if(PT(),(O.mode&ku)===Bu)return oQ(u,O,Y,null);if(kX(Z)){var B,U,W;{var q=az(Z);B=q.digest,U=q.message,W=q.stack}var R;if(U)R=new Error(U);else R=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var T=JB(R,B,W);return oQ(u,O,Y,T)}var N=uD(Y,u.childLanes);if(cD||N){var g=VV();if(g!==null){var C=DS(g,Y);if(C!==o0&&C!==Q.retryLane){Q.retryLane=C;var a=Y0;mO(u,C),c0(g,u,C,a)}}lB();var Qu=JB(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 oQ(u,O,Y,Qu)}else if(K2(Z)){O.flags|=au,O.child=u.child;var Zu=L$.bind(null,u);return tz(Z,Zu),null}else{xT(O,Z,Q.treeContext);var fu=G.children,Pu=MB(O,fu);return Pu.flags|=FE,Pu}}else if(O.flags&jE){O.flags&=~jE;var $=JB(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return oQ(u,O,Y,$)}else if(O.memoizedState!==null)return O.child=u.child,O.flags|=au,null;else{var{children:k,fallback:I}=G,c=cw(u,O,k,I,Y),Du=O.child;return Du.memoizedState=qB(Y),O.memoizedState=KB,c}}function a6(u,O,D){u.lanes=Iu(u.lanes,O);var G=u.alternate;if(G!==null)G.lanes=Iu(G.lanes,O);VY(u.return,O,D)}function dw(u,O,D){var G=O;while(G!==null){if(G.tag===i){var Z=G.memoizedState;if(Z!==null)a6(G,D,u)}else if(G.tag===Fu)a6(G,D,u);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===u)return;while(G.sibling===null){if(G.return===null||G.return===u)return;G=G.return}G.sibling.return=G.return,G=G.sibling}}function pw(u){var O=u,D=null;while(O!==null){var G=O.alternate;if(G!==null&&jQ(G)===null)D=O;O=O.sibling}return D}function sw(u){if(u!==void 0&&u!=="forwards"&&u!=="backwards"&&u!=="together"&&!UB[u])if(UB[u]=!0,typeof u==="string")switch(u.toLowerCase()){case"together":case"forwards":case"backwards":{X('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',u,u.toLowerCase());break}case"forward":case"backward":{X('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',u,u.toLowerCase());break}default:X('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',u);break}else X('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',u)}function rw(u,O){if(u!==void 0&&!tQ[u]){if(u!=="collapsed"&&u!=="hidden")tQ[u]=!0,X('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',u);else if(O!=="forwards"&&O!=="backwards")tQ[u]=!0,X('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',u)}}function t6(u,O){{var D=ru(u),G=!D&&typeof q0(u)==="function";if(D||G){var Z=D?"array":"iterable";return X("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>",Z,O,Z),!1}}return!0}function aw(u,O){if((O==="forwards"||O==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(ru(u)){for(var D=0;D<u.length;D++)if(!t6(u[D],D))return}else{var G=q0(u);if(typeof G==="function"){var Z=G.call(u);if(Z){var Q=Z.next(),Y=0;for(;!Q.done;Q=Z.next()){if(!t6(Q.value,Y))return;Y++}}}else X('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?',O)}}function LB(u,O,D,G,Z){var Q=u.memoizedState;if(Q===null)u.memoizedState={isBackwards:O,rendering:null,renderingStartTime:0,last:G,tail:D,tailMode:Z};else Q.isBackwards=O,Q.rendering=null,Q.renderingStartTime=0,Q.last=G,Q.tail=D,Q.tailMode=Z}function o6(u,O,D){var G=O.pendingProps,Z=G.revealOrder,Q=G.tail,Y=G.children;sw(Z),rw(Q,Z),aw(Y,Z),FO(u,O,Y,D);var B=yD.current,U=qY(B,JJ);if(U)B=MY(B,JJ),O.flags|=au;else{var W=u!==null&&(u.flags&au)!==vu;if(W)dw(O,O.child,D);B=Q8(B)}if(M1(O,B),(O.mode&ku)===Bu)O.memoizedState=null;else switch(Z){case"forwards":{var q=pw(O.child),R;if(q===null)R=O.child,O.child=null;else R=q.sibling,q.sibling=null;LB(O,!1,R,q,Q);break}case"backwards":{var T=null,N=O.child;O.child=null;while(N!==null){var g=N.alternate;if(g!==null&&jQ(g)===null){O.child=N;break}var C=N.sibling;N.sibling=T,T=N,N=C}LB(O,!0,T,null,Q);break}case"together":{LB(O,!1,null,null,void 0);break}default:O.memoizedState=null}return O.child}function tw(u,O,D){HY(O,O.stateNode.containerInfo);var G=O.pendingProps;if(u===null)O.child=G8(O,null,G,D);else FO(u,O,G,D);return O.child}var e6=!1;function ow(u,O,D){var G=O.type,Z=G._context,Q=O.pendingProps,Y=O.memoizedProps,B=Q.value;{if(!("value"in Q)){if(!e6)e6=!0,X("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")}var U=O.type.propTypes;if(U)hD(U,Q,"prop","Context.Provider")}if(n2(O,Z,B),Y!==null){var W=Y.value;if(ED(W,B)){if(Y.children===Q.children&&!AQ())return mE(u,O,D)}else rT(O,Z,D)}var q=Q.children;return FO(u,O,q,D),O.child}var uv=!1;function ew(u,O,D){var G=O.type;if(G._context===void 0){if(G!==G.Consumer){if(!uv)uv=!0,X("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 Z=O.pendingProps,Q=Z.children;if(typeof Q!=="function")X("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.");J8(O,D);var Y=f0(G);HA(O);var B;return HJ.current=O,oO(!0),B=Q(Y),oO(!1),_G(),O.flags|=hG,FO(u,O,B,D),O.child}function qJ(){cD=!0}function eQ(u,O){if((O.mode&ku)===Bu){if(u!==null)u.alternate=null,O.alternate=null,O.flags|=g0}}function mE(u,O,D){if(u!==null)O.dependencies=u.dependencies;if(F6(),NJ(O.lanes),!uD(D,O.childLanes))return null;return pT(u,O),O.child}function uR(u,O,D){{var G=O.return;if(G===null)throw new Error("Cannot swap the root fiber.");if(u.alternate=null,O.alternate=null,D.index=O.index,D.sibling=O.sibling,D.return=O.return,D.ref=O.ref,O===G.child)G.child=D;else{var Z=G.child;if(Z===null)throw new Error("Expected parent to have a child.");while(Z.sibling!==O)if(Z=Z.sibling,Z===null)throw new Error("Expected to find the previous sibling.");Z.sibling=D}var Q=G.deletions;if(Q===null)G.deletions=[u],G.flags|=i1;else Q.push(u);return D.flags|=g0,D}}function zB(u,O){var D=u.lanes;if(uD(D,O))return!0;return!1}function OR(u,O,D){switch(O.tag){case w:d6(O);var G=O.stateNode;E8();break;case P:e2(O);break;case M:{var Z=O.type;if(ZE(Z))ZQ(O);break}case j:HY(O,O.stateNode.containerInfo);break;case h:{var Q=O.memoizedProps.value,Y=O.type._context;n2(O,Y,Q);break}case d:{var B=uD(D,O.childLanes);if(B)O.flags|=cu;{var U=O.stateNode;U.effectDuration=0,U.passiveEffectDuration=0}}break;case i:{var W=O.memoizedState;if(W!==null){if(W.dehydrated!==null)return M1(O,Q8(yD.current)),O.flags|=au,null;var q=O.child,R=q.childLanes;if(uD(D,R))return s6(u,O,D);else{M1(O,Q8(yD.current));var T=mE(u,O,D);if(T!==null)return T.sibling;else return null}}else M1(O,Q8(yD.current));break}case Fu:{var N=(u.flags&au)!==vu,g=uD(D,O.childLanes);if(N){if(g)return o6(u,O,D);O.flags|=au}var C=O.memoizedState;if(C!==null)C.rendering=null,C.tail=null,C.lastEffect=null;if(M1(O,yD.current),g)break;else return null}case X0:case bu:return O.lanes=l,c6(u,O,D)}return mE(u,O,D)}function Ov(u,O,D){if(O._debugNeedsRemount&&u!==null)return uR(u,O,eB(O.type,O.key,O.pendingProps,O._debugOwner||null,O.mode,O.lanes));if(u!==null){var G=u.memoizedProps,Z=O.pendingProps;if(G!==Z||AQ()||O.type!==u.type)cD=!0;else{var Q=zB(u,D);if(!Q&&(O.flags&au)===vu)return cD=!1,OR(u,O,D);if((u.flags&I9)!==vu)cD=!0;else cD=!1}}else if(cD=!1,GO()&&IT(O)){var Y=O.index,B=jT();F2(O,B,Y)}switch(O.lanes=l,O.tag){case z:return xw(u,O,O.type,D);case Ku:{var U=O.elementType;return Cw(u,O,U,D)}case K:{var{type:W,pendingProps:q}=O,R=O.elementType===W?q:lD(W,q);return vB(u,O,W,R,D)}case M:{var{type:T,pendingProps:N}=O,g=O.elementType===T?N:lD(T,N);return n6(u,O,T,g,D)}case w:return gw(u,O,D);case P:return fw(u,O,D);case m:return Pw(u,O);case i:return s6(u,O,D);case j:return tw(u,O,D);case b:{var{type:C,pendingProps:a}=O,Qu=O.elementType===C?a:lD(C,a);return y6(u,O,C,Qu,D)}case t:return jw(u,O,D);case Gu:return Fw(u,O,D);case d:return Nw(u,O,D);case h:return ow(u,O,D);case f:return ew(u,O,D);case Au:{var{type:Zu,pendingProps:fu}=O,Pu=lD(Zu,fu);if(O.type!==O.elementType){var $=Zu.propTypes;if($)hD($,Pu,"prop",iu(Zu))}return Pu=lD(Zu.type,Pu),m6(u,O,Zu,Pu,D)}case p:return l6(u,O,O.type,O.pendingProps,D);case wu:{var{type:k,pendingProps:I}=O,c=O.elementType===k?I:lD(k,I);return bw(u,O,k,c,D)}case Fu:return o6(u,O,D);case V0:break;case X0:return c6(u,O,D)}throw new Error("Unknown unit of work tag ("+O.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function v8(u){u.flags|=cu}function Dv(u){u.flags|=A1,u.flags|=j9}var Ev,TB,Gv,Av;Ev=function(u,O,D,G){var Z=O.child;while(Z!==null){if(Z.tag===P||Z.tag===m)wz(u,Z.stateNode);else if(Z.tag===j);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===O)return;while(Z.sibling===null){if(Z.return===null||Z.return===O)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},TB=function(u,O){},Gv=function(u,O,D,G,Z){var Q=u.memoizedProps;if(Q===G)return;var Y=O.stateNode,B=WY(),U=$z(Y,D,Q,G,Z,B);if(O.updateQueue=U,U)v8(O)},Av=function(u,O,D,G){if(D!==G)v8(O)};function MJ(u,O){if(GO())return;switch(u.tailMode){case"hidden":{var D=u.tail,G=null;while(D!==null){if(D.alternate!==null)G=D;D=D.sibling}if(G===null)u.tail=null;else G.sibling=null;break}case"collapsed":{var Z=u.tail,Q=null;while(Z!==null){if(Z.alternate!==null)Q=Z;Z=Z.sibling}if(Q===null)if(!O&&u.tail!==null)u.tail.sibling=null;else u.tail=null;else Q.sibling=null;break}}}function JO(u){var O=u.alternate!==null&&u.alternate.child===u.child,D=l,G=vu;if(!O){if((u.mode&u0)!==Bu){var{actualDuration:Z,selfBaseDuration:Q,child:Y}=u;while(Y!==null)D=Iu(D,Iu(Y.lanes,Y.childLanes)),G|=Y.subtreeFlags,G|=Y.flags,Z+=Y.actualDuration,Q+=Y.treeBaseDuration,Y=Y.sibling;u.actualDuration=Z,u.treeBaseDuration=Q}else{var B=u.child;while(B!==null)D=Iu(D,Iu(B.lanes,B.childLanes)),G|=B.subtreeFlags,G|=B.flags,B.return=u,B=B.sibling}u.subtreeFlags|=G}else{if((u.mode&u0)!==Bu){var{selfBaseDuration:U,child:W}=u;while(W!==null)D=Iu(D,Iu(W.lanes,W.childLanes)),G|=W.subtreeFlags&gE,G|=W.flags&gE,U+=W.treeBaseDuration,W=W.sibling;u.treeBaseDuration=U}else{var q=u.child;while(q!==null)D=Iu(D,Iu(q.lanes,q.childLanes)),G|=q.subtreeFlags&gE,G|=q.flags&gE,q.return=u,q=q.sibling}u.subtreeFlags|=G}return u.childLanes=D,O}function DR(u,O,D){if(mT()&&(O.mode&ku)!==Bu&&(O.flags&au)===vu)return x2(O),E8(),O.flags|=jE|UA|jO,!1;var G=BQ(O);if(D!==null&&D.dehydrated!==null)if(u===null){if(!G)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_T(O),JO(O),(O.mode&u0)!==Bu){var Z=D!==null;if(Z){var Q=O.child;if(Q!==null)O.treeBaseDuration-=Q.treeBaseDuration}}return!1}else{if(E8(),(O.flags&au)===vu)O.memoizedState=null;if(O.flags|=cu,JO(O),(O.mode&u0)!==Bu){var Y=D!==null;if(Y){var B=O.child;if(B!==null)O.treeBaseDuration-=B.treeBaseDuration}}return!1}else return h2(),!0}function Jv(u,O,D){var G=O.pendingProps;switch(sX(O),O.tag){case z:case Ku:case p:case K:case b:case t:case Gu:case d:case f:case Au:return JO(O),null;case M:{var Z=O.type;if(ZE(Z))JQ(O);return JO(O),null}case w:{var Q=O.stateNode;if(Z8(O),iX(O),LY(),Q.pendingContext)Q.context=Q.pendingContext,Q.pendingContext=null;if(u===null||u.child===null){var Y=BQ(O);if(Y)v8(O);else if(u!==null){var B=u.memoizedState;if(!B.isDehydrated||(O.flags&jE)!==vu)O.flags|=n1,h2()}}return TB(u,O),JO(O),null}case P:{KY(O);var U=o2(),W=O.type;if(u!==null&&O.stateNode!=null){if(Gv(u,O,W,G,U),u.ref!==O.ref)Dv(O)}else{if(!G){if(O.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 JO(O),null}var q=WY(),R=BQ(O);if(R){if(hT(O,U,q))v8(O)}else{var T=Tz(W,G,U,q,O);if(Ev(T,O,!1,!1),O.stateNode=T,Rz(T,W,G,U))v8(O)}if(O.ref!==null)Dv(O)}return JO(O),null}case m:{var N=G;if(u&&O.stateNode!=null){var g=u.memoizedProps;Av(u,O,g,N)}else{if(typeof N!=="string"){if(O.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 C=o2(),a=WY(),Qu=BQ(O);if(Qu){if(kT(O))v8(O)}else O.stateNode=Iz(N,C,a,O)}return JO(O),null}case i:{V8(O);var Zu=O.memoizedState;if(u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){var fu=DR(u,O,Zu);if(!fu)if(O.flags&jO)return O;else return null}if((O.flags&au)!==vu){if(O.lanes=D,(O.mode&u0)!==Bu)pY(O);return O}var Pu=Zu!==null,$=u!==null&&u.memoizedState!==null;if(Pu!==$){if(Pu){var k=O.child;if(k.flags|=d1,(O.mode&ku)!==Bu){var I=u===null&&(O.memoizedProps.unstable_avoidThisFallback!==!0||!YD);if(I||qY(yD.current,O6))Q$();else lB()}}}var c=O.updateQueue;if(c!==null)O.flags|=cu;if(JO(O),(O.mode&u0)!==Bu){if(Pu){var Du=O.child;if(Du!==null)O.treeBaseDuration-=Du.treeBaseDuration}}return null}case j:if(Z8(O),TB(u,O),u===null)ST(O.stateNode.containerInfo);return JO(O),null;case h:var o=O.type._context;return QY(o,O),JO(O),null;case wu:{var Wu=O.type;if(ZE(Wu))JQ(O);return JO(O),null}case Fu:{V8(O);var zu=O.memoizedState;if(zu===null)return JO(O),null;var D0=(O.flags&au)!==vu,nu=zu.rendering;if(nu===null)if(!D0){var j0=X$()&&(u===null||(u.flags&au)===vu);if(!j0){var du=O.child;while(du!==null){var $0=jQ(du);if($0!==null){D0=!0,O.flags|=au,MJ(zu,!1);var zO=$0.updateQueue;if(zO!==null)O.updateQueue=zO,O.flags|=cu;return O.subtreeFlags=vu,sT(O,D),M1(O,MY(yD.current,JJ)),O.child}du=du.sibling}}if(zu.tail!==null&&a0()>jv())O.flags|=au,D0=!0,MJ(zu,!1),O.lanes=GU}else MJ(zu,!1);else{if(!D0){var YO=jQ(nu);if(YO!==null){O.flags|=au,D0=!0;var JD=YO.updateQueue;if(JD!==null)O.updateQueue=JD,O.flags|=cu;if(MJ(zu,!0),zu.tail===null&&zu.tailMode==="hidden"&&!nu.alternate&&!GO())return JO(O),null}else if(a0()*2-zu.renderingStartTime>jv()&&D!==eO)O.flags|=au,D0=!0,MJ(zu,!1),O.lanes=GU}if(zu.isBackwards)nu.sibling=O.child,O.child=nu;else{var fO=zu.last;if(fO!==null)fO.sibling=nu;else O.child=nu;zu.last=nu}}if(zu.tail!==null){var PO=zu.tail;zu.rendering=PO,zu.tail=PO.sibling,zu.renderingStartTime=a0(),PO.sibling=null;var TO=yD.current;if(D0)TO=MY(TO,JJ);else TO=Q8(TO);return M1(O,TO),PO}return JO(O),null}case V0:break;case X0:case bu:{mB(O);var dE=O.memoizedState,z8=dE!==null;if(u!==null){var bJ=u.memoizedState,HE=bJ!==null;if(HE!==z8&&!RO)O.flags|=d1}if(!z8||(O.mode&ku)===Bu)JO(O);else if(uD(vE,eO)){if(JO(O),O.subtreeFlags&(g0|cu))O.flags|=d1}return null}case xu:return null;case M0:return null}throw new Error("Unknown unit of work tag ("+O.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ER(u,O,D){switch(sX(O),O.tag){case M:{var G=O.type;if(ZE(G))JQ(O);var Z=O.flags;if(Z&jO){if(O.flags=Z&~jO|au,(O.mode&u0)!==Bu)pY(O);return O}return null}case w:{var Q=O.stateNode;Z8(O),iX(O),LY();var Y=O.flags;if((Y&jO)!==vu&&(Y&au)===vu)return O.flags=Y&~jO|au,O;return null}case P:return KY(O),null;case i:{V8(O);var B=O.memoizedState;if(B!==null&&B.dehydrated!==null){if(O.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");E8()}var U=O.flags;if(U&jO){if(O.flags=U&~jO|au,(O.mode&u0)!==Bu)pY(O);return O}return null}case Fu:return V8(O),null;case j:return Z8(O),null;case h:var W=O.type._context;return QY(W,O),null;case X0:case bu:return mB(O),null;case xu:return null;default:return null}}function Zv(u,O,D){switch(sX(O),O.tag){case M:{var G=O.type.childContextTypes;if(G!==null&&G!==void 0)JQ(O);break}case w:{var Z=O.stateNode;Z8(O),iX(O),LY();break}case P:{KY(O);break}case j:Z8(O);break;case i:V8(O);break;case Fu:V8(O);break;case h:var Q=O.type._context;QY(Q,O);break;case X0:case bu:mB(O);break}}var Qv=null;Qv=new Set;var uV=!1,ZO=!1,GR=typeof WeakSet==="function"?WeakSet:Set,Eu=null,H8=null,W8=null;function AR(u){w9(null,function(){throw u}),R9()}var JR=function(u,O){if(O.props=u.memoizedProps,O.state=u.memoizedState,u.mode&u0)try{BE(),O.componentWillUnmount()}finally{YE(u)}else O.componentWillUnmount()};function Vv(u,O){try{z1(h0,u)}catch(D){Q0(u,O,D)}}function wB(u,O,D){try{JR(u,D)}catch(G){Q0(u,O,G)}}function ZR(u,O,D){try{D.componentDidMount()}catch(G){Q0(u,O,G)}}function Xv(u,O){try{Uv(u)}catch(D){Q0(u,O,D)}}function K8(u,O){var D=u.ref;if(D!==null)if(typeof D==="function"){var G;try{if(UO&&xO&&u.mode&u0)try{BE(),G=D(null)}finally{YE(u)}else G=D(null)}catch(Z){Q0(u,O,Z)}if(typeof G==="function")X("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",$u(u))}else D.current=null}function OV(u,O,D){try{D()}catch(G){Q0(u,O,G)}}var Yv=null,Bv=!1;function QR(u,O){Yv=Lz(u.containerInfo),Eu=O,VR();var D=Bv;return Bv=!1,Yv=null,D}function VR(){while(Eu!==null){var u=Eu,O=u.child;if((u.subtreeFlags&N9)!==vu&&O!==null)O.return=u,Eu=O;else XR()}}function XR(){while(Eu!==null){var u=Eu;L0(u);try{YR(u)}catch(D){Q0(u,u.return,D)}r0();var O=u.sibling;if(O!==null){O.return=u.return,Eu=O;return}Eu=u.return}}function YR(u){var{alternate:O,flags:D}=u;if((D&n1)!==vu){switch(L0(u),u.tag){case K:case b:case p:break;case M:{if(O!==null){var{memoizedProps:G,memoizedState:Z}=O,Q=u.stateNode;if(u.type===u.elementType&&!UG){if(Q.props!==u.memoizedProps)X("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.",$u(u)||"instance");if(Q.state!==u.memoizedState)X("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.",$u(u)||"instance")}var Y=Q.getSnapshotBeforeUpdate(u.elementType===u.type?G:lD(u.type,G),Z);{var B=Qv;if(Y===void 0&&!B.has(u.type))B.add(u.type),X("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",$u(u))}Q.__reactInternalSnapshotBeforeUpdate=Y}break}case w:{{var U=u.stateNode;dz(U.containerInfo)}break}case P:case m:case j:case wu: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.")}r0()}}function iD(u,O,D){var G=O.updateQueue,Z=G!==null?G.lastEffect:null;if(Z!==null){var Q=Z.next,Y=Q;do{if((Y.tag&u)===u){var B=Y.destroy;if(Y.destroy=void 0,B!==void 0){if((u&AO)!==lO)IM(O);else if((u&h0)!==lO)e7(O);if((u&QE)!==lO)fJ(!0);if(OV(O,D,B),(u&QE)!==lO)fJ(!1);if((u&AO)!==lO)jM();else if((u&h0)!==lO)uU()}}Y=Y.next}while(Y!==Q)}}function z1(u,O){var D=O.updateQueue,G=D!==null?D.lastEffect:null;if(G!==null){var Z=G.next,Q=Z;do{if((Q.tag&u)===u){if((u&AO)!==lO)RM(O);else if((u&h0)!==lO)FM(O);var Y=Q.create;if((u&QE)!==lO)fJ(!0);if(Q.destroy=Y(),(u&QE)!==lO)fJ(!1);if((u&AO)!==lO)$M();else if((u&h0)!==lO)NM();{var B=Q.destroy;if(B!==void 0&&typeof B!=="function"){var U=void 0;if((Q.tag&h0)!==vu)U="useLayoutEffect";else if((Q.tag&QE)!==vu)U="useInsertionEffect";else U="useEffect";var W=void 0;if(B===null)W=" You returned null. If your effect does not require clean up, return undefined (or nothing).";else if(typeof B.then==="function")W=`
It looks like you wrote `+U+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+U+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`;else W=" You returned: "+B;X("%s must not return anything besides a function, which is used for clean-up.%s",U,W)}}}Q=Q.next}while(Q!==Z)}}function BR(u,O){if((O.flags&cu)!==vu)switch(O.tag){case d:{var D=O.stateNode.passiveEffectDuration,G=O.memoizedProps,Z=G.id,Q=G.onPostCommit,Y=I6(),B=O.alternate===null?"mount":"update";if($6())B="nested-update";if(typeof Q==="function")Q(Z,B,D,Y);var U=O.return;u:while(U!==null){switch(U.tag){case w:var W=U.stateNode;W.passiveEffectDuration+=D;break u;case d:var q=U.stateNode;q.passiveEffectDuration+=D;break u}U=U.return}break}}}function UR(u,O,D,G){if((D.flags&vA)!==vu)switch(D.tag){case K:case b:case p:{if(!ZO)if(D.mode&u0)try{BE(),z1(h0|x0,D)}finally{YE(D)}else z1(h0|x0,D);break}case M:{var Z=D.stateNode;if(D.flags&cu){if(!ZO)if(O===null){if(D.type===D.elementType&&!UG){if(Z.props!==D.memoizedProps)X("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.",$u(D)||"instance");if(Z.state!==D.memoizedState)X("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.",$u(D)||"instance")}if(D.mode&u0)try{BE(),Z.componentDidMount()}finally{YE(D)}else Z.componentDidMount()}else{var Q=D.elementType===D.type?O.memoizedProps:lD(D.type,O.memoizedProps),Y=O.memoizedState;if(D.type===D.elementType&&!UG){if(Z.props!==D.memoizedProps)X("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.",$u(D)||"instance");if(Z.state!==D.memoizedState)X("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.",$u(D)||"instance")}if(D.mode&u0)try{BE(),Z.componentDidUpdate(Q,Y,Z.__reactInternalSnapshotBeforeUpdate)}finally{YE(D)}else Z.componentDidUpdate(Q,Y,Z.__reactInternalSnapshotBeforeUpdate)}}var B=D.updateQueue;if(B!==null){if(D.type===D.elementType&&!UG){if(Z.props!==D.memoizedProps)X("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.",$u(D)||"instance");if(Z.state!==D.memoizedState)X("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.",$u(D)||"instance")}t2(D,B,Z)}break}case w:{var U=D.updateQueue;if(U!==null){var W=null;if(D.child!==null)switch(D.child.tag){case P:W=PX(D.child.stateNode);break;case M:W=D.child.stateNode;break}t2(D,U,W)}break}case P:{var q=D.stateNode;if(O===null&&D.flags&cu){var{type:R,memoizedProps:T}=D;fz(q,R,T)}break}case m:break;case j:break;case d:{{var N=D.memoizedProps,g=N.onCommit,C=N.onRender,a=D.stateNode.effectDuration,Qu=I6(),Zu=O===null?"mount":"update";if($6())Zu="nested-update";if(typeof C==="function")C(D.memoizedProps.id,Zu,D.actualDuration,D.treeBaseDuration,D.actualStartTime,Qu);{if(typeof g==="function")g(D.memoizedProps.id,Zu,a,Qu);H$(D);var fu=D.return;u:while(fu!==null){switch(fu.tag){case w:var Pu=fu.stateNode;Pu.effectDuration+=a;break u;case d:var $=fu.stateNode;$.effectDuration+=a;break u}fu=fu.return}}}break}case i:{LR(u,D);break}case Fu:case wu:case V0:case X0:case bu:case M0: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(!ZO){if(D.flags&A1)Uv(D)}}function vR(u){switch(u.tag){case K:case b:case p:{if(u.mode&u0)try{BE(),Vv(u,u.return)}finally{YE(u)}else Vv(u,u.return);break}case M:{var O=u.stateNode;if(typeof O.componentDidMount==="function")ZR(u,u.return,O);Xv(u,u.return);break}case P:{Xv(u,u.return);break}}}function HR(u,O){var D=null;{var G=u;while(!0){if(G.tag===P){if(D===null){D=G;try{var Z=G.stateNode;if(O)lz(Z);else iz(G.stateNode,G.memoizedProps)}catch(Y){Q0(u,u.return,Y)}}}else if(G.tag===m){if(D===null)try{var Q=G.stateNode;if(O)cz(Q);else nz(Q,G.memoizedProps)}catch(Y){Q0(u,u.return,Y)}}else if((G.tag===X0||G.tag===bu)&&G.memoizedState!==null&&G!==u);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===u)return;while(G.sibling===null){if(G.return===null||G.return===u)return;if(D===G)D=null;G=G.return}if(D===G)D=null;G.sibling.return=G.return,G=G.sibling}}}function Uv(u){var O=u.ref;if(O!==null){var D=u.stateNode,G;switch(u.tag){case P:G=PX(D);break;default:G=D}if(typeof O==="function"){var Z;if(u.mode&u0)try{BE(),Z=O(G)}finally{YE(u)}else Z=O(G);if(typeof Z==="function")X("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",$u(u))}else{if(!O.hasOwnProperty("current"))X("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",$u(u));O.current=G}}}function WR(u){var O=u.alternate;if(O!==null)O.return=null;u.return=null}function vv(u){var O=u.alternate;if(O!==null)u.alternate=null,vv(O);{if(u.child=null,u.deletions=null,u.sibling=null,u.tag===P){var D=u.stateNode;if(D!==null)TT(D)}u.stateNode=null,u._debugOwner=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}}function KR(u){var O=u.return;while(O!==null){if(Hv(O))return O;O=O.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 Hv(u){return u.tag===P||u.tag===w||u.tag===j}function Wv(u){var O=u;u:while(!0){while(O.sibling===null){if(O.return===null||Hv(O.return))return null;O=O.return}O.sibling.return=O.return,O=O.sibling;while(O.tag!==P&&O.tag!==m&&O.tag!==pu){if(O.flags&g0)continue u;if(O.child===null||O.tag===j)continue u;else O.child.return=O,O=O.child}if(!(O.flags&g0))return O.stateNode}}function qR(u){var O=KR(u);switch(O.tag){case P:{var D=O.stateNode;if(O.flags&BA)W2(D),O.flags&=~BA;var G=Wv(u);$B(u,G,D);break}case w:case j:{var Z=O.stateNode.containerInfo,Q=Wv(u);RB(u,Q,Z);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function RB(u,O,D){var G=u.tag,Z=G===P||G===m;if(Z){var Q=u.stateNode;if(O)kz(D,Q,O);else xz(D,Q)}else if(G===j);else{var Y=u.child;if(Y!==null){RB(Y,O,D);var B=Y.sibling;while(B!==null)RB(B,O,D),B=B.sibling}}}function $B(u,O,D){var G=u.tag,Z=G===P||G===m;if(Z){var Q=u.stateNode;if(O)hz(D,Q,O);else bz(D,Q)}else if(G===j);else{var Y=u.child;if(Y!==null){$B(Y,O,D);var B=Y.sibling;while(B!==null)$B(B,O,D),B=B.sibling}}}var QO=null,nD=!1;function MR(u,O,D){{var G=O;u:while(G!==null){switch(G.tag){case P:{QO=G.stateNode,nD=!1;break u}case w:{QO=G.stateNode.containerInfo,nD=!0;break u}case j:{QO=G.stateNode.containerInfo,nD=!0;break u}}G=G.return}if(QO===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Kv(u,O,D),QO=null,nD=!1}WR(D)}function T1(u,O,D){var G=D.child;while(G!==null)Kv(u,O,G),G=G.sibling}function Kv(u,O,D){switch(LM(D),D.tag){case P:if(!ZO)K8(D,O);case m:{{var G=QO,Z=nD;if(QO=null,T1(u,O,D),QO=G,nD=Z,QO!==null)if(nD)yz(QO,D.stateNode);else _z(QO,D.stateNode)}return}case pu:{if(QO!==null)if(nD)mz(QO,D.stateNode);else hX(QO,D.stateNode);return}case j:{{var Q=QO,Y=nD;QO=D.stateNode.containerInfo,nD=!0,T1(u,O,D),QO=Q,nD=Y}return}case K:case b:case Au:case p:{if(!ZO){var B=D.updateQueue;if(B!==null){var U=B.lastEffect;if(U!==null){var W=U.next,q=W;do{var R=q,T=R.destroy,N=R.tag;if(T!==void 0){if((N&QE)!==lO)OV(D,O,T);else if((N&h0)!==lO){if(e7(D),D.mode&u0)BE(),OV(D,O,T),YE(D);else OV(D,O,T);uU()}}q=q.next}while(q!==W)}}}T1(u,O,D);return}case M:{if(!ZO){K8(D,O);var g=D.stateNode;if(typeof g.componentWillUnmount==="function")wB(D,O,g)}T1(u,O,D);return}case V0:{T1(u,O,D);return}case X0:{if(D.mode&ku){var C=ZO;ZO=C||D.memoizedState!==null,T1(u,O,D),ZO=C}else T1(u,O,D);break}default:{T1(u,O,D);return}}}function SR(u){var O=u.memoizedState}function LR(u,O){var D=O.memoizedState;if(D===null){var G=O.alternate;if(G!==null){var Z=G.memoizedState;if(Z!==null){var Q=Z.dehydrated;if(Q!==null)JT(Q)}}}}function qv(u){var O=u.updateQueue;if(O!==null){u.updateQueue=null;var D=u.stateNode;if(D===null)D=u.stateNode=new GR;O.forEach(function(G){var Z=z$.bind(null,u,G);if(!D.has(G)){if(D.add(G),bD)if(H8!==null&&W8!==null)gJ(W8,H8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");G.then(Z,Z)}})}}function zR(u,O,D){H8=D,W8=u,L0(O),Mv(O,u),L0(O),H8=null,W8=null}function dD(u,O,D){var G=O.deletions;if(G!==null)for(var Z=0;Z<G.length;Z++){var Q=G[Z];try{MR(u,O,Q)}catch(U){Q0(Q,O,U)}}var Y=QZ();if(O.subtreeFlags&g9){var B=O.child;while(B!==null)L0(B),Mv(B,u),B=B.sibling}L0(Y)}function Mv(u,O,D){var{alternate:G,flags:Z}=u;switch(u.tag){case K:case b:case Au:case p:{if(dD(O,u),UE(u),Z&cu){try{iD(QE|x0,u,u.return),z1(QE|x0,u)}catch(Wu){Q0(u,u.return,Wu)}if(u.mode&u0){try{BE(),iD(h0|x0,u,u.return)}catch(Wu){Q0(u,u.return,Wu)}YE(u)}else try{iD(h0|x0,u,u.return)}catch(Wu){Q0(u,u.return,Wu)}}return}case M:{if(dD(O,u),UE(u),Z&A1){if(G!==null)K8(G,G.return)}return}case P:{if(dD(O,u),UE(u),Z&A1){if(G!==null)K8(G,G.return)}{if(u.flags&BA){var Q=u.stateNode;try{W2(Q)}catch(Wu){Q0(u,u.return,Wu)}}if(Z&cu){var Y=u.stateNode;if(Y!=null){var B=u.memoizedProps,U=G!==null?G.memoizedProps:B,W=u.type,q=u.updateQueue;if(u.updateQueue=null,q!==null)try{Pz(Y,q,W,U,B,u)}catch(Wu){Q0(u,u.return,Wu)}}}}return}case m:{if(dD(O,u),UE(u),Z&cu){if(u.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:R,memoizedProps:T}=u,N=G!==null?G.memoizedProps:T;try{Cz(R,N,T)}catch(Wu){Q0(u,u.return,Wu)}}return}case w:{if(dD(O,u),UE(u),Z&cu){if(G!==null){var g=G.memoizedState;if(g.isDehydrated)try{AT(O.containerInfo)}catch(Wu){Q0(u,u.return,Wu)}}}return}case j:{dD(O,u),UE(u);return}case i:{dD(O,u),UE(u);var C=u.child;if(C.flags&d1){var{stateNode:a,memoizedState:Qu}=C,Zu=Qu!==null;if(a.isHidden=Zu,Zu){var fu=C.alternate!==null&&C.alternate.memoizedState!==null;if(!fu)Z$()}}if(Z&cu){try{SR(u)}catch(Wu){Q0(u,u.return,Wu)}qv(u)}return}case X0:{var Pu=G!==null&&G.memoizedState!==null;if(u.mode&ku){var $=ZO;ZO=$||Pu,dD(O,u),ZO=$}else dD(O,u);if(UE(u),Z&d1){var{stateNode:k,memoizedState:I}=u,c=I!==null,Du=u;if(k.isHidden=c,c){if(!Pu){if((Du.mode&ku)!==Bu){Eu=Du;var o=Du.child;while(o!==null)Eu=o,wR(o),o=o.sibling}}}HR(Du,c)}return}case Fu:{if(dD(O,u),UE(u),Z&cu)qv(u);return}case V0:return;default:{dD(O,u),UE(u);return}}}function UE(u){var O=u.flags;if(O&g0){try{qR(u)}catch(D){Q0(u,u.return,D)}u.flags&=~g0}if(O&FE)u.flags&=~FE}function TR(u,O,D){H8=D,W8=O,Eu=u,Sv(u,O,D),H8=null,W8=null}function Sv(u,O,D){var G=(u.mode&ku)!==Bu;while(Eu!==null){var Z=Eu,Q=Z.child;if(Z.tag===X0&&G){var Y=Z.memoizedState!==null,B=Y||uV;if(B){IB(u,O,D);continue}else{var U=Z.alternate,W=U!==null&&U.memoizedState!==null,q=W||ZO,R=uV,T=ZO;if(uV=B,ZO=q,ZO&&!T)Eu=Z,RR(Z);var N=Q;while(N!==null)Eu=N,Sv(N,O,D),N=N.sibling;Eu=Z,uV=R,ZO=T,IB(u,O,D);continue}}if((Z.subtreeFlags&vA)!==vu&&Q!==null)Q.return=Z,Eu=Q;else IB(u,O,D)}}function IB(u,O,D){while(Eu!==null){var G=Eu;if((G.flags&vA)!==vu){var Z=G.alternate;L0(G);try{UR(O,Z,G,D)}catch(Y){Q0(G,G.return,Y)}r0()}if(G===u){Eu=null;return}var Q=G.sibling;if(Q!==null){Q.return=G.return,Eu=Q;return}Eu=G.return}}function wR(u){while(Eu!==null){var O=Eu,D=O.child;switch(O.tag){case K:case b:case Au:case p:{if(O.mode&u0)try{BE(),iD(h0,O,O.return)}finally{YE(O)}else iD(h0,O,O.return);break}case M:{K8(O,O.return);var G=O.stateNode;if(typeof G.componentWillUnmount==="function")wB(O,O.return,G);break}case P:{K8(O,O.return);break}case X0:{var Z=O.memoizedState!==null;if(Z){Lv(u);continue}break}}if(D!==null)D.return=O,Eu=D;else Lv(u)}}function Lv(u){while(Eu!==null){var O=Eu;if(O===u){Eu=null;return}var D=O.sibling;if(D!==null){D.return=O.return,Eu=D;return}Eu=O.return}}function RR(u){while(Eu!==null){var O=Eu,D=O.child;if(O.tag===X0){var G=O.memoizedState!==null;if(G){zv(u);continue}}if(D!==null)D.return=O,Eu=D;else zv(u)}}function zv(u){while(Eu!==null){var O=Eu;L0(O);try{vR(O)}catch(G){Q0(O,O.return,G)}if(r0(),O===u){Eu=null;return}var D=O.sibling;if(D!==null){D.return=O.return,Eu=D;return}Eu=O.return}}function $R(u,O,D,G){Eu=O,IR(O,u,D,G)}function IR(u,O,D,G){while(Eu!==null){var Z=Eu,Q=Z.child;if((Z.subtreeFlags&kG)!==vu&&Q!==null)Q.return=Z,Eu=Q;else jR(u,O,D,G)}}function jR(u,O,D,G){while(Eu!==null){var Z=Eu;if((Z.flags&CD)!==vu){L0(Z);try{FR(O,Z,D,G)}catch(Y){Q0(Z,Z.return,Y)}r0()}if(Z===u){Eu=null;return}var Q=Z.sibling;if(Q!==null){Q.return=Z.return,Eu=Q;return}Eu=Z.return}}function FR(u,O,D,G){switch(O.tag){case K:case b:case p:{if(O.mode&u0){dY();try{z1(AO|x0,O)}finally{nY(O)}}else z1(AO|x0,O);break}}}function NR(u){Eu=u,gR()}function gR(){while(Eu!==null){var u=Eu,O=u.child;if((Eu.flags&i1)!==vu){var D=u.deletions;if(D!==null){for(var G=0;G<D.length;G++){var Z=D[G];Eu=Z,CR(Z,u)}{var Q=u.alternate;if(Q!==null){var Y=Q.child;if(Y!==null){Q.child=null;do{var B=Y.sibling;Y.sibling=null,Y=B}while(Y!==null)}}}Eu=u}}if((u.subtreeFlags&kG)!==vu&&O!==null)O.return=u,Eu=O;else fR()}}function fR(){while(Eu!==null){var u=Eu;if((u.flags&CD)!==vu)L0(u),PR(u),r0();var O=u.sibling;if(O!==null){O.return=u.return,Eu=O;return}Eu=u.return}}function PR(u){switch(u.tag){case K:case b:case p:{if(u.mode&u0)dY(),iD(AO|x0,u,u.return),nY(u);else iD(AO|x0,u,u.return);break}}}function CR(u,O){while(Eu!==null){var D=Eu;L0(D),xR(D,O),r0();var G=D.child;if(G!==null)G.return=D,Eu=G;else bR(u)}}function bR(u){while(Eu!==null){var O=Eu,D=O.sibling,G=O.return;if(vv(O),O===u){Eu=null;return}if(D!==null){D.return=G,Eu=D;return}Eu=G}}function xR(u,O){switch(u.tag){case K:case b:case p:{if(u.mode&u0)dY(),iD(AO,u,O),nY(u);else iD(AO,u,O);break}}}function hR(u){switch(u.tag){case K:case b:case p:{try{z1(h0|x0,u)}catch(D){Q0(u,u.return,D)}break}case M:{var O=u.stateNode;try{O.componentDidMount()}catch(D){Q0(u,u.return,D)}break}}}function kR(u){switch(u.tag){case K:case b:case p:{try{z1(AO|x0,u)}catch(O){Q0(u,u.return,O)}break}}}function _R(u){switch(u.tag){case K:case b:case p:{try{iD(h0|x0,u,u.return)}catch(D){Q0(u,u.return,D)}break}case M:{var O=u.stateNode;if(typeof O.componentWillUnmount==="function")wB(u,u.return,O);break}}}function yR(u){switch(u.tag){case K:case b:case p:try{iD(AO|x0,u,u.return)}catch(O){Q0(u,u.return,O)}}}var mR=0,lR=1,cR=2,iR=3,nR=4;if(typeof Symbol==="function"&&Symbol.for){var SJ=Symbol.for;mR=SJ("selector.component"),lR=SJ("selector.has_pseudo_class"),cR=SJ("selector.role"),iR=SJ("selector.test_id"),nR=SJ("selector.text")}var dR=[];function pR(){dR.forEach(function(u){return u()})}var sR=E.ReactCurrentActQueue;function rR(u){{var O=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,D=typeof jest!=="undefined";return D&&O!==!1}}function Tv(){{var u=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;if(!u&&sR.current!==null)X("The current testing environment is not configured to support act(...)");return u}}var aR=Math.ceil,jB=E.ReactCurrentDispatcher,FB=E.ReactCurrentOwner,VO=E.ReactCurrentBatchConfig,pD=E.ReactCurrentActQueue,y0=0,wv=1,XO=2,wD=4,lE=0,LJ=1,vG=2,DV=3,zJ=4,Rv=5,NB=6,_u=y0,NO=null,z0=null,m0=l,vE=l,gB=U1(l),l0=lE,TJ=null,fB=l,EV=l,wJ=l,GV=l,RJ=null,cO=null,PB=0,$v=500,Iv=1/0,tR=500,cE=null;function $J(){Iv=a0()+tR}function jv(){return Iv}var AV=!1,CB=null,q8=null,HG=!1,w1=null,IJ=l,bB=[],xB=null,oR=50,jJ=0,hB=null,kB=!1,JV=!1,eR=50,M8=0,ZV=null,FJ=Y0,QV=l,Fv=!1;function VV(){return NO}function gO(){if((_u&(XO|wD))!==y0)return a0();if(FJ!==Y0)return FJ;return FJ=a0(),FJ}function R1(u){var O=u.mode;if((O&ku)===Bu)return Mu;else if((_u&XO)!==y0&&m0!==l)return LA(m0);var D=iT()!==cT;if(D){if(VO.transition!==null){var G=VO.transition;if(!G._updatedFibers)G._updatedFibers=new Set;G._updatedFibers.add(u)}if(QV===o0)QV=QU();return QV}var Z=xD();if(Z!==o0)return Z;var Q=jz();return Q}function u$(u){var O=u.mode;if((O&ku)===Bu)return Mu;return oM()}function c0(u,O,D,G){if(w$(),Fv)X("useInsertionEffect must not schedule updates.");if(kB)JV=!0;if(zA(u,D,G),(_u&XO)!==l&&u===NO)I$(O);else{if(bD)YU(u,O,D);if(j$(O),u===NO){if((_u&XO)===y0)wJ=Iu(wJ,D);if(l0===zJ)$1(u,m0)}if(iO(u,G),D===Mu&&_u===y0&&(O.mode&ku)===Bu&&!pD.isBatchingLegacy)$J(),j2()}}function O$(u,O,D){var G=u.current;G.lanes=O,zA(u,O,D),iO(u,D)}function D$(u){return(_u&XO)!==y0}function iO(u,O){var D=u.callbackNode;dM(u,O);var G=IZ(u,u===NO?m0:l);if(G===l){if(D!==null)nv(D);u.callbackNode=null,u.callbackPriority=o0;return}var Z=e1(G),Q=u.callbackPriority;if(Q===Z&&!(pD.current!==null&&D!==nB)){if(D==null&&Q!==Mu)X("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}if(D!=null)nv(D);var Y;if(Z===Mu){if(u.tag===v1){if(pD.isBatchingLegacy!==null)pD.didScheduleLegacyUpdate=!0;$T(fv.bind(null,u))}else I2(fv.bind(null,u));if(pD.current!==null)pD.current.push(H1);else Nz(function(){if((_u&(XO|wD))===y0)H1()});Y=null}else{var B;switch(vU(G)){case OD:B=TZ;break;case PE:B=f9;break;case CE:B=r1;break;case gZ:B=P9;break;default:B=r1;break}Y=dB(B,Nv.bind(null,u))}u.callbackPriority=Z,u.callbackNode=Y}function Nv(u,O){if(Hw(),FJ=Y0,QV=l,(_u&(XO|wD))!==y0)throw new Error("Should not already be working.");var D=u.callbackNode,G=nE();if(G){if(u.callbackNode!==D)return null}var Z=IZ(u,u===NO?m0:l);if(Z===l)return null;var Q=!jZ(u,Z)&&!tM(u,Z)&&!O,Y=Q?B$(u,Z):YV(u,Z);if(Y!==lE){if(Y===vG){var B=OX(u);if(B!==l)Z=B,Y=_B(u,B)}if(Y===LJ){var U=TJ;throw WG(u,l),$1(u,Z),iO(u,a0()),U}if(Y===NB)$1(u,Z);else{var W=!jZ(u,Z),q=u.current.alternate;if(W&&!G$(q)){if(Y=YV(u,Z),Y===vG){var R=OX(u);if(R!==l)Z=R,Y=_B(u,R)}if(Y===LJ){var T=TJ;throw WG(u,l),$1(u,Z),iO(u,a0()),T}}u.finishedWork=q,u.finishedLanes=Z,E$(u,Y,Z)}}if(iO(u,a0()),u.callbackNode===D)return Nv.bind(null,u);return null}function _B(u,O){var D=RJ;if(fZ(u)){var G=WG(u,O);G.flags|=jE,MT(u.containerInfo)}var Z=YV(u,O);if(Z!==vG){var Q=cO;if(cO=D,Q!==null)gv(Q)}return Z}function gv(u){if(cO===null)cO=u;else cO.push.apply(cO,u)}function E$(u,O,D){switch(O){case lE:case LJ:throw new Error("Root did not complete. This is a bug in React.");case vG:{KG(u,cO,cE);break}case DV:{if($1(u,D),JU(D)&&!dv()){var G=PB+$v-a0();if(G>10){var Z=IZ(u,l);if(Z!==l)break;var Q=u.suspendedLanes;if(!cG(Q,D)){var Y=gO();XU(u,Q);break}u.timeoutHandle=bX(KG.bind(null,u,cO,cE),G);break}}KG(u,cO,cE);break}case zJ:{if($1(u,D),aM(D))break;if(!dv()){var B=iM(u,D),U=B,W=a0()-U,q=T$(W)-W;if(q>10){u.timeoutHandle=bX(KG.bind(null,u,cO,cE),q);break}}KG(u,cO,cE);break}case Rv:{KG(u,cO,cE);break}default:throw new Error("Unknown root exit status.")}}function G$(u){var O=u;while(!0){if(O.flags&LZ){var D=O.updateQueue;if(D!==null){var G=D.stores;if(G!==null)for(var Z=0;Z<G.length;Z++){var Q=G[Z],Y=Q.getSnapshot,B=Q.value;try{if(!ED(Y(),B))return!1}catch(W){return!1}}}}var U=O.child;if(O.subtreeFlags&LZ&&U!==null){U.return=O,O=U;continue}if(O===u)return!0;while(O.sibling===null){if(O.return===null||O.return===u)return!0;O=O.return}O.sibling.return=O.return,O=O.sibling}return!0}function $1(u,O){O=FZ(O,GV),O=FZ(O,wJ),uS(u,O)}function fv(u){if(Ww(),(_u&(XO|wD))!==y0)throw new Error("Should not already be working.");nE();var O=IZ(u,l);if(!uD(O,Mu))return iO(u,a0()),null;var D=YV(u,O);if(u.tag!==v1&&D===vG){var G=OX(u);if(G!==l)O=G,D=_B(u,G)}if(D===LJ){var Z=TJ;throw WG(u,l),$1(u,O),iO(u,a0()),Z}if(D===NB)throw new Error("Root did not complete. This is a bug in React.");var Q=u.current.alternate;return u.finishedWork=Q,u.finishedLanes=O,KG(u,cO,cE),iO(u,a0()),null}function A$(u,O){if(O!==l){if(AX(u,Iu(O,Mu)),iO(u,a0()),(_u&(XO|wD))===y0)$J(),H1()}}function yB(u,O){var D=_u;_u|=wv;try{return u(O)}finally{if(_u=D,_u===y0&&!pD.isBatchingLegacy)$J(),j2()}}function J$(u,O,D,G,Z){var Q=xD(),Y=VO.transition;try{return VO.transition=null,e0(OD),u(O,D,G,Z)}finally{if(e0(Q),VO.transition=Y,_u===y0)$J()}}function iE(u){if(w1!==null&&w1.tag===v1&&(_u&(XO|wD))===y0)nE();var O=_u;_u|=wv;var D=VO.transition,G=xD();try{if(VO.transition=null,e0(OD),u)return u();else return}finally{if(e0(G),VO.transition=D,_u=O,(_u&(XO|wD))===y0)H1()}}function Pv(){return(_u&(XO|wD))!==y0}function XV(u,O){SO(gB,vE,u),vE=Iu(vE,O),fB=Iu(fB,O)}function mB(u){vE=gB.current,MO(gB,u)}function WG(u,O){u.finishedWork=null,u.finishedLanes=l;var D=u.timeoutHandle;if(D!==xX)u.timeoutHandle=xX,Fz(D);if(z0!==null){var G=z0.return;while(G!==null){var Z=G.alternate;Zv(Z,G),G=G.return}}NO=u;var Q=qG(u.current,null);return z0=Q,m0=vE=fB=O,l0=lE,TJ=null,EV=l,wJ=l,GV=l,RJ=null,cO=null,tT(),_D.discardPendingWarnings(),Q}function Cv(u,O){do{var D=z0;try{if(qQ(),E6(),r0(),FB.current=null,D===null||D.return===null){l0=LJ,TJ=O,z0=null;return}if(UO&&D.mode&u0)rQ(D,!0);if($O)if(_G(),O!==null&&typeof O==="object"&&typeof O.then==="function"){var G=O;fM(D,G,m0)}else gM(D,O,m0);Rw(u,D.return,D,O,m0),kv(D)}catch(Z){if(O=Z,z0===D&&D!==null)D=D.return,z0=D;else D=z0;continue}return}while(!0)}function bv(){var u=jB.current;if(jB.current=iQ,u===null)return iQ;else return u}function xv(u){jB.current=u}function Z$(){PB=a0()}function NJ(u){EV=Iu(u,EV)}function Q$(){if(l0===lE)l0=DV}function lB(){if(l0===lE||l0===DV||l0===vG)l0=zJ;if(NO!==null&&(DX(EV)||DX(wJ)))$1(NO,m0)}function V$(u){if(l0!==zJ)l0=vG;if(RJ===null)RJ=[u];else RJ.push(u)}function X$(){return l0===lE}function YV(u,O){var D=_u;_u|=XO;var G=bv();if(NO!==u||m0!==O){if(bD){var Z=u.memoizedUpdaters;if(Z.size>0)gJ(u,m0),Z.clear();BU(u,O)}cE=UU(),WG(u,O)}OU(O);do try{Y$();break}catch(Q){Cv(u,Q)}while(!0);if(qQ(),_u=D,xv(G),z0!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return DU(),NO=null,m0=l,l0}function Y$(){while(z0!==null)hv(z0)}function B$(u,O){var D=_u;_u|=XO;var G=bv();if(NO!==u||m0!==O){if(bD){var Z=u.memoizedUpdaters;if(Z.size>0)gJ(u,m0),Z.clear();BU(u,O)}cE=UU(),$J(),WG(u,O)}OU(O);do try{U$();break}catch(Q){Cv(u,Q)}while(!0);if(qQ(),xv(G),_u=D,z0!==null)return hM(),lE;else return DU(),NO=null,m0=l,l0}function U$(){while(z0!==null&&!YM())hv(z0)}function hv(u){var O=u.alternate;L0(u);var D;if((u.mode&u0)!==Bu)iY(u),D=cB(O,u,vE),rQ(u,!0);else D=cB(O,u,vE);if(r0(),u.memoizedProps=u.pendingProps,D===null)kv(u);else z0=D;FB.current=null}function kv(u){var O=u;do{var{alternate:D,return:G}=O;if((O.flags&UA)===vu){L0(O);var Z=void 0;if((O.mode&u0)===Bu)Z=Jv(D,O,vE);else iY(O),Z=Jv(D,O,vE),rQ(O,!1);if(r0(),Z!==null){z0=Z;return}}else{var Q=ER(D,O);if(Q!==null){Q.flags&=AM,z0=Q;return}if((O.mode&u0)!==Bu){rQ(O,!1);var{actualDuration:Y,child:B}=O;while(B!==null)Y+=B.actualDuration,B=B.sibling;O.actualDuration=Y}if(G!==null)G.flags|=UA,G.subtreeFlags=vu,G.deletions=null;else{l0=NB,z0=null;return}}var U=O.sibling;if(U!==null){z0=U;return}O=G,z0=O}while(O!==null);if(l0===lE)l0=Rv}function KG(u,O,D){var G=xD(),Z=VO.transition;try{VO.transition=null,e0(OD),v$(u,O,D,G)}finally{VO.transition=Z,e0(G)}return null}function v$(u,O,D,G){do nE();while(w1!==null);if(R$(),(_u&(XO|wD))!==y0)throw new Error("Should not already be working.");var{finishedWork:Z,finishedLanes:Q}=u;if(wM(Q),Z===null)return o7(),null;else if(Q===l)X("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(u.finishedWork=null,u.finishedLanes=l,Z===u.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.");u.callbackNode=null,u.callbackPriority=o0;var Y=Iu(Z.lanes,Z.childLanes);if(OS(u,Y),u===NO)NO=null,z0=null,m0=l;if((Z.subtreeFlags&kG)!==vu||(Z.flags&kG)!==vu){if(!HG)HG=!0,xB=D,dB(r1,function(){return nE(),null})}var B=(Z.subtreeFlags&(N9|g9|vA|kG))!==vu,U=(Z.flags&(N9|g9|vA|kG))!==vu;if(B||U){var W=VO.transition;VO.transition=null;var q=xD();e0(OD);var R=_u;_u|=wD,FB.current=null;var T=QR(u,Z);j6(),zR(u,Z,Q),zz(u.containerInfo),u.current=Z,PM(Q),TR(Z,u,Q),CM(),BM(),_u=R,e0(q),VO.transition=W}else u.current=Z,j6();var N=HG;if(HG)HG=!1,w1=u,IJ=Q;else M8=0,ZV=null;if(Y=u.pendingLanes,Y===l)q8=null;if(!N)lv(u.current,!1);if(MM(Z.stateNode,G),bD)u.memoizedUpdaters.clear();if(pR(),iO(u,a0()),O!==null){var g=u.onRecoverableError;for(var C=0;C<O.length;C++){var a=O[C],Qu=a.stack,Zu=a.digest;g(a.value,{componentStack:Qu,digest:Zu})}}if(AV){AV=!1;var fu=CB;throw CB=null,fu}if(uD(IJ,Mu)&&u.tag!==v1)nE();if(Y=u.pendingLanes,uD(Y,Mu))if(vw(),u===hB)jJ++;else jJ=0,hB=u;else jJ=0;return H1(),o7(),null}function nE(){if(w1!==null){var u=vU(IJ),O=AS(CE,u),D=VO.transition,G=xD();try{return VO.transition=null,e0(O),W$()}finally{e0(G),VO.transition=D}}return!1}function H$(u){if(bB.push(u),!HG)HG=!0,dB(r1,function(){return nE(),null})}function W$(){if(w1===null)return!1;var u=xB;xB=null;var O=w1,D=IJ;if(w1=null,IJ=l,(_u&(XO|wD))!==y0)throw new Error("Cannot flush passive effects while already rendering.");kB=!0,JV=!1,bM(D);var G=_u;_u|=wD,NR(O.current),$R(O,O.current,D,u);{var Z=bB;bB=[];for(var Q=0;Q<Z.length;Q++){var Y=Z[Q];BR(O,Y)}}xM(),lv(O.current,!0),_u=G,H1();{if(JV)if(O===ZV)M8++;else M8=0,ZV=O;else M8=0;kB=!1,JV=!1}SM(O);{var B=O.current.stateNode;B.effectDuration=0,B.passiveEffectDuration=0}return!0}function _v(u){return q8!==null&&q8.has(u)}function K$(u){if(q8===null)q8=new Set([u]);else q8.add(u)}function q$(u){if(!AV)AV=!0,CB=u}var M$=q$;function yv(u,O,D){var G=BG(D,O),Z=x6(u,G,Mu),Q=K1(u,Z,Mu),Y=gO();if(Q!==null)zA(Q,Mu,Y),iO(Q,Y)}function Q0(u,O,D){if(AR(D),fJ(!1),u.tag===w){yv(u,u,D);return}var G=null;G=O;while(G!==null){if(G.tag===w){yv(G,u,D);return}else if(G.tag===M){var{type:Z,stateNode:Q}=G;if(typeof Z.getDerivedStateFromError==="function"||typeof Q.componentDidCatch==="function"&&!_v(Q)){var Y=BG(D,u),B=QB(G,Y,Mu),U=K1(G,B,Mu),W=gO();if(U!==null)zA(U,Mu,W),iO(U,W);return}}G=G.return}X(`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`,D)}function S$(u,O,D){var G=u.pingCache;if(G!==null)G.delete(O);var Z=gO();if(XU(u,D),F$(u),NO===u&&cG(m0,D))if(l0===zJ||l0===DV&&JU(m0)&&a0()-PB<$v)WG(u,l);else GV=Iu(GV,D);iO(u,Z)}function mv(u,O){if(O===o0)O=u$(u);var D=gO(),G=mO(u,O);if(G!==null)zA(G,O,D),iO(G,D)}function L$(u){var O=u.memoizedState,D=o0;if(O!==null)D=O.retryLane;mv(u,D)}function z$(u,O){var D=o0,G;switch(u.tag){case i:G=u.stateNode;var Z=u.memoizedState;if(Z!==null)D=Z.retryLane;break;case Fu:G=u.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}if(G!==null)G.delete(O);mv(u,D)}function T$(u){return u<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3000?3000:u<4320?4320:aR(u/1960)*1960}function w$(){if(jJ>oR)throw jJ=0,hB=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(M8>eR)M8=0,ZV=null,X("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 R$(){_D.flushLegacyContextWarning(),_D.flushPendingUnsafeLifecycleWarnings()}function lv(u,O){{if(L0(u),BV(u,NE,_R),O)BV(u,zZ,yR);if(BV(u,NE,hR),O)BV(u,zZ,kR);r0()}}function BV(u,O,D){{var G=u,Z=null;while(G!==null){var Q=G.subtreeFlags&O;if(G!==Z&&G.child!==null&&Q!==vu)G=G.child;else{if((G.flags&O)!==vu)D(G);if(G.sibling!==null)G=G.sibling;else G=Z=G.return}}}}var UV=null;function cv(u){{if((_u&XO)!==y0)return;if(!(u.mode&ku))return;var O=u.tag;if(O!==z&&O!==w&&O!==M&&O!==K&&O!==b&&O!==Au&&O!==p)return;var D=$u(u)||"ReactComponent";if(UV!==null){if(UV.has(D))return;UV.add(D)}else UV=new Set([D]);var G=qO;try{L0(u),X("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)L0(u);else r0()}}}var cB;{var $$=null;cB=function(u,O,D){var G=tv($$,O);try{return Ov(u,O,D)}catch(Q){if(CT()||Q!==null&&typeof Q==="object"&&typeof Q.then==="function")throw Q;if(qQ(),E6(),Zv(u,O),tv(O,G),O.mode&u0)iY(O);if(w9(null,Ov,null,u,O,D),OM()){var Z=R9();if(typeof Z==="object"&&Z!==null&&Z._suppressLogging&&typeof Q==="object"&&Q!==null&&!Q._suppressLogging)Q._suppressLogging=!0}throw Q}}}var iv=!1,iB;iB=new Set;function I$(u){if(y1&&!Yw())switch(u.tag){case K:case b:case p:{var O=z0&&$u(z0)||"Unknown",D=O;if(!iB.has(D)){iB.add(D);var G=$u(u)||"Unknown";X("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,O,O)}break}case M:{if(!iv)X("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),iv=!0;break}}}function gJ(u,O){if(bD){var D=u.memoizedUpdaters;D.forEach(function(G){YU(u,G,O)})}}var nB={};function dB(u,O){{var D=pD.current;if(D!==null)return D.push(O),nB;else return t7(u,O)}}function nv(u){if(u===nB)return;return XM(u)}function dv(){return pD.current!==null}function j$(u){{if(u.mode&ku){if(!Tv())return}else{if(!rR())return;if(_u!==y0)return;if(u.tag!==K&&u.tag!==b&&u.tag!==p)return}if(pD.current===null){var O=qO;try{L0(u),X(`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`,$u(u))}finally{if(O)L0(u);else r0()}}}}function F$(u){if(u.tag!==v1&&Tv()&&pD.current===null)X(`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 fJ(u){Fv=u}var RD=null,S8=null,N$=function(u){RD=u};function L8(u){{if(RD===null)return u;var O=RD(u);if(O===void 0)return u;return O.current}}function pB(u){return L8(u)}function sB(u){{if(RD===null)return u;var O=RD(u);if(O===void 0){if(u!==null&&u!==void 0&&typeof u.render==="function"){var D=L8(u.render);if(u.render!==D){var G={$$typeof:_,render:D};if(u.displayName!==void 0)G.displayName=u.displayName;return G}}return u}return O.current}}function pv(u,O){{if(RD===null)return!1;var D=u.elementType,G=O.type,Z=!1,Q=typeof G==="object"&&G!==null?G.$$typeof:null;switch(u.tag){case M:{if(typeof G==="function")Z=!0;break}case K:{if(typeof G==="function")Z=!0;else if(Q===Ru)Z=!0;break}case b:{if(Q===_)Z=!0;else if(Q===Ru)Z=!0;break}case Au:case p:{if(Q===gu)Z=!0;else if(Q===Ru)Z=!0;break}default:return!1}if(Z){var Y=RD(D);if(Y!==void 0&&Y===RD(G))return!0}return!1}}function sv(u){{if(RD===null)return;if(typeof WeakSet!=="function")return;if(S8===null)S8=new WeakSet;S8.add(u)}}var g$=function(u,O){{if(RD===null)return;var{staleFamilies:D,updatedFamilies:G}=O;nE(),iE(function(){rB(u.current,G,D)})}},f$=function(u,O){{if(u.context!==GD)return;nE(),iE(function(){PJ(O,u,null,null)})}};function rB(u,O,D){{var{alternate:G,child:Z,sibling:Q,tag:Y,type:B}=u,U=null;switch(Y){case K:case p:case M:U=B;break;case b:U=B.render;break}if(RD===null)throw new Error("Expected resolveFamily to be set during hot reload.");var W=!1,q=!1;if(U!==null){var R=RD(U);if(R!==void 0){if(D.has(R))q=!0;else if(O.has(R))if(Y===M)q=!0;else W=!0}}if(S8!==null){if(S8.has(u)||G!==null&&S8.has(G))q=!0}if(q)u._debugNeedsRemount=!0;if(q||W){var T=mO(u,Mu);if(T!==null)c0(T,u,Mu,Y0)}if(Z!==null&&!q)rB(Z,O,D);if(Q!==null)rB(Q,O,D)}}var P$=function(u,O){{var D=new Set,G=new Set(O.map(function(Z){return Z.current}));return aB(u.current,G,D),D}};function aB(u,O,D){{var{child:G,sibling:Z,tag:Q,type:Y}=u,B=null;switch(Q){case K:case p:case M:B=Y;break;case b:B=Y.render;break}var U=!1;if(B!==null){if(O.has(B))U=!0}if(U)C$(u,D);else if(G!==null)aB(G,O,D);if(Z!==null)aB(Z,O,D)}}function C$(u,O){{var D=b$(u,O);if(D)return;var G=u;while(!0){switch(G.tag){case P:O.add(G.stateNode);return;case j:O.add(G.stateNode.containerInfo);return;case w:O.add(G.stateNode.containerInfo);return}if(G.return===null)throw new Error("Expected to reach root first.");G=G.return}}}function b$(u,O){{var D=u,G=!1;while(!0){if(D.tag===P)G=!0,O.add(D.stateNode);else if(D.child!==null){D.child.return=D,D=D.child;continue}if(D===u)return G;while(D.sibling===null){if(D.return===null||D.return===u)return G;D=D.return}D.sibling.return=D.return,D=D.sibling}}return!1}var tB;{tB=!1;try{var rv=Object.preventExtensions({});}catch(u){tB=!0}}function x$(u,O,D,G){if(this.tag=u,this.key=D,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=O,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=G,this.flags=vu,this.subtreeFlags=vu,this.deletions=null,this.lanes=l,this.childLanes=l,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,!tB&&typeof Object.preventExtensions==="function")Object.preventExtensions(this)}var AD=function(u,O,D,G){return new x$(u,O,D,G)};function oB(u){var O=u.prototype;return!!(O&&O.isReactComponent)}function h$(u){return typeof u==="function"&&!oB(u)&&u.defaultProps===void 0}function k$(u){if(typeof u==="function")return oB(u)?M:K;else if(u!==void 0&&u!==null){var O=u.$$typeof;if(O===_)return b;if(O===gu)return Au}return z}function qG(u,O){var D=u.alternate;if(D===null)D=AD(u.tag,O,u.key,u.mode),D.elementType=u.elementType,D.type=u.type,D.stateNode=u.stateNode,D._debugSource=u._debugSource,D._debugOwner=u._debugOwner,D._debugHookTypes=u._debugHookTypes,D.alternate=u,u.alternate=D;else D.pendingProps=O,D.type=u.type,D.flags=vu,D.subtreeFlags=vu,D.deletions=null,D.actualDuration=0,D.actualStartTime=-1;D.flags=u.flags&gE,D.childLanes=u.childLanes,D.lanes=u.lanes,D.child=u.child,D.memoizedProps=u.memoizedProps,D.memoizedState=u.memoizedState,D.updateQueue=u.updateQueue;var G=u.dependencies;switch(D.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},D.sibling=u.sibling,D.index=u.index,D.ref=u.ref,D.selfBaseDuration=u.selfBaseDuration,D.treeBaseDuration=u.treeBaseDuration,D._debugNeedsRemount=u._debugNeedsRemount,D.tag){case z:case K:case p:D.type=L8(u.type);break;case M:D.type=pB(u.type);break;case b:D.type=sB(u.type);break}return D}function _$(u,O){u.flags&=gE|g0;var D=u.alternate;if(D===null)u.childLanes=l,u.lanes=O,u.child=null,u.subtreeFlags=vu,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null,u.selfBaseDuration=0,u.treeBaseDuration=0;else{u.childLanes=D.childLanes,u.lanes=D.lanes,u.child=D.child,u.subtreeFlags=vu,u.deletions=null,u.memoizedProps=D.memoizedProps,u.memoizedState=D.memoizedState,u.updateQueue=D.updateQueue,u.type=D.type;var G=D.dependencies;u.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},u.selfBaseDuration=D.selfBaseDuration,u.treeBaseDuration=D.treeBaseDuration}return u}function y$(u,O,D){var G;if(u===QQ){if(G=ku,O===!0)G|=R0,G|=GE}else G=Bu;if(bD)G|=u0;return AD(w,null,null,G)}function eB(u,O,D,G,Z,Q){var Y=z,B=u;if(typeof u==="function")if(oB(u))Y=M,B=pB(B);else B=L8(B);else if(typeof u==="string")Y=P;else u:switch(u){case uE:return I1(D.children,Z,Q,O);case h1:if(Y=Gu,Z|=R0,(Z&ku)!==Bu)Z|=GE;break;case k1:return m$(D,Z,Q,O);case s:return l$(D,Z,Q,O);case Uu:return c$(D,Z,Q,O);case F0:return av(D,Z,Q,O);case U0:case Cu:case K0:case KO:case Nu:default:{if(typeof u==="object"&&u!==null)switch(u.$$typeof){case oE:Y=h;break u;case L:Y=f;break u;case _:Y=b,B=sB(B);break u;case gu:Y=Au;break u;case Ru:Y=Ku,B=null;break u}var U="";{if(u===void 0||typeof u==="object"&&u!==null&&Object.keys(u).length===0)U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";var W=G?$u(G):null;if(W)U+=`
Check the render method of \``+W+"`."}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(u==null?u:typeof u)+"."+U))}}var q=AD(Y,D,O,Z);return q.elementType=u,q.type=B,q.lanes=Q,q._debugOwner=G,q}function u5(u,O,D){var G=null;G=u._owner;var{type:Z,key:Q,props:Y}=u,B=eB(Z,Q,Y,G,O,D);return B._debugSource=u._source,B._debugOwner=u._owner,B}function I1(u,O,D,G){var Z=AD(t,u,G,O);return Z.lanes=D,Z}function m$(u,O,D,G){if(typeof u.id!=="string")X('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof u.id);var Z=AD(d,u,G,O|u0);return Z.elementType=k1,Z.lanes=D,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z}function l$(u,O,D,G){var Z=AD(i,u,G,O);return Z.elementType=s,Z.lanes=D,Z}function c$(u,O,D,G){var Z=AD(Fu,u,G,O);return Z.elementType=Uu,Z.lanes=D,Z}function av(u,O,D,G){var Z=AD(X0,u,G,O);Z.elementType=F0,Z.lanes=D;var Q={isHidden:!1};return Z.stateNode=Q,Z}function O5(u,O,D){var G=AD(m,u,null,O);return G.lanes=D,G}function i$(){var u=AD(P,null,null,Bu);return u.elementType="DELETED",u}function n$(u){var O=AD(pu,null,null,Bu);return O.stateNode=u,O}function D5(u,O,D){var G=u.children!==null?u.children:[],Z=AD(j,G,u.key,O);return Z.lanes=D,Z.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},Z}function tv(u,O){if(u===null)u=AD(z,null,null,Bu);return u.tag=O.tag,u.key=O.key,u.elementType=O.elementType,u.type=O.type,u.stateNode=O.stateNode,u.return=O.return,u.child=O.child,u.sibling=O.sibling,u.index=O.index,u.ref=O.ref,u.pendingProps=O.pendingProps,u.memoizedProps=O.memoizedProps,u.updateQueue=O.updateQueue,u.memoizedState=O.memoizedState,u.dependencies=O.dependencies,u.mode=O.mode,u.flags=O.flags,u.subtreeFlags=O.subtreeFlags,u.deletions=O.deletions,u.lanes=O.lanes,u.childLanes=O.childLanes,u.alternate=O.alternate,u.actualDuration=O.actualDuration,u.actualStartTime=O.actualStartTime,u.selfBaseDuration=O.selfBaseDuration,u.treeBaseDuration=O.treeBaseDuration,u._debugSource=O._debugSource,u._debugOwner=O._debugOwner,u._debugNeedsRemount=O._debugNeedsRemount,u._debugHookTypes=O._debugHookTypes,u}function d$(u,O,D,G,Z){this.tag=O,this.containerInfo=u,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=xX,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=o0,this.eventTimes=GX(l),this.expirationTimes=GX(Y0),this.pendingLanes=l,this.suspendedLanes=l,this.pingedLanes=l,this.expiredLanes=l,this.mutableReadLanes=l,this.finishedLanes=l,this.entangledLanes=l,this.entanglements=GX(l),this.identifierPrefix=G,this.onRecoverableError=Z,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;var Q=this.pendingUpdatersLaneMap=[];for(var Y=0;Y<b9;Y++)Q.push(new Set)}switch(O){case QQ:this._debugRootType=D?"hydrateRoot()":"createRoot()";break;case v1:this._debugRootType=D?"hydrate()":"render()";break}}function ov(u,O,D,G,Z,Q,Y,B,U,W){var q=new d$(u,O,D,B,U),R=y$(O,Q);q.current=R,R.stateNode=q;{var T={element:G,isDehydrated:D,cache:null,transitions:null,pendingSuspenseBoundaries:null};R.memoizedState=T}return UY(R),q}var E5="18.3.1";function p$(u,O,D){var G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return FD(G),{$$typeof:KD,key:G==null?null:""+G,children:u,containerInfo:O,implementation:D}}var G5,A5;G5=!1,A5={};function ev(u){if(!u)return GD;var O=xG(u),D=RT(O);if(O.tag===M){var G=O.type;if(ZE(G))return R2(O,G,D)}return D}function s$(u,O){{var D=xG(u);if(D===void 0)if(typeof u.render==="function")throw new Error("Unable to find node on an unmounted component.");else{var G=Object.keys(u).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+G)}var Z=s7(D);if(Z===null)return null;if(Z.mode&R0){var Q=$u(D)||"Component";if(!A5[Q]){A5[Q]=!0;var Y=qO;try{if(L0(Z),D.mode&R0)X("%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",O,O,Q);else X("%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",O,O,Q)}finally{if(Y)L0(Y);else r0()}}}return Z.stateNode}}function u4(u,O,D,G,Z,Q,Y,B){var U=!1,W=null;return ov(u,O,U,W,D,G,Z,Q,Y)}function O4(u,O,D,G,Z,Q,Y,B,U,W){var q=!0,R=ov(D,G,q,u,Z,Q,Y,B,U);R.context=ev(null);var T=R.current,N=gO(),g=R1(T),C=yE(N,g);return C.callback=O!==void 0&&O!==null?O:null,K1(T,C,g),O$(R,g,N),R}function PJ(u,O,D,G){qM(O,u);var Z=O.current,Q=gO(),Y=R1(Z);kM(Y);var B=ev(D);if(O.context===null)O.context=B;else O.pendingContext=B;if(y1&&qO!==null&&!G5)G5=!0,X(`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.`,$u(qO)||"Unknown");var U=yE(Q,Y);if(U.payload={element:u},G=G===void 0?null:G,G!==null){if(typeof G!=="function")X("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",G);U.callback=G}var W=K1(Z,U,Y);if(W!==null)c0(W,Z,Y,Q),TQ(W,Z,Y);return Y}function vV(u){var O=u.current;if(!O.child)return null;switch(O.child.tag){case P:return PX(O.child.stateNode);default:return O.child.stateNode}}function r$(u){switch(u.tag){case w:{var O=u.stateNode;if(fZ(O)){var D=pM(O);A$(O,D)}break}case i:{iE(function(){var Z=mO(u,Mu);if(Z!==null){var Q=gO();c0(Z,u,Mu,Q)}});var G=Mu;J5(u,G);break}}}function D4(u,O){var D=u.memoizedState;if(D!==null&&D.dehydrated!==null)D.retryLane=eM(D.retryLane,O)}function J5(u,O){D4(u,O);var D=u.alternate;if(D)D4(D,O)}function a$(u){if(u.tag!==i)return;var O=qA,D=mO(u,O);if(D!==null){var G=gO();c0(D,u,O,G)}J5(u,O)}function t$(u){if(u.tag!==i)return;var O=R1(u),D=mO(u,O);if(D!==null){var G=gO();c0(D,u,O,G)}J5(u,O)}function E4(u){var O=VM(u);if(O===null)return null;return O.stateNode}var G4=function(u){return null};function o$(u){return G4(u)}var A4=function(u){return!1};function e$(u){return A4(u)}var J4=null,Z4=null,Q4=null,V4=null,X4=null,Y4=null,B4=null,U4=null,v4=null;{var H4=function(u,O,D){var G=O[D],Z=ru(u)?u.slice():ju({},u);if(D+1===O.length){if(ru(Z))Z.splice(G,1);else delete Z[G];return Z}return Z[G]=H4(u[G],O,D+1),Z},W4=function(u,O){return H4(u,O,0)},K4=function(u,O,D,G){var Z=O[G],Q=ru(u)?u.slice():ju({},u);if(G+1===O.length){var Y=D[G];if(Q[Y]=Q[Z],ru(Q))Q.splice(Z,1);else delete Q[Z]}else Q[Z]=K4(u[Z],O,D,G+1);return Q},q4=function(u,O,D){if(O.length!==D.length){V("copyWithRename() expects paths of the same length");return}else for(var G=0;G<D.length-1;G++)if(O[G]!==D[G]){V("copyWithRename() expects paths to be the same except for the deepest key");return}return K4(u,O,D,0)},M4=function(u,O,D,G){if(D>=O.length)return G;var Z=O[D],Q=ru(u)?u.slice():ju({},u);return Q[Z]=M4(u[Z],O,D+1,G),Q},S4=function(u,O,D){return M4(u,O,0,D)},Z5=function(u,O){var D=u.memoizedState;while(D!==null&&O>0)D=D.next,O--;return D};J4=function(u,O,D,G){var Z=Z5(u,O);if(Z!==null){var Q=S4(Z.memoizedState,D,G);Z.memoizedState=Q,Z.baseState=Q,u.memoizedProps=ju({},u.memoizedProps);var Y=mO(u,Mu);if(Y!==null)c0(Y,u,Mu,Y0)}},Z4=function(u,O,D){var G=Z5(u,O);if(G!==null){var Z=W4(G.memoizedState,D);G.memoizedState=Z,G.baseState=Z,u.memoizedProps=ju({},u.memoizedProps);var Q=mO(u,Mu);if(Q!==null)c0(Q,u,Mu,Y0)}},Q4=function(u,O,D,G){var Z=Z5(u,O);if(Z!==null){var Q=q4(Z.memoizedState,D,G);Z.memoizedState=Q,Z.baseState=Q,u.memoizedProps=ju({},u.memoizedProps);var Y=mO(u,Mu);if(Y!==null)c0(Y,u,Mu,Y0)}},V4=function(u,O,D){if(u.pendingProps=S4(u.memoizedProps,O,D),u.alternate)u.alternate.pendingProps=u.pendingProps;var G=mO(u,Mu);if(G!==null)c0(G,u,Mu,Y0)},X4=function(u,O){if(u.pendingProps=W4(u.memoizedProps,O),u.alternate)u.alternate.pendingProps=u.pendingProps;var D=mO(u,Mu);if(D!==null)c0(D,u,Mu,Y0)},Y4=function(u,O,D){if(u.pendingProps=q4(u.memoizedProps,O,D),u.alternate)u.alternate.pendingProps=u.pendingProps;var G=mO(u,Mu);if(G!==null)c0(G,u,Mu,Y0)},B4=function(u){var O=mO(u,Mu);if(O!==null)c0(O,u,Mu,Y0)},U4=function(u){G4=u},v4=function(u){A4=u}}function u3(u){var O=s7(u);if(O===null)return null;return O.stateNode}function O3(u){return null}function D3(){return qO}function E3(u){var O=u.findFiberByHostInstance,D=E.ReactCurrentDispatcher;return KM({bundleType:u.bundleType,version:u.version,rendererPackageName:u.rendererPackageName,rendererConfig:u.rendererConfig,overrideHookState:J4,overrideHookStateDeletePath:Z4,overrideHookStateRenamePath:Q4,overrideProps:V4,overridePropsDeletePath:X4,overridePropsRenamePath:Y4,setErrorHandler:U4,setSuspenseHandler:v4,scheduleUpdate:B4,currentDispatcherRef:D,findHostInstanceByFiber:u3,findFiberByHostInstance:O||O3,findHostInstancesForRefresh:P$,scheduleRefresh:g$,scheduleRoot:f$,setRefreshHandler:N$,getCurrentFiber:D3,reconcilerVersion:E5})}var L4=typeof reportError==="function"?reportError:function(u){console.error(u)};function Q5(u){this._internalRoot=u}HV.prototype.render=Q5.prototype.render=function(u){var O=this._internalRoot;if(O===null)throw new Error("Cannot update an unmounted root.");{if(typeof arguments[1]==="function")X("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(WV(arguments[1]))X("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")X("You passed a second argument to root.render(...) but it only accepts one argument.");var D=O.containerInfo;if(D.nodeType!==N0){var G=E4(O.current);if(G){if(G.parentNode!==D)X("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.")}}}PJ(u,O,null,null)},HV.prototype.unmount=Q5.prototype.unmount=function(){if(typeof arguments[0]==="function")X("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var u=this._internalRoot;if(u!==null){this._internalRoot=null;var O=u.containerInfo;if(Pv())X("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.");iE(function(){PJ(null,u,null,null)}),M2(O)}};function G3(u,O){if(!WV(u))throw new Error("createRoot(...): Target container is not a DOM element.");z4(u);var D=!1,G=!1,Z="",Q=L4,Y=null;if(O!==null&&O!==void 0){if(O.hydrate)V("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.");else if(typeof O==="object"&&O!==null&&O.$$typeof===gD)X(`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(O.unstable_strictMode===!0)D=!0;if(O.identifierPrefix!==void 0)Z=O.identifierPrefix;if(O.onRecoverableError!==void 0)Q=O.onRecoverableError;if(O.transitionCallbacks!==void 0)Y=O.transitionCallbacks}var B=u4(u,QQ,null,D,G,Z,Q);OQ(B.current,u);var U=u.nodeType===N0?u.parentNode:u;return _A(U),new Q5(B)}function HV(u){this._internalRoot=u}function A3(u){if(u)WS(u)}HV.prototype.unstable_scheduleHydration=A3;function J3(u,O,D){if(!WV(u))throw new Error("hydrateRoot(...): Target container is not a DOM element.");if(z4(u),O===void 0)X("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=D!=null?D:null,Z=D!=null&&D.hydratedSources||null,Q=!1,Y=!1,B="",U=L4;if(D!==null&&D!==void 0){if(D.unstable_strictMode===!0)Q=!0;if(D.identifierPrefix!==void 0)B=D.identifierPrefix;if(D.onRecoverableError!==void 0)U=D.onRecoverableError}var W=O4(O,null,u,QQ,G,Q,Y,B,U);if(OQ(W.current,u),_A(u),Z)for(var q=0;q<Z.length;q++){var R=Z[q];Jw(W,R)}return new HV(W)}function WV(u){return!!(u&&(u.nodeType===_O||u.nodeType===IE||u.nodeType===U9||!n0))}function CJ(u){return!!(u&&(u.nodeType===_O||u.nodeType===IE||u.nodeType===U9||u.nodeType===N0&&u.nodeValue===" react-mount-point-unstable "))}function z4(u){{if(u.nodeType===_O&&u.tagName&&u.tagName.toUpperCase()==="BODY")X("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(aA(u))if(u._reactRootContainer)X("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");else X("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 Z3=E.ReactCurrentOwner,T4;T4=function(u){if(u._reactRootContainer&&u.nodeType!==N0){var O=E4(u._reactRootContainer.current);if(O){if(O.parentNode!==u)X("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 D=!!u._reactRootContainer,G=V5(u),Z=!!(G&&B1(G));if(Z&&!D)X("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(u.nodeType===_O&&u.tagName&&u.tagName.toUpperCase()==="BODY")X("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 V5(u){if(!u)return null;if(u.nodeType===IE)return u.documentElement;else return u.firstChild}function w4(){}function Q3(u,O,D,G,Z){if(Z){if(typeof G==="function"){var Q=G;G=function(){var T=vV(Y);Q.call(T)}}var Y=O4(O,G,u,v1,null,!1,!1,"",w4);u._reactRootContainer=Y,OQ(Y.current,u);var B=u.nodeType===N0?u.parentNode:u;return _A(B),iE(),Y}else{var U;while(U=u.lastChild)u.removeChild(U);if(typeof G==="function"){var W=G;G=function(){var T=vV(q);W.call(T)}}var q=u4(u,v1,null,!1,!1,"",w4);u._reactRootContainer=q,OQ(q.current,u);var R=u.nodeType===N0?u.parentNode:u;return _A(R),iE(function(){PJ(O,q,D,G)}),q}}function V3(u,O){if(u!==null&&typeof u!=="function")X("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",O,u)}function KV(u,O,D,G,Z){T4(D),V3(Z===void 0?null:Z,"render");var Q=D._reactRootContainer,Y;if(!Q)Y=Q3(D,O,u,Z,G);else{if(Y=Q,typeof Z==="function"){var B=Z;Z=function(){var U=vV(Y);B.call(U)}}PJ(O,Y,u,Z)}return vV(Y)}var R4=!1;function X3(u){{if(!R4)R4=!0,X("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 O=Z3.current;if(O!==null&&O.stateNode!==null){var D=O.stateNode._warnedAboutRefsInRender;if(!D)X("%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.",iu(O.type)||"A component");O.stateNode._warnedAboutRefsInRender=!0}}if(u==null)return null;if(u.nodeType===_O)return u;return s$(u,"findDOMNode")}function Y3(u,O,D){if(X("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"),!CJ(O))throw new Error("Target container is not a DOM element.");{var G=aA(O)&&O._reactRootContainer===void 0;if(G)X("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 KV(null,u,O,!0,D)}function B3(u,O,D){if(X("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"),!CJ(O))throw new Error("Target container is not a DOM element.");{var G=aA(O)&&O._reactRootContainer===void 0;if(G)X("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 KV(null,u,O,!1,D)}function U3(u,O,D,G){if(X("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"),!CJ(D))throw new Error("Target container is not a DOM element.");if(u==null||!DM(u))throw new Error("parentComponent must be a valid React Component");return KV(u,O,D,!1,G)}var $4=!1;function v3(u){if(!$4)$4=!0,X("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(!CJ(u))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var O=aA(u)&&u._reactRootContainer===void 0;if(O)X("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(u._reactRootContainer){{var D=V5(u),G=D&&!B1(D);if(G)X("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return iE(function(){KV(null,null,u,!1,function(){u._reactRootContainer=null,M2(u)})}),!0}else{{var Z=V5(u),Q=!!(Z&&B1(Z)),Y=u.nodeType===_O&&CJ(u.parentNode)&&!!u.parentNode._reactRootContainer;if(Q)X("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",Y?"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(JS(r$),QS(a$),VS(t$),XS(xD),YS(ES),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")X("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");nq(Bz),sq(yB,J$,iE);function H3(u,O){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!WV(O))throw new Error("Target container is not a DOM element.");return p$(u,O,null,D)}function W3(u,O,D,G){return U3(u,O,D,G)}var X5={usingClientEntryPoint:!1,Events:[B1,oG,DQ,x7,h7,yB]};function K3(u,O){if(!X5.usingClientEntryPoint)X('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return G3(u,O)}function q3(u,O,D){if(!X5.usingClientEntryPoint)X('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return J3(u,O,D)}function M3(u){if(Pv())X("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 iE(u)}var S3=E3({findFiberByHostInstance:EG,bundleType:1,version:E5,rendererPackageName:"react-dom"});if(!S3&&I0&&window.top===window.self){if(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1){var I4=window.location.protocol;if(/^(https?|file):$/.test(I4))console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(I4==="file:"?`
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}}if(F3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X5,F3.createPortal=H3,F3.createRoot=K3,F3.findDOMNode=X3,F3.flushSync=M3,F3.hydrate=Y3,F3.hydrateRoot=q3,F3.render=B3,F3.unmountComponentAtNode=v3,F3.unstable_batchedUpdates=yB,F3.unstable_renderSubtreeIntoContainer=W3,F3.version=E5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var f4=j1((rN,g4)=>{var N3=Xu(N4(),1);g4.exports=N3});var P4=j1((g3)=>{var w8=Xu(f4(),1);T8=w8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g3.createRoot=function(E,A){T8.usingClientEntryPoint=!0;try{return w8.createRoot(E,A)}finally{T8.usingClientEntryPoint=!1}},g3.hydrateRoot=function(E,A,J){T8.usingClientEntryPoint=!0;try{return w8.hydrateRoot(E,A,J)}finally{T8.usingClientEntryPoint=!1}};var T8});var CO=j1((f3)=>{var B5=Xu(yu(),1);(function(){var E=Symbol.for("react.element"),A=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),K=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),t=Symbol.iterator,Gu="@@iterator";function f(L){if(L===null||typeof L!=="object")return null;var _=t&&L[t]||L[Gu];if(typeof _==="function")return _;return null}var h=B5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(L){{for(var _=arguments.length,s=new Array(_>1?_-1:0),Uu=1;Uu<_;Uu++)s[Uu-1]=arguments[Uu];d("error",L,s)}}function d(L,_,s){{var Uu=h.ReactDebugCurrentFrame,gu=Uu.getStackAddendum();if(gu!=="")_+="%s",s=s.concat([gu]);var Ru=s.map(function(Cu){return String(Cu)});Ru.unshift("Warning: "+_),Function.prototype.apply.call(console[L],console,Ru)}}var i=!1,Au=!1,p=!1,Ku=!1,wu=!1,pu;pu=Symbol.for("react.module.reference");function Fu(L){if(typeof L==="string"||typeof L==="function")return!0;if(L===J||L===X||wu||L===V||L===z||L===w||Ku||L===m||i||Au||p)return!0;if(typeof L==="object"&&L!==null){if(L.$$typeof===P||L.$$typeof===j||L.$$typeof===H||L.$$typeof===K||L.$$typeof===M||L.$$typeof===pu||L.getModuleId!==void 0)return!0}return!1}function V0(L,_,s){var Uu=L.displayName;if(Uu)return Uu;var gu=_.displayName||_.name||"";return gu!==""?s+"("+gu+")":s}function X0(L){return L.displayName||"Context"}function bu(L){if(L==null)return null;if(typeof L.tag==="number")b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof L==="function")return L.displayName||L.name||null;if(typeof L==="string")return L;switch(L){case J:return"Fragment";case A:return"Portal";case X:return"Profiler";case V:return"StrictMode";case z:return"Suspense";case w:return"SuspenseList"}if(typeof L==="object")switch(L.$$typeof){case K:var _=L;return X0(_)+".Consumer";case H:var s=L;return X0(s._context)+".Provider";case M:return V0(L,L.render,"ForwardRef");case j:var Uu=L.displayName||null;if(Uu!==null)return Uu;return bu(L.type)||"Memo";case P:{var gu=L,Ru=gu._payload,Cu=gu._init;try{return bu(Cu(Ru))}catch(Nu){return null}}}return null}var xu=Object.assign,M0=0,Lu,T0,bO,RO,YD,n0,BO;function d0(){}d0.__reactDisabledLog=!0;function $O(){{if(M0===0){Lu=console.log,T0=console.info,bO=console.warn,RO=console.error,YD=console.group,n0=console.groupCollapsed,BO=console.groupEnd;var L={configurable:!0,enumerable:!0,value:d0,writable:!0};Object.defineProperties(console,{info:L,log:L,warn:L,error:L,group:L,groupCollapsed:L,groupEnd:L})}M0++}}function UO(){{if(M0--,M0===0){var L={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xu({},L,{value:Lu}),info:xu({},L,{value:T0}),warn:xu({},L,{value:bO}),error:xu({},L,{value:RO}),group:xu({},L,{value:YD}),groupCollapsed:xu({},L,{value:n0}),groupEnd:xu({},L,{value:BO})})}if(M0<0)b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xO=h.ReactCurrentDispatcher,jD;function p0(L,_,s){{if(jD===void 0)try{throw Error()}catch(gu){var Uu=gu.stack.trim().match(/\n( *(at )?)/);jD=Uu&&Uu[1]||""}return`
`+jD+L}}var pO=!1,vO;{var BD=typeof WeakMap==="function"?WeakMap:Map;vO=new BD}function I0(L,_){if(!L||pO)return"";{var s=vO.get(L);if(s!==void 0)return s}var Uu;pO=!0;var gu=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ru;Ru=xO.current,xO.current=null,$O();try{if(_){var Cu=function(){throw Error()};if(Object.defineProperty(Cu.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(Cu,[])}catch(q0){Uu=q0}Reflect.construct(L,[],Cu)}else{try{Cu.call()}catch(q0){Uu=q0}L.call(Cu.prototype)}}else{try{throw Error()}catch(q0){Uu=q0}L()}}catch(q0){if(q0&&Uu&&typeof q0.stack==="string"){var Nu=q0.stack.split(`
`),F0=Uu.stack.split(`
`),U0=Nu.length-1,K0=F0.length-1;while(U0>=1&&K0>=0&&Nu[U0]!==F0[K0])K0--;for(;U0>=1&&K0>=0;U0--,K0--)if(Nu[U0]!==F0[K0]){if(U0!==1||K0!==1)do if(U0--,K0--,K0<0||Nu[U0]!==F0[K0]){var KO=`
`+Nu[U0].replace(" at new "," at ");if(L.displayName&&KO.includes("<anonymous>"))KO=KO.replace("<anonymous>",L.displayName);if(typeof L==="function")vO.set(L,KO);return KO}while(U0>=1&&K0>=0);break}}}finally{pO=!1,xO.current=Ru,UO(),Error.prepareStackTrace=gu}var fD=L?L.displayName||L.name:"",PD=fD?p0(fD):"";if(typeof L==="function")vO.set(L,PD);return PD}function sO(L,_,s){return I0(L,!1)}function UD(L){var _=L.prototype;return!!(_&&_.isReactComponent)}function P0(L,_,s){if(L==null)return"";if(typeof L==="function")return I0(L,UD(L));if(typeof L==="string")return p0(L);switch(L){case z:return p0("Suspense");case w:return p0("SuspenseList")}if(typeof L==="object")switch(L.$$typeof){case M:return sO(L.render);case j:return P0(L.type,_,s);case P:{var Uu=L,gu=Uu._payload,Ru=Uu._init;try{return P0(Ru(gu),_,s)}catch(Cu){}}}return""}var S0=Object.prototype.hasOwnProperty,hO={},FD=h.ReactDebugCurrentFrame;function s0(L){if(L){var _=L._owner,s=P0(L.type,L._source,_?_.type:null);FD.setExtraStackFrame(s)}else FD.setExtraStackFrame(null)}function vD(L,_,s,Uu,gu){{var Ru=Function.call.bind(S0);for(var Cu in L)if(Ru(L,Cu)){var Nu=void 0;try{if(typeof L[Cu]!=="function"){var F0=Error((Uu||"React class")+": "+s+" type `"+Cu+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof L[Cu]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F0.name="Invariant Violation",F0}Nu=L[Cu](_,Cu,Uu,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(U0){Nu=U0}if(Nu&&!(Nu instanceof Error))s0(gu),b("%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).",Uu||"React class",s,Cu,typeof Nu),s0(null);if(Nu instanceof Error&&!(Nu.message in hO))hO[Nu.message]=!0,s0(gu),b("Failed %s type: %s",s,Nu.message),s0(null)}}}var sE=Array.isArray;function rO(L){return sE(L)}function aO(L){{var _=typeof Symbol==="function"&&Symbol.toStringTag,s=_&&L[Symbol.toStringTag]||L.constructor.name||"Object";return s}}function C0(L){try{return HD(L),!1}catch(_){return!0}}function HD(L){return""+L}function HO(L){if(C0(L))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",aO(L)),HD(L)}var OO=h.ReactCurrentOwner,tD={key:!0,ref:!0,__self:!0,__source:!0},oD,ND,tO;tO={};function e(L){if(S0.call(L,"ref")){var _=Object.getOwnPropertyDescriptor(L,"ref").get;if(_&&_.isReactWarning)return!1}return L.ref!==void 0}function Yu(L){if(S0.call(L,"key")){var _=Object.getOwnPropertyDescriptor(L,"key").get;if(_&&_.isReactWarning)return!1}return L.key!==void 0}function Tu(L,_){if(typeof L.ref==="string"&&OO.current&&_&&OO.current.stateNode!==_){var s=bu(OO.current.type);if(!tO[s])b('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',bu(OO.current.type),L.ref),tO[s]=!0}}function tu(L,_){{var s=function(){if(!oD)oD=!0,b("%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)",_)};s.isReactWarning=!0,Object.defineProperty(L,"key",{get:s,configurable:!0})}}function A0(L,_){{var s=function(){if(!ND)ND=!0,b("%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)",_)};s.isReactWarning=!0,Object.defineProperty(L,"ref",{get:s,configurable:!0})}}var b0=function(L,_,s,Uu,gu,Ru,Cu){var Nu={$$typeof:E,type:L,key:_,ref:s,props:Cu,_owner:Ru};if(Nu._store={},Object.defineProperty(Nu._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Nu,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Uu}),Object.defineProperty(Nu,"_source",{configurable:!1,enumerable:!1,writable:!1,value:gu}),Object.freeze)Object.freeze(Nu.props),Object.freeze(Nu);return Nu};function B0(L,_,s,Uu,gu){{var Ru,Cu={},Nu=null,F0=null;if(s!==void 0)HO(s),Nu=""+s;if(Yu(_))HO(_.key),Nu=""+_.key;if(e(_))F0=_.ref,Tu(_,gu);for(Ru in _)if(S0.call(_,Ru)&&!tD.hasOwnProperty(Ru))Cu[Ru]=_[Ru];if(L&&L.defaultProps){var U0=L.defaultProps;for(Ru in U0)if(Cu[Ru]===void 0)Cu[Ru]=U0[Ru]}if(Nu||F0){var K0=typeof L==="function"?L.displayName||L.name||"Unknown":L;if(Nu)tu(Cu,K0);if(F0)A0(Cu,K0)}return b0(L,Nu,F0,gu,Uu,OO.current,Cu)}}var{ReactCurrentOwner:WO,ReactDebugCurrentFrame:lu}=h;function su(L){if(L){var _=L._owner,s=P0(L.type,L._source,_?_.type:null);lu.setExtraStackFrame(s)}else lu.setExtraStackFrame(null)}var LE=!1;function WD(L){return typeof L==="object"&&L!==null&&L.$$typeof===E}function rE(){{if(WO.current){var L=bu(WO.current.type);if(L)return`
Check the render method of \``+L+"`."}return""}}function n8(L){{if(L!==void 0){var _=L.fileName.replace(/^.*[\\\/]/,""),s=L.lineNumber;return`
Check your code at `+_+":"+s+"."}return""}}var TG={};function wG(L){{var _=rE();if(!_){var s=typeof L==="string"?L:L.displayName||L.name;if(s)_=`
Check the top-level render call using <`+s+">."}return _}}function x1(L,_){{if(!L._store||L._store.validated||L.key!=null)return;L._store.validated=!0;var s=wG(_);if(TG[s])return;TG[s]=!0;var Uu="";if(L&&L._owner&&L._owner!==WO.current)Uu=" It was passed a child from "+bu(L._owner.type)+".";su(L),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,Uu),su(null)}}function eD(L,_){{if(typeof L!=="object")return;if(rO(L))for(var s=0;s<L.length;s++){var Uu=L[s];if(WD(Uu))x1(Uu,_)}else if(WD(L)){if(L._store)L._store.validated=!0}else if(L){var gu=f(L);if(typeof gu==="function"){if(gu!==L.entries){var Ru=gu.call(L),Cu;while(!(Cu=Ru.next()).done)if(WD(Cu.value))x1(Cu.value,_)}}}}}function aE(L){{var _=L.type;if(_===null||_===void 0||typeof _==="string")return;var s;if(typeof _==="function")s=_.propTypes;else if(typeof _==="object"&&(_.$$typeof===M||_.$$typeof===j))s=_.propTypes;else return;if(s){var Uu=bu(_);vD(s,L.props,"prop",Uu,L)}else if(_.PropTypes!==void 0&&!LE){LE=!0;var gu=bu(_);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",gu||"Unknown")}if(typeof _.getDefaultProps==="function"&&!_.getDefaultProps.isReactClassApproved)b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tE(L){{var _=Object.keys(L.props);for(var s=0;s<_.length;s++){var Uu=_[s];if(Uu!=="children"&&Uu!=="key"){su(L),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Uu),su(null);break}}if(L.ref!==null)su(L),b("Invalid attribute `ref` supplied to `React.Fragment`."),su(null)}}var gD={};function KD(L,_,s,Uu,gu,Ru){{var Cu=Fu(L);if(!Cu){var Nu="";if(L===void 0||typeof L==="object"&&L!==null&&Object.keys(L).length===0)Nu+=" 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 F0=n8(gu);if(F0)Nu+=F0;else Nu+=rE();var U0;if(L===null)U0="null";else if(rO(L))U0="array";else if(L!==void 0&&L.$$typeof===E)U0="<"+(bu(L.type)||"Unknown")+" />",Nu=" Did you accidentally export a JSX literal instead of a component?";else U0=typeof L;b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U0,Nu)}var K0=B0(L,_,s,gu,Ru);if(K0==null)return K0;if(Cu){var KO=_.children;if(KO!==void 0)if(Uu)if(rO(KO)){for(var fD=0;fD<KO.length;fD++)eD(KO[fD],L);if(Object.freeze)Object.freeze(KO)}else b("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 eD(KO,L)}if(S0.call(_,"key")){var PD=bu(L),q0=Object.keys(_).filter(function(OE){return OE!=="key"}),ju=q0.length>0?"{key: someKey, "+q0.join(": ..., ")+": ...}":"{key: someKey}";if(!gD[PD+ju]){var zE=q0.length>0?"{"+q0.join(": ..., ")+": ...}":"{}";b(`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} />`,ju,PD,zE,PD),gD[PD+ju]=!0}}if(L===J)tE(K0);else aE(K0);return K0}}function uE(L,_,s){return KD(L,_,s,!0)}function h1(L,_,s){return KD(L,_,s,!1)}var k1=h1,oE=uE;f3.Fragment=J,f3.jsx=k1,f3.jsxs=oE})()});var C4=j1((P3)=>{var ZD=Xu(yu(),1);(function(){function E(m,t){return m===t&&(m!==0||1/m===1/t)||m!==m&&t!==t}function A(m,t){w||ZD.startTransition===void 0||(w=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var Gu=t();if(!j){var f=t();X(Gu,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),j=!0)}f=H({inst:{value:Gu,getSnapshot:t}});var h=f[0].inst,b=f[1];return M(function(){h.value=Gu,h.getSnapshot=t,J(h)&&b({inst:h})},[m,Gu,t]),K(function(){return J(h)&&b({inst:h}),m(function(){J(h)&&b({inst:h})})},[m]),z(Gu),Gu}function J(m){var t=m.getSnapshot;m=m.value;try{var Gu=t();return!X(m,Gu)}catch(f){return!0}}function V(m,t){return t()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var X=typeof Object.is==="function"?Object.is:E,H=ZD.useState,K=ZD.useEffect,M=ZD.useLayoutEffect,z=ZD.useDebugValue,w=!1,j=!1,P=typeof window==="undefined"||typeof window.document==="undefined"||typeof window.document.createElement==="undefined"?V:A;P3.useSyncExternalStore=ZD.useSyncExternalStore!==void 0?ZD.useSyncExternalStore:P,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var iW=j1((cC,cW)=>{cW.exports=function E(A,J){if(A===J)return!0;if(A&&J&&typeof A=="object"&&typeof J=="object"){if(A.constructor!==J.constructor)return!1;var V,X,H;if(Array.isArray(A)){if(V=A.length,V!=J.length)return!1;for(X=V;X--!==0;)if(!E(A[X],J[X]))return!1;return!0}if(A.constructor===RegExp)return A.source===J.source&&A.flags===J.flags;if(A.valueOf!==Object.prototype.valueOf)return A.valueOf()===J.valueOf();if(A.toString!==Object.prototype.toString)return A.toString()===J.toString();if(H=Object.keys(A),V=H.length,V!==Object.keys(J).length)return!1;for(X=V;X--!==0;)if(!Object.prototype.hasOwnProperty.call(J,H[X]))return!1;for(X=V;X--!==0;){var K=H[X];if(!E(A[K],J[K]))return!1}return!0}return A!==A&&J!==J}});var i0=Xu(yu(),1),K7=Xu(P4(),1);var k8=Xu(CO(),1),Oq=Xu(yu(),1);var h8=Xu(CO(),1),XD=Xu(yu(),1),dK=Xu(C4(),1);var WE=Xu(yu(),1),U5=WE.createContext(null);function W0(){let E=WE.useContext(U5);if(E===null)throw new Error("No Tree Api Provided");return E}var v5=WE.createContext(null);function b4(){let E=WE.useContext(v5);if(E===null)throw new Error("Provide a NodesContext");return E}var H5=WE.createContext(null);function x4(){let E=WE.useContext(H5);if(E===null)throw new Error("Provide a DnDContext");return E}var W5=WE.createContext(0);function MV(){WE.useContext(W5)}var F5={};j4(F5,{walk:()=>kJ,waitFor:()=>$5,safeRun:()=>R5,noop:()=>C3,mergeRefs:()=>h3,isOpenWithEmptyChildren:()=>M5,isItem:()=>K5,isDescendant:()=>S5,isClosed:()=>q5,indexOf:()=>L5,identifyNull:()=>w5,identify:()=>F1,getInsertParentId:()=>j5,getInsertIndex:()=>I5,focusPrevElement:()=>T5,focusNextElement:()=>z5,dfs:()=>SV,bound:()=>hJ,access:()=>R8});function hJ(E,A,J){return Math.max(Math.min(E,J),A)}function K5(E){return E&&E.isLeaf}function q5(E){return E&&E.isInternal&&!E.isOpen}function M5(E){var A;return E&&E.isOpen&&!((A=E.children)===null||A===void 0?void 0:A.length)}var S5=(E,A)=>{let J=E;while(J){if(J.id===A.id)return!0;J=J.parent}return!1},L5=(E)=>{if(!E.parent)throw Error("Node does not have a parent");return E.parent.children.findIndex((A)=>A.id===E.id)};function C3(){}function SV(E,A){if(!E)return null;if(E.id===A)return E;if(E.children)for(let J of E.children){let V=SV(J,A);if(V)return V}return null}function kJ(E,A){if(A(E),E.children)for(let J of E.children)kJ(J,A)}function z5(E){let A=h4(E),J;for(let V=0;V<A.length;++V)if(A[V]===E){J=b3(A,V);break}J===null||J===void 0||J.focus()}function T5(E){let A=h4(E),J;for(let V=0;V<A.length;++V)if(A[V]===E){J=x3(A,V);break}J===null||J===void 0||J.focus()}function b3(E,A){if(A+1<E.length)return E[A+1];else return E[0]}function x3(E,A){if(A-1>=0)return E[A-1];else return E[E.length-1]}function h4(E){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter((A)=>A===E||!E.contains(A))}function R8(E,A){if(typeof A==="boolean")return A;if(typeof A==="string")return E[A];return A(E)}function w5(E){if(E===null)return null;else return F1(E)}function F1(E){return typeof E==="string"?E:E.id}function h3(...E){return(A)=>{E.forEach((J)=>{if(typeof J==="function")J(A);else if(J!=null)J.current=A})}}function R5(E,...A){if(E)return E(...A)}function $5(E){return new Promise((A,J)=>{let V=0;function X(){if(V+=1,V===100)J();if(E())A();else setTimeout(X,10)}X()})}function I5(E){var A,J;let V=E.focusedNode;if(!V)return(J=(A=E.root.children)===null||A===void 0?void 0:A.length)!==null&&J!==void 0?J:0;if(V.isOpen)return 0;if(V.parent)return V.childIndex+1;return 0}function j5(E){let A=E.focusedNode;if(!A)return null;if(A.isOpen)return A.id;if(A.parent&&!A.parent.isRoot)return A.parent.id;return null}var _J=Xu(CO(),1),k4=Xu(yu(),1),k3={display:"flex",alignItems:"center",zIndex:1},_3={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},y3={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},_4=k4.default.memo(function E({top:A,left:J,indent:V}){let X={position:"absolute",pointerEvents:"none",top:A-2+"px",left:J+"px",right:V+"px"};return _J.jsxs("div",{style:Object.assign(Object.assign({},k3),X),children:[_J.jsx("div",{style:Object.assign({},y3)}),_J.jsx("div",{style:Object.assign({},_3)})]})});var y4=Xu(CO(),1);function m4({node:E,attrs:A,innerRef:J,children:V}){return y4.jsx("div",Object.assign({},A,{ref:J,onFocus:(X)=>X.stopPropagation(),onClick:E.handleClick,children:V}))}var sD=Xu(CO(),1),LV=Xu(yu(),1);function l4(E){return sD.jsxs("div",{ref:E.dragHandle,style:E.style,children:[sD.jsx("span",{onClick:(A)=>{A.stopPropagation(),E.node.toggle()},children:E.node.isLeaf?"\uD83C\uDF33":E.node.isOpen?"\uD83D\uDDC1":"\uD83D\uDDC0"})," ",E.node.isEditing?sD.jsx(l3,Object.assign({},E)):sD.jsx(m3,Object.assign({},E))]})}function m3(E){return sD.jsx(sD.Fragment,{children:sD.jsx("span",{children:E.node.data.name})})}function l3({node:E}){let A=LV.useRef();return LV.useEffect(()=>{var J,V;(J=A.current)===null||J===void 0||J.focus(),(V=A.current)===null||V===void 0||V.select()},[]),sD.jsx("input",{ref:A,defaultValue:E.data.name,onBlur:()=>E.reset(),onKeyDown:(J)=>{var V;if(J.key==="Escape")E.reset();if(J.key==="Enter")E.submit(((V=A.current)===null||V===void 0?void 0:V.value)||"")}})}function zV(E){return{type:"EDIT",id:E}}function c4(E={id:null},A){if(A.type==="EDIT")return Object.assign(Object.assign({},E),{id:A.id});else return E}function SG(E){return{type:"FOCUS",id:E}}function i4(){return{type:"TREE_BLUR"}}function n4(E={id:null,treeFocused:!1},A){if(A.type==="FOCUS")return Object.assign(Object.assign({},E),{id:A.id,treeFocused:!0});else if(A.type==="TREE_BLUR")return Object.assign(Object.assign({},E),{treeFocused:!1});else return E}class yJ{constructor(E){this.handleClick=(A)=>{if(A.metaKey&&!this.tree.props.disableMultiSelection)this.isSelected?this.deselect():this.selectMulti();else if(A.shiftKey&&!this.tree.props.disableMultiSelection)this.selectContiguous();else this.select(),this.activate()},this.tree=E.tree,this.id=E.id,this.data=E.data,this.level=E.level,this.children=E.children,this.parent=E.parent,this.isDraggable=E.isDraggable,this.rowIndex=E.rowIndex}get isRoot(){return this.id===N1}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var E;return this.isSelected&&!((E=this.prev)===null||E===void 0?void 0:E.isSelected)}get isSelectedEnd(){var E;return this.isSelected&&!((E=this.next)===null||E===void 0?void 0:E.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){if(this.parent&&this.parent.children)return this.parent.children.findIndex((E)=>E.id===this.id);else return-1}get next(){if(this.rowIndex===null)return null;return this.tree.at(this.rowIndex+1)}get prev(){if(this.rowIndex===null)return null;return this.tree.at(this.rowIndex-1)}get nextSibling(){var E,A;let J=this.childIndex;return(A=(E=this.parent)===null||E===void 0?void 0:E.children[J+1])!==null&&A!==void 0?A:null}isAncestorOf(E){if(!E)return!1;let A=E;while(A){if(A.id===this.id)return!0;A=A.parent}return!1}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(E){this.tree.submit(this,E)}reset(){this.tree.reset()}clone(){return new yJ(Object.assign({},this))}edit(){return this.tree.edit(this)}}var N1="__REACT_ARBORIST_INTERNAL_ROOT__";function N5(E){var A;function J(H,K,M){let z=E.accessId(H),w=new yJ({tree:E,data:H,level:K,parent:M,id:z,children:null,isDraggable:E.isDraggable(H),rowIndex:null}),j=E.accessChildren(H);if(j)w.children=j.map((P)=>J(P,K+1,w));return w}let V=new yJ({tree:E,id:N1,data:{id:N1},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),X=(A=E.props.data)!==null&&A!==void 0?A:[];return V.children=X.map((H)=>{return J(H,0,V)}),V}var mJ={open(E,A){return{type:"VISIBILITY_OPEN",id:E,filtered:A}},close(E,A){return{type:"VISIBILITY_CLOSE",id:E,filtered:A}},toggle(E,A){return{type:"VISIBILITY_TOGGLE",id:E,filtered:A}},clear(E){return{type:"VISIBILITY_CLEAR",filtered:E}}};function d4(E={},A){if(A.type==="VISIBILITY_OPEN")return Object.assign(Object.assign({},E),{[A.id]:!0});else if(A.type==="VISIBILITY_CLOSE")return Object.assign(Object.assign({},E),{[A.id]:!1});else if(A.type==="VISIBILITY_TOGGLE"){let J=E[A.id];return Object.assign(Object.assign({},E),{[A.id]:!J})}else if(A.type==="VISIBILITY_CLEAR")return{};else return E}function p4(E={filtered:{},unfiltered:{}},A){if(!A.type.startsWith("VISIBILITY"))return E;if(A.filtered)return Object.assign(Object.assign({},E),{filtered:d4(E.filtered,A)});else return Object.assign(Object.assign({},E),{unfiltered:d4(E.unfiltered,A)})}var KE=(E)=>{var A;return{nodes:{open:{filtered:{},unfiltered:(A=E===null||E===void 0?void 0:E.initialOpenState)!==null&&A!==void 0?A:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,selectedIds:[],destinationParentId:null,destinationIndex:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}};var $D={clear:()=>({type:"SELECTION_CLEAR"}),only:(E)=>({type:"SELECTION_ONLY",id:F1(E)}),add:(E)=>({type:"SELECTION_ADD",ids:(Array.isArray(E)?E:[E]).map(F1)}),remove:(E)=>({type:"SELECTION_REMOVE",ids:(Array.isArray(E)?E:[E]).map(F1)}),set:(E)=>Object.assign({type:"SELECTION_SET"},E),mostRecent:(E)=>({type:"SELECTION_MOST_RECENT",id:E===null?null:F1(E)}),anchor:(E)=>({type:"SELECTION_ANCHOR",id:E===null?null:F1(E)})};function s4(E=KE().nodes.selection,A){let J=E.ids;switch(A.type){case"SELECTION_CLEAR":return Object.assign(Object.assign({},E),{ids:new Set});case"SELECTION_ONLY":return Object.assign(Object.assign({},E),{ids:new Set([A.id])});case"SELECTION_ADD":if(A.ids.length===0)return E;return A.ids.forEach((V)=>J.add(V)),Object.assign(Object.assign({},E),{ids:new Set(J)});case"SELECTION_REMOVE":if(A.ids.length===0)return E;return A.ids.forEach((V)=>J.delete(V)),Object.assign(Object.assign({},E),{ids:new Set(J)});case"SELECTION_SET":return Object.assign(Object.assign({},E),{ids:A.ids,mostRecent:A.mostRecent,anchor:A.anchor});case"SELECTION_MOST_RECENT":return Object.assign(Object.assign({},E),{mostRecent:A.id});case"SELECTION_ANCHOR":return Object.assign(Object.assign({},E),{anchor:A.id});default:return E}}var qE={cursor(E){return{type:"DND_CURSOR",cursor:E}},dragStart(E,A){return{type:"DND_DRAG_START",id:E,dragIds:A}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(E,A){return{type:"DND_HOVERING",parentId:E,index:A}}};function r4(E=KE().dnd,A){switch(A.type){case"DND_CURSOR":return Object.assign(Object.assign({},E),{cursor:A.cursor});case"DND_DRAG_START":return Object.assign(Object.assign({},E),{dragId:A.id,dragIds:A.dragIds});case"DND_DRAG_END":return KE().dnd;case"DND_HOVERING":return Object.assign(Object.assign({},E),{parentId:A.parentId,index:A.index});default:return E}}var ME=Xu(CO(),1),g5=Xu(yu(),1);var c3={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},i3=(E)=>{if(!E)return{display:"none"};let{x:A,y:J}=E;return{transform:`translate(${A}px, ${J}px)`}},n3=(E)=>{if(!E)return{display:"none"};let{x:A,y:J}=E;return{transform:`translate(${A+10}px, ${J+10}px)`}};function TV({offset:E,mouse:A,id:J,dragIds:V,isDragging:X}){return ME.jsxs(d3,{isDragging:X,children:[ME.jsx(p3,{offset:E,children:ME.jsx(r3,{id:J,dragIds:V})}),ME.jsx(s3,{mouse:A,count:V.length})]})}var d3=g5.memo(function E(A){if(!A.isDragging)return null;return ME.jsx("div",{style:c3,children:A.children})});function p3(E){return ME.jsx("div",{className:"row preview",style:i3(E.offset),children:E.children})}function s3(E){let{count:A,mouse:J}=E;if(A>1)return ME.jsx("div",{className:"selected-count",style:n3(J),children:A});else return null}var r3=g5.memo(function E(A){let J=W0(),V=J.get(A.id);if(!V)return null;return ME.jsx(J.renderNode,{preview:!0,node:V,style:{paddingLeft:V.level*J.indent,opacity:0.2,background:"transparent"},tree:J})});var Z7=Xu(CO(),1);function wV(){return wV=Object.assign?Object.assign.bind():function(E){for(var A=1;A<arguments.length;A++){var J=arguments[A];for(var V in J)({}).hasOwnProperty.call(J,V)&&(E[V]=J[V])}return E},wV.apply(null,arguments)}function f5(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function RV(E,A){return RV=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(J,V){return J.__proto__=V,J},RV(E,A)}function a4(E,A){E.prototype=Object.create(A.prototype),E.prototype.constructor=E,RV(E,A)}var t4=Number.isNaN||function E(A){return typeof A==="number"&&A!==A};function a3(E,A){if(E===A)return!0;if(t4(E)&&t4(A))return!0;return!1}function t3(E,A){if(E.length!==A.length)return!1;for(var J=0;J<E.length;J++)if(!a3(E[J],A[J]))return!1;return!0}function o3(E,A){if(A===void 0)A=t3;var J,V=[],X,H=!1;function K(){var M=[];for(var z=0;z<arguments.length;z++)M[z]=arguments[z];if(H&&J===this&&A(M,V))return X;return X=E.apply(this,M),H=!0,J=this,V=M,X}return K}var $V=o3;var I8=Xu(yu(),1);var e3=typeof performance==="object"&&typeof performance.now==="function",o4=e3?function(){return performance.now()}:function(){return Date.now()};function e4(E){cancelAnimationFrame(E.id)}function uI(E,A){var J=o4();function V(){if(o4()-J>=A)E.call(null);else X.id=requestAnimationFrame(V)}var X={id:requestAnimationFrame(V)};return X}var P5=-1;function uH(E){if(E===void 0)E=!1;if(P5===-1||E){var A=document.createElement("div"),J=A.style;J.width="50px",J.height="50px",J.overflow="scroll",document.body.appendChild(A),P5=A.offsetWidth-A.clientWidth,document.body.removeChild(A)}return P5}var $8=null;function OH(E){if(E===void 0)E=!1;if($8===null||E){var A=document.createElement("div"),J=A.style;J.width="50px",J.height="50px",J.overflow="scroll",J.direction="rtl";var V=document.createElement("div"),X=V.style;if(X.width="100px",X.height="100px",A.appendChild(V),document.body.appendChild(A),A.scrollLeft>0)$8="positive-descending";else if(A.scrollLeft=1,A.scrollLeft===0)$8="negative";else $8="positive-ascending";return document.body.removeChild(A),$8}return $8}var OI=null,DI=null,EI=null;if(typeof window!=="undefined"&&typeof window.WeakSet!=="undefined")OI=new WeakSet,DI=new WeakSet,EI=new WeakSet;var GI=150,AI=function E(A,J){return A},IV=null,jV=null;if(typeof window!=="undefined"&&typeof window.WeakSet!=="undefined")IV=new WeakSet,jV=new WeakSet;function JI(E){var A,J=E.getItemOffset,V=E.getEstimatedTotalSize,X=E.getItemSize,H=E.getOffsetForIndexAndAlignment,K=E.getStartIndexForOffset,M=E.getStopIndexForStartIndex,z=E.initInstanceProps,w=E.shouldResetStyleCacheOnItemSizeChange,j=E.validateProps;return A=function(P){a4(m,P);function m(Gu){var f=P.call(this,Gu)||this;return f._instanceProps=z(f.props,f5(f)),f._outerRef=void 0,f._resetIsScrollingTimeoutId=null,f.state={instance:f5(f),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof f.props.initialScrollOffset==="number"?f.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},f._callOnItemsRendered=void 0,f._callOnItemsRendered=$V(function(h,b,d,i){return f.props.onItemsRendered({overscanStartIndex:h,overscanStopIndex:b,visibleStartIndex:d,visibleStopIndex:i})}),f._callOnScroll=void 0,f._callOnScroll=$V(function(h,b,d){return f.props.onScroll({scrollDirection:h,scrollOffset:b,scrollUpdateWasRequested:d})}),f._getItemStyle=void 0,f._getItemStyle=function(h){var b=f.props,d=b.direction,i=b.itemSize,Au=b.layout,p=f._getItemStyleCache(w&&i,w&&Au,w&&d),Ku;if(p.hasOwnProperty(h))Ku=p[h];else{var wu=J(f.props,h,f._instanceProps),pu=X(f.props,h,f._instanceProps),Fu=d==="horizontal"||Au==="horizontal",V0=d==="rtl",X0=Fu?wu:0;p[h]=Ku={position:"absolute",left:V0?void 0:X0,right:V0?X0:void 0,top:!Fu?wu:0,height:!Fu?pu:"100%",width:Fu?pu:"100%"}}return Ku},f._getItemStyleCache=void 0,f._getItemStyleCache=$V(function(h,b,d){return{}}),f._onScrollHorizontal=function(h){var b=h.currentTarget,d=b.clientWidth,i=b.scrollLeft,Au=b.scrollWidth;f.setState(function(p){if(p.scrollOffset===i)return null;var Ku=f.props.direction,wu=i;if(Ku==="rtl")switch(OH()){case"negative":wu=-i;break;case"positive-descending":wu=Au-d-i;break}return wu=Math.max(0,Math.min(wu,Au-d)),{isScrolling:!0,scrollDirection:p.scrollOffset<wu?"forward":"backward",scrollOffset:wu,scrollUpdateWasRequested:!1}},f._resetIsScrollingDebounced)},f._onScrollVertical=function(h){var b=h.currentTarget,d=b.clientHeight,i=b.scrollHeight,Au=b.scrollTop;f.setState(function(p){if(p.scrollOffset===Au)return null;var Ku=Math.max(0,Math.min(Au,i-d));return{isScrolling:!0,scrollDirection:p.scrollOffset<Ku?"forward":"backward",scrollOffset:Ku,scrollUpdateWasRequested:!1}},f._resetIsScrollingDebounced)},f._outerRefSetter=function(h){var b=f.props.outerRef;if(f._outerRef=h,typeof b==="function")b(h);else if(b!=null&&typeof b==="object"&&b.hasOwnProperty("current"))b.current=h},f._resetIsScrollingDebounced=function(){if(f._resetIsScrollingTimeoutId!==null)e4(f._resetIsScrollingTimeoutId);f._resetIsScrollingTimeoutId=uI(f._resetIsScrolling,GI)},f._resetIsScrolling=function(){f._resetIsScrollingTimeoutId=null,f.setState({isScrolling:!1},function(){f._getItemStyleCache(-1,null)})},f}m.getDerivedStateFromProps=function Gu(f,h){return ZI(f,h),j(f),null};var t=m.prototype;return t.scrollTo=function Gu(f){f=Math.max(0,f),this.setState(function(h){if(h.scrollOffset===f)return null;return{scrollDirection:h.scrollOffset<f?"forward":"backward",scrollOffset:f,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},t.scrollToItem=function Gu(f,h){if(h===void 0)h="auto";var b=this.props,d=b.itemCount,i=b.layout,Au=this.state.scrollOffset;f=Math.max(0,Math.min(f,d-1));var p=0;if(this._outerRef){var Ku=this._outerRef;if(i==="vertical")p=Ku.scrollWidth>Ku.clientWidth?uH():0;else p=Ku.scrollHeight>Ku.clientHeight?uH():0}this.scrollTo(H(this.props,f,h,Au,this._instanceProps,p))},t.componentDidMount=function Gu(){var f=this.props,h=f.direction,b=f.initialScrollOffset,d=f.layout;if(typeof b==="number"&&this._outerRef!=null){var i=this._outerRef;if(h==="horizontal"||d==="horizontal")i.scrollLeft=b;else i.scrollTop=b}this._callPropsCallbacks()},t.componentDidUpdate=function Gu(){var f=this.props,h=f.direction,b=f.layout,d=this.state,i=d.scrollOffset,Au=d.scrollUpdateWasRequested;if(Au&&this._outerRef!=null){var p=this._outerRef;if(h==="horizontal"||b==="horizontal")if(h==="rtl")switch(OH()){case"negative":p.scrollLeft=-i;break;case"positive-ascending":p.scrollLeft=i;break;default:var{clientWidth:Ku,scrollWidth:wu}=p;p.scrollLeft=wu-Ku-i;break}else p.scrollLeft=i;else p.scrollTop=i}this._callPropsCallbacks()},t.componentWillUnmount=function Gu(){if(this._resetIsScrollingTimeoutId!==null)e4(this._resetIsScrollingTimeoutId)},t.render=function Gu(){var f=this.props,h=f.children,b=f.className,d=f.direction,i=f.height,Au=f.innerRef,p=f.innerElementType,Ku=f.innerTagName,wu=f.itemCount,pu=f.itemData,Fu=f.itemKey,V0=Fu===void 0?AI:Fu,X0=f.layout,bu=f.outerElementType,xu=f.outerTagName,M0=f.style,Lu=f.useIsScrolling,T0=f.width,bO=this.state.isScrolling,RO=d==="horizontal"||X0==="horizontal",YD=RO?this._onScrollHorizontal:this._onScrollVertical,n0=this._getRangeToRender(),BO=n0[0],d0=n0[1],$O=[];if(wu>0)for(var UO=BO;UO<=d0;UO++)$O.push(I8.createElement(h,{data:pu,key:V0(UO,pu),index:UO,isScrolling:Lu?bO:void 0,style:this._getItemStyle(UO)}));var xO=V(this.props,this._instanceProps);return I8.createElement(bu||xu||"div",{className:b,onScroll:YD,ref:this._outerRefSetter,style:wV({position:"relative",height:i,width:T0,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:d},M0)},I8.createElement(p||Ku||"div",{children:$O,ref:Au,style:{height:RO?"100%":xO,pointerEvents:bO?"none":void 0,width:RO?xO:"100%"}}))},t._callPropsCallbacks=function Gu(){if(typeof this.props.onItemsRendered==="function"){var f=this.props.itemCount;if(f>0){var h=this._getRangeToRender(),b=h[0],d=h[1],i=h[2],Au=h[3];this._callOnItemsRendered(b,d,i,Au)}}if(typeof this.props.onScroll==="function"){var p=this.state,Ku=p.scrollDirection,wu=p.scrollOffset,pu=p.scrollUpdateWasRequested;this._callOnScroll(Ku,wu,pu)}},t._getRangeToRender=function Gu(){var f=this.props,h=f.itemCount,b=f.overscanCount,d=this.state,i=d.isScrolling,Au=d.scrollDirection,p=d.scrollOffset;if(h===0)return[0,0,0,0];var Ku=K(this.props,p,this._instanceProps),wu=M(this.props,Ku,p,this._instanceProps),pu=!i||Au==="backward"?Math.max(1,b):1,Fu=!i||Au==="forward"?Math.max(1,b):1;return[Math.max(0,Ku-pu),Math.max(0,Math.min(h-1,wu+Fu)),Ku,wu]},m}(I8.PureComponent),A.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},A}var ZI=function E(A,J){var{children:V,direction:X,height:H,layout:K,innerTagName:M,outerTagName:z,width:w}=A,j=J.instance;if(M!=null||z!=null){if(jV&&!jV.has(j))jV.add(j),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead.")}var P=X==="horizontal"||K==="horizontal";switch(X){case"horizontal":case"vertical":if(IV&&!IV.has(j))IV.add(j),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.');break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+X+'" was specified.'))}switch(K){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+K+'" was specified.'))}if(V==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(V===null?"null":typeof V)+'" was specified.'));if(P&&typeof w!=="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(w===null?"null":typeof w)+'" was specified.'));else if(!P&&typeof H!=="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(H===null?"null":typeof H)+'" was specified.'))};var DH=JI({getItemOffset:function E(A,J){var V=A.itemSize;return J*V},getItemSize:function E(A,J){var V=A.itemSize;return V},getEstimatedTotalSize:function E(A){var{itemCount:J,itemSize:V}=A;return V*J},getOffsetForIndexAndAlignment:function E(A,J,V,X,H,K){var{direction:M,height:z,itemCount:w,itemSize:j,layout:P,width:m}=A,t=M==="horizontal"||P==="horizontal",Gu=t?m:z,f=Math.max(0,w*j-Gu),h=Math.min(f,J*j),b=Math.max(0,J*j-Gu+j+K);if(V==="smart")if(X>=b-Gu&&X<=h+Gu)V="auto";else V="center";switch(V){case"start":return h;case"end":return b;case"center":{var d=Math.round(b+(h-b)/2);if(d<Math.ceil(Gu/2))return 0;else if(d>f+Math.floor(Gu/2))return f;else return d}case"auto":default:if(X>=b&&X<=h)return X;else if(X<b)return b;else return h}},getStartIndexForOffset:function E(A,J){var{itemCount:V,itemSize:X}=A;return Math.max(0,Math.min(V-1,Math.floor(J/X)))},getStopIndexForStartIndex:function E(A,J,V){var{direction:X,height:H,itemCount:K,itemSize:M,layout:z,width:w}=A,j=X==="horizontal"||z==="horizontal",P=J*M,m=j?w:H,t=Math.ceil((m+V-P)/M);return Math.max(0,Math.min(K-1,J+t-1))},initInstanceProps:function E(A){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function E(A){var J=A.itemSize;if(typeof J!=="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(J===null?"null":typeof J)+'" was specified.'))}});var j8=Xu(CO(),1),AH=Xu(yu(),1);var EH=Xu(CO(),1);function GH(){var E,A;let J=W0(),X=x4().cursor;if(!X||X.type!=="line")return null;let H=J.indent,K=J.rowHeight*X.index+((A=(E=J.props.padding)!==null&&E!==void 0?E:J.props.paddingTop)!==null&&A!==void 0?A:0),M=H*X.level,z=J.renderCursor;return EH.jsx(z,{top:K,left:M,indent:H})}var QI=function(E,A){var J={};for(var V in E)if(Object.prototype.hasOwnProperty.call(E,V)&&A.indexOf(V)<0)J[V]=E[V];if(E!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var X=0,V=Object.getOwnPropertySymbols(E);X<V.length;X++)if(A.indexOf(V[X])<0&&Object.prototype.propertyIsEnumerable.call(E,V[X]))J[V[X]]=E[V[X]]}return J},JH=AH.forwardRef(function E(A,J){let{children:V}=A,X=QI(A,["children"]),H=W0();return j8.jsxs("div",Object.assign({ref:J},X,{onClick:(K)=>{if(K.currentTarget===K.target)H.deselectAll()},children:[j8.jsx(VI,{}),V]}))}),VI=()=>{let E=W0();return j8.jsx("div",{style:{height:E.visibleNodes.length*E.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:j8.jsx(GH,{})})};var ZH=Xu(CO(),1),QH=Xu(yu(),1);var XI=function(E,A){var J={};for(var V in E)if(Object.prototype.hasOwnProperty.call(E,V)&&A.indexOf(V)<0)J[V]=E[V];if(E!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var X=0,V=Object.getOwnPropertySymbols(E);X<V.length;X++)if(A.indexOf(V[X])<0&&Object.prototype.propertyIsEnumerable.call(E,V[X]))J[V[X]]=E[V[X]]}return J},VH=QH.forwardRef(function E(A,J){var V,X,H,K,{style:M}=A,z=XI(A,["style"]);let w=W0(),j=(X=(V=w.props.padding)!==null&&V!==void 0?V:w.props.paddingTop)!==null&&X!==void 0?X:0,P=(K=(H=w.props.padding)!==null&&H!==void 0?H:w.props.paddingBottom)!==null&&K!==void 0?K:0;return ZH.jsx("div",Object.assign({ref:J,style:Object.assign(Object.assign({},M),{height:`${parseFloat(M.height)+j+P}px`})},z))});var A7=Xu(CO(),1),rD=Xu(yu(),1);var PK=Xu(yu(),1);var XH=Xu(yu(),1),FV=XH.createContext({dragDropManager:void 0});var vW=Xu(CO(),1),xV=Xu(yu(),1);var QD;(function(E){E.SOURCE="SOURCE",E.TARGET="TARGET"})(QD||(QD={}));function Vu(E,A){for(var J=arguments.length,V=new Array(J>2?J-2:0),X=2;X<J;X++)V[X-2]=arguments[X];if(A===void 0)throw new Error("invariant requires an error message argument");if(!E){var H;if(A===void 0)H=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var K=0;H=new Error(A.replace(/%s/g,function(){return V[K++]})),H.name="Invariant Violation"}throw H.framesToPop=1,H}}var F8="dnd-core/INIT_COORDS",g1="dnd-core/BEGIN_DRAG",N8="dnd-core/PUBLISH_DRAG_SOURCE",f1="dnd-core/HOVER",P1="dnd-core/DROP",C1="dnd-core/END_DRAG";function C5(E,A){return{type:F8,payload:{sourceClientOffset:A||null,clientOffset:E||null}}}function NV(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")NV=function A(J){return typeof J};else NV=function A(J){return J&&typeof Symbol==="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};return NV(E)}function YH(E,A,J){return A.split(".").reduce(function(V,X){return V&&V[X]?V[X]:J||null},E)}function BH(E,A){return E.filter(function(J){return J!==A})}function gV(E){return NV(E)==="object"}function UH(E,A){var J=new Map,V=function H(K){J.set(K,J.has(K)?J.get(K)+1:1)};E.forEach(V),A.forEach(V);var X=[];return J.forEach(function(H,K){if(H===1)X.push(K)}),X}function vH(E,A){return E.filter(function(J){return A.indexOf(J)>-1})}var YI={type:F8,payload:{clientOffset:null,sourceClientOffset:null}};function HH(E){return function A(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},X=V.publishSource,H=X===void 0?!0:X,K=V.clientOffset,M=V.getSourceClientOffset,z=E.getMonitor(),w=E.getRegistry();E.dispatch(C5(K)),BI(J,z,w);var j=HI(J,z);if(j===null){E.dispatch(YI);return}var P=null;if(K){if(!M)throw new Error("getSourceClientOffset must be defined");UI(M),P=M(j)}E.dispatch(C5(K,P));var m=w.getSource(j),t=m.beginDrag(z,j);if(t==null)return;vI(t),w.pinSource(j);var Gu=w.getSourceType(j);return{type:g1,payload:{itemType:Gu,item:t,sourceId:j,clientOffset:K||null,sourceClientOffset:P||null,isSourcePublic:!!H}}}}function BI(E,A,J){Vu(!A.isDragging(),"Cannot call beginDrag while dragging."),E.forEach(function(V){Vu(J.getSource(V),"Expected sourceIds to be registered.")})}function UI(E){Vu(typeof E==="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function vI(E){Vu(gV(E),"Item must be an object.")}function HI(E,A){var J=null;for(var V=E.length-1;V>=0;V--)if(A.canDragSource(E[V])){J=E[V];break}return J}function WH(E){return function A(){var J=E.getMonitor();if(J.isDragging())return{type:N8}}}function lJ(E,A){if(A===null)return E===null;return Array.isArray(E)?E.some(function(J){return J===A}):E===A}function KH(E){return function A(J){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=V.clientOffset;WI(J);var H=J.slice(0),K=E.getMonitor(),M=E.getRegistry();KI(H,K,M);var z=K.getItemType();return qI(H,M,z),MI(H,K,M),{type:f1,payload:{targetIds:H,clientOffset:X||null}}}}function WI(E){Vu(Array.isArray(E),"Expected targetIds to be an array.")}function KI(E,A,J){Vu(A.isDragging(),"Cannot call hover while not dragging."),Vu(!A.didDrop(),"Cannot call hover after drop.");for(var V=0;V<E.length;V++){var X=E[V];Vu(E.lastIndexOf(X)===V,"Expected targetIds to be unique in the passed array.");var H=J.getTarget(X);Vu(H,"Expected targetIds to be registered.")}}function qI(E,A,J){for(var V=E.length-1;V>=0;V--){var X=E[V],H=A.getTargetType(X);if(!lJ(H,J))E.splice(V,1)}}function MI(E,A,J){E.forEach(function(V){var X=J.getTarget(V);X.hover(A,V)})}function qH(E,A){var J=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);if(A)V=V.filter(function(X){return Object.getOwnPropertyDescriptor(E,X).enumerable});J.push.apply(J,V)}return J}function MH(E){for(var A=1;A<arguments.length;A++){var J=arguments[A]!=null?arguments[A]:{};if(A%2)qH(Object(J),!0).forEach(function(V){SI(E,V,J[V])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(E,Object.getOwnPropertyDescriptors(J));else qH(Object(J)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(J,V))})}return E}function SI(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}function SH(E){return function A(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=E.getMonitor(),X=E.getRegistry();LI(V);var H=wI(V);H.forEach(function(K,M){var z=zI(K,M,X,V),w={type:P1,payload:{dropResult:MH(MH({},J),z)}};E.dispatch(w)})}}function LI(E){Vu(E.isDragging(),"Cannot call drop while not dragging."),Vu(!E.didDrop(),"Cannot call drop twice during one drag operation.")}function zI(E,A,J,V){var X=J.getTarget(E),H=X?X.drop(V,E):void 0;if(TI(H),typeof H==="undefined")H=A===0?{}:V.getDropResult();return H}function TI(E){Vu(typeof E==="undefined"||gV(E),"Drop result must either be an object or undefined.")}function wI(E){var A=E.getTargetIds().filter(E.canDropOnTarget,E);return A.reverse(),A}function LH(E){return function A(){var J=E.getMonitor(),V=E.getRegistry();RI(J);var X=J.getSourceId();if(X!=null){var H=V.getSource(X,!0);H.endDrag(J,X),V.unpinSource()}return{type:C1}}}function RI(E){Vu(E.isDragging(),"Cannot call endDrag while not dragging.")}function zH(E){return{beginDrag:HH(E),publishDragSource:WH(E),hover:KH(E),drop:SH(E),endDrag:LH(E)}}function $I(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function TH(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function II(E,A,J){if(A)TH(E.prototype,A);if(J)TH(E,J);return E}function cJ(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var wH=function(){function E(A,J){var V=this;$I(this,E),cJ(this,"store",void 0),cJ(this,"monitor",void 0),cJ(this,"backend",void 0),cJ(this,"isSetUp",!1),cJ(this,"handleRefCountChange",function(){var X=V.store.getState().refCount>0;if(V.backend){if(X&&!V.isSetUp)V.backend.setup(),V.isSetUp=!0;else if(!X&&V.isSetUp)V.backend.teardown(),V.isSetUp=!1}}),this.store=A,this.monitor=J,A.subscribe(this.handleRefCountChange)}return II(E,[{key:"receiveBackend",value:function A(J){this.backend=J}},{key:"getMonitor",value:function A(){return this.monitor}},{key:"getBackend",value:function A(){return this.backend}},{key:"getRegistry",value:function A(){return this.monitor.registry}},{key:"getActions",value:function A(){var J=this,V=this.store.dispatch;function X(K){return function(){for(var M=arguments.length,z=new Array(M),w=0;w<M;w++)z[w]=arguments[w];var j=K.apply(J,z);if(typeof j!=="undefined")V(j)}}var H=zH(this);return Object.keys(H).reduce(function(K,M){var z=H[M];return K[M]=X(z),K},{})}},{key:"dispatch",value:function A(J){this.store.dispatch(J)}}]),E}();var RH=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}(),b5=function E(){return Math.random().toString(36).substring(7).split("").join(".")},$H={INIT:"@@redux/INIT"+b5(),REPLACE:"@@redux/REPLACE"+b5(),PROBE_UNKNOWN_ACTION:function E(){return"@@redux/PROBE_UNKNOWN_ACTION"+b5()}};function FI(E){if(typeof E!=="object"||E===null)return!1;var A=E;while(Object.getPrototypeOf(A)!==null)A=Object.getPrototypeOf(A);return Object.getPrototypeOf(E)===A}function NI(E){if(E===void 0)return"undefined";if(E===null)return"null";var A=typeof E;switch(A){case"boolean":case"string":case"number":case"symbol":case"function":return A}if(Array.isArray(E))return"array";if(PI(E))return"date";if(fI(E))return"error";var J=gI(E);switch(J){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return J}return A.slice(8,-1).toLowerCase().replace(/\s/g,"")}function gI(E){return typeof E.constructor==="function"?E.constructor.name:null}function fI(E){return E instanceof Error||typeof E.message==="string"&&E.constructor&&typeof E.constructor.stackTraceLimit==="number"}function PI(E){if(E instanceof Date)return!0;return typeof E.toDateString==="function"&&typeof E.getDate==="function"&&typeof E.setDate==="function"}function g8(E){var A=typeof E;return A=NI(E),A}function x5(E,A,J){var V;if(typeof A==="function"&&typeof J==="function"||typeof J==="function"&&typeof arguments[3]==="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof A==="function"&&typeof J==="undefined")J=A,A=void 0;if(typeof J!=="undefined"){if(typeof J!=="function")throw new Error("Expected the enhancer to be a function. Instead, received: '"+g8(J)+"'");return J(x5)(E,A)}if(typeof E!=="function")throw new Error("Expected the root reducer to be a function. Instead, received: '"+g8(E)+"'");var X=E,H=A,K=[],M=K,z=!1;function w(){if(M===K)M=K.slice()}function j(){if(z)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return H}function P(f){if(typeof f!=="function")throw new Error("Expected the listener to be a function. Instead, received: '"+g8(f)+"'");if(z)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var h=!0;return w(),M.push(f),function b(){if(!h)return;if(z)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");h=!1,w();var d=M.indexOf(f);M.splice(d,1),K=null}}function m(f){if(!FI(f))throw new Error("Actions must be plain objects. Instead, the actual type was: '"+g8(f)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof f.type==="undefined")throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(z)throw new Error("Reducers may not dispatch actions.");try{z=!0,H=X(H,f)}finally{z=!1}var h=K=M;for(var b=0;b<h.length;b++){var d=h[b];d()}return f}function t(f){if(typeof f!=="function")throw new Error("Expected the nextReducer to be a function. Instead, received: '"+g8(f));X=f,m({type:$H.REPLACE})}function Gu(){var f,h=P;return f={subscribe:function b(d){if(typeof d!=="object"||d===null)throw new Error("Expected the observer to be an object. Instead, received: '"+g8(d)+"'");function i(){if(d.next)d.next(j())}i();var Au=h(i);return{unsubscribe:Au}}},f[RH]=function(){return this},f}return m({type:$H.INIT}),V={dispatch:m,subscribe:P,getState:j,replaceReducer:t},V[RH]=Gu,V}var CI=function E(A,J){return A===J};function IH(E,A){if(!E&&!A)return!0;else if(!E||!A)return!1;else return E.x===A.x&&E.y===A.y}function jH(E,A){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:CI;if(E.length!==A.length)return!1;for(var V=0;V<E.length;++V)if(!J(E[V],A[V]))return!1;return!0}function FH(E,A){var J=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);if(A)V=V.filter(function(X){return Object.getOwnPropertyDescriptor(E,X).enumerable});J.push.apply(J,V)}return J}function NH(E){for(var A=1;A<arguments.length;A++){var J=arguments[A]!=null?arguments[A]:{};if(A%2)FH(Object(J),!0).forEach(function(V){bI(E,V,J[V])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(E,Object.getOwnPropertyDescriptors(J));else FH(Object(J)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(J,V))})}return E}function bI(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var gH={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function fH(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gH,A=arguments.length>1?arguments[1]:void 0,J=A.payload;switch(A.type){case F8:case g1:return{initialSourceClientOffset:J.sourceClientOffset,initialClientOffset:J.clientOffset,clientOffset:J.clientOffset};case f1:if(IH(E.clientOffset,J.clientOffset))return E;return NH(NH({},E),{},{clientOffset:J.clientOffset});case C1:case P1:return gH;default:return E}}var iJ="dnd-core/ADD_SOURCE",nJ="dnd-core/ADD_TARGET",dJ="dnd-core/REMOVE_SOURCE",LG="dnd-core/REMOVE_TARGET";function PH(E){return{type:iJ,payload:{sourceId:E}}}function CH(E){return{type:nJ,payload:{targetId:E}}}function bH(E){return{type:dJ,payload:{sourceId:E}}}function xH(E){return{type:LG,payload:{targetId:E}}}function hH(E,A){var J=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);if(A)V=V.filter(function(X){return Object.getOwnPropertyDescriptor(E,X).enumerable});J.push.apply(J,V)}return J}function ID(E){for(var A=1;A<arguments.length;A++){var J=arguments[A]!=null?arguments[A]:{};if(A%2)hH(Object(J),!0).forEach(function(V){xI(E,V,J[V])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(E,Object.getOwnPropertyDescriptors(J));else hH(Object(J)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(J,V))})}return E}function xI(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var hI={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function kH(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:hI,A=arguments.length>1?arguments[1]:void 0,J=A.payload;switch(A.type){case g1:return ID(ID({},E),{},{itemType:J.itemType,item:J.item,sourceId:J.sourceId,isSourcePublic:J.isSourcePublic,dropResult:null,didDrop:!1});case N8:return ID(ID({},E),{},{isSourcePublic:!0});case f1:return ID(ID({},E),{},{targetIds:J.targetIds});case LG:if(E.targetIds.indexOf(J.targetId)===-1)return E;return ID(ID({},E),{},{targetIds:BH(E.targetIds,J.targetId)});case P1:return ID(ID({},E),{},{dropResult:J.dropResult,didDrop:!0,targetIds:[]});case C1:return ID(ID({},E),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return E}}function _H(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,A=arguments.length>1?arguments[1]:void 0;switch(A.type){case iJ:case nJ:return E+1;case dJ:case LG:return E-1;default:return E}}var f8=[],fV=[];f8.__IS_NONE__=!0;fV.__IS_ALL__=!0;function yH(E,A){if(E===f8)return!1;if(E===fV||typeof A==="undefined")return!0;var J=vH(A,E);return J.length>0}function mH(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:f8,A=arguments.length>1?arguments[1]:void 0;switch(A.type){case f1:break;case iJ:case nJ:case LG:case dJ:return f8;case g1:case N8:case C1:case P1:default:return fV}var J=A.payload,V=J.targetIds,X=V===void 0?[]:V,H=J.prevTargetIds,K=H===void 0?[]:H,M=UH(X,K),z=M.length>0||!jH(X,K);if(!z)return f8;var w=K[K.length-1],j=X[X.length-1];if(w!==j){if(w)M.push(w);if(j)M.push(j)}return M}function lH(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return E+1}function cH(E,A){var J=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);if(A)V=V.filter(function(X){return Object.getOwnPropertyDescriptor(E,X).enumerable});J.push.apply(J,V)}return J}function iH(E){for(var A=1;A<arguments.length;A++){var J=arguments[A]!=null?arguments[A]:{};if(A%2)cH(Object(J),!0).forEach(function(V){kI(E,V,J[V])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(E,Object.getOwnPropertyDescriptors(J));else cH(Object(J)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(J,V))})}return E}function kI(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}function nH(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:mH(E.dirtyHandlerIds,{type:A.type,payload:iH(iH({},A.payload),{},{prevTargetIds:YH(E,"dragOperation.targetIds",[])})}),dragOffset:fH(E.dragOffset,A),refCount:_H(E.refCount,A),dragOperation:kH(E.dragOperation,A),stateId:lH(E.stateId)}}function _I(E,A){return{x:E.x+A.x,y:E.y+A.y}}function dH(E,A){return{x:E.x-A.x,y:E.y-A.y}}function pH(E){var{clientOffset:A,initialClientOffset:J,initialSourceClientOffset:V}=E;if(!A||!J||!V)return null;return dH(_I(A,V),J)}function sH(E){var{clientOffset:A,initialClientOffset:J}=E;if(!A||!J)return null;return dH(A,J)}function yI(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function rH(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function mI(E,A,J){if(A)rH(E.prototype,A);if(J)rH(E,J);return E}function aH(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var tH=function(){function E(A,J){yI(this,E),aH(this,"store",void 0),aH(this,"registry",void 0),this.store=A,this.registry=J}return mI(E,[{key:"subscribeToStateChange",value:function A(J){var V=this,X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},H=X.handlerIds;Vu(typeof J==="function","listener must be a function."),Vu(typeof H==="undefined"||Array.isArray(H),"handlerIds, when specified, must be an array of strings.");var K=this.store.getState().stateId,M=function z(){var w=V.store.getState(),j=w.stateId;try{var P=j===K||j===K+1&&!yH(w.dirtyHandlerIds,H);if(!P)J()}finally{K=j}};return this.store.subscribe(M)}},{key:"subscribeToOffsetChange",value:function A(J){var V=this;Vu(typeof J==="function","listener must be a function.");var X=this.store.getState().dragOffset,H=function K(){var M=V.store.getState().dragOffset;if(M===X)return;X=M,J()};return this.store.subscribe(H)}},{key:"canDragSource",value:function A(J){if(!J)return!1;var V=this.registry.getSource(J);if(Vu(V,"Expected to find a valid source. sourceId=".concat(J)),this.isDragging())return!1;return V.canDrag(this,J)}},{key:"canDropOnTarget",value:function A(J){if(!J)return!1;var V=this.registry.getTarget(J);if(Vu(V,"Expected to find a valid target. targetId=".concat(J)),!this.isDragging()||this.didDrop())return!1;var X=this.registry.getTargetType(J),H=this.getItemType();return lJ(X,H)&&V.canDrop(this,J)}},{key:"isDragging",value:function A(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function A(J){if(!J)return!1;var V=this.registry.getSource(J,!0);if(Vu(V,"Expected to find a valid source. sourceId=".concat(J)),!this.isDragging()||!this.isSourcePublic())return!1;var X=this.registry.getSourceType(J),H=this.getItemType();if(X!==H)return!1;return V.isDragging(this,J)}},{key:"isOverTarget",value:function A(J){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!J)return!1;var X=V.shallow;if(!this.isDragging())return!1;var H=this.registry.getTargetType(J),K=this.getItemType();if(K&&!lJ(H,K))return!1;var M=this.getTargetIds();if(!M.length)return!1;var z=M.indexOf(J);if(X)return z===M.length-1;else return z>-1}},{key:"getItemType",value:function A(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function A(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function A(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function A(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function A(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function A(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function A(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function A(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function A(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function A(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function A(){return pH(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function A(){return sH(this.store.getState().dragOffset)}}]),E}();var lI=0;function oH(){return lI++}function PV(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")PV=function A(J){return typeof J};else PV=function A(J){return J&&typeof Symbol==="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};return PV(E)}function eH(E){Vu(typeof E.canDrag==="function","Expected canDrag to be a function."),Vu(typeof E.beginDrag==="function","Expected beginDrag to be a function."),Vu(typeof E.endDrag==="function","Expected endDrag to be a function.")}function uW(E){Vu(typeof E.canDrop==="function","Expected canDrop to be a function."),Vu(typeof E.hover==="function","Expected hover to be a function."),Vu(typeof E.drop==="function","Expected beginDrag to be a function.")}function CV(E,A){if(A&&Array.isArray(E)){E.forEach(function(J){return CV(J,!1)});return}Vu(typeof E==="string"||PV(E)==="symbol",A?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var OW=typeof global!=="undefined"?global:self,DW=OW.MutationObserver||OW.WebKitMutationObserver;function h5(E){return function A(){let J=setTimeout(X,0),V=setInterval(X,50);function X(){clearTimeout(J),clearInterval(V),E()}}}function cI(E){let A=1,J=new DW(E),V=document.createTextNode("");return J.observe(V,{characterData:!0}),function X(){A=-A,V.data=A}}var EW=typeof DW==="function"?cI:h5;class k5{enqueueTask(E){let{queue:A,requestFlush:J}=this;if(!A.length)J(),this.flushing=!0;A[A.length]=E}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:E}=this;while(this.index<E.length){let A=this.index;if(this.index++,E[A].call(),this.index>this.capacity){for(let J=0,V=E.length-this.index;J<V;J++)E[J]=E[J+this.index];E.length-=this.index,this.index=0}}E.length=0,this.index=0,this.flushing=!1},this.registerPendingError=(E)=>{this.pendingErrors.push(E),this.requestErrorThrow()},this.requestFlush=EW(this.flush),this.requestErrorThrow=h5(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class _5{call(){try{this.task&&this.task()}catch(E){this.onError(E)}finally{this.task=null,this.release(this)}}constructor(E,A){this.onError=E,this.release=A,this.task=null}}class y5{create(E){let A=this.freeTasks,J=A.length?A.pop():new _5(this.onError,(V)=>A[A.length]=V);return J.task=E,J}constructor(E){this.onError=E,this.freeTasks=[]}}var GW=new k5,iI=new y5(GW.registerPendingError);function AW(E){GW.enqueueTask(iI.create(E))}function nI(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function JW(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function dI(E,A,J){if(A)JW(E.prototype,A);if(J)JW(E,J);return E}function P8(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}function pI(E,A){return tI(E)||aI(E,A)||rI(E,A)||sI()}function sI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rI(E,A){if(!E)return;if(typeof E==="string")return ZW(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return ZW(E,A)}function ZW(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function aI(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function tI(E){if(Array.isArray(E))return E}function oI(E){var A=oH().toString();switch(E){case QD.SOURCE:return"S".concat(A);case QD.TARGET:return"T".concat(A);default:throw new Error("Unknown Handler Role: ".concat(E))}}function QW(E){switch(E[0]){case"S":return QD.SOURCE;case"T":return QD.TARGET;default:Vu(!1,"Cannot parse handler ID: ".concat(E))}}function VW(E,A){var J=E.entries(),V=!1;do{var X=J.next(),H=X.done,K=pI(X.value,2),M=K[1];if(M===A)return!0;V=!!H}while(!V);return!1}var XW=function(){function E(A){nI(this,E),P8(this,"types",new Map),P8(this,"dragSources",new Map),P8(this,"dropTargets",new Map),P8(this,"pinnedSourceId",null),P8(this,"pinnedSource",null),P8(this,"store",void 0),this.store=A}return dI(E,[{key:"addSource",value:function A(J,V){CV(J),eH(V);var X=this.addHandler(QD.SOURCE,J,V);return this.store.dispatch(PH(X)),X}},{key:"addTarget",value:function A(J,V){CV(J,!0),uW(V);var X=this.addHandler(QD.TARGET,J,V);return this.store.dispatch(CH(X)),X}},{key:"containsHandler",value:function A(J){return VW(this.dragSources,J)||VW(this.dropTargets,J)}},{key:"getSource",value:function A(J){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Vu(this.isSourceId(J),"Expected a valid source ID.");var X=V&&J===this.pinnedSourceId,H=X?this.pinnedSource:this.dragSources.get(J);return H}},{key:"getTarget",value:function A(J){return Vu(this.isTargetId(J),"Expected a valid target ID."),this.dropTargets.get(J)}},{key:"getSourceType",value:function A(J){return Vu(this.isSourceId(J),"Expected a valid source ID."),this.types.get(J)}},{key:"getTargetType",value:function A(J){return Vu(this.isTargetId(J),"Expected a valid target ID."),this.types.get(J)}},{key:"isSourceId",value:function A(J){var V=QW(J);return V===QD.SOURCE}},{key:"isTargetId",value:function A(J){var V=QW(J);return V===QD.TARGET}},{key:"removeSource",value:function A(J){var V=this;Vu(this.getSource(J),"Expected an existing source."),this.store.dispatch(bH(J)),AW(function(){V.dragSources.delete(J),V.types.delete(J)})}},{key:"removeTarget",value:function A(J){Vu(this.getTarget(J),"Expected an existing target."),this.store.dispatch(xH(J)),this.dropTargets.delete(J),this.types.delete(J)}},{key:"pinSource",value:function A(J){var V=this.getSource(J);Vu(V,"Expected an existing source."),this.pinnedSourceId=J,this.pinnedSource=V}},{key:"unpinSource",value:function A(){Vu(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function A(J,V,X){var H=oI(J);if(this.types.set(H,V),J===QD.SOURCE)this.dragSources.set(H,X);else if(J===QD.TARGET)this.dropTargets.set(H,X);return H}}]),E}();function YW(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,X=eI(V),H=new tH(X,new XW(X)),K=new wH(X,H),M=E(K,A,J);return K.receiveBackend(M),K}function eI(E){var A=typeof window!=="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION__;return x5(nH,E&&A&&A({name:"dnd-core",instanceId:"dnd-core"}))}var uj=["children"];function Oj(E,A){return Aj(E)||Gj(E,A)||Ej(E,A)||Dj()}function Dj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ej(E,A){if(!E)return;if(typeof E==="string")return BW(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return BW(E,A)}function BW(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function Gj(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function Aj(E){if(Array.isArray(E))return E}function Jj(E,A){if(E==null)return{};var J=Zj(E,A),V,X;if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(E);for(X=0;X<H.length;X++){if(V=H[X],A.indexOf(V)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(E,V))continue;J[V]=E[V]}}return J}function Zj(E,A){if(E==null)return{};var J={},V=Object.keys(E),X,H;for(H=0;H<V.length;H++){if(X=V[H],A.indexOf(X)>=0)continue;J[X]=E[X]}return J}var UW=0,bV=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),HW=xV.memo(function E(A){var J=A.children,V=Jj(A,uj),X=Qj(V),H=Oj(X,2),K=H[0],M=H[1];return xV.useEffect(function(){if(M){var z=WW();return++UW,function(){if(--UW===0)z[bV]=null}}},[]),vW.jsx(FV.Provider,Object.assign({value:K},{children:J}),void 0)});function Qj(E){if("manager"in E){var A={dragDropManager:E.manager};return[A,!1]}var J=Vj(E.backend,E.context,E.options,E.debugMode),V=!E.context;return[J,V]}function Vj(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:WW(),J=arguments.length>2?arguments[2]:void 0,V=arguments.length>3?arguments[3]:void 0,X=A;if(!X[bV])X[bV]={dragDropManager:YW(E,A,J,V)};return X[bV]}function WW(){return typeof global!=="undefined"?global:window}function Xj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function KW(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function Yj(E,A,J){if(A)KW(E.prototype,A);if(J)KW(E,J);return E}function qW(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var m5=!1,l5=!1,MW=function(){function E(A){Xj(this,E),qW(this,"internalMonitor",void 0),qW(this,"sourceId",null),this.internalMonitor=A.getMonitor()}return Yj(E,[{key:"receiveHandlerId",value:function A(J){this.sourceId=J}},{key:"getHandlerId",value:function A(){return this.sourceId}},{key:"canDrag",value:function A(){Vu(!m5,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return m5=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{m5=!1}}},{key:"isDragging",value:function A(){if(!this.sourceId)return!1;Vu(!l5,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return l5=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{l5=!1}}},{key:"subscribeToStateChange",value:function A(J,V){return this.internalMonitor.subscribeToStateChange(J,V)}},{key:"isDraggingSource",value:function A(J){return this.internalMonitor.isDraggingSource(J)}},{key:"isOverTarget",value:function A(J,V){return this.internalMonitor.isOverTarget(J,V)}},{key:"getTargetIds",value:function A(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function A(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function A(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function A(J){return this.internalMonitor.subscribeToOffsetChange(J)}},{key:"canDragSource",value:function A(J){return this.internalMonitor.canDragSource(J)}},{key:"canDropOnTarget",value:function A(J){return this.internalMonitor.canDropOnTarget(J)}},{key:"getItemType",value:function A(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function A(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function A(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function A(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function A(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function A(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function A(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function A(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function A(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),E}();function Bj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function SW(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function Uj(E,A,J){if(A)SW(E.prototype,A);if(J)SW(E,J);return E}function LW(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var c5=!1,zW=function(){function E(A){Bj(this,E),LW(this,"internalMonitor",void 0),LW(this,"targetId",null),this.internalMonitor=A.getMonitor()}return Uj(E,[{key:"receiveHandlerId",value:function A(J){this.targetId=J}},{key:"getHandlerId",value:function A(){return this.targetId}},{key:"subscribeToStateChange",value:function A(J,V){return this.internalMonitor.subscribeToStateChange(J,V)}},{key:"canDrop",value:function A(){if(!this.targetId)return!1;Vu(!c5,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return c5=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{c5=!1}}},{key:"isOver",value:function A(J){if(!this.targetId)return!1;return this.internalMonitor.isOverTarget(this.targetId,J)}},{key:"getItemType",value:function A(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function A(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function A(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function A(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function A(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function A(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function A(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function A(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function A(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),E}();var pJ=Xu(yu(),1);function vj(E){if(typeof E.type==="string")return;var A=E.type.displayName||E.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(A," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}function Hj(E){return function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pJ.isValidElement(A)){var V=A;return E(V,J),V}var X=A;vj(X);var H=J?function(K){return E(K,J)}:E;return Wj(X,H)}}function hV(E){var A={};return Object.keys(E).forEach(function(J){var V=E[J];if(J.endsWith("Ref"))A[J]=E[J];else{var X=Hj(V);A[J]=function(){return X}}}),A}function TW(E,A){if(typeof E==="function")E(A);else E.current=A}function Wj(E,A){var J=E.ref;if(Vu(typeof J!=="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),!J)return pJ.cloneElement(E,{ref:A});else return pJ.cloneElement(E,{ref:function V(X){TW(J,X),TW(A,X)}})}function kV(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")kV=function A(J){return typeof J};else kV=function A(J){return J&&typeof Symbol==="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};return kV(E)}function sJ(E){return E!==null&&kV(E)==="object"&&Object.prototype.hasOwnProperty.call(E,"current")}function rJ(E,A,J,V){var X=J?J.call(V,E,A):void 0;if(X!==void 0)return!!X;if(E===A)return!0;if(typeof E!=="object"||!E||typeof A!=="object"||!A)return!1;var H=Object.keys(E),K=Object.keys(A);if(H.length!==K.length)return!1;var M=Object.prototype.hasOwnProperty.bind(A);for(var z=0;z<H.length;z++){var w=H[z];if(!M(w))return!1;var j=E[w],P=A[w];if(X=J?J.call(V,j,P,w):void 0,X===!1||X===void 0&&j!==P)return!1}return!0}function Kj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function wW(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function qj(E,A,J){if(A)wW(E.prototype,A);if(J)wW(E,J);return E}function wO(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var RW=function(){function E(A){var J=this;Kj(this,E),wO(this,"hooks",hV({dragSource:function V(X,H){if(J.clearDragSource(),J.dragSourceOptions=H||null,sJ(X))J.dragSourceRef=X;else J.dragSourceNode=X;J.reconnectDragSource()},dragPreview:function V(X,H){if(J.clearDragPreview(),J.dragPreviewOptions=H||null,sJ(X))J.dragPreviewRef=X;else J.dragPreviewNode=X;J.reconnectDragPreview()}})),wO(this,"handlerId",null),wO(this,"dragSourceRef",null),wO(this,"dragSourceNode",void 0),wO(this,"dragSourceOptionsInternal",null),wO(this,"dragSourceUnsubscribe",void 0),wO(this,"dragPreviewRef",null),wO(this,"dragPreviewNode",void 0),wO(this,"dragPreviewOptionsInternal",null),wO(this,"dragPreviewUnsubscribe",void 0),wO(this,"lastConnectedHandlerId",null),wO(this,"lastConnectedDragSource",null),wO(this,"lastConnectedDragSourceOptions",null),wO(this,"lastConnectedDragPreview",null),wO(this,"lastConnectedDragPreviewOptions",null),wO(this,"backend",void 0),this.backend=A}return qj(E,[{key:"receiveHandlerId",value:function A(J){if(this.handlerId===J)return;this.handlerId=J,this.reconnect()}},{key:"connectTarget",get:function A(){return this.dragSource}},{key:"dragSourceOptions",get:function A(){return this.dragSourceOptionsInternal},set:function A(J){this.dragSourceOptionsInternal=J}},{key:"dragPreviewOptions",get:function A(){return this.dragPreviewOptionsInternal},set:function A(J){this.dragPreviewOptionsInternal=J}},{key:"reconnect",value:function A(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function A(){var J=this.dragSource,V=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(V)this.disconnectDragSource();if(!this.handlerId)return;if(!J){this.lastConnectedDragSource=J;return}if(V)this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=J,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,J,this.dragSourceOptions)}},{key:"reconnectDragPreview",value:function A(){var J=this.dragPreview,V=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(V)this.disconnectDragPreview();if(!this.handlerId)return;if(!J){this.lastConnectedDragPreview=J;return}if(V)this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=J,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,J,this.dragPreviewOptions)}},{key:"didHandlerIdChange",value:function A(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function A(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function A(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function A(){return!rJ(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function A(){return!rJ(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function A(){if(this.dragSourceUnsubscribe)this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0}},{key:"disconnectDragPreview",value:function A(){if(this.dragPreviewUnsubscribe)this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null}},{key:"dragSource",get:function A(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function A(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function A(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function A(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),E}();function Mj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function $W(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function Sj(E,A,J){if(A)$W(E.prototype,A);if(J)$W(E,J);return E}function SE(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var IW=function(){function E(A){var J=this;Mj(this,E),SE(this,"hooks",hV({dropTarget:function V(X,H){if(J.clearDropTarget(),J.dropTargetOptions=H,sJ(X))J.dropTargetRef=X;else J.dropTargetNode=X;J.reconnect()}})),SE(this,"handlerId",null),SE(this,"dropTargetRef",null),SE(this,"dropTargetNode",void 0),SE(this,"dropTargetOptionsInternal",null),SE(this,"unsubscribeDropTarget",void 0),SE(this,"lastConnectedHandlerId",null),SE(this,"lastConnectedDropTarget",null),SE(this,"lastConnectedDropTargetOptions",null),SE(this,"backend",void 0),this.backend=A}return Sj(E,[{key:"connectTarget",get:function A(){return this.dropTarget}},{key:"reconnect",value:function A(){var J=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();if(J)this.disconnectDropTarget();var V=this.dropTarget;if(!this.handlerId)return;if(!V){this.lastConnectedDropTarget=V;return}if(J)this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=V,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,V,this.dropTargetOptions)}},{key:"receiveHandlerId",value:function A(J){if(J===this.handlerId)return;this.handlerId=J,this.reconnect()}},{key:"dropTargetOptions",get:function A(){return this.dropTargetOptionsInternal},set:function A(J){this.dropTargetOptionsInternal=J}},{key:"didHandlerIdChange",value:function A(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function A(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function A(){return!rJ(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function A(){if(this.unsubscribeDropTarget)this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0}},{key:"dropTarget",get:function A(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function A(){this.dropTargetRef=null,this.dropTargetNode=null}}]),E}();function jW(E,A,J){var V=J.getRegistry(),X=V.addTarget(E,A);return[X,function(){return V.removeTarget(X)}]}function FW(E,A,J){var V=J.getRegistry(),X=V.addSource(E,A);return[X,function(){return V.removeSource(X)}]}var _V=Xu(yu(),1),VD=typeof window!=="undefined"?_V.useLayoutEffect:_V.useEffect;var mV=Xu(yu(),1);function yV(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")yV=function A(J){return typeof J};else yV=function A(J){return J&&typeof Symbol==="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J};return yV(E)}function Lj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function NW(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function zj(E,A,J){if(A)NW(E.prototype,A);if(J)NW(E,J);return E}function i5(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var gW=function(){function E(A,J,V){Lj(this,E),i5(this,"spec",void 0),i5(this,"monitor",void 0),i5(this,"connector",void 0),this.spec=A,this.monitor=J,this.connector=V}return zj(E,[{key:"beginDrag",value:function A(){var J,V=this.spec,X=this.monitor,H=null;if(yV(V.item)==="object")H=V.item;else if(typeof V.item==="function")H=V.item(X);else H={};return(J=H)!==null&&J!==void 0?J:null}},{key:"canDrag",value:function A(){var J=this.spec,V=this.monitor;if(typeof J.canDrag==="boolean")return J.canDrag;else if(typeof J.canDrag==="function")return J.canDrag(V);else return!0}},{key:"isDragging",value:function A(J,V){var X=this.spec,H=this.monitor,K=X.isDragging;return K?K(H):V===J.getSourceId()}},{key:"endDrag",value:function A(){var J=this.spec,V=this.monitor,X=this.connector,H=J.end;if(H)H(V.getItem(),V);X.reconnect()}}]),E}();function fW(E,A,J){var V=mV.useMemo(function(){return new gW(E,A,J)},[A,J]);return mV.useEffect(function(){V.spec=E},[E]),V}var PW=Xu(yu(),1);function nO(){var E=PW.useContext(FV),A=E.dragDropManager;return Vu(A!=null,"Expected drag drop context"),A}var CW=Xu(yu(),1);function bW(E){return CW.useMemo(function(){var A=E.type;return Vu(A!=null,"spec.type must be defined"),A},[E])}function Tj(E,A){return Ij(E)||$j(E,A)||Rj(E,A)||wj()}function wj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rj(E,A){if(!E)return;if(typeof E==="string")return xW(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return xW(E,A)}function xW(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function $j(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function Ij(E){if(Array.isArray(E))return E}function hW(E,A,J){var V=nO(),X=fW(E,A,J),H=bW(E);VD(function K(){if(H!=null){var M=FW(H,X,V),z=Tj(M,2),w=z[0],j=z[1];return A.receiveHandlerId(w),J.receiveHandlerId(w),j}},[V,A,J,X,H])}var kW=Xu(yu(),1);function jj(E){return fj(E)||gj(E)||Nj(E)||Fj()}function Fj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nj(E,A){if(!E)return;if(typeof E==="string")return n5(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return n5(E,A)}function gj(E){if(typeof Symbol!=="undefined"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}function fj(E){if(Array.isArray(E))return n5(E)}function n5(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function lV(E,A){var J=jj(A||[]);if(A==null&&typeof E!=="function")J.push(E);return kW.useMemo(function(){return typeof E==="function"?E():E},J)}var _W=Xu(yu(),1);function yW(){var E=nO();return _W.useMemo(function(){return new MW(E)},[E])}var mW=Xu(yu(),1);function lW(E,A){var J=nO(),V=mW.useMemo(function(){return new RW(J.getBackend())},[J]);return VD(function(){return V.dragSourceOptions=E||null,V.reconnect(),function(){return V.disconnectDragSource()}},[V,E]),VD(function(){return V.dragPreviewOptions=A||null,V.reconnect(),function(){return V.disconnectDragPreview()}},[V,A]),V}var dW=Xu(iW(),1),cV=Xu(yu(),1);function Pj(E,A){return hj(E)||xj(E,A)||bj(E,A)||Cj()}function Cj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bj(E,A){if(!E)return;if(typeof E==="string")return nW(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return nW(E,A)}function nW(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function xj(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function hj(E){if(Array.isArray(E))return E}function iV(E,A,J){var V=cV.useState(function(){return A(E)}),X=Pj(V,2),H=X[0],K=X[1],M=cV.useCallback(function(){var z=A(E);if(!dW.default(H,z)){if(K(z),J)J()}},[H,E,J]);return VD(M),[H,M]}function kj(E,A){return lj(E)||mj(E,A)||yj(E,A)||_j()}function _j(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yj(E,A){if(!E)return;if(typeof E==="string")return pW(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return pW(E,A)}function pW(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function mj(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function lj(E){if(Array.isArray(E))return E}function sW(E,A,J){var V=iV(E,A,J),X=kj(V,2),H=X[0],K=X[1];return VD(function M(){var z=E.getHandlerId();if(z==null)return;return E.subscribeToStateChange(K,{handlerIds:[z]})},[E,K]),H}function nV(E,A,J){return sW(A,E||function(){return{}},function(){return J.reconnect()})}var d5=Xu(yu(),1);function rW(E){return d5.useMemo(function(){return E.hooks.dragSource()},[E])}function aW(E){return d5.useMemo(function(){return E.hooks.dragPreview()},[E])}function tW(E,A){var J=lV(E,A);Vu(!J.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var V=yW(),X=lW(J.options,J.previewOptions);return hW(J,V,X),[nV(J.collect,V,X),rW(X),aW(X)]}var oW=Xu(yu(),1);function eW(E){var A=E.accept;return oW.useMemo(function(){return Vu(E.accept!=null,"accept must be defined"),Array.isArray(A)?A:[A]},[A])}var dV=Xu(yu(),1);function cj(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function uK(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function ij(E,A,J){if(A)uK(E.prototype,A);if(J)uK(E,J);return E}function OK(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var DK=function(){function E(A,J){cj(this,E),OK(this,"spec",void 0),OK(this,"monitor",void 0),this.spec=A,this.monitor=J}return ij(E,[{key:"canDrop",value:function A(){var J=this.spec,V=this.monitor;return J.canDrop?J.canDrop(V.getItem(),V):!0}},{key:"hover",value:function A(){var J=this.spec,V=this.monitor;if(J.hover)J.hover(V.getItem(),V)}},{key:"drop",value:function A(){var J=this.spec,V=this.monitor;if(J.drop)return J.drop(V.getItem(),V)}}]),E}();function EK(E,A){var J=dV.useMemo(function(){return new DK(E,A)},[A]);return dV.useEffect(function(){J.spec=E},[E]),J}function nj(E,A){return rj(E)||sj(E,A)||pj(E,A)||dj()}function dj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pj(E,A){if(!E)return;if(typeof E==="string")return GK(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return GK(E,A)}function GK(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function sj(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function rj(E){if(Array.isArray(E))return E}function AK(E,A,J){var V=nO(),X=EK(E,A),H=eW(E);VD(function K(){var M=jW(H,X,V),z=nj(M,2),w=z[0],j=z[1];return A.receiveHandlerId(w),J.receiveHandlerId(w),j},[V,A,X,J,H.map(function(K){return K.toString()}).join("|")])}var JK=Xu(yu(),1);function ZK(){var E=nO();return JK.useMemo(function(){return new zW(E)},[E])}var QK=Xu(yu(),1);function VK(E){var A=nO(),J=QK.useMemo(function(){return new IW(A.getBackend())},[A]);return VD(function(){return J.dropTargetOptions=E||null,J.reconnect(),function(){return J.disconnectDropTarget()}},[E]),J}var XK=Xu(yu(),1);function YK(E){return XK.useMemo(function(){return E.hooks.dropTarget()},[E])}function pV(E,A){var J=lV(E,A),V=ZK(),X=VK(J.options);return AK(J,V,X),[nV(J.collect,V,X),YK(X)]}var p5=Xu(yu(),1);function aj(E,A){return uF(E)||ej(E,A)||oj(E,A)||tj()}function tj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oj(E,A){if(!E)return;if(typeof E==="string")return BK(E,A);var J=Object.prototype.toString.call(E).slice(8,-1);if(J==="Object"&&E.constructor)J=E.constructor.name;if(J==="Map"||J==="Set")return Array.from(E);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return BK(E,A)}function BK(E,A){if(A==null||A>E.length)A=E.length;for(var J=0,V=new Array(A);J<A;J++)V[J]=E[J];return V}function ej(E,A){var J=E==null?null:typeof Symbol!=="undefined"&&E[Symbol.iterator]||E["@@iterator"];if(J==null)return;var V=[],X=!0,H=!1,K,M;try{for(J=J.call(E);!(X=(K=J.next()).done);X=!0)if(V.push(K.value),A&&V.length===A)break}catch(z){H=!0,M=z}finally{try{if(!X&&J.return!=null)J.return()}finally{if(H)throw M}}return V}function uF(E){if(Array.isArray(E))return E}function UK(E){var A=nO(),J=A.getMonitor(),V=iV(J,E),X=aj(V,2),H=X[0],K=X[1];return p5.useEffect(function(){return J.subscribeToOffsetChange(K)}),p5.useEffect(function(){return J.subscribeToStateChange(K)}),H}function s5(E){var A=null,J=function V(){if(A==null)A=E();return A};return J}function vK(E,A){return E.filter(function(J){return J!==A})}function HK(E,A){var J=new Set,V=function H(K){return J.add(K)};E.forEach(V),A.forEach(V);var X=[];return J.forEach(function(H){return X.push(H)}),X}function OF(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function WK(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function DF(E,A,J){if(A)WK(E.prototype,A);if(J)WK(E,J);return E}function KK(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var qK=function(){function E(A){OF(this,E),KK(this,"entered",[]),KK(this,"isNodeInDocument",void 0),this.isNodeInDocument=A}return DF(E,[{key:"enter",value:function A(J){var V=this,X=this.entered.length,H=function K(M){return V.isNodeInDocument(M)&&(!M.contains||M.contains(J))};return this.entered=HK(this.entered.filter(H),[J]),X===0&&this.entered.length>0}},{key:"leave",value:function A(J){var V=this.entered.length;return this.entered=vK(this.entered.filter(this.isNodeInDocument),J),V>0&&this.entered.length===0}},{key:"reset",value:function A(){this.entered=[]}}]),E}();var MK=s5(function(){return/firefox/i.test(navigator.userAgent)}),r5=s5(function(){return Boolean(window.safari)});function EF(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function SK(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function GF(E,A,J){if(A)SK(E.prototype,A);if(J)SK(E,J);return E}function aJ(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var a5=function(){function E(A,J){EF(this,E),aJ(this,"xs",void 0),aJ(this,"ys",void 0),aJ(this,"c1s",void 0),aJ(this,"c2s",void 0),aJ(this,"c3s",void 0);var V=A.length,X=[];for(var H=0;H<V;H++)X.push(H);X.sort(function(Fu,V0){return A[Fu]<A[V0]?-1:1});var K=[],M=[],z=[],w,j;for(var P=0;P<V-1;P++)w=A[P+1]-A[P],j=J[P+1]-J[P],M.push(w),K.push(j),z.push(j/w);var m=[z[0]];for(var t=0;t<M.length-1;t++){var Gu=z[t],f=z[t+1];if(Gu*f<=0)m.push(0);else{w=M[t];var h=M[t+1],b=w+h;m.push(3*b/((b+h)/Gu+(b+w)/f))}}m.push(z[z.length-1]);var d=[],i=[],Au;for(var p=0;p<m.length-1;p++){Au=z[p];var Ku=m[p],wu=1/M[p],pu=Ku+m[p+1]-Au-Au;d.push((Au-Ku-pu)*wu),i.push(pu*wu*wu)}this.xs=A,this.ys=J,this.c1s=m,this.c2s=d,this.c3s=i}return GF(E,[{key:"interpolate",value:function A(J){var V=this.xs,X=this.ys,H=this.c1s,K=this.c2s,M=this.c3s,z=V.length-1;if(J===V[z])return X[z];var w=0,j=M.length-1,P;while(w<=j){P=Math.floor(0.5*(w+j));var m=V[P];if(m<J)w=P+1;else if(m>J)j=P-1;else return X[P]}z=Math.max(0,j);var t=J-V[z],Gu=t*t;return X[z]+H[z]*t+K[z]*Gu+M[z]*t*Gu}}]),E}();var AF=1;function t5(E){var A=E.nodeType===AF?E:E.parentElement;if(!A)return null;var J=A.getBoundingClientRect(),V=J.top,X=J.left;return{x:X,y:V}}function tJ(E){return{x:E.clientX,y:E.clientY}}function JF(E){var A;return E.nodeName==="IMG"&&(MK()||!((A=document.documentElement)!==null&&A!==void 0&&A.contains(E)))}function ZF(E,A,J,V){var X=E?A.width:J,H=E?A.height:V;if(r5()&&E)H/=window.devicePixelRatio,X/=window.devicePixelRatio;return{dragPreviewWidth:X,dragPreviewHeight:H}}function LK(E,A,J,V,X){var H=JF(A),K=H?E:A,M=t5(K),z={x:J.x-M.x,y:J.y-M.y},w=E.offsetWidth,j=E.offsetHeight,P=V.anchorX,m=V.anchorY,t=ZF(H,A,w,j),Gu=t.dragPreviewWidth,f=t.dragPreviewHeight,h=function Ku(){var wu=new a5([0,0.5,1],[z.y,z.y/j*f,z.y+f-j]),pu=wu.interpolate(m);if(r5()&&H)pu+=(window.devicePixelRatio-1)*f;return pu},b=function Ku(){var wu=new a5([0,0.5,1],[z.x,z.x/w*Gu,z.x+Gu-w]);return wu.interpolate(P)},d=X.offsetX,i=X.offsetY,Au=d===0||d,p=i===0||i;return{x:Au?d:b(),y:p?i:h()}}var oJ={};j4(oJ,{URL:()=>e5,TEXT:()=>u7,HTML:()=>O7,FILE:()=>o5});var o5="__NATIVE_FILE__",e5="__NATIVE_URL__",u7="__NATIVE_TEXT__",O7="__NATIVE_HTML__";function sV(E,A,J){var V=A.reduce(function(X,H){return X||E.getData(H)},"");return V!=null?V:J}var C8;function rV(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var aV=(C8={},rV(C8,o5,{exposeProperties:{files:function E(A){return Array.prototype.slice.call(A.files)},items:function E(A){return A.items},dataTransfer:function E(A){return A}},matchesTypes:["Files"]}),rV(C8,O7,{exposeProperties:{html:function E(A,J){return sV(A,J,"")},dataTransfer:function E(A){return A}},matchesTypes:["Html","text/html"]}),rV(C8,e5,{exposeProperties:{urls:function E(A,J){return sV(A,J,"").split(`
`)},dataTransfer:function E(A){return A}},matchesTypes:["Url","text/uri-list"]}),rV(C8,u7,{exposeProperties:{text:function E(A,J){return sV(A,J,"")},dataTransfer:function E(A){return A}},matchesTypes:["Text","text/plain"]}),C8);function QF(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function zK(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function VF(E,A,J){if(A)zK(E.prototype,A);if(J)zK(E,J);return E}function TK(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var wK=function(){function E(A){QF(this,E),TK(this,"item",void 0),TK(this,"config",void 0),this.config=A,this.item={},this.initializeExposedProperties()}return VF(E,[{key:"initializeExposedProperties",value:function A(){var J=this;Object.keys(this.config.exposeProperties).forEach(function(V){Object.defineProperty(J.item,V,{configurable:!0,enumerable:!0,get:function X(){return console.warn(`Browser doesn't allow reading "`.concat(V,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function A(J){var V=this;if(J){var X={};Object.keys(this.config.exposeProperties).forEach(function(H){X[H]={value:V.config.exposeProperties[H](J,V.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,X)}}},{key:"canDrag",value:function A(){return!0}},{key:"beginDrag",value:function A(){return this.item}},{key:"isDragging",value:function A(J,V){return V===J.getSourceId()}},{key:"endDrag",value:function A(){}}]),E}();function RK(E,A){var J=new wK(aV[E]);return J.loadDataTransfer(A),J}function tV(E){if(!E)return null;var A=Array.prototype.slice.call(E.types||[]);return Object.keys(aV).filter(function(J){var V=aV[J].matchesTypes;return V.some(function(X){return A.indexOf(X)>-1})})[0]||null}function XF(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function $K(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function YF(E,A,J){if(A)$K(E.prototype,A);if(J)$K(E,J);return E}function D7(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var IK=function(){function E(A,J){XF(this,E),D7(this,"ownerDocument",null),D7(this,"globalContext",void 0),D7(this,"optionsArgs",void 0),this.globalContext=A,this.optionsArgs=J}return YF(E,[{key:"window",get:function A(){if(this.globalContext)return this.globalContext;else if(typeof window!=="undefined")return window;return}},{key:"document",get:function A(){var J;if((J=this.globalContext)!==null&&J!==void 0&&J.document)return this.globalContext.document;else if(this.window)return this.window.document;else return}},{key:"rootElement",get:function A(){var J;return((J=this.optionsArgs)===null||J===void 0?void 0:J.rootElement)||this.window}}]),E}();function jK(E,A){var J=Object.keys(E);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(E);if(A)V=V.filter(function(X){return Object.getOwnPropertyDescriptor(E,X).enumerable});J.push.apply(J,V)}return J}function FK(E){for(var A=1;A<arguments.length;A++){var J=arguments[A]!=null?arguments[A]:{};if(A%2)jK(Object(J),!0).forEach(function(V){mu(E,V,J[V])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(E,Object.getOwnPropertyDescriptors(J));else jK(Object(J)).forEach(function(V){Object.defineProperty(E,V,Object.getOwnPropertyDescriptor(J,V))})}return E}function BF(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function NK(E,A){for(var J=0;J<A.length;J++){var V=A[J];if(V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V)V.writable=!0;Object.defineProperty(E,V.key,V)}}function UF(E,A,J){if(A)NK(E.prototype,A);if(J)NK(E,J);return E}function mu(E,A,J){if(A in E)Object.defineProperty(E,A,{value:J,enumerable:!0,configurable:!0,writable:!0});else E[A]=J;return E}var gK=function(){function E(A,J,V){var X=this;BF(this,E),mu(this,"options",void 0),mu(this,"actions",void 0),mu(this,"monitor",void 0),mu(this,"registry",void 0),mu(this,"enterLeaveCounter",void 0),mu(this,"sourcePreviewNodes",new Map),mu(this,"sourcePreviewNodeOptions",new Map),mu(this,"sourceNodes",new Map),mu(this,"sourceNodeOptions",new Map),mu(this,"dragStartSourceIds",null),mu(this,"dropTargetIds",[]),mu(this,"dragEnterTargetIds",[]),mu(this,"currentNativeSource",null),mu(this,"currentNativeHandle",null),mu(this,"currentDragSourceNode",null),mu(this,"altKeyPressed",!1),mu(this,"mouseMoveTimeoutTimer",null),mu(this,"asyncEndDragFrameId",null),mu(this,"dragOverTargetIds",null),mu(this,"lastClientOffset",null),mu(this,"hoverRafId",null),mu(this,"getSourceClientOffset",function(H){var K=X.sourceNodes.get(H);return K&&t5(K)||null}),mu(this,"endDragNativeItem",function(){if(!X.isDraggingNativeItem())return;if(X.actions.endDrag(),X.currentNativeHandle)X.registry.removeSource(X.currentNativeHandle);X.currentNativeHandle=null,X.currentNativeSource=null}),mu(this,"isNodeInDocument",function(H){return Boolean(H&&X.document&&X.document.body&&X.document.body.contains(H))}),mu(this,"endDragIfSourceWasRemovedFromDOM",function(){var H=X.currentDragSourceNode;if(H==null||X.isNodeInDocument(H))return;if(X.clearCurrentDragSourceNode()&&X.monitor.isDragging())X.actions.endDrag()}),mu(this,"handleTopDragStartCapture",function(){X.clearCurrentDragSourceNode(),X.dragStartSourceIds=[]}),mu(this,"handleTopDragStart",function(H){if(H.defaultPrevented)return;var K=X.dragStartSourceIds;X.dragStartSourceIds=null;var M=tJ(H);if(X.monitor.isDragging())X.actions.endDrag();X.actions.beginDrag(K||[],{publishSource:!1,getSourceClientOffset:X.getSourceClientOffset,clientOffset:M});var z=H.dataTransfer,w=tV(z);if(X.monitor.isDragging()){if(z&&typeof z.setDragImage==="function"){var j=X.monitor.getSourceId(),P=X.sourceNodes.get(j),m=X.sourcePreviewNodes.get(j)||P;if(m){var t=X.getCurrentSourcePreviewNodeOptions(),Gu=t.anchorX,f=t.anchorY,h=t.offsetX,b=t.offsetY,d={anchorX:Gu,anchorY:f},i={offsetX:h,offsetY:b},Au=LK(P,m,M,d,i);z.setDragImage(m,Au.x,Au.y)}}try{z===null||z===void 0||z.setData("application/json",{})}catch(wu){}X.setCurrentDragSourceNode(H.target);var p=X.getCurrentSourcePreviewNodeOptions(),Ku=p.captureDraggingState;if(!Ku)setTimeout(function(){return X.actions.publishDragSource()},0);else X.actions.publishDragSource()}else if(w)X.beginDragNativeItem(w);else if(z&&!z.types&&(H.target&&!H.target.hasAttribute||!H.target.hasAttribute("draggable")))return;else H.preventDefault()}),mu(this,"handleTopDragEndCapture",function(){if(X.clearCurrentDragSourceNode()&&X.monitor.isDragging())X.actions.endDrag()}),mu(this,"handleTopDragEnterCapture",function(H){X.dragEnterTargetIds=[];var K=X.enterLeaveCounter.enter(H.target);if(!K||X.monitor.isDragging())return;var M=H.dataTransfer,z=tV(M);if(z)X.beginDragNativeItem(z,M)}),mu(this,"handleTopDragEnter",function(H){var K=X.dragEnterTargetIds;if(X.dragEnterTargetIds=[],!X.monitor.isDragging())return;if(X.altKeyPressed=H.altKey,K.length>0)X.actions.hover(K,{clientOffset:tJ(H)});var M=K.some(function(z){return X.monitor.canDropOnTarget(z)});if(M){if(H.preventDefault(),H.dataTransfer)H.dataTransfer.dropEffect=X.getCurrentDropEffect()}}),mu(this,"handleTopDragOverCapture",function(){X.dragOverTargetIds=[]}),mu(this,"handleTopDragOver",function(H){var K=X.dragOverTargetIds;if(X.dragOverTargetIds=[],!X.monitor.isDragging()){if(H.preventDefault(),H.dataTransfer)H.dataTransfer.dropEffect="none";return}if(X.altKeyPressed=H.altKey,X.lastClientOffset=tJ(H),X.hoverRafId===null&&typeof requestAnimationFrame!=="undefined")X.hoverRafId=requestAnimationFrame(function(){if(X.monitor.isDragging())X.actions.hover(K||[],{clientOffset:X.lastClientOffset});X.hoverRafId=null});var M=(K||[]).some(function(z){return X.monitor.canDropOnTarget(z)});if(M){if(H.preventDefault(),H.dataTransfer)H.dataTransfer.dropEffect=X.getCurrentDropEffect()}else if(X.isDraggingNativeItem())H.preventDefault();else if(H.preventDefault(),H.dataTransfer)H.dataTransfer.dropEffect="none"}),mu(this,"handleTopDragLeaveCapture",function(H){if(X.isDraggingNativeItem())H.preventDefault();var K=X.enterLeaveCounter.leave(H.target);if(!K)return;if(X.isDraggingNativeItem())setTimeout(function(){return X.endDragNativeItem()},0)}),mu(this,"handleTopDropCapture",function(H){if(X.dropTargetIds=[],X.isDraggingNativeItem()){var K;H.preventDefault(),(K=X.currentNativeSource)===null||K===void 0||K.loadDataTransfer(H.dataTransfer)}else if(tV(H.dataTransfer))H.preventDefault();X.enterLeaveCounter.reset()}),mu(this,"handleTopDrop",function(H){var K=X.dropTargetIds;if(X.dropTargetIds=[],X.actions.hover(K,{clientOffset:tJ(H)}),X.actions.drop({dropEffect:X.getCurrentDropEffect()}),X.isDraggingNativeItem())X.endDragNativeItem();else if(X.monitor.isDragging())X.actions.endDrag()}),mu(this,"handleSelectStart",function(H){var K=H.target;if(typeof K.dragDrop!=="function")return;if(K.tagName==="INPUT"||K.tagName==="SELECT"||K.tagName==="TEXTAREA"||K.isContentEditable)return;H.preventDefault(),K.dragDrop()}),this.options=new IK(J,V),this.actions=A.getActions(),this.monitor=A.getMonitor(),this.registry=A.getRegistry(),this.enterLeaveCounter=new qK(this.isNodeInDocument)}return UF(E,[{key:"profile",value:function A(){var J,V;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((J=this.dragStartSourceIds)===null||J===void 0?void 0:J.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((V=this.dragOverTargetIds)===null||V===void 0?void 0:V.length)||0}}},{key:"window",get:function A(){return this.options.window}},{key:"document",get:function A(){return this.options.document}},{key:"rootElement",get:function A(){return this.options.rootElement}},{key:"setup",value:function A(){var J=this.rootElement;if(J===void 0)return;if(J.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");J.__isReactDndBackendSetUp=!0,this.addEventListeners(J)}},{key:"teardown",value:function A(){var J=this.rootElement;if(J===void 0)return;if(J.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId){var V;(V=this.window)===null||V===void 0||V.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function A(J,V,X){var H=this;return this.sourcePreviewNodeOptions.set(J,X),this.sourcePreviewNodes.set(J,V),function(){H.sourcePreviewNodes.delete(J),H.sourcePreviewNodeOptions.delete(J)}}},{key:"connectDragSource",value:function A(J,V,X){var H=this;this.sourceNodes.set(J,V),this.sourceNodeOptions.set(J,X);var K=function z(w){return H.handleDragStart(w,J)},M=function z(w){return H.handleSelectStart(w)};return V.setAttribute("draggable","true"),V.addEventListener("dragstart",K),V.addEventListener("selectstart",M),function(){H.sourceNodes.delete(J),H.sourceNodeOptions.delete(J),V.removeEventListener("dragstart",K),V.removeEventListener("selectstart",M),V.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function A(J,V){var X=this,H=function z(w){return X.handleDragEnter(w,J)},K=function z(w){return X.handleDragOver(w,J)},M=function z(w){return X.handleDrop(w,J)};return V.addEventListener("dragenter",H),V.addEventListener("dragover",K),V.addEventListener("drop",M),function(){V.removeEventListener("dragenter",H),V.removeEventListener("dragover",K),V.removeEventListener("drop",M)}}},{key:"addEventListeners",value:function A(J){if(!J.addEventListener)return;J.addEventListener("dragstart",this.handleTopDragStart),J.addEventListener("dragstart",this.handleTopDragStartCapture,!0),J.addEventListener("dragend",this.handleTopDragEndCapture,!0),J.addEventListener("dragenter",this.handleTopDragEnter),J.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),J.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),J.addEventListener("dragover",this.handleTopDragOver),J.addEventListener("dragover",this.handleTopDragOverCapture,!0),J.addEventListener("drop",this.handleTopDrop),J.addEventListener("drop",this.handleTopDropCapture,!0)}},{key:"removeEventListeners",value:function A(J){if(!J.removeEventListener)return;J.removeEventListener("dragstart",this.handleTopDragStart),J.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),J.removeEventListener("dragend",this.handleTopDragEndCapture,!0),J.removeEventListener("dragenter",this.handleTopDragEnter),J.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),J.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),J.removeEventListener("dragover",this.handleTopDragOver),J.removeEventListener("dragover",this.handleTopDragOverCapture,!0),J.removeEventListener("drop",this.handleTopDrop),J.removeEventListener("drop",this.handleTopDropCapture,!0)}},{key:"getCurrentSourceNodeOptions",value:function A(){var J=this.monitor.getSourceId(),V=this.sourceNodeOptions.get(J);return FK({dropEffect:this.altKeyPressed?"copy":"move"},V||{})}},{key:"getCurrentDropEffect",value:function A(){if(this.isDraggingNativeItem())return"copy";return this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function A(){var J=this.monitor.getSourceId(),V=this.sourcePreviewNodeOptions.get(J);return FK({anchorX:0.5,anchorY:0.5,captureDraggingState:!1},V||{})}},{key:"isDraggingNativeItem",value:function A(){var J=this.monitor.getItemType();return Object.keys(oJ).some(function(V){return oJ[V]===J})}},{key:"beginDragNativeItem",value:function A(J,V){this.clearCurrentDragSourceNode(),this.currentNativeSource=RK(J,V),this.currentNativeHandle=this.registry.addSource(J,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function A(J){var V=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=J;var X=1000;this.mouseMoveTimeoutTimer=setTimeout(function(){var H;return(H=V.rootElement)===null||H===void 0?void 0:H.addEventListener("mousemove",V.endDragIfSourceWasRemovedFromDOM,!0)},X)}},{key:"clearCurrentDragSourceNode",value:function A(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var J;(J=this.window)===null||J===void 0||J.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function A(J,V){if(J.defaultPrevented)return;if(!this.dragStartSourceIds)this.dragStartSourceIds=[];this.dragStartSourceIds.unshift(V)}},{key:"handleDragEnter",value:function A(J,V){this.dragEnterTargetIds.unshift(V)}},{key:"handleDragOver",value:function A(J,V){if(this.dragOverTargetIds===null)this.dragOverTargetIds=[];this.dragOverTargetIds.unshift(V)}},{key:"handleDrop",value:function A(J,V){this.dropTargetIds.unshift(V)}}]),E}();var oV;function E7(){if(!oV)oV=new Image,oV.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";return oV}var fK=function E(A,J,V){return new gK(A,J,V)};function CK(E){let A=W0(),J=A.selectedIds,[V,X,H]=tW(()=>({canDrag:()=>E.isDraggable,type:"NODE",item:()=>{let K=A.isSelected(E.id)?Array.from(J):[E.id];return A.dispatch(qE.dragStart(E.id,K)),{id:E.id,dragIds:K}},end:()=>{A.hideCursor(),A.dispatch(qE.dragEnd())}}),[J,E]);return PK.useEffect(()=>{H(E7())},[H]),X}function vF(E,A){let J=E.getBoundingClientRect(),V=A.x-Math.round(J.x),X=A.y-Math.round(J.y),H=J.height,K=X<H/2,M=!K,z=H/4,w=X>z&&X<H-z;return{x:V,inTopHalf:K,inBottomHalf:M,inMiddle:w,atTop:!w&&K,atBottom:!w&&M}}function HF(E,A,J,V){if(!E)return[A,null];if(E.isInternal)if(V.atTop)return[A,E];else if(V.inMiddle)return[E,E];else return[E,J];else if(V.inTopHalf)return[A,E];else return[E,J]}function eV(E,A){return{parentId:E||null,index:A}}function b8(E,A){return{type:"line",index:E,level:A}}function WF(E){return{type:"highlight",id:E}}function G7(E,A){var J;let V=E;while(V.parent&&V.level>A)V=V.parent;let X=((J=V.parent)===null||J===void 0?void 0:J.id)||null,H=L5(V)+1;return{parentId:X,index:H}}function u9(E){var A;let J=vF(E.element,E.offset),V=E.indent,X=Math.round(Math.max(0,J.x-V)/V),{node:H,nextNode:K,prevNode:M}=E,[z,w]=HF(H,M,K,J);if(H&&H.isInternal&&J.inMiddle)return{drop:eV(H.id,null),cursor:WF(H.id)};if(!z)return{drop:eV((A=w===null||w===void 0?void 0:w.parent)===null||A===void 0?void 0:A.id,0),cursor:b8(0,0)};if(K5(z)){let j=hJ(X,(w===null||w===void 0?void 0:w.level)||0,z.level);return{drop:G7(z,j),cursor:b8(z.rowIndex+1,j)}}if(q5(z)){let j=hJ(X,(w===null||w===void 0?void 0:w.level)||0,z.level);return{drop:G7(z,j),cursor:b8(z.rowIndex+1,j)}}if(M5(z)){let j=hJ(X,0,z.level+1);if(j>z.level)return{drop:eV(z.id,0),cursor:b8(z.rowIndex+1,j)};else return{drop:G7(z,j),cursor:b8(z.rowIndex+1,j)}}return{drop:eV(z===null||z===void 0?void 0:z.id,0),cursor:b8(z.rowIndex+1,z.level+1)}}function bK(E,A){let J=W0(),[V,X]=pV(()=>({accept:"NODE",canDrop:()=>J.canDrop(),hover:(H,K)=>{let M=K.getClientOffset();if(!E.current||!M)return;let{cursor:z,drop:w}=u9({element:E.current,offset:M,indent:J.indent,node:A,prevNode:A.prev,nextNode:A.next});if(w)J.dispatch(qE.hovering(w.parentId,w.index));if(K.canDrop()){if(z)J.showCursor(z)}else J.hideCursor()},drop:(H,K)=>{if(!K.canDrop())return null;let{parentId:M,index:z,dragIds:w}=J.state.dnd;R5(J.props.onMove,{dragIds:w,parentId:M===N1?null:M,index:z===null?0:z,dragNodes:J.dragNodes,parentNode:J.get(M)}),J.open(M)}}),[A,E.current,J.props]);return X}var xK=Xu(yu(),1);function hK(E){let A=W0(),J=A.at(E);if(!J)throw new Error(`Could not find node for index: ${E}`);return xK.useMemo(()=>{let V=J.clone();return A.visibleNodes[E]=V,V},[...Object.values(J.state),J])}var kK=rD.default.memo(function E({index:A,style:J}){MV();let V=b4(),X=W0(),H=hK(A),K=rD.useRef(null),M=CK(H),z=bK(K,H),w=rD.useCallback((h)=>{K.current=h,z(h)},[z]),j=X.indent*H.level,P=rD.useMemo(()=>({paddingLeft:j}),[j]),m=rD.useMemo(()=>{var h,b;return Object.assign(Object.assign({},J),{top:parseFloat(J.top)+((b=(h=X.props.padding)!==null&&h!==void 0?h:X.props.paddingTop)!==null&&b!==void 0?b:0)})},[J,X.props.padding,X.props.paddingTop]),t={role:"treeitem","aria-level":H.level+1,"aria-selected":H.isSelected,"aria-expanded":H.isOpen,style:m,tabIndex:-1,className:X.props.rowClassName};rD.useEffect(()=>{var h;if(!H.isEditing&&H.isFocused)(h=K.current)===null||h===void 0||h.focus({preventScroll:!0})},[H.isEditing,H.isFocused,K.current]);let{renderNode:Gu,renderRow:f}=X;return A7.jsx(f,{node:H,innerRef:w,attrs:t,children:A7.jsx(Gu,{node:H,tree:X,style:P,dragHandle:M})})});var J7="",_K=null;function O9(){MV();let E=W0();return Z7.jsx("div",{role:"tree",style:{height:E.height,width:E.width,minHeight:0,minWidth:0},onContextMenu:E.props.onContextMenu,onClick:E.props.onClick,tabIndex:0,onFocus:(A)=>{if(!A.currentTarget.contains(A.relatedTarget))E.onFocus()},onBlur:(A)=>{if(!A.currentTarget.contains(A.relatedTarget))E.onBlur()},onKeyDown:(A)=>{var J;if(E.isEditing)return;if(A.key==="Backspace"){if(!E.props.onDelete)return;let X=Array.from(E.selectedIds);if(X.length>1){let H=E.mostRecentNode;while(H&&H.isSelected)H=H.nextSibling;if(!H)H=E.lastNode;E.focus(H,{scroll:!1}),E.delete(Array.from(X))}else{let H=E.focusedNode;if(H){let{nextSibling:K,parent:M}=H;E.focus(K||M,{scroll:!1}),E.delete(H)}}return}if(A.key==="Tab"&&!A.shiftKey){A.preventDefault(),z5(A.currentTarget);return}if(A.key==="Tab"&&A.shiftKey){A.preventDefault(),T5(A.currentTarget);return}if(A.key==="ArrowDown"){A.preventDefault();let X=E.nextNode;if(A.metaKey){E.select(E.focusedNode),E.activate(E.focusedNode);return}else if(!A.shiftKey||E.props.disableMultiSelection){E.focus(X);return}else{if(!X)return;let H=E.focusedNode;if(!H)E.focus(E.firstNode);else if(H.isSelected)E.selectContiguous(X);else E.selectMulti(X);return}}if(A.key==="ArrowUp"){A.preventDefault();let X=E.prevNode;if(!A.shiftKey||E.props.disableMultiSelection){E.focus(X);return}else{if(!X)return;let H=E.focusedNode;if(!H)E.focus(E.lastNode);else if(H.isSelected)E.selectContiguous(X);else E.selectMulti(X);return}}if(A.key==="ArrowRight"){let X=E.focusedNode;if(!X)return;if(X.isInternal&&X.isOpen)E.focus(E.nextNode);else if(X.isInternal)E.open(X.id);return}if(A.key==="ArrowLeft"){let X=E.focusedNode;if(!X||X.isRoot)return;if(X.isInternal&&X.isOpen)E.close(X.id);else if(!((J=X.parent)===null||J===void 0?void 0:J.isRoot))E.focus(X.parent);return}if(A.key==="a"&&A.metaKey&&!E.props.disableMultiSelection){A.preventDefault(),E.selectAll();return}if(A.key==="a"&&!A.metaKey&&E.props.onCreate){E.createLeaf();return}if(A.key==="A"&&!A.metaKey){if(!E.props.onCreate)return;E.createInternal();return}if(A.key==="Home"){A.preventDefault(),E.focus(E.firstNode);return}if(A.key==="End"){A.preventDefault(),E.focus(E.lastNode);return}if(A.key==="Enter"){let X=E.focusedNode;if(!X)return;if(!X.isEditable||!E.props.onRename)return;setTimeout(()=>{if(X)E.edit(X)});return}if(A.key===" "){A.preventDefault();let X=E.focusedNode;if(!X)return;if(X.isLeaf)X.select(),X.activate();else X.toggle();return}if(A.key==="*"){let X=E.focusedNode;if(!X)return;E.openSiblings(X);return}if(A.key==="PageUp"){A.preventDefault(),E.pageUp();return}if(A.key==="PageDown")A.preventDefault(),E.pageDown();clearTimeout(_K),J7+=A.key,_K=setTimeout(()=>{J7=""},600);let V=E.visibleNodes.find((X)=>{let H=X.data.name;if(typeof H==="string")return H.toLowerCase().startsWith(J7);else return!1});if(V)E.focus(V.id)},children:Z7.jsx(DH,{className:E.props.className,outerRef:E.listEl,itemCount:E.visibleNodes.length,height:E.height,width:E.width,itemSize:E.rowHeight,overscanCount:E.overscanCount,itemKey:(A)=>{var J;return((J=E.visibleNodes[A])===null||J===void 0?void 0:J.id)||A},outerElementType:JH,innerElementType:VH,onScroll:E.props.onScroll,onItemsRendered:E.onItemsRendered.bind(E),ref:E.list,children:kK})})}function Q7(E){if(E.isFiltered)return qF(E.root,E.isMatch.bind(E));else return KF(E.root)}function KF(E){let A=[];function J(V){var X;if(V.level>=0)A.push(V);if(V.isOpen)(X=V.children)===null||X===void 0||X.forEach(J)}return J(E),A.forEach(yK),A}function qF(E,A){let J={},V=[];function X(K){if(!K.isRoot&&A(K)){J[K.id]=!0;let z=K.parent;while(z)J[z.id]=!0,z=z.parent}if(K.children)for(let z of K.children)X(z)}function H(K){var M;if(K.level>=0&&J[K.id])V.push(K);if(K.isOpen)(M=K.children)===null||M===void 0||M.forEach(H)}return X(E),H(E),V.forEach(yK),V}function yK(E,A){E.rowIndex=A}var V7=(E)=>{return E.reduce((A,J,V)=>{return A[J.id]=V,A},{})};var X7=function(E,A,J,V){function X(H){return H instanceof J?H:new J(function(K){K(H)})}return new(J||(J=Promise))(function(H,K){function M(j){try{w(V.next(j))}catch(P){K(P)}}function z(j){try{w(V.throw(j))}catch(P){K(P)}}function w(j){j.done?H(j.value):X(j.value).then(M,z)}w((V=V.apply(E,A||[])).next())})},{safeRun:uO,identify:pE,identifyNull:aD}=F5;class x8{constructor(E,A,J,V){this.store=E,this.props=A,this.list=J,this.listEl=V,this.visibleStartIndex=0,this.visibleStopIndex=0,this.root=N5(this),this.visibleNodes=Q7(this),this.idToIndex=V7(this.visibleNodes)}update(E){this.props=E,this.root=N5(this),this.visibleNodes=Q7(this),this.idToIndex=V7(this.visibleNodes)}dispatch(E){return this.store.dispatch(E)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var E;return(E=this.props.width)!==null&&E!==void 0?E:300}get height(){var E;return(E=this.props.height)!==null&&E!==void 0?E:500}get indent(){var E;return(E=this.props.indent)!==null&&E!==void 0?E:24}get rowHeight(){var E;return(E=this.props.rowHeight)!==null&&E!==void 0?E:24}get overscanCount(){var E;return(E=this.props.overscanCount)!==null&&E!==void 0?E:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var E;let A=(E=this.props.searchMatch)!==null&&E!==void 0?E:(J,V)=>{return JSON.stringify(Object.values(J.data)).toLocaleLowerCase().includes(V.toLocaleLowerCase())};return(J)=>A(J,this.searchTerm)}accessChildren(E){var A;let J=this.props.childrenAccessor||"children";return(A=R8(E,J))!==null&&A!==void 0?A:null}accessId(E){let A=this.props.idAccessor||"id",J=R8(E,A);if(!J)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return J}get firstNode(){var E;return(E=this.visibleNodes[0])!==null&&E!==void 0?E:null}get lastNode(){var E;return(E=this.visibleNodes[this.visibleNodes.length-1])!==null&&E!==void 0?E:null}get focusedNode(){var E;return(E=this.get(this.state.nodes.focus.id))!==null&&E!==void 0?E:null}get mostRecentNode(){var E;return(E=this.get(this.state.nodes.selection.mostRecent))!==null&&E!==void 0?E:null}get nextNode(){let E=this.indexOf(this.focusedNode);if(E===null)return null;else return this.at(E+1)}get prevNode(){let E=this.indexOf(this.focusedNode);if(E===null)return null;else return this.at(E-1)}get(E){if(!E)return null;if(E in this.idToIndex)return this.visibleNodes[this.idToIndex[E]]||null;else return null}at(E){return this.visibleNodes[E]||null}nodesBetween(E,A){var J;if(E===null||A===null)return[];let V=(J=this.indexOf(E))!==null&&J!==void 0?J:0,X=this.indexOf(A);if(X===null)return[];let H=Math.min(V,X),K=Math.max(V,X);return this.visibleNodes.slice(H,K+1)}indexOf(E){let A=w5(E);if(!A)return null;return this.idToIndex[A]}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return X7(this,arguments,void 0,function*(E={}){var A,J;let V=E.parentId===void 0?j5(this):E.parentId,X=(A=E.index)!==null&&A!==void 0?A:I5(this),H=(J=E.type)!==null&&J!==void 0?J:"leaf",K=yield uO(this.props.onCreate,{type:H,parentId:V,index:X,parentNode:this.get(V)});if(K)this.focus(K),setTimeout(()=>{this.edit(K).then(()=>{this.select(K),this.activate(K)})})})}delete(E){return X7(this,void 0,void 0,function*(){if(!E)return;let J=(Array.isArray(E)?E:[E]).map(pE),V=J.map((X)=>this.get(X)).filter((X)=>!!X);yield uO(this.props.onDelete,{nodes:V,ids:J})})}edit(E){let A=pE(E);return this.resolveEdit({cancelled:!0}),this.scrollTo(A),this.dispatch(zV(A)),new Promise((J)=>{x8.editPromise=J})}submit(E,A){return X7(this,void 0,void 0,function*(){if(!E)return;let J=pE(E);yield uO(this.props.onRename,{id:J,name:A,node:this.get(J)}),this.dispatch(zV(null)),this.resolveEdit({cancelled:!1,value:A}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(zV(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(E){let A=this.get(aD(E));if(!A)return;uO(this.props.onActivate,A)}resolveEdit(E){let A=x8.editPromise;if(A)A(E);x8.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let E=[];for(let A of Array.from(this.selectedIds)){let J=this.get(A);if(J)E.push(J)}return E}focus(E,A={}){if(!E)return;if(this.props.selectionFollowsFocus)this.select(E);else{if(this.dispatch(SG(pE(E))),A.scroll!==!1)this.scrollTo(E);if(this.focusedNode)uO(this.props.onFocus,this.focusedNode)}}pageUp(){var E,A;let J=this.visibleStartIndex,X=this.visibleStopIndex-J,H=(A=(E=this.focusedNode)===null||E===void 0?void 0:E.rowIndex)!==null&&A!==void 0?A:0;if(H>J)H=J;else H=Math.max(J-X,0);this.focus(this.at(H))}pageDown(){var E,A;let J=this.visibleStartIndex,V=this.visibleStopIndex,X=V-J,H=(A=(E=this.focusedNode)===null||E===void 0?void 0:E.rowIndex)!==null&&A!==void 0?A:0;if(H<V)H=V;else H=Math.min(H+X,this.visibleNodes.length-1);this.focus(this.at(H))}select(E,A={}){if(!E)return;let J=A.focus!==!1,V=pE(E);if(J)this.dispatch(SG(V));if(this.dispatch($D.only(V)),this.dispatch($D.anchor(V)),this.dispatch($D.mostRecent(V)),this.scrollTo(V,A.align),this.focusedNode&&J)uO(this.props.onFocus,this.focusedNode);uO(this.props.onSelect,this.selectedNodes)}deselect(E){if(!E)return;let A=pE(E);this.dispatch($D.remove(A)),uO(this.props.onSelect,this.selectedNodes)}selectMulti(E){let A=this.get(aD(E));if(!A)return;if(this.dispatch(SG(A.id)),this.dispatch($D.add(A.id)),this.dispatch($D.anchor(A.id)),this.dispatch($D.mostRecent(A.id)),this.scrollTo(A),this.focusedNode)uO(this.props.onFocus,this.focusedNode);uO(this.props.onSelect,this.selectedNodes)}selectContiguous(E){if(!E)return;let A=pE(E),{anchor:J,mostRecent:V}=this.state.nodes.selection;if(this.dispatch(SG(A)),this.dispatch($D.remove(this.nodesBetween(J,V))),this.dispatch($D.add(this.nodesBetween(J,aD(A)))),this.dispatch($D.mostRecent(A)),this.scrollTo(A),this.focusedNode)uO(this.props.onFocus,this.focusedNode);uO(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),uO(this.props.onSelect,this.selectedNodes)}selectAll(){var E;if(this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(SG((E=this.lastNode)===null||E===void 0?void 0:E.id)),this.focusedNode)uO(this.props.onFocus,this.focusedNode);uO(this.props.onSelect,this.selectedNodes)}setSelection(E){var A;let J=new Set((A=E.ids)===null||A===void 0?void 0:A.map(pE)),V=aD(E.anchor),X=aD(E.mostRecent);this.dispatch($D.set({ids:J,anchor:V,mostRecent:X})),uO(this.props.onSelect,this.selectedNodes)}get cursorParentId(){let{cursor:E}=this.state.dnd;switch(E.type){case"highlight":return E.id;default:return null}}get cursorOverFolder(){return this.state.dnd.cursor.type==="highlight"}get dragNodes(){return this.state.dnd.dragIds.map((E)=>this.get(E)).filter((E)=>!!E)}get dragNode(){return this.get(this.state.nodes.drag.id)}get dragDestinationParent(){return this.get(this.state.nodes.drag.destinationParentId)}get dragDestinationIndex(){return this.state.nodes.drag.destinationIndex}canDrop(){var E;if(this.isFiltered)return!1;let A=(E=this.get(this.state.dnd.parentId))!==null&&E!==void 0?E:this.root,J=this.dragNodes,V=this.props.disableDrop;for(let X of J){if(!X)return!1;if(!A)return!1;if(X.isInternal&&S5(A,X))return!1}if(typeof V=="function")return!V({parentNode:A,dragNodes:this.dragNodes,index:this.state.dnd.index||0});else if(typeof V=="string")return!A.data[V];else if(typeof V==="boolean")return!V;else return!0}hideCursor(){this.dispatch(qE.cursor({type:"none"}))}showCursor(E){this.dispatch(qE.cursor(E))}open(E){let A=aD(E);if(!A)return;if(this.isOpen(A))return;this.dispatch(mJ.open(A,this.isFiltered)),uO(this.props.onToggle,A)}close(E){let A=aD(E);if(!A)return;if(!this.isOpen(A))return;this.dispatch(mJ.close(A,this.isFiltered)),uO(this.props.onToggle,A)}toggle(E){let A=aD(E);if(!A)return;return this.isOpen(A)?this.close(A):this.open(A)}openParents(E){let A=aD(E);if(!A)return;let J=SV(this.root,A),V=J===null||J===void 0?void 0:J.parent;while(V)this.open(V.id),V=V.parent}openSiblings(E){let A=E.parent;if(!A)this.toggle(E.id);else if(A.children){let J=E.isOpen;for(let V of A.children)if(V.isInternal)J?this.close(V.id):this.open(V.id);this.scrollTo(this.focusedNode)}}openAll(){kJ(this.root,(E)=>{if(E.isInternal)E.open()})}closeAll(){kJ(this.root,(E)=>{if(E.isInternal)E.close()})}scrollTo(E,A="smart"){if(!E)return;let J=pE(E);return this.openParents(J),$5(()=>(J in this.idToIndex)).then(()=>{var V;let X=this.idToIndex[J];if(X===void 0)return;(V=this.list.current)===null||V===void 0||V.scrollToItem(X,A)}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var E;return!!((E=this.props.searchTerm)===null||E===void 0?void 0:E.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(E){if(!E)return!1;return this.state.nodes.selection.ids.has(E)}isOpen(E){var A,J,V;if(!E)return!1;if(E===N1)return!0;let X=(A=this.props.openByDefault)!==null&&A!==void 0?A:!0;if(this.isFiltered)return(J=this.state.nodes.open.filtered[E])!==null&&J!==void 0?J:!0;else return(V=this.state.nodes.open.unfiltered[E])!==null&&V!==void 0?V:X}isEditable(E){let A=this.props.disableEdit||(()=>!1);return!R8(E,A)}isDraggable(E){let A=this.props.disableDrag||(()=>!1);return!R8(E,A)}isDragging(E){let A=aD(E);if(!A)return!1;return this.state.nodes.drag.id===A}isFocused(E){return this.hasFocus&&this.state.nodes.focus.id===E}isMatch(E){return this.matchFn(E)}willReceiveDrop(E){let A=aD(E);if(!A)return!1;let{destinationParentId:J,destinationIndex:V}=this.state.nodes.drag;return A===J&&V===null}onFocus(){let E=this.focusedNode||this.firstNode;if(E)this.dispatch(SG(E.id))}onBlur(){this.dispatch(i4())}onItemsRendered(E){this.visibleStartIndex=E.visibleStartIndex,this.visibleStopIndex=E.visibleStopIndex}get renderContainer(){return this.props.renderContainer||O9}get renderRow(){return this.props.renderRow||m4}get renderNode(){return this.props.children||l4}get renderDragPreview(){return this.props.renderDragPreview||TV}get renderCursor(){return this.props.renderCursor||_4}}var MF=(()=>typeof Symbol==="function"&&Symbol.observable||"@@observable")(),mK=MF,Y7=()=>Math.random().toString(36).substring(7).split("").join("."),SF={INIT:`@@redux/INIT${Y7()}`,REPLACE:`@@redux/REPLACE${Y7()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Y7()}`},zG=SF;function cK(E){if(typeof E!=="object"||E===null)return!1;let A=E;while(Object.getPrototypeOf(A)!==null)A=Object.getPrototypeOf(A);return Object.getPrototypeOf(E)===A||Object.getPrototypeOf(E)===null}function LF(E){if(E===void 0)return"undefined";if(E===null)return"null";let A=typeof E;switch(A){case"boolean":case"string":case"number":case"symbol":case"function":return A}if(Array.isArray(E))return"array";if(wF(E))return"date";if(TF(E))return"error";let J=zF(E);switch(J){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return J}return Object.prototype.toString.call(E).slice(8,-1).toLowerCase().replace(/\s/g,"")}function zF(E){return typeof E.constructor==="function"?E.constructor.name:null}function TF(E){return E instanceof Error||typeof E.message==="string"&&E.constructor&&typeof E.constructor.stackTraceLimit==="number"}function wF(E){if(E instanceof Date)return!0;return typeof E.toDateString==="function"&&typeof E.getDate==="function"&&typeof E.setDate==="function"}function b1(E){let A=typeof E;return A=LF(E),A}function B7(E,A,J){if(typeof E!=="function")throw new Error(`Expected the root reducer to be a function. Instead, received: '${b1(E)}'`);if(typeof A==="function"&&typeof J==="function"||typeof J==="function"&&typeof arguments[3]==="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof A==="function"&&typeof J==="undefined")J=A,A=void 0;if(typeof J!=="undefined"){if(typeof J!=="function")throw new Error(`Expected the enhancer to be a function. Instead, received: '${b1(J)}'`);return J(B7)(E,A)}let V=E,X=A,H=new Map,K=H,M=0,z=!1;function w(){if(K===H)K=new Map,H.forEach((h,b)=>{K.set(b,h)})}function j(){if(z)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return X}function P(h){if(typeof h!=="function")throw new Error(`Expected the listener to be a function. Instead, received: '${b1(h)}'`);if(z)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let b=!0;w();let d=M++;return K.set(d,h),function i(){if(!b)return;if(z)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");b=!1,w(),K.delete(d),H=null}}function m(h){if(!cK(h))throw new Error(`Actions must be plain objects. Instead, the actual type was: '${b1(h)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof h.type==="undefined")throw new Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof h.type!=="string")throw new Error(`Action "type" property must be a string. Instead, the actual type was: '${b1(h.type)}'. Value was: '${h.type}' (stringified)`);if(z)throw new Error("Reducers may not dispatch actions.");try{z=!0,X=V(X,h)}finally{z=!1}return(H=K).forEach((d)=>{d()}),h}function t(h){if(typeof h!=="function")throw new Error(`Expected the nextReducer to be a function. Instead, received: '${b1(h)}`);V=h,m({type:zG.REPLACE})}function Gu(){let h=P;return{subscribe(b){if(typeof b!=="object"||b===null)throw new Error(`Expected the observer to be an object. Instead, received: '${b1(b)}'`);function d(){let Au=b;if(Au.next)Au.next(j())}return d(),{unsubscribe:h(d)}},[mK](){return this}}}return m({type:zG.INIT}),{dispatch:m,subscribe:P,getState:j,replaceReducer:t,[mK]:Gu}}function lK(E){if(typeof console!=="undefined"&&typeof console.error==="function")console.error(E);try{throw new Error(E)}catch(A){}}function RF(E,A,J,V){let X=Object.keys(A),H=J&&J.type===zG.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(X.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!cK(E))return`The ${H} has unexpected type of "${b1(E)}". Expected argument to be an object with the following keys: "${X.join('", "')}"`;let K=Object.keys(E).filter((M)=>!A.hasOwnProperty(M)&&!V[M]);if(K.forEach((M)=>{V[M]=!0}),J&&J.type===zG.REPLACE)return;if(K.length>0)return`Unexpected ${K.length>1?"keys":"key"} "${K.join('", "')}" found in ${H}. Expected to find one of the known reducer keys instead: "${X.join('", "')}". Unexpected keys will be ignored.`}function $F(E){Object.keys(E).forEach((A)=>{let J=E[A];if(typeof J(void 0,{type:zG.INIT})==="undefined")throw new Error(`The slice reducer for key "${A}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof J(void 0,{type:zG.PROBE_UNKNOWN_ACTION()})==="undefined")throw new Error(`The slice reducer for key "${A}" returned undefined when probed with a random type. Don't try to handle '${zG.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function U7(E){let A=Object.keys(E),J={};for(let K=0;K<A.length;K++){let M=A[K];if(typeof E[M]==="undefined")lK(`No reducer provided for key "${M}"`);if(typeof E[M]==="function")J[M]=E[M]}let V=Object.keys(J),X;X={};let H;try{$F(J)}catch(K){H=K}return function K(M={},z){if(H)throw H;{let P=RF(M,J,z,X);if(P)lK(P)}let w=!1,j={};for(let P=0;P<V.length;P++){let m=V[P],t=J[m],Gu=M[m],f=t(Gu,z);if(typeof f==="undefined"){let h=z&&z.type;throw new Error(`When called with an action of type ${h?`"${String(h)}"`:"(unknown type)"}, the slice reducer for key "${m}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}j[m]=f,w=w||f!==Gu}return w=w||V.length!==Object.keys(M).length,w?j:M}}function iK(E=KE().nodes.drag,A){switch(A.type){case"DND_DRAG_START":return Object.assign(Object.assign({},E),{id:A.id,selectedIds:A.dragIds});case"DND_DRAG_END":return Object.assign(Object.assign({},E),{id:null,destinationParentId:null,destinationIndex:null,selectedIds:[]});case"DND_HOVERING":if(A.parentId!==E.destinationParentId||A.index!=E.destinationIndex)return Object.assign(Object.assign({},E),{destinationParentId:A.parentId,destinationIndex:A.index});else return E;default:return E}}var nK=U7({nodes:U7({focus:n4,edit:c4,open:p4,selection:s4,drag:iK}),dnd:r4});var IF=KE();function pK({treeProps:E,imperativeHandle:A,children:J}){let V=XD.useRef(null),X=XD.useRef(null),H=XD.useRef(B7(nK,KE(E))),K=dK.useSyncExternalStore(H.current.subscribe,H.current.getState,()=>IF),M=XD.useMemo(()=>{return new x8(H.current,E,V,X)},[]),z=XD.useRef(0);return XD.useMemo(()=>{z.current+=1,M.update(E)},[...Object.values(E),K.nodes.open]),XD.useImperativeHandle(A,()=>M),XD.useEffect(()=>{if(M.props.selection)M.select(M.props.selection,{focus:!1});else M.deselectAll()},[M.props.selection]),XD.useEffect(()=>{if(!M.props.searchTerm)H.current.dispatch(mJ.clear(!0))},[M.props.searchTerm]),h8.jsx(U5.Provider,{value:M,children:h8.jsx(W5.Provider,{value:z.current,children:h8.jsx(v5.Provider,{value:K.nodes,children:h8.jsx(H5.Provider,{value:K.dnd,children:h8.jsx(HW,Object.assign({backend:fK,options:{rootElement:M.props.dndRootElement||void 0}},E.dndManager&&{manager:E.dndManager},{children:J}))})})})})}function sK(){let E=W0(),[,A]=pV(()=>({accept:"NODE",canDrop:(J,V)=>{if(!V.isOver({shallow:!0}))return!1;return E.canDrop()},hover:(J,V)=>{if(!V.isOver({shallow:!0}))return;let X=V.getClientOffset();if(!E.listEl.current||!X)return;let{cursor:H,drop:K}=u9({element:E.listEl.current,offset:X,indent:E.indent,node:null,prevNode:E.visibleNodes[E.visibleNodes.length-1],nextNode:null});if(K)E.dispatch(qE.hovering(K.parentId,K.index));if(V.canDrop()){if(H)E.showCursor(H)}else E.hideCursor()}}),[E]);A(E.listEl)}function rK(E){return sK(),E.children}var eJ=Xu(CO(),1);function aK(){let A=W0().props.renderContainer||O9;return eJ.jsx(eJ.Fragment,{children:eJ.jsx(A,{})})}var tK=Xu(CO(),1);function oK(){let E=W0(),{offset:A,mouse:J,item:V,isDragging:X}=UK((K)=>{return{offset:K.getSourceClientOffset(),mouse:K.getClientOffset(),item:K.getItem(),isDragging:K.isDragging()}}),H=E.props.renderDragPreview||TV;return tK.jsx(H,{offset:A,mouse:J,id:(V===null||V===void 0?void 0:V.id)||null,dragIds:(V===null||V===void 0?void 0:V.dragIds)||[],isDragging:X})}var D9=Xu(yu(),1);class v7{constructor(E){this.root=jF(E)}get data(){var E,A;return(A=(E=this.root.children)===null||E===void 0?void 0:E.map((J)=>J.data))!==null&&A!==void 0?A:[]}create(E){let A=E.parentId?this.find(E.parentId):this.root;if(!A)return null;A.addChild(E.data,E.index)}move(E){let A=this.find(E.id),J=E.parentId?this.find(E.parentId):this.root;if(!A||!J)return;J.addChild(A.data,E.index),A.drop()}update(E){let A=this.find(E.id);if(A)A.update(E.changes)}drop(E){let A=this.find(E.id);if(A)A.drop()}find(E,A=this.root){if(!A)return null;if(A.id===E)return A;if(A.children){for(let J of A.children){let V=this.find(E,J);if(V)return V}return null}return null}}function jF(E){let A=new W7({id:"ROOT"},null);return A.children=E.map((J)=>H7(J,A)),A}function H7(E,A){let J=new W7(E,A);if(E.children)J.children=E.children.map((V)=>H7(V,J));return J}class W7{constructor(E,A){this.data=E,this.parent=A,this.id=E.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(E,A){var J,V;let X=H7(E,this);this.children=(J=this.children)!==null&&J!==void 0?J:[],this.children.splice(A,0,X),this.data.children=(V=this.data.children)!==null&&V!==void 0?V:[],this.data.children.splice(A,0,E)}removeChild(E){var A,J;(A=this.children)===null||A===void 0||A.splice(E,1),(J=this.data.children)===null||J===void 0||J.splice(E,1)}update(E){if(this.hasParent()){let A=this.childIndex;this.parent.addChild(Object.assign(Object.assign({},this.data),E),A),this.drop()}}drop(){if(this.hasParent())this.parent.removeChild(this.childIndex)}}var FF=0;function eK(E){let[A,J]=D9.useState(E),V=D9.useMemo(()=>new v7(A),[A]);return[A,{onMove:(w)=>{for(let j of w.dragIds)V.move({id:j,parentId:w.parentId,index:w.index});J(V.data)},onRename:({name:w,id:j})=>{V.update({id:j,changes:{name:w}}),J(V.data)},onCreate:({parentId:w,index:j,type:P})=>{let m={id:`simple-tree-id-${FF++}`,name:""};if(P==="internal")m.children=[];return V.create({parentId:w,index:j,data:m}),J(V.data),m},onDelete:(w)=>{w.ids.forEach((j)=>V.drop({id:j})),J(V.data)}}]}function uq(E){if(E.initialData&&E.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(E.initialData&&(E.onCreate||E.onDelete||E.onMove||E.onRename))throw new Error(`React Arborist Tree => You passed the initialData prop along with a data handler.
Use the data prop if you want to provide your own handlers.`);if(E.initialData){let[A,J]=eK(E.initialData);return Object.assign(Object.assign(Object.assign({},E),J),{data:A})}else return E}function NF(E,A){let J=uq(E);return k8.jsxs(pK,{treeProps:J,imperativeHandle:A,children:[k8.jsx(rK,{children:k8.jsx(aK,{})}),k8.jsx(oK,{})]})}var E9=Oq.forwardRef(NF);var uZ=Xu(yu(),1);var Dq={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var gF=(E)=>E.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),dO=(E,A)=>{let J=uZ.forwardRef(({color:V="currentColor",size:X=24,strokeWidth:H=2,absoluteStrokeWidth:K,className:M="",children:z,...w},j)=>uZ.createElement("svg",{ref:j,...Dq,width:X,height:X,stroke:V,strokeWidth:K?Number(H)*24/Number(X):H,className:["lucide",`lucide-${gF(E)}`,M].join(" "),...w},[...A.map(([P,m])=>uZ.createElement(P,m)),...Array.isArray(z)?z:[z]]));return J.displayName=`${E}`,J};var _8=dO("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var y8=dO("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var G0=dO("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]);var m8=dO("File",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}]]);var l8=dO("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);var c8=dO("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);var i8=dO("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);window.React=i0.default;window.ReactDOM={createRoot:K7.createRoot};window.ReactArborist={Tree:E9};window.LucideReact={ChevronRight:y8,Folder:c8,FileText:G0,File:m8,FolderOpen:l8,Check:_8,Minus:i8};class q7{constructor(){this.checkboxStates=new Map,this.selectedFiles=new Set,this.initializeTreeComponent()}buildTreeData(E){if(!E||E.length===0)return console.warn("No files provided to buildTreeData"),[];let A=new Map,J=[];return E.forEach((V,X)=>{if(!V||!V.path||typeof V.path!=="string"){console.warn("Skipping malformed file data:",V);return}let H=V.path.split("/"),K="";for(let M=0;M<H.length;M++){let z=H[M],w=K;K=K?`${K}/${z}`:z;let j=M===H.length-1;if(!A.has(K)){let P={id:K,name:z,isFolder:!j,path:K,fileIndex:j?X:void 0,fileData:j?V:void 0};if(!this.checkboxStates.has(K))this.checkboxStates.set(K,{checked:!1,indeterminate:!1});if(!j)P.children=[];if(A.set(K,P),w){let m=A.get(w);if(m&&m.children)m.children.push(P)}else J.push(P)}}}),J}updateFolderCheckboxState(E,A){let J=E.get(A);if(!J||!J.children)return;let V=0,X=0,H=!1;for(let M of J.children){X++;let z=this.checkboxStates.get(M.path);if(z.checked)V++;else if(z.indeterminate)H=!0}let K=this.checkboxStates.get(A);if(V===X&&X>0)K.checked=!0,K.indeterminate=!1;else if(V>0||H)K.checked=!1,K.indeterminate=!0;else K.checked=!1,K.indeterminate=!1}updateAllParentStates(E,A){let J=A.split("/");for(let V=J.length-2;V>=0;V--){let X=J.slice(0,V+1).join("/");this.updateFolderCheckboxState(E,X)}}toggleFileCheckbox(E,A,J){if(!A||typeof A!=="string"){console.warn("Invalid path provided to toggleFileCheckbox:",A);return}let V=this.checkboxStates.get(A);if(!V){console.warn("No checkbox state found for path:",A);return}let X=!V.checked;if(J){if(V.checked=X,V.indeterminate=!1,X)this.selectedFiles.add(A);else this.selectedFiles.delete(A);this.updateAllParentStates(E,A)}else V.checked=X,V.indeterminate=!1,this.setChildrenCheckboxState(E,A,X),this.updateAllParentStates(E,A)}setChildrenCheckboxState(E,A,J){let V=E.get(A);if(!V||!V.children)return;for(let X of V.children){let H=this.checkboxStates.get(X.path);if(H.checked=J,H.indeterminate=!1,X.isFolder)this.setChildrenCheckboxState(E,X.path,J);else if(J)this.selectedFiles.add(X.path);else this.selectedFiles.delete(X.path)}}getFileIcon(E){let A=E.split(".").pop().toLowerCase();return{js:G0,jsx:G0,ts:G0,tsx:G0,py:G0,rs:G0,go:G0,java:G0,cpp:G0,c:G0,h:G0,css:G0,html:G0,json:G0,md:G0,yml:G0,yaml:G0,xml:G0,sql:G0,sh:G0,bash:G0,dockerfile:G0,gitignore:G0,toml:G0,lock:G0}[A]||m8}createNodeComponent(){let{useState:E,useCallback:A}=i0.default,J=this.getFileIcon,V=this.checkboxStates,X=this.toggleFileCheckbox.bind(this);return function H({node:K,style:M,dragHandle:z,tree:w}){let j=K.isFolder,P=w.isOpen(K.id),[m,t]=E(0),Gu=V.get(K.path)||{checked:!1,indeterminate:!1},f=A((i)=>{if(i.stopPropagation(),j)w.toggle(K.id);else{let Au=K.fileIndex;if(Au!==void 0){let p=document.getElementById(`file-${Au+1}`);if(p)p.scrollIntoView({behavior:"smooth",block:"start"})}}},[K.id,j,w,K.fileIndex]),h=A((i)=>{i.stopPropagation();let Au=w.data,p=new Map,Ku=(wu)=>{wu.forEach((pu)=>{if(p.set(pu.path,pu),pu.children)Ku(pu.children)})};Ku(Au),X(p,K.path,!j),t((wu)=>wu+1)},[K.path,j,w,X]),b=j?P?l8:c8:J(K.name),d=Gu.indeterminate?i8:Gu.checked?_8:"div";return i0.default.createElement("div",{ref:z,style:M,className:"tree-node"},i0.default.createElement("div",{className:"tree-node-content"},[i0.default.createElement("div",{key:"checkbox",className:`tree-checkbox ${Gu.checked?"checked":""} ${Gu.indeterminate?"indeterminate":""}`,onClick:h},d!=="div"?i0.default.createElement(d,{className:"checkbox-icon",size:14}):null),j&&i0.default.createElement("div",{key:"arrow",className:`tree-arrow ${P?"expanded":""}`,onClick:f},i0.default.createElement(y8,{className:"tree-icon",size:16})),!j&&i0.default.createElement("div",{key:"spacer",className:"tree-arrow"}),i0.default.createElement(b,{key:"icon",className:`tree-icon ${j?"folder-icon":"file-icon"}`,size:16,onClick:f}),i0.default.createElement("span",{key:"label",className:"tree-label",title:K.path,onClick:f},K.name)]))}}createTreeComponent(){let E=this.buildTreeData.bind(this),A=this.createNodeComponent.bind(this),{useState:J}=i0.default;return function V({fileData:X}){let[H]=J(()=>{console.log("Building tree data from:",X);let M=E(X);return console.log("Built tree data:",M),M}),K=A();if(!H||H.length===0)return i0.default.createElement("div",{style:{padding:"20px",textAlign:"center",color:"var(--text-muted)"}},"No files to display");return i0.default.createElement(E9,{data:H,openByDefault:!1,width:"100%",height:400,padding:25,rowHeight:28,indent:16,overscanCount:8,children:K})}}getSelectedFiles(){return Array.from(this.selectedFiles)}setSelectedFiles(E){this.selectedFiles.clear(),this.checkboxStates.forEach((J)=>{J.checked=!1,J.indeterminate=!1}),E.forEach((J)=>{this.selectedFiles.add(J);let V=this.checkboxStates.get(J);if(V)V.checked=!0,V.indeterminate=!1});let A=new Map}clearSelection(){this.selectedFiles.clear(),this.checkboxStates.forEach((E)=>{E.checked=!1,E.indeterminate=!1})}initializeTreeComponent(){this.FileTreeComponent=this.createTreeComponent()}renderTree(E,A){try{let J=document.getElementById(E);if(J)return K7.createRoot(J).render(i0.default.createElement(this.FileTreeComponent,{fileData:A})),console.log("React tree component rendered successfully"),!0;else return console.error(`Could not find container element: ${E}`),!1}catch(J){return console.error("Error rendering React tree:",J),!1}}}window.ScribeFileTree=q7;var jk=q7;export{jk as default};