codereviewr 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -0
- package/dist/cli.mjs +457 -0
- package/dist/public/app.js +166 -0
- package/dist/public/index.html +13 -0
- package/dist/public/styles.css +1154 -0
- package/package.json +27 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
var M_=Object.create;var{getPrototypeOf:A_,defineProperty:jK,getOwnPropertyNames:P_}=Object;var F_=Object.prototype.hasOwnProperty;function R_(I){return this[I]}var __,L_,M8=(I,j,q1)=>{var O1=I!=null&&typeof I==="object";if(O1){var W=j?__??=new WeakMap:L_??=new WeakMap,S1=W.get(I);if(S1)return S1}q1=I!=null?M_(A_(I)):{};let k=j||!I||!I.__esModule?jK(q1,"default",{value:I,enumerable:!0}):q1;for(let a of P_(I))if(!F_.call(k,a))jK(k,a,{get:R_.bind(I,a),enumerable:!0});if(O1)W.set(I,k);return k};var p9=(I,j)=>()=>(j||I((j={exports:{}}).exports,j),j.exports);var c7=p9((I_,$X)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var I="18.3.1",j=Symbol.for("react.element"),q1=Symbol.for("react.portal"),O1=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),S1=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),a=Symbol.for("react.context"),u1=Symbol.for("react.forward_ref"),i=Symbol.for("react.suspense"),z1=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),K1=Symbol.for("react.lazy"),q4=Symbol.for("react.offscreen"),i1=Symbol.iterator,N4="@@iterator";function g1(q){if(q===null||typeof q!=="object")return null;var O=i1&&q[i1]||q[N4];if(typeof O==="function")return O;return null}var o={current:null},g={transition:null},f={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},_1={current:null},s={},Z1=null;function v1(q){Z1=q}s.setExtraStackFrame=function(q){Z1=q},s.getCurrentStack=null,s.getStackAddendum=function(){var q="";if(Z1)q+=Z1;var O=s.getCurrentStack;if(O)q+=O()||"";return q};var y1=!1,T1=!1,d1=!1,M4=!1,N1=!1,D1={ReactCurrentDispatcher:o,ReactCurrentBatchConfig:g,ReactCurrentOwner:_1};D1.ReactDebugCurrentFrame=s,D1.ReactCurrentActQueue=f;function A4(q){{for(var O=arguments.length,R=Array(O>1?O-1:0),S=1;S<O;S++)R[S-1]=arguments[S];B4("warn",q,R)}}function H1(q){{for(var O=arguments.length,R=Array(O>1?O-1:0),S=1;S<O;S++)R[S-1]=arguments[S];B4("error",q,R)}}function B4(q,O,R){{var S=D1.ReactDebugCurrentFrame,b=S.getStackAddendum();if(b!=="")O+="%s",R=R.concat([b]);var $1=R.map(function(n){return String(n)});$1.unshift("Warning: "+O),Function.prototype.apply.call(console[q],console,$1)}}var w6={};function t4(q,O){{var R=q.constructor,S=R&&(R.displayName||R.name)||"ReactClass",b=S+"."+O;if(w6[b])return;H1("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.",O,S),w6[b]=!0}}var Q4={isMounted:function(q){return!1},enqueueForceUpdate:function(q,O,R){t4(q,"forceUpdate")},enqueueReplaceState:function(q,O,R,S){t4(q,"replaceState")},enqueueSetState:function(q,O,R,S){t4(q,"setState")}},y4=Object.assign,f4={};Object.freeze(f4);function x4(q,O,R){this.props=q,this.context=O,this.refs=f4,this.updater=R||Q4}x4.prototype.isReactComponent={},x4.prototype.setState=function(q,O){if(typeof q!=="object"&&typeof q!=="function"&&q!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,q,O,"setState")},x4.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};{var m4={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)."]},s6=function(q,O){Object.defineProperty(x4.prototype,q,{get:function(){A4("%s(...) is deprecated in plain JavaScript React classes. %s",O[0],O[1]);return}})};for(var a6 in m4)if(m4.hasOwnProperty(a6))s6(a6,m4[a6])}function i6(){}i6.prototype=x4.prototype;function b4(q,O,R){this.props=q,this.context=O,this.refs=f4,this.updater=R||Q4}var P6=b4.prototype=new i6;P6.constructor=b4,y4(P6,x4.prototype),P6.isPureReactComponent=!0;function n4(){var q={current:null};return Object.seal(q),q}var j6=Array.isArray;function S4(q){return j6(q)}function F6(q){{var O=typeof Symbol==="function"&&Symbol.toStringTag,R=O&&q[Symbol.toStringTag]||q.constructor.name||"Object";return R}}function h6(q){try{return k4(q),!1}catch(O){return!0}}function k4(q){return""+q}function K4(q){if(h6(q))return H1("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",F6(q)),k4(q)}function C(q,O,R){var S=q.displayName;if(S)return S;var b=O.displayName||O.name||"";return b!==""?R+"("+b+")":R}function F1(q){return q.displayName||"Context"}function t(q){if(q==null)return null;if(typeof q.tag==="number")H1("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof q==="function")return q.displayName||q.name||null;if(typeof q==="string")return q;switch(q){case O1:return"Fragment";case q1:return"Portal";case S1:return"Profiler";case W:return"StrictMode";case i:return"Suspense";case z1:return"SuspenseList"}if(typeof q==="object")switch(q.$$typeof){case a:var O=q;return F1(O)+".Consumer";case k:var R=q;return F1(R._context)+".Provider";case u1:return C(q,q.render,"ForwardRef");case h:var S=q.displayName||null;if(S!==null)return S;return t(q.type)||"Memo";case K1:{var b=q,$1=b._payload,n=b._init;try{return t(n($1))}catch(M1){return null}}}return null}var l1=Object.prototype.hasOwnProperty,P4={key:!0,ref:!0,__self:!0,__source:!0},U4,N6,v4;v4={};function G8(q){if(l1.call(q,"ref")){var O=Object.getOwnPropertyDescriptor(q,"ref").get;if(O&&O.isReactWarning)return!1}return q.ref!==void 0}function R6(q){if(l1.call(q,"key")){var O=Object.getOwnPropertyDescriptor(q,"key").get;if(O&&O.isReactWarning)return!1}return q.key!==void 0}function G6(q,O){var R=function(){if(!U4)U4=!0,H1("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O)};R.isReactWarning=!0,Object.defineProperty(q,"key",{get:R,configurable:!0})}function x8(q,O){var R=function(){if(!N6)N6=!0,H1("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",O)};R.isReactWarning=!0,Object.defineProperty(q,"ref",{get:R,configurable:!0})}function j8(q){if(typeof q.ref==="string"&&_1.current&&q.__self&&_1.current.stateNode!==q.__self){var O=t(_1.current.type);if(!v4[O])H1('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',O,q.ref),v4[O]=!0}}var A8=function(q,O,R,S,b,$1,n){var M1={$$typeof:j,type:q,key:O,ref:R,props:n,_owner:$1};if(M1._store={},Object.defineProperty(M1._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(M1,"_self",{configurable:!1,enumerable:!1,writable:!1,value:S}),Object.defineProperty(M1,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze)Object.freeze(M1.props),Object.freeze(M1);return M1};function r6(q,O,R){var S,b={},$1=null,n=null,M1=null,x1=null;if(O!=null){if(G8(O))n=O.ref,j8(O);if(R6(O))K4(O.key),$1=""+O.key;M1=O.__self===void 0?null:O.__self,x1=O.__source===void 0?null:O.__source;for(S in O)if(l1.call(O,S)&&!P4.hasOwnProperty(S))b[S]=O[S]}var Z4=arguments.length-2;if(Z4===1)b.children=R;else if(Z4>1){var W4=Array(Z4);for(var O4=0;O4<Z4;O4++)W4[O4]=arguments[O4+2];if(Object.freeze)Object.freeze(W4);b.children=W4}if(q&&q.defaultProps){var L4=q.defaultProps;for(S in L4)if(b[S]===void 0)b[S]=L4[S]}if($1||n){var E4=typeof q==="function"?q.displayName||q.name||"Unknown":q;if($1)G6(b,E4);if(n)x8(b,E4)}return A8(q,$1,n,M1,x1,_1.current,b)}function d(q,O){var R=A8(q.type,O,q.ref,q._self,q._source,q._owner,q.props);return R}function X1(q,O,R){if(q===null||q===void 0)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+q+".");var S,b=y4({},q.props),$1=q.key,n=q.ref,M1=q._self,x1=q._source,Z4=q._owner;if(O!=null){if(G8(O))n=O.ref,Z4=_1.current;if(R6(O))K4(O.key),$1=""+O.key;var W4;if(q.type&&q.type.defaultProps)W4=q.type.defaultProps;for(S in O)if(l1.call(O,S)&&!P4.hasOwnProperty(S))if(O[S]===void 0&&W4!==void 0)b[S]=W4[S];else b[S]=O[S]}var O4=arguments.length-2;if(O4===1)b.children=R;else if(O4>1){var L4=Array(O4);for(var E4=0;E4<O4;E4++)L4[E4]=arguments[E4+2];b.children=L4}return A8(q.type,$1,n,M1,x1,Z4,b)}function L1(q){return typeof q==="object"&&q!==null&&q.$$typeof===j}var e1=".",$4=":";function d4(q){var O=/[=:]/g,R={"=":"=0",":":"=2"},S=q.replace(O,function(b){return R[b]});return"$"+S}var R4=!1,_6=/\/+/g;function f1(q){return q.replace(_6,"$&/")}function r1(q,O){if(typeof q==="object"&&q!==null&&q.key!=null)return K4(q.key),d4(""+q.key);return O.toString(36)}function J0(q,O,R,S,b){var $1=typeof q;if($1==="undefined"||$1==="boolean")q=null;var n=!1;if(q===null)n=!0;else switch($1){case"string":case"number":n=!0;break;case"object":switch(q.$$typeof){case j:case q1:n=!0}}if(n){var M1=q,x1=b(M1),Z4=S===""?e1+r1(M1,0):S;if(S4(x1)){var W4="";if(Z4!=null)W4=f1(Z4)+"/";J0(x1,O,W4,"",function(RX){return RX})}else if(x1!=null){if(L1(x1)){if(x1.key&&(!M1||M1.key!==x1.key))K4(x1.key);x1=d(x1,R+(x1.key&&(!M1||M1.key!==x1.key)?f1(""+x1.key)+"/":"")+Z4)}O.push(x1)}return 1}var O4,L4,E4=0,t1=S===""?e1:S+$4;if(S4(q))for(var W7=0;W7<q.length;W7++)O4=q[W7],L4=t1+r1(O4,W7),E4+=J0(O4,O,R,L4,b);else{var n7=g1(q);if(typeof n7==="function"){var q5=q;if(n7===q5.entries){if(!R4)A4("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");R4=!0}var FX=n7.call(q5),Z0,K5=0;while(!(Z0=FX.next()).done)O4=Z0.value,L4=t1+r1(O4,K5++),E4+=J0(O4,O,R,L4,b)}else if($1==="object"){var $5=String(q);throw Error("Objects are not valid as a React child (found: "+($5==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":$5)+"). If you meant to render a collection of children, use an array instead.")}}return E4}function H8(q,O,R){if(q==null)return q;var S=[],b=0;return J0(q,S,"","",function($1){return O.call(R,$1,b++)}),S}function v0(q){var O=0;return H8(q,function(){O++}),O}function r9(q,O,R){H8(q,function(){O.apply(this,arguments)},R)}function p7(q){return H8(q,function(O){return O})||[]}function s7(q){if(!L1(q))throw Error("React.Children.only expected to receive a single React element child.");return q}function B7(q){var O={$$typeof:a,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};O.Provider={$$typeof:k,_context:O};var R=!1,S=!1,b=!1;{var $1={$$typeof:a,_context:O};Object.defineProperties($1,{Provider:{get:function(){if(!S)S=!0,H1("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 O.Provider},set:function(n){O.Provider=n}},_currentValue:{get:function(){return O._currentValue},set:function(n){O._currentValue=n}},_currentValue2:{get:function(){return O._currentValue2},set:function(n){O._currentValue2=n}},_threadCount:{get:function(){return O._threadCount},set:function(n){O._threadCount=n}},Consumer:{get:function(){if(!R)R=!0,H1("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 O.Consumer}},displayName:{get:function(){return O.displayName},set:function(n){if(!b)A4("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",n),b=!0}}}),O.Consumer=$1}return O._currentRenderer=null,O._currentRenderer2=null,O}var h8=-1,D0=0,w0=1,P8=2;function F8(q){if(q._status===h8){var O=q._result,R=O();if(R.then(function($1){if(q._status===D0||q._status===h8){var n=q;n._status=w0,n._result=$1}},function($1){if(q._status===D0||q._status===h8){var n=q;n._status=P8,n._result=$1}}),q._status===h8){var S=q;S._status=D0,S._result=R}}if(q._status===w0){var b=q._result;if(b===void 0)H1(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,b);if(!("default"in b))H1(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,b);return b.default}else throw q._result}function u8(q){var O={_status:h8,_result:q},R={$$typeof:K1,_payload:O,_init:F8};{var S,b;Object.defineProperties(R,{defaultProps:{configurable:!0,get:function(){return S},set:function($1){H1("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),S=$1,Object.defineProperty(R,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return b},set:function($1){H1("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."),b=$1,Object.defineProperty(R,"propTypes",{enumerable:!0})}}})}return R}function z(q){{if(q!=null&&q.$$typeof===h)H1("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");else if(typeof q!=="function")H1("forwardRef requires a render function but was given %s.",q===null?"null":typeof q);else if(q.length!==0&&q.length!==2)H1("forwardRef render functions accept exactly two parameters: props and ref. %s",q.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined.");if(q!=null){if(q.defaultProps!=null||q.propTypes!=null)H1("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")}}var O={$$typeof:u1,render:q};{var R;Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(S){if(R=S,!q.name&&!q.displayName)q.displayName=S}})}return O}var E=Symbol.for("react.module.reference");function y(q){if(typeof q==="string"||typeof q==="function")return!0;if(q===O1||q===S1||N1||q===W||q===i||q===z1||M4||q===q4||y1||T1||d1)return!0;if(typeof q==="object"&&q!==null){if(q.$$typeof===K1||q.$$typeof===h||q.$$typeof===k||q.$$typeof===a||q.$$typeof===u1||q.$$typeof===E||q.getModuleId!==void 0)return!0}return!1}function B1(q,O){if(!y(q))H1("memo: The first argument must be a component. Instead received: %s",q===null?"null":typeof q);var R={$$typeof:h,type:q,compare:O===void 0?null:O};{var S;Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return S},set:function(b){if(S=b,!q.name&&!q.displayName)q.displayName=b}})}return R}function Y1(){var q=o.current;if(q===null)H1(`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:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return q}function p1(q){var O=Y1();if(q._context!==void 0){var R=q._context;if(R.Consumer===q)H1("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(R.Provider===q)H1("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return O.useContext(q)}function E1(q){var O=Y1();return O.useState(q)}function I1(q,O,R){var S=Y1();return S.useReducer(q,O,R)}function o1(q){var O=Y1();return O.useRef(q)}function _4(q,O){var R=Y1();return R.useEffect(q,O)}function V4(q,O){var R=Y1();return R.useInsertionEffect(q,O)}function H6(q,O){var R=Y1();return R.useLayoutEffect(q,O)}function y8(q,O){var R=Y1();return R.useCallback(q,O)}function R8(q,O){var R=Y1();return R.useMemo(q,O)}function e4(q,O,R){var S=Y1();return S.useImperativeHandle(q,O,R)}function N0(q,O){{var R=Y1();return R.useDebugValue(q,O)}}function o9(){var q=Y1();return q.useTransition()}function _8(q){var O=Y1();return O.useDeferredValue(q)}function k1(){var q=Y1();return q.useId()}function U7(q,O,R){var S=Y1();return S.useSyncExternalStore(q,O,R)}var E0=0,t9,n9,e9,J5,Q5,Z5,X5;function iJ(){}iJ.__reactDisabledLog=!0;function MX(){{if(E0===0){t9=console.log,n9=console.info,e9=console.warn,J5=console.error,Q5=console.group,Z5=console.groupCollapsed,X5=console.groupEnd;var q={configurable:!0,enumerable:!0,value:iJ,writable:!0};Object.defineProperties(console,{info:q,log:q,warn:q,error:q,group:q,groupCollapsed:q,groupEnd:q})}E0++}}function Y5(){{if(E0--,E0===0){var q={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y4({},q,{value:t9}),info:y4({},q,{value:n9}),warn:y4({},q,{value:e9}),error:y4({},q,{value:J5}),group:y4({},q,{value:Q5}),groupCollapsed:y4({},q,{value:Z5}),groupEnd:y4({},q,{value:X5})})}if(E0<0)H1("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q7=D1.ReactCurrentDispatcher,B8;function T0(q,O,R){{if(B8===void 0)try{throw Error()}catch(b){var S=b.stack.trim().match(/\n( *(at )?)/);B8=S&&S[1]||""}return`
|
|
14
|
+
`+B8+q}}var C0=!1,a7;{var G5=typeof WeakMap==="function"?WeakMap:Map;a7=new G5}function rJ(q,O){if(!q||C0)return"";{var R=a7.get(q);if(R!==void 0)return R}var S;C0=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $1;$1=q7.current,q7.current=null,MX();try{if(O){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(t1){S=t1}Reflect.construct(q,[],n)}else{try{n.call()}catch(t1){S=t1}q.call(n.prototype)}}else{try{throw Error()}catch(t1){S=t1}q()}}catch(t1){if(t1&&S&&typeof t1.stack==="string"){var M1=t1.stack.split(`
|
|
15
|
+
`),x1=S.stack.split(`
|
|
16
|
+
`),Z4=M1.length-1,W4=x1.length-1;while(Z4>=1&&W4>=0&&M1[Z4]!==x1[W4])W4--;for(;Z4>=1&&W4>=0;Z4--,W4--)if(M1[Z4]!==x1[W4]){if(Z4!==1||W4!==1)do if(Z4--,W4--,W4<0||M1[Z4]!==x1[W4]){var O4=`
|
|
17
|
+
`+M1[Z4].replace(" at new "," at ");if(q.displayName&&O4.includes("<anonymous>"))O4=O4.replace("<anonymous>",q.displayName);if(typeof q==="function")a7.set(q,O4);return O4}while(Z4>=1&&W4>=0);break}}}finally{C0=!1,q7.current=$1,Y5(),Error.prepareStackTrace=b}var L4=q?q.displayName||q.name:"",E4=L4?T0(L4):"";if(typeof q==="function")a7.set(q,E4);return E4}function H5(q,O,R){return rJ(q,!1)}function AX(q){var O=q.prototype;return!!(O&&O.isReactComponent)}function b0(q,O,R){if(q==null)return"";if(typeof q==="function")return rJ(q,AX(q));if(typeof q==="string")return T0(q);switch(q){case i:return T0("Suspense");case z1:return T0("SuspenseList")}if(typeof q==="object")switch(q.$$typeof){case u1:return H5(q.render);case h:return b0(q.type,O,R);case K1:{var S=q,b=S._payload,$1=S._init;try{return b0($1(b),O,R)}catch(n){}}}return""}var oJ={},B5=D1.ReactDebugCurrentFrame;function i7(q){if(q){var O=q._owner,R=b0(q.type,q._source,O?O.type:null);B5.setExtraStackFrame(R)}else B5.setExtraStackFrame(null)}function tJ(q,O,R,S,b){{var $1=Function.call.bind(l1);for(var n in q)if($1(q,n)){var M1=void 0;try{if(typeof q[n]!=="function"){var x1=Error((S||"React class")+": "+R+" type `"+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof q[n]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x1.name="Invariant Violation",x1}M1=q[n](O,n,S,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Z4){M1=Z4}if(M1&&!(M1 instanceof Error))i7(b),H1("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",S||"React class",R,n,typeof M1),i7(null);if(M1 instanceof Error&&!(M1.message in oJ))oJ[M1.message]=!0,i7(b),H1("Failed %s type: %s",R,M1.message),i7(null)}}}function c1(q){if(q){var O=q._owner,R=b0(q.type,q._source,O?O.type:null);v1(R)}else v1(null)}var nJ=!1;function U5(){if(_1.current){var q=t(_1.current.type);if(q)return`
|
|
18
|
+
|
|
19
|
+
Check the render method of \``+q+"`."}return""}function V1(q){if(q!==void 0){var O=q.fileName.replace(/^.*[\\\/]/,""),R=q.lineNumber;return`
|
|
20
|
+
|
|
21
|
+
Check your code at `+O+":"+R+"."}return""}function eJ(q){if(q!==null&&q!==void 0)return V1(q.__source);return""}var L6={};function K7(q){var O=U5();if(!O){var R=typeof q==="string"?q:q.displayName||q.name;if(R)O=`
|
|
22
|
+
|
|
23
|
+
Check the top-level render call using <`+R+">."}return O}function k0(q,O){if(!q._store||q._store.validated||q.key!=null)return;q._store.validated=!0;var R=K7(O);if(L6[R])return;L6[R]=!0;var S="";if(q&&q._owner&&q._owner!==_1.current)S=" It was passed a child from "+t(q._owner.type)+".";c1(q),H1('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,S),c1(null)}function JQ(q,O){if(typeof q!=="object")return;if(S4(q))for(var R=0;R<q.length;R++){var S=q[R];if(L1(S))k0(S,O)}else if(L1(q)){if(q._store)q._store.validated=!0}else if(q){var b=g1(q);if(typeof b==="function"){if(b!==q.entries){var $1=b.call(q),n;while(!(n=$1.next()).done)if(L1(n.value))k0(n.value,O)}}}}function J6(q){{var O=q.type;if(O===null||O===void 0||typeof O==="string")return;var R;if(typeof O==="function")R=O.propTypes;else if(typeof O==="object"&&(O.$$typeof===u1||O.$$typeof===h))R=O.propTypes;else return;if(R){var S=t(O);tJ(R,q.props,"prop",S,q)}else if(O.PropTypes!==void 0&&!nJ){nJ=!0;var b=t(O);H1("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}if(typeof O.getDefaultProps==="function"&&!O.getDefaultProps.isReactClassApproved)H1("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function D4(q){{var O=Object.keys(q.props);for(var R=0;R<O.length;R++){var S=O[R];if(S!=="children"&&S!=="key"){c1(q),H1("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S),c1(null);break}}if(q.ref!==null)c1(q),H1("Invalid attribute `ref` supplied to `React.Fragment`."),c1(null)}}function QQ(q,O,R){var S=y(q);if(!S){var b="";if(q===void 0||typeof q==="object"&&q!==null&&Object.keys(q).length===0)b+=" 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 $1=eJ(O);if($1)b+=$1;else b+=U5();var n;if(q===null)n="null";else if(S4(q))n="array";else if(q!==void 0&&q.$$typeof===j)n="<"+(t(q.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?";else n=typeof q;H1("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,b)}var M1=r6.apply(this,arguments);if(M1==null)return M1;if(S)for(var x1=2;x1<arguments.length;x1++)JQ(arguments[x1],q);if(q===O1)D4(M1);else J6(M1);return M1}var o6=!1;function u6(q){var O=QQ.bind(null,q);O.type=q;{if(!o6)o6=!0,A4("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");Object.defineProperty(O,"type",{enumerable:!1,get:function(){return A4("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:q}),q}})}return O}function f8(q,O,R){var S=X1.apply(this,arguments);for(var b=2;b<arguments.length;b++)JQ(arguments[b],S.type);return J6(S),S}function PX(q,O){var R=g.transition;g.transition={};var S=g.transition;g.transition._updatedFibers=new Set;try{q()}finally{if(g.transition=R,R===null&&S._updatedFibers){var b=S._updatedFibers.size;if(b>10)A4("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");S._updatedFibers.clear()}}}var r7=!1,$7=null;function ZQ(q){if($7===null)try{var O=("require"+Math.random()).slice(0,7),R=$X&&$X[O];$7=R.call($X,"timers").setImmediate}catch(S){$7=function(b){if(r7===!1){if(r7=!0,typeof MessageChannel>"u")H1("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 $1=new MessageChannel;$1.port1.onmessage=b,$1.port2.postMessage(void 0)}}return $7(q)}var g0=0,XQ=!1;function YQ(q){{var O=g0;if(g0++,f.current===null)f.current=[];var R=f.isBatchingLegacy,S;try{if(f.isBatchingLegacy=!0,S=q(),!R&&f.didScheduleLegacyUpdate){var b=f.current;if(b!==null)f.didScheduleLegacyUpdate=!1,t7(b)}}catch(L4){throw Q0(O),L4}finally{f.isBatchingLegacy=R}if(S!==null&&typeof S==="object"&&typeof S.then==="function"){var $1=S,n=!1,M1={then:function(L4,E4){n=!0,$1.then(function(t1){if(Q0(O),g0===0)o7(t1,L4,E4);else L4(t1)},function(t1){Q0(O),E4(t1)})}};if(!XQ&&typeof Promise<"u")Promise.resolve().then(function(){}).then(function(){if(!n)XQ=!0,H1("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 M1}else{var x1=S;if(Q0(O),g0===0){var Z4=f.current;if(Z4!==null)t7(Z4),f.current=null;var W4={then:function(L4,E4){if(f.current===null)f.current=[],o7(x1,L4,E4);else L4(x1)}};return W4}else{var O4={then:function(L4,E4){L4(x1)}};return O4}}}}function Q0(q){{if(q!==g0-1)H1("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");g0=q}}function o7(q,O,R){{var S=f.current;if(S!==null)try{t7(S),ZQ(function(){if(S.length===0)f.current=null,O(q);else o7(q,O,R)})}catch(b){R(b)}else O(q)}}var x0=!1;function t7(q){if(!x0){x0=!0;var O=0;try{for(;O<q.length;O++){var R=q[O];do R=R(!0);while(R!==null)}q.length=0}catch(S){throw q=q.slice(O+1),S}finally{x0=!1}}}var GQ=QQ,HQ=f8,BQ=u6,UQ={map:H8,forEach:r9,count:v0,toArray:p7,only:s7};if(I_.Children=UQ,I_.Component=x4,I_.Fragment=O1,I_.Profiler=S1,I_.PureComponent=b4,I_.StrictMode=W,I_.Suspense=i,I_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D1,I_.act=YQ,I_.cloneElement=HQ,I_.createContext=B7,I_.createElement=GQ,I_.createFactory=BQ,I_.createRef=n4,I_.forwardRef=z,I_.isValidElement=L1,I_.lazy=u8,I_.memo=B1,I_.startTransition=PX,I_.unstable_act=YQ,I_.useCallback=y8,I_.useContext=p1,I_.useDebugValue=N0,I_.useDeferredValue=_8,I_.useEffect=_4,I_.useId=k1,I_.useImperativeHandle=e4,I_.useInsertionEffect=V4,I_.useLayoutEffect=H6,I_.useMemo=R8,I_.useReducer=I1,I_.useRef=o1,I_.useState=E1,I_.useSyncExternalStore=U7,I_.useTransition=o9,I_.version=I,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var hK=p9((V_)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var I=!1,j=!1,q1=5;function O1(d,X1){var L1=d.length;d.push(X1),k(d,X1,L1)}function W(d){return d.length===0?null:d[0]}function S1(d){if(d.length===0)return null;var X1=d[0],L1=d.pop();if(L1!==X1)d[0]=L1,a(d,L1,0);return X1}function k(d,X1,L1){var e1=L1;while(e1>0){var $4=e1-1>>>1,d4=d[$4];if(u1(d4,X1)>0)d[$4]=X1,d[e1]=d4,e1=$4;else return}}function a(d,X1,L1){var e1=L1,$4=d.length,d4=$4>>>1;while(e1<d4){var R4=(e1+1)*2-1,_6=d[R4],f1=R4+1,r1=d[f1];if(u1(_6,X1)<0)if(f1<$4&&u1(r1,_6)<0)d[e1]=r1,d[f1]=X1,e1=f1;else d[e1]=_6,d[R4]=X1,e1=R4;else if(f1<$4&&u1(r1,X1)<0)d[e1]=r1,d[f1]=X1,e1=f1;else return}}function u1(d,X1){var L1=d.sortIndex-X1.sortIndex;return L1!==0?L1:d.id-X1.id}var i=1,z1=2,h=3,K1=4,q4=5;function i1(d,X1){}var N4=typeof performance==="object"&&typeof performance.now==="function";if(N4){var g1=performance;V_.unstable_now=function(){return g1.now()}}else{var o=Date,g=o.now();V_.unstable_now=function(){return o.now()-g}}var f=1073741823,_1=-1,s=250,Z1=5000,v1=1e4,y1=f,T1=[],d1=[],M4=1,N1=null,D1=h,A4=!1,H1=!1,B4=!1,w6=typeof setTimeout==="function"?setTimeout:null,t4=typeof clearTimeout==="function"?clearTimeout:null,Q4=typeof setImmediate<"u"?setImmediate:null,y4=typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function f4(d){var X1=W(d1);while(X1!==null){if(X1.callback===null)S1(d1);else if(X1.startTime<=d)S1(d1),X1.sortIndex=X1.expirationTime,O1(T1,X1);else return;X1=W(d1)}}function x4(d){if(B4=!1,f4(d),!H1)if(W(T1)!==null)H1=!0,G6(m4);else{var X1=W(d1);if(X1!==null)x8(x4,X1.startTime-d)}}function m4(d,X1){if(H1=!1,B4)B4=!1,j8();A4=!0;var L1=D1;try{if(j)try{return s6(d,X1)}catch($4){if(N1!==null){var e1=V_.unstable_now();i1(N1,e1),N1.isQueued=!1}throw $4}else return s6(d,X1)}finally{N1=null,D1=L1,A4=!1}}function s6(d,X1){var L1=X1;f4(L1),N1=W(T1);while(N1!==null&&!I){if(N1.expirationTime>L1&&(!d||l1()))break;var e1=N1.callback;if(typeof e1==="function"){N1.callback=null,D1=N1.priorityLevel;var $4=N1.expirationTime<=L1,d4=e1($4);if(L1=V_.unstable_now(),typeof d4==="function")N1.callback=d4;else if(N1===W(T1))S1(T1);f4(L1)}else S1(T1);N1=W(T1)}if(N1!==null)return!0;else{var R4=W(d1);if(R4!==null)x8(x4,R4.startTime-L1);return!1}}function a6(d,X1){switch(d){case i:case z1:case h:case K1:case q4:break;default:d=h}var L1=D1;D1=d;try{return X1()}finally{D1=L1}}function i6(d){var X1;switch(D1){case i:case z1:case h:X1=h;break;default:X1=D1;break}var L1=D1;D1=X1;try{return d()}finally{D1=L1}}function b4(d){var X1=D1;return function(){var L1=D1;D1=X1;try{return d.apply(this,arguments)}finally{D1=L1}}}function P6(d,X1,L1){var e1=V_.unstable_now(),$4;if(typeof L1==="object"&&L1!==null){var d4=L1.delay;if(typeof d4==="number"&&d4>0)$4=e1+d4;else $4=e1}else $4=e1;var R4;switch(d){case i:R4=_1;break;case z1:R4=s;break;case q4:R4=y1;break;case K1:R4=v1;break;case h:default:R4=Z1;break}var _6=$4+R4,f1={id:M4++,callback:X1,priorityLevel:d,startTime:$4,expirationTime:_6,sortIndex:-1};if($4>e1){if(f1.sortIndex=$4,O1(d1,f1),W(T1)===null&&f1===W(d1)){if(B4)j8();else B4=!0;x8(x4,$4-e1)}}else if(f1.sortIndex=_6,O1(T1,f1),!H1&&!A4)H1=!0,G6(m4);return f1}function n4(){}function j6(){if(!H1&&!A4)H1=!0,G6(m4)}function S4(){return W(T1)}function F6(d){d.callback=null}function h6(){return D1}var k4=!1,K4=null,C=-1,F1=q1,t=-1;function l1(){var d=V_.unstable_now()-t;if(d<F1)return!1;return!0}function P4(){}function U4(d){if(d<0||d>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(d>0)F1=Math.floor(1000/d);else F1=q1}var N6=function(){if(K4!==null){var d=V_.unstable_now();t=d;var X1=!0,L1=!0;try{L1=K4(X1,d)}finally{if(L1)v4();else k4=!1,K4=null}}else k4=!1},v4;if(typeof Q4==="function")v4=function(){Q4(N6)};else if(typeof MessageChannel<"u"){var G8=new MessageChannel,R6=G8.port2;G8.port1.onmessage=N6,v4=function(){R6.postMessage(null)}}else v4=function(){w6(N6,0)};function G6(d){if(K4=d,!k4)k4=!0,v4()}function x8(d,X1){C=w6(function(){d(V_.unstable_now())},X1)}function j8(){t4(C),C=-1}var A8=P4,r6=null;if(V_.unstable_IdlePriority=q4,V_.unstable_ImmediatePriority=i,V_.unstable_LowPriority=K1,V_.unstable_NormalPriority=h,V_.unstable_Profiling=r6,V_.unstable_UserBlockingPriority=z1,V_.unstable_cancelCallback=F6,V_.unstable_continueExecution=j6,V_.unstable_forceFrameRate=U4,V_.unstable_getCurrentPriorityLevel=h6,V_.unstable_getFirstCallbackNode=S4,V_.unstable_next=i6,V_.unstable_pauseExecution=n4,V_.unstable_requestPaint=A8,V_.unstable_runWithPriority=a6,V_.unstable_scheduleCallback=P6,V_.unstable_shouldYield=l1,V_.unstable_wrapCallback=b4,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var uK=p9((S_)=>{var mJ=M8(c7()),H4=M8(hK());(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var I=mJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=!1;function q1(J){j=J}function O1(J){if(!j){for(var Q=arguments.length,Z=Array(Q>1?Q-1:0),X=1;X<Q;X++)Z[X-1]=arguments[X];S1("warn",J,Z)}}function W(J){if(!j){for(var Q=arguments.length,Z=Array(Q>1?Q-1:0),X=1;X<Q;X++)Z[X-1]=arguments[X];S1("error",J,Z)}}function S1(J,Q,Z){{var X=I.ReactDebugCurrentFrame,Y=X.getStackAddendum();if(Y!=="")Q+="%s",Z=Z.concat([Y]);var G=Z.map(function(H){return String(H)});G.unshift("Warning: "+Q),Function.prototype.apply.call(console[J],console,G)}}var k=0,a=1,u1=2,i=3,z1=4,h=5,K1=6,q4=7,i1=8,N4=9,g1=10,o=11,g=12,f=13,_1=14,s=15,Z1=16,v1=17,y1=18,T1=19,d1=21,M4=22,N1=23,D1=24,A4=25,H1=!0,B4=!1,w6=!1,t4=!1,Q4=!1,y4=!0,f4=!1,x4=!0,m4=!0,s6=!0,a6=!0,i6=new Set,b4={},P6={};function n4(J,Q){j6(J,Q),j6(J+"Capture",Q)}function j6(J,Q){if(b4[J])W("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",J);b4[J]=Q;{var Z=J.toLowerCase();if(P6[Z]=J,J==="onDoubleClick")P6.ondblclick=J}for(var X=0;X<Q.length;X++)i6.add(Q[X])}var S4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",F6=Object.prototype.hasOwnProperty;function h6(J){{var Q=typeof Symbol==="function"&&Symbol.toStringTag,Z=Q&&J[Symbol.toStringTag]||J.constructor.name||"Object";return Z}}function k4(J){try{return K4(J),!1}catch(Q){return!0}}function K4(J){return""+J}function C(J,Q){if(k4(J))return W("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",Q,h6(J)),K4(J)}function F1(J){if(k4(J))return W("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",h6(J)),K4(J)}function t(J,Q){if(k4(J))return W("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",Q,h6(J)),K4(J)}function l1(J,Q){if(k4(J))return W("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",Q,h6(J)),K4(J)}function P4(J){if(k4(J))return W("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",h6(J)),K4(J)}function U4(J){if(k4(J))return W("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.",h6(J)),K4(J)}var N6=0,v4=1,G8=2,R6=3,G6=4,x8=5,j8=6,A8=":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",r6=A8+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",d=new RegExp("^["+A8+"]["+r6+"]*$"),X1={},L1={};function e1(J){if(F6.call(L1,J))return!0;if(F6.call(X1,J))return!1;if(d.test(J))return L1[J]=!0,!0;return X1[J]=!0,W("Invalid attribute name: `%s`",J),!1}function $4(J,Q,Z){if(Q!==null)return Q.type===N6;if(Z)return!1;if(J.length>2&&(J[0]==="o"||J[0]==="O")&&(J[1]==="n"||J[1]==="N"))return!0;return!1}function d4(J,Q,Z,X){if(Z!==null&&Z.type===N6)return!1;switch(typeof Q){case"function":case"symbol":return!0;case"boolean":{if(X)return!1;if(Z!==null)return!Z.acceptsBooleans;else{var Y=J.toLowerCase().slice(0,5);return Y!=="data-"&&Y!=="aria-"}}default:return!1}}function R4(J,Q,Z,X){if(Q===null||typeof Q>"u")return!0;if(d4(J,Q,Z,X))return!0;if(X)return!1;if(Z!==null)switch(Z.type){case R6:return!Q;case G6:return Q===!1;case x8:return isNaN(Q);case j8:return isNaN(Q)||Q<1}return!1}function _6(J){return r1.hasOwnProperty(J)?r1[J]:null}function f1(J,Q,Z,X,Y,G,H){this.acceptsBooleans=Q===G8||Q===R6||Q===G6,this.attributeName=X,this.attributeNamespace=Y,this.mustUseProperty=Z,this.propertyName=J,this.type=Q,this.sanitizeURL=G,this.removeEmptyString=H}var r1={},J0=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];J0.forEach(function(J){r1[J]=new f1(J,N6,!1,J,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(J){var Q=J[0],Z=J[1];r1[Q]=new f1(Q,v4,!1,Z,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(J){r1[J]=new f1(J,G8,!1,J.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(J){r1[J]=new f1(J,G8,!1,J,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(J){r1[J]=new f1(J,R6,!1,J.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(J){r1[J]=new f1(J,R6,!0,J,null,!1,!1)}),["capture","download"].forEach(function(J){r1[J]=new f1(J,G6,!1,J,null,!1,!1)}),["cols","rows","size","span"].forEach(function(J){r1[J]=new f1(J,j8,!1,J,null,!1,!1)}),["rowSpan","start"].forEach(function(J){r1[J]=new f1(J,x8,!1,J.toLowerCase(),null,!1,!1)});var H8=/[\-\:]([a-z])/g,v0=function(J){return J[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(J){var Q=J.replace(H8,v0);r1[Q]=new f1(Q,v4,!1,J,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(J){var Q=J.replace(H8,v0);r1[Q]=new f1(Q,v4,!1,J,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(J){var Q=J.replace(H8,v0);r1[Q]=new f1(Q,v4,!1,J,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(J){r1[J]=new f1(J,v4,!1,J.toLowerCase(),null,!1,!1)});var r9="xlinkHref";r1[r9]=new f1("xlinkHref",v4,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(J){r1[J]=new f1(J,v4,!1,J.toLowerCase(),null,!0,!0)});var p7=/^[\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,s7=!1;function B7(J){if(!s7&&p7.test(J))s7=!0,W("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(J))}function h8(J,Q,Z,X){if(X.mustUseProperty){var Y=X.propertyName;return J[Y]}else{if(C(Z,Q),X.sanitizeURL)B7(""+Z);var G=X.attributeName,H=null;if(X.type===G6){if(J.hasAttribute(G)){var B=J.getAttribute(G);if(B==="")return!0;if(R4(Q,Z,X,!1))return B;if(B===""+Z)return Z;return B}}else if(J.hasAttribute(G)){if(R4(Q,Z,X,!1))return J.getAttribute(G);if(X.type===R6)return Z;H=J.getAttribute(G)}if(R4(Q,Z,X,!1))return H===null?Z:H;else if(H===""+Z)return Z;else return H}}function D0(J,Q,Z,X){{if(!e1(Q))return;if(!J.hasAttribute(Q))return Z===void 0?void 0:null;var Y=J.getAttribute(Q);if(C(Z,Q),Y===""+Z)return Z;return Y}}function w0(J,Q,Z,X){var Y=_6(Q);if($4(Q,Y,X))return;if(R4(Q,Z,Y,X))Z=null;if(X||Y===null){if(e1(Q)){var G=Q;if(Z===null)J.removeAttribute(G);else C(Z,Q),J.setAttribute(G,""+Z)}return}var H=Y.mustUseProperty;if(H){var B=Y.propertyName;if(Z===null){var U=Y.type;J[B]=U===R6?!1:""}else J[B]=Z;return}var{attributeName:K,attributeNamespace:$}=Y;if(Z===null)J.removeAttribute(K);else{var A=Y.type,M;if(A===R6||A===G6&&Z===!0)M="";else if(C(Z,K),M=""+Z,Y.sanitizeURL)B7(M.toString());if($)J.setAttributeNS($,K,M);else J.setAttribute(K,M)}}var P8=Symbol.for("react.element"),F8=Symbol.for("react.portal"),u8=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),B1=Symbol.for("react.context"),Y1=Symbol.for("react.forward_ref"),p1=Symbol.for("react.suspense"),E1=Symbol.for("react.suspense_list"),I1=Symbol.for("react.memo"),o1=Symbol.for("react.lazy"),_4=Symbol.for("react.scope"),V4=Symbol.for("react.debug_trace_mode"),H6=Symbol.for("react.offscreen"),y8=Symbol.for("react.legacy_hidden"),R8=Symbol.for("react.cache"),e4=Symbol.for("react.tracing_marker"),N0=Symbol.iterator,o9="@@iterator";function _8(J){if(J===null||typeof J!=="object")return null;var Q=N0&&J[N0]||J[o9];if(typeof Q==="function")return Q;return null}var k1=Object.assign,U7=0,E0,t9,n9,e9,J5,Q5,Z5;function X5(){}X5.__reactDisabledLog=!0;function iJ(){{if(U7===0){E0=console.log,t9=console.info,n9=console.warn,e9=console.error,J5=console.group,Q5=console.groupCollapsed,Z5=console.groupEnd;var J={configurable:!0,enumerable:!0,value:X5,writable:!0};Object.defineProperties(console,{info:J,log:J,warn:J,error:J,group:J,groupCollapsed:J,groupEnd:J})}U7++}}function MX(){{if(U7--,U7===0){var J={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k1({},J,{value:E0}),info:k1({},J,{value:t9}),warn:k1({},J,{value:n9}),error:k1({},J,{value:e9}),group:k1({},J,{value:J5}),groupCollapsed:k1({},J,{value:Q5}),groupEnd:k1({},J,{value:Z5})})}if(U7<0)W("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Y5=I.ReactCurrentDispatcher,q7;function B8(J,Q,Z){{if(q7===void 0)try{throw Error()}catch(Y){var X=Y.stack.trim().match(/\n( *(at )?)/);q7=X&&X[1]||""}return`
|
|
24
|
+
`+q7+J}}var T0=!1,C0;{var a7=typeof WeakMap==="function"?WeakMap:Map;C0=new a7}function G5(J,Q){if(!J||T0)return"";{var Z=C0.get(J);if(Z!==void 0)return Z}var X;T0=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var G;G=Y5.current,Y5.current=null,iJ();try{if(Q){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(L){X=L}Reflect.construct(J,[],H)}else{try{H.call()}catch(L){X=L}J.call(H.prototype)}}else{try{throw Error()}catch(L){X=L}J()}}catch(L){if(L&&X&&typeof L.stack==="string"){var B=L.stack.split(`
|
|
25
|
+
`),U=X.stack.split(`
|
|
26
|
+
`),K=B.length-1,$=U.length-1;while(K>=1&&$>=0&&B[K]!==U[$])$--;for(;K>=1&&$>=0;K--,$--)if(B[K]!==U[$]){if(K!==1||$!==1)do if(K--,$--,$<0||B[K]!==U[$]){var A=`
|
|
27
|
+
`+B[K].replace(" at new "," at ");if(J.displayName&&A.includes("<anonymous>"))A=A.replace("<anonymous>",J.displayName);if(typeof J==="function")C0.set(J,A);return A}while(K>=1&&$>=0);break}}}finally{T0=!1,Y5.current=G,MX(),Error.prepareStackTrace=Y}var M=J?J.displayName||J.name:"",_=M?B8(M):"";if(typeof J==="function")C0.set(J,_);return _}function rJ(J,Q,Z){return G5(J,!0)}function H5(J,Q,Z){return G5(J,!1)}function AX(J){var Q=J.prototype;return!!(Q&&Q.isReactComponent)}function b0(J,Q,Z){if(J==null)return"";if(typeof J==="function")return G5(J,AX(J));if(typeof J==="string")return B8(J);switch(J){case p1:return B8("Suspense");case E1:return B8("SuspenseList")}if(typeof J==="object")switch(J.$$typeof){case Y1:return H5(J.render);case I1:return b0(J.type,Q,Z);case o1:{var X=J,Y=X._payload,G=X._init;try{return b0(G(Y),Q,Z)}catch(H){}}}return""}function oJ(J){var Q=J._debugOwner?J._debugOwner.type:null,Z=J._debugSource;switch(J.tag){case h:return B8(J.type);case Z1:return B8("Lazy");case f:return B8("Suspense");case T1:return B8("SuspenseList");case k:case u1:case s:return H5(J.type);case o:return H5(J.type.render);case a:return rJ(J.type);default:return""}}function B5(J){try{var Q="",Z=J;do Q+=oJ(Z),Z=Z.return;while(Z);return Q}catch(X){return`
|
|
28
|
+
Error generating stack: `+X.message+`
|
|
29
|
+
`+X.stack}}function i7(J,Q,Z){var X=J.displayName;if(X)return X;var Y=Q.displayName||Q.name||"";return Y!==""?Z+"("+Y+")":Z}function tJ(J){return J.displayName||"Context"}function c1(J){if(J==null)return null;if(typeof J.tag==="number")W("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof J==="function")return J.displayName||J.name||null;if(typeof J==="string")return J;switch(J){case u8:return"Fragment";case F8:return"Portal";case E:return"Profiler";case z:return"StrictMode";case p1:return"Suspense";case E1:return"SuspenseList"}if(typeof J==="object")switch(J.$$typeof){case B1:var Q=J;return tJ(Q)+".Consumer";case y:var Z=J;return tJ(Z._context)+".Provider";case Y1:return i7(J,J.render,"ForwardRef");case I1:var X=J.displayName||null;if(X!==null)return X;return c1(J.type)||"Memo";case o1:{var Y=J,G=Y._payload,H=Y._init;try{return c1(H(G))}catch(B){return null}}}return null}function nJ(J,Q,Z){var X=Q.displayName||Q.name||"";return J.displayName||(X!==""?Z+"("+X+")":Z)}function U5(J){return J.displayName||"Context"}function V1(J){var{tag:Q,type:Z}=J;switch(Q){case D1:return"Cache";case N4:var X=Z;return U5(X)+".Consumer";case g1:var Y=Z;return U5(Y._context)+".Provider";case y1:return"DehydratedFragment";case o:return nJ(Z,Z.render,"ForwardRef");case q4:return"Fragment";case h:return Z;case z1:return"Portal";case i:return"Root";case K1:return"Text";case Z1:return c1(Z);case i1:if(Z===z)return"StrictMode";return"Mode";case M4:return"Offscreen";case g:return"Profiler";case d1:return"Scope";case f:return"Suspense";case T1:return"SuspenseList";case A4:return"TracingMarker";case a:case k:case v1:case u1:case _1:case s:if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break}return null}var eJ=I.ReactDebugCurrentFrame,L6=null,K7=!1;function k0(){{if(L6===null)return null;var J=L6._debugOwner;if(J!==null&&typeof J<"u")return V1(J)}return null}function JQ(){{if(L6===null)return"";return B5(L6)}}function J6(){eJ.getCurrentStack=null,L6=null,K7=!1}function D4(J){eJ.getCurrentStack=J===null?null:JQ,L6=J,K7=!1}function QQ(){return L6}function o6(J){K7=J}function u6(J){return""+J}function f8(J){switch(typeof J){case"boolean":case"number":case"string":case"undefined":return J;case"object":return U4(J),J;default:return""}}var PX={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function r7(J,Q){{if(!(PX[Q.type]||Q.onChange||Q.onInput||Q.readOnly||Q.disabled||Q.value==null))W("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(!(Q.onChange||Q.readOnly||Q.disabled||Q.checked==null))W("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 $7(J){var{type:Q,nodeName:Z}=J;return Z&&Z.toLowerCase()==="input"&&(Q==="checkbox"||Q==="radio")}function ZQ(J){return J._valueTracker}function g0(J){J._valueTracker=null}function XQ(J){var Q="";if(!J)return Q;if($7(J))Q=J.checked?"true":"false";else Q=J.value;return Q}function YQ(J){var Q=$7(J)?"checked":"value",Z=Object.getOwnPropertyDescriptor(J.constructor.prototype,Q);U4(J[Q]);var X=""+J[Q];if(J.hasOwnProperty(Q)||typeof Z>"u"||typeof Z.get!=="function"||typeof Z.set!=="function")return;var{get:Y,set:G}=Z;Object.defineProperty(J,Q,{configurable:!0,get:function(){return Y.call(this)},set:function(B){U4(B),X=""+B,G.call(this,B)}}),Object.defineProperty(J,Q,{enumerable:Z.enumerable});var H={getValue:function(){return X},setValue:function(B){U4(B),X=""+B},stopTracking:function(){g0(J),delete J[Q]}};return H}function Q0(J){if(ZQ(J))return;J._valueTracker=YQ(J)}function o7(J){if(!J)return!1;var Q=ZQ(J);if(!Q)return!0;var Z=Q.getValue(),X=XQ(J);if(X!==Z)return Q.setValue(X),!0;return!1}function x0(J){if(J=J||(typeof document<"u"?document:void 0),typeof J>"u")return null;try{return J.activeElement||J.body}catch(Q){return J.body}}var t7=!1,GQ=!1,HQ=!1,BQ=!1;function UQ(J){var Q=J.type==="checkbox"||J.type==="radio";return Q?J.checked!=null:J.value!=null}function q(J,Q){var Z=J,X=Q.checked,Y=k1({},Q,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:X!=null?X:Z._wrapperState.initialChecked});return Y}function O(J,Q){{if(r7("input",Q),Q.checked!==void 0&&Q.defaultChecked!==void 0&&!GQ)W("%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",k0()||"A component",Q.type),GQ=!0;if(Q.value!==void 0&&Q.defaultValue!==void 0&&!t7)W("%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",k0()||"A component",Q.type),t7=!0}var Z=J,X=Q.defaultValue==null?"":Q.defaultValue;Z._wrapperState={initialChecked:Q.checked!=null?Q.checked:Q.defaultChecked,initialValue:f8(Q.value!=null?Q.value:X),controlled:UQ(Q)}}function R(J,Q){var Z=J,X=Q.checked;if(X!=null)w0(Z,"checked",X,!1)}function S(J,Q){var Z=J;{var X=UQ(Q);if(!Z._wrapperState.controlled&&X&&!BQ)W("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"),BQ=!0;if(Z._wrapperState.controlled&&!X&&!HQ)W("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"),HQ=!0}R(J,Q);var Y=f8(Q.value),G=Q.type;if(Y!=null){if(G==="number"){if(Y===0&&Z.value===""||Z.value!=Y)Z.value=u6(Y)}else if(Z.value!==u6(Y))Z.value=u6(Y)}else if(G==="submit"||G==="reset"){Z.removeAttribute("value");return}if(Q.hasOwnProperty("value"))M1(Z,Q.type,Y);else if(Q.hasOwnProperty("defaultValue"))M1(Z,Q.type,f8(Q.defaultValue));if(Q.checked==null&&Q.defaultChecked!=null)Z.defaultChecked=!!Q.defaultChecked}function b(J,Q,Z){var X=J;if(Q.hasOwnProperty("value")||Q.hasOwnProperty("defaultValue")){var Y=Q.type,G=Y==="submit"||Y==="reset";if(G&&(Q.value===void 0||Q.value===null))return;var H=u6(X._wrapperState.initialValue);if(!Z){if(H!==X.value)X.value=H}X.defaultValue=H}var B=X.name;if(B!=="")X.name="";if(X.defaultChecked=!X.defaultChecked,X.defaultChecked=!!X._wrapperState.initialChecked,B!=="")X.name=B}function $1(J,Q){var Z=J;S(Z,Q),n(Z,Q)}function n(J,Q){var Z=Q.name;if(Q.type==="radio"&&Z!=null){var X=J;while(X.parentNode)X=X.parentNode;C(Z,"name");var Y=X.querySelectorAll("input[name="+JSON.stringify(""+Z)+'][type="radio"]');for(var G=0;G<Y.length;G++){var H=Y[G];if(H===J||H.form!==J.form)continue;var B=rQ(H);if(!B)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");o7(H),S(H,B)}}}function M1(J,Q,Z){if(Q!=="number"||x0(J.ownerDocument)!==J){if(Z==null)J.defaultValue=u6(J._wrapperState.initialValue);else if(J.defaultValue!==u6(Z))J.defaultValue=u6(Z)}}var x1=!1,Z4=!1,W4=!1;function O4(J,Q){{if(Q.value==null){if(typeof Q.children==="object"&&Q.children!==null)mJ.Children.forEach(Q.children,function(Z){if(Z==null)return;if(typeof Z==="string"||typeof Z==="number")return;if(!Z4)Z4=!0,W("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")});else if(Q.dangerouslySetInnerHTML!=null){if(!W4)W4=!0,W("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")}}if(Q.selected!=null&&!x1)W("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),x1=!0}}function L4(J,Q){if(Q.value!=null)J.setAttribute("value",u6(f8(Q.value)))}var E4=Array.isArray;function t1(J){return E4(J)}var W7=!1;function n7(){var J=k0();if(J)return`
|
|
30
|
+
|
|
31
|
+
Check the render method of \``+J+"`.";return""}var q5=["value","defaultValue"];function FX(J){{r7("select",J);for(var Q=0;Q<q5.length;Q++){var Z=q5[Q];if(J[Z]==null)continue;var X=t1(J[Z]);if(J.multiple&&!X)W("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Z,n7());else if(!J.multiple&&X)W("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Z,n7())}}}function Z0(J,Q,Z,X){var Y=J.options;if(Q){var G=Z,H={};for(var B=0;B<G.length;B++)H["$"+G[B]]=!0;for(var U=0;U<Y.length;U++){var K=H.hasOwnProperty("$"+Y[U].value);if(Y[U].selected!==K)Y[U].selected=K;if(K&&X)Y[U].defaultSelected=!0}}else{var $=u6(f8(Z)),A=null;for(var M=0;M<Y.length;M++){if(Y[M].value===$){if(Y[M].selected=!0,X)Y[M].defaultSelected=!0;return}if(A===null&&!Y[M].disabled)A=Y[M]}if(A!==null)A.selected=!0}}function K5(J,Q){return k1({},Q,{value:void 0})}function $5(J,Q){var Z=J;if(FX(Q),Z._wrapperState={wasMultiple:!!Q.multiple},Q.value!==void 0&&Q.defaultValue!==void 0&&!W7)W("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"),W7=!0}function RX(J,Q){var Z=J;Z.multiple=!!Q.multiple;var X=Q.value;if(X!=null)Z0(Z,!!Q.multiple,X,!1);else if(Q.defaultValue!=null)Z0(Z,!!Q.multiple,Q.defaultValue,!0)}function rK(J,Q){var Z=J,X=Z._wrapperState.wasMultiple;Z._wrapperState.wasMultiple=!!Q.multiple;var Y=Q.value;if(Y!=null)Z0(Z,!!Q.multiple,Y,!1);else if(X!==!!Q.multiple)if(Q.defaultValue!=null)Z0(Z,!!Q.multiple,Q.defaultValue,!0);else Z0(Z,!!Q.multiple,Q.multiple?[]:"",!1)}function oK(J,Q){var Z=J,X=Q.value;if(X!=null)Z0(Z,!!Q.multiple,X,!1)}var wB=!1;function _X(J,Q){var Z=J;if(Q.dangerouslySetInnerHTML!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var X=k1({},Q,{value:void 0,defaultValue:void 0,children:u6(Z._wrapperState.initialValue)});return X}function NB(J,Q){var Z=J;if(r7("textarea",Q),Q.value!==void 0&&Q.defaultValue!==void 0&&!wB)W("%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",k0()||"A component"),wB=!0;var X=Q.value;if(X==null){var{children:Y,defaultValue:G}=Q;if(Y!=null){W("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(t1(Y)){if(Y.length>1)throw Error("<textarea> can only have at most one child.");Y=Y[0]}G=Y}}if(G==null)G="";X=G}Z._wrapperState={initialValue:f8(X)}}function EB(J,Q){var Z=J,X=f8(Q.value),Y=f8(Q.defaultValue);if(X!=null){var G=u6(X);if(G!==Z.value)Z.value=G;if(Q.defaultValue==null&&Z.defaultValue!==G)Z.defaultValue=G}if(Y!=null)Z.defaultValue=u6(Y)}function TB(J,Q){var Z=J,X=Z.textContent;if(X===Z._wrapperState.initialValue){if(X!==""&&X!==null)Z.value=X}}function tK(J,Q){EB(J,Q)}var X0="http://www.w3.org/1999/xhtml",nK="http://www.w3.org/1998/Math/MathML",LX="http://www.w3.org/2000/svg";function IX(J){switch(J){case"svg":return LX;case"math":return nK;default:return X0}}function VX(J,Q){if(J==null||J===X0)return IX(Q);if(J===LX&&Q==="foreignObject")return X0;return J}var eK=function(J){if(typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction)return function(Q,Z,X,Y){MSApp.execUnsafeLocalFunction(function(){return J(Q,Z,X,Y)})};else return J},qQ,CB=eK(function(J,Q){if(J.namespaceURI===LX){if(!("innerHTML"in J)){qQ=qQ||document.createElement("div"),qQ.innerHTML="<svg>"+Q.valueOf().toString()+"</svg>";var Z=qQ.firstChild;while(J.firstChild)J.removeChild(J.firstChild);while(Z.firstChild)J.appendChild(Z.firstChild);return}}J.innerHTML=Q}),y6=1,Y0=3,j4=8,G0=9,SX=11,KQ=function(J,Q){if(Q){var Z=J.firstChild;if(Z&&Z===J.lastChild&&Z.nodeType===Y0){Z.nodeValue=Q;return}}J.textContent=Q},J$={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"]},W5={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 Q$(J,Q){return J+Q.charAt(0).toUpperCase()+Q.substring(1)}var Z$=["Webkit","ms","Moz","O"];Object.keys(W5).forEach(function(J){Z$.forEach(function(Q){W5[Q$(Q,J)]=W5[J]})});function vX(J,Q,Z){var X=Q==null||typeof Q==="boolean"||Q==="";if(X)return"";if(!Z&&typeof Q==="number"&&Q!==0&&!(W5.hasOwnProperty(J)&&W5[J]))return Q+"px";return l1(Q,J),(""+Q).trim()}var X$=/([A-Z])/g,Y$=/^ms-/;function G$(J){return J.replace(X$,"-$1").toLowerCase().replace(Y$,"-ms-")}var bB=function(){};{var H$=/^(?:webkit|moz|o)[A-Z]/,B$=/^-ms-/,U$=/-(.)/g,kB=/;\s*$/,e7={},DX={},gB=!1,xB=!1,q$=function(J){return J.replace(U$,function(Q,Z){return Z.toUpperCase()})},K$=function(J){if(e7.hasOwnProperty(J)&&e7[J])return;e7[J]=!0,W("Unsupported style property %s. Did you mean %s?",J,q$(J.replace(B$,"ms-")))},$$=function(J){if(e7.hasOwnProperty(J)&&e7[J])return;e7[J]=!0,W("Unsupported vendor-prefixed style property %s. Did you mean %s?",J,J.charAt(0).toUpperCase()+J.slice(1))},W$=function(J,Q){if(DX.hasOwnProperty(Q)&&DX[Q])return;DX[Q]=!0,W(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,J,Q.replace(kB,""))},O$=function(J,Q){if(gB)return;gB=!0,W("`NaN` is an invalid value for the `%s` css style property.",J)},z$=function(J,Q){if(xB)return;xB=!0,W("`Infinity` is an invalid value for the `%s` css style property.",J)};bB=function(J,Q){if(J.indexOf("-")>-1)K$(J);else if(H$.test(J))$$(J);else if(kB.test(Q))W$(J,Q);if(typeof Q==="number"){if(isNaN(Q))O$(J,Q);else if(!isFinite(Q))z$(J,Q)}}}var M$=bB;function A$(J){{var Q="",Z="";for(var X in J){if(!J.hasOwnProperty(X))continue;var Y=J[X];if(Y!=null){var G=X.indexOf("--")===0;Q+=Z+(G?X:G$(X))+":",Q+=vX(X,Y,G),Z=";"}}return Q||null}}function jB(J,Q){var Z=J.style;for(var X in Q){if(!Q.hasOwnProperty(X))continue;var Y=X.indexOf("--")===0;if(!Y)M$(X,Q[X]);var G=vX(X,Q[X],Y);if(X==="float")X="cssFloat";if(Y)Z.setProperty(X,G);else Z[X]=G}}function P$(J){return J==null||typeof J==="boolean"||J===""}function hB(J){var Q={};for(var Z in J){var X=J$[Z]||[Z];for(var Y=0;Y<X.length;Y++)Q[X[Y]]=Z}return Q}function F$(J,Q){{if(!Q)return;var Z=hB(J),X=hB(Q),Y={};for(var G in Z){var H=Z[G],B=X[G];if(B&&H!==B){var U=H+","+B;if(Y[U])continue;Y[U]=!0,W("%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.",P$(J[H])?"Removing":"Updating",H,B)}}}}var R$={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},_$=k1({menuitem:!0},R$),L$="__html";function wX(J,Q){if(!Q)return;if(_$[J]){if(Q.children!=null||Q.dangerouslySetInnerHTML!=null)throw Error(J+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.")}if(Q.dangerouslySetInnerHTML!=null){if(Q.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Q.dangerouslySetInnerHTML!=="object"||!(L$ in Q.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!Q.suppressContentEditableWarning&&Q.contentEditable&&Q.children!=null)W("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(Q.style!=null&&typeof Q.style!=="object")throw 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 O7(J,Q){if(J.indexOf("-")===-1)return typeof Q.is==="string";switch(J){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 $Q={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"},uB={"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},J9={},I$=new RegExp("^(aria)-["+r6+"]*$"),V$=new RegExp("^(aria)[A-Z]["+r6+"]*$");function S$(J,Q){{if(F6.call(J9,Q)&&J9[Q])return!0;if(V$.test(Q)){var Z="aria-"+Q.slice(4).toLowerCase(),X=uB.hasOwnProperty(Z)?Z:null;if(X==null)return W("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Q),J9[Q]=!0,!0;if(Q!==X)return W("Invalid ARIA attribute `%s`. Did you mean `%s`?",Q,X),J9[Q]=!0,!0}if(I$.test(Q)){var Y=Q.toLowerCase(),G=uB.hasOwnProperty(Y)?Y:null;if(G==null)return J9[Q]=!0,!1;if(Q!==G)return W("Unknown ARIA attribute `%s`. Did you mean `%s`?",Q,G),J9[Q]=!0,!0}}return!0}function v$(J,Q){{var Z=[];for(var X in Q){var Y=S$(J,X);if(!Y)Z.push(X)}var G=Z.map(function(H){return"`"+H+"`"}).join(", ");if(Z.length===1)W("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",G,J);else if(Z.length>1)W("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",G,J)}}function D$(J,Q){if(O7(J,Q))return;v$(J,Q)}var yB=!1;function w$(J,Q){{if(J!=="input"&&J!=="textarea"&&J!=="select")return;if(Q!=null&&Q.value===null&&!yB)if(yB=!0,J==="select"&&Q.multiple)W("`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.",J);else W("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",J)}}var fB=function(){};{var E6={},mB=/^on./,N$=/^on[^A-Z]/,E$=new RegExp("^(aria)-["+r6+"]*$"),T$=new RegExp("^(aria)[A-Z]["+r6+"]*$");fB=function(J,Q,Z,X){if(F6.call(E6,Q)&&E6[Q])return!0;var Y=Q.toLowerCase();if(Y==="onfocusin"||Y==="onfocusout")return W("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."),E6[Q]=!0,!0;if(X!=null){var{registrationNameDependencies:G,possibleRegistrationNames:H}=X;if(G.hasOwnProperty(Q))return!0;var B=H.hasOwnProperty(Y)?H[Y]:null;if(B!=null)return W("Invalid event handler property `%s`. Did you mean `%s`?",Q,B),E6[Q]=!0,!0;if(mB.test(Q))return W("Unknown event handler property `%s`. It will be ignored.",Q),E6[Q]=!0,!0}else if(mB.test(Q)){if(N$.test(Q))W("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Q);return E6[Q]=!0,!0}if(E$.test(Q)||T$.test(Q))return!0;if(Y==="innerhtml")return W("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),E6[Q]=!0,!0;if(Y==="aria")return W("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),E6[Q]=!0,!0;if(Y==="is"&&Z!==null&&Z!==void 0&&typeof Z!=="string")return W("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Z),E6[Q]=!0,!0;if(typeof Z==="number"&&isNaN(Z))return W("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Q),E6[Q]=!0,!0;var U=_6(Q),K=U!==null&&U.type===N6;if($Q.hasOwnProperty(Y)){var $=$Q[Y];if($!==Q)return W("Invalid DOM property `%s`. Did you mean `%s`?",Q,$),E6[Q]=!0,!0}else if(!K&&Q!==Y)return W("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.",Q,Y),E6[Q]=!0,!0;if(typeof Z==="boolean"&&d4(Q,Z,U,!1)){if(Z)W('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()}.',Z,Q,Q,Z,Q);else W('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.',Z,Q,Q,Z,Q,Q,Q);return E6[Q]=!0,!0}if(K)return!0;if(d4(Q,Z,U,!1))return E6[Q]=!0,!1;if((Z==="false"||Z==="true")&&U!==null&&U.type===R6)return W("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Z,Q,Z==="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".',Q,Z),E6[Q]=!0,!0;return!0}}var C$=function(J,Q,Z){{var X=[];for(var Y in Q){var G=fB(J,Y,Q[Y],Z);if(!G)X.push(Y)}var H=X.map(function(B){return"`"+B+"`"}).join(", ");if(X.length===1)W("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 ",H,J);else if(X.length>1)W("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 ",H,J)}};function b$(J,Q,Z){if(O7(J,Q))return;C$(J,Q,Z)}var dB=1,NX=2,O5=4,k$=dB|NX|O5,z5=null;function g$(J){if(z5!==null)W("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.");z5=J}function x$(){if(z5===null)W("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.");z5=null}function j$(J){return J===z5}function EX(J){var Q=J.target||J.srcElement||window;if(Q.correspondingUseElement)Q=Q.correspondingUseElement;return Q.nodeType===Y0?Q.parentNode:Q}var TX=null,Q9=null,Z9=null;function cB(J){var Q=c0(J);if(!Q)return;if(typeof TX!=="function")throw 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 Z=Q.stateNode;if(Z){var X=rQ(Z);TX(Q.stateNode,Q.type,X)}}function h$(J){TX=J}function lB(J){if(Q9)if(Z9)Z9.push(J);else Z9=[J];else Q9=J}function u$(){return Q9!==null||Z9!==null}function pB(){if(!Q9)return;var J=Q9,Q=Z9;if(Q9=null,Z9=null,cB(J),Q)for(var Z=0;Z<Q.length;Z++)cB(Q[Z])}var sB=function(J,Q){return J(Q)},aB=function(){},CX=!1;function y$(){var J=u$();if(J)aB(),pB()}function iB(J,Q,Z){if(CX)return J(Q,Z);CX=!0;try{return sB(J,Q,Z)}finally{CX=!1,y$()}}function f$(J,Q,Z){sB=J,aB=Z}function m$(J){return J==="button"||J==="input"||J==="select"||J==="textarea"}function d$(J,Q,Z){switch(J){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(Z.disabled&&m$(Q));default:return!1}}function M5(J,Q){var Z=J.stateNode;if(Z===null)return null;var X=rQ(Z);if(X===null)return null;var Y=X[Q];if(d$(Q,J.type,X))return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+Q+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}var bX=!1;if(S4)try{var A5={};Object.defineProperty(A5,"passive",{get:function(){bX=!0}}),window.addEventListener("test",A5,A5),window.removeEventListener("test",A5,A5)}catch(J){bX=!1}function rB(J,Q,Z,X,Y,G,H,B,U){var K=Array.prototype.slice.call(arguments,3);try{Q.apply(Z,K)}catch($){this.onError($)}}var oB=rB;if(typeof window<"u"&&typeof window.dispatchEvent==="function"&&typeof document<"u"&&typeof document.createEvent==="function"){var kX=document.createElement("react");oB=function(Q,Z,X,Y,G,H,B,U,K){if(typeof document>"u"||document===null)throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var $=document.createEvent("Event"),A=!1,M=!0,_=window.event,L=Object.getOwnPropertyDescriptor(window,"event");function V(){if(kX.removeEventListener(v,J1,!1),typeof window.event<"u"&&window.hasOwnProperty("event"))window.event=_}var u=Array.prototype.slice.call(arguments,3);function J1(){A=!0,V(),Z.apply(X,u),M=!1}var e,C1=!1,b1=!1;function P(F){if(e=F.error,C1=!0,e===null&&F.colno===0&&F.lineno===0)b1=!0;if(F.defaultPrevented){if(e!=null&&typeof e==="object")try{e._suppressLogging=!0}catch(T){}}}var v="react-"+(Q?Q:"invokeguardedcallback");if(window.addEventListener("error",P),kX.addEventListener(v,J1,!1),$.initEvent(v,!1,!1),kX.dispatchEvent($),L)Object.defineProperty(window,"event",L);if(A&&M){if(!C1)e=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(b1)e=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(e)}if(window.removeEventListener("error",P),!A)return V(),rB.apply(this,arguments)}}var c$=oB,X9=!1,WQ=null,OQ=!1,gX=null,l$={onError:function(J){X9=!0,WQ=J}};function xX(J,Q,Z,X,Y,G,H,B,U){X9=!1,WQ=null,c$.apply(l$,arguments)}function p$(J,Q,Z,X,Y,G,H,B,U){if(xX.apply(this,arguments),X9){var K=jX();if(!OQ)OQ=!0,gX=K}}function s$(){if(OQ){var J=gX;throw OQ=!1,gX=null,J}}function a$(){return X9}function jX(){if(X9){var J=WQ;return X9=!1,WQ=null,J}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Y9(J){return J._reactInternals}function i$(J){return J._reactInternals!==void 0}function r$(J,Q){J._reactInternals=Q}var U1=0,G9=1,h4=2,m1=4,z7=16,P5=32,hX=64,n1=128,H0=256,j0=512,M7=1024,L8=2048,B0=4096,A7=8192,zQ=16384,o$=L8|m1|hX|j0|M7|zQ,t$=32767,F5=32768,T6=65536,uX=131072,tB=1048576,yX=2097152,P7=4194304,fX=8388608,U0=16777216,MQ=33554432,mX=m1|M7|0,dX=h4|m1|z7|P5|j0|B0|A7,R5=m1|hX|j0|A7,H9=L8|z7,q0=P7|fX|yX,n$=I.ReactCurrentOwner;function F7(J){var Q=J,Z=J;if(!J.alternate){var X=Q;do{if(Q=X,(Q.flags&(h4|B0))!==U1)Z=Q.return;X=Q.return}while(X)}else while(Q.return)Q=Q.return;if(Q.tag===i)return Z;return null}function nB(J){if(J.tag===f){var Q=J.memoizedState;if(Q===null){var Z=J.alternate;if(Z!==null)Q=Z.memoizedState}if(Q!==null)return Q.dehydrated}return null}function eB(J){return J.tag===i?J.stateNode.containerInfo:null}function e$(J){return F7(J)===J}function JW(J){{var Q=n$.current;if(Q!==null&&Q.tag===a){var Z=Q,X=Z.stateNode;if(!X._warnedAboutRefsInRender)W("%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.",V1(Z)||"A component");X._warnedAboutRefsInRender=!0}}var Y=Y9(J);if(!Y)return!1;return F7(Y)===Y}function J3(J){if(F7(J)!==J)throw Error("Unable to find node on an unmounted component.")}function Q3(J){var Q=J.alternate;if(!Q){var Z=F7(J);if(Z===null)throw Error("Unable to find node on an unmounted component.");if(Z!==J)return null;return J}var X=J,Y=Q;while(!0){var G=X.return;if(G===null)break;var H=G.alternate;if(H===null){var B=G.return;if(B!==null){X=Y=B;continue}break}if(G.child===H.child){var U=G.child;while(U){if(U===X)return J3(G),J;if(U===Y)return J3(G),Q;U=U.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==Y.return)X=G,Y=H;else{var K=!1,$=G.child;while($){if($===X){K=!0,X=G,Y=H;break}if($===Y){K=!0,Y=G,X=H;break}$=$.sibling}if(!K){$=H.child;while($){if($===X){K=!0,X=H,Y=G;break}if($===Y){K=!0,Y=H,X=G;break}$=$.sibling}if(!K)throw 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(X.alternate!==Y)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(X.tag!==i)throw Error("Unable to find node on an unmounted component.");if(X.stateNode.current===X)return J;return Q}function Z3(J){var Q=Q3(J);return Q!==null?X3(Q):null}function X3(J){if(J.tag===h||J.tag===K1)return J;var Q=J.child;while(Q!==null){var Z=X3(Q);if(Z!==null)return Z;Q=Q.sibling}return null}function QW(J){var Q=Q3(J);return Q!==null?Y3(Q):null}function Y3(J){if(J.tag===h||J.tag===K1)return J;var Q=J.child;while(Q!==null){if(Q.tag!==z1){var Z=Y3(Q);if(Z!==null)return Z}Q=Q.sibling}return null}var G3=H4.unstable_scheduleCallback,ZW=H4.unstable_cancelCallback,XW=H4.unstable_shouldYield,YW=H4.unstable_requestPaint,Q6=H4.unstable_now,GW=H4.unstable_getCurrentPriorityLevel,AQ=H4.unstable_ImmediatePriority,cX=H4.unstable_UserBlockingPriority,R7=H4.unstable_NormalPriority,HW=H4.unstable_LowPriority,lX=H4.unstable_IdlePriority,BW=H4.unstable_yieldValue,UW=H4.unstable_setDisableYieldValue,_7=null,B6=null,c=null,m8=!1,I8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function qW(J){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Q=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Q.isDisabled)return!0;if(!Q.supportsFiber)return W("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(m4)J=k1({},J,{getLaneLabelMap:MW,injectProfilingHooks:zW});_7=Q.inject(J),B6=Q}catch(Z){W("React instrumentation encountered an error: %s.",Z)}if(Q.checkDCE)return!0;else return!1}function KW(J,Q){if(B6&&typeof B6.onScheduleFiberRoot==="function")try{B6.onScheduleFiberRoot(_7,J,Q)}catch(Z){if(!m8)m8=!0,W("React instrumentation encountered an error: %s",Z)}}function $W(J,Q){if(B6&&typeof B6.onCommitFiberRoot==="function")try{var Z=(J.current.flags&n1)===n1;if(s6){var X;switch(Q){case e6:X=AQ;break;case $0:X=cX;break;case W0:X=R7;break;case SQ:X=lX;break;default:X=R7;break}B6.onCommitFiberRoot(_7,J,X,Z)}else B6.onCommitFiberRoot(_7,J,void 0,Z)}catch(Y){if(!m8)m8=!0,W("React instrumentation encountered an error: %s",Y)}}function WW(J){if(B6&&typeof B6.onPostCommitFiberRoot==="function")try{B6.onPostCommitFiberRoot(_7,J)}catch(Q){if(!m8)m8=!0,W("React instrumentation encountered an error: %s",Q)}}function OW(J){if(B6&&typeof B6.onCommitFiberUnmount==="function")try{B6.onCommitFiberUnmount(_7,J)}catch(Q){if(!m8)m8=!0,W("React instrumentation encountered an error: %s",Q)}}function Z6(J){{if(typeof BW==="function")UW(J),q1(J);if(B6&&typeof B6.setStrictMode==="function")try{B6.setStrictMode(_7,J)}catch(Q){if(!m8)m8=!0,W("React instrumentation encountered an error: %s",Q)}}}function zW(J){c=J}function MW(){{var J=new Map,Q=1;for(var Z=0;Z<sX;Z++){var X=xW(Q);J.set(Q,X),Q*=2}return J}}function AW(J){if(c!==null&&typeof c.markCommitStarted==="function")c.markCommitStarted(J)}function H3(){if(c!==null&&typeof c.markCommitStopped==="function")c.markCommitStopped()}function _5(J){if(c!==null&&typeof c.markComponentRenderStarted==="function")c.markComponentRenderStarted(J)}function B9(){if(c!==null&&typeof c.markComponentRenderStopped==="function")c.markComponentRenderStopped()}function PW(J){if(c!==null&&typeof c.markComponentPassiveEffectMountStarted==="function")c.markComponentPassiveEffectMountStarted(J)}function FW(){if(c!==null&&typeof c.markComponentPassiveEffectMountStopped==="function")c.markComponentPassiveEffectMountStopped()}function RW(J){if(c!==null&&typeof c.markComponentPassiveEffectUnmountStarted==="function")c.markComponentPassiveEffectUnmountStarted(J)}function _W(){if(c!==null&&typeof c.markComponentPassiveEffectUnmountStopped==="function")c.markComponentPassiveEffectUnmountStopped()}function LW(J){if(c!==null&&typeof c.markComponentLayoutEffectMountStarted==="function")c.markComponentLayoutEffectMountStarted(J)}function IW(){if(c!==null&&typeof c.markComponentLayoutEffectMountStopped==="function")c.markComponentLayoutEffectMountStopped()}function B3(J){if(c!==null&&typeof c.markComponentLayoutEffectUnmountStarted==="function")c.markComponentLayoutEffectUnmountStarted(J)}function U3(){if(c!==null&&typeof c.markComponentLayoutEffectUnmountStopped==="function")c.markComponentLayoutEffectUnmountStopped()}function VW(J,Q,Z){if(c!==null&&typeof c.markComponentErrored==="function")c.markComponentErrored(J,Q,Z)}function SW(J,Q,Z){if(c!==null&&typeof c.markComponentSuspended==="function")c.markComponentSuspended(J,Q,Z)}function vW(J){if(c!==null&&typeof c.markLayoutEffectsStarted==="function")c.markLayoutEffectsStarted(J)}function DW(){if(c!==null&&typeof c.markLayoutEffectsStopped==="function")c.markLayoutEffectsStopped()}function wW(J){if(c!==null&&typeof c.markPassiveEffectsStarted==="function")c.markPassiveEffectsStarted(J)}function NW(){if(c!==null&&typeof c.markPassiveEffectsStopped==="function")c.markPassiveEffectsStopped()}function q3(J){if(c!==null&&typeof c.markRenderStarted==="function")c.markRenderStarted(J)}function EW(){if(c!==null&&typeof c.markRenderYielded==="function")c.markRenderYielded()}function K3(){if(c!==null&&typeof c.markRenderStopped==="function")c.markRenderStopped()}function TW(J){if(c!==null&&typeof c.markRenderScheduled==="function")c.markRenderScheduled(J)}function CW(J,Q){if(c!==null&&typeof c.markForceUpdateScheduled==="function")c.markForceUpdateScheduled(J,Q)}function pX(J,Q){if(c!==null&&typeof c.markStateUpdateScheduled==="function")c.markStateUpdateScheduled(J,Q)}var G1=0,j1=1,X4=2,T4=8,d8=16,$3=Math.clz32?Math.clz32:gW,bW=Math.log,kW=Math.LN2;function gW(J){var Q=J>>>0;if(Q===0)return 32;return 31-(bW(Q)/kW|0)|0}var sX=31,N=0,X6=0,A1=1,U9=2,K0=4,L7=8,c8=16,L5=32,q9=4194240,I5=64,aX=128,iX=256,rX=512,oX=1024,tX=2048,nX=4096,eX=8192,JY=16384,QY=32768,ZY=65536,XY=131072,YY=262144,GY=524288,HY=1048576,BY=2097152,PQ=130023424,K9=4194304,UY=8388608,qY=16777216,KY=33554432,$Y=67108864,W3=K9,V5=134217728,O3=268435455,S5=268435456,I7=536870912,t6=1073741824;function xW(J){{if(J&A1)return"Sync";if(J&U9)return"InputContinuousHydration";if(J&K0)return"InputContinuous";if(J&L7)return"DefaultHydration";if(J&c8)return"Default";if(J&L5)return"TransitionHydration";if(J&q9)return"Transition";if(J&PQ)return"Retry";if(J&V5)return"SelectiveHydration";if(J&S5)return"IdleHydration";if(J&I7)return"Idle";if(J&t6)return"Offscreen"}}var F4=-1,FQ=I5,RQ=K9;function v5(J){switch(V7(J)){case A1:return A1;case U9:return U9;case K0:return K0;case L7:return L7;case c8:return c8;case L5:return L5;case I5:case aX:case iX:case rX:case oX:case tX:case nX:case eX:case JY:case QY:case ZY:case XY:case YY:case GY:case HY:case BY:return J&q9;case K9:case UY:case qY:case KY:case $Y:return J&PQ;case V5:return V5;case S5:return S5;case I7:return I7;case t6:return t6;default:return W("Should have found matching lanes. This is a bug in React."),J}}function _Q(J,Q){var Z=J.pendingLanes;if(Z===N)return N;var X=N,Y=J.suspendedLanes,G=J.pingedLanes,H=Z&O3;if(H!==N){var B=H&~Y;if(B!==N)X=v5(B);else{var U=H&G;if(U!==N)X=v5(U)}}else{var K=Z&~Y;if(K!==N)X=v5(K);else if(G!==N)X=v5(G)}if(X===N)return N;if(Q!==N&&Q!==X&&(Q&Y)===N){var $=V7(X),A=V7(Q);if($>=A||$===c8&&(A&q9)!==N)return Q}if((X&K0)!==N)X|=Z&c8;var M=J.entangledLanes;if(M!==N){var _=J.entanglements,L=X&M;while(L>0){var V=S7(L),u=1<<V;X|=_[V],L&=~u}}return X}function jW(J,Q){var Z=J.eventTimes,X=F4;while(Q>0){var Y=S7(Q),G=1<<Y,H=Z[Y];if(H>X)X=H;Q&=~G}return X}function hW(J,Q){switch(J){case A1:case U9:case K0:return Q+250;case L7:case c8:case L5:case I5:case aX:case iX:case rX:case oX:case tX:case nX:case eX:case JY:case QY:case ZY:case XY:case YY:case GY:case HY:case BY:return Q+5000;case K9:case UY:case qY:case KY:case $Y:return F4;case V5:case S5:case I7:case t6:return F4;default:return W("Should have found matching lanes. This is a bug in React."),F4}}function uW(J,Q){var{pendingLanes:Z,suspendedLanes:X,pingedLanes:Y,expirationTimes:G}=J,H=Z;while(H>0){var B=S7(H),U=1<<B,K=G[B];if(K===F4){if((U&X)===N||(U&Y)!==N)G[B]=hW(U,Q)}else if(K<=Q)J.expiredLanes|=U;H&=~U}}function yW(J){return v5(J.pendingLanes)}function WY(J){var Q=J.pendingLanes&~t6;if(Q!==N)return Q;if(Q&t6)return t6;return N}function fW(J){return(J&A1)!==N}function OY(J){return(J&O3)!==N}function z3(J){return(J&PQ)===J}function mW(J){var Q=A1|K0|c8;return(J&Q)===N}function dW(J){return(J&q9)===J}function LQ(J,Q){var Z=U9|K0|L7|c8;return(Q&Z)!==N}function cW(J,Q){return(Q&J.expiredLanes)!==N}function M3(J){return(J&q9)!==N}function A3(){var J=FQ;if(FQ<<=1,(FQ&q9)===N)FQ=I5;return J}function lW(){var J=RQ;if(RQ<<=1,(RQ&PQ)===N)RQ=K9;return J}function V7(J){return J&-J}function D5(J){return V7(J)}function S7(J){return 31-$3(J)}function zY(J){return S7(J)}function n6(J,Q){return(J&Q)!==N}function $9(J,Q){return(J&Q)===Q}function w1(J,Q){return J|Q}function IQ(J,Q){return J&~Q}function P3(J,Q){return J&Q}function VQ(J){return J}function pW(J,Q){return J!==X6&&J<Q?J:Q}function MY(J){var Q=[];for(var Z=0;Z<sX;Z++)Q.push(J);return Q}function w5(J,Q,Z){if(J.pendingLanes|=Q,Q!==I7)J.suspendedLanes=N,J.pingedLanes=N;var X=J.eventTimes,Y=zY(Q);X[Y]=Z}function sW(J,Q){J.suspendedLanes|=Q,J.pingedLanes&=~Q;var Z=J.expirationTimes,X=Q;while(X>0){var Y=S7(X),G=1<<Y;Z[Y]=F4,X&=~G}}function F3(J,Q,Z){J.pingedLanes|=J.suspendedLanes&Q}function aW(J,Q){var Z=J.pendingLanes&~Q;J.pendingLanes=Q,J.suspendedLanes=N,J.pingedLanes=N,J.expiredLanes&=Q,J.mutableReadLanes&=Q,J.entangledLanes&=Q;var{entanglements:X,eventTimes:Y,expirationTimes:G}=J,H=Z;while(H>0){var B=S7(H),U=1<<B;X[B]=N,Y[B]=F4,G[B]=F4,H&=~U}}function AY(J,Q){var Z=J.entangledLanes|=Q,X=J.entanglements,Y=Z;while(Y){var G=S7(Y),H=1<<G;if(H&Q|X[G]&Q)X[G]|=Q;Y&=~H}}function iW(J,Q){var Z=V7(Q),X;switch(Z){case K0:X=U9;break;case c8:X=L7;break;case I5:case aX:case iX:case rX:case oX:case tX:case nX:case eX:case JY:case QY:case ZY:case XY:case YY:case GY:case HY:case BY:case K9:case UY:case qY:case KY:case $Y:X=L5;break;case I7:X=S5;break;default:X=X6;break}if((X&(J.suspendedLanes|Q))!==X6)return X6;return X}function R3(J,Q,Z){if(!I8)return;var X=J.pendingUpdatersLaneMap;while(Z>0){var Y=zY(Z),G=1<<Y,H=X[Y];H.add(Q),Z&=~G}}function _3(J,Q){if(!I8)return;var{pendingUpdatersLaneMap:Z,memoizedUpdaters:X}=J;while(Q>0){var Y=zY(Q),G=1<<Y,H=Z[Y];if(H.size>0)H.forEach(function(B){var U=B.alternate;if(U===null||!X.has(U))X.add(B)}),H.clear();Q&=~G}}function L3(J,Q){return null}var e6=A1,$0=K0,W0=c8,SQ=I7,N5=X6;function V8(){return N5}function Y6(J){N5=J}function rW(J,Q){var Z=N5;try{return N5=J,Q()}finally{N5=Z}}function oW(J,Q){return J!==0&&J<Q?J:Q}function tW(J,Q){return J===0||J>Q?J:Q}function PY(J,Q){return J!==0&&J<Q}function I3(J){var Q=V7(J);if(!PY(e6,Q))return e6;if(!PY($0,Q))return $0;if(OY(Q))return W0;return SQ}function vQ(J){var Q=J.current.memoizedState;return Q.isDehydrated}var V3;function nW(J){V3=J}function eW(J){V3(J)}var FY;function JO(J){FY=J}var S3;function QO(J){S3=J}var v3;function ZO(J){v3=J}var D3;function XO(J){D3=J}var RY=!1,DQ=[],h0=null,u0=null,y0=null,E5=new Map,T5=new Map,f0=[],YO=["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 GO(J){return YO.indexOf(J)>-1}function HO(J,Q,Z,X,Y){return{blockedOn:J,domEventName:Q,eventSystemFlags:Z,nativeEvent:Y,targetContainers:[X]}}function w3(J,Q){switch(J){case"focusin":case"focusout":h0=null;break;case"dragenter":case"dragleave":u0=null;break;case"mouseover":case"mouseout":y0=null;break;case"pointerover":case"pointerout":{var Z=Q.pointerId;E5.delete(Z);break}case"gotpointercapture":case"lostpointercapture":{var X=Q.pointerId;T5.delete(X);break}}}function C5(J,Q,Z,X,Y,G){if(J===null||J.nativeEvent!==G){var H=HO(Q,Z,X,Y,G);if(Q!==null){var B=c0(Q);if(B!==null)FY(B)}return H}J.eventSystemFlags|=X;var U=J.targetContainers;if(Y!==null&&U.indexOf(Y)===-1)U.push(Y);return J}function BO(J,Q,Z,X,Y){switch(Q){case"focusin":{var G=Y;return h0=C5(h0,J,Q,Z,X,G),!0}case"dragenter":{var H=Y;return u0=C5(u0,J,Q,Z,X,H),!0}case"mouseover":{var B=Y;return y0=C5(y0,J,Q,Z,X,B),!0}case"pointerover":{var U=Y,K=U.pointerId;return E5.set(K,C5(E5.get(K)||null,J,Q,Z,X,U)),!0}case"gotpointercapture":{var $=Y,A=$.pointerId;return T5.set(A,C5(T5.get(A)||null,J,Q,Z,X,$)),!0}}return!1}function N3(J){var Q=w7(J.target);if(Q!==null){var Z=F7(Q);if(Z!==null){var X=Z.tag;if(X===f){var Y=nB(Z);if(Y!==null){J.blockedOn=Y,D3(J.priority,function(){S3(Z)});return}}else if(X===i){var G=Z.stateNode;if(vQ(G)){J.blockedOn=eB(Z);return}}}}J.blockedOn=null}function UO(J){var Q=v3(),Z={blockedOn:null,target:J,priority:Q},X=0;for(;X<f0.length;X++)if(!PY(Q,f0[X].priority))break;if(f0.splice(X,0,Z),X===0)N3(Z)}function wQ(J){if(J.blockedOn!==null)return!1;var Q=J.targetContainers;while(Q.length>0){var Z=Q[0],X=IY(J.domEventName,J.eventSystemFlags,Z,J.nativeEvent);if(X===null){var Y=J.nativeEvent,G=new Y.constructor(Y.type,Y);g$(G),Y.target.dispatchEvent(G),x$()}else{var H=c0(X);if(H!==null)FY(H);return J.blockedOn=X,!1}Q.shift()}return!0}function E3(J,Q,Z){if(wQ(J))Z.delete(Q)}function qO(){if(RY=!1,h0!==null&&wQ(h0))h0=null;if(u0!==null&&wQ(u0))u0=null;if(y0!==null&&wQ(y0))y0=null;E5.forEach(E3),T5.forEach(E3)}function b5(J,Q){if(J.blockedOn===Q){if(J.blockedOn=null,!RY)RY=!0,H4.unstable_scheduleCallback(H4.unstable_NormalPriority,qO)}}function k5(J){if(DQ.length>0){b5(DQ[0],J);for(var Q=1;Q<DQ.length;Q++){var Z=DQ[Q];if(Z.blockedOn===J)Z.blockedOn=null}}if(h0!==null)b5(h0,J);if(u0!==null)b5(u0,J);if(y0!==null)b5(y0,J);var X=function(B){return b5(B,J)};E5.forEach(X),T5.forEach(X);for(var Y=0;Y<f0.length;Y++){var G=f0[Y];if(G.blockedOn===J)G.blockedOn=null}while(f0.length>0){var H=f0[0];if(H.blockedOn!==null)break;else if(N3(H),H.blockedOn===null)f0.shift()}}var W9=I.ReactCurrentBatchConfig,_Y=!0;function T3(J){_Y=!!J}function KO(){return _Y}function $O(J,Q,Z){var X=C3(Q),Y;switch(X){case e6:Y=WO;break;case $0:Y=OO;break;case W0:default:Y=LY;break}return Y.bind(null,Q,Z,J)}function WO(J,Q,Z,X){var Y=V8(),G=W9.transition;W9.transition=null;try{Y6(e6),LY(J,Q,Z,X)}finally{Y6(Y),W9.transition=G}}function OO(J,Q,Z,X){var Y=V8(),G=W9.transition;W9.transition=null;try{Y6($0),LY(J,Q,Z,X)}finally{Y6(Y),W9.transition=G}}function LY(J,Q,Z,X){if(!_Y)return;zO(J,Q,Z,X)}function zO(J,Q,Z,X){var Y=IY(J,Q,Z,X);if(Y===null){jY(J,Q,X,NQ,Z),w3(J,X);return}if(BO(Y,J,Q,Z,X)){X.stopPropagation();return}if(w3(J,X),Q&O5&&GO(J)){while(Y!==null){var G=c0(Y);if(G!==null)eW(G);var H=IY(J,Q,Z,X);if(H===null)jY(J,Q,X,NQ,Z);if(H===Y)break;Y=H}if(Y!==null)X.stopPropagation();return}jY(J,Q,X,null,Z)}var NQ=null;function IY(J,Q,Z,X){NQ=null;var Y=EX(X),G=w7(Y);if(G!==null){var H=F7(G);if(H===null)G=null;else{var B=H.tag;if(B===f){var U=nB(H);if(U!==null)return U;G=null}else if(B===i){var K=H.stateNode;if(vQ(K))return eB(H);G=null}else if(H!==G)G=null}}return NQ=G,null}function C3(J){switch(J){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 e6;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 $0;case"message":{var Q=GW();switch(Q){case AQ:return e6;case cX:return $0;case R7:case HW:return W0;case lX:return SQ;default:return W0}}default:return W0}}function MO(J,Q,Z){return J.addEventListener(Q,Z,!1),Z}function AO(J,Q,Z){return J.addEventListener(Q,Z,!0),Z}function PO(J,Q,Z,X){return J.addEventListener(Q,Z,{capture:!0,passive:X}),Z}function FO(J,Q,Z,X){return J.addEventListener(Q,Z,{passive:X}),Z}var g5=null,VY=null,x5=null;function RO(J){return g5=J,VY=k3(),!0}function _O(){g5=null,VY=null,x5=null}function b3(){if(x5)return x5;var J,Q=VY,Z=Q.length,X,Y=k3(),G=Y.length;for(J=0;J<Z;J++)if(Q[J]!==Y[J])break;var H=Z-J;for(X=1;X<=H;X++)if(Q[Z-X]!==Y[G-X])break;var B=X>1?1-X:void 0;return x5=Y.slice(J,B),x5}function k3(){if("value"in g5)return g5.value;return g5.textContent}function EQ(J){var Q,Z=J.keyCode;if("charCode"in J){if(Q=J.charCode,Q===0&&Z===13)Q=13}else Q=Z;if(Q===10)Q=13;if(Q>=32||Q===13)return Q;return 0}function TQ(){return!0}function g3(){return!1}function J8(J){function Q(Z,X,Y,G,H){this._reactName=Z,this._targetInst=Y,this.type=X,this.nativeEvent=G,this.target=H,this.currentTarget=null;for(var B in J){if(!J.hasOwnProperty(B))continue;var U=J[B];if(U)this[B]=U(G);else this[B]=G[B]}var K=G.defaultPrevented!=null?G.defaultPrevented:G.returnValue===!1;if(K)this.isDefaultPrevented=TQ;else this.isDefaultPrevented=g3;return this.isPropagationStopped=g3,this}return k1(Q.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;if(!Z)return;if(Z.preventDefault)Z.preventDefault();else if(typeof Z.returnValue!=="unknown")Z.returnValue=!1;this.isDefaultPrevented=TQ},stopPropagation:function(){var Z=this.nativeEvent;if(!Z)return;if(Z.stopPropagation)Z.stopPropagation();else if(typeof Z.cancelBubble!=="unknown")Z.cancelBubble=!0;this.isPropagationStopped=TQ},persist:function(){},isPersistent:TQ}),Q}var O9={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(J){return J.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},SY=J8(O9),j5=k1({},O9,{view:0,detail:0}),LO=J8(j5),vY,DY,h5;function IO(J){if(J!==h5){if(h5&&J.type==="mousemove")vY=J.screenX-h5.screenX,DY=J.screenY-h5.screenY;else vY=0,DY=0;h5=J}}var CQ=k1({},j5,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:NY,button:0,buttons:0,relatedTarget:function(J){if(J.relatedTarget===void 0)return J.fromElement===J.srcElement?J.toElement:J.fromElement;return J.relatedTarget},movementX:function(J){if("movementX"in J)return J.movementX;return IO(J),vY},movementY:function(J){if("movementY"in J)return J.movementY;return DY}}),x3=J8(CQ),VO=k1({},CQ,{dataTransfer:0}),SO=J8(VO),vO=k1({},j5,{relatedTarget:0}),wY=J8(vO),DO=k1({},O9,{animationName:0,elapsedTime:0,pseudoElement:0}),wO=J8(DO),NO=k1({},O9,{clipboardData:function(J){return"clipboardData"in J?J.clipboardData:window.clipboardData}}),EO=J8(NO),TO=k1({},O9,{data:0}),j3=J8(TO),CO=j3,bO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kO={"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 gO(J){if(J.key){var Q=bO[J.key]||J.key;if(Q!=="Unidentified")return Q}if(J.type==="keypress"){var Z=EQ(J);return Z===13?"Enter":String.fromCharCode(Z)}if(J.type==="keydown"||J.type==="keyup")return kO[J.keyCode]||"Unidentified";return""}var xO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jO(J){var Q=this,Z=Q.nativeEvent;if(Z.getModifierState)return Z.getModifierState(J);var X=xO[J];return X?!!Z[X]:!1}function NY(J){return jO}var hO=k1({},j5,{key:gO,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:NY,charCode:function(J){if(J.type==="keypress")return EQ(J);return 0},keyCode:function(J){if(J.type==="keydown"||J.type==="keyup")return J.keyCode;return 0},which:function(J){if(J.type==="keypress")return EQ(J);if(J.type==="keydown"||J.type==="keyup")return J.keyCode;return 0}}),uO=J8(hO),yO=k1({},CQ,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),h3=J8(yO),fO=k1({},j5,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:NY}),mO=J8(fO),dO=k1({},O9,{propertyName:0,elapsedTime:0,pseudoElement:0}),cO=J8(dO),lO=k1({},CQ,{deltaX:function(J){return"deltaX"in J?J.deltaX:("wheelDeltaX"in J)?-J.wheelDeltaX:0},deltaY:function(J){return"deltaY"in J?J.deltaY:("wheelDeltaY"in J)?-J.wheelDeltaY:("wheelDelta"in J)?-J.wheelDelta:0},deltaZ:0,deltaMode:0}),pO=J8(lO),sO=[9,13,27,32],u3=229,EY=S4&&"CompositionEvent"in window,u5=null;if(S4&&"documentMode"in document)u5=document.documentMode;var aO=S4&&"TextEvent"in window&&!u5,y3=S4&&(!EY||u5&&u5>8&&u5<=11),f3=32,m3=String.fromCharCode(f3);function iO(){n4("onBeforeInput",["compositionend","keypress","textInput","paste"]),n4("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),n4("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),n4("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var d3=!1;function rO(J){return(J.ctrlKey||J.altKey||J.metaKey)&&!(J.ctrlKey&&J.altKey)}function oO(J){switch(J){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function tO(J,Q){return J==="keydown"&&Q.keyCode===u3}function c3(J,Q){switch(J){case"keyup":return sO.indexOf(Q.keyCode)!==-1;case"keydown":return Q.keyCode!==u3;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function l3(J){var Q=J.detail;if(typeof Q==="object"&&"data"in Q)return Q.data;return null}function p3(J){return J.locale==="ko"}var z9=!1;function nO(J,Q,Z,X,Y){var G,H;if(EY)G=oO(Q);else if(!z9){if(tO(Q,X))G="onCompositionStart"}else if(c3(Q,X))G="onCompositionEnd";if(!G)return null;if(y3&&!p3(X)){if(!z9&&G==="onCompositionStart")z9=RO(Y);else if(G==="onCompositionEnd"){if(z9)H=b3()}}var B=jQ(Z,G);if(B.length>0){var U=new j3(G,Q,null,X,Y);if(J.push({event:U,listeners:B}),H)U.data=H;else{var K=l3(X);if(K!==null)U.data=K}}}function eO(J,Q){switch(J){case"compositionend":return l3(Q);case"keypress":var Z=Q.which;if(Z!==f3)return null;return d3=!0,m3;case"textInput":var X=Q.data;if(X===m3&&d3)return null;return X;default:return null}}function Jz(J,Q){if(z9){if(J==="compositionend"||!EY&&c3(J,Q)){var Z=b3();return _O(),z9=!1,Z}return null}switch(J){case"paste":return null;case"keypress":if(!rO(Q)){if(Q.char&&Q.char.length>1)return Q.char;else if(Q.which)return String.fromCharCode(Q.which)}return null;case"compositionend":return y3&&!p3(Q)?null:Q.data;default:return null}}function Qz(J,Q,Z,X,Y){var G;if(aO)G=eO(Q,X);else G=Jz(Q,X);if(!G)return null;var H=jQ(Z,"onBeforeInput");if(H.length>0){var B=new CO("onBeforeInput","beforeinput",null,X,Y);J.push({event:B,listeners:H}),B.data=G}}function Zz(J,Q,Z,X,Y,G,H){nO(J,Q,Z,X,Y),Qz(J,Q,Z,X,Y)}var Xz={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 s3(J){var Q=J&&J.nodeName&&J.nodeName.toLowerCase();if(Q==="input")return!!Xz[J.type];if(Q==="textarea")return!0;return!1}function Yz(J){if(!S4)return!1;var Q="on"+J,Z=Q in document;if(!Z){var X=document.createElement("div");X.setAttribute(Q,"return;"),Z=typeof X[Q]==="function"}return Z}function Gz(){n4("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a3(J,Q,Z,X){lB(X);var Y=jQ(Q,"onChange");if(Y.length>0){var G=new SY("onChange","change",null,Z,X);J.push({event:G,listeners:Y})}}var y5=null,f5=null;function Hz(J){var Q=J.nodeName&&J.nodeName.toLowerCase();return Q==="select"||Q==="input"&&J.type==="file"}function Bz(J){var Q=[];a3(Q,f5,J,EX(J)),iB(Uz,Q)}function Uz(J){$U(J,0)}function bQ(J){var Q=_9(J);if(o7(Q))return J}function qz(J,Q){if(J==="change")return Q}var i3=!1;if(S4)i3=Yz("input")&&(!document.documentMode||document.documentMode>9);function Kz(J,Q){y5=J,f5=Q,y5.attachEvent("onpropertychange",o3)}function r3(){if(!y5)return;y5.detachEvent("onpropertychange",o3),y5=null,f5=null}function o3(J){if(J.propertyName!=="value")return;if(bQ(f5))Bz(J)}function $z(J,Q,Z){if(J==="focusin")r3(),Kz(Q,Z);else if(J==="focusout")r3()}function Wz(J,Q){if(J==="selectionchange"||J==="keyup"||J==="keydown")return bQ(f5)}function Oz(J){var Q=J.nodeName;return Q&&Q.toLowerCase()==="input"&&(J.type==="checkbox"||J.type==="radio")}function zz(J,Q){if(J==="click")return bQ(Q)}function Mz(J,Q){if(J==="input"||J==="change")return bQ(Q)}function Az(J){var Q=J._wrapperState;if(!Q||!Q.controlled||J.type!=="number")return;M1(J,"number",J.value)}function Pz(J,Q,Z,X,Y,G,H){var B=Z?_9(Z):window,U,K;if(Hz(B))U=qz;else if(s3(B))if(i3)U=Mz;else U=Wz,K=$z;else if(Oz(B))U=zz;if(U){var $=U(Q,Z);if($){a3(J,$,X,Y);return}}if(K)K(Q,B,Z);if(Q==="focusout")Az(B)}function Fz(){j6("onMouseEnter",["mouseout","mouseover"]),j6("onMouseLeave",["mouseout","mouseover"]),j6("onPointerEnter",["pointerout","pointerover"]),j6("onPointerLeave",["pointerout","pointerover"])}function Rz(J,Q,Z,X,Y,G,H){var B=Q==="mouseover"||Q==="pointerover",U=Q==="mouseout"||Q==="pointerout";if(B&&!j$(X)){var K=X.relatedTarget||X.fromElement;if(K){if(w7(K)||QJ(K))return}}if(!U&&!B)return;var $;if(Y.window===Y)$=Y;else{var A=Y.ownerDocument;if(A)$=A.defaultView||A.parentWindow;else $=window}var M,_;if(U){var L=X.relatedTarget||X.toElement;if(M=Z,_=L?w7(L):null,_!==null){var V=F7(_);if(_!==V||_.tag!==h&&_.tag!==K1)_=null}}else M=null,_=Z;if(M===_)return;var u=x3,J1="onMouseLeave",e="onMouseEnter",C1="mouse";if(Q==="pointerout"||Q==="pointerover")u=h3,J1="onPointerLeave",e="onPointerEnter",C1="pointer";var b1=M==null?$:_9(M),P=_==null?$:_9(_),v=new u(J1,C1+"leave",M,X,Y);v.target=b1,v.relatedTarget=P;var F=null,T=w7(Y);if(T===Z){var p=new u(e,C1+"enter",_,X,Y);p.target=P,p.relatedTarget=b1,F=p}cz(J,v,F,M,_)}function _z(J,Q){return J===Q&&(J!==0||1/J===1/Q)||J!==J&&Q!==Q}var Q8=typeof Object.is==="function"?Object.is:_z;function m5(J,Q){if(Q8(J,Q))return!0;if(typeof J!=="object"||J===null||typeof Q!=="object"||Q===null)return!1;var Z=Object.keys(J),X=Object.keys(Q);if(Z.length!==X.length)return!1;for(var Y=0;Y<Z.length;Y++){var G=Z[Y];if(!F6.call(Q,G)||!Q8(J[G],Q[G]))return!1}return!0}function t3(J){while(J&&J.firstChild)J=J.firstChild;return J}function Lz(J){while(J){if(J.nextSibling)return J.nextSibling;J=J.parentNode}}function n3(J,Q){var Z=t3(J),X=0,Y=0;while(Z){if(Z.nodeType===Y0){if(Y=X+Z.textContent.length,X<=Q&&Y>=Q)return{node:Z,offset:Q-X};X=Y}Z=t3(Lz(Z))}}function Iz(J){var Q=J.ownerDocument,Z=Q&&Q.defaultView||window,X=Z.getSelection&&Z.getSelection();if(!X||X.rangeCount===0)return null;var{anchorNode:Y,anchorOffset:G,focusNode:H,focusOffset:B}=X;try{Y.nodeType,H.nodeType}catch(U){return null}return Vz(J,Y,G,H,B)}function Vz(J,Q,Z,X,Y){var G=0,H=-1,B=-1,U=0,K=0,$=J,A=null;J:while(!0){var M=null;while(!0){if($===Q&&(Z===0||$.nodeType===Y0))H=G+Z;if($===X&&(Y===0||$.nodeType===Y0))B=G+Y;if($.nodeType===Y0)G+=$.nodeValue.length;if((M=$.firstChild)===null)break;A=$,$=M}while(!0){if($===J)break J;if(A===Q&&++U===Z)H=G;if(A===X&&++K===Y)B=G;if((M=$.nextSibling)!==null)break;$=A,A=$.parentNode}$=M}if(H===-1||B===-1)return null;return{start:H,end:B}}function Sz(J,Q){var Z=J.ownerDocument||document,X=Z&&Z.defaultView||window;if(!X.getSelection)return;var Y=X.getSelection(),G=J.textContent.length,H=Math.min(Q.start,G),B=Q.end===void 0?H:Math.min(Q.end,G);if(!Y.extend&&H>B){var U=B;B=H,H=U}var K=n3(J,H),$=n3(J,B);if(K&&$){if(Y.rangeCount===1&&Y.anchorNode===K.node&&Y.anchorOffset===K.offset&&Y.focusNode===$.node&&Y.focusOffset===$.offset)return;var A=Z.createRange();if(A.setStart(K.node,K.offset),Y.removeAllRanges(),H>B)Y.addRange(A),Y.extend($.node,$.offset);else A.setEnd($.node,$.offset),Y.addRange(A)}}function e3(J){return J&&J.nodeType===Y0}function JU(J,Q){if(!J||!Q)return!1;else if(J===Q)return!0;else if(e3(J))return!1;else if(e3(Q))return JU(J,Q.parentNode);else if("contains"in J)return J.contains(Q);else if(J.compareDocumentPosition)return!!(J.compareDocumentPosition(Q)&16);else return!1}function vz(J){return J&&J.ownerDocument&&JU(J.ownerDocument.documentElement,J)}function Dz(J){try{return typeof J.contentWindow.location.href==="string"}catch(Q){return!1}}function QU(){var J=window,Q=x0();while(Q instanceof J.HTMLIFrameElement){if(Dz(Q))J=Q.contentWindow;else return Q;Q=x0(J.document)}return Q}function TY(J){var Q=J&&J.nodeName&&J.nodeName.toLowerCase();return Q&&(Q==="input"&&(J.type==="text"||J.type==="search"||J.type==="tel"||J.type==="url"||J.type==="password")||Q==="textarea"||J.contentEditable==="true")}function wz(){var J=QU();return{focusedElem:J,selectionRange:TY(J)?Ez(J):null}}function Nz(J){var Q=QU(),Z=J.focusedElem,X=J.selectionRange;if(Q!==Z&&vz(Z)){if(X!==null&&TY(Z))Tz(Z,X);var Y=[],G=Z;while(G=G.parentNode)if(G.nodeType===y6)Y.push({element:G,left:G.scrollLeft,top:G.scrollTop});if(typeof Z.focus==="function")Z.focus();for(var H=0;H<Y.length;H++){var B=Y[H];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}}function Ez(J){var Q;if("selectionStart"in J)Q={start:J.selectionStart,end:J.selectionEnd};else Q=Iz(J);return Q||{start:0,end:0}}function Tz(J,Q){var{start:Z,end:X}=Q;if(X===void 0)X=Z;if("selectionStart"in J)J.selectionStart=Z,J.selectionEnd=Math.min(X,J.value.length);else Sz(J,Q)}var Cz=S4&&"documentMode"in document&&document.documentMode<=11;function bz(){n4("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var M9=null,CY=null,d5=null,bY=!1;function kz(J){if("selectionStart"in J&&TY(J))return{start:J.selectionStart,end:J.selectionEnd};else{var Q=J.ownerDocument&&J.ownerDocument.defaultView||window,Z=Q.getSelection();return{anchorNode:Z.anchorNode,anchorOffset:Z.anchorOffset,focusNode:Z.focusNode,focusOffset:Z.focusOffset}}}function gz(J){return J.window===J?J.document:J.nodeType===G0?J:J.ownerDocument}function ZU(J,Q,Z){var X=gz(Z);if(bY||M9==null||M9!==x0(X))return;var Y=kz(M9);if(!d5||!m5(d5,Y)){d5=Y;var G=jQ(CY,"onSelect");if(G.length>0){var H=new SY("onSelect","select",null,Q,Z);J.push({event:H,listeners:G}),H.target=M9}}}function xz(J,Q,Z,X,Y,G,H){var B=Z?_9(Z):window;switch(Q){case"focusin":if(s3(B)||B.contentEditable==="true")M9=B,CY=Z,d5=null;break;case"focusout":M9=null,CY=null,d5=null;break;case"mousedown":bY=!0;break;case"contextmenu":case"mouseup":case"dragend":bY=!1,ZU(J,X,Y);break;case"selectionchange":if(Cz)break;case"keydown":case"keyup":ZU(J,X,Y)}}function kQ(J,Q){var Z={};return Z[J.toLowerCase()]=Q.toLowerCase(),Z["Webkit"+J]="webkit"+Q,Z["Moz"+J]="moz"+Q,Z}var A9={animationend:kQ("Animation","AnimationEnd"),animationiteration:kQ("Animation","AnimationIteration"),animationstart:kQ("Animation","AnimationStart"),transitionend:kQ("Transition","TransitionEnd")},kY={},XU={};if(S4){if(XU=document.createElement("div").style,!("AnimationEvent"in window))delete A9.animationend.animation,delete A9.animationiteration.animation,delete A9.animationstart.animation;if(!("TransitionEvent"in window))delete A9.transitionend.transition}function gQ(J){if(kY[J])return kY[J];else if(!A9[J])return J;var Q=A9[J];for(var Z in Q)if(Q.hasOwnProperty(Z)&&Z in XU)return kY[J]=Q[Z];return J}var YU=gQ("animationend"),GU=gQ("animationiteration"),HU=gQ("animationstart"),BU=gQ("transitionend"),UU=new Map,qU=["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 m0(J,Q){UU.set(J,Q),n4(Q,[J])}function jz(){for(var J=0;J<qU.length;J++){var Q=qU[J],Z=Q.toLowerCase(),X=Q[0].toUpperCase()+Q.slice(1);m0(Z,"on"+X)}m0(YU,"onAnimationEnd"),m0(GU,"onAnimationIteration"),m0(HU,"onAnimationStart"),m0("dblclick","onDoubleClick"),m0("focusin","onFocus"),m0("focusout","onBlur"),m0(BU,"onTransitionEnd")}function hz(J,Q,Z,X,Y,G,H){var B=UU.get(Q);if(B===void 0)return;var U=SY,K=Q;switch(Q){case"keypress":if(EQ(X)===0)return;case"keydown":case"keyup":U=uO;break;case"focusin":K="focus",U=wY;break;case"focusout":K="blur",U=wY;break;case"beforeblur":case"afterblur":U=wY;break;case"click":if(X.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=x3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=SO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=mO;break;case YU:case GU:case HU:U=wO;break;case BU:U=cO;break;case"scroll":U=LO;break;case"wheel":U=pO;break;case"copy":case"cut":case"paste":U=EO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=h3;break}var $=(G&O5)!==0;{var A=!$&&Q==="scroll",M=mz(Z,B,X.type,$,A);if(M.length>0){var _=new U(B,K,null,X,Y);J.push({event:_,listeners:M})}}}jz(),Fz(),Gz(),bz(),iO();function uz(J,Q,Z,X,Y,G,H){hz(J,Q,Z,X,Y,G);var B=(G&k$)===0;if(B)Rz(J,Q,Z,X,Y),Pz(J,Q,Z,X,Y),xz(J,Q,Z,X,Y),Zz(J,Q,Z,X,Y)}var c5=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],gY=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(c5));function KU(J,Q,Z){var X=J.type||"unknown-event";J.currentTarget=Z,p$(X,Q,void 0,J),J.currentTarget=null}function yz(J,Q,Z){var X;if(Z)for(var Y=Q.length-1;Y>=0;Y--){var G=Q[Y],H=G.instance,B=G.currentTarget,U=G.listener;if(H!==X&&J.isPropagationStopped())return;KU(J,U,B),X=H}else for(var K=0;K<Q.length;K++){var $=Q[K],A=$.instance,M=$.currentTarget,_=$.listener;if(A!==X&&J.isPropagationStopped())return;KU(J,_,M),X=A}}function $U(J,Q){var Z=(Q&O5)!==0;for(var X=0;X<J.length;X++){var Y=J[X],G=Y.event,H=Y.listeners;yz(G,H,Z)}s$()}function fz(J,Q,Z,X,Y){var G=EX(Z),H=[];uz(H,J,X,Z,G,Q),$U(H,Q)}function I4(J,Q){if(!gY.has(J))W('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',J);var Z=!1,X=AA(Q),Y=lz(J,Z);if(!X.has(Y))WU(Q,J,NX,Z),X.add(Y)}function xY(J,Q,Z){if(gY.has(J)&&!Q)W('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',J);var X=0;if(Q)X|=O5;WU(Z,J,X,Q)}var xQ="_reactListening"+Math.random().toString(36).slice(2);function l5(J){if(!J[xQ]){J[xQ]=!0,i6.forEach(function(Z){if(Z!=="selectionchange"){if(!gY.has(Z))xY(Z,!1,J);xY(Z,!0,J)}});var Q=J.nodeType===G0?J:J.ownerDocument;if(Q!==null){if(!Q[xQ])Q[xQ]=!0,xY("selectionchange",!1,Q)}}}function WU(J,Q,Z,X,Y){var G=$O(J,Q,Z),H=void 0;if(bX){if(Q==="touchstart"||Q==="touchmove"||Q==="wheel")H=!0}J=J;var B;if(X)if(H!==void 0)B=PO(J,Q,G,H);else B=AO(J,Q,G);else if(H!==void 0)B=FO(J,Q,G,H);else B=MO(J,Q,G)}function OU(J,Q){return J===Q||J.nodeType===j4&&J.parentNode===Q}function jY(J,Q,Z,X,Y){var G=X;if((Q&dB)===0&&(Q&NX)===0){var H=Y;if(X!==null){var B=X;J:while(!0){if(B===null)return;var U=B.tag;if(U===i||U===z1){var K=B.stateNode.containerInfo;if(OU(K,H))break;if(U===z1){var $=B.return;while($!==null){var A=$.tag;if(A===i||A===z1){var M=$.stateNode.containerInfo;if(OU(M,H))return}$=$.return}}while(K!==null){var _=w7(K);if(_===null)return;var L=_.tag;if(L===h||L===K1){B=G=_;continue J}K=K.parentNode}}B=B.return}}}iB(function(){return fz(J,Q,Z,G)})}function p5(J,Q,Z){return{instance:J,listener:Q,currentTarget:Z}}function mz(J,Q,Z,X,Y,G){var H=Q!==null?Q+"Capture":null,B=X?H:Q,U=[],K=J,$=null;while(K!==null){var A=K,M=A.stateNode,_=A.tag;if(_===h&&M!==null){if($=M,B!==null){var L=M5(K,B);if(L!=null)U.push(p5(K,L,$))}}if(Y)break;K=K.return}return U}function jQ(J,Q){var Z=Q+"Capture",X=[],Y=J;while(Y!==null){var G=Y,H=G.stateNode,B=G.tag;if(B===h&&H!==null){var U=H,K=M5(Y,Z);if(K!=null)X.unshift(p5(Y,K,U));var $=M5(Y,Q);if($!=null)X.push(p5(Y,$,U))}Y=Y.return}return X}function P9(J){if(J===null)return null;do J=J.return;while(J&&J.tag!==h);if(J)return J;return null}function dz(J,Q){var Z=J,X=Q,Y=0;for(var G=Z;G;G=P9(G))Y++;var H=0;for(var B=X;B;B=P9(B))H++;while(Y-H>0)Z=P9(Z),Y--;while(H-Y>0)X=P9(X),H--;var U=Y;while(U--){if(Z===X||X!==null&&Z===X.alternate)return Z;Z=P9(Z),X=P9(X)}return null}function zU(J,Q,Z,X,Y){var G=Q._reactName,H=[],B=Z;while(B!==null){if(B===X)break;var U=B,K=U.alternate,$=U.stateNode,A=U.tag;if(K!==null&&K===X)break;if(A===h&&$!==null){var M=$;if(Y){var _=M5(B,G);if(_!=null)H.unshift(p5(B,_,M))}else if(!Y){var L=M5(B,G);if(L!=null)H.push(p5(B,L,M))}}B=B.return}if(H.length!==0)J.push({event:Q,listeners:H})}function cz(J,Q,Z,X,Y){var G=X&&Y?dz(X,Y):null;if(X!==null)zU(J,Q,X,G,!1);if(Y!==null&&Z!==null)zU(J,Z,Y,G,!0)}function lz(J,Q){return J+"__"+(Q?"capture":"bubble")}var f6=!1,s5="dangerouslySetInnerHTML",hQ="suppressContentEditableWarning",d0="suppressHydrationWarning",MU="autoFocus",v7="children",D7="style",uQ="__html",hY,yQ,a5,AU,fQ,PU,FU;hY={dialog:!0,webview:!0},yQ=function(J,Q){D$(J,Q),w$(J,Q),b$(J,Q,{registrationNameDependencies:b4,possibleRegistrationNames:P6})},PU=S4&&!document.documentMode,a5=function(J,Q,Z){if(f6)return;var X=mQ(Z),Y=mQ(Q);if(Y===X)return;f6=!0,W("Prop `%s` did not match. Server: %s Client: %s",J,JSON.stringify(Y),JSON.stringify(X))},AU=function(J){if(f6)return;f6=!0;var Q=[];J.forEach(function(Z){Q.push(Z)}),W("Extra attributes from the server: %s",Q)},fQ=function(J,Q){if(Q===!1)W("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.",J,J,J);else W("Expected `%s` listener to be a function, instead got a value of `%s` type.",J,typeof Q)},FU=function(J,Q){var Z=J.namespaceURI===X0?J.ownerDocument.createElement(J.tagName):J.ownerDocument.createElementNS(J.namespaceURI,J.tagName);return Z.innerHTML=Q,Z.innerHTML};var pz=/\r\n?/g,sz=/\u0000|\uFFFD/g;function mQ(J){P4(J);var Q=typeof J==="string"?J:""+J;return Q.replace(pz,`
|
|
32
|
+
`).replace(sz,"")}function dQ(J,Q,Z,X){var Y=mQ(Q),G=mQ(J);if(G===Y)return;if(X){if(!f6)f6=!0,W('Text content did not match. Server: "%s" Client: "%s"',G,Y)}if(Z&&H1)throw Error("Text content does not match server-rendered HTML.")}function RU(J){return J.nodeType===G0?J:J.ownerDocument}function az(){}function cQ(J){J.onclick=az}function iz(J,Q,Z,X,Y){for(var G in X){if(!X.hasOwnProperty(G))continue;var H=X[G];if(G===D7){if(H)Object.freeze(H);jB(Q,H)}else if(G===s5){var B=H?H[uQ]:void 0;if(B!=null)CB(Q,B)}else if(G===v7){if(typeof H==="string"){var U=J!=="textarea"||H!=="";if(U)KQ(Q,H)}else if(typeof H==="number")KQ(Q,""+H)}else if(G===hQ||G===d0);else if(G===MU);else if(b4.hasOwnProperty(G)){if(H!=null){if(typeof H!=="function")fQ(G,H);if(G==="onScroll")I4("scroll",Q)}}else if(H!=null)w0(Q,G,H,Y)}}function rz(J,Q,Z,X){for(var Y=0;Y<Q.length;Y+=2){var G=Q[Y],H=Q[Y+1];if(G===D7)jB(J,H);else if(G===s5)CB(J,H);else if(G===v7)KQ(J,H);else w0(J,G,H,X)}}function oz(J,Q,Z,X){var Y,G=RU(Z),H,B=X;if(B===X0)B=IX(J);if(B===X0){if(Y=O7(J,Q),!Y&&J!==J.toLowerCase())W("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",J);if(J==="script"){var U=G.createElement("div");U.innerHTML="<script></script>";var K=U.firstChild;H=U.removeChild(K)}else if(typeof Q.is==="string")H=G.createElement(J,{is:Q.is});else if(H=G.createElement(J),J==="select"){var $=H;if(Q.multiple)$.multiple=!0;else if(Q.size)$.size=Q.size}}else H=G.createElementNS(B,J);if(B===X0){if(!Y&&Object.prototype.toString.call(H)==="[object HTMLUnknownElement]"&&!F6.call(hY,J))hY[J]=!0,W("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",J)}return H}function tz(J,Q){return RU(Q).createTextNode(J)}function nz(J,Q,Z,X){var Y=O7(Q,Z);yQ(Q,Z);var G;switch(Q){case"dialog":I4("cancel",J),I4("close",J),G=Z;break;case"iframe":case"object":case"embed":I4("load",J),G=Z;break;case"video":case"audio":for(var H=0;H<c5.length;H++)I4(c5[H],J);G=Z;break;case"source":I4("error",J),G=Z;break;case"img":case"image":case"link":I4("error",J),I4("load",J),G=Z;break;case"details":I4("toggle",J),G=Z;break;case"input":O(J,Z),G=q(J,Z),I4("invalid",J);break;case"option":O4(J,Z),G=Z;break;case"select":$5(J,Z),G=K5(J,Z),I4("invalid",J);break;case"textarea":NB(J,Z),G=_X(J,Z),I4("invalid",J);break;default:G=Z}switch(wX(Q,G),iz(Q,J,X,G,Y),Q){case"input":Q0(J),b(J,Z,!1);break;case"textarea":Q0(J),TB(J);break;case"option":L4(J,Z);break;case"select":RX(J,Z);break;default:if(typeof G.onClick==="function")cQ(J);break}}function ez(J,Q,Z,X,Y){yQ(Q,X);var G=null,H,B;switch(Q){case"input":H=q(J,Z),B=q(J,X),G=[];break;case"select":H=K5(J,Z),B=K5(J,X),G=[];break;case"textarea":H=_X(J,Z),B=_X(J,X),G=[];break;default:if(H=Z,B=X,typeof H.onClick!=="function"&&typeof B.onClick==="function")cQ(J);break}wX(Q,B);var U,K,$=null;for(U in H){if(B.hasOwnProperty(U)||!H.hasOwnProperty(U)||H[U]==null)continue;if(U===D7){var A=H[U];for(K in A)if(A.hasOwnProperty(K)){if(!$)$={};$[K]=""}}else if(U===s5||U===v7);else if(U===hQ||U===d0);else if(U===MU);else if(b4.hasOwnProperty(U)){if(!G)G=[]}else(G=G||[]).push(U,null)}for(U in B){var M=B[U],_=H!=null?H[U]:void 0;if(!B.hasOwnProperty(U)||M===_||M==null&&_==null)continue;if(U===D7){if(M)Object.freeze(M);if(_){for(K in _)if(_.hasOwnProperty(K)&&(!M||!M.hasOwnProperty(K))){if(!$)$={};$[K]=""}for(K in M)if(M.hasOwnProperty(K)&&_[K]!==M[K]){if(!$)$={};$[K]=M[K]}}else{if(!$){if(!G)G=[];G.push(U,$)}$=M}}else if(U===s5){var L=M?M[uQ]:void 0,V=_?_[uQ]:void 0;if(L!=null){if(V!==L)(G=G||[]).push(U,L)}}else if(U===v7){if(typeof M==="string"||typeof M==="number")(G=G||[]).push(U,""+M)}else if(U===hQ||U===d0);else if(b4.hasOwnProperty(U)){if(M!=null){if(typeof M!=="function")fQ(U,M);if(U==="onScroll")I4("scroll",J)}if(!G&&_!==M)G=[]}else(G=G||[]).push(U,M)}if($)F$($,B[D7]),(G=G||[]).push(D7,$);return G}function JM(J,Q,Z,X,Y){if(Z==="input"&&Y.type==="radio"&&Y.name!=null)R(J,Y);var G=O7(Z,X),H=O7(Z,Y);switch(rz(J,Q,G,H),Z){case"input":S(J,Y);break;case"textarea":EB(J,Y);break;case"select":rK(J,Y);break}}function QM(J){{var Q=J.toLowerCase();if(!$Q.hasOwnProperty(Q))return null;return $Q[Q]||null}}function ZM(J,Q,Z,X,Y,G,H){var B,U;switch(B=O7(Q,Z),yQ(Q,Z),Q){case"dialog":I4("cancel",J),I4("close",J);break;case"iframe":case"object":case"embed":I4("load",J);break;case"video":case"audio":for(var K=0;K<c5.length;K++)I4(c5[K],J);break;case"source":I4("error",J);break;case"img":case"image":case"link":I4("error",J),I4("load",J);break;case"details":I4("toggle",J);break;case"input":O(J,Z),I4("invalid",J);break;case"option":O4(J,Z);break;case"select":$5(J,Z),I4("invalid",J);break;case"textarea":NB(J,Z),I4("invalid",J);break}wX(Q,Z);{U=new Set;var $=J.attributes;for(var A=0;A<$.length;A++){var M=$[A].name.toLowerCase();switch(M){case"value":break;case"checked":break;case"selected":break;default:U.add($[A].name)}}}var _=null;for(var L in Z){if(!Z.hasOwnProperty(L))continue;var V=Z[L];if(L===v7){if(typeof V==="string"){if(J.textContent!==V){if(Z[d0]!==!0)dQ(J.textContent,V,G,H);_=[v7,V]}}else if(typeof V==="number"){if(J.textContent!==""+V){if(Z[d0]!==!0)dQ(J.textContent,V,G,H);_=[v7,""+V]}}}else if(b4.hasOwnProperty(L)){if(V!=null){if(typeof V!=="function")fQ(L,V);if(L==="onScroll")I4("scroll",J)}}else if(H&&!0&&typeof B==="boolean"){var u=void 0,J1=B&&f4?null:_6(L);if(Z[d0]===!0);else if(L===hQ||L===d0||L==="value"||L==="checked"||L==="selected");else if(L===s5){var e=J.innerHTML,C1=V?V[uQ]:void 0;if(C1!=null){var b1=FU(J,C1);if(b1!==e)a5(L,e,b1)}}else if(L===D7){if(U.delete(L),PU){var P=A$(V);if(u=J.getAttribute("style"),P!==u)a5(L,u,P)}}else if(B&&!f4){if(U.delete(L.toLowerCase()),u=D0(J,L,V),V!==u)a5(L,u,V)}else if(!$4(L,J1,B)&&!R4(L,V,J1,B)){var v=!1;if(J1!==null)U.delete(J1.attributeName),u=h8(J,L,V,J1);else{var F=X;if(F===X0)F=IX(Q);if(F===X0)U.delete(L.toLowerCase());else{var T=QM(L);if(T!==null&&T!==L)v=!0,U.delete(T);U.delete(L)}u=D0(J,L,V)}var p=f4;if(!p&&V!==u&&!v)a5(L,u,V)}}}if(H){if(U.size>0&&Z[d0]!==!0)AU(U)}switch(Q){case"input":Q0(J),b(J,Z,!0);break;case"textarea":Q0(J),TB(J);break;case"select":case"option":break;default:if(typeof Z.onClick==="function")cQ(J);break}return _}function XM(J,Q,Z){var X=J.nodeValue!==Q;return X}function uY(J,Q){{if(f6)return;f6=!0,W("Did not expect server HTML to contain a <%s> in <%s>.",Q.nodeName.toLowerCase(),J.nodeName.toLowerCase())}}function yY(J,Q){{if(f6)return;f6=!0,W('Did not expect server HTML to contain the text node "%s" in <%s>.',Q.nodeValue,J.nodeName.toLowerCase())}}function fY(J,Q,Z){{if(f6)return;f6=!0,W("Expected server HTML to contain a matching <%s> in <%s>.",Q,J.nodeName.toLowerCase())}}function mY(J,Q){{if(Q==="")return;if(f6)return;f6=!0,W('Expected server HTML to contain a matching text node for "%s" in <%s>.',Q,J.nodeName.toLowerCase())}}function YM(J,Q,Z){switch(Q){case"input":$1(J,Z);return;case"textarea":tK(J,Z);return;case"select":oK(J,Z);return}}var i5=function(){},r5=function(){};{var GM=["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"],_U=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],HM=_U.concat(["button"]),BM=["dd","dt","li","option","optgroup","p","rp","rt"],LU={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};r5=function(J,Q){var Z=k1({},J||LU),X={tag:Q};if(_U.indexOf(Q)!==-1)Z.aTagInScope=null,Z.buttonTagInScope=null,Z.nobrTagInScope=null;if(HM.indexOf(Q)!==-1)Z.pTagInButtonScope=null;if(GM.indexOf(Q)!==-1&&Q!=="address"&&Q!=="div"&&Q!=="p")Z.listItemTagAutoclosing=null,Z.dlItemTagAutoclosing=null;if(Z.current=X,Q==="form")Z.formTag=X;if(Q==="a")Z.aTagInScope=X;if(Q==="button")Z.buttonTagInScope=X;if(Q==="nobr")Z.nobrTagInScope=X;if(Q==="p")Z.pTagInButtonScope=X;if(Q==="li")Z.listItemTagAutoclosing=X;if(Q==="dd"||Q==="dt")Z.dlItemTagAutoclosing=X;return Z};var UM=function(J,Q){switch(Q){case"select":return J==="option"||J==="optgroup"||J==="#text";case"optgroup":return J==="option"||J==="#text";case"option":return J==="#text";case"tr":return J==="th"||J==="td"||J==="style"||J==="script"||J==="template";case"tbody":case"thead":case"tfoot":return J==="tr"||J==="style"||J==="script"||J==="template";case"colgroup":return J==="col"||J==="template";case"table":return J==="caption"||J==="colgroup"||J==="tbody"||J==="tfoot"||J==="thead"||J==="style"||J==="script"||J==="template";case"head":return J==="base"||J==="basefont"||J==="bgsound"||J==="link"||J==="meta"||J==="title"||J==="noscript"||J==="noframes"||J==="style"||J==="script"||J==="template";case"html":return J==="head"||J==="body"||J==="frameset";case"frameset":return J==="frame";case"#document":return J==="html"}switch(J){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Q!=="h1"&&Q!=="h2"&&Q!=="h3"&&Q!=="h4"&&Q!=="h5"&&Q!=="h6";case"rp":case"rt":return BM.indexOf(Q)===-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 Q==null}return!0},qM=function(J,Q){switch(J){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 Q.pTagInButtonScope;case"form":return Q.formTag||Q.pTagInButtonScope;case"li":return Q.listItemTagAutoclosing;case"dd":case"dt":return Q.dlItemTagAutoclosing;case"button":return Q.buttonTagInScope;case"a":return Q.aTagInScope;case"nobr":return Q.nobrTagInScope}return null},IU={};i5=function(J,Q,Z){Z=Z||LU;var X=Z.current,Y=X&&X.tag;if(Q!=null){if(J!=null)W("validateDOMNesting: when childText is passed, childTag should be null");J="#text"}var G=UM(J,Y)?null:X,H=G?null:qM(J,Z),B=G||H;if(!B)return;var U=B.tag,K=!!G+"|"+J+"|"+U;if(IU[K])return;IU[K]=!0;var $=J,A="";if(J==="#text")if(/\S/.test(Q))$="Text nodes";else $="Whitespace text nodes",A=" Make sure you don't have any extra whitespace between tags on each line of your source code.";else $="<"+J+">";if(G){var M="";if(U==="table"&&J==="tr")M+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.";W("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",$,U,A,M)}else W("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",$,U)}}var lQ="suppressHydrationWarning",pQ="$",sQ="/$",o5="$?",t5="$!",KM="style",dY=null,cY=null;function $M(J){var Q,Z,X=J.nodeType;switch(X){case G0:case SX:{Q=X===G0?"#document":"#fragment";var Y=J.documentElement;Z=Y?Y.namespaceURI:VX(null,"");break}default:{var G=X===j4?J.parentNode:J,H=G.namespaceURI||null;Q=G.tagName,Z=VX(H,Q);break}}{var B=Q.toLowerCase(),U=r5(null,B);return{namespace:Z,ancestorInfo:U}}}function WM(J,Q,Z){{var X=J,Y=VX(X.namespace,Q),G=r5(X.ancestorInfo,Q);return{namespace:Y,ancestorInfo:G}}}function lY(J){return J}function OM(J){dY=KO(),cY=wz();var Q=null;return T3(!1),Q}function zM(J){Nz(cY),T3(dY),dY=null,cY=null}function MM(J,Q,Z,X,Y){var G;{var H=X;if(i5(J,null,H.ancestorInfo),typeof Q.children==="string"||typeof Q.children==="number"){var B=""+Q.children,U=r5(H.ancestorInfo,J);i5(null,B,U)}G=H.namespace}var K=oz(J,Q,Z,G);return JJ(Y,K),nY(K,Q),K}function AM(J,Q){J.appendChild(Q)}function PM(J,Q,Z,X,Y){switch(nz(J,Q,Z,X),Q){case"button":case"input":case"select":case"textarea":return!!Z.autoFocus;case"img":return!0;default:return!1}}function FM(J,Q,Z,X,Y,G){{var H=G;if(typeof X.children!==typeof Z.children&&(typeof X.children==="string"||typeof X.children==="number")){var B=""+X.children,U=r5(H.ancestorInfo,Q);i5(null,B,U)}}return ez(J,Q,Z,X)}function pY(J,Q){return J==="textarea"||J==="noscript"||typeof Q.children==="string"||typeof Q.children==="number"||typeof Q.dangerouslySetInnerHTML==="object"&&Q.dangerouslySetInnerHTML!==null&&Q.dangerouslySetInnerHTML.__html!=null}function RM(J,Q,Z,X){{var Y=Z;i5(null,J,Y.ancestorInfo)}var G=tz(J,Q);return JJ(X,G),G}function _M(){var J=window.event;if(J===void 0)return W0;return C3(J.type)}var sY=typeof setTimeout==="function"?setTimeout:void 0,LM=typeof clearTimeout==="function"?clearTimeout:void 0,aY=-1,VU=typeof Promise==="function"?Promise:void 0,IM=typeof queueMicrotask==="function"?queueMicrotask:typeof VU<"u"?function(J){return VU.resolve(null).then(J).catch(VM)}:sY;function VM(J){setTimeout(function(){throw J})}function SM(J,Q,Z,X){switch(Q){case"button":case"input":case"select":case"textarea":if(Z.autoFocus)J.focus();return;case"img":{if(Z.src)J.src=Z.src;return}}}function vM(J,Q,Z,X,Y,G){JM(J,Q,Z,X,Y),nY(J,Y)}function SU(J){KQ(J,"")}function DM(J,Q,Z){J.nodeValue=Z}function wM(J,Q){J.appendChild(Q)}function NM(J,Q){var Z;if(J.nodeType===j4)Z=J.parentNode,Z.insertBefore(Q,J);else Z=J,Z.appendChild(Q);var X=J._reactRootContainer;if((X===null||X===void 0)&&Z.onclick===null)cQ(Z)}function EM(J,Q,Z){J.insertBefore(Q,Z)}function TM(J,Q,Z){if(J.nodeType===j4)J.parentNode.insertBefore(Q,Z);else J.insertBefore(Q,Z)}function CM(J,Q){J.removeChild(Q)}function bM(J,Q){if(J.nodeType===j4)J.parentNode.removeChild(Q);else J.removeChild(Q)}function iY(J,Q){var Z=Q,X=0;do{var Y=Z.nextSibling;if(J.removeChild(Z),Y&&Y.nodeType===j4){var G=Y.data;if(G===sQ)if(X===0){J.removeChild(Y),k5(Q);return}else X--;else if(G===pQ||G===o5||G===t5)X++}Z=Y}while(Z);k5(Q)}function kM(J,Q){if(J.nodeType===j4)iY(J.parentNode,Q);else if(J.nodeType===y6)iY(J,Q);k5(J)}function gM(J){J=J;var Q=J.style;if(typeof Q.setProperty==="function")Q.setProperty("display","none","important");else Q.display="none"}function xM(J){J.nodeValue=""}function jM(J,Q){J=J;var Z=Q[KM],X=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null;J.style.display=vX("display",X)}function hM(J,Q){J.nodeValue=Q}function uM(J){if(J.nodeType===y6)J.textContent="";else if(J.nodeType===G0){if(J.documentElement)J.removeChild(J.documentElement)}}function yM(J,Q,Z){if(J.nodeType!==y6||Q.toLowerCase()!==J.nodeName.toLowerCase())return null;return J}function fM(J,Q){if(Q===""||J.nodeType!==Y0)return null;return J}function mM(J){if(J.nodeType!==j4)return null;return J}function vU(J){return J.data===o5}function rY(J){return J.data===t5}function dM(J){var Q=J.nextSibling&&J.nextSibling.dataset,Z,X,Y;if(Q)Z=Q.dgst,X=Q.msg,Y=Q.stck;return{message:X,digest:Z,stack:Y}}function cM(J,Q){J._reactRetry=Q}function aQ(J){for(;J!=null;J=J.nextSibling){var Q=J.nodeType;if(Q===y6||Q===Y0)break;if(Q===j4){var Z=J.data;if(Z===pQ||Z===t5||Z===o5)break;if(Z===sQ)return null}}return J}function n5(J){return aQ(J.nextSibling)}function lM(J){return aQ(J.firstChild)}function pM(J){return aQ(J.firstChild)}function sM(J){return aQ(J.nextSibling)}function aM(J,Q,Z,X,Y,G,H){JJ(G,J),nY(J,Z);var B;{var U=Y;B=U.namespace}var K=(G.mode&j1)!==G1;return ZM(J,Q,Z,B,X,K,H)}function iM(J,Q,Z,X){JJ(Z,J);var Y=(Z.mode&j1)!==G1;return XM(J,Q)}function rM(J,Q){JJ(Q,J)}function oM(J){var Q=J.nextSibling,Z=0;while(Q){if(Q.nodeType===j4){var X=Q.data;if(X===sQ)if(Z===0)return n5(Q);else Z--;else if(X===pQ||X===t5||X===o5)Z++}Q=Q.nextSibling}return null}function DU(J){var Q=J.previousSibling,Z=0;while(Q){if(Q.nodeType===j4){var X=Q.data;if(X===pQ||X===t5||X===o5)if(Z===0)return Q;else Z--;else if(X===sQ)Z++}Q=Q.previousSibling}return null}function tM(J){k5(J)}function nM(J){k5(J)}function eM(J){return J!=="head"&&J!=="body"}function JA(J,Q,Z,X){var Y=!0;dQ(Q.nodeValue,Z,X,Y)}function QA(J,Q,Z,X,Y,G){if(Q[lQ]!==!0){var H=!0;dQ(X.nodeValue,Y,G,H)}}function ZA(J,Q){if(Q.nodeType===y6)uY(J,Q);else if(Q.nodeType===j4);else yY(J,Q)}function XA(J,Q){{var Z=J.parentNode;if(Z!==null)if(Q.nodeType===y6)uY(Z,Q);else if(Q.nodeType===j4);else yY(Z,Q)}}function YA(J,Q,Z,X,Y){if(Y||Q[lQ]!==!0)if(X.nodeType===y6)uY(Z,X);else if(X.nodeType===j4);else yY(Z,X)}function GA(J,Q,Z){fY(J,Q)}function HA(J,Q){mY(J,Q)}function BA(J,Q,Z){{var X=J.parentNode;if(X!==null)fY(X,Q)}}function UA(J,Q){{var Z=J.parentNode;if(Z!==null)mY(Z,Q)}}function qA(J,Q,Z,X,Y,G){if(G||Q[lQ]!==!0)fY(Z,X)}function KA(J,Q,Z,X,Y){if(Y||Q[lQ]!==!0)mY(Z,X)}function $A(J){W("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",J.nodeName.toLowerCase())}function WA(J){l5(J)}var F9=Math.random().toString(36).slice(2),R9="__reactFiber$"+F9,oY="__reactProps$"+F9,e5="__reactContainer$"+F9,tY="__reactEvents$"+F9,OA="__reactListeners$"+F9,zA="__reactHandles$"+F9;function MA(J){delete J[R9],delete J[oY],delete J[tY],delete J[OA],delete J[zA]}function JJ(J,Q){Q[R9]=J}function iQ(J,Q){Q[e5]=J}function wU(J){J[e5]=null}function QJ(J){return!!J[e5]}function w7(J){var Q=J[R9];if(Q)return Q;var Z=J.parentNode;while(Z){if(Q=Z[e5]||Z[R9],Q){var X=Q.alternate;if(Q.child!==null||X!==null&&X.child!==null){var Y=DU(J);while(Y!==null){var G=Y[R9];if(G)return G;Y=DU(Y)}}return Q}J=Z,Z=J.parentNode}return null}function c0(J){var Q=J[R9]||J[e5];if(Q)if(Q.tag===h||Q.tag===K1||Q.tag===f||Q.tag===i)return Q;else return null;return null}function _9(J){if(J.tag===h||J.tag===K1)return J.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function rQ(J){return J[oY]||null}function nY(J,Q){J[oY]=Q}function AA(J){var Q=J[tY];if(Q===void 0)Q=J[tY]=new Set;return Q}var NU={},EU=I.ReactDebugCurrentFrame;function oQ(J){if(J){var Q=J._owner,Z=b0(J.type,J._source,Q?Q.type:null);EU.setExtraStackFrame(Z)}else EU.setExtraStackFrame(null)}function S8(J,Q,Z,X,Y){{var G=Function.call.bind(F6);for(var H in J)if(G(J,H)){var B=void 0;try{if(typeof J[H]!=="function"){var U=Error((X||"React class")+": "+Z+" type `"+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof J[H]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw U.name="Invariant Violation",U}B=J[H](Q,H,X,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){B=K}if(B&&!(B instanceof Error))oQ(Y),W("%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",Z,H,typeof B),oQ(null);if(B instanceof Error&&!(B.message in NU))NU[B.message]=!0,oQ(Y),W("Failed %s type: %s",Z,B.message),oQ(null)}}}var eY=[],tQ;tQ=[];var O0=-1;function l0(J){return{current:J}}function I6(J,Q){if(O0<0){W("Unexpected pop.");return}if(Q!==tQ[O0])W("Unexpected Fiber popped.");J.current=eY[O0],eY[O0]=null,tQ[O0]=null,O0--}function V6(J,Q,Z){O0++,eY[O0]=J.current,tQ[O0]=Z,J.current=Q}var TU={},Z8={};Object.freeze(Z8);var z0=l0(Z8),l8=l0(!1),JG=Z8;function L9(J,Q,Z){{if(Z&&p8(Q))return JG;return z0.current}}function CU(J,Q,Z){{var X=J.stateNode;X.__reactInternalMemoizedUnmaskedChildContext=Q,X.__reactInternalMemoizedMaskedChildContext=Z}}function I9(J,Q){{var Z=J.type,X=Z.contextTypes;if(!X)return Z8;var Y=J.stateNode;if(Y&&Y.__reactInternalMemoizedUnmaskedChildContext===Q)return Y.__reactInternalMemoizedMaskedChildContext;var G={};for(var H in X)G[H]=Q[H];{var B=V1(J)||"Unknown";S8(X,G,"context",B)}if(Y)CU(J,Q,G);return G}}function nQ(){return l8.current}function p8(J){{var Q=J.childContextTypes;return Q!==null&&Q!==void 0}}function eQ(J){I6(l8,J),I6(z0,J)}function QG(J){I6(l8,J),I6(z0,J)}function bU(J,Q,Z){{if(z0.current!==Z8)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");V6(z0,Q,J),V6(l8,Z,J)}}function kU(J,Q,Z){{var X=J.stateNode,Y=Q.childContextTypes;if(typeof X.getChildContext!=="function"){{var G=V1(J)||"Unknown";if(!TU[G])TU[G]=!0,W("%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.",G,G)}return Z}var H=X.getChildContext();for(var B in H)if(!(B in Y))throw Error((V1(J)||"Unknown")+'.getChildContext(): key "'+B+'" is not defined in childContextTypes.');{var U=V1(J)||"Unknown";S8(Y,H,"child context",U)}return k1({},Z,H)}}function JZ(J){{var Q=J.stateNode,Z=Q&&Q.__reactInternalMemoizedMergedChildContext||Z8;return JG=z0.current,V6(z0,Z,J),V6(l8,l8.current,J),!0}}function gU(J,Q,Z){{var X=J.stateNode;if(!X)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(Z){var Y=kU(J,Q,JG);X.__reactInternalMemoizedMergedChildContext=Y,I6(l8,J),I6(z0,J),V6(z0,Y,J),V6(l8,Z,J)}else I6(l8,J),V6(l8,Z,J)}}function PA(J){{if(!e$(J)||J.tag!==a)throw 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 Q=J;do{switch(Q.tag){case i:return Q.stateNode.context;case a:{var Z=Q.type;if(p8(Z))return Q.stateNode.__reactInternalMemoizedMergedChildContext;break}}Q=Q.return}while(Q!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var p0=0,QZ=1,M0=null,ZG=!1,XG=!1;function xU(J){if(M0===null)M0=[J];else M0.push(J)}function FA(J){ZG=!0,xU(J)}function jU(){if(ZG)s0()}function s0(){if(!XG&&M0!==null){XG=!0;var J=0,Q=V8();try{var Z=!0,X=M0;Y6(e6);for(;J<X.length;J++){var Y=X[J];do Y=Y(Z);while(Y!==null)}M0=null,ZG=!1}catch(G){if(M0!==null)M0=M0.slice(J+1);throw G3(AQ,s0),G}finally{Y6(Q),XG=!1}}return null}var V9=[],S9=0,ZZ=null,XZ=0,U8=[],q8=0,N7=null,A0=1,P0="";function RA(J){return T7(),(J.flags&tB)!==U1}function _A(J){return T7(),XZ}function LA(){var J=P0,Q=A0,Z=Q&~IA(Q);return Z.toString(32)+J}function E7(J,Q){T7(),V9[S9++]=XZ,V9[S9++]=ZZ,ZZ=J,XZ=Q}function hU(J,Q,Z){T7(),U8[q8++]=A0,U8[q8++]=P0,U8[q8++]=N7,N7=J;var X=A0,Y=P0,G=YZ(X)-1,H=X&~(1<<G),B=Z+1,U=YZ(Q)+G;if(U>30){var K=G-G%5,$=(1<<K)-1,A=(H&$).toString(32),M=H>>K,_=G-K,L=YZ(Q)+_,V=B<<_,u=V|M,J1=A+Y;A0=1<<L|u,P0=J1}else{var e=B<<G,C1=e|H,b1=Y;A0=1<<U|C1,P0=b1}}function YG(J){T7();var Q=J.return;if(Q!==null){var Z=1,X=0;E7(J,Z),hU(J,Z,X)}}function YZ(J){return 32-$3(J)}function IA(J){return 1<<YZ(J)-1}function GG(J){while(J===ZZ)ZZ=V9[--S9],V9[S9]=null,XZ=V9[--S9],V9[S9]=null;while(J===N7)N7=U8[--q8],U8[q8]=null,P0=U8[--q8],U8[q8]=null,A0=U8[--q8],U8[q8]=null}function VA(){if(T7(),N7!==null)return{id:A0,overflow:P0};else return null}function SA(J,Q){T7(),U8[q8++]=A0,U8[q8++]=P0,U8[q8++]=N7,A0=Q.id,P0=Q.overflow,N7=J}function T7(){if(!q6())W("Expected to be hydrating. This is a bug in React. Please file an issue.")}var U6=null,K8=null,v8=!1,C7=!1,a0=null;function vA(){if(v8)W("We should not be hydrating here. This is a bug in React. Please file a bug.")}function uU(){C7=!0}function DA(){return C7}function wA(J){var Q=J.stateNode.containerInfo;return K8=pM(Q),U6=J,v8=!0,a0=null,C7=!1,!0}function NA(J,Q,Z){if(K8=sM(Q),U6=J,v8=!0,a0=null,C7=!1,Z!==null)SA(J,Z);return!0}function yU(J,Q){switch(J.tag){case i:{ZA(J.stateNode.containerInfo,Q);break}case h:{var Z=(J.mode&j1)!==G1;YA(J.type,J.memoizedProps,J.stateNode,Q,Z);break}case f:{var X=J.memoizedState;if(X.dehydrated!==null)XA(X.dehydrated,Q);break}}}function fU(J,Q){yU(J,Q);var Z=jR();Z.stateNode=Q,Z.return=J;var X=J.deletions;if(X===null)J.deletions=[Z],J.flags|=z7;else X.push(Z)}function HG(J,Q){{if(C7)return;switch(J.tag){case i:{var Z=J.stateNode.containerInfo;switch(Q.tag){case h:var{type:X,pendingProps:Y}=Q;GA(Z,X);break;case K1:var G=Q.pendingProps;HA(Z,G);break}break}case h:{var{type:H,memoizedProps:B,stateNode:U}=J;switch(Q.tag){case h:{var{type:K,pendingProps:$}=Q,A=(J.mode&j1)!==G1;qA(H,B,U,K,$,A);break}case K1:{var M=Q.pendingProps,_=(J.mode&j1)!==G1;KA(H,B,U,M,_);break}}break}case f:{var L=J.memoizedState,V=L.dehydrated;if(V!==null)switch(Q.tag){case h:var{type:u,pendingProps:J1}=Q;BA(V,u);break;case K1:var e=Q.pendingProps;UA(V,e);break}break}default:return}}}function mU(J,Q){Q.flags=Q.flags&~B0|h4,HG(J,Q)}function dU(J,Q){switch(J.tag){case h:{var{type:Z,pendingProps:X}=J,Y=yM(Q,Z);if(Y!==null)return J.stateNode=Y,U6=J,K8=lM(Y),!0;return!1}case K1:{var G=J.pendingProps,H=fM(Q,G);if(H!==null)return J.stateNode=H,U6=J,K8=null,!0;return!1}case f:{var B=mM(Q);if(B!==null){var U={dehydrated:B,treeContext:VA(),retryLane:t6};J.memoizedState=U;var K=hR(B);return K.return=J,J.child=K,U6=J,K8=null,!0}return!1}default:return!1}}function BG(J){return(J.mode&j1)!==G1&&(J.flags&n1)===U1}function UG(J){throw Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function qG(J){if(!v8)return;var Q=K8;if(!Q){if(BG(J))HG(U6,J),UG();mU(U6,J),v8=!1,U6=J;return}var Z=Q;if(!dU(J,Q)){if(BG(J))HG(U6,J),UG();Q=n5(Z);var X=U6;if(!Q||!dU(J,Q)){mU(U6,J),v8=!1,U6=J;return}fU(X,Z)}}function EA(J,Q,Z){var X=J.stateNode,Y=!C7,G=aM(X,J.type,J.memoizedProps,Q,Z,J,Y);if(J.updateQueue=G,G!==null)return!0;return!1}function TA(J){var{stateNode:Q,memoizedProps:Z}=J,X=iM(Q,Z,J);if(X){var Y=U6;if(Y!==null)switch(Y.tag){case i:{var G=Y.stateNode.containerInfo,H=(Y.mode&j1)!==G1;JA(G,Q,Z,H);break}case h:{var{type:B,memoizedProps:U,stateNode:K}=Y,$=(Y.mode&j1)!==G1;QA(B,U,K,Q,Z,$);break}}}return X}function CA(J){var Q=J.memoizedState,Z=Q!==null?Q.dehydrated:null;if(!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");rM(Z,J)}function bA(J){var Q=J.memoizedState,Z=Q!==null?Q.dehydrated:null;if(!Z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return oM(Z)}function cU(J){var Q=J.return;while(Q!==null&&Q.tag!==h&&Q.tag!==i&&Q.tag!==f)Q=Q.return;U6=Q}function GZ(J){if(J!==U6)return!1;if(!v8)return cU(J),v8=!0,!1;if(J.tag!==i&&(J.tag!==h||eM(J.type)&&!pY(J.type,J.memoizedProps))){var Q=K8;if(Q)if(BG(J))lU(J),UG();else while(Q)fU(J,Q),Q=n5(Q)}if(cU(J),J.tag===f)K8=bA(J);else K8=U6?n5(J.stateNode):null;return!0}function kA(){return v8&&K8!==null}function lU(J){var Q=K8;while(Q)yU(J,Q),Q=n5(Q)}function v9(){U6=null,K8=null,v8=!1,C7=!1}function pU(){if(a0!==null)yq(a0),a0=null}function q6(){return v8}function KG(J){if(a0===null)a0=[J];else a0.push(J)}var gA=I.ReactCurrentBatchConfig,xA=null;function jA(){return gA.transition}var D8={recordUnsafeLifecycleWarnings:function(J,Q){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(J,Q){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var hA=function(J){var Q=null,Z=J;while(Z!==null){if(Z.mode&T4)Q=Z;Z=Z.return}return Q},b7=function(J){var Q=[];return J.forEach(function(Z){Q.push(Z)}),Q.sort().join(", ")},ZJ=[],XJ=[],YJ=[],GJ=[],HJ=[],BJ=[],k7=new Set;D8.recordUnsafeLifecycleWarnings=function(J,Q){if(k7.has(J.type))return;if(typeof Q.componentWillMount==="function"&&Q.componentWillMount.__suppressDeprecationWarning!==!0)ZJ.push(J);if(J.mode&T4&&typeof Q.UNSAFE_componentWillMount==="function")XJ.push(J);if(typeof Q.componentWillReceiveProps==="function"&&Q.componentWillReceiveProps.__suppressDeprecationWarning!==!0)YJ.push(J);if(J.mode&T4&&typeof Q.UNSAFE_componentWillReceiveProps==="function")GJ.push(J);if(typeof Q.componentWillUpdate==="function"&&Q.componentWillUpdate.__suppressDeprecationWarning!==!0)HJ.push(J);if(J.mode&T4&&typeof Q.UNSAFE_componentWillUpdate==="function")BJ.push(J)},D8.flushPendingUnsafeLifecycleWarnings=function(){var J=new Set;if(ZJ.length>0)ZJ.forEach(function(M){J.add(V1(M)||"Component"),k7.add(M.type)}),ZJ=[];var Q=new Set;if(XJ.length>0)XJ.forEach(function(M){Q.add(V1(M)||"Component"),k7.add(M.type)}),XJ=[];var Z=new Set;if(YJ.length>0)YJ.forEach(function(M){Z.add(V1(M)||"Component"),k7.add(M.type)}),YJ=[];var X=new Set;if(GJ.length>0)GJ.forEach(function(M){X.add(V1(M)||"Component"),k7.add(M.type)}),GJ=[];var Y=new Set;if(HJ.length>0)HJ.forEach(function(M){Y.add(V1(M)||"Component"),k7.add(M.type)}),HJ=[];var G=new Set;if(BJ.length>0)BJ.forEach(function(M){G.add(V1(M)||"Component"),k7.add(M.type)}),BJ=[];if(Q.size>0){var H=b7(Q);W(`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.
|
|
33
|
+
|
|
34
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
35
|
+
|
|
36
|
+
Please update the following components: %s`,H)}if(X.size>0){var B=b7(X);W(`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.
|
|
37
|
+
|
|
38
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
39
|
+
* 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
|
|
40
|
+
|
|
41
|
+
Please update the following components: %s`,B)}if(G.size>0){var U=b7(G);W(`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.
|
|
42
|
+
|
|
43
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
44
|
+
|
|
45
|
+
Please update the following components: %s`,U)}if(J.size>0){var K=b7(J);O1(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
46
|
+
|
|
47
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
48
|
+
* 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.
|
|
49
|
+
|
|
50
|
+
Please update the following components: %s`,K)}if(Z.size>0){var $=b7(Z);O1(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
51
|
+
|
|
52
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
53
|
+
* 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
|
|
54
|
+
* 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.
|
|
55
|
+
|
|
56
|
+
Please update the following components: %s`,$)}if(Y.size>0){var A=b7(Y);O1(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
57
|
+
|
|
58
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
59
|
+
* 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.
|
|
60
|
+
|
|
61
|
+
Please update the following components: %s`,A)}};var HZ=new Map,sU=new Set;D8.recordLegacyContextWarning=function(J,Q){var Z=hA(J);if(Z===null){W("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(sU.has(J.type))return;var X=HZ.get(Z);if(J.type.contextTypes!=null||J.type.childContextTypes!=null||Q!==null&&typeof Q.getChildContext==="function"){if(X===void 0)X=[],HZ.set(Z,X);X.push(J)}},D8.flushLegacyContextWarning=function(){HZ.forEach(function(J,Q){if(J.length===0)return;var Z=J[0],X=new Set;J.forEach(function(G){X.add(V1(G)||"Component"),sU.add(G.type)});var Y=b7(X);try{D4(Z),W(`Legacy context API has been detected within a strict-mode tree.
|
|
62
|
+
|
|
63
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
64
|
+
|
|
65
|
+
Please update the following components: %s
|
|
66
|
+
|
|
67
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,Y)}finally{J6()}})},D8.discardPendingWarnings=function(){ZJ=[],XJ=[],YJ=[],GJ=[],HJ=[],BJ=[],HZ=new Map}}var $G,WG,OG,zG,MG,aU=function(J,Q){};$G=!1,WG=!1,OG={},zG={},MG={},aU=function(J,Q){if(J===null||typeof J!=="object")return;if(!J._store||J._store.validated||J.key!=null)return;if(typeof J._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");J._store.validated=!0;var Z=V1(Q)||"Component";if(zG[Z])return;zG[Z]=!0,W('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.')};function uA(J){return J.prototype&&J.prototype.isReactComponent}function UJ(J,Q,Z){var X=Z.ref;if(X!==null&&typeof X!=="function"&&typeof X!=="object"){if((J.mode&T4||x4)&&!(Z._owner&&Z._self&&Z._owner.stateNode!==Z._self)&&!(Z._owner&&Z._owner.tag!==a)&&!(typeof Z.type==="function"&&!uA(Z.type))&&Z._owner){var Y=V1(J)||"Component";if(!OG[Y])W('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',Y,X),OG[Y]=!0}if(Z._owner){var G=Z._owner,H;if(G){var B=G;if(B.tag!==a)throw 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");H=B.stateNode}if(!H)throw Error("Missing owner for string ref "+X+". This error is likely caused by a bug in React. Please file an issue.");var U=H;t(X,"ref");var K=""+X;if(Q!==null&&Q.ref!==null&&typeof Q.ref==="function"&&Q.ref._stringRef===K)return Q.ref;var $=function(A){var M=U.refs;if(A===null)delete M[K];else M[K]=A};return $._stringRef=K,$}else{if(typeof X!=="string")throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!Z._owner)throw Error("Element ref was specified as a string ("+X+`) but no owner was set. This could happen for one of the following reasons:
|
|
68
|
+
1. You may be adding a ref to a function component
|
|
69
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
70
|
+
3. You have multiple copies of React loaded
|
|
71
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return X}function BZ(J,Q){var Z=Object.prototype.toString.call(Q);throw Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}function UZ(J){{var Q=V1(J)||"Component";if(MG[Q])return;MG[Q]=!0,W("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 iU(J){var{_payload:Q,_init:Z}=J;return Z(Q)}function rU(J){function Q(P,v){if(!J)return;var F=P.deletions;if(F===null)P.deletions=[v],P.flags|=z7;else F.push(v)}function Z(P,v){if(!J)return null;var F=v;while(F!==null)Q(P,F),F=F.sibling;return null}function X(P,v){var F=new Map,T=v;while(T!==null){if(T.key!==null)F.set(T.key,T);else F.set(T.index,T);T=T.sibling}return F}function Y(P,v){var F=d7(P,v);return F.index=0,F.sibling=null,F}function G(P,v,F){if(P.index=F,!J)return P.flags|=tB,v;var T=P.alternate;if(T!==null){var p=T.index;if(p<v)return P.flags|=h4,v;else return p}else return P.flags|=h4,v}function H(P){if(J&&P.alternate===null)P.flags|=h4;return P}function B(P,v,F,T){if(v===null||v.tag!==K1){var p=WB(F,P.mode,T);return p.return=P,p}else{var m=Y(v,F);return m.return=P,m}}function U(P,v,F,T){var p=F.type;if(p===u8)return $(P,v,F.props.children,T,F.key);if(v!==null){if(v.elementType===p||QK(v,F)||typeof p==="object"&&p!==null&&p.$$typeof===o1&&iU(p)===v.type){var m=Y(v,F.props);return m.ref=UJ(P,v,F),m.return=P,m._debugSource=F._source,m._debugOwner=F._owner,m}}var W1=$B(F,P.mode,T);return W1.ref=UJ(P,v,F),W1.return=P,W1}function K(P,v,F,T){if(v===null||v.tag!==z1||v.stateNode.containerInfo!==F.containerInfo||v.stateNode.implementation!==F.implementation){var p=OB(F,P.mode,T);return p.return=P,p}else{var m=Y(v,F.children||[]);return m.return=P,m}}function $(P,v,F,T,p){if(v===null||v.tag!==q4){var m=Y7(F,P.mode,T,p);return m.return=P,m}else{var W1=Y(v,F);return W1.return=P,W1}}function A(P,v,F){if(typeof v==="string"&&v!==""||typeof v==="number"){var T=WB(""+v,P.mode,F);return T.return=P,T}if(typeof v==="object"&&v!==null){switch(v.$$typeof){case P8:{var p=$B(v,P.mode,F);return p.ref=UJ(P,null,v),p.return=P,p}case F8:{var m=OB(v,P.mode,F);return m.return=P,m}case o1:{var{_payload:W1,_init:R1}=v;return A(P,R1(W1),F)}}if(t1(v)||_8(v)){var G4=Y7(v,P.mode,F,null);return G4.return=P,G4}BZ(P,v)}if(typeof v==="function")UZ(P);return null}function M(P,v,F,T){var p=v!==null?v.key:null;if(typeof F==="string"&&F!==""||typeof F==="number"){if(p!==null)return null;return B(P,v,""+F,T)}if(typeof F==="object"&&F!==null){switch(F.$$typeof){case P8:if(F.key===p)return U(P,v,F,T);else return null;case F8:if(F.key===p)return K(P,v,F,T);else return null;case o1:{var{_payload:m,_init:W1}=F;return M(P,v,W1(m),T)}}if(t1(F)||_8(F)){if(p!==null)return null;return $(P,v,F,T,null)}BZ(P,F)}if(typeof F==="function")UZ(P);return null}function _(P,v,F,T,p){if(typeof T==="string"&&T!==""||typeof T==="number"){var m=P.get(F)||null;return B(v,m,""+T,p)}if(typeof T==="object"&&T!==null){switch(T.$$typeof){case P8:{var W1=P.get(T.key===null?F:T.key)||null;return U(v,W1,T,p)}case F8:{var R1=P.get(T.key===null?F:T.key)||null;return K(v,R1,T,p)}case o1:var{_payload:G4,_init:s1}=T;return _(P,v,F,s1(G4),p)}if(t1(T)||_8(T)){var g4=P.get(F)||null;return $(v,g4,T,p,null)}BZ(v,T)}if(typeof T==="function")UZ(v);return null}function L(P,v,F){{if(typeof P!=="object"||P===null)return v;switch(P.$$typeof){case P8:case F8:aU(P,F);var T=P.key;if(typeof T!=="string")break;if(v===null){v=new Set,v.add(T);break}if(!v.has(T)){v.add(T);break}W("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.",T);break;case o1:var{_payload:p,_init:m}=P;L(m(p),v,F);break}}return v}function V(P,v,F,T){{var p=null;for(var m=0;m<F.length;m++){var W1=F[m];p=L(W1,p,P)}}var R1=null,G4=null,s1=v,g4=0,a1=0,C4=null;for(;s1!==null&&a1<F.length;a1++){if(s1.index>a1)C4=s1,s1=null;else C4=s1.sibling;var v6=M(P,s1,F[a1],T);if(v6===null){if(s1===null)s1=C4;break}if(J){if(s1&&v6.alternate===null)Q(P,s1)}if(g4=G(v6,g4,a1),G4===null)R1=v6;else G4.sibling=v6;G4=v6,s1=C4}if(a1===F.length){if(Z(P,s1),q6()){var A6=a1;E7(P,A6)}return R1}if(s1===null){for(;a1<F.length;a1++){var Y8=A(P,F[a1],T);if(Y8===null)continue;if(g4=G(Y8,g4,a1),G4===null)R1=Y8;else G4.sibling=Y8;G4=Y8}if(q6()){var g6=a1;E7(P,g6)}return R1}var x6=X(P,s1);for(;a1<F.length;a1++){var D6=_(x6,P,a1,F[a1],T);if(D6!==null){if(J){if(D6.alternate!==null)x6.delete(D6.key===null?a1:D6.key)}if(g4=G(D6,g4,a1),G4===null)R1=D6;else G4.sibling=D6;G4=D6}}if(J)x6.forEach(function(l9){return Q(P,l9)});if(q6()){var S0=a1;E7(P,S0)}return R1}function u(P,v,F,T){var p=_8(F);if(typeof p!=="function")throw 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"&&F[Symbol.toStringTag]==="Generator"){if(!WG)W("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.");WG=!0}if(F.entries===p){if(!$G)W("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");$G=!0}var m=p.call(F);if(m){var W1=null,R1=m.next();for(;!R1.done;R1=m.next()){var G4=R1.value;W1=L(G4,W1,P)}}}var s1=p.call(F);if(s1==null)throw Error("An iterable object provided no iterator.");var g4=null,a1=null,C4=v,v6=0,A6=0,Y8=null,g6=s1.next();for(;C4!==null&&!g6.done;A6++,g6=s1.next()){if(C4.index>A6)Y8=C4,C4=null;else Y8=C4.sibling;var x6=M(P,C4,g6.value,T);if(x6===null){if(C4===null)C4=Y8;break}if(J){if(C4&&x6.alternate===null)Q(P,C4)}if(v6=G(x6,v6,A6),a1===null)g4=x6;else a1.sibling=x6;a1=x6,C4=Y8}if(g6.done){if(Z(P,C4),q6()){var D6=A6;E7(P,D6)}return g4}if(C4===null){for(;!g6.done;A6++,g6=s1.next()){var S0=A(P,g6.value,T);if(S0===null)continue;if(v6=G(S0,v6,A6),a1===null)g4=S0;else a1.sibling=S0;a1=S0}if(q6()){var l9=A6;E7(P,l9)}return g4}var fJ=X(P,C4);for(;!g6.done;A6++,g6=s1.next()){var e8=_(fJ,P,A6,g6.value,T);if(e8!==null){if(J){if(e8.alternate!==null)fJ.delete(e8.key===null?A6:e8.key)}if(v6=G(e8,v6,A6),a1===null)g4=e8;else a1.sibling=e8;a1=e8}}if(J)fJ.forEach(function(z_){return Q(P,z_)});if(q6()){var O_=A6;E7(P,O_)}return g4}function J1(P,v,F,T){if(v!==null&&v.tag===K1){Z(P,v.sibling);var p=Y(v,F);return p.return=P,p}Z(P,v);var m=WB(F,P.mode,T);return m.return=P,m}function e(P,v,F,T){var p=F.key,m=v;while(m!==null){if(m.key===p){var W1=F.type;if(W1===u8){if(m.tag===q4){Z(P,m.sibling);var R1=Y(m,F.props.children);return R1.return=P,R1._debugSource=F._source,R1._debugOwner=F._owner,R1}}else if(m.elementType===W1||QK(m,F)||typeof W1==="object"&&W1!==null&&W1.$$typeof===o1&&iU(W1)===m.type){Z(P,m.sibling);var G4=Y(m,F.props);return G4.ref=UJ(P,m,F),G4.return=P,G4._debugSource=F._source,G4._debugOwner=F._owner,G4}Z(P,m);break}else Q(P,m);m=m.sibling}if(F.type===u8){var s1=Y7(F.props.children,P.mode,T,F.key);return s1.return=P,s1}else{var g4=$B(F,P.mode,T);return g4.ref=UJ(P,v,F),g4.return=P,g4}}function C1(P,v,F,T){var p=F.key,m=v;while(m!==null){if(m.key===p)if(m.tag===z1&&m.stateNode.containerInfo===F.containerInfo&&m.stateNode.implementation===F.implementation){Z(P,m.sibling);var W1=Y(m,F.children||[]);return W1.return=P,W1}else{Z(P,m);break}else Q(P,m);m=m.sibling}var R1=OB(F,P.mode,T);return R1.return=P,R1}function b1(P,v,F,T){var p=typeof F==="object"&&F!==null&&F.type===u8&&F.key===null;if(p)F=F.props.children;if(typeof F==="object"&&F!==null){switch(F.$$typeof){case P8:return H(e(P,v,F,T));case F8:return H(C1(P,v,F,T));case o1:var{_payload:m,_init:W1}=F;return b1(P,v,W1(m),T)}if(t1(F))return V(P,v,F,T);if(_8(F))return u(P,v,F,T);BZ(P,F)}if(typeof F==="string"&&F!==""||typeof F==="number")return H(J1(P,v,""+F,T));if(typeof F==="function")UZ(P);return Z(P,v)}return b1}var D9=rU(!0),oU=rU(!1);function yA(J,Q){if(J!==null&&Q.child!==J.child)throw Error("Resuming work not yet implemented.");if(Q.child===null)return;var Z=Q.child,X=d7(Z,Z.pendingProps);Q.child=X,X.return=Q;while(Z.sibling!==null)Z=Z.sibling,X=X.sibling=d7(Z,Z.pendingProps),X.return=Q;X.sibling=null}function fA(J,Q){var Z=J.child;while(Z!==null)CR(Z,Q),Z=Z.sibling}var AG=l0(null),PG;PG={};var qZ=null,w9=null,FG=null,KZ=!1;function $Z(){qZ=null,w9=null,FG=null,KZ=!1}function tU(){KZ=!0}function nU(){KZ=!1}function eU(J,Q,Z){{V6(AG,Q._currentValue,J),Q._currentValue=Z;{if(Q._currentRenderer!==void 0&&Q._currentRenderer!==null&&Q._currentRenderer!==PG)W("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");Q._currentRenderer=PG}}}function RG(J,Q){var Z=AG.current;I6(AG,Q),J._currentValue=Z}function _G(J,Q,Z){var X=J;while(X!==null){var Y=X.alternate;if(!$9(X.childLanes,Q)){if(X.childLanes=w1(X.childLanes,Q),Y!==null)Y.childLanes=w1(Y.childLanes,Q)}else if(Y!==null&&!$9(Y.childLanes,Q))Y.childLanes=w1(Y.childLanes,Q);if(X===Z)break;X=X.return}if(X!==Z)W("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 mA(J,Q,Z){dA(J,Q,Z)}function dA(J,Q,Z){var X=J.child;if(X!==null)X.return=J;while(X!==null){var Y=void 0,G=X.dependencies;if(G!==null){Y=X.child;var H=G.firstContext;while(H!==null){if(H.context===Q){if(X.tag===a){var B=D5(Z),U=F0(F4,B);U.tag=OZ;var K=X.updateQueue;if(K===null);else{var $=K.shared,A=$.pending;if(A===null)U.next=U;else U.next=A.next,A.next=U;$.pending=U}}X.lanes=w1(X.lanes,Z);var M=X.alternate;if(M!==null)M.lanes=w1(M.lanes,Z);_G(X.return,Z,J),G.lanes=w1(G.lanes,Z);break}H=H.next}}else if(X.tag===g1)Y=X.type===J.type?null:X.child;else if(X.tag===y1){var _=X.return;if(_===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");_.lanes=w1(_.lanes,Z);var L=_.alternate;if(L!==null)L.lanes=w1(L.lanes,Z);_G(_,Z,J),Y=X.sibling}else Y=X.child;if(Y!==null)Y.return=X;else{Y=X;while(Y!==null){if(Y===J){Y=null;break}var V=Y.sibling;if(V!==null){V.return=Y.return,Y=V;break}Y=Y.return}}X=Y}}function N9(J,Q){qZ=J,w9=null,FG=null;var Z=J.dependencies;if(Z!==null){var X=Z.firstContext;if(X!==null){if(n6(Z.lanes,Q))VJ();Z.firstContext=null}}}function u4(J){if(KZ)W("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 Q=J._currentValue;if(FG===J);else{var Z={context:J,memoizedValue:Q,next:null};if(w9===null){if(qZ===null)throw 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().");w9=Z,qZ.dependencies={lanes:N,firstContext:Z}}else w9=w9.next=Z}return Q}var g7=null;function LG(J){if(g7===null)g7=[J];else g7.push(J)}function cA(){if(g7!==null){for(var J=0;J<g7.length;J++){var Q=g7[J],Z=Q.interleaved;if(Z!==null){Q.interleaved=null;var X=Z.next,Y=Q.pending;if(Y!==null){var G=Y.next;Y.next=X,Z.next=G}Q.pending=Z}}g7=null}}function J2(J,Q,Z,X){var Y=Q.interleaved;if(Y===null)Z.next=Z,LG(Q);else Z.next=Y.next,Y.next=Z;return Q.interleaved=Z,WZ(J,X)}function lA(J,Q,Z,X){var Y=Q.interleaved;if(Y===null)Z.next=Z,LG(Q);else Z.next=Y.next,Y.next=Z;Q.interleaved=Z}function pA(J,Q,Z,X){var Y=Q.interleaved;if(Y===null)Z.next=Z,LG(Q);else Z.next=Y.next,Y.next=Z;return Q.interleaved=Z,WZ(J,X)}function m6(J,Q){return WZ(J,Q)}var sA=WZ;function WZ(J,Q){J.lanes=w1(J.lanes,Q);var Z=J.alternate;if(Z!==null)Z.lanes=w1(Z.lanes,Q);if(Z===null&&(J.flags&(h4|B0))!==U1)tq(J);var X=J,Y=J.return;while(Y!==null){if(Y.childLanes=w1(Y.childLanes,Q),Z=Y.alternate,Z!==null)Z.childLanes=w1(Z.childLanes,Q);else if((Y.flags&(h4|B0))!==U1)tq(J);X=Y,Y=Y.return}if(X.tag===i){var G=X.stateNode;return G}else return null}var Q2=0,Z2=1,OZ=2,IG=3,zZ=!1,VG,MZ;VG=!1,MZ=null;function SG(J){var Q={baseState:J.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:N},effects:null};J.updateQueue=Q}function X2(J,Q){var Z=Q.updateQueue,X=J.updateQueue;if(Z===X){var Y={baseState:X.baseState,firstBaseUpdate:X.firstBaseUpdate,lastBaseUpdate:X.lastBaseUpdate,shared:X.shared,effects:X.effects};Q.updateQueue=Y}}function F0(J,Q){var Z={eventTime:J,lane:Q,tag:Q2,payload:null,callback:null,next:null};return Z}function i0(J,Q,Z){var X=J.updateQueue;if(X===null)return null;var Y=X.shared;if(MZ===Y&&!VG)W("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."),VG=!0;if(iF()){var G=Y.pending;if(G===null)Q.next=Q;else Q.next=G.next,G.next=Q;return Y.pending=Q,sA(J,Z)}else return pA(J,Y,Q,Z)}function AZ(J,Q,Z){var X=Q.updateQueue;if(X===null)return;var Y=X.shared;if(M3(Z)){var G=Y.lanes;G=P3(G,J.pendingLanes);var H=w1(G,Z);Y.lanes=H,AY(J,H)}}function vG(J,Q){var{updateQueue:Z,alternate:X}=J;if(X!==null){var Y=X.updateQueue;if(Z===Y){var G=null,H=null,B=Z.firstBaseUpdate;if(B!==null){var U=B;do{var K={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};if(H===null)G=H=K;else H.next=K,H=K;U=U.next}while(U!==null);if(H===null)G=H=Q;else H.next=Q,H=Q}else G=H=Q;Z={baseState:Y.baseState,firstBaseUpdate:G,lastBaseUpdate:H,shared:Y.shared,effects:Y.effects},J.updateQueue=Z;return}}var $=Z.lastBaseUpdate;if($===null)Z.firstBaseUpdate=Q;else $.next=Q;Z.lastBaseUpdate=Q}function aA(J,Q,Z,X,Y,G){switch(Z.tag){case Z2:{var H=Z.payload;if(typeof H==="function"){tU();var B=H.call(G,X,Y);{if(J.mode&T4){Z6(!0);try{H.call(G,X,Y)}finally{Z6(!1)}}nU()}return B}return H}case IG:J.flags=J.flags&~T6|n1;case Q2:{var U=Z.payload,K;if(typeof U==="function"){tU(),K=U.call(G,X,Y);{if(J.mode&T4){Z6(!0);try{U.call(G,X,Y)}finally{Z6(!1)}}nU()}}else K=U;if(K===null||K===void 0)return X;return k1({},X,K)}case OZ:return zZ=!0,X}return X}function PZ(J,Q,Z,X){var Y=J.updateQueue;zZ=!1,MZ=Y.shared;var{firstBaseUpdate:G,lastBaseUpdate:H}=Y,B=Y.shared.pending;if(B!==null){Y.shared.pending=null;var U=B,K=U.next;if(U.next=null,H===null)G=K;else H.next=K;H=U;var $=J.alternate;if($!==null){var A=$.updateQueue,M=A.lastBaseUpdate;if(M!==H){if(M===null)A.firstBaseUpdate=K;else M.next=K;A.lastBaseUpdate=U}}}if(G!==null){var _=Y.baseState,L=N,V=null,u=null,J1=null,e=G;do{var{lane:C1,eventTime:b1}=e;if(!$9(X,C1)){var P={eventTime:b1,lane:C1,tag:e.tag,payload:e.payload,callback:e.callback,next:null};if(J1===null)u=J1=P,V=_;else J1=J1.next=P;L=w1(L,C1)}else{if(J1!==null){var v={eventTime:b1,lane:X6,tag:e.tag,payload:e.payload,callback:e.callback,next:null};J1=J1.next=v}_=aA(J,Y,e,_,Q,Z);var F=e.callback;if(F!==null&&e.lane!==X6){J.flags|=hX;var T=Y.effects;if(T===null)Y.effects=[e];else T.push(e)}}if(e=e.next,e===null)if(B=Y.shared.pending,B===null)break;else{var p=B,m=p.next;p.next=null,e=m,Y.lastBaseUpdate=p,Y.shared.pending=null}}while(!0);if(J1===null)V=_;Y.baseState=V,Y.firstBaseUpdate=u,Y.lastBaseUpdate=J1;var W1=Y.shared.interleaved;if(W1!==null){var R1=W1;do L=w1(L,R1.lane),R1=R1.next;while(R1!==W1)}else if(G===null)Y.shared.lanes=N;xJ(L),J.lanes=L,J.memoizedState=_}MZ=null}function iA(J,Q){if(typeof J!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+J));J.call(Q)}function Y2(){zZ=!1}function FZ(){return zZ}function G2(J,Q,Z){var X=Q.effects;if(Q.effects=null,X!==null)for(var Y=0;Y<X.length;Y++){var G=X[Y],H=G.callback;if(H!==null)G.callback=null,iA(H,Z)}}var qJ={},r0=l0(qJ),KJ=l0(qJ),RZ=l0(qJ);function _Z(J){if(J===qJ)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return J}function H2(){var J=_Z(RZ.current);return J}function DG(J,Q){V6(RZ,Q,J),V6(KJ,J,J),V6(r0,qJ,J);var Z=$M(Q);I6(r0,J),V6(r0,Z,J)}function E9(J){I6(r0,J),I6(KJ,J),I6(RZ,J)}function wG(){var J=_Z(r0.current);return J}function B2(J){var Q=_Z(RZ.current),Z=_Z(r0.current),X=WM(Z,J.type);if(Z===X)return;V6(KJ,J,J),V6(r0,X,J)}function NG(J){if(KJ.current!==J)return;I6(r0,J),I6(KJ,J)}var rA=0,U2=1,q2=1,$J=2,w8=l0(rA);function EG(J,Q){return(J&Q)!==0}function T9(J){return J&U2}function TG(J,Q){return J&U2|Q}function oA(J,Q){return J|Q}function o0(J,Q){V6(w8,Q,J)}function C9(J){I6(w8,J)}function tA(J,Q){var Z=J.memoizedState;if(Z!==null){if(Z.dehydrated!==null)return!0;return!1}var X=J.memoizedProps;return!0}function LZ(J){var Q=J;while(Q!==null){if(Q.tag===f){var Z=Q.memoizedState;if(Z!==null){var X=Z.dehydrated;if(X===null||vU(X)||rY(X))return Q}}else if(Q.tag===T1&&Q.memoizedProps.revealOrder!==void 0){var Y=(Q.flags&n1)!==U1;if(Y)return Q}else if(Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===J)return null;while(Q.sibling===null){if(Q.return===null||Q.return===J)return null;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}return null}var d6=0,c4=1,s8=2,l4=4,K6=8,CG=[];function bG(){for(var J=0;J<CG.length;J++){var Q=CG[J];Q._workInProgressVersionPrimary=null}CG.length=0}function nA(J,Q){var Z=Q._getVersion,X=Z(Q._source);if(J.mutableSourceEagerHydrationData==null)J.mutableSourceEagerHydrationData=[Q,X];else J.mutableSourceEagerHydrationData.push(Q,X)}var{ReactCurrentDispatcher:l,ReactCurrentBatchConfig:WJ}=I,kG,b9;kG=new Set;var x7=N,Y4=null,p4=null,s4=null,IZ=!1,OJ=!1,zJ=0,eA=0,JP=25,w=null,$8=null,t0=-1,gG=!1;function J4(){{var J=w;if($8===null)$8=[J];else $8.push(J)}}function x(){{var J=w;if($8!==null){if(t0++,$8[t0]!==J)QP(J)}}}function k9(J){if(J!==void 0&&J!==null&&!t1(J))W("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w,typeof J)}function QP(J){{var Q=V1(Y4);if(!kG.has(Q)){if(kG.add(Q),$8!==null){var Z="",X=30;for(var Y=0;Y<=t0;Y++){var G=$8[Y],H=Y===t0?J:G,B=Y+1+". "+G;while(B.length<X)B+=" ";B+=H+`
|
|
72
|
+
`,Z+=B}W(`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
|
|
73
|
+
|
|
74
|
+
Previous render Next render
|
|
75
|
+
------------------------------------------------------
|
|
76
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
77
|
+
`,Q,Z)}}}}function S6(){throw 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:
|
|
78
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
79
|
+
2. You might be breaking the Rules of Hooks
|
|
80
|
+
3. You might have more than one copy of React in the same app
|
|
81
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function xG(J,Q){if(gG)return!1;if(Q===null)return W("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",w),!1;if(J.length!==Q.length)W(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
82
|
+
|
|
83
|
+
Previous: %s
|
|
84
|
+
Incoming: %s`,w,"["+Q.join(", ")+"]","["+J.join(", ")+"]");for(var Z=0;Z<Q.length&&Z<J.length;Z++){if(Q8(J[Z],Q[Z]))continue;return!1}return!0}function g9(J,Q,Z,X,Y,G){if(x7=G,Y4=Q,$8=J!==null?J._debugHookTypes:null,t0=-1,gG=J!==null&&J.type!==Q.type,Q.memoizedState=null,Q.updateQueue=null,Q.lanes=N,J!==null&&J.memoizedState!==null)l.current=C2;else if($8!==null)l.current=T2;else l.current=E2;var H=Z(X,Y);if(OJ){var B=0;do{if(OJ=!1,zJ=0,B>=JP)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");B+=1,gG=!1,p4=null,s4=null,Q.updateQueue=null,t0=-1,l.current=b2,H=Z(X,Y)}while(OJ)}l.current=hZ,Q._debugHookTypes=$8;var U=p4!==null&&p4.next!==null;if(x7=N,Y4=null,p4=null,s4=null,w=null,$8=null,t0=-1,J!==null&&(J.flags&q0)!==(Q.flags&q0)&&(J.mode&j1)!==G1)W("Internal React error: Expected static flag was missing. Please notify the React team.");if(IZ=!1,U)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return H}function x9(){var J=zJ!==0;return zJ=0,J}function K2(J,Q,Z){if(Q.updateQueue=J.updateQueue,(Q.mode&d8)!==G1)Q.flags&=~(MQ|U0|L8|m1);else Q.flags&=~(L8|m1);J.lanes=IQ(J.lanes,Z)}function $2(){if(l.current=hZ,IZ){var J=Y4.memoizedState;while(J!==null){var Q=J.queue;if(Q!==null)Q.pending=null;J=J.next}IZ=!1}x7=N,Y4=null,p4=null,s4=null,$8=null,t0=-1,w=null,S2=!1,OJ=!1,zJ=0}function a8(){var J={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};if(s4===null)Y4.memoizedState=s4=J;else s4=s4.next=J;return s4}function W8(){var J;if(p4===null){var Q=Y4.alternate;if(Q!==null)J=Q.memoizedState;else J=null}else J=p4.next;var Z;if(s4===null)Z=Y4.memoizedState;else Z=s4.next;if(Z!==null)s4=Z,Z=s4.next,p4=J;else{if(J===null)throw Error("Rendered more hooks than during the previous render.");p4=J;var X={memoizedState:p4.memoizedState,baseState:p4.baseState,baseQueue:p4.baseQueue,queue:p4.queue,next:null};if(s4===null)Y4.memoizedState=s4=X;else s4=s4.next=X}return s4}function W2(){return{lastEffect:null,stores:null}}function jG(J,Q){return typeof Q==="function"?Q(J):Q}function hG(J,Q,Z){var X=a8(),Y;if(Z!==void 0)Y=Z(Q);else Y=Q;X.memoizedState=X.baseState=Y;var G={pending:null,interleaved:null,lanes:N,dispatch:null,lastRenderedReducer:J,lastRenderedState:Y};X.queue=G;var H=G.dispatch=YP.bind(null,Y4,G);return[X.memoizedState,H]}function uG(J,Q,Z){var X=W8(),Y=X.queue;if(Y===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");Y.lastRenderedReducer=J;var G=p4,H=G.baseQueue,B=Y.pending;if(B!==null){if(H!==null){var U=H.next,K=B.next;H.next=K,B.next=U}if(G.baseQueue!==H)W("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.");G.baseQueue=H=B,Y.pending=null}if(H!==null){var $=H.next,A=G.baseState,M=null,_=null,L=null,V=$;do{var u=V.lane;if(!$9(x7,u)){var J1={lane:u,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};if(L===null)_=L=J1,M=A;else L=L.next=J1;Y4.lanes=w1(Y4.lanes,u),xJ(u)}else{if(L!==null){var e={lane:X6,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};L=L.next=e}if(V.hasEagerState)A=V.eagerState;else{var C1=V.action;A=J(A,C1)}}V=V.next}while(V!==null&&V!==$);if(L===null)M=A;else L.next=_;if(!Q8(A,X.memoizedState))VJ();X.memoizedState=A,X.baseState=M,X.baseQueue=L,Y.lastRenderedState=A}var b1=Y.interleaved;if(b1!==null){var P=b1;do{var v=P.lane;Y4.lanes=w1(Y4.lanes,v),xJ(v),P=P.next}while(P!==b1)}else if(H===null)Y.lanes=N;var F=Y.dispatch;return[X.memoizedState,F]}function yG(J,Q,Z){var X=W8(),Y=X.queue;if(Y===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");Y.lastRenderedReducer=J;var{dispatch:G,pending:H}=Y,B=X.memoizedState;if(H!==null){Y.pending=null;var U=H.next,K=U;do{var $=K.action;B=J(B,$),K=K.next}while(K!==U);if(!Q8(B,X.memoizedState))VJ();if(X.memoizedState=B,X.baseQueue===null)X.baseState=B;Y.lastRenderedState=B}return[B,G]}function fG(J,Q,Z){return}function VZ(J,Q,Z){return}function mG(J,Q,Z){var X=Y4,Y=a8(),G,H=q6();if(H){if(Z===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");if(G=Z(),!b9){if(G!==Z())W("The result of getServerSnapshot should be cached to avoid an infinite loop"),b9=!0}}else{if(G=Q(),!b9){var B=Q();if(!Q8(G,B))W("The result of getSnapshot should be cached to avoid an infinite loop"),b9=!0}var U=ZX();if(U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!LQ(U,x7))O2(X,Q,G)}Y.memoizedState=G;var K={value:G,getSnapshot:Q};return Y.queue=K,NZ(M2.bind(null,X,K,J),[J]),X.flags|=L8,MJ(c4|K6,z2.bind(null,X,K,G,Q),void 0,null),G}function SZ(J,Q,Z){var X=Y4,Y=W8(),G=Q();if(!b9){var H=Q();if(!Q8(G,H))W("The result of getSnapshot should be cached to avoid an infinite loop"),b9=!0}var B=Y.memoizedState,U=!Q8(B,G);if(U)Y.memoizedState=G,VJ();var K=Y.queue;if(PJ(M2.bind(null,X,K,J),[J]),K.getSnapshot!==Q||U||s4!==null&&s4.memoizedState.tag&c4){X.flags|=L8,MJ(c4|K6,z2.bind(null,X,K,G,Q),void 0,null);var $=ZX();if($===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!LQ($,x7))O2(X,Q,G)}return G}function O2(J,Q,Z){J.flags|=zQ;var X={getSnapshot:Q,value:Z},Y=Y4.updateQueue;if(Y===null)Y=W2(),Y4.updateQueue=Y,Y.stores=[X];else{var G=Y.stores;if(G===null)Y.stores=[X];else G.push(X)}}function z2(J,Q,Z,X){if(Q.value=Z,Q.getSnapshot=X,A2(Q))P2(J)}function M2(J,Q,Z){var X=function(){if(A2(Q))P2(J)};return Z(X)}function A2(J){var{getSnapshot:Q,value:Z}=J;try{var X=Q();return!Q8(Z,X)}catch(Y){return!0}}function P2(J){var Q=m6(J,A1);if(Q!==null)o4(Q,J,A1,F4)}function vZ(J){var Q=a8();if(typeof J==="function")J=J();Q.memoizedState=Q.baseState=J;var Z={pending:null,interleaved:null,lanes:N,dispatch:null,lastRenderedReducer:jG,lastRenderedState:J};Q.queue=Z;var X=Z.dispatch=GP.bind(null,Y4,Z);return[Q.memoizedState,X]}function dG(J){return uG(jG)}function cG(J){return yG(jG)}function MJ(J,Q,Z,X){var Y={tag:J,create:Q,destroy:Z,deps:X,next:null},G=Y4.updateQueue;if(G===null)G=W2(),Y4.updateQueue=G,G.lastEffect=Y.next=Y;else{var H=G.lastEffect;if(H===null)G.lastEffect=Y.next=Y;else{var B=H.next;H.next=Y,Y.next=B,G.lastEffect=Y}}return Y}function lG(J){var Q=a8();{var Z={current:J};return Q.memoizedState=Z,Z}}function DZ(J){var Q=W8();return Q.memoizedState}function AJ(J,Q,Z,X){var Y=a8(),G=X===void 0?null:X;Y4.flags|=J,Y.memoizedState=MJ(c4|Q,Z,void 0,G)}function wZ(J,Q,Z,X){var Y=W8(),G=X===void 0?null:X,H=void 0;if(p4!==null){var B=p4.memoizedState;if(H=B.destroy,G!==null){var U=B.deps;if(xG(G,U)){Y.memoizedState=MJ(Q,Z,H,G);return}}}Y4.flags|=J,Y.memoizedState=MJ(c4|Q,Z,H,G)}function NZ(J,Q){if((Y4.mode&d8)!==G1)return AJ(MQ|L8|fX,K6,J,Q);else return AJ(L8|fX,K6,J,Q)}function PJ(J,Q){return wZ(L8,K6,J,Q)}function pG(J,Q){return AJ(m1,s8,J,Q)}function EZ(J,Q){return wZ(m1,s8,J,Q)}function sG(J,Q){var Z=m1;if(Z|=P7,(Y4.mode&d8)!==G1)Z|=U0;return AJ(Z,l4,J,Q)}function TZ(J,Q){return wZ(m1,l4,J,Q)}function F2(J,Q){if(typeof Q==="function"){var Z=Q,X=J();return Z(X),function(){Z(null)}}else if(Q!==null&&Q!==void 0){var Y=Q;if(!Y.hasOwnProperty("current"))W("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(Y).join(", ")+"}");var G=J();return Y.current=G,function(){Y.current=null}}}function aG(J,Q,Z){if(typeof Q!=="function")W("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Q!==null?typeof Q:"null");var X=Z!==null&&Z!==void 0?Z.concat([J]):null,Y=m1;if(Y|=P7,(Y4.mode&d8)!==G1)Y|=U0;return AJ(Y,l4,F2.bind(null,Q,J),X)}function CZ(J,Q,Z){if(typeof Q!=="function")W("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Q!==null?typeof Q:"null");var X=Z!==null&&Z!==void 0?Z.concat([J]):null;return wZ(m1,l4,F2.bind(null,Q,J),X)}function bZ(J,Q){}var kZ=bZ;function iG(J,Q){var Z=a8(),X=Q===void 0?null:Q;return Z.memoizedState=[J,X],J}function gZ(J,Q){var Z=W8(),X=Q===void 0?null:Q,Y=Z.memoizedState;if(Y!==null){if(X!==null){var G=Y[1];if(xG(X,G))return Y[0]}}return Z.memoizedState=[J,X],J}function rG(J,Q){var Z=a8(),X=Q===void 0?null:Q,Y=J();return Z.memoizedState=[Y,X],Y}function xZ(J,Q){var Z=W8(),X=Q===void 0?null:Q,Y=Z.memoizedState;if(Y!==null){if(X!==null){var G=Y[1];if(xG(X,G))return Y[0]}}var H=J();return Z.memoizedState=[H,X],H}function oG(J){var Q=a8();return Q.memoizedState=J,J}function R2(J){var Q=W8(),Z=p4,X=Z.memoizedState;return L2(Q,X,J)}function _2(J){var Q=W8();if(p4===null)return Q.memoizedState=J,J;else{var Z=p4.memoizedState;return L2(Q,Z,J)}}function L2(J,Q,Z){var X=!mW(x7);if(X){if(!Q8(Z,Q)){var Y=A3();Y4.lanes=w1(Y4.lanes,Y),xJ(Y),J.baseState=!0}return Q}else{if(J.baseState)J.baseState=!1,VJ();return J.memoizedState=Z,Z}}function ZP(J,Q,Z){var X=V8();Y6(oW(X,$0)),J(!0);var Y=WJ.transition;WJ.transition={};var G=WJ.transition;WJ.transition._updatedFibers=new Set;try{J(!1),Q()}finally{if(Y6(X),WJ.transition=Y,Y===null&&G._updatedFibers){var H=G._updatedFibers.size;if(H>10)O1("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.");G._updatedFibers.clear()}}}function tG(){var J=vZ(!1),Q=J[0],Z=J[1],X=ZP.bind(null,Z),Y=a8();return Y.memoizedState=X,[Q,X]}function I2(){var J=dG(),Q=J[0],Z=W8(),X=Z.memoizedState;return[Q,X]}function V2(){var J=cG(),Q=J[0],Z=W8(),X=Z.memoizedState;return[Q,X]}var S2=!1;function XP(){return S2}function nG(){var J=a8(),Q=ZX(),Z=Q.identifierPrefix,X;if(q6()){var Y=LA();X=":"+Z+"R"+Y;var G=zJ++;if(G>0)X+="H"+G.toString(32);X+=":"}else{var H=eA++;X=":"+Z+"r"+H.toString(32)+":"}return J.memoizedState=X,X}function jZ(){var J=W8(),Q=J.memoizedState;return Q}function YP(J,Q,Z){if(typeof arguments[3]==="function")W("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 X=Z7(J),Y={lane:X,action:Z,hasEagerState:!1,eagerState:null,next:null};if(v2(J))D2(Q,Y);else{var G=J2(J,Q,Y,X);if(G!==null){var H=k6();o4(G,J,X,H),w2(G,Q,X)}}N2(J,X)}function GP(J,Q,Z){if(typeof arguments[3]==="function")W("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 X=Z7(J),Y={lane:X,action:Z,hasEagerState:!1,eagerState:null,next:null};if(v2(J))D2(Q,Y);else{var G=J.alternate;if(J.lanes===N&&(G===null||G.lanes===N)){var H=Q.lastRenderedReducer;if(H!==null){var B;B=l.current,l.current=N8;try{var U=Q.lastRenderedState,K=H(U,Z);if(Y.hasEagerState=!0,Y.eagerState=K,Q8(K,U)){lA(J,Q,Y,X);return}}catch(M){}finally{l.current=B}}}var $=J2(J,Q,Y,X);if($!==null){var A=k6();o4($,J,X,A),w2($,Q,X)}}N2(J,X)}function v2(J){var Q=J.alternate;return J===Y4||Q!==null&&Q===Y4}function D2(J,Q){OJ=IZ=!0;var Z=J.pending;if(Z===null)Q.next=Q;else Q.next=Z.next,Z.next=Q;J.pending=Q}function w2(J,Q,Z){if(M3(Z)){var X=Q.lanes;X=P3(X,J.pendingLanes);var Y=w1(X,Z);Q.lanes=Y,AY(J,Y)}}function N2(J,Q,Z){pX(J,Q)}var hZ={readContext:u4,useCallback:S6,useContext:S6,useEffect:S6,useImperativeHandle:S6,useInsertionEffect:S6,useLayoutEffect:S6,useMemo:S6,useReducer:S6,useRef:S6,useState:S6,useDebugValue:S6,useDeferredValue:S6,useTransition:S6,useMutableSource:S6,useSyncExternalStore:S6,useId:S6,unstable_isNewReconciler:B4},E2=null,T2=null,C2=null,b2=null,i8=null,N8=null,uZ=null;{var eG=function(){W("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().")},P1=function(){W("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")};E2={readContext:function(J){return u4(J)},useCallback:function(J,Q){return w="useCallback",J4(),k9(Q),iG(J,Q)},useContext:function(J){return w="useContext",J4(),u4(J)},useEffect:function(J,Q){return w="useEffect",J4(),k9(Q),NZ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",J4(),k9(Z),aG(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",J4(),k9(Q),pG(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",J4(),k9(Q),sG(J,Q)},useMemo:function(J,Q){w="useMemo",J4(),k9(Q);var Z=l.current;l.current=i8;try{return rG(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",J4();var X=l.current;l.current=i8;try{return hG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",J4(),lG(J)},useState:function(J){w="useState",J4();var Q=l.current;l.current=i8;try{return vZ(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",J4(),bZ()},useDeferredValue:function(J){return w="useDeferredValue",J4(),oG(J)},useTransition:function(){return w="useTransition",J4(),tG()},useMutableSource:function(J,Q,Z){return w="useMutableSource",J4(),fG()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",J4(),mG(J,Q,Z)},useId:function(){return w="useId",J4(),nG()},unstable_isNewReconciler:B4},T2={readContext:function(J){return u4(J)},useCallback:function(J,Q){return w="useCallback",x(),iG(J,Q)},useContext:function(J){return w="useContext",x(),u4(J)},useEffect:function(J,Q){return w="useEffect",x(),NZ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",x(),aG(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",x(),pG(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",x(),sG(J,Q)},useMemo:function(J,Q){w="useMemo",x();var Z=l.current;l.current=i8;try{return rG(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",x();var X=l.current;l.current=i8;try{return hG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",x(),lG(J)},useState:function(J){w="useState",x();var Q=l.current;l.current=i8;try{return vZ(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",x(),bZ()},useDeferredValue:function(J){return w="useDeferredValue",x(),oG(J)},useTransition:function(){return w="useTransition",x(),tG()},useMutableSource:function(J,Q,Z){return w="useMutableSource",x(),fG()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",x(),mG(J,Q,Z)},useId:function(){return w="useId",x(),nG()},unstable_isNewReconciler:B4},C2={readContext:function(J){return u4(J)},useCallback:function(J,Q){return w="useCallback",x(),gZ(J,Q)},useContext:function(J){return w="useContext",x(),u4(J)},useEffect:function(J,Q){return w="useEffect",x(),PJ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",x(),CZ(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",x(),EZ(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",x(),TZ(J,Q)},useMemo:function(J,Q){w="useMemo",x();var Z=l.current;l.current=N8;try{return xZ(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",x();var X=l.current;l.current=N8;try{return uG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",x(),DZ()},useState:function(J){w="useState",x();var Q=l.current;l.current=N8;try{return dG(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",x(),kZ()},useDeferredValue:function(J){return w="useDeferredValue",x(),R2(J)},useTransition:function(){return w="useTransition",x(),I2()},useMutableSource:function(J,Q,Z){return w="useMutableSource",x(),VZ()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",x(),SZ(J,Q)},useId:function(){return w="useId",x(),jZ()},unstable_isNewReconciler:B4},b2={readContext:function(J){return u4(J)},useCallback:function(J,Q){return w="useCallback",x(),gZ(J,Q)},useContext:function(J){return w="useContext",x(),u4(J)},useEffect:function(J,Q){return w="useEffect",x(),PJ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",x(),CZ(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",x(),EZ(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",x(),TZ(J,Q)},useMemo:function(J,Q){w="useMemo",x();var Z=l.current;l.current=uZ;try{return xZ(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",x();var X=l.current;l.current=uZ;try{return yG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",x(),DZ()},useState:function(J){w="useState",x();var Q=l.current;l.current=uZ;try{return cG(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",x(),kZ()},useDeferredValue:function(J){return w="useDeferredValue",x(),_2(J)},useTransition:function(){return w="useTransition",x(),V2()},useMutableSource:function(J,Q,Z){return w="useMutableSource",x(),VZ()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",x(),SZ(J,Q)},useId:function(){return w="useId",x(),jZ()},unstable_isNewReconciler:B4},i8={readContext:function(J){return eG(),u4(J)},useCallback:function(J,Q){return w="useCallback",P1(),J4(),iG(J,Q)},useContext:function(J){return w="useContext",P1(),J4(),u4(J)},useEffect:function(J,Q){return w="useEffect",P1(),J4(),NZ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",P1(),J4(),aG(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",P1(),J4(),pG(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",P1(),J4(),sG(J,Q)},useMemo:function(J,Q){w="useMemo",P1(),J4();var Z=l.current;l.current=i8;try{return rG(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",P1(),J4();var X=l.current;l.current=i8;try{return hG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",P1(),J4(),lG(J)},useState:function(J){w="useState",P1(),J4();var Q=l.current;l.current=i8;try{return vZ(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",P1(),J4(),bZ()},useDeferredValue:function(J){return w="useDeferredValue",P1(),J4(),oG(J)},useTransition:function(){return w="useTransition",P1(),J4(),tG()},useMutableSource:function(J,Q,Z){return w="useMutableSource",P1(),J4(),fG()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",P1(),J4(),mG(J,Q,Z)},useId:function(){return w="useId",P1(),J4(),nG()},unstable_isNewReconciler:B4},N8={readContext:function(J){return eG(),u4(J)},useCallback:function(J,Q){return w="useCallback",P1(),x(),gZ(J,Q)},useContext:function(J){return w="useContext",P1(),x(),u4(J)},useEffect:function(J,Q){return w="useEffect",P1(),x(),PJ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",P1(),x(),CZ(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",P1(),x(),EZ(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",P1(),x(),TZ(J,Q)},useMemo:function(J,Q){w="useMemo",P1(),x();var Z=l.current;l.current=N8;try{return xZ(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",P1(),x();var X=l.current;l.current=N8;try{return uG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",P1(),x(),DZ()},useState:function(J){w="useState",P1(),x();var Q=l.current;l.current=N8;try{return dG(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",P1(),x(),kZ()},useDeferredValue:function(J){return w="useDeferredValue",P1(),x(),R2(J)},useTransition:function(){return w="useTransition",P1(),x(),I2()},useMutableSource:function(J,Q,Z){return w="useMutableSource",P1(),x(),VZ()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",P1(),x(),SZ(J,Q)},useId:function(){return w="useId",P1(),x(),jZ()},unstable_isNewReconciler:B4},uZ={readContext:function(J){return eG(),u4(J)},useCallback:function(J,Q){return w="useCallback",P1(),x(),gZ(J,Q)},useContext:function(J){return w="useContext",P1(),x(),u4(J)},useEffect:function(J,Q){return w="useEffect",P1(),x(),PJ(J,Q)},useImperativeHandle:function(J,Q,Z){return w="useImperativeHandle",P1(),x(),CZ(J,Q,Z)},useInsertionEffect:function(J,Q){return w="useInsertionEffect",P1(),x(),EZ(J,Q)},useLayoutEffect:function(J,Q){return w="useLayoutEffect",P1(),x(),TZ(J,Q)},useMemo:function(J,Q){w="useMemo",P1(),x();var Z=l.current;l.current=N8;try{return xZ(J,Q)}finally{l.current=Z}},useReducer:function(J,Q,Z){w="useReducer",P1(),x();var X=l.current;l.current=N8;try{return yG(J,Q,Z)}finally{l.current=X}},useRef:function(J){return w="useRef",P1(),x(),DZ()},useState:function(J){w="useState",P1(),x();var Q=l.current;l.current=N8;try{return cG(J)}finally{l.current=Q}},useDebugValue:function(J,Q){return w="useDebugValue",P1(),x(),kZ()},useDeferredValue:function(J){return w="useDeferredValue",P1(),x(),_2(J)},useTransition:function(){return w="useTransition",P1(),x(),V2()},useMutableSource:function(J,Q,Z){return w="useMutableSource",P1(),x(),VZ()},useSyncExternalStore:function(J,Q,Z){return w="useSyncExternalStore",P1(),x(),SZ(J,Q)},useId:function(){return w="useId",P1(),x(),jZ()},unstable_isNewReconciler:B4}}var n0=H4.unstable_now,k2=0,yZ=-1,FJ=-1,fZ=-1,JH=!1,mZ=!1;function g2(){return JH}function HP(){mZ=!0}function BP(){JH=!1,mZ=!1}function UP(){JH=mZ,mZ=!1}function x2(){return k2}function j2(){k2=n0()}function QH(J){if(FJ=n0(),J.actualStartTime<0)J.actualStartTime=n0()}function h2(J){FJ=-1}function dZ(J,Q){if(FJ>=0){var Z=n0()-FJ;if(J.actualDuration+=Z,Q)J.selfBaseDuration=Z;FJ=-1}}function r8(J){if(yZ>=0){var Q=n0()-yZ;yZ=-1;var Z=J.return;while(Z!==null){switch(Z.tag){case i:var X=Z.stateNode;X.effectDuration+=Q;return;case g:var Y=Z.stateNode;Y.effectDuration+=Q;return}Z=Z.return}}}function ZH(J){if(fZ>=0){var Q=n0()-fZ;fZ=-1;var Z=J.return;while(Z!==null){switch(Z.tag){case i:var X=Z.stateNode;if(X!==null)X.passiveEffectDuration+=Q;return;case g:var Y=Z.stateNode;if(Y!==null)Y.passiveEffectDuration+=Q;return}Z=Z.return}}}function o8(){yZ=n0()}function XH(){fZ=n0()}function YH(J){var Q=J.child;while(Q)J.actualDuration+=Q.actualDuration,Q=Q.sibling}function E8(J,Q){if(J&&J.defaultProps){var Z=k1({},Q),X=J.defaultProps;for(var Y in X)if(Z[Y]===void 0)Z[Y]=X[Y];return Z}return Q}var GH={},HH,BH,UH,qH,KH,u2,cZ,$H,WH,OH,RJ;{HH=new Set,BH=new Set,UH=new Set,qH=new Set,$H=new Set,KH=new Set,WH=new Set,OH=new Set,RJ=new Set;var y2=new Set;cZ=function(J,Q){if(J===null||typeof J==="function")return;var Z=Q+"_"+J;if(!y2.has(Z))y2.add(Z),W("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",Q,J)},u2=function(J,Q){if(Q===void 0){var Z=c1(J)||"Component";if(!KH.has(Z))KH.add(Z),W("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z)}},Object.defineProperty(GH,"_processChildContext",{enumerable:!1,value:function(){throw 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(GH)}function zH(J,Q,Z,X){var Y=J.memoizedState,G=Z(X,Y);{if(J.mode&T4){Z6(!0);try{G=Z(X,Y)}finally{Z6(!1)}}u2(Q,G)}var H=G===null||G===void 0?Y:k1({},Y,G);if(J.memoizedState=H,J.lanes===N){var B=J.updateQueue;B.baseState=H}}var MH={isMounted:JW,enqueueSetState:function(J,Q,Z){var X=Y9(J),Y=k6(),G=Z7(X),H=F0(Y,G);if(H.payload=Q,Z!==void 0&&Z!==null)cZ(Z,"setState"),H.callback=Z;var B=i0(X,H,G);if(B!==null)o4(B,X,G,Y),AZ(B,X,G);pX(X,G)},enqueueReplaceState:function(J,Q,Z){var X=Y9(J),Y=k6(),G=Z7(X),H=F0(Y,G);if(H.tag=Z2,H.payload=Q,Z!==void 0&&Z!==null)cZ(Z,"replaceState"),H.callback=Z;var B=i0(X,H,G);if(B!==null)o4(B,X,G,Y),AZ(B,X,G);pX(X,G)},enqueueForceUpdate:function(J,Q){var Z=Y9(J),X=k6(),Y=Z7(Z),G=F0(X,Y);if(G.tag=OZ,Q!==void 0&&Q!==null)cZ(Q,"forceUpdate"),G.callback=Q;var H=i0(Z,G,Y);if(H!==null)o4(H,Z,Y,X),AZ(H,Z,Y);CW(Z,Y)}};function f2(J,Q,Z,X,Y,G,H){var B=J.stateNode;if(typeof B.shouldComponentUpdate==="function"){var U=B.shouldComponentUpdate(X,G,H);{if(J.mode&T4){Z6(!0);try{U=B.shouldComponentUpdate(X,G,H)}finally{Z6(!1)}}if(U===void 0)W("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",c1(Q)||"Component")}return U}if(Q.prototype&&Q.prototype.isPureReactComponent)return!m5(Z,X)||!m5(Y,G);return!0}function qP(J,Q,Z){var X=J.stateNode;{var Y=c1(Q)||"Component",G=X.render;if(!G)if(Q.prototype&&typeof Q.prototype.render==="function")W("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",Y);else W("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",Y);if(X.getInitialState&&!X.getInitialState.isReactClassApproved&&!X.state)W("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?",Y);if(X.getDefaultProps&&!X.getDefaultProps.isReactClassApproved)W("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.",Y);if(X.propTypes)W("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",Y);if(X.contextType)W("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",Y);{if(Q.childContextTypes&&!RJ.has(Q)&&(J.mode&T4)===G1)RJ.add(Q),W(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
85
|
+
|
|
86
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,Y);if(Q.contextTypes&&!RJ.has(Q)&&(J.mode&T4)===G1)RJ.add(Q),W(`%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.
|
|
87
|
+
|
|
88
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,Y);if(X.contextTypes)W("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",Y);if(Q.contextType&&Q.contextTypes&&!WH.has(Q))WH.add(Q),W("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",Y)}if(typeof X.componentShouldUpdate==="function")W("%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.",Y);if(Q.prototype&&Q.prototype.isPureReactComponent&&typeof X.shouldComponentUpdate<"u")W("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",c1(Q)||"A pure component");if(typeof X.componentDidUnmount==="function")W("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",Y);if(typeof X.componentDidReceiveProps==="function")W("%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().",Y);if(typeof X.componentWillRecieveProps==="function")W("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Y);if(typeof X.UNSAFE_componentWillRecieveProps==="function")W("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",Y);var H=X.props!==Z;if(X.props!==void 0&&H)W("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",Y,Y);if(X.defaultProps)W("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",Y,Y);if(typeof X.getSnapshotBeforeUpdate==="function"&&typeof X.componentDidUpdate!=="function"&&!UH.has(Q))UH.add(Q),W("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",c1(Q));if(typeof X.getDerivedStateFromProps==="function")W("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Y);if(typeof X.getDerivedStateFromError==="function")W("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Y);if(typeof Q.getSnapshotBeforeUpdate==="function")W("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Y);var B=X.state;if(B&&(typeof B!=="object"||t1(B)))W("%s.state: must be set to an object or null",Y);if(typeof X.getChildContext==="function"&&typeof Q.childContextTypes!=="object")W("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Y)}}function m2(J,Q){Q.updater=MH,J.stateNode=Q,r$(Q,J),Q._reactInternalInstance=GH}function d2(J,Q,Z){var X=!1,Y=Z8,G=Z8,H=Q.contextType;if("contextType"in Q){var B=H===null||H!==void 0&&H.$$typeof===B1&&H._context===void 0;if(!B&&!OH.has(Q)){OH.add(Q);var U="";if(H===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 H!=="object")U=" However, it is set to a "+typeof H+".";else if(H.$$typeof===y)U=" Did you accidentally pass the Context.Provider instead?";else if(H._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(H).join(", ")+"}.";W("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",c1(Q)||"Component",U)}}if(typeof H==="object"&&H!==null)G=u4(H);else{Y=L9(J,Q,!0);var K=Q.contextTypes;X=K!==null&&K!==void 0,G=X?I9(J,Y):Z8}var $=new Q(Z,G);if(J.mode&T4){Z6(!0);try{$=new Q(Z,G)}finally{Z6(!1)}}var A=J.memoizedState=$.state!==null&&$.state!==void 0?$.state:null;m2(J,$);{if(typeof Q.getDerivedStateFromProps==="function"&&A===null){var M=c1(Q)||"Component";if(!BH.has(M))BH.add(M),W("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,$.state===null?"null":"undefined",M)}if(typeof Q.getDerivedStateFromProps==="function"||typeof $.getSnapshotBeforeUpdate==="function"){var _=null,L=null,V=null;if(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0)_="componentWillMount";else if(typeof $.UNSAFE_componentWillMount==="function")_="UNSAFE_componentWillMount";if(typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0)L="componentWillReceiveProps";else if(typeof $.UNSAFE_componentWillReceiveProps==="function")L="UNSAFE_componentWillReceiveProps";if(typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0)V="componentWillUpdate";else if(typeof $.UNSAFE_componentWillUpdate==="function")V="UNSAFE_componentWillUpdate";if(_!==null||L!==null||V!==null){var u=c1(Q)||"Component",J1=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";if(!qH.has(u))qH.add(u),W(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
89
|
+
|
|
90
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
91
|
+
|
|
92
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
93
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,u,J1,_!==null?`
|
|
94
|
+
`+_:"",L!==null?`
|
|
95
|
+
`+L:"",V!==null?`
|
|
96
|
+
`+V:"")}}}if(X)CU(J,Y,G);return $}function KP(J,Q){var Z=Q.state;if(typeof Q.componentWillMount==="function")Q.componentWillMount();if(typeof Q.UNSAFE_componentWillMount==="function")Q.UNSAFE_componentWillMount();if(Z!==Q.state)W("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",V1(J)||"Component"),MH.enqueueReplaceState(Q,Q.state,null)}function c2(J,Q,Z,X){var Y=Q.state;if(typeof Q.componentWillReceiveProps==="function")Q.componentWillReceiveProps(Z,X);if(typeof Q.UNSAFE_componentWillReceiveProps==="function")Q.UNSAFE_componentWillReceiveProps(Z,X);if(Q.state!==Y){{var G=V1(J)||"Component";if(!HH.has(G))HH.add(G),W("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",G)}MH.enqueueReplaceState(Q,Q.state,null)}}function AH(J,Q,Z,X){qP(J,Q,Z);var Y=J.stateNode;Y.props=Z,Y.state=J.memoizedState,Y.refs={},SG(J);var G=Q.contextType;if(typeof G==="object"&&G!==null)Y.context=u4(G);else{var H=L9(J,Q,!0);Y.context=I9(J,H)}{if(Y.state===Z){var B=c1(Q)||"Component";if(!$H.has(B))$H.add(B),W("%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(J.mode&T4)D8.recordLegacyContextWarning(J,Y);D8.recordUnsafeLifecycleWarnings(J,Y)}Y.state=J.memoizedState;var U=Q.getDerivedStateFromProps;if(typeof U==="function")zH(J,Q,U,Z),Y.state=J.memoizedState;if(typeof Q.getDerivedStateFromProps!=="function"&&typeof Y.getSnapshotBeforeUpdate!=="function"&&(typeof Y.UNSAFE_componentWillMount==="function"||typeof Y.componentWillMount==="function"))KP(J,Y),PZ(J,Z,Y,X),Y.state=J.memoizedState;if(typeof Y.componentDidMount==="function"){var K=m1;if(K|=P7,(J.mode&d8)!==G1)K|=U0;J.flags|=K}}function $P(J,Q,Z,X){var{stateNode:Y,memoizedProps:G}=J;Y.props=G;var H=Y.context,B=Q.contextType,U=Z8;if(typeof B==="object"&&B!==null)U=u4(B);else{var K=L9(J,Q,!0);U=I9(J,K)}var $=Q.getDerivedStateFromProps,A=typeof $==="function"||typeof Y.getSnapshotBeforeUpdate==="function";if(!A&&(typeof Y.UNSAFE_componentWillReceiveProps==="function"||typeof Y.componentWillReceiveProps==="function")){if(G!==Z||H!==U)c2(J,Y,Z,U)}Y2();var M=J.memoizedState,_=Y.state=M;if(PZ(J,Z,Y,X),_=J.memoizedState,G===Z&&M===_&&!nQ()&&!FZ()){if(typeof Y.componentDidMount==="function"){var L=m1;if(L|=P7,(J.mode&d8)!==G1)L|=U0;J.flags|=L}return!1}if(typeof $==="function")zH(J,Q,$,Z),_=J.memoizedState;var V=FZ()||f2(J,Q,G,Z,M,_,U);if(V){if(!A&&(typeof Y.UNSAFE_componentWillMount==="function"||typeof Y.componentWillMount==="function")){if(typeof Y.componentWillMount==="function")Y.componentWillMount();if(typeof Y.UNSAFE_componentWillMount==="function")Y.UNSAFE_componentWillMount()}if(typeof Y.componentDidMount==="function"){var u=m1;if(u|=P7,(J.mode&d8)!==G1)u|=U0;J.flags|=u}}else{if(typeof Y.componentDidMount==="function"){var J1=m1;if(J1|=P7,(J.mode&d8)!==G1)J1|=U0;J.flags|=J1}J.memoizedProps=Z,J.memoizedState=_}return Y.props=Z,Y.state=_,Y.context=U,V}function WP(J,Q,Z,X,Y){var G=Q.stateNode;X2(J,Q);var H=Q.memoizedProps,B=Q.type===Q.elementType?H:E8(Q.type,H);G.props=B;var U=Q.pendingProps,K=G.context,$=Z.contextType,A=Z8;if(typeof $==="object"&&$!==null)A=u4($);else{var M=L9(Q,Z,!0);A=I9(Q,M)}var _=Z.getDerivedStateFromProps,L=typeof _==="function"||typeof G.getSnapshotBeforeUpdate==="function";if(!L&&(typeof G.UNSAFE_componentWillReceiveProps==="function"||typeof G.componentWillReceiveProps==="function")){if(H!==U||K!==A)c2(Q,G,X,A)}Y2();var V=Q.memoizedState,u=G.state=V;if(PZ(Q,X,G,Y),u=Q.memoizedState,H===U&&V===u&&!nQ()&&!FZ()&&!w6){if(typeof G.componentDidUpdate==="function"){if(H!==J.memoizedProps||V!==J.memoizedState)Q.flags|=m1}if(typeof G.getSnapshotBeforeUpdate==="function"){if(H!==J.memoizedProps||V!==J.memoizedState)Q.flags|=M7}return!1}if(typeof _==="function")zH(Q,Z,_,X),u=Q.memoizedState;var J1=FZ()||f2(Q,Z,B,X,V,u,A)||w6;if(J1){if(!L&&(typeof G.UNSAFE_componentWillUpdate==="function"||typeof G.componentWillUpdate==="function")){if(typeof G.componentWillUpdate==="function")G.componentWillUpdate(X,u,A);if(typeof G.UNSAFE_componentWillUpdate==="function")G.UNSAFE_componentWillUpdate(X,u,A)}if(typeof G.componentDidUpdate==="function")Q.flags|=m1;if(typeof G.getSnapshotBeforeUpdate==="function")Q.flags|=M7}else{if(typeof G.componentDidUpdate==="function"){if(H!==J.memoizedProps||V!==J.memoizedState)Q.flags|=m1}if(typeof G.getSnapshotBeforeUpdate==="function"){if(H!==J.memoizedProps||V!==J.memoizedState)Q.flags|=M7}Q.memoizedProps=X,Q.memoizedState=u}return G.props=X,G.state=u,G.context=A,J1}function j7(J,Q){return{value:J,source:Q,stack:B5(Q),digest:null}}function PH(J,Q,Z){return{value:J,source:null,stack:Z!=null?Z:null,digest:Q!=null?Q:null}}function OP(J,Q){return!0}function FH(J,Q){try{var Z=OP(J,Q);if(Z===!1)return;var{value:X,source:Y,stack:G}=Q,H=G!==null?G:"";if(X!=null&&X._suppressLogging){if(J.tag===a)return;console.error(X)}var B=Y?V1(Y):null,U=B?"The above error occurred in the <"+B+"> component:":"The above error occurred in one of your React components:",K;if(J.tag===i)K=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
97
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var $=V1(J)||"Anonymous";K="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+$+".")}var A=U+`
|
|
98
|
+
`+H+`
|
|
99
|
+
|
|
100
|
+
`+(""+K);console.error(A)}catch(M){setTimeout(function(){throw M})}}var zP=typeof WeakMap==="function"?WeakMap:Map;function l2(J,Q,Z){var X=F0(F4,Z);X.tag=IG,X.payload={element:null};var Y=Q.value;return X.callback=function(){$R(Y),FH(J,Q)},X}function RH(J,Q,Z){var X=F0(F4,Z);X.tag=IG;var Y=J.type.getDerivedStateFromError;if(typeof Y==="function"){var G=Q.value;X.payload=function(){return Y(G)},X.callback=function(){ZK(J),FH(J,Q)}}var H=J.stateNode;if(H!==null&&typeof H.componentDidCatch==="function")X.callback=function(){if(ZK(J),FH(J,Q),typeof Y!=="function")qR(this);var{value:U,stack:K}=Q;if(this.componentDidCatch(U,{componentStack:K!==null?K:""}),typeof Y!=="function"){if(!n6(J.lanes,A1))W("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",V1(J)||"Unknown")}};return X}function p2(J,Q,Z){var X=J.pingCache,Y;if(X===null)X=J.pingCache=new zP,Y=new Set,X.set(Q,Y);else if(Y=X.get(Q),Y===void 0)Y=new Set,X.set(Q,Y);if(!Y.has(Z)){Y.add(Z);var G=WR.bind(null,J,Q,Z);if(I8)jJ(J,Z);Q.then(G,G)}}function MP(J,Q,Z,X){var Y=J.updateQueue;if(Y===null){var G=new Set;G.add(Z),J.updateQueue=G}else Y.add(Z)}function AP(J,Q){var Z=J.tag;if((J.mode&j1)===G1&&(Z===k||Z===o||Z===s)){var X=J.alternate;if(X)J.updateQueue=X.updateQueue,J.memoizedState=X.memoizedState,J.lanes=X.lanes;else J.updateQueue=null,J.memoizedState=null}}function s2(J){var Q=J;do{if(Q.tag===f&&tA(Q))return Q;Q=Q.return}while(Q!==null);return null}function a2(J,Q,Z,X,Y){if((J.mode&j1)===G1){if(J===Q)J.flags|=T6;else{if(J.flags|=n1,Z.flags|=uX,Z.flags&=~(o$|F5),Z.tag===a){var G=Z.alternate;if(G===null)Z.tag=v1;else{var H=F0(F4,A1);H.tag=OZ,i0(Z,H,A1)}}Z.lanes=w1(Z.lanes,A1)}return J}return J.flags|=T6,J.lanes=Y,J}function PP(J,Q,Z,X,Y){if(Z.flags|=F5,I8)jJ(J,Y);if(X!==null&&typeof X==="object"&&typeof X.then==="function"){var G=X;if(AP(Z),q6()&&Z.mode&j1)uU();var H=s2(Q);if(H!==null){if(H.flags&=~H0,a2(H,Q,Z,J,Y),H.mode&j1)p2(J,G,Y);MP(H,J,G);return}else{if(!fW(Y)){p2(J,G,Y),eH();return}var B=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.");X=B}}else if(q6()&&Z.mode&j1){uU();var U=s2(Q);if(U!==null){if((U.flags&T6)===U1)U.flags|=H0;a2(U,Q,Z,J,Y),KG(j7(X,Z));return}}X=j7(X,Z),QR(X);var K=Q;do{switch(K.tag){case i:{var $=X;K.flags|=T6;var A=D5(Y);K.lanes=w1(K.lanes,A);var M=l2(K,$,A);vG(K,M);return}case a:var _=X,L=K.type,V=K.stateNode;if((K.flags&n1)===U1&&(typeof L.getDerivedStateFromError==="function"||V!==null&&typeof V.componentDidCatch==="function"&&!aq(V))){K.flags|=T6;var u=D5(Y);K.lanes=w1(K.lanes,u);var J1=RH(K,_,u);vG(K,J1);return}break}K=K.return}while(K!==null)}function FP(){return null}var _J=I.ReactCurrentOwner,T8=!1,_H,LJ,LH,IH,VH,h7,SH,lZ,IJ;_H={},LJ={},LH={},IH={},VH={},h7=!1,SH={},lZ={},IJ={};function C6(J,Q,Z,X){if(J===null)Q.child=oU(Q,null,Z,X);else Q.child=D9(Q,J.child,Z,X)}function RP(J,Q,Z,X){Q.child=D9(Q,J.child,null,X),Q.child=D9(Q,null,Z,X)}function i2(J,Q,Z,X,Y){if(Q.type!==Q.elementType){var G=Z.propTypes;if(G)S8(G,X,"prop",c1(Z))}var H=Z.render,B=Q.ref,U,K;N9(Q,Y),_5(Q);{if(_J.current=Q,o6(!0),U=g9(J,Q,H,X,B,Y),K=x9(),Q.mode&T4){Z6(!0);try{U=g9(J,Q,H,X,B,Y),K=x9()}finally{Z6(!1)}}o6(!1)}if(B9(),J!==null&&!T8)return K2(J,Q,Y),R0(J,Q,Y);if(q6()&&K)YG(Q);return Q.flags|=G9,C6(J,Q,U,Y),Q.child}function r2(J,Q,Z,X,Y){if(J===null){var G=Z.type;if(ER(G)&&Z.compare===null&&Z.defaultProps===void 0){var H=G;return H=c9(G),Q.tag=s,Q.type=H,wH(Q,G),o2(J,Q,H,X,Y)}{var B=G.propTypes;if(B)S8(B,X,"prop",c1(G));if(Z.defaultProps!==void 0){var U=c1(G)||"Unknown";if(!IJ[U])W("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",U),IJ[U]=!0}}var K=KB(Z.type,null,X,Q,Q.mode,Y);return K.ref=Q.ref,K.return=Q,Q.child=K,K}{var $=Z.type,A=$.propTypes;if(A)S8(A,X,"prop",c1($))}var M=J.child,_=kH(J,Y);if(!_){var L=M.memoizedProps,V=Z.compare;if(V=V!==null?V:m5,V(L,X)&&J.ref===Q.ref)return R0(J,Q,Y)}Q.flags|=G9;var u=d7(M,X);return u.ref=Q.ref,u.return=Q,Q.child=u,u}function o2(J,Q,Z,X,Y){if(Q.type!==Q.elementType){var G=Q.elementType;if(G.$$typeof===o1){var H=G,B=H._payload,U=H._init;try{G=U(B)}catch(A){G=null}var K=G&&G.propTypes;if(K)S8(K,X,"prop",c1(G))}}if(J!==null){var $=J.memoizedProps;if(m5($,X)&&J.ref===Q.ref&&Q.type===J.type){if(T8=!1,Q.pendingProps=X=$,!kH(J,Y))return Q.lanes=J.lanes,R0(J,Q,Y);else if((J.flags&uX)!==U1)T8=!0}}return vH(J,Q,Z,X,Y)}function t2(J,Q,Z){var X=Q.pendingProps,Y=X.children,G=J!==null?J.memoizedState:null;if(X.mode==="hidden"||t4)if((Q.mode&j1)===G1){var H={baseLanes:N,cachePool:null,transitions:null};Q.memoizedState=H,XX(Q,Z)}else if(!n6(Z,t6)){var B=null,U;if(G!==null){var K=G.baseLanes;U=w1(K,Z)}else U=Z;Q.lanes=Q.childLanes=VQ(t6);var $={baseLanes:U,cachePool:B,transitions:null};return Q.memoizedState=$,Q.updateQueue=null,XX(Q,U),null}else{var A={baseLanes:N,cachePool:null,transitions:null};Q.memoizedState=A;var M=G!==null?G.baseLanes:Z;XX(Q,M)}else{var _;if(G!==null)_=w1(G.baseLanes,Z),Q.memoizedState=null;else _=Z;XX(Q,_)}return C6(J,Q,Y,Z),Q.child}function _P(J,Q,Z){var X=Q.pendingProps;return C6(J,Q,X,Z),Q.child}function LP(J,Q,Z){var X=Q.pendingProps.children;return C6(J,Q,X,Z),Q.child}function IP(J,Q,Z){{Q.flags|=m1;{var X=Q.stateNode;X.effectDuration=0,X.passiveEffectDuration=0}}var Y=Q.pendingProps,G=Y.children;return C6(J,Q,G,Z),Q.child}function n2(J,Q){var Z=Q.ref;if(J===null&&Z!==null||J!==null&&J.ref!==Z)Q.flags|=j0,Q.flags|=yX}function vH(J,Q,Z,X,Y){if(Q.type!==Q.elementType){var G=Z.propTypes;if(G)S8(G,X,"prop",c1(Z))}var H;{var B=L9(Q,Z,!0);H=I9(Q,B)}var U,K;N9(Q,Y),_5(Q);{if(_J.current=Q,o6(!0),U=g9(J,Q,Z,X,H,Y),K=x9(),Q.mode&T4){Z6(!0);try{U=g9(J,Q,Z,X,H,Y),K=x9()}finally{Z6(!1)}}o6(!1)}if(B9(),J!==null&&!T8)return K2(J,Q,Y),R0(J,Q,Y);if(q6()&&K)YG(Q);return Q.flags|=G9,C6(J,Q,U,Y),Q.child}function e2(J,Q,Z,X,Y){{switch(lR(Q)){case!1:{var{stateNode:G,type:H}=Q,B=new H(Q.memoizedProps,G.context),U=B.state;G.updater.enqueueSetState(G,U,null);break}case!0:{Q.flags|=n1,Q.flags|=T6;var K=Error("Simulated error coming from DevTools"),$=D5(Y);Q.lanes=w1(Q.lanes,$);var A=RH(Q,j7(K,Q),$);vG(Q,A);break}}if(Q.type!==Q.elementType){var M=Z.propTypes;if(M)S8(M,X,"prop",c1(Z))}}var _;if(p8(Z))_=!0,JZ(Q);else _=!1;N9(Q,Y);var L=Q.stateNode,V;if(L===null)sZ(J,Q),d2(Q,Z,X),AH(Q,Z,X,Y),V=!0;else if(J===null)V=$P(Q,Z,X,Y);else V=WP(J,Q,Z,X,Y);var u=DH(J,Q,Z,V,_,Y);{var J1=Q.stateNode;if(V&&J1.props!==X){if(!h7)W("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",V1(Q)||"a component");h7=!0}}return u}function DH(J,Q,Z,X,Y,G){n2(J,Q);var H=(Q.flags&n1)!==U1;if(!X&&!H){if(Y)gU(Q,Z,!1);return R0(J,Q,G)}var B=Q.stateNode;_J.current=Q;var U;if(H&&typeof Z.getDerivedStateFromError!=="function")U=null,h2();else{_5(Q);{if(o6(!0),U=B.render(),Q.mode&T4){Z6(!0);try{B.render()}finally{Z6(!1)}}o6(!1)}B9()}if(Q.flags|=G9,J!==null&&H)RP(J,Q,U,G);else C6(J,Q,U,G);if(Q.memoizedState=B.state,Y)gU(Q,Z,!0);return Q.child}function Jq(J){var Q=J.stateNode;if(Q.pendingContext)bU(J,Q.pendingContext,Q.pendingContext!==Q.context);else if(Q.context)bU(J,Q.context,!1);DG(J,Q.containerInfo)}function VP(J,Q,Z){if(Jq(Q),J===null)throw Error("Should have a current fiber. This is a bug in React.");var{pendingProps:X,memoizedState:Y}=Q,G=Y.element;X2(J,Q),PZ(Q,X,null,Z);var{memoizedState:H,stateNode:B}=Q,U=H.element;if(Y.isDehydrated){var K={element:U,isDehydrated:!1,cache:H.cache,pendingSuspenseBoundaries:H.pendingSuspenseBoundaries,transitions:H.transitions},$=Q.updateQueue;if($.baseState=K,Q.memoizedState=K,Q.flags&H0){var A=j7(Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),Q);return Qq(J,Q,U,Z,A)}else if(U!==G){var M=j7(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Q);return Qq(J,Q,U,Z,M)}else{wA(Q);var _=oU(Q,null,U,Z);Q.child=_;var L=_;while(L)L.flags=L.flags&~h4|B0,L=L.sibling}}else{if(v9(),U===G)return R0(J,Q,Z);C6(J,Q,U,Z)}return Q.child}function Qq(J,Q,Z,X,Y){return v9(),KG(Y),Q.flags|=H0,C6(J,Q,Z,X),Q.child}function SP(J,Q,Z){if(B2(Q),J===null)qG(Q);var{type:X,pendingProps:Y}=Q,G=J!==null?J.memoizedProps:null,H=Y.children,B=pY(X,Y);if(B)H=null;else if(G!==null&&pY(X,G))Q.flags|=P5;return n2(J,Q),C6(J,Q,H,Z),Q.child}function vP(J,Q){if(J===null)qG(Q);return null}function DP(J,Q,Z,X){sZ(J,Q);var Y=Q.pendingProps,G=Z,H=G._payload,B=G._init,U=B(H);Q.type=U;var K=Q.tag=TR(U),$=E8(U,Y),A;switch(K){case k:return wH(Q,U),Q.type=U=c9(U),A=vH(null,Q,U,$,X),A;case a:return Q.type=U=YB(U),A=e2(null,Q,U,$,X),A;case o:return Q.type=U=GB(U),A=i2(null,Q,U,$,X),A;case _1:{if(Q.type!==Q.elementType){var M=U.propTypes;if(M)S8(M,$,"prop",c1(U))}return A=r2(null,Q,U,E8(U.type,$),X),A}}var _="";if(U!==null&&typeof U==="object"&&U.$$typeof===o1)_=" Did you wrap a component in React.lazy() more than once?";throw Error("Element type is invalid. Received a promise that resolves to: "+U+". "+("Lazy element type must resolve to a class or function."+_))}function wP(J,Q,Z,X,Y){sZ(J,Q),Q.tag=a;var G;if(p8(Z))G=!0,JZ(Q);else G=!1;return N9(Q,Y),d2(Q,Z,X),AH(Q,Z,X,Y),DH(null,Q,Z,!0,G,Y)}function NP(J,Q,Z,X){sZ(J,Q);var Y=Q.pendingProps,G;{var H=L9(Q,Z,!1);G=I9(Q,H)}N9(Q,X);var B,U;_5(Q);{if(Z.prototype&&typeof Z.prototype.render==="function"){var K=c1(Z)||"Unknown";if(!_H[K])W("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.",K,K),_H[K]=!0}if(Q.mode&T4)D8.recordLegacyContextWarning(Q,null);o6(!0),_J.current=Q,B=g9(null,Q,Z,Y,G,X),U=x9(),o6(!1)}if(B9(),Q.flags|=G9,typeof B==="object"&&B!==null&&typeof B.render==="function"&&B.$$typeof===void 0){var $=c1(Z)||"Unknown";if(!LJ[$])W("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.",$,$,$),LJ[$]=!0}if(typeof B==="object"&&B!==null&&typeof B.render==="function"&&B.$$typeof===void 0){{var A=c1(Z)||"Unknown";if(!LJ[A])W("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.",A,A,A),LJ[A]=!0}Q.tag=a,Q.memoizedState=null,Q.updateQueue=null;var M=!1;if(p8(Z))M=!0,JZ(Q);else M=!1;return Q.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,SG(Q),m2(Q,B),AH(Q,Z,Y,X),DH(null,Q,Z,!0,M,X)}else{if(Q.tag=k,Q.mode&T4){Z6(!0);try{B=g9(null,Q,Z,Y,G,X),U=x9()}finally{Z6(!1)}}if(q6()&&U)YG(Q);return C6(null,Q,B,X),wH(Q,Z),Q.child}}function wH(J,Q){{if(Q){if(Q.childContextTypes)W("%s(...): childContextTypes cannot be defined on a function component.",Q.displayName||Q.name||"Component")}if(J.ref!==null){var Z="",X=k0();if(X)Z+=`
|
|
101
|
+
|
|
102
|
+
Check the render method of \``+X+"`.";var Y=X||"",G=J._debugSource;if(G)Y=G.fileName+":"+G.lineNumber;if(!VH[Y])VH[Y]=!0,W("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",Z)}if(Q.defaultProps!==void 0){var H=c1(Q)||"Unknown";if(!IJ[H])W("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",H),IJ[H]=!0}if(typeof Q.getDerivedStateFromProps==="function"){var B=c1(Q)||"Unknown";if(!IH[B])W("%s: Function components do not support getDerivedStateFromProps.",B),IH[B]=!0}if(typeof Q.contextType==="object"&&Q.contextType!==null){var U=c1(Q)||"Unknown";if(!LH[U])W("%s: Function components do not support contextType.",U),LH[U]=!0}}}var NH={dehydrated:null,treeContext:null,retryLane:X6};function EH(J){return{baseLanes:J,cachePool:FP(),transitions:null}}function EP(J,Q){var Z=null;return{baseLanes:w1(J.baseLanes,Q),cachePool:Z,transitions:J.transitions}}function TP(J,Q,Z,X){if(Q!==null){var Y=Q.memoizedState;if(Y===null)return!1}return EG(J,$J)}function CP(J,Q){return IQ(J.childLanes,Q)}function Zq(J,Q,Z){var X=Q.pendingProps;if(pR(Q))Q.flags|=n1;var Y=w8.current,G=!1,H=(Q.flags&n1)!==U1;if(H||TP(Y,J))G=!0,Q.flags&=~n1;else if(J===null||J.memoizedState!==null)Y=oA(Y,q2);if(Y=T9(Y),o0(Q,Y),J===null){qG(Q);var B=Q.memoizedState;if(B!==null){var U=B.dehydrated;if(U!==null)return jP(Q,U)}var{children:K,fallback:$}=X;if(G){var A=bP(Q,K,$,Z),M=Q.child;return M.memoizedState=EH(Z),Q.memoizedState=NH,A}else return TH(Q,K)}else{var _=J.memoizedState;if(_!==null){var L=_.dehydrated;if(L!==null)return hP(J,Q,H,X,L,_,Z)}if(G){var{fallback:V,children:u}=X,J1=gP(J,Q,u,V,Z),e=Q.child,C1=J.child.memoizedState;return e.memoizedState=C1===null?EH(Z):EP(C1,Z),e.childLanes=CP(J,Z),Q.memoizedState=NH,J1}else{var b1=X.children,P=kP(J,Q,b1,Z);return Q.memoizedState=null,P}}}function TH(J,Q,Z){var X=J.mode,Y={mode:"visible",children:Q},G=CH(Y,X);return G.return=J,J.child=G,G}function bP(J,Q,Z,X){var{mode:Y,child:G}=J,H={mode:"hidden",children:Q},B,U;if((Y&j1)===G1&&G!==null){if(B=G,B.childLanes=N,B.pendingProps=H,J.mode&X4)B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=0,B.treeBaseDuration=0;U=Y7(Z,Y,X,null)}else B=CH(H,Y),U=Y7(Z,Y,X,null);return B.return=J,U.return=J,B.sibling=U,J.child=B,U}function CH(J,Q,Z){return YK(J,Q,N,null)}function Xq(J,Q){return d7(J,Q)}function kP(J,Q,Z,X){var Y=J.child,G=Y.sibling,H=Xq(Y,{mode:"visible",children:Z});if((Q.mode&j1)===G1)H.lanes=X;if(H.return=Q,H.sibling=null,G!==null){var B=Q.deletions;if(B===null)Q.deletions=[G],Q.flags|=z7;else B.push(G)}return Q.child=H,H}function gP(J,Q,Z,X,Y){var G=Q.mode,H=J.child,B=H.sibling,U={mode:"hidden",children:Z},K;if((G&j1)===G1&&Q.child!==H){var $=Q.child;if(K=$,K.childLanes=N,K.pendingProps=U,Q.mode&X4)K.actualDuration=0,K.actualStartTime=-1,K.selfBaseDuration=H.selfBaseDuration,K.treeBaseDuration=H.treeBaseDuration;Q.deletions=null}else K=Xq(H,U),K.subtreeFlags=H.subtreeFlags&q0;var A;if(B!==null)A=d7(B,X);else A=Y7(X,G,Y,null),A.flags|=h4;return A.return=Q,K.return=Q,K.sibling=A,Q.child=K,A}function pZ(J,Q,Z,X){if(X!==null)KG(X);D9(Q,J.child,null,Z);var Y=Q.pendingProps,G=Y.children,H=TH(Q,G);return H.flags|=h4,Q.memoizedState=null,H}function xP(J,Q,Z,X,Y){var G=Q.mode,H={mode:"visible",children:Z},B=CH(H,G),U=Y7(X,G,Y,null);if(U.flags|=h4,B.return=Q,U.return=Q,B.sibling=U,Q.child=B,(Q.mode&j1)!==G1)D9(Q,J.child,null,Y);return U}function jP(J,Q,Z){if((J.mode&j1)===G1)W("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."),J.lanes=VQ(A1);else if(rY(Q))J.lanes=VQ(L7);else J.lanes=VQ(t6);return null}function hP(J,Q,Z,X,Y,G,H){if(!Z){if(vA(),(Q.mode&j1)===G1)return pZ(J,Q,H,null);if(rY(Y)){var B,U,K;{var $=dM(Y);B=$.digest,U=$.message,K=$.stack}var A;if(U)A=Error(U);else A=Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var M=PH(A,B,K);return pZ(J,Q,H,M)}var _=n6(H,J.childLanes);if(T8||_){var L=ZX();if(L!==null){var V=iW(L,H);if(V!==X6&&V!==G.retryLane){G.retryLane=V;var u=F4;m6(J,V),o4(L,J,V,u)}}eH();var J1=PH(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 pZ(J,Q,H,J1)}else if(vU(Y)){Q.flags|=n1,Q.child=J.child;var e=OR.bind(null,J);return cM(Y,e),null}else{NA(Q,Y,G.treeContext);var C1=X.children,b1=TH(Q,C1);return b1.flags|=B0,b1}}else if(Q.flags&H0){Q.flags&=~H0;var P=PH(Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return pZ(J,Q,H,P)}else if(Q.memoizedState!==null)return Q.child=J.child,Q.flags|=n1,null;else{var{children:v,fallback:F}=X,T=xP(J,Q,v,F,H),p=Q.child;return p.memoizedState=EH(H),Q.memoizedState=NH,T}}function Yq(J,Q,Z){J.lanes=w1(J.lanes,Q);var X=J.alternate;if(X!==null)X.lanes=w1(X.lanes,Q);_G(J.return,Q,Z)}function uP(J,Q,Z){var X=Q;while(X!==null){if(X.tag===f){var Y=X.memoizedState;if(Y!==null)Yq(X,Z,J)}else if(X.tag===T1)Yq(X,Z,J);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===J)return;while(X.sibling===null){if(X.return===null||X.return===J)return;X=X.return}X.sibling.return=X.return,X=X.sibling}}function yP(J){var Q=J,Z=null;while(Q!==null){var X=Q.alternate;if(X!==null&&LZ(X)===null)Z=Q;Q=Q.sibling}return Z}function fP(J){if(J!==void 0&&J!=="forwards"&&J!=="backwards"&&J!=="together"&&!SH[J])if(SH[J]=!0,typeof J==="string")switch(J.toLowerCase()){case"together":case"forwards":case"backwards":{W('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',J,J.toLowerCase());break}case"forward":case"backward":{W('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',J,J.toLowerCase());break}default:W('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',J);break}else W('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',J)}function mP(J,Q){if(J!==void 0&&!lZ[J]){if(J!=="collapsed"&&J!=="hidden")lZ[J]=!0,W('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',J);else if(Q!=="forwards"&&Q!=="backwards")lZ[J]=!0,W('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',J)}}function Gq(J,Q){{var Z=t1(J),X=!Z&&typeof _8(J)==="function";if(Z||X){var Y=Z?"array":"iterable";return W("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>",Y,Q,Y),!1}}return!0}function dP(J,Q){if((Q==="forwards"||Q==="backwards")&&J!==void 0&&J!==null&&J!==!1)if(t1(J)){for(var Z=0;Z<J.length;Z++)if(!Gq(J[Z],Z))return}else{var X=_8(J);if(typeof X==="function"){var Y=X.call(J);if(Y){var G=Y.next(),H=0;for(;!G.done;G=Y.next()){if(!Gq(G.value,H))return;H++}}}else W('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?',Q)}}function bH(J,Q,Z,X,Y){var G=J.memoizedState;if(G===null)J.memoizedState={isBackwards:Q,rendering:null,renderingStartTime:0,last:X,tail:Z,tailMode:Y};else G.isBackwards=Q,G.rendering=null,G.renderingStartTime=0,G.last=X,G.tail=Z,G.tailMode=Y}function Hq(J,Q,Z){var X=Q.pendingProps,Y=X.revealOrder,G=X.tail,H=X.children;fP(Y),mP(G,Y),dP(H,Y),C6(J,Q,H,Z);var B=w8.current,U=EG(B,$J);if(U)B=TG(B,$J),Q.flags|=n1;else{var K=J!==null&&(J.flags&n1)!==U1;if(K)uP(Q,Q.child,Z);B=T9(B)}if(o0(Q,B),(Q.mode&j1)===G1)Q.memoizedState=null;else switch(Y){case"forwards":{var $=yP(Q.child),A;if($===null)A=Q.child,Q.child=null;else A=$.sibling,$.sibling=null;bH(Q,!1,A,$,G);break}case"backwards":{var M=null,_=Q.child;Q.child=null;while(_!==null){var L=_.alternate;if(L!==null&&LZ(L)===null){Q.child=_;break}var V=_.sibling;_.sibling=M,M=_,_=V}bH(Q,!0,M,null,G);break}case"together":{bH(Q,!1,null,null,void 0);break}default:Q.memoizedState=null}return Q.child}function cP(J,Q,Z){DG(Q,Q.stateNode.containerInfo);var X=Q.pendingProps;if(J===null)Q.child=D9(Q,null,X,Z);else C6(J,Q,X,Z);return Q.child}var Bq=!1;function lP(J,Q,Z){var X=Q.type,Y=X._context,G=Q.pendingProps,H=Q.memoizedProps,B=G.value;{if(!("value"in G)){if(!Bq)Bq=!0,W("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")}var U=Q.type.propTypes;if(U)S8(U,G,"prop","Context.Provider")}if(eU(Q,Y,B),H!==null){var K=H.value;if(Q8(K,B)){if(H.children===G.children&&!nQ())return R0(J,Q,Z)}else mA(Q,Y,Z)}var $=G.children;return C6(J,Q,$,Z),Q.child}var Uq=!1;function pP(J,Q,Z){var X=Q.type;if(X._context===void 0){if(X!==X.Consumer){if(!Uq)Uq=!0,W("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")}}else X=X._context;var Y=Q.pendingProps,G=Y.children;if(typeof G!=="function")W("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.");N9(Q,Z);var H=u4(X);_5(Q);var B;return _J.current=Q,o6(!0),B=G(H),o6(!1),B9(),Q.flags|=G9,C6(J,Q,B,Z),Q.child}function VJ(){T8=!0}function sZ(J,Q){if((Q.mode&j1)===G1){if(J!==null)J.alternate=null,Q.alternate=null,Q.flags|=h4}}function R0(J,Q,Z){if(J!==null)Q.dependencies=J.dependencies;if(h2(),xJ(Q.lanes),!n6(Z,Q.childLanes))return null;return yA(J,Q),Q.child}function sP(J,Q,Z){{var X=Q.return;if(X===null)throw Error("Cannot swap the root fiber.");if(J.alternate=null,Q.alternate=null,Z.index=Q.index,Z.sibling=Q.sibling,Z.return=Q.return,Z.ref=Q.ref,Q===X.child)X.child=Z;else{var Y=X.child;if(Y===null)throw Error("Expected parent to have a child.");while(Y.sibling!==Q)if(Y=Y.sibling,Y===null)throw Error("Expected to find the previous sibling.");Y.sibling=Z}var G=X.deletions;if(G===null)X.deletions=[J],X.flags|=z7;else G.push(J);return Z.flags|=h4,Z}}function kH(J,Q){var Z=J.lanes;if(n6(Z,Q))return!0;return!1}function aP(J,Q,Z){switch(Q.tag){case i:Jq(Q);var X=Q.stateNode;v9();break;case h:B2(Q);break;case a:{var Y=Q.type;if(p8(Y))JZ(Q);break}case z1:DG(Q,Q.stateNode.containerInfo);break;case g1:{var G=Q.memoizedProps.value,H=Q.type._context;eU(Q,H,G);break}case g:{var B=n6(Z,Q.childLanes);if(B)Q.flags|=m1;{var U=Q.stateNode;U.effectDuration=0,U.passiveEffectDuration=0}}break;case f:{var K=Q.memoizedState;if(K!==null){if(K.dehydrated!==null)return o0(Q,T9(w8.current)),Q.flags|=n1,null;var $=Q.child,A=$.childLanes;if(n6(Z,A))return Zq(J,Q,Z);else{o0(Q,T9(w8.current));var M=R0(J,Q,Z);if(M!==null)return M.sibling;else return null}}else o0(Q,T9(w8.current));break}case T1:{var _=(J.flags&n1)!==U1,L=n6(Z,Q.childLanes);if(_){if(L)return Hq(J,Q,Z);Q.flags|=n1}var V=Q.memoizedState;if(V!==null)V.rendering=null,V.tail=null,V.lastEffect=null;if(o0(Q,w8.current),L)break;else return null}case M4:case N1:return Q.lanes=N,t2(J,Q,Z)}return R0(J,Q,Z)}function qq(J,Q,Z){if(Q._debugNeedsRemount&&J!==null)return sP(J,Q,KB(Q.type,Q.key,Q.pendingProps,Q._debugOwner||null,Q.mode,Q.lanes));if(J!==null){var X=J.memoizedProps,Y=Q.pendingProps;if(X!==Y||nQ()||Q.type!==J.type)T8=!0;else{var G=kH(J,Z);if(!G&&(Q.flags&n1)===U1)return T8=!1,aP(J,Q,Z);if((J.flags&uX)!==U1)T8=!0;else T8=!1}}else if(T8=!1,q6()&&RA(Q)){var H=Q.index,B=_A();hU(Q,B,H)}switch(Q.lanes=N,Q.tag){case u1:return NP(J,Q,Q.type,Z);case Z1:{var U=Q.elementType;return DP(J,Q,U,Z)}case k:{var{type:K,pendingProps:$}=Q,A=Q.elementType===K?$:E8(K,$);return vH(J,Q,K,A,Z)}case a:{var{type:M,pendingProps:_}=Q,L=Q.elementType===M?_:E8(M,_);return e2(J,Q,M,L,Z)}case i:return VP(J,Q,Z);case h:return SP(J,Q,Z);case K1:return vP(J,Q);case f:return Zq(J,Q,Z);case z1:return cP(J,Q,Z);case o:{var{type:V,pendingProps:u}=Q,J1=Q.elementType===V?u:E8(V,u);return i2(J,Q,V,J1,Z)}case q4:return _P(J,Q,Z);case i1:return LP(J,Q,Z);case g:return IP(J,Q,Z);case g1:return lP(J,Q,Z);case N4:return pP(J,Q,Z);case _1:{var{type:e,pendingProps:C1}=Q,b1=E8(e,C1);if(Q.type!==Q.elementType){var P=e.propTypes;if(P)S8(P,b1,"prop",c1(e))}return b1=E8(e.type,b1),r2(J,Q,e,b1,Z)}case s:return o2(J,Q,Q.type,Q.pendingProps,Z);case v1:{var{type:v,pendingProps:F}=Q,T=Q.elementType===v?F:E8(v,F);return wP(J,Q,v,T,Z)}case T1:return Hq(J,Q,Z);case d1:break;case M4:return t2(J,Q,Z)}throw Error("Unknown unit of work tag ("+Q.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function j9(J){J.flags|=m1}function Kq(J){J.flags|=j0,J.flags|=yX}var $q,gH,Wq,Oq;$q=function(J,Q,Z,X){var Y=Q.child;while(Y!==null){if(Y.tag===h||Y.tag===K1)AM(J,Y.stateNode);else if(Y.tag===z1);else if(Y.child!==null){Y.child.return=Y,Y=Y.child;continue}if(Y===Q)return;while(Y.sibling===null){if(Y.return===null||Y.return===Q)return;Y=Y.return}Y.sibling.return=Y.return,Y=Y.sibling}},gH=function(J,Q){},Wq=function(J,Q,Z,X,Y){var G=J.memoizedProps;if(G===X)return;var H=Q.stateNode,B=wG(),U=FM(H,Z,G,X,Y,B);if(Q.updateQueue=U,U)j9(Q)},Oq=function(J,Q,Z,X){if(Z!==X)j9(Q)};function SJ(J,Q){if(q6())return;switch(J.tailMode){case"hidden":{var Z=J.tail,X=null;while(Z!==null){if(Z.alternate!==null)X=Z;Z=Z.sibling}if(X===null)J.tail=null;else X.sibling=null;break}case"collapsed":{var Y=J.tail,G=null;while(Y!==null){if(Y.alternate!==null)G=Y;Y=Y.sibling}if(G===null)if(!Q&&J.tail!==null)J.tail.sibling=null;else J.tail=null;else G.sibling=null;break}}}function $6(J){var Q=J.alternate!==null&&J.alternate.child===J.child,Z=N,X=U1;if(!Q){if((J.mode&X4)!==G1){var{actualDuration:Y,selfBaseDuration:G,child:H}=J;while(H!==null)Z=w1(Z,w1(H.lanes,H.childLanes)),X|=H.subtreeFlags,X|=H.flags,Y+=H.actualDuration,G+=H.treeBaseDuration,H=H.sibling;J.actualDuration=Y,J.treeBaseDuration=G}else{var B=J.child;while(B!==null)Z=w1(Z,w1(B.lanes,B.childLanes)),X|=B.subtreeFlags,X|=B.flags,B.return=J,B=B.sibling}J.subtreeFlags|=X}else{if((J.mode&X4)!==G1){var{selfBaseDuration:U,child:K}=J;while(K!==null)Z=w1(Z,w1(K.lanes,K.childLanes)),X|=K.subtreeFlags&q0,X|=K.flags&q0,U+=K.treeBaseDuration,K=K.sibling;J.treeBaseDuration=U}else{var $=J.child;while($!==null)Z=w1(Z,w1($.lanes,$.childLanes)),X|=$.subtreeFlags&q0,X|=$.flags&q0,$.return=J,$=$.sibling}J.subtreeFlags|=X}return J.childLanes=Z,Q}function iP(J,Q,Z){if(kA()&&(Q.mode&j1)!==G1&&(Q.flags&n1)===U1)return lU(Q),v9(),Q.flags|=H0|F5|T6,!1;var X=GZ(Q);if(Z!==null&&Z.dehydrated!==null)if(J===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(CA(Q),$6(Q),(Q.mode&X4)!==G1){var Y=Z!==null;if(Y){var G=Q.child;if(G!==null)Q.treeBaseDuration-=G.treeBaseDuration}}return!1}else{if(v9(),(Q.flags&n1)===U1)Q.memoizedState=null;if(Q.flags|=m1,$6(Q),(Q.mode&X4)!==G1){var H=Z!==null;if(H){var B=Q.child;if(B!==null)Q.treeBaseDuration-=B.treeBaseDuration}}return!1}else return pU(),!0}function zq(J,Q,Z){var X=Q.pendingProps;switch(GG(Q),Q.tag){case u1:case Z1:case s:case k:case o:case q4:case i1:case g:case N4:case _1:return $6(Q),null;case a:{var Y=Q.type;if(p8(Y))eQ(Q);return $6(Q),null}case i:{var G=Q.stateNode;if(E9(Q),QG(Q),bG(),G.pendingContext)G.context=G.pendingContext,G.pendingContext=null;if(J===null||J.child===null){var H=GZ(Q);if(H)j9(Q);else if(J!==null){var B=J.memoizedState;if(!B.isDehydrated||(Q.flags&H0)!==U1)Q.flags|=M7,pU()}}return gH(J,Q),$6(Q),null}case h:{NG(Q);var U=H2(),K=Q.type;if(J!==null&&Q.stateNode!=null){if(Wq(J,Q,K,X,U),J.ref!==Q.ref)Kq(Q)}else{if(!X){if(Q.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return $6(Q),null}var $=wG(),A=GZ(Q);if(A){if(EA(Q,U,$))j9(Q)}else{var M=MM(K,X,U,$,Q);if($q(M,Q,!1,!1),Q.stateNode=M,PM(M,K,X,U))j9(Q)}if(Q.ref!==null)Kq(Q)}return $6(Q),null}case K1:{var _=X;if(J&&Q.stateNode!=null){var L=J.memoizedProps;Oq(J,Q,L,_)}else{if(typeof _!=="string"){if(Q.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.")}var V=H2(),u=wG(),J1=GZ(Q);if(J1){if(TA(Q))j9(Q)}else Q.stateNode=RM(_,V,u,Q)}return $6(Q),null}case f:{C9(Q);var e=Q.memoizedState;if(J===null||J.memoizedState!==null&&J.memoizedState.dehydrated!==null){var C1=iP(J,Q,e);if(!C1)if(Q.flags&T6)return Q;else return null}if((Q.flags&n1)!==U1){if(Q.lanes=Z,(Q.mode&X4)!==G1)YH(Q);return Q}var b1=e!==null,P=J!==null&&J.memoizedState!==null;if(b1!==P){if(b1){var v=Q.child;if(v.flags|=A7,(Q.mode&j1)!==G1){var F=J===null&&(Q.memoizedProps.unstable_avoidThisFallback!==!0||!Q4);if(F||EG(w8.current,q2))JR();else eH()}}}var T=Q.updateQueue;if(T!==null)Q.flags|=m1;if($6(Q),(Q.mode&X4)!==G1){if(b1){var p=Q.child;if(p!==null)Q.treeBaseDuration-=p.treeBaseDuration}}return null}case z1:if(E9(Q),gH(J,Q),J===null)WA(Q.stateNode.containerInfo);return $6(Q),null;case g1:var m=Q.type._context;return RG(m,Q),$6(Q),null;case v1:{var W1=Q.type;if(p8(W1))eQ(Q);return $6(Q),null}case T1:{C9(Q);var R1=Q.memoizedState;if(R1===null)return $6(Q),null;var G4=(Q.flags&n1)!==U1,s1=R1.rendering;if(s1===null)if(!G4){var g4=ZR()&&(J===null||(J.flags&n1)===U1);if(!g4){var a1=Q.child;while(a1!==null){var C4=LZ(a1);if(C4!==null){G4=!0,Q.flags|=n1,SJ(R1,!1);var v6=C4.updateQueue;if(v6!==null)Q.updateQueue=v6,Q.flags|=m1;return Q.subtreeFlags=U1,fA(Q,Z),o0(Q,TG(w8.current,$J)),Q.child}a1=a1.sibling}}if(R1.tail!==null&&Q6()>jq())Q.flags|=n1,G4=!0,SJ(R1,!1),Q.lanes=W3}else SJ(R1,!1);else{if(!G4){var A6=LZ(s1);if(A6!==null){Q.flags|=n1,G4=!0;var Y8=A6.updateQueue;if(Y8!==null)Q.updateQueue=Y8,Q.flags|=m1;if(SJ(R1,!0),R1.tail===null&&R1.tailMode==="hidden"&&!s1.alternate&&!q6())return $6(Q),null}else if(Q6()*2-R1.renderingStartTime>jq()&&Z!==t6)Q.flags|=n1,G4=!0,SJ(R1,!1),Q.lanes=W3}if(R1.isBackwards)s1.sibling=Q.child,Q.child=s1;else{var g6=R1.last;if(g6!==null)g6.sibling=s1;else Q.child=s1;R1.last=s1}}if(R1.tail!==null){var x6=R1.tail;R1.rendering=x6,R1.tail=x6.sibling,R1.renderingStartTime=Q6(),x6.sibling=null;var D6=w8.current;if(G4)D6=TG(D6,$J);else D6=T9(D6);return o0(Q,D6),x6}return $6(Q),null}case d1:break;case M4:case N1:{nH(Q);var S0=Q.memoizedState,l9=S0!==null;if(J!==null){var fJ=J.memoizedState,e8=fJ!==null;if(e8!==l9&&!t4)Q.flags|=A7}if(!l9||(Q.mode&j1)===G1)$6(Q);else if(n6(n8,t6)){if($6(Q),Q.subtreeFlags&(h4|m1))Q.flags|=A7}return null}case D1:return null;case A4:return null}throw Error("Unknown unit of work tag ("+Q.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function rP(J,Q,Z){switch(GG(Q),Q.tag){case a:{var X=Q.type;if(p8(X))eQ(Q);var Y=Q.flags;if(Y&T6){if(Q.flags=Y&~T6|n1,(Q.mode&X4)!==G1)YH(Q);return Q}return null}case i:{var G=Q.stateNode;E9(Q),QG(Q),bG();var H=Q.flags;if((H&T6)!==U1&&(H&n1)===U1)return Q.flags=H&~T6|n1,Q;return null}case h:return NG(Q),null;case f:{C9(Q);var B=Q.memoizedState;if(B!==null&&B.dehydrated!==null){if(Q.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v9()}var U=Q.flags;if(U&T6){if(Q.flags=U&~T6|n1,(Q.mode&X4)!==G1)YH(Q);return Q}return null}case T1:return C9(Q),null;case z1:return E9(Q),null;case g1:var K=Q.type._context;return RG(K,Q),null;case M4:case N1:return nH(Q),null;case D1:return null;default:return null}}function Mq(J,Q,Z){switch(GG(Q),Q.tag){case a:{var X=Q.type.childContextTypes;if(X!==null&&X!==void 0)eQ(Q);break}case i:{var Y=Q.stateNode;E9(Q),QG(Q),bG();break}case h:{NG(Q);break}case z1:E9(Q);break;case f:C9(Q);break;case T1:C9(Q);break;case g1:var G=Q.type._context;RG(G,Q);break;case M4:case N1:nH(Q);break}}var Aq=null;Aq=new Set;var aZ=!1,W6=!1,oP=typeof WeakSet==="function"?WeakSet:Set,r=null,h9=null,u9=null;function tP(J){xX(null,function(){throw J}),jX()}var nP=function(J,Q){if(Q.props=J.memoizedProps,Q.state=J.memoizedState,J.mode&X4)try{o8(),Q.componentWillUnmount()}finally{r8(J)}else Q.componentWillUnmount()};function Pq(J,Q){try{e0(l4,J)}catch(Z){z4(J,Q,Z)}}function xH(J,Q,Z){try{nP(J,Z)}catch(X){z4(J,Q,X)}}function eP(J,Q,Z){try{Z.componentDidMount()}catch(X){z4(J,Q,X)}}function Fq(J,Q){try{Lq(J)}catch(Z){z4(J,Q,Z)}}function y9(J,Q){var Z=J.ref;if(Z!==null)if(typeof Z==="function"){var X;try{if(s6&&a6&&J.mode&X4)try{o8(),X=Z(null)}finally{r8(J)}else X=Z(null)}catch(Y){z4(J,Q,Y)}if(typeof X==="function")W("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",V1(J))}else Z.current=null}function iZ(J,Q,Z){try{Z()}catch(X){z4(J,Q,X)}}var Rq=null,_q=!1;function JF(J,Q){Rq=OM(J.containerInfo),r=Q,QF();var Z=_q;return _q=!1,Rq=null,Z}function QF(){while(r!==null){var J=r,Q=J.child;if((J.subtreeFlags&mX)!==U1&&Q!==null)Q.return=J,r=Q;else ZF()}}function ZF(){while(r!==null){var J=r;D4(J);try{XF(J)}catch(Z){z4(J,J.return,Z)}J6();var Q=J.sibling;if(Q!==null){Q.return=J.return,r=Q;return}r=J.return}}function XF(J){var{alternate:Q,flags:Z}=J;if((Z&M7)!==U1){switch(D4(J),J.tag){case k:case o:case s:break;case a:{if(Q!==null){var{memoizedProps:X,memoizedState:Y}=Q,G=J.stateNode;if(J.type===J.elementType&&!h7){if(G.props!==J.memoizedProps)W("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.",V1(J)||"instance");if(G.state!==J.memoizedState)W("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.",V1(J)||"instance")}var H=G.getSnapshotBeforeUpdate(J.elementType===J.type?X:E8(J.type,X),Y);{var B=Aq;if(H===void 0&&!B.has(J.type))B.add(J.type),W("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",V1(J))}G.__reactInternalSnapshotBeforeUpdate=H}break}case i:{{var U=J.stateNode;uM(U.containerInfo)}break}case h:case K1:case z1:case v1:break;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}J6()}}function C8(J,Q,Z){var X=Q.updateQueue,Y=X!==null?X.lastEffect:null;if(Y!==null){var G=Y.next,H=G;do{if((H.tag&J)===J){var B=H.destroy;if(H.destroy=void 0,B!==void 0){if((J&K6)!==d6)RW(Q);else if((J&l4)!==d6)B3(Q);if((J&s8)!==d6)hJ(!0);if(iZ(Q,Z,B),(J&s8)!==d6)hJ(!1);if((J&K6)!==d6)_W();else if((J&l4)!==d6)U3()}}H=H.next}while(H!==G)}}function e0(J,Q){var Z=Q.updateQueue,X=Z!==null?Z.lastEffect:null;if(X!==null){var Y=X.next,G=Y;do{if((G.tag&J)===J){if((J&K6)!==d6)PW(Q);else if((J&l4)!==d6)LW(Q);var H=G.create;if((J&s8)!==d6)hJ(!0);if(G.destroy=H(),(J&s8)!==d6)hJ(!1);if((J&K6)!==d6)FW();else if((J&l4)!==d6)IW();{var B=G.destroy;if(B!==void 0&&typeof B!=="function"){var U=void 0;if((G.tag&l4)!==U1)U="useLayoutEffect";else if((G.tag&s8)!==U1)U="useInsertionEffect";else U="useEffect";var K=void 0;if(B===null)K=" You returned null. If your effect does not require clean up, return undefined (or nothing).";else if(typeof B.then==="function")K=`
|
|
103
|
+
|
|
104
|
+
It looks like you wrote `+U+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
105
|
+
|
|
106
|
+
`+U+`(() => {
|
|
107
|
+
async function fetchData() {
|
|
108
|
+
// You can await here
|
|
109
|
+
const response = await MyAPI.getData(someId);
|
|
110
|
+
// ...
|
|
111
|
+
}
|
|
112
|
+
fetchData();
|
|
113
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
114
|
+
|
|
115
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`;else K=" You returned: "+B;W("%s must not return anything besides a function, which is used for clean-up.%s",U,K)}}}G=G.next}while(G!==Y)}}function YF(J,Q){if((Q.flags&m1)!==U1)switch(Q.tag){case g:{var Z=Q.stateNode.passiveEffectDuration,X=Q.memoizedProps,Y=X.id,G=X.onPostCommit,H=x2(),B=Q.alternate===null?"mount":"update";if(g2())B="nested-update";if(typeof G==="function")G(Y,B,Z,H);var U=Q.return;J:while(U!==null){switch(U.tag){case i:var K=U.stateNode;K.passiveEffectDuration+=Z;break J;case g:var $=U.stateNode;$.passiveEffectDuration+=Z;break J}U=U.return}break}}}function GF(J,Q,Z,X){if((Z.flags&R5)!==U1)switch(Z.tag){case k:case o:case s:{if(!W6)if(Z.mode&X4)try{o8(),e0(l4|c4,Z)}finally{r8(Z)}else e0(l4|c4,Z);break}case a:{var Y=Z.stateNode;if(Z.flags&m1){if(!W6)if(Q===null){if(Z.type===Z.elementType&&!h7){if(Y.props!==Z.memoizedProps)W("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.",V1(Z)||"instance");if(Y.state!==Z.memoizedState)W("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.",V1(Z)||"instance")}if(Z.mode&X4)try{o8(),Y.componentDidMount()}finally{r8(Z)}else Y.componentDidMount()}else{var G=Z.elementType===Z.type?Q.memoizedProps:E8(Z.type,Q.memoizedProps),H=Q.memoizedState;if(Z.type===Z.elementType&&!h7){if(Y.props!==Z.memoizedProps)W("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.",V1(Z)||"instance");if(Y.state!==Z.memoizedState)W("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.",V1(Z)||"instance")}if(Z.mode&X4)try{o8(),Y.componentDidUpdate(G,H,Y.__reactInternalSnapshotBeforeUpdate)}finally{r8(Z)}else Y.componentDidUpdate(G,H,Y.__reactInternalSnapshotBeforeUpdate)}}var B=Z.updateQueue;if(B!==null){if(Z.type===Z.elementType&&!h7){if(Y.props!==Z.memoizedProps)W("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.",V1(Z)||"instance");if(Y.state!==Z.memoizedState)W("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.",V1(Z)||"instance")}G2(Z,B,Y)}break}case i:{var U=Z.updateQueue;if(U!==null){var K=null;if(Z.child!==null)switch(Z.child.tag){case h:K=lY(Z.child.stateNode);break;case a:K=Z.child.stateNode;break}G2(Z,U,K)}break}case h:{var $=Z.stateNode;if(Q===null&&Z.flags&m1){var{type:A,memoizedProps:M}=Z;SM($,A,M)}break}case K1:break;case z1:break;case g:{{var _=Z.memoizedProps,L=_.onCommit,V=_.onRender,u=Z.stateNode.effectDuration,J1=x2(),e=Q===null?"mount":"update";if(g2())e="nested-update";if(typeof V==="function")V(Z.memoizedProps.id,e,Z.actualDuration,Z.treeBaseDuration,Z.actualStartTime,J1);{if(typeof L==="function")L(Z.memoizedProps.id,e,u,J1);BR(Z);var C1=Z.return;J:while(C1!==null){switch(C1.tag){case i:var b1=C1.stateNode;b1.effectDuration+=u;break J;case g:var P=C1.stateNode;P.effectDuration+=u;break J}C1=C1.return}}}break}case f:{OF(J,Z);break}case T1:case v1:case d1:case M4:case N1:case A4:break;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(!W6){if(Z.flags&j0)Lq(Z)}}function HF(J){switch(J.tag){case k:case o:case s:{if(J.mode&X4)try{o8(),Pq(J,J.return)}finally{r8(J)}else Pq(J,J.return);break}case a:{var Q=J.stateNode;if(typeof Q.componentDidMount==="function")eP(J,J.return,Q);Fq(J,J.return);break}case h:{Fq(J,J.return);break}}}function BF(J,Q){var Z=null;{var X=J;while(!0){if(X.tag===h){if(Z===null){Z=X;try{var Y=X.stateNode;if(Q)gM(Y);else jM(X.stateNode,X.memoizedProps)}catch(H){z4(J,J.return,H)}}}else if(X.tag===K1){if(Z===null)try{var G=X.stateNode;if(Q)xM(G);else hM(G,X.memoizedProps)}catch(H){z4(J,J.return,H)}}else if((X.tag===M4||X.tag===N1)&&X.memoizedState!==null&&X!==J);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===J)return;while(X.sibling===null){if(X.return===null||X.return===J)return;if(Z===X)Z=null;X=X.return}if(Z===X)Z=null;X.sibling.return=X.return,X=X.sibling}}}function Lq(J){var Q=J.ref;if(Q!==null){var Z=J.stateNode,X;switch(J.tag){case h:X=lY(Z);break;default:X=Z}if(typeof Q==="function"){var Y;if(J.mode&X4)try{o8(),Y=Q(X)}finally{r8(J)}else Y=Q(X);if(typeof Y==="function")W("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",V1(J))}else{if(!Q.hasOwnProperty("current"))W("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",V1(J));Q.current=X}}}function UF(J){var Q=J.alternate;if(Q!==null)Q.return=null;J.return=null}function Iq(J){var Q=J.alternate;if(Q!==null)J.alternate=null,Iq(Q);{if(J.child=null,J.deletions=null,J.sibling=null,J.tag===h){var Z=J.stateNode;if(Z!==null)MA(Z)}J.stateNode=null,J._debugOwner=null,J.return=null,J.dependencies=null,J.memoizedProps=null,J.memoizedState=null,J.pendingProps=null,J.stateNode=null,J.updateQueue=null}}function qF(J){var Q=J.return;while(Q!==null){if(Vq(Q))return Q;Q=Q.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Vq(J){return J.tag===h||J.tag===i||J.tag===z1}function Sq(J){var Q=J;J:while(!0){while(Q.sibling===null){if(Q.return===null||Vq(Q.return))return null;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling;while(Q.tag!==h&&Q.tag!==K1&&Q.tag!==y1){if(Q.flags&h4)continue J;if(Q.child===null||Q.tag===z1)continue J;else Q.child.return=Q,Q=Q.child}if(!(Q.flags&h4))return Q.stateNode}}function KF(J){var Q=qF(J);switch(Q.tag){case h:{var Z=Q.stateNode;if(Q.flags&P5)SU(Z),Q.flags&=~P5;var X=Sq(J);hH(J,X,Z);break}case i:case z1:{var Y=Q.stateNode.containerInfo,G=Sq(J);jH(J,G,Y);break}default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function jH(J,Q,Z){var X=J.tag,Y=X===h||X===K1;if(Y){var G=J.stateNode;if(Q)TM(Z,G,Q);else NM(Z,G)}else if(X===z1);else{var H=J.child;if(H!==null){jH(H,Q,Z);var B=H.sibling;while(B!==null)jH(B,Q,Z),B=B.sibling}}}function hH(J,Q,Z){var X=J.tag,Y=X===h||X===K1;if(Y){var G=J.stateNode;if(Q)EM(Z,G,Q);else wM(Z,G)}else if(X===z1);else{var H=J.child;if(H!==null){hH(H,Q,Z);var B=H.sibling;while(B!==null)hH(B,Q,Z),B=B.sibling}}}var O6=null,b8=!1;function $F(J,Q,Z){{var X=Q;J:while(X!==null){switch(X.tag){case h:{O6=X.stateNode,b8=!1;break J}case i:{O6=X.stateNode.containerInfo,b8=!0;break J}case z1:{O6=X.stateNode.containerInfo,b8=!0;break J}}X=X.return}if(O6===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vq(J,Q,Z),O6=null,b8=!1}UF(Z)}function J7(J,Q,Z){var X=Z.child;while(X!==null)vq(J,Q,X),X=X.sibling}function vq(J,Q,Z){switch(OW(Z),Z.tag){case h:if(!W6)y9(Z,Q);case K1:{{var X=O6,Y=b8;if(O6=null,J7(J,Q,Z),O6=X,b8=Y,O6!==null)if(b8)bM(O6,Z.stateNode);else CM(O6,Z.stateNode)}return}case y1:{if(O6!==null)if(b8)kM(O6,Z.stateNode);else iY(O6,Z.stateNode);return}case z1:{{var G=O6,H=b8;O6=Z.stateNode.containerInfo,b8=!0,J7(J,Q,Z),O6=G,b8=H}return}case k:case o:case _1:case s:{if(!W6){var B=Z.updateQueue;if(B!==null){var U=B.lastEffect;if(U!==null){var K=U.next,$=K;do{var A=$,M=A.destroy,_=A.tag;if(M!==void 0){if((_&s8)!==d6)iZ(Z,Q,M);else if((_&l4)!==d6){if(B3(Z),Z.mode&X4)o8(),iZ(Z,Q,M),r8(Z);else iZ(Z,Q,M);U3()}}$=$.next}while($!==K)}}}J7(J,Q,Z);return}case a:{if(!W6){y9(Z,Q);var L=Z.stateNode;if(typeof L.componentWillUnmount==="function")xH(Z,Q,L)}J7(J,Q,Z);return}case d1:{J7(J,Q,Z);return}case M4:{if(Z.mode&j1){var V=W6;W6=V||Z.memoizedState!==null,J7(J,Q,Z),W6=V}else J7(J,Q,Z);break}default:{J7(J,Q,Z);return}}}function WF(J){var Q=J.memoizedState}function OF(J,Q){var Z=Q.memoizedState;if(Z===null){var X=Q.alternate;if(X!==null){var Y=X.memoizedState;if(Y!==null){var G=Y.dehydrated;if(G!==null)nM(G)}}}}function Dq(J){var Q=J.updateQueue;if(Q!==null){J.updateQueue=null;var Z=J.stateNode;if(Z===null)Z=J.stateNode=new oP;Q.forEach(function(X){var Y=zR.bind(null,J,X);if(!Z.has(X)){if(Z.add(X),I8)if(h9!==null&&u9!==null)jJ(u9,h9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");X.then(Y,Y)}})}}function zF(J,Q,Z){h9=Z,u9=J,D4(Q),wq(Q,J),D4(Q),h9=null,u9=null}function k8(J,Q,Z){var X=Q.deletions;if(X!==null)for(var Y=0;Y<X.length;Y++){var G=X[Y];try{$F(J,Q,G)}catch(U){z4(G,Q,U)}}var H=QQ();if(Q.subtreeFlags&dX){var B=Q.child;while(B!==null)D4(B),wq(B,J),B=B.sibling}D4(H)}function wq(J,Q,Z){var{alternate:X,flags:Y}=J;switch(J.tag){case k:case o:case _1:case s:{if(k8(Q,J),t8(J),Y&m1){try{C8(s8|c4,J,J.return),e0(s8|c4,J)}catch(W1){z4(J,J.return,W1)}if(J.mode&X4){try{o8(),C8(l4|c4,J,J.return)}catch(W1){z4(J,J.return,W1)}r8(J)}else try{C8(l4|c4,J,J.return)}catch(W1){z4(J,J.return,W1)}}return}case a:{if(k8(Q,J),t8(J),Y&j0){if(X!==null)y9(X,X.return)}return}case h:{if(k8(Q,J),t8(J),Y&j0){if(X!==null)y9(X,X.return)}{if(J.flags&P5){var G=J.stateNode;try{SU(G)}catch(W1){z4(J,J.return,W1)}}if(Y&m1){var H=J.stateNode;if(H!=null){var B=J.memoizedProps,U=X!==null?X.memoizedProps:B,K=J.type,$=J.updateQueue;if(J.updateQueue=null,$!==null)try{vM(H,$,K,U,B,J)}catch(W1){z4(J,J.return,W1)}}}}return}case K1:{if(k8(Q,J),t8(J),Y&m1){if(J.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var{stateNode:A,memoizedProps:M}=J,_=X!==null?X.memoizedProps:M;try{DM(A,_,M)}catch(W1){z4(J,J.return,W1)}}return}case i:{if(k8(Q,J),t8(J),Y&m1){if(X!==null){var L=X.memoizedState;if(L.isDehydrated)try{tM(Q.containerInfo)}catch(W1){z4(J,J.return,W1)}}}return}case z1:{k8(Q,J),t8(J);return}case f:{k8(Q,J),t8(J);var V=J.child;if(V.flags&A7){var{stateNode:u,memoizedState:J1}=V,e=J1!==null;if(u.isHidden=e,e){var C1=V.alternate!==null&&V.alternate.memoizedState!==null;if(!C1)eF()}}if(Y&m1){try{WF(J)}catch(W1){z4(J,J.return,W1)}Dq(J)}return}case M4:{var b1=X!==null&&X.memoizedState!==null;if(J.mode&j1){var P=W6;W6=P||b1,k8(Q,J),W6=P}else k8(Q,J);if(t8(J),Y&A7){var{stateNode:v,memoizedState:F}=J,T=F!==null,p=J;if(v.isHidden=T,T){if(!b1){if((p.mode&j1)!==G1){r=p;var m=p.child;while(m!==null)r=m,AF(m),m=m.sibling}}}BF(p,T)}return}case T1:{if(k8(Q,J),t8(J),Y&m1)Dq(J);return}case d1:return;default:{k8(Q,J),t8(J);return}}}function t8(J){var Q=J.flags;if(Q&h4){try{KF(J)}catch(Z){z4(J,J.return,Z)}J.flags&=~h4}if(Q&B0)J.flags&=~B0}function MF(J,Q,Z){h9=Z,u9=Q,r=J,Nq(J,Q,Z),h9=null,u9=null}function Nq(J,Q,Z){var X=(J.mode&j1)!==G1;while(r!==null){var Y=r,G=Y.child;if(Y.tag===M4&&X){var H=Y.memoizedState!==null,B=H||aZ;if(B){uH(J,Q,Z);continue}else{var U=Y.alternate,K=U!==null&&U.memoizedState!==null,$=K||W6,A=aZ,M=W6;if(aZ=B,W6=$,W6&&!M)r=Y,PF(Y);var _=G;while(_!==null)r=_,Nq(_,Q,Z),_=_.sibling;r=Y,aZ=A,W6=M,uH(J,Q,Z);continue}}if((Y.subtreeFlags&R5)!==U1&&G!==null)G.return=Y,r=G;else uH(J,Q,Z)}}function uH(J,Q,Z){while(r!==null){var X=r;if((X.flags&R5)!==U1){var Y=X.alternate;D4(X);try{GF(Q,Y,X,Z)}catch(H){z4(X,X.return,H)}J6()}if(X===J){r=null;return}var G=X.sibling;if(G!==null){G.return=X.return,r=G;return}r=X.return}}function AF(J){while(r!==null){var Q=r,Z=Q.child;switch(Q.tag){case k:case o:case _1:case s:{if(Q.mode&X4)try{o8(),C8(l4,Q,Q.return)}finally{r8(Q)}else C8(l4,Q,Q.return);break}case a:{y9(Q,Q.return);var X=Q.stateNode;if(typeof X.componentWillUnmount==="function")xH(Q,Q.return,X);break}case h:{y9(Q,Q.return);break}case M4:{var Y=Q.memoizedState!==null;if(Y){Eq(J);continue}break}}if(Z!==null)Z.return=Q,r=Z;else Eq(J)}}function Eq(J){while(r!==null){var Q=r;if(Q===J){r=null;return}var Z=Q.sibling;if(Z!==null){Z.return=Q.return,r=Z;return}r=Q.return}}function PF(J){while(r!==null){var Q=r,Z=Q.child;if(Q.tag===M4){var X=Q.memoizedState!==null;if(X){Tq(J);continue}}if(Z!==null)Z.return=Q,r=Z;else Tq(J)}}function Tq(J){while(r!==null){var Q=r;D4(Q);try{HF(Q)}catch(X){z4(Q,Q.return,X)}if(J6(),Q===J){r=null;return}var Z=Q.sibling;if(Z!==null){Z.return=Q.return,r=Z;return}r=Q.return}}function FF(J,Q,Z,X){r=Q,RF(Q,J,Z,X)}function RF(J,Q,Z,X){while(r!==null){var Y=r,G=Y.child;if((Y.subtreeFlags&H9)!==U1&&G!==null)G.return=Y,r=G;else _F(J,Q,Z,X)}}function _F(J,Q,Z,X){while(r!==null){var Y=r;if((Y.flags&L8)!==U1){D4(Y);try{LF(Q,Y,Z,X)}catch(H){z4(Y,Y.return,H)}J6()}if(Y===J){r=null;return}var G=Y.sibling;if(G!==null){G.return=Y.return,r=G;return}r=Y.return}}function LF(J,Q,Z,X){switch(Q.tag){case k:case o:case s:{if(Q.mode&X4){XH();try{e0(K6|c4,Q)}finally{ZH(Q)}}else e0(K6|c4,Q);break}}}function IF(J){r=J,VF()}function VF(){while(r!==null){var J=r,Q=J.child;if((r.flags&z7)!==U1){var Z=J.deletions;if(Z!==null){for(var X=0;X<Z.length;X++){var Y=Z[X];r=Y,DF(Y,J)}{var G=J.alternate;if(G!==null){var H=G.child;if(H!==null){G.child=null;do{var B=H.sibling;H.sibling=null,H=B}while(H!==null)}}}r=J}}if((J.subtreeFlags&H9)!==U1&&Q!==null)Q.return=J,r=Q;else SF()}}function SF(){while(r!==null){var J=r;if((J.flags&L8)!==U1)D4(J),vF(J),J6();var Q=J.sibling;if(Q!==null){Q.return=J.return,r=Q;return}r=J.return}}function vF(J){switch(J.tag){case k:case o:case s:{if(J.mode&X4)XH(),C8(K6|c4,J,J.return),ZH(J);else C8(K6|c4,J,J.return);break}}}function DF(J,Q){while(r!==null){var Z=r;D4(Z),NF(Z,Q),J6();var X=Z.child;if(X!==null)X.return=Z,r=X;else wF(J)}}function wF(J){while(r!==null){var Q=r,Z=Q.sibling,X=Q.return;if(Iq(Q),Q===J){r=null;return}if(Z!==null){Z.return=X,r=Z;return}r=X}}function NF(J,Q){switch(J.tag){case k:case o:case s:{if(J.mode&X4)XH(),C8(K6,J,Q),ZH(J);else C8(K6,J,Q);break}}}function EF(J){switch(J.tag){case k:case o:case s:{try{e0(l4|c4,J)}catch(Z){z4(J,J.return,Z)}break}case a:{var Q=J.stateNode;try{Q.componentDidMount()}catch(Z){z4(J,J.return,Z)}break}}}function TF(J){switch(J.tag){case k:case o:case s:{try{e0(K6|c4,J)}catch(Q){z4(J,J.return,Q)}break}}}function CF(J){switch(J.tag){case k:case o:case s:{try{C8(l4|c4,J,J.return)}catch(Z){z4(J,J.return,Z)}break}case a:{var Q=J.stateNode;if(typeof Q.componentWillUnmount==="function")xH(J,J.return,Q);break}}}function bF(J){switch(J.tag){case k:case o:case s:try{C8(K6|c4,J,J.return)}catch(Q){z4(J,J.return,Q)}}}var kF=0,gF=1,xF=2,jF=3,hF=4;if(typeof Symbol==="function"&&Symbol.for){var vJ=Symbol.for;kF=vJ("selector.component"),gF=vJ("selector.has_pseudo_class"),xF=vJ("selector.role"),jF=vJ("selector.test_id"),hF=vJ("selector.text")}var uF=[];function yF(){uF.forEach(function(J){return J()})}var fF=I.ReactCurrentActQueue;function mF(J){{var Q=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,Z=typeof jest<"u";return Z&&Q!==!1}}function Cq(){{var J=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;if(!J&&fF.current!==null)W("The current testing environment is not configured to support act(...)");return J}}var dF=Math.ceil,yH=I.ReactCurrentDispatcher,fH=I.ReactCurrentOwner,z6=I.ReactCurrentBatchConfig,g8=I.ReactCurrentActQueue,a4=0,bq=1,M6=2,O8=4,_0=0,DJ=1,u7=2,rZ=3,wJ=4,kq=5,mH=6,h1=a4,b6=null,w4=null,i4=N,n8=N,dH=l0(N),r4=_0,NJ=null,cH=N,oZ=N,EJ=N,tZ=N,TJ=null,c6=null,lH=0,gq=500,xq=1/0,cF=500,L0=null;function CJ(){xq=Q6()+cF}function jq(){return xq}var nZ=!1,pH=null,f9=null,y7=!1,Q7=null,bJ=N,sH=[],aH=null,lF=50,kJ=0,iH=null,rH=!1,eZ=!1,pF=50,m9=0,JX=null,gJ=F4,QX=N,hq=!1;function ZX(){return b6}function k6(){if((h1&(M6|O8))!==a4)return Q6();if(gJ!==F4)return gJ;return gJ=Q6(),gJ}function Z7(J){var Q=J.mode;if((Q&j1)===G1)return A1;else if((h1&M6)!==a4&&i4!==N)return D5(i4);var Z=jA()!==xA;if(Z){if(z6.transition!==null){var X=z6.transition;if(!X._updatedFibers)X._updatedFibers=new Set;X._updatedFibers.add(J)}if(QX===X6)QX=A3();return QX}var Y=V8();if(Y!==X6)return Y;var G=_M();return G}function sF(J){var Q=J.mode;if((Q&j1)===G1)return A1;return lW()}function o4(J,Q,Z,X){if(AR(),hq)W("useInsertionEffect must not schedule updates.");if(rH)eZ=!0;if(w5(J,Z,X),(h1&M6)!==N&&J===b6)RR(Q);else{if(I8)R3(J,Q,Z);if(_R(Q),J===b6){if((h1&M6)===a4)EJ=w1(EJ,Z);if(r4===wJ)X7(J,i4)}if(l6(J,X),Z===A1&&h1===a4&&(Q.mode&j1)===G1&&!g8.isBatchingLegacy)CJ(),jU()}}function aF(J,Q,Z){var X=J.current;X.lanes=Q,w5(J,Q,Z),l6(J,Z)}function iF(J){return(h1&M6)!==a4}function l6(J,Q){var Z=J.callbackNode;uW(J,Q);var X=_Q(J,J===b6?i4:N);if(X===N){if(Z!==null)eq(Z);J.callbackNode=null,J.callbackPriority=X6;return}var Y=V7(X),G=J.callbackPriority;if(G===Y&&!(g8.current!==null&&Z!==ZB)){if(Z==null&&G!==A1)W("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}if(Z!=null)eq(Z);var H;if(Y===A1){if(J.tag===p0){if(g8.isBatchingLegacy!==null)g8.didScheduleLegacyUpdate=!0;FA(fq.bind(null,J))}else xU(fq.bind(null,J));if(g8.current!==null)g8.current.push(s0);else IM(function(){if((h1&(M6|O8))===a4)s0()});H=null}else{var B;switch(I3(X)){case e6:B=AQ;break;case $0:B=cX;break;case W0:B=R7;break;case SQ:B=lX;break;default:B=R7;break}H=XB(B,uq.bind(null,J))}J.callbackPriority=Y,J.callbackNode=H}function uq(J,Q){if(BP(),gJ=F4,QX=N,(h1&(M6|O8))!==a4)throw Error("Should not already be working.");var Z=J.callbackNode,X=V0();if(X){if(J.callbackNode!==Z)return null}var Y=_Q(J,J===b6?i4:N);if(Y===N)return null;var G=!LQ(J,Y)&&!cW(J,Y)&&!Q,H=G?YR(J,Y):YX(J,Y);if(H!==_0){if(H===u7){var B=WY(J);if(B!==N)Y=B,H=oH(J,B)}if(H===DJ){var U=NJ;throw f7(J,N),X7(J,Y),l6(J,Q6()),U}if(H===mH)X7(J,Y);else{var K=!LQ(J,Y),$=J.current.alternate;if(K&&!oF($)){if(H=YX(J,Y),H===u7){var A=WY(J);if(A!==N)Y=A,H=oH(J,A)}if(H===DJ){var M=NJ;throw f7(J,N),X7(J,Y),l6(J,Q6()),M}}J.finishedWork=$,J.finishedLanes=Y,rF(J,H,Y)}}if(l6(J,Q6()),J.callbackNode===Z)return uq.bind(null,J);return null}function oH(J,Q){var Z=TJ;if(vQ(J)){var X=f7(J,Q);X.flags|=H0,$A(J.containerInfo)}var Y=YX(J,Q);if(Y!==u7){var G=c6;if(c6=Z,G!==null)yq(G)}return Y}function yq(J){if(c6===null)c6=J;else c6.push.apply(c6,J)}function rF(J,Q,Z){switch(Q){case _0:case DJ:throw Error("Root did not complete. This is a bug in React.");case u7:{m7(J,c6,L0);break}case rZ:{if(X7(J,Z),z3(Z)&&!JK()){var X=lH+gq-Q6();if(X>10){var Y=_Q(J,N);if(Y!==N)break;var G=J.suspendedLanes;if(!$9(G,Z)){var H=k6();F3(J,G);break}J.timeoutHandle=sY(m7.bind(null,J,c6,L0),X);break}}m7(J,c6,L0);break}case wJ:{if(X7(J,Z),dW(Z))break;if(!JK()){var B=jW(J,Z),U=B,K=Q6()-U,$=MR(K)-K;if($>10){J.timeoutHandle=sY(m7.bind(null,J,c6,L0),$);break}}m7(J,c6,L0);break}case kq:{m7(J,c6,L0);break}default:throw Error("Unknown root exit status.")}}function oF(J){var Q=J;while(!0){if(Q.flags&zQ){var Z=Q.updateQueue;if(Z!==null){var X=Z.stores;if(X!==null)for(var Y=0;Y<X.length;Y++){var G=X[Y],H=G.getSnapshot,B=G.value;try{if(!Q8(H(),B))return!1}catch(K){return!1}}}}var U=Q.child;if(Q.subtreeFlags&zQ&&U!==null){U.return=Q,Q=U;continue}if(Q===J)return!0;while(Q.sibling===null){if(Q.return===null||Q.return===J)return!0;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}return!0}function X7(J,Q){Q=IQ(Q,tZ),Q=IQ(Q,EJ),sW(J,Q)}function fq(J){if(UP(),(h1&(M6|O8))!==a4)throw Error("Should not already be working.");V0();var Q=_Q(J,N);if(!n6(Q,A1))return l6(J,Q6()),null;var Z=YX(J,Q);if(J.tag!==p0&&Z===u7){var X=WY(J);if(X!==N)Q=X,Z=oH(J,X)}if(Z===DJ){var Y=NJ;throw f7(J,N),X7(J,Q),l6(J,Q6()),Y}if(Z===mH)throw Error("Root did not complete. This is a bug in React.");var G=J.current.alternate;return J.finishedWork=G,J.finishedLanes=Q,m7(J,c6,L0),l6(J,Q6()),null}function tF(J,Q){if(Q!==N){if(AY(J,w1(Q,A1)),l6(J,Q6()),(h1&(M6|O8))===a4)CJ(),s0()}}function tH(J,Q){var Z=h1;h1|=bq;try{return J(Q)}finally{if(h1=Z,h1===a4&&!g8.isBatchingLegacy)CJ(),jU()}}function nF(J,Q,Z,X,Y){var G=V8(),H=z6.transition;try{return z6.transition=null,Y6(e6),J(Q,Z,X,Y)}finally{if(Y6(G),z6.transition=H,h1===a4)CJ()}}function I0(J){if(Q7!==null&&Q7.tag===p0&&(h1&(M6|O8))===a4)V0();var Q=h1;h1|=bq;var Z=z6.transition,X=V8();try{if(z6.transition=null,Y6(e6),J)return J();else return}finally{if(Y6(X),z6.transition=Z,h1=Q,(h1&(M6|O8))===a4)s0()}}function mq(){return(h1&(M6|O8))!==a4}function XX(J,Q){V6(dH,n8,J),n8=w1(n8,Q),cH=w1(cH,Q)}function nH(J){n8=dH.current,I6(dH,J)}function f7(J,Q){J.finishedWork=null,J.finishedLanes=N;var Z=J.timeoutHandle;if(Z!==aY)J.timeoutHandle=aY,LM(Z);if(w4!==null){var X=w4.return;while(X!==null){var Y=X.alternate;Mq(Y,X),X=X.return}}b6=J;var G=d7(J.current,null);return w4=G,i4=n8=cH=Q,r4=_0,NJ=null,oZ=N,EJ=N,tZ=N,TJ=null,c6=null,cA(),D8.discardPendingWarnings(),G}function dq(J,Q){do{var Z=w4;try{if($Z(),$2(),J6(),fH.current=null,Z===null||Z.return===null){r4=DJ,NJ=Q,w4=null;return}if(s6&&Z.mode&X4)dZ(Z,!0);if(m4)if(B9(),Q!==null&&typeof Q==="object"&&typeof Q.then==="function"){var X=Q;SW(Z,X,i4)}else VW(Z,Q,i4);PP(J,Z.return,Z,Q,i4),sq(Z)}catch(Y){if(Q=Y,w4===Z&&Z!==null)Z=Z.return,w4=Z;else Z=w4;continue}return}while(!0)}function cq(){var J=yH.current;if(yH.current=hZ,J===null)return hZ;else return J}function lq(J){yH.current=J}function eF(){lH=Q6()}function xJ(J){oZ=w1(J,oZ)}function JR(){if(r4===_0)r4=rZ}function eH(){if(r4===_0||r4===rZ||r4===u7)r4=wJ;if(b6!==null&&(OY(oZ)||OY(EJ)))X7(b6,i4)}function QR(J){if(r4!==wJ)r4=u7;if(TJ===null)TJ=[J];else TJ.push(J)}function ZR(){return r4===_0}function YX(J,Q){var Z=h1;h1|=M6;var X=cq();if(b6!==J||i4!==Q){if(I8){var Y=J.memoizedUpdaters;if(Y.size>0)jJ(J,i4),Y.clear();_3(J,Q)}L0=L3(),f7(J,Q)}q3(Q);do try{XR();break}catch(G){dq(J,G)}while(!0);if($Z(),h1=Z,lq(X),w4!==null)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return K3(),b6=null,i4=N,r4}function XR(){while(w4!==null)pq(w4)}function YR(J,Q){var Z=h1;h1|=M6;var X=cq();if(b6!==J||i4!==Q){if(I8){var Y=J.memoizedUpdaters;if(Y.size>0)jJ(J,i4),Y.clear();_3(J,Q)}L0=L3(),CJ(),f7(J,Q)}q3(Q);do try{GR();break}catch(G){dq(J,G)}while(!0);if($Z(),lq(X),h1=Z,w4!==null)return EW(),_0;else return K3(),b6=null,i4=N,r4}function GR(){while(w4!==null&&!XW())pq(w4)}function pq(J){var Q=J.alternate;D4(J);var Z;if((J.mode&X4)!==G1)QH(J),Z=JB(Q,J,n8),dZ(J,!0);else Z=JB(Q,J,n8);if(J6(),J.memoizedProps=J.pendingProps,Z===null)sq(J);else w4=Z;fH.current=null}function sq(J){var Q=J;do{var{alternate:Z,return:X}=Q;if((Q.flags&F5)===U1){D4(Q);var Y=void 0;if((Q.mode&X4)===G1)Y=zq(Z,Q,n8);else QH(Q),Y=zq(Z,Q,n8),dZ(Q,!1);if(J6(),Y!==null){w4=Y;return}}else{var G=rP(Z,Q);if(G!==null){G.flags&=t$,w4=G;return}if((Q.mode&X4)!==G1){dZ(Q,!1);var{actualDuration:H,child:B}=Q;while(B!==null)H+=B.actualDuration,B=B.sibling;Q.actualDuration=H}if(X!==null)X.flags|=F5,X.subtreeFlags=U1,X.deletions=null;else{r4=mH,w4=null;return}}var U=Q.sibling;if(U!==null){w4=U;return}Q=X,w4=Q}while(Q!==null);if(r4===_0)r4=kq}function m7(J,Q,Z){var X=V8(),Y=z6.transition;try{z6.transition=null,Y6(e6),HR(J,Q,Z,X)}finally{z6.transition=Y,Y6(X)}return null}function HR(J,Q,Z,X){do V0();while(Q7!==null);if(PR(),(h1&(M6|O8))!==a4)throw Error("Should not already be working.");var{finishedWork:Y,finishedLanes:G}=J;if(AW(G),Y===null)return H3(),null;else if(G===N)W("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(J.finishedWork=null,J.finishedLanes=N,Y===J.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");J.callbackNode=null,J.callbackPriority=X6;var H=w1(Y.lanes,Y.childLanes);if(aW(J,H),J===b6)b6=null,w4=null,i4=N;if((Y.subtreeFlags&H9)!==U1||(Y.flags&H9)!==U1){if(!y7)y7=!0,aH=Z,XB(R7,function(){return V0(),null})}var B=(Y.subtreeFlags&(mX|dX|R5|H9))!==U1,U=(Y.flags&(mX|dX|R5|H9))!==U1;if(B||U){var K=z6.transition;z6.transition=null;var $=V8();Y6(e6);var A=h1;h1|=O8,fH.current=null;var M=JF(J,Y);j2(),zF(J,Y,G),zM(J.containerInfo),J.current=Y,vW(G),MF(Y,J,G),DW(),YW(),h1=A,Y6($),z6.transition=K}else J.current=Y,j2();var _=y7;if(y7)y7=!1,Q7=J,bJ=G;else m9=0,JX=null;if(H=J.pendingLanes,H===N)f9=null;if(!_)oq(J.current,!1);if($W(Y.stateNode,X),I8)J.memoizedUpdaters.clear();if(yF(),l6(J,Q6()),Q!==null){var L=J.onRecoverableError;for(var V=0;V<Q.length;V++){var u=Q[V],J1=u.stack,e=u.digest;L(u.value,{componentStack:J1,digest:e})}}if(nZ){nZ=!1;var C1=pH;throw pH=null,C1}if(n6(bJ,A1)&&J.tag!==p0)V0();if(H=J.pendingLanes,n6(H,A1))if(HP(),J===iH)kJ++;else kJ=0,iH=J;else kJ=0;return s0(),H3(),null}function V0(){if(Q7!==null){var J=I3(bJ),Q=tW(W0,J),Z=z6.transition,X=V8();try{return z6.transition=null,Y6(Q),UR()}finally{Y6(X),z6.transition=Z}}return!1}function BR(J){if(sH.push(J),!y7)y7=!0,XB(R7,function(){return V0(),null})}function UR(){if(Q7===null)return!1;var J=aH;aH=null;var Q=Q7,Z=bJ;if(Q7=null,bJ=N,(h1&(M6|O8))!==a4)throw Error("Cannot flush passive effects while already rendering.");rH=!0,eZ=!1,wW(Z);var X=h1;h1|=O8,IF(Q.current),FF(Q,Q.current,Z,J);{var Y=sH;sH=[];for(var G=0;G<Y.length;G++){var H=Y[G];YF(Q,H)}}NW(),oq(Q.current,!0),h1=X,s0();{if(eZ)if(Q===JX)m9++;else m9=0,JX=Q;else m9=0;rH=!1,eZ=!1}WW(Q);{var B=Q.current.stateNode;B.effectDuration=0,B.passiveEffectDuration=0}return!0}function aq(J){return f9!==null&&f9.has(J)}function qR(J){if(f9===null)f9=new Set([J]);else f9.add(J)}function KR(J){if(!nZ)nZ=!0,pH=J}var $R=KR;function iq(J,Q,Z){var X=j7(Z,Q),Y=l2(J,X,A1),G=i0(J,Y,A1),H=k6();if(G!==null)w5(G,A1,H),l6(G,H)}function z4(J,Q,Z){if(tP(Z),hJ(!1),J.tag===i){iq(J,J,Z);return}var X=null;X=Q;while(X!==null){if(X.tag===i){iq(X,J,Z);return}else if(X.tag===a){var{type:Y,stateNode:G}=X;if(typeof Y.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&!aq(G)){var H=j7(Z,J),B=RH(X,H,A1),U=i0(X,B,A1),K=k6();if(U!==null)w5(U,A1,K),l6(U,K);return}}X=X.return}W(`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.
|
|
116
|
+
|
|
117
|
+
Error message:
|
|
118
|
+
|
|
119
|
+
%s`,Z)}function WR(J,Q,Z){var X=J.pingCache;if(X!==null)X.delete(Q);var Y=k6();if(F3(J,Z),LR(J),b6===J&&$9(i4,Z))if(r4===wJ||r4===rZ&&z3(i4)&&Q6()-lH<gq)f7(J,N);else tZ=w1(tZ,Z);l6(J,Y)}function rq(J,Q){if(Q===X6)Q=sF(J);var Z=k6(),X=m6(J,Q);if(X!==null)w5(X,Q,Z),l6(X,Z)}function OR(J){var Q=J.memoizedState,Z=X6;if(Q!==null)Z=Q.retryLane;rq(J,Z)}function zR(J,Q){var Z=X6,X;switch(J.tag){case f:X=J.stateNode;var Y=J.memoizedState;if(Y!==null)Z=Y.retryLane;break;case T1:X=J.stateNode;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}if(X!==null)X.delete(Q);rq(J,Z)}function MR(J){return J<120?120:J<480?480:J<1080?1080:J<1920?1920:J<3000?3000:J<4320?4320:dF(J/1960)*1960}function AR(){if(kJ>lF)throw kJ=0,iH=null,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(m9>pF)m9=0,JX=null,W("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 PR(){D8.flushLegacyContextWarning(),D8.flushPendingUnsafeLifecycleWarnings()}function oq(J,Q){{if(D4(J),GX(J,U0,CF),Q)GX(J,MQ,bF);if(GX(J,U0,EF),Q)GX(J,MQ,TF);J6()}}function GX(J,Q,Z){{var X=J,Y=null;while(X!==null){var G=X.subtreeFlags&Q;if(X!==Y&&X.child!==null&&G!==U1)X=X.child;else{if((X.flags&Q)!==U1)Z(X);if(X.sibling!==null)X=X.sibling;else X=Y=X.return}}}}var HX=null;function tq(J){{if((h1&M6)!==a4)return;if(!(J.mode&j1))return;var Q=J.tag;if(Q!==u1&&Q!==i&&Q!==a&&Q!==k&&Q!==o&&Q!==_1&&Q!==s)return;var Z=V1(J)||"ReactComponent";if(HX!==null){if(HX.has(Z))return;HX.add(Z)}else HX=new Set([Z]);var X=L6;try{D4(J),W("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(X)D4(J);else J6()}}}var JB;{var FR=null;JB=function(J,Q,Z){var X=GK(FR,Q);try{return qq(J,Q,Z)}catch(G){if(DA()||G!==null&&typeof G==="object"&&typeof G.then==="function")throw G;if($Z(),$2(),Mq(J,Q),GK(Q,X),Q.mode&X4)QH(Q);if(xX(null,qq,null,J,Q,Z),a$()){var Y=jX();if(typeof Y==="object"&&Y!==null&&Y._suppressLogging&&typeof G==="object"&&G!==null&&!G._suppressLogging)G._suppressLogging=!0}throw G}}}var nq=!1,QB;QB=new Set;function RR(J){if(K7&&!XP())switch(J.tag){case k:case o:case s:{var Q=w4&&V1(w4)||"Unknown",Z=Q;if(!QB.has(Z)){QB.add(Z);var X=V1(J)||"Unknown";W("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",X,Q,Q)}break}case a:{if(!nq)W("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nq=!0;break}}}function jJ(J,Q){if(I8){var Z=J.memoizedUpdaters;Z.forEach(function(X){R3(J,X,Q)})}}var ZB={};function XB(J,Q){{var Z=g8.current;if(Z!==null)return Z.push(Q),ZB;else return G3(J,Q)}}function eq(J){if(J===ZB)return;return ZW(J)}function JK(){return g8.current!==null}function _R(J){{if(J.mode&j1){if(!Cq())return}else{if(!mF())return;if(h1!==a4)return;if(J.tag!==k&&J.tag!==o&&J.tag!==s)return}if(g8.current===null){var Q=L6;try{D4(J),W(`An update to %s inside a test was not wrapped in act(...).
|
|
120
|
+
|
|
121
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
122
|
+
|
|
123
|
+
act(() => {
|
|
124
|
+
/* fire events that update state */
|
|
125
|
+
});
|
|
126
|
+
/* assert on the output */
|
|
127
|
+
|
|
128
|
+
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`,V1(J))}finally{if(Q)D4(J);else J6()}}}}function LR(J){if(J.tag!==p0&&Cq()&&g8.current===null)W(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
129
|
+
|
|
130
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
131
|
+
|
|
132
|
+
act(() => {
|
|
133
|
+
/* finish loading suspended data */
|
|
134
|
+
});
|
|
135
|
+
/* assert on the output */
|
|
136
|
+
|
|
137
|
+
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 hJ(J){hq=J}var z8=null,d9=null,IR=function(J){z8=J};function c9(J){{if(z8===null)return J;var Q=z8(J);if(Q===void 0)return J;return Q.current}}function YB(J){return c9(J)}function GB(J){{if(z8===null)return J;var Q=z8(J);if(Q===void 0){if(J!==null&&J!==void 0&&typeof J.render==="function"){var Z=c9(J.render);if(J.render!==Z){var X={$$typeof:Y1,render:Z};if(J.displayName!==void 0)X.displayName=J.displayName;return X}}return J}return Q.current}}function QK(J,Q){{if(z8===null)return!1;var Z=J.elementType,X=Q.type,Y=!1,G=typeof X==="object"&&X!==null?X.$$typeof:null;switch(J.tag){case a:{if(typeof X==="function")Y=!0;break}case k:{if(typeof X==="function")Y=!0;else if(G===o1)Y=!0;break}case o:{if(G===Y1)Y=!0;else if(G===o1)Y=!0;break}case _1:case s:{if(G===I1)Y=!0;else if(G===o1)Y=!0;break}default:return!1}if(Y){var H=z8(Z);if(H!==void 0&&H===z8(X))return!0}return!1}}function ZK(J){{if(z8===null)return;if(typeof WeakSet!=="function")return;if(d9===null)d9=new WeakSet;d9.add(J)}}var VR=function(J,Q){{if(z8===null)return;var{staleFamilies:Z,updatedFamilies:X}=Q;V0(),I0(function(){HB(J.current,X,Z)})}},SR=function(J,Q){{if(J.context!==Z8)return;V0(),I0(function(){uJ(Q,J,null,null)})}};function HB(J,Q,Z){{var{alternate:X,child:Y,sibling:G,tag:H,type:B}=J,U=null;switch(H){case k:case s:case a:U=B;break;case o:U=B.render;break}if(z8===null)throw Error("Expected resolveFamily to be set during hot reload.");var K=!1,$=!1;if(U!==null){var A=z8(U);if(A!==void 0){if(Z.has(A))$=!0;else if(Q.has(A))if(H===a)$=!0;else K=!0}}if(d9!==null){if(d9.has(J)||X!==null&&d9.has(X))$=!0}if($)J._debugNeedsRemount=!0;if($||K){var M=m6(J,A1);if(M!==null)o4(M,J,A1,F4)}if(Y!==null&&!$)HB(Y,Q,Z);if(G!==null)HB(G,Q,Z)}}var vR=function(J,Q){{var Z=new Set,X=new Set(Q.map(function(Y){return Y.current}));return BB(J.current,X,Z),Z}};function BB(J,Q,Z){{var{child:X,sibling:Y,tag:G,type:H}=J,B=null;switch(G){case k:case s:case a:B=H;break;case o:B=H.render;break}var U=!1;if(B!==null){if(Q.has(B))U=!0}if(U)DR(J,Z);else if(X!==null)BB(X,Q,Z);if(Y!==null)BB(Y,Q,Z)}}function DR(J,Q){{var Z=wR(J,Q);if(Z)return;var X=J;while(!0){switch(X.tag){case h:Q.add(X.stateNode);return;case z1:Q.add(X.stateNode.containerInfo);return;case i:Q.add(X.stateNode.containerInfo);return}if(X.return===null)throw Error("Expected to reach root first.");X=X.return}}}function wR(J,Q){{var Z=J,X=!1;while(!0){if(Z.tag===h)X=!0,Q.add(Z.stateNode);else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===J)return X;while(Z.sibling===null){if(Z.return===null||Z.return===J)return X;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!1}var UB;{UB=!1;try{var XK=Object.preventExtensions({})}catch(J){UB=!0}}function NR(J,Q,Z,X){if(this.tag=J,this.key=Z,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=Q,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=X,this.flags=U1,this.subtreeFlags=U1,this.deletions=null,this.lanes=N,this.childLanes=N,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,!UB&&typeof Object.preventExtensions==="function")Object.preventExtensions(this)}var X8=function(J,Q,Z,X){return new NR(J,Q,Z,X)};function qB(J){var Q=J.prototype;return!!(Q&&Q.isReactComponent)}function ER(J){return typeof J==="function"&&!qB(J)&&J.defaultProps===void 0}function TR(J){if(typeof J==="function")return qB(J)?a:k;else if(J!==void 0&&J!==null){var Q=J.$$typeof;if(Q===Y1)return o;if(Q===I1)return _1}return u1}function d7(J,Q){var Z=J.alternate;if(Z===null)Z=X8(J.tag,Q,J.key,J.mode),Z.elementType=J.elementType,Z.type=J.type,Z.stateNode=J.stateNode,Z._debugSource=J._debugSource,Z._debugOwner=J._debugOwner,Z._debugHookTypes=J._debugHookTypes,Z.alternate=J,J.alternate=Z;else Z.pendingProps=Q,Z.type=J.type,Z.flags=U1,Z.subtreeFlags=U1,Z.deletions=null,Z.actualDuration=0,Z.actualStartTime=-1;Z.flags=J.flags&q0,Z.childLanes=J.childLanes,Z.lanes=J.lanes,Z.child=J.child,Z.memoizedProps=J.memoizedProps,Z.memoizedState=J.memoizedState,Z.updateQueue=J.updateQueue;var X=J.dependencies;switch(Z.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext},Z.sibling=J.sibling,Z.index=J.index,Z.ref=J.ref,Z.selfBaseDuration=J.selfBaseDuration,Z.treeBaseDuration=J.treeBaseDuration,Z._debugNeedsRemount=J._debugNeedsRemount,Z.tag){case u1:case k:case s:Z.type=c9(J.type);break;case a:Z.type=YB(J.type);break;case o:Z.type=GB(J.type);break}return Z}function CR(J,Q){J.flags&=q0|h4;var Z=J.alternate;if(Z===null)J.childLanes=N,J.lanes=Q,J.child=null,J.subtreeFlags=U1,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null,J.selfBaseDuration=0,J.treeBaseDuration=0;else{J.childLanes=Z.childLanes,J.lanes=Z.lanes,J.child=Z.child,J.subtreeFlags=U1,J.deletions=null,J.memoizedProps=Z.memoizedProps,J.memoizedState=Z.memoizedState,J.updateQueue=Z.updateQueue,J.type=Z.type;var X=Z.dependencies;J.dependencies=X===null?null:{lanes:X.lanes,firstContext:X.firstContext},J.selfBaseDuration=Z.selfBaseDuration,J.treeBaseDuration=Z.treeBaseDuration}return J}function bR(J,Q,Z){var X;if(J===QZ){if(X=j1,Q===!0)X|=T4,X|=d8}else X=G1;if(I8)X|=X4;return X8(i,null,null,X)}function KB(J,Q,Z,X,Y,G){var H=u1,B=J;if(typeof J==="function")if(qB(J))H=a,B=YB(B);else B=c9(B);else if(typeof J==="string")H=h;else J:switch(J){case u8:return Y7(Z.children,Y,G,Q);case z:if(H=i1,Y|=T4,(Y&j1)!==G1)Y|=d8;break;case E:return kR(Z,Y,G,Q);case p1:return gR(Z,Y,G,Q);case E1:return xR(Z,Y,G,Q);case H6:return YK(Z,Y,G,Q);case y8:case _4:case R8:case e4:case V4:default:{if(typeof J==="object"&&J!==null)switch(J.$$typeof){case y:H=g1;break J;case B1:H=N4;break J;case Y1:H=o,B=GB(B);break J;case I1:H=_1;break J;case o1:H=Z1,B=null;break J}var U="";{if(J===void 0||typeof J==="object"&&J!==null&&Object.keys(J).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 K=X?V1(X):null;if(K)U+=`
|
|
138
|
+
|
|
139
|
+
Check the render method of \``+K+"`."}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(J==null?J:typeof J)+"."+U))}}var $=X8(H,Z,Q,Y);return $.elementType=J,$.type=B,$.lanes=G,$._debugOwner=X,$}function $B(J,Q,Z){var X=null;X=J._owner;var{type:Y,key:G,props:H}=J,B=KB(Y,G,H,X,Q,Z);return B._debugSource=J._source,B._debugOwner=J._owner,B}function Y7(J,Q,Z,X){var Y=X8(q4,J,X,Q);return Y.lanes=Z,Y}function kR(J,Q,Z,X){if(typeof J.id!=="string")W('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof J.id);var Y=X8(g,J,X,Q|X4);return Y.elementType=E,Y.lanes=Z,Y.stateNode={effectDuration:0,passiveEffectDuration:0},Y}function gR(J,Q,Z,X){var Y=X8(f,J,X,Q);return Y.elementType=p1,Y.lanes=Z,Y}function xR(J,Q,Z,X){var Y=X8(T1,J,X,Q);return Y.elementType=E1,Y.lanes=Z,Y}function YK(J,Q,Z,X){var Y=X8(M4,J,X,Q);Y.elementType=H6,Y.lanes=Z;var G={isHidden:!1};return Y.stateNode=G,Y}function WB(J,Q,Z){var X=X8(K1,J,null,Q);return X.lanes=Z,X}function jR(){var J=X8(h,null,null,G1);return J.elementType="DELETED",J}function hR(J){var Q=X8(y1,null,null,G1);return Q.stateNode=J,Q}function OB(J,Q,Z){var X=J.children!==null?J.children:[],Y=X8(z1,X,J.key,Q);return Y.lanes=Z,Y.stateNode={containerInfo:J.containerInfo,pendingChildren:null,implementation:J.implementation},Y}function GK(J,Q){if(J===null)J=X8(u1,null,null,G1);return J.tag=Q.tag,J.key=Q.key,J.elementType=Q.elementType,J.type=Q.type,J.stateNode=Q.stateNode,J.return=Q.return,J.child=Q.child,J.sibling=Q.sibling,J.index=Q.index,J.ref=Q.ref,J.pendingProps=Q.pendingProps,J.memoizedProps=Q.memoizedProps,J.updateQueue=Q.updateQueue,J.memoizedState=Q.memoizedState,J.dependencies=Q.dependencies,J.mode=Q.mode,J.flags=Q.flags,J.subtreeFlags=Q.subtreeFlags,J.deletions=Q.deletions,J.lanes=Q.lanes,J.childLanes=Q.childLanes,J.alternate=Q.alternate,J.actualDuration=Q.actualDuration,J.actualStartTime=Q.actualStartTime,J.selfBaseDuration=Q.selfBaseDuration,J.treeBaseDuration=Q.treeBaseDuration,J._debugSource=Q._debugSource,J._debugOwner=Q._debugOwner,J._debugNeedsRemount=Q._debugNeedsRemount,J._debugHookTypes=Q._debugHookTypes,J}function uR(J,Q,Z,X,Y){this.tag=Q,this.containerInfo=J,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=aY,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=X6,this.eventTimes=MY(N),this.expirationTimes=MY(F4),this.pendingLanes=N,this.suspendedLanes=N,this.pingedLanes=N,this.expiredLanes=N,this.mutableReadLanes=N,this.finishedLanes=N,this.entangledLanes=N,this.entanglements=MY(N),this.identifierPrefix=X,this.onRecoverableError=Y,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;var G=this.pendingUpdatersLaneMap=[];for(var H=0;H<sX;H++)G.push(new Set)}switch(Q){case QZ:this._debugRootType=Z?"hydrateRoot()":"createRoot()";break;case p0:this._debugRootType=Z?"hydrate()":"render()";break}}function HK(J,Q,Z,X,Y,G,H,B,U,K){var $=new uR(J,Q,Z,B,U),A=bR(Q,G);$.current=A,A.stateNode=$;{var M={element:X,isDehydrated:Z,cache:null,transitions:null,pendingSuspenseBoundaries:null};A.memoizedState=M}return SG(A),$}var zB="18.3.1";function yR(J,Q,Z){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return F1(X),{$$typeof:F8,key:X==null?null:""+X,children:J,containerInfo:Q,implementation:Z}}var MB,AB;MB=!1,AB={};function BK(J){if(!J)return Z8;var Q=Y9(J),Z=PA(Q);if(Q.tag===a){var X=Q.type;if(p8(X))return kU(Q,X,Z)}return Z}function fR(J,Q){{var Z=Y9(J);if(Z===void 0)if(typeof J.render==="function")throw Error("Unable to find node on an unmounted component.");else{var X=Object.keys(J).join(",");throw Error("Argument appears to not be a ReactComponent. Keys: "+X)}var Y=Z3(Z);if(Y===null)return null;if(Y.mode&T4){var G=V1(Z)||"Component";if(!AB[G]){AB[G]=!0;var H=L6;try{if(D4(Y),Z.mode&T4)W("%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",Q,Q,G);else W("%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",Q,Q,G)}finally{if(H)D4(H);else J6()}}}return Y.stateNode}}function UK(J,Q,Z,X,Y,G,H,B){var U=!1,K=null;return HK(J,Q,U,K,Z,X,Y,G,H)}function qK(J,Q,Z,X,Y,G,H,B,U,K){var $=!0,A=HK(Z,X,$,J,Y,G,H,B,U);A.context=BK(null);var M=A.current,_=k6(),L=Z7(M),V=F0(_,L);return V.callback=Q!==void 0&&Q!==null?Q:null,i0(M,V,L),aF(A,L,_),A}function uJ(J,Q,Z,X){KW(Q,J);var Y=Q.current,G=k6(),H=Z7(Y);TW(H);var B=BK(Z);if(Q.context===null)Q.context=B;else Q.pendingContext=B;if(K7&&L6!==null&&!MB)MB=!0,W(`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.
|
|
140
|
+
|
|
141
|
+
Check the render method of %s.`,V1(L6)||"Unknown");var U=F0(G,H);if(U.payload={element:J},X=X===void 0?null:X,X!==null){if(typeof X!=="function")W("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",X);U.callback=X}var K=i0(Y,U,H);if(K!==null)o4(K,Y,H,G),AZ(K,Y,H);return H}function BX(J){var Q=J.current;if(!Q.child)return null;switch(Q.child.tag){case h:return lY(Q.child.stateNode);default:return Q.child.stateNode}}function mR(J){switch(J.tag){case i:{var Q=J.stateNode;if(vQ(Q)){var Z=yW(Q);tF(Q,Z)}break}case f:{I0(function(){var Y=m6(J,A1);if(Y!==null){var G=k6();o4(Y,J,A1,G)}});var X=A1;PB(J,X);break}}}function KK(J,Q){var Z=J.memoizedState;if(Z!==null&&Z.dehydrated!==null)Z.retryLane=pW(Z.retryLane,Q)}function PB(J,Q){KK(J,Q);var Z=J.alternate;if(Z)KK(Z,Q)}function dR(J){if(J.tag!==f)return;var Q=V5,Z=m6(J,Q);if(Z!==null){var X=k6();o4(Z,J,Q,X)}PB(J,Q)}function cR(J){if(J.tag!==f)return;var Q=Z7(J),Z=m6(J,Q);if(Z!==null){var X=k6();o4(Z,J,Q,X)}PB(J,Q)}function $K(J){var Q=QW(J);if(Q===null)return null;return Q.stateNode}var WK=function(J){return null};function lR(J){return WK(J)}var OK=function(J){return!1};function pR(J){return OK(J)}var zK=null,MK=null,AK=null,PK=null,FK=null,RK=null,_K=null,LK=null,IK=null;{var VK=function(J,Q,Z){var X=Q[Z],Y=t1(J)?J.slice():k1({},J);if(Z+1===Q.length){if(t1(Y))Y.splice(X,1);else delete Y[X];return Y}return Y[X]=VK(J[X],Q,Z+1),Y},SK=function(J,Q){return VK(J,Q,0)},vK=function(J,Q,Z,X){var Y=Q[X],G=t1(J)?J.slice():k1({},J);if(X+1===Q.length){var H=Z[X];if(G[H]=G[Y],t1(G))G.splice(Y,1);else delete G[Y]}else G[Y]=vK(J[Y],Q,Z,X+1);return G},DK=function(J,Q,Z){if(Q.length!==Z.length){O1("copyWithRename() expects paths of the same length");return}else for(var X=0;X<Z.length-1;X++)if(Q[X]!==Z[X]){O1("copyWithRename() expects paths to be the same except for the deepest key");return}return vK(J,Q,Z,0)},wK=function(J,Q,Z,X){if(Z>=Q.length)return X;var Y=Q[Z],G=t1(J)?J.slice():k1({},J);return G[Y]=wK(J[Y],Q,Z+1,X),G},NK=function(J,Q,Z){return wK(J,Q,0,Z)},FB=function(J,Q){var Z=J.memoizedState;while(Z!==null&&Q>0)Z=Z.next,Q--;return Z};zK=function(J,Q,Z,X){var Y=FB(J,Q);if(Y!==null){var G=NK(Y.memoizedState,Z,X);Y.memoizedState=G,Y.baseState=G,J.memoizedProps=k1({},J.memoizedProps);var H=m6(J,A1);if(H!==null)o4(H,J,A1,F4)}},MK=function(J,Q,Z){var X=FB(J,Q);if(X!==null){var Y=SK(X.memoizedState,Z);X.memoizedState=Y,X.baseState=Y,J.memoizedProps=k1({},J.memoizedProps);var G=m6(J,A1);if(G!==null)o4(G,J,A1,F4)}},AK=function(J,Q,Z,X){var Y=FB(J,Q);if(Y!==null){var G=DK(Y.memoizedState,Z,X);Y.memoizedState=G,Y.baseState=G,J.memoizedProps=k1({},J.memoizedProps);var H=m6(J,A1);if(H!==null)o4(H,J,A1,F4)}},PK=function(J,Q,Z){if(J.pendingProps=NK(J.memoizedProps,Q,Z),J.alternate)J.alternate.pendingProps=J.pendingProps;var X=m6(J,A1);if(X!==null)o4(X,J,A1,F4)},FK=function(J,Q){if(J.pendingProps=SK(J.memoizedProps,Q),J.alternate)J.alternate.pendingProps=J.pendingProps;var Z=m6(J,A1);if(Z!==null)o4(Z,J,A1,F4)},RK=function(J,Q,Z){if(J.pendingProps=DK(J.memoizedProps,Q,Z),J.alternate)J.alternate.pendingProps=J.pendingProps;var X=m6(J,A1);if(X!==null)o4(X,J,A1,F4)},_K=function(J){var Q=m6(J,A1);if(Q!==null)o4(Q,J,A1,F4)},LK=function(J){WK=J},IK=function(J){OK=J}}function sR(J){var Q=Z3(J);if(Q===null)return null;return Q.stateNode}function aR(J){return null}function iR(){return L6}function rR(J){var Q=J.findFiberByHostInstance,Z=I.ReactCurrentDispatcher;return qW({bundleType:J.bundleType,version:J.version,rendererPackageName:J.rendererPackageName,rendererConfig:J.rendererConfig,overrideHookState:zK,overrideHookStateDeletePath:MK,overrideHookStateRenamePath:AK,overrideProps:PK,overridePropsDeletePath:FK,overridePropsRenamePath:RK,setErrorHandler:LK,setSuspenseHandler:IK,scheduleUpdate:_K,currentDispatcherRef:Z,findHostInstanceByFiber:sR,findFiberByHostInstance:Q||aR,findHostInstancesForRefresh:vR,scheduleRefresh:VR,scheduleRoot:SR,setRefreshHandler:IR,getCurrentFiber:iR,reconcilerVersion:zB})}var EK=typeof reportError==="function"?reportError:function(J){console.error(J)};function RB(J){this._internalRoot=J}UX.prototype.render=RB.prototype.render=function(J){var Q=this._internalRoot;if(Q===null)throw Error("Cannot update an unmounted root.");{if(typeof arguments[1]==="function")W("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(qX(arguments[1]))W("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]<"u")W("You passed a second argument to root.render(...) but it only accepts one argument.");var Z=Q.containerInfo;if(Z.nodeType!==j4){var X=$K(Q.current);if(X){if(X.parentNode!==Z)W("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.")}}}uJ(J,Q,null,null)},UX.prototype.unmount=RB.prototype.unmount=function(){if(typeof arguments[0]==="function")W("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var J=this._internalRoot;if(J!==null){this._internalRoot=null;var Q=J.containerInfo;if(mq())W("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.");I0(function(){uJ(null,J,null,null)}),wU(Q)}};function oR(J,Q){if(!qX(J))throw Error("createRoot(...): Target container is not a DOM element.");TK(J);var Z=!1,X=!1,Y="",G=EK,H=null;if(Q!==null&&Q!==void 0){if(Q.hydrate)O1("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.");else if(typeof Q==="object"&&Q!==null&&Q.$$typeof===P8)W(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
142
|
+
|
|
143
|
+
let root = createRoot(domContainer);
|
|
144
|
+
root.render(<App />);`);if(Q.unstable_strictMode===!0)Z=!0;if(Q.identifierPrefix!==void 0)Y=Q.identifierPrefix;if(Q.onRecoverableError!==void 0)G=Q.onRecoverableError;if(Q.transitionCallbacks!==void 0)H=Q.transitionCallbacks}var B=UK(J,QZ,null,Z,X,Y,G);iQ(B.current,J);var U=J.nodeType===j4?J.parentNode:J;return l5(U),new RB(B)}function UX(J){this._internalRoot=J}function tR(J){if(J)UO(J)}UX.prototype.unstable_scheduleHydration=tR;function nR(J,Q,Z){if(!qX(J))throw Error("hydrateRoot(...): Target container is not a DOM element.");if(TK(J),Q===void 0)W("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var X=Z!=null?Z:null,Y=Z!=null&&Z.hydratedSources||null,G=!1,H=!1,B="",U=EK;if(Z!==null&&Z!==void 0){if(Z.unstable_strictMode===!0)G=!0;if(Z.identifierPrefix!==void 0)B=Z.identifierPrefix;if(Z.onRecoverableError!==void 0)U=Z.onRecoverableError}var K=qK(Q,null,J,QZ,X,G,H,B,U);if(iQ(K.current,J),l5(J),Y)for(var $=0;$<Y.length;$++){var A=Y[$];nA(K,A)}return new UX(K)}function qX(J){return!!(J&&(J.nodeType===y6||J.nodeType===G0||J.nodeType===SX||!y4))}function yJ(J){return!!(J&&(J.nodeType===y6||J.nodeType===G0||J.nodeType===SX||J.nodeType===j4&&J.nodeValue===" react-mount-point-unstable "))}function TK(J){{if(J.nodeType===y6&&J.tagName&&J.tagName.toUpperCase()==="BODY")W("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(QJ(J))if(J._reactRootContainer)W("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");else W("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 eR=I.ReactCurrentOwner,CK;CK=function(J){if(J._reactRootContainer&&J.nodeType!==j4){var Q=$K(J._reactRootContainer.current);if(Q){if(Q.parentNode!==J)W("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 Z=!!J._reactRootContainer,X=_B(J),Y=!!(X&&c0(X));if(Y&&!Z)W("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(J.nodeType===y6&&J.tagName&&J.tagName.toUpperCase()==="BODY")W("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 _B(J){if(!J)return null;if(J.nodeType===G0)return J.documentElement;else return J.firstChild}function bK(){}function J_(J,Q,Z,X,Y){if(Y){if(typeof X==="function"){var G=X;X=function(){var M=BX(H);G.call(M)}}var H=qK(Q,X,J,p0,null,!1,!1,"",bK);J._reactRootContainer=H,iQ(H.current,J);var B=J.nodeType===j4?J.parentNode:J;return l5(B),I0(),H}else{var U;while(U=J.lastChild)J.removeChild(U);if(typeof X==="function"){var K=X;X=function(){var M=BX($);K.call(M)}}var $=UK(J,p0,null,!1,!1,"",bK);J._reactRootContainer=$,iQ($.current,J);var A=J.nodeType===j4?J.parentNode:J;return l5(A),I0(function(){uJ(Q,$,Z,X)}),$}}function Q_(J,Q){if(J!==null&&typeof J!=="function")W("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",Q,J)}function KX(J,Q,Z,X,Y){CK(Z),Q_(Y===void 0?null:Y,"render");var G=Z._reactRootContainer,H;if(!G)H=J_(Z,Q,J,Y,X);else{if(H=G,typeof Y==="function"){var B=Y;Y=function(){var U=BX(H);B.call(U)}}uJ(Q,H,J,Y)}return BX(H)}var kK=!1;function Z_(J){{if(!kK)kK=!0,W("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 Q=eR.current;if(Q!==null&&Q.stateNode!==null){var Z=Q.stateNode._warnedAboutRefsInRender;if(!Z)W("%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.",c1(Q.type)||"A component");Q.stateNode._warnedAboutRefsInRender=!0}}if(J==null)return null;if(J.nodeType===y6)return J;return fR(J,"findDOMNode")}function X_(J,Q,Z){if(W("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"),!yJ(Q))throw Error("Target container is not a DOM element.");{var X=QJ(Q)&&Q._reactRootContainer===void 0;if(X)W("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 KX(null,J,Q,!0,Z)}function Y_(J,Q,Z){if(W("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"),!yJ(Q))throw Error("Target container is not a DOM element.");{var X=QJ(Q)&&Q._reactRootContainer===void 0;if(X)W("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 KX(null,J,Q,!1,Z)}function G_(J,Q,Z,X){if(W("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"),!yJ(Z))throw Error("Target container is not a DOM element.");if(J==null||!i$(J))throw Error("parentComponent must be a valid React Component");return KX(J,Q,Z,!1,X)}var gK=!1;function H_(J){if(!gK)gK=!0,W("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(!yJ(J))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var Q=QJ(J)&&J._reactRootContainer===void 0;if(Q)W("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(J._reactRootContainer){{var Z=_B(J),X=Z&&!c0(Z);if(X)W("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return I0(function(){KX(null,null,J,!1,function(){J._reactRootContainer=null,wU(J)})}),!0}else{{var Y=_B(J),G=!!(Y&&c0(Y)),H=J.nodeType===y6&&yJ(J.parentNode)&&!!J.parentNode._reactRootContainer;if(G)W("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",H?"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(nW(mR),JO(dR),QO(cR),ZO(V8),XO(rW),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")W("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");h$(YM),f$(tH,nF,I0);function B_(J,Q){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!qX(Q))throw Error("Target container is not a DOM element.");return yR(J,Q,null,Z)}function U_(J,Q,Z,X){return G_(J,Q,Z,X)}var LB={usingClientEntryPoint:!1,Events:[c0,_9,rQ,lB,pB,tH]};function q_(J,Q){if(!LB.usingClientEntryPoint)W('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return oR(J,Q)}function K_(J,Q,Z){if(!LB.usingClientEntryPoint)W('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return nR(J,Q,Z)}function $_(J){if(mq())W("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 I0(J)}var W_=rR({findFiberByHostInstance:w7,bundleType:1,version:zB,rendererPackageName:"react-dom"});if(!W_&&S4&&window.top===window.self){if(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1){var xK=window.location.protocol;if(/^(https?|file):$/.test(xK))console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(xK==="file:"?`
|
|
145
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}}if(S_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=LB,S_.createPortal=B_,S_.createRoot=q_,S_.findDOMNode=Z_,S_.flushSync=$_,S_.hydrate=X_,S_.hydrateRoot=K_,S_.render=Y_,S_.unmountComponentAtNode=H_,S_.unstable_batchedUpdates=tH,S_.unstable_renderSubtreeIntoContainer=U_,S_.version=zB,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var fK=p9((UI,yK)=>{var v_=M8(uK());yK.exports=v_});var mK=p9((D_)=>{var a9=M8(fK());s9=a9.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D_.createRoot=function(I,j){s9.usingClientEntryPoint=!0;try{return a9.createRoot(I,j)}finally{s9.usingClientEntryPoint=!1}},D_.hydrateRoot=function(I,j,q1){s9.usingClientEntryPoint=!0;try{return a9.hydrateRoot(I,j,q1)}finally{s9.usingClientEntryPoint=!1}};var s9});var SB=p9((x_)=>{var VB=M8(c7());(function(){var I=Symbol.for("react.element"),j=Symbol.for("react.portal"),q1=Symbol.for("react.fragment"),O1=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),S1=Symbol.for("react.provider"),k=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),u1=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),z1=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),K1=Symbol.for("react.offscreen"),q4=Symbol.iterator,i1="@@iterator";function N4(z){if(z===null||typeof z!=="object")return null;var E=q4&&z[q4]||z[i1];if(typeof E==="function")return E;return null}var g1=VB.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function o(z){{for(var E=arguments.length,y=Array(E>1?E-1:0),B1=1;B1<E;B1++)y[B1-1]=arguments[B1];g("error",z,y)}}function g(z,E,y){{var B1=g1.ReactDebugCurrentFrame,Y1=B1.getStackAddendum();if(Y1!=="")E+="%s",y=y.concat([Y1]);var p1=y.map(function(E1){return String(E1)});p1.unshift("Warning: "+E),Function.prototype.apply.call(console[z],console,p1)}}var f=!1,_1=!1,s=!1,Z1=!1,v1=!1,y1;y1=Symbol.for("react.module.reference");function T1(z){if(typeof z==="string"||typeof z==="function")return!0;if(z===q1||z===W||v1||z===O1||z===u1||z===i||Z1||z===K1||f||_1||s)return!0;if(typeof z==="object"&&z!==null){if(z.$$typeof===h||z.$$typeof===z1||z.$$typeof===S1||z.$$typeof===k||z.$$typeof===a||z.$$typeof===y1||z.getModuleId!==void 0)return!0}return!1}function d1(z,E,y){var B1=z.displayName;if(B1)return B1;var Y1=E.displayName||E.name||"";return Y1!==""?y+"("+Y1+")":y}function M4(z){return z.displayName||"Context"}function N1(z){if(z==null)return null;if(typeof z.tag==="number")o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof z==="function")return z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case q1:return"Fragment";case j:return"Portal";case W:return"Profiler";case O1:return"StrictMode";case u1:return"Suspense";case i:return"SuspenseList"}if(typeof z==="object")switch(z.$$typeof){case k:var E=z;return M4(E)+".Consumer";case S1:var y=z;return M4(y._context)+".Provider";case a:return d1(z,z.render,"ForwardRef");case z1:var B1=z.displayName||null;if(B1!==null)return B1;return N1(z.type)||"Memo";case h:{var Y1=z,p1=Y1._payload,E1=Y1._init;try{return N1(E1(p1))}catch(I1){return null}}}return null}var D1=Object.assign,A4=0,H1,B4,w6,t4,Q4,y4,f4;function x4(){}x4.__reactDisabledLog=!0;function m4(){{if(A4===0){H1=console.log,B4=console.info,w6=console.warn,t4=console.error,Q4=console.group,y4=console.groupCollapsed,f4=console.groupEnd;var z={configurable:!0,enumerable:!0,value:x4,writable:!0};Object.defineProperties(console,{info:z,log:z,warn:z,error:z,group:z,groupCollapsed:z,groupEnd:z})}A4++}}function s6(){{if(A4--,A4===0){var z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D1({},z,{value:H1}),info:D1({},z,{value:B4}),warn:D1({},z,{value:w6}),error:D1({},z,{value:t4}),group:D1({},z,{value:Q4}),groupCollapsed:D1({},z,{value:y4}),groupEnd:D1({},z,{value:f4})})}if(A4<0)o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var a6=g1.ReactCurrentDispatcher,i6;function b4(z,E,y){{if(i6===void 0)try{throw Error()}catch(Y1){var B1=Y1.stack.trim().match(/\n( *(at )?)/);i6=B1&&B1[1]||""}return`
|
|
146
|
+
`+i6+z}}var P6=!1,n4;{var j6=typeof WeakMap==="function"?WeakMap:Map;n4=new j6}function S4(z,E){if(!z||P6)return"";{var y=n4.get(z);if(y!==void 0)return y}var B1;P6=!0;var Y1=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p1;p1=a6.current,a6.current=null,m4();try{if(E){var E1=function(){throw Error()};if(Object.defineProperty(E1.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(E1,[])}catch(e4){B1=e4}Reflect.construct(z,[],E1)}else{try{E1.call()}catch(e4){B1=e4}z.call(E1.prototype)}}else{try{throw Error()}catch(e4){B1=e4}z()}}catch(e4){if(e4&&B1&&typeof e4.stack==="string"){var I1=e4.stack.split(`
|
|
147
|
+
`),o1=B1.stack.split(`
|
|
148
|
+
`),_4=I1.length-1,V4=o1.length-1;while(_4>=1&&V4>=0&&I1[_4]!==o1[V4])V4--;for(;_4>=1&&V4>=0;_4--,V4--)if(I1[_4]!==o1[V4]){if(_4!==1||V4!==1)do if(_4--,V4--,V4<0||I1[_4]!==o1[V4]){var H6=`
|
|
149
|
+
`+I1[_4].replace(" at new "," at ");if(z.displayName&&H6.includes("<anonymous>"))H6=H6.replace("<anonymous>",z.displayName);if(typeof z==="function")n4.set(z,H6);return H6}while(_4>=1&&V4>=0);break}}}finally{P6=!1,a6.current=p1,s6(),Error.prepareStackTrace=Y1}var y8=z?z.displayName||z.name:"",R8=y8?b4(y8):"";if(typeof z==="function")n4.set(z,R8);return R8}function F6(z,E,y){return S4(z,!1)}function h6(z){var E=z.prototype;return!!(E&&E.isReactComponent)}function k4(z,E,y){if(z==null)return"";if(typeof z==="function")return S4(z,h6(z));if(typeof z==="string")return b4(z);switch(z){case u1:return b4("Suspense");case i:return b4("SuspenseList")}if(typeof z==="object")switch(z.$$typeof){case a:return F6(z.render);case z1:return k4(z.type,E,y);case h:{var B1=z,Y1=B1._payload,p1=B1._init;try{return k4(p1(Y1),E,y)}catch(E1){}}}return""}var K4=Object.prototype.hasOwnProperty,C={},F1=g1.ReactDebugCurrentFrame;function t(z){if(z){var E=z._owner,y=k4(z.type,z._source,E?E.type:null);F1.setExtraStackFrame(y)}else F1.setExtraStackFrame(null)}function l1(z,E,y,B1,Y1){{var p1=Function.call.bind(K4);for(var E1 in z)if(p1(z,E1)){var I1=void 0;try{if(typeof z[E1]!=="function"){var o1=Error((B1||"React class")+": "+y+" type `"+E1+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof z[E1]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o1.name="Invariant Violation",o1}I1=z[E1](E,E1,B1,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_4){I1=_4}if(I1&&!(I1 instanceof Error))t(Y1),o("%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).",B1||"React class",y,E1,typeof I1),t(null);if(I1 instanceof Error&&!(I1.message in C))C[I1.message]=!0,t(Y1),o("Failed %s type: %s",y,I1.message),t(null)}}}var P4=Array.isArray;function U4(z){return P4(z)}function N6(z){{var E=typeof Symbol==="function"&&Symbol.toStringTag,y=E&&z[Symbol.toStringTag]||z.constructor.name||"Object";return y}}function v4(z){try{return G8(z),!1}catch(E){return!0}}function G8(z){return""+z}function R6(z){if(v4(z))return o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",N6(z)),G8(z)}var G6=g1.ReactCurrentOwner,x8={key:!0,ref:!0,__self:!0,__source:!0},j8,A8,r6;r6={};function d(z){if(K4.call(z,"ref")){var E=Object.getOwnPropertyDescriptor(z,"ref").get;if(E&&E.isReactWarning)return!1}return z.ref!==void 0}function X1(z){if(K4.call(z,"key")){var E=Object.getOwnPropertyDescriptor(z,"key").get;if(E&&E.isReactWarning)return!1}return z.key!==void 0}function L1(z,E){if(typeof z.ref==="string"&&G6.current&&E&&G6.current.stateNode!==E){var y=N1(G6.current.type);if(!r6[y])o('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',N1(G6.current.type),z.ref),r6[y]=!0}}function e1(z,E){{var y=function(){if(!j8)j8=!0,o("%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)",E)};y.isReactWarning=!0,Object.defineProperty(z,"key",{get:y,configurable:!0})}}function $4(z,E){{var y=function(){if(!A8)A8=!0,o("%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)",E)};y.isReactWarning=!0,Object.defineProperty(z,"ref",{get:y,configurable:!0})}}var d4=function(z,E,y,B1,Y1,p1,E1){var I1={$$typeof:I,type:z,key:E,ref:y,props:E1,_owner:p1};if(I1._store={},Object.defineProperty(I1._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(I1,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B1}),Object.defineProperty(I1,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Y1}),Object.freeze)Object.freeze(I1.props),Object.freeze(I1);return I1};function R4(z,E,y,B1,Y1){{var p1,E1={},I1=null,o1=null;if(y!==void 0)R6(y),I1=""+y;if(X1(E))R6(E.key),I1=""+E.key;if(d(E))o1=E.ref,L1(E,Y1);for(p1 in E)if(K4.call(E,p1)&&!x8.hasOwnProperty(p1))E1[p1]=E[p1];if(z&&z.defaultProps){var _4=z.defaultProps;for(p1 in _4)if(E1[p1]===void 0)E1[p1]=_4[p1]}if(I1||o1){var V4=typeof z==="function"?z.displayName||z.name||"Unknown":z;if(I1)e1(E1,V4);if(o1)$4(E1,V4)}return d4(z,I1,o1,Y1,B1,G6.current,E1)}}var{ReactCurrentOwner:_6,ReactDebugCurrentFrame:f1}=g1;function r1(z){if(z){var E=z._owner,y=k4(z.type,z._source,E?E.type:null);f1.setExtraStackFrame(y)}else f1.setExtraStackFrame(null)}var J0=!1;function H8(z){return typeof z==="object"&&z!==null&&z.$$typeof===I}function v0(){{if(_6.current){var z=N1(_6.current.type);if(z)return`
|
|
150
|
+
|
|
151
|
+
Check the render method of \``+z+"`."}return""}}function r9(z){{if(z!==void 0){var E=z.fileName.replace(/^.*[\\\/]/,""),y=z.lineNumber;return`
|
|
152
|
+
|
|
153
|
+
Check your code at `+E+":"+y+"."}return""}}var p7={};function s7(z){{var E=v0();if(!E){var y=typeof z==="string"?z:z.displayName||z.name;if(y)E=`
|
|
154
|
+
|
|
155
|
+
Check the top-level render call using <`+y+">."}return E}}function B7(z,E){{if(!z._store||z._store.validated||z.key!=null)return;z._store.validated=!0;var y=s7(E);if(p7[y])return;p7[y]=!0;var B1="";if(z&&z._owner&&z._owner!==_6.current)B1=" It was passed a child from "+N1(z._owner.type)+".";r1(z),o('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',y,B1),r1(null)}}function h8(z,E){{if(typeof z!=="object")return;if(U4(z))for(var y=0;y<z.length;y++){var B1=z[y];if(H8(B1))B7(B1,E)}else if(H8(z)){if(z._store)z._store.validated=!0}else if(z){var Y1=N4(z);if(typeof Y1==="function"){if(Y1!==z.entries){var p1=Y1.call(z),E1;while(!(E1=p1.next()).done)if(H8(E1.value))B7(E1.value,E)}}}}}function D0(z){{var E=z.type;if(E===null||E===void 0||typeof E==="string")return;var y;if(typeof E==="function")y=E.propTypes;else if(typeof E==="object"&&(E.$$typeof===a||E.$$typeof===z1))y=E.propTypes;else return;if(y){var B1=N1(E);l1(y,z.props,"prop",B1,z)}else if(E.PropTypes!==void 0&&!J0){J0=!0;var Y1=N1(E);o("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y1||"Unknown")}if(typeof E.getDefaultProps==="function"&&!E.getDefaultProps.isReactClassApproved)o("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function w0(z){{var E=Object.keys(z.props);for(var y=0;y<E.length;y++){var B1=E[y];if(B1!=="children"&&B1!=="key"){r1(z),o("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B1),r1(null);break}}if(z.ref!==null)r1(z),o("Invalid attribute `ref` supplied to `React.Fragment`."),r1(null)}}var P8={};function F8(z,E,y,B1,Y1,p1){{var E1=T1(z);if(!E1){var I1="";if(z===void 0||typeof z==="object"&&z!==null&&Object.keys(z).length===0)I1+=" 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 o1=r9(Y1);if(o1)I1+=o1;else I1+=v0();var _4;if(z===null)_4="null";else if(U4(z))_4="array";else if(z!==void 0&&z.$$typeof===I)_4="<"+(N1(z.type)||"Unknown")+" />",I1=" Did you accidentally export a JSX literal instead of a component?";else _4=typeof z;o("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_4,I1)}var V4=R4(z,E,y,Y1,p1);if(V4==null)return V4;if(E1){var H6=E.children;if(H6!==void 0)if(B1)if(U4(H6)){for(var y8=0;y8<H6.length;y8++)h8(H6[y8],z);if(Object.freeze)Object.freeze(H6)}else o("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 h8(H6,z)}if(K4.call(E,"key")){var R8=N1(z),e4=Object.keys(E).filter(function(_8){return _8!=="key"}),N0=e4.length>0?"{key: someKey, "+e4.join(": ..., ")+": ...}":"{key: someKey}";if(!P8[R8+N0]){var o9=e4.length>0?"{"+e4.join(": ..., ")+": ...}":"{}";o(`A props object containing a "key" prop is being spread into JSX:
|
|
156
|
+
let props = %s;
|
|
157
|
+
<%s {...props} />
|
|
158
|
+
React keys must be passed directly to JSX without using spread:
|
|
159
|
+
let props = %s;
|
|
160
|
+
<%s key={someKey} {...props} />`,N0,R8,o9,R8),P8[R8+N0]=!0}}if(z===q1)w0(V4);else D0(V4);return V4}}var u8=F8;x_.Fragment=q1,x_.jsxDEV=u8})()});var Q1=M8(c7(),1),iK=M8(mK(),1);var zX=M8(c7(),1);var WX=(...I)=>I.filter((j,q1,O1)=>{return Boolean(j)&&j.trim()!==""&&O1.indexOf(j)===q1}).join(" ").trim();var dK=(I)=>I.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var cK=(I)=>I.replace(/^([A-Z])|[\s-_]+(\w)/g,(j,q1,O1)=>O1?O1.toUpperCase():q1.toLowerCase());var IB=(I)=>{let j=cK(I);return j.charAt(0).toUpperCase()+j.slice(1)};var dJ=M8(c7(),1);var OX={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 lK=(I)=>{for(let j in I)if(j.startsWith("aria-")||j==="role"||j==="title")return!0;return!1};var i9=M8(c7(),1),w_=i9.createContext({});var pK=()=>i9.useContext(w_);var sK=dJ.forwardRef(({color:I,size:j,strokeWidth:q1,absoluteStrokeWidth:O1,className:W="",children:S1,iconNode:k,...a},u1)=>{let{size:i=24,strokeWidth:z1=2,absoluteStrokeWidth:h=!1,color:K1="currentColor",className:q4=""}=pK()??{},i1=O1??h?Number(q1??z1)*24/Number(j??i):q1??z1;return dJ.createElement("svg",{ref:u1,...OX,width:j??i??OX.width,height:j??i??OX.height,stroke:I??K1,strokeWidth:i1,className:WX("lucide",q4,W),...!S1&&!lK(a)&&{"aria-hidden":"true"},...a},[...k.map(([N4,g1])=>dJ.createElement(N4,g1)),...Array.isArray(S1)?S1:[S1]])});var p6=(I,j)=>{let q1=zX.forwardRef(({className:O1,...W},S1)=>zX.createElement(sK,{ref:S1,iconNode:j,className:WX(`lucide-${dK(IB(I))}`,`lucide-${I}`,O1),...W}));return q1.displayName=IB(I),q1};var N_=[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],G7=p6("square-user-round",N_);var E_=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],cJ=p6("chevron-left",E_);var T_=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],lJ=p6("chevron-right",T_);var C_=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],pJ=p6("monitor",C_);var b_=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],sJ=p6("moon",b_);var k_=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],aJ=p6("sun",k_);var g_=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],H7=p6("x",g_);var D=M8(SB(),1);function DB(I){return I.repo?`${I.repo}:${I.path}`:I.path}function j_(){let[I,j]=Q1.useState([]),[q1,O1]=Q1.useState(0),[W,S1]=Q1.useState([]),[k,a]=Q1.useState(null),[u1,i]=Q1.useState(""),[z1,h]=Q1.useState(!0),[K1,q4]=Q1.useState(null),[i1,N4]=Q1.useState({multiRepo:!1,repos:[],baseRef:""}),[g1,o]=Q1.useState([]),[g,f]=Q1.useState(!1),[_1,s]=Q1.useState(()=>{let C=localStorage.getItem("codereview:sidebar-width");return C?parseInt(C,10):280}),[Z1,v1]=Q1.useState(!1),[y1,T1]=Q1.useState(null),[d1,M4]=Q1.useState(()=>{let C=localStorage.getItem("codereview:theme");if(C==="light"||C==="dark"||C==="system")return C;return"system"}),N1=Q1.useRef(!1),D1=Q1.useRef(null),A4=Q1.useRef(null),H1=Q1.useRef(null),B4=Q1.useMemo(()=>{if(d1!=="system")return d1;return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"},[d1]);Q1.useEffect(()=>{document.documentElement.setAttribute("data-theme",B4),localStorage.setItem("codereview:theme",d1)},[B4,d1]),Q1.useEffect(()=>{if(d1!=="system")return;let C=window.matchMedia("(prefers-color-scheme: light)"),F1=()=>{document.documentElement.setAttribute("data-theme",C.matches?"light":"dark")};return C.addEventListener("change",F1),()=>C.removeEventListener("change",F1)},[d1]);let w6=Q1.useCallback(()=>{M4((C)=>{if(C==="system")return"light";if(C==="light")return"dark";return"system"})},[]);Q1.useEffect(()=>{let C=(t)=>{if(!N1.current||!D1.current)return;let l1=D1.current.getBoundingClientRect(),P4=Math.min(Math.max(t.clientX-l1.left,160),600);s(P4)},F1=()=>{if(N1.current){N1.current=!1,document.body.style.cursor="",document.body.style.userSelect="";let t=D1.current?.querySelector(".sidebar");if(t)localStorage.setItem("codereview:sidebar-width",String(t.offsetWidth))}};return window.addEventListener("mousemove",C),window.addEventListener("mouseup",F1),()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",F1)}},[]);let t4=Q1.useCallback(()=>{N1.current=!0,document.body.style.cursor="col-resize",document.body.style.userSelect="none"},[]);Q1.useEffect(()=>{Promise.all([fetch("/api/diffs").then((C)=>C.json()),fetch("/api/info").then((C)=>C.json()),fetch("/api/branches").then((C)=>C.json())]).then(([C,F1,t])=>{j(C),N4(F1),o(t.branches||[]),h(!1),setTimeout(()=>{document.querySelector(".file-item")?.focus()},50)}).catch(()=>h(!1))},[]);let Q4=Q1.useCallback((C,F1="success")=>{q4({message:C,type:F1}),setTimeout(()=>q4(null),3000)},[]),y4=Q1.useMemo(()=>I[q1],[I,q1]),f4=Q1.useCallback(()=>{O1((C)=>Math.max(0,C-1))},[]),x4=Q1.useCallback(()=>{O1((C)=>Math.min(I.length-1,C+1))},[I.length]),m4=Q1.useCallback((C)=>{O1(C)},[]),s6=Q1.useCallback((C,F1,t,l1,P4,U4)=>{let N6=W.find((v4)=>v4.fileKey===C&&v4.lineNumber===l1&&v4.lineType===P4);a({fileKey:C,filePath:F1,repo:t,lineNumber:l1,lineType:P4,lineContent:U4}),i(N6?.content||"")},[W]),a6=Q1.useCallback(()=>{if(!k)return;if(u1.trim()){let F1={id:W.find((t)=>t.fileKey===k.fileKey&&t.lineNumber===k.lineNumber&&t.lineType===k.lineType)?.id||crypto.randomUUID(),fileKey:k.fileKey,filePath:k.filePath,repo:k.repo,lineNumber:k.lineNumber,lineType:k.lineType,content:u1.trim(),lineContent:k.lineContent};S1((t)=>{return[...t.filter((P4)=>!(P4.fileKey===k.fileKey&&P4.lineNumber===k.lineNumber&&P4.lineType===k.lineType)),F1]})}a(null),i("")},[k,u1,W]),i6=Q1.useCallback(()=>{a(null),i("")},[]),b4=Q1.useCallback((C)=>{S1((F1)=>F1.filter((t)=>t.id!==C))},[]),P6=Q1.useCallback(async(C)=>{f(!0);try{let t=await(await fetch("/api/reload",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({base:C})})).json();if(t.success){let P4=await(await fetch("/api/diffs")).json();j(P4),N4((U4)=>({...U4,baseRef:t.baseRef,repos:t.repos})),O1(0),Q4(`Loaded ${t.fileCount} file(s)${C?` (vs ${C})`:" (uncommitted only)"}`)}else Q4(`Error: ${t.error}`,"error")}catch{Q4("Failed to reload","error")}f(!1)},[Q4]),n4=Q1.useCallback(async()=>{if(W.length===0){Q4("No comments to generate","error");return}let C=await fetch("/api/generate-markdown",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({comments:W})}),{markdown:F1}=await C.json();T1(F1)},[W,Q4]),j6=Q1.useCallback((C)=>{let F1=I.findIndex((t)=>DB(t)===C.fileKey);if(F1!==-1)O1(F1),v1(!1),setTimeout(()=>{let t=document.querySelector(`[data-line-key="${C.fileKey}:${C.lineNumber}:${C.lineType}"]`);if(t)t.scrollIntoView({behavior:"smooth",block:"center"})},100)},[I]),S4=Q1.useCallback((C,F1,t)=>{return W.find((l1)=>l1.fileKey===C&&l1.lineNumber===F1&&l1.lineType===t)},[W]),F6=Q1.useCallback((C)=>{return W.filter((F1)=>F1.fileKey===C)},[W]),h6=Q1.useCallback((C,F1,t)=>{return k?.fileKey===C&&k.lineNumber===F1&&k.lineType===t},[k]),k4=Q1.useMemo(()=>{let C=new Map;return I.forEach((F1,t)=>{let l1=F1.repo||"",P4=C.get(l1)||[];P4.push({index:t,diff:F1}),C.set(l1,P4)}),C},[I]);if(z1)return D.jsxDEV("div",{className:"app",children:D.jsxDEV("div",{className:"loading",children:D.jsxDEV("div",{className:"loading-spinner"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(I.length===0)return D.jsxDEV("div",{className:"app",children:D.jsxDEV("div",{className:"empty-state",children:[D.jsxDEV("div",{className:"empty-state-icon",children:"\uD83D\uDCDD"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"empty-state-text",children:"No changes to review"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);let K4=new Map;for(let C of W){let F1=C.repo?`${C.repo}/${C.filePath}`:C.filePath,t=K4.get(F1)||[];t.push(C),K4.set(F1,t)}return D.jsxDEV("div",{className:"app",children:[D.jsxDEV("div",{className:"toolbar",children:[D.jsxDEV("div",{className:"toolbar-title",children:[D.jsxDEV(G7,{size:18},void 0,!1,void 0,this)," Human Code Reviewer"]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"base-selector",children:[D.jsxDEV("button",{type:"button",className:`base-toggle ${!i1.baseRef?"active":""}`,onClick:()=>P6(""),disabled:g||!i1.baseRef,children:"dirty"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:`base-toggle ${i1.baseRef==="main"?"active":""}`,onClick:()=>P6("main"),disabled:g||i1.baseRef==="main",children:"vs main"},void 0,!1,void 0,this),g&&D.jsxDEV("div",{className:"loading-spinner-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"toolbar-spacer"},void 0,!1,void 0,this),W.length>0&&D.jsxDEV("button",{type:"button",className:"comments-pill",onClick:()=>v1(!0),title:"View all comments",children:[D.jsxDEV("span",{className:"comments-pill-icon",children:"●"},void 0,!1,void 0,this),W.length," ",W.length===1?"comment":"comments"]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",className:"btn-generate",onClick:n4,disabled:W.length===0,children:"Generate"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"toolbar-nav",children:[D.jsxDEV("button",{type:"button",className:"toolbar-btn",onClick:f4,disabled:q1===0,title:"Previous file",children:D.jsxDEV(cJ,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this),D.jsxDEV("span",{className:"toolbar-file-info",children:[q1+1," / ",I.length]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",className:"toolbar-btn",onClick:x4,disabled:q1===I.length-1,title:"Next file",children:D.jsxDEV(lJ,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"main-content",ref:D1,children:[D.jsxDEV("div",{className:"sidebar",style:{width:_1,minWidth:_1},children:[D.jsxDEV("div",{className:"sidebar-header",children:["Files (",I.length,")"]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"file-list",role:"listbox",ref:H1,children:Array.from(k4.entries()).map(([C,F1])=>D.jsxDEV("div",{children:[i1.multiRepo&&C&&D.jsxDEV("div",{className:"file-list-repo-header",children:C},void 0,!1,void 0,this),F1.map(({index:t,diff:l1})=>{let P4=DB(l1);return D.jsxDEV("button",{type:"button",role:"option","aria-selected":t===q1,className:`file-item ${t===q1?"active":""}`,ref:(U4)=>{if(t===q1&&U4&&U4.closest(".file-list")?.contains(document.activeElement))U4.focus()},onClick:()=>m4(t),onKeyDown:(U4)=>{if(U4.key==="ArrowDown"){if(U4.preventDefault(),t<I.length-1)m4(t+1)}else if(U4.key==="ArrowUp"){if(U4.preventDefault(),t>0)m4(t-1)}else if(U4.key==="ArrowRight")U4.preventDefault(),A4.current?.focus()},children:[D.jsxDEV("span",{className:`file-status-icon ${l1.status}`,children:u_(l1.status)},void 0,!1,void 0,this),D.jsxDEV("span",{className:"file-info",children:[D.jsxDEV("span",{className:"file-name",children:vB(l1.path).name},void 0,!1,void 0,this),vB(l1.path).dir&&D.jsxDEV("span",{className:"file-dir",children:vB(l1.path).dir},void 0,!1,void 0,this)]},void 0,!0,void 0,this),F6(P4).length>0&&D.jsxDEV("span",{className:"comments-badge",children:F6(P4).length},void 0,!1,void 0,this)]},P4,!0,void 0,this)})]},C||"__single__",!0,void 0,this))},void 0,!1,void 0,this),D.jsxDEV("div",{className:"sidebar-footer",children:[D.jsxDEV("div",{className:"sidebar-footer-info",children:[i1.repos.length===1&&D.jsxDEV(D.Fragment,{children:[i1.repos[0].info.repo&&D.jsxDEV("span",{className:"sidebar-footer-repo",children:i1.repos[0].info.repo},void 0,!1,void 0,this),i1.repos[0].info.branch&&D.jsxDEV("span",{className:"sidebar-footer-branch",children:i1.repos[0].info.branch},void 0,!1,void 0,this)]},void 0,!0,void 0,this),i1.repos.length>1&&D.jsxDEV("div",{className:"sidebar-footer-multi",children:[D.jsxDEV("span",{className:"sidebar-footer-repo",children:[i1.repos.length," repositories"]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"sidebar-footer-tooltip",children:i1.repos.map((C)=>D.jsxDEV("div",{className:"sidebar-footer-tooltip-row",children:[D.jsxDEV("span",{className:"sidebar-footer-tooltip-name",children:C.name},void 0,!1,void 0,this),D.jsxDEV("span",{className:"sidebar-footer-tooltip-branch",children:C.info.branch},void 0,!1,void 0,this)]},C.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",className:"toolbar-btn",onClick:w6,title:`Theme: ${d1}`,children:[d1==="light"&&D.jsxDEV(aJ,{size:14},void 0,!1,void 0,this),d1==="dark"&&D.jsxDEV(sJ,{size:14},void 0,!1,void 0,this),d1==="system"&&D.jsxDEV(pJ,{size:14},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"resize-handle",role:"separator","aria-valuenow":_1,"aria-valuemin":160,"aria-valuemax":600,tabIndex:0,onMouseDown:t4},void 0,!1,void 0,this),D.jsxDEV(c_,{diff:y4,onLineClick:s6,getComment:S4,isEditing:h6,editText:u1,setEditText:i,onSaveInline:a6,onCancelInline:i6,onDeleteComment:b4,diffContentRef:A4,onFocusSidebar:()=>{H1.current?.querySelector(".file-item.active")?.focus()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z1&&D.jsxDEV(f_,{commentsByFile:K4,onClose:()=>v1(!1),onGoToComment:j6,onDeleteComment:b4},void 0,!1,void 0,this),y1!==null&&D.jsxDEV(y_,{markdown:y1,onClose:()=>T1(null),onCopy:(C)=>{h_(C),Q4("Copied to clipboard"),T1(null)}},void 0,!1,void 0,this),K1&&D.jsxDEV("div",{className:`toast ${K1.type}`,children:K1.message},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function h_(I){try{navigator.clipboard.writeText(I)}catch{let j=document.createElement("textarea");j.value=I,j.style.position="fixed",j.style.opacity="0",document.body.appendChild(j),j.select(),document.execCommand("copy"),document.body.removeChild(j)}}function u_(I){switch(I){case"added":return"A";case"deleted":return"D";case"modified":return"M";case"renamed":return"R";default:return"?"}}function vB(I){let j=I.lastIndexOf("/");if(j===-1)return{name:I,dir:""};return{name:I.slice(j+1),dir:I.slice(0,j)}}function y_({markdown:I,onClose:j,onCopy:q1}){let[O1,W]=Q1.useState(I);return Q1.useEffect(()=>{let S1=(k)=>{if(k.key==="Escape")j()};return window.addEventListener("keydown",S1),()=>window.removeEventListener("keydown",S1)},[j]),D.jsxDEV("div",{className:"comment-modal-overlay",children:D.jsxDEV("div",{className:"generate-modal",children:[D.jsxDEV("div",{className:"comment-modal-header",children:[D.jsxDEV("div",{className:"comment-modal-title",children:"Review Feedback"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:"comment-modal-close",onClick:j,children:D.jsxDEV(H7,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"generate-modal-body",children:D.jsxDEV("textarea",{className:"generate-textarea",value:O1,onChange:(S1)=>W(S1.target.value)},void 0,!1,void 0,this)},void 0,!1,void 0,this),D.jsxDEV("div",{className:"comment-modal-footer",children:[D.jsxDEV("button",{type:"button",className:"btn btn-secondary",onClick:j,children:"Cancel"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:"btn btn-primary",onClick:()=>q1(O1),children:"Copy to Clipboard"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function f_({commentsByFile:I,onClose:j,onGoToComment:q1,onDeleteComment:O1}){return Q1.useEffect(()=>{let W=(S1)=>{if(S1.key==="Escape")j()};return window.addEventListener("keydown",W),()=>window.removeEventListener("keydown",W)},[j]),D.jsxDEV("div",{className:"slideover-backdrop",children:D.jsxDEV("div",{className:"slideover",children:[D.jsxDEV("div",{className:"slideover-header",children:[D.jsxDEV("div",{className:"slideover-title",children:"All Comments"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:"comment-modal-close",onClick:j,children:D.jsxDEV(H7,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"slideover-body",children:Array.from(I.entries()).map(([W,S1])=>D.jsxDEV("div",{className:"slideover-file-group",children:[D.jsxDEV("div",{className:"slideover-file-name",children:W},void 0,!1,void 0,this),S1.map((k)=>D.jsxDEV("div",{className:"slideover-comment",children:[D.jsxDEV("button",{type:"button",className:"slideover-comment-body",onClick:()=>q1(k),children:[D.jsxDEV("span",{className:"slideover-comment-line",children:["Line ",k.lineNumber]},void 0,!0,void 0,this),D.jsxDEV("span",{className:"slideover-comment-text",children:k.content},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",className:"slideover-comment-delete",onClick:()=>O1(k.id),title:"Delete comment",children:D.jsxDEV(H7,{size:14},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},k.id,!0,void 0,this))]},W,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function m_({text:I,setText:j,onSave:q1,onCancel:O1}){let W=Q1.useRef(null);Q1.useEffect(()=>{W.current?.focus()},[]);let S1=Q1.useCallback((k)=>{if(k.key==="Enter"&&(k.metaKey||k.ctrlKey))k.preventDefault(),q1();else if(k.key==="Escape")k.preventDefault(),O1()},[q1,O1]);return D.jsxDEV("div",{className:"inline-editor",children:[D.jsxDEV("textarea",{ref:W,className:"inline-editor-textarea",value:I,onChange:(k)=>j(k.target.value),onKeyDown:S1,placeholder:"Add a comment… (⌘+Enter to save, Esc to cancel)",rows:2},void 0,!1,void 0,this),D.jsxDEV("div",{className:"inline-editor-hint",children:"⌘+Enter to save · Esc to cancel"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function d_({comment:I,onEdit:j,onDelete:q1}){return D.jsxDEV("div",{className:"inline-comment",children:[D.jsxDEV("div",{className:"inline-comment-bar"},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:"inline-comment-body",onClick:j,children:I.content},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:"inline-comment-delete",onClick:q1,title:"Delete",children:D.jsxDEV(H7,{size:14},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function aK(I,j,q1,O1,W,S1,k,a,u1,i){let z1=i.get(`${j}:down`)||0,h=i.get(`${j}:up`)||0,K1=Math.min(z1,k);for(let g1=0;g1<K1;g1++){let o=q1+g1,g=W+g1,f=a[o-1]??u1[g-1]??"";I.push({id:`exp-${j}-d${g1}`,type:"context",oldLine:o,newLine:g,content:f,rawContent:f})}let q4=Math.min(h,k-K1),N4=k-K1-q4;if(N4>0)I.push({id:j,type:"collapsed",content:"",rawContent:"",collapsedOldStart:q1+K1,collapsedOldEnd:O1-q4,collapsedNewStart:W+K1,collapsedNewEnd:S1-q4,collapsedCount:N4});for(let g1=q4-1;g1>=0;g1--){let o=O1-g1,g=S1-g1,f=a[o-1]??u1[g-1]??"";I.push({id:`exp-${j}-u${g1}`,type:"context",oldLine:o,newLine:g,content:f,rawContent:f})}}function c_({diff:I,onLineClick:j,getComment:q1,isEditing:O1,editText:W,setEditText:S1,onSaveInline:k,onCancelInline:a,onDeleteComment:u1,diffContentRef:i,onFocusSidebar:z1}){let[h,K1]=Q1.useState(new Map),q4=I?.path;Q1.useEffect(()=>{K1(new Map)},[q4]);let i1=10,N4=Q1.useCallback((g,f)=>{K1((_1)=>{let s=new Map(_1),Z1=`${g}:${f}`;return s.set(Z1,(s.get(Z1)||0)+i1),s})},[]),g1=Q1.useMemo(()=>{if(!I)return[];let g=[],f=I.oldContent?I.oldContent.split(`
|
|
161
|
+
`):[],_1=I.newContent?I.newContent.split(`
|
|
162
|
+
`):[];if(I.status==="added"&&I.newContent){let s=1;for(let Z1 of _1)g.push({id:`new-${s}`,type:"added",newLine:s,content:Z1,rawContent:Z1}),s++}else if(I.status==="deleted"&&I.oldContent){let s=1;for(let Z1 of f)g.push({id:`old-${s}`,type:"removed",oldLine:s,content:Z1,rawContent:Z1}),s++}else if(I.hunks&&I.hunks.length>0){let s=0;for(let Z1=0;Z1<I.hunks.length;Z1++){let v1=I.hunks[Z1],y1=Z1>0?I.hunks[Z1-1]:null,T1,d1;if(y1)T1=y1.oldStart+y1.oldLines,d1=y1.newStart+y1.newLines;else T1=1,d1=1;let M4=v1.oldStart-1,N1=v1.newStart-1,D1=M4-T1+1,A4=`collapse-${Z1}`;if(D1>0)aK(g,A4,T1,M4,d1,N1,D1,f,_1,h);g.push({id:`hunk-${s}`,type:"hunk",content:`Lines ${v1.newStart}–${v1.newStart+v1.newLines-1}`,rawContent:""}),s++;let{oldStart:H1,newStart:B4}=v1,w6=v1.content.split(`
|
|
163
|
+
`).slice(1),t4=0;for(let Q4 of w6){if(Q4.startsWith("+"))g.push({id:`h${s}-a${t4}`,type:"added",newLine:B4,content:Q4.slice(1),rawContent:Q4.slice(1)}),B4++;else if(Q4.startsWith("-"))g.push({id:`h${s}-r${t4}`,type:"removed",oldLine:H1,content:Q4.slice(1),rawContent:Q4.slice(1)}),H1++;else if(Q4.startsWith(" "))g.push({id:`h${s}-c${t4}`,type:"context",oldLine:H1,newLine:B4,content:Q4.slice(1),rawContent:Q4.slice(1)}),H1++,B4++;t4++}if(Z1===I.hunks.length-1){let Q4=v1.oldStart+v1.oldLines,y4=v1.newStart+v1.newLines,f4=f.length,x4=_1.length,m4=f4-Q4+1,s6="collapse-after";if(m4>0)aK(g,"collapse-after",Q4,f4,y4,x4,m4,f,_1,h)}}}else{let s=Math.max(f.length,_1.length);for(let Z1=0;Z1<s;Z1++){let v1=f[Z1],y1=_1[Z1];if(v1!==void 0&&y1!==void 0)if(v1===y1)g.push({id:`ctx-${Z1}`,type:"context",oldLine:Z1+1,newLine:Z1+1,content:v1,rawContent:v1});else g.push({id:`rem-${Z1}`,type:"removed",oldLine:Z1+1,content:v1,rawContent:v1}),g.push({id:`add-${Z1}`,type:"added",newLine:Z1+1,content:y1,rawContent:y1});else if(v1!==void 0)g.push({id:`rem-${Z1}`,type:"removed",oldLine:Z1+1,content:v1,rawContent:v1});else if(y1!==void 0)g.push({id:`add-${Z1}`,type:"added",newLine:Z1+1,content:y1,rawContent:y1})}}return g},[I,h]),o=Q1.useMemo(()=>{if(!I)return{additions:0,deletions:0};let g=0,f=0;if(I.status==="added"&&I.newContent)g=I.newContent.split(`
|
|
164
|
+
`).length;else if(I.status==="deleted"&&I.oldContent)f=I.oldContent.split(`
|
|
165
|
+
`).length;else if(I.hunks&&I.hunks.length>0){for(let _1 of I.hunks)for(let s of _1.content.split(`
|
|
166
|
+
`).slice(1))if(s.startsWith("+"))g++;else if(s.startsWith("-"))f++}return{additions:g,deletions:f}},[I]);if(!I)return D.jsxDEV("div",{className:"diff-container",children:D.jsxDEV("div",{className:"empty-state",children:[D.jsxDEV("div",{className:"empty-state-icon",children:"\uD83D\uDCC4"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"empty-state-text",children:"Select a file to view diff"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this);return D.jsxDEV("div",{className:"diff-container",children:[D.jsxDEV("div",{className:"diff-header",children:[I.repo&&D.jsxDEV("span",{className:"diff-repo-badge",children:I.repo},void 0,!1,void 0,this),D.jsxDEV("span",{className:"diff-path",children:I.path},void 0,!1,void 0,this),D.jsxDEV("span",{className:`diff-status-badge ${I.status}`,children:I.status},void 0,!1,void 0,this),I.oldPath&&I.oldPath!==I.path&&D.jsxDEV("span",{className:"diff-path",style:{color:"var(--text-muted)",fontSize:"12px"},children:["(was ",I.oldPath,")"]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"diff-header-spacer"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"diff-stats",children:[o.additions>0&&D.jsxDEV("span",{className:"diff-stat-added",children:["+",o.additions]},void 0,!0,void 0,this),o.deletions>0&&D.jsxDEV("span",{className:"diff-stat-deleted",children:["−",o.deletions]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),D.jsxDEV("div",{className:"diff-content",ref:i,tabIndex:0,onKeyDown:(g)=>{if(g.key==="ArrowLeft"&&!(g.target instanceof HTMLTextAreaElement))g.preventDefault(),z1()},children:g1.map((g)=>{if(g.type==="hunk")return D.jsxDEV("div",{className:"diff-hunk-header",children:g.content},g.id,!1,void 0,this);if(g.type==="collapsed"){let y1=g.collapsedCount,T1=y1>i1;return D.jsxDEV("div",{className:"diff-collapsed",children:[D.jsxDEV("div",{className:"diff-collapsed-gutter"},void 0,!1,void 0,this),T1?D.jsxDEV(D.Fragment,{children:[D.jsxDEV("button",{type:"button",className:"diff-collapsed-btn",onClick:()=>N4(g.id,"down"),title:"Expand down",children:["↕ Show ",Math.min(i1,y1)," lines below"]},void 0,!0,void 0,this),D.jsxDEV("span",{className:"diff-collapsed-count",children:[y1," lines hidden"]},void 0,!0,void 0,this),D.jsxDEV("button",{type:"button",className:"diff-collapsed-btn",onClick:()=>N4(g.id,"up"),title:"Expand up",children:["↕ Show ",Math.min(i1,y1)," lines above"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):D.jsxDEV("button",{type:"button",className:"diff-collapsed-btn diff-collapsed-btn-full",onClick:()=>N4(g.id,"down"),title:"Expand all",children:["↕ Show ",y1," hidden line",y1===1?"":"s"]},void 0,!0,void 0,this)]},g.id,!0,void 0,this)}let f=DB(I),_1=g.type==="removed"?"old":"new",s=g.type==="removed"?g.oldLine:g.newLine,Z1=s?q1(f,s,_1):void 0,v1=s?O1(f,s,_1):!1;return D.jsxDEV("div",{"data-line-key":`${f}:${s}:${_1}`,children:[D.jsxDEV("div",{className:`diff-line diff-line-${g.type}`,children:[D.jsxDEV("div",{className:"diff-line-num",children:g.oldLine||""},void 0,!1,void 0,this),D.jsxDEV("div",{className:"diff-line-num",children:g.newLine||""},void 0,!1,void 0,this),D.jsxDEV("button",{type:"button",className:`comment-indicator ${Z1?"has-comment":""}`,onClick:()=>{if(s!==void 0)j(f,I.path,I.repo,s,_1,g.rawContent)},title:Z1?"Edit comment":"Add comment",children:Z1?"●":"+"},void 0,!1,void 0,this),D.jsxDEV("div",{className:"diff-line-content",children:[g.type==="added"&&"+",g.type==="removed"&&"-",g.type==="context"&&" ",g.content]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),v1&&D.jsxDEV(m_,{text:W,setText:S1,onSave:k,onCancel:a},void 0,!1,void 0,this),!v1&&Z1&&D.jsxDEV(d_,{comment:Z1,onEdit:()=>j(f,I.path,I.repo,s,_1,g.rawContent),onDelete:()=>u1(Z1.id)},void 0,!1,void 0,this)]},g.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}new EventSource("/api/keepalive");var l_=iK.createRoot(document.getElementById("root"));l_.render(D.jsxDEV(j_,{},void 0,!1,void 0,this));
|