solforge 0.2.0 → 0.2.1
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/LICENSE +21 -0
- package/docs/API.md +379 -0
- package/docs/CONFIGURATION.md +407 -0
- package/package.json +56 -45
- package/src/api-server-entry.ts +109 -0
- package/src/commands/add-program.ts +337 -0
- package/src/commands/init.ts +122 -0
- package/src/commands/list.ts +136 -0
- package/src/commands/mint.ts +288 -0
- package/src/commands/start.ts +877 -0
- package/src/commands/status.ts +99 -0
- package/src/commands/stop.ts +406 -0
- package/src/config/manager.ts +157 -0
- package/src/gui/public/build/main.css +1 -0
- package/src/gui/public/build/main.js +303 -0
- package/src/gui/public/build/main.js.txt +231 -0
- package/src/index.ts +188 -0
- package/src/services/api-server.ts +485 -0
- package/src/services/port-manager.ts +177 -0
- package/src/services/process-registry.ts +154 -0
- package/src/services/program-cloner.ts +317 -0
- package/src/services/token-cloner.ts +809 -0
- package/src/services/validator.ts +295 -0
- package/src/types/config.ts +110 -0
- package/src/utils/shell.ts +110 -0
- package/src/utils/token-loader.ts +115 -0
- package/.agi/agi.sqlite +0 -0
- package/.claude/settings.local.json +0 -9
- package/.github/workflows/release-binaries.yml +0 -133
- package/.tmp/.787ebcdbf7b8fde8-00000000.hm +0 -0
- package/.tmp/.bffe6efebdf8aedc-00000000.hm +0 -0
- package/AGENTS.md +0 -271
- package/CLAUDE.md +0 -106
- package/PROJECT_STRUCTURE.md +0 -124
- package/SOLANA_KIT_GUIDE.md +0 -251
- package/SOLFORGE.md +0 -119
- package/biome.json +0 -34
- package/bun.lock +0 -743
- package/drizzle/0000_friendly_millenium_guard.sql +0 -53
- package/drizzle/0001_stale_sentinels.sql +0 -2
- package/drizzle/meta/0000_snapshot.json +0 -329
- package/drizzle/meta/0001_snapshot.json +0 -345
- package/drizzle/meta/_journal.json +0 -20
- package/drizzle.config.ts +0 -12
- package/index.ts +0 -21
- package/mint.sh +0 -47
- package/postcss.config.js +0 -6
- package/rpc-server.ts.backup +0 -519
- package/sf.config.json +0 -38
- package/tailwind.config.js +0 -27
- package/test-client.ts +0 -120
- package/tmp/inspect-html.ts +0 -4
- package/tmp/response-test.ts +0 -5
- package/tmp/test-html.ts +0 -5
- package/tmp/test-server.ts +0 -13
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
var Hv=Object.create;var{getPrototypeOf:Mv,defineProperty:JG,getOwnPropertyNames:Jv}=Object;var Uv=Object.prototype.hasOwnProperty;var K0=(m,V,u)=>{u=m!=null?Hv(Mv(m)):{};let h=V||!m||!m.__esModule?JG(u,"default",{value:m,enumerable:!0}):u;for(let E of Jv(m))if(!Uv.call(h,E))JG(h,E,{get:()=>m[E],enumerable:!0});return h};var ag=(m,V)=>()=>(V||m((V={exports:{}}).exports,V),V.exports);var UG=ag((Qv)=>{(function(){function m(){if(s0=!1,Tw){var O=Qv.unstable_now();A0=O;var l=!0;try{w:{C0=!1,X0&&(X0=!1,E0(S),S=-1),l0=!0;var s=w0;try{g:{n(O);for(Q0=u(C);Q0!==null&&!(Q0.expirationTime>O&&t());){var Y0=Q0.callback;if(typeof Y0==="function"){Q0.callback=null,w0=Q0.priorityLevel;var A=Y0(Q0.expirationTime<=O);if(O=Qv.unstable_now(),typeof A==="function"){Q0.callback=A,n(O),l=!0;break g}Q0===u(C)&&h(C),n(O)}else h(C);Q0=u(C)}if(Q0!==null)l=!0;else{var a=u(G0);a!==null&&T(W0,a.startTime-O),l=!1}}break w}finally{Q0=null,w0=s,l0=!1}l=void 0}}finally{l?B0():Tw=!1}}}function V(O,l){var s=O.length;O.push(l);w:for(;0<s;){var Y0=s-1>>>1,A=O[Y0];if(0<E(A,l))O[Y0]=l,O[s]=A,s=Y0;else break w}}function u(O){return O.length===0?null:O[0]}function h(O){if(O.length===0)return null;var l=O[0],s=O.pop();if(s!==l){O[0]=s;w:for(var Y0=0,A=O.length,a=A>>>1;Y0<a;){var U0=2*(Y0+1)-1,p=O[U0],ww=U0+1,Gw=O[ww];if(0>E(p,s))ww<A&&0>E(Gw,p)?(O[Y0]=Gw,O[ww]=s,Y0=ww):(O[Y0]=p,O[U0]=s,Y0=U0);else if(ww<A&&0>E(Gw,s))O[Y0]=Gw,O[ww]=s,Y0=ww;else break w}}return l}function E(O,l){var s=O.sortIndex-l.sortIndex;return s!==0?s:O.id-l.id}function n(O){for(var l=u(G0);l!==null;){if(l.callback===null)h(G0);else if(l.startTime<=O)h(G0),l.sortIndex=l.expirationTime,V(C,l);else break;l=u(G0)}}function W0(O){if(X0=!1,n(O),!C0)if(u(C)!==null)C0=!0,Tw||(Tw=!0,B0());else{var l=u(G0);l!==null&&T(W0,l.startTime-O)}}function t(){return s0?!0:Qv.unstable_now()-A0<e0?!1:!0}function T(O,l){S=r0(function(){O(Qv.unstable_now())},l)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Qv.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var m0=performance;Qv.unstable_now=function(){return m0.now()}}else{var K=Date,J=K.now();Qv.unstable_now=function(){return K.now()-J}}var C=[],G0=[],V0=1,Q0=null,w0=3,l0=!1,C0=!1,X0=!1,s0=!1,r0=typeof setTimeout==="function"?setTimeout:null,E0=typeof clearTimeout==="function"?clearTimeout:null,z0=typeof setImmediate!=="undefined"?setImmediate:null,Tw=!1,S=-1,e0=5,A0=-1;if(typeof z0==="function")var B0=function(){z0(m)};else if(typeof MessageChannel!=="undefined"){var Bw=new MessageChannel,_w=Bw.port2;Bw.port1.onmessage=m,B0=function(){_w.postMessage(null)}}else B0=function(){r0(m,0)};Qv.unstable_IdlePriority=5,Qv.unstable_ImmediatePriority=1,Qv.unstable_LowPriority=4,Qv.unstable_NormalPriority=3,Qv.unstable_Profiling=null,Qv.unstable_UserBlockingPriority=2,Qv.unstable_cancelCallback=function(O){O.callback=null},Qv.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):e0=0<O?Math.floor(1000/O):5},Qv.unstable_getCurrentPriorityLevel=function(){return w0},Qv.unstable_next=function(O){switch(w0){case 1:case 2:case 3:var l=3;break;default:l=w0}var s=w0;w0=l;try{return O()}finally{w0=s}},Qv.unstable_requestPaint=function(){s0=!0},Qv.unstable_runWithPriority=function(O,l){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var s=w0;w0=O;try{return l()}finally{w0=s}},Qv.unstable_scheduleCallback=function(O,l,s){var Y0=Qv.unstable_now();switch(typeof s==="object"&&s!==null?(s=s.delay,s=typeof s==="number"&&0<s?Y0+s:Y0):s=Y0,O){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5000}return A=s+A,O={id:V0++,callback:l,priorityLevel:O,startTime:s,expirationTime:A,sortIndex:-1},s>Y0?(O.sortIndex=s,V(G0,O),u(C)===null&&O===u(G0)&&(X0?(E0(S),S=-1):X0=!0,T(W0,s-Y0))):(O.sortIndex=A,V(C,O),C0||l0||(C0=!0,Tw||(Tw=!0,B0()))),O},Qv.unstable_shouldYield=t,Qv.unstable_wrapCallback=function(O){var l=w0;return function(){var s=w0;w0=l;try{return O.apply(this,arguments)}finally{w0=s}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var g2=ag((qv,C6)=>{(function(){function m($,H){Object.defineProperty(h.prototype,$,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",H[0],H[1])}})}function V($){if($===null||typeof $!=="object")return null;return $=R1&&$[R1]||$["@@iterator"],typeof $==="function"?$:null}function u($,H){$=($=$.constructor)&&($.displayName||$.name)||"ReactClass";var F=$+"."+H;O1[F]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",H,$),O1[F]=!0)}function h($,H,F){this.props=$,this.context=H,this.refs=x2,this.updater=F||z5}function E(){}function n($,H,F){this.props=$,this.context=H,this.refs=x2,this.updater=F||z5}function W0($){return""+$}function t($){try{W0($);var H=!1}catch(D){H=!0}if(H){H=console;var F=H.error,P=typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object";return F.call(H,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),W0($)}}function T($){if($==null)return null;if(typeof $==="function")return $.$$typeof===rg?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case Y0:return"Fragment";case a:return"Profiler";case A:return"StrictMode";case Gw:return"Suspense";case y1:return"SuspenseList";case A1:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case s:return"Portal";case p:return($.displayName||"Context")+".Provider";case U0:return($._context.displayName||"Context")+".Consumer";case ww:var H=$.render;return $=$.displayName,$||($=H.displayName||H.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case O0:return H=$.displayName||null,H!==null?H:T($.type)||"Memo";case p0:H=$._payload,$=$._init;try{return T($(H))}catch(F){}}return null}function m0($){if($===Y0)return"<>";if(typeof $==="object"&&$!==null&&$.$$typeof===p0)return"<...>";try{var H=T($);return H?"<"+H+">":"<...>"}catch(F){return"<...>"}}function K(){var $=b0.A;return $===null?null:$.getOwner()}function J(){return Error("react-stack-top-frame")}function C($){if(eg.call($,"key")){var H=Object.getOwnPropertyDescriptor($,"key").get;if(H&&H.isReactWarning)return!1}return $.key!==void 0}function G0($,H){function F(){N5||(N5=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",H))}F.isReactWarning=!0,Object.defineProperty($,"key",{get:F,configurable:!0})}function V0(){var $=T(this.type);return P2[$]||(P2[$]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),$=this.props.ref,$!==void 0?$:null}function Q0($,H,F,P,D,g0,o,I0){return F=g0.ref,$={$$typeof:l,type:$,key:H,props:g0,_owner:D},(F!==void 0?F:null)!==null?Object.defineProperty($,"ref",{enumerable:!1,get:V0}):Object.defineProperty($,"ref",{enumerable:!1,value:null}),$._store={},Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty($,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty($,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty($,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:I0}),Object.freeze&&(Object.freeze($.props),Object.freeze($)),$}function w0($,H){return H=Q0($.type,H,void 0,void 0,$._owner,$.props,$._debugStack,$._debugTask),$._store&&(H._store.validated=$._store.validated),H}function l0($){return typeof $==="object"&&$!==null&&$.$$typeof===l}function C0($){var H={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(F){return H[F]})}function X0($,H){return typeof $==="object"&&$!==null&&$.key!=null?(t($.key),C0(""+$.key)):H.toString(36)}function s0(){}function r0($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status==="string"?$.then(s0,s0):($.status="pending",$.then(function(H){$.status==="pending"&&($.status="fulfilled",$.value=H)},function(H){$.status==="pending"&&($.status="rejected",$.reason=H)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function E0($,H,F,P,D){var g0=typeof $;if(g0==="undefined"||g0==="boolean")$=null;var o=!1;if($===null)o=!0;else switch(g0){case"bigint":case"string":case"number":o=!0;break;case"object":switch($.$$typeof){case l:case s:o=!0;break;case p0:return o=$._init,E0(o($._payload),H,F,P,D)}}if(o){o=$,D=D(o);var I0=P===""?"."+X0(o,0):P;return f1(D)?(F="",I0!=null&&(F=I0.replace(g4,"$&/")+"/"),E0(D,H,F,"",function(pw){return pw})):D!=null&&(l0(D)&&(D.key!=null&&(o&&o.key===D.key||t(D.key)),F=w0(D,F+(D.key==null||o&&o.key===D.key?"":(""+D.key).replace(g4,"$&/")+"/")+I0),P!==""&&o!=null&&l0(o)&&o.key==null&&o._store&&!o._store.validated&&(F._store.validated=2),D=F),H.push(D)),1}if(o=0,I0=P===""?".":P+":",f1($))for(var N0=0;N0<$.length;N0++)P=$[N0],g0=I0+X0(P,N0),o+=E0(P,H,F,g0,D);else if(N0=V($),typeof N0==="function")for(N0===$.entries&&($5||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$5=!0),$=N0.call($),N0=0;!(P=$.next()).done;)P=P.value,g0=I0+X0(P,N0++),o+=E0(P,H,F,g0,D);else if(g0==="object"){if(typeof $.then==="function")return E0(r0($),H,F,P,D);throw H=String($),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return o}function z0($,H,F){if($==null)return $;var P=[],D=0;return E0($,P,"","",function(g0){return H.call(F,g0,D++)}),P}function Tw($){if($._status===-1){var H=$._result;H=H(),H.then(function(F){if($._status===0||$._status===-1)$._status=1,$._result=F},function(F){if($._status===0||$._status===-1)$._status=2,$._result=F}),$._status===-1&&($._status=0,$._result=H)}if($._status===1)return H=$._result,H===void 0&&console.error(`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?`,H),"default"in H||console.error(`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'))`,H),H.default;throw $._result}function S(){var $=b0.H;return $===null&&console.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:
|
|
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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),$}function e0(){}function A0($){if(F2===null)try{var H=("require"+Math.random()).slice(0,7);F2=(C6&&C6[H]).call(C6,"timers").setImmediate}catch(F){F2=function(P){X5===!1&&(X5=!0,typeof MessageChannel==="undefined"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var D=new MessageChannel;D.port1.onmessage=P,D.port2.postMessage(void 0)}}return F2($)}function B0($){return 1<$.length&&typeof AggregateError==="function"?new AggregateError($):$[0]}function Bw($,H){H!==$g-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),$g=H}function _w($,H,F){var P=b0.actQueue;if(P!==null)if(P.length!==0)try{O(P),A0(function(){return _w($,H,F)});return}catch(D){b0.thrownErrors.push(D)}else b0.actQueue=null;0<b0.thrownErrors.length?(P=B0(b0.thrownErrors),b0.thrownErrors.length=0,F(P)):H($)}function O($){if(!Gg){Gg=!0;var H=0;try{for(;H<$.length;H++){var F=$[H];do{b0.didUsePromise=!1;var P=F(!1);if(P!==null){if(b0.didUsePromise){$[H]=F,$.splice(0,H);return}F=P}else break}while(1)}$.length=0}catch(D){$.splice(0,H+1),b0.thrownErrors.push(D)}finally{Gg=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var l=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),Y0=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),U0=Symbol.for("react.consumer"),p=Symbol.for("react.context"),ww=Symbol.for("react.forward_ref"),Gw=Symbol.for("react.suspense"),y1=Symbol.for("react.suspense_list"),O0=Symbol.for("react.memo"),p0=Symbol.for("react.lazy"),A1=Symbol.for("react.activity"),R1=Symbol.iterator,O1={},z5={isMounted:function(){return!1},enqueueForceUpdate:function($){u($,"forceUpdate")},enqueueReplaceState:function($){u($,"replaceState")},enqueueSetState:function($){u($,"setState")}},B5=Object.assign,x2={};Object.freeze(x2),h.prototype.isReactComponent={},h.prototype.setState=function($,H){if(typeof $!=="object"&&typeof $!=="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,H,"setState")},h.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};var Dw={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)."]},ng;for(ng in Dw)Dw.hasOwnProperty(ng)&&m(ng,Dw[ng]);E.prototype=h.prototype,Dw=n.prototype=new E,Dw.constructor=n,B5(Dw,h.prototype),Dw.isPureReactComponent=!0;var f1=Array.isArray,rg=Symbol.for("react.client.reference"),b0={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},eg=Object.prototype.hasOwnProperty,R5=console.createTask?console.createTask:function(){return null};Dw={react_stack_bottom_frame:function($){return $()}};var N5,w4,P2={},j6=Dw.react_stack_bottom_frame.bind(Dw,J)(),Sx=R5(m0(J)),$5=!1,g4=/\/+/g,G5=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(H))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},X5=!1,F2=null,$g=0,x4=!1,Gg=!1,b2=typeof queueMicrotask==="function"?function($){queueMicrotask(function(){return queueMicrotask($)})}:A0;Dw=Object.freeze({__proto__:null,c:function($){return S().useMemoCache($)}}),qv.Children={map:z0,forEach:function($,H,F){z0($,function(){H.apply(this,arguments)},F)},count:function($){var H=0;return z0($,function(){H++}),H},toArray:function($){return z0($,function(H){return H})||[]},only:function($){if(!l0($))throw Error("React.Children.only expected to receive a single React element child.");return $}},qv.Component=h,qv.Fragment=Y0,qv.Profiler=a,qv.PureComponent=n,qv.StrictMode=A,qv.Suspense=Gw,qv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b0,qv.__COMPILER_RUNTIME=Dw,qv.act=function($){var H=b0.actQueue,F=$g;$g++;var P=b0.actQueue=H!==null?H:[],D=!1;try{var g0=$()}catch(N0){b0.thrownErrors.push(N0)}if(0<b0.thrownErrors.length)throw Bw(H,F),$=B0(b0.thrownErrors),b0.thrownErrors.length=0,$;if(g0!==null&&typeof g0==="object"&&typeof g0.then==="function"){var o=g0;return b2(function(){D||x4||(x4=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(N0,pw){D=!0,o.then(function(K1){if(Bw(H,F),F===0){try{O(P),A0(function(){return _w(K1,N0,pw)})}catch(Ex){b0.thrownErrors.push(Ex)}if(0<b0.thrownErrors.length){var m1=B0(b0.thrownErrors);b0.thrownErrors.length=0,pw(m1)}}else N0(K1)},function(K1){Bw(H,F),0<b0.thrownErrors.length?(K1=B0(b0.thrownErrors),b0.thrownErrors.length=0,pw(K1)):pw(K1)})}}}var I0=g0;if(Bw(H,F),F===0&&(O(P),P.length!==0&&b2(function(){D||x4||(x4=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),b0.actQueue=null),0<b0.thrownErrors.length)throw $=B0(b0.thrownErrors),b0.thrownErrors.length=0,$;return{then:function(N0,pw){D=!0,F===0?(b0.actQueue=P,A0(function(){return _w(I0,N0,pw)})):N0(I0)}}},qv.cache=function($){return function(){return $.apply(null,arguments)}},qv.captureOwnerStack=function(){var $=b0.getCurrentStack;return $===null?null:$()},qv.cloneElement=function($,H,F){if($===null||$===void 0)throw Error("The argument must be a React element, but you passed "+$+".");var P=B5({},$.props),D=$.key,g0=$._owner;if(H!=null){var o;w:{if(eg.call(H,"ref")&&(o=Object.getOwnPropertyDescriptor(H,"ref").get)&&o.isReactWarning){o=!1;break w}o=H.ref!==void 0}o&&(g0=K()),C(H)&&(t(H.key),D=""+H.key);for(I0 in H)!eg.call(H,I0)||I0==="key"||I0==="__self"||I0==="__source"||I0==="ref"&&H.ref===void 0||(P[I0]=H[I0])}var I0=arguments.length-2;if(I0===1)P.children=F;else if(1<I0){o=Array(I0);for(var N0=0;N0<I0;N0++)o[N0]=arguments[N0+2];P.children=o}P=Q0($.type,D,void 0,void 0,g0,P,$._debugStack,$._debugTask);for(D=2;D<arguments.length;D++)g0=arguments[D],l0(g0)&&g0._store&&(g0._store.validated=1);return P},qv.createContext=function($){return $={$$typeof:p,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:U0,_context:$},$._currentRenderer=null,$._currentRenderer2=null,$},qv.createElement=function($,H,F){for(var P=2;P<arguments.length;P++){var D=arguments[P];l0(D)&&D._store&&(D._store.validated=1)}if(P={},D=null,H!=null)for(N0 in w4||!("__self"in H)||"key"in H||(w4=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),C(H)&&(t(H.key),D=""+H.key),H)eg.call(H,N0)&&N0!=="key"&&N0!=="__self"&&N0!=="__source"&&(P[N0]=H[N0]);var g0=arguments.length-2;if(g0===1)P.children=F;else if(1<g0){for(var o=Array(g0),I0=0;I0<g0;I0++)o[I0]=arguments[I0+2];Object.freeze&&Object.freeze(o),P.children=o}if($&&$.defaultProps)for(N0 in g0=$.defaultProps,g0)P[N0]===void 0&&(P[N0]=g0[N0]);D&&G0(P,typeof $==="function"?$.displayName||$.name||"Unknown":$);var N0=1e4>b0.recentlyCreatedOwnerStacks++;return Q0($,D,void 0,void 0,K(),P,N0?Error("react-stack-top-frame"):j6,N0?R5(m0($)):Sx)},qv.createRef=function(){var $={current:null};return Object.seal($),$},qv.forwardRef=function($){$!=null&&$.$$typeof===O0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof $!=="function"?console.error("forwardRef requires a render function but was given %s.",$===null?"null":typeof $):$.length!==0&&$.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",$.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),$!=null&&$.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var H={$$typeof:ww,render:$},F;return Object.defineProperty(H,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(P){F=P,$.name||$.displayName||(Object.defineProperty($,"name",{value:P}),$.displayName=P)}}),H},qv.isValidElement=l0,qv.lazy=function($){return{$$typeof:p0,_payload:{_status:-1,_result:$},_init:Tw}},qv.memo=function($,H){$==null&&console.error("memo: The first argument must be a component. Instead received: %s",$===null?"null":typeof $),H={$$typeof:O0,type:$,compare:H===void 0?null:H};var F;return Object.defineProperty(H,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(P){F=P,$.name||$.displayName||(Object.defineProperty($,"name",{value:P}),$.displayName=P)}}),H},qv.startTransition=function($){var H=b0.T,F={};b0.T=F,F._updatedFibers=new Set;try{var P=$(),D=b0.S;D!==null&&D(F,P),typeof P==="object"&&P!==null&&typeof P.then==="function"&&P.then(e0,G5)}catch(g0){G5(g0)}finally{H===null&&F._updatedFibers&&($=F._updatedFibers.size,F._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),b0.T=H}},qv.unstable_useCacheRefresh=function(){return S().useCacheRefresh()},qv.use=function($){return S().use($)},qv.useActionState=function($,H,F){return S().useActionState($,H,F)},qv.useCallback=function($,H){return S().useCallback($,H)},qv.useContext=function($){var H=S();return $.$$typeof===U0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),H.useContext($)},qv.useDebugValue=function($,H){return S().useDebugValue($,H)},qv.useDeferredValue=function($,H){return S().useDeferredValue($,H)},qv.useEffect=function($,H,F){$==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var P=S();if(typeof F==="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return P.useEffect($,H)},qv.useId=function(){return S().useId()},qv.useImperativeHandle=function($,H,F){return S().useImperativeHandle($,H,F)},qv.useInsertionEffect=function($,H){return $==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),S().useInsertionEffect($,H)},qv.useLayoutEffect=function($,H){return $==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),S().useLayoutEffect($,H)},qv.useMemo=function($,H){return S().useMemo($,H)},qv.useOptimistic=function($,H){return S().useOptimistic($,H)},qv.useReducer=function($,H,F){return S().useReducer($,H,F)},qv.useRef=function($){return S().useRef($)},qv.useState=function($){return S().useState($)},qv.useSyncExternalStore=function($,H,F){return S().useSyncExternalStore($,H,F)},qv.useTransition=function(){return S().useTransition()},qv.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var QG=ag((Lv)=>{var x7=K0(g2(),1);(function(){function m(){}function V(K){return""+K}function u(K,J,C){var G0=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{V(G0);var V0=!1}catch(Q0){V0=!0}return V0&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&G0[Symbol.toStringTag]||G0.constructor.name||"Object"),V(G0)),{$$typeof:T,key:G0==null?null:""+G0,children:K,containerInfo:J,implementation:C}}function h(K,J){if(K==="font")return"";if(typeof J==="string")return J==="use-credentials"?J:""}function E(K){return K===null?"`null`":K===void 0?"`undefined`":K===""?"an empty string":'something with type "'+typeof K+'"'}function n(K){return K===null?"`null`":K===void 0?"`undefined`":K===""?"an empty string":typeof K==="string"?JSON.stringify(K):typeof K==="number"?"`"+K+"`":'something with type "'+typeof K+'"'}function W0(){var K=m0.H;return K===null&&console.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:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),K}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t={d:{f:m,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:m,C:m,L:m,m,X:m,S:m,M:m},p:0,findDOMNode:null},T=Symbol.for("react.portal"),m0=x7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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"||console.error("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"),Lv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Lv.createPortal=function(K,J){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!J||J.nodeType!==1&&J.nodeType!==9&&J.nodeType!==11)throw Error("Target container is not a DOM element.");return u(K,J,null,C)},Lv.flushSync=function(K){var J=m0.T,C=t.p;try{if(m0.T=null,t.p=2,K)return K()}finally{m0.T=J,t.p=C,t.d.f()&&console.error("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.")}},Lv.preconnect=function(K,J){typeof K==="string"&&K?J!=null&&typeof J!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",n(J)):J!=null&&typeof J.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",E(J.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(K)),typeof K==="string"&&(J?(J=J.crossOrigin,J=typeof J==="string"?J==="use-credentials"?J:"":void 0):J=null,t.d.C(K,J))},Lv.prefetchDNS=function(K){if(typeof K!=="string"||!K)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(K));else if(1<arguments.length){var J=arguments[1];typeof J==="object"&&J.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",n(J)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",n(J))}typeof K==="string"&&t.d.D(K)},Lv.preinit=function(K,J){if(typeof K==="string"&&K?J==null||typeof J!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",n(J)):J.as!=="style"&&J.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',n(J.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",E(K)),typeof K==="string"&&J&&typeof J.as==="string"){var C=J.as,G0=h(C,J.crossOrigin),V0=typeof J.integrity==="string"?J.integrity:void 0,Q0=typeof J.fetchPriority==="string"?J.fetchPriority:void 0;C==="style"?t.d.S(K,typeof J.precedence==="string"?J.precedence:void 0,{crossOrigin:G0,integrity:V0,fetchPriority:Q0}):C==="script"&&t.d.X(K,{crossOrigin:G0,integrity:V0,fetchPriority:Q0,nonce:typeof J.nonce==="string"?J.nonce:void 0})}},Lv.preinitModule=function(K,J){var C="";if(typeof K==="string"&&K||(C+=" The `href` argument encountered was "+E(K)+"."),J!==void 0&&typeof J!=="object"?C+=" The `options` argument encountered was "+E(J)+".":J&&("as"in J)&&J.as!=="script"&&(C+=" The `as` option encountered was "+n(J.as)+"."),C)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",C);else switch(C=J&&typeof J.as==="string"?J.as:"script",C){case"script":break;default:C=n(C),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',C,K)}if(typeof K==="string")if(typeof J==="object"&&J!==null){if(J.as==null||J.as==="script")C=h(J.as,J.crossOrigin),t.d.M(K,{crossOrigin:C,integrity:typeof J.integrity==="string"?J.integrity:void 0,nonce:typeof J.nonce==="string"?J.nonce:void 0})}else J==null&&t.d.M(K)},Lv.preload=function(K,J){var C="";if(typeof K==="string"&&K||(C+=" The `href` argument encountered was "+E(K)+"."),J==null||typeof J!=="object"?C+=" The `options` argument encountered was "+E(J)+".":typeof J.as==="string"&&J.as||(C+=" The `as` option encountered was "+E(J.as)+"."),C&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',C),typeof K==="string"&&typeof J==="object"&&J!==null&&typeof J.as==="string"){C=J.as;var G0=h(C,J.crossOrigin);t.d.L(K,C,{crossOrigin:G0,integrity:typeof J.integrity==="string"?J.integrity:void 0,nonce:typeof J.nonce==="string"?J.nonce:void 0,type:typeof J.type==="string"?J.type:void 0,fetchPriority:typeof J.fetchPriority==="string"?J.fetchPriority:void 0,referrerPolicy:typeof J.referrerPolicy==="string"?J.referrerPolicy:void 0,imageSrcSet:typeof J.imageSrcSet==="string"?J.imageSrcSet:void 0,imageSizes:typeof J.imageSizes==="string"?J.imageSizes:void 0,media:typeof J.media==="string"?J.media:void 0})}},Lv.preloadModule=function(K,J){var C="";typeof K==="string"&&K||(C+=" The `href` argument encountered was "+E(K)+"."),J!==void 0&&typeof J!=="object"?C+=" The `options` argument encountered was "+E(J)+".":J&&("as"in J)&&typeof J.as!=="string"&&(C+=" The `as` option encountered was "+E(J.as)+"."),C&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',C),typeof K==="string"&&(J?(C=h(J.as,J.crossOrigin),t.d.m(K,{as:typeof J.as==="string"&&J.as!=="script"?J.as:void 0,crossOrigin:C,integrity:typeof J.integrity==="string"?J.integrity:void 0})):t.d.m(K))},Lv.requestFormReset=function(K){t.d.r(K)},Lv.unstable_batchedUpdates=function(K,J){return K(J)},Lv.useFormState=function(K,J,C){return W0().useFormState(K,J,C)},Lv.useFormStatus=function(){return W0().useHostTransitionStatus()},Lv.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var LG=ag((cH,qG)=>{var Iv=K0(QG(),1);qG.exports=Iv});var IG=ag((Wv)=>{var L0=K0(UG(),1),b5=K0(g2(),1),b7=K0(LG(),1);(function(){function m(w,g){for(w=w.memoizedState;w!==null&&0<g;)w=w.next,g--;return w}function V(w,g,x,b){if(x>=g.length)return b;var z=g[x],B=Lw(w)?w.slice():$0({},w);return B[z]=V(w[z],g,x+1,b),B}function u(w,g,x){if(g.length!==x.length)console.warn("copyWithRename() expects paths of the same length");else{for(var b=0;b<x.length-1;b++)if(g[b]!==x[b]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return h(w,g,x,0)}}function h(w,g,x,b){var z=g[b],B=Lw(w)?w.slice():$0({},w);return b+1===g.length?(B[x[b]]=B[z],Lw(B)?B.splice(z,1):delete B[z]):B[z]=h(w[z],g,x,b+1),B}function E(w,g,x){var b=g[x],z=Lw(w)?w.slice():$0({},w);if(x+1===g.length)return Lw(z)?z.splice(b,1):delete z[b],z;return z[b]=E(w[b],g,x+1),z}function n(){return!1}function W0(){return null}function t(){}function T(){console.error("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://react.dev/link/rules-of-hooks")}function m0(){console.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().")}function K(){}function J(w){var g=[];return w.forEach(function(x){g.push(x)}),g.sort().join(", ")}function C(w,g,x,b){return new vX(w,g,x,b)}function G0(w,g){w.context===t2&&(Fb(w.current,2,g,w,null,null),v4())}function V0(w,g){if(v1!==null){var x=g.staleFamilies;g=g.updatedFamilies,y5(),p6(w.current,g,x),v4()}}function Q0(w){v1=w}function w0(w){return!(!w||w.nodeType!==1&&w.nodeType!==9&&w.nodeType!==11)}function l0(w){var g=w,x=w;if(w.alternate)for(;g.return;)g=g.return;else{w=g;do g=w,(g.flags&4098)!==0&&(x=g.return),w=g.return;while(w)}return g.tag===3?x:null}function C0(w){if(w.tag===13){var g=w.memoizedState;if(g===null&&(w=w.alternate,w!==null&&(g=w.memoizedState)),g!==null)return g.dehydrated}return null}function X0(w){if(l0(w)!==w)throw Error("Unable to find node on an unmounted component.")}function s0(w){var g=w.alternate;if(!g){if(g=l0(w),g===null)throw Error("Unable to find node on an unmounted component.");return g!==w?null:w}for(var x=w,b=g;;){var z=x.return;if(z===null)break;var B=z.alternate;if(B===null){if(b=z.return,b!==null){x=b;continue}break}if(z.child===B.child){for(B=z.child;B;){if(B===x)return X0(z),w;if(B===b)return X0(z),g;B=B.sibling}throw Error("Unable to find node on an unmounted component.")}if(x.return!==b.return)x=z,b=B;else{for(var R=!1,N=z.child;N;){if(N===x){R=!0,x=z,b=B;break}if(N===b){R=!0,b=z,x=B;break}N=N.sibling}if(!R){for(N=B.child;N;){if(N===x){R=!0,x=B,b=z;break}if(N===b){R=!0,b=B,x=z;break}N=N.sibling}if(!R)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!==b)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!==3)throw Error("Unable to find node on an unmounted component.");return x.stateNode.current===x?w:g}function r0(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w;for(w=w.child;w!==null;){if(g=r0(w),g!==null)return g;w=w.sibling}return null}function E0(w){if(w===null||typeof w!=="object")return null;return w=VR&&w[VR]||w["@@iterator"],typeof w==="function"?w:null}function z0(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===PZ?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case L4:return"Fragment";case Eb:return"Profiler";case y3:return"StrictMode";case fb:return"Suspense";case Vb:return"SuspenseList";case Db:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case q4:return"Portal";case t1:return(w.displayName||"Context")+".Provider";case yb:return(w._context.displayName||"Context")+".Consumer";case t5:var g=w.render;return w=w.displayName,w||(w=g.displayName||g.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case f3:return g=w.displayName||null,g!==null?g:z0(w.type)||"Memo";case w1:g=w._payload,w=w._init;try{return z0(w(g))}catch(x){}}return null}function Tw(w){return typeof w.tag==="number"?S(w):typeof w.name==="string"?w.name:null}function S(w){var g=w.type;switch(w.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(g._context.displayName||"Context")+".Consumer";case 10:return(g.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return w=g.render,w=w.displayName||w.name||"",g.displayName||(w!==""?"ForwardRef("+w+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return g;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z0(g);case 8:return g===y3?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof g==="function")return g.displayName||g.name||null;if(typeof g==="string")return g;break;case 29:if(g=w._debugInfo,g!=null){for(var x=g.length-1;0<=x;x--)if(typeof g[x].name==="string")return g[x].name}if(w.return!==null)return S(w.return)}return null}function e0(w){return{current:w}}function A0(w,g){0>v2?console.error("Unexpected pop."):(g!==ub[v2]&&console.error("Unexpected Fiber popped."),w.current=kb[v2],kb[v2]=null,ub[v2]=null,v2--)}function B0(w,g,x){v2++,kb[v2]=w.current,ub[v2]=x,w.current=g}function Bw(w){return w===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),w}function _w(w,g){B0(u2,g,w),B0(a5,w,w),B0(k2,null,w);var x=g.nodeType;switch(x){case 9:case 11:x=x===9?"#document":"#fragment",g=(g=g.documentElement)?(g=g.namespaceURI)?YR(g):O2:O2;break;default:if(x=g.tagName,g=g.namespaceURI)g=YR(g),g=vR(g,x);else switch(x){case"svg":g=g5;break;case"math":g=A6;break;default:g=O2}}x=x.toLowerCase(),x=W7(null,x),x={context:g,ancestorInfo:x},A0(k2,w),B0(k2,x,w)}function O(w){A0(k2,w),A0(a5,w),A0(u2,w)}function l(){return Bw(k2.current)}function s(w){w.memoizedState!==null&&B0(V3,w,w);var g=Bw(k2.current),x=w.type,b=vR(g.context,x);x=W7(g.ancestorInfo,x),b={context:b,ancestorInfo:x},g!==b&&(B0(a5,w,w),B0(k2,b,w))}function Y0(w){a5.current===w&&(A0(k2,w),A0(a5,w)),V3.current===w&&(A0(V3,w),Cx._currentValue=tg)}function A(w){return typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"}function a(w){try{return U0(w),!1}catch(g){return!0}}function U0(w){return""+w}function p(w,g){if(a(w))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",g,A(w)),U0(w)}function ww(w,g){if(a(w))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",g,A(w)),U0(w)}function Gw(w){if(a(w))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",A(w)),U0(w)}function y1(w){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined")return!1;var g=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(g.isDisabled)return!0;if(!g.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{W4=g.inject(w),Pw=g}catch(x){console.error("React instrumentation encountered an error: %s.",x)}return g.checkDCE?!0:!1}function O0(w){if(typeof EZ==="function"&&yZ(w),Pw&&typeof Pw.setStrictMode==="function")try{Pw.setStrictMode(W4,w)}catch(g){c1||(c1=!0,console.error("React instrumentation encountered an error: %s",g))}}function p0(w){j=w}function A1(){j!==null&&typeof j.markCommitStopped==="function"&&j.markCommitStopped()}function R1(w){j!==null&&typeof j.markComponentRenderStarted==="function"&&j.markComponentRenderStarted(w)}function O1(){j!==null&&typeof j.markComponentRenderStopped==="function"&&j.markComponentRenderStopped()}function z5(w){j!==null&&typeof j.markRenderStarted==="function"&&j.markRenderStarted(w)}function B5(){j!==null&&typeof j.markRenderStopped==="function"&&j.markRenderStopped()}function x2(w,g){j!==null&&typeof j.markStateUpdateScheduled==="function"&&j.markStateUpdateScheduled(w,g)}function Dw(w){return w>>>=0,w===0?32:31-(fZ(w)/VZ|0)|0}function ng(w){if(w&1)return"SyncHydrationLane";if(w&2)return"Sync";if(w&4)return"InputContinuousHydration";if(w&8)return"InputContinuous";if(w&16)return"DefaultHydration";if(w&32)return"Default";if(w&128)return"TransitionHydration";if(w&4194048)return"Transition";if(w&62914560)return"Retry";if(w&67108864)return"SelectiveHydration";if(w&134217728)return"IdleHydration";if(w&268435456)return"Idle";if(w&536870912)return"Offscreen";if(w&1073741824)return"Deferred"}function f1(w){var g=w&42;if(g!==0)return g;switch(w&-w){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return w&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return w&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),w}}function rg(w,g,x){var b=w.pendingLanes;if(b===0)return 0;var z=0,B=w.suspendedLanes,R=w.pingedLanes;w=w.warmLanes;var N=b&134217727;return N!==0?(b=N&~B,b!==0?z=f1(b):(R&=N,R!==0?z=f1(R):x||(x=N&~w,x!==0&&(z=f1(x))))):(N=b&~B,N!==0?z=f1(N):R!==0?z=f1(R):x||(x=b&~w,x!==0&&(z=f1(x)))),z===0?0:g!==0&&g!==z&&(g&B)===0&&(B=z&-z,x=g&-g,B>=x||B===32&&(x&4194048)!==0)?g:z}function b0(w,g){return(w.pendingLanes&~(w.suspendedLanes&~w.pingedLanes)&g)===0}function eg(w,g){switch(w){case 1:case 2:case 4:case 8:case 64:return g+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return g+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function R5(){var w=D3;return D3<<=1,(D3&4194048)===0&&(D3=256),w}function N5(){var w=k3;return k3<<=1,(k3&62914560)===0&&(k3=4194304),w}function w4(w){for(var g=[],x=0;31>x;x++)g.push(w);return g}function P2(w,g){w.pendingLanes|=g,g!==268435456&&(w.suspendedLanes=0,w.pingedLanes=0,w.warmLanes=0)}function j6(w,g,x,b,z,B){var R=w.pendingLanes;w.pendingLanes=x,w.suspendedLanes=0,w.pingedLanes=0,w.warmLanes=0,w.expiredLanes&=x,w.entangledLanes&=x,w.errorRecoveryDisabledLanes&=x,w.shellSuspendCounter=0;var{entanglements:N,expirationTimes:G,hiddenUpdates:X}=w;for(x=R&~x;0<x;){var U=31-dw(x),L=1<<U;N[U]=0,G[U]=-1;var M=X[U];if(M!==null)for(X[U]=null,U=0;U<M.length;U++){var I=M[U];I!==null&&(I.lane&=-536870913)}x&=~L}b!==0&&Sx(w,b,0),B!==0&&z===0&&w.tag!==0&&(w.suspendedLanes|=B&~(R&~g))}function Sx(w,g,x){w.pendingLanes|=g,w.suspendedLanes&=~g;var b=31-dw(g);w.entangledLanes|=g,w.entanglements[b]=w.entanglements[b]|1073741824|x&4194090}function $5(w,g){var x=w.entangledLanes|=g;for(w=w.entanglements;x;){var b=31-dw(x),z=1<<b;z&g|w[b]&g&&(w[b]|=g),x&=~z}}function g4(w){switch(w){case 2:w=1;break;case 8:w=4;break;case 32:w=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:w=128;break;case 268435456:w=134217728;break;default:w=0}return w}function G5(w,g,x){if(F1)for(w=w.pendingUpdatersLaneMap;0<x;){var b=31-dw(x),z=1<<b;w[b].add(g),x&=~z}}function X5(w,g){if(F1)for(var{pendingUpdatersLaneMap:x,memoizedUpdaters:b}=w;0<g;){var z=31-dw(g);w=1<<z,z=x[z],0<z.size&&(z.forEach(function(B){var R=B.alternate;R!==null&&b.has(R)||b.add(B)}),z.clear()),g&=~w}}function F2(w){return w&=-w,g1!==0&&g1<w?C1!==0&&C1<w?(w&134217727)!==0?p1:u3:C1:g1}function $g(){var w=_0.p;if(w!==0)return w;return w=window.event,w===void 0?p1:dR(w.type)}function x4(w,g){var x=_0.p;try{return _0.p=w,g()}finally{_0.p=x}}function Gg(w){delete w[Fw],delete w[sw],delete w[ab],delete w[DZ],delete w[kZ]}function b2(w){var g=w[Fw];if(g)return g;for(var x=w.parentNode;x;){if(g=x[l2]||x[Fw]){if(x=g.alternate,g.child!==null||x!==null&&x.child!==null)for(w=qR(w);w!==null;){if(x=w[Fw])return x;w=qR(w)}return g}w=x,x=w.parentNode}return null}function $(w){if(w=w[Fw]||w[l2]){var g=w.tag;if(g===5||g===6||g===13||g===26||g===27||g===3)return w}return null}function H(w){var g=w.tag;if(g===5||g===26||g===27||g===6)return w.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function F(w){var g=w[DR];return g||(g=w[DR]={hoistableStyles:new Map,hoistableScripts:new Map}),g}function P(w){w[c5]=!0}function D(w,g){g0(w,g),g0(w+"Capture",g)}function g0(w,g){mg[w]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",w),mg[w]=g;var x=w.toLowerCase();cb[x]=w,w==="onDoubleClick"&&(cb.ondblclick=w);for(w=0;w<g.length;w++)kR.add(g[w])}function o(w,g){uZ[g.type]||g.onChange||g.onInput||g.readOnly||g.disabled||g.value==null||(w==="select"?console.error("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 `onChange`."):console.error("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`.")),g.onChange||g.readOnly||g.disabled||g.checked==null||console.error("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 I0(w){if(H2.call(hR,w))return!0;if(H2.call(uR,w))return!1;if(hZ.test(w))return hR[w]=!0;return uR[w]=!0,console.error("Invalid attribute name: `%s`",w),!1}function N0(w,g,x){if(I0(g)){if(!w.hasAttribute(g)){switch(typeof x){case"symbol":case"object":return x;case"function":return x;case"boolean":if(x===!1)return x}return x===void 0?void 0:null}if(w=w.getAttribute(g),w===""&&x===!0)return!0;return p(x,g),w===""+x?x:w}}function pw(w,g,x){if(I0(g))if(x===null)w.removeAttribute(g);else{switch(typeof x){case"undefined":case"function":case"symbol":w.removeAttribute(g);return;case"boolean":var b=g.toLowerCase().slice(0,5);if(b!=="data-"&&b!=="aria-"){w.removeAttribute(g);return}}p(x,g),w.setAttribute(g,""+x)}}function K1(w,g,x){if(x===null)w.removeAttribute(g);else{switch(typeof x){case"undefined":case"function":case"symbol":case"boolean":w.removeAttribute(g);return}p(x,g),w.setAttribute(g,""+x)}}function m1(w,g,x,b){if(b===null)w.removeAttribute(x);else{switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":w.removeAttribute(x);return}p(b,x),w.setAttributeNS(g,x,""+b)}}function Ex(){}function sG(){if(p5===0){lR=console.log,sR=console.info,tR=console.warn,aR=console.error,cR=console.group,pR=console.groupCollapsed,oR=console.groupEnd;var w={configurable:!0,enumerable:!0,value:Ex,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}p5++}function tG(){if(p5--,p5===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$0({},w,{value:lR}),info:$0({},w,{value:sR}),warn:$0({},w,{value:tR}),error:$0({},w,{value:aR}),group:$0({},w,{value:cR}),groupCollapsed:$0({},w,{value:pR}),groupEnd:$0({},w,{value:oR})})}0>p5&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function N1(w){if(pb===void 0)try{throw Error()}catch(x){var g=x.stack.trim().match(/\n( *(at )?)/);pb=g&&g[1]||"",iR=-1<x.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+pb+w+iR}function S6(w,g){if(!w||ob)return"";var x=ib.get(w);if(x!==void 0)return x;ob=!0,x=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var b=null;b=q.H,q.H=null,sG();try{var z={DetermineComponentFrameRoot:function(){try{if(g){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(y){var I=y}Reflect.construct(w,[],M)}else{try{M.call()}catch(y){I=y}w.call(M.prototype)}}else{try{throw Error()}catch(y){I=y}(M=w())&&typeof M.catch==="function"&&M.catch(function(){})}}catch(y){if(y&&I&&typeof y.stack==="string")return[y.stack,I.stack]}return[null,null]}};z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(z.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var R=z.DetermineComponentFrameRoot(),N=R[0],G=R[1];if(N&&G){var X=N.split(`
|
|
20
|
+
`),U=G.split(`
|
|
21
|
+
`);for(R=B=0;B<X.length&&!X[B].includes("DetermineComponentFrameRoot");)B++;for(;R<U.length&&!U[R].includes("DetermineComponentFrameRoot");)R++;if(B===X.length||R===U.length)for(B=X.length-1,R=U.length-1;1<=B&&0<=R&&X[B]!==U[R];)R--;for(;1<=B&&0<=R;B--,R--)if(X[B]!==U[R]){if(B!==1||R!==1)do if(B--,R--,0>R||X[B]!==U[R]){var L=`
|
|
22
|
+
`+X[B].replace(" at new "," at ");return w.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",w.displayName)),typeof w==="function"&&ib.set(w,L),L}while(1<=B&&0<=R);break}}}finally{ob=!1,q.H=b,tG(),Error.prepareStackTrace=x}return X=(X=w?w.displayName||w.name:"")?N1(X):"",typeof w==="function"&&ib.set(w,X),X}function B7(w){var g=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,w=w.stack,Error.prepareStackTrace=g,w.startsWith(`Error: react-stack-top-frame
|
|
23
|
+
`)&&(w=w.slice(29)),g=w.indexOf(`
|
|
24
|
+
`),g!==-1&&(w=w.slice(g+1)),g=w.indexOf("react_stack_bottom_frame"),g!==-1&&(g=w.lastIndexOf(`
|
|
25
|
+
`,g)),g!==-1)w=w.slice(0,g);else return"";return w}function aG(w){switch(w.tag){case 26:case 27:case 5:return N1(w.type);case 16:return N1("Lazy");case 13:return N1("Suspense");case 19:return N1("SuspenseList");case 0:case 15:return S6(w.type,!1);case 11:return S6(w.type.render,!1);case 1:return S6(w.type,!0);case 31:return N1("Activity");default:return""}}function R7(w){try{var g="";do{g+=aG(w);var x=w._debugInfo;if(x)for(var b=x.length-1;0<=b;b--){var z=x[b];if(typeof z.name==="string"){var B=g,R=z.env,N=N1(z.name+(R?" ["+R+"]":""));g=B+N}}w=w.return}while(w);return g}catch(G){return`
|
|
26
|
+
Error generating stack: `+G.message+`
|
|
27
|
+
`+G.stack}}function N7(w){return(w=w?w.displayName||w.name:"")?N1(w):""}function yx(){if(x1===null)return null;var w=x1._debugOwner;return w!=null?Tw(w):null}function cG(){if(x1===null)return"";var w=x1;try{var g="";switch(w.tag===6&&(w=w.return),w.tag){case 26:case 27:case 5:g+=N1(w.type);break;case 13:g+=N1("Suspense");break;case 19:g+=N1("SuspenseList");break;case 31:g+=N1("Activity");break;case 30:case 0:case 15:case 1:w._debugOwner||g!==""||(g+=N7(w.type));break;case 11:w._debugOwner||g!==""||(g+=N7(w.type.render))}for(;w;)if(typeof w.tag==="number"){var x=w;w=x._debugOwner;var b=x._debugStack;w&&b&&(typeof b!=="string"&&(x._debugStack=b=B7(b)),b!==""&&(g+=`
|
|
28
|
+
`+b))}else if(w.debugStack!=null){var z=w.debugStack;(w=w.owner)&&z&&(g+=`
|
|
29
|
+
`+B7(z))}else break;var B=g}catch(R){B=`
|
|
30
|
+
Error generating stack: `+R.message+`
|
|
31
|
+
`+R.stack}return B}function k(w,g,x,b,z,B,R){var N=x1;E6(w);try{return w!==null&&w._debugTask?w._debugTask.run(g.bind(null,x,b,z,B,R)):g(x,b,z,B,R)}finally{E6(N)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function E6(w){q.getCurrentStack=w===null?null:cG,o1=!1,x1=w}function $1(w){switch(typeof w){case"bigint":case"boolean":case"number":case"string":case"undefined":return w;case"object":return Gw(w),w;default:return""}}function $7(w){var g=w.type;return(w=w.nodeName)&&w.toLowerCase()==="input"&&(g==="checkbox"||g==="radio")}function pG(w){var g=$7(w)?"checked":"value",x=Object.getOwnPropertyDescriptor(w.constructor.prototype,g);Gw(w[g]);var b=""+w[g];if(!w.hasOwnProperty(g)&&typeof x!=="undefined"&&typeof x.get==="function"&&typeof x.set==="function"){var{get:z,set:B}=x;return Object.defineProperty(w,g,{configurable:!0,get:function(){return z.call(this)},set:function(R){Gw(R),b=""+R,B.call(this,R)}}),Object.defineProperty(w,g,{enumerable:x.enumerable}),{getValue:function(){return b},setValue:function(R){Gw(R),b=""+R},stopTracking:function(){w._valueTracker=null,delete w[g]}}}}function fx(w){w._valueTracker||(w._valueTracker=pG(w))}function G7(w){if(!w)return!1;var g=w._valueTracker;if(!g)return!0;var x=g.getValue(),b="";return w&&(b=$7(w)?w.checked?"true":"false":w.value),w=b,w!==x?(g.setValue(w),!0):!1}function Vx(w){if(w=w||(typeof document!=="undefined"?document:void 0),typeof w==="undefined")return null;try{return w.activeElement||w.body}catch(g){return w.body}}function G1(w){return w.replace(lZ,function(g){return"\\"+g.charCodeAt(0).toString(16)+" "})}function X7(w,g){g.checked===void 0||g.defaultChecked===void 0||rR||(console.error("%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://react.dev/link/controlled-components",yx()||"A component",g.type),rR=!0),g.value===void 0||g.defaultValue===void 0||nR||(console.error("%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://react.dev/link/controlled-components",yx()||"A component",g.type),nR=!0)}function y6(w,g,x,b,z,B,R,N){if(w.name="",R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"?(p(R,"type"),w.type=R):w.removeAttribute("type"),g!=null)if(R==="number"){if(g===0&&w.value===""||w.value!=g)w.value=""+$1(g)}else w.value!==""+$1(g)&&(w.value=""+$1(g));else R!=="submit"&&R!=="reset"||w.removeAttribute("value");g!=null?f6(w,R,$1(g)):x!=null?f6(w,R,$1(x)):b!=null&&w.removeAttribute("value"),z==null&&B!=null&&(w.defaultChecked=!!B),z!=null&&(w.checked=z&&typeof z!=="function"&&typeof z!=="symbol"),N!=null&&typeof N!=="function"&&typeof N!=="symbol"&&typeof N!=="boolean"?(p(N,"name"),w.name=""+$1(N)):w.removeAttribute("name")}function Z7(w,g,x,b,z,B,R,N){if(B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(p(B,"type"),w.type=B),g!=null||x!=null){if(!(B!=="submit"&&B!=="reset"||g!==void 0&&g!==null))return;x=x!=null?""+$1(x):"",g=g!=null?""+$1(g):x,N||g===w.value||(w.value=g),w.defaultValue=g}b=b!=null?b:z,b=typeof b!=="function"&&typeof b!=="symbol"&&!!b,w.checked=N?w.checked:!!b,w.defaultChecked=!!b,R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"&&(p(R,"name"),w.name=R)}function f6(w,g,x){g==="number"&&Vx(w.ownerDocument)===w||w.defaultValue===""+x||(w.defaultValue=""+x)}function Y7(w,g){g.value==null&&(typeof g.children==="object"&&g.children!==null?b5.Children.forEach(g.children,function(x){x==null||typeof x==="string"||typeof x==="number"||typeof x==="bigint"||wN||(wN=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):g.dangerouslySetInnerHTML==null||gN||(gN=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),g.selected==null||eR||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),eR=!0)}function v7(){var w=yx();return w?`
|
|
32
|
+
|
|
33
|
+
Check the render method of \``+w+"`.":""}function b4(w,g,x,b){if(w=w.options,g){g={};for(var z=0;z<x.length;z++)g["$"+x[z]]=!0;for(x=0;x<w.length;x++)z=g.hasOwnProperty("$"+w[x].value),w[x].selected!==z&&(w[x].selected=z),z&&b&&(w[x].defaultSelected=!0)}else{x=""+$1(x),g=null;for(z=0;z<w.length;z++){if(w[z].value===x){w[z].selected=!0,b&&(w[z].defaultSelected=!0);return}g!==null||w[z].disabled||(g=w[z])}g!==null&&(g.selected=!0)}}function H7(w,g){for(w=0;w<bN.length;w++){var x=bN[w];if(g[x]!=null){var b=Lw(g[x]);g.multiple&&!b?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",x,v7()):!g.multiple&&b&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",x,v7())}}g.value===void 0||g.defaultValue===void 0||xN||(console.error("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://react.dev/link/controlled-components"),xN=!0)}function M7(w,g){g.value===void 0||g.defaultValue===void 0||zN||(console.error("%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://react.dev/link/controlled-components",yx()||"A component"),zN=!0),g.children!=null&&g.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function J7(w,g,x){if(g!=null&&(g=""+$1(g),g!==w.value&&(w.value=g),x==null)){w.defaultValue!==g&&(w.defaultValue=g);return}w.defaultValue=x!=null?""+$1(x):""}function U7(w,g,x,b){if(g==null){if(b!=null){if(x!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Lw(b)){if(1<b.length)throw Error("<textarea> can only have at most one child.");b=b[0]}x=b}x==null&&(x=""),g=x}x=$1(g),w.defaultValue=x,b=w.textContent,b===x&&b!==""&&b!==null&&(w.value=b)}function Q7(w,g){return w.serverProps===void 0&&w.serverTail.length===0&&w.children.length===1&&3<w.distanceFromLeaf&&w.distanceFromLeaf>15-g?Q7(w.children[0],g):w}function ow(w){return" "+" ".repeat(w)}function z4(w){return"+ "+" ".repeat(w)}function Xg(w){return"- "+" ".repeat(w)}function q7(w){switch(w.tag){case 26:case 27:case 5:return w.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return w=w.type,w.displayName||w.name||null;case 11:return w=w.type.render,w.displayName||w.name||null;case 1:return w=w.type,w.displayName||w.name||null;default:return null}}function Z5(w,g){return BN.test(w)?(w=JSON.stringify(w),w.length>g-2?8>g?'{"..."}':"{"+w.slice(0,g-7)+'..."}':"{"+w+"}"):w.length>g?5>g?'{"..."}':w.slice(0,g-3)+"...":w}function Dx(w,g,x){var b=120-2*x;if(g===null)return z4(x)+Z5(w,b)+`
|
|
34
|
+
`;if(typeof g==="string"){for(var z=0;z<g.length&&z<w.length&&g.charCodeAt(z)===w.charCodeAt(z);z++);return z>b-8&&10<z&&(w="..."+w.slice(z-8),g="..."+g.slice(z-8)),z4(x)+Z5(w,b)+`
|
|
35
|
+
`+Xg(x)+Z5(g,b)+`
|
|
36
|
+
`}return ow(x)+Z5(w,b)+`
|
|
37
|
+
`}function V6(w){return Object.prototype.toString.call(w).replace(/^\[object (.*)\]$/,function(g,x){return x})}function Y5(w,g){switch(typeof w){case"string":return w=JSON.stringify(w),w.length>g?5>g?'"..."':w.slice(0,g-4)+'..."':w;case"object":if(w===null)return"null";if(Lw(w))return"[...]";if(w.$$typeof===D2)return(g=z0(w.type))?"<"+g+">":"<...>";var x=V6(w);if(x==="Object"){x="",g-=2;for(var b in w)if(w.hasOwnProperty(b)){var z=JSON.stringify(b);if(z!=='"'+b+'"'&&(b=z),g-=b.length-2,z=Y5(w[b],15>g?g:15),g-=z.length,0>g){x+=x===""?"...":", ...";break}x+=(x===""?"":",")+b+":"+z}return"{"+x+"}"}return x;case"function":return(g=w.displayName||w.name)?"function "+g:"function";default:return String(w)}}function B4(w,g){return typeof w!=="string"||BN.test(w)?"{"+Y5(w,g-2)+"}":w.length>g-2?5>g?'"..."':'"'+w.slice(0,g-5)+'..."':'"'+w+'"'}function D6(w,g,x){var b=120-x.length-w.length,z=[],B;for(B in g)if(g.hasOwnProperty(B)&&B!=="children"){var R=B4(g[B],120-x.length-B.length-1);b-=B.length+R.length+2,z.push(B+"="+R)}return z.length===0?x+"<"+w+`>
|
|
38
|
+
`:0<b?x+"<"+w+" "+z.join(" ")+`>
|
|
39
|
+
`:x+"<"+w+`
|
|
40
|
+
`+x+" "+z.join(`
|
|
41
|
+
`+x+" ")+`
|
|
42
|
+
`+x+`>
|
|
43
|
+
`}function oG(w,g,x){var b="",z=$0({},g),B;for(B in w)if(w.hasOwnProperty(B)){delete z[B];var R=120-2*x-B.length-2,N=Y5(w[B],R);g.hasOwnProperty(B)?(R=Y5(g[B],R),b+=z4(x)+B+": "+N+`
|
|
44
|
+
`,b+=Xg(x)+B+": "+R+`
|
|
45
|
+
`):b+=z4(x)+B+": "+N+`
|
|
46
|
+
`}for(var G in z)z.hasOwnProperty(G)&&(w=Y5(z[G],120-2*x-G.length-2),b+=Xg(x)+G+": "+w+`
|
|
47
|
+
`);return b}function iG(w,g,x,b){var z="",B=new Map;for(X in x)x.hasOwnProperty(X)&&B.set(X.toLowerCase(),X);if(B.size===1&&B.has("children"))z+=D6(w,g,ow(b));else{for(var R in g)if(g.hasOwnProperty(R)&&R!=="children"){var N=120-2*(b+1)-R.length-1,G=B.get(R.toLowerCase());if(G!==void 0){B.delete(R.toLowerCase());var X=g[R];G=x[G];var U=B4(X,N);N=B4(G,N),typeof X==="object"&&X!==null&&typeof G==="object"&&G!==null&&V6(X)==="Object"&&V6(G)==="Object"&&(2<Object.keys(X).length||2<Object.keys(G).length||-1<U.indexOf("...")||-1<N.indexOf("..."))?z+=ow(b+1)+R+`={{
|
|
48
|
+
`+oG(X,G,b+2)+ow(b+1)+`}}
|
|
49
|
+
`:(z+=z4(b+1)+R+"="+U+`
|
|
50
|
+
`,z+=Xg(b+1)+R+"="+N+`
|
|
51
|
+
`)}else z+=ow(b+1)+R+"="+B4(g[R],N)+`
|
|
52
|
+
`}B.forEach(function(L){if(L!=="children"){var M=120-2*(b+1)-L.length-1;z+=Xg(b+1)+L+"="+B4(x[L],M)+`
|
|
53
|
+
`}}),z=z===""?ow(b)+"<"+w+`>
|
|
54
|
+
`:ow(b)+"<"+w+`
|
|
55
|
+
`+z+ow(b)+`>
|
|
56
|
+
`}if(w=x.children,g=g.children,typeof w==="string"||typeof w==="number"||typeof w==="bigint"){if(B="",typeof g==="string"||typeof g==="number"||typeof g==="bigint")B=""+g;z+=Dx(B,""+w,b+1)}else if(typeof g==="string"||typeof g==="number"||typeof g==="bigint")z=w==null?z+Dx(""+g,null,b+1):z+Dx(""+g,void 0,b+1);return z}function L7(w,g){var x=q7(w);if(x===null){x="";for(w=w.child;w;)x+=L7(w,g),w=w.sibling;return x}return ow(g)+"<"+x+`>
|
|
57
|
+
`}function k6(w,g){var x=Q7(w,g);if(x!==w&&(w.children.length!==1||w.children[0]!==x))return ow(g)+`...
|
|
58
|
+
`+k6(x,g+1);x="";var b=w.fiber._debugInfo;if(b)for(var z=0;z<b.length;z++){var B=b[z].name;typeof B==="string"&&(x+=ow(g)+"<"+B+`>
|
|
59
|
+
`,g++)}if(b="",z=w.fiber.pendingProps,w.fiber.tag===6)b=Dx(z,w.serverProps,g),g++;else if(B=q7(w.fiber),B!==null)if(w.serverProps===void 0){b=g;var R=120-2*b-B.length-2,N="";for(X in z)if(z.hasOwnProperty(X)&&X!=="children"){var G=B4(z[X],15);if(R-=X.length+G.length+2,0>R){N+=" ...";break}N+=" "+X+"="+G}b=ow(b)+"<"+B+N+`>
|
|
60
|
+
`,g++}else w.serverProps===null?(b=D6(B,z,z4(g)),g++):typeof w.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(b=iG(B,z,w.serverProps,g),g++);var X="";z=w.fiber.child;for(B=0;z&&B<w.children.length;)R=w.children[B],R.fiber===z?(X+=k6(R,g),B++):X+=L7(z,g),z=z.sibling;z&&0<w.children.length&&(X+=ow(g)+`...
|
|
61
|
+
`),z=w.serverTail,w.serverProps===null&&g--;for(w=0;w<z.length;w++)B=z[w],X=typeof B==="string"?X+(Xg(g)+Z5(B,120-2*g)+`
|
|
62
|
+
`):X+D6(B.type,B.props,Xg(g));return x+b+X}function u6(w){try{return`
|
|
63
|
+
|
|
64
|
+
`+k6(w,0)}catch(g){return""}}function I7(w,g,x){for(var b=g,z=null,B=0;b;)b===w&&(B=0),z={fiber:b,children:z!==null?[z]:[],serverProps:b===g?x:b===w?null:void 0,serverTail:[],distanceFromLeaf:B},B++,b=b.return;return z!==null?u6(z).replaceAll(/^[+-]/gm,">"):""}function W7(w,g){var x=$0({},w||NN),b={tag:g};if(RN.indexOf(g)!==-1&&(x.aTagInScope=null,x.buttonTagInScope=null,x.nobrTagInScope=null),tZ.indexOf(g)!==-1&&(x.pTagInButtonScope=null),sZ.indexOf(g)!==-1&&g!=="address"&&g!=="div"&&g!=="p"&&(x.listItemTagAutoclosing=null,x.dlItemTagAutoclosing=null),x.current=b,g==="form"&&(x.formTag=b),g==="a"&&(x.aTagInScope=b),g==="button"&&(x.buttonTagInScope=b),g==="nobr"&&(x.nobrTagInScope=b),g==="p"&&(x.pTagInButtonScope=b),g==="li"&&(x.listItemTagAutoclosing=b),g==="dd"||g==="dt")x.dlItemTagAutoclosing=b;return g==="#document"||g==="html"?x.containerTagInScope=null:x.containerTagInScope||(x.containerTagInScope=b),w!==null||g!=="#document"&&g!=="html"&&g!=="body"?x.implicitRootScope===!0&&(x.implicitRootScope=!1):x.implicitRootScope=!0,x}function A7(w,g,x){switch(g){case"select":return w==="hr"||w==="option"||w==="optgroup"||w==="script"||w==="template"||w==="#text";case"optgroup":return w==="option"||w==="#text";case"option":return w==="#text";case"tr":return w==="th"||w==="td"||w==="style"||w==="script"||w==="template";case"tbody":case"thead":case"tfoot":return w==="tr"||w==="style"||w==="script"||w==="template";case"colgroup":return w==="col"||w==="template";case"table":return w==="caption"||w==="colgroup"||w==="tbody"||w==="tfoot"||w==="thead"||w==="style"||w==="script"||w==="template";case"head":return w==="base"||w==="basefont"||w==="bgsound"||w==="link"||w==="meta"||w==="title"||w==="noscript"||w==="noframes"||w==="style"||w==="script"||w==="template";case"html":if(x)break;return w==="head"||w==="body"||w==="frameset";case"frameset":return w==="frame";case"#document":if(!x)return w==="html"}switch(w){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return g!=="h1"&&g!=="h2"&&g!=="h3"&&g!=="h4"&&g!=="h5"&&g!=="h6";case"rp":case"rt":return aZ.indexOf(g)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return g==null;case"head":return x||g===null;case"html":return x&&g==="#document"||g===null;case"body":return x&&(g==="#document"||g==="html")||g===null}return!0}function nG(w,g){switch(w){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 g.pTagInButtonScope;case"form":return g.formTag||g.pTagInButtonScope;case"li":return g.listItemTagAutoclosing;case"dd":case"dt":return g.dlItemTagAutoclosing;case"button":return g.buttonTagInScope;case"a":return g.aTagInScope;case"nobr":return g.nobrTagInScope}return null}function O7(w,g){for(;w;){switch(w.tag){case 5:case 26:case 27:if(w.type===g)return w}w=w.return}return null}function h6(w,g){g=g||NN;var x=g.current;if(g=(x=A7(w,x&&x.tag,g.implicitRootScope)?null:x)?null:nG(w,g),g=x||g,!g)return!0;var b=g.tag;if(g=String(!!x)+"|"+w+"|"+b,h3[g])return!1;h3[g]=!0;var z=(g=x1)?O7(g.return,b):null,B=g!==null&&z!==null?I7(z,g,null):"",R="<"+w+">";return x?(x="",b==="table"&&w==="tr"&&(x+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
65
|
+
This will cause a hydration error.%s`,R,b,x,B)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
66
|
+
This will cause a hydration error.%s`,R,b,B),g&&(w=g.return,z===null||w===null||z===w&&w._debugOwner===g._debugOwner||k(z,function(){console.error(`<%s> cannot contain a nested %s.
|
|
67
|
+
See this log for the ancestor stack trace.`,b,R)})),!1}function kx(w,g,x){if(x||A7("#text",g,!1))return!0;if(x="#text|"+g,h3[x])return!1;h3[x]=!0;var b=(x=x1)?O7(x,g):null;return x=x!==null&&b!==null?I7(b,x,x.tag!==6?{children:null}:null):"",/\S/.test(w)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,g,x):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
69
|
+
This will cause a hydration error.%s`,g,x),!1}function v5(w,g){if(g){var x=w.firstChild;if(x&&x===w.lastChild&&x.nodeType===3){x.nodeValue=g;return}}w.textContent=g}function rG(w){return w.replace(oZ,function(g,x){return x.toUpperCase()})}function K7(w,g,x){var b=g.indexOf("--")===0;b||(-1<g.indexOf("-")?A4.hasOwnProperty(g)&&A4[g]||(A4[g]=!0,console.error("Unsupported style property %s. Did you mean %s?",g,rG(g.replace(pZ,"ms-")))):cZ.test(g)?A4.hasOwnProperty(g)&&A4[g]||(A4[g]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",g,g.charAt(0).toUpperCase()+g.slice(1))):!XN.test(x)||rb.hasOwnProperty(x)&&rb[x]||(rb[x]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,g,x.replace(XN,""))),typeof x==="number"&&(isNaN(x)?ZN||(ZN=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",g)):isFinite(x)||YN||(YN=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",g)))),x==null||typeof x==="boolean"||x===""?b?w.setProperty(g,""):g==="float"?w.cssFloat="":w[g]="":b?w.setProperty(g,x):typeof x!=="number"||x===0||vN.has(g)?g==="float"?w.cssFloat=x:(ww(x,g),w[g]=(""+x).trim()):w[g]=x+"px"}function m7(w,g,x){if(g!=null&&typeof g!=="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.");if(g&&Object.freeze(g),w=w.style,x!=null){if(g){var b={};if(x){for(var z in x)if(x.hasOwnProperty(z)&&!g.hasOwnProperty(z))for(var B=nb[z]||[z],R=0;R<B.length;R++)b[B[R]]=z}for(var N in g)if(g.hasOwnProperty(N)&&(!x||x[N]!==g[N]))for(z=nb[N]||[N],B=0;B<z.length;B++)b[z[B]]=N;N={};for(var G in g)for(z=nb[G]||[G],B=0;B<z.length;B++)N[z[B]]=G;G={};for(var X in b)if(z=b[X],(B=N[X])&&z!==B&&(R=z+","+B,!G[R])){G[R]=!0,R=console;var U=g[z];R.error.call(R,"%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.",U==null||typeof U==="boolean"||U===""?"Removing":"Updating",z,B)}}for(var L in x)!x.hasOwnProperty(L)||g!=null&&g.hasOwnProperty(L)||(L.indexOf("--")===0?w.setProperty(L,""):L==="float"?w.cssFloat="":w[L]="");for(var M in g)X=g[M],g.hasOwnProperty(M)&&x[M]!==X&&K7(w,M,X)}else for(b in g)g.hasOwnProperty(b)&&K7(w,b,g[b])}function H5(w){if(w.indexOf("-")===-1)return!1;switch(w){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}}function _7(w){return iZ.get(w)||w}function eG(w,g){if(H2.call(K4,g)&&K4[g])return!0;if(rZ.test(g)){if(w="aria-"+g.slice(4).toLowerCase(),w=HN.hasOwnProperty(w)?w:null,w==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",g),K4[g]=!0;if(g!==w)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",g,w),K4[g]=!0}if(nZ.test(g)){if(w=g.toLowerCase(),w=HN.hasOwnProperty(w)?w:null,w==null)return K4[g]=!0,!1;g!==w&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",g,w),K4[g]=!0)}return!0}function wX(w,g){var x=[],b;for(b in g)eG(w,b)||x.push(b);g=x.map(function(z){return"`"+z+"`"}).join(", "),x.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",g,w):1<x.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",g,w)}function gX(w,g,x,b){if(H2.call(jw,g)&&jw[g])return!0;var z=g.toLowerCase();if(z==="onfocusin"||z==="onfocusout")return console.error("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."),jw[g]=!0;if(typeof x==="function"&&(w==="form"&&g==="action"||w==="input"&&g==="formAction"||w==="button"&&g==="formAction"))return!0;if(b!=null){if(w=b.possibleRegistrationNames,b.registrationNameDependencies.hasOwnProperty(g))return!0;if(b=w.hasOwnProperty(z)?w[z]:null,b!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",g,b),jw[g]=!0;if(JN.test(g))return console.error("Unknown event handler property `%s`. It will be ignored.",g),jw[g]=!0}else if(JN.test(g))return eZ.test(g)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",g),jw[g]=!0;if(wY.test(g)||gY.test(g))return!0;if(z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),jw[g]=!0;if(z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),jw[g]=!0;if(z==="is"&&x!==null&&x!==void 0&&typeof x!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof x),jw[g]=!0;if(typeof x==="number"&&isNaN(x))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",g),jw[g]=!0;if(s3.hasOwnProperty(z)){if(z=s3[z],z!==g)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",g,z),jw[g]=!0}else if(g!==z)return console.error("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.",g,z),jw[g]=!0;switch(g){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof x){case"boolean":switch(g){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(z=g.toLowerCase().slice(0,5),z==="data-"||z==="aria-")return!0;return x?console.error('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()}.',x,g,g,x,g):console.error('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.',x,g,g,x,g,g,g),jw[g]=!0}case"function":case"symbol":return jw[g]=!0,!1;case"string":if(x==="false"||x==="true"){switch(g){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",x,g,x==="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".',g,x),jw[g]=!0}}return!0}function xX(w,g,x){var b=[],z;for(z in g)gX(w,z,g[z],x)||b.push(z);g=b.map(function(B){return"`"+B+"`"}).join(", "),b.length===1?console.error("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://react.dev/link/attribute-behavior ",g,w):1<b.length&&console.error("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://react.dev/link/attribute-behavior ",g,w)}function M5(w){return xY.test(""+w)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":w}function l6(w){return w=w.target||w.srcElement||window,w.correspondingUseElement&&(w=w.correspondingUseElement),w.nodeType===3?w.parentNode:w}function P7(w){var g=$(w);if(g&&(w=g.stateNode)){var x=w[sw]||null;w:switch(w=g.stateNode,g.type){case"input":if(y6(w,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name),g=x.name,x.type==="radio"&&g!=null){for(x=w;x.parentNode;)x=x.parentNode;p(g,"name"),x=x.querySelectorAll('input[name="'+G1(""+g)+'"][type="radio"]');for(g=0;g<x.length;g++){var b=x[g];if(b!==w&&b.form===w.form){var z=b[sw]||null;if(!z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");y6(b,z.value,z.defaultValue,z.defaultValue,z.checked,z.defaultChecked,z.type,z.name)}}for(g=0;g<x.length;g++)b=x[g],b.form===w.form&&G7(b)}break w;case"textarea":J7(w,x.value,x.defaultValue);break w;case"select":g=x.value,g!=null&&b4(w,!!x.multiple,g,!1)}}}function F7(w,g,x){if(eb)return w(g,x);eb=!0;try{var b=w(g);return b}finally{if(eb=!1,m4!==null||_4!==null){if(v4(),m4&&(g=m4,w=_4,_4=m4=null,P7(g),w))for(g=0;g<w.length;g++)P7(w[g])}}}function J5(w,g){var x=w.stateNode;if(x===null)return null;var b=x[sw]||null;if(b===null)return null;x=b[g];w:switch(g){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(b=!b.disabled)||(w=w.type,b=!(w==="button"||w==="input"||w==="select"||w==="textarea")),w=!b;break w;default:w=!1}if(w)return null;if(x&&typeof x!=="function")throw Error("Expected `"+g+"` listener to be a function, instead got a value of `"+typeof x+"` type.");return x}function C7(){if(t3)return t3;var w,g=g8,x=g.length,b,z="value"in s2?s2.value:s2.textContent,B=z.length;for(w=0;w<x&&g[w]===z[w];w++);var R=x-w;for(b=1;b<=R&&g[x-b]===z[B-b];b++);return t3=z.slice(w,1<b?1-b:void 0)}function ux(w){var g=w.keyCode;return"charCode"in w?(w=w.charCode,w===0&&g===13&&(w=13)):w=g,w===10&&(w=13),32<=w||w===13?w:0}function hx(){return!0}function T7(){return!1}function kw(w){function g(x,b,z,B,R){this._reactName=x,this._targetInst=z,this.type=b,this.nativeEvent=B,this.target=R,this.currentTarget=null;for(var N in w)w.hasOwnProperty(N)&&(x=w[N],this[N]=x?x(B):B[N]);return this.isDefaultPrevented=(B.defaultPrevented!=null?B.defaultPrevented:B.returnValue===!1)?hx:T7,this.isPropagationStopped=T7,this}return $0(g.prototype,{preventDefault:function(){this.defaultPrevented=!0;var x=this.nativeEvent;x&&(x.preventDefault?x.preventDefault():typeof x.returnValue!=="unknown"&&(x.returnValue=!1),this.isDefaultPrevented=hx)},stopPropagation:function(){var x=this.nativeEvent;x&&(x.stopPropagation?x.stopPropagation():typeof x.cancelBubble!=="unknown"&&(x.cancelBubble=!0),this.isPropagationStopped=hx)},persist:function(){},isPersistent:hx}),g}function bX(w){var g=this.nativeEvent;return g.getModifierState?g.getModifierState(w):(w=MY[w])?!!g[w]:!1}function s6(){return bX}function d7(w,g){switch(w){case"keyup":return _Y.indexOf(g.keyCode)!==-1;case"keydown":return g.keyCode!==LN;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j7(w){return w=w.detail,typeof w==="object"&&"data"in w?w.data:null}function zX(w,g){switch(w){case"compositionend":return j7(g);case"keypress":if(g.which!==WN)return null;return ON=!0,AN;case"textInput":return w=g.data,w===AN&&ON?null:w;default:return null}}function BX(w,g){if(P4)return w==="compositionend"||!B8&&d7(w,g)?(w=C7(),t3=g8=s2=null,P4=!1,w):null;switch(w){case"paste":return null;case"keypress":if(!(g.ctrlKey||g.altKey||g.metaKey)||g.ctrlKey&&g.altKey){if(g.char&&1<g.char.length)return g.char;if(g.which)return String.fromCharCode(g.which)}return null;case"compositionend":return IN&&g.locale!=="ko"?null:g.data;default:return null}}function S7(w){var g=w&&w.nodeName&&w.nodeName.toLowerCase();return g==="input"?!!FY[w.type]:g==="textarea"?!0:!1}function RX(w){if(!i1)return!1;w="on"+w;var g=w in document;return g||(g=document.createElement("div"),g.setAttribute(w,"return;"),g=typeof g[w]==="function"),g}function E7(w,g,x,b){m4?_4?_4.push(b):_4=[b]:m4=b,g=m3(g,"onChange"),0<g.length&&(x=new a3("onChange","change",null,x,b),w.push({event:x,listeners:g}))}function NX(w){xR(w,0)}function lx(w){var g=H(w);if(G7(g))return w}function y7(w,g){if(w==="change")return g}function f7(){wx&&(wx.detachEvent("onpropertychange",V7),gx=wx=null)}function V7(w){if(w.propertyName==="value"&&lx(gx)){var g=[];E7(g,gx,w,l6(w)),F7(NX,g)}}function $X(w,g,x){w==="focusin"?(f7(),wx=g,gx=x,wx.attachEvent("onpropertychange",V7)):w==="focusout"&&f7()}function GX(w){if(w==="selectionchange"||w==="keyup"||w==="keydown")return lx(gx)}function XX(w,g){if(w==="click")return lx(g)}function ZX(w,g){if(w==="input"||w==="change")return lx(g)}function YX(w,g){return w===g&&(w!==0||1/w===1/g)||w!==w&&g!==g}function U5(w,g){if(Sw(w,g))return!0;if(typeof w!=="object"||w===null||typeof g!=="object"||g===null)return!1;var x=Object.keys(w),b=Object.keys(g);if(x.length!==b.length)return!1;for(b=0;b<x.length;b++){var z=x[b];if(!H2.call(g,z)||!Sw(w[z],g[z]))return!1}return!0}function D7(w){for(;w&&w.firstChild;)w=w.firstChild;return w}function k7(w,g){var x=D7(w);w=0;for(var b;x;){if(x.nodeType===3){if(b=w+x.textContent.length,w<=g&&b>=g)return{node:x,offset:g-w};w=b}w:{for(;x;){if(x.nextSibling){x=x.nextSibling;break w}x=x.parentNode}x=void 0}x=D7(x)}}function u7(w,g){return w&&g?w===g?!0:w&&w.nodeType===3?!1:g&&g.nodeType===3?u7(w,g.parentNode):("contains"in w)?w.contains(g):w.compareDocumentPosition?!!(w.compareDocumentPosition(g)&16):!1:!1}function h7(w){w=w!=null&&w.ownerDocument!=null&&w.ownerDocument.defaultView!=null?w.ownerDocument.defaultView:window;for(var g=Vx(w.document);g instanceof w.HTMLIFrameElement;){try{var x=typeof g.contentWindow.location.href==="string"}catch(b){x=!1}if(x)w=g.contentWindow;else break;g=Vx(w.document)}return g}function t6(w){var g=w&&w.nodeName&&w.nodeName.toLowerCase();return g&&(g==="input"&&(w.type==="text"||w.type==="search"||w.type==="tel"||w.type==="url"||w.type==="password")||g==="textarea"||w.contentEditable==="true")}function l7(w,g,x){var b=x.window===x?x.document:x.nodeType===9?x:x.ownerDocument;N8||F4==null||F4!==Vx(b)||(b=F4,("selectionStart"in b)&&t6(b)?b={start:b.selectionStart,end:b.selectionEnd}:(b=(b.ownerDocument&&b.ownerDocument.defaultView||window).getSelection(),b={anchorNode:b.anchorNode,anchorOffset:b.anchorOffset,focusNode:b.focusNode,focusOffset:b.focusOffset}),xx&&U5(xx,b)||(xx=b,b=m3(R8,"onSelect"),0<b.length&&(g=new a3("onSelect","select",null,g,x),w.push({event:g,listeners:b}),g.target=F4)))}function Zg(w,g){var x={};return x[w.toLowerCase()]=g.toLowerCase(),x["Webkit"+w]="webkit"+g,x["Moz"+w]="moz"+g,x}function Yg(w){if($8[w])return $8[w];if(!C4[w])return w;var g=C4[w],x;for(x in g)if(g.hasOwnProperty(x)&&x in mN)return $8[w]=g[x];return w}function _1(w,g){TN.set(w,g),D(g,[w])}function iw(w,g){if(typeof w==="object"&&w!==null){var x=X8.get(w);if(x!==void 0)return x;return g={value:w,source:g,stack:R7(g)},X8.set(w,g),g}return{value:w,source:g,stack:R7(g)}}function sx(){for(var w=T4,g=Z8=T4=0;g<w;){var x=Y1[g];Y1[g++]=null;var b=Y1[g];Y1[g++]=null;var z=Y1[g];Y1[g++]=null;var B=Y1[g];if(Y1[g++]=null,b!==null&&z!==null){var R=b.pending;R===null?z.next=z:(z.next=R.next,R.next=z),b.pending=z}B!==0&&s7(x,z,B)}}function tx(w,g,x,b){Y1[T4++]=w,Y1[T4++]=g,Y1[T4++]=x,Y1[T4++]=b,Z8|=b,w.lanes|=b,w=w.alternate,w!==null&&(w.lanes|=b)}function a6(w,g,x,b){return tx(w,g,x,b),ax(w)}function uw(w,g){return tx(w,null,null,g),ax(w)}function s7(w,g,x){w.lanes|=x;var b=w.alternate;b!==null&&(b.lanes|=x);for(var z=!1,B=w.return;B!==null;)B.childLanes|=x,b=B.alternate,b!==null&&(b.childLanes|=x),B.tag===22&&(w=B.stateNode,w===null||w._visibility&p3||(z=!0)),w=B,B=B.return;return w.tag===3?(B=w.stateNode,z&&g!==null&&(z=31-dw(x),w=B.hiddenUpdates,b=w[z],b===null?w[z]=[g]:b.push(g),g.lane=x|536870912),B):null}function ax(w){if(Ox>rY)throw kg=Ox=0,Kx=u8=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.");kg>eY&&(kg=0,Kx=null,console.error("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.")),w.alternate===null&&(w.flags&4098)!==0&&oB(w);for(var g=w,x=g.return;x!==null;)g.alternate===null&&(g.flags&4098)!==0&&oB(w),g=x,x=g.return;return g.tag===3?g.stateNode:null}function vg(w){if(v1===null)return w;var g=v1(w);return g===void 0?w:g.current}function c6(w){if(v1===null)return w;var g=v1(w);return g===void 0?w!==null&&w!==void 0&&typeof w.render==="function"&&(g=vg(w.render),w.render!==g)?(g={$$typeof:t5,render:g},w.displayName!==void 0&&(g.displayName=w.displayName),g):w:g.current}function t7(w,g){if(v1===null)return!1;var x=w.elementType;g=g.type;var b=!1,z=typeof g==="object"&&g!==null?g.$$typeof:null;switch(w.tag){case 1:typeof g==="function"&&(b=!0);break;case 0:typeof g==="function"?b=!0:z===w1&&(b=!0);break;case 11:z===t5?b=!0:z===w1&&(b=!0);break;case 14:case 15:z===f3?b=!0:z===w1&&(b=!0);break;default:return!1}return b&&(w=v1(x),w!==void 0&&w===v1(g))?!0:!1}function a7(w){v1!==null&&typeof WeakSet==="function"&&(d4===null&&(d4=new WeakSet),d4.add(w))}function p6(w,g,x){var{alternate:b,child:z,sibling:B,tag:R,type:N}=w,G=null;switch(R){case 0:case 15:case 1:G=N;break;case 11:G=N.render}if(v1===null)throw Error("Expected resolveFamily to be set during hot reload.");var X=!1;if(N=!1,G!==null&&(G=v1(G),G!==void 0&&(x.has(G)?N=!0:g.has(G)&&(R===1?N=!0:X=!0))),d4!==null&&(d4.has(w)||b!==null&&d4.has(b))&&(N=!0),N&&(w._debugNeedsRemount=!0),N||X)b=uw(w,2),b!==null&&xw(b,w,2);z===null||N||p6(z,g,x),B!==null&&p6(B,g,x)}function vX(w,g,x,b){this.tag=w,this.key=x,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=g,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=b,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,jN||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function o6(w){return w=w.prototype,!(!w||!w.isReactComponent)}function z2(w,g){var x=w.alternate;switch(x===null?(x=C(w.tag,g,w.key,w.mode),x.elementType=w.elementType,x.type=w.type,x.stateNode=w.stateNode,x._debugOwner=w._debugOwner,x._debugStack=w._debugStack,x._debugTask=w._debugTask,x._debugHookTypes=w._debugHookTypes,x.alternate=w,w.alternate=x):(x.pendingProps=g,x.type=w.type,x.flags=0,x.subtreeFlags=0,x.deletions=null,x.actualDuration=-0,x.actualStartTime=-1.1),x.flags=w.flags&65011712,x.childLanes=w.childLanes,x.lanes=w.lanes,x.child=w.child,x.memoizedProps=w.memoizedProps,x.memoizedState=w.memoizedState,x.updateQueue=w.updateQueue,g=w.dependencies,x.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext,_debugThenableState:g._debugThenableState},x.sibling=w.sibling,x.index=w.index,x.ref=w.ref,x.refCleanup=w.refCleanup,x.selfBaseDuration=w.selfBaseDuration,x.treeBaseDuration=w.treeBaseDuration,x._debugInfo=w._debugInfo,x._debugNeedsRemount=w._debugNeedsRemount,x.tag){case 0:case 15:x.type=vg(w.type);break;case 1:x.type=vg(w.type);break;case 11:x.type=c6(w.type)}return x}function c7(w,g){w.flags&=65011714;var x=w.alternate;return x===null?(w.childLanes=0,w.lanes=g,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null,w.selfBaseDuration=0,w.treeBaseDuration=0):(w.childLanes=x.childLanes,w.lanes=x.lanes,w.child=x.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=x.memoizedProps,w.memoizedState=x.memoizedState,w.updateQueue=x.updateQueue,w.type=x.type,g=x.dependencies,w.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext,_debugThenableState:g._debugThenableState},w.selfBaseDuration=x.selfBaseDuration,w.treeBaseDuration=x.treeBaseDuration),w}function i6(w,g,x,b,z,B){var R=0,N=w;if(typeof w==="function")o6(w)&&(R=1),N=vg(N);else if(typeof w==="string")R=l(),R=vZ(w,x,R)?26:w==="html"||w==="head"||w==="body"?27:5;else w:switch(w){case Db:return g=C(31,x,g,z),g.elementType=Db,g.lanes=B,g;case L4:return Hg(x.children,z,B,g);case y3:R=8,z|=Cw,z|=T1;break;case Eb:return w=x,b=z,typeof w.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof w.id),g=C(12,w,g,b|Iw),g.elementType=Eb,g.lanes=B,g.stateNode={effectDuration:0,passiveEffectDuration:0},g;case fb:return g=C(13,x,g,z),g.elementType=fb,g.lanes=B,g;case Vb:return g=C(19,x,g,z),g.elementType=Vb,g.lanes=B,g;default:if(typeof w==="object"&&w!==null)switch(w.$$typeof){case mZ:case t1:R=10;break w;case yb:R=9;break w;case t5:R=11,N=c6(N);break w;case f3:R=14;break w;case w1:R=16,N=null;break w}if(N="",w===void 0||typeof w==="object"&&w!==null&&Object.keys(w).length===0)N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";w===null?x="null":Lw(w)?x="array":w!==void 0&&w.$$typeof===D2?(x="<"+(z0(w.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):x=typeof w,(R=b?Tw(b):null)&&(N+=`
|
|
70
|
+
|
|
71
|
+
Check the render method of \``+R+"`."),R=29,x=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(x+"."+N)),N=null}return g=C(R,x,g,z),g.elementType=w,g.type=N,g.lanes=B,g._debugOwner=b,g}function cx(w,g,x){return g=i6(w.type,w.key,w.props,w._owner,g,x),g._debugOwner=w._owner,g._debugStack=w._debugStack,g._debugTask=w._debugTask,g}function Hg(w,g,x,b){return w=C(7,w,b,g),w.lanes=x,w}function n6(w,g,x){return w=C(6,w,null,g),w.lanes=x,w}function r6(w,g,x){return g=C(4,w.children!==null?w.children:[],w.key,g),g.lanes=x,g.stateNode={containerInfo:w.containerInfo,pendingChildren:null,implementation:w.implementation},g}function Mg(w,g){Jg(),j4[S4++]=i3,j4[S4++]=o3,o3=w,i3=g}function p7(w,g,x){Jg(),H1[M1++]=J2,H1[M1++]=U2,H1[M1++]=Pg,Pg=w;var b=J2;w=U2;var z=32-dw(b)-1;b&=~(1<<z),x+=1;var B=32-dw(g)+z;if(30<B){var R=z-z%5;B=(b&(1<<R)-1).toString(32),b>>=R,z-=R,J2=1<<32-dw(g)+z|x<<z|b,U2=B+w}else J2=1<<B|x<<z|b,U2=w}function e6(w){Jg(),w.return!==null&&(Mg(w,1),p7(w,1,0))}function w9(w){for(;w===o3;)o3=j4[--S4],j4[S4]=null,i3=j4[--S4],j4[S4]=null;for(;w===Pg;)Pg=H1[--M1],H1[M1]=null,U2=H1[--M1],H1[M1]=null,J2=H1[--M1],H1[M1]=null}function Jg(){q0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Ug(w,g){if(w.return===null){if(J1===null)J1={fiber:w,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:g};else{if(J1.fiber!==w)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");J1.distanceFromLeaf>g&&(J1.distanceFromLeaf=g)}return J1}var x=Ug(w.return,g+1).children;if(0<x.length&&x[x.length-1].fiber===w)return x=x[x.length-1],x.distanceFromLeaf>g&&(x.distanceFromLeaf=g),x;return g={fiber:w,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:g},x.push(g),g}function g9(w,g){Q2||(w=Ug(w,0),w.serverProps=null,g!==null&&(g=JR(g),w.serverTail.push(g)))}function Qg(w){var g="",x=J1;throw x!==null&&(J1=null,g=u6(x)),L5(iw(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
72
|
+
|
|
73
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
74
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
75
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
76
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
77
|
+
- Invalid HTML tag nesting.
|
|
78
|
+
|
|
79
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
80
|
+
|
|
81
|
+
https://react.dev/link/hydration-mismatch`+g),w)),Y8}function o7(w){var{stateNode:g,type:x,memoizedProps:b}=w;switch(g[Fw]=w,g[sw]=b,Qb(x,b),x){case"dialog":M0("cancel",g),M0("close",g);break;case"iframe":case"object":case"embed":M0("load",g);break;case"video":case"audio":for(x=0;x<mx.length;x++)M0(mx[x],g);break;case"source":M0("error",g);break;case"img":case"image":case"link":M0("error",g),M0("load",g);break;case"details":M0("toggle",g);break;case"input":o("input",b),M0("invalid",g),X7(g,b),Z7(g,b.value,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name,!0),fx(g);break;case"option":Y7(g,b);break;case"select":o("select",b),M0("invalid",g),H7(g,b);break;case"textarea":o("textarea",b),M0("invalid",g),M7(g,b),U7(g,b.value,b.defaultValue,b.children),fx(g)}x=b.children,typeof x!=="string"&&typeof x!=="number"&&typeof x!=="bigint"||g.textContent===""+x||b.suppressHydrationWarning===!0||RR(g.textContent,x)?(b.popover!=null&&(M0("beforetoggle",g),M0("toggle",g)),b.onScroll!=null&&M0("scroll",g),b.onScrollEnd!=null&&M0("scrollend",g),b.onClick!=null&&(g.onclick=_3),g=!0):g=!1,g||Qg(w)}function i7(w){for(Ew=w.return;Ew;)switch(Ew.tag){case 5:case 13:n1=!1;return;case 27:case 3:n1=!0;return;default:Ew=Ew.return}}function Q5(w){if(w!==Ew)return!1;if(!q0)return i7(w),q0=!0,!1;var g=w.tag,x;if(x=g!==3&&g!==27){if(x=g===5)x=w.type,x=!(x!=="form"&&x!=="button")||Ab(w.type,w.memoizedProps);x=!x}if(x&&o0){for(x=o0;x;){var b=Ug(w,0),z=JR(x);b.serverTail.push(z),x=z.type==="Suspense"?QR(x):Z1(x.nextSibling)}Qg(w)}if(i7(w),g===13){if(w=w.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o0=QR(w)}else g===27?(g=o0,V2(w.type)?(w=e8,e8=null,o0=w):o0=g):o0=Ew?Z1(w.stateNode.nextSibling):null;return!0}function q5(){o0=Ew=null,Q2=q0=!1}function n7(){var w=Fg;return w!==null&&(Vw===null?Vw=w:Vw.push.apply(Vw,w),Fg=null),w}function L5(w){Fg===null?Fg=[w]:Fg.push(w)}function r7(){var w=J1;if(w!==null){J1=null;for(var g=u6(w);0<w.children.length;)w=w.children[0];k(w.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
82
|
+
|
|
83
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
84
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
85
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
86
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
87
|
+
- Invalid HTML tag nesting.
|
|
88
|
+
|
|
89
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
90
|
+
|
|
91
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",g)})}}function px(){E4=n3=null,y4=!1}function C2(w,g,x){B0(v8,g._currentValue,w),g._currentValue=x,B0(H8,g._currentRenderer,w),g._currentRenderer!==void 0&&g._currentRenderer!==null&&g._currentRenderer!==fN&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),g._currentRenderer=fN}function B2(w,g){w._currentValue=v8.current;var x=H8.current;A0(H8,g),w._currentRenderer=x,A0(v8,g)}function x9(w,g,x){for(;w!==null;){var b=w.alternate;if((w.childLanes&g)!==g?(w.childLanes|=g,b!==null&&(b.childLanes|=g)):b!==null&&(b.childLanes&g)!==g&&(b.childLanes|=g),w===x)break;w=w.return}w!==x&&console.error("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 b9(w,g,x,b){var z=w.child;z!==null&&(z.return=w);for(;z!==null;){var B=z.dependencies;if(B!==null){var R=z.child;B=B.firstContext;w:for(;B!==null;){var N=B;B=z;for(var G=0;G<g.length;G++)if(N.context===g[G]){B.lanes|=x,N=B.alternate,N!==null&&(N.lanes|=x),x9(B.return,x,w),b||(R=null);break w}B=N.next}}else if(z.tag===18){if(R=z.return,R===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");R.lanes|=x,B=R.alternate,B!==null&&(B.lanes|=x),x9(R,x,w),R=null}else R=z.child;if(R!==null)R.return=z;else for(R=z;R!==null;){if(R===w){R=null;break}if(z=R.sibling,z!==null){z.return=R.return,R=z;break}R=R.return}z=R}}function I5(w,g,x,b){w=null;for(var z=g,B=!1;z!==null;){if(!B){if((z.flags&524288)!==0)B=!0;else if((z.flags&262144)!==0)break}if(z.tag===10){var R=z.alternate;if(R===null)throw Error("Should have a current fiber. This is a bug in React.");if(R=R.memoizedProps,R!==null){var N=z.type;Sw(z.pendingProps.value,R.value)||(w!==null?w.push(N):w=[N])}}else if(z===V3.current){if(R=z.alternate,R===null)throw Error("Should have a current fiber. This is a bug in React.");R.memoizedState.memoizedState!==z.memoizedState.memoizedState&&(w!==null?w.push(Cx):w=[Cx])}z=z.return}w!==null&&b9(g,w,x,b),g.flags|=262144}function ox(w){for(w=w.firstContext;w!==null;){if(!Sw(w.context._currentValue,w.memoizedValue))return!0;w=w.next}return!1}function qg(w){n3=w,E4=null,w=w.dependencies,w!==null&&(w.firstContext=null)}function t0(w){return y4&&console.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()."),e7(n3,w)}function ix(w,g){return n3===null&&qg(w),e7(w,g)}function e7(w,g){var x=g._currentValue;if(g={context:g,memoizedValue:x,next:null},E4===null){if(w===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().");E4=g,w.dependencies={lanes:0,firstContext:g,_debugThenableState:null},w.flags|=524288}else E4=E4.next=g;return x}function z9(){return{controller:new fY,data:new Map,refCount:0}}function Lg(w){w.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),w.refCount++}function W5(w){w.refCount--,0>w.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),w.refCount===0&&VY(DY,function(){w.controller.abort()})}function R2(){var w=Cg;return Cg=0,w}function nx(w){var g=Cg;return Cg=w,g}function A5(w){var g=Cg;return Cg+=w,g}function B9(w){tw=f4(),0>w.actualStartTime&&(w.actualStartTime=tw)}function R9(w){if(0<=tw){var g=f4()-tw;w.actualDuration+=g,w.selfBaseDuration=g,tw=-1}}function wz(w){if(0<=tw){var g=f4()-tw;w.actualDuration+=g,tw=-1}}function V1(){if(0<=tw){var w=f4()-tw;tw=-1,Cg+=w}}function D1(){tw=f4()}function rx(w){for(var g=w.child;g;)w.actualDuration+=g.actualDuration,g=g.sibling}function HX(w,g){if(bx===null){var x=bx=[];M8=0,Tg=Hb(),V4={status:"pending",value:void 0,then:function(b){x.push(b)}}}return M8++,g.then(gz,gz),g}function gz(){if(--M8===0&&bx!==null){V4!==null&&(V4.status="fulfilled");var w=bx;bx=null,Tg=0,V4=null;for(var g=0;g<w.length;g++)(0,w[g])()}}function MX(w,g){var x=[],b={status:"pending",value:null,reason:null,then:function(z){x.push(z)}};return w.then(function(){b.status="fulfilled",b.value=g;for(var z=0;z<x.length;z++)(0,x[z])(g)},function(z){b.status="rejected",b.reason=z;for(z=0;z<x.length;z++)(0,x[z])(void 0)}),b}function N9(){var w=dg.current;return w!==null?w:y0.pooledCache}function ex(w,g){g===null?B0(dg,dg.current,w):B0(dg,g.pool,w)}function xz(){var w=N9();return w===null?null:{parent:Xw._currentValue,pool:w}}function bz(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function zz(w){return w=w.status,w==="fulfilled"||w==="rejected"}function w3(){}function Bz(w,g,x){q.actQueue!==null&&(q.didUsePromise=!0);var b=w.thenables;switch(x=b[x],x===void 0?b.push(g):x!==g&&(w.didWarnAboutUncachedPromise||(w.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),g.then(w3,w3),g=x),g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,Nz(w),w;default:if(typeof g.status==="string")g.then(w3,w3);else{if(w=y0,w!==null&&100<w.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");w=g,w.status="pending",w.then(function(z){if(g.status==="pending"){var B=g;B.status="fulfilled",B.value=z}},function(z){if(g.status==="pending"){var B=g;B.status="rejected",B.reason=z}})}switch(g.status){case"fulfilled":return g.value;case"rejected":throw w=g.reason,Nz(w),w}throw Zx=g,b6=!0,Xx}}function Rz(){if(Zx===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var w=Zx;return Zx=null,b6=!1,w}function Nz(w){if(w===Xx||w===x6)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function $9(w){w.updateQueue={baseState:w.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function G9(w,g){w=w.updateQueue,g.updateQueue===w&&(g.updateQueue={baseState:w.baseState,firstBaseUpdate:w.firstBaseUpdate,lastBaseUpdate:w.lastBaseUpdate,shared:w.shared,callbacks:null})}function T2(w){return{lane:w,tag:hN,payload:null,callback:null,next:null}}function d2(w,g,x){var b=w.updateQueue;if(b===null)return null;if(b=b.shared,Q8===b&&!tN){var z=S(w);console.error(`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.
|
|
92
|
+
|
|
93
|
+
Please update the following component: %s`,z),tN=!0}if((P0&fw)!==b1)return z=b.pending,z===null?g.next=g:(g.next=z.next,z.next=g),b.pending=g,g=ax(w),s7(w,null,x),g;return tx(w,b,g,x),ax(w)}function O5(w,g,x){if(g=g.updateQueue,g!==null&&(g=g.shared,(x&4194048)!==0)){var b=g.lanes;b&=w.pendingLanes,x|=b,g.lanes=x,$5(w,x)}}function g3(w,g){var{updateQueue:x,alternate:b}=w;if(b!==null&&(b=b.updateQueue,x===b)){var z=null,B=null;if(x=x.firstBaseUpdate,x!==null){do{var R={lane:x.lane,tag:x.tag,payload:x.payload,callback:null,next:null};B===null?z=B=R:B=B.next=R,x=x.next}while(x!==null);B===null?z=B=g:B=B.next=g}else z=B=g;x={baseState:b.baseState,firstBaseUpdate:z,lastBaseUpdate:B,shared:b.shared,callbacks:b.callbacks},w.updateQueue=x;return}w=x.lastBaseUpdate,w===null?x.firstBaseUpdate=g:w.next=g,x.lastBaseUpdate=g}function K5(){if(q8){var w=V4;if(w!==null)throw w}}function m5(w,g,x,b){q8=!1;var z=w.updateQueue;a2=!1,Q8=z.shared;var{firstBaseUpdate:B,lastBaseUpdate:R}=z,N=z.shared.pending;if(N!==null){z.shared.pending=null;var G=N,X=G.next;G.next=null,R===null?B=X:R.next=X,R=G;var U=w.alternate;U!==null&&(U=U.updateQueue,N=U.lastBaseUpdate,N!==R&&(N===null?U.firstBaseUpdate=X:N.next=X,U.lastBaseUpdate=G))}if(B!==null){var L=z.baseState;R=0,U=X=G=null,N=B;do{var M=N.lane&-536870913,I=M!==N.lane;if(I?(H0&M)===M:(b&M)===M){M!==0&&M===Tg&&(q8=!0),U!==null&&(U=U.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});w:{M=w;var y=N,c=g,f0=x;switch(y.tag){case lN:if(y=y.payload,typeof y==="function"){y4=!0;var J0=y.call(f0,L,c);if(M.mode&Cw){O0(!0);try{y.call(f0,L,c)}finally{O0(!1)}}y4=!1,L=J0;break w}L=y;break w;case U8:M.flags=M.flags&-65537|128;case hN:if(J0=y.payload,typeof J0==="function"){if(y4=!0,y=J0.call(f0,L,c),M.mode&Cw){O0(!0);try{J0.call(f0,L,c)}finally{O0(!1)}}y4=!1}else y=J0;if(y===null||y===void 0)break w;L=$0({},L,y);break w;case sN:a2=!0}}M=N.callback,M!==null&&(w.flags|=64,I&&(w.flags|=8192),I=z.callbacks,I===null?z.callbacks=[M]:I.push(M))}else I={lane:M,tag:N.tag,payload:N.payload,callback:N.callback,next:null},U===null?(X=U=I,G=L):U=U.next=I,R|=M;if(N=N.next,N===null)if(N=z.shared.pending,N===null)break;else I=N,N=I.next,I.next=null,z.lastBaseUpdate=I,z.shared.pending=null}while(1);U===null&&(G=L),z.baseState=G,z.firstBaseUpdate=X,z.lastBaseUpdate=U,B===null&&(z.shared.lanes=0),i2|=R,w.lanes=R,w.memoizedState=L}Q8=null}function $z(w,g){if(typeof w!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+w);w.call(g)}function JX(w,g){var x=w.shared.hiddenCallbacks;if(x!==null)for(w.shared.hiddenCallbacks=null,w=0;w<x.length;w++)$z(x[w],g)}function Gz(w,g){var x=w.callbacks;if(x!==null)for(w.callbacks=null,w=0;w<x.length;w++)$z(x[w],g)}function Xz(w,g){var x=w2;B0(z6,x,w),B0(D4,g,w),w2=x|g.baseLanes}function X9(w){B0(z6,w2,w),B0(D4,D4.current,w)}function Z9(w){w2=z6.current,A0(D4,w),A0(z6,w)}function v0(){var w=Q;q1===null?q1=[w]:q1.push(w)}function _(){var w=Q;if(q1!==null&&(L2++,q1[L2]!==w)){var g=S(i);if(!aN.has(g)&&(aN.add(g),q1!==null)){for(var x="",b=0;b<=L2;b++){var z=q1[b],B=b===L2?w:z;for(z=b+1+". "+z;30>z.length;)z+=" ";z+=B+`
|
|
94
|
+
`,x+=z}console.error(`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://react.dev/link/rules-of-hooks
|
|
95
|
+
|
|
96
|
+
Previous render Next render
|
|
97
|
+
------------------------------------------------------
|
|
98
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
99
|
+
`,g,x)}}}function R4(w){w===void 0||w===null||Lw(w)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Q,typeof w)}function x3(){var w=S(i);pN.has(w)||(pN.add(w),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",w))}function gw(){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:
|
|
100
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
101
|
+
2. You might be breaking the Rules of Hooks
|
|
102
|
+
3. You might have more than one copy of React in the same app
|
|
103
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Y9(w,g){if(vx)return!1;if(g===null)return console.error("%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.",Q),!1;w.length!==g.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
104
|
+
|
|
105
|
+
Previous: %s
|
|
106
|
+
Incoming: %s`,Q,"["+g.join(", ")+"]","["+w.join(", ")+"]");for(var x=0;x<g.length&&x<w.length;x++)if(!Sw(w[x],g[x]))return!1;return!0}function v9(w,g,x,b,z,B){if(c2=B,i=g,q1=w!==null?w._debugHookTypes:null,L2=-1,vx=w!==null&&w.type!==g.type,Object.prototype.toString.call(x)==="[object AsyncFunction]"||Object.prototype.toString.call(x)==="[object AsyncGeneratorFunction]")B=S(i),L8.has(B)||(L8.add(B),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",B===null?"An unknown Component":"<"+B+">"));g.memoizedState=null,g.updateQueue=null,g.lanes=0,q.H=w!==null&&w.memoizedState!==null?W8:q1!==null?oN:I8,Sg=B=(g.mode&Cw)!==D0;var R=A8(x,b,z);if(Sg=!1,u4&&(R=H9(g,x,b,z)),B){O0(!0);try{R=H9(g,x,b,z)}finally{O0(!1)}}return Zz(w,g),R}function Zz(w,g){g._debugHookTypes=q1,g.dependencies===null?q2!==null&&(g.dependencies={lanes:0,firstContext:null,_debugThenableState:q2}):g.dependencies._debugThenableState=q2,q.H=N6;var x=S0!==null&&S0.next!==null;if(c2=0,q1=Q=Rw=S0=i=null,L2=-1,w!==null&&(w.flags&65011712)!==(g.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),B6=!1,Yx=0,q2=null,x)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");w===null||Mw||(w=w.dependencies,w!==null&&ox(w)&&(Mw=!0)),b6?(b6=!1,w=!0):w=!1,w&&(g=S(g)||"Unknown",cN.has(g)||L8.has(g)||(cN.add(g),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function H9(w,g,x,b){i=w;var z=0;do{if(u4&&(q2=null),Yx=0,u4=!1,z>=uY)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(z+=1,vx=!1,Rw=S0=null,w.updateQueue!=null){var B=w.updateQueue;B.lastEffect=null,B.events=null,B.stores=null,B.memoCache!=null&&(B.memoCache.index=0)}L2=-1,q.H=iN,B=A8(g,x,b)}while(u4);return B}function UX(){var w=q.H,g=w.useState()[0];return g=typeof g.then==="function"?_5(g):g,w=w.useState()[0],(S0!==null?S0.memoizedState:null)!==w&&(i.flags|=1024),g}function M9(){var w=R6!==0;return R6=0,w}function J9(w,g,x){g.updateQueue=w.updateQueue,g.flags=(g.mode&T1)!==D0?g.flags&-402655237:g.flags&-2053,w.lanes&=~x}function U9(w){if(B6){for(w=w.memoizedState;w!==null;){var g=w.queue;g!==null&&(g.pending=null),w=w.next}B6=!1}c2=0,q1=Rw=S0=i=null,L2=-1,Q=null,u4=!1,Yx=R6=0,q2=null}function hw(){var w={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rw===null?i.memoizedState=Rw=w:Rw=Rw.next=w,Rw}function T0(){if(S0===null){var w=i.alternate;w=w!==null?w.memoizedState:null}else w=S0.next;var g=Rw===null?i.memoizedState:Rw.next;if(g!==null)Rw=g,S0=w;else{if(w===null){if(i.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}S0=w,w={memoizedState:S0.memoizedState,baseState:S0.baseState,baseQueue:S0.baseQueue,queue:S0.queue,next:null},Rw===null?i.memoizedState=Rw=w:Rw=Rw.next=w}return Rw}function Q9(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _5(w){var g=Yx;return Yx+=1,q2===null&&(q2=bz()),w=Bz(q2,w,g),g=i,(Rw===null?g.memoizedState:Rw.next)===null&&(g=g.alternate,q.H=g!==null&&g.memoizedState!==null?W8:I8),w}function j2(w){if(w!==null&&typeof w==="object"){if(typeof w.then==="function")return _5(w);if(w.$$typeof===t1)return t0(w)}throw Error("An unsupported type was passed to use(): "+String(w))}function Ig(w){var g=null,x=i.updateQueue;if(x!==null&&(g=x.memoCache),g==null){var b=i.alternate;b!==null&&(b=b.updateQueue,b!==null&&(b=b.memoCache,b!=null&&(g={data:b.data.map(function(z){return z.slice()}),index:0})))}if(g==null&&(g={data:[],index:0}),x===null&&(x=Q9(),i.updateQueue=x),x.memoCache=g,x=g.data[g.index],x===void 0||vx)for(x=g.data[g.index]=Array(w),b=0;b<w;b++)x[b]=_Z;else x.length!==w&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",x.length,w);return g.index++,x}function P1(w,g){return typeof g==="function"?g(w):g}function q9(w,g,x){var b=hw();if(x!==void 0){var z=x(g);if(Sg){O0(!0);try{x(g)}finally{O0(!1)}}}else z=g;return b.memoizedState=b.baseState=z,w={pending:null,lanes:0,dispatch:null,lastRenderedReducer:w,lastRenderedState:z},b.queue=w,w=w.dispatch=IX.bind(null,i,w),[b.memoizedState,w]}function N4(w){var g=T0();return L9(g,S0,w)}function L9(w,g,x){var b=w.queue;if(b===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");b.lastRenderedReducer=x;var z=w.baseQueue,B=b.pending;if(B!==null){if(z!==null){var R=z.next;z.next=B.next,B.next=R}g.baseQueue!==z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=z=B,b.pending=null}if(B=w.baseState,z===null)w.memoizedState=B;else{g=z.next;var N=R=null,G=null,X=g,U=!1;do{var L=X.lane&-536870913;if(L!==X.lane?(H0&L)===L:(c2&L)===L){var M=X.revertLane;if(M===0)G!==null&&(G=G.next={lane:0,revertLane:0,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),L===Tg&&(U=!0);else if((c2&M)===M){X=X.next,M===Tg&&(U=!0);continue}else L={lane:0,revertLane:X.revertLane,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(N=G=L,R=B):G=G.next=L,i.lanes|=M,i2|=M;L=X.action,Sg&&x(B,L),B=X.hasEagerState?X.eagerState:x(B,L)}else M={lane:L,revertLane:X.revertLane,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},G===null?(N=G=M,R=B):G=G.next=M,i.lanes|=L,i2|=L;X=X.next}while(X!==null&&X!==g);if(G===null?R=B:G.next=N,!Sw(B,w.memoizedState)&&(Mw=!0,U&&(x=V4,x!==null)))throw x;w.memoizedState=B,w.baseState=R,w.baseQueue=G,b.lastRenderedState=B}return z===null&&(b.lanes=0),[w.memoizedState,b.dispatch]}function P5(w){var g=T0(),x=g.queue;if(x===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");x.lastRenderedReducer=w;var{dispatch:b,pending:z}=x,B=g.memoizedState;if(z!==null){x.pending=null;var R=z=z.next;do B=w(B,R.action),R=R.next;while(R!==z);Sw(B,g.memoizedState)||(Mw=!0),g.memoizedState=B,g.baseQueue===null&&(g.baseState=B),x.lastRenderedState=B}return[B,b]}function I9(w,g,x){var b=i,z=hw();if(q0){if(x===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var B=x();k4||B===x()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),k4=!0)}else{if(B=g(),k4||(x=g(),Sw(B,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),k4=!0)),y0===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(H0&124)!==0||Yz(b,g,B)}return z.memoizedState=B,x={value:B,getSnapshot:g},z.queue=x,N3(Hz.bind(null,b,x,w),[w]),b.flags|=2048,G4(Q1|Zw,R3(),vz.bind(null,b,x,B,g),null),B}function b3(w,g,x){var b=i,z=T0(),B=q0;if(B){if(x===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");x=x()}else if(x=g(),!k4){var R=g();Sw(x,R)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),k4=!0)}if(R=!Sw((S0||z).memoizedState,x))z.memoizedState=x,Mw=!0;z=z.queue;var N=Hz.bind(null,b,z,w);if(lw(2048,Zw,N,[w]),z.getSnapshot!==g||R||Rw!==null&&Rw.memoizedState.tag&Q1){if(b.flags|=2048,G4(Q1|Zw,R3(),vz.bind(null,b,z,x,g),null),y0===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B||(c2&124)!==0||Yz(b,g,x)}return x}function Yz(w,g,x){w.flags|=16384,w={getSnapshot:g,value:x},g=i.updateQueue,g===null?(g=Q9(),i.updateQueue=g,g.stores=[w]):(x=g.stores,x===null?g.stores=[w]:x.push(w))}function vz(w,g,x,b){g.value=x,g.getSnapshot=b,Mz(g)&&Jz(w)}function Hz(w,g,x){return x(function(){Mz(g)&&Jz(w)})}function Mz(w){var g=w.getSnapshot;w=w.value;try{var x=g();return!Sw(w,x)}catch(b){return!0}}function Jz(w){var g=uw(w,2);g!==null&&xw(g,w,2)}function W9(w){var g=hw();if(typeof w==="function"){var x=w;if(w=x(),Sg){O0(!0);try{x()}finally{O0(!1)}}}return g.memoizedState=g.baseState=w,g.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:P1,lastRenderedState:w},g}function A9(w){w=W9(w);var g=w.queue,x=Ez.bind(null,i,g);return g.dispatch=x,[w.memoizedState,x]}function O9(w){var g=hw();g.memoizedState=g.baseState=w;var x={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return g.queue=x,g=f9.bind(null,i,!0,x),x.dispatch=g,[w,g]}function Uz(w,g){var x=T0();return Qz(x,S0,w,g)}function Qz(w,g,x,b){return w.baseState=x,L9(w,S0,typeof b==="function"?b:P1)}function qz(w,g){var x=T0();if(S0!==null)return Qz(x,S0,w,g);return x.baseState=w,[w,x.queue.dispatch]}function QX(w,g,x,b,z){if(Z3(w))throw Error("Cannot update form state while rendering.");if(w=g.action,w!==null){var B={payload:z,action:w,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(R){B.listeners.push(R)}};q.T!==null?x(!0):B.isTransition=!1,b(B),x=g.pending,x===null?(B.next=g.pending=B,Lz(g,B)):(B.next=x.next,g.pending=x.next=B)}}function Lz(w,g){var{action:x,payload:b}=g,z=w.state;if(g.isTransition){var B=q.T,R={};q.T=R,q.T._updatedFibers=new Set;try{var N=x(z,b),G=q.S;G!==null&&G(R,N),Iz(w,g,N)}catch(X){K9(w,g,X)}finally{q.T=B,B===null&&R._updatedFibers&&(w=R._updatedFibers.size,R._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{R=x(z,b),Iz(w,g,R)}catch(X){K9(w,g,X)}}function Iz(w,g,x){x!==null&&typeof x==="object"&&typeof x.then==="function"?(x.then(function(b){Wz(w,g,b)},function(b){return K9(w,g,b)}),g.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Wz(w,g,x)}function Wz(w,g,x){g.status="fulfilled",g.value=x,Az(g),w.state=x,g=w.pending,g!==null&&(x=g.next,x===g?w.pending=null:(x=x.next,g.next=x,Lz(w,x)))}function K9(w,g,x){var b=w.pending;if(w.pending=null,b!==null){b=b.next;do g.status="rejected",g.reason=x,Az(g),g=g.next;while(g!==b)}w.action=null}function Az(w){w=w.listeners;for(var g=0;g<w.length;g++)(0,w[g])()}function Oz(w,g){return g}function $4(w,g){if(q0){var x=y0.formState;if(x!==null){w:{var b=i;if(q0){if(o0){g:{var z=o0;for(var B=n1;z.nodeType!==8;){if(!B){z=null;break g}if(z=Z1(z.nextSibling),z===null){z=null;break g}}B=z.data,z=B===o8||B===p$?z:null}if(z){o0=Z1(z.nextSibling),b=z.data===o8;break w}}Qg(b)}b=!1}b&&(g=x[0])}}return x=hw(),x.memoizedState=x.baseState=g,b={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oz,lastRenderedState:g},x.queue=b,x=Ez.bind(null,i,b),b.dispatch=x,b=W9(!1),B=f9.bind(null,i,!1,b.queue),b=hw(),z={state:g,dispatch:null,action:w,pending:null},b.queue=z,x=QX.bind(null,i,z,B,x),z.dispatch=x,b.memoizedState=w,[g,x,!1]}function z3(w){var g=T0();return Kz(g,S0,w)}function Kz(w,g,x){if(g=L9(w,g,Oz)[0],w=N4(P1)[0],typeof g==="object"&&g!==null&&typeof g.then==="function")try{var b=_5(g)}catch(R){if(R===Xx)throw x6;throw R}else b=g;g=T0();var z=g.queue,B=z.dispatch;return x!==g.memoizedState&&(i.flags|=2048,G4(Q1|Zw,R3(),qX.bind(null,z,x),null)),[b,B,w]}function qX(w,g){w.action=g}function B3(w){var g=T0(),x=S0;if(x!==null)return Kz(g,x,w);T0(),g=g.memoizedState,x=T0();var b=x.queue.dispatch;return x.memoizedState=w,[g,b,!1]}function G4(w,g,x,b){return w={tag:w,create:x,deps:b,inst:g,next:null},g=i.updateQueue,g===null&&(g=Q9(),i.updateQueue=g),x=g.lastEffect,x===null?g.lastEffect=w.next=w:(b=x.next,x.next=w,w.next=b,g.lastEffect=w),w}function R3(){return{destroy:void 0,resource:void 0}}function m9(w){var g=hw();return w={current:w},g.memoizedState=w}function Wg(w,g,x,b){var z=hw();b=b===void 0?null:b,i.flags|=w,z.memoizedState=G4(Q1|g,R3(),x,b)}function lw(w,g,x,b){var z=T0();b=b===void 0?null:b;var B=z.memoizedState.inst;S0!==null&&b!==null&&Y9(b,S0.memoizedState.deps)?z.memoizedState=G4(g,B,x,b):(i.flags|=w,z.memoizedState=G4(Q1|g,B,x,b))}function N3(w,g){(i.mode&T1)!==D0&&(i.mode&dN)===D0?Wg(276826112,Zw,w,g):Wg(8390656,Zw,w,g)}function _9(w,g){var x=4194308;return(i.mode&T1)!==D0&&(x|=134217728),Wg(x,Ww,w,g)}function mz(w,g){if(typeof g==="function"){w=w();var x=g(w);return function(){typeof x==="function"?x():g(null)}}if(g!==null&&g!==void 0)return g.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(g).join(", ")+"}"),w=w(),g.current=w,function(){g.current=null}}function P9(w,g,x){typeof g!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",g!==null?typeof g:"null"),x=x!==null&&x!==void 0?x.concat([w]):null;var b=4194308;(i.mode&T1)!==D0&&(b|=134217728),Wg(b,Ww,mz.bind(null,g,w),x)}function $3(w,g,x){typeof g!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",g!==null?typeof g:"null"),x=x!==null&&x!==void 0?x.concat([w]):null,lw(4,Ww,mz.bind(null,g,w),x)}function F9(w,g){return hw().memoizedState=[w,g===void 0?null:g],w}function G3(w,g){var x=T0();g=g===void 0?null:g;var b=x.memoizedState;if(g!==null&&Y9(g,b[1]))return b[0];return x.memoizedState=[w,g],w}function C9(w,g){var x=hw();g=g===void 0?null:g;var b=w();if(Sg){O0(!0);try{w()}finally{O0(!1)}}return x.memoizedState=[b,g],b}function X3(w,g){var x=T0();g=g===void 0?null:g;var b=x.memoizedState;if(g!==null&&Y9(g,b[1]))return b[0];if(b=w(),Sg){O0(!0);try{w()}finally{O0(!1)}}return x.memoizedState=[b,g],b}function T9(w,g){var x=hw();return d9(x,w,g)}function _z(w,g){var x=T0();return Fz(x,S0.memoizedState,w,g)}function Pz(w,g){var x=T0();return S0===null?d9(x,w,g):Fz(x,S0.memoizedState,w,g)}function d9(w,g,x){if(x===void 0||(c2&1073741824)!==0)return w.memoizedState=g;return w.memoizedState=x,w=CB(),i.lanes|=w,i2|=w,x}function Fz(w,g,x,b){if(Sw(x,g))return x;if(D4.current!==null)return w=d9(w,x,b),Sw(w,g)||(Mw=!0),w;if((c2&42)===0)return Mw=!0,w.memoizedState=x;return w=CB(),i.lanes|=w,i2|=w,g}function Cz(w,g,x,b,z){var B=_0.p;_0.p=B!==0&&B<C1?B:C1;var R=q.T,N={};q.T=N,f9(w,!1,g,x),N._updatedFibers=new Set;try{var G=z(),X=q.S;if(X!==null&&X(N,G),G!==null&&typeof G==="object"&&typeof G.then==="function"){var U=MX(G,b);F5(w,g,U,ew(w))}else F5(w,g,b,ew(w))}catch(L){F5(w,g,{then:function(){},status:"rejected",reason:L},ew(w))}finally{_0.p=B,q.T=R,R===null&&N._updatedFibers&&(w=N._updatedFibers.size,N._updatedFibers.clear(),10<w&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function j9(w,g,x,b){if(w.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var z=Tz(w).queue;Cz(w,z,g,tg,x===null?K:function(){return dz(w),x(b)})}function Tz(w){var g=w.memoizedState;if(g!==null)return g;g={memoizedState:tg,baseState:tg,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:P1,lastRenderedState:tg},next:null};var x={};return g.next={memoizedState:x,baseState:x,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:P1,lastRenderedState:x},next:null},w.memoizedState=g,w=w.alternate,w!==null&&(w.memoizedState=g),g}function dz(w){q.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var g=Tz(w).next.queue;F5(w,g,{},ew(w))}function S9(){var w=W9(!1);return w=Cz.bind(null,i,w.queue,!0,!1),hw().memoizedState=w,[!1,w]}function jz(){var w=N4(P1)[0],g=T0().memoizedState;return[typeof w==="boolean"?w:_5(w),g]}function Sz(){var w=P5(P1)[0],g=T0().memoizedState;return[typeof w==="boolean"?w:_5(w),g]}function Ag(){return t0(Cx)}function E9(){var w=hw(),g=y0.identifierPrefix;if(q0){var x=U2,b=J2;x=(b&~(1<<32-dw(b)-1)).toString(32)+x,g="«"+g+"R"+x,x=R6++,0<x&&(g+="H"+x.toString(32)),g+="»"}else x=kY++,g="«"+g+"r"+x.toString(32)+"»";return w.memoizedState=g}function y9(){return hw().memoizedState=LX.bind(null,i)}function LX(w,g){for(var x=w.return;x!==null;){switch(x.tag){case 24:case 3:var b=ew(x);w=T2(b);var z=d2(x,w,b);z!==null&&(xw(z,x,b),O5(z,x,b)),x=z9(),g!==null&&g!==void 0&&z!==null&&console.error("The seed argument is not enabled outside experimental channels."),w.payload={cache:x};return}x=x.return}}function IX(w,g,x){var b=arguments;typeof b[3]==="function"&&console.error("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()."),b=ew(w);var z={lane:b,revertLane:0,action:x,hasEagerState:!1,eagerState:null,next:null};Z3(w)?yz(g,z):(z=a6(w,g,z,b),z!==null&&(xw(z,w,b),fz(z,g,b))),x2(w,b)}function Ez(w,g,x){var b=arguments;typeof b[3]==="function"&&console.error("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()."),b=ew(w),F5(w,g,x,b),x2(w,b)}function F5(w,g,x,b){var z={lane:b,revertLane:0,action:x,hasEagerState:!1,eagerState:null,next:null};if(Z3(w))yz(g,z);else{var B=w.alternate;if(w.lanes===0&&(B===null||B.lanes===0)&&(B=g.lastRenderedReducer,B!==null)){var R=q.H;q.H=j1;try{var N=g.lastRenderedState,G=B(N,x);if(z.hasEagerState=!0,z.eagerState=G,Sw(G,N))return tx(w,g,z,0),y0===null&&sx(),!1}catch(X){}finally{q.H=R}}if(x=a6(w,g,z,b),x!==null)return xw(x,w,b),fz(x,g,b),!0}return!1}function f9(w,g,x,b){if(q.T===null&&Tg===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),b={lane:2,revertLane:Hb(),action:b,hasEagerState:!1,eagerState:null,next:null},Z3(w)){if(g)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else g=a6(w,x,b,2),g!==null&&xw(g,w,2);x2(w,2)}function Z3(w){var g=w.alternate;return w===i||g!==null&&g===i}function yz(w,g){u4=B6=!0;var x=w.pending;x===null?g.next=g:(g.next=x.next,x.next=g),w.pending=g}function fz(w,g,x){if((x&4194048)!==0){var b=g.lanes;b&=w.pendingLanes,x|=b,g.lanes=x,$5(w,x)}}function Uw(w){var g=R0;return w!=null&&(R0=g===null?w:g.concat(w)),g}function Y3(w,g,x){for(var b=Object.keys(w.props),z=0;z<b.length;z++){var B=b[z];if(B!=="children"&&B!=="key"){g===null&&(g=cx(w,x.mode,0),g._debugInfo=R0,g.return=x),k(g,function(R){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",R)},B);break}}}function v3(w){var g=Hx;return Hx+=1,h4===null&&(h4=bz()),Bz(h4,w,g)}function C5(w,g){g=g.props.ref,w.ref=g!==void 0?g:null}function H3(w,g){if(g.$$typeof===KZ)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
107
|
+
- Multiple copies of the "react" package is used.
|
|
108
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
109
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw w=Object.prototype.toString.call(g),Error("Objects are not valid as a React child (found: "+(w==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":w)+"). If you meant to render a collection of children, use an array instead.")}function M3(w,g){var x=S(w)||"Component";Z$[x]||(Z$[x]=!0,g=g.displayName||g.name||"Component",w.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
110
|
+
root.render(%s)`,g,g,g):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
111
|
+
<%s>{%s}</%s>`,g,g,x,g,x))}function J3(w,g){var x=S(w)||"Component";Y$[x]||(Y$[x]=!0,g=String(g),w.tag===3?console.error(`Symbols are not valid as a React child.
|
|
112
|
+
root.render(%s)`,g):console.error(`Symbols are not valid as a React child.
|
|
113
|
+
<%s>%s</%s>`,x,g,x))}function Vz(w){function g(Z,Y){if(w){var v=Z.deletions;v===null?(Z.deletions=[Y],Z.flags|=16):v.push(Y)}}function x(Z,Y){if(!w)return null;for(;Y!==null;)g(Z,Y),Y=Y.sibling;return null}function b(Z){for(var Y=new Map;Z!==null;)Z.key!==null?Y.set(Z.key,Z):Y.set(Z.index,Z),Z=Z.sibling;return Y}function z(Z,Y){return Z=z2(Z,Y),Z.index=0,Z.sibling=null,Z}function B(Z,Y,v){if(Z.index=v,!w)return Z.flags|=1048576,Y;if(v=Z.alternate,v!==null)return v=v.index,v<Y?(Z.flags|=67108866,Y):v;return Z.flags|=67108866,Y}function R(Z){return w&&Z.alternate===null&&(Z.flags|=67108866),Z}function N(Z,Y,v,W){if(Y===null||Y.tag!==6)return Y=n6(v,Z.mode,W),Y.return=Z,Y._debugOwner=Z,Y._debugTask=Z._debugTask,Y._debugInfo=R0,Y;return Y=z(Y,v),Y.return=Z,Y._debugInfo=R0,Y}function G(Z,Y,v,W){var d=v.type;if(d===L4)return Y=U(Z,Y,v.props.children,W,v.key),Y3(v,Y,Z),Y;if(Y!==null&&(Y.elementType===d||t7(Y,v)||typeof d==="object"&&d!==null&&d.$$typeof===w1&&p2(d)===Y.type))return Y=z(Y,v.props),C5(Y,v),Y.return=Z,Y._debugOwner=v._owner,Y._debugInfo=R0,Y;return Y=cx(v,Z.mode,W),C5(Y,v),Y.return=Z,Y._debugInfo=R0,Y}function X(Z,Y,v,W){if(Y===null||Y.tag!==4||Y.stateNode.containerInfo!==v.containerInfo||Y.stateNode.implementation!==v.implementation)return Y=r6(v,Z.mode,W),Y.return=Z,Y._debugInfo=R0,Y;return Y=z(Y,v.children||[]),Y.return=Z,Y._debugInfo=R0,Y}function U(Z,Y,v,W,d){if(Y===null||Y.tag!==7)return Y=Hg(v,Z.mode,W,d),Y.return=Z,Y._debugOwner=Z,Y._debugTask=Z._debugTask,Y._debugInfo=R0,Y;return Y=z(Y,v),Y.return=Z,Y._debugInfo=R0,Y}function L(Z,Y,v){if(typeof Y==="string"&&Y!==""||typeof Y==="number"||typeof Y==="bigint")return Y=n6(""+Y,Z.mode,v),Y.return=Z,Y._debugOwner=Z,Y._debugTask=Z._debugTask,Y._debugInfo=R0,Y;if(typeof Y==="object"&&Y!==null){switch(Y.$$typeof){case D2:return v=cx(Y,Z.mode,v),C5(v,Y),v.return=Z,Z=Uw(Y._debugInfo),v._debugInfo=R0,R0=Z,v;case q4:return Y=r6(Y,Z.mode,v),Y.return=Z,Y._debugInfo=R0,Y;case w1:var W=Uw(Y._debugInfo);return Y=p2(Y),Z=L(Z,Y,v),R0=W,Z}if(Lw(Y)||E0(Y))return v=Hg(Y,Z.mode,v,null),v.return=Z,v._debugOwner=Z,v._debugTask=Z._debugTask,Z=Uw(Y._debugInfo),v._debugInfo=R0,R0=Z,v;if(typeof Y.then==="function")return W=Uw(Y._debugInfo),Z=L(Z,v3(Y),v),R0=W,Z;if(Y.$$typeof===t1)return L(Z,ix(Z,Y),v);H3(Z,Y)}return typeof Y==="function"&&M3(Z,Y),typeof Y==="symbol"&&J3(Z,Y),null}function M(Z,Y,v,W){var d=Y!==null?Y.key:null;if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return d!==null?null:N(Z,Y,""+v,W);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case D2:return v.key===d?(d=Uw(v._debugInfo),Z=G(Z,Y,v,W),R0=d,Z):null;case q4:return v.key===d?X(Z,Y,v,W):null;case w1:return d=Uw(v._debugInfo),v=p2(v),Z=M(Z,Y,v,W),R0=d,Z}if(Lw(v)||E0(v)){if(d!==null)return null;return d=Uw(v._debugInfo),Z=U(Z,Y,v,W,null),R0=d,Z}if(typeof v.then==="function")return d=Uw(v._debugInfo),Z=M(Z,Y,v3(v),W),R0=d,Z;if(v.$$typeof===t1)return M(Z,Y,ix(Z,v),W);H3(Z,v)}return typeof v==="function"&&M3(Z,v),typeof v==="symbol"&&J3(Z,v),null}function I(Z,Y,v,W,d){if(typeof W==="string"&&W!==""||typeof W==="number"||typeof W==="bigint")return Z=Z.get(v)||null,N(Y,Z,""+W,d);if(typeof W==="object"&&W!==null){switch(W.$$typeof){case D2:return v=Z.get(W.key===null?v:W.key)||null,Z=Uw(W._debugInfo),Y=G(Y,v,W,d),R0=Z,Y;case q4:return Z=Z.get(W.key===null?v:W.key)||null,X(Y,Z,W,d);case w1:var r=Uw(W._debugInfo);return W=p2(W),Y=I(Z,Y,v,W,d),R0=r,Y}if(Lw(W)||E0(W))return v=Z.get(v)||null,Z=Uw(W._debugInfo),Y=U(Y,v,W,d,null),R0=Z,Y;if(typeof W.then==="function")return r=Uw(W._debugInfo),Y=I(Z,Y,v,v3(W),d),R0=r,Y;if(W.$$typeof===t1)return I(Z,Y,v,ix(Y,W),d);H3(Y,W)}return typeof W==="function"&&M3(Y,W),typeof W==="symbol"&&J3(Y,W),null}function y(Z,Y,v,W){if(typeof v!=="object"||v===null)return W;switch(v.$$typeof){case D2:case q4:t(Z,Y,v);var d=v.key;if(typeof d!=="string")break;if(W===null){W=new Set,W.add(d);break}if(!W.has(d)){W.add(d);break}k(Y,function(){console.error("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.",d)});break;case w1:v=p2(v),y(Z,Y,v,W)}return W}function c(Z,Y,v,W){for(var d=null,r=null,f=null,e=Y,x0=Y=0,k0=null;e!==null&&x0<v.length;x0++){e.index>x0?(k0=e,e=null):k0=e.sibling;var zw=M(Z,e,v[x0],W);if(zw===null){e===null&&(e=k0);break}d=y(Z,zw,v[x0],d),w&&e&&zw.alternate===null&&g(Z,e),Y=B(zw,Y,x0),f===null?r=zw:f.sibling=zw,f=zw,e=k0}if(x0===v.length)return x(Z,e),q0&&Mg(Z,x0),r;if(e===null){for(;x0<v.length;x0++)e=L(Z,v[x0],W),e!==null&&(d=y(Z,e,v[x0],d),Y=B(e,Y,x0),f===null?r=e:f.sibling=e,f=e);return q0&&Mg(Z,x0),r}for(e=b(e);x0<v.length;x0++)k0=I(e,Z,x0,v[x0],W),k0!==null&&(d=y(Z,k0,v[x0],d),w&&k0.alternate!==null&&e.delete(k0.key===null?x0:k0.key),Y=B(k0,Y,x0),f===null?r=k0:f.sibling=k0,f=k0);return w&&e.forEach(function(m2){return g(Z,m2)}),q0&&Mg(Z,x0),r}function f0(Z,Y,v,W){if(v==null)throw Error("An iterable object provided no iterator.");for(var d=null,r=null,f=Y,e=Y=0,x0=null,k0=null,zw=v.next();f!==null&&!zw.done;e++,zw=v.next()){f.index>e?(x0=f,f=null):x0=f.sibling;var m2=M(Z,f,zw.value,W);if(m2===null){f===null&&(f=x0);break}k0=y(Z,m2,zw.value,k0),w&&f&&m2.alternate===null&&g(Z,f),Y=B(m2,Y,e),r===null?d=m2:r.sibling=m2,r=m2,f=x0}if(zw.done)return x(Z,f),q0&&Mg(Z,e),d;if(f===null){for(;!zw.done;e++,zw=v.next())f=L(Z,zw.value,W),f!==null&&(k0=y(Z,f,zw.value,k0),Y=B(f,Y,e),r===null?d=f:r.sibling=f,r=f);return q0&&Mg(Z,e),d}for(f=b(f);!zw.done;e++,zw=v.next())x0=I(f,Z,e,zw.value,W),x0!==null&&(k0=y(Z,x0,zw.value,k0),w&&x0.alternate!==null&&f.delete(x0.key===null?e:x0.key),Y=B(x0,Y,e),r===null?d=x0:r.sibling=x0,r=x0);return w&&f.forEach(function(vv){return g(Z,vv)}),q0&&Mg(Z,e),d}function J0(Z,Y,v,W){if(typeof v==="object"&&v!==null&&v.type===L4&&v.key===null&&(Y3(v,null,Z),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case D2:var d=Uw(v._debugInfo);w:{for(var r=v.key;Y!==null;){if(Y.key===r){if(r=v.type,r===L4){if(Y.tag===7){x(Z,Y.sibling),W=z(Y,v.props.children),W.return=Z,W._debugOwner=v._owner,W._debugInfo=R0,Y3(v,W,Z),Z=W;break w}}else if(Y.elementType===r||t7(Y,v)||typeof r==="object"&&r!==null&&r.$$typeof===w1&&p2(r)===Y.type){x(Z,Y.sibling),W=z(Y,v.props),C5(W,v),W.return=Z,W._debugOwner=v._owner,W._debugInfo=R0,Z=W;break w}x(Z,Y);break}else g(Z,Y);Y=Y.sibling}v.type===L4?(W=Hg(v.props.children,Z.mode,W,v.key),W.return=Z,W._debugOwner=Z,W._debugTask=Z._debugTask,W._debugInfo=R0,Y3(v,W,Z),Z=W):(W=cx(v,Z.mode,W),C5(W,v),W.return=Z,W._debugInfo=R0,Z=W)}return Z=R(Z),R0=d,Z;case q4:w:{d=v;for(v=d.key;Y!==null;){if(Y.key===v)if(Y.tag===4&&Y.stateNode.containerInfo===d.containerInfo&&Y.stateNode.implementation===d.implementation){x(Z,Y.sibling),W=z(Y,d.children||[]),W.return=Z,Z=W;break w}else{x(Z,Y);break}else g(Z,Y);Y=Y.sibling}W=r6(d,Z.mode,W),W.return=Z,Z=W}return R(Z);case w1:return d=Uw(v._debugInfo),v=p2(v),Z=J0(Z,Y,v,W),R0=d,Z}if(Lw(v))return d=Uw(v._debugInfo),Z=c(Z,Y,v,W),R0=d,Z;if(E0(v)){if(d=Uw(v._debugInfo),r=E0(v),typeof r!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var f=r.call(v);if(f===v){if(Z.tag!==0||Object.prototype.toString.call(Z.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(f)!=="[object Generator]")G$||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),G$=!0}else v.entries!==r||K8||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),K8=!0);return Z=f0(Z,Y,f,W),R0=d,Z}if(typeof v.then==="function")return d=Uw(v._debugInfo),Z=J0(Z,Y,v3(v),W),R0=d,Z;if(v.$$typeof===t1)return J0(Z,Y,ix(Z,v),W);H3(Z,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return d=""+v,Y!==null&&Y.tag===6?(x(Z,Y.sibling),W=z(Y,d),W.return=Z,Z=W):(x(Z,Y),W=n6(d,Z.mode,W),W.return=Z,W._debugOwner=Z,W._debugTask=Z._debugTask,W._debugInfo=R0,Z=W),R(Z);return typeof v==="function"&&M3(Z,v),typeof v==="symbol"&&J3(Z,v),x(Z,Y)}return function(Z,Y,v,W){var d=R0;R0=null;try{Hx=0;var r=J0(Z,Y,v,W);return h4=null,r}catch(k0){if(k0===Xx||k0===x6)throw k0;var f=C(29,k0,null,Z.mode);f.lanes=W,f.return=Z;var e=f._debugInfo=R0;if(f._debugOwner=Z._debugOwner,f._debugTask=Z._debugTask,e!=null){for(var x0=e.length-1;0<=x0;x0--)if(typeof e[x0].stack==="string"){f._debugOwner=e[x0],f._debugTask=e[x0].debugTask;break}}return f}finally{R0=d}}}function S2(w){var g=w.alternate;B0(Yw,Yw.current&s4,w),B0(L1,w,w),e1===null&&(g===null||D4.current!==null?e1=w:g.memoizedState!==null&&(e1=w))}function Dz(w){if(w.tag===22){if(B0(Yw,Yw.current,w),B0(L1,w,w),e1===null){var g=w.alternate;g!==null&&g.memoizedState!==null&&(e1=w)}}else E2(w)}function E2(w){B0(Yw,Yw.current,w),B0(L1,L1.current,w)}function N2(w){A0(L1,w),e1===w&&(e1=null),A0(Yw,w)}function U3(w){for(var g=w;g!==null;){if(g.tag===13){var x=g.memoizedState;if(x!==null&&(x=x.dehydrated,x===null||x.data===A2||Kb(x)))return g}else if(g.tag===19&&g.memoizedProps.revealOrder!==void 0){if((g.flags&128)!==0)return g}else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===w)break;for(;g.sibling===null;){if(g.return===null||g.return===w)return null;g=g.return}g.sibling.return=g.return,g=g.sibling}return null}function V9(w){if(w!==null&&typeof w!=="function"){var g=String(w);O$.has(g)||(O$.add(g),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",w))}}function D9(w,g,x,b){var z=w.memoizedState,B=x(b,z);if(w.mode&Cw){O0(!0);try{B=x(b,z)}finally{O0(!1)}}B===void 0&&(g=z0(g)||"Component",L$.has(g)||(L$.add(g),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",g))),z=B===null||B===void 0?z:$0({},z,B),w.memoizedState=z,w.lanes===0&&(w.updateQueue.baseState=z)}function kz(w,g,x,b,z,B,R){var N=w.stateNode;if(typeof N.shouldComponentUpdate==="function"){if(x=N.shouldComponentUpdate(b,B,R),w.mode&Cw){O0(!0);try{x=N.shouldComponentUpdate(b,B,R)}finally{O0(!1)}}return x===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",z0(g)||"Component"),x}return g.prototype&&g.prototype.isPureReactComponent?!U5(x,b)||!U5(z,B):!0}function uz(w,g,x,b){var z=g.state;typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps(x,b),typeof g.UNSAFE_componentWillReceiveProps==="function"&&g.UNSAFE_componentWillReceiveProps(x,b),g.state!==z&&(w=S(w)||"Component",M$.has(w)||(M$.add(w),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",w)),m8.enqueueReplaceState(g,g.state,null))}function Og(w,g){var x=g;if("ref"in g){x={};for(var b in g)b!=="ref"&&(x[b]=g[b])}if(w=w.defaultProps){x===g&&(x=$0({},x));for(var z in w)x[z]===void 0&&(x[z]=w[z])}return x}function hz(w){_8(w),console.warn(`%s
|
|
114
|
+
|
|
115
|
+
%s
|
|
116
|
+
`,t4?"An error occurred in the <"+t4+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
117
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function lz(w){var g=t4?"The above error occurred in the <"+t4+"> component.":"The above error occurred in one of your React components.",x="React will try to recreate this component tree from scratch using the error boundary you provided, "+((P8||"Anonymous")+".");if(typeof w==="object"&&w!==null&&typeof w.environmentName==="string"){var b=w.environmentName;w=[`%o
|
|
118
|
+
|
|
119
|
+
%s
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
`,w,g,x].slice(0),typeof w[0]==="string"?w.splice(0,1,xG+w[0],bG,m6+b+m6,zG):w.splice(0,0,xG,bG,m6+b+m6,zG),w.unshift(console),b=Zv.apply(console.error,w),b()}else console.error(`%o
|
|
123
|
+
|
|
124
|
+
%s
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
`,w,g,x)}function sz(w){_8(w)}function Q3(w,g){try{t4=g.source?S(g.source):null,P8=null;var x=g.value;if(q.actQueue!==null)q.thrownErrors.push(x);else{var b=w.onUncaughtError;b(x,{componentStack:g.stack})}}catch(z){setTimeout(function(){throw z})}}function tz(w,g,x){try{t4=x.source?S(x.source):null,P8=S(g);var b=w.onCaughtError;b(x.value,{componentStack:x.stack,errorBoundary:g.tag===1?g.stateNode:null})}catch(z){setTimeout(function(){throw z})}}function k9(w,g,x){return x=T2(x),x.tag=U8,x.payload={element:null},x.callback=function(){k(g.source,Q3,w,g)},x}function u9(w){return w=T2(w),w.tag=U8,w}function h9(w,g,x,b){var z=x.type.getDerivedStateFromError;if(typeof z==="function"){var B=b.value;w.payload=function(){return z(B)},w.callback=function(){a7(x),k(b.source,tz,g,x,b)}}var R=x.stateNode;R!==null&&typeof R.componentDidCatch==="function"&&(w.callback=function(){a7(x),k(b.source,tz,g,x,b),typeof z!=="function"&&(r2===null?r2=new Set([this]):r2.add(this)),hY(this,b),typeof z==="function"||(x.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",S(x)||"Unknown")})}function WX(w,g,x,b,z){if(x.flags|=32768,F1&&f5(w,z),b!==null&&typeof b==="object"&&typeof b.then==="function"){if(g=x.alternate,g!==null&&I5(g,x,z,!0),q0&&(Q2=!0),x=L1.current,x!==null){switch(x.tag){case 13:return e1===null?Nb():x.alternate===null&&i0===W2&&(i0=d8),x.flags&=-257,x.flags|=65536,x.lanes=z,b===J8?x.flags|=16384:(g=x.updateQueue,g===null?x.updateQueue=new Set([b]):g.add(b),Xb(w,b,z)),!1;case 22:return x.flags|=65536,b===J8?x.flags|=16384:(g=x.updateQueue,g===null?(g={transitions:null,markerInstances:null,retryQueue:new Set([b])},x.updateQueue=g):(x=g.retryQueue,x===null?g.retryQueue=new Set([b]):x.add(b)),Xb(w,b,z)),!1}throw Error("Unexpected Suspense handler tag ("+x.tag+"). This is a bug in React.")}return Xb(w,b,z),Nb(),!1}if(q0)return Q2=!0,g=L1.current,g!==null?((g.flags&65536)===0&&(g.flags|=256),g.flags|=65536,g.lanes=z,b!==Y8&&L5(iw(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:b}),x))):(b!==Y8&&L5(iw(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:b}),x)),w=w.current.alternate,w.flags|=65536,z&=-z,w.lanes|=z,b=iw(b,x),z=k9(w.stateNode,b,z),g3(w,z),i0!==Eg&&(i0=o4)),!1;var B=iw(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:b}),x);if(Wx===null?Wx=[B]:Wx.push(B),i0!==Eg&&(i0=o4),g===null)return!0;b=iw(b,x),x=g;do{switch(x.tag){case 3:return x.flags|=65536,w=z&-z,x.lanes|=w,w=k9(x.stateNode,b,w),g3(x,w),!1;case 1:if(g=x.type,B=x.stateNode,(x.flags&128)===0&&(typeof g.getDerivedStateFromError==="function"||B!==null&&typeof B.componentDidCatch==="function"&&(r2===null||!r2.has(B))))return x.flags|=65536,z&=-z,x.lanes|=z,z=u9(z),h9(z,w,x,b),g3(x,z),!1}x=x.return}while(x!==null);return!1}function Qw(w,g,x,b){g.child=w===null?v$(g,null,x,b):l4(g,w.child,x,b)}function az(w,g,x,b,z){x=x.render;var B=g.ref;if("ref"in b){var R={};for(var N in b)N!=="ref"&&(R[N]=b[N])}else R=b;if(qg(g),R1(g),b=v9(w,g,x,R,B,z),N=M9(),O1(),w!==null&&!Mw)return J9(w,g,z),$2(w,g,z);return q0&&N&&e6(g),g.flags|=1,Qw(w,g,b,z),g.child}function cz(w,g,x,b,z){if(w===null){var B=x.type;if(typeof B==="function"&&!o6(B)&&B.defaultProps===void 0&&x.compare===null)return x=vg(B),g.tag=15,g.type=x,s9(g,B),pz(w,g,x,b,z);return w=i6(x.type,null,b,g,g.mode,z),w.ref=g.ref,w.return=g,g.child=w}if(B=w.child,!i9(w,z)){var R=B.memoizedProps;if(x=x.compare,x=x!==null?x:U5,x(R,b)&&w.ref===g.ref)return $2(w,g,z)}return g.flags|=1,w=z2(B,b),w.ref=g.ref,w.return=g,g.child=w}function pz(w,g,x,b,z){if(w!==null){var B=w.memoizedProps;if(U5(B,b)&&w.ref===g.ref&&g.type===w.type)if(Mw=!1,g.pendingProps=b=B,i9(w,z))(w.flags&131072)!==0&&(Mw=!0);else return g.lanes=w.lanes,$2(w,g,z)}return l9(w,g,x,b,z)}function oz(w,g,x){var b=g.pendingProps,z=b.children,B=w!==null?w.memoizedState:null;if(b.mode==="hidden"){if((g.flags&128)!==0){if(b=B!==null?B.baseLanes|x:x,w!==null){z=g.child=w.child;for(B=0;z!==null;)B=B|z.lanes|z.childLanes,z=z.sibling;g.childLanes=B&~b}else g.childLanes=0,g.child=null;return iz(w,g,b,x)}if((x&536870912)!==0)g.memoizedState={baseLanes:0,cachePool:null},w!==null&&ex(g,B!==null?B.cachePool:null),B!==null?Xz(g,B):X9(g),Dz(g);else return g.lanes=g.childLanes=536870912,iz(w,g,B!==null?B.baseLanes|x:x,x)}else B!==null?(ex(g,B.cachePool),Xz(g,B),E2(g),g.memoizedState=null):(w!==null&&ex(g,null),X9(g),E2(g));return Qw(w,g,z,x),g.child}function iz(w,g,x,b){var z=N9();return z=z===null?null:{parent:Xw._currentValue,pool:z},g.memoizedState={baseLanes:x,cachePool:z},w!==null&&ex(g,null),X9(g),Dz(g),w!==null&&I5(w,g,b,!0),null}function q3(w,g){var x=g.ref;if(x===null)w!==null&&w.ref!==null&&(g.flags|=4194816);else{if(typeof x!=="function"&&typeof x!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(w===null||w.ref!==x)g.flags|=4194816}}function l9(w,g,x,b,z){if(x.prototype&&typeof x.prototype.render==="function"){var B=z0(x)||"Unknown";m$[B]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),m$[B]=!0)}if(g.mode&Cw&&d1.recordLegacyContextWarning(g,null),w===null&&(s9(g,g.type),x.contextTypes&&(B=z0(x)||"Unknown",P$[B]||(P$[B]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",B)))),qg(g),R1(g),x=v9(w,g,x,b,void 0,z),b=M9(),O1(),w!==null&&!Mw)return J9(w,g,z),$2(w,g,z);return q0&&b&&e6(g),g.flags|=1,Qw(w,g,x,z),g.child}function nz(w,g,x,b,z,B){if(qg(g),R1(g),L2=-1,vx=w!==null&&w.type!==g.type,g.updateQueue=null,x=H9(g,b,x,z),Zz(w,g),b=M9(),O1(),w!==null&&!Mw)return J9(w,g,B),$2(w,g,B);return q0&&b&&e6(g),g.flags|=1,Qw(w,g,x,B),g.child}function rz(w,g,x,b,z){switch(W0(g)){case!1:var B=g.stateNode,R=new g.type(g.memoizedProps,B.context).state;B.updater.enqueueSetState(B,R,null);break;case!0:g.flags|=128,g.flags|=65536,B=Error("Simulated error coming from DevTools");var N=z&-z;if(g.lanes|=N,R=y0,R===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");N=u9(N),h9(N,R,g,iw(B,g)),g3(g,N)}if(qg(g),g.stateNode===null){if(R=t2,B=x.contextType,"contextType"in x&&B!==null&&(B===void 0||B.$$typeof!==t1)&&!A$.has(x)&&(A$.add(x),N=B===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof B!=="object"?" However, it is set to a "+typeof B+".":B.$$typeof===yb?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(B).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",z0(x)||"Component",N)),typeof B==="object"&&B!==null&&(R=t0(B)),B=new x(b,R),g.mode&Cw){O0(!0);try{B=new x(b,R)}finally{O0(!1)}}if(R=g.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=m8,g.stateNode=B,B._reactInternals=g,B._reactInternalInstance=H$,typeof x.getDerivedStateFromProps==="function"&&R===null&&(R=z0(x)||"Component",J$.has(R)||(J$.add(R),console.error("`%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.",R,B.state===null?"null":"undefined",R))),typeof x.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var G=N=R=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?R="componentWillMount":typeof B.UNSAFE_componentWillMount==="function"&&(R="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?N="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps==="function"&&(N="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?G="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate==="function"&&(G="UNSAFE_componentWillUpdate"),R!==null||N!==null||G!==null){B=z0(x)||"Component";var X=typeof x.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Q$.has(B)||(Q$.add(B),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
128
|
+
|
|
129
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
130
|
+
|
|
131
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
132
|
+
https://react.dev/link/unsafe-component-lifecycles`,B,X,R!==null?`
|
|
133
|
+
`+R:"",N!==null?`
|
|
134
|
+
`+N:"",G!==null?`
|
|
135
|
+
`+G:""))}}B=g.stateNode,R=z0(x)||"Component",B.render||(x.prototype&&typeof x.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",R):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",R)),!B.getInitialState||B.getInitialState.isReactClassApproved||B.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",R),B.getDefaultProps&&!B.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",R),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",R),x.childContextTypes&&!W$.has(x)&&(W$.add(x),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",R)),x.contextTypes&&!I$.has(x)&&(I$.add(x),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",R)),typeof B.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",R),x.prototype&&x.prototype.isPureReactComponent&&typeof B.shouldComponentUpdate!=="undefined"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",z0(x)||"A pure component"),typeof B.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",R),typeof B.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",R),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",R),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",R),N=B.props!==b,B.props!==void 0&&N&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",R),B.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",R,R),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||U$.has(x)||(U$.add(x),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",z0(x))),typeof B.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof B.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",R),typeof x.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",R),(N=B.state)&&(typeof N!=="object"||Lw(N))&&console.error("%s.state: must be set to an object or null",R),typeof B.getChildContext==="function"&&typeof x.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",R),B=g.stateNode,B.props=b,B.state=g.memoizedState,B.refs={},$9(g),R=x.contextType,B.context=typeof R==="object"&&R!==null?t0(R):t2,B.state===b&&(R=z0(x)||"Component",q$.has(R)||(q$.add(R),console.error("%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.",R))),g.mode&Cw&&d1.recordLegacyContextWarning(g,B),d1.recordUnsafeLifecycleWarnings(g,B),B.state=g.memoizedState,R=x.getDerivedStateFromProps,typeof R==="function"&&(D9(g,x,R,b),B.state=g.memoizedState),typeof x.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(R=B.state,typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount(),R!==B.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",S(g)||"Component"),m8.enqueueReplaceState(B,B.state,null)),m5(g,b,B,z),K5(),B.state=g.memoizedState),typeof B.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&T1)!==D0&&(g.flags|=134217728),B=!0}else if(w===null){B=g.stateNode;var U=g.memoizedProps;N=Og(x,U),B.props=N;var L=B.context;G=x.contextType,R=t2,typeof G==="object"&&G!==null&&(R=t0(G)),X=x.getDerivedStateFromProps,G=typeof X==="function"||typeof B.getSnapshotBeforeUpdate==="function",U=g.pendingProps!==U,G||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(U||L!==R)&&uz(g,B,b,R),a2=!1;var M=g.memoizedState;B.state=M,m5(g,b,B,z),K5(),L=g.memoizedState,U||M!==L||a2?(typeof X==="function"&&(D9(g,x,X,b),L=g.memoizedState),(N=a2||kz(g,x,N,b,M,L,R))?(G||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&T1)!==D0&&(g.flags|=134217728)):(typeof B.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&T1)!==D0&&(g.flags|=134217728),g.memoizedProps=b,g.memoizedState=L),B.props=b,B.state=L,B.context=R,B=N):(typeof B.componentDidMount==="function"&&(g.flags|=4194308),(g.mode&T1)!==D0&&(g.flags|=134217728),B=!1)}else{B=g.stateNode,G9(w,g),R=g.memoizedProps,G=Og(x,R),B.props=G,X=g.pendingProps,M=B.context,L=x.contextType,N=t2,typeof L==="object"&&L!==null&&(N=t0(L)),U=x.getDerivedStateFromProps,(L=typeof U==="function"||typeof B.getSnapshotBeforeUpdate==="function")||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(R!==X||M!==N)&&uz(g,B,b,N),a2=!1,M=g.memoizedState,B.state=M,m5(g,b,B,z),K5();var I=g.memoizedState;R!==X||M!==I||a2||w!==null&&w.dependencies!==null&&ox(w.dependencies)?(typeof U==="function"&&(D9(g,x,U,b),I=g.memoizedState),(G=a2||kz(g,x,G,b,M,I,N)||w!==null&&w.dependencies!==null&&ox(w.dependencies))?(L||typeof B.UNSAFE_componentWillUpdate!=="function"&&typeof B.componentWillUpdate!=="function"||(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate(b,I,N),typeof B.UNSAFE_componentWillUpdate==="function"&&B.UNSAFE_componentWillUpdate(b,I,N)),typeof B.componentDidUpdate==="function"&&(g.flags|=4),typeof B.getSnapshotBeforeUpdate==="function"&&(g.flags|=1024)):(typeof B.componentDidUpdate!=="function"||R===w.memoizedProps&&M===w.memoizedState||(g.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||R===w.memoizedProps&&M===w.memoizedState||(g.flags|=1024),g.memoizedProps=b,g.memoizedState=I),B.props=b,B.state=I,B.context=N,B=G):(typeof B.componentDidUpdate!=="function"||R===w.memoizedProps&&M===w.memoizedState||(g.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||R===w.memoizedProps&&M===w.memoizedState||(g.flags|=1024),B=!1)}if(N=B,q3(w,g),R=(g.flags&128)!==0,N||R){if(N=g.stateNode,E6(g),R&&typeof x.getDerivedStateFromError!=="function")x=null,tw=-1;else{if(R1(g),x=eN(N),g.mode&Cw){O0(!0);try{eN(N)}finally{O0(!1)}}O1()}g.flags|=1,w!==null&&R?(g.child=l4(g,w.child,null,z),g.child=l4(g,null,x,z)):Qw(w,g,x,z),g.memoizedState=N.state,w=g.child}else w=$2(w,g,z);return z=g.stateNode,B&&z.props!==b&&(a4||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",S(g)||"a component"),a4=!0),w}function ez(w,g,x,b){return q5(),g.flags|=256,Qw(w,g,x,b),g.child}function s9(w,g){g&&g.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
136
|
+
%s.childContextTypes = ...`,g.displayName||g.name||"Component"),typeof g.getDerivedStateFromProps==="function"&&(w=z0(g)||"Unknown",F$[w]||(console.error("%s: Function components do not support getDerivedStateFromProps.",w),F$[w]=!0)),typeof g.contextType==="object"&&g.contextType!==null&&(g=z0(g)||"Unknown",_$[g]||(console.error("%s: Function components do not support contextType.",g),_$[g]=!0))}function t9(w){return{baseLanes:w,cachePool:xz()}}function a9(w,g,x){return w=w!==null?w.childLanes&~x:0,g&&(w|=B1),w}function wB(w,g,x){var b,z=g.pendingProps;n(g)&&(g.flags|=128);var B=!1,R=(g.flags&128)!==0;if((b=R)||(b=w!==null&&w.memoizedState===null?!1:(Yw.current&Mx)!==0),b&&(B=!0,g.flags&=-129),b=(g.flags&32)!==0,g.flags&=-33,w===null){if(q0){if(B?S2(g):E2(g),q0){var N=o0,G;if(!(G=!N)){w:{var X=N;for(G=n1;X.nodeType!==8;){if(!G){G=null;break w}if(X=Z1(X.nextSibling),X===null){G=null;break w}}G=X}G!==null?(Jg(),g.memoizedState={dehydrated:G,treeContext:Pg!==null?{id:J2,overflow:U2}:null,retryLane:536870912,hydrationErrors:null},X=C(18,null,null,D0),X.stateNode=G,X.return=g,g.child=X,Ew=g,o0=null,G=!0):G=!1,G=!G}G&&(g9(g,N),Qg(g))}if(N=g.memoizedState,N!==null&&(N=N.dehydrated,N!==null))return Kb(N)?g.lanes=32:g.lanes=536870912,null;N2(g)}if(N=z.children,z=z.fallback,B)return E2(g),B=g.mode,N=L3({mode:"hidden",children:N},B),z=Hg(z,B,x,null),N.return=g,z.return=g,N.sibling=z,g.child=N,B=g.child,B.memoizedState=t9(x),B.childLanes=a9(w,b,x),g.memoizedState=C8,z;return S2(g),c9(g,N)}var U=w.memoizedState;if(U!==null&&(N=U.dehydrated,N!==null)){if(R)g.flags&256?(S2(g),g.flags&=-257,g=p9(w,g,x)):g.memoizedState!==null?(E2(g),g.child=w.child,g.flags|=128,g=null):(E2(g),B=z.fallback,N=g.mode,z=L3({mode:"visible",children:z.children},N),B=Hg(B,N,x,null),B.flags|=2,z.return=g,B.return=g,z.sibling=B,g.child=z,l4(g,w.child,null,x),z=g.child,z.memoizedState=t9(x),z.childLanes=a9(w,b,x),g.memoizedState=C8,g=B);else if(S2(g),q0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Kb(N)){if(b=N.nextSibling&&N.nextSibling.dataset,b){G=b.dgst;var L=b.msg;X=b.stck;var M=b.cstck}N=L,b=G,z=X,G=B=M,B=N?Error(N):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),B.stack=z||"",B.digest=b,b=G===void 0?null:G,z={value:B,source:null,stack:b},typeof b==="string"&&X8.set(B,z),L5(z),g=p9(w,g,x)}else if(Mw||I5(w,g,x,!1),b=(x&w.childLanes)!==0,Mw||b){if(b=y0,b!==null&&(z=x&-x,z=(z&42)!==0?1:g4(z),z=(z&(b.suspendedLanes|x))!==0?0:z,z!==0&&z!==U.retryLane))throw U.retryLane=z,uw(w,z),xw(b,w,z),K$;N.data===A2||Nb(),g=p9(w,g,x)}else N.data===A2?(g.flags|=192,g.child=w.child,g=null):(w=U.treeContext,o0=Z1(N.nextSibling),Ew=g,q0=!0,Fg=null,Q2=!1,J1=null,n1=!1,w!==null&&(Jg(),H1[M1++]=J2,H1[M1++]=U2,H1[M1++]=Pg,J2=w.id,U2=w.overflow,Pg=g),g=c9(g,z.children),g.flags|=4096);return g}if(B)return E2(g),B=z.fallback,N=g.mode,G=w.child,X=G.sibling,z=z2(G,{mode:"hidden",children:z.children}),z.subtreeFlags=G.subtreeFlags&65011712,X!==null?B=z2(X,B):(B=Hg(B,N,x,null),B.flags|=2),B.return=g,z.return=g,z.sibling=B,g.child=z,z=B,B=g.child,N=w.child.memoizedState,N===null?N=t9(x):(G=N.cachePool,G!==null?(X=Xw._currentValue,G=G.parent!==X?{parent:X,pool:X}:G):G=xz(),N={baseLanes:N.baseLanes|x,cachePool:G}),B.memoizedState=N,B.childLanes=a9(w,b,x),g.memoizedState=C8,z;return S2(g),x=w.child,w=x.sibling,x=z2(x,{mode:"visible",children:z.children}),x.return=g,x.sibling=null,w!==null&&(b=g.deletions,b===null?(g.deletions=[w],g.flags|=16):b.push(w)),g.child=x,g.memoizedState=null,x}function c9(w,g){return g=L3({mode:"visible",children:g},w.mode),g.return=w,w.child=g}function L3(w,g){return w=C(22,w,null,g),w.lanes=0,w.stateNode={_visibility:p3,_pendingMarkers:null,_retryCache:null,_transitions:null},w}function p9(w,g,x){return l4(g,w.child,null,x),w=c9(g,g.pendingProps.children),w.flags|=2,g.memoizedState=null,w}function gB(w,g,x){w.lanes|=g;var b=w.alternate;b!==null&&(b.lanes|=g),x9(w.return,g,x)}function xB(w,g){var x=Lw(w);return w=!x&&typeof E0(w)==="function",x||w?(x=x?"array":"iterable",console.error("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>",x,g,x),!1):!0}function o9(w,g,x,b,z){var B=w.memoizedState;B===null?w.memoizedState={isBackwards:g,rendering:null,renderingStartTime:0,last:b,tail:x,tailMode:z}:(B.isBackwards=g,B.rendering=null,B.renderingStartTime=0,B.last=b,B.tail=x,B.tailMode=z)}function bB(w,g,x){var b=g.pendingProps,z=b.revealOrder,B=b.tail;if(b=b.children,z!==void 0&&z!=="forwards"&&z!=="backwards"&&z!=="together"&&!C$[z])if(C$[z]=!0,typeof z==="string")switch(z.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',z,z.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',z,z.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',z)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',z);B===void 0||F8[B]||(B!=="collapsed"&&B!=="hidden"?(F8[B]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',B)):z!=="forwards"&&z!=="backwards"&&(F8[B]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',B)));w:if((z==="forwards"||z==="backwards")&&b!==void 0&&b!==null&&b!==!1)if(Lw(b)){for(var R=0;R<b.length;R++)if(!xB(b[R],R))break w}else if(R=E0(b),typeof R==="function"){if(R=R.call(b))for(var N=R.next(),G=0;!N.done;N=R.next()){if(!xB(N.value,G))break w;G++}}else console.error('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?',z);if(Qw(w,g,b,x),b=Yw.current,(b&Mx)!==0)b=b&s4|Mx,g.flags|=128;else{if(w!==null&&(w.flags&128)!==0)w:for(w=g.child;w!==null;){if(w.tag===13)w.memoizedState!==null&&gB(w,x,g);else if(w.tag===19)gB(w,x,g);else if(w.child!==null){w.child.return=w,w=w.child;continue}if(w===g)break w;for(;w.sibling===null;){if(w.return===null||w.return===g)break w;w=w.return}w.sibling.return=w.return,w=w.sibling}b&=s4}switch(B0(Yw,b,g),z){case"forwards":x=g.child;for(z=null;x!==null;)w=x.alternate,w!==null&&U3(w)===null&&(z=x),x=x.sibling;x=z,x===null?(z=g.child,g.child=null):(z=x.sibling,x.sibling=null),o9(g,!1,z,x,B);break;case"backwards":x=null,z=g.child;for(g.child=null;z!==null;){if(w=z.alternate,w!==null&&U3(w)===null){g.child=z;break}w=z.sibling,z.sibling=x,x=z,z=w}o9(g,!0,x,null,B);break;case"together":o9(g,!1,null,null,void 0);break;default:g.memoizedState=null}return g.child}function $2(w,g,x){if(w!==null&&(g.dependencies=w.dependencies),tw=-1,i2|=g.lanes,(x&g.childLanes)===0)if(w!==null){if(I5(w,g,x,!1),(x&g.childLanes)===0)return null}else return null;if(w!==null&&g.child!==w.child)throw Error("Resuming work not yet implemented.");if(g.child!==null){w=g.child,x=z2(w,w.pendingProps),g.child=x;for(x.return=g;w.sibling!==null;)w=w.sibling,x=x.sibling=z2(w,w.pendingProps),x.return=g;x.sibling=null}return g.child}function i9(w,g){if((w.lanes&g)!==0)return!0;return w=w.dependencies,w!==null&&ox(w)?!0:!1}function AX(w,g,x){switch(g.tag){case 3:_w(g,g.stateNode.containerInfo),C2(g,Xw,w.memoizedState.cache),q5();break;case 27:case 5:s(g);break;case 4:_w(g,g.stateNode.containerInfo);break;case 10:C2(g,g.type,g.memoizedProps.value);break;case 12:(x&g.childLanes)!==0&&(g.flags|=4),g.flags|=2048;var b=g.stateNode;b.effectDuration=-0,b.passiveEffectDuration=-0;break;case 13:if(b=g.memoizedState,b!==null){if(b.dehydrated!==null)return S2(g),g.flags|=128,null;if((x&g.child.childLanes)!==0)return wB(w,g,x);return S2(g),w=$2(w,g,x),w!==null?w.sibling:null}S2(g);break;case 19:var z=(w.flags&128)!==0;if(b=(x&g.childLanes)!==0,b||(I5(w,g,x,!1),b=(x&g.childLanes)!==0),z){if(b)return bB(w,g,x);g.flags|=128}if(z=g.memoizedState,z!==null&&(z.rendering=null,z.tail=null,z.lastEffect=null),B0(Yw,Yw.current,g),b)break;else return null;case 22:case 23:return g.lanes=0,oz(w,g,x);case 24:C2(g,Xw,w.memoizedState.cache)}return $2(w,g,x)}function n9(w,g,x){if(g._debugNeedsRemount&&w!==null){x=i6(g.type,g.key,g.pendingProps,g._debugOwner||null,g.mode,g.lanes),x._debugStack=g._debugStack,x._debugTask=g._debugTask;var b=g.return;if(b===null)throw Error("Cannot swap the root fiber.");if(w.alternate=null,g.alternate=null,x.index=g.index,x.sibling=g.sibling,x.return=g.return,x.ref=g.ref,x._debugInfo=g._debugInfo,g===b.child)b.child=x;else{var z=b.child;if(z===null)throw Error("Expected parent to have a child.");for(;z.sibling!==g;)if(z=z.sibling,z===null)throw Error("Expected to find the previous sibling.");z.sibling=x}return g=b.deletions,g===null?(b.deletions=[w],b.flags|=16):g.push(w),x.flags|=2,x}if(w!==null)if(w.memoizedProps!==g.pendingProps||g.type!==w.type)Mw=!0;else{if(!i9(w,x)&&(g.flags&128)===0)return Mw=!1,AX(w,g,x);Mw=(w.flags&131072)!==0?!0:!1}else{if(Mw=!1,b=q0)Jg(),b=(g.flags&1048576)!==0;b&&(b=g.index,Jg(),p7(g,i3,b))}switch(g.lanes=0,g.tag){case 16:w:if(b=g.pendingProps,w=p2(g.elementType),g.type=w,typeof w==="function")o6(w)?(b=Og(w,b),g.tag=1,g.type=w=vg(w),g=rz(null,g,w,b,x)):(g.tag=0,s9(g,w),g.type=w=vg(w),g=l9(null,g,w,b,x));else{if(w!==void 0&&w!==null){if(z=w.$$typeof,z===t5){g.tag=11,g.type=w=c6(w),g=az(null,g,w,b,x);break w}else if(z===f3){g.tag=14,g=cz(null,g,w,b,x);break w}}throw g="",w!==null&&typeof w==="object"&&w.$$typeof===w1&&(g=" Did you wrap a component in React.lazy() more than once?"),w=z0(w)||w,Error("Element type is invalid. Received a promise that resolves to: "+w+". Lazy element type must resolve to a class or function."+g)}return g;case 0:return l9(w,g,g.type,g.pendingProps,x);case 1:return b=g.type,z=Og(b,g.pendingProps),rz(w,g,b,z,x);case 3:w:{if(_w(g,g.stateNode.containerInfo),w===null)throw Error("Should have a current fiber. This is a bug in React.");b=g.pendingProps;var B=g.memoizedState;z=B.element,G9(w,g),m5(g,b,null,x);var R=g.memoizedState;if(b=R.cache,C2(g,Xw,b),b!==B.cache&&b9(g,[Xw],x,!0),K5(),b=R.element,B.isDehydrated)if(B={element:b,isDehydrated:!1,cache:R.cache},g.updateQueue.baseState=B,g.memoizedState=B,g.flags&256){g=ez(w,g,b,x);break w}else if(b!==z){z=iw(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),g),L5(z),g=ez(w,g,b,x);break w}else{switch(w=g.stateNode.containerInfo,w.nodeType){case 9:w=w.body;break;default:w=w.nodeName==="HTML"?w.ownerDocument.body:w}o0=Z1(w.firstChild),Ew=g,q0=!0,Fg=null,Q2=!1,J1=null,n1=!0,w=v$(g,null,b,x);for(g.child=w;w;)w.flags=w.flags&-3|4096,w=w.sibling}else{if(q5(),b===z){g=$2(w,g,x);break w}Qw(w,g,b,x)}g=g.child}return g;case 26:return q3(w,g),w===null?(w=WR(g.type,null,g.pendingProps,null))?g.memoizedState=w:q0||(w=g.type,x=g.pendingProps,b=Bw(u2.current),b=P3(b).createElement(w),b[Fw]=g,b[sw]=x,qw(b,w,x),P(b),g.stateNode=b):g.memoizedState=WR(g.type,w.memoizedProps,g.pendingProps,w.memoizedState),null;case 27:return s(g),w===null&&q0&&(b=Bw(u2.current),z=l(),b=g.stateNode=LR(g.type,g.pendingProps,b,z,!1),Q2||(z=ZR(b,g.type,g.pendingProps,z),z!==null&&(Ug(g,0).serverProps=z)),Ew=g,n1=!0,z=o0,V2(g.type)?(e8=z,o0=Z1(b.firstChild)):o0=z),Qw(w,g,g.pendingProps.children,x),q3(w,g),w===null&&(g.flags|=4194304),g.child;case 5:return w===null&&q0&&(B=l(),b=h6(g.type,B.ancestorInfo),z=o0,(R=!z)||(R=RZ(z,g.type,g.pendingProps,n1),R!==null?(g.stateNode=R,Q2||(B=ZR(R,g.type,g.pendingProps,B),B!==null&&(Ug(g,0).serverProps=B)),Ew=g,o0=Z1(R.firstChild),n1=!1,B=!0):B=!1,R=!B),R&&(b&&g9(g,z),Qg(g))),s(g),z=g.type,B=g.pendingProps,R=w!==null?w.memoizedProps:null,b=B.children,Ab(z,B)?b=null:R!==null&&Ab(z,R)&&(g.flags|=32),g.memoizedState!==null&&(z=v9(w,g,UX,null,null,x),Cx._currentValue=z),q3(w,g),Qw(w,g,b,x),g.child;case 6:return w===null&&q0&&(w=g.pendingProps,x=l(),b=x.ancestorInfo.current,w=b!=null?kx(w,b.tag,x.ancestorInfo.implicitRootScope):!0,x=o0,(b=!x)||(b=NZ(x,g.pendingProps,n1),b!==null?(g.stateNode=b,Ew=g,o0=null,b=!0):b=!1,b=!b),b&&(w&&g9(g,x),Qg(g))),null;case 13:return wB(w,g,x);case 4:return _w(g,g.stateNode.containerInfo),b=g.pendingProps,w===null?g.child=l4(g,null,b,x):Qw(w,g,b,x),g.child;case 11:return az(w,g,g.type,g.pendingProps,x);case 7:return Qw(w,g,g.pendingProps,x),g.child;case 8:return Qw(w,g,g.pendingProps.children,x),g.child;case 12:return g.flags|=4,g.flags|=2048,b=g.stateNode,b.effectDuration=-0,b.passiveEffectDuration=-0,Qw(w,g,g.pendingProps.children,x),g.child;case 10:return b=g.type,z=g.pendingProps,B=z.value,"value"in z||T$||(T$=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),C2(g,b,B),Qw(w,g,z.children,x),g.child;case 9:return z=g.type._context,b=g.pendingProps.children,typeof b!=="function"&&console.error("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."),qg(g),z=t0(z),R1(g),b=A8(b,z,void 0),O1(),g.flags|=1,Qw(w,g,b,x),g.child;case 14:return cz(w,g,g.type,g.pendingProps,x);case 15:return pz(w,g,g.type,g.pendingProps,x);case 19:return bB(w,g,x);case 31:return b=g.pendingProps,x=g.mode,b={mode:b.mode,children:b.children},w===null?(w=L3(b,x),w.ref=g.ref,g.child=w,w.return=g,g=w):(w=z2(w.child,b),w.ref=g.ref,g.child=w,w.return=g,g=w),g;case 22:return oz(w,g,x);case 24:return qg(g),b=t0(Xw),w===null?(z=N9(),z===null&&(z=y0,B=z9(),z.pooledCache=B,Lg(B),B!==null&&(z.pooledCacheLanes|=x),z=B),g.memoizedState={parent:b,cache:z},$9(g),C2(g,Xw,z)):((w.lanes&x)!==0&&(G9(w,g),m5(g,null,null,x),K5()),z=w.memoizedState,B=g.memoizedState,z.parent!==b?(z={parent:b,cache:b},g.memoizedState=z,g.lanes===0&&(g.memoizedState=g.updateQueue.baseState=z),C2(g,Xw,b)):(b=B.cache,C2(g,Xw,b),b!==z.cache&&b9(g,[Xw],x,!0))),Qw(w,g,g.pendingProps.children,x),g.child;case 29:throw g.pendingProps}throw Error("Unknown unit of work tag ("+g.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function G2(w){w.flags|=4}function zB(w,g){if(g.type!=="stylesheet"||(g.state.loading&I1)!==sg)w.flags&=-16777217;else if(w.flags|=16777216,!_R(g)){if(g=L1.current,g!==null&&((H0&4194048)===H0?e1!==null:(H0&62914560)!==H0&&(H0&536870912)===0||g!==e1))throw Zx=J8,uN;w.flags|=8192}}function I3(w,g){g!==null&&(w.flags|=4),w.flags&16384&&(g=w.tag!==22?N5():536870912,w.lanes|=g,Vg|=g)}function T5(w,g){if(!q0)switch(w.tailMode){case"hidden":g=w.tail;for(var x=null;g!==null;)g.alternate!==null&&(x=g),g=g.sibling;x===null?w.tail=null:x.sibling=null;break;case"collapsed":x=w.tail;for(var b=null;x!==null;)x.alternate!==null&&(b=x),x=x.sibling;b===null?g||w.tail===null?w.tail=null:w.tail.sibling=null:b.sibling=null}}function a0(w){var g=w.alternate!==null&&w.alternate.child===w.child,x=0,b=0;if(g)if((w.mode&Iw)!==D0){for(var{selfBaseDuration:z,child:B}=w;B!==null;)x|=B.lanes|B.childLanes,b|=B.subtreeFlags&65011712,b|=B.flags&65011712,z+=B.treeBaseDuration,B=B.sibling;w.treeBaseDuration=z}else for(z=w.child;z!==null;)x|=z.lanes|z.childLanes,b|=z.subtreeFlags&65011712,b|=z.flags&65011712,z.return=w,z=z.sibling;else if((w.mode&Iw)!==D0){z=w.actualDuration,B=w.selfBaseDuration;for(var R=w.child;R!==null;)x|=R.lanes|R.childLanes,b|=R.subtreeFlags,b|=R.flags,z+=R.actualDuration,B+=R.treeBaseDuration,R=R.sibling;w.actualDuration=z,w.treeBaseDuration=B}else for(z=w.child;z!==null;)x|=z.lanes|z.childLanes,b|=z.subtreeFlags,b|=z.flags,z.return=w,z=z.sibling;return w.subtreeFlags|=b,w.childLanes=x,g}function OX(w,g,x){var b=g.pendingProps;switch(w9(g),g.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return a0(g),null;case 1:return a0(g),null;case 3:if(x=g.stateNode,b=null,w!==null&&(b=w.memoizedState.cache),g.memoizedState.cache!==b&&(g.flags|=2048),B2(Xw,g),O(g),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),w===null||w.child===null)Q5(g)?(r7(),G2(g)):w===null||w.memoizedState.isDehydrated&&(g.flags&256)===0||(g.flags|=1024,n7());return a0(g),null;case 26:return x=g.memoizedState,w===null?(G2(g),x!==null?(a0(g),zB(g,x)):(a0(g),g.flags&=-16777217)):x?x!==w.memoizedState?(G2(g),a0(g),zB(g,x)):(a0(g),g.flags&=-16777217):(w.memoizedProps!==b&&G2(g),a0(g),g.flags&=-16777217),null;case 27:Y0(g),x=Bw(u2.current);var z=g.type;if(w!==null&&g.stateNode!=null)w.memoizedProps!==b&&G2(g);else{if(!b){if(g.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 a0(g),null}w=l(),Q5(g)?o7(g,w):(w=LR(z,b,x,w,!0),g.stateNode=w,G2(g))}return a0(g),null;case 5:if(Y0(g),x=g.type,w!==null&&g.stateNode!=null)w.memoizedProps!==b&&G2(g);else{if(!b){if(g.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 a0(g),null}if(z=l(),Q5(g))o7(g,z);else{switch(w=Bw(u2.current),h6(x,z.ancestorInfo),z=z.context,w=P3(w),z){case g5:w=w.createElementNS(O4,x);break;case A6:w=w.createElementNS(l3,x);break;default:switch(x){case"svg":w=w.createElementNS(O4,x);break;case"math":w=w.createElementNS(l3,x);break;case"script":w=w.createElement("div"),w.innerHTML="<script></script>",w=w.removeChild(w.firstChild);break;case"select":w=typeof b.is==="string"?w.createElement("select",{is:b.is}):w.createElement("select"),b.multiple?w.multiple=!0:b.size&&(w.size=b.size);break;default:w=typeof b.is==="string"?w.createElement(x,{is:b.is}):w.createElement(x),x.indexOf("-")===-1&&(x!==x.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",x),Object.prototype.toString.call(w)!=="[object HTMLUnknownElement]"||H2.call(i$,x)||(i$[x]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",x)))}}w[Fw]=g,w[sw]=b;w:for(z=g.child;z!==null;){if(z.tag===5||z.tag===6)w.appendChild(z.stateNode);else if(z.tag!==4&&z.tag!==27&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===g)break w;for(;z.sibling===null;){if(z.return===null||z.return===g)break w;z=z.return}z.sibling.return=z.return,z=z.sibling}g.stateNode=w;w:switch(qw(w,x,b),x){case"button":case"input":case"select":case"textarea":w=!!b.autoFocus;break w;case"img":w=!0;break w;default:w=!1}w&&G2(g)}}return a0(g),g.flags&=-16777217,null;case 6:if(w&&g.stateNode!=null)w.memoizedProps!==b&&G2(g);else{if(typeof b!=="string"&&g.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.");if(w=Bw(u2.current),x=l(),Q5(g)){w=g.stateNode,x=g.memoizedProps,z=!Q2,b=null;var B=Ew;if(B!==null)switch(B.tag){case 3:z&&(z=UR(w,x,b),z!==null&&(Ug(g,0).serverProps=z));break;case 27:case 5:b=B.memoizedProps,z&&(z=UR(w,x,b),z!==null&&(Ug(g,0).serverProps=z))}w[Fw]=g,w=w.nodeValue===x||b!==null&&b.suppressHydrationWarning===!0||RR(w.nodeValue,x)?!0:!1,w||Qg(g)}else z=x.ancestorInfo.current,z!=null&&kx(b,z.tag,x.ancestorInfo.implicitRootScope),w=P3(w).createTextNode(b),w[Fw]=g,g.stateNode=w}return a0(g),null;case 13:if(b=g.memoizedState,w===null||w.memoizedState!==null&&w.memoizedState.dehydrated!==null){if(z=Q5(g),b!==null&&b.dehydrated!==null){if(w===null){if(!z)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=g.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z[Fw]=g,a0(g),(g.mode&Iw)!==D0&&b!==null&&(z=g.child,z!==null&&(g.treeBaseDuration-=z.treeBaseDuration))}else r7(),q5(),(g.flags&128)===0&&(g.memoizedState=null),g.flags|=4,a0(g),(g.mode&Iw)!==D0&&b!==null&&(z=g.child,z!==null&&(g.treeBaseDuration-=z.treeBaseDuration));z=!1}else z=n7(),w!==null&&w.memoizedState!==null&&(w.memoizedState.hydrationErrors=z),z=!0;if(!z){if(g.flags&256)return N2(g),g;return N2(g),null}}if(N2(g),(g.flags&128)!==0)return g.lanes=x,(g.mode&Iw)!==D0&&rx(g),g;return x=b!==null,w=w!==null&&w.memoizedState!==null,x&&(b=g.child,z=null,b.alternate!==null&&b.alternate.memoizedState!==null&&b.alternate.memoizedState.cachePool!==null&&(z=b.alternate.memoizedState.cachePool.pool),B=null,b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(B=b.memoizedState.cachePool.pool),B!==z&&(b.flags|=2048)),x!==w&&x&&(g.child.flags|=8192),I3(g,g.updateQueue),a0(g),(g.mode&Iw)!==D0&&x&&(w=g.child,w!==null&&(g.treeBaseDuration-=w.treeBaseDuration)),null;case 4:return O(g),w===null&&Jb(g.stateNode.containerInfo),a0(g),null;case 10:return B2(g.type,g),a0(g),null;case 19:if(A0(Yw,g),z=g.memoizedState,z===null)return a0(g),null;if(b=(g.flags&128)!==0,B=z.rendering,B===null)if(b)T5(z,!1);else{if(i0!==W2||w!==null&&(w.flags&128)!==0)for(w=g.child;w!==null;){if(B=U3(w),B!==null){g.flags|=128,T5(z,!1),w=B.updateQueue,g.updateQueue=w,I3(g,w),g.subtreeFlags=0,w=x;for(x=g.child;x!==null;)c7(x,w),x=x.sibling;return B0(Yw,Yw.current&s4|Mx,g),g.child}w=w.sibling}z.tail!==null&&a1()>Z6&&(g.flags|=128,b=!0,T5(z,!1),g.lanes=4194304)}else{if(!b)if(w=U3(B),w!==null){if(g.flags|=128,b=!0,w=w.updateQueue,g.updateQueue=w,I3(g,w),T5(z,!0),z.tail===null&&z.tailMode==="hidden"&&!B.alternate&&!q0)return a0(g),null}else 2*a1()-z.renderingStartTime>Z6&&x!==536870912&&(g.flags|=128,b=!0,T5(z,!1),g.lanes=4194304);z.isBackwards?(B.sibling=g.child,g.child=B):(w=z.last,w!==null?w.sibling=B:g.child=B,z.last=B)}if(z.tail!==null)return w=z.tail,z.rendering=w,z.tail=w.sibling,z.renderingStartTime=a1(),w.sibling=null,x=Yw.current,x=b?x&s4|Mx:x&s4,B0(Yw,x,g),w;return a0(g),null;case 22:case 23:return N2(g),Z9(g),b=g.memoizedState!==null,w!==null?w.memoizedState!==null!==b&&(g.flags|=8192):b&&(g.flags|=8192),b?(x&536870912)!==0&&(g.flags&128)===0&&(a0(g),g.subtreeFlags&6&&(g.flags|=8192)):a0(g),x=g.updateQueue,x!==null&&I3(g,x.retryQueue),x=null,w!==null&&w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(x=w.memoizedState.cachePool.pool),b=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(b=g.memoizedState.cachePool.pool),b!==x&&(g.flags|=2048),w!==null&&A0(dg,g),null;case 24:return x=null,w!==null&&(x=w.memoizedState.cache),g.memoizedState.cache!==x&&(g.flags|=2048),B2(Xw,g),a0(g),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+g.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function KX(w,g){switch(w9(g),g.tag){case 1:return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&Iw)!==D0&&rx(g),g):null;case 3:return B2(Xw,g),O(g),w=g.flags,(w&65536)!==0&&(w&128)===0?(g.flags=w&-65537|128,g):null;case 26:case 27:case 5:return Y0(g),null;case 13:if(N2(g),w=g.memoizedState,w!==null&&w.dehydrated!==null){if(g.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");q5()}return w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&Iw)!==D0&&rx(g),g):null;case 19:return A0(Yw,g),null;case 4:return O(g),null;case 10:return B2(g.type,g),null;case 22:case 23:return N2(g),Z9(g),w!==null&&A0(dg,g),w=g.flags,w&65536?(g.flags=w&-65537|128,(g.mode&Iw)!==D0&&rx(g),g):null;case 24:return B2(Xw,g),null;case 25:return null;default:return null}}function BB(w,g){switch(w9(g),g.tag){case 3:B2(Xw,g),O(g);break;case 26:case 27:case 5:Y0(g);break;case 4:O(g);break;case 13:N2(g);break;case 19:A0(Yw,g);break;case 10:B2(g.type,g);break;case 22:case 23:N2(g),Z9(g),w!==null&&A0(dg,g);break;case 24:B2(Xw,g)}}function k1(w){return(w.mode&Iw)!==D0}function RB(w,g){k1(w)?(D1(),d5(g,w),V1()):d5(g,w)}function r9(w,g,x){k1(w)?(D1(),X4(x,w,g),V1()):X4(x,w,g)}function d5(w,g){try{var x=g.updateQueue,b=x!==null?x.lastEffect:null;if(b!==null){var z=b.next;x=z;do{if((x.tag&w)===w&&((w&Zw)!==U1?j!==null&&typeof j.markComponentPassiveEffectMountStarted==="function"&&j.markComponentPassiveEffectMountStarted(g):(w&Ww)!==U1&&j!==null&&typeof j.markComponentLayoutEffectMountStarted==="function"&&j.markComponentLayoutEffectMountStarted(g),b=void 0,(w&yw)!==U1&&(e4=!0),b=k(g,lY,x),(w&yw)!==U1&&(e4=!1),(w&Zw)!==U1?j!==null&&typeof j.markComponentPassiveEffectMountStopped==="function"&&j.markComponentPassiveEffectMountStopped():(w&Ww)!==U1&&j!==null&&typeof j.markComponentLayoutEffectMountStopped==="function"&&j.markComponentLayoutEffectMountStopped(),b!==void 0&&typeof b!=="function")){var B=void 0;B=(x.tag&Ww)!==0?"useLayoutEffect":(x.tag&yw)!==0?"useInsertionEffect":"useEffect";var R=void 0;R=b===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof b.then==="function"?`
|
|
137
|
+
|
|
138
|
+
It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
139
|
+
|
|
140
|
+
`+B+`(() => {
|
|
141
|
+
async function fetchData() {
|
|
142
|
+
// You can await here
|
|
143
|
+
const response = await MyAPI.getData(someId);
|
|
144
|
+
// ...
|
|
145
|
+
}
|
|
146
|
+
fetchData();
|
|
147
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
148
|
+
|
|
149
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+b,k(g,function(N,G){console.error("%s must not return anything besides a function, which is used for clean-up.%s",N,G)},B,R)}x=x.next}while(x!==z)}}catch(N){d0(g,g.return,N)}}function X4(w,g,x){try{var b=g.updateQueue,z=b!==null?b.lastEffect:null;if(z!==null){var B=z.next;b=B;do{if((b.tag&w)===w){var R=b.inst,N=R.destroy;N!==void 0&&(R.destroy=void 0,(w&Zw)!==U1?j!==null&&typeof j.markComponentPassiveEffectUnmountStarted==="function"&&j.markComponentPassiveEffectUnmountStarted(g):(w&Ww)!==U1&&j!==null&&typeof j.markComponentLayoutEffectUnmountStarted==="function"&&j.markComponentLayoutEffectUnmountStarted(g),(w&yw)!==U1&&(e4=!0),z=g,k(z,sY,z,x,N),(w&yw)!==U1&&(e4=!1),(w&Zw)!==U1?j!==null&&typeof j.markComponentPassiveEffectUnmountStopped==="function"&&j.markComponentPassiveEffectUnmountStopped():(w&Ww)!==U1&&j!==null&&typeof j.markComponentLayoutEffectUnmountStopped==="function"&&j.markComponentLayoutEffectUnmountStopped())}b=b.next}while(b!==B)}}catch(G){d0(g,g.return,G)}}function NB(w,g){k1(w)?(D1(),d5(g,w),V1()):d5(g,w)}function e9(w,g,x){k1(w)?(D1(),X4(x,w,g),V1()):X4(x,w,g)}function $B(w){var g=w.updateQueue;if(g!==null){var x=w.stateNode;w.type.defaultProps||"ref"in w.memoizedProps||a4||(x.props!==w.memoizedProps&&console.error("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.",S(w)||"instance"),x.state!==w.memoizedState&&console.error("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.",S(w)||"instance"));try{k(w,Gz,g,x)}catch(b){d0(w,w.return,b)}}}function mX(w,g,x){return w.getSnapshotBeforeUpdate(g,x)}function _X(w,g){var{memoizedProps:x,memoizedState:b}=g;g=w.stateNode,w.type.defaultProps||"ref"in w.memoizedProps||a4||(g.props!==w.memoizedProps&&console.error("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.",S(w)||"instance"),g.state!==w.memoizedState&&console.error("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.",S(w)||"instance"));try{var z=Og(w.type,x,w.elementType===w.type),B=k(w,mX,g,z,b);x=d$,B!==void 0||x.has(w.type)||(x.add(w.type),k(w,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",S(w))})),g.__reactInternalSnapshotBeforeUpdate=B}catch(R){d0(w,w.return,R)}}function GB(w,g,x){x.props=Og(w.type,w.memoizedProps),x.state=w.memoizedState,k1(w)?(D1(),k(w,B$,w,g,x),V1()):k(w,B$,w,g,x)}function PX(w){var g=w.ref;if(g!==null){switch(w.tag){case 26:case 27:case 5:var x=w.stateNode;break;case 30:x=w.stateNode;break;default:x=w.stateNode}if(typeof g==="function")if(k1(w))try{D1(),w.refCleanup=g(x)}finally{V1()}else w.refCleanup=g(x);else typeof g==="string"?console.error("String refs are no longer supported."):g.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",S(w)),g.current=x}}function j5(w,g){try{k(w,PX,w)}catch(x){d0(w,g,x)}}function u1(w,g){var{ref:x,refCleanup:b}=w;if(x!==null)if(typeof b==="function")try{if(k1(w))try{D1(),k(w,b)}finally{V1(w)}else k(w,b)}catch(z){d0(w,g,z)}finally{w.refCleanup=null,w=w.alternate,w!=null&&(w.refCleanup=null)}else if(typeof x==="function")try{if(k1(w))try{D1(),k(w,x,null)}finally{V1(w)}else k(w,x,null)}catch(z){d0(w,g,z)}else x.current=null}function XB(w,g,x,b){var z=w.memoizedProps,B=z.id,R=z.onCommit;z=z.onRender,g=g===null?"mount":"update",e3&&(g="nested-update"),typeof z==="function"&&z(B,g,w.actualDuration,w.treeBaseDuration,w.actualStartTime,x),typeof R==="function"&&R(w.memoizedProps.id,g,b,x)}function FX(w,g,x,b){var z=w.memoizedProps;w=z.id,z=z.onPostCommit,g=g===null?"mount":"update",e3&&(g="nested-update"),typeof z==="function"&&z(w,g,b,x)}function ZB(w){var{type:g,memoizedProps:x,stateNode:b}=w;try{k(w,nX,b,g,x,w)}catch(z){d0(w,w.return,z)}}function wb(w,g,x){try{k(w,rX,w.stateNode,w.type,x,g,w)}catch(b){d0(w,w.return,b)}}function YB(w){return w.tag===5||w.tag===3||w.tag===26||w.tag===27&&V2(w.type)||w.tag===4}function gb(w){w:for(;;){for(;w.sibling===null;){if(w.return===null||YB(w.return))return null;w=w.return}w.sibling.return=w.return;for(w=w.sibling;w.tag!==5&&w.tag!==6&&w.tag!==18;){if(w.tag===27&&V2(w.type))continue w;if(w.flags&2)continue w;if(w.child===null||w.tag===4)continue w;else w.child.return=w,w=w.child}if(!(w.flags&2))return w.stateNode}}function xb(w,g,x){var b=w.tag;if(b===5||b===6)w=w.stateNode,g?(x.nodeType===9?x.body:x.nodeName==="HTML"?x.ownerDocument.body:x).insertBefore(w,g):(g=x.nodeType===9?x.body:x.nodeName==="HTML"?x.ownerDocument.body:x,g.appendChild(w),x=x._reactRootContainer,x!==null&&x!==void 0||g.onclick!==null||(g.onclick=_3));else if(b!==4&&(b===27&&V2(w.type)&&(x=w.stateNode,g=null),w=w.child,w!==null))for(xb(w,g,x),w=w.sibling;w!==null;)xb(w,g,x),w=w.sibling}function W3(w,g,x){var b=w.tag;if(b===5||b===6)w=w.stateNode,g?x.insertBefore(w,g):x.appendChild(w);else if(b!==4&&(b===27&&V2(w.type)&&(x=w.stateNode),w=w.child,w!==null))for(W3(w,g,x),w=w.sibling;w!==null;)W3(w,g,x),w=w.sibling}function CX(w){for(var g,x=w.return;x!==null;){if(YB(x)){g=x;break}x=x.return}if(g==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(g.tag){case 27:g=g.stateNode,x=gb(w),W3(w,x,g);break;case 5:x=g.stateNode,g.flags&32&&(HR(x),g.flags&=-33),g=gb(w),W3(w,g,x);break;case 3:case 4:g=g.stateNode.containerInfo,x=gb(w),xb(w,x,g);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function vB(w){var{stateNode:g,memoizedProps:x}=w;try{k(w,ZZ,w.type,x,g,w)}catch(b){d0(w,w.return,b)}}function TX(w,g){if(w=w.containerInfo,i8=_6,w=h7(w),t6(w)){if("selectionStart"in w)var x={start:w.selectionStart,end:w.selectionEnd};else w:{x=(x=w.ownerDocument)&&x.defaultView||window;var b=x.getSelection&&x.getSelection();if(b&&b.rangeCount!==0){x=b.anchorNode;var{anchorOffset:z,focusNode:B}=b;b=b.focusOffset;try{x.nodeType,B.nodeType}catch(y){x=null;break w}var R=0,N=-1,G=-1,X=0,U=0,L=w,M=null;g:for(;;){for(var I;;){if(L!==x||z!==0&&L.nodeType!==3||(N=R+z),L!==B||b!==0&&L.nodeType!==3||(G=R+b),L.nodeType===3&&(R+=L.nodeValue.length),(I=L.firstChild)===null)break;M=L,L=I}for(;;){if(L===w)break g;if(M===x&&++X===z&&(N=R),M===B&&++U===b&&(G=R),(I=L.nextSibling)!==null)break;L=M,M=L.parentNode}L=I}x=N===-1||G===-1?null:{start:N,end:G}}else x=null}x=x||{start:0,end:0}}else x=null;n8={focusedElem:w,selectionRange:x},_6=!1;for(Jw=g;Jw!==null;)if(g=Jw,w=g.child,(g.subtreeFlags&1024)!==0&&w!==null)w.return=g,Jw=w;else for(;Jw!==null;){switch(w=g=Jw,x=w.alternate,z=w.flags,w.tag){case 0:break;case 11:case 15:break;case 1:(z&1024)!==0&&x!==null&&_X(w,x);break;case 3:if((z&1024)!==0){if(w=w.stateNode.containerInfo,x=w.nodeType,x===9)Ob(w);else if(x===1)switch(w.nodeName){case"HEAD":case"HTML":case"BODY":Ob(w);break;default:w.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((z&1024)!==0)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(w=g.sibling,w!==null){w.return=g.return,Jw=w;break}Jw=g.return}}function HB(w,g,x){var b=x.flags;switch(x.tag){case 0:case 11:case 15:Z2(w,x),b&4&&RB(x,Ww|Q1);break;case 1:if(Z2(w,x),b&4)if(w=x.stateNode,g===null)x.type.defaultProps||"ref"in x.memoizedProps||a4||(w.props!==x.memoizedProps&&console.error("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.",S(x)||"instance"),w.state!==x.memoizedState&&console.error("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.",S(x)||"instance")),k1(x)?(D1(),k(x,O8,x,w),V1()):k(x,O8,x,w);else{var z=Og(x.type,g.memoizedProps);g=g.memoizedState,x.type.defaultProps||"ref"in x.memoizedProps||a4||(w.props!==x.memoizedProps&&console.error("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.",S(x)||"instance"),w.state!==x.memoizedState&&console.error("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.",S(x)||"instance")),k1(x)?(D1(),k(x,x$,x,w,z,g,w.__reactInternalSnapshotBeforeUpdate),V1()):k(x,x$,x,w,z,g,w.__reactInternalSnapshotBeforeUpdate)}b&64&&$B(x),b&512&&j5(x,x.return);break;case 3:if(g=R2(),Z2(w,x),b&64&&(b=x.updateQueue,b!==null)){if(z=null,x.child!==null)switch(x.child.tag){case 27:case 5:z=x.child.stateNode;break;case 1:z=x.child.stateNode}try{k(x,Gz,b,z)}catch(R){d0(x,x.return,R)}}w.effectDuration+=nx(g);break;case 27:g===null&&b&4&&vB(x);case 26:case 5:Z2(w,x),g===null&&b&4&&ZB(x),b&512&&j5(x,x.return);break;case 12:if(b&4){b=R2(),Z2(w,x),w=x.stateNode,w.effectDuration+=A5(b);try{k(x,XB,x,g,r3,w.effectDuration)}catch(R){d0(x,x.return,R)}}else Z2(w,x);break;case 13:Z2(w,x),b&4&&UB(w,x),b&64&&(w=x.memoizedState,w!==null&&(w=w.dehydrated,w!==null&&(x=kX.bind(null,x),$Z(w,x))));break;case 22:if(b=x.memoizedState!==null||I2,!b){g=g!==null&&g.memoizedState!==null||bw,z=I2;var B=bw;I2=b,(bw=g)&&!B?Y2(w,x,(x.subtreeFlags&8772)!==0):Z2(w,x),I2=z,bw=B}break;case 30:break;default:Z2(w,x)}}function MB(w){var g=w.alternate;g!==null&&(w.alternate=null,MB(g)),w.child=null,w.deletions=null,w.sibling=null,w.tag===5&&(g=w.stateNode,g!==null&&Gg(g)),w.stateNode=null,w._debugOwner=null,w.return=null,w.dependencies=null,w.memoizedProps=null,w.memoizedState=null,w.pendingProps=null,w.stateNode=null,w.updateQueue=null}function X2(w,g,x){for(x=x.child;x!==null;)JB(w,g,x),x=x.sibling}function JB(w,g,x){if(Pw&&typeof Pw.onCommitFiberUnmount==="function")try{Pw.onCommitFiberUnmount(W4,x)}catch(B){c1||(c1=!0,console.error("React instrumentation encountered an error: %s",B))}switch(x.tag){case 26:bw||u1(x,g),X2(w,g,x),x.memoizedState?x.memoizedState.count--:x.stateNode&&(x=x.stateNode,x.parentNode.removeChild(x));break;case 27:bw||u1(x,g);var b=Nw,z=aw;V2(x.type)&&(Nw=x.stateNode,aw=!1),X2(w,g,x),k(x,k5,x.stateNode),Nw=b,aw=z;break;case 5:bw||u1(x,g);case 6:if(b=Nw,z=aw,Nw=null,X2(w,g,x),Nw=b,aw=z,Nw!==null)if(aw)try{k(x,gZ,Nw,x.stateNode)}catch(B){d0(x,g,B)}else try{k(x,wZ,Nw,x.stateNode)}catch(B){d0(x,g,B)}break;case 18:Nw!==null&&(aw?(w=Nw,MR(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,x.stateNode),s5(w)):MR(Nw,x.stateNode));break;case 4:b=Nw,z=aw,Nw=x.stateNode.containerInfo,aw=!0,X2(w,g,x),Nw=b,aw=z;break;case 0:case 11:case 14:case 15:bw||X4(yw,x,g),bw||r9(x,g,Ww),X2(w,g,x);break;case 1:bw||(u1(x,g),b=x.stateNode,typeof b.componentWillUnmount==="function"&&GB(x,g,b)),X2(w,g,x);break;case 21:X2(w,g,x);break;case 22:bw=(b=bw)||x.memoizedState!==null,X2(w,g,x),bw=b;break;default:X2(w,g,x)}}function UB(w,g){if(g.memoizedState===null&&(w=g.alternate,w!==null&&(w=w.memoizedState,w!==null&&(w=w.dehydrated,w!==null))))try{k(g,XZ,w)}catch(x){d0(g,g.return,x)}}function dX(w){switch(w.tag){case 13:case 19:var g=w.stateNode;return g===null&&(g=w.stateNode=new j$),g;case 22:return w=w.stateNode,g=w._retryCache,g===null&&(g=w._retryCache=new j$),g;default:throw Error("Unexpected Suspense handler tag ("+w.tag+"). This is a bug in React.")}}function bb(w,g){var x=dX(w);g.forEach(function(b){var z=uX.bind(null,w,b);if(!x.has(b)){if(x.add(b),F1)if(c4!==null&&p4!==null)f5(p4,c4);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");b.then(z,z)}})}function nw(w,g){var x=g.deletions;if(x!==null)for(var b=0;b<x.length;b++){var z=w,B=g,R=x[b],N=B;w:for(;N!==null;){switch(N.tag){case 27:if(V2(N.type)){Nw=N.stateNode,aw=!1;break w}break;case 5:Nw=N.stateNode,aw=!1;break w;case 3:case 4:Nw=N.stateNode.containerInfo,aw=!0;break w}N=N.return}if(Nw===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JB(z,B,R),Nw=null,aw=!1,z=R,B=z.alternate,B!==null&&(B.return=null),z.return=null}if(g.subtreeFlags&13878)for(g=g.child;g!==null;)QB(g,w),g=g.sibling}function QB(w,g){var{alternate:x,flags:b}=w;switch(w.tag){case 0:case 11:case 14:case 15:nw(g,w),rw(w),b&4&&(X4(yw|Q1,w,w.return),d5(yw|Q1,w),r9(w,w.return,Ww|Q1));break;case 1:nw(g,w),rw(w),b&512&&(bw||x===null||u1(x,x.return)),b&64&&I2&&(w=w.updateQueue,w!==null&&(b=w.callbacks,b!==null&&(x=w.shared.hiddenCallbacks,w.shared.hiddenCallbacks=x===null?b:x.concat(b))));break;case 26:var z=S1;if(nw(g,w),rw(w),b&512&&(bw||x===null||u1(x,x.return)),b&4)if(g=x!==null?x.memoizedState:null,b=w.memoizedState,x===null)if(b===null)if(w.stateNode===null){w:{b=w.type,x=w.memoizedProps,g=z.ownerDocument||z;g:switch(b){case"title":if(z=g.getElementsByTagName("title")[0],!z||z[c5]||z[Fw]||z.namespaceURI===O4||z.hasAttribute("itemprop"))z=g.createElement(b),g.head.insertBefore(z,g.querySelector("head > title"));qw(z,b,x),z[Fw]=w,P(z),b=z;break w;case"link":var B=KR("link","href",g).get(b+(x.href||""));if(B){for(var R=0;R<B.length;R++)if(z=B[R],z.getAttribute("href")===(x.href==null||x.href===""?null:x.href)&&z.getAttribute("rel")===(x.rel==null?null:x.rel)&&z.getAttribute("title")===(x.title==null?null:x.title)&&z.getAttribute("crossorigin")===(x.crossOrigin==null?null:x.crossOrigin)){B.splice(R,1);break g}}z=g.createElement(b),qw(z,b,x),g.head.appendChild(z);break;case"meta":if(B=KR("meta","content",g).get(b+(x.content||""))){for(R=0;R<B.length;R++)if(z=B[R],p(x.content,"content"),z.getAttribute("content")===(x.content==null?null:""+x.content)&&z.getAttribute("name")===(x.name==null?null:x.name)&&z.getAttribute("property")===(x.property==null?null:x.property)&&z.getAttribute("http-equiv")===(x.httpEquiv==null?null:x.httpEquiv)&&z.getAttribute("charset")===(x.charSet==null?null:x.charSet)){B.splice(R,1);break g}}z=g.createElement(b),qw(z,b,x),g.head.appendChild(z);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+b+'". This is a bug in React.')}z[Fw]=w,P(z),b=z}w.stateNode=b}else mR(z,w.type,w.stateNode);else w.stateNode=OR(z,b,w.memoizedProps);else g!==b?(g===null?x.stateNode!==null&&(x=x.stateNode,x.parentNode.removeChild(x)):g.count--,b===null?mR(z,w.type,w.stateNode):OR(z,b,w.memoizedProps)):b===null&&w.stateNode!==null&&wb(w,w.memoizedProps,x.memoizedProps);break;case 27:nw(g,w),rw(w),b&512&&(bw||x===null||u1(x,x.return)),x!==null&&b&4&&wb(w,w.memoizedProps,x.memoizedProps);break;case 5:if(nw(g,w),rw(w),b&512&&(bw||x===null||u1(x,x.return)),w.flags&32){g=w.stateNode;try{k(w,HR,g)}catch(U){d0(w,w.return,U)}}b&4&&w.stateNode!=null&&(g=w.memoizedProps,wb(w,g,x!==null?x.memoizedProps:g)),b&1024&&(T8=!0,w.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(nw(g,w),rw(w),b&4){if(w.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.");b=w.memoizedProps,x=x!==null?x.memoizedProps:b,g=w.stateNode;try{k(w,eX,g,x,b)}catch(U){d0(w,w.return,U)}}break;case 3:if(z=R2(),O6=null,B=S1,S1=F3(g.containerInfo),nw(g,w),S1=B,rw(w),b&4&&x!==null&&x.memoizedState.isDehydrated)try{k(w,GZ,g.containerInfo)}catch(U){d0(w,w.return,U)}T8&&(T8=!1,qB(w)),g.effectDuration+=nx(z);break;case 4:b=S1,S1=F3(w.stateNode.containerInfo),nw(g,w),rw(w),S1=b;break;case 12:b=R2(),nw(g,w),rw(w),w.stateNode.effectDuration+=A5(b);break;case 13:nw(g,w),rw(w),w.child.flags&8192&&w.memoizedState!==null!==(x!==null&&x.memoizedState!==null)&&(f8=a1()),b&4&&(b=w.updateQueue,b!==null&&(w.updateQueue=null,bb(w,b)));break;case 22:z=w.memoizedState!==null;var N=x!==null&&x.memoizedState!==null,G=I2,X=bw;if(I2=G||z,bw=X||N,nw(g,w),bw=X,I2=G,rw(w),b&8192)w:for(g=w.stateNode,g._visibility=z?g._visibility&~p3:g._visibility|p3,z&&(x===null||N||I2||bw||Kg(w)),x=null,g=w;;){if(g.tag===5||g.tag===26){if(x===null){N=x=g;try{B=N.stateNode,z?k(N,xZ,B):k(N,zZ,N.stateNode,N.memoizedProps)}catch(U){d0(N,N.return,U)}}}else if(g.tag===6){if(x===null){N=g;try{R=N.stateNode,z?k(N,bZ,R):k(N,BZ,R,N.memoizedProps)}catch(U){d0(N,N.return,U)}}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===w)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===w)break w;for(;g.sibling===null;){if(g.return===null||g.return===w)break w;x===g&&(x=null),g=g.return}x===g&&(x=null),g.sibling.return=g.return,g=g.sibling}b&4&&(b=w.updateQueue,b!==null&&(x=b.retryQueue,x!==null&&(b.retryQueue=null,bb(w,x))));break;case 19:nw(g,w),rw(w),b&4&&(b=w.updateQueue,b!==null&&(w.updateQueue=null,bb(w,b)));break;case 30:break;case 21:break;default:nw(g,w),rw(w)}}function rw(w){var g=w.flags;if(g&2){try{k(w,CX,w)}catch(x){d0(w,w.return,x)}w.flags&=-3}g&4096&&(w.flags&=-4097)}function qB(w){if(w.subtreeFlags&1024)for(w=w.child;w!==null;){var g=w;qB(g),g.tag===5&&g.flags&1024&&g.stateNode.reset(),w=w.sibling}}function Z2(w,g){if(g.subtreeFlags&8772)for(g=g.child;g!==null;)HB(w,g.alternate,g),g=g.sibling}function LB(w){switch(w.tag){case 0:case 11:case 14:case 15:r9(w,w.return,Ww),Kg(w);break;case 1:u1(w,w.return);var g=w.stateNode;typeof g.componentWillUnmount==="function"&&GB(w,w.return,g),Kg(w);break;case 27:k(w,k5,w.stateNode);case 26:case 5:u1(w,w.return),Kg(w);break;case 22:w.memoizedState===null&&Kg(w);break;case 30:Kg(w);break;default:Kg(w)}}function Kg(w){for(w=w.child;w!==null;)LB(w),w=w.sibling}function IB(w,g,x,b){var z=x.flags;switch(x.tag){case 0:case 11:case 15:Y2(w,x,b),RB(x,Ww);break;case 1:if(Y2(w,x,b),g=x.stateNode,typeof g.componentDidMount==="function"&&k(x,O8,x,g),g=x.updateQueue,g!==null){w=x.stateNode;try{k(x,JX,g,w)}catch(B){d0(x,x.return,B)}}b&&z&64&&$B(x),j5(x,x.return);break;case 27:vB(x);case 26:case 5:Y2(w,x,b),b&&g===null&&z&4&&ZB(x),j5(x,x.return);break;case 12:if(b&&z&4){z=R2(),Y2(w,x,b),b=x.stateNode,b.effectDuration+=A5(z);try{k(x,XB,x,g,r3,b.effectDuration)}catch(B){d0(x,x.return,B)}}else Y2(w,x,b);break;case 13:Y2(w,x,b),b&&z&4&&UB(w,x);break;case 22:x.memoizedState===null&&Y2(w,x,b),j5(x,x.return);break;case 30:break;default:Y2(w,x,b)}}function Y2(w,g,x){x=x&&(g.subtreeFlags&8772)!==0;for(g=g.child;g!==null;)IB(w,g.alternate,g,x),g=g.sibling}function zb(w,g){var x=null;w!==null&&w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(x=w.memoizedState.cachePool.pool),w=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(w=g.memoizedState.cachePool.pool),w!==x&&(w!=null&&Lg(w),x!=null&&W5(x))}function Bb(w,g){w=null,g.alternate!==null&&(w=g.alternate.memoizedState.cache),g=g.memoizedState.cache,g!==w&&(Lg(g),w!=null&&W5(w))}function h1(w,g,x,b){if(g.subtreeFlags&10256)for(g=g.child;g!==null;)WB(w,g,x,b),g=g.sibling}function WB(w,g,x,b){var z=g.flags;switch(g.tag){case 0:case 11:case 15:h1(w,g,x,b),z&2048&&NB(g,Zw|Q1);break;case 1:h1(w,g,x,b);break;case 3:var B=R2();h1(w,g,x,b),z&2048&&(x=null,g.alternate!==null&&(x=g.alternate.memoizedState.cache),g=g.memoizedState.cache,g!==x&&(Lg(g),x!=null&&W5(x))),w.passiveEffectDuration+=nx(B);break;case 12:if(z&2048){z=R2(),h1(w,g,x,b),w=g.stateNode,w.passiveEffectDuration+=A5(z);try{k(g,FX,g,g.alternate,r3,w.passiveEffectDuration)}catch(N){d0(g,g.return,N)}}else h1(w,g,x,b);break;case 13:h1(w,g,x,b);break;case 23:break;case 22:B=g.stateNode;var R=g.alternate;g.memoizedState!==null?B._visibility&M2?h1(w,g,x,b):S5(w,g):B._visibility&M2?h1(w,g,x,b):(B._visibility|=M2,Z4(w,g,x,b,(g.subtreeFlags&10256)!==0)),z&2048&&zb(R,g);break;case 24:h1(w,g,x,b),z&2048&&Bb(g.alternate,g);break;default:h1(w,g,x,b)}}function Z4(w,g,x,b,z){z=z&&(g.subtreeFlags&10256)!==0;for(g=g.child;g!==null;)AB(w,g,x,b,z),g=g.sibling}function AB(w,g,x,b,z){var B=g.flags;switch(g.tag){case 0:case 11:case 15:Z4(w,g,x,b,z),NB(g,Zw);break;case 23:break;case 22:var R=g.stateNode;g.memoizedState!==null?R._visibility&M2?Z4(w,g,x,b,z):S5(w,g):(R._visibility|=M2,Z4(w,g,x,b,z)),z&&B&2048&&zb(g.alternate,g);break;case 24:Z4(w,g,x,b,z),z&&B&2048&&Bb(g.alternate,g);break;default:Z4(w,g,x,b,z)}}function S5(w,g){if(g.subtreeFlags&10256)for(g=g.child;g!==null;){var x=w,b=g,z=b.flags;switch(b.tag){case 22:S5(x,b),z&2048&&zb(b.alternate,b);break;case 24:S5(x,b),z&2048&&Bb(b.alternate,b);break;default:S5(x,b)}g=g.sibling}}function Y4(w){if(w.subtreeFlags&Jx)for(w=w.child;w!==null;)OB(w),w=w.sibling}function OB(w){switch(w.tag){case 26:Y4(w),w.flags&Jx&&w.memoizedState!==null&&MZ(S1,w.memoizedState,w.memoizedProps);break;case 5:Y4(w);break;case 3:case 4:var g=S1;S1=F3(w.stateNode.containerInfo),Y4(w),S1=g;break;case 22:w.memoizedState===null&&(g=w.alternate,g!==null&&g.memoizedState!==null?(g=Jx,Jx=16777216,Y4(w),Jx=g):Y4(w));break;default:Y4(w)}}function KB(w){var g=w.alternate;if(g!==null&&(w=g.child,w!==null)){g.child=null;do g=w.sibling,w.sibling=null,w=g;while(w!==null)}}function E5(w){var g=w.deletions;if((w.flags&16)!==0){if(g!==null)for(var x=0;x<g.length;x++){var b=g[x];Jw=b,PB(b,w)}KB(w)}if(w.subtreeFlags&10256)for(w=w.child;w!==null;)mB(w),w=w.sibling}function mB(w){switch(w.tag){case 0:case 11:case 15:E5(w),w.flags&2048&&e9(w,w.return,Zw|Q1);break;case 3:var g=R2();E5(w),w.stateNode.passiveEffectDuration+=nx(g);break;case 12:g=R2(),E5(w),w.stateNode.passiveEffectDuration+=A5(g);break;case 22:g=w.stateNode,w.memoizedState!==null&&g._visibility&M2&&(w.return===null||w.return.tag!==13)?(g._visibility&=~M2,A3(w)):E5(w);break;default:E5(w)}}function A3(w){var g=w.deletions;if((w.flags&16)!==0){if(g!==null)for(var x=0;x<g.length;x++){var b=g[x];Jw=b,PB(b,w)}KB(w)}for(w=w.child;w!==null;)_B(w),w=w.sibling}function _B(w){switch(w.tag){case 0:case 11:case 15:e9(w,w.return,Zw),A3(w);break;case 22:var g=w.stateNode;g._visibility&M2&&(g._visibility&=~M2,A3(w));break;default:A3(w)}}function PB(w,g){for(;Jw!==null;){var x=Jw,b=x;switch(b.tag){case 0:case 11:case 15:e9(b,g,Zw);break;case 23:case 22:b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(b=b.memoizedState.cachePool.pool,b!=null&&Lg(b));break;case 24:W5(b.memoizedState.cache)}if(b=x.child,b!==null)b.return=x,Jw=b;else w:for(x=w;Jw!==null;){b=Jw;var{sibling:z,return:B}=b;if(MB(b),b===x){Jw=null;break w}if(z!==null){z.return=B,Jw=z;break w}Jw=B}}}function jX(){aY.forEach(function(w){return w()})}function FB(){var w=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;return w||q.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),w}function ew(w){if((P0&fw)!==b1&&H0!==0)return H0&-H0;var g=q.T;return g!==null?(g._updatedFibers||(g._updatedFibers=new Set),g._updatedFibers.add(w),w=Tg,w!==0?w:Hb()):$g()}function CB(){B1===0&&(B1=(H0&536870912)===0||q0?R5():536870912);var w=L1.current;return w!==null&&(w.flags|=32),B1}function xw(w,g,x){if(e4&&console.error("useInsertionEffect must not schedule updates."),h8&&(Y6=!0),w===y0&&(F0===yg||F0===fg)||w.cancelPendingCommit!==null)H4(w,0),y2(w,H0,B1,!1);if(P2(w,x),(P0&fw)!==0&&w===y0){if(o1)switch(g.tag){case 0:case 11:case 15:w=Z0&&S(Z0)||"Unknown",l$.has(w)||(l$.add(w),g=S(g)||"Unknown",console.error("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://react.dev/link/setstate-in-render",g,w,w));break;case 1:h$||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),h$=!0)}}else F1&&G5(w,g,x),lX(g),w===y0&&((P0&fw)===b1&&(n2|=x),i0===Eg&&y2(w,H0,B1,!1)),l1(w)}function TB(w,g,x){if((P0&(fw|E1))!==b1)throw Error("Should not already be working.");var b=!x&&(g&124)===0&&(g&w.expiredLanes)===0||b0(w,g),z=b?EX(w,g):$b(w,g,!0),B=b;do{if(z===W2){n4&&!b&&y2(w,g,0,!1);break}else{if(x=w.current.alternate,B&&!SX(x)){z=$b(w,g,!1),B=!1;continue}if(z===o4){if(B=g,w.errorRecoveryDisabledLanes&B)var R=0;else R=w.pendingLanes&-536870913,R=R!==0?R:R&536870912?536870912:0;if(R!==0){g=R;w:{z=w;var N=R;R=Wx;var G=z.current.memoizedState.isDehydrated;if(G&&(H4(z,N).flags|=256),N=$b(z,N,!1),N!==o4){if(E8&&!G){z.errorRecoveryDisabledLanes|=B,n2|=B,z=Eg;break w}z=Vw,Vw=R,z!==null&&(Vw===null?Vw=z:Vw.push.apply(Vw,z))}z=N}if(B=!1,z!==o4)continue}}if(z===Qx){H4(w,0),y2(w,g,0,!0);break}w:{switch(b=w,z){case W2:case Qx:throw Error("Root did not complete. This is a bug in React.");case Eg:if((g&4194048)!==g)break;case G6:y2(b,g,B1,!o2);break w;case o4:Vw=null;break;case d8:case S$:break;default:throw Error("Unknown root exit status.")}if(q.actQueue!==null)Gb(b,x,g,Vw,Ax,X6,B1,n2,Vg);else{if((g&62914560)===g&&(B=f8+y$-a1(),10<B)){if(y2(b,g,B1,!o2),rg(b,0,!0)!==0)break w;b.timeoutHandle=n$(dB.bind(null,b,x,Vw,Ax,X6,g,B1,n2,Vg,o2,z,iY,VN,0),B);break w}dB(b,x,Vw,Ax,X6,g,B1,n2,Vg,o2,z,pY,VN,0)}}}break}while(1);l1(w)}function dB(w,g,x,b,z,B,R,N,G,X,U,L,M,I){if(w.timeoutHandle=lg,L=g.subtreeFlags,L&8192||(L&16785408)===16785408){if(Fx={stylesheets:null,count:0,unsuspend:HZ},OB(g),L=JZ(),L!==null){w.cancelPendingCommit=L(Gb.bind(null,w,g,B,x,b,z,R,N,G,U,oY,M,I)),y2(w,B,R,!X);return}}Gb(w,g,B,x,b,z,R,N,G)}function SX(w){for(var g=w;;){var x=g.tag;if((x===0||x===11||x===15)&&g.flags&16384&&(x=g.updateQueue,x!==null&&(x=x.stores,x!==null)))for(var b=0;b<x.length;b++){var z=x[b],B=z.getSnapshot;z=z.value;try{if(!Sw(B(),z))return!1}catch(R){return!1}}if(x=g.child,g.subtreeFlags&16384&&x!==null)x.return=g,g=x;else{if(g===w)break;for(;g.sibling===null;){if(g.return===null||g.return===w)return!0;g=g.return}g.sibling.return=g.return,g=g.sibling}}return!0}function y2(w,g,x,b){g&=~y8,g&=~n2,w.suspendedLanes|=g,w.pingedLanes&=~g,b&&(w.warmLanes|=g),b=w.expirationTimes;for(var z=g;0<z;){var B=31-dw(z),R=1<<B;b[B]=-1,z&=~R}x!==0&&Sx(w,x,g)}function v4(){return(P0&(fw|E1))===b1?(V5(0,!1),!1):!0}function Rb(){if(Z0!==null){if(F0===cw)var w=Z0.return;else w=Z0,px(),U9(w),h4=null,Hx=0,w=Z0;for(;w!==null;)BB(w.alternate,w),w=w.return;Z0=null}}function H4(w,g){var x=w.timeoutHandle;x!==lg&&(w.timeoutHandle=lg,Gv(x)),x=w.cancelPendingCommit,x!==null&&(w.cancelPendingCommit=null,x()),Rb(),y0=w,Z0=x=z2(w.current,null),H0=g,F0=cw,z1=null,o2=!1,n4=b0(w,g),E8=!1,i0=W2,Vg=B1=y8=n2=i2=0,Vw=Wx=null,X6=!1,(g&8)!==0&&(g|=g&32);var b=w.entangledLanes;if(b!==0)for(w=w.entanglements,b&=g;0<b;){var z=31-dw(b),B=1<<z;g|=w[z],b&=~B}return w2=g,sx(),g=yN(),1000<g-EN&&(q.recentlyCreatedOwnerStacks=0,EN=g),d1.discardPendingWarnings(),x}function jB(w,g){i=null,q.H=N6,q.getCurrentStack=null,o1=!1,x1=null,g===Xx||g===x6?(g=Rz(),F0=Lx):g===uN?(g=Rz(),F0=E$):F0=g===K$?S8:g!==null&&typeof g==="object"&&typeof g.then==="function"?i4:qx,z1=g;var x=Z0;if(x===null)i0=Qx,Q3(w,iw(g,w.current));else switch(x.mode&Iw&&R9(x),O1(),F0){case qx:j!==null&&typeof j.markComponentErrored==="function"&&j.markComponentErrored(x,g,H0);break;case yg:case fg:case Lx:case i4:case Ix:j!==null&&typeof j.markComponentSuspended==="function"&&j.markComponentSuspended(x,g,H0)}}function SB(){var w=q.H;return q.H=N6,w===null?N6:w}function EB(){var w=q.A;return q.A=tY,w}function Nb(){i0=Eg,o2||(H0&4194048)!==H0&&L1.current!==null||(n4=!0),(i2&134217727)===0&&(n2&134217727)===0||y0===null||y2(y0,H0,B1,!1)}function $b(w,g,x){var b=P0;P0|=fw;var z=SB(),B=EB();if(y0!==w||H0!==g){if(F1){var R=w.memoizedUpdaters;0<R.size&&(f5(w,H0),R.clear()),X5(w,g)}Ax=null,H4(w,g)}z5(g),g=!1,R=i0;w:do try{if(F0!==cw&&Z0!==null){var N=Z0,G=z1;switch(F0){case S8:Rb(),R=G6;break w;case Lx:case yg:case fg:case i4:L1.current===null&&(g=!0);var X=F0;if(F0=cw,z1=null,M4(w,N,G,X),x&&n4){R=W2;break w}break;default:X=F0,F0=cw,z1=null,M4(w,N,G,X)}}yB(),R=i0;break}catch(U){jB(w,U)}while(1);return g&&w.shellSuspendCounter++,px(),P0=b,q.H=z,q.A=B,B5(),Z0===null&&(y0=null,H0=0,sx()),R}function yB(){for(;Z0!==null;)fB(Z0)}function EX(w,g){var x=P0;P0|=fw;var b=SB(),z=EB();if(y0!==w||H0!==g){if(F1){var B=w.memoizedUpdaters;0<B.size&&(f5(w,H0),B.clear()),X5(w,g)}Ax=null,Z6=a1()+f$,H4(w,g)}else n4=b0(w,g);z5(g);w:do try{if(F0!==cw&&Z0!==null)g:switch(g=Z0,B=z1,F0){case qx:F0=cw,z1=null,M4(w,g,B,qx);break;case yg:case fg:if(zz(B)){F0=cw,z1=null,VB(g);break}g=function(){F0!==yg&&F0!==fg||y0!==w||(F0=Ix),l1(w)},B.then(g,g);break w;case Lx:F0=Ix;break w;case E$:F0=j8;break w;case Ix:zz(B)?(F0=cw,z1=null,VB(g)):(F0=cw,z1=null,M4(w,g,B,Ix));break;case j8:var R=null;switch(Z0.tag){case 26:R=Z0.memoizedState;case 5:case 27:var N=Z0;if(R?_R(R):1){F0=cw,z1=null;var G=N.sibling;if(G!==null)Z0=G;else{var X=N.return;X!==null?(Z0=X,O3(X)):Z0=null}break g}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}F0=cw,z1=null,M4(w,g,B,j8);break;case i4:F0=cw,z1=null,M4(w,g,B,i4);break;case S8:Rb(),i0=G6;break w;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}q.actQueue!==null?yB():yX();break}catch(U){jB(w,U)}while(1);if(px(),q.H=b,q.A=z,P0=x,Z0!==null)return j!==null&&typeof j.markRenderYielded==="function"&&j.markRenderYielded(),W2;return B5(),y0=null,H0=0,sx(),i0}function yX(){for(;Z0!==null&&!TZ();)fB(Z0)}function fB(w){var g=w.alternate;(w.mode&Iw)!==D0?(B9(w),g=k(w,n9,g,w,w2),R9(w)):g=k(w,n9,g,w,w2),w.memoizedProps=w.pendingProps,g===null?O3(w):Z0=g}function VB(w){var g=k(w,fX,w);w.memoizedProps=w.pendingProps,g===null?O3(w):Z0=g}function fX(w){var g=w.alternate,x=(w.mode&Iw)!==D0;switch(x&&B9(w),w.tag){case 15:case 0:g=nz(g,w,w.pendingProps,w.type,void 0,H0);break;case 11:g=nz(g,w,w.pendingProps,w.type.render,w.ref,H0);break;case 5:U9(w);default:BB(g,w),w=Z0=c7(w,w2),g=n9(g,w,w2)}return x&&R9(w),g}function M4(w,g,x,b){px(),U9(g),h4=null,Hx=0;var z=g.return;try{if(WX(w,z,g,x,H0)){i0=Qx,Q3(w,iw(x,w.current)),Z0=null;return}}catch(B){if(z!==null)throw Z0=z,B;i0=Qx,Q3(w,iw(x,w.current)),Z0=null;return}if(g.flags&32768){if(q0||b===qx)w=!0;else if(n4||(H0&536870912)!==0)w=!1;else if(o2=w=!0,b===yg||b===fg||b===Lx||b===i4)b=L1.current,b!==null&&b.tag===13&&(b.flags|=16384);DB(g,w)}else O3(g)}function O3(w){var g=w;do{if((g.flags&32768)!==0){DB(g,o2);return}var x=g.alternate;if(w=g.return,B9(g),x=k(g,OX,x,g,w2),(g.mode&Iw)!==D0&&wz(g),x!==null){Z0=x;return}if(g=g.sibling,g!==null){Z0=g;return}Z0=g=w}while(g!==null);i0===W2&&(i0=S$)}function DB(w,g){do{var x=KX(w.alternate,w);if(x!==null){x.flags&=32767,Z0=x;return}if((w.mode&Iw)!==D0){wz(w),x=w.actualDuration;for(var b=w.child;b!==null;)x+=b.actualDuration,b=b.sibling;w.actualDuration=x}if(x=w.return,x!==null&&(x.flags|=32768,x.subtreeFlags=0,x.deletions=null),!g&&(w=w.sibling,w!==null)){Z0=w;return}Z0=w=x}while(w!==null);i0=G6,Z0=null}function Gb(w,g,x,b,z,B,R,N,G){w.cancelPendingCommit=null;do y5();while(Aw!==Dg);if(d1.flushLegacyContextWarning(),d1.flushPendingUnsafeLifecycleWarnings(),(P0&(fw|E1))!==b1)throw Error("Should not already be working.");if(j!==null&&typeof j.markCommitStarted==="function"&&j.markCommitStarted(x),g===null)A1();else{if(x===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),g===w.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(B=g.lanes|g.childLanes,B|=Z8,j6(w,x,B,R,N,G),w===y0&&(Z0=y0=null,H0=0),r4=g,e2=w,wg=x,D8=B,k8=z,u$=b,(g.subtreeFlags&10256)!==0||(g.flags&10256)!==0?(w.callbackNode=null,w.callbackPriority=0,hX(I4,function(){return sB(!0),null})):(w.callbackNode=null,w.callbackPriority=0),r3=f4(),b=(g.flags&13878)!==0,(g.subtreeFlags&13878)!==0||b){b=q.T,q.T=null,z=_0.p,_0.p=g1,R=P0,P0|=E1;try{TX(w,g,x)}finally{P0=R,_0.p=z,q.T=b}}Aw=V$,kB(),uB(),hB()}}function kB(){if(Aw===V$){Aw=Dg;var w=e2,g=r4,x=wg,b=(g.flags&13878)!==0;if((g.subtreeFlags&13878)!==0||b){b=q.T,q.T=null;var z=_0.p;_0.p=g1;var B=P0;P0|=E1;try{c4=x,p4=w,QB(g,w),p4=c4=null,x=n8;var R=h7(w.containerInfo),N=x.focusedElem,G=x.selectionRange;if(R!==N&&N&&N.ownerDocument&&u7(N.ownerDocument.documentElement,N)){if(G!==null&&t6(N)){var{start:X,end:U}=G;if(U===void 0&&(U=X),"selectionStart"in N)N.selectionStart=X,N.selectionEnd=Math.min(U,N.value.length);else{var L=N.ownerDocument||document,M=L&&L.defaultView||window;if(M.getSelection){var I=M.getSelection(),y=N.textContent.length,c=Math.min(G.start,y),f0=G.end===void 0?c:Math.min(G.end,y);!I.extend&&c>f0&&(R=f0,f0=c,c=R);var J0=k7(N,c),Z=k7(N,f0);if(J0&&Z&&(I.rangeCount!==1||I.anchorNode!==J0.node||I.anchorOffset!==J0.offset||I.focusNode!==Z.node||I.focusOffset!==Z.offset)){var Y=L.createRange();Y.setStart(J0.node,J0.offset),I.removeAllRanges(),c>f0?(I.addRange(Y),I.extend(Z.node,Z.offset)):(Y.setEnd(Z.node,Z.offset),I.addRange(Y))}}}}L=[];for(I=N;I=I.parentNode;)I.nodeType===1&&L.push({element:I,left:I.scrollLeft,top:I.scrollTop});typeof N.focus==="function"&&N.focus();for(N=0;N<L.length;N++){var v=L[N];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}_6=!!i8,n8=i8=null}finally{P0=B,_0.p=z,q.T=b}}w.current=g,Aw=D$}}function uB(){if(Aw===D$){Aw=Dg;var w=e2,g=r4,x=wg,b=(g.flags&8772)!==0;if((g.subtreeFlags&8772)!==0||b){b=q.T,q.T=null;var z=_0.p;_0.p=g1;var B=P0;P0|=E1;try{j!==null&&typeof j.markLayoutEffectsStarted==="function"&&j.markLayoutEffectsStarted(x),c4=x,p4=w,HB(w,g.alternate,g),p4=c4=null,j!==null&&typeof j.markLayoutEffectsStopped==="function"&&j.markLayoutEffectsStopped()}finally{P0=B,_0.p=z,q.T=b}}Aw=k$}}function hB(){if(Aw===nY||Aw===k$){Aw=Dg,dZ();var w=e2,g=r4,x=wg,b=u$,z=(g.subtreeFlags&10256)!==0||(g.flags&10256)!==0;z?Aw=V8:(Aw=Dg,r4=e2=null,lB(w,w.pendingLanes),kg=0,Kx=null);var B=w.pendingLanes;if(B===0&&(r2=null),z||pB(w),z=F2(x),g=g.stateNode,Pw&&typeof Pw.onCommitFiberRoot==="function")try{var R=(g.current.flags&128)===128;switch(z){case g1:var N=lb;break;case C1:N=sb;break;case p1:N=I4;break;case u3:N=tb;break;default:N=I4}Pw.onCommitFiberRoot(W4,g,N,R)}catch(L){c1||(c1=!0,console.error("React instrumentation encountered an error: %s",L))}if(F1&&w.memoizedUpdaters.clear(),jX(),b!==null){R=q.T,N=_0.p,_0.p=g1,q.T=null;try{var G=w.onRecoverableError;for(g=0;g<b.length;g++){var X=b[g],U=VX(X.stack);k(X.source,G,X.value,U)}}finally{q.T=R,_0.p=N}}(wg&3)!==0&&y5(),l1(w),B=w.pendingLanes,(x&4194090)!==0&&(B&42)!==0?(w6=!0,w===u8?Ox++:(Ox=0,u8=w)):Ox=0,V5(0,!1),A1()}}function VX(w){return w={componentStack:w},Object.defineProperty(w,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),w}function lB(w,g){(w.pooledCacheLanes&=g)===0&&(g=w.pooledCache,g!=null&&(w.pooledCache=null,W5(g)))}function y5(w){return kB(),uB(),hB(),sB(w)}function sB(){if(Aw!==V8)return!1;var w=e2,g=D8;D8=0;var x=F2(wg),b=p1===0||p1>x?p1:x;x=q.T;var z=_0.p;try{_0.p=b,q.T=null,b=k8,k8=null;var B=e2,R=wg;if(Aw=Dg,r4=e2=null,wg=0,(P0&(fw|E1))!==b1)throw Error("Cannot flush passive effects while already rendering.");h8=!0,Y6=!1,j!==null&&typeof j.markPassiveEffectsStarted==="function"&&j.markPassiveEffectsStarted(R);var N=P0;if(P0|=E1,mB(B.current),WB(B,B.current,R,b),j!==null&&typeof j.markPassiveEffectsStopped==="function"&&j.markPassiveEffectsStopped(),pB(B),P0=N,V5(0,!1),Y6?B===Kx?kg++:(kg=0,Kx=B):kg=0,Y6=h8=!1,Pw&&typeof Pw.onPostCommitFiberRoot==="function")try{Pw.onPostCommitFiberRoot(W4,B)}catch(X){c1||(c1=!0,console.error("React instrumentation encountered an error: %s",X))}var G=B.current.stateNode;return G.effectDuration=0,G.passiveEffectDuration=0,!0}finally{_0.p=z,q.T=x,lB(w,g)}}function tB(w,g,x){g=iw(x,g),g=k9(w.stateNode,g,2),w=d2(w,g,2),w!==null&&(P2(w,2),l1(w))}function d0(w,g,x){if(e4=!1,w.tag===3)tB(w,w,x);else{for(;g!==null;){if(g.tag===3){tB(g,w,x);return}if(g.tag===1){var b=g.stateNode;if(typeof g.type.getDerivedStateFromError==="function"||typeof b.componentDidCatch==="function"&&(r2===null||!r2.has(b))){w=iw(x,w),x=u9(2),b=d2(g,x,2),b!==null&&(h9(x,b,g,w),P2(b,2),l1(b));return}}g=g.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
150
|
+
|
|
151
|
+
Error message:
|
|
152
|
+
|
|
153
|
+
%s`,x)}}function Xb(w,g,x){var b=w.pingCache;if(b===null){b=w.pingCache=new cY;var z=new Set;b.set(g,z)}else z=b.get(g),z===void 0&&(z=new Set,b.set(g,z));z.has(x)||(E8=!0,z.add(x),b=DX.bind(null,w,g,x),F1&&f5(w,x),g.then(b,b))}function DX(w,g,x){var b=w.pingCache;b!==null&&b.delete(g),w.pingedLanes|=w.suspendedLanes&x,w.warmLanes&=~x,FB()&&q.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
154
|
+
|
|
155
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
156
|
+
|
|
157
|
+
act(() => {
|
|
158
|
+
/* finish loading suspended data */
|
|
159
|
+
});
|
|
160
|
+
/* assert on the output */
|
|
161
|
+
|
|
162
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),y0===w&&(H0&x)===x&&(i0===Eg||i0===d8&&(H0&62914560)===H0&&a1()-f8<y$?(P0&fw)===b1&&H4(w,0):y8|=x,Vg===H0&&(Vg=0)),l1(w)}function aB(w,g){g===0&&(g=N5()),w=uw(w,g),w!==null&&(P2(w,g),l1(w))}function kX(w){var g=w.memoizedState,x=0;g!==null&&(x=g.retryLane),aB(w,x)}function uX(w,g){var x=0;switch(w.tag){case 13:var{stateNode:b,memoizedState:z}=w;z!==null&&(x=z.retryLane);break;case 19:b=w.stateNode;break;case 22:b=w.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}b!==null&&b.delete(g),aB(w,x)}function Zb(w,g,x){if((g.subtreeFlags&67117056)!==0)for(g=g.child;g!==null;){var b=w,z=g,B=z.type===y3;B=x||B,z.tag!==22?z.flags&67108864?B&&k(z,cB,b,z,(z.mode&dN)===D0):Zb(b,z,B):z.memoizedState===null&&(B&&z.flags&8192?k(z,cB,b,z):z.subtreeFlags&67108864&&k(z,Zb,b,z,B)),g=g.sibling}}function cB(w,g){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;O0(!0);try{LB(g),x&&_B(g),IB(w,g.alternate,g,!1),x&&AB(w,g,0,null,!1,0)}finally{O0(!1)}}function pB(w){var g=!0;w.current.mode&(Cw|T1)||(g=!1),Zb(w,w.current,g)}function oB(w){if((P0&fw)===b1){var g=w.tag;if(g===3||g===1||g===0||g===11||g===14||g===15){if(g=S(w)||"ReactComponent",v6!==null){if(v6.has(g))return;v6.add(g)}else v6=new Set([g]);k(w,function(){console.error("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.")})}}}function f5(w,g){F1&&w.memoizedUpdaters.forEach(function(x){G5(w,x,g)})}function hX(w,g){var x=q.actQueue;return x!==null?(x.push(g),wv):hb(w,g)}function lX(w){FB()&&q.actQueue===null&&k(w,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
163
|
+
|
|
164
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
165
|
+
|
|
166
|
+
act(() => {
|
|
167
|
+
/* fire events that update state */
|
|
168
|
+
});
|
|
169
|
+
/* assert on the output */
|
|
170
|
+
|
|
171
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,S(w))})}function l1(w){w!==w5&&w.next===null&&(w5===null?H6=w5=w:w5=w5.next=w),M6=!0,q.actQueue!==null?s8||(s8=!0,eB()):l8||(l8=!0,eB())}function V5(w,g){if(!t8&&M6){t8=!0;do{var x=!1;for(var b=H6;b!==null;){if(!g)if(w!==0){var z=b.pendingLanes;if(z===0)var B=0;else{var{suspendedLanes:R,pingedLanes:N}=b;B=(1<<31-dw(42|w)+1)-1,B&=z&~(R&~N),B=B&201326741?B&201326741|1:B?B|2:0}B!==0&&(x=!0,rB(b,B))}else B=H0,B=rg(b,b===y0?B:0,b.cancelPendingCommit!==null||b.timeoutHandle!==lg),(B&3)===0||b0(b,B)||(x=!0,rB(b,B));b=b.next}}while(x);t8=!1}}function sX(){Yb()}function Yb(){M6=s8=l8=!1;var w=0;ug!==0&&(oX()&&(w=ug),ug=0);for(var g=a1(),x=null,b=H6;b!==null;){var z=b.next,B=iB(b,g);if(B===0)b.next=null,x===null?H6=z:x.next=z,z===null&&(w5=x);else if(x=b,w!==0||(B&3)!==0)M6=!0;b=z}V5(w,!1)}function iB(w,g){for(var{suspendedLanes:x,pingedLanes:b,expirationTimes:z}=w,B=w.pendingLanes&-62914561;0<B;){var R=31-dw(B),N=1<<R,G=z[R];if(G===-1){if((N&x)===0||(N&b)!==0)z[R]=eg(N,g)}else G<=g&&(w.expiredLanes|=N);B&=~N}if(g=y0,x=H0,x=rg(w,w===g?x:0,w.cancelPendingCommit!==null||w.timeoutHandle!==lg),b=w.callbackNode,x===0||w===g&&(F0===yg||F0===fg)||w.cancelPendingCommit!==null)return b!==null&&vb(b),w.callbackNode=null,w.callbackPriority=0;if((x&3)===0||b0(w,x)){if(g=x&-x,g!==w.callbackPriority||q.actQueue!==null&&b!==a8)vb(b);else return g;switch(F2(x)){case g1:case C1:x=sb;break;case p1:x=I4;break;case u3:x=tb;break;default:x=I4}return b=nB.bind(null,w),q.actQueue!==null?(q.actQueue.push(b),x=a8):x=hb(x,b),w.callbackPriority=g,w.callbackNode=x,g}return b!==null&&vb(b),w.callbackPriority=2,w.callbackNode=null,2}function nB(w,g){if(w6=e3=!1,Aw!==Dg&&Aw!==V8)return w.callbackNode=null,w.callbackPriority=0,null;var x=w.callbackNode;if(y5(!0)&&w.callbackNode!==x)return null;var b=H0;if(b=rg(w,w===y0?b:0,w.cancelPendingCommit!==null||w.timeoutHandle!==lg),b===0)return null;return TB(w,b,g),iB(w,a1()),w.callbackNode!=null&&w.callbackNode===x?nB.bind(null,w):null}function rB(w,g){if(y5())return null;e3=w6,w6=!1,TB(w,g,!0)}function vb(w){w!==a8&&w!==null&&CZ(w)}function eB(){q.actQueue!==null&&q.actQueue.push(function(){return Yb(),null}),Xv(function(){(P0&(fw|E1))!==b1?hb(lb,sX):Yb()})}function Hb(){return ug===0&&(ug=R5()),ug}function wR(w){if(w==null||typeof w==="symbol"||typeof w==="boolean")return null;if(typeof w==="function")return w;return p(w,"action"),M5(""+w)}function gR(w,g){var x=g.ownerDocument.createElement("input");return x.name=g.name,x.value=g.value,w.id&&x.setAttribute("form",w.id),g.parentNode.insertBefore(x,g),w=new FormData(w),x.parentNode.removeChild(x),w}function tX(w,g,x,b,z){if(g==="submit"&&x&&x.stateNode===z){var B=wR((z[sw]||null).action),R=b.submitter;R&&(g=(g=R[sw]||null)?wR(g.formAction):R.getAttribute("formAction"),g!==null&&(B=g,R=null));var N=new a3("action","action",null,b,z);w.push({event:N,listeners:[{instance:null,listener:function(){if(b.defaultPrevented){if(ug!==0){var G=R?gR(z,R):new FormData(z),X={pending:!0,data:G,method:z.method,action:B};Object.freeze(X),j9(x,X,null,G)}}else typeof B==="function"&&(N.preventDefault(),G=R?gR(z,R):new FormData(z),X={pending:!0,data:G,method:z.method,action:B},Object.freeze(X),j9(x,X,B,G))},currentTarget:z}]})}}function K3(w,g,x){w.currentTarget=x;try{g(w)}catch(b){_8(b)}w.currentTarget=null}function xR(w,g){g=(g&4)!==0;for(var x=0;x<w.length;x++){var b=w[x];w:{var z=void 0,B=b.event;if(b=b.listeners,g)for(var R=b.length-1;0<=R;R--){var N=b[R],G=N.instance,X=N.currentTarget;if(N=N.listener,G!==z&&B.isPropagationStopped())break w;G!==null?k(G,K3,B,N,X):K3(B,N,X),z=G}else for(R=0;R<b.length;R++){if(N=b[R],G=N.instance,X=N.currentTarget,N=N.listener,G!==z&&B.isPropagationStopped())break w;G!==null?k(G,K3,B,N,X):K3(B,N,X),z=G}}}}function M0(w,g){c8.has(w)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',w);var x=g[ab];x===void 0&&(x=g[ab]=new Set);var b=w+"__bubble";x.has(b)||(bR(g,w,2,!1),x.add(b))}function Mb(w,g,x){c8.has(w)&&!g&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',w);var b=0;g&&(b|=4),bR(x,w,b,g)}function Jb(w){if(!w[J6]){w[J6]=!0,kR.forEach(function(x){x!=="selectionchange"&&(c8.has(x)||Mb(x,!1,w),Mb(x,!0,w))});var g=w.nodeType===9?w:w.ownerDocument;g===null||g[J6]||(g[J6]=!0,Mb("selectionchange",!1,g))}}function bR(w,g,x,b){switch(dR(g)){case g1:var z=IZ;break;case C1:z=WZ;break;default:z=Tb}x=z.bind(null,g,x,w),z=void 0,!w8||g!=="touchstart"&&g!=="touchmove"&&g!=="wheel"||(z=!0),b?z!==void 0?w.addEventListener(g,x,{capture:!0,passive:z}):w.addEventListener(g,x,!0):z!==void 0?w.addEventListener(g,x,{passive:z}):w.addEventListener(g,x,!1)}function Ub(w,g,x,b,z){var B=b;if((g&1)===0&&(g&2)===0&&b!==null)w:for(;;){if(b===null)return;var R=b.tag;if(R===3||R===4){var N=b.stateNode.containerInfo;if(N===z)break;if(R===4)for(R=b.return;R!==null;){var G=R.tag;if((G===3||G===4)&&R.stateNode.containerInfo===z)return;R=R.return}for(;N!==null;){if(R=b2(N),R===null)return;if(G=R.tag,G===5||G===6||G===26||G===27){b=B=R;continue w}N=N.parentNode}}b=b.return}F7(function(){var X=B,U=l6(x),L=[];w:{var M=TN.get(w);if(M!==void 0){var I=a3,y=w;switch(w){case"keypress":if(ux(x)===0)break w;case"keydown":case"keyup":I=UY;break;case"focusin":y="focus",I=z8;break;case"focusout":y="blur",I=z8;break;case"beforeblur":case"afterblur":I=z8;break;case"click":if(x.button===2)break w;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=UN;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=BY;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=LY;break;case _N:case PN:case FN:I=$Y;break;case CN:I=WY;break;case"scroll":case"scrollend":I=bY;break;case"wheel":I=OY;break;case"copy":case"cut":case"paste":I=XY;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=qN;break;case"toggle":case"beforetoggle":I=mY}var c=(g&4)!==0,f0=!c&&(w==="scroll"||w==="scrollend"),J0=c?M!==null?M+"Capture":null:M;c=[];for(var Z=X,Y;Z!==null;){var v=Z;if(Y=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||Y===null||J0===null||(v=J5(Z,J0),v!=null&&c.push(D5(Z,v,Y))),f0)break;Z=Z.return}0<c.length&&(M=new I(M,y,null,x,U),L.push({event:M,listeners:c}))}}if((g&7)===0){w:{if(M=w==="mouseover"||w==="pointerover",I=w==="mouseout"||w==="pointerout",M&&x!==o5&&(y=x.relatedTarget||x.fromElement)&&(b2(y)||y[l2]))break w;if(I||M){if(M=U.window===U?U:(M=U.ownerDocument)?M.defaultView||M.parentWindow:window,I){if(y=x.relatedTarget||x.toElement,I=X,y=y?b2(y):null,y!==null&&(f0=l0(y),c=y.tag,y!==f0||c!==5&&c!==27&&c!==6))y=null}else I=null,y=X;if(I!==y){if(c=UN,v="onMouseLeave",J0="onMouseEnter",Z="mouse",w==="pointerout"||w==="pointerover")c=qN,v="onPointerLeave",J0="onPointerEnter",Z="pointer";if(f0=I==null?M:H(I),Y=y==null?M:H(y),M=new c(v,Z+"leave",I,x,U),M.target=f0,M.relatedTarget=Y,v=null,b2(U)===X&&(c=new c(J0,Z+"enter",y,x,U),c.target=Y,c.relatedTarget=f0,v=c),f0=v,I&&y)g:{c=I,J0=y,Z=0;for(Y=c;Y;Y=J4(Y))Z++;Y=0;for(v=J0;v;v=J4(v))Y++;for(;0<Z-Y;)c=J4(c),Z--;for(;0<Y-Z;)J0=J4(J0),Y--;for(;Z--;){if(c===J0||J0!==null&&c===J0.alternate)break g;c=J4(c),J0=J4(J0)}c=null}else c=null;I!==null&&zR(L,M,I,c,!1),y!==null&&f0!==null&&zR(L,f0,y,c,!0)}}}w:{if(M=X?H(X):window,I=M.nodeName&&M.nodeName.toLowerCase(),I==="select"||I==="input"&&M.type==="file")var W=y7;else if(S7(M))if(KN)W=ZX;else{W=GX;var d=$X}else I=M.nodeName,!I||I.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?X&&H5(X.elementType)&&(W=y7):W=XX;if(W&&(W=W(w,X))){E7(L,W,x,U);break w}d&&d(w,M,X),w==="focusout"&&X&&M.type==="number"&&X.memoizedProps.value!=null&&f6(M,"number",M.value)}switch(d=X?H(X):window,w){case"focusin":if(S7(d)||d.contentEditable==="true")F4=d,R8=X,xx=null;break;case"focusout":xx=R8=F4=null;break;case"mousedown":N8=!0;break;case"contextmenu":case"mouseup":case"dragend":N8=!1,l7(L,x,U);break;case"selectionchange":if(CY)break;case"keydown":case"keyup":l7(L,x,U)}var r;if(B8)w:{switch(w){case"compositionstart":var f="onCompositionStart";break w;case"compositionend":f="onCompositionEnd";break w;case"compositionupdate":f="onCompositionUpdate";break w}f=void 0}else P4?d7(w,x)&&(f="onCompositionEnd"):w==="keydown"&&x.keyCode===LN&&(f="onCompositionStart");if(f&&(IN&&x.locale!=="ko"&&(P4||f!=="onCompositionStart"?f==="onCompositionEnd"&&P4&&(r=C7()):(s2=U,g8=("value"in s2)?s2.value:s2.textContent,P4=!0)),d=m3(X,f),0<d.length&&(f=new QN(f,w,null,x,U),L.push({event:f,listeners:d}),r?f.data=r:(r=j7(x),r!==null&&(f.data=r)))),r=PY?zX(w,x):BX(w,x))f=m3(X,"onBeforeInput"),0<f.length&&(d=new YY("onBeforeInput","beforeinput",null,x,U),L.push({event:d,listeners:f}),d.data=r);tX(L,w,X,x,U)}xR(L,g)})}function D5(w,g,x){return{instance:w,listener:g,currentTarget:x}}function m3(w,g){for(var x=g+"Capture",b=[];w!==null;){var z=w,B=z.stateNode;if(z=z.tag,z!==5&&z!==26&&z!==27||B===null||(z=J5(w,x),z!=null&&b.unshift(D5(w,z,B)),z=J5(w,g),z!=null&&b.push(D5(w,z,B))),w.tag===3)return b;w=w.return}return[]}function J4(w){if(w===null)return null;do w=w.return;while(w&&w.tag!==5&&w.tag!==27);return w?w:null}function zR(w,g,x,b,z){for(var B=g._reactName,R=[];x!==null&&x!==b;){var N=x,G=N.alternate,X=N.stateNode;if(N=N.tag,G!==null&&G===b)break;N!==5&&N!==26&&N!==27||X===null||(G=X,z?(X=J5(x,B),X!=null&&R.unshift(D5(x,X,G))):z||(X=J5(x,B),X!=null&&R.push(D5(x,X,G)))),x=x.return}R.length!==0&&w.push({event:g,listeners:R})}function Qb(w,g){wX(w,g),w!=="input"&&w!=="textarea"&&w!=="select"||g==null||g.value!==null||MN||(MN=!0,w==="select"&&g.multiple?console.error("`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.",w):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",w));var x={registrationNameDependencies:mg,possibleRegistrationNames:cb};H5(w)||typeof g.is==="string"||xX(w,g,x),g.contentEditable&&!g.suppressContentEditableWarning&&g.children!=null&&console.error("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.")}function Hw(w,g,x,b){g!==x&&(x=f2(x),f2(g)!==x&&(b[w]=g))}function aX(w,g,x){g.forEach(function(b){x[NR(b)]=b==="style"?Lb(w):w.getAttribute(b)})}function s1(w,g){g===!1?console.error("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.",w,w,w):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",w,typeof g)}function BR(w,g){return w=w.namespaceURI===l3||w.namespaceURI===O4?w.ownerDocument.createElementNS(w.namespaceURI,w.tagName):w.ownerDocument.createElement(w.tagName),w.innerHTML=g,w.innerHTML}function f2(w){return a(w)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",A(w)),U0(w)),(typeof w==="string"?w:""+w).replace(gv,`
|
|
172
|
+
`).replace(xv,"")}function RR(w,g){return g=f2(g),f2(w)===g?!0:!1}function _3(){}function j0(w,g,x,b,z,B){switch(x){case"children":if(typeof b==="string")kx(b,g,!1),g==="body"||g==="textarea"&&b===""||v5(w,b);else if(typeof b==="number"||typeof b==="bigint")kx(""+b,g,!1),g!=="body"&&v5(w,""+b);break;case"className":K1(w,"class",b);break;case"tabIndex":K1(w,"tabindex",b);break;case"dir":case"role":case"viewBox":case"width":case"height":K1(w,x,b);break;case"style":m7(w,b,B);break;case"data":if(g!=="object"){K1(w,"data",b);break}case"src":case"href":if(b===""&&(g!=="a"||x!=="href")){x==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',x,x):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',x,x),w.removeAttribute(x);break}if(b==null||typeof b==="function"||typeof b==="symbol"||typeof b==="boolean"){w.removeAttribute(x);break}p(b,x),b=M5(""+b),w.setAttribute(x,b);break;case"action":case"formAction":if(b!=null&&(g==="form"?x==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof b==="function"&&(z.encType==null&&z.method==null||q6||(q6=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),z.target==null||Q6||(Q6=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):g==="input"||g==="button"?x==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):g!=="input"||z.type==="submit"||z.type==="image"||U6?g!=="button"||z.type==null||z.type==="submit"||U6?typeof b==="function"&&(z.name==null||a$||(a$=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),z.formEncType==null&&z.formMethod==null||q6||(q6=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),z.formTarget==null||Q6||(Q6=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(U6=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(U6=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):x==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof b==="function"){w.setAttribute(x,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof B==="function"&&(x==="formAction"?(g!=="input"&&j0(w,g,"name",z.name,z,null),j0(w,g,"formEncType",z.formEncType,z,null),j0(w,g,"formMethod",z.formMethod,z,null),j0(w,g,"formTarget",z.formTarget,z,null)):(j0(w,g,"encType",z.encType,z,null),j0(w,g,"method",z.method,z,null),j0(w,g,"target",z.target,z,null)));if(b==null||typeof b==="symbol"||typeof b==="boolean"){w.removeAttribute(x);break}p(b,x),b=M5(""+b),w.setAttribute(x,b);break;case"onClick":b!=null&&(typeof b!=="function"&&s1(x,b),w.onclick=_3);break;case"onScroll":b!=null&&(typeof b!=="function"&&s1(x,b),M0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&s1(x,b),M0("scrollend",w));break;case"dangerouslySetInnerHTML":if(b!=null){if(typeof b!=="object"||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(x=b.__html,x!=null){if(z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");w.innerHTML=x}}break;case"multiple":w.multiple=b&&typeof b!=="function"&&typeof b!=="symbol";break;case"muted":w.muted=b&&typeof b!=="function"&&typeof b!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(b==null||typeof b==="function"||typeof b==="boolean"||typeof b==="symbol"){w.removeAttribute("xlink:href");break}p(b,x),x=M5(""+b),w.setAttributeNS(hg,"xlink:href",x);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":b!=null&&typeof b!=="function"&&typeof b!=="symbol"?(p(b,x),w.setAttribute(x,""+b)):w.removeAttribute(x);break;case"inert":b!==""||L6[x]||(L6[x]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",x));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":b&&typeof b!=="function"&&typeof b!=="symbol"?w.setAttribute(x,""):w.removeAttribute(x);break;case"capture":case"download":b===!0?w.setAttribute(x,""):b!==!1&&b!=null&&typeof b!=="function"&&typeof b!=="symbol"?(p(b,x),w.setAttribute(x,b)):w.removeAttribute(x);break;case"cols":case"rows":case"size":case"span":b!=null&&typeof b!=="function"&&typeof b!=="symbol"&&!isNaN(b)&&1<=b?(p(b,x),w.setAttribute(x,b)):w.removeAttribute(x);break;case"rowSpan":case"start":b==null||typeof b==="function"||typeof b==="symbol"||isNaN(b)?w.removeAttribute(x):(p(b,x),w.setAttribute(x,b));break;case"popover":M0("beforetoggle",w),M0("toggle",w),pw(w,"popover",b);break;case"xlinkActuate":m1(w,hg,"xlink:actuate",b);break;case"xlinkArcrole":m1(w,hg,"xlink:arcrole",b);break;case"xlinkRole":m1(w,hg,"xlink:role",b);break;case"xlinkShow":m1(w,hg,"xlink:show",b);break;case"xlinkTitle":m1(w,hg,"xlink:title",b);break;case"xlinkType":m1(w,hg,"xlink:type",b);break;case"xmlBase":m1(w,p8,"xml:base",b);break;case"xmlLang":m1(w,p8,"xml:lang",b);break;case"xmlSpace":m1(w,p8,"xml:space",b);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),pw(w,"is",b);break;case"innerText":case"textContent":break;case"popoverTarget":c$||b==null||typeof b!=="object"||(c$=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",b));default:!(2<x.length)||x[0]!=="o"&&x[0]!=="O"||x[1]!=="n"&&x[1]!=="N"?(x=_7(x),pw(w,x,b)):mg.hasOwnProperty(x)&&b!=null&&typeof b!=="function"&&s1(x,b)}}function qb(w,g,x,b,z,B){switch(x){case"style":m7(w,b,B);break;case"dangerouslySetInnerHTML":if(b!=null){if(typeof b!=="object"||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(x=b.__html,x!=null){if(z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");w.innerHTML=x}}break;case"children":typeof b==="string"?v5(w,b):(typeof b==="number"||typeof b==="bigint")&&v5(w,""+b);break;case"onScroll":b!=null&&(typeof b!=="function"&&s1(x,b),M0("scroll",w));break;case"onScrollEnd":b!=null&&(typeof b!=="function"&&s1(x,b),M0("scrollend",w));break;case"onClick":b!=null&&(typeof b!=="function"&&s1(x,b),w.onclick=_3);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(mg.hasOwnProperty(x))b!=null&&typeof b!=="function"&&s1(x,b);else w:{if(x[0]==="o"&&x[1]==="n"&&(z=x.endsWith("Capture"),g=x.slice(2,z?x.length-7:void 0),B=w[sw]||null,B=B!=null?B[x]:null,typeof B==="function"&&w.removeEventListener(g,B,z),typeof b==="function")){typeof B!=="function"&&B!==null&&(x in w?w[x]=null:w.hasAttribute(x)&&w.removeAttribute(x)),w.addEventListener(g,b,z);break w}x in w?w[x]=b:b===!0?w.setAttribute(x,""):pw(w,x,b)}}}function qw(w,g,x){switch(Qb(g,x),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":M0("error",w),M0("load",w);var b=!1,z=!1,B;for(B in x)if(x.hasOwnProperty(B)){var R=x[B];if(R!=null)switch(B){case"src":b=!0;break;case"srcSet":z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j0(w,g,B,R,x,null)}}z&&j0(w,g,"srcSet",x.srcSet,x,null),b&&j0(w,g,"src",x.src,x,null);return;case"input":o("input",x),M0("invalid",w);var N=B=R=z=null,G=null,X=null;for(b in x)if(x.hasOwnProperty(b)){var U=x[b];if(U!=null)switch(b){case"name":z=U;break;case"type":R=U;break;case"checked":G=U;break;case"defaultChecked":X=U;break;case"value":B=U;break;case"defaultValue":N=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:j0(w,g,b,U,x,null)}}X7(w,x),Z7(w,B,N,G,X,R,z,!1),fx(w);return;case"select":o("select",x),M0("invalid",w),b=R=B=null;for(z in x)if(x.hasOwnProperty(z)&&(N=x[z],N!=null))switch(z){case"value":B=N;break;case"defaultValue":R=N;break;case"multiple":b=N;default:j0(w,g,z,N,x,null)}H7(w,x),g=B,x=R,w.multiple=!!b,g!=null?b4(w,!!b,g,!1):x!=null&&b4(w,!!b,x,!0);return;case"textarea":o("textarea",x),M0("invalid",w),B=z=b=null;for(R in x)if(x.hasOwnProperty(R)&&(N=x[R],N!=null))switch(R){case"value":b=N;break;case"defaultValue":z=N;break;case"children":B=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:j0(w,g,R,N,x,null)}M7(w,x),U7(w,b,z,B),fx(w);return;case"option":Y7(w,x);for(G in x)if(x.hasOwnProperty(G)&&(b=x[G],b!=null))switch(G){case"selected":w.selected=b&&typeof b!=="function"&&typeof b!=="symbol";break;default:j0(w,g,G,b,x,null)}return;case"dialog":M0("beforetoggle",w),M0("toggle",w),M0("cancel",w),M0("close",w);break;case"iframe":case"object":M0("load",w);break;case"video":case"audio":for(b=0;b<mx.length;b++)M0(mx[b],w);break;case"image":M0("error",w),M0("load",w);break;case"details":M0("toggle",w);break;case"embed":case"source":case"link":M0("error",w),M0("load",w);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(X in x)if(x.hasOwnProperty(X)&&(b=x[X],b!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j0(w,g,X,b,x,null)}return;default:if(H5(g)){for(U in x)x.hasOwnProperty(U)&&(b=x[U],b!==void 0&&qb(w,g,U,b,x,void 0));return}}for(N in x)x.hasOwnProperty(N)&&(b=x[N],b!=null&&j0(w,g,N,b,x,null))}function cX(w,g,x,b){switch(Qb(g,b),g){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var z=null,B=null,R=null,N=null,G=null,X=null,U=null;for(I in x){var L=x[I];if(x.hasOwnProperty(I)&&L!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":G=L;default:b.hasOwnProperty(I)||j0(w,g,I,null,b,L)}}for(var M in b){var I=b[M];if(L=x[M],b.hasOwnProperty(M)&&(I!=null||L!=null))switch(M){case"type":B=I;break;case"name":z=I;break;case"checked":X=I;break;case"defaultChecked":U=I;break;case"value":R=I;break;case"defaultValue":N=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I!==L&&j0(w,g,M,I,b,L)}}g=x.type==="checkbox"||x.type==="radio"?x.checked!=null:x.value!=null,b=b.type==="checkbox"||b.type==="radio"?b.checked!=null:b.value!=null,g||!b||t$||(console.error("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://react.dev/link/controlled-components"),t$=!0),!g||b||s$||(console.error("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://react.dev/link/controlled-components"),s$=!0),y6(w,R,N,G,X,U,B,z);return;case"select":I=R=N=M=null;for(B in x)if(G=x[B],x.hasOwnProperty(B)&&G!=null)switch(B){case"value":break;case"multiple":I=G;default:b.hasOwnProperty(B)||j0(w,g,B,null,b,G)}for(z in b)if(B=b[z],G=x[z],b.hasOwnProperty(z)&&(B!=null||G!=null))switch(z){case"value":M=B;break;case"defaultValue":N=B;break;case"multiple":R=B;default:B!==G&&j0(w,g,z,B,b,G)}b=N,g=R,x=I,M!=null?b4(w,!!g,M,!1):!!x!==!!g&&(b!=null?b4(w,!!g,b,!0):b4(w,!!g,g?[]:"",!1));return;case"textarea":I=M=null;for(N in x)if(z=x[N],x.hasOwnProperty(N)&&z!=null&&!b.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:j0(w,g,N,null,b,z)}for(R in b)if(z=b[R],B=x[R],b.hasOwnProperty(R)&&(z!=null||B!=null))switch(R){case"value":M=z;break;case"defaultValue":I=z;break;case"children":break;case"dangerouslySetInnerHTML":if(z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:z!==B&&j0(w,g,R,z,b,B)}J7(w,M,I);return;case"option":for(var y in x)if(M=x[y],x.hasOwnProperty(y)&&M!=null&&!b.hasOwnProperty(y))switch(y){case"selected":w.selected=!1;break;default:j0(w,g,y,null,b,M)}for(G in b)if(M=b[G],I=x[G],b.hasOwnProperty(G)&&M!==I&&(M!=null||I!=null))switch(G){case"selected":w.selected=M&&typeof M!=="function"&&typeof M!=="symbol";break;default:j0(w,g,G,M,b,I)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var c in x)M=x[c],x.hasOwnProperty(c)&&M!=null&&!b.hasOwnProperty(c)&&j0(w,g,c,null,b,M);for(X in b)if(M=b[X],I=x[X],b.hasOwnProperty(X)&&M!==I&&(M!=null||I!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(g+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:j0(w,g,X,M,b,I)}return;default:if(H5(g)){for(var f0 in x)M=x[f0],x.hasOwnProperty(f0)&&M!==void 0&&!b.hasOwnProperty(f0)&&qb(w,g,f0,void 0,b,M);for(U in b)M=b[U],I=x[U],!b.hasOwnProperty(U)||M===I||M===void 0&&I===void 0||qb(w,g,U,M,b,I);return}}for(var J0 in x)M=x[J0],x.hasOwnProperty(J0)&&M!=null&&!b.hasOwnProperty(J0)&&j0(w,g,J0,null,b,M);for(L in b)M=b[L],I=x[L],!b.hasOwnProperty(L)||M===I||M==null&&I==null||j0(w,g,L,M,b,I)}function NR(w){switch(w){case"class":return"className";case"for":return"htmlFor";default:return w}}function Lb(w){var g={};w=w.style;for(var x=0;x<w.length;x++){var b=w[x];g[b]=w.getPropertyValue(b)}return g}function $R(w,g,x){if(g!=null&&typeof g!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var b,z=b="",B;for(B in g)if(g.hasOwnProperty(B)){var R=g[B];R!=null&&typeof R!=="boolean"&&R!==""&&(B.indexOf("--")===0?(ww(R,B),b+=z+B+":"+(""+R).trim()):typeof R!=="number"||R===0||vN.has(B)?(ww(R,B),b+=z+B.replace($N,"-$1").toLowerCase().replace(GN,"-ms-")+":"+(""+R).trim()):b+=z+B.replace($N,"-$1").toLowerCase().replace(GN,"-ms-")+":"+R+"px",z=";")}b=b||null,g=w.getAttribute("style"),g!==b&&(b=f2(b),f2(g)!==b&&(x.style=Lb(w)))}}function X1(w,g,x,b,z,B){if(z.delete(x),w=w.getAttribute(x),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(p(b,g),w===""+b)return}Hw(g,w,b,B)}function GR(w,g,x,b,z,B){if(z.delete(x),w=w.getAttribute(x),w===null){switch(typeof b){case"function":case"symbol":return}if(!b)return}else switch(typeof b){case"function":case"symbol":break;default:if(b)return}Hw(g,w,b,B)}function Ib(w,g,x,b,z,B){if(z.delete(x),w=w.getAttribute(x),w===null)switch(typeof b){case"undefined":case"function":case"symbol":return}else if(b!=null)switch(typeof b){case"function":case"symbol":break;default:if(p(b,x),w===""+b)return}Hw(g,w,b,B)}function XR(w,g,x,b,z,B){if(z.delete(x),w=w.getAttribute(x),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(b))return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!isNaN(b)&&(p(b,g),w===""+b))return}Hw(g,w,b,B)}function Wb(w,g,x,b,z,B){if(z.delete(x),w=w.getAttribute(x),w===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":return}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(p(b,g),x=M5(""+b),w===x)return}Hw(g,w,b,B)}function ZR(w,g,x,b){for(var z={},B=new Set,R=w.attributes,N=0;N<R.length;N++)switch(R[N].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:B.add(R[N].name)}if(H5(g)){for(var G in x)if(x.hasOwnProperty(G)){var X=x[G];if(X!=null){if(mg.hasOwnProperty(G))typeof X!=="function"&&s1(G,X);else if(x.suppressHydrationWarning!==!0)switch(G){case"children":typeof X!=="string"&&typeof X!=="number"||Hw("children",w.textContent,X,z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":R=w.innerHTML,X=X?X.__html:void 0,X!=null&&(X=BR(w,X),Hw(G,R,X,z));continue;case"style":B.delete(G),$R(w,X,z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":B.delete(G.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",G);continue;case"className":B.delete("class"),R=N0(w,"class",X),Hw("className",R,X,z);continue;default:b.context===O2&&g!=="svg"&&g!=="math"?B.delete(G.toLowerCase()):B.delete(G),R=N0(w,G,X),Hw(G,R,X,z)}}}}else for(X in x)if(x.hasOwnProperty(X)&&(G=x[X],G!=null)){if(mg.hasOwnProperty(X))typeof G!=="function"&&s1(X,G);else if(x.suppressHydrationWarning!==!0)switch(X){case"children":typeof G!=="string"&&typeof G!=="number"||Hw("children",w.textContent,G,z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":R=w.innerHTML,G=G?G.__html:void 0,G!=null&&(G=BR(w,G),R!==G&&(z[X]={__html:R}));continue;case"className":X1(w,X,"class",G,B,z);continue;case"tabIndex":X1(w,X,"tabindex",G,B,z);continue;case"style":B.delete(X),$R(w,G,z);continue;case"multiple":B.delete(X),Hw(X,w.multiple,G,z);continue;case"muted":B.delete(X),Hw(X,w.muted,G,z);continue;case"autoFocus":B.delete("autofocus"),Hw(X,w.autofocus,G,z);continue;case"data":if(g!=="object"){B.delete(X),R=w.getAttribute("data"),Hw(X,R,G,z);continue}case"src":case"href":if(!(G!==""||g==="a"&&X==="href"||g==="object"&&X==="data")){X==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',X,X):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',X,X);continue}Wb(w,X,X,G,B,z);continue;case"action":case"formAction":if(R=w.getAttribute(X),typeof G==="function"){B.delete(X.toLowerCase()),X==="formAction"?(B.delete("name"),B.delete("formenctype"),B.delete("formmethod"),B.delete("formtarget")):(B.delete("enctype"),B.delete("method"),B.delete("target"));continue}else if(R===bv){B.delete(X.toLowerCase()),Hw(X,"function",G,z);continue}Wb(w,X,X.toLowerCase(),G,B,z);continue;case"xlinkHref":Wb(w,X,"xlink:href",G,B,z);continue;case"contentEditable":Ib(w,X,"contenteditable",G,B,z);continue;case"spellCheck":Ib(w,X,"spellcheck",G,B,z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Ib(w,X,X,G,B,z);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":GR(w,X,X.toLowerCase(),G,B,z);continue;case"capture":case"download":w:{N=w;var U=R=X,L=z;if(B.delete(U),N=N.getAttribute(U),N===null)switch(typeof G){case"undefined":case"function":case"symbol":break w;default:if(G===!1)break w}else if(G!=null)switch(typeof G){case"function":case"symbol":break;case"boolean":if(G===!0&&N==="")break w;break;default:if(p(G,R),N===""+G)break w}Hw(R,N,G,L)}continue;case"cols":case"rows":case"size":case"span":w:{if(N=w,U=R=X,L=z,B.delete(U),N=N.getAttribute(U),N===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":break w;default:if(isNaN(G)||1>G)break w}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(G)||1>G)&&(p(G,R),N===""+G))break w}Hw(R,N,G,L)}continue;case"rowSpan":XR(w,X,"rowspan",G,B,z);continue;case"start":XR(w,X,X,G,B,z);continue;case"xHeight":X1(w,X,"x-height",G,B,z);continue;case"xlinkActuate":X1(w,X,"xlink:actuate",G,B,z);continue;case"xlinkArcrole":X1(w,X,"xlink:arcrole",G,B,z);continue;case"xlinkRole":X1(w,X,"xlink:role",G,B,z);continue;case"xlinkShow":X1(w,X,"xlink:show",G,B,z);continue;case"xlinkTitle":X1(w,X,"xlink:title",G,B,z);continue;case"xlinkType":X1(w,X,"xlink:type",G,B,z);continue;case"xmlBase":X1(w,X,"xml:base",G,B,z);continue;case"xmlLang":X1(w,X,"xml:lang",G,B,z);continue;case"xmlSpace":X1(w,X,"xml:space",G,B,z);continue;case"inert":G!==""||L6[X]||(L6[X]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",X)),GR(w,X,X,G,B,z);continue;default:if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){N=_7(X),R=!1,b.context===O2&&g!=="svg"&&g!=="math"?B.delete(N.toLowerCase()):(U=X.toLowerCase(),U=s3.hasOwnProperty(U)?s3[U]||null:null,U!==null&&U!==X&&(R=!0,B.delete(U)),B.delete(N));w:if(U=w,L=N,N=G,I0(L))if(U.hasAttribute(L))U=U.getAttribute(L),p(N,L),N=U===""+N?N:U;else{switch(typeof N){case"function":case"symbol":break w;case"boolean":if(U=L.toLowerCase().slice(0,5),U!=="data-"&&U!=="aria-")break w}N=N===void 0?void 0:null}else N=void 0;R||Hw(X,N,G,z)}}}return 0<B.size&&x.suppressHydrationWarning!==!0&&aX(w,B,z),Object.keys(z).length===0?null:z}function pX(w,g){switch(w.length){case 0:return"";case 1:return w[0];case 2:return w[0]+" "+g+" "+w[1];default:return w.slice(0,-1).join(", ")+", "+g+" "+w[w.length-1]}}function P3(w){return w.nodeType===9?w:w.ownerDocument}function YR(w){switch(w){case O4:return g5;case l3:return A6;default:return O2}}function vR(w,g){if(w===O2)switch(g){case"svg":return g5;case"math":return A6;default:return O2}return w===g5&&g==="foreignObject"?O2:w}function Ab(w,g){return w==="textarea"||w==="noscript"||typeof g.children==="string"||typeof g.children==="number"||typeof g.children==="bigint"||typeof g.dangerouslySetInnerHTML==="object"&&g.dangerouslySetInnerHTML!==null&&g.dangerouslySetInnerHTML.__html!=null}function oX(){var w=window.event;if(w&&w.type==="popstate"){if(w===r8)return!1;return r8=w,!0}return r8=null,!1}function iX(w){setTimeout(function(){throw w})}function nX(w,g,x){switch(g){case"button":case"input":case"select":case"textarea":x.autoFocus&&w.focus();break;case"img":x.src?w.src=x.src:x.srcSet&&(w.srcset=x.srcSet)}}function rX(w,g,x,b){cX(w,g,x,b),w[sw]=b}function HR(w){v5(w,"")}function eX(w,g,x){w.nodeValue=x}function V2(w){return w==="head"}function wZ(w,g){w.removeChild(g)}function gZ(w,g){(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).removeChild(g)}function MR(w,g){var x=g,b=0,z=0;do{var B=x.nextSibling;if(w.removeChild(x),B&&B.nodeType===8)if(x=B.data,x===W6){if(0<b&&8>b){x=b;var R=w.ownerDocument;if(x&Bv&&k5(R.documentElement),x&Rv&&k5(R.body),x&Nv)for(x=R.head,k5(x),R=x.firstChild;R;){var{nextSibling:N,nodeName:G}=R;R[c5]||G==="SCRIPT"||G==="STYLE"||G==="LINK"&&R.rel.toLowerCase()==="stylesheet"||x.removeChild(R),R=N}}if(z===0){w.removeChild(B),s5(g);return}z--}else x===I6||x===A2||x===_x?z++:b=x.charCodeAt(0)-48;else b=0;x=B}while(x);s5(g)}function xZ(w){w=w.style,typeof w.setProperty==="function"?w.setProperty("display","none","important"):w.display="none"}function bZ(w){w.nodeValue=""}function zZ(w,g){g=g[$v],g=g!==void 0&&g!==null&&g.hasOwnProperty("display")?g.display:null,w.style.display=g==null||typeof g==="boolean"?"":(""+g).trim()}function BZ(w,g){w.nodeValue=g}function Ob(w){var g=w.firstChild;g&&g.nodeType===10&&(g=g.nextSibling);for(;g;){var x=g;switch(g=g.nextSibling,x.nodeName){case"HTML":case"HEAD":case"BODY":Ob(x),Gg(x);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(x.rel.toLowerCase()==="stylesheet")continue}w.removeChild(x)}}function RZ(w,g,x,b){for(;w.nodeType===1;){var z=x;if(w.nodeName.toLowerCase()!==g.toLowerCase()){if(!b&&(w.nodeName!=="INPUT"||w.type!=="hidden"))break}else if(!b)if(g==="input"&&w.type==="hidden"){p(z.name,"name");var B=z.name==null?null:""+z.name;if(z.type==="hidden"&&w.getAttribute("name")===B)return w}else return w;else if(!w[c5])switch(g){case"meta":if(!w.hasAttribute("itemprop"))break;return w;case"link":if(B=w.getAttribute("rel"),B==="stylesheet"&&w.hasAttribute("data-precedence"))break;else if(B!==z.rel||w.getAttribute("href")!==(z.href==null||z.href===""?null:z.href)||w.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin)||w.getAttribute("title")!==(z.title==null?null:z.title))break;return w;case"style":if(w.hasAttribute("data-precedence"))break;return w;case"script":if(B=w.getAttribute("src"),(B!==(z.src==null?null:z.src)||w.getAttribute("type")!==(z.type==null?null:z.type)||w.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin))&&B&&w.hasAttribute("async")&&!w.hasAttribute("itemprop"))break;return w;default:return w}if(w=Z1(w.nextSibling),w===null)break}return null}function NZ(w,g,x){if(g==="")return null;for(;w.nodeType!==3;){if((w.nodeType!==1||w.nodeName!=="INPUT"||w.type!=="hidden")&&!x)return null;if(w=Z1(w.nextSibling),w===null)return null}return w}function Kb(w){return w.data===_x||w.data===A2&&w.ownerDocument.readyState===o$}function $Z(w,g){var x=w.ownerDocument;if(w.data!==A2||x.readyState===o$)g();else{var b=function(){g(),x.removeEventListener("DOMContentLoaded",b)};x.addEventListener("DOMContentLoaded",b),w._reactRetry=b}}function Z1(w){for(;w!=null;w=w.nextSibling){var g=w.nodeType;if(g===1||g===3)break;if(g===8){if(g=w.data,g===I6||g===_x||g===A2||g===o8||g===p$)break;if(g===W6)return null}}return w}function JR(w){if(w.nodeType===1){for(var g=w.nodeName.toLowerCase(),x={},b=w.attributes,z=0;z<b.length;z++){var B=b[z];x[NR(B.name)]=B.name.toLowerCase()==="style"?Lb(w):B.value}return{type:g,props:x}}return w.nodeType===8?{type:"Suspense",props:{}}:w.nodeValue}function UR(w,g,x){return x===null||x[zv]!==!0?(w.nodeValue===g?w=null:(g=f2(g),w=f2(w.nodeValue)===g?null:w.nodeValue),w):null}function QR(w){w=w.nextSibling;for(var g=0;w;){if(w.nodeType===8){var x=w.data;if(x===W6){if(g===0)return Z1(w.nextSibling);g--}else x!==I6&&x!==_x&&x!==A2||g++}w=w.nextSibling}return null}function qR(w){w=w.previousSibling;for(var g=0;w;){if(w.nodeType===8){var x=w.data;if(x===I6||x===_x||x===A2){if(g===0)return w;g--}else x===W6&&g++}w=w.previousSibling}return null}function GZ(w){s5(w)}function XZ(w){s5(w)}function LR(w,g,x,b,z){switch(z&&h6(w,b.ancestorInfo),g=P3(x),w){case"html":if(w=g.documentElement,!w)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return w;case"head":if(w=g.head,!w)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return w;case"body":if(w=g.body,!w)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return w;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ZZ(w,g,x,b){if(!x[l2]&&$(x)){var z=x.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",z,z,z)}switch(w){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(z=x.attributes;z.length;)x.removeAttributeNode(z[0]);qw(x,w,g),x[Fw]=b,x[sw]=g}function k5(w){for(var g=w.attributes;g.length;)w.removeAttributeNode(g[0]);Gg(w)}function F3(w){return typeof w.getRootNode==="function"?w.getRootNode():w.nodeType===9?w:w.ownerDocument}function IR(w,g,x){var b=x5;if(b&&typeof g==="string"&&g){var z=G1(g);z='link[rel="'+w+'"][href="'+z+'"]',typeof x==="string"&&(z+='[crossorigin="'+x+'"]'),gG.has(z)||(gG.add(z),w={rel:w,crossOrigin:x,href:g},b.querySelector(z)===null&&(g=b.createElement("link"),qw(g,"link",w),P(g),b.head.appendChild(g)))}}function WR(w,g,x,b){var z=(z=u2.current)?F3(z):null;if(!z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(w){case"meta":case"title":return null;case"style":return typeof x.precedence==="string"&&typeof x.href==="string"?(x=U4(x.href),g=F(z).hoistableStyles,b=g.get(x),b||(b={type:"style",instance:null,count:0,state:null},g.set(x,b)),b):{type:"void",instance:null,count:0,state:null};case"link":if(x.rel==="stylesheet"&&typeof x.href==="string"&&typeof x.precedence==="string"){w=U4(x.href);var B=F(z).hoistableStyles,R=B.get(w);if(!R&&(z=z.ownerDocument||z,R={type:"stylesheet",instance:null,count:0,state:{loading:sg,preload:null}},B.set(w,R),(B=z.querySelector(u5(w)))&&!B._p&&(R.instance=B,R.state.loading=Px|I1),!W1.has(w))){var N={rel:"preload",as:"style",href:x.href,crossOrigin:x.crossOrigin,integrity:x.integrity,media:x.media,hrefLang:x.hrefLang,referrerPolicy:x.referrerPolicy};W1.set(w,N),B||YZ(z,w,N,R.state)}if(g&&b===null)throw x=`
|
|
173
|
+
|
|
174
|
+
- `+C3(g)+`
|
|
175
|
+
+ `+C3(x),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+x);return R}if(g&&b!==null)throw x=`
|
|
176
|
+
|
|
177
|
+
- `+C3(g)+`
|
|
178
|
+
+ `+C3(x),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+x);return null;case"script":return g=x.async,x=x.src,typeof x==="string"&&g&&typeof g!=="function"&&typeof g!=="symbol"?(x=Q4(x),g=F(z).hoistableScripts,b=g.get(x),b||(b={type:"script",instance:null,count:0,state:null},g.set(x,b)),b):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+w+'". this is a bug in React.')}}function C3(w){var g=0,x="<link";return typeof w.rel==="string"?(g++,x+=' rel="'+w.rel+'"'):H2.call(w,"rel")&&(g++,x+=' rel="'+(w.rel===null?"null":"invalid type "+typeof w.rel)+'"'),typeof w.href==="string"?(g++,x+=' href="'+w.href+'"'):H2.call(w,"href")&&(g++,x+=' href="'+(w.href===null?"null":"invalid type "+typeof w.href)+'"'),typeof w.precedence==="string"?(g++,x+=' precedence="'+w.precedence+'"'):H2.call(w,"precedence")&&(g++,x+=" precedence={"+(w.precedence===null?"null":"invalid type "+typeof w.precedence)+"}"),Object.getOwnPropertyNames(w).length>g&&(x+=" ..."),x+" />"}function U4(w){return'href="'+G1(w)+'"'}function u5(w){return'link[rel="stylesheet"]['+w+"]"}function AR(w){return $0({},w,{"data-precedence":w.precedence,precedence:null})}function YZ(w,g,x,b){w.querySelector('link[rel="preload"][as="style"]['+g+"]")?b.loading=Px:(g=w.createElement("link"),b.preload=g,g.addEventListener("load",function(){return b.loading|=Px}),g.addEventListener("error",function(){return b.loading|=e$}),qw(g,"link",x),P(g),w.head.appendChild(g))}function Q4(w){return'[src="'+G1(w)+'"]'}function h5(w){return"script[async]"+w}function OR(w,g,x){if(g.count++,g.instance===null)switch(g.type){case"style":var b=w.querySelector('style[data-href~="'+G1(x.href)+'"]');if(b)return g.instance=b,P(b),b;var z=$0({},x,{"data-href":x.href,"data-precedence":x.precedence,href:null,precedence:null});return b=(w.ownerDocument||w).createElement("style"),P(b),qw(b,"style",z),T3(b,x.precedence,w),g.instance=b;case"stylesheet":z=U4(x.href);var B=w.querySelector(u5(z));if(B)return g.state.loading|=I1,g.instance=B,P(B),B;b=AR(x),(z=W1.get(z))&&mb(b,z),B=(w.ownerDocument||w).createElement("link"),P(B);var R=B;return R._p=new Promise(function(N,G){R.onload=N,R.onerror=G}),qw(B,"link",b),g.state.loading|=I1,T3(B,x.precedence,w),g.instance=B;case"script":if(B=Q4(x.src),z=w.querySelector(h5(B)))return g.instance=z,P(z),z;if(b=x,z=W1.get(B))b=$0({},x),_b(b,z);return w=w.ownerDocument||w,z=w.createElement("script"),P(z),qw(z,"link",b),w.head.appendChild(z),g.instance=z;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+g.type+'". this is a bug in React.')}else g.type==="stylesheet"&&(g.state.loading&I1)===sg&&(b=g.instance,g.state.loading|=I1,T3(b,x.precedence,w));return g.instance}function T3(w,g,x){for(var b=x.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),z=b.length?b[b.length-1]:null,B=z,R=0;R<b.length;R++){var N=b[R];if(N.dataset.precedence===g)B=N;else if(B!==z)break}B?B.parentNode.insertBefore(w,B.nextSibling):(g=x.nodeType===9?x.head:x,g.insertBefore(w,g.firstChild))}function mb(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.title==null&&(w.title=g.title)}function _b(w,g){w.crossOrigin==null&&(w.crossOrigin=g.crossOrigin),w.referrerPolicy==null&&(w.referrerPolicy=g.referrerPolicy),w.integrity==null&&(w.integrity=g.integrity)}function KR(w,g,x){if(O6===null){var b=new Map,z=O6=new Map;z.set(x,b)}else z=O6,b=z.get(x),b||(b=new Map,z.set(x,b));if(b.has(w))return b;b.set(w,null),x=x.getElementsByTagName(w);for(z=0;z<x.length;z++){var B=x[z];if(!(B[c5]||B[Fw]||w==="link"&&B.getAttribute("rel")==="stylesheet")&&B.namespaceURI!==O4){var R=B.getAttribute(g)||"";R=w+R;var N=b.get(R);N?N.push(B):b.set(R,[B])}}return b}function mR(w,g,x){w=w.ownerDocument||w,w.head.insertBefore(x,g==="title"?w.querySelector("head > title"):null)}function vZ(w,g,x){var b=!x.ancestorInfo.containerTagInScope;if(x.context===g5||g.itemProp!=null)return!b||g.itemProp==null||w!=="meta"&&w!=="title"&&w!=="style"&&w!=="link"&&w!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",w,w),!1;switch(w){case"meta":case"title":return!0;case"style":if(typeof g.precedence!=="string"||typeof g.href!=="string"||g.href===""){b&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof g.rel!=="string"||typeof g.href!=="string"||g.href===""||g.onLoad||g.onError){if(g.rel==="stylesheet"&&typeof g.precedence==="string"){w=g.href;var{onError:z,disabled:B}=g;x=[],g.onLoad&&x.push("`onLoad`"),z&&x.push("`onError`"),B!=null&&x.push("`disabled`"),z=pX(x,"and"),z+=x.length===1?" prop":" props",B=x.length===1?"an "+z:"the "+z,x.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',w,B,z)}b&&(typeof g.rel!=="string"||typeof g.href!=="string"||g.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(g.onError||g.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(g.rel){case"stylesheet":return w=g.precedence,g=g.disabled,typeof w!=="string"&&b&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof w==="string"&&g==null;default:return!0}case"script":if(w=g.async&&typeof g.async!=="function"&&typeof g.async!=="symbol",!w||g.onLoad||g.onError||!g.src||typeof g.src!=="string"){b&&(w?g.onLoad||g.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":b&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",w)}return!1}function _R(w){return w.type==="stylesheet"&&(w.state.loading&wG)===sg?!1:!0}function HZ(){}function MZ(w,g,x){if(Fx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var b=Fx;if(g.type==="stylesheet"&&(typeof x.media!=="string"||matchMedia(x.media).matches!==!1)&&(g.state.loading&I1)===sg){if(g.instance===null){var z=U4(x.href),B=w.querySelector(u5(z));if(B){w=B._p,w!==null&&typeof w==="object"&&typeof w.then==="function"&&(b.count++,b=d3.bind(b),w.then(b,b)),g.state.loading|=I1,g.instance=B,P(B);return}B=w.ownerDocument||w,x=AR(x),(z=W1.get(z))&&mb(x,z),B=B.createElement("link"),P(B);var R=B;R._p=new Promise(function(N,G){R.onload=N,R.onerror=G}),qw(B,"link",x),g.instance=B}b.stylesheets===null&&(b.stylesheets=new Map),b.stylesheets.set(g,w),(w=g.state.preload)&&(g.state.loading&wG)===sg&&(b.count++,g=d3.bind(b),w.addEventListener("load",g),w.addEventListener("error",g))}}function JZ(){if(Fx===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var w=Fx;return w.stylesheets&&w.count===0&&Pb(w,w.stylesheets),0<w.count?function(g){var x=setTimeout(function(){if(w.stylesheets&&Pb(w,w.stylesheets),w.unsuspend){var b=w.unsuspend;w.unsuspend=null,b()}},60000);return w.unsuspend=g,function(){w.unsuspend=null,clearTimeout(x)}}:null}function d3(){if(this.count--,this.count===0){if(this.stylesheets)Pb(this,this.stylesheets);else if(this.unsuspend){var w=this.unsuspend;this.unsuspend=null,w()}}}function Pb(w,g){w.stylesheets=null,w.unsuspend!==null&&(w.count++,K6=new Map,g.forEach(UZ,w),K6=null,d3.call(w))}function UZ(w,g){if(!(g.state.loading&I1)){var x=K6.get(w);if(x)var b=x.get(w7);else{x=new Map,K6.set(w,x);for(var z=w.querySelectorAll("link[data-precedence],style[data-precedence]"),B=0;B<z.length;B++){var R=z[B];if(R.nodeName==="LINK"||R.getAttribute("media")!=="not all")x.set(R.dataset.precedence,R),b=R}b&&x.set(w7,b)}z=g.instance,R=z.getAttribute("data-precedence"),B=x.get(R)||b,B===b&&x.set(w7,z),x.set(R,z),this.count++,b=d3.bind(this),z.addEventListener("load",b),z.addEventListener("error",b),B?B.parentNode.insertBefore(z,B.nextSibling):(w=w.nodeType===9?w.head:w,w.insertBefore(z,w.firstChild)),g.state.loading|=I1}}function QZ(w,g,x,b,z,B,R,N){this.tag=1,this.containerInfo=w,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=lg,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=w4(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=w4(0),this.hiddenUpdates=w4(null),this.identifierPrefix=b,this.onUncaughtError=z,this.onCaughtError=B,this.onRecoverableError=R,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,w=this.pendingUpdatersLaneMap=[];for(g=0;31>g;g++)w.push(new Set);this._debugRootType=x?"hydrateRoot()":"createRoot()"}function PR(w,g,x,b,z,B,R,N,G,X,U,L){return w=new QZ(w,g,x,R,N,G,X,L),g=SY,B===!0&&(g|=Cw|T1),F1&&(g|=Iw),B=C(3,null,null,g),w.current=B,B.stateNode=w,g=z9(),Lg(g),w.pooledCache=g,Lg(g),B.memoizedState={element:b,isDehydrated:x,cache:g},$9(B),w}function FR(w){if(!w)return t2;return w=t2,w}function Fb(w,g,x,b,z,B){if(Pw&&typeof Pw.onScheduleFiberRoot==="function")try{Pw.onScheduleFiberRoot(W4,b,x)}catch(R){c1||(c1=!0,console.error("React instrumentation encountered an error: %s",R))}j!==null&&typeof j.markRenderScheduled==="function"&&j.markRenderScheduled(g),z=FR(z),b.context===null?b.context=z:b.pendingContext=z,o1&&x1!==null&&!BG&&(BG=!0,console.error(`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.
|
|
179
|
+
|
|
180
|
+
Check the render method of %s.`,S(x1)||"Unknown")),b=T2(g),b.payload={element:x},B=B===void 0?null:B,B!==null&&(typeof B!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",B),b.callback=B),x=d2(w,b,g),x!==null&&(xw(x,w,g),O5(x,w,g))}function CR(w,g){if(w=w.memoizedState,w!==null&&w.dehydrated!==null){var x=w.retryLane;w.retryLane=x!==0&&x<g?x:g}}function Cb(w,g){CR(w,g),(w=w.alternate)&&CR(w,g)}function TR(w){if(w.tag===13){var g=uw(w,67108864);g!==null&&xw(g,w,67108864),Cb(w,67108864)}}function qZ(){return x1}function LZ(){for(var w=new Map,g=1,x=0;31>x;x++){var b=ng(g);w.set(g,b),g*=2}return w}function IZ(w,g,x,b){var z=q.T;q.T=null;var B=_0.p;try{_0.p=g1,Tb(w,g,x,b)}finally{_0.p=B,q.T=z}}function WZ(w,g,x,b){var z=q.T;q.T=null;var B=_0.p;try{_0.p=C1,Tb(w,g,x,b)}finally{_0.p=B,q.T=z}}function Tb(w,g,x,b){if(_6){var z=db(b);if(z===null)Ub(w,g,b,P6,x),jR(w,b);else if(AZ(z,w,g,x,b))b.stopPropagation();else if(jR(w,b),g&4&&-1<Yv.indexOf(w)){for(;z!==null;){var B=$(z);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var R=f1(B.pendingLanes);if(R!==0){var N=B;N.pendingLanes|=2;for(N.entangledLanes|=2;R;){var G=1<<31-dw(R);N.entanglements[1]|=G,R&=~G}l1(B),(P0&(fw|E1))===b1&&(Z6=a1()+f$,V5(0,!1))}}break;case 13:N=uw(B,2),N!==null&&xw(N,B,2),v4(),Cb(B,2)}if(B=db(b),B===null&&Ub(w,g,b,P6,x),B===z)break;z=B}z!==null&&b.stopPropagation()}else Ub(w,g,b,null,x)}}function db(w){return w=l6(w),jb(w)}function jb(w){if(P6=null,w=b2(w),w!==null){var g=l0(w);if(g===null)w=null;else{var x=g.tag;if(x===13){if(w=C0(g),w!==null)return w;w=null}else if(x===3){if(g.stateNode.current.memoizedState.isDehydrated)return g.tag===3?g.stateNode.containerInfo:null;w=null}else g!==w&&(w=null)}}return P6=w,null}function dR(w){switch(w){case"beforetoggle":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"toggle":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 g1;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return C1;case"message":switch(jZ()){case lb:return g1;case sb:return C1;case I4:case SZ:return p1;case tb:return u3;default:return p1}default:return p1}}function jR(w,g){switch(w){case"focusin":case"focusout":gg=null;break;case"dragenter":case"dragleave":xg=null;break;case"mouseover":case"mouseout":bg=null;break;case"pointerover":case"pointerout":Tx.delete(g.pointerId);break;case"gotpointercapture":case"lostpointercapture":dx.delete(g.pointerId)}}function l5(w,g,x,b,z,B){if(w===null||w.nativeEvent!==B)return w={blockedOn:g,domEventName:x,eventSystemFlags:b,nativeEvent:B,targetContainers:[z]},g!==null&&(g=$(g),g!==null&&TR(g)),w;return w.eventSystemFlags|=b,g=w.targetContainers,z!==null&&g.indexOf(z)===-1&&g.push(z),w}function AZ(w,g,x,b,z){switch(g){case"focusin":return gg=l5(gg,w,g,x,b,z),!0;case"dragenter":return xg=l5(xg,w,g,x,b,z),!0;case"mouseover":return bg=l5(bg,w,g,x,b,z),!0;case"pointerover":var B=z.pointerId;return Tx.set(B,l5(Tx.get(B)||null,w,g,x,b,z)),!0;case"gotpointercapture":return B=z.pointerId,dx.set(B,l5(dx.get(B)||null,w,g,x,b,z)),!0}return!1}function SR(w){var g=b2(w.target);if(g!==null){var x=l0(g);if(x!==null){if(g=x.tag,g===13){if(g=C0(x),g!==null){w.blockedOn=g,x4(w.priority,function(){if(x.tag===13){var b=ew(x);b=g4(b);var z=uw(x,b);z!==null&&xw(z,x,b),Cb(x,b)}});return}}else if(g===3&&x.stateNode.current.memoizedState.isDehydrated){w.blockedOn=x.tag===3?x.stateNode.containerInfo:null;return}}}w.blockedOn=null}function j3(w){if(w.blockedOn!==null)return!1;for(var g=w.targetContainers;0<g.length;){var x=db(w.nativeEvent);if(x===null){x=w.nativeEvent;var b=new x.constructor(x.type,x),z=b;o5!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),o5=z,x.target.dispatchEvent(b),o5===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),o5=null}else return g=$(x),g!==null&&TR(g),w.blockedOn=x,!1;g.shift()}return!0}function ER(w,g,x){j3(w)&&x.delete(g)}function OZ(){g7=!1,gg!==null&&j3(gg)&&(gg=null),xg!==null&&j3(xg)&&(xg=null),bg!==null&&j3(bg)&&(bg=null),Tx.forEach(ER),dx.forEach(ER)}function S3(w,g){w.blockedOn===g&&(w.blockedOn=null,g7||(g7=!0,L0.unstable_scheduleCallback(L0.unstable_NormalPriority,OZ)))}function yR(w){F6!==w&&(F6=w,L0.unstable_scheduleCallback(L0.unstable_NormalPriority,function(){F6===w&&(F6=null);for(var g=0;g<w.length;g+=3){var x=w[g],b=w[g+1],z=w[g+2];if(typeof b!=="function")if(jb(b||x)===null)continue;else break;var B=$(x);B!==null&&(w.splice(g,3),g-=3,x={pending:!0,data:z,method:x.method,action:b},Object.freeze(x),j9(B,x,b,z))}}))}function s5(w){function g(G){return S3(G,w)}gg!==null&&S3(gg,w),xg!==null&&S3(xg,w),bg!==null&&S3(bg,w),Tx.forEach(g),dx.forEach(g);for(var x=0;x<zg.length;x++){var b=zg[x];b.blockedOn===w&&(b.blockedOn=null)}for(;0<zg.length&&(x=zg[0],x.blockedOn===null);)SR(x),x.blockedOn===null&&zg.shift();if(x=(w.ownerDocument||w).$$reactFormReplay,x!=null)for(b=0;b<x.length;b+=3){var z=x[b],B=x[b+1],R=z[sw]||null;if(typeof B==="function")R||yR(x);else if(R){var N=null;if(B&&B.hasAttribute("formAction")){if(z=B,R=B[sw]||null)N=R.formAction;else if(jb(z)!==null)continue}else N=R.action;typeof N==="function"?x[b+1]=N:(x.splice(b,3),b-=3),yR(x)}}}function Sb(w){this._internalRoot=w}function E3(w){this._internalRoot=w}function fR(w){w[l2]&&(w._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("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."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var $0=Object.assign,KZ=Symbol.for("react.element"),D2=Symbol.for("react.transitional.element"),q4=Symbol.for("react.portal"),L4=Symbol.for("react.fragment"),y3=Symbol.for("react.strict_mode"),Eb=Symbol.for("react.profiler"),mZ=Symbol.for("react.provider"),yb=Symbol.for("react.consumer"),t1=Symbol.for("react.context"),t5=Symbol.for("react.forward_ref"),fb=Symbol.for("react.suspense"),Vb=Symbol.for("react.suspense_list"),f3=Symbol.for("react.memo"),w1=Symbol.for("react.lazy"),Db=Symbol.for("react.activity"),_Z=Symbol.for("react.memo_cache_sentinel"),VR=Symbol.iterator,PZ=Symbol.for("react.client.reference"),Lw=Array.isArray,q=b5.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_0=b7.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,FZ=Object.freeze({pending:!1,data:null,method:null,action:null}),kb=[],ub=[],v2=-1,k2=e0(null),a5=e0(null),u2=e0(null),V3=e0(null),H2=Object.prototype.hasOwnProperty,hb=L0.unstable_scheduleCallback,CZ=L0.unstable_cancelCallback,TZ=L0.unstable_shouldYield,dZ=L0.unstable_requestPaint,a1=L0.unstable_now,jZ=L0.unstable_getCurrentPriorityLevel,lb=L0.unstable_ImmediatePriority,sb=L0.unstable_UserBlockingPriority,I4=L0.unstable_NormalPriority,SZ=L0.unstable_LowPriority,tb=L0.unstable_IdlePriority,EZ=L0.log,yZ=L0.unstable_setDisableYieldValue,W4=null,Pw=null,j=null,c1=!1,F1=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined",dw=Math.clz32?Math.clz32:Dw,fZ=Math.log,VZ=Math.LN2,D3=256,k3=4194304,g1=2,C1=8,p1=32,u3=268435456,h2=Math.random().toString(36).slice(2),Fw="__reactFiber$"+h2,sw="__reactProps$"+h2,l2="__reactContainer$"+h2,ab="__reactEvents$"+h2,DZ="__reactListeners$"+h2,kZ="__reactHandles$"+h2,DR="__reactResources$"+h2,c5="__reactMarker$"+h2,kR=new Set,mg={},cb={},uZ={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hZ=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),uR={},hR={},p5=0,lR,sR,tR,aR,cR,pR,oR;Ex.__reactDisabledLog=!0;var pb,iR,ob=!1,ib=new(typeof WeakMap==="function"?WeakMap:Map),x1=null,o1=!1,lZ=/[\n"\\]/g,nR=!1,rR=!1,eR=!1,wN=!1,gN=!1,xN=!1,bN=["value","defaultValue"],zN=!1,BN=/["'&<>\n\t]|^\s|\s$/,sZ="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".split(" "),RN="applet caption html table td th marquee object template foreignObject desc title".split(" "),tZ=RN.concat(["button"]),aZ="dd dt li option optgroup p rp rt".split(" "),NN={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},h3={},nb={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),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".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),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".split(" "),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"]},$N=/([A-Z])/g,GN=/^ms-/,cZ=/^(?:webkit|moz|o)[A-Z]/,pZ=/^-ms-/,oZ=/-(.)/g,XN=/;\s*$/,A4={},rb={},ZN=!1,YN=!1,vN=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),l3="http://www.w3.org/1998/Math/MathML",O4="http://www.w3.org/2000/svg",iZ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),s3={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},HN={"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},K4={},nZ=RegExp("^(aria)-[: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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rZ=RegExp("^(aria)[A-Z][: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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),MN=!1,jw={},JN=/^on./,eZ=/^on[^A-Z]/,wY=RegExp("^(aria)-[: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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),gY=RegExp("^(aria)[A-Z][: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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),xY=/^[\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,o5=null,m4=null,_4=null,eb=!1,i1=!(typeof window==="undefined"||typeof window.document==="undefined"||typeof window.document.createElement==="undefined"),w8=!1;if(i1)try{var i5={};Object.defineProperty(i5,"passive",{get:function(){w8=!0}}),window.addEventListener("test",i5,i5),window.removeEventListener("test",i5,i5)}catch(w){w8=!1}var s2=null,g8=null,t3=null,_g={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(w){return w.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},a3=kw(_g),n5=$0({},_g,{view:0,detail:0}),bY=kw(n5),x8,b8,r5,c3=$0({},n5,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:s6,button:0,buttons:0,relatedTarget:function(w){return w.relatedTarget===void 0?w.fromElement===w.srcElement?w.toElement:w.fromElement:w.relatedTarget},movementX:function(w){if("movementX"in w)return w.movementX;return w!==r5&&(r5&&w.type==="mousemove"?(x8=w.screenX-r5.screenX,b8=w.screenY-r5.screenY):b8=x8=0,r5=w),x8},movementY:function(w){return"movementY"in w?w.movementY:b8}}),UN=kw(c3),zY=$0({},c3,{dataTransfer:0}),BY=kw(zY),RY=$0({},n5,{relatedTarget:0}),z8=kw(RY),NY=$0({},_g,{animationName:0,elapsedTime:0,pseudoElement:0}),$Y=kw(NY),GY=$0({},_g,{clipboardData:function(w){return"clipboardData"in w?w.clipboardData:window.clipboardData}}),XY=kw(GY),ZY=$0({},_g,{data:0}),QN=kw(ZY),YY=QN,vY={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HY={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"},MY={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},JY=$0({},n5,{key:function(w){if(w.key){var g=vY[w.key]||w.key;if(g!=="Unidentified")return g}return w.type==="keypress"?(w=ux(w),w===13?"Enter":String.fromCharCode(w)):w.type==="keydown"||w.type==="keyup"?HY[w.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:s6,charCode:function(w){return w.type==="keypress"?ux(w):0},keyCode:function(w){return w.type==="keydown"||w.type==="keyup"?w.keyCode:0},which:function(w){return w.type==="keypress"?ux(w):w.type==="keydown"||w.type==="keyup"?w.keyCode:0}}),UY=kw(JY),QY=$0({},c3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qN=kw(QY),qY=$0({},n5,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:s6}),LY=kw(qY),IY=$0({},_g,{propertyName:0,elapsedTime:0,pseudoElement:0}),WY=kw(IY),AY=$0({},c3,{deltaX:function(w){return"deltaX"in w?w.deltaX:("wheelDeltaX"in w)?-w.wheelDeltaX:0},deltaY:function(w){return"deltaY"in w?w.deltaY:("wheelDeltaY"in w)?-w.wheelDeltaY:("wheelDelta"in w)?-w.wheelDelta:0},deltaZ:0,deltaMode:0}),OY=kw(AY),KY=$0({},_g,{newState:0,oldState:0}),mY=kw(KY),_Y=[9,13,27,32],LN=229,B8=i1&&"CompositionEvent"in window,e5=null;i1&&"documentMode"in document&&(e5=document.documentMode);var PY=i1&&"TextEvent"in window&&!e5,IN=i1&&(!B8||e5&&8<e5&&11>=e5),WN=32,AN=String.fromCharCode(WN),ON=!1,P4=!1,FY={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},wx=null,gx=null,KN=!1;i1&&(KN=RX("input")&&(!document.documentMode||9<document.documentMode));var Sw=typeof Object.is==="function"?Object.is:YX,CY=i1&&"documentMode"in document&&11>=document.documentMode,F4=null,R8=null,xx=null,N8=!1,C4={animationend:Zg("Animation","AnimationEnd"),animationiteration:Zg("Animation","AnimationIteration"),animationstart:Zg("Animation","AnimationStart"),transitionrun:Zg("Transition","TransitionRun"),transitionstart:Zg("Transition","TransitionStart"),transitioncancel:Zg("Transition","TransitionCancel"),transitionend:Zg("Transition","TransitionEnd")},$8={},mN={};i1&&(mN=document.createElement("div").style,("AnimationEvent"in window)||(delete C4.animationend.animation,delete C4.animationiteration.animation,delete C4.animationstart.animation),("TransitionEvent"in window)||delete C4.transitionend.transition);var _N=Yg("animationend"),PN=Yg("animationiteration"),FN=Yg("animationstart"),TY=Yg("transitionrun"),dY=Yg("transitionstart"),jY=Yg("transitioncancel"),CN=Yg("transitionend"),TN=new Map,G8="abort auxClick beforeToggle 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".split(" ");G8.push("scrollEnd");var X8=new WeakMap,p3=1,M2=2,Y1=[],T4=0,Z8=0,t2={};Object.freeze(t2);var v1=null,d4=null,D0=0,SY=1,Iw=2,Cw=8,T1=16,dN=64,jN=!1;try{var SN=Object.preventExtensions({});}catch(w){jN=!0}var j4=[],S4=0,o3=null,i3=0,H1=[],M1=0,Pg=null,J2=1,U2="",Ew=null,o0=null,q0=!1,Q2=!1,J1=null,Fg=null,n1=!1,Y8=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),EN=0;if(typeof performance==="object"&&typeof performance.now==="function")var EY=performance,yN=function(){return EY.now()};else{var yY=Date;yN=function(){return yY.now()}}var v8=e0(null),H8=e0(null),fN={},n3=null,E4=null,y4=!1,fY=typeof AbortController!=="undefined"?AbortController:function(){var w=[],g=this.signal={aborted:!1,addEventListener:function(x,b){w.push(b)}};this.abort=function(){g.aborted=!0,w.forEach(function(x){return x()})}},VY=L0.unstable_scheduleCallback,DY=L0.unstable_NormalPriority,Xw={$$typeof:t1,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},f4=L0.unstable_now,VN=-0,r3=-0,tw=-1.1,Cg=-0,e3=!1,w6=!1,bx=null,M8=0,Tg=0,V4=null,DN=q.S;q.S=function(w,g){typeof g==="object"&&g!==null&&typeof g.then==="function"&&HX(w,g),DN!==null&&DN(w,g)};var dg=e0(null),d1={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},zx=[],Bx=[],Rx=[],Nx=[],$x=[],Gx=[],jg=new Set;d1.recordUnsafeLifecycleWarnings=function(w,g){jg.has(w.type)||(typeof g.componentWillMount==="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0&&zx.push(w),w.mode&Cw&&typeof g.UNSAFE_componentWillMount==="function"&&Bx.push(w),typeof g.componentWillReceiveProps==="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Rx.push(w),w.mode&Cw&&typeof g.UNSAFE_componentWillReceiveProps==="function"&&Nx.push(w),typeof g.componentWillUpdate==="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0&&$x.push(w),w.mode&Cw&&typeof g.UNSAFE_componentWillUpdate==="function"&&Gx.push(w))},d1.flushPendingUnsafeLifecycleWarnings=function(){var w=new Set;0<zx.length&&(zx.forEach(function(N){w.add(S(N)||"Component"),jg.add(N.type)}),zx=[]);var g=new Set;0<Bx.length&&(Bx.forEach(function(N){g.add(S(N)||"Component"),jg.add(N.type)}),Bx=[]);var x=new Set;0<Rx.length&&(Rx.forEach(function(N){x.add(S(N)||"Component"),jg.add(N.type)}),Rx=[]);var b=new Set;0<Nx.length&&(Nx.forEach(function(N){b.add(S(N)||"Component"),jg.add(N.type)}),Nx=[]);var z=new Set;0<$x.length&&($x.forEach(function(N){z.add(S(N)||"Component"),jg.add(N.type)}),$x=[]);var B=new Set;if(0<Gx.length&&(Gx.forEach(function(N){B.add(S(N)||"Component"),jg.add(N.type)}),Gx=[]),0<g.size){var R=J(g);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
181
|
+
|
|
182
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
183
|
+
|
|
184
|
+
Please update the following components: %s`,R)}0<b.size&&(R=J(b),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
185
|
+
|
|
186
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
187
|
+
* 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://react.dev/link/derived-state
|
|
188
|
+
|
|
189
|
+
Please update the following components: %s`,R)),0<B.size&&(R=J(B),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
190
|
+
|
|
191
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,R)),0<w.size&&(R=J(w),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
194
|
+
|
|
195
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
196
|
+
* 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.
|
|
197
|
+
|
|
198
|
+
Please update the following components: %s`,R)),0<x.size&&(R=J(x),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
199
|
+
|
|
200
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
201
|
+
* 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://react.dev/link/derived-state
|
|
202
|
+
* 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.
|
|
203
|
+
|
|
204
|
+
Please update the following components: %s`,R)),0<z.size&&(R=J(z),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
205
|
+
|
|
206
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
207
|
+
* 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.
|
|
208
|
+
|
|
209
|
+
Please update the following components: %s`,R))};var g6=new Map,kN=new Set;d1.recordLegacyContextWarning=function(w,g){var x=null;for(var b=w;b!==null;)b.mode&Cw&&(x=b),b=b.return;x===null?console.error("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."):!kN.has(w.type)&&(b=g6.get(x),w.type.contextTypes!=null||w.type.childContextTypes!=null||g!==null&&typeof g.getChildContext==="function")&&(b===void 0&&(b=[],g6.set(x,b)),b.push(w))},d1.flushLegacyContextWarning=function(){g6.forEach(function(w){if(w.length!==0){var g=w[0],x=new Set;w.forEach(function(z){x.add(S(z)||"Component"),kN.add(z.type)});var b=J(x);k(g,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
210
|
+
|
|
211
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s
|
|
214
|
+
|
|
215
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,b)})}})},d1.discardPendingWarnings=function(){zx=[],Bx=[],Rx=[],Nx=[],$x=[],Gx=[],g6=new Map};var Xx=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),uN=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),x6=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),J8={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Zx=null,b6=!1,U1=0,Q1=1,yw=2,Ww=4,Zw=8,hN=0,lN=1,sN=2,U8=3,a2=!1,tN=!1,Q8=null,q8=!1,D4=e0(null),z6=e0(0),k4,aN=new Set,cN=new Set,L8=new Set,pN=new Set,c2=0,i=null,S0=null,Rw=null,B6=!1,u4=!1,Sg=!1,R6=0,Yx=0,q2=null,kY=0,uY=25,Q=null,q1=null,L2=-1,vx=!1,N6={readContext:t0,use:j2,useCallback:gw,useContext:gw,useEffect:gw,useImperativeHandle:gw,useLayoutEffect:gw,useInsertionEffect:gw,useMemo:gw,useReducer:gw,useRef:gw,useState:gw,useDebugValue:gw,useDeferredValue:gw,useTransition:gw,useSyncExternalStore:gw,useId:gw,useHostTransitionStatus:gw,useFormState:gw,useActionState:gw,useOptimistic:gw,useMemoCache:gw,useCacheRefresh:gw},I8=null,oN=null,W8=null,iN=null,r1=null,j1=null,$6=null;I8={readContext:function(w){return t0(w)},use:j2,useCallback:function(w,g){return Q="useCallback",v0(),R4(g),F9(w,g)},useContext:function(w){return Q="useContext",v0(),t0(w)},useEffect:function(w,g){return Q="useEffect",v0(),R4(g),N3(w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",v0(),R4(x),P9(w,g,x)},useInsertionEffect:function(w,g){Q="useInsertionEffect",v0(),R4(g),Wg(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",v0(),R4(g),_9(w,g)},useMemo:function(w,g){Q="useMemo",v0(),R4(g);var x=q.H;q.H=r1;try{return C9(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",v0();var b=q.H;q.H=r1;try{return q9(w,g,x)}finally{q.H=b}},useRef:function(w){return Q="useRef",v0(),m9(w)},useState:function(w){Q="useState",v0();var g=q.H;q.H=r1;try{return A9(w)}finally{q.H=g}},useDebugValue:function(){Q="useDebugValue",v0()},useDeferredValue:function(w,g){return Q="useDeferredValue",v0(),T9(w,g)},useTransition:function(){return Q="useTransition",v0(),S9()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",v0(),I9(w,g,x)},useId:function(){return Q="useId",v0(),E9()},useFormState:function(w,g){return Q="useFormState",v0(),x3(),$4(w,g)},useActionState:function(w,g){return Q="useActionState",v0(),$4(w,g)},useOptimistic:function(w){return Q="useOptimistic",v0(),O9(w)},useHostTransitionStatus:Ag,useMemoCache:Ig,useCacheRefresh:function(){return Q="useCacheRefresh",v0(),y9()}},oN={readContext:function(w){return t0(w)},use:j2,useCallback:function(w,g){return Q="useCallback",_(),F9(w,g)},useContext:function(w){return Q="useContext",_(),t0(w)},useEffect:function(w,g){return Q="useEffect",_(),N3(w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",_(),P9(w,g,x)},useInsertionEffect:function(w,g){Q="useInsertionEffect",_(),Wg(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",_(),_9(w,g)},useMemo:function(w,g){Q="useMemo",_();var x=q.H;q.H=r1;try{return C9(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",_();var b=q.H;q.H=r1;try{return q9(w,g,x)}finally{q.H=b}},useRef:function(w){return Q="useRef",_(),m9(w)},useState:function(w){Q="useState",_();var g=q.H;q.H=r1;try{return A9(w)}finally{q.H=g}},useDebugValue:function(){Q="useDebugValue",_()},useDeferredValue:function(w,g){return Q="useDeferredValue",_(),T9(w,g)},useTransition:function(){return Q="useTransition",_(),S9()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",_(),I9(w,g,x)},useId:function(){return Q="useId",_(),E9()},useActionState:function(w,g){return Q="useActionState",_(),$4(w,g)},useFormState:function(w,g){return Q="useFormState",_(),x3(),$4(w,g)},useOptimistic:function(w){return Q="useOptimistic",_(),O9(w)},useHostTransitionStatus:Ag,useMemoCache:Ig,useCacheRefresh:function(){return Q="useCacheRefresh",_(),y9()}},W8={readContext:function(w){return t0(w)},use:j2,useCallback:function(w,g){return Q="useCallback",_(),G3(w,g)},useContext:function(w){return Q="useContext",_(),t0(w)},useEffect:function(w,g){Q="useEffect",_(),lw(2048,Zw,w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",_(),$3(w,g,x)},useInsertionEffect:function(w,g){return Q="useInsertionEffect",_(),lw(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",_(),lw(4,Ww,w,g)},useMemo:function(w,g){Q="useMemo",_();var x=q.H;q.H=j1;try{return X3(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",_();var b=q.H;q.H=j1;try{return N4(w,g,x)}finally{q.H=b}},useRef:function(){return Q="useRef",_(),T0().memoizedState},useState:function(){Q="useState",_();var w=q.H;q.H=j1;try{return N4(P1)}finally{q.H=w}},useDebugValue:function(){Q="useDebugValue",_()},useDeferredValue:function(w,g){return Q="useDeferredValue",_(),_z(w,g)},useTransition:function(){return Q="useTransition",_(),jz()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",_(),b3(w,g,x)},useId:function(){return Q="useId",_(),T0().memoizedState},useFormState:function(w){return Q="useFormState",_(),x3(),z3(w)},useActionState:function(w){return Q="useActionState",_(),z3(w)},useOptimistic:function(w,g){return Q="useOptimistic",_(),Uz(w,g)},useHostTransitionStatus:Ag,useMemoCache:Ig,useCacheRefresh:function(){return Q="useCacheRefresh",_(),T0().memoizedState}},iN={readContext:function(w){return t0(w)},use:j2,useCallback:function(w,g){return Q="useCallback",_(),G3(w,g)},useContext:function(w){return Q="useContext",_(),t0(w)},useEffect:function(w,g){Q="useEffect",_(),lw(2048,Zw,w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",_(),$3(w,g,x)},useInsertionEffect:function(w,g){return Q="useInsertionEffect",_(),lw(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",_(),lw(4,Ww,w,g)},useMemo:function(w,g){Q="useMemo",_();var x=q.H;q.H=$6;try{return X3(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",_();var b=q.H;q.H=$6;try{return P5(w,g,x)}finally{q.H=b}},useRef:function(){return Q="useRef",_(),T0().memoizedState},useState:function(){Q="useState",_();var w=q.H;q.H=$6;try{return P5(P1)}finally{q.H=w}},useDebugValue:function(){Q="useDebugValue",_()},useDeferredValue:function(w,g){return Q="useDeferredValue",_(),Pz(w,g)},useTransition:function(){return Q="useTransition",_(),Sz()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",_(),b3(w,g,x)},useId:function(){return Q="useId",_(),T0().memoizedState},useFormState:function(w){return Q="useFormState",_(),x3(),B3(w)},useActionState:function(w){return Q="useActionState",_(),B3(w)},useOptimistic:function(w,g){return Q="useOptimistic",_(),qz(w,g)},useHostTransitionStatus:Ag,useMemoCache:Ig,useCacheRefresh:function(){return Q="useCacheRefresh",_(),T0().memoizedState}},r1={readContext:function(w){return m0(),t0(w)},use:function(w){return T(),j2(w)},useCallback:function(w,g){return Q="useCallback",T(),v0(),F9(w,g)},useContext:function(w){return Q="useContext",T(),v0(),t0(w)},useEffect:function(w,g){return Q="useEffect",T(),v0(),N3(w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",T(),v0(),P9(w,g,x)},useInsertionEffect:function(w,g){Q="useInsertionEffect",T(),v0(),Wg(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",T(),v0(),_9(w,g)},useMemo:function(w,g){Q="useMemo",T(),v0();var x=q.H;q.H=r1;try{return C9(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",T(),v0();var b=q.H;q.H=r1;try{return q9(w,g,x)}finally{q.H=b}},useRef:function(w){return Q="useRef",T(),v0(),m9(w)},useState:function(w){Q="useState",T(),v0();var g=q.H;q.H=r1;try{return A9(w)}finally{q.H=g}},useDebugValue:function(){Q="useDebugValue",T(),v0()},useDeferredValue:function(w,g){return Q="useDeferredValue",T(),v0(),T9(w,g)},useTransition:function(){return Q="useTransition",T(),v0(),S9()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",T(),v0(),I9(w,g,x)},useId:function(){return Q="useId",T(),v0(),E9()},useFormState:function(w,g){return Q="useFormState",T(),v0(),$4(w,g)},useActionState:function(w,g){return Q="useActionState",T(),v0(),$4(w,g)},useOptimistic:function(w){return Q="useOptimistic",T(),v0(),O9(w)},useMemoCache:function(w){return T(),Ig(w)},useHostTransitionStatus:Ag,useCacheRefresh:function(){return Q="useCacheRefresh",v0(),y9()}},j1={readContext:function(w){return m0(),t0(w)},use:function(w){return T(),j2(w)},useCallback:function(w,g){return Q="useCallback",T(),_(),G3(w,g)},useContext:function(w){return Q="useContext",T(),_(),t0(w)},useEffect:function(w,g){Q="useEffect",T(),_(),lw(2048,Zw,w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",T(),_(),$3(w,g,x)},useInsertionEffect:function(w,g){return Q="useInsertionEffect",T(),_(),lw(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",T(),_(),lw(4,Ww,w,g)},useMemo:function(w,g){Q="useMemo",T(),_();var x=q.H;q.H=j1;try{return X3(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",T(),_();var b=q.H;q.H=j1;try{return N4(w,g,x)}finally{q.H=b}},useRef:function(){return Q="useRef",T(),_(),T0().memoizedState},useState:function(){Q="useState",T(),_();var w=q.H;q.H=j1;try{return N4(P1)}finally{q.H=w}},useDebugValue:function(){Q="useDebugValue",T(),_()},useDeferredValue:function(w,g){return Q="useDeferredValue",T(),_(),_z(w,g)},useTransition:function(){return Q="useTransition",T(),_(),jz()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",T(),_(),b3(w,g,x)},useId:function(){return Q="useId",T(),_(),T0().memoizedState},useFormState:function(w){return Q="useFormState",T(),_(),z3(w)},useActionState:function(w){return Q="useActionState",T(),_(),z3(w)},useOptimistic:function(w,g){return Q="useOptimistic",T(),_(),Uz(w,g)},useMemoCache:function(w){return T(),Ig(w)},useHostTransitionStatus:Ag,useCacheRefresh:function(){return Q="useCacheRefresh",_(),T0().memoizedState}},$6={readContext:function(w){return m0(),t0(w)},use:function(w){return T(),j2(w)},useCallback:function(w,g){return Q="useCallback",T(),_(),G3(w,g)},useContext:function(w){return Q="useContext",T(),_(),t0(w)},useEffect:function(w,g){Q="useEffect",T(),_(),lw(2048,Zw,w,g)},useImperativeHandle:function(w,g,x){return Q="useImperativeHandle",T(),_(),$3(w,g,x)},useInsertionEffect:function(w,g){return Q="useInsertionEffect",T(),_(),lw(4,yw,w,g)},useLayoutEffect:function(w,g){return Q="useLayoutEffect",T(),_(),lw(4,Ww,w,g)},useMemo:function(w,g){Q="useMemo",T(),_();var x=q.H;q.H=j1;try{return X3(w,g)}finally{q.H=x}},useReducer:function(w,g,x){Q="useReducer",T(),_();var b=q.H;q.H=j1;try{return P5(w,g,x)}finally{q.H=b}},useRef:function(){return Q="useRef",T(),_(),T0().memoizedState},useState:function(){Q="useState",T(),_();var w=q.H;q.H=j1;try{return P5(P1)}finally{q.H=w}},useDebugValue:function(){Q="useDebugValue",T(),_()},useDeferredValue:function(w,g){return Q="useDeferredValue",T(),_(),Pz(w,g)},useTransition:function(){return Q="useTransition",T(),_(),Sz()},useSyncExternalStore:function(w,g,x){return Q="useSyncExternalStore",T(),_(),b3(w,g,x)},useId:function(){return Q="useId",T(),_(),T0().memoizedState},useFormState:function(w){return Q="useFormState",T(),_(),B3(w)},useActionState:function(w){return Q="useActionState",T(),_(),B3(w)},useOptimistic:function(w,g){return Q="useOptimistic",T(),_(),qz(w,g)},useMemoCache:function(w){return T(),Ig(w)},useHostTransitionStatus:Ag,useCacheRefresh:function(){return Q="useCacheRefresh",_(),T0().memoizedState}};var nN={react_stack_bottom_frame:function(w,g,x){var b=o1;o1=!0;try{return w(g,x)}finally{o1=b}}},A8=nN.react_stack_bottom_frame.bind(nN),rN={react_stack_bottom_frame:function(w){var g=o1;o1=!0;try{return w.render()}finally{o1=g}}},eN=rN.react_stack_bottom_frame.bind(rN),w$={react_stack_bottom_frame:function(w,g){try{g.componentDidMount()}catch(x){d0(w,w.return,x)}}},O8=w$.react_stack_bottom_frame.bind(w$),g$={react_stack_bottom_frame:function(w,g,x,b,z){try{g.componentDidUpdate(x,b,z)}catch(B){d0(w,w.return,B)}}},x$=g$.react_stack_bottom_frame.bind(g$),b$={react_stack_bottom_frame:function(w,g){var x=g.stack;w.componentDidCatch(g.value,{componentStack:x!==null?x:""})}},hY=b$.react_stack_bottom_frame.bind(b$),z$={react_stack_bottom_frame:function(w,g,x){try{x.componentWillUnmount()}catch(b){d0(w,g,b)}}},B$=z$.react_stack_bottom_frame.bind(z$),R$={react_stack_bottom_frame:function(w){w.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",w.resourceKind);var g=w.create;return w=w.inst,g=g(),w.destroy=g}},lY=R$.react_stack_bottom_frame.bind(R$),N$={react_stack_bottom_frame:function(w,g,x){try{x()}catch(b){d0(w,g,b)}}},sY=N$.react_stack_bottom_frame.bind(N$),$$={react_stack_bottom_frame:function(w){var g=w._init;return g(w._payload)}},p2=$$.react_stack_bottom_frame.bind($$),h4=null,Hx=0,R0=null,K8,G$=K8=!1,X$={},Z$={},Y$={};t=function(w,g,x){if(x!==null&&typeof x==="object"&&x._store&&(!x._store.validated&&x.key==null||x._store.validated===2)){if(typeof x._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.");x._store.validated=1;var b=S(w),z=b||"null";if(!X$[z]){X$[z]=!0,x=x._owner,w=w._debugOwner;var B="";w&&typeof w.tag==="number"&&(z=S(w))&&(B=`
|
|
216
|
+
|
|
217
|
+
Check the render method of \``+z+"`."),B||b&&(B=`
|
|
218
|
+
|
|
219
|
+
Check the top-level render call using <`+b+">.");var R="";x!=null&&w!==x&&(b=null,typeof x.tag==="number"?b=S(x):typeof x.name==="string"&&(b=x.name),b&&(R=" It was passed a child from "+b+".")),k(g,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',B,R)})}}};var l4=Vz(!0),v$=Vz(!1),L1=e0(null),e1=null,s4=1,Mx=2,Yw=e0(0),H$={},M$=new Set,J$=new Set,U$=new Set,Q$=new Set,q$=new Set,L$=new Set,I$=new Set,W$=new Set,A$=new Set,O$=new Set;Object.freeze(H$);var m8={enqueueSetState:function(w,g,x){w=w._reactInternals;var b=ew(w),z=T2(b);z.payload=g,x!==void 0&&x!==null&&(V9(x),z.callback=x),g=d2(w,z,b),g!==null&&(xw(g,w,b),O5(g,w,b)),x2(w,b)},enqueueReplaceState:function(w,g,x){w=w._reactInternals;var b=ew(w),z=T2(b);z.tag=lN,z.payload=g,x!==void 0&&x!==null&&(V9(x),z.callback=x),g=d2(w,z,b),g!==null&&(xw(g,w,b),O5(g,w,b)),x2(w,b)},enqueueForceUpdate:function(w,g){w=w._reactInternals;var x=ew(w),b=T2(x);b.tag=sN,g!==void 0&&g!==null&&(V9(g),b.callback=g),g=d2(w,b,x),g!==null&&(xw(g,w,x),O5(g,w,x)),j!==null&&typeof j.markForceUpdateScheduled==="function"&&j.markForceUpdateScheduled(w,x)}},_8=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(g))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},t4=null,P8=null,K$=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Mw=!1,m$={},_$={},P$={},F$={},a4=!1,C$={},F8={},C8={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},T$=!1,d$=null;d$=new Set;var I2=!1,bw=!1,T8=!1,j$=typeof WeakSet==="function"?WeakSet:Set,Jw=null,c4=null,p4=null,Nw=null,aw=!1,S1=null,Jx=8192,tY={getCacheForType:function(w){var g=t0(Xw),x=g.data.get(w);return x===void 0&&(x=w(),g.data.set(w,x)),x},getOwner:function(){return x1}};if(typeof Symbol==="function"&&Symbol.for){var Ux=Symbol.for;Ux("selector.component"),Ux("selector.has_pseudo_class"),Ux("selector.role"),Ux("selector.test_id"),Ux("selector.text")}var aY=[],cY=typeof WeakMap==="function"?WeakMap:Map,b1=0,fw=2,E1=4,W2=0,Qx=1,o4=2,d8=3,Eg=4,G6=6,S$=5,P0=b1,y0=null,Z0=null,H0=0,cw=0,qx=1,yg=2,Lx=3,E$=4,j8=5,i4=6,Ix=7,S8=8,fg=9,F0=cw,z1=null,o2=!1,n4=!1,E8=!1,w2=0,i0=W2,i2=0,n2=0,y8=0,B1=0,Vg=0,Wx=null,Vw=null,X6=!1,f8=0,y$=300,Z6=1/0,f$=500,Ax=null,r2=null,pY=0,oY=1,iY=2,Dg=0,V$=1,D$=2,k$=3,nY=4,V8=5,Aw=0,e2=null,r4=null,wg=0,D8=0,k8=null,u$=null,rY=50,Ox=0,u8=null,h8=!1,Y6=!1,eY=50,kg=0,Kx=null,e4=!1,v6=null,h$=!1,l$=new Set,wv={},H6=null,w5=null,l8=!1,s8=!1,M6=!1,t8=!1,ug=0,a8={};(function(){for(var w=0;w<G8.length;w++){var g=G8[w],x=g.toLowerCase();g=g[0].toUpperCase()+g.slice(1),_1(x,"on"+g)}_1(_N,"onAnimationEnd"),_1(PN,"onAnimationIteration"),_1(FN,"onAnimationStart"),_1("dblclick","onDoubleClick"),_1("focusin","onFocus"),_1("focusout","onBlur"),_1(TY,"onTransitionRun"),_1(dY,"onTransitionStart"),_1(jY,"onTransitionCancel"),_1(CN,"onTransitionEnd")})(),g0("onMouseEnter",["mouseout","mouseover"]),g0("onMouseLeave",["mouseout","mouseover"]),g0("onPointerEnter",["pointerout","pointerover"]),g0("onPointerLeave",["pointerout","pointerover"]),D("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),D("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),D("onBeforeInput",["compositionend","keypress","textInput","paste"]),D("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),D("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),D("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mx="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),c8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mx)),J6="_reactListening"+Math.random().toString(36).slice(2),s$=!1,t$=!1,U6=!1,a$=!1,Q6=!1,q6=!1,c$=!1,L6={},gv=/\r\n?/g,xv=/\u0000|\uFFFD/g,hg="http://www.w3.org/1999/xlink",p8="http://www.w3.org/XML/1998/namespace",bv="javascript:throw new Error('React form unexpectedly submitted.')",zv="suppressHydrationWarning",I6="$",W6="/$",A2="$?",_x="$!",Bv=1,Rv=2,Nv=4,o8="F!",p$="F",o$="complete",$v="style",O2=0,g5=1,A6=2,i8=null,n8=null,i$={dialog:!0,webview:!0},r8=null,n$=typeof setTimeout==="function"?setTimeout:void 0,Gv=typeof clearTimeout==="function"?clearTimeout:void 0,lg=-1,r$=typeof Promise==="function"?Promise:void 0,Xv=typeof queueMicrotask==="function"?queueMicrotask:typeof r$!=="undefined"?function(w){return r$.resolve(null).then(w).catch(iX)}:n$,e8=null,sg=0,Px=1,e$=2,wG=3,I1=4,W1=new Map,gG=new Set,K2=_0.d;_0.d={f:function(){var w=K2.f(),g=v4();return w||g},r:function(w){var g=$(w);g!==null&&g.tag===5&&g.type==="form"?dz(g):K2.r(w)},D:function(w){K2.D(w),IR("dns-prefetch",w,null)},C:function(w,g){K2.C(w,g),IR("preconnect",w,g)},L:function(w,g,x){K2.L(w,g,x);var b=x5;if(b&&w&&g){var z='link[rel="preload"][as="'+G1(g)+'"]';g==="image"?x&&x.imageSrcSet?(z+='[imagesrcset="'+G1(x.imageSrcSet)+'"]',typeof x.imageSizes==="string"&&(z+='[imagesizes="'+G1(x.imageSizes)+'"]')):z+='[href="'+G1(w)+'"]':z+='[href="'+G1(w)+'"]';var B=z;switch(g){case"style":B=U4(w);break;case"script":B=Q4(w)}W1.has(B)||(w=$0({rel:"preload",href:g==="image"&&x&&x.imageSrcSet?void 0:w,as:g},x),W1.set(B,w),b.querySelector(z)!==null||g==="style"&&b.querySelector(u5(B))||g==="script"&&b.querySelector(h5(B))||(g=b.createElement("link"),qw(g,"link",w),P(g),b.head.appendChild(g)))}},m:function(w,g){K2.m(w,g);var x=x5;if(x&&w){var b=g&&typeof g.as==="string"?g.as:"script",z='link[rel="modulepreload"][as="'+G1(b)+'"][href="'+G1(w)+'"]',B=z;switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":B=Q4(w)}if(!W1.has(B)&&(w=$0({rel:"modulepreload",href:w},g),W1.set(B,w),x.querySelector(z)===null)){switch(b){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(x.querySelector(h5(B)))return}b=x.createElement("link"),qw(b,"link",w),P(b),x.head.appendChild(b)}}},X:function(w,g){K2.X(w,g);var x=x5;if(x&&w){var b=F(x).hoistableScripts,z=Q4(w),B=b.get(z);B||(B=x.querySelector(h5(z)),B||(w=$0({src:w,async:!0},g),(g=W1.get(z))&&_b(w,g),B=x.createElement("script"),P(B),qw(B,"link",w),x.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},b.set(z,B))}},S:function(w,g,x){K2.S(w,g,x);var b=x5;if(b&&w){var z=F(b).hoistableStyles,B=U4(w);g=g||"default";var R=z.get(B);if(!R){var N={loading:sg,preload:null};if(R=b.querySelector(u5(B)))N.loading=Px|I1;else{w=$0({rel:"stylesheet",href:w,"data-precedence":g},x),(x=W1.get(B))&&mb(w,x);var G=R=b.createElement("link");P(G),qw(G,"link",w),G._p=new Promise(function(X,U){G.onload=X,G.onerror=U}),G.addEventListener("load",function(){N.loading|=Px}),G.addEventListener("error",function(){N.loading|=e$}),N.loading|=I1,T3(R,g,b)}R={type:"stylesheet",instance:R,count:1,state:N},z.set(B,R)}}},M:function(w,g){K2.M(w,g);var x=x5;if(x&&w){var b=F(x).hoistableScripts,z=Q4(w),B=b.get(z);B||(B=x.querySelector(h5(z)),B||(w=$0({src:w,async:!0,type:"module"},g),(g=W1.get(z))&&_b(w,g),B=x.createElement("script"),P(B),qw(B,"link",w),x.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},b.set(z,B))}}};var x5=typeof document==="undefined"?null:document,O6=null,Fx=null,w7=null,K6=null,tg=FZ,Cx={$$typeof:t1,Provider:null,Consumer:null,_currentValue:tg,_currentValue2:tg,_threadCount:0},xG="%c%s%c ",bG="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",zG="",m6=" ",Zv=Function.prototype.bind,BG=!1,RG=null,NG=null,$G=null,GG=null,XG=null,ZG=null,YG=null,vG=null,HG=null;RG=function(w,g,x,b){g=m(w,g),g!==null&&(x=V(g.memoizedState,x,0,b),g.memoizedState=x,g.baseState=x,w.memoizedProps=$0({},w.memoizedProps),x=uw(w,2),x!==null&&xw(x,w,2))},NG=function(w,g,x){g=m(w,g),g!==null&&(x=E(g.memoizedState,x,0),g.memoizedState=x,g.baseState=x,w.memoizedProps=$0({},w.memoizedProps),x=uw(w,2),x!==null&&xw(x,w,2))},$G=function(w,g,x,b){g=m(w,g),g!==null&&(x=u(g.memoizedState,x,b),g.memoizedState=x,g.baseState=x,w.memoizedProps=$0({},w.memoizedProps),x=uw(w,2),x!==null&&xw(x,w,2))},GG=function(w,g,x){w.pendingProps=V(w.memoizedProps,g,0,x),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=uw(w,2),g!==null&&xw(g,w,2)},XG=function(w,g){w.pendingProps=E(w.memoizedProps,g,0),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=uw(w,2),g!==null&&xw(g,w,2)},ZG=function(w,g,x){w.pendingProps=u(w.memoizedProps,g,x),w.alternate&&(w.alternate.pendingProps=w.pendingProps),g=uw(w,2),g!==null&&xw(g,w,2)},YG=function(w){var g=uw(w,2);g!==null&&xw(g,w,2)},vG=function(w){W0=w},HG=function(w){n=w};var _6=!0,P6=null,g7=!1,gg=null,xg=null,bg=null,Tx=new Map,dx=new Map,zg=[],Yv="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".split(" "),F6=null;if(E3.prototype.render=Sb.prototype.render=function(w){var g=this._internalRoot;if(g===null)throw Error("Cannot update an unmounted root.");var x=arguments;typeof x[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w0(x[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof x[1]!=="undefined"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),x=w;var b=g.current,z=ew(b);Fb(b,z,x,g,null,null)},E3.prototype.unmount=Sb.prototype.unmount=function(){var w=arguments;if(typeof w[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),w=this._internalRoot,w!==null){this._internalRoot=null;var g=w.containerInfo;(P0&(fw|E1))!==b1&&console.error("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."),Fb(w.current,2,null,w,null,null),v4(),g[l2]=null}},E3.prototype.unstable_scheduleHydration=function(w){if(w){var g=$g();w={blockedOn:null,target:w,priority:g};for(var x=0;x<zg.length&&g!==0&&g<zg[x].priority;x++);zg.splice(x,0,w),x===0&&SR(w)}},function(){var w=b5.version;if(w!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
220
|
+
- react: `+(w+`
|
|
221
|
+
- react-dom: 19.1.1
|
|
222
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),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"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),_0.findDOMNode=function(w){var g=w._reactInternals;if(g===void 0){if(typeof w.render==="function")throw Error("Unable to find node on an unmounted component.");throw w=Object.keys(w).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+w)}return w=s0(g),w=w!==null?r0(w):null,w=w===null?null:w.stateNode,w},!function(){var w={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.1.1"};return w.overrideHookState=RG,w.overrideHookStateDeletePath=NG,w.overrideHookStateRenamePath=$G,w.overrideProps=GG,w.overridePropsDeletePath=XG,w.overridePropsRenamePath=ZG,w.scheduleUpdate=YG,w.setErrorHandler=vG,w.setSuspenseHandler=HG,w.scheduleRefresh=V0,w.scheduleRoot=G0,w.setRefreshHandler=Q0,w.getCurrentFiber=qZ,w.getLaneLabelMap=LZ,w.injectProfilingHooks=p0,y1(w)}()&&i1&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var MG=window.location.protocol;/^(https?|file):$/.test(MG)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(MG==="file:"?`
|
|
223
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Wv.createRoot=function(w,g){if(!w0(w))throw Error("Target container is not a DOM element.");fR(w);var x=!1,b="",z=hz,B=lz,R=sz,N=null;return g!==null&&g!==void 0&&(g.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof g==="object"&&g!==null&&g.$$typeof===D2&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
224
|
+
|
|
225
|
+
let root = createRoot(domContainer);
|
|
226
|
+
root.render(<App />);`),g.unstable_strictMode===!0&&(x=!0),g.identifierPrefix!==void 0&&(b=g.identifierPrefix),g.onUncaughtError!==void 0&&(z=g.onUncaughtError),g.onCaughtError!==void 0&&(B=g.onCaughtError),g.onRecoverableError!==void 0&&(R=g.onRecoverableError),g.unstable_transitionCallbacks!==void 0&&(N=g.unstable_transitionCallbacks)),g=PR(w,1,!1,null,null,x,b,z,B,R,N,null),w[l2]=g.current,Jb(w),new Sb(g)},Wv.hydrateRoot=function(w,g,x){if(!w0(w))throw Error("Target container is not a DOM element.");fR(w),g===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var b=!1,z="",B=hz,R=lz,N=sz,G=null,X=null;return x!==null&&x!==void 0&&(x.unstable_strictMode===!0&&(b=!0),x.identifierPrefix!==void 0&&(z=x.identifierPrefix),x.onUncaughtError!==void 0&&(B=x.onUncaughtError),x.onCaughtError!==void 0&&(R=x.onCaughtError),x.onRecoverableError!==void 0&&(N=x.onRecoverableError),x.unstable_transitionCallbacks!==void 0&&(G=x.unstable_transitionCallbacks),x.formState!==void 0&&(X=x.formState)),g=PR(w,1,!0,g,x!=null?x:null,b,z,B,R,N,G,X),g.context=FR(null),x=g.current,b=ew(x),b=g4(b),z=T2(b),z.callback=null,d2(x,z,b),x=b,g.current.lanes=x,P2(g,x),l1(g),w[l2]=g.current,Jb(w),new E3(g)},Wv.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var AG=ag((gM,WG)=>{var Av=K0(IG(),1);WG.exports=Av});var vw=ag((Ov)=>{var pg=K0(g2(),1);(function(){function m(A){if(A==null)return null;if(typeof A==="function")return A.$$typeof===S?null:A.displayName||A.name||null;if(typeof A==="string")return A;switch(A){case V0:return"Fragment";case w0:return"Profiler";case Q0:return"StrictMode";case s0:return"Suspense";case r0:return"SuspenseList";case Tw:return"Activity"}if(typeof A==="object")switch(typeof A.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),A.$$typeof){case G0:return"Portal";case C0:return(A.displayName||"Context")+".Provider";case l0:return(A._context.displayName||"Context")+".Consumer";case X0:var a=A.render;return A=A.displayName,A||(A=a.displayName||a.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case E0:return a=A.displayName||null,a!==null?a:m(A.type)||"Memo";case z0:a=A._payload,A=A._init;try{return m(A(a))}catch(U0){}}return null}function V(A){return""+A}function u(A){try{V(A);var a=!1}catch(ww){a=!0}if(a){a=console;var U0=a.error,p=typeof Symbol==="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object";return U0.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",p),V(A)}}function h(A){if(A===V0)return"<>";if(typeof A==="object"&&A!==null&&A.$$typeof===z0)return"<...>";try{var a=m(A);return a?"<"+a+">":"<...>"}catch(U0){return"<...>"}}function E(){var A=e0.A;return A===null?null:A.getOwner()}function n(){return Error("react-stack-top-frame")}function W0(A){if(A0.call(A,"key")){var a=Object.getOwnPropertyDescriptor(A,"key").get;if(a&&a.isReactWarning)return!1}return A.key!==void 0}function t(A,a){function U0(){_w||(_w=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",a))}U0.isReactWarning=!0,Object.defineProperty(A,"key",{get:U0,configurable:!0})}function T(){var A=m(this.type);return O[A]||(O[A]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),A=this.props.ref,A!==void 0?A:null}function m0(A,a,U0,p,ww,Gw,y1,O0){return U0=Gw.ref,A={$$typeof:C,type:A,key:a,props:Gw,_owner:ww},(U0!==void 0?U0:null)!==null?Object.defineProperty(A,"ref",{enumerable:!1,get:T}):Object.defineProperty(A,"ref",{enumerable:!1,value:null}),A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(A,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(A,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y1}),Object.defineProperty(A,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O0}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A}function K(A,a,U0,p,ww,Gw,y1,O0){var p0=a.children;if(p0!==void 0)if(p)if(B0(p0)){for(p=0;p<p0.length;p++)J(p0[p]);Object.freeze&&Object.freeze(p0)}else console.error("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 J(p0);if(A0.call(a,"key")){p0=m(A);var A1=Object.keys(a).filter(function(O1){return O1!=="key"});p=0<A1.length?"{key: someKey, "+A1.join(": ..., ")+": ...}":"{key: someKey}",Y0[p0+p]||(A1=0<A1.length?"{"+A1.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
227
|
+
let props = %s;
|
|
228
|
+
<%s {...props} />
|
|
229
|
+
React keys must be passed directly to JSX without using spread:
|
|
230
|
+
let props = %s;
|
|
231
|
+
<%s key={someKey} {...props} />`,p,p0,A1,p0),Y0[p0+p]=!0)}if(p0=null,U0!==void 0&&(u(U0),p0=""+U0),W0(a)&&(u(a.key),p0=""+a.key),"key"in a){U0={};for(var R1 in a)R1!=="key"&&(U0[R1]=a[R1])}else U0=a;return p0&&t(U0,typeof A==="function"?A.displayName||A.name||"Unknown":A),m0(A,p0,Gw,ww,E(),U0,y1,O0)}function J(A){typeof A==="object"&&A!==null&&A.$$typeof===C&&A._store&&(A._store.validated=1)}var C=Symbol.for("react.transitional.element"),G0=Symbol.for("react.portal"),V0=Symbol.for("react.fragment"),Q0=Symbol.for("react.strict_mode"),w0=Symbol.for("react.profiler"),l0=Symbol.for("react.consumer"),C0=Symbol.for("react.context"),X0=Symbol.for("react.forward_ref"),s0=Symbol.for("react.suspense"),r0=Symbol.for("react.suspense_list"),E0=Symbol.for("react.memo"),z0=Symbol.for("react.lazy"),Tw=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),e0=pg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A0=Object.prototype.hasOwnProperty,B0=Array.isArray,Bw=console.createTask?console.createTask:function(){return null};pg={react_stack_bottom_frame:function(A){return A()}};var _w,O={},l=pg.react_stack_bottom_frame.bind(pg,n)(),s=Bw(h(n)),Y0={};Ov.Fragment=V0,Ov.jsxDEV=function(A,a,U0,p,ww,Gw){var y1=1e4>e0.recentlyCreatedOwnerStacks++;return K(A,a,U0,p,ww,Gw,y1?Error("react-stack-top-frame"):l,y1?Bw(h(A)):s)}})()});var hG=K0(AG(),1);var c0=K0(g2(),1);async function Bg(m,V={}){let u=new Headers(V.headers??{});if(!u.has("content-type")&&V.body)u.set("content-type","application/json");let h=await fetch(m,{...V,headers:u}),E=null,n=await h.text();if(n)try{E=JSON.parse(n)}catch(W0){throw new Error(`Failed to parse response from ${m}: ${String(W0)}`)}if(!h.ok){let t=E?.error||h.statusText||"Request failed";throw new Error(t)}return E}var OG=()=>Bg("/api/config"),KG=()=>Bg("/api/status"),mG=()=>Bg("/api/programs"),_G=()=>Bg("/api/tokens"),PG=(m)=>Bg("/api/airdrop",{method:"POST",body:JSON.stringify(m)}),FG=(m)=>Bg("/api/mint",{method:"POST",body:JSON.stringify(m)}),CG=(m)=>Bg("/api/clone/program",{method:"POST",body:JSON.stringify(m)}),TG=(m)=>Bg("/api/clone/token",{method:"POST",body:JSON.stringify(m)});var _2=K0(g2(),1),n0=K0(vw(),1),og={value:"SOL",label:"SOL (Lamports)",decimals:9},Kv=10n;function dG(m,V){let u=m.trim();if(!u)throw new Error("Amount is required");if(u.startsWith("-"))throw new Error("Amount must be positive");let[E="0",n=""]=u.split("."),W0=E.replace(/[^0-9]/g,"")||"0",t=n.replace(/[^0-9]/g,"");if(t.length>V)throw new Error(`Too many decimal places (max ${V})`);let T=Kv**BigInt(V),m0=BigInt(W0),K=V===0?"0":t.padEnd(V,"0"),J=BigInt(K||"0"),C=m0*T+J;if(C<=0n)throw new Error("Amount must be greater than zero");return C.toString()}function mv(m){let V=m.mintAuthority?`Authority ${m.mintAuthority.slice(0,6)}…`:"No authority";return`${m.mint.slice(0,6)}…${m.mint.slice(-4)} · ${m.decimals} dec · ${V}`}function jG({tokens:m,onAirdrop:V,onMint:u}){let[h,E]=_2.useState(og.value),[n,W0]=_2.useState(""),[t,T]=_2.useState("1"),[m0,K]=_2.useState(!1),[J,C]=_2.useState(null),[G0,V0]=_2.useState(null),Q0=_2.useMemo(()=>{let X0=m.map((s0)=>({value:s0.mint,label:mv(s0),decimals:s0.decimals}));return[og,...X0]},[m]),w0=Q0.find((X0)=>X0.value===h)??og,l0=async()=>{if(!n.trim())throw new Error("Recipient address is required");let X0=n.trim();if(h===og.value){let E0=dG(t,og.decimals),z0=await V(X0,E0);return z0?`Airdrop signature: ${z0}`:"Airdrop submitted"}let s0=dG(t,w0.decimals),r0=await u(h,X0,s0);return r0?`Mint signature: ${r0}`:"Mint submitted"};return n0.jsxDEV("form",{onSubmit:async(X0)=>{X0.preventDefault(),K(!0),C(null),V0(null);try{let s0=await l0();V0(s0)}catch(s0){C(s0?.message??String(s0))}finally{K(!1)}},className:"rounded-xl bg-slate-900/60 p-6 shadow-soft backdrop-blur",children:[n0.jsxDEV("div",{className:"flex items-center justify-between",children:[n0.jsxDEV("h2",{className:"text-lg font-semibold text-slate-100",children:"Airdrop / Mint"},void 0,!1,void 0,this),n0.jsxDEV("span",{className:"text-xs text-slate-400",children:"Faucet powered"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),n0.jsxDEV("div",{className:"mt-4 grid gap-4 md:grid-cols-2",children:[n0.jsxDEV("label",{className:"flex flex-col gap-2",children:[n0.jsxDEV("span",{className:"text-sm text-slate-300",children:"Recipient address"},void 0,!1,void 0,this),n0.jsxDEV("input",{value:n,onChange:(X0)=>W0(X0.target.value),placeholder:"Enter public key",className:"w-full rounded-lg border border-slate-700 bg-slate-950/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),n0.jsxDEV("label",{className:"flex flex-col gap-2",children:[n0.jsxDEV("span",{className:"text-sm text-slate-300",children:"Asset"},void 0,!1,void 0,this),n0.jsxDEV("select",{value:h,onChange:(X0)=>E(X0.target.value),className:"w-full rounded-lg border border-slate-700 bg-slate-950/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40",children:Q0.map((X0)=>n0.jsxDEV("option",{value:X0.value,children:X0.label},X0.value,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),n0.jsxDEV("div",{className:"mt-4 grid gap-4 md:grid-cols-2",children:[n0.jsxDEV("label",{className:"flex flex-col gap-2",children:[n0.jsxDEV("span",{className:"text-sm text-slate-300",children:"Amount"},void 0,!1,void 0,this),n0.jsxDEV("input",{value:t,onChange:(X0)=>T(X0.target.value),placeholder:"1",inputMode:"decimal",className:"w-full rounded-lg border border-slate-700 bg-slate-950/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this),n0.jsxDEV("span",{className:"text-xs text-slate-500",children:h===og.value?"Displayed in SOL (9 decimals).":`Displayed in tokens (${w0.decimals} decimals).`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),n0.jsxDEV("div",{className:"flex flex-col justify-end",children:n0.jsxDEV("button",{type:"submit",disabled:m0,className:"mt-auto inline-flex items-center justify-center rounded-lg bg-cyan-500 px-4 py-2 text-sm font-medium text-slate-950 transition hover:bg-cyan-400 disabled:cursor-not-allowed disabled:bg-slate-700 disabled:text-slate-400",children:m0?"Processing…":h===og.value?"Airdrop SOL":"Mint Tokens"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J?n0.jsxDEV("p",{className:"mt-3 text-sm text-rose-400",children:J},void 0,!1,void 0,this):G0?n0.jsxDEV("p",{className:"mt-3 text-sm text-emerald-400",children:G0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var ig=K0(g2(),1);var SG=K0(g2(),1),Rg=K0(vw(),1);function T6({isOpen:m,title:V,onClose:u,children:h,footer:E}){if(SG.useEffect(()=>{if(!m||typeof window==="undefined")return;let n=(W0)=>{if(W0.key==="Escape")u()};return window.addEventListener("keydown",n),()=>window.removeEventListener("keydown",n)},[m,u]),!m)return null;return Rg.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-slate-950/80 backdrop-blur",children:Rg.jsxDEV("div",{className:"w-full max-w-lg rounded-xl border border-slate-800 bg-slate-900 p-6 shadow-2xl",children:[Rg.jsxDEV("div",{className:"flex items-center justify-between",children:[Rg.jsxDEV("h3",{className:"text-base font-semibold text-slate-100",children:V},void 0,!1,void 0,this),Rg.jsxDEV("button",{type:"button",onClick:u,className:"rounded-md px-2 py-1 text-sm text-slate-400 hover:bg-slate-800 hover:text-slate-100",children:"Close"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Rg.jsxDEV("div",{className:"mt-4 text-sm text-slate-200",children:h},void 0,!1,void 0,this),E?Rg.jsxDEV("div",{className:"mt-6 border-t border-slate-800 pt-4",children:E},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var Ow=K0(vw(),1);function EG({isOpen:m,onClose:V,onSubmit:u}){let[h,E]=ig.useState(""),[n,W0]=ig.useState(""),[t,T]=ig.useState(!0),[m0,K]=ig.useState("100"),[J,C]=ig.useState(!1),[G0,V0]=ig.useState(null);return Ow.jsxDEV(T6,{isOpen:m,onClose:()=>{if(!J)V()},title:"Clone program from RPC",footer:Ow.jsxDEV("div",{className:"flex justify-end gap-2",children:Ow.jsxDEV("button",{type:"button",onClick:async()=>{C(!0),V0(null);try{await u({programId:h.trim(),endpoint:n.trim()?n.trim():void 0,withAccounts:t,accountsLimit:t&&m0.trim()?Number(m0):void 0}),V(),E(""),W0(""),K("100")}catch(w0){V0(w0?.message??String(w0))}finally{C(!1)}},disabled:J||h.trim().length===0,className:"rounded-lg bg-cyan-500 px-4 py-2 text-sm font-medium text-slate-950 transition hover:bg-cyan-400 disabled:cursor-not-allowed disabled:bg-slate-700 disabled:text-slate-400",children:J?"Cloning…":"Clone"},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:Ow.jsxDEV("div",{className:"space-y-4",children:[Ow.jsxDEV("label",{className:"flex flex-col gap-2",children:[Ow.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Program ID"},void 0,!1,void 0,this),Ow.jsxDEV("input",{value:h,onChange:(w0)=>E(w0.target.value),placeholder:"Enter program public key",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Ow.jsxDEV("label",{className:"flex flex-col gap-2",children:[Ow.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Source endpoint (optional)"},void 0,!1,void 0,this),Ow.jsxDEV("input",{value:n,onChange:(w0)=>W0(w0.target.value),placeholder:"https://api.mainnet-beta.solana.com",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Ow.jsxDEV("label",{className:"flex items-center gap-2 text-xs text-slate-400",children:[Ow.jsxDEV("input",{type:"checkbox",checked:t,onChange:(w0)=>T(w0.target.checked),className:"h-4 w-4 rounded border-slate-600 bg-slate-800 text-cyan-500 focus:ring-cyan-400"},void 0,!1,void 0,this),"Clone owned accounts"]},void 0,!0,void 0,this),t?Ow.jsxDEV("label",{className:"flex flex-col gap-2",children:[Ow.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Accounts limit"},void 0,!1,void 0,this),Ow.jsxDEV("input",{value:m0,onChange:(w0)=>K(w0.target.value),placeholder:"100",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,G0?Ow.jsxDEV("p",{className:"text-sm text-rose-400",children:G0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var Ng=K0(g2(),1);var $w=K0(vw(),1);function yG({isOpen:m,onClose:V,onSubmit:u}){let[h,E]=Ng.useState(""),[n,W0]=Ng.useState(""),[t,T]=Ng.useState(!1),[m0,K]=Ng.useState("20"),[J,C]=Ng.useState(!1),[G0,V0]=Ng.useState(!1),[Q0,w0]=Ng.useState(null);return $w.jsxDEV(T6,{isOpen:m,onClose:()=>{if(!G0)V()},title:"Clone token mint",footer:$w.jsxDEV("div",{className:"flex justify-end gap-2",children:$w.jsxDEV("button",{type:"button",onClick:async()=>{V0(!0),w0(null);try{await u({mint:h.trim(),endpoint:n.trim()?n.trim():void 0,cloneAccounts:t,holders:t&&!J&&m0.trim()?Number(m0):void 0,allAccounts:J}),V(),E(""),W0(""),K("20"),C(!1)}catch(C0){w0(C0?.message??String(C0))}finally{V0(!1)}},disabled:G0||h.trim().length===0,className:"rounded-lg bg-cyan-500 px-4 py-2 text-sm font-medium text-slate-950 transition hover:bg-cyan-400 disabled:cursor-not-allowed disabled:bg-slate-700 disabled:text-slate-400",children:G0?"Cloning…":"Clone"},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:$w.jsxDEV("div",{className:"space-y-4",children:[$w.jsxDEV("label",{className:"flex flex-col gap-2",children:[$w.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Mint address"},void 0,!1,void 0,this),$w.jsxDEV("input",{value:h,onChange:(C0)=>E(C0.target.value),placeholder:"Enter mint public key",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$w.jsxDEV("label",{className:"flex flex-col gap-2",children:[$w.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Source endpoint (optional)"},void 0,!1,void 0,this),$w.jsxDEV("input",{value:n,onChange:(C0)=>W0(C0.target.value),placeholder:"https://api.mainnet-beta.solana.com",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$w.jsxDEV("label",{className:"flex items-center gap-2 text-xs text-slate-400",children:[$w.jsxDEV("input",{type:"checkbox",checked:t,onChange:(C0)=>T(C0.target.checked),className:"h-4 w-4 rounded border-slate-600 bg-slate-800 text-cyan-500 focus:ring-cyan-400"},void 0,!1,void 0,this),"Clone token accounts"]},void 0,!0,void 0,this),t?$w.jsxDEV("div",{className:"space-y-3 rounded-lg border border-slate-800 bg-slate-950/70 p-3",children:[$w.jsxDEV("label",{className:"flex items-center gap-2 text-xs text-slate-400",children:[$w.jsxDEV("input",{type:"checkbox",checked:J,onChange:(C0)=>C(C0.target.checked),className:"h-4 w-4 rounded border-slate-600 bg-slate-800 text-cyan-500 focus:ring-cyan-400"},void 0,!1,void 0,this),"Clone all accounts (may be slow)"]},void 0,!0,void 0,this),!J?$w.jsxDEV("label",{className:"flex flex-col gap-2",children:[$w.jsxDEV("span",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Top holders"},void 0,!1,void 0,this),$w.jsxDEV("input",{value:m0,onChange:(C0)=>K(C0.target.value),placeholder:"20",className:"rounded-lg border border-slate-700 bg-slate-950/70 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-400 focus:ring-2 focus:ring-cyan-400/40"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this):null,Q0?$w.jsxDEV("p",{className:"text-sm text-rose-400",children:Q0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var u0=K0(vw(),1);function fG({programs:m,loading:V,onRefresh:u,onAdd:h}){return u0.jsxDEV("section",{className:"rounded-xl bg-slate-900/60 p-6 shadow-soft backdrop-blur",children:[u0.jsxDEV("header",{className:"flex flex-wrap items-center justify-between gap-3",children:[u0.jsxDEV("div",{children:[u0.jsxDEV("h2",{className:"text-lg font-semibold text-slate-100",children:"Programs"},void 0,!1,void 0,this),u0.jsxDEV("p",{className:"text-xs text-slate-500",children:"Programs cloned or loaded into LiteSVM."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u0.jsxDEV("div",{className:"flex items-center gap-2",children:[u0.jsxDEV("button",{type:"button",onClick:u,disabled:V,className:"rounded-lg border border-slate-700 px-3 py-1 text-xs text-slate-300 transition hover:border-cyan-400 hover:text-cyan-100 disabled:cursor-not-allowed disabled:border-slate-800 disabled:text-slate-500",children:V?"Refreshing…":"Refresh"},void 0,!1,void 0,this),u0.jsxDEV("button",{type:"button",onClick:h,className:"rounded-lg bg-cyan-500 px-3 py-1 text-xs font-semibold text-slate-950 transition hover:bg-cyan-400",children:"Add program"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),u0.jsxDEV("div",{className:"mt-4 overflow-x-auto",children:m.length===0?u0.jsxDEV("p",{className:"text-sm text-slate-500",children:"No programs registered yet."},void 0,!1,void 0,this):u0.jsxDEV("table",{className:"w-full min-w-full text-left text-sm text-slate-300",children:[u0.jsxDEV("thead",{className:"text-xs uppercase text-slate-500",children:u0.jsxDEV("tr",{children:[u0.jsxDEV("th",{className:"pb-2 pr-4",children:"Program ID"},void 0,!1,void 0,this),u0.jsxDEV("th",{className:"pb-2 pr-4",children:"Owner"},void 0,!1,void 0,this),u0.jsxDEV("th",{className:"pb-2 pr-4",children:"Executable"},void 0,!1,void 0,this),u0.jsxDEV("th",{className:"pb-2 pr-4",children:"Data (bytes)"},void 0,!1,void 0,this),u0.jsxDEV("th",{className:"pb-2",children:"Lamports"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),u0.jsxDEV("tbody",{className:"divide-y divide-slate-800/60",children:m.map((E)=>u0.jsxDEV("tr",{className:"hover:bg-slate-900/80",children:[u0.jsxDEV("td",{className:"py-2 pr-4 font-mono text-xs text-cyan-200",children:E.programId},void 0,!1,void 0,this),u0.jsxDEV("td",{className:"py-2 pr-4 font-mono text-xs text-slate-400",children:E.owner},void 0,!1,void 0,this),u0.jsxDEV("td",{className:"py-2 pr-4 text-xs",children:E.executable?"Yes":"No"},void 0,!1,void 0,this),u0.jsxDEV("td",{className:"py-2 pr-4 text-xs",children:E.dataLen.toLocaleString()},void 0,!1,void 0,this),u0.jsxDEV("td",{className:"py-2 text-xs",children:BigInt(E.lamports).toString()},void 0,!1,void 0,this)]},E.programId,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Kw=K0(vw(),1),z7=new Intl.NumberFormat("en-US");function VG({status:m,loading:V,onRefresh:u}){return Kw.jsxDEV("section",{className:"rounded-xl bg-slate-900/60 p-6 shadow-soft backdrop-blur",children:[Kw.jsxDEV("div",{className:"flex items-center justify-between",children:[Kw.jsxDEV("h2",{className:"text-lg font-semibold text-slate-100",children:"RPC Status"},void 0,!1,void 0,this),Kw.jsxDEV("button",{type:"button",onClick:u,disabled:V,className:"inline-flex items-center gap-2 rounded-lg border border-cyan-500/30 px-3 py-1 text-xs font-medium text-cyan-300 transition hover:border-cyan-400 hover:text-cyan-100 disabled:cursor-not-allowed disabled:border-slate-700 disabled:text-slate-500",children:V?"Refreshing…":"Refresh"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m?Kw.jsxDEV("div",{className:"mt-4 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[Kw.jsxDEV(d6,{title:"Slot",value:z7.format(m.slot),subtitle:`Raw: ${m.slotBigint}`},void 0,!1,void 0,this),Kw.jsxDEV(d6,{title:"Block height",value:z7.format(m.blockHeight),subtitle:`Raw: ${m.blockHeightBigint}`},void 0,!1,void 0,this),Kw.jsxDEV(d6,{title:"Transactions",value:z7.format(m.txCount),subtitle:`Raw: ${m.txCountBigint}`},void 0,!1,void 0,this),Kw.jsxDEV(d6,{title:"Faucet",value:`${m.faucet.sol.toFixed(3)} SOL`,subtitle:m.faucet.address.slice(0,10)+"…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Kw.jsxDEV("p",{className:"mt-4 text-sm text-slate-400",children:"Status unavailable. Start the RPC to populate data."},void 0,!1,void 0,this),m?.latestBlockhash?Kw.jsxDEV("p",{className:"mt-4 truncate text-xs text-slate-500",children:["Latest blockhash:"," ",Kw.jsxDEV("span",{className:"text-slate-300",children:m.latestBlockhash},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function d6({title:m,value:V,subtitle:u}){return Kw.jsxDEV("div",{className:"rounded-lg border border-slate-800 bg-slate-950/60 p-4",children:[Kw.jsxDEV("p",{className:"text-xs uppercase tracking-wide text-slate-500",children:m},void 0,!1,void 0,this),Kw.jsxDEV("p",{className:"mt-2 text-xl font-semibold text-slate-100",children:V},void 0,!1,void 0,this),u?Kw.jsxDEV("p",{className:"mt-1 text-xs text-slate-500",children:u},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var h0=K0(vw(),1);function DG({tokens:m,loading:V,onRefresh:u,onAdd:h}){return h0.jsxDEV("section",{className:"rounded-xl bg-slate-900/60 p-6 shadow-soft backdrop-blur",children:[h0.jsxDEV("header",{className:"flex flex-wrap items-center justify-between gap-3",children:[h0.jsxDEV("div",{children:[h0.jsxDEV("h2",{className:"text-lg font-semibold text-slate-100",children:"Tokens"},void 0,!1,void 0,this),h0.jsxDEV("p",{className:"text-xs text-slate-500",children:"SPL mints registered in LiteSVM."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),h0.jsxDEV("div",{className:"flex items-center gap-2",children:[h0.jsxDEV("button",{type:"button",onClick:u,disabled:V,className:"rounded-lg border border-slate-700 px-3 py-1 text-xs text-slate-300 transition hover:border-cyan-400 hover:text-cyan-100 disabled:cursor-not-allowed disabled:border-slate-800 disabled:text-slate-500",children:V?"Refreshing…":"Refresh"},void 0,!1,void 0,this),h0.jsxDEV("button",{type:"button",onClick:h,className:"rounded-lg bg-cyan-500 px-3 py-1 text-xs font-semibold text-slate-950 transition hover:bg-cyan-400",children:"Add token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),h0.jsxDEV("div",{className:"mt-4 overflow-x-auto",children:m.length===0?h0.jsxDEV("p",{className:"text-sm text-slate-500",children:"No tokens registered yet."},void 0,!1,void 0,this):h0.jsxDEV("table",{className:"w-full min-w-full text-left text-sm text-slate-300",children:[h0.jsxDEV("thead",{className:"text-xs uppercase text-slate-500",children:h0.jsxDEV("tr",{children:[h0.jsxDEV("th",{className:"pb-2 pr-4",children:"Mint"},void 0,!1,void 0,this),h0.jsxDEV("th",{className:"pb-2 pr-4",children:"Supply"},void 0,!1,void 0,this),h0.jsxDEV("th",{className:"pb-2 pr-4",children:"Decimals"},void 0,!1,void 0,this),h0.jsxDEV("th",{className:"pb-2 pr-4",children:"Mint authority"},void 0,!1,void 0,this),h0.jsxDEV("th",{className:"pb-2",children:"State"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),h0.jsxDEV("tbody",{className:"divide-y divide-slate-800/60",children:m.map((E)=>h0.jsxDEV("tr",{className:"hover:bg-slate-900/80",children:[h0.jsxDEV("td",{className:"py-2 pr-4 font-mono text-xs text-cyan-200",children:E.mint},void 0,!1,void 0,this),h0.jsxDEV("td",{className:"py-2 pr-4 text-xs",children:E.uiAmountString},void 0,!1,void 0,this),h0.jsxDEV("td",{className:"py-2 pr-4 text-xs",children:E.decimals},void 0,!1,void 0,this),h0.jsxDEV("td",{className:"py-2 pr-4 font-mono text-xs text-slate-400",children:E.mintAuthority?E.mintAuthority:"None"},void 0,!1,void 0,this),h0.jsxDEV("td",{className:"py-2 text-xs",children:E.isInitialized?"Initialized":"Uninitialized"},void 0,!1,void 0,this)]},E.mint,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var jx=K0(g2(),1);function kG(m,V){let u=jx.useRef(m);jx.useEffect(()=>{u.current=m},[m]),jx.useEffect(()=>{if(V===null)return;let E=setInterval(()=>u.current(),V);return()=>clearInterval(E)},[V])}var mw=K0(vw(),1);function uG(){let[m,V]=c0.useState(null),[u,h]=c0.useState(null),[E,n]=c0.useState([]),[W0,t]=c0.useState([]),[T,m0]=c0.useState(!1),[K,J]=c0.useState(!1),[C,G0]=c0.useState(!1),[V0,Q0]=c0.useState(!1),[w0,l0]=c0.useState(!1),[C0,X0]=c0.useState(null),s0=c0.useCallback(async()=>{try{let O=await OG();V(O),X0(null)}catch(O){X0(O?.message??String(O))}},[]),r0=c0.useCallback(async()=>{m0(!0);try{let O=await KG();h(O)}catch(O){X0(O?.message??String(O))}finally{m0(!1)}},[]),E0=c0.useCallback(async()=>{J(!0);try{let O=await mG();n(O)}catch(O){X0(O?.message??String(O))}finally{J(!1)}},[]),z0=c0.useCallback(async()=>{G0(!0);try{let O=await _G();t(O)}catch(O){X0(O?.message??String(O))}finally{G0(!1)}},[]);c0.useEffect(()=>{s0(),r0(),E0(),z0()},[s0,r0,E0,z0]),kG(r0,5000);let Tw=c0.useCallback(async(O,l)=>{let s=await PG({address:O,lamports:l});return await r0(),s.signature},[r0]),S=c0.useCallback(async(O,l,s)=>{let Y0=await FG({mint:O,owner:l,amountRaw:s});if(await Promise.all([r0(),z0()]),Y0&&typeof Y0==="object"&&"signature"in Y0)return Y0.signature;return},[r0,z0]),e0=()=>Q0(!0),A0=()=>l0(!0),B0=c0.useCallback(async(O)=>{await CG(O),await E0()},[E0]),Bw=c0.useCallback(async(O)=>{await TG(O),await z0()},[z0]),_w=c0.useMemo(()=>{if(!m)return"";return`RPC: ${m.rpcUrl}`},[m]);return mw.jsxDEV("div",{className:"min-h-screen bg-slate-950 pb-16 text-slate-100",children:[mw.jsxDEV("div",{className:"mx-auto flex max-w-6xl flex-col gap-6 px-6 py-10",children:[mw.jsxDEV("header",{className:"rounded-xl bg-slate-900/60 p-6 shadow-soft backdrop-blur",children:[mw.jsxDEV("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[mw.jsxDEV("div",{children:[mw.jsxDEV("h1",{className:"text-2xl font-semibold text-slate-100",children:"SolForge Dashboard"},void 0,!1,void 0,this),mw.jsxDEV("p",{className:"text-sm text-slate-400",children:"Manage your local LiteSVM instance."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_w?mw.jsxDEV("span",{className:"text-xs text-slate-500",children:_w},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),C0?mw.jsxDEV("p",{className:"mt-4 rounded-lg border border-rose-500/40 bg-rose-500/10 px-3 py-2 text-sm text-rose-300",children:C0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),mw.jsxDEV(jG,{tokens:W0,onAirdrop:Tw,onMint:S},void 0,!1,void 0,this),mw.jsxDEV(VG,{status:u,loading:T,onRefresh:r0},void 0,!1,void 0,this),mw.jsxDEV("div",{className:"grid gap-6 lg:grid-cols-2",children:[mw.jsxDEV(fG,{programs:E,loading:K,onRefresh:E0,onAdd:e0},void 0,!1,void 0,this),mw.jsxDEV(DG,{tokens:W0,loading:C,onRefresh:z0,onAdd:A0},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),mw.jsxDEV(EG,{isOpen:V0,onClose:()=>Q0(!1),onSubmit:B0},void 0,!1,void 0,this),mw.jsxDEV(yG,{isOpen:w0,onClose:()=>l0(!1),onSubmit:Bw},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var lG=K0(vw(),1);document.addEventListener("DOMContentLoaded",()=>{let m=document.getElementById("root");if(m)hG.createRoot(m).render(lG.jsxDEV(uG,{},void 0,!1,void 0,this))});
|